react 18.0.0-alpha-568dc3532 → 18.0.0-alpha-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-568dc3532';
18
+ var ReactVersion = '18.0.0-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.
@@ -2368,6 +2371,213 @@ function startTransition(scope) {
2368
2371
  }
2369
2372
  }
2370
2373
 
2374
+ var didWarnAboutMessageChannel = false;
2375
+ var enqueueTaskImpl = null;
2376
+ function enqueueTask(task) {
2377
+ if (enqueueTaskImpl === null) {
2378
+ try {
2379
+ // read require off the module object to get around the bundlers.
2380
+ // we don't want them to detect a require and bundle a Node polyfill.
2381
+ var requireString = ('require' + Math.random()).slice(0, 7);
2382
+ var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
2383
+ // version of setImmediate, bypassing fake timers if any.
2384
+
2385
+ enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
2386
+ } catch (_err) {
2387
+ // we're in a browser
2388
+ // we can't use regular timers because they may still be faked
2389
+ // so we try MessageChannel+postMessage instead
2390
+ enqueueTaskImpl = function (callback) {
2391
+ {
2392
+ if (didWarnAboutMessageChannel === false) {
2393
+ didWarnAboutMessageChannel = true;
2394
+
2395
+ if (typeof MessageChannel === 'undefined') {
2396
+ 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.');
2397
+ }
2398
+ }
2399
+ }
2400
+
2401
+ var channel = new MessageChannel();
2402
+ channel.port1.onmessage = callback;
2403
+ channel.port2.postMessage(undefined);
2404
+ };
2405
+ }
2406
+ }
2407
+
2408
+ return enqueueTaskImpl(task);
2409
+ }
2410
+
2411
+ var actScopeDepth = 0;
2412
+ var didWarnNoAwaitAct = false;
2413
+ function act(callback) {
2414
+ {
2415
+ // `act` calls can be nested, so we track the depth. This represents the
2416
+ // number of `act` scopes on the stack.
2417
+ var prevActScopeDepth = actScopeDepth;
2418
+ actScopeDepth++;
2419
+
2420
+ if (ReactCurrentActQueue.current === null) {
2421
+ // This is the outermost `act` scope. Initialize the queue. The reconciler
2422
+ // will detect the queue and use it instead of Scheduler.
2423
+ ReactCurrentActQueue.current = [];
2424
+ }
2425
+
2426
+ var result;
2427
+
2428
+ try {
2429
+ result = callback();
2430
+ } catch (error) {
2431
+ popActScope(prevActScopeDepth);
2432
+ throw error;
2433
+ }
2434
+
2435
+ if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
2436
+ // The callback is an async function (i.e. returned a promise). Wait
2437
+ // for it to resolve before exiting the current scope.
2438
+ var wasAwaited = false;
2439
+ var thenable = {
2440
+ then: function (resolve, reject) {
2441
+ wasAwaited = true;
2442
+ result.then(function () {
2443
+ popActScope(prevActScopeDepth);
2444
+
2445
+ if (actScopeDepth === 0) {
2446
+ // We've exited the outermost act scope. Recursively flush the
2447
+ // queue until there's no remaining work.
2448
+ recursivelyFlushAsyncActWork(resolve, reject);
2449
+ } else {
2450
+ resolve();
2451
+ }
2452
+ }, function (error) {
2453
+ // The callback threw an error.
2454
+ popActScope(prevActScopeDepth);
2455
+ reject(error);
2456
+ });
2457
+ }
2458
+ };
2459
+
2460
+ {
2461
+ if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
2462
+ // eslint-disable-next-line no-undef
2463
+ Promise.resolve().then(function () {}).then(function () {
2464
+ if (!wasAwaited) {
2465
+ didWarnNoAwaitAct = true;
2466
+
2467
+ 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 () => ...);');
2468
+ }
2469
+ });
2470
+ }
2471
+ }
2472
+
2473
+ return thenable;
2474
+ } else {
2475
+ // The callback is not an async function. Exit the current scope
2476
+ // immediately, without awaiting.
2477
+ popActScope(prevActScopeDepth);
2478
+
2479
+ if (actScopeDepth === 0) {
2480
+ // Exiting the outermost act scope. Flush the queue.
2481
+ var queue = ReactCurrentActQueue.current;
2482
+
2483
+ if (queue !== null) {
2484
+ flushActQueue(queue);
2485
+ ReactCurrentActQueue.current = null;
2486
+ } // Return a thenable. If the user awaits it, we'll flush again in
2487
+ // case additional work was scheduled by a microtask.
2488
+
2489
+
2490
+ return {
2491
+ then: function (resolve, reject) {
2492
+ // Confirm we haven't re-entered another `act` scope, in case
2493
+ // the user does something weird like await the thenable
2494
+ // multiple times.
2495
+ if (ReactCurrentActQueue.current === null) {
2496
+ // Recursively flush the queue until there's no remaining work.
2497
+ ReactCurrentActQueue.current = [];
2498
+ recursivelyFlushAsyncActWork(resolve, reject);
2499
+ }
2500
+ }
2501
+ };
2502
+ } else {
2503
+ // Since we're inside a nested `act` scope, the returned thenable
2504
+ // immediately resolves. The outer scope will flush the queue.
2505
+ return {
2506
+ then: function (resolve, reject) {
2507
+ resolve();
2508
+ }
2509
+ };
2510
+ }
2511
+ }
2512
+ }
2513
+ }
2514
+
2515
+ function popActScope(prevActScopeDepth) {
2516
+ {
2517
+ if (prevActScopeDepth !== actScopeDepth - 1) {
2518
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
2519
+ }
2520
+
2521
+ actScopeDepth = prevActScopeDepth;
2522
+ }
2523
+ }
2524
+
2525
+ function recursivelyFlushAsyncActWork(resolve, reject) {
2526
+ {
2527
+ var queue = ReactCurrentActQueue.current;
2528
+
2529
+ if (queue !== null) {
2530
+ try {
2531
+ flushActQueue(queue);
2532
+ enqueueTask(function () {
2533
+ if (queue.length === 0) {
2534
+ // No additional work was scheduled. Finish.
2535
+ ReactCurrentActQueue.current = null;
2536
+ resolve();
2537
+ } else {
2538
+ // Keep flushing work until there's none left.
2539
+ recursivelyFlushAsyncActWork(resolve, reject);
2540
+ }
2541
+ });
2542
+ } catch (error) {
2543
+ reject(error);
2544
+ }
2545
+ } else {
2546
+ resolve();
2547
+ }
2548
+ }
2549
+ }
2550
+
2551
+ var isFlushing = false;
2552
+
2553
+ function flushActQueue(queue) {
2554
+ {
2555
+ if (!isFlushing) {
2556
+ // Prevent re-entrancy.
2557
+ isFlushing = true;
2558
+ var i = 0;
2559
+
2560
+ try {
2561
+ for (; i < queue.length; i++) {
2562
+ var callback = queue[i];
2563
+
2564
+ do {
2565
+ callback = callback(true);
2566
+ } while (callback !== null);
2567
+ }
2568
+
2569
+ queue.length = 0;
2570
+ } catch (error) {
2571
+ // If something throws, leave the remaining callbacks on the queue.
2572
+ queue = queue.slice(i + 1);
2573
+ throw error;
2574
+ } finally {
2575
+ isFlushing = false;
2576
+ }
2577
+ }
2578
+ }
2579
+ }
2580
+
2371
2581
  var createElement$1 = createElementWithValidation ;
