react 16.3.2 → 16.4.0-alpha.7926752

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
- /** @license React v16.3.2
1
+ /** @license React v16.4.0-alpha.7926752
2
2
  * react.development.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -16,15 +16,15 @@ if (process.env.NODE_ENV !== "production") {
16
16
  'use strict';
17
17
 
18
18
  var _assign = require('object-assign');
19
- var invariant = require('fbjs/lib/invariant');
20
19
  var emptyObject = require('fbjs/lib/emptyObject');
20
+ var invariant = require('fbjs/lib/invariant');
21
21
  var warning = require('fbjs/lib/warning');
22
22
  var emptyFunction = require('fbjs/lib/emptyFunction');
23
23
  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.3.2';
27
+ var ReactVersion = '16.4.0-alpha.7926752';
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 REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol['for']('react.forward_ref') : 0xead0;
42
+ var REACT_ASYNC_BOUNDARY_TYPE = hasSymbol ? Symbol['for']('react.async_boundary') : 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';
@@ -55,8 +56,12 @@ function getIteratorFn(maybeIterable) {
55
56
  return null;
56
57
  }
57
58
 
58
- // Relying on the `invariant()` implementation lets us
59
- // have preserve the format and params in the www builds.
59
+ /**
60
+ * WARNING: DO NOT manually require this module.
61
+ * This is a replacement for `invariant(...)` used by the error code system
62
+ * and will _only_ be required by the corresponding babel pass.
63
+ * It always throws.
64
+ */
60
65
 
61
66
  /**
62
67
  * Forked from fbjs/warning:
@@ -121,7 +126,7 @@ function warnNoop(publicInstance, callerName) {
121
126
  if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
122
127
  return;
123
128
  }
124
- warning(false, "Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
129
+ warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op.\n\nPlease check the code for the %s component.', callerName, callerName, componentName);
125
130
  didWarnStateUpdateForUnmountedComponent[warningKey] = true;
126
131
  }
127
132
  }
@@ -303,7 +308,7 @@ pureComponentPrototype.isPureReactComponent = true;
303
308
  // an immutable object with a single mutable value
304
309
  function createRef() {
305
310
  var refObject = {
306
- current: null
311
+ value: null
307
312
  };
308
313
  {
309
314
  Object.seal(refObject);
@@ -411,7 +416,7 @@ function defineRefPropWarningGetter(props, displayName) {
411
416
  */
