"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[8360],{28360(e,t,a){a.r(t),a.d(t,{default:()=>i}),a(15724);var l=a(36418),o=a(14778),s=a(37270),r=a(26614),n=a(17518);const i=e=>{const t=(0,o.useIntl)(),{formatMessage:a}=t,i=(0,s.useSelector)(r.zj);if((0,l.useEffect)(()=>{document.body.classList.add("sticky");const e=document.getElementById("root");return e&&e.classList.add("container-fluid"),()=>{document.body.classList.remove("sticky");const e=document.getElementById("root");e&&e.classList.remove("container-fluid")}},[]),!i)return null;const c=[];return i.AboutLink&&c.push(l.createElement(n.A,{key:"about_link",id:"about_link",className:"footer-link",location:"header_footer_template",href:i.AboutLink},a({id:"web.footer.about",defaultMessage:"About"}))),i.PrivacyPolicyLink&&c.push(l.createElement(n.A,{key:"privacy_link",id:"privacy_link",className:"footer-link",location:"header_footer_template",href:i.PrivacyPolicyLink},a({id:"web.footer.privacy",defaultMessage:"Privacy Policy"}))),i.TermsOfServiceLink&&c.push(l.createElement(n.A,{key:"terms_link",id:"terms_link",className:"footer-link",location:"header_footer_template",href:i.TermsOfServiceLink},a({id:"web.footer.terms",defaultMessage:"Terms"}))),i.HelpLink&&c.push(l.createElement(n.A,{key:"help_link",id:"help_link",className:"footer-link",location:"header_footer_template",href:i.HelpLink},a({id:"web.footer.help",defaultMessage:"Help"}))),l.createElement("div",{className:"inner-wrap"},l.createElement("div",{className:"row content"},e.children),l.createElement("div",{className:"row footer"},l.createElement("div",{id:"footer_section",className:"footer-pane col-xs-12"},l.createElement("div",{className:"col-xs-12"},l.createElement("span",{id:"company_name",className:"pull-right footer-site-name"},"Mattermost")),l.createElement("div",{className:"col-xs-12"},l.createElement("span",{id:"copyright",className:"pull-right footer-link copyright"},`© 2015-${(new Date).getFullYear()} Mattermost, Inc.`),l.createElement("span",{className:"pull-right"},c)))))}}}]);
//# sourceMappingURL=8360.7f8a69bd2bd09a85e73b.js.map