(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[3],{L9NX:function(e,t,n){"use strict";var r=n("g09b");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("2Taf")),o=r(n("vZ4D")),u=r(n("l4Ni")),c=r(n("ujKo")),i=r(n("MhPg")),s=r(n("q1tI")),l=n("Hg0r"),d=n("Hx5s"),f=(n("ArA+"),n("s4NR"));function p(e,t,n){return t=(0,c.default)(t),(0,u.default)(e,v()?Reflect.construct(t,n||[],(0,c.default)(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}var h=function(e){function t(){var e;(0,a.default)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=p(this,t,[].concat(r)),e.state={isReady:!1},e}return(0,i.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.setState({isReady:!0});this.props.dispatch}},{key:"render",value:function(){var e=this.state.isReady,t=this.props,n=t.children,r=t.loading,a=t.currentUser,o=a&&a.userid;(0,f.stringify)({redirect:window.location.href});return!o&&r||!e?s.default.createElement(d.PageLoading,null):n}}])}(s.default.Component);t.default=(0,l.connect)(function(e){var t=e.user,n=e.loading;return{currentUser:t.currentUser,loading:n.models.user}})(h)}}]);