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
@@ -2100,14 +2100,14 @@ var isInputEventSupported = !1;
|
|
2100
2100
|
if (canUseDOM) {
|
2101
2101
|
var JSCompiler_inline_result$jscomp$300;
|
2102
2102
|
if (canUseDOM) {
|
2103
|
-
var isSupported$jscomp$
|
2104
|
-
if (!isSupported$jscomp$
|
2105
|
-
var element$jscomp$
|
2106
|
-
element$jscomp$
|
2107
|
-
isSupported$jscomp$
|
2108
|
-
"function" === typeof element$jscomp$
|
2103
|
+
var isSupported$jscomp$inline_438 = "oninput" in document;
|
2104
|
+
if (!isSupported$jscomp$inline_438) {
|
2105
|
+
var element$jscomp$inline_439 = document.createElement("div");
|
2106
|
+
element$jscomp$inline_439.setAttribute("oninput", "return;");
|
2107
|
+
isSupported$jscomp$inline_438 =
|
2108
|
+
"function" === typeof element$jscomp$inline_439.oninput;
|
2109
2109
|
}
|
2110
|
-
JSCompiler_inline_result$jscomp$300 = isSupported$jscomp$
|
2110
|
+
JSCompiler_inline_result$jscomp$300 = isSupported$jscomp$inline_438;
|
2111
2111
|
} else JSCompiler_inline_result$jscomp$300 = !1;
|
2112
2112
|
isInputEventSupported =
|
2113
2113
|
JSCompiler_inline_result$jscomp$300 &&
|
@@ -6324,9 +6324,13 @@ function updateSimpleMemoComponent(
|
|
6324
6324
|
renderLanes
|
6325
6325
|
);
|
6326
6326
|
}
|
6327
|
-
function updateOffscreenComponent(
|
6328
|
-
|
6329
|
-
|
6327
|
+
function updateOffscreenComponent(
|
6328
|
+
current,
|
6329
|
+
workInProgress,
|
6330
|
+
renderLanes,
|
6331
|
+
nextProps
|
6332
|
+
) {
|
6333
|
+
var nextChildren = nextProps.children,
|
6330
6334
|
prevState = null !== current ? current.memoizedState : null;
|
6331
6335
|
if ("hidden" === nextProps.mode) {
|
6332
6336
|
if (0 !== (workInProgress.flags & 128)) {
|
@@ -7347,10 +7351,14 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
|
|
7347
7351
|
if (stateNode) break;
|
7348
7352
|
else return null;
|
7349
7353
|
case 22:
|
7350
|
-
case 23:
|
7351
7354
|
return (
|
7352
7355
|
(workInProgress.lanes = 0),
|
7353
|
-
updateOffscreenComponent(
|
7356
|
+
updateOffscreenComponent(
|
7357
|
+
current,
|
7358
|
+
workInProgress,
|
7359
|
+
renderLanes,
|
7360
|
+
workInProgress.pendingProps
|
7361
|
+
)
|
7354
7362
|
);
|
7355
7363
|
case 24:
|
7356
7364
|
pushProvider(workInProgress, CacheContext, current.memoizedState.cache);
|
@@ -7820,7 +7828,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7820
7828
|
workInProgress
|
7821
7829
|
);
|
7822
7830
|
case 22:
|
7823
|
-
return updateOffscreenComponent(
|
7831
|
+
return updateOffscreenComponent(
|
7832
|
+
current,
|
7833
|
+
workInProgress,
|
7834
|
+
renderLanes,
|
7835
|
+
workInProgress.pendingProps
|
7836
|
+
);
|
7824
7837
|
case 24:
|
7825
7838
|
return (
|
7826
7839
|
prepareToReadContext(workInProgress),
|
@@ -7879,27 +7892,38 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7879
7892
|
function markUpdate(workInProgress) {
|
7880
7893
|
workInProgress.flags |= 4;
|
7881
7894
|
}
|
7895
|
+
function preloadInstanceAndSuspendIfNeeded(
|
7896
|
+
workInProgress,
|
7897
|
+
type,
|
7898
|
+
oldProps,
|
7899
|
+
newProps,
|
7900
|
+
renderLanes
|
7901
|
+
) {
|
7902
|
+
if ((type = 0 !== (workInProgress.mode & 32))) type = !1;
|
7903
|
+
if (type) {
|
7904
|
+
if (
|
7905
|
+
((workInProgress.flags |= 16777216),
|
7906
|
+
(renderLanes & 335544128) === renderLanes)
|
7907
|
+
)
|
7908
|
+
if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
|
7909
|
+
else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
7910
|
+
else
|
7911
|
+
throw (
|
7912
|
+
((suspendedThenable = noopSuspenseyCommitThenable),
|
7913
|
+
SuspenseyCommitException)
|
7914
|
+
);
|
7915
|
+
} else workInProgress.flags &= -16777217;
|
7916
|
+
}
|
7882
7917
|
function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
|
7883
7918
|
if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4))
|
7884
7919
|
workInProgress.flags &= -16777217;
|
7885
|
-
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
7886
|
-
|
7887
|
-
|
7888
|
-
null !== resource &&
|
7889
|
-
((workInProgressRootRenderLanes & 4194048) ===
|
7890
|
-
workInProgressRootRenderLanes
|
7891
|
-
? null !== shellBoundary
|
7892
|
-
: ((workInProgressRootRenderLanes & 62914560) !==
|
7893
|
-
workInProgressRootRenderLanes &&
|
7894
|
-
0 === (workInProgressRootRenderLanes & 536870912)) ||
|
7895
|
-
resource !== shellBoundary)
|
7896
|
-
)
|
7920
|
+
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
7921
|
+
if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
7922
|
+
else
|
7897
7923
|
throw (
|
7898
7924
|
((suspendedThenable = noopSuspenseyCommitThenable),
|
7899
7925
|
SuspenseyCommitException)
|
7900
7926
|
);
|
7901
|
-
workInProgress.flags |= 8192;
|
7902
|
-
}
|
7903
7927
|
}
|
7904
7928
|
function scheduleRetryEffect(workInProgress, retryQueue) {
|
7905
7929
|
null !== retryQueue && (workInProgress.flags |= 4);
|
@@ -8033,31 +8057,43 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8033
8057
|
bubbleProperties(workInProgress);
|
8034
8058
|
return null;
|
8035
8059
|
case 26:
|
8036
|
-
|
8037
|
-
|
8038
|
-
|
8039
|
-
|
8040
|
-
|
8041
|
-
|
8042
|
-
|
8043
|
-
|
8044
|
-
|
8045
|
-
|
8046
|
-
|
8047
|
-
|
8048
|
-
|
8049
|
-
|
8050
|
-
|
8051
|
-
|
8052
|
-
|
8060
|
+
var type = workInProgress.type,
|
8061
|
+
nextResource = workInProgress.memoizedState;
|
8062
|
+
null === current
|
8063
|
+
? (markUpdate(workInProgress),
|
8064
|
+
null !== nextResource
|
8065
|
+
? (bubbleProperties(workInProgress),
|
8066
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
|
8067
|
+
: (bubbleProperties(workInProgress),
|
8068
|
+
preloadInstanceAndSuspendIfNeeded(
|
8069
|
+
workInProgress,
|
8070
|
+
type,
|
8071
|
+
null,
|
8072
|
+
newProps,
|
8073
|
+
renderLanes
|
8074
|
+
)))
|
8075
|
+
: nextResource
|
8076
|
+
? nextResource !== current.memoizedState
|
8077
|
+
? (markUpdate(workInProgress),
|
8053
8078
|
bubbleProperties(workInProgress),
|
8054
|
-
(workInProgress
|
8055
|
-
|
8056
|
-
|
8079
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
|
8080
|
+
: (bubbleProperties(workInProgress),
|
8081
|
+
(workInProgress.flags &= -16777217))
|
8082
|
+
: ((current = current.memoizedProps),
|
8083
|
+
current !== newProps && markUpdate(workInProgress),
|
8084
|
+
bubbleProperties(workInProgress),
|
8085
|
+
preloadInstanceAndSuspendIfNeeded(
|
8086
|
+
workInProgress,
|
8087
|
+
type,
|
8088
|
+
current,
|
8089
|
+
newProps,
|
8090
|
+
renderLanes
|
8091
|
+
));
|
8092
|
+
return null;
|
8057
8093
|
case 27:
|
8058
8094
|
popHostContext(workInProgress);
|
8059
8095
|
renderLanes = rootInstanceStackCursor.current;
|
8060
|
-
|
8096
|
+
type = workInProgress.type;
|
8061
8097
|
if (null !== current && null != workInProgress.stateNode)
|
8062
8098
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
8063
8099
|
else {
|
@@ -8070,11 +8106,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8070
8106
|
current = contextStackCursor.current;
|
8071
8107
|
popHydrationState(workInProgress)
|
8072
8108
|
? prepareToHydrateHostInstance(workInProgress, current)
|
8073
|
-
: ((current = resolveSingletonInstance(
|
8074
|
-
type$124,
|
8075
|
-
newProps,
|
8076
|
-
renderLanes
|
8077
|
-
)),
|
8109
|
+
: ((current = resolveSingletonInstance(type, newProps, renderLanes)),
|
8078
8110
|
(workInProgress.stateNode = current),
|
8079
8111
|
markUpdate(workInProgress));
|
8080
8112
|
}
|
@@ -8082,7 +8114,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8082
8114
|
return null;
|
8083
8115
|
case 5:
|
8084
8116
|
popHostContext(workInProgress);
|
8085
|
-
|
8117
|
+
type = workInProgress.type;
|
8086
8118
|
if (null !== current && null != workInProgress.stateNode)
|
8087
8119
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
8088
8120
|
else {
|
@@ -8092,108 +8124,122 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8092
8124
|
bubbleProperties(workInProgress);
|
8093
8125
|
return null;
|
8094
8126
|
}
|
8095
|
-
|
8127
|
+
nextResource = contextStackCursor.current;
|
8096
8128
|
if (popHydrationState(workInProgress))
|
8097
|
-
prepareToHydrateHostInstance(workInProgress,
|
8129
|
+
prepareToHydrateHostInstance(workInProgress, nextResource);
|
8098
8130
|
else {
|
8099
|
-
|
8131
|
+
var ownerDocument = getOwnerDocumentFromRootContainer(
|
8100
8132
|
rootInstanceStackCursor.current
|
8101
8133
|
);
|
8102
|
-
switch (
|
8134
|
+
switch (nextResource) {
|
8103
8135
|
case 1:
|
8104
|
-
|
8136
|
+
nextResource = ownerDocument.createElementNS(
|
8105
8137
|
"http://www.w3.org/2000/svg",
|
8106
|
-
|
8138
|
+
type
|
8107
8139
|
);
|
8108
8140
|
break;
|
8109
8141
|
case 2:
|
8110
|
-
|
8142
|
+
nextResource = ownerDocument.createElementNS(
|
8111
8143
|
"http://www.w3.org/1998/Math/MathML",
|
8112
|
-
|
8144
|
+
type
|
8113
8145
|
);
|
8114
8146
|
break;
|
8115
8147
|
default:
|
8116
|
-
switch (
|
8148
|
+
switch (type) {
|
8117
8149
|
case "svg":
|
8118
|
-
|
8150
|
+
nextResource = ownerDocument.createElementNS(
|
8119
8151
|
"http://www.w3.org/2000/svg",
|
8120
|
-
|
8152
|
+
type
|
8121
8153
|
);
|
8122
8154
|
break;
|
8123
8155
|
case "math":
|
8124
|
-
|
8156
|
+
nextResource = ownerDocument.createElementNS(
|
8125
8157
|
"http://www.w3.org/1998/Math/MathML",
|
8126
|
-
|
8158
|
+
type
|
8127
8159
|
);
|
8128
8160
|
break;
|
8129
8161
|
case "script":
|
8130
|
-
|
8131
|
-
|
8132
|
-
|
8162
|
+
nextResource = ownerDocument.createElement("div");
|
8163
|
+
nextResource.innerHTML = "<script>\x3c/script>";
|
8164
|
+
nextResource = nextResource.removeChild(
|
8165
|
+
nextResource.firstChild
|
8166
|
+
);
|
8133
8167
|
break;
|
8134
8168
|
case "select":
|
8135
|
-
|
8169
|
+
nextResource =
|
8136
8170
|
"string" === typeof newProps.is
|
8137
|
-
?
|
8138
|
-
|
8171
|
+
? ownerDocument.createElement("select", {
|
8172
|
+
is: newProps.is
|
8173
|
+
})
|
8174
|
+
: ownerDocument.createElement("select");
|
8139
8175
|
newProps.multiple
|
8140
|
-
? (
|
8141
|
-
: newProps.size && (
|
8176
|
+
? (nextResource.multiple = !0)
|
8177
|
+
: newProps.size && (nextResource.size = newProps.size);
|
8142
8178
|
break;
|
8143
8179
|
default:
|
8144
|
-
|
8180
|
+
nextResource =
|
8145
8181
|
"string" === typeof newProps.is
|
8146
|
-
?
|
8147
|
-
:
|
8182
|
+
? ownerDocument.createElement(type, { is: newProps.is })
|
8183
|
+
: ownerDocument.createElement(type);
|
8148
8184
|
}
|
8149
8185
|
}
|
8150
|
-
|
8151
|
-
|
8152
|
-
a: for (
|
8153
|
-
|
8154
|
-
|
8186
|
+
nextResource[internalInstanceKey] = workInProgress;
|
8187
|
+
nextResource[internalPropsKey] = newProps;
|
8188
|
+
a: for (
|
8189
|
+
ownerDocument = workInProgress.child;
|
8190
|
+
null !== ownerDocument;
|
8191
|
+
|
8192
|
+
) {
|
8193
|
+
if (5 === ownerDocument.tag || 6 === ownerDocument.tag)
|
8194
|
+
nextResource.appendChild(ownerDocument.stateNode);
|
8155
8195
|
else if (
|
8156
|
-
4 !==
|
8157
|
-
27 !==
|
8158
|
-
null !==
|
8196
|
+
4 !== ownerDocument.tag &&
|
8197
|
+
27 !== ownerDocument.tag &&
|
8198
|
+
null !== ownerDocument.child
|
8159
8199
|
) {
|
8160
|
-
|
8161
|
-
|
8200
|
+
ownerDocument.child.return = ownerDocument;
|
8201
|
+
ownerDocument = ownerDocument.child;
|
8162
8202
|
continue;
|
8163
8203
|
}
|
8164
|
-
if (
|
8165
|
-
for (; null ===
|
8204
|
+
if (ownerDocument === workInProgress) break a;
|
8205
|
+
for (; null === ownerDocument.sibling; ) {
|
8166
8206
|
if (
|
8167
|
-
null ===
|
8168
|
-
|
8207
|
+
null === ownerDocument.return ||
|
8208
|
+
ownerDocument.return === workInProgress
|
8169
8209
|
)
|
8170
8210
|
break a;
|
8171
|
-
|
8211
|
+
ownerDocument = ownerDocument.return;
|
8172
8212
|
}
|
8173
|
-
|
8174
|
-
|
8213
|
+
ownerDocument.sibling.return = ownerDocument.return;
|
8214
|
+
ownerDocument = ownerDocument.sibling;
|
8175
8215
|
}
|
8176
|
-
workInProgress.stateNode =
|
8216
|
+
workInProgress.stateNode = nextResource;
|
8177
8217
|
a: switch (
|
8178
|
-
(setInitialProperties(
|
8218
|
+
(setInitialProperties(nextResource, type, newProps), type)
|
8179
8219
|
) {
|
8180
8220
|
case "button":
|
8181
8221
|
case "input":
|
8182
8222
|
case "select":
|
8183
8223
|
case "textarea":
|
8184
|
-
|
8224
|
+
newProps = !!newProps.autoFocus;
|
8185
8225
|
break a;
|
8186
8226
|
case "img":
|
8187
|
-
|
8227
|
+
newProps = !0;
|
8188
8228
|
break a;
|
8189
8229
|
default:
|
8190
|
-
|
8230
|
+
newProps = !1;
|
8191
8231
|
}
|
8192
|
-
|
8232
|
+
newProps && markUpdate(workInProgress);
|
8193
8233
|
}
|
8194
8234
|
}
|
8195
8235
|
bubbleProperties(workInProgress);
|
8196
|
-
|
8236
|
+
preloadInstanceAndSuspendIfNeeded(
|
8237
|
+
workInProgress,
|
8238
|
+
workInProgress.type,
|
8239
|
+
null === current ? null : current.memoizedProps,
|
8240
|
+
workInProgress.pendingProps,
|
8241
|
+
renderLanes
|
8242
|
+
);
|
8197
8243
|
return null;
|
8198
8244
|
case 6:
|
8199
8245
|
if (current && null != workInProgress.stateNode)
|
@@ -8206,12 +8252,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8206
8252
|
current = workInProgress.stateNode;
|
8207
8253
|
renderLanes = workInProgress.memoizedProps;
|
8208
8254
|
newProps = null;
|
8209
|
-
type
|
8210
|
-
if (null !== type
|
8211
|
-
switch (type
|
8255
|
+
type = hydrationParentFiber;
|
8256
|
+
if (null !== type)
|
8257
|
+
switch (type.tag) {
|
8212
8258
|
case 27:
|
8213
8259
|
case 5:
|
8214
|
-
newProps = type
|
8260
|
+
newProps = type.memoizedProps;
|
8215
8261
|
}
|
8216
8262
|
current[internalInstanceKey] = workInProgress;
|
8217
8263
|
current =
|
@@ -8238,20 +8284,20 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8238
8284
|
(null !== current.memoizedState &&
|
8239
8285
|
null !== current.memoizedState.dehydrated)
|
8240
8286
|
) {
|
8241
|
-
type
|
8287
|
+
type = popHydrationState(workInProgress);
|
8242
8288
|
if (null !== newProps && null !== newProps.dehydrated) {
|
8243
8289
|
if (null === current) {
|
8244
|
-
if (!type
|
8245
|
-
type
|
8246
|
-
type
|
8247
|
-
if (!type
|
8248
|
-
type
|
8290
|
+
if (!type) throw Error(formatProdErrorMessage(318));
|
8291
|
+
type = workInProgress.memoizedState;
|
8292
|
+
type = null !== type ? type.dehydrated : null;
|
8293
|
+
if (!type) throw Error(formatProdErrorMessage(317));
|
8294
|
+
type[internalInstanceKey] = workInProgress;
|
8249
8295
|
bubbleProperties(workInProgress);
|
8250
8296
|
0 !== (workInProgress.mode & 2) &&
|
8251
8297
|
null !== newProps &&
|
8252
|
-
((type
|
8253
|
-
null !== type
|
8254
|
-
(workInProgress.treeBaseDuration -= type
|
8298
|
+
((type = workInProgress.child),
|
8299
|
+
null !== type &&
|
8300
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
8255
8301
|
} else
|
8256
8302
|
resetHydrationState(),
|
8257
8303
|
0 === (workInProgress.flags & 128) &&
|
@@ -8260,18 +8306,17 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8260
8306
|
bubbleProperties(workInProgress),
|
8261
8307
|
0 !== (workInProgress.mode & 2) &&
|
8262
8308
|
null !== newProps &&
|
8263
|
-
((type
|
8264
|
-
null !== type
|
8265
|
-
(workInProgress.treeBaseDuration -=
|
8266
|
-
|
8267
|
-
type$124 = !1;
|
8309
|
+
((type = workInProgress.child),
|
8310
|
+
null !== type &&
|
8311
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
8312
|
+
type = !1;
|
8268
8313
|
} else
|
8269
|
-
(type
|
8314
|
+
(type = upgradeHydrationErrorsToRecoverable()),
|
8270
8315
|
null !== current &&
|
8271
8316
|
null !== current.memoizedState &&
|
8272
|
-
(current.memoizedState.hydrationErrors = type
|
8273
|
-
(type
|
8274
|
-
if (!type
|
8317
|
+
(current.memoizedState.hydrationErrors = type),
|
8318
|
+
(type = !0);
|
8319
|
+
if (!type) {
|
8275
8320
|
if (workInProgress.flags & 256)
|
8276
8321
|
return popSuspenseHandler(workInProgress), workInProgress;
|
8277
8322
|
popSuspenseHandler(workInProgress);
|
@@ -8288,19 +8333,18 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8288
8333
|
);
|
8289
8334
|
renderLanes = null !== newProps;
|
8290
8335
|
current = null !== current && null !== current.memoizedState;
|
8291
|
-
|
8292
|
-
newProps = workInProgress.child
|
8293
|
-
type
|
8336
|
+
renderLanes &&
|
8337
|
+
((newProps = workInProgress.child),
|
8338
|
+
(type = null),
|
8294
8339
|
null !== newProps.alternate &&
|
8295
8340
|
null !== newProps.alternate.memoizedState &&
|
8296
8341
|
null !== newProps.alternate.memoizedState.cachePool &&
|
8297
|
-
(type
|
8298
|
-
|
8342
|
+
(type = newProps.alternate.memoizedState.cachePool.pool),
|
8343
|
+
(nextResource = null),
|
8299
8344
|
null !== newProps.memoizedState &&
|
8300
8345
|
null !== newProps.memoizedState.cachePool &&
|
8301
|
-
(
|
8302
|
-
|
8303
|
-
}
|
8346
|
+
(nextResource = newProps.memoizedState.cachePool.pool),
|
8347
|
+
nextResource !== type && (newProps.flags |= 2048));
|
8304
8348
|
renderLanes !== current &&
|
8305
8349
|
renderLanes &&
|
8306
8350
|
(workInProgress.child.flags |= 8192);
|
@@ -8326,23 +8370,23 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8326
8370
|
);
|
8327
8371
|
case 19:
|
8328
8372
|
pop(suspenseStackCursor);
|
8329
|
-
type
|
8330
|
-
if (null === type
|
8373
|
+
type = workInProgress.memoizedState;
|
8374
|
+
if (null === type) return bubbleProperties(workInProgress), null;
|
8331
8375
|
newProps = 0 !== (workInProgress.flags & 128);
|
8332
|
-
|
8333
|
-
if (null ===
|
8334
|
-
if (newProps) cutOffTailIfNeeded(type
|
8376
|
+
nextResource = type.rendering;
|
8377
|
+
if (null === nextResource)
|
8378
|
+
if (newProps) cutOffTailIfNeeded(type, !1);
|
8335
8379
|
else {
|
8336
8380
|
if (
|
8337
8381
|
0 !== workInProgressRootExitStatus ||
|
8338
8382
|
(null !== current && 0 !== (current.flags & 128))
|
8339
8383
|
)
|
8340
8384
|
for (current = workInProgress.child; null !== current; ) {
|
8341
|
-
|
8342
|
-
if (null !==
|
8385
|
+
nextResource = findFirstSuspended(current);
|
8386
|
+
if (null !== nextResource) {
|
8343
8387
|
workInProgress.flags |= 128;
|
8344
|
-
cutOffTailIfNeeded(type
|
8345
|
-
current =
|
8388
|
+
cutOffTailIfNeeded(type, !1);
|
8389
|
+
current = nextResource.updateQueue;
|
8346
8390
|
workInProgress.updateQueue = current;
|
8347
8391
|
scheduleRetryEffect(workInProgress, current);
|
8348
8392
|
workInProgress.subtreeFlags = 0;
|
@@ -8358,52 +8402,54 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8358
8402
|
}
|
8359
8403
|
current = current.sibling;
|
8360
8404
|
}
|
8361
|
-
null !== type
|
8405
|
+
null !== type.tail &&
|
8362
8406
|
now$1() > workInProgressRootRenderTargetTime &&
|
8363
8407
|
((workInProgress.flags |= 128),
|
8364
8408
|
(newProps = !0),
|
8365
|
-
cutOffTailIfNeeded(type
|
8409
|
+
cutOffTailIfNeeded(type, !1),
|
8366
8410
|
(workInProgress.lanes = 4194304));
|
8367
8411
|
}
|
8368
8412
|
else {
|
8369
8413
|
if (!newProps)
|
8370
|
-
if (
|
8414
|
+
if (
|
8415
|
+
((current = findFirstSuspended(nextResource)), null !== current)
|
8416
|
+
) {
|
8371
8417
|
if (
|
8372
8418
|
((workInProgress.flags |= 128),
|
8373
8419
|
(newProps = !0),
|
8374
8420
|
(current = current.updateQueue),
|
8375
8421
|
(workInProgress.updateQueue = current),
|
8376
8422
|
scheduleRetryEffect(workInProgress, current),
|
8377
|
-
cutOffTailIfNeeded(type
|
8378
|
-
null === type
|
8379
|
-
"hidden" === type
|
8380
|
-
!
|
8423
|
+
cutOffTailIfNeeded(type, !0),
|
8424
|
+
null === type.tail &&
|
8425
|
+
"hidden" === type.tailMode &&
|
8426
|
+
!nextResource.alternate &&
|
8381
8427
|
!isHydrating)
|
8382
8428
|
)
|
8383
8429
|
return bubbleProperties(workInProgress), null;
|
8384
8430
|
} else
|
8385
|
-
2 * now$1() - type
|
8431
|
+
2 * now$1() - type.renderingStartTime >
|
8386
8432
|
workInProgressRootRenderTargetTime &&
|
8387
8433
|
536870912 !== renderLanes &&
|
8388
8434
|
((workInProgress.flags |= 128),
|
8389
8435
|
(newProps = !0),
|
8390
|
-
cutOffTailIfNeeded(type
|
8436
|
+
cutOffTailIfNeeded(type, !1),
|
8391
8437
|
(workInProgress.lanes = 4194304));
|
8392
|
-
type
|
8393
|
-
? ((
|
8394
|
-
(workInProgress.child =
|
8395
|
-
: ((current = type
|
8438
|
+
type.isBackwards
|
8439
|
+
? ((nextResource.sibling = workInProgress.child),
|
8440
|
+
(workInProgress.child = nextResource))
|
8441
|
+
: ((current = type.last),
|
8396
8442
|
null !== current
|
8397
|
-
? (current.sibling =
|
8398
|
-
: (workInProgress.child =
|
8399
|
-
(type
|
8443
|
+
? (current.sibling = nextResource)
|
8444
|
+
: (workInProgress.child = nextResource),
|
8445
|
+
(type.last = nextResource));
|
8400
8446
|
}
|
8401
|
-
if (null !== type
|
8447
|
+
if (null !== type.tail)
|
8402
8448
|
return (
|
8403
|
-
(workInProgress = type
|
8404
|
-
(type
|
8405
|
-
(type
|
8406
|
-
(type
|
8449
|
+
(workInProgress = type.tail),
|
8450
|
+
(type.rendering = workInProgress),
|
8451
|
+
(type.tail = workInProgress.sibling),
|
8452
|
+
(type.renderingStartTime = now$1()),
|
8407
8453
|
(workInProgress.sibling = null),
|
8408
8454
|
(current = suspenseStackCursor.current),
|
8409
8455
|
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
@@ -8849,12 +8895,7 @@ function commitProfilerUpdate(
|
|
8849
8895
|
commitStartTime
|
8850
8896
|
);
|
8851
8897
|
"function" === typeof onCommit &&
|
8852
|
-
onCommit(
|
8853
|
-
finishedWork.memoizedProps.id,
|
8854
|
-
current,
|
8855
|
-
effectDuration,
|
8856
|
-
commitStartTime
|
8857
|
-
);
|
8898
|
+
onCommit(id, current, effectDuration, commitStartTime);
|
8858
8899
|
} catch (error) {
|
8859
8900
|
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
8860
8901
|
}
|
@@ -11233,6 +11274,21 @@ function handleThrow(root, thrownValue) {
|
|
11233
11274
|
);
|
11234
11275
|
}
|
11235
11276
|
}
|
11277
|
+
function shouldRemainOnPreviousScreen() {
|
11278
|
+
var handler = suspenseHandlerStackCursor.current;
|
11279
|
+
return null === handler
|
11280
|
+
? !0
|
11281
|
+
: (workInProgressRootRenderLanes & 4194048) ===
|
11282
|
+
workInProgressRootRenderLanes
|
11283
|
+
? null === shellBoundary
|
11284
|
+
? !0
|
11285
|
+
: !1
|
11286
|
+
: (workInProgressRootRenderLanes & 62914560) ===
|
11287
|
+
workInProgressRootRenderLanes ||
|
11288
|
+
0 !== (workInProgressRootRenderLanes & 536870912)
|
11289
|
+
? handler === shellBoundary
|
11290
|
+
: !1;
|
11291
|
+
}
|
11236
11292
|
function pushDispatcher() {
|
11237
11293
|
var prevDispatcher = ReactSharedInternals.H;
|
11238
11294
|
ReactSharedInternals.H = ContextOnlyDispatcher;
|
@@ -12447,20 +12503,20 @@ function extractEvents$1(
|
|
12447
12503
|
}
|
12448
12504
|
}
|
12449
12505
|
for (
|
12450
|
-
var i$jscomp$
|
12451
|
-
i$jscomp$
|
12452
|
-
i$jscomp$
|
12506
|
+
var i$jscomp$inline_1623 = 0;
|
12507
|
+
i$jscomp$inline_1623 < simpleEventPluginEvents.length;
|
12508
|
+
i$jscomp$inline_1623++
|
12453
12509
|
) {
|
12454
|
-
var eventName$jscomp$
|
12455
|
-
simpleEventPluginEvents[i$jscomp$
|
12456
|
-
domEventName$jscomp$
|
12457
|
-
eventName$jscomp$
|
12458
|
-
capitalizedEvent$jscomp$
|
12459
|
-
eventName$jscomp$
|
12460
|
-
eventName$jscomp$
|
12510
|
+
var eventName$jscomp$inline_1624 =
|
12511
|
+
simpleEventPluginEvents[i$jscomp$inline_1623],
|
12512
|
+
domEventName$jscomp$inline_1625 =
|
12513
|
+
eventName$jscomp$inline_1624.toLowerCase(),
|
12514
|
+
capitalizedEvent$jscomp$inline_1626 =
|
12515
|
+
eventName$jscomp$inline_1624[0].toUpperCase() +
|
12516
|
+
eventName$jscomp$inline_1624.slice(1);
|
12461
12517
|
registerSimpleEvent(
|
12462
|
-
domEventName$jscomp$
|
12463
|
-
"on" + capitalizedEvent$jscomp$
|
12518
|
+
domEventName$jscomp$inline_1625,
|
12519
|
+
"on" + capitalizedEvent$jscomp$inline_1626
|
12464
12520
|
);
|
12465
12521
|
}
|
12466
12522
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -15975,16 +16031,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15975
16031
|
0 === i && attemptExplicitHydrationTarget(target);
|
15976
16032
|
}
|
15977
16033
|
};
|
15978
|
-
var isomorphicReactPackageVersion$jscomp$
|
16034
|
+
var isomorphicReactPackageVersion$jscomp$inline_1882 = React.version;
|
15979
16035
|
if (
|
15980
|
-
"19.2.0-canary-
|
15981
|
-
isomorphicReactPackageVersion$jscomp$
|
16036
|
+
"19.2.0-canary-c44e4a25-20250409" !==
|
16037
|
+
isomorphicReactPackageVersion$jscomp$inline_1882
|
15982
16038
|
)
|
15983
16039
|
throw Error(
|
15984
16040
|
formatProdErrorMessage(
|
15985
16041
|
527,
|
15986
|
-
isomorphicReactPackageVersion$jscomp$
|
15987
|
-
"19.2.0-canary-
|
16042
|
+
isomorphicReactPackageVersion$jscomp$inline_1882,
|
16043
|
+
"19.2.0-canary-c44e4a25-20250409"
|
15988
16044
|
)
|
15989
16045
|
);
|
15990
16046
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -16004,12 +16060,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
16004
16060
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
16005
16061
|
return componentOrElement;
|
16006
16062
|
};
|
16007
|
-
var internals$jscomp$
|
16063
|
+
var internals$jscomp$inline_1889 = {
|
16008
16064
|
bundleType: 0,
|
16009
|
-
version: "19.2.0-canary-
|
16065
|
+
version: "19.2.0-canary-c44e4a25-20250409",
|
16010
16066
|
rendererPackageName: "react-dom",
|
16011
16067
|
currentDispatcherRef: ReactSharedInternals,
|
16012
|
-
reconcilerVersion: "19.2.0-canary-
|
16068
|
+
reconcilerVersion: "19.2.0-canary-c44e4a25-20250409",
|
16013
16069
|
getLaneLabelMap: function () {
|
16014
16070
|
for (
|
16015
16071
|
var map = new Map(), lane = 1, index$284 = 0;
|
@@ -16027,16 +16083,16 @@ var internals$jscomp$inline_1887 = {
|
|
16027
16083
|
}
|
16028
16084
|
};
|
16029
16085
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
16030
|
-
var hook$jscomp$
|
16086
|
+
var hook$jscomp$inline_2324 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
16031
16087
|
if (
|
16032
|
-
!hook$jscomp$
|
16033
|
-
hook$jscomp$
|
16088
|
+
!hook$jscomp$inline_2324.isDisabled &&
|
16089
|
+
hook$jscomp$inline_2324.supportsFiber
|
16034
16090
|
)
|
16035
16091
|
try {
|
16036
|
-
(rendererID = hook$jscomp$
|
16037
|
-
internals$jscomp$
|
16092
|
+
(rendererID = hook$jscomp$inline_2324.inject(
|
16093
|
+
internals$jscomp$inline_1889
|
16038
16094
|
)),
|
16039
|
-
(injectedHook = hook$jscomp$
|
16095
|
+
(injectedHook = hook$jscomp$inline_2324);
|
16040
16096
|
} catch (err) {}
|
16041
16097
|
}
|
16042
16098
|
function noop() {}
|
@@ -16289,7 +16345,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16289
16345
|
exports.useFormStatus = function () {
|
16290
16346
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16291
16347
|
};
|
16292
|
-
exports.version = "19.2.0-canary-
|
16348
|
+
exports.version = "19.2.0-canary-c44e4a25-20250409";
|
16293
16349
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16294
16350
|
"function" ===
|
16295
16351
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|