react 16.0.0-alpha.13 → 16.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  /**
2
- * react.production.min.js v16.0.0-alpha.13
2
+ * react.production.min.js v16.0.0-beta.4
3
3
  */
4
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.React=t()}(this,function(){"use strict";function e(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function t(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}function n(e){return function(){return e}}function r(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||T}function o(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||T}function u(){}function i(e){return void 0!==e.ref}function l(e){return void 0!==e.key}function c(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function a(e,t){return"object"==typeof e&&null!==e&&null!=e.key?c(e.key):t.toString(36)}function f(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===ee)return n(r,e,""===t?te+a(e,0):t,re),1;var u,i,l=0,c=""===t?te:t+ne;if(Array.isArray(e))for(var s=0;s<e.length;s++)u=e[s],i=c+a(u,s),l+=f(u,i,n,r);else{var p=X&&e[X]||e[Z];if("function"==typeof p)for(var y,h=p.call(e),d=0;!(y=h.next()).done;)u=y.value,i=c+a(u,d++),l+=f(u,i,n,r);else if("object"===o){var m=""+e;A("31","[object Object]"===m?"object with keys {"+Object.keys(e).join(", ")+"}":m,"")}}return l}function s(e,t,n){return null==e?0:f(e,"",t,n)}function p(e){return(""+e).replace(le,"$&/")}function y(e,t){this.func=e,this.context=t,this.count=0}function h(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function d(e,t,n){if(null==e)return e;var r=y.getPooled(t,n);oe(e,h,r),y.release(r)}function m(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function v(e,t,n){var r=e.result,o=e.keyPrefix,u=e.func,i=e.context,l=u.call(i,t,e.count++);Array.isArray(l)?g(l,r,n,x.thatReturnsArgument):null!=l&&(Q.isValidElement(l)&&(l=Q.cloneAndReplaceKey(l,o+(!l.key||t&&t.key===l.key?"":p(l.key)+"/")+n)),r.push(l))}function g(e,t,n,r,o){var u="";null!=n&&(u=p(n)+"/");var i=m.getPooled(t,u,r,o);oe(e,v,i),m.release(i)}function P(e,t,n){if(null==e)return e;var r=[];return g(e,r,null,t,n),r}function b(e,t,n){return null}function _(e,t){return oe(e,b,null)}function j(e){var t=[];return g(e,t,null,x.thatReturnsArgument),t}function O(e){return Q.isValidElement(e)||A("143"),e}var w=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,k=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(t,n){for(var r,o,u=e(t),i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var l in r)E.call(r,l)&&(u[l]=r[l]);if(w){o=w(r);for(var c=0;c<o.length;c++)S.call(r,o[c])&&(u[o[c]]=r[o[c]])}}return u},A=t,R=function(){};R.thatReturns=n,R.thatReturnsFalse=n(!1),R.thatReturnsTrue=n(!0),R.thatReturnsNull=n(null),R.thatReturnsThis=function(){return this},R.thatReturnsArgument=function(e){return e};var x=R,C={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){},enqueueReplaceState:function(e,t,n,r){},enqueueSetState:function(e,t,n,r){}},T=C,I={},$=I;r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&A("85"),this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},u.prototype=r.prototype,o.prototype=new u,o.prototype.constructor=o,k(o.prototype,r.prototype),o.prototype.isPureReactComponent=!0;var q={Component:r,PureComponent:o},F=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},U=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},N=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},V=function(e,t,n,r){var o=this;if(o.instancePool.length){var u=o.instancePool.pop();return o.call(u,e,t,n,r),u}return new o(e,t,n,r)},z=function(e){var t=this;e instanceof t||A("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},K=F,L=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||K,n.poolSize||(n.poolSize=10),n.release=z,n},D={addPoolingTo:L,oneArgumentPooler:F,twoArgumentPooler:U,threeArgumentPooler:N,fourArgumentPooler:V},M=D,W={current:null},B=W,Y=Object.prototype.hasOwnProperty,G="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H={key:!0,ref:!0,__self:!0,__source:!0},J=function(e,t,n,r,o,u,i){return{$$typeof:G,type:e,key:t,ref:n,props:i,_owner:u}};J.createElement=function(e,t,n){var r,o={},u=null,c=null;if(null!=t){i(t)&&(c=t.ref),l(t)&&(u=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(r in t)Y.call(t,r)&&!H.hasOwnProperty(r)&&(o[r]=t[r])}var a=arguments.length-2;if(1===a)o.children=n;else if(a>1){for(var f=Array(a),s=0;s<a;s++)f[s]=arguments[s+2];o.children=f}if(e&&e.defaultProps){var p=e.defaultProps;for(r in p)void 0===o[r]&&(o[r]=p[r])}return J(e,u,c,0,0,B.current,o)},J.createFactory=function(e){var t=J.createElement.bind(null,e);return t.type=e,t},J.cloneAndReplaceKey=function(e,t){return J(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},J.cloneElement=function(e,t,n){var r,o=k({},e.props),u=e.key,c=e.ref,a=(e._self,e._source,e._owner);if(null!=t){i(t)&&(c=t.ref,a=B.current),l(t)&&(u=""+t.key);var f;e.type&&e.type.defaultProps&&(f=e.type.defaultProps);for(r in t)Y.call(t,r)&&!H.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==f?o[r]=f[r]:o[r]=t[r])}var s=arguments.length-2;if(1===s)o.children=n;else if(s>1){for(var p=Array(s),y=0;y<s;y++)p[y]=arguments[y+2];o.children=p}return J(e.type,u,c,0,0,a,o)},J.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===G};var Q=J,X="function"==typeof Symbol&&Symbol.iterator,Z="@@iterator",ee="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,te=".",ne=":",re=x,oe=s,ue=M.twoArgumentPooler,ie=M.fourArgumentPooler,le=/\/+/g;y.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},M.addPoolingTo(y,ue),m.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},M.addPoolingTo(m,ie);var ce={forEach:d,map:P,mapIntoWithKeyPrefixInternal:g,count:_,toArray:j},ae=ce,fe=O,se=Q.createElement,pe=Q.createFactory;return{Children:{map:ae.map,forEach:ae.forEach,count:ae.count,toArray:ae.toArray,only:fe},Component:q.Component,PureComponent:q.PureComponent,createElement:se,cloneElement:Q.cloneElement,isValidElement:Q.isValidElement,createFactory:pe,version:"16.0.0-alpha.13",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:B}}});
4
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.React=t()}(this,function(){"use strict";function e(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function t(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}function n(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function r(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function o(){}function u(e,t,n){this.props=e,this.context=t,this.refs=$,this.updater=n||C}function i(e){return void 0!==e.ref}function c(e){return void 0!==e.key}function l(e){return function(){return e}}function a(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function f(e){return(""+e).replace(J,"$&/")}function s(e,t,n,r){if(X.length){var o=X.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,X.length<Q&&X.push(e)}function y(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===z)return n(r,e,""===t?G+d(e,0):t),1;var u,i,c=0,l=""===t?G:t+H;if(Array.isArray(e))for(var a=0;a<e.length;a++)u=e[a],i=l+d(u,a),c+=y(u,i,n,r);else{var f=W&&e[W]||e[Y];if("function"==typeof f)for(var s,p=f.call(e),h=0;!(s=p.next()).done;)u=s.value,i=l+d(u,h++),c+=y(u,i,n,r);else if("object"===o){var m=""+e;P("31","[object Object]"===m?"object with keys {"+Object.keys(e).join(", ")+"}":m,"")}}return c}function h(e,t,n){return null==e?0:y(e,"",t,n)}function d(e,t){return"object"==typeof e&&null!==e&&null!=e.key?a(e.key):t.toString(36)}function m(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function v(e,t,n){if(null==e)return e;var r=s(null,null,t,n);h(e,m,r),p(r)}function b(e,t,n){var r=e.result,o=e.keyPrefix,u=e.func,i=e.context,c=u.call(i,t,e.count++);Array.isArray(c)?_(c,r,n,B.thatReturnsArgument):null!=c&&(K.isValidElement(c)&&(c=K.cloneAndReplaceKey(c,o+(!c.key||t&&t.key===c.key?"":f(c.key)+"/")+n)),r.push(c))}function _(e,t,n,r,o){var u="";null!=n&&(u=f(n)+"/");var i=s(t,u,r,o);h(e,b,i),p(i)}function g(e,t,n){if(null==e)return e;var r=[];return _(e,r,null,t,n),r}function j(e,t){return h(e,B.thatReturnsNull,null)}function O(e){var t=[];return _(e,t,null,B.thatReturnsArgument),t}function E(e){return K.isValidElement(e)||P("143"),e}var R=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,w=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(t,n){for(var r,o,u=e(t),i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var c in r)k.call(r,c)&&(u[c]=r[c]);if(R){o=R(r);for(var l=0;l<o.length;l++)S.call(r,o[l])&&(u[o[l]]=r[o[l]])}}return u},P=t,A={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){},enqueueReplaceState:function(e,t,n,r){},enqueueSetState:function(e,t,n,r){}},C=A,x={},$=x;n.prototype.isReactComponent={},n.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&P("85"),this.updater.enqueueSetState(this,e,t,"setState")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=n.prototype;var q=r.prototype=new o;q.constructor=r,w(q,n.prototype),q.isPureReactComponent=!0;var F=u.prototype=new o;F.constructor=u,w(F,n.prototype),F.unstable_isAsyncReactComponent=!0,F.render=function(){return this.props.children};var N={Component:n,PureComponent:r,AsyncComponent:u},T={current:null},U=T,I=Object.prototype.hasOwnProperty,V="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,L={key:!0,ref:!0,__self:!0,__source:!0},D=function(e,t,n,r,o,u,i){return{$$typeof:V,type:e,key:t,ref:n,props:i,_owner:u}};D.createElement=function(e,t,n){var r,o={},u=null,l=null;if(null!=t){i(t)&&(l=t.ref),c(t)&&(u=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(r in t)I.call(t,r)&&!L.hasOwnProperty(r)&&(o[r]=t[r])}var a=arguments.length-2;if(1===a)o.children=n;else if(a>1){for(var f=Array(a),s=0;s<a;s++)f[s]=arguments[s+2];o.children=f}if(e&&e.defaultProps){var p=e.defaultProps;for(r in p)void 0===o[r]&&(o[r]=p[r])}return D(e,u,l,0,0,U.current,o)},D.createFactory=function(e){var t=D.createElement.bind(null,e);return t.type=e,t},D.cloneAndReplaceKey=function(e,t){return D(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},D.cloneElement=function(e,t,n){var r,o=w({},e.props),u=e.key,l=e.ref,a=(e._self,e._source,e._owner);if(null!=t){i(t)&&(l=t.ref,a=U.current),c(t)&&(u=""+t.key);var f;e.type&&e.type.defaultProps&&(f=e.type.defaultProps);for(r in t)I.call(t,r)&&!L.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==f?o[r]=f[r]:o[r]=t[r])}var s=arguments.length-2;if(1===s)o.children=n;else if(s>1){for(var p=Array(s),y=0;y<s;y++)p[y]=arguments[y+2];o.children=p}return D(e.type,u,l,0,0,a,o)},D.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===V};var K=D,M=function(){};M.thatReturns=l,M.thatReturnsFalse=l(!1),M.thatReturnsTrue=l(!0),M.thatReturnsNull=l(null),M.thatReturnsThis=function(){return this},M.thatReturnsArgument=function(e){return e};var B=M,W="function"==typeof Symbol&&Symbol.iterator,Y="@@iterator",z="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,G=".",H=":",J=/\/+/g,Q=10,X=[],Z={forEach:v,map:g,count:j,toArray:O},ee=Z,te=E,ne=K.createElement,re=K.createFactory;return{Children:{map:ee.map,forEach:ee.forEach,count:ee.count,toArray:ee.toArray,only:te},Component:N.Component,PureComponent:N.PureComponent,unstable_AsyncComponent:N.AsyncComponent,createElement:ne,cloneElement:K.cloneElement,isValidElement:K.isValidElement,createFactory:re,version:"16.0.0-beta.4",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:U}}});