react 16.7.0 → 16.8.1
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 +5 -5
- package/cjs/react.development.js +83 -65
- package/cjs/react.production.min.js +17 -16
- package/package.json +24 -51
- package/umd/react.development.js +86 -66
- package/umd/react.production.min.js +25 -24
- package/umd/react.profiling.min.js +30 -28
package/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"branch": "
|
|
3
|
-
"buildNumber": "
|
|
4
|
-
"checksum": "
|
|
5
|
-
"commit": "
|
|
2
|
+
"branch": "pull/14773",
|
|
3
|
+
"buildNumber": "13390",
|
|
4
|
+
"checksum": "0a9ba5d",
|
|
5
|
+
"commit": "11565a207",
|
|
6
6
|
"environment": "ci",
|
|
7
|
-
"reactVersion": "16.
|
|
7
|
+
"reactVersion": "16.8.0-canary-11565a207"
|
|
8
8
|
}
|
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.1
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -20,7 +20,7 @@ var checkPropTypes = require('prop-types/checkPropTypes');
|
|
|
20
20
|
|
|
21
21
|
// TODO: this is special because it gets imported during build.
|
|
22
22
|
|
|
23
|
-
var ReactVersion = '16.
|
|
23
|
+
var ReactVersion = '16.8.1';
|
|
24
24
|
|
|
25
25
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
26
26
|
// nor polyfill, then a plain number is used for performance.
|
|
@@ -54,46 +54,6 @@ function getIteratorFn(maybeIterable) {
|
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var enableHooks = false;
|
|
58
|
-
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// In some cases, StrictMode should also double-render lifecycles.
|
|
62
|
-
// This can be confusing for tests though,
|
|
63
|
-
// And it can be bad for performance in production.
|
|
64
|
-
// This feature flag can be used to control the behavior:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
68
|
-
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// Gather advanced timing metrics for Profiler subtrees.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
// Trace which interactions trigger each commit.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
// Only used in www builds.
|
|
81
|
-
// TODO: true? Here it might just be false.
|
|
82
|
-
|
|
83
|
-
// Only used in www builds.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
// Only used in www builds.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
// React Fire: prevent the value and checked attributes from syncing
|
|
90
|
-
// with their related DOM properties
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
94
|
-
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
95
|
-
var enableStableConcurrentModeAPIs = false;
|
|
96
|
-
|
|
97
57
|
/**
|
|
98
58
|
* Use invariant() to assert state which your program assumes to be true.
|
|
99
59
|
*
|
|
@@ -449,6 +409,17 @@ function createRef() {
|
|
|
449
409
|
return refObject;
|
|
450
410
|
}
|
|
451
411
|
|
|
412
|
+
/**
|
|
413
|
+
* Keeps track of the current dispatcher.
|
|
414
|
+
*/
|
|
415
|
+
var ReactCurrentDispatcher = {
|
|
416
|
+
/**
|
|
417
|
+
* @internal
|
|
418
|
+
* @type {ReactComponent}
|
|
419
|
+
*/
|
|
420
|
+
current: null
|
|
421
|
+
};
|
|
422
|
+
|
|
452
423
|
/**
|
|
453
424
|
* Keeps track of the current owner.
|
|
454
425
|
*
|
|
@@ -460,8 +431,7 @@ var ReactCurrentOwner = {
|
|
|
460
431
|
* @internal
|
|
461
432
|
* @type {ReactComponent}
|
|
462
433
|
*/
|
|
463
|
-
current: null
|
|
464
|
-
currentDispatcher: null
|
|
434
|
+
current: null
|
|
465
435
|
};
|
|
466
436
|
|
|
467
437
|
var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
|
|
@@ -592,6 +562,7 @@ function setCurrentlyValidatingElement(element) {
|
|
|
592
562
|
}
|
|
593
563
|
|
|
594
564
|
var ReactSharedInternals = {
|
|
565
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
|
595
566
|
ReactCurrentOwner: ReactCurrentOwner,
|
|
596
567
|
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
|
597
568
|
assign: _assign
|
|
@@ -1461,14 +1432,16 @@ function memo(type, compare) {
|
|
|
1461
1432
|
}
|
|
1462
1433
|
|
|
1463
1434
|
function resolveDispatcher() {
|
|
1464
|
-
var dispatcher =
|
|
1465
|
-
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
|
|
1435
|
+
var dispatcher = ReactCurrentDispatcher.current;
|
|
1436
|
+
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)') : void 0;
|
|
1466
1437
|
return dispatcher;
|
|
1467
1438
|
}
|
|
1468
1439
|
|
|
1469
|
-
function useContext(Context,
|
|
1440
|
+
function useContext(Context, unstable_observedBits) {
|
|
1470
1441
|
var dispatcher = resolveDispatcher();
|
|
1471
1442
|
{
|
|
1443
|
+
!(unstable_observedBits === undefined) ? warning$1(false, '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://fb.me/rules-of-hooks' : '') : void 0;
|
|
1444
|
+
|
|
1472
1445
|
// TODO: add a more generic warning for invalid values.
|
|
1473
1446
|
if (Context._context !== undefined) {
|
|
1474
1447
|
var realContext = Context._context;
|
|
@@ -1481,7 +1454,7 @@ function useContext(Context, observedBits) {
|
|
|
1481
1454
|
}
|
|
1482
1455
|
}
|
|
1483
1456
|
}
|
|
1484
|
-
return dispatcher.useContext(Context,
|
|
1457
|
+
return dispatcher.useContext(Context, unstable_observedBits);
|
|
1485
1458
|
}
|
|
1486
1459
|
|
|
1487
1460
|
function useState(initialState) {
|
|
@@ -1489,9 +1462,9 @@ function useState(initialState) {
|
|
|
1489
1462
|
return dispatcher.useState(initialState);
|
|
1490
1463
|
}
|
|
1491
1464
|
|
|
1492
|
-
function useReducer(reducer,
|
|
1465
|
+
function useReducer(reducer, initialArg, init) {
|
|
1493
1466
|
var dispatcher = resolveDispatcher();
|
|
1494
|
-
return dispatcher.useReducer(reducer,
|
|
1467
|
+
return dispatcher.useReducer(reducer, initialArg, init);
|
|
1495
1468
|
}
|
|
1496
1469
|
|
|
1497
1470
|
function useRef(initialValue) {
|
|
@@ -1519,9 +1492,16 @@ function useMemo(create, inputs) {
|
|
|
1519
1492
|
return dispatcher.useMemo(create, inputs);
|
|
1520
1493
|
}
|
|
1521
1494
|
|
|
1522
|
-
function
|
|
1495
|
+
function useImperativeHandle(ref, create, inputs) {
|
|
1523
1496
|
var dispatcher = resolveDispatcher();
|
|
1524
|
-
return dispatcher.
|
|
1497
|
+
return dispatcher.useImperativeHandle(ref, create, inputs);
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
function useDebugValue(value, formatterFn) {
|
|
1501
|
+
{
|
|
1502
|
+
var dispatcher = resolveDispatcher();
|
|
1503
|
+
return dispatcher.useDebugValue(value, formatterFn);
|
|
1504
|
+
}
|
|
1525
1505
|
}
|
|
1526
1506
|
|
|
1527
1507
|
/**
|
|
@@ -1610,7 +1590,7 @@ function validateExplicitKey(element, parentType) {
|
|
|
1610
1590
|
|
|
1611
1591
|
setCurrentlyValidatingElement(element);
|
|
1612
1592
|
{
|
|
1613
|
-
warning$1(false, 'Each child in
|
|
1593
|
+
warning$1(false, 'Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
1614
1594
|
}
|
|
1615
1595
|
setCurrentlyValidatingElement(null);
|
|
1616
1596
|
}
|
|
@@ -1807,6 +1787,45 @@ function cloneElementWithValidation(element, props, children) {
|
|
|
1807
1787
|
return newElement;
|
|
1808
1788
|
}
|
|
1809
1789
|
|
|
1790
|
+
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
// In some cases, StrictMode should also double-render lifecycles.
|
|
1794
|
+
// This can be confusing for tests though,
|
|
1795
|
+
// And it can be bad for performance in production.
|
|
1796
|
+
// This feature flag can be used to control the behavior:
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
1800
|
+
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
1801
|
+
|
|
1802
|
+
|
|
1803
|
+
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
// Gather advanced timing metrics for Profiler subtrees.
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
// Trace which interactions trigger each commit.
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
// Only used in www builds.
|
|
1813
|
+
// TODO: true? Here it might just be false.
|
|
1814
|
+
|
|
1815
|
+
// Only used in www builds.
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
// Only used in www builds.
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
// React Fire: prevent the value and checked attributes from syncing
|
|
1822
|
+
// with their related DOM properties
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
1826
|
+
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
1827
|
+
var enableStableConcurrentModeAPIs = false;
|
|
1828
|
+
|
|
1810
1829
|
var React = {
|
|
1811
1830
|
Children: {
|
|
1812
1831
|
map: mapChildren,
|
|
@@ -1825,6 +1844,17 @@ var React = {
|
|
|
1825
1844
|
lazy: lazy,
|
|
1826
1845
|
memo: memo,
|
|
1827
1846
|
|
|
1847
|
+
useCallback: useCallback,
|
|
1848
|
+
useContext: useContext,
|
|
1849
|
+
useEffect: useEffect,
|
|
1850
|
+
useImperativeHandle: useImperativeHandle,
|
|
1851
|
+
useDebugValue: useDebugValue,
|
|
1852
|
+
useLayoutEffect: useLayoutEffect,
|
|
1853
|
+
useMemo: useMemo,
|
|
1854
|
+
useReducer: useReducer,
|
|
1855
|
+
useRef: useRef,
|
|
1856
|
+
useState: useState,
|
|
1857
|
+
|
|
1828
1858
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
1829
1859
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
1830
1860
|
Suspense: REACT_SUSPENSE_TYPE,
|
|
@@ -1854,18 +1884,6 @@ if (enableStableConcurrentModeAPIs) {
|
|
|
1854
1884
|
React.unstable_Profiler = undefined;
|
|
1855
1885
|
}
|
|
1856
1886
|
|
|
1857
|
-
if (enableHooks) {
|
|
1858
|
-
React.useCallback = useCallback;
|
|
1859
|
-
React.useContext = useContext;
|
|
1860
|
-
React.useEffect = useEffect;
|
|
1861
|
-
React.useImperativeMethods = useImperativeMethods;
|
|
1862
|
-
React.useLayoutEffect = useLayoutEffect;
|
|
1863
|
-
React.useMemo = useMemo;
|
|
1864
|
-
React.useReducer = useReducer;
|
|
1865
|
-
React.useRef = useRef;
|
|
1866
|
-
React.useState = useState;
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
1887
|
|
|
1870
1888
|
|
|
1871
1889
|
var React$2 = Object.freeze({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.1
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -7,18 +7,19 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
'use strict';var k=require("object-assign"),n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.concurrent_mode"):60111,y=n?Symbol.for("react.forward_ref"):60112,z=n?Symbol.for("react.suspense"):60113,
|
|
11
|
-
60115,
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
function
|
|
16
|
-
function
|
|
17
|
-
function
|
|
18
|
-
function
|
|
19
|
-
0;!(
|
|
20
|
-
function
|
|
21
|
-
var X={Children:{map:function(a,b,
|
|
22
|
-
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
'use strict';var k=require("object-assign"),n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.concurrent_mode"):60111,y=n?Symbol.for("react.forward_ref"):60112,z=n?Symbol.for("react.suspense"):60113,aa=n?Symbol.for("react.memo"):
|
|
11
|
+
60115,ba=n?Symbol.for("react.lazy"):60116,A="function"===typeof Symbol&&Symbol.iterator;function ca(a,b,d,c,e,g,h,f){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[d,c,e,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}
|
|
12
|
+
function B(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);ca(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D={};
|
|
13
|
+
function E(a,b,d){this.props=a;this.context=b;this.refs=D;this.updater=d||C}E.prototype.isReactComponent={};E.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?B("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}F.prototype=E.prototype;function G(a,b,d){this.props=a;this.context=b;this.refs=D;this.updater=d||C}var H=G.prototype=new F;
|
|
14
|
+
H.constructor=G;k(H,E.prototype);H.isPureReactComponent=!0;var I={current:null},J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};
|
|
15
|
+
function M(a,b,d){var c=void 0,e={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,c)&&!L.hasOwnProperty(c)&&(e[c]=b[c]);var f=arguments.length-2;if(1===f)e.children=d;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];e.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===e[c]&&(e[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:h,props:e,_owner:J.current}}
|
|
16
|
+
function da(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var O=/\/+/g,P=[];function Q(a,b,d,c){if(P.length){var e=P.pop();e.result=a;e.keyPrefix=b;e.func=d;e.context=c;e.count=0;return e}return{result:a,keyPrefix:b,func:d,context:c,count:0}}
|
|
17
|
+
function R(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>P.length&&P.push(a)}
|
|
18
|
+
function S(a,b,d,c){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var g=!1;if(null===a)g=!0;else switch(e){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return d(c,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){e=a[h];var f=b+T(e,h);g+=S(e,f,d,c)}else if(null===a||"object"!==typeof a?f=null:(f=A&&a[A]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),h=
|
|
19
|
+
0;!(e=a.next()).done;)e=e.value,f=b+T(e,h++),g+=S(e,f,d,c);else"object"===e&&(d=""+a,B("31","[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return g}function U(a,b,d){return null==a?0:S(a,"",b,d)}function T(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ea(a,b){a.func.call(a.context,b,a.count++)}
|
|
20
|
+
function fa(a,b,d){var c=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,c,d,function(a){return a}):null!=a&&(N(a)&&(a=da(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+d)),c.push(a))}function V(a,b,d,c,e){var g="";null!=d&&(g=(""+d).replace(O,"$&/")+"/");b=Q(b,g,c,e);U(a,fa,b);R(b)}function W(){var a=I.current;null===a?B("307"):void 0;return a}
|
|
21
|
+
var X={Children:{map:function(a,b,d){if(null==a)return a;var c=[];V(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=Q(null,null,b,d);U(a,ea,b);R(b)},count:function(a){return U(a,function(){return null},null)},toArray:function(a){var b=[];V(a,b,null,function(a){return a});return b},only:function(a){N(a)?void 0:B("143");return a}},createRef:function(){return{current:null}},Component:E,PureComponent:G,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,
|
|
22
|
+
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:ba,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:aa,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return W().useCallback(a,b)},useContext:function(a,b){return W().useContext(a,b)},useEffect:function(a,b){return W().useEffect(a,b)},useImperativeHandle:function(a,
|
|
23
|
+
b,d){return W().useImperativeHandle(a,b,d)},useDebugValue:function(){},useLayoutEffect:function(a,b){return W().useLayoutEffect(a,b)},useMemo:function(a,b){return W().useMemo(a,b)},useReducer:function(a,b,d){return W().useReducer(a,b,d)},useRef:function(a){return W().useRef(a)},useState:function(a){return W().useState(a)},Fragment:r,StrictMode:t,Suspense:z,createElement:M,cloneElement:function(a,b,d){null===a||void 0===a?B("267",a):void 0;var c=void 0,e=k({},a.props),g=a.key,h=a.ref,f=a._owner;if(null!=
|
|
24
|
+
b){void 0!==b.ref&&(h=b.ref,f=J.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)K.call(b,c)&&!L.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:e,_owner:f}},createFactory:function(a){var b=M.bind(null,a);b.type=a;return b},isValidElement:N,version:"16.8.1",
|
|
25
|
+
unstable_ConcurrentMode:x,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:I,ReactCurrentOwner:J,assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;
|
package/package.json
CHANGED
|
@@ -1,48 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"_id": "react@0.0.0-4a1072194",
|
|
4
|
-
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-ZUj2lkUDLjwJaGu4WD0dYSvsfIyhQt2l/AJDlg4ij+rCDU3fSFKgHWanNovViUoaWHAxgrpft3KGFfvWPZH5LA==",
|
|
6
|
-
"_location": "/react",
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "version",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "react@0.0.0-4a1072194",
|
|
12
|
-
"name": "react",
|
|
13
|
-
"escapedName": "react",
|
|
14
|
-
"rawSpec": "0.0.0-4a1072194",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "0.0.0-4a1072194"
|
|
17
|
-
},
|
|
18
|
-
"_requiredBy": [
|
|
19
|
-
"#USER",
|
|
20
|
-
"/"
|
|
21
|
-
],
|
|
22
|
-
"_resolved": "https://registry.npmjs.org/react/-/react-0.0.0-4a1072194.tgz",
|
|
23
|
-
"_shasum": "eca0e35d0d40fd15770de2e46073aeb654723443",
|
|
24
|
-
"_spec": "react@0.0.0-4a1072194",
|
|
25
|
-
"_where": "/Users/acdlite/Code/react/build/node_modules",
|
|
26
|
-
"browserify": {
|
|
27
|
-
"transform": [
|
|
28
|
-
"loose-envify"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/facebook/react/issues"
|
|
33
|
-
},
|
|
34
|
-
"bundleDependencies": false,
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"loose-envify": "^1.1.0",
|
|
37
|
-
"object-assign": "^4.1.1",
|
|
38
|
-
"prop-types": "^15.6.2",
|
|
39
|
-
"scheduler": "^0.12.0"
|
|
40
|
-
},
|
|
41
|
-
"deprecated": false,
|
|
2
|
+
"name": "react",
|
|
42
3
|
"description": "React is a JavaScript library for building user interfaces.",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
4
|
+
"keywords": [
|
|
5
|
+
"react"
|
|
6
|
+
],
|
|
7
|
+
"version": "16.8.1",
|
|
8
|
+
"homepage": "https://reactjs.org/",
|
|
9
|
+
"bugs": "https://github.com/facebook/react/issues",
|
|
10
|
+
"license": "MIT",
|
|
46
11
|
"files": [
|
|
47
12
|
"LICENSE",
|
|
48
13
|
"README.md",
|
|
@@ -51,16 +16,24 @@
|
|
|
51
16
|
"cjs/",
|
|
52
17
|
"umd/"
|
|
53
18
|
],
|
|
54
|
-
"homepage": "https://reactjs.org/",
|
|
55
|
-
"keywords": [
|
|
56
|
-
"react"
|
|
57
|
-
],
|
|
58
|
-
"license": "MIT",
|
|
59
19
|
"main": "index.js",
|
|
60
|
-
"name": "react",
|
|
61
20
|
"repository": {
|
|
62
21
|
"type": "git",
|
|
63
|
-
"url": "
|
|
22
|
+
"url": "https://github.com/facebook/react.git",
|
|
23
|
+
"directory": "packages/react"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=0.10.0"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"loose-envify": "^1.1.0",
|
|
30
|
+
"object-assign": "^4.1.1",
|
|
31
|
+
"prop-types": "^15.6.2",
|
|
32
|
+
"scheduler": "^0.13.1"
|
|
64
33
|
},
|
|
65
|
-
"
|
|
34
|
+
"browserify": {
|
|
35
|
+
"transform": [
|
|
36
|
+
"loose-envify"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
66
39
|
}
|
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.1
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
// TODO: this is special because it gets imported during build.
|
|
19
19
|
|
|
20
|
-
var ReactVersion = '16.
|
|
20
|
+
var ReactVersion = '16.8.1';
|
|
21
21
|
|
|
22
22
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
23
23
|
// nor polyfill, then a plain number is used for performance.
|
|
@@ -51,46 +51,6 @@ function getIteratorFn(maybeIterable) {
|
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
var enableHooks = false;
|
|
55
|
-
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
// In some cases, StrictMode should also double-render lifecycles.
|
|
59
|
-
// This can be confusing for tests though,
|
|
60
|
-
// And it can be bad for performance in production.
|
|
61
|
-
// This feature flag can be used to control the behavior:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
65
|
-
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
// Gather advanced timing metrics for Profiler subtrees.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// Trace which interactions trigger each commit.
|
|
75
|
-
var enableSchedulerTracing = true;
|
|
76
|
-
|
|
77
|
-
// Only used in www builds.
|
|
78
|
-
// TODO: true? Here it might just be false.
|
|
79
|
-
|
|
80
|
-
// Only used in www builds.
|
|
81
|
-
var enableSchedulerDebugging = true;
|
|
82
|
-
|
|
83
|
-
// Only used in www builds.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
// React Fire: prevent the value and checked attributes from syncing
|
|
87
|
-
// with their related DOM properties
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
91
|
-
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
92
|
-
var enableStableConcurrentModeAPIs = false;
|
|
93
|
-
|
|
94
54
|
/*
|
|
95
55
|
object-assign
|
|
96
56
|
(c) Sindre Sorhus
|
|
@@ -537,6 +497,8 @@ function createRef() {
|
|
|
537
497
|
return refObject;
|
|
538
498
|
}
|
|
539
499
|
|
|
500
|
+
var enableSchedulerDebugging = false;
|
|
501
|
+
|
|
540
502
|
/* eslint-disable no-var */
|
|
541
503
|
|
|
542
504
|
// TODO: Use symbols?
|
|
@@ -714,7 +676,7 @@ function flushWork(didTimeout) {
|
|
|
714
676
|
if (didTimeout) {
|
|
715
677
|
// Flush all the expired callbacks without yielding.
|
|
716
678
|
while (firstCallbackNode !== null && !(enableSchedulerDebugging && isSchedulerPaused)) {
|
|
717
|
-
// TODO Wrap
|
|
679
|
+
// TODO Wrap in feature flag
|
|
718
680
|
// Read the current time. Flush all the callbacks that expire at or
|
|
719
681
|
// earlier than that time. Then read the current time again and repeat.
|
|
720
682
|
// This optimizes for as few performance.now calls as possible.
|
|
@@ -1169,6 +1131,45 @@ typeof MessageChannel !== 'function') {
|
|
|
1169
1131
|
};
|
|
1170
1132
|
}
|
|
1171
1133
|
|
|
1134
|
+
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
// In some cases, StrictMode should also double-render lifecycles.
|
|
1138
|
+
// This can be confusing for tests though,
|
|
1139
|
+
// And it can be bad for performance in production.
|
|
1140
|
+
// This feature flag can be used to control the behavior:
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
1144
|
+
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
// Gather advanced timing metrics for Profiler subtrees.
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
// Trace which interactions trigger each commit.
|
|
1154
|
+
var enableSchedulerTracing = true;
|
|
1155
|
+
|
|
1156
|
+
// Only used in www builds.
|
|
1157
|
+
// TODO: true? Here it might just be false.
|
|
1158
|
+
|
|
1159
|
+
// Only used in www builds.
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
// Only used in www builds.
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
// React Fire: prevent the value and checked attributes from syncing
|
|
1166
|
+
// with their related DOM properties
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
1170
|
+
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
1171
|
+
var enableStableConcurrentModeAPIs = false;
|
|
1172
|
+
|
|
1172
1173
|
var DEFAULT_THREAD_ID = 0;
|
|
1173
1174
|
|
|
1174
1175
|
// Counters used to generate unique IDs.
|
|
@@ -1526,6 +1527,17 @@ function onWorkCanceled(interactions, threadID) {
|
|
|
1526
1527
|
}
|
|
1527
1528
|
}
|
|
1528
1529
|
|
|
1530
|
+
/**
|
|
1531
|
+
* Keeps track of the current dispatcher.
|
|
1532
|
+
*/
|
|
1533
|
+
var ReactCurrentDispatcher = {
|
|
1534
|
+
/**
|
|
1535
|
+
* @internal
|
|
1536
|
+
* @type {ReactComponent}
|
|
1537
|
+
*/
|
|
1538
|
+
current: null
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1529
1541
|
/**
|
|
1530
1542
|
* Keeps track of the current owner.
|
|
1531
1543
|
*
|
|
@@ -1537,8 +1549,7 @@ var ReactCurrentOwner = {
|
|
|
1537
1549
|
* @internal
|
|
1538
1550
|
* @type {ReactComponent}
|
|
1539
1551
|
*/
|
|
1540
|
-
current: null
|
|
1541
|
-
currentDispatcher: null
|
|
1552
|
+
current: null
|
|
1542
1553
|
};
|
|
1543
1554
|
|
|
1544
1555
|
var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
|
|
@@ -1669,6 +1680,7 @@ function setCurrentlyValidatingElement(element) {
|
|
|
1669
1680
|
}
|
|
1670
1681
|
|
|
1671
1682
|
var ReactSharedInternals = {
|
|
1683
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
|
1672
1684
|
ReactCurrentOwner: ReactCurrentOwner,
|
|
1673
1685
|
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
|
1674
1686
|
assign: objectAssign
|
|
@@ -2571,14 +2583,16 @@ function memo(type, compare) {
|
|
|
2571
2583
|
}
|
|
2572
2584
|
|
|
2573
2585
|
function resolveDispatcher() {
|
|
2574
|
-
var dispatcher =
|
|
2575
|
-
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
|
|
2586
|
+
var dispatcher = ReactCurrentDispatcher.current;
|
|
2587
|
+
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)') : void 0;
|
|
2576
2588
|
return dispatcher;
|
|
2577
2589
|
}
|
|
2578
2590
|
|
|
2579
|
-
function useContext(Context,
|
|
2591
|
+
function useContext(Context, unstable_observedBits) {
|
|
2580
2592
|
var dispatcher = resolveDispatcher();
|
|
2581
2593
|
{
|
|
2594
|
+
!(unstable_observedBits === undefined) ? warning$1(false, '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://fb.me/rules-of-hooks' : '') : void 0;
|
|
2595
|
+
|
|
2582
2596
|
// TODO: add a more generic warning for invalid values.
|
|
2583
2597
|
if (Context._context !== undefined) {
|
|
2584
2598
|
var realContext = Context._context;
|
|
@@ -2591,7 +2605,7 @@ function useContext(Context, observedBits) {
|
|
|
2591
2605
|
}
|
|
2592
2606
|
}
|
|
2593
2607
|
}
|
|
2594
|
-
return dispatcher.useContext(Context,
|
|
2608
|
+
return dispatcher.useContext(Context, unstable_observedBits);
|
|
2595
2609
|
}
|
|
2596
2610
|
|
|
2597
2611
|
function useState(initialState) {
|
|
@@ -2599,9 +2613,9 @@ function useState(initialState) {
|
|
|
2599
2613
|
return dispatcher.useState(initialState);
|
|
2600
2614
|
}
|
|
2601
2615
|
|
|
2602
|
-
function useReducer(reducer,
|
|
2616
|
+
function useReducer(reducer, initialArg, init) {
|
|
2603
2617
|
var dispatcher = resolveDispatcher();
|
|
2604
|
-
return dispatcher.useReducer(reducer,
|
|
2618
|
+
return dispatcher.useReducer(reducer, initialArg, init);
|
|
2605
2619
|
}
|
|
2606
2620
|
|
|
2607
2621
|
function useRef(initialValue) {
|
|
@@ -2629,9 +2643,16 @@ function useMemo(create, inputs) {
|
|
|
2629
2643
|
return dispatcher.useMemo(create, inputs);
|
|
2630
2644
|
}
|
|
2631
2645
|
|
|
2632
|
-
function
|
|
2646
|
+
function useImperativeHandle(ref, create, inputs) {
|
|
2633
2647
|
var dispatcher = resolveDispatcher();
|
|
2634
|
-
return dispatcher.
|
|
2648
|
+
return dispatcher.useImperativeHandle(ref, create, inputs);
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
function useDebugValue(value, formatterFn) {
|
|
2652
|
+
{
|
|
2653
|
+
var dispatcher = resolveDispatcher();
|
|
2654
|
+
return dispatcher.useDebugValue(value, formatterFn);
|
|
2655
|
+
}
|
|
2635
2656
|
}
|
|
2636
2657
|
|
|
2637
2658
|
/**
|
|
@@ -2825,7 +2846,7 @@ function validateExplicitKey(element, parentType) {
|
|
|
2825
2846
|
|
|
2826
2847
|
setCurrentlyValidatingElement(element);
|
|
2827
2848
|
{
|
|
2828
|
-
warning$1(false, 'Each child in
|
|
2849
|
+
warning$1(false, 'Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
2829
2850
|
}
|
|
2830
2851
|
setCurrentlyValidatingElement(null);
|
|
2831
2852
|
}
|
|
@@ -3040,6 +3061,17 @@ var React = {
|
|
|
3040
3061
|
lazy: lazy,
|
|
3041
3062
|
memo: memo,
|
|
3042
3063
|
|
|
3064
|
+
useCallback: useCallback,
|
|
3065
|
+
useContext: useContext,
|
|
3066
|
+
useEffect: useEffect,
|
|
3067
|
+
useImperativeHandle: useImperativeHandle,
|
|
3068
|
+
useDebugValue: useDebugValue,
|
|
3069
|
+
useLayoutEffect: useLayoutEffect,
|
|
3070
|
+
useMemo: useMemo,
|
|
3071
|
+
useReducer: useReducer,
|
|
3072
|
+
useRef: useRef,
|
|
3073
|
+
useState: useState,
|
|
3074
|
+
|
|
3043
3075
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
3044
3076
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
3045
3077
|
Suspense: REACT_SUSPENSE_TYPE,
|
|
@@ -3069,18 +3101,6 @@ if (enableStableConcurrentModeAPIs) {
|
|
|
3069
3101
|
React.unstable_Profiler = undefined;
|
|
3070
3102
|
}
|
|
3071
3103
|
|
|
3072
|
-
if (enableHooks) {
|
|
3073
|
-
React.useCallback = useCallback;
|
|
3074
|
-
React.useContext = useContext;
|
|
3075
|
-
React.useEffect = useEffect;
|
|
3076
|
-
React.useImperativeMethods = useImperativeMethods;
|
|
3077
|
-
React.useLayoutEffect = useLayoutEffect;
|
|
3078
|
-
React.useMemo = useMemo;
|
|
3079
|
-
React.useReducer = useReducer;
|
|
3080
|
-
React.useRef = useRef;
|
|
3081
|
-
React.useState = useState;
|
|
3082
|
-
}
|
|
3083
|
-
|
|
3084
3104
|
|
|
3085
3105
|
|
|
3086
3106
|
var React$2 = Object.freeze({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.1
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,26 +6,27 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(
|
|
10
|
-
1;throw a;}}function q(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)d+="&args[]="+encodeURIComponent(arguments[f+1]);
|
|
11
|
-
d||
|
|
12
|
-
c:d===c&&(c=
|
|
13
|
-
if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)
|
|
14
|
-
typeof a&&null!==a&&a.$$typeof===
|
|
15
|
-
a)e=!0;else switch(c){case "string":case "number":e=!0;break;case "object":switch(a.$$typeof){case
|
|
16
|
-
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return e}function
|
|
17
|
-
d)),f.push(a))}function
|
|
18
|
-
60112,
|
|
19
|
-
var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var d=Object(a);for(var c,e=1;e<arguments.length;e++){var g=Object(arguments[e]);
|
|
20
|
-
|
|
21
|
-
e.isPureReactComponent=!0;var c=null,
|
|
22
|
-
var k=function(){return
|
|
23
|
-
("function"!==typeof
|
|
24
|
-
|
|
25
|
-
a.next;if(null!==b){if(b===a)c=null;else{a===c&&(c=b);var d=a.previous;d.next=b;b.previous=d}a.next=a.previous=null}},unstable_shouldYield:function(){return!
|
|
26
|
-
next:null,previous:null};if(null===c)c=a.next=a.previous=a,
|
|
27
|
-
arguments)}finally{g=d,l=c,
|
|
28
|
-
unstable_wrap:function(a){return a}}});var
|
|
29
|
-
Component:
|
|
30
|
-
b
|
|
31
|
-
|
|
9
|
+
'use strict';(function(M,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q():"function"===typeof define&&define.amd?define(q):M.React=q()})(this,function(){function M(a,b,d,f,p,c,e,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var n=[d,f,p,c,e,h],ta=0;a=Error(b.replace(/%s/g,function(){return n[ta++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function q(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)d+="&args[]="+encodeURIComponent(arguments[f+1]);M(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}function t(a,b,d){this.props=a;this.context=b;this.refs=ba;this.updater=d||ca}function da(){}function N(a,b,d){this.props=a;this.context=b;this.refs=ba;this.updater=
|
|
11
|
+
d||ca}function u(){if(!x){var a=c.expirationTime;C?O():C=!0;D(ua,a)}}function P(){var a=c,b=c.next;if(c===b)c=null;else{var d=c.previous;c=d.next=b;b.previous=d}a.next=a.previous=null;d=a.callback;b=a.expirationTime;a=a.priorityLevel;var f=g,p=E;g=a;E=b;try{var n=d()}finally{g=f,E=p}if("function"===typeof n)if(n={callback:n,priorityLevel:a,expirationTime:b,next:null,previous:null},null===c)c=n.next=n.previous=n;else{d=null;a=c;do{if(a.expirationTime>=b){d=a;break}a=a.next}while(a!==c);null===d?d=
|
|
12
|
+
c:d===c&&(c=n,u());b=d.previous;b.next=d.previous=n;n.next=d;n.previous=b}}function Q(){if(-1===l&&null!==c&&1===c.priorityLevel){x=!0;try{do P();while(null!==c&&1===c.priorityLevel)}finally{x=!1,null!==c?u():C=!1}}}function ua(a){x=!0;var b=F;F=a;try{if(a)for(;null!==c;){var d=k();if(c.expirationTime<=d){do P();while(null!==c&&c.expirationTime<=d)}else break}else if(null!==c){do P();while(null!==c&&!G())}}finally{x=!1,F=b,null!==c?u():C=!1,Q()}}function ea(a,b,d){var f=void 0,p={},c=null,e=null;
|
|
13
|
+
if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)fa.call(b,f)&&!ha.hasOwnProperty(f)&&(p[f]=b[f]);var h=arguments.length-2;if(1===h)p.children=d;else if(1<h){for(var g=Array(h),k=0;k<h;k++)g[k]=arguments[k+2];p.children=g}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===p[f]&&(p[f]=h[f]);return{$$typeof:y,type:a,key:c,ref:e,props:p,_owner:R.current}}function va(a,b){return{$$typeof:y,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function S(a){return"object"===
|
|
14
|
+
typeof a&&null!==a&&a.$$typeof===y}function wa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ia(a,b,d,f){if(H.length){var c=H.pop();c.result=a;c.keyPrefix=b;c.func=d;c.context=f;c.count=0;return c}return{result:a,keyPrefix:b,func:d,context:f,count:0}}function ja(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>H.length&&H.push(a)}function T(a,b,d,f){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var e=!1;if(null===
|
|
15
|
+
a)e=!0;else switch(c){case "string":case "number":e=!0;break;case "object":switch(a.$$typeof){case y:case xa:e=!0}}if(e)return d(f,a,""===b?"."+U(a,0):b),1;e=0;b=""===b?".":b+":";if(Array.isArray(a))for(var g=0;g<a.length;g++){c=a[g];var h=b+U(c,g);e+=T(c,h,d,f)}else if(null===a||"object"!==typeof a?h=null:(h=ka&&a[ka]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),g=0;!(c=a.next()).done;)c=c.value,h=b+U(c,g++),e+=T(c,h,d,f);else"object"===c&&(d=""+a,q("31",
|
|
16
|
+
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return e}function V(a,b,d){return null==a?0:T(a,"",b,d)}function U(a,b){return"object"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,d){a.func.call(a.context,b,a.count++)}function za(a,b,d){var f=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,f,d,function(a){return a}):null!=a&&(S(a)&&(a=va(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(la,"$&/")+"/")+
|
|
17
|
+
d)),f.push(a))}function W(a,b,d,f,c){var e="";null!=d&&(e=(""+d).replace(la,"$&/")+"/");b=ia(b,e,f,c);V(a,za,b);ja(b)}function m(){var a=ma.current;null===a?q("307"):void 0;return a}var e="function"===typeof Symbol&&Symbol.for,y=e?Symbol.for("react.element"):60103,xa=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,X=e?Symbol.for("react.strict_mode"):60108,Aa=e?Symbol.for("react.profiler"):60114,Ba=e?Symbol.for("react.provider"):60109,Ca=e?Symbol.for("react.context"):60110,
|
|
18
|
+
Da=e?Symbol.for("react.concurrent_mode"):60111,Ea=e?Symbol.for("react.forward_ref"):60112,Fa=e?Symbol.for("react.suspense"):60113,Ga=e?Symbol.for("react.memo"):60115,Ha=e?Symbol.for("react.lazy"):60116,ka="function"===typeof Symbol&&Symbol.iterator,na=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,I=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=
|
|
19
|
+
0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var d=Object(a);for(var c,e=1;e<arguments.length;e++){var g=Object(arguments[e]);
|
|
20
|
+
for(var k in g)Ia.call(g,k)&&(d[k]=g[k]);if(na){c=na(g);for(var h=0;h<c.length;h++)Ja.call(g,c[h])&&(d[c[h]]=g[c[h]])}}return d},ca={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,b,d,c){}},ba={};t.prototype.isReactComponent={};t.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?q("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};t.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,
|
|
21
|
+
a,"forceUpdate")};da.prototype=t.prototype;e=N.prototype=new da;e.constructor=N;I(e,t.prototype);e.isPureReactComponent=!0;var c=null,F=!1,g=3,l=-1,E=-1,x=!1,C=!1,Ka=Date,La="function"===typeof setTimeout?setTimeout:void 0,Ma="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,pa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,qa,ra,Y=function(a){qa=oa(function(b){Ma(ra);a(b)});ra=La(function(){pa(qa);
|
|
22
|
+
a(k())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Na=performance;var k=function(){return Na.now()}}else k=function(){return Ka.now()};e=null;"undefined"!==typeof window?e=window:"undefined"!==typeof global&&(e=global);if(e&&e._schedMock){e=e._schedMock;var D=e[0];var O=e[1];var G=e[2];k=e[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var v=null,Oa=function(a){if(null!==v)try{v(a)}finally{v=null}};D=function(a,b){null!==v?setTimeout(D,
|
|
23
|
+
0,a):(v=a,setTimeout(Oa,0,!1))};O=function(){v=null};G=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof oa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof pa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var w=null,J=!1,z=-1,A=!1,Z=!1,K=0,
|
|
24
|
+
L=33,B=33;G=function(){return K<=k()};e=new MessageChannel;var sa=e.port2;e.port1.onmessage=function(a){J=!1;a=w;var b=z;w=null;z=-1;var d=k(),c=!1;if(0>=K-d)if(-1!==b&&b<=d)c=!0;else{A||(A=!0,Y(aa));w=a;z=b;return}if(null!==a){Z=!0;try{a(c)}finally{Z=!1}}};var aa=function(a){if(null!==w){Y(aa);var b=a-K+B;b<B&&L<B?(8>b&&(b=8),B=b<L?L:b):L=b;K=a+B;J||(J=!0,sa.postMessage(void 0))}else A=!1};D=function(a,b){w=a;z=b;Z||0>b?sa.postMessage(void 0):A||(A=!0,Y(aa))};O=function(){w=null;J=!1;z=-1}}var Pa=
|
|
25
|
+
0,ma={current:null},R={current:null};e={ReactCurrentDispatcher:ma,ReactCurrentOwner:R,assign:I};I(e,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)c=null;else{a===c&&(c=b);var d=a.previous;d.next=b;b.previous=d}a.next=a.previous=null}},unstable_shouldYield:function(){return!F&&(null!==c&&c.expirationTime<E||G())},unstable_now:k,unstable_scheduleCallback:function(a,b){var d=-1!==l?l:k();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=d+b.timeout;
|
|
26
|
+
else switch(g){case 1:b=d+-1;break;case 2:b=d+250;break;case 5:b=d+1073741823;break;case 4:b=d+1E4;break;default:b=d+5E3}a={callback:a,priorityLevel:g,expirationTime:b,next:null,previous:null};if(null===c)c=a.next=a.previous=a,u();else{d=null;var f=c;do{if(f.expirationTime>b){d=f;break}f=f.next}while(f!==c);null===d?d=c:d===c&&(c=a,u());b=d.previous;b.next=d.previous=a;a.next=d;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=
|
|
27
|
+
3}var d=g,c=l;g=a;l=k();try{return b()}finally{g=d,l=c,Q()}},unstable_wrapCallback:function(a){var b=g;return function(){var d=g,c=l;g=b;l=k();try{return a.apply(this,arguments)}finally{g=d,l=c,Q()}}},unstable_getFirstCallbackNode:function(){return c},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==c&&u()},unstable_getCurrentPriorityLevel:function(){return g}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},
|
|
28
|
+
unstable_getThreadID:function(){return++Pa},unstable_subscribe:function(a){},unstable_trace:function(a,b,d){return d()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var fa=Object.prototype.hasOwnProperty,ha={key:!0,ref:!0,__self:!0,__source:!0},la=/\/+/g,H=[];r={Children:{map:function(a,b,d){if(null==a)return a;var c=[];W(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=ia(null,null,b,d);V(a,ya,b);ja(b)},count:function(a){return V(a,function(){return null},
|
|
29
|
+
null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){S(a)?void 0:q("143");return a}},createRef:function(){return{current:null}},Component:t,PureComponent:N,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ca,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Ba,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ea,render:a}},lazy:function(a){return{$$typeof:Ha,
|
|
30
|
+
_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ga,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return m().useCallback(a,b)},useContext:function(a,b){return m().useContext(a,b)},useEffect:function(a,b){return m().useEffect(a,b)},useImperativeHandle:function(a,b,d){return m().useImperativeHandle(a,b,d)},useDebugValue:function(a,b){},useLayoutEffect:function(a,b){return m().useLayoutEffect(a,b)},useMemo:function(a,b){return m().useMemo(a,b)},useReducer:function(a,
|
|
31
|
+
b,d){return m().useReducer(a,b,d)},useRef:function(a){return m().useRef(a)},useState:function(a){return m().useState(a)},Fragment:r,StrictMode:X,Suspense:Fa,createElement:ea,cloneElement:function(a,b,d){null===a||void 0===a?q("267",a):void 0;var c=void 0,e=I({},a.props),g=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=R.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)fa.call(b,c)&&!ha.hasOwnProperty(c)&&(e[c]=void 0===
|
|
32
|
+
b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:y,type:a.type,key:g,ref:k,props:e,_owner:h}},createFactory:function(a){var b=ea.bind(null,a);b.type=a;return b},isValidElement:S,version:"16.8.1",unstable_ConcurrentMode:Da,unstable_Profiler:Aa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};r=(X={default:r},r)||X;return r.default||r});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.1
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,30 +6,32 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(
|
|
10
|
-
1;throw a;}}function
|
|
11
|
-
c||
|
|
12
|
-
f:c===f&&(f=k,
|
|
13
|
-
(b=!0,c=e)}});if(b)throw c;}function
|
|
14
|
-
!0,d=k)}});if(c)throw d;}function
|
|
15
|
-
e[d]&&(e[d]=h[d]);return{$$typeof:
|
|
16
|
-
function
|
|
17
|
-
h=null:(h=
|
|
18
|
-
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?
|
|
19
|
-
60108,
|
|
20
|
-
var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:
|
|
21
|
-
var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)
|
|
22
|
-
a,b,"setState")};
|
|
23
|
-
void 0,ra,sa,
|
|
24
|
-
function(a){if(null!==
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
b){var c=-1!==
|
|
28
|
-
unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=l,d=
|
|
29
|
-
__subscriberRef:
|
|
30
|
-
0,e={__count:1,id:
|
|
31
|
-
m.current=d;e=
|
|
32
|
-
try{if(null!==e)e.onWorkCanceled(d,c)}finally{d.forEach(function(a){a.__count--;if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};return b}}});var
|
|
33
|
-
[];Y(a,b,null,function(a){return a});return b},only:function(a){
|
|
34
|
-
memo:function(a,b){return{$$typeof:
|
|
35
|
-
|
|
9
|
+
'use strict';(function(P,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q():"function"===typeof define&&define.amd?define(q):P.React=q()})(this,function(){function P(a,b,c,d,e,k,f,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[c,d,e,k,f,h],wa=0;a=Error(b.replace(/%s/g,function(){return g[wa++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function q(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);P(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function w(a,b,c){this.props=a;this.context=b;this.refs=ea;this.updater=c||fa}function ha(){}function Q(a,b,c){this.props=a;this.context=b;this.refs=ea;this.updater=
|
|
11
|
+
c||fa}function x(){if(!A){var a=f.expirationTime;F?R():F=!0;G(xa,a)}}function S(){var a=f,b=f.next;if(f===b)f=null;else{var c=f.previous;f=c.next=b;b.previous=c}a.next=a.previous=null;c=a.callback;b=a.expirationTime;a=a.priorityLevel;var d=l,e=H;l=a;H=b;try{var k=c()}finally{l=d,H=e}if("function"===typeof k)if(k={callback:k,priorityLevel:a,expirationTime:b,next:null,previous:null},null===f)f=k.next=k.previous=k;else{c=null;a=f;do{if(a.expirationTime>=b){c=a;break}a=a.next}while(a!==f);null===c?c=
|
|
12
|
+
f:c===f&&(f=k,x());b=c.previous;b.next=c.previous=k;k.next=c;k.previous=b}}function T(){if(-1===r&&null!==f&&1===f.priorityLevel){A=!0;try{do S();while(null!==f&&1===f.priorityLevel)}finally{A=!1,null!==f?x():F=!1}}}function xa(a){A=!0;var b=I;I=a;try{if(a)for(;null!==f;){var c=p();if(f.expirationTime<=c){do S();while(null!==f&&f.expirationTime<=c)}else break}else if(null!==f){do S();while(null!==f&&!J())}}finally{A=!1,I=b,null!==f?x():F=!1,T()}}function ya(a){var b=!1,c=null;n.forEach(function(d){try{d.onInteractionTraced(a)}catch(e){b||
|
|
13
|
+
(b=!0,c=e)}});if(b)throw c;}function za(a){var b=!1,c=null;n.forEach(function(d){try{d.onInteractionScheduledWorkCompleted(a)}catch(e){b||(b=!0,c=e)}});if(b)throw c;}function Aa(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkScheduled(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function Ba(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkStarted(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function Ca(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkStopped(a,b)}catch(k){c||(c=
|
|
14
|
+
!0,d=k)}});if(c)throw d;}function Da(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkCanceled(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function ia(a,b,c){var d=void 0,e={},k=null,f=null;if(null!=b)for(d in void 0!==b.ref&&(f=b.ref),void 0!==b.key&&(k=""+b.key),b)ja.call(b,d)&&!ka.hasOwnProperty(d)&&(e[d]=b[d]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var g=Array(h),l=0;l<h;l++)g[l]=arguments[l+2];e.children=g}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===
|
|
15
|
+
e[d]&&(e[d]=h[d]);return{$$typeof:B,type:a,key:k,ref:f,props:e,_owner:U.current}}function Ea(a,b){return{$$typeof:B,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function V(a){return"object"===typeof a&&null!==a&&a.$$typeof===B}function Fa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function la(a,b,c,d){if(K.length){var e=K.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=d;e.count=0;return e}return{result:a,keyPrefix:b,func:c,context:d,count:0}}
|
|
16
|
+
function ma(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>K.length&&K.push(a)}function W(a,b,c,d){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var k=!1;if(null===a)k=!0;else switch(e){case "string":case "number":k=!0;break;case "object":switch(a.$$typeof){case B:case Ga:k=!0}}if(k)return c(d,a,""===b?"."+X(a,0):b),1;k=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var h=b+X(e,f);k+=W(e,h,c,d)}else if(null===a||"object"!==typeof a?
|
|
17
|
+
h=null:(h=na&&a[na]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),f=0;!(e=a.next()).done;)e=e.value,h=b+X(e,f++),k+=W(e,h,c,d);else"object"===e&&(c=""+a,q("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return k}function Y(a,b,c){return null==a?0:W(a,"",b,c)}function X(a,b){return"object"===typeof a&&null!==a&&null!=a.key?Fa(a.key):b.toString(36)}function Ha(a,b,c){a.func.call(a.context,b,a.count++)}function Ia(a,b,c){var d=
|
|
18
|
+
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?Z(a,d,c,function(a){return a}):null!=a&&(V(a)&&(a=Ea(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(oa,"$&/")+"/")+c)),d.push(a))}function Z(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(oa,"$&/")+"/");b=la(b,f,d,e);Y(a,Ia,b);ma(b)}function t(){var a=pa.current;null===a?q("307"):void 0;return a}var g="function"===typeof Symbol&&Symbol.for,B=g?Symbol.for("react.element"):60103,Ga=g?Symbol.for("react.portal"):60106,v=
|
|
19
|
+
g?Symbol.for("react.fragment"):60107,aa=g?Symbol.for("react.strict_mode"):60108,Ja=g?Symbol.for("react.profiler"):60114,Ka=g?Symbol.for("react.provider"):60109,La=g?Symbol.for("react.context"):60110,Ma=g?Symbol.for("react.concurrent_mode"):60111,Na=g?Symbol.for("react.forward_ref"):60112,Oa=g?Symbol.for("react.suspense"):60113,Pa=g?Symbol.for("react.memo"):60115,Qa=g?Symbol.for("react.lazy"):60116,na="function"===typeof Symbol&&Symbol.iterator,qa=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,
|
|
20
|
+
Sa=Object.prototype.propertyIsEnumerable,L=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:
|
|
21
|
+
function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)Ra.call(f,g)&&(c[g]=f[g]);if(qa){d=qa(f);for(var h=0;h<d.length;h++)Sa.call(f,d[h])&&(c[d[h]]=f[d[h]])}}return c},fa={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ea={};w.prototype.isReactComponent=
|
|
22
|
+
{};w.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?q("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ha.prototype=w.prototype;g=Q.prototype=new ha;g.constructor=Q;L(g,w.prototype);g.isPureReactComponent=!0;var f=null,I=!1,l=3,r=-1,H=-1,A=!1,F=!1,Ta=Date,Ua="function"===typeof setTimeout?setTimeout:void 0,Va="function"===typeof clearTimeout?clearTimeout:
|
|
23
|
+
void 0,ra="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,sa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,ta,ua,ba=function(a){ta=ra(function(b){Va(ua);a(b)});ua=Ua(function(){sa(ta);a(p())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Wa=performance;var p=function(){return Wa.now()}}else p=function(){return Ta.now()};g=null;"undefined"!==typeof window?g=window:"undefined"!==typeof global&&(g=global);if(g&&g._schedMock){g=
|
|
24
|
+
g._schedMock;var G=g[0];var R=g[1];var J=g[2];p=g[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var y=null,Xa=function(a){if(null!==y)try{y(a)}finally{y=null}};G=function(a,b){null!==y?setTimeout(G,0,a):(y=a,setTimeout(Xa,0,!1))};R=function(){y=null};J=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof ra&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),
|
|
25
|
+
"function"!==typeof sa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var z=null,M=!1,C=-1,D=!1,ca=!1,N=0,O=33,E=33;J=function(){return N<=p()};g=new MessageChannel;var va=g.port2;g.port1.onmessage=function(a){M=!1;a=z;var b=C;z=null;C=-1;var c=p(),d=!1;if(0>=N-c)if(-1!==b&&b<=c)d=!0;else{D||(D=!0,ba(da));z=a;C=b;return}if(null!==a){ca=!0;try{a(d)}finally{ca=!1}}};var da=function(a){if(null!==
|
|
26
|
+
z){ba(da);var b=a-N+E;b<E&&O<E?(8>b&&(b=8),E=b<O?O:b):O=b;N=a+E;M||(M=!0,va.postMessage(void 0))}else D=!1};G=function(a,b){z=a;C=b;ca||0>b?va.postMessage(void 0):D||(D=!0,ba(da))};R=function(){z=null;M=!1;C=-1}}var Ya=0,Za=0,m=null,u=null;m={current:new Set};u={current:null};var n=null;n=new Set;var pa={current:null},U={current:null};g={ReactCurrentDispatcher:pa,ReactCurrentOwner:U,assign:L};L(g,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)f=null;else{a===f&&
|
|
27
|
+
(f=b);var c=a.previous;c.next=b;b.previous=c}a.next=a.previous=null}},unstable_shouldYield:function(){return!I&&(null!==f&&f.expirationTime<H||J())},unstable_now:p,unstable_scheduleCallback:function(a,b){var c=-1!==r?r:p();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(l){case 1:b=c+-1;break;case 2:b=c+250;break;case 5:b=c+1073741823;break;case 4:b=c+1E4;break;default:b=c+5E3}a={callback:a,priorityLevel:l,expirationTime:b,next:null,previous:null};if(null===
|
|
28
|
+
f)f=a.next=a.previous=a,x();else{c=null;var d=f;do{if(d.expirationTime>b){c=d;break}d=d.next}while(d!==f);null===c?c=f:c===f&&(f=a,x());b=c.previous;b.next=c.previous=a;a.next=c;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=l,d=r;l=a;r=p();try{return b()}finally{l=c,r=d,T()}},unstable_wrapCallback:function(a){var b=l;return function(){var c=l,d=r;l=b;r=p();try{return a.apply(this,arguments)}finally{l=c,r=d,T()}}},
|
|
29
|
+
unstable_getFirstCallbackNode:function(){return f},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==f&&x()},unstable_getCurrentPriorityLevel:function(){return l}},SchedulerTracing:{__interactionsRef:m,__subscriberRef:u,unstable_clear:function(a){var b=m.current;m.current=new Set;try{return a()}finally{m.current=b}},unstable_getCurrent:function(){return m.current},unstable_getThreadID:function(){return++Za},unstable_subscribe:function(a){n.add(a);1===n.size&&(u.current=
|
|
30
|
+
{onInteractionScheduledWorkCompleted:za,onInteractionTraced:ya,onWorkCanceled:Da,onWorkScheduled:Aa,onWorkStarted:Ba,onWorkStopped:Ca})},unstable_trace:function(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,e={__count:1,id:Ya++,name:a,timestamp:b},f=m.current,g=new Set(f);g.add(e);m.current=g;var h=u.current,l=void 0;try{if(null!==h)h.onInteractionTraced(e)}finally{try{if(null!==h)h.onWorkStarted(g,d)}finally{try{l=c()}finally{m.current=f;try{if(null!==h)h.onWorkStopped(g,
|
|
31
|
+
d)}finally{if(e.__count--,null!==h&&0===e.__count)h.onInteractionScheduledWorkCompleted(e)}}}}return l},unstable_unsubscribe:function(a){n.delete(a);0===n.size&&(u.current=null)},unstable_wrap:function(a){function b(){var b=m.current;m.current=d;e=u.current;try{var g=void 0;try{if(null!==e)e.onWorkStarted(d,c)}finally{try{g=a.apply(void 0,arguments)}finally{if(m.current=b,null!==e)e.onWorkStopped(d,c)}}return g}finally{f||(f=!0,d.forEach(function(a){a.__count--;if(null!==e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)}))}}
|
|
32
|
+
var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,d=m.current,e=u.current;if(null!==e)e.onWorkScheduled(d,c);d.forEach(function(a){a.__count++});var f=!1;b.cancel=function(){e=u.current;try{if(null!==e)e.onWorkCanceled(d,c)}finally{d.forEach(function(a){a.__count--;if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};return b}}});var ja=Object.prototype.hasOwnProperty,ka={key:!0,ref:!0,__self:!0,__source:!0},oa=/\/+/g,K=[];v={Children:{map:function(a,b,c){if(null==a)return a;
|
|
33
|
+
var d=[];Z(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=la(null,null,b,c);Y(a,Ha,b);ma(b)},count:function(a){return Y(a,function(){return null},null)},toArray:function(a){var b=[];Z(a,b,null,function(a){return a});return b},only:function(a){V(a)?void 0:q("143");return a}},createRef:function(){return{current:null}},Component:w,PureComponent:Q,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:La,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,
|
|
34
|
+
Provider:null,Consumer:null};a.Provider={$$typeof:Ka,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Na,render:a}},lazy:function(a){return{$$typeof:Qa,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Pa,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return t().useCallback(a,b)},useContext:function(a,b){return t().useContext(a,b)},useEffect:function(a,b){return t().useEffect(a,b)},useImperativeHandle:function(a,b,c){return t().useImperativeHandle(a,
|
|
35
|
+
b,c)},useDebugValue:function(a,b){},useLayoutEffect:function(a,b){return t().useLayoutEffect(a,b)},useMemo:function(a,b){return t().useMemo(a,b)},useReducer:function(a,b,c){return t().useReducer(a,b,c)},useRef:function(a){return t().useRef(a)},useState:function(a){return t().useState(a)},Fragment:v,StrictMode:aa,Suspense:Oa,createElement:ia,cloneElement:function(a,b,c){null===a||void 0===a?q("267",a):void 0;var d=void 0,e=L({},a.props),f=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,
|
|
36
|
+
h=U.current);void 0!==b.key&&(f=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(d in b)ja.call(b,d)&&!ka.hasOwnProperty(d)&&(e[d]=void 0===b[d]&&void 0!==l?l[d]:b[d])}d=arguments.length-2;if(1===d)e.children=c;else if(1<d){l=Array(d);for(var m=0;m<d;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:B,type:a.type,key:f,ref:g,props:e,_owner:h}},createFactory:function(a){var b=ia.bind(null,a);b.type=a;return b},isValidElement:V,version:"16.8.1",unstable_ConcurrentMode:Ma,
|
|
37
|
+
unstable_Profiler:Ja,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:g};v=(aa={default:v},v)||aa;return v.default||v});
|