react 17.0.0-rc.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-info.json +4 -4
- package/cjs/react-jsx-dev-runtime.development.js +12 -9
- package/cjs/react-jsx-dev-runtime.production.min.js +1 -1
- package/cjs/react-jsx-dev-runtime.profiling.min.js +1 -1
- package/cjs/react-jsx-runtime.development.js +12 -9
- package/cjs/react-jsx-runtime.production.min.js +1 -1
- package/cjs/react-jsx-runtime.profiling.min.js +1 -1
- package/cjs/react.development.js +16 -13
- package/cjs/react.production.min.js +3 -3
- package/package.json +1 -1
- package/umd/react.development.js +20 -27
- package/umd/react.production.min.js +22 -22
- package/umd/react.profiling.min.js +27 -27
package/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"branch": "master",
|
|
3
|
-
"buildNumber": "
|
|
4
|
-
"checksum": "
|
|
5
|
-
"commit": "
|
|
3
|
+
"buildNumber": "216201",
|
|
4
|
+
"checksum": "6a2f7e9",
|
|
5
|
+
"commit": "4ead6b530",
|
|
6
6
|
"environment": "ci",
|
|
7
|
-
"reactVersion": "17.0.0-alpha.0-
|
|
7
|
+
"reactVersion": "17.0.0-alpha.0-4ead6b530"
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v17.0.0
|
|
1
|
+
/** @license React v17.0.0
|
|
2
2
|
* react-jsx-dev-runtime.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -178,7 +178,7 @@ function getComponentName(type) {
|
|
|
178
178
|
return 'Portal';
|
|
179
179
|
|
|
180
180
|
case REACT_PROFILER_TYPE:
|
|
181
|
-
return
|
|
181
|
+
return 'Profiler';
|
|
182
182
|
|
|
183
183
|
case REACT_STRICT_MODE_TYPE:
|
|
184
184
|
return 'StrictMode';
|
|
@@ -676,7 +676,7 @@ function warnIfStringRefCannotBeAutoConverted(config, self) {
|
|
|
676
676
|
var componentName = getComponentName(ReactCurrentOwner.current.type);
|
|
677
677
|
|
|
678
678
|
if (!didWarnAboutStringRefs[componentName]) {
|
|
679
|
-
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://
|
|
679
|
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
|
|
680
680
|
|
|
681
681
|
didWarnAboutStringRefs[componentName] = true;
|
|
682
682
|
}
|
|
@@ -690,7 +690,7 @@ function defineKeyPropWarningGetter(props, displayName) {
|
|
|
690
690
|
if (!specialPropKeyWarningShown) {
|
|
691
691
|
specialPropKeyWarningShown = true;
|
|
692
692
|
|
|
693
|
-
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://
|
|
693
|
+
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
|
694
694
|
}
|
|
695
695
|
};
|
|
696
696
|
|
|
@@ -708,7 +708,7 @@ function defineRefPropWarningGetter(props, displayName) {
|
|
|
708
708
|
if (!specialPropRefWarningShown) {
|
|
709
709
|
specialPropRefWarningShown = true;
|
|
710
710
|
|
|
711
|
-
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://
|
|
711
|
+
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
714
|
|
|
@@ -983,7 +983,7 @@ function validateExplicitKey(element, parentType) {
|
|
|
983
983
|
|
|
984
984
|
setCurrentlyValidatingElement$1(element);
|
|
985
985
|
|
|
986
|
-
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://
|
|
986
|
+
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
987
987
|
|
|
988
988
|
setCurrentlyValidatingElement$1(null);
|
|
989
989
|
}
|
|
@@ -1054,7 +1054,6 @@ function validatePropTypes(element) {
|
|
|
1054
1054
|
return;
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
|
-
var name = getComponentName(type);
|
|
1058
1057
|
var propTypes;
|
|
1059
1058
|
|
|
1060
1059
|
if (typeof type === 'function') {
|
|
@@ -1068,11 +1067,15 @@ function validatePropTypes(element) {
|
|
|
1068
1067
|
}
|
|
1069
1068
|
|
|
1070
1069
|
if (propTypes) {
|
|
1070
|
+
// Intentionally inside to avoid triggering lazy initializers:
|
|
1071
|
+
var name = getComponentName(type);
|
|
1071
1072
|
checkPropTypes(propTypes, element.props, 'prop', name, element);
|
|
1072
1073
|
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
|
1073
|
-
propTypesMisspellWarningShown = true;
|
|
1074
|
+
propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
|
|
1074
1075
|
|
|
1075
|
-
|
|
1076
|
+
var _name = getComponentName(type);
|
|
1077
|
+
|
|
1078
|
+
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
|
|
1076
1079
|
}
|
|
1077
1080
|
|
|
1078
1081
|
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v17.0.0
|
|
1
|
+
/** @license React v17.0.0
|
|
2
2
|
* react-jsx-runtime.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -178,7 +178,7 @@ function getComponentName(type) {
|
|
|
178
178
|
return 'Portal';
|
|
179
179
|
|
|
180
180
|
case REACT_PROFILER_TYPE:
|
|
181
|
-
return
|
|
181
|
+
return 'Profiler';
|
|
182
182
|
|
|
183
183
|
case REACT_STRICT_MODE_TYPE:
|
|
184
184
|
return 'StrictMode';
|
|
@@ -676,7 +676,7 @@ function warnIfStringRefCannotBeAutoConverted(config, self) {
|
|
|
676
676
|
var componentName = getComponentName(ReactCurrentOwner.current.type);
|
|
677
677
|
|
|
678
678
|
if (!didWarnAboutStringRefs[componentName]) {
|
|
679
|
-
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://
|
|
679
|
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref);
|
|
680
680
|
|
|
681
681
|
didWarnAboutStringRefs[componentName] = true;
|
|
682
682
|
}
|
|
@@ -690,7 +690,7 @@ function defineKeyPropWarningGetter(props, displayName) {
|
|
|
690
690
|
if (!specialPropKeyWarningShown) {
|
|
691
691
|
specialPropKeyWarningShown = true;
|
|
692
692
|
|
|
693
|
-
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://
|
|
693
|
+
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
|
694
694
|
}
|
|
695
695
|
};
|
|
696
696
|
|
|
@@ -708,7 +708,7 @@ function defineRefPropWarningGetter(props, displayName) {
|
|
|
708
708
|
if (!specialPropRefWarningShown) {
|
|
709
709
|
specialPropRefWarningShown = true;
|
|
710
710
|
|
|
711
|
-
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://
|
|
711
|
+
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
714
|
|
|
@@ -983,7 +983,7 @@ function validateExplicitKey(element, parentType) {
|
|
|
983
983
|
|
|
984
984
|
setCurrentlyValidatingElement$1(element);
|
|
985
985
|
|
|
986
|
-
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://
|
|
986
|
+
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
987
987
|
|
|
988
988
|
setCurrentlyValidatingElement$1(null);
|
|
989
989
|
}
|
|
@@ -1054,7 +1054,6 @@ function validatePropTypes(element) {
|
|
|
1054
1054
|
return;
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
|
-
var name = getComponentName(type);
|
|
1058
1057
|
var propTypes;
|
|
1059
1058
|
|
|
1060
1059
|
if (typeof type === 'function') {
|
|
@@ -1068,11 +1067,15 @@ function validatePropTypes(element) {
|
|
|
1068
1067
|
}
|
|
1069
1068
|
|
|
1070
1069
|
if (propTypes) {
|
|
1070
|
+
// Intentionally inside to avoid triggering lazy initializers:
|
|
1071
|
+
var name = getComponentName(type);
|
|
1071
1072
|
checkPropTypes(propTypes, element.props, 'prop', name, element);
|
|
1072
1073
|
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
|
1073
|
-
propTypesMisspellWarningShown = true;
|
|
1074
|
+
propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
|
|
1074
1075
|
|
|
1075
|
-
|
|
1076
|
+
var _name = getComponentName(type);
|
|
1077
|
+
|
|
1078
|
+
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
|
|
1076
1079
|
}
|
|
1077
1080
|
|
|
1078
1081
|
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
|
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v17.0.0
|
|
1
|
+
/** @license React v17.0.0
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -16,7 +16,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
16
16
|
var _assign = require('object-assign');
|
|
17
17
|
|
|
18
18
|
// TODO: this is special because it gets imported during build.
|
|
19
|
-
var ReactVersion = '17.0.0
|
|
19
|
+
var ReactVersion = '17.0.0';
|
|
20
20
|
|
|
21
21
|
// ATTENTION
|
|
22
22
|
// When adding new symbols to this file,
|
|
@@ -100,7 +100,7 @@ var ReactCurrentDispatcher = {
|
|
|
100
100
|
* should suspend for if it needs to.
|
|
101
101
|
*/
|
|
102
102
|
var ReactCurrentBatchConfig = {
|
|
103
|
-
|
|
103
|
+
transition: 0
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
/**
|
|
@@ -485,7 +485,7 @@ function getComponentName(type) {
|
|
|
485
485
|
return 'Portal';
|
|
486
486
|
|
|
487
487
|
case exports.Profiler:
|
|
488
|
-
return
|
|
488
|
+
return 'Profiler';
|
|
489
489
|
|
|
490
490
|
case exports.StrictMode:
|
|
491
491
|
return 'StrictMode';
|
|
@@ -581,7 +581,7 @@ function defineKeyPropWarningGetter(props, displayName) {
|
|
|
581
581
|
if (!specialPropKeyWarningShown) {
|
|
582
582
|
specialPropKeyWarningShown = true;
|
|
583
583
|
|
|
584
|
-
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://
|
|
584
|
+
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
};
|
|
@@ -599,7 +599,7 @@ function defineRefPropWarningGetter(props, displayName) {
|
|
|
599
599
|
if (!specialPropRefWarningShown) {
|
|
600
600
|
specialPropRefWarningShown = true;
|
|
601
601
|
|
|
602
|
-
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://
|
|
602
|
+
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
};
|
|
@@ -617,7 +617,7 @@ function warnIfStringRefCannotBeAutoConverted(config) {
|
|
|
617
617
|
var componentName = getComponentName(ReactCurrentOwner.current.type);
|
|
618
618
|
|
|
619
619
|
if (!didWarnAboutStringRefs[componentName]) {
|
|
620
|
-
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://
|
|
620
|
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);
|
|
621
621
|
|
|
622
622
|
didWarnAboutStringRefs[componentName] = true;
|
|
623
623
|
}
|
|
@@ -1473,7 +1473,7 @@ function resolveDispatcher() {
|
|
|
1473
1473
|
|
|
1474
1474
|
if (!(dispatcher !== null)) {
|
|
1475
1475
|
{
|
|
1476
|
-
throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://
|
|
1476
|
+
throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem." );
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
@@ -1485,7 +1485,7 @@ function useContext(Context, unstable_observedBits) {
|
|
|
1485
1485
|
|
|
1486
1486
|
{
|
|
1487
1487
|
if (unstable_observedBits !== undefined) {
|
|
1488
|
-
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://
|
|
1488
|
+
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://reactjs.org/link/rules-of-hooks' : '');
|
|
1489
1489
|
} // TODO: add a more generic warning for invalid values.
|
|
1490
1490
|
|
|
1491
1491
|
|
|
@@ -2049,7 +2049,7 @@ function validateExplicitKey(element, parentType) {
|
|
|
2049
2049
|
{
|
|
2050
2050
|
setCurrentlyValidatingElement$1(element);
|
|
2051
2051
|
|
|
2052
|
-
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://
|
|
2052
|
+
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
2053
2053
|
|
|
2054
2054
|
setCurrentlyValidatingElement$1(null);
|
|
2055
2055
|
}
|
|
@@ -2118,7 +2118,6 @@ function validatePropTypes(element) {
|
|
|
2118
2118
|
return;
|
|
2119
2119
|
}
|
|
2120
2120
|
|
|
2121
|
-
var name = getComponentName(type);
|
|
2122
2121
|
var propTypes;
|
|
2123
2122
|
|
|
2124
2123
|
if (typeof type === 'function') {
|
|
@@ -2132,11 +2131,15 @@ function validatePropTypes(element) {
|
|
|
2132
2131
|
}
|
|
2133
2132
|
|
|
2134
2133
|
if (propTypes) {
|
|
2134
|
+
// Intentionally inside to avoid triggering lazy initializers:
|
|
2135
|
+
var name = getComponentName(type);
|
|
2135
2136
|
checkPropTypes(propTypes, element.props, 'prop', name, element);
|
|
2136
2137
|
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
|
2137
|
-
propTypesMisspellWarningShown = true;
|
|
2138
|
+
propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
|
|
2138
2139
|
|
|
2139
|
-
|
|
2140
|
+
var _name = getComponentName(type);
|
|
2141
|
+
|
|
2142
|
+
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
|
|
2140
2143
|
}
|
|
2141
2144
|
|
|
2142
2145
|
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v17.0.0
|
|
1
|
+
/** @license React v17.0.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -15,9 +15,9 @@ function J(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(
|
|
|
15
15
|
function K(a,b){return{$$typeof:n,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function L(a){return"object"===typeof a&&null!==a&&a.$$typeof===n}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var M=/\/+/g;function N(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
16
16
|
function O(a,b,c,e,d){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case n:case p:h=!0}}if(h)return h=a,d=d(h),a=""===e?"."+N(h,0):e,Array.isArray(d)?(c="",null!=a&&(c=a.replace(M,"$&/")+"/"),O(d,b,c,"",function(a){return a})):null!=d&&(L(d)&&(d=K(d,c+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(M,"$&/")+"/")+a)),b.push(d)),1;h=0;e=""===e?".":e+":";if(Array.isArray(a))for(var g=
|
|
17
17
|
0;g<a.length;g++){k=a[g];var f=e+N(k,g);h+=O(k,b,c,f,d)}else if(f=y(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=e+N(k,g++),h+=O(k,b,c,f,d);else if("object"===k)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function P(a,b,c){if(null==a)return a;var e=[],d=0;O(a,e,"","",function(a){return b.call(c,a,d++)});return e}
|
|
18
|
-
function Q(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var R={current:null};function S(){var a=R.current;if(null===a)throw Error(z(321));return a}var T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{
|
|
18
|
+
function Q(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var R={current:null};function S(){var a=R.current;if(null===a)throw Error(z(321));return a}var T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:G,IsSomeRendererActing:{current:!1},assign:l};
|
|
19
19
|
exports.Children={map:P,forEach:function(a,b,c){P(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;P(a,function(){b++});return b},toArray:function(a){return P(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error(z(143));return a}};exports.Component=C;exports.PureComponent=E;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T;
|
|
20
20
|
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(z(267,a));var e=l({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=G.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)H.call(b,f)&&!I.hasOwnProperty(f)&&(e[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){g=Array(f);for(var m=0;m<f;m++)g[m]=arguments[m+2];e.children=g}return{$$typeof:n,type:a.type,
|
|
21
21
|
key:d,ref:k,props:e,_owner:h}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:r,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:q,_context:a};return a.Consumer=a};exports.createElement=J;exports.createFactory=function(a){var b=J.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:t,render:a}};exports.isValidElement=L;
|
|
22
22
|
exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:Q}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return S().useCallback(a,b)};exports.useContext=function(a,b){return S().useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return S().useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return S().useImperativeHandle(a,b,c)};
|
|
23
|
-
exports.useLayoutEffect=function(a,b){return S().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return S().useMemo(a,b)};exports.useReducer=function(a,b,c){return S().useReducer(a,b,c)};exports.useRef=function(a){return S().useRef(a)};exports.useState=function(a){return S().useState(a)};exports.version="17.0.0
|
|
23
|
+
exports.useLayoutEffect=function(a,b){return S().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return S().useMemo(a,b)};exports.useReducer=function(a,b,c){return S().useReducer(a,b,c)};exports.useRef=function(a){return S().useRef(a)};exports.useState=function(a){return S().useState(a)};exports.version="17.0.0";
|
package/package.json
CHANGED
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v17.0.0
|
|
1
|
+
/** @license React v17.0.0
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,9 +6,6 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
'use strict';
|
|
11
|
-
|
|
12
9
|
(function (global, factory) {
|
|
13
10
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
14
11
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -16,7 +13,7 @@
|
|
|
16
13
|
}(this, (function (exports) { 'use strict';
|
|
17
14
|
|
|
18
15
|
// TODO: this is special because it gets imported during build.
|
|
19
|
-
var ReactVersion = '17.0.0
|
|
16
|
+
var ReactVersion = '17.0.0';
|
|
20
17
|
|
|
21
18
|
// ATTENTION
|
|
22
19
|
// When adding new symbols to this file,
|
|
@@ -128,7 +125,7 @@
|
|
|
128
125
|
* should suspend for if it needs to.
|
|
129
126
|
*/
|
|
130
127
|
var ReactCurrentBatchConfig = {
|
|
131
|
-
|
|
128
|
+
transition: 0
|
|
132
129
|
};
|
|
133
130
|
|
|
134
131
|
/**
|
|
@@ -513,7 +510,7 @@
|
|
|
513
510
|
return 'Portal';
|
|
514
511
|
|
|
515
512
|
case exports.Profiler:
|
|
516
|
-
return
|
|
513
|
+
return 'Profiler';
|
|
517
514
|
|
|
518
515
|
case exports.StrictMode:
|
|
519
516
|
return 'StrictMode';
|
|
@@ -609,7 +606,7 @@
|
|
|
609
606
|
if (!specialPropKeyWarningShown) {
|
|
610
607
|
specialPropKeyWarningShown = true;
|
|
611
608
|
|
|
612
|
-
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://
|
|
609
|
+
error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
|
613
610
|
}
|
|
614
611
|
}
|
|
615
612
|
};
|
|
@@ -627,7 +624,7 @@
|
|
|
627
624
|
if (!specialPropRefWarningShown) {
|
|
628
625
|
specialPropRefWarningShown = true;
|
|
629
626
|
|
|
630
|
-
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://
|
|
627
|
+
error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);
|
|
631
628
|
}
|
|
632
629
|
}
|
|
633
630
|
};
|
|
@@ -645,7 +642,7 @@
|
|
|
645
642
|
var componentName = getComponentName(ReactCurrentOwner.current.type);
|
|
646
643
|
|
|
647
644
|
if (!didWarnAboutStringRefs[componentName]) {
|
|
648
|
-
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://
|
|
645
|
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);
|
|
649
646
|
|
|
650
647
|
didWarnAboutStringRefs[componentName] = true;
|
|
651
648
|
}
|
|
@@ -1501,7 +1498,7 @@
|
|
|
1501
1498
|
|
|
1502
1499
|
if (!(dispatcher !== null)) {
|
|
1503
1500
|
{
|
|
1504
|
-
throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://
|
|
1501
|
+
throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem." );
|
|
1505
1502
|
}
|
|
1506
1503
|
}
|
|
1507
1504
|
|
|
@@ -1513,7 +1510,7 @@
|
|
|
1513
1510
|
|
|
1514
1511
|
{
|
|
1515
1512
|
if (unstable_observedBits !== undefined) {
|
|
1516
|
-
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://
|
|
1513
|
+
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://reactjs.org/link/rules-of-hooks' : '');
|
|
1517
1514
|
} // TODO: add a more generic warning for invalid values.
|
|
1518
1515
|
|
|
1519
1516
|
|
|
@@ -2077,7 +2074,7 @@
|
|
|
2077
2074
|
{
|
|
2078
2075
|
setCurrentlyValidatingElement$1(element);
|
|
2079
2076
|
|
|
2080
|
-
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://
|
|
2077
|
+
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
2081
2078
|
|
|
2082
2079
|
setCurrentlyValidatingElement$1(null);
|
|
2083
2080
|
}
|
|
@@ -2146,7 +2143,6 @@
|
|
|
2146
2143
|
return;
|
|
2147
2144
|
}
|
|
2148
2145
|
|
|
2149
|
-
var name = getComponentName(type);
|
|
2150
2146
|
var propTypes;
|
|
2151
2147
|
|
|
2152
2148
|
if (typeof type === 'function') {
|
|
@@ -2160,11 +2156,15 @@
|
|
|
2160
2156
|
}
|
|
2161
2157
|
|
|
2162
2158
|
if (propTypes) {
|
|
2159
|
+
// Intentionally inside to avoid triggering lazy initializers:
|
|
2160
|
+
var name = getComponentName(type);
|
|
2163
2161
|
checkPropTypes(propTypes, element.props, 'prop', name, element);
|
|
2164
2162
|
} else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
|
|
2165
|
-
propTypesMisspellWarningShown = true;
|
|
2163
|
+
propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:
|
|
2166
2164
|
|
|
2167
|
-
|
|
2165
|
+
var _name = getComponentName(type);
|
|
2166
|
+
|
|
2167
|
+
error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');
|
|
2168
2168
|
}
|
|
2169
2169
|
|
|
2170
2170
|
if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {
|
|
@@ -2391,16 +2391,16 @@
|
|
|
2391
2391
|
// maybe we want to continue warning if they don't exist, to preserve the
|
|
2392
2392
|
// option to rely on it in the future?
|
|
2393
2393
|
var requestAnimationFrame = window.requestAnimationFrame;
|
|
2394
|
-
var cancelAnimationFrame = window.cancelAnimationFrame;
|
|
2394
|
+
var cancelAnimationFrame = window.cancelAnimationFrame;
|
|
2395
2395
|
|
|
2396
2396
|
if (typeof requestAnimationFrame !== 'function') {
|
|
2397
2397
|
// Using console['error'] to evade Babel and ESLint
|
|
2398
|
-
console['error']("This browser doesn't support requestAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://
|
|
2398
|
+
console['error']("This browser doesn't support requestAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://reactjs.org/link/react-polyfills');
|
|
2399
2399
|
}
|
|
2400
2400
|
|
|
2401
2401
|
if (typeof cancelAnimationFrame !== 'function') {
|
|
2402
2402
|
// Using console['error'] to evade Babel and ESLint
|
|
2403
|
-
console['error']("This browser doesn't support cancelAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://
|
|
2403
|
+
console['error']("This browser doesn't support cancelAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://reactjs.org/link/react-polyfills');
|
|
2404
2404
|
}
|
|
2405
2405
|
}
|
|
2406
2406
|
|
|
@@ -3113,13 +3113,6 @@
|
|
|
3113
3113
|
return currentPriorityLevel;
|
|
3114
3114
|
}
|
|
3115
3115
|
|
|
3116
|
-
function unstable_shouldYield() {
|
|
3117
|
-
var currentTime = getCurrentTime();
|
|
3118
|
-
advanceTimers(currentTime);
|
|
3119
|
-
var firstTask = peek(taskQueue);
|
|
3120
|
-
return firstTask !== currentTask && currentTask !== null && firstTask !== null && firstTask.callback !== null && firstTask.startTime <= currentTime && firstTask.expirationTime < currentTask.expirationTime || shouldYieldToHost();
|
|
3121
|
-
}
|
|
3122
|
-
|
|
3123
3116
|
var unstable_requestPaint = requestPaint;
|
|
3124
3117
|
var unstable_Profiling = {
|
|
3125
3118
|
startLoggingProfilingEvents: startLoggingProfilingEvents,
|
|
@@ -3142,7 +3135,7 @@
|
|
|
3142
3135
|
unstable_cancelCallback: unstable_cancelCallback,
|
|
3143
3136
|
unstable_wrapCallback: unstable_wrapCallback,
|
|
3144
3137
|
unstable_getCurrentPriorityLevel: unstable_getCurrentPriorityLevel,
|
|
3145
|
-
unstable_shouldYield
|
|
3138
|
+
get unstable_shouldYield () { return shouldYieldToHost; },
|
|
3146
3139
|
unstable_requestPaint: unstable_requestPaint,
|
|
3147
3140
|
unstable_continueExecution: unstable_continueExecution,
|
|
3148
3141
|
unstable_pauseExecution: unstable_pauseExecution,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v17.0.0
|
|
1
|
+
/** @license React v17.0.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,26 +6,26 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(c,x){"object"===typeof exports&&"undefined"!==typeof module?x(exports):"function"===typeof define&&define.amd?define(["exports"],x):(c=c||self,x(c.React={}))})(this,function(c){function x(a){if(null===a||"object"!==typeof a)return null;a=Y&&a[Y]||a["@@iterator"];return"function"===typeof a?a:null}function y(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,e=1;e<arguments.length;e++)b+="&args[]="+encodeURIComponent(arguments[e]);return"Minified React error #"+
|
|
10
|
-
a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(a,b,e){this.props=a;this.context=b;this.refs=Z;this.updater=e||aa}function ba(){}function
|
|
11
|
-
k)f.children=e;else if(1<k){for(var h=Array(k),d=0;d<k;d++)h[d]=arguments[d+2];f.children=h}if(a&&a.defaultProps)for(l in k=a.defaultProps,k)void 0===f[l]&&(f[l]=k[l]);return{$$typeof:w,type:a,key:c,ref:da,props:f,_owner:
|
|
12
|
-
typeof a&&null!==a&&null!=a.key?wa(""+a.key):b.toString(36)}function C(a,b,e,l,f){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var d=!1;if(null===a)d=!0;else switch(c){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case w:case ha:d=!0}}if(d)return d=a,f=f(d),a=""===l?"."+
|
|
13
|
-
a)),b.push(f)),1;d=0;l=""===l?".":l+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){c=a[k];var h=l+
|
|
14
|
-
a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function n(){var a=ja.current;if(null===a)throw Error(y(321));return a}function
|
|
15
|
-
a[0];if(void 0!==b){var e=a.pop();if(e!==b){a[0]=e;a:for(var c=0,f=a.length;c<f;){var d=2*(c+1)-1,g=a[d],k=d+1,h=a[k];if(void 0!==g&&0>E(g,e))void 0!==h&&0>E(h,g)?(a[c]=h,a[k]=e,c=k):(a[c]=g,a[d]=e,c=d);else if(void 0!==h&&0>E(h,e))a[c]=h,a[k]=e,c=k;else break a}}return b}return null}function E(a,b){var e=a.sortIndex-b.sortIndex;return 0!==e?e:a.id-b.id}function
|
|
16
|
-
function Q(a){z=!1;
|
|
9
|
+
(function(){'use strict';(function(c,x){"object"===typeof exports&&"undefined"!==typeof module?x(exports):"function"===typeof define&&define.amd?define(["exports"],x):(c=c||self,x(c.React={}))})(this,function(c){function x(a){if(null===a||"object"!==typeof a)return null;a=Y&&a[Y]||a["@@iterator"];return"function"===typeof a?a:null}function y(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,e=1;e<arguments.length;e++)b+="&args[]="+encodeURIComponent(arguments[e]);return"Minified React error #"+
|
|
10
|
+
a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(a,b,e){this.props=a;this.context=b;this.refs=Z;this.updater=e||aa}function ba(){}function K(a,b,e){this.props=a;this.context=b;this.refs=Z;this.updater=e||aa}function ca(a,b,e){var l,f={},c=null,da=null;if(null!=b)for(l in void 0!==b.ref&&(da=b.ref),void 0!==b.key&&(c=""+b.key),b)ea.call(b,l)&&!fa.hasOwnProperty(l)&&(f[l]=b[l]);var k=arguments.length-2;if(1===
|
|
11
|
+
k)f.children=e;else if(1<k){for(var h=Array(k),d=0;d<k;d++)h[d]=arguments[d+2];f.children=h}if(a&&a.defaultProps)for(l in k=a.defaultProps,k)void 0===f[l]&&(f[l]=k[l]);return{$$typeof:w,type:a,key:c,ref:da,props:f,_owner:L.current}}function va(a,b){return{$$typeof:w,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===w}function wa(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function N(a,b){return"object"===
|
|
12
|
+
typeof a&&null!==a&&null!=a.key?wa(""+a.key):b.toString(36)}function C(a,b,e,l,f){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var d=!1;if(null===a)d=!0;else switch(c){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case w:case ha:d=!0}}if(d)return d=a,f=f(d),a=""===l?"."+N(d,0):l,Array.isArray(f)?(e="",null!=a&&(e=a.replace(ia,"$&/")+"/"),C(f,b,e,"",function(a){return a})):null!=f&&(M(f)&&(f=va(f,e+(!f.key||d&&d.key===f.key?"":(""+f.key).replace(ia,"$&/")+"/")+
|
|
13
|
+
a)),b.push(f)),1;d=0;l=""===l?".":l+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){c=a[k];var h=l+N(c,k);d+=C(c,b,e,h,f)}else if(h=x(a),"function"===typeof h)for(a=h.call(a),k=0;!(c=a.next()).done;)c=c.value,h=l+N(c,k++),d+=C(c,b,e,h,f);else if("object"===c)throw b=""+a,Error(y(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return d}function D(a,b,e){if(null==a)return a;var l=[],c=0;C(a,l,"","",function(a){return b.call(e,a,c++)});return l}function xa(a){if(-1===
|
|
14
|
+
a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function n(){var a=ja.current;if(null===a)throw Error(y(321));return a}function O(a,b){var e=a.length;a.push(b);a:for(;;){var c=e-1>>>1,f=a[c];if(void 0!==f&&0<E(f,b))a[c]=b,a[e]=f,e=c;else break a}}function p(a){a=a[0];return void 0===a?null:a}function F(a){var b=
|
|
15
|
+
a[0];if(void 0!==b){var e=a.pop();if(e!==b){a[0]=e;a:for(var c=0,f=a.length;c<f;){var d=2*(c+1)-1,g=a[d],k=d+1,h=a[k];if(void 0!==g&&0>E(g,e))void 0!==h&&0>E(h,g)?(a[c]=h,a[k]=e,c=k):(a[c]=g,a[d]=e,c=d);else if(void 0!==h&&0>E(h,e))a[c]=h,a[k]=e,c=k;else break a}}return b}return null}function E(a,b){var e=a.sortIndex-b.sortIndex;return 0!==e?e:a.id-b.id}function P(a){for(var b=p(r);null!==b;){if(null===b.callback)F(r);else if(b.startTime<=a)F(r),b.sortIndex=b.expirationTime,O(q,b);else break;b=p(r)}}
|
|
16
|
+
function Q(a){z=!1;P(a);if(!u)if(null!==p(q))u=!0,A(R);else{var b=p(r);null!==b&&G(Q,b.startTime-a)}}function R(a,b){u=!1;z&&(z=!1,S());H=!0;var e=g;try{P(b);for(m=p(q);null!==m&&(!(m.expirationTime>b)||a&&!T());){var c=m.callback;if("function"===typeof c){m.callback=null;g=m.priorityLevel;var f=c(m.expirationTime<=b);b=t();"function"===typeof f?m.callback=f:m===p(q)&&F(q);P(b)}else F(q);m=p(q)}if(null!==m)var d=!0;else{var n=p(r);null!==n&&G(Q,n.startTime-b);d=!1}return d}finally{m=null,g=e,H=!1}}
|
|
17
17
|
var w=60103,ha=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ka=60109,la=60110,ma=60112;c.Suspense=60113;var na=60115,oa=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;w=d("react.element");ha=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");ka=d("react.provider");la=d("react.context");ma=d("react.forward_ref");c.Suspense=d("react.suspense");na=d("react.memo");oa=d("react.lazy")}var Y="function"===
|
|
18
18
|
typeof Symbol&&Symbol.iterator,ya=Object.prototype.hasOwnProperty,U=Object.assign||function(a,b){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");for(var e=Object(a),c=1;c<arguments.length;c++){var d=arguments[c];if(null!=d){var g=void 0;d=Object(d);for(g in d)ya.call(d,g)&&(e[g]=d[g])}}return e},aa={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},Z={};v.prototype.isReactComponent=
|
|
19
|
-
{};v.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(y(85));this.updater.enqueueSetState(this,a,b,"setState")};v.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ba.prototype=v.prototype;d=
|
|
20
|
-
"function"===typeof performance.now){var za=performance;var
|
|
21
|
-
d=V=function(){}}else{var Ba=window.setTimeout,Ca=window.clearTimeout;"undefined"!==typeof console&&(d=window.cancelAnimationFrame,"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://
|
|
22
|
-
var
|
|
23
|
-
function(a,b){W=Ba(function(){a(
|
|
24
|
-
3}var c=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=
|
|
25
|
-
c,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
a
|
|
29
|
-
|
|
30
|
-
b){
|
|
31
|
-
|
|
19
|
+
{};v.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(y(85));this.updater.enqueueSetState(this,a,b,"setState")};v.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ba.prototype=v.prototype;d=K.prototype=new ba;d.constructor=K;U(d,v.prototype);d.isPureReactComponent=!0;var L={current:null},ea=Object.prototype.hasOwnProperty,fa={key:!0,ref:!0,__self:!0,__source:!0},ia=/\/+/g,ja={current:null},V;if("object"===typeof performance&&
|
|
20
|
+
"function"===typeof performance.now){var za=performance;var t=function(){return za.now()}}else{var pa=Date,Aa=pa.now();t=function(){return pa.now()-Aa}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var B=null,qa=null,ra=function(){if(null!==B)try{var a=t();B(!0,a);B=null}catch(b){throw setTimeout(ra,0),b;}};var A=function(a){null!==B?setTimeout(A,0,a):(B=a,setTimeout(ra,0))};var G=function(a,b){qa=setTimeout(a,b)};var S=function(){clearTimeout(qa)};var T=function(){return!1};
|
|
21
|
+
d=V=function(){}}else{var Ba=window.setTimeout,Ca=window.clearTimeout;"undefined"!==typeof console&&(d=window.cancelAnimationFrame,"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof d&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"));
|
|
22
|
+
var I=!1,J=null,W=-1,sa=5,ta=0;T=function(){return t()>=ta};d=function(){};V=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):sa=0<a?Math.floor(1E3/a):5};var ua=new MessageChannel,X=ua.port2;ua.port1.onmessage=function(){if(null!==J){var a=t();ta=a+sa;try{J(!0,a)?X.postMessage(null):(I=!1,J=null)}catch(b){throw X.postMessage(null),b;}}else I=!1};A=function(a){J=a;I||(I=!0,X.postMessage(null))};G=
|
|
23
|
+
function(a,b){W=Ba(function(){a(t())},b)};S=function(){Ca(W);W=-1}}var q=[],r=[],Da=1,m=null,g=3,H=!1,u=!1,z=!1,Ea=0;d={ReactCurrentDispatcher:ja,ReactCurrentOwner:L,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:{transition:0},assign:U,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=
|
|
24
|
+
3}var c=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=t();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Da++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=
|
|
25
|
+
c,O(r,a),null===p(q)&&a===p(r)&&(z?S():z=!0,G(Q,c-d))):(a.sortIndex=e,O(q,a),u||H||(u=!0,A(R)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},get unstable_shouldYield(){return T},unstable_requestPaint:d,unstable_continueExecution:function(){u||H||(u=!0,A(R))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return p(q)},
|
|
26
|
+
get unstable_now(){return t},get unstable_forceFrameRate(){return V},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Ea},unstable_trace:function(a,b,c){return c()},unstable_wrap:function(a){return a},unstable_subscribe:function(a){},unstable_unsubscribe:function(a){}}};c.Children={map:D,forEach:function(a,b,c){D(a,function(){b.apply(this,
|
|
27
|
+
arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error(y(143));return a}};c.Component=v;c.PureComponent=K;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(y(267,a));var d=U({},a.props),e=a.key,g=a.ref,n=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,n=L.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var k=
|
|
28
|
+
a.type.defaultProps;for(h in b)ea.call(b,h)&&!fa.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==k?k[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){k=Array(h);for(var m=0;m<h;m++)k[m]=arguments[m+2];d.children=k}return{$$typeof:w,type:a.type,key:e,ref:g,props:d,_owner:n}};c.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:la,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ka,_context:a};return a.Consumer=
|
|
29
|
+
a};c.createElement=ca;c.createFactory=function(a){var b=ca.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:ma,render:a}};c.isValidElement=M;c.lazy=function(a){return{$$typeof:oa,_payload:{_status:-1,_result:a},_init:xa}};c.memo=function(a,b){return{$$typeof:na,type:a,compare:void 0===b?null:b}};c.useCallback=function(a,b){return n().useCallback(a,b)};c.useContext=function(a,b){return n().useContext(a,b)};c.useDebugValue=function(a,
|
|
30
|
+
b){};c.useEffect=function(a,b){return n().useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return n().useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return n().useLayoutEffect(a,b)};c.useMemo=function(a,b){return n().useMemo(a,b)};c.useReducer=function(a,b,c){return n().useReducer(a,b,c)};c.useRef=function(a){return n().useRef(a)};c.useState=function(a){return n().useState(a)};c.version="17.0.0"});
|
|
31
|
+
})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v17.0.0
|
|
1
|
+
/** @license React v17.0.0
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,33 +6,33 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(f,H){"object"===typeof exports&&"undefined"!==typeof module?H(exports):"function"===typeof define&&define.amd?define(["exports"],H):(f=f||self,H(f.React={}))})(this,function(f){function H(a){if(null===a||"object"!==typeof a)return null;a=na&&a[na]||a["@@iterator"];return"function"===typeof a?a:null}function I(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+
|
|
10
|
-
a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function E(a,b,c){this.props=a;this.context=b;this.refs=oa;this.updater=c||pa}function qa(){}function
|
|
11
|
-
g)d.children=c;else if(1<g){for(var h=Array(g),f=0;f<g;f++)h[f]=arguments[f+2];d.children=h}if(a&&a.defaultProps)for(e in g=a.defaultProps,g)void 0===d[e]&&(d[e]=g[e]);return{$$typeof:F,type:a,key:m,ref:l,props:d,_owner:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function y(){var a=wa.current;if(null===a)throw Error(I(321));return a}function
|
|
9
|
+
(function(){'use strict';(function(f,H){"object"===typeof exports&&"undefined"!==typeof module?H(exports):"function"===typeof define&&define.amd?define(["exports"],H):(f=f||self,H(f.React={}))})(this,function(f){function H(a){if(null===a||"object"!==typeof a)return null;a=na&&a[na]||a["@@iterator"];return"function"===typeof a?a:null}function I(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+
|
|
10
|
+
a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function E(a,b,c){this.props=a;this.context=b;this.refs=oa;this.updater=c||pa}function qa(){}function X(a,b,c){this.props=a;this.context=b;this.refs=oa;this.updater=c||pa}function ra(a,b,c){var e,d={},m=null,l=null;if(null!=b)for(e in void 0!==b.ref&&(l=b.ref),void 0!==b.key&&(m=""+b.key),b)sa.call(b,e)&&!ta.hasOwnProperty(e)&&(d[e]=b[e]);var g=arguments.length-2;if(1===
|
|
11
|
+
g)d.children=c;else if(1<g){for(var h=Array(g),f=0;f<g;f++)h[f]=arguments[f+2];d.children=h}if(a&&a.defaultProps)for(e in g=a.defaultProps,g)void 0===d[e]&&(d[e]=g[e]);return{$$typeof:F,type:a,key:m,ref:l,props:d,_owner:Y.current}}function Ja(a,b){return{$$typeof:F,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function Z(a){return"object"===typeof a&&null!==a&&a.$$typeof===F}function Ka(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function aa(a,b){return"object"===
|
|
12
|
+
typeof a&&null!==a&&null!=a.key?Ka(""+a.key):b.toString(36)}function O(a,b,c,e,d){var m=typeof a;if("undefined"===m||"boolean"===m)a=null;var l=!1;if(null===a)l=!0;else switch(m){case "string":case "number":l=!0;break;case "object":switch(a.$$typeof){case F:case ua:l=!0}}if(l)return l=a,d=d(l),a=""===e?"."+aa(l,0):e,Array.isArray(d)?(c="",null!=a&&(c=a.replace(va,"$&/")+"/"),O(d,b,c,"",function(a){return a})):null!=d&&(Z(d)&&(d=Ja(d,c+(!d.key||l&&l.key===d.key?"":(""+d.key).replace(va,"$&/")+"/")+
|
|
13
|
+
a)),b.push(d)),1;l=0;e=""===e?".":e+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){m=a[f];var h=e+aa(m,f);l+=O(m,b,c,h,d)}else if(h=H(a),"function"===typeof h)for(a=h.call(a),f=0;!(m=a.next()).done;)m=m.value,h=e+aa(m,f++),l+=O(m,b,c,h,d);else if("object"===m)throw b=""+a,Error(I(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return l}function P(a,b,c){if(null==a)return a;var e=[],d=0;O(a,e,"","",function(a){return b.call(c,a,d++)});return e}function La(a){if(-1===
|
|
14
|
+
a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function y(){var a=wa.current;if(null===a)throw Error(I(321));return a}function ba(a,b){var c=a.length;a.push(b);a:for(;;){var e=c-1>>>1,d=a[e];if(void 0!==d&&0<Q(d,b))a[e]=b,a[c]=d,c=e;else break a}}function u(a){a=a[0];return void 0===a?null:a}function R(a){var b=
|
|
15
15
|
a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var e=0,d=a.length;e<d;){var m=2*(e+1)-1,f=a[m],g=m+1,h=a[g];if(void 0!==f&&0>Q(f,c))void 0!==h&&0>Q(h,f)?(a[e]=h,a[g]=c,e=g):(a[e]=f,a[m]=c,e=m);else if(void 0!==h&&0>Q(h,c))a[e]=h,a[g]=c,e=g;else break a}}return b}return null}function Q(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function z(a){if(null!==t){var b=J;J+=a.length;if(J+1>C){C*=2;if(524288<C){console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`.");
|
|
16
|
-
xa();return}var c=new Int32Array(4*C);c.set(t);K=c.buffer;t=c}t.set(a,b)}}function xa(){var a=K;C=0;t=K=null;J=0;return a}function ya(a,b){p[3]++;null!==t&&z([1,1E3*b,a.id,a.priorityLevel])}function
|
|
17
|
-
b,fa]);D=!1;L&&(L=!1,ha());
|
|
18
|
-
n=u(
|
|
19
|
-
d)}});if(b)throw c;}function Pa(a,b){var c=!1,e=null;
|
|
16
|
+
xa();return}var c=new Int32Array(4*C);c.set(t);K=c.buffer;t=c}t.set(a,b)}}function xa(){var a=K;C=0;t=K=null;J=0;return a}function ya(a,b){p[3]++;null!==t&&z([1,1E3*b,a.id,a.priorityLevel])}function ca(a){for(var b=u(A);null!==b;){if(null===b.callback)R(A);else if(b.startTime<=a)R(A),b.sortIndex=b.expirationTime,ba(x,b),ya(b,a),b.isQueued=!0;else break;b=u(A)}}function da(a){L=!1;ca(a);if(!D)if(null!==u(x))D=!0,M(ea);else{var b=u(A);null!==b&&S(da,b.startTime-a)}}function ea(a,b){null!==t&&z([8,1E3*
|
|
17
|
+
b,fa]);D=!1;L&&(L=!1,ha());T=!0;var c=q;try{try{ca(b);for(n=u(x);null!==n&&(!(n.expirationTime>b)||a&&!ia());){var e=n.callback;if("function"===typeof e){n.callback=null;q=n.priorityLevel;var d=n.expirationTime<=b,f=n,l=b;U++;p[0]=f.priorityLevel;p[1]=f.id;p[2]=U;null!==t&&z([5,1E3*l,f.id,U]);var g=e(d);b=v();"function"===typeof g?(n.callback=g,f=n,l=b,p[0]=0,p[1]=0,p[2]=0,null!==t&&z([6,1E3*l,f.id,U])):(f=n,l=b,p[0]=0,p[1]=0,p[3]--,null!==t&&z([2,1E3*l,f.id]),n.isQueued=!1,n===u(x)&&R(x));ca(b)}else R(x);
|
|
18
|
+
n=u(x)}if(null!==n)var h=!0;else{var k=u(A);null!==k&&S(da,k.startTime-b);h=!1}return h}catch(Ma){if(null!==n){var r=v();a=n;p[0]=0;p[1]=0;p[3]--;null!==t&&z([3,1E3*r,a.id]);n.isQueued=!1}throw Ma;}}finally{n=null,q=c,T=!1,c=v(),fa++,null!==t&&z([7,1E3*c,fa])}}function Na(a){var b=!1,c=null;w.forEach(function(e){try{e.onInteractionTraced(a)}catch(d){b||(b=!0,c=d)}});if(b)throw c;}function Oa(a){var b=!1,c=null;w.forEach(function(e){try{e.onInteractionScheduledWorkCompleted(a)}catch(d){b||(b=!0,c=
|
|
19
|
+
d)}});if(b)throw c;}function Pa(a,b){var c=!1,e=null;w.forEach(function(d){try{d.onWorkScheduled(a,b)}catch(m){c||(c=!0,e=m)}});if(c)throw e;}function Qa(a,b){var c=!1,e=null;w.forEach(function(d){try{d.onWorkStarted(a,b)}catch(m){c||(c=!0,e=m)}});if(c)throw e;}function Ra(a,b){var c=!1,e=null;w.forEach(function(d){try{d.onWorkStopped(a,b)}catch(m){c||(c=!0,e=m)}});if(c)throw e;}function Sa(a,b){var c=!1,e=null;w.forEach(function(d){try{d.onWorkCanceled(a,b)}catch(m){c||(c=!0,e=m)}});if(c)throw e;
|
|
20
20
|
}var F=60103,ua=60106;f.Fragment=60107;f.StrictMode=60108;f.Profiler=60114;var za=60109,Aa=60110,Ba=60112;f.Suspense=60113;var Ca=60115,Da=60116;if("function"===typeof Symbol&&Symbol.for){var k=Symbol.for;F=k("react.element");ua=k("react.portal");f.Fragment=k("react.fragment");f.StrictMode=k("react.strict_mode");f.Profiler=k("react.profiler");za=k("react.provider");Aa=k("react.context");Ba=k("react.forward_ref");f.Suspense=k("react.suspense");Ca=k("react.memo");Da=k("react.lazy")}var na="function"===
|
|
21
21
|
typeof Symbol&&Symbol.iterator,Ta=Object.prototype.hasOwnProperty,ja=Object.assign||function(a,b){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");for(var c=Object(a),e=1;e<arguments.length;e++){var d=arguments[e];if(null!=d){var f=void 0;d=Object(d);for(f in d)Ta.call(d,f)&&(c[f]=d[f])}}return c},pa={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,e){},enqueueSetState:function(a,b,c,e){}},oa={};E.prototype.isReactComponent=
|
|
22
|
-
{};E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(I(85));this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};qa.prototype=E.prototype;k=
|
|
23
|
-
typeof performance&&"function"===typeof performance.now){var Ua=performance;var v=function(){return Ua.now()}}else{var Ea=Date,Va=Ea.now();v=function(){return Ea.now()-Va}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var N=null,Fa=null,Ga=function(){if(null!==N)try{var a=v();N(!0,a);N=null}catch(b){throw setTimeout(Ga,0),b;}};var M=function(a){null!==N?setTimeout(M,0,a):(N=a,setTimeout(Ga,0))};var
|
|
24
|
-
function(){return!1};k=ka=function(){}}else{var Wa=window.setTimeout,Xa=window.clearTimeout;"undefined"!==typeof console&&(k=window.cancelAnimationFrame,"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://
|
|
25
|
-
var
|
|
26
|
-
|
|
22
|
+
{};E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(I(85));this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};qa.prototype=E.prototype;k=X.prototype=new qa;k.constructor=X;ja(k,E.prototype);k.isPureReactComponent=!0;var Y={current:null},sa=Object.prototype.hasOwnProperty,ta={key:!0,ref:!0,__self:!0,__source:!0},va=/\/+/g,wa={current:null},ka;if("object"===
|
|
23
|
+
typeof performance&&"function"===typeof performance.now){var Ua=performance;var v=function(){return Ua.now()}}else{var Ea=Date,Va=Ea.now();v=function(){return Ea.now()-Va}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var N=null,Fa=null,Ga=function(){if(null!==N)try{var a=v();N(!0,a);N=null}catch(b){throw setTimeout(Ga,0),b;}};var M=function(a){null!==N?setTimeout(M,0,a):(N=a,setTimeout(Ga,0))};var S=function(a,b){Fa=setTimeout(a,b)};var ha=function(){clearTimeout(Fa)};var ia=
|
|
24
|
+
function(){return!1};k=ka=function(){}}else{var Wa=window.setTimeout,Xa=window.clearTimeout;"undefined"!==typeof console&&(k=window.cancelAnimationFrame,"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof k&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"));
|
|
25
|
+
var V=!1,W=null,la=-1,Ha=5,Ia=0;ia=function(){return v()>=Ia};k=function(){};ka=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ha=0<a?Math.floor(1E3/a):5};var G=new MessageChannel,ma=G.port2;G.port1.onmessage=function(){if(null!==W){var a=v();Ia=a+Ha;try{W(!0,a)?ma.postMessage(null):(V=!1,W=null)}catch(b){throw ma.postMessage(null),b;}}else V=!1};M=function(a){W=a;V||(V=!0,ma.postMessage(null))};
|
|
26
|
+
S=function(a,b){la=Wa(function(){a(v())},b)};ha=function(){Xa(la);la=-1}}var U=0,fa=0;G="function"===typeof SharedArrayBuffer?new SharedArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):"function"===typeof ArrayBuffer?new ArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):null;var p=null!==G?new Int32Array(G):[];p[0]=0;p[3]=0;var C=p[1]=0,K=null,t=null,J=0,x=[],A=[],Ya=1,n=null,q=3,T=!1,D=!1,L=!1;k={__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,
|
|
27
27
|
unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=q;q=a;try{return b()}finally{q=c}},unstable_next:function(a){switch(q){case 1:case 2:case 3:var b=3;break;default:b=q}var c=q;q=b;try{return a()}finally{q=c}},unstable_scheduleCallback:function(a,b,c){var e=v();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?e+c:e):c=e;switch(a){case 1:var d=-1;break;case 2:d=250;break;case 5:d=1073741823;break;case 4:d=
|
|
28
|
-
1E4;break;default:d=5E3}d=c+d;a={id:Ya++,callback:b,priorityLevel:a,startTime:c,expirationTime:d,sortIndex:-1,isQueued:!1};c>e?(a.sortIndex=c,
|
|
29
|
-
c}}},unstable_getCurrentPriorityLevel:function(){return q},unstable_shouldYield
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
1E4;break;default:d=5E3}d=c+d;a={id:Ya++,callback:b,priorityLevel:a,startTime:c,expirationTime:d,sortIndex:-1,isQueued:!1};c>e?(a.sortIndex=c,ba(A,a),null===u(x)&&a===u(A)&&(L?ha():L=!0,S(da,c-e))):(a.sortIndex=d,ba(x,a),ya(a,e),a.isQueued=!0,D||T||(D=!0,M(ea)));return a},unstable_cancelCallback:function(a){if(a.isQueued){var b=v();p[3]--;null!==t&&z([4,1E3*b,a.id]);a.isQueued=!1}a.callback=null},unstable_wrapCallback:function(a){var b=q;return function(){var c=q;q=b;try{return a.apply(this,arguments)}finally{q=
|
|
29
|
+
c}}},unstable_getCurrentPriorityLevel:function(){return q},get unstable_shouldYield(){return ia},unstable_requestPaint:k,unstable_continueExecution:function(){D||T||(D=!0,M(ea))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return u(x)},get unstable_now(){return v},get unstable_forceFrameRate(){return ka},unstable_Profiling:{startLoggingProfilingEvents:function(){C=131072;K=new ArrayBuffer(4*C);t=new Int32Array(K);J=0},stopLoggingProfilingEvents:xa,sharedProfilingBuffer:G}};
|
|
30
|
+
var Za=0,$a=0,r=null,B=null;r={current:new Set};B={current:null};var w=null;w=new Set;k={ReactCurrentDispatcher:wa,ReactCurrentOwner:Y,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:{transition:0},assign:ja,Scheduler:k,SchedulerTracing:{__proto__:null,get __interactionsRef(){return r},get __subscriberRef(){return B},unstable_clear:function(a){var b=r.current;r.current=new Set;try{return a()}finally{r.current=b}},unstable_getCurrent:function(){return r.current},unstable_getThreadID:function(){return++$a},
|
|
31
|
+
unstable_trace:function(a,b,c){var e=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,d={__count:1,id:Za++,name:a,timestamp:b},f=r.current,l=new Set(f);l.add(d);r.current=l;var g=B.current;try{if(null!==g)g.onInteractionTraced(d)}finally{try{if(null!==g)g.onWorkStarted(l,e)}finally{try{var h=c()}finally{r.current=f;try{if(null!==g)g.onWorkStopped(l,e)}finally{if(d.__count--,null!==g&&0===d.__count)g.onInteractionScheduledWorkCompleted(d)}}}}return h},unstable_wrap:function(a){function b(){var b=
|
|
32
|
+
r.current;r.current=e;d=B.current;try{try{if(null!==d)d.onWorkStarted(e,c)}finally{try{var g=a.apply(void 0,arguments)}finally{if(r.current=b,null!==d)d.onWorkStopped(e,c)}}return g}finally{f||(f=!0,e.forEach(function(a){a.__count--;if(null!==d&&0===a.__count)d.onInteractionScheduledWorkCompleted(a)}))}}var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,e=r.current,d=B.current;if(null!==d)d.onWorkScheduled(e,c);e.forEach(function(a){a.__count++});var f=!1;b.cancel=function(){d=B.current;
|
|
33
|
+
try{if(null!==d)d.onWorkCanceled(e,c)}finally{e.forEach(function(a){a.__count--;if(d&&0===a.__count)d.onInteractionScheduledWorkCompleted(a)})}};return b},unstable_subscribe:function(a){w.add(a);1===w.size&&(B.current={onInteractionScheduledWorkCompleted:Oa,onInteractionTraced:Na,onWorkCanceled:Sa,onWorkScheduled:Pa,onWorkStarted:Qa,onWorkStopped:Ra})},unstable_unsubscribe:function(a){w.delete(a);0===w.size&&(B.current=null)}}};f.Children={map:P,forEach:function(a,b,c){P(a,function(){b.apply(this,
|
|
34
|
+
arguments)},c)},count:function(a){var b=0;P(a,function(){b++});return b},toArray:function(a){return P(a,function(a){return a})||[]},only:function(a){if(!Z(a))throw Error(I(143));return a}};f.Component=E;f.PureComponent=X;f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k;f.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(I(267,a));var e=ja({},a.props),d=a.key,f=a.ref,l=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,l=Y.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var g=
|
|
35
|
+
a.type.defaultProps;for(h in b)sa.call(b,h)&&!ta.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){g=Array(h);for(var k=0;k<h;k++)g[k]=arguments[k+2];e.children=g}return{$$typeof:F,type:a.type,key:d,ref:f,props:e,_owner:l}};f.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:Aa,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:za,_context:a};return a.Consumer=
|
|
36
|
+
a};f.createElement=ra;f.createFactory=function(a){var b=ra.bind(null,a);b.type=a;return b};f.createRef=function(){return{current:null}};f.forwardRef=function(a){return{$$typeof:Ba,render:a}};f.isValidElement=Z;f.lazy=function(a){return{$$typeof:Da,_payload:{_status:-1,_result:a},_init:La}};f.memo=function(a,b){return{$$typeof:Ca,type:a,compare:void 0===b?null:b}};f.useCallback=function(a,b){return y().useCallback(a,b)};f.useContext=function(a,b){return y().useContext(a,b)};f.useDebugValue=function(a,
|
|
37
|
+
b){};f.useEffect=function(a,b){return y().useEffect(a,b)};f.useImperativeHandle=function(a,b,c){return y().useImperativeHandle(a,b,c)};f.useLayoutEffect=function(a,b){return y().useLayoutEffect(a,b)};f.useMemo=function(a,b){return y().useMemo(a,b)};f.useReducer=function(a,b,c){return y().useReducer(a,b,c)};f.useRef=function(a){return y().useRef(a)};f.useState=function(a){return y().useState(a)};f.version="17.0.0"});
|
|
38
|
+
})();
|