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
@@ -8984,32 +8984,32 @@
|
|
8984
8984
|
return current;
|
8985
8985
|
}
|
8986
8986
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8987
|
-
var
|
8988
|
-
var
|
8987
|
+
var JSCompiler_object_inline_digest_2476;
|
8988
|
+
var JSCompiler_object_inline_stack_2477 = workInProgress.pendingProps;
|
8989
8989
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8990
|
-
var
|
8990
|
+
var JSCompiler_object_inline_componentStack_2478 = !1;
|
8991
8991
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8992
|
-
(
|
8993
|
-
(
|
8992
|
+
(JSCompiler_object_inline_digest_2476 = didSuspend) ||
|
8993
|
+
(JSCompiler_object_inline_digest_2476 =
|
8994
8994
|
null !== current && null === current.memoizedState
|
8995
8995
|
? !1
|
8996
8996
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8997
|
-
|
8998
|
-
((
|
8997
|
+
JSCompiler_object_inline_digest_2476 &&
|
8998
|
+
((JSCompiler_object_inline_componentStack_2478 = !0),
|
8999
8999
|
(workInProgress.flags &= -129));
|
9000
|
-
|
9000
|
+
JSCompiler_object_inline_digest_2476 = 0 !== (workInProgress.flags & 32);
|
9001
9001
|
workInProgress.flags &= -33;
|
9002
9002
|
if (null === current) {
|
9003
9003
|
if (isHydrating) {
|
9004
|
-
|
9004
|
+
JSCompiler_object_inline_componentStack_2478
|
9005
9005
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9006
9006
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9007
9007
|
if (isHydrating) {
|
9008
|
-
var
|
9008
|
+
var JSCompiler_object_inline_message_2475 = nextHydratableInstance;
|
9009
9009
|
var JSCompiler_temp;
|
9010
|
-
if (!(JSCompiler_temp = !
|
9010
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2475)) {
|
9011
9011
|
c: {
|
9012
|
-
var instance =
|
9012
|
+
var instance = JSCompiler_object_inline_message_2475;
|
9013
9013
|
for (
|
9014
9014
|
JSCompiler_temp = rootOrSingletonContext;
|
9015
9015
|
8 !== instance.nodeType;
|
@@ -9051,77 +9051,77 @@
|
|
9051
9051
|
JSCompiler_temp &&
|
9052
9052
|
(warnNonHydratedInstance(
|
9053
9053
|
workInProgress,
|
9054
|
-
|
9054
|
+
JSCompiler_object_inline_message_2475
|
9055
9055
|
),
|
9056
9056
|
throwOnHydrationMismatch(workInProgress));
|
9057
9057
|
}
|
9058
|
-
|
9058
|
+
JSCompiler_object_inline_message_2475 = workInProgress.memoizedState;
|
9059
9059
|
if (
|
9060
|
-
null !==
|
9061
|
-
((
|
9062
|
-
|
9063
|
-
null !==
|
9060
|
+
null !== JSCompiler_object_inline_message_2475 &&
|
9061
|
+
((JSCompiler_object_inline_message_2475 =
|
9062
|
+
JSCompiler_object_inline_message_2475.dehydrated),
|
9063
|
+
null !== JSCompiler_object_inline_message_2475)
|
9064
9064
|
)
|
9065
9065
|
return (
|
9066
|
-
isSuspenseInstanceFallback(
|
9066
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2475)
|
9067
9067
|
? (workInProgress.lanes = 32)
|
9068
9068
|
: (workInProgress.lanes = 536870912),
|
9069
9069
|
null
|
9070
9070
|
);
|
9071
9071
|
popSuspenseHandler(workInProgress);
|
9072
9072
|
}
|
9073
|
-
|
9074
|
-
|
9075
|
-
|
9076
|
-
|
9077
|
-
if (
|
9073
|
+
JSCompiler_object_inline_message_2475 =
|
9074
|
+
JSCompiler_object_inline_stack_2477.children;
|
9075
|
+
JSCompiler_object_inline_stack_2477 =
|
9076
|
+
JSCompiler_object_inline_stack_2477.fallback;
|
9077
|
+
if (JSCompiler_object_inline_componentStack_2478)
|
9078
9078
|
return (
|
9079
9079
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9080
|
-
(
|
9080
|
+
(JSCompiler_object_inline_componentStack_2478 =
|
9081
9081
|
workInProgress.mode),
|
9082
|
-
(
|
9082
|
+
(JSCompiler_object_inline_message_2475 =
|
9083
9083
|
mountWorkInProgressOffscreenFiber(
|
9084
9084
|
{
|
9085
9085
|
mode: "hidden",
|
9086
|
-
children:
|
9086
|
+
children: JSCompiler_object_inline_message_2475
|
9087
9087
|
},
|
9088
|
-
|
9088
|
+
JSCompiler_object_inline_componentStack_2478
|
9089
9089
|
)),
|
9090
|
-
(
|
9091
|
-
|
9092
|
-
|
9090
|
+
(JSCompiler_object_inline_stack_2477 = createFiberFromFragment(
|
9091
|
+
JSCompiler_object_inline_stack_2477,
|
9092
|
+
JSCompiler_object_inline_componentStack_2478,
|
9093
9093
|
renderLanes,
|
9094
9094
|
null
|
9095
9095
|
)),
|
9096
|
-
(
|
9097
|
-
(
|
9098
|
-
(
|
9099
|
-
|
9100
|
-
(workInProgress.child =
|
9101
|
-
(
|
9096
|
+
(JSCompiler_object_inline_message_2475.return = workInProgress),
|
9097
|
+
(JSCompiler_object_inline_stack_2477.return = workInProgress),
|
9098
|
+
(JSCompiler_object_inline_message_2475.sibling =
|
9099
|
+
JSCompiler_object_inline_stack_2477),
|
9100
|
+
(workInProgress.child = JSCompiler_object_inline_message_2475),
|
9101
|
+
(JSCompiler_object_inline_componentStack_2478 =
|
9102
9102
|
workInProgress.child),
|
9103
|
-
(
|
9103
|
+
(JSCompiler_object_inline_componentStack_2478.memoizedState =
|
9104
9104
|
mountSuspenseOffscreenState(renderLanes)),
|
9105
|
-
(
|
9105
|
+
(JSCompiler_object_inline_componentStack_2478.childLanes =
|
9106
9106
|
getRemainingWorkInPrimaryTree(
|
9107
9107
|
current,
|
9108
|
-
|
9108
|
+
JSCompiler_object_inline_digest_2476,
|
9109
9109
|
renderLanes
|
9110
9110
|
)),
|
9111
9111
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9112
|
-
|
9112
|
+
JSCompiler_object_inline_stack_2477
|
9113
9113
|
);
|
9114
9114
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9115
9115
|
return mountSuspensePrimaryChildren(
|
9116
9116
|
workInProgress,
|
9117
|
-
|
9117
|
+
JSCompiler_object_inline_message_2475
|
9118
9118
|
);
|
9119
9119
|
}
|
9120
9120
|
var prevState = current.memoizedState;
|
9121
9121
|
if (
|
9122
9122
|
null !== prevState &&
|
9123
|
-
((
|
9124
|
-
null !==
|
9123
|
+
((JSCompiler_object_inline_message_2475 = prevState.dehydrated),
|
9124
|
+
null !== JSCompiler_object_inline_message_2475)
|
9125
9125
|
) {
|
9126
9126
|
if (didSuspend)
|
9127
9127
|
workInProgress.flags & 256
|
@@ -9138,94 +9138,94 @@
|
|
9138
9138
|
(workInProgress.flags |= 128),
|
9139
9139
|
(workInProgress = null))
|
9140
9140
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9141
|
-
(
|
9142
|
-
|
9143
|
-
(
|
9144
|
-
(
|
9141
|
+
(JSCompiler_object_inline_componentStack_2478 =
|
9142
|
+
JSCompiler_object_inline_stack_2477.fallback),
|
9143
|
+
(JSCompiler_object_inline_message_2475 = workInProgress.mode),
|
9144
|
+
(JSCompiler_object_inline_stack_2477 =
|
9145
9145
|
mountWorkInProgressOffscreenFiber(
|
9146
9146
|
{
|
9147
9147
|
mode: "visible",
|
9148
|
-
children:
|
9148
|
+
children: JSCompiler_object_inline_stack_2477.children
|
9149
9149
|
},
|
9150
|
-
|
9150
|
+
JSCompiler_object_inline_message_2475
|
9151
9151
|
)),
|
9152
|
-
(
|
9152
|
+
(JSCompiler_object_inline_componentStack_2478 =
|
9153
9153
|
createFiberFromFragment(
|
9154
|
-
|
9155
|
-
|
9154
|
+
JSCompiler_object_inline_componentStack_2478,
|
9155
|
+
JSCompiler_object_inline_message_2475,
|
9156
9156
|
renderLanes,
|
9157
9157
|
null
|
9158
9158
|
)),
|
9159
|
-
(
|
9160
|
-
(
|
9161
|
-
(
|
9159
|
+
(JSCompiler_object_inline_componentStack_2478.flags |= 2),
|
9160
|
+
(JSCompiler_object_inline_stack_2477.return = workInProgress),
|
9161
|
+
(JSCompiler_object_inline_componentStack_2478.return =
|
9162
9162
|
workInProgress),
|
9163
|
-
(
|
9164
|
-
|
9165
|
-
(workInProgress.child =
|
9163
|
+
(JSCompiler_object_inline_stack_2477.sibling =
|
9164
|
+
JSCompiler_object_inline_componentStack_2478),
|
9165
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2477),
|
9166
9166
|
reconcileChildFibers(
|
9167
9167
|
workInProgress,
|
9168
9168
|
current.child,
|
9169
9169
|
null,
|
9170
9170
|
renderLanes
|
9171
9171
|
),
|
9172
|
-
(
|
9173
|
-
(
|
9172
|
+
(JSCompiler_object_inline_stack_2477 = workInProgress.child),
|
9173
|
+
(JSCompiler_object_inline_stack_2477.memoizedState =
|
9174
9174
|
mountSuspenseOffscreenState(renderLanes)),
|
9175
|
-
(
|
9175
|
+
(JSCompiler_object_inline_stack_2477.childLanes =
|
9176
9176
|
getRemainingWorkInPrimaryTree(
|
9177
9177
|
current,
|
9178
|
-
|
9178
|
+
JSCompiler_object_inline_digest_2476,
|
9179
9179
|
renderLanes
|
9180
9180
|
)),
|
9181
9181
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9182
9182
|
(workInProgress =
|
9183
|
-
|
9183
|
+
JSCompiler_object_inline_componentStack_2478));
|
9184
9184
|
else if (
|
9185
9185
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9186
9186
|
isHydrating &&
|
9187
9187
|
console.error(
|
9188
9188
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9189
9189
|
),
|
9190
|
-
isSuspenseInstanceFallback(
|
9190
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2475))
|
9191
9191
|
) {
|
9192
|
-
|
9193
|
-
|
9194
|
-
|
9195
|
-
if (
|
9196
|
-
JSCompiler_temp =
|
9197
|
-
var message =
|
9198
|
-
instance =
|
9199
|
-
var componentStack =
|
9192
|
+
JSCompiler_object_inline_digest_2476 =
|
9193
|
+
JSCompiler_object_inline_message_2475.nextSibling &&
|
9194
|
+
JSCompiler_object_inline_message_2475.nextSibling.dataset;
|
9195
|
+
if (JSCompiler_object_inline_digest_2476) {
|
9196
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2476.dgst;
|
9197
|
+
var message = JSCompiler_object_inline_digest_2476.msg;
|
9198
|
+
instance = JSCompiler_object_inline_digest_2476.stck;
|
9199
|
+
var componentStack = JSCompiler_object_inline_digest_2476.cstck;
|
9200
9200
|
}
|
9201
|
-
|
9202
|
-
|
9203
|
-
|
9204
|
-
JSCompiler_temp =
|
9201
|
+
JSCompiler_object_inline_message_2475 = message;
|
9202
|
+
JSCompiler_object_inline_digest_2476 = JSCompiler_temp;
|
9203
|
+
JSCompiler_object_inline_stack_2477 = instance;
|
9204
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2478 =
|
9205
9205
|
componentStack;
|
9206
|
-
|
9207
|
-
|
9208
|
-
? Error(
|
9206
|
+
JSCompiler_object_inline_componentStack_2478 =
|
9207
|
+
JSCompiler_object_inline_message_2475
|
9208
|
+
? Error(JSCompiler_object_inline_message_2475)
|
9209
9209
|
: Error(
|
9210
9210
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9211
9211
|
);
|
9212
|
-
|
9213
|
-
|
9214
|
-
|
9215
|
-
|
9216
|
-
|
9212
|
+
JSCompiler_object_inline_componentStack_2478.stack =
|
9213
|
+
JSCompiler_object_inline_stack_2477 || "";
|
9214
|
+
JSCompiler_object_inline_componentStack_2478.digest =
|
9215
|
+
JSCompiler_object_inline_digest_2476;
|
9216
|
+
JSCompiler_object_inline_digest_2476 =
|
9217
9217
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9218
|
-
|
9219
|
-
value:
|
9218
|
+
JSCompiler_object_inline_stack_2477 = {
|
9219
|
+
value: JSCompiler_object_inline_componentStack_2478,
|
9220
9220
|
source: null,
|
9221
|
-
stack:
|
9221
|
+
stack: JSCompiler_object_inline_digest_2476
|
9222
9222
|
};
|
9223
|
-
"string" === typeof
|
9223
|
+
"string" === typeof JSCompiler_object_inline_digest_2476 &&
|
9224
9224
|
CapturedStacks.set(
|
9225
|
-
|
9226
|
-
|
9225
|
+
JSCompiler_object_inline_componentStack_2478,
|
9226
|
+
JSCompiler_object_inline_stack_2477
|
9227
9227
|
);
|
9228
|
-
queueHydrationError(
|
9228
|
+
queueHydrationError(JSCompiler_object_inline_stack_2477);
|
9229
9229
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9230
9230
|
current,
|
9231
9231
|
workInProgress,
|
@@ -9239,44 +9239,44 @@
|
|
9239
9239
|
renderLanes,
|
9240
9240
|
!1
|
9241
9241
|
),
|
9242
|
-
(
|
9242
|
+
(JSCompiler_object_inline_digest_2476 =
|
9243
9243
|
0 !== (renderLanes & current.childLanes)),
|
9244
|
-
didReceiveUpdate ||
|
9244
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2476)
|
9245
9245
|
) {
|
9246
|
-
|
9246
|
+
JSCompiler_object_inline_digest_2476 = workInProgressRoot;
|
9247
9247
|
if (
|
9248
|
-
null !==
|
9249
|
-
((
|
9250
|
-
(
|
9251
|
-
0 !== (
|
9248
|
+
null !== JSCompiler_object_inline_digest_2476 &&
|
9249
|
+
((JSCompiler_object_inline_stack_2477 = renderLanes & -renderLanes),
|
9250
|
+
(JSCompiler_object_inline_stack_2477 =
|
9251
|
+
0 !== (JSCompiler_object_inline_stack_2477 & 42)
|
9252
9252
|
? 1
|
9253
9253
|
: getBumpedLaneForHydrationByLane(
|
9254
|
-
|
9254
|
+
JSCompiler_object_inline_stack_2477
|
9255
9255
|
)),
|
9256
|
-
(
|
9256
|
+
(JSCompiler_object_inline_stack_2477 =
|
9257
9257
|
0 !==
|
9258
|
-
(
|
9259
|
-
(
|
9258
|
+
(JSCompiler_object_inline_stack_2477 &
|
9259
|
+
(JSCompiler_object_inline_digest_2476.suspendedLanes |
|
9260
9260
|
renderLanes))
|
9261
9261
|
? 0
|
9262
|
-
:
|
9263
|
-
0 !==
|
9264
|
-
|
9262
|
+
: JSCompiler_object_inline_stack_2477),
|
9263
|
+
0 !== JSCompiler_object_inline_stack_2477 &&
|
9264
|
+
JSCompiler_object_inline_stack_2477 !== prevState.retryLane)
|
9265
9265
|
)
|
9266
9266
|
throw (
|
9267
|
-
((prevState.retryLane =
|
9267
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2477),
|
9268
9268
|
enqueueConcurrentRenderForLane(
|
9269
9269
|
current,
|
9270
|
-
|
9270
|
+
JSCompiler_object_inline_stack_2477
|
9271
9271
|
),
|
9272
9272
|
scheduleUpdateOnFiber(
|
9273
|
-
|
9273
|
+
JSCompiler_object_inline_digest_2476,
|
9274
9274
|
current,
|
9275
|
-
|
9275
|
+
JSCompiler_object_inline_stack_2477
|
9276
9276
|
),
|
9277
9277
|
SelectiveHydrationException)
|
9278
9278
|
);
|
9279
|
-
|
9279
|
+
JSCompiler_object_inline_message_2475.data ===
|
9280
9280
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9281
9281
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9282
9282
|
current,
|
@@ -9284,14 +9284,14 @@
|
|
9284
9284
|
renderLanes
|
9285
9285
|
);
|
9286
9286
|
} else
|
9287
|
-
|
9287
|
+
JSCompiler_object_inline_message_2475.data ===
|
9288
9288
|
SUSPENSE_PENDING_START_DATA
|
9289
9289
|
? ((workInProgress.flags |= 192),
|
9290
9290
|
(workInProgress.child = current.child),
|
9291
9291
|
(workInProgress = null))
|
9292
9292
|
: ((current = prevState.treeContext),
|
9293
9293
|
(nextHydratableInstance = getNextHydratable(
|
9294
|
-
|
9294
|
+
JSCompiler_object_inline_message_2475.nextSibling
|
9295
9295
|
)),
|
9296
9296
|
(hydrationParentFiber = workInProgress),
|
9297
9297
|
(isHydrating = !0),
|
@@ -9309,57 +9309,57 @@
|
|
9309
9309
|
(treeContextProvider = workInProgress)),
|
9310
9310
|
(workInProgress = mountSuspensePrimaryChildren(
|
9311
9311
|
workInProgress,
|
9312
|
-
|
9312
|
+
JSCompiler_object_inline_stack_2477.children
|
9313
9313
|
)),
|
9314
9314
|
(workInProgress.flags |= 4096));
|
9315
9315
|
return workInProgress;
|
9316
9316
|
}
|
9317
|
-
if (
|
9317
|
+
if (JSCompiler_object_inline_componentStack_2478)
|
9318
9318
|
return (
|
9319
9319
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9320
|
-
(
|
9321
|
-
|
9322
|
-
(
|
9320
|
+
(JSCompiler_object_inline_componentStack_2478 =
|
9321
|
+
JSCompiler_object_inline_stack_2477.fallback),
|
9322
|
+
(JSCompiler_object_inline_message_2475 = workInProgress.mode),
|
9323
9323
|
(JSCompiler_temp = current.child),
|
9324
9324
|
(instance = JSCompiler_temp.sibling),
|
9325
|
-
(
|
9325
|
+
(JSCompiler_object_inline_stack_2477 = createWorkInProgress(
|
9326
9326
|
JSCompiler_temp,
|
9327
9327
|
{
|
9328
9328
|
mode: "hidden",
|
9329
|
-
children:
|
9329
|
+
children: JSCompiler_object_inline_stack_2477.children
|
9330
9330
|
}
|
9331
9331
|
)),
|
9332
|
-
(
|
9332
|
+
(JSCompiler_object_inline_stack_2477.subtreeFlags =
|
9333
9333
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9334
9334
|
null !== instance
|
9335
|
-
? (
|
9335
|
+
? (JSCompiler_object_inline_componentStack_2478 =
|
9336
9336
|
createWorkInProgress(
|
9337
9337
|
instance,
|
9338
|
-
|
9338
|
+
JSCompiler_object_inline_componentStack_2478
|
9339
9339
|
))
|
9340
|
-
: ((
|
9340
|
+
: ((JSCompiler_object_inline_componentStack_2478 =
|
9341
9341
|
createFiberFromFragment(
|
9342
|
-
|
9343
|
-
|
9342
|
+
JSCompiler_object_inline_componentStack_2478,
|
9343
|
+
JSCompiler_object_inline_message_2475,
|
9344
9344
|
renderLanes,
|
9345
9345
|
null
|
9346
9346
|
)),
|
9347
|
-
(
|
9348
|
-
(
|
9347
|
+
(JSCompiler_object_inline_componentStack_2478.flags |= 2)),
|
9348
|
+
(JSCompiler_object_inline_componentStack_2478.return =
|
9349
9349
|
workInProgress),
|
9350
|
-
(
|
9351
|
-
(
|
9352
|
-
|
9353
|
-
(workInProgress.child =
|
9354
|
-
(
|
9355
|
-
|
9356
|
-
(
|
9357
|
-
(
|
9358
|
-
null ===
|
9359
|
-
? (
|
9350
|
+
(JSCompiler_object_inline_stack_2477.return = workInProgress),
|
9351
|
+
(JSCompiler_object_inline_stack_2477.sibling =
|
9352
|
+
JSCompiler_object_inline_componentStack_2478),
|
9353
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2477),
|
9354
|
+
(JSCompiler_object_inline_stack_2477 =
|
9355
|
+
JSCompiler_object_inline_componentStack_2478),
|
9356
|
+
(JSCompiler_object_inline_componentStack_2478 = workInProgress.child),
|
9357
|
+
(JSCompiler_object_inline_message_2475 = current.child.memoizedState),
|
9358
|
+
null === JSCompiler_object_inline_message_2475
|
9359
|
+
? (JSCompiler_object_inline_message_2475 =
|
9360
9360
|
mountSuspenseOffscreenState(renderLanes))
|
9361
9361
|
: ((JSCompiler_temp =
|
9362
|
-
|
9362
|
+
JSCompiler_object_inline_message_2475.cachePool),
|
9363
9363
|
null !== JSCompiler_temp
|
9364
9364
|
? ((instance = CacheContext._currentValue),
|
9365
9365
|
(JSCompiler_temp =
|
@@ -9367,37 +9367,37 @@
|
|
9367
9367
|
? { parent: instance, pool: instance }
|
9368
9368
|
: JSCompiler_temp))
|
9369
9369
|
: (JSCompiler_temp = getSuspendedCache()),
|
9370
|
-
(
|
9370
|
+
(JSCompiler_object_inline_message_2475 = {
|
9371
9371
|
baseLanes:
|
9372
|
-
|
9372
|
+
JSCompiler_object_inline_message_2475.baseLanes | renderLanes,
|
9373
9373
|
cachePool: JSCompiler_temp
|
9374
9374
|
})),
|
9375
|
-
(
|
9376
|
-
|
9377
|
-
(
|
9375
|
+
(JSCompiler_object_inline_componentStack_2478.memoizedState =
|
9376
|
+
JSCompiler_object_inline_message_2475),
|
9377
|
+
(JSCompiler_object_inline_componentStack_2478.childLanes =
|
9378
9378
|
getRemainingWorkInPrimaryTree(
|
9379
9379
|
current,
|
9380
|
-
|
9380
|
+
JSCompiler_object_inline_digest_2476,
|
9381
9381
|
renderLanes
|
9382
9382
|
)),
|
9383
9383
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9384
|
-
|
9384
|
+
JSCompiler_object_inline_stack_2477
|
9385
9385
|
);
|
9386
9386
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9387
9387
|
renderLanes = current.child;
|
9388
9388
|
current = renderLanes.sibling;
|
9389
9389
|
renderLanes = createWorkInProgress(renderLanes, {
|
9390
9390
|
mode: "visible",
|
9391
|
-
children:
|
9391
|
+
children: JSCompiler_object_inline_stack_2477.children
|
9392
9392
|
});
|
9393
9393
|
renderLanes.return = workInProgress;
|
9394
9394
|
renderLanes.sibling = null;
|
9395
9395
|
null !== current &&
|
9396
|
-
((
|
9397
|
-
null ===
|
9396
|
+
((JSCompiler_object_inline_digest_2476 = workInProgress.deletions),
|
9397
|
+
null === JSCompiler_object_inline_digest_2476
|
9398
9398
|
? ((workInProgress.deletions = [current]),
|
9399
9399
|
(workInProgress.flags |= 16))
|
9400
|
-
:
|
9400
|
+
: JSCompiler_object_inline_digest_2476.push(current));
|
9401
9401
|
workInProgress.child = renderLanes;
|
9402
9402
|
workInProgress.memoizedState = null;
|
9403
9403
|
return renderLanes;
|
@@ -13501,14 +13501,18 @@
|
|
13501
13501
|
}
|
13502
13502
|
function emitPendingHydrationWarnings() {
|
13503
13503
|
var diffRoot = hydrationDiffRootDEV;
|
13504
|
-
null !== diffRoot
|
13505
|
-
|
13506
|
-
(
|
13507
|
-
|
13508
|
-
|
13509
|
-
|
13510
|
-
|
13511
|
-
|
13504
|
+
if (null !== diffRoot) {
|
13505
|
+
hydrationDiffRootDEV = null;
|
13506
|
+
for (var diff = describeDiff(diffRoot); 0 < diffRoot.children.length; )
|
13507
|
+
diffRoot = diffRoot.children[0];
|
13508
|
+
runWithFiberInDEV(diffRoot.fiber, function () {
|
13509
|
+
console.error(
|
13510
|
+
"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",
|
13511
|
+
"https://react.dev/link/hydration-mismatch",
|
13512
|
+
diff
|
13513
|
+
);
|
13514
|
+
});
|
13515
|
+
}
|
13512
13516
|
}
|
13513
13517
|
function markUpdate(workInProgress) {
|
13514
13518
|
workInProgress.flags |= 4;
|
@@ -15684,30 +15688,24 @@
|
|
15684
15688
|
var prevExecutionContext = executionContext;
|
15685
15689
|
executionContext |= CommitContext;
|
15686
15690
|
try {
|
15687
|
-
var
|
15688
|
-
|
15691
|
+
var rootClone = root.gestureClone;
|
15692
|
+
if (null !== rootClone) {
|
15693
|
+
root.gestureClone = null;
|
15694
|
+
var rootContainer = root.containerInfo;
|
15695
|
+
var containerInstance =
|
15689
15696
|
9 === rootContainer.nodeType
|
15690
|
-
? rootContainer.
|
15691
|
-
: rootContainer.
|
15692
|
-
|
15693
|
-
|
15694
|
-
|
15695
|
-
|
15696
|
-
|
15697
|
-
|
15698
|
-
|
15699
|
-
|
15700
|
-
|
15701
|
-
|
15702
|
-
),
|
15703
|
-
documentElement.animate(
|
15704
|
-
{ width: [0, 0], height: [0, 0] },
|
15705
|
-
{
|
15706
|
-
duration: 0,
|
15707
|
-
fill: "forwards",
|
15708
|
-
pseudoElement: "::view-transition"
|
15709
|
-
}
|
15710
|
-
));
|
15697
|
+
? rootContainer.body
|
15698
|
+
: "HTML" === rootContainer.nodeName
|
15699
|
+
? rootContainer.ownerDocument.body
|
15700
|
+
: rootContainer;
|
15701
|
+
var containerParent = containerInstance.parentNode;
|
15702
|
+
if (null === containerParent)
|
15703
|
+
throw Error(
|
15704
|
+
"Cannot use a useSwipeTransition() in a detached root."
|
15705
|
+
);
|
15706
|
+
containerParent.removeChild(rootClone);
|
15707
|
+
containerInstance.style.viewTransitionName = "root";
|
15708
|
+
}
|
15711
15709
|
} finally {
|
15712
15710
|
(executionContext = prevExecutionContext),
|
15713
15711
|
(ReactDOMSharedInternals.p = previousPriority),
|
@@ -15748,11 +15746,16 @@
|
|
15748
15746
|
var prevExecutionContext = executionContext;
|
15749
15747
|
executionContext |= CommitContext;
|
15750
15748
|
try {
|
15751
|
-
var rootContainer = root.containerInfo
|
15752
|
-
|
15753
|
-
|
15754
|
-
|
15755
|
-
|
15749
|
+
var rootContainer = root.containerInfo;
|
15750
|
+
var containerInstance =
|
15751
|
+
9 === rootContainer.nodeType
|
15752
|
+
? rootContainer.body
|
15753
|
+
: "HTML" === rootContainer.nodeName
|
15754
|
+
? rootContainer.ownerDocument.body
|
15755
|
+
: rootContainer;
|
15756
|
+
"root" === containerInstance.style.viewTransitionName &&
|
15757
|
+
(containerInstance.style.viewTransitionName = "");
|
15758
|
+
var documentElement = containerInstance.ownerDocument.documentElement;
|
15756
15759
|
null !== documentElement &&
|
15757
15760
|
"none" === documentElement.style.viewTransitionName &&
|
15758
15761
|
(documentElement.style.viewTransitionName = "");
|
@@ -17995,6 +17998,8 @@
|
|
17995
17998
|
}
|
17996
17999
|
return;
|
17997
18000
|
case "dialog":
|
18001
|
+
listenToNonDelegatedEvent("beforetoggle", domElement);
|
18002
|
+
listenToNonDelegatedEvent("toggle", domElement);
|
17998
18003
|
listenToNonDelegatedEvent("cancel", domElement);
|
17999
18004
|
listenToNonDelegatedEvent("close", domElement);
|
18000
18005
|
break;
|
@@ -24892,11 +24897,11 @@
|
|
24892
24897
|
};
|
24893
24898
|
(function () {
|
24894
24899
|
var isomorphicReactPackageVersion = React.version;
|
24895
|
-
if ("19.1.0-canary-
|
24900
|
+
if ("19.1.0-canary-029e8bd6-20250306" !== isomorphicReactPackageVersion)
|
24896
24901
|
throw Error(
|
24897
24902
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24898
24903
|
(isomorphicReactPackageVersion +
|
24899
|
-
"\n - react-dom: 19.1.0-canary-
|
24904
|
+
"\n - react-dom: 19.1.0-canary-029e8bd6-20250306\nLearn more: https://react.dev/warnings/version-mismatch")
|
24900
24905
|
);
|
24901
24906
|
})();
|
24902
24907
|
("function" === typeof Map &&
|
@@ -24933,10 +24938,10 @@
|
|
24933
24938
|
!(function () {
|
24934
24939
|
var internals = {
|
24935
24940
|
bundleType: 1,
|
24936
|
-
version: "19.1.0-canary-
|
24941
|
+
version: "19.1.0-canary-029e8bd6-20250306",
|
24937
24942
|
rendererPackageName: "react-dom",
|
24938
24943
|
currentDispatcherRef: ReactSharedInternals,
|
24939
|
-
reconcilerVersion: "19.1.0-canary-
|
24944
|
+
reconcilerVersion: "19.1.0-canary-029e8bd6-20250306"
|
24940
24945
|
};
|
24941
24946
|
internals.overrideHookState = overrideHookState;
|
24942
24947
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25410,7 +25415,7 @@
|
|
25410
25415
|
exports.useFormStatus = function () {
|
25411
25416
|
return resolveDispatcher().useHostTransitionStatus();
|
25412
25417
|
};
|
25413
|
-
exports.version = "19.1.0-canary-
|
25418
|
+
exports.version = "19.1.0-canary-029e8bd6-20250306";
|
25414
25419
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25415
25420
|
"function" ===
|
25416
25421
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|