react-apollo
Advanced tools
Comparing version 0.3.17 to 0.3.18
@@ -5,2 +5,6 @@ # Change log | ||
### v0.3.18 | ||
- Feature: Support 0.4.0 of Apollo Client, and pass through new mutation options [#105](https://github.com/apollostack/react-apollo/pull/105) [#106](https://github.com/apollostack/react-apollo/pull/106) | ||
### v0.3.17 | ||
@@ -7,0 +11,0 @@ |
@@ -64,2 +64,4 @@ "use strict"; | ||
this.mutations = {}; | ||
this.queryObservables = {}; | ||
this.querySubscriptions = {}; | ||
} | ||
@@ -129,3 +131,3 @@ ApolloConnect.prototype.componentWillMount = function () { | ||
var store = this.store; | ||
var queryHandles = mapQueriesToProps({ | ||
var queryOptions = mapQueriesToProps({ | ||
state: store.getState(), | ||
@@ -135,4 +137,4 @@ ownProps: props, | ||
var oldQueries = assign({}, this.previousQueries); | ||
this.previousQueries = assign({}, queryHandles); | ||
if (isEqual(oldQueries, queryHandles)) { | ||
this.previousQueries = assign({}, queryOptions); | ||
if (isEqual(oldQueries, queryOptions)) { | ||
return false; | ||
@@ -143,10 +145,9 @@ } | ||
} | ||
if (isObject(queryHandles) && Object.keys(queryHandles).length) { | ||
this.queryHandles = queryHandles; | ||
for (var key in queryHandles) { | ||
if (!queryHandles.hasOwnProperty(key)) { | ||
if (isObject(queryOptions) && Object.keys(queryOptions).length) { | ||
for (var key in queryOptions) { | ||
if (!queryOptions.hasOwnProperty(key)) { | ||
continue; | ||
} | ||
var _b = queryHandles[key], query = _b.query, variables = _b.variables, forceFetch = _b.forceFetch; | ||
var handle = watchQuery(queryHandles[key]); | ||
var _b = queryOptions[key], query = _b.query, variables = _b.variables, forceFetch = _b.forceFetch; | ||
var observableQuery = watchQuery(queryOptions[key]); | ||
var queryData = defaultQueryData; | ||
@@ -168,3 +169,3 @@ if (!forceFetch) { | ||
this.data[key] = queryData; | ||
this.handleQueryData(handle, key); | ||
this.handleQueryData(observableQuery, key); | ||
} | ||
@@ -175,12 +176,12 @@ } | ||
ApolloConnect.prototype.unsubcribeAllQueries = function () { | ||
if (this.queryHandles) { | ||
for (var key in this.queryHandles) { | ||
if (!this.queryHandles.hasOwnProperty(key)) { | ||
if (this.querySubscriptions) { | ||
for (var key in this.querySubscriptions) { | ||
if (!this.querySubscriptions.hasOwnProperty(key)) { | ||
continue; | ||
} | ||
this.queryHandles[key].unsubscribe(); | ||
this.querySubscriptions[key].unsubscribe(); | ||
} | ||
} | ||
}; | ||
ApolloConnect.prototype.handleQueryData = function (handle, key) { | ||
ApolloConnect.prototype.handleQueryData = function (observableQuery, key) { | ||
var _this = this; | ||
@@ -232,9 +233,10 @@ var refetch, startPolling, stopPolling; | ||
}; | ||
this.queryHandles[key] = handle.subscribe({ | ||
this.queryObservables[key] = observableQuery; | ||
this.querySubscriptions[key] = observableQuery.subscribe({ | ||
next: forceRender, | ||
error: function (errors) { forceRender({ errors: errors }); }, | ||
}); | ||
refetch = createBoundRefetch(key, this.queryHandles[key].refetch); | ||
startPolling = this.queryHandles[key].startPolling; | ||
stopPolling = this.queryHandles[key].stopPolling; | ||
refetch = createBoundRefetch(key, this.queryObservables[key].refetch); | ||
startPolling = this.queryObservables[key].startPolling; | ||
stopPolling = this.queryObservables[key].stopPolling; | ||
this.data[key] = assign(this.data[key], { | ||
@@ -297,3 +299,3 @@ refetch: refetch, | ||
args.push(stateAndProps); | ||
var _a = method.apply(_this.client, args), mutation = _a.mutation, variables = _a.variables; | ||
var mutationOptions = method.apply(_this.client, args); | ||
return new Promise(function (resolve, reject) { | ||
@@ -310,3 +312,3 @@ _this.data[key] = assign(_this.data[key], { | ||
.then(function () { | ||
return mutate({ mutation: mutation, variables: variables }); | ||
return mutate(mutationOptions); | ||
}) | ||
@@ -313,0 +315,0 @@ .then(forceRender) |
@@ -1,2 +0,2 @@ | ||
!function t(e,r,n){function o(a,s){if(!r[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var p=r[a]={exports:{}};e[a][0].call(p.exports,function(t){var r=e[a][1][t];return o(r?r:t)},p,p.exports,t,e,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("react"),i=t("react"),a=t("react-redux"),s=t("invariant"),u=function(t){function e(e,r){return t.call(this,e,r),s(e.client,'ApolloClient was not passed a client instance. Make sure you pass in your client via the "client" prop.'),this.client=e.client,e.store?void(this.store=e.store):(e.client.initStore(),void(this.store=e.client.store))}return n(e,t),e.prototype.getChildContext=function(){return{store:this.store,client:this.client}},e.prototype.render=function(){var t=this.props.children;return o.createElement(a.Provider,{store:this.store},t)},e.propTypes={store:i.PropTypes.shape({subscribe:i.PropTypes.func.isRequired,dispatch:i.PropTypes.func.isRequired,getState:i.PropTypes.func.isRequired}),client:i.PropTypes.object.isRequired,children:i.PropTypes.element.isRequired},e.childContextTypes={store:i.PropTypes.object.isRequired,client:i.PropTypes.object.isRequired},e}(i.Component);Object.defineProperty(r,"__esModule",{value:!0}),r.default=u},{invariant:7,react:4,"react-redux":15}],2:[function(t,e,r){"use strict";function n(t){return t.displayName||t.name||"Component"}function o(t){t||(t={});var e,r=t.mapQueriesToProps,o=t.mapMutationsToProps;r&&(e=!0),delete t.mapQueriesToProps,delete t.mapMutationsToProps,r=r?r:d,o=o?o:y;var _=g++;return function(d){var y="Apollo("+n(d)+")",g=function(n){function l(t,e){n.call(this,t,e),this.childRenderError=null,this.isRenderingError=!1,this.version=_,this.store=t.store||e.store,this.client=t.client||e.client,c(!!this.client,'Could not find "client" in either the context or '+('props of "'+y+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "client" as a prop to "'+y+'".'));var r=this.store.getState();this.state=p({},r),this.previousState=r,this.data={},this.mutations={}}return i(l,n),l.prototype.componentWillMount=function(){var t=this.props;this.subscribeToAllQueries(t),this.createAllMutationHandles(t),this.bindStoreUpdates()},l.prototype.componentDidMount=function(){this.hasMounted=!0},l.prototype.componentWillReceiveProps=function(t){u(this.props,t)||(this.haveOwnPropsChanged=!0,this.createAllMutationHandles(t),this.subscribeToAllQueries(t))},l.prototype.shouldComponentUpdate=function(t,e){return this.haveOwnPropsChanged||this.hasOwnStateChanged||this.hasQueryDataChanged||this.hasMutationDataChanged},l.prototype.componentWillUnmount=function(){this.unsubcribeAllQueries(),this.unsubscribeFromStore&&(this.unsubscribeFromStore(),this.unsubscribeFromStore=null),this.hasMounted=!1},l.prototype.forceRenderChildren=function(){var t=this.isRenderingError;try{this.setState(this.store.getState())}catch(e){this.childRenderError=e,this.isRenderingError=!0,t||this.forceUpdate()}},l.prototype.bindStoreUpdates=function(){var t=this,e=this.store,r=this.client.reduxRootKey;this.unsubscribeFromStore=e.subscribe(function(){var n=t.props,o=p({},e.getState()),i=p({},t.previousState);delete o[r],delete i[r],u(i,o)||(t.previousState=o,t.hasOwnStateChanged=t.subscribeToAllQueries(n),t.createAllMutationHandles(n))})},l.prototype.subscribeToAllQueries=function(t){var e=this.client,n=e.watchQuery,o=e.reduxRootKey,i=this.store,a=r({state:i.getState(),ownProps:t}),c=p({},this.previousQueries);if(this.previousQueries=p({},a),u(c,a))return!1;if(c&&this.unsubcribeAllQueries(),s(a)&&Object.keys(a).length){this.queryHandles=a;for(var l in a)if(a.hasOwnProperty(l)){var f=a[l],d=f.query,y=f.variables,b=f.forceFetch,g=n(a[l]),_=v;if(!b)try{var w=h.readQueryFromStore({store:i.getState()[o].data,query:d,variables:y});_=p({errors:null,loading:!1},w)}catch(t){}this.data[l]=_,this.handleQueryData(g,l)}}return!0},l.prototype.unsubcribeAllQueries=function(){if(this.queryHandles)for(var t in this.queryHandles)this.queryHandles.hasOwnProperty(t)&&this.queryHandles[t].unsubscribe()},l.prototype.handleQueryData=function(t,e){var r,n,o,i=this,a=function(t,e){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];return i.data[t]=p(i.data[t],{loading:!0,refetch:r}),i.hasQueryDataChanged=!0,i.hasMounted&&i.forceRenderChildren(),e.apply(void 0,n)}},s={},l=function(t){var a=t.errors,l=t.data,f=void 0===l?s:l,h="errors"in f||"loading"in f||"refetch"in f||"startPolling"in f||"stopPolling"in f;c(!h,"the result of the '"+e+"' query contains keys that conflict with the return object. 'errors', 'loading', 'startPolling', 'stopPolling', and 'refetch' cannot be returned keys"),(!u(s,f)||a||i.data[e].loading)&&(i.hasQueryDataChanged=!0),s=p({},f),i.data[e]=p({loading:!1,errors:a,refetch:r,startPolling:n,stopPolling:o},f),i.hasMounted&&i.forceRenderChildren()};this.queryHandles[e]=t.subscribe({next:l,error:function(t){l({errors:t})}}),r=a(e,this.queryHandles[e].refetch),n=this.queryHandles[e].startPolling,o=this.queryHandles[e].stopPolling,this.data[e]=p(this.data[e],{refetch:r,startPolling:n,stopPolling:o})},l.prototype.createAllMutationHandles=function(t){var e=o({ownProps:t,state:this.store.getState()});if(s(e)&&Object.keys(e).length)for(var r in e)if(e.hasOwnProperty(r)){var n=this.createMutationHandle(r,e[r]);this.data[r]=b,this.mutations[r]=n}},l.prototype.createMutationHandle=function(t,e){var r=this,n=this.client.mutate,o=this.store,i=function(e){var n=e.errors,o=e.data,i=void 0===o?{}:o,a="errors"in i||"loading"in i||"refetch"in i;return c(!a,"the result of the '"+t+"' mutation contains keys that conflict with the return object. 'errors', 'loading', and 'refetch' cannot be returned keys"),r.data[t]=p({loading:!1,errors:n},i),r.hasMutationDataChanged=!0,r.hasMounted&&r.forceRenderChildren(),{errors:n,data:i}};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s-0]=arguments[s];var u={state:o.getState(),ownProps:r.props};a.push(u);var c=e.apply(r.client,a),l=c.mutation,f=c.variables;return new Promise(function(e,n){r.data[t]=p(r.data[t],{loading:!0}),r.hasMutationDataChanged=!0,r.hasMounted&&r.forceRenderChildren(),e()}).then(function(){return n({mutation:l,variables:f})}).then(i).catch(function(t){return i({errors:t})})}},l.prototype.render=function(){var t=this,e=t.haveOwnPropsChanged,r=t.hasOwnStateChanged,n=t.hasQueryDataChanged,o=t.hasMutationDataChanged,i=t.childRenderError,s=t.renderedElement,u=t.mutations,c=t.props,l=t.data;if(this.childRenderError=null,i)throw i;this.haveOwnPropsChanged=!1,this.hasOwnStateChanged=!1,this.hasQueryDataChanged=!1,this.hasMutationDataChanged=!1;var f={};Object.keys(u).length&&(f.mutations=u);var h=p({},c,f,l);for(var y in this.client)this.client.hasOwnProperty(y)&&("function"!=typeof this.client[y]||h[y]||(h[y]=this.client[y]));return e||r||n||o||!s?(this.renderedElement=a.createElement(d,h),this.renderedElement):s},l.displayName=y,l.WrappedComponent=d,l.contextTypes={store:a.PropTypes.object.isRequired,client:a.PropTypes.object.isRequired},l.mapQueriesToProps=!!e&&r,l.opts=t,l}(a.Component);l(g,d);var w=t.mapStateToProps,m=t.mapDispatchToProps,P=t.mergeProps,O=t.options;return f.connect(w,m,P,O)(g)}}var i=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},a=t("react"),s=t("lodash.isobject"),u=t("lodash.isequal"),c=t("invariant"),p=t("object-assign"),l=t("hoist-non-react-statics"),f=t("react-redux"),h=t("apollo-client"),d=function(t){return{}},y=function(t){return{}},v={loading:!0,errors:null},b=p({},v);b.loading=!1;var g=0;Object.defineProperty(r,"__esModule",{value:!0}),r.default=o},{"apollo-client":4,"hoist-non-react-statics":6,invariant:7,"lodash.isequal":8,"lodash.isobject":11,"object-assign":12,react:4,"react-redux":15}],3:[function(t,e,r){"use strict";var n=t("./ApolloProvider");r.ApolloProvider=n.default;var o=t("./connect");r.connect=o.default},{"./ApolloProvider":1,"./connect":2}],4:[function(t,e,r){},{}],5:[function(t,e,r){function n(){f&&p&&(f=!1,p.length?l=p.concat(l):h=-1,l.length&&o())}function o(){if(!f){var t=s(n);f=!0;for(var e=l.length;e;){for(p=l,l=[];++h<e;)p&&p[h].run();h=-1,e=l.length}p=null,f=!1,u(t)}}function i(t,e){this.fun=t,this.array=e}function a(){}var s,u,c=e.exports={};!function(){try{s=setTimeout}catch(t){s=function(){throw new Error("setTimeout is not defined")}}try{u=clearTimeout}catch(t){u=function(){throw new Error("clearTimeout is not defined")}}}();var p,l=[],f=!1,h=-1;c.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new i(t,e)),1!==l.length||f||s(o,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=a,c.addListener=a,c.once=a,c.off=a,c.removeListener=a,c.removeAllListeners=a,c.emit=a,c.binding=function(t){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(t){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},{}],6:[function(t,e,r){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},i="function"==typeof Object.getOwnPropertySymbols;e.exports=function(t,e,r){if("string"!=typeof e){var a=Object.getOwnPropertyNames(e);i&&(a=a.concat(Object.getOwnPropertySymbols(e)));for(var s=0;s<a.length;++s)if(!(n[a[s]]||o[a[s]]||r&&r[a[s]]))try{t[a[s]]=e[a[s]]}catch(t){}}return t}},{}],7:[function(t,e,r){(function(t){"use strict";var r=function(e,r,n,o,i,a,s,u){if("production"!==t.env.NODE_ENV&&void 0===r)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===r)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[n,o,i,a,s,u],l=0;c=new Error(r.replace(/%s/g,function(){return p[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};e.exports=r}).call(this,t("_process"))},{_process:5}],8:[function(t,e,r){function n(t,e){for(var r=-1,n=t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function o(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function i(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function a(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}function s(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function u(){this.__data__=Xt?Xt(null):{}}function c(t){return this.has(t)&&delete this.__data__[t]}function p(t){var e=this.__data__;if(Xt){var r=e[t];return r===ot?void 0:r}return Ht.call(e,t)?e[t]:void 0}function l(t){var e=this.__data__;return Xt?void 0!==e[t]:Ht.call(e,t)}function f(t,e){var r=this.__data__;return r[t]=Xt&&void 0===e?ot:e,this}function h(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function d(){this.__data__=[]}function y(t){var e=this.__data__,r=N(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():zt.call(e,r,1),!0}function v(t){var e=this.__data__,r=N(e,t);return r<0?void 0:e[r][1]}function b(t){return N(this.__data__,t)>-1}function g(t,e){var r=this.__data__,n=N(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}function _(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function w(){this.__data__={hash:new s,map:new(Kt||h),string:new s}}function m(t){return H(this,t).delete(t)}function P(t){return H(this,t).get(t)}function O(t){return H(this,t).has(t)}function j(t,e){return H(this,t).set(t,e),this}function S(t){var e=-1,r=t?t.length:0;for(this.__data__=new _;++e<r;)this.add(t[e])}function E(t){return this.__data__.set(t,ot),this}function T(t){return this.__data__.has(t)}function C(t){this.__data__=new h(t)}function M(){this.__data__=new h}function x(t){return this.__data__.delete(t)}function A(t){return this.__data__.get(t)}function D(t){return this.__data__.has(t)}function R(t,e){var r=this.__data__;return r instanceof h&&r.__data__.length==nt&&(r=this.__data__=new _(r.__data__)),r.set(t,e),this}function N(t,e){for(var r=t.length;r--;)if($(t[r][0],e))return r;return-1}function k(t,e){return Ht.call(t,e)||"object"==typeof t&&e in t&&null===W(t)}function q(t,e,r,n,o){return t===e||(null==t||null==e||!Z(t)&&!J(e)?t!==t&&e!==e:I(t,e,q,r,n,o))}function I(t,e,r,n,i,a){var s=se(t),u=se(e),c=ct,p=ct;s||(c=L(t),c=c==ut?bt:c),u||(p=L(e),p=p==ut?bt:p);var l=c==bt&&!o(t),f=p==bt&&!o(e),h=c==p;if(h&&!l)return a||(a=new C),s||tt(t)?Q(t,e,r,n,i,a):U(t,e,c,r,n,i,a);if(!(i&at)){var d=l&&Ht.call(t,"__wrapped__"),y=f&&Ht.call(e,"__wrapped__");if(d||y){var v=d?t.value():t,b=y?e.value():e;return a||(a=new C),r(v,b,n,i,a)}}return!!h&&(a||(a=new C),F(t,e,r,n,i,a))}function Q(t,e,r,o,i,a){var s=i&at,u=t.length,c=e.length;if(u!=c&&!(s&&c>u))return!1;var p=a.get(t);if(p)return p==e;var l=-1,f=!0,h=i&it?new S:void 0;for(a.set(t,e);++l<u;){var d=t[l],y=e[l];if(o)var v=s?o(y,d,l,e,t,a):o(d,y,l,t,e,a);if(void 0!==v){if(v)continue;f=!1;break}if(h){if(!n(e,function(t,e){if(!h.has(e)&&(d===t||r(d,t,o,i,a)))return h.add(e)})){f=!1;break}}else if(d!==y&&!r(d,y,o,i,a)){f=!1;break}}return a.delete(t),f}function U(t,e,r,n,o,s,u){switch(r){case St:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case jt:return!(t.byteLength!=e.byteLength||!n(new Bt(t),new Bt(e)));case pt:case lt:return+t==+e;case ft:return t.name==e.name&&t.message==e.message;case vt:return t!=+t?e!=+e:t==+e;case _t:case mt:return t==e+"";case yt:var c=i;case wt:var p=s&at;if(c||(c=a),t.size!=e.size&&!p)return!1;var l=u.get(t);return l?l==e:(s|=it,u.set(t,e),Q(c(t),c(e),n,o,s,u));case Pt:if(ae)return ae.call(t)==ae.call(e)}return!1}function F(t,e,r,n,o,i){var a=o&at,s=et(t),u=s.length,c=et(e),p=c.length;if(u!=p&&!a)return!1;for(var l=u;l--;){var f=s[l];if(!(a?f in e:k(e,f)))return!1}var h=i.get(t);if(h)return h==e;var d=!0;i.set(t,e);for(var y=a;++l<u;){f=s[l];var v=t[f],b=e[f];if(n)var g=a?n(b,v,f,e,t,i):n(v,b,f,t,e,i);if(!(void 0===g?v===b||r(v,b,n,o,i):g)){d=!1;break}y||(y="constructor"==f)}if(d&&!y){var _=t.constructor,w=e.constructor;_!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(d=!1)}return i.delete(t),d}function H(t,e){var r=t.__data__;return B(e)?r["string"==typeof e?"string":"hash"]:r.map}function V(t,e){var r=t[e];return X(r)?r:void 0}function W(t){return $t(Object(t))}function L(t){return Vt.call(t)}function B(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function z(t){if(null!=t){try{return Ft.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function $(t,e){return t===e||t!==t&&e!==e}function G(t,e){return q(t,e)}function K(t){var e=Z(t)?Vt.call(t):"";return e==ht||e==dt}function Y(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=st}function Z(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function J(t){return!!t&&"object"==typeof t}function X(t){if(!Z(t))return!1;var e=K(t)||o(t)?Wt:qt;return e.test(z(t))}function tt(t){return J(t)&&Y(t.length)&&!!It[Vt.call(t)]}var et=t("lodash.keys"),rt=t("lodash._root"),nt=200,ot="__lodash_hash_undefined__",it=1,at=2,st=9007199254740991,ut="[object Arguments]",ct="[object Array]",pt="[object Boolean]",lt="[object Date]",ft="[object Error]",ht="[object Function]",dt="[object GeneratorFunction]",yt="[object Map]",vt="[object Number]",bt="[object Object]",gt="[object Promise]",_t="[object RegExp]",wt="[object Set]",mt="[object String]",Pt="[object Symbol]",Ot="[object WeakMap]",jt="[object ArrayBuffer]",St="[object DataView]",Et="[object Float32Array]",Tt="[object Float64Array]",Ct="[object Int8Array]",Mt="[object Int16Array]",xt="[object Int32Array]",At="[object Uint8Array]",Dt="[object Uint8ClampedArray]",Rt="[object Uint16Array]",Nt="[object Uint32Array]",kt=/[\\^$.*+?()[\]{}|]/g,qt=/^\[object .+?Constructor\]$/,It={};It[Et]=It[Tt]=It[Ct]=It[Mt]=It[xt]=It[At]=It[Dt]=It[Rt]=It[Nt]=!0,It[ut]=It[ct]=It[jt]=It[pt]=It[St]=It[lt]=It[ft]=It[ht]=It[yt]=It[vt]=It[bt]=It[_t]=It[wt]=It[mt]=It[Ot]=!1;var Qt=Array.prototype,Ut=Object.prototype,Ft=Function.prototype.toString,Ht=Ut.hasOwnProperty,Vt=Ut.toString,Wt=RegExp("^"+Ft.call(Ht).replace(kt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Lt=rt.Symbol,Bt=rt.Uint8Array,zt=Qt.splice,$t=Object.getPrototypeOf,Gt=V(rt,"DataView"),Kt=V(rt,"Map"),Yt=V(rt,"Promise"),Zt=V(rt,"Set"),Jt=V(rt,"WeakMap"),Xt=V(Object,"create"),te=z(Gt),ee=z(Kt),re=z(Yt),ne=z(Zt),oe=z(Jt),ie=Lt?Lt.prototype:void 0,ae=ie?ie.valueOf:void 0;s.prototype.clear=u,s.prototype.delete=c,s.prototype.get=p,s.prototype.has=l,s.prototype.set=f,h.prototype.clear=d,h.prototype.delete=y,h.prototype.get=v,h.prototype.has=b,h.prototype.set=g,_.prototype.clear=w,_.prototype.delete=m,_.prototype.get=P,_.prototype.has=O,_.prototype.set=j,S.prototype.add=S.prototype.push=E,S.prototype.has=T,C.prototype.clear=M,C.prototype.delete=x,C.prototype.get=A,C.prototype.has=D,C.prototype.set=R,(Gt&&L(new Gt(new ArrayBuffer(1)))!=St||Kt&&L(new Kt)!=yt||Yt&&L(Yt.resolve())!=gt||Zt&&L(new Zt)!=wt||Jt&&L(new Jt)!=Ot)&&(L=function(t){var e=Vt.call(t),r=e==bt?t.constructor:void 0,n=r?z(r):void 0;if(n)switch(n){case te:return St;case ee:return yt;case re:return gt;case ne:return wt;case oe:return Ot}return e});var se=Array.isArray;e.exports=G},{"lodash._root":9,"lodash.keys":10}],9:[function(t,e,r){(function(t){function n(t){return t&&t.Object===Object?t:null}var o={function:!0,object:!0},i=o[typeof r]&&r&&!r.nodeType?r:void 0,a=o[typeof e]&&e&&!e.nodeType?e:void 0,s=n(i&&a&&"object"==typeof t&&t),u=n(o[typeof self]&&self),c=n(o[typeof window]&&window),p=n(o[typeof this]&&this),l=s||c!==(p&&p.window)&&c||u||p||Function("return this")();e.exports=l}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],10:[function(t,e,r){function n(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function o(t,e){return T.call(t,e)||"object"==typeof t&&e in t&&null===s(t)}function i(t){return A(Object(t))}function a(t){return function(e){return null==e?void 0:e[t]}}function s(t){return x(Object(t))}function u(t){var e=t?t.length:void 0;return y(e)&&(R(t)||g(t)||l(t))?n(e,String):null}function c(t,e){return e=null==e?w:e,!!e&&("number"==typeof t||S.test(t))&&t>-1&&t%1==0&&t<e}function p(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||E;return t===r}function l(t){return h(t)&&T.call(t,"callee")&&(!M.call(t,"callee")||C.call(t)==m)}function f(t){return null!=t&&y(D(t))&&!d(t)}function h(t){return b(t)&&f(t)}function d(t){var e=v(t)?C.call(t):"";return e==P||e==O}function y(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=w}function v(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function b(t){return!!t&&"object"==typeof t}function g(t){return"string"==typeof t||!R(t)&&b(t)&&C.call(t)==j}function _(t){var e=p(t);if(!e&&!f(t))return i(t);var r=u(t),n=!!r,a=r||[],s=a.length;for(var l in t)!o(t,l)||n&&("length"==l||c(l,s))||e&&"constructor"==l||a.push(l);return a}var w=9007199254740991,m="[object Arguments]",P="[object Function]",O="[object GeneratorFunction]",j="[object String]",S=/^(?:0|[1-9]\d*)$/,E=Object.prototype,T=E.hasOwnProperty,C=E.toString,M=E.propertyIsEnumerable,x=Object.getPrototypeOf,A=Object.keys,D=a("length"),R=Array.isArray;e.exports=_},{}],11:[function(t,e,r){function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}e.exports=n},{}],12:[function(t,e,r){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function o(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==n.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}var i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=o()?Object.assign:function(t,e){for(var r,o,s=n(t),u=1;u<arguments.length;u++){r=Object(arguments[u]);for(var c in r)i.call(r,c)&&(s[c]=r[c]);if(Object.getOwnPropertySymbols){o=Object.getOwnPropertySymbols(r);for(var p=0;p<o.length;p++)a.call(r,o[p])&&(s[o[p]]=r[o[p]])}}return s}},{}],13:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(){h||(h=!0,(0,f.default)("<Provider> does not support changing `store` on the fly. It is most likely that you see this error because you updated to Redux 2.x and React Redux 2.x which no longer hot reload reducers automatically. See https://github.com/reactjs/react-redux/releases/tag/v2.0.0 for the migration instructions."))}r.__esModule=!0,r.default=void 0;var u=t("react"),c=t("../utils/storeShape"),p=n(c),l=t("../utils/warning"),f=n(l),h=!1,d=function(t){function e(r,n){o(this,e);var a=i(this,t.call(this,r,n));return a.store=r.store,a}return a(e,t),e.prototype.getChildContext=function(){return{store:this.store}},e.prototype.render=function(){var t=this.props.children;return u.Children.only(t)},e}(u.Component);r.default=d,"production"!==e.env.NODE_ENV&&(d.prototype.componentWillReceiveProps=function(t){var e=this.store,r=t.store;e!==r&&s()}),d.propTypes={store:p.default.isRequired,children:u.PropTypes.element.isRequired},d.childContextTypes={store:p.default.isRequired}}).call(this,t("_process"))},{"../utils/storeShape":17,"../utils/warning":18,_process:5,react:4}],14:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){return t.displayName||t.name||"Component"}function u(t,e){try{return t.apply(e)}catch(t){return M.value=t,M}}function c(t,r,n){var c=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],f=Boolean(t),d=t||E,v=void 0;v="function"==typeof r?r:r?(0,b.default)(r):T;var g=n||C,w=c.pure,P=void 0===w||w,j=c.withRef,A=void 0!==j&&j,D=P&&g!==C,R=x++;return function(t){function r(t,e){(0,m.default)(t)||(0,_.default)(e+"() in "+c+" must return a plain object. "+("Instead received "+t+"."))}function n(t,n,o){var i=g(t,n,o);return"production"!==e.env.NODE_ENV&&r(i,"mergeProps"),i}var c="Connect("+s(t)+")",b=function(s){function h(t,e){o(this,h);var r=i(this,s.call(this,t,e));r.version=R,r.store=t.store||e.store,(0,S.default)(r.store,'Could not find "store" in either the context or '+('props of "'+c+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+c+'".'));var n=r.store.getState();return r.state={storeState:n},r.clearCache(),r}return a(h,s),h.prototype.shouldComponentUpdate=function(){return!P||this.haveOwnPropsChanged||this.hasStoreStateChanged},h.prototype.computeStateProps=function(t,n){if(!this.finalMapStateToProps)return this.configureFinalMapState(t,n);var o=t.getState(),i=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(o,n):this.finalMapStateToProps(o);return"production"!==e.env.NODE_ENV&&r(i,"mapStateToProps"),i},h.prototype.configureFinalMapState=function(t,n){var o=d(t.getState(),n),i="function"==typeof o;return this.finalMapStateToProps=i?o:d,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,i?this.computeStateProps(t,n):("production"!==e.env.NODE_ENV&&r(o,"mapStateToProps"),o)},h.prototype.computeDispatchProps=function(t,n){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(t,n);var o=t.dispatch,i=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(o,n):this.finalMapDispatchToProps(o);return"production"!==e.env.NODE_ENV&&r(i,"mapDispatchToProps"),i},h.prototype.configureFinalMapDispatch=function(t,n){var o=v(t.dispatch,n),i="function"==typeof o;return this.finalMapDispatchToProps=i?o:v,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,i?this.computeDispatchProps(t,n):("production"!==e.env.NODE_ENV&&r(o,"mapDispatchToProps"),o)},h.prototype.updateStatePropsIfNeeded=function(){var t=this.computeStateProps(this.store,this.props);return(!this.stateProps||!(0,y.default)(t,this.stateProps))&&(this.stateProps=t,!0)},h.prototype.updateDispatchPropsIfNeeded=function(){var t=this.computeDispatchProps(this.store,this.props);return(!this.dispatchProps||!(0,y.default)(t,this.dispatchProps))&&(this.dispatchProps=t,!0)},h.prototype.updateMergedPropsIfNeeded=function(){var t=n(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&D&&(0,y.default)(t,this.mergedProps))&&(this.mergedProps=t,!0)},h.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},h.prototype.trySubscribe=function(){f&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},h.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},h.prototype.componentDidMount=function(){this.trySubscribe()},h.prototype.componentWillReceiveProps=function(t){P&&(0,y.default)(t,this.props)||(this.haveOwnPropsChanged=!0)},h.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},h.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},h.prototype.handleChange=function(){if(this.unsubscribe){var t=this.store.getState(),e=this.state.storeState;if(!P||e!==t){if(P&&!this.doStatePropsDependOnOwnProps){var r=u(this.updateStatePropsIfNeeded,this);if(!r)return;r===M&&(this.statePropsPrecalculationError=M.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:t})}}},h.prototype.getWrappedInstance=function(){return(0,S.default)(A,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},h.prototype.render=function(){var e=this.haveOwnPropsChanged,r=this.hasStoreStateChanged,n=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,i=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var a=!0,s=!0;P&&i&&(a=r||e&&this.doStatePropsDependOnOwnProps,s=e&&this.doDispatchPropsDependOnOwnProps);var u=!1,c=!1;n?u=!0:a&&(u=this.updateStatePropsIfNeeded()),s&&(c=this.updateDispatchPropsIfNeeded());var f=!0;return f=!!(u||c||e)&&this.updateMergedPropsIfNeeded(),!f&&i?i:(A?this.renderedElement=(0,l.createElement)(t,p({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,l.createElement)(t,this.mergedProps),this.renderedElement)},h}(l.Component);return b.displayName=c,b.WrappedComponent=t,b.contextTypes={store:h.default},b.propTypes={store:h.default},"production"!==e.env.NODE_ENV&&(b.prototype.componentWillUpdate=function(){this.version!==R&&(this.version=R,this.trySubscribe(),this.clearCache())}),(0,O.default)(b,t)}}var p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};r.__esModule=!0,r.default=c;var l=t("react"),f=t("../utils/storeShape"),h=n(f),d=t("../utils/shallowEqual"),y=n(d),v=t("../utils/wrapActionCreators"),b=n(v),g=t("../utils/warning"),_=n(g),w=t("lodash/isPlainObject"),m=n(w),P=t("hoist-non-react-statics"),O=n(P),j=t("invariant"),S=n(j),E=function(t){return{}},T=function(t){return{dispatch:t}},C=function(t,e,r){return p({},r,t,e)},M={value:null},x=0}).call(this,t("_process"))},{"../utils/shallowEqual":16,"../utils/storeShape":17,"../utils/warning":18,"../utils/wrapActionCreators":19,_process:5,"hoist-non-react-statics":6,invariant:7,"lodash/isPlainObject":23,react:4}],15:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0,r.connect=r.Provider=void 0;var o=t("./components/Provider"),i=n(o),a=t("./components/connect"),s=n(a);r.Provider=i.default,r.connect=s.default},{"./components/Provider":13,"./components/connect":14}],16:[function(t,e,r){"use strict";function n(t,e){if(t===e)return!0;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<r.length;i++)if(!o.call(e,r[i])||t[r[i]]!==e[r[i]])return!1;return!0}r.__esModule=!0,r.default=n},{}],17:[function(t,e,r){"use strict";r.__esModule=!0;var n=t("react");r.default=n.PropTypes.shape({subscribe:n.PropTypes.func.isRequired,dispatch:n.PropTypes.func.isRequired,getState:n.PropTypes.func.isRequired})},{react:4}],18:[function(t,e,r){"use strict";function n(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}r.__esModule=!0,r.default=n},{}],19:[function(t,e,r){"use strict";function n(t){return function(e){return(0,o.bindActionCreators)(t,e)}}r.__esModule=!0,r.default=n;var o=t("redux")},{redux:29}],20:[function(t,e,r){function n(t){return o(Object(t))}var o=Object.getPrototypeOf;e.exports=n},{}],21:[function(t,e,r){function n(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}e.exports=n},{}],22:[function(t,e,r){function n(t){return!!t&&"object"==typeof t}e.exports=n},{}],23:[function(t,e,r){function n(t){if(!a(t)||f.call(t)!=s||i(t))return!1;var e=o(t);if(null===e)return!0;var r=p.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}var o=t("./_getPrototype"),i=t("./_isHostObject"),a=t("./isObjectLike"),s="[object Object]",u=Object.prototype,c=Function.prototype.toString,p=u.hasOwnProperty,l=c.call(Object),f=u.toString;e.exports=n},{"./_getPrototype":20,"./_isHostObject":21,"./isObjectLike":22}],24:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){ | ||
return function(r,n,o){var a=t(r,n,o),u=a.dispatch,c=[],p={getState:a.getState,dispatch:function(t){return u(t)}};return c=e.map(function(t){return t(p)}),u=s.default.apply(void 0,c)(a.dispatch),i({},a,{dispatch:u})}}}r.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};r.default=o;var a=t("./compose"),s=n(a)},{"./compose":27}],25:[function(t,e,r){"use strict";function n(t,e){return function(){return e(t.apply(void 0,arguments))}}function o(t,e){if("function"==typeof t)return n(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(t),o={},i=0;i<r.length;i++){var a=r[i],s=t[a];"function"==typeof s&&(o[a]=n(s,e))}return o}r.__esModule=!0,r.default=o},{}],26:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var r=e&&e.type,n=r&&'"'+r.toString()+'"'||"an action";return"Given action "+n+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(t,e,r){var n=Object.keys(e),o=r&&r.type===u.ActionTypes.INIT?"initialState argument passed to createStore":"previous state received by the reducer";if(0===n.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!(0,p.default)(t))return"The "+o+' has unexpected type of "'+{}.toString.call(t).match(/\s([a-z|A-Z]+)/)[1]+'". Expected argument to be an object with the following '+('keys: "'+n.join('", "')+'"');var i=Object.keys(t).filter(function(t){return!e.hasOwnProperty(t)});return i.length>0?"Unexpected "+(i.length>1?"keys":"key")+" "+('"'+i.join('", "')+'" found in '+o+". ")+"Expected to find one of the known reducer keys instead: "+('"'+n.join('", "')+'". Unexpected keys will be ignored.'):void 0}function a(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:u.ActionTypes.INIT});if("undefined"==typeof n)throw new Error('Reducer "'+e+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof r(void 0,{type:o}))throw new Error('Reducer "'+e+'" returned undefined when probed with a random type. '+("Don't try to handle "+u.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function s(t){for(var r=Object.keys(t),n={},s=0;s<r.length;s++){var u=r[s];"function"==typeof t[u]&&(n[u]=t[u])}var c,p=Object.keys(n);try{a(n)}catch(t){c=t}return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=arguments[1];if(c)throw c;if("production"!==e.env.NODE_ENV){var a=i(t,n,r);a&&(0,f.default)(a)}for(var s=!1,u={},l=0;l<p.length;l++){var h=p[l],d=n[h],y=t[h],v=d(y,r);if("undefined"==typeof v){var b=o(h,r);throw new Error(b)}u[h]=v,s=s||v!==y}return s?u:t}}r.__esModule=!0,r.default=s;var u=t("./createStore"),c=t("lodash/isPlainObject"),p=n(c),l=t("./utils/warning"),f=n(l)}).call(this,t("_process"))},{"./createStore":28,"./utils/warning":30,_process:5,"lodash/isPlainObject":34}],27:[function(t,e,r){"use strict";function n(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(0===e.length)return function(t){return t};var n=function(){var t=e[e.length-1],r=e.slice(0,-1);return{v:function(){return r.reduceRight(function(t,e){return e(t)},t.apply(void 0,arguments))}}}();return"object"==typeof n?n.v:void 0}r.__esModule=!0,r.default=n},{}],28:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e,r){function n(){b===v&&(b=v.slice())}function i(){return y}function s(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return n(),b.push(t),function(){if(e){e=!1,n();var r=b.indexOf(t);b.splice(r,1)}}}function p(t){if(!(0,a.default)(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(g)throw new Error("Reducers may not dispatch actions.");try{g=!0,y=d(y,t)}finally{g=!1}for(var e=v=b,r=0;r<e.length;r++)e[r]();return t}function l(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");d=t,p({type:c.INIT})}function f(){var t,e=s;return t={subscribe:function(t){function r(){t.next&&t.next(i())}if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");r();var n=e(r);return{unsubscribe:n}}},t[u.default]=function(){return this},t}var h;if("function"==typeof e&&"undefined"==typeof r&&(r=e,e=void 0),"undefined"!=typeof r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(o)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var d=t,y=e,v=[],b=v,g=!1;return p({type:c.INIT}),h={dispatch:p,subscribe:s,getState:i,replaceReducer:l},h[u.default]=f,h}r.__esModule=!0,r.ActionTypes=void 0,r.default=o;var i=t("lodash/isPlainObject"),a=n(i),s=t("symbol-observable"),u=n(s),c=r.ActionTypes={INIT:"@@redux/INIT"}},{"lodash/isPlainObject":34,"symbol-observable":35}],29:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(){}r.__esModule=!0,r.compose=r.applyMiddleware=r.bindActionCreators=r.combineReducers=r.createStore=void 0;var i=t("./createStore"),a=n(i),s=t("./combineReducers"),u=n(s),c=t("./bindActionCreators"),p=n(c),l=t("./applyMiddleware"),f=n(l),h=t("./compose"),d=n(h),y=t("./utils/warning"),v=n(y);"production"!==e.env.NODE_ENV&&"string"==typeof o.name&&"isCrushed"!==o.name&&(0,v.default)("You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build."),r.createStore=a.default,r.combineReducers=u.default,r.bindActionCreators=p.default,r.applyMiddleware=f.default,r.compose=d.default}).call(this,t("_process"))},{"./applyMiddleware":24,"./bindActionCreators":25,"./combineReducers":26,"./compose":27,"./createStore":28,"./utils/warning":30,_process:5}],30:[function(t,e,r){"use strict";function n(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}r.__esModule=!0,r.default=n},{}],31:[function(t,e,r){arguments[4][20][0].apply(r,arguments)},{dup:20}],32:[function(t,e,r){arguments[4][21][0].apply(r,arguments)},{dup:21}],33:[function(t,e,r){arguments[4][22][0].apply(r,arguments)},{dup:22}],34:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{"./_getPrototype":31,"./_isHostObject":32,"./isObjectLike":33,dup:23}],35:[function(t,e,r){(function(r){"use strict";e.exports=t("./ponyfill")(r||window||this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ponyfill":36}],36:[function(t,e,r){"use strict";e.exports=function(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}},{}]},{},[3]); | ||
!function t(e,r,n){function o(s,a){if(!r[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var p=r[s]={exports:{}};e[s][0].call(p.exports,function(t){var r=e[s][1][t];return o(r?r:t)},p,p.exports,t,e,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("react"),i=t("react"),s=t("react-redux"),a=t("invariant"),u=function(t){function e(e,r){return t.call(this,e,r),a(e.client,'ApolloClient was not passed a client instance. Make sure you pass in your client via the "client" prop.'),this.client=e.client,e.store?void(this.store=e.store):(e.client.initStore(),void(this.store=e.client.store))}return n(e,t),e.prototype.getChildContext=function(){return{store:this.store,client:this.client}},e.prototype.render=function(){var t=this.props.children;return o.createElement(s.Provider,{store:this.store},t)},e.propTypes={store:i.PropTypes.shape({subscribe:i.PropTypes.func.isRequired,dispatch:i.PropTypes.func.isRequired,getState:i.PropTypes.func.isRequired}),client:i.PropTypes.object.isRequired,children:i.PropTypes.element.isRequired},e.childContextTypes={store:i.PropTypes.object.isRequired,client:i.PropTypes.object.isRequired},e}(i.Component);Object.defineProperty(r,"__esModule",{value:!0}),r.default=u},{invariant:7,react:4,"react-redux":15}],2:[function(t,e,r){"use strict";function n(t){return t.displayName||t.name||"Component"}function o(t){t||(t={});var e,r=t.mapQueriesToProps,o=t.mapMutationsToProps;r&&(e=!0),delete t.mapQueriesToProps,delete t.mapMutationsToProps,r=r?r:d,o=o?o:y;var _=g++;return function(d){var y="Apollo("+n(d)+")",g=function(n){function l(t,e){n.call(this,t,e),this.childRenderError=null,this.isRenderingError=!1,this.version=_,this.store=t.store||e.store,this.client=t.client||e.client,c(!!this.client,'Could not find "client" in either the context or '+('props of "'+y+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "client" as a prop to "'+y+'".'));var r=this.store.getState();this.state=p({},r),this.previousState=r,this.data={},this.mutations={},this.queryObservables={},this.querySubscriptions={}}return i(l,n),l.prototype.componentWillMount=function(){var t=this.props;this.subscribeToAllQueries(t),this.createAllMutationHandles(t),this.bindStoreUpdates()},l.prototype.componentDidMount=function(){this.hasMounted=!0},l.prototype.componentWillReceiveProps=function(t){u(this.props,t)||(this.haveOwnPropsChanged=!0,this.createAllMutationHandles(t),this.subscribeToAllQueries(t))},l.prototype.shouldComponentUpdate=function(t,e){return this.haveOwnPropsChanged||this.hasOwnStateChanged||this.hasQueryDataChanged||this.hasMutationDataChanged},l.prototype.componentWillUnmount=function(){this.unsubcribeAllQueries(),this.unsubscribeFromStore&&(this.unsubscribeFromStore(),this.unsubscribeFromStore=null),this.hasMounted=!1},l.prototype.forceRenderChildren=function(){var t=this.isRenderingError;try{this.setState(this.store.getState())}catch(e){this.childRenderError=e,this.isRenderingError=!0,t||this.forceUpdate()}},l.prototype.bindStoreUpdates=function(){var t=this,e=this.store,r=this.client.reduxRootKey;this.unsubscribeFromStore=e.subscribe(function(){var n=t.props,o=p({},e.getState()),i=p({},t.previousState);delete o[r],delete i[r],u(i,o)||(t.previousState=o,t.hasOwnStateChanged=t.subscribeToAllQueries(n),t.createAllMutationHandles(n))})},l.prototype.subscribeToAllQueries=function(t){var e=this.client,n=e.watchQuery,o=e.reduxRootKey,i=this.store,s=r({state:i.getState(),ownProps:t}),c=p({},this.previousQueries);if(this.previousQueries=p({},s),u(c,s))return!1;if(c&&this.unsubcribeAllQueries(),a(s)&&Object.keys(s).length)for(var l in s)if(s.hasOwnProperty(l)){var f=s[l],d=f.query,y=f.variables,b=f.forceFetch,g=n(s[l]),_=v;if(!b)try{var w=h.readQueryFromStore({store:i.getState()[o].data,query:d,variables:y});_=p({errors:null,loading:!1},w)}catch(t){}this.data[l]=_,this.handleQueryData(g,l)}return!0},l.prototype.unsubcribeAllQueries=function(){if(this.querySubscriptions)for(var t in this.querySubscriptions)this.querySubscriptions.hasOwnProperty(t)&&this.querySubscriptions[t].unsubscribe()},l.prototype.handleQueryData=function(t,e){var r,n,o,i=this,s=function(t,e){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o-0]=arguments[o];return i.data[t]=p(i.data[t],{loading:!0,refetch:r}),i.hasQueryDataChanged=!0,i.hasMounted&&i.forceRenderChildren(),e.apply(void 0,n)}},a={},l=function(t){var s=t.errors,l=t.data,f=void 0===l?a:l,h="errors"in f||"loading"in f||"refetch"in f||"startPolling"in f||"stopPolling"in f;c(!h,"the result of the '"+e+"' query contains keys that conflict with the return object. 'errors', 'loading', 'startPolling', 'stopPolling', and 'refetch' cannot be returned keys"),(!u(a,f)||s||i.data[e].loading)&&(i.hasQueryDataChanged=!0),a=p({},f),i.data[e]=p({loading:!1,errors:s,refetch:r,startPolling:n,stopPolling:o},f),i.hasMounted&&i.forceRenderChildren()};this.queryObservables[e]=t,this.querySubscriptions[e]=t.subscribe({next:l,error:function(t){l({errors:t})}}),r=s(e,this.queryObservables[e].refetch),n=this.queryObservables[e].startPolling,o=this.queryObservables[e].stopPolling,this.data[e]=p(this.data[e],{refetch:r,startPolling:n,stopPolling:o})},l.prototype.createAllMutationHandles=function(t){var e=o({ownProps:t,state:this.store.getState()});if(a(e)&&Object.keys(e).length)for(var r in e)if(e.hasOwnProperty(r)){var n=this.createMutationHandle(r,e[r]);this.data[r]=b,this.mutations[r]=n}},l.prototype.createMutationHandle=function(t,e){var r=this,n=this.client.mutate,o=this.store,i=function(e){var n=e.errors,o=e.data,i=void 0===o?{}:o,s="errors"in i||"loading"in i||"refetch"in i;return c(!s,"the result of the '"+t+"' mutation contains keys that conflict with the return object. 'errors', 'loading', and 'refetch' cannot be returned keys"),r.data[t]=p({loading:!1,errors:n},i),r.hasMutationDataChanged=!0,r.hasMounted&&r.forceRenderChildren(),{errors:n,data:i}};return function(){for(var s=[],a=0;a<arguments.length;a++)s[a-0]=arguments[a];var u={state:o.getState(),ownProps:r.props};s.push(u);var c=e.apply(r.client,s);return new Promise(function(e,n){r.data[t]=p(r.data[t],{loading:!0}),r.hasMutationDataChanged=!0,r.hasMounted&&r.forceRenderChildren(),e()}).then(function(){return n(c)}).then(i).catch(function(t){return i({errors:t})})}},l.prototype.render=function(){var t=this,e=t.haveOwnPropsChanged,r=t.hasOwnStateChanged,n=t.hasQueryDataChanged,o=t.hasMutationDataChanged,i=t.childRenderError,a=t.renderedElement,u=t.mutations,c=t.props,l=t.data;if(this.childRenderError=null,i)throw i;this.haveOwnPropsChanged=!1,this.hasOwnStateChanged=!1,this.hasQueryDataChanged=!1,this.hasMutationDataChanged=!1;var f={};Object.keys(u).length&&(f.mutations=u);var h=p({},c,f,l);for(var y in this.client)this.client.hasOwnProperty(y)&&("function"!=typeof this.client[y]||h[y]||(h[y]=this.client[y]));return e||r||n||o||!a?(this.renderedElement=s.createElement(d,h),this.renderedElement):a},l.displayName=y,l.WrappedComponent=d,l.contextTypes={store:s.PropTypes.object.isRequired,client:s.PropTypes.object.isRequired},l.mapQueriesToProps=!!e&&r,l.opts=t,l}(s.Component);l(g,d);var w=t.mapStateToProps,m=t.mapDispatchToProps,P=t.mergeProps,O=t.options;return f.connect(w,m,P,O)(g)}}var i=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("react"),a=t("lodash.isobject"),u=t("lodash.isequal"),c=t("invariant"),p=t("object-assign"),l=t("hoist-non-react-statics"),f=t("react-redux"),h=t("apollo-client"),d=function(t){return{}},y=function(t){return{}},v={loading:!0,errors:null},b=p({},v);b.loading=!1;var g=0;Object.defineProperty(r,"__esModule",{value:!0}),r.default=o},{"apollo-client":4,"hoist-non-react-statics":6,invariant:7,"lodash.isequal":8,"lodash.isobject":11,"object-assign":12,react:4,"react-redux":15}],3:[function(t,e,r){"use strict";var n=t("./ApolloProvider");r.ApolloProvider=n.default;var o=t("./connect");r.connect=o.default},{"./ApolloProvider":1,"./connect":2}],4:[function(t,e,r){},{}],5:[function(t,e,r){function n(){f&&p&&(f=!1,p.length?l=p.concat(l):h=-1,l.length&&o())}function o(){if(!f){var t=a(n);f=!0;for(var e=l.length;e;){for(p=l,l=[];++h<e;)p&&p[h].run();h=-1,e=l.length}p=null,f=!1,u(t)}}function i(t,e){this.fun=t,this.array=e}function s(){}var a,u,c=e.exports={};!function(){try{a=setTimeout}catch(t){a=function(){throw new Error("setTimeout is not defined")}}try{u=clearTimeout}catch(t){u=function(){throw new Error("clearTimeout is not defined")}}}();var p,l=[],f=!1,h=-1;c.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new i(t,e)),1!==l.length||f||a(o,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=s,c.addListener=s,c.once=s,c.off=s,c.removeListener=s,c.removeAllListeners=s,c.emit=s,c.binding=function(t){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(t){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},{}],6:[function(t,e,r){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},i="function"==typeof Object.getOwnPropertySymbols;e.exports=function(t,e,r){if("string"!=typeof e){var s=Object.getOwnPropertyNames(e);i&&(s=s.concat(Object.getOwnPropertySymbols(e)));for(var a=0;a<s.length;++a)if(!(n[s[a]]||o[s[a]]||r&&r[s[a]]))try{t[s[a]]=e[s[a]]}catch(t){}}return t}},{}],7:[function(t,e,r){(function(t){"use strict";var r=function(e,r,n,o,i,s,a,u){if("production"!==t.env.NODE_ENV&&void 0===r)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===r)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[n,o,i,s,a,u],l=0;c=new Error(r.replace(/%s/g,function(){return p[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};e.exports=r}).call(this,t("_process"))},{_process:5}],8:[function(t,e,r){function n(t,e){for(var r=-1,n=t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function o(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function i(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function s(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}function a(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function u(){this.__data__=Xt?Xt(null):{}}function c(t){return this.has(t)&&delete this.__data__[t]}function p(t){var e=this.__data__;if(Xt){var r=e[t];return r===ot?void 0:r}return Vt.call(e,t)?e[t]:void 0}function l(t){var e=this.__data__;return Xt?void 0!==e[t]:Vt.call(e,t)}function f(t,e){var r=this.__data__;return r[t]=Xt&&void 0===e?ot:e,this}function h(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function d(){this.__data__=[]}function y(t){var e=this.__data__,r=N(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():zt.call(e,r,1),!0}function v(t){var e=this.__data__,r=N(e,t);return r<0?void 0:e[r][1]}function b(t){return N(this.__data__,t)>-1}function g(t,e){var r=this.__data__,n=N(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}function _(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function w(){this.__data__={hash:new a,map:new(Kt||h),string:new a}}function m(t){return V(this,t).delete(t)}function P(t){return V(this,t).get(t)}function O(t){return V(this,t).has(t)}function j(t,e){return V(this,t).set(t,e),this}function S(t){var e=-1,r=t?t.length:0;for(this.__data__=new _;++e<r;)this.add(t[e])}function E(t){return this.__data__.set(t,ot),this}function T(t){return this.__data__.has(t)}function C(t){this.__data__=new h(t)}function M(){this.__data__=new h}function x(t){return this.__data__.delete(t)}function A(t){return this.__data__.get(t)}function D(t){return this.__data__.has(t)}function R(t,e){var r=this.__data__;return r instanceof h&&r.__data__.length==nt&&(r=this.__data__=new _(r.__data__)),r.set(t,e),this}function N(t,e){for(var r=t.length;r--;)if($(t[r][0],e))return r;return-1}function k(t,e){return Vt.call(t,e)||"object"==typeof t&&e in t&&null===L(t)}function q(t,e,r,n,o){return t===e||(null==t||null==e||!Z(t)&&!J(e)?t!==t&&e!==e:I(t,e,q,r,n,o))}function I(t,e,r,n,i,s){var a=ae(t),u=ae(e),c=ct,p=ct;a||(c=H(t),c=c==ut?bt:c),u||(p=H(e),p=p==ut?bt:p);var l=c==bt&&!o(t),f=p==bt&&!o(e),h=c==p;if(h&&!l)return s||(s=new C),a||tt(t)?Q(t,e,r,n,i,s):U(t,e,c,r,n,i,s);if(!(i&st)){var d=l&&Vt.call(t,"__wrapped__"),y=f&&Vt.call(e,"__wrapped__");if(d||y){var v=d?t.value():t,b=y?e.value():e;return s||(s=new C),r(v,b,n,i,s)}}return!!h&&(s||(s=new C),F(t,e,r,n,i,s))}function Q(t,e,r,o,i,s){var a=i&st,u=t.length,c=e.length;if(u!=c&&!(a&&c>u))return!1;var p=s.get(t);if(p)return p==e;var l=-1,f=!0,h=i&it?new S:void 0;for(s.set(t,e);++l<u;){var d=t[l],y=e[l];if(o)var v=a?o(y,d,l,e,t,s):o(d,y,l,t,e,s);if(void 0!==v){if(v)continue;f=!1;break}if(h){if(!n(e,function(t,e){if(!h.has(e)&&(d===t||r(d,t,o,i,s)))return h.add(e)})){f=!1;break}}else if(d!==y&&!r(d,y,o,i,s)){f=!1;break}}return s.delete(t),f}function U(t,e,r,n,o,a,u){switch(r){case St:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case jt:return!(t.byteLength!=e.byteLength||!n(new Bt(t),new Bt(e)));case pt:case lt:return+t==+e;case ft:return t.name==e.name&&t.message==e.message;case vt:return t!=+t?e!=+e:t==+e;case _t:case mt:return t==e+"";case yt:var c=i;case wt:var p=a&st;if(c||(c=s),t.size!=e.size&&!p)return!1;var l=u.get(t);return l?l==e:(a|=it,u.set(t,e),Q(c(t),c(e),n,o,a,u));case Pt:if(se)return se.call(t)==se.call(e)}return!1}function F(t,e,r,n,o,i){var s=o&st,a=et(t),u=a.length,c=et(e),p=c.length;if(u!=p&&!s)return!1;for(var l=u;l--;){var f=a[l];if(!(s?f in e:k(e,f)))return!1}var h=i.get(t);if(h)return h==e;var d=!0;i.set(t,e);for(var y=s;++l<u;){f=a[l];var v=t[f],b=e[f];if(n)var g=s?n(b,v,f,e,t,i):n(v,b,f,t,e,i);if(!(void 0===g?v===b||r(v,b,n,o,i):g)){d=!1;break}y||(y="constructor"==f)}if(d&&!y){var _=t.constructor,w=e.constructor;_!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(d=!1)}return i.delete(t),d}function V(t,e){var r=t.__data__;return B(e)?r["string"==typeof e?"string":"hash"]:r.map}function W(t,e){var r=t[e];return X(r)?r:void 0}function L(t){return $t(Object(t))}function H(t){return Wt.call(t)}function B(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function z(t){if(null!=t){try{return Ft.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function $(t,e){return t===e||t!==t&&e!==e}function G(t,e){return q(t,e)}function K(t){var e=Z(t)?Wt.call(t):"";return e==ht||e==dt}function Y(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=at}function Z(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function J(t){return!!t&&"object"==typeof t}function X(t){if(!Z(t))return!1;var e=K(t)||o(t)?Lt:qt;return e.test(z(t))}function tt(t){return J(t)&&Y(t.length)&&!!It[Wt.call(t)]}var et=t("lodash.keys"),rt=t("lodash._root"),nt=200,ot="__lodash_hash_undefined__",it=1,st=2,at=9007199254740991,ut="[object Arguments]",ct="[object Array]",pt="[object Boolean]",lt="[object Date]",ft="[object Error]",ht="[object Function]",dt="[object GeneratorFunction]",yt="[object Map]",vt="[object Number]",bt="[object Object]",gt="[object Promise]",_t="[object RegExp]",wt="[object Set]",mt="[object String]",Pt="[object Symbol]",Ot="[object WeakMap]",jt="[object ArrayBuffer]",St="[object DataView]",Et="[object Float32Array]",Tt="[object Float64Array]",Ct="[object Int8Array]",Mt="[object Int16Array]",xt="[object Int32Array]",At="[object Uint8Array]",Dt="[object Uint8ClampedArray]",Rt="[object Uint16Array]",Nt="[object Uint32Array]",kt=/[\\^$.*+?()[\]{}|]/g,qt=/^\[object .+?Constructor\]$/,It={};It[Et]=It[Tt]=It[Ct]=It[Mt]=It[xt]=It[At]=It[Dt]=It[Rt]=It[Nt]=!0,It[ut]=It[ct]=It[jt]=It[pt]=It[St]=It[lt]=It[ft]=It[ht]=It[yt]=It[vt]=It[bt]=It[_t]=It[wt]=It[mt]=It[Ot]=!1;var Qt=Array.prototype,Ut=Object.prototype,Ft=Function.prototype.toString,Vt=Ut.hasOwnProperty,Wt=Ut.toString,Lt=RegExp("^"+Ft.call(Vt).replace(kt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ht=rt.Symbol,Bt=rt.Uint8Array,zt=Qt.splice,$t=Object.getPrototypeOf,Gt=W(rt,"DataView"),Kt=W(rt,"Map"),Yt=W(rt,"Promise"),Zt=W(rt,"Set"),Jt=W(rt,"WeakMap"),Xt=W(Object,"create"),te=z(Gt),ee=z(Kt),re=z(Yt),ne=z(Zt),oe=z(Jt),ie=Ht?Ht.prototype:void 0,se=ie?ie.valueOf:void 0;a.prototype.clear=u,a.prototype.delete=c,a.prototype.get=p,a.prototype.has=l,a.prototype.set=f,h.prototype.clear=d,h.prototype.delete=y,h.prototype.get=v,h.prototype.has=b,h.prototype.set=g,_.prototype.clear=w,_.prototype.delete=m,_.prototype.get=P,_.prototype.has=O,_.prototype.set=j,S.prototype.add=S.prototype.push=E,S.prototype.has=T,C.prototype.clear=M,C.prototype.delete=x,C.prototype.get=A,C.prototype.has=D,C.prototype.set=R,(Gt&&H(new Gt(new ArrayBuffer(1)))!=St||Kt&&H(new Kt)!=yt||Yt&&H(Yt.resolve())!=gt||Zt&&H(new Zt)!=wt||Jt&&H(new Jt)!=Ot)&&(H=function(t){var e=Wt.call(t),r=e==bt?t.constructor:void 0,n=r?z(r):void 0;if(n)switch(n){case te:return St;case ee:return yt;case re:return gt;case ne:return wt;case oe:return Ot}return e});var ae=Array.isArray;e.exports=G},{"lodash._root":9,"lodash.keys":10}],9:[function(t,e,r){(function(t){function n(t){return t&&t.Object===Object?t:null}var o={function:!0,object:!0},i=o[typeof r]&&r&&!r.nodeType?r:void 0,s=o[typeof e]&&e&&!e.nodeType?e:void 0,a=n(i&&s&&"object"==typeof t&&t),u=n(o[typeof self]&&self),c=n(o[typeof window]&&window),p=n(o[typeof this]&&this),l=a||c!==(p&&p.window)&&c||u||p||Function("return this")();e.exports=l}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],10:[function(t,e,r){function n(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function o(t,e){return T.call(t,e)||"object"==typeof t&&e in t&&null===a(t)}function i(t){return A(Object(t))}function s(t){return function(e){return null==e?void 0:e[t]}}function a(t){return x(Object(t))}function u(t){var e=t?t.length:void 0;return y(e)&&(R(t)||g(t)||l(t))?n(e,String):null}function c(t,e){return e=null==e?w:e,!!e&&("number"==typeof t||S.test(t))&&t>-1&&t%1==0&&t<e}function p(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||E;return t===r}function l(t){return h(t)&&T.call(t,"callee")&&(!M.call(t,"callee")||C.call(t)==m)}function f(t){return null!=t&&y(D(t))&&!d(t)}function h(t){return b(t)&&f(t)}function d(t){var e=v(t)?C.call(t):"";return e==P||e==O}function y(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=w}function v(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function b(t){return!!t&&"object"==typeof t}function g(t){return"string"==typeof t||!R(t)&&b(t)&&C.call(t)==j}function _(t){var e=p(t);if(!e&&!f(t))return i(t);var r=u(t),n=!!r,s=r||[],a=s.length;for(var l in t)!o(t,l)||n&&("length"==l||c(l,a))||e&&"constructor"==l||s.push(l);return s}var w=9007199254740991,m="[object Arguments]",P="[object Function]",O="[object GeneratorFunction]",j="[object String]",S=/^(?:0|[1-9]\d*)$/,E=Object.prototype,T=E.hasOwnProperty,C=E.toString,M=E.propertyIsEnumerable,x=Object.getPrototypeOf,A=Object.keys,D=s("length"),R=Array.isArray;e.exports=_},{}],11:[function(t,e,r){function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}e.exports=n},{}],12:[function(t,e,r){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function o(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==n.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(t){return!1}}var i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=o()?Object.assign:function(t,e){for(var r,o,a=n(t),u=1;u<arguments.length;u++){r=Object(arguments[u]);for(var c in r)i.call(r,c)&&(a[c]=r[c]);if(Object.getOwnPropertySymbols){o=Object.getOwnPropertySymbols(r);for(var p=0;p<o.length;p++)s.call(r,o[p])&&(a[o[p]]=r[o[p]])}}return a}},{}],13:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(){h||(h=!0,(0,f.default)("<Provider> does not support changing `store` on the fly. It is most likely that you see this error because you updated to Redux 2.x and React Redux 2.x which no longer hot reload reducers automatically. See https://github.com/reactjs/react-redux/releases/tag/v2.0.0 for the migration instructions."))}r.__esModule=!0,r.default=void 0;var u=t("react"),c=t("../utils/storeShape"),p=n(c),l=t("../utils/warning"),f=n(l),h=!1,d=function(t){function e(r,n){o(this,e);var s=i(this,t.call(this,r,n));return s.store=r.store,s}return s(e,t),e.prototype.getChildContext=function(){return{store:this.store}},e.prototype.render=function(){var t=this.props.children;return u.Children.only(t)},e}(u.Component);r.default=d,"production"!==e.env.NODE_ENV&&(d.prototype.componentWillReceiveProps=function(t){var e=this.store,r=t.store;e!==r&&a()}),d.propTypes={store:p.default.isRequired,children:u.PropTypes.element.isRequired},d.childContextTypes={store:p.default.isRequired}}).call(this,t("_process"))},{"../utils/storeShape":17,"../utils/warning":18,_process:5,react:4}],14:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return t.displayName||t.name||"Component"}function u(t,e){try{return t.apply(e)}catch(t){return M.value=t,M}}function c(t,r,n){var c=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],f=Boolean(t),d=t||E,v=void 0;v="function"==typeof r?r:r?(0,b.default)(r):T;var g=n||C,w=c.pure,P=void 0===w||w,j=c.withRef,A=void 0!==j&&j,D=P&&g!==C,R=x++;return function(t){function r(t,e){(0,m.default)(t)||(0,_.default)(e+"() in "+c+" must return a plain object. "+("Instead received "+t+"."))}function n(t,n,o){var i=g(t,n,o);return"production"!==e.env.NODE_ENV&&r(i,"mergeProps"),i}var c="Connect("+a(t)+")",b=function(a){function h(t,e){o(this,h);var r=i(this,a.call(this,t,e));r.version=R,r.store=t.store||e.store,(0,S.default)(r.store,'Could not find "store" in either the context or '+('props of "'+c+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+c+'".'));var n=r.store.getState();return r.state={storeState:n},r.clearCache(),r}return s(h,a),h.prototype.shouldComponentUpdate=function(){return!P||this.haveOwnPropsChanged||this.hasStoreStateChanged},h.prototype.computeStateProps=function(t,n){if(!this.finalMapStateToProps)return this.configureFinalMapState(t,n);var o=t.getState(),i=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(o,n):this.finalMapStateToProps(o);return"production"!==e.env.NODE_ENV&&r(i,"mapStateToProps"),i},h.prototype.configureFinalMapState=function(t,n){var o=d(t.getState(),n),i="function"==typeof o;return this.finalMapStateToProps=i?o:d,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,i?this.computeStateProps(t,n):("production"!==e.env.NODE_ENV&&r(o,"mapStateToProps"),o)},h.prototype.computeDispatchProps=function(t,n){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(t,n);var o=t.dispatch,i=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(o,n):this.finalMapDispatchToProps(o);return"production"!==e.env.NODE_ENV&&r(i,"mapDispatchToProps"),i},h.prototype.configureFinalMapDispatch=function(t,n){var o=v(t.dispatch,n),i="function"==typeof o;return this.finalMapDispatchToProps=i?o:v,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,i?this.computeDispatchProps(t,n):("production"!==e.env.NODE_ENV&&r(o,"mapDispatchToProps"),o)},h.prototype.updateStatePropsIfNeeded=function(){var t=this.computeStateProps(this.store,this.props);return(!this.stateProps||!(0,y.default)(t,this.stateProps))&&(this.stateProps=t,!0)},h.prototype.updateDispatchPropsIfNeeded=function(){var t=this.computeDispatchProps(this.store,this.props);return(!this.dispatchProps||!(0,y.default)(t,this.dispatchProps))&&(this.dispatchProps=t,!0)},h.prototype.updateMergedPropsIfNeeded=function(){var t=n(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&D&&(0,y.default)(t,this.mergedProps))&&(this.mergedProps=t,!0)},h.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},h.prototype.trySubscribe=function(){f&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},h.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},h.prototype.componentDidMount=function(){this.trySubscribe()},h.prototype.componentWillReceiveProps=function(t){P&&(0,y.default)(t,this.props)||(this.haveOwnPropsChanged=!0)},h.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},h.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},h.prototype.handleChange=function(){if(this.unsubscribe){var t=this.store.getState(),e=this.state.storeState;if(!P||e!==t){if(P&&!this.doStatePropsDependOnOwnProps){var r=u(this.updateStatePropsIfNeeded,this);if(!r)return;r===M&&(this.statePropsPrecalculationError=M.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:t})}}},h.prototype.getWrappedInstance=function(){return(0,S.default)(A,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},h.prototype.render=function(){var e=this.haveOwnPropsChanged,r=this.hasStoreStateChanged,n=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,i=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var s=!0,a=!0;P&&i&&(s=r||e&&this.doStatePropsDependOnOwnProps,a=e&&this.doDispatchPropsDependOnOwnProps);var u=!1,c=!1;n?u=!0:s&&(u=this.updateStatePropsIfNeeded()),a&&(c=this.updateDispatchPropsIfNeeded());var f=!0;return f=!!(u||c||e)&&this.updateMergedPropsIfNeeded(),!f&&i?i:(A?this.renderedElement=(0,l.createElement)(t,p({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,l.createElement)(t,this.mergedProps),this.renderedElement)},h}(l.Component);return b.displayName=c,b.WrappedComponent=t,b.contextTypes={store:h.default},b.propTypes={store:h.default},"production"!==e.env.NODE_ENV&&(b.prototype.componentWillUpdate=function(){this.version!==R&&(this.version=R,this.trySubscribe(),this.clearCache())}),(0,O.default)(b,t)}}var p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};r.__esModule=!0,r.default=c;var l=t("react"),f=t("../utils/storeShape"),h=n(f),d=t("../utils/shallowEqual"),y=n(d),v=t("../utils/wrapActionCreators"),b=n(v),g=t("../utils/warning"),_=n(g),w=t("lodash/isPlainObject"),m=n(w),P=t("hoist-non-react-statics"),O=n(P),j=t("invariant"),S=n(j),E=function(t){return{}},T=function(t){return{dispatch:t}},C=function(t,e,r){return p({},r,t,e)},M={value:null},x=0}).call(this,t("_process"))},{"../utils/shallowEqual":16,"../utils/storeShape":17,"../utils/warning":18,"../utils/wrapActionCreators":19,_process:5,"hoist-non-react-statics":6,invariant:7,"lodash/isPlainObject":23,react:4}],15:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0,r.connect=r.Provider=void 0;var o=t("./components/Provider"),i=n(o),s=t("./components/connect"),a=n(s);r.Provider=i.default,r.connect=a.default},{"./components/Provider":13,"./components/connect":14}],16:[function(t,e,r){"use strict";function n(t,e){if(t===e)return!0;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<r.length;i++)if(!o.call(e,r[i])||t[r[i]]!==e[r[i]])return!1;return!0}r.__esModule=!0,r.default=n},{}],17:[function(t,e,r){"use strict";r.__esModule=!0;var n=t("react");r.default=n.PropTypes.shape({subscribe:n.PropTypes.func.isRequired,dispatch:n.PropTypes.func.isRequired,getState:n.PropTypes.func.isRequired})},{react:4}],18:[function(t,e,r){"use strict";function n(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}r.__esModule=!0,r.default=n},{}],19:[function(t,e,r){"use strict";function n(t){return function(e){return(0,o.bindActionCreators)(t,e)}}r.__esModule=!0,r.default=n;var o=t("redux")},{redux:29}],20:[function(t,e,r){function n(t){return o(Object(t))}var o=Object.getPrototypeOf;e.exports=n},{}],21:[function(t,e,r){function n(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}e.exports=n},{}],22:[function(t,e,r){function n(t){return!!t&&"object"==typeof t}e.exports=n},{}],23:[function(t,e,r){function n(t){if(!s(t)||f.call(t)!=a||i(t))return!1;var e=o(t);if(null===e)return!0;var r=p.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}var o=t("./_getPrototype"),i=t("./_isHostObject"),s=t("./isObjectLike"),a="[object Object]",u=Object.prototype,c=Function.prototype.toString,p=u.hasOwnProperty,l=c.call(Object),f=u.toString;e.exports=n},{"./_getPrototype":20,"./_isHostObject":21,"./isObjectLike":22}],24:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r]; | ||
return function(t){return function(r,n,o){var s=t(r,n,o),u=s.dispatch,c=[],p={getState:s.getState,dispatch:function(t){return u(t)}};return c=e.map(function(t){return t(p)}),u=a.default.apply(void 0,c)(s.dispatch),i({},s,{dispatch:u})}}}r.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};r.default=o;var s=t("./compose"),a=n(s)},{"./compose":27}],25:[function(t,e,r){"use strict";function n(t,e){return function(){return e(t.apply(void 0,arguments))}}function o(t,e){if("function"==typeof t)return n(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(t),o={},i=0;i<r.length;i++){var s=r[i],a=t[s];"function"==typeof a&&(o[s]=n(a,e))}return o}r.__esModule=!0,r.default=o},{}],26:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var r=e&&e.type,n=r&&'"'+r.toString()+'"'||"an action";return"Given action "+n+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(t,e,r){var n=Object.keys(e),o=r&&r.type===u.ActionTypes.INIT?"initialState argument passed to createStore":"previous state received by the reducer";if(0===n.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!(0,p.default)(t))return"The "+o+' has unexpected type of "'+{}.toString.call(t).match(/\s([a-z|A-Z]+)/)[1]+'". Expected argument to be an object with the following '+('keys: "'+n.join('", "')+'"');var i=Object.keys(t).filter(function(t){return!e.hasOwnProperty(t)});return i.length>0?"Unexpected "+(i.length>1?"keys":"key")+" "+('"'+i.join('", "')+'" found in '+o+". ")+"Expected to find one of the known reducer keys instead: "+('"'+n.join('", "')+'". Unexpected keys will be ignored.'):void 0}function s(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:u.ActionTypes.INIT});if("undefined"==typeof n)throw new Error('Reducer "'+e+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof r(void 0,{type:o}))throw new Error('Reducer "'+e+'" returned undefined when probed with a random type. '+("Don't try to handle "+u.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(t){for(var r=Object.keys(t),n={},a=0;a<r.length;a++){var u=r[a];"function"==typeof t[u]&&(n[u]=t[u])}var c,p=Object.keys(n);try{s(n)}catch(t){c=t}return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=arguments[1];if(c)throw c;if("production"!==e.env.NODE_ENV){var s=i(t,n,r);s&&(0,f.default)(s)}for(var a=!1,u={},l=0;l<p.length;l++){var h=p[l],d=n[h],y=t[h],v=d(y,r);if("undefined"==typeof v){var b=o(h,r);throw new Error(b)}u[h]=v,a=a||v!==y}return a?u:t}}r.__esModule=!0,r.default=a;var u=t("./createStore"),c=t("lodash/isPlainObject"),p=n(c),l=t("./utils/warning"),f=n(l)}).call(this,t("_process"))},{"./createStore":28,"./utils/warning":30,_process:5,"lodash/isPlainObject":34}],27:[function(t,e,r){"use strict";function n(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(0===e.length)return function(t){return t};var n=function(){var t=e[e.length-1],r=e.slice(0,-1);return{v:function(){return r.reduceRight(function(t,e){return e(t)},t.apply(void 0,arguments))}}}();return"object"==typeof n?n.v:void 0}r.__esModule=!0,r.default=n},{}],28:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e,r){function n(){b===v&&(b=v.slice())}function i(){return y}function a(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return n(),b.push(t),function(){if(e){e=!1,n();var r=b.indexOf(t);b.splice(r,1)}}}function p(t){if(!(0,s.default)(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(g)throw new Error("Reducers may not dispatch actions.");try{g=!0,y=d(y,t)}finally{g=!1}for(var e=v=b,r=0;r<e.length;r++)e[r]();return t}function l(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");d=t,p({type:c.INIT})}function f(){var t,e=a;return t={subscribe:function(t){function r(){t.next&&t.next(i())}if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");r();var n=e(r);return{unsubscribe:n}}},t[u.default]=function(){return this},t}var h;if("function"==typeof e&&"undefined"==typeof r&&(r=e,e=void 0),"undefined"!=typeof r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(o)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var d=t,y=e,v=[],b=v,g=!1;return p({type:c.INIT}),h={dispatch:p,subscribe:a,getState:i,replaceReducer:l},h[u.default]=f,h}r.__esModule=!0,r.ActionTypes=void 0,r.default=o;var i=t("lodash/isPlainObject"),s=n(i),a=t("symbol-observable"),u=n(a),c=r.ActionTypes={INIT:"@@redux/INIT"}},{"lodash/isPlainObject":34,"symbol-observable":35}],29:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(){}r.__esModule=!0,r.compose=r.applyMiddleware=r.bindActionCreators=r.combineReducers=r.createStore=void 0;var i=t("./createStore"),s=n(i),a=t("./combineReducers"),u=n(a),c=t("./bindActionCreators"),p=n(c),l=t("./applyMiddleware"),f=n(l),h=t("./compose"),d=n(h),y=t("./utils/warning"),v=n(y);"production"!==e.env.NODE_ENV&&"string"==typeof o.name&&"isCrushed"!==o.name&&(0,v.default)("You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build."),r.createStore=s.default,r.combineReducers=u.default,r.bindActionCreators=p.default,r.applyMiddleware=f.default,r.compose=d.default}).call(this,t("_process"))},{"./applyMiddleware":24,"./bindActionCreators":25,"./combineReducers":26,"./compose":27,"./createStore":28,"./utils/warning":30,_process:5}],30:[function(t,e,r){"use strict";function n(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}r.__esModule=!0,r.default=n},{}],31:[function(t,e,r){arguments[4][20][0].apply(r,arguments)},{dup:20}],32:[function(t,e,r){arguments[4][21][0].apply(r,arguments)},{dup:21}],33:[function(t,e,r){arguments[4][22][0].apply(r,arguments)},{dup:22}],34:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{"./_getPrototype":31,"./_isHostObject":32,"./isObjectLike":33,dup:23}],35:[function(t,e,r){(function(r){"use strict";e.exports=t("./ponyfill")(r||window||this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ponyfill":36}],36:[function(t,e,r){"use strict";e.exports=function(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}},{}]},{},[3]); |
{ | ||
"name": "react-apollo", | ||
"version": "0.3.17", | ||
"version": "0.3.18", | ||
"description": "React data container for Apollo Client", | ||
@@ -37,6 +37,6 @@ "main": "index.js", | ||
"redux": "^2.0.0 || ^3.0.0", | ||
"apollo-client": "^0.1.0 || ^0.2.0 || ^0.3.0" | ||
"apollo-client": "^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0" | ||
}, | ||
"devDependencies": { | ||
"apollo-client": "^0.3.0", | ||
"apollo-client": "^0.4.0", | ||
"browserify": "^13.0.0", | ||
@@ -43,0 +43,0 @@ "chai": "^3.5.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229077
4406