"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[9392],{88153:(e,t,a)=>{a.d(t,{A:()=>k});var n=a(62688),l=a.n(n),s=a(71633),c=a.n(s),r=a(97023),o=a.n(r),m=a(14778),i=a(81911);const u=e=>{let{url:t,className:a,onClick:n}=e;const{formatMessage:l}=(0,m.useIntl)();return o().createElement("div",{className:c()("signup-header",a)},o().createElement(i.Link,{"data-testid":"back_button",onClick:n,to:t},o().createElement("span",{id:"back_button_icon",className:"fa fa-1x fa-angle-left",title:l({id:"generic_icons.back",defaultMessage:"Back Icon"})}),o().createElement(m.FormattedMessage,{id:"web.header.back",defaultMessage:"Back"})))};u.propTypes={url:l().string,className:l().string,onClick:l().func},u.defaultProps={url:"/"};const k=u},39392:(e,t,a)=>{a.r(t),a.d(t,{default:()=>f});var n=a(62688),l=a.n(n),s=a(71633),c=a.n(s),r=a(97023),o=a.n(r),m=a(23453),i=a(81911),u=a(26614),k=a(88153),d=a(68716);const b=e=>{let{alternateLink:t,backButtonURL:a,onBackButtonClick:n}=e;const{SiteName:l}=(0,m.useSelector)(u.zj),s=l||"Mattermost";let r=null;"false"===(0,m.useSelector)(u.Ay).IsLicensed&&(r=o().createElement(o().Fragment,null,o().createElement(d.A,null),o().createElement("span",{className:"freeBadge"},"FREE EDITION")));let b=l;return"Mattermost"===b&&(b=r?"":o().createElement(d.A,null)),o().createElement("div",{className:c()("hfroute-header",{"has-free-banner":r,"has-custom-site-name":b})},o().createElement("div",{className:"header-main"},o().createElement("div",null,r&&o().createElement(i.Link,{className:"header-logo-link",to:"/","aria-label":s},r),b&&o().createElement(i.Link,{className:"header-logo-link",to:"/","aria-label":s},b)),t),n&&o().createElement(k.A,{className:"header-back-button",url:a,onClick:n}))};b.propTypes={alternateLink:l().element,backButtonURL:l().string,onBackButtonClick:l().func};const f=b}}]);
//# sourceMappingURL=9392.d8407caae2d57d860ea6.js.map