(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7837],{27837:function(e,n,t){"use strict";t.d(n,{Z:function(){return Layout}});var o=t(85893),a=t(37974),r=t(5152),l=t.n(r),i=t(45697),s=t.n(i),c=t(24043),u=t(93967),d=t.n(u),v=t(67294),f=t(72253),h=t(14932),m=t(248),x=t(11163),p=t(30587),g=t(36842),b=t(12176),C=t(34297),j=t(67329);t(64402);var k=t(33586),N=t(33322),w=v.forwardRef(function(e,n){var t,a,r=e.className,l=e.link,i=e.role,s=e.tabIndex;return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(j.Z,{className:d()(r,"w-full"),href:l.link,ref:n,rel:l.newTab?"noopener":void 0,role:i,tabIndex:s,target:l.newTab?"_blank":void 0,children:[!l.navigationIcon&&l.copy,l.navigationIcon&&(0,o.jsxs)("span",{className:"ml-4 flex items-center relative text-15",children:[(0,o.jsx)("span",{className:"mr-14 [&_svg]:max-w-[24px] [&_svg]:max-h-[24px]",children:(0,o.jsx)(C.Z,{color:(0,N.b)((null==l?void 0:l.color)+"-light").navIcon,icon:(0,k.q)(null==l?void 0:null===(t=l.navigationIcon)||void 0===t?void 0:t.icon)})}),l.copy]})]})})});function NewMobileAccountNav(e){var n=e.avatarSrc,t=e.accountNavData,a=e.user;return(0,o.jsxs)("details",{className:"p-24 md:p-36 bg-thd-color-violet-10",children:[(0,o.jsx)("summary",{className:"thd-toggle h-48 items-center space-x-16",children:(0,o.jsxs)("div",{className:"flex items-center rounded-full",children:[(0,o.jsx)(b.Z,{imageSrc:n,size:"6"}),(0,o.jsxs)("p",{className:"ml-16 lm-body-sm font-bold",children:[a.first_name," ",a.last_name]})]})}),(0,o.jsx)("ul",{className:"space-y-8 mt-24",children:null==t?void 0:t.group[0].linkBlock.map(function(e){return(0,o.jsx)("li",{className:"flex items-center",children:(0,o.jsx)(w,{className:"rounded-full",link:e})},e._id)})})]})}var y=t(99577),L=t(37793),_=t(60788);function NewMobileCTAs(){var e=(0,_.SV)();return(0,o.jsxs)("div",{className:"w-full px-fluid-base grid grid-cols-2 gap-x-fixed-md",children:[(0,o.jsx)(y.Z,{align:"stretch",buttonOverride:"nav",buttonType:"secondary",color:"violet-light",cta:{link:e+_.ym,copy:"Sign In"},size:"sm"}),(0,o.jsx)(y.Z,{align:"stretch",buttonOverride:"nav",buttonType:"secondary",color:"violet-dark",cta:{link:e+_.kp,copy:"Try Loom For Free",trackEventName:L.xe,trackEventSource:"Header CTA"},size:"sm"})]})}var T=t(45459);function NewMobileSubnavAccordion(e){var n=e.storeRefs,t=e.block,a=e.index;return(0,o.jsxs)("details",{className:"thd-details px-12",children:[(0,o.jsx)("summary",{className:"thd-summary-accordion w-full py-18",id:"summary-".concat(a),ref:n,children:(0,o.jsxs)("div",{className:"flex justify-between items-center w-full thd-button-square",children:[(0,o.jsx)("span",{className:"flex items-center",children:null==t?void 0:t.heading}),(0,o.jsx)(T.Z,{className:"chevron w-20"})]})}),(0,o.jsx)("ul",{className:"space-y-6 mb-24",children:null==t?void 0:t.linkBlock.map(function(e){var n,t,a;return(0,o.jsx)("li",{children:(0,o.jsx)("a",{className:"thd-focus-thick thd-focus-bg block lm-body-sm font-normal thd-button-sm rounded-lg thd-focus-icon",href:null==e?void 0:e.link,style:{"--focus-color-bg":"var(--thd-color-violet-10)","--focus-color-fg":"var(--thd-color-violet-70)"},children:(0,o.jsxs)("span",{className:"flex items-center relative",children:[(0,o.jsx)("span",{className:"w-30 [&_svg]:max-w-[18px] [&_svg]:max-h-[18px]",children:(null==e?void 0:null===(n=e.navigationIcon)||void 0===n?void 0:n.icon)?(0,o.jsx)(C.Z,{color:(0,N.b)((null==e?void 0:e.color)+"-light").navIcon,icon:(0,k.q)(null==e?void 0:null===(t=e.navigationIcon)||void 0===t?void 0:t.icon),loading:"lazy"}):void 0}),null==e?void 0:e.copy]})})},e._id)})})]})}var M=t(72086),S=t(42179);function NewMobileToggle(e){var n=e.onClick,t=e.mobileNavOpen;return(0,o.jsxs)("button",{"aria-label":"Toggle navigation menu",className:"thd-toggle h-full ml-12",onClick:n,type:"button",children:[(0,o.jsxs)("span",{className:"sr-only",children:["Toggle menu ",t?"open":"close"]}),(0,o.jsx)("div",{className:d()(t?"bg-thd-color-violet-60":"bg-thd-color-violet-10","w-48 h-48 rounded-full flex items-center justify-center"),children:t?(0,o.jsx)(C.Z,{color:"white",icon:(0,o.jsx)(M.Z,{}),size:3}):(0,o.jsx)(C.Z,{color:"blurple",icon:(0,o.jsx)(S.Z,{}),size:3})})]})}var H=t(86274),A=t(76265),Z=t(23211),I=t.n(Z);function NewMobileNav(e){var n,t=e.navData,a=e.accountNavData,r=e.user,l=(0,c._)((0,v.useState)(!1),2),i=l[0],s=l[1],u=(0,c._)((0,v.useState)(!1),2),m=u[0],x=u[1],b=(0,v.useRef)([]),C=(0,v.useRef)(),j=(null==r?void 0:r.id)!==void 0,k="/next-images/default-avatar.svg";if(H.cZ&&(null==r?void 0:r.avatars)&&(null==r?void 0:r.avatars[0])){var N,w,y=null==r?void 0:null===(w=r.avatars[0])||void 0===w?void 0:w.thumb;try{new URL(y),k=y}catch(e){k="https://cdn.loom.com/".concat(y)}}var L=(0,p.ZP)("(min-width: 768px)"),_=(0,p.ZP)("(min-width: 900px)"),storeRefs=function(e){e&&!b.current.includes(e)&&b.current.push(e)};n=(0,v.useRef)(!1),(0,v.useEffect)(function(){var e=C.current;if(e)return m&&!n.current&&((0,A.disablePageScroll)(e),n.current=!0),function(){n.current&&((0,A.enablePageScroll)(e),n.current=!1)}},[m,C,n]);var openMenuAndScrollLock=function(){s(!i),x(!m)};return(0,o.jsxs)("div",{className:"h-full",id:"modal-dialog",children:[(0,o.jsx)(NewMobileToggle,{mobileNavOpen:i,onClick:function(){return openMenuAndScrollLock()}}),i&&(0,o.jsx)("div",{"aria-label":"Loom main navigation menu","aria-modal":"true",className:"thd-modal-outer",role:"dialog",children:(0,o.jsxs)("div",{className:"thd-modal-inner",ref:C,children:[(0,o.jsxs)("ul",{className:"text-thd-color-black thd-body-lg font-bold",children:[null==t?void 0:null===(N=t.group)||void 0===N?void 0:N.map(function(e,n){return(null==e?void 0:e._type)=="linkBlock"?(0,o.jsx)("li",{className:"border-b border-thd-color-grey-20",id:null==e?void 0:e._id,children:(0,o.jsx)(NewMobileSubnavAccordion,{block:(0,h._)((0,f._)({},e),{heading:null==e?void 0:e.heading}),index:n,storeRefs:storeRefs})},null==e?void 0:e._id):(0,o.jsx)("li",{className:"last:border-none border-b border-thd-color-grey-20 px-12 py-18",children:(0,o.jsxs)("a",{className:"w-full flex items-center justify-between thd-focus-thick thd-focus-bg thd-button-square",href:null==e?void 0:e.link,style:{"--focus-color-bg":"var(--thd-color-violet-10)"},children:[e.copy,(0,o.jsx)(g.Z,{className:"h-20 w-20"})]})},null==e?void 0:e._id)}),!_&&(0,o.jsx)("li",{className:"px-10 py-18",children:(0,o.jsxs)("a",{className:"w-full flex items-center justify-between thd-focus-thick thd-focus-bg thd-button-square",href:"/connect/enterprise?campaign=7013i000000QYMqAAO",style:{"--focus-color-bg":"var(--thd-color-violet-10)"},children:["Contact Sales",(0,o.jsx)(g.Z,{className:"h-20 w-20"})]})})]}),(0,o.jsx)("footer",{className:d()(I().footer,j?I().footerLoggedIn:I().footerLoggedOut),children:j?(0,o.jsx)(NewMobileAccountNav,{accountNavData:a,avatarSrc:k,user:r}):(0,o.jsx)(o.Fragment,{children:!L&&(0,o.jsx)(NewMobileCTAs,{})})})]})})]})}var F=t(47702),D=t(2294),V=t.n(D);function NewSubnav(e){var n=e.menuId,t=e.menuPosition,a=e.menuDirection,r=e.linkBlock,l=e.onClose,i=e.onFocusNext,s=e.onFocusPrev,u=e.firstChildFocused,x=e.userMenu,p=(0,F._)(e,["menuId","menuPosition","menuDirection","linkBlock","onClose","onFocusNext","onFocusPrev","firstChildFocused","userMenu"]),g=(0,c._)((0,v.useState)(0),2),b=g[0],C=g[1],j=(0,c._)((0,v.useState)(!0),2),k=j[0],N=j[1],y=(0,v.useRef)([]),storeRef=function(e){if(null!==e){var n=y.current;n.push(e),y.current=(0,m._)(new Set(n))}};(0,v.useEffect)(function(){var e=y.current[b];(0!==b||u)&&e&&e.focus()},[b,u]),(0,v.useEffect)(function(){},[b,u]);var L=[];null==r||r.forEach(function(e){L.push(e.copy)});var getMatchForCharSearch=function(e){var n,t=L.slice(b+1,L.length),o=L.slice(0,b+1);if(t.forEach(function(t){var o=t.charAt(0).toLowerCase();n||o!==e||(n=t)}),n||o.forEach(function(t){var o=t.charAt(0).toLowerCase();n||o!==e||(n=t)}),n)return L.indexOf(n)};p._updatedAt,p._createdAt,p._originalId;var _=(0,F._)(p,["_updatedAt","_createdAt","_originalId"]);return(0,o.jsx)("div",(0,h._)((0,f._)({},_),{className:d()(_.className,"relative"),title:"",children:(0,o.jsx)("div",{className:V().menu,id:n,onKeyDown:function(e){switch(e.key){case"ArrowLeft":e.preventDefault(),s();break;case"ArrowRight":e.preventDefault(),i();break;case"ArrowUp":e.preventDefault(),C(0===b?y.current.length-1:b-1);break;case"ArrowDown":e.preventDefault(),C(b===y.current.length-1?0:b+1);break;case"Escape":e.preventDefault(),l();break;case"Home":e.preventDefault(),C(0);break;case"End":e.preventDefault(),C(y.current.length-1);break;default:var n=getMatchForCharSearch(e.key);void 0!==n&&(e.preventDefault(),C(n))}},style:{"--caretPosition":t.caret+"px","--menuPosition":x?t.right+"px":t.left+"px","--menuDirection":"start"===a?"10%":"-10%"},children:(0,o.jsx)("ul",{className:"rounded-lg p-24 space-y-8",onMouseEnter:function(){return N(!1)},children:null==r?void 0:r.map(function(e){return(0,o.jsx)("li",{className:"flex items-center",children:(0,o.jsx)(w,{className:d()(k?"thd-focus-thick":"outline-none","rounded-full thd-button-xs"),link:e,ref:storeRef,role:"menuitem",tabIndex:-1})},e._id)})})})}))}function AtlassianLoomLogoSvg(){return(0,o.jsxs)("svg",{width:"150",height:"48",viewBox:"0 0 150 48",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Atlassian Loom Logo",children:[(0,o.jsx)("path",{d:"M100.319 7.67093C100.319 9.28943 101.051 10.5611 104.019 11.1392C105.753 11.5245 106.138 11.7943 106.138 12.3723C106.138 12.9503 105.753 13.2972 104.519 13.2972C103.094 13.2972 101.398 12.7962 100.281 12.1411V14.7615C101.167 15.1854 102.323 15.6864 104.519 15.6864C107.602 15.6864 108.797 14.2991 108.797 12.2952M108.797 12.3338C108.797 10.407 107.795 9.52065 104.905 8.90407C103.325 8.55725 102.939 8.21043 102.939 7.70946C102.939 7.09289 103.518 6.82314 104.558 6.82314C105.83 6.82314 107.063 7.2085 108.257 7.748V5.24317C107.41 4.81927 106.138 4.51099 104.635 4.51099C101.783 4.51099 100.319 5.74413 100.319 7.748",fill:"#101214"}),(0,o.jsx)("path",{d:"M139.78 4.58789V15.5706H142.131V7.20833L143.094 9.40487L146.408 15.5706H149.337V4.58789H147.025V11.6785L146.138 9.59755L143.479 4.58789H139.78Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M124.905 4.58789H122.362V15.5706H124.905V4.58789Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M119.433 12.2952C119.433 10.3684 118.431 9.48207 115.541 8.8655C113.961 8.51868 113.575 8.17185 113.575 7.67089C113.575 7.05431 114.154 6.78456 115.194 6.78456C116.466 6.78456 117.699 7.16992 118.893 7.70942V5.20459C118.046 4.7807 116.774 4.47241 115.271 4.47241C112.419 4.47241 110.955 5.70556 110.955 7.70942C110.955 9.32793 111.687 10.5996 114.654 11.1777C116.389 11.563 116.774 11.8328 116.774 12.4108C116.774 12.9888 116.389 13.3357 115.155 13.3357C113.73 13.3357 112.034 12.8347 110.917 12.1796V14.8C111.803 15.2239 112.959 15.7249 115.155 15.7249C118.2 15.7249 119.433 14.3376 119.433 12.2952Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M80.5117 4.58789V15.5706H85.7526L86.5618 13.1814H83.0551V4.58789H80.5117Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M70.1458 4.58789V6.93858H72.9589V15.5706H75.5408V6.93858H78.5851V4.58789H70.1458Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M66.4077 4.58789H63.055L59.24 15.5706H62.1687L62.7082 13.7209C63.3633 13.9136 64.057 14.0292 64.7506 14.0292C65.4443 14.0292 66.1379 13.9136 66.793 13.7209L67.3325 15.5706H70.2612C70.2227 15.5706 66.4077 4.58789 66.4077 4.58789ZM64.7121 11.717C64.2111 11.717 63.7487 11.64 63.3248 11.5243L64.7121 6.7459L66.0994 11.5243C65.6755 11.64 65.213 11.717 64.7121 11.717Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M94.8085 4.58789H91.4559L87.6023 15.5706H90.531L91.0705 13.7209C91.7256 13.9136 92.4193 14.0292 93.1129 14.0292C93.8066 14.0292 94.5002 13.9136 95.1553 13.7209L95.6948 15.5706H98.6236L94.8085 4.58789ZM93.1129 11.717C92.612 11.717 92.1495 11.64 91.7256 11.5243L93.1129 6.7459L94.5002 11.5243C94.0763 11.64 93.6139 11.717 93.1129 11.717Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M134.115 4.58789H130.763L126.948 15.5706H129.876L130.416 13.7209C131.071 13.9136 131.764 14.0292 132.458 14.0292C133.152 14.0292 133.845 13.9136 134.501 13.7209L135.04 15.5706H137.969L134.115 4.58789ZM132.458 11.717C131.957 11.717 131.495 11.64 131.071 11.5243L132.458 6.7459L133.845 11.5243C133.422 11.64 132.921 11.717 132.458 11.717Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M0.76001 12C0.76001 5.37258 6.13259 0 12.76 0H36.76C43.3874 0 48.76 5.37258 48.76 12V36C48.76 42.6274 43.3874 48 36.76 48H12.76C6.13259 48 0.76001 42.6274 0.76001 36V12Z",fill:"#1868DB"}),(0,o.jsx)("path",{d:"M38.8228 22.9639H30.7448L37.7407 18.9248L36.2044 16.2631L29.2085 20.3021L33.2466 13.3068L30.5848 11.7695L26.5467 18.7649V10.6875H23.4738V18.7656L19.4341 11.7695L16.7732 13.306L20.8121 20.3013L13.8162 16.2631L12.2798 18.9241L19.2757 22.9631H11.1978V26.0361H19.2749L12.2798 30.0752L13.8162 32.737L20.8113 28.6987L16.7724 35.694L19.4341 37.2304L23.473 30.2344V38.3125H26.5459V30.2351L30.5841 37.2304L33.2458 35.694L29.2069 28.6979L36.2028 32.737L37.7392 30.0752L30.7441 26.0368H38.8212V22.9639H38.8228ZM25.0103 28.6793C22.6932 28.6793 20.8152 26.8013 20.8152 24.4842C20.8152 22.1671 22.6932 20.289 25.0103 20.289C27.3273 20.289 29.2053 22.1671 29.2053 24.4842C29.2053 26.8013 27.3273 28.6793 25.0103 28.6793Z",fill:"white"}),(0,o.jsx)("path",{d:"M59.24 41.6089V21.0557H63.0135V41.6089H59.24Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M95.4326 27.6419H99.0361V29.3458C99.8019 27.9834 101.59 27.2446 103.122 27.2446C105.024 27.2446 106.556 28.0683 107.265 29.5724C108.371 27.8684 109.847 27.2446 111.691 27.2446C114.273 27.2446 116.742 28.8062 116.742 32.553V41.6091H113.082V33.3201C113.082 31.8152 112.343 30.68 110.612 30.68C108.995 30.68 108.03 31.9292 108.03 33.4342V41.61H104.285V33.3201C104.285 31.8152 103.52 30.68 101.816 30.68C100.17 30.68 99.2052 31.9009 99.2052 33.4342V41.61H95.4326V27.6419Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M71.5411 42.0141C67.29 42.0141 64.2117 38.8611 64.2117 34.6262C64.2117 30.4587 67.2801 27.2307 71.5411 27.2307C75.8228 27.2307 78.8705 30.4887 78.8705 34.6262C78.8705 38.8302 75.7904 42.0141 71.5411 42.0141ZM71.5411 30.6494C69.3485 30.6494 67.5651 32.4333 67.5651 34.627C67.5651 36.8207 69.3485 38.6046 71.5411 38.6046C73.7337 38.6046 75.5162 36.8207 75.5162 34.627C75.5162 32.4333 73.7337 30.6494 71.5411 30.6494Z",fill:"#101214"}),(0,o.jsx)("path",{d:"M86.9308 42.0141C82.6797 42.0141 79.6013 38.8611 79.6013 34.6262C79.6013 30.4587 82.6698 27.2307 86.9308 27.2307C91.2125 27.2307 94.2602 30.4887 94.2602 34.6262C94.2602 38.8302 91.1784 42.0141 86.9308 42.0141ZM86.9308 30.602C84.7131 30.602 82.9089 32.4075 82.9089 34.6253C82.9089 36.8432 84.7131 38.6487 86.9308 38.6487C89.1482 38.6487 90.9526 36.8432 90.9526 34.6253C90.9517 32.4075 89.1475 30.602 86.9308 30.602Z",fill:"#101214"})]})}var E=t(49036),B=t(33943),R=t(39332),O=t(33023),U=t(71393),P=t(90695),z=t(25934);function NewNav(e){var n=e.navData,t=e.accountNavData,a=e.hideNavItems,r=(0,_.SV)(),l=(0,x.useRouter)(),i=(0,R.usePathname)(),s=(en=B.b,eo=(et=(0,c._)((0,v.useState)(function(){return(0,E.NA)(en)}),2))[0],ea=et[1],(0,v.useEffect)(function(){return en.subscribe(function(e){return ea(e)})},[en]),eo),u=(0,c._)((0,v.useState)(!1),2),g=u[0],C=u[1],k=(0,c._)((0,v.useState)(!1),2),N=k[0],w=k[1],T=(0,v.useRef)(null),M=(0,c._)((0,v.useState)(0),2),S=M[0],A=M[1],Z=(0,v.useRef)([]),I=(0,v.useRef)(null),F=(0,c._)((0,v.useState)("end"),2),D=F[0],V=F[1],q=(0,c._)((0,v.useState)({left:-30,caret:70}),2),K=q[0],G=q[1],W=(0,v.useMemo)(function(){return null==n?void 0:n.group[S]},[S,null==n?void 0:n.group]),Y=(0,c._)((0,v.useState)(!1),2),Q=Y[0],$=Y[1],J=null==t?void 0:t.group[0];(0,v.useEffect)(function(){var e=Z.current[S],n=I.current;if(e&&n){var t=e.getBoundingClientRect(),o=t.left,a=t.width;G({left:Math.round(o-n.getBoundingClientRect().left-30),caret:Math.round(a/2+15)})}},[S]);var storeRef=function(e){return function(n){if(null!==n){var t=Z.current;t[e]=n,Z.current=(0,m._)(t)}}},setFocus=function(e){Z.current[e].focus()},getMatchForCharSearch=function(e){var t;return null==n||n.group.forEach(function(n,o){var a;(null!==(a=n.heading)&&void 0!==a?a:n.copy).substring(0,1).toLowerCase()===e&&(t=o)}),t},X=null==l?void 0:l.pathname,setTabIndexAndTrackOpen=function(e,n,t){var o=t.action,a={click:L.EK,focus:L.e$,hover:L.g8}[o];V(S>e?"start":"end"),$(!1),A(e),w(!1),C(!0);var r=(0,z.Z)();(0,O.L9)("".concat(a," ").concat(n),{source:"Header Menu ".concat(X),tempBulkTestUuid:r}),(0,U._)("ui",{action:o,actionSubject:L.kW,attributes:{pathname:i,menuItem:n,tempBulkTestUuid:r}}),P.u("Analytics event",{action:o,segmentEventName:L.kW,attributes:{pathname:i,menuItem:n,tempBulkTestUuid:r},eventType:"ui"})},setTrackKeyboardFocus=function(e){var n=(0,z.Z)();(0,O.L9)("".concat(L.e$," ").concat(e),{source:"Header Menu ".concat(X)}),(0,U._)("ui",{action:"focus",actionSubject:L.kW,attributes:{pathname:i,menuItem:e,tempBulkTestUuid:n}}),P.u("Analytics event",{action:"focus",segmentEventName:L.kW,attributes:{pathname:i,menuItem:e,tempBulkTestUuid:n},eventType:"ui"})},setTabIndexAndOpenUserMenu=function(e){$(!1),A(e),C(!1),w(!0)},setCloseMenuAndTrackSignUp=function(){C(!1);var e=(0,z.Z)();(0,O.L9)(L.xe,{source:"Header CTA",tempBulkTestUuid:e}),(0,U._)("ui",{action:"click",actionSubject:L.Hr,attributes:{eventSource:"Header CTA",tempBulkTestUuid:e}}),P.u("Analytics event",{action:"click",segmentEventName:L.Hr,attributes:{eventSource:"Header CTA",tempBulkTestUuid:e},eventType:"ui"})},setCloseMenuAndTrackContact=function(){C(!1);var e=(0,z.Z)();(0,O.L9)(L.Fv,{source:"Header CTA",tempBulkTestUuid:e}),(0,U._)("ui",{action:"click",actionSubject:L.oG,attributes:{eventSource:"Header CTA",tempBulkTestUuid:e}}),P.u("Analytics event",{action:"click",segmentEventName:L.oG,attributes:{eventSource:"Header CTA",tempBulkTestUuid:e},eventType:"ui"})},setTabIndexAndFocus=function(e){A(e),setFocus(e)},ee="/next-images/default-avatar.svg";if(H.cZ&&(null==s?void 0:s.avatars)&&(null==s?void 0:s.avatars[0])){var en,et,eo,ea,er,el,ei=null==s?void 0:null===(el=s.avatars[0])||void 0===el?void 0:el.thumb;try{new URL(ei),ee=ei}catch(e){ee="https://cdn.loom.com/".concat(ei)}}var es=(null==s?void 0:s.id)!==void 0,ec=(0,p.ZP)("(min-width: 400px"),eu=(0,p.ZP)("(min-width: 768px)"),ed=(0,p.ZP)("(min-width: 900px)"),ev=(0,p.ZP)("(min-width: 1440px)"),ef=n&&(0,o.jsxs)("div",{children:[(0,o.jsx)("ul",{className:"flex items-center",ref:I,role:"menubar",children:null==n?void 0:null===(er=n.group)||void 0===er?void 0:er.map(function(e,t){if("linkBlock"==e._type){var a=null==e?void 0:e.heading;return(0,o.jsx)("li",{onClick:function(){return C(!g)},onMouseEnter:function(){return C(!0)},onMouseLeave:function(){return C(!1)},role:"none",children:(0,o.jsx)("button",{"aria-expanded":S===t,"aria-haspopup":!0,className:"thd-button-xs xl:thd-button-sm thd-focus-thick thd-focus-bg after:content-['▼'] after:text-[8px] after:pl-6",onClick:function(){return setTabIndexAndTrackOpen(t,a,{action:"click"})},onFocus:function(){return setTrackKeyboardFocus(a)},onKeyDown:function(e){switch(e.key){case"ArrowDown":case"Enter":case" ":e.preventDefault(),C(!0),$(!0);break;case"ArrowRight":e.preventDefault(),setTabIndexAndFocus(t===(null==n?void 0:n.group.length)-1?0:t+1);break;case"ArrowLeft":e.preventDefault(),setTabIndexAndFocus(0===t?(null==n?void 0:n.group.length)-1:t-1);break;case"Tab":C(!1);break;case"Escape":e.preventDefault(),C(!1);break;default:var o=getMatchForCharSearch(e.key);void 0!==o&&(e.preventDefault(),setTabIndexAndFocus(o))}},onMouseEnter:function(){return setTabIndexAndTrackOpen(t,a,{action:"hover"})},ref:storeRef(t),role:"menuitem",style:{"--focus-color-bg":"var(--thd-color-violet-10)"},tabIndex:0===t?0:-1,type:"button",children:e.heading})},e._id)}return(0,o.jsx)("li",{role:"none",children:(0,o.jsx)(j.Z,{"aria-haspopup":"false",className:"thd-button-xs xl:thd-button-sm thd-focus-thick thd-focus-bg",href:e.link,onBlur:function(){return C(!1)},onKeyDown:function(e){switch(e.key){case"ArrowRight":setTabIndexAndFocus(t===(null==n?void 0:n.group.length)-1?0:t+1);break;case"ArrowLeft":setTabIndexAndFocus(0===t?(null==n?void 0:n.group.length)-1:t-1);break;case"Tab":C(!1);break;default:var o=getMatchForCharSearch(e.key);void 0!==o&&(e.preventDefault(),setTabIndexAndFocus(o))}},ref:storeRef(t),role:"menuitem",style:{"--focus-color-bg":"var(--thd-color-violet-10)"},tabIndex:0===t?0:-1,children:e.copy})},e._id)})}),g&&(0,v.createElement)(NewSubnav,(0,h._)((0,f._)({menuDirection:D,menuPosition:K,onBlur:function(){return C(!1)},onClose:function(){C(!1),setFocus(S)},onFocus:function(){return C(!0)},onFocusNext:function(){var e=S===n.group.length-1?0:S+1;A(e),"linkBlock"==n.group[e]._type?($(!0),C(!0)):($(!1),C(!1),setFocus(e))},onFocusPrev:function(){$(!0);var e=0===S?n.group.length-1:S-1;A(e),"linkBlock"==n.group[e]._type?($(!0),C(!0)):($(!1),C(!1),setFocus(e))},onMouseEnter:function(){return C(!0)},onMouseLeave:function(){return C(!1)}},W),{firstChildFocused:Q,key:S}))]}),eh=(0,o.jsxs)("div",{onMouseEnter:function(){return w(!0)},onMouseLeave:function(){return w(!1)},ref:T,children:[(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(y.Z,{"aria-expanded":S===(null==n?void 0:n.group.length)+1,"aria-haspopup":!0,buttonOverride:"nav",buttonType:"secondary",className:"after:content-['▼'] after:text-[8px] after:pl-6 ml-12",color:"violet-light",onClick:function(){return setTabIndexAndOpenUserMenu((null==n?void 0:n.group.length)+1)},onKeyDown:function(e){switch(e.key){case"ArrowDown":case"Enter":case" ":e.preventDefault(),w(!0),$(!0);break;case"Tab":w(!1);break;case"Escape":e.preventDefault(),w(!1)}},onMouseEnter:function(){return setTabIndexAndOpenUserMenu((null==n?void 0:n.group.length)+1)},role:"menuitem",size:"avi",children:[(0,o.jsx)(b.Z,{imageSrc:ee,size:4.5}),(0,o.jsx)("span",{className:"ml-16",children:null==s?void 0:s.first_name})]})}),N&&(0,o.jsx)(NewSubnav,(0,h._)((0,f._)({menuPosition:{right:-140,caret:210},onBlur:function(){return w(!1)},onClose:function(){w(!1)},onFocus:function(){return w(!0)},userMenu:!0},J),{firstChildFocused:Q}))]}),em=(0,o.jsxs)(o.Fragment,{children:[!es&&(0,o.jsx)(j.Z,{className:"thd-button-xs xl:thd-button-sm thd-focus-thick thd-focus-bg",href:r+_.ym,onClick:function(){return C(!1)},style:{"--focus-color-bg":"var(--thd-color-violet-10)"},children:"Sign In"}),!es&&(0,o.jsx)(y.Z,{buttonOverride:"nav",buttonType:"secondary",className:d()("ml-16"),color:"violet-dark",cta:{link:r+_.kp,copy:"Get Loom For Free",targetBlank:!0},onClick:function(){return setCloseMenuAndTrackSignUp()},size:"md"}),ed&&(0,o.jsx)(y.Z,{buttonOverride:"nav",buttonType:"secondary",className:d()("ml-16 block flex-shrink-0"),color:"violet-light",cta:{link:"/connect/enterprise?campaign=7013i000000QYMqAAO",copy:"Contact Sales"},onClick:function(){return setCloseMenuAndTrackContact(!1)},size:"md"}),ev&&es&&eh]});return(0,o.jsx)("nav",{"aria-label":"primary",className:"px-fluid-base 4xl:px-0 my-auto relative z-10 h-[var(--thd-nav-h)]",children:(0,o.jsxs)("div",{className:"flex items-center justify-between max-w-screen-3xl mx-auto h-full",children:[(0,o.jsx)(j.Z,{href:"/",children:(0,o.jsx)(AtlassianLoomLogoSvg,{})}),(0,o.jsx)("div",{className:"w-full flex items-center justify-end",children:a&&!es?(0,o.jsx)(y.Z,{buttonOverride:"nav",buttonType:"secondary",className:d()("ml-16"),color:"violet-dark",cta:{link:r+_.kp,copy:"Get Loom ".concat(ec?"For":""," Free")},onClick:function(){return setCloseMenuAndTrackSignUp()},size:"md"}):(0,o.jsxs)(o.Fragment,{children:[ev&&ef,eu&&em,!ev&&(0,o.jsx)(NewMobileNav,{accountNavData:t,navData:n,onFocusNext:function(){$(!1),setTabIndexAndFocus(S===n.length-1?0:S+1)},onFocusPrev:function(){$(!1),setTabIndexAndFocus(0===S?n.length-1:S-1)},user:s})]})})]})})}var q=t(17282);function Banner(e){var n,t=e.bannerContent,a=(0,c._)((0,v.useState)(!1),2),r=a[0],l=a[1],i=null==t?void 0:null===(n=t.filter(function(e){return e.isActive}))||void 0===n?void 0:n[0],updateLocalStorage=function(){window.localStorage.setItem(i.identifier,"true")};return(0,v.useEffect)(function(){l(i&&!window.localStorage.getItem(i.identifier))},[i]),(0,o.jsx)(o.Fragment,{children:r&&(0,o.jsx)("div",{className:"bg-thd-color-violet-90",children:(0,o.jsxs)("div",{className:"thd-container-max relative",children:[(0,o.jsx)("a",{target:i.newTab?"_blank":null,href:i.linkTo,onClick:function(){var e=(0,z.Z)();(0,O.L9)(L.Zd,{banner:i.identifier,tempBulkTestUuid:e}),(0,U._)("ui",{action:"click",actionSubject:L.Mk,attributes:{bannerId:i.identifier,tempBulkTestUuid:e}}),P.u("Analytics event",{action:"click",segmentEventName:L.Zd,attributes:{bannerId:i.identifier,tempBulkTestUuid:e},eventType:"ui"}),updateLocalStorage()},children:(0,o.jsxs)("div",{className:"text-thd-color-grey-10 relative w-full h-full align-center justify-start lg:px-12 lg:flex lg:flex-row lg:w-full lg:text-center lg:justify-center py-18 text-12 md:text-16 lg:text-12 xl:text-16",children:[(0,o.jsx)("strong",{className:"mr-6",children:i.boldText}),(0,o.jsx)("p",{children:i.text})]})}),(0,o.jsx)("div",{className:"absolute top-10 md:top-16 right-10 md:right-12",children:(0,o.jsx)(q.Z,{onClick:function(e){e.preventDefault(),e.stopPropagation(),updateLocalStorage(),l(!1)},icon:(0,o.jsx)(M.Z,{}),size:"small",iconColor:"white"})})]})})})}function NewHeader(e){var n=e.bannerContent,t=e.navData,a=e.accountNavData,r=e.hideNavItems,l=(0,c._)((0,v.useState)(!0),2),i=l[0],s=l[1];return(0,v.useEffect)(function(){var handleScroll=function(){document.documentElement.scrollTop>0?s(!1):s(!0)};return window.addEventListener("scroll",handleScroll),function(){window.removeEventListener("scroll",handleScroll)}},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("a",{className:I().skipLink,href:"#skip-to-content",children:["Skip to\xa0",(0,o.jsx)("span",{className:"text-thd-color-violet-90 underline",children:"content"})]}),(0,o.jsxs)("header",{className:d()(I().header),children:[n&&(0,o.jsx)("div",{className:"hidden xl:block relative z-20",children:(0,o.jsx)(Banner,{bannerContent:n})}),(0,o.jsx)(NewNav,{accountNavData:a,navData:t,hideNavItems:r}),n&&(0,o.jsx)("div",{className:"xl:hidden",children:(0,o.jsx)(Banner,{bannerContent:n})})]}),(0,o.jsx)("div",{className:d()(!i&&I().shadowIsShowing,"thd-shadow-nav")})]})}var K=t(51605);function Layout(e){var n=e.accountNavData,r=e.children,i=e.className,s=e.color,c=e.deiNav,u=e.enterpriseTemplate,d=e.footerOff,v=e.headerOff,f=e.hideNavItems,h=e.noEop,m=e.name,x=e.navData,p=e.footerNavData,g=e.preview,b=e.style,C=e.bannerContent;(0,O.ST)(m);var j=l()(function(){return t.e(1299).then(t.bind(t,61299))},{loadableGenerated:{webpack:function(){return[61299]}},loading:function(){return(0,o.jsx)("div",{className:"flex items-center justify-center",children:(0,o.jsx)(a.Z,{size:"large"})})}});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{style:b,children:[!v&&(0,o.jsx)(NewHeader,{accountNavData:n,deiNav:c,navData:x,hideNavItems:f,bannerContent:C}),(0,o.jsxs)("main",{className:i,id:"skip-to-content",children:[r,!d&&(0,o.jsx)(j,{color:s,enterpriseTemplate:u,footerNavData:p,noEop:h})]})]}),g&&(0,o.jsx)(K.Z,{})]})}Layout.propTypes={accountNavData:s().object,children:s().node.isRequired,className:s().string,color:s().string,deiNav:s().array,enterpriseTemplate:s().bool,footerOff:s().bool,headerOff:s().bool,hideNavItems:s().bool,noEop:s().bool,name:s().string.isRequired,navData:s().object,footerNavData:s().object,preview:s().bool,style:s().object,bannerContent:s().array}},64402:function(e,n,t){"use strict";t.d(n,{Z:function(){return SvgMobileDevices}});var o=t(72253),a=t(14932),r=t(85893);function SvgMobileDevices(e){return(0,r.jsx)("svg",(0,a._)((0,o._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,r.jsx)("path",{clipRule:"evenodd",d:"M6.48561 2H12.9689C13.7748 1.99997 14.4692 1.99991 15.0253 2.07467C15.6212 2.15479 16.1924 2.33549 16.6558 2.79882C17.1191 3.26212 17.2998 3.83336 17.3799 4.42927C17.4546 4.98533 17.4546 5.67973 17.4545 6.48564V6.54545H17.5144C18.3203 6.54542 19.0147 6.54536 19.5707 6.62012C20.1666 6.70024 20.7379 6.88094 21.2012 7.34427C21.6645 7.80758 21.8452 8.37882 21.9253 8.97473C22.0001 9.53079 22.0001 10.2252 22 11.0311V17.5144C22.0001 18.3203 22.0001 19.0147 21.9253 19.5707C21.8452 20.1666 21.6645 20.7379 21.2012 21.2012C20.7379 21.6645 20.1666 21.8452 19.5707 21.9253C19.0147 22.0001 18.3203 22.0001 17.5144 22H6.48564C5.67973 22.0001 4.98533 22.0001 4.42927 21.9253C3.83336 21.8452 3.26212 21.6645 2.79882 21.2012C2.33549 20.7379 2.15479 20.1666 2.07467 19.5707C1.99991 19.0147 1.99997 18.3203 2 17.5144V6.48561C1.99997 5.67973 1.99991 4.98533 2.07467 4.42927C2.15479 3.83336 2.33549 3.26212 2.79882 2.79882C3.26212 2.33549 3.83336 2.15479 4.42927 2.07467C4.98533 1.99991 5.67973 1.99997 6.48561 2ZM15.5779 4.67155C15.6344 5.092 15.6364 5.66267 15.6364 6.54545H15.5765C14.7706 6.54542 14.0762 6.54536 13.5202 6.62012C12.9243 6.70024 12.353 6.88094 11.8897 7.34427C11.4264 7.80758 11.2457 8.37882 11.1656 8.97473C11.0908 9.53079 11.0909 10.2252 11.0909 11.0311V17.5144C11.0909 18.3203 11.0908 19.0147 11.1656 19.5707C11.1935 19.7786 11.2337 19.9835 11.2939 20.1818H6.54545C5.66267 20.1818 5.092 20.1799 4.67155 20.1234C4.27724 20.0703 4.15367 19.9848 4.08446 19.9155C4.01524 19.8464 3.92967 19.7228 3.87664 19.3285C3.82012 18.908 3.81818 18.3373 3.81818 17.4545V6.54545C3.81818 5.66267 3.82012 5.092 3.87664 4.67155C3.92967 4.27724 4.01524 4.15367 4.08446 4.08446C4.15367 4.01524 4.27724 3.92967 4.67155 3.87664C5.092 3.82012 5.66267 3.81818 6.54545 3.81818H7.45455L7.65782 4.22476C7.78009 4.46924 7.84121 4.59152 7.95106 4.65939C8.06088 4.72727 8.19758 4.72727 8.47094 4.72727H10.9836C11.257 4.72727 11.3937 4.72727 11.5035 4.65939C11.6133 4.59152 11.6745 4.46924 11.7967 4.22476L12 3.81818H12.9091C13.7919 3.81818 14.3625 3.82012 14.783 3.87664C15.1773 3.92967 15.3009 4.01524 15.3701 4.08446C15.4393 4.15367 15.5249 4.27724 15.5779 4.67155ZM15.6364 20.1818C14.7536 20.1818 14.1829 20.1799 13.7625 20.1234C13.3682 20.0703 13.2446 19.9848 13.1754 19.9155C13.1062 19.8464 13.0206 19.7228 12.9675 19.3285C12.911 18.908 12.9091 18.3373 12.9091 17.4545V11.0909C12.9091 10.2081 12.911 9.63745 12.9675 9.217C13.0206 8.8227 13.1062 8.69912 13.1754 8.62991C13.2446 8.5607 13.3682 8.47512 13.7625 8.42209C13.9134 8.40182 14.0837 8.38855 14.2808 8.37988L14.476 8.77021C14.5983 9.0147 14.6594 9.13697 14.7692 9.20485C14.8791 9.27273 15.0158 9.27273 15.2891 9.27273H17.8018C18.0751 9.27273 18.2118 9.27273 18.3217 9.20485C18.4315 9.13697 18.4927 9.0147 18.6149 8.77021L18.8101 8.37988C19.0072 8.38855 19.1775 8.40182 19.3285 8.42209C19.7228 8.47512 19.8464 8.5607 19.9155 8.62991C19.9848 8.69912 20.0704 8.8227 20.1234 9.217C20.1799 9.63745 20.1818 10.2081 20.1818 11.0909V17.4545C20.1818 18.3373 20.1799 18.908 20.1234 19.3285C20.0704 19.7228 19.9848 19.8464 19.9155 19.9155C19.8464 19.9848 19.7228 20.0703 19.3285 20.1234C18.908 20.1799 18.3374 20.1818 17.4545 20.1818H15.6364Z",fill:"currentColor",fillRule:"evenodd"})}))}t(67294)},23211:function(e){e.exports={header:"NewHeader_header__F2I_f",skipLink:"NewHeader_skipLink___68Ws",shadowIsShowing:"NewHeader_shadowIsShowing__pY1uw",footer:"NewHeader_footer__ocrFc",footerLoggedIn:"NewHeader_footerLoggedIn__5PCEi",footerLoggedOut:"NewHeader_footerLoggedOut__KrKs0",footerButton:"NewHeader_footerButton__MzCqf"}},2294:function(e){e.exports={menu:"NewSubnav_menu__NOzBt"}}}]);