(window.webpackJsonp=window.webpackJsonp||[]).push([["a8ec"],{BX3z:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),u=n("/MKj"),i=n("Ol7k"),s=n("6dKc"),a=(n("WIwn"),n("sN95")),c=n("3NBp");n("o9iy");function l(e){return(l="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 p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return!t||"object"!==l(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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=f(this,y(t).call(this,e))).state={user:null},n}var n,u,l;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&&d(e,t)}(t,r["Component"]),n=t,(u=[{key:"componentDidMount",value:function(){this.props&&"string"==typeof this.props.user&&this.setState({user:JSON.parse(this.props.user)})}},{key:"componentDidUpdate",value:function(e){e.user!==this.props.user&&this.setState({user:JSON.parse(this.props.user)})}},{key:"render",value:function(){return o.a.createElement(o.a.Fragment,null,o.a.createElement(s.a,{title:null!==this.state.user?this.state.user.firstname+" "+this.state.user.lastname:"Muscle Feed | Administrateur",description:"Boutique en ligne de compléments alimentaires et de protéines pour la musculation à prix cassé. Le meilleur de la construction musculaire : proteines, gainer, bcaa, bruleur de graisses, booster."}),o.a.createElement(i.a,null,o.a.createElement(a.a,null),o.a.createElement(c.a,{user:JSON.stringify(this.state.user)})))}}])&&p(n.prototype,u),l&&p(n,l),t}();var m=Object(u.b)(function(e){var t=e.authenticationReducer;return{user:t.user,logged:t.logged}})(b);t.default=m},e9Nx:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin-products",function(){var e=n("BX3z");return{page:e.default||e}}])}},[["e9Nx","5d41","9da1","ad9d"]]]);