react 0.0.0-experimental-568dc3532 → 0.0.0-experimental-d7dce572c

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.
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") {
15
15
 
16
16
  var _assign = require('object-assign');
17
17
 
18
- var ReactVersion = '18.0.0-experimental-568dc3532';
18
+ var ReactVersion = '18.0.0-experimental-d7dce572c';
19
19
 
20
20
  // ATTENTION
21
21
  // When adding new symbols to this file,
@@ -98,6 +98,16 @@ var ReactCurrentBatchConfig = {
98
98
  transition: 0
99
99
  };
100
100
 
101
+ var ReactCurrentActQueue = {
102
+ current: null,
103
+ // Our internal tests use a custom implementation of `act` that works by
104
+ // mocking the Scheduler package. Use this field to disable the `act` warning.
105
+ // TODO: Maybe the warning should be disabled by default, and then turned
106
+ // on at the testing frameworks layer? Instead of what we do now, which
107
+ // is check if a `jest` global is defined.
108
+ disableActWarning: false
109
+ };
110
+
101
111
  /**
102
112
  * Keeps track of the current owner.
103
113
  *
@@ -148,24 +158,17 @@ function setExtraStackFrame(stack) {
148
158
  };
149
159
  }
150
160
 
151
- /**
152
- * Used by act() to track whether you're inside an act() scope.
153
- */
154
- var IsSomeRendererActing = {
155
- current: false
156
- };
157
-
158
161
  var ReactSharedInternals = {
159
162
  ReactCurrentDispatcher: ReactCurrentDispatcher,
160
163
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
161
164
  ReactCurrentOwner: ReactCurrentOwner,
162
- IsSomeRendererActing: IsSomeRendererActing,
163
165
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
164
166
  assign: _assign
165
167
  };
166
168
 
167
169
  {
168
170
  ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
171
+ ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
169
172
  }
170
173
 
171
174
  // by calls to these methods by a Babel plugin.
