@kubb/agent 4.31.0 → 4.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +106 -44
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/node_modules/@kubb/fabric-core/dist/chunk-BVHe6Par.js +22 -0
- package/.output/server/node_modules/@kubb/fabric-core/dist/{defaultParser-C1atU7yU.js → defaultParser-BD_N68Bo.js} +3 -2
- package/.output/server/node_modules/@kubb/fabric-core/dist/{getRelativePath-BcieQL5M.js → getRelativePath-C4Au07ON.js} +2 -1
- package/.output/server/node_modules/@kubb/fabric-core/dist/index.js +3 -2
- package/.output/server/node_modules/@kubb/fabric-core/dist/{onProcessExit-B0rJqX4s.js → onProcessExit-CnZym153.js} +4 -3
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers/typescript.js +2 -1
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers.js +3 -2
- package/.output/server/node_modules/@kubb/fabric-core/dist/plugins.js +3 -2
- package/.output/server/node_modules/@kubb/fabric-core/package.json +3 -2
- package/.output/server/node_modules/@kubb/react-fabric/dist/{chunk-Cnw5r_-A.js → chunk-DbZtQ4qb.js} +5 -1
- package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +4 -4
- package/.output/server/node_modules/@kubb/react-fabric/dist/{jsx-runtime-Dm7PKVbc.js → jsx-runtime-CZxrhUx8.js} +24 -5
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime.js +3 -3
- package/.output/server/node_modules/@kubb/react-fabric/dist/plugins.js +3 -3
- package/.output/server/node_modules/@kubb/react-fabric/dist/{react-D652OKii.js → react-C2cYsofv.js} +87 -26
- package/.output/server/node_modules/@kubb/react-fabric/dist/{reactPlugin-tE73eBS_.js → reactPlugin-DGKBWjiR.js} +1450 -317
- package/.output/server/node_modules/@kubb/react-fabric/package.json +4 -3
- package/.output/server/package.json +3 -3
- package/package.json +17 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as require_react } from "./react-
|
|
1
|
+
import { a as __toESM, r as __name, t as __commonJSMin } from "./chunk-DbZtQ4qb.js";
|
|
2
|
+
import { t as require_react } from "./react-C2cYsofv.js";
|
|
3
3
|
import { jsx } from "./jsx-runtime.js";
|
|
4
4
|
import { NodeTreeContext, RootContext, TreeNode, onProcessExit, provide, renderIndent } from "@kubb/fabric-core";
|
|
5
5
|
import { definePlugin } from "@kubb/fabric-core/plugins";
|
|
@@ -57,7 +57,8 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
57
57
|
var index = heap.length;
|
|
58
58
|
heap.push(node);
|
|
59
59
|
a: for (; 0 < index;) {
|
|
60
|
-
var parentIndex = index - 1 >>> 1
|
|
60
|
+
var parentIndex = index - 1 >>> 1;
|
|
61
|
+
var parent = heap[parentIndex];
|
|
61
62
|
if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex;
|
|
62
63
|
else break a;
|
|
63
64
|
}
|
|
@@ -67,11 +68,15 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
67
68
|
}
|
|
68
69
|
function pop(heap) {
|
|
69
70
|
if (0 === heap.length) return null;
|
|
70
|
-
var first = heap[0]
|
|
71
|
+
var first = heap[0];
|
|
72
|
+
var last = heap.pop();
|
|
71
73
|
if (last !== first) {
|
|
72
74
|
heap[0] = last;
|
|
73
75
|
a: for (var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;) {
|
|
74
|
-
var leftIndex = 2 * (index + 1) - 1
|
|
76
|
+
var leftIndex = 2 * (index + 1) - 1;
|
|
77
|
+
var left = heap[leftIndex];
|
|
78
|
+
var rightIndex = leftIndex + 1;
|
|
79
|
+
var right = heap[rightIndex];
|
|
75
80
|
if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex);
|
|
76
81
|
else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex;
|
|
77
82
|
else break a;
|
|
@@ -90,12 +95,24 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
90
95
|
return localPerformance.now();
|
|
91
96
|
};
|
|
92
97
|
} else {
|
|
93
|
-
var localDate = Date
|
|
98
|
+
var localDate = Date;
|
|
99
|
+
var initialTime = localDate.now();
|
|
94
100
|
exports.unstable_now = function() {
|
|
95
101
|
return localDate.now() - initialTime;
|
|
96
102
|
};
|
|
97
103
|
}
|
|
98
|
-
var taskQueue = []
|
|
104
|
+
var taskQueue = [];
|
|
105
|
+
var timerQueue = [];
|
|
106
|
+
var taskIdCounter = 1;
|
|
107
|
+
var currentTask = null;
|
|
108
|
+
var currentPriorityLevel = 3;
|
|
109
|
+
var isPerformingWork = !1;
|
|
110
|
+
var isHostCallbackScheduled = !1;
|
|
111
|
+
var isHostTimeoutScheduled = !1;
|
|
112
|
+
var needsPaint = !1;
|
|
113
|
+
var localSetTimeout = "function" === typeof setTimeout ? setTimeout : null;
|
|
114
|
+
var localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null;
|
|
115
|
+
var localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
|
|
99
116
|
function advanceTimers(currentTime) {
|
|
100
117
|
for (var timer = peek(timerQueue); null !== timer;) {
|
|
101
118
|
if (null === timer.callback) pop(timerQueue);
|
|
@@ -113,7 +130,10 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
113
130
|
null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
|
114
131
|
}
|
|
115
132
|
}
|
|
116
|
-
var isMessageLoopRunning = !1
|
|
133
|
+
var isMessageLoopRunning = !1;
|
|
134
|
+
var taskTimeoutID = -1;
|
|
135
|
+
var frameInterval = 5;
|
|
136
|
+
var startTime = -1;
|
|
117
137
|
function shouldYieldToHost() {
|
|
118
138
|
return needsPaint ? !0 : exports.unstable_now() - startTime < frameInterval ? !1 : !0;
|
|
119
139
|
}
|
|
@@ -173,7 +193,8 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
173
193
|
localSetImmediate(performWorkUntilDeadline);
|
|
174
194
|
};
|
|
175
195
|
else if ("undefined" !== typeof MessageChannel) {
|
|
176
|
-
var channel = new MessageChannel()
|
|
196
|
+
var channel = new MessageChannel();
|
|
197
|
+
var port = channel.port2;
|
|
177
198
|
channel.port1.onmessage = performWorkUntilDeadline;
|
|
178
199
|
schedulePerformWorkUntilDeadline = function() {
|
|
179
200
|
port.postMessage(null);
|
|
@@ -351,7 +372,8 @@ var require_scheduler_development = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
351
372
|
var index = heap.length;
|
|
352
373
|
heap.push(node);
|
|
353
374
|
a: for (; 0 < index;) {
|
|
354
|
-
var parentIndex = index - 1 >>> 1
|
|
375
|
+
var parentIndex = index - 1 >>> 1;
|
|
376
|
+
var parent = heap[parentIndex];
|
|
355
377
|
if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex;
|
|
356
378
|
else break a;
|
|
357
379
|
}
|
|
@@ -361,11 +383,15 @@ var require_scheduler_development = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
361
383
|
}
|
|
362
384
|
function pop(heap) {
|
|
363
385
|
if (0 === heap.length) return null;
|
|
364
|
-
var first = heap[0]
|
|
386
|
+
var first = heap[0];
|
|
387
|
+
var last = heap.pop();
|
|
365
388
|
if (last !== first) {
|
|
366
389
|
heap[0] = last;
|
|
367
390
|
a: for (var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;) {
|
|
368
|
-
var leftIndex = 2 * (index + 1) - 1
|
|
391
|
+
var leftIndex = 2 * (index + 1) - 1;
|
|
392
|
+
var left = heap[leftIndex];
|
|
393
|
+
var rightIndex = leftIndex + 1;
|
|
394
|
+
var right = heap[rightIndex];
|
|
369
395
|
if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex);
|
|
370
396
|
else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex;
|
|
371
397
|
else break a;
|
|
@@ -410,17 +436,34 @@ var require_scheduler_development = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
410
436
|
return localPerformance.now();
|
|
411
437
|
};
|
|
412
438
|
} else {
|
|
413
|
-
var localDate = Date
|
|
439
|
+
var localDate = Date;
|
|
440
|
+
var initialTime = localDate.now();
|
|
414
441
|
exports.unstable_now = function() {
|
|
415
442
|
return localDate.now() - initialTime;
|
|
416
443
|
};
|
|
417
444
|
}
|
|
418
|
-
var taskQueue = []
|
|
445
|
+
var taskQueue = [];
|
|
446
|
+
var timerQueue = [];
|
|
447
|
+
var taskIdCounter = 1;
|
|
448
|
+
var currentTask = null;
|
|
449
|
+
var currentPriorityLevel = 3;
|
|
450
|
+
var isPerformingWork = !1;
|
|
451
|
+
var isHostCallbackScheduled = !1;
|
|
452
|
+
var isHostTimeoutScheduled = !1;
|
|
453
|
+
var needsPaint = !1;
|
|
454
|
+
var localSetTimeout = "function" === typeof setTimeout ? setTimeout : null;
|
|
455
|
+
var localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null;
|
|
456
|
+
var localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
|
|
457
|
+
var isMessageLoopRunning = !1;
|
|
458
|
+
var taskTimeoutID = -1;
|
|
459
|
+
var frameInterval = 5;
|
|
460
|
+
var startTime = -1;
|
|
419
461
|
if ("function" === typeof localSetImmediate) var schedulePerformWorkUntilDeadline = function() {
|
|
420
462
|
localSetImmediate(performWorkUntilDeadline);
|
|
421
463
|
};
|
|
422
464
|
else if ("undefined" !== typeof MessageChannel) {
|
|
423
|
-
var channel = new MessageChannel()
|
|
465
|
+
var channel = new MessageChannel();
|
|
466
|
+
var port = channel.port2;
|
|
424
467
|
channel.port1.onmessage = performWorkUntilDeadline;
|
|
425
468
|
schedulePerformWorkUntilDeadline = function() {
|
|
426
469
|
port.postMessage(null);
|
|
@@ -560,7 +603,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
560
603
|
return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
561
604
|
}
|
|
562
605
|
function getNearestMountedFiber(fiber) {
|
|
563
|
-
var node = fiber
|
|
606
|
+
var node = fiber;
|
|
607
|
+
var nearestMounted = fiber;
|
|
564
608
|
if (fiber.alternate) for (; node.return;) node = node.return;
|
|
565
609
|
else {
|
|
566
610
|
fiber = node;
|
|
@@ -752,7 +796,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
752
796
|
function getNextLanes(root, wipLanes, rootHasPendingCommit) {
|
|
753
797
|
var pendingLanes = root.pendingLanes;
|
|
754
798
|
if (0 === pendingLanes) return 0;
|
|
755
|
-
var nextLanes = 0
|
|
799
|
+
var nextLanes = 0;
|
|
800
|
+
var suspendedLanes = root.suspendedLanes;
|
|
801
|
+
var pingedLanes = root.pingedLanes;
|
|
756
802
|
root = root.warmLanes;
|
|
757
803
|
var nonIdlePendingLanes = pendingLanes & 134217727;
|
|
758
804
|
0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
|
|
@@ -821,9 +867,12 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
821
867
|
root.entangledLanes &= remainingLanes;
|
|
822
868
|
root.errorRecoveryDisabledLanes &= remainingLanes;
|
|
823
869
|
root.shellSuspendCounter = 0;
|
|
824
|
-
var entanglements = root.entanglements
|
|
870
|
+
var entanglements = root.entanglements;
|
|
871
|
+
var expirationTimes = root.expirationTimes;
|
|
872
|
+
var hiddenUpdates = root.hiddenUpdates;
|
|
825
873
|
for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;) {
|
|
826
|
-
var index$5 = 31 - clz32(remainingLanes)
|
|
874
|
+
var index$5 = 31 - clz32(remainingLanes);
|
|
875
|
+
var lane = 1 << index$5;
|
|
827
876
|
entanglements[index$5] = 0;
|
|
828
877
|
expirationTimes[index$5] = -1;
|
|
829
878
|
var hiddenUpdatesForLane = hiddenUpdates[index$5];
|
|
@@ -846,7 +895,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
846
895
|
function markRootEntangled(root, entangledLanes) {
|
|
847
896
|
var rootEntangledLanes = root.entangledLanes |= entangledLanes;
|
|
848
897
|
for (root = root.entanglements; rootEntangledLanes;) {
|
|
849
|
-
var index$6 = 31 - clz32(rootEntangledLanes)
|
|
898
|
+
var index$6 = 31 - clz32(rootEntangledLanes);
|
|
899
|
+
var lane = 1 << index$6;
|
|
850
900
|
lane & entangledLanes | root[index$6] & entangledLanes && (root[index$6] |= entangledLanes);
|
|
851
901
|
rootEntangledLanes &= ~lane;
|
|
852
902
|
}
|
|
@@ -963,9 +1013,12 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
963
1013
|
RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
964
1014
|
var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name");
|
|
965
1015
|
namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });
|
|
966
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot()
|
|
1016
|
+
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot();
|
|
1017
|
+
var sampleStack = _RunInRootFrame$Deter[0];
|
|
1018
|
+
var controlStack = _RunInRootFrame$Deter[1];
|
|
967
1019
|
if (sampleStack && controlStack) {
|
|
968
|
-
var sampleLines = sampleStack.split("\n")
|
|
1020
|
+
var sampleLines = sampleStack.split("\n");
|
|
1021
|
+
var controlLines = controlStack.split("\n");
|
|
969
1022
|
for (namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");) RunInRootFrame++;
|
|
970
1023
|
for (; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++;
|
|
971
1024
|
if (RunInRootFrame === sampleLines.length || namePropDescriptor === controlLines.length) for (RunInRootFrame = sampleLines.length - 1, namePropDescriptor = controlLines.length - 1; 1 <= RunInRootFrame && 0 <= namePropDescriptor && sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];) namePropDescriptor--;
|
|
@@ -1003,7 +1056,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1003
1056
|
}
|
|
1004
1057
|
function getStackByFiberInDevAndProd(workInProgress) {
|
|
1005
1058
|
try {
|
|
1006
|
-
var info = ""
|
|
1059
|
+
var info = "";
|
|
1060
|
+
var previous = null;
|
|
1007
1061
|
do
|
|
1008
1062
|
info += describeFiber(workInProgress, previous), previous = workInProgress, workInProgress = workInProgress.return;
|
|
1009
1063
|
while (workInProgress);
|
|
@@ -1086,7 +1140,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1086
1140
|
}
|
|
1087
1141
|
function pushHostContext(fiber) {
|
|
1088
1142
|
null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber);
|
|
1089
|
-
var context = contextStackCursor.current
|
|
1143
|
+
var context = contextStackCursor.current;
|
|
1144
|
+
var nextContext = getChildHostContext(context, fiber.type);
|
|
1090
1145
|
context !== nextContext && (push(contextFiberStackCursor, fiber), push(contextStackCursor, nextContext));
|
|
1091
1146
|
}
|
|
1092
1147
|
function popHostContext(fiber) {
|
|
@@ -1302,7 +1357,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1302
1357
|
var pendingLanes = root.pendingLanes;
|
|
1303
1358
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
|
1304
1359
|
else {
|
|
1305
|
-
var suspendedLanes = root.suspendedLanes
|
|
1360
|
+
var suspendedLanes = root.suspendedLanes;
|
|
1361
|
+
var pingedLanes = root.pingedLanes;
|
|
1306
1362
|
JSCompiler_inline_result = (1 << 31 - clz32(42 | syncTransitionLanes) + 1) - 1;
|
|
1307
1363
|
JSCompiler_inline_result &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
|
1308
1364
|
JSCompiler_inline_result = JSCompiler_inline_result & 201326741 ? JSCompiler_inline_result & 201326741 | 1 : JSCompiler_inline_result ? JSCompiler_inline_result | 2 : 0;
|
|
@@ -1323,7 +1379,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1323
1379
|
var syncTransitionLanes = 0;
|
|
1324
1380
|
0 !== currentEventTransitionLane && shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane);
|
|
1325
1381
|
for (var currentTime = now(), prev = null, root = firstScheduledRoot; null !== root;) {
|
|
1326
|
-
var next = root.next
|
|
1382
|
+
var next = root.next;
|
|
1383
|
+
var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
|
1327
1384
|
if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);
|
|
1328
1385
|
else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = !0;
|
|
1329
1386
|
root = next;
|
|
@@ -1333,7 +1390,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1333
1390
|
}
|
|
1334
1391
|
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
1335
1392
|
for (var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;) {
|
|
1336
|
-
var index$3 = 31 - clz32(lanes)
|
|
1393
|
+
var index$3 = 31 - clz32(lanes);
|
|
1394
|
+
var lane = 1 << index$3;
|
|
1395
|
+
var expirationTime = expirationTimes[index$3];
|
|
1337
1396
|
if (-1 === expirationTime) {
|
|
1338
1397
|
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index$3] = computeExpirationTime(lane, currentTime);
|
|
1339
1398
|
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
|
|
@@ -1428,7 +1487,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1428
1487
|
}
|
|
1429
1488
|
}
|
|
1430
1489
|
function chainThenableValue(thenable, result) {
|
|
1431
|
-
var listeners = []
|
|
1490
|
+
var listeners = [];
|
|
1491
|
+
var thenableWithOverride = {
|
|
1432
1492
|
status: "pending",
|
|
1433
1493
|
value: null,
|
|
1434
1494
|
reason: null,
|
|
@@ -1464,7 +1524,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1464
1524
|
function shallowEqual(objA, objB) {
|
|
1465
1525
|
if (objectIs(objA, objB)) return !0;
|
|
1466
1526
|
if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return !1;
|
|
1467
|
-
var keysA = Object.keys(objA)
|
|
1527
|
+
var keysA = Object.keys(objA);
|
|
1528
|
+
var keysB = Object.keys(objB);
|
|
1468
1529
|
if (keysA.length !== keysB.length) return !1;
|
|
1469
1530
|
for (keysB = 0; keysB < keysA.length; keysB++) {
|
|
1470
1531
|
var currentKey = keysA[keysB];
|
|
@@ -1896,9 +1957,11 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1896
1957
|
}
|
|
1897
1958
|
}
|
|
1898
1959
|
function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
|
|
1899
|
-
var queue = workInProgress.updateQueue
|
|
1960
|
+
var queue = workInProgress.updateQueue;
|
|
1961
|
+
var current = workInProgress.alternate;
|
|
1900
1962
|
if (null !== current && (current = current.updateQueue, queue === current)) {
|
|
1901
|
-
var newFirst = null
|
|
1963
|
+
var newFirst = null;
|
|
1964
|
+
var newLast = null;
|
|
1902
1965
|
queue = queue.firstBaseUpdate;
|
|
1903
1966
|
if (null !== queue) {
|
|
1904
1967
|
do {
|
|
@@ -1938,10 +2001,13 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1938
2001
|
didReadFromEntangledAsyncAction = !1;
|
|
1939
2002
|
var queue = workInProgress$jscomp$0.updateQueue;
|
|
1940
2003
|
hasForceUpdate = !1;
|
|
1941
|
-
var firstBaseUpdate = queue.firstBaseUpdate
|
|
2004
|
+
var firstBaseUpdate = queue.firstBaseUpdate;
|
|
2005
|
+
var lastBaseUpdate = queue.lastBaseUpdate;
|
|
2006
|
+
var pendingQueue = queue.shared.pending;
|
|
1942
2007
|
if (null !== pendingQueue) {
|
|
1943
2008
|
queue.shared.pending = null;
|
|
1944
|
-
var lastPendingUpdate = pendingQueue
|
|
2009
|
+
var lastPendingUpdate = pendingQueue;
|
|
2010
|
+
var firstPendingUpdate = lastPendingUpdate.next;
|
|
1945
2011
|
lastPendingUpdate.next = null;
|
|
1946
2012
|
null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate;
|
|
1947
2013
|
lastBaseUpdate = lastPendingUpdate;
|
|
@@ -1954,7 +2020,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1954
2020
|
current = firstPendingUpdate = lastPendingUpdate = null;
|
|
1955
2021
|
pendingQueue = firstBaseUpdate;
|
|
1956
2022
|
do {
|
|
1957
|
-
var updateLane = pendingQueue.lane & -536870913
|
|
2023
|
+
var updateLane = pendingQueue.lane & -536870913;
|
|
2024
|
+
var isHiddenUpdate = updateLane !== pendingQueue.lane;
|
|
1958
2025
|
if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
|
|
1959
2026
|
0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0);
|
|
1960
2027
|
null !== current && (current = current.next = {
|
|
@@ -1965,7 +2032,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
1965
2032
|
next: null
|
|
1966
2033
|
});
|
|
1967
2034
|
a: {
|
|
1968
|
-
var workInProgress = workInProgress$jscomp$0
|
|
2035
|
+
var workInProgress = workInProgress$jscomp$0;
|
|
2036
|
+
var update = pendingQueue;
|
|
1969
2037
|
updateLane = props;
|
|
1970
2038
|
var instance = instance$jscomp$0;
|
|
1971
2039
|
switch (update.tag) {
|
|
@@ -2134,7 +2202,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2134
2202
|
return children;
|
|
2135
2203
|
}
|
|
2136
2204
|
function TransitionAwareHostComponent() {
|
|
2137
|
-
var dispatcher = ReactSharedInternals.H
|
|
2205
|
+
var dispatcher = ReactSharedInternals.H;
|
|
2206
|
+
var maybeThenable = dispatcher.useState()[0];
|
|
2138
2207
|
maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable;
|
|
2139
2208
|
dispatcher = dispatcher.useState()[0];
|
|
2140
2209
|
(null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024);
|
|
@@ -2225,7 +2294,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2225
2294
|
throw Error(formatProdErrorMessage(438, String(usable)));
|
|
2226
2295
|
}
|
|
2227
2296
|
function useMemoCache(size) {
|
|
2228
|
-
var memoCache = null
|
|
2297
|
+
var memoCache = null;
|
|
2298
|
+
var updateQueue = currentlyRenderingFiber.updateQueue;
|
|
2229
2299
|
null !== updateQueue && (memoCache = updateQueue.memoCache);
|
|
2230
2300
|
if (null == memoCache) {
|
|
2231
2301
|
var current = currentlyRenderingFiber.alternate;
|
|
@@ -2257,7 +2327,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2257
2327
|
var queue = hook.queue;
|
|
2258
2328
|
if (null === queue) throw Error(formatProdErrorMessage(311));
|
|
2259
2329
|
queue.lastRenderedReducer = reducer;
|
|
2260
|
-
var baseQueue = hook.baseQueue
|
|
2330
|
+
var baseQueue = hook.baseQueue;
|
|
2331
|
+
var pendingQueue = queue.pending;
|
|
2261
2332
|
if (null !== pendingQueue) {
|
|
2262
2333
|
if (null !== baseQueue) {
|
|
2263
2334
|
var baseFirst = baseQueue.next;
|
|
@@ -2271,7 +2342,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2271
2342
|
if (null === baseQueue) hook.memoizedState = pendingQueue;
|
|
2272
2343
|
else {
|
|
2273
2344
|
current = baseQueue.next;
|
|
2274
|
-
var newBaseQueueFirst = baseFirst = null
|
|
2345
|
+
var newBaseQueueFirst = baseFirst = null;
|
|
2346
|
+
var newBaseQueueLast = null;
|
|
2347
|
+
var update = current;
|
|
2348
|
+
var didReadFromEntangledAsyncAction$51 = !1;
|
|
2275
2349
|
do {
|
|
2276
2350
|
var updateLane = update.lane & -536870913;
|
|
2277
2351
|
if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
|
|
@@ -2323,10 +2397,13 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2323
2397
|
return [hook.memoizedState, queue.dispatch];
|
|
2324
2398
|
}
|
|
2325
2399
|
function rerenderReducer(reducer) {
|
|
2326
|
-
var hook = updateWorkInProgressHook()
|
|
2400
|
+
var hook = updateWorkInProgressHook();
|
|
2401
|
+
var queue = hook.queue;
|
|
2327
2402
|
if (null === queue) throw Error(formatProdErrorMessage(311));
|
|
2328
2403
|
queue.lastRenderedReducer = reducer;
|
|
2329
|
-
var dispatch = queue.dispatch
|
|
2404
|
+
var dispatch = queue.dispatch;
|
|
2405
|
+
var lastRenderPhaseUpdate = queue.pending;
|
|
2406
|
+
var newState = hook.memoizedState;
|
|
2330
2407
|
if (null !== lastRenderPhaseUpdate) {
|
|
2331
2408
|
queue.pending = null;
|
|
2332
2409
|
var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next;
|
|
@@ -2341,7 +2418,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2341
2418
|
return [newState, dispatch];
|
|
2342
2419
|
}
|
|
2343
2420
|
function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
|
2344
|
-
var fiber = currentlyRenderingFiber
|
|
2421
|
+
var fiber = currentlyRenderingFiber;
|
|
2422
|
+
var hook = updateWorkInProgressHook();
|
|
2423
|
+
var isHydrating$jscomp$0 = isHydrating;
|
|
2345
2424
|
if (isHydrating$jscomp$0) {
|
|
2346
2425
|
if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));
|
|
2347
2426
|
getServerSnapshot = getServerSnapshot();
|
|
@@ -2443,12 +2522,16 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2443
2522
|
}
|
|
2444
2523
|
}
|
|
2445
2524
|
function runActionStateAction(actionQueue, node) {
|
|
2446
|
-
var action = node.action
|
|
2525
|
+
var action = node.action;
|
|
2526
|
+
var payload = node.payload;
|
|
2527
|
+
var prevState = actionQueue.state;
|
|
2447
2528
|
if (node.isTransition) {
|
|
2448
|
-
var prevTransition = ReactSharedInternals.T
|
|
2529
|
+
var prevTransition = ReactSharedInternals.T;
|
|
2530
|
+
var currentTransition = {};
|
|
2449
2531
|
ReactSharedInternals.T = currentTransition;
|
|
2450
2532
|
try {
|
|
2451
|
-
var returnValue = action(prevState, payload)
|
|
2533
|
+
var returnValue = action(prevState, payload);
|
|
2534
|
+
var onStartTransitionFinish = ReactSharedInternals.S;
|
|
2452
2535
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
2453
2536
|
handleActionReturnValue(actionQueue, node, returnValue);
|
|
2454
2537
|
} catch (error) {
|
|
@@ -2562,7 +2645,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2562
2645
|
}
|
|
2563
2646
|
else state = currentStateHook;
|
|
2564
2647
|
currentStateHook = updateWorkInProgressHook();
|
|
2565
|
-
var actionQueue = currentStateHook.queue
|
|
2648
|
+
var actionQueue = currentStateHook.queue;
|
|
2649
|
+
var dispatch = actionQueue.dispatch;
|
|
2566
2650
|
action !== currentStateHook.memoizedState && (currentlyRenderingFiber.flags |= 2048, pushSimpleEffect(9, { destroy: void 0 }, actionStateActionEffect.bind(null, actionQueue, action), null));
|
|
2567
2651
|
return [
|
|
2568
2652
|
state,
|
|
@@ -2574,7 +2658,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2574
2658
|
actionQueue.action = action;
|
|
2575
2659
|
}
|
|
2576
2660
|
function rerenderActionState(action) {
|
|
2577
|
-
var stateHook = updateWorkInProgressHook()
|
|
2661
|
+
var stateHook = updateWorkInProgressHook();
|
|
2662
|
+
var currentStateHook = currentHook;
|
|
2578
2663
|
if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action);
|
|
2579
2664
|
updateWorkInProgressHook();
|
|
2580
2665
|
stateHook = stateHook.memoizedState;
|
|
@@ -2709,11 +2794,13 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2709
2794
|
function startTransition(fiber, queue, pendingState, finishedState, callback) {
|
|
2710
2795
|
var previousPriority = getCurrentUpdatePriority();
|
|
2711
2796
|
setCurrentUpdatePriority(0 !== previousPriority && 8 > previousPriority ? previousPriority : 8);
|
|
2712
|
-
var prevTransition = ReactSharedInternals.T
|
|
2797
|
+
var prevTransition = ReactSharedInternals.T;
|
|
2798
|
+
var currentTransition = {};
|
|
2713
2799
|
ReactSharedInternals.T = currentTransition;
|
|
2714
2800
|
dispatchOptimisticSetState(fiber, !1, queue, pendingState);
|
|
2715
2801
|
try {
|
|
2716
|
-
var returnValue = callback()
|
|
2802
|
+
var returnValue = callback();
|
|
2803
|
+
var onStartTransitionFinish = ReactSharedInternals.S;
|
|
2717
2804
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
2718
2805
|
if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) dispatchSetStateInternal(fiber, queue, chainThenableValue(returnValue, finishedState), requestUpdateLane(fiber));
|
|
2719
2806
|
else dispatchSetStateInternal(fiber, queue, finishedState, requestUpdateLane(fiber));
|
|
@@ -2817,7 +2904,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
2817
2904
|
else {
|
|
2818
2905
|
var alternate = fiber.alternate;
|
|
2819
2906
|
if (0 === fiber.lanes && (null === alternate || 0 === alternate.lanes) && (alternate = queue.lastRenderedReducer, null !== alternate)) try {
|
|
2820
|
-
var currentState = queue.lastRenderedState
|
|
2907
|
+
var currentState = queue.lastRenderedState;
|
|
2908
|
+
var eagerState = alternate(currentState, action);
|
|
2821
2909
|
update.hasEagerState = !0;
|
|
2822
2910
|
update.eagerState = eagerState;
|
|
2823
2911
|
if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1;
|
|
@@ -3034,7 +3122,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3034
3122
|
return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);
|
|
3035
3123
|
}
|
|
3036
3124
|
function updateOffscreenComponent(current, workInProgress, renderLanes, nextProps) {
|
|
3037
|
-
var nextChildren = nextProps.children
|
|
3125
|
+
var nextChildren = nextProps.children;
|
|
3126
|
+
var prevState = null !== current ? current.memoizedState : null;
|
|
3038
3127
|
null === current && null === workInProgress.stateNode && (workInProgress.stateNode = {
|
|
3039
3128
|
_visibility: 1,
|
|
3040
3129
|
_pendingMarkers: null,
|
|
@@ -3105,7 +3194,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3105
3194
|
return current;
|
|
3106
3195
|
}
|
|
3107
3196
|
function updateActivityComponent(current, workInProgress, renderLanes) {
|
|
3108
|
-
var nextProps = workInProgress.pendingProps
|
|
3197
|
+
var nextProps = workInProgress.pendingProps;
|
|
3198
|
+
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
3109
3199
|
workInProgress.flags &= -129;
|
|
3110
3200
|
if (null === current) {
|
|
3111
3201
|
if (isHydrating) {
|
|
@@ -3183,7 +3273,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3183
3273
|
function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) {
|
|
3184
3274
|
prepareToReadContext(workInProgress);
|
|
3185
3275
|
if (null === workInProgress.stateNode) {
|
|
3186
|
-
var context = emptyContextObject
|
|
3276
|
+
var context = emptyContextObject;
|
|
3277
|
+
var contextType = Component.contextType;
|
|
3187
3278
|
"object" === typeof contextType && null !== contextType && (context = readContext(contextType));
|
|
3188
3279
|
context = new Component(nextProps, context);
|
|
3189
3280
|
workInProgress.memoizedState = null !== context.state && void 0 !== context.state ? context.state : null;
|
|
@@ -3205,9 +3296,11 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3205
3296
|
nextProps = !0;
|
|
3206
3297
|
} else if (null === current) {
|
|
3207
3298
|
context = workInProgress.stateNode;
|
|
3208
|
-
var unresolvedOldProps = workInProgress.memoizedProps
|
|
3299
|
+
var unresolvedOldProps = workInProgress.memoizedProps;
|
|
3300
|
+
var oldProps = resolveClassComponentProps(Component, unresolvedOldProps);
|
|
3209
3301
|
context.props = oldProps;
|
|
3210
|
-
var oldContext = context.context
|
|
3302
|
+
var oldContext = context.context;
|
|
3303
|
+
var contextType$jscomp$0 = Component.contextType;
|
|
3211
3304
|
contextType = emptyContextObject;
|
|
3212
3305
|
"object" === typeof contextType$jscomp$0 && null !== contextType$jscomp$0 && (contextType = readContext(contextType$jscomp$0));
|
|
3213
3306
|
var getDerivedStateFromProps = Component.getDerivedStateFromProps;
|
|
@@ -3266,7 +3359,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3266
3359
|
return current;
|
|
3267
3360
|
}
|
|
3268
3361
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
3269
|
-
var nextProps = workInProgress.pendingProps
|
|
3362
|
+
var nextProps = workInProgress.pendingProps;
|
|
3363
|
+
var showFallback = !1;
|
|
3364
|
+
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
3365
|
+
var JSCompiler_temp;
|
|
3270
3366
|
(JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2));
|
|
3271
3367
|
JSCompiler_temp && (showFallback = !0, workInProgress.flags &= -129);
|
|
3272
3368
|
JSCompiler_temp = 0 !== (workInProgress.flags & 32);
|
|
@@ -3378,9 +3474,12 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3378
3474
|
} : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode, renderState.treeForkCount = treeForkCount);
|
|
3379
3475
|
}
|
|
3380
3476
|
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
|
3381
|
-
var nextProps = workInProgress.pendingProps
|
|
3477
|
+
var nextProps = workInProgress.pendingProps;
|
|
3478
|
+
var revealOrder = nextProps.revealOrder;
|
|
3479
|
+
var tailMode = nextProps.tail;
|
|
3382
3480
|
nextProps = nextProps.children;
|
|
3383
|
-
var suspenseContext = suspenseStackCursor.current
|
|
3481
|
+
var suspenseContext = suspenseStackCursor.current;
|
|
3482
|
+
var shouldForceFallback = 0 !== (suspenseContext & 2);
|
|
3384
3483
|
shouldForceFallback ? (suspenseContext = suspenseContext & 1 | 2, workInProgress.flags |= 128) : suspenseContext &= 1;
|
|
3385
3484
|
push(suspenseStackCursor, suspenseContext);
|
|
3386
3485
|
reconcileChildren(current, workInProgress, nextProps, renderLanes);
|
|
@@ -3709,7 +3808,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3709
3808
|
function updateHostContainer(current, workInProgress) {
|
|
3710
3809
|
if (supportsPersistence && doesRequireClone(current, workInProgress)) {
|
|
3711
3810
|
current = workInProgress.stateNode;
|
|
3712
|
-
var container = current.containerInfo
|
|
3811
|
+
var container = current.containerInfo;
|
|
3812
|
+
var newChildSet = createContainerChildSet();
|
|
3713
3813
|
appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);
|
|
3714
3814
|
current.pendingChildren = newChildSet;
|
|
3715
3815
|
markUpdate(workInProgress);
|
|
@@ -3719,7 +3819,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3719
3819
|
function updateHostComponent(current, workInProgress, type, newProps) {
|
|
3720
3820
|
if (supportsMutation) current.memoizedProps !== newProps && markUpdate(workInProgress);
|
|
3721
3821
|
else if (supportsPersistence) {
|
|
3722
|
-
var currentInstance = current.stateNode
|
|
3822
|
+
var currentInstance = current.stateNode;
|
|
3823
|
+
var oldProps$88 = current.memoizedProps;
|
|
3723
3824
|
if ((current = doesRequireClone(current, workInProgress)) || oldProps$88 !== newProps) {
|
|
3724
3825
|
var currentHostContext = contextStackCursor.current;
|
|
3725
3826
|
oldProps$88 = cloneInstance(currentInstance, type, oldProps$88, newProps, !current, null);
|
|
@@ -3758,7 +3859,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3758
3859
|
}
|
|
3759
3860
|
}
|
|
3760
3861
|
function bubbleProperties(completedWork) {
|
|
3761
|
-
var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child
|
|
3862
|
+
var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child;
|
|
3863
|
+
var newChildLanes = 0;
|
|
3864
|
+
var subtreeFlags = 0;
|
|
3762
3865
|
if (didBailout) for (var child$91 = completedWork.child; null !== child$91;) newChildLanes |= child$91.lanes | child$91.childLanes, subtreeFlags |= child$91.subtreeFlags & 65011712, subtreeFlags |= child$91.flags & 65011712, child$91.return = completedWork, child$91 = child$91.sibling;
|
|
3763
3866
|
else for (child$91 = completedWork.child; null !== child$91;) newChildLanes |= child$91.lanes | child$91.childLanes, subtreeFlags |= child$91.subtreeFlags, subtreeFlags |= child$91.flags, child$91.return = completedWork, child$91 = child$91.sibling;
|
|
3764
3867
|
completedWork.subtreeFlags |= subtreeFlags;
|
|
@@ -3792,7 +3895,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
3792
3895
|
bubbleProperties(workInProgress);
|
|
3793
3896
|
return null;
|
|
3794
3897
|
case 26: if (supportsResources) {
|
|
3795
|
-
var type = workInProgress.type
|
|
3898
|
+
var type = workInProgress.type;
|
|
3899
|
+
var nextResource = workInProgress.memoizedState;
|
|
3796
3900
|
null === current ? (markUpdate(workInProgress), null !== nextResource ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, null, newProps, renderLanes))) : nextResource ? nextResource !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217) : (nextResource = current.memoizedProps, supportsMutation ? nextResource !== newProps && markUpdate(workInProgress) : updateHostComponent(current, workInProgress, type, newProps), bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, nextResource, newProps, renderLanes));
|
|
3797
3901
|
return null;
|
|
3798
3902
|
}
|
|
@@ -4032,14 +4136,16 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4032
4136
|
}
|
|
4033
4137
|
function commitHookEffectListMount(flags, finishedWork) {
|
|
4034
4138
|
try {
|
|
4035
|
-
var updateQueue = finishedWork.updateQueue
|
|
4139
|
+
var updateQueue = finishedWork.updateQueue;
|
|
4140
|
+
var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
|
|
4036
4141
|
if (null !== lastEffect) {
|
|
4037
4142
|
var firstEffect = lastEffect.next;
|
|
4038
4143
|
updateQueue = firstEffect;
|
|
4039
4144
|
do {
|
|
4040
4145
|
if ((updateQueue.tag & flags) === flags) {
|
|
4041
4146
|
lastEffect = void 0;
|
|
4042
|
-
var create = updateQueue.create
|
|
4147
|
+
var create = updateQueue.create;
|
|
4148
|
+
var inst = updateQueue.inst;
|
|
4043
4149
|
lastEffect = create();
|
|
4044
4150
|
inst.destroy = lastEffect;
|
|
4045
4151
|
}
|
|
@@ -4052,17 +4158,20 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4052
4158
|
}
|
|
4053
4159
|
function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor$jscomp$0) {
|
|
4054
4160
|
try {
|
|
4055
|
-
var updateQueue = finishedWork.updateQueue
|
|
4161
|
+
var updateQueue = finishedWork.updateQueue;
|
|
4162
|
+
var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
|
|
4056
4163
|
if (null !== lastEffect) {
|
|
4057
4164
|
var firstEffect = lastEffect.next;
|
|
4058
4165
|
updateQueue = firstEffect;
|
|
4059
4166
|
do {
|
|
4060
4167
|
if ((updateQueue.tag & flags) === flags) {
|
|
4061
|
-
var inst = updateQueue.inst
|
|
4168
|
+
var inst = updateQueue.inst;
|
|
4169
|
+
var destroy = inst.destroy;
|
|
4062
4170
|
if (void 0 !== destroy) {
|
|
4063
4171
|
inst.destroy = void 0;
|
|
4064
4172
|
lastEffect = finishedWork;
|
|
4065
|
-
var nearestMountedAncestor = nearestMountedAncestor$jscomp$0
|
|
4173
|
+
var nearestMountedAncestor = nearestMountedAncestor$jscomp$0;
|
|
4174
|
+
var destroy_ = destroy;
|
|
4066
4175
|
try {
|
|
4067
4176
|
destroy_();
|
|
4068
4177
|
} catch (error) {
|
|
@@ -4119,7 +4228,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4119
4228
|
}
|
|
4120
4229
|
}
|
|
4121
4230
|
function safelyDetachRef(current, nearestMountedAncestor) {
|
|
4122
|
-
var ref = current.ref
|
|
4231
|
+
var ref = current.ref;
|
|
4232
|
+
var refCleanup = current.refCleanup;
|
|
4123
4233
|
if (null !== ref) if ("function" === typeof refCleanup) try {
|
|
4124
4234
|
refCleanup();
|
|
4125
4235
|
} catch (error) {
|
|
@@ -4135,7 +4245,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4135
4245
|
else ref.current = null;
|
|
4136
4246
|
}
|
|
4137
4247
|
function commitHostMount(finishedWork) {
|
|
4138
|
-
var type = finishedWork.type
|
|
4248
|
+
var type = finishedWork.type;
|
|
4249
|
+
var props = finishedWork.memoizedProps;
|
|
4250
|
+
var instance = finishedWork.stateNode;
|
|
4139
4251
|
try {
|
|
4140
4252
|
commitMount(instance, type, props, finishedWork);
|
|
4141
4253
|
} catch (error) {
|
|
@@ -4187,7 +4299,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4187
4299
|
}
|
|
4188
4300
|
}
|
|
4189
4301
|
function commitHostSingletonAcquisition(finishedWork) {
|
|
4190
|
-
var singleton = finishedWork.stateNode
|
|
4302
|
+
var singleton = finishedWork.stateNode;
|
|
4303
|
+
var props = finishedWork.memoizedProps;
|
|
4191
4304
|
try {
|
|
4192
4305
|
acquireSingletonInstance(finishedWork.type, props, singleton, finishedWork);
|
|
4193
4306
|
} catch (error) {
|
|
@@ -4371,7 +4484,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4371
4484
|
}
|
|
4372
4485
|
case 27: if (supportsSingletons) {
|
|
4373
4486
|
offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
|
4374
|
-
var prevHostParent = hostParent
|
|
4487
|
+
var prevHostParent = hostParent;
|
|
4488
|
+
var prevHostParentIsContainer = hostParentIsContainer;
|
|
4375
4489
|
isSingletonScope(deletedFiber.type) && (hostParent = deletedFiber.stateNode, hostParentIsContainer = !1);
|
|
4376
4490
|
recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
|
|
4377
4491
|
releaseSingletonInstance(deletedFiber.stateNode);
|
|
@@ -4465,7 +4579,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4465
4579
|
function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
4466
4580
|
var deletions = parentFiber.deletions;
|
|
4467
4581
|
if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
|
|
4468
|
-
var childToDelete = deletions[i]
|
|
4582
|
+
var childToDelete = deletions[i];
|
|
4583
|
+
var root = root$jscomp$0;
|
|
4584
|
+
var returnFiber = parentFiber;
|
|
4469
4585
|
if (supportsMutation) {
|
|
4470
4586
|
var parent = returnFiber;
|
|
4471
4587
|
a: for (; null !== parent;) {
|
|
@@ -4502,7 +4618,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4502
4618
|
if (parentFiber.subtreeFlags & 13886) for (parentFiber = parentFiber.child; null !== parentFiber;) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), parentFiber = parentFiber.sibling;
|
|
4503
4619
|
}
|
|
4504
4620
|
function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
4505
|
-
var current = finishedWork.alternate
|
|
4621
|
+
var current = finishedWork.alternate;
|
|
4622
|
+
var flags = finishedWork.flags;
|
|
4506
4623
|
switch (finishedWork.tag) {
|
|
4507
4624
|
case 0:
|
|
4508
4625
|
case 11:
|
|
@@ -4611,7 +4728,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4611
4728
|
break;
|
|
4612
4729
|
case 22:
|
|
4613
4730
|
hoistableRoot = null !== finishedWork.memoizedState;
|
|
4614
|
-
var wasHidden = null !== current && null !== current.memoizedState
|
|
4731
|
+
var wasHidden = null !== current && null !== current.memoizedState;
|
|
4732
|
+
var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden;
|
|
4733
|
+
var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
|
|
4615
4734
|
offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;
|
|
4616
4735
|
offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden;
|
|
4617
4736
|
recursivelyTraverseMutationEffects(root, finishedWork);
|
|
@@ -4764,7 +4883,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4764
4883
|
function recursivelyTraverseReappearLayoutEffects(finishedRoot$jscomp$0, parentFiber, includeWorkInProgressEffects) {
|
|
4765
4884
|
includeWorkInProgressEffects = includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772);
|
|
4766
4885
|
for (parentFiber = parentFiber.child; null !== parentFiber;) {
|
|
4767
|
-
var current = parentFiber.alternate
|
|
4886
|
+
var current = parentFiber.alternate;
|
|
4887
|
+
var finishedRoot = finishedRoot$jscomp$0;
|
|
4888
|
+
var finishedWork = parentFiber;
|
|
4889
|
+
var flags = finishedWork.flags;
|
|
4768
4890
|
switch (finishedWork.tag) {
|
|
4769
4891
|
case 0:
|
|
4770
4892
|
case 11:
|
|
@@ -4860,7 +4982,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4860
4982
|
recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions);
|
|
4861
4983
|
finishedRoot = finishedWork.stateNode;
|
|
4862
4984
|
try {
|
|
4863
|
-
var _finishedWork$memoize2 = finishedWork.memoizedProps
|
|
4985
|
+
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
|
4986
|
+
var id = _finishedWork$memoize2.id;
|
|
4987
|
+
var onPostCommit = _finishedWork$memoize2.onPostCommit;
|
|
4864
4988
|
"function" === typeof onPostCommit && onPostCommit(id, null === finishedWork.alternate ? "mount" : "update", finishedRoot.passiveEffectDuration, -0);
|
|
4865
4989
|
} catch (error) {
|
|
4866
4990
|
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
|
@@ -4890,7 +5014,11 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4890
5014
|
function recursivelyTraverseReconnectPassiveEffects(finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, includeWorkInProgressEffects) {
|
|
4891
5015
|
includeWorkInProgressEffects = includeWorkInProgressEffects && (0 !== (parentFiber.subtreeFlags & 10256) || !1);
|
|
4892
5016
|
for (parentFiber = parentFiber.child; null !== parentFiber;) {
|
|
4893
|
-
var finishedRoot = finishedRoot$jscomp$0
|
|
5017
|
+
var finishedRoot = finishedRoot$jscomp$0;
|
|
5018
|
+
var finishedWork = parentFiber;
|
|
5019
|
+
var committedLanes = committedLanes$jscomp$0;
|
|
5020
|
+
var committedTransitions = committedTransitions$jscomp$0;
|
|
5021
|
+
var flags = finishedWork.flags;
|
|
4894
5022
|
switch (finishedWork.tag) {
|
|
4895
5023
|
case 0:
|
|
4896
5024
|
case 11:
|
|
@@ -4915,7 +5043,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4915
5043
|
}
|
|
4916
5044
|
function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0, parentFiber) {
|
|
4917
5045
|
if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) {
|
|
4918
|
-
var finishedRoot = finishedRoot$jscomp$0
|
|
5046
|
+
var finishedRoot = finishedRoot$jscomp$0;
|
|
5047
|
+
var finishedWork = parentFiber;
|
|
5048
|
+
var flags = finishedWork.flags;
|
|
4919
5049
|
switch (finishedWork.tag) {
|
|
4920
5050
|
case 22:
|
|
4921
5051
|
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
|
@@ -4939,7 +5069,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
4939
5069
|
recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState);
|
|
4940
5070
|
if (fiber.flags & suspenseyCommitFlag) if (null !== fiber.memoizedState) suspendResource(suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps);
|
|
4941
5071
|
else {
|
|
4942
|
-
var instance = fiber.stateNode
|
|
5072
|
+
var instance = fiber.stateNode;
|
|
5073
|
+
var type = fiber.type;
|
|
4943
5074
|
fiber = fiber.memoizedProps;
|
|
4944
5075
|
((committedLanes & 335544128) === committedLanes || maySuspendCommitInSyncRender(type, fiber)) && suspendInstance(suspendedState, instance, type, fiber);
|
|
4945
5076
|
}
|
|
@@ -5050,7 +5181,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5050
5181
|
if (null !== cache) cache.return = fiber, nextEffect = cache;
|
|
5051
5182
|
else a: for (fiber = deletedSubtreeRoot; null !== nextEffect;) {
|
|
5052
5183
|
cache = nextEffect;
|
|
5053
|
-
var sibling = cache.sibling
|
|
5184
|
+
var sibling = cache.sibling;
|
|
5185
|
+
var returnFiber = cache.return;
|
|
5054
5186
|
detachFiberAfterEffects(cache);
|
|
5055
5187
|
if (cache === fiber) {
|
|
5056
5188
|
nextEffect = null;
|
|
@@ -5086,7 +5218,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5086
5218
|
selector = selector.value;
|
|
5087
5219
|
fiber$jscomp$0 = [fiber$jscomp$0, 0];
|
|
5088
5220
|
for (tag = 0; tag < fiber$jscomp$0.length;) {
|
|
5089
|
-
var fiber = fiber$jscomp$0[tag++]
|
|
5221
|
+
var fiber = fiber$jscomp$0[tag++];
|
|
5222
|
+
var tag$jscomp$0 = fiber.tag;
|
|
5223
|
+
var selectorIndex = fiber$jscomp$0[tag++];
|
|
5224
|
+
var selector$jscomp$0 = selector[selectorIndex];
|
|
5090
5225
|
if (5 !== tag$jscomp$0 && 26 !== tag$jscomp$0 && 27 !== tag$jscomp$0 || !isHiddenSubtree(fiber)) {
|
|
5091
5226
|
for (; null != selector$jscomp$0 && matchSelector(fiber, selector$jscomp$0);) selectorIndex++, selector$jscomp$0 = selector[selectorIndex];
|
|
5092
5227
|
if (selectorIndex === selector.length) {
|
|
@@ -5129,7 +5264,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5129
5264
|
var matchingFibers = [];
|
|
5130
5265
|
root = [root, 0];
|
|
5131
5266
|
for (var index = 0; index < root.length;) {
|
|
5132
|
-
var fiber = root[index++]
|
|
5267
|
+
var fiber = root[index++];
|
|
5268
|
+
var tag = fiber.tag;
|
|
5269
|
+
var selectorIndex = root[index++];
|
|
5270
|
+
var selector = selectors[selectorIndex];
|
|
5133
5271
|
if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
|
|
5134
5272
|
for (; null != selector && matchSelector(fiber, selector);) selectorIndex++, selector = selectors[selectorIndex];
|
|
5135
5273
|
if (selectorIndex === selectors.length) matchingFibers.push(fiber);
|
|
@@ -5145,7 +5283,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5145
5283
|
selectors = [];
|
|
5146
5284
|
hostRoot = Array.from(hostRoot);
|
|
5147
5285
|
for (var index = 0; index < hostRoot.length;) {
|
|
5148
|
-
var node = hostRoot[index++]
|
|
5286
|
+
var node = hostRoot[index++];
|
|
5287
|
+
var tag = node.tag;
|
|
5149
5288
|
if (5 === tag || 26 === tag || 27 === tag) isHiddenSubtree(node) || selectors.push(node.stateNode);
|
|
5150
5289
|
else for (node = node.child; null !== node;) hostRoot.push(node), node = node.sibling;
|
|
5151
5290
|
}
|
|
@@ -5172,7 +5311,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5172
5311
|
}
|
|
5173
5312
|
function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
5174
5313
|
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
|
|
5175
|
-
var shouldTimeSlice = !forceSync && 0 === (lanes & 127) && 0 === (lanes & root$jscomp$0.expiredLanes) || checkIfRootIsPrerendering(root$jscomp$0, lanes)
|
|
5314
|
+
var shouldTimeSlice = !forceSync && 0 === (lanes & 127) && 0 === (lanes & root$jscomp$0.expiredLanes) || checkIfRootIsPrerendering(root$jscomp$0, lanes);
|
|
5315
|
+
var exitStatus = shouldTimeSlice ? renderRootConcurrent(root$jscomp$0, lanes) : renderRootSync(root$jscomp$0, lanes, !0);
|
|
5316
|
+
var renderWasConcurrent = shouldTimeSlice;
|
|
5176
5317
|
do {
|
|
5177
5318
|
if (0 === exitStatus) {
|
|
5178
5319
|
workInProgressRootIsPrerendering && !shouldTimeSlice && markRootSuspended(root$jscomp$0, lanes, 0, !1);
|
|
@@ -5270,7 +5411,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5270
5411
|
for (var node = finishedWork;;) {
|
|
5271
5412
|
var tag = node.tag;
|
|
5272
5413
|
if ((0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && (tag = node.updateQueue, null !== tag && (tag = tag.stores, null !== tag))) for (var i = 0; i < tag.length; i++) {
|
|
5273
|
-
var check = tag[i]
|
|
5414
|
+
var check = tag[i];
|
|
5415
|
+
var getSnapshot = check.getSnapshot;
|
|
5274
5416
|
check = check.value;
|
|
5275
5417
|
try {
|
|
5276
5418
|
if (!objectIs(getSnapshot(), check)) return !1;
|
|
@@ -5300,7 +5442,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5300
5442
|
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
|
|
5301
5443
|
didAttemptEntireTree = root.expirationTimes;
|
|
5302
5444
|
for (var lanes = suspendedLanes; 0 < lanes;) {
|
|
5303
|
-
var index$4 = 31 - clz32(lanes)
|
|
5445
|
+
var index$4 = 31 - clz32(lanes);
|
|
5446
|
+
var lane = 1 << index$4;
|
|
5304
5447
|
didAttemptEntireTree[index$4] = -1;
|
|
5305
5448
|
lanes &= ~lane;
|
|
5306
5449
|
}
|
|
@@ -5338,7 +5481,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5338
5481
|
0 !== (lanes & 8) && (lanes |= lanes & 32);
|
|
5339
5482
|
var allEntangledLanes = root.entangledLanes;
|
|
5340
5483
|
if (0 !== allEntangledLanes) for (root = root.entanglements, allEntangledLanes &= lanes; 0 < allEntangledLanes;) {
|
|
5341
|
-
var index$2 = 31 - clz32(allEntangledLanes)
|
|
5484
|
+
var index$2 = 31 - clz32(allEntangledLanes);
|
|
5485
|
+
var lane = 1 << index$2;
|
|
5342
5486
|
lanes |= root[index$2];
|
|
5343
5487
|
allEntangledLanes &= ~lane;
|
|
5344
5488
|
}
|
|
@@ -5375,14 +5519,16 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5375
5519
|
function renderRootSync(root, lanes, shouldYieldForPrerendering) {
|
|
5376
5520
|
var prevExecutionContext = executionContext;
|
|
5377
5521
|
executionContext |= 2;
|
|
5378
|
-
var prevDispatcher = pushDispatcher()
|
|
5522
|
+
var prevDispatcher = pushDispatcher();
|
|
5523
|
+
var prevAsyncDispatcher = pushAsyncDispatcher();
|
|
5379
5524
|
if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) workInProgressTransitions = null, prepareFreshStack(root, lanes);
|
|
5380
5525
|
lanes = !1;
|
|
5381
5526
|
var exitStatus = workInProgressRootExitStatus;
|
|
5382
5527
|
a: do
|
|
5383
5528
|
try {
|
|
5384
5529
|
if (0 !== workInProgressSuspendedReason && null !== workInProgress) {
|
|
5385
|
-
var unitOfWork = workInProgress
|
|
5530
|
+
var unitOfWork = workInProgress;
|
|
5531
|
+
var thrownValue = workInProgressThrownValue;
|
|
5386
5532
|
switch (workInProgressSuspendedReason) {
|
|
5387
5533
|
case 8:
|
|
5388
5534
|
resetWorkInProgressStack();
|
|
@@ -5426,7 +5572,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5426
5572
|
function renderRootConcurrent(root, lanes) {
|
|
5427
5573
|
var prevExecutionContext = executionContext;
|
|
5428
5574
|
executionContext |= 2;
|
|
5429
|
-
var prevDispatcher = pushDispatcher()
|
|
5575
|
+
var prevDispatcher = pushDispatcher();
|
|
5576
|
+
var prevAsyncDispatcher = pushAsyncDispatcher();
|
|
5430
5577
|
workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes ? (workInProgressTransitions = null, workInProgressRootRenderTargetTime = now() + 500, prepareFreshStack(root, lanes)) : workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);
|
|
5431
5578
|
a: do
|
|
5432
5579
|
try {
|
|
@@ -5468,7 +5615,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5468
5615
|
case 26: resource = workInProgress.memoizedState;
|
|
5469
5616
|
case 5:
|
|
5470
5617
|
case 27:
|
|
5471
|
-
var hostFiber = workInProgress
|
|
5618
|
+
var hostFiber = workInProgress;
|
|
5619
|
+
var type = hostFiber.type;
|
|
5620
|
+
var props = hostFiber.pendingProps;
|
|
5472
5621
|
if (resource ? preloadResource(resource) : preloadInstance(hostFiber.stateNode, type, props)) {
|
|
5473
5622
|
workInProgressSuspendedReason = 0;
|
|
5474
5623
|
workInProgressThrownValue = null;
|
|
@@ -5651,7 +5800,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5651
5800
|
function flushMutationEffects() {
|
|
5652
5801
|
if (1 === pendingEffectsStatus) {
|
|
5653
5802
|
pendingEffectsStatus = 0;
|
|
5654
|
-
var root = pendingEffectsRoot
|
|
5803
|
+
var root = pendingEffectsRoot;
|
|
5804
|
+
var finishedWork = pendingFinishedWork;
|
|
5805
|
+
var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
|
|
5655
5806
|
if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
|
|
5656
5807
|
rootMutationHasEffect = ReactSharedInternals.T;
|
|
5657
5808
|
ReactSharedInternals.T = null;
|
|
@@ -5672,7 +5823,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5672
5823
|
function flushLayoutEffects() {
|
|
5673
5824
|
if (2 === pendingEffectsStatus) {
|
|
5674
5825
|
pendingEffectsStatus = 0;
|
|
5675
|
-
var root = pendingEffectsRoot
|
|
5826
|
+
var root = pendingEffectsRoot;
|
|
5827
|
+
var finishedWork = pendingFinishedWork;
|
|
5828
|
+
var rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
|
|
5676
5829
|
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
|
5677
5830
|
rootHasLayoutEffect = ReactSharedInternals.T;
|
|
5678
5831
|
ReactSharedInternals.T = null;
|
|
@@ -5693,7 +5846,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5693
5846
|
if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {
|
|
5694
5847
|
pendingEffectsStatus = 0;
|
|
5695
5848
|
requestPaint();
|
|
5696
|
-
var root = pendingEffectsRoot
|
|
5849
|
+
var root = pendingEffectsRoot;
|
|
5850
|
+
var finishedWork = pendingFinishedWork;
|
|
5851
|
+
var lanes = pendingEffectsLanes;
|
|
5852
|
+
var recoverableErrors = pendingRecoverableErrors;
|
|
5697
5853
|
0 !== (finishedWork.subtreeFlags & 10256) || 0 !== (finishedWork.flags & 10256) ? pendingEffectsStatus = 5 : (pendingEffectsStatus = 0, pendingFinishedWork = pendingEffectsRoot = null, releaseRootPooledCache(root, root.pendingLanes));
|
|
5698
5854
|
var remainingLanes = root.pendingLanes;
|
|
5699
5855
|
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
|
@@ -5735,9 +5891,11 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5735
5891
|
}
|
|
5736
5892
|
function flushPassiveEffects() {
|
|
5737
5893
|
if (5 !== pendingEffectsStatus) return !1;
|
|
5738
|
-
var root = pendingEffectsRoot
|
|
5894
|
+
var root = pendingEffectsRoot;
|
|
5895
|
+
var remainingLanes = pendingEffectsRemainingLanes;
|
|
5739
5896
|
pendingEffectsRemainingLanes = 0;
|
|
5740
|
-
var renderPriority = lanesToEventPriority(pendingEffectsLanes)
|
|
5897
|
+
var renderPriority = lanesToEventPriority(pendingEffectsLanes);
|
|
5898
|
+
var priority = 32 > renderPriority ? 32 : renderPriority;
|
|
5741
5899
|
renderPriority = ReactSharedInternals.T;
|
|
5742
5900
|
var previousPriority = getCurrentUpdatePriority();
|
|
5743
5901
|
try {
|
|
@@ -5745,7 +5903,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5745
5903
|
ReactSharedInternals.T = null;
|
|
5746
5904
|
priority = pendingPassiveTransitions;
|
|
5747
5905
|
pendingPassiveTransitions = null;
|
|
5748
|
-
var root$jscomp$0 = pendingEffectsRoot
|
|
5906
|
+
var root$jscomp$0 = pendingEffectsRoot;
|
|
5907
|
+
var lanes = pendingEffectsLanes;
|
|
5749
5908
|
pendingEffectsStatus = 0;
|
|
5750
5909
|
pendingFinishedWork = pendingEffectsRoot = null;
|
|
5751
5910
|
pendingEffectsLanes = 0;
|
|
@@ -5812,7 +5971,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
5812
5971
|
null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber));
|
|
5813
5972
|
}
|
|
5814
5973
|
function retryDehydratedSuspenseBoundary(boundaryFiber) {
|
|
5815
|
-
var suspenseState = boundaryFiber.memoizedState
|
|
5974
|
+
var suspenseState = boundaryFiber.memoizedState;
|
|
5975
|
+
var retryLane = 0;
|
|
5816
5976
|
null !== suspenseState && (retryLane = suspenseState.retryLane);
|
|
5817
5977
|
retryTimedOutBoundary(boundaryFiber, retryLane);
|
|
5818
5978
|
}
|
|
@@ -6033,33 +6193,102 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6033
6193
|
(fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);
|
|
6034
6194
|
}
|
|
6035
6195
|
var exports$2 = {};
|
|
6036
|
-
var React = require_react()
|
|
6196
|
+
var React = require_react();
|
|
6197
|
+
var Scheduler = require_scheduler();
|
|
6198
|
+
var assign = Object.assign;
|
|
6199
|
+
var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element");
|
|
6200
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
6201
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
6202
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
6203
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
6204
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
6205
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
|
|
6206
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
6207
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
6208
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
6209
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
6210
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
6211
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
6037
6212
|
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
6038
6213
|
var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
|
|
6039
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator
|
|
6214
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
6215
|
+
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
6216
|
+
var isArrayImpl = Array.isArray;
|
|
6217
|
+
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
6218
|
+
var rendererVersion = $$$config.rendererVersion;
|
|
6219
|
+
var rendererPackageName = $$$config.rendererPackageName;
|
|
6220
|
+
var extraDevToolsConfig = $$$config.extraDevToolsConfig;
|
|
6221
|
+
var getPublicInstance = $$$config.getPublicInstance;
|
|
6222
|
+
var getRootHostContext = $$$config.getRootHostContext;
|
|
6223
|
+
var getChildHostContext = $$$config.getChildHostContext;
|
|
6224
|
+
var prepareForCommit = $$$config.prepareForCommit;
|
|
6225
|
+
var resetAfterCommit = $$$config.resetAfterCommit;
|
|
6226
|
+
var createInstance = $$$config.createInstance;
|
|
6040
6227
|
$$$config.cloneMutableInstance;
|
|
6041
|
-
var appendInitialChild = $$$config.appendInitialChild
|
|
6228
|
+
var appendInitialChild = $$$config.appendInitialChild;
|
|
6229
|
+
var finalizeInitialChildren = $$$config.finalizeInitialChildren;
|
|
6230
|
+
var shouldSetTextContent = $$$config.shouldSetTextContent;
|
|
6231
|
+
var createTextInstance = $$$config.createTextInstance;
|
|
6042
6232
|
$$$config.cloneMutableTextInstance;
|
|
6043
|
-
var scheduleTimeout = $$$config.scheduleTimeout
|
|
6233
|
+
var scheduleTimeout = $$$config.scheduleTimeout;
|
|
6234
|
+
var cancelTimeout = $$$config.cancelTimeout;
|
|
6235
|
+
var noTimeout = $$$config.noTimeout;
|
|
6236
|
+
var isPrimaryRenderer = $$$config.isPrimaryRenderer;
|
|
6044
6237
|
$$$config.warnsIfNotActing;
|
|
6045
|
-
var supportsMutation = $$$config.supportsMutation
|
|
6238
|
+
var supportsMutation = $$$config.supportsMutation;
|
|
6239
|
+
var supportsPersistence = $$$config.supportsPersistence;
|
|
6240
|
+
var supportsHydration = $$$config.supportsHydration;
|
|
6241
|
+
var getInstanceFromNode = $$$config.getInstanceFromNode;
|
|
6046
6242
|
$$$config.beforeActiveInstanceBlur;
|
|
6047
6243
|
var preparePortalMount = $$$config.preparePortalMount;
|
|
6048
6244
|
$$$config.prepareScopeUpdate;
|
|
6049
6245
|
$$$config.getInstanceFromScope;
|
|
6050
|
-
var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority
|
|
6246
|
+
var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority;
|
|
6247
|
+
var getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority;
|
|
6248
|
+
var resolveUpdatePriority = $$$config.resolveUpdatePriority;
|
|
6051
6249
|
$$$config.trackSchedulerEvent;
|
|
6052
6250
|
$$$config.resolveEventType;
|
|
6053
6251
|
$$$config.resolveEventTimeStamp;
|
|
6054
|
-
var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition
|
|
6252
|
+
var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition;
|
|
6253
|
+
var detachDeletedInstance = $$$config.detachDeletedInstance;
|
|
6055
6254
|
$$$config.requestPostPaintCallback;
|
|
6056
|
-
var maySuspendCommit = $$$config.maySuspendCommit
|
|
6255
|
+
var maySuspendCommit = $$$config.maySuspendCommit;
|
|
6256
|
+
var maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate;
|
|
6257
|
+
var maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender;
|
|
6258
|
+
var preloadInstance = $$$config.preloadInstance;
|
|
6259
|
+
var startSuspendingCommit = $$$config.startSuspendingCommit;
|
|
6260
|
+
var suspendInstance = $$$config.suspendInstance;
|
|
6057
6261
|
$$$config.suspendOnActiveViewTransition;
|
|
6058
6262
|
var waitForCommitToBeReady = $$$config.waitForCommitToBeReady;
|
|
6059
6263
|
$$$config.getSuspendedCommitReason;
|
|
6060
|
-
var NotPendingTransition = $$$config.NotPendingTransition
|
|
6264
|
+
var NotPendingTransition = $$$config.NotPendingTransition;
|
|
6265
|
+
var HostTransitionContext = $$$config.HostTransitionContext;
|
|
6266
|
+
var resetFormInstance = $$$config.resetFormInstance;
|
|
6061
6267
|
$$$config.bindToConsole;
|
|
6062
|
-
var supportsMicrotasks = $$$config.supportsMicrotasks
|
|
6268
|
+
var supportsMicrotasks = $$$config.supportsMicrotasks;
|
|
6269
|
+
var scheduleMicrotask = $$$config.scheduleMicrotask;
|
|
6270
|
+
var supportsTestSelectors = $$$config.supportsTestSelectors;
|
|
6271
|
+
var findFiberRoot = $$$config.findFiberRoot;
|
|
6272
|
+
var getBoundingRect = $$$config.getBoundingRect;
|
|
6273
|
+
var getTextContent = $$$config.getTextContent;
|
|
6274
|
+
var isHiddenSubtree = $$$config.isHiddenSubtree;
|
|
6275
|
+
var matchAccessibilityRole = $$$config.matchAccessibilityRole;
|
|
6276
|
+
var setFocusIfFocusable = $$$config.setFocusIfFocusable;
|
|
6277
|
+
var setupIntersectionObserver = $$$config.setupIntersectionObserver;
|
|
6278
|
+
var appendChild = $$$config.appendChild;
|
|
6279
|
+
var appendChildToContainer = $$$config.appendChildToContainer;
|
|
6280
|
+
var commitTextUpdate = $$$config.commitTextUpdate;
|
|
6281
|
+
var commitMount = $$$config.commitMount;
|
|
6282
|
+
var commitUpdate = $$$config.commitUpdate;
|
|
6283
|
+
var insertBefore = $$$config.insertBefore;
|
|
6284
|
+
var insertInContainerBefore = $$$config.insertInContainerBefore;
|
|
6285
|
+
var removeChild = $$$config.removeChild;
|
|
6286
|
+
var removeChildFromContainer = $$$config.removeChildFromContainer;
|
|
6287
|
+
var resetTextContent = $$$config.resetTextContent;
|
|
6288
|
+
var hideInstance = $$$config.hideInstance;
|
|
6289
|
+
var hideTextInstance = $$$config.hideTextInstance;
|
|
6290
|
+
var unhideInstance = $$$config.unhideInstance;
|
|
6291
|
+
var unhideTextInstance = $$$config.unhideTextInstance;
|
|
6063
6292
|
$$$config.cancelViewTransitionName;
|
|
6064
6293
|
$$$config.cancelRootViewTransitionName;
|
|
6065
6294
|
$$$config.restoreRootViewTransitionName;
|
|
@@ -6078,15 +6307,98 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6078
6307
|
$$$config.updateFragmentInstanceFiber;
|
|
6079
6308
|
$$$config.commitNewChildToFragmentInstance;
|
|
6080
6309
|
$$$config.deleteChildFromFragmentInstance;
|
|
6081
|
-
var cloneInstance = $$$config.cloneInstance
|
|
6310
|
+
var cloneInstance = $$$config.cloneInstance;
|
|
6311
|
+
var createContainerChildSet = $$$config.createContainerChildSet;
|
|
6312
|
+
var appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet;
|
|
6313
|
+
var finalizeContainerChildren = $$$config.finalizeContainerChildren;
|
|
6314
|
+
var replaceContainerChildren = $$$config.replaceContainerChildren;
|
|
6315
|
+
var cloneHiddenInstance = $$$config.cloneHiddenInstance;
|
|
6316
|
+
var cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance;
|
|
6317
|
+
var isSuspenseInstancePending = $$$config.isSuspenseInstancePending;
|
|
6318
|
+
var isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback;
|
|
6319
|
+
var getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails;
|
|
6320
|
+
var registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry;
|
|
6321
|
+
var canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker;
|
|
6322
|
+
var isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching;
|
|
6323
|
+
var getNextHydratableSibling = $$$config.getNextHydratableSibling;
|
|
6324
|
+
var getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton;
|
|
6325
|
+
var getFirstHydratableChild = $$$config.getFirstHydratableChild;
|
|
6326
|
+
var getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer;
|
|
6327
|
+
var getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance;
|
|
6328
|
+
var getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance;
|
|
6329
|
+
var getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton;
|
|
6330
|
+
var canHydrateInstance = $$$config.canHydrateInstance;
|
|
6331
|
+
var canHydrateTextInstance = $$$config.canHydrateTextInstance;
|
|
6332
|
+
var canHydrateActivityInstance = $$$config.canHydrateActivityInstance;
|
|
6333
|
+
var canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance;
|
|
6334
|
+
var hydrateInstance = $$$config.hydrateInstance;
|
|
6335
|
+
var hydrateTextInstance = $$$config.hydrateTextInstance;
|
|
6336
|
+
var hydrateActivityInstance = $$$config.hydrateActivityInstance;
|
|
6337
|
+
var hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance;
|
|
6338
|
+
var getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance;
|
|
6339
|
+
var getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance;
|
|
6340
|
+
var commitHydratedInstance = $$$config.commitHydratedInstance;
|
|
6341
|
+
var commitHydratedContainer = $$$config.commitHydratedContainer;
|
|
6342
|
+
var commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance;
|
|
6343
|
+
var commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance;
|
|
6344
|
+
var finalizeHydratedChildren = $$$config.finalizeHydratedChildren;
|
|
6345
|
+
var flushHydrationEvents = $$$config.flushHydrationEvents;
|
|
6082
6346
|
$$$config.clearActivityBoundary;
|
|
6083
6347
|
var clearSuspenseBoundary = $$$config.clearSuspenseBoundary;
|
|
6084
6348
|
$$$config.clearActivityBoundaryFromContainer;
|
|
6085
|
-
var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer
|
|
6349
|
+
var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer;
|
|
6350
|
+
var hideDehydratedBoundary = $$$config.hideDehydratedBoundary;
|
|
6351
|
+
var unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary;
|
|
6352
|
+
var shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances;
|
|
6086
6353
|
$$$config.diffHydratedPropsForDevWarnings;
|
|
6087
6354
|
$$$config.diffHydratedTextForDevWarnings;
|
|
6088
6355
|
$$$config.describeHydratableInstanceForDevWarnings;
|
|
6089
|
-
var validateHydratableInstance = $$$config.validateHydratableInstance
|
|
6356
|
+
var validateHydratableInstance = $$$config.validateHydratableInstance;
|
|
6357
|
+
var validateHydratableTextInstance = $$$config.validateHydratableTextInstance;
|
|
6358
|
+
var supportsResources = $$$config.supportsResources;
|
|
6359
|
+
var isHostHoistableType = $$$config.isHostHoistableType;
|
|
6360
|
+
var getHoistableRoot = $$$config.getHoistableRoot;
|
|
6361
|
+
var getResource = $$$config.getResource;
|
|
6362
|
+
var acquireResource = $$$config.acquireResource;
|
|
6363
|
+
var releaseResource = $$$config.releaseResource;
|
|
6364
|
+
var hydrateHoistable = $$$config.hydrateHoistable;
|
|
6365
|
+
var mountHoistable = $$$config.mountHoistable;
|
|
6366
|
+
var unmountHoistable = $$$config.unmountHoistable;
|
|
6367
|
+
var createHoistableInstance = $$$config.createHoistableInstance;
|
|
6368
|
+
var prepareToCommitHoistables = $$$config.prepareToCommitHoistables;
|
|
6369
|
+
var mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit;
|
|
6370
|
+
var preloadResource = $$$config.preloadResource;
|
|
6371
|
+
var suspendResource = $$$config.suspendResource;
|
|
6372
|
+
var supportsSingletons = $$$config.supportsSingletons;
|
|
6373
|
+
var resolveSingletonInstance = $$$config.resolveSingletonInstance;
|
|
6374
|
+
var acquireSingletonInstance = $$$config.acquireSingletonInstance;
|
|
6375
|
+
var releaseSingletonInstance = $$$config.releaseSingletonInstance;
|
|
6376
|
+
var isHostSingletonType = $$$config.isHostSingletonType;
|
|
6377
|
+
var isSingletonScope = $$$config.isSingletonScope;
|
|
6378
|
+
var valueStack = [];
|
|
6379
|
+
var index$jscomp$0 = -1;
|
|
6380
|
+
var emptyContextObject = {};
|
|
6381
|
+
var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback;
|
|
6382
|
+
var log$1 = Math.log;
|
|
6383
|
+
var LN2 = Math.LN2;
|
|
6384
|
+
var nextTransitionUpdateLane = 256;
|
|
6385
|
+
var nextTransitionDeferredLane = 262144;
|
|
6386
|
+
var nextRetryLane = 4194304;
|
|
6387
|
+
var scheduleCallback$3 = Scheduler.unstable_scheduleCallback;
|
|
6388
|
+
var cancelCallback$1 = Scheduler.unstable_cancelCallback;
|
|
6389
|
+
var shouldYield = Scheduler.unstable_shouldYield;
|
|
6390
|
+
var requestPaint = Scheduler.unstable_requestPaint;
|
|
6391
|
+
var now = Scheduler.unstable_now;
|
|
6392
|
+
var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
|
|
6393
|
+
var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
|
|
6394
|
+
var NormalPriority$1 = Scheduler.unstable_NormalPriority;
|
|
6395
|
+
var IdlePriority = Scheduler.unstable_IdlePriority;
|
|
6396
|
+
var log = Scheduler.log;
|
|
6397
|
+
var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;
|
|
6398
|
+
var rendererID = null;
|
|
6399
|
+
var injectedHook = null;
|
|
6400
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
6401
|
+
var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
6090
6402
|
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
6091
6403
|
var event = new window.ErrorEvent("error", {
|
|
6092
6404
|
bubbles: !0,
|
|
@@ -6100,7 +6412,35 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6100
6412
|
return;
|
|
6101
6413
|
}
|
|
6102
6414
|
console.error(error);
|
|
6103
|
-
}
|
|
6415
|
+
};
|
|
6416
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
6417
|
+
var prefix;
|
|
6418
|
+
var suffix;
|
|
6419
|
+
var reentry = !1;
|
|
6420
|
+
var CapturedStacks = /* @__PURE__ */ new WeakMap();
|
|
6421
|
+
var forkStack = [];
|
|
6422
|
+
var forkStackIndex = 0;
|
|
6423
|
+
var treeForkProvider = null;
|
|
6424
|
+
var treeForkCount = 0;
|
|
6425
|
+
var idStack = [];
|
|
6426
|
+
var idStackIndex = 0;
|
|
6427
|
+
var treeContextProvider = null;
|
|
6428
|
+
var treeContextId = 1;
|
|
6429
|
+
var treeContextOverflow = "";
|
|
6430
|
+
var contextStackCursor = createCursor(null);
|
|
6431
|
+
var contextFiberStackCursor = createCursor(null);
|
|
6432
|
+
var rootInstanceStackCursor = createCursor(null);
|
|
6433
|
+
var hostTransitionProviderCursor = createCursor(null);
|
|
6434
|
+
var hydrationParentFiber = null;
|
|
6435
|
+
var nextHydratableInstance = null;
|
|
6436
|
+
var isHydrating = !1;
|
|
6437
|
+
var hydrationErrors = null;
|
|
6438
|
+
var rootOrSingletonContext = !1;
|
|
6439
|
+
var HydrationMismatchException = Error(formatProdErrorMessage(519));
|
|
6440
|
+
var valueCursor = createCursor(null);
|
|
6441
|
+
var currentlyRenderingFiber$1 = null;
|
|
6442
|
+
var lastContextDependency = null;
|
|
6443
|
+
var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
|
|
6104
6444
|
var listeners = [], signal = this.signal = {
|
|
6105
6445
|
aborted: !1,
|
|
6106
6446
|
addEventListener: function(type, listener) {
|
|
@@ -6113,20 +6453,65 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6113
6453
|
return listener();
|
|
6114
6454
|
});
|
|
6115
6455
|
};
|
|
6116
|
-
}
|
|
6456
|
+
};
|
|
6457
|
+
var scheduleCallback$2 = Scheduler.unstable_scheduleCallback;
|
|
6458
|
+
var NormalPriority = Scheduler.unstable_NormalPriority;
|
|
6459
|
+
var CacheContext = {
|
|
6117
6460
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
6118
6461
|
Consumer: null,
|
|
6119
6462
|
Provider: null,
|
|
6120
6463
|
_currentValue: null,
|
|
6121
6464
|
_currentValue2: null,
|
|
6122
6465
|
_threadCount: 0
|
|
6123
|
-
}
|
|
6466
|
+
};
|
|
6467
|
+
var firstScheduledRoot = null;
|
|
6468
|
+
var lastScheduledRoot = null;
|
|
6469
|
+
var didScheduleMicrotask = !1;
|
|
6470
|
+
var mightHavePendingSyncWork = !1;
|
|
6471
|
+
var isFlushingWork = !1;
|
|
6472
|
+
var currentEventTransitionLane = 0;
|
|
6473
|
+
var currentEntangledListeners = null;
|
|
6474
|
+
var currentEntangledPendingCount = 0;
|
|
6475
|
+
var currentEntangledLane = 0;
|
|
6476
|
+
var currentEntangledActionThenable = null;
|
|
6477
|
+
var prevOnStartTransitionFinish = ReactSharedInternals.S;
|
|
6124
6478
|
ReactSharedInternals.S = function(transition, returnValue) {
|
|
6125
6479
|
globalMostRecentTransitionTime = now();
|
|
6126
6480
|
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && entangleAsyncAction(transition, returnValue);
|
|
6127
6481
|
null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue);
|
|
6128
6482
|
};
|
|
6129
|
-
var resumedCache = createCursor(null)
|
|
6483
|
+
var resumedCache = createCursor(null);
|
|
6484
|
+
var SuspenseException = Error(formatProdErrorMessage(460));
|
|
6485
|
+
var SuspenseyCommitException = Error(formatProdErrorMessage(474));
|
|
6486
|
+
var SuspenseActionException = Error(formatProdErrorMessage(542));
|
|
6487
|
+
var noopSuspenseyCommitThenable = { then: function() {} };
|
|
6488
|
+
var suspendedThenable = null;
|
|
6489
|
+
var thenableState$1 = null;
|
|
6490
|
+
var thenableIndexCounter$1 = 0;
|
|
6491
|
+
var reconcileChildFibers = createChildReconciler(!0);
|
|
6492
|
+
var mountChildFibers = createChildReconciler(!1);
|
|
6493
|
+
var concurrentQueues = [];
|
|
6494
|
+
var concurrentQueuesIndex = 0;
|
|
6495
|
+
var concurrentlyUpdatedLanes = 0;
|
|
6496
|
+
var hasForceUpdate = !1;
|
|
6497
|
+
var didReadFromEntangledAsyncAction = !1;
|
|
6498
|
+
var currentTreeHiddenStackCursor = createCursor(null);
|
|
6499
|
+
var prevEntangledRenderLanesCursor = createCursor(0);
|
|
6500
|
+
var suspenseHandlerStackCursor = createCursor(null);
|
|
6501
|
+
var shellBoundary = null;
|
|
6502
|
+
var suspenseStackCursor = createCursor(0);
|
|
6503
|
+
var renderLanes = 0;
|
|
6504
|
+
var currentlyRenderingFiber = null;
|
|
6505
|
+
var currentHook = null;
|
|
6506
|
+
var workInProgressHook = null;
|
|
6507
|
+
var didScheduleRenderPhaseUpdate = !1;
|
|
6508
|
+
var didScheduleRenderPhaseUpdateDuringThisPass = !1;
|
|
6509
|
+
var shouldDoubleInvokeUserFnsInHooksDEV = !1;
|
|
6510
|
+
var localIdCounter = 0;
|
|
6511
|
+
var thenableIndexCounter = 0;
|
|
6512
|
+
var thenableState = null;
|
|
6513
|
+
var globalClientIdCounter = 0;
|
|
6514
|
+
var ContextOnlyDispatcher = {
|
|
6130
6515
|
readContext,
|
|
6131
6516
|
use,
|
|
6132
6517
|
useCallback: throwInvalidHookError,
|
|
@@ -6296,7 +6681,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6296
6681
|
return ref.impl.apply(void 0, arguments);
|
|
6297
6682
|
};
|
|
6298
6683
|
}
|
|
6299
|
-
}
|
|
6684
|
+
};
|
|
6685
|
+
var HooksDispatcherOnUpdate = {
|
|
6300
6686
|
readContext,
|
|
6301
6687
|
use,
|
|
6302
6688
|
useCallback: updateCallback,
|
|
@@ -6352,7 +6738,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6352
6738
|
return null === currentHook ? mountDeferredValueImpl(hook, value, initialValue) : updateDeferredValueImpl(hook, currentHook.memoizedState, value, initialValue);
|
|
6353
6739
|
},
|
|
6354
6740
|
useTransition: function() {
|
|
6355
|
-
var booleanOrThenable = rerenderReducer(basicStateReducer)[0]
|
|
6741
|
+
var booleanOrThenable = rerenderReducer(basicStateReducer)[0];
|
|
6742
|
+
var start = updateWorkInProgressHook().memoizedState;
|
|
6356
6743
|
return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
|
|
6357
6744
|
},
|
|
6358
6745
|
useSyncExternalStore: updateSyncExternalStore,
|
|
@@ -6396,12 +6783,25 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6396
6783
|
callback = enqueueUpdate(inst, update, lane);
|
|
6397
6784
|
null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane));
|
|
6398
6785
|
}
|
|
6399
|
-
}
|
|
6786
|
+
};
|
|
6787
|
+
var SelectiveHydrationException = Error(formatProdErrorMessage(461));
|
|
6788
|
+
var didReceiveUpdate = !1;
|
|
6789
|
+
var SUSPENDED_MARKER = {
|
|
6400
6790
|
dehydrated: null,
|
|
6401
6791
|
treeContext: null,
|
|
6402
6792
|
retryLane: 0,
|
|
6403
6793
|
hydrationErrors: null
|
|
6404
|
-
}
|
|
6794
|
+
};
|
|
6795
|
+
var offscreenSubtreeIsHidden = !1;
|
|
6796
|
+
var offscreenSubtreeWasHidden = !1;
|
|
6797
|
+
var needsFormReset = !1;
|
|
6798
|
+
var PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set;
|
|
6799
|
+
var nextEffect = null;
|
|
6800
|
+
var hostParent = null;
|
|
6801
|
+
var hostParentIsContainer = !1;
|
|
6802
|
+
var currentHoistableRoot = null;
|
|
6803
|
+
var suspenseyCommitFlag = 8192;
|
|
6804
|
+
var DefaultAsyncDispatcher = {
|
|
6405
6805
|
getCacheForType: function(resourceType) {
|
|
6406
6806
|
var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType);
|
|
6407
6807
|
void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType));
|
|
@@ -6410,7 +6810,12 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6410
6810
|
cacheSignal: function() {
|
|
6411
6811
|
return readContext(CacheContext).controller.signal;
|
|
6412
6812
|
}
|
|
6413
|
-
}
|
|
6813
|
+
};
|
|
6814
|
+
var COMPONENT_TYPE = 0;
|
|
6815
|
+
var HAS_PSEUDO_CLASS_TYPE = 1;
|
|
6816
|
+
var ROLE_TYPE = 2;
|
|
6817
|
+
var TEST_NAME_TYPE = 3;
|
|
6818
|
+
var TEXT_TYPE = 4;
|
|
6414
6819
|
if ("function" === typeof Symbol && Symbol.for) {
|
|
6415
6820
|
var symbolFor = Symbol.for;
|
|
6416
6821
|
COMPONENT_TYPE = symbolFor("selector.component");
|
|
@@ -6419,7 +6824,40 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6419
6824
|
TEST_NAME_TYPE = symbolFor("selector.test_id");
|
|
6420
6825
|
TEXT_TYPE = symbolFor("selector.text");
|
|
6421
6826
|
}
|
|
6422
|
-
var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map
|
|
6827
|
+
var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map;
|
|
6828
|
+
var executionContext = 0;
|
|
6829
|
+
var workInProgressRoot = null;
|
|
6830
|
+
var workInProgress = null;
|
|
6831
|
+
var workInProgressRootRenderLanes = 0;
|
|
6832
|
+
var workInProgressSuspendedReason = 0;
|
|
6833
|
+
var workInProgressThrownValue = null;
|
|
6834
|
+
var workInProgressRootDidSkipSuspendedSiblings = !1;
|
|
6835
|
+
var workInProgressRootIsPrerendering = !1;
|
|
6836
|
+
var workInProgressRootDidAttachPingListener = !1;
|
|
6837
|
+
var entangledRenderLanes = 0;
|
|
6838
|
+
var workInProgressRootExitStatus = 0;
|
|
6839
|
+
var workInProgressRootSkippedLanes = 0;
|
|
6840
|
+
var workInProgressRootInterleavedUpdatedLanes = 0;
|
|
6841
|
+
var workInProgressRootPingedLanes = 0;
|
|
6842
|
+
var workInProgressDeferredLane = 0;
|
|
6843
|
+
var workInProgressSuspendedRetryLanes = 0;
|
|
6844
|
+
var workInProgressRootConcurrentErrors = null;
|
|
6845
|
+
var workInProgressRootRecoverableErrors = null;
|
|
6846
|
+
var workInProgressRootDidIncludeRecursiveRenderUpdate = !1;
|
|
6847
|
+
var globalMostRecentFallbackTime = 0;
|
|
6848
|
+
var globalMostRecentTransitionTime = 0;
|
|
6849
|
+
var workInProgressRootRenderTargetTime = Infinity;
|
|
6850
|
+
var workInProgressTransitions = null;
|
|
6851
|
+
var legacyErrorBoundariesThatAlreadyFailed = null;
|
|
6852
|
+
var pendingEffectsStatus = 0;
|
|
6853
|
+
var pendingEffectsRoot = null;
|
|
6854
|
+
var pendingFinishedWork = null;
|
|
6855
|
+
var pendingEffectsLanes = 0;
|
|
6856
|
+
var pendingEffectsRemainingLanes = 0;
|
|
6857
|
+
var pendingPassiveTransitions = null;
|
|
6858
|
+
var pendingRecoverableErrors = null;
|
|
6859
|
+
var nestedUpdateCount = 0;
|
|
6860
|
+
var rootWithNestedUpdates = null;
|
|
6423
6861
|
exports$2.attemptContinuousHydration = function(fiber) {
|
|
6424
6862
|
if (13 === fiber.tag || 31 === fiber.tag) {
|
|
6425
6863
|
var root = enqueueConcurrentRenderForLane(fiber, 67108864);
|
|
@@ -6529,7 +6967,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6529
6967
|
reportGlobalError(error);
|
|
6530
6968
|
};
|
|
6531
6969
|
exports$2.deferredUpdates = function(fn) {
|
|
6532
|
-
var prevTransition = ReactSharedInternals.T
|
|
6970
|
+
var prevTransition = ReactSharedInternals.T;
|
|
6971
|
+
var previousPriority = getCurrentUpdatePriority();
|
|
6533
6972
|
try {
|
|
6534
6973
|
return setCurrentUpdatePriority(32), ReactSharedInternals.T = null, fn();
|
|
6535
6974
|
} finally {
|
|
@@ -6537,7 +6976,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6537
6976
|
}
|
|
6538
6977
|
};
|
|
6539
6978
|
exports$2.discreteUpdates = function(fn, a, b, c, d) {
|
|
6540
|
-
var prevTransition = ReactSharedInternals.T
|
|
6979
|
+
var prevTransition = ReactSharedInternals.T;
|
|
6980
|
+
var previousPriority = getCurrentUpdatePriority();
|
|
6541
6981
|
try {
|
|
6542
6982
|
return setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn(a, b, c, d);
|
|
6543
6983
|
} finally {
|
|
@@ -6553,7 +6993,11 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6553
6993
|
for (selectors = hostRoot.length - 1; 0 < selectors; selectors--) {
|
|
6554
6994
|
i = hostRoot[selectors];
|
|
6555
6995
|
for (var targetLeft = i.x, targetRight = targetLeft + i.width, targetTop = i.y, targetBottom = targetTop + i.height, j = selectors - 1; 0 <= j; j--) if (selectors !== j) {
|
|
6556
|
-
var otherRect = hostRoot[j]
|
|
6996
|
+
var otherRect = hostRoot[j];
|
|
6997
|
+
var otherLeft = otherRect.x;
|
|
6998
|
+
var otherRight = otherLeft + otherRect.width;
|
|
6999
|
+
var otherTop = otherRect.y;
|
|
7000
|
+
var otherBottom = otherTop + otherRect.height;
|
|
6557
7001
|
if (targetLeft >= otherLeft && targetTop >= otherTop && targetRight <= otherRight && targetBottom <= otherBottom) {
|
|
6558
7002
|
hostRoot.splice(selectors, 1);
|
|
6559
7003
|
break;
|
|
@@ -6585,7 +7029,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6585
7029
|
exports$2.flushSyncFromReconciler = function(fn) {
|
|
6586
7030
|
var prevExecutionContext = executionContext;
|
|
6587
7031
|
executionContext |= 1;
|
|
6588
|
-
var prevTransition = ReactSharedInternals.T
|
|
7032
|
+
var prevTransition = ReactSharedInternals.T;
|
|
7033
|
+
var previousPriority = getCurrentUpdatePriority();
|
|
6589
7034
|
try {
|
|
6590
7035
|
if (setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn) return fn();
|
|
6591
7036
|
} finally {
|
|
@@ -6599,7 +7044,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6599
7044
|
selectors = findPaths(hostRoot, selectors);
|
|
6600
7045
|
selectors = Array.from(selectors);
|
|
6601
7046
|
for (hostRoot = 0; hostRoot < selectors.length;) {
|
|
6602
|
-
var fiber = selectors[hostRoot++]
|
|
7047
|
+
var fiber = selectors[hostRoot++];
|
|
7048
|
+
var tag = fiber.tag;
|
|
6603
7049
|
if (!isHiddenSubtree(fiber)) {
|
|
6604
7050
|
if ((5 === tag || 26 === tag || 27 === tag) && setFocusIfFocusable(fiber.stateNode)) return !0;
|
|
6605
7051
|
for (fiber = fiber.child; null !== fiber;) selectors.push(fiber), fiber = fiber.sibling;
|
|
@@ -6609,10 +7055,14 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6609
7055
|
};
|
|
6610
7056
|
exports$2.getFindAllNodesFailureDescription = function(hostRoot, selectors) {
|
|
6611
7057
|
if (!supportsTestSelectors) throw Error(formatProdErrorMessage(363));
|
|
6612
|
-
var maxSelectorIndex = 0
|
|
7058
|
+
var maxSelectorIndex = 0;
|
|
7059
|
+
var matchedNames = [];
|
|
6613
7060
|
hostRoot = [findFiberRootForHostRoot(hostRoot), 0];
|
|
6614
7061
|
for (var index = 0; index < hostRoot.length;) {
|
|
6615
|
-
var fiber = hostRoot[index++]
|
|
7062
|
+
var fiber = hostRoot[index++];
|
|
7063
|
+
var tag = fiber.tag;
|
|
7064
|
+
var selectorIndex = hostRoot[index++];
|
|
7065
|
+
var selector = selectors[selectorIndex];
|
|
6616
7066
|
if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
|
|
6617
7067
|
if (matchSelector(fiber, selector) && (matchedNames.push(selectorToString(selector)), selectorIndex++, selectorIndex > maxSelectorIndex && (maxSelectorIndex = selectorIndex)), selectorIndex < selectors.length) for (fiber = fiber.child; null !== fiber;) hostRoot.push(fiber, selectorIndex), fiber = fiber.sibling;
|
|
6618
7068
|
}
|
|
@@ -6682,7 +7132,8 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
|
|
|
6682
7132
|
});
|
|
6683
7133
|
};
|
|
6684
7134
|
exports$2.updateContainer = function(element, container, parentComponent, callback) {
|
|
6685
|
-
var current = container.current
|
|
7135
|
+
var current = container.current;
|
|
7136
|
+
var lane = requestUpdateLane();
|
|
6686
7137
|
updateContainerImpl(current, lane, element, container, parentComponent, callback);
|
|
6687
7138
|
return lane;
|
|
6688
7139
|
};
|
|
@@ -6715,7 +7166,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
6715
7166
|
}
|
|
6716
7167
|
function copyWithSetImpl(obj, path, index, value) {
|
|
6717
7168
|
if (index >= path.length) return value;
|
|
6718
|
-
var key = path[index]
|
|
7169
|
+
var key = path[index];
|
|
7170
|
+
var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
|
|
6719
7171
|
updated[key] = copyWithSetImpl(obj[key], path, index + 1, value);
|
|
6720
7172
|
return updated;
|
|
6721
7173
|
}
|
|
@@ -6730,12 +7182,14 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
6730
7182
|
}
|
|
6731
7183
|
}
|
|
6732
7184
|
function copyWithRenameImpl(obj, oldPath, newPath, index) {
|
|
6733
|
-
var oldKey = oldPath[index]
|
|
7185
|
+
var oldKey = oldPath[index];
|
|
7186
|
+
var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
|
|
6734
7187
|
index + 1 === oldPath.length ? (updated[newPath[index]] = updated[oldKey], isArrayImpl(updated) ? updated.splice(oldKey, 1) : delete updated[oldKey]) : updated[oldKey] = copyWithRenameImpl(obj[oldKey], oldPath, newPath, index + 1);
|
|
6735
7188
|
return updated;
|
|
6736
7189
|
}
|
|
6737
7190
|
function copyWithDeleteImpl(obj, path, index) {
|
|
6738
|
-
var key = path[index]
|
|
7191
|
+
var key = path[index];
|
|
7192
|
+
var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
|
|
6739
7193
|
if (index + 1 === path.length) return isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key], updated;
|
|
6740
7194
|
updated[key] = copyWithDeleteImpl(obj[key], path, index + 1);
|
|
6741
7195
|
return updated;
|
|
@@ -6780,7 +7234,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
6780
7234
|
return array.sort().join(", ");
|
|
6781
7235
|
}
|
|
6782
7236
|
function getNearestMountedFiber(fiber) {
|
|
6783
|
-
var node = fiber
|
|
7237
|
+
var node = fiber;
|
|
7238
|
+
var nearestMounted = fiber;
|
|
6784
7239
|
if (fiber.alternate) for (; node.return;) node = node.return;
|
|
6785
7240
|
else {
|
|
6786
7241
|
fiber = node;
|
|
@@ -7017,7 +7472,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7017
7472
|
function getNextLanes(root, wipLanes, rootHasPendingCommit) {
|
|
7018
7473
|
var pendingLanes = root.pendingLanes;
|
|
7019
7474
|
if (0 === pendingLanes) return 0;
|
|
7020
|
-
var nextLanes = 0
|
|
7475
|
+
var nextLanes = 0;
|
|
7476
|
+
var suspendedLanes = root.suspendedLanes;
|
|
7477
|
+
var pingedLanes = root.pingedLanes;
|
|
7021
7478
|
root = root.warmLanes;
|
|
7022
7479
|
var nonIdlePendingLanes = pendingLanes & 134217727;
|
|
7023
7480
|
0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
|
|
@@ -7086,9 +7543,12 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7086
7543
|
root.entangledLanes &= remainingLanes;
|
|
7087
7544
|
root.errorRecoveryDisabledLanes &= remainingLanes;
|
|
7088
7545
|
root.shellSuspendCounter = 0;
|
|
7089
|
-
var entanglements = root.entanglements
|
|
7546
|
+
var entanglements = root.entanglements;
|
|
7547
|
+
var expirationTimes = root.expirationTimes;
|
|
7548
|
+
var hiddenUpdates = root.hiddenUpdates;
|
|
7090
7549
|
for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;) {
|
|
7091
|
-
var index = 31 - clz32(remainingLanes)
|
|
7550
|
+
var index = 31 - clz32(remainingLanes);
|
|
7551
|
+
var lane = 1 << index;
|
|
7092
7552
|
entanglements[index] = 0;
|
|
7093
7553
|
expirationTimes[index] = -1;
|
|
7094
7554
|
var hiddenUpdatesForLane = hiddenUpdates[index];
|
|
@@ -7111,7 +7571,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7111
7571
|
function markRootEntangled(root, entangledLanes) {
|
|
7112
7572
|
var rootEntangledLanes = root.entangledLanes |= entangledLanes;
|
|
7113
7573
|
for (root = root.entanglements; rootEntangledLanes;) {
|
|
7114
|
-
var index = 31 - clz32(rootEntangledLanes)
|
|
7574
|
+
var index = 31 - clz32(rootEntangledLanes);
|
|
7575
|
+
var lane = 1 << index;
|
|
7115
7576
|
lane & entangledLanes | root[index] & entangledLanes && (root[index] |= entangledLanes);
|
|
7116
7577
|
rootEntangledLanes &= ~lane;
|
|
7117
7578
|
}
|
|
@@ -7161,7 +7622,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7161
7622
|
}
|
|
7162
7623
|
function addFiberToLanesMap(root, fiber, lanes) {
|
|
7163
7624
|
if (isDevToolsPresent) for (root = root.pendingUpdatersLaneMap; 0 < lanes;) {
|
|
7164
|
-
var index = 31 - clz32(lanes)
|
|
7625
|
+
var index = 31 - clz32(lanes);
|
|
7626
|
+
var lane = 1 << index;
|
|
7165
7627
|
root[index].add(fiber);
|
|
7166
7628
|
lanes &= ~lane;
|
|
7167
7629
|
}
|
|
@@ -7229,9 +7691,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7229
7691
|
break;
|
|
7230
7692
|
} else {
|
|
7231
7693
|
if (value.$$typeof === REACT_ELEMENT_TYPE) {
|
|
7232
|
-
var typeName = getComponentNameFromType(value.type) || "…"
|
|
7694
|
+
var typeName = getComponentNameFromType(value.type) || "…";
|
|
7695
|
+
var key = value.key;
|
|
7233
7696
|
value = value.props;
|
|
7234
|
-
var propsKeys = Object.keys(value)
|
|
7697
|
+
var propsKeys = Object.keys(value);
|
|
7698
|
+
var propsLength = propsKeys.length;
|
|
7235
7699
|
if (null == key && 0 === propsLength) {
|
|
7236
7700
|
value = "<" + typeName + " />";
|
|
7237
7701
|
break;
|
|
@@ -7315,7 +7779,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7315
7779
|
continue;
|
|
7316
7780
|
}
|
|
7317
7781
|
} else {
|
|
7318
|
-
var prevKind = Object.prototype.toString.call(key)
|
|
7782
|
+
var prevKind = Object.prototype.toString.call(key);
|
|
7783
|
+
var nextKind = Object.prototype.toString.call(nextValue);
|
|
7319
7784
|
if (prevKind === nextKind && ("[object Object]" === nextKind || "[object Array]" === nextKind)) {
|
|
7320
7785
|
prevKind = [" \xA0" + "\xA0\xA0".repeat(indent) + _key, "[object Array]" === nextKind ? "Array" : ""];
|
|
7321
7786
|
properties.push(prevKind);
|
|
@@ -7350,7 +7815,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7350
7815
|
function logComponentRender(fiber, startTime, endTime, wasHydrated, committedLanes) {
|
|
7351
7816
|
var name = getComponentNameFromFiber(fiber);
|
|
7352
7817
|
if (null !== name && supportsUserTiming) {
|
|
7353
|
-
var alternate = fiber.alternate
|
|
7818
|
+
var alternate = fiber.alternate;
|
|
7819
|
+
var selfTime = fiber.actualDuration;
|
|
7354
7820
|
if (null === alternate || alternate.child !== fiber.child) for (var child = fiber.child; null !== child; child = child.sibling) selfTime -= child.actualDuration;
|
|
7355
7821
|
wasHydrated = .5 > selfTime ? wasHydrated ? "tertiary-light" : "primary-light" : 10 > selfTime ? wasHydrated ? "tertiary" : "primary" : 100 > selfTime ? wasHydrated ? "tertiary-dark" : "primary-dark" : "error";
|
|
7356
7822
|
var props = fiber.memoizedProps;
|
|
@@ -7596,9 +8062,12 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7596
8062
|
RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
7597
8063
|
var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name");
|
|
7598
8064
|
namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });
|
|
7599
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot()
|
|
8065
|
+
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot();
|
|
8066
|
+
var sampleStack = _RunInRootFrame$Deter[0];
|
|
8067
|
+
var controlStack = _RunInRootFrame$Deter[1];
|
|
7600
8068
|
if (sampleStack && controlStack) {
|
|
7601
|
-
var sampleLines = sampleStack.split("\n")
|
|
8069
|
+
var sampleLines = sampleStack.split("\n");
|
|
8070
|
+
var controlLines = controlStack.split("\n");
|
|
7602
8071
|
for (_RunInRootFrame$Deter = namePropDescriptor = 0; namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++;
|
|
7603
8072
|
for (; _RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot");) _RunInRootFrame$Deter++;
|
|
7604
8073
|
if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length) for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter];) _RunInRootFrame$Deter--;
|
|
@@ -7639,7 +8108,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7639
8108
|
}
|
|
7640
8109
|
function getStackByFiberInDevAndProd(workInProgress) {
|
|
7641
8110
|
try {
|
|
7642
|
-
var info = ""
|
|
8111
|
+
var info = "";
|
|
8112
|
+
var previous = null;
|
|
7643
8113
|
do {
|
|
7644
8114
|
info += describeFiber(workInProgress, previous);
|
|
7645
8115
|
var debugInfo = workInProgress._debugInfo;
|
|
@@ -7648,9 +8118,13 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7648
8118
|
if ("string" === typeof entry.name) {
|
|
7649
8119
|
var JSCompiler_temp_const = info;
|
|
7650
8120
|
a: {
|
|
7651
|
-
var name = entry.name
|
|
8121
|
+
var name = entry.name;
|
|
8122
|
+
var env = entry.env;
|
|
8123
|
+
var location = entry.debugLocation;
|
|
7652
8124
|
if (null != location) {
|
|
7653
|
-
var childStack = formatOwnerStack(location)
|
|
8125
|
+
var childStack = formatOwnerStack(location);
|
|
8126
|
+
var idx = childStack.lastIndexOf("\n");
|
|
8127
|
+
var lastLine = -1 === idx ? childStack : childStack.slice(idx + 1);
|
|
7654
8128
|
if (-1 !== lastLine.indexOf(name)) {
|
|
7655
8129
|
var JSCompiler_inline_result = "\n" + lastLine;
|
|
7656
8130
|
break a;
|
|
@@ -7767,7 +8241,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7767
8241
|
}
|
|
7768
8242
|
function pushHostContext(fiber) {
|
|
7769
8243
|
null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber, fiber);
|
|
7770
|
-
var context = requiredContext(contextStackCursor.current)
|
|
8244
|
+
var context = requiredContext(contextStackCursor.current);
|
|
8245
|
+
var nextContext = getChildHostContext(context, fiber.type);
|
|
7771
8246
|
context !== nextContext && (push(contextFiberStackCursor, fiber, fiber), push(contextStackCursor, nextContext, fiber));
|
|
7772
8247
|
}
|
|
7773
8248
|
function popHostContext(fiber) {
|
|
@@ -7854,7 +8329,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7854
8329
|
return "string" !== typeof value || needsEscaping.test(value) ? "{" + describeValue(value, maxLength - 2) + "}" : value.length > maxLength - 2 ? 5 > maxLength ? "\"...\"" : "\"" + value.slice(0, maxLength - 5) + "...\"" : "\"" + value + "\"";
|
|
7855
8330
|
}
|
|
7856
8331
|
function describeExpandedElement(type, props, rowPrefix) {
|
|
7857
|
-
var remainingRowLength = 120 - rowPrefix.length - type.length
|
|
8332
|
+
var remainingRowLength = 120 - rowPrefix.length - type.length;
|
|
8333
|
+
var properties = [];
|
|
8334
|
+
var propName;
|
|
7858
8335
|
for (propName in props) if (props.hasOwnProperty(propName) && "children" !== propName) {
|
|
7859
8336
|
var propValue = describePropValue(props[propName], 120 - rowPrefix.length - propName.length - 1);
|
|
7860
8337
|
remainingRowLength -= propName.length + propValue.length + 2;
|
|
@@ -7863,22 +8340,27 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7863
8340
|
return 0 === properties.length ? rowPrefix + "<" + type + ">\n" : 0 < remainingRowLength ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" : rowPrefix + "<" + type + "\n" + rowPrefix + " " + properties.join("\n" + rowPrefix + " ") + "\n" + rowPrefix + ">\n";
|
|
7864
8341
|
}
|
|
7865
8342
|
function describePropertiesDiff(clientObject, serverObject, indent) {
|
|
7866
|
-
var properties = ""
|
|
8343
|
+
var properties = "";
|
|
8344
|
+
var remainingServerProperties = assign({}, serverObject);
|
|
8345
|
+
var propName;
|
|
7867
8346
|
for (propName in clientObject) if (clientObject.hasOwnProperty(propName)) {
|
|
7868
8347
|
delete remainingServerProperties[propName];
|
|
7869
|
-
var maxLength = 120 - 2 * indent - propName.length - 2
|
|
8348
|
+
var maxLength = 120 - 2 * indent - propName.length - 2;
|
|
8349
|
+
var clientPropValue = describeValue(clientObject[propName], maxLength);
|
|
7870
8350
|
serverObject.hasOwnProperty(propName) ? (maxLength = describeValue(serverObject[propName], maxLength), properties += added(indent) + propName + ": " + clientPropValue + "\n", properties += removed(indent) + propName + ": " + maxLength + "\n") : properties += added(indent) + propName + ": " + clientPropValue + "\n";
|
|
7871
8351
|
}
|
|
7872
8352
|
for (var _propName in remainingServerProperties) remainingServerProperties.hasOwnProperty(_propName) && (clientObject = describeValue(remainingServerProperties[_propName], 120 - 2 * indent - _propName.length - 2), properties += removed(indent) + _propName + ": " + clientObject + "\n");
|
|
7873
8353
|
return properties;
|
|
7874
8354
|
}
|
|
7875
8355
|
function describeElementDiff(type, clientProps, serverProps, indent) {
|
|
7876
|
-
var content = ""
|
|
8356
|
+
var content = "";
|
|
8357
|
+
var serverPropNames = /* @__PURE__ */ new Map();
|
|
7877
8358
|
for (propName$jscomp$0 in serverProps) serverProps.hasOwnProperty(propName$jscomp$0) && serverPropNames.set(propName$jscomp$0.toLowerCase(), propName$jscomp$0);
|
|
7878
8359
|
if (1 === serverPropNames.size && serverPropNames.has("children")) content += describeExpandedElement(type, clientProps, indentation(indent));
|
|
7879
8360
|
else {
|
|
7880
8361
|
for (var _propName2 in clientProps) if (clientProps.hasOwnProperty(_propName2) && "children" !== _propName2) {
|
|
7881
|
-
var maxLength$jscomp$0 = 120 - 2 * (indent + 1) - _propName2.length - 1
|
|
8362
|
+
var maxLength$jscomp$0 = 120 - 2 * (indent + 1) - _propName2.length - 1;
|
|
8363
|
+
var serverPropName = serverPropNames.get(_propName2.toLowerCase());
|
|
7882
8364
|
if (void 0 !== serverPropName) {
|
|
7883
8365
|
serverPropNames.delete(_propName2.toLowerCase());
|
|
7884
8366
|
var propName$jscomp$0 = clientProps[_propName2];
|
|
@@ -7928,7 +8410,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
7928
8410
|
if (6 === node.fiber.tag) debugInfo = describeTextDiff(i, node.serverProps, indent), indent++;
|
|
7929
8411
|
else if (serverComponentName = describeFiberType(node.fiber), null !== serverComponentName) if (void 0 === node.serverProps) {
|
|
7930
8412
|
debugInfo = indent;
|
|
7931
|
-
var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2
|
|
8413
|
+
var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2;
|
|
8414
|
+
var content = "";
|
|
7932
8415
|
for (propName in i) if (i.hasOwnProperty(propName) && "children" !== propName) {
|
|
7933
8416
|
var propValue = describePropValue(i[propName], 15);
|
|
7934
8417
|
maxLength -= propName.length + propValue.length + 2;
|
|
@@ -8053,7 +8536,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8053
8536
|
didSuspendOrErrorDEV || (fiber = buildHydrationDiffNode(fiber, 0), fiber.serverProps = null, null !== rejectedCandidate && (rejectedCandidate = describeHydratableInstanceForDevWarnings(rejectedCandidate), fiber.serverTail.push(rejectedCandidate)));
|
|
8054
8537
|
}
|
|
8055
8538
|
function throwOnHydrationMismatch(fiber) {
|
|
8056
|
-
var fromText = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1
|
|
8539
|
+
var fromText = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1;
|
|
8540
|
+
var diff = "";
|
|
8541
|
+
var diffRoot = hydrationDiffRootDEV;
|
|
8057
8542
|
null !== diffRoot && (hydrationDiffRootDEV = null, diff = describeDiff(diffRoot));
|
|
8058
8543
|
queueHydrationError(createCapturedValueAtFiber(Error("Hydration failed because the server rendered " + (fromText ? "text" : "HTML") + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff), fiber));
|
|
8059
8544
|
throw HydrationMismatchException;
|
|
@@ -8098,7 +8583,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8098
8583
|
}
|
|
8099
8584
|
function warnIfUnhydratedTailNodes(fiber) {
|
|
8100
8585
|
for (var nextInstance = nextHydratableInstance; nextInstance;) {
|
|
8101
|
-
var diffNode = buildHydrationDiffNode(fiber, 0)
|
|
8586
|
+
var diffNode = buildHydrationDiffNode(fiber, 0);
|
|
8587
|
+
var description = describeHydratableInstanceForDevWarnings(nextInstance);
|
|
8102
8588
|
diffNode.serverTail.push(description);
|
|
8103
8589
|
nextInstance = "Suspense" === description.type ? getNextHydratableInstanceAfterSuspenseInstance(nextInstance) : getNextHydratableSibling(nextInstance);
|
|
8104
8590
|
}
|
|
@@ -8291,7 +8777,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8291
8777
|
blockingUpdateTime = now();
|
|
8292
8778
|
blockingUpdateTask = null != fiber._debugTask ? fiber._debugTask : null;
|
|
8293
8779
|
isAlreadyRendering() && (blockingUpdateType = 1);
|
|
8294
|
-
var newEventTime = resolveEventTimeStamp()
|
|
8780
|
+
var newEventTime = resolveEventTimeStamp();
|
|
8781
|
+
var newEventType = resolveEventType();
|
|
8295
8782
|
newEventTime !== blockingEventRepeatTime || newEventType !== blockingEventType ? blockingEventRepeatTime = -1.1 : null !== newEventType && (blockingUpdateType = 1);
|
|
8296
8783
|
blockingEventTime = newEventTime;
|
|
8297
8784
|
blockingEventType = newEventType;
|
|
@@ -8369,7 +8856,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8369
8856
|
}
|
|
8370
8857
|
function recordEffectDuration() {
|
|
8371
8858
|
if (0 <= profilerStartTime) {
|
|
8372
|
-
var endTime = now()
|
|
8859
|
+
var endTime = now();
|
|
8860
|
+
var elapsedTime = endTime - profilerStartTime;
|
|
8373
8861
|
profilerStartTime = -1;
|
|
8374
8862
|
profilerEffectDuration += elapsedTime;
|
|
8375
8863
|
componentEffectDuration += elapsedTime;
|
|
@@ -8405,7 +8893,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8405
8893
|
var pendingLanes = root.pendingLanes;
|
|
8406
8894
|
if (0 === pendingLanes) var nextLanes = 0;
|
|
8407
8895
|
else {
|
|
8408
|
-
var suspendedLanes = root.suspendedLanes
|
|
8896
|
+
var suspendedLanes = root.suspendedLanes;
|
|
8897
|
+
var pingedLanes = root.pingedLanes;
|
|
8409
8898
|
nextLanes = (1 << 31 - clz32(42 | syncTransitionLanes) + 1) - 1;
|
|
8410
8899
|
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
|
8411
8900
|
nextLanes = nextLanes & 201326741 ? nextLanes & 201326741 | 1 : nextLanes ? nextLanes | 2 : 0;
|
|
@@ -8427,7 +8916,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8427
8916
|
var syncTransitionLanes = 0;
|
|
8428
8917
|
0 !== currentEventTransitionLane && shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane);
|
|
8429
8918
|
for (var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root;) {
|
|
8430
|
-
var next = root.next
|
|
8919
|
+
var next = root.next;
|
|
8920
|
+
var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
|
8431
8921
|
if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);
|
|
8432
8922
|
else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = !0;
|
|
8433
8923
|
root = next;
|
|
@@ -8437,7 +8927,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8437
8927
|
}
|
|
8438
8928
|
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
8439
8929
|
for (var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;) {
|
|
8440
|
-
var index = 31 - clz32(lanes)
|
|
8930
|
+
var index = 31 - clz32(lanes);
|
|
8931
|
+
var lane = 1 << index;
|
|
8932
|
+
var expirationTime = expirationTimes[index];
|
|
8441
8933
|
if (-1 === expirationTime) {
|
|
8442
8934
|
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index] = computeExpirationTime(lane, currentTime);
|
|
8443
8935
|
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
|
|
@@ -8544,7 +9036,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8544
9036
|
}
|
|
8545
9037
|
}
|
|
8546
9038
|
function chainThenableValue(thenable, result) {
|
|
8547
|
-
var listeners = []
|
|
9039
|
+
var listeners = [];
|
|
9040
|
+
var thenableWithOverride = {
|
|
8548
9041
|
status: "pending",
|
|
8549
9042
|
value: null,
|
|
8550
9043
|
reason: null,
|
|
@@ -8580,7 +9073,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
8580
9073
|
function shallowEqual(objA, objB) {
|
|
8581
9074
|
if (objectIs(objA, objB)) return !0;
|
|
8582
9075
|
if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return !1;
|
|
8583
|
-
var keysA = Object.keys(objA)
|
|
9076
|
+
var keysA = Object.keys(objA);
|
|
9077
|
+
var keysB = Object.keys(objB);
|
|
8584
9078
|
if (keysA.length !== keysB.length) return !1;
|
|
8585
9079
|
for (keysB = 0; keysB < keysA.length; keysB++) {
|
|
8586
9080
|
var currentKey = keysA[keysB];
|
|
@@ -9172,9 +9666,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9172
9666
|
}
|
|
9173
9667
|
}
|
|
9174
9668
|
function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
|
|
9175
|
-
var queue = workInProgress.updateQueue
|
|
9669
|
+
var queue = workInProgress.updateQueue;
|
|
9670
|
+
var current = workInProgress.alternate;
|
|
9176
9671
|
if (null !== current && (current = current.updateQueue, queue === current)) {
|
|
9177
|
-
var newFirst = null
|
|
9672
|
+
var newFirst = null;
|
|
9673
|
+
var newLast = null;
|
|
9178
9674
|
queue = queue.firstBaseUpdate;
|
|
9179
9675
|
if (null !== queue) {
|
|
9180
9676
|
do {
|
|
@@ -9215,10 +9711,13 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9215
9711
|
var queue = workInProgress.updateQueue;
|
|
9216
9712
|
hasForceUpdate = !1;
|
|
9217
9713
|
currentlyProcessingQueue = queue.shared;
|
|
9218
|
-
var firstBaseUpdate = queue.firstBaseUpdate
|
|
9714
|
+
var firstBaseUpdate = queue.firstBaseUpdate;
|
|
9715
|
+
var lastBaseUpdate = queue.lastBaseUpdate;
|
|
9716
|
+
var pendingQueue = queue.shared.pending;
|
|
9219
9717
|
if (null !== pendingQueue) {
|
|
9220
9718
|
queue.shared.pending = null;
|
|
9221
|
-
var lastPendingUpdate = pendingQueue
|
|
9719
|
+
var lastPendingUpdate = pendingQueue;
|
|
9720
|
+
var firstPendingUpdate = lastPendingUpdate.next;
|
|
9222
9721
|
lastPendingUpdate.next = null;
|
|
9223
9722
|
null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate;
|
|
9224
9723
|
lastBaseUpdate = lastPendingUpdate;
|
|
@@ -9231,7 +9730,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9231
9730
|
current = firstPendingUpdate = lastPendingUpdate = null;
|
|
9232
9731
|
pendingQueue = firstBaseUpdate;
|
|
9233
9732
|
do {
|
|
9234
|
-
var updateLane = pendingQueue.lane & -536870913
|
|
9733
|
+
var updateLane = pendingQueue.lane & -536870913;
|
|
9734
|
+
var isHiddenUpdate = updateLane !== pendingQueue.lane;
|
|
9235
9735
|
if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
|
|
9236
9736
|
0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0);
|
|
9237
9737
|
null !== current && (current = current.next = {
|
|
@@ -9244,7 +9744,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9244
9744
|
a: {
|
|
9245
9745
|
updateLane = workInProgress;
|
|
9246
9746
|
var partialState = pendingQueue;
|
|
9247
|
-
var nextProps = props
|
|
9747
|
+
var nextProps = props;
|
|
9748
|
+
var instance = instance$jscomp$0;
|
|
9248
9749
|
switch (partialState.tag) {
|
|
9249
9750
|
case ReplaceState:
|
|
9250
9751
|
partialState = partialState.payload;
|
|
@@ -9393,7 +9894,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9393
9894
|
var componentName = getComponentNameFromFiber(currentlyRenderingFiber);
|
|
9394
9895
|
if (!didWarnAboutMismatchedHooksForComponent.has(componentName) && (didWarnAboutMismatchedHooksForComponent.add(componentName), null !== hookTypesDev)) {
|
|
9395
9896
|
for (var table = "", i = 0; i <= hookTypesUpdateIndexDev; i++) {
|
|
9396
|
-
var oldHookName = hookTypesDev[i]
|
|
9897
|
+
var oldHookName = hookTypesDev[i];
|
|
9898
|
+
var newHookName = i === hookTypesUpdateIndexDev ? hookName : oldHookName;
|
|
9397
9899
|
for (oldHookName = i + 1 + ". " + oldHookName; 30 > oldHookName.length;) oldHookName += " ";
|
|
9398
9900
|
oldHookName += newHookName + "\n";
|
|
9399
9901
|
table += oldHookName;
|
|
@@ -9491,7 +9993,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9491
9993
|
return children;
|
|
9492
9994
|
}
|
|
9493
9995
|
function TransitionAwareHostComponent() {
|
|
9494
|
-
var dispatcher = ReactSharedInternals.H
|
|
9996
|
+
var dispatcher = ReactSharedInternals.H;
|
|
9997
|
+
var maybeThenable = dispatcher.useState()[0];
|
|
9495
9998
|
maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable;
|
|
9496
9999
|
dispatcher = dispatcher.useState()[0];
|
|
9497
10000
|
(null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024);
|
|
@@ -9584,7 +10087,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9584
10087
|
throw Error("An unsupported type was passed to use(): " + String(usable));
|
|
9585
10088
|
}
|
|
9586
10089
|
function useMemoCache(size) {
|
|
9587
|
-
var memoCache = null
|
|
10090
|
+
var memoCache = null;
|
|
10091
|
+
var updateQueue = currentlyRenderingFiber.updateQueue;
|
|
9588
10092
|
null !== updateQueue && (memoCache = updateQueue.memoCache);
|
|
9589
10093
|
if (null == memoCache) {
|
|
9590
10094
|
var current = currentlyRenderingFiber.alternate;
|
|
@@ -9642,7 +10146,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9642
10146
|
var queue = hook.queue;
|
|
9643
10147
|
if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");
|
|
9644
10148
|
queue.lastRenderedReducer = reducer;
|
|
9645
|
-
var baseQueue = hook.baseQueue
|
|
10149
|
+
var baseQueue = hook.baseQueue;
|
|
10150
|
+
var pendingQueue = queue.pending;
|
|
9646
10151
|
if (null !== pendingQueue) {
|
|
9647
10152
|
if (null !== baseQueue) {
|
|
9648
10153
|
var baseFirst = baseQueue.next;
|
|
@@ -9657,7 +10162,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9657
10162
|
if (null === baseQueue) hook.memoizedState = pendingQueue;
|
|
9658
10163
|
else {
|
|
9659
10164
|
current = baseQueue.next;
|
|
9660
|
-
var newBaseQueueFirst = baseFirst = null
|
|
10165
|
+
var newBaseQueueFirst = baseFirst = null;
|
|
10166
|
+
var newBaseQueueLast = null;
|
|
10167
|
+
var update = current;
|
|
10168
|
+
var didReadFromEntangledAsyncAction = !1;
|
|
9661
10169
|
do {
|
|
9662
10170
|
var updateLane = update.lane & -536870913;
|
|
9663
10171
|
if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
|
|
@@ -9709,10 +10217,13 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9709
10217
|
return [hook.memoizedState, queue.dispatch];
|
|
9710
10218
|
}
|
|
9711
10219
|
function rerenderReducer(reducer) {
|
|
9712
|
-
var hook = updateWorkInProgressHook()
|
|
10220
|
+
var hook = updateWorkInProgressHook();
|
|
10221
|
+
var queue = hook.queue;
|
|
9713
10222
|
if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");
|
|
9714
10223
|
queue.lastRenderedReducer = reducer;
|
|
9715
|
-
var dispatch = queue.dispatch
|
|
10224
|
+
var dispatch = queue.dispatch;
|
|
10225
|
+
var lastRenderPhaseUpdate = queue.pending;
|
|
10226
|
+
var newState = hook.memoizedState;
|
|
9716
10227
|
if (null !== lastRenderPhaseUpdate) {
|
|
9717
10228
|
queue.pending = null;
|
|
9718
10229
|
var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next;
|
|
@@ -9727,7 +10238,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9727
10238
|
return [newState, dispatch];
|
|
9728
10239
|
}
|
|
9729
10240
|
function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
|
9730
|
-
var fiber = currentlyRenderingFiber
|
|
10241
|
+
var fiber = currentlyRenderingFiber;
|
|
10242
|
+
var hook = mountWorkInProgressHook();
|
|
9731
10243
|
if (isHydrating) {
|
|
9732
10244
|
if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
|
|
9733
10245
|
var nextSnapshot = getServerSnapshot();
|
|
@@ -9750,7 +10262,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9750
10262
|
return nextSnapshot;
|
|
9751
10263
|
}
|
|
9752
10264
|
function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
|
9753
|
-
var fiber = currentlyRenderingFiber
|
|
10265
|
+
var fiber = currentlyRenderingFiber;
|
|
10266
|
+
var hook = updateWorkInProgressHook();
|
|
10267
|
+
var isHydrating$jscomp$0 = isHydrating;
|
|
9754
10268
|
if (isHydrating$jscomp$0) {
|
|
9755
10269
|
if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
|
|
9756
10270
|
getServerSnapshot = getServerSnapshot();
|
|
@@ -9828,7 +10342,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9828
10342
|
}
|
|
9829
10343
|
function mountState(initialState) {
|
|
9830
10344
|
initialState = mountStateImpl(initialState);
|
|
9831
|
-
var queue = initialState.queue
|
|
10345
|
+
var queue = initialState.queue;
|
|
10346
|
+
var dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);
|
|
9832
10347
|
queue.dispatch = dispatch;
|
|
9833
10348
|
return [initialState.memoizedState, dispatch];
|
|
9834
10349
|
}
|
|
@@ -9884,13 +10399,17 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
9884
10399
|
}
|
|
9885
10400
|
}
|
|
9886
10401
|
function runActionStateAction(actionQueue, node) {
|
|
9887
|
-
var action = node.action
|
|
10402
|
+
var action = node.action;
|
|
10403
|
+
var payload = node.payload;
|
|
10404
|
+
var prevState = actionQueue.state;
|
|
9888
10405
|
if (node.isTransition) {
|
|
9889
|
-
var prevTransition = ReactSharedInternals.T
|
|
10406
|
+
var prevTransition = ReactSharedInternals.T;
|
|
10407
|
+
var currentTransition = {};
|
|
9890
10408
|
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
9891
10409
|
ReactSharedInternals.T = currentTransition;
|
|
9892
10410
|
try {
|
|
9893
|
-
var returnValue = action(prevState, payload)
|
|
10411
|
+
var returnValue = action(prevState, payload);
|
|
10412
|
+
var onStartTransitionFinish = ReactSharedInternals.S;
|
|
9894
10413
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
9895
10414
|
handleActionReturnValue(actionQueue, node, returnValue);
|
|
9896
10415
|
} catch (error) {
|
|
@@ -10004,7 +10523,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10004
10523
|
}
|
|
10005
10524
|
else state = currentStateHook;
|
|
10006
10525
|
currentStateHook = updateWorkInProgressHook();
|
|
10007
|
-
var actionQueue = currentStateHook.queue
|
|
10526
|
+
var actionQueue = currentStateHook.queue;
|
|
10527
|
+
var dispatch = actionQueue.dispatch;
|
|
10008
10528
|
action !== currentStateHook.memoizedState && (currentlyRenderingFiber.flags |= 2048, pushSimpleEffect(HasEffect | Passive, { destroy: void 0 }, actionStateActionEffect.bind(null, actionQueue, action), null));
|
|
10009
10529
|
return [
|
|
10010
10530
|
state,
|
|
@@ -10016,7 +10536,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10016
10536
|
actionQueue.action = action;
|
|
10017
10537
|
}
|
|
10018
10538
|
function rerenderActionState(action) {
|
|
10019
|
-
var stateHook = updateWorkInProgressHook()
|
|
10539
|
+
var stateHook = updateWorkInProgressHook();
|
|
10540
|
+
var currentStateHook = currentHook;
|
|
10020
10541
|
if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action);
|
|
10021
10542
|
updateWorkInProgressHook();
|
|
10022
10543
|
stateHook = stateHook.memoizedState;
|
|
@@ -10072,7 +10593,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10072
10593
|
}
|
|
10073
10594
|
}
|
|
10074
10595
|
function mountEvent(callback) {
|
|
10075
|
-
var hook = mountWorkInProgressHook()
|
|
10596
|
+
var hook = mountWorkInProgressHook();
|
|
10597
|
+
var ref = { impl: callback };
|
|
10076
10598
|
hook.memoizedState = ref;
|
|
10077
10599
|
return function() {
|
|
10078
10600
|
if ((executionContext & RenderContext) !== NoContext) throw Error("A function wrapped in useEffectEvent can't be called during rendering.");
|
|
@@ -10196,12 +10718,14 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10196
10718
|
function startTransition(fiber, queue, pendingState, finishedState, callback) {
|
|
10197
10719
|
var previousPriority = getCurrentUpdatePriority();
|
|
10198
10720
|
setCurrentUpdatePriority(0 !== previousPriority && 8 > previousPriority ? previousPriority : 8);
|
|
10199
|
-
var prevTransition = ReactSharedInternals.T
|
|
10721
|
+
var prevTransition = ReactSharedInternals.T;
|
|
10722
|
+
var currentTransition = {};
|
|
10200
10723
|
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
10201
10724
|
ReactSharedInternals.T = currentTransition;
|
|
10202
10725
|
dispatchOptimisticSetState(fiber, !1, queue, pendingState);
|
|
10203
10726
|
try {
|
|
10204
|
-
var returnValue = callback()
|
|
10727
|
+
var returnValue = callback();
|
|
10728
|
+
var onStartTransitionFinish = ReactSharedInternals.S;
|
|
10205
10729
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
10206
10730
|
if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) {
|
|
10207
10731
|
ReactSharedInternals.asyncTransitions++;
|
|
@@ -10261,18 +10785,21 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10261
10785
|
return [!1, stateHook];
|
|
10262
10786
|
}
|
|
10263
10787
|
function updateTransition() {
|
|
10264
|
-
var booleanOrThenable = updateReducer(basicStateReducer)[0]
|
|
10788
|
+
var booleanOrThenable = updateReducer(basicStateReducer)[0];
|
|
10789
|
+
var start = updateWorkInProgressHook().memoizedState;
|
|
10265
10790
|
return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
|
|
10266
10791
|
}
|
|
10267
10792
|
function rerenderTransition() {
|
|
10268
|
-
var booleanOrThenable = rerenderReducer(basicStateReducer)[0]
|
|
10793
|
+
var booleanOrThenable = rerenderReducer(basicStateReducer)[0];
|
|
10794
|
+
var start = updateWorkInProgressHook().memoizedState;
|
|
10269
10795
|
return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
|
|
10270
10796
|
}
|
|
10271
10797
|
function useHostTransitionStatus() {
|
|
10272
10798
|
return readContext(HostTransitionContext);
|
|
10273
10799
|
}
|
|
10274
10800
|
function mountId() {
|
|
10275
|
-
var hook = mountWorkInProgressHook()
|
|
10801
|
+
var hook = mountWorkInProgressHook();
|
|
10802
|
+
var identifierPrefix = workInProgressRoot.identifierPrefix;
|
|
10276
10803
|
if (isHydrating) {
|
|
10277
10804
|
var treeId = treeContextOverflow;
|
|
10278
10805
|
var idWithLeadingBit = treeContextId;
|
|
@@ -10292,7 +10819,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10292
10819
|
switch (provider.tag) {
|
|
10293
10820
|
case 24:
|
|
10294
10821
|
case 3:
|
|
10295
|
-
var lane = requestUpdateLane(provider)
|
|
10822
|
+
var lane = requestUpdateLane(provider);
|
|
10823
|
+
var refreshUpdate = createUpdate(lane);
|
|
10824
|
+
var root = enqueueUpdate(provider, refreshUpdate, lane);
|
|
10296
10825
|
null !== root && (startUpdateTimerByLane(lane, "refresh()", fiber), scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane));
|
|
10297
10826
|
fiber = createCache();
|
|
10298
10827
|
null !== seedKey && void 0 !== seedKey && null !== root && console.error("The seed argument is not enabled outside experimental channels.");
|
|
@@ -10340,7 +10869,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10340
10869
|
var prevDispatcher = ReactSharedInternals.H;
|
|
10341
10870
|
ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
|
|
10342
10871
|
try {
|
|
10343
|
-
var currentState = queue.lastRenderedState
|
|
10872
|
+
var currentState = queue.lastRenderedState;
|
|
10873
|
+
var eagerState = alternate(currentState, action);
|
|
10344
10874
|
update.hasEagerState = !0;
|
|
10345
10875
|
update.eagerState = eagerState;
|
|
10346
10876
|
if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1;
|
|
@@ -10395,7 +10925,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10395
10925
|
}
|
|
10396
10926
|
}
|
|
10397
10927
|
function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) {
|
|
10398
|
-
var prevState = workInProgress.memoizedState
|
|
10928
|
+
var prevState = workInProgress.memoizedState;
|
|
10929
|
+
var partialState = getDerivedStateFromProps(nextProps, prevState);
|
|
10399
10930
|
if (workInProgress.mode & 8) {
|
|
10400
10931
|
setIsStrictModeForDevtools(!0);
|
|
10401
10932
|
try {
|
|
@@ -10600,7 +11131,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10600
11131
|
return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);
|
|
10601
11132
|
}
|
|
10602
11133
|
function updateOffscreenComponent(current, workInProgress, renderLanes, nextProps) {
|
|
10603
|
-
var nextChildren = nextProps.children
|
|
11134
|
+
var nextChildren = nextProps.children;
|
|
11135
|
+
var prevState = null !== current ? current.memoizedState : null;
|
|
10604
11136
|
null === current && null === workInProgress.stateNode && (workInProgress.stateNode = {
|
|
10605
11137
|
_visibility: OffscreenVisible,
|
|
10606
11138
|
_pendingMarkers: null,
|
|
@@ -10673,7 +11205,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10673
11205
|
return current;
|
|
10674
11206
|
}
|
|
10675
11207
|
function updateActivityComponent(current, workInProgress, renderLanes) {
|
|
10676
|
-
var nextProps = workInProgress.pendingProps
|
|
11208
|
+
var nextProps = workInProgress.pendingProps;
|
|
11209
|
+
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
10677
11210
|
workInProgress.flags &= -129;
|
|
10678
11211
|
if (null === current) {
|
|
10679
11212
|
if (isHydrating) {
|
|
@@ -10759,7 +11292,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10759
11292
|
function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) {
|
|
10760
11293
|
switch (shouldErrorImpl(workInProgress)) {
|
|
10761
11294
|
case !1:
|
|
10762
|
-
var _instance = workInProgress.stateNode
|
|
11295
|
+
var _instance = workInProgress.stateNode;
|
|
11296
|
+
var state = new workInProgress.type(workInProgress.memoizedProps, _instance.context).state;
|
|
10763
11297
|
_instance.updater.enqueueSetState(_instance, state, null);
|
|
10764
11298
|
break;
|
|
10765
11299
|
case !0:
|
|
@@ -10936,7 +11470,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10936
11470
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
10937
11471
|
var nextProps = workInProgress.pendingProps;
|
|
10938
11472
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
10939
|
-
var showFallback = !1
|
|
11473
|
+
var showFallback = !1;
|
|
11474
|
+
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
11475
|
+
var JSCompiler_temp;
|
|
10940
11476
|
(JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
10941
11477
|
JSCompiler_temp && (showFallback = !0, workInProgress.flags &= -129);
|
|
10942
11478
|
JSCompiler_temp = 0 !== (workInProgress.flags & 32);
|
|
@@ -11046,7 +11582,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11046
11582
|
} : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode, renderState.treeForkCount = treeForkCount);
|
|
11047
11583
|
}
|
|
11048
11584
|
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
|
11049
|
-
var nextProps = workInProgress.pendingProps
|
|
11585
|
+
var nextProps = workInProgress.pendingProps;
|
|
11586
|
+
var revealOrder = nextProps.revealOrder;
|
|
11587
|
+
var tailMode = nextProps.tail;
|
|
11588
|
+
var newChildren = nextProps.children;
|
|
11589
|
+
var suspenseContext = suspenseStackCursor.current;
|
|
11050
11590
|
(nextProps = 0 !== (suspenseContext & ForceSuspenseFallback)) ? (suspenseContext = suspenseContext & SubtreeSuspenseContextMask | ForceSuspenseFallback, workInProgress.flags |= 128) : suspenseContext &= SubtreeSuspenseContextMask;
|
|
11051
11591
|
push(suspenseStackCursor, suspenseContext, workInProgress);
|
|
11052
11592
|
suspenseContext = null == revealOrder ? "null" : revealOrder;
|
|
@@ -11417,7 +11957,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11417
11957
|
function updateHostContainer(current, workInProgress) {
|
|
11418
11958
|
if (supportsPersistence && doesRequireClone(current, workInProgress)) {
|
|
11419
11959
|
current = workInProgress.stateNode;
|
|
11420
|
-
var container = current.containerInfo
|
|
11960
|
+
var container = current.containerInfo;
|
|
11961
|
+
var newChildSet = createContainerChildSet();
|
|
11421
11962
|
appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);
|
|
11422
11963
|
current.pendingChildren = newChildSet;
|
|
11423
11964
|
markUpdate(workInProgress);
|
|
@@ -11427,7 +11968,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11427
11968
|
function updateHostComponent(current, workInProgress, type, newProps) {
|
|
11428
11969
|
if (supportsMutation) current.memoizedProps !== newProps && markUpdate(workInProgress);
|
|
11429
11970
|
else if (supportsPersistence) {
|
|
11430
|
-
var currentInstance = current.stateNode
|
|
11971
|
+
var currentInstance = current.stateNode;
|
|
11972
|
+
var _oldProps = current.memoizedProps;
|
|
11431
11973
|
if ((current = doesRequireClone(current, workInProgress)) || _oldProps !== newProps) {
|
|
11432
11974
|
var currentHostContext = getHostContext();
|
|
11433
11975
|
_oldProps = cloneInstance(currentInstance, type, _oldProps, newProps, !current, null);
|
|
@@ -11466,7 +12008,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11466
12008
|
}
|
|
11467
12009
|
}
|
|
11468
12010
|
function bubbleProperties(completedWork) {
|
|
11469
|
-
var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child
|
|
12011
|
+
var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child;
|
|
12012
|
+
var newChildLanes = 0;
|
|
12013
|
+
var subtreeFlags = 0;
|
|
11470
12014
|
if (didBailout) if ((completedWork.mode & 2) !== NoMode) {
|
|
11471
12015
|
for (var _treeBaseDuration = completedWork.selfBaseDuration, _child2 = completedWork.child; null !== _child2;) newChildLanes |= _child2.lanes | _child2.childLanes, subtreeFlags |= _child2.subtreeFlags & 65011712, subtreeFlags |= _child2.flags & 65011712, _treeBaseDuration += _child2.treeBaseDuration, _child2 = _child2.sibling;
|
|
11472
12016
|
completedWork.treeBaseDuration = _treeBaseDuration;
|
|
@@ -11509,7 +12053,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11509
12053
|
bubbleProperties(workInProgress);
|
|
11510
12054
|
return null;
|
|
11511
12055
|
case 26: if (supportsResources) {
|
|
11512
|
-
var type = workInProgress.type
|
|
12056
|
+
var type = workInProgress.type;
|
|
12057
|
+
var nextResource = workInProgress.memoizedState;
|
|
11513
12058
|
null === current ? (markUpdate(workInProgress), null !== nextResource ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, null, newProps, renderLanes))) : nextResource ? nextResource !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217) : (nextResource = current.memoizedProps, supportsMutation ? nextResource !== newProps && markUpdate(workInProgress) : updateHostComponent(current, workInProgress, type, newProps), bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, nextResource, newProps, renderLanes));
|
|
11514
12059
|
return null;
|
|
11515
12060
|
}
|
|
@@ -11767,7 +12312,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11767
12312
|
}
|
|
11768
12313
|
function commitHookEffectListMount(flags, finishedWork) {
|
|
11769
12314
|
try {
|
|
11770
|
-
var updateQueue = finishedWork.updateQueue
|
|
12315
|
+
var updateQueue = finishedWork.updateQueue;
|
|
12316
|
+
var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
|
|
11771
12317
|
if (null !== lastEffect) {
|
|
11772
12318
|
var firstEffect = lastEffect.next;
|
|
11773
12319
|
updateQueue = firstEffect;
|
|
@@ -11790,13 +12336,15 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11790
12336
|
}
|
|
11791
12337
|
function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor) {
|
|
11792
12338
|
try {
|
|
11793
|
-
var updateQueue = finishedWork.updateQueue
|
|
12339
|
+
var updateQueue = finishedWork.updateQueue;
|
|
12340
|
+
var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
|
|
11794
12341
|
if (null !== lastEffect) {
|
|
11795
12342
|
var firstEffect = lastEffect.next;
|
|
11796
12343
|
updateQueue = firstEffect;
|
|
11797
12344
|
do {
|
|
11798
12345
|
if ((updateQueue.tag & flags) === flags) {
|
|
11799
|
-
var inst = updateQueue.inst
|
|
12346
|
+
var inst = updateQueue.inst;
|
|
12347
|
+
var destroy = inst.destroy;
|
|
11800
12348
|
void 0 !== destroy && (inst.destroy = void 0, (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !0), lastEffect = finishedWork, runWithFiberInDEV(lastEffect, callDestroyInDEV, lastEffect, nearestMountedAncestor, destroy), (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !1));
|
|
11801
12349
|
}
|
|
11802
12350
|
updateQueue = updateQueue.next;
|
|
@@ -11828,7 +12376,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11828
12376
|
return instance.getSnapshotBeforeUpdate(prevProps, prevState);
|
|
11829
12377
|
}
|
|
11830
12378
|
function commitClassSnapshot(finishedWork, current) {
|
|
11831
|
-
var prevProps = current.memoizedProps
|
|
12379
|
+
var prevProps = current.memoizedProps;
|
|
12380
|
+
var prevState = current.memoizedState;
|
|
11832
12381
|
current = finishedWork.stateNode;
|
|
11833
12382
|
finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (current.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), current.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"));
|
|
11834
12383
|
try {
|
|
@@ -11879,7 +12428,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11879
12428
|
}
|
|
11880
12429
|
}
|
|
11881
12430
|
function safelyDetachRef(current, nearestMountedAncestor) {
|
|
11882
|
-
var ref = current.ref
|
|
12431
|
+
var ref = current.ref;
|
|
12432
|
+
var refCleanup = current.refCleanup;
|
|
11883
12433
|
if (null !== ref) if ("function" === typeof refCleanup) try {
|
|
11884
12434
|
if (shouldProfile(current)) try {
|
|
11885
12435
|
startEffectTimer(), runWithFiberInDEV(current, refCleanup);
|
|
@@ -11905,7 +12455,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11905
12455
|
else ref.current = null;
|
|
11906
12456
|
}
|
|
11907
12457
|
function commitProfiler(finishedWork, current, commitStartTime, effectDuration) {
|
|
11908
|
-
var _finishedWork$memoize = finishedWork.memoizedProps
|
|
12458
|
+
var _finishedWork$memoize = finishedWork.memoizedProps;
|
|
12459
|
+
var id = _finishedWork$memoize.id;
|
|
12460
|
+
var onCommit = _finishedWork$memoize.onCommit;
|
|
11909
12461
|
_finishedWork$memoize = _finishedWork$memoize.onRender;
|
|
11910
12462
|
current = null === current ? "mount" : "update";
|
|
11911
12463
|
currentUpdateIsNested && (current = "nested-update");
|
|
@@ -11921,7 +12473,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
11921
12473
|
"function" === typeof _finishedWork$memoize2 && _finishedWork$memoize2(finishedWork, current, passiveEffectDuration, commitStartTime);
|
|
11922
12474
|
}
|
|
11923
12475
|
function commitHostMount(finishedWork) {
|
|
11924
|
-
var type = finishedWork.type
|
|
12476
|
+
var type = finishedWork.type;
|
|
12477
|
+
var props = finishedWork.memoizedProps;
|
|
12478
|
+
var instance = finishedWork.stateNode;
|
|
11925
12479
|
try {
|
|
11926
12480
|
runWithFiberInDEV(finishedWork, commitMount, instance, type, props, finishedWork);
|
|
11927
12481
|
} catch (error) {
|
|
@@ -12006,7 +12560,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12006
12560
|
}
|
|
12007
12561
|
}
|
|
12008
12562
|
function commitHostSingletonAcquisition(finishedWork) {
|
|
12009
|
-
var singleton = finishedWork.stateNode
|
|
12563
|
+
var singleton = finishedWork.stateNode;
|
|
12564
|
+
var props = finishedWork.memoizedProps;
|
|
12010
12565
|
try {
|
|
12011
12566
|
runWithFiberInDEV(finishedWork, acquireSingletonInstance, finishedWork.type, props, singleton, finishedWork);
|
|
12012
12567
|
} catch (error) {
|
|
@@ -12021,7 +12576,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12021
12576
|
for (nextEffect = firstChild; null !== nextEffect;) if (root = nextEffect, firstChild = root.child, 0 !== (root.subtreeFlags & 1028) && null !== firstChild) firstChild.return = root, nextEffect = firstChild;
|
|
12022
12577
|
else for (; null !== nextEffect;) {
|
|
12023
12578
|
firstChild = root = nextEffect;
|
|
12024
|
-
var current = firstChild.alternate
|
|
12579
|
+
var current = firstChild.alternate;
|
|
12580
|
+
var flags = firstChild.flags;
|
|
12025
12581
|
switch (firstChild.tag) {
|
|
12026
12582
|
case 0:
|
|
12027
12583
|
if (0 !== (flags & 4) && (firstChild = firstChild.updateQueue, firstChild = null !== firstChild ? firstChild.events : null, null !== firstChild)) for (current = 0; current < firstChild.length; current++) flags = firstChild[current], flags.ref.impl = flags.nextImpl;
|
|
@@ -12052,7 +12608,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12052
12608
|
}
|
|
12053
12609
|
}
|
|
12054
12610
|
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
12055
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
12611
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
12612
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
12613
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
12614
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
12615
|
+
var flags = finishedWork.flags;
|
|
12056
12616
|
switch (finishedWork.tag) {
|
|
12057
12617
|
case 0:
|
|
12058
12618
|
case 11:
|
|
@@ -12180,7 +12740,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12180
12740
|
} catch (err) {
|
|
12181
12741
|
hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %o", err));
|
|
12182
12742
|
}
|
|
12183
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
12743
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
12744
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
12745
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
12746
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
12184
12747
|
switch (deletedFiber.tag) {
|
|
12185
12748
|
case 26: if (supportsResources) {
|
|
12186
12749
|
offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
|
@@ -12190,7 +12753,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12190
12753
|
}
|
|
12191
12754
|
case 27: if (supportsSingletons) {
|
|
12192
12755
|
offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
|
12193
|
-
var prevHostParent = hostParent
|
|
12756
|
+
var prevHostParent = hostParent;
|
|
12757
|
+
var prevHostParentIsContainer = hostParentIsContainer;
|
|
12194
12758
|
isSingletonScope(deletedFiber.type) && (hostParent = deletedFiber.stateNode, hostParentIsContainer = !1);
|
|
12195
12759
|
recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
|
|
12196
12760
|
runWithFiberInDEV(deletedFiber, releaseSingletonInstance, deletedFiber.stateNode);
|
|
@@ -12291,7 +12855,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12291
12855
|
function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
12292
12856
|
var deletions = parentFiber.deletions;
|
|
12293
12857
|
if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
|
|
12294
|
-
var root = root$jscomp$0
|
|
12858
|
+
var root = root$jscomp$0;
|
|
12859
|
+
var returnFiber = parentFiber;
|
|
12860
|
+
var deletedFiber = deletions[i];
|
|
12861
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
12295
12862
|
if (supportsMutation) {
|
|
12296
12863
|
var parent = returnFiber;
|
|
12297
12864
|
a: for (; null !== parent;) {
|
|
@@ -12331,7 +12898,12 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12331
12898
|
if (parentFiber.subtreeFlags & 13886) for (parentFiber = parentFiber.child; null !== parentFiber;) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), parentFiber = parentFiber.sibling;
|
|
12332
12899
|
}
|
|
12333
12900
|
function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
12334
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
12901
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
12902
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
12903
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
12904
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
12905
|
+
var current = finishedWork.alternate;
|
|
12906
|
+
var flags = finishedWork.flags;
|
|
12335
12907
|
switch (finishedWork.tag) {
|
|
12336
12908
|
case 0:
|
|
12337
12909
|
case 11:
|
|
@@ -12446,7 +13018,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12446
13018
|
break;
|
|
12447
13019
|
case 22:
|
|
12448
13020
|
hoistableRoot = null !== finishedWork.memoizedState;
|
|
12449
|
-
var wasHidden = null !== current && null !== current.memoizedState
|
|
13021
|
+
var wasHidden = null !== current && null !== current.memoizedState;
|
|
13022
|
+
var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden;
|
|
13023
|
+
var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
|
|
12450
13024
|
offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;
|
|
12451
13025
|
offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden;
|
|
12452
13026
|
recursivelyTraverseMutationEffects(root, finishedWork);
|
|
@@ -12542,7 +13116,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12542
13116
|
if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber;) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), parentFiber = parentFiber.sibling;
|
|
12543
13117
|
}
|
|
12544
13118
|
function disappearLayoutEffects(finishedWork) {
|
|
12545
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
13119
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
13120
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
13121
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
13122
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
12546
13123
|
switch (finishedWork.tag) {
|
|
12547
13124
|
case 0:
|
|
12548
13125
|
case 11:
|
|
@@ -12581,7 +13158,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12581
13158
|
for (parentFiber = parentFiber.child; null !== parentFiber;) disappearLayoutEffects(parentFiber), parentFiber = parentFiber.sibling;
|
|
12582
13159
|
}
|
|
12583
13160
|
function reappearLayoutEffects(finishedRoot, current, finishedWork, includeWorkInProgressEffects) {
|
|
12584
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
13161
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
13162
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
13163
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
13164
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
13165
|
+
var flags = finishedWork.flags;
|
|
12585
13166
|
switch (finishedWork.tag) {
|
|
12586
13167
|
case 0:
|
|
12587
13168
|
case 11:
|
|
@@ -12671,7 +13252,12 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12671
13252
|
}
|
|
12672
13253
|
}
|
|
12673
13254
|
function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime) {
|
|
12674
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
13255
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
13256
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
13257
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
13258
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
13259
|
+
var prevDeepEquality = alreadyWarnedForDeepEquality;
|
|
13260
|
+
var flags = finishedWork.flags;
|
|
12675
13261
|
switch (finishedWork.tag) {
|
|
12676
13262
|
case 0:
|
|
12677
13263
|
case 11:
|
|
@@ -12685,7 +13271,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12685
13271
|
recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime);
|
|
12686
13272
|
break;
|
|
12687
13273
|
case 3:
|
|
12688
|
-
var prevProfilerEffectDuration = pushNestedEffectDurations()
|
|
13274
|
+
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
|
13275
|
+
var wasInHydratedSubtree = inHydratedSubtree;
|
|
12689
13276
|
inHydratedSubtree = null !== finishedWork.alternate && finishedWork.alternate.memoizedState.isDehydrated && 0 === (finishedWork.flags & 256);
|
|
12690
13277
|
recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime);
|
|
12691
13278
|
inHydratedSubtree = wasInHydratedSubtree;
|
|
@@ -12753,7 +13340,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12753
13340
|
}
|
|
12754
13341
|
}
|
|
12755
13342
|
function reconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime) {
|
|
12756
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
13343
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
13344
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
13345
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
13346
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
13347
|
+
var prevDeepEquality = alreadyWarnedForDeepEquality;
|
|
12757
13348
|
includeWorkInProgressEffects && (finishedWork.mode & 2) !== NoMode && 0 < finishedWork.actualStartTime && 0 !== (finishedWork.flags & 1) && logComponentRender(finishedWork, finishedWork.actualStartTime, endTime, inHydratedSubtree, committedLanes);
|
|
12758
13349
|
var flags = finishedWork.flags;
|
|
12759
13350
|
switch (finishedWork.tag) {
|
|
@@ -12785,7 +13376,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12785
13376
|
function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, endTime$jscomp$0) {
|
|
12786
13377
|
if (parentFiber.subtreeFlags & 10256 || 0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child)) for (var child = parentFiber.child; null !== child;) {
|
|
12787
13378
|
parentFiber = child.sibling;
|
|
12788
|
-
var finishedRoot = finishedRoot$jscomp$0
|
|
13379
|
+
var finishedRoot = finishedRoot$jscomp$0;
|
|
13380
|
+
var committedLanes = committedLanes$jscomp$0;
|
|
13381
|
+
var committedTransitions = committedTransitions$jscomp$0;
|
|
13382
|
+
var endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0;
|
|
13383
|
+
var prevDeepEquality = alreadyWarnedForDeepEquality;
|
|
12789
13384
|
(child.mode & 2) !== NoMode && 0 < child.actualStartTime && 0 !== (child.flags & 1) && logComponentRender(child, child.actualStartTime, endTime, inHydratedSubtree, committedLanes);
|
|
12790
13385
|
var flags = child.flags;
|
|
12791
13386
|
switch (child.tag) {
|
|
@@ -12812,7 +13407,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12812
13407
|
recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState);
|
|
12813
13408
|
if (fiber.flags & suspenseyCommitFlag) if (null !== fiber.memoizedState) suspendResource(suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps);
|
|
12814
13409
|
else {
|
|
12815
|
-
var instance = fiber.stateNode
|
|
13410
|
+
var instance = fiber.stateNode;
|
|
13411
|
+
var type = fiber.type;
|
|
12816
13412
|
fiber = fiber.memoizedProps;
|
|
12817
13413
|
((committedLanes & 335544128) === committedLanes || maySuspendCommitInSyncRender(type, fiber)) && suspendInstance(suspendedState, instance, type, fiber);
|
|
12818
13414
|
}
|
|
@@ -12844,7 +13440,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12844
13440
|
var deletions = parentFiber.deletions;
|
|
12845
13441
|
if (0 !== (parentFiber.flags & 16)) {
|
|
12846
13442
|
if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
|
|
12847
|
-
var childToDelete = deletions[i]
|
|
13443
|
+
var childToDelete = deletions[i];
|
|
13444
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
12848
13445
|
nextEffect = childToDelete;
|
|
12849
13446
|
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber);
|
|
12850
13447
|
(childToDelete.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && .05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount");
|
|
@@ -12855,7 +13452,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12855
13452
|
if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) commitPassiveUnmountOnFiber(parentFiber), parentFiber = parentFiber.sibling;
|
|
12856
13453
|
}
|
|
12857
13454
|
function commitPassiveUnmountOnFiber(finishedWork) {
|
|
12858
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
13455
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
13456
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
13457
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
13458
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
12859
13459
|
switch (finishedWork.tag) {
|
|
12860
13460
|
case 0:
|
|
12861
13461
|
case 11:
|
|
@@ -12889,7 +13489,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12889
13489
|
var deletions = parentFiber.deletions;
|
|
12890
13490
|
if (0 !== (parentFiber.flags & 16)) {
|
|
12891
13491
|
if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
|
|
12892
|
-
var childToDelete = deletions[i]
|
|
13492
|
+
var childToDelete = deletions[i];
|
|
13493
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
12893
13494
|
nextEffect = childToDelete;
|
|
12894
13495
|
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber);
|
|
12895
13496
|
(childToDelete.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && .05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount");
|
|
@@ -12900,7 +13501,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12900
13501
|
for (parentFiber = parentFiber.child; null !== parentFiber;) disconnectPassiveEffect(parentFiber), parentFiber = parentFiber.sibling;
|
|
12901
13502
|
}
|
|
12902
13503
|
function disconnectPassiveEffect(finishedWork) {
|
|
12903
|
-
var prevEffectStart = pushComponentEffectStart()
|
|
13504
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
13505
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
13506
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
13507
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
12904
13508
|
switch (finishedWork.tag) {
|
|
12905
13509
|
case 0:
|
|
12906
13510
|
case 11:
|
|
@@ -12922,7 +13526,13 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12922
13526
|
}
|
|
12923
13527
|
function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor$jscomp$0) {
|
|
12924
13528
|
for (; null !== nextEffect;) {
|
|
12925
|
-
var fiber = nextEffect
|
|
13529
|
+
var fiber = nextEffect;
|
|
13530
|
+
var current = fiber;
|
|
13531
|
+
var nearestMountedAncestor = nearestMountedAncestor$jscomp$0;
|
|
13532
|
+
var prevEffectStart = pushComponentEffectStart();
|
|
13533
|
+
var prevEffectDuration = pushComponentEffectDuration();
|
|
13534
|
+
var prevEffectErrors = pushComponentEffectErrors();
|
|
13535
|
+
var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
|
|
12926
13536
|
switch (current.tag) {
|
|
12927
13537
|
case 0:
|
|
12928
13538
|
case 11:
|
|
@@ -12981,7 +13591,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
12981
13591
|
selector = selector.value;
|
|
12982
13592
|
fiber$jscomp$0 = [fiber$jscomp$0, 0];
|
|
12983
13593
|
for (tag = 0; tag < fiber$jscomp$0.length;) {
|
|
12984
|
-
var fiber = fiber$jscomp$0[tag++]
|
|
13594
|
+
var fiber = fiber$jscomp$0[tag++];
|
|
13595
|
+
var tag$jscomp$0 = fiber.tag;
|
|
13596
|
+
var selectorIndex = fiber$jscomp$0[tag++];
|
|
13597
|
+
var selector$jscomp$0 = selector[selectorIndex];
|
|
12985
13598
|
if (5 !== tag$jscomp$0 && 26 !== tag$jscomp$0 && 27 !== tag$jscomp$0 || !isHiddenSubtree(fiber)) {
|
|
12986
13599
|
for (; null != selector$jscomp$0 && matchSelector(fiber, selector$jscomp$0);) selectorIndex++, selector$jscomp$0 = selector[selectorIndex];
|
|
12987
13600
|
if (selectorIndex === selector.length) {
|
|
@@ -13024,7 +13637,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13024
13637
|
var matchingFibers = [];
|
|
13025
13638
|
root = [root, 0];
|
|
13026
13639
|
for (var index = 0; index < root.length;) {
|
|
13027
|
-
var fiber = root[index++]
|
|
13640
|
+
var fiber = root[index++];
|
|
13641
|
+
var tag = fiber.tag;
|
|
13642
|
+
var selectorIndex = root[index++];
|
|
13643
|
+
var selector = selectors[selectorIndex];
|
|
13028
13644
|
if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
|
|
13029
13645
|
for (; null != selector && matchSelector(fiber, selector);) selectorIndex++, selector = selectors[selectorIndex];
|
|
13030
13646
|
if (selectorIndex === selectors.length) matchingFibers.push(fiber);
|
|
@@ -13040,7 +13656,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13040
13656
|
selectors = [];
|
|
13041
13657
|
hostRoot = Array.from(hostRoot);
|
|
13042
13658
|
for (var index = 0; index < hostRoot.length;) {
|
|
13043
|
-
var node = hostRoot[index++]
|
|
13659
|
+
var node = hostRoot[index++];
|
|
13660
|
+
var tag = node.tag;
|
|
13044
13661
|
if (5 === tag || 26 === tag || 27 === tag) isHiddenSubtree(node) || selectors.push(node.stateNode);
|
|
13045
13662
|
else for (node = node.child; null !== node;) hostRoot.push(node), node = node.sibling;
|
|
13046
13663
|
}
|
|
@@ -13092,7 +13709,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13092
13709
|
function performWorkOnRoot(root, lanes, forceSync) {
|
|
13093
13710
|
if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Should not already be working.");
|
|
13094
13711
|
if (0 !== workInProgressRootRenderLanes && null !== workInProgress) {
|
|
13095
|
-
var yieldedFiber = workInProgress
|
|
13712
|
+
var yieldedFiber = workInProgress;
|
|
13713
|
+
var yieldEndTime = now$1();
|
|
13096
13714
|
switch (yieldReason) {
|
|
13097
13715
|
case SuspendedOnImmediate:
|
|
13098
13716
|
case SuspendedOnData:
|
|
@@ -13210,7 +13828,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13210
13828
|
}
|
|
13211
13829
|
function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane, updatedLanes, suspendedRetryLanes, didSkipSuspendedSiblings, exitStatus, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) {
|
|
13212
13830
|
root.timeoutHandle = noTimeout;
|
|
13213
|
-
var subtreeFlags = finishedWork.subtreeFlags
|
|
13831
|
+
var subtreeFlags = finishedWork.subtreeFlags;
|
|
13832
|
+
var suspendedState = null;
|
|
13214
13833
|
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) {
|
|
13215
13834
|
if (suspendedState = startSuspendingCommit(), accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0, subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags), null !== subtreeFlags) {
|
|
13216
13835
|
pendingEffectsLanes = lanes;
|
|
@@ -13225,7 +13844,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13225
13844
|
for (var node = finishedWork;;) {
|
|
13226
13845
|
var tag = node.tag;
|
|
13227
13846
|
if ((0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && (tag = node.updateQueue, null !== tag && (tag = tag.stores, null !== tag))) for (var i = 0; i < tag.length; i++) {
|
|
13228
|
-
var check = tag[i]
|
|
13847
|
+
var check = tag[i];
|
|
13848
|
+
var getSnapshot = check.getSnapshot;
|
|
13229
13849
|
check = check.value;
|
|
13230
13850
|
try {
|
|
13231
13851
|
if (!objectIs(getSnapshot(), check)) return !1;
|
|
@@ -13255,7 +13875,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13255
13875
|
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
|
|
13256
13876
|
didAttemptEntireTree = root.expirationTimes;
|
|
13257
13877
|
for (var lanes = suspendedLanes; 0 < lanes;) {
|
|
13258
|
-
var index = 31 - clz32(lanes)
|
|
13878
|
+
var index = 31 - clz32(lanes);
|
|
13879
|
+
var lane = 1 << index;
|
|
13259
13880
|
didAttemptEntireTree[index] = -1;
|
|
13260
13881
|
lanes &= ~lane;
|
|
13261
13882
|
}
|
|
@@ -13287,9 +13908,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13287
13908
|
setCurrentTrackFromLanes(workInProgressRootRenderLanes);
|
|
13288
13909
|
if (workInProgressRootExitStatus === RootSuspended || workInProgressRootExitStatus === RootSuspendedWithDelay) logSuspendedRenderPhase(previousRenderStartTime, renderStartTime, lanes, workInProgressUpdateTask);
|
|
13289
13910
|
else {
|
|
13290
|
-
var endTime = renderStartTime
|
|
13911
|
+
var endTime = renderStartTime;
|
|
13912
|
+
var debugTask = workInProgressUpdateTask;
|
|
13291
13913
|
if (supportsUserTiming && !(endTime <= previousRenderStartTime)) {
|
|
13292
|
-
var color = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark"
|
|
13914
|
+
var color = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark";
|
|
13915
|
+
var label = (lanes & 536870912) === lanes ? "Prewarm" : (lanes & 201326741) === lanes ? "Interrupted Hydration" : "Interrupted Render";
|
|
13293
13916
|
debugTask ? debugTask.run(console.timeStamp.bind(console, label, previousRenderStartTime, endTime, currentTrack, "Scheduler ⚛", color)) : console.timeStamp(label, previousRenderStartTime, endTime, currentTrack, "Scheduler ⚛", color);
|
|
13294
13917
|
}
|
|
13295
13918
|
}
|
|
@@ -13304,7 +13927,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13304
13927
|
color = 0 <= endTime ? endTime : 0 <= debugTask ? debugTask : renderStartTime;
|
|
13305
13928
|
0 <= blockingSuspendedTime && (setCurrentTrackFromLanes(2), logSuspendedWithDelayPhase(blockingSuspendedTime, color, lanes, previousRenderStartTime));
|
|
13306
13929
|
previousRenderStartTime = debugTask;
|
|
13307
|
-
var eventTime = endTime
|
|
13930
|
+
var eventTime = endTime;
|
|
13931
|
+
var eventType = blockingEventType;
|
|
13932
|
+
var eventIsRepeat = 0 < blockingEventRepeatTime;
|
|
13933
|
+
var isSpawnedUpdate = 1 === blockingUpdateType;
|
|
13934
|
+
var isPingedUpdate = 2 === blockingUpdateType;
|
|
13308
13935
|
debugTask = renderStartTime;
|
|
13309
13936
|
endTime = blockingUpdateTask;
|
|
13310
13937
|
color = blockingUpdateMethodName;
|
|
@@ -13410,7 +14037,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13410
14037
|
function renderRootSync(root, lanes, shouldYieldForPrerendering) {
|
|
13411
14038
|
var prevExecutionContext = executionContext;
|
|
13412
14039
|
executionContext |= RenderContext;
|
|
13413
|
-
var prevDispatcher = pushDispatcher()
|
|
14040
|
+
var prevDispatcher = pushDispatcher();
|
|
14041
|
+
var prevAsyncDispatcher = pushAsyncDispatcher();
|
|
13414
14042
|
if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) {
|
|
13415
14043
|
if (isDevToolsPresent) {
|
|
13416
14044
|
var memoizedUpdaters = root.memoizedUpdaters;
|
|
@@ -13425,7 +14053,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13425
14053
|
a: do
|
|
13426
14054
|
try {
|
|
13427
14055
|
if (workInProgressSuspendedReason !== NotSuspended && null !== workInProgress) {
|
|
13428
|
-
var unitOfWork = workInProgress
|
|
14056
|
+
var unitOfWork = workInProgress;
|
|
14057
|
+
var thrownValue = workInProgressThrownValue;
|
|
13429
14058
|
switch (workInProgressSuspendedReason) {
|
|
13430
14059
|
case SuspendedOnHydration:
|
|
13431
14060
|
resetWorkInProgressStack();
|
|
@@ -13469,7 +14098,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13469
14098
|
function renderRootConcurrent(root, lanes) {
|
|
13470
14099
|
var prevExecutionContext = executionContext;
|
|
13471
14100
|
executionContext |= RenderContext;
|
|
13472
|
-
var prevDispatcher = pushDispatcher()
|
|
14101
|
+
var prevDispatcher = pushDispatcher();
|
|
14102
|
+
var prevAsyncDispatcher = pushAsyncDispatcher();
|
|
13473
14103
|
if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) {
|
|
13474
14104
|
if (isDevToolsPresent) {
|
|
13475
14105
|
var memoizedUpdaters = root.memoizedUpdaters;
|
|
@@ -13517,7 +14147,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13517
14147
|
case 26: resource = workInProgress.memoizedState;
|
|
13518
14148
|
case 5:
|
|
13519
14149
|
case 27:
|
|
13520
|
-
var hostFiber = workInProgress
|
|
14150
|
+
var hostFiber = workInProgress;
|
|
14151
|
+
var type = hostFiber.type;
|
|
14152
|
+
var props = hostFiber.pendingProps;
|
|
13521
14153
|
if (resource ? preloadResource(resource) : preloadInstance(hostFiber.stateNode, type, props)) {
|
|
13522
14154
|
workInProgressSuspendedReason = NotSuspended;
|
|
13523
14155
|
workInProgressThrownValue = null;
|
|
@@ -13578,7 +14210,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13578
14210
|
null === next ? completeUnitOfWork(unitOfWork) : workInProgress = next;
|
|
13579
14211
|
}
|
|
13580
14212
|
function replayBeginWork(unitOfWork) {
|
|
13581
|
-
var current = unitOfWork.alternate
|
|
14213
|
+
var current = unitOfWork.alternate;
|
|
14214
|
+
var isProfilingMode = (unitOfWork.mode & 2) !== NoMode;
|
|
13582
14215
|
isProfilingMode && startProfilerTimer(unitOfWork);
|
|
13583
14216
|
switch (unitOfWork.tag) {
|
|
13584
14217
|
case 15:
|
|
@@ -13730,7 +14363,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13730
14363
|
function flushMutationEffects() {
|
|
13731
14364
|
if (pendingEffectsStatus === PENDING_MUTATION_PHASE) {
|
|
13732
14365
|
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
|
13733
|
-
var root = pendingEffectsRoot
|
|
14366
|
+
var root = pendingEffectsRoot;
|
|
14367
|
+
var finishedWork = pendingFinishedWork;
|
|
14368
|
+
var lanes = pendingEffectsLanes;
|
|
14369
|
+
var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
|
|
13734
14370
|
if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
|
|
13735
14371
|
rootMutationHasEffect = ReactSharedInternals.T;
|
|
13736
14372
|
ReactSharedInternals.T = null;
|
|
@@ -13754,7 +14390,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13754
14390
|
var suspendedViewTransitionReason = pendingSuspendedViewTransitionReason;
|
|
13755
14391
|
if (null !== suspendedViewTransitionReason) {
|
|
13756
14392
|
commitStartTime = now();
|
|
13757
|
-
var startTime = commitEndTime
|
|
14393
|
+
var startTime = commitEndTime;
|
|
14394
|
+
var endTime = commitStartTime;
|
|
13758
14395
|
!supportsUserTiming || endTime <= startTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, suspendedViewTransitionReason, startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-light")) : console.timeStamp(suspendedViewTransitionReason, startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-light"));
|
|
13759
14396
|
}
|
|
13760
14397
|
suspendedViewTransitionReason = pendingEffectsRoot;
|
|
@@ -13790,7 +14427,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13790
14427
|
if (pendingEffectsStatus === PENDING_SPAWNED_WORK) {
|
|
13791
14428
|
var startViewTransitionStartTime = commitEndTime;
|
|
13792
14429
|
commitEndTime = now();
|
|
13793
|
-
var endTime = commitEndTime
|
|
14430
|
+
var endTime = commitEndTime;
|
|
14431
|
+
var abortedViewTransition = pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
|
|
13794
14432
|
!supportsUserTiming || endTime <= startViewTransitionStartTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, endTime, currentTrack, "Scheduler ⚛", abortedViewTransition ? "error" : "secondary-light")) : console.timeStamp(abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, endTime, currentTrack, "Scheduler ⚛", abortedViewTransition ? " error" : "secondary-light"));
|
|
13795
14433
|
pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT && (pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT);
|
|
13796
14434
|
}
|
|
@@ -13838,7 +14476,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13838
14476
|
try {
|
|
13839
14477
|
var onRecoverableError = startViewTransitionStartTime.onRecoverableError;
|
|
13840
14478
|
for (finishedWork = 0; finishedWork < abortedViewTransition.length; finishedWork++) {
|
|
13841
|
-
var recoverableError = abortedViewTransition[finishedWork]
|
|
14479
|
+
var recoverableError = abortedViewTransition[finishedWork];
|
|
14480
|
+
var errorInfo = makeErrorInfo(recoverableError.stack);
|
|
13842
14481
|
runWithFiberInDEV(recoverableError.source, onRecoverableError, recoverableError.value, errorInfo);
|
|
13843
14482
|
}
|
|
13844
14483
|
} finally {
|
|
@@ -13872,9 +14511,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13872
14511
|
}
|
|
13873
14512
|
function flushPassiveEffects() {
|
|
13874
14513
|
if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
|
|
13875
|
-
var root = pendingEffectsRoot
|
|
14514
|
+
var root = pendingEffectsRoot;
|
|
14515
|
+
var remainingLanes = pendingEffectsRemainingLanes;
|
|
13876
14516
|
pendingEffectsRemainingLanes = 0;
|
|
13877
|
-
var renderPriority = lanesToEventPriority(pendingEffectsLanes)
|
|
14517
|
+
var renderPriority = lanesToEventPriority(pendingEffectsLanes);
|
|
14518
|
+
var priority = 32 > renderPriority ? 32 : renderPriority;
|
|
13878
14519
|
renderPriority = ReactSharedInternals.T;
|
|
13879
14520
|
var previousPriority = getCurrentUpdatePriority();
|
|
13880
14521
|
try {
|
|
@@ -13895,7 +14536,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13895
14536
|
commitErrors = null;
|
|
13896
14537
|
passiveEffectStartTime = now$1();
|
|
13897
14538
|
if (pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT) {
|
|
13898
|
-
var startTime = commitEndTime
|
|
14539
|
+
var startTime = commitEndTime;
|
|
14540
|
+
var endTime = passiveEffectStartTime;
|
|
13899
14541
|
!supportsUserTiming || endTime <= startTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, "Animating", startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-dark")) : console.timeStamp("Animating", startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-dark"));
|
|
13900
14542
|
} else {
|
|
13901
14543
|
startTime = commitEndTime;
|
|
@@ -13992,7 +14634,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13992
14634
|
null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber));
|
|
13993
14635
|
}
|
|
13994
14636
|
function retryDehydratedSuspenseBoundary(boundaryFiber) {
|
|
13995
|
-
var suspenseState = boundaryFiber.memoizedState
|
|
14637
|
+
var suspenseState = boundaryFiber.memoizedState;
|
|
14638
|
+
var retryLane = 0;
|
|
13996
14639
|
null !== suspenseState && (retryLane = suspenseState.retryLane);
|
|
13997
14640
|
retryTimedOutBoundary(boundaryFiber, retryLane);
|
|
13998
14641
|
}
|
|
@@ -14018,7 +14661,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14018
14661
|
}
|
|
14019
14662
|
function recursivelyTraverseAndDoubleInvokeEffectsInDEV(root$jscomp$0, parentFiber, isInStrictMode) {
|
|
14020
14663
|
if (0 !== (parentFiber.subtreeFlags & 67117056)) for (parentFiber = parentFiber.child; null !== parentFiber;) {
|
|
14021
|
-
var root = root$jscomp$0
|
|
14664
|
+
var root = root$jscomp$0;
|
|
14665
|
+
var fiber = parentFiber;
|
|
14666
|
+
var isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE;
|
|
14022
14667
|
isStrictModeFiber = isInStrictMode || isStrictModeFiber;
|
|
14023
14668
|
22 !== fiber.tag ? fiber.flags & 67108864 ? isStrictModeFiber && runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : recursivelyTraverseAndDoubleInvokeEffectsInDEV(root, fiber, isStrictModeFiber) : null === fiber.memoizedState && (isStrictModeFiber && fiber.flags & 8192 ? runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : fiber.subtreeFlags & 67108864 && runWithFiberInDEV(fiber, recursivelyTraverseAndDoubleInvokeEffectsInDEV, root, fiber, isStrictModeFiber));
|
|
14024
14669
|
parentFiber = parentFiber.sibling;
|
|
@@ -14083,7 +14728,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14083
14728
|
if (null === resolveFamily) return !1;
|
|
14084
14729
|
var prevType = fiber.elementType;
|
|
14085
14730
|
element = element.type;
|
|
14086
|
-
var needsCompareFamilies = !1
|
|
14731
|
+
var needsCompareFamilies = !1;
|
|
14732
|
+
var $$typeofNextType = "object" === typeof element && null !== element ? element.$$typeof : null;
|
|
14087
14733
|
switch (fiber.tag) {
|
|
14088
14734
|
case 1:
|
|
14089
14735
|
"function" === typeof element && (needsCompareFamilies = !0);
|
|
@@ -14107,7 +14753,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14107
14753
|
}
|
|
14108
14754
|
function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) {
|
|
14109
14755
|
do {
|
|
14110
|
-
var _fiber = fiber
|
|
14756
|
+
var _fiber = fiber;
|
|
14757
|
+
var alternate = _fiber.alternate;
|
|
14758
|
+
var child = _fiber.child;
|
|
14759
|
+
var sibling = _fiber.sibling;
|
|
14760
|
+
var tag = _fiber.tag;
|
|
14111
14761
|
_fiber = _fiber.type;
|
|
14112
14762
|
var candidateType = null;
|
|
14113
14763
|
switch (tag) {
|
|
@@ -14202,7 +14852,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14202
14852
|
return workInProgress;
|
|
14203
14853
|
}
|
|
14204
14854
|
function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) {
|
|
14205
|
-
var fiberTag = 0
|
|
14855
|
+
var fiberTag = 0;
|
|
14856
|
+
var resolvedType = type;
|
|
14206
14857
|
if ("function" === typeof type) shouldConstruct(type) && (fiberTag = 1), resolvedType = resolveFunctionForHotReloading(resolvedType);
|
|
14207
14858
|
else if ("string" === typeof type) supportsResources && supportsSingletons ? (fiberTag = getHostContext(), fiberTag = isHostHoistableType(type, pendingProps, fiberTag) ? 26 : isHostSingletonType(type) ? 27 : 5) : supportsResources ? (fiberTag = getHostContext(), fiberTag = isHostHoistableType(type, pendingProps, fiberTag) ? 26 : 5) : fiberTag = supportsSingletons ? isHostSingletonType(type) ? 27 : 5 : 5;
|
|
14208
14859
|
else a: switch (type) {
|
|
@@ -14373,25 +15024,102 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14373
15024
|
return current;
|
|
14374
15025
|
}
|
|
14375
15026
|
var exports$1 = {};
|
|
14376
|
-
var React = require_react()
|
|
15027
|
+
var React = require_react();
|
|
15028
|
+
var Scheduler = require_scheduler();
|
|
15029
|
+
var assign = Object.assign;
|
|
15030
|
+
var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element");
|
|
15031
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
15032
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
15033
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
15034
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
15035
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
15036
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
|
|
15037
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
15038
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
15039
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
15040
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
15041
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
15042
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
14377
15043
|
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
14378
15044
|
var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
|
|
14379
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator
|
|
15045
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
15046
|
+
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
15047
|
+
var isArrayImpl = Array.isArray;
|
|
15048
|
+
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
15049
|
+
var rendererVersion = $$$config.rendererVersion;
|
|
15050
|
+
var rendererPackageName = $$$config.rendererPackageName;
|
|
15051
|
+
var extraDevToolsConfig = $$$config.extraDevToolsConfig;
|
|
15052
|
+
var getPublicInstance = $$$config.getPublicInstance;
|
|
15053
|
+
var getRootHostContext = $$$config.getRootHostContext;
|
|
15054
|
+
var getChildHostContext = $$$config.getChildHostContext;
|
|
15055
|
+
var prepareForCommit = $$$config.prepareForCommit;
|
|
15056
|
+
var resetAfterCommit = $$$config.resetAfterCommit;
|
|
15057
|
+
var createInstance = $$$config.createInstance;
|
|
14380
15058
|
$$$config.cloneMutableInstance;
|
|
14381
|
-
var appendInitialChild = $$$config.appendInitialChild
|
|
15059
|
+
var appendInitialChild = $$$config.appendInitialChild;
|
|
15060
|
+
var finalizeInitialChildren = $$$config.finalizeInitialChildren;
|
|
15061
|
+
var shouldSetTextContent = $$$config.shouldSetTextContent;
|
|
15062
|
+
var createTextInstance = $$$config.createTextInstance;
|
|
14382
15063
|
$$$config.cloneMutableTextInstance;
|
|
14383
|
-
var scheduleTimeout = $$$config.scheduleTimeout
|
|
15064
|
+
var scheduleTimeout = $$$config.scheduleTimeout;
|
|
15065
|
+
var cancelTimeout = $$$config.cancelTimeout;
|
|
15066
|
+
var noTimeout = $$$config.noTimeout;
|
|
15067
|
+
var isPrimaryRenderer = $$$config.isPrimaryRenderer;
|
|
14384
15068
|
$$$config.warnsIfNotActing;
|
|
14385
|
-
var supportsMutation = $$$config.supportsMutation
|
|
15069
|
+
var supportsMutation = $$$config.supportsMutation;
|
|
15070
|
+
var supportsPersistence = $$$config.supportsPersistence;
|
|
15071
|
+
var supportsHydration = $$$config.supportsHydration;
|
|
15072
|
+
var getInstanceFromNode = $$$config.getInstanceFromNode;
|
|
14386
15073
|
$$$config.beforeActiveInstanceBlur;
|
|
14387
15074
|
var preparePortalMount = $$$config.preparePortalMount;
|
|
14388
15075
|
$$$config.prepareScopeUpdate;
|
|
14389
15076
|
$$$config.getInstanceFromScope;
|
|
14390
|
-
var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority
|
|
15077
|
+
var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority;
|
|
15078
|
+
var getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority;
|
|
15079
|
+
var resolveUpdatePriority = $$$config.resolveUpdatePriority;
|
|
15080
|
+
var trackSchedulerEvent = $$$config.trackSchedulerEvent;
|
|
15081
|
+
var resolveEventType = $$$config.resolveEventType;
|
|
15082
|
+
var resolveEventTimeStamp = $$$config.resolveEventTimeStamp;
|
|
15083
|
+
var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition;
|
|
15084
|
+
var detachDeletedInstance = $$$config.detachDeletedInstance;
|
|
14391
15085
|
$$$config.requestPostPaintCallback;
|
|
14392
|
-
var maySuspendCommit = $$$config.maySuspendCommit
|
|
15086
|
+
var maySuspendCommit = $$$config.maySuspendCommit;
|
|
15087
|
+
var maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate;
|
|
15088
|
+
var maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender;
|
|
15089
|
+
var preloadInstance = $$$config.preloadInstance;
|
|
15090
|
+
var startSuspendingCommit = $$$config.startSuspendingCommit;
|
|
15091
|
+
var suspendInstance = $$$config.suspendInstance;
|
|
14393
15092
|
$$$config.suspendOnActiveViewTransition;
|
|
14394
|
-
var waitForCommitToBeReady = $$$config.waitForCommitToBeReady
|
|
15093
|
+
var waitForCommitToBeReady = $$$config.waitForCommitToBeReady;
|
|
15094
|
+
var getSuspendedCommitReason = $$$config.getSuspendedCommitReason;
|
|
15095
|
+
var NotPendingTransition = $$$config.NotPendingTransition;
|
|
15096
|
+
var HostTransitionContext = $$$config.HostTransitionContext;
|
|
15097
|
+
var resetFormInstance = $$$config.resetFormInstance;
|
|
15098
|
+
var bindToConsole = $$$config.bindToConsole;
|
|
15099
|
+
var supportsMicrotasks = $$$config.supportsMicrotasks;
|
|
15100
|
+
var scheduleMicrotask = $$$config.scheduleMicrotask;
|
|
15101
|
+
var supportsTestSelectors = $$$config.supportsTestSelectors;
|
|
15102
|
+
var findFiberRoot = $$$config.findFiberRoot;
|
|
15103
|
+
var getBoundingRect = $$$config.getBoundingRect;
|
|
15104
|
+
var getTextContent = $$$config.getTextContent;
|
|
15105
|
+
var isHiddenSubtree = $$$config.isHiddenSubtree;
|
|
15106
|
+
var matchAccessibilityRole = $$$config.matchAccessibilityRole;
|
|
15107
|
+
var setFocusIfFocusable = $$$config.setFocusIfFocusable;
|
|
15108
|
+
var setupIntersectionObserver = $$$config.setupIntersectionObserver;
|
|
15109
|
+
var appendChild = $$$config.appendChild;
|
|
15110
|
+
var appendChildToContainer = $$$config.appendChildToContainer;
|
|
15111
|
+
var commitTextUpdate = $$$config.commitTextUpdate;
|
|
15112
|
+
var commitMount = $$$config.commitMount;
|
|
15113
|
+
var commitUpdate = $$$config.commitUpdate;
|
|
15114
|
+
var insertBefore = $$$config.insertBefore;
|
|
15115
|
+
var insertInContainerBefore = $$$config.insertInContainerBefore;
|
|
15116
|
+
var removeChild = $$$config.removeChild;
|
|
15117
|
+
var removeChildFromContainer = $$$config.removeChildFromContainer;
|
|
15118
|
+
var resetTextContent = $$$config.resetTextContent;
|
|
15119
|
+
var hideInstance = $$$config.hideInstance;
|
|
15120
|
+
var hideTextInstance = $$$config.hideTextInstance;
|
|
15121
|
+
var unhideInstance = $$$config.unhideInstance;
|
|
15122
|
+
var unhideTextInstance = $$$config.unhideTextInstance;
|
|
14395
15123
|
$$$config.cancelViewTransitionName;
|
|
14396
15124
|
$$$config.cancelRootViewTransitionName;
|
|
14397
15125
|
$$$config.restoreRootViewTransitionName;
|
|
@@ -14410,15 +15138,101 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14410
15138
|
$$$config.updateFragmentInstanceFiber;
|
|
14411
15139
|
$$$config.commitNewChildToFragmentInstance;
|
|
14412
15140
|
$$$config.deleteChildFromFragmentInstance;
|
|
14413
|
-
var cloneInstance = $$$config.cloneInstance
|
|
15141
|
+
var cloneInstance = $$$config.cloneInstance;
|
|
15142
|
+
var createContainerChildSet = $$$config.createContainerChildSet;
|
|
15143
|
+
var appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet;
|
|
15144
|
+
var finalizeContainerChildren = $$$config.finalizeContainerChildren;
|
|
15145
|
+
var replaceContainerChildren = $$$config.replaceContainerChildren;
|
|
15146
|
+
var cloneHiddenInstance = $$$config.cloneHiddenInstance;
|
|
15147
|
+
var cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance;
|
|
15148
|
+
var isSuspenseInstancePending = $$$config.isSuspenseInstancePending;
|
|
15149
|
+
var isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback;
|
|
15150
|
+
var getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails;
|
|
15151
|
+
var registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry;
|
|
15152
|
+
var canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker;
|
|
15153
|
+
var isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching;
|
|
15154
|
+
var getNextHydratableSibling = $$$config.getNextHydratableSibling;
|
|
15155
|
+
var getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton;
|
|
15156
|
+
var getFirstHydratableChild = $$$config.getFirstHydratableChild;
|
|
15157
|
+
var getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer;
|
|
15158
|
+
var getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance;
|
|
15159
|
+
var getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance;
|
|
15160
|
+
var getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton;
|
|
15161
|
+
var canHydrateInstance = $$$config.canHydrateInstance;
|
|
15162
|
+
var canHydrateTextInstance = $$$config.canHydrateTextInstance;
|
|
15163
|
+
var canHydrateActivityInstance = $$$config.canHydrateActivityInstance;
|
|
15164
|
+
var canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance;
|
|
15165
|
+
var hydrateInstance = $$$config.hydrateInstance;
|
|
15166
|
+
var hydrateTextInstance = $$$config.hydrateTextInstance;
|
|
15167
|
+
var hydrateActivityInstance = $$$config.hydrateActivityInstance;
|
|
15168
|
+
var hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance;
|
|
15169
|
+
var getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance;
|
|
15170
|
+
var getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance;
|
|
15171
|
+
var commitHydratedInstance = $$$config.commitHydratedInstance;
|
|
15172
|
+
var commitHydratedContainer = $$$config.commitHydratedContainer;
|
|
15173
|
+
var commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance;
|
|
15174
|
+
var commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance;
|
|
15175
|
+
var finalizeHydratedChildren = $$$config.finalizeHydratedChildren;
|
|
15176
|
+
var flushHydrationEvents = $$$config.flushHydrationEvents;
|
|
14414
15177
|
$$$config.clearActivityBoundary;
|
|
14415
15178
|
var clearSuspenseBoundary = $$$config.clearSuspenseBoundary;
|
|
14416
15179
|
$$$config.clearActivityBoundaryFromContainer;
|
|
14417
|
-
var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer
|
|
15180
|
+
var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer;
|
|
15181
|
+
var hideDehydratedBoundary = $$$config.hideDehydratedBoundary;
|
|
15182
|
+
var unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary;
|
|
15183
|
+
var shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances;
|
|
15184
|
+
var diffHydratedPropsForDevWarnings = $$$config.diffHydratedPropsForDevWarnings;
|
|
15185
|
+
var diffHydratedTextForDevWarnings = $$$config.diffHydratedTextForDevWarnings;
|
|
15186
|
+
var describeHydratableInstanceForDevWarnings = $$$config.describeHydratableInstanceForDevWarnings;
|
|
15187
|
+
var validateHydratableInstance = $$$config.validateHydratableInstance;
|
|
15188
|
+
var validateHydratableTextInstance = $$$config.validateHydratableTextInstance;
|
|
15189
|
+
var supportsResources = $$$config.supportsResources;
|
|
15190
|
+
var isHostHoistableType = $$$config.isHostHoistableType;
|
|
15191
|
+
var getHoistableRoot = $$$config.getHoistableRoot;
|
|
15192
|
+
var getResource = $$$config.getResource;
|
|
15193
|
+
var acquireResource = $$$config.acquireResource;
|
|
15194
|
+
var releaseResource = $$$config.releaseResource;
|
|
15195
|
+
var hydrateHoistable = $$$config.hydrateHoistable;
|
|
15196
|
+
var mountHoistable = $$$config.mountHoistable;
|
|
15197
|
+
var unmountHoistable = $$$config.unmountHoistable;
|
|
15198
|
+
var createHoistableInstance = $$$config.createHoistableInstance;
|
|
15199
|
+
var prepareToCommitHoistables = $$$config.prepareToCommitHoistables;
|
|
15200
|
+
var mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit;
|
|
15201
|
+
var preloadResource = $$$config.preloadResource;
|
|
15202
|
+
var suspendResource = $$$config.suspendResource;
|
|
15203
|
+
var supportsSingletons = $$$config.supportsSingletons;
|
|
15204
|
+
var resolveSingletonInstance = $$$config.resolveSingletonInstance;
|
|
15205
|
+
var acquireSingletonInstance = $$$config.acquireSingletonInstance;
|
|
15206
|
+
var releaseSingletonInstance = $$$config.releaseSingletonInstance;
|
|
15207
|
+
var isHostSingletonType = $$$config.isHostSingletonType;
|
|
15208
|
+
var isSingletonScope = $$$config.isSingletonScope;
|
|
15209
|
+
var valueStack = [];
|
|
14418
15210
|
var fiberStack = [];
|
|
14419
|
-
var index$jscomp$0 = -1
|
|
15211
|
+
var index$jscomp$0 = -1;
|
|
15212
|
+
var emptyContextObject = {};
|
|
14420
15213
|
Object.freeze(emptyContextObject);
|
|
14421
|
-
var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback
|
|
15214
|
+
var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback;
|
|
15215
|
+
var log$1 = Math.log;
|
|
15216
|
+
var LN2 = Math.LN2;
|
|
15217
|
+
var nextTransitionUpdateLane = 256;
|
|
15218
|
+
var nextTransitionDeferredLane = 262144;
|
|
15219
|
+
var nextRetryLane = 4194304;
|
|
15220
|
+
var scheduleCallback$3 = Scheduler.unstable_scheduleCallback;
|
|
15221
|
+
var cancelCallback$1 = Scheduler.unstable_cancelCallback;
|
|
15222
|
+
var shouldYield = Scheduler.unstable_shouldYield;
|
|
15223
|
+
var requestPaint = Scheduler.unstable_requestPaint;
|
|
15224
|
+
var now$1 = Scheduler.unstable_now;
|
|
15225
|
+
var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
|
|
15226
|
+
var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
|
|
15227
|
+
var NormalPriority$1 = Scheduler.unstable_NormalPriority;
|
|
15228
|
+
var IdlePriority = Scheduler.unstable_IdlePriority;
|
|
15229
|
+
var log = Scheduler.log;
|
|
15230
|
+
var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;
|
|
15231
|
+
var rendererID = null;
|
|
15232
|
+
var injectedHook = null;
|
|
15233
|
+
var hasLoggedError = !1;
|
|
15234
|
+
var isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
15235
|
+
var lastResetTime = 0;
|
|
14422
15236
|
if ("object" === typeof performance && "function" === typeof performance.now) {
|
|
14423
15237
|
var localPerformance = performance;
|
|
14424
15238
|
var getCurrentTime = function() {
|
|
@@ -14430,7 +15244,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14430
15244
|
return localDate.now();
|
|
14431
15245
|
};
|
|
14432
15246
|
}
|
|
14433
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is
|
|
15247
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
15248
|
+
var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
14434
15249
|
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
14435
15250
|
var event = new window.ErrorEvent("error", {
|
|
14436
15251
|
bubbles: !0,
|
|
@@ -14444,24 +15259,71 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14444
15259
|
return;
|
|
14445
15260
|
}
|
|
14446
15261
|
console.error(error);
|
|
14447
|
-
}
|
|
15262
|
+
};
|
|
15263
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15264
|
+
var supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && "undefined" !== typeof performance && "function" === typeof performance.measure;
|
|
15265
|
+
var currentTrack = "Blocking";
|
|
15266
|
+
var alreadyWarnedForDeepEquality = !1;
|
|
15267
|
+
var reusableComponentDevToolDetails = {
|
|
14448
15268
|
color: "primary",
|
|
14449
15269
|
properties: null,
|
|
14450
15270
|
tooltipText: "",
|
|
14451
15271
|
track: "Components ⚛"
|
|
14452
|
-
}
|
|
15272
|
+
};
|
|
15273
|
+
var reusableComponentOptions = {
|
|
14453
15274
|
start: -0,
|
|
14454
15275
|
end: -0,
|
|
14455
15276
|
detail: { devtools: reusableComponentDevToolDetails }
|
|
14456
|
-
}
|
|
15277
|
+
};
|
|
15278
|
+
var resuableChangedPropsEntry = ["Changed Props", ""];
|
|
15279
|
+
var reusableDeeplyEqualPropsEntry = ["Changed Props", "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."];
|
|
15280
|
+
var disabledDepth = 0;
|
|
15281
|
+
var prevLog;
|
|
15282
|
+
var prevInfo;
|
|
15283
|
+
var prevWarn;
|
|
15284
|
+
var prevError;
|
|
15285
|
+
var prevGroup;
|
|
15286
|
+
var prevGroupCollapsed;
|
|
15287
|
+
var prevGroupEnd;
|
|
14457
15288
|
disabledLog.__reactDisabledLog = !0;
|
|
14458
|
-
var prefix
|
|
15289
|
+
var prefix;
|
|
15290
|
+
var suffix;
|
|
15291
|
+
var reentry = !1;
|
|
14459
15292
|
var componentFrameCache = new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
14460
|
-
var CapturedStacks = /* @__PURE__ */ new WeakMap()
|
|
15293
|
+
var CapturedStacks = /* @__PURE__ */ new WeakMap();
|
|
15294
|
+
var forkStack = [];
|
|
15295
|
+
var forkStackIndex = 0;
|
|
15296
|
+
var treeForkProvider = null;
|
|
15297
|
+
var treeForkCount = 0;
|
|
15298
|
+
var idStack = [];
|
|
15299
|
+
var idStackIndex = 0;
|
|
15300
|
+
var treeContextProvider = null;
|
|
15301
|
+
var treeContextId = 1;
|
|
15302
|
+
var treeContextOverflow = "";
|
|
15303
|
+
var contextStackCursor = createCursor(null);
|
|
15304
|
+
var contextFiberStackCursor = createCursor(null);
|
|
15305
|
+
var rootInstanceStackCursor = createCursor(null);
|
|
15306
|
+
var hostTransitionProviderCursor = createCursor(null);
|
|
15307
|
+
var needsEscaping = /["'&<>\n\t]|^\s|\s$/;
|
|
15308
|
+
var current = null;
|
|
15309
|
+
var isRendering = !1;
|
|
15310
|
+
var hydrationParentFiber = null;
|
|
15311
|
+
var nextHydratableInstance = null;
|
|
15312
|
+
var isHydrating = !1;
|
|
15313
|
+
var didSuspendOrErrorDEV = !1;
|
|
15314
|
+
var hydrationDiffRootDEV = null;
|
|
15315
|
+
var hydrationErrors = null;
|
|
15316
|
+
var rootOrSingletonContext = !1;
|
|
15317
|
+
var HydrationMismatchException = Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.");
|
|
15318
|
+
var NoMode = 0;
|
|
15319
|
+
var valueCursor = createCursor(null);
|
|
14461
15320
|
var rendererCursorDEV = createCursor(null);
|
|
14462
15321
|
var renderer2CursorDEV = createCursor(null);
|
|
14463
15322
|
var rendererSigil = {};
|
|
14464
|
-
var currentlyRenderingFiber$1 = null
|
|
15323
|
+
var currentlyRenderingFiber$1 = null;
|
|
15324
|
+
var lastContextDependency = null;
|
|
15325
|
+
var isDisallowedContextReadInDEV = !1;
|
|
15326
|
+
var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
|
|
14465
15327
|
var listeners = [], signal = this.signal = {
|
|
14466
15328
|
aborted: !1,
|
|
14467
15329
|
addEventListener: function(type, listener) {
|
|
@@ -14474,7 +15336,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14474
15336
|
return listener();
|
|
14475
15337
|
});
|
|
14476
15338
|
};
|
|
14477
|
-
}
|
|
15339
|
+
};
|
|
15340
|
+
var scheduleCallback$2 = Scheduler.unstable_scheduleCallback;
|
|
15341
|
+
var NormalPriority = Scheduler.unstable_NormalPriority;
|
|
15342
|
+
var CacheContext = {
|
|
14478
15343
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
14479
15344
|
Consumer: null,
|
|
14480
15345
|
Provider: null,
|
|
@@ -14483,15 +15348,68 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14483
15348
|
_threadCount: 0,
|
|
14484
15349
|
_currentRenderer: null,
|
|
14485
15350
|
_currentRenderer2: null
|
|
14486
|
-
}
|
|
15351
|
+
};
|
|
15352
|
+
var now = Scheduler.unstable_now;
|
|
15353
|
+
var createTask = console.createTask ? console.createTask : function() {
|
|
14487
15354
|
return null;
|
|
14488
|
-
}
|
|
15355
|
+
};
|
|
15356
|
+
var renderStartTime = -0;
|
|
15357
|
+
var commitStartTime = -0;
|
|
15358
|
+
var commitEndTime = -0;
|
|
15359
|
+
var commitErrors = null;
|
|
15360
|
+
var profilerStartTime = -1.1;
|
|
15361
|
+
var profilerEffectDuration = -0;
|
|
15362
|
+
var componentEffectDuration = -0;
|
|
15363
|
+
var componentEffectStartTime = -1.1;
|
|
15364
|
+
var componentEffectEndTime = -1.1;
|
|
15365
|
+
var componentEffectErrors = null;
|
|
15366
|
+
var componentEffectSpawnedUpdate = !1;
|
|
15367
|
+
var blockingClampTime = -0;
|
|
15368
|
+
var blockingUpdateTime = -1.1;
|
|
15369
|
+
var blockingUpdateTask = null;
|
|
15370
|
+
var blockingUpdateType = 0;
|
|
15371
|
+
var blockingUpdateMethodName = null;
|
|
15372
|
+
var blockingUpdateComponentName = null;
|
|
15373
|
+
var blockingEventTime = -1.1;
|
|
15374
|
+
var blockingEventType = null;
|
|
15375
|
+
var blockingEventRepeatTime = -1.1;
|
|
15376
|
+
var blockingSuspendedTime = -1.1;
|
|
15377
|
+
var transitionClampTime = -0;
|
|
15378
|
+
var transitionStartTime = -1.1;
|
|
15379
|
+
var transitionUpdateTime = -1.1;
|
|
15380
|
+
var transitionUpdateType = 0;
|
|
15381
|
+
var transitionUpdateTask = null;
|
|
15382
|
+
var transitionUpdateMethodName = null;
|
|
15383
|
+
var transitionUpdateComponentName = null;
|
|
15384
|
+
var transitionEventTime = -1.1;
|
|
15385
|
+
var transitionEventType = null;
|
|
15386
|
+
var transitionEventRepeatTime = -1.1;
|
|
15387
|
+
var transitionSuspendedTime = -1.1;
|
|
15388
|
+
var animatingTask = null;
|
|
15389
|
+
var yieldReason = 0;
|
|
15390
|
+
var yieldStartTime = -1.1;
|
|
15391
|
+
var currentUpdateIsNested = !1;
|
|
15392
|
+
var nestedUpdateScheduled = !1;
|
|
15393
|
+
var firstScheduledRoot = null;
|
|
15394
|
+
var lastScheduledRoot = null;
|
|
15395
|
+
var didScheduleMicrotask = !1;
|
|
15396
|
+
var didScheduleMicrotask_act = !1;
|
|
15397
|
+
var mightHavePendingSyncWork = !1;
|
|
15398
|
+
var isFlushingWork = !1;
|
|
15399
|
+
var currentEventTransitionLane = 0;
|
|
15400
|
+
var fakeActCallbackNode$1 = {};
|
|
15401
|
+
var currentEntangledListeners = null;
|
|
15402
|
+
var currentEntangledPendingCount = 0;
|
|
15403
|
+
var currentEntangledLane = 0;
|
|
15404
|
+
var currentEntangledActionThenable = null;
|
|
15405
|
+
var prevOnStartTransitionFinish = ReactSharedInternals.S;
|
|
14489
15406
|
ReactSharedInternals.S = function(transition, returnValue) {
|
|
14490
15407
|
globalMostRecentTransitionTime = now$1();
|
|
14491
15408
|
if ("object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then) {
|
|
14492
15409
|
if (0 > transitionStartTime && 0 > transitionUpdateTime) {
|
|
14493
15410
|
transitionStartTime = now();
|
|
14494
|
-
var newEventTime = resolveEventTimeStamp()
|
|
15411
|
+
var newEventTime = resolveEventTimeStamp();
|
|
15412
|
+
var newEventType = resolveEventType();
|
|
14495
15413
|
if (newEventTime !== transitionEventRepeatTime || newEventType !== transitionEventType) transitionEventRepeatTime = -1.1;
|
|
14496
15414
|
transitionEventTime = newEventTime;
|
|
14497
15415
|
transitionEventType = newEventType;
|
|
@@ -14500,13 +15418,21 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14500
15418
|
}
|
|
14501
15419
|
null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue);
|
|
14502
15420
|
};
|
|
14503
|
-
var resumedCache = createCursor(null)
|
|
15421
|
+
var resumedCache = createCursor(null);
|
|
15422
|
+
var ReactStrictModeWarnings = {
|
|
14504
15423
|
recordUnsafeLifecycleWarnings: function() {},
|
|
14505
15424
|
flushPendingUnsafeLifecycleWarnings: function() {},
|
|
14506
15425
|
recordLegacyContextWarning: function() {},
|
|
14507
15426
|
flushLegacyContextWarning: function() {},
|
|
14508
15427
|
discardPendingWarnings: function() {}
|
|
14509
|
-
}
|
|
15428
|
+
};
|
|
15429
|
+
var pendingComponentWillMountWarnings = [];
|
|
15430
|
+
var pendingUNSAFE_ComponentWillMountWarnings = [];
|
|
15431
|
+
var pendingComponentWillReceivePropsWarnings = [];
|
|
15432
|
+
var pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
|
|
15433
|
+
var pendingComponentWillUpdateWarnings = [];
|
|
15434
|
+
var pendingUNSAFE_ComponentWillUpdateWarnings = [];
|
|
15435
|
+
var didWarnAboutUnsafeLifecycles = /* @__PURE__ */ new Set();
|
|
14510
15436
|
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function(fiber, instance) {
|
|
14511
15437
|
didWarnAboutUnsafeLifecycles.has(fiber.type) || ("function" === typeof instance.componentWillMount && !0 !== instance.componentWillMount.__suppressDeprecationWarning && pendingComponentWillMountWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillMount && pendingUNSAFE_ComponentWillMountWarnings.push(fiber), "function" === typeof instance.componentWillReceiveProps && !0 !== instance.componentWillReceiveProps.__suppressDeprecationWarning && pendingComponentWillReceivePropsWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillReceiveProps && pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber), "function" === typeof instance.componentWillUpdate && !0 !== instance.componentWillUpdate.__suppressDeprecationWarning && pendingComponentWillUpdateWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillUpdate && pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber));
|
|
14512
15438
|
};
|
|
@@ -14551,7 +15477,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14551
15477
|
0 < componentWillReceivePropsUniqueNames.size && (sortedNames = setToSortedString(componentWillReceivePropsUniqueNames), console.warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames));
|
|
14552
15478
|
0 < componentWillUpdateUniqueNames.size && (sortedNames = setToSortedString(componentWillUpdateUniqueNames), console.warn("componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames));
|
|
14553
15479
|
};
|
|
14554
|
-
var pendingLegacyContextWarning = /* @__PURE__ */ new Map()
|
|
15480
|
+
var pendingLegacyContextWarning = /* @__PURE__ */ new Map();
|
|
15481
|
+
var didWarnAboutLegacyContext = /* @__PURE__ */ new Set();
|
|
14555
15482
|
ReactStrictModeWarnings.recordLegacyContextWarning = function(fiber, instance) {
|
|
14556
15483
|
var strictRoot = null;
|
|
14557
15484
|
for (var node = fiber; null !== node;) node.mode & 8 && (strictRoot = node), node = node.return;
|
|
@@ -14560,7 +15487,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14560
15487
|
ReactStrictModeWarnings.flushLegacyContextWarning = function() {
|
|
14561
15488
|
pendingLegacyContextWarning.forEach(function(fiberArray) {
|
|
14562
15489
|
if (0 !== fiberArray.length) {
|
|
14563
|
-
var firstFiber = fiberArray[0]
|
|
15490
|
+
var firstFiber = fiberArray[0];
|
|
15491
|
+
var uniqueNames = /* @__PURE__ */ new Set();
|
|
14564
15492
|
fiberArray.forEach(function(fiber) {
|
|
14565
15493
|
uniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
|
|
14566
15494
|
didWarnAboutLegacyContext.add(fiber.type);
|
|
@@ -14589,7 +15517,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14589
15517
|
} finally {
|
|
14590
15518
|
isRendering = wasRendering;
|
|
14591
15519
|
}
|
|
14592
|
-
} }
|
|
15520
|
+
} };
|
|
15521
|
+
var callComponentInDEV = callComponent.react_stack_bottom_frame.bind(callComponent);
|
|
15522
|
+
var callRender = { react_stack_bottom_frame: function(instance) {
|
|
14593
15523
|
var wasRendering = isRendering;
|
|
14594
15524
|
isRendering = !0;
|
|
14595
15525
|
try {
|
|
@@ -14597,44 +15527,69 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14597
15527
|
} finally {
|
|
14598
15528
|
isRendering = wasRendering;
|
|
14599
15529
|
}
|
|
14600
|
-
} }
|
|
15530
|
+
} };
|
|
15531
|
+
var callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender);
|
|
15532
|
+
var callComponentDidMount = { react_stack_bottom_frame: function(finishedWork, instance) {
|
|
14601
15533
|
try {
|
|
14602
15534
|
instance.componentDidMount();
|
|
14603
15535
|
} catch (error) {
|
|
14604
15536
|
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
|
14605
15537
|
}
|
|
14606
|
-
} }
|
|
15538
|
+
} };
|
|
15539
|
+
var callComponentDidMountInDEV = callComponentDidMount.react_stack_bottom_frame.bind(callComponentDidMount);
|
|
15540
|
+
var callComponentDidUpdate = { react_stack_bottom_frame: function(finishedWork, instance, prevProps, prevState, snapshot) {
|
|
14607
15541
|
try {
|
|
14608
15542
|
instance.componentDidUpdate(prevProps, prevState, snapshot);
|
|
14609
15543
|
} catch (error) {
|
|
14610
15544
|
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
|
14611
15545
|
}
|
|
14612
|
-
} }
|
|
15546
|
+
} };
|
|
15547
|
+
var callComponentDidUpdateInDEV = callComponentDidUpdate.react_stack_bottom_frame.bind(callComponentDidUpdate);
|
|
15548
|
+
var callComponentDidCatch = { react_stack_bottom_frame: function(instance, errorInfo) {
|
|
14613
15549
|
var stack = errorInfo.stack;
|
|
14614
15550
|
instance.componentDidCatch(errorInfo.value, { componentStack: null !== stack ? stack : "" });
|
|
14615
|
-
} }
|
|
15551
|
+
} };
|
|
15552
|
+
var callComponentDidCatchInDEV = callComponentDidCatch.react_stack_bottom_frame.bind(callComponentDidCatch);
|
|
15553
|
+
var callComponentWillUnmount = { react_stack_bottom_frame: function(current, nearestMountedAncestor, instance) {
|
|
14616
15554
|
try {
|
|
14617
15555
|
instance.componentWillUnmount();
|
|
14618
15556
|
} catch (error) {
|
|
14619
15557
|
captureCommitPhaseError(current, nearestMountedAncestor, error);
|
|
14620
15558
|
}
|
|
14621
|
-
} }
|
|
15559
|
+
} };
|
|
15560
|
+
var callComponentWillUnmountInDEV = callComponentWillUnmount.react_stack_bottom_frame.bind(callComponentWillUnmount);
|
|
15561
|
+
var callCreate = { react_stack_bottom_frame: function(effect) {
|
|
14622
15562
|
var create = effect.create;
|
|
14623
15563
|
effect = effect.inst;
|
|
14624
15564
|
create = create();
|
|
14625
15565
|
return effect.destroy = create;
|
|
14626
|
-
} }
|
|
15566
|
+
} };
|
|
15567
|
+
var callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate);
|
|
15568
|
+
var callDestroy = { react_stack_bottom_frame: function(current, nearestMountedAncestor, destroy) {
|
|
14627
15569
|
try {
|
|
14628
15570
|
destroy();
|
|
14629
15571
|
} catch (error) {
|
|
14630
15572
|
captureCommitPhaseError(current, nearestMountedAncestor, error);
|
|
14631
15573
|
}
|
|
14632
|
-
} }
|
|
15574
|
+
} };
|
|
15575
|
+
var callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy);
|
|
15576
|
+
var callLazyInit = { react_stack_bottom_frame: function(lazy) {
|
|
14633
15577
|
var init = lazy._init;
|
|
14634
15578
|
return init(lazy._payload);
|
|
14635
|
-
} }
|
|
15579
|
+
} };
|
|
15580
|
+
var callLazyInitInDEV = callLazyInit.react_stack_bottom_frame.bind(callLazyInit);
|
|
15581
|
+
var SuspenseException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.");
|
|
15582
|
+
var SuspenseyCommitException = Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.");
|
|
15583
|
+
var SuspenseActionException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary.");
|
|
15584
|
+
var noopSuspenseyCommitThenable = { then: function() {
|
|
14636
15585
|
console.error("Internal React error: A listener was unexpectedly attached to a \"noop\" thenable. This is a bug in React. Please file an issue.");
|
|
14637
|
-
} }
|
|
15586
|
+
} };
|
|
15587
|
+
var suspendedThenable = null;
|
|
15588
|
+
var needsToResetSuspendedThenableDEV = !1;
|
|
15589
|
+
var thenableState$1 = null;
|
|
15590
|
+
var thenableIndexCounter$1 = 0;
|
|
15591
|
+
var currentDebugInfo = null;
|
|
15592
|
+
var didWarnAboutMaps;
|
|
14638
15593
|
var didWarnAboutGenerators = didWarnAboutMaps = !1;
|
|
14639
15594
|
var ownerHasKeyUseWarning = {};
|
|
14640
15595
|
var ownerHasFunctionTypeWarning = {};
|
|
@@ -14643,7 +15598,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14643
15598
|
if (null !== child && "object" === typeof child && child._store && (!child._store.validated && null == child.key || 2 === child._store.validated)) {
|
|
14644
15599
|
if ("object" !== typeof child._store) throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
|
|
14645
15600
|
child._store.validated = 1;
|
|
14646
|
-
var componentName = getComponentNameFromFiber(returnFiber)
|
|
15601
|
+
var componentName = getComponentNameFromFiber(returnFiber);
|
|
15602
|
+
var componentKey = componentName || "null";
|
|
14647
15603
|
if (!ownerHasKeyUseWarning[componentKey]) {
|
|
14648
15604
|
ownerHasKeyUseWarning[componentKey] = !0;
|
|
14649
15605
|
child = child._owner;
|
|
@@ -14659,15 +15615,55 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14659
15615
|
}
|
|
14660
15616
|
}
|
|
14661
15617
|
};
|
|
14662
|
-
var reconcileChildFibers = createChildReconciler(!0)
|
|
15618
|
+
var reconcileChildFibers = createChildReconciler(!0);
|
|
15619
|
+
var mountChildFibers = createChildReconciler(!1);
|
|
15620
|
+
var OffscreenVisible = 1;
|
|
15621
|
+
var OffscreenPassiveEffectsConnected = 2;
|
|
15622
|
+
var concurrentQueues = [];
|
|
15623
|
+
var concurrentQueuesIndex = 0;
|
|
15624
|
+
var concurrentlyUpdatedLanes = 0;
|
|
15625
|
+
var UpdateState = 0;
|
|
15626
|
+
var ReplaceState = 1;
|
|
15627
|
+
var ForceUpdate = 2;
|
|
15628
|
+
var CaptureUpdate = 3;
|
|
15629
|
+
var hasForceUpdate = !1;
|
|
14663
15630
|
var didWarnUpdateInsideUpdate = !1;
|
|
14664
15631
|
var currentlyProcessingQueue = null;
|
|
14665
|
-
var didReadFromEntangledAsyncAction = !1
|
|
15632
|
+
var didReadFromEntangledAsyncAction = !1;
|
|
15633
|
+
var currentTreeHiddenStackCursor = createCursor(null);
|
|
15634
|
+
var prevEntangledRenderLanesCursor = createCursor(0);
|
|
15635
|
+
var suspenseHandlerStackCursor = createCursor(null);
|
|
15636
|
+
var shellBoundary = null;
|
|
15637
|
+
var SubtreeSuspenseContextMask = 1;
|
|
15638
|
+
var ForceSuspenseFallback = 2;
|
|
15639
|
+
var suspenseStackCursor = createCursor(0);
|
|
15640
|
+
var NoFlags = 0;
|
|
15641
|
+
var HasEffect = 1;
|
|
15642
|
+
var Insertion = 2;
|
|
15643
|
+
var Layout = 4;
|
|
15644
|
+
var Passive = 8;
|
|
15645
|
+
var didWarnUncachedGetSnapshot;
|
|
14666
15646
|
var didWarnAboutMismatchedHooksForComponent = /* @__PURE__ */ new Set();
|
|
14667
15647
|
var didWarnAboutUseWrappedInTryCatch = /* @__PURE__ */ new Set();
|
|
14668
15648
|
var didWarnAboutAsyncClientComponent = /* @__PURE__ */ new Set();
|
|
14669
15649
|
var didWarnAboutUseFormState = /* @__PURE__ */ new Set();
|
|
14670
|
-
var renderLanes = 0
|
|
15650
|
+
var renderLanes = 0;
|
|
15651
|
+
var currentlyRenderingFiber = null;
|
|
15652
|
+
var currentHook = null;
|
|
15653
|
+
var workInProgressHook = null;
|
|
15654
|
+
var didScheduleRenderPhaseUpdate = !1;
|
|
15655
|
+
var didScheduleRenderPhaseUpdateDuringThisPass = !1;
|
|
15656
|
+
var shouldDoubleInvokeUserFnsInHooksDEV = !1;
|
|
15657
|
+
var localIdCounter = 0;
|
|
15658
|
+
var thenableIndexCounter = 0;
|
|
15659
|
+
var thenableState = null;
|
|
15660
|
+
var globalClientIdCounter = 0;
|
|
15661
|
+
var RE_RENDER_LIMIT = 25;
|
|
15662
|
+
var currentHookNameInDev = null;
|
|
15663
|
+
var hookTypesDev = null;
|
|
15664
|
+
var hookTypesUpdateIndexDev = -1;
|
|
15665
|
+
var ignorePreviousDependencies = !1;
|
|
15666
|
+
var ContextOnlyDispatcher = {
|
|
14671
15667
|
readContext,
|
|
14672
15668
|
use,
|
|
14673
15669
|
useCallback: throwInvalidHookError,
|
|
@@ -14693,7 +15689,13 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
14693
15689
|
useCacheRefresh: throwInvalidHookError
|
|
14694
15690
|
};
|
|
14695
15691
|
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
|
|
14696
|
-
var HooksDispatcherOnMountInDEV = null
|
|
15692
|
+
var HooksDispatcherOnMountInDEV = null;
|
|
15693
|
+
var HooksDispatcherOnMountWithHookTypesInDEV = null;
|
|
15694
|
+
var HooksDispatcherOnUpdateInDEV = null;
|
|
15695
|
+
var HooksDispatcherOnRerenderInDEV = null;
|
|
15696
|
+
var InvalidNestedHooksDispatcherOnMountInDEV = null;
|
|
15697
|
+
var InvalidNestedHooksDispatcherOnUpdateInDEV = null;
|
|
15698
|
+
var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
|
|
14697
15699
|
HooksDispatcherOnMountInDEV = {
|
|
14698
15700
|
readContext: function(context) {
|
|
14699
15701
|
return readContext(context);
|
|
@@ -15695,7 +16697,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15695
16697
|
callback = enqueueUpdate(inst, update, lane);
|
|
15696
16698
|
null !== callback && (startUpdateTimerByLane(lane, "this.forceUpdate()", inst), scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane));
|
|
15697
16699
|
}
|
|
15698
|
-
}
|
|
16700
|
+
};
|
|
16701
|
+
var componentName = null;
|
|
16702
|
+
var errorBoundaryName = null;
|
|
16703
|
+
var SelectiveHydrationException = Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.");
|
|
16704
|
+
var didReceiveUpdate = !1;
|
|
15699
16705
|
var didWarnAboutBadClass = {};
|
|
15700
16706
|
var didWarnAboutContextTypeOnFunctionComponent = {};
|
|
15701
16707
|
var didWarnAboutContextTypes = {};
|
|
@@ -15708,9 +16714,23 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15708
16714
|
treeContext: null,
|
|
15709
16715
|
retryLane: 0,
|
|
15710
16716
|
hydrationErrors: null
|
|
15711
|
-
}
|
|
16717
|
+
};
|
|
16718
|
+
var hasWarnedAboutUsingNoValuePropOnContextProvider = !1;
|
|
16719
|
+
var didWarnAboutUndefinedSnapshotBeforeUpdate = null;
|
|
15712
16720
|
didWarnAboutUndefinedSnapshotBeforeUpdate = /* @__PURE__ */ new Set();
|
|
15713
|
-
var offscreenSubtreeIsHidden = !1
|
|
16721
|
+
var offscreenSubtreeIsHidden = !1;
|
|
16722
|
+
var offscreenSubtreeWasHidden = !1;
|
|
16723
|
+
var needsFormReset = !1;
|
|
16724
|
+
var PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set;
|
|
16725
|
+
var nextEffect = null;
|
|
16726
|
+
var inProgressLanes = null;
|
|
16727
|
+
var inProgressRoot = null;
|
|
16728
|
+
var hostParent = null;
|
|
16729
|
+
var hostParentIsContainer = !1;
|
|
16730
|
+
var currentHoistableRoot = null;
|
|
16731
|
+
var inHydratedSubtree = !1;
|
|
16732
|
+
var suspenseyCommitFlag = 8192;
|
|
16733
|
+
var DefaultAsyncDispatcher = {
|
|
15714
16734
|
getCacheForType: function(resourceType) {
|
|
15715
16735
|
var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType);
|
|
15716
16736
|
void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType));
|
|
@@ -15722,7 +16742,12 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15722
16742
|
getOwner: function() {
|
|
15723
16743
|
return current;
|
|
15724
16744
|
}
|
|
15725
|
-
}
|
|
16745
|
+
};
|
|
16746
|
+
var COMPONENT_TYPE = 0;
|
|
16747
|
+
var HAS_PSEUDO_CLASS_TYPE = 1;
|
|
16748
|
+
var ROLE_TYPE = 2;
|
|
16749
|
+
var TEST_NAME_TYPE = 3;
|
|
16750
|
+
var TEXT_TYPE = 4;
|
|
15726
16751
|
if ("function" === typeof Symbol && Symbol.for) {
|
|
15727
16752
|
var symbolFor = Symbol.for;
|
|
15728
16753
|
COMPONENT_TYPE = symbolFor("selector.component");
|
|
@@ -15731,9 +16756,91 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15731
16756
|
TEST_NAME_TYPE = symbolFor("selector.test_id");
|
|
15732
16757
|
TEXT_TYPE = symbolFor("selector.text");
|
|
15733
16758
|
}
|
|
15734
|
-
var commitHooks = []
|
|
16759
|
+
var commitHooks = [];
|
|
16760
|
+
var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map;
|
|
16761
|
+
var NoContext = 0;
|
|
16762
|
+
var RenderContext = 2;
|
|
16763
|
+
var CommitContext = 4;
|
|
16764
|
+
var RootInProgress = 0;
|
|
16765
|
+
var RootFatalErrored = 1;
|
|
16766
|
+
var RootErrored = 2;
|
|
16767
|
+
var RootSuspended = 3;
|
|
16768
|
+
var RootSuspendedWithDelay = 4;
|
|
16769
|
+
var RootSuspendedAtTheShell = 6;
|
|
16770
|
+
var RootCompleted = 5;
|
|
16771
|
+
var executionContext = NoContext;
|
|
16772
|
+
var workInProgressRoot = null;
|
|
16773
|
+
var workInProgress = null;
|
|
16774
|
+
var workInProgressRootRenderLanes = 0;
|
|
16775
|
+
var NotSuspended = 0;
|
|
16776
|
+
var SuspendedOnError = 1;
|
|
16777
|
+
var SuspendedOnData = 2;
|
|
16778
|
+
var SuspendedOnImmediate = 3;
|
|
16779
|
+
var SuspendedOnInstance = 4;
|
|
16780
|
+
var SuspendedOnInstanceAndReadyToContinue = 5;
|
|
16781
|
+
var SuspendedOnDeprecatedThrowPromise = 6;
|
|
16782
|
+
var SuspendedAndReadyToContinue = 7;
|
|
16783
|
+
var SuspendedOnHydration = 8;
|
|
16784
|
+
var SuspendedOnAction = 9;
|
|
16785
|
+
var workInProgressSuspendedReason = NotSuspended;
|
|
16786
|
+
var workInProgressThrownValue = null;
|
|
16787
|
+
var workInProgressRootDidSkipSuspendedSiblings = !1;
|
|
16788
|
+
var workInProgressRootIsPrerendering = !1;
|
|
16789
|
+
var workInProgressRootDidAttachPingListener = !1;
|
|
16790
|
+
var entangledRenderLanes = 0;
|
|
16791
|
+
var workInProgressRootExitStatus = RootInProgress;
|
|
16792
|
+
var workInProgressRootSkippedLanes = 0;
|
|
16793
|
+
var workInProgressRootInterleavedUpdatedLanes = 0;
|
|
16794
|
+
var workInProgressRootPingedLanes = 0;
|
|
16795
|
+
var workInProgressDeferredLane = 0;
|
|
16796
|
+
var workInProgressSuspendedRetryLanes = 0;
|
|
16797
|
+
var workInProgressRootConcurrentErrors = null;
|
|
16798
|
+
var workInProgressRootRecoverableErrors = null;
|
|
16799
|
+
var workInProgressRootDidIncludeRecursiveRenderUpdate = !1;
|
|
16800
|
+
var globalMostRecentFallbackTime = 0;
|
|
16801
|
+
var globalMostRecentTransitionTime = 0;
|
|
16802
|
+
var FALLBACK_THROTTLE_MS = 300;
|
|
16803
|
+
var workInProgressRootRenderTargetTime = Infinity;
|
|
16804
|
+
var RENDER_TIMEOUT_MS = 500;
|
|
16805
|
+
var workInProgressTransitions = null;
|
|
16806
|
+
var workInProgressUpdateTask = null;
|
|
16807
|
+
var legacyErrorBoundariesThatAlreadyFailed = null;
|
|
16808
|
+
var IMMEDIATE_COMMIT = 0;
|
|
16809
|
+
var ABORTED_VIEW_TRANSITION_COMMIT = 1;
|
|
16810
|
+
var DELAYED_PASSIVE_COMMIT = 2;
|
|
16811
|
+
var ANIMATION_STARTED_COMMIT = 3;
|
|
16812
|
+
var NO_PENDING_EFFECTS = 0;
|
|
16813
|
+
var PENDING_MUTATION_PHASE = 1;
|
|
16814
|
+
var PENDING_LAYOUT_PHASE = 2;
|
|
16815
|
+
var PENDING_AFTER_MUTATION_PHASE = 3;
|
|
16816
|
+
var PENDING_SPAWNED_WORK = 4;
|
|
16817
|
+
var PENDING_PASSIVE_PHASE = 5;
|
|
16818
|
+
var pendingEffectsStatus = 0;
|
|
16819
|
+
var pendingEffectsRoot = null;
|
|
16820
|
+
var pendingFinishedWork = null;
|
|
16821
|
+
var pendingEffectsLanes = 0;
|
|
16822
|
+
var pendingEffectsRemainingLanes = 0;
|
|
16823
|
+
var pendingEffectsRenderEndTime = -0;
|
|
16824
|
+
var pendingPassiveTransitions = null;
|
|
16825
|
+
var pendingRecoverableErrors = null;
|
|
16826
|
+
var pendingSuspendedCommitReason = null;
|
|
16827
|
+
var pendingDelayedCommitReason = IMMEDIATE_COMMIT;
|
|
16828
|
+
var pendingSuspendedViewTransitionReason = null;
|
|
16829
|
+
var NESTED_UPDATE_LIMIT = 50;
|
|
16830
|
+
var nestedUpdateCount = 0;
|
|
16831
|
+
var rootWithNestedUpdates = null;
|
|
16832
|
+
var isFlushingPassiveEffects = !1;
|
|
16833
|
+
var didScheduleUpdateDuringPassiveEffects = !1;
|
|
16834
|
+
var NESTED_PASSIVE_UPDATE_LIMIT = 50;
|
|
16835
|
+
var nestedPassiveUpdateCount = 0;
|
|
16836
|
+
var rootWithPassiveNestedUpdates = null;
|
|
16837
|
+
var isRunningInsertionEffect = !1;
|
|
16838
|
+
var didWarnStateUpdateForNotYetMountedComponent = null;
|
|
16839
|
+
var didWarnAboutUpdateInRender = !1;
|
|
15735
16840
|
var didWarnAboutUpdateInRenderForAnotherComponent = /* @__PURE__ */ new Set();
|
|
15736
|
-
var fakeActCallbackNode = {}
|
|
16841
|
+
var fakeActCallbackNode = {};
|
|
16842
|
+
var resolveFamily = null;
|
|
16843
|
+
var failedBoundaries = null;
|
|
15737
16844
|
var hasBadMapPolyfill = !1;
|
|
15738
16845
|
try {
|
|
15739
16846
|
var nonExtensibleObject = Object.preventExtensions({});
|
|
@@ -15744,7 +16851,16 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15744
16851
|
}
|
|
15745
16852
|
var didWarnAboutNestedUpdates = !1;
|
|
15746
16853
|
var didWarnAboutFindNodeInStrictMode = {};
|
|
15747
|
-
var overrideHookState = null
|
|
16854
|
+
var overrideHookState = null;
|
|
16855
|
+
var overrideHookStateDeletePath = null;
|
|
16856
|
+
var overrideHookStateRenamePath = null;
|
|
16857
|
+
var overrideProps = null;
|
|
16858
|
+
var overridePropsDeletePath = null;
|
|
16859
|
+
var overridePropsRenamePath = null;
|
|
16860
|
+
var scheduleUpdate = null;
|
|
16861
|
+
var scheduleRetry = null;
|
|
16862
|
+
var setErrorHandler = null;
|
|
16863
|
+
var setSuspenseHandler = null;
|
|
15748
16864
|
overrideHookState = function(fiber, id, path, value) {
|
|
15749
16865
|
id = findHook(fiber, id);
|
|
15750
16866
|
null !== id && (path = copyWithSetImpl(id.memoizedState, path, 0, value), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2));
|
|
@@ -15780,7 +16896,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15780
16896
|
null !== root && scheduleUpdateOnFiber(root, fiber, 2);
|
|
15781
16897
|
};
|
|
15782
16898
|
scheduleRetry = function(fiber) {
|
|
15783
|
-
var lane = claimNextRetryLane()
|
|
16899
|
+
var lane = claimNextRetryLane();
|
|
16900
|
+
var root = enqueueConcurrentRenderForLane(fiber, lane);
|
|
15784
16901
|
null !== root && scheduleUpdateOnFiber(root, fiber, lane);
|
|
15785
16902
|
};
|
|
15786
16903
|
setErrorHandler = function(newShouldErrorImpl) {
|
|
@@ -15897,7 +17014,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15897
17014
|
};
|
|
15898
17015
|
};
|
|
15899
17016
|
exports$1.defaultOnCaughtError = function(error) {
|
|
15900
|
-
var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component." : "The above error occurred in one of your React components."
|
|
17017
|
+
var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component." : "The above error occurred in one of your React components.";
|
|
17018
|
+
var recreateMessage = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((errorBoundaryName || "Anonymous") + ".");
|
|
15901
17019
|
"object" === typeof error && null !== error && "string" === typeof error.environmentName ? bindToConsole("error", [
|
|
15902
17020
|
"%o\n\n%s\n\n%s\n",
|
|
15903
17021
|
error,
|
|
@@ -15913,7 +17031,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15913
17031
|
console.warn("%s\n\n%s\n", componentName ? "An error occurred in the <" + componentName + "> component." : "An error occurred in one of your React components.", "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries.");
|
|
15914
17032
|
};
|
|
15915
17033
|
exports$1.deferredUpdates = function(fn) {
|
|
15916
|
-
var prevTransition = ReactSharedInternals.T
|
|
17034
|
+
var prevTransition = ReactSharedInternals.T;
|
|
17035
|
+
var previousPriority = getCurrentUpdatePriority();
|
|
15917
17036
|
try {
|
|
15918
17037
|
return setCurrentUpdatePriority(32), ReactSharedInternals.T = null, fn();
|
|
15919
17038
|
} finally {
|
|
@@ -15921,7 +17040,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15921
17040
|
}
|
|
15922
17041
|
};
|
|
15923
17042
|
exports$1.discreteUpdates = function(fn, a, b, c, d) {
|
|
15924
|
-
var prevTransition = ReactSharedInternals.T
|
|
17043
|
+
var prevTransition = ReactSharedInternals.T;
|
|
17044
|
+
var previousPriority = getCurrentUpdatePriority();
|
|
15925
17045
|
try {
|
|
15926
17046
|
return setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn(a, b, c, d);
|
|
15927
17047
|
} finally {
|
|
@@ -15937,7 +17057,11 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15937
17057
|
for (selectors = hostRoot.length - 1; 0 < selectors; selectors--) {
|
|
15938
17058
|
i = hostRoot[selectors];
|
|
15939
17059
|
for (var targetLeft = i.x, targetRight = targetLeft + i.width, targetTop = i.y, targetBottom = targetTop + i.height, j = selectors - 1; 0 <= j; j--) if (selectors !== j) {
|
|
15940
|
-
var otherRect = hostRoot[j]
|
|
17060
|
+
var otherRect = hostRoot[j];
|
|
17061
|
+
var otherLeft = otherRect.x;
|
|
17062
|
+
var otherRight = otherLeft + otherRect.width;
|
|
17063
|
+
var otherTop = otherRect.y;
|
|
17064
|
+
var otherBottom = otherTop + otherRect.height;
|
|
15941
17065
|
if (targetLeft >= otherLeft && targetTop >= otherTop && targetRight <= otherRight && targetBottom <= otherBottom) {
|
|
15942
17066
|
hostRoot.splice(selectors, 1);
|
|
15943
17067
|
break;
|
|
@@ -15992,7 +17116,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15992
17116
|
exports$1.flushSyncFromReconciler = function(fn) {
|
|
15993
17117
|
var prevExecutionContext = executionContext;
|
|
15994
17118
|
executionContext |= 1;
|
|
15995
|
-
var prevTransition = ReactSharedInternals.T
|
|
17119
|
+
var prevTransition = ReactSharedInternals.T;
|
|
17120
|
+
var previousPriority = getCurrentUpdatePriority();
|
|
15996
17121
|
try {
|
|
15997
17122
|
if (setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn) return fn();
|
|
15998
17123
|
} finally {
|
|
@@ -16006,7 +17131,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
16006
17131
|
selectors = findPaths(hostRoot, selectors);
|
|
16007
17132
|
selectors = Array.from(selectors);
|
|
16008
17133
|
for (hostRoot = 0; hostRoot < selectors.length;) {
|
|
16009
|
-
var fiber = selectors[hostRoot++]
|
|
17134
|
+
var fiber = selectors[hostRoot++];
|
|
17135
|
+
var tag = fiber.tag;
|
|
16010
17136
|
if (!isHiddenSubtree(fiber)) {
|
|
16011
17137
|
if ((5 === tag || 26 === tag || 27 === tag) && setFocusIfFocusable(fiber.stateNode)) return !0;
|
|
16012
17138
|
for (fiber = fiber.child; null !== fiber;) selectors.push(fiber), fiber = fiber.sibling;
|
|
@@ -16016,10 +17142,14 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
16016
17142
|
};
|
|
16017
17143
|
exports$1.getFindAllNodesFailureDescription = function(hostRoot, selectors) {
|
|
16018
17144
|
if (!supportsTestSelectors) throw Error("Test selector API is not supported by this renderer.");
|
|
16019
|
-
var maxSelectorIndex = 0
|
|
17145
|
+
var maxSelectorIndex = 0;
|
|
17146
|
+
var matchedNames = [];
|
|
16020
17147
|
hostRoot = [findFiberRootForHostRoot(hostRoot), 0];
|
|
16021
17148
|
for (var index = 0; index < hostRoot.length;) {
|
|
16022
|
-
var fiber = hostRoot[index++]
|
|
17149
|
+
var fiber = hostRoot[index++];
|
|
17150
|
+
var tag = fiber.tag;
|
|
17151
|
+
var selectorIndex = hostRoot[index++];
|
|
17152
|
+
var selector = selectors[selectorIndex];
|
|
16023
17153
|
if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
|
|
16024
17154
|
if (matchSelector(fiber, selector) && (matchedNames.push(selectorToString(selector)), selectorIndex++, selectorIndex > maxSelectorIndex && (maxSelectorIndex = selectorIndex)), selectorIndex < selectors.length) for (fiber = fiber.child; null !== fiber;) hostRoot.push(fiber, selectorIndex), fiber = fiber.sibling;
|
|
16025
17155
|
}
|
|
@@ -16078,7 +17208,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
16078
17208
|
if (!supportsTestSelectors) throw Error("Test selector API is not supported by this renderer.");
|
|
16079
17209
|
var instanceRoots = findAllNodes(hostRoot, selectors);
|
|
16080
17210
|
callback = setupIntersectionObserver(instanceRoots, callback, options);
|
|
16081
|
-
var disconnect = callback.disconnect
|
|
17211
|
+
var disconnect = callback.disconnect;
|
|
17212
|
+
var observe = callback.observe;
|
|
17213
|
+
var unobserve = callback.unobserve;
|
|
16082
17214
|
commitHooks.push(commitHook);
|
|
16083
17215
|
return { disconnect: function() {
|
|
16084
17216
|
var index = commitHooks.indexOf(commitHook);
|
|
@@ -16105,7 +17237,8 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
16105
17237
|
});
|
|
16106
17238
|
};
|
|
16107
17239
|
exports$1.updateContainer = function(element, container, parentComponent, callback) {
|
|
16108
|
-
var current = container.current
|
|
17240
|
+
var current = container.current;
|
|
17241
|
+
var lane = requestUpdateLane(current);
|
|
16109
17242
|
updateContainerImpl(current, lane, element, container, parentComponent, callback);
|
|
16110
17243
|
return lane;
|
|
16111
17244
|
};
|
|
@@ -16692,4 +17825,4 @@ const reactPlugin = definePlugin({
|
|
|
16692
17825
|
|
|
16693
17826
|
//#endregion
|
|
16694
17827
|
export { Root as i, Runtime as n, Renderer as r, reactPlugin as t };
|
|
16695
|
-
//# sourceMappingURL=reactPlugin-
|
|
17828
|
+
//# sourceMappingURL=reactPlugin-DGKBWjiR.js.map
|