react-dom 19.2.0-canary-b10cb4c0-20250403 → 19.2.0-canary-6a7650c7-20250405
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 +246 -193
- package/cjs/react-dom-client.production.js +256 -241
- package/cjs/react-dom-profiling.development.js +246 -193
- package/cjs/react-dom-profiling.profiling.js +365 -305
- 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
@@ -2098,19 +2098,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
2098
2098
|
}
|
2099
2099
|
var isInputEventSupported = !1;
|
2100
2100
|
if (canUseDOM) {
|
2101
|
-
var JSCompiler_inline_result$jscomp$
|
2101
|
+
var JSCompiler_inline_result$jscomp$299;
|
2102
2102
|
if (canUseDOM) {
|
2103
|
-
var isSupported$jscomp$
|
2104
|
-
if (!isSupported$jscomp$
|
2105
|
-
var element$jscomp$
|
2106
|
-
element$jscomp$
|
2107
|
-
isSupported$jscomp$
|
2108
|
-
"function" === typeof element$jscomp$
|
2103
|
+
var isSupported$jscomp$inline_436 = "oninput" in document;
|
2104
|
+
if (!isSupported$jscomp$inline_436) {
|
2105
|
+
var element$jscomp$inline_437 = document.createElement("div");
|
2106
|
+
element$jscomp$inline_437.setAttribute("oninput", "return;");
|
2107
|
+
isSupported$jscomp$inline_436 =
|
2108
|
+
"function" === typeof element$jscomp$inline_437.oninput;
|
2109
2109
|
}
|
2110
|
-
JSCompiler_inline_result$jscomp$
|
2111
|
-
} else JSCompiler_inline_result$jscomp$
|
2110
|
+
JSCompiler_inline_result$jscomp$299 = isSupported$jscomp$inline_436;
|
2111
|
+
} else JSCompiler_inline_result$jscomp$299 = !1;
|
2112
2112
|
isInputEventSupported =
|
2113
|
-
JSCompiler_inline_result$jscomp$
|
2113
|
+
JSCompiler_inline_result$jscomp$299 &&
|
2114
2114
|
(!document.documentMode || 9 < document.documentMode);
|
2115
2115
|
}
|
2116
2116
|
function stopWatchingForValueChange() {
|
@@ -3142,7 +3142,8 @@ function releaseCache(cache) {
|
|
3142
3142
|
var now = Scheduler.unstable_now,
|
3143
3143
|
commitStartTime = -0,
|
3144
3144
|
profilerStartTime = -1.1,
|
3145
|
-
profilerEffectDuration = -0
|
3145
|
+
profilerEffectDuration = -0,
|
3146
|
+
componentEffectStartTime = -1.1;
|
3146
3147
|
function pushNestedEffectDurations() {
|
3147
3148
|
var prevEffectDuration = profilerEffectDuration;
|
3148
3149
|
profilerEffectDuration = 0;
|
@@ -3158,6 +3159,14 @@ function bubbleNestedEffectDurations(prevEffectDuration) {
|
|
3158
3159
|
profilerEffectDuration += prevEffectDuration;
|
3159
3160
|
return elapsedTime;
|
3160
3161
|
}
|
3162
|
+
function pushComponentEffectStart() {
|
3163
|
+
var prevEffectStart = componentEffectStartTime;
|
3164
|
+
componentEffectStartTime = -1.1;
|
3165
|
+
return prevEffectStart;
|
3166
|
+
}
|
3167
|
+
function popComponentEffectStart(prevEffectStart) {
|
3168
|
+
0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart);
|
3169
|
+
}
|
3161
3170
|
var currentUpdateIsNested = !1,
|
3162
3171
|
nestedUpdateScheduled = !1;
|
3163
3172
|
function startProfilerTimer(fiber) {
|
@@ -3188,6 +3197,8 @@ function recordEffectDuration() {
|
|
3188
3197
|
}
|
3189
3198
|
function startEffectTimer() {
|
3190
3199
|
profilerStartTime = now();
|
3200
|
+
0 > componentEffectStartTime &&
|
3201
|
+
(componentEffectStartTime = profilerStartTime);
|
3191
3202
|
}
|
3192
3203
|
function transferActualDuration(fiber) {
|
3193
3204
|
for (var child = fiber.child; child; )
|
@@ -5253,7 +5264,7 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) {
|
|
5253
5264
|
objectIs(hook, prevValue) || (didReceiveUpdate = !0),
|
5254
5265
|
hook
|
5255
5266
|
);
|
5256
|
-
if (0 === (renderLanes & 42))
|
5267
|
+
if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824))
|
5257
5268
|
return (didReceiveUpdate = !0), (hook.memoizedState = value);
|
5258
5269
|
hook = requestDeferredLane();
|
5259
5270
|
currentlyRenderingFiber.lanes |= hook;
|
@@ -8046,7 +8057,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8046
8057
|
case 27:
|
8047
8058
|
popHostContext(workInProgress);
|
8048
8059
|
renderLanes = rootInstanceStackCursor.current;
|
8049
|
-
var type = workInProgress.type;
|
8060
|
+
var type$124 = workInProgress.type;
|
8050
8061
|
if (null !== current && null != workInProgress.stateNode)
|
8051
8062
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
8052
8063
|
else {
|
@@ -8059,7 +8070,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8059
8070
|
current = contextStackCursor.current;
|
8060
8071
|
popHydrationState(workInProgress)
|
8061
8072
|
? prepareToHydrateHostInstance(workInProgress, current)
|
8062
|
-
: ((current = resolveSingletonInstance(
|
8073
|
+
: ((current = resolveSingletonInstance(
|
8074
|
+
type$124,
|
8075
|
+
newProps,
|
8076
|
+
renderLanes
|
8077
|
+
)),
|
8063
8078
|
(workInProgress.stateNode = current),
|
8064
8079
|
markUpdate(workInProgress));
|
8065
8080
|
}
|
@@ -8081,18 +8096,18 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8081
8096
|
if (popHydrationState(workInProgress))
|
8082
8097
|
prepareToHydrateHostInstance(workInProgress, current);
|
8083
8098
|
else {
|
8084
|
-
type = getOwnerDocumentFromRootContainer(
|
8099
|
+
type$124 = getOwnerDocumentFromRootContainer(
|
8085
8100
|
rootInstanceStackCursor.current
|
8086
8101
|
);
|
8087
8102
|
switch (current) {
|
8088
8103
|
case 1:
|
8089
|
-
current = type.createElementNS(
|
8104
|
+
current = type$124.createElementNS(
|
8090
8105
|
"http://www.w3.org/2000/svg",
|
8091
8106
|
renderLanes
|
8092
8107
|
);
|
8093
8108
|
break;
|
8094
8109
|
case 2:
|
8095
|
-
current = type.createElementNS(
|
8110
|
+
current = type$124.createElementNS(
|
8096
8111
|
"http://www.w3.org/1998/Math/MathML",
|
8097
8112
|
renderLanes
|
8098
8113
|
);
|
@@ -8100,27 +8115,27 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8100
8115
|
default:
|
8101
8116
|
switch (renderLanes) {
|
8102
8117
|
case "svg":
|
8103
|
-
current = type.createElementNS(
|
8118
|
+
current = type$124.createElementNS(
|
8104
8119
|
"http://www.w3.org/2000/svg",
|
8105
8120
|
renderLanes
|
8106
8121
|
);
|
8107
8122
|
break;
|
8108
8123
|
case "math":
|
8109
|
-
current = type.createElementNS(
|
8124
|
+
current = type$124.createElementNS(
|
8110
8125
|
"http://www.w3.org/1998/Math/MathML",
|
8111
8126
|
renderLanes
|
8112
8127
|
);
|
8113
8128
|
break;
|
8114
8129
|
case "script":
|
8115
|
-
current = type.createElement("div");
|
8130
|
+
current = type$124.createElement("div");
|
8116
8131
|
current.innerHTML = "<script>\x3c/script>";
|
8117
8132
|
current = current.removeChild(current.firstChild);
|
8118
8133
|
break;
|
8119
8134
|
case "select":
|
8120
8135
|
current =
|
8121
8136
|
"string" === typeof newProps.is
|
8122
|
-
? type.createElement("select", { is: newProps.is })
|
8123
|
-
: type.createElement("select");
|
8137
|
+
? type$124.createElement("select", { is: newProps.is })
|
8138
|
+
: type$124.createElement("select");
|
8124
8139
|
newProps.multiple
|
8125
8140
|
? (current.multiple = !0)
|
8126
8141
|
: newProps.size && (current.size = newProps.size);
|
@@ -8128,28 +8143,35 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8128
8143
|
default:
|
8129
8144
|
current =
|
8130
8145
|
"string" === typeof newProps.is
|
8131
|
-
? type.createElement(renderLanes, { is: newProps.is })
|
8132
|
-
: type.createElement(renderLanes);
|
8146
|
+
? type$124.createElement(renderLanes, { is: newProps.is })
|
8147
|
+
: type$124.createElement(renderLanes);
|
8133
8148
|
}
|
8134
8149
|
}
|
8135
8150
|
current[internalInstanceKey] = workInProgress;
|
8136
8151
|
current[internalPropsKey] = newProps;
|
8137
|
-
a: for (type = workInProgress.child; null !== type; ) {
|
8138
|
-
if (5 === type.tag || 6 === type.tag)
|
8139
|
-
current.appendChild(type.stateNode);
|
8140
|
-
else if (
|
8141
|
-
type.
|
8142
|
-
|
8152
|
+
a: for (type$124 = workInProgress.child; null !== type$124; ) {
|
8153
|
+
if (5 === type$124.tag || 6 === type$124.tag)
|
8154
|
+
current.appendChild(type$124.stateNode);
|
8155
|
+
else if (
|
8156
|
+
4 !== type$124.tag &&
|
8157
|
+
27 !== type$124.tag &&
|
8158
|
+
null !== type$124.child
|
8159
|
+
) {
|
8160
|
+
type$124.child.return = type$124;
|
8161
|
+
type$124 = type$124.child;
|
8143
8162
|
continue;
|
8144
8163
|
}
|
8145
|
-
if (type === workInProgress) break a;
|
8146
|
-
for (; null === type.sibling; ) {
|
8147
|
-
if (
|
8164
|
+
if (type$124 === workInProgress) break a;
|
8165
|
+
for (; null === type$124.sibling; ) {
|
8166
|
+
if (
|
8167
|
+
null === type$124.return ||
|
8168
|
+
type$124.return === workInProgress
|
8169
|
+
)
|
8148
8170
|
break a;
|
8149
|
-
type = type.return;
|
8171
|
+
type$124 = type$124.return;
|
8150
8172
|
}
|
8151
|
-
type.sibling.return = type.return;
|
8152
|
-
type = type.sibling;
|
8173
|
+
type$124.sibling.return = type$124.return;
|
8174
|
+
type$124 = type$124.sibling;
|
8153
8175
|
}
|
8154
8176
|
workInProgress.stateNode = current;
|
8155
8177
|
a: switch (
|
@@ -8184,12 +8206,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8184
8206
|
current = workInProgress.stateNode;
|
8185
8207
|
renderLanes = workInProgress.memoizedProps;
|
8186
8208
|
newProps = null;
|
8187
|
-
type = hydrationParentFiber;
|
8188
|
-
if (null !== type)
|
8189
|
-
switch (type.tag) {
|
8209
|
+
type$124 = hydrationParentFiber;
|
8210
|
+
if (null !== type$124)
|
8211
|
+
switch (type$124.tag) {
|
8190
8212
|
case 27:
|
8191
8213
|
case 5:
|
8192
|
-
newProps = type.memoizedProps;
|
8214
|
+
newProps = type$124.memoizedProps;
|
8193
8215
|
}
|
8194
8216
|
current[internalInstanceKey] = workInProgress;
|
8195
8217
|
current =
|
@@ -8216,20 +8238,20 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8216
8238
|
(null !== current.memoizedState &&
|
8217
8239
|
null !== current.memoizedState.dehydrated)
|
8218
8240
|
) {
|
8219
|
-
type = popHydrationState(workInProgress);
|
8241
|
+
type$124 = popHydrationState(workInProgress);
|
8220
8242
|
if (null !== newProps && null !== newProps.dehydrated) {
|
8221
8243
|
if (null === current) {
|
8222
|
-
if (!type) throw Error(formatProdErrorMessage(318));
|
8223
|
-
type = workInProgress.memoizedState;
|
8224
|
-
type = null !== type ? type.dehydrated : null;
|
8225
|
-
if (!type) throw Error(formatProdErrorMessage(317));
|
8226
|
-
type[internalInstanceKey] = workInProgress;
|
8244
|
+
if (!type$124) throw Error(formatProdErrorMessage(318));
|
8245
|
+
type$124 = workInProgress.memoizedState;
|
8246
|
+
type$124 = null !== type$124 ? type$124.dehydrated : null;
|
8247
|
+
if (!type$124) throw Error(formatProdErrorMessage(317));
|
8248
|
+
type$124[internalInstanceKey] = workInProgress;
|
8227
8249
|
bubbleProperties(workInProgress);
|
8228
8250
|
0 !== (workInProgress.mode & 2) &&
|
8229
8251
|
null !== newProps &&
|
8230
|
-
((type = workInProgress.child),
|
8231
|
-
null !== type &&
|
8232
|
-
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
8252
|
+
((type$124 = workInProgress.child),
|
8253
|
+
null !== type$124 &&
|
8254
|
+
(workInProgress.treeBaseDuration -= type$124.treeBaseDuration));
|
8233
8255
|
} else
|
8234
8256
|
resetHydrationState(),
|
8235
8257
|
0 === (workInProgress.flags & 128) &&
|
@@ -8238,17 +8260,18 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8238
8260
|
bubbleProperties(workInProgress),
|
8239
8261
|
0 !== (workInProgress.mode & 2) &&
|
8240
8262
|
null !== newProps &&
|
8241
|
-
((type = workInProgress.child),
|
8242
|
-
null !== type &&
|
8243
|
-
(workInProgress.treeBaseDuration -=
|
8244
|
-
|
8263
|
+
((type$124 = workInProgress.child),
|
8264
|
+
null !== type$124 &&
|
8265
|
+
(workInProgress.treeBaseDuration -=
|
8266
|
+
type$124.treeBaseDuration));
|
8267
|
+
type$124 = !1;
|
8245
8268
|
} else
|
8246
|
-
(type = upgradeHydrationErrorsToRecoverable()),
|
8269
|
+
(type$124 = upgradeHydrationErrorsToRecoverable()),
|
8247
8270
|
null !== current &&
|
8248
8271
|
null !== current.memoizedState &&
|
8249
|
-
(current.memoizedState.hydrationErrors = type),
|
8250
|
-
(type = !0);
|
8251
|
-
if (!type) {
|
8272
|
+
(current.memoizedState.hydrationErrors = type$124),
|
8273
|
+
(type$124 = !0);
|
8274
|
+
if (!type$124) {
|
8252
8275
|
if (workInProgress.flags & 256)
|
8253
8276
|
return popSuspenseHandler(workInProgress), workInProgress;
|
8254
8277
|
popSuspenseHandler(workInProgress);
|
@@ -8267,16 +8290,16 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8267
8290
|
current = null !== current && null !== current.memoizedState;
|
8268
8291
|
if (renderLanes) {
|
8269
8292
|
newProps = workInProgress.child;
|
8270
|
-
type = null;
|
8293
|
+
type$124 = null;
|
8271
8294
|
null !== newProps.alternate &&
|
8272
8295
|
null !== newProps.alternate.memoizedState &&
|
8273
8296
|
null !== newProps.alternate.memoizedState.cachePool &&
|
8274
|
-
(type = newProps.alternate.memoizedState.cachePool.pool);
|
8275
|
-
var cache$
|
8297
|
+
(type$124 = newProps.alternate.memoizedState.cachePool.pool);
|
8298
|
+
var cache$136 = null;
|
8276
8299
|
null !== newProps.memoizedState &&
|
8277
8300
|
null !== newProps.memoizedState.cachePool &&
|
8278
|
-
(cache$
|
8279
|
-
cache$
|
8301
|
+
(cache$136 = newProps.memoizedState.cachePool.pool);
|
8302
|
+
cache$136 !== type$124 && (newProps.flags |= 2048);
|
8280
8303
|
}
|
8281
8304
|
renderLanes !== current &&
|
8282
8305
|
renderLanes &&
|
@@ -8303,23 +8326,23 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8303
8326
|
);
|
8304
8327
|
case 19:
|
8305
8328
|
pop(suspenseStackCursor);
|
8306
|
-
type = workInProgress.memoizedState;
|
8307
|
-
if (null === type) return bubbleProperties(workInProgress), null;
|
8329
|
+
type$124 = workInProgress.memoizedState;
|
8330
|
+
if (null === type$124) return bubbleProperties(workInProgress), null;
|
8308
8331
|
newProps = 0 !== (workInProgress.flags & 128);
|
8309
|
-
cache$
|
8310
|
-
if (null === cache$
|
8311
|
-
if (newProps) cutOffTailIfNeeded(type, !1);
|
8332
|
+
cache$136 = type$124.rendering;
|
8333
|
+
if (null === cache$136)
|
8334
|
+
if (newProps) cutOffTailIfNeeded(type$124, !1);
|
8312
8335
|
else {
|
8313
8336
|
if (
|
8314
8337
|
0 !== workInProgressRootExitStatus ||
|
8315
8338
|
(null !== current && 0 !== (current.flags & 128))
|
8316
8339
|
)
|
8317
8340
|
for (current = workInProgress.child; null !== current; ) {
|
8318
|
-
cache$
|
8319
|
-
if (null !== cache$
|
8341
|
+
cache$136 = findFirstSuspended(current);
|
8342
|
+
if (null !== cache$136) {
|
8320
8343
|
workInProgress.flags |= 128;
|
8321
|
-
cutOffTailIfNeeded(type, !1);
|
8322
|
-
current = cache$
|
8344
|
+
cutOffTailIfNeeded(type$124, !1);
|
8345
|
+
current = cache$136.updateQueue;
|
8323
8346
|
workInProgress.updateQueue = current;
|
8324
8347
|
scheduleRetryEffect(workInProgress, current);
|
8325
8348
|
workInProgress.subtreeFlags = 0;
|
@@ -8335,52 +8358,52 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
8335
8358
|
}
|
8336
8359
|
current = current.sibling;
|
8337
8360
|
}
|
8338
|
-
null !== type.tail &&
|
8361
|
+
null !== type$124.tail &&
|
8339
8362
|
now$1() > workInProgressRootRenderTargetTime &&
|
8340
8363
|
((workInProgress.flags |= 128),
|
8341
8364
|
(newProps = !0),
|
8342
|
-
cutOffTailIfNeeded(type, !1),
|
8365
|
+
cutOffTailIfNeeded(type$124, !1),
|
8343
8366
|
(workInProgress.lanes = 4194304));
|
8344
8367
|
}
|
8345
8368
|
else {
|
8346
8369
|
if (!newProps)
|
8347
|
-
if (((current = findFirstSuspended(cache$
|
8370
|
+
if (((current = findFirstSuspended(cache$136)), null !== current)) {
|
8348
8371
|
if (
|
8349
8372
|
((workInProgress.flags |= 128),
|
8350
8373
|
(newProps = !0),
|
8351
8374
|
(current = current.updateQueue),
|
8352
8375
|
(workInProgress.updateQueue = current),
|
8353
8376
|
scheduleRetryEffect(workInProgress, current),
|
8354
|
-
cutOffTailIfNeeded(type, !0),
|
8355
|
-
null === type.tail &&
|
8356
|
-
"hidden" === type.tailMode &&
|
8357
|
-
!cache$
|
8377
|
+
cutOffTailIfNeeded(type$124, !0),
|
8378
|
+
null === type$124.tail &&
|
8379
|
+
"hidden" === type$124.tailMode &&
|
8380
|
+
!cache$136.alternate &&
|
8358
8381
|
!isHydrating)
|
8359
8382
|
)
|
8360
8383
|
return bubbleProperties(workInProgress), null;
|
8361
8384
|
} else
|
8362
|
-
2 * now$1() - type.renderingStartTime >
|
8385
|
+
2 * now$1() - type$124.renderingStartTime >
|
8363
8386
|
workInProgressRootRenderTargetTime &&
|
8364
8387
|
536870912 !== renderLanes &&
|
8365
8388
|
((workInProgress.flags |= 128),
|
8366
8389
|
(newProps = !0),
|
8367
|
-
cutOffTailIfNeeded(type, !1),
|
8390
|
+
cutOffTailIfNeeded(type$124, !1),
|
8368
8391
|
(workInProgress.lanes = 4194304));
|
8369
|
-
type.isBackwards
|
8370
|
-
? ((cache$
|
8371
|
-
(workInProgress.child = cache$
|
8372
|
-
: ((current = type.last),
|
8392
|
+
type$124.isBackwards
|
8393
|
+
? ((cache$136.sibling = workInProgress.child),
|
8394
|
+
(workInProgress.child = cache$136))
|
8395
|
+
: ((current = type$124.last),
|
8373
8396
|
null !== current
|
8374
|
-
? (current.sibling = cache$
|
8375
|
-
: (workInProgress.child = cache$
|
8376
|
-
(type.last = cache$
|
8397
|
+
? (current.sibling = cache$136)
|
8398
|
+
: (workInProgress.child = cache$136),
|
8399
|
+
(type$124.last = cache$136));
|
8377
8400
|
}
|
8378
|
-
if (null !== type.tail)
|
8401
|
+
if (null !== type$124.tail)
|
8379
8402
|
return (
|
8380
|
-
(workInProgress = type.tail),
|
8381
|
-
(type.rendering = workInProgress),
|
8382
|
-
(type.tail = workInProgress.sibling),
|
8383
|
-
(type.renderingStartTime = now$1()),
|
8403
|
+
(workInProgress = type$124.tail),
|
8404
|
+
(type$124.rendering = workInProgress),
|
8405
|
+
(type$124.tail = workInProgress.sibling),
|
8406
|
+
(type$124.renderingStartTime = now$1()),
|
8384
8407
|
(workInProgress.sibling = null),
|
8385
8408
|
(current = suspenseStackCursor.current),
|
8386
8409
|
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
@@ -8735,8 +8758,8 @@ function safelyCallComponentWillUnmount(
|
|
8735
8758
|
} else
|
8736
8759
|
try {
|
8737
8760
|
instance.componentWillUnmount();
|
8738
|
-
} catch (error$
|
8739
|
-
captureCommitPhaseError(current, nearestMountedAncestor, error$
|
8761
|
+
} catch (error$154) {
|
8762
|
+
captureCommitPhaseError(current, nearestMountedAncestor, error$154);
|
8740
8763
|
}
|
8741
8764
|
}
|
8742
8765
|
function safelyAttachRef(current, nearestMountedAncestor) {
|
@@ -8798,8 +8821,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
|
8798
8821
|
recordEffectDuration(current);
|
8799
8822
|
}
|
8800
8823
|
else ref(null);
|
8801
|
-
} catch (error$
|
8802
|
-
captureCommitPhaseError(current, nearestMountedAncestor, error$
|
8824
|
+
} catch (error$155) {
|
8825
|
+
captureCommitPhaseError(current, nearestMountedAncestor, error$155);
|
8803
8826
|
}
|
8804
8827
|
else ref.current = null;
|
8805
8828
|
}
|
@@ -9131,7 +9154,8 @@ function commitBeforeMutationEffects(root, firstChild) {
|
|
9131
9154
|
}
|
9132
9155
|
}
|
9133
9156
|
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
9134
|
-
var
|
9157
|
+
var prevEffectStart = pushComponentEffectStart(),
|
9158
|
+
flags = finishedWork.flags;
|
9135
9159
|
switch (finishedWork.tag) {
|
9136
9160
|
case 0:
|
9137
9161
|
case 11:
|
@@ -9154,11 +9178,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
9154
9178
|
} else
|
9155
9179
|
try {
|
9156
9180
|
finishedRoot.componentDidMount();
|
9157
|
-
} catch (error$
|
9181
|
+
} catch (error$151) {
|
9158
9182
|
captureCommitPhaseError(
|
9159
9183
|
finishedWork,
|
9160
9184
|
finishedWork.return,
|
9161
|
-
error$
|
9185
|
+
error$151
|
9162
9186
|
);
|
9163
9187
|
}
|
9164
9188
|
else {
|
@@ -9175,11 +9199,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
9175
9199
|
current,
|
9176
9200
|
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
9177
9201
|
);
|
9178
|
-
} catch (error$
|
9202
|
+
} catch (error$152) {
|
9179
9203
|
captureCommitPhaseError(
|
9180
9204
|
finishedWork,
|
9181
9205
|
finishedWork.return,
|
9182
|
-
error$
|
9206
|
+
error$152
|
9183
9207
|
);
|
9184
9208
|
}
|
9185
9209
|
recordEffectDuration();
|
@@ -9190,11 +9214,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
9190
9214
|
current,
|
9191
9215
|
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
9192
9216
|
);
|
9193
|
-
} catch (error$
|
9217
|
+
} catch (error$153) {
|
9194
9218
|
captureCommitPhaseError(
|
9195
9219
|
finishedWork,
|
9196
9220
|
finishedWork.return,
|
9197
|
-
error$
|
9221
|
+
error$153
|
9198
9222
|
);
|
9199
9223
|
}
|
9200
9224
|
}
|
@@ -9286,6 +9310,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
9286
9310
|
default:
|
9287
9311
|
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
9288
9312
|
}
|
9313
|
+
popComponentEffectStart(prevEffectStart);
|
9289
9314
|
}
|
9290
9315
|
function detachFiberAfterEffects(fiber) {
|
9291
9316
|
var alternate = fiber.alternate;
|
@@ -9326,6 +9351,7 @@ function commitDeletionEffectsOnFiber(
|
|
9326
9351
|
try {
|
9327
9352
|
injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);
|
9328
9353
|
} catch (err) {}
|
9354
|
+
var prevEffectStart = pushComponentEffectStart();
|
9329
9355
|
switch (deletedFiber.tag) {
|
9330
9356
|
case 26:
|
9331
9357
|
offscreenSubtreeWasHidden ||
|
@@ -9481,6 +9507,7 @@ function commitDeletionEffectsOnFiber(
|
|
9481
9507
|
deletedFiber
|
9482
9508
|
);
|
9483
9509
|
}
|
9510
|
+
popComponentEffectStart(prevEffectStart);
|
9484
9511
|
}
|
9485
9512
|
function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
|
9486
9513
|
if (
|
@@ -9538,6 +9565,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
9538
9565
|
var childToDelete = deletions[i],
|
9539
9566
|
root = root$jscomp$0,
|
9540
9567
|
returnFiber = parentFiber,
|
9568
|
+
prevEffectStart = pushComponentEffectStart(),
|
9541
9569
|
parent = returnFiber;
|
9542
9570
|
a: for (; null !== parent; ) {
|
9543
9571
|
switch (parent.tag) {
|
@@ -9564,6 +9592,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
9564
9592
|
commitDeletionEffectsOnFiber(root, returnFiber, childToDelete);
|
9565
9593
|
hostParent = null;
|
9566
9594
|
hostParentIsContainer = !1;
|
9595
|
+
popComponentEffectStart(prevEffectStart);
|
9567
9596
|
root = childToDelete.alternate;
|
9568
9597
|
null !== root && (root.return = null);
|
9569
9598
|
childToDelete.return = null;
|
@@ -9575,7 +9604,8 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
9575
9604
|
}
|
9576
9605
|
var currentHoistableRoot = null;
|
9577
9606
|
function commitMutationEffectsOnFiber(finishedWork, root) {
|
9578
|
-
var
|
9607
|
+
var prevEffectStart = pushComponentEffectStart(),
|
9608
|
+
current = finishedWork.alternate,
|
9579
9609
|
flags = finishedWork.flags;
|
9580
9610
|
switch (finishedWork.tag) {
|
9581
9611
|
case 0:
|
@@ -9973,6 +10003,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
9973
10003
|
recursivelyTraverseMutationEffects(root, finishedWork),
|
9974
10004
|
commitReconciliationEffects(finishedWork);
|
9975
10005
|
}
|
10006
|
+
popComponentEffectStart(prevEffectStart);
|
9976
10007
|
}
|
9977
10008
|
function commitReconciliationEffects(finishedWork) {
|
9978
10009
|
var flags = finishedWork.flags;
|
@@ -9997,20 +10028,20 @@ function commitReconciliationEffects(finishedWork) {
|
|
9997
10028
|
insertOrAppendPlacementNode(finishedWork, before, parent);
|
9998
10029
|
break;
|
9999
10030
|
case 5:
|
10000
|
-
var parent$
|
10031
|
+
var parent$156 = hostParentFiber.stateNode;
|
10001
10032
|
hostParentFiber.flags & 32 &&
|
10002
|
-
(setTextContent(parent$
|
10003
|
-
var before$
|
10004
|
-
insertOrAppendPlacementNode(finishedWork, before$
|
10033
|
+
(setTextContent(parent$156, ""), (hostParentFiber.flags &= -33));
|
10034
|
+
var before$157 = getHostSibling(finishedWork);
|
10035
|
+
insertOrAppendPlacementNode(finishedWork, before$157, parent$156);
|
10005
10036
|
break;
|
10006
10037
|
case 3:
|
10007
10038
|
case 4:
|
10008
|
-
var parent$
|
10009
|
-
before$
|
10039
|
+
var parent$158 = hostParentFiber.stateNode.containerInfo,
|
10040
|
+
before$159 = getHostSibling(finishedWork);
|
10010
10041
|
insertOrAppendPlacementNodeIntoContainer(
|
10011
10042
|
finishedWork,
|
10012
|
-
before$
|
10013
|
-
parent$
|
10043
|
+
before$159,
|
10044
|
+
parent$158
|
10014
10045
|
);
|
10015
10046
|
break;
|
10016
10047
|
default:
|
@@ -10040,7 +10071,8 @@ function recursivelyTraverseLayoutEffects(root, parentFiber) {
|
|
10040
10071
|
}
|
10041
10072
|
function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
|
10042
10073
|
for (parentFiber = parentFiber.child; null !== parentFiber; ) {
|
10043
|
-
var finishedWork = parentFiber
|
10074
|
+
var finishedWork = parentFiber,
|
10075
|
+
prevEffectStart = pushComponentEffectStart();
|
10044
10076
|
switch (finishedWork.tag) {
|
10045
10077
|
case 0:
|
10046
10078
|
case 11:
|
@@ -10077,6 +10109,7 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
|
|
10077
10109
|
default:
|
10078
10110
|
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
10079
10111
|
}
|
10112
|
+
popComponentEffectStart(prevEffectStart);
|
10080
10113
|
parentFiber = parentFiber.sibling;
|
10081
10114
|
}
|
10082
10115
|
}
|
@@ -10091,6 +10124,7 @@ function recursivelyTraverseReappearLayoutEffects(
|
|
10091
10124
|
var current = parentFiber.alternate,
|
10092
10125
|
finishedRoot = finishedRoot$jscomp$0,
|
10093
10126
|
finishedWork = parentFiber,
|
10127
|
+
prevEffectStart = pushComponentEffectStart(),
|
10094
10128
|
flags = finishedWork.flags;
|
10095
10129
|
switch (finishedWork.tag) {
|
10096
10130
|
case 0:
|
@@ -10204,6 +10238,7 @@ function recursivelyTraverseReappearLayoutEffects(
|
|
10204
10238
|
includeWorkInProgressEffects
|
10205
10239
|
);
|
10206
10240
|
}
|
10241
|
+
popComponentEffectStart(prevEffectStart);
|
10207
10242
|
parentFiber = parentFiber.sibling;
|
10208
10243
|
}
|
10209
10244
|
}
|
@@ -10251,7 +10286,8 @@ function commitPassiveMountOnFiber(
|
|
10251
10286
|
committedLanes,
|
10252
10287
|
committedTransitions
|
10253
10288
|
) {
|
10254
|
-
var
|
10289
|
+
var prevEffectStart = pushComponentEffectStart(),
|
10290
|
+
flags = finishedWork.flags;
|
10255
10291
|
switch (finishedWork.tag) {
|
10256
10292
|
case 0:
|
10257
10293
|
case 11:
|
@@ -10273,7 +10309,7 @@ function commitPassiveMountOnFiber(
|
|
10273
10309
|
);
|
10274
10310
|
break;
|
10275
10311
|
case 3:
|
10276
|
-
var
|
10312
|
+
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
10277
10313
|
recursivelyTraversePassiveMountEffects(
|
10278
10314
|
finishedRoot,
|
10279
10315
|
finishedWork,
|
@@ -10288,8 +10324,9 @@ function commitPassiveMountOnFiber(
|
|
10288
10324
|
finishedWork !== committedLanes &&
|
10289
10325
|
(finishedWork.refCount++,
|
10290
10326
|
null != committedLanes && releaseCache(committedLanes)));
|
10291
|
-
finishedRoot.passiveEffectDuration +=
|
10292
|
-
|
10327
|
+
finishedRoot.passiveEffectDuration += popNestedEffectDurations(
|
10328
|
+
prevProfilerEffectDuration
|
10329
|
+
);
|
10293
10330
|
break;
|
10294
10331
|
case 12:
|
10295
10332
|
if (flags & 2048) {
|
@@ -10304,9 +10341,9 @@ function commitPassiveMountOnFiber(
|
|
10304
10341
|
finishedRoot.passiveEffectDuration +=
|
10305
10342
|
bubbleNestedEffectDurations(flags);
|
10306
10343
|
try {
|
10307
|
-
|
10308
|
-
var id =
|
10309
|
-
onPostCommit =
|
10344
|
+
prevProfilerEffectDuration = finishedWork.memoizedProps;
|
10345
|
+
var id = prevProfilerEffectDuration.id,
|
10346
|
+
onPostCommit = prevProfilerEffectDuration.onPostCommit,
|
10310
10347
|
phase = null === finishedWork.alternate ? "mount" : "update";
|
10311
10348
|
currentUpdateIsNested && (phase = "nested-update");
|
10312
10349
|
"function" === typeof onPostCommit &&
|
@@ -10338,10 +10375,10 @@ function commitPassiveMountOnFiber(
|
|
10338
10375
|
case 23:
|
10339
10376
|
break;
|
10340
10377
|
case 22:
|
10341
|
-
|
10378
|
+
prevProfilerEffectDuration = finishedWork.stateNode;
|
10342
10379
|
id = finishedWork.alternate;
|
10343
10380
|
null !== finishedWork.memoizedState
|
10344
|
-
?
|
10381
|
+
? prevProfilerEffectDuration._visibility & 2
|
10345
10382
|
? recursivelyTraversePassiveMountEffects(
|
10346
10383
|
finishedRoot,
|
10347
10384
|
finishedWork,
|
@@ -10349,14 +10386,14 @@ function commitPassiveMountOnFiber(
|
|
10349
10386
|
committedTransitions
|
10350
10387
|
)
|
10351
10388
|
: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork)
|
10352
|
-
:
|
10389
|
+
: prevProfilerEffectDuration._visibility & 2
|
10353
10390
|
? recursivelyTraversePassiveMountEffects(
|
10354
10391
|
finishedRoot,
|
10355
10392
|
finishedWork,
|
10356
10393
|
committedLanes,
|
10357
10394
|
committedTransitions
|
10358
10395
|
)
|
10359
|
-
: ((
|
10396
|
+
: ((prevProfilerEffectDuration._visibility |= 2),
|
10360
10397
|
recursivelyTraverseReconnectPassiveEffects(
|
10361
10398
|
finishedRoot,
|
10362
10399
|
finishedWork,
|
@@ -10384,6 +10421,7 @@ function commitPassiveMountOnFiber(
|
|
10384
10421
|
committedTransitions
|
10385
10422
|
);
|
10386
10423
|
}
|
10424
|
+
popComponentEffectStart(prevEffectStart);
|
10387
10425
|
}
|
10388
10426
|
function recursivelyTraverseReconnectPassiveEffects(
|
10389
10427
|
finishedRoot$jscomp$0,
|
@@ -10399,6 +10437,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
|
10399
10437
|
finishedWork = parentFiber,
|
10400
10438
|
committedLanes = committedLanes$jscomp$0,
|
10401
10439
|
committedTransitions = committedTransitions$jscomp$0,
|
10440
|
+
prevEffectStart = pushComponentEffectStart(),
|
10402
10441
|
flags = finishedWork.flags;
|
10403
10442
|
switch (finishedWork.tag) {
|
10404
10443
|
case 0:
|
@@ -10466,6 +10505,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
|
10466
10505
|
includeWorkInProgressEffects
|
10467
10506
|
);
|
10468
10507
|
}
|
10508
|
+
popComponentEffectStart(prevEffectStart);
|
10469
10509
|
parentFiber = parentFiber.sibling;
|
10470
10510
|
}
|
10471
10511
|
}
|
@@ -10561,12 +10601,14 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) {
|
|
10561
10601
|
if (0 !== (parentFiber.flags & 16)) {
|
10562
10602
|
if (null !== deletions)
|
10563
10603
|
for (var i = 0; i < deletions.length; i++) {
|
10564
|
-
var childToDelete = deletions[i]
|
10604
|
+
var childToDelete = deletions[i],
|
10605
|
+
prevEffectStart = pushComponentEffectStart();
|
10565
10606
|
nextEffect = childToDelete;
|
10566
10607
|
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
10567
10608
|
childToDelete,
|
10568
10609
|
parentFiber
|
10569
10610
|
);
|
10611
|
+
popComponentEffectStart(prevEffectStart);
|
10570
10612
|
}
|
10571
10613
|
detachAlternateSiblings(parentFiber);
|
10572
10614
|
}
|
@@ -10576,6 +10618,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) {
|
|
10576
10618
|
(parentFiber = parentFiber.sibling);
|
10577
10619
|
}
|
10578
10620
|
function commitPassiveUnmountOnFiber(finishedWork) {
|
10621
|
+
var prevEffectStart = pushComponentEffectStart();
|
10579
10622
|
switch (finishedWork.tag) {
|
10580
10623
|
case 0:
|
10581
10624
|
case 11:
|
@@ -10585,46 +10628,51 @@ function commitPassiveUnmountOnFiber(finishedWork) {
|
|
10585
10628
|
commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, 9);
|
10586
10629
|
break;
|
10587
10630
|
case 3:
|
10588
|
-
var
|
10631
|
+
var prevProfilerEffectDuration = pushNestedEffectDurations();
|
10589
10632
|
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
10590
|
-
finishedWork.stateNode.passiveEffectDuration +=
|
10591
|
-
|
10633
|
+
finishedWork.stateNode.passiveEffectDuration += popNestedEffectDurations(
|
10634
|
+
prevProfilerEffectDuration
|
10635
|
+
);
|
10592
10636
|
break;
|
10593
10637
|
case 12:
|
10594
|
-
|
10638
|
+
prevProfilerEffectDuration = pushNestedEffectDurations();
|
10595
10639
|
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
10596
10640
|
finishedWork.stateNode.passiveEffectDuration +=
|
10597
|
-
bubbleNestedEffectDurations(
|
10641
|
+
bubbleNestedEffectDurations(prevProfilerEffectDuration);
|
10598
10642
|
break;
|
10599
10643
|
case 22:
|
10600
|
-
|
10644
|
+
prevProfilerEffectDuration = finishedWork.stateNode;
|
10601
10645
|
null !== finishedWork.memoizedState &&
|
10602
|
-
|
10646
|
+
prevProfilerEffectDuration._visibility & 2 &&
|
10603
10647
|
(null === finishedWork.return || 13 !== finishedWork.return.tag)
|
10604
|
-
? ((
|
10648
|
+
? ((prevProfilerEffectDuration._visibility &= -3),
|
10605
10649
|
recursivelyTraverseDisconnectPassiveEffects(finishedWork))
|
10606
10650
|
: recursivelyTraversePassiveUnmountEffects(finishedWork);
|
10607
10651
|
break;
|
10608
10652
|
default:
|
10609
10653
|
recursivelyTraversePassiveUnmountEffects(finishedWork);
|
10610
10654
|
}
|
10655
|
+
popComponentEffectStart(prevEffectStart);
|
10611
10656
|
}
|
10612
10657
|
function recursivelyTraverseDisconnectPassiveEffects(parentFiber) {
|
10613
10658
|
var deletions = parentFiber.deletions;
|
10614
10659
|
if (0 !== (parentFiber.flags & 16)) {
|
10615
10660
|
if (null !== deletions)
|
10616
10661
|
for (var i = 0; i < deletions.length; i++) {
|
10617
|
-
var childToDelete = deletions[i]
|
10662
|
+
var childToDelete = deletions[i],
|
10663
|
+
prevEffectStart = pushComponentEffectStart();
|
10618
10664
|
nextEffect = childToDelete;
|
10619
10665
|
commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
10620
10666
|
childToDelete,
|
10621
10667
|
parentFiber
|
10622
10668
|
);
|
10669
|
+
popComponentEffectStart(prevEffectStart);
|
10623
10670
|
}
|
10624
10671
|
detachAlternateSiblings(parentFiber);
|
10625
10672
|
}
|
10626
10673
|
for (parentFiber = parentFiber.child; null !== parentFiber; ) {
|
10627
10674
|
deletions = parentFiber;
|
10675
|
+
i = pushComponentEffectStart();
|
10628
10676
|
switch (deletions.tag) {
|
10629
10677
|
case 0:
|
10630
10678
|
case 11:
|
@@ -10633,23 +10681,26 @@ function recursivelyTraverseDisconnectPassiveEffects(parentFiber) {
|
|
10633
10681
|
recursivelyTraverseDisconnectPassiveEffects(deletions);
|
10634
10682
|
break;
|
10635
10683
|
case 22:
|
10636
|
-
|
10637
|
-
|
10638
|
-
((
|
10684
|
+
childToDelete = deletions.stateNode;
|
10685
|
+
childToDelete._visibility & 2 &&
|
10686
|
+
((childToDelete._visibility &= -3),
|
10639
10687
|
recursivelyTraverseDisconnectPassiveEffects(deletions));
|
10640
10688
|
break;
|
10641
10689
|
default:
|
10642
10690
|
recursivelyTraverseDisconnectPassiveEffects(deletions);
|
10643
10691
|
}
|
10692
|
+
popComponentEffectStart(i);
|
10644
10693
|
parentFiber = parentFiber.sibling;
|
10645
10694
|
}
|
10646
10695
|
}
|
10647
10696
|
function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
10648
10697
|
deletedSubtreeRoot,
|
10649
|
-
nearestMountedAncestor
|
10698
|
+
nearestMountedAncestor$jscomp$0
|
10650
10699
|
) {
|
10651
10700
|
for (; null !== nextEffect; ) {
|
10652
|
-
var fiber = nextEffect
|
10701
|
+
var fiber = nextEffect,
|
10702
|
+
nearestMountedAncestor = nearestMountedAncestor$jscomp$0,
|
10703
|
+
prevEffectStart = pushComponentEffectStart();
|
10653
10704
|
switch (fiber.tag) {
|
10654
10705
|
case 0:
|
10655
10706
|
case 11:
|
@@ -10658,32 +10709,31 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(
|
|
10658
10709
|
break;
|
10659
10710
|
case 23:
|
10660
10711
|
case 22:
|
10661
|
-
|
10662
|
-
null !== fiber.memoizedState &&
|
10663
|
-
|
10664
|
-
|
10665
|
-
var cache = fiber.memoizedState.cachePool.pool;
|
10666
|
-
null != cache && cache.refCount++;
|
10667
|
-
}
|
10712
|
+
null !== fiber.memoizedState &&
|
10713
|
+
null !== fiber.memoizedState.cachePool &&
|
10714
|
+
((nearestMountedAncestor = fiber.memoizedState.cachePool.pool),
|
10715
|
+
null != nearestMountedAncestor && nearestMountedAncestor.refCount++);
|
10668
10716
|
break;
|
10669
10717
|
case 24:
|
10670
10718
|
releaseCache(fiber.memoizedState.cache);
|
10671
10719
|
}
|
10672
|
-
|
10673
|
-
|
10720
|
+
popComponentEffectStart(prevEffectStart);
|
10721
|
+
prevEffectStart = fiber.child;
|
10722
|
+
if (null !== prevEffectStart)
|
10723
|
+
(prevEffectStart.return = fiber), (nextEffect = prevEffectStart);
|
10674
10724
|
else
|
10675
10725
|
a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) {
|
10676
|
-
|
10677
|
-
|
10678
|
-
|
10679
|
-
detachFiberAfterEffects(
|
10680
|
-
if (
|
10726
|
+
prevEffectStart = nextEffect;
|
10727
|
+
nearestMountedAncestor = prevEffectStart.sibling;
|
10728
|
+
var returnFiber = prevEffectStart.return;
|
10729
|
+
detachFiberAfterEffects(prevEffectStart);
|
10730
|
+
if (prevEffectStart === fiber) {
|
10681
10731
|
nextEffect = null;
|
10682
10732
|
break a;
|
10683
10733
|
}
|
10684
|
-
if (null !==
|
10685
|
-
|
10686
|
-
nextEffect =
|
10734
|
+
if (null !== nearestMountedAncestor) {
|
10735
|
+
nearestMountedAncestor.return = returnFiber;
|
10736
|
+
nextEffect = nearestMountedAncestor;
|
10687
10737
|
break a;
|
10688
10738
|
}
|
10689
10739
|
nextEffect = returnFiber;
|
@@ -11266,8 +11316,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
|
|
11266
11316
|
workLoopSync();
|
11267
11317
|
memoizedUpdaters = workInProgressRootExitStatus;
|
11268
11318
|
break;
|
11269
|
-
} catch (thrownValue$
|
11270
|
-
handleThrow(root, thrownValue$
|
11319
|
+
} catch (thrownValue$183) {
|
11320
|
+
handleThrow(root, thrownValue$183);
|
11271
11321
|
}
|
11272
11322
|
while (1);
|
11273
11323
|
lanes && root.shellSuspendCounter++;
|
@@ -11357,7 +11407,11 @@ function renderRootConcurrent(root, lanes) {
|
|
11357
11407
|
case 5:
|
11358
11408
|
case 27:
|
11359
11409
|
var hostFiber = workInProgress;
|
11360
|
-
if (
|
11410
|
+
if (
|
11411
|
+
resource
|
11412
|
+
? preloadResource(resource)
|
11413
|
+
: hostFiber.stateNode.complete
|
11414
|
+
) {
|
11361
11415
|
workInProgressSuspendedReason = 0;
|
11362
11416
|
workInProgressThrownValue = null;
|
11363
11417
|
var sibling = hostFiber.sibling;
|
@@ -11390,8 +11444,8 @@ function renderRootConcurrent(root, lanes) {
|
|
11390
11444
|
}
|
11391
11445
|
workLoopConcurrentByScheduler();
|
11392
11446
|
break;
|
11393
|
-
} catch (thrownValue$
|
11394
|
-
handleThrow(root, thrownValue$
|
11447
|
+
} catch (thrownValue$185) {
|
11448
|
+
handleThrow(root, thrownValue$185);
|
11395
11449
|
}
|
11396
11450
|
while (1);
|
11397
11451
|
lastContextDependency = currentlyRenderingFiber$1 = null;
|
@@ -11675,6 +11729,7 @@ function flushMutationEffects() {
|
|
11675
11729
|
try {
|
11676
11730
|
inProgressLanes = lanes;
|
11677
11731
|
inProgressRoot = root;
|
11732
|
+
componentEffectStartTime = -1.1;
|
11678
11733
|
commitMutationEffectsOnFiber(finishedWork, root);
|
11679
11734
|
inProgressRoot = inProgressLanes = null;
|
11680
11735
|
lanes = selectionInformation;
|
@@ -11805,6 +11860,7 @@ function flushLayoutEffects() {
|
|
11805
11860
|
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
11806
11861
|
(inProgressLanes = lanes),
|
11807
11862
|
(inProgressRoot = root),
|
11863
|
+
(componentEffectStartTime = -1.1),
|
11808
11864
|
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
11809
11865
|
(inProgressRoot = inProgressLanes = null),
|
11810
11866
|
null !== injectedProfilingHooks &&
|
@@ -11936,10 +11992,14 @@ function flushPassiveEffects() {
|
|
11936
11992
|
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
11937
11993
|
var prevExecutionContext = executionContext;
|
11938
11994
|
executionContext |= 4;
|
11939
|
-
|
11995
|
+
var finishedWork = root$jscomp$0.current;
|
11996
|
+
componentEffectStartTime = -1.1;
|
11997
|
+
commitPassiveUnmountOnFiber(finishedWork);
|
11998
|
+
var finishedWork$jscomp$0 = root$jscomp$0.current;
|
11999
|
+
componentEffectStartTime = -1.1;
|
11940
12000
|
commitPassiveMountOnFiber(
|
11941
12001
|
root$jscomp$0,
|
11942
|
-
|
12002
|
+
finishedWork$jscomp$0,
|
11943
12003
|
lanes,
|
11944
12004
|
renderPriority
|
11945
12005
|
);
|
@@ -12109,14 +12169,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
12109
12169
|
isFlushingWork = !0;
|
12110
12170
|
do {
|
12111
12171
|
var didPerformSomeWork = !1;
|
12112
|
-
for (var root$
|
12172
|
+
for (var root$190 = firstScheduledRoot; null !== root$190; ) {
|
12113
12173
|
if (!onlyLegacy)
|
12114
12174
|
if (0 !== syncTransitionLanes) {
|
12115
|
-
var pendingLanes = root$
|
12175
|
+
var pendingLanes = root$190.pendingLanes;
|
12116
12176
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
12117
12177
|
else {
|
12118
|
-
var suspendedLanes = root$
|
12119
|
-
pingedLanes = root$
|
12178
|
+
var suspendedLanes = root$190.suspendedLanes,
|
12179
|
+
pingedLanes = root$190.pingedLanes;
|
12120
12180
|
JSCompiler_inline_result =
|
12121
12181
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
12122
12182
|
JSCompiler_inline_result &=
|
@@ -12130,20 +12190,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
12130
12190
|
}
|
12131
12191
|
0 !== JSCompiler_inline_result &&
|
12132
12192
|
((didPerformSomeWork = !0),
|
12133
|
-
performSyncWorkOnRoot(root$
|
12193
|
+
performSyncWorkOnRoot(root$190, JSCompiler_inline_result));
|
12134
12194
|
} else
|
12135
12195
|
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
12136
12196
|
(JSCompiler_inline_result = getNextLanes(
|
12137
|
-
root$
|
12138
|
-
root$
|
12139
|
-
null !== root$
|
12140
|
-
-1 !== root$
|
12197
|
+
root$190,
|
12198
|
+
root$190 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
12199
|
+
null !== root$190.cancelPendingCommit ||
|
12200
|
+
-1 !== root$190.timeoutHandle
|
12141
12201
|
)),
|
12142
12202
|
0 === (JSCompiler_inline_result & 3) ||
|
12143
|
-
checkIfRootIsPrerendering(root$
|
12203
|
+
checkIfRootIsPrerendering(root$190, JSCompiler_inline_result) ||
|
12144
12204
|
((didPerformSomeWork = !0),
|
12145
|
-
performSyncWorkOnRoot(root$
|
12146
|
-
root$
|
12205
|
+
performSyncWorkOnRoot(root$190, JSCompiler_inline_result));
|
12206
|
+
root$190 = root$190.next;
|
12147
12207
|
}
|
12148
12208
|
} while (didPerformSomeWork);
|
12149
12209
|
isFlushingWork = !1;
|
@@ -12387,20 +12447,20 @@ function extractEvents$1(
|
|
12387
12447
|
}
|
12388
12448
|
}
|
12389
12449
|
for (
|
12390
|
-
var i$jscomp$
|
12391
|
-
i$jscomp$
|
12392
|
-
i$jscomp$
|
12450
|
+
var i$jscomp$inline_1611 = 0;
|
12451
|
+
i$jscomp$inline_1611 < simpleEventPluginEvents.length;
|
12452
|
+
i$jscomp$inline_1611++
|
12393
12453
|
) {
|
12394
|
-
var eventName$jscomp$
|
12395
|
-
simpleEventPluginEvents[i$jscomp$
|
12396
|
-
domEventName$jscomp$
|
12397
|
-
eventName$jscomp$
|
12398
|
-
capitalizedEvent$jscomp$
|
12399
|
-
eventName$jscomp$
|
12400
|
-
eventName$jscomp$
|
12454
|
+
var eventName$jscomp$inline_1612 =
|
12455
|
+
simpleEventPluginEvents[i$jscomp$inline_1611],
|
12456
|
+
domEventName$jscomp$inline_1613 =
|
12457
|
+
eventName$jscomp$inline_1612.toLowerCase(),
|
12458
|
+
capitalizedEvent$jscomp$inline_1614 =
|
12459
|
+
eventName$jscomp$inline_1612[0].toUpperCase() +
|
12460
|
+
eventName$jscomp$inline_1612.slice(1);
|
12401
12461
|
registerSimpleEvent(
|
12402
|
-
domEventName$jscomp$
|
12403
|
-
"on" + capitalizedEvent$jscomp$
|
12462
|
+
domEventName$jscomp$inline_1613,
|
12463
|
+
"on" + capitalizedEvent$jscomp$inline_1614
|
12404
12464
|
);
|
12405
12465
|
}
|
12406
12466
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -13577,34 +13637,34 @@ function setInitialProperties(domElement, tag, props) {
|
|
13577
13637
|
defaultChecked = null;
|
13578
13638
|
for (hasSrc in props)
|
13579
13639
|
if (props.hasOwnProperty(hasSrc)) {
|
13580
|
-
var propValue$
|
13581
|
-
if (null != propValue$
|
13640
|
+
var propValue$204 = props[hasSrc];
|
13641
|
+
if (null != propValue$204)
|
13582
13642
|
switch (hasSrc) {
|
13583
13643
|
case "name":
|
13584
|
-
hasSrcSet = propValue$
|
13644
|
+
hasSrcSet = propValue$204;
|
13585
13645
|
break;
|
13586
13646
|
case "type":
|
13587
|
-
propValue = propValue$
|
13647
|
+
propValue = propValue$204;
|
13588
13648
|
break;
|
13589
13649
|
case "checked":
|
13590
|
-
checked = propValue$
|
13650
|
+
checked = propValue$204;
|
13591
13651
|
break;
|
13592
13652
|
case "defaultChecked":
|
13593
|
-
defaultChecked = propValue$
|
13653
|
+
defaultChecked = propValue$204;
|
13594
13654
|
break;
|
13595
13655
|
case "value":
|
13596
|
-
propKey = propValue$
|
13656
|
+
propKey = propValue$204;
|
13597
13657
|
break;
|
13598
13658
|
case "defaultValue":
|
13599
|
-
defaultValue = propValue$
|
13659
|
+
defaultValue = propValue$204;
|
13600
13660
|
break;
|
13601
13661
|
case "children":
|
13602
13662
|
case "dangerouslySetInnerHTML":
|
13603
|
-
if (null != propValue$
|
13663
|
+
if (null != propValue$204)
|
13604
13664
|
throw Error(formatProdErrorMessage(137, tag));
|
13605
13665
|
break;
|
13606
13666
|
default:
|
13607
|
-
setProp(domElement, tag, hasSrc, propValue$
|
13667
|
+
setProp(domElement, tag, hasSrc, propValue$204, props, null);
|
13608
13668
|
}
|
13609
13669
|
}
|
13610
13670
|
initInput(
|
@@ -13743,14 +13803,14 @@ function setInitialProperties(domElement, tag, props) {
|
|
13743
13803
|
return;
|
13744
13804
|
default:
|
13745
13805
|
if (isCustomElement(tag)) {
|
13746
|
-
for (propValue$
|
13747
|
-
props.hasOwnProperty(propValue$
|
13748
|
-
((hasSrc = props[propValue$
|
13806
|
+
for (propValue$204 in props)
|
13807
|
+
props.hasOwnProperty(propValue$204) &&
|
13808
|
+
((hasSrc = props[propValue$204]),
|
13749
13809
|
void 0 !== hasSrc &&
|
13750
13810
|
setPropOnCustomElement(
|
13751
13811
|
domElement,
|
13752
13812
|
tag,
|
13753
|
-
propValue$
|
13813
|
+
propValue$204,
|
13754
13814
|
hasSrc,
|
13755
13815
|
props,
|
13756
13816
|
void 0
|
@@ -13798,14 +13858,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13798
13858
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
13799
13859
|
}
|
13800
13860
|
}
|
13801
|
-
for (var propKey$
|
13802
|
-
var propKey = nextProps[propKey$
|
13803
|
-
lastProp = lastProps[propKey$
|
13861
|
+
for (var propKey$221 in nextProps) {
|
13862
|
+
var propKey = nextProps[propKey$221];
|
13863
|
+
lastProp = lastProps[propKey$221];
|
13804
13864
|
if (
|
13805
|
-
nextProps.hasOwnProperty(propKey$
|
13865
|
+
nextProps.hasOwnProperty(propKey$221) &&
|
13806
13866
|
(null != propKey || null != lastProp)
|
13807
13867
|
)
|
13808
|
-
switch (propKey$
|
13868
|
+
switch (propKey$221) {
|
13809
13869
|
case "type":
|
13810
13870
|
type = propKey;
|
13811
13871
|
break;
|
@@ -13834,7 +13894,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13834
13894
|
setProp(
|
13835
13895
|
domElement,
|
13836
13896
|
tag,
|
13837
|
-
propKey$
|
13897
|
+
propKey$221,
|
13838
13898
|
propKey,
|
13839
13899
|
nextProps,
|
13840
13900
|
lastProp
|
@@ -13853,7 +13913,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13853
13913
|
);
|
13854
13914
|
return;
|
13855
13915
|
case "select":
|
13856
|
-
propKey = value = defaultValue = propKey$
|
13916
|
+
propKey = value = defaultValue = propKey$221 = null;
|
13857
13917
|
for (type in lastProps)
|
13858
13918
|
if (
|
13859
13919
|
((lastDefaultValue = lastProps[type]),
|
@@ -13884,7 +13944,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13884
13944
|
)
|
13885
13945
|
switch (name) {
|
13886
13946
|
case "value":
|
13887
|
-
propKey$
|
13947
|
+
propKey$221 = type;
|
13888
13948
|
break;
|
13889
13949
|
case "defaultValue":
|
13890
13950
|
defaultValue = type;
|
@@ -13905,15 +13965,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13905
13965
|
tag = defaultValue;
|
13906
13966
|
lastProps = value;
|
13907
13967
|
nextProps = propKey;
|
13908
|
-
null != propKey$
|
13909
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
13968
|
+
null != propKey$221
|
13969
|
+
? updateOptions(domElement, !!lastProps, propKey$221, !1)
|
13910
13970
|
: !!nextProps !== !!lastProps &&
|
13911
13971
|
(null != tag
|
13912
13972
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
13913
13973
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
13914
13974
|
return;
|
13915
13975
|
case "textarea":
|
13916
|
-
propKey = propKey$
|
13976
|
+
propKey = propKey$221 = null;
|
13917
13977
|
for (defaultValue in lastProps)
|
13918
13978
|
if (
|
13919
13979
|
((name = lastProps[defaultValue]),
|
@@ -13937,7 +13997,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13937
13997
|
)
|
13938
13998
|
switch (value) {
|
13939
13999
|
case "value":
|
13940
|
-
propKey$
|
14000
|
+
propKey$221 = name;
|
13941
14001
|
break;
|
13942
14002
|
case "defaultValue":
|
13943
14003
|
propKey = name;
|
@@ -13951,17 +14011,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13951
14011
|
name !== type &&
|
13952
14012
|
setProp(domElement, tag, value, name, nextProps, type);
|
13953
14013
|
}
|
13954
|
-
updateTextarea(domElement, propKey$
|
14014
|
+
updateTextarea(domElement, propKey$221, propKey);
|
13955
14015
|
return;
|
13956
14016
|
case "option":
|
13957
|
-
for (var propKey$
|
14017
|
+
for (var propKey$237 in lastProps)
|
13958
14018
|
if (
|
13959
|
-
((propKey$
|
13960
|
-
lastProps.hasOwnProperty(propKey$
|
13961
|
-
null != propKey$
|
13962
|
-
!nextProps.hasOwnProperty(propKey$
|
14019
|
+
((propKey$221 = lastProps[propKey$237]),
|
14020
|
+
lastProps.hasOwnProperty(propKey$237) &&
|
14021
|
+
null != propKey$221 &&
|
14022
|
+
!nextProps.hasOwnProperty(propKey$237))
|
13963
14023
|
)
|
13964
|
-
switch (propKey$
|
14024
|
+
switch (propKey$237) {
|
13965
14025
|
case "selected":
|
13966
14026
|
domElement.selected = !1;
|
13967
14027
|
break;
|
@@ -13969,33 +14029,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13969
14029
|
setProp(
|
13970
14030
|
domElement,
|
13971
14031
|
tag,
|
13972
|
-
propKey$
|
14032
|
+
propKey$237,
|
13973
14033
|
null,
|
13974
14034
|
nextProps,
|
13975
|
-
propKey$
|
14035
|
+
propKey$221
|
13976
14036
|
);
|
13977
14037
|
}
|
13978
14038
|
for (lastDefaultValue in nextProps)
|
13979
14039
|
if (
|
13980
|
-
((propKey$
|
14040
|
+
((propKey$221 = nextProps[lastDefaultValue]),
|
13981
14041
|
(propKey = lastProps[lastDefaultValue]),
|
13982
14042
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
13983
|
-
propKey$
|
13984
|
-
(null != propKey$
|
14043
|
+
propKey$221 !== propKey &&
|
14044
|
+
(null != propKey$221 || null != propKey))
|
13985
14045
|
)
|
13986
14046
|
switch (lastDefaultValue) {
|
13987
14047
|
case "selected":
|
13988
14048
|
domElement.selected =
|
13989
|
-
propKey$
|
13990
|
-
"function" !== typeof propKey$
|
13991
|
-
"symbol" !== typeof propKey$
|
14049
|
+
propKey$221 &&
|
14050
|
+
"function" !== typeof propKey$221 &&
|
14051
|
+
"symbol" !== typeof propKey$221;
|
13992
14052
|
break;
|
13993
14053
|
default:
|
13994
14054
|
setProp(
|
13995
14055
|
domElement,
|
13996
14056
|
tag,
|
13997
14057
|
lastDefaultValue,
|
13998
|
-
propKey$
|
14058
|
+
propKey$221,
|
13999
14059
|
nextProps,
|
14000
14060
|
propKey
|
14001
14061
|
);
|
@@ -14016,24 +14076,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
14016
14076
|
case "track":
|
14017
14077
|
case "wbr":
|
14018
14078
|
case "menuitem":
|
14019
|
-
for (var propKey$
|
14020
|
-
(propKey$
|
14021
|
-
lastProps.hasOwnProperty(propKey$
|
14022
|
-
null != propKey$
|
14023
|
-
!nextProps.hasOwnProperty(propKey$
|
14024
|
-
setProp(domElement, tag, propKey$
|
14079
|
+
for (var propKey$242 in lastProps)
|
14080
|
+
(propKey$221 = lastProps[propKey$242]),
|
14081
|
+
lastProps.hasOwnProperty(propKey$242) &&
|
14082
|
+
null != propKey$221 &&
|
14083
|
+
!nextProps.hasOwnProperty(propKey$242) &&
|
14084
|
+
setProp(domElement, tag, propKey$242, null, nextProps, propKey$221);
|
14025
14085
|
for (checked in nextProps)
|
14026
14086
|
if (
|
14027
|
-
((propKey$
|
14087
|
+
((propKey$221 = nextProps[checked]),
|
14028
14088
|
(propKey = lastProps[checked]),
|
14029
14089
|
nextProps.hasOwnProperty(checked) &&
|
14030
|
-
propKey$
|
14031
|
-
(null != propKey$
|
14090
|
+
propKey$221 !== propKey &&
|
14091
|
+
(null != propKey$221 || null != propKey))
|
14032
14092
|
)
|
14033
14093
|
switch (checked) {
|
14034
14094
|
case "children":
|
14035
14095
|
case "dangerouslySetInnerHTML":
|
14036
|
-
if (null != propKey$
|
14096
|
+
if (null != propKey$221)
|
14037
14097
|
throw Error(formatProdErrorMessage(137, tag));
|
14038
14098
|
break;
|
14039
14099
|
default:
|
@@ -14041,7 +14101,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
14041
14101
|
domElement,
|
14042
14102
|
tag,
|
14043
14103
|
checked,
|
14044
|
-
propKey$
|
14104
|
+
propKey$221,
|
14045
14105
|
nextProps,
|
14046
14106
|
propKey
|
14047
14107
|
);
|
@@ -14049,49 +14109,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
14049
14109
|
return;
|
14050
14110
|
default:
|
14051
14111
|
if (isCustomElement(tag)) {
|
14052
|
-
for (var propKey$
|
14053
|
-
(propKey$
|
14054
|
-
lastProps.hasOwnProperty(propKey$
|
14055
|
-
void 0 !== propKey$
|
14056
|
-
!nextProps.hasOwnProperty(propKey$
|
14112
|
+
for (var propKey$247 in lastProps)
|
14113
|
+
(propKey$221 = lastProps[propKey$247]),
|
14114
|
+
lastProps.hasOwnProperty(propKey$247) &&
|
14115
|
+
void 0 !== propKey$221 &&
|
14116
|
+
!nextProps.hasOwnProperty(propKey$247) &&
|
14057
14117
|
setPropOnCustomElement(
|
14058
14118
|
domElement,
|
14059
14119
|
tag,
|
14060
|
-
propKey$
|
14120
|
+
propKey$247,
|
14061
14121
|
void 0,
|
14062
14122
|
nextProps,
|
14063
|
-
propKey$
|
14123
|
+
propKey$221
|
14064
14124
|
);
|
14065
14125
|
for (defaultChecked in nextProps)
|
14066
|
-
(propKey$
|
14126
|
+
(propKey$221 = nextProps[defaultChecked]),
|
14067
14127
|
(propKey = lastProps[defaultChecked]),
|
14068
14128
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
14069
|
-
propKey$
|
14070
|
-
(void 0 === propKey$
|
14129
|
+
propKey$221 === propKey ||
|
14130
|
+
(void 0 === propKey$221 && void 0 === propKey) ||
|
14071
14131
|
setPropOnCustomElement(
|
14072
14132
|
domElement,
|
14073
14133
|
tag,
|
14074
14134
|
defaultChecked,
|
14075
|
-
propKey$
|
14135
|
+
propKey$221,
|
14076
14136
|
nextProps,
|
14077
14137
|
propKey
|
14078
14138
|
);
|
14079
14139
|
return;
|
14080
14140
|
}
|
14081
14141
|
}
|
14082
|
-
for (var propKey$
|
14083
|
-
(propKey$
|
14084
|
-
lastProps.hasOwnProperty(propKey$
|
14085
|
-
null != propKey$
|
14086
|
-
!nextProps.hasOwnProperty(propKey$
|
14087
|
-
setProp(domElement, tag, propKey$
|
14142
|
+
for (var propKey$252 in lastProps)
|
14143
|
+
(propKey$221 = lastProps[propKey$252]),
|
14144
|
+
lastProps.hasOwnProperty(propKey$252) &&
|
14145
|
+
null != propKey$221 &&
|
14146
|
+
!nextProps.hasOwnProperty(propKey$252) &&
|
14147
|
+
setProp(domElement, tag, propKey$252, null, nextProps, propKey$221);
|
14088
14148
|
for (lastProp in nextProps)
|
14089
|
-
(propKey$
|
14149
|
+
(propKey$221 = nextProps[lastProp]),
|
14090
14150
|
(propKey = lastProps[lastProp]),
|
14091
14151
|
!nextProps.hasOwnProperty(lastProp) ||
|
14092
|
-
propKey$
|
14093
|
-
(null == propKey$
|
14094
|
-
setProp(domElement, tag, lastProp, propKey$
|
14152
|
+
propKey$221 === propKey ||
|
14153
|
+
(null == propKey$221 && null == propKey) ||
|
14154
|
+
setProp(domElement, tag, lastProp, propKey$221, nextProps, propKey);
|
14095
14155
|
}
|
14096
14156
|
var eventsEnabled = null,
|
14097
14157
|
selectionInformation = null;
|
@@ -14700,26 +14760,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
14700
14760
|
"string" === typeof pendingProps.precedence
|
14701
14761
|
) {
|
14702
14762
|
type = getStyleKey(pendingProps.href);
|
14703
|
-
var styles$
|
14763
|
+
var styles$260 = getResourcesFromRoot(
|
14704
14764
|
JSCompiler_inline_result
|
14705
14765
|
).hoistableStyles,
|
14706
|
-
resource$
|
14707
|
-
resource$
|
14766
|
+
resource$261 = styles$260.get(type);
|
14767
|
+
resource$261 ||
|
14708
14768
|
((JSCompiler_inline_result =
|
14709
14769
|
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
14710
|
-
(resource$
|
14770
|
+
(resource$261 = {
|
14711
14771
|
type: "stylesheet",
|
14712
14772
|
instance: null,
|
14713
14773
|
count: 0,
|
14714
14774
|
state: { loading: 0, preload: null }
|
14715
14775
|
}),
|
14716
|
-
styles$
|
14717
|
-
(styles$
|
14776
|
+
styles$260.set(type, resource$261),
|
14777
|
+
(styles$260 = JSCompiler_inline_result.querySelector(
|
14718
14778
|
getStylesheetSelectorFromKey(type)
|
14719
14779
|
)) &&
|
14720
|
-
!styles$
|
14721
|
-
((resource$
|
14722
|
-
(resource$
|
14780
|
+
!styles$260._p &&
|
14781
|
+
((resource$261.instance = styles$260),
|
14782
|
+
(resource$261.state.loading = 5)),
|
14723
14783
|
preloadPropsMap.has(type) ||
|
14724
14784
|
((pendingProps = {
|
14725
14785
|
rel: "preload",
|
@@ -14732,16 +14792,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
14732
14792
|
referrerPolicy: pendingProps.referrerPolicy
|
14733
14793
|
}),
|
14734
14794
|
preloadPropsMap.set(type, pendingProps),
|
14735
|
-
styles$
|
14795
|
+
styles$260 ||
|
14736
14796
|
preloadStylesheet(
|
14737
14797
|
JSCompiler_inline_result,
|
14738
14798
|
type,
|
14739
14799
|
pendingProps,
|
14740
|
-
resource$
|
14800
|
+
resource$261.state
|
14741
14801
|
)));
|
14742
14802
|
if (currentProps && null === currentResource)
|
14743
14803
|
throw Error(formatProdErrorMessage(528, ""));
|
14744
|
-
return resource$
|
14804
|
+
return resource$261;
|
14745
14805
|
}
|
14746
14806
|
if (currentProps && null !== currentResource)
|
14747
14807
|
throw Error(formatProdErrorMessage(529, ""));
|
@@ -14838,37 +14898,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14838
14898
|
return (resource.instance = instance);
|
14839
14899
|
case "stylesheet":
|
14840
14900
|
styleProps = getStyleKey(props.href);
|
14841
|
-
var instance$
|
14901
|
+
var instance$266 = hoistableRoot.querySelector(
|
14842
14902
|
getStylesheetSelectorFromKey(styleProps)
|
14843
14903
|
);
|
14844
|
-
if (instance$
|
14904
|
+
if (instance$266)
|
14845
14905
|
return (
|
14846
14906
|
(resource.state.loading |= 4),
|
14847
|
-
(resource.instance = instance$
|
14848
|
-
markNodeAsHoistable(instance$
|
14849
|
-
instance$
|
14907
|
+
(resource.instance = instance$266),
|
14908
|
+
markNodeAsHoistable(instance$266),
|
14909
|
+
instance$266
|
14850
14910
|
);
|
14851
14911
|
instance = stylesheetPropsFromRawProps(props);
|
14852
14912
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
14853
14913
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
14854
|
-
instance$
|
14914
|
+
instance$266 = (
|
14855
14915
|
hoistableRoot.ownerDocument || hoistableRoot
|
14856
14916
|
).createElement("link");
|
14857
|
-
markNodeAsHoistable(instance$
|
14858
|
-
var linkInstance = instance$
|
14917
|
+
markNodeAsHoistable(instance$266);
|
14918
|
+
var linkInstance = instance$266;
|
14859
14919
|
linkInstance._p = new Promise(function (resolve, reject) {
|
14860
14920
|
linkInstance.onload = resolve;
|
14861
14921
|
linkInstance.onerror = reject;
|
14862
14922
|
});
|
14863
|
-
setInitialProperties(instance$
|
14923
|
+
setInitialProperties(instance$266, "link", instance);
|
14864
14924
|
resource.state.loading |= 4;
|
14865
|
-
insertStylesheet(instance$
|
14866
|
-
return (resource.instance = instance$
|
14925
|
+
insertStylesheet(instance$266, props.precedence, hoistableRoot);
|
14926
|
+
return (resource.instance = instance$266);
|
14867
14927
|
case "script":
|
14868
|
-
instance$
|
14928
|
+
instance$266 = getScriptKey(props.src);
|
14869
14929
|
if (
|
14870
14930
|
(styleProps = hoistableRoot.querySelector(
|
14871
|
-
getScriptSelectorFromKey(instance$
|
14931
|
+
getScriptSelectorFromKey(instance$266)
|
14872
14932
|
))
|
14873
14933
|
)
|
14874
14934
|
return (
|
@@ -14877,7 +14937,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14877
14937
|
styleProps
|
14878
14938
|
);
|
14879
14939
|
instance = props;
|
14880
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
14940
|
+
if ((styleProps = preloadPropsMap.get(instance$266)))
|
14881
14941
|
(instance = assign({}, props)),
|
14882
14942
|
adoptPreloadPropsForScript(instance, styleProps);
|
14883
14943
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
@@ -15915,16 +15975,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15915
15975
|
0 === i && attemptExplicitHydrationTarget(target);
|
15916
15976
|
}
|
15917
15977
|
};
|
15918
|
-
var isomorphicReactPackageVersion$jscomp$
|
15978
|
+
var isomorphicReactPackageVersion$jscomp$inline_1870 = React.version;
|
15919
15979
|
if (
|
15920
|
-
"19.2.0-canary-
|
15921
|
-
isomorphicReactPackageVersion$jscomp$
|
15980
|
+
"19.2.0-canary-6a7650c7-20250405" !==
|
15981
|
+
isomorphicReactPackageVersion$jscomp$inline_1870
|
15922
15982
|
)
|
15923
15983
|
throw Error(
|
15924
15984
|
formatProdErrorMessage(
|
15925
15985
|
527,
|
15926
|
-
isomorphicReactPackageVersion$jscomp$
|
15927
|
-
"19.2.0-canary-
|
15986
|
+
isomorphicReactPackageVersion$jscomp$inline_1870,
|
15987
|
+
"19.2.0-canary-6a7650c7-20250405"
|
15928
15988
|
)
|
15929
15989
|
);
|
15930
15990
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15944,17 +16004,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15944
16004
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15945
16005
|
return componentOrElement;
|
15946
16006
|
};
|
15947
|
-
var internals$jscomp$
|
16007
|
+
var internals$jscomp$inline_1877 = {
|
15948
16008
|
bundleType: 0,
|
15949
|
-
version: "19.2.0-canary-
|
16009
|
+
version: "19.2.0-canary-6a7650c7-20250405",
|
15950
16010
|
rendererPackageName: "react-dom",
|
15951
16011
|
currentDispatcherRef: ReactSharedInternals,
|
15952
|
-
reconcilerVersion: "19.2.0-canary-
|
16012
|
+
reconcilerVersion: "19.2.0-canary-6a7650c7-20250405",
|
15953
16013
|
getLaneLabelMap: function () {
|
15954
16014
|
for (
|
15955
|
-
var map = new Map(), lane = 1, index$
|
15956
|
-
31 > index$
|
15957
|
-
index$
|
16015
|
+
var map = new Map(), lane = 1, index$283 = 0;
|
16016
|
+
31 > index$283;
|
16017
|
+
index$283++
|
15958
16018
|
) {
|
15959
16019
|
var label = getLabelForLane(lane);
|
15960
16020
|
map.set(lane, label);
|
@@ -15967,16 +16027,16 @@ var internals$jscomp$inline_1882 = {
|
|
15967
16027
|
}
|
15968
16028
|
};
|
15969
16029
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15970
|
-
var hook$jscomp$
|
16030
|
+
var hook$jscomp$inline_2306 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15971
16031
|
if (
|
15972
|
-
!hook$jscomp$
|
15973
|
-
hook$jscomp$
|
16032
|
+
!hook$jscomp$inline_2306.isDisabled &&
|
16033
|
+
hook$jscomp$inline_2306.supportsFiber
|
15974
16034
|
)
|
15975
16035
|
try {
|
15976
|
-
(rendererID = hook$jscomp$
|
15977
|
-
internals$jscomp$
|
16036
|
+
(rendererID = hook$jscomp$inline_2306.inject(
|
16037
|
+
internals$jscomp$inline_1877
|
15978
16038
|
)),
|
15979
|
-
(injectedHook = hook$jscomp$
|
16039
|
+
(injectedHook = hook$jscomp$inline_2306);
|
15980
16040
|
} catch (err) {}
|
15981
16041
|
}
|
15982
16042
|
function noop() {}
|
@@ -16229,7 +16289,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16229
16289
|
exports.useFormStatus = function () {
|
16230
16290
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16231
16291
|
};
|
16232
|
-
exports.version = "19.2.0-canary-
|
16292
|
+
exports.version = "19.2.0-canary-6a7650c7-20250405";
|
16233
16293
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16234
16294
|
"function" ===
|
16235
16295
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|