412
417
  var ReactElement = function (type, key, ref, self, source, owner, props) {
413
418
  var element = {
414
- // This tag allows us to uniquely identify this as a React Element
419
+ // This tag allow us to uniquely identify this as a React Element
415
420
  $$typeof: REACT_ELEMENT_TYPE,
416
421
 
417
422
  // Built-in properties that belong on the element
@@ -558,8 +563,6 @@ function cloneAndReplaceKey(oldElement, newKey) {
558
563
  * See https://reactjs.org/docs/react-api.html#cloneelement
559
564
  */
560
565
  function cloneElement(element, config, children) {
561
- !!(element === null || element === undefined) ? invariant(false, 'React.cloneElement(...): The argument must be a React element, but you passed %s.', element) : void 0;
562
-
563
566
  var propName = void 0;
564
567
 
565
568
  // Original props are copied
@@ -774,7 +777,7 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
774
777
  {
775
778
  // Warn about using Maps as children
776
779
  if (iteratorFn === children.entries) {
777
- !didWarnAboutMaps ? warning(false, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.%s', ReactDebugCurrentFrame.getStackAddendum()) : void 0;
780
+ warning(didWarnAboutMaps, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.%s', ReactDebugCurrentFrame.getStackAddendum());
778
781
  didWarnAboutMaps = true;
779
782
  }
780
783
  }
@@ -972,16 +975,16 @@ function createContext(defaultValue, calculateChangedBits) {
972
975
  calculateChangedBits = null;
973
976
  } else {
974
977
  {
975
- !(calculateChangedBits === null || typeof calculateChangedBits === 'function') ? warning(false, 'createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits) : void 0;
978
+ warning(calculateChangedBits === null || typeof calculateChangedBits === 'function', 'createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits);
976
979
  }
977
980
  }
978
981
 
979
982
  var context = {
980
983
  $$typeof: REACT_CONTEXT_TYPE,
981
- _calculateChangedBits: calculateChangedBits,
982
- _defaultValue: defaultValue,
983
- _currentValue: defaultValue,
984
- _changedBits: 0,
984
+ calculateChangedBits: calculateChangedBits,
985
+ defaultValue: defaultValue,
986
+ currentValue: defaultValue,
987
+ changedBits: 0,
985
988
  // These are circular
986
989
  Provider: null,
987
990
  Consumer: null
@@ -989,7 +992,7 @@ function createContext(defaultValue, calculateChangedBits) {
989
992
 
990
993
  context.Provider = {
991
994
  $$typeof: REACT_PROVIDER_TYPE,
992
- _context: context
995
+ context: context
993
996
  };
994
997
  context.Consumer = context;
995
998
 
@@ -1000,27 +1003,10 @@ function createContext(defaultValue, calculateChangedBits) {
1000
1003
  return context;
1001
1004
  }
1002
1005
 
1003
- function forwardRef(render) {
1004
- {
1005
- !(typeof render === 'function') ? warning(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render) : void 0;
1006
- }
1007
-
1008
- return {
1009
- $$typeof: REACT_FORWARD_REF_TYPE,
1010
- render: render
1011
- };
1012
- }
1013
-
1014
1006
  var describeComponentFrame = function (name, source, ownerName) {
1015
1007
  return '\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');
1016
1008
  };
1017
1009
 
1018
- function isValidElementType(type) {
1019
- return typeof type === 'string' || typeof type === 'function' ||
1020
- // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1021
- 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);
1022
- }
1023
-
1024
1010
  function getComponentName(fiber) {
1025
1011
  var type = fiber.type;
1026
1012
 
@@ -1040,13 +1026,6 @@ function getComponentName(fiber) {
1040
1026
  case REACT_RETURN_TYPE:
1041
1027
  return 'ReactReturn';
1042
1028
  }
1043
- if (typeof type === 'object' && type !== null) {
1044
- switch (type.$$typeof) {
1045
- case REACT_FORWARD_REF_TYPE:
1046
- var functionName = type.render.displayName || type.render.name || '';
1047
- return functionName !== '' ? 'ForwardRef(' + functionName + ')' : 'ForwardRef';
1048
- }
1049
- }
1050
1029
  return null;
1051
1030
  }
1052
1031
 
@@ -1063,6 +1042,8 @@ var propTypesMisspellWarningShown = void 0;
1063
1042
  var getDisplayName = function () {};
1064
1043
  var getStackAddendum = function () {};
1065
1044
 
1045
+ var VALID_FRAGMENT_PROPS = void 0;
1046
+
1066
1047
  {
1067
1048
  currentlyValidatingElement = null;
1068
1049
 
@@ -1092,6 +1073,8 @@ var getStackAddendum = function () {};
1092
1073
  stack += ReactDebugCurrentFrame.getStackAddendum() || '';
1093
1074
  return stack;
1094
1075
  };
1076
+
1077
+ VALID_FRAGMENT_PROPS = new Map([['children', true], ['key', true]]);
1095
1078
  }
1096
1079
 
1097
1080
  function getDeclarationErrorAddendum() {
@@ -1237,7 +1220,7 @@ function validatePropTypes(element) {
1237
1220
  warning(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
1238
1221
  }
1239
1222
  if (typeof componentClass.getDefaultProps === 'function') {
1240
- !componentClass.getDefaultProps.isReactClassApproved ? warning(false, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;
1223
+ warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
1241
1224
  }
1242
1225
  }
1243
1226
 
@@ -1251,7 +1234,7 @@ function validateFragmentProps(fragment) {
1251
1234
  var keys = Object.keys(fragment.props);
1252
1235
  for (var i = 0; i < keys.length; i++) {
1253
1236
  var key = keys[i];
1254
- if (key !== 'children' && key !== 'key') {
1237
+ if (!VALID_FRAGMENT_PROPS.has(key)) {
1255
1238
  warning(false, 'Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.%s', key, getStackAddendum());
1256
1239
  break;
1257
1240
  }
@@ -1265,7 +1248,9 @@ function validateFragmentProps(fragment) {
1265
1248
  }
1266
1249
 
1267
1250
  function createElementWithValidation(type, props, children) {
1268
- var validType = isValidElementType(type);
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_ASYNC_BOUNDARY_TYPE || type === REACT_TIMEOUT_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE);
1269
1254
 
1270
1255
  // We warn in this case but don't throw. We expect the element creation to
1271
1256
  // succeed and there will likely be errors in render.
@@ -1367,11 +1352,12 @@ var React = {
1367
1352
  PureComponent: PureComponent,
1368
1353
 
1369
1354
  createContext: createContext,
1370
- forwardRef: forwardRef,
1371
1355
 
1372
1356
  Fragment: REACT_FRAGMENT_TYPE,
1373
1357
  StrictMode: REACT_STRICT_MODE_TYPE,
1374
1358
  unstable_AsyncMode: REACT_ASYNC_MODE_TYPE,
1359
+ AsyncBoundary: REACT_ASYNC_BOUNDARY_TYPE,
1360
+ Timeout: REACT_TIMEOUT_TYPE,
1375
1361
 
1376
1362
  createElement: createElementWithValidation,
1377
1363
  cloneElement: cloneElementWithValidation,
@@ -1,4 +1,4 @@
1
- /** @license React v16.3.2
1
+ /** @license React v16.4.0-alpha.7926752
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 m=require("object-assign"),n=require("fbjs/lib/invariant"),p=require("fbjs/lib/emptyObject"),q=require("fbjs/lib/emptyFunction"),r="function"===typeof Symbol&&Symbol["for"],t=r?Symbol["for"]("react.element"):60103,u=r?Symbol["for"]("react.portal"):60106,v=r?Symbol["for"]("react.fragment"):60107,w=r?Symbol["for"]("react.strict_mode"):60108,x=r?Symbol["for"]("react.provider"):60109,y=r?Symbol["for"]("react.context"):60110,z=r?Symbol["for"]("react.async_mode"):60111,A=r?Symbol["for"]("react.forward_ref"):
11
- 60112,B="function"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=arguments.length-1,e="http://reactjs.org/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)e+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);n(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};
12
- function E(a,b,e){this.props=a;this.context=b;this.refs=p;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(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=p;this.updater=e||D}var H=G.prototype=new F;
13
- H.constructor=G;m(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 k=Array(f),l=0;l<f;l++)k[l]=arguments[l+2];d.children=k}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:t,type:a,key:g,ref:h,props:d,_owner:I.current}}
15
- function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===t}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 t:case u: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),
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.async_boundary"):60122,
11
+ A=q?Symbol["for"]("react.timeout"):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
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,q.thatReturnsArgument):null!=a&&(M(a)&&(b=d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(N,"$\x26/")+"/")+e,a={$$typeof:t,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,"",q.thatReturnsNull,null)},toArray:function(a){var b=[];V(a,b,null,q.thatReturnsArgument);return b},only:function(a){M(a)?void 0:C("143");return a}},createRef:function(){return{current:null}},Component:E,PureComponent:G,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:y,
20
- _calculateChangedBits:b,_defaultValue:a,_currentValue:a,_changedBits:0,Provider:null,Consumer:null};a.Provider={$$typeof:x,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:A,render:a}},Fragment:v,StrictMode:w,unstable_AsyncMode:z,createElement:L,cloneElement:function(a,b,e){null===a||void 0===a?C("267",a):void 0;var c=void 0,d=m({},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 k=void 0;a.type&&a.type.defaultProps&&
21
- (k=a.type.defaultProps);for(c in b)J.call(b,c)&&!K.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==k?k[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){k=Array(c);for(var l=0;l<c;l++)k[l]=arguments[l+2];d.children=k}return{$$typeof:t,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.3.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:I,assign:m}},X=Object.freeze({default:W}),
22
- Y=X&&W||X;module.exports=Y["default"]?Y["default"]:Y;
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,AsyncBoundary: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.7926752",__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
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "16.3.2",
7
+ "version": "16.4.0-alpha.7926752",
8
8
  "homepage": "https://reactjs.org/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- /** @license React v16.3.2
1
+ /** @license React v16.4.0-alpha.7926752
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.3.2';
111
+ var ReactVersion = '16.4.0-alpha.7926752';
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 REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol['for']('react.forward_ref') : 0xead0;
126
+ var REACT_ASYNC_BOUNDARY_TYPE = hasSymbol ? Symbol['for']('react.async_boundary') : 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';
@@ -139,6 +140,31 @@ function getIteratorFn(maybeIterable) {
139
140
  return null;
140
141
  }
141
142
 
143
+ /**
144
+ * WARNING: DO NOT manually require this module.
145
+ * This is a replacement for `invariant(...)` used by the error code system
146
+ * and will _only_ be required by the corresponding babel pass.
147
+ * It always throws.
148
+ */
149
+
150
+ /**
151
+ * Copyright (c) 2013-present, Facebook, Inc.
152
+ *
153
+ * This source code is licensed under the MIT license found in the
154
+ * LICENSE file in the root directory of this source tree.
155
+ *
156
+ */
157
+
158
+
159
+
160
+ var emptyObject = {};
161
+
162
+ {
163
+ Object.freeze(emptyObject);
164
+ }
165
+
166
+ var emptyObject_1 = emptyObject;
167
+
142
168
  /**
143
169
  * Copyright (c) 2013-present, Facebook, Inc.
144
170
  *
@@ -193,27 +219,6 @@ function invariant(condition, format, a, b, c, d, e, f) {
193
219
 
194
220
  var invariant_1 = invariant;
195
221
 
196
- // Relying on the `invariant()` implementation lets us
197
- // have preserve the format and params in the www builds.
198
-
199
- /**
200
- * Copyright (c) 2013-present, Facebook, Inc.
201
- *
202
- * This source code is licensed under the MIT license found in the
203
- * LICENSE file in the root directory of this source tree.
204
- *
205
- */
206
-
207
-
208
-
209
- var emptyObject = {};
210
-
211
- {
212
- Object.freeze(emptyObject);
213
- }
214
-
215
- var emptyObject_1 = emptyObject;
216
-
217
222
  /**
218
223
  * Forked from fbjs/warning:
219
224
  * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
@@ -375,7 +380,7 @@ function warnNoop(publicInstance, callerName) {
375
380
  if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
376
381
  return;
377
382
  }
378
- warning_1(false, "Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
383
+ warning_1(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op.\n\nPlease check the code for the %s component.', callerName, callerName, componentName);
379
384
  didWarnStateUpdateForUnmountedComponent[warningKey] = true;
380
385
  }
381
386
  }
@@ -557,7 +562,7 @@ pureComponentPrototype.isPureReactComponent = true;
557
562
  // an immutable object with a single mutable value
558
563
  function createRef() {
559
564
  var refObject = {
560
- current: null
565
+ value: null
561
566
  };
562
567
  {
563
568
  Object.seal(refObject);
@@ -665,7 +670,7 @@ function defineRefPropWarningGetter(props, displayName) {
665
670
  */
666
671
  var ReactElement = function (type, key, ref, self, source, owner, props) {
667
672
  var element = {
668
- // This tag allows us to uniquely identify this as a React Element
673
+ // This tag allow us to uniquely identify this as a React Element
669
674
  $$typeof: REACT_ELEMENT_TYPE,
670
675
 
671
676
  // Built-in properties that belong on the element
@@ -812,8 +817,6 @@ function cloneAndReplaceKey(oldElement, newKey) {
812
817
  * See https://reactjs.org/docs/react-api.html#cloneelement
813
818
  */
814
819
  function cloneElement(element, config, children) {
815
- !!(element === null || element === undefined) ? invariant_1(false, 'React.cloneElement(...): The argument must be a React element, but you passed %s.', element) : void 0;
816
-
817
820
  var propName = void 0;
818
821
 
819
822
  // Original props are copied
@@ -1028,7 +1031,7 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
1028
1031
  {
1029
1032
  // Warn about using Maps as children
1030
1033
  if (iteratorFn === children.entries) {
1031
- !didWarnAboutMaps ? warning_1(false, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.%s', ReactDebugCurrentFrame.getStackAddendum()) : void 0;
1034
+ warning_1(didWarnAboutMaps, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.%s', ReactDebugCurrentFrame.getStackAddendum());
1032
1035
  didWarnAboutMaps = true;
1033
1036
  }
1034
1037
  }
@@ -1226,16 +1229,16 @@ function createContext(defaultValue, calculateChangedBits) {
1226
1229
  calculateChangedBits = null;
1227
1230
  } else {
1228
1231
  {
1229
- !(calculateChangedBits === null || typeof calculateChangedBits === 'function') ? warning_1(false, 'createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits) : void 0;
1232
+ warning_1(calculateChangedBits === null || typeof calculateChangedBits === 'function', 'createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits);
1230
1233
  }
1231
1234
  }
1232
1235
 
1233
1236
  var context = {
1234
1237
  $$typeof: REACT_CONTEXT_TYPE,
1235
- _calculateChangedBits: calculateChangedBits,
1236
- _defaultValue: defaultValue,
1237
- _currentValue: defaultValue,
1238
- _changedBits: 0,
1238
+ calculateChangedBits: calculateChangedBits,
1239
+ defaultValue: defaultValue,
1240
+ currentValue: defaultValue,
1241
+ changedBits: 0,
1239
1242
  // These are circular
1240
1243
  Provider: null,
1241
1244
  Consumer: null
@@ -1243,7 +1246,7 @@ function createContext(defaultValue, calculateChangedBits) {
1243
1246
 
1244
1247
  context.Provider = {
1245
1248
  $$typeof: REACT_PROVIDER_TYPE,
1246
- _context: context
1249
+ context: context
1247
1250
  };
1248
1251
  context.Consumer = context;
1249
1252
 
@@ -1254,27 +1257,10 @@ function createContext(defaultValue, calculateChangedBits) {
1254
1257
  return context;
1255
1258
  }
1256
1259
 
1257
- function forwardRef(render) {
1258
- {
1259
- !(typeof render === 'function') ? warning_1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render) : void 0;
1260
- }
1261
-
1262
- return {
1263
- $$typeof: REACT_FORWARD_REF_TYPE,
1264
- render: render
1265
- };
1266
- }
1267
-
1268
1260
  var describeComponentFrame = function (name, source, ownerName) {
1269
1261
  return '\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');
1270
1262
  };
1271
1263
 
1272
- function isValidElementType(type) {
1273
- return typeof type === 'string' || typeof type === 'function' ||
1274
- // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1275
- 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);
1276
- }
1277
-
1278
1264
  function getComponentName(fiber) {
1279
1265
  var type = fiber.type;
1280
1266
 
@@ -1294,13 +1280,6 @@ function getComponentName(fiber) {
1294
1280
  case REACT_RETURN_TYPE:
1295
1281
  return 'ReactReturn';
1296
1282
  }
1297
- if (typeof type === 'object' && type !== null) {
1298
- switch (type.$$typeof) {
1299
- case REACT_FORWARD_REF_TYPE:
1300
- var functionName = type.render.displayName || type.render.name || '';
1301
- return functionName !== '' ? 'ForwardRef(' + functionName + ')' : 'ForwardRef';
1302
- }
1303
- }
1304
1283
  return null;
1305
1284
  }
1306
1285
 
@@ -1390,6 +1369,8 @@ var propTypesMisspellWarningShown = void 0;
1390
1369
  var getDisplayName = function () {};
1391
1370
  var getStackAddendum = function () {};
1392
1371
 
1372
+ var VALID_FRAGMENT_PROPS = void 0;
1373
+
1393
1374
  {
1394
1375
  currentlyValidatingElement = null;
1395
1376
 
@@ -1419,6 +1400,8 @@ var getStackAddendum = function () {};
1419
1400
  stack += ReactDebugCurrentFrame.getStackAddendum() || '';
1420
1401
  return stack;
1421
1402
  };
1403
+
1404
+ VALID_FRAGMENT_PROPS = new Map([['children', true], ['key', true]]);
1422
1405
  }
1423
1406
 
1424
1407
  function getDeclarationErrorAddendum() {
@@ -1564,7 +1547,7 @@ function validatePropTypes(element) {
1564
1547
  warning_1(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
1565
1548
  }
1566
1549
  if (typeof componentClass.getDefaultProps === 'function') {
1567
- !componentClass.getDefaultProps.isReactClassApproved ? warning_1(false, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;
1550
+ warning_1(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
1568
1551
  }
1569
1552
  }
1570
1553
 
@@ -1578,7 +1561,7 @@ function validateFragmentProps(fragment) {
1578
1561
  var keys = Object.keys(fragment.props);
1579
1562
  for (var i = 0; i < keys.length; i++) {
1580
1563
  var key = keys[i];
1581
- if (key !== 'children' && key !== 'key') {
1564
+ if (!VALID_FRAGMENT_PROPS.has(key)) {
1582
1565
  warning_1(false, 'Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.%s', key, getStackAddendum());
1583
1566
  break;
1584
1567
  }
@@ -1592,7 +1575,9 @@ function validateFragmentProps(fragment) {
1592
1575
  }
1593
1576
 
1594
1577
  function createElementWithValidation(type, props, children) {
1595
- var validType = isValidElementType(type);
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_ASYNC_BOUNDARY_TYPE || type === REACT_TIMEOUT_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE);
1596
1581
 
1597
1582
  // We warn in this case but don't throw. We expect the element creation to
1598
1583
  // succeed and there will likely be errors in render.
@@ -1694,11 +1679,12 @@ var React = {
1694
1679
  PureComponent: PureComponent,
1695
1680
 
1696
1681
  createContext: createContext,
1697
- forwardRef: forwardRef,
1698
1682
 
1699
1683
  Fragment: REACT_FRAGMENT_TYPE,
1700
1684
  StrictMode: REACT_STRICT_MODE_TYPE,
1701
1685
  unstable_AsyncMode: REACT_ASYNC_MODE_TYPE,
1686
+ AsyncBoundary: REACT_ASYNC_BOUNDARY_TYPE,
1687
+ Timeout: REACT_TIMEOUT_TYPE,
1702
1688
 
1703
1689
  createElement: createElementWithValidation,
1704
1690
  cloneElement: cloneElementWithValidation,
@@ -1,4 +1,4 @@
1
- /** @license React v16.3.2
1
+ /** @license React v16.4.0-alpha.7926752
2
2
  * react.production.min.js
3
3
  *
4
4
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -6,17 +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(p,h){"object"===typeof exports&&"undefined"!==typeof module?module.exports=h():"function"===typeof define&&define.amd?define(h):p.React=h()})(this,function(){function p(a){for(var b=arguments.length-1,e="http://reactjs.org/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)e+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);O(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",
10
- e)}function h(a){return function(){return a}}function q(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||E}function F(){}function v(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||E}function G(a,b,e){var c=void 0,f={},k=null,d=null;if(null!=b)for(c in void 0!==b.ref&&(d=b.ref),void 0!==b.key&&(k=""+b.key),b)H.call(b,c)&&!I.hasOwnProperty(c)&&(f[c]=b[c]);var g=arguments.length-2;if(1===g)f.children=e;else if(1<g){for(var m=Array(g),l=0;l<g;l++)m[l]=arguments[l+2];f.children=
11
- m}if(a&&a.defaultProps)for(c in g=a.defaultProps,g)void 0===f[c]&&(f[c]=g[c]);return{$$typeof:r,type:a,key:k,ref:d,props:f,_owner:w.current}}function x(a){return"object"===typeof a&&null!==a&&a.$$typeof===r}function P(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function J(a,b,e,c){if(u.length){var f=u.pop();f.result=a;f.keyPrefix=b;f.func=e;f.context=c;f.count=0;return f}return{result:a,keyPrefix:b,func:e,context:c,count:0}}function K(a){a.result=
12
- null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>u.length&&u.push(a)}function t(a,b,e,c){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var k=!1;if(null===a)k=!0;else switch(f){case "string":case "number":k=!0;break;case "object":switch(a.$$typeof){case r:case Q:k=!0}}if(k)return e(c,a,""===b?"."+y(a,0):b),1;k=0;b=""===b?".":b+":";if(Array.isArray(a))for(var d=0;d<a.length;d++){f=a[d];var g=b+y(f,d);k+=t(f,g,e,c)}else if(null===a||"undefined"===typeof a?g=null:(g=L&&a[L]||a["@@iterator"],
13
- g="function"===typeof g?g:null),"function"===typeof g)for(a=g.call(a),d=0;!(f=a.next()).done;)f=f.value,g=b+y(f,d++),k+=t(f,g,e,c);else"object"===f&&(e=""+a,p("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return k}function y(a,b){return"object"===typeof a&&null!==a&&null!=a.key?P(a.key):b.toString(36)}function R(a,b,e){a.func.call(a.context,b,a.count++)}function S(a,b,e){var c=a.result,f=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?z(a,c,
14
- e,A.thatReturnsArgument):null!=a&&(x(a)&&(b=f+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(M,"$\x26/")+"/")+e,a={$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function z(a,b,e,c,f){var d="";null!=e&&(d=(""+e).replace(M,"$\x26/")+"/");b=J(b,d,c,f);null==a||t(a,"",S,b);K(b)}var N=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,B=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===
15
- 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 e={};"abcdefghijklmnopqrst".split("").forEach(function(a){e[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},e)).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");var e=
16
- Object(a);for(var c,f=1;f<arguments.length;f++){var d=Object(arguments[f]);for(var h in d)T.call(d,h)&&(e[h]=d[h]);if(N){c=N(d);for(var g=0;g<c.length;g++)U.call(d,c[g])&&(e[c[g]]=d[c[g]])}}return e},d="function"===typeof Symbol&&Symbol["for"],r=d?Symbol["for"]("react.element"):60103,Q=d?Symbol["for"]("react.portal"):60106,n=d?Symbol["for"]("react.fragment"):60107,C=d?Symbol["for"]("react.strict_mode"):60108,V=d?Symbol["for"]("react.provider"):60109,W=d?Symbol["for"]("react.context"):60110,X=d?Symbol["for"]("react.async_mode"):
17
- 60111,Y=d?Symbol["for"]("react.forward_ref"):60112,L="function"===typeof Symbol&&Symbol.iterator,O=function(a,b,e,c,f,d,h,g){if(!a){if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[e,c,f,d,h,g],l=0;a=Error(b.replace(/%s/g,function(){return k[l++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}},D={};d=function(){};d.thatReturns=h;d.thatReturnsFalse=h(!1);d.thatReturnsTrue=h(!0);
18
- d.thatReturnsNull=h(null);d.thatReturnsThis=function(){return this};d.thatReturnsArgument=function(a){return a};var A=d,E={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,e){},enqueueReplaceState:function(a,b,e,c){},enqueueSetState:function(a,b,e,c){}};q.prototype.isReactComponent={};q.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?p("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};q.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,
19
- a,"forceUpdate")};F.prototype=q.prototype;d=v.prototype=new F;d.constructor=v;B(d,q.prototype);d.isPureReactComponent=!0;var w={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0},M=/\/+/g,u=[];n={Children:{map:function(a,b,e){if(null==a)return a;var c=[];z(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=J(null,null,b,e);null==a||t(a,"",R,b);K(b)},count:function(a,b){return null==a?0:t(a,"",A.thatReturnsNull,null)},toArray:function(a){var b=
20
- [];z(a,b,null,A.thatReturnsArgument);return b},only:function(a){x(a)?void 0:p("143");return a}},createRef:function(){return{current:null}},Component:q,PureComponent:v,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:W,_calculateChangedBits:b,_defaultValue:a,_currentValue:a,_changedBits:0,Provider:null,Consumer:null};a.Provider={$$typeof:V,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Y,render:a}},Fragment:n,StrictMode:C,unstable_AsyncMode:X,createElement:G,cloneElement:function(a,
21
- b,e){null===a||void 0===a?p("267",a):void 0;var c=void 0,d=B({},a.props),k=a.key,h=a.ref,g=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,g=w.current);void 0!==b.key&&(k=""+b.key);var m=void 0;a.type&&a.type.defaultProps&&(m=a.type.defaultProps);for(c in b)H.call(b,c)&&!I.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==m?m[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){m=Array(c);for(var l=0;l<c;l++)m[l]=arguments[l+2];d.children=m}return{$$typeof:r,type:a.type,key:k,ref:h,props:d,
22
- _owner:g}},createFactory:function(a){var b=G.bind(null,a);b.type=a;return b},isValidElement:x,version:"16.3.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:w,assign:B}};n=(C=Object.freeze({default:n}))&&n||C;return n["default"]?n["default"]:n});
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.async_boundary"):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,AsyncBoundary: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!==
21
+ l?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.7926752",__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});