1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16043],{16043:(e,t,r)=>{"use strict";r.d(t,{A:()=>J});var o=r(86777),n=r(65235),i=r(46001),c=r.n(i),l=r(59643),a=r(14588),s=r(46691),d=r(95550),u=r(35479),p=r(90413),f=r(71426),_=r(40113),h=r(35400),y=r(37614),m=r(26175),b=r(45226),g=r(4540),O=r(67062),v=(0,y.A)("div",{target:"e1w4ozo2"})("display:grid;justify-content:center;align-items:center;grid-auto-flow:column;background-color:",m.Nu.BACKGROUNDS.BG,";gap:",g.E.SPACING_40,";padding:42px 0;"),w=(0,b.AH)("color:",m.Nu.TEXT.TEXT,";",(0,O.Gg)("link-3")," &:hover{border:none;text-decoration:underline;color:",m.Nu.LINKS.LINK_HOVER,";}",""),N=(0,y.A)("a",{target:"e1w4ozo1"})(w," color:",m.Nu.TEXT.TEXT,";"),F=(0,y.A)("div",{target:"e1w4ozo0"})("display:grid;place-items:center;grid-auto-flow:column;gap:2px;color:",m.Nu.TEXT.TEXT,";a{",w," color:",m.Nu.TEXT.TEXT,";}"),Y=r(96782);let k=function(e){var t=e.footerContent,r=e.isInCA,o=e.toggleOneTrustModal,n=t.termsUrl,i=t.termsText,c=t.privacyUrl,l=t.privacyText,a=t.caPrivacyText;return(0,Y.FD)(v,{children:[(0,Y.Y)(d.A,{isFooterSecondaryShort:!0}),(0,Y.Y)("div",{style:{display:"none"},children:(0,Y.Y)(h.P,{})}),(0,Y.FD)(F,{children:[(0,Y.Y)(p.default,{href:n,children:i})," & ",(0,Y.Y)(p.default,{href:c,children:l})]}),r&&(0,Y.Y)(N,{id:"ot-button-show-settings",onClick:o,children:a})]})};var j=r(92284),A=r(97577),T=r(82505),D=r(48372),P=r(72304),E=r(57390),I=r(72651),C=r.n(I),S=r(58550);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let L=function(e){return(0,Y.Y)(S.default,R(R({},e),{},{className:C().appLink}))};var G=["linkHref"];function X(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?X(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function K(e){var t,r,o=e.linkHref,i=(0,D.A)(e,G),c=(0,n.useContext)(a.A).microcopy,s=(0,P.useSearchParams)(),d=U(o)?"iOS":z(o)?"Android":"ERROR";"ERROR"===d&&E.A.warn("Invalid linkHref being used for ToolTipAppLink component");var u="ERROR"!==d?null==c||null==(t=c["footer.app_stores_label"])?void 0:t.replace("%mobile_platform_name%",d):null;return(0,Y.FD)(l.A,{tooltipId:o,association:"label",children:[(0,Y.Y)(L,H(H({},i),{},{href:"".concat(o).concat(z(o)&&(null==(r=s.toString())?void 0:r.length)>0?"&referrer=".concat(s.toString()):""),onClick:function(){return(0,A.yV)({subAction:"download_".concat(d.toLowerCase(),"_app"),location:"footer"})}})),(0,Y.Y)(l.f,{children:null!=u?u:""})]})}var U=function(e){return e.includes("itunes.apple.com")},z=function(e){return e.includes("play.google.com")};function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function J(e){var t=e.footerSize,r=(0,n.useContext)(a.A),o=r.context,i=r.footer;if(void 0===i)return(0,Y.Y)(Y.FK,{});var y=i.termsText,m=i.termsUrl,g=i.privacyText,O=i.privacyUrl,v=i.caPrivacyText,w=i.linkGroups,N=i.appDownloadLinks,F=i.socialLinks,D=(0,n.useContext)(u.A),P=D.footer_navigation_short,E=D.footer_navigation_secondary_short,I=(0,n.use
1State)(!1),C=I[0],S=I[1],x=(0,_.A)(function(){var e;return!!(null!=(e=window)&&null!=(e=e.OneTrust)&&e.getGeolocationData)},1e4),R=function(e){var t;e.stopPropagation(),null==(t=window.OneTrust)||t.ToggleInfoDisplay()},L=(0,j.Ay)().isDesktop,G=!0!==P;return t&&(G="full"===t),(0,n.useEffect)(function(){if(x){var e;S((null==(e=window.OneTrust)||null==(e=e.getGeolocationData())?void 0:e.state)==="CA")}},[x]),(0,Y.FD)("footer",{className:c()("siteFooter",{"-is-mobile-hidden":"guide"===o}),"data-theme":"black",children:[G&&(0,Y.Y)("div",{className:"siteFooter__main__wrapper py-2 py-sm-5",children:(0,Y.Y)("div",{className:"container -wide",children:(0,Y.FD)("div",{className:"siteFooter__row",children:[(0,Y.Y)("div",{className:"siteFooter__logo mb-3 mb-md-0",children:(0,Y.FD)(p.default,{className:"siteFooter__logo-icon",href:"/?noredirect",children:[(0,Y.Y)("span",{className:"sr-only",children:"Asana Home"}),(0,Y.Y)(s.Ay,{icon_notrans:"dots",icon_color_notrans:"white"})]})}),w.map(function(e){return(0,Y.FD)("ul",{className:"siteFooter__list",children:[(0,Y.Y)("li",{className:"siteFooter__title",children:e.title}),e.links.map(function(e){return(0,Y.Y)(n.Fragment,{children:(0,T.PJ)(e)&&(0,Y.Y)("li",{className:"siteFooter__item",children:(0,Y.Y)(p.default,{href:e.href,className:"-white",open_in_tab:e.shouldOpenInNewTab,onClick:function(){return(0,A.yV)({subAction:e.linkId,location:"Global",subLocation:"Footer"})},children:e.text})})},e.linkId)})]},e.listId)})]})})}),L&&E?(0,Y.Y)(k,{footerContent:i,isInCA:C,toggleOneTrustModal:R}):(0,Y.Y)("div",{className:"siteFooter__secondary__wrapper",children:(0,Y.Y)("div",{className:"container -wide",children:(0,Y.Y)("div",{className:"siteFooter__row",children:(0,Y.FD)("div",{className:"siteFooter__secondary__col-wrapper",children:[(0,Y.FD)("div",{className:"siteFooter__secondary__col",children:["\xa9 ",new Date().getFullYear()," Asana, Inc."]}),(0,Y.FD)("div",{className:"siteFooter__secondary__col siteFooter__secondary__col--language-select",children:[(0,Y.Y)(d.A,{}),(0,Y.Y)("div",{style:{display:"none"},children:(0,Y.Y)(h.P,{})})]}),(0,Y.Y)("div",{className:"siteFooter__secondary__col siteFooter__secondary__col--social",children:F&&F.links.map(function(e){return(0,T.Aj)(e)?(0,b.n)(f.A,B(B({},e),{},{key:e.linkId})):(0,Y.Y)(Y.FK,{})})}),(0,Y.Y)("div",{className:"siteFooter__secondary__col siteFooter__secondary__col--terms",children:(0,Y.FD)("div",{className:"terms-and-privacy",children:[(0,Y.FD)(l.A,{tooltipId:m,association:"label",children:[(0,Y.Y)(p.default,{href:m,className:"-white",children:y}),(0,Y.Y)(l.f,{children:y})]}),(0,Y.Y)("span",{children:" & "}),(0,Y.FD)(l.A,{tooltipId:O,association:"label",children:[(0,Y.Y)(p.default,{href:O,className:"-white",children:g}),(0,Y.Y)(l.f,{children:g})]})]})}),C&&(0,Y.Y)("div",{className:"siteFooter__secondary__col",children:(0,Y.Y)("button",{id:"ot-button-show-settings",onClick:R,className:"-white",children:v})}),(0,Y.Y)("div",{className:"siteFooter__secondary__col siteFooter__secondary__col--app-download-links",children:N.links.map(function(e){var t;return(0,T.U8)(e)?(U(t=e.href)||z(t))&&(0,Y.Y)(K,{title:e.title,image:e.image,linkHref:e.href,linkId:e.linkId,openNewTab:e.openNewTab},e.reactKey):null})})]})})})})]})}},72651:e=>{e.exports={appLink:"app-link_appLink__tgJsm"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.