(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{1904:function(e,t,n){"use strict";n.r(t);var o=n(154),r=n(35),a=(n(10),n(9),n(8)),i=n.n(a),c=n(17),l=n.n(c),s=n(554);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b,d,h,k=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,m(t).apply(this,arguments))}var n,o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,l.a.PureComponent),n=t,(o=[{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(l.a.createElement("a",{key:"about_link",id:"about_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.AboutLink},l.a.createElement(s.c,{id:"web.footer.about"}))),this.props.config.PrivacyPolicyLink&&e.push(l.a.createElement("a",{key:"privacy_link",id:"privacy_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.PrivacyPolicyLink},l.a.createElement(s.c,{id:"web.footer.privacy"}))),this.props.config.TermsOfServiceLink&&e.push(l.a.createElement("a",{key:"terms_link",id:"terms_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.TermsOfServiceLink},l.a.createElement(s.c,{id:"web.footer.terms"}))),this.props.config.HelpLink&&e.push(l.a.createElement("a",{key:"help_link",id:"help_link",className:"footer-link",target:"_blank",rel:"noopener noreferrer",href:this.props.config.HelpLink},l.a.createElement(s.c,{id:"web.footer.help"}))),l.a.createElement("div",{className:"inner-wrap"},l.a.createElement("div",{className:"row content"},this.props.children),l.a.createElement("div",{className:"row footer"},l.a.createElement("div",{id:"footer_section",className:"footer-pane col-xs-12"},l.a.createElement("div",{className:"col-xs-12"},l.a.createElement("span",{id:"company_name",className:"pull-right footer-site-name"},"Mattermost")),l.a.createElement("div",{className:"col-xs-12"},l.a.createElement("span",{id:"copyright",className:"pull-right footer-link copyright"},"© 2015-".concat((new Date).getFullYear()," Mattermost, Inc.")),l.a.createElement("span",{className:"pull-right"},e)))))}}])&&f(n.prototype,o),r&&f(n,r),t}();b=k,d="propTypes",h={children:i.a.object,config:i.a.object},d in b?Object.defineProperty(b,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):b[d]=h;t.default=Object(o.connect)(function(e){return{config:Object(r.getConfig)(e)}})(k)}}]);
//# sourceMappingURL=28.e56a894c884a76f654e8.js.map