(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3523],{33523:function(e,n,t){"use strict";t.d(n,{Z:function(){return G}});var r=t(85893),o=t(38030),a=t(5152),s=t.n(a),l=t(45697),i=t.n(l),c=t(67294),u=t(24043),d=t(93967),f=t.n(d),h=t(72253),x=t(14932),v=t(248),m=t(11163),p=t(30587),C=t(83580),g=t(21440),j=t(84224),b=t(65970);t(4090);var w=t(18613),k=t(92673),y=c.forwardRef(function(e,n){var t,o,a=e.className,s=e.link,l=e.role,i=e.tabIndex;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(b.Z,{className:f()(a,"w-full"),href:s.link,ref:n,rel:s.newTab?"noopener":void 0,role:l,tabIndex:i,target:s.newTab?"_blank":void 0,children:[!s.navigationIcon&&s.copy,s.navigationIcon&&(0,r.jsxs)("span",{className:"ml-4 flex items-center relative text-15",children:[(0,r.jsx)("span",{className:"mr-14 [&_svg]:max-w-[24px] [&_svg]:max-h-[24px]",children:(0,r.jsx)(j.Z,{color:(0,k.b)((null==s?void 0:s.color)+"-light").navIcon,icon:(0,w.q)(null==s?void 0:null===(t=s.navigationIcon)||void 0===t?void 0:t.icon)})}),s.copy]})]})})});function NewMobileAccountNav(e){var n=e.avatarSrc,t=e.accountNavData,o=e.user;return(0,r.jsxs)("details",{className:"p-24 md:p-36 bg-thd-color-violet-10",children:[(0,r.jsx)("summary",{className:"thd-toggle h-48 items-center space-x-16",children:(0,r.jsxs)("div",{className:"flex items-center rounded-full",children:[(0,r.jsx)(g.Z,{imageSrc:n,size:"6"}),(0,r.jsxs)("p",{className:"ml-16 lm-body-sm font-bold",children:[o.first_name," ",o.last_name]})]})}),(0,r.jsx)("ul",{className:"space-y-8 mt-24",children:null==t?void 0:t.group[0].linkBlock.map(function(e){return(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(y,{className:"rounded-full",link:e})},e._id)})})]})}var N=t(30830),Z=t(1840),_=t(55733);function NewMobileCTAs(){var e=(0,_.SV)();return(0,r.jsxs)("div",{className:"w-full px-fluid-base grid grid-cols-2 gap-x-fixed-md",children:[(0,r.jsx)(N.Z,{align:"stretch",buttonOverride:"nav",buttonType:"secondary",color:"violet-light",cta:{link:e+_.ym,copy:"Sign In"},size:"sm"}),(0,r.jsx)(N.Z,{align:"stretch",buttonOverride:"nav",buttonType:"secondary",color:"violet-dark",cta:{link:e+_.kp,copy:"Try Loom For Free",trackEventName:Z.xe,trackEventSource:"Header CTA"},size:"sm"})]})}var L=t(63182);function NewMobileSubnavAccordion(e){var n=e.storeRefs,t=e.block,o=e.index;return(0,r.jsxs)("details",{className:"thd-details px-12",children:[(0,r.jsx)("summary",{className:"thd-summary-accordion w-full py-18",id:"summary-".concat(o),ref:n,children:(0,r.jsxs)("div",{className:"flex justify-between items-center w-full thd-button-square",children:[(0,r.jsx)("span",{className:"flex items-center",children:null==t?void 0:t.heading}),(0,r.jsx)(L.Z,{className:"chevron w-20"})]})}),(0,r.jsx)("ul",{className:"space-y-6 mb-24",children:null==t?void 0:t.linkBlock.map(function(e){var n,t,o;return(0,r.jsx)("li",{children:(0,r.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,r.jsxs)("span",{className:"flex items-center relative",children:[(0,r.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,r.jsx)(j.Z,{color:(0,k.b)((null==e?void 0:e.color)+"-light").navIcon,icon:(0,w.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(36992),S=t(46631);function NewMobileToggle(e){var n=e.onClick,t=e.mobileNavOpen;return(0,r.jsxs)("button",{"aria-label":"Toggle navigation menu",className:"thd-toggle h-full ml-12",onClick:n,type:"button",children:[(0,r.jsxs)("span",{className:"sr-only",children:["Toggle menu ",t?"open":"close"]}),(0,r.jsx)("div",{className:f()(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,r.jsx)(j.Z,{color:"white",icon:(0,r.jsx)(M.Z,{}),size:3}):(0,r.jsx)(j.Z,{color:"blurple",icon:(0,r.jsx)(S.Z,{}),size:3})})]})}var A=t(76815),T=t(76265),H=t(41654),F=t.n(H);function NewMobileNav(e){var n,t=e.navData,o=e.accountNavData,a=e.user,s=(0,u._)((0,c.useState)(!1),2),l=s[0],i=s[1],d=(0,u._)((0,c.useState)(!1),2),v=d[0],m=d[1],g=(0,c.useRef)([]),j=(0,c.useRef)(),b=(null==a?void 0:a.id)!==void 0,w="/next-images/default-avatar.svg";if(A.cZ&&(null==a?void 0:a.avatars)&&(null==a?void 0:a.avatars[0])){var k,y,N=null==a?void 0:null===(y=a.avatars[0])||void 0===y?void 0:y.thumb;try{new URL(N),w=N}catch(e){w="https://cdn.loom.com/".concat(N)}}var Z=(0,p.ZP)("(min-width: 768px)"),_=(0,p.ZP)("(min-width: 900px)"),storeRefs=function(e){e&&!g.current.includes(e)&&g.current.push(e)};n=(0,c.useRef)(!1),(0,c.useEffect)(function(){var e=j.current;if(e)return v&&!n.current&&((0,T.disablePageScroll)(e),n.current=!0),function(){n.current&&((0,T.enablePageScroll)(e),n.current=!1)}},[v,j,n]);var openMenuAndScrollLock=function(){i(!l),m(!v)};return(0,r.jsxs)("div",{className:"h-full",id:"modal-dialog",children:[(0,r.jsx)(NewMobileToggle,{mobileNavOpen:l,onClick:function(){return openMenuAndScrollLock()}}),l&&(0,r.jsx)("div",{"aria-label":"Loom main navigation menu","aria-modal":"true",className:"thd-modal-outer",role:"dialog",children:(0,r.jsxs)("div",{className:"thd-modal-inner",ref:j,children:[(0,r.jsxs)("ul",{className:"text-thd-color-black thd-body-lg font-bold",children:[null==t?void 0:null===(k=t.group)||void 0===k?void 0:k.map(function(e,n){return(null==e?void 0:e._type)=="linkBlock"?(0,r.jsx)("li",{className:"border-b border-thd-color-grey-20",id:null==e?void 0:e._id,children:(0,r.jsx)(NewMobileSubnavAccordion,{block:(0,x._)((0,h._)({},e),{heading:null==e?void 0:e.heading}),index:n,storeRefs:storeRefs})},null==e?void 0:e._id):(0,r.jsx)("li",{className:"last:border-none border-b border-thd-color-grey-20 px-12 py-18",children:(0,r.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,r.jsx)(C.Z,{className:"h-20 w-20"})]})},null==e?void 0:e._id)}),!_&&(0,r.jsx)("li",{className:"px-10 py-18",children:(0,r.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,r.jsx)(C.Z,{className:"h-20 w-20"})]})})]}),(0,r.jsx)("footer",{className:f()(F().footer,b?F().footerLoggedIn:F().footerLoggedOut),children:b?(0,r.jsx)(NewMobileAccountNav,{accountNavData:o,avatarSrc:w,user:a}):(0,r.jsx)(r.Fragment,{children:!Z&&(0,r.jsx)(NewMobileCTAs,{})})})]})})]})}var D=t(47702),B=t(98216),I=t.n(B);function NewSubnav(e){var n=e.menuId,t=e.menuPosition,o=e.menuDirection,a=e.linkBlock,s=e.onClose,l=e.onFocusNext,i=e.onFocusPrev,d=e.firstChildFocused,m=e.userMenu,p=(0,D._)(e,["menuId","menuPosition","menuDirection","linkBlock","onClose","onFocusNext","onFocusPrev","firstChildFocused","userMenu"]),C=(0,u._)((0,c.useState)(0),2),g=C[0],j=C[1],b=(0,u._)((0,c.useState)(!0),2),w=b[0],k=b[1],N=(0,c.useRef)([]),storeRef=function(e){if(null!==e){var n=N.current;n.push(e),N.current=(0,v._)(new Set(n))}};(0,c.useEffect)(function(){var e=N.current[g];(0!==g||d)&&e&&e.focus()},[g,d]),(0,c.useEffect)(function(){},[g,d]);var Z=[];null==a||a.forEach(function(e){Z.push(e.copy)});var getMatchForCharSearch=function(e){var n,t=Z.slice(g+1,Z.length),r=Z.slice(0,g+1);if(t.forEach(function(t){var r=t.charAt(0).toLowerCase();n||r!==e||(n=t)}),n||r.forEach(function(t){var r=t.charAt(0).toLowerCase();n||r!==e||(n=t)}),n)return Z.indexOf(n)};p._updatedAt,p._createdAt,p._originalId;var _=(0,D._)(p,["_updatedAt","_createdAt","_originalId"]);return(0,r.jsx)("div",(0,x._)((0,h._)({},_),{className:f()(_.className,"relative"),title:"",children:(0,r.jsx)("div",{className:I().menu,id:n,onKeyDown:function(e){switch(e.key){case"ArrowLeft":e.preventDefault(),i();break;case"ArrowRight":e.preventDefault(),l();break;case"ArrowUp":e.preventDefault(),j(0===g?N.current.length-1:g-1);break;case"ArrowDown":e.preventDefault(),j(g===N.current.length-1?0:g+1);break;case"Escape":e.preventDefault(),s();break;case"Home":e.preventDefault(),j(0);break;case"End":e.preventDefault(),j(N.current.length-1);break;default:var n=getMatchForCharSearch(e.key);void 0!==n&&(e.preventDefault(),j(n))}},style:{"--caretPosition":t.caret+"px","--menuPosition":m?t.right+"px":t.left+"px","--menuDirection":"start"===o?"10%":"-10%"},children:(0,r.jsx)("ul",{className:"rounded-lg p-24 space-y-8",onMouseEnter:function(){return k(!1)},children:null==a?void 0:a.map(function(e){return(0,r.jsx)("li",{className:"flex items-center",children:(0,r.jsx)(y,{className:f()(w?"thd-focus-thick":"outline-none","rounded-full thd-button-xs"),link:e,ref:storeRef,role:"menuitem",tabIndex:-1})},e._id)})})})}))}function AtlassianLoomLogoSvg(){return(0,r.jsxs)("svg",{width:"150",viewBox:"0 0 135 44",fill:"none",className:"w-full",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M45.4999 19.6967H31.6393L43.6428 12.9942L41.261 9.00451L29.2575 15.707L36.1871 4.09924L32.0614 1.79595L25.1318 13.4024V0H20.3682V13.4037L13.4372 1.79595L9.31147 4.09924L16.2411 15.7057L4.23898 9.00451L1.85717 12.9942L13.8607 19.6967H0V24.3033H13.8593L1.85717 31.0045L4.23898 34.9942L16.2425 28.293L9.31147 39.9008L13.4372 42.2041L20.3682 30.5963V44H25.1318V30.3093L32.1896 42.1323L36.0577 39.9725L28.9985 28.1482L41.2596 34.9942L43.6414 31.0045L31.6393 24.3033H45.4986V19.6967H45.4999ZM22.75 28.263C19.1732 28.263 16.2735 25.4589 16.2735 22C16.2735 18.5411 19.1732 15.737 22.75 15.737C26.3267 15.737 29.2265 18.5411 29.2265 22C29.2265 25.4589 26.3267 28.263 22.75 28.263Z",fill:"#565ADD"}),(0,r.jsx)("path",{d:"M59.2168 41.4252V15.5754H64.1234V41.4252H59.2168Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M106.282 23.2324H110.967V25.4511C111.963 23.677 114.289 22.7151 116.281 22.7151C118.753 22.7151 120.745 23.7876 121.667 25.7461C123.105 23.5274 125.025 22.7151 127.424 22.7151C130.78 22.7151 133.99 24.7485 133.99 29.6274V41.4198H129.231V30.6262C129.231 28.6666 128.27 27.1884 126.02 27.1884C123.917 27.1884 122.662 28.8151 122.662 30.7748V41.421H117.793V30.6262C117.793 28.6666 116.797 27.1884 114.582 27.1884C112.442 27.1884 111.187 28.7783 111.187 30.7748V41.421H106.282V23.2324Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M75.2159 41.9494C69.6884 41.9494 65.6855 37.8437 65.6855 32.3293C65.6855 26.9026 69.6754 22.6992 75.2159 22.6992C80.7835 22.6992 84.7462 26.9416 84.7462 32.3293C84.7462 37.8036 80.7412 41.9494 75.2159 41.9494ZM75.2159 27.1509C72.3649 27.1509 70.046 29.4738 70.046 32.3303C70.046 35.1868 72.3649 37.5097 75.2159 37.5097C78.0669 37.5097 80.3847 35.1868 80.3847 32.3303C80.3847 29.4738 78.0669 27.1509 75.2159 27.1509Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M95.2222 41.9497C89.6943 41.9497 85.6914 37.8439 85.6914 32.3295C85.6914 26.9028 89.6812 22.6995 95.2222 22.6995C100.789 22.6995 104.752 26.9419 104.752 32.3295C104.752 37.8038 100.745 41.9497 95.2222 41.9497ZM95.2222 27.0893C92.3383 27.0893 89.9922 29.4405 89.9922 32.3284C89.9922 35.2163 92.3383 37.5674 95.2222 37.5674C98.1055 37.5674 100.451 35.2163 100.451 32.3284C100.45 29.4405 98.1038 27.0893 95.2222 27.0893Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M100.189 8.6874C100.189 6.98599 99.1145 6.33779 97.1304 5.85168C95.8909 5.52758 95.5599 5.28457 95.5599 4.87947C95.5599 4.39336 95.9728 4.15027 96.8002 4.15027C97.7923 4.15027 98.7844 4.47437 99.7765 4.87947V2.77295C99.1145 2.44885 98.0397 2.12476 96.883 2.12476C94.6506 2.12476 93.4102 3.17805 93.4102 4.87947C93.4102 6.49988 94.485 7.31008 96.3865 7.71519C97.6268 7.9582 98.0397 8.20129 98.0397 8.7684C98.0397 9.17351 97.7096 9.4976 96.8002 9.4976C95.6426 9.4976 94.3197 9.0925 93.4102 8.52539V10.7129C94.1543 11.118 95.3117 11.4421 96.8002 11.4421C99.1145 11.5231 100.189 10.3888 100.189 8.6874Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M125.898 2.4126V11.6515H127.904V4.6398L128.74 6.53711L131.582 11.734H134.09V2.4126H132.084V8.35186L131.332 6.61958L129.075 2.4126H125.898Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M113.468 2.41284H111.208V11.7343H113.468V2.41284Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M76.4668 2.4126V11.734H80.8844L81.5512 9.73664H78.5505V2.4126H76.4668Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M67.7158 2.4126V4.41007H70.1923V11.734H72.4126V4.41007H75.06V2.4126H67.7158Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M64.3576 2.4126H61.5775L58.3887 11.734H60.8417L61.3323 10.1528C61.9046 10.3192 62.477 10.4024 63.0494 10.4024C63.6217 10.4024 64.1941 10.3192 64.7665 10.1528L65.2571 11.734H67.7101L64.3576 2.4126ZM62.9676 8.48823C62.5588 8.48823 62.15 8.40494 61.8229 8.32172L62.9676 4.24357L64.1124 8.32172C63.7036 8.40494 63.3765 8.48823 62.9676 8.48823Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M88.5463 2.4126H85.682L82.3965 11.734H84.9238L85.4293 10.1528C86.0189 10.3192 86.6087 10.4024 87.1984 10.4024C87.7881 10.4024 88.3778 10.3192 88.9675 10.1528L89.473 11.734H92.0004L88.5463 2.4126ZM87.1142 8.48823C86.6929 8.48823 86.2717 8.40494 85.9347 8.32172L87.1142 4.24357L88.2936 8.32172C87.9566 8.40494 87.5354 8.48823 87.1142 8.48823Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M121.028 2.41284H118.163L114.878 11.7343H117.405L117.911 10.153C118.5 10.3194 119.09 10.4027 119.68 10.4027C120.269 10.4027 120.859 10.3194 121.449 10.153L121.955 11.7343H124.482L121.028 2.41284ZM119.596 8.48847C119.174 8.48847 118.753 8.40518 118.416 8.32197L119.596 4.24381L120.775 8.32197C120.438 8.40518 120.017 8.48847 119.596 8.48847Z",fill:"#252434"}),(0,r.jsx)("path",{d:"M108.956 8.6874C108.956 6.98599 107.881 6.33779 105.897 5.85168C104.657 5.52758 104.326 5.28457 104.326 4.87947C104.326 4.39336 104.739 4.15027 105.567 4.15027C106.559 4.15027 107.551 4.47437 108.543 4.87947V2.77295C107.881 2.44885 106.806 2.12476 105.65 2.12476C103.417 2.12476 102.177 3.17805 102.177 4.87947C102.177 6.49988 103.252 7.31008 105.153 7.71519C106.393 7.9582 106.806 8.20129 106.806 8.7684C106.806 9.17351 106.476 9.4976 105.567 9.4976C104.409 9.4976 103.086 9.0925 102.177 8.52539V10.7129C102.921 11.118 104.078 11.4421 105.567 11.4421C107.798 11.5231 108.956 10.3888 108.956 8.6874Z",fill:"#252434"})]})}var V=t(83694),E=t(22410),O=t(98719),R=t(23320),P=t.n(R);function NewNav(e){var n=e.navData,t=e.accountNavData,o=e.hideNavItems,a=(0,_.SV)(),s=(0,m.useRouter)(),l=(0,V.Z)(E.b),i=(0,u._)((0,c.useState)(!1),2),d=i[0],C=i[1],j=(0,u._)((0,c.useState)(!1),2),w=j[0],k=j[1],y=(0,c.useRef)(null),L=(0,u._)((0,c.useState)(0),2),M=L[0],S=L[1],T=(0,c.useRef)([]),H=(0,c.useRef)(null),F=(0,u._)((0,c.useState)("end"),2),D=F[0],B=F[1],I=(0,u._)((0,c.useState)({left:-30,caret:70}),2),R=I[0],z=I[1],q=(0,c.useMemo)(function(){return null==n?void 0:n.group[M]},[M,null==n?void 0:n.group]),G=(0,u._)((0,c.useState)(!1),2),U=G[0],K=G[1],Q=null==t?void 0:t.group[0];(0,c.useEffect)(function(){var e=T.current[M],n=H.current;if(e&&n){var t=e.getBoundingClientRect(),r=t.left,o=t.width;z({left:Math.round(r-n.getBoundingClientRect().left-30),caret:Math.round(o/2+15)})}},[M]);var storeRef=function(e){return function(n){if(null!==n){var t=T.current;t[e]=n,T.current=(0,v._)(t)}}},setFocus=function(e){T.current[e].focus()},getMatchForCharSearch=function(e){var t;return null==n||n.group.forEach(function(n,r){var o;(null!==(o=n.heading)&&void 0!==o?o:n.copy).substring(0,1).toLowerCase()===e&&(t=r)}),t},W=null==s?void 0:s.pathname,setTabIndexAndTrackOpen=function(e,n,t){var r=t.action,o={click:Z.EK,focus:Z.e$,hover:Z.g8}[r];B(M>e?"start":"end"),K(!1),S(e),k(!1),C(!0),(0,O.L9)("".concat(o," ").concat(n),{source:"Header Menu ".concat(W)})},setTrackKeyboardFocus=function(e){(0,O.L9)("".concat(Z.e$," ").concat(e),{source:"Header Menu ".concat(W)})},setTabIndexAndOpenUserMenu=function(e){K(!1),S(e),C(!1),k(!0)},setCloseMenuAndTrackSignUp=function(){C(!1),(0,O.L9)(Z.xe,{source:"Header CTA"})},setCloseMenuAndTrackContact=function(){C(!1),(0,O.L9)(Z.Fv,{source:"Header CTA"})},setTabIndexAndFocus=function(e){S(e),setFocus(e)},Y="/next-images/default-avatar.svg";if(A.cZ&&(null==l?void 0:l.avatars)&&(null==l?void 0:l.avatars[0])){var $,J,X=null==l?void 0:null===(J=l.avatars[0])||void 0===J?void 0:J.thumb;try{new URL(X),Y=X}catch(e){Y="https://cdn.loom.com/".concat(X)}}var ee=(null==l?void 0:l.id)!==void 0,en=(0,p.ZP)("(min-width: 400px"),et=(0,p.ZP)("(min-width: 768px)"),er=(0,p.ZP)("(min-width: 900px)"),eo=(0,p.ZP)("(min-width: 1440px)"),ea=n&&(0,r.jsxs)("div",{children:[(0,r.jsx)("ul",{className:"flex items-center",ref:H,role:"menubar",children:null==n?void 0:null===($=n.group)||void 0===$?void 0:$.map(function(e,t){if("linkBlock"==e._type){var o=null==e?void 0:e.heading;return(0,r.jsx)("li",{onClick:function(){return C(!d)},onMouseEnter:function(){return C(!0)},onMouseLeave:function(){return C(!1)},role:"none",children:(0,r.jsx)("button",{"aria-expanded":M===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,o,{action:"click"})},onFocus:function(){return setTrackKeyboardFocus(o)},onKeyDown:function(e){switch(e.key){case"ArrowDown":case"Enter":case" ":e.preventDefault(),C(!0),K(!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 r=getMatchForCharSearch(e.key);void 0!==r&&(e.preventDefault(),setTabIndexAndFocus(r))}},onMouseEnter:function(){return setTabIndexAndTrackOpen(t,o,{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,r.jsx)("li",{role:"none",children:(0,r.jsx)(b.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 r=getMatchForCharSearch(e.key);void 0!==r&&(e.preventDefault(),setTabIndexAndFocus(r))}},ref:storeRef(t),role:"menuitem",style:{"--focus-color-bg":"var(--thd-color-violet-10)"},tabIndex:0===t?0:-1,children:e.copy})},e._id)})}),d&&(0,c.createElement)(NewSubnav,(0,x._)((0,h._)({menuDirection:D,menuPosition:R,onBlur:function(){return C(!1)},onClose:function(){C(!1),setFocus(M)},onFocus:function(){return C(!0)},onFocusNext:function(){var e=M===n.group.length-1?0:M+1;S(e),"linkBlock"==n.group[e]._type?(K(!0),C(!0)):(K(!1),C(!1),setFocus(e))},onFocusPrev:function(){K(!0);var e=0===M?n.group.length-1:M-1;S(e),"linkBlock"==n.group[e]._type?(K(!0),C(!0)):(K(!1),C(!1),setFocus(e))},onMouseEnter:function(){return C(!0)},onMouseLeave:function(){return C(!1)}},q),{firstChildFocused:U,key:M}))]}),es=(0,r.jsxs)("div",{onMouseEnter:function(){return k(!0)},onMouseLeave:function(){return k(!1)},ref:y,children:[(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(N.Z,{"aria-expanded":M===(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(),k(!0),K(!0);break;case"Tab":k(!1);break;case"Escape":e.preventDefault(),k(!1)}},onMouseEnter:function(){return setTabIndexAndOpenUserMenu((null==n?void 0:n.group.length)+1)},role:"menuitem",size:"avi",children:[(0,r.jsx)(g.Z,{imageSrc:Y,size:4.5}),(0,r.jsx)("span",{className:"ml-16",children:null==l?void 0:l.first_name})]})}),w&&(0,r.jsx)(NewSubnav,(0,x._)((0,h._)({menuPosition:{right:-140,caret:210},onBlur:function(){return k(!1)},onClose:function(){k(!1)},onFocus:function(){return k(!0)},userMenu:!0},Q),{firstChildFocused:U}))]}),el=(0,r.jsxs)(r.Fragment,{children:[!ee&&(0,r.jsx)(b.Z,{className:"thd-button-xs xl:thd-button-sm thd-focus-thick thd-focus-bg",href:a+_.ym,onClick:function(){return C(!1)},style:{"--focus-color-bg":"var(--thd-color-violet-10)"},children:"Sign In"}),!ee&&(0,r.jsx)(N.Z,{buttonOverride:"nav",buttonType:"secondary",className:f()("ml-16"),color:"violet-dark",cta:{link:a+_.kp,copy:"Get Loom For Free"},onClick:function(){return setCloseMenuAndTrackSignUp()},size:"md"}),er&&(0,r.jsx)(N.Z,{buttonOverride:"nav",buttonType:"secondary",className:f()("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"}),eo&&ee&&es]});return(0,r.jsx)("nav",{"aria-label":"primary",className:f()("px-fluid-base 4xl:px-0 my-auto relative z-10",P().bannerHeader),children:(0,r.jsxs)("div",{className:"flex items-center justify-between max-w-screen-3xl mx-auto h-full",children:[(0,r.jsx)("div",{className:"w-[150px]",children:(0,r.jsx)(b.Z,{ariaLabel:"Atlassian Loom Logo",href:"/",children:(0,r.jsx)(AtlassianLoomLogoSvg,{})})}),(0,r.jsx)("div",{className:"w-full flex items-center justify-end",children:o&&!ee?(0,r.jsx)(N.Z,{buttonOverride:"nav",buttonType:"secondary",className:f()("ml-16"),color:"violet-dark",cta:{link:a+_.kp,copy:"Get Loom ".concat(en?"For":""," Free")},onClick:function(){return setCloseMenuAndTrackSignUp()},size:"md"}):(0,r.jsxs)(r.Fragment,{children:[eo&&ea,et&&el,!eo&&(0,r.jsx)(NewMobileNav,{accountNavData:t,navData:n,onFocusNext:function(){K(!1),setTabIndexAndFocus(M===n.length-1?0:M+1)},onFocusPrev:function(){K(!1),setTabIndexAndFocus(0===M?n.length-1:M-1)},user:l})]})})]})})}var z=t(81937);function Banner(e){var n,t=e.bannerContent,o=(0,u._)((0,c.useState)(!1),2),a=o[0],s=o[1],l=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(l.identifier,"true")};return(0,c.useEffect)(function(){s(l&&!window.localStorage.getItem(l.identifier))},[l]),(0,r.jsx)(r.Fragment,{children:a&&(0,r.jsx)("div",{className:"bg-thd-color-violet-90",children:(0,r.jsxs)("div",{className:"thd-container-max relative",children:[(0,r.jsx)("a",{target:l.newTab?"_blank":null,href:l.linkTo,onClick:function(){(0,O.L9)(Z.Zd,{banner:l.identifier}),updateLocalStorage()},children:(0,r.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,r.jsx)("strong",{className:"mr-6",children:l.boldText}),(0,r.jsx)("p",{children:l.text})]})}),(0,r.jsx)("div",{className:"absolute top-10 md:top-16 right-10 md:right-12",children:(0,r.jsx)(z.Z,{onClick:function(e){e.preventDefault(),e.stopPropagation(),updateLocalStorage(),s(!1)},icon:(0,r.jsx)(M.Z,{}),size:"small",iconColor:"white"})})]})})})}function NewHeader(e){var n=e.bannerContent,t=e.navData,o=e.accountNavData,a=e.hideNavItems,s=(0,u._)((0,c.useState)(!0),2),l=s[0],i=s[1];return(0,c.useEffect)(function(){var handleScroll=function(){document.documentElement.scrollTop>0?i(!1):i(!0)};return window.addEventListener("scroll",handleScroll),function(){window.removeEventListener("scroll",handleScroll)}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("a",{className:F().skipLink,href:"#skip-to-content",children:["Skip to\xa0",(0,r.jsx)("span",{className:"text-thd-color-violet-90 underline",children:"content"})]}),(0,r.jsxs)("header",{className:f()(F().header),children:[n&&(0,r.jsx)("div",{className:"hidden xl:block relative z-20",children:(0,r.jsx)(Banner,{bannerContent:n})}),(0,r.jsx)(NewNav,{accountNavData:o,navData:t,hideNavItems:a}),n&&(0,r.jsx)("div",{className:"xl:hidden",children:(0,r.jsx)(Banner,{bannerContent:n})})]}),(0,r.jsx)("div",{className:f()(!l&&F().shadowIsShowing,"thd-shadow-nav")})]})}var q=t(92651);function Layout(e){var n=e.accountNavData,a=e.children,l=e.className,i=e.color,c=e.deiNav,u=e.enterpriseTemplate,d=e.footerOff,f=e.headerOff,h=e.hideNavItems,x=e.noEop,v=e.name,m=e.navData,p=e.footerNavData,C=e.preview,g=e.style,j=e.bannerContent;(0,O.ST)(v);var b=s()(function(){return t.e(5354).then(t.bind(t,23170))},{loadableGenerated:{webpack:function(){return[23170]}},loading:function(){return(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsx)(o.Z,{size:"large"})})}});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{style:g,children:[!f&&(0,r.jsx)(NewHeader,{accountNavData:n,deiNav:c,navData:m,hideNavItems:h,bannerContent:j}),(0,r.jsxs)("main",{className:l,id:"skip-to-content",children:[a,!d&&(0,r.jsx)(b,{color:i,enterpriseTemplate:u,footerNavData:p,noEop:x})]})]}),C&&(0,r.jsx)(q.Z,{})]})}Layout.propTypes={bannerContent:i().array,footerOff:i().bool,headerOff:i().bool,name:i().string.isRequired,preview:i().bool};var G=Layout},30830:function(e,n,t){"use strict";t.d(n,{Z:function(){return ThreadButton}});var r=t(72253),o=t(14932),a=t(47702),s=t(85893),l=t(84224),i=t(93967),c=t.n(i),u=t(45697),d=t.n(u),f=t(65970),h=t(98719),x=t(18613),v=t(92673),m=t(54454);function Button(e){var n=e.align,t=e.buttonOverride,i=e.buttonType,u=e.children,d=e.className,p=e.color,C=e.cta,g=e.icon,j=e.onClick,b=e.size,w=e.iconPosition,k=void 0===w?"left":w,y=e.inline,N=e.tabFocus,Z=e.submit,_=e.themeColor,L=e.themeColorMode,M=(0,a._)(e,["align","buttonOverride","buttonType","children","className","color","cta","icon","onClick","size","iconPosition","inline","tabFocus","submit","themeColor","themeColorMode"]),S={start:"w-content",center:"w-content md:mx-auto","stretch-w-content":"w-full justify-center md:w-content text-center md:text-left",stretch:"w-full justify-center"}[n],A={light:"".concat(_,"-90"),dark:"".concat(_,"-10")}[L],T={"--button-color-bg":(0,v.b)(null!=p?p:"violet-dark").buttonBg,"--button-color-fg":(0,v.b)(null!=p?p:"violet-dark").buttonFg,"--button-color-fr":(0,v.b)(null!=A?A:"violet-dark").buttonFr,"--button-color-ol":(0,v.b)(null!=p?p:"violet-dark").buttonOl,"--button-color-bg-ac":(0,v.b)(null!=p?p:"violet-dark").buttonBgActive,"--button-color-bg-hv":(0,v.b)(null!=p?p:"violet-dark").buttonBgHover,"--button-color-fg-ac":(0,v.b)(null!=p?p:"violet-dark").buttonFgActive,"--button-color-bx-ac":(0,v.b)(null!=p?p:"violet-dark").buttonBxActive,"--button-color-bx-hv":(0,v.b)(null!=p?p:"violet-dark").buttonBxHover},H={primary:"thd-button-primary",secondary:"thd-button-secondary",tertiary:"thd-button-tertiary"}[i],F={nav:"thd-button-nav",nested:"thd-button-nested"}[t],D={sm:"thd-button-sm",md:"thd-button-md",lg:"thd-button-lg",xl:"thd-button-xl",avi:"thd-button-avi"}[b],B={avi:"thd-body-sm",nav:"thd-body-sm",sm:"thd-caption",md:"thd-body-sm",lg:"thd-body-sm",xl:"thd-body-lg"}[b],I=g&&(0,s.jsx)(l.Z,{color:"currentColor",icon:(0,x.q)(g),size:"1.25em"}),V=(0,m.a)("(max-width: 639px)");return(null==C?void 0:C.hideOnMobile)&&V?null:C&&!Z?(0,s.jsxs)(f.Z,(0,o._)((0,r._)({},M),{className:c()(d,F,H,S,!y&&D,B,"flex items-center gap-[1em] whitespace-nowrap"),href:C.link,onClick:j||((null==C?void 0:C.trackEventName)?function(){return(0,h.L9)(null==C?void 0:C.trackEventName,{source:null==C?void 0:C.trackEventSource})}:null),style:T,children:["left"===k&&I,C.copy,"right"===k&&I]})):(0,s.jsxs)("button",{className:c()(d,S,F,H,!y&&D,B,"flex items-center gap-[1em] whitespace-nowrap"),onClick:j,style:T,tabfocus:N,type:Z?"submit":"button",children:["left"===k&&I,null!=u?u:null==C?void 0:C.copy,"right"===k&&I]})}function DownloadLink(e){var n=e.buttonAlign,t=e.downloadText,o=e.themeColor,l=(0,a._)(e,["buttonAlign","downloadText","themeColor"]);return(0,s.jsxs)("div",{className:c()(n,"flex flex-col text-center"),children:[(0,s.jsx)(Button,(0,r._)({},l)),(0,s.jsx)("p",{className:c()((0,v.b)(null!=o?o:"grey-10").bodyText,"relative top-16 thd-caption whitespace-nowrap"),children:null!=t?t:"For Mac, Windows, iOS, and Android"})]})}function ThreadButton(e){var n;if(null==e?void 0:null===(n=e.cta)||void 0===n?void 0:n.downloadToggle){var t,a={start:null,center:"mx-0 md:mx-auto"}[null==e?void 0:e.align];return(0,s.jsx)(DownloadLink,(0,o._)((0,r._)({downloadText:null==e?void 0:null===(t=e.cta)||void 0===t?void 0:t.downloadText,themeColor:null==e?void 0:e.themeColor},e),{buttonAlign:a}))}return(0,s.jsx)(Button,(0,r._)({},e))}ThreadButton.defaultProps={align:"start",color:"violet-dark",size:"lg",buttonType:"primary",inline:!1,iconPosition:"left",type:"button"},ThreadButton.propTypes={align:d().oneOf(["stretch","start","center","stretch-w-content"]),className:d().string,color:d().string.isRequired,cta:d().oneOfType([d().string,d().object,d().func]),icon:d().string,onClick:d().oneOfType([d().object,d().func]),size:d().string.isRequired,buttonType:d().string.isRequired,props:d().object,themeColor:d().string,type:d().string}},1840:function(e,n,t){"use strict";t.d(n,{$v:function(){return v},A0:function(){return l},EK:function(){return g},Fv:function(){return c},QL:function(){return a},QQ:function(){return x},VD:function(){return d},Zd:function(){return j},e$:function(){return C},g7:function(){return i},g8:function(){return p},jN:function(){return h},lJ:function(){return f},r9:function(){return u},sR:function(){return m},sZ:function(){return s},xe:function(){return r},zQ:function(){return o}});var r="Sign Up CTA Click",o="Ad Unit CTA click",a="Access Playbook (Pre-form) CTA Click",s="App Store Click",l="Google Play Click",i="Email Capture Click",c="Contact Sales CTA Click",u="Learn to Loom Grid Card Click",d="Community Loom Video Page Visit",f="Community Loom Collection Page Visit",h="Contact Sales Form Ready",x="Contact Sales Form Submitted",v="Contact Sales Page Visit",m="Experiment eligibility precheck failed",p="Header Menu Hover",C="Header Menu Focus",g="Header Menu Click",j="Banner Click"},4090:function(e,n,t){"use strict";t.d(n,{Z:function(){return SvgMobileDevices}});var r=t(72253),o=t(14932),a=t(85893);function SvgMobileDevices(e){return(0,a.jsx)("svg",(0,o._)((0,r._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,a.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)},18613:function(e,n,t){"use strict";t.d(n,{q:function(){return getIcon}});var r,o=t(85893),a=t(7120),s=t(37638),l=t(49789),i=t(90131),c=t(63516),u=t(83580),d=t(58260),f=t(5274),h=t(33429),x=t(29040),v=t(29693),m=t(34687),p=t(42572),C=t(84915),g=t(84508),j=t(37238),b=t(37015),w=t(94252),k=t(74224),y=t(31541),N=t(93386),Z=t(63934),_=t(77224),L=t(51258),M=t(6331),S=t(18369),A=t(95438),T=t(64058),H=t(29086),F=t(68655),D=t(39274),B=t(37274),I=t(51050),V=t(20540),E=t(87780),O=t(4227),R=t(12889),P=t(48850),z=t(25146),q=t(36959),G=t(82890),U=t(17899),K=t(60068),Q=t(19429),W=t(75234),Y=t(8397),$=t(50766),J=t(37014),X=t(89356),ee=t(4833),en=t(66734),et=t(19592),er=t(58954),eo=t(71346),ea=t(74222),es=t(41879),el=t(80537),ei=t(85984),ec=t(46575),eu=t(35134),ed=t(5088),ef=t(67294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var n=1;n