webpackJsonp([21],{1715:function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function n(e,t){return(0,o.default)({},t,{config:(0,s.getConfig)(e)})}Object.defineProperty(t,"__esModule",{value:!0});var l=r(44),o=a(l),i=r(263),s=r(758),c=r(1716),u=a(c);t.default=(0,i.connect)(n)(u.default)},1716:function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(259),l=a(n),o=r(258),i=a(o),s=r(262),c=a(s),u=r(260),f=a(u),d=r(261),p=a(d),m=r(22),k=a(m),h=r(14),g=a(h),y=r(749),_=function(e){function t(){return(0,i.default)(this,t),(0,f.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){document.body.classList.add("sticky"),document.getElementById("root").classList.add("container-fluid")}},{key:"componentWillUnmount",value:function(){document.body.classList.remove("sticky"),document.getElementById("root").classList.remove("container-fluid")}},{key:"render",value:function(){var e=[];return this.props.config.AboutLink&&e.push(g.default.createElement("a",{key:"about_link",id:"about_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.AboutLink},g.default.createElement(y.FormattedMessage,{id:"web.footer.about"}))),this.props.config.PrivacyPolicyLink&&e.push(g.default.createElement("a",{key:"privacy_link",id:"privacy_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.PrivacyPolicyLink},g.default.createElement(y.FormattedMessage,{id:"web.footer.privacy"}))),this.props.config.TermsOfServiceLink&&e.push(g.default.createElement("a",{key:"terms_link",id:"terms_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.TermsOfServiceLink},g.default.createElement(y.FormattedMessage,{id:"web.footer.terms"}))),this.props.config.HelpLink&&e.push(g.default.createElement("a",{key:"help_link",id:"help_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.HelpLink},g.default.createElement(y.FormattedMessage,{id:"web.footer.help"}))),g.default.createElement("div",{className:"inner-wrap"},g.default.createElement("div",{className:"row content"},this.props.children),g.default.createElement("div",{className:"row footer"},g.default.createElement("div",{className:"footer-pane col-xs-12"},g.default.createElement("div",{className:"col-xs-12"},g.default.createElement("span",{className:"pull-right footer-site-name"},"Mattermost")),g.default.createElement("div",{className:"col-xs-12"},g.default.createElement("span",{className:"pull-right footer-link copyright"},"© 2015-"+(new Date).getFullYear()+" Mattermost, Inc."),g.default.createElement("span",{className:"pull-right"},e)))))}}]),t}(g.default.PureComponent);_.propTypes={children:k.default.object,config:k.default.object},t.default=_}});
//# sourceMappingURL=21.cd0daf5e720a1b855603.js.map