react 16.3.0 → 16.4.0-alpha.3174632
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.
- package/cjs/react.development.js +15 -28
- package/cjs/react.production.min.js +14 -14
- package/package.json +1 -1
- package/umd/react.development.js +15 -28
- package/umd/react.production.min.js +14 -14
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.4.0-alpha.3174632
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -24,7 +24,7 @@ var checkPropTypes = require('prop-types/checkPropTypes');
|
|
|
24
24
|
|
|
25
25
|
// TODO: this is special because it gets imported during build.
|
|
26
26
|
|
|
27
|
-
var ReactVersion = '16.
|
|
27
|
+
var ReactVersion = '16.4.0-alpha.3174632';
|
|
28
28
|
|
|
29
29
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
30
30
|
// nor polyfill, then a plain number is used for performance.
|
|
@@ -39,7 +39,8 @@ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol['for']('react.strict_mode') : 0x
|
|
|
39
39
|
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol['for']('react.provider') : 0xeacd;
|
|
40
40
|
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol['for']('react.context') : 0xeace;
|
|
41
41
|
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol['for']('react.async_mode') : 0xeacf;
|
|
42
|
-
var
|
|
42
|
+
var REACT_LOADING_TYPE = hasSymbol ? Symbol['for']('react.loading') : 0xeada;
|
|
43
|
+
var REACT_TIMEOUT_TYPE = hasSymbol ? Symbol['for']('react.timeout') : 0xeadb;
|
|
43
44
|
|
|
44
45
|
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
45
46
|
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
@@ -307,7 +308,7 @@ pureComponentPrototype.isPureReactComponent = true;
|
|
|
307
308
|
// an immutable object with a single mutable value
|
|
308
309
|
function createRef() {
|
|
309
310
|
var refObject = {
|
|
310
|
-
|
|
311
|
+
value: null
|
|
311
312
|
};
|
|
312
313
|
{
|
|
313
314
|
Object.seal(refObject);
|
|
@@ -415,7 +416,7 @@ function defineRefPropWarningGetter(props, displayName) {
|
|
|
415
416
|
*/
|
|
416
417
|
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
|
417
418
|
var element = {
|
|
418
|
-
// This tag
|
|
419
|
+
// This tag allow us to uniquely identify this as a React Element
|
|
419
420
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
420
421
|
|
|
421
422
|
// Built-in properties that belong on the element
|
|
@@ -980,10 +981,10 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
980
981
|
|
|
981
982
|
var context = {
|
|
982
983
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
984
|
+
calculateChangedBits: calculateChangedBits,
|
|
985
|
+
defaultValue: defaultValue,
|
|
986
|
+
currentValue: defaultValue,
|
|
987
|
+
changedBits: 0,
|
|
987
988
|
// These are circular
|
|
988
989
|
Provider: null,
|
|
989
990
|
Consumer: null
|
|
@@ -1002,27 +1003,10 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1002
1003
|
return context;
|
|
1003
1004
|
}
|
|
1004
1005
|
|
|
1005
|
-
function forwardRef(render) {
|
|
1006
|
-
{
|
|
1007
|
-
warning(typeof render === 'function', 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
return {
|
|
1011
|
-
$$typeof: REACT_FORWARD_REF_TYPE,
|
|
1012
|
-
render: render
|
|
1013
|
-
};
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
1006
|
var describeComponentFrame = function (name, source, ownerName) {
|
|
1017
1007
|
return '\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');
|
|
1018
1008
|
};
|
|
1019
1009
|
|
|
1020
|
-
function isValidElementType(type) {
|
|
1021
|
-
return typeof type === 'string' || typeof type === 'function' ||
|
|
1022
|
-
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1023
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_ASYNC_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
1010
|
function getComponentName(fiber) {
|
|
1027
1011
|
var type = fiber.type;
|
|
1028
1012
|
|
|
@@ -1264,7 +1248,9 @@ function validateFragmentProps(fragment) {
|
|
|
1264
1248
|
}
|
|
1265
1249
|
|
|
1266
1250
|
function createElementWithValidation(type, props, children) {
|
|
1267
|
-
var validType =
|
|
1251
|
+
var validType = typeof type === 'string' || typeof type === 'function' ||
|
|
1252
|
+
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1253
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_ASYNC_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_LOADING_TYPE || type === REACT_TIMEOUT_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE);
|
|
1268
1254
|
|
|
1269
1255
|
// We warn in this case but don't throw. We expect the element creation to
|
|
1270
1256
|
// succeed and there will likely be errors in render.
|
|
@@ -1366,11 +1352,12 @@ var React = {
|
|
|
1366
1352
|
PureComponent: PureComponent,
|
|
1367
1353
|
|
|
1368
1354
|
createContext: createContext,
|
|
1369
|
-
forwardRef: forwardRef,
|
|
1370
1355
|
|
|
1371
1356
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
1372
1357
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
1373
1358
|
unstable_AsyncMode: REACT_ASYNC_MODE_TYPE,
|
|
1359
|
+
Loading: REACT_LOADING_TYPE,
|
|
1360
|
+
Timeout: REACT_TIMEOUT_TYPE,
|
|
1374
1361
|
|
|
1375
1362
|
createElement: createElementWithValidation,
|
|
1376
1363
|
cloneElement: cloneElementWithValidation,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.4.0-alpha.3174632
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
'use strict';var
|
|
11
|
-
typeof Symbol&&Symbol.iterator;function
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
function
|
|
15
|
-
function
|
|
16
|
-
function
|
|
17
|
-
h=0;!(d=a.next()).done;)d=d.value,f=b+
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
module.exports=
|
|
10
|
+
'use strict';var k=require("object-assign"),n=require("fbjs/lib/emptyObject"),p=require("fbjs/lib/emptyFunction"),q="function"===typeof Symbol&&Symbol["for"],r=q?Symbol["for"]("react.element"):60103,t=q?Symbol["for"]("react.portal"):60106,u=q?Symbol["for"]("react.fragment"):60107,v=q?Symbol["for"]("react.strict_mode"):60108,w=q?Symbol["for"]("react.provider"):60109,x=q?Symbol["for"]("react.context"):60110,y=q?Symbol["for"]("react.async_mode"):60111,z=q?Symbol["for"]("react.loading"):60122,A=q?Symbol["for"]("react.timeout"):
|
|
11
|
+
60123,B="function"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=arguments.length-1,e="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)e+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}
|
|
12
|
+
var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function E(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||D}E.prototype.isReactComponent={};E.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?C("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}
|
|
13
|
+
F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||D}var H=G.prototype=new F;H.constructor=G;k(H,E.prototype);H.isPureReactComponent=!0;var I={current:null},J=Object.prototype.hasOwnProperty,K={key:!0,ref:!0,__self:!0,__source:!0};
|
|
14
|
+
function L(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)J.call(b,c)&&!K.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:r,type:a,key:g,ref:h,props:d,_owner:I.current}}
|
|
15
|
+
function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===r}function escape(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var N=/\/+/g,O=[];function P(a,b,e,c){if(O.length){var d=O.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}function Q(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>O.length&&O.push(a)}
|
|
16
|
+
function R(a,b,e,c){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case r:case t:g=!0}}if(g)return e(c,a,""===b?"."+S(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+S(d,h);g+=R(d,f,e,c)}else if(null===a||"undefined"===typeof a?f=null:(f=B&&a[B]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),
|
|
17
|
+
h=0;!(d=a.next()).done;)d=d.value,f=b+S(d,h++),g+=R(d,f,e,c);else"object"===d&&(e=""+a,C("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function S(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function T(a,b){a.func.call(a.context,b,a.count++)}
|
|
18
|
+
function U(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,c,e,p.thatReturnsArgument):null!=a&&(M(a)&&(b=d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(N,"$\x26/")+"/")+e,a={$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function V(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(N,"$\x26/")+"/");b=P(b,g,c,d);null==a||R(a,"",U,b);Q(b)}
|
|
19
|
+
var W={Children:{map:function(a,b,e){if(null==a)return a;var c=[];V(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=P(null,null,b,e);null==a||R(a,"",T,b);Q(b)},count:function(a){return null==a?0:R(a,"",p.thatReturnsNull,null)},toArray:function(a){var b=[];V(a,b,null,p.thatReturnsArgument);return b},only:function(a){M(a)?void 0:C("143");return a}},createRef:function(){return{value:null}},Component:E,PureComponent:G,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:x,
|
|
20
|
+
calculateChangedBits:b,defaultValue:a,currentValue:a,changedBits:0,Provider:null,Consumer:null};a.Provider={$$typeof:w,context:a};return a.Consumer=a},Fragment:u,StrictMode:v,unstable_AsyncMode:y,Loading:z,Timeout:A,createElement:L,cloneElement:function(a,b,e){var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,f=I.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)J.call(b,c)&&!K.hasOwnProperty(c)&&
|
|
21
|
+
(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:r,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=L.bind(null,a);b.type=a;return b},isValidElement:M,version:"16.4.0-alpha.3174632",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:I,assign:k}},X=Object.freeze({default:W}),Y=X&&W||X;
|
|
22
|
+
module.exports=Y["default"]?Y["default"]:Y;
|
package/package.json
CHANGED
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.4.0-alpha.3174632
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -108,7 +108,7 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
|
|
|
108
108
|
|
|
109
109
|
// TODO: this is special because it gets imported during build.
|
|
110
110
|
|
|
111
|
-
var ReactVersion = '16.
|
|
111
|
+
var ReactVersion = '16.4.0-alpha.3174632';
|
|
112
112
|
|
|
113
113
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
114
114
|
// nor polyfill, then a plain number is used for performance.
|
|
@@ -123,7 +123,8 @@ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol['for']('react.strict_mode') : 0x
|
|
|
123
123
|
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol['for']('react.provider') : 0xeacd;
|
|
124
124
|
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol['for']('react.context') : 0xeace;
|
|
125
125
|
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol['for']('react.async_mode') : 0xeacf;
|
|
126
|
-
var
|
|
126
|
+
var REACT_LOADING_TYPE = hasSymbol ? Symbol['for']('react.loading') : 0xeada;
|
|
127
|
+
var REACT_TIMEOUT_TYPE = hasSymbol ? Symbol['for']('react.timeout') : 0xeadb;
|
|
127
128
|
|
|
128
129
|
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
129
130
|
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
@@ -561,7 +562,7 @@ pureComponentPrototype.isPureReactComponent = true;
|
|
|
561
562
|
// an immutable object with a single mutable value
|
|
562
563
|
function createRef() {
|
|
563
564
|
var refObject = {
|
|
564
|
-
|
|
565
|
+
value: null
|
|
565
566
|
};
|
|
566
567
|
{
|
|
567
568
|
Object.seal(refObject);
|
|
@@ -669,7 +670,7 @@ function defineRefPropWarningGetter(props, displayName) {
|
|
|
669
670
|
*/
|
|
670
671
|
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
|
671
672
|
var element = {
|
|
672
|
-
// This tag
|
|
673
|
+
// This tag allow us to uniquely identify this as a React Element
|
|
673
674
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
674
675
|
|
|
675
676
|
// Built-in properties that belong on the element
|
|
@@ -1234,10 +1235,10 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1234
1235
|
|
|
1235
1236
|
var context = {
|
|
1236
1237
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1238
|
+
calculateChangedBits: calculateChangedBits,
|
|
1239
|
+
defaultValue: defaultValue,
|
|
1240
|
+
currentValue: defaultValue,
|
|
1241
|
+
changedBits: 0,
|
|
1241
1242
|
// These are circular
|
|
1242
1243
|
Provider: null,
|
|
1243
1244
|
Consumer: null
|
|
@@ -1256,27 +1257,10 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1256
1257
|
return context;
|
|
1257
1258
|
}
|
|
1258
1259
|
|
|
1259
|
-
function forwardRef(render) {
|
|
1260
|
-
{
|
|
1261
|
-
warning_1(typeof render === 'function', 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
return {
|
|
1265
|
-
$$typeof: REACT_FORWARD_REF_TYPE,
|
|
1266
|
-
render: render
|
|
1267
|
-
};
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
1260
|
var describeComponentFrame = function (name, source, ownerName) {
|
|
1271
1261
|
return '\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');
|
|
1272
1262
|
};
|
|
1273
1263
|
|
|
1274
|
-
function isValidElementType(type) {
|
|
1275
|
-
return typeof type === 'string' || typeof type === 'function' ||
|
|
1276
|
-
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1277
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_ASYNC_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
1264
|
function getComponentName(fiber) {
|
|
1281
1265
|
var type = fiber.type;
|
|
1282
1266
|
|
|
@@ -1591,7 +1575,9 @@ function validateFragmentProps(fragment) {
|
|
|
1591
1575
|
}
|
|
1592
1576
|
|
|
1593
1577
|
function createElementWithValidation(type, props, children) {
|
|
1594
|
-
var validType =
|
|
1578
|
+
var validType = typeof type === 'string' || typeof type === 'function' ||
|
|
1579
|
+
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1580
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_ASYNC_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_LOADING_TYPE || type === REACT_TIMEOUT_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE);
|
|
1595
1581
|
|
|
1596
1582
|
// We warn in this case but don't throw. We expect the element creation to
|
|
1597
1583
|
// succeed and there will likely be errors in render.
|
|
@@ -1693,11 +1679,12 @@ var React = {
|
|
|
1693
1679
|
PureComponent: PureComponent,
|
|
1694
1680
|
|
|
1695
1681
|
createContext: createContext,
|
|
1696
|
-
forwardRef: forwardRef,
|
|
1697
1682
|
|
|
1698
1683
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
1699
1684
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
1700
1685
|
unstable_AsyncMode: REACT_ASYNC_MODE_TYPE,
|
|
1686
|
+
Loading: REACT_LOADING_TYPE,
|
|
1687
|
+
Timeout: REACT_TIMEOUT_TYPE,
|
|
1701
1688
|
|
|
1702
1689
|
createElement: createElementWithValidation,
|
|
1703
1690
|
cloneElement: cloneElementWithValidation,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.4.0-alpha.3174632
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(
|
|
10
|
-
b.name="Invariant Violation";b.framesToPop=1;throw b;}function
|
|
11
|
-
Array(g),
|
|
12
|
-
func:
|
|
13
|
-
a||"undefined"===typeof a?g=null:(g=L&&a[L]||a["@@iterator"],g="function"===typeof g?g:null),"function"===typeof g)for(a=g.call(a),
|
|
14
|
-
a=a.func.call(a.context,b,a.count++);Array.isArray(a)?
|
|
15
|
-
var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var
|
|
16
|
-
var
|
|
17
|
-
W=
|
|
18
|
-
{};
|
|
19
|
-
a)return a;var c=[];
|
|
20
|
-
|
|
21
|
-
|
|
9
|
+
'use strict';(function(p,l){"object"===typeof exports&&"undefined"!==typeof module?module.exports=l():"function"===typeof define&&define.amd?define(l):p.React=l()})(this,function(){function p(a){for(var b=arguments.length-1,d="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)d+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");
|
|
10
|
+
b.name="Invariant Violation";b.framesToPop=1;throw b;}function l(a){return function(){return a}}function n(a,b,d){this.props=a;this.context=b;this.refs=C;this.updater=d||D}function E(){}function u(a,b,d){this.props=a;this.context=b;this.refs=C;this.updater=d||D}function F(a,b,d){var c=void 0,e={},h=null,G=null;if(null!=b)for(c in void 0!==b.ref&&(G=b.ref),void 0!==b.key&&(h=""+b.key),b)H.call(b,c)&&!I.hasOwnProperty(c)&&(e[c]=b[c]);var g=arguments.length-2;if(1===g)e.children=d;else if(1<g){for(var k=
|
|
11
|
+
Array(g),f=0;f<g;f++)k[f]=arguments[f+2];e.children=k}if(a&&a.defaultProps)for(c in g=a.defaultProps,g)void 0===e[c]&&(e[c]=g[c]);return{$$typeof:q,type:a,key:h,ref:G,props:e,_owner:v.current}}function w(a){return"object"===typeof a&&null!==a&&a.$$typeof===q}function O(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function J(a,b,d,c){if(t.length){var e=t.pop();e.result=a;e.keyPrefix=b;e.func=d;e.context=c;e.count=0;return e}return{result:a,keyPrefix:b,
|
|
12
|
+
func:d,context:c,count:0}}function K(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>t.length&&t.push(a)}function r(a,b,d,c){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var h=!1;if(null===a)h=!0;else switch(e){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case q:case P:h=!0}}if(h)return d(c,a,""===b?"."+x(a,0):b),1;h=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var g=b+x(e,f);h+=r(e,g,d,c)}else if(null===
|
|
13
|
+
a||"undefined"===typeof a?g=null:(g=L&&a[L]||a["@@iterator"],g="function"===typeof g?g:null),"function"===typeof g)for(a=g.call(a),f=0;!(e=a.next()).done;)e=e.value,g=b+x(e,f++),h+=r(e,g,d,c);else"object"===e&&(d=""+a,p("31","[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return h}function x(a,b){return"object"===typeof a&&null!==a&&null!=a.key?O(a.key):b.toString(36)}function Q(a,b,d){a.func.call(a.context,b,a.count++)}function R(a,b,d){var c=a.result,e=a.keyPrefix;
|
|
14
|
+
a=a.func.call(a.context,b,a.count++);Array.isArray(a)?y(a,c,d,z.thatReturnsArgument):null!=a&&(w(a)&&(b=e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(M,"$\x26/")+"/")+d,a={$$typeof:q,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function y(a,b,d,c,e){var h="";null!=d&&(h=(""+d).replace(M,"$\x26/")+"/");b=J(b,h,c,e);null==a||r(a,"",R,b);K(b)}var N=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,A=function(){try{if(!Object.assign)return!1;
|
|
15
|
+
var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(c){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
16
|
+
var d=Object(a);for(var c,e=1;e<arguments.length;e++){var h=Object(arguments[e]);for(var f in h)S.call(h,f)&&(d[f]=h[f]);if(N){c=N(h);for(var g=0;g<c.length;g++)T.call(h,c[g])&&(d[c[g]]=h[c[g]])}}return d},k="function"===typeof Symbol&&Symbol["for"],q=k?Symbol["for"]("react.element"):60103,P=k?Symbol["for"]("react.portal"):60106,m=k?Symbol["for"]("react.fragment"):60107,B=k?Symbol["for"]("react.strict_mode"):60108,U=k?Symbol["for"]("react.provider"):60109,V=k?Symbol["for"]("react.context"):60110,
|
|
17
|
+
W=k?Symbol["for"]("react.async_mode"):60111,X=k?Symbol["for"]("react.loading"):60122;k=k?Symbol["for"]("react.timeout"):60123;var L="function"===typeof Symbol&&Symbol.iterator,C={},f=function(){};f.thatReturns=l;f.thatReturnsFalse=l(!1);f.thatReturnsTrue=l(!0);f.thatReturnsNull=l(null);f.thatReturnsThis=function(){return this};f.thatReturnsArgument=function(a){return a};var z=f,D={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,
|
|
18
|
+
b,d,c){}};n.prototype.isReactComponent={};n.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?p("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};n.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};E.prototype=n.prototype;f=u.prototype=new E;f.constructor=u;A(f,n.prototype);f.isPureReactComponent=!0;var v={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0},M=/\/+/g,t=[];m={Children:{map:function(a,
|
|
19
|
+
b,d){if(null==a)return a;var c=[];y(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=J(null,null,b,d);null==a||r(a,"",Q,b);K(b)},count:function(a,b){return null==a?0:r(a,"",z.thatReturnsNull,null)},toArray:function(a){var b=[];y(a,b,null,z.thatReturnsArgument);return b},only:function(a){w(a)?void 0:p("143");return a}},createRef:function(){return{value:null}},Component:n,PureComponent:u,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:V,calculateChangedBits:b,defaultValue:a,
|
|
20
|
+
currentValue:a,changedBits:0,Provider:null,Consumer:null};a.Provider={$$typeof:U,context:a};return a.Consumer=a},Fragment:m,StrictMode:B,unstable_AsyncMode:W,Loading:X,Timeout:k,createElement:F,cloneElement:function(a,b,d){var c=void 0,e=A({},a.props),f=a.key,k=a.ref,g=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,g=v.current);void 0!==b.key&&(f=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)H.call(b,c)&&!I.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?
|
|
21
|
+
l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:q,type:a.type,key:f,ref:k,props:e,_owner:g}},createFactory:function(a){var b=F.bind(null,a);b.type=a;return b},isValidElement:w,version:"16.4.0-alpha.3174632",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:v,assign:A}};m=(B=Object.freeze({default:m}))&&m||B;return m["default"]?m["default"]:m});
|