"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2703],{1670:function(e,n,t){t.d(n,{Z:function(){return MetaHead}});var l=t(85893),o=t(9008),i=t.n(o),s=t(11163);function MetaHead(e){var n,t,o,r,a,d=e.isContentful,c=e.isCustomTitle,m=e.isCustomRobots,h=e.isCustomDescription,x=e.isCustomImage,g=e.data,u=e.url,v=e.children,b=(0,s.useRouter)(),p=null!==(r=d?null==g?void 0:null===(n=g.seoImage)||void 0===n?void 0:n.url:null==g?void 0:null===(o=g.seoImage)||void 0===o?void 0:null===(t=o.asset)||void 0===t?void 0:t.url)&&void 0!==r?r:x,f=d&&!m?"index, follow, max-image-preview:large":(null==g?void 0:g.robots)||m,j=null!=c?c:null==g?void 0:g.seoTitle;j+=" | Loom".concat(b.pathname.includes("/blog")?" Blog":"");var _=null!=h?h:null==g?void 0:g.seoDescription;return(0,l.jsxs)(i(),{children:[(0,l.jsx)("title",{children:j}),(0,l.jsx)("meta",{content:j,property:"og:title"}),(0,l.jsx)("meta",{content:j,property:"twitter:title"}),_&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("meta",{content:_,name:"description"}),(0,l.jsx)("meta",{content:_,property:"og:description"}),(0,l.jsx)("meta",{content:_,property:"twitter:description"})]}),p&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("meta",{content:p,property:"og:image"}),(0,l.jsx)("meta",{content:p,name:"twitter:image"}),_&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("meta",{name:"twitter:image:alt",content:_}),(0,l.jsx)("meta",{property:"og:image:alt",content:_})]})]}),(0,l.jsx)("meta",{name:"twitter:site",content:"@loom"}),(0,l.jsx)("meta",{content:"summary_large_image",name:"twitter:card"}),(0,l.jsx)("meta",{content:u,property:"og:url"}),(0,l.jsx)("meta",{content:u,property:"twitter:url"}),(0,l.jsx)("meta",{content:f,name:"robots"}),(0,l.jsx)("link",{href:null!==(a=null==g?void 0:g.canonicalUrl)&&void 0!==a?a:u,rel:"canonical"}),(0,l.jsx)("meta",{property:"twitter:domain",content:"www.loom.com"}),v]})}},26943:function(e,n,t){t.d(n,{u:function(){return SanityText}});var l=t(72253),o=t(14932),i=t(47702),s=t(85893),r=t(62169),a=t(80189);function SanityText(e){var n=e.children,t=e.markdown,d=(0,i._)(e,["children","markdown"]);return n?"string"!=typeof n?(0,s.jsx)(a.Z,(0,o._)((0,l._)({},d),{content:n})):t?(0,s.jsx)(r.Z,(0,o._)((0,l._)({},d),{children:n})):(0,s.jsx)("p",(0,o._)((0,l._)({},d),{children:n})):null}},2291:function(e,n,t){t.d(n,{Z:function(){return ThreadHeader}});var l,o=t(75766),i=t(88421),s=t(85893),r=t(93967),a=t.n(r),d=t(45697),c=t.n(d),m=t(30587),h=t(26943),x=t(41256),g=t(54253),u=t(99577),v=t(67329),b=t(29741),p=t(33322),f=t(55395),j=t(80189),getHeaderStyles=function(e){var n=e.ellipsisLines,t=e.headerTextGradient,l={};return t&&Object.assign(l,{backgroundImage:"-webkit-linear-gradient(".concat(t,")"),WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}),n&&Object.assign(l,{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n}),l};function ThreadHeader(e){var n,t,l,o,r,d,c,_,y,w,L=e.bAlign,C=e.bFont,k=e.bColor,T=e.bLineLength,N=e.bLineLengthStart,O=e.bLineLengthEnd,S=e.bMaxWidth,A=e.bClassName,I=e.chip,Z=e.className,F=e.eColor,M=e.ellipsisLines,H=e.eLevel,B=e.eStyle,E=e.gap,W=e.hAlign,z=e.header,G=e.hAppend,R=e.hFont,D=e.hColor,P=e.hClassName,q=e.hLayout,U=e.hLevel,J=e.hLineLength,K=e.iconAlignment,Q=e.hLineLengthStart,V=e.hLineLengthEnd,X=e.hLink,Y=e.headerTextGradient,$=e.icon,ee=e.iconClassName,en=e.iconColor,et=e.id,el=e.lineLength,eo=e.nested,ei=e.number,es=e.showIcons,er=e.subhead,ea=e.themeColor,ed=e.themeColorMode,ec=e.useCase,em=e.vAlign,eh=e.iconBg,ex=e.iconSize,eg=e.scaleIcons,eu=e.showMarkdown,ev=e.cta,eb={string:z,object:ec?z:null==z?void 0:z.heading,"react.fragment":z,null:null}[void 0===z?"undefined":(0,i._)(z)],ep=null!==(w=null==z?void 0:z.subhead)&&void 0!==w?w:er,ef=null!=U?U:"h2",ej=(0,m.ZP)("(min-width: 1064px)"),e_=X?(0,s.jsx)(v.Z,{href:null==X?void 0:X.link,children:null==X?void 0:X.copy}):void 0,ey={pill:(null==z?void 0:z.eyebrow)&&(0,s.jsx)(x.Z,{cStyle:"overline",className:"mb-fixed-lg",tag:null==z?void 0:z.eyebrow,themeColor:ea,themeColorMode:ed}),overline:(null==z?void 0:z.eyebrow)&&(0,s.jsx)(null!=H?H:"p",{className:a()(null===(n=(0,p.b)(null!=F?F:ea))||void 0===n?void 0:n.bodyText,"thd-overline mb-fixed-sm"),children:null==z?void 0:z.eyebrow}),small:(null==z?void 0:z.eyebrow)&&(0,s.jsx)("p",{className:a()(null===(t=(0,p.b)(null!=F?F:ea))||void 0===t?void 0:t.bodyText,"thd-heading-xs mb-fixed-sm"),children:null==z?void 0:z.eyebrow})}[B];return(0,s.jsxs)("header",{className:a()(Z,W?null===(l=(0,b.l)(W))||void 0===l?void 0:l.h:void 0,em?null===(o=(0,b.l)(em))||void 0===o?void 0:o.v:void 0,el?"thd-max-".concat(el):void 0,S||void 0,null!=q?q:void 0,eo?void 0:"mb-fluid-sm"),id:null!=et?et:void 0,children:[ey,(0,s.jsx)(function(e){var n=e.condition,t=e.wrapper,l=e.children;return n?t(l):l},{condition:$,wrapper:function(e){return(0,s.jsxs)("div",{className:a()($&&"flex ".concat("right"===K&&"gap-[1em] items-center")),children:[ej&&"left"===K&&(0,s.jsx)(g.Z,{className:Z,iconClassName:ee,item:$,showIcons:es,themeColor:en}),(0,s.jsx)("div",{children:e}),ej&&"right"===K&&(0,s.jsx)(g.Z,{className:"mr-none",iconBg:eh,iconClassName:ee,iconColor:en,iconSize:ex,item:$,scaleIcons:eg,showIcons:es,themeColor:en})]})},children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:a()("flex items-center gap-x-fixed-md",ep&&ei&&E),children:[ei,(e_||z)&&(0,s.jsxs)(ef,{className:a()(null!=D?D:null===(r=(0,p.b)(ea))||void 0===r?void 0:r.headerText,Q&&J?"".concat(Q,":thd-max-").concat(J):!Q&&J?"thd-max-".concat(J):void 0,V?"".concat(V,":max-w-none"):void 0,null===(d=(0,f.h)(null!=R?R:"sm"))||void 0===d?void 0:d.heading,ep&&!ei&&E,P,Y?"mb-[-1em] pb-[1em]":void 0),style:getHeaderStyles({ellipsisLines:M,headerTextGradient:Y}),children:[I&&(0,s.jsx)("div",{className:"hidden md:block text-base",children:(0,s.jsx)("p",{className:"absolute -mt-[2em] thd-overline text-thd-color-magenta-50",children:I})}),eu?(0,s.jsx)(j.Z,{content:z}):null!=e_?e_:eb,G]})]}),ep&&(0,s.jsx)(h.u,{className:a()(L?null===(c=(0,b.l)(L))||void 0===c?void 0:c.h:void 0,A,k,null===(_=(0,p.b)(ea))||void 0===_?void 0:_.bodyText,null===(y=(0,f.h)(C))||void 0===y?void 0:y.body,L?(0,b.l)(L).h:void 0,N&&T?"".concat(N,":thd-max-").concat(T):!N&&T?"thd-max-".concat(T):void 0,O?"".concat(O,":max-w-none"):void 0,S||void 0),children:ep}),ev?(0,s.jsx)("div",{className:"flex justify-start pt-30",children:(0,s.jsx)(u.Z,{buttonType:null==ev?void 0:ev.buttonType,color:null==ev?void 0:ev.color,cta:ev,size:null==ev?void 0:ev.size,type:null==ev?void 0:ev.type})}):null]})})]})}ThreadHeader.defaultProps={bFont:"sm",eStyle:"overline",gap:"lg",nested:!1,themeColor:"grey-light",iconAlignment:"left"},ThreadHeader.propTypes=(l={bAlign:c().string,bClassName:c().string,bFont:c().string,bColor:c().string,bLineLength:c().oneOf(["sm","md","lg","xl","2xl","3xl","4xl","5xl","homepage","homepage-b"]),bLineLengthStart:c().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"]),bLineLengthEnd:c().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"]),bMaxWidth:c().string,className:c().string,chip:c().string},(0,o._)(l,"className",c().string),(0,o._)(l,"eColor",c().string),(0,o._)(l,"ellipsisLines",c().number),(0,o._)(l,"eLevel",c().oneOf(["h1","h2","h3","h4","h5","h6","p"])),(0,o._)(l,"eStyle",c().string),(0,o._)(l,"gap",c().string),(0,o._)(l,"hAlign",c().string),(0,o._)(l,"header",c().oneOfType([c().string,c().object,c().func])),(0,o._)(l,"hAppend",c().oneOfType([c().string,c().object])),(0,o._)(l,"hFont",c().oneOf(["xxs","xs","sm","md","lg","lg-xl","xl","xl-alt"])),(0,o._)(l,"hColor",c().string),(0,o._)(l,"hClassName",c().string),(0,o._)(l,"hLayout",c().string),(0,o._)(l,"hLevel",c().oneOf(["h1","h2","h3","h4","h5","h6"])),(0,o._)(l,"hLineLength",c().oneOf(["sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","homepage"])),(0,o._)(l,"iconAlignment",c().oneOf(["left","right"])),(0,o._)(l,"hLineLengthStart",c().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"])),(0,o._)(l,"hLineLengthEnd",c().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"])),(0,o._)(l,"hLink",c().object),(0,o._)(l,"headerTextGradient",c().string),(0,o._)(l,"icon",c().string),(0,o._)(l,"iconClassName",c().string),(0,o._)(l,"iconColor",c().string),(0,o._)(l,"id",c().string),(0,o._)(l,"lineLength",c().oneOf(["sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","homepage"])),(0,o._)(l,"nested",c().bool),(0,o._)(l,"number",c().string),(0,o._)(l,"showIcons",c().bool),(0,o._)(l,"subhead",c().oneOfType([c().string,c().object])),(0,o._)(l,"themeColor",c().oneOfType([c().string,c().object]).isRequired),(0,o._)(l,"themeColorMode",c().oneOf(["light","dark"])),(0,o._)(l,"useCase",c().bool),(0,o._)(l,"vAlign",c().string),(0,o._)(l,"iconBg",c().string),(0,o._)(l,"iconSize",c().string),(0,o._)(l,"scaleIcons",c().string),(0,o._)(l,"showMarkdown",c().bool),(0,o._)(l,"cta",c().oneOfType([c().object,c().bool])),l)},29741:function(e,n,t){t.d(n,{l:function(){return getThreadAlign}});function getThreadAlign(e){var n,t;switch(null==e?void 0:e.toLowerCase()){default:t="text-left",n=void 0;break;case"start":t="text-left",n="flex-start";break;case"center":t="flex flex-col text-center items-center mx-auto",n="flex flex-col justify-center";break;case"center-end":t="flex flex-col md:text-center md:items-center mx-auto",n="flex flex-col justify-center";break;case"center-start":t="flex flex-col text-center items-center mx-auto lg:text-left lg:items-start lg:mx-0",n="flex flex-col justify-start lg:justify-center";break;case"split":t="lg:grid lg:grid-cols-2 lg:justify-between gap-fluid-md space-between mb-md md:mb-lg lg:mb-0",n=void 0}return{v:n,h:t}}}}]);