react-dom 19.2.0-canary-ea05b750-20250408 → 19.2.0-canary-c44e4a25-20250409
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 +406 -343
- package/cjs/react-dom-client.production.js +244 -182
- package/cjs/react-dom-profiling.development.js +406 -343
- package/cjs/react-dom-profiling.profiling.js +251 -195
- package/cjs/react-dom-server-legacy.browser.development.js +36 -8
- package/cjs/react-dom-server-legacy.browser.production.js +57 -37
- package/cjs/react-dom-server-legacy.node.development.js +36 -8
- package/cjs/react-dom-server-legacy.node.production.js +57 -37
- package/cjs/react-dom-server.browser.development.js +37 -10
- package/cjs/react-dom-server.browser.production.js +41 -17
- package/cjs/react-dom-server.bun.development.js +38 -13
- package/cjs/react-dom-server.bun.production.js +37 -20
- package/cjs/react-dom-server.edge.development.js +37 -10
- package/cjs/react-dom-server.edge.production.js +41 -17
- package/cjs/react-dom-server.node.development.js +37 -10
- package/cjs/react-dom-server.node.production.js +41 -17
- 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
@@ -2018,14 +2018,14 @@ var isInputEventSupported = !1;
|
|
2018
2018
|
if (canUseDOM) {
|
2019
2019
|
var JSCompiler_inline_result$jscomp$284;
|
2020
2020
|
if (canUseDOM) {
|
2021
|
-
var isSupported$jscomp$
|
2022
|
-
if (!isSupported$jscomp$
|
2023
|
-
var element$jscomp$
|
2024
|
-
element$jscomp$
|
2025
|
-
isSupported$jscomp$
|
2026
|
-
"function" === typeof element$jscomp$
|
2021
|
+
var isSupported$jscomp$inline_421 = "oninput" in document;
|
2022
|
+
if (!isSupported$jscomp$inline_421) {
|
2023
|
+
var element$jscomp$inline_422 = document.createElement("div");
|
2024
|
+
element$jscomp$inline_422.setAttribute("oninput", "return;");
|
2025
|
+
isSupported$jscomp$inline_421 =
|
2026
|
+
"function" === typeof element$jscomp$inline_422.oninput;
|
2027
2027
|
}
|
2028
|
-
JSCompiler_inline_result$jscomp$284 = isSupported$jscomp$
|
2028
|
+
JSCompiler_inline_result$jscomp$284 = isSupported$jscomp$inline_421;
|
2029
2029
|
} else JSCompiler_inline_result$jscomp$284 = !1;
|
2030
2030
|
isInputEventSupported =
|
2031
2031
|
JSCompiler_inline_result$jscomp$284 &&
|
@@ -6154,9 +6154,13 @@ function updateSimpleMemoComponent(
|
|
6154
6154
|
renderLanes
|
6155
6155
|
);
|
6156
6156
|
}
|
6157
|
-
function updateOffscreenComponent(
|
6158
|
-
|
6159
|
-
|
6157
|
+
function updateOffscreenComponent(
|
6158
|
+
current,
|
6159
|
+
workInProgress,
|
6160
|
+
renderLanes,
|
6161
|
+
nextProps
|
6162
|
+
) {
|
6163
|
+
var nextChildren = nextProps.children,
|
6160
6164
|
prevState = null !== current ? current.memoizedState : null;
|
6161
6165
|
if ("hidden" === nextProps.mode) {
|
6162
6166
|
if (0 !== (workInProgress.flags & 128)) {
|
@@ -7163,10 +7167,14 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
|
|
7163
7167
|
if (state) break;
|
7164
7168
|
else return null;
|
7165
7169
|
case 22:
|
7166
|
-
case 23:
|
7167
7170
|
return (
|
7168
7171
|
(workInProgress.lanes = 0),
|
7169
|
-
updateOffscreenComponent(
|
7172
|
+
updateOffscreenComponent(
|
7173
|
+
current,
|
7174
|
+
workInProgress,
|
7175
|
+
renderLanes,
|
7176
|
+
workInProgress.pendingProps
|
7177
|
+
)
|
7170
7178
|
);
|
7171
7179
|
case 24:
|
7172
7180
|
pushProvider(workInProgress, CacheContext, current.memoizedState.cache);
|
@@ -7629,7 +7637,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7629
7637
|
workInProgress
|
7630
7638
|
);
|
7631
7639
|
case 22:
|
7632
|
-
return updateOffscreenComponent(
|
7640
|
+
return updateOffscreenComponent(
|
7641
|
+
current,
|
7642
|
+
workInProgress,
|
7643
|
+
renderLanes,
|
7644
|
+
workInProgress.pendingProps
|
7645
|
+
);
|
7633
7646
|
case 24:
|
7634
7647
|
return (
|
7635
7648
|
prepareToReadContext(workInProgress),
|
@@ -7688,27 +7701,38 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7688
7701
|
function markUpdate(workInProgress) {
|
7689
7702
|
workInProgress.flags |= 4;
|
7690
7703
|
}
|
7704
|
+
function preloadInstanceAndSuspendIfNeeded(
|
7705
|
+
workInProgress,
|
7706
|
+
type,
|
7707
|
+
oldProps,
|
7708
|
+
newProps,
|
7709
|
+
renderLanes
|
7710
|
+
) {
|
7711
|
+
if ((type = 0 !== (workInProgress.mode & 32))) type = !1;
|
7712
|
+
if (type) {
|
7713
|
+
if (
|
7714
|
+
((workInProgress.flags |= 16777216),
|
7715
|
+
(renderLanes & 335544128) === renderLanes)
|
7716
|
+
)
|
7717
|
+
if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
|
7718
|
+
else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
7719
|
+
else
|
7720
|
+
throw (
|
7721
|
+
((suspendedThenable = noopSuspenseyCommitThenable),
|
7722
|
+
SuspenseyCommitException)
|
7723
|
+
);
|
7724
|
+
} else workInProgress.flags &= -16777217;
|
7725
|
+
}
|
7691
7726
|
function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
|
7692
7727
|
if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4))
|
7693
7728
|
workInProgress.flags &= -16777217;
|
7694
|
-
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
7695
|
-
|
7696
|
-
|
7697
|
-
null !== resource &&
|
7698
|
-
((workInProgressRootRenderLanes & 4194048) ===
|
7699
|
-
workInProgressRootRenderLanes
|
7700
|
-
? null !== shellBoundary
|
7701
|
-
: ((workInProgressRootRenderLanes & 62914560) !==
|
7702
|
-
workInProgressRootRenderLanes &&
|
7703
|
-
0 === (workInProgressRootRenderLanes & 536870912)) ||
|
7704
|
-
resource !== shellBoundary)
|
7705
|
-
)
|
7729
|
+
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
7730
|
+
if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
7731
|
+
else
|
7706
7732
|
throw (
|
7707
7733
|
((suspendedThenable = noopSuspenseyCommitThenable),
|
7708
7734
|
SuspenseyCommitException)
|
7709
7735
|
);
|
7710
|
-
workInProgress.flags |= 8192;
|
7711
|
-
}
|
7712
7736
|
}
|
7713
7737
|
function scheduleRetryEffect(workInProgress, retryQueue) {
|
7714
7738
|
null !== retryQueue && (workInProgress.flags |= 4);
|
@@ -7806,31 +7830,43 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7806
7830
|
bubbleProperties(workInProgress);
|
7807
7831
|
return null;
|
7808
7832
|
case 26:
|
7809
|
-
|
7810
|
-
|
7811
|
-
|
7812
|
-
|
7813
|
-
|
7814
|
-
|
7815
|
-
|
7816
|
-
|
7817
|
-
|
7818
|
-
|
7819
|
-
|
7820
|
-
|
7821
|
-
|
7822
|
-
|
7823
|
-
|
7824
|
-
|
7825
|
-
|
7833
|
+
var type = workInProgress.type,
|
7834
|
+
nextResource = workInProgress.memoizedState;
|
7835
|
+
null === current
|
7836
|
+
? (markUpdate(workInProgress),
|
7837
|
+
null !== nextResource
|
7838
|
+
? (bubbleProperties(workInProgress),
|
7839
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
|
7840
|
+
: (bubbleProperties(workInProgress),
|
7841
|
+
preloadInstanceAndSuspendIfNeeded(
|
7842
|
+
workInProgress,
|
7843
|
+
type,
|
7844
|
+
null,
|
7845
|
+
newProps,
|
7846
|
+
renderLanes
|
7847
|
+
)))
|
7848
|
+
: nextResource
|
7849
|
+
? nextResource !== current.memoizedState
|
7850
|
+
? (markUpdate(workInProgress),
|
7826
7851
|
bubbleProperties(workInProgress),
|
7827
|
-
(workInProgress
|
7828
|
-
|
7829
|
-
|
7852
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
|
7853
|
+
: (bubbleProperties(workInProgress),
|
7854
|
+
(workInProgress.flags &= -16777217))
|
7855
|
+
: ((current = current.memoizedProps),
|
7856
|
+
current !== newProps && markUpdate(workInProgress),
|
7857
|
+
bubbleProperties(workInProgress),
|
7858
|
+
preloadInstanceAndSuspendIfNeeded(
|
7859
|
+
workInProgress,
|
7860
|
+
type,
|
7861
|
+
current,
|
7862
|
+
newProps,
|
7863
|
+
renderLanes
|
7864
|
+
));
|
7865
|
+
return null;
|
7830
7866
|
case 27:
|
7831
7867
|
popHostContext(workInProgress);
|
7832
7868
|
renderLanes = rootInstanceStackCursor.current;
|
7833
|
-
|
7869
|
+
type = workInProgress.type;
|
7834
7870
|
if (null !== current && null != workInProgress.stateNode)
|
7835
7871
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
7836
7872
|
else {
|
@@ -7843,11 +7879,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7843
7879
|
current = contextStackCursor.current;
|
7844
7880
|
popHydrationState(workInProgress)
|
7845
7881
|
? prepareToHydrateHostInstance(workInProgress, current)
|
7846
|
-
: ((current = resolveSingletonInstance(
|
7847
|
-
type$116,
|
7848
|
-
newProps,
|
7849
|
-
renderLanes
|
7850
|
-
)),
|
7882
|
+
: ((current = resolveSingletonInstance(type, newProps, renderLanes)),
|
7851
7883
|
(workInProgress.stateNode = current),
|
7852
7884
|
markUpdate(workInProgress));
|
7853
7885
|
}
|
@@ -7855,7 +7887,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7855
7887
|
return null;
|
7856
7888
|
case 5:
|
7857
7889
|
popHostContext(workInProgress);
|
7858
|
-
|
7890
|
+
type = workInProgress.type;
|
7859
7891
|
if (null !== current && null != workInProgress.stateNode)
|
7860
7892
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
7861
7893
|
else {
|
@@ -7865,108 +7897,122 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7865
7897
|
bubbleProperties(workInProgress);
|
7866
7898
|
return null;
|
7867
7899
|
}
|
7868
|
-
|
7900
|
+
nextResource = contextStackCursor.current;
|
7869
7901
|
if (popHydrationState(workInProgress))
|
7870
|
-
prepareToHydrateHostInstance(workInProgress,
|
7902
|
+
prepareToHydrateHostInstance(workInProgress, nextResource);
|
7871
7903
|
else {
|
7872
|
-
|
7904
|
+
var ownerDocument = getOwnerDocumentFromRootContainer(
|
7873
7905
|
rootInstanceStackCursor.current
|
7874
7906
|
);
|
7875
|
-
switch (
|
7907
|
+
switch (nextResource) {
|
7876
7908
|
case 1:
|
7877
|
-
|
7909
|
+
nextResource = ownerDocument.createElementNS(
|
7878
7910
|
"http://www.w3.org/2000/svg",
|
7879
|
-
|
7911
|
+
type
|
7880
7912
|
);
|
7881
7913
|
break;
|
7882
7914
|
case 2:
|
7883
|
-
|
7915
|
+
nextResource = ownerDocument.createElementNS(
|
7884
7916
|
"http://www.w3.org/1998/Math/MathML",
|
7885
|
-
|
7917
|
+
type
|
7886
7918
|
);
|
7887
7919
|
break;
|
7888
7920
|
default:
|
7889
|
-
switch (
|
7921
|
+
switch (type) {
|
7890
7922
|
case "svg":
|
7891
|
-
|
7923
|
+
nextResource = ownerDocument.createElementNS(
|
7892
7924
|
"http://www.w3.org/2000/svg",
|
7893
|
-
|
7925
|
+
type
|
7894
7926
|
);
|
7895
7927
|
break;
|
7896
7928
|
case "math":
|
7897
|
-
|
7929
|
+
nextResource = ownerDocument.createElementNS(
|
7898
7930
|
"http://www.w3.org/1998/Math/MathML",
|
7899
|
-
|
7931
|
+
type
|
7900
7932
|
);
|
7901
7933
|
break;
|
7902
7934
|
case "script":
|
7903
|
-
|
7904
|
-
|
7905
|
-
|
7935
|
+
nextResource = ownerDocument.createElement("div");
|
7936
|
+
nextResource.innerHTML = "<script>\x3c/script>";
|
7937
|
+
nextResource = nextResource.removeChild(
|
7938
|
+
nextResource.firstChild
|
7939
|
+
);
|
7906
7940
|
break;
|
7907
7941
|
case "select":
|
7908
|
-
|
7942
|
+
nextResource =
|
7909
7943
|
"string" === typeof newProps.is
|
7910
|
-
?
|
7911
|
-
|
7944
|
+
? ownerDocument.createElement("select", {
|
7945
|
+
is: newProps.is
|
7946
|
+
})
|
7947
|
+
: ownerDocument.createElement("select");
|
7912
7948
|
newProps.multiple
|
7913
|
-
? (
|
7914
|
-
: newProps.size && (
|
7949
|
+
? (nextResource.multiple = !0)
|
7950
|
+
: newProps.size && (nextResource.size = newProps.size);
|
7915
7951
|
break;
|
7916
7952
|
default:
|
7917
|
-
|
7953
|
+
nextResource =
|
7918
7954
|
"string" === typeof newProps.is
|
7919
|
-
?
|
7920
|
-
:
|
7955
|
+
? ownerDocument.createElement(type, { is: newProps.is })
|
7956
|
+
: ownerDocument.createElement(type);
|
7921
7957
|
}
|
7922
7958
|
}
|
7923
|
-
|
7924
|
-
|
7925
|
-
a: for (
|
7926
|
-
|
7927
|
-
|
7959
|
+
nextResource[internalInstanceKey] = workInProgress;
|
7960
|
+
nextResource[internalPropsKey] = newProps;
|
7961
|
+
a: for (
|
7962
|
+
ownerDocument = workInProgress.child;
|
7963
|
+
null !== ownerDocument;
|
7964
|
+
|
7965
|
+
) {
|
7966
|
+
if (5 === ownerDocument.tag || 6 === ownerDocument.tag)
|
7967
|
+
nextResource.appendChild(ownerDocument.stateNode);
|
7928
7968
|
else if (
|
7929
|
-
4 !==
|
7930
|
-
27 !==
|
7931
|
-
null !==
|
7969
|
+
4 !== ownerDocument.tag &&
|
7970
|
+
27 !== ownerDocument.tag &&
|
7971
|
+
null !== ownerDocument.child
|
7932
7972
|
) {
|
7933
|
-
|
7934
|
-
|
7973
|
+
ownerDocument.child.return = ownerDocument;
|
7974
|
+
ownerDocument = ownerDocument.child;
|
7935
7975
|
continue;
|
7936
7976
|
}
|
7937
|
-
if (
|
7938
|
-
for (; null ===
|
7977
|
+
if (ownerDocument === workInProgress) break a;
|
7978
|
+
for (; null === ownerDocument.sibling; ) {
|
7939
7979
|
if (
|
7940
|
-
null ===
|
7941
|
-
|
7980
|
+
null === ownerDocument.return ||
|
7981
|
+
ownerDocument.return === workInProgress
|
7942
7982
|
)
|
7943
7983
|
break a;
|
7944
|
-
|
7984
|
+
ownerDocument = ownerDocument.return;
|
7945
7985
|
}
|
7946
|
-
|
7947
|
-
|
7986
|
+
ownerDocument.sibling.return = ownerDocument.return;
|
7987
|
+
ownerDocument = ownerDocument.sibling;
|
7948
7988
|
}
|
7949
|
-
workInProgress.stateNode =
|
7989
|
+
workInProgress.stateNode = nextResource;
|
7950
7990
|
a: switch (
|
7951
|
-
(setInitialProperties(
|
7991
|
+
(setInitialProperties(nextResource, type, newProps), type)
|
7952
7992
|
) {
|
7953
7993
|
case "button":
|
7954
7994
|
case "input":
|
7955
7995
|
case "select":
|
7956
7996
|
case "textarea":
|
7957
|
-
|
7997
|
+
newProps = !!newProps.autoFocus;
|
7958
7998
|
break a;
|
7959
7999
|
case "img":
|
7960
|
-
|
8000
|
+
newProps = !0;
|
7961
8001
|
break a;
|
7962
8002
|
default:
|
7963
|
-
|
8003
|
+
newProps = !1;
|
7964
8004
|
}
|
7965
|
-
|
8005
|
+
newProps && markUpdate(workInProgress);
|
7966
8006
|
}
|
7967
8007
|
}
|
7968
8008
|
bubbleProperties(workInProgress);
|
7969
|
-
|
8009
|
+
preloadInstanceAndSuspendIfNeeded(
|
8010
|
+
workInProgress,
|
8011
|
+
workInProgress.type,
|
8012
|
+
null === current ? null : current.memoizedProps,
|
8013
|
+
workInProgress.pendingProps,
|
8014
|
+
renderLanes
|
8015
|
+
);
|
7970
8016
|
return null;
|
7971
8017
|
case 6:
|
7972
8018
|
if (current && null != workInProgress.stateNode)
|
@@ -7979,12 +8025,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7979
8025
|
current = workInProgress.stateNode;
|
7980
8026
|
renderLanes = workInProgress.memoizedProps;
|
7981
8027
|
newProps = null;
|
7982
|
-
type
|
7983
|
-
if (null !== type
|
7984
|
-
switch (type
|
8028
|
+
type = hydrationParentFiber;
|
8029
|
+
if (null !== type)
|
8030
|
+
switch (type.tag) {
|
7985
8031
|
case 27:
|
7986
8032
|
case 5:
|
7987
|
-
newProps = type
|
8033
|
+
newProps = type.memoizedProps;
|
7988
8034
|
}
|
7989
8035
|
current[internalInstanceKey] = workInProgress;
|
7990
8036
|
current =
|
@@ -8011,28 +8057,28 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8011
8057
|
(null !== current.memoizedState &&
|
8012
8058
|
null !== current.memoizedState.dehydrated)
|
8013
8059
|
) {
|
8014
|
-
type
|
8060
|
+
type = popHydrationState(workInProgress);
|
8015
8061
|
if (null !== newProps && null !== newProps.dehydrated) {
|
8016
8062
|
if (null === current) {
|
8017
|
-
if (!type
|
8018
|
-
type
|
8019
|
-
type
|
8020
|
-
if (!type
|
8021
|
-
type
|
8063
|
+
if (!type) throw Error(formatProdErrorMessage(318));
|
8064
|
+
type = workInProgress.memoizedState;
|
8065
|
+
type = null !== type ? type.dehydrated : null;
|
8066
|
+
if (!type) throw Error(formatProdErrorMessage(317));
|
8067
|
+
type[internalInstanceKey] = workInProgress;
|
8022
8068
|
} else
|
8023
8069
|
resetHydrationState(),
|
8024
8070
|
0 === (workInProgress.flags & 128) &&
|
8025
8071
|
(workInProgress.memoizedState = null),
|
8026
8072
|
(workInProgress.flags |= 4);
|
8027
8073
|
bubbleProperties(workInProgress);
|
8028
|
-
type
|
8074
|
+
type = !1;
|
8029
8075
|
} else
|
8030
|
-
(type
|
8076
|
+
(type = upgradeHydrationErrorsToRecoverable()),
|
8031
8077
|
null !== current &&
|
8032
8078
|
null !== current.memoizedState &&
|
8033
|
-
(current.memoizedState.hydrationErrors = type
|
8034
|
-
(type
|
8035
|
-
if (!type
|
8079
|
+
(current.memoizedState.hydrationErrors = type),
|
8080
|
+
(type = !0);
|
8081
|
+
if (!type) {
|
8036
8082
|
if (workInProgress.flags & 256)
|
8037
8083
|
return popSuspenseHandler(workInProgress), workInProgress;
|
8038
8084
|
popSuspenseHandler(workInProgress);
|
@@ -8044,19 +8090,18 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8044
8090
|
return (workInProgress.lanes = renderLanes), workInProgress;
|
8045
8091
|
renderLanes = null !== newProps;
|
8046
8092
|
current = null !== current && null !== current.memoizedState;
|
8047
|
-
|
8048
|
-
newProps = workInProgress.child
|
8049
|
-
type
|
8093
|
+
renderLanes &&
|
8094
|
+
((newProps = workInProgress.child),
|
8095
|
+
(type = null),
|
8050
8096
|
null !== newProps.alternate &&
|
8051
8097
|
null !== newProps.alternate.memoizedState &&
|
8052
8098
|
null !== newProps.alternate.memoizedState.cachePool &&
|
8053
|
-
(type
|
8054
|
-
|
8099
|
+
(type = newProps.alternate.memoizedState.cachePool.pool),
|
8100
|
+
(nextResource = null),
|
8055
8101
|
null !== newProps.memoizedState &&
|
8056
8102
|
null !== newProps.memoizedState.cachePool &&
|
8057
|
-
(
|
8058
|
-
|
8059
|
-
}
|
8103
|
+
(nextResource = newProps.memoizedState.cachePool.pool),
|
8104
|
+
nextResource !== type && (newProps.flags |= 2048));
|
8060
8105
|
renderLanes !== current &&
|
8061
8106
|
renderLanes &&
|
8062
8107
|
(workInProgress.child.flags |= 8192);
|
@@ -8077,23 +8122,23 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8077
8122
|
);
|
8078
8123
|
case 19:
|
8079
8124
|
pop(suspenseStackCursor);
|
8080
|
-
type
|
8081
|
-
if (null === type
|
8125
|
+
type = workInProgress.memoizedState;
|
8126
|
+
if (null === type) return bubbleProperties(workInProgress), null;
|
8082
8127
|
newProps = 0 !== (workInProgress.flags & 128);
|
8083
|
-
|
8084
|
-
if (null ===
|
8085
|
-
if (newProps) cutOffTailIfNeeded(type
|
8128
|
+
nextResource = type.rendering;
|
8129
|
+
if (null === nextResource)
|
8130
|
+
if (newProps) cutOffTailIfNeeded(type, !1);
|
8086
8131
|
else {
|
8087
8132
|
if (
|
8088
8133
|
0 !== workInProgressRootExitStatus ||
|
8089
8134
|
(null !== current && 0 !== (current.flags & 128))
|
8090
8135
|
)
|
8091
8136
|
for (current = workInProgress.child; null !== current; ) {
|
8092
|
-
|
8093
|
-
if (null !==
|
8137
|
+
nextResource = findFirstSuspended(current);
|
8138
|
+
if (null !== nextResource) {
|
8094
8139
|
workInProgress.flags |= 128;
|
8095
|
-
cutOffTailIfNeeded(type
|
8096
|
-
current =
|
8140
|
+
cutOffTailIfNeeded(type, !1);
|
8141
|
+
current = nextResource.updateQueue;
|
8097
8142
|
workInProgress.updateQueue = current;
|
8098
8143
|
scheduleRetryEffect(workInProgress, current);
|
8099
8144
|
workInProgress.subtreeFlags = 0;
|
@@ -8109,52 +8154,54 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8109
8154
|
}
|
8110
8155
|
current = current.sibling;
|
8111
8156
|
}
|
8112
|
-
null !== type
|
8157
|
+
null !== type.tail &&
|
8113
8158
|
now() > workInProgressRootRenderTargetTime &&
|
8114
8159
|
((workInProgress.flags |= 128),
|
8115
8160
|
(newProps = !0),
|
8116
|
-
cutOffTailIfNeeded(type
|
8161
|
+
cutOffTailIfNeeded(type, !1),
|
8117
8162
|
(workInProgress.lanes = 4194304));
|
8118
8163
|
}
|
8119
8164
|
else {
|
8120
8165
|
if (!newProps)
|
8121
|
-
if (
|
8166
|
+
if (
|
8167
|
+
((current = findFirstSuspended(nextResource)), null !== current)
|
8168
|
+
) {
|
8122
8169
|
if (
|
8123
8170
|
((workInProgress.flags |= 128),
|
8124
8171
|
(newProps = !0),
|
8125
8172
|
(current = current.updateQueue),
|
8126
8173
|
(workInProgress.updateQueue = current),
|
8127
8174
|
scheduleRetryEffect(workInProgress, current),
|
8128
|
-
cutOffTailIfNeeded(type
|
8129
|
-
null === type
|
8130
|
-
"hidden" === type
|
8131
|
-
!
|
8175
|
+
cutOffTailIfNeeded(type, !0),
|
8176
|
+
null === type.tail &&
|
8177
|
+
"hidden" === type.tailMode &&
|
8178
|
+
!nextResource.alternate &&
|
8132
8179
|
!isHydrating)
|
8133
8180
|
)
|
8134
8181
|
return bubbleProperties(workInProgress), null;
|
8135
8182
|
} else
|
8136
|
-
2 * now() - type
|
8183
|
+
2 * now() - type.renderingStartTime >
|
8137
8184
|
workInProgressRootRenderTargetTime &&
|
8138
8185
|
536870912 !== renderLanes &&
|
8139
8186
|
((workInProgress.flags |= 128),
|
8140
8187
|
(newProps = !0),
|
8141
|
-
cutOffTailIfNeeded(type
|
8188
|
+
cutOffTailIfNeeded(type, !1),
|
8142
8189
|
(workInProgress.lanes = 4194304));
|
8143
|
-
type
|
8144
|
-
? ((
|
8145
|
-
(workInProgress.child =
|
8146
|
-
: ((current = type
|
8190
|
+
type.isBackwards
|
8191
|
+
? ((nextResource.sibling = workInProgress.child),
|
8192
|
+
(workInProgress.child = nextResource))
|
8193
|
+
: ((current = type.last),
|
8147
8194
|
null !== current
|
8148
|
-
? (current.sibling =
|
8149
|
-
: (workInProgress.child =
|
8150
|
-
(type
|
8195
|
+
? (current.sibling = nextResource)
|
8196
|
+
: (workInProgress.child = nextResource),
|
8197
|
+
(type.last = nextResource));
|
8151
8198
|
}
|
8152
|
-
if (null !== type
|
8199
|
+
if (null !== type.tail)
|
8153
8200
|
return (
|
8154
|
-
(workInProgress = type
|
8155
|
-
(type
|
8156
|
-
(type
|
8157
|
-
(type
|
8201
|
+
(workInProgress = type.tail),
|
8202
|
+
(type.rendering = workInProgress),
|
8203
|
+
(type.tail = workInProgress.sibling),
|
8204
|
+
(type.renderingStartTime = now()),
|
8158
8205
|
(workInProgress.sibling = null),
|
8159
8206
|
(current = suspenseStackCursor.current),
|
8160
8207
|
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
@@ -10672,6 +10719,21 @@ function handleThrow(root, thrownValue) {
|
|
10672
10719
|
createCapturedValueAtFiber(thrownValue, root.current)
|
10673
10720
|
));
|
10674
10721
|
}
|
10722
|
+
function shouldRemainOnPreviousScreen() {
|
10723
|
+
var handler = suspenseHandlerStackCursor.current;
|
10724
|
+
return null === handler
|
10725
|
+
? !0
|
10726
|
+
: (workInProgressRootRenderLanes & 4194048) ===
|
10727
|
+
workInProgressRootRenderLanes
|
10728
|
+
? null === shellBoundary
|
10729
|
+
? !0
|
10730
|
+
: !1
|
10731
|
+
: (workInProgressRootRenderLanes & 62914560) ===
|
10732
|
+
workInProgressRootRenderLanes ||
|
10733
|
+
0 !== (workInProgressRootRenderLanes & 536870912)
|
10734
|
+
? handler === shellBoundary
|
10735
|
+
: !1;
|
10736
|
+
}
|
10675
10737
|
function pushDispatcher() {
|
10676
10738
|
var prevDispatcher = ReactSharedInternals.H;
|
10677
10739
|
ReactSharedInternals.H = ContextOnlyDispatcher;
|
@@ -11776,20 +11838,20 @@ function extractEvents$1(
|
|
11776
11838
|
}
|
11777
11839
|
}
|
11778
11840
|
for (
|
11779
|
-
var i$jscomp$
|
11780
|
-
i$jscomp$
|
11781
|
-
i$jscomp$
|
11841
|
+
var i$jscomp$inline_1527 = 0;
|
11842
|
+
i$jscomp$inline_1527 < simpleEventPluginEvents.length;
|
11843
|
+
i$jscomp$inline_1527++
|
11782
11844
|
) {
|
11783
|
-
var eventName$jscomp$
|
11784
|
-
simpleEventPluginEvents[i$jscomp$
|
11785
|
-
domEventName$jscomp$
|
11786
|
-
eventName$jscomp$
|
11787
|
-
capitalizedEvent$jscomp$
|
11788
|
-
eventName$jscomp$
|
11789
|
-
eventName$jscomp$
|
11845
|
+
var eventName$jscomp$inline_1528 =
|
11846
|
+
simpleEventPluginEvents[i$jscomp$inline_1527],
|
11847
|
+
domEventName$jscomp$inline_1529 =
|
11848
|
+
eventName$jscomp$inline_1528.toLowerCase(),
|
11849
|
+
capitalizedEvent$jscomp$inline_1530 =
|
11850
|
+
eventName$jscomp$inline_1528[0].toUpperCase() +
|
11851
|
+
eventName$jscomp$inline_1528.slice(1);
|
11790
11852
|
registerSimpleEvent(
|
11791
|
-
domEventName$jscomp$
|
11792
|
-
"on" + capitalizedEvent$jscomp$
|
11853
|
+
domEventName$jscomp$inline_1529,
|
11854
|
+
"on" + capitalizedEvent$jscomp$inline_1530
|
11793
11855
|
);
|
11794
11856
|
}
|
11795
11857
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -15285,16 +15347,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15285
15347
|
0 === i && attemptExplicitHydrationTarget(target);
|
15286
15348
|
}
|
15287
15349
|
};
|
15288
|
-
var isomorphicReactPackageVersion$jscomp$
|
15350
|
+
var isomorphicReactPackageVersion$jscomp$inline_1784 = React.version;
|
15289
15351
|
if (
|
15290
|
-
"19.2.0-canary-
|
15291
|
-
isomorphicReactPackageVersion$jscomp$
|
15352
|
+
"19.2.0-canary-c44e4a25-20250409" !==
|
15353
|
+
isomorphicReactPackageVersion$jscomp$inline_1784
|
15292
15354
|
)
|
15293
15355
|
throw Error(
|
15294
15356
|
formatProdErrorMessage(
|
15295
15357
|
527,
|
15296
|
-
isomorphicReactPackageVersion$jscomp$
|
15297
|
-
"19.2.0-canary-
|
15358
|
+
isomorphicReactPackageVersion$jscomp$inline_1784,
|
15359
|
+
"19.2.0-canary-c44e4a25-20250409"
|
15298
15360
|
)
|
15299
15361
|
);
|
15300
15362
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15314,24 +15376,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15314
15376
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15315
15377
|
return componentOrElement;
|
15316
15378
|
};
|
15317
|
-
var internals$jscomp$
|
15379
|
+
var internals$jscomp$inline_2258 = {
|
15318
15380
|
bundleType: 0,
|
15319
|
-
version: "19.2.0-canary-
|
15381
|
+
version: "19.2.0-canary-c44e4a25-20250409",
|
15320
15382
|
rendererPackageName: "react-dom",
|
15321
15383
|
currentDispatcherRef: ReactSharedInternals,
|
15322
|
-
reconcilerVersion: "19.2.0-canary-
|
15384
|
+
reconcilerVersion: "19.2.0-canary-c44e4a25-20250409"
|
15323
15385
|
};
|
15324
15386
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15325
|
-
var hook$jscomp$
|
15387
|
+
var hook$jscomp$inline_2259 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15326
15388
|
if (
|
15327
|
-
!hook$jscomp$
|
15328
|
-
hook$jscomp$
|
15389
|
+
!hook$jscomp$inline_2259.isDisabled &&
|
15390
|
+
hook$jscomp$inline_2259.supportsFiber
|
15329
15391
|
)
|
15330
15392
|
try {
|
15331
|
-
(rendererID = hook$jscomp$
|
15332
|
-
internals$jscomp$
|
15393
|
+
(rendererID = hook$jscomp$inline_2259.inject(
|
15394
|
+
internals$jscomp$inline_2258
|
15333
15395
|
)),
|
15334
|
-
(injectedHook = hook$jscomp$
|
15396
|
+
(injectedHook = hook$jscomp$inline_2259);
|
15335
15397
|
} catch (err) {}
|
15336
15398
|
}
|
15337
15399
|
exports.createRoot = function (container, options) {
|
@@ -15423,4 +15485,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15423
15485
|
listenToAllSupportedEvents(container);
|
15424
15486
|
return new ReactDOMHydrationRoot(initialChildren);
|
15425
15487
|
};
|
15426
|
-
exports.version = "19.2.0-canary-
|
15488
|
+
exports.version = "19.2.0-canary-c44e4a25-20250409";
|