@@ -14,10 +14,10 @@ function B(){}B.prototype=A.prototype;function C(a,b,e){this.props=a;this.contex
14
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
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
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();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var P={current:null};function Q(a){return P.current.useDeferredValue(a)}
18
- var R={transition:0},S={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:R,ReactCurrentOwner:G,IsSomeRendererActing:{current:!1},assign:l};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=S;
17
+ function O(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var P={current:null};function Q(a){return P.current.useDeferredValue(a)}var R={transition:0},S={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:R,ReactCurrentOwner:G,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=S;
19
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
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
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.startTransition=function(a){var b=R.transition;R.transition=1;try{a()}finally{R.transition=b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};
22
22
  exports.unstable_getCacheForType=function(a){return P.current.getCacheForType(a)};exports.unstable_useDeferredValue=Q;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.useDeferredValue=Q;
23
- exports.useMemo=function(a,b){return P.current.useMemo(a,b)};exports.useTransition=function(){return P.current.useTransition()};exports.version="18.0.0-experimental-568dc3532";
23
+ exports.useMemo=function(a,b){return P.current.useMemo(a,b)};exports.useTransition=function(){return P.current.useTransition()};exports.version="18.0.0-experimental-d7dce572c";
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") {
15
15
 
16
16
  var _assign = require('object-assign');
17
17
 
18
- var ReactVersion = '18.0.0-experimental-568dc3532';
18
+ var ReactVersion = '18.0.0-experimental-d7dce572c';
19
19
 
20
20
  // ATTENTION
21
21
  // When adding new symbols to this file,
@@ -98,6 +98,16 @@ var ReactCurrentBatchConfig = {
98
98
  transition: 0
99
99
  };
100
100
 
101
+ var ReactCurrentActQueue = {
102
+ current: null,
103
+ // Our internal tests use a custom implementation of `act` that works by
104
+ // mocking the Scheduler package. Use this field to disable the `act` warning.
105
+ // TODO: Maybe the warning should be disabled by default, and then turned
106
+ // on at the testing frameworks layer? Instead of what we do now, which
107
+ // is check if a `jest` global is defined.
108
+ disableActWarning: false
109
+ };
110
+
101
111
  /**
102
112
  * Keeps track of the current owner.
103
113
  *
@@ -148,24 +158,17 @@ function setExtraStackFrame(stack) {
148
158
  };
149
159
  }
150
160
 
151
- /**
152
- * Used by act() to track whether you're inside an act() scope.
153
- */
154
- var IsSomeRendererActing = {
155
- current: false
156
- };
157
-
158
161
  var ReactSharedInternals = {
159
162
  ReactCurrentDispatcher: ReactCurrentDispatcher,
160
163
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
161
164
  ReactCurrentOwner: ReactCurrentOwner,
162
- IsSomeRendererActing: IsSomeRendererActing,
163
165
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
164
166
  assign: _assign
165
167
  };
166
168
 
167
169
  {
168
170
  ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
171
+ ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
169
172
  }
170
173
 
171
174
  // by calls to these methods by a Babel plugin.
@@ -2378,6 +2381,213 @@ function startTransition(scope) {
2378
2381
  }
2379
2382
  }
2380
2383
 
2384
+ var didWarnAboutMessageChannel = false;
2385
+ var enqueueTaskImpl = null;
2386
+ function enqueueTask(task) {
2387
+ if (enqueueTaskImpl === null) {
2388
+ try {
2389
+ // read require off the module object to get around the bundlers.
2390
+ // we don't want them to detect a require and bundle a Node polyfill.
2391
+ var requireString = ('require' + Math.random()).slice(0, 7);
2392
+ var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
2393
+ // version of setImmediate, bypassing fake timers if any.
2394
+
2395
+ enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
2396
+ } catch (_err) {
2397
+ // we're in a browser
2398
+ // we can't use regular timers because they may still be faked
2399
+ // so we try MessageChannel+postMessage instead
2400
+ enqueueTaskImpl = function (callback) {
2401
+ {
2402
+ if (didWarnAboutMessageChannel === false) {
2403
+ didWarnAboutMessageChannel = true;
2404
+
2405
+ if (typeof MessageChannel === 'undefined') {
2406
+ error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');
2407
+ }
2408
+ }
2409
+ }
2410
+
2411
+ var channel = new MessageChannel();
2412
+ channel.port1.onmessage = callback;
2413
+ channel.port2.postMessage(undefined);
2414
+ };
2415
+ }
2416
+ }
2417
+
2418
+ return enqueueTaskImpl(task);
2419
+ }
2420
+
2421
+ var actScopeDepth = 0;
2422
+ var didWarnNoAwaitAct = false;
2423
+ function act(callback) {
2424
+ {
2425
+ // `act` calls can be nested, so we track the depth. This represents the
2426
+ // number of `act` scopes on the stack.
2427
+ var prevActScopeDepth = actScopeDepth;
2428
+ actScopeDepth++;
2429
+
2430
+ if (ReactCurrentActQueue.current === null) {
2431
+ // This is the outermost `act` scope. Initialize the queue. The reconciler
2432
+ // will detect the queue and use it instead of Scheduler.
2433
+ ReactCurrentActQueue.current = [];
2434
+ }
2435
+
2436
+ var result;
2437
+
2438
+ try {
2439
+ result = callback();
2440
+ } catch (error) {
2441
+ popActScope(prevActScopeDepth);
2442
+ throw error;
2443
+ }
2444
+
2445
+ if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
2446
+ // The callback is an async function (i.e. returned a promise). Wait
2447
+ // for it to resolve before exiting the current scope.
2448
+ var wasAwaited = false;
2449
+ var thenable = {
2450
+ then: function (resolve, reject) {
2451
+ wasAwaited = true;
2452
+ result.then(function () {
2453
+ popActScope(prevActScopeDepth);
2454
+
2455
+ if (actScopeDepth === 0) {
2456
+ // We've exited the outermost act scope. Recursively flush the
2457
+ // queue until there's no remaining work.
2458
+ recursivelyFlushAsyncActWork(resolve, reject);
2459
+ } else {
2460
+ resolve();
2461
+ }
2462
+ }, function (error) {
2463
+ // The callback threw an error.
2464
+ popActScope(prevActScopeDepth);
2465
+ reject(error);
2466
+ });
2467
+ }
2468
+ };
2469
+
2470
+ {
2471
+ if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
2472
+ // eslint-disable-next-line no-undef
2473
+ Promise.resolve().then(function () {}).then(function () {
2474
+ if (!wasAwaited) {
2475
+ didWarnNoAwaitAct = true;
2476
+
2477
+ error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, ' + 'interleaving multiple act calls and mixing their ' + 'scopes. ' + 'You should - await act(async () => ...);');
2478
+ }
2479
+ });
2480
+ }
2481
+ }
2482
+
2483
+ return thenable;
2484
+ } else {
2485
+ // The callback is not an async function. Exit the current scope
2486
+ // immediately, without awaiting.
2487
+ popActScope(prevActScopeDepth);
2488
+
2489
+ if (actScopeDepth === 0) {
2490
+ // Exiting the outermost act scope. Flush the queue.
2491
+ var queue = ReactCurrentActQueue.current;
2492
+
2493
+ if (queue !== null) {
2494
+ flushActQueue(queue);
2495
+ ReactCurrentActQueue.current = null;
2496
+ } // Return a thenable. If the user awaits it, we'll flush again in
2497
+ // case additional work was scheduled by a microtask.
2498
+
2499
+
2500
+ return {
2501
+ then: function (resolve, reject) {
2502
+ // Confirm we haven't re-entered another `act` scope, in case
2503
+ // the user does something weird like await the thenable
2504
+ // multiple times.
2505
+ if (ReactCurrentActQueue.current === null) {
2506
+ // Recursively flush the queue until there's no remaining work.
2507
+ ReactCurrentActQueue.current = [];
2508
+ recursivelyFlushAsyncActWork(resolve, reject);
2509
+ }
2510
+ }
2511
+ };
2512
+ } else {
2513
+ // Since we're inside a nested `act` scope, the returned thenable
2514
+ // immediately resolves. The outer scope will flush the queue.
2515
+ return {
2516
+ then: function (resolve, reject) {
2517
+ resolve();
2518
+ }
2519
+ };
2520
+ }
2521
+ }
2522
+ }
2523
+ }
2524
+
2525
+ function popActScope(prevActScopeDepth) {
2526
+ {
2527
+ if (prevActScopeDepth !== actScopeDepth - 1) {
2528
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
2529
+ }
2530
+
2531
+ actScopeDepth = prevActScopeDepth;
2532
+ }
2533
+ }
2534
+
2535
+ function recursivelyFlushAsyncActWork(resolve, reject) {
2536
+ {
2537
+ var queue = ReactCurrentActQueue.current;
2538
+
2539
+ if (queue !== null) {
2540
+ try {
2541
+ flushActQueue(queue);
2542
+ enqueueTask(function () {
2543
+ if (queue.length === 0) {
2544
+ // No additional work was scheduled. Finish.
2545
+ ReactCurrentActQueue.current = null;
2546
+ resolve();
2547
+ } else {
2548
+ // Keep flushing work until there's none left.
2549
+ recursivelyFlushAsyncActWork(resolve, reject);
2550
+ }
2551
+ });
2552
+ } catch (error) {
2553
+ reject(error);
2554
+ }
2555
+ } else {
2556
+ resolve();
2557
+ }
2558
+ }
2559
+ }
2560
+
2561
+ var isFlushing = false;
2562
+
2563
+ function flushActQueue(queue) {
2564
+ {
2565
+ if (!isFlushing) {
2566
+ // Prevent re-entrancy.
2567
+ isFlushing = true;
2568
+ var i = 0;
2569
+
2570
+ try {
2571
+ for (; i < queue.length; i++) {
2572
+ var callback = queue[i];
2573
+
2574
+ do {
2575
+ callback = callback(true);
2576
+ } while (callback !== null);
2577
+ }
2578
+
2579
+ queue.length = 0;
2580
+ } catch (error) {
2581
+ // If something throws, leave the remaining callbacks on the queue.
2582
+ queue = queue.slice(i + 1);
2583
+ throw error;
2584
+ } finally {
2585
+ isFlushing = false;
2586
+ }
2587
+ }
2588
+ }
2589
+ }
2590
+
2381
2591
  var createElement$1 = createElementWithValidation ;
2382
2592
  var cloneElement$1 = cloneElementWithValidation ;
2383
2593
  var createFactory = createFactoryWithValidation ;
@@ -2403,6 +2613,7 @@ exports.isValidElement = isValidElement;
2403
2613
  exports.lazy = lazy;
2404
2614
  exports.memo = memo;
2405
2615
  exports.startTransition = startTransition;
2616
+ exports.unstable_act = act;
2406
2617
  exports.unstable_createMutableSource = createMutableSource;
2407
2618
  exports.unstable_getCacheForType = getCacheForType;
2408
2619
  exports.unstable_useCacheRefresh = useCacheRefresh;
@@ -16,11 +16,11 @@ function K(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(
16
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)}
17
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=
18
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}
19
- function R(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var S={current:null},T={transition:0},U={ReactCurrentDispatcher:S,ReactCurrentBatchConfig:T,ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},assign:l};
19
+ function R(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var S={current:null},T={transition:0},U={ReactCurrentDispatcher:S,ReactCurrentBatchConfig:T,ReactCurrentOwner:I,assign:l};
20
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;
21
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,
22
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;
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.startTransition=function(a){var b=T.transition;T.transition=1;try{a()}finally{T.transition=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_useCacheRefresh=function(){return S.current.useCacheRefresh()};exports.unstable_useMutableSource=function(a,b,c){return S.current.useMutableSource(a,b,c)};exports.unstable_useOpaqueIdentifier=function(){return S.current.useOpaqueIdentifier()};exports.useCallback=function(a,b){return S.current.useCallback(a,b)};exports.useContext=function(a){return S.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return S.current.useDeferredValue(a)};
25
- 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)};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.useTransition=function(){return S.current.useTransition()};
26
- exports.version="18.0.0-experimental-568dc3532";
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.startTransition=function(a){var b=T.transition;T.transition=1;try{a()}finally{T.transition=b}};exports.unstable_act=function(){throw Error(z(406));};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};
24
+ exports.unstable_getCacheForType=function(a){return S.current.getCacheForType(a)};exports.unstable_useCacheRefresh=function(){return S.current.useCacheRefresh()};exports.unstable_useMutableSource=function(a,b,c){return S.current.useMutableSource(a,b,c)};exports.unstable_useOpaqueIdentifier=function(){return S.current.useOpaqueIdentifier()};exports.useCallback=function(a,b){return S.current.useCallback(a,b)};exports.useContext=function(a){return S.current.useContext(a)};exports.useDebugValue=function(){};
25
+ exports.useDeferredValue=function(a){return S.current.useDeferredValue(a)};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)};exports.useReducer=function(a,b,c){return S.current.useReducer(a,b,c)};exports.useRef=function(a){return S.current.useRef(a)};
26
+ exports.useState=function(a){return S.current.useState(a)};exports.useTransition=function(){return S.current.useTransition()};exports.version="18.0.0-experimental-d7dce572c";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "0.0.0-experimental-568dc3532",
7
+ "version": "0.0.0-experimental-d7dce572c",
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 = '18.0.0-experimental-568dc3532';
15
+ var ReactVersion = '18.0.0-experimental-d7dce572c';
16
16
 
17
17
  // ATTENTION
18
18
  // When adding new symbols to this file,
@@ -123,6 +123,16 @@
123
123
  transition: 0
124
124
  };
125
125
 
126
+ var ReactCurrentActQueue = {
127
+ current: null,
128
+ // Our internal tests use a custom implementation of `act` that works by
129
+ // mocking the Scheduler package. Use this field to disable the `act` warning.
130
+ // TODO: Maybe the warning should be disabled by default, and then turned
131
+ // on at the testing frameworks layer? Instead of what we do now, which
132
+ // is check if a `jest` global is defined.
133
+ disableActWarning: false
134
+ };
135
+
126
136
  /**
127
137
  * Keeps track of the current owner.
128
138
  *
@@ -173,24 +183,17 @@
173
183
  };
174
184
  }
175
185
 
176
- /**
177
- * Used by act() to track whether you're inside an act() scope.
178
- */
179
- var IsSomeRendererActing = {
180
- current: false
181
- };
182
-
183
186
  var ReactSharedInternals = {
184
187
  ReactCurrentDispatcher: ReactCurrentDispatcher,
185
188
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
186
189
  ReactCurrentOwner: ReactCurrentOwner,
187
- IsSomeRendererActing: IsSomeRendererActing,
188
190
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
189
191
  assign: assign
190
192
  };
191
193
 
192
194
  {
193
195
  ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
196
+ ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
194
197
  }
195
198
 
196
199
  // by calls to these methods by a Babel plugin.
@@ -2993,7 +2996,6 @@
2993
2996
  var ReactSharedInternals$1 = {
2994
2997
  ReactCurrentDispatcher: ReactCurrentDispatcher,
2995
2998
  ReactCurrentOwner: ReactCurrentOwner,
2996
- IsSomeRendererActing: IsSomeRendererActing,
2997
2999
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
2998
3000
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
2999
3001
  assign: assign,
@@ -3020,6 +3022,213 @@
3020
3022
  }
3021
3023
  }
3022
3024
 
3025
+ var didWarnAboutMessageChannel = false;
3026
+ var enqueueTaskImpl = null;
3027
+ function enqueueTask(task) {
3028
+ if (enqueueTaskImpl === null) {
3029
+ try {
3030
+ // read require off the module object to get around the bundlers.
3031
+ // we don't want them to detect a require and bundle a Node polyfill.
3032
+ var requireString = ('require' + Math.random()).slice(0, 7);
3033
+ var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
3034
+ // version of setImmediate, bypassing fake timers if any.
3035
+
3036
+ enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
3037
+ } catch (_err) {
3038
+ // we're in a browser
3039
+ // we can't use regular timers because they may still be faked
3040
+ // so we try MessageChannel+postMessage instead
3041
+ enqueueTaskImpl = function (callback) {
3042
+ {
3043
+ if (didWarnAboutMessageChannel === false) {
3044
+ didWarnAboutMessageChannel = true;
3045
+
3046
+ if (typeof MessageChannel === 'undefined') {
3047
+ error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');
3048
+ }
3049
+ }
3050
+ }
3051
+
3052
+ var channel = new MessageChannel();
3053
+ channel.port1.onmessage = callback;
3054
+ channel.port2.postMessage(undefined);
3055
+ };
3056
+ }
3057
+ }
3058
+
3059
+ return enqueueTaskImpl(task);
3060
+ }
3061
+
3062
+ var actScopeDepth = 0;
3063
+ var didWarnNoAwaitAct = false;
3064
+ function act(callback) {
3065
+ {
3066
+ // `act` calls can be nested, so we track the depth. This represents the
3067
+ // number of `act` scopes on the stack.
3068
+ var prevActScopeDepth = actScopeDepth;
3069
+ actScopeDepth++;
3070
+
3071
+ if (ReactCurrentActQueue.current === null) {
3072
+ // This is the outermost `act` scope. Initialize the queue. The reconciler
3073
+ // will detect the queue and use it instead of Scheduler.
3074
+ ReactCurrentActQueue.current = [];
3075
+ }
3076
+
3077
+ var result;
3078
+
3079
+ try {
3080
+ result = callback();
3081
+ } catch (error) {
3082
+ popActScope(prevActScopeDepth);
3083
+ throw error;
3084
+ }
3085
+
3086
+ if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
3087
+ // The callback is an async function (i.e. returned a promise). Wait
3088
+ // for it to resolve before exiting the current scope.
3089
+ var wasAwaited = false;
3090
+ var thenable = {
3091
+ then: function (resolve, reject) {
3092
+ wasAwaited = true;
3093
+ result.then(function () {
3094
+ popActScope(prevActScopeDepth);
3095
+
3096
+ if (actScopeDepth === 0) {
3097
+ // We've exited the outermost act scope. Recursively flush the
3098
+ // queue until there's no remaining work.
3099
+ recursivelyFlushAsyncActWork(resolve, reject);
3100
+ } else {
3101
+ resolve();
3102
+ }
3103
+ }, function (error) {
3104
+ // The callback threw an error.
3105
+ popActScope(prevActScopeDepth);
3106
+ reject(error);
3107
+ });
3108
+ }
3109
+ };
3110
+
3111
+ {
3112
+ if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
3113
+ // eslint-disable-next-line no-undef
3114
+ Promise.resolve().then(function () {}).then(function () {
3115
+ if (!wasAwaited) {
3116
+ didWarnNoAwaitAct = true;
3117
+
3118
+ error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, ' + 'interleaving multiple act calls and mixing their ' + 'scopes. ' + 'You should - await act(async () => ...);');
3119
+ }
3120
+ });
3121
+ }
3122
+ }
3123
+
3124
+ return thenable;
3125
+ } else {
3126
+ // The callback is not an async function. Exit the current scope
3127
+ // immediately, without awaiting.
3128
+ popActScope(prevActScopeDepth);
3129
+
3130
+ if (actScopeDepth === 0) {
3131
+ // Exiting the outermost act scope. Flush the queue.
3132
+ var queue = ReactCurrentActQueue.current;
3133
+
3134
+ if (queue !== null) {
3135
+ flushActQueue(queue);
3136
+ ReactCurrentActQueue.current = null;
3137
+ } // Return a thenable. If the user awaits it, we'll flush again in
3138
+ // case additional work was scheduled by a microtask.
3139
+
3140
+
3141
+ return {
3142
+ then: function (resolve, reject) {
3143
+ // Confirm we haven't re-entered another `act` scope, in case
3144
+ // the user does something weird like await the thenable
3145
+ // multiple times.
3146
+ if (ReactCurrentActQueue.current === null) {
3147
+ // Recursively flush the queue until there's no remaining work.
3148
+ ReactCurrentActQueue.current = [];
3149
+ recursivelyFlushAsyncActWork(resolve, reject);
3150
+ }
3151
+ }
3152
+ };
3153
+ } else {
3154
+ // Since we're inside a nested `act` scope, the returned thenable
3155
+ // immediately resolves. The outer scope will flush the queue.
3156
+ return {
3157
+ then: function (resolve, reject) {
3158
+ resolve();
3159
+ }
3160
+ };
3161
+ }
3162
+ }
3163
+ }
3164
+ }
3165
+
3166
+ function popActScope(prevActScopeDepth) {
3167
+ {
3168
+ if (prevActScopeDepth !== actScopeDepth - 1) {
3169
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
3170
+ }
3171
+
3172
+ actScopeDepth = prevActScopeDepth;
3173
+ }
3174
+ }
3175
+
3176
+ function recursivelyFlushAsyncActWork(resolve, reject) {
3177
+ {
3178
+ var queue = ReactCurrentActQueue.current;
3179
+
3180
+ if (queue !== null) {
3181
+ try {
3182
+ flushActQueue(queue);
3183
+ enqueueTask(function () {
3184
+ if (queue.length === 0) {
3185
+ // No additional work was scheduled. Finish.
3186
+ ReactCurrentActQueue.current = null;
3187
+ resolve();
3188
+ } else {
3189
+ // Keep flushing work until there's none left.
3190
+ recursivelyFlushAsyncActWork(resolve, reject);
3191
+ }
3192
+ });
3193
+ } catch (error) {
3194
+ reject(error);
3195
+ }
3196
+ } else {
3197
+ resolve();
3198
+ }
3199
+ }
3200
+ }
3201
+
3202
+ var isFlushing = false;
3203
+
3204
+ function flushActQueue(queue) {
3205
+ {
3206
+ if (!isFlushing) {
3207
+ // Prevent re-entrancy.
3208
+ isFlushing = true;
3209
+ var i = 0;
3210
+
3211
+ try {
3212
+ for (; i < queue.length; i++) {
3213
+ var callback = queue[i];
3214
+
3215
+ do {
3216
+ callback = callback(true);
3217
+ } while (callback !== null);
3218
+ }
3219
+
3220
+ queue.length = 0;
3221
+ } catch (error) {
3222
+ // If something throws, leave the remaining callbacks on the queue.
3223
+ queue = queue.slice(i + 1);
3224
+ throw error;
3225
+ } finally {
3226
+ isFlushing = false;
3227
+ }
3228
+ }
3229
+ }
3230
+ }
3231
+
3023
3232
  var createElement$1 = createElementWithValidation ;
