react-dom 19.2.0-canary-33661467-20250407 → 19.2.0-canary-3fbfb9ba-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 +386 -331
- package/cjs/react-dom-client.production.js +225 -176
- package/cjs/react-dom-profiling.development.js +386 -331
- package/cjs/react-dom-profiling.profiling.js +231 -183
- 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 &&
|
@@ -7688,27 +7688,38 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7688
7688
|
function markUpdate(workInProgress) {
|
7689
7689
|
workInProgress.flags |= 4;
|
7690
7690
|
}
|
7691
|
+
function preloadInstanceAndSuspendIfNeeded(
|
7692
|
+
workInProgress,
|
7693
|
+
type,
|
7694
|
+
oldProps,
|
7695
|
+
newProps,
|
7696
|
+
renderLanes
|
7697
|
+
) {
|
7698
|
+
if ((type = 0 !== (workInProgress.mode & 32))) type = !1;
|
7699
|
+
if (type) {
|
7700
|
+
if (
|
7701
|
+
((workInProgress.flags |= 16777216),
|
7702
|
+
(renderLanes & 335544128) === renderLanes)
|
7703
|
+
)
|
7704
|
+
if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
|
7705
|
+
else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
7706
|
+
else
|
7707
|
+
throw (
|
7708
|
+
((suspendedThenable = noopSuspenseyCommitThenable),
|
7709
|
+
SuspenseyCommitException)
|
7710
|
+
);
|
7711
|
+
} else workInProgress.flags &= -16777217;
|
7712
|
+
}
|
7691
7713
|
function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
|
7692
7714
|
if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4))
|
7693
7715
|
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
|
-
)
|
7716
|
+
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
7717
|
+
if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
7718
|
+
else
|
7706
7719
|
throw (
|
7707
7720
|
((suspendedThenable = noopSuspenseyCommitThenable),
|
7708
7721
|
SuspenseyCommitException)
|
7709
7722
|
);
|
7710
|
-
workInProgress.flags |= 8192;
|
7711
|
-
}
|
7712
7723
|
}
|
7713
7724
|
function scheduleRetryEffect(workInProgress, retryQueue) {
|
7714
7725
|
null !== retryQueue && (workInProgress.flags |= 4);
|
@@ -7806,31 +7817,43 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7806
7817
|
bubbleProperties(workInProgress);
|
7807
7818
|
return null;
|
7808
7819
|
case 26:
|
7809
|
-
|
7810
|
-
|
7811
|
-
|
7812
|
-
|
7813
|
-
|
7814
|
-
|
7815
|
-
|
7816
|
-
|
7817
|
-
|
7818
|
-
|
7819
|
-
|
7820
|
-
|
7821
|
-
|
7822
|
-
|
7823
|
-
|
7824
|
-
|
7825
|
-
|
7820
|
+
var type = workInProgress.type,
|
7821
|
+
nextResource = workInProgress.memoizedState;
|
7822
|
+
null === current
|
7823
|
+
? (markUpdate(workInProgress),
|
7824
|
+
null !== nextResource
|
7825
|
+
? (bubbleProperties(workInProgress),
|
7826
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
|
7827
|
+
: (bubbleProperties(workInProgress),
|
7828
|
+
preloadInstanceAndSuspendIfNeeded(
|
7829
|
+
workInProgress,
|
7830
|
+
type,
|
7831
|
+
null,
|
7832
|
+
newProps,
|
7833
|
+
renderLanes
|
7834
|
+
)))
|
7835
|
+
: nextResource
|
7836
|
+
? nextResource !== current.memoizedState
|
7837
|
+
? (markUpdate(workInProgress),
|
7826
7838
|
bubbleProperties(workInProgress),
|
7827
|
-
(workInProgress
|
7828
|
-
|
7829
|
-
|
7839
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
|
7840
|
+
: (bubbleProperties(workInProgress),
|
7841
|
+
(workInProgress.flags &= -16777217))
|
7842
|
+
: ((current = current.memoizedProps),
|
7843
|
+
current !== newProps && markUpdate(workInProgress),
|
7844
|
+
bubbleProperties(workInProgress),
|
7845
|
+
preloadInstanceAndSuspendIfNeeded(
|
7846
|
+
workInProgress,
|
7847
|
+
type,
|
7848
|
+
current,
|
7849
|
+
newProps,
|
7850
|
+
renderLanes
|
7851
|
+
));
|
7852
|
+
return null;
|
7830
7853
|
case 27:
|
7831
7854
|
popHostContext(workInProgress);
|
7832
7855
|
renderLanes = rootInstanceStackCursor.current;
|
7833
|
-
|
7856
|
+
type = workInProgress.type;
|
7834
7857
|
if (null !== current && null != workInProgress.stateNode)
|
7835
7858
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
7836
7859
|
else {
|
@@ -7843,11 +7866,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7843
7866
|
current = contextStackCursor.current;
|
7844
7867
|
popHydrationState(workInProgress)
|
7845
7868
|
? prepareToHydrateHostInstance(workInProgress, current)
|
7846
|
-
: ((current = resolveSingletonInstance(
|
7847
|
-
type$116,
|
7848
|
-
newProps,
|
7849
|
-
renderLanes
|
7850
|
-
)),
|
7869
|
+
: ((current = resolveSingletonInstance(type, newProps, renderLanes)),
|
7851
7870
|
(workInProgress.stateNode = current),
|
7852
7871
|
markUpdate(workInProgress));
|
7853
7872
|
}
|
@@ -7855,7 +7874,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7855
7874
|
return null;
|
7856
7875
|
case 5:
|
7857
7876
|
popHostContext(workInProgress);
|
7858
|
-
|
7877
|
+
type = workInProgress.type;
|
7859
7878
|
if (null !== current && null != workInProgress.stateNode)
|
7860
7879
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
7861
7880
|
else {
|
@@ -7865,108 +7884,122 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7865
7884
|
bubbleProperties(workInProgress);
|
7866
7885
|
return null;
|
7867
7886
|
}
|
7868
|
-
|
7887
|
+
nextResource = contextStackCursor.current;
|
7869
7888
|
if (popHydrationState(workInProgress))
|
7870
|
-
prepareToHydrateHostInstance(workInProgress,
|
7889
|
+
prepareToHydrateHostInstance(workInProgress, nextResource);
|
7871
7890
|
else {
|
7872
|
-
|
7891
|
+
var ownerDocument = getOwnerDocumentFromRootContainer(
|
7873
7892
|
rootInstanceStackCursor.current
|
7874
7893
|
);
|
7875
|
-
switch (
|
7894
|
+
switch (nextResource) {
|
7876
7895
|
case 1:
|
7877
|
-
|
7896
|
+
nextResource = ownerDocument.createElementNS(
|
7878
7897
|
"http://www.w3.org/2000/svg",
|
7879
|
-
|
7898
|
+
type
|
7880
7899
|
);
|
7881
7900
|
break;
|
7882
7901
|
case 2:
|
7883
|
-
|
7902
|
+
nextResource = ownerDocument.createElementNS(
|
7884
7903
|
"http://www.w3.org/1998/Math/MathML",
|
7885
|
-
|
7904
|
+
type
|
7886
7905
|
);
|
7887
7906
|
break;
|
7888
7907
|
default:
|
7889
|
-
switch (
|
7908
|
+
switch (type) {
|
7890
7909
|
case "svg":
|
7891
|
-
|
7910
|
+
nextResource = ownerDocument.createElementNS(
|
7892
7911
|
"http://www.w3.org/2000/svg",
|
7893
|
-
|
7912
|
+
type
|
7894
7913
|
);
|
7895
7914
|
break;
|
7896
7915
|
case "math":
|
7897
|
-
|
7916
|
+
nextResource = ownerDocument.createElementNS(
|
7898
7917
|
"http://www.w3.org/1998/Math/MathML",
|
7899
|
-
|
7918
|
+
type
|
7900
7919
|
);
|
7901
7920
|
break;
|
7902
7921
|
case "script":
|
7903
|
-
|
7904
|
-
|
7905
|
-
|
7922
|
+
nextResource = ownerDocument.createElement("div");
|
7923
|
+
nextResource.innerHTML = "<script>\x3c/script>";
|
7924
|
+
nextResource = nextResource.removeChild(
|
7925
|
+
nextResource.firstChild
|
7926
|
+
);
|
7906
7927
|
break;
|
7907
7928
|
case "select":
|
7908
|
-
|
7929
|
+
nextResource =
|
7909
7930
|
"string" === typeof newProps.is
|
7910
|
-
?
|
7911
|
-
|
7931
|
+
? ownerDocument.createElement("select", {
|
7932
|
+
is: newProps.is
|
7933
|
+
})
|
7934
|
+
: ownerDocument.createElement("select");
|
7912
7935
|
newProps.multiple
|
7913
|
-
? (
|
7914
|
-
: newProps.size && (
|
7936
|
+
? (nextResource.multiple = !0)
|
7937
|
+
: newProps.size && (nextResource.size = newProps.size);
|
7915
7938
|
break;
|
7916
7939
|
default:
|
7917
|
-
|
7940
|
+
nextResource =
|
7918
7941
|
"string" === typeof newProps.is
|
7919
|
-
?
|
7920
|
-
:
|
7942
|
+
? ownerDocument.createElement(type, { is: newProps.is })
|
7943
|
+
: ownerDocument.createElement(type);
|
7921
7944
|
}
|
7922
7945
|
}
|
7923
|
-
|
7924
|
-
|
7925
|
-
a: for (
|
7926
|
-
|
7927
|
-
|
7946
|
+
nextResource[internalInstanceKey] = workInProgress;
|
7947
|
+
nextResource[internalPropsKey] = newProps;
|
7948
|
+
a: for (
|
7949
|
+
ownerDocument = workInProgress.child;
|
7950
|
+
null !== ownerDocument;
|
7951
|
+
|
7952
|
+
) {
|
7953
|
+
if (5 === ownerDocument.tag || 6 === ownerDocument.tag)
|
7954
|
+
nextResource.appendChild(ownerDocument.stateNode);
|
7928
7955
|
else if (
|
7929
|
-
4 !==
|
7930
|
-
27 !==
|
7931
|
-
null !==
|
7956
|
+
4 !== ownerDocument.tag &&
|
7957
|
+
27 !== ownerDocument.tag &&
|
7958
|
+
null !== ownerDocument.child
|
7932
7959
|
) {
|
7933
|
-
|
7934
|
-
|
7960
|
+
ownerDocument.child.return = ownerDocument;
|
7961
|
+
ownerDocument = ownerDocument.child;
|
7935
7962
|
continue;
|
7936
7963
|
}
|
7937
|
-
if (
|
7938
|
-
for (; null ===
|
7964
|
+
if (ownerDocument === workInProgress) break a;
|
7965
|
+
for (; null === ownerDocument.sibling; ) {
|
7939
7966
|
if (
|
7940
|
-
null ===
|
7941
|
-
|
7967
|
+
null === ownerDocument.return ||
|
7968
|
+
ownerDocument.return === workInProgress
|
7942
7969
|
)
|
7943
7970
|
break a;
|
7944
|
-
|
7971
|
+
ownerDocument = ownerDocument.return;
|
7945
7972
|
}
|
7946
|
-
|
7947
|
-
|
7973
|
+
ownerDocument.sibling.return = ownerDocument.return;
|
7974
|
+
ownerDocument = ownerDocument.sibling;
|
7948
7975
|
}
|
7949
|
-
workInProgress.stateNode =
|
7976
|
+
workInProgress.stateNode = nextResource;
|
7950
7977
|
a: switch (
|
7951
|
-
(setInitialProperties(
|
7978
|
+
(setInitialProperties(nextResource, type, newProps), type)
|
7952
7979
|
) {
|
7953
7980
|
case "button":
|
7954
7981
|
case "input":
|
7955
7982
|
case "select":
|
7956
7983
|
case "textarea":
|
7957
|
-
|
7984
|
+
newProps = !!newProps.autoFocus;
|
7958
7985
|
break a;
|
7959
7986
|
case "img":
|
7960
|
-
|
7987
|
+
newProps = !0;
|
7961
7988
|
break a;
|
7962
7989
|
default:
|
7963
|
-
|
7990
|
+
newProps = !1;
|
7964
7991
|
}
|
7965
|
-
|
7992
|
+
newProps && markUpdate(workInProgress);
|
7966
7993
|
}
|
7967
7994
|
}
|
7968
7995
|
bubbleProperties(workInProgress);
|
7969
|
-
|
7996
|
+
preloadInstanceAndSuspendIfNeeded(
|
7997
|
+
workInProgress,
|
7998
|
+
workInProgress.type,
|
7999
|
+
null === current ? null : current.memoizedProps,
|
8000
|
+
workInProgress.pendingProps,
|
8001
|
+
renderLanes
|
8002
|
+
);
|
7970
8003
|
return null;
|
7971
8004
|
case 6:
|
7972
8005
|
if (current && null != workInProgress.stateNode)
|
@@ -7979,12 +8012,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
7979
8012
|
current = workInProgress.stateNode;
|
7980
8013
|
renderLanes = workInProgress.memoizedProps;
|
7981
8014
|
newProps = null;
|
7982
|
-
type
|
7983
|
-
if (null !== type
|
7984
|
-
switch (type
|
8015
|
+
type = hydrationParentFiber;
|
8016
|
+
if (null !== type)
|
8017
|
+
switch (type.tag) {
|
7985
8018
|
case 27:
|
7986
8019
|
case 5:
|
7987
|
-
newProps = type
|
8020
|
+
newProps = type.memoizedProps;
|
7988
8021
|
}
|
7989
8022
|
current[internalInstanceKey] = workInProgress;
|
7990
8023
|
current =
|
@@ -8011,28 +8044,28 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8011
8044
|
(null !== current.memoizedState &&
|
8012
8045
|
null !== current.memoizedState.dehydrated)
|
8013
8046
|
) {
|
8014
|
-
type
|
8047
|
+
type = popHydrationState(workInProgress);
|
8015
8048
|
if (null !== newProps && null !== newProps.dehydrated) {
|
8016
8049
|
if (null === current) {
|
8017
|
-
if (!type
|
8018
|
-
type
|
8019
|
-
type
|
8020
|
-
if (!type
|
8021
|
-
type
|
8050
|
+
if (!type) throw Error(formatProdErrorMessage(318));
|
8051
|
+
type = workInProgress.memoizedState;
|
8052
|
+
type = null !== type ? type.dehydrated : null;
|
8053
|
+
if (!type) throw Error(formatProdErrorMessage(317));
|
8054
|
+
type[internalInstanceKey] = workInProgress;
|
8022
8055
|
} else
|
8023
8056
|
resetHydrationState(),
|
8024
8057
|
0 === (workInProgress.flags & 128) &&
|
8025
8058
|
(workInProgress.memoizedState = null),
|
8026
8059
|
(workInProgress.flags |= 4);
|
8027
8060
|
bubbleProperties(workInProgress);
|
8028
|
-
type
|
8061
|
+
type = !1;
|
8029
8062
|
} else
|
8030
|
-
(type
|
8063
|
+
(type = upgradeHydrationErrorsToRecoverable()),
|
8031
8064
|
null !== current &&
|
8032
8065
|
null !== current.memoizedState &&
|
8033
|
-
(current.memoizedState.hydrationErrors = type
|
8034
|
-
(type
|
8035
|
-
if (!type
|
8066
|
+
(current.memoizedState.hydrationErrors = type),
|
8067
|
+
(type = !0);
|
8068
|
+
if (!type) {
|
8036
8069
|
if (workInProgress.flags & 256)
|
8037
8070
|
return popSuspenseHandler(workInProgress), workInProgress;
|
8038
8071
|
popSuspenseHandler(workInProgress);
|
@@ -8044,19 +8077,18 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8044
8077
|
return (workInProgress.lanes = renderLanes), workInProgress;
|
8045
8078
|
renderLanes = null !== newProps;
|
8046
8079
|
current = null !== current && null !== current.memoizedState;
|
8047
|
-
|
8048
|
-
newProps = workInProgress.child
|
8049
|
-
type
|
8080
|
+
renderLanes &&
|
8081
|
+
((newProps = workInProgress.child),
|
8082
|
+
(type = null),
|
8050
8083
|
null !== newProps.alternate &&
|
8051
8084
|
null !== newProps.alternate.memoizedState &&
|
8052
8085
|
null !== newProps.alternate.memoizedState.cachePool &&
|
8053
|
-
(type
|
8054
|
-
|
8086
|
+
(type = newProps.alternate.memoizedState.cachePool.pool),
|
8087
|
+
(nextResource = null),
|
8055
8088
|
null !== newProps.memoizedState &&
|
8056
8089
|
null !== newProps.memoizedState.cachePool &&
|
8057
|
-
(
|
8058
|
-
|
8059
|
-
}
|
8090
|
+
(nextResource = newProps.memoizedState.cachePool.pool),
|
8091
|
+
nextResource !== type && (newProps.flags |= 2048));
|
8060
8092
|
renderLanes !== current &&
|
8061
8093
|
renderLanes &&
|
8062
8094
|
(workInProgress.child.flags |= 8192);
|
@@ -8077,23 +8109,23 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8077
8109
|
);
|
8078
8110
|
case 19:
|
8079
8111
|
pop(suspenseStackCursor);
|
8080
|
-
type
|
8081
|
-
if (null === type
|
8112
|
+
type = workInProgress.memoizedState;
|
8113
|
+
if (null === type) return bubbleProperties(workInProgress), null;
|
8082
8114
|
newProps = 0 !== (workInProgress.flags & 128);
|
8083
|
-
|
8084
|
-
if (null ===
|
8085
|
-
if (newProps) cutOffTailIfNeeded(type
|
8115
|
+
nextResource = type.rendering;
|
8116
|
+
if (null === nextResource)
|
8117
|
+
if (newProps) cutOffTailIfNeeded(type, !1);
|
8086
8118
|
else {
|
8087
8119
|
if (
|
8088
8120
|
0 !== workInProgressRootExitStatus ||
|
8089
8121
|
(null !== current && 0 !== (current.flags & 128))
|
8090
8122
|
)
|
8091
8123
|
for (current = workInProgress.child; null !== current; ) {
|
8092
|
-
|
8093
|
-
if (null !==
|
8124
|
+
nextResource = findFirstSuspended(current);
|
8125
|
+
if (null !== nextResource) {
|
8094
8126
|
workInProgress.flags |= 128;
|
8095
|
-
cutOffTailIfNeeded(type
|
8096
|
-
current =
|
8127
|
+
cutOffTailIfNeeded(type, !1);
|
8128
|
+
current = nextResource.updateQueue;
|
8097
8129
|
workInProgress.updateQueue = current;
|
8098
8130
|
scheduleRetryEffect(workInProgress, current);
|
8099
8131
|
workInProgress.subtreeFlags = 0;
|
@@ -8109,52 +8141,54 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8109
8141
|
}
|
8110
8142
|
current = current.sibling;
|
8111
8143
|
}
|
8112
|
-
null !== type
|
8144
|
+
null !== type.tail &&
|
8113
8145
|
now() > workInProgressRootRenderTargetTime &&
|
8114
8146
|
((workInProgress.flags |= 128),
|
8115
8147
|
(newProps = !0),
|
8116
|
-
cutOffTailIfNeeded(type
|
8148
|
+
cutOffTailIfNeeded(type, !1),
|
8117
8149
|
(workInProgress.lanes = 4194304));
|
8118
8150
|
}
|
8119
8151
|
else {
|
8120
8152
|
if (!newProps)
|
8121
|
-
if (
|
8153
|
+
if (
|
8154
|
+
((current = findFirstSuspended(nextResource)), null !== current)
|
8155
|
+
) {
|
8122
8156
|
if (
|
8123
8157
|
((workInProgress.flags |= 128),
|
8124
8158
|
(newProps = !0),
|
8125
8159
|
(current = current.updateQueue),
|
8126
8160
|
(workInProgress.updateQueue = current),
|
8127
8161
|
scheduleRetryEffect(workInProgress, current),
|
8128
|
-
cutOffTailIfNeeded(type
|
8129
|
-
null === type
|
8130
|
-
"hidden" === type
|
8131
|
-
!
|
8162
|
+
cutOffTailIfNeeded(type, !0),
|
8163
|
+
null === type.tail &&
|
8164
|
+
"hidden" === type.tailMode &&
|
8165
|
+
!nextResource.alternate &&
|
8132
8166
|
!isHydrating)
|
8133
8167
|
)
|
8134
8168
|
return bubbleProperties(workInProgress), null;
|
8135
8169
|
} else
|
8136
|
-
2 * now() - type
|
8170
|
+
2 * now() - type.renderingStartTime >
|
8137
8171
|
workInProgressRootRenderTargetTime &&
|
8138
8172
|
536870912 !== renderLanes &&
|
8139
8173
|
((workInProgress.flags |= 128),
|
8140
8174
|
(newProps = !0),
|
8141
|
-
cutOffTailIfNeeded(type
|
8175
|
+
cutOffTailIfNeeded(type, !1),
|
8142
8176
|
(workInProgress.lanes = 4194304));
|
8143
|
-
type
|
8144
|
-
? ((
|
8145
|
-
(workInProgress.child =
|
8146
|
-
: ((current = type
|
8177
|
+
type.isBackwards
|
8178
|
+
? ((nextResource.sibling = workInProgress.child),
|
8179
|
+
(workInProgress.child = nextResource))
|
8180
|
+
: ((current = type.last),
|
8147
8181
|
null !== current
|
8148
|
-
? (current.sibling =
|
8149
|
-
: (workInProgress.child =
|
8150
|
-
(type
|
8182
|
+
? (current.sibling = nextResource)
|
8183
|
+
: (workInProgress.child = nextResource),
|
8184
|
+
(type.last = nextResource));
|
8151
8185
|
}
|
8152
|
-
if (null !== type
|
8186
|
+
if (null !== type.tail)
|
8153
8187
|
return (
|
8154
|
-
(workInProgress = type
|
8155
|
-
(type
|
8156
|
-
(type
|
8157
|
-
(type
|
8188
|
+
(workInProgress = type.tail),
|
8189
|
+
(type.rendering = workInProgress),
|
8190
|
+
(type.tail = workInProgress.sibling),
|
8191
|
+
(type.renderingStartTime = now()),
|
8158
8192
|
(workInProgress.sibling = null),
|
8159
8193
|
(current = suspenseStackCursor.current),
|
8160
8194
|
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
@@ -10672,6 +10706,21 @@ function handleThrow(root, thrownValue) {
|
|
10672
10706
|
createCapturedValueAtFiber(thrownValue, root.current)
|
10673
10707
|
));
|
10674
10708
|
}
|
10709
|
+
function shouldRemainOnPreviousScreen() {
|
10710
|
+
var handler = suspenseHandlerStackCursor.current;
|
10711
|
+
return null === handler
|
10712
|
+
? !0
|
10713
|
+
: (workInProgressRootRenderLanes & 4194048) ===
|
10714
|
+
workInProgressRootRenderLanes
|
10715
|
+
? null === shellBoundary
|
10716
|
+
? !0
|
10717
|
+
: !1
|
10718
|
+
: (workInProgressRootRenderLanes & 62914560) ===
|
10719
|
+
workInProgressRootRenderLanes ||
|
10720
|
+
0 !== (workInProgressRootRenderLanes & 536870912)
|
10721
|
+
? handler === shellBoundary
|
10722
|
+
: !1;
|
10723
|
+
}
|
10675
10724
|
function pushDispatcher() {
|
10676
10725
|
var prevDispatcher = ReactSharedInternals.H;
|
10677
10726
|
ReactSharedInternals.H = ContextOnlyDispatcher;
|
@@ -11776,20 +11825,20 @@ function extractEvents$1(
|
|
11776
11825
|
}
|
11777
11826
|
}
|
11778
11827
|
for (
|
11779
|
-
var i$jscomp$
|
11780
|
-
i$jscomp$
|
11781
|
-
i$jscomp$
|
11828
|
+
var i$jscomp$inline_1526 = 0;
|
11829
|
+
i$jscomp$inline_1526 < simpleEventPluginEvents.length;
|
11830
|
+
i$jscomp$inline_1526++
|
11782
11831
|
) {
|
11783
|
-
var eventName$jscomp$
|
11784
|
-
simpleEventPluginEvents[i$jscomp$
|
11785
|
-
domEventName$jscomp$
|
11786
|
-
eventName$jscomp$
|
11787
|
-
capitalizedEvent$jscomp$
|
11788
|
-
eventName$jscomp$
|
11789
|
-
eventName$jscomp$
|
11832
|
+
var eventName$jscomp$inline_1527 =
|
11833
|
+
simpleEventPluginEvents[i$jscomp$inline_1526],
|
11834
|
+
domEventName$jscomp$inline_1528 =
|
11835
|
+
eventName$jscomp$inline_1527.toLowerCase(),
|
11836
|
+
capitalizedEvent$jscomp$inline_1529 =
|
11837
|
+
eventName$jscomp$inline_1527[0].toUpperCase() +
|
11838
|
+
eventName$jscomp$inline_1527.slice(1);
|
11790
11839
|
registerSimpleEvent(
|
11791
|
-
domEventName$jscomp$
|
11792
|
-
"on" + capitalizedEvent$jscomp$
|
11840
|
+
domEventName$jscomp$inline_1528,
|
11841
|
+
"on" + capitalizedEvent$jscomp$inline_1529
|
11793
11842
|
);
|
11794
11843
|
}
|
11795
11844
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -15285,16 +15334,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15285
15334
|
0 === i && attemptExplicitHydrationTarget(target);
|
15286
15335
|
}
|
15287
15336
|
};
|
15288
|
-
var isomorphicReactPackageVersion$jscomp$
|
15337
|
+
var isomorphicReactPackageVersion$jscomp$inline_1783 = React.version;
|
15289
15338
|
if (
|
15290
|
-
"19.2.0-canary-
|
15291
|
-
isomorphicReactPackageVersion$jscomp$
|
15339
|
+
"19.2.0-canary-3fbfb9ba-20250409" !==
|
15340
|
+
isomorphicReactPackageVersion$jscomp$inline_1783
|
15292
15341
|
)
|
15293
15342
|
throw Error(
|
15294
15343
|
formatProdErrorMessage(
|
15295
15344
|
527,
|
15296
|
-
isomorphicReactPackageVersion$jscomp$
|
15297
|
-
"19.2.0-canary-
|
15345
|
+
isomorphicReactPackageVersion$jscomp$inline_1783,
|
15346
|
+
"19.2.0-canary-3fbfb9ba-20250409"
|
15298
15347
|
)
|
15299
15348
|
);
|
15300
15349
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15314,24 +15363,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15314
15363
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15315
15364
|
return componentOrElement;
|
15316
15365
|
};
|
15317
|
-
var internals$jscomp$
|
15366
|
+
var internals$jscomp$inline_2257 = {
|
15318
15367
|
bundleType: 0,
|
15319
|
-
version: "19.2.0-canary-
|
15368
|
+
version: "19.2.0-canary-3fbfb9ba-20250409",
|
15320
15369
|
rendererPackageName: "react-dom",
|
15321
15370
|
currentDispatcherRef: ReactSharedInternals,
|
15322
|
-
reconcilerVersion: "19.2.0-canary-
|
15371
|
+
reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
|
15323
15372
|
};
|
15324
15373
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15325
|
-
var hook$jscomp$
|
15374
|
+
var hook$jscomp$inline_2258 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15326
15375
|
if (
|
15327
|
-
!hook$jscomp$
|
15328
|
-
hook$jscomp$
|
15376
|
+
!hook$jscomp$inline_2258.isDisabled &&
|
15377
|
+
hook$jscomp$inline_2258.supportsFiber
|
15329
15378
|
)
|
15330
15379
|
try {
|
15331
|
-
(rendererID = hook$jscomp$
|
15332
|
-
internals$jscomp$
|
15380
|
+
(rendererID = hook$jscomp$inline_2258.inject(
|
15381
|
+
internals$jscomp$inline_2257
|
15333
15382
|
)),
|
15334
|
-
(injectedHook = hook$jscomp$
|
15383
|
+
(injectedHook = hook$jscomp$inline_2258);
|
15335
15384
|
} catch (err) {}
|
15336
15385
|
}
|
15337
15386
|
exports.createRoot = function (container, options) {
|
@@ -15423,4 +15472,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15423
15472
|
listenToAllSupportedEvents(container);
|
15424
15473
|
return new ReactDOMHydrationRoot(initialChildren);
|
15425
15474
|
};
|
15426
|
-
exports.version = "19.2.0-canary-
|
15475
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|