2372
2582
  var cloneElement$1 = cloneElementWithValidation ;
2373
2583
  var createFactory = createFactoryWithValidation ;
@@ -2393,6 +2603,7 @@ exports.isValidElement = isValidElement;
2393
2603
  exports.lazy = lazy;
2394
2604
  exports.memo = memo;
2395
2605
  exports.startTransition = startTransition;
2606
+ exports.unstable_act = act;
2396
2607
  exports.unstable_createMutableSource = createMutableSource;
2397
2608
  exports.unstable_useMutableSource = useMutableSource;
2398
2609
  exports.unstable_useOpaqueIdentifier = useOpaqueIdentifier;
@@ -15,10 +15,10 @@ function K(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(
15
15
  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
16
  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
17
  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();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};
18
+ 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};
19
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=U;
20
20
  exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(z(267,a));var e=l({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=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
21
  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.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}};
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.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}};
23
23
  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)};exports.useEffect=function(a,b){return S.current.useEffect(a,b)};
24
- 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()};exports.version="18.0.0-568dc3532";
24
+ 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()};exports.version="18.0.0-d7dce572c";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "18.0.0-alpha-568dc3532",
7
+ "version": "18.0.0-alpha-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-568dc3532';
15
+ var ReactVersion = '18.0.0-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.
@@ -2983,7 +2986,6 @@
2983
2986
  var ReactSharedInternals$1 = {
2984
2987
  ReactCurrentDispatcher: ReactCurrentDispatcher,
2985
2988
  ReactCurrentOwner: ReactCurrentOwner,
2986
- IsSomeRendererActing: IsSomeRendererActing,
2987
2989
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
2988
2990
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
2989
2991
  assign: assign,
@@ -3010,6 +3012,213 @@
3010
3012
  }
3011
3013
  }
3012
3014
 