3024
3233
  var cloneElement$1 = cloneElementWithValidation ;
3025
3234
  var createFactory = createFactoryWithValidation ;
@@ -3045,6 +3254,7 @@
3045
3254
  exports.lazy = lazy;
3046
3255
  exports.memo = memo;
3047
3256
  exports.startTransition = startTransition;
3257
+ exports.unstable_act = act;
3048
3258
  exports.unstable_createMutableSource = createMutableSource;
3049
3259
  exports.unstable_getCacheForType = getCacheForType;
3050
3260
  exports.unstable_useCacheRefresh = useCacheRefresh;
@@ -6,26 +6,26 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- (function(){'use strict';(function(b,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(b=b||self,w(b.React={}))})(this,function(b){function w(a){if(null===a||"object"!==typeof a)return null;a=W&&a[W]||a["@@iterator"];return"function"===typeof a?a:null}function A(a){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+a,k=1;k<arguments.length;k++)c+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+
10
- a+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(a,c,k){this.props=a;this.context=c;this.refs=X;this.updater=k||Y}function Z(){}function K(a,c,k){this.props=a;this.context=c;this.refs=X;this.updater=k||Y}function aa(a,c,k){var b,e={},ba=null,x=null;if(null!=c)for(b in void 0!==c.ref&&(x=c.ref),void 0!==c.key&&(ba=""+c.key),c)ca.call(c,b)&&!da.hasOwnProperty(b)&&(e[b]=c[b]);var d=arguments.length-2;if(1===d)e.children=
11
- k;else if(1<d){for(var h=Array(d),f=0;f<d;f++)h[f]=arguments[f+2];e.children=h}if(a&&a.defaultProps)for(b in d=a.defaultProps,d)void 0===e[b]&&(e[b]=d[b]);return{$$typeof:v,type:a,key:ba,ref:x,props:e,_owner:L.current}}function ua(a,c){return{$$typeof:v,type:a.type,key:c,ref:a.ref,props:a.props,_owner:a._owner}}function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function va(a){var c={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return c[a]})}function N(a,c){return"object"===
9
+ (function(){'use strict';(function(b,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(b=b||self,w(b.React={}))})(this,function(b){function w(a){if(null===a||"object"!==typeof a)return null;a=W&&a[W]||a["@@iterator"];return"function"===typeof a?a:null}function x(a){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+a,k=1;k<arguments.length;k++)c+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+
10
+ a+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(a,c,k){this.props=a;this.context=c;this.refs=X;this.updater=k||Y}function Z(){}function K(a,c,k){this.props=a;this.context=c;this.refs=X;this.updater=k||Y}function aa(a,c,k){var b,e={},ba=null,y=null;if(null!=c)for(b in void 0!==c.ref&&(y=c.ref),void 0!==c.key&&(ba=""+c.key),c)ca.call(c,b)&&!da.hasOwnProperty(b)&&(e[b]=c[b]);var d=arguments.length-2;if(1===d)e.children=
11
+ k;else if(1<d){for(var h=Array(d),f=0;f<d;f++)h[f]=arguments[f+2];e.children=h}if(a&&a.defaultProps)for(b in d=a.defaultProps,d)void 0===e[b]&&(e[b]=d[b]);return{$$typeof:v,type:a,key:ba,ref:y,props:e,_owner:L.current}}function ua(a,c){return{$$typeof:v,type:a.type,key:c,ref:a.ref,props:a.props,_owner:a._owner}}function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function va(a){var c={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return c[a]})}function N(a,c){return"object"===
12
12
  typeof a&&null!==a&&null!=a.key?va(""+a.key):c.toString(36)}function B(a,c,k,b,e){var n=typeof a;if("undefined"===n||"boolean"===n)a=null;var d=!1;if(null===a)d=!0;else switch(n){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case v:case ea:d=!0}}if(d)return d=a,e=e(d),a=""===b?"."+N(d,0):b,fa(e)?(k="",null!=a&&(k=a.replace(ha,"$&/")+"/"),B(e,c,k,"",function(a){return a})):null!=e&&(M(e)&&(e=ua(e,k+(!e.key||d&&d.key===e.key?"":(""+e.key).replace(ha,"$&/")+"/")+a)),c.push(e)),
13
- 1;d=0;b=""===b?".":b+":";if(fa(a))for(var f=0;f<a.length;f++){n=a[f];var h=b+N(n,f);d+=B(n,c,k,h,e)}else if(h=w(a),"function"===typeof h)for(a=h.call(a),f=0;!(n=a.next()).done;)n=n.value,h=b+N(n,f++),d+=B(n,c,k,h,e);else if("object"===n)throw c=""+a,Error(A(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c));return d}function C(a,c,k){if(null==a)return a;var b=[],e=0;B(a,b,"","",function(a){return c.call(k,a,e++)});return b}function wa(a){if(-1===a._status){var c=a._result;
13
+ 1;d=0;b=""===b?".":b+":";if(fa(a))for(var f=0;f<a.length;f++){n=a[f];var h=b+N(n,f);d+=B(n,c,k,h,e)}else if(h=w(a),"function"===typeof h)for(a=h.call(a),f=0;!(n=a.next()).done;)n=n.value,h=b+N(n,f++),d+=B(n,c,k,h,e);else if("object"===n)throw c=""+a,Error(x(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c));return d}function C(a,c,k){if(null==a)return a;var b=[],e=0;B(a,b,"","",function(a){return c.call(k,a,e++)});return b}function wa(a){if(-1===a._status){var c=a._result;
14
14
  c=c();c.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=c)}if(1===a._status)return a._result.default;throw a._result;}function O(a,c){var b=a.length;a.push(c);a:for(;0<b;){var d=b-1>>>1,e=a[d];if(0<D(e,c))a[d]=c,a[b]=e,b=d;else break a}}function l(a){return 0===a.length?null:a[0]}function E(a){if(0===a.length)return null;var c=a[0],b=a.pop();if(b!==c){a[0]=b;a:for(var d=
15
- 0,e=a.length,f=e>>>1;d<f;){var g=2*(d+1)-1,m=a[g],h=g+1,l=a[h];if(0>D(m,b))h<e&&0>D(l,m)?(a[d]=l,a[h]=b,d=h):(a[d]=m,a[g]=b,d=g);else if(h<e&&0>D(l,b))a[d]=l,a[h]=b,d=h;else break a}}return c}function D(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function P(a){for(var c=l(q);null!==c;){if(null===c.callback)E(q);else if(c.startTime<=a)E(q),c.sortIndex=c.expirationTime,O(p,c);else break;c=l(q)}}function Q(a){y=!1;P(a);if(!r)if(null!==l(p))r=!0,R(S);else{var c=l(q);null!==c&&T(Q,c.startTime-
16
- a)}}function S(a,c){r=!1;y&&(y=!1,ia(z),z=-1);F=!0;var b=f;try{P(c);for(m=l(p);null!==m&&(!(m.expirationTime>c)||a&&!ja());){var d=m.callback;if("function"===typeof d){m.callback=null;f=m.priorityLevel;var e=d(m.expirationTime<=c);c=t();"function"===typeof e?m.callback=e:m===l(p)&&E(p);P(c)}else E(p);m=l(p)}if(null!==m)var g=!0;else{var x=l(q);null!==x&&T(Q,x.startTime-c);g=!1}return g}finally{m=null,f=b,F=!1}}function ja(){return t()>=ka}function R(a){G=a;H||(H=!0,I())}function T(a,c){z=la(function(){a(t())},
15
+ 0,e=a.length,f=e>>>1;d<f;){var g=2*(d+1)-1,m=a[g],h=g+1,l=a[h];if(0>D(m,b))h<e&&0>D(l,m)?(a[d]=l,a[h]=b,d=h):(a[d]=m,a[g]=b,d=g);else if(h<e&&0>D(l,b))a[d]=l,a[h]=b,d=h;else break a}}return c}function D(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function P(a){for(var c=l(q);null!==c;){if(null===c.callback)E(q);else if(c.startTime<=a)E(q),c.sortIndex=c.expirationTime,O(p,c);else break;c=l(q)}}function Q(a){z=!1;P(a);if(!r)if(null!==l(p))r=!0,R(S);else{var c=l(q);null!==c&&T(Q,c.startTime-
16
+ a)}}function S(a,c){r=!1;z&&(z=!1,ia(A),A=-1);F=!0;var b=f;try{P(c);for(m=l(p);null!==m&&(!(m.expirationTime>c)||a&&!ja());){var d=m.callback;if("function"===typeof d){m.callback=null;f=m.priorityLevel;var e=d(m.expirationTime<=c);c=t();"function"===typeof e?m.callback=e:m===l(p)&&E(p);P(c)}else E(p);m=l(p)}if(null!==m)var g=!0;else{var y=l(q);null!==y&&T(Q,y.startTime-c);g=!1}return g}finally{m=null,f=b,F=!1}}function ja(){return t()>=ka}function R(a){G=a;H||(H=!0,I())}function T(a,c){A=la(function(){a(t())},
17
17
  c)}var v=60103,ea=60106;b.Fragment=60107;b.StrictMode=60108;b.Profiler=60114;var ma=60109,na=60110,oa=60112;b.Suspense=60113;b.SuspenseList=60120;var pa=60115,qa=60116;b.unstable_DebugTracingMode=60129;b.unstable_Offscreen=60130;b.unstable_LegacyHidden=60131;b.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");ea=d("react.portal");b.Fragment=d("react.fragment");b.StrictMode=d("react.strict_mode");b.Profiler=d("react.profiler");ma=d("react.provider");
18
18
  na=d("react.context");oa=d("react.forward_ref");b.Suspense=d("react.suspense");b.SuspenseList=d("react.suspense_list");pa=d("react.memo");qa=d("react.lazy");b.unstable_DebugTracingMode=d("react.debug_trace_mode");b.unstable_Offscreen=d("react.offscreen");b.unstable_LegacyHidden=d("react.legacy_hidden");b.unstable_Cache=d("react.cache")}var W="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,U=Object.assign||function(a,c){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");
19
- for(var b=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var f=void 0;e=Object(e);for(f in e)xa.call(e,f)&&(b[f]=e[f])}}return b},Y={isMounted:function(a){return!1},enqueueForceUpdate:function(a,c,b){},enqueueReplaceState:function(a,c,b,d){},enqueueSetState:function(a,c,b,d){}},X={};u.prototype.isReactComponent={};u.prototype.setState=function(a,c){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(A(85));this.updater.enqueueSetState(this,a,c,"setState")};u.prototype.forceUpdate=
19
+ for(var b=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var f=void 0;e=Object(e);for(f in e)xa.call(e,f)&&(b[f]=e[f])}}return b},Y={isMounted:function(a){return!1},enqueueForceUpdate:function(a,c,b){},enqueueReplaceState:function(a,c,b,d){},enqueueSetState:function(a,c,b,d){}},X={};u.prototype.isReactComponent={};u.prototype.setState=function(a,c){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(x(85));this.updater.enqueueSetState(this,a,c,"setState")};u.prototype.forceUpdate=
20
20
  function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};Z.prototype=u.prototype;d=K.prototype=new Z;d.constructor=K;U(d,u.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,L={current:null},da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,g={current:null},J={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var t=function(){return ya.now()}}else{var ra=Date,za=ra.now();t=function(){return ra.now()-
21
- za}}var p=[],q=[],Aa=1,m=null,f=3,F=!1,r=!1,y=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,H=!1,G=null,z=-1,ta=5,ka=0,V=function(){if(null!==G){var a=t();ka=a+ta;var c=!0;try{c=G(!0,a)}finally{c?I():(H=!1,G=null)}}else H=!1};if("function"===typeof sa)var I=function(){sa(V)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=V;I=function(){Ba.postMessage(null)}}else I=
22
- function(){la(V,0)};d={ReactCurrentDispatcher:g,ReactCurrentOwner:L,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:J,assign:U,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,c){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var b=f;f=a;try{return c()}finally{f=b}},unstable_next:function(a){switch(f){case 1:case 2:case 3:var c=
23
- 3;break;default:c=f}var b=f;f=c;try{return a()}finally{f=b}},unstable_scheduleCallback:function(a,c,b){var d=t();"object"===typeof b&&null!==b?(b=b.delay,b="number"===typeof b&&0<b?d+b:d):b=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=b+e;a={id:Aa++,callback:c,priorityLevel:a,startTime:b,expirationTime:e,sortIndex:-1};b>d?(a.sortIndex=b,O(q,a),null===l(p)&&a===l(q)&&(y?(ia(z),z=-1):y=!0,T(Q,b-d))):(a.sortIndex=e,O(p,a),r||F||(r=
24
- !0,R(S)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var c=f;return function(){var b=f;f=c;try{return a.apply(this,arguments)}finally{f=b}}},unstable_getCurrentPriorityLevel:function(){return f},unstable_shouldYield:ja,unstable_requestPaint:function(){},unstable_continueExecution:function(){r||F||(r=!0,R(S))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return l(p)},get unstable_now(){return t},unstable_forceFrameRate:function(a){0>
25
- a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};b.Children={map:C,forEach:function(a,c,b){C(a,function(){c.apply(this,arguments)},b)},count:function(a){var c=0;C(a,function(){c++});return c},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error(A(143));return a}};b.Component=u;b.PureComponent=K;b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=
26
- d;b.cloneElement=function(a,c,b){if(null===a||void 0===a)throw Error(A(267,a));var d=U({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=c){void 0!==c.ref&&(f=c.ref,k=L.current);void 0!==c.key&&(e=""+c.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in c)ca.call(c,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===c[h]&&void 0!==g?g[h]:c[h])}var h=arguments.length-2;if(1===h)d.children=b;else if(1<h){g=Array(h);for(var l=0;l<h;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:v,type:a.type,
27
- key:e,ref:f,props:d,_owner:k}};b.createContext=function(a){a={$$typeof:na,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ma,_context:a};return a.Consumer=a};b.createElement=aa;b.createFactory=function(a){var c=aa.bind(null,a);c.type=a;return c};b.createRef=function(){return{current:null}};b.forwardRef=function(a){return{$$typeof:oa,render:a}};b.isValidElement=M;b.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};b.memo=
28
- function(a,c){return{$$typeof:pa,type:a,compare:void 0===c?null:c}};b.startTransition=function(a){var c=J.transition;J.transition=1;try{a()}finally{J.transition=c}};b.unstable_createMutableSource=function(a,c){return{_getVersion:c,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};b.unstable_getCacheForType=function(a){return g.current.getCacheForType(a)};b.unstable_useCacheRefresh=function(){return g.current.useCacheRefresh()};b.unstable_useMutableSource=function(a,
29
- c,b){return g.current.useMutableSource(a,c,b)};b.unstable_useOpaqueIdentifier=function(){return g.current.useOpaqueIdentifier()};b.useCallback=function(a,c){return g.current.useCallback(a,c)};b.useContext=function(a){return g.current.useContext(a)};b.useDebugValue=function(a,c){};b.useDeferredValue=function(a){return g.current.useDeferredValue(a)};b.useEffect=function(a,c){return g.current.useEffect(a,c)};b.useImperativeHandle=function(a,c,b){return g.current.useImperativeHandle(a,c,b)};b.useLayoutEffect=
30
- function(a,b){return g.current.useLayoutEffect(a,b)};b.useMemo=function(a,b){return g.current.useMemo(a,b)};b.useReducer=function(a,b,d){return g.current.useReducer(a,b,d)};b.useRef=function(a){return g.current.useRef(a)};b.useState=function(a){return g.current.useState(a)};b.useTransition=function(){return g.current.useTransition()};b.version="18.0.0-experimental-568dc3532"});
21
+ za}}var p=[],q=[],Aa=1,m=null,f=3,F=!1,r=!1,z=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,H=!1,G=null,A=-1,ta=5,ka=0,V=function(){if(null!==G){var a=t();ka=a+ta;var c=!0;try{c=G(!0,a)}finally{c?I():(H=!1,G=null)}}else H=!1};if("function"===typeof sa)var I=function(){sa(V)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=V;I=function(){Ba.postMessage(null)}}else I=
22
+ function(){la(V,0)};d={ReactCurrentDispatcher:g,ReactCurrentOwner:L,ReactCurrentBatchConfig:J,assign:U,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,c){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var b=f;f=a;try{return c()}finally{f=b}},unstable_next:function(a){switch(f){case 1:case 2:case 3:var c=3;break;default:c=f}var b=f;f=c;
23
+ try{return a()}finally{f=b}},unstable_scheduleCallback:function(a,c,b){var d=t();"object"===typeof b&&null!==b?(b=b.delay,b="number"===typeof b&&0<b?d+b:d):b=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=b+e;a={id:Aa++,callback:c,priorityLevel:a,startTime:b,expirationTime:e,sortIndex:-1};b>d?(a.sortIndex=b,O(q,a),null===l(p)&&a===l(q)&&(z?(ia(A),A=-1):z=!0,T(Q,b-d))):(a.sortIndex=e,O(p,a),r||F||(r=!0,R(S)));return a},unstable_cancelCallback:function(a){a.callback=
24
+ null},unstable_wrapCallback:function(a){var c=f;return function(){var b=f;f=c;try{return a.apply(this,arguments)}finally{f=b}}},unstable_getCurrentPriorityLevel:function(){return f},unstable_shouldYield:ja,unstable_requestPaint:function(){},unstable_continueExecution:function(){r||F||(r=!0,R(S))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return l(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"):
25
+ ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};b.Children={map:C,forEach:function(a,c,b){C(a,function(){c.apply(this,arguments)},b)},count:function(a){var c=0;C(a,function(){c++});return c},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error(x(143));return a}};b.Component=u;b.PureComponent=K;b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d;b.cloneElement=function(a,c,b){if(null===a||void 0===a)throw Error(x(267,a));var d=U({},a.props),e=a.key,
26
+ f=a.ref,k=a._owner;if(null!=c){void 0!==c.ref&&(f=c.ref,k=L.current);void 0!==c.key&&(e=""+c.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in c)ca.call(c,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===c[h]&&void 0!==g?g[h]:c[h])}var h=arguments.length-2;if(1===h)d.children=b;else if(1<h){g=Array(h);for(var l=0;l<h;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:v,type:a.type,key:e,ref:f,props:d,_owner:k}};b.createContext=function(a){a={$$typeof:na,_currentValue:a,_currentValue2:a,
27
+ _threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ma,_context:a};return a.Consumer=a};b.createElement=aa;b.createFactory=function(a){var c=aa.bind(null,a);c.type=a;return c};b.createRef=function(){return{current:null}};b.forwardRef=function(a){return{$$typeof:oa,render:a}};b.isValidElement=M;b.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};b.memo=function(a,c){return{$$typeof:pa,type:a,compare:void 0===c?null:c}};b.startTransition=function(a){var c=J.transition;
28
+ J.transition=1;try{a()}finally{J.transition=c}};b.unstable_act=function(a){throw Error(x(406));};b.unstable_createMutableSource=function(a,c){return{_getVersion:c,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};b.unstable_getCacheForType=function(a){return g.current.getCacheForType(a)};b.unstable_useCacheRefresh=function(){return g.current.useCacheRefresh()};b.unstable_useMutableSource=function(a,c,b){return g.current.useMutableSource(a,c,b)};b.unstable_useOpaqueIdentifier=
29
+ function(){return g.current.useOpaqueIdentifier()};b.useCallback=function(a,c){return g.current.useCallback(a,c)};b.useContext=function(a){return g.current.useContext(a)};b.useDebugValue=function(a,c){};b.useDeferredValue=function(a){return g.current.useDeferredValue(a)};b.useEffect=function(a,c){return g.current.useEffect(a,c)};b.useImperativeHandle=function(a,c,b){return g.current.useImperativeHandle(a,c,b)};b.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};b.useMemo=function(a,
30
+ b){return g.current.useMemo(a,b)};b.useReducer=function(a,b,d){return g.current.useReducer(a,b,d)};b.useRef=function(a){return g.current.useRef(a)};b.useState=function(a){return g.current.useState(a)};b.useTransition=function(){return g.current.useTransition()};b.version="18.0.0-experimental-d7dce572c"});
31
31
  })();
