Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

recompose

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recompose - npm Package Compare versions

Comparing version 0.19.0 to 0.20.0

baconObservableConfig.js

16

branch.js

@@ -13,5 +13,5 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createElement2 = _interopRequireDefault(_createElement);
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);

@@ -45,7 +45,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

if (test(props)) {
this.LeftComponent = this.LeftComponent || left(BaseComponent);
this.Component = this.LeftComponent;
this.leftFactory = this.leftFactory || (0, _createEagerFactory2.default)(left(BaseComponent));
this.factory = this.leftFactory;
} else {
this.RightComponent = this.RightComponent || right(BaseComponent);
this.Component = this.RightComponent;
this.rightFactory = this.rightFactory || (0, _createEagerFactory2.default)(right(BaseComponent));
this.factory = this.rightFactory;
}

@@ -59,5 +59,3 @@ };

_class2.prototype.render = function render() {
var Component = this.Component;
return (0, _createElement2.default)(Component, this.props);
return this.factory(this.props);
};

@@ -64,0 +62,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(21)},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,e.internalCreateElement=void 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=n(22),f=r(i),c=function(t,e,n,r,u){if(!t&&e){var i=n;return i(u?o({},r,{children:u}):r)}return u?a.default.createElement(n,r,u):a.default.createElement(n,r)},l=(e.internalCreateElement=function(t){var e=(0,f.default)(t);return function(n,r){return c(!1,e,t,n,r)}},function(t,e,n){var r=(0,f.default)(t),o=e&&e.hasOwnProperty("key");return c(o,r,t,e,n)});e.default=l},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=function(t){return function(e){var n=(0,a.internalCreateElement)(e);return function(e){return n(t(e))}}};e.default=(0,u.default)(i,"mapProps")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(41),u=r(o);e.default=u.default},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){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),l=n(2),s=function(t){return function(e){var n=(0,l.internalCreateElement)(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)(s,"shouldUpdate")},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){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(10),u=r(o),a=n(5),i=r(a),f=n(1),c=r(f),l=n(11),s=r(l),p=function(t){return(0,u.default)(function(e,n){return!(0,i.default)((0,s.default)(n,t),(0,s.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}}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(1),l=r(c),s=n(2),p=r(s),d=function(t,e,n){return function(r){return function(i){function f(t,e){o(this,f);var n=u(this,i.call(this,t,e));return n.LeftComponent=null,n.RightComponent=null,n.computeChildComponent(n.props),n}return a(f,i),f.prototype.computeChildComponent=function(o){t(o)?(this.LeftComponent=this.LeftComponent||e(r),this.Component=this.LeftComponent):(this.RightComponent=this.RightComponent||n(r),this.Component=this.RightComponent)},f.prototype.componentWillReceiveProps=function(t){this.computeChildComponent(t)},f.prototype.render=function(){var t=this.Component;return(0,p.default)(t,this.props)},f}(f.default.Component)}};e.default=(0,l.default)(d,"branch")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(6),u=r(o),a=n(2),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];if(0===e.length)return function(t){return t};if(1===e.length)return e[0];var r=e[e.length-1];return function(){for(var t=r.apply(void 0,arguments),n=e.length-2;n>=0;n--){var o=e[n];t=o(t)}return t}}e.__esModule=!0,e.default=n},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=function(t){return function(e){var n=(0,a.internalCreateElement)(e),r=function(t){return n(t)};return r.defaultProps=t,r}};e.default=(0,u.default)(i,"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(6),a=r(u),i=n(1),f=r(i),c=n(2),l=function(t){return function(e){var n=(0,c.internalCreateElement)(e);return function(e){return n(o({},(0,a.default)(e,[t]),e[t]))}}};e.default=(0,f.default)(l,"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=function(t){return function(e){var n=(0,i.internalCreateElement)(e),r=function(t,e){return n(o({},t,e))};return r.contextTypes=t,r}};e.default=(0,a.default)(f,"getContext")},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(42),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.hoistStatics=e.nest=e.componentFromProp=e.createSink=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(36),i=r(a),f=n(37),c=r(f),l=n(35),s=r(l),p=n(17),d=r(p),h=n(27),y=r(h),_=n(28),v=r(_),b=n(18),m=r(b),w=n(39),O=r(w),P=n(38),C=r(P),g=n(13),j=r(g),M=n(29),E=r(M),x=n(30),T=r(x),R=n(10),S=r(R),N=n(26),U=r(N),V=n(12),F=r(V),D=n(25),k=r(D),A=n(34),H=r(A),W=n(19),q=r(W),L=n(23),K=r(L),z=n(33),B=r(z),G=n(9),I=r(G),J=n(32),Q=r(J),X=n(31),Y=r(X),Z=n(15),$=r(Z),tt=n(7),et=r(tt),nt=n(40),rt=r(nt),ot=n(5),ut=r(ot),at=n(8),it=r(at),ft=n(16),ct=r(ft),lt=n(14),st=r(lt),pt=n(24),dt=r(pt),ht=n(20),yt=r(ht);e.mapProps=u.default,e.withProps=i.default,e.withPropsOnChange=c.default,e.withHandlers=s.default,e.defaultProps=d.default,e.renameProp=y.default,e.renameProps=v.default,e.flattenProp=m.default,e.withState=O.default,e.withReducer=C.default,e.branch=j.default,e.renderComponent=E.default,e.renderNothing=T.default,e.shouldUpdate=S.default,e.pure=U.default,e.onlyUpdateForKeys=F.default,e.onlyUpdateForPropTypes=k.default,e.withContext=H.default,e.getContext=q.default,e.lifecycle=K.default,e.toClass=B.default,e.setStatic=I.default,e.setPropTypes=Q.default,e.setDisplayName=Y.default,e.compose=$.default,e.getDisplayName=et.default,e.wrapDisplayName=rt.default,e.shallowEqual=ut.default,e.isClassComponent=it.default,e.createSink=ct.default,e.componentFromProp=st.default,e.nest=dt.default,e.hoistStatics=yt.default},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||t.propTypes)};e.default=a},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=function(t){return function(e){var n=(0,f.internalCreateElement)(e);return(0,u.createClass)(o({},t,{render:function(){return n(o({},this.props,this.state))}}))}};e.default=(0,i.default)(c,"lifecycle")},function(t,e,n){"use strict";function r(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 o=n(2),u=function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];var u=e.map(o.internalCreateElement),a=function(t){var e=r(t,[]),n=t.children;return u.reduceRight(function(t,n){return n(e,t)},n)};return a};e.default=u},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(12),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(5),i=r(a),f=n(1),c=r(f),l=(0,u.default)(function(t,e){return!(0,i.default)(t,e)});e.default=(0,c.default)(l,"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(6),a=r(u),i=n(4),f=r(i),c=n(1),l=r(c),s=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,l.default)(s,"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(6),a=r(u),i=n(11),f=r(i),c=n(4),l=r(c),s=n(1),p=r(s),d=Object.keys,h=function(t,e){return d(t).reduce(function(n,r){var o=t[r];return n[e(o,r)]=o,n},{})},y=function(t){return(0,l.default)(function(e){return o({},(0,a.default)(e,d(t)),h((0,f.default)(e,d(t)),function(e,n){return t[n]}))})};e.default=(0,p.default)(y,"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=function(t){return function(e){var n=(0,a.internalCreateElement)(t),r=function(t){return n(t)};return r}};e.default=(0,u.default)(i,"renderComponent",!1)},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){var e=function(){return null};return e.displayName="Nothing",e};e.default=(0,u.default)(a,"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),l=r(c),s=n(8),p=r(s),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,l.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),l=n(2),s=function(t,e){return function(n){var r=(0,l.internalCreateElement)(n),f=function(t){function n(){var r,a,i;o(this,n);for(var f=arguments.length,c=Array(f),l=0;f>l;l++)c[l]=arguments[l];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)(s,"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),l=n(1),s=r(l),p=function(t,e){var n=[],r=0;for(var o in t)t.hasOwnProperty(o)&&(r+=1,n[o]=e(t[o],o,r));return n},d=function(t){return function(e){var n,r,l,s=(0,c.internalCreateElement)(e);return r=n=function(t){function e(){var n,r,a;o(this,e);for(var i=arguments.length,f=Array(i),c=0;i>c;c++)f[c]=arguments[c];return n=r=u(this,t.call.apply(t,[this].concat(f))),l.call(r),a=n,u(r,a)}return a(e,t),e.prototype.componentWillReceiveProps=function(){this.cachedHandlers={}},e.prototype.render=function(){return s(i({},this.props,this.handlers))},e}(f.Component),l=function(){var e=this;this.cachedHandlers={},this.handlers=p(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,s.default)(d,"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(11),l=r(c),s=n(5),p=r(s),d=n(1),h=r(d),y=n(2),_=r(y),v=function(t,e){return function(n){var r="function"==typeof t?t:function(e,n){return!(0,p.default)((0,l.default)(e,t),(0,l.default)(n,t))};return function(t){function f(){var n,r,a;o(this,f);for(var i=arguments.length,c=Array(i),l=0;i>l;l++)c[l]=arguments[l];return n=r=u(this,t.call.apply(t,[this].concat(c))),r.computedProps=e(r.props),a=n,u(r,a)}return a(f,t),f.prototype.componentWillReceiveProps=function(t){r(this.props,t)&&(this.computedProps=e(t))},f.prototype.render=function(){return(0,_.default)(n,i({},this.props,this.computedProps))},f}(f.Component)}};e.default=(0,h.default)(v,"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),l=r(c),s=n(2),p=function(t,e,n,r){return function(c){var l=(0,s.internalCreateElement)(c);return function(f){function c(){var t,e,a;o(this,c);for(var i=arguments.length,l=Array(i),s=0;i>s;s++)l[s]=arguments[s];return t=e=u(this,f.call.apply(f,[this].concat(l))),e.state={stateValue:"function"==typeof r?r(e.props):r},e.dispatch=function(t){return e.setState(function(e){var r=e.stateValue;return{stateValue:n(r,t)}})},a=t,u(e,a)}return a(c,f),c.prototype.render=function(){var n;return l(i({},this.props,(n={},n[t]=this.state.stateValue,n[e]=this.dispatch,n)))},c}(f.Component)}};e.default=(0,l.default)(p,"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),l=r(c),s=n(2),p=function(t,e,n){return function(r){var c=(0,s.internalCreateElement)(r);return function(r){function f(){var t,e,a;o(this,f);for(var i=arguments.length,c=Array(i),l=0;i>l;l++)c[l]=arguments[l];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,l.default)(p,"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){"use strict";function n(t,e){return t===e?0!==t||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};t.exports=function(t,e){for(var o=Object.getOwnPropertyNames(e),u=0;o.length>u;++u)if(!n[o[u]]&&!r[o[u]])try{t[o[u]]=e[o[u]]}catch(a){}return t}}])});
!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=(e.fromESObservable=function(t){return"function"==typeof n.fromESObservable?n.fromESObservable(t):t},e.toESObservable=function(t){return"function"==typeof n.toESObservable?n.toESObservable(t):t},function(t){n=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(49),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){(function(e){"use strict";t.exports=n(51)(e||window||this)}).call(e,function(){return this}())},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(19),c=n(13),s=r(c),l=n(5),p=function(t){return function(e){function n(){var r,a,i,c;o(this,n);for(var p=arguments.length,d=Array(p),h=0;p>h;h++)d[h]=arguments[h];return a=i=u(this,e.call.apply(e,[this].concat(d))),i.state={vdom:null},i.propsEmitter=(0,f.createChangeEmitter)(),i.props$=(0,l.fromESObservable)((r={subscribe:function(t){var e=i.propsEmitter.listen(function(e){return t.next(e)});return{unsubscribe:e}}},r[s.default]=function(){return this},r)),i.vdom$=(0,l.toESObservable)(t(i.props$)),c=a,u(i,c)}return a(n,e),n.prototype.componentWillMount=function(){var t=this;this.subscription=this.vdom$.subscribe({next:function(e){t.setState({vdom:e})}}),this.propsEmitter.emit(this.props)},n.prototype.componentWillReceiveProps=function(t){this.propsEmitter.emit(t)},n.prototype.shouldComponentUpdate=function(t,e){return e.vdom!==this.state.vdom},n.prototype.componentWillUnmount=function(){this.subscription.unsubscribe()},n.prototype.render=function(){return this.state.vdom},n}(i.Component)};e.default=p},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||t.propTypes)};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}}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(1),s=r(c),l=n(2),p=r(l),d=function(t,e,n){return function(r){return function(i){function f(t,e){o(this,f);var n=u(this,i.call(this,t,e));return n.LeftComponent=null,n.RightComponent=null,n.computeChildComponent(n.props),n}return a(f,i),f.prototype.computeChildComponent=function(o){t(o)?(this.leftFactory=this.leftFactory||(0,p.default)(e(r)),this.factory=this.leftFactory):(this.rightFactory=this.rightFactory||(0,p.default)(n(r)),this.factory=this.rightFactory)},f.prototype.componentWillReceiveProps=function(t){this.computeChildComponent(t)},f.prototype.render=function(){return this.factory(this.props)},f}(f.default.Component)}};e.default=(0,s.default)(d,"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];if(0===e.length)return function(t){return t};if(1===e.length)return e[0];var r=e[e.length-1];return function(){for(var t=r.apply(void 0,arguments),n=e.length-2;n>=0;n--){var o=e[n];t=o(t)}return t}}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;var o=n(13),u=r(o),a=n(19),i=n(5),f=function(){var t,e=(0,a.createChangeEmitter)(),n=(0,i.fromESObservable)((t={subscribe:function(t){var n=e.listen(function(e){return t.next(e)});return{unsubscribe:n}}},t[u.default]=function(){return this},t));return{handler:e.emit,stream:n}};e.default=f},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(50),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),h=n(35),y=r(h),_=n(36),b=r(_),v=n(26),m=r(v),O=n(47),w=r(O),P=n(46),g=r(P),M=n(20),j=r(M),E=n(37),C=r(E),x=n(38),S=r(x),T=n(10),R=r(T),F=n(34),N=r(F),U=n(17),V=r(U),H=n(33),A=r(H),D=n(42),W=r(D),k=n(27),q=r(k),$=n(30),K=r($),L=n(41),z=r(L),B=n(9),G=r(B),I=n(40),J=r(I),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),ht=n(21),yt=r(ht),_t=n(32),bt=r(_t),vt=n(28),mt=r(vt),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=y.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=S.default,e.shouldUpdate=R.default,e.pure=N.default,e.onlyUpdateForKeys=V.default,e.onlyUpdateForPropTypes=A.default,e.withContext=W.default,e.getContext=q.default,e.lifecycle=K.default,e.toClass=z.default,e.setStatic=G.default,e.setPropTypes=J.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=yt.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;var o=n(13),u=r(o),a=n(2),i=r(a),f=n(1),c=r(f),s=n(14),l=r(s),p=n(5),d=function(t){return function(e){var n=(0,i.default)(e);return(0,l.default)(function(e){var r;return r={subscribe:function(r){var o=(0,p.toESObservable)(t(e)).subscribe({next:function(t){return r.next(n(t))}});return{unsubscribe:function(){return o.unsubscribe()}}}},r[u.default]=function(){return this},r})}};e.default=(0,c.default)(d,"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,h=function(t,e){return d(t).reduce(function(n,r){var o=t[r];return n[e(o,r)]=o,n},{})},y=function(t){return(0,s.default)(function(e){return o({},(0,a.default)(e,d(t)),h((0,f.default)(e,d(t)),function(e,n){return t[n]}))})};e.default=(0,p.default)(y,"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}}e.__esModule=!0;var o=n(1),u=r(o),a=function(t){var e=function(){return null};return e.displayName="Nothing",e};e.default=(0,u.default)(a,"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=[],r=0;for(var o in t)t.hasOwnProperty(o)&&(r+=1,n[o]=e(t[o],o,r));return n},h=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(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)(h,"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),h=r(d),y=n(2),_=r(y),b=function(t,e){return function(n){var r=(0,_.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,h.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,a;o(this,c);for(var i=arguments.length,s=Array(i),l=0;i>l;l++)s[l]=arguments[l];return t=e=u(this,f.call.apply(f,[this].concat(s))),e.state={stateValue:"function"==typeof r?r(e.props):r},e.dispatch=function(t){return e.setState(function(e){var r=e.stateValue;return{stateValue:n(r,t)}})},a=t,u(e,a)}return a(c,f),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){"use strict";function n(t,e){return t===e?0!==t||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};t.exports=function(t,e){if("string"!=typeof e)for(var o=Object.getOwnPropertyNames(e),u=0;o.length>u;++u)if(!n[o[u]]&&!r[o[u]])try{t[o[u]]=e[o[u]]}catch(a){}return t}},function(t,e){"use strict";t.exports=function(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}}])});

@@ -9,5 +9,5 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerElement = require('./createEagerElement');
var _createElement2 = _interopRequireDefault(_createElement);
var _createEagerElement2 = _interopRequireDefault(_createEagerElement);

@@ -18,3 +18,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var Component = function Component(props) {
return (0, _createElement2.default)(props[propName], (0, _omit2.default)(props, [propName]));
return (0, _createEagerElement2.default)(props[propName], (0, _omit2.default)(props, [propName]));
};

@@ -21,0 +21,0 @@ Component.displayName = 'componentFromProp(' + propName + ')';

@@ -10,3 +10,5 @@ 'use strict';

var _ret = function () {
/* eslint-disable global-require */
var wrapDisplayName = require('./wrapDisplayName').default;
/* eslint-enable global-require */

@@ -13,0 +15,0 @@ if (noArgs) {

@@ -9,4 +9,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -16,5 +18,5 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);
var DefaultProps = function DefaultProps(ownerProps) {
return createElement(ownerProps);
return factory(ownerProps);
};

@@ -21,0 +23,0 @@ DefaultProps.defaultProps = props;

@@ -7,6 +7,2 @@ 'use strict';

var _omit = require('./utils/omit');
var _omit2 = _interopRequireDefault(_omit);
var _createHelper = require('./createHelper');

@@ -16,4 +12,6 @@

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -23,5 +21,5 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);
return function (props) {
return createElement(_extends({}, (0, _omit2.default)(props, [propName]), props[propName]));
return factory(_extends({}, props, props[propName]));
};

@@ -28,0 +26,0 @@ };

@@ -11,4 +11,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -18,5 +20,5 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);
var GetContext = function GetContext(ownerProps, context) {
return createElement(_extends({}, ownerProps, context));
return factory(_extends({}, ownerProps, context));
};

@@ -23,0 +25,0 @@

'use strict';
exports.__esModule = true;
exports.hoistStatics = exports.nest = exports.componentFromProp = exports.createSink = exports.isClassComponent = exports.shallowEqual = exports.wrapDisplayName = exports.getDisplayName = exports.compose = exports.setDisplayName = exports.setPropTypes = exports.setStatic = exports.toClass = exports.lifecycle = exports.getContext = exports.withContext = exports.onlyUpdateForPropTypes = exports.onlyUpdateForKeys = exports.pure = exports.shouldUpdate = exports.renderNothing = exports.renderComponent = exports.branch = exports.withReducer = exports.withState = exports.flattenProp = exports.renameProps = exports.renameProp = exports.defaultProps = exports.withHandlers = exports.withPropsOnChange = exports.withProps = exports.mapProps = undefined;
exports.setObservableConfig = exports.createEventHandler = exports.mapPropsStream = exports.componentFromStream = exports.hoistStatics = exports.nest = exports.componentFromProp = exports.createSink = exports.createEagerFactory = exports.createEagerElement = exports.isClassComponent = exports.shallowEqual = exports.wrapDisplayName = exports.getDisplayName = exports.compose = exports.setDisplayName = exports.setPropTypes = exports.setStatic = exports.toClass = exports.lifecycle = exports.getContext = exports.withContext = exports.onlyUpdateForPropTypes = exports.onlyUpdateForKeys = exports.pure = exports.shouldUpdate = exports.renderNothing = exports.renderComponent = exports.branch = exports.withReducer = exports.withState = exports.flattenProp = exports.renameProps = exports.renameProp = exports.defaultProps = exports.withHandlers = exports.withPropsOnChange = exports.withProps = exports.mapProps = undefined;

@@ -122,2 +122,10 @@ var _mapProps2 = require('./mapProps');

var _createEagerElement2 = require('./createEagerElement');
var _createEagerElement3 = _interopRequireDefault(_createEagerElement2);
var _createEagerFactory2 = require('./createEagerFactory');
var _createEagerFactory3 = _interopRequireDefault(_createEagerFactory2);
var _createSink2 = require('./createSink');

@@ -139,2 +147,18 @@

var _componentFromStream2 = require('./componentFromStream');
var _componentFromStream3 = _interopRequireDefault(_componentFromStream2);
var _mapPropsStream2 = require('./mapPropsStream');
var _mapPropsStream3 = _interopRequireDefault(_mapPropsStream2);
var _createEventHandler2 = require('./createEventHandler');
var _createEventHandler3 = _interopRequireDefault(_createEventHandler2);
var _setObservableConfig2 = require('./setObservableConfig');
var _setObservableConfig3 = _interopRequireDefault(_setObservableConfig2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -181,5 +205,14 @@

exports.isClassComponent = _isClassComponent3.default;
exports.createEagerElement = _createEagerElement3.default;
exports.createEagerFactory = _createEagerFactory3.default;
exports.createSink = _createSink3.default;
exports.componentFromProp = _componentFromProp3.default;
exports.nest = _nest3.default;
exports.hoistStatics = _hoistStatics3.default;
exports.hoistStatics = _hoistStatics3.default;
// Observable helpers
exports.componentFromStream = _componentFromStream3.default;
exports.mapPropsStream = _mapPropsStream3.default;
exports.createEventHandler = _createEventHandler3.default;
exports.setObservableConfig = _setObservableConfig3.default;

@@ -13,4 +13,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -20,3 +22,3 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);

@@ -27,7 +29,9 @@ if (process.env.NODE_ENV !== 'production' && spec.hasOwnProperty('render')) {

/* eslint-disable react/prefer-es6-class */
return (0, _react.createClass)(_extends({}, spec, {
render: function render() {
return createElement(_extends({}, this.props, this.state));
return factory(_extends({}, this.props, this.state));
}
}));
/* eslint-enable react/prefer-es6-class */
};

@@ -34,0 +38,0 @@ };

@@ -9,4 +9,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -16,5 +18,5 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);
return function (props) {
return createElement(propsMapper(props));
return factory(propsMapper(props));
};

@@ -21,0 +23,0 @@ };

@@ -5,4 +5,8 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

@@ -15,3 +19,3 @@

var createElements = Components.map(_createElement.internalCreateElement);
var factories = Components.map(_createEagerFactory2.default);
var Nest = function Nest(_ref) {

@@ -21,4 +25,4 @@ var props = _objectWithoutProperties(_ref, []);

var children = _ref.children;
return createElements.reduceRight(function (child, createElement) {
return createElement(props, child);
return factories.reduceRight(function (child, factory) {
return factory(props, child);
}, children);

@@ -28,3 +32,5 @@ };

if (process.env.NODE_ENV !== 'production') {
/* eslint-disable global-require */
var getDisplayName = require('./getDisplayName').default;
/* eslint-enable global-require */
var displayNames = Components.map(getDisplayName);

@@ -31,0 +37,0 @@ Nest.displayName = 'nest(' + displayNames.join(', ') + ')';

@@ -19,3 +19,5 @@ 'use strict';

if (process.env.NODE_ENV !== 'production') {
/* eslint-disable global-require */
var getDisplayName = require('./getDisplayName').default;
/* eslint-enable global-require */
if (!propTypes) {

@@ -22,0 +24,0 @@ /* eslint-disable */

{
"name": "recompose",
"version": "0.19.0",
"version": "0.20.0",
"author": "Andrew Clark <acdlite@me.com>",

@@ -26,4 +26,6 @@ "repository": {

"dependencies": {
"change-emitter": "^0.1.2",
"fbjs": "^0.8.1",
"hoist-non-react-statics": "^1.0.0"
"hoist-non-react-statics": "^1.0.0",
"symbol-observable": "^0.2.4"
},

@@ -30,0 +32,0 @@ "peerDependencies": {

@@ -31,3 +31,5 @@ 'use strict';

var val = obj[key];
/* eslint-disable no-param-reassign */
result[func(val, key)] = val;
/* eslint-enable no-param-reassign */
return result;

@@ -34,0 +36,0 @@ }, {});

@@ -9,14 +9,22 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// import React from 'react'
var renderComponent = function renderComponent(Component) {
return function (_) {
var createElement = (0, _createElement.internalCreateElement)(Component);
var factory = (0, _createEagerFactory2.default)(Component);
var RenderComponent = function RenderComponent(props) {
return createElement(props);
return factory(props);
};
// const RenderComponent = props => <Component {...props} />
if (process.env.NODE_ENV !== 'production') {
/* eslint-disable global-require */
var wrapDisplayName = require('./wrapDisplayName').default;
/* eslint-enable global-require */
RenderComponent.displayName = wrapDisplayName(Component, 'renderComponent');

@@ -23,0 +31,0 @@ }

@@ -13,3 +13,5 @@ 'use strict';

return function (BaseComponent) {
/* eslint-disable no-param-reassign */
BaseComponent[key] = value;
/* eslint-enable no-param-reassign */
return BaseComponent;

@@ -16,0 +18,0 @@ };

@@ -11,4 +11,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -24,3 +26,3 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);
return function (_Component) {

@@ -40,3 +42,3 @@ _inherits(_class, _Component);

_class.prototype.render = function render() {
return createElement(this.props);
return factory(this.props);
};

@@ -43,0 +45,0 @@

@@ -11,4 +11,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -24,3 +26,3 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);

@@ -45,3 +47,3 @@ var WithContext = function (_Component) {

WithContext.prototype.render = function render() {
return createElement(this.props);
return factory(this.props);
};

@@ -48,0 +50,0 @@

@@ -9,4 +9,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
var _createHelper = require('./createHelper');

@@ -27,2 +29,3 @@

var i = 0;
/* eslint-disable no-restricted-syntax */
for (var key in obj) {

@@ -34,2 +37,3 @@ if (obj.hasOwnProperty(key)) {

}
/* eslint-enable no-restricted-syntax */
return result;

@@ -42,3 +46,3 @@ };

var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);
return _temp2 = _class = function (_Component) {

@@ -64,3 +68,3 @@ _inherits(_class, _Component);

_class.prototype.render = function render() {
return createElement(_extends({}, this.props, this.handlers));
return factory(_extends({}, this.props, this.handlers));
};

@@ -67,0 +71,0 @@

@@ -21,5 +21,5 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createElement2 = _interopRequireDefault(_createElement);
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);

@@ -36,2 +36,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

return function (BaseComponent) {
var factory = (0, _createEagerFactory2.default)(BaseComponent);
var shouldMap = typeof shouldMapOrKeys === 'function' ? shouldMapOrKeys : function (props, nextProps) {

@@ -63,3 +64,3 @@ return !(0, _shallowEqual2.default)((0, _pick2.default)(props, shouldMapOrKeys), (0, _pick2.default)(nextProps, shouldMapOrKeys));

_class2.prototype.render = function render() {
return (0, _createElement2.default)(BaseComponent, _extends({}, this.props, this.computedProps));
return factory(_extends({}, this.props, this.computedProps));
};

@@ -66,0 +67,0 @@

@@ -13,4 +13,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -26,3 +28,3 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);
return function (_Component) {

@@ -55,3 +57,3 @@ _inherits(_class2, _Component);

return createElement(_extends({}, this.props, (_extends2 = {}, _extends2[stateName] = this.state.stateValue, _extends2[dispatchName] = this.dispatch, _extends2)));
return factory(_extends({}, this.props, (_extends2 = {}, _extends2[stateName] = this.state.stateValue, _extends2[dispatchName] = this.dispatch, _extends2)));
};

@@ -58,0 +60,0 @@

@@ -13,4 +13,6 @@ 'use strict';

var _createElement = require('./createElement');
var _createEagerFactory = require('./createEagerFactory');
var _createEagerFactory2 = _interopRequireDefault(_createEagerFactory);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -26,3 +28,3 @@

return function (BaseComponent) {
var createElement = (0, _createElement.internalCreateElement)(BaseComponent);
var factory = (0, _createEagerFactory2.default)(BaseComponent);
return function (_Component) {

@@ -55,3 +57,3 @@ _inherits(_class2, _Component);

return createElement(_extends({}, this.props, (_extends2 = {}, _extends2[stateName] = this.state.stateValue, _extends2[stateUpdaterName] = this.updateStateValue, _extends2)));
return factory(_extends({}, this.props, (_extends2 = {}, _extends2[stateName] = this.state.stateValue, _extends2[stateUpdaterName] = this.updateStateValue, _extends2)));
};

@@ -58,0 +60,0 @@

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc