react 18.3.0-next-189f70e17-20230216 → 18.3.0-next-ca2cf319f-20230223
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/react-jsx-dev-runtime.development.js +37 -37
- package/cjs/react-jsx-runtime.development.js +35 -35
- package/cjs/react.development.js +50 -50
- package/cjs/react.production.min.js +16 -16
- package/cjs/react.shared-subset.development.js +49 -49
- package/cjs/react.shared-subset.production.min.js +11 -11
- package/package.json +1 -1
- package/umd/react.development.js +65 -81
- package/umd/react.production.min.js +24 -24
- package/umd/react.profiling.min.js +24 -24
package/umd/react.development.js
CHANGED
@@ -10,10 +10,10 @@
|
|
10
10
|
(function (global, factory) {
|
11
11
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
12
12
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
13
|
-
(global = global || self, factory(global.React = {}));
|
14
|
-
}(this, (function (exports) { 'use strict';
|
13
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}));
|
14
|
+
})(this, (function (exports) { 'use strict';
|
15
15
|
|
16
|
-
var ReactVersion = '18.3.0-next-
|
16
|
+
var ReactVersion = '18.3.0-next-ca2cf319f-20230223';
|
17
17
|
|
18
18
|
// ATTENTION
|
19
19
|
// When adding new symbols to this file,
|
@@ -54,7 +54,7 @@
|
|
54
54
|
/**
|
55
55
|
* Keeps track of the current dispatcher.
|
56
56
|
*/
|
57
|
-
var ReactCurrentDispatcher = {
|
57
|
+
var ReactCurrentDispatcher$1 = {
|
58
58
|
current: null
|
59
59
|
};
|
60
60
|
|
@@ -98,7 +98,7 @@
|
|
98
98
|
current: null
|
99
99
|
};
|
100
100
|
|
101
|
-
var ReactDebugCurrentFrame = {};
|
101
|
+
var ReactDebugCurrentFrame$1 = {};
|
102
102
|
var currentExtraStackFrame = null;
|
103
103
|
function setExtraStackFrame(stack) {
|
104
104
|
{
|
@@ -107,16 +107,16 @@
|
|
107
107
|
}
|
108
108
|
|
109
109
|
{
|
110
|
-
ReactDebugCurrentFrame.setExtraStackFrame = function (stack) {
|
110
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame = function (stack) {
|
111
111
|
{
|
112
112
|
currentExtraStackFrame = stack;
|
113
113
|
}
|
114
114
|
}; // Stack implementation injected by the current renderer.
|
115
115
|
|
116
116
|
|
117
|
-
ReactDebugCurrentFrame.getCurrentStack = null;
|
117
|
+
ReactDebugCurrentFrame$1.getCurrentStack = null;
|
118
118
|
|
119
|
-
ReactDebugCurrentFrame.getStackAddendum = function () {
|
119
|
+
ReactDebugCurrentFrame$1.getStackAddendum = function () {
|
120
120
|
var stack = ''; // Add an extra top frame while an element is being validated
|
121
121
|
|
122
122
|
if (currentExtraStackFrame) {
|
@@ -124,7 +124,7 @@
|
|
124
124
|
} // Delegate to the injected renderer-specific implementation
|
125
125
|
|
126
126
|
|
127
|
-
var impl = ReactDebugCurrentFrame.getCurrentStack;
|
127
|
+
var impl = ReactDebugCurrentFrame$1.getCurrentStack;
|
128
128
|
|
129
129
|
if (impl) {
|
130
130
|
stack += impl() || '';
|
@@ -146,22 +146,22 @@
|
|
146
146
|
|
147
147
|
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
148
148
|
|
149
|
-
var ContextRegistry = {};
|
149
|
+
var ContextRegistry$1 = {};
|
150
150
|
|
151
|
-
var ReactSharedInternals = {
|
152
|
-
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
151
|
+
var ReactSharedInternals$1 = {
|
152
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher$1,
|
153
153
|
ReactCurrentCache: ReactCurrentCache,
|
154
154
|
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
|
155
155
|
ReactCurrentOwner: ReactCurrentOwner
|
156
156
|
};
|
157
157
|
|
158
158
|
{
|
159
|
-
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
|
160
|
-
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
|
159
|
+
ReactSharedInternals$1.ReactDebugCurrentFrame = ReactDebugCurrentFrame$1;
|
160
|
+
ReactSharedInternals$1.ReactCurrentActQueue = ReactCurrentActQueue;
|
161
161
|
}
|
162
162
|
|
163
163
|
{
|
164
|
-
ReactSharedInternals.ContextRegistry = ContextRegistry;
|
164
|
+
ReactSharedInternals$1.ContextRegistry = ContextRegistry$1;
|
165
165
|
}
|
166
166
|
|
167
167
|
// by calls to these methods by a Babel plugin.
|
@@ -196,7 +196,7 @@
|
|
196
196
|
// When changing this logic, you might want to also
|
197
197
|
// update consoleWithStackDev.www.js as well.
|
198
198
|
{
|
199
|
-
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
199
|
+
var ReactDebugCurrentFrame = ReactSharedInternals$1.ReactDebugCurrentFrame;
|
200
200
|
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
201
201
|
|
202
202
|
if (stack !== '') {
|
@@ -800,7 +800,7 @@
|
|
800
800
|
* See https://reactjs.org/docs/react-api.html#createelement
|
801
801
|
*/
|
802
802
|
|
803
|
-
function createElement(type, config, children) {
|
803
|
+
function createElement$1(type, config, children) {
|
804
804
|
var propName; // Reserved names are extracted
|
805
805
|
|
806
806
|
var props = {};
|
@@ -894,7 +894,7 @@
|
|
894
894
|
* See https://reactjs.org/docs/react-api.html#cloneelement
|
895
895
|
*/
|
896
896
|
|
897
|
-
function cloneElement(element, config, children) {
|
897
|
+
function cloneElement$1(element, config, children) {
|
898
898
|
if (element === null || element === undefined) {
|
899
899
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
900
900
|
}
|
@@ -1540,7 +1540,7 @@
|
|
1540
1540
|
return elementType;
|
1541
1541
|
}
|
1542
1542
|
|
1543
|
-
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference');
|
1543
|
+
var REACT_CLIENT_REFERENCE$1 = Symbol.for('react.client.reference');
|
1544
1544
|
function isValidElementType(type) {
|
1545
1545
|
if (typeof type === 'string' || typeof type === 'function') {
|
1546
1546
|
return true;
|
@@ -1556,7 +1556,7 @@
|
|
1556
1556
|
// types supported by any Flight configuration anywhere since
|
1557
1557
|
// we don't know which Flight build this will end up being used
|
1558
1558
|
// with.
|
1559
|
-
type.$$typeof === REACT_CLIENT_REFERENCE || type.getModuleId !== undefined) {
|
1559
|
+
type.$$typeof === REACT_CLIENT_REFERENCE$1 || type.getModuleId !== undefined) {
|
1560
1560
|
return true;
|
1561
1561
|
}
|
1562
1562
|
}
|
@@ -1710,7 +1710,7 @@
|
|
1710
1710
|
}
|
1711
1711
|
|
1712
1712
|
function resolveDispatcher() {
|
1713
|
-
var dispatcher = ReactCurrentDispatcher.current;
|
1713
|
+
var dispatcher = ReactCurrentDispatcher$1.current;
|
1714
1714
|
|
1715
1715
|
{
|
1716
1716
|
if (dispatcher === null) {
|
@@ -1905,7 +1905,7 @@
|
|
1905
1905
|
}
|
1906
1906
|
}
|
1907
1907
|
|
1908
|
-
var ReactCurrentDispatcher
|
1908
|
+
var ReactCurrentDispatcher = ReactSharedInternals$1.ReactCurrentDispatcher;
|
1909
1909
|
var prefix;
|
1910
1910
|
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
1911
1911
|
{
|
@@ -1933,7 +1933,7 @@
|
|
1933
1933
|
|
1934
1934
|
function describeNativeComponentFrame(fn, construct) {
|
1935
1935
|
// If something asked for a stack inside a fake render, it should get ignored.
|
1936
|
-
if (
|
1936
|
+
if (!fn || reentry) {
|
1937
1937
|
return '';
|
1938
1938
|
}
|
1939
1939
|
|
@@ -1953,10 +1953,10 @@
|
|
1953
1953
|
var previousDispatcher;
|
1954
1954
|
|
1955
1955
|
{
|
1956
|
-
previousDispatcher = ReactCurrentDispatcher
|
1956
|
+
previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function
|
1957
1957
|
// for warnings.
|
1958
1958
|
|
1959
|
-
ReactCurrentDispatcher
|
1959
|
+
ReactCurrentDispatcher.current = null;
|
1960
1960
|
disableLogs();
|
1961
1961
|
}
|
1962
1962
|
|
@@ -2075,7 +2075,7 @@
|
|
2075
2075
|
reentry = false;
|
2076
2076
|
|
2077
2077
|
{
|
2078
|
-
ReactCurrentDispatcher
|
2078
|
+
ReactCurrentDispatcher.current = previousDispatcher;
|
2079
2079
|
reenableLogs();
|
2080
2080
|
}
|
2081
2081
|
|
@@ -2156,16 +2156,16 @@
|
|
2156
2156
|
}
|
2157
2157
|
|
2158
2158
|
var loggedTypeFailures = {};
|
2159
|
-
var ReactDebugCurrentFrame
|
2159
|
+
var ReactDebugCurrentFrame = ReactSharedInternals$1.ReactDebugCurrentFrame;
|
2160
2160
|
|
2161
|
-
function setCurrentlyValidatingElement(element) {
|
2161
|
+
function setCurrentlyValidatingElement$1(element) {
|
2162
2162
|
{
|
2163
2163
|
if (element) {
|
2164
2164
|
var owner = element._owner;
|
2165
2165
|
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
2166
|
-
ReactDebugCurrentFrame
|
2166
|
+
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
2167
2167
|
} else {
|
2168
|
-
ReactDebugCurrentFrame
|
2168
|
+
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
2169
2169
|
}
|
2170
2170
|
}
|
2171
2171
|
}
|
@@ -2197,31 +2197,31 @@
|
|
2197
2197
|
}
|
2198
2198
|
|
2199
2199
|
if (error$1 && !(error$1 instanceof Error)) {
|
2200
|
-
setCurrentlyValidatingElement(element);
|
2200
|
+
setCurrentlyValidatingElement$1(element);
|
2201
2201
|
|
2202
2202
|
error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);
|
2203
2203
|
|
2204
|
-
setCurrentlyValidatingElement(null);
|
2204
|
+
setCurrentlyValidatingElement$1(null);
|
2205
2205
|
}
|
2206
2206
|
|
2207
2207
|
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
2208
2208
|
// Only monitor this failure once because there tends to be a lot of the
|
2209
2209
|
// same error.
|
2210
2210
|
loggedTypeFailures[error$1.message] = true;
|
2211
|
-
setCurrentlyValidatingElement(element);
|
2211
|
+
setCurrentlyValidatingElement$1(element);
|
2212
2212
|
|
2213
2213
|
error('Failed %s type: %s', location, error$1.message);
|
2214
2214
|
|
2215
|
-
setCurrentlyValidatingElement(null);
|
2215
|
+
setCurrentlyValidatingElement$1(null);
|
2216
2216
|
}
|
2217
2217
|
}
|
2218
2218
|
}
|
2219
2219
|
}
|
2220
2220
|
}
|
2221
2221
|
|
2222
|
-
var REACT_CLIENT_REFERENCE
|
2222
|
+
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference');
|
2223
2223
|
|
2224
|
-
function setCurrentlyValidatingElement
|
2224
|
+
function setCurrentlyValidatingElement(element) {
|
2225
2225
|
{
|
2226
2226
|
if (element) {
|
2227
2227
|
var owner = element._owner;
|
@@ -2327,11 +2327,11 @@
|
|
2327
2327
|
}
|
2328
2328
|
|
2329
2329
|
{
|
2330
|
-
setCurrentlyValidatingElement
|
2330
|
+
setCurrentlyValidatingElement(element);
|
2331
2331
|
|
2332
2332
|
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
2333
2333
|
|
2334
|
-
setCurrentlyValidatingElement
|
2334
|
+
setCurrentlyValidatingElement(null);
|
2335
2335
|
}
|
2336
2336
|
}
|
2337
2337
|
/**
|
@@ -2350,7 +2350,7 @@
|
|
2350
2350
|
return;
|
2351
2351
|
}
|
2352
2352
|
|
2353
|
-
if (node.$$typeof === REACT_CLIENT_REFERENCE
|
2353
|
+
if (node.$$typeof === REACT_CLIENT_REFERENCE) ; else if (isArray(node)) {
|
2354
2354
|
for (var i = 0; i < node.length; i++) {
|
2355
2355
|
var child = node[i];
|
2356
2356
|
|
@@ -2398,7 +2398,7 @@
|
|
2398
2398
|
return;
|
2399
2399
|
}
|
2400
2400
|
|
2401
|
-
if (type.$$typeof === REACT_CLIENT_REFERENCE
|
2401
|
+
if (type.$$typeof === REACT_CLIENT_REFERENCE) {
|
2402
2402
|
return;
|
2403
2403
|
}
|
2404
2404
|
|
@@ -2445,21 +2445,21 @@
|
|
2445
2445
|
var key = keys[i];
|
2446
2446
|
|
2447
2447
|
if (key !== 'children' && key !== 'key') {
|
2448
|
-
setCurrentlyValidatingElement
|
2448
|
+
setCurrentlyValidatingElement(fragment);
|
2449
2449
|
|
2450
2450
|
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
|
2451
2451
|
|
2452
|
-
setCurrentlyValidatingElement
|
2452
|
+
setCurrentlyValidatingElement(null);
|
2453
2453
|
break;
|
2454
2454
|
}
|
2455
2455
|
}
|
2456
2456
|
|
2457
2457
|
if (fragment.ref !== null) {
|
2458
|
-
setCurrentlyValidatingElement
|
2458
|
+
setCurrentlyValidatingElement(fragment);
|
2459
2459
|
|
2460
2460
|
error('Invalid attribute `ref` supplied to `React.Fragment`.');
|
2461
2461
|
|
2462
|
-
setCurrentlyValidatingElement
|
2462
|
+
setCurrentlyValidatingElement(null);
|
2463
2463
|
}
|
2464
2464
|
}
|
2465
2465
|
}
|
@@ -2500,7 +2500,7 @@
|
|
2500
2500
|
}
|
2501
2501
|
}
|
2502
2502
|
|
2503
|
-
var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
|
2503
|
+
var element = createElement$1.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
|
2504
2504
|
// TODO: Drop this when these are no longer allowed as the type argument.
|
2505
2505
|
|
2506
2506
|
if (element == null) {
|
@@ -2555,7 +2555,7 @@
|
|
2555
2555
|
return validatedFactory;
|
2556
2556
|
}
|
2557
2557
|
function cloneElementWithValidation(element, props, children) {
|
2558
|
-
var newElement = cloneElement.apply(this, arguments);
|
2558
|
+
var newElement = cloneElement$1.apply(this, arguments);
|
2559
2559
|
|
2560
2560
|
for (var i = 2; i < arguments.length; i++) {
|
2561
2561
|
validateChildKeys(arguments[i], newElement.type);
|
@@ -2565,12 +2565,12 @@
|
|
2565
2565
|
return newElement;
|
2566
2566
|
}
|
2567
2567
|
|
2568
|
-
var ContextRegistry
|
2568
|
+
var ContextRegistry = ReactSharedInternals$1.ContextRegistry;
|
2569
2569
|
function createServerContext(globalName, defaultValue) {
|
2570
2570
|
|
2571
2571
|
var wasDefined = true;
|
2572
2572
|
|
2573
|
-
if (!ContextRegistry
|
2573
|
+
if (!ContextRegistry[globalName]) {
|
2574
2574
|
wasDefined = false;
|
2575
2575
|
var _context = {
|
2576
2576
|
$$typeof: REACT_SERVER_CONTEXT_TYPE,
|
@@ -2614,10 +2614,10 @@
|
|
2614
2614
|
});
|
2615
2615
|
}
|
2616
2616
|
|
2617
|
-
ContextRegistry
|
2617
|
+
ContextRegistry[globalName] = _context;
|
2618
2618
|
}
|
2619
2619
|
|
2620
|
-
var context = ContextRegistry
|
2620
|
+
var context = ContextRegistry[globalName];
|
2621
2621
|
|
2622
2622
|
if (context._defaultValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) {
|
2623
2623
|
context._defaultValue = defaultValue;
|
@@ -2779,7 +2779,7 @@
|
|
2779
2779
|
var localClearTimeout = typeof clearTimeout === 'function' ? clearTimeout : null;
|
2780
2780
|
var localSetImmediate = typeof setImmediate !== 'undefined' ? setImmediate : null; // IE and Node.js + jsdom
|
2781
2781
|
|
2782
|
-
|
2782
|
+
typeof navigator !== 'undefined' && // $FlowFixMe[prop-missing]
|
2783
2783
|
navigator.scheduling !== undefined && // $FlowFixMe[incompatible-type]
|
2784
2784
|
navigator.scheduling.isInputPending !== undefined ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null;
|
2785
2785
|
|
@@ -2838,21 +2838,7 @@
|
|
2838
2838
|
var previousPriorityLevel = currentPriorityLevel;
|
2839
2839
|
|
2840
2840
|
try {
|
2841
|
-
if (enableProfiling) {
|
2842
|
-
try {
|
2843
|
-
return workLoop(hasTimeRemaining, initialTime);
|
2844
|
-
} catch (error) {
|
2845
|
-
if (currentTask !== null) {
|
2846
|
-
var currentTime = getCurrentTime(); // $FlowFixMe[incompatible-call] found when upgrading Flow
|
2847
|
-
|
2848
|
-
markTaskErrored(currentTask, currentTime); // $FlowFixMe[incompatible-use] found when upgrading Flow
|
2849
|
-
|
2850
|
-
currentTask.isQueued = false;
|
2851
|
-
}
|
2852
|
-
|
2853
|
-
throw error;
|
2854
|
-
}
|
2855
|
-
} else {
|
2841
|
+
var currentTime; if (enableProfiling) ; else {
|
2856
2842
|
// No catch in prod code path.
|
2857
2843
|
return workLoop(hasTimeRemaining, initialTime);
|
2858
2844
|
}
|
@@ -3233,9 +3219,7 @@
|
|
3233
3219
|
localClearTimeout(taskTimeoutID);
|
3234
3220
|
taskTimeoutID = -1;
|
3235
3221
|
}
|
3236
|
-
var unstable_Profiling =
|
3237
|
-
|
3238
|
-
|
3222
|
+
var unstable_Profiling = null;
|
3239
3223
|
|
3240
3224
|
var Scheduler = /*#__PURE__*/Object.freeze({
|
3241
3225
|
__proto__: null,
|
@@ -3260,8 +3244,8 @@
|
|
3260
3244
|
unstable_Profiling: unstable_Profiling
|
3261
3245
|
});
|
3262
3246
|
|
3263
|
-
var ReactSharedInternals
|
3264
|
-
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
3247
|
+
var ReactSharedInternals = {
|
3248
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher$1,
|
3265
3249
|
ReactCurrentCache: ReactCurrentCache,
|
3266
3250
|
ReactCurrentOwner: ReactCurrentOwner,
|
3267
3251
|
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
|
@@ -3274,12 +3258,12 @@
|
|
3274
3258
|
};
|
3275
3259
|
|
3276
3260
|
{
|
3277
|
-
ReactSharedInternals
|
3278
|
-
ReactSharedInternals
|
3261
|
+
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
|
3262
|
+
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame$1;
|
3279
3263
|
}
|
3280
3264
|
|
3281
3265
|
{
|
3282
|
-
ReactSharedInternals
|
3266
|
+
ReactSharedInternals.ContextRegistry = ContextRegistry$1;
|
3283
3267
|
}
|
3284
3268
|
|
3285
3269
|
function startTransition(scope, options) {
|
@@ -3624,9 +3608,9 @@
|
|
3624
3608
|
});
|
3625
3609
|
} : enqueueTask;
|
3626
3610
|
|
3627
|
-
var createElement
|
3628
|
-
var cloneElement
|
3629
|
-
var createFactory =
|
3611
|
+
var createElement = createElementWithValidation ;
|
3612
|
+
var cloneElement = cloneElementWithValidation ;
|
3613
|
+
var createFactory = createFactoryWithValidation ;
|
3630
3614
|
var Children = {
|
3631
3615
|
map: mapChildren,
|
3632
3616
|
forEach: forEachChildren,
|
@@ -3642,11 +3626,11 @@
|
|
3642
3626
|
exports.PureComponent = PureComponent;
|
3643
3627
|
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
3644
3628
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
3645
|
-
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals
|
3629
|
+
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
|
3646
3630
|
exports.cache = cache;
|
3647
|
-
exports.cloneElement = cloneElement
|
3631
|
+
exports.cloneElement = cloneElement;
|
3648
3632
|
exports.createContext = createContext;
|
3649
|
-
exports.createElement = createElement
|
3633
|
+
exports.createElement = createElement;
|
3650
3634
|
exports.createFactory = createFactory;
|
3651
3635
|
exports.createRef = createRef;
|
3652
3636
|
exports.createServerContext = createServerContext;
|
@@ -3675,4 +3659,4 @@
|
|
3675
3659
|
exports.useTransition = useTransition;
|
3676
3660
|
exports.version = ReactVersion;
|
3677
3661
|
|
3678
|
-
}))
|
3662
|
+
}));
|
@@ -7,28 +7,28 @@
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
|
-
(function(){'use strict';(function(
|
11
|
-
b,
|
12
|
-
function
|
13
|
-
|
14
|
-
("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return
|
15
|
-
0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
b,d,c){}},
|
20
|
-
|
21
|
-
typeof clearTimeout?clearTimeout:null,
|
22
|
-
var
|
23
|
-
3;break;default:b=
|
24
|
-
|
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"):
|
26
|
-
return a}};
|
27
|
-
|
28
|
-
b.key);if(a.type&&a.type.defaultProps)var
|
29
|
-
{$$typeof:
|
30
|
-
|
31
|
-
};
|
32
|
-
b,c)};
|
33
|
-
|
10
|
+
(function(){'use strict';(function(f,z){"object"===typeof exports&&"undefined"!==typeof module?z(exports):"function"===typeof define&&define.amd?define(["exports"],z):(f="undefined"!==typeof globalThis?globalThis:f||self,z(f.React={}))})(this,function(f){function z(a){if(null===a||"object"!==typeof a)return null;a=aa&&a[aa]||a["@@iterator"];return"function"===typeof a?a:null}function y(a,b,c){this.props=a;this.context=b;this.refs=ba;this.updater=c||ca}function da(){}function O(a,b,c){this.props=a;this.context=
|
11
|
+
b;this.refs=ba;this.updater=c||ca}function ea(a,b,c){var d,e={},g=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)fa.call(b,d)&&!ha.hasOwnProperty(d)&&(e[d]=b[d]);var l=arguments.length-2;if(1===l)e.children=c;else if(1<l){for(var k=Array(l),n=0;n<l;n++)k[n]=arguments[n+2];e.children=k}if(a&&a.defaultProps)for(d in l=a.defaultProps,l)void 0===e[d]&&(e[d]=l[d]);return{$$typeof:A,type:a,key:g,ref:h,props:e,_owner:P.current}}function ua(a,b){return{$$typeof:A,
|
12
|
+
type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function Q(a){return"object"===typeof a&&null!==a&&a.$$typeof===A}function va(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}function R(a,b){return"object"===typeof a&&null!==a&&null!=a.key?va(""+a.key):b.toString(36)}function D(a,b,c,d,e){var g=typeof a;if("undefined"===g||"boolean"===g)a=null;var h=!1;if(null===a)h=!0;else switch(g){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case A:case wa:h=
|
13
|
+
!0}}if(h)return h=a,e=e(h),a=""===d?"."+R(h,0):d,ia(e)?(c="",null!=a&&(c=a.replace(ja,"$&/")+"/"),D(e,b,c,"",function(n){return n})):null!=e&&(Q(e)&&(e=ua(e,c+(!e.key||h&&h.key===e.key?"":(""+e.key).replace(ja,"$&/")+"/")+a)),b.push(e)),1;h=0;d=""===d?".":d+":";if(ia(a))for(var l=0;l<a.length;l++){g=a[l];var k=d+R(g,l);h+=D(g,b,c,k,e)}else if(k=z(a),"function"===typeof k)for(a=k.call(a),l=0;!(g=a.next()).done;)g=g.value,k=d+R(g,l++),h+=D(g,b,c,k,e);else if("object"===g)throw b=String(a),Error("Objects are not valid as a React child (found: "+
|
14
|
+
("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return h}function E(a,b,c){if(null==a)return a;var d=[],e=0;D(a,d,"","",function(g){return b.call(c,g,e++)});return d}function xa(a){if(-1===a._status){var b=a._result;b=b();b.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=
|
15
|
+
0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ya(){return new WeakMap}function S(){return{s:0,v:void 0,o:null,p:null}}function T(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<F(e,b))a[d]=b,a[c]=e,c=d;else break a}}function r(a){return 0===a.length?null:a[0]}function G(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,g=e>>>1;d<g;){var h=2*(d+1)-1,l=a[h],k=h+1,n=a[k];if(0>F(l,c))k<e&&0>F(n,l)?(a[d]=
|
16
|
+
n,a[k]=c,d=k):(a[d]=l,a[h]=c,d=h);else if(k<e&&0>F(n,c))a[d]=n,a[k]=c,d=k;else break a}}return b}function F(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function H(a){for(var b=r(u);null!==b;){if(null===b.callback)G(u);else if(b.startTime<=a)G(u),b.sortIndex=b.expirationTime,T(t,b);else break;b=r(u)}}function U(a){B=!1;H(a);if(!w)if(null!==r(t))w=!0,V(W);else{var b=r(u);null!==b&&X(U,b.startTime-a)}}function W(a,b){w=!1;B&&(B=!1,ka(C),C=-1);I=!0;var c=p;try{a:{H(b);for(q=r(t);null!==
|
17
|
+
q&&(!(q.expirationTime>b)||a&&!la());){var d=q.callback;if("function"===typeof d){q.callback=null;p=q.priorityLevel;var e=d(q.expirationTime<=b);b=x();if("function"===typeof e){q.callback=e;H(b);var g=!0;break a}else q===r(t)&&G(t),H(b)}else G(t);q=r(t)}if(null!==q)g=!0;else{var h=r(u);null!==h&&X(U,h.startTime-b);g=!1}}return g}finally{q=null,p=c,I=!1}}function la(){return x()-ma<na?!1:!0}function V(a){J=a;K||(K=!0,L())}function X(a,b){C=oa(function(){a(x())},b)}var A=Symbol.for("react.element"),
|
18
|
+
wa=Symbol.for("react.portal"),za=Symbol.for("react.fragment"),Aa=Symbol.for("react.strict_mode"),Ba=Symbol.for("react.profiler"),pa=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.server_context"),Ea=Symbol.for("react.forward_ref"),Fa=Symbol.for("react.suspense"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"),Y=Symbol.for("react.default_value"),aa=Symbol.iterator,ca={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,
|
19
|
+
b,c,d){},enqueueSetState:function(a,b,c,d){}},qa=Object.assign,ba={};y.prototype.isReactComponent={};y.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};y.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};da.prototype=y.prototype;var v=O.prototype=
|
20
|
+
new da;v.constructor=O;qa(v,y.prototype);v.isPureReactComponent=!0;var ia=Array.isArray,fa=Object.prototype.hasOwnProperty,P={current:null},ha={key:!0,ref:!0,__self:!0,__source:!0},ja=/\/+/g,ra={current:null},m={current:null},M={transition:null},N={};if("object"===typeof performance&&"function"===typeof performance.now){var Ia=performance;var x=function(){return Ia.now()}}else{var sa=Date,Ja=sa.now();x=function(){return sa.now()-Ja}}var t=[],u=[],Ka=1,q=null,p=3,I=!1,w=!1,B=!1,oa="function"===typeof setTimeout?
|
21
|
+
setTimeout:null,ka="function"===typeof clearTimeout?clearTimeout:null,ta="undefined"!==typeof setImmediate?setImmediate:null;"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;var K=!1,J=null,C=-1,na=5,ma=-1,Z=function(){if(null!==J){var a=x();ma=a;var b=!0;try{b=J(!0,a)}finally{b?L():(K=!1,J=null)}}else K=!1};if("function"===typeof ta)var L=function(){ta(Z)};else if("undefined"!==
|
22
|
+
typeof MessageChannel){v=new MessageChannel;var La=v.port2;v.port1.onmessage=Z;L=function(){La.postMessage(null)}}else L=function(){oa(Z,0)};v={ReactCurrentDispatcher:m,ReactCurrentCache:ra,ReactCurrentOwner:P,ReactCurrentBatchConfig:M,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=
|
23
|
+
p;p=a;try{return b()}finally{p=c}},unstable_next:function(a){switch(p){case 1:case 2:case 3:var b=3;break;default:b=p}var c=p;p=b;try{return a()}finally{p=c}},unstable_scheduleCallback:function(a,b,c){var d=x();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Ka++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=
|
24
|
+
c,T(u,a),null===r(t)&&a===r(u)&&(B?(ka(C),C=-1):B=!0,X(U,c-d))):(a.sortIndex=e,T(t,a),w||I||(w=!0,V(W)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=p;return function(){var c=p;p=b;try{return a.apply(this,arguments)}finally{p=c}}},unstable_getCurrentPriorityLevel:function(){return p},unstable_shouldYield:la,unstable_requestPaint:function(){},unstable_continueExecution:function(){w||I||(w=!0,V(W))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return r(t)},
|
25
|
+
get unstable_now(){return x},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"):na=0<a?Math.floor(1E3/a):5},unstable_Profiling:null},ContextRegistry:N};f.Children={map:E,forEach:function(a,b,c){E(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;E(a,function(){b++});return b},toArray:function(a){return E(a,function(b){return b})||[]},only:function(a){if(!Q(a))throw Error("React.Children.only expected to receive a single React element child.");
|
26
|
+
return a}};f.Component=y;f.Fragment=za;f.Profiler=Ba;f.PureComponent=O;f.StrictMode=Aa;f.Suspense=Fa;f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=v;f.cache=function(a){return function(){var b=ra.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ya);b=c.get(a);void 0===b&&(b=S(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var g=b.o;null===g&&(b.o=g=new WeakMap);b=g.get(e);void 0===b&&(b=S(),
|
27
|
+
g.set(e,b))}else g=b.p,null===g&&(b.p=g=new Map),b=g.get(e),void 0===b&&(b=S(),g.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var h=a.apply(null,arguments);c=b;c.s=1;return c.v=h}catch(l){throw h=b,h.s=2,h.v=l,l;}}};f.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=qa({},a.props),e=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,h=P.current);void 0!==b.key&&(e=""+
|
28
|
+
b.key);if(a.type&&a.type.defaultProps)var l=a.type.defaultProps;for(k in b)fa.call(b,k)&&!ha.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==l?l[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){l=Array(k);for(var n=0;n<k;n++)l[n]=arguments[n+2];d.children=l}return{$$typeof:A,type:a.type,key:e,ref:g,props:d,_owner:h}};f.createContext=function(a){a={$$typeof:Ca,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider=
|
29
|
+
{$$typeof:pa,_context:a};return a.Consumer=a};f.createElement=ea;f.createFactory=function(a){var b=ea.bind(null,a);b.type=a;return b};f.createRef=function(){return{current:null}};f.createServerContext=function(a,b){var c=!0;if(!N[a]){c=!1;var d={$$typeof:Da,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};d.Provider={$$typeof:pa,_context:d};N[a]=d}d=N[a];if(d._defaultValue===Y)d._defaultValue=b,d._currentValue===Y&&(d._currentValue=b),d._currentValue2===
|
30
|
+
Y&&(d._currentValue2=b);else if(c)throw Error("ServerContext: "+a+" already defined");return d};f.forwardRef=function(a){return{$$typeof:Ea,render:a}};f.isValidElement=Q;f.lazy=function(a){return{$$typeof:Ha,_payload:{_status:-1,_result:a},_init:xa}};f.memo=function(a,b){return{$$typeof:Ga,type:a,compare:void 0===b?null:b}};f.startTransition=function(a,b){b=M.transition;M.transition={};try{a()}finally{M.transition=b}};f.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React.");
|
31
|
+
};f.unstable_useCacheRefresh=function(){return m.current.useCacheRefresh()};f.use=function(a){return m.current.use(a)};f.useCallback=function(a,b){return m.current.useCallback(a,b)};f.useContext=function(a){return m.current.useContext(a)};f.useDebugValue=function(a,b){};f.useDeferredValue=function(a){return m.current.useDeferredValue(a)};f.useEffect=function(a,b){return m.current.useEffect(a,b)};f.useId=function(){return m.current.useId()};f.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,
|
32
|
+
b,c)};f.useInsertionEffect=function(a,b){return m.current.useInsertionEffect(a,b)};f.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};f.useMemo=function(a,b){return m.current.useMemo(a,b)};f.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};f.useRef=function(a){return m.current.useRef(a)};f.useState=function(a){return m.current.useState(a)};f.useSyncExternalStore=function(a,b,c){return m.current.useSyncExternalStore(a,b,c)};f.useTransition=function(){return m.current.useTransition()};
|
33
|
+
f.version="18.3.0-next-ca2cf319f-20230223"});
|
34
34
|
})();
|