3015
+ var didWarnAboutMessageChannel = false;
3016
+ var enqueueTaskImpl = null;
3017
+ function enqueueTask(task) {
3018
+ if (enqueueTaskImpl === null) {
3019
+ try {
3020
+ // read require off the module object to get around the bundlers.
3021
+ // we don't want them to detect a require and bundle a Node polyfill.
3022
+ var requireString = ('require' + Math.random()).slice(0, 7);
3023
+ var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
3024
+ // version of setImmediate, bypassing fake timers if any.
3025
+
3026
+ enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
3027
+ } catch (_err) {
3028
+ // we're in a browser
3029
+ // we can't use regular timers because they may still be faked
3030
+ // so we try MessageChannel+postMessage instead
3031
+ enqueueTaskImpl = function (callback) {
3032
+ {
3033
+ if (didWarnAboutMessageChannel === false) {
3034
+ didWarnAboutMessageChannel = true;
3035
+
3036
+ if (typeof MessageChannel === 'undefined') {
3037
+ 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.');
3038
+ }
3039
+ }
3040
+ }
3041
+
3042
+ var channel = new MessageChannel();
3043
+ channel.port1.onmessage = callback;
3044
+ channel.port2.postMessage(undefined);
3045
+ };
3046
+ }
3047
+ }
3048
+
3049
+ return enqueueTaskImpl(task);
3050
+ }
3051
+
3052
+ var actScopeDepth = 0;
3053
+ var didWarnNoAwaitAct = false;
3054
+ function act(callback) {
3055
+ {
3056
+ // `act` calls can be nested, so we track the depth. This represents the
3057
+ // number of `act` scopes on the stack.
3058
+ var prevActScopeDepth = actScopeDepth;
3059
+ actScopeDepth++;
3060
+
3061
+ if (ReactCurrentActQueue.current === null) {
3062
+ // This is the outermost `act` scope. Initialize the queue. The reconciler
3063
+ // will detect the queue and use it instead of Scheduler.
3064
+ ReactCurrentActQueue.current = [];
3065
+ }
3066
+
3067
+ var result;
3068
+
3069
+ try {
3070
+ result = callback();
3071
+ } catch (error) {
3072
+ popActScope(prevActScopeDepth);
3073
+ throw error;
3074
+ }
3075
+
3076
+ if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
3077
+ // The callback is an async function (i.e. returned a promise). Wait
3078
+ // for it to resolve before exiting the current scope.
3079
+ var wasAwaited = false;
3080
+ var thenable = {
3081
+ then: function (resolve, reject) {
3082
+ wasAwaited = true;
3083
+ result.then(function () {
3084
+ popActScope(prevActScopeDepth);
3085
+
3086
+ if (actScopeDepth === 0) {
3087
+ // We've exited the outermost act scope. Recursively flush the
3088
+ // queue until there's no remaining work.
3089
+ recursivelyFlushAsyncActWork(resolve, reject);
3090
+ } else {
3091
+ resolve();
3092
+ }
3093
+ }, function (error) {
3094
+ // The callback threw an error.
3095
+ popActScope(prevActScopeDepth);
3096
+ reject(error);
3097
+ });
3098
+ }
3099
+ };
3100
+
3101
+ {
3102
+ if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
3103
+ // eslint-disable-next-line no-undef
3104
+ Promise.resolve().then(function () {}).then(function () {
3105
+ if (!wasAwaited) {
3106
+ didWarnNoAwaitAct = true;
3107
+
3108
+ 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 () => ...);');
3109
+ }
3110
+ });
3111
+ }
3112
+ }
3113
+
3114
+ return thenable;
3115
+ } else {
3116
+ // The callback is not an async function. Exit the current scope
3117
+ // immediately, without awaiting.
3118
+ popActScope(prevActScopeDepth);
3119
+
3120
+ if (actScopeDepth === 0) {
3121
+ // Exiting the outermost act scope. Flush the queue.
3122
+ var queue = ReactCurrentActQueue.current;
3123
+
3124
+ if (queue !== null) {
3125
+ flushActQueue(queue);
3126
+ ReactCurrentActQueue.current = null;
3127
+ } // Return a thenable. If the user awaits it, we'll flush again in
3128
+ // case additional work was scheduled by a microtask.
3129
+
3130
+
3131
+ return {
3132
+ then: function (resolve, reject) {
3133
+ // Confirm we haven't re-entered another `act` scope, in case
3134
+ // the user does something weird like await the thenable
3135
+ // multiple times.
3136
+ if (ReactCurrentActQueue.current === null) {
3137
+ // Recursively flush the queue until there's no remaining work.
3138
+ ReactCurrentActQueue.current = [];
3139
+ recursivelyFlushAsyncActWork(resolve, reject);
3140
+ }
3141
+ }
3142
+ };
3143
+ } else {
3144
+ // Since we're inside a nested `act` scope, the returned thenable
3145
+ // immediately resolves. The outer scope will flush the queue.
3146
+ return {
3147
+ then: function (resolve, reject) {
3148
+ resolve();
3149
+ }
3150
+ };
3151
+ }
3152
+ }
3153
+ }
3154
+ }
3155
+
3156
+ function popActScope(prevActScopeDepth) {
3157
+ {
3158
+ if (prevActScopeDepth !== actScopeDepth - 1) {
3159
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
3160
+ }
3161
+
3162
+ actScopeDepth = prevActScopeDepth;
3163
+ }
3164
+ }
3165
+
3166
+ function recursivelyFlushAsyncActWork(resolve, reject) {
3167
+ {
3168
+ var queue = ReactCurrentActQueue.current;
3169
+
3170
+ if (queue !== null) {
3171
+ try {
3172
+ flushActQueue(queue);
3173
+ enqueueTask(function () {
3174
+ if (queue.length === 0) {
3175
+ // No additional work was scheduled. Finish.
3176
+ ReactCurrentActQueue.current = null;
3177
+ resolve();
3178
+ } else {
3179
+ // Keep flushing work until there's none left.
3180
+ recursivelyFlushAsyncActWork(resolve, reject);
3181
+ }
3182
+ });
3183
+ } catch (error) {
3184
+ reject(error);
3185
+ }
3186
+ } else {
3187
+ resolve();
3188
+ }
3189
+ }
3190
+ }
3191
+
3192
+ var isFlushing = false;
3193
+
3194
+ function flushActQueue(queue) {
3195
+ {
3196
+ if (!isFlushing) {
3197
+ // Prevent re-entrancy.
3198
+ isFlushing = true;
3199
+ var i = 0;
3200
+
3201
+ try {
3202
+ for (; i < queue.length; i++) {
3203
+ var callback = queue[i];
3204
+
3205
+ do {
3206
+ callback = callback(true);
3207
+ } while (callback !== null);
3208
+ }
3209
+
3210
+ queue.length = 0;
3211
+ } catch (error) {
3212
+ // If something throws, leave the remaining callbacks on the queue.
3213
+ queue = queue.slice(i + 1);
3214
+ throw error;
3215
+ } finally {
3216
+ isFlushing = false;
3217
+ }
3218
+ }
3219
+ }
3220
+ }
3221
+
3013
3222
  var createElement$1 = createElementWithValidation ;
