(window.webpackJsonp=window.webpackJsonp||[]).push([["f496"],{"1TCz":function(e,t,n){"use strict";n.r(t);var r=n("UXZV"),a=n.n(r);function o(){return(o=a.a||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=n("0iUn"),i=n("sLSF"),l=n("MI3g"),c=n("a7VT"),s=n("Tit0"),f=n("q1tI"),p=n.n(f),d=n("8Bbg"),h=n.n(d),m=n("o8Rm"),g=n("pVnL"),v=n.n(g),b=(n("17x9"),n("2W6z"),n("OKji")),y=n("aXM8");var C=function(e){var t=e.children,n=e.theme,r=Object(y.a)(),a=p.a.useMemo(function(){return null===r?n:function(e,t){return"function"==typeof t?t(e):v()({},e,t)}(r,n)},[n,r]);return p.a.createElement(b.a.Provider,{value:a},t)},x=n("R/WZ"),k=Object(x.a)(function(e){return{"@global":{html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},"*, *::before, *::after":{boxSizing:"inherit"},body:v()({margin:0,color:e.palette.text.primary},e.typography.body2,{backgroundColor:e.palette.background.default,"@media print":{backgroundColor:e.palette.common.white}})}}},{name:"MuiCssBaseline"});function w(e){return k(),p.a.createElement(p.a.Fragment,null,e.children)}w.defaultProps={children:null};var O,P=w,j=n("LX0d"),T=n.n(j),M=n("/ceM"),_=n("viY9"),E=n("PRV4");function I(){return O||(O={theme:Object(_.a)(),sheetsManager:new T.a,sheetsRegistry:new M.b,generateClassName:Object(E.a)()}),O}var N=function(e){function t(){var e;return Object(u.default)(this,t),(e=Object(l.default)(this,Object(c.default)(t).call(this))).pageContext=I(),e}return Object(s.default)(t,e),Object(i.default)(t,[{key:"componentDidMount",value:function(){var e=document.querySelector("#jss-server-side");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e=this.props,t=e.Component,n=e.pageProps;return p.a.createElement(d.Container,null,p.a.createElement(m.b,{generateClassName:this.pageContext.generateClassName,sheetsRegistry:this.pageContext.sheetsRegistry,sheetsManager:this.pageContext.sheetsManager},p.a.createElement(C,{theme:this.pageContext.theme},p.a.createElement(P,null),p.a.createElement(t,o({pageContext:this.pageContext},n)))))}}]),t}(h.a);t.default=N},"8Bbg":function(e,t,n){e.exports=n("B5Ud")},B5Ud:function(e,t,n){"use strict";var r=n("KI45"),a=r(n("eVuF")),o=r(n("UXZV")),u=r(n("/HRN")),i=r(n("WaGi")),l=r(n("ZDA2")),c=r(n("/+P4")),s=r(n("N9n2")),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),h=p(n("lgD3")),m=n("Bu4q"),g=n("nOHt"),v=function(e){function t(){return(0,u.default)(this,t),(0,l.default)(this,(0,c.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"getChildContext",value:function(){return{router:g.makePublicRouterInstance(this.props.router)}}},{key:"componentDidCatch",value:function(e){throw e}},{key:"render",value:function(){var e=this.props,t=e.router,n=e.Component,r=e.pageProps,a=C(t);return d.default.createElement(b,null,d.default.createElement(n,(0,o.default)({},r,{url:a})))}}],[{key:"getInitialProps",value:function(e){var t=e.Component,n=(e.router,e.ctx);try{return a.default.resolve(m.loadGetInitialProps(t,n)).then(function(e){return{pageProps:e}})}catch(r){return a.default.reject(r)}}}]),t}(d.Component);v.childContextTypes={router:h.default.object},t.default=v;var b=function(e){function t(){return(0,u.default)(this,t),(0,l.default)(this,(0,c.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.scrollToHash()}},{key:"componentDidUpdate",value:function(){this.scrollToHash()}},{key:"scrollToHash",value:function(){var e=window.location.hash;if(e=!!e&&e.substring(1)){var t=document.getElementById(e);t&&setTimeout(function(){return t.scrollIntoView()},0)}}},{key:"render",value:function(){return this.props.children}}]),t}(d.Component);t.Container=b;var y=m.execOnce(function(){0});function C(e){var t=e.pathname,n=e.asPath,r=e.query;return{get query(){return y(),r},get pathname(){return y(),t},get asPath(){return y(),n},back:function(){y(),e.back()},push:function(t,n){return y(),e.push(t,n)},pushTo:function(t,n){y();var r=n?t:null,a=n||t;return e.push(r,a)},replace:function(t,n){return y(),e.replace(t,n)},replaceTo:function(t,n){y();var r=n?t:null,a=n||t;return e.replace(r,a)}}}t.createUrl=C},GcxT:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){var e=n("1TCz");return{page:e.default||e}}])}},[["GcxT","5d41","9da1"]]]);