react-dom 19.1.0-canary-3b009b4c-20250102 → 19.1.0-canary-7b402084-20250107
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 +558 -541
- package/cjs/react-dom-client.production.js +419 -384
- package/cjs/react-dom-profiling.development.js +558 -541
- package/cjs/react-dom-profiling.profiling.js +464 -429
- 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
|
@@ -97,13 +97,14 @@
|
|
|
97
97
|
}
|
|
98
98
|
function scheduleRoot(root, element) {
|
|
99
99
|
root.context === emptyContextObject &&
|
|
100
|
-
(
|
|
100
|
+
(updateContainerImpl(root.current, 2, element, root, null, null),
|
|
101
|
+
flushSyncWork$1());
|
|
101
102
|
}
|
|
102
103
|
function scheduleRefresh(root, update) {
|
|
103
104
|
if (null !== resolveFamily) {
|
|
104
105
|
var staleFamilies = update.staleFamilies;
|
|
105
106
|
update = update.updatedFamilies;
|
|
106
|
-
|
|
107
|
+
flushPendingEffects();
|
|
107
108
|
scheduleFibersWithFamiliesRecursively(
|
|
108
109
|
root.current,
|
|
109
110
|
update,
|
|
@@ -9101,32 +9102,32 @@
|
|
|
9101
9102
|
return current;
|
|
9102
9103
|
}
|
|
9103
9104
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
9104
|
-
var
|
|
9105
|
-
var
|
|
9105
|
+
var JSCompiler_object_inline_digest_2367;
|
|
9106
|
+
var JSCompiler_object_inline_stack_2368 = workInProgress.pendingProps;
|
|
9106
9107
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
9107
|
-
var
|
|
9108
|
+
var JSCompiler_object_inline_componentStack_2369 = !1;
|
|
9108
9109
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
9109
|
-
(
|
|
9110
|
-
(
|
|
9110
|
+
(JSCompiler_object_inline_digest_2367 = didSuspend) ||
|
|
9111
|
+
(JSCompiler_object_inline_digest_2367 =
|
|
9111
9112
|
null !== current && null === current.memoizedState
|
|
9112
9113
|
? !1
|
|
9113
9114
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
9114
|
-
|
|
9115
|
-
((
|
|
9115
|
+
JSCompiler_object_inline_digest_2367 &&
|
|
9116
|
+
((JSCompiler_object_inline_componentStack_2369 = !0),
|
|
9116
9117
|
(workInProgress.flags &= -129));
|
|
9117
|
-
|
|
9118
|
+
JSCompiler_object_inline_digest_2367 = 0 !== (workInProgress.flags & 32);
|
|
9118
9119
|
workInProgress.flags &= -33;
|
|
9119
9120
|
if (null === current) {
|
|
9120
9121
|
if (isHydrating) {
|
|
9121
|
-
|
|
9122
|
+
JSCompiler_object_inline_componentStack_2369
|
|
9122
9123
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
|
9123
9124
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
|
9124
9125
|
if (isHydrating) {
|
|
9125
|
-
var
|
|
9126
|
+
var JSCompiler_object_inline_message_2366 = nextHydratableInstance;
|
|
9126
9127
|
var JSCompiler_temp;
|
|
9127
|
-
if (!(JSCompiler_temp = !
|
|
9128
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2366)) {
|
|
9128
9129
|
c: {
|
|
9129
|
-
var instance =
|
|
9130
|
+
var instance = JSCompiler_object_inline_message_2366;
|
|
9130
9131
|
for (
|
|
9131
9132
|
JSCompiler_temp = rootOrSingletonContext;
|
|
9132
9133
|
8 !== instance.nodeType;
|
|
@@ -9168,77 +9169,77 @@
|
|
|
9168
9169
|
JSCompiler_temp &&
|
|
9169
9170
|
(warnNonHydratedInstance(
|
|
9170
9171
|
workInProgress,
|
|
9171
|
-
|
|
9172
|
+
JSCompiler_object_inline_message_2366
|
|
9172
9173
|
),
|
|
9173
9174
|
throwOnHydrationMismatch(workInProgress));
|
|
9174
9175
|
}
|
|
9175
|
-
|
|
9176
|
+
JSCompiler_object_inline_message_2366 = workInProgress.memoizedState;
|
|
9176
9177
|
if (
|
|
9177
|
-
null !==
|
|
9178
|
-
((
|
|
9179
|
-
|
|
9180
|
-
null !==
|
|
9178
|
+
null !== JSCompiler_object_inline_message_2366 &&
|
|
9179
|
+
((JSCompiler_object_inline_message_2366 =
|
|
9180
|
+
JSCompiler_object_inline_message_2366.dehydrated),
|
|
9181
|
+
null !== JSCompiler_object_inline_message_2366)
|
|
9181
9182
|
)
|
|
9182
9183
|
return (
|
|
9183
|
-
isSuspenseInstanceFallback(
|
|
9184
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2366)
|
|
9184
9185
|
? (workInProgress.lanes = 32)
|
|
9185
9186
|
: (workInProgress.lanes = 536870912),
|
|
9186
9187
|
null
|
|
9187
9188
|
);
|
|
9188
9189
|
popSuspenseHandler(workInProgress);
|
|
9189
9190
|
}
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
if (
|
|
9191
|
+
JSCompiler_object_inline_message_2366 =
|
|
9192
|
+
JSCompiler_object_inline_stack_2368.children;
|
|
9193
|
+
JSCompiler_object_inline_stack_2368 =
|
|
9194
|
+
JSCompiler_object_inline_stack_2368.fallback;
|
|
9195
|
+
if (JSCompiler_object_inline_componentStack_2369)
|
|
9195
9196
|
return (
|
|
9196
9197
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
9197
|
-
(
|
|
9198
|
+
(JSCompiler_object_inline_componentStack_2369 =
|
|
9198
9199
|
workInProgress.mode),
|
|
9199
|
-
(
|
|
9200
|
+
(JSCompiler_object_inline_message_2366 =
|
|
9200
9201
|
mountWorkInProgressOffscreenFiber(
|
|
9201
9202
|
{
|
|
9202
9203
|
mode: "hidden",
|
|
9203
|
-
children:
|
|
9204
|
+
children: JSCompiler_object_inline_message_2366
|
|
9204
9205
|
},
|
|
9205
|
-
|
|
9206
|
+
JSCompiler_object_inline_componentStack_2369
|
|
9206
9207
|
)),
|
|
9207
|
-
(
|
|
9208
|
-
|
|
9209
|
-
|
|
9208
|
+
(JSCompiler_object_inline_stack_2368 = createFiberFromFragment(
|
|
9209
|
+
JSCompiler_object_inline_stack_2368,
|
|
9210
|
+
JSCompiler_object_inline_componentStack_2369,
|
|
9210
9211
|
renderLanes,
|
|
9211
9212
|
null
|
|
9212
9213
|
)),
|
|
9213
|
-
(
|
|
9214
|
-
(
|
|
9215
|
-
(
|
|
9216
|
-
|
|
9217
|
-
(workInProgress.child =
|
|
9218
|
-
(
|
|
9214
|
+
(JSCompiler_object_inline_message_2366.return = workInProgress),
|
|
9215
|
+
(JSCompiler_object_inline_stack_2368.return = workInProgress),
|
|
9216
|
+
(JSCompiler_object_inline_message_2366.sibling =
|
|
9217
|
+
JSCompiler_object_inline_stack_2368),
|
|
9218
|
+
(workInProgress.child = JSCompiler_object_inline_message_2366),
|
|
9219
|
+
(JSCompiler_object_inline_componentStack_2369 =
|
|
9219
9220
|
workInProgress.child),
|
|
9220
|
-
(
|
|
9221
|
+
(JSCompiler_object_inline_componentStack_2369.memoizedState =
|
|
9221
9222
|
mountSuspenseOffscreenState(renderLanes)),
|
|
9222
|
-
(
|
|
9223
|
+
(JSCompiler_object_inline_componentStack_2369.childLanes =
|
|
9223
9224
|
getRemainingWorkInPrimaryTree(
|
|
9224
9225
|
current,
|
|
9225
|
-
|
|
9226
|
+
JSCompiler_object_inline_digest_2367,
|
|
9226
9227
|
renderLanes
|
|
9227
9228
|
)),
|
|
9228
9229
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
9229
|
-
|
|
9230
|
+
JSCompiler_object_inline_stack_2368
|
|
9230
9231
|
);
|
|
9231
9232
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
9232
9233
|
return mountSuspensePrimaryChildren(
|
|
9233
9234
|
workInProgress,
|
|
9234
|
-
|
|
9235
|
+
JSCompiler_object_inline_message_2366
|
|
9235
9236
|
);
|
|
9236
9237
|
}
|
|
9237
9238
|
var prevState = current.memoizedState;
|
|
9238
9239
|
if (
|
|
9239
9240
|
null !== prevState &&
|
|
9240
|
-
((
|
|
9241
|
-
null !==
|
|
9241
|
+
((JSCompiler_object_inline_message_2366 = prevState.dehydrated),
|
|
9242
|
+
null !== JSCompiler_object_inline_message_2366)
|
|
9242
9243
|
) {
|
|
9243
9244
|
if (didSuspend)
|
|
9244
9245
|
workInProgress.flags & 256
|
|
@@ -9255,94 +9256,94 @@
|
|
|
9255
9256
|
(workInProgress.flags |= 128),
|
|
9256
9257
|
(workInProgress = null))
|
|
9257
9258
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
|
9258
|
-
(
|
|
9259
|
-
|
|
9260
|
-
(
|
|
9261
|
-
(
|
|
9259
|
+
(JSCompiler_object_inline_componentStack_2369 =
|
|
9260
|
+
JSCompiler_object_inline_stack_2368.fallback),
|
|
9261
|
+
(JSCompiler_object_inline_message_2366 = workInProgress.mode),
|
|
9262
|
+
(JSCompiler_object_inline_stack_2368 =
|
|
9262
9263
|
mountWorkInProgressOffscreenFiber(
|
|
9263
9264
|
{
|
|
9264
9265
|
mode: "visible",
|
|
9265
|
-
children:
|
|
9266
|
+
children: JSCompiler_object_inline_stack_2368.children
|
|
9266
9267
|
},
|
|
9267
|
-
|
|
9268
|
+
JSCompiler_object_inline_message_2366
|
|
9268
9269
|
)),
|
|
9269
|
-
(
|
|
9270
|
+
(JSCompiler_object_inline_componentStack_2369 =
|
|
9270
9271
|
createFiberFromFragment(
|
|
9271
|
-
|
|
9272
|
-
|
|
9272
|
+
JSCompiler_object_inline_componentStack_2369,
|
|
9273
|
+
JSCompiler_object_inline_message_2366,
|
|
9273
9274
|
renderLanes,
|
|
9274
9275
|
null
|
|
9275
9276
|
)),
|
|
9276
|
-
(
|
|
9277
|
-
(
|
|
9278
|
-
(
|
|
9277
|
+
(JSCompiler_object_inline_componentStack_2369.flags |= 2),
|
|
9278
|
+
(JSCompiler_object_inline_stack_2368.return = workInProgress),
|
|
9279
|
+
(JSCompiler_object_inline_componentStack_2369.return =
|
|
9279
9280
|
workInProgress),
|
|
9280
|
-
(
|
|
9281
|
-
|
|
9282
|
-
(workInProgress.child =
|
|
9281
|
+
(JSCompiler_object_inline_stack_2368.sibling =
|
|
9282
|
+
JSCompiler_object_inline_componentStack_2369),
|
|
9283
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2368),
|
|
9283
9284
|
reconcileChildFibers(
|
|
9284
9285
|
workInProgress,
|
|
9285
9286
|
current.child,
|
|
9286
9287
|
null,
|
|
9287
9288
|
renderLanes
|
|
9288
9289
|
),
|
|
9289
|
-
(
|
|
9290
|
-
(
|
|
9290
|
+
(JSCompiler_object_inline_stack_2368 = workInProgress.child),
|
|
9291
|
+
(JSCompiler_object_inline_stack_2368.memoizedState =
|
|
9291
9292
|
mountSuspenseOffscreenState(renderLanes)),
|
|
9292
|
-
(
|
|
9293
|
+
(JSCompiler_object_inline_stack_2368.childLanes =
|
|
9293
9294
|
getRemainingWorkInPrimaryTree(
|
|
9294
9295
|
current,
|
|
9295
|
-
|
|
9296
|
+
JSCompiler_object_inline_digest_2367,
|
|
9296
9297
|
renderLanes
|
|
9297
9298
|
)),
|
|
9298
9299
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
9299
9300
|
(workInProgress =
|
|
9300
|
-
|
|
9301
|
+
JSCompiler_object_inline_componentStack_2369));
|
|
9301
9302
|
else if (
|
|
9302
9303
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
9303
9304
|
isHydrating &&
|
|
9304
9305
|
console.error(
|
|
9305
9306
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
|
9306
9307
|
),
|
|
9307
|
-
isSuspenseInstanceFallback(
|
|
9308
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2366))
|
|
9308
9309
|
) {
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
if (
|
|
9313
|
-
JSCompiler_temp =
|
|
9314
|
-
var message =
|
|
9315
|
-
instance =
|
|
9316
|
-
var componentStack =
|
|
9310
|
+
JSCompiler_object_inline_digest_2367 =
|
|
9311
|
+
JSCompiler_object_inline_message_2366.nextSibling &&
|
|
9312
|
+
JSCompiler_object_inline_message_2366.nextSibling.dataset;
|
|
9313
|
+
if (JSCompiler_object_inline_digest_2367) {
|
|
9314
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2367.dgst;
|
|
9315
|
+
var message = JSCompiler_object_inline_digest_2367.msg;
|
|
9316
|
+
instance = JSCompiler_object_inline_digest_2367.stck;
|
|
9317
|
+
var componentStack = JSCompiler_object_inline_digest_2367.cstck;
|
|
9317
9318
|
}
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
JSCompiler_temp =
|
|
9319
|
+
JSCompiler_object_inline_message_2366 = message;
|
|
9320
|
+
JSCompiler_object_inline_digest_2367 = JSCompiler_temp;
|
|
9321
|
+
JSCompiler_object_inline_stack_2368 = instance;
|
|
9322
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2369 =
|
|
9322
9323
|
componentStack;
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
? Error(
|
|
9324
|
+
JSCompiler_object_inline_componentStack_2369 =
|
|
9325
|
+
JSCompiler_object_inline_message_2366
|
|
9326
|
+
? Error(JSCompiler_object_inline_message_2366)
|
|
9326
9327
|
: Error(
|
|
9327
9328
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
|
9328
9329
|
);
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9330
|
+
JSCompiler_object_inline_componentStack_2369.stack =
|
|
9331
|
+
JSCompiler_object_inline_stack_2368 || "";
|
|
9332
|
+
JSCompiler_object_inline_componentStack_2369.digest =
|
|
9333
|
+
JSCompiler_object_inline_digest_2367;
|
|
9334
|
+
JSCompiler_object_inline_digest_2367 =
|
|
9334
9335
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
|
9335
|
-
|
|
9336
|
-
value:
|
|
9336
|
+
JSCompiler_object_inline_stack_2368 = {
|
|
9337
|
+
value: JSCompiler_object_inline_componentStack_2369,
|
|
9337
9338
|
source: null,
|
|
9338
|
-
stack:
|
|
9339
|
+
stack: JSCompiler_object_inline_digest_2367
|
|
9339
9340
|
};
|
|
9340
|
-
"string" === typeof
|
|
9341
|
+
"string" === typeof JSCompiler_object_inline_digest_2367 &&
|
|
9341
9342
|
CapturedStacks.set(
|
|
9342
|
-
|
|
9343
|
-
|
|
9343
|
+
JSCompiler_object_inline_componentStack_2369,
|
|
9344
|
+
JSCompiler_object_inline_stack_2368
|
|
9344
9345
|
);
|
|
9345
|
-
queueHydrationError(
|
|
9346
|
+
queueHydrationError(JSCompiler_object_inline_stack_2368);
|
|
9346
9347
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
9347
9348
|
current,
|
|
9348
9349
|
workInProgress,
|
|
@@ -9356,44 +9357,44 @@
|
|
|
9356
9357
|
renderLanes,
|
|
9357
9358
|
!1
|
|
9358
9359
|
),
|
|
9359
|
-
(
|
|
9360
|
+
(JSCompiler_object_inline_digest_2367 =
|
|
9360
9361
|
0 !== (renderLanes & current.childLanes)),
|
|
9361
|
-
didReceiveUpdate ||
|
|
9362
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2367)
|
|
9362
9363
|
) {
|
|
9363
|
-
|
|
9364
|
+
JSCompiler_object_inline_digest_2367 = workInProgressRoot;
|
|
9364
9365
|
if (
|
|
9365
|
-
null !==
|
|
9366
|
-
((
|
|
9367
|
-
(
|
|
9368
|
-
0 !== (
|
|
9366
|
+
null !== JSCompiler_object_inline_digest_2367 &&
|
|
9367
|
+
((JSCompiler_object_inline_stack_2368 = renderLanes & -renderLanes),
|
|
9368
|
+
(JSCompiler_object_inline_stack_2368 =
|
|
9369
|
+
0 !== (JSCompiler_object_inline_stack_2368 & 42)
|
|
9369
9370
|
? 1
|
|
9370
9371
|
: getBumpedLaneForHydrationByLane(
|
|
9371
|
-
|
|
9372
|
+
JSCompiler_object_inline_stack_2368
|
|
9372
9373
|
)),
|
|
9373
|
-
(
|
|
9374
|
+
(JSCompiler_object_inline_stack_2368 =
|
|
9374
9375
|
0 !==
|
|
9375
|
-
(
|
|
9376
|
-
(
|
|
9376
|
+
(JSCompiler_object_inline_stack_2368 &
|
|
9377
|
+
(JSCompiler_object_inline_digest_2367.suspendedLanes |
|
|
9377
9378
|
renderLanes))
|
|
9378
9379
|
? 0
|
|
9379
|
-
:
|
|
9380
|
-
0 !==
|
|
9381
|
-
|
|
9380
|
+
: JSCompiler_object_inline_stack_2368),
|
|
9381
|
+
0 !== JSCompiler_object_inline_stack_2368 &&
|
|
9382
|
+
JSCompiler_object_inline_stack_2368 !== prevState.retryLane)
|
|
9382
9383
|
)
|
|
9383
9384
|
throw (
|
|
9384
|
-
((prevState.retryLane =
|
|
9385
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2368),
|
|
9385
9386
|
enqueueConcurrentRenderForLane(
|
|
9386
9387
|
current,
|
|
9387
|
-
|
|
9388
|
+
JSCompiler_object_inline_stack_2368
|
|
9388
9389
|
),
|
|
9389
9390
|
scheduleUpdateOnFiber(
|
|
9390
|
-
|
|
9391
|
+
JSCompiler_object_inline_digest_2367,
|
|
9391
9392
|
current,
|
|
9392
|
-
|
|
9393
|
+
JSCompiler_object_inline_stack_2368
|
|
9393
9394
|
),
|
|
9394
9395
|
SelectiveHydrationException)
|
|
9395
9396
|
);
|
|
9396
|
-
|
|
9397
|
+
JSCompiler_object_inline_message_2366.data ===
|
|
9397
9398
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
|
9398
9399
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
9399
9400
|
current,
|
|
@@ -9401,14 +9402,14 @@
|
|
|
9401
9402
|
renderLanes
|
|
9402
9403
|
);
|
|
9403
9404
|
} else
|
|
9404
|
-
|
|
9405
|
+
JSCompiler_object_inline_message_2366.data ===
|
|
9405
9406
|
SUSPENSE_PENDING_START_DATA
|
|
9406
9407
|
? ((workInProgress.flags |= 192),
|
|
9407
9408
|
(workInProgress.child = current.child),
|
|
9408
9409
|
(workInProgress = null))
|
|
9409
9410
|
: ((current = prevState.treeContext),
|
|
9410
9411
|
(nextHydratableInstance = getNextHydratable(
|
|
9411
|
-
|
|
9412
|
+
JSCompiler_object_inline_message_2366.nextSibling
|
|
9412
9413
|
)),
|
|
9413
9414
|
(hydrationParentFiber = workInProgress),
|
|
9414
9415
|
(isHydrating = !0),
|
|
@@ -9426,57 +9427,57 @@
|
|
|
9426
9427
|
(treeContextProvider = workInProgress)),
|
|
9427
9428
|
(workInProgress = mountSuspensePrimaryChildren(
|
|
9428
9429
|
workInProgress,
|
|
9429
|
-
|
|
9430
|
+
JSCompiler_object_inline_stack_2368.children
|
|
9430
9431
|
)),
|
|
9431
9432
|
(workInProgress.flags |= 4096));
|
|
9432
9433
|
return workInProgress;
|
|
9433
9434
|
}
|
|
9434
|
-
if (
|
|
9435
|
+
if (JSCompiler_object_inline_componentStack_2369)
|
|
9435
9436
|
return (
|
|
9436
9437
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
9437
|
-
(
|
|
9438
|
-
|
|
9439
|
-
(
|
|
9438
|
+
(JSCompiler_object_inline_componentStack_2369 =
|
|
9439
|
+
JSCompiler_object_inline_stack_2368.fallback),
|
|
9440
|
+
(JSCompiler_object_inline_message_2366 = workInProgress.mode),
|
|
9440
9441
|
(JSCompiler_temp = current.child),
|
|
9441
9442
|
(instance = JSCompiler_temp.sibling),
|
|
9442
|
-
(
|
|
9443
|
+
(JSCompiler_object_inline_stack_2368 = createWorkInProgress(
|
|
9443
9444
|
JSCompiler_temp,
|
|
9444
9445
|
{
|
|
9445
9446
|
mode: "hidden",
|
|
9446
|
-
children:
|
|
9447
|
+
children: JSCompiler_object_inline_stack_2368.children
|
|
9447
9448
|
}
|
|
9448
9449
|
)),
|
|
9449
|
-
(
|
|
9450
|
+
(JSCompiler_object_inline_stack_2368.subtreeFlags =
|
|
9450
9451
|
JSCompiler_temp.subtreeFlags & 29360128),
|
|
9451
9452
|
null !== instance
|
|
9452
|
-
? (
|
|
9453
|
+
? (JSCompiler_object_inline_componentStack_2369 =
|
|
9453
9454
|
createWorkInProgress(
|
|
9454
9455
|
instance,
|
|
9455
|
-
|
|
9456
|
+
JSCompiler_object_inline_componentStack_2369
|
|
9456
9457
|
))
|
|
9457
|
-
: ((
|
|
9458
|
+
: ((JSCompiler_object_inline_componentStack_2369 =
|
|
9458
9459
|
createFiberFromFragment(
|
|
9459
|
-
|
|
9460
|
-
|
|
9460
|
+
JSCompiler_object_inline_componentStack_2369,
|
|
9461
|
+
JSCompiler_object_inline_message_2366,
|
|
9461
9462
|
renderLanes,
|
|
9462
9463
|
null
|
|
9463
9464
|
)),
|
|
9464
|
-
(
|
|
9465
|
-
(
|
|
9465
|
+
(JSCompiler_object_inline_componentStack_2369.flags |= 2)),
|
|
9466
|
+
(JSCompiler_object_inline_componentStack_2369.return =
|
|
9466
9467
|
workInProgress),
|
|
9467
|
-
(
|
|
9468
|
-
(
|
|
9469
|
-
|
|
9470
|
-
(workInProgress.child =
|
|
9471
|
-
(
|
|
9472
|
-
|
|
9473
|
-
(
|
|
9474
|
-
(
|
|
9475
|
-
null ===
|
|
9476
|
-
? (
|
|
9468
|
+
(JSCompiler_object_inline_stack_2368.return = workInProgress),
|
|
9469
|
+
(JSCompiler_object_inline_stack_2368.sibling =
|
|
9470
|
+
JSCompiler_object_inline_componentStack_2369),
|
|
9471
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2368),
|
|
9472
|
+
(JSCompiler_object_inline_stack_2368 =
|
|
9473
|
+
JSCompiler_object_inline_componentStack_2369),
|
|
9474
|
+
(JSCompiler_object_inline_componentStack_2369 = workInProgress.child),
|
|
9475
|
+
(JSCompiler_object_inline_message_2366 = current.child.memoizedState),
|
|
9476
|
+
null === JSCompiler_object_inline_message_2366
|
|
9477
|
+
? (JSCompiler_object_inline_message_2366 =
|
|
9477
9478
|
mountSuspenseOffscreenState(renderLanes))
|
|
9478
9479
|
: ((JSCompiler_temp =
|
|
9479
|
-
|
|
9480
|
+
JSCompiler_object_inline_message_2366.cachePool),
|
|
9480
9481
|
null !== JSCompiler_temp
|
|
9481
9482
|
? ((instance = CacheContext._currentValue),
|
|
9482
9483
|
(JSCompiler_temp =
|
|
@@ -9484,37 +9485,37 @@
|
|
|
9484
9485
|
? { parent: instance, pool: instance }
|
|
9485
9486
|
: JSCompiler_temp))
|
|
9486
9487
|
: (JSCompiler_temp = getSuspendedCache()),
|
|
9487
|
-
(
|
|
9488
|
+
(JSCompiler_object_inline_message_2366 = {
|
|
9488
9489
|
baseLanes:
|
|
9489
|
-
|
|
9490
|
+
JSCompiler_object_inline_message_2366.baseLanes | renderLanes,
|
|
9490
9491
|
cachePool: JSCompiler_temp
|
|
9491
9492
|
})),
|
|
9492
|
-
(
|
|
9493
|
-
|
|
9494
|
-
(
|
|
9493
|
+
(JSCompiler_object_inline_componentStack_2369.memoizedState =
|
|
9494
|
+
JSCompiler_object_inline_message_2366),
|
|
9495
|
+
(JSCompiler_object_inline_componentStack_2369.childLanes =
|
|
9495
9496
|
getRemainingWorkInPrimaryTree(
|
|
9496
9497
|
current,
|
|
9497
|
-
|
|
9498
|
+
JSCompiler_object_inline_digest_2367,
|
|
9498
9499
|
renderLanes
|
|
9499
9500
|
)),
|
|
9500
9501
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
9501
|
-
|
|
9502
|
+
JSCompiler_object_inline_stack_2368
|
|
9502
9503
|
);
|
|
9503
9504
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
9504
9505
|
renderLanes = current.child;
|
|
9505
9506
|
current = renderLanes.sibling;
|
|
9506
9507
|
renderLanes = createWorkInProgress(renderLanes, {
|
|
9507
9508
|
mode: "visible",
|
|
9508
|
-
children:
|
|
9509
|
+
children: JSCompiler_object_inline_stack_2368.children
|
|
9509
9510
|
});
|
|
9510
9511
|
renderLanes.return = workInProgress;
|
|
9511
9512
|
renderLanes.sibling = null;
|
|
9512
9513
|
null !== current &&
|
|
9513
|
-
((
|
|
9514
|
-
null ===
|
|
9514
|
+
((JSCompiler_object_inline_digest_2367 = workInProgress.deletions),
|
|
9515
|
+
null === JSCompiler_object_inline_digest_2367
|
|
9515
9516
|
? ((workInProgress.deletions = [current]),
|
|
9516
9517
|
(workInProgress.flags |= 16))
|
|
9517
|
-
:
|
|
9518
|
+
: JSCompiler_object_inline_digest_2367.push(current));
|
|
9518
9519
|
workInProgress.child = renderLanes;
|
|
9519
9520
|
workInProgress.memoizedState = null;
|
|
9520
9521
|
return renderLanes;
|
|
@@ -11879,7 +11880,9 @@
|
|
|
11879
11880
|
if (
|
|
11880
11881
|
((hoistableRoot = maybeNodes[i]),
|
|
11881
11882
|
hoistableRoot.getAttribute("href") ===
|
|
11882
|
-
(null == current.href
|
|
11883
|
+
(null == current.href || "" === current.href
|
|
11884
|
+
? null
|
|
11885
|
+
: current.href) &&
|
|
11883
11886
|
hoistableRoot.getAttribute("rel") ===
|
|
11884
11887
|
(null == current.rel ? null : current.rel) &&
|
|
11885
11888
|
hoistableRoot.getAttribute("title") ===
|
|
@@ -15133,8 +15136,8 @@
|
|
|
15133
15136
|
suspendedRetryLanes
|
|
15134
15137
|
) {
|
|
15135
15138
|
root.cancelPendingCommit = null;
|
|
15136
|
-
do
|
|
15137
|
-
while (
|
|
15139
|
+
do flushPendingEffects();
|
|
15140
|
+
while (pendingEffectsStatus !== NO_PENDING_EFFECTS);
|
|
15138
15141
|
ReactStrictModeWarnings.flushLegacyContextWarning();
|
|
15139
15142
|
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
|
|
15140
15143
|
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
|
|
@@ -15166,12 +15169,15 @@
|
|
|
15166
15169
|
root === workInProgressRoot &&
|
|
15167
15170
|
((workInProgress = workInProgressRoot = null),
|
|
15168
15171
|
(workInProgressRootRenderLanes = 0));
|
|
15172
|
+
pendingFinishedWork = finishedWork;
|
|
15173
|
+
pendingEffectsRoot = root;
|
|
15174
|
+
pendingEffectsLanes = lanes;
|
|
15175
|
+
pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
|
|
15176
|
+
pendingPassiveTransitions = transitions;
|
|
15177
|
+
pendingRecoverableErrors = recoverableErrors;
|
|
15169
15178
|
0 !== (finishedWork.subtreeFlags & 10256) ||
|
|
15170
15179
|
0 !== (finishedWork.flags & 10256)
|
|
15171
|
-
? ((
|
|
15172
|
-
didIncludeRenderPhaseUpdate),
|
|
15173
|
-
(pendingPassiveTransitions = transitions),
|
|
15174
|
-
(root.callbackNode = null),
|
|
15180
|
+
? ((root.callbackNode = null),
|
|
15175
15181
|
(root.callbackPriority = 0),
|
|
15176
15182
|
scheduleCallback$1(NormalPriority$1, function () {
|
|
15177
15183
|
flushPassiveEffects(!0);
|
|
@@ -15179,266 +15185,289 @@
|
|
|
15179
15185
|
}))
|
|
15180
15186
|
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
|
15181
15187
|
commitStartTime = now();
|
|
15182
|
-
|
|
15183
|
-
if (0 !== (finishedWork.subtreeFlags & 13878) ||
|
|
15184
|
-
|
|
15188
|
+
lanes = 0 !== (finishedWork.flags & 13878);
|
|
15189
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || lanes) {
|
|
15190
|
+
lanes = ReactSharedInternals.T;
|
|
15185
15191
|
ReactSharedInternals.T = null;
|
|
15186
|
-
|
|
15192
|
+
recoverableErrors = ReactDOMSharedInternals.p;
|
|
15187
15193
|
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
15188
|
-
|
|
15194
|
+
transitions = executionContext;
|
|
15189
15195
|
executionContext |= CommitContext;
|
|
15190
15196
|
try {
|
|
15191
15197
|
commitBeforeMutationEffects(root, finishedWork);
|
|
15192
15198
|
} finally {
|
|
15193
|
-
(executionContext =
|
|
15194
|
-
(ReactDOMSharedInternals.p =
|
|
15195
|
-
(ReactSharedInternals.T =
|
|
15199
|
+
(executionContext = transitions),
|
|
15200
|
+
(ReactDOMSharedInternals.p = recoverableErrors),
|
|
15201
|
+
(ReactSharedInternals.T = lanes);
|
|
15196
15202
|
}
|
|
15197
15203
|
}
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
if (
|
|
15205
|
-
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15217
|
-
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15204
|
+
pendingEffectsStatus = PENDING_MUTATION_PHASE;
|
|
15205
|
+
flushMutationEffects();
|
|
15206
|
+
flushLayoutEffects();
|
|
15207
|
+
}
|
|
15208
|
+
}
|
|
15209
|
+
function flushMutationEffects() {
|
|
15210
|
+
if (pendingEffectsStatus === PENDING_MUTATION_PHASE) {
|
|
15211
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
|
15212
|
+
var root = pendingEffectsRoot,
|
|
15213
|
+
finishedWork = pendingFinishedWork,
|
|
15214
|
+
lanes = pendingEffectsLanes,
|
|
15215
|
+
rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
|
|
15216
|
+
if (
|
|
15217
|
+
0 !== (finishedWork.subtreeFlags & 13878) ||
|
|
15218
|
+
rootMutationHasEffect
|
|
15219
|
+
) {
|
|
15220
|
+
rootMutationHasEffect = ReactSharedInternals.T;
|
|
15221
|
+
ReactSharedInternals.T = null;
|
|
15222
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
15223
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
15224
|
+
var prevExecutionContext = executionContext;
|
|
15225
|
+
executionContext |= CommitContext;
|
|
15226
|
+
try {
|
|
15227
|
+
inProgressLanes = lanes;
|
|
15228
|
+
inProgressRoot = root;
|
|
15229
|
+
commitMutationEffectsOnFiber(finishedWork, root);
|
|
15230
|
+
inProgressRoot = inProgressLanes = null;
|
|
15231
|
+
lanes = selectionInformation;
|
|
15232
|
+
var curFocusedElem = getActiveElementDeep(root.containerInfo),
|
|
15233
|
+
priorFocusedElem = lanes.focusedElem,
|
|
15234
|
+
priorSelectionRange = lanes.selectionRange;
|
|
15229
15235
|
if (
|
|
15230
|
-
|
|
15231
|
-
|
|
15236
|
+
curFocusedElem !== priorFocusedElem &&
|
|
15237
|
+
priorFocusedElem &&
|
|
15238
|
+
priorFocusedElem.ownerDocument &&
|
|
15239
|
+
containsNode(
|
|
15240
|
+
priorFocusedElem.ownerDocument.documentElement,
|
|
15241
|
+
priorFocusedElem
|
|
15242
|
+
)
|
|
15232
15243
|
) {
|
|
15233
|
-
|
|
15234
|
-
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
|
|
15238
|
-
|
|
15239
|
-
|
|
15240
|
-
|
|
15241
|
-
)
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
|
|
15263
|
-
start$jscomp$0
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
|
|
15277
|
-
|
|
15278
|
-
|
|
15279
|
-
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
-
|
|
15283
|
-
|
|
15284
|
-
|
|
15285
|
-
|
|
15244
|
+
if (
|
|
15245
|
+
null !== priorSelectionRange &&
|
|
15246
|
+
hasSelectionCapabilities(priorFocusedElem)
|
|
15247
|
+
) {
|
|
15248
|
+
var start = priorSelectionRange.start,
|
|
15249
|
+
end = priorSelectionRange.end;
|
|
15250
|
+
void 0 === end && (end = start);
|
|
15251
|
+
if ("selectionStart" in priorFocusedElem)
|
|
15252
|
+
(priorFocusedElem.selectionStart = start),
|
|
15253
|
+
(priorFocusedElem.selectionEnd = Math.min(
|
|
15254
|
+
end,
|
|
15255
|
+
priorFocusedElem.value.length
|
|
15256
|
+
));
|
|
15257
|
+
else {
|
|
15258
|
+
var doc = priorFocusedElem.ownerDocument || document,
|
|
15259
|
+
win = (doc && doc.defaultView) || window;
|
|
15260
|
+
if (win.getSelection) {
|
|
15261
|
+
var selection = win.getSelection(),
|
|
15262
|
+
length = priorFocusedElem.textContent.length,
|
|
15263
|
+
start$jscomp$0 = Math.min(
|
|
15264
|
+
priorSelectionRange.start,
|
|
15265
|
+
length
|
|
15266
|
+
),
|
|
15267
|
+
end$jscomp$0 =
|
|
15268
|
+
void 0 === priorSelectionRange.end
|
|
15269
|
+
? start$jscomp$0
|
|
15270
|
+
: Math.min(priorSelectionRange.end, length);
|
|
15271
|
+
!selection.extend &&
|
|
15272
|
+
start$jscomp$0 > end$jscomp$0 &&
|
|
15273
|
+
((curFocusedElem = end$jscomp$0),
|
|
15274
|
+
(end$jscomp$0 = start$jscomp$0),
|
|
15275
|
+
(start$jscomp$0 = curFocusedElem));
|
|
15276
|
+
var startMarker = getNodeForCharacterOffset(
|
|
15277
|
+
priorFocusedElem,
|
|
15278
|
+
start$jscomp$0
|
|
15279
|
+
),
|
|
15280
|
+
endMarker = getNodeForCharacterOffset(
|
|
15281
|
+
priorFocusedElem,
|
|
15282
|
+
end$jscomp$0
|
|
15283
|
+
);
|
|
15284
|
+
if (
|
|
15285
|
+
startMarker &&
|
|
15286
|
+
endMarker &&
|
|
15287
|
+
(1 !== selection.rangeCount ||
|
|
15288
|
+
selection.anchorNode !== startMarker.node ||
|
|
15289
|
+
selection.anchorOffset !== startMarker.offset ||
|
|
15290
|
+
selection.focusNode !== endMarker.node ||
|
|
15291
|
+
selection.focusOffset !== endMarker.offset)
|
|
15292
|
+
) {
|
|
15293
|
+
var range = doc.createRange();
|
|
15294
|
+
range.setStart(startMarker.node, startMarker.offset);
|
|
15295
|
+
selection.removeAllRanges();
|
|
15296
|
+
start$jscomp$0 > end$jscomp$0
|
|
15297
|
+
? (selection.addRange(range),
|
|
15298
|
+
selection.extend(endMarker.node, endMarker.offset))
|
|
15299
|
+
: (range.setEnd(endMarker.node, endMarker.offset),
|
|
15300
|
+
selection.addRange(range));
|
|
15301
|
+
}
|
|
15286
15302
|
}
|
|
15287
15303
|
}
|
|
15288
15304
|
}
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
|
|
15293
|
-
(selection = selection.parentNode);
|
|
15305
|
+
doc = [];
|
|
15306
|
+
for (
|
|
15307
|
+
selection = priorFocusedElem;
|
|
15308
|
+
(selection = selection.parentNode);
|
|
15294
15309
|
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
|
|
15300
|
-
|
|
15301
|
-
|
|
15302
|
-
|
|
15303
|
-
|
|
15304
|
-
|
|
15305
|
-
|
|
15306
|
-
|
|
15307
|
-
|
|
15308
|
-
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
15310
|
+
)
|
|
15311
|
+
1 === selection.nodeType &&
|
|
15312
|
+
doc.push({
|
|
15313
|
+
element: selection,
|
|
15314
|
+
left: selection.scrollLeft,
|
|
15315
|
+
top: selection.scrollTop
|
|
15316
|
+
});
|
|
15317
|
+
"function" === typeof priorFocusedElem.focus &&
|
|
15318
|
+
priorFocusedElem.focus();
|
|
15319
|
+
for (
|
|
15320
|
+
priorFocusedElem = 0;
|
|
15321
|
+
priorFocusedElem < doc.length;
|
|
15322
|
+
priorFocusedElem++
|
|
15323
|
+
) {
|
|
15324
|
+
var info = doc[priorFocusedElem];
|
|
15325
|
+
info.element.scrollLeft = info.left;
|
|
15326
|
+
info.element.scrollTop = info.top;
|
|
15327
|
+
}
|
|
15312
15328
|
}
|
|
15329
|
+
_enabled = !!eventsEnabled;
|
|
15330
|
+
selectionInformation = eventsEnabled = null;
|
|
15331
|
+
} finally {
|
|
15332
|
+
(executionContext = prevExecutionContext),
|
|
15333
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
15334
|
+
(ReactSharedInternals.T = rootMutationHasEffect);
|
|
15313
15335
|
}
|
|
15314
|
-
_enabled = !!eventsEnabled;
|
|
15315
|
-
selectionInformation = eventsEnabled = null;
|
|
15316
|
-
} finally {
|
|
15317
|
-
(executionContext = prevExecutionContext),
|
|
15318
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
|
15319
|
-
(ReactSharedInternals.T = rootMutationHasEffect);
|
|
15320
15336
|
}
|
|
15321
|
-
|
|
15322
|
-
|
|
15323
|
-
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
if (
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
|
|
15330
|
-
|
|
15331
|
-
|
|
15332
|
-
|
|
15333
|
-
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
root,
|
|
15342
|
-
finishedWork.alternate,
|
|
15343
|
-
finishedWork
|
|
15344
|
-
),
|
|
15345
|
-
(inProgressRoot = inProgressLanes = null),
|
|
15337
|
+
root.current = finishedWork;
|
|
15338
|
+
pendingEffectsStatus = PENDING_LAYOUT_PHASE;
|
|
15339
|
+
}
|
|
15340
|
+
}
|
|
15341
|
+
function flushLayoutEffects() {
|
|
15342
|
+
if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) {
|
|
15343
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
|
15344
|
+
var root = pendingEffectsRoot,
|
|
15345
|
+
finishedWork = pendingFinishedWork,
|
|
15346
|
+
lanes = pendingEffectsLanes,
|
|
15347
|
+
recoverableErrors = pendingRecoverableErrors,
|
|
15348
|
+
rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
|
|
15349
|
+
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
|
15350
|
+
rootHasLayoutEffect = ReactSharedInternals.T;
|
|
15351
|
+
ReactSharedInternals.T = null;
|
|
15352
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
15353
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
15354
|
+
var prevExecutionContext = executionContext;
|
|
15355
|
+
executionContext |= CommitContext;
|
|
15356
|
+
try {
|
|
15346
15357
|
null !== injectedProfilingHooks &&
|
|
15347
15358
|
"function" ===
|
|
15348
|
-
typeof injectedProfilingHooks.
|
|
15349
|
-
injectedProfilingHooks.
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15353
|
-
|
|
15354
|
-
|
|
15355
|
-
|
|
15356
|
-
|
|
15357
|
-
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
0 === previousPriority && (legacyErrorBoundariesThatAlreadyFailed = null);
|
|
15367
|
-
rootHasLayoutEffect || commitDoubleInvokeEffectsInDEV(root);
|
|
15368
|
-
rootHasLayoutEffect = lanesToEventPriority(lanes);
|
|
15369
|
-
finishedWork = finishedWork.stateNode;
|
|
15370
|
-
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
|
15371
|
-
try {
|
|
15372
|
-
var didError = 128 === (finishedWork.current.flags & 128);
|
|
15373
|
-
switch (rootHasLayoutEffect) {
|
|
15374
|
-
case DiscreteEventPriority:
|
|
15375
|
-
var schedulerPriority = ImmediatePriority;
|
|
15376
|
-
break;
|
|
15377
|
-
case ContinuousEventPriority:
|
|
15378
|
-
schedulerPriority = UserBlockingPriority;
|
|
15379
|
-
break;
|
|
15380
|
-
case DefaultEventPriority:
|
|
15381
|
-
schedulerPriority = NormalPriority$1;
|
|
15382
|
-
break;
|
|
15383
|
-
case IdleEventPriority:
|
|
15384
|
-
schedulerPriority = IdlePriority;
|
|
15385
|
-
break;
|
|
15386
|
-
default:
|
|
15387
|
-
schedulerPriority = NormalPriority$1;
|
|
15359
|
+
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
|
15360
|
+
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
|
15361
|
+
(inProgressLanes = lanes),
|
|
15362
|
+
(inProgressRoot = root),
|
|
15363
|
+
commitLayoutEffectOnFiber(
|
|
15364
|
+
root,
|
|
15365
|
+
finishedWork.alternate,
|
|
15366
|
+
finishedWork
|
|
15367
|
+
),
|
|
15368
|
+
(inProgressRoot = inProgressLanes = null),
|
|
15369
|
+
null !== injectedProfilingHooks &&
|
|
15370
|
+
"function" ===
|
|
15371
|
+
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
|
15372
|
+
injectedProfilingHooks.markLayoutEffectsStopped();
|
|
15373
|
+
} finally {
|
|
15374
|
+
(executionContext = prevExecutionContext),
|
|
15375
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
15376
|
+
(ReactSharedInternals.T = rootHasLayoutEffect);
|
|
15388
15377
|
}
|
|
15389
|
-
injectedHook.onCommitFiberRoot(
|
|
15390
|
-
rendererID,
|
|
15391
|
-
finishedWork,
|
|
15392
|
-
schedulerPriority,
|
|
15393
|
-
didError
|
|
15394
|
-
);
|
|
15395
|
-
} catch (err) {
|
|
15396
|
-
hasLoggedError ||
|
|
15397
|
-
((hasLoggedError = !0),
|
|
15398
|
-
console.error(
|
|
15399
|
-
"React instrumentation encountered an error: %s",
|
|
15400
|
-
err
|
|
15401
|
-
));
|
|
15402
15378
|
}
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
15413
|
-
|
|
15414
|
-
|
|
15415
|
-
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
|
|
15419
|
-
|
|
15420
|
-
|
|
15421
|
-
|
|
15422
|
-
|
|
15423
|
-
|
|
15379
|
+
requestPaint();
|
|
15380
|
+
(rootHasLayoutEffect =
|
|
15381
|
+
0 !== (finishedWork.subtreeFlags & 10256) ||
|
|
15382
|
+
0 !== (finishedWork.flags & 10256))
|
|
15383
|
+
? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
|
|
15384
|
+
: ((pendingEffectsStatus = NO_PENDING_EFFECTS),
|
|
15385
|
+
(pendingEffectsRoot = null),
|
|
15386
|
+
releaseRootPooledCache(root, root.pendingLanes),
|
|
15387
|
+
(nestedPassiveUpdateCount = 0),
|
|
15388
|
+
(rootWithPassiveNestedUpdates = null));
|
|
15389
|
+
previousPriority = root.pendingLanes;
|
|
15390
|
+
0 === previousPriority &&
|
|
15391
|
+
(legacyErrorBoundariesThatAlreadyFailed = null);
|
|
15392
|
+
rootHasLayoutEffect || commitDoubleInvokeEffectsInDEV(root);
|
|
15393
|
+
rootHasLayoutEffect = lanesToEventPriority(lanes);
|
|
15394
|
+
finishedWork = finishedWork.stateNode;
|
|
15395
|
+
if (
|
|
15396
|
+
injectedHook &&
|
|
15397
|
+
"function" === typeof injectedHook.onCommitFiberRoot
|
|
15398
|
+
)
|
|
15399
|
+
try {
|
|
15400
|
+
var didError = 128 === (finishedWork.current.flags & 128);
|
|
15401
|
+
switch (rootHasLayoutEffect) {
|
|
15402
|
+
case DiscreteEventPriority:
|
|
15403
|
+
var schedulerPriority = ImmediatePriority;
|
|
15404
|
+
break;
|
|
15405
|
+
case ContinuousEventPriority:
|
|
15406
|
+
schedulerPriority = UserBlockingPriority;
|
|
15407
|
+
break;
|
|
15408
|
+
case DefaultEventPriority:
|
|
15409
|
+
schedulerPriority = NormalPriority$1;
|
|
15410
|
+
break;
|
|
15411
|
+
case IdleEventPriority:
|
|
15412
|
+
schedulerPriority = IdlePriority;
|
|
15413
|
+
break;
|
|
15414
|
+
default:
|
|
15415
|
+
schedulerPriority = NormalPriority$1;
|
|
15416
|
+
}
|
|
15417
|
+
injectedHook.onCommitFiberRoot(
|
|
15418
|
+
rendererID,
|
|
15419
|
+
finishedWork,
|
|
15420
|
+
schedulerPriority,
|
|
15421
|
+
didError
|
|
15424
15422
|
);
|
|
15423
|
+
} catch (err) {
|
|
15424
|
+
hasLoggedError ||
|
|
15425
|
+
((hasLoggedError = !0),
|
|
15426
|
+
console.error(
|
|
15427
|
+
"React instrumentation encountered an error: %s",
|
|
15428
|
+
err
|
|
15429
|
+
));
|
|
15430
|
+
}
|
|
15431
|
+
isDevToolsPresent && root.memoizedUpdaters.clear();
|
|
15432
|
+
onCommitRoot();
|
|
15433
|
+
if (null !== recoverableErrors) {
|
|
15434
|
+
didError = ReactSharedInternals.T;
|
|
15435
|
+
schedulerPriority = ReactDOMSharedInternals.p;
|
|
15436
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
15437
|
+
ReactSharedInternals.T = null;
|
|
15438
|
+
try {
|
|
15439
|
+
var onRecoverableError = root.onRecoverableError;
|
|
15440
|
+
for (
|
|
15441
|
+
finishedWork = 0;
|
|
15442
|
+
finishedWork < recoverableErrors.length;
|
|
15443
|
+
finishedWork++
|
|
15444
|
+
) {
|
|
15445
|
+
var recoverableError = recoverableErrors[finishedWork],
|
|
15446
|
+
errorInfo = makeErrorInfo(recoverableError.stack);
|
|
15447
|
+
runWithFiberInDEV(
|
|
15448
|
+
recoverableError.source,
|
|
15449
|
+
onRecoverableError,
|
|
15450
|
+
recoverableError.value,
|
|
15451
|
+
errorInfo
|
|
15452
|
+
);
|
|
15453
|
+
}
|
|
15454
|
+
} finally {
|
|
15455
|
+
(ReactSharedInternals.T = didError),
|
|
15456
|
+
(ReactDOMSharedInternals.p = schedulerPriority);
|
|
15425
15457
|
}
|
|
15426
|
-
} finally {
|
|
15427
|
-
(ReactSharedInternals.T = didError),
|
|
15428
|
-
(ReactDOMSharedInternals.p = schedulerPriority);
|
|
15429
15458
|
}
|
|
15459
|
+
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
|
|
15460
|
+
ensureRootIsScheduled(root);
|
|
15461
|
+
previousPriority = root.pendingLanes;
|
|
15462
|
+
0 !== (lanes & 4194218) && 0 !== (previousPriority & 42)
|
|
15463
|
+
? ((nestedUpdateScheduled = !0),
|
|
15464
|
+
root === rootWithNestedUpdates
|
|
15465
|
+
? nestedUpdateCount++
|
|
15466
|
+
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
|
15467
|
+
: (nestedUpdateCount = 0);
|
|
15468
|
+
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
15469
|
+
markCommitStopped();
|
|
15430
15470
|
}
|
|
15431
|
-
0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
|
|
15432
|
-
ensureRootIsScheduled(root);
|
|
15433
|
-
previousPriority = root.pendingLanes;
|
|
15434
|
-
0 !== (lanes & 4194218) && 0 !== (previousPriority & 42)
|
|
15435
|
-
? ((nestedUpdateScheduled = !0),
|
|
15436
|
-
root === rootWithNestedUpdates
|
|
15437
|
-
? nestedUpdateCount++
|
|
15438
|
-
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
|
15439
|
-
: (nestedUpdateCount = 0);
|
|
15440
|
-
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
15441
|
-
markCommitStopped();
|
|
15442
15471
|
}
|
|
15443
15472
|
function makeErrorInfo(componentStack) {
|
|
15444
15473
|
componentStack = { componentStack: componentStack };
|
|
@@ -15457,94 +15486,87 @@
|
|
|
15457
15486
|
null != remainingLanes &&
|
|
15458
15487
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
|
15459
15488
|
}
|
|
15489
|
+
function flushPendingEffects(wasDelayedCommit) {
|
|
15490
|
+
flushMutationEffects();
|
|
15491
|
+
flushLayoutEffects();
|
|
15492
|
+
return flushPassiveEffects(wasDelayedCommit);
|
|
15493
|
+
}
|
|
15460
15494
|
function flushPassiveEffects() {
|
|
15461
|
-
if (
|
|
15462
|
-
|
|
15463
|
-
|
|
15464
|
-
|
|
15465
|
-
|
|
15466
|
-
|
|
15467
|
-
|
|
15468
|
-
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15474
|
-
|
|
15475
|
-
|
|
15476
|
-
|
|
15477
|
-
|
|
15478
|
-
|
|
15479
|
-
|
|
15480
|
-
|
|
15481
|
-
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15489
|
-
|
|
15490
|
-
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
15505
|
-
|
|
15506
|
-
|
|
15507
|
-
|
|
15508
|
-
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
|
|
15513
|
-
|
|
15514
|
-
|
|
15515
|
-
|
|
15516
|
-
|
|
15517
|
-
|
|
15518
|
-
|
|
15519
|
-
|
|
15520
|
-
|
|
15521
|
-
|
|
15522
|
-
|
|
15523
|
-
|
|
15524
|
-
|
|
15525
|
-
|
|
15526
|
-
injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);
|
|
15527
|
-
} catch (err) {
|
|
15528
|
-
hasLoggedError ||
|
|
15529
|
-
((hasLoggedError = !0),
|
|
15530
|
-
console.error(
|
|
15531
|
-
"React instrumentation encountered an error: %s",
|
|
15532
|
-
err
|
|
15533
|
-
));
|
|
15534
|
-
}
|
|
15535
|
-
var stateNode = root$jscomp$0.current.stateNode;
|
|
15536
|
-
stateNode.effectDuration = 0;
|
|
15537
|
-
stateNode.passiveEffectDuration = 0;
|
|
15538
|
-
JSCompiler_inline_result = !0;
|
|
15495
|
+
if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
|
|
15496
|
+
var root = pendingEffectsRoot,
|
|
15497
|
+
remainingLanes = pendingEffectsRemainingLanes;
|
|
15498
|
+
pendingEffectsRemainingLanes = 0;
|
|
15499
|
+
var renderPriority = lanesToEventPriority(pendingEffectsLanes),
|
|
15500
|
+
priority =
|
|
15501
|
+
0 === DefaultEventPriority || DefaultEventPriority > renderPriority
|
|
15502
|
+
? DefaultEventPriority
|
|
15503
|
+
: renderPriority;
|
|
15504
|
+
renderPriority = ReactSharedInternals.T;
|
|
15505
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
15506
|
+
try {
|
|
15507
|
+
ReactDOMSharedInternals.p = priority;
|
|
15508
|
+
ReactSharedInternals.T = null;
|
|
15509
|
+
priority = pendingPassiveTransitions;
|
|
15510
|
+
pendingPassiveTransitions = null;
|
|
15511
|
+
var root$jscomp$0 = pendingEffectsRoot,
|
|
15512
|
+
lanes = pendingEffectsLanes;
|
|
15513
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
|
15514
|
+
pendingEffectsRoot = null;
|
|
15515
|
+
pendingEffectsLanes = 0;
|
|
15516
|
+
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
|
|
15517
|
+
throw Error("Cannot flush passive effects while already rendering.");
|
|
15518
|
+
isFlushingPassiveEffects = !0;
|
|
15519
|
+
didScheduleUpdateDuringPassiveEffects = !1;
|
|
15520
|
+
null !== injectedProfilingHooks &&
|
|
15521
|
+
"function" ===
|
|
15522
|
+
typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
|
15523
|
+
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
|
15524
|
+
var prevExecutionContext = executionContext;
|
|
15525
|
+
executionContext |= CommitContext;
|
|
15526
|
+
commitPassiveUnmountOnFiber(root$jscomp$0.current);
|
|
15527
|
+
commitPassiveMountOnFiber(
|
|
15528
|
+
root$jscomp$0,
|
|
15529
|
+
root$jscomp$0.current,
|
|
15530
|
+
lanes,
|
|
15531
|
+
priority
|
|
15532
|
+
);
|
|
15533
|
+
null !== injectedProfilingHooks &&
|
|
15534
|
+
"function" ===
|
|
15535
|
+
typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
|
15536
|
+
injectedProfilingHooks.markPassiveEffectsStopped();
|
|
15537
|
+
commitDoubleInvokeEffectsInDEV(root$jscomp$0);
|
|
15538
|
+
executionContext = prevExecutionContext;
|
|
15539
|
+
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
15540
|
+
didScheduleUpdateDuringPassiveEffects
|
|
15541
|
+
? root$jscomp$0 === rootWithPassiveNestedUpdates
|
|
15542
|
+
? nestedPassiveUpdateCount++
|
|
15543
|
+
: ((nestedPassiveUpdateCount = 0),
|
|
15544
|
+
(rootWithPassiveNestedUpdates = root$jscomp$0))
|
|
15545
|
+
: (nestedPassiveUpdateCount = 0);
|
|
15546
|
+
didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1;
|
|
15547
|
+
if (
|
|
15548
|
+
injectedHook &&
|
|
15549
|
+
"function" === typeof injectedHook.onPostCommitFiberRoot
|
|
15550
|
+
)
|
|
15551
|
+
try {
|
|
15552
|
+
injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);
|
|
15553
|
+
} catch (err) {
|
|
15554
|
+
hasLoggedError ||
|
|
15555
|
+
((hasLoggedError = !0),
|
|
15556
|
+
console.error(
|
|
15557
|
+
"React instrumentation encountered an error: %s",
|
|
15558
|
+
err
|
|
15559
|
+
));
|
|
15539
15560
|
}
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
|
|
15543
|
-
|
|
15544
|
-
|
|
15545
|
-
|
|
15561
|
+
var stateNode = root$jscomp$0.current.stateNode;
|
|
15562
|
+
stateNode.effectDuration = 0;
|
|
15563
|
+
stateNode.passiveEffectDuration = 0;
|
|
15564
|
+
return !0;
|
|
15565
|
+
} finally {
|
|
15566
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
15567
|
+
(ReactSharedInternals.T = renderPriority),
|
|
15568
|
+
releaseRootPooledCache(root, remainingLanes);
|
|
15546
15569
|
}
|
|
15547
|
-
return !1;
|
|
15548
15570
|
}
|
|
15549
15571
|
function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
|
|
15550
15572
|
sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
|
|
@@ -15963,8 +15985,13 @@
|
|
|
15963
15985
|
}
|
|
15964
15986
|
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
|
15965
15987
|
nestedUpdateScheduled = currentUpdateIsNested = !1;
|
|
15988
|
+
if (
|
|
15989
|
+
pendingEffectsStatus !== NO_PENDING_EFFECTS &&
|
|
15990
|
+
pendingEffectsStatus !== PENDING_PASSIVE_PHASE
|
|
15991
|
+
)
|
|
15992
|
+
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
|
15966
15993
|
var originalCallbackNode = root.callbackNode;
|
|
15967
|
-
if (
|
|
15994
|
+
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
|
15968
15995
|
return null;
|
|
15969
15996
|
var workInProgressRootRenderLanes$jscomp$0 =
|
|
15970
15997
|
workInProgressRootRenderLanes;
|
|
@@ -15988,7 +16015,7 @@
|
|
|
15988
16015
|
: null;
|
|
15989
16016
|
}
|
|
15990
16017
|
function performSyncWorkOnRoot(root, lanes) {
|
|
15991
|
-
if (
|
|
16018
|
+
if (flushPendingEffects()) return null;
|
|
15992
16019
|
currentUpdateIsNested = nestedUpdateScheduled;
|
|
15993
16020
|
nestedUpdateScheduled = !1;
|
|
15994
16021
|
performWorkOnRoot(root, lanes, !0);
|
|
@@ -18580,36 +18607,34 @@
|
|
|
18580
18607
|
}
|
|
18581
18608
|
case "src":
|
|
18582
18609
|
case "href":
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
serverDifferences
|
|
18612
|
-
));
|
|
18610
|
+
if (
|
|
18611
|
+
!(
|
|
18612
|
+
"" !== propKey ||
|
|
18613
|
+
("a" === tag && "href" === value) ||
|
|
18614
|
+
("object" === tag && "data" === value)
|
|
18615
|
+
)
|
|
18616
|
+
) {
|
|
18617
|
+
"src" === value
|
|
18618
|
+
? console.error(
|
|
18619
|
+
'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
|
18620
|
+
value,
|
|
18621
|
+
value
|
|
18622
|
+
)
|
|
18623
|
+
: console.error(
|
|
18624
|
+
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
|
18625
|
+
value,
|
|
18626
|
+
value
|
|
18627
|
+
);
|
|
18628
|
+
continue;
|
|
18629
|
+
}
|
|
18630
|
+
hydrateSanitizedAttribute(
|
|
18631
|
+
domElement,
|
|
18632
|
+
value,
|
|
18633
|
+
value,
|
|
18634
|
+
propKey,
|
|
18635
|
+
extraAttributes,
|
|
18636
|
+
serverDifferences
|
|
18637
|
+
);
|
|
18613
18638
|
continue;
|
|
18614
18639
|
case "action":
|
|
18615
18640
|
case "formAction":
|
|
@@ -19219,7 +19244,9 @@
|
|
|
19219
19244
|
else if (
|
|
19220
19245
|
name !== anyProps.rel ||
|
|
19221
19246
|
instance.getAttribute("href") !==
|
|
19222
|
-
(null == anyProps.href
|
|
19247
|
+
(null == anyProps.href || "" === anyProps.href
|
|
19248
|
+
? null
|
|
19249
|
+
: anyProps.href) ||
|
|
19223
19250
|
instance.getAttribute("crossorigin") !==
|
|
19224
19251
|
(null == anyProps.crossOrigin
|
|
19225
19252
|
? null
|
|
@@ -20289,23 +20316,6 @@
|
|
|
20289
20316
|
parentComponent = emptyContextObject;
|
|
20290
20317
|
return parentComponent;
|
|
20291
20318
|
}
|
|
20292
|
-
function updateContainerSync(
|
|
20293
|
-
element,
|
|
20294
|
-
container,
|
|
20295
|
-
parentComponent,
|
|
20296
|
-
callback
|
|
20297
|
-
) {
|
|
20298
|
-
0 === container.tag && flushPassiveEffects();
|
|
20299
|
-
updateContainerImpl(
|
|
20300
|
-
container.current,
|
|
20301
|
-
2,
|
|
20302
|
-
element,
|
|
20303
|
-
container,
|
|
20304
|
-
parentComponent,
|
|
20305
|
-
callback
|
|
20306
|
-
);
|
|
20307
|
-
return 2;
|
|
20308
|
-
}
|
|
20309
20319
|
function updateContainerImpl(
|
|
20310
20320
|
rootFiber,
|
|
20311
20321
|
lane,
|
|
@@ -24031,10 +24041,20 @@
|
|
|
24031
24041
|
RENDER_TIMEOUT_MS = 500,
|
|
24032
24042
|
workInProgressTransitions = null,
|
|
24033
24043
|
legacyErrorBoundariesThatAlreadyFailed = null,
|
|
24034
|
-
|
|
24035
|
-
|
|
24036
|
-
|
|
24044
|
+
IMMEDIATE_COMMIT = 0,
|
|
24045
|
+
SUSPENDED_COMMIT = 1,
|
|
24046
|
+
THROTTLED_COMMIT = 2,
|
|
24047
|
+
NO_PENDING_EFFECTS = 0,
|
|
24048
|
+
PENDING_MUTATION_PHASE = 1,
|
|
24049
|
+
PENDING_LAYOUT_PHASE = 2,
|
|
24050
|
+
PENDING_PASSIVE_PHASE = 3,
|
|
24051
|
+
pendingEffectsStatus = 0,
|
|
24052
|
+
pendingEffectsRoot = null,
|
|
24053
|
+
pendingFinishedWork = null,
|
|
24054
|
+
pendingEffectsLanes = 0,
|
|
24055
|
+
pendingEffectsRemainingLanes = 0,
|
|
24037
24056
|
pendingPassiveTransitions = null,
|
|
24057
|
+
pendingRecoverableErrors = null,
|
|
24038
24058
|
NESTED_UPDATE_LIMIT = 50,
|
|
24039
24059
|
nestedUpdateCount = 0,
|
|
24040
24060
|
rootWithNestedUpdates = null,
|
|
@@ -24044,9 +24064,6 @@
|
|
|
24044
24064
|
nestedPassiveUpdateCount = 0,
|
|
24045
24065
|
rootWithPassiveNestedUpdates = null,
|
|
24046
24066
|
isRunningInsertionEffect = !1,
|
|
24047
|
-
IMMEDIATE_COMMIT = 0,
|
|
24048
|
-
SUSPENDED_COMMIT = 1,
|
|
24049
|
-
THROTTLED_COMMIT = 2,
|
|
24050
24067
|
didWarnStateUpdateForNotYetMountedComponent = null,
|
|
24051
24068
|
didWarnAboutUpdateInRender = !1;
|
|
24052
24069
|
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
|
@@ -24558,7 +24575,7 @@
|
|
|
24558
24575
|
console.error(
|
|
24559
24576
|
"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
|
|
24560
24577
|
);
|
|
24561
|
-
|
|
24578
|
+
updateContainerImpl(args.current, 2, null, args, null, null);
|
|
24562
24579
|
flushSyncWork$1();
|
|
24563
24580
|
container[internalContainerInstanceKey] = null;
|
|
24564
24581
|
}
|
|
@@ -24582,11 +24599,11 @@
|
|
|
24582
24599
|
};
|
|
24583
24600
|
(function () {
|
|
24584
24601
|
var isomorphicReactPackageVersion = React.version;
|
|
24585
|
-
if ("19.1.0-canary-
|
|
24602
|
+
if ("19.1.0-canary-7b402084-20250107" !== isomorphicReactPackageVersion)
|
|
24586
24603
|
throw Error(
|
|
24587
24604
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
24588
24605
|
(isomorphicReactPackageVersion +
|
|
24589
|
-
"\n - react-dom: 19.1.0-canary-
|
|
24606
|
+
"\n - react-dom: 19.1.0-canary-7b402084-20250107\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
24590
24607
|
);
|
|
24591
24608
|
})();
|
|
24592
24609
|
("function" === typeof Map &&
|
|
@@ -24623,10 +24640,10 @@
|
|
|
24623
24640
|
!(function () {
|
|
24624
24641
|
var internals = {
|
|
24625
24642
|
bundleType: 1,
|
|
24626
|
-
version: "19.1.0-canary-
|
|
24643
|
+
version: "19.1.0-canary-7b402084-20250107",
|
|
24627
24644
|
rendererPackageName: "react-dom",
|
|
24628
24645
|
currentDispatcherRef: ReactSharedInternals,
|
|
24629
|
-
reconcilerVersion: "19.1.0-canary-
|
|
24646
|
+
reconcilerVersion: "19.1.0-canary-7b402084-20250107"
|
|
24630
24647
|
};
|
|
24631
24648
|
internals.overrideHookState = overrideHookState;
|
|
24632
24649
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -25102,7 +25119,7 @@
|
|
|
25102
25119
|
exports.useFormStatus = function () {
|
|
25103
25120
|
return resolveDispatcher().useHostTransitionStatus();
|
|
25104
25121
|
};
|
|
25105
|
-
exports.version = "19.1.0-canary-
|
|
25122
|
+
exports.version = "19.1.0-canary-7b402084-20250107";
|
|
25106
25123
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
25107
25124
|
"function" ===
|
|
25108
25125
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|