react-rails 2.4.3 → 2.4.4.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +24 -15
- data/lib/assets/javascripts/react_ujs.js +4 -17
- data/lib/assets/react-source/development/react-server.js +171 -136
- data/lib/assets/react-source/development/react.js +589 -576
- data/lib/assets/react-source/production/react-server.js +3 -3
- data/lib/assets/react-source/production/react.js +5 -5
- data/lib/generators/templates/component.es6.jsx +3 -7
- data/lib/generators/templates/component.js.jsx +3 -7
- data/lib/generators/templates/component.js.jsx.coffee +3 -7
- data/lib/react/rails/version.rb +1 -1
- data/lib/react/server_rendering/exec_js_renderer.rb +1 -1
- metadata +5 -5
@@ -243,6 +243,10 @@
|
|
243
243
|
process.removeListener = noop;
|
244
244
|
process.removeAllListeners = noop;
|
245
245
|
process.emit = noop;
|
246
|
+
process.prependListener = noop;
|
247
|
+
process.prependOnceListener = noop;
|
248
|
+
|
249
|
+
process.listeners = function (name) { return [] }
|
246
250
|
|
247
251
|
process.binding = function (name) {
|
248
252
|
throw new Error('process.binding is not supported');
|
@@ -259,7 +263,7 @@
|
|
259
263
|
/* 3 */
|
260
264
|
/***/ (function(module, exports, __webpack_require__) {
|
261
265
|
|
262
|
-
/** @license React v16.
|
266
|
+
/** @license React v16.2.0
|
263
267
|
* react.production.min.js
|
264
268
|
*
|
265
269
|
* Copyright (c) 2013-present, Facebook, Inc.
|
@@ -267,20 +271,19 @@
|
|
267
271
|
* This source code is licensed under the MIT license found in the
|
268
272
|
* LICENSE file in the root directory of this source tree.
|
269
273
|
*/
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
function
|
274
|
-
var z={current:null},
|
275
|
-
function
|
276
|
-
|
277
|
-
function
|
278
|
-
|
279
|
-
e
|
280
|
-
function
|
281
|
-
|
282
|
-
|
283
|
-
version:"16.1.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:z,assign:m}},S=Object.freeze({default:R}),T=S&&R||S;module.exports=T["default"]?T["default"]:T;
|
274
|
+
|
275
|
+
'use strict';var m=__webpack_require__(4),n=__webpack_require__(5),p=__webpack_require__(6),q="function"===typeof Symbol&&Symbol["for"],r=q?Symbol["for"]("react.element"):60103,t=q?Symbol["for"]("react.call"):60104,u=q?Symbol["for"]("react.return"):60105,v=q?Symbol["for"]("react.portal"):60106,w=q?Symbol["for"]("react.fragment"):60107,x="function"===typeof Symbol&&Symbol.iterator;
|
276
|
+
function y(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;}
|
277
|
+
var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function A(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}A.prototype.isReactComponent={};A.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?y("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
|
278
|
+
function B(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}function C(){}C.prototype=A.prototype;var D=B.prototype=new C;D.constructor=B;m(D,A.prototype);D.isPureReactComponent=!0;function E(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}var F=E.prototype=new C;F.constructor=E;m(F,A.prototype);F.unstable_isAsyncReactComponent=!0;F.render=function(){return this.props.children};var G={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};
|
279
|
+
function J(a,b,e){var c,d={},g=null,k=null;if(null!=b)for(c in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),b)H.call(b,c)&&!I.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var h=Array(f),l=0;l<f;l++)h[l]=arguments[l+2];d.children=h}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:k,props:d,_owner:G.current}}function K(a){return"object"===typeof a&&null!==a&&a.$$typeof===r}
|
280
|
+
function escape(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var L=/\/+/g,M=[];function N(a,b,e,c){if(M.length){var d=M.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 O(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>M.length&&M.push(a)}
|
281
|
+
function P(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:case u:case v:g=!0}}if(g)return e(c,a,""===b?"."+Q(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+Q(d,k);g+=P(d,f,e,c)}else if(null===a||"undefined"===typeof a?f=null:(f=x&&a[x]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=
|
282
|
+
f.call(a),k=0;!(d=a.next()).done;)d=d.value,f=b+Q(d,k++),g+=P(d,f,e,c);else"object"===d&&(e=""+a,y("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function R(a,b){a.func.call(a.context,b,a.count++)}
|
283
|
+
function S(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?T(a,c,e,p.thatReturnsArgument):null!=a&&(K(a)&&(b=d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(L,"$\x26/")+"/")+e,a={$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function T(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(L,"$\x26/")+"/");b=N(b,g,c,d);null==a||P(a,"",S,b);O(b)}
|
284
|
+
var U={Children:{map:function(a,b,e){if(null==a)return a;var c=[];T(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=N(null,null,b,e);null==a||P(a,"",R,b);O(b)},count:function(a){return null==a?0:P(a,"",p.thatReturnsNull,null)},toArray:function(a){var b=[];T(a,b,null,p.thatReturnsArgument);return b},only:function(a){K(a)?void 0:y("143");return a}},Component:A,PureComponent:B,unstable_AsyncComponent:E,Fragment:w,createElement:J,cloneElement:function(a,b,e){var c=m({},a.props),
|
285
|
+
d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=G.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)H.call(b,h)&&!I.hasOwnProperty(h)&&(c[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)c.children=e;else if(1<h){f=Array(h);for(var l=0;l<h;l++)f[l]=arguments[l+2];c.children=f}return{$$typeof:r,type:a.type,key:d,ref:g,props:c,_owner:k}},createFactory:function(a){var b=J.bind(null,a);b.type=a;return b},
|
286
|
+
isValidElement:K,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:G,assign:m}},V=Object.freeze({default:U}),W=V&&U||V;module.exports=W["default"]?W["default"]:W;
|
284
287
|
|
285
288
|
|
286
289
|
/***/ }),
|
@@ -447,7 +450,7 @@
|
|
447
450
|
/* 7 */
|
448
451
|
/***/ (function(module, exports, __webpack_require__) {
|
449
452
|
|
450
|
-
/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.
|
453
|
+
/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.2.0
|
451
454
|
* react.development.js
|
452
455
|
*
|
453
456
|
* Copyright (c) 2013-present, Facebook, Inc.
|
@@ -458,20 +461,46 @@
|
|
458
461
|
|
459
462
|
'use strict';
|
460
463
|
|
464
|
+
|
465
|
+
|
461
466
|
if (process.env.NODE_ENV !== "production") {
|
462
467
|
(function() {
|
463
468
|
'use strict';
|
464
469
|
|
465
470
|
var _assign = __webpack_require__(4);
|
466
|
-
var invariant = __webpack_require__(8);
|
467
471
|
var emptyObject = __webpack_require__(5);
|
472
|
+
var invariant = __webpack_require__(8);
|
468
473
|
var warning = __webpack_require__(9);
|
469
474
|
var emptyFunction = __webpack_require__(6);
|
470
475
|
var checkPropTypes = __webpack_require__(10);
|
471
476
|
|
472
477
|
// TODO: this is special because it gets imported during build.
|
473
478
|
|
474
|
-
var ReactVersion = '16.
|
479
|
+
var ReactVersion = '16.2.0';
|
480
|
+
|
481
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
482
|
+
// nor polyfill, then a plain number is used for performance.
|
483
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol['for'];
|
484
|
+
|
485
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol['for']('react.element') : 0xeac7;
|
486
|
+
var REACT_CALL_TYPE = hasSymbol ? Symbol['for']('react.call') : 0xeac8;
|
487
|
+
var REACT_RETURN_TYPE = hasSymbol ? Symbol['for']('react.return') : 0xeac9;
|
488
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol['for']('react.portal') : 0xeaca;
|
489
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol['for']('react.fragment') : 0xeacb;
|
490
|
+
|
491
|
+
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
492
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
493
|
+
|
494
|
+
function getIteratorFn(maybeIterable) {
|
495
|
+
if (maybeIterable === null || typeof maybeIterable === 'undefined') {
|
496
|
+
return null;
|
497
|
+
}
|
498
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
499
|
+
if (typeof maybeIterator === 'function') {
|
500
|
+
return maybeIterator;
|
501
|
+
}
|
502
|
+
return null;
|
503
|
+
}
|
475
504
|
|
476
505
|
/**
|
477
506
|
* WARNING: DO NOT manually require this module.
|
@@ -480,21 +509,6 @@
|
|
480
509
|
* It always throws.
|
481
510
|
*/
|
482
511
|
|
483
|
-
// Exports React.Fragment
|
484
|
-
var enableReactFragment = false;
|
485
|
-
// Exports ReactDOM.createRoot
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
// Mutating mode (React DOM, React ART, React Native):
|
490
|
-
|
491
|
-
// Experimental noop mode (currently unused):
|
492
|
-
|
493
|
-
// Experimental persistent mode (CS):
|
494
|
-
|
495
|
-
|
496
|
-
// Only used in www builds.
|
497
|
-
|
498
512
|
/**
|
499
513
|
* Forked from fbjs/warning:
|
500
514
|
* https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
|
@@ -774,10 +788,6 @@
|
|
774
788
|
|
775
789
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
776
790
|
|
777
|
-
// The Symbol used to tag the ReactElement type. If there is no native Symbol
|
778
|
-
// nor polyfill, then a plain number is used for performance.
|
779
|
-
var REACT_ELEMENT_TYPE$1 = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;
|
780
|
-
|
781
791
|
var RESERVED_PROPS = {
|
782
792
|
key: true,
|
783
793
|
ref: true,
|
@@ -863,7 +873,7 @@
|
|
863
873
|
var ReactElement = function (type, key, ref, self, source, owner, props) {
|
864
874
|
var element = {
|
865
875
|
// This tag allow us to uniquely identify this as a React Element
|
866
|
-
$$typeof: REACT_ELEMENT_TYPE
|
876
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
867
877
|
|
868
878
|
// Built-in properties that belong on the element
|
869
879
|
type: type,
|
@@ -978,7 +988,7 @@
|
|
978
988
|
}
|
979
989
|
{
|
980
990
|
if (key || ref) {
|
981
|
-
if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE
|
991
|
+
if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) {
|
982
992
|
var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
|
983
993
|
if (key) {
|
984
994
|
defineKeyPropWarningGetter(props, displayName);
|
@@ -1078,7 +1088,7 @@
|
|
1078
1088
|
* @final
|
1079
1089
|
*/
|
1080
1090
|
function isValidElement(object) {
|
1081
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE
|
1091
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
1082
1092
|
}
|
1083
1093
|
|
1084
1094
|
var ReactDebugCurrentFrame = {};
|
@@ -1096,12 +1106,6 @@
|
|
1096
1106
|
};
|
1097
1107
|
}
|
1098
1108
|
|
1099
|
-
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
1100
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
|
1101
|
-
// The Symbol used to tag the ReactElement type. If there is no native Symbol
|
1102
|
-
// nor polyfill, then a plain number is used for performance.
|
1103
|
-
var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;
|
1104
|
-
var REACT_PORTAL_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.portal') || 0xeaca;
|
1105
1109
|
var SEPARATOR = '.';
|
1106
1110
|
var SUBSEPARATOR = ':';
|
1107
1111
|
|
@@ -1185,10 +1189,28 @@
|
|
1185
1189
|
children = null;
|
1186
1190
|
}
|
1187
1191
|
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
+
var invokeCallback = false;
|
1193
|
+
|
1194
|
+
if (children === null) {
|
1195
|
+
invokeCallback = true;
|
1196
|
+
} else {
|
1197
|
+
switch (type) {
|
1198
|
+
case 'string':
|
1199
|
+
case 'number':
|
1200
|
+
invokeCallback = true;
|
1201
|
+
break;
|
1202
|
+
case 'object':
|
1203
|
+
switch (children.$$typeof) {
|
1204
|
+
case REACT_ELEMENT_TYPE:
|
1205
|
+
case REACT_CALL_TYPE:
|
1206
|
+
case REACT_RETURN_TYPE:
|
1207
|
+
case REACT_PORTAL_TYPE:
|
1208
|
+
invokeCallback = true;
|
1209
|
+
}
|
1210
|
+
}
|
1211
|
+
}
|
1212
|
+
|
1213
|
+
if (invokeCallback) {
|
1192
1214
|
callback(traverseContext, children,
|
1193
1215
|
// If it's the only child, treat the name as if it was wrapped in an array
|
1194
1216
|
// so that it's consistent if the number of children grows.
|
@@ -1208,7 +1230,7 @@
|
|
1208
1230
|
subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
|
1209
1231
|
}
|
1210
1232
|
} else {
|
1211
|
-
var iteratorFn =
|
1233
|
+
var iteratorFn = getIteratorFn(children);
|
1212
1234
|
if (typeof iteratorFn === 'function') {
|
1213
1235
|
{
|
1214
1236
|
// Warn about using Maps as children
|
@@ -1432,6 +1454,8 @@
|
|
1432
1454
|
{
|
1433
1455
|
var currentlyValidatingElement = null;
|
1434
1456
|
|
1457
|
+
var propTypesMisspellWarningShown = false;
|
1458
|
+
|
1435
1459
|
var getDisplayName = function (element) {
|
1436
1460
|
if (element == null) {
|
1437
1461
|
return '#empty';
|
@@ -1439,7 +1463,7 @@
|
|
1439
1463
|
return '#text';
|
1440
1464
|
} else if (typeof element.type === 'string') {
|
1441
1465
|
return element.type;
|
1442
|
-
} else if (element.type === REACT_FRAGMENT_TYPE
|
1466
|
+
} else if (element.type === REACT_FRAGMENT_TYPE) {
|
1443
1467
|
return 'React.Fragment';
|
1444
1468
|
} else {
|
1445
1469
|
return element.type.displayName || element.type.name || 'Unknown';
|
@@ -1457,14 +1481,9 @@
|
|
1457
1481
|
return stack;
|
1458
1482
|
};
|
1459
1483
|
|
1460
|
-
var REACT_FRAGMENT_TYPE$1 = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.fragment') || 0xeacb;
|
1461
|
-
|
1462
1484
|
var VALID_FRAGMENT_PROPS = new Map([['children', true], ['key', true]]);
|
1463
1485
|
}
|
1464
1486
|
|
1465
|
-
var ITERATOR_SYMBOL$1 = typeof Symbol === 'function' && Symbol.iterator;
|
1466
|
-
var FAUX_ITERATOR_SYMBOL$1 = '@@iterator'; // Before Symbol spec.
|
1467
|
-
|
1468
1487
|
function getDeclarationErrorAddendum() {
|
1469
1488
|
if (ReactCurrentOwner.current) {
|
1470
1489
|
var name = getComponentName(ReactCurrentOwner.current);
|
@@ -1569,7 +1588,7 @@
|
|
1569
1588
|
node._store.validated = true;
|
1570
1589
|
}
|
1571
1590
|
} else if (node) {
|
1572
|
-
var iteratorFn =
|
1591
|
+
var iteratorFn = getIteratorFn(node);
|
1573
1592
|
if (typeof iteratorFn === 'function') {
|
1574
1593
|
// Entry iterators used to provide implicit keys,
|
1575
1594
|
// but now we print a separate warning for them later.
|
@@ -1599,11 +1618,13 @@
|
|
1599
1618
|
}
|
1600
1619
|
var name = componentClass.displayName || componentClass.name;
|
1601
1620
|
var propTypes = componentClass.propTypes;
|
1602
|
-
|
1603
1621
|
if (propTypes) {
|
1604
1622
|
currentlyValidatingElement = element;
|
1605
1623
|
checkPropTypes(propTypes, element.props, 'prop', name, getStackAddendum);
|
1606
1624
|
currentlyValidatingElement = null;
|
1625
|
+
} else if (componentClass.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
1626
|
+
propTypesMisspellWarningShown = true;
|
1627
|
+
warning(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
|
1607
1628
|
}
|
1608
1629
|
if (typeof componentClass.getDefaultProps === 'function') {
|
1609
1630
|
warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');
|
@@ -1693,7 +1714,7 @@
|
|
1693
1714
|
}
|
1694
1715
|
}
|
1695
1716
|
|
1696
|
-
if (typeof type === 'symbol' && type === REACT_FRAGMENT_TYPE
|
1717
|
+
if (typeof type === 'symbol' && type === REACT_FRAGMENT_TYPE) {
|
1697
1718
|
validateFragmentProps(element);
|
1698
1719
|
} else {
|
1699
1720
|
validatePropTypes(element);
|
@@ -1732,8 +1753,6 @@
|
|
1732
1753
|
return newElement;
|
1733
1754
|
}
|
1734
1755
|
|
1735
|
-
var REACT_FRAGMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.fragment') || 0xeacb;
|
1736
|
-
|
1737
1756
|
var React = {
|
1738
1757
|
Children: {
|
1739
1758
|
map: mapChildren,
|
@@ -1747,6 +1766,8 @@
|
|
1747
1766
|
PureComponent: PureComponent,
|
1748
1767
|
unstable_AsyncComponent: AsyncComponent,
|
1749
1768
|
|
1769
|
+
Fragment: REACT_FRAGMENT_TYPE,
|
1770
|
+
|
1750
1771
|
createElement: createElementWithValidation,
|
1751
1772
|
cloneElement: cloneElementWithValidation,
|
1752
1773
|
createFactory: createFactoryWithValidation,
|
@@ -1761,10 +1782,6 @@
|
|
1761
1782
|
}
|
1762
1783
|
};
|
1763
1784
|
|
1764
|
-
if (enableReactFragment) {
|
1765
|
-
React.Fragment = REACT_FRAGMENT_TYPE;
|
1766
|
-
}
|
1767
|
-
|
1768
1785
|
{
|
1769
1786
|
_assign(React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, {
|
1770
1787
|
// These should not be included in production.
|
@@ -2053,7 +2070,7 @@
|
|
2053
2070
|
/* 13 */
|
2054
2071
|
/***/ (function(module, exports, __webpack_require__) {
|
2055
2072
|
|
2056
|
-
/** @license React v16.
|
2073
|
+
/** @license React v16.2.0
|
2057
2074
|
* react-dom.production.min.js
|
2058
2075
|
*
|
2059
2076
|
* Copyright (c) 2013-present, Facebook, Inc.
|
@@ -2061,225 +2078,227 @@
|
|
2061
2078
|
* This source code is licensed under the MIT license found in the
|
2062
2079
|
* LICENSE file in the root directory of this source tree.
|
2063
2080
|
*/
|
2081
|
+
|
2064
2082
|
/*
|
2065
2083
|
Modernizr 3.0.0pre (Custom Build) | MIT
|
2066
2084
|
*/
|
2067
|
-
'use strict';var aa=__webpack_require__(1),
|
2068
|
-
function
|
2069
|
-
var
|
2070
|
-
var
|
2071
|
-
hasBooleanValue:
|
2072
|
-
function
|
2073
|
-
var
|
2074
|
-
scoped:
|
2075
|
-
a.setAttribute("value",""+b)}}},
|
2076
|
-
xmlBase:
|
2077
|
-
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(a){var b=a.replace(
|
2078
|
-
|
2079
|
-
var
|
2080
|
-
|
2081
|
-
function
|
2082
|
-
function
|
2083
|
-
function
|
2084
|
-
var
|
2085
|
-
function
|
2086
|
-
function
|
2087
|
-
function
|
2088
|
-
return c}function
|
2089
|
-
function
|
2090
|
-
var
|
2091
|
-
function vb(a,b,c){if(b=
|
2092
|
-
function yb(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=
|
2093
|
-
function Bb(a,b,c,d){if(c&&d)a:{var e=c;for(var f=d,g=0,
|
2094
|
-
var Cb=Object.freeze({accumulateTwoPhaseDispatches:Ab,accumulateTwoPhaseDispatchesSkipTarget:function(a){
|
2095
|
-
function Fb(){if(
|
2096
|
-
var Hb="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),Ib={type:null,target:null,currentTarget:
|
2097
|
-
function
|
2098
|
-
|
2099
|
-
destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;for(a=0;a<Hb.length;a++)this[Hb[a]]=null}});
|
2100
|
-
function
|
2101
|
-
if(Xb=
|
2102
|
-
var Zb=Xb,$b=
|
2085
|
+
'use strict';var aa=__webpack_require__(1),l=__webpack_require__(14),B=__webpack_require__(4),C=__webpack_require__(6),ba=__webpack_require__(15),da=__webpack_require__(16),ea=__webpack_require__(17),fa=__webpack_require__(18),ia=__webpack_require__(21),D=__webpack_require__(5);
|
2086
|
+
function E(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(c+" 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;}aa?void 0:E("227");
|
2087
|
+
var oa={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0};function pa(a,b){return(a&b)===b}
|
2088
|
+
var ta={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(a){var b=ta,c=a.Properties||{},d=a.DOMAttributeNamespaces||{},e=a.DOMAttributeNames||{};a=a.DOMMutationMethods||{};for(var f in c){ua.hasOwnProperty(f)?E("48",f):void 0;var g=f.toLowerCase(),h=c[f];g={attributeName:g,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:pa(h,b.MUST_USE_PROPERTY),
|
2089
|
+
hasBooleanValue:pa(h,b.HAS_BOOLEAN_VALUE),hasNumericValue:pa(h,b.HAS_NUMERIC_VALUE),hasPositiveNumericValue:pa(h,b.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:pa(h,b.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:pa(h,b.HAS_STRING_BOOLEAN_VALUE)};1>=g.hasBooleanValue+g.hasNumericValue+g.hasOverloadedBooleanValue?void 0:E("50",f);e.hasOwnProperty(f)&&(g.attributeName=e[f]);d.hasOwnProperty(f)&&(g.attributeNamespace=d[f]);a.hasOwnProperty(f)&&(g.mutationMethod=a[f]);ua[f]=g}}},ua={};
|
2090
|
+
function va(a,b){if(oa.hasOwnProperty(a)||2<a.length&&("o"===a[0]||"O"===a[0])&&("n"===a[1]||"N"===a[1]))return!1;if(null===b)return!0;switch(typeof b){case "boolean":return oa.hasOwnProperty(a)?a=!0:(b=wa(a))?a=b.hasBooleanValue||b.hasStringBooleanValue||b.hasOverloadedBooleanValue:(a=a.toLowerCase().slice(0,5),a="data-"===a||"aria-"===a),a;case "undefined":case "number":case "string":case "object":return!0;default:return!1}}function wa(a){return ua.hasOwnProperty(a)?ua[a]:null}
|
2091
|
+
var xa=ta,ya=xa.MUST_USE_PROPERTY,K=xa.HAS_BOOLEAN_VALUE,za=xa.HAS_NUMERIC_VALUE,Aa=xa.HAS_POSITIVE_NUMERIC_VALUE,Ba=xa.HAS_OVERLOADED_BOOLEAN_VALUE,Ca=xa.HAS_STRING_BOOLEAN_VALUE,Da={Properties:{allowFullScreen:K,async:K,autoFocus:K,autoPlay:K,capture:Ba,checked:ya|K,cols:Aa,contentEditable:Ca,controls:K,"default":K,defer:K,disabled:K,download:Ba,draggable:Ca,formNoValidate:K,hidden:K,loop:K,multiple:ya|K,muted:ya|K,noValidate:K,open:K,playsInline:K,readOnly:K,required:K,reversed:K,rows:Aa,rowSpan:za,
|
2092
|
+
scoped:K,seamless:K,selected:ya|K,size:Aa,start:za,span:Aa,spellCheck:Ca,style:0,tabIndex:0,itemScope:K,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:Ca},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(a,b){if(null==b)return a.removeAttribute("value");"number"!==a.type||!1===a.hasAttribute("value")?a.setAttribute("value",""+b):a.validity&&!a.validity.badInput&&a.ownerDocument.activeElement!==a&&
|
2093
|
+
a.setAttribute("value",""+b)}}},Ea=xa.HAS_STRING_BOOLEAN_VALUE,M={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},Ga={Properties:{autoReverse:Ea,externalResourcesRequired:Ea,preserveAlpha:Ea},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:M.xlink,xlinkArcrole:M.xlink,xlinkHref:M.xlink,xlinkRole:M.xlink,xlinkShow:M.xlink,xlinkTitle:M.xlink,xlinkType:M.xlink,
|
2094
|
+
xmlBase:M.xml,xmlLang:M.xml,xmlSpace:M.xml}},Ha=/[\-\:]([a-z])/g;function Ia(a){return a[1].toUpperCase()}
|
2095
|
+
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(a){var b=a.replace(Ha,
|
2096
|
+
Ia);Ga.Properties[b]=0;Ga.DOMAttributeNames[b]=a});xa.injectDOMPropertyConfig(Da);xa.injectDOMPropertyConfig(Ga);
|
2097
|
+
var P={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(a){"function"!==typeof a.invokeGuardedCallback?E("197"):void 0;Ja=a.invokeGuardedCallback}},invokeGuardedCallback:function(a,b,c,d,e,f,g,h,k){Ja.apply(P,arguments)},invokeGuardedCallbackAndCatchFirstError:function(a,b,c,d,e,f,g,h,k){P.invokeGuardedCallback.apply(this,arguments);if(P.hasCaughtError()){var q=P.clearCaughtError();P._hasRethrowError||(P._hasRethrowError=!0,P._rethrowError=
|
2098
|
+
q)}},rethrowCaughtError:function(){return Ka.apply(P,arguments)},hasCaughtError:function(){return P._hasCaughtError},clearCaughtError:function(){if(P._hasCaughtError){var a=P._caughtError;P._caughtError=null;P._hasCaughtError=!1;return a}E("198")}};function Ja(a,b,c,d,e,f,g,h,k){P._hasCaughtError=!1;P._caughtError=null;var q=Array.prototype.slice.call(arguments,3);try{b.apply(c,q)}catch(v){P._caughtError=v,P._hasCaughtError=!0}}
|
2099
|
+
function Ka(){if(P._hasRethrowError){var a=P._rethrowError;P._rethrowError=null;P._hasRethrowError=!1;throw a;}}var La=null,Ma={};
|
2100
|
+
function Na(){if(La)for(var a in Ma){var b=Ma[a],c=La.indexOf(a);-1<c?void 0:E("96",a);if(!Oa[c]){b.extractEvents?void 0:E("97",a);Oa[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;Pa.hasOwnProperty(h)?E("99",h):void 0;Pa[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&Qa(k[e],g,h);e=!0}else f.registrationName?(Qa(f.registrationName,g,h),e=!0):e=!1;e?void 0:E("98",d,a)}}}}
|
2101
|
+
function Qa(a,b,c){Ra[a]?E("100",a):void 0;Ra[a]=b;Sa[a]=b.eventTypes[c].dependencies}var Oa=[],Pa={},Ra={},Sa={};function Ta(a){La?E("101"):void 0;La=Array.prototype.slice.call(a);Na()}function Ua(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];Ma.hasOwnProperty(c)&&Ma[c]===d||(Ma[c]?E("102",c):void 0,Ma[c]=d,b=!0)}b&&Na()}
|
2102
|
+
var Va=Object.freeze({plugins:Oa,eventNameDispatchConfigs:Pa,registrationNameModules:Ra,registrationNameDependencies:Sa,possibleRegistrationNames:null,injectEventPluginOrder:Ta,injectEventPluginsByName:Ua}),Wa=null,Xa=null,Ya=null;function Za(a,b,c,d){b=a.type||"unknown-event";a.currentTarget=Ya(d);P.invokeGuardedCallbackAndCatchFirstError(b,c,void 0,a);a.currentTarget=null}
|
2103
|
+
function $a(a,b){null==b?E("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function ab(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var bb=null;
|
2104
|
+
function cb(a,b){if(a){var c=a._dispatchListeners,d=a._dispatchInstances;if(Array.isArray(c))for(var e=0;e<c.length&&!a.isPropagationStopped();e++)Za(a,b,c[e],d[e]);else c&&Za(a,b,c,d);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}}function db(a){return cb(a,!0)}function gb(a){return cb(a,!1)}var hb={injectEventPluginOrder:Ta,injectEventPluginsByName:Ua};
|
2105
|
+
function ib(a,b){var c=a.stateNode;if(!c)return null;var d=Wa(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?E("231",b,typeof c):void 0;
|
2106
|
+
return c}function jb(a,b,c,d){for(var e,f=0;f<Oa.length;f++){var g=Oa[f];g&&(g=g.extractEvents(a,b,c,d))&&(e=$a(e,g))}return e}function kb(a){a&&(bb=$a(bb,a))}function lb(a){var b=bb;bb=null;b&&(a?ab(b,db):ab(b,gb),bb?E("95"):void 0,P.rethrowCaughtError())}var mb=Object.freeze({injection:hb,getListener:ib,extractEvents:jb,enqueueEvents:kb,processEventQueue:lb}),nb=Math.random().toString(36).slice(2),Q="__reactInternalInstance$"+nb,ob="__reactEventHandlers$"+nb;
|
2107
|
+
function pb(a){if(a[Q])return a[Q];for(var b=[];!a[Q];)if(b.push(a),a.parentNode)a=a.parentNode;else return null;var c=void 0,d=a[Q];if(5===d.tag||6===d.tag)return d;for(;a&&(d=a[Q]);a=b.pop())c=d;return c}function qb(a){if(5===a.tag||6===a.tag)return a.stateNode;E("33")}function rb(a){return a[ob]||null}
|
2108
|
+
var sb=Object.freeze({precacheFiberNode:function(a,b){b[Q]=a},getClosestInstanceFromNode:pb,getInstanceFromNode:function(a){a=a[Q];return!a||5!==a.tag&&6!==a.tag?null:a},getNodeFromInstance:qb,getFiberCurrentPropsFromNode:rb,updateFiberProps:function(a,b){a[ob]=b}});function tb(a){do a=a["return"];while(a&&5!==a.tag);return a?a:null}function ub(a,b,c){for(var d=[];a;)d.push(a),a=tb(a);for(a=d.length;0<a--;)b(d[a],"captured",c);for(a=0;a<d.length;a++)b(d[a],"bubbled",c)}
|
2109
|
+
function vb(a,b,c){if(b=ib(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=$a(c._dispatchListeners,b),c._dispatchInstances=$a(c._dispatchInstances,a)}function wb(a){a&&a.dispatchConfig.phasedRegistrationNames&&ub(a._targetInst,vb,a)}function xb(a){if(a&&a.dispatchConfig.phasedRegistrationNames){var b=a._targetInst;b=b?tb(b):null;ub(b,vb,a)}}
|
2110
|
+
function yb(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=ib(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=$a(c._dispatchListeners,b),c._dispatchInstances=$a(c._dispatchInstances,a))}function zb(a){a&&a.dispatchConfig.registrationName&&yb(a._targetInst,null,a)}function Ab(a){ab(a,wb)}
|
2111
|
+
function Bb(a,b,c,d){if(c&&d)a:{var e=c;for(var f=d,g=0,h=e;h;h=tb(h))g++;h=0;for(var k=f;k;k=tb(k))h++;for(;0<g-h;)e=tb(e),g--;for(;0<h-g;)f=tb(f),h--;for(;g--;){if(e===f||e===f.alternate)break a;e=tb(e);f=tb(f)}e=null}else e=null;f=e;for(e=[];c&&c!==f;){g=c.alternate;if(null!==g&&g===f)break;e.push(c);c=tb(c)}for(c=[];d&&d!==f;){g=d.alternate;if(null!==g&&g===f)break;c.push(d);d=tb(d)}for(d=0;d<e.length;d++)yb(e[d],"bubbled",a);for(a=c.length;0<a--;)yb(c[a],"captured",b)}
|
2112
|
+
var Cb=Object.freeze({accumulateTwoPhaseDispatches:Ab,accumulateTwoPhaseDispatchesSkipTarget:function(a){ab(a,xb)},accumulateEnterLeaveDispatches:Bb,accumulateDirectDispatches:function(a){ab(a,zb)}}),Db=null;function Eb(){!Db&&l.canUseDOM&&(Db="textContent"in document.documentElement?"textContent":"innerText");return Db}var S={_root:null,_startText:null,_fallbackText:null};
|
2113
|
+
function Fb(){if(S._fallbackText)return S._fallbackText;var a,b=S._startText,c=b.length,d,e=Gb(),f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);S._fallbackText=e.slice(a,1<d?1-d:void 0);return S._fallbackText}function Gb(){return"value"in S._root?S._root.value:S._root[Eb()]}
|
2114
|
+
var Hb="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),Ib={type:null,target:null,currentTarget:C.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};
|
2115
|
+
function T(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?C.thatReturnsTrue:C.thatReturnsFalse;this.isPropagationStopped=C.thatReturnsFalse;return this}
|
2116
|
+
B(T.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=C.thatReturnsTrue)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=C.thatReturnsTrue)},persist:function(){this.isPersistent=C.thatReturnsTrue},isPersistent:C.thatReturnsFalse,
|
2117
|
+
destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;for(a=0;a<Hb.length;a++)this[Hb[a]]=null}});T.Interface=Ib;T.augmentClass=function(a,b){function c(){}c.prototype=this.prototype;var d=new c;B(d,a.prototype);a.prototype=d;a.prototype.constructor=a;a.Interface=B({},this.Interface,b);a.augmentClass=this.augmentClass;Jb(a)};Jb(T);function Kb(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}
|
2118
|
+
function Lb(a){a instanceof this?void 0:E("223");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function Jb(a){a.eventPool=[];a.getPooled=Kb;a.release=Lb}function Mb(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(Mb,{data:null});function Nb(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(Nb,{data:null});var Pb=[9,13,27,32],Vb=l.canUseDOM&&"CompositionEvent"in window,Wb=null;l.canUseDOM&&"documentMode"in document&&(Wb=document.documentMode);var Xb;
|
2119
|
+
if(Xb=l.canUseDOM&&"TextEvent"in window&&!Wb){var Yb=window.opera;Xb=!("object"===typeof Yb&&"function"===typeof Yb.version&&12>=parseInt(Yb.version(),10))}
|
2120
|
+
var Zb=Xb,$b=l.canUseDOM&&(!Vb||Wb&&8<Wb&&11>=Wb),ac=String.fromCharCode(32),bc={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
|
2103
2121
|
captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},cc=!1;
|
2104
|
-
function dc(a,b){switch(a){case "topKeyUp":return-1!==
|
2105
|
-
function hc(a,b){if(fc)return"topCompositionEnd"===a||!Vb&&dc(a,b)?(a=Fb(),
|
2106
|
-
var ic={eventTypes:bc,extractEvents:function(a,b,c,d){var e;if(Vb)b:{switch(a){case "topCompositionStart":var f=bc.compositionStart;break b;case "topCompositionEnd":f=bc.compositionEnd;break b;case "topCompositionUpdate":f=bc.compositionUpdate;break b}f=void 0}else fc?dc(a,c)&&(f=bc.compositionEnd):"topKeyDown"===a&&229===c.keyCode&&(f=bc.compositionStart);f?($b&&(fc||f!==bc.compositionStart?f===bc.compositionEnd&&fc&&(e=Fb()):(
|
2107
|
-
e:(e=ec(c),null!==e&&(f.data=e)),Ab(f),e=f):e=null;(a=Zb?gc(a,c):hc(a,c))?(b=
|
2122
|
+
function dc(a,b){switch(a){case "topKeyUp":return-1!==Pb.indexOf(b.keyCode);case "topKeyDown":return 229!==b.keyCode;case "topKeyPress":case "topMouseDown":case "topBlur":return!0;default:return!1}}function ec(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var fc=!1;function gc(a,b){switch(a){case "topCompositionEnd":return ec(b);case "topKeyPress":if(32!==b.which)return null;cc=!0;return ac;case "topTextInput":return a=b.data,a===ac&&cc?null:a;default:return null}}
|
2123
|
+
function hc(a,b){if(fc)return"topCompositionEnd"===a||!Vb&&dc(a,b)?(a=Fb(),S._root=null,S._startText=null,S._fallbackText=null,fc=!1,a):null;switch(a){case "topPaste":return null;case "topKeyPress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "topCompositionEnd":return $b?null:b.data;default:return null}}
|
2124
|
+
var ic={eventTypes:bc,extractEvents:function(a,b,c,d){var e;if(Vb)b:{switch(a){case "topCompositionStart":var f=bc.compositionStart;break b;case "topCompositionEnd":f=bc.compositionEnd;break b;case "topCompositionUpdate":f=bc.compositionUpdate;break b}f=void 0}else fc?dc(a,c)&&(f=bc.compositionEnd):"topKeyDown"===a&&229===c.keyCode&&(f=bc.compositionStart);f?($b&&(fc||f!==bc.compositionStart?f===bc.compositionEnd&&fc&&(e=Fb()):(S._root=d,S._startText=Gb(),fc=!0)),f=Mb.getPooled(f,b,c,d),e?f.data=
|
2125
|
+
e:(e=ec(c),null!==e&&(f.data=e)),Ab(f),e=f):e=null;(a=Zb?gc(a,c):hc(a,c))?(b=Nb.getPooled(bc.beforeInput,b,c,d),b.data=a,Ab(b)):b=null;return[e,b]}},jc=null,kc=null,lc=null;function mc(a){if(a=Xa(a)){jc&&"function"===typeof jc.restoreControlledState?void 0:E("194");var b=Wa(a.stateNode);jc.restoreControlledState(a.stateNode,a.type,b)}}var nc={injectFiberControlledHostComponent:function(a){jc=a}};function oc(a){kc?lc?lc.push(a):lc=[a]:kc=a}
|
2108
2126
|
function pc(){if(kc){var a=kc,b=lc;lc=kc=null;mc(a);if(b)for(a=0;a<b.length;a++)mc(b[a])}}var qc=Object.freeze({injection:nc,enqueueStateRestore:oc,restoreStateIfNeeded:pc});function rc(a,b){return a(b)}var sc=!1;function tc(a,b){if(sc)return rc(a,b);sc=!0;try{return rc(a,b)}finally{sc=!1,pc()}}var uc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};
|
2109
|
-
function vc(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!uc[a.type]:"textarea"===b?!0:!1}function wc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var xc;
|
2110
|
-
function yc(a,b){if(!
|
2127
|
+
function vc(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!uc[a.type]:"textarea"===b?!0:!1}function wc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var xc;l.canUseDOM&&(xc=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));
|
2128
|
+
function yc(a,b){if(!l.canUseDOM||b&&!("addEventListener"in document))return!1;b="on"+a;var c=b in document;c||(c=document.createElement("div"),c.setAttribute(b,"return;"),c="function"===typeof c[b]);!c&&xc&&"wheel"===a&&(c=document.implementation.hasFeature("Events.wheel","3.0"));return c}function zc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
|
2111
2129
|
function Ac(a){var b=zc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"function"===typeof c.get&&"function"===typeof c.set)return Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:!0,get:function(){return c.get.call(this)},set:function(a){d=""+a;c.set.call(this,a)}}),{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}
|
2112
2130
|
function Bc(a){a._valueTracker||(a._valueTracker=Ac(a))}function Cc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=zc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}var Dc={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split(" ")}};
|
2113
|
-
function Ec(a,b,c){a=
|
2114
|
-
function
|
2115
|
-
var
|
2116
|
-
a&&e.setAttribute("value",a))}};function
|
2117
|
-
|
2118
|
-
var
|
2119
|
-
b)return null;var f=null==a?e:
|
2120
|
-
function
|
2121
|
-
function
|
2122
|
-
void 0:
|
2123
|
-
function
|
2124
|
-
function
|
2125
|
-
function
|
2126
|
-
var
|
2127
|
-
var
|
2128
|
-
function
|
2129
|
-
var
|
2131
|
+
function Ec(a,b,c){a=T.getPooled(Dc.change,a,b,c);a.type="change";oc(c);Ab(a);return a}var Fc=null,Gc=null;function Hc(a){kb(a);lb(!1)}function Ic(a){var b=qb(a);if(Cc(b))return a}function Jc(a,b){if("topChange"===a)return b}var Kc=!1;l.canUseDOM&&(Kc=yc("input")&&(!document.documentMode||9<document.documentMode));function Lc(){Fc&&(Fc.detachEvent("onpropertychange",Mc),Gc=Fc=null)}function Mc(a){"value"===a.propertyName&&Ic(Gc)&&(a=Ec(Gc,a,wc(a)),tc(Hc,a))}
|
2132
|
+
function Nc(a,b,c){"topFocus"===a?(Lc(),Fc=b,Gc=c,Fc.attachEvent("onpropertychange",Mc)):"topBlur"===a&&Lc()}function Oc(a){if("topSelectionChange"===a||"topKeyUp"===a||"topKeyDown"===a)return Ic(Gc)}function Pc(a,b){if("topClick"===a)return Ic(b)}function $c(a,b){if("topInput"===a||"topChange"===a)return Ic(b)}
|
2133
|
+
var ad={eventTypes:Dc,_isInputEventSupported:Kc,extractEvents:function(a,b,c,d){var e=b?qb(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if("select"===f||"input"===f&&"file"===e.type)var g=Jc;else if(vc(e))if(Kc)g=$c;else{g=Oc;var h=Nc}else f=e.nodeName,!f||"input"!==f.toLowerCase()||"checkbox"!==e.type&&"radio"!==e.type||(g=Pc);if(g&&(g=g(a,b)))return Ec(g,c,d);h&&h(a,e,b);"topBlur"===a&&null!=b&&(a=b._wrapperState||e._wrapperState)&&a.controlled&&"number"===e.type&&(a=""+e.value,e.getAttribute("value")!==
|
2134
|
+
a&&e.setAttribute("value",a))}};function bd(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(bd,{view:null,detail:null});var cd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=cd[a])?!!b[a]:!1}function ed(){return dd}function fd(a,b,c,d){return T.call(this,a,b,c,d)}
|
2135
|
+
bd.augmentClass(fd,{screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:ed,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)}});
|
2136
|
+
var gd={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},hd={eventTypes:gd,extractEvents:function(a,b,c,d){if("topMouseOver"===a&&(c.relatedTarget||c.fromElement)||"topMouseOut"!==a&&"topMouseOver"!==a)return null;var e=d.window===d?d:(e=d.ownerDocument)?e.defaultView||e.parentWindow:window;"topMouseOut"===a?(a=b,b=(b=c.relatedTarget||c.toElement)?pb(b):null):a=null;if(a===
|
2137
|
+
b)return null;var f=null==a?e:qb(a);e=null==b?e:qb(b);var g=fd.getPooled(gd.mouseLeave,a,c,d);g.type="mouseleave";g.target=f;g.relatedTarget=e;c=fd.getPooled(gd.mouseEnter,b,c,d);c.type="mouseenter";c.target=e;c.relatedTarget=f;Bb(g,c,a,b);return[g,c]}},id=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;function jd(a){a=a.type;return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}
|
2138
|
+
function kd(a){var b=a;if(a.alternate)for(;b["return"];)b=b["return"];else{if(0!==(b.effectTag&2))return 1;for(;b["return"];)if(b=b["return"],0!==(b.effectTag&2))return 1}return 3===b.tag?2:3}function ld(a){return(a=a._reactInternalFiber)?2===kd(a):!1}function md(a){2!==kd(a)?E("188"):void 0}
|
2139
|
+
function nd(a){var b=a.alternate;if(!b)return b=kd(a),3===b?E("188"):void 0,1===b?null:a;for(var c=a,d=b;;){var e=c["return"],f=e?e.alternate:null;if(!e||!f)break;if(e.child===f.child){for(var g=e.child;g;){if(g===c)return md(e),a;if(g===d)return md(e),b;g=g.sibling}E("188")}if(c["return"]!==d["return"])c=e,d=f;else{g=!1;for(var h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}g?
|
2140
|
+
void 0:E("189")}}c.alternate!==d?E("190"):void 0}3!==c.tag?E("188"):void 0;return c.stateNode.current===c?a:b}function od(a){a=nd(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child["return"]=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b["return"]||b["return"]===a)return null;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}}return null}
|
2141
|
+
function pd(a){a=nd(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child&&4!==b.tag)b.child["return"]=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b["return"]||b["return"]===a)return null;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}}return null}var qd=[];
|
2142
|
+
function rd(a){var b=a.targetInst;do{if(!b){a.ancestors.push(b);break}var c;for(c=b;c["return"];)c=c["return"];c=3!==c.tag?null:c.stateNode.containerInfo;if(!c)break;a.ancestors.push(b);b=pb(c)}while(b);for(c=0;c<a.ancestors.length;c++)b=a.ancestors[c],sd(a.topLevelType,b,a.nativeEvent,wc(a.nativeEvent))}var td=!0,sd=void 0;function ud(a){td=!!a}function U(a,b,c){return c?ba.listen(c,b,vd.bind(null,a)):null}function wd(a,b,c){return c?ba.capture(c,b,vd.bind(null,a)):null}
|
2143
|
+
function vd(a,b){if(td){var c=wc(b);c=pb(c);null===c||"number"!==typeof c.tag||2===kd(c)||(c=null);if(qd.length){var d=qd.pop();d.topLevelType=a;d.nativeEvent=b;d.targetInst=c;a=d}else a={topLevelType:a,nativeEvent:b,targetInst:c,ancestors:[]};try{tc(rd,a)}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,10>qd.length&&qd.push(a)}}}
|
2144
|
+
var xd=Object.freeze({get _enabled(){return td},get _handleTopLevel(){return sd},setHandleTopLevel:function(a){sd=a},setEnabled:ud,isEnabled:function(){return td},trapBubbledEvent:U,trapCapturedEvent:wd,dispatchEvent:vd});function yd(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;c["ms"+a]="MS"+b;c["O"+a]="o"+b.toLowerCase();return c}
|
2145
|
+
var zd={animationend:yd("Animation","AnimationEnd"),animationiteration:yd("Animation","AnimationIteration"),animationstart:yd("Animation","AnimationStart"),transitionend:yd("Transition","TransitionEnd")},Ad={},Bd={};l.canUseDOM&&(Bd=document.createElement("div").style,"AnimationEvent"in window||(delete zd.animationend.animation,delete zd.animationiteration.animation,delete zd.animationstart.animation),"TransitionEvent"in window||delete zd.transitionend.transition);
|
2146
|
+
function Cd(a){if(Ad[a])return Ad[a];if(!zd[a])return a;var b=zd[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Bd)return Ad[a]=b[c];return""}
|
2147
|
+
var Dd={topAbort:"abort",topAnimationEnd:Cd("animationend")||"animationend",topAnimationIteration:Cd("animationiteration")||"animationiteration",topAnimationStart:Cd("animationstart")||"animationstart",topBlur:"blur",topCancel:"cancel",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topClose:"close",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",
|
2130
2148
|
topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad:"load",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",
|
2131
2149
|
topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",
|
2132
|
-
topTouchStart:"touchstart",topTransitionEnd:
|
2133
|
-
function
|
2134
|
-
var
|
2135
|
-
function
|
2136
|
-
var
|
2137
|
-
case "topKeyDown":case "topKeyUp":return
|
2138
|
-
function
|
2139
|
-
var
|
2140
|
-
116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function
|
2141
|
-
|
2142
|
-
a.type?
|
2143
|
-
function
|
2150
|
+
topTouchStart:"touchstart",topTransitionEnd:Cd("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},Ed={},Fd=0,Gd="_reactListenersID"+(""+Math.random()).slice(2);function Hd(a){Object.prototype.hasOwnProperty.call(a,Gd)||(a[Gd]=Fd++,Ed[a[Gd]]={});return Ed[a[Gd]]}function Id(a){for(;a&&a.firstChild;)a=a.firstChild;return a}
|
2151
|
+
function Jd(a,b){var c=Id(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Id(c)}}function Kd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&"text"===a.type||"textarea"===b||"true"===a.contentEditable)}
|
2152
|
+
var Ld=l.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Md={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")}},Nd=null,Od=null,Pd=null,Qd=!1;
|
2153
|
+
function Rd(a,b){if(Qd||null==Nd||Nd!==da())return null;var c=Nd;"selectionStart"in c&&Kd(c)?c={start:c.selectionStart,end:c.selectionEnd}:window.getSelection?(c=window.getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}):c=void 0;return Pd&&ea(Pd,c)?null:(Pd=c,a=T.getPooled(Md.select,Od,a,b),a.type="select",a.target=Nd,Ab(a),a)}
|
2154
|
+
var Sd={eventTypes:Md,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=Hd(e);f=Sa.onSelect;for(var g=0;g<f.length;g++){var h=f[g];if(!e.hasOwnProperty(h)||!e[h]){e=!1;break a}}e=!0}f=!e}if(f)return null;e=b?qb(b):window;switch(a){case "topFocus":if(vc(e)||"true"===e.contentEditable)Nd=e,Od=b,Pd=null;break;case "topBlur":Pd=Od=Nd=null;break;case "topMouseDown":Qd=!0;break;case "topContextMenu":case "topMouseUp":return Qd=!1,Rd(c,d);case "topSelectionChange":if(Ld)break;
|
2155
|
+
case "topKeyDown":case "topKeyUp":return Rd(c,d)}return null}};function Td(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(Td,{animationName:null,elapsedTime:null,pseudoElement:null});function Ud(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(Ud,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}});function Vd(a,b,c,d){return T.call(this,a,b,c,d)}bd.augmentClass(Vd,{relatedTarget:null});
|
2156
|
+
function Wd(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;return 32<=a||13===a?a:0}
|
2157
|
+
var Xd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",
|
2158
|
+
116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Zd(a,b,c,d){return T.call(this,a,b,c,d)}
|
2159
|
+
bd.augmentClass(Zd,{key:function(a){if(a.key){var b=Xd[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Wd(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Yd[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:ed,charCode:function(a){return"keypress"===a.type?Wd(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===
|
2160
|
+
a.type?Wd(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}});function $d(a,b,c,d){return T.call(this,a,b,c,d)}fd.augmentClass($d,{dataTransfer:null});function ae(a,b,c,d){return T.call(this,a,b,c,d)}bd.augmentClass(ae,{touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:ed});function be(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(be,{propertyName:null,elapsedTime:null,pseudoElement:null});
|
2161
|
+
function ce(a,b,c,d){return T.call(this,a,b,c,d)}fd.augmentClass(ce,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null});var de={},ee={};
|
2144
2162
|
"abort animationEnd animationIteration animationStart blur cancel canPlay canPlayThrough click close contextMenu copy cut doubleClick drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error focus input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing progress rateChange reset scroll seeked seeking stalled submit suspend timeUpdate toggle touchCancel touchEnd touchMove touchStart transitionEnd volumeChange waiting wheel".split(" ").forEach(function(a){var b=a[0].toUpperCase()+
|
2145
|
-
a.slice(1),c="on"+b;b="top"+b;c={phasedRegistrationNames:{bubbled:c,captured:c+"Capture"},dependencies:[b]}
|
2146
|
-
var
|
2147
|
-
|
2148
|
-
|
2149
|
-
function
|
2150
|
-
function
|
2151
|
-
function
|
2163
|
+
a.slice(1),c="on"+b;b="top"+b;c={phasedRegistrationNames:{bubbled:c,captured:c+"Capture"},dependencies:[b]};de[a]=c;ee[b]=c});
|
2164
|
+
var fe={eventTypes:de,extractEvents:function(a,b,c,d){var e=ee[a];if(!e)return null;switch(a){case "topKeyPress":if(0===Wd(c))return null;case "topKeyDown":case "topKeyUp":a=Zd;break;case "topBlur":case "topFocus":a=Vd;break;case "topClick":if(2===c.button)return null;case "topDoubleClick":case "topMouseDown":case "topMouseMove":case "topMouseUp":case "topMouseOut":case "topMouseOver":case "topContextMenu":a=fd;break;case "topDrag":case "topDragEnd":case "topDragEnter":case "topDragExit":case "topDragLeave":case "topDragOver":case "topDragStart":case "topDrop":a=
|
2165
|
+
$d;break;case "topTouchCancel":case "topTouchEnd":case "topTouchMove":case "topTouchStart":a=ae;break;case "topAnimationEnd":case "topAnimationIteration":case "topAnimationStart":a=Td;break;case "topTransitionEnd":a=be;break;case "topScroll":a=bd;break;case "topWheel":a=ce;break;case "topCopy":case "topCut":case "topPaste":a=Ud;break;default:a=T}b=a.getPooled(e,b,c,d);Ab(b);return b}};sd=function(a,b,c,d){a=jb(a,b,c,d);kb(a);lb(!1)};hb.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));
|
2166
|
+
Wa=sb.getFiberCurrentPropsFromNode;Xa=sb.getInstanceFromNode;Ya=sb.getNodeFromInstance;hb.injectEventPluginsByName({SimpleEventPlugin:fe,EnterLeaveEventPlugin:hd,ChangeEventPlugin:ad,SelectEventPlugin:Sd,BeforeInputEventPlugin:ic});var ge=[],he=-1;function V(a){0>he||(a.current=ge[he],ge[he]=null,he--)}function W(a,b){he++;ge[he]=a.current;a.current=b}new Set;var ie={current:D},X={current:!1},je=D;function ke(a){return le(a)?je:ie.current}
|
2167
|
+
function me(a,b){var c=a.type.contextTypes;if(!c)return D;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function le(a){return 2===a.tag&&null!=a.type.childContextTypes}function ne(a){le(a)&&(V(X,a),V(ie,a))}
|
2168
|
+
function oe(a,b,c){null!=ie.cursor?E("168"):void 0;W(ie,b,a);W(X,c,a)}function pe(a,b){var c=a.stateNode,d=a.type.childContextTypes;if("function"!==typeof c.getChildContext)return b;c=c.getChildContext();for(var e in c)e in d?void 0:E("108",jd(a)||"Unknown",e);return B({},b,c)}function qe(a){if(!le(a))return!1;var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||D;je=ie.current;W(ie,b,a);W(X,X.current,a);return!0}
|
2169
|
+
function re(a,b){var c=a.stateNode;c?void 0:E("169");if(b){var d=pe(a,je);c.__reactInternalMemoizedMergedChildContext=d;V(X,a);V(ie,a);W(ie,d,a)}else V(X,a);W(X,b,a)}
|
2152
2170
|
function Y(a,b,c){this.tag=a;this.key=b;this.stateNode=this.type=null;this.sibling=this.child=this["return"]=null;this.index=0;this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null;this.internalContextTag=c;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.expirationTime=0;this.alternate=null}
|
2153
|
-
function
|
2154
|
-
function
|
2155
|
-
function
|
2156
|
-
function
|
2157
|
-
function
|
2158
|
-
function
|
2159
|
-
function
|
2160
|
-
c.first&&(c.last=null));if(
|
2161
|
-
function
|
2162
|
-
function
|
2163
|
-
a(c,
|
2164
|
-
b){var c=a.alternate,d=a.stateNode,e=d.state||null,g=a.pendingProps;g?void 0:
|
2165
|
-
4)},updateClassInstance:function(a,b,e){var g=b.stateNode;g.props=b.memoizedProps;g.state=b.memoizedState;var
|
2166
|
-
typeof g.componentDidUpdate||
|
2167
|
-
|
2168
|
-
|
2169
|
-
function
|
2170
|
-
function
|
2171
|
-
function
|
2172
|
-
|
2173
|
-
|
2174
|
-
d
|
2175
|
-
c
|
2176
|
-
e?
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2184
|
-
function
|
2185
|
-
b.
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
|
2191
|
-
|
2192
|
-
function
|
2193
|
-
return{completeWork:function(a,b,c){var
|
2194
|
-
|
2195
|
-
(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)
|
2196
|
-
|
2197
|
-
function
|
2198
|
-
b["return"]===a)return;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}else b.child["return"]=b,b=b.child}function f(a){return 5===a.tag||3===a.tag||4===a.tag}function g(a){for(var b=a,c=!1,f=void 0,g=void 0;;){if(!c){c=b["return"];a:for(;;){null===c?
|
2199
|
-
else if(4===b.tag?f=b.stateNode.containerInfo:d(b),null!==b.child){b.child["return"]=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b["return"]||b["return"]===a)return;b=b["return"];4===b.tag&&(c=!1)}b.sibling["return"]=b["return"];b=b.sibling}}var
|
2200
|
-
|
2201
|
-
null;break a}c=c["return"]}c.sibling["return"]=c["return"];for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child["return"]=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=a;;){if(5===e.tag||6===e.tag)c?d?
|
2202
|
-
a)return;e=e["return"]}e.sibling["return"]=e["return"];e=e.sibling}},commitDeletion:function(a){g(a);a["return"]=null;a.child=null;a.alternate&&(a.alternate.child=null,a.alternate["return"]=null)},commitWork:function(a,b){switch(b.tag){case 2:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps;a=null!==a?a.memoizedProps:d;var e=b.type,f=b.updateQueue;b.updateQueue=null;null!==f&&
|
2203
|
-
c,c);break;case 3:break;default:
|
2204
|
-
b.type,b.memoizedProps,b);break;case 6:break;case 4:break;default:
|
2205
|
-
function
|
2206
|
-
d=c(
|
2207
|
-
function
|
2208
|
-
a=a.hydration;if(!a)return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){
|
2209
|
-
|
2210
|
-
y)return!1;if(!
|
2211
|
-
function
|
2212
|
-
|
2213
|
-
break;case 3:null===
|
2171
|
+
function se(a,b,c){var d=a.alternate;null===d?(d=new Y(a.tag,a.key,a.internalContextTag),d.type=a.type,d.stateNode=a.stateNode,d.alternate=a,a.alternate=d):(d.effectTag=0,d.nextEffect=null,d.firstEffect=null,d.lastEffect=null);d.expirationTime=c;d.pendingProps=b;d.child=a.child;d.memoizedProps=a.memoizedProps;d.memoizedState=a.memoizedState;d.updateQueue=a.updateQueue;d.sibling=a.sibling;d.index=a.index;d.ref=a.ref;return d}
|
2172
|
+
function te(a,b,c){var d=void 0,e=a.type,f=a.key;"function"===typeof e?(d=e.prototype&&e.prototype.isReactComponent?new Y(2,f,b):new Y(0,f,b),d.type=e,d.pendingProps=a.props):"string"===typeof e?(d=new Y(5,f,b),d.type=e,d.pendingProps=a.props):"object"===typeof e&&null!==e&&"number"===typeof e.tag?(d=e,d.pendingProps=a.props):E("130",null==e?e:typeof e,"");d.expirationTime=c;return d}function ue(a,b,c,d){b=new Y(10,d,b);b.pendingProps=a;b.expirationTime=c;return b}
|
2173
|
+
function ve(a,b,c){b=new Y(6,null,b);b.pendingProps=a;b.expirationTime=c;return b}function we(a,b,c){b=new Y(7,a.key,b);b.type=a.handler;b.pendingProps=a;b.expirationTime=c;return b}function xe(a,b,c){a=new Y(9,null,b);a.expirationTime=c;return a}function ye(a,b,c){b=new Y(4,a.key,b);b.pendingProps=a.children||[];b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}var ze=null,Ae=null;
|
2174
|
+
function Be(a){return function(b){try{return a(b)}catch(c){}}}function Ce(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);ze=Be(function(a){return b.onCommitFiberRoot(c,a)});Ae=Be(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function De(a){"function"===typeof ze&&ze(a)}function Ee(a){"function"===typeof Ae&&Ae(a)}
|
2175
|
+
function Fe(a){return{baseState:a,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1}}function Ge(a,b){null===a.last?a.first=a.last=b:(a.last.next=b,a.last=b);if(0===a.expirationTime||a.expirationTime>b.expirationTime)a.expirationTime=b.expirationTime}
|
2176
|
+
function He(a,b){var c=a.alternate,d=a.updateQueue;null===d&&(d=a.updateQueue=Fe(null));null!==c?(a=c.updateQueue,null===a&&(a=c.updateQueue=Fe(null))):a=null;a=a!==d?a:null;null===a?Ge(d,b):null===d.last||null===a.last?(Ge(d,b),Ge(a,b)):(Ge(d,b),a.last=b)}function Ie(a,b,c,d){a=a.partialState;return"function"===typeof a?a.call(b,c,d):a}
|
2177
|
+
function Je(a,b,c,d,e,f){null!==a&&a.updateQueue===c&&(c=b.updateQueue={baseState:c.baseState,expirationTime:c.expirationTime,first:c.first,last:c.last,isInitialized:c.isInitialized,callbackList:null,hasForceUpdate:!1});c.expirationTime=0;c.isInitialized?a=c.baseState:(a=c.baseState=b.memoizedState,c.isInitialized=!0);for(var g=!0,h=c.first,k=!1;null!==h;){var q=h.expirationTime;if(q>f){var v=c.expirationTime;if(0===v||v>q)c.expirationTime=q;k||(k=!0,c.baseState=a)}else{k||(c.first=h.next,null===
|
2178
|
+
c.first&&(c.last=null));if(h.isReplace)a=Ie(h,d,a,e),g=!0;else if(q=Ie(h,d,a,e))a=g?B({},a,q):B(a,q),g=!1;h.isForced&&(c.hasForceUpdate=!0);null!==h.callback&&(q=c.callbackList,null===q&&(q=c.callbackList=[]),q.push(h))}h=h.next}null!==c.callbackList?b.effectTag|=32:null!==c.first||c.hasForceUpdate||(b.updateQueue=null);k||(c.baseState=a);return a}
|
2179
|
+
function Ke(a,b){var c=a.callbackList;if(null!==c)for(a.callbackList=null,a=0;a<c.length;a++){var d=c[a],e=d.callback;d.callback=null;"function"!==typeof e?E("191",e):void 0;e.call(b)}}
|
2180
|
+
function Le(a,b,c,d){function e(a,b){b.updater=f;a.stateNode=b;b._reactInternalFiber=a}var f={isMounted:ld,enqueueSetState:function(c,d,e){c=c._reactInternalFiber;e=void 0===e?null:e;var g=b(c);He(c,{expirationTime:g,partialState:d,callback:e,isReplace:!1,isForced:!1,nextCallback:null,next:null});a(c,g)},enqueueReplaceState:function(c,d,e){c=c._reactInternalFiber;e=void 0===e?null:e;var g=b(c);He(c,{expirationTime:g,partialState:d,callback:e,isReplace:!0,isForced:!1,nextCallback:null,next:null});
|
2181
|
+
a(c,g)},enqueueForceUpdate:function(c,d){c=c._reactInternalFiber;d=void 0===d?null:d;var e=b(c);He(c,{expirationTime:e,partialState:null,callback:d,isReplace:!1,isForced:!0,nextCallback:null,next:null});a(c,e)}};return{adoptClassInstance:e,constructClassInstance:function(a,b){var c=a.type,d=ke(a),f=2===a.tag&&null!=a.type.contextTypes,g=f?me(a,d):D;b=new c(b,g);e(a,b);f&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=d,a.__reactInternalMemoizedMaskedChildContext=g);return b},mountClassInstance:function(a,
|
2182
|
+
b){var c=a.alternate,d=a.stateNode,e=d.state||null,g=a.pendingProps;g?void 0:E("158");var h=ke(a);d.props=g;d.state=a.memoizedState=e;d.refs=D;d.context=me(a,h);null!=a.type&&null!=a.type.prototype&&!0===a.type.prototype.unstable_isAsyncReactComponent&&(a.internalContextTag|=1);"function"===typeof d.componentWillMount&&(e=d.state,d.componentWillMount(),e!==d.state&&f.enqueueReplaceState(d,d.state,null),e=a.updateQueue,null!==e&&(d.state=Je(c,a,e,d,g,b)));"function"===typeof d.componentDidMount&&(a.effectTag|=
|
2183
|
+
4)},updateClassInstance:function(a,b,e){var g=b.stateNode;g.props=b.memoizedProps;g.state=b.memoizedState;var h=b.memoizedProps,k=b.pendingProps;k||(k=h,null==k?E("159"):void 0);var u=g.context,z=ke(b);z=me(b,z);"function"!==typeof g.componentWillReceiveProps||h===k&&u===z||(u=g.state,g.componentWillReceiveProps(k,z),g.state!==u&&f.enqueueReplaceState(g,g.state,null));u=b.memoizedState;e=null!==b.updateQueue?Je(a,b,b.updateQueue,g,k,e):u;if(!(h!==k||u!==e||X.current||null!==b.updateQueue&&b.updateQueue.hasForceUpdate))return"function"!==
|
2184
|
+
typeof g.componentDidUpdate||h===a.memoizedProps&&u===a.memoizedState||(b.effectTag|=4),!1;var G=k;if(null===h||null!==b.updateQueue&&b.updateQueue.hasForceUpdate)G=!0;else{var I=b.stateNode,L=b.type;G="function"===typeof I.shouldComponentUpdate?I.shouldComponentUpdate(G,e,z):L.prototype&&L.prototype.isPureReactComponent?!ea(h,G)||!ea(u,e):!0}G?("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(k,e,z),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4)):("function"!==typeof g.componentDidUpdate||
|
2185
|
+
h===a.memoizedProps&&u===a.memoizedState||(b.effectTag|=4),c(b,k),d(b,e));g.props=k;g.state=e;g.context=z;return G}}}var Qe="function"===typeof Symbol&&Symbol["for"],Re=Qe?Symbol["for"]("react.element"):60103,Se=Qe?Symbol["for"]("react.call"):60104,Te=Qe?Symbol["for"]("react.return"):60105,Ue=Qe?Symbol["for"]("react.portal"):60106,Ve=Qe?Symbol["for"]("react.fragment"):60107,We="function"===typeof Symbol&&Symbol.iterator;
|
2186
|
+
function Xe(a){if(null===a||"undefined"===typeof a)return null;a=We&&a[We]||a["@@iterator"];return"function"===typeof a?a:null}var Ye=Array.isArray;
|
2187
|
+
function Ze(a,b){var c=b.ref;if(null!==c&&"function"!==typeof c){if(b._owner){b=b._owner;var d=void 0;b&&(2!==b.tag?E("110"):void 0,d=b.stateNode);d?void 0:E("147",c);var e=""+c;if(null!==a&&null!==a.ref&&a.ref._stringRef===e)return a.ref;a=function(a){var b=d.refs===D?d.refs={}:d.refs;null===a?delete b[e]:b[e]=a};a._stringRef=e;return a}"string"!==typeof c?E("148"):void 0;b._owner?void 0:E("149",c)}return c}
|
2188
|
+
function $e(a,b){"textarea"!==a.type&&E("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}
|
2189
|
+
function af(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=se(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=
|
2190
|
+
2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=ve(c,a.internalContextTag,d),b["return"]=a,b;b=e(b,c,d);b["return"]=a;return b}function k(a,b,c,d){if(null!==b&&b.type===c.type)return d=e(b,c.props,d),d.ref=Ze(b,c),d["return"]=a,d;d=te(c,a.internalContextTag,d);d.ref=Ze(b,c);d["return"]=a;return d}function q(a,b,c,d){if(null===b||7!==b.tag)return b=we(c,a.internalContextTag,d),b["return"]=a,b;b=e(b,c,d);
|
2191
|
+
b["return"]=a;return b}function v(a,b,c,d){if(null===b||9!==b.tag)return b=xe(c,a.internalContextTag,d),b.type=c.value,b["return"]=a,b;b=e(b,null,d);b.type=c.value;b["return"]=a;return b}function y(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=ye(c,a.internalContextTag,d),b["return"]=a,b;b=e(b,c.children||[],d);b["return"]=a;return b}function u(a,b,c,d,f){if(null===b||10!==b.tag)return b=ue(c,a.internalContextTag,
|
2192
|
+
d,f),b["return"]=a,b;b=e(b,c,d);b["return"]=a;return b}function z(a,b,c){if("string"===typeof b||"number"===typeof b)return b=ve(""+b,a.internalContextTag,c),b["return"]=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case Re:if(b.type===Ve)return b=ue(b.props.children,a.internalContextTag,c,b.key),b["return"]=a,b;c=te(b,a.internalContextTag,c);c.ref=Ze(null,b);c["return"]=a;return c;case Se:return b=we(b,a.internalContextTag,c),b["return"]=a,b;case Te:return c=xe(b,a.internalContextTag,
|
2193
|
+
c),c.type=b.value,c["return"]=a,c;case Ue:return b=ye(b,a.internalContextTag,c),b["return"]=a,b}if(Ye(b)||Xe(b))return b=ue(b,a.internalContextTag,c,null),b["return"]=a,b;$e(a,b)}return null}function G(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case Re:return c.key===e?c.type===Ve?u(a,b,c.props.children,d,e):k(a,b,c,d):null;case Se:return c.key===e?q(a,b,c,d):null;case Te:return null===
|
2194
|
+
e?v(a,b,c,d):null;case Ue:return c.key===e?y(a,b,c,d):null}if(Ye(c)||Xe(c))return null!==e?null:u(a,b,c,d,null);$e(a,c)}return null}function I(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case Re:return a=a.get(null===d.key?c:d.key)||null,d.type===Ve?u(b,a,d.props.children,e,d.key):k(b,a,d,e);case Se:return a=a.get(null===d.key?c:d.key)||null,q(b,a,d,e);case Te:return a=a.get(c)||null,v(b,a,d,e);case Ue:return a=
|
2195
|
+
a.get(null===d.key?c:d.key)||null,y(b,a,d,e)}if(Ye(d)||Xe(d))return a=a.get(c)||null,u(b,a,d,e,null);$e(b,d)}return null}function L(e,g,m,A){for(var h=null,r=null,n=g,w=g=0,k=null;null!==n&&w<m.length;w++){n.index>w?(k=n,n=null):k=n.sibling;var x=G(e,n,m[w],A);if(null===x){null===n&&(n=k);break}a&&n&&null===x.alternate&&b(e,n);g=f(x,g,w);null===r?h=x:r.sibling=x;r=x;n=k}if(w===m.length)return c(e,n),h;if(null===n){for(;w<m.length;w++)if(n=z(e,m[w],A))g=f(n,g,w),null===r?h=n:r.sibling=n,r=n;return h}for(n=
|
2196
|
+
d(e,n);w<m.length;w++)if(k=I(n,e,w,m[w],A)){if(a&&null!==k.alternate)n["delete"](null===k.key?w:k.key);g=f(k,g,w);null===r?h=k:r.sibling=k;r=k}a&&n.forEach(function(a){return b(e,a)});return h}function N(e,g,m,A){var h=Xe(m);"function"!==typeof h?E("150"):void 0;m=h.call(m);null==m?E("151"):void 0;for(var r=h=null,n=g,w=g=0,k=null,x=m.next();null!==n&&!x.done;w++,x=m.next()){n.index>w?(k=n,n=null):k=n.sibling;var J=G(e,n,x.value,A);if(null===J){n||(n=k);break}a&&n&&null===J.alternate&&b(e,n);g=f(J,
|
2197
|
+
g,w);null===r?h=J:r.sibling=J;r=J;n=k}if(x.done)return c(e,n),h;if(null===n){for(;!x.done;w++,x=m.next())x=z(e,x.value,A),null!==x&&(g=f(x,g,w),null===r?h=x:r.sibling=x,r=x);return h}for(n=d(e,n);!x.done;w++,x=m.next())if(x=I(n,e,w,x.value,A),null!==x){if(a&&null!==x.alternate)n["delete"](null===x.key?w:x.key);g=f(x,g,w);null===r?h=x:r.sibling=x;r=x}a&&n.forEach(function(a){return b(e,a)});return h}return function(a,d,f,h){"object"===typeof f&&null!==f&&f.type===Ve&&null===f.key&&(f=f.props.children);
|
2198
|
+
var m="object"===typeof f&&null!==f;if(m)switch(f.$$typeof){case Re:a:{var r=f.key;for(m=d;null!==m;){if(m.key===r)if(10===m.tag?f.type===Ve:m.type===f.type){c(a,m.sibling);d=e(m,f.type===Ve?f.props.children:f.props,h);d.ref=Ze(m,f);d["return"]=a;a=d;break a}else{c(a,m);break}else b(a,m);m=m.sibling}f.type===Ve?(d=ue(f.props.children,a.internalContextTag,h,f.key),d["return"]=a,a=d):(h=te(f,a.internalContextTag,h),h.ref=Ze(d,f),h["return"]=a,a=h)}return g(a);case Se:a:{for(m=f.key;null!==d;){if(d.key===
|
2199
|
+
m)if(7===d.tag){c(a,d.sibling);d=e(d,f,h);d["return"]=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=we(f,a.internalContextTag,h);d["return"]=a;a=d}return g(a);case Te:a:{if(null!==d)if(9===d.tag){c(a,d.sibling);d=e(d,null,h);d.type=f.value;d["return"]=a;a=d;break a}else c(a,d);d=xe(f,a.internalContextTag,h);d.type=f.value;d["return"]=a;a=d}return g(a);case Ue:a:{for(m=f.key;null!==d;){if(d.key===m)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===
|
2200
|
+
f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d["return"]=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=ye(f,a.internalContextTag,h);d["return"]=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h)):(c(a,d),d=ve(f,a.internalContextTag,h)),d["return"]=a,a=d,g(a);if(Ye(f))return L(a,d,f,h);if(Xe(f))return N(a,d,f,h);m&&$e(a,f);if("undefined"===typeof f)switch(a.tag){case 2:case 1:h=a.type,E("152",h.displayName||
|
2201
|
+
h.name||"Component")}return c(a,d)}}var bf=af(!0),cf=af(!1);
|
2202
|
+
function df(a,b,c,d,e){function f(a,b,c){var d=b.expirationTime;b.child=null===a?cf(b,null,c,d):bf(b,a.child,c,d)}function g(a,b){var c=b.ref;null===c||a&&a.ref===c||(b.effectTag|=128)}function h(a,b,c,d){g(a,b);if(!c)return d&&re(b,!1),q(a,b);c=b.stateNode;id.current=b;var e=c.render();b.effectTag|=1;f(a,b,e);b.memoizedState=c.state;b.memoizedProps=c.props;d&&re(b,!0);return b.child}function k(a){var b=a.stateNode;b.pendingContext?oe(a,b.pendingContext,b.pendingContext!==b.context):b.context&&oe(a,
|
2203
|
+
b.context,!1);I(a,b.containerInfo)}function q(a,b){null!==a&&b.child!==a.child?E("153"):void 0;if(null!==b.child){a=b.child;var c=se(a,a.pendingProps,a.expirationTime);b.child=c;for(c["return"]=b;null!==a.sibling;)a=a.sibling,c=c.sibling=se(a,a.pendingProps,a.expirationTime),c["return"]=b;c.sibling=null}return b.child}function v(a,b){switch(b.tag){case 3:k(b);break;case 2:qe(b);break;case 4:I(b,b.stateNode.containerInfo)}return null}var y=a.shouldSetTextContent,u=a.useSyncScheduling,z=a.shouldDeprioritizeSubtree,
|
2204
|
+
G=b.pushHostContext,I=b.pushHostContainer,L=c.enterHydrationState,N=c.resetHydrationState,J=c.tryToClaimNextHydratableInstance;a=Le(d,e,function(a,b){a.memoizedProps=b},function(a,b){a.memoizedState=b});var w=a.adoptClassInstance,m=a.constructClassInstance,A=a.mountClassInstance,Ob=a.updateClassInstance;return{beginWork:function(a,b,c){if(0===b.expirationTime||b.expirationTime>c)return v(a,b);switch(b.tag){case 0:null!==a?E("155"):void 0;var d=b.type,e=b.pendingProps,r=ke(b);r=me(b,r);d=d(e,r);b.effectTag|=
|
2205
|
+
1;"object"===typeof d&&null!==d&&"function"===typeof d.render?(b.tag=2,e=qe(b),w(b,d),A(b,c),b=h(a,b,!0,e)):(b.tag=1,f(a,b,d),b.memoizedProps=e,b=b.child);return b;case 1:a:{e=b.type;c=b.pendingProps;d=b.memoizedProps;if(X.current)null===c&&(c=d);else if(null===c||d===c){b=q(a,b);break a}d=ke(b);d=me(b,d);e=e(c,d);b.effectTag|=1;f(a,b,e);b.memoizedProps=c;b=b.child}return b;case 2:return e=qe(b),d=void 0,null===a?b.stateNode?E("153"):(m(b,b.pendingProps),A(b,c),d=!0):d=Ob(a,b,c),h(a,b,d,e);case 3:return k(b),
|
2206
|
+
e=b.updateQueue,null!==e?(d=b.memoizedState,e=Je(a,b,e,null,null,c),d===e?(N(),b=q(a,b)):(d=e.element,r=b.stateNode,(null===a||null===a.child)&&r.hydrate&&L(b)?(b.effectTag|=2,b.child=cf(b,null,d,c)):(N(),f(a,b,d)),b.memoizedState=e,b=b.child)):(N(),b=q(a,b)),b;case 5:G(b);null===a&&J(b);e=b.type;var n=b.memoizedProps;d=b.pendingProps;null===d&&(d=n,null===d?E("154"):void 0);r=null!==a?a.memoizedProps:null;X.current||null!==d&&n!==d?(n=d.children,y(e,d)?n=null:r&&y(e,r)&&(b.effectTag|=16),g(a,b),
|
2207
|
+
2147483647!==c&&!u&&z(e,d)?(b.expirationTime=2147483647,b=null):(f(a,b,n),b.memoizedProps=d,b=b.child)):b=q(a,b);return b;case 6:return null===a&&J(b),a=b.pendingProps,null===a&&(a=b.memoizedProps),b.memoizedProps=a,null;case 8:b.tag=7;case 7:e=b.pendingProps;if(X.current)null===e&&(e=a&&a.memoizedProps,null===e?E("154"):void 0);else if(null===e||b.memoizedProps===e)e=b.memoizedProps;d=e.children;b.stateNode=null===a?cf(b,b.stateNode,d,c):bf(b,b.stateNode,d,c);b.memoizedProps=e;return b.stateNode;
|
2208
|
+
case 9:return null;case 4:a:{I(b,b.stateNode.containerInfo);e=b.pendingProps;if(X.current)null===e&&(e=a&&a.memoizedProps,null==e?E("154"):void 0);else if(null===e||b.memoizedProps===e){b=q(a,b);break a}null===a?b.child=bf(b,null,e,c):f(a,b,e);b.memoizedProps=e;b=b.child}return b;case 10:a:{c=b.pendingProps;if(X.current)null===c&&(c=b.memoizedProps);else if(null===c||b.memoizedProps===c){b=q(a,b);break a}f(a,b,c);b.memoizedProps=c;b=b.child}return b;default:E("156")}},beginFailedWork:function(a,b,
|
2209
|
+
c){switch(b.tag){case 2:qe(b);break;case 3:k(b);break;default:E("157")}b.effectTag|=64;null===a?b.child=null:b.child!==a.child&&(b.child=a.child);if(0===b.expirationTime||b.expirationTime>c)return v(a,b);b.firstEffect=null;b.lastEffect=null;b.child=null===a?cf(b,null,null,c):bf(b,a.child,null,c);2===b.tag&&(a=b.stateNode,b.memoizedProps=a.props,b.memoizedState=a.state);return b.child}}}
|
2210
|
+
function ef(a,b,c){function d(a){a.effectTag|=4}var e=a.createInstance,f=a.createTextInstance,g=a.appendInitialChild,h=a.finalizeInitialChildren,k=a.prepareUpdate,q=a.persistence,v=b.getRootHostContainer,y=b.popHostContext,u=b.getHostContext,z=b.popHostContainer,G=c.prepareToHydrateHostInstance,I=c.prepareToHydrateHostTextInstance,L=c.popHydrationState,N=void 0,J=void 0,w=void 0;a.mutation?(N=function(){},J=function(a,b,c){(b.updateQueue=c)&&d(b)},w=function(a,b,c,e){c!==e&&d(b)}):q?E("235"):E("236");
|
2211
|
+
return{completeWork:function(a,b,c){var m=b.pendingProps;if(null===m)m=b.memoizedProps;else if(2147483647!==b.expirationTime||2147483647===c)b.pendingProps=null;switch(b.tag){case 1:return null;case 2:return ne(b),null;case 3:z(b);V(X,b);V(ie,b);m=b.stateNode;m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null);if(null===a||null===a.child)L(b),b.effectTag&=-3;N(b);return null;case 5:y(b);c=v();var A=b.type;if(null!==a&&null!=b.stateNode){var p=a.memoizedProps,q=b.stateNode,x=u();q=
|
2212
|
+
k(q,A,p,m,c,x);J(a,b,q,A,p,m,c);a.ref!==b.ref&&(b.effectTag|=128)}else{if(!m)return null===b.stateNode?E("166"):void 0,null;a=u();if(L(b))G(b,c,a)&&d(b);else{a=e(A,m,c,a,b);a:for(p=b.child;null!==p;){if(5===p.tag||6===p.tag)g(a,p.stateNode);else if(4!==p.tag&&null!==p.child){p.child["return"]=p;p=p.child;continue}if(p===b)break;for(;null===p.sibling;){if(null===p["return"]||p["return"]===b)break a;p=p["return"]}p.sibling["return"]=p["return"];p=p.sibling}h(a,A,m,c)&&d(b);b.stateNode=a}null!==b.ref&&
|
2213
|
+
(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)w(a,b,a.memoizedProps,m);else{if("string"!==typeof m)return null===b.stateNode?E("166"):void 0,null;a=v();c=u();L(b)?I(b)&&d(b):b.stateNode=f(m,a,c,b)}return null;case 7:(m=b.memoizedProps)?void 0:E("165");b.tag=8;A=[];a:for((p=b.stateNode)&&(p["return"]=b);null!==p;){if(5===p.tag||6===p.tag||4===p.tag)E("247");else if(9===p.tag)A.push(p.type);else if(null!==p.child){p.child["return"]=p;p=p.child;continue}for(;null===p.sibling;){if(null===
|
2214
|
+
p["return"]||p["return"]===b)break a;p=p["return"]}p.sibling["return"]=p["return"];p=p.sibling}p=m.handler;m=p(m.props,A);b.child=bf(b,null!==a?a.child:null,m,c);return b.child;case 8:return b.tag=7,null;case 9:return null;case 10:return null;case 4:return z(b),N(b),null;case 0:E("167");default:E("156")}}}}
|
2215
|
+
function ff(a,b){function c(a){var c=a.ref;if(null!==c)try{c(null)}catch(A){b(a,A)}}function d(a){"function"===typeof Ee&&Ee(a);switch(a.tag){case 2:c(a);var d=a.stateNode;if("function"===typeof d.componentWillUnmount)try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(A){b(a,A)}break;case 5:c(a);break;case 7:e(a.stateNode);break;case 4:k&&g(a)}}function e(a){for(var b=a;;)if(d(b),null===b.child||k&&4===b.tag){if(b===a)break;for(;null===b.sibling;){if(null===b["return"]||
|
2216
|
+
b["return"]===a)return;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}else b.child["return"]=b,b=b.child}function f(a){return 5===a.tag||3===a.tag||4===a.tag}function g(a){for(var b=a,c=!1,f=void 0,g=void 0;;){if(!c){c=b["return"];a:for(;;){null===c?E("160"):void 0;switch(c.tag){case 5:f=c.stateNode;g=!1;break a;case 3:f=c.stateNode.containerInfo;g=!0;break a;case 4:f=c.stateNode.containerInfo;g=!0;break a}c=c["return"]}c=!0}if(5===b.tag||6===b.tag)e(b),g?J(f,b.stateNode):N(f,b.stateNode);
|
2217
|
+
else if(4===b.tag?f=b.stateNode.containerInfo:d(b),null!==b.child){b.child["return"]=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b["return"]||b["return"]===a)return;b=b["return"];4===b.tag&&(c=!1)}b.sibling["return"]=b["return"];b=b.sibling}}var h=a.getPublicInstance,k=a.mutation;a=a.persistence;k||(a?E("235"):E("236"));var q=k.commitMount,v=k.commitUpdate,y=k.resetTextContent,u=k.commitTextUpdate,z=k.appendChild,G=k.appendChildToContainer,I=k.insertBefore,L=k.insertInContainerBefore,
|
2218
|
+
N=k.removeChild,J=k.removeChildFromContainer;return{commitResetTextContent:function(a){y(a.stateNode)},commitPlacement:function(a){a:{for(var b=a["return"];null!==b;){if(f(b)){var c=b;break a}b=b["return"]}E("160");c=void 0}var d=b=void 0;switch(c.tag){case 5:b=c.stateNode;d=!1;break;case 3:b=c.stateNode.containerInfo;d=!0;break;case 4:b=c.stateNode.containerInfo;d=!0;break;default:E("161")}c.effectTag&16&&(y(b),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c["return"]||f(c["return"])){c=
|
2219
|
+
null;break a}c=c["return"]}c.sibling["return"]=c["return"];for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child["return"]=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=a;;){if(5===e.tag||6===e.tag)c?d?L(b,e.stateNode,c):I(b,e.stateNode,c):d?G(b,e.stateNode):z(b,e.stateNode);else if(4!==e.tag&&null!==e.child){e.child["return"]=e;e=e.child;continue}if(e===a)break;for(;null===e.sibling;){if(null===e["return"]||e["return"]===
|
2220
|
+
a)return;e=e["return"]}e.sibling["return"]=e["return"];e=e.sibling}},commitDeletion:function(a){g(a);a["return"]=null;a.child=null;a.alternate&&(a.alternate.child=null,a.alternate["return"]=null)},commitWork:function(a,b){switch(b.tag){case 2:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps;a=null!==a?a.memoizedProps:d;var e=b.type,f=b.updateQueue;b.updateQueue=null;null!==f&&v(c,f,e,a,d,b)}break;case 6:null===b.stateNode?E("162"):void 0;c=b.memoizedProps;u(b.stateNode,null!==a?a.memoizedProps:
|
2221
|
+
c,c);break;case 3:break;default:E("163")}},commitLifeCycles:function(a,b){switch(b.tag){case 2:var c=b.stateNode;if(b.effectTag&4)if(null===a)c.props=b.memoizedProps,c.state=b.memoizedState,c.componentDidMount();else{var d=a.memoizedProps;a=a.memoizedState;c.props=b.memoizedProps;c.state=b.memoizedState;c.componentDidUpdate(d,a)}b=b.updateQueue;null!==b&&Ke(b,c);break;case 3:c=b.updateQueue;null!==c&&Ke(c,null!==b.child?b.child.stateNode:null);break;case 5:c=b.stateNode;null===a&&b.effectTag&4&&q(c,
|
2222
|
+
b.type,b.memoizedProps,b);break;case 6:break;case 4:break;default:E("163")}},commitAttachRef:function(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:b(h(c));break;default:b(c)}}},commitDetachRef:function(a){a=a.ref;null!==a&&a(null)}}}var gf={};
|
2223
|
+
function hf(a){function b(a){a===gf?E("174"):void 0;return a}var c=a.getChildHostContext,d=a.getRootHostContext,e={current:gf},f={current:gf},g={current:gf};return{getHostContext:function(){return b(e.current)},getRootHostContainer:function(){return b(g.current)},popHostContainer:function(a){V(e,a);V(f,a);V(g,a)},popHostContext:function(a){f.current===a&&(V(e,a),V(f,a))},pushHostContainer:function(a,b){W(g,b,a);b=d(b);W(f,a,a);W(e,b,a)},pushHostContext:function(a){var d=b(g.current),h=b(e.current);
|
2224
|
+
d=c(h,a.type,d);h!==d&&(W(f,a,a),W(e,d,a))},resetHostContainer:function(){e.current=gf;g.current=gf}}}
|
2225
|
+
function jf(a){function b(a,b){var c=new Y(5,null,0);c.type="DELETED";c.stateNode=b;c["return"]=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function c(a,b){switch(a.tag){case 5:return b=f(b,a.type,a.pendingProps),null!==b?(a.stateNode=b,!0):!1;case 6:return b=g(b,a.pendingProps),null!==b?(a.stateNode=b,!0):!1;default:return!1}}function d(a){for(a=a["return"];null!==a&&5!==a.tag&&3!==a.tag;)a=a["return"];y=a}var e=a.shouldSetTextContent;
|
2226
|
+
a=a.hydration;if(!a)return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){E("175")},prepareToHydrateHostTextInstance:function(){E("176")},popHydrationState:function(){return!1}};var f=a.canHydrateInstance,g=a.canHydrateTextInstance,h=a.getNextHydratableSibling,k=a.getFirstHydratableChild,q=a.hydrateInstance,v=a.hydrateTextInstance,y=null,u=null,z=!1;return{enterHydrationState:function(a){u=
|
2227
|
+
k(a.stateNode.containerInfo);y=a;return z=!0},resetHydrationState:function(){u=y=null;z=!1},tryToClaimNextHydratableInstance:function(a){if(z){var d=u;if(d){if(!c(a,d)){d=h(d);if(!d||!c(a,d)){a.effectTag|=2;z=!1;y=a;return}b(y,u)}y=a;u=k(d)}else a.effectTag|=2,z=!1,y=a}},prepareToHydrateHostInstance:function(a,b,c){b=q(a.stateNode,a.type,a.memoizedProps,b,c,a);a.updateQueue=b;return null!==b?!0:!1},prepareToHydrateHostTextInstance:function(a){return v(a.stateNode,a.memoizedProps,a)},popHydrationState:function(a){if(a!==
|
2228
|
+
y)return!1;if(!z)return d(a),z=!0,!1;var c=a.type;if(5!==a.tag||"head"!==c&&"body"!==c&&!e(c,a.memoizedProps))for(c=u;c;)b(a,c),c=h(c);d(a);u=y?h(a.stateNode):null;return!0}}}
|
2229
|
+
function kf(a){function b(a){Qb=ja=!0;var b=a.stateNode;b.current===a?E("177"):void 0;b.isReadyForCommit=!1;id.current=null;if(1<a.effectTag)if(null!==a.lastEffect){a.lastEffect.nextEffect=a;var c=a.firstEffect}else c=a;else c=a.firstEffect;yg();for(t=c;null!==t;){var d=!1,e=void 0;try{for(;null!==t;){var f=t.effectTag;f&16&&zg(t);if(f&128){var g=t.alternate;null!==g&&Ag(g)}switch(f&-242){case 2:Ne(t);t.effectTag&=-3;break;case 6:Ne(t);t.effectTag&=-3;Oe(t.alternate,t);break;case 4:Oe(t.alternate,
|
2230
|
+
t);break;case 8:Sc=!0,Bg(t),Sc=!1}t=t.nextEffect}}catch(Tc){d=!0,e=Tc}d&&(null===t?E("178"):void 0,h(t,e),null!==t&&(t=t.nextEffect))}Cg();b.current=a;for(t=c;null!==t;){c=!1;d=void 0;try{for(;null!==t;){var k=t.effectTag;k&36&&Dg(t.alternate,t);k&128&&Eg(t);if(k&64)switch(e=t,f=void 0,null!==R&&(f=R.get(e),R["delete"](e),null==f&&null!==e.alternate&&(e=e.alternate,f=R.get(e),R["delete"](e))),null==f?E("184"):void 0,e.tag){case 2:e.stateNode.componentDidCatch(f.error,{componentStack:f.componentStack});
|
2231
|
+
break;case 3:null===ca&&(ca=f.error);break;default:E("157")}var Qc=t.nextEffect;t.nextEffect=null;t=Qc}}catch(Tc){c=!0,d=Tc}c&&(null===t?E("178"):void 0,h(t,d),null!==t&&(t=t.nextEffect))}ja=Qb=!1;"function"===typeof De&&De(a.stateNode);ha&&(ha.forEach(G),ha=null);null!==ca&&(a=ca,ca=null,Ob(a));b=b.current.expirationTime;0===b&&(qa=R=null);return b}function c(a){for(;;){var b=Fg(a.alternate,a,H),c=a["return"],d=a.sibling;var e=a;if(2147483647===H||2147483647!==e.expirationTime){if(2!==e.tag&&3!==
|
2214
2232
|
e.tag)var f=0;else f=e.updateQueue,f=null===f?0:f.expirationTime;for(var g=e.child;null!==g;)0!==g.expirationTime&&(0===f||f>g.expirationTime)&&(f=g.expirationTime),g=g.sibling;e.expirationTime=f}if(null!==b)return b;null!==c&&(null===c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1<a.effectTag&&(null!==c.lastEffect?c.lastEffect.nextEffect=a:c.firstEffect=a,c.lastEffect=a));if(null!==d)return d;
|
2215
|
-
if(null!==c)a=c;else{a.stateNode.isReadyForCommit=!0;break}}return null}function d(a){var b=
|
2216
|
-
!1;if(a!==
|
2217
|
-
|
2218
|
-
g._debugOwner,
|
2219
|
-
|
2220
|
-
a.alternate.expirationTime>b)&&(a.alternate.expirationTime=b);if(null===a["return"])if(3===a.tag){var c=a.stateNode;!
|
2221
|
-
|
2222
|
-
a||e<a)a=e,b=d;if(d===
|
2223
|
-
b(d)))}else d=a.finishedWork,null!==d?(a.finishedWork=null,a.remainingExpirationTime=b(d)):(a.finishedWork=null,d=g(a,c),null!==d&&(
|
2224
|
-
|
2225
|
-
scheduleWork:u,batchedUpdates:function(a,b){var c=
|
2226
|
-
|
2227
|
-
|
2228
|
-
|
2229
|
-
a,
|
2230
|
-
|
2231
|
-
|
2232
|
-
var Af
|
2233
|
-
|
2234
|
-
function
|
2235
|
-
function Hf(a
|
2236
|
-
function
|
2237
|
-
function Kf(a,b){
|
2238
|
-
function
|
2239
|
-
function
|
2240
|
-
function
|
2241
|
-
function
|
2242
|
-
|
2243
|
-
function
|
2244
|
-
|
2245
|
-
var
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
function fg(a,b){if(
|
2250
|
-
function
|
2251
|
-
|
2252
|
-
var
|
2253
|
-
|
2254
|
-
function
|
2255
|
-
ig(
|
2256
|
-
""
|
2257
|
-
|
2258
|
-
|
2259
|
-
|
2260
|
-
|
2261
|
-
|
2262
|
-
e.
|
2263
|
-
|
2264
|
-
|
2265
|
-
(a
|
2266
|
-
|
2267
|
-
|
2268
|
-
|
2269
|
-
|
2270
|
-
|
2271
|
-
{
|
2272
|
-
|
2273
|
-
a
|
2274
|
-
|
2233
|
+
if(null!==c)a=c;else{a.stateNode.isReadyForCommit=!0;break}}return null}function d(a){var b=rg(a.alternate,a,H);null===b&&(b=c(a));id.current=null;return b}function e(a){var b=Gg(a.alternate,a,H);null===b&&(b=c(a));id.current=null;return b}function f(a){if(null!==R){if(!(0===H||H>a))if(H<=Uc)for(;null!==F;)F=k(F)?e(F):d(F);else for(;null!==F&&!A();)F=k(F)?e(F):d(F)}else if(!(0===H||H>a))if(H<=Uc)for(;null!==F;)F=d(F);else for(;null!==F&&!A();)F=d(F)}function g(a,b){ja?E("243"):void 0;ja=!0;a.isReadyForCommit=
|
2234
|
+
!1;if(a!==ra||b!==H||null===F){for(;-1<he;)ge[he]=null,he--;je=D;ie.current=D;X.current=!1;x();ra=a;H=b;F=se(ra.current,null,b)}var c=!1,d=null;try{f(b)}catch(Rc){c=!0,d=Rc}for(;c;){if(eb){ca=d;break}var g=F;if(null===g)eb=!0;else{var k=h(g,d);null===k?E("183"):void 0;if(!eb){try{c=k;d=b;for(k=c;null!==g;){switch(g.tag){case 2:ne(g);break;case 5:qg(g);break;case 3:p(g);break;case 4:p(g)}if(g===k||g.alternate===k)break;g=g["return"]}F=e(c);f(d)}catch(Rc){c=!0;d=Rc;continue}break}}}b=ca;eb=ja=!1;ca=
|
2235
|
+
null;null!==b&&Ob(b);return a.isReadyForCommit?a.current.alternate:null}function h(a,b){var c=id.current=null,d=!1,e=!1,f=null;if(3===a.tag)c=a,q(a)&&(eb=!0);else for(var g=a["return"];null!==g&&null===c;){2===g.tag?"function"===typeof g.stateNode.componentDidCatch&&(d=!0,f=jd(g),c=g,e=!0):3===g.tag&&(c=g);if(q(g)){if(Sc||null!==ha&&(ha.has(g)||null!==g.alternate&&ha.has(g.alternate)))return null;c=null;e=!1}g=g["return"]}if(null!==c){null===qa&&(qa=new Set);qa.add(c);var h="";g=a;do{a:switch(g.tag){case 0:case 1:case 2:case 5:var k=
|
2236
|
+
g._debugOwner,Qc=g._debugSource;var m=jd(g);var n=null;k&&(n=jd(k));k=Qc;m="\n in "+(m||"Unknown")+(k?" (at "+k.fileName.replace(/^.*[\\\/]/,"")+":"+k.lineNumber+")":n?" (created by "+n+")":"");break a;default:m=""}h+=m;g=g["return"]}while(g);g=h;a=jd(a);null===R&&(R=new Map);b={componentName:a,componentStack:g,error:b,errorBoundary:d?c.stateNode:null,errorBoundaryFound:d,errorBoundaryName:f,willRetry:e};R.set(c,b);try{var p=b.error;p&&p.suppressReactErrorLogging||console.error(p)}catch(Vc){Vc&&
|
2237
|
+
Vc.suppressReactErrorLogging||console.error(Vc)}Qb?(null===ha&&(ha=new Set),ha.add(c)):G(c);return c}null===ca&&(ca=b);return null}function k(a){return null!==R&&(R.has(a)||null!==a.alternate&&R.has(a.alternate))}function q(a){return null!==qa&&(qa.has(a)||null!==a.alternate&&qa.has(a.alternate))}function v(){return 20*(((I()+100)/20|0)+1)}function y(a){return 0!==ka?ka:ja?Qb?1:H:!Hg||a.internalContextTag&1?v():1}function u(a,b){return z(a,b,!1)}function z(a,b){for(;null!==a;){if(0===a.expirationTime||
|
2238
|
+
a.expirationTime>b)a.expirationTime=b;null!==a.alternate&&(0===a.alternate.expirationTime||a.alternate.expirationTime>b)&&(a.alternate.expirationTime=b);if(null===a["return"])if(3===a.tag){var c=a.stateNode;!ja&&c===ra&&b<H&&(F=ra=null,H=0);var d=c,e=b;Rb>Ig&&E("185");if(null===d.nextScheduledRoot)d.remainingExpirationTime=e,null===O?(sa=O=d,d.nextScheduledRoot=d):(O=O.nextScheduledRoot=d,O.nextScheduledRoot=sa);else{var f=d.remainingExpirationTime;if(0===f||e<f)d.remainingExpirationTime=e}Fa||(la?
|
2239
|
+
Sb&&(ma=d,na=1,m(ma,na)):1===e?w(1,null):L(e));!ja&&c===ra&&b<H&&(F=ra=null,H=0)}else break;a=a["return"]}}function G(a){z(a,1,!0)}function I(){return Uc=((Wc()-Pe)/10|0)+2}function L(a){if(0!==Tb){if(a>Tb)return;Jg(Xc)}var b=Wc()-Pe;Tb=a;Xc=Kg(J,{timeout:10*(a-2)-b})}function N(){var a=0,b=null;if(null!==O)for(var c=O,d=sa;null!==d;){var e=d.remainingExpirationTime;if(0===e){null===c||null===O?E("244"):void 0;if(d===d.nextScheduledRoot){sa=O=d.nextScheduledRoot=null;break}else if(d===sa)sa=e=d.nextScheduledRoot,
|
2240
|
+
O.nextScheduledRoot=e,d.nextScheduledRoot=null;else if(d===O){O=c;O.nextScheduledRoot=sa;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{if(0===a||e<a)a=e,b=d;if(d===O)break;c=d;d=d.nextScheduledRoot}}c=ma;null!==c&&c===b?Rb++:Rb=0;ma=b;na=a}function J(a){w(0,a)}function w(a,b){fb=b;for(N();null!==ma&&0!==na&&(0===a||na<=a)&&!Yc;)m(ma,na),N();null!==fb&&(Tb=0,Xc=-1);0!==na&&L(na);fb=null;Yc=!1;Rb=0;if(Ub)throw a=Zc,Zc=
|
2241
|
+
null,Ub=!1,a;}function m(a,c){Fa?E("245"):void 0;Fa=!0;if(c<=I()){var d=a.finishedWork;null!==d?(a.finishedWork=null,a.remainingExpirationTime=b(d)):(a.finishedWork=null,d=g(a,c),null!==d&&(a.remainingExpirationTime=b(d)))}else d=a.finishedWork,null!==d?(a.finishedWork=null,a.remainingExpirationTime=b(d)):(a.finishedWork=null,d=g(a,c),null!==d&&(A()?a.finishedWork=d:a.remainingExpirationTime=b(d)));Fa=!1}function A(){return null===fb||fb.timeRemaining()>Lg?!1:Yc=!0}function Ob(a){null===ma?E("246"):
|
2242
|
+
void 0;ma.remainingExpirationTime=0;Ub||(Ub=!0,Zc=a)}var r=hf(a),n=jf(a),p=r.popHostContainer,qg=r.popHostContext,x=r.resetHostContainer,Me=df(a,r,n,u,y),rg=Me.beginWork,Gg=Me.beginFailedWork,Fg=ef(a,r,n).completeWork;r=ff(a,h);var zg=r.commitResetTextContent,Ne=r.commitPlacement,Bg=r.commitDeletion,Oe=r.commitWork,Dg=r.commitLifeCycles,Eg=r.commitAttachRef,Ag=r.commitDetachRef,Wc=a.now,Kg=a.scheduleDeferredCallback,Jg=a.cancelDeferredCallback,Hg=a.useSyncScheduling,yg=a.prepareForCommit,Cg=a.resetAfterCommit,
|
2243
|
+
Pe=Wc(),Uc=2,ka=0,ja=!1,F=null,ra=null,H=0,t=null,R=null,qa=null,ha=null,ca=null,eb=!1,Qb=!1,Sc=!1,sa=null,O=null,Tb=0,Xc=-1,Fa=!1,ma=null,na=0,Yc=!1,Ub=!1,Zc=null,fb=null,la=!1,Sb=!1,Ig=1E3,Rb=0,Lg=1;return{computeAsyncExpiration:v,computeExpirationForFiber:y,scheduleWork:u,batchedUpdates:function(a,b){var c=la;la=!0;try{return a(b)}finally{(la=c)||Fa||w(1,null)}},unbatchedUpdates:function(a){if(la&&!Sb){Sb=!0;try{return a()}finally{Sb=!1}}return a()},flushSync:function(a){var b=la;la=!0;try{a:{var c=
|
2244
|
+
ka;ka=1;try{var d=a();break a}finally{ka=c}d=void 0}return d}finally{la=b,Fa?E("187"):void 0,w(1,null)}},deferredUpdates:function(a){var b=ka;ka=v();try{return a()}finally{ka=b}}}}
|
2245
|
+
function lf(a){function b(a){a=od(a);return null===a?null:a.stateNode}var c=a.getPublicInstance;a=kf(a);var d=a.computeAsyncExpiration,e=a.computeExpirationForFiber,f=a.scheduleWork;return{createContainer:function(a,b){var c=new Y(3,null,0);a={current:c,containerInfo:a,pendingChildren:null,remainingExpirationTime:0,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:b,nextScheduledRoot:null};return c.stateNode=a},updateContainer:function(a,b,c,q){var g=b.current;if(c){c=
|
2246
|
+
c._reactInternalFiber;var h;b:{2===kd(c)&&2===c.tag?void 0:E("170");for(h=c;3!==h.tag;){if(le(h)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}(h=h["return"])?void 0:E("171")}h=h.stateNode.context}c=le(c)?pe(c,h):h}else c=D;null===b.context?b.context=c:b.pendingContext=c;b=q;b=void 0===b?null:b;q=null!=a&&null!=a.type&&null!=a.type.prototype&&!0===a.type.prototype.unstable_isAsyncReactComponent?d():e(g);He(g,{expirationTime:q,partialState:{element:a},callback:b,isReplace:!1,isForced:!1,
|
2247
|
+
nextCallback:null,next:null});f(g,q)},batchedUpdates:a.batchedUpdates,unbatchedUpdates:a.unbatchedUpdates,deferredUpdates:a.deferredUpdates,flushSync:a.flushSync,getPublicRootInstance:function(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return c(a.child.stateNode);default:return a.child.stateNode}},findHostInstance:b,findHostInstanceWithNoPortals:function(a){a=pd(a);return null===a?null:a.stateNode},injectIntoDevTools:function(a){var c=a.findFiberByHostInstance;return Ce(B({},
|
2248
|
+
a,{findHostInstanceByFiber:function(a){return b(a)},findFiberByHostInstance:function(a){return c?c(a):null}}))}}}var mf=Object.freeze({default:lf}),nf=mf&&lf||mf,of=nf["default"]?nf["default"]:nf;function pf(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ue,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}var qf="object"===typeof performance&&"function"===typeof performance.now,rf=void 0;rf=qf?function(){return performance.now()}:function(){return Date.now()};
|
2249
|
+
var sf=void 0,tf=void 0;
|
2250
|
+
if(l.canUseDOM)if("function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback){var uf=null,vf=!1,wf=-1,xf=!1,yf=0,zf=33,Af=33,Bf;Bf=qf?{didTimeout:!1,timeRemaining:function(){var a=yf-performance.now();return 0<a?a:0}}:{didTimeout:!1,timeRemaining:function(){var a=yf-Date.now();return 0<a?a:0}};var Cf="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===Cf){vf=!1;a=rf();if(0>=yf-a)if(-1!==wf&&wf<=
|
2251
|
+
a)Bf.didTimeout=!0;else{xf||(xf=!0,requestAnimationFrame(Df));return}else Bf.didTimeout=!1;wf=-1;a=uf;uf=null;null!==a&&a(Bf)}},!1);var Df=function(a){xf=!1;var b=a-yf+Af;b<Af&&zf<Af?(8>b&&(b=8),Af=b<zf?zf:b):zf=b;yf=a+Af;vf||(vf=!0,window.postMessage(Cf,"*"))};sf=function(a,b){uf=a;null!=b&&"number"===typeof b.timeout&&(wf=rf()+b.timeout);xf||(xf=!0,requestAnimationFrame(Df));return 0};tf=function(){uf=null;vf=!1;wf=-1}}else sf=window.requestIdleCallback,tf=window.cancelIdleCallback;else sf=function(a){return setTimeout(function(){a({timeRemaining:function(){return Infinity}})})},
|
2252
|
+
tf=function(a){clearTimeout(a)};var Ef=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ff={},Gf={};
|
2253
|
+
function Hf(a){if(Gf.hasOwnProperty(a))return!0;if(Ff.hasOwnProperty(a))return!1;if(Ef.test(a))return Gf[a]=!0;Ff[a]=!0;return!1}
|
2254
|
+
function If(a,b,c){var d=wa(b);if(d&&va(b,c)){var e=d.mutationMethod;e?e(a,c):null==c||d.hasBooleanValue&&!c||d.hasNumericValue&&isNaN(c)||d.hasPositiveNumericValue&&1>c||d.hasOverloadedBooleanValue&&!1===c?Jf(a,b):d.mustUseProperty?a[d.propertyName]=c:(b=d.attributeName,(e=d.attributeNamespace)?a.setAttributeNS(e,b,""+c):d.hasBooleanValue||d.hasOverloadedBooleanValue&&!0===c?a.setAttribute(b,""):a.setAttribute(b,""+c))}else Kf(a,b,va(b,c)?c:null)}
|
2255
|
+
function Kf(a,b,c){Hf(b)&&(null==c?a.removeAttribute(b):a.setAttribute(b,""+c))}function Jf(a,b){var c=wa(b);c?(b=c.mutationMethod)?b(a,void 0):c.mustUseProperty?a[c.propertyName]=c.hasBooleanValue?!1:"":a.removeAttribute(c.attributeName):a.removeAttribute(b)}
|
2256
|
+
function Lf(a,b){var c=b.value,d=b.checked;return B({type:void 0,step:void 0,min:void 0,max:void 0},b,{defaultChecked:void 0,defaultValue:void 0,value:null!=c?c:a._wrapperState.initialValue,checked:null!=d?d:a._wrapperState.initialChecked})}function Mf(a,b){var c=b.defaultValue;a._wrapperState={initialChecked:null!=b.checked?b.checked:b.defaultChecked,initialValue:null!=b.value?b.value:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}
|
2257
|
+
function Nf(a,b){b=b.checked;null!=b&&If(a,"checked",b)}function Of(a,b){Nf(a,b);var c=b.value;if(null!=c)if(0===c&&""===a.value)a.value="0";else if("number"===b.type){if(b=parseFloat(a.value)||0,c!=b||c==b&&a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else null==b.value&&null!=b.defaultValue&&a.defaultValue!==""+b.defaultValue&&(a.defaultValue=""+b.defaultValue),null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}
|
2258
|
+
function Pf(a,b){switch(b.type){case "submit":case "reset":break;case "color":case "date":case "datetime":case "datetime-local":case "month":case "time":case "week":a.value="";a.value=a.defaultValue;break;default:a.value=a.value}b=a.name;""!==b&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!a.defaultChecked;""!==b&&(a.name=b)}function Qf(a){var b="";aa.Children.forEach(a,function(a){null==a||"string"!==typeof a&&"number"!==typeof a||(b+=a)});return b}
|
2259
|
+
function Rf(a,b){a=B({children:void 0},b);if(b=Qf(b.children))a.children=b;return a}function Sf(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+c;b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}
|
2260
|
+
function Tf(a,b){var c=b.value;a._wrapperState={initialValue:null!=c?c:b.defaultValue,wasMultiple:!!b.multiple}}function Uf(a,b){null!=b.dangerouslySetInnerHTML?E("91"):void 0;return B({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Vf(a,b){var c=b.value;null==c&&(c=b.defaultValue,b=b.children,null!=b&&(null!=c?E("92"):void 0,Array.isArray(b)&&(1>=b.length?void 0:E("93"),b=b[0]),c=""+b),null==c&&(c=""));a._wrapperState={initialValue:""+c}}
|
2261
|
+
function Wf(a,b){var c=b.value;null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&(a.defaultValue=c));null!=b.defaultValue&&(a.defaultValue=b.defaultValue)}function Xf(a){var b=a.textContent;b===a._wrapperState.initialValue&&(a.value=b)}var Yf={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
|
2262
|
+
function Zf(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $f(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Zf(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
|
2263
|
+
var ag=void 0,bg=function(a){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==Yf.svg||"innerHTML"in a)a.innerHTML=b;else{ag=ag||document.createElement("div");ag.innerHTML="\x3csvg\x3e"+b+"\x3c/svg\x3e";for(b=ag.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});
|
2264
|
+
function cg(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}
|
2265
|
+
var dg={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,
|
2266
|
+
stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eg=["Webkit","ms","Moz","O"];Object.keys(dg).forEach(function(a){eg.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);dg[b]=dg[a]})});
|
2267
|
+
function fg(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--");var e=c;var f=b[c];e=null==f||"boolean"===typeof f||""===f?"":d||"number"!==typeof f||0===f||dg.hasOwnProperty(e)&&dg[e]?(""+f).trim():f+"px";"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}var gg=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});
|
2268
|
+
function hg(a,b,c){b&&(gg[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?E("137",a,c()):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?E("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?void 0:E("61")),null!=b.style&&"object"!==typeof b.style?E("62",c()):void 0)}
|
2269
|
+
function ig(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}var jg=Yf.html,kg=C.thatReturns("");
|
2270
|
+
function lg(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Hd(a);b=Sa[b];for(var d=0;d<b.length;d++){var e=b[d];c.hasOwnProperty(e)&&c[e]||("topScroll"===e?wd("topScroll","scroll",a):"topFocus"===e||"topBlur"===e?(wd("topFocus","focus",a),wd("topBlur","blur",a),c.topBlur=!0,c.topFocus=!0):"topCancel"===e?(yc("cancel",!0)&&wd("topCancel","cancel",a),c.topCancel=!0):"topClose"===e?(yc("close",!0)&&wd("topClose","close",a),c.topClose=!0):Dd.hasOwnProperty(e)&&U(e,Dd[e],a),c[e]=!0)}}
|
2271
|
+
var mg={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",
|
2272
|
+
topWaiting:"waiting"};function ng(a,b,c,d){c=9===c.nodeType?c:c.ownerDocument;d===jg&&(d=Zf(a));d===jg?"script"===a?(a=c.createElement("div"),a.innerHTML="\x3cscript\x3e\x3c/script\x3e",a=a.removeChild(a.firstChild)):a="string"===typeof b.is?c.createElement(a,{is:b.is}):c.createElement(a):a=c.createElementNS(d,a);return a}function og(a,b){return(9===b.nodeType?b:b.ownerDocument).createTextNode(a)}
|
2273
|
+
function pg(a,b,c,d){var e=ig(b,c);switch(b){case "iframe":case "object":U("topLoad","load",a);var f=c;break;case "video":case "audio":for(f in mg)mg.hasOwnProperty(f)&&U(f,mg[f],a);f=c;break;case "source":U("topError","error",a);f=c;break;case "img":case "image":U("topError","error",a);U("topLoad","load",a);f=c;break;case "form":U("topReset","reset",a);U("topSubmit","submit",a);f=c;break;case "details":U("topToggle","toggle",a);f=c;break;case "input":Mf(a,c);f=Lf(a,c);U("topInvalid","invalid",a);
|
2274
|
+
lg(d,"onChange");break;case "option":f=Rf(a,c);break;case "select":Tf(a,c);f=B({},c,{value:void 0});U("topInvalid","invalid",a);lg(d,"onChange");break;case "textarea":Vf(a,c);f=Uf(a,c);U("topInvalid","invalid",a);lg(d,"onChange");break;default:f=c}hg(b,f,kg);var g=f,h;for(h in g)if(g.hasOwnProperty(h)){var k=g[h];"style"===h?fg(a,k,kg):"dangerouslySetInnerHTML"===h?(k=k?k.__html:void 0,null!=k&&bg(a,k)):"children"===h?"string"===typeof k?("textarea"!==b||""!==k)&&cg(a,k):"number"===typeof k&&cg(a,
|
2275
|
+
""+k):"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&"autoFocus"!==h&&(Ra.hasOwnProperty(h)?null!=k&&lg(d,h):e?Kf(a,h,k):null!=k&&If(a,h,k))}switch(b){case "input":Bc(a);Pf(a,c);break;case "textarea":Bc(a);Xf(a,c);break;case "option":null!=c.value&&a.setAttribute("value",c.value);break;case "select":a.multiple=!!c.multiple;b=c.value;null!=b?Sf(a,!!c.multiple,b,!1):null!=c.defaultValue&&Sf(a,!!c.multiple,c.defaultValue,!0);break;default:"function"===typeof f.onClick&&(a.onclick=
|
2276
|
+
C)}}
|
2277
|
+
function sg(a,b,c,d,e){var f=null;switch(b){case "input":c=Lf(a,c);d=Lf(a,d);f=[];break;case "option":c=Rf(a,c);d=Rf(a,d);f=[];break;case "select":c=B({},c,{value:void 0});d=B({},d,{value:void 0});f=[];break;case "textarea":c=Uf(a,c);d=Uf(a,d);f=[];break;default:"function"!==typeof c.onClick&&"function"===typeof d.onClick&&(a.onclick=C)}hg(b,d,kg);var g,h;a=null;for(g in c)if(!d.hasOwnProperty(g)&&c.hasOwnProperty(g)&&null!=c[g])if("style"===g)for(h in b=c[g],b)b.hasOwnProperty(h)&&(a||(a={}),a[h]=
|
2278
|
+
"");else"dangerouslySetInnerHTML"!==g&&"children"!==g&&"suppressContentEditableWarning"!==g&&"suppressHydrationWarning"!==g&&"autoFocus"!==g&&(Ra.hasOwnProperty(g)?f||(f=[]):(f=f||[]).push(g,null));for(g in d){var k=d[g];b=null!=c?c[g]:void 0;if(d.hasOwnProperty(g)&&k!==b&&(null!=k||null!=b))if("style"===g)if(b){for(h in b)!b.hasOwnProperty(h)||k&&k.hasOwnProperty(h)||(a||(a={}),a[h]="");for(h in k)k.hasOwnProperty(h)&&b[h]!==k[h]&&(a||(a={}),a[h]=k[h])}else a||(f||(f=[]),f.push(g,a)),a=k;else"dangerouslySetInnerHTML"===
|
2279
|
+
g?(k=k?k.__html:void 0,b=b?b.__html:void 0,null!=k&&b!==k&&(f=f||[]).push(g,""+k)):"children"===g?b===k||"string"!==typeof k&&"number"!==typeof k||(f=f||[]).push(g,""+k):"suppressContentEditableWarning"!==g&&"suppressHydrationWarning"!==g&&(Ra.hasOwnProperty(g)?(null!=k&&lg(e,g),f||b===k||(f=[])):(f=f||[]).push(g,k))}a&&(f=f||[]).push("style",a);return f}
|
2280
|
+
function tg(a,b,c,d,e){"input"===c&&"radio"===e.type&&null!=e.name&&Nf(a,e);ig(c,d);d=ig(c,e);for(var f=0;f<b.length;f+=2){var g=b[f],h=b[f+1];"style"===g?fg(a,h,kg):"dangerouslySetInnerHTML"===g?bg(a,h):"children"===g?cg(a,h):d?null!=h?Kf(a,g,h):a.removeAttribute(g):null!=h?If(a,g,h):Jf(a,g)}switch(c){case "input":Of(a,e);break;case "textarea":Wf(a,e);break;case "select":a._wrapperState.initialValue=void 0,b=a._wrapperState.wasMultiple,a._wrapperState.wasMultiple=!!e.multiple,c=e.value,null!=c?Sf(a,
|
2281
|
+
!!e.multiple,c,!1):b!==!!e.multiple&&(null!=e.defaultValue?Sf(a,!!e.multiple,e.defaultValue,!0):Sf(a,!!e.multiple,e.multiple?[]:"",!1))}}
|
2282
|
+
function ug(a,b,c,d,e){switch(b){case "iframe":case "object":U("topLoad","load",a);break;case "video":case "audio":for(var f in mg)mg.hasOwnProperty(f)&&U(f,mg[f],a);break;case "source":U("topError","error",a);break;case "img":case "image":U("topError","error",a);U("topLoad","load",a);break;case "form":U("topReset","reset",a);U("topSubmit","submit",a);break;case "details":U("topToggle","toggle",a);break;case "input":Mf(a,c);U("topInvalid","invalid",a);lg(e,"onChange");break;case "select":Tf(a,c);
|
2283
|
+
U("topInvalid","invalid",a);lg(e,"onChange");break;case "textarea":Vf(a,c),U("topInvalid","invalid",a),lg(e,"onChange")}hg(b,c,kg);d=null;for(var g in c)c.hasOwnProperty(g)&&(f=c[g],"children"===g?"string"===typeof f?a.textContent!==f&&(d=["children",f]):"number"===typeof f&&a.textContent!==""+f&&(d=["children",""+f]):Ra.hasOwnProperty(g)&&null!=f&&lg(e,g));switch(b){case "input":Bc(a);Pf(a,c);break;case "textarea":Bc(a);Xf(a,c);break;case "select":case "option":break;default:"function"===typeof c.onClick&&
|
2284
|
+
(a.onclick=C)}return d}function vg(a,b){return a.nodeValue!==b}
|
2285
|
+
var wg=Object.freeze({createElement:ng,createTextNode:og,setInitialProperties:pg,diffProperties:sg,updateProperties:tg,diffHydratedProperties:ug,diffHydratedText:vg,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(a,b,c){switch(b){case "input":Of(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=
|
2286
|
+
c.parentNode;c=c.querySelectorAll("input[name\x3d"+JSON.stringify(""+b)+'][type\x3d"radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=rb(d);e?void 0:E("90");Cc(d);Of(d,e)}}}break;case "textarea":Wf(a,c);break;case "select":b=c.value,null!=b&&Sf(a,!!c.multiple,b,!1)}}});nc.injectFiberControlledHostComponent(wg);var xg=null,Mg=null;function Ng(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}
|
2287
|
+
function Og(a){a=a?9===a.nodeType?a.documentElement:a.firstChild:null;return!(!a||1!==a.nodeType||!a.hasAttribute("data-reactroot"))}
|
2288
|
+
var Z=of({getRootHostContext:function(a){var b=a.nodeType;switch(b){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:$f(null,"");break;default:b=8===b?a.parentNode:a,a=b.namespaceURI||null,b=b.tagName,a=$f(a,b)}return a},getChildHostContext:function(a,b){return $f(a,b)},getPublicInstance:function(a){return a},prepareForCommit:function(){xg=td;var a=da();if(Kd(a)){if("selectionStart"in a)var b={start:a.selectionStart,end:a.selectionEnd};else a:{var c=window.getSelection&&window.getSelection();
|
2289
|
+
if(c&&0!==c.rangeCount){b=c.anchorNode;var d=c.anchorOffset,e=c.focusNode;c=c.focusOffset;try{b.nodeType,e.nodeType}catch(z){b=null;break a}var f=0,g=-1,h=-1,k=0,q=0,v=a,y=null;b:for(;;){for(var u;;){v!==b||0!==d&&3!==v.nodeType||(g=f+d);v!==e||0!==c&&3!==v.nodeType||(h=f+c);3===v.nodeType&&(f+=v.nodeValue.length);if(null===(u=v.firstChild))break;y=v;v=u}for(;;){if(v===a)break b;y===b&&++k===d&&(g=f);y===e&&++q===c&&(h=f);if(null!==(u=v.nextSibling))break;v=y;y=v.parentNode}v=u}b=-1===g||-1===h?null:
|
2290
|
+
{start:g,end:h}}else b=null}b=b||{start:0,end:0}}else b=null;Mg={focusedElem:a,selectionRange:b};ud(!1)},resetAfterCommit:function(){var a=Mg,b=da(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&fa(document.documentElement,c)){if(Kd(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(window.getSelection){b=window.getSelection();var e=c[Eb()].length;a=Math.min(d.start,e);d=void 0===d.end?a:Math.min(d.end,e);!b.extend&&a>
|
2291
|
+
d&&(e=d,d=a,a=e);e=Jd(c,a);var f=Jd(c,d);if(e&&f&&(1!==b.rangeCount||b.anchorNode!==e.node||b.anchorOffset!==e.offset||b.focusNode!==f.node||b.focusOffset!==f.offset)){var g=document.createRange();g.setStart(e.node,e.offset);b.removeAllRanges();a>d?(b.addRange(g),b.extend(f.node,f.offset)):(g.setEnd(f.node,f.offset),b.addRange(g))}}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});ia(c);for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=
|
2292
|
+
a.top}Mg=null;ud(xg);xg=null},createInstance:function(a,b,c,d,e){a=ng(a,b,c,d);a[Q]=e;a[ob]=b;return a},appendInitialChild:function(a,b){a.appendChild(b)},finalizeInitialChildren:function(a,b,c,d){pg(a,b,c,d);a:{switch(b){case "button":case "input":case "select":case "textarea":a=!!c.autoFocus;break a}a=!1}return a},prepareUpdate:function(a,b,c,d,e){return sg(a,b,c,d,e)},shouldSetTextContent:function(a,b){return"textarea"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===
|
2293
|
+
typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&"string"===typeof b.dangerouslySetInnerHTML.__html},shouldDeprioritizeSubtree:function(a,b){return!!b.hidden},createTextInstance:function(a,b,c,d){a=og(a,b);a[Q]=d;return a},now:rf,mutation:{commitMount:function(a){a.focus()},commitUpdate:function(a,b,c,d,e){a[ob]=e;tg(a,b,c,d,e)},resetTextContent:function(a){a.textContent=""},commitTextUpdate:function(a,b,c){a.nodeValue=c},appendChild:function(a,b){a.appendChild(b)},appendChildToContainer:function(a,
|
2275
2294
|
b){8===a.nodeType?a.parentNode.insertBefore(b,a):a.appendChild(b)},insertBefore:function(a,b,c){a.insertBefore(b,c)},insertInContainerBefore:function(a,b,c){8===a.nodeType?a.parentNode.insertBefore(b,c):a.insertBefore(b,c)},removeChild:function(a,b){a.removeChild(b)},removeChildFromContainer:function(a,b){8===a.nodeType?a.parentNode.removeChild(b):a.removeChild(b)}},hydration:{canHydrateInstance:function(a,b){return 1!==a.nodeType||b.toLowerCase()!==a.nodeName.toLowerCase()?null:a},canHydrateTextInstance:function(a,
|
2276
|
-
b){return""===b||3!==a.nodeType?null:a},getNextHydratableSibling:function(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a},getFirstHydratableChild:function(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a},hydrateInstance:function(a,b,c,d,e,f){a[
|
2277
|
-
didNotHydrateContainerInstance:function(){},didNotHydrateInstance:function(){},didNotFindHydratableContainerInstance:function(){},didNotFindHydratableContainerTextInstance:function(){},didNotFindHydratableInstance:function(){},didNotFindHydratableTextInstance:function(){}},scheduleDeferredCallback:
|
2278
|
-
function
|
2279
|
-
function
|
2280
|
-
var
|
2281
|
-
|
2282
|
-
Z.injectIntoDevTools({findFiberByHostInstance:
|
2295
|
+
b){return""===b||3!==a.nodeType?null:a},getNextHydratableSibling:function(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a},getFirstHydratableChild:function(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a},hydrateInstance:function(a,b,c,d,e,f){a[Q]=f;a[ob]=c;return ug(a,b,c,e,d)},hydrateTextInstance:function(a,b,c){a[Q]=c;return vg(a,b)},didNotMatchHydratedContainerTextInstance:function(){},didNotMatchHydratedTextInstance:function(){},
|
2296
|
+
didNotHydrateContainerInstance:function(){},didNotHydrateInstance:function(){},didNotFindHydratableContainerInstance:function(){},didNotFindHydratableContainerTextInstance:function(){},didNotFindHydratableInstance:function(){},didNotFindHydratableTextInstance:function(){}},scheduleDeferredCallback:sf,cancelDeferredCallback:tf,useSyncScheduling:!0});rc=Z.batchedUpdates;
|
2297
|
+
function Pg(a,b,c,d,e){Ng(c)?void 0:E("200");var f=c._reactRootContainer;if(f)Z.updateContainer(b,f,a,e);else{d=d||Og(c);if(!d)for(f=void 0;f=c.lastChild;)c.removeChild(f);var g=Z.createContainer(c,d);f=c._reactRootContainer=g;Z.unbatchedUpdates(function(){Z.updateContainer(b,g,a,e)})}return Z.getPublicRootInstance(f)}function Qg(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;Ng(b)?void 0:E("200");return pf(a,b,null,c)}
|
2298
|
+
function Rg(a,b){this._reactRootContainer=Z.createContainer(a,b)}Rg.prototype.render=function(a,b){Z.updateContainer(a,this._reactRootContainer,null,b)};Rg.prototype.unmount=function(a){Z.updateContainer(null,this._reactRootContainer,null,a)};
|
2299
|
+
var Sg={createPortal:Qg,findDOMNode:function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(b)return Z.findHostInstance(b);"function"===typeof a.render?E("188"):E("213",Object.keys(a))},hydrate:function(a,b,c){return Pg(null,a,b,!0,c)},render:function(a,b,c){return Pg(null,a,b,!1,c)},unstable_renderSubtreeIntoContainer:function(a,b,c,d){null==a||void 0===a._reactInternalFiber?E("38"):void 0;return Pg(a,b,c,!1,d)},unmountComponentAtNode:function(a){Ng(a)?void 0:
|
2300
|
+
E("40");return a._reactRootContainer?(Z.unbatchedUpdates(function(){Pg(null,null,a,!1,function(){a._reactRootContainer=null})}),!0):!1},unstable_createPortal:Qg,unstable_batchedUpdates:tc,unstable_deferredUpdates:Z.deferredUpdates,flushSync:Z.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:mb,EventPluginRegistry:Va,EventPropagators:Cb,ReactControlledComponent:qc,ReactDOMComponentTree:sb,ReactDOMEventListener:xd}};
|
2301
|
+
Z.injectIntoDevTools({findFiberByHostInstance:pb,bundleType:0,version:"16.2.0",rendererPackageName:"react-dom"});var Tg=Object.freeze({default:Sg}),Ug=Tg&&Sg||Tg;module.exports=Ug["default"]?Ug["default"]:Ug;
|
2283
2302
|
|
2284
2303
|
|
2285
2304
|
/***/ }),
|
@@ -2640,7 +2659,7 @@
|
|
2640
2659
|
/* 22 */
|
2641
2660
|
/***/ (function(module, exports, __webpack_require__) {
|
2642
2661
|
|
2643
|
-
/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.
|
2662
|
+
/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.2.0
|
2644
2663
|
* react-dom.development.js
|
2645
2664
|
*
|
2646
2665
|
* Copyright (c) 2013-present, Facebook, Inc.
|
@@ -2651,6 +2670,8 @@
|
|
2651
2670
|
|
2652
2671
|
'use strict';
|
2653
2672
|
|
2673
|
+
|
2674
|
+
|
2654
2675
|
if (process.env.NODE_ENV !== "production") {
|
2655
2676
|
(function() {
|
2656
2677
|
'use strict';
|
@@ -2660,7 +2681,7 @@
|
|
2660
2681
|
var warning = __webpack_require__(9);
|
2661
2682
|
var ExecutionEnvironment = __webpack_require__(14);
|
2662
2683
|
var _assign = __webpack_require__(4);
|
2663
|
-
var emptyFunction
|
2684
|
+
var emptyFunction = __webpack_require__(6);
|
2664
2685
|
var EventListener = __webpack_require__(15);
|
2665
2686
|
var getActiveElement = __webpack_require__(16);
|
2666
2687
|
var shallowEqual = __webpack_require__(17);
|
@@ -3741,6 +3762,11 @@
|
|
3741
3762
|
// events get enqueued while processing.
|
3742
3763
|
var processingEventQueue = eventQueue;
|
3743
3764
|
eventQueue = null;
|
3765
|
+
|
3766
|
+
if (!processingEventQueue) {
|
3767
|
+
return;
|
3768
|
+
}
|
3769
|
+
|
3744
3770
|
if (simulated) {
|
3745
3771
|
forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);
|
3746
3772
|
} else {
|
@@ -4202,7 +4228,7 @@
|
|
4202
4228
|
type: null,
|
4203
4229
|
target: null,
|
4204
4230
|
// currentTarget is set when dispatching; no use in copying it here
|
4205
|
-
currentTarget: emptyFunction
|
4231
|
+
currentTarget: emptyFunction.thatReturnsNull,
|
4206
4232
|
eventPhase: null,
|
4207
4233
|
bubbles: null,
|
4208
4234
|
cancelable: null,
|
@@ -4265,11 +4291,11 @@
|
|
4265
4291
|
|
4266
4292
|
var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
|
4267
4293
|
if (defaultPrevented) {
|
4268
|
-
this.isDefaultPrevented = emptyFunction
|
4294
|
+
this.isDefaultPrevented = emptyFunction.thatReturnsTrue;
|
4269
4295
|
} else {
|
4270
|
-
this.isDefaultPrevented = emptyFunction
|
4296
|
+
this.isDefaultPrevented = emptyFunction.thatReturnsFalse;
|
4271
4297
|
}
|
4272
|
-
this.isPropagationStopped = emptyFunction
|
4298
|
+
this.isPropagationStopped = emptyFunction.thatReturnsFalse;
|
4273
4299
|
return this;
|
4274
4300
|
}
|
4275
4301
|
|
@@ -4286,7 +4312,7 @@
|
|
4286
4312
|
} else if (typeof event.returnValue !== 'unknown') {
|
4287
4313
|
event.returnValue = false;
|
4288
4314
|
}
|
4289
|
-
this.isDefaultPrevented = emptyFunction
|
4315
|
+
this.isDefaultPrevented = emptyFunction.thatReturnsTrue;
|
4290
4316
|
},
|
4291
4317
|
|
4292
4318
|
stopPropagation: function () {
|
@@ -4306,7 +4332,7 @@
|
|
4306
4332
|
event.cancelBubble = true;
|
4307
4333
|
}
|
4308
4334
|
|
4309
|
-
this.isPropagationStopped = emptyFunction
|
4335
|
+
this.isPropagationStopped = emptyFunction.thatReturnsTrue;
|
4310
4336
|
},
|
4311
4337
|
|
4312
4338
|
/**
|
@@ -4315,7 +4341,7 @@
|
|
4315
4341
|
* won't be added back into the pool.
|
4316
4342
|
*/
|
4317
4343
|
persist: function () {
|
4318
|
-
this.isPersistent = emptyFunction
|
4344
|
+
this.isPersistent = emptyFunction.thatReturnsTrue;
|
4319
4345
|
},
|
4320
4346
|
|
4321
4347
|
/**
|
@@ -4323,7 +4349,7 @@
|
|
4323
4349
|
*
|
4324
4350
|
* @return {boolean} True if this should not be released, false otherwise.
|
4325
4351
|
*/
|
4326
|
-
isPersistent: emptyFunction
|
4352
|
+
isPersistent: emptyFunction.thatReturnsFalse,
|
4327
4353
|
|
4328
4354
|
/**
|
4329
4355
|
* `PooledClass` looks for `destructor` on each instance it releases.
|
@@ -4340,8 +4366,8 @@
|
|
4340
4366
|
}
|
4341
4367
|
{
|
4342
4368
|
Object.defineProperty(this, 'nativeEvent', getPooledWarningPropertyDefinition('nativeEvent', null));
|
4343
|
-
Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', emptyFunction
|
4344
|
-
Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', emptyFunction
|
4369
|
+
Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', emptyFunction));
|
4370
|
+
Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', emptyFunction));
|
4345
4371
|
}
|
4346
4372
|
}
|
4347
4373
|
});
|
@@ -6356,17 +6382,7 @@
|
|
6356
6382
|
for (var i = 0; i < dependencies.length; i++) {
|
6357
6383
|
var dependency = dependencies[i];
|
6358
6384
|
if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {
|
6359
|
-
if (dependency === '
|
6360
|
-
if (isEventSupported('wheel')) {
|
6361
|
-
trapBubbledEvent('topWheel', 'wheel', mountAt);
|
6362
|
-
} else if (isEventSupported('mousewheel')) {
|
6363
|
-
trapBubbledEvent('topWheel', 'mousewheel', mountAt);
|
6364
|
-
} else {
|
6365
|
-
// Firefox needs to capture a different mouse scroll event.
|
6366
|
-
// @see http://www.quirksmode.org/dom/events/tests/scroll.html
|
6367
|
-
trapBubbledEvent('topWheel', 'DOMMouseScroll', mountAt);
|
6368
|
-
}
|
6369
|
-
} else if (dependency === 'topScroll') {
|
6385
|
+
if (dependency === 'topScroll') {
|
6370
6386
|
trapCapturedEvent('topScroll', 'scroll', mountAt);
|
6371
6387
|
} else if (dependency === 'topFocus' || dependency === 'topBlur') {
|
6372
6388
|
trapCapturedEvent('topFocus', 'focus', mountAt);
|
@@ -6476,10 +6492,10 @@
|
|
6476
6492
|
return null;
|
6477
6493
|
}
|
6478
6494
|
|
6479
|
-
var anchorNode = selection.anchorNode
|
6480
|
-
|
6481
|
-
|
6482
|
-
|
6495
|
+
var anchorNode = selection.anchorNode,
|
6496
|
+
anchorOffset = selection.anchorOffset,
|
6497
|
+
focusNode$$1 = selection.focusNode,
|
6498
|
+
focusOffset = selection.focusOffset;
|
6483
6499
|
|
6484
6500
|
// In Firefox, anchorNode and focusNode can be "anonymous divs", e.g. the
|
6485
6501
|
// up/down buttons on an <input type="number">. Anonymous divs do not seem to
|
@@ -6488,6 +6504,7 @@
|
|
6488
6504
|
// is to access a property that typically works for non-anonymous divs and
|
6489
6505
|
// catch any error that may otherwise arise. See
|
6490
6506
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=208427
|
6507
|
+
|
6491
6508
|
try {
|
6492
6509
|
/* eslint-disable no-unused-expressions */
|
6493
6510
|
anchorNode.nodeType;
|
@@ -7406,8 +7423,6 @@
|
|
7406
7423
|
|
7407
7424
|
var enableAsyncSubtreeAPI = true;
|
7408
7425
|
var enableAsyncSchedulingByDefaultInReactDOM = false;
|
7409
|
-
// Exports React.Fragment
|
7410
|
-
var enableReactFragment = false;
|
7411
7426
|
// Exports ReactDOM.createRoot
|
7412
7427
|
var enableCreateRoot = false;
|
7413
7428
|
var enableUserTimingAPI = true;
|
@@ -7419,6 +7434,9 @@
|
|
7419
7434
|
// Experimental persistent mode (CS):
|
7420
7435
|
var enablePersistentReconciler = false;
|
7421
7436
|
|
7437
|
+
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
7438
|
+
var debugRenderPhaseSideEffects = false;
|
7439
|
+
|
7422
7440
|
// Only used in www builds.
|
7423
7441
|
|
7424
7442
|
var valueStack = [];
|
@@ -8199,6 +8217,10 @@
|
|
8199
8217
|
return (ms / UNIT_SIZE | 0) + MAGIC_NUMBER_OFFSET;
|
8200
8218
|
}
|
8201
8219
|
|
8220
|
+
function expirationTimeToMs(expirationTime) {
|
8221
|
+
return (expirationTime - MAGIC_NUMBER_OFFSET) * UNIT_SIZE;
|
8222
|
+
}
|
8223
|
+
|
8202
8224
|
function ceiling(num, precision) {
|
8203
8225
|
return ((num / precision | 0) + 1) * precision;
|
8204
8226
|
}
|
@@ -8215,8 +8237,7 @@
|
|
8215
8237
|
try {
|
8216
8238
|
var nonExtensibleObject = Object.preventExtensions({});
|
8217
8239
|
/* eslint-disable no-new */
|
8218
|
-
|
8219
|
-
new Set([nonExtensibleObject]);
|
8240
|
+
|
8220
8241
|
/* eslint-enable no-new */
|
8221
8242
|
} catch (e) {
|
8222
8243
|
// TODO: Consider warning about bad polyfills
|
@@ -8653,6 +8674,12 @@
|
|
8653
8674
|
var partialState = update.partialState;
|
8654
8675
|
if (typeof partialState === 'function') {
|
8655
8676
|
var updateFn = partialState;
|
8677
|
+
|
8678
|
+
// Invoke setState callback an extra time to help detect side-effects.
|
8679
|
+
if (debugRenderPhaseSideEffects) {
|
8680
|
+
updateFn.call(instance, prevState, props);
|
8681
|
+
}
|
8682
|
+
|
8656
8683
|
return updateFn.call(instance, prevState, props);
|
8657
8684
|
} else {
|
8658
8685
|
return partialState;
|
@@ -8898,6 +8925,11 @@
|
|
8898
8925
|
var shouldUpdate = instance.shouldComponentUpdate(newProps, newState, newContext);
|
8899
8926
|
stopPhaseTimer();
|
8900
8927
|
|
8928
|
+
// Simulate an async bailout/interruption by invoking lifecycle twice.
|
8929
|
+
if (debugRenderPhaseSideEffects) {
|
8930
|
+
instance.shouldComponentUpdate(newProps, newState, newContext);
|
8931
|
+
}
|
8932
|
+
|
8901
8933
|
{
|
8902
8934
|
warning(shouldUpdate !== undefined, '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', getComponentName(workInProgress) || 'Unknown');
|
8903
8935
|
}
|
@@ -8954,10 +8986,10 @@
|
|
8954
8986
|
|
8955
8987
|
var state = instance.state;
|
8956
8988
|
if (state && (typeof state !== 'object' || isArray(state))) {
|
8957
|
-
|
8989
|
+
warning(false, '%s.state: must be set to an object or null', getComponentName(workInProgress));
|
8958
8990
|
}
|
8959
8991
|
if (typeof instance.getChildContext === 'function') {
|
8960
|
-
|
8992
|
+
warning(typeof workInProgress.type.childContextTypes === 'object', '%s.getChildContext(): childContextTypes must be defined in order to ' + 'use getChildContext().', getComponentName(workInProgress));
|
8961
8993
|
}
|
8962
8994
|
}
|
8963
8995
|
|
@@ -8997,9 +9029,13 @@
|
|
8997
9029
|
startPhaseTimer(workInProgress, 'componentWillMount');
|
8998
9030
|
var oldState = instance.state;
|
8999
9031
|
instance.componentWillMount();
|
9000
|
-
|
9001
9032
|
stopPhaseTimer();
|
9002
9033
|
|
9034
|
+
// Simulate an async bailout/interruption by invoking lifecycle twice.
|
9035
|
+
if (debugRenderPhaseSideEffects) {
|
9036
|
+
instance.componentWillMount();
|
9037
|
+
}
|
9038
|
+
|
9003
9039
|
if (oldState !== instance.state) {
|
9004
9040
|
{
|
9005
9041
|
warning(false, '%s.componentWillMount(): Assigning directly to this.state is ' + "deprecated (except inside a component's " + 'constructor). Use setState instead.', getComponentName(workInProgress));
|
@@ -9014,6 +9050,11 @@
|
|
9014
9050
|
instance.componentWillReceiveProps(newProps, newContext);
|
9015
9051
|
stopPhaseTimer();
|
9016
9052
|
|
9053
|
+
// Simulate an async bailout/interruption by invoking lifecycle twice.
|
9054
|
+
if (debugRenderPhaseSideEffects) {
|
9055
|
+
instance.componentWillReceiveProps(newProps, newContext);
|
9056
|
+
}
|
9057
|
+
|
9017
9058
|
if (instance.state !== oldState) {
|
9018
9059
|
{
|
9019
9060
|
var componentName = getComponentName(workInProgress) || 'Component';
|
@@ -9223,6 +9264,11 @@
|
|
9223
9264
|
startPhaseTimer(workInProgress, 'componentWillUpdate');
|
9224
9265
|
instance.componentWillUpdate(newProps, newState, newContext);
|
9225
9266
|
stopPhaseTimer();
|
9267
|
+
|
9268
|
+
// Simulate an async bailout/interruption by invoking lifecycle twice.
|
9269
|
+
if (debugRenderPhaseSideEffects) {
|
9270
|
+
instance.componentWillUpdate(newProps, newState, newContext);
|
9271
|
+
}
|
9226
9272
|
}
|
9227
9273
|
if (typeof instance.componentDidUpdate === 'function') {
|
9228
9274
|
workInProgress.effectTag |= Update;
|
@@ -9260,23 +9306,28 @@
|
|
9260
9306
|
};
|
9261
9307
|
};
|
9262
9308
|
|
9263
|
-
// The Symbol used to tag the
|
9309
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
9264
9310
|
// nor polyfill, then a plain number is used for performance.
|
9265
|
-
var
|
9311
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol['for'];
|
9266
9312
|
|
9267
|
-
|
9268
|
-
|
9269
|
-
|
9270
|
-
|
9313
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol['for']('react.element') : 0xeac7;
|
9314
|
+
var REACT_CALL_TYPE = hasSymbol ? Symbol['for']('react.call') : 0xeac8;
|
9315
|
+
var REACT_RETURN_TYPE = hasSymbol ? Symbol['for']('react.return') : 0xeac9;
|
9316
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol['for']('react.portal') : 0xeaca;
|
9317
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol['for']('react.fragment') : 0xeacb;
|
9271
9318
|
|
9272
|
-
|
9273
|
-
|
9274
|
-
|
9275
|
-
|
9276
|
-
|
9277
|
-
|
9278
|
-
|
9279
|
-
|
9319
|
+
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
9320
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
9321
|
+
|
9322
|
+
function getIteratorFn(maybeIterable) {
|
9323
|
+
if (maybeIterable === null || typeof maybeIterable === 'undefined') {
|
9324
|
+
return null;
|
9325
|
+
}
|
9326
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
9327
|
+
if (typeof maybeIterator === 'function') {
|
9328
|
+
return maybeIterator;
|
9329
|
+
}
|
9330
|
+
return null;
|
9280
9331
|
}
|
9281
9332
|
|
9282
9333
|
var getCurrentFiberStackAddendum$1 = ReactDebugCurrentFiber.getCurrentFiberStackAddendum;
|
@@ -9314,38 +9365,6 @@
|
|
9314
9365
|
|
9315
9366
|
var isArray$1 = Array.isArray;
|
9316
9367
|
|
9317
|
-
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
9318
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
|
9319
|
-
|
9320
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
9321
|
-
// nor polyfill, then a plain number is used for performance.
|
9322
|
-
var REACT_ELEMENT_TYPE;
|
9323
|
-
var REACT_CALL_TYPE;
|
9324
|
-
var REACT_RETURN_TYPE;
|
9325
|
-
var REACT_FRAGMENT_TYPE;
|
9326
|
-
if (typeof Symbol === 'function' && Symbol['for']) {
|
9327
|
-
REACT_ELEMENT_TYPE = Symbol['for']('react.element');
|
9328
|
-
REACT_CALL_TYPE = Symbol['for']('react.call');
|
9329
|
-
REACT_RETURN_TYPE = Symbol['for']('react.return');
|
9330
|
-
REACT_FRAGMENT_TYPE = Symbol['for']('react.fragment');
|
9331
|
-
} else {
|
9332
|
-
REACT_ELEMENT_TYPE = 0xeac7;
|
9333
|
-
REACT_CALL_TYPE = 0xeac8;
|
9334
|
-
REACT_RETURN_TYPE = 0xeac9;
|
9335
|
-
REACT_FRAGMENT_TYPE = 0xeacb;
|
9336
|
-
}
|
9337
|
-
|
9338
|
-
function getIteratorFn(maybeIterable) {
|
9339
|
-
if (maybeIterable === null || typeof maybeIterable === 'undefined') {
|
9340
|
-
return null;
|
9341
|
-
}
|
9342
|
-
var iteratorFn = ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
9343
|
-
if (typeof iteratorFn === 'function') {
|
9344
|
-
return iteratorFn;
|
9345
|
-
}
|
9346
|
-
return null;
|
9347
|
-
}
|
9348
|
-
|
9349
9368
|
function coerceRef(current, element) {
|
9350
9369
|
var mixedRef = element.ref;
|
9351
9370
|
if (mixedRef !== null && typeof mixedRef !== 'function') {
|
@@ -9406,21 +9425,12 @@
|
|
9406
9425
|
// to be able to optimize each path individually by branching early. This needs
|
9407
9426
|
// a compiler or we can do it manually. Helpers that don't need this branching
|
9408
9427
|
// live outside of this function.
|
9409
|
-
function ChildReconciler(
|
9428
|
+
function ChildReconciler(shouldTrackSideEffects) {
|
9410
9429
|
function deleteChild(returnFiber, childToDelete) {
|
9411
9430
|
if (!shouldTrackSideEffects) {
|
9412
9431
|
// Noop.
|
9413
9432
|
return;
|
9414
9433
|
}
|
9415
|
-
if (!shouldClone) {
|
9416
|
-
// When we're reconciling in place we have a work in progress copy. We
|
9417
|
-
// actually want the current copy. If there is no current copy, then we
|
9418
|
-
// don't need to track deletion side-effects.
|
9419
|
-
if (childToDelete.alternate === null) {
|
9420
|
-
return;
|
9421
|
-
}
|
9422
|
-
childToDelete = childToDelete.alternate;
|
9423
|
-
}
|
9424
9434
|
// Deletions are added in reversed order so we add it to the front.
|
9425
9435
|
// At this point, the return fiber's effect list is empty except for
|
9426
9436
|
// deletions, so we can just append the deletion to the list. The remaining
|
@@ -9473,22 +9483,10 @@
|
|
9473
9483
|
function useFiber(fiber, pendingProps, expirationTime) {
|
9474
9484
|
// We currently set sibling to null and index to 0 here because it is easy
|
9475
9485
|
// to forget to do before returning it. E.g. for the single child case.
|
9476
|
-
|
9477
|
-
|
9478
|
-
|
9479
|
-
|
9480
|
-
return clone;
|
9481
|
-
} else {
|
9482
|
-
// We override the expiration time even if it is earlier, because if
|
9483
|
-
// we're reconciling at a later time that means that this was
|
9484
|
-
// down-prioritized.
|
9485
|
-
fiber.expirationTime = expirationTime;
|
9486
|
-
fiber.effectTag = NoEffect;
|
9487
|
-
fiber.index = 0;
|
9488
|
-
fiber.sibling = null;
|
9489
|
-
fiber.pendingProps = pendingProps;
|
9490
|
-
return fiber;
|
9491
|
-
}
|
9486
|
+
var clone = createWorkInProgress(fiber, pendingProps, expirationTime);
|
9487
|
+
clone.index = 0;
|
9488
|
+
clone.sibling = null;
|
9489
|
+
return clone;
|
9492
9490
|
}
|
9493
9491
|
|
9494
9492
|
function placeChild(newFiber, lastPlacedIndex, newIndex) {
|
@@ -10285,7 +10283,7 @@
|
|
10285
10283
|
// Handle top level unkeyed fragments as if they were arrays.
|
10286
10284
|
// This leads to an ambiguity between <>{[...]}</> and <>...</>.
|
10287
10285
|
// We treat the ambiguous cases above the same.
|
10288
|
-
if (
|
10286
|
+
if (typeof newChild === 'object' && newChild !== null && newChild.type === REACT_FRAGMENT_TYPE && newChild.key === null) {
|
10289
10287
|
newChild = newChild.props.children;
|
10290
10288
|
}
|
10291
10289
|
|
@@ -10360,11 +10358,8 @@
|
|
10360
10358
|
return reconcileChildFibers;
|
10361
10359
|
}
|
10362
10360
|
|
10363
|
-
var reconcileChildFibers = ChildReconciler(true
|
10364
|
-
|
10365
|
-
var reconcileChildFibersInPlace = ChildReconciler(false, true);
|
10366
|
-
|
10367
|
-
var mountChildFibersInPlace = ChildReconciler(false, false);
|
10361
|
+
var reconcileChildFibers = ChildReconciler(true);
|
10362
|
+
var mountChildFibers = ChildReconciler(false);
|
10368
10363
|
|
10369
10364
|
function cloneChildFibers(current, workInProgress) {
|
10370
10365
|
!(current === null || workInProgress.child === current.child) ? invariant(false, 'Resuming work not yet implemented.') : void 0;
|
@@ -10419,20 +10414,15 @@
|
|
10419
10414
|
// won't update its child set by applying minimal side-effects. Instead,
|
10420
10415
|
// we will add them all to the child before it gets rendered. That means
|
10421
10416
|
// we can optimize this reconciliation pass by not tracking side-effects.
|
10422
|
-
workInProgress.child =
|
10423
|
-
} else
|
10417
|
+
workInProgress.child = mountChildFibers(workInProgress, null, nextChildren, renderExpirationTime);
|
10418
|
+
} else {
|
10424
10419
|
// If the current child is the same as the work in progress, it means that
|
10425
10420
|
// we haven't yet started any work on these children. Therefore, we use
|
10426
10421
|
// the clone algorithm to create a copy of all the current children.
|
10427
10422
|
|
10428
10423
|
// If we had any progressed work already, that is invalid at this point so
|
10429
10424
|
// let's throw it out.
|
10430
|
-
workInProgress.child = reconcileChildFibers(workInProgress,
|
10431
|
-
} else {
|
10432
|
-
// If, on the other hand, it is already using a clone, that means we've
|
10433
|
-
// already begun some work on this tree and we can continue where we left
|
10434
|
-
// off by reconciling against the existing children.
|
10435
|
-
workInProgress.child = reconcileChildFibersInPlace(workInProgress, workInProgress.child, nextChildren, renderExpirationTime);
|
10425
|
+
workInProgress.child = reconcileChildFibers(workInProgress, current.child, nextChildren, renderExpirationTime);
|
10436
10426
|
}
|
10437
10427
|
}
|
10438
10428
|
|
@@ -10542,6 +10532,9 @@
|
|
10542
10532
|
{
|
10543
10533
|
ReactDebugCurrentFiber.setCurrentPhase('render');
|
10544
10534
|
nextChildren = instance.render();
|
10535
|
+
if (debugRenderPhaseSideEffects) {
|
10536
|
+
instance.render();
|
10537
|
+
}
|
10545
10538
|
ReactDebugCurrentFiber.setCurrentPhase(null);
|
10546
10539
|
}
|
10547
10540
|
// React DevTools reads this flag.
|
@@ -10600,7 +10593,7 @@
|
|
10600
10593
|
// Ensure that children mount into this root without tracking
|
10601
10594
|
// side-effects. This ensures that we don't store Placement effects on
|
10602
10595
|
// nodes that will be hydrated.
|
10603
|
-
workInProgress.child =
|
10596
|
+
workInProgress.child = mountChildFibers(workInProgress, null, element, renderExpirationTime);
|
10604
10597
|
} else {
|
10605
10598
|
// Otherwise reset hydration state in case we aborted and resumed another
|
10606
10599
|
// root.
|
@@ -10767,11 +10760,9 @@
|
|
10767
10760
|
// The following is a fork of reconcileChildrenAtExpirationTime but using
|
10768
10761
|
// stateNode to store the child.
|
10769
10762
|
if (current === null) {
|
10770
|
-
workInProgress.stateNode =
|
10771
|
-
} else if (current.child === workInProgress.child) {
|
10772
|
-
workInProgress.stateNode = reconcileChildFibers(workInProgress, workInProgress.stateNode, nextChildren, renderExpirationTime);
|
10763
|
+
workInProgress.stateNode = mountChildFibers(workInProgress, workInProgress.stateNode, nextChildren, renderExpirationTime);
|
10773
10764
|
} else {
|
10774
|
-
workInProgress.stateNode =
|
10765
|
+
workInProgress.stateNode = reconcileChildFibers(workInProgress, workInProgress.stateNode, nextChildren, renderExpirationTime);
|
10775
10766
|
}
|
10776
10767
|
|
10777
10768
|
memoizeProps(workInProgress, nextCall);
|
@@ -10800,7 +10791,7 @@
|
|
10800
10791
|
// flow doesn't do during mount. This doesn't happen at the root because
|
10801
10792
|
// the root always starts with a "current" with a null child.
|
10802
10793
|
// TODO: Consider unifying this with how the root works.
|
10803
|
-
workInProgress.child =
|
10794
|
+
workInProgress.child = reconcileChildFibers(workInProgress, null, nextChildren, renderExpirationTime);
|
10804
10795
|
memoizeProps(workInProgress, nextChildren);
|
10805
10796
|
} else {
|
10806
10797
|
reconcileChildren(current, workInProgress, nextChildren);
|
@@ -12381,6 +12372,12 @@
|
|
12381
12372
|
return;
|
12382
12373
|
}
|
12383
12374
|
|
12375
|
+
var error = capturedError.error;
|
12376
|
+
var suppressLogging = error && error.suppressReactErrorLogging;
|
12377
|
+
if (suppressLogging) {
|
12378
|
+
return;
|
12379
|
+
}
|
12380
|
+
|
12384
12381
|
{
|
12385
12382
|
var componentName = capturedError.componentName,
|
12386
12383
|
componentStack = capturedError.componentStack,
|
@@ -12476,6 +12473,7 @@
|
|
12476
12473
|
|
12477
12474
|
var now = config.now,
|
12478
12475
|
scheduleDeferredCallback = config.scheduleDeferredCallback,
|
12476
|
+
cancelDeferredCallback = config.cancelDeferredCallback,
|
12479
12477
|
useSyncScheduling = config.useSyncScheduling,
|
12480
12478
|
prepareForCommit = config.prepareForCommit,
|
12481
12479
|
resetAfterCommit = config.resetAfterCommit;
|
@@ -12883,6 +12881,7 @@
|
|
12883
12881
|
{
|
12884
12882
|
ReactDebugCurrentFiber.setCurrentFiber(workInProgress);
|
12885
12883
|
}
|
12884
|
+
|
12886
12885
|
var next = beginWork(current, workInProgress, nextRenderExpirationTime);
|
12887
12886
|
{
|
12888
12887
|
ReactDebugCurrentFiber.resetCurrentFiber();
|
@@ -13203,7 +13202,10 @@
|
|
13203
13202
|
} catch (e) {
|
13204
13203
|
// Prevent cycle if logCapturedError() throws.
|
13205
13204
|
// A cycle may still occur if logCapturedError renders a component that throws.
|
13206
|
-
|
13205
|
+
var suppressLogging = e && e.suppressReactErrorLogging;
|
13206
|
+
if (!suppressLogging) {
|
13207
|
+
console.error(e);
|
13208
|
+
}
|
13207
13209
|
}
|
13208
13210
|
|
13209
13211
|
// If we're in the commit phase, defer scheduling an update on the
|
@@ -13348,6 +13350,19 @@
|
|
13348
13350
|
return scheduleWorkImpl(fiber, expirationTime, false);
|
13349
13351
|
}
|
13350
13352
|
|
13353
|
+
function checkRootNeedsClearing(root, fiber, expirationTime) {
|
13354
|
+
if (!isWorking && root === nextRoot && expirationTime < nextRenderExpirationTime) {
|
13355
|
+
// Restart the root from the top.
|
13356
|
+
if (nextUnitOfWork !== null) {
|
13357
|
+
// This is an interruption. (Used for performance tracking.)
|
13358
|
+
interruptedBy = fiber;
|
13359
|
+
}
|
13360
|
+
nextRoot = null;
|
13361
|
+
nextUnitOfWork = null;
|
13362
|
+
nextRenderExpirationTime = NoWork;
|
13363
|
+
}
|
13364
|
+
}
|
13365
|
+
|
13351
13366
|
function scheduleWorkImpl(fiber, expirationTime, isErrorRecovery) {
|
13352
13367
|
recordScheduleUpdate();
|
13353
13368
|
|
@@ -13373,17 +13388,10 @@
|
|
13373
13388
|
if (node['return'] === null) {
|
13374
13389
|
if (node.tag === HostRoot) {
|
13375
13390
|
var root = node.stateNode;
|
13376
|
-
|
13377
|
-
|
13378
|
-
if (nextUnitOfWork !== null) {
|
13379
|
-
// This is an interruption. (Used for performance tracking.)
|
13380
|
-
interruptedBy = fiber;
|
13381
|
-
}
|
13382
|
-
nextRoot = null;
|
13383
|
-
nextUnitOfWork = null;
|
13384
|
-
nextRenderExpirationTime = NoWork;
|
13385
|
-
}
|
13391
|
+
|
13392
|
+
checkRootNeedsClearing(root, fiber, expirationTime);
|
13386
13393
|
requestWork(root, expirationTime);
|
13394
|
+
checkRootNeedsClearing(root, fiber, expirationTime);
|
13387
13395
|
} else {
|
13388
13396
|
{
|
13389
13397
|
if (!isErrorRecovery && fiber.tag === ClassComponent) {
|
@@ -13435,7 +13443,8 @@
|
|
13435
13443
|
var firstScheduledRoot = null;
|
13436
13444
|
var lastScheduledRoot = null;
|
13437
13445
|
|
13438
|
-
var
|
13446
|
+
var callbackExpirationTime = NoWork;
|
13447
|
+
var callbackID = -1;
|
13439
13448
|
var isRendering = false;
|
13440
13449
|
var nextFlushedRoot = null;
|
13441
13450
|
var nextFlushedExpirationTime = NoWork;
|
@@ -13453,6 +13462,31 @@
|
|
13453
13462
|
|
13454
13463
|
var timeHeuristicForUnitOfWork = 1;
|
13455
13464
|
|
13465
|
+
function scheduleCallbackWithExpiration(expirationTime) {
|
13466
|
+
if (callbackExpirationTime !== NoWork) {
|
13467
|
+
// A callback is already scheduled. Check its expiration time (timeout).
|
13468
|
+
if (expirationTime > callbackExpirationTime) {
|
13469
|
+
// Existing callback has sufficient timeout. Exit.
|
13470
|
+
return;
|
13471
|
+
} else {
|
13472
|
+
// Existing callback has insufficient timeout. Cancel and schedule a
|
13473
|
+
// new one.
|
13474
|
+
cancelDeferredCallback(callbackID);
|
13475
|
+
}
|
13476
|
+
// The request callback timer is already running. Don't start a new one.
|
13477
|
+
} else {
|
13478
|
+
startRequestCallbackTimer();
|
13479
|
+
}
|
13480
|
+
|
13481
|
+
// Compute a timeout for the given expiration time.
|
13482
|
+
var currentMs = now() - startTime;
|
13483
|
+
var expirationMs = expirationTimeToMs(expirationTime);
|
13484
|
+
var timeout = expirationMs - currentMs;
|
13485
|
+
|
13486
|
+
callbackExpirationTime = expirationTime;
|
13487
|
+
callbackID = scheduleDeferredCallback(performAsyncWork, { timeout: timeout });
|
13488
|
+
}
|
13489
|
+
|
13456
13490
|
// requestWork is called by the scheduler whenever a root receives an update.
|
13457
13491
|
// It's up to the renderer to call renderRoot at some point in the future.
|
13458
13492
|
function requestWork(root, expirationTime) {
|
@@ -13493,7 +13527,9 @@
|
|
13493
13527
|
if (isUnbatchingUpdates) {
|
13494
13528
|
// ...unless we're inside unbatchedUpdates, in which case we should
|
13495
13529
|
// flush it now.
|
13496
|
-
|
13530
|
+
nextFlushedRoot = root;
|
13531
|
+
nextFlushedExpirationTime = Sync;
|
13532
|
+
performWorkOnRoot(nextFlushedRoot, nextFlushedExpirationTime);
|
13497
13533
|
}
|
13498
13534
|
return;
|
13499
13535
|
}
|
@@ -13501,10 +13537,8 @@
|
|
13501
13537
|
// TODO: Get rid of Sync and use current time?
|
13502
13538
|
if (expirationTime === Sync) {
|
13503
13539
|
performWork(Sync, null);
|
13504
|
-
} else
|
13505
|
-
|
13506
|
-
startRequestCallbackTimer();
|
13507
|
-
scheduleDeferredCallback(performAsyncWork);
|
13540
|
+
} else {
|
13541
|
+
scheduleCallbackWithExpiration(expirationTime);
|
13508
13542
|
}
|
13509
13543
|
}
|
13510
13544
|
|
@@ -13601,13 +13635,12 @@
|
|
13601
13635
|
|
13602
13636
|
// If we're inside a callback, set this to false since we just completed it.
|
13603
13637
|
if (deadline !== null) {
|
13604
|
-
|
13638
|
+
callbackExpirationTime = NoWork;
|
13639
|
+
callbackID = -1;
|
13605
13640
|
}
|
13606
13641
|
// If there's work left over, schedule a new callback.
|
13607
|
-
if (
|
13608
|
-
|
13609
|
-
startRequestCallbackTimer();
|
13610
|
-
scheduleDeferredCallback(performAsyncWork);
|
13642
|
+
if (nextFlushedExpirationTime !== NoWork) {
|
13643
|
+
scheduleCallbackWithExpiration(nextFlushedExpirationTime);
|
13611
13644
|
}
|
13612
13645
|
|
13613
13646
|
// Clean-up.
|
@@ -13680,6 +13713,8 @@
|
|
13680
13713
|
return false;
|
13681
13714
|
}
|
13682
13715
|
if (deadline.timeRemaining() > timeHeuristicForUnitOfWork) {
|
13716
|
+
// Disregard deadline.didTimeout. Only expired work should be flushed
|
13717
|
+
// during a timeout. This path is only hit for non-expired work.
|
13683
13718
|
return false;
|
13684
13719
|
}
|
13685
13720
|
deadlineDidExpire = true;
|
@@ -13922,9 +13957,24 @@
|
|
13922
13957
|
// This is hacky but makes it work with both Rollup and Jest.
|
13923
13958
|
var reactReconciler = ReactFiberReconciler$3['default'] ? ReactFiberReconciler$3['default'] : ReactFiberReconciler$3;
|
13924
13959
|
|
13960
|
+
function createPortal$1(children, containerInfo,
|
13961
|
+
// TODO: figure out the API for cross-renderer implementation.
|
13962
|
+
implementation) {
|
13963
|
+
var key = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
13964
|
+
|
13965
|
+
return {
|
13966
|
+
// This tag allow us to uniquely identify this as a React Portal
|
13967
|
+
$$typeof: REACT_PORTAL_TYPE,
|
13968
|
+
key: key == null ? null : '' + key,
|
13969
|
+
children: children,
|
13970
|
+
containerInfo: containerInfo,
|
13971
|
+
implementation: implementation
|
13972
|
+
};
|
13973
|
+
}
|
13974
|
+
|
13925
13975
|
// TODO: this is special because it gets imported during build.
|
13926
13976
|
|
13927
|
-
var ReactVersion = '16.
|
13977
|
+
var ReactVersion = '16.2.0';
|
13928
13978
|
|
13929
13979
|
// a requestAnimationFrame, storing the time for the start of the frame, then
|
13930
13980
|
// scheduling a postMessage which gets scheduled after paint. Within the
|
@@ -13954,24 +14004,28 @@
|
|
13954
14004
|
|
13955
14005
|
// TODO: There's no way to cancel, because Fiber doesn't atm.
|
13956
14006
|
var rIC = void 0;
|
14007
|
+
var cIC = void 0;
|
13957
14008
|
|
13958
14009
|
if (!ExecutionEnvironment.canUseDOM) {
|
13959
14010
|
rIC = function (frameCallback) {
|
13960
|
-
setTimeout(function () {
|
14011
|
+
return setTimeout(function () {
|
13961
14012
|
frameCallback({
|
13962
14013
|
timeRemaining: function () {
|
13963
14014
|
return Infinity;
|
13964
14015
|
}
|
13965
14016
|
});
|
13966
14017
|
});
|
13967
|
-
return 0;
|
13968
14018
|
};
|
13969
|
-
|
13970
|
-
|
14019
|
+
cIC = function (timeoutID) {
|
14020
|
+
clearTimeout(timeoutID);
|
14021
|
+
};
|
14022
|
+
} else if (typeof requestIdleCallback !== 'function' || typeof cancelIdleCallback !== 'function') {
|
14023
|
+
// Polyfill requestIdleCallback and cancelIdleCallback
|
13971
14024
|
|
13972
14025
|
var scheduledRICCallback = null;
|
13973
|
-
|
13974
14026
|
var isIdleScheduled = false;
|
14027
|
+
var timeoutTime = -1;
|
14028
|
+
|
13975
14029
|
var isAnimationFrameScheduled = false;
|
13976
14030
|
|
13977
14031
|
var frameDeadline = 0;
|
@@ -13984,17 +14038,21 @@
|
|
13984
14038
|
var frameDeadlineObject;
|
13985
14039
|
if (hasNativePerformanceNow) {
|
13986
14040
|
frameDeadlineObject = {
|
14041
|
+
didTimeout: false,
|
13987
14042
|
timeRemaining: function () {
|
13988
14043
|
// We assume that if we have a performance timer that the rAF callback
|
13989
14044
|
// gets a performance timer value. Not sure if this is always true.
|
13990
|
-
|
14045
|
+
var remaining = frameDeadline - performance.now();
|
14046
|
+
return remaining > 0 ? remaining : 0;
|
13991
14047
|
}
|
13992
14048
|
};
|
13993
14049
|
} else {
|
13994
14050
|
frameDeadlineObject = {
|
14051
|
+
didTimeout: false,
|
13995
14052
|
timeRemaining: function () {
|
13996
14053
|
// Fallback to Date.now()
|
13997
|
-
|
14054
|
+
var remaining = frameDeadline - Date.now();
|
14055
|
+
return remaining > 0 ? remaining : 0;
|
13998
14056
|
}
|
13999
14057
|
};
|
14000
14058
|
}
|
@@ -14005,7 +14063,33 @@
|
|
14005
14063
|
if (event.source !== window || event.data !== messageKey) {
|
14006
14064
|
return;
|
14007
14065
|
}
|
14066
|
+
|
14008
14067
|
isIdleScheduled = false;
|
14068
|
+
|
14069
|
+
var currentTime = now();
|
14070
|
+
if (frameDeadline - currentTime <= 0) {
|
14071
|
+
// There's no time left in this idle period. Check if the callback has
|
14072
|
+
// a timeout and whether it's been exceeded.
|
14073
|
+
if (timeoutTime !== -1 && timeoutTime <= currentTime) {
|
14074
|
+
// Exceeded the timeout. Invoke the callback even though there's no
|
14075
|
+
// time left.
|
14076
|
+
frameDeadlineObject.didTimeout = true;
|
14077
|
+
} else {
|
14078
|
+
// No timeout.
|
14079
|
+
if (!isAnimationFrameScheduled) {
|
14080
|
+
// Schedule another animation callback so we retry later.
|
14081
|
+
isAnimationFrameScheduled = true;
|
14082
|
+
requestAnimationFrame(animationTick);
|
14083
|
+
}
|
14084
|
+
// Exit without invoking the callback.
|
14085
|
+
return;
|
14086
|
+
}
|
14087
|
+
} else {
|
14088
|
+
// There's still time left in this idle period.
|
14089
|
+
frameDeadlineObject.didTimeout = false;
|
14090
|
+
}
|
14091
|
+
|
14092
|
+
timeoutTime = -1;
|
14009
14093
|
var callback = scheduledRICCallback;
|
14010
14094
|
scheduledRICCallback = null;
|
14011
14095
|
if (callback !== null) {
|
@@ -14043,10 +14127,13 @@
|
|
14043
14127
|
}
|
14044
14128
|
};
|
14045
14129
|
|
14046
|
-
rIC = function (callback) {
|
14130
|
+
rIC = function (callback, options) {
|
14047
14131
|
// This assumes that we only schedule one callback at a time because that's
|
14048
14132
|
// how Fiber uses it.
|
14049
14133
|
scheduledRICCallback = callback;
|
14134
|
+
if (options != null && typeof options.timeout === 'number') {
|
14135
|
+
timeoutTime = now() + options.timeout;
|
14136
|
+
}
|
14050
14137
|
if (!isAnimationFrameScheduled) {
|
14051
14138
|
// If rAF didn't already schedule one, we need to schedule a frame.
|
14052
14139
|
// TODO: If this rAF doesn't materialize because the browser throttles, we
|
@@ -14057,8 +14144,15 @@
|
|
14057
14144
|
}
|
14058
14145
|
return 0;
|
14059
14146
|
};
|
14147
|
+
|
14148
|
+
cIC = function () {
|
14149
|
+
scheduledRICCallback = null;
|
14150
|
+
isIdleScheduled = false;
|
14151
|
+
timeoutTime = -1;
|
14152
|
+
};
|
14060
14153
|
} else {
|
14061
|
-
rIC = requestIdleCallback;
|
14154
|
+
rIC = window.requestIdleCallback;
|
14155
|
+
cIC = window.cancelIdleCallback;
|
14062
14156
|
}
|
14063
14157
|
|
14064
14158
|
/**
|
@@ -14448,6 +14542,14 @@
|
|
14448
14542
|
};
|
14449
14543
|
}
|
14450
14544
|
|
14545
|
+
function updateChecked(element, props) {
|
14546
|
+
var node = element;
|
14547
|
+
var checked = props.checked;
|
14548
|
+
if (checked != null) {
|
14549
|
+
setValueForProperty(node, 'checked', checked);
|
14550
|
+
}
|
14551
|
+
}
|
14552
|
+
|
14451
14553
|
function updateWrapper(element, props) {
|
14452
14554
|
var node = element;
|
14453
14555
|
{
|
@@ -14463,10 +14565,7 @@
|
|
14463
14565
|
}
|
14464
14566
|
}
|
14465
14567
|
|
14466
|
-
|
14467
|
-
if (checked != null) {
|
14468
|
-
setValueForProperty(node, 'checked', checked || false);
|
14469
|
-
}
|
14568
|
+
updateChecked(element, props);
|
14470
14569
|
|
14471
14570
|
var value = props.value;
|
14472
14571
|
if (value != null) {
|
@@ -14592,6 +14691,11 @@
|
|
14592
14691
|
// mixing React radio buttons with non-React ones.
|
14593
14692
|
var otherProps = getFiberCurrentPropsFromNode$1(otherNode);
|
14594
14693
|
!otherProps ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.') : void 0;
|
14694
|
+
|
14695
|
+
// We need update the tracked value on the named cousin since the value
|
14696
|
+
// was changed but the input saw no event or value set
|
14697
|
+
updateValueIfChanged(otherNode);
|
14698
|
+
|
14595
14699
|
// If this is a controlled radio button group, forcing the input that
|
14596
14700
|
// was previously checked to update will cause it to be come re-checked
|
14597
14701
|
// as appropriate.
|
@@ -14639,7 +14743,6 @@
|
|
14639
14743
|
|
14640
14744
|
function getHostProps$1(element, props) {
|
14641
14745
|
var hostProps = _assign({ children: undefined }, props);
|
14642
|
-
|
14643
14746
|
var content = flattenChildren(props.children);
|
14644
14747
|
|
14645
14748
|
if (content) {
|
@@ -14865,11 +14968,10 @@
|
|
14865
14968
|
}
|
14866
14969
|
}
|
14867
14970
|
|
14868
|
-
var
|
14869
|
-
var initialValue = value;
|
14971
|
+
var initialValue = props.value;
|
14870
14972
|
|
14871
14973
|
// Only bother fetching default value if we're going to use it
|
14872
|
-
if (
|
14974
|
+
if (initialValue == null) {
|
14873
14975
|
var defaultValue = props.defaultValue;
|
14874
14976
|
// TODO (yungsters): Remove support for children content in <textarea>.
|
14875
14977
|
var children = props.children;
|
@@ -15019,89 +15121,6 @@
|
|
15019
15121
|
}
|
15020
15122
|
});
|
15021
15123
|
|
15022
|
-
// code copied and modified from escape-html
|
15023
|
-
/**
|
15024
|
-
* Module variables.
|
15025
|
-
* @private
|
15026
|
-
*/
|
15027
|
-
|
15028
|
-
var matchHtmlRegExp = /["'&<>]/;
|
15029
|
-
|
15030
|
-
/**
|
15031
|
-
* Escape special characters in the given string of html.
|
15032
|
-
*
|
15033
|
-
* @param {string} string The string to escape for inserting into HTML
|
15034
|
-
* @return {string}
|
15035
|
-
* @public
|
15036
|
-
*/
|
15037
|
-
|
15038
|
-
function escapeHtml(string) {
|
15039
|
-
var str = '' + string;
|
15040
|
-
var match = matchHtmlRegExp.exec(str);
|
15041
|
-
|
15042
|
-
if (!match) {
|
15043
|
-
return str;
|
15044
|
-
}
|
15045
|
-
|
15046
|
-
var escape;
|
15047
|
-
var html = '';
|
15048
|
-
var index = 0;
|
15049
|
-
var lastIndex = 0;
|
15050
|
-
|
15051
|
-
for (index = match.index; index < str.length; index++) {
|
15052
|
-
switch (str.charCodeAt(index)) {
|
15053
|
-
case 34:
|
15054
|
-
// "
|
15055
|
-
escape = '"';
|
15056
|
-
break;
|
15057
|
-
case 38:
|
15058
|
-
// &
|
15059
|
-
escape = '&';
|
15060
|
-
break;
|
15061
|
-
case 39:
|
15062
|
-
// '
|
15063
|
-
escape = '''; // modified from escape-html; used to be '''
|
15064
|
-
break;
|
15065
|
-
case 60:
|
15066
|
-
// <
|
15067
|
-
escape = '<';
|
15068
|
-
break;
|
15069
|
-
case 62:
|
15070
|
-
// >
|
15071
|
-
escape = '>';
|
15072
|
-
break;
|
15073
|
-
default:
|
15074
|
-
continue;
|
15075
|
-
}
|
15076
|
-
|
15077
|
-
if (lastIndex !== index) {
|
15078
|
-
html += str.substring(lastIndex, index);
|
15079
|
-
}
|
15080
|
-
|
15081
|
-
lastIndex = index + 1;
|
15082
|
-
html += escape;
|
15083
|
-
}
|
15084
|
-
|
15085
|
-
return lastIndex !== index ? html + str.substring(lastIndex, index) : html;
|
15086
|
-
}
|
15087
|
-
// end code copied and modified from escape-html
|
15088
|
-
|
15089
|
-
/**
|
15090
|
-
* Escapes text to prevent scripting attacks.
|
15091
|
-
*
|
15092
|
-
* @param {*} text Text value to escape.
|
15093
|
-
* @return {string} An escaped string.
|
15094
|
-
*/
|
15095
|
-
function escapeTextContentForBrowser(text) {
|
15096
|
-
if (typeof text === 'boolean' || typeof text === 'number') {
|
15097
|
-
// this shortcircuit helps perf for types that we know will never have
|
15098
|
-
// special characters, especially given that this function is used often
|
15099
|
-
// for numeric dom ids.
|
15100
|
-
return '' + text;
|
15101
|
-
}
|
15102
|
-
return escapeHtml(text);
|
15103
|
-
}
|
15104
|
-
|
15105
15124
|
/**
|
15106
15125
|
* Set the textContent property of a node, ensuring that whitespace is preserved
|
15107
15126
|
* even in IE8. innerText is a poor substitute for textContent and, among many
|
@@ -15124,20 +15143,6 @@
|
|
15124
15143
|
node.textContent = text;
|
15125
15144
|
};
|
15126
15145
|
|
15127
|
-
if (ExecutionEnvironment.canUseDOM) {
|
15128
|
-
if (!('textContent' in document.documentElement)) {
|
15129
|
-
setTextContent = function (node, text) {
|
15130
|
-
if (node.nodeType === TEXT_NODE) {
|
15131
|
-
node.nodeValue = text;
|
15132
|
-
return;
|
15133
|
-
}
|
15134
|
-
setInnerHTML(node, escapeTextContentForBrowser(text));
|
15135
|
-
};
|
15136
|
-
}
|
15137
|
-
}
|
15138
|
-
|
15139
|
-
var setTextContent$1 = setTextContent;
|
15140
|
-
|
15141
15146
|
/**
|
15142
15147
|
* CSS properties which accept numbers but are not in units of "px".
|
15143
15148
|
*/
|
@@ -15243,7 +15248,7 @@
|
|
15243
15248
|
return ('' + value).trim();
|
15244
15249
|
}
|
15245
15250
|
|
15246
|
-
var warnValidStyle = emptyFunction
|
15251
|
+
var warnValidStyle = emptyFunction;
|
15247
15252
|
|
15248
15253
|
{
|
15249
15254
|
// 'msTransform' is correct, but the other prefixes should be capitalized
|
@@ -16113,36 +16118,46 @@
|
|
16113
16118
|
{
|
16114
16119
|
var warnedProperties$1 = {};
|
16115
16120
|
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
16116
|
-
var EVENT_NAME_REGEX = /^on
|
16121
|
+
var EVENT_NAME_REGEX = /^on./;
|
16122
|
+
var INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/;
|
16117
16123
|
var rARIA$1 = new RegExp('^(aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
|
16118
16124
|
var rARIACamel$1 = new RegExp('^(aria)[A-Z][' + ATTRIBUTE_NAME_CHAR + ']*$');
|
16119
16125
|
|
16120
|
-
var validateProperty$1 = function (tagName, name, value) {
|
16126
|
+
var validateProperty$1 = function (tagName, name, value, canUseEventSystem) {
|
16121
16127
|
if (hasOwnProperty$1.call(warnedProperties$1, name) && warnedProperties$1[name]) {
|
16122
16128
|
return true;
|
16123
16129
|
}
|
16124
16130
|
|
16125
|
-
if (registrationNameModules.hasOwnProperty(name)) {
|
16126
|
-
return true;
|
16127
|
-
}
|
16128
|
-
|
16129
|
-
if (plugins.length === 0 && EVENT_NAME_REGEX.test(name)) {
|
16130
|
-
// If no event plugins have been injected, we might be in a server environment.
|
16131
|
-
// Don't check events in this case.
|
16132
|
-
return true;
|
16133
|
-
}
|
16134
|
-
|
16135
16131
|
var lowerCasedName = name.toLowerCase();
|
16136
|
-
|
16137
|
-
|
16138
|
-
if (registrationName != null) {
|
16139
|
-
warning(false, 'Invalid event handler property `%s`. Did you mean `%s`?%s', name, registrationName, getStackAddendum$2());
|
16132
|
+
if (lowerCasedName === 'onfocusin' || lowerCasedName === 'onfocusout') {
|
16133
|
+
warning(false, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.');
|
16140
16134
|
warnedProperties$1[name] = true;
|
16141
16135
|
return true;
|
16142
16136
|
}
|
16143
16137
|
|
16144
|
-
|
16145
|
-
|
16138
|
+
// We can't rely on the event system being injected on the server.
|
16139
|
+
if (canUseEventSystem) {
|
16140
|
+
if (registrationNameModules.hasOwnProperty(name)) {
|
16141
|
+
return true;
|
16142
|
+
}
|
16143
|
+
var registrationName = possibleRegistrationNames.hasOwnProperty(lowerCasedName) ? possibleRegistrationNames[lowerCasedName] : null;
|
16144
|
+
if (registrationName != null) {
|
16145
|
+
warning(false, 'Invalid event handler property `%s`. Did you mean `%s`?%s', name, registrationName, getStackAddendum$2());
|
16146
|
+
warnedProperties$1[name] = true;
|
16147
|
+
return true;
|
16148
|
+
}
|
16149
|
+
if (EVENT_NAME_REGEX.test(name)) {
|
16150
|
+
warning(false, 'Unknown event handler property `%s`. It will be ignored.%s', name, getStackAddendum$2());
|
16151
|
+
warnedProperties$1[name] = true;
|
16152
|
+
return true;
|
16153
|
+
}
|
16154
|
+
} else if (EVENT_NAME_REGEX.test(name)) {
|
16155
|
+
// If no event plugins have been injected, we are in a server environment.
|
16156
|
+
// So we can't tell if the event name is correct for sure, but we can filter
|
16157
|
+
// out known bad ones like `onclick`. We can't suggest a specific replacement though.
|
16158
|
+
if (INVALID_EVENT_NAME_REGEX.test(name)) {
|
16159
|
+
warning(false, 'Invalid event handler property `%s`. ' + 'React events use the camelCase naming convention, for example `onClick`.%s', name, getStackAddendum$2());
|
16160
|
+
}
|
16146
16161
|
warnedProperties$1[name] = true;
|
16147
16162
|
return true;
|
16148
16163
|
}
|
@@ -16152,12 +16167,6 @@
|
|
16152
16167
|
return true;
|
16153
16168
|
}
|
16154
16169
|
|
16155
|
-
if (lowerCasedName === 'onfocusin' || lowerCasedName === 'onfocusout') {
|
16156
|
-
warning(false, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.');
|
16157
|
-
warnedProperties$1[name] = true;
|
16158
|
-
return true;
|
16159
|
-
}
|
16160
|
-
|
16161
16170
|
if (lowerCasedName === 'innerhtml') {
|
16162
16171
|
warning(false, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.');
|
16163
16172
|
warnedProperties$1[name] = true;
|
@@ -16226,10 +16235,10 @@
|
|
16226
16235
|
};
|
16227
16236
|
}
|
16228
16237
|
|
16229
|
-
var warnUnknownProperties = function (type, props) {
|
16238
|
+
var warnUnknownProperties = function (type, props, canUseEventSystem) {
|
16230
16239
|
var unknownProps = [];
|
16231
16240
|
for (var key in props) {
|
16232
|
-
var isValid = validateProperty$1(type, key, props[key]);
|
16241
|
+
var isValid = validateProperty$1(type, key, props[key], canUseEventSystem);
|
16233
16242
|
if (!isValid) {
|
16234
16243
|
unknownProps.push(key);
|
16235
16244
|
}
|
@@ -16245,11 +16254,11 @@
|
|
16245
16254
|
}
|
16246
16255
|
};
|
16247
16256
|
|
16248
|
-
function validateProperties$2(type, props) {
|
16257
|
+
function validateProperties$2(type, props, canUseEventSystem) {
|
16249
16258
|
if (isCustomComponent(type, props)) {
|
16250
16259
|
return;
|
16251
16260
|
}
|
16252
|
-
warnUnknownProperties(type, props);
|
16261
|
+
warnUnknownProperties(type, props, canUseEventSystem);
|
16253
16262
|
}
|
16254
16263
|
|
16255
16264
|
// TODO: direct imports like some-package/src/* are bad. Fix me.
|
@@ -16270,7 +16279,7 @@
|
|
16270
16279
|
var HTML_NAMESPACE = Namespaces.html;
|
16271
16280
|
|
16272
16281
|
|
16273
|
-
var getStack = emptyFunction
|
16282
|
+
var getStack = emptyFunction.thatReturns('');
|
16274
16283
|
|
16275
16284
|
{
|
16276
16285
|
getStack = getCurrentFiberStackAddendum$2;
|
@@ -16288,7 +16297,7 @@
|
|
16288
16297
|
var validatePropertiesInDevelopment = function (type, props) {
|
16289
16298
|
validateProperties(type, props);
|
16290
16299
|
validateProperties$1(type, props);
|
16291
|
-
validateProperties$2(type, props);
|
16300
|
+
validateProperties$2(type, props, /* canUseEventSystem */true);
|
16292
16301
|
};
|
16293
16302
|
|
16294
16303
|
// HTML parsing normalizes CR and CRLF to LF.
|
@@ -16411,7 +16420,7 @@
|
|
16411
16420
|
// bookkeeping for it. Not sure if we need to clear it when the listener is
|
16412
16421
|
// removed.
|
16413
16422
|
// TODO: Only do this for the relevant Safaris maybe?
|
16414
|
-
node.onclick = emptyFunction
|
16423
|
+
node.onclick = emptyFunction;
|
16415
16424
|
}
|
16416
16425
|
|
16417
16426
|
function setInitialDOMProperties(tag, domElement, rootContainerElement, nextProps, isCustomComponentTag) {
|
@@ -16443,10 +16452,10 @@
|
|
16443
16452
|
// https://github.com/facebook/react/issues/6731#issuecomment-254874553
|
16444
16453
|
var canSetTextContent = tag !== 'textarea' || nextProp !== '';
|
16445
16454
|
if (canSetTextContent) {
|
16446
|
-
setTextContent
|
16455
|
+
setTextContent(domElement, nextProp);
|
16447
16456
|
}
|
16448
16457
|
} else if (typeof nextProp === 'number') {
|
16449
|
-
setTextContent
|
16458
|
+
setTextContent(domElement, '' + nextProp);
|
16450
16459
|
}
|
16451
16460
|
} else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1) {
|
16452
16461
|
// Noop
|
@@ -16481,7 +16490,7 @@
|
|
16481
16490
|
} else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
|
16482
16491
|
setInnerHTML(domElement, propValue);
|
16483
16492
|
} else if (propKey === CHILDREN) {
|
16484
|
-
setTextContent
|
16493
|
+
setTextContent(domElement, propValue);
|
16485
16494
|
} else if (isCustomComponentTag) {
|
16486
16495
|
if (propValue != null) {
|
16487
16496
|
setValueForAttribute(domElement, propKey, propValue);
|
@@ -16830,6 +16839,13 @@
|
|
16830
16839
|
|
16831
16840
|
// Apply the diff.
|
16832
16841
|
function updateProperties$1(domElement, updatePayload, tag, lastRawProps, nextRawProps) {
|
16842
|
+
// Update checked *before* name.
|
16843
|
+
// In the middle of an update, it is possible to have multiple checked.
|
16844
|
+
// When a checked radio tries to change name, browser makes another radio's checked false.
|
16845
|
+
if (tag === 'input' && nextRawProps.type === 'radio' && nextRawProps.name != null) {
|
16846
|
+
updateChecked(domElement, nextRawProps);
|
16847
|
+
}
|
16848
|
+
|
16833
16849
|
var wasCustomComponentTag = isCustomComponent(tag, lastRawProps);
|
16834
16850
|
var isCustomComponentTag = isCustomComponent(tag, nextRawProps);
|
16835
16851
|
// Apply the diff.
|
@@ -16843,10 +16859,6 @@
|
|
16843
16859
|
// happen after `updateDOMProperties`. Otherwise HTML5 input validations
|
16844
16860
|
// raise warnings and prevent the new value from being assigned.
|
16845
16861
|
updateWrapper(domElement, nextRawProps);
|
16846
|
-
|
16847
|
-
// We also check that we haven't missed a value update, such as a
|
16848
|
-
// Radio group shifting the checked value to another named radio input.
|
16849
|
-
updateValueIfChanged(domElement);
|
16850
16862
|
break;
|
16851
16863
|
case 'textarea':
|
16852
16864
|
updateWrapper$1(domElement, nextRawProps);
|
@@ -17183,7 +17195,7 @@
|
|
17183
17195
|
// TODO: direct imports like some-package/src/* are bad. Fix me.
|
17184
17196
|
var getCurrentFiberStackAddendum$6 = ReactDebugCurrentFiber.getCurrentFiberStackAddendum;
|
17185
17197
|
|
17186
|
-
var validateDOMNesting = emptyFunction
|
17198
|
+
var validateDOMNesting = emptyFunction;
|
17187
17199
|
|
17188
17200
|
{
|
17189
17201
|
// This validation code was written based on the HTML5 parsing spec:
|
@@ -17816,6 +17828,7 @@
|
|
17816
17828
|
},
|
17817
17829
|
|
17818
17830
|
scheduleDeferredCallback: rIC,
|
17831
|
+
cancelDeferredCallback: cIC,
|
17819
17832
|
|
17820
17833
|
useSyncScheduling: !enableAsyncSchedulingByDefaultInReactDOM
|
17821
17834
|
});
|