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
@@ -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 &&
|
@@ -7879,27 +7879,38 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7879
7879
|
function markUpdate(workInProgress) {
|
7880
7880
|
workInProgress.flags |= 4;
|
7881
7881
|
}
|
7882
|
+
function preloadInstanceAndSuspendIfNeeded(
|
7883
|
+
workInProgress,
|
7884
|
+
type,
|
7885
|
+
oldProps,
|
7886
|
+
newProps,
|
7887
|
+
renderLanes
|
7888
|
+
) {
|
7889
|
+
if ((type = 0 !== (workInProgress.mode & 32))) type = !1;
|
7890
|
+
if (type) {
|
7891
|
+
if (
|
7892
|
+
((workInProgress.flags |= 16777216),
|
7893
|
+
(renderLanes & 335544128) === renderLanes)
|
7894
|
+
)
|
7895
|
+
if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
|
7896
|
+
else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
7897
|
+
else
|
7898
|
+
throw (
|
7899
|
+
((suspendedThenable = noopSuspenseyCommitThenable),
|
7900
|
+
SuspenseyCommitException)
|
7901
|
+
);
|
7902
|
+
} else workInProgress.flags &= -16777217;
|
7903
|
+
}
|
7882
7904
|
function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
|
7883
7905
|
if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4))
|
7884
7906
|
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
|
-
)
|
7907
|
+
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
7908
|
+
if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
7909
|
+
else
|
7897
7910
|
throw (
|
7898
7911
|
((suspendedThenable = noopSuspenseyCommitThenable),
|
7899
7912
|
SuspenseyCommitException)
|
7900
7913
|
);
|
7901
|
-
workInProgress.flags |= 8192;
|
7902
|
-
}
|
7903
7914
|
}
|
7904
7915
|
function scheduleRetryEffect(workInProgress, retryQueue) {
|
7905
7916
|
null !== retryQueue && (workInProgress.flags |= 4);
|
@@ -8033,31 +8044,43 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8033
8044
|
bubbleProperties(workInProgress);
|
8034
8045
|
return null;
|
8035
8046
|
case 26:
|
8036
|
-
|
8037
|
-
|
8038
|
-
|
8039
|
-
|
8040
|
-
|
8041
|
-
|
8042
|
-
|
8043
|
-
|
8044
|
-
|
8045
|
-
|
8046
|
-
|
8047
|
-
|
8048
|
-
|
8049
|
-
|
8050
|
-
|
8051
|
-
|
8052
|
-
|
8047
|
+
var type = workInProgress.type,
|
8048
|
+
nextResource = workInProgress.memoizedState;
|
8049
|
+
null === current
|
8050
|
+
? (markUpdate(workInProgress),
|
8051
|
+
null !== nextResource
|
8052
|
+
? (bubbleProperties(workInProgress),
|
8053
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
|
8054
|
+
: (bubbleProperties(workInProgress),
|
8055
|
+
preloadInstanceAndSuspendIfNeeded(
|
8056
|
+
workInProgress,
|
8057
|
+
type,
|
8058
|
+
null,
|
8059
|
+
newProps,
|
8060
|
+
renderLanes
|
8061
|
+
)))
|
8062
|
+
: nextResource
|
8063
|
+
? nextResource !== current.memoizedState
|
8064
|
+
? (markUpdate(workInProgress),
|
8053
8065
|
bubbleProperties(workInProgress),
|
8054
|
-
(workInProgress
|
8055
|
-
|
8056
|
-
|
8066
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
|
8067
|
+
: (bubbleProperties(workInProgress),
|
8068
|
+
(workInProgress.flags &= -16777217))
|
8069
|
+
: ((current = current.memoizedProps),
|
8070
|
+
current !== newProps && markUpdate(workInProgress),
|
8071
|
+
bubbleProperties(workInProgress),
|
8072
|
+
preloadInstanceAndSuspendIfNeeded(
|
8073
|
+
workInProgress,
|
8074
|
+
type,
|
8075
|
+
current,
|
8076
|
+
newProps,
|
8077
|
+
renderLanes
|
8078
|
+
));
|
8079
|
+
return null;
|
8057
8080
|
case 27:
|
8058
8081
|
popHostContext(workInProgress);
|
8059
8082
|
renderLanes = rootInstanceStackCursor.current;
|
8060
|
-
|
8083
|
+
type = workInProgress.type;
|
8061
8084
|
if (null !== current && null != workInProgress.stateNode)
|
8062
8085
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
8063
8086
|
else {
|
@@ -8070,11 +8093,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8070
8093
|
current = contextStackCursor.current;
|
8071
8094
|
popHydrationState(workInProgress)
|
8072
8095
|
? prepareToHydrateHostInstance(workInProgress, current)
|
8073
|
-
: ((current = resolveSingletonInstance(
|
8074
|
-
type$124,
|
8075
|
-
newProps,
|
8076
|
-
renderLanes
|
8077
|
-
)),
|
8096
|
+
: ((current = resolveSingletonInstance(type, newProps, renderLanes)),
|
8078
8097
|
(workInProgress.stateNode = current),
|
8079
8098
|
markUpdate(workInProgress));
|
8080
8099
|
}
|
@@ -8082,7 +8101,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8082
8101
|
return null;
|
8083
8102
|
case 5:
|
8084
8103
|
popHostContext(workInProgress);
|
8085
|
-
|
8104
|
+
type = workInProgress.type;
|
8086
8105
|
if (null !== current && null != workInProgress.stateNode)
|
8087
8106
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
8088
8107
|
else {
|
@@ -8092,108 +8111,122 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8092
8111
|
bubbleProperties(workInProgress);
|
8093
8112
|
return null;
|
8094
8113
|
}
|
8095
|
-
|
8114
|
+
nextResource = contextStackCursor.current;
|
8096
8115
|
if (popHydrationState(workInProgress))
|
8097
|
-
prepareToHydrateHostInstance(workInProgress,
|
8116
|
+
prepareToHydrateHostInstance(workInProgress, nextResource);
|
8098
8117
|
else {
|
8099
|
-
|
8118
|
+
var ownerDocument = getOwnerDocumentFromRootContainer(
|
8100
8119
|
rootInstanceStackCursor.current
|
8101
8120
|
);
|
8102
|
-
switch (
|
8121
|
+
switch (nextResource) {
|
8103
8122
|
case 1:
|
8104
|
-
|
8123
|
+
nextResource = ownerDocument.createElementNS(
|
8105
8124
|
"http://www.w3.org/2000/svg",
|
8106
|
-
|
8125
|
+
type
|
8107
8126
|
);
|
8108
8127
|
break;
|
8109
8128
|
case 2:
|
8110
|
-
|
8129
|
+
nextResource = ownerDocument.createElementNS(
|
8111
8130
|
"http://www.w3.org/1998/Math/MathML",
|
8112
|
-
|
8131
|
+
type
|
8113
8132
|
);
|
8114
8133
|
break;
|
8115
8134
|
default:
|
8116
|
-
switch (
|
8135
|
+
switch (type) {
|
8117
8136
|
case "svg":
|
8118
|
-
|
8137
|
+
nextResource = ownerDocument.createElementNS(
|
8119
8138
|
"http://www.w3.org/2000/svg",
|
8120
|
-
|
8139
|
+
type
|
8121
8140
|
);
|
8122
8141
|
break;
|
8123
8142
|
case "math":
|
8124
|
-
|
8143
|
+
nextResource = ownerDocument.createElementNS(
|
8125
8144
|
"http://www.w3.org/1998/Math/MathML",
|
8126
|
-
|
8145
|
+
type
|
8127
8146
|
);
|
8128
8147
|
break;
|
8129
8148
|
case "script":
|
8130
|
-
|
8131
|
-
|
8132
|
-
|
8149
|
+
nextResource = ownerDocument.createElement("div");
|
8150
|
+
nextResource.innerHTML = "<script>\x3c/script>";
|
8151
|
+
nextResource = nextResource.removeChild(
|
8152
|
+
nextResource.firstChild
|
8153
|
+
);
|
8133
8154
|
break;
|
8134
8155
|
case "select":
|
8135
|
-
|
8156
|
+
nextResource =
|
8136
8157
|
"string" === typeof newProps.is
|
8137
|
-
?
|
8138
|
-
|
8158
|
+
? ownerDocument.createElement("select", {
|
8159
|
+
is: newProps.is
|
8160
|
+
})
|
8161
|
+
: ownerDocument.createElement("select");
|
8139
8162
|
newProps.multiple
|
8140
|
-
? (
|
8141
|
-
: newProps.size && (
|
8163
|
+
? (nextResource.multiple = !0)
|
8164
|
+
: newProps.size && (nextResource.size = newProps.size);
|
8142
8165
|
break;
|
8143
8166
|
default:
|
8144
|
-
|
8167
|
+
nextResource =
|
8145
8168
|
"string" === typeof newProps.is
|
8146
|
-
?
|
8147
|
-
:
|
8169
|
+
? ownerDocument.createElement(type, { is: newProps.is })
|
8170
|
+
: ownerDocument.createElement(type);
|
8148
8171
|
}
|
8149
8172
|
}
|
8150
|
-
|
8151
|
-
|
8152
|
-
a: for (
|
8153
|
-
|
8154
|
-
|
8173
|
+
nextResource[internalInstanceKey] = workInProgress;
|
8174
|
+
nextResource[internalPropsKey] = newProps;
|
8175
|
+
a: for (
|
8176
|
+
ownerDocument = workInProgress.child;
|
8177
|
+
null !== ownerDocument;
|
8178
|
+
|
8179
|
+
) {
|
8180
|
+
if (5 === ownerDocument.tag || 6 === ownerDocument.tag)
|
8181
|
+
nextResource.appendChild(ownerDocument.stateNode);
|
8155
8182
|
else if (
|
8156
|
-
4 !==
|
8157
|
-
27 !==
|
8158
|
-
null !==
|
8183
|
+
4 !== ownerDocument.tag &&
|
8184
|
+
27 !== ownerDocument.tag &&
|
8185
|
+
null !== ownerDocument.child
|
8159
8186
|
) {
|
8160
|
-
|
8161
|
-
|
8187
|
+
ownerDocument.child.return = ownerDocument;
|
8188
|
+
ownerDocument = ownerDocument.child;
|
8162
8189
|
continue;
|
8163
8190
|
}
|
8164
|
-
if (
|
8165
|
-
for (; null ===
|
8191
|
+
if (ownerDocument === workInProgress) break a;
|
8192
|
+
for (; null === ownerDocument.sibling; ) {
|
8166
8193
|
if (
|
8167
|
-
null ===
|
8168
|
-
|
8194
|
+
null === ownerDocument.return ||
|
8195
|
+
ownerDocument.return === workInProgress
|
8169
8196
|
)
|
8170
8197
|
break a;
|
8171
|
-
|
8198
|
+
ownerDocument = ownerDocument.return;
|
8172
8199
|
}
|
8173
|
-
|
8174
|
-
|
8200
|
+
ownerDocument.sibling.return = ownerDocument.return;
|
8201
|
+
ownerDocument = ownerDocument.sibling;
|
8175
8202
|
}
|
8176
|
-
workInProgress.stateNode =
|
8203
|
+
workInProgress.stateNode = nextResource;
|
8177
8204
|
a: switch (
|
8178
|
-
(setInitialProperties(
|
8205
|
+
(setInitialProperties(nextResource, type, newProps), type)
|
8179
8206
|
) {
|
8180
8207
|
case "button":
|
8181
8208
|
case "input":
|
8182
8209
|
case "select":
|
8183
8210
|
case "textarea":
|
8184
|
-
|
8211
|
+
newProps = !!newProps.autoFocus;
|
8185
8212
|
break a;
|
8186
8213
|
case "img":
|
8187
|
-
|
8214
|
+
newProps = !0;
|
8188
8215
|
break a;
|
8189
8216
|
default:
|
8190
|
-
|
8217
|
+
newProps = !1;
|
8191
8218
|
}
|
8192
|
-
|
8219
|
+
newProps && markUpdate(workInProgress);
|
8193
8220
|
}
|
8194
8221
|
}
|
8195
8222
|
bubbleProperties(workInProgress);
|
8196
|
-
|
8223
|
+
preloadInstanceAndSuspendIfNeeded(
|
8224
|
+
workInProgress,
|
8225
|
+
workInProgress.type,
|
8226
|
+
null === current ? null : current.memoizedProps,
|
8227
|
+
workInProgress.pendingProps,
|
8228
|
+
renderLanes
|
8229
|
+
);
|
8197
8230
|
return null;
|
8198
8231
|
case 6:
|
8199
8232
|
if (current && null != workInProgress.stateNode)
|
@@ -8206,12 +8239,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8206
8239
|
current = workInProgress.stateNode;
|
8207
8240
|
renderLanes = workInProgress.memoizedProps;
|
8208
8241
|
newProps = null;
|
8209
|
-
type
|
8210
|
-
if (null !== type
|
8211
|
-
switch (type
|
8242
|
+
type = hydrationParentFiber;
|
8243
|
+
if (null !== type)
|
8244
|
+
switch (type.tag) {
|
8212
8245
|
case 27:
|
8213
8246
|
case 5:
|
8214
|
-
newProps = type
|
8247
|
+
newProps = type.memoizedProps;
|
8215
8248
|
}
|
8216
8249
|
current[internalInstanceKey] = workInProgress;
|
8217
8250
|
current =
|
@@ -8238,20 +8271,20 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8238
8271
|
(null !== current.memoizedState &&
|
8239
8272
|
null !== current.memoizedState.dehydrated)
|
8240
8273
|
) {
|
8241
|
-
type
|
8274
|
+
type = popHydrationState(workInProgress);
|
8242
8275
|
if (null !== newProps && null !== newProps.dehydrated) {
|
8243
8276
|
if (null === current) {
|
8244
|
-
if (!type
|
8245
|
-
type
|
8246
|
-
type
|
8247
|
-
if (!type
|
8248
|
-
type
|
8277
|
+
if (!type) throw Error(formatProdErrorMessage(318));
|
8278
|
+
type = workInProgress.memoizedState;
|
8279
|
+
type = null !== type ? type.dehydrated : null;
|
8280
|
+
if (!type) throw Error(formatProdErrorMessage(317));
|
8281
|
+
type[internalInstanceKey] = workInProgress;
|
8249
8282
|
bubbleProperties(workInProgress);
|
8250
8283
|
0 !== (workInProgress.mode & 2) &&
|
8251
8284
|
null !== newProps &&
|
8252
|
-
((type
|
8253
|
-
null !== type
|
8254
|
-
(workInProgress.treeBaseDuration -= type
|
8285
|
+
((type = workInProgress.child),
|
8286
|
+
null !== type &&
|
8287
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
8255
8288
|
} else
|
8256
8289
|
resetHydrationState(),
|
8257
8290
|
0 === (workInProgress.flags & 128) &&
|
@@ -8260,18 +8293,17 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8260
8293
|
bubbleProperties(workInProgress),
|
8261
8294
|
0 !== (workInProgress.mode & 2) &&
|
8262
8295
|
null !== newProps &&
|
8263
|
-
((type
|
8264
|
-
null !== type
|
8265
|
-
(workInProgress.treeBaseDuration -=
|
8266
|
-
|
8267
|
-
type$124 = !1;
|
8296
|
+
((type = workInProgress.child),
|
8297
|
+
null !== type &&
|
8298
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
8299
|
+
type = !1;
|
8268
8300
|
} else
|
8269
|
-
(type
|
8301
|
+
(type = upgradeHydrationErrorsToRecoverable()),
|
8270
8302
|
null !== current &&
|
8271
8303
|
null !== current.memoizedState &&
|
8272
|
-
(current.memoizedState.hydrationErrors = type
|
8273
|
-
(type
|
8274
|
-
if (!type
|
8304
|
+
(current.memoizedState.hydrationErrors = type),
|
8305
|
+
(type = !0);
|
8306
|
+
if (!type) {
|
8275
8307
|
if (workInProgress.flags & 256)
|
8276
8308
|
return popSuspenseHandler(workInProgress), workInProgress;
|
8277
8309
|
popSuspenseHandler(workInProgress);
|
@@ -8288,19 +8320,18 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8288
8320
|
);
|
8289
8321
|
renderLanes = null !== newProps;
|
8290
8322
|
current = null !== current && null !== current.memoizedState;
|
8291
|
-
|
8292
|
-
newProps = workInProgress.child
|
8293
|
-
type
|
8323
|
+
renderLanes &&
|
8324
|
+
((newProps = workInProgress.child),
|
8325
|
+
(type = null),
|
8294
8326
|
null !== newProps.alternate &&
|
8295
8327
|
null !== newProps.alternate.memoizedState &&
|
8296
8328
|
null !== newProps.alternate.memoizedState.cachePool &&
|
8297
|
-
(type
|
8298
|
-
|
8329
|
+
(type = newProps.alternate.memoizedState.cachePool.pool),
|
8330
|
+
(nextResource = null),
|
8299
8331
|
null !== newProps.memoizedState &&
|
8300
8332
|
null !== newProps.memoizedState.cachePool &&
|
8301
|
-
(
|
8302
|
-
|
8303
|
-
}
|
8333
|
+
(nextResource = newProps.memoizedState.cachePool.pool),
|
8334
|
+
nextResource !== type && (newProps.flags |= 2048));
|
8304
8335
|
renderLanes !== current &&
|
8305
8336
|
renderLanes &&
|
8306
8337
|
(workInProgress.child.flags |= 8192);
|
@@ -8326,23 +8357,23 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8326
8357
|
);
|
8327
8358
|
case 19:
|
8328
8359
|
pop(suspenseStackCursor);
|
8329
|
-
type
|
8330
|
-
if (null === type
|
8360
|
+
type = workInProgress.memoizedState;
|
8361
|
+
if (null === type) return bubbleProperties(workInProgress), null;
|
8331
8362
|
newProps = 0 !== (workInProgress.flags & 128);
|
8332
|
-
|
8333
|
-
if (null ===
|
8334
|
-
if (newProps) cutOffTailIfNeeded(type
|
8363
|
+
nextResource = type.rendering;
|
8364
|
+
if (null === nextResource)
|
8365
|
+
if (newProps) cutOffTailIfNeeded(type, !1);
|
8335
8366
|
else {
|
8336
8367
|
if (
|
8337
8368
|
0 !== workInProgressRootExitStatus ||
|
8338
8369
|
(null !== current && 0 !== (current.flags & 128))
|
8339
8370
|
)
|
8340
8371
|
for (current = workInProgress.child; null !== current; ) {
|
8341
|
-
|
8342
|
-
if (null !==
|
8372
|
+
nextResource = findFirstSuspended(current);
|
8373
|
+
if (null !== nextResource) {
|
8343
8374
|
workInProgress.flags |= 128;
|
8344
|
-
cutOffTailIfNeeded(type
|
8345
|
-
current =
|
8375
|
+
cutOffTailIfNeeded(type, !1);
|
8376
|
+
current = nextResource.updateQueue;
|
8346
8377
|
workInProgress.updateQueue = current;
|
8347
8378
|
scheduleRetryEffect(workInProgress, current);
|
8348
8379
|
workInProgress.subtreeFlags = 0;
|
@@ -8358,52 +8389,54 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8358
8389
|
}
|
8359
8390
|
current = current.sibling;
|
8360
8391
|
}
|
8361
|
-
null !== type
|
8392
|
+
null !== type.tail &&
|
8362
8393
|
now$1() > workInProgressRootRenderTargetTime &&
|
8363
8394
|
((workInProgress.flags |= 128),
|
8364
8395
|
(newProps = !0),
|
8365
|
-
cutOffTailIfNeeded(type
|
8396
|
+
cutOffTailIfNeeded(type, !1),
|
8366
8397
|
(workInProgress.lanes = 4194304));
|
8367
8398
|
}
|
8368
8399
|
else {
|
8369
8400
|
if (!newProps)
|
8370
|
-
if (
|
8401
|
+
if (
|
8402
|
+
((current = findFirstSuspended(nextResource)), null !== current)
|
8403
|
+
) {
|
8371
8404
|
if (
|
8372
8405
|
((workInProgress.flags |= 128),
|
8373
8406
|
(newProps = !0),
|
8374
8407
|
(current = current.updateQueue),
|
8375
8408
|
(workInProgress.updateQueue = current),
|
8376
8409
|
scheduleRetryEffect(workInProgress, current),
|
8377
|
-
cutOffTailIfNeeded(type
|
8378
|
-
null === type
|
8379
|
-
"hidden" === type
|
8380
|
-
!
|
8410
|
+
cutOffTailIfNeeded(type, !0),
|
8411
|
+
null === type.tail &&
|
8412
|
+
"hidden" === type.tailMode &&
|
8413
|
+
!nextResource.alternate &&
|
8381
8414
|
!isHydrating)
|
8382
8415
|
)
|
8383
8416
|
return bubbleProperties(workInProgress), null;
|
8384
8417
|
} else
|
8385
|
-
2 * now$1() - type
|
8418
|
+
2 * now$1() - type.renderingStartTime >
|
8386
8419
|
workInProgressRootRenderTargetTime &&
|
8387
8420
|
536870912 !== renderLanes &&
|
8388
8421
|
((workInProgress.flags |= 128),
|
8389
8422
|
(newProps = !0),
|
8390
|
-
cutOffTailIfNeeded(type
|
8423
|
+
cutOffTailIfNeeded(type, !1),
|
8391
8424
|
(workInProgress.lanes = 4194304));
|
8392
|
-
type
|
8393
|
-
? ((
|
8394
|
-
(workInProgress.child =
|
8395
|
-
: ((current = type
|
8425
|
+
type.isBackwards
|
8426
|
+
? ((nextResource.sibling = workInProgress.child),
|
8427
|
+
(workInProgress.child = nextResource))
|
8428
|
+
: ((current = type.last),
|
8396
8429
|
null !== current
|
8397
|
-
? (current.sibling =
|
8398
|
-
: (workInProgress.child =
|
8399
|
-
(type
|
8430
|
+
? (current.sibling = nextResource)
|
8431
|
+
: (workInProgress.child = nextResource),
|
8432
|
+
(type.last = nextResource));
|
8400
8433
|
}
|
8401
|
-
if (null !== type
|
8434
|
+
if (null !== type.tail)
|
8402
8435
|
return (
|
8403
|
-
(workInProgress = type
|
8404
|
-
(type
|
8405
|
-
(type
|
8406
|
-
(type
|
8436
|
+
(workInProgress = type.tail),
|
8437
|
+
(type.rendering = workInProgress),
|
8438
|
+
(type.tail = workInProgress.sibling),
|
8439
|
+
(type.renderingStartTime = now$1()),
|
8407
8440
|
(workInProgress.sibling = null),
|
8408
8441
|
(current = suspenseStackCursor.current),
|
8409
8442
|
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
@@ -11233,6 +11266,21 @@ function handleThrow(root, thrownValue) {
|
|
11233
11266
|
);
|
11234
11267
|
}
|
11235
11268
|
}
|
11269
|
+
function shouldRemainOnPreviousScreen() {
|
11270
|
+
var handler = suspenseHandlerStackCursor.current;
|
11271
|
+
return null === handler
|
11272
|
+
? !0
|
11273
|
+
: (workInProgressRootRenderLanes & 4194048) ===
|
11274
|
+
workInProgressRootRenderLanes
|
11275
|
+
? null === shellBoundary
|
11276
|
+
? !0
|
11277
|
+
: !1
|
11278
|
+
: (workInProgressRootRenderLanes & 62914560) ===
|
11279
|
+
workInProgressRootRenderLanes ||
|
11280
|
+
0 !== (workInProgressRootRenderLanes & 536870912)
|
11281
|
+
? handler === shellBoundary
|
11282
|
+
: !1;
|
11283
|
+
}
|
11236
11284
|
function pushDispatcher() {
|
11237
11285
|
var prevDispatcher = ReactSharedInternals.H;
|
11238
11286
|
ReactSharedInternals.H = ContextOnlyDispatcher;
|
@@ -12447,20 +12495,20 @@ function extractEvents$1(
|
|
12447
12495
|
}
|
12448
12496
|
}
|
12449
12497
|
for (
|
12450
|
-
var i$jscomp$
|
12451
|
-
i$jscomp$
|
12452
|
-
i$jscomp$
|
12498
|
+
var i$jscomp$inline_1622 = 0;
|
12499
|
+
i$jscomp$inline_1622 < simpleEventPluginEvents.length;
|
12500
|
+
i$jscomp$inline_1622++
|
12453
12501
|
) {
|
12454
|
-
var eventName$jscomp$
|
12455
|
-
simpleEventPluginEvents[i$jscomp$
|
12456
|
-
domEventName$jscomp$
|
12457
|
-
eventName$jscomp$
|
12458
|
-
capitalizedEvent$jscomp$
|
12459
|
-
eventName$jscomp$
|
12460
|
-
eventName$jscomp$
|
12502
|
+
var eventName$jscomp$inline_1623 =
|
12503
|
+
simpleEventPluginEvents[i$jscomp$inline_1622],
|
12504
|
+
domEventName$jscomp$inline_1624 =
|
12505
|
+
eventName$jscomp$inline_1623.toLowerCase(),
|
12506
|
+
capitalizedEvent$jscomp$inline_1625 =
|
12507
|
+
eventName$jscomp$inline_1623[0].toUpperCase() +
|
12508
|
+
eventName$jscomp$inline_1623.slice(1);
|
12461
12509
|
registerSimpleEvent(
|
12462
|
-
domEventName$jscomp$
|
12463
|
-
"on" + capitalizedEvent$jscomp$
|
12510
|
+
domEventName$jscomp$inline_1624,
|
12511
|
+
"on" + capitalizedEvent$jscomp$inline_1625
|
12464
12512
|
);
|
12465
12513
|
}
|
12466
12514
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -15975,16 +16023,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15975
16023
|
0 === i && attemptExplicitHydrationTarget(target);
|
15976
16024
|
}
|
15977
16025
|
};
|
15978
|
-
var isomorphicReactPackageVersion$jscomp$
|
16026
|
+
var isomorphicReactPackageVersion$jscomp$inline_1881 = React.version;
|
15979
16027
|
if (
|
15980
|
-
"19.2.0-canary-
|
15981
|
-
isomorphicReactPackageVersion$jscomp$
|
16028
|
+
"19.2.0-canary-3fbfb9ba-20250409" !==
|
16029
|
+
isomorphicReactPackageVersion$jscomp$inline_1881
|
15982
16030
|
)
|
15983
16031
|
throw Error(
|
15984
16032
|
formatProdErrorMessage(
|
15985
16033
|
527,
|
15986
|
-
isomorphicReactPackageVersion$jscomp$
|
15987
|
-
"19.2.0-canary-
|
16034
|
+
isomorphicReactPackageVersion$jscomp$inline_1881,
|
16035
|
+
"19.2.0-canary-3fbfb9ba-20250409"
|
15988
16036
|
)
|
15989
16037
|
);
|
15990
16038
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -16004,12 +16052,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
16004
16052
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
16005
16053
|
return componentOrElement;
|
16006
16054
|
};
|
16007
|
-
var internals$jscomp$
|
16055
|
+
var internals$jscomp$inline_1888 = {
|
16008
16056
|
bundleType: 0,
|
16009
|
-
version: "19.2.0-canary-
|
16057
|
+
version: "19.2.0-canary-3fbfb9ba-20250409",
|
16010
16058
|
rendererPackageName: "react-dom",
|
16011
16059
|
currentDispatcherRef: ReactSharedInternals,
|
16012
|
-
reconcilerVersion: "19.2.0-canary-
|
16060
|
+
reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409",
|
16013
16061
|
getLaneLabelMap: function () {
|
16014
16062
|
for (
|
16015
16063
|
var map = new Map(), lane = 1, index$284 = 0;
|
@@ -16027,16 +16075,16 @@ var internals$jscomp$inline_1886 = {
|
|
16027
16075
|
}
|
16028
16076
|
};
|
16029
16077
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
16030
|
-
var hook$jscomp$
|
16078
|
+
var hook$jscomp$inline_2323 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
16031
16079
|
if (
|
16032
|
-
!hook$jscomp$
|
16033
|
-
hook$jscomp$
|
16080
|
+
!hook$jscomp$inline_2323.isDisabled &&
|
16081
|
+
hook$jscomp$inline_2323.supportsFiber
|
16034
16082
|
)
|
16035
16083
|
try {
|
16036
|
-
(rendererID = hook$jscomp$
|
16037
|
-
internals$jscomp$
|
16084
|
+
(rendererID = hook$jscomp$inline_2323.inject(
|
16085
|
+
internals$jscomp$inline_1888
|
16038
16086
|
)),
|
16039
|
-
(injectedHook = hook$jscomp$
|
16087
|
+
(injectedHook = hook$jscomp$inline_2323);
|
16040
16088
|
} catch (err) {}
|
16041
16089
|
}
|
16042
16090
|
function noop() {}
|
@@ -16289,7 +16337,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16289
16337
|
exports.useFormStatus = function () {
|
16290
16338
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16291
16339
|
};
|
16292
|
-
exports.version = "19.2.0-canary-
|
16340
|
+
exports.version = "19.2.0-canary-3fbfb9ba-20250409";
|
16293
16341
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16294
16342
|
"function" ===
|
16295
16343
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|