Comparing version 0.21.2 to 0.22.0
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Recompose=e(require("react")):t.Recompose=e(t.React)}(this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(29)},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t,e){return t};e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(18),u=r(o),a=n(16),i=r(a),f=function(t){var e=(0,i.default)(t);return function(n,r){return(0,u.default)(!1,e,t,n,r)}};e.default=f},function(e,n){e.exports=t},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=n(2),i=r(a),f=function(t){return function(e){var n=(0,i.default)(e);return function(e){return n(t(e))}}};e.default=(0,u.default)(f,"mapProps")},function(t,e){"use strict";e.__esModule=!0;var n={fromESObservable:null,toESObservable:null},r=function(t){n=t};e.config={fromESObservable:function(t){return"function"==typeof n.fromESObservable?n.fromESObservable(t):t},toESObservable:function(t){return"function"==typeof n.toESObservable?n.toESObservable(t):t}};e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(50),u=r(o);e.default=u.default},function(t,e){"use strict";e.__esModule=!0;var n=function(t){if("string"==typeof t)return t;if(t)return t.displayName||t.name||"Component"};e.default=n},function(t,e){"use strict";e.__esModule=!0;var n=function(t){return!(!t||!t.prototype||"object"!=typeof t.prototype.isReactComponent)};e.default=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=function(t,e){return function(n){return n[t]=e,n}};e.default=(0,u.default)(a,"setStatic",!1)},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=n(3),f=n(1),c=r(f),s=n(2),l=r(s),p=function(t){return function(e){var n=(0,l.default)(e);return function(e){function r(){return o(this,r),u(this,e.apply(this,arguments))}return a(r,e),r.prototype.shouldComponentUpdate=function(e){return t(this.props,e)},r.prototype.render=function(){return n(this.props)},r}(i.Component)}};e.default=(0,c.default)(p,"shouldUpdate")},function(t,e){"use strict";function n(t,e){var n={};for(var r in t)e.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var r=function(t,e){for(var r=n(t,[]),o=0;e.length>o;o++){var u=e[o];r.hasOwnProperty(u)&&delete r[u]}return r};e.default=r},function(t,e){"use strict";e.__esModule=!0;var n=function(t,e){for(var n={},r=0;e.length>r;r++){var o=e[r];t.hasOwnProperty(o)&&(n[o]=t[o])}return n};e.default=n},function(t,e,n){t.exports=n(52)},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0,e.componentFromStreamWithConfig=void 0;var i=n(3),f=n(19),c=n(13),s=r(c),l=n(5),p=e.componentFromStreamWithConfig=function(t){return function(e){return function(n){function r(){var a,i,c,l;o(this,r);for(var p=arguments.length,d=Array(p),y=0;p>y;y++)d[y]=arguments[y];return i=c=u(this,n.call.apply(n,[this].concat(d))),c.state={vdom:null},c.propsEmitter=(0,f.createChangeEmitter)(),c.props$=t.fromESObservable((a={subscribe:function(t){var e=c.propsEmitter.listen(function(e){return t.next(e)});return{unsubscribe:e}}},a[s.default]=function(){return this},a)),c.vdom$=t.toESObservable(e(c.props$)),l=i,u(c,l)}return a(r,n),r.prototype.componentWillMount=function(){var t=this;this.subscription=this.vdom$.subscribe({next:function(e){t.setState({vdom:e})}}),this.propsEmitter.emit(this.props)},r.prototype.componentWillReceiveProps=function(t){this.propsEmitter.emit(t)},r.prototype.shouldComponentUpdate=function(t,e){return e.vdom!==this.state.vdom},r.prototype.componentWillUnmount=function(){this.subscription.unsubscribe()},r.prototype.render=function(){return this.state.vdom},r}(i.Component)}},d=p(l.config);e.default=d},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(18),u=r(o),a=n(16),i=r(a),f=function(t,e,n){var r=(0,i.default)(t),o=e&&e.hasOwnProperty("key");return(0,u.default)(o,r,t,e,n)};e.default=f},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(8),u=r(o),a=function(t){return!("function"!=typeof t||(0,u.default)(t)||t.defaultProps||t.contextTypes)};e.default=a},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(10),u=r(o),a=n(6),i=r(a),f=n(1),c=r(f),s=n(12),l=r(s),p=function(t){return(0,u.default)(function(e,n){return!(0,i.default)((0,l.default)(n,t),(0,l.default)(e,t))})};e.default=(0,c.default)(p,"onlyUpdateForKeys")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(3),a=r(u),i=function(t,e,n,r,u){if(!t&&e)return n(u?o({},r,{children:u}):r);var i=n;return u?a.default.createElement(i,r,u):a.default.createElement(i,r)};e.default=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.createChangeEmitter=function(){function t(){o===r&&(o=r.slice())}function e(e){if("function"!=typeof e)throw Error("Expected listener to be a function.");var n=!0;return t(),o.push(e),function(){if(n){n=!1,t();var r=o.indexOf(e);o.splice(r,1)}}}function n(){r=o;for(var t=r,e=0;t.length>e;e++)t[e].apply(t,arguments)}var r=[],o=r;return{listen:e,emit:n}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=n(2),i=r(a),f=function(t){return t},c=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;return function(r){var o=void 0,u=void 0;return function(a){return t(a)?(o=o||(0,i.default)(e(r)))(a):(u=u||(0,i.default)(n(r)))(a)}}};e.default=(0,u.default)(c,"branch")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(11),u=r(o),a=n(15),i=r(a),f=function(t){var e=function(e){return(0,i.default)(e[t],(0,u.default)(e,[t]))};return e.displayName="componentFromProp("+t+")",e};e.default=f},function(t,e){"use strict";function n(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}e.__esModule=!0,e.default=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.createEventHandlerWithConfig=void 0;var o=n(13),u=r(o),a=n(19),i=n(5),f=e.createEventHandlerWithConfig=function(t){return function(){var e,n=(0,a.createChangeEmitter)(),r=t.fromESObservable((e={subscribe:function(t){var e=n.listen(function(e){return t.next(e)});return{unsubscribe:e}}},e[u.default]=function(){return this},e));return{handler:n.emit,stream:r}}},c=f(i.config);e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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 u(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)}e.__esModule=!0;var a=n(3),i=function(t){return function(e){function n(){return r(this,n),o(this,e.apply(this,arguments))}return u(n,e),n.prototype.componentWillMount=function(){t(this.props)},n.prototype.componentWillReceiveProps=function(e){t(e)},n.prototype.render=function(){return null},n}(a.Component)};e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=n(2),i=r(a),f=function(t){return function(e){var n=(0,i.default)(e),r=function(t){return n(t)};return r.defaultProps=t,r}};e.default=(0,u.default)(f,"defaultProps")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(1),a=r(u),i=n(2),f=r(i),c=function(t){return function(e){var n=(0,f.default)(e);return function(e){return n(o({},e,e[t]))}}};e.default=(0,a.default)(c,"flattenProp")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(1),a=r(u),i=n(2),f=r(i),c=function(t){return function(e){var n=(0,f.default)(e),r=function(t,e){return n(o({},t,e))};return r.contextTypes=t,r}};e.default=(0,a.default)(c,"getContext")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(51),u=r(o),a=function(t){return function(e){var n=t(e);return(0,u.default)(n,e),n}};e.default=a},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.setObservableConfig=e.createEventHandler=e.mapPropsStream=e.componentFromStream=e.hoistStatics=e.nest=e.componentFromProp=e.createSink=e.createEagerFactory=e.createEagerElement=e.isClassComponent=e.shallowEqual=e.wrapDisplayName=e.getDisplayName=e.compose=e.setDisplayName=e.setPropTypes=e.setStatic=e.toClass=e.lifecycle=e.getContext=e.withContext=e.onlyUpdateForPropTypes=e.onlyUpdateForKeys=e.pure=e.shouldUpdate=e.renderNothing=e.renderComponent=e.branch=e.withReducer=e.withState=e.flattenProp=e.renameProps=e.renameProp=e.defaultProps=e.withHandlers=e.withPropsOnChange=e.withProps=e.mapProps=void 0;var o=n(4),u=r(o),a=n(44),i=r(a),f=n(45),c=r(f),s=n(43),l=r(s),p=n(25),d=r(p),y=n(35),h=r(y),v=n(36),b=r(v),_=n(26),m=r(_),O=n(47),w=r(O),P=n(46),g=r(P),M=n(20),j=r(M),E=n(37),C=r(E),S=n(38),x=r(S),T=n(10),R=r(T),N=n(34),F=r(N),W=n(17),U=r(W),V=n(33),H=r(V),k=n(42),A=r(k),D=n(27),q=r(D),$=n(30),K=r($),z=n(41),I=r(z),B=n(9),G=r(B),J=n(40),L=r(J),Q=n(39),X=r(Q),Y=n(22),Z=r(Y),tt=n(7),et=r(tt),nt=n(48),rt=r(nt),ot=n(6),ut=r(ot),at=n(8),it=r(at),ft=n(15),ct=r(ft),st=n(2),lt=r(st),pt=n(24),dt=r(pt),yt=n(21),ht=r(yt),vt=n(32),bt=r(vt),_t=n(28),mt=r(_t),Ot=n(14),wt=r(Ot),Pt=n(31),gt=r(Pt),Mt=n(23),jt=r(Mt),Et=n(5),Ct=r(Et);e.mapProps=u.default,e.withProps=i.default,e.withPropsOnChange=c.default,e.withHandlers=l.default,e.defaultProps=d.default,e.renameProp=h.default,e.renameProps=b.default,e.flattenProp=m.default,e.withState=w.default,e.withReducer=g.default,e.branch=j.default,e.renderComponent=C.default,e.renderNothing=x.default,e.shouldUpdate=R.default,e.pure=F.default,e.onlyUpdateForKeys=U.default,e.onlyUpdateForPropTypes=H.default,e.withContext=A.default,e.getContext=q.default,e.lifecycle=K.default,e.toClass=I.default,e.setStatic=G.default,e.setPropTypes=L.default,e.setDisplayName=X.default,e.compose=Z.default,e.getDisplayName=et.default,e.wrapDisplayName=rt.default,e.shallowEqual=ut.default,e.isClassComponent=it.default,e.createEagerElement=ct.default,e.createEagerFactory=lt.default,e.createSink=dt.default,e.componentFromProp=ht.default,e.nest=bt.default,e.hoistStatics=mt.default,e.componentFromStream=wt.default,e.mapPropsStream=gt.default,e.createEventHandler=jt.default,e.setObservableConfig=Ct.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(3),a=n(1),i=r(a),f=n(2),c=r(f),s=function(t){return function(e){var n=(0,c.default)(e);return(0,u.createClass)(o({},t,{render:function(){return n(o({},this.props,this.state))}}))}};e.default=(0,i.default)(s,"lifecycle")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.mapPropsStreamWithConfig=void 0;var o=n(13),u=r(o),a=n(2),i=r(a),f=n(1),c=r(f),s=n(14),l=n(5),p=function(t){return t},d=(0,s.componentFromStreamWithConfig)({fromESObservable:p,toESObservable:p}),y=e.mapPropsStreamWithConfig=function(t){return function(e){return function(n){var r=(0,i.default)(n),o=t.fromESObservable,a=t.toESObservable;return d(function(t){var n;return n={subscribe:function(n){var u=a(e(o(t))).subscribe({next:function(t){return n.next(r(t))}});return{unsubscribe:function(){return u.unsubscribe()}}}},n[u.default]=function(){return this},n})}}},h=y(l.config);e.default=(0,c.default)(h,"mapPropsStream")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var u=n(2),a=r(u),i=function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];var r=e.map(a.default),u=function(t){var e=o(t,[]),n=t.children;return r.reduceRight(function(t,n){return n(e,t)},n)};return u};e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(17),u=r(o),a=n(1),i=r(a),f=function(t){var e=t.propTypes,n=Object.keys(e||{}),r=(0,u.default)(n)(t);return r};e.default=(0,i.default)(f,"onlyUpdateForPropTypes",!0,!0)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(10),u=r(o),a=n(6),i=r(a),f=n(1),c=r(f),s=(0,u.default)(function(t,e){return!(0,i.default)(t,e)});e.default=(0,c.default)(s,"pure",!0,!0)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(11),a=r(u),i=n(4),f=r(i),c=n(1),s=r(c),l=function(t,e){return(0,f.default)(function(n){var r;return o({},(0,a.default)(n,[t]),(r={},r[e]=n[t],r))})};e.default=(0,s.default)(l,"renameProp")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(11),a=r(u),i=n(12),f=r(i),c=n(4),s=r(c),l=n(1),p=r(l),d=Object.keys,y=function(t,e){return d(t).reduce(function(n,r){var o=t[r];return n[e(o,r)]=o,n},{})},h=function(t){return(0,s.default)(function(e){return o({},(0,a.default)(e,d(t)),y((0,f.default)(e,d(t)),function(e,n){return t[n]}))})};e.default=(0,p.default)(h,"renameProps")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=n(2),i=r(a),f=function(t){return function(e){var n=(0,i.default)(t),r=function(t){return n(t)};return r}};e.default=(0,u.default)(f,"renderComponent",!1)},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=n(3),f=n(1),c=r(f),s=function(t){function e(){return o(this,e),u(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){return null},e}(i.Component);s.displayName="Nothing";var l=function(t){return s};e.default=(0,c.default)(l,"renderNothing",!1,!0)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(9),u=r(o),a=n(1),i=r(a),f=function(t){return(0,u.default)("displayName",t)};e.default=(0,i.default)(f,"setDisplayName",!1)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(9),u=r(o),a=n(1),i=r(a),f=function(t){return(0,u.default)("propTypes",t)};e.default=(0,i.default)(f,"setPropTypes",!1)},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=n(3),f=r(i),c=n(7),s=r(c),l=n(8),p=r(l),d=function(t){if((0,p.default)(t))return t;var e=function(e){function n(){return o(this,n),u(this,e.apply(this,arguments))}return a(n,e),n.prototype.render=function(){return"string"==typeof t?f.default.createElement("baseComponent",this.props):t(this.props,this.context)},n}(i.Component);return e.displayName=(0,s.default)(t),e.propTypes=t.propTypes,e.contextTypes=t.contextTypes,e.defaultProps=t.defaultProps,e};e.default=d},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=n(3),f=n(1),c=r(f),s=n(2),l=r(s),p=function(t,e){return function(n){var r=(0,l.default)(n),f=function(t){function n(){var r,a,i;o(this,n);for(var f=arguments.length,c=Array(f),s=0;f>s;s++)c[s]=arguments[s];return r=a=u(this,t.call.apply(t,[this].concat(c))),a.getChildContext=function(){return e(a.props)},i=r,u(a,i)}return a(n,t),n.prototype.render=function(){return r(this.props)},n}(i.Component);return f.childContextTypes=t,f}};e.default=(0,c.default)(p,"withContext")},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f=n(3),c=n(2),s=r(c),l=n(1),p=r(l),d=function(t,e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=e(t[r],r));return n},y=function(t){return function(e){var n,r,c,l=(0,s.default)(e);return r=n=function(t){function e(){var n,r,a;o(this,e);for(var i=arguments.length,f=Array(i),s=0;i>s;s++)f[s]=arguments[s];return n=r=u(this,t.call.apply(t,[this].concat(f))),c.call(r),a=n,u(r,a)}return a(e,t),e.prototype.componentWillReceiveProps=function(){this.cachedHandlers={}},e.prototype.render=function(){return l(i({},this.props,this.handlers))},e}(f.Component),c=function(){var e=this;this.cachedHandlers={},this.handlers=d("function"==typeof t?t(this.props):t,function(t,n){return function(){var r=e.cachedHandlers[n];if(r)return r.apply(void 0,arguments);var o=t(e.props);return e.cachedHandlers[n]=o,o.apply(void 0,arguments)}})},r}};e.default=(0,p.default)(y,"withHandlers")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(1),a=r(u),i=n(4),f=r(i),c=function(t){return(0,f.default)(function(e){return o({},e,"function"==typeof t?t(e):t)})};e.default=(0,a.default)(c,"withProps")},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f=n(3),c=n(12),s=r(c),l=n(6),p=r(l),d=n(1),y=r(d),h=n(2),v=r(h),b=function(t,e){return function(n){var r=(0,v.default)(n),c="function"==typeof t?t:function(e,n){return!(0,p.default)((0,s.default)(e,t),(0,s.default)(n,t))};return function(t){function n(){var r,a,i;o(this,n);for(var f=arguments.length,c=Array(f),s=0;f>s;s++)c[s]=arguments[s];return r=a=u(this,t.call.apply(t,[this].concat(c))),a.computedProps=e(a.props),i=r,u(a,i)}return a(n,t),n.prototype.componentWillReceiveProps=function(t){c(this.props,t)&&(this.computedProps=e(t))},n.prototype.render=function(){return r(i({},this.props,this.computedProps))},n}(f.Component)}};e.default=(0,y.default)(b,"withPropsOnChange")},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f=n(3),c=n(1),s=r(c),l=n(2),p=r(l),d=function(t,e,n,r){return function(c){var s=(0,p.default)(c);return function(f){function c(){var t,e,r;o(this,c);for(var a=arguments.length,i=Array(a),s=0;a>s;s++)i[s]=arguments[s];return t=e=u(this,f.call.apply(f,[this].concat(i))),e.state={stateValue:e.initalizeStateValue()},e.dispatch=function(t){return e.setState(function(e){var r=e.stateValue;return{stateValue:n(r,t)}})},r=t,u(e,r)}return a(c,f),c.prototype.initalizeStateValue=function(){return void 0!==r?"function"==typeof r?r(this.props):r:n(void 0,{type:"@@recompose/INIT"})},c.prototype.render=function(){var n;return s(i({},this.props,(n={},n[t]=this.state.stateValue,n[e]=this.dispatch,n)))},c}(f.Component)}};e.default=(0,s.default)(d,"withReducer")},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f=n(3),c=n(1),s=r(c),l=n(2),p=r(l),d=function(t,e,n){return function(r){var c=(0,p.default)(r);return function(r){function f(){var t,e,a;o(this,f);for(var i=arguments.length,c=Array(i),s=0;i>s;s++)c[s]=arguments[s];return t=e=u(this,r.call.apply(r,[this].concat(c))),e.state={stateValue:"function"==typeof n?n(e.props):n},e.updateStateValue=function(t,n){return e.setState(function(e){var n=e.stateValue;return{stateValue:"function"==typeof t?t(n):t}},n)},a=t,u(e,a)}return a(f,r),f.prototype.render=function(){var n;return c(i({},this.props,(n={},n[t]=this.state.stateValue,n[e]=this.updateStateValue,n)))},f}(f.Component)}};e.default=(0,s.default)(d,"withState")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(7),u=r(o),a=function(t,e){return e+"("+(0,u.default)(t)+")"};e.default=a},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){"use strict";function n(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function r(t,e){if(n(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var r=Object.keys(t),u=Object.keys(e);if(r.length!==u.length)return!1;for(var a=0;r.length>a;a++)if(!o.call(e,r[a])||!n(t[r[a]],e[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;t.exports=r},function(t,e){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;t.exports=function(t,e,u){if("string"!=typeof e){var a=Object.getOwnPropertyNames(e);o&&(a=a.concat(Object.getOwnPropertySymbols(e)));for(var i=0;a.length>i;++i)if(!(n[a[i]]||r[a[i]]||u&&u[a[i]]))try{t[a[i]]=e[a[i]]}catch(t){}}return t}},function(t,e,n){(function(t,r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u,a=n(53),i=o(a);u="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var f=(0,i.default)(u);e.default=f}).call(e,function(){return this}(),n(49)(t))},function(t,e){"use strict";function n(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.Recompose=e(require("react")):t.Recompose=e(t.React)}(this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(29)},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t,e){return t};e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(18),u=r(o),a=n(16),i=r(a),f=function(t){var e=(0,i.default)(t);return function(n,r){return(0,u.default)(!1,e,t,n,r)}};e.default=f},function(e,n){e.exports=t},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=n(2),i=r(a),f=function(t){return function(e){var n=(0,i.default)(e);return function(e){return n(t(e))}}};e.default=(0,u.default)(f,"mapProps")},function(t,e){"use strict";e.__esModule=!0;var n={fromESObservable:null,toESObservable:null},r=function(t){n=t};e.config={fromESObservable:function(t){return"function"==typeof n.fromESObservable?n.fromESObservable(t):t},toESObservable:function(t){return"function"==typeof n.toESObservable?n.toESObservable(t):t}};e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(50),u=r(o);e.default=u.default},function(t,e){"use strict";e.__esModule=!0;var n=function(t){if("string"==typeof t)return t;if(t)return t.displayName||t.name||"Component"};e.default=n},function(t,e){"use strict";e.__esModule=!0;var n=function(t){return!(!t||!t.prototype||"object"!=typeof t.prototype.isReactComponent)};e.default=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=function(t,e){return function(n){return n[t]=e,n}};e.default=(0,u.default)(a,"setStatic",!1)},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=n(3),f=n(1),c=r(f),s=n(2),l=r(s),p=function(t){return function(e){var n=(0,l.default)(e);return function(e){function r(){return o(this,r),u(this,e.apply(this,arguments))}return a(r,e),r.prototype.shouldComponentUpdate=function(e){return t(this.props,e)},r.prototype.render=function(){return n(this.props)},r}(i.Component)}};e.default=(0,c.default)(p,"shouldUpdate")},function(t,e){"use strict";function n(t,e){var n={};for(var r in t)e.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var r=function(t,e){for(var r=n(t,[]),o=0;e.length>o;o++){var u=e[o];r.hasOwnProperty(u)&&delete r[u]}return r};e.default=r},function(t,e){"use strict";e.__esModule=!0;var n=function(t,e){for(var n={},r=0;e.length>r;r++){var o=e[r];t.hasOwnProperty(o)&&(n[o]=t[o])}return n};e.default=n},function(t,e,n){t.exports=n(52)},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0,e.componentFromStreamWithConfig=void 0;var i=n(3),f=n(19),c=n(13),s=r(c),l=n(5),p=e.componentFromStreamWithConfig=function(t){return function(e){return function(n){function r(){var a,i,c,l;o(this,r);for(var p=arguments.length,d=Array(p),y=0;p>y;y++)d[y]=arguments[y];return i=c=u(this,n.call.apply(n,[this].concat(d))),c.state={vdom:null},c.propsEmitter=(0,f.createChangeEmitter)(),c.props$=t.fromESObservable((a={subscribe:function(t){var e=c.propsEmitter.listen(function(e){e?t.next(e):t.complete()});return{unsubscribe:e}}},a[s.default]=function(){return this},a)),c.vdom$=t.toESObservable(e(c.props$)),l=i,u(c,l)}return a(r,n),r.prototype.componentWillMount=function(){var t=this;this.subscription=this.vdom$.subscribe({next:function(e){t.setState({vdom:e})}}),this.propsEmitter.emit(this.props)},r.prototype.componentWillReceiveProps=function(t){this.propsEmitter.emit(t)},r.prototype.shouldComponentUpdate=function(t,e){return e.vdom!==this.state.vdom},r.prototype.componentWillUnmount=function(){this.propsEmitter.emit(),this.subscription.unsubscribe()},r.prototype.render=function(){return this.state.vdom},r}(i.Component)}},d=p(l.config);e.default=d},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(18),u=r(o),a=n(16),i=r(a),f=function(t,e,n){var r=(0,i.default)(t),o=e&&e.hasOwnProperty("key");return(0,u.default)(o,r,t,e,n)};e.default=f},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(8),u=r(o),a=function(t){return!("function"!=typeof t||(0,u.default)(t)||t.defaultProps||t.contextTypes)};e.default=a},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(10),u=r(o),a=n(6),i=r(a),f=n(1),c=r(f),s=n(12),l=r(s),p=function(t){return(0,u.default)(function(e,n){return!(0,i.default)((0,l.default)(n,t),(0,l.default)(e,t))})};e.default=(0,c.default)(p,"onlyUpdateForKeys")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(3),a=r(u),i=function(t,e,n,r,u){if(!t&&e)return n(u?o({},r,{children:u}):r);var i=n;return u?a.default.createElement(i,r,u):a.default.createElement(i,r)};e.default=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.createChangeEmitter=function(){function t(){o===r&&(o=r.slice())}function e(e){if("function"!=typeof e)throw Error("Expected listener to be a function.");var n=!0;return t(),o.push(e),function(){if(n){n=!1,t();var r=o.indexOf(e);o.splice(r,1)}}}function n(){r=o;for(var t=r,e=0;t.length>e;e++)t[e].apply(t,arguments)}var r=[],o=r;return{listen:e,emit:n}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=n(2),i=r(a),f=function(t){return t},c=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;return function(r){var o=void 0,u=void 0;return function(a){return t(a)?(o=o||(0,i.default)(e(r)))(a):(u=u||(0,i.default)(n(r)))(a)}}};e.default=(0,u.default)(c,"branch")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(11),u=r(o),a=n(15),i=r(a),f=function(t){var e=function(e){return(0,i.default)(e[t],(0,u.default)(e,[t]))};return e.displayName="componentFromProp("+t+")",e};e.default=f},function(t,e){"use strict";function n(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}e.__esModule=!0,e.default=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.createEventHandlerWithConfig=void 0;var o=n(13),u=r(o),a=n(19),i=n(5),f=e.createEventHandlerWithConfig=function(t){return function(){var e,n=(0,a.createChangeEmitter)(),r=t.fromESObservable((e={subscribe:function(t){var e=n.listen(function(e){return t.next(e)});return{unsubscribe:e}}},e[u.default]=function(){return this},e));return{handler:n.emit,stream:r}}},c=f(i.config);e.default=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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 u(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)}e.__esModule=!0;var a=n(3),i=function(t){return function(e){function n(){return r(this,n),o(this,e.apply(this,arguments))}return u(n,e),n.prototype.componentWillMount=function(){t(this.props)},n.prototype.componentWillReceiveProps=function(e){t(e)},n.prototype.render=function(){return null},n}(a.Component)};e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=n(2),i=r(a),f=function(t){return function(e){var n=(0,i.default)(e),r=function(t){return n(t)};return r.defaultProps=t,r}};e.default=(0,u.default)(f,"defaultProps")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(1),a=r(u),i=n(2),f=r(i),c=function(t){return function(e){var n=(0,f.default)(e);return function(e){return n(o({},e,e[t]))}}};e.default=(0,a.default)(c,"flattenProp")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(1),a=r(u),i=n(2),f=r(i),c=function(t){return function(e){var n=(0,f.default)(e),r=function(t,e){return n(o({},t,e))};return r.contextTypes=t,r}};e.default=(0,a.default)(c,"getContext")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(51),u=r(o),a=function(t){return function(e){var n=t(e);return(0,u.default)(n,e),n}};e.default=a},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.setObservableConfig=e.createEventHandler=e.mapPropsStream=e.componentFromStream=e.hoistStatics=e.nest=e.componentFromProp=e.createSink=e.createEagerFactory=e.createEagerElement=e.isClassComponent=e.shallowEqual=e.wrapDisplayName=e.getDisplayName=e.compose=e.setDisplayName=e.setPropTypes=e.setStatic=e.toClass=e.lifecycle=e.getContext=e.withContext=e.onlyUpdateForPropTypes=e.onlyUpdateForKeys=e.pure=e.shouldUpdate=e.renderNothing=e.renderComponent=e.branch=e.withReducer=e.withState=e.flattenProp=e.renameProps=e.renameProp=e.defaultProps=e.withHandlers=e.withPropsOnChange=e.withProps=e.mapProps=void 0;var o=n(4),u=r(o),a=n(44),i=r(a),f=n(45),c=r(f),s=n(43),l=r(s),p=n(25),d=r(p),y=n(35),h=r(y),v=n(36),b=r(v),_=n(26),m=r(_),O=n(47),w=r(O),P=n(46),g=r(P),M=n(20),j=r(M),E=n(37),C=r(E),S=n(38),x=r(S),T=n(10),R=r(T),N=n(34),F=r(N),W=n(17),U=r(W),V=n(33),H=r(V),k=n(42),A=r(k),D=n(27),q=r(D),$=n(30),K=r($),z=n(41),I=r(z),B=n(9),G=r(B),J=n(40),L=r(J),Q=n(39),X=r(Q),Y=n(22),Z=r(Y),tt=n(7),et=r(tt),nt=n(48),rt=r(nt),ot=n(6),ut=r(ot),at=n(8),it=r(at),ft=n(15),ct=r(ft),st=n(2),lt=r(st),pt=n(24),dt=r(pt),yt=n(21),ht=r(yt),vt=n(32),bt=r(vt),_t=n(28),mt=r(_t),Ot=n(14),wt=r(Ot),Pt=n(31),gt=r(Pt),Mt=n(23),jt=r(Mt),Et=n(5),Ct=r(Et);e.mapProps=u.default,e.withProps=i.default,e.withPropsOnChange=c.default,e.withHandlers=l.default,e.defaultProps=d.default,e.renameProp=h.default,e.renameProps=b.default,e.flattenProp=m.default,e.withState=w.default,e.withReducer=g.default,e.branch=j.default,e.renderComponent=C.default,e.renderNothing=x.default,e.shouldUpdate=R.default,e.pure=F.default,e.onlyUpdateForKeys=U.default,e.onlyUpdateForPropTypes=H.default,e.withContext=A.default,e.getContext=q.default,e.lifecycle=K.default,e.toClass=I.default,e.setStatic=G.default,e.setPropTypes=L.default,e.setDisplayName=X.default,e.compose=Z.default,e.getDisplayName=et.default,e.wrapDisplayName=rt.default,e.shallowEqual=ut.default,e.isClassComponent=it.default,e.createEagerElement=ct.default,e.createEagerFactory=lt.default,e.createSink=dt.default,e.componentFromProp=ht.default,e.nest=bt.default,e.hoistStatics=mt.default,e.componentFromStream=wt.default,e.mapPropsStream=gt.default,e.createEventHandler=jt.default,e.setObservableConfig=Ct.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(3),a=n(1),i=r(a),f=n(2),c=r(f),s=function(t){return function(e){var n=(0,c.default)(e);return(0,u.createClass)(o({},t,{render:function(){return n(o({},this.props,this.state))}}))}};e.default=(0,i.default)(s,"lifecycle")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.mapPropsStreamWithConfig=void 0;var o=n(13),u=r(o),a=n(2),i=r(a),f=n(1),c=r(f),s=n(14),l=n(5),p=function(t){return t},d=(0,s.componentFromStreamWithConfig)({fromESObservable:p,toESObservable:p}),y=e.mapPropsStreamWithConfig=function(t){return function(e){return function(n){var r=(0,i.default)(n),o=t.fromESObservable,a=t.toESObservable;return d(function(t){var n;return n={subscribe:function(n){var u=a(e(o(t))).subscribe({next:function(t){return n.next(r(t))}});return{unsubscribe:function(){return u.unsubscribe()}}}},n[u.default]=function(){return this},n})}}},h=y(l.config);e.default=(0,c.default)(h,"mapPropsStream")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var u=n(2),a=r(u),i=function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];var r=e.map(a.default),u=function(t){var e=o(t,[]),n=t.children;return r.reduceRight(function(t,n){return n(e,t)},n)};return u};e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(17),u=r(o),a=n(1),i=r(a),f=function(t){var e=t.propTypes,n=Object.keys(e||{}),r=(0,u.default)(n)(t);return r};e.default=(0,i.default)(f,"onlyUpdateForPropTypes",!0,!0)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(10),u=r(o),a=n(6),i=r(a),f=n(1),c=r(f),s=(0,u.default)(function(t,e){return!(0,i.default)(t,e)});e.default=(0,c.default)(s,"pure",!0,!0)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(11),a=r(u),i=n(4),f=r(i),c=n(1),s=r(c),l=function(t,e){return(0,f.default)(function(n){var r;return o({},(0,a.default)(n,[t]),(r={},r[e]=n[t],r))})};e.default=(0,s.default)(l,"renameProp")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(11),a=r(u),i=n(12),f=r(i),c=n(4),s=r(c),l=n(1),p=r(l),d=Object.keys,y=function(t,e){return d(t).reduce(function(n,r){var o=t[r];return n[e(o,r)]=o,n},{})},h=function(t){return(0,s.default)(function(e){return o({},(0,a.default)(e,d(t)),y((0,f.default)(e,d(t)),function(e,n){return t[n]}))})};e.default=(0,p.default)(h,"renameProps")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(1),u=r(o),a=n(2),i=r(a),f=function(t){return function(e){var n=(0,i.default)(t),r=function(t){return n(t)};return r}};e.default=(0,u.default)(f,"renderComponent",!1)},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=n(3),f=n(1),c=r(f),s=function(t){function e(){return o(this,e),u(this,t.apply(this,arguments))}return a(e,t),e.prototype.render=function(){return null},e}(i.Component);s.displayName="Nothing";var l=function(t){return s};e.default=(0,c.default)(l,"renderNothing",!1,!0)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(9),u=r(o),a=n(1),i=r(a),f=function(t){return(0,u.default)("displayName",t)};e.default=(0,i.default)(f,"setDisplayName",!1)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(9),u=r(o),a=n(1),i=r(a),f=function(t){return(0,u.default)("propTypes",t)};e.default=(0,i.default)(f,"setPropTypes",!1)},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=n(3),f=r(i),c=n(7),s=r(c),l=n(8),p=r(l),d=function(t){if((0,p.default)(t))return t;var e=function(e){function n(){return o(this,n),u(this,e.apply(this,arguments))}return a(n,e),n.prototype.render=function(){return"string"==typeof t?f.default.createElement(t,this.props):t(this.props,this.context)},n}(i.Component);return e.displayName=(0,s.default)(t),e.propTypes=t.propTypes,e.contextTypes=t.contextTypes,e.defaultProps=t.defaultProps,e};e.default=d},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=n(3),f=n(1),c=r(f),s=n(2),l=r(s),p=function(t,e){return function(n){var r=(0,l.default)(n),f=function(t){function n(){var r,a,i;o(this,n);for(var f=arguments.length,c=Array(f),s=0;f>s;s++)c[s]=arguments[s];return r=a=u(this,t.call.apply(t,[this].concat(c))),a.getChildContext=function(){return e(a.props)},i=r,u(a,i)}return a(n,t),n.prototype.render=function(){return r(this.props)},n}(i.Component);return f.childContextTypes=t,f}};e.default=(0,c.default)(p,"withContext")},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f=n(3),c=n(2),s=r(c),l=n(1),p=r(l),d=function(t,e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=e(t[r],r));return n},y=function(t){return function(e){var n,r,c,l=(0,s.default)(e);return r=n=function(t){function e(){var n,r,a;o(this,e);for(var i=arguments.length,f=Array(i),s=0;i>s;s++)f[s]=arguments[s];return n=r=u(this,t.call.apply(t,[this].concat(f))),c.call(r),a=n,u(r,a)}return a(e,t),e.prototype.componentWillReceiveProps=function(){this.cachedHandlers={}},e.prototype.render=function(){return l(i({},this.props,this.handlers))},e}(f.Component),c=function(){var e=this;this.cachedHandlers={},this.handlers=d("function"==typeof t?t(this.props):t,function(t,n){return function(){var r=e.cachedHandlers[n];if(r)return r.apply(void 0,arguments);var o=t(e.props);return e.cachedHandlers[n]=o,o.apply(void 0,arguments)}})},r}};e.default=(0,p.default)(y,"withHandlers")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(1),a=r(u),i=n(4),f=r(i),c=function(t){return(0,f.default)(function(e){return o({},e,"function"==typeof t?t(e):t)})};e.default=(0,a.default)(c,"withProps")},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f=n(3),c=n(12),s=r(c),l=n(6),p=r(l),d=n(1),y=r(d),h=n(2),v=r(h),b=function(t,e){return function(n){var r=(0,v.default)(n),c="function"==typeof t?t:function(e,n){return!(0,p.default)((0,s.default)(e,t),(0,s.default)(n,t))};return function(t){function n(){var r,a,i;o(this,n);for(var f=arguments.length,c=Array(f),s=0;f>s;s++)c[s]=arguments[s];return r=a=u(this,t.call.apply(t,[this].concat(c))),a.computedProps=e(a.props),i=r,u(a,i)}return a(n,t),n.prototype.componentWillReceiveProps=function(t){c(this.props,t)&&(this.computedProps=e(t))},n.prototype.render=function(){return r(i({},this.props,this.computedProps))},n}(f.Component)}};e.default=(0,y.default)(b,"withPropsOnChange")},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f=n(3),c=n(1),s=r(c),l=n(2),p=r(l),d=function(t,e,n,r){return function(c){var s=(0,p.default)(c);return function(f){function c(){var t,e,r;o(this,c);for(var a=arguments.length,i=Array(a),s=0;a>s;s++)i[s]=arguments[s];return t=e=u(this,f.call.apply(f,[this].concat(i))),e.state={stateValue:e.initalizeStateValue()},e.dispatch=function(t){return e.setState(function(e){var r=e.stateValue;return{stateValue:n(r,t)}})},r=t,u(e,r)}return a(c,f),c.prototype.initalizeStateValue=function(){return void 0!==r?"function"==typeof r?r(this.props):r:n(void 0,{type:"@@recompose/INIT"})},c.prototype.render=function(){var n;return s(i({},this.props,(n={},n[t]=this.state.stateValue,n[e]=this.dispatch,n)))},c}(f.Component)}};e.default=(0,s.default)(d,"withReducer")},function(t,e,n){"use strict";function r(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 u(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)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f=n(3),c=n(1),s=r(c),l=n(2),p=r(l),d=function(t,e,n){return function(r){var c=(0,p.default)(r);return function(r){function f(){var t,e,a;o(this,f);for(var i=arguments.length,c=Array(i),s=0;i>s;s++)c[s]=arguments[s];return t=e=u(this,r.call.apply(r,[this].concat(c))),e.state={stateValue:"function"==typeof n?n(e.props):n},e.updateStateValue=function(t,n){return e.setState(function(e){var n=e.stateValue;return{stateValue:"function"==typeof t?t(n):t}},n)},a=t,u(e,a)}return a(f,r),f.prototype.render=function(){var n;return c(i({},this.props,(n={},n[t]=this.state.stateValue,n[e]=this.updateStateValue,n)))},f}(f.Component)}};e.default=(0,s.default)(d,"withState")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(7),u=r(o),a=function(t,e){return e+"("+(0,u.default)(t)+")"};e.default=a},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){"use strict";function n(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function r(t,e){if(n(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var r=Object.keys(t),u=Object.keys(e);if(r.length!==u.length)return!1;for(var a=0;r.length>a;a++)if(!o.call(e,r[a])||!n(t[r[a]],e[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;t.exports=r},function(t,e){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;t.exports=function(t,e,u){if("string"!=typeof e){var a=Object.getOwnPropertyNames(e);o&&(a=a.concat(Object.getOwnPropertySymbols(e)));for(var i=0;a.length>i;++i)if(!(n[a[i]]||r[a[i]]||u&&u[a[i]]))try{t[a[i]]=e[a[i]]}catch(t){}}return t}},function(t,e,n){(function(t,r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u,a=n(53),i=o(a);u="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var f=(0,i.default)(u);e.default=f}).call(e,function(){return this}(),n(49)(t))},function(t,e){"use strict";function n(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n}])}); |
@@ -43,3 +43,7 @@ 'use strict'; | ||
var unsubscribe = _this.propsEmitter.listen(function (props) { | ||
return observer.next(props); | ||
if (props) { | ||
observer.next(props); | ||
} else { | ||
observer.complete(); | ||
} | ||
}); | ||
@@ -81,2 +85,5 @@ return { unsubscribe: unsubscribe }; | ||
ComponentFromStream.prototype.componentWillUnmount = function componentWillUnmount() { | ||
// Call without arguments to complete stream | ||
this.propsEmitter.emit(); | ||
// Clean-up subscription before un-mounting | ||
@@ -83,0 +90,0 @@ this.subscription.unsubscribe(); |
{ | ||
"name": "recompose", | ||
"version": "0.21.2", | ||
"version": "0.22.0", | ||
"author": "Andrew Clark <acdlite@me.com>", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -12,5 +12,8 @@ 'use strict'; | ||
var config = { | ||
fromESObservable: _rxjs2.default.Observable.from | ||
fromESObservable: _rxjs2.default.Observable.from, | ||
toESObservable: function toESObservable(stream) { | ||
return stream; | ||
} | ||
}; | ||
exports.default = config; |
@@ -41,3 +41,3 @@ 'use strict'; | ||
if (typeof baseComponent === 'string') { | ||
return _react2.default.createElement('baseComponent', this.props); | ||
return _react2.default.createElement(baseComponent, this.props); | ||
} | ||
@@ -44,0 +44,0 @@ return baseComponent(this.props, this.context); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
468792
2908