react 0.0.0-ea155e226 → 0.0.0-experimental-af1a4cbf7

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.
@@ -6,4 +6,18 @@
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';throw Error("This entry point is not yet supported outside of experimental channels");
9
+ 'use strict';var l=require("object-assign"),n=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60112;exports.Suspense=60113;exports.unstable_SuspenseList=60120;var r=60115,t=60116;exports.unstable_DebugTracingMode=60129;
10
+ if("function"===typeof Symbol&&Symbol.for){var u=Symbol.for;n=u("react.element");p=u("react.portal");exports.Fragment=u("react.fragment");exports.StrictMode=u("react.strict_mode");exports.Profiler=u("react.profiler");q=u("react.forward_ref");exports.Suspense=u("react.suspense");exports.unstable_SuspenseList=u("react.suspense_list");r=u("react.memo");t=u("react.lazy");exports.unstable_DebugTracingMode=u("react.debug_trace_mode")}var v="function"===typeof Symbol&&Symbol.iterator;
11
+ function w(a){if(null===a||"object"!==typeof a)return null;a=v&&a[v]||a["@@iterator"];return"function"===typeof a?a:null}function x(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 #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
12
+ var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z={};function A(a,b,e){this.props=a;this.context=b;this.refs=z;this.updater=e||y}A.prototype.isReactComponent={};A.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(x(85));this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
13
+ function B(){}B.prototype=A.prototype;function C(a,b,e){this.props=a;this.context=b;this.refs=z;this.updater=e||y}var D=C.prototype=new B;D.constructor=C;l(D,A.prototype);D.isPureReactComponent=!0;var E=Array.isArray,F=Object.prototype.hasOwnProperty,G={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function I(a,b){return{$$typeof:n,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function J(a){return"object"===typeof a&&null!==a&&a.$$typeof===n}
14
+ function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var K=/\/+/g;function L(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
15
+ function M(a,b,e,d,c){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,c=c(h),a=""===d?"."+L(h,0):d,E(c)?(e="",null!=a&&(e=a.replace(K,"$&/")+"/"),M(c,b,e,"",function(a){return a})):null!=c&&(J(c)&&(c=I(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(K,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(E(a))for(var g=0;g<a.length;g++){k=
16
+ a[g];var f=d+L(k,g);h+=M(k,b,e,f,c)}else if(f=w(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+L(k,g++),h+=M(k,b,e,f,c);else if("object"===k)throw b=""+a,Error(x(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function N(a,b,e){if(null==a)return a;var d=[],c=0;M(a,d,"","",function(a){return b.call(e,a,c++)});return d}
17
+ function O(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 P={current:null},Q={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:G,IsSomeRendererActing:{current:!1},assign:l};
18
+ exports.Children={map:N,forEach:function(a,b,e){N(a,function(){b.apply(this,arguments)},e)},count:function(a){var b=0;N(a,function(){b++});return b},toArray:function(a){return N(a,function(a){return a})||[]},only:function(a){if(!J(a))throw Error(x(143));return a}};exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q;
19
+ exports.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error(x(267,a));var d=l({},a.props),c=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&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)F.call(b,f)&&!H.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:n,type:a.type,
20
+ key:c,ref:k,props:d,_owner:h}};exports.createElement=function(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)F.call(b,d)&&!H.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===c[d]&&(c[d]=g[d]);return{$$typeof:n,type:a,key:k,ref:h,props:c,_owner:G.current}};exports.createRef=function(){return{current:null}};
21
+ exports.forwardRef=function(a){return{$$typeof:q,render:a}};exports.isValidElement=J;exports.lazy=function(a){return{$$typeof:t,_payload:{_status:-1,_result:a},_init:O}};exports.memo=function(a,b){return{$$typeof:r,type:a,compare:void 0===b?null:b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return P.current.getCacheForType(a)};
22
+ exports.unstable_useDeferredValue=function(a){return P.current.useDeferredValue(a)};exports.unstable_useMutableSource=function(a,b,e){return P.current.useMutableSource(a,b,e)};exports.unstable_useOpaqueIdentifier=function(){return P.current.useOpaqueIdentifier()};exports.useCallback=function(a,b){return P.current.useCallback(a,b)};exports.useContext=function(a){return P.current.useContext(a)};exports.useDebugValue=function(){};exports.useMemo=function(a,b){return P.current.useMemo(a,b)};
23
+ exports.version="17.0.3-experimental-af1a4cbf7";
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") {
15
15
 
16
16
  var _assign = require('object-assign');
17
17
 
18
- var ReactVersion = '17.0.3-ea155e226';
18
+ var ReactVersion = '17.0.3-experimental-af1a4cbf7';
19
19
 
20
20
  // ATTENTION
21
21
  // When adding new symbols to this file,
@@ -31,15 +31,15 @@ var REACT_PROVIDER_TYPE = 0xeacd;
31
31
  var REACT_CONTEXT_TYPE = 0xeace;
32
32
  var REACT_FORWARD_REF_TYPE = 0xead0;
33
33
  exports.Suspense = 0xead1;
34
- var REACT_SUSPENSE_LIST_TYPE = 0xead8;
34
+ exports.unstable_SuspenseList = 0xead8;
35
35
  var REACT_MEMO_TYPE = 0xead3;
36
36
  var REACT_LAZY_TYPE = 0xead4;
37
37
  var REACT_SCOPE_TYPE = 0xead7;
38
38
  var REACT_OPAQUE_ID_TYPE = 0xeae0;
39
- var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
39
+ exports.unstable_DebugTracingMode = 0xeae1;
40
40
  var REACT_OFFSCREEN_TYPE = 0xeae2;
41
- var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
42
- var REACT_CACHE_TYPE = 0xeae4;
41
+ exports.unstable_LegacyHidden = 0xeae3;
42
+ exports.unstable_Cache = 0xeae4;
43
43
 
44
44
  if (typeof Symbol === 'function' && Symbol.for) {
45
45
  var symbolFor = Symbol.for;
@@ -52,15 +52,15 @@ if (typeof Symbol === 'function' && Symbol.for) {
52
52
  REACT_CONTEXT_TYPE = symbolFor('react.context');
53
53
  REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
54
54
  exports.Suspense = symbolFor('react.suspense');
55
- REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
55
+ exports.unstable_SuspenseList = symbolFor('react.suspense_list');
56
56
  REACT_MEMO_TYPE = symbolFor('react.memo');
57
57
  REACT_LAZY_TYPE = symbolFor('react.lazy');
58
58
  REACT_SCOPE_TYPE = symbolFor('react.scope');
59
59
  REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id');
60
- REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
60
+ exports.unstable_DebugTracingMode = symbolFor('react.debug_trace_mode');
61
61
  REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen');
62
- REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
63
- REACT_CACHE_TYPE = symbolFor('react.cache');
62
+ exports.unstable_LegacyHidden = symbolFor('react.legacy_hidden');
63
+ exports.unstable_Cache = symbolFor('react.cache');
64
64
  }
65
65
 
66
66
  var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
@@ -496,10 +496,10 @@ function getComponentNameFromType(type) {
496
496
  case exports.Suspense:
497
497
  return 'Suspense';
498
498
 
499
- case REACT_SUSPENSE_LIST_TYPE:
499
+ case exports.unstable_SuspenseList:
500
500
  return 'SuspenseList';
501
501
 
502
- case REACT_CACHE_TYPE:
502
+ case exports.unstable_Cache:
503
503
  return 'Cache';
504
504
  }
505
505
 
@@ -1406,7 +1406,6 @@ function forwardRef(render) {
1406
1406
  }
1407
1407
 
1408
1408
  // Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
1409
- var enableCache = false; // Only used in www builds.
1410
1409
 
1411
1410
  var enableScopeAPI = false; // Experimental Create Event Handle API.
1412
1411
 
@@ -1422,7 +1421,7 @@ function isValidElementType(type) {
1422
1421
  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
1423
1422
 
1424
1423
 
1425
- if (type === exports.Fragment || type === exports.Profiler || type === REACT_DEBUG_TRACING_MODE_TYPE || type === exports.StrictMode || type === exports.Suspense || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI || enableCache ) {
1424
+ if (type === exports.Fragment || type === exports.Profiler || type === exports.unstable_DebugTracingMode || type === exports.StrictMode || type === exports.Suspense || type === exports.unstable_SuspenseList || type === exports.unstable_LegacyHidden || enableScopeAPI || type === exports.unstable_Cache) {
1426
1425
  return true;
1427
1426
  }
1428
1427
 
@@ -1487,6 +1486,12 @@ function resolveDispatcher() {
1487
1486
 
1488
1487
  return dispatcher;
1489
1488
  }
1489
+
1490
+ function getCacheForType(resourceType) {
1491
+ var dispatcher = resolveDispatcher(); // $FlowFixMe This is unstable, thus optional
1492
+
1493
+ return dispatcher.getCacheForType(resourceType);
1494
+ }
1490
1495
  function useContext(Context) {
1491
1496
  var dispatcher = resolveDispatcher();
1492
1497
 
@@ -1544,6 +1549,27 @@ function useDebugValue(value, formatterFn) {
1544
1549
  return dispatcher.useDebugValue(value, formatterFn);
1545
1550
  }
1546
1551
  }
1552
+ function useTransition() {
1553
+ var dispatcher = resolveDispatcher();
1554
+ return dispatcher.useTransition();
1555
+ }
1556
+ function useDeferredValue(value) {
1557
+ var dispatcher = resolveDispatcher();
1558
+ return dispatcher.useDeferredValue(value);
1559
+ }
1560
+ function useOpaqueIdentifier() {
1561
+ var dispatcher = resolveDispatcher();
1562
+ return dispatcher.useOpaqueIdentifier();
1563
+ }
1564
+ function useMutableSource(source, getSnapshot, subscribe) {
1565
+ var dispatcher = resolveDispatcher();
1566
+ return dispatcher.useMutableSource(source, getSnapshot, subscribe);
1567
+ }
1568
+ function useCacheRefresh() {
1569
+ var dispatcher = resolveDispatcher(); // $FlowFixMe This is unstable, thus optional
1570
+
1571
+ return dispatcher.useCacheRefresh();
1572
+ }
1547
1573
 
1548
1574
  // Helpers to patch console.logs to avoid logging during side-effect free
1549
1575
  // replaying on render function. This currently only patches the object
@@ -1848,7 +1874,7 @@ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
1848
1874
  case exports.Suspense:
1849
1875
  return describeBuiltInComponentFrame('Suspense');
1850
1876
 
1851
- case REACT_SUSPENSE_LIST_TYPE:
1877
+ case exports.unstable_SuspenseList:
1852
1878
  return describeBuiltInComponentFrame('SuspenseList');
1853
1879
  }
1854
1880
 
@@ -2281,6 +2307,37 @@ function cloneElementWithValidation(element, props, children) {
2281
2307
  return newElement;
2282
2308
  }
2283
2309
 
2310
+ function createMutableSource(source, getVersion) {
2311
+ var mutableSource = {
2312
+ _getVersion: getVersion,
2313
+ _source: source,
2314
+ _workInProgressVersionPrimary: null,
2315
+ _workInProgressVersionSecondary: null
2316
+ };
2317
+
2318
+ {
2319
+ mutableSource._currentPrimaryRenderer = null;
2320
+ mutableSource._currentSecondaryRenderer = null; // Used to detect side effects that update a mutable source during render.
2321
+ // See https://github.com/facebook/react/issues/19948
2322
+
2323
+ mutableSource._currentlyRenderingFiber = null;
2324
+ mutableSource._initialVersionAsOfFirstRender = null;
2325
+ }
2326
+
2327
+ return mutableSource;
2328
+ }
2329
+
2330
+ function startTransition(scope) {
2331
+ var prevTransition = ReactCurrentBatchConfig.transition;
2332
+ ReactCurrentBatchConfig.transition = 1;
2333
+
2334
+ try {
2335
+ scope();
2336
+ } finally {
2337
+ ReactCurrentBatchConfig.transition = prevTransition;
2338
+ }
2339
+ }
2340
+
2284
2341
  var createElement$1 = createElementWithValidation ;
2285
2342
  var cloneElement$1 = cloneElementWithValidation ;
2286
2343
  var createFactory = createFactoryWithValidation ;
@@ -2305,6 +2362,14 @@ exports.forwardRef = forwardRef;
2305
2362
  exports.isValidElement = isValidElement;
2306
2363
  exports.lazy = lazy;
2307
2364
  exports.memo = memo;
2365
+ exports.unstable_createMutableSource = createMutableSource;
2366
+ exports.unstable_getCacheForType = getCacheForType;
2367
+ exports.unstable_startTransition = startTransition;
2368
+ exports.unstable_useCacheRefresh = useCacheRefresh;
2369
+ exports.unstable_useDeferredValue = useDeferredValue;
2370
+ exports.unstable_useMutableSource = useMutableSource;
2371
+ exports.unstable_useOpaqueIdentifier = useOpaqueIdentifier;
2372
+ exports.unstable_useTransition = useTransition;
2308
2373
  exports.useCallback = useCallback;
2309
2374
  exports.useContext = useContext;
2310
2375
  exports.useDebugValue = useDebugValue;
@@ -6,18 +6,21 @@
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';var l=require("object-assign"),m=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;var u=60115,v=60116;
10
- if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;m=w("react.element");p=w("react.portal");exports.Fragment=w("react.fragment");exports.StrictMode=w("react.strict_mode");exports.Profiler=w("react.profiler");q=w("react.provider");r=w("react.context");t=w("react.forward_ref");exports.Suspense=w("react.suspense");u=w("react.memo");v=w("react.lazy")}var x="function"===typeof Symbol&&Symbol.iterator;
11
- function y(a){if(null===a||"object"!==typeof a)return null;a=x&&a[x]||a["@@iterator"];return"function"===typeof a?a:null}function z(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 #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
12
- var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B={};function C(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}C.prototype.isReactComponent={};C.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(z(85));this.updater.enqueueSetState(this,a,b,"setState")};C.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
13
- function D(){}D.prototype=C.prototype;function E(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}var F=E.prototype=new D;F.constructor=E;l(F,C.prototype);F.isPureReactComponent=!0;var G=Array.isArray,H=Object.prototype.hasOwnProperty,I={current:null},J={key:!0,ref:!0,__self:!0,__source:!0};
9
+ 'use strict';var l=require("object-assign"),m=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;exports.unstable_SuspenseList=60120;var u=60115,v=60116;exports.unstable_DebugTracingMode=60129;exports.unstable_LegacyHidden=60131;exports.unstable_Cache=60132;
10
+ if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;m=w("react.element");p=w("react.portal");exports.Fragment=w("react.fragment");exports.StrictMode=w("react.strict_mode");exports.Profiler=w("react.profiler");q=w("react.provider");r=w("react.context");t=w("react.forward_ref");exports.Suspense=w("react.suspense");exports.unstable_SuspenseList=w("react.suspense_list");u=w("react.memo");v=w("react.lazy");exports.unstable_DebugTracingMode=w("react.debug_trace_mode");exports.unstable_LegacyHidden=
11
+ w("react.legacy_hidden");exports.unstable_Cache=w("react.cache")}var x="function"===typeof Symbol&&Symbol.iterator;function y(a){if(null===a||"object"!==typeof a)return null;a=x&&a[x]||a["@@iterator"];return"function"===typeof a?a:null}
12
+ function z(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 #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B={};
13
+ function C(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}C.prototype.isReactComponent={};C.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(z(85));this.updater.enqueueSetState(this,a,b,"setState")};C.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function D(){}D.prototype=C.prototype;function E(a,b,c){this.props=a;this.context=b;this.refs=B;this.updater=c||A}var F=E.prototype=new D;
14
+ F.constructor=E;l(F,C.prototype);F.isPureReactComponent=!0;var G=Array.isArray,H=Object.prototype.hasOwnProperty,I={current:null},J={key:!0,ref:!0,__self:!0,__source:!0};
14
15
  function K(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)H.call(b,e)&&!J.hasOwnProperty(e)&&(d[e]=b[e]);var g=arguments.length-2;if(1===g)d.children=c;else if(1<g){for(var f=Array(g),n=0;n<g;n++)f[n]=arguments[n+2];d.children=f}if(a&&a.defaultProps)for(e in g=a.defaultProps,g)void 0===d[e]&&(d[e]=g[e]);return{$$typeof:m,type:a,key:k,ref:h,props:d,_owner:I.current}}
15
16
  function L(a,b){return{$$typeof:m,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===m}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var N=/\/+/g;function O(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
16
17
  function P(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 m:case p:h=!0}}if(h)return h=a,d=d(h),a=""===e?"."+O(h,0):e,G(d)?(c="",null!=a&&(c=a.replace(N,"$&/")+"/"),P(d,b,c,"",function(a){return a})):null!=d&&(M(d)&&(d=L(d,c+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(N,"$&/")+"/")+a)),b.push(d)),1;h=0;e=""===e?".":e+":";if(G(a))for(var g=0;g<a.length;g++){k=
17
18
  a[g];var f=e+O(k,g);h+=P(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+O(k,g++),h+=P(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 Q(a,b,c){if(null==a)return a;var e=[],d=0;P(a,e,"","",function(a){return b.call(c,a,d++)});return e}
18
- function R(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 S={current:null},T={ReactCurrentDispatcher:S,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},assign:l};
19
- exports.Children={map:Q,forEach:function(a,b,c){Q(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;Q(a,function(){b++});return b},toArray:function(a){return Q(a,function(a){return a})||[]},only:function(a){if(!M(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;
19
+ function R(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 S={current:null},T={transition:0},U={ReactCurrentDispatcher:S,ReactCurrentBatchConfig:T,ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},assign:l};
20
+ exports.Children={map:Q,forEach:function(a,b,c){Q(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;Q(a,function(){b++});return b},toArray:function(a){return Q(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error(z(143));return a}};exports.Component=C;exports.PureComponent=E;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U;
20
21
  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=I.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)&&!J.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 n=0;n<f;n++)g[n]=arguments[n+2];e.children=g}return{$$typeof:m,type:a.type,
21
22
  key:d,ref:k,props:e,_owner:h}};exports.createContext=function(a){a={$$typeof:r,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:q,_context:a};return a.Consumer=a};exports.createElement=K;exports.createFactory=function(a){var b=K.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=M;
22
- exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:R}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return S.current.useCallback(a,b)};exports.useContext=function(a){return S.current.useContext(a)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return S.current.useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return S.current.useImperativeHandle(a,b,c)};
23
- exports.useLayoutEffect=function(a,b){return S.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return S.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return S.current.useReducer(a,b,c)};exports.useRef=function(a){return S.current.useRef(a)};exports.useState=function(a){return S.current.useState(a)};exports.version="17.0.3-ea155e226";
23
+ exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:R}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return S.current.getCacheForType(a)};
24
+ exports.unstable_startTransition=function(a){var b=T.transition;T.transition=1;try{a()}finally{T.transition=b}};exports.unstable_useCacheRefresh=function(){return S.current.useCacheRefresh()};exports.unstable_useDeferredValue=function(a){return S.current.useDeferredValue(a)};exports.unstable_useMutableSource=function(a,b,c){return S.current.useMutableSource(a,b,c)};exports.unstable_useOpaqueIdentifier=function(){return S.current.useOpaqueIdentifier()};exports.unstable_useTransition=function(){return S.current.useTransition()};
25
+ exports.useCallback=function(a,b){return S.current.useCallback(a,b)};exports.useContext=function(a){return S.current.useContext(a)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return S.current.useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return S.current.useImperativeHandle(a,b,c)};exports.useLayoutEffect=function(a,b){return S.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return S.current.useMemo(a,b)};
26
+ exports.useReducer=function(a,b,c){return S.current.useReducer(a,b,c)};exports.useRef=function(a){return S.current.useRef(a)};exports.useState=function(a){return S.current.useState(a)};exports.version="17.0.3-experimental-af1a4cbf7";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "0.0.0-ea155e226",
7
+ "version": "0.0.0-experimental-af1a4cbf7",
8
8
  "homepage": "https://reactjs.org/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  (global = global || self, factory(global.React = {}));
13
13
  }(this, (function (exports) { 'use strict';
14
14
 
15
- var ReactVersion = '17.0.3-ea155e226';
15
+ var ReactVersion = '17.0.3-experimental-af1a4cbf7';
16
16
 
17
17
  // ATTENTION
18
18
  // When adding new symbols to this file,
@@ -28,15 +28,15 @@
28
28
  var REACT_CONTEXT_TYPE = 0xeace;
29
29
  var REACT_FORWARD_REF_TYPE = 0xead0;
30
30
  exports.Suspense = 0xead1;
31
- var REACT_SUSPENSE_LIST_TYPE = 0xead8;
31
+ exports.unstable_SuspenseList = 0xead8;
32
32
  var REACT_MEMO_TYPE = 0xead3;
33
33
  var REACT_LAZY_TYPE = 0xead4;
34
34
  var REACT_SCOPE_TYPE = 0xead7;
35
35
  var REACT_OPAQUE_ID_TYPE = 0xeae0;
36
- var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
36
+ exports.unstable_DebugTracingMode = 0xeae1;
37
37
  var REACT_OFFSCREEN_TYPE = 0xeae2;
38
- var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
39
- var REACT_CACHE_TYPE = 0xeae4;
38
+ exports.unstable_LegacyHidden = 0xeae3;
39
+ exports.unstable_Cache = 0xeae4;
40
40
 
41
41
  if (typeof Symbol === 'function' && Symbol.for) {
42
42
  var symbolFor = Symbol.for;
@@ -49,15 +49,15 @@
49
49
  REACT_CONTEXT_TYPE = symbolFor('react.context');
50
50
  REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
51
51
  exports.Suspense = symbolFor('react.suspense');
52
- REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
52
+ exports.unstable_SuspenseList = symbolFor('react.suspense_list');
53
53
  REACT_MEMO_TYPE = symbolFor('react.memo');
54
54
  REACT_LAZY_TYPE = symbolFor('react.lazy');
55
55
  REACT_SCOPE_TYPE = symbolFor('react.scope');
56
56
  REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id');
57
- REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
57
+ exports.unstable_DebugTracingMode = symbolFor('react.debug_trace_mode');
58
58
  REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen');
59
- REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
60
- REACT_CACHE_TYPE = symbolFor('react.cache');
59
+ exports.unstable_LegacyHidden = symbolFor('react.legacy_hidden');
60
+ exports.unstable_Cache = symbolFor('react.cache');
61
61
  }
62
62
 
63
63
  var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
@@ -521,10 +521,10 @@
521
521
  case exports.Suspense:
522
522
  return 'Suspense';
523
523
 
524
- case REACT_SUSPENSE_LIST_TYPE:
524
+ case exports.unstable_SuspenseList:
525
525
  return 'SuspenseList';
526
526
 
527
- case REACT_CACHE_TYPE:
527
+ case exports.unstable_Cache:
528
528
  return 'Cache';
529
529
  }
530
530
 
@@ -1431,7 +1431,6 @@
1431
1431
  }
1432
1432
 
1433
1433
  // Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
1434
- var enableCache = false; // Only used in www builds.
1435
1434
 
1436
1435
  var enableScopeAPI = false; // Experimental Create Event Handle API.
1437
1436
 
@@ -1447,7 +1446,7 @@
1447
1446
  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
1448
1447
 
1449
1448
 
1450
- if (type === exports.Fragment || type === exports.Profiler || type === REACT_DEBUG_TRACING_MODE_TYPE || type === exports.StrictMode || type === exports.Suspense || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI || enableCache ) {
1449
+ if (type === exports.Fragment || type === exports.Profiler || type === exports.unstable_DebugTracingMode || type === exports.StrictMode || type === exports.Suspense || type === exports.unstable_SuspenseList || type === exports.unstable_LegacyHidden || enableScopeAPI || type === exports.unstable_Cache) {
1451
1450
  return true;
1452
1451
  }
1453
1452
 
@@ -1512,6 +1511,12 @@
1512
1511
 
1513
1512
  return dispatcher;
1514
1513
  }
1514
+
1515
+ function getCacheForType(resourceType) {
1516
+ var dispatcher = resolveDispatcher(); // $FlowFixMe This is unstable, thus optional
1517
+
1518
+ return dispatcher.getCacheForType(resourceType);
1519
+ }
1515
1520
  function useContext(Context) {
1516
1521
  var dispatcher = resolveDispatcher();
1517
1522
 
@@ -1569,6 +1574,27 @@
1569
1574
  return dispatcher.useDebugValue(value, formatterFn);
1570
1575
  }
1571
1576
  }
1577
+ function useTransition() {
1578
+ var dispatcher = resolveDispatcher();
1579
+ return dispatcher.useTransition();
1580
+ }
1581
+ function useDeferredValue(value) {
1582
+ var dispatcher = resolveDispatcher();
1583
+ return dispatcher.useDeferredValue(value);
1584
+ }
1585
+ function useOpaqueIdentifier() {
1586
+ var dispatcher = resolveDispatcher();
1587
+ return dispatcher.useOpaqueIdentifier();
1588
+ }
1589
+ function useMutableSource(source, getSnapshot, subscribe) {
1590
+ var dispatcher = resolveDispatcher();
1591
+ return dispatcher.useMutableSource(source, getSnapshot, subscribe);
1592
+ }
1593
+ function useCacheRefresh() {
1594
+ var dispatcher = resolveDispatcher(); // $FlowFixMe This is unstable, thus optional
1595
+
1596
+ return dispatcher.useCacheRefresh();
1597
+ }
1572
1598
 
1573
1599
  // Helpers to patch console.logs to avoid logging during side-effect free
1574
1600
  // replaying on render function. This currently only patches the object
@@ -1873,7 +1899,7 @@
1873
1899
  case exports.Suspense:
1874
1900
  return describeBuiltInComponentFrame('Suspense');
1875
1901
 
1876
- case REACT_SUSPENSE_LIST_TYPE:
1902
+ case exports.unstable_SuspenseList:
1877
1903
  return describeBuiltInComponentFrame('SuspenseList');
1878
1904
  }
1879
1905
 
@@ -2306,6 +2332,26 @@
2306
2332
  return newElement;
2307
2333
  }
2308
2334
 
2335
+ function createMutableSource(source, getVersion) {
2336
+ var mutableSource = {
2337
+ _getVersion: getVersion,
2338
+ _source: source,
2339
+ _workInProgressVersionPrimary: null,
2340
+ _workInProgressVersionSecondary: null
2341
+ };
2342
+
2343
+ {
2344
+ mutableSource._currentPrimaryRenderer = null;
2345
+ mutableSource._currentSecondaryRenderer = null; // Used to detect side effects that update a mutable source during render.
2346
+ // See https://github.com/facebook/react/issues/19948
2347
+
2348
+ mutableSource._currentlyRenderingFiber = null;
2349
+ mutableSource._initialVersionAsOfFirstRender = null;
2350
+ }
2351
+
2352
+ return mutableSource;
2353
+ }
2354
+
2309
2355
  var enableSchedulerDebugging = false;
2310
2356
  var enableProfiling = false;
2311
2357
 
@@ -3273,6 +3319,17 @@
3273
3319
  ReactSharedInternals$1.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
3274
3320
  }
3275
3321
 
3322
+ function startTransition(scope) {
3323
+ var prevTransition = ReactCurrentBatchConfig.transition;
3324
+ ReactCurrentBatchConfig.transition = 1;
3325
+
3326
+ try {
3327
+ scope();
3328
+ } finally {
3329
+ ReactCurrentBatchConfig.transition = prevTransition;
3330
+ }
3331
+ }
3332
+
3276
3333
  var createElement$1 = createElementWithValidation ;
3277
3334
  var cloneElement$1 = cloneElementWithValidation ;
3278
3335
  var createFactory = createFactoryWithValidation ;
@@ -3297,6 +3354,14 @@
3297
3354
  exports.isValidElement = isValidElement;
3298
3355
  exports.lazy = lazy;
3299
3356
  exports.memo = memo;
3357
+ exports.unstable_createMutableSource = createMutableSource;
3358
+ exports.unstable_getCacheForType = getCacheForType;
3359
+ exports.unstable_startTransition = startTransition;
3360
+ exports.unstable_useCacheRefresh = useCacheRefresh;
3361
+ exports.unstable_useDeferredValue = useDeferredValue;
3362
+ exports.unstable_useMutableSource = useMutableSource;
3363
+ exports.unstable_useOpaqueIdentifier = useOpaqueIdentifier;
3364
+ exports.unstable_useTransition = useTransition;
3300
3365
  exports.useCallback = useCallback;
3301
3366
  exports.useContext = useContext;
3302
3367
  exports.useDebugValue = useDebugValue;
@@ -6,25 +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
- (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=U&&a[U]||a["@@iterator"];return"function"===typeof a?a:null}function A(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=V;this.updater=e||W}function X(){}function I(a,b,e){this.props=a;this.context=b;this.refs=V;this.updater=e||W}function Y(a,b,e){var l,f={},c=null,Z=null;if(null!=b)for(l in void 0!==b.ref&&(Z=b.ref),void 0!==b.key&&(c=""+b.key),b)aa.call(b,l)&&!ba.hasOwnProperty(l)&&(f[l]=b[l]);var h=arguments.length-2;if(1===h)f.children=
11
- e;else if(1<h){for(var g=Array(h),d=0;d<h;d++)g[d]=arguments[d+2];f.children=g}if(a&&a.defaultProps)for(l in h=a.defaultProps,h)void 0===f[l]&&(f[l]=h[l]);return{$$typeof:w,type:a,key:c,ref:Z,props:f,_owner:J.current}}function sa(a,b){return{$$typeof:w,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function K(a){return"object"===typeof a&&null!==a&&a.$$typeof===w}function ta(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function L(a,b){return"object"===
12
- typeof a&&null!==a&&null!=a.key?ta(""+a.key):b.toString(36)}function B(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 ca:d=!0}}if(d)return d=a,f=f(d),a=""===l?"."+L(d,0):l,da(f)?(e="",null!=a&&(e=a.replace(ea,"$&/")+"/"),B(f,b,e,"",function(a){return a})):null!=f&&(K(f)&&(f=sa(f,e+(!f.key||d&&d.key===f.key?"":(""+f.key).replace(ea,"$&/")+"/")+a)),b.push(f)),
13
- 1;d=0;l=""===l?".":l+":";if(da(a))for(var h=0;h<a.length;h++){c=a[h];var g=l+L(c,h);d+=B(c,b,e,g,f)}else if(g=x(a),"function"===typeof g)for(a=g.call(a),h=0;!(c=a.next()).done;)c=c.value,g=l+L(c,h++),d+=B(c,b,e,g,f);else if("object"===c)throw b=""+a,Error(A(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return d}function C(a,b,e){if(null==a)return a;var l=[],c=0;B(a,l,"","",function(a){return b.call(e,a,c++)});return l}function ua(a){if(-1===a._status){var b=a._result;
14
- 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 M(a,b){var e=a.length;a.push(b);a:for(;0<e;){var c=e-1>>>1,f=a[c];if(0<D(f,b))a[c]=b,a[e]=f,e=c;else break a}}function p(a){return 0===a.length?null:a[0]}function E(a){if(0===a.length)return null;var b=a[0],e=a.pop();if(e!==b){a[0]=e;a:for(var c=0,f=a.length,d=f>>>1;c<d;){var k=2*(c+
15
- 1)-1,h=a[k],g=k+1,m=a[g];if(0>D(h,e))g<f&&0>D(m,h)?(a[c]=m,a[g]=e,c=g):(a[c]=h,a[k]=e,c=k);else if(g<f&&0>D(m,e))a[c]=m,a[g]=e,c=g;else break a}}return b}function D(a,b){var e=a.sortIndex-b.sortIndex;return 0!==e?e:a.id-b.id}function N(a){for(var b=p(r);null!==b;){if(null===b.callback)E(r);else if(b.startTime<=a)E(r),b.sortIndex=b.expirationTime,M(q,b);else break;b=p(r)}}function O(a){y=!1;N(a);if(!t)if(null!==p(q))t=!0,P(Q);else{var b=p(r);null!==b&&R(O,b.startTime-a)}}function Q(a,b){t=!1;y&&(y=
16
- !1,fa(z),z=-1);F=!0;var e=k;try{N(b);for(m=p(q);null!==m&&(!(m.expirationTime>b)||a&&!ha());){var c=m.callback;if("function"===typeof c){m.callback=null;k=m.priorityLevel;var f=c(m.expirationTime<=b);b=u();"function"===typeof f?m.callback=f:m===p(q)&&E(q);N(b)}else E(q);m=p(q)}if(null!==m)var d=!0;else{var n=p(r);null!==n&&R(O,n.startTime-b);d=!1}return d}finally{m=null,k=e,F=!1}}function ha(){return u()>=ia}function P(a){G=a;H||(H=!0,S())}function R(a,b){z=va(function(){a(u())},b)}var w=60103,ca=
17
- 60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ja=60109,ka=60110,la=60112;c.Suspense=60113;var ma=60115,na=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;w=d("react.element");ca=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");ja=d("react.provider");ka=d("react.context");la=d("react.forward_ref");c.Suspense=d("react.suspense");ma=d("react.memo");na=d("react.lazy")}var U="function"===typeof Symbol&&
18
- Symbol.iterator,wa=Object.prototype.hasOwnProperty,T=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 f=arguments[c];if(null!=f){var d=void 0;f=Object(f);for(d in f)wa.call(f,d)&&(e[d]=f[d])}}return e},W={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},V={};v.prototype.isReactComponent={};
19
- v.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(A(85));this.updater.enqueueSetState(this,a,b,"setState")};v.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};X.prototype=v.prototype;d=I.prototype=new X;d.constructor=I;T(d,v.prototype);d.isPureReactComponent=!0;var da=Array.isArray,aa=Object.prototype.hasOwnProperty,J={current:null},ba={key:!0,ref:!0,__self:!0,__source:!0},ea=/\/+/g,n={current:null};if("object"===
20
- typeof performance&&"function"===typeof performance.now){var xa=performance;var u=function(){return xa.now()}}else{var oa=Date,ya=oa.now();u=function(){return oa.now()-ya}}var q=[],r=[],za=1,m=null,k=3,F=!1,t=!1,y=!1,va=window.setTimeout,fa=window.clearTimeout,pa=window.setImmediate;"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"),
21
- "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"));var H=!1,G=null,z=-1,qa=5,ia=0,ra=function(){if(null!==G){var a=u();ia=a+qa;var b=!0;try{b=G(!0,a)}finally{b?S():(H=!1,G=null)}}else H=!1};if("function"===typeof pa)var S=function(){pa(ra)};else{d=new MessageChannel;var Aa=d.port2;d.port1.onmessage=ra;S=function(){Aa.postMessage(null)}}var Ba=0;d={ReactCurrentDispatcher:n,
22
- ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:{transition:0},assign:T,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=3}var c=k;k=a;try{return b()}finally{k=c}},unstable_next:function(a){switch(k){case 1:case 2:case 3:var b=3;break;default:b=k}var c=k;k=b;try{return a()}finally{k=
23
- c}},unstable_scheduleCallback:function(a,b,c){var d=u();"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:za++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,M(r,a),null===p(q)&&a===p(r)&&(y?(fa(z),z=-1):y=!0,R(O,c-d))):(a.sortIndex=e,M(q,a),t||F||(t=!0,P(Q)));return a},unstable_cancelCallback:function(a){a.callback=
24
- null},unstable_wrapCallback:function(a){var b=k;return function(){var c=k;k=b;try{return a.apply(this,arguments)}finally{k=c}}},unstable_getCurrentPriorityLevel:function(){return k},unstable_shouldYield:ha,unstable_requestPaint:function(){},unstable_continueExecution:function(){t||F||(t=!0,P(Q))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return p(q)},get unstable_now(){return u},unstable_forceFrameRate: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"):
25
- qa=0<a?Math.floor(1E3/a):5},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++Ba},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:C,forEach:function(a,b,c){C(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=
26
- 0;C(a,function(){b++});return b},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!K(a))throw Error(A(143));return a}};c.Component=v;c.PureComponent=I;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(A(267,a));var d=T({},a.props),e=a.key,k=a.ref,m=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,m=J.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var h=a.type.defaultProps;for(g in b)aa.call(b,
27
- g)&&!ba.hasOwnProperty(g)&&(d[g]=void 0===b[g]&&void 0!==h?h[g]:b[g])}var g=arguments.length-2;if(1===g)d.children=c;else if(1<g){h=Array(g);for(var n=0;n<g;n++)h[n]=arguments[n+2];d.children=h}return{$$typeof:w,type:a.type,key:e,ref:k,props:d,_owner:m}};c.createContext=function(a){a={$$typeof:ka,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ja,_context:a};return a.Consumer=a};c.createElement=Y;c.createFactory=function(a){var b=Y.bind(null,a);b.type=
28
- a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:la,render:a}};c.isValidElement=K;c.lazy=function(a){return{$$typeof:na,_payload:{_status:-1,_result:a},_init:ua}};c.memo=function(a,b){return{$$typeof:ma,type:a,compare:void 0===b?null:b}};c.useCallback=function(a,b){return n.current.useCallback(a,b)};c.useContext=function(a){return n.current.useContext(a)};c.useDebugValue=function(a,b){};c.useEffect=function(a,b){return n.current.useEffect(a,b)};c.useImperativeHandle=
29
- function(a,b,c){return n.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return n.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return n.current.useMemo(a,b)};c.useReducer=function(a,b,c){return n.current.useReducer(a,b,c)};c.useRef=function(a){return n.current.useRef(a)};c.useState=function(a){return n.current.useState(a)};c.version="17.0.3-ea155e226"});
9
+ (function(){'use strict';(function(c,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(c=c||self,w(c.React={}))})(this,function(c){function w(a){if(null===a||"object"!==typeof a)return null;a=V&&a[V]||a["@@iterator"];return"function"===typeof a?a:null}function A(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 u(a,b,e){this.props=a;this.context=b;this.refs=W;this.updater=e||X}function Y(){}function J(a,b,e){this.props=a;this.context=b;this.refs=W;this.updater=e||X}function Z(a,b,e){var l,c={},aa=null,x=null;if(null!=b)for(l in void 0!==b.ref&&(x=b.ref),void 0!==b.key&&(aa=""+b.key),b)ba.call(b,l)&&!ca.hasOwnProperty(l)&&(c[l]=b[l]);var d=arguments.length-2;if(1===d)c.children=
11
+ e;else if(1<d){for(var g=Array(d),f=0;f<d;f++)g[f]=arguments[f+2];c.children=g}if(a&&a.defaultProps)for(l in d=a.defaultProps,d)void 0===c[l]&&(c[l]=d[l]);return{$$typeof:v,type:a,key:aa,ref:x,props:c,_owner:K.current}}function ta(a,b){return{$$typeof:v,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===v}function ua(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function M(a,b){return"object"===
12
+ typeof a&&null!==a&&null!=a.key?ua(""+a.key):b.toString(36)}function B(a,b,e,c,k){var l=typeof a;if("undefined"===l||"boolean"===l)a=null;var d=!1;if(null===a)d=!0;else switch(l){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case v:case da:d=!0}}if(d)return d=a,k=k(d),a=""===c?"."+M(d,0):c,ea(k)?(e="",null!=a&&(e=a.replace(fa,"$&/")+"/"),B(k,b,e,"",function(a){return a})):null!=k&&(L(k)&&(k=ta(k,e+(!k.key||d&&d.key===k.key?"":(""+k.key).replace(fa,"$&/")+"/")+a)),b.push(k)),
13
+ 1;d=0;c=""===c?".":c+":";if(ea(a))for(var f=0;f<a.length;f++){l=a[f];var g=c+M(l,f);d+=B(l,b,e,g,k)}else if(g=w(a),"function"===typeof g)for(a=g.call(a),f=0;!(l=a.next()).done;)l=l.value,g=c+M(l,f++),d+=B(l,b,e,g,k);else if("object"===l)throw b=""+a,Error(A(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return d}function C(a,b,e){if(null==a)return a;var c=[],d=0;B(a,c,"","",function(a){return b.call(e,a,d++)});return c}function va(a){if(-1===a._status){var b=a._result;
14
+ 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(a,b){var e=a.length;a.push(b);a:for(;0<e;){var c=e-1>>>1,d=a[c];if(0<D(d,b))a[c]=b,a[e]=d,e=c;else break a}}function m(a){return 0===a.length?null:a[0]}function E(a){if(0===a.length)return null;var b=a[0],e=a.pop();if(e!==b){a[0]=e;a:for(var c=0,d=a.length,f=d>>>1;c<f;){var h=2*(c+
15
+ 1)-1,n=a[h],g=h+1,m=a[g];if(0>D(n,e))g<d&&0>D(m,n)?(a[c]=m,a[g]=e,c=g):(a[c]=n,a[h]=e,c=h);else if(g<d&&0>D(m,e))a[c]=m,a[g]=e,c=g;else break a}}return b}function D(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function O(a){for(var b=m(q);null!==b;){if(null===b.callback)E(q);else if(b.startTime<=a)E(q),b.sortIndex=b.expirationTime,N(p,b);else break;b=m(q)}}function P(a){y=!1;O(a);if(!r)if(null!==m(p))r=!0,Q(R);else{var b=m(q);null!==b&&S(P,b.startTime-a)}}function R(a,b){r=!1;y&&(y=
16
+ !1,ha(z),z=-1);F=!0;var c=f;try{O(b);for(n=m(p);null!==n&&(!(n.expirationTime>b)||a&&!ia());){var d=n.callback;if("function"===typeof d){n.callback=null;f=n.priorityLevel;var k=d(n.expirationTime<=b);b=t();"function"===typeof k?n.callback=k:n===m(p)&&E(p);O(b)}else E(p);n=m(p)}if(null!==n)var h=!0;else{var x=m(q);null!==x&&S(P,x.startTime-b);h=!1}return h}finally{n=null,f=c,F=!1}}function ia(){return t()>=ja}function Q(a){G=a;H||(H=!0,T())}function S(a,b){z=wa(function(){a(t())},b)}var v=60103,da=
17
+ 60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ka=60109,la=60110,ma=60112;c.Suspense=60113;c.unstable_SuspenseList=60120;var na=60115,oa=60116;c.unstable_DebugTracingMode=60129;c.unstable_LegacyHidden=60131;c.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");da=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");
18
+ c.Suspense=d("react.suspense");c.unstable_SuspenseList=d("react.suspense_list");na=d("react.memo");oa=d("react.lazy");c.unstable_DebugTracingMode=d("react.debug_trace_mode");c.unstable_LegacyHidden=d("react.legacy_hidden");c.unstable_Cache=d("react.cache")}var V="function"===typeof Symbol&&Symbol.iterator,xa=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 c=Object(a),d=1;d<arguments.length;d++){var k=
19
+ arguments[d];if(null!=k){var f=void 0;k=Object(k);for(f in k)xa.call(k,f)&&(c[f]=k[f])}}return c},X={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},W={};u.prototype.isReactComponent={};u.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(A(85));this.updater.enqueueSetState(this,a,b,"setState")};u.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,
20
+ a,"forceUpdate")};Y.prototype=u.prototype;d=J.prototype=new Y;d.constructor=J;U(d,u.prototype);d.isPureReactComponent=!0;var ea=Array.isArray,ba=Object.prototype.hasOwnProperty,K={current:null},ca={key:!0,ref:!0,__self:!0,__source:!0},fa=/\/+/g,h={current:null},I={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var t=function(){return ya.now()}}else{var pa=Date,za=pa.now();t=function(){return pa.now()-za}}var p=[],q=[],Aa=1,n=null,f=3,F=!1,r=
21
+ !1,y=!1,wa=window.setTimeout,ha=window.clearTimeout,qa=window.setImmediate;"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 H=!1,G=null,z=-1,ra=5,ja=0,sa=function(){if(null!==G){var a=t();ja=a+ra;var b=!0;try{b=G(!0,a)}finally{b?T():(H=!1,G=null)}}else H=!1};if("function"===typeof qa)var T=function(){qa(sa)};else{d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=sa;T=function(){Ba.postMessage(null)}}var Ca=0;d={ReactCurrentDispatcher:h,ReactCurrentOwner:K,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:I,assign:U,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,
23
+ 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=3}var c=f;f=a;try{return b()}finally{f=c}},unstable_next:function(a){switch(f){case 1:case 2:case 3:var b=3;break;default:b=f}var c=f;f=b;try{return a()}finally{f=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=
24
+ 1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Aa++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,N(q,a),null===m(p)&&a===m(q)&&(y?(ha(z),z=-1):y=!0,S(P,c-d))):(a.sortIndex=e,N(p,a),r||F||(r=!0,Q(R)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=f;return function(){var c=f;f=b;try{return a.apply(this,arguments)}finally{f=c}}},unstable_getCurrentPriorityLevel:function(){return f},unstable_shouldYield:ia,
25
+ unstable_requestPaint:function(){},unstable_continueExecution:function(){r||F||(r=!0,Q(R))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return m(p)},get unstable_now(){return t},unstable_forceFrameRate: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"):ra=0<a?Math.floor(1E3/a):5},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,
26
+ unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Ca},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:C,forEach:function(a,b,c){C(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;C(a,function(){b++});return b},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error(A(143));
27
+ return a}};c.Component=u;c.PureComponent=J;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(A(267,a));var d=U({},a.props),e=a.key,f=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,h=K.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var m=a.type.defaultProps;for(g in b)ba.call(b,g)&&!ca.hasOwnProperty(g)&&(d[g]=void 0===b[g]&&void 0!==m?m[g]:b[g])}var g=arguments.length-2;if(1===g)d.children=c;else if(1<
28
+ g){m=Array(g);for(var n=0;n<g;n++)m[n]=arguments[n+2];d.children=m}return{$$typeof:v,type:a.type,key:e,ref:f,props:d,_owner:h}};c.createContext=function(a){a={$$typeof:la,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ka,_context:a};return a.Consumer=a};c.createElement=Z;c.createFactory=function(a){var b=Z.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=
29
+ L;c.lazy=function(a){return{$$typeof:oa,_payload:{_status:-1,_result:a},_init:va}};c.memo=function(a,b){return{$$typeof:na,type:a,compare:void 0===b?null:b}};c.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_getCacheForType=function(a){return h.current.getCacheForType(a)};c.unstable_startTransition=function(a){var b=I.transition;I.transition=1;try{a()}finally{I.transition=b}};c.unstable_useCacheRefresh=
30
+ function(){return h.current.useCacheRefresh()};c.unstable_useDeferredValue=function(a){return h.current.useDeferredValue(a)};c.unstable_useMutableSource=function(a,b,c){return h.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return h.current.useOpaqueIdentifier()};c.unstable_useTransition=function(){return h.current.useTransition()};c.useCallback=function(a,b){return h.current.useCallback(a,b)};c.useContext=function(a){return h.current.useContext(a)};c.useDebugValue=function(a,
31
+ b){};c.useEffect=function(a,b){return h.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return h.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return h.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return h.current.useMemo(a,b)};c.useReducer=function(a,b,c){return h.current.useReducer(a,b,c)};c.useRef=function(a){return h.current.useRef(a)};c.useState=function(a){return h.current.useState(a)};c.version="17.0.3-experimental-af1a4cbf7"});
30
32
  })();