UNPKG

remob

Version:

Rethinking of Redux and MobX

2 lines (1 loc) 36.6 kB
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(t.remob={})}(this,function(t){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function e(t,r,e){return r&&n(t.prototype,r),e&&n(t,e),t}function u(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),r.forEach(function(t){var r,e,n;n=i[e=t],e in(r=o)?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n})}return o}function o(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=[],n=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(n=(a=u.next()).done)&&(e.push(a.value),!r||e.length!==r);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return e}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(t){return function(t){if(Array.isArray(t)){for(var r=0,e=Array(t.length);r<t.length;r++)e[r]=t[r];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var d=Array.isArray,a="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t,r){return t(r={exports:{}},r.exports),r.exports}var f="object"==typeof a&&a&&a.Object===Object&&a,s="object"==typeof self&&self&&self.Object===Object&&self,S=f||s||Function("return this")(),v=S.Symbol,l=Object.prototype,h=l.hasOwnProperty,p=l.toString,y=v?v.toStringTag:void 0;var b=function(t){var r=h.call(t,y),e=t[y];try{t[y]=void 0}catch(t){}var n=p.call(t);return r?t[y]=e:delete t[y],n},g=Object.prototype.toString;var _=function(t){return g.call(t)},j=v?v.toStringTag:void 0;var w=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":j&&j in Object(t)?b(t):_(t)};var m=function(t){return null!=t&&"object"==typeof t};var O=function(t){return"symbol"==typeof t||m(t)&&"[object Symbol]"==w(t)},A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/;var k=function(t,r){if(d(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!O(t))||x.test(t)||!A.test(t)||null!=r&&t in Object(r)};var D=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)};var E,P=function(t){if(!D(t))return!1;var r=w(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r},z=S["__core-js_shared__"],M=(E=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";var N=function(t){return!!M&&M in t},I=Function.prototype.toString;var T=function(t){if(null!=t){try{return I.call(t)}catch(t){}try{return t+""}catch(t){}}return""},F=/^\[object .+?Constructor\]$/,C=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var U=function(t){return!(!D(t)||N(t))&&(P(t)?C:F).test(T(t))};var $=function(t,r){return null==t?void 0:t[r]};var R=function(t,r){var e=$(t,r);return U(e)?e:void 0},B=R(Object,"create");var L=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},V=Object.prototype.hasOwnProperty;var W=function(t){var r=this.__data__;if(B){var e=r[t];return"__lodash_hash_undefined__"===e?void 0:e}return V.call(r,t)?r[t]:void 0},q=Object.prototype.hasOwnProperty;var G=function(t){var r=this.__data__;return B?void 0!==r[t]:q.call(r,t)};var Y=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=B&&void 0===r?"__lodash_hash_undefined__":r,this};function K(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}K.prototype.clear=function(){this.__data__=B?B(null):{},this.size=0},K.prototype.delete=L,K.prototype.get=W,K.prototype.has=G,K.prototype.set=Y;var H=K;var J=function(t,r){return t===r||t!=t&&r!=r};var Q=function(t,r){for(var e=t.length;e--;)if(J(t[e][0],r))return e;return-1},X=Array.prototype.splice;var Z=function(t){var r=this.__data__,e=Q(r,t);return 0<=e&&(e==r.length-1?r.pop():X.call(r,e,1),--this.size,!0)};var tt=function(t){var r=this.__data__,e=Q(r,t);return e<0?void 0:r[e][1]};var rt=function(t){return-1<Q(this.__data__,t)};var et=function(t,r){var e=this.__data__,n=Q(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function nt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}nt.prototype.clear=function(){this.__data__=[],this.size=0},nt.prototype.delete=Z,nt.prototype.get=tt,nt.prototype.has=rt,nt.prototype.set=et;var ot=nt,it=R(S,"Map");var at=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var ut=function(t,r){var e=t.__data__;return at(r)?e["string"==typeof r?"string":"hash"]:e.map};var ct=function(t){var r=ut(this,t).delete(t);return this.size-=r?1:0,r};var ft=function(t){return ut(this,t).get(t)};var st=function(t){return ut(this,t).has(t)};var vt=function(t,r){var e=ut(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function lt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}lt.prototype.clear=function(){this.size=0,this.__data__={hash:new H,map:new(it||ot),string:new H}},lt.prototype.delete=ct,lt.prototype.get=ft,lt.prototype.has=st,lt.prototype.set=vt;var ht=lt,pt="Expected a function";function yt(o,i){if("function"!=typeof o||null!=i&&"function"!=typeof i)throw new TypeError(pt);var a=function(){var t=arguments,r=i?i.apply(this,t):t[0],e=a.cache;if(e.has(r))return e.get(r);var n=o.apply(this,t);return a.cache=e.set(r,n)||e,n};return a.cache=new(yt.Cache||ht),a}yt.Cache=ht;var bt=yt;var dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gt=/\\(\\)?/g,_t=function(t){var r=bt(t,function(t){return 500===e.size&&e.clear(),t}),e=r.cache;return r}(function(t){var o=[];return 46==t.charCodeAt(0)&&o.push(""),t.replace(dt,function(t,r,e,n){o.push(e?n.replace(gt,"$1"):r||t)}),o});var jt=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o},wt=1/0,mt=v?v.prototype:void 0,Ot=mt?mt.toString:void 0;var At=function t(r){if("string"==typeof r)return r;if(d(r))return jt(r,t)+"";if(O(r))return Ot?Ot.call(r):"";var e=r+"";return"0"==e&&1/r==-wt?"-0":e};var St=function(t){return null==t?"":At(t)};var xt=function(t,r){return d(t)?t:k(t,r)?[t]:_t(St(t))};var kt=function(t){if("string"==typeof t||O(t))return t;var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};var Dt=function(t,r){for(var e=0,n=(r=xt(r,t)).length;null!=t&&e<n;)t=t[kt(r[e++])];return e&&e==n?t:void 0};var Et=function(t,r,e){var n=null==t?void 0:Dt(t,r);return void 0===n?e:n},Pt=function(){try{var t=R(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var zt=function(t,r,e){"__proto__"==r&&Pt?Pt(t,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[r]=e},Mt=Object.prototype.hasOwnProperty;var Nt=function(t,r,e){var n=t[r];Mt.call(t,r)&&J(n,e)&&(void 0!==e||r in t)||zt(t,r,e)},It=/^(?:0|[1-9]\d*)$/;var Tt=function(t,r){var e=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==e||"symbol"!=e&&It.test(t))&&-1<t&&t%1==0&&t<r};var Ft=function(t,r,e,n){if(!D(t))return t;for(var o=-1,i=(r=xt(r,t)).length,a=i-1,u=t;null!=u&&++o<i;){var c=kt(r[o]),f=e;if(o!=a){var s=u[c];void 0===(f=n?n(s,c,u):void 0)&&(f=D(s)?s:Tt(r[o+1])?[]:{})}Nt(u,c,f),u=u[c]}return t};var Ct=function(t,r,e){return null==t?t:Ft(t,r,e)};var Ut=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n&&!1!==r(t[e],e,t););return t};var $t=function(c){return function(t,r,e){for(var n=-1,o=Object(t),i=e(t),a=i.length;a--;){var u=i[c?a:++n];if(!1===r(o[u],u,o))break}return t}}();var Rt=function(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n};var Bt=function(t){return m(t)&&"[object Arguments]"==w(t)},Lt=Object.prototype,Vt=Lt.hasOwnProperty,Wt=Lt.propertyIsEnumerable,qt=Bt(function(){return arguments}())?Bt:function(t){return m(t)&&Vt.call(t,"callee")&&!Wt.call(t,"callee")};var Gt=function(){return!1},Yt=c(function(t,r){var e=r&&!r.nodeType&&r,n=e&&t&&!t.nodeType&&t,o=n&&n.exports===e?S.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||Gt});var Kt=function(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=9007199254740991},Ht={};Ht["[object Float32Array]"]=Ht["[object Float64Array]"]=Ht["[object Int8Array]"]=Ht["[object Int16Array]"]=Ht["[object Int32Array]"]=Ht["[object Uint8Array]"]=Ht["[object Uint8ClampedArray]"]=Ht["[object Uint16Array]"]=Ht["[object Uint32Array]"]=!0,Ht["[object Arguments]"]=Ht["[object Array]"]=Ht["[object ArrayBuffer]"]=Ht["[object Boolean]"]=Ht["[object DataView]"]=Ht["[object Date]"]=Ht["[object Error]"]=Ht["[object Function]"]=Ht["[object Map]"]=Ht["[object Number]"]=Ht["[object Object]"]=Ht["[object RegExp]"]=Ht["[object Set]"]=Ht["[object String]"]=Ht["[object WeakMap]"]=!1;var Jt=function(t){return m(t)&&Kt(t.length)&&!!Ht[w(t)]};var Qt=function(r){return function(t){return r(t)}},Xt=c(function(t,r){var e=r&&!r.nodeType&&r,n=e&&t&&!t.nodeType&&t,o=n&&n.exports===e&&f.process,i=function(){try{var t=n&&n.require&&n.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=i}),Zt=Xt&&Xt.isTypedArray,tr=Zt?Qt(Zt):Jt,rr=Object.prototype.hasOwnProperty;var er=function(t,r){var e=d(t),n=!e&&qt(t),o=!e&&!n&&Yt(t),i=!e&&!n&&!o&&tr(t),a=e||n||o||i,u=a?Rt(t.length,String):[],c=u.length;for(var f in t)!r&&!rr.call(t,f)||a&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Tt(f,c))||u.push(f);return u},nr=Object.prototype;var or=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||nr)};var ir=function(r,e){return function(t){return r(e(t))}},ar=ir(Object.keys,Object),ur=Object.prototype.hasOwnProperty;var cr=function(t){if(!or(t))return ar(t);var r=[];for(var e in Object(t))ur.call(t,e)&&"constructor"!=e&&r.push(e);return r};var fr=function(t){return null!=t&&Kt(t.length)&&!P(t)};var sr=function(t){return fr(t)?er(t):cr(t)};var vr=function(t,r){return t&&$t(t,r,sr)};var lr=function(i,a){return function(t,r){if(null==t)return t;if(!fr(t))return i(t,r);for(var e=t.length,n=a?e:-1,o=Object(t);(a?n--:++n<e)&&!1!==r(o[n],n,o););return t}}(vr);var hr=function(t){return t};var pr=function(t){return"function"==typeof t?t:hr};var yr=function(t,r){return(d(t)?Ut:lr)(t,pr(r))};var br=function(t,r,e){switch(e.length){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)},dr=Math.max;var gr=function(i,a,u){return a=dr(void 0===a?i.length-1:a,0),function(){for(var t=arguments,r=-1,e=dr(t.length-a,0),n=Array(e);++r<e;)n[r]=t[a+r];r=-1;for(var o=Array(a+1);++r<a;)o[r]=t[r];return o[a]=u(n),br(i,this,o)}};var _r=function(t){return function(){return t}},jr=Date.now;var wr=function(e){var n=0,o=0;return function(){var t=jr(),r=16-(t-o);if(o=t,0<r){if(800<=++n)return arguments[0]}else n=0;return e.apply(void 0,arguments)}},mr=wr(Pt?function(t,r){return Pt(t,"toString",{configurable:!0,enumerable:!1,value:_r(r),writable:!0})}:hr);var Or=function(t,r){return mr(gr(t,r,hr),t+"")},Ar=R(S,"WeakMap"),Sr=Ar&&new Ar,xr=Sr?function(t,r){return Sr.set(t,r),t}:hr,kr=Object.create,Dr=function(){function e(){}return function(t){if(!D(t))return{};if(kr)return kr(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();var Er=function(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Dr(n.prototype),e=n.apply(r,t);return D(e)?e:r}};var Pr=function(r,t,e){var n=1&t,o=Er(r);return function t(){return(this&&this!==S&&this instanceof t?o:r).apply(n?e:this,arguments)}},zr=Math.max;var Mr=function(t,r,e,n){for(var o=-1,i=t.length,a=e.length,u=-1,c=r.length,f=zr(i-a,0),s=Array(c+f),v=!n;++u<c;)s[u]=r[u];for(;++o<a;)(v||o<i)&&(s[e[o]]=t[o]);for(;f--;)s[u++]=t[o++];return s},Nr=Math.max;var Ir=function(t,r,e,n){for(var o=-1,i=t.length,a=-1,u=e.length,c=-1,f=r.length,s=Nr(i-u,0),v=Array(s+f),l=!n;++o<s;)v[o]=t[o];for(var h=o;++c<f;)v[h+c]=r[c];for(;++a<u;)(l||o<i)&&(v[h+e[a]]=t[o++]);return v};var Tr=function(t,r){for(var e=t.length,n=0;e--;)t[e]===r&&++n;return n};var Fr=function(){};function Cr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}var Ur=(Cr.prototype=Dr(Fr.prototype)).constructor=Cr;var $r=Sr?function(t){return Sr.get(t)}:function(){},Rr={},Br=Object.prototype.hasOwnProperty;var Lr=function(t){for(var r=t.name+"",e=Rr[r],n=Br.call(Rr,r)?e.length:0;n--;){var o=e[n],i=o.func;if(null==i||i==t)return o.name}return r};function Vr(t,r){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=void 0}var Wr=(Vr.prototype=Dr(Fr.prototype)).constructor=Vr;var qr=function(t,r){var e=-1,n=t.length;for(r||(r=Array(n));++e<n;)r[e]=t[e];return r};var Gr=function(t){if(t instanceof Ur)return t.clone();var r=new Wr(t.__wrapped__,t.__chain__);return r.__actions__=qr(t.__actions__),r.__index__=t.__index__,r.__values__=t.__values__,r},Yr=Object.prototype.hasOwnProperty;function Kr(t){if(m(t)&&!d(t)&&!(t instanceof Ur)){if(t instanceof Wr)return t;if(Yr.call(t,"__wrapped__"))return Gr(t)}return new Wr(t)}var Hr=(Kr.prototype=Fr.prototype).constructor=Kr;var Jr=function(t){var r=Lr(t),e=Hr[r];if("function"!=typeof e||!(r in Ur.prototype))return!1;if(t===e)return!0;var n=$r(e);return!!n&&t===n[0]},Qr=wr(xr),Xr=/\{\n\/\* \[wrapped with (.+)\] \*/,Zr=/,? & /;var te=function(t){var r=t.match(Xr);return r?r[1].split(Zr):[]},re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;var ee=function(t,r){var e=r.length;if(!e)return t;var n=e-1;return r[n]=(1<e?"& ":"")+r[n],r=r.join(2<e?", ":" "),t.replace(re,"{\n/* [wrapped with "+r+"] */\n")};var ne=function(t,r,e,n){for(var o=t.length,i=e+(n?1:-1);n?i--:++i<o;)if(r(t[i],i,t))return i;return-1};var oe=function(t){return t!=t};var ie=function(t,r,e){for(var n=e-1,o=t.length;++n<o;)if(t[n]===r)return n;return-1};var ae=function(t,r,e){return r==r?ie(t,r,e):ne(t,oe,e)};var ue=function(t,r){return!(null==t||!t.length)&&-1<ae(t,r,0)},ce=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];var fe=function(e,n){return Ut(ce,function(t){var r="_."+t[0];n&t[1]&&!ue(e,r)&&e.push(r)}),e.sort()};var se=function(t,r,e){var n=r+"";return mr(t,ee(n,fe(te(n),e)))};var ve=function(t,r,e,n,o,i,a,u,c,f){var s=8&r;r|=s?32:64,4&(r&=~(s?64:32))||(r&=-4);var v=[t,r,o,s?i:void 0,s?a:void 0,s?void 0:i,s?void 0:a,u,c,f],l=e.apply(void 0,v);return Jr(t)&&Qr(l,v),l.placeholder=n,se(l,t,r)};var le=function(t){return t.placeholder},he=Math.min;var pe=function(t,r){for(var e=t.length,n=he(r.length,e),o=qr(t);n--;){var i=r[n];t[n]=Tt(i,e)?o[i]:void 0}return t},ye="__lodash_placeholder__";var be=function(t,r){for(var e=-1,n=t.length,o=0,i=[];++e<n;){var a=t[e];a!==r&&a!==ye||(t[e]=ye,i[o++]=e)}return i},de=1,ge=2,_e=8,je=16,we=128,me=512;function Oe(f,s,v,l,h,p,y,b,d,g){var _=s&we,j=s&de,w=s&ge,m=s&(_e|je),O=s&me,A=w?void 0:Er(f);return function t(){for(var r=arguments.length,e=Array(r),n=r;n--;)e[n]=arguments[n];if(m)var o=le(t),i=Tr(e,o);if(l&&(e=Mr(e,l,h,m)),p&&(e=Ir(e,p,y,m)),r-=i,m&&r<g){var a=be(e,o);return ve(f,s,Oe,t.placeholder,v,e,a,b,d,g-r)}var u=j?v:this,c=w?u[f]:f;return r=e.length,b?e=pe(e,b):O&&1<r&&e.reverse(),_&&d<r&&(e.length=d),this&&this!==S&&this instanceof t&&(c=A||Er(c)),c.apply(u,e)}}var Ae=Oe;var Se=function(a,u,c){var f=Er(a);return function t(){for(var r=arguments.length,e=Array(r),n=r,o=le(t);n--;)e[n]=arguments[n];var i=r<3&&e[0]!==o&&e[r-1]!==o?[]:be(e,o);return(r-=i.length)<c?ve(a,u,Ae,t.placeholder,void 0,e,i,void 0,void 0,c-r):br(this&&this!==S&&this instanceof t?f:a,this,e)}};var xe=function(u,t,c,f){var s=1&t,v=Er(u);return function t(){for(var r=-1,e=arguments.length,n=-1,o=f.length,i=Array(o+e),a=this&&this!==S&&this instanceof t?v:u;++n<o;)i[n]=f[n];for(;e--;)i[n++]=arguments[++r];return br(a,s?c:this,i)}},ke="__lodash_placeholder__",De=Math.min;var Ee=function(t,r){var e=t[1],n=r[1],o=e|n;if(o>=131&&!(128==n&&8==e||128==n&&256==e&&t[7].length<=r[8]||384==n&&r[7].length<=r[8]&&8==e))return t;1&n&&(t[2]=r[2],o|=1&e?0:4);var i=r[3];if(i){var a=t[3];t[3]=a?Mr(a,i,r[4]):i,t[4]=a?be(t[3],ke):r[4]}return(i=r[5])&&(t[5]=(a=t[5])?Ir(a,i,r[6]):i,t[6]=a?be(t[5],ke):r[6]),(i=r[7])&&(t[7]=i),128&n&&(t[8]=null==t[8]?r[8]:De(t[8],r[8])),null==t[9]&&(t[9]=r[9]),t[0]=r[0],t[1]=o,t},Pe=/^\s+|\s+$/g,ze=/^[-+]0x[0-9a-f]+$/i,Me=/^0b[01]+$/i,Ne=/^0o[0-7]+$/i,Ie=parseInt;var Te=function(t){if("number"==typeof t)return t;if(O(t))return NaN;if(D(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=D(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Pe,"");var e=Me.test(t);return e||Ne.test(t)?Ie(t.slice(2),e?2:8):ze.test(t)?NaN:+t};var Fe=function(t){return t?(t=Te(t))!==1/0&&t!==-1/0?t==t?t:0:17976931348623157e292*(t<0?-1:1):0===t?t:0};var Ce=function(t){var r=Fe(t),e=r%1;return r==r?e?r-e:r:0},Ue=Math.max;var $e=function(t,r,e,n,o,i,a,u){var c=2&r;if(!c&&"function"!=typeof t)throw new TypeError("Expected a function");var f=n?n.length:0;if(f||(r&=-97,n=o=void 0),a=void 0===a?a:Ue(Ce(a),0),u=void 0===u?u:Ce(u),f-=o?o.length:0,64&r){var s=n,v=o;n=o=void 0}var l=c?void 0:$r(t),h=[t,r,e,n,o,s,v,i,a,u];if(l&&Ee(h,l),t=h[0],r=h[1],e=h[2],n=h[3],o=h[4],!(u=h[9]=void 0===h[9]?c?0:t.length:Ue(h[9]-f,0))&&24&r&&(r&=-25),r&&1!=r)p=8==r||16==r?Se(t,r,u):32!=r&&33!=r||o.length?Ae.apply(void 0,h):xe(t,r,e,n);else var p=Pr(t,r,e);return se((l?xr:Qr)(p,h),t,r)},Re=Or(function(t,r){var e=be(r,le(Re));return $e(t,64,void 0,r,e)});Re.placeholder={};var Be=Re;var Le=function(t){var r=this.__data__,e=r.delete(t);return this.size=r.size,e};var Ve=function(t){return this.__data__.get(t)};var We=function(t){return this.__data__.has(t)};var qe=function(t,r){var e=this.__data__;if(e instanceof ot){var n=e.__data__;if(!it||n.length<199)return n.push([t,r]),this.size=++e.size,this;e=this.__data__=new ht(n)}return e.set(t,r),this.size=e.size,this};function Ge(t){var r=this.__data__=new ot(t);this.size=r.size}Ge.prototype.clear=function(){this.__data__=new ot,this.size=0},Ge.prototype.delete=Le,Ge.prototype.get=Ve,Ge.prototype.has=We,Ge.prototype.set=qe;var Ye=Ge;var Ke=function(t,r,e,n){var o=!e;e||(e={});for(var i=-1,a=r.length;++i<a;){var u=r[i],c=n?n(e[u],t[u],u,e,t):void 0;void 0===c&&(c=t[u]),o?zt(e,u,c):Nt(e,u,c)}return e};var He=function(t,r){return t&&Ke(r,sr(r),t)};var Je=function(t){var r=[];if(null!=t)for(var e in Object(t))r.push(e);return r},Qe=Object.prototype.hasOwnProperty;var Xe=function(t){if(!D(t))return Je(t);var r=or(t),e=[];for(var n in t)("constructor"!=n||!r&&Qe.call(t,n))&&e.push(n);return e};var Ze=function(t){return fr(t)?er(t,!0):Xe(t)};var tn=function(t,r){return t&&Ke(r,Ze(r),t)},rn=c(function(t,r){var e=r&&!r.nodeType&&r,n=e&&t&&!t.nodeType&&t,o=n&&n.exports===e?S.Buffer:void 0,i=o?o.allocUnsafe:void 0;t.exports=function(t,r){if(r)return t.slice();var e=t.length,n=i?i(e):new t.constructor(e);return t.copy(n),n}});var en=function(t,r){for(var e=-1,n=null==t?0:t.length,o=0,i=[];++e<n;){var a=t[e];r(a,e,t)&&(i[o++]=a)}return i};var nn=function(){return[]},on=Object.prototype.propertyIsEnumerable,an=Object.getOwnPropertySymbols,un=an?function(r){return null==r?[]:en(an(r=Object(r)),function(t){return on.call(r,t)})}:nn;var cn=function(t,r){return Ke(t,un(t),r)};var fn=function(t,r){for(var e=-1,n=r.length,o=t.length;++e<n;)t[o+e]=r[e];return t},sn=ir(Object.getPrototypeOf,Object),vn=Object.getOwnPropertySymbols?function(t){for(var r=[];t;)fn(r,un(t)),t=sn(t);return r}:nn;var ln=function(t,r){return Ke(t,vn(t),r)};var hn=function(t,r,e){var n=r(t);return d(t)?n:fn(n,e(t))};var pn=function(t){return hn(t,sr,un)};var yn=function(t){return hn(t,Ze,vn)},bn=R(S,"DataView"),dn=R(S,"Promise"),gn=R(S,"Set"),_n="[object Map]",jn="[object Promise]",wn="[object Set]",mn="[object WeakMap]",On="[object DataView]",An=T(bn),Sn=T(it),xn=T(dn),kn=T(gn),Dn=T(Ar),En=w;(bn&&En(new bn(new ArrayBuffer(1)))!=On||it&&En(new it)!=_n||dn&&En(dn.resolve())!=jn||gn&&En(new gn)!=wn||Ar&&En(new Ar)!=mn)&&(En=function(t){var r=w(t),e="[object Object]"==r?t.constructor:void 0,n=e?T(e):"";if(n)switch(n){case An:return On;case Sn:return _n;case xn:return jn;case kn:return wn;case Dn:return mn}return r});var Pn=En,zn=Object.prototype.hasOwnProperty;var Mn=function(t){var r=t.length,e=new t.constructor(r);return r&&"string"==typeof t[0]&&zn.call(t,"index")&&(e.index=t.index,e.input=t.input),e},Nn=S.Uint8Array;var In=function(t){var r=new t.constructor(t.byteLength);return new Nn(r).set(new Nn(t)),r};var Tn=function(t,r){var e=r?In(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)},Fn=/\w*$/;var Cn=function(t){var r=new t.constructor(t.source,Fn.exec(t));return r.lastIndex=t.lastIndex,r},Un=v?v.prototype:void 0,$n=Un?Un.valueOf:void 0;var Rn=function(t){return $n?Object($n.call(t)):{}};var Bn=function(t,r){var e=r?In(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)};var Ln=function(t,r,e){var n=t.constructor;switch(r){case"[object ArrayBuffer]":return In(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Tn(t,e);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Bn(t,e);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Cn(t);case"[object Set]":return new n;case"[object Symbol]":return Rn(t)}};var Vn=function(t){return"function"!=typeof t.constructor||or(t)?{}:Dr(sn(t))};var Wn=function(t){return m(t)&&"[object Map]"==Pn(t)},qn=Xt&&Xt.isMap,Gn=qn?Qt(qn):Wn;var Yn=function(t){return m(t)&&"[object Set]"==Pn(t)},Kn=Xt&&Xt.isSet,Hn=Kn?Qt(Kn):Yn,Jn=1,Qn=2,Xn=4,Zn="[object Arguments]",to="[object Function]",ro="[object GeneratorFunction]",eo="[object Object]",no={};no[Zn]=no["[object Array]"]=no["[object ArrayBuffer]"]=no["[object DataView]"]=no["[object Boolean]"]=no["[object Date]"]=no["[object Float32Array]"]=no["[object Float64Array]"]=no["[object Int8Array]"]=no["[object Int16Array]"]=no["[object Int32Array]"]=no["[object Map]"]=no["[object Number]"]=no[eo]=no["[object RegExp]"]=no["[object Set]"]=no["[object String]"]=no["[object Symbol]"]=no["[object Uint8Array]"]=no["[object Uint8ClampedArray]"]=no["[object Uint16Array]"]=no["[object Uint32Array]"]=!0,no["[object Error]"]=no[to]=no["[object WeakMap]"]=!1;var oo=function e(n,o,i,t,r,a){var u,c=o&Jn,f=o&Qn,s=o&Xn;if(i&&(u=r?i(n,t,r,a):i(n)),void 0!==u)return u;if(!D(n))return n;var v=d(n);if(v){if(u=Mn(n),!c)return qr(n,u)}else{var l=Pn(n),h=l==to||l==ro;if(Yt(n))return rn(n,c);if(l==eo||l==Zn||h&&!r){if(u=f||h?{}:Vn(n),!c)return f?ln(n,tn(u,n)):cn(n,He(u,n))}else{if(!no[l])return r?n:{};u=Ln(n,l,c)}}a||(a=new Ye);var p=a.get(n);if(p)return p;if(a.set(n,u),Hn(n))return n.forEach(function(t){u.add(e(t,o,i,t,n,a))}),u;if(Gn(n))return n.forEach(function(t,r){u.set(r,e(t,o,i,r,n,a))}),u;var y=s?f?yn:pn:f?keysIn:sr,b=v?void 0:y(n);return Ut(b||n,function(t,r){b&&(t=n[r=t]),Nt(u,r,e(t,o,i,r,n,a))}),u};var io=function(t){return oo(t,5)},ao=function(o,i,a){return function(t,r){var e=io(t),n=o(a?t:Et(t,i),r);return Ct(e,i,n),e}},uo=function(n,o){var i=arguments.length<=2||void 0===arguments[2]||arguments[2];switch(r(o)){case"string":return ao(n,o,i);case"function":return function(t,r){var e=o(t);return ao(n,e,i)(t,r)};default:return function(t,r){return n(t,r)}}},co=function(){function u(t){var e=this;!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,u),this.registerDispatches=this.registerDispatches.bind(this),this.registerActions=this.registerActions.bind(this),this.registerMixin=this.registerMixin.bind(this),this.getDispatchName=this.getDispatchName.bind(this),this.getClearActionType=this.getClearActionType.bind(this),this.debug=this.debug.bind(this),this.commonDebug=this.commonDebug.bind(this),this.reducer=this.reducer.bind(this),this.actions=this.getActions(),this.dispatches=this.getDispatches(),this.initialState=this.getInitialState(t),this.selectors=this.getSelectors(),yr(this.initialState,function(t,r){t instanceof u&&e.registerMixin(t,r)})}return e(u,[{key:"commonDebug",value:function(n,t,r){var o=this,i=t||n,a=r||this.getDispatchName();Object.keys(i).forEach(function(t){var r=i[t],e=u.getActionName(a,t);"function"==typeof r?console.log(e):o.commonDebug(n,r,e)})}},{key:"debug",value:function(t,r){t||r||console.log(this.getDispatchName(),"remob"),console.log("actions"),this.commonDebug(this.actions),console.log("selectors"),this.commonDebug(this.selectors)}},{key:"registerAction",value:function(t,r){this.actions=this.getActions(),Ct(this.actions,r,t)}},{key:"registerDispatch",value:function(t,r){this.dispatches=this.getDispatches(),Ct(this.dispatches,r,t)}},{key:"registerSelector",value:function(t,r){this.selectors=this.getSelectors(),Ct(this.selectors,r,t)}},{key:"registerDispatches",value:function(t,e){var n=this;"function"==typeof t?Ct(this,e,Be(t,this.getDispatchName(e))):yr(t,function(t,r){n.registerDispatches(t,u.getActionName(e,r))})}},{key:"registerActions",value:function(t,e){var n=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";"function"==typeof t?this.registerAction(uo(t,o,!1),e):yr(t,function(t,r){n.registerActions(t,u.getActionName(e,r),o||e)})}},{key:"registerMixin",value:function(t,r){var e=t.actions,n=t.dispatches,o=t.selectors;this.initialState[r]=t.initialState,this.dispatches[r]=n,this.selectors[r]=o,this.registerActions(e,r),this.registerDispatches(n,r)}},{key:"getInitialState",value:function(t){return t||this.initialState||{}}},{key:"getActions",value:function(){return this.actions||{}}},{key:"getDispatches",value:function(){return this.dispatches||{}}},{key:"getSelectors",value:function(){return this.selectors||{}}}]),e(u,[{key:"getClearActionType",value:function(t){return t.type.split("".concat(this.constructor.name,".")).pop()}},{key:"getDispatchName",value:function(t){return u.getActionName(this.constructor.name,t)}},{key:"reducer",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.initialState,r=1<arguments.length?arguments[1]:void 0,e=this.getClearActionType(r),n=Et(this.actions,e);return n?n(t,r):t}}],[{key:"getActionName",value:function(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return"".concat(t).concat(t&&r?".":"").concat(r)}}]),u}();var fo=function(t){return this.__data__.has(t)};function so(t){var r=-1,e=null==t?0:t.length;for(this.__data__=new ht;++r<e;)this.add(t[r])}so.prototype.add=so.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},so.prototype.has=fo;var vo=so;var lo=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(r(t[e],e,t))return!0;return!1};var ho=function(t,r){return t.has(r)};var po=function(t,r,e,n,o,i){var a=1&e,u=t.length,c=r.length;if(!(u==c||a&&u<c))return!1;var f=i.get(t);if(f&&i.get(r))return f==r;var s=-1,v=!0,l=2&e?new vo:void 0;for(i.set(t,r),i.set(r,t);++s<u;){var h=t[s],p=r[s];if(n)var y=a?n(p,h,s,r,t,i):n(h,p,s,t,r,i);if(void 0!==y){if(y)continue;v=!1;break}if(l){if(!lo(r,function(t,r){if(!ho(l,r)&&(h===t||o(h,t,e,n,i)))return l.push(r)})){v=!1;break}}else if(h!==p&&!o(h,p,e,n,i)){v=!1;break}}return i.delete(t),i.delete(r),v};var yo=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n};var bo=function(t){var r=-1,e=Array(t.size);return t.forEach(function(t){e[++r]=t}),e},go=v?v.prototype:void 0,_o=go?go.valueOf:void 0;var jo=function(t,r,e,n,o,i,a){switch(e){case"[object DataView]":if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=r.byteLength||!i(new Nn(t),new Nn(r)));case"[object Boolean]":case"[object Date]":case"[object Number]":return J(+t,+r);case"[object Error]":return t.name==r.name&&t.message==r.message;case"[object RegExp]":case"[object String]":return t==r+"";case"[object Map]":var u=yo;case"[object Set]":if(u||(u=bo),t.size!=r.size&&!(1&n))return!1;var c=a.get(t);if(c)return c==r;n|=2,a.set(t,r);var f=po(u(t),u(r),n,o,i,a);return a.delete(t),f;case"[object Symbol]":if(_o)return _o.call(t)==_o.call(r)}return!1},wo=Object.prototype.hasOwnProperty;var mo=function(t,r,e,n,o,i){var a=1&e,u=pn(t),c=u.length;if(c!=pn(r).length&&!a)return!1;for(var f=c;f--;){var s=u[f];if(!(a?s in r:wo.call(r,s)))return!1}var v=i.get(t);if(v&&i.get(r))return v==r;var l=!0;i.set(t,r),i.set(r,t);for(var h=a;++f<c;){var p=t[s=u[f]],y=r[s];if(n)var b=a?n(y,p,s,r,t,i):n(p,y,s,t,r,i);if(!(void 0===b?p===y||o(p,y,e,n,i):b)){l=!1;break}h||(h="constructor"==s)}if(l&&!h){var d=t.constructor,g=r.constructor;d!=g&&"constructor"in t&&"constructor"in r&&!("function"==typeof d&&d instanceof d&&"function"==typeof g&&g instanceof g)&&(l=!1)}return i.delete(t),i.delete(r),l},Oo="[object Arguments]",Ao="[object Array]",So="[object Object]",xo=Object.prototype.hasOwnProperty;var ko=function(t,r,e,n,o,i){var a=d(t),u=d(r),c=a?Ao:Pn(t),f=u?Ao:Pn(r),s=(c=c==Oo?So:c)==So,v=(f=f==Oo?So:f)==So,l=c==f;if(l&&Yt(t)){if(!Yt(r))return!1;s=!(a=!0)}if(l&&!s)return i||(i=new Ye),a||tr(t)?po(t,r,e,n,o,i):jo(t,r,c,e,n,o,i);if(!(1&e)){var h=s&&xo.call(t,"__wrapped__"),p=v&&xo.call(r,"__wrapped__");if(h||p){var y=h?t.value():t,b=p?r.value():r;return i||(i=new Ye),o(y,b,e,n,i)}}return!!l&&(i||(i=new Ye),mo(t,r,e,n,o,i))};var Do=function t(r,e,n,o,i){return r===e||(null==r||null==e||!m(r)&&!m(e)?r!=r&&e!=e:ko(r,e,n,o,t,i))};var Eo=function(t,r,e,n){var o=e.length,i=o,a=!n;if(null==t)return!i;for(t=Object(t);o--;){var u=e[o];if(a&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++o<i;){var c=(u=e[o])[0],f=t[c],s=u[1];if(a&&u[2]){if(void 0===f&&!(c in t))return!1}else{var v=new Ye;if(n)var l=n(f,s,c,t,r,v);if(!(void 0===l?Do(s,f,3,n,v):l))return!1}}return!0};var Po=function(t){return t==t&&!D(t)};var zo=function(t){for(var r=sr(t),e=r.length;e--;){var n=r[e],o=t[n];r[e]=[n,o,Po(o)]}return r};var Mo=function(r,e){return function(t){return null!=t&&t[r]===e&&(void 0!==e||r in Object(t))}};var No=function(r){var e=zo(r);return 1==e.length&&e[0][2]?Mo(e[0][0],e[0][1]):function(t){return t===r||Eo(t,r,e)}};var Io=function(t,r){return null!=t&&r in Object(t)};var To=function(t,r,e){for(var n=-1,o=(r=xt(r,t)).length,i=!1;++n<o;){var a=kt(r[n]);if(!(i=null!=t&&e(t,a)))break;t=t[a]}return i||++n!=o?i:!!(o=null==t?0:t.length)&&Kt(o)&&Tt(a,o)&&(d(t)||qt(t))};var Fo=function(t,r){return null!=t&&To(t,r,Io)};var Co=function(e,n){return k(e)&&Po(n)?Mo(kt(e),n):function(t){var r=Et(t,e);return void 0===r&&r===n?Fo(t,e):Do(n,r,3)}};var Uo=function(r){return function(t){return null==t?void 0:t[r]}};var $o=function(r){return function(t){return Dt(t,r)}};var Ro=function(t){return k(t)?Uo(kt(t)):$o(t)};var Bo=function(t){return"function"==typeof t?t:null==t?hr:"object"==typeof t?d(t)?Co(t[0],t[1]):No(t):Ro(t)};var Lo=function(t,n){var o={};return n=Bo(n,3),vr(t,function(t,r,e){zt(o,r,n(t,r,e))}),o};var Vo=function(t,r,e){(void 0===e||J(t[r],e))&&(void 0!==e||r in t)||zt(t,r,e)};var Wo=function(t){return m(t)&&fr(t)},qo=Function.prototype.toString,Go=Object.prototype.hasOwnProperty,Yo=qo.call(Object);var Ko=function(t){if(!m(t)||"[object Object]"!=w(t))return!1;var r=sn(t);if(null===r)return!0;var e=Go.call(r,"constructor")&&r.constructor;return"function"==typeof e&&e instanceof e&&qo.call(e)==Yo};var Ho=function(t,r){if("__proto__"!=r)return t[r]};var Jo=function(t){return Ke(t,Ze(t))};var Qo=function(t,r,e,n,o,i,a){var u=Ho(t,e),c=Ho(r,e),f=a.get(c);if(f)Vo(t,e,f);else{var s=i?i(u,c,e+"",t,r,a):void 0,v=void 0===s;if(v){var l=d(c),h=!l&&Yt(c),p=!l&&!h&&tr(c);s=c,l||h||p?s=d(u)?u:Wo(u)?qr(u):h?rn(c,!(v=!1)):p?Bn(c,!(v=!1)):[]:Ko(c)||qt(c)?qt(s=u)?s=Jo(u):D(u)&&!P(u)||(s=Vn(c)):v=!1}v&&(a.set(c,s),o(s,c,n,i,a),a.delete(c)),Vo(t,e,s)}};var Xo=function n(o,i,a,u,c){o!==i&&$t(i,function(t,r){if(D(t))c||(c=new Ye),Qo(o,i,r,a,n,u,c);else{var e=u?u(Ho(o,r),t,r+"",o,i,c):void 0;void 0===e&&(e=t),Vo(o,r,e)}},Ze)};var Zo=function(t,r,e){if(!D(e))return!1;var n=typeof r;return!!("number"==n?fr(e)&&Tt(r,e.length):"string"==n&&r in e)&&J(e[r],t)};var ti,ri=function(u){return Or(function(t,r){var e=-1,n=r.length,o=1<n?r[n-1]:void 0,i=2<n?r[2]:void 0;for(o=3<u.length&&"function"==typeof o?(n--,o):void 0,i&&Zo(r[0],r[1],i)&&(o=n<3?void 0:o,n=1),t=Object(t);++e<n;){var a=r[e];a&&u(t,a,e,o)}return t})}(function(t,r,e){Xo(t,r,e)}),ei=function(t,r,e){return ri({},t,r,e)},ni=function(t){var o=function(e,n){return Lo(t,function(t,r){return function n(t,o,i,a){return u({},Et(o,i),Lo(t,function(t,r){if("function"==typeof t)return t(Et(o,i),o,a);var e=co.getActionName(i,r);return n(t,o,e,a)}))}(t.selectors,e,r,n)})},i=function(r,e){return Lo(t,function(t){return function n(t,o,i,a){var u=4<arguments.length&&void 0!==arguments[4]?arguments[4]:"";return Lo(t,function(t,r){var e=co.getActionName(u,r);return"function"==typeof t?function(t){return Et(o,e)(i,{opts:a,value:t})}:n(t,o,i,a,e)})}(t.actions,t,r,e)})};return[function(t){for(var r=arguments.length,e=Array(1<r?r-1:0),n=1;n<r;n++)e[n-1]=arguments[n];return o(t,e)},function(t){for(var r=arguments.length,e=Array(1<r?r-1:0),n=1;n<r;n++)e[n-1]=arguments[n];return i(t,e)},ei]},oi={};var ii=function(t,n,r){var o;return r(t,function(t,r,e){if(n(t,r,e))return o=r,!1}),o};var ai,ui=function(t,r){return ii(t,Bo(r,3),vr)},ci=function(t,r,e,n){if(!(t instanceof co))throw new SyntaxError("".concat(t," should be instanceof Reducer"));if("function"!=typeof r||"string"!=typeof e)throw new SyntaxError("".concat(n," decorator method ").concat(e," is not a function."))},fi=function(r){return function(t){return t(u({},1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},{type:2<arguments.length&&void 0!==arguments[2]?arguments[2]:r}))}},si=function(f,s){var v=2<arguments.length&&void 0!==arguments[2]?arguments[2]:fi;return function(t,r,e){var n=e.value,o=e.configurable,i=e.enumerable,a=n.bind(t);ci(t,n,r,"action"),t.registerAction(uo(a,f,s),r);var u=t.getDispatchName(r),c=v(u,a);return t.registerDispatch(c,r),{configurable:o,enumerable:i,get:function(){return c}}}};function vi(){return function(t){return t instanceof co}.apply(void 0,arguments)?si().apply(void 0,arguments):si.apply(void 0,arguments)}var li=vi(void 0,void 0,function(t,r){return function(t){return t(r)}});t.Reducer=co,t.inject=ni,t.combineRemob=function(t){var r=Lo(t,function(t,r){if(D(t)&&t instanceof co){if(oi[r])throw Error("remob ".concat(r," already registered, for safety reasons pls use another name"));return(oi[r]=t).reducer}return t});return(ti||function(){throw Error("You forgot to combineReducers")})(r)},t.connectRemob=function(){for(var n={},t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];return r.forEach(function(t){var r,e;if("string"==typeof t)e=oi[r=t];else if(t instanceof co)r=ui(oi,t),e=t;else if(D(t))return void Object.entries(t).forEach(function(t){var r=o(t,2);n[r[0]]=r[1]});n[r]=e}),(ai||function(){throw Error("You forgot to specify connector to redux")}).apply(void 0,i(ni(n)))},t.setConnector=function(t){ai=t},t.setCombiner=function(t){ti=t},t.action=vi,t.selector=function(t,r,e){var n=e.value,o=e.configurable,i=e.enumerable;return ci(t,n,r,"selector"),t.registerSelector(n,r),{configurable:o,enumerable:i,get:n}},t.thunk=li,Object.defineProperty(t,"__esModule",{value:!0})});