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