react-dom 19.1.0-canary-443b7ff2-20250303 → 19.1.0-canary-029e8bd6-20250306
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 +196 -191
- package/cjs/react-dom-client.production.js +53 -51
- package/cjs/react-dom-profiling.development.js +196 -191
- package/cjs/react-dom-profiling.profiling.js +53 -51
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -8976,32 +8976,32 @@
|
|
8976
8976
|
return current;
|
8977
8977
|
}
|
8978
8978
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8979
|
-
var
|
8980
|
-
var
|
8979
|
+
var JSCompiler_object_inline_digest_2471;
|
8980
|
+
var JSCompiler_object_inline_stack_2472 = workInProgress.pendingProps;
|
8981
8981
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8982
|
-
var
|
8982
|
+
var JSCompiler_object_inline_componentStack_2473 = !1;
|
8983
8983
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8984
|
-
(
|
8985
|
-
(
|
8984
|
+
(JSCompiler_object_inline_digest_2471 = didSuspend) ||
|
8985
|
+
(JSCompiler_object_inline_digest_2471 =
|
8986
8986
|
null !== current && null === current.memoizedState
|
8987
8987
|
? !1
|
8988
8988
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8989
|
-
|
8990
|
-
((
|
8989
|
+
JSCompiler_object_inline_digest_2471 &&
|
8990
|
+
((JSCompiler_object_inline_componentStack_2473 = !0),
|
8991
8991
|
(workInProgress.flags &= -129));
|
8992
|
-
|
8992
|
+
JSCompiler_object_inline_digest_2471 = 0 !== (workInProgress.flags & 32);
|
8993
8993
|
workInProgress.flags &= -33;
|
8994
8994
|
if (null === current) {
|
8995
8995
|
if (isHydrating) {
|
8996
|
-
|
8996
|
+
JSCompiler_object_inline_componentStack_2473
|
8997
8997
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8998
8998
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8999
8999
|
if (isHydrating) {
|
9000
|
-
var
|
9000
|
+
var JSCompiler_object_inline_message_2470 = nextHydratableInstance;
|
9001
9001
|
var JSCompiler_temp;
|
9002
|
-
if (!(JSCompiler_temp = !
|
9002
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2470)) {
|
9003
9003
|
c: {
|
9004
|
-
var instance =
|
9004
|
+
var instance = JSCompiler_object_inline_message_2470;
|
9005
9005
|
for (
|
9006
9006
|
JSCompiler_temp = rootOrSingletonContext;
|
9007
9007
|
8 !== instance.nodeType;
|
@@ -9043,77 +9043,77 @@
|
|
9043
9043
|
JSCompiler_temp &&
|
9044
9044
|
(warnNonHydratedInstance(
|
9045
9045
|
workInProgress,
|
9046
|
-
|
9046
|
+
JSCompiler_object_inline_message_2470
|
9047
9047
|
),
|
9048
9048
|
throwOnHydrationMismatch(workInProgress));
|
9049
9049
|
}
|
9050
|
-
|
9050
|
+
JSCompiler_object_inline_message_2470 = workInProgress.memoizedState;
|
9051
9051
|
if (
|
9052
|
-
null !==
|
9053
|
-
((
|
9054
|
-
|
9055
|
-
null !==
|
9052
|
+
null !== JSCompiler_object_inline_message_2470 &&
|
9053
|
+
((JSCompiler_object_inline_message_2470 =
|
9054
|
+
JSCompiler_object_inline_message_2470.dehydrated),
|
9055
|
+
null !== JSCompiler_object_inline_message_2470)
|
9056
9056
|
)
|
9057
9057
|
return (
|
9058
|
-
isSuspenseInstanceFallback(
|
9058
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470)
|
9059
9059
|
? (workInProgress.lanes = 32)
|
9060
9060
|
: (workInProgress.lanes = 536870912),
|
9061
9061
|
null
|
9062
9062
|
);
|
9063
9063
|
popSuspenseHandler(workInProgress);
|
9064
9064
|
}
|
9065
|
-
|
9066
|
-
|
9067
|
-
|
9068
|
-
|
9069
|
-
if (
|
9065
|
+
JSCompiler_object_inline_message_2470 =
|
9066
|
+
JSCompiler_object_inline_stack_2472.children;
|
9067
|
+
JSCompiler_object_inline_stack_2472 =
|
9068
|
+
JSCompiler_object_inline_stack_2472.fallback;
|
9069
|
+
if (JSCompiler_object_inline_componentStack_2473)
|
9070
9070
|
return (
|
9071
9071
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9072
|
-
(
|
9072
|
+
(JSCompiler_object_inline_componentStack_2473 =
|
9073
9073
|
workInProgress.mode),
|
9074
|
-
(
|
9074
|
+
(JSCompiler_object_inline_message_2470 =
|
9075
9075
|
mountWorkInProgressOffscreenFiber(
|
9076
9076
|
{
|
9077
9077
|
mode: "hidden",
|
9078
|
-
children:
|
9078
|
+
children: JSCompiler_object_inline_message_2470
|
9079
9079
|
},
|
9080
|
-
|
9080
|
+
JSCompiler_object_inline_componentStack_2473
|
9081
9081
|
)),
|
9082
|
-
(
|
9083
|
-
|
9084
|
-
|
9082
|
+
(JSCompiler_object_inline_stack_2472 = createFiberFromFragment(
|
9083
|
+
JSCompiler_object_inline_stack_2472,
|
9084
|
+
JSCompiler_object_inline_componentStack_2473,
|
9085
9085
|
renderLanes,
|
9086
9086
|
null
|
9087
9087
|
)),
|
9088
|
-
(
|
9089
|
-
(
|
9090
|
-
(
|
9091
|
-
|
9092
|
-
(workInProgress.child =
|
9093
|
-
(
|
9088
|
+
(JSCompiler_object_inline_message_2470.return = workInProgress),
|
9089
|
+
(JSCompiler_object_inline_stack_2472.return = workInProgress),
|
9090
|
+
(JSCompiler_object_inline_message_2470.sibling =
|
9091
|
+
JSCompiler_object_inline_stack_2472),
|
9092
|
+
(workInProgress.child = JSCompiler_object_inline_message_2470),
|
9093
|
+
(JSCompiler_object_inline_componentStack_2473 =
|
9094
9094
|
workInProgress.child),
|
9095
|
-
(
|
9095
|
+
(JSCompiler_object_inline_componentStack_2473.memoizedState =
|
9096
9096
|
mountSuspenseOffscreenState(renderLanes)),
|
9097
|
-
(
|
9097
|
+
(JSCompiler_object_inline_componentStack_2473.childLanes =
|
9098
9098
|
getRemainingWorkInPrimaryTree(
|
9099
9099
|
current,
|
9100
|
-
|
9100
|
+
JSCompiler_object_inline_digest_2471,
|
9101
9101
|
renderLanes
|
9102
9102
|
)),
|
9103
9103
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9104
|
-
|
9104
|
+
JSCompiler_object_inline_stack_2472
|
9105
9105
|
);
|
9106
9106
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9107
9107
|
return mountSuspensePrimaryChildren(
|
9108
9108
|
workInProgress,
|
9109
|
-
|
9109
|
+
JSCompiler_object_inline_message_2470
|
9110
9110
|
);
|
9111
9111
|
}
|
9112
9112
|
var prevState = current.memoizedState;
|
9113
9113
|
if (
|
9114
9114
|
null !== prevState &&
|
9115
|
-
((
|
9116
|
-
null !==
|
9115
|
+
((JSCompiler_object_inline_message_2470 = prevState.dehydrated),
|
9116
|
+
null !== JSCompiler_object_inline_message_2470)
|
9117
9117
|
) {
|
9118
9118
|
if (didSuspend)
|
9119
9119
|
workInProgress.flags & 256
|
@@ -9130,94 +9130,94 @@
|
|
9130
9130
|
(workInProgress.flags |= 128),
|
9131
9131
|
(workInProgress = null))
|
9132
9132
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9133
|
-
(
|
9134
|
-
|
9135
|
-
(
|
9136
|
-
(
|
9133
|
+
(JSCompiler_object_inline_componentStack_2473 =
|
9134
|
+
JSCompiler_object_inline_stack_2472.fallback),
|
9135
|
+
(JSCompiler_object_inline_message_2470 = workInProgress.mode),
|
9136
|
+
(JSCompiler_object_inline_stack_2472 =
|
9137
9137
|
mountWorkInProgressOffscreenFiber(
|
9138
9138
|
{
|
9139
9139
|
mode: "visible",
|
9140
|
-
children:
|
9140
|
+
children: JSCompiler_object_inline_stack_2472.children
|
9141
9141
|
},
|
9142
|
-
|
9142
|
+
JSCompiler_object_inline_message_2470
|
9143
9143
|
)),
|
9144
|
-
(
|
9144
|
+
(JSCompiler_object_inline_componentStack_2473 =
|
9145
9145
|
createFiberFromFragment(
|
9146
|
-
|
9147
|
-
|
9146
|
+
JSCompiler_object_inline_componentStack_2473,
|
9147
|
+
JSCompiler_object_inline_message_2470,
|
9148
9148
|
renderLanes,
|
9149
9149
|
null
|
9150
9150
|
)),
|
9151
|
-
(
|
9152
|
-
(
|
9153
|
-
(
|
9151
|
+
(JSCompiler_object_inline_componentStack_2473.flags |= 2),
|
9152
|
+
(JSCompiler_object_inline_stack_2472.return = workInProgress),
|
9153
|
+
(JSCompiler_object_inline_componentStack_2473.return =
|
9154
9154
|
workInProgress),
|
9155
|
-
(
|
9156
|
-
|
9157
|
-
(workInProgress.child =
|
9155
|
+
(JSCompiler_object_inline_stack_2472.sibling =
|
9156
|
+
JSCompiler_object_inline_componentStack_2473),
|
9157
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2472),
|
9158
9158
|
reconcileChildFibers(
|
9159
9159
|
workInProgress,
|
9160
9160
|
current.child,
|
9161
9161
|
null,
|
9162
9162
|
renderLanes
|
9163
9163
|
),
|
9164
|
-
(
|
9165
|
-
(
|
9164
|
+
(JSCompiler_object_inline_stack_2472 = workInProgress.child),
|
9165
|
+
(JSCompiler_object_inline_stack_2472.memoizedState =
|
9166
9166
|
mountSuspenseOffscreenState(renderLanes)),
|
9167
|
-
(
|
9167
|
+
(JSCompiler_object_inline_stack_2472.childLanes =
|
9168
9168
|
getRemainingWorkInPrimaryTree(
|
9169
9169
|
current,
|
9170
|
-
|
9170
|
+
JSCompiler_object_inline_digest_2471,
|
9171
9171
|
renderLanes
|
9172
9172
|
)),
|
9173
9173
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9174
9174
|
(workInProgress =
|
9175
|
-
|
9175
|
+
JSCompiler_object_inline_componentStack_2473));
|
9176
9176
|
else if (
|
9177
9177
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9178
9178
|
isHydrating &&
|
9179
9179
|
console.error(
|
9180
9180
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9181
9181
|
),
|
9182
|
-
isSuspenseInstanceFallback(
|
9182
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470))
|
9183
9183
|
) {
|
9184
|
-
|
9185
|
-
|
9186
|
-
|
9187
|
-
if (
|
9188
|
-
JSCompiler_temp =
|
9189
|
-
var message =
|
9190
|
-
instance =
|
9191
|
-
var componentStack =
|
9184
|
+
JSCompiler_object_inline_digest_2471 =
|
9185
|
+
JSCompiler_object_inline_message_2470.nextSibling &&
|
9186
|
+
JSCompiler_object_inline_message_2470.nextSibling.dataset;
|
9187
|
+
if (JSCompiler_object_inline_digest_2471) {
|
9188
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2471.dgst;
|
9189
|
+
var message = JSCompiler_object_inline_digest_2471.msg;
|
9190
|
+
instance = JSCompiler_object_inline_digest_2471.stck;
|
9191
|
+
var componentStack = JSCompiler_object_inline_digest_2471.cstck;
|
9192
9192
|
}
|
9193
|
-
|
9194
|
-
|
9195
|
-
|
9196
|
-
JSCompiler_temp =
|
9193
|
+
JSCompiler_object_inline_message_2470 = message;
|
9194
|
+
JSCompiler_object_inline_digest_2471 = JSCompiler_temp;
|
9195
|
+
JSCompiler_object_inline_stack_2472 = instance;
|
9196
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2473 =
|
9197
9197
|
componentStack;
|
9198
|
-
|
9199
|
-
|
9200
|
-
? Error(
|
9198
|
+
JSCompiler_object_inline_componentStack_2473 =
|
9199
|
+
JSCompiler_object_inline_message_2470
|
9200
|
+
? Error(JSCompiler_object_inline_message_2470)
|
9201
9201
|
: Error(
|
9202
9202
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9203
9203
|
);
|
9204
|
-
|
9205
|
-
|
9206
|
-
|
9207
|
-
|
9208
|
-
|
9204
|
+
JSCompiler_object_inline_componentStack_2473.stack =
|
9205
|
+
JSCompiler_object_inline_stack_2472 || "";
|
9206
|
+
JSCompiler_object_inline_componentStack_2473.digest =
|
9207
|
+
JSCompiler_object_inline_digest_2471;
|
9208
|
+
JSCompiler_object_inline_digest_2471 =
|
9209
9209
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9210
|
-
|
9211
|
-
value:
|
9210
|
+
JSCompiler_object_inline_stack_2472 = {
|
9211
|
+
value: JSCompiler_object_inline_componentStack_2473,
|
9212
9212
|
source: null,
|
9213
|
-
stack:
|
9213
|
+
stack: JSCompiler_object_inline_digest_2471
|
9214
9214
|
};
|
9215
|
-
"string" === typeof
|
9215
|
+
"string" === typeof JSCompiler_object_inline_digest_2471 &&
|
9216
9216
|
CapturedStacks.set(
|
9217
|
-
|
9218
|
-
|
9217
|
+
JSCompiler_object_inline_componentStack_2473,
|
9218
|
+
JSCompiler_object_inline_stack_2472
|
9219
9219
|
);
|
9220
|
-
queueHydrationError(
|
9220
|
+
queueHydrationError(JSCompiler_object_inline_stack_2472);
|
9221
9221
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9222
9222
|
current,
|
9223
9223
|
workInProgress,
|
@@ -9231,44 +9231,44 @@
|
|
9231
9231
|
renderLanes,
|
9232
9232
|
!1
|
9233
9233
|
),
|
9234
|
-
(
|
9234
|
+
(JSCompiler_object_inline_digest_2471 =
|
9235
9235
|
0 !== (renderLanes & current.childLanes)),
|
9236
|
-
didReceiveUpdate ||
|
9236
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2471)
|
9237
9237
|
) {
|
9238
|
-
|
9238
|
+
JSCompiler_object_inline_digest_2471 = workInProgressRoot;
|
9239
9239
|
if (
|
9240
|
-
null !==
|
9241
|
-
((
|
9242
|
-
(
|
9243
|
-
0 !== (
|
9240
|
+
null !== JSCompiler_object_inline_digest_2471 &&
|
9241
|
+
((JSCompiler_object_inline_stack_2472 = renderLanes & -renderLanes),
|
9242
|
+
(JSCompiler_object_inline_stack_2472 =
|
9243
|
+
0 !== (JSCompiler_object_inline_stack_2472 & 42)
|
9244
9244
|
? 1
|
9245
9245
|
: getBumpedLaneForHydrationByLane(
|
9246
|
-
|
9246
|
+
JSCompiler_object_inline_stack_2472
|
9247
9247
|
)),
|
9248
|
-
(
|
9248
|
+
(JSCompiler_object_inline_stack_2472 =
|
9249
9249
|
0 !==
|
9250
|
-
(
|
9251
|
-
(
|
9250
|
+
(JSCompiler_object_inline_stack_2472 &
|
9251
|
+
(JSCompiler_object_inline_digest_2471.suspendedLanes |
|
9252
9252
|
renderLanes))
|
9253
9253
|
? 0
|
9254
|
-
:
|
9255
|
-
0 !==
|
9256
|
-
|
9254
|
+
: JSCompiler_object_inline_stack_2472),
|
9255
|
+
0 !== JSCompiler_object_inline_stack_2472 &&
|
9256
|
+
JSCompiler_object_inline_stack_2472 !== prevState.retryLane)
|
9257
9257
|
)
|
9258
9258
|
throw (
|
9259
|
-
((prevState.retryLane =
|
9259
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2472),
|
9260
9260
|
enqueueConcurrentRenderForLane(
|
9261
9261
|
current,
|
9262
|
-
|
9262
|
+
JSCompiler_object_inline_stack_2472
|
9263
9263
|
),
|
9264
9264
|
scheduleUpdateOnFiber(
|
9265
|
-
|
9265
|
+
JSCompiler_object_inline_digest_2471,
|
9266
9266
|
current,
|
9267
|
-
|
9267
|
+
JSCompiler_object_inline_stack_2472
|
9268
9268
|
),
|
9269
9269
|
SelectiveHydrationException)
|
9270
9270
|
);
|
9271
|
-
|
9271
|
+
JSCompiler_object_inline_message_2470.data ===
|
9272
9272
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9273
9273
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9274
9274
|
current,
|
@@ -9276,14 +9276,14 @@
|
|
9276
9276
|
renderLanes
|
9277
9277
|
);
|
9278
9278
|
} else
|
9279
|
-
|
9279
|
+
JSCompiler_object_inline_message_2470.data ===
|
9280
9280
|
SUSPENSE_PENDING_START_DATA
|
9281
9281
|
? ((workInProgress.flags |= 192),
|
9282
9282
|
(workInProgress.child = current.child),
|
9283
9283
|
(workInProgress = null))
|
9284
9284
|
: ((current = prevState.treeContext),
|
9285
9285
|
(nextHydratableInstance = getNextHydratable(
|
9286
|
-
|
9286
|
+
JSCompiler_object_inline_message_2470.nextSibling
|
9287
9287
|
)),
|
9288
9288
|
(hydrationParentFiber = workInProgress),
|
9289
9289
|
(isHydrating = !0),
|
@@ -9301,57 +9301,57 @@
|
|
9301
9301
|
(treeContextProvider = workInProgress)),
|
9302
9302
|
(workInProgress = mountSuspensePrimaryChildren(
|
9303
9303
|
workInProgress,
|
9304
|
-
|
9304
|
+
JSCompiler_object_inline_stack_2472.children
|
9305
9305
|
)),
|
9306
9306
|
(workInProgress.flags |= 4096));
|
9307
9307
|
return workInProgress;
|
9308
9308
|
}
|
9309
|
-
if (
|
9309
|
+
if (JSCompiler_object_inline_componentStack_2473)
|
9310
9310
|
return (
|
9311
9311
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9312
|
-
(
|
9313
|
-
|
9314
|
-
(
|
9312
|
+
(JSCompiler_object_inline_componentStack_2473 =
|
9313
|
+
JSCompiler_object_inline_stack_2472.fallback),
|
9314
|
+
(JSCompiler_object_inline_message_2470 = workInProgress.mode),
|
9315
9315
|
(JSCompiler_temp = current.child),
|
9316
9316
|
(instance = JSCompiler_temp.sibling),
|
9317
|
-
(
|
9317
|
+
(JSCompiler_object_inline_stack_2472 = createWorkInProgress(
|
9318
9318
|
JSCompiler_temp,
|
9319
9319
|
{
|
9320
9320
|
mode: "hidden",
|
9321
|
-
children:
|
9321
|
+
children: JSCompiler_object_inline_stack_2472.children
|
9322
9322
|
}
|
9323
9323
|
)),
|
9324
|
-
(
|
9324
|
+
(JSCompiler_object_inline_stack_2472.subtreeFlags =
|
9325
9325
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9326
9326
|
null !== instance
|
9327
|
-
? (
|
9327
|
+
? (JSCompiler_object_inline_componentStack_2473 =
|
9328
9328
|
createWorkInProgress(
|
9329
9329
|
instance,
|
9330
|
-
|
9330
|
+
JSCompiler_object_inline_componentStack_2473
|
9331
9331
|
))
|
9332
|
-
: ((
|
9332
|
+
: ((JSCompiler_object_inline_componentStack_2473 =
|
9333
9333
|
createFiberFromFragment(
|
9334
|
-
|
9335
|
-
|
9334
|
+
JSCompiler_object_inline_componentStack_2473,
|
9335
|
+
JSCompiler_object_inline_message_2470,
|
9336
9336
|
renderLanes,
|
9337
9337
|
null
|
9338
9338
|
)),
|
9339
|
-
(
|
9340
|
-
(
|
9339
|
+
(JSCompiler_object_inline_componentStack_2473.flags |= 2)),
|
9340
|
+
(JSCompiler_object_inline_componentStack_2473.return =
|
9341
9341
|
workInProgress),
|
9342
|
-
(
|
9343
|
-
(
|
9344
|
-
|
9345
|
-
(workInProgress.child =
|
9346
|
-
(
|
9347
|
-
|
9348
|
-
(
|
9349
|
-
(
|
9350
|
-
null ===
|
9351
|
-
? (
|
9342
|
+
(JSCompiler_object_inline_stack_2472.return = workInProgress),
|
9343
|
+
(JSCompiler_object_inline_stack_2472.sibling =
|
9344
|
+
JSCompiler_object_inline_componentStack_2473),
|
9345
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2472),
|
9346
|
+
(JSCompiler_object_inline_stack_2472 =
|
9347
|
+
JSCompiler_object_inline_componentStack_2473),
|
9348
|
+
(JSCompiler_object_inline_componentStack_2473 = workInProgress.child),
|
9349
|
+
(JSCompiler_object_inline_message_2470 = current.child.memoizedState),
|
9350
|
+
null === JSCompiler_object_inline_message_2470
|
9351
|
+
? (JSCompiler_object_inline_message_2470 =
|
9352
9352
|
mountSuspenseOffscreenState(renderLanes))
|
9353
9353
|
: ((JSCompiler_temp =
|
9354
|
-
|
9354
|
+
JSCompiler_object_inline_message_2470.cachePool),
|
9355
9355
|
null !== JSCompiler_temp
|
9356
9356
|
? ((instance = CacheContext._currentValue),
|
9357
9357
|
(JSCompiler_temp =
|
@@ -9359,37 +9359,37 @@
|
|
9359
9359
|
? { parent: instance, pool: instance }
|
9360
9360
|
: JSCompiler_temp))
|
9361
9361
|
: (JSCompiler_temp = getSuspendedCache()),
|
9362
|
-
(
|
9362
|
+
(JSCompiler_object_inline_message_2470 = {
|
9363
9363
|
baseLanes:
|
9364
|
-
|
9364
|
+
JSCompiler_object_inline_message_2470.baseLanes | renderLanes,
|
9365
9365
|
cachePool: JSCompiler_temp
|
9366
9366
|
})),
|
9367
|
-
(
|
9368
|
-
|
9369
|
-
(
|
9367
|
+
(JSCompiler_object_inline_componentStack_2473.memoizedState =
|
9368
|
+
JSCompiler_object_inline_message_2470),
|
9369
|
+
(JSCompiler_object_inline_componentStack_2473.childLanes =
|
9370
9370
|
getRemainingWorkInPrimaryTree(
|
9371
9371
|
current,
|
9372
|
-
|
9372
|
+
JSCompiler_object_inline_digest_2471,
|
9373
9373
|
renderLanes
|
9374
9374
|
)),
|
9375
9375
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9376
|
-
|
9376
|
+
JSCompiler_object_inline_stack_2472
|
9377
9377
|
);
|
9378
9378
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9379
9379
|
renderLanes = current.child;
|
9380
9380
|
current = renderLanes.sibling;
|
9381
9381
|
renderLanes = createWorkInProgress(renderLanes, {
|
9382
9382
|
mode: "visible",
|
9383
|
-
children:
|
9383
|
+
children: JSCompiler_object_inline_stack_2472.children
|
9384
9384
|
});
|
9385
9385
|
renderLanes.return = workInProgress;
|
9386
9386
|
renderLanes.sibling = null;
|
9387
9387
|
null !== current &&
|
9388
|
-
((
|
9389
|
-
null ===
|
9388
|
+
((JSCompiler_object_inline_digest_2471 = workInProgress.deletions),
|
9389
|
+
null === JSCompiler_object_inline_digest_2471
|
9390
9390
|
? ((workInProgress.deletions = [current]),
|
9391
9391
|
(workInProgress.flags |= 16))
|
9392
|
-
:
|
9392
|
+
: JSCompiler_object_inline_digest_2471.push(current));
|
9393
9393
|
workInProgress.child = renderLanes;
|
9394
9394
|
workInProgress.memoizedState = null;
|
9395
9395
|
return renderLanes;
|
@@ -13493,14 +13493,18 @@
|
|
13493
13493
|
}
|
13494
13494
|
function emitPendingHydrationWarnings() {
|
13495
13495
|
var diffRoot = hydrationDiffRootDEV;
|
13496
|
-
null !== diffRoot
|
13497
|
-
|
13498
|
-
(
|
13499
|
-
|
13500
|
-
|
13501
|
-
|
13502
|
-
|
13503
|
-
|
13496
|
+
if (null !== diffRoot) {
|
13497
|
+
hydrationDiffRootDEV = null;
|
13498
|
+
for (var diff = describeDiff(diffRoot); 0 < diffRoot.children.length; )
|
13499
|
+
diffRoot = diffRoot.children[0];
|
13500
|
+
runWithFiberInDEV(diffRoot.fiber, function () {
|
13501
|
+
console.error(
|
13502
|
+
"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s",
|
13503
|
+
"https://react.dev/link/hydration-mismatch",
|
13504
|
+
diff
|
13505
|
+
);
|
13506
|
+
});
|
13507
|
+
}
|
13504
13508
|
}
|
13505
13509
|
function markUpdate(workInProgress) {
|
13506
13510
|
workInProgress.flags |= 4;
|
@@ -15672,30 +15676,24 @@
|
|
15672
15676
|
var prevExecutionContext = executionContext;
|
15673
15677
|
executionContext |= CommitContext;
|
15674
15678
|
try {
|
15675
|
-
var
|
15676
|
-
|
15679
|
+
var rootClone = root.gestureClone;
|
15680
|
+
if (null !== rootClone) {
|
15681
|
+
root.gestureClone = null;
|
15682
|
+
var rootContainer = root.containerInfo;
|
15683
|
+
var containerInstance =
|
15677
15684
|
9 === rootContainer.nodeType
|
15678
|
-
? rootContainer.
|
15679
|
-
: rootContainer.
|
15680
|
-
|
15681
|
-
|
15682
|
-
|
15683
|
-
|
15684
|
-
|
15685
|
-
|
15686
|
-
|
15687
|
-
|
15688
|
-
|
15689
|
-
|
15690
|
-
),
|
15691
|
-
documentElement.animate(
|
15692
|
-
{ width: [0, 0], height: [0, 0] },
|
15693
|
-
{
|
15694
|
-
duration: 0,
|
15695
|
-
fill: "forwards",
|
15696
|
-
pseudoElement: "::view-transition"
|
15697
|
-
}
|
15698
|
-
));
|
15685
|
+
? rootContainer.body
|
15686
|
+
: "HTML" === rootContainer.nodeName
|
15687
|
+
? rootContainer.ownerDocument.body
|
15688
|
+
: rootContainer;
|
15689
|
+
var containerParent = containerInstance.parentNode;
|
15690
|
+
if (null === containerParent)
|
15691
|
+
throw Error(
|
15692
|
+
"Cannot use a useSwipeTransition() in a detached root."
|
15693
|
+
);
|
15694
|
+
containerParent.removeChild(rootClone);
|
15695
|
+
containerInstance.style.viewTransitionName = "root";
|
15696
|
+
}
|
15699
15697
|
} finally {
|
15700
15698
|
(executionContext = prevExecutionContext),
|
15701
15699
|
(ReactDOMSharedInternals.p = previousPriority),
|
@@ -15736,11 +15734,16 @@
|
|
15736
15734
|
var prevExecutionContext = executionContext;
|
15737
15735
|
executionContext |= CommitContext;
|
15738
15736
|
try {
|
15739
|
-
var rootContainer = root.containerInfo
|
15740
|
-
|
15741
|
-
|
15742
|
-
|
15743
|
-
|
15737
|
+
var rootContainer = root.containerInfo;
|
15738
|
+
var containerInstance =
|
15739
|
+
9 === rootContainer.nodeType
|
15740
|
+
? rootContainer.body
|
15741
|
+
: "HTML" === rootContainer.nodeName
|
15742
|
+
? rootContainer.ownerDocument.body
|
15743
|
+
: rootContainer;
|
15744
|
+
"root" === containerInstance.style.viewTransitionName &&
|
15745
|
+
(containerInstance.style.viewTransitionName = "");
|
15746
|
+
var documentElement = containerInstance.ownerDocument.documentElement;
|
15744
15747
|
null !== documentElement &&
|
15745
15748
|
"none" === documentElement.style.viewTransitionName &&
|
15746
15749
|
(documentElement.style.viewTransitionName = "");
|
@@ -17983,6 +17986,8 @@
|
|
17983
17986
|
}
|
17984
17987
|
return;
|
17985
17988
|
case "dialog":
|
17989
|
+
listenToNonDelegatedEvent("beforetoggle", domElement);
|
17990
|
+
listenToNonDelegatedEvent("toggle", domElement);
|
17986
17991
|
listenToNonDelegatedEvent("cancel", domElement);
|
17987
17992
|
listenToNonDelegatedEvent("close", domElement);
|
17988
17993
|
break;
|
@@ -24835,11 +24840,11 @@
|
|
24835
24840
|
};
|
24836
24841
|
(function () {
|
24837
24842
|
var isomorphicReactPackageVersion = React.version;
|
24838
|
-
if ("19.1.0-canary-
|
24843
|
+
if ("19.1.0-canary-029e8bd6-20250306" !== isomorphicReactPackageVersion)
|
24839
24844
|
throw Error(
|
24840
24845
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24841
24846
|
(isomorphicReactPackageVersion +
|
24842
|
-
"\n - react-dom: 19.1.0-canary-
|
24847
|
+
"\n - react-dom: 19.1.0-canary-029e8bd6-20250306\nLearn more: https://react.dev/warnings/version-mismatch")
|
24843
24848
|
);
|
24844
24849
|
})();
|
24845
24850
|
("function" === typeof Map &&
|
@@ -24876,10 +24881,10 @@
|
|
24876
24881
|
!(function () {
|
24877
24882
|
var internals = {
|
24878
24883
|
bundleType: 1,
|
24879
|
-
version: "19.1.0-canary-
|
24884
|
+
version: "19.1.0-canary-029e8bd6-20250306",
|
24880
24885
|
rendererPackageName: "react-dom",
|
24881
24886
|
currentDispatcherRef: ReactSharedInternals,
|
24882
|
-
reconcilerVersion: "19.1.0-canary-
|
24887
|
+
reconcilerVersion: "19.1.0-canary-029e8bd6-20250306"
|
24883
24888
|
};
|
24884
24889
|
internals.overrideHookState = overrideHookState;
|
24885
24890
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25023,7 +25028,7 @@
|
|
25023
25028
|
listenToAllSupportedEvents(container);
|
25024
25029
|
return new ReactDOMHydrationRoot(initialChildren);
|
25025
25030
|
};
|
25026
|
-
exports.version = "19.1.0-canary-
|
25031
|
+
exports.version = "19.1.0-canary-029e8bd6-20250306";
|
25027
25032
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25028
25033
|
"function" ===
|
25029
25034
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|