react-dom 19.1.0-canary-62208bee-20250102 → 19.1.0-canary-3b009b4c-20250102
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/cjs/react-dom-client.development.js +512 -501
- package/cjs/react-dom-client.production.js +432 -420
- package/cjs/react-dom-profiling.development.js +512 -501
- package/cjs/react-dom-profiling.profiling.js +470 -464
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -510,17 +510,6 @@ var hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
510
510
|
unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue,
|
511
511
|
rendererID = null,
|
512
512
|
injectedHook = null;
|
513
|
-
function onCommitRoot(root) {
|
514
|
-
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
515
|
-
try {
|
516
|
-
injectedHook.onCommitFiberRoot(
|
517
|
-
rendererID,
|
518
|
-
root,
|
519
|
-
void 0,
|
520
|
-
128 === (root.current.flags & 128)
|
521
|
-
);
|
522
|
-
} catch (err) {}
|
523
|
-
}
|
524
513
|
function setIsStrictModeForDevtools(newIsStrictMode) {
|
525
514
|
"function" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode);
|
526
515
|
if (injectedHook && "function" === typeof injectedHook.setStrictMode)
|
@@ -590,14 +579,13 @@ function getHighestPriorityLanes(lanes) {
|
|
590
579
|
return lanes;
|
591
580
|
}
|
592
581
|
}
|
593
|
-
function getNextLanes(root, wipLanes) {
|
582
|
+
function getNextLanes(root, wipLanes, rootHasPendingCommit) {
|
594
583
|
var pendingLanes = root.pendingLanes;
|
595
584
|
if (0 === pendingLanes) return 0;
|
596
585
|
var nextLanes = 0,
|
597
586
|
suspendedLanes = root.suspendedLanes,
|
598
|
-
pingedLanes = root.pingedLanes
|
599
|
-
|
600
|
-
root = 0 !== root.finishedLanes;
|
587
|
+
pingedLanes = root.pingedLanes;
|
588
|
+
root = root.warmLanes;
|
601
589
|
var nonIdlePendingLanes = pendingLanes & 134217727;
|
602
590
|
0 !== nonIdlePendingLanes
|
603
591
|
? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
|
@@ -606,28 +594,28 @@ function getNextLanes(root, wipLanes) {
|
|
606
594
|
: ((pingedLanes &= nonIdlePendingLanes),
|
607
595
|
0 !== pingedLanes
|
608
596
|
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
609
|
-
:
|
610
|
-
((
|
611
|
-
0 !==
|
612
|
-
(nextLanes = getHighestPriorityLanes(
|
597
|
+
: rootHasPendingCommit ||
|
598
|
+
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
|
599
|
+
0 !== rootHasPendingCommit &&
|
600
|
+
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
|
613
601
|
: ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
|
614
602
|
0 !== nonIdlePendingLanes
|
615
603
|
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
616
604
|
: 0 !== pingedLanes
|
617
605
|
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
618
|
-
:
|
619
|
-
((
|
620
|
-
0 !==
|
621
|
-
(nextLanes = getHighestPriorityLanes(
|
606
|
+
: rootHasPendingCommit ||
|
607
|
+
((rootHasPendingCommit = pendingLanes & ~root),
|
608
|
+
0 !== rootHasPendingCommit &&
|
609
|
+
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
|
622
610
|
return 0 === nextLanes
|
623
611
|
? 0
|
624
612
|
: 0 !== wipLanes &&
|
625
613
|
wipLanes !== nextLanes &&
|
626
614
|
0 === (wipLanes & suspendedLanes) &&
|
627
615
|
((suspendedLanes = nextLanes & -nextLanes),
|
628
|
-
(
|
629
|
-
suspendedLanes >=
|
630
|
-
(32 === suspendedLanes && 0 !== (
|
616
|
+
(rootHasPendingCommit = wipLanes & -wipLanes),
|
617
|
+
suspendedLanes >= rootHasPendingCommit ||
|
618
|
+
(32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194176)))
|
631
619
|
? wipLanes
|
632
620
|
: nextLanes;
|
633
621
|
}
|
@@ -2026,19 +2014,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
2026
2014
|
}
|
2027
2015
|
var isInputEventSupported = !1;
|
2028
2016
|
if (canUseDOM) {
|
2029
|
-
var JSCompiler_inline_result$jscomp$
|
2017
|
+
var JSCompiler_inline_result$jscomp$281;
|
2030
2018
|
if (canUseDOM) {
|
2031
|
-
var isSupported$jscomp$
|
2032
|
-
if (!isSupported$jscomp$
|
2033
|
-
var element$jscomp$
|
2034
|
-
element$jscomp$
|
2035
|
-
isSupported$jscomp$
|
2036
|
-
"function" === typeof element$jscomp$
|
2019
|
+
var isSupported$jscomp$inline_412 = "oninput" in document;
|
2020
|
+
if (!isSupported$jscomp$inline_412) {
|
2021
|
+
var element$jscomp$inline_413 = document.createElement("div");
|
2022
|
+
element$jscomp$inline_413.setAttribute("oninput", "return;");
|
2023
|
+
isSupported$jscomp$inline_412 =
|
2024
|
+
"function" === typeof element$jscomp$inline_413.oninput;
|
2037
2025
|
}
|
2038
|
-
JSCompiler_inline_result$jscomp$
|
2039
|
-
} else JSCompiler_inline_result$jscomp$
|
2026
|
+
JSCompiler_inline_result$jscomp$281 = isSupported$jscomp$inline_412;
|
2027
|
+
} else JSCompiler_inline_result$jscomp$281 = !1;
|
2040
2028
|
isInputEventSupported =
|
2041
|
-
JSCompiler_inline_result$jscomp$
|
2029
|
+
JSCompiler_inline_result$jscomp$281 &&
|
2042
2030
|
(!document.documentMode || 9 < document.documentMode);
|
2043
2031
|
}
|
2044
2032
|
function stopWatchingForValueChange() {
|
@@ -2190,97 +2178,6 @@ function hasSelectionCapabilities(elem) {
|
|
2190
2178
|
"true" === elem.contentEditable)
|
2191
2179
|
);
|
2192
2180
|
}
|
2193
|
-
function restoreSelection(priorSelectionInformation, containerInfo) {
|
2194
|
-
var curFocusedElem = getActiveElementDeep(containerInfo);
|
2195
|
-
containerInfo = priorSelectionInformation.focusedElem;
|
2196
|
-
var priorSelectionRange = priorSelectionInformation.selectionRange;
|
2197
|
-
if (
|
2198
|
-
curFocusedElem !== containerInfo &&
|
2199
|
-
containerInfo &&
|
2200
|
-
containerInfo.ownerDocument &&
|
2201
|
-
containsNode(containerInfo.ownerDocument.documentElement, containerInfo)
|
2202
|
-
) {
|
2203
|
-
if (null !== priorSelectionRange && hasSelectionCapabilities(containerInfo))
|
2204
|
-
if (
|
2205
|
-
((priorSelectionInformation = priorSelectionRange.start),
|
2206
|
-
(curFocusedElem = priorSelectionRange.end),
|
2207
|
-
void 0 === curFocusedElem &&
|
2208
|
-
(curFocusedElem = priorSelectionInformation),
|
2209
|
-
"selectionStart" in containerInfo)
|
2210
|
-
)
|
2211
|
-
(containerInfo.selectionStart = priorSelectionInformation),
|
2212
|
-
(containerInfo.selectionEnd = Math.min(
|
2213
|
-
curFocusedElem,
|
2214
|
-
containerInfo.value.length
|
2215
|
-
));
|
2216
|
-
else if (
|
2217
|
-
((curFocusedElem =
|
2218
|
-
((priorSelectionInformation =
|
2219
|
-
containerInfo.ownerDocument || document) &&
|
2220
|
-
priorSelectionInformation.defaultView) ||
|
2221
|
-
window),
|
2222
|
-
curFocusedElem.getSelection)
|
2223
|
-
) {
|
2224
|
-
curFocusedElem = curFocusedElem.getSelection();
|
2225
|
-
var length = containerInfo.textContent.length,
|
2226
|
-
start = Math.min(priorSelectionRange.start, length);
|
2227
|
-
priorSelectionRange =
|
2228
|
-
void 0 === priorSelectionRange.end
|
2229
|
-
? start
|
2230
|
-
: Math.min(priorSelectionRange.end, length);
|
2231
|
-
!curFocusedElem.extend &&
|
2232
|
-
start > priorSelectionRange &&
|
2233
|
-
((length = priorSelectionRange),
|
2234
|
-
(priorSelectionRange = start),
|
2235
|
-
(start = length));
|
2236
|
-
length = getNodeForCharacterOffset(containerInfo, start);
|
2237
|
-
var endMarker = getNodeForCharacterOffset(
|
2238
|
-
containerInfo,
|
2239
|
-
priorSelectionRange
|
2240
|
-
);
|
2241
|
-
length &&
|
2242
|
-
endMarker &&
|
2243
|
-
(1 !== curFocusedElem.rangeCount ||
|
2244
|
-
curFocusedElem.anchorNode !== length.node ||
|
2245
|
-
curFocusedElem.anchorOffset !== length.offset ||
|
2246
|
-
curFocusedElem.focusNode !== endMarker.node ||
|
2247
|
-
curFocusedElem.focusOffset !== endMarker.offset) &&
|
2248
|
-
((priorSelectionInformation =
|
2249
|
-
priorSelectionInformation.createRange()),
|
2250
|
-
priorSelectionInformation.setStart(length.node, length.offset),
|
2251
|
-
curFocusedElem.removeAllRanges(),
|
2252
|
-
start > priorSelectionRange
|
2253
|
-
? (curFocusedElem.addRange(priorSelectionInformation),
|
2254
|
-
curFocusedElem.extend(endMarker.node, endMarker.offset))
|
2255
|
-
: (priorSelectionInformation.setEnd(
|
2256
|
-
endMarker.node,
|
2257
|
-
endMarker.offset
|
2258
|
-
),
|
2259
|
-
curFocusedElem.addRange(priorSelectionInformation)));
|
2260
|
-
}
|
2261
|
-
priorSelectionInformation = [];
|
2262
|
-
for (
|
2263
|
-
curFocusedElem = containerInfo;
|
2264
|
-
(curFocusedElem = curFocusedElem.parentNode);
|
2265
|
-
|
2266
|
-
)
|
2267
|
-
1 === curFocusedElem.nodeType &&
|
2268
|
-
priorSelectionInformation.push({
|
2269
|
-
element: curFocusedElem,
|
2270
|
-
left: curFocusedElem.scrollLeft,
|
2271
|
-
top: curFocusedElem.scrollTop
|
2272
|
-
});
|
2273
|
-
"function" === typeof containerInfo.focus && containerInfo.focus();
|
2274
|
-
for (
|
2275
|
-
containerInfo = 0;
|
2276
|
-
containerInfo < priorSelectionInformation.length;
|
2277
|
-
containerInfo++
|
2278
|
-
)
|
2279
|
-
(curFocusedElem = priorSelectionInformation[containerInfo]),
|
2280
|
-
(curFocusedElem.element.scrollLeft = curFocusedElem.left),
|
2281
|
-
(curFocusedElem.element.scrollTop = curFocusedElem.top);
|
2282
|
-
}
|
2283
|
-
}
|
2284
2181
|
var skipSelectionChangeEvent =
|
2285
2182
|
canUseDOM && "documentMode" in document && 11 >= document.documentMode,
|
2286
2183
|
activeElement = null,
|
@@ -6105,12 +6002,12 @@ function markRef(current, workInProgress) {
|
|
6105
6002
|
if (null === ref)
|
6106
6003
|
null !== current &&
|
6107
6004
|
null !== current.ref &&
|
6108
|
-
(workInProgress.flags |=
|
6005
|
+
(workInProgress.flags |= 4194816);
|
6109
6006
|
else {
|
6110
6007
|
if ("function" !== typeof ref && "object" !== typeof ref)
|
6111
6008
|
throw Error(formatProdErrorMessage(284));
|
6112
6009
|
if (null === current || current.ref !== ref)
|
6113
|
-
workInProgress.flags |=
|
6010
|
+
workInProgress.flags |= 4194816;
|
6114
6011
|
}
|
6115
6012
|
}
|
6116
6013
|
function updateFunctionComponent(
|
@@ -6715,7 +6612,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
6715
6612
|
children: nextProps.children
|
6716
6613
|
})),
|
6717
6614
|
(nextProps.subtreeFlags =
|
6718
|
-
JSCompiler_temp$jscomp$0.subtreeFlags &
|
6615
|
+
JSCompiler_temp$jscomp$0.subtreeFlags & 29360128),
|
6719
6616
|
null !== digest
|
6720
6617
|
? (showFallback = createWorkInProgress(digest, showFallback))
|
6721
6618
|
: ((showFallback = createFiberFromFragment(
|
@@ -7746,8 +7643,7 @@ var offscreenSubtreeIsHidden = !1,
|
|
7746
7643
|
offscreenSubtreeWasHidden = !1,
|
7747
7644
|
needsFormReset = !1,
|
7748
7645
|
PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
|
7749
|
-
nextEffect = null
|
7750
|
-
shouldFireAfterActiveInstanceBlur = !1;
|
7646
|
+
nextEffect = null;
|
7751
7647
|
function commitBeforeMutationEffects(root, firstChild) {
|
7752
7648
|
root = root.containerInfo;
|
7753
7649
|
eventsEnabled = _enabled;
|
@@ -7823,7 +7719,7 @@ function commitBeforeMutationEffects(root, firstChild) {
|
|
7823
7719
|
if (
|
7824
7720
|
((firstChild = nextEffect),
|
7825
7721
|
(root = firstChild.child),
|
7826
|
-
0 !== (firstChild.subtreeFlags &
|
7722
|
+
0 !== (firstChild.subtreeFlags & 1024) && null !== root)
|
7827
7723
|
)
|
7828
7724
|
(root.return = firstChild), (nextEffect = root);
|
7829
7725
|
else
|
@@ -7901,9 +7797,6 @@ function commitBeforeMutationEffects(root, firstChild) {
|
|
7901
7797
|
}
|
7902
7798
|
nextEffect = firstChild.return;
|
7903
7799
|
}
|
7904
|
-
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
7905
|
-
shouldFireAfterActiveInstanceBlur = !1;
|
7906
|
-
return resolvedPrevProps;
|
7907
7800
|
}
|
7908
7801
|
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
7909
7802
|
var flags = finishedWork.flags;
|
@@ -8992,6 +8885,14 @@ function commitPassiveMountOnFiber(
|
|
8992
8885
|
);
|
8993
8886
|
flags & 2048 && commitHookEffectListMount(9, finishedWork);
|
8994
8887
|
break;
|
8888
|
+
case 1:
|
8889
|
+
recursivelyTraversePassiveMountEffects(
|
8890
|
+
finishedRoot,
|
8891
|
+
finishedWork,
|
8892
|
+
committedLanes,
|
8893
|
+
committedTransitions
|
8894
|
+
);
|
8895
|
+
break;
|
8995
8896
|
case 3:
|
8996
8897
|
recursivelyTraversePassiveMountEffects(
|
8997
8898
|
finishedRoot,
|
@@ -9449,7 +9350,7 @@ function createWorkInProgress(current, pendingProps) {
|
|
9449
9350
|
(workInProgress.flags = 0),
|
9450
9351
|
(workInProgress.subtreeFlags = 0),
|
9451
9352
|
(workInProgress.deletions = null));
|
9452
|
-
workInProgress.flags = current.flags &
|
9353
|
+
workInProgress.flags = current.flags & 29360128;
|
9453
9354
|
workInProgress.childLanes = current.childLanes;
|
9454
9355
|
workInProgress.lanes = current.lanes;
|
9455
9356
|
workInProgress.child = current.child;
|
@@ -9468,7 +9369,7 @@ function createWorkInProgress(current, pendingProps) {
|
|
9468
9369
|
return workInProgress;
|
9469
9370
|
}
|
9470
9371
|
function resetWorkInProgress(workInProgress, renderLanes) {
|
9471
|
-
workInProgress.flags &=
|
9372
|
+
workInProgress.flags &= 29360130;
|
9472
9373
|
var current = workInProgress.alternate;
|
9473
9374
|
null === current
|
9474
9375
|
? ((workInProgress.childLanes = 0),
|
@@ -9711,8 +9612,8 @@ function bubbleProperties(completedWork) {
|
|
9711
9612
|
if (didBailout)
|
9712
9613
|
for (var child$132 = completedWork.child; null !== child$132; )
|
9713
9614
|
(newChildLanes |= child$132.lanes | child$132.childLanes),
|
9714
|
-
(subtreeFlags |= child$132.subtreeFlags &
|
9715
|
-
(subtreeFlags |= child$132.flags &
|
9615
|
+
(subtreeFlags |= child$132.subtreeFlags & 29360128),
|
9616
|
+
(subtreeFlags |= child$132.flags & 29360128),
|
9716
9617
|
(child$132.return = completedWork),
|
9717
9618
|
(child$132 = child$132.sibling);
|
9718
9619
|
else
|
@@ -10447,8 +10348,6 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
10447
10348
|
default:
|
10448
10349
|
throw Error(formatProdErrorMessage(329));
|
10449
10350
|
}
|
10450
|
-
shouldTimeSlice.finishedWork = forceSync;
|
10451
|
-
shouldTimeSlice.finishedLanes = lanes;
|
10452
10351
|
if (
|
10453
10352
|
(lanes & 62914560) === lanes &&
|
10454
10353
|
((exitStatus = globalMostRecentFallbackTime + 300 - now()),
|
@@ -10460,7 +10359,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
10460
10359
|
workInProgressDeferredLane,
|
10461
10360
|
!workInProgressRootDidSkipSuspendedSiblings
|
10462
10361
|
);
|
10463
|
-
if (0 !== getNextLanes(shouldTimeSlice, 0)) break a;
|
10362
|
+
if (0 !== getNextLanes(shouldTimeSlice, 0, !0)) break a;
|
10464
10363
|
shouldTimeSlice.timeoutHandle = scheduleTimeout(
|
10465
10364
|
commitRootWhenReady.bind(
|
10466
10365
|
null,
|
@@ -10521,18 +10420,24 @@ function commitRootWhenReady(
|
|
10521
10420
|
completedRenderStartTime,
|
10522
10421
|
completedRenderEndTime
|
10523
10422
|
) {
|
10524
|
-
|
10525
|
-
|
10423
|
+
root.timeoutHandle = -1;
|
10424
|
+
suspendedCommitReason = finishedWork.subtreeFlags;
|
10425
|
+
if (
|
10426
|
+
suspendedCommitReason & 8192 ||
|
10427
|
+
16785408 === (suspendedCommitReason & 16785408)
|
10428
|
+
)
|
10526
10429
|
if (
|
10527
10430
|
((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }),
|
10528
10431
|
accumulateSuspenseyCommitOnFiber(finishedWork),
|
10529
|
-
(
|
10530
|
-
null !==
|
10432
|
+
(suspendedCommitReason = waitForCommitToBeReady()),
|
10433
|
+
null !== suspendedCommitReason)
|
10531
10434
|
) {
|
10532
|
-
root.cancelPendingCommit =
|
10435
|
+
root.cancelPendingCommit = suspendedCommitReason(
|
10533
10436
|
commitRoot.bind(
|
10534
10437
|
null,
|
10535
10438
|
root,
|
10439
|
+
finishedWork,
|
10440
|
+
lanes,
|
10536
10441
|
recoverableErrors,
|
10537
10442
|
transitions,
|
10538
10443
|
didIncludeRenderPhaseUpdate,
|
@@ -10550,16 +10455,14 @@ function commitRootWhenReady(
|
|
10550
10455
|
}
|
10551
10456
|
commitRoot(
|
10552
10457
|
root,
|
10458
|
+
finishedWork,
|
10459
|
+
lanes,
|
10553
10460
|
recoverableErrors,
|
10554
10461
|
transitions,
|
10555
10462
|
didIncludeRenderPhaseUpdate,
|
10556
10463
|
spawnedLane,
|
10557
10464
|
updatedLanes,
|
10558
|
-
suspendedRetryLanes
|
10559
|
-
exitStatus,
|
10560
|
-
suspendedCommitReason,
|
10561
|
-
completedRenderStartTime,
|
10562
|
-
completedRenderEndTime
|
10465
|
+
suspendedRetryLanes
|
10563
10466
|
);
|
10564
10467
|
}
|
10565
10468
|
function isRenderConsistentWithExternalStores(finishedWork) {
|
@@ -10640,8 +10543,6 @@ function resetWorkInProgressStack() {
|
|
10640
10543
|
}
|
10641
10544
|
}
|
10642
10545
|
function prepareFreshStack(root, lanes) {
|
10643
|
-
root.finishedWork = null;
|
10644
|
-
root.finishedLanes = 0;
|
10645
10546
|
var timeoutHandle = root.timeoutHandle;
|
10646
10547
|
-1 !== timeoutHandle &&
|
10647
10548
|
((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));
|
@@ -10896,7 +10797,7 @@ function renderRootConcurrent(root, lanes) {
|
|
10896
10797
|
throw Error(formatProdErrorMessage(462));
|
10897
10798
|
}
|
10898
10799
|
}
|
10899
|
-
|
10800
|
+
workLoopConcurrentByScheduler();
|
10900
10801
|
break;
|
10901
10802
|
} catch (thrownValue$166) {
|
10902
10803
|
handleThrow(root, thrownValue$166);
|
@@ -10912,7 +10813,7 @@ function renderRootConcurrent(root, lanes) {
|
|
10912
10813
|
finishQueueingConcurrentUpdates();
|
10913
10814
|
return workInProgressRootExitStatus;
|
10914
10815
|
}
|
10915
|
-
function
|
10816
|
+
function workLoopConcurrentByScheduler() {
|
10916
10817
|
for (; null !== workInProgress && !shouldYield(); )
|
10917
10818
|
performUnitOfWork(workInProgress);
|
10918
10819
|
}
|
@@ -11071,137 +10972,244 @@ function unwindUnitOfWork(unitOfWork, skipSiblings) {
|
|
11071
10972
|
}
|
11072
10973
|
function commitRoot(
|
11073
10974
|
root,
|
10975
|
+
finishedWork,
|
10976
|
+
lanes,
|
11074
10977
|
recoverableErrors,
|
11075
10978
|
transitions,
|
11076
10979
|
didIncludeRenderPhaseUpdate,
|
11077
10980
|
spawnedLane,
|
11078
10981
|
updatedLanes,
|
11079
|
-
suspendedRetryLanes,
|
11080
|
-
exitStatus,
|
11081
|
-
suspendedCommitReason,
|
11082
|
-
completedRenderStartTime,
|
11083
|
-
completedRenderEndTime
|
11084
|
-
) {
|
11085
|
-
var prevTransition = ReactSharedInternals.T,
|
11086
|
-
previousUpdateLanePriority = ReactDOMSharedInternals.p;
|
11087
|
-
try {
|
11088
|
-
(ReactDOMSharedInternals.p = 2),
|
11089
|
-
(ReactSharedInternals.T = null),
|
11090
|
-
commitRootImpl(
|
11091
|
-
root,
|
11092
|
-
recoverableErrors,
|
11093
|
-
transitions,
|
11094
|
-
didIncludeRenderPhaseUpdate,
|
11095
|
-
previousUpdateLanePriority,
|
11096
|
-
spawnedLane,
|
11097
|
-
updatedLanes,
|
11098
|
-
suspendedRetryLanes,
|
11099
|
-
exitStatus,
|
11100
|
-
suspendedCommitReason,
|
11101
|
-
completedRenderStartTime,
|
11102
|
-
completedRenderEndTime
|
11103
|
-
);
|
11104
|
-
} finally {
|
11105
|
-
(ReactSharedInternals.T = prevTransition),
|
11106
|
-
(ReactDOMSharedInternals.p = previousUpdateLanePriority);
|
11107
|
-
}
|
11108
|
-
}
|
11109
|
-
function commitRootImpl(
|
11110
|
-
root,
|
11111
|
-
recoverableErrors,
|
11112
|
-
transitions,
|
11113
|
-
didIncludeRenderPhaseUpdate,
|
11114
|
-
renderPriorityLevel,
|
11115
|
-
spawnedLane,
|
11116
|
-
updatedLanes,
|
11117
10982
|
suspendedRetryLanes
|
11118
10983
|
) {
|
10984
|
+
root.cancelPendingCommit = null;
|
11119
10985
|
do flushPassiveEffects();
|
11120
10986
|
while (null !== rootWithPendingPassiveEffects);
|
11121
10987
|
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
|
11122
|
-
|
11123
|
-
|
11124
|
-
|
11125
|
-
|
11126
|
-
|
11127
|
-
|
11128
|
-
|
11129
|
-
|
11130
|
-
|
11131
|
-
|
11132
|
-
|
11133
|
-
|
11134
|
-
|
11135
|
-
|
11136
|
-
|
11137
|
-
|
11138
|
-
|
11139
|
-
|
11140
|
-
|
11141
|
-
|
10988
|
+
if (null !== finishedWork) {
|
10989
|
+
if (finishedWork === root.current) throw Error(formatProdErrorMessage(177));
|
10990
|
+
didIncludeRenderPhaseUpdate = finishedWork.lanes | finishedWork.childLanes;
|
10991
|
+
didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes;
|
10992
|
+
markRootFinished(
|
10993
|
+
root,
|
10994
|
+
lanes,
|
10995
|
+
didIncludeRenderPhaseUpdate,
|
10996
|
+
spawnedLane,
|
10997
|
+
updatedLanes,
|
10998
|
+
suspendedRetryLanes
|
10999
|
+
);
|
11000
|
+
root === workInProgressRoot &&
|
11001
|
+
((workInProgress = workInProgressRoot = null),
|
11002
|
+
(workInProgressRootRenderLanes = 0));
|
11003
|
+
0 !== (finishedWork.subtreeFlags & 10256) ||
|
11004
|
+
0 !== (finishedWork.flags & 10256)
|
11005
|
+
? ((pendingPassiveEffectsRemainingLanes = didIncludeRenderPhaseUpdate),
|
11006
|
+
(pendingPassiveTransitions = transitions),
|
11007
|
+
(root.callbackNode = null),
|
11008
|
+
(root.callbackPriority = 0),
|
11009
|
+
scheduleCallback$1(NormalPriority$1, function () {
|
11010
|
+
flushPassiveEffects(!0);
|
11011
|
+
return null;
|
11012
|
+
}))
|
11013
|
+
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
11014
|
+
transitions = 0 !== (finishedWork.flags & 13878);
|
11015
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || transitions) {
|
11016
|
+
transitions = ReactSharedInternals.T;
|
11017
|
+
ReactSharedInternals.T = null;
|
11018
|
+
spawnedLane = ReactDOMSharedInternals.p;
|
11019
|
+
ReactDOMSharedInternals.p = 2;
|
11020
|
+
updatedLanes = executionContext;
|
11021
|
+
executionContext |= 4;
|
11022
|
+
try {
|
11023
|
+
commitBeforeMutationEffects(root, finishedWork);
|
11024
|
+
} finally {
|
11025
|
+
(executionContext = updatedLanes),
|
11026
|
+
(ReactDOMSharedInternals.p = spawnedLane),
|
11027
|
+
(ReactSharedInternals.T = transitions);
|
11028
|
+
}
|
11029
|
+
}
|
11030
|
+
flushMutationEffects(root, finishedWork, lanes);
|
11031
|
+
flushLayoutEffects(root, finishedWork, lanes, recoverableErrors);
|
11032
|
+
}
|
11033
|
+
}
|
11034
|
+
function flushMutationEffects(root, finishedWork) {
|
11035
|
+
var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
|
11036
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
|
11037
|
+
rootMutationHasEffect = ReactSharedInternals.T;
|
11038
|
+
ReactSharedInternals.T = null;
|
11039
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
11040
|
+
ReactDOMSharedInternals.p = 2;
|
11041
|
+
var prevExecutionContext = executionContext;
|
11042
|
+
executionContext |= 4;
|
11043
|
+
try {
|
11044
|
+
commitMutationEffectsOnFiber(finishedWork, root);
|
11045
|
+
var priorSelectionInformation = selectionInformation,
|
11046
|
+
curFocusedElem = getActiveElementDeep(root.containerInfo),
|
11047
|
+
priorFocusedElem = priorSelectionInformation.focusedElem,
|
11048
|
+
priorSelectionRange = priorSelectionInformation.selectionRange;
|
11049
|
+
if (
|
11050
|
+
curFocusedElem !== priorFocusedElem &&
|
11051
|
+
priorFocusedElem &&
|
11052
|
+
priorFocusedElem.ownerDocument &&
|
11053
|
+
containsNode(
|
11054
|
+
priorFocusedElem.ownerDocument.documentElement,
|
11055
|
+
priorFocusedElem
|
11056
|
+
)
|
11057
|
+
) {
|
11058
|
+
if (
|
11059
|
+
null !== priorSelectionRange &&
|
11060
|
+
hasSelectionCapabilities(priorFocusedElem)
|
11061
|
+
) {
|
11062
|
+
var start = priorSelectionRange.start,
|
11063
|
+
end = priorSelectionRange.end;
|
11064
|
+
void 0 === end && (end = start);
|
11065
|
+
if ("selectionStart" in priorFocusedElem)
|
11066
|
+
(priorFocusedElem.selectionStart = start),
|
11067
|
+
(priorFocusedElem.selectionEnd = Math.min(
|
11068
|
+
end,
|
11069
|
+
priorFocusedElem.value.length
|
11070
|
+
));
|
11071
|
+
else {
|
11072
|
+
var doc = priorFocusedElem.ownerDocument || document,
|
11073
|
+
win = (doc && doc.defaultView) || window;
|
11074
|
+
if (win.getSelection) {
|
11075
|
+
var selection = win.getSelection(),
|
11076
|
+
length = priorFocusedElem.textContent.length,
|
11077
|
+
start$jscomp$0 = Math.min(priorSelectionRange.start, length),
|
11078
|
+
end$jscomp$0 =
|
11079
|
+
void 0 === priorSelectionRange.end
|
11080
|
+
? start$jscomp$0
|
11081
|
+
: Math.min(priorSelectionRange.end, length);
|
11082
|
+
!selection.extend &&
|
11083
|
+
start$jscomp$0 > end$jscomp$0 &&
|
11084
|
+
((curFocusedElem = end$jscomp$0),
|
11085
|
+
(end$jscomp$0 = start$jscomp$0),
|
11086
|
+
(start$jscomp$0 = curFocusedElem));
|
11087
|
+
var startMarker = getNodeForCharacterOffset(
|
11088
|
+
priorFocusedElem,
|
11089
|
+
start$jscomp$0
|
11090
|
+
),
|
11091
|
+
endMarker = getNodeForCharacterOffset(
|
11092
|
+
priorFocusedElem,
|
11093
|
+
end$jscomp$0
|
11094
|
+
);
|
11095
|
+
if (
|
11096
|
+
startMarker &&
|
11097
|
+
endMarker &&
|
11098
|
+
(1 !== selection.rangeCount ||
|
11099
|
+
selection.anchorNode !== startMarker.node ||
|
11100
|
+
selection.anchorOffset !== startMarker.offset ||
|
11101
|
+
selection.focusNode !== endMarker.node ||
|
11102
|
+
selection.focusOffset !== endMarker.offset)
|
11103
|
+
) {
|
11104
|
+
var range = doc.createRange();
|
11105
|
+
range.setStart(startMarker.node, startMarker.offset);
|
11106
|
+
selection.removeAllRanges();
|
11107
|
+
start$jscomp$0 > end$jscomp$0
|
11108
|
+
? (selection.addRange(range),
|
11109
|
+
selection.extend(endMarker.node, endMarker.offset))
|
11110
|
+
: (range.setEnd(endMarker.node, endMarker.offset),
|
11111
|
+
selection.addRange(range));
|
11112
|
+
}
|
11113
|
+
}
|
11114
|
+
}
|
11115
|
+
}
|
11116
|
+
doc = [];
|
11117
|
+
for (selection = priorFocusedElem; (selection = selection.parentNode); )
|
11118
|
+
1 === selection.nodeType &&
|
11119
|
+
doc.push({
|
11120
|
+
element: selection,
|
11121
|
+
left: selection.scrollLeft,
|
11122
|
+
top: selection.scrollTop
|
11123
|
+
});
|
11124
|
+
"function" === typeof priorFocusedElem.focus &&
|
11125
|
+
priorFocusedElem.focus();
|
11126
|
+
for (
|
11127
|
+
priorFocusedElem = 0;
|
11128
|
+
priorFocusedElem < doc.length;
|
11129
|
+
priorFocusedElem++
|
11130
|
+
) {
|
11131
|
+
var info = doc[priorFocusedElem];
|
11132
|
+
info.element.scrollLeft = info.left;
|
11133
|
+
info.element.scrollTop = info.top;
|
11134
|
+
}
|
11135
|
+
}
|
11136
|
+
_enabled = !!eventsEnabled;
|
11137
|
+
selectionInformation = eventsEnabled = null;
|
11138
|
+
} finally {
|
11139
|
+
(executionContext = prevExecutionContext),
|
11140
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11141
|
+
(ReactSharedInternals.T = rootMutationHasEffect);
|
11142
|
+
}
|
11143
|
+
}
|
11144
|
+
root.current = finishedWork;
|
11145
|
+
}
|
11146
|
+
function flushLayoutEffects(root, finishedWork, lanes, recoverableErrors) {
|
11147
|
+
var rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
|
11148
|
+
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
11149
|
+
rootHasLayoutEffect = ReactSharedInternals.T;
|
11150
|
+
ReactSharedInternals.T = null;
|
11151
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
11152
|
+
ReactDOMSharedInternals.p = 2;
|
11153
|
+
var prevExecutionContext = executionContext;
|
11154
|
+
executionContext |= 4;
|
11155
|
+
try {
|
11156
|
+
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
11157
|
+
} finally {
|
11158
|
+
(executionContext = prevExecutionContext),
|
11159
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11160
|
+
(ReactSharedInternals.T = rootHasLayoutEffect);
|
11161
|
+
}
|
11162
|
+
}
|
11163
|
+
requestPaint();
|
11142
11164
|
0 !== (finishedWork.subtreeFlags & 10256) ||
|
11143
11165
|
0 !== (finishedWork.flags & 10256)
|
11144
|
-
? ((
|
11145
|
-
(
|
11146
|
-
|
11147
|
-
|
11148
|
-
|
11149
|
-
|
11150
|
-
|
11151
|
-
|
11152
|
-
|
11153
|
-
|
11154
|
-
|
11155
|
-
|
11156
|
-
|
11157
|
-
|
11158
|
-
|
11159
|
-
|
11160
|
-
|
11161
|
-
|
11162
|
-
|
11163
|
-
|
11164
|
-
|
11165
|
-
|
11166
|
-
|
11167
|
-
|
11168
|
-
|
11169
|
-
|
11170
|
-
|
11171
|
-
|
11172
|
-
|
11173
|
-
|
11174
|
-
|
11175
|
-
(ReactSharedInternals.T = transitions))
|
11176
|
-
: (root.current = finishedWork);
|
11177
|
-
spawnedLane
|
11178
|
-
? ((spawnedLane = !1),
|
11179
|
-
(rootWithPendingPassiveEffects = root),
|
11180
|
-
(pendingPassiveEffectsLanes = didIncludeRenderPhaseUpdate))
|
11181
|
-
: releaseRootPooledCache(root, remainingLanes);
|
11182
|
-
remainingLanes = root.pendingLanes;
|
11183
|
-
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
11184
|
-
onCommitRoot(finishedWork.stateNode, renderPriorityLevel);
|
11185
|
-
if (null !== recoverableErrors)
|
11186
|
-
for (
|
11187
|
-
renderPriorityLevel = root.onRecoverableError, finishedWork = 0;
|
11188
|
-
finishedWork < recoverableErrors.length;
|
11189
|
-
finishedWork++
|
11190
|
-
)
|
11191
|
-
(remainingLanes = recoverableErrors[finishedWork]),
|
11192
|
-
renderPriorityLevel(remainingLanes.value, {
|
11193
|
-
componentStack: remainingLanes.stack
|
11166
|
+
? ((rootWithPendingPassiveEffects = root),
|
11167
|
+
(pendingPassiveEffectsLanes = lanes))
|
11168
|
+
: releaseRootPooledCache(root, root.pendingLanes);
|
11169
|
+
rootHasLayoutEffect = root.pendingLanes;
|
11170
|
+
0 === rootHasLayoutEffect && (legacyErrorBoundariesThatAlreadyFailed = null);
|
11171
|
+
lanesToEventPriority(lanes);
|
11172
|
+
finishedWork = finishedWork.stateNode;
|
11173
|
+
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
11174
|
+
try {
|
11175
|
+
injectedHook.onCommitFiberRoot(
|
11176
|
+
rendererID,
|
11177
|
+
finishedWork,
|
11178
|
+
void 0,
|
11179
|
+
128 === (finishedWork.current.flags & 128)
|
11180
|
+
);
|
11181
|
+
} catch (err) {}
|
11182
|
+
if (null !== recoverableErrors) {
|
11183
|
+
finishedWork = ReactSharedInternals.T;
|
11184
|
+
rootHasLayoutEffect = ReactDOMSharedInternals.p;
|
11185
|
+
ReactDOMSharedInternals.p = 2;
|
11186
|
+
ReactSharedInternals.T = null;
|
11187
|
+
try {
|
11188
|
+
var onRecoverableError = root.onRecoverableError;
|
11189
|
+
for (
|
11190
|
+
previousPriority = 0;
|
11191
|
+
previousPriority < recoverableErrors.length;
|
11192
|
+
previousPriority++
|
11193
|
+
) {
|
11194
|
+
var recoverableError = recoverableErrors[previousPriority];
|
11195
|
+
onRecoverableError(recoverableError.value, {
|
11196
|
+
componentStack: recoverableError.stack
|
11194
11197
|
});
|
11198
|
+
}
|
11199
|
+
} finally {
|
11200
|
+
(ReactSharedInternals.T = finishedWork),
|
11201
|
+
(ReactDOMSharedInternals.p = rootHasLayoutEffect);
|
11202
|
+
}
|
11203
|
+
}
|
11195
11204
|
0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
|
11196
11205
|
ensureRootIsScheduled(root);
|
11197
|
-
|
11198
|
-
0 !== (
|
11206
|
+
rootHasLayoutEffect = root.pendingLanes;
|
11207
|
+
0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
|
11199
11208
|
? root === rootWithNestedUpdates
|
11200
11209
|
? nestedUpdateCount++
|
11201
11210
|
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
11202
11211
|
: (nestedUpdateCount = 0);
|
11203
11212
|
flushSyncWorkAcrossRoots_impl(0, !1);
|
11204
|
-
return null;
|
11205
11213
|
}
|
11206
11214
|
function releaseRootPooledCache(root, remainingLanes) {
|
11207
11215
|
0 === (root.pooledCacheLanes &= remainingLanes) &&
|
@@ -11211,7 +11219,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
11211
11219
|
}
|
11212
11220
|
function flushPassiveEffects() {
|
11213
11221
|
if (null !== rootWithPendingPassiveEffects) {
|
11214
|
-
var root$
|
11222
|
+
var root$171 = rootWithPendingPassiveEffects,
|
11215
11223
|
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
11216
11224
|
pendingPassiveEffectsRemainingLanes = 0;
|
11217
11225
|
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
|
@@ -11250,7 +11258,7 @@ function flushPassiveEffects() {
|
|
11250
11258
|
} finally {
|
11251
11259
|
(ReactDOMSharedInternals.p = previousPriority),
|
11252
11260
|
(ReactSharedInternals.T = prevTransition),
|
11253
|
-
releaseRootPooledCache(root$
|
11261
|
+
releaseRootPooledCache(root$171, remainingLanes);
|
11254
11262
|
}
|
11255
11263
|
}
|
11256
11264
|
return !1;
|
@@ -11385,22 +11393,21 @@ function ensureRootIsScheduled(root) {
|
|
11385
11393
|
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
11386
11394
|
mightHavePendingSyncWork = !0;
|
11387
11395
|
didScheduleMicrotask ||
|
11388
|
-
((didScheduleMicrotask = !0),
|
11389
|
-
scheduleImmediateTask(processRootScheduleInMicrotask));
|
11396
|
+
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
11390
11397
|
}
|
11391
11398
|
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
11392
11399
|
if (!isFlushingWork && mightHavePendingSyncWork) {
|
11393
11400
|
isFlushingWork = !0;
|
11394
11401
|
do {
|
11395
11402
|
var didPerformSomeWork = !1;
|
11396
|
-
for (var root$
|
11403
|
+
for (var root$173 = firstScheduledRoot; null !== root$173; ) {
|
11397
11404
|
if (!onlyLegacy)
|
11398
11405
|
if (0 !== syncTransitionLanes) {
|
11399
|
-
var pendingLanes = root$
|
11406
|
+
var pendingLanes = root$173.pendingLanes;
|
11400
11407
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
11401
11408
|
else {
|
11402
|
-
var suspendedLanes = root$
|
11403
|
-
pingedLanes = root$
|
11409
|
+
var suspendedLanes = root$173.suspendedLanes,
|
11410
|
+
pingedLanes = root$173.pingedLanes;
|
11404
11411
|
JSCompiler_inline_result =
|
11405
11412
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
11406
11413
|
JSCompiler_inline_result &=
|
@@ -11414,23 +11421,28 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
11414
11421
|
}
|
11415
11422
|
0 !== JSCompiler_inline_result &&
|
11416
11423
|
((didPerformSomeWork = !0),
|
11417
|
-
performSyncWorkOnRoot(root$
|
11424
|
+
performSyncWorkOnRoot(root$173, JSCompiler_inline_result));
|
11418
11425
|
} else
|
11419
11426
|
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
11420
11427
|
(JSCompiler_inline_result = getNextLanes(
|
11421
|
-
root$
|
11422
|
-
root$
|
11428
|
+
root$173,
|
11429
|
+
root$173 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
11430
|
+
null !== root$173.cancelPendingCommit ||
|
11431
|
+
-1 !== root$173.timeoutHandle
|
11423
11432
|
)),
|
11424
11433
|
0 === (JSCompiler_inline_result & 3) ||
|
11425
|
-
checkIfRootIsPrerendering(root$
|
11434
|
+
checkIfRootIsPrerendering(root$173, JSCompiler_inline_result) ||
|
11426
11435
|
((didPerformSomeWork = !0),
|
11427
|
-
performSyncWorkOnRoot(root$
|
11428
|
-
root$
|
11436
|
+
performSyncWorkOnRoot(root$173, JSCompiler_inline_result));
|
11437
|
+
root$173 = root$173.next;
|
11429
11438
|
}
|
11430
11439
|
} while (didPerformSomeWork);
|
11431
11440
|
isFlushingWork = !1;
|
11432
11441
|
}
|
11433
11442
|
}
|
11443
|
+
function processRootScheduleInImmediateTask() {
|
11444
|
+
processRootScheduleInMicrotask();
|
11445
|
+
}
|
11434
11446
|
function processRootScheduleInMicrotask() {
|
11435
11447
|
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
11436
11448
|
var syncTransitionLanes = 0;
|
@@ -11479,7 +11491,8 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
11479
11491
|
suspendedLanes = workInProgressRootRenderLanes;
|
11480
11492
|
suspendedLanes = getNextLanes(
|
11481
11493
|
root,
|
11482
|
-
root === currentTime ? suspendedLanes : 0
|
11494
|
+
root === currentTime ? suspendedLanes : 0,
|
11495
|
+
null !== root.cancelPendingCommit || -1 !== root.timeoutHandle
|
11483
11496
|
);
|
11484
11497
|
pingedLanes = root.callbackNode;
|
11485
11498
|
if (
|
@@ -11535,7 +11548,8 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
|
11535
11548
|
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
11536
11549
|
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
11537
11550
|
root,
|
11538
|
-
root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0
|
11551
|
+
root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0,
|
11552
|
+
null !== root.cancelPendingCommit || -1 !== root.timeoutHandle
|
11539
11553
|
);
|
11540
11554
|
if (0 === workInProgressRootRenderLanes$jscomp$0) return null;
|
11541
11555
|
performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout);
|
@@ -11548,11 +11562,14 @@ function performSyncWorkOnRoot(root, lanes) {
|
|
11548
11562
|
if (flushPassiveEffects()) return null;
|
11549
11563
|
performWorkOnRoot(root, lanes, !0);
|
11550
11564
|
}
|
11551
|
-
function
|
11565
|
+
function scheduleImmediateRootScheduleTask() {
|
11552
11566
|
scheduleMicrotask(function () {
|
11553
11567
|
0 !== (executionContext & 6)
|
11554
|
-
? scheduleCallback$3(
|
11555
|
-
|
11568
|
+
? scheduleCallback$3(
|
11569
|
+
ImmediatePriority,
|
11570
|
+
processRootScheduleInImmediateTask
|
11571
|
+
)
|
11572
|
+
: processRootScheduleInMicrotask();
|
11556
11573
|
});
|
11557
11574
|
}
|
11558
11575
|
function requestTransitionLane() {
|
@@ -11655,20 +11672,20 @@ function extractEvents$1(
|
|
11655
11672
|
}
|
11656
11673
|
}
|
11657
11674
|
for (
|
11658
|
-
var i$jscomp$
|
11659
|
-
i$jscomp$
|
11660
|
-
i$jscomp$
|
11675
|
+
var i$jscomp$inline_1459 = 0;
|
11676
|
+
i$jscomp$inline_1459 < simpleEventPluginEvents.length;
|
11677
|
+
i$jscomp$inline_1459++
|
11661
11678
|
) {
|
11662
|
-
var eventName$jscomp$
|
11663
|
-
simpleEventPluginEvents[i$jscomp$
|
11664
|
-
domEventName$jscomp$
|
11665
|
-
eventName$jscomp$
|
11666
|
-
capitalizedEvent$jscomp$
|
11667
|
-
eventName$jscomp$
|
11668
|
-
eventName$jscomp$
|
11679
|
+
var eventName$jscomp$inline_1460 =
|
11680
|
+
simpleEventPluginEvents[i$jscomp$inline_1459],
|
11681
|
+
domEventName$jscomp$inline_1461 =
|
11682
|
+
eventName$jscomp$inline_1460.toLowerCase(),
|
11683
|
+
capitalizedEvent$jscomp$inline_1462 =
|
11684
|
+
eventName$jscomp$inline_1460[0].toUpperCase() +
|
11685
|
+
eventName$jscomp$inline_1460.slice(1);
|
11669
11686
|
registerSimpleEvent(
|
11670
|
-
domEventName$jscomp$
|
11671
|
-
"on" + capitalizedEvent$jscomp$
|
11687
|
+
domEventName$jscomp$inline_1461,
|
11688
|
+
"on" + capitalizedEvent$jscomp$inline_1462
|
11672
11689
|
);
|
11673
11690
|
}
|
11674
11691
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -12851,34 +12868,34 @@ function setInitialProperties(domElement, tag, props) {
|
|
12851
12868
|
defaultChecked = null;
|
12852
12869
|
for (hasSrc in props)
|
12853
12870
|
if (props.hasOwnProperty(hasSrc)) {
|
12854
|
-
var propValue$
|
12855
|
-
if (null != propValue$
|
12871
|
+
var propValue$187 = props[hasSrc];
|
12872
|
+
if (null != propValue$187)
|
12856
12873
|
switch (hasSrc) {
|
12857
12874
|
case "name":
|
12858
|
-
hasSrcSet = propValue$
|
12875
|
+
hasSrcSet = propValue$187;
|
12859
12876
|
break;
|
12860
12877
|
case "type":
|
12861
|
-
propValue = propValue$
|
12878
|
+
propValue = propValue$187;
|
12862
12879
|
break;
|
12863
12880
|
case "checked":
|
12864
|
-
checked = propValue$
|
12881
|
+
checked = propValue$187;
|
12865
12882
|
break;
|
12866
12883
|
case "defaultChecked":
|
12867
|
-
defaultChecked = propValue$
|
12884
|
+
defaultChecked = propValue$187;
|
12868
12885
|
break;
|
12869
12886
|
case "value":
|
12870
|
-
propKey = propValue$
|
12887
|
+
propKey = propValue$187;
|
12871
12888
|
break;
|
12872
12889
|
case "defaultValue":
|
12873
|
-
defaultValue = propValue$
|
12890
|
+
defaultValue = propValue$187;
|
12874
12891
|
break;
|
12875
12892
|
case "children":
|
12876
12893
|
case "dangerouslySetInnerHTML":
|
12877
|
-
if (null != propValue$
|
12894
|
+
if (null != propValue$187)
|
12878
12895
|
throw Error(formatProdErrorMessage(137, tag));
|
12879
12896
|
break;
|
12880
12897
|
default:
|
12881
|
-
setProp(domElement, tag, hasSrc, propValue$
|
12898
|
+
setProp(domElement, tag, hasSrc, propValue$187, props, null);
|
12882
12899
|
}
|
12883
12900
|
}
|
12884
12901
|
initInput(
|
@@ -13015,14 +13032,14 @@ function setInitialProperties(domElement, tag, props) {
|
|
13015
13032
|
return;
|
13016
13033
|
default:
|
13017
13034
|
if (isCustomElement(tag)) {
|
13018
|
-
for (propValue$
|
13019
|
-
props.hasOwnProperty(propValue$
|
13020
|
-
((hasSrc = props[propValue$
|
13035
|
+
for (propValue$187 in props)
|
13036
|
+
props.hasOwnProperty(propValue$187) &&
|
13037
|
+
((hasSrc = props[propValue$187]),
|
13021
13038
|
void 0 !== hasSrc &&
|
13022
13039
|
setPropOnCustomElement(
|
13023
13040
|
domElement,
|
13024
13041
|
tag,
|
13025
|
-
propValue$
|
13042
|
+
propValue$187,
|
13026
13043
|
hasSrc,
|
13027
13044
|
props,
|
13028
13045
|
void 0
|
@@ -13070,14 +13087,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13070
13087
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
13071
13088
|
}
|
13072
13089
|
}
|
13073
|
-
for (var propKey$
|
13074
|
-
var propKey = nextProps[propKey$
|
13075
|
-
lastProp = lastProps[propKey$
|
13090
|
+
for (var propKey$204 in nextProps) {
|
13091
|
+
var propKey = nextProps[propKey$204];
|
13092
|
+
lastProp = lastProps[propKey$204];
|
13076
13093
|
if (
|
13077
|
-
nextProps.hasOwnProperty(propKey$
|
13094
|
+
nextProps.hasOwnProperty(propKey$204) &&
|
13078
13095
|
(null != propKey || null != lastProp)
|
13079
13096
|
)
|
13080
|
-
switch (propKey$
|
13097
|
+
switch (propKey$204) {
|
13081
13098
|
case "type":
|
13082
13099
|
type = propKey;
|
13083
13100
|
break;
|
@@ -13106,7 +13123,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13106
13123
|
setProp(
|
13107
13124
|
domElement,
|
13108
13125
|
tag,
|
13109
|
-
propKey$
|
13126
|
+
propKey$204,
|
13110
13127
|
propKey,
|
13111
13128
|
nextProps,
|
13112
13129
|
lastProp
|
@@ -13125,7 +13142,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13125
13142
|
);
|
13126
13143
|
return;
|
13127
13144
|
case "select":
|
13128
|
-
propKey = value = defaultValue = propKey$
|
13145
|
+
propKey = value = defaultValue = propKey$204 = null;
|
13129
13146
|
for (type in lastProps)
|
13130
13147
|
if (
|
13131
13148
|
((lastDefaultValue = lastProps[type]),
|
@@ -13156,7 +13173,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13156
13173
|
)
|
13157
13174
|
switch (name) {
|
13158
13175
|
case "value":
|
13159
|
-
propKey$
|
13176
|
+
propKey$204 = type;
|
13160
13177
|
break;
|
13161
13178
|
case "defaultValue":
|
13162
13179
|
defaultValue = type;
|
@@ -13177,15 +13194,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13177
13194
|
tag = defaultValue;
|
13178
13195
|
lastProps = value;
|
13179
13196
|
nextProps = propKey;
|
13180
|
-
null != propKey$
|
13181
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
13197
|
+
null != propKey$204
|
13198
|
+
? updateOptions(domElement, !!lastProps, propKey$204, !1)
|
13182
13199
|
: !!nextProps !== !!lastProps &&
|
13183
13200
|
(null != tag
|
13184
13201
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
13185
13202
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
13186
13203
|
return;
|
13187
13204
|
case "textarea":
|
13188
|
-
propKey = propKey$
|
13205
|
+
propKey = propKey$204 = null;
|
13189
13206
|
for (defaultValue in lastProps)
|
13190
13207
|
if (
|
13191
13208
|
((name = lastProps[defaultValue]),
|
@@ -13209,7 +13226,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13209
13226
|
)
|
13210
13227
|
switch (value) {
|
13211
13228
|
case "value":
|
13212
|
-
propKey$
|
13229
|
+
propKey$204 = name;
|
13213
13230
|
break;
|
13214
13231
|
case "defaultValue":
|
13215
13232
|
propKey = name;
|
@@ -13223,17 +13240,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13223
13240
|
name !== type &&
|
13224
13241
|
setProp(domElement, tag, value, name, nextProps, type);
|
13225
13242
|
}
|
13226
|
-
updateTextarea(domElement, propKey$
|
13243
|
+
updateTextarea(domElement, propKey$204, propKey);
|
13227
13244
|
return;
|
13228
13245
|
case "option":
|
13229
|
-
for (var propKey$
|
13246
|
+
for (var propKey$220 in lastProps)
|
13230
13247
|
if (
|
13231
|
-
((propKey$
|
13232
|
-
lastProps.hasOwnProperty(propKey$
|
13233
|
-
null != propKey$
|
13234
|
-
!nextProps.hasOwnProperty(propKey$
|
13248
|
+
((propKey$204 = lastProps[propKey$220]),
|
13249
|
+
lastProps.hasOwnProperty(propKey$220) &&
|
13250
|
+
null != propKey$204 &&
|
13251
|
+
!nextProps.hasOwnProperty(propKey$220))
|
13235
13252
|
)
|
13236
|
-
switch (propKey$
|
13253
|
+
switch (propKey$220) {
|
13237
13254
|
case "selected":
|
13238
13255
|
domElement.selected = !1;
|
13239
13256
|
break;
|
@@ -13241,33 +13258,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13241
13258
|
setProp(
|
13242
13259
|
domElement,
|
13243
13260
|
tag,
|
13244
|
-
propKey$
|
13261
|
+
propKey$220,
|
13245
13262
|
null,
|
13246
13263
|
nextProps,
|
13247
|
-
propKey$
|
13264
|
+
propKey$204
|
13248
13265
|
);
|
13249
13266
|
}
|
13250
13267
|
for (lastDefaultValue in nextProps)
|
13251
13268
|
if (
|
13252
|
-
((propKey$
|
13269
|
+
((propKey$204 = nextProps[lastDefaultValue]),
|
13253
13270
|
(propKey = lastProps[lastDefaultValue]),
|
13254
13271
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
13255
|
-
propKey$
|
13256
|
-
(null != propKey$
|
13272
|
+
propKey$204 !== propKey &&
|
13273
|
+
(null != propKey$204 || null != propKey))
|
13257
13274
|
)
|
13258
13275
|
switch (lastDefaultValue) {
|
13259
13276
|
case "selected":
|
13260
13277
|
domElement.selected =
|
13261
|
-
propKey$
|
13262
|
-
"function" !== typeof propKey$
|
13263
|
-
"symbol" !== typeof propKey$
|
13278
|
+
propKey$204 &&
|
13279
|
+
"function" !== typeof propKey$204 &&
|
13280
|
+
"symbol" !== typeof propKey$204;
|
13264
13281
|
break;
|
13265
13282
|
default:
|
13266
13283
|
setProp(
|
13267
13284
|
domElement,
|
13268
13285
|
tag,
|
13269
13286
|
lastDefaultValue,
|
13270
|
-
propKey$
|
13287
|
+
propKey$204,
|
13271
13288
|
nextProps,
|
13272
13289
|
propKey
|
13273
13290
|
);
|
@@ -13288,24 +13305,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13288
13305
|
case "track":
|
13289
13306
|
case "wbr":
|
13290
13307
|
case "menuitem":
|
13291
|
-
for (var propKey$
|
13292
|
-
(propKey$
|
13293
|
-
lastProps.hasOwnProperty(propKey$
|
13294
|
-
null != propKey$
|
13295
|
-
!nextProps.hasOwnProperty(propKey$
|
13296
|
-
setProp(domElement, tag, propKey$
|
13308
|
+
for (var propKey$225 in lastProps)
|
13309
|
+
(propKey$204 = lastProps[propKey$225]),
|
13310
|
+
lastProps.hasOwnProperty(propKey$225) &&
|
13311
|
+
null != propKey$204 &&
|
13312
|
+
!nextProps.hasOwnProperty(propKey$225) &&
|
13313
|
+
setProp(domElement, tag, propKey$225, null, nextProps, propKey$204);
|
13297
13314
|
for (checked in nextProps)
|
13298
13315
|
if (
|
13299
|
-
((propKey$
|
13316
|
+
((propKey$204 = nextProps[checked]),
|
13300
13317
|
(propKey = lastProps[checked]),
|
13301
13318
|
nextProps.hasOwnProperty(checked) &&
|
13302
|
-
propKey$
|
13303
|
-
(null != propKey$
|
13319
|
+
propKey$204 !== propKey &&
|
13320
|
+
(null != propKey$204 || null != propKey))
|
13304
13321
|
)
|
13305
13322
|
switch (checked) {
|
13306
13323
|
case "children":
|
13307
13324
|
case "dangerouslySetInnerHTML":
|
13308
|
-
if (null != propKey$
|
13325
|
+
if (null != propKey$204)
|
13309
13326
|
throw Error(formatProdErrorMessage(137, tag));
|
13310
13327
|
break;
|
13311
13328
|
default:
|
@@ -13313,7 +13330,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13313
13330
|
domElement,
|
13314
13331
|
tag,
|
13315
13332
|
checked,
|
13316
|
-
propKey$
|
13333
|
+
propKey$204,
|
13317
13334
|
nextProps,
|
13318
13335
|
propKey
|
13319
13336
|
);
|
@@ -13321,49 +13338,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13321
13338
|
return;
|
13322
13339
|
default:
|
13323
13340
|
if (isCustomElement(tag)) {
|
13324
|
-
for (var propKey$
|
13325
|
-
(propKey$
|
13326
|
-
lastProps.hasOwnProperty(propKey$
|
13327
|
-
void 0 !== propKey$
|
13328
|
-
!nextProps.hasOwnProperty(propKey$
|
13341
|
+
for (var propKey$230 in lastProps)
|
13342
|
+
(propKey$204 = lastProps[propKey$230]),
|
13343
|
+
lastProps.hasOwnProperty(propKey$230) &&
|
13344
|
+
void 0 !== propKey$204 &&
|
13345
|
+
!nextProps.hasOwnProperty(propKey$230) &&
|
13329
13346
|
setPropOnCustomElement(
|
13330
13347
|
domElement,
|
13331
13348
|
tag,
|
13332
|
-
propKey$
|
13349
|
+
propKey$230,
|
13333
13350
|
void 0,
|
13334
13351
|
nextProps,
|
13335
|
-
propKey$
|
13352
|
+
propKey$204
|
13336
13353
|
);
|
13337
13354
|
for (defaultChecked in nextProps)
|
13338
|
-
(propKey$
|
13355
|
+
(propKey$204 = nextProps[defaultChecked]),
|
13339
13356
|
(propKey = lastProps[defaultChecked]),
|
13340
13357
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
13341
|
-
propKey$
|
13342
|
-
(void 0 === propKey$
|
13358
|
+
propKey$204 === propKey ||
|
13359
|
+
(void 0 === propKey$204 && void 0 === propKey) ||
|
13343
13360
|
setPropOnCustomElement(
|
13344
13361
|
domElement,
|
13345
13362
|
tag,
|
13346
13363
|
defaultChecked,
|
13347
|
-
propKey$
|
13364
|
+
propKey$204,
|
13348
13365
|
nextProps,
|
13349
13366
|
propKey
|
13350
13367
|
);
|
13351
13368
|
return;
|
13352
13369
|
}
|
13353
13370
|
}
|
13354
|
-
for (var propKey$
|
13355
|
-
(propKey$
|
13356
|
-
lastProps.hasOwnProperty(propKey$
|
13357
|
-
null != propKey$
|
13358
|
-
!nextProps.hasOwnProperty(propKey$
|
13359
|
-
setProp(domElement, tag, propKey$
|
13371
|
+
for (var propKey$235 in lastProps)
|
13372
|
+
(propKey$204 = lastProps[propKey$235]),
|
13373
|
+
lastProps.hasOwnProperty(propKey$235) &&
|
13374
|
+
null != propKey$204 &&
|
13375
|
+
!nextProps.hasOwnProperty(propKey$235) &&
|
13376
|
+
setProp(domElement, tag, propKey$235, null, nextProps, propKey$204);
|
13360
13377
|
for (lastProp in nextProps)
|
13361
|
-
(propKey$
|
13378
|
+
(propKey$204 = nextProps[lastProp]),
|
13362
13379
|
(propKey = lastProps[lastProp]),
|
13363
13380
|
!nextProps.hasOwnProperty(lastProp) ||
|
13364
|
-
propKey$
|
13365
|
-
(null == propKey$
|
13366
|
-
setProp(domElement, tag, lastProp, propKey$
|
13381
|
+
propKey$204 === propKey ||
|
13382
|
+
(null == propKey$204 && null == propKey) ||
|
13383
|
+
setProp(domElement, tag, lastProp, propKey$204, nextProps, propKey);
|
13367
13384
|
}
|
13368
13385
|
var eventsEnabled = null,
|
13369
13386
|
selectionInformation = null;
|
@@ -13927,26 +13944,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
13927
13944
|
"string" === typeof pendingProps.precedence
|
13928
13945
|
) {
|
13929
13946
|
type = getStyleKey(pendingProps.href);
|
13930
|
-
var styles$
|
13947
|
+
var styles$243 = getResourcesFromRoot(
|
13931
13948
|
JSCompiler_inline_result
|
13932
13949
|
).hoistableStyles,
|
13933
|
-
resource$
|
13934
|
-
resource$
|
13950
|
+
resource$244 = styles$243.get(type);
|
13951
|
+
resource$244 ||
|
13935
13952
|
((JSCompiler_inline_result =
|
13936
13953
|
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
13937
|
-
(resource$
|
13954
|
+
(resource$244 = {
|
13938
13955
|
type: "stylesheet",
|
13939
13956
|
instance: null,
|
13940
13957
|
count: 0,
|
13941
13958
|
state: { loading: 0, preload: null }
|
13942
13959
|
}),
|
13943
|
-
styles$
|
13944
|
-
(styles$
|
13960
|
+
styles$243.set(type, resource$244),
|
13961
|
+
(styles$243 = JSCompiler_inline_result.querySelector(
|
13945
13962
|
getStylesheetSelectorFromKey(type)
|
13946
13963
|
)) &&
|
13947
|
-
!styles$
|
13948
|
-
((resource$
|
13949
|
-
(resource$
|
13964
|
+
!styles$243._p &&
|
13965
|
+
((resource$244.instance = styles$243),
|
13966
|
+
(resource$244.state.loading = 5)),
|
13950
13967
|
preloadPropsMap.has(type) ||
|
13951
13968
|
((pendingProps = {
|
13952
13969
|
rel: "preload",
|
@@ -13959,16 +13976,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
13959
13976
|
referrerPolicy: pendingProps.referrerPolicy
|
13960
13977
|
}),
|
13961
13978
|
preloadPropsMap.set(type, pendingProps),
|
13962
|
-
styles$
|
13979
|
+
styles$243 ||
|
13963
13980
|
preloadStylesheet(
|
13964
13981
|
JSCompiler_inline_result,
|
13965
13982
|
type,
|
13966
13983
|
pendingProps,
|
13967
|
-
resource$
|
13984
|
+
resource$244.state
|
13968
13985
|
)));
|
13969
13986
|
if (currentProps && null === currentResource)
|
13970
13987
|
throw Error(formatProdErrorMessage(528, ""));
|
13971
|
-
return resource$
|
13988
|
+
return resource$244;
|
13972
13989
|
}
|
13973
13990
|
if (currentProps && null !== currentResource)
|
13974
13991
|
throw Error(formatProdErrorMessage(529, ""));
|
@@ -14065,37 +14082,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14065
14082
|
return (resource.instance = instance);
|
14066
14083
|
case "stylesheet":
|
14067
14084
|
styleProps = getStyleKey(props.href);
|
14068
|
-
var instance$
|
14085
|
+
var instance$249 = hoistableRoot.querySelector(
|
14069
14086
|
getStylesheetSelectorFromKey(styleProps)
|
14070
14087
|
);
|
14071
|
-
if (instance$
|
14088
|
+
if (instance$249)
|
14072
14089
|
return (
|
14073
14090
|
(resource.state.loading |= 4),
|
14074
|
-
(resource.instance = instance$
|
14075
|
-
markNodeAsHoistable(instance$
|
14076
|
-
instance$
|
14091
|
+
(resource.instance = instance$249),
|
14092
|
+
markNodeAsHoistable(instance$249),
|
14093
|
+
instance$249
|
14077
14094
|
);
|
14078
14095
|
instance = stylesheetPropsFromRawProps(props);
|
14079
14096
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
14080
14097
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
14081
|
-
instance$
|
14098
|
+
instance$249 = (
|
14082
14099
|
hoistableRoot.ownerDocument || hoistableRoot
|
14083
14100
|
).createElement("link");
|
14084
|
-
markNodeAsHoistable(instance$
|
14085
|
-
var linkInstance = instance$
|
14101
|
+
markNodeAsHoistable(instance$249);
|
14102
|
+
var linkInstance = instance$249;
|
14086
14103
|
linkInstance._p = new Promise(function (resolve, reject) {
|
14087
14104
|
linkInstance.onload = resolve;
|
14088
14105
|
linkInstance.onerror = reject;
|
14089
14106
|
});
|
14090
|
-
setInitialProperties(instance$
|
14107
|
+
setInitialProperties(instance$249, "link", instance);
|
14091
14108
|
resource.state.loading |= 4;
|
14092
|
-
insertStylesheet(instance$
|
14093
|
-
return (resource.instance = instance$
|
14109
|
+
insertStylesheet(instance$249, props.precedence, hoistableRoot);
|
14110
|
+
return (resource.instance = instance$249);
|
14094
14111
|
case "script":
|
14095
|
-
instance$
|
14112
|
+
instance$249 = getScriptKey(props.src);
|
14096
14113
|
if (
|
14097
14114
|
(styleProps = hoistableRoot.querySelector(
|
14098
|
-
getScriptSelectorFromKey(instance$
|
14115
|
+
getScriptSelectorFromKey(instance$249)
|
14099
14116
|
))
|
14100
14117
|
)
|
14101
14118
|
return (
|
@@ -14104,7 +14121,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14104
14121
|
styleProps
|
14105
14122
|
);
|
14106
14123
|
instance = props;
|
14107
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
14124
|
+
if ((styleProps = preloadPropsMap.get(instance$249)))
|
14108
14125
|
(instance = assign({}, props)),
|
14109
14126
|
adoptPreloadPropsForScript(instance, styleProps);
|
14110
14127
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
@@ -14408,11 +14425,7 @@ function FiberRootNode(
|
|
14408
14425
|
) {
|
14409
14426
|
this.tag = 1;
|
14410
14427
|
this.containerInfo = containerInfo;
|
14411
|
-
this.
|
14412
|
-
this.pingCache =
|
14413
|
-
this.current =
|
14414
|
-
this.pendingChildren =
|
14415
|
-
null;
|
14428
|
+
this.pingCache = this.current = this.pendingChildren = null;
|
14416
14429
|
this.timeoutHandle = -1;
|
14417
14430
|
this.callbackNode =
|
14418
14431
|
this.next =
|
@@ -14425,7 +14438,6 @@ function FiberRootNode(
|
|
14425
14438
|
this.entangledLanes =
|
14426
14439
|
this.shellSuspendCounter =
|
14427
14440
|
this.errorRecoveryDisabledLanes =
|
14428
|
-
this.finishedLanes =
|
14429
14441
|
this.expiredLanes =
|
14430
14442
|
this.warmLanes =
|
14431
14443
|
this.pingedLanes =
|
@@ -15129,16 +15141,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15129
15141
|
0 === i && attemptExplicitHydrationTarget(target);
|
15130
15142
|
}
|
15131
15143
|
};
|
15132
|
-
var isomorphicReactPackageVersion$jscomp$
|
15144
|
+
var isomorphicReactPackageVersion$jscomp$inline_1706 = React.version;
|
15133
15145
|
if (
|
15134
|
-
"19.1.0-canary-
|
15135
|
-
isomorphicReactPackageVersion$jscomp$
|
15146
|
+
"19.1.0-canary-3b009b4c-20250102" !==
|
15147
|
+
isomorphicReactPackageVersion$jscomp$inline_1706
|
15136
15148
|
)
|
15137
15149
|
throw Error(
|
15138
15150
|
formatProdErrorMessage(
|
15139
15151
|
527,
|
15140
|
-
isomorphicReactPackageVersion$jscomp$
|
15141
|
-
"19.1.0-canary-
|
15152
|
+
isomorphicReactPackageVersion$jscomp$inline_1706,
|
15153
|
+
"19.1.0-canary-3b009b4c-20250102"
|
15142
15154
|
)
|
15143
15155
|
);
|
15144
15156
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15158,24 +15170,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15158
15170
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15159
15171
|
return componentOrElement;
|
15160
15172
|
};
|
15161
|
-
var internals$jscomp$
|
15173
|
+
var internals$jscomp$inline_2175 = {
|
15162
15174
|
bundleType: 0,
|
15163
|
-
version: "19.1.0-canary-
|
15175
|
+
version: "19.1.0-canary-3b009b4c-20250102",
|
15164
15176
|
rendererPackageName: "react-dom",
|
15165
15177
|
currentDispatcherRef: ReactSharedInternals,
|
15166
|
-
reconcilerVersion: "19.1.0-canary-
|
15178
|
+
reconcilerVersion: "19.1.0-canary-3b009b4c-20250102"
|
15167
15179
|
};
|
15168
15180
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15169
|
-
var hook$jscomp$
|
15181
|
+
var hook$jscomp$inline_2176 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15170
15182
|
if (
|
15171
|
-
!hook$jscomp$
|
15172
|
-
hook$jscomp$
|
15183
|
+
!hook$jscomp$inline_2176.isDisabled &&
|
15184
|
+
hook$jscomp$inline_2176.supportsFiber
|
15173
15185
|
)
|
15174
15186
|
try {
|
15175
|
-
(rendererID = hook$jscomp$
|
15176
|
-
internals$jscomp$
|
15187
|
+
(rendererID = hook$jscomp$inline_2176.inject(
|
15188
|
+
internals$jscomp$inline_2175
|
15177
15189
|
)),
|
15178
|
-
(injectedHook = hook$jscomp$
|
15190
|
+
(injectedHook = hook$jscomp$inline_2176);
|
15179
15191
|
} catch (err) {}
|
15180
15192
|
}
|
15181
15193
|
exports.createRoot = function (container, options) {
|
@@ -15269,4 +15281,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15269
15281
|
listenToAllSupportedEvents(container);
|
15270
15282
|
return new ReactDOMHydrationRoot(initialChildren);
|
15271
15283
|
};
|
15272
|
-
exports.version = "19.1.0-canary-
|
15284
|
+
exports.version = "19.1.0-canary-3b009b4c-20250102";
|