3014
3223
  var cloneElement$1 = cloneElementWithValidation ;
3015
3224
  var createFactory = createFactoryWithValidation ;
@@ -3035,6 +3244,7 @@
3035
3244
  exports.lazy = lazy;
3036
3245
  exports.memo = memo;
3037
3246
  exports.startTransition = startTransition;
3247
+ exports.unstable_act = act;
3038
3248
  exports.unstable_createMutableSource = createMutableSource;
3039
3249
  exports.unstable_useMutableSource = useMutableSource;
3040
3250
  exports.unstable_useOpaqueIdentifier = useOpaqueIdentifier;
@@ -6,25 +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(c,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(c=c||self,y(c.React={}))})(this,function(c){function y(a){if(null===a||"object"!==typeof a)return null;a=X&&a[X]||a["@@iterator"];return"function"===typeof a?a:null}function B(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)b+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+
9
+ (function(){'use strict';(function(c,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(c=c||self,y(c.React={}))})(this,function(c){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,f=1;f<arguments.length;f++)b+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+
10
10
  a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function w(a,b,f){this.props=a;this.context=b;this.refs=Y;this.updater=f||Z}function aa(){}function L(a,b,f){this.props=a;this.context=b;this.refs=Y;this.updater=f||Z}function ba(a,b,f){var l,e={},c=null,k=null;if(null!=b)for(l in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(c=""+b.key),b)ca.call(b,l)&&!da.hasOwnProperty(l)&&(e[l]=b[l]);var p=arguments.length-2;if(1===p)e.children=
11
11
  f;else if(1<p){for(var h=Array(p),d=0;d<p;d++)h[d]=arguments[d+2];e.children=h}if(a&&a.defaultProps)for(l in p=a.defaultProps,p)void 0===e[l]&&(e[l]=p[l]);return{$$typeof:x,type:a,key:c,ref:k,props:e,_owner:M.current}}function ua(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===x}function va(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function O(a,b){return"object"===
12
12
  typeof a&&null!==a&&null!=a.key?va(""+a.key):b.toString(36)}function C(a,b,f,l,e){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var k=!1;if(null===a)k=!0;else switch(c){case "string":case "number":k=!0;break;case "object":switch(a.$$typeof){case x:case ea:k=!0}}if(k)return k=a,e=e(k),a=""===l?"."+O(k,0):l,fa(e)?(f="",null!=a&&(f=a.replace(ha,"$&/")+"/"),C(e,b,f,"",function(a){return a})):null!=e&&(N(e)&&(e=ua(e,f+(!e.key||k&&k.key===e.key?"":(""+e.key).replace(ha,"$&/")+"/")+a)),b.push(e)),
13
- 1;k=0;l=""===l?".":l+":";if(fa(a))for(var d=0;d<a.length;d++){c=a[d];var h=l+O(c,d);k+=C(c,b,f,h,e)}else if(h=y(a),"function"===typeof h)for(a=h.call(a),d=0;!(c=a.next()).done;)c=c.value,h=l+O(c,d++),k+=C(c,b,f,h,e);else if("object"===c)throw b=""+a,Error(B(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function D(a,b,f){if(null==a)return a;var c=[],e=0;C(a,c,"","",function(a){return b.call(f,a,e++)});return c}function wa(a){if(-1===a._status){var b=a._result;
13
+ 1;k=0;l=""===l?".":l+":";if(fa(a))for(var d=0;d<a.length;d++){c=a[d];var h=l+O(c,d);k+=C(c,b,f,h,e)}else if(h=y(a),"function"===typeof h)for(a=h.call(a),d=0;!(c=a.next()).done;)c=c.value,h=l+O(c,d++),k+=C(c,b,f,h,e);else if("object"===c)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function D(a,b,f){if(null==a)return a;var c=[],e=0;C(a,c,"","",function(a){return b.call(f,a,e++)});return c}function wa(a){if(-1===a._status){var b=a._result;
14
14
  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;}function P(a,b){var f=a.length;a.push(b);a:for(;0<f;){var c=f-1>>>1,e=a[c];if(0<E(e,b))a[c]=b,a[f]=e,f=c;else break a}}function q(a){return 0===a.length?null:a[0]}function F(a){if(0===a.length)return null;var b=a[0],f=a.pop();if(f!==b){a[0]=f;a:for(var c=
15
- 0,e=a.length,d=e>>>1;c<d;){var k=2*(c+1)-1,p=a[k],h=k+1,g=a[h];if(0>E(p,f))h<e&&0>E(g,p)?(a[c]=g,a[h]=f,c=h):(a[c]=p,a[k]=f,c=k);else if(h<e&&0>E(g,f))a[c]=g,a[h]=f,c=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function Q(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function R(a){z=!1;Q(a);if(!u)if(null!==q(r))u=!0,S(T);else{var b=q(t);null!==b&&U(R,b.startTime-
16
- a)}}function T(a,b){u=!1;z&&(z=!1,ia(A),A=-1);G=!0;var c=g;try{Q(b);for(n=q(r);null!==n&&(!(n.expirationTime>b)||a&&!ja());){var l=n.callback;if("function"===typeof l){n.callback=null;g=n.priorityLevel;var e=l(n.expirationTime<=b);b=v();"function"===typeof e?n.callback=e:n===q(r)&&F(r);Q(b)}else F(r);n=q(r)}if(null!==n)var d=!0;else{var k=q(t);null!==k&&U(R,k.startTime-b);d=!1}return d}finally{n=null,g=c,G=!1}}function ja(){return v()>=ka}function S(a){H=a;I||(I=!0,J())}function U(a,b){A=la(function(){a(v())},
15
+ 0,e=a.length,d=e>>>1;c<d;){var k=2*(c+1)-1,p=a[k],h=k+1,g=a[h];if(0>E(p,f))h<e&&0>E(g,p)?(a[c]=g,a[h]=f,c=h):(a[c]=p,a[k]=f,c=k);else if(h<e&&0>E(g,f))a[c]=g,a[h]=f,c=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function Q(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function R(a){A=!1;Q(a);if(!u)if(null!==q(r))u=!0,S(T);else{var b=q(t);null!==b&&U(R,b.startTime-
16
+ a)}}function T(a,b){u=!1;A&&(A=!1,ia(B),B=-1);G=!0;var c=g;try{Q(b);for(n=q(r);null!==n&&(!(n.expirationTime>b)||a&&!ja());){var l=n.callback;if("function"===typeof l){n.callback=null;g=n.priorityLevel;var e=l(n.expirationTime<=b);b=v();"function"===typeof e?n.callback=e:n===q(r)&&F(r);Q(b)}else F(r);n=q(r)}if(null!==n)var d=!0;else{var k=q(t);null!==k&&U(R,k.startTime-b);d=!1}return d}finally{n=null,g=c,G=!1}}function ja(){return v()>=ka}function S(a){H=a;I||(I=!0,J())}function U(a,b){B=la(function(){a(v())},
17
17
  b)}var x=60103,ea=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ma=60109,na=60110,oa=60112;c.Suspense=60113;c.SuspenseList=60120;var pa=60115,qa=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;x=d("react.element");ea=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");ma=d("react.provider");na=d("react.context");oa=d("react.forward_ref");c.Suspense=d("react.suspense");c.SuspenseList=d("react.suspense_list");
18
18
  pa=d("react.memo");qa=d("react.lazy")}var X="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,V=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 e=arguments[d];if(null!=e){var g=void 0;e=Object(e);for(g in e)xa.call(e,g)&&(c[g]=e[g])}}return c},Z={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},
19
- enqueueSetState:function(a,b,c,d){}},Y={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(B(85));this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=w.prototype;d=L.prototype=new aa;d.constructor=L;V(d,w.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,M={current:null},
20
- da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,m={current:null},K={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var v=function(){return ya.now()}}else{var ra=Date,za=ra.now();v=function(){return ra.now()-za}}var r=[],t=[],Aa=1,n=null,g=3,G=!1,u=!1,z=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,I=!1,H=null,A=-1,ta=5,ka=0,
21
- W=function(){if(null!==H){var a=v();ka=a+ta;var b=!0;try{b=H(!0,a)}finally{b?J():(I=!1,H=null)}}else I=!1};if("function"===typeof sa)var J=function(){sa(W)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=W;J=function(){Ba.postMessage(null)}}else J=function(){la(W,0)};d={ReactCurrentDispatcher:m,ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:K,assign:V,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,
22
- 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=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=v();"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;
23
- case 2:e=250;break;case 5:e=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,P(t,a),null===q(r)&&a===q(t)&&(z?(ia(A),A=-1):z=!0,U(R,c-d))):(a.sortIndex=e,P(r,a),u||G||(u=!0,S(T)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},
24
- unstable_shouldYield:ja,unstable_requestPaint:function(){},unstable_continueExecution:function(){u||G||(u=!0,S(T))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return q(r)},get unstable_now(){return v},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"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:D,forEach:function(a,
25
- b,c){D(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!N(a))throw Error(B(143));return a}};c.Component=w;c.PureComponent=L;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(B(267,a));var d=V({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=M.current);void 0!==b.key&&(e=
26
- ""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in b)ca.call(b,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var m=0;m<h;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:k}};c.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=
27
- a};c.createElement=ba;c.createFactory=function(a){var b=ba.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:oa,render:a}};c.isValidElement=N;c.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};c.memo=function(a,b){return{$$typeof:pa,type:a,compare:void 0===b?null:b}};c.startTransition=function(a){var b=K.transition;K.transition=1;try{a()}finally{K.transition=b}};c.unstable_createMutableSource=function(a,
28
- b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_useMutableSource=function(a,b,c){return m.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return m.current.useOpaqueIdentifier()};c.useCallback=function(a,b){return m.current.useCallback(a,b)};c.useContext=function(a){return m.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return m.current.useDeferredValue(a)};c.useEffect=
29
- function(a,b){return m.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return m.current.useMemo(a,b)};c.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};c.useRef=function(a){return m.current.useRef(a)};c.useState=function(a){return m.current.useState(a)};c.useTransition=function(){return m.current.useTransition()};c.version="18.0.0-568dc3532"});
19
+ enqueueSetState:function(a,b,c,d){}},Y={};w.prototype.isReactComponent={};w.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")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=w.prototype;d=L.prototype=new aa;d.constructor=L;V(d,w.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,M={current:null},
20
+ da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,m={current:null},K={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var v=function(){return ya.now()}}else{var ra=Date,za=ra.now();v=function(){return ra.now()-za}}var r=[],t=[],Aa=1,n=null,g=3,G=!1,u=!1,A=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,I=!1,H=null,B=-1,ta=5,ka=0,
21
+ W=function(){if(null!==H){var a=v();ka=a+ta;var b=!0;try{b=H(!0,a)}finally{b?J():(I=!1,H=null)}}else I=!1};if("function"===typeof sa)var J=function(){sa(W)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=W;J=function(){Ba.postMessage(null)}}else J=function(){la(W,0)};d={ReactCurrentDispatcher:m,ReactCurrentOwner:M,ReactCurrentBatchConfig:K,assign:V,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,
22
+ 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=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=v();"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=
23
+ 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,P(t,a),null===q(r)&&a===q(t)&&(A?(ia(B),B=-1):A=!0,U(R,c-d))):(a.sortIndex=e,P(r,a),u||G||(u=!0,S(T)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},unstable_shouldYield:ja,
24
+ unstable_requestPaint:function(){},unstable_continueExecution:function(){u||G||(u=!0,S(T))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return q(r)},get unstable_now(){return v},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"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:D,forEach:function(a,b,c){D(a,function(){b.apply(this,
25
+ arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!N(a))throw Error(z(143));return a}};c.Component=w;c.PureComponent=L;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(z(267,a));var d=V({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=M.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=
26
+ a.type.defaultProps;for(h in b)ca.call(b,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var m=0;m<h;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:k}};c.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};c.createElement=ba;c.createFactory=
27
+ function(a){var b=ba.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:oa,render:a}};c.isValidElement=N;c.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};c.memo=function(a,b){return{$$typeof:pa,type:a,compare:void 0===b?null:b}};c.startTransition=function(a){var b=K.transition;K.transition=1;try{a()}finally{K.transition=b}};c.unstable_act=function(a){throw Error(z(406));};c.unstable_createMutableSource=
28
+ function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_useMutableSource=function(a,b,c){return m.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return m.current.useOpaqueIdentifier()};c.useCallback=function(a,b){return m.current.useCallback(a,b)};c.useContext=function(a){return m.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return m.current.useDeferredValue(a)};
29
+ c.useEffect=function(a,b){return m.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return m.current.useMemo(a,b)};c.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};c.useRef=function(a){return m.current.useRef(a)};c.useState=function(a){return m.current.useState(a)};c.useTransition=function(){return m.current.useTransition()};c.version=
30
+ "18.0.0-d7dce572c"});
30
31
  })();
@@ -6,25 +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(c,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(c=c||self,y(c.React={}))})(this,function(c){function y(a){if(null===a||"object"!==typeof a)return null;a=X&&a[X]||a["@@iterator"];return"function"===typeof a?a:null}function B(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)b+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+
9
+ (function(){'use strict';(function(c,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(c=c||self,y(c.React={}))})(this,function(c){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,f=1;f<arguments.length;f++)b+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+
10
10
  a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function w(a,b,f){this.props=a;this.context=b;this.refs=Y;this.updater=f||Z}function aa(){}function L(a,b,f){this.props=a;this.context=b;this.refs=Y;this.updater=f||Z}function ba(a,b,f){var l,e={},c=null,k=null;if(null!=b)for(l in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(c=""+b.key),b)ca.call(b,l)&&!da.hasOwnProperty(l)&&(e[l]=b[l]);var p=arguments.length-2;if(1===p)e.children=
11
11
  f;else if(1<p){for(var h=Array(p),d=0;d<p;d++)h[d]=arguments[d+2];e.children=h}if(a&&a.defaultProps)for(l in p=a.defaultProps,p)void 0===e[l]&&(e[l]=p[l]);return{$$typeof:x,type:a,key:c,ref:k,props:e,_owner:M.current}}function ua(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===x}function va(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function O(a,b){return"object"===
12
12
  typeof a&&null!==a&&null!=a.key?va(""+a.key):b.toString(36)}function C(a,b,f,l,e){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var k=!1;if(null===a)k=!0;else switch(c){case "string":case "number":k=!0;break;case "object":switch(a.$$typeof){case x:case ea:k=!0}}if(k)return k=a,e=e(k),a=""===l?"."+O(k,0):l,fa(e)?(f="",null!=a&&(f=a.replace(ha,"$&/")+"/"),C(e,b,f,"",function(a){return a})):null!=e&&(N(e)&&(e=ua(e,f+(!e.key||k&&k.key===e.key?"":(""+e.key).replace(ha,"$&/")+"/")+a)),b.push(e)),
13
- 1;k=0;l=""===l?".":l+":";if(fa(a))for(var d=0;d<a.length;d++){c=a[d];var h=l+O(c,d);k+=C(c,b,f,h,e)}else if(h=y(a),"function"===typeof h)for(a=h.call(a),d=0;!(c=a.next()).done;)c=c.value,h=l+O(c,d++),k+=C(c,b,f,h,e);else if("object"===c)throw b=""+a,Error(B(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function D(a,b,f){if(null==a)return a;var c=[],e=0;C(a,c,"","",function(a){return b.call(f,a,e++)});return c}function wa(a){if(-1===a._status){var b=a._result;
13
+ 1;k=0;l=""===l?".":l+":";if(fa(a))for(var d=0;d<a.length;d++){c=a[d];var h=l+O(c,d);k+=C(c,b,f,h,e)}else if(h=y(a),"function"===typeof h)for(a=h.call(a),d=0;!(c=a.next()).done;)c=c.value,h=l+O(c,d++),k+=C(c,b,f,h,e);else if("object"===c)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function D(a,b,f){if(null==a)return a;var c=[],e=0;C(a,c,"","",function(a){return b.call(f,a,e++)});return c}function wa(a){if(-1===a._status){var b=a._result;
14
14
  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;}function P(a,b){var f=a.length;a.push(b);a:for(;0<f;){var c=f-1>>>1,e=a[c];if(0<E(e,b))a[c]=b,a[f]=e,f=c;else break a}}function q(a){return 0===a.length?null:a[0]}function F(a){if(0===a.length)return null;var b=a[0],f=a.pop();if(f!==b){a[0]=f;a:for(var c=
15
- 0,e=a.length,d=e>>>1;c<d;){var k=2*(c+1)-1,p=a[k],h=k+1,g=a[h];if(0>E(p,f))h<e&&0>E(g,p)?(a[c]=g,a[h]=f,c=h):(a[c]=p,a[k]=f,c=k);else if(h<e&&0>E(g,f))a[c]=g,a[h]=f,c=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function Q(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function R(a){z=!1;Q(a);if(!u)if(null!==q(r))u=!0,S(T);else{var b=q(t);null!==b&&U(R,b.startTime-
16
- a)}}function T(a,b){u=!1;z&&(z=!1,ia(A),A=-1);G=!0;var c=g;try{Q(b);for(n=q(r);null!==n&&(!(n.expirationTime>b)||a&&!ja());){var l=n.callback;if("function"===typeof l){n.callback=null;g=n.priorityLevel;var e=l(n.expirationTime<=b);b=v();"function"===typeof e?n.callback=e:n===q(r)&&F(r);Q(b)}else F(r);n=q(r)}if(null!==n)var d=!0;else{var k=q(t);null!==k&&U(R,k.startTime-b);d=!1}return d}finally{n=null,g=c,G=!1}}function ja(){return v()>=ka}function S(a){H=a;I||(I=!0,J())}function U(a,b){A=la(function(){a(v())},
15
+ 0,e=a.length,d=e>>>1;c<d;){var k=2*(c+1)-1,p=a[k],h=k+1,g=a[h];if(0>E(p,f))h<e&&0>E(g,p)?(a[c]=g,a[h]=f,c=h):(a[c]=p,a[k]=f,c=k);else if(h<e&&0>E(g,f))a[c]=g,a[h]=f,c=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function Q(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function R(a){A=!1;Q(a);if(!u)if(null!==q(r))u=!0,S(T);else{var b=q(t);null!==b&&U(R,b.startTime-
16
+ a)}}function T(a,b){u=!1;A&&(A=!1,ia(B),B=-1);G=!0;var c=g;try{Q(b);for(n=q(r);null!==n&&(!(n.expirationTime>b)||a&&!ja());){var l=n.callback;if("function"===typeof l){n.callback=null;g=n.priorityLevel;var e=l(n.expirationTime<=b);b=v();"function"===typeof e?n.callback=e:n===q(r)&&F(r);Q(b)}else F(r);n=q(r)}if(null!==n)var d=!0;else{var k=q(t);null!==k&&U(R,k.startTime-b);d=!1}return d}finally{n=null,g=c,G=!1}}function ja(){return v()>=ka}function S(a){H=a;I||(I=!0,J())}function U(a,b){B=la(function(){a(v())},
17
17
  b)}var x=60103,ea=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ma=60109,na=60110,oa=60112;c.Suspense=60113;c.SuspenseList=60120;var pa=60115,qa=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;x=d("react.element");ea=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");ma=d("react.provider");na=d("react.context");oa=d("react.forward_ref");c.Suspense=d("react.suspense");c.SuspenseList=d("react.suspense_list");
18
18
  pa=d("react.memo");qa=d("react.lazy")}var X="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,V=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 e=arguments[d];if(null!=e){var g=void 0;e=Object(e);for(g in e)xa.call(e,g)&&(c[g]=e[g])}}return c},Z={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},
19
- enqueueSetState:function(a,b,c,d){}},Y={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(B(85));this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=w.prototype;d=L.prototype=new aa;d.constructor=L;V(d,w.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,M={current:null},
20
- da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,m={current:null},K={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var v=function(){return ya.now()}}else{var ra=Date,za=ra.now();v=function(){return ra.now()-za}}var r=[],t=[],Aa=1,n=null,g=3,G=!1,u=!1,z=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,I=!1,H=null,A=-1,ta=5,ka=0,
21
- W=function(){if(null!==H){var a=v();ka=a+ta;var b=!0;try{b=H(!0,a)}finally{b?J():(I=!1,H=null)}}else I=!1};if("function"===typeof sa)var J=function(){sa(W)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=W;J=function(){Ba.postMessage(null)}}else J=function(){la(W,0)};d={ReactCurrentDispatcher:m,ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:K,assign:V,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,
22
- 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=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=v();"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;
23
- case 2:e=250;break;case 5:e=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,P(t,a),null===q(r)&&a===q(t)&&(z?(ia(A),A=-1):z=!0,U(R,c-d))):(a.sortIndex=e,P(r,a),u||G||(u=!0,S(T)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},
24
- unstable_shouldYield:ja,unstable_requestPaint:function(){},unstable_continueExecution:function(){u||G||(u=!0,S(T))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return q(r)},get unstable_now(){return v},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"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:D,forEach:function(a,
25
- b,c){D(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!N(a))throw Error(B(143));return a}};c.Component=w;c.PureComponent=L;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(B(267,a));var d=V({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=M.current);void 0!==b.key&&(e=
26
- ""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in b)ca.call(b,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var m=0;m<h;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:k}};c.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=
27
- a};c.createElement=ba;c.createFactory=function(a){var b=ba.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:oa,render:a}};c.isValidElement=N;c.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};c.memo=function(a,b){return{$$typeof:pa,type:a,compare:void 0===b?null:b}};c.startTransition=function(a){var b=K.transition;K.transition=1;try{a()}finally{K.transition=b}};c.unstable_createMutableSource=function(a,
28
- b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_useMutableSource=function(a,b,c){return m.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return m.current.useOpaqueIdentifier()};c.useCallback=function(a,b){return m.current.useCallback(a,b)};c.useContext=function(a){return m.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return m.current.useDeferredValue(a)};c.useEffect=
29
- function(a,b){return m.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return m.current.useMemo(a,b)};c.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};c.useRef=function(a){return m.current.useRef(a)};c.useState=function(a){return m.current.useState(a)};c.useTransition=function(){return m.current.useTransition()};c.version="18.0.0-568dc3532"});
19
+ enqueueSetState:function(a,b,c,d){}},Y={};w.prototype.isReactComponent={};w.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")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=w.prototype;d=L.prototype=new aa;d.constructor=L;V(d,w.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,M={current:null},
20
+ da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,m={current:null},K={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var v=function(){return ya.now()}}else{var ra=Date,za=ra.now();v=function(){return ra.now()-za}}var r=[],t=[],Aa=1,n=null,g=3,G=!1,u=!1,A=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,I=!1,H=null,B=-1,ta=5,ka=0,
21
+ W=function(){if(null!==H){var a=v();ka=a+ta;var b=!0;try{b=H(!0,a)}finally{b?J():(I=!1,H=null)}}else I=!1};if("function"===typeof sa)var J=function(){sa(W)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=W;J=function(){Ba.postMessage(null)}}else J=function(){la(W,0)};d={ReactCurrentDispatcher:m,ReactCurrentOwner:M,ReactCurrentBatchConfig:K,assign:V,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,
22
+ 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=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=v();"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=
23
+ 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,P(t,a),null===q(r)&&a===q(t)&&(A?(ia(B),B=-1):A=!0,U(R,c-d))):(a.sortIndex=e,P(r,a),u||G||(u=!0,S(T)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},unstable_shouldYield:ja,
24
+ unstable_requestPaint:function(){},unstable_continueExecution:function(){u||G||(u=!0,S(T))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return q(r)},get unstable_now(){return v},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"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:D,forEach:function(a,b,c){D(a,function(){b.apply(this,
25
+ arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!N(a))throw Error(z(143));return a}};c.Component=w;c.PureComponent=L;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(z(267,a));var d=V({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=M.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=
26
+ a.type.defaultProps;for(h in b)ca.call(b,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var m=0;m<h;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:k}};c.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};c.createElement=ba;c.createFactory=
27
+ function(a){var b=ba.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:oa,render:a}};c.isValidElement=N;c.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};c.memo=function(a,b){return{$$typeof:pa,type:a,compare:void 0===b?null:b}};c.startTransition=function(a){var b=K.transition;K.transition=1;try{a()}finally{K.transition=b}};c.unstable_act=function(a){throw Error(z(406));};c.unstable_createMutableSource=
28
+ function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_useMutableSource=function(a,b,c){return m.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return m.current.useOpaqueIdentifier()};c.useCallback=function(a,b){return m.current.useCallback(a,b)};c.useContext=function(a){return m.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return m.current.useDeferredValue(a)};
29
+ c.useEffect=function(a,b){return m.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return m.current.useMemo(a,b)};c.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};c.useRef=function(a){return m.current.useRef(a)};c.useState=function(a){return m.current.useState(a)};c.useTransition=function(){return m.current.useTransition()};c.version=
30
+ "18.0.0-d7dce572c"});
30
31
  })();