"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[6006],{76006:(e,t,r)=>{r.r(t),r.d(t,{default:()=>k});var n,o,a,s=r(64323),i=r(22742),c=r(48431),l=r.n(c),m=r(54156),p=r.n(m),d=r(21005);class f extends p().PureComponent{componentDidMount(){document.body.classList.add("sticky");const e=document.getElementById("root");e&&e.classList.add("container-fluid")}componentWillUnmount(){document.body.classList.remove("sticky");const e=document.getElementById("root");e&&e.classList.remove("container-fluid")}render(){const e=[];return this.props.config?(this.props.config.AboutLink&&e.push(p().createElement("a",{key:"about_link",id:"about_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.AboutLink},p().createElement(d.FormattedMessage,{id:"web.footer.about"}))),this.props.config.PrivacyPolicyLink&&e.push(p().createElement("a",{key:"privacy_link",id:"privacy_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.PrivacyPolicyLink},p().createElement(d.FormattedMessage,{id:"web.footer.privacy"}))),this.props.config.TermsOfServiceLink&&e.push(p().createElement("a",{key:"terms_link",id:"terms_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.TermsOfServiceLink},p().createElement(d.FormattedMessage,{id:"web.footer.terms"}))),this.props.config.HelpLink&&e.push(p().createElement("a",{key:"help_link",id:"help_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.HelpLink},p().createElement(d.FormattedMessage,{id:"web.footer.help"}))),p().createElement("div",{className:"inner-wrap"},p().createElement("div",{className:"row content"},this.props.children),p().createElement("div",{className:"row footer"},p().createElement("div",{id:"footer_section",className:"footer-pane col-xs-12"},p().createElement("div",{className:"col-xs-12"},p().createElement("span",{id:"company_name",className:"pull-right footer-site-name"},"Mattermost")),p().createElement("div",{className:"col-xs-12"},p().createElement("span",{id:"copyright",className:"pull-right footer-link copyright"},"© 2015-".concat((new Date).getFullYear()," Mattermost, Inc.")),p().createElement("span",{className:"pull-right"},e)))))):null}}n=f,o="propTypes",a={children:l().object,config:l().object},o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a;const k=(0,s.connect)((function(e){return{config:(0,i.iE)(e)}}))(f)}}]);
//# sourceMappingURL=6006.4a87ea90969e36cb1032.js.map