(this["webpackJsonpallnet-app"]=this["webpackJsonpallnet-app"]||[]).push([[22],{127:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var r=n(51),o=n(71),u=n(184),a=n.n(u),c=n(1),i=n.n(c),s=n(260),d=n(83),f=n(70),l=n(21),p=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],b=["reactReduxForwardedRef"],m=[],v=[null,null];function O(e,t){var n=e[1];return[t.payload,n+1]}function j(e,t,n){Object(f.a)((function(){return e.apply(void 0,t)}),n)}function h(e,t,n,r,o,u,a){e.current=r,t.current=o,n.current=!1,u.current&&(u.current=null,a())}function y(e,t,n,r,o,u,a,c,i,s){if(e){var d=!1,f=null,l=function(){if(!d){var e,n,l=t.getState();try{e=r(l,o.current)}catch(p){n=p,f=p}n||(f=null),e===u.current?a.current||i():(u.current=e,c.current=e,a.current=!0,s({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=l,n.trySubscribe(),l();return function(){if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var C=function(){return[null,0]};function S(e,t){void 0===t&&(t={});var n=t,u=n.getDisplayName,f=void 0===u?function(e){return"ConnectAdvanced("+e+")"}:u,S=n.methodName,R=void 0===S?"connectAdvanced":S,g=n.renderCountProp,N=void 0===g?void 0:g,w=n.shouldHandleStateChanges,x=void 0===w||w,M=n.storeKey,E=void 0===M?"store":M,P=(n.withRef,n.forwardRef),B=void 0!==P&&P,D=n.context,A=void 0===D?l.a:D,F=Object(o.a)(n,p),H=A;return function(t){var n=t.displayName||t.name||"Component",u=f(n),l=Object(r.a)({},F,{getDisplayName:f,methodName:R,renderCountProp:N,shouldHandleStateChanges:x,storeKey:E,displayName:u,wrappedComponentName:n,WrappedComponent:t}),p=F.pure;var S=p?c.useMemo:function(e){return e()};function g(n){var u=Object(c.useMemo)((function(){var e=n.reactReduxForwardedRef,t=Object(o.a)(n,b);return[n.context,e,t]}),[n]),a=u[0],f=u[1],p=u[2],R=Object(c.useMemo)((function(){return a&&a.Consumer&&Object(s.isContextConsumer)(i.a.createElement(a.Consumer,null))?a:H}),[a,H]),g=Object(c.useContext)(R),N=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(g)&&Boolean(g.store);var w=N?n.store:g.store,M=Object(c.useMemo)((function(){return function(t){return e(t.dispatch,l)}(w)}),[w]),E=Object(c.useMemo)((function(){if(!x)return v;var e=Object(d.a)(w,N?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[w,N,g]),P=E[0],B=E[1],D=Object(c.useMemo)((function(){return N?g:Object(r.a)({},g,{subscription:P})}),[N,g,P]),A=Object(c.useReducer)(O,m,C),F=A[0][0],K=A[1];if(F&&F.error)throw F.error;var U=Object(c.useRef)(),W=Object(c.useRef)(p),k=Object(c.useRef)(),J=Object(c.useRef)(!1),T=S((function(){return k.current&&p===W.current?k.current:M(w.getState(),p)}),[w,F,p]);j(h,[W,U,J,p,T,k,B]),j(y,[x,w,P,M,W,U,J,k,B,K],[w,P,M]);var _=Object(c.useMemo)((function(){return i.a.createElement(t,Object(r.a)({},T,{ref:f}))}),[f,t,T]);return Object(c.useMemo)((function(){return x?i.a.createElement(R.Provider,{value:D},_):_}),[R,_,D])}var w=p?i.a.memo(g):g;if(w.WrappedComponent=t,w.displayName=g.displayName=u,B){var M=i.a.forwardRef((function(e,t){return i.a.createElement(w,Object(r.a)({},e,{reactReduxForwardedRef:t}))}));return M.displayName=u,M.WrappedComponent=t,a()(M,t)}return a()(w,t)}}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),o=n.n(r).a.createContext(null)},257:function(e,t,n){"use strict";var r=n(1),o=n.n(r),u=(n(525),n(21)),a=n(83),c=n(70);t.a=function(e){var t=e.store,n=e.context,i=e.children,s=Object(r.useMemo)((function(){var e=Object(a.a)(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),d=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(c.a)((function(){var e=s.subscription;return e.trySubscribe(),d!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,d]);var f=n||u.a;return o.a.createElement(f.Provider,{value:s},i)}},258:function(e,t,n){"use strict";n(51),n(71),n(127),n(84),n(261),n(259);n(131)}}]);
//# sourceMappingURL=chunk-22-e286.js.map