"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),r=t(14778),c=t(81911);const m=({url:e="/",className:a,onClick:t})=>{const{formatMessage:l}=(0,r.useIntl)();return s.createElement("div",{"data-testid":"signup-header",className:n()("signup-header",a)},s.createElement(c.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(r.FormattedMessage,{id:"web.header.back",defaultMessage:"Back"})))}},39392(e,a,t){t.r(a),t.d(a,{default:()=>u});var l=t(71633),n=t.n(l),s=t(36418),r=t(37270),c=t(81911),m=t(26614),o=t(88153),d=t(68716),i=t(81444);const u=({alternateLink:e,backButtonURL:a,onBackButtonClick:t})=>{const{SiteName:l}=(0,r.useSelector)(m.zj),u=(0,r.useSelector)(m.Ay),k=l||"Mattermost";let E=null;"false"===u.IsLicensed?E=s.createElement(s.Fragment,null,s.createElement(d.A,null),s.createElement("span",{className:"freeBadge"},"TEAM EDITION")):u.SkuShortName===i.gS.Entry&&(E=s.createElement(s.Fragment,null,s.createElement(d.A,null),s.createElement("span",{className:"freeBadge"},"ENTRY EDITION")));let h=l;return"Mattermost"===h&&(h=E?"":s.createElement(d.A,null)),s.createElement("div",{"data-testid":"hfroute-header",className:n()("hfroute-header",{"has-free-banner":E,"has-custom-site-name":h})},s.createElement("div",{className:"header-main"},s.createElement("div",null,E&&s.createElement(c.Link,{"data-testid":"header-logo-link",className:"header-logo-link",to:"/","aria-label":k},E),h&&s.createElement(c.Link,{"data-testid":"header-logo-link",className:"header-logo-link",to:"/","aria-label":k},h)),e),t&&s.createElement(o.A,{className:"header-back-button",url:a,onClick:t}))}}}]);
//# sourceMappingURL=9392.5c1149fc2abe77c9553b.js.map