@@ -6,26 +6,26 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- (function(){'use strict';(function(b,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(b=b||self,w(b.React={}))})(this,function(b){function w(a){if(null===a||"object"!==typeof a)return null;a=W&&a[W]||a["@@iterator"];return"function"===typeof a?a:null}function A(a){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+a,k=1;k<arguments.length;k++)c+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+
10
- a+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(a,c,k){this.props=a;this.context=c;this.refs=X;this.updater=k||Y}function Z(){}function K(a,c,k){this.props=a;this.context=c;this.refs=X;this.updater=k||Y}function aa(a,c,k){var b,e={},ba=null,x=null;if(null!=c)for(b in void 0!==c.ref&&(x=c.ref),void 0!==c.key&&(ba=""+c.key),c)ca.call(c,b)&&!da.hasOwnProperty(b)&&(e[b]=c[b]);var d=arguments.length-2;if(1===d)e.children=
11
- k;else if(1<d){for(var h=Array(d),f=0;f<d;f++)h[f]=arguments[f+2];e.children=h}if(a&&a.defaultProps)for(b in d=a.defaultProps,d)void 0===e[b]&&(e[b]=d[b]);return{$$typeof:v,type:a,key:ba,ref:x,props:e,_owner:L.current}}function ua(a,c){return{$$typeof:v,type:a.type,key:c,ref:a.ref,props:a.props,_owner:a._owner}}function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function va(a){var c={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return c[a]})}function N(a,c){return"object"===
9
+ (function(){'use strict';(function(b,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(b=b||self,w(b.React={}))})(this,function(b){function w(a){if(null===a||"object"!==typeof a)return null;a=W&&a[W]||a["@@iterator"];return"function"===typeof a?a:null}function x(a){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+a,k=1;k<arguments.length;k++)c+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+
10
+ a+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(a,c,k){this.props=a;this.context=c;this.refs=X;this.updater=k||Y}function Z(){}function K(a,c,k){this.props=a;this.context=c;this.refs=X;this.updater=k||Y}function aa(a,c,k){var b,e={},ba=null,y=null;if(null!=c)for(b in void 0!==c.ref&&(y=c.ref),void 0!==c.key&&(ba=""+c.key),c)ca.call(c,b)&&!da.hasOwnProperty(b)&&(e[b]=c[b]);var d=arguments.length-2;if(1===d)e.children=
11
+ k;else if(1<d){for(var h=Array(d),f=0;f<d;f++)h[f]=arguments[f+2];e.children=h}if(a&&a.defaultProps)for(b in d=a.defaultProps,d)void 0===e[b]&&(e[b]=d[b]);return{$$typeof:v,type:a,key:ba,ref:y,props:e,_owner:L.current}}function ua(a,c){return{$$typeof:v,type:a.type,key:c,ref:a.ref,props:a.props,_owner:a._owner}}function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function va(a){var c={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return c[a]})}function N(a,c){return"object"===
12
12
  typeof a&&null!==a&&null!=a.key?va(""+a.key):c.toString(36)}function B(a,c,k,b,e){var n=typeof a;if("undefined"===n||"boolean"===n)a=null;var d=!1;if(null===a)d=!0;else switch(n){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case v:case ea:d=!0}}if(d)return d=a,e=e(d),a=""===b?"."+N(d,0):b,fa(e)?(k="",null!=a&&(k=a.replace(ha,"$&/")+"/"),B(e,c,k,"",function(a){return a})):null!=e&&(M(e)&&(e=ua(e,k+(!e.key||d&&d.key===e.key?"":(""+e.key).replace(ha,"$&/")+"/")+a)),c.push(e)),
13
- 1;d=0;b=""===b?".":b+":";if(fa(a))for(var f=0;f<a.length;f++){n=a[f];var h=b+N(n,f);d+=B(n,c,k,h,e)}else if(h=w(a),"function"===typeof h)for(a=h.call(a),f=0;!(n=a.next()).done;)n=n.value,h=b+N(n,f++),d+=B(n,c,k,h,e);else if("object"===n)throw c=""+a,Error(A(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c));return d}function C(a,c,k){if(null==a)return a;var b=[],e=0;B(a,b,"","",function(a){return c.call(k,a,e++)});return b}function wa(a){if(-1===a._status){var c=a._result;
13
+ 1;d=0;b=""===b?".":b+":";if(fa(a))for(var f=0;f<a.length;f++){n=a[f];var h=b+N(n,f);d+=B(n,c,k,h,e)}else if(h=w(a),"function"===typeof h)for(a=h.call(a),f=0;!(n=a.next()).done;)n=n.value,h=b+N(n,f++),d+=B(n,c,k,h,e);else if("object"===n)throw c=""+a,Error(x(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c));return d}function C(a,c,k){if(null==a)return a;var b=[],e=0;B(a,b,"","",function(a){return c.call(k,a,e++)});return b}function wa(a){if(-1===a._status){var c=a._result;
14
14
  c=c();c.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=c)}if(1===a._status)return a._result.default;throw a._result;}function O(a,c){var b=a.length;a.push(c);a:for(;0<b;){var d=b-1>>>1,e=a[d];if(0<D(e,c))a[d]=c,a[b]=e,b=d;else break a}}function l(a){return 0===a.length?null:a[0]}function E(a){if(0===a.length)return null;var c=a[0],b=a.pop();if(b!==c){a[0]=b;a:for(var d=
15
- 0,e=a.length,f=e>>>1;d<f;){var g=2*(d+1)-1,m=a[g],h=g+1,l=a[h];if(0>D(m,b))h<e&&0>D(l,m)?(a[d]=l,a[h]=b,d=h):(a[d]=m,a[g]=b,d=g);else if(h<e&&0>D(l,b))a[d]=l,a[h]=b,d=h;else break a}}return c}function D(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function P(a){for(var c=l(q);null!==c;){if(null===c.callback)E(q);else if(c.startTime<=a)E(q),c.sortIndex=c.expirationTime,O(p,c);else break;c=l(q)}}function Q(a){y=!1;P(a);if(!r)if(null!==l(p))r=!0,R(S);else{var c=l(q);null!==c&&T(Q,c.startTime-
16
- a)}}function S(a,c){r=!1;y&&(y=!1,ia(z),z=-1);F=!0;var b=f;try{P(c);for(m=l(p);null!==m&&(!(m.expirationTime>c)||a&&!ja());){var d=m.callback;if("function"===typeof d){m.callback=null;f=m.priorityLevel;var e=d(m.expirationTime<=c);c=t();"function"===typeof e?m.callback=e:m===l(p)&&E(p);P(c)}else E(p);m=l(p)}if(null!==m)var g=!0;else{var x=l(q);null!==x&&T(Q,x.startTime-c);g=!1}return g}finally{m=null,f=b,F=!1}}function ja(){return t()>=ka}function R(a){G=a;H||(H=!0,I())}function T(a,c){z=la(function(){a(t())},
15
+ 0,e=a.length,f=e>>>1;d<f;){var g=2*(d+1)-1,m=a[g],h=g+1,l=a[h];if(0>D(m,b))h<e&&0>D(l,m)?(a[d]=l,a[h]=b,d=h):(a[d]=m,a[g]=b,d=g);else if(h<e&&0>D(l,b))a[d]=l,a[h]=b,d=h;else break a}}return c}function D(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function P(a){for(var c=l(q);null!==c;){if(null===c.callback)E(q);else if(c.startTime<=a)E(q),c.sortIndex=c.expirationTime,O(p,c);else break;c=l(q)}}function Q(a){z=!1;P(a);if(!r)if(null!==l(p))r=!0,R(S);else{var c=l(q);null!==c&&T(Q,c.startTime-
16
+ a)}}function S(a,c){r=!1;z&&(z=!1,ia(A),A=-1);F=!0;var b=f;try{P(c);for(m=l(p);null!==m&&(!(m.expirationTime>c)||a&&!ja());){var d=m.callback;if("function"===typeof d){m.callback=null;f=m.priorityLevel;var e=d(m.expirationTime<=c);c=t();"function"===typeof e?m.callback=e:m===l(p)&&E(p);P(c)}else E(p);m=l(p)}if(null!==m)var g=!0;else{var y=l(q);null!==y&&T(Q,y.startTime-c);g=!1}return g}finally{m=null,f=b,F=!1}}function ja(){return t()>=ka}function R(a){G=a;H||(H=!0,I())}function T(a,c){A=la(function(){a(t())},
17
17
  c)}var v=60103,ea=60106;b.Fragment=60107;b.StrictMode=60108;b.Profiler=60114;var ma=60109,na=60110,oa=60112;b.Suspense=60113;b.SuspenseList=60120;var pa=60115,qa=60116;b.unstable_DebugTracingMode=60129;b.unstable_Offscreen=60130;b.unstable_LegacyHidden=60131;b.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");ea=d("react.portal");b.Fragment=d("react.fragment");b.StrictMode=d("react.strict_mode");b.Profiler=d("react.profiler");ma=d("react.provider");
18
18
  na=d("react.context");oa=d("react.forward_ref");b.Suspense=d("react.suspense");b.SuspenseList=d("react.suspense_list");pa=d("react.memo");qa=d("react.lazy");b.unstable_DebugTracingMode=d("react.debug_trace_mode");b.unstable_Offscreen=d("react.offscreen");b.unstable_LegacyHidden=d("react.legacy_hidden");b.unstable_Cache=d("react.cache")}var W="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,U=Object.assign||function(a,c){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");
19
- for(var b=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var f=void 0;e=Object(e);for(f in e)xa.call(e,f)&&(b[f]=e[f])}}return b},Y={isMounted:function(a){return!1},enqueueForceUpdate:function(a,c,b){},enqueueReplaceState:function(a,c,b,d){},enqueueSetState:function(a,c,b,d){}},X={};u.prototype.isReactComponent={};u.prototype.setState=function(a,c){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(A(85));this.updater.enqueueSetState(this,a,c,"setState")};u.prototype.forceUpdate=
19
+ for(var b=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var f=void 0;e=Object(e);for(f in e)xa.call(e,f)&&(b[f]=e[f])}}return b},Y={isMounted:function(a){return!1},enqueueForceUpdate:function(a,c,b){},enqueueReplaceState:function(a,c,b,d){},enqueueSetState:function(a,c,b,d){}},X={};u.prototype.isReactComponent={};u.prototype.setState=function(a,c){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(x(85));this.updater.enqueueSetState(this,a,c,"setState")};u.prototype.forceUpdate=
20
20
  function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};Z.prototype=u.prototype;d=K.prototype=new Z;d.constructor=K;U(d,u.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,L={current:null},da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,g={current:null},J={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var t=function(){return ya.now()}}else{var ra=Date,za=ra.now();t=function(){return ra.now()-
21
- za}}var p=[],q=[],Aa=1,m=null,f=3,F=!1,r=!1,y=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,H=!1,G=null,z=-1,ta=5,ka=0,V=function(){if(null!==G){var a=t();ka=a+ta;var c=!0;try{c=G(!0,a)}finally{c?I():(H=!1,G=null)}}else H=!1};if("function"===typeof sa)var I=function(){sa(V)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=V;I=function(){Ba.postMessage(null)}}else I=
22
- function(){la(V,0)};d={ReactCurrentDispatcher:g,ReactCurrentOwner:L,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:J,assign:U,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,c){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var b=f;f=a;try{return c()}finally{f=b}},unstable_next:function(a){switch(f){case 1:case 2:case 3:var c=
23
- 3;break;default:c=f}var b=f;f=c;try{return a()}finally{f=b}},unstable_scheduleCallback:function(a,c,b){var d=t();"object"===typeof b&&null!==b?(b=b.delay,b="number"===typeof b&&0<b?d+b:d):b=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=b+e;a={id:Aa++,callback:c,priorityLevel:a,startTime:b,expirationTime:e,sortIndex:-1};b>d?(a.sortIndex=b,O(q,a),null===l(p)&&a===l(q)&&(y?(ia(z),z=-1):y=!0,T(Q,b-d))):(a.sortIndex=e,O(p,a),r||F||(r=
24
- !0,R(S)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var c=f;return function(){var b=f;f=c;try{return a.apply(this,arguments)}finally{f=b}}},unstable_getCurrentPriorityLevel:function(){return f},unstable_shouldYield:ja,unstable_requestPaint:function(){},unstable_continueExecution:function(){r||F||(r=!0,R(S))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return l(p)},get unstable_now(){return t},unstable_forceFrameRate:function(a){0>
25
- a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};b.Children={map:C,forEach:function(a,c,b){C(a,function(){c.apply(this,arguments)},b)},count:function(a){var c=0;C(a,function(){c++});return c},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error(A(143));return a}};b.Component=u;b.PureComponent=K;b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=
26
- d;b.cloneElement=function(a,c,b){if(null===a||void 0===a)throw Error(A(267,a));var d=U({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=c){void 0!==c.ref&&(f=c.ref,k=L.current);void 0!==c.key&&(e=""+c.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in c)ca.call(c,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===c[h]&&void 0!==g?g[h]:c[h])}var h=arguments.length-2;if(1===h)d.children=b;else if(1<h){g=Array(h);for(var l=0;l<h;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:v,type:a.type,
27
- key:e,ref:f,props:d,_owner:k}};b.createContext=function(a){a={$$typeof:na,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ma,_context:a};return a.Consumer=a};b.createElement=aa;b.createFactory=function(a){var c=aa.bind(null,a);c.type=a;return c};b.createRef=function(){return{current:null}};b.forwardRef=function(a){return{$$typeof:oa,render:a}};b.isValidElement=M;b.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};b.memo=
28
- function(a,c){return{$$typeof:pa,type:a,compare:void 0===c?null:c}};b.startTransition=function(a){var c=J.transition;J.transition=1;try{a()}finally{J.transition=c}};b.unstable_createMutableSource=function(a,c){return{_getVersion:c,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};b.unstable_getCacheForType=function(a){return g.current.getCacheForType(a)};b.unstable_useCacheRefresh=function(){return g.current.useCacheRefresh()};b.unstable_useMutableSource=function(a,
29
- c,b){return g.current.useMutableSource(a,c,b)};b.unstable_useOpaqueIdentifier=function(){return g.current.useOpaqueIdentifier()};b.useCallback=function(a,c){return g.current.useCallback(a,c)};b.useContext=function(a){return g.current.useContext(a)};b.useDebugValue=function(a,c){};b.useDeferredValue=function(a){return g.current.useDeferredValue(a)};b.useEffect=function(a,c){return g.current.useEffect(a,c)};b.useImperativeHandle=function(a,c,b){return g.current.useImperativeHandle(a,c,b)};b.useLayoutEffect=
30
- function(a,b){return g.current.useLayoutEffect(a,b)};b.useMemo=function(a,b){return g.current.useMemo(a,b)};b.useReducer=function(a,b,d){return g.current.useReducer(a,b,d)};b.useRef=function(a){return g.current.useRef(a)};b.useState=function(a){return g.current.useState(a)};b.useTransition=function(){return g.current.useTransition()};b.version="18.0.0-experimental-568dc3532"});
21
+ za}}var p=[],q=[],Aa=1,m=null,f=3,F=!1,r=!1,z=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,H=!1,G=null,A=-1,ta=5,ka=0,V=function(){if(null!==G){var a=t();ka=a+ta;var c=!0;try{c=G(!0,a)}finally{c?I():(H=!1,G=null)}}else H=!1};if("function"===typeof sa)var I=function(){sa(V)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=V;I=function(){Ba.postMessage(null)}}else I=
22
+ function(){la(V,0)};d={ReactCurrentDispatcher:g,ReactCurrentOwner:L,ReactCurrentBatchConfig:J,assign:U,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,c){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var b=f;f=a;try{return c()}finally{f=b}},unstable_next:function(a){switch(f){case 1:case 2:case 3:var c=3;break;default:c=f}var b=f;f=c;
23
+ try{return a()}finally{f=b}},unstable_scheduleCallback:function(a,c,b){var d=t();"object"===typeof b&&null!==b?(b=b.delay,b="number"===typeof b&&0<b?d+b:d):b=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=b+e;a={id:Aa++,callback:c,priorityLevel:a,startTime:b,expirationTime:e,sortIndex:-1};b>d?(a.sortIndex=b,O(q,a),null===l(p)&&a===l(q)&&(z?(ia(A),A=-1):z=!0,T(Q,b-d))):(a.sortIndex=e,O(p,a),r||F||(r=!0,R(S)));return a},unstable_cancelCallback:function(a){a.callback=
24
+ null},unstable_wrapCallback:function(a){var c=f;return function(){var b=f;f=c;try{return a.apply(this,arguments)}finally{f=b}}},unstable_getCurrentPriorityLevel:function(){return f},unstable_shouldYield:ja,unstable_requestPaint:function(){},unstable_continueExecution:function(){r||F||(r=!0,R(S))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return l(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"):
25
+ ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};b.Children={map:C,forEach:function(a,c,b){C(a,function(){c.apply(this,arguments)},b)},count:function(a){var c=0;C(a,function(){c++});return c},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error(x(143));return a}};b.Component=u;b.PureComponent=K;b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d;b.cloneElement=function(a,c,b){if(null===a||void 0===a)throw Error(x(267,a));var d=U({},a.props),e=a.key,
26
+ f=a.ref,k=a._owner;if(null!=c){void 0!==c.ref&&(f=c.ref,k=L.current);void 0!==c.key&&(e=""+c.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in c)ca.call(c,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===c[h]&&void 0!==g?g[h]:c[h])}var h=arguments.length-2;if(1===h)d.children=b;else if(1<h){g=Array(h);for(var l=0;l<h;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:v,type:a.type,key:e,ref:f,props:d,_owner:k}};b.createContext=function(a){a={$$typeof:na,_currentValue:a,_currentValue2:a,
27
+ _threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ma,_context:a};return a.Consumer=a};b.createElement=aa;b.createFactory=function(a){var c=aa.bind(null,a);c.type=a;return c};b.createRef=function(){return{current:null}};b.forwardRef=function(a){return{$$typeof:oa,render:a}};b.isValidElement=M;b.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};b.memo=function(a,c){return{$$typeof:pa,type:a,compare:void 0===c?null:c}};b.startTransition=function(a){var c=J.transition;
28
+ J.transition=1;try{a()}finally{J.transition=c}};b.unstable_act=function(a){throw Error(x(406));};b.unstable_createMutableSource=function(a,c){return{_getVersion:c,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};b.unstable_getCacheForType=function(a){return g.current.getCacheForType(a)};b.unstable_useCacheRefresh=function(){return g.current.useCacheRefresh()};b.unstable_useMutableSource=function(a,c,b){return g.current.useMutableSource(a,c,b)};b.unstable_useOpaqueIdentifier=
29
+ function(){return g.current.useOpaqueIdentifier()};b.useCallback=function(a,c){return g.current.useCallback(a,c)};b.useContext=function(a){return g.current.useContext(a)};b.useDebugValue=function(a,c){};b.useDeferredValue=function(a){return g.current.useDeferredValue(a)};b.useEffect=function(a,c){return g.current.useEffect(a,c)};b.useImperativeHandle=function(a,c,b){return g.current.useImperativeHandle(a,c,b)};b.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};b.useMemo=function(a,
30
+ b){return g.current.useMemo(a,b)};b.useReducer=function(a,b,d){return g.current.useReducer(a,b,d)};b.useRef=function(a){return g.current.useRef(a)};b.useState=function(a){return g.current.useState(a)};b.useTransition=function(){return g.current.useTransition()};b.version="18.0.0-experimental-d7dce572c"});
31
31
  })();