(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19419],{8706:function(e,a,t){"use strict";t.r(a);var n=t(17674);t(67294);var o=t(93967),i=t.n(o),r=t(13707),E=t(35944);a.default=function(e){var a=e.src,t=e.src_1x,o=e.src_1x_notrans,d=e.src_2x,T=e.src_2x_notrans,s=e.caption,c=e.mod,l=e.alt,A=e.class_notrans,_=e.no_lazy,R=e.className,N=e.width_notrans,Z=e.style,B=e.onClick,C=Object.assign({},Z),O=(0,r.Z)(),m=(0,n.Z)(O,2),I=m[0],L=m[1],p=!!_||L,u=t||o,K=d||T,v=K||u||a,f=l||"",S=p?u||K?"".concat(u&&u+" 1x"," ").concat(K&&", "+K+" 2x"):v:null,g=p?v:null;return C.opacity=p?null:"0",(0,E.BX)(E.HY,{children:[(0,E.tZ)("img",{ref:I,className:i()(e.class,A,c,R),src:g,srcSet:S,alt:f,width:N||null,style:C,onClick:B}),s&&(0,E.tZ)("p",{className:i()(e.class,"-caption"),children:s}),(0,E.tZ)("noscript",{children:(0,E.tZ)("img",{src:v,alt:f})})]})}},21276:function(e,a,t){"use strict";t.d(a,{Z:function(){return o}}),t(67294);var n=t(35944);function o(){return(0,n.tZ)("div",{className:"modal-loading",children:(0,n.tZ)("div",{className:"loading-indicator",children:(0,n.tZ)("div",{className:"loadingIndicator-dot -large"})})})}},48100:function(e,a,t){"use strict";t.d(a,{Z:function(){return C}});var n=t(59499),o=t(90116),i=t(67294),r=t(9008),E=t.n(r),d=t(11163),T=t(35005),s=t(45363),c=t(40130),l=t.n(c),A=t(54401),_=t(54614),R=t(4181),N=t(27001),Z=t(35944);function B(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function C(){var e=(0,d.useRouter)(),a=(0,i.useContext)(A.Z),t=(0,i.useContext)(_.Z),n=t.siteName||"Asana",r=(null===(m=t.meta)||void 0===m?void 0:m.title)||t.title,s=t.pageNumber&&1!==t.pageNumber?"".concat(a.microcopy["resources.pagination.page"]," ").concat(t.pageNumber):"",c=t.seo_title||r,B=t.socialTitle,C=RegExp("\\[\\d{4}\\]");if("resourceArticle"===t._template||"templateTemplatesPage"===t._template){var m,I,L,p,u,K,v,f,S,g,D,G,h,F,b=new Date(t.pageTemplate.publishDate||t.pageTemplate.resourceCard.publishDateRaw).getUTCFullYear();isNaN(b)||C.test(c)||(c+=" [".concat(b,"]")),!isNaN(b)&&B&&(B+=" [".concat(b,"]"))}var P=[c,t.title_addon,s,n].filter(function(e){return!!e}).join(" • "),y=(0,T.Tc)(null!==(I=null!==(L=null===(p=t.meta)||void 0===p?void 0:p.description)&&void 0!==L?L:t.description)&&void 0!==I?I:a.global_site_description);B=B||P;var H=t.socialDescription||y,w="https://asana.com".concat((0,R.prependLanguagePath)(e.locale,e.asPath)),Y=!0===a.isEnglishFallback?"https://asana.com".concat((0,R.prependLanguagePath)(N.DEFAULT_LANGUAGE,e.asPath)):(0,R.cleanPath)((null===(u=t.meta)||void 0===u?void 0:u.canonical)||t.canonical||w),M=t.share_url||w,U=(null===(K=t.meta)||void 0===K?void 0:K.share_image)||t.share_image||a.global_site_share_image,z=e.asPath.split("/").slice(1);return(0,Z.BX)(E(),{children:[(0,Z.tZ)("meta",{charSet:"utf-8"}),(0,Z.tZ)("title",{children:(0,T.Tc)(P)}),(0,Z.tZ)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge,chrome=1"}),((null===(v=t.meta)||void 0===v?void 0:v.noIndex)||(null===(f=t.meta)||void 0===f?void 0:f.noFollow)||t.norobots||t._is_hidden)&&(0,Z.tZ)("meta",{name:"ROBOTS",content:"NOINDEX,NOFOLLOW"}),t.structuredData&&(0,Z.tZ)("script",{type:"application/ld+json",children:JSON.stringify(t.structuredData)}),(0,Z.tZ)("meta",{name:"zd-site-verification",content:"oywgyiggh7v8kawrvgcr"}),(0,Z.tZ)("meta",{name:"yandex-verification",content:"e3482b364e00d0a0"}),(0,Z.tZ)("meta",{name:"naver-site-verification",content:"5c6fd36e7d95d9f0d1ecb0ca29f9834d56b3cec3"}),(0,Z.tZ)("meta",{itemProp:"name",content:P}),(0,Z.tZ)("meta",{property:"og:title",content:B}),(0,Z.tZ)("meta",{name:"twitter:title",content:B}),(0,Z.tZ)("link",{rel:"canonical",href:Y}),(0,Z.tZ)("link",{itemProp:"url",href:M}),(0,Z.tZ)("meta",{property:"og:url",content:M}),(0,Z.tZ)("meta",{name:"twitter:url",content:M}),(0,Z.tZ)("meta",{name:"description",content:y}),(0,Z.tZ)("meta",{itemProp:"description",content:y}),(0,Z.tZ)("meta",{name:"twitter:description",content:H}),(0,Z.tZ)("meta",{property:"og:description",content:H}),(null===(S=t.meta)||void 0===S?void 0:S.seoKeywords)&&(0,Z.tZ)("meta",{name:"keywords",content:t.meta.seoKeywords}),(0,Z.tZ)("meta",{property:"author",content:"Asana"}),(0,Z.tZ)("meta",{property:"og:site_name",content:n}),(0,Z.tZ)("meta",{property:"fb:app_id",content:a.global_site_fb_app_id}),(0,Z.tZ)("meta",{name:"twitter:site",content:"@asana"}),(0,Z.tZ)("meta",{name:"twitter:creator",content:"@asana"}),(0,Z.tZ)("meta",{name:"theme-color",content:"#2e3c54"}),(0,Z.tZ)("meta",{name:"msapplication-navbutton-color",content:"#2e3c54"}),(0,Z.tZ)("meta",{itemProp:"image",content:U}),(0,Z.tZ)("meta",{property:"og:image",content:U}),(0,Z.tZ)("meta",{name:"twitter:image",content:U}),(0,Z.tZ)("meta",{name:"twitter:image:src",content:U}),(0,Z.tZ)("link",{itemProp:"thumbnailUrl",href:U}),t.breadcrumbs&&(0,Z.tZ)(O,{data:t.breadcrumbs}),t.share_app?(0,Z.BX)(Z.HY,{children:[(0,Z.tZ)("meta",{name:"twitter:card",content:"app"}),(0,Z.tZ)("meta",{name:"twitter:app:name:iphone",content:(0,T.Tc)(a.global_meta_desc)}),(0,Z.tZ)("meta",{name:"twitter:app:id:iphone",content:"489969512"}),(0,Z.tZ)("meta",{name:"twitter:app:name:ipad",content:(0,T.Tc)(a.global_meta_desc)}),(0,Z.tZ)("meta",{name:"twitter:app:id:ipad",content:"489969512"}),(0,Z.tZ)("meta",{name:"twitter:app:name:googleplay",content:(0,T.Tc)(a.global_meta_title)}),(0,Z.tZ)("meta",{name:"twitter:app:id:googleplay",content:"com.asana.app"}),(0,Z.tZ)("meta",{property:"al:ios:app_store_id",content:"489969512"}),(0,Z.tZ)("meta",{property:"al:ios:app_name",content:(0,T.Tc)(a.global_meta_desc)}),(0,Z.tZ)("meta",{property:"al:android:app_name",content:(0,T.Tc)(a.global_meta_title)}),(0,Z.tZ)("meta",{property:"al:android:package",content:"com.asana.app"}),(0,Z.tZ)("meta",{itemProp:"screenshot",content:"http://a5.mzstatic.com/us/r30/Purple3/v4/f9/19/5e/f9195e1d-504e-9777-514d-8de51ec87e15/screen568x568.jpeg"}),(0,Z.tZ)("meta",{itemProp:"screenshot",content:"http://a3.mzstatic.com/us/r30/Purple4/v4/52/93/49/529349dc-61de-6232-ca64-5d543fa8b8d4/screen568x568.jpeg"}),(0,Z.tZ)("meta",{itemProp:"downloadUrl",content:"https://play.google.com/store/apps/details?id=com.asana.app"}),(0,Z.tZ)("meta",{itemProp:"applicationCategory",content:"Task Management"}),(0,Z.tZ)("meta",{itemProp:"applicationCategory",content:"Productivity"}),(0,Z.tZ)("meta",{itemProp:"operatingSystem",content:"Android 2.2+, iOS6+"}),(0,Z.tZ)("meta",{itemProp:"device",content:"Android, iOS"})]}):t.share_video?(0,Z.BX)(Z.HY,{children:[(0,Z.tZ)("meta",{property:"og:type",content:"video.movie"}),(0,Z.tZ)("meta",{name:"twitter:card",content:"player"}),(0,Z.tZ)("meta",{name:"twitter:player",content:t.player}),(0,Z.tZ)("link",{itemProp:"embedURL",href:t.player}),(0,Z.tZ)("meta",{property:"og:video",content:"http:".concat(t.share_video)}),(0,Z.tZ)("meta",{property:"og:video:secure_url",content:"https:".concat(t.share_video)}),(0,Z.tZ)("meta",{property:"og:video:type",content:"application/x-shockwave-flash"}),(0,Z.tZ)("meta",{itemProp:"playerType",content:"Flash"}),(0,Z.tZ)("meta",{property:"og:video:width",content:"640"}),(0,Z.tZ)("meta",{property:"og:video:height",content:"360"}),(0,Z.tZ)("meta",{itemProp:"width",content:"640"}),(0,Z.tZ)("meta",{itemProp:"height",content:"360"}),(0,Z.tZ)("meta",{name:"twitter:player:width",content:"435"}),(0,Z.tZ)("meta",{name:"twitter:player:height",content:"245"})]}):(0,Z.BX)(Z.HY,{children:[(0,Z.tZ)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,Z.tZ)("meta",{property:"og:type",content:"article"})]}),"asanapedia"===z[0]?l().dev_environment_favicons_notrans.map(function(e,a){return(0,Z.tZ)("link",{rel:e.rel,sizes:e.sizes,type:"image/png",href:e.href},a)}):(0,Z.BX)(Z.HY,{children:[l().prod_environment_favicons_notrans.map(function(e,a){return(0,Z.tZ)("link",{rel:e.rel,sizes:e.sizes,type:"image/png",href:e.href},a)}),(0,Z.tZ)("link",{rel:"shortcut icon",href:l().shortcut_icon_notrans})]}),(0,Z.tZ)("meta",{name:"apple-itunes-app",content:"app-id=489969512"}),(0,Z.tZ)("meta",{name:"twitter:app:name:iphone",content:(0,T.Tc)(a.global_meta_desc)}),(0,Z.tZ)("meta",{name:"twitter:app:id:iphone",content:"489969512"}),(0,Z.tZ)("meta",{name:"twitter:app:name:ipad",content:(0,T.Tc)(a.global_meta_desc)}),(0,Z.tZ)("meta",{name:"twitter:app:id:ipad",content:"489969512"}),(0,Z.tZ)("meta",{name:"twitter:app:name:googleplay",content:a.global_meta_title}),(0,Z.tZ)("meta",{name:"twitter:app:id:googleplay",content:"com.asana.app"}),(0,Z.tZ)("meta",{name:"google-site-verification",content:"DxotoqlMTfSRrxiKGMd-XA44xVkuFK-hBE6Fb1s_sos"}),(0,Z.tZ)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),O({data:{"@context":"http://schema.org","@type":"Organization",url:"https://asana.com",logo:"https://assets.asana.biz/m/5f083bc48e06e1e2/original/asana-logo-1200x1200.png",sameAs:["http://facebook.com/asana","http://www.twitter.com/asana","http://instagram.com/teamasana","https://www.linkedin.com/company/asana","https://www.youtube.com/user/AsanaTeam"]}}),O({data:{"@context":"http://schema.org","@type":"WebSite",name:n,url:"https://asana.com"}}),"resourceArticle"===t._template&&O({data:{"@context":"http://schema.org","@id":M,"@type":"NewsArticle",headline:(0,T.Tc)(P),image:"https://assets.asana.biz/m/5f083bc48e06e1e2/original/asana-logo-1200x1200.png",datePublished:"".concat((null===(g=t.pageTemplate)||void 0===g||null===(g=g.resourceCard)||void 0===g?void 0:g.publishDateRaw)||"","T11:00:00+0000"),dateModified:"".concat((null===(D=t.pageTemplate)||void 0===D||null===(D=D.resourceCard)||void 0===D?void 0:D.publishDateRaw)||"","T11:00:00+0000"),author:{"@type":"Person",name:(null===(G=t.pageTemplate)||void 0===G||null===(G=G.resourceCard)||void 0===G||null===(G=G.contributor)||void 0===G?void 0:G.fullName)||"",url:"https://asana.com"},publisher:{"@type":"Organization",name:"Asana",url:"https://asana.com",logo:{"@type":"ImageObject",url:"https://assets.asana.biz/m/5f083bc48e06e1e2/original/asana-logo-1200x1200.png",width:1200,height:1200},sameAs:["https://www.facebook.com/asana/","https://www.linkedin.com/company/asana/","https://twitter.com/asana"].concat((0,o.Z)(null!==(h=null==t||null===(F=t.meta)||void 0===F?void 0:F.sameAs)&&void 0!==h?h:[]))}}})]})}function O(e){var a=e.data;return(0,Z.tZ)("script",function(e){for(var a=1;a0&&t.height>0}):[];0!==e.length&&(i.current=e[0],r.current=e[e.length-1],i.current&&i.current.focus())};return(0,o.useEffect)(function(){var e=function(e){e.shiftKey?document.activeElement===i.current&&(e.preventDefault(),r.current.focus()):document.activeElement===r.current&&(e.preventDefault(),i.current.focus())},a=function(a){"Escape"===a.key&&(a.preventDefault(),t.onClose(),window.location.hash="#close"),"Tab"===a.key&&e(a)},o=function(e){var a;null!==(a=n.current)&&void 0!==a&&a.contains(e.target)||(t.onClose(),window.location.hash="#close")};return window.addEventListener("click",o),window.addEventListener("keydown",a),s(),function(){window.removeEventListener("click",o),window.removeEventListener("keydown",a)}},[]),(0,d.BX)("div",{id:t.modal_id_notrans,className:"modal -".concat(t.modal_class_notrans," -active"),tabindex_origin:t.tabindex_origin,children:[(0,d.tZ)("a",{"data-modal-close":!0,href:"#close",className:"modal-logo",children:(0,d.tZ)("span",{className:"sr-only",children:"Close Modal"})}),(0,d.tZ)("a",{"data-modal-close":!0,href:"#close",className:"modal-close modal-close-background",children:(0,d.tZ)("span",{className:"sr-only",children:"Close Modal"})}),(0,d.BX)("div",{className:"modal-container",ref:n,children:[(0,d.tZ)("a",{"data-modal-close":!0,href:"#close",className:"modal-close icon icon--x js-modal-close",onClick:t.onClose,children:(0,d.tZ)("span",{className:"sr-only",children:"Close modal"})}),a]})]})}var c=t(35005),l=["children"];function A(e){var a=e.children,t=(0,E.Z)(e,l);return(0,d.BX)(d.HY,{children:[t.modal_img_src&&(0,d.tZ)("div",{className:"modal-img",children:(0,d.tZ)("img",{alt:"",src:t.modal_img_src})}),t.modal_title&&(0,d.tZ)("h3",{className:"modal-header",children:(0,d.tZ)(c.ZP,{html:t.modal_title})}),(0,d.BX)("div",{className:"modal-content",children:[t.modal_content&&(0,d.tZ)("p",{children:(0,d.tZ)(c.ZP,{html:t.modal_content})}),a]})]})}var _=t(8706),R=t(93925),N=t(77749),Z=t(88611),B=["children"],C="signup-modal-recaptcha-container";function O(e){var a=e.children,t=(0,E.Z)(e,B),n=(0,o.useContext)(i.Z),r=(0,o.useRef)(!0),T=(0,o.useRef)(null),s=(0,o.useState)(!1),l=s[0],A=s[1],O=(0,o.useState)(!1),m=O[0],I=O[1],L=(0,o.useState)(window.AsanaHelpers.currentModal),p=L[0],u=L[1];(0,o.useEffect)(function(){var e=function(e){u(e.detail.currentModal)};return window.addEventListener("currentModalChanged",e),function(){window.removeEventListener("currentModalChanged",e)}},[]);var K=(0,o.useRef)(null);(0,o.useEffect)(function(){if("undefined"!=typeof document){var e=document.querySelector(".signupForm.-modal-signup");e&&(K.current=e)}});var v=(0,R.Z)({formRef:K,formSubmissionAttempted:r,options:{},onSubmitStart:function(){}}).submitWithRecaptcha;return(0,o.useEffect)(function(){var e=window.AsanaHelpers.signupPreventedCallbacks.invalidRecaptchaErrorCallback;return window.AsanaHelpers.signupPreventedCallbacks.invalidRecaptchaErrorCallback=function(){A(!0),r.current&&(window.grecaptcha?window.grecaptcha.enterprise.ready(function(){null!==T.current?window.grecaptcha.enterprise.reset(T.current):T.current=window.grecaptcha.enterprise.render(C,{action:"signup",sitekey:Z.J,size:"normal",callback:function(e){window.AsanaHelpers.signupWithEmail(K.current,{recaptchaToken:e}),A(!1)}})}):I(!0))},function(){window.AsanaHelpers.signupPreventedCallbacks.invalidRecaptchaErrorCallback=e,window.AsanaHelpers.currentModal=null}},[K.current,r,p]),(0,d.BX)(d.HY,{children:[(0,d.BX)("div",{className:"signup-modal",children:[t.modal_img_src&&(0,d.tZ)("div",{className:"modal-img",children:(0,d.tZ)(_.default,{src:t.modal_img_src})}),t.modal_title&&(0,d.tZ)("h3",{className:"modal-header",children:(0,d.tZ)(c.ZP,{html:t.modal_title})}),(0,d.BX)("div",{className:"modal-content",children:[t.modal_content&&(0,d.tZ)("p",{children:(0,d.tZ)(c.ZP,{html:t.modal_content})}),a]})]}),(0,d.tZ)("div",{className:"premium-reminder-modal-overlay",children:(0,d.BX)("aside",{className:"premium-reminder-modal",children:[t.premium_reminder_label&&(0,d.tZ)("h3",{className:"premium-reminder-label",children:t.premium_reminder_label}),t.premium_reminder_title&&(0,d.tZ)("p",{className:"premium-reminder-title",children:t.premium_reminder_title}),t.premium_reminder_image_src&&(0,d.tZ)("section",{className:"premium-reminder-image-container",children:(0,d.tZ)(_.default,{src:t.premium_reminder_image_src})}),t.premium_reminder_premium_cta&&(0,d.BX)("div",{className:"premium-reminder-cta-container",children:[(0,d.BX)("button",{className:"button -large -border signupForm-submit -basic",onClick:function(e){AsanaHelpers.tier.setTierFree(),AsanaHelpers.recordTrialIntent(),r.current=!0,v(),AsanaSignupUtils.signupButtons.request(e.target)},children:[(0,d.tZ)("span",{className:"signupForm-submit-icon",children:(0,d.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:(0,d.tZ)("circle",{cx:"8",cy:"8",r:"7.5"})})}),(0,d.BX)("span",{className:"signupForm-submit-text",children:[(0,d.tZ)("span",{children:t.premium_reminder_premium_cta}),(0,d.tZ)("span",{className:"signupForm-premium-progress-text",children:t.global_CTAsignupProgress})]})]}),(0,d.BX)("a",{className:"button -large premium-reminder-basic-button signupForm-submit -basic js-signup-button",href:"#",onClick:function(e){e.preventDefault(),AsanaHelpers.enterFreeSignupFlow(),r.current=!0,v(),AsanaSignupUtils.signupButtons.request(e.target)},children:[(0,d.tZ)("span",{className:"signupForm-submit-icon",children:(0,d.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:(0,d.tZ)("circle",{cx:"8",cy:"8",r:"7.5"})})}),(0,d.BX)("span",{className:"signupForm-submit-text",children:[(0,d.tZ)("span",{children:t.premium_reminder_basic_cta}),(0,d.tZ)("span",{children:t.global_CTAsignupProgress})]})]}),l&&(0,d.tZ)("span",{className:"input-message input-message--error",children:(0,d.tZ)(c.ZP,{html:n.microcopy.signup_recaptcha_error_message})}),r.current&&m&&(0,d.tZ)("span",{className:"input-message input-message--error",children:(0,d.tZ)(c.ZP,{html:n.microcopy.signup_recaptcha_not_yet_loaded})})]}),(0,d.tZ)(N.e,{recaptchaContainerId:C})]})})]})}var m=["children"];function I(e){e.children;var a,t=(0,E.Z)(e,m),n=(null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data)||{},o=t.modal_title,i=t.modal_content;return n.rate_limit_exceeded&&t.modal_error_rate_limit_exceeded.modal_title&&t.modal_error_rate_limit_exceeded.modal_content?(o=t.modal_error_rate_limit_exceeded.modal_title,i=t.modal_error_rate_limit_exceeded.modal_content):n.is_invalid_email_domain_provider&&t.modal_error_invalid_email_domain_provider.modal_title&&t.modal_error_invalid_email_domain_provider.modal_content&&(o=t.modal_error_invalid_email_domain_provider.modal_title,i=t.modal_error_invalid_email_domain_provider.modal_content),(0,d.BX)(d.HY,{children:[o&&(0,d.tZ)("h3",{className:"modal-header",children:(0,d.tZ)(c.ZP,{html:o})}),(0,d.tZ)("div",{className:"modal-content",children:i&&(0,d.tZ)("p",{children:(0,d.tZ)(c.ZP,{html:i})})})]})}var L=t(18781),p=t(80991),u=t(73033),K=t(21276),v=t(51919),f=t(55319),S=t(74883),g=(0,f.Z)("div",{target:"ewcf3qs1"})("display:flex;flex-flow:row nowrap;gap:",S.N.SPACING_16,";padding-bottom:",S.N.SPACING_16,";"),D=(0,f.Z)("div",{target:"ewcf3qs0"})({name:"1yc9uo8",styles:"overflow-wrap:break-word"});t(54614);var G=function(e){var a,t=(0,o.useState)(!1),n=t[0],i=t[1],r=null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data.user_email;return(0,d.BX)(D,{children:[(0,d.tZ)("h4",{children:"".concat(r," is already associated with an Asana account")}),(0,d.tZ)("p",{children:"Do you want to use this account to connect to the Align plan?"}),(0,d.tZ)("ul",{children:["Your account will become HIPAA compliant","You'll get real-time data from Align via an integration","Any existing data won't be moved or lost"].map(function(e,a){return(0,d.tZ)("li",{children:e},a)})}),(0,d.BX)("p",{children:["If you have any questions,"," ",(0,d.tZ)("a",{href:"https://form.jotform.com/220864619371056",target:"_blank",children:"contact support"}),"."]}),(0,d.BX)(g,{children:[(0,d.tZ)(v.default,{isButton:!0,isSecondary:!0,onClick:e.onClose,disabled:n,text:"Cancel",as:"a"}),(0,d.tZ)(v.default,{id:"align-self-serve__use-this-account",isButton:!0,isSecondary:!1,onClick:function(e){e.preventDefault(),e.stopPropagation(),i(!0);var a,t=null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data.user_email,n=AsanaHelpers.getOrCreateXsrfToken();window.location=AsanaHelpers.appUrl("/-/domain_channel_signup?email=".concat(encodeURIComponent(t),"&channel=align&xsrf_token=").concat(n))},disabled:n,text:"Use this account",as:"a"})]})]})},h=function(e){var a,t=null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data.user_email;return(0,d.BX)(D,{children:[(0,d.tZ)("h4",{children:"".concat(t," is already associated with an Asana account")}),(0,d.tZ)("p",{children:"If you want to use this account to connect to the Align plan, you will need to contact Align support to have this account migrated."}),(0,d.BX)(g,{children:[(0,d.tZ)(v.default,{isButton:!0,isSecondary:!0,onClick:e.onClose,text:"Cancel",as:"a"}),(0,d.tZ)(v.default,{isButton:!0,isSecondary:!1,href:"https://form.jotform.com/220864619371056",text:"Contact support",target:"_blank"})]})]})},F=function(e){var a,t=null===(a=window.AsanaHelpers.currentModal)||void 0===a?void 0:a.data.user_email;return(0,d.BX)(D,{children:[(0,d.tZ)("h4",{children:"".concat(t," is associated with an existing domain already set up in Asana.")}),(0,d.tZ)("p",{children:"If you want to use this email to signup, you will need to contact support to have the domain migrated over. Our support team will guide you through the steps to make this happen."}),(0,d.BX)(g,{children:[(0,d.tZ)(v.default,{isButton:!0,isSecondary:!0,onClick:e.onClose,text:"Cancel",as:"a"}),(0,d.tZ)(v.default,{isButton:!0,isSecondary:!1,href:"https://form.jotform.com/220864619371056",text:"Contact support",target:"_blank"})]})]})},b=function(e){return(0,d.BX)(D,{children:[(0,d.tZ)("h4",{children:"We encountered an error"}),(0,d.tZ)("p",{children:"Please contact support."}),(0,d.BX)(g,{children:[(0,d.tZ)(v.default,{isButton:!0,isSecondary:!0,onClick:e.onClose,text:"Cancel",as:"a"}),(0,d.tZ)(v.default,{isButton:!0,isSecondary:!1,href:"/support",text:"Contact support",target:"_blank"})]})]})},P=t(50390);function y(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function H(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:"60% 0px",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,1],t=(0,o.useState)(!1),r=t[0],E=t[1];(0,o.useDebugValue)(r);var d=(0,i.Z)(e,a),T=(0,n.Z)(d,3),s=T[0],c=T[1],l=T[2];return(0,o.useEffect)(function(){c&&(E(!0),l())},[c]),[s,r,l]}},85525:function(e,a,t){"use strict";t.d(a,{Z:function(){return o}});var n=t(67294);function o(e){var a=(0,n.useState)(null),t=a[0],o=a[1];return(0,n.useDebugValue)(t),(0,n.useEffect)(function(){window&&e&&(window._wq=window._wq||[],window._wq.push({id:e,onReady:function(e){o(e)}}))},[]),t}},12147:function(e,a,t){"use strict";t.d(a,{X:function(){return o}});var n=JSON.parse('{"css/asana-guide.css":"css/asana-guide-0e656d5a58.css","css/ebook.css":"css/ebook-04f126e73a.css","css/global.css":"css/global-3c687af5e3.css","css/marketing.css":"css/marketing-a9fe1e3068.css","css/reskin.css":"css/reskin-595d937ff2.css","css/storybook-base.css":"css/storybook-base-2b3a76c67c.css","css/styleguide.css":"css/styleguide-7ee8aa907d.css","js/first-party-apis/analytics.js":"js/first-party-apis/analytics-3f72257451.js","js/first-party-apis/app-user-info.js":"js/first-party-apis/app-user-info-7779f8109a.js","js/first-party-apis/signup.js":"js/first-party-apis/signup-e23c955a93.js","js/first-party-apis/storage.js":"js/first-party-apis/storage-a57763ea54.js","js/global.js":"js/global-0211707cff.js"}');function o(e){return e in n?"/assets/dist/hashed/".concat(n[e]):"/assets/dist/".concat(e)}},28580:function(e,a,t){"use strict";t.d(a,{l:function(){return O},Z:function(){return m}});var n=t(17674),o=t(59499),i=t(11163),r=t(67294),E=t(44360),d=t(85525),T=t(36664);function s(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function c(e){for(var a=1;a