react-dom 19.1.0-canary-ef979d47-20241218 → 19.1.0-canary-9463d51e-20241219
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 +241 -218
- package/cjs/react-dom-client.production.js +207 -184
- package/cjs/react-dom-profiling.development.js +241 -218
- package/cjs/react-dom-profiling.profiling.js +210 -187
- 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
@@ -2026,19 +2026,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
2026
2026
|
}
|
2027
2027
|
var isInputEventSupported = !1;
|
2028
2028
|
if (canUseDOM) {
|
2029
|
-
var JSCompiler_inline_result$jscomp$
|
2029
|
+
var JSCompiler_inline_result$jscomp$280;
|
2030
2030
|
if (canUseDOM) {
|
2031
|
-
var isSupported$jscomp$
|
2032
|
-
if (!isSupported$jscomp$
|
2033
|
-
var element$jscomp$
|
2034
|
-
element$jscomp$
|
2035
|
-
isSupported$jscomp$
|
2036
|
-
"function" === typeof element$jscomp$
|
2031
|
+
var isSupported$jscomp$inline_410 = "oninput" in document;
|
2032
|
+
if (!isSupported$jscomp$inline_410) {
|
2033
|
+
var element$jscomp$inline_411 = document.createElement("div");
|
2034
|
+
element$jscomp$inline_411.setAttribute("oninput", "return;");
|
2035
|
+
isSupported$jscomp$inline_410 =
|
2036
|
+
"function" === typeof element$jscomp$inline_411.oninput;
|
2037
2037
|
}
|
2038
|
-
JSCompiler_inline_result$jscomp$
|
2039
|
-
} else JSCompiler_inline_result$jscomp$
|
2038
|
+
JSCompiler_inline_result$jscomp$280 = isSupported$jscomp$inline_410;
|
2039
|
+
} else JSCompiler_inline_result$jscomp$280 = !1;
|
2040
2040
|
isInputEventSupported =
|
2041
|
-
JSCompiler_inline_result$jscomp$
|
2041
|
+
JSCompiler_inline_result$jscomp$280 &&
|
2042
2042
|
(!document.documentMode || 9 < document.documentMode);
|
2043
2043
|
}
|
2044
2044
|
function stopWatchingForValueChange() {
|
@@ -3303,6 +3303,18 @@ function resetHydrationState() {
|
|
3303
3303
|
nextHydratableInstance = hydrationParentFiber = null;
|
3304
3304
|
isHydrating = !1;
|
3305
3305
|
}
|
3306
|
+
function upgradeHydrationErrorsToRecoverable() {
|
3307
|
+
var queuedErrors = hydrationErrors;
|
3308
|
+
null !== queuedErrors &&
|
3309
|
+
(null === workInProgressRootRecoverableErrors
|
3310
|
+
? (workInProgressRootRecoverableErrors = queuedErrors)
|
3311
|
+
: workInProgressRootRecoverableErrors.push.apply(
|
3312
|
+
workInProgressRootRecoverableErrors,
|
3313
|
+
queuedErrors
|
3314
|
+
),
|
3315
|
+
(hydrationErrors = null));
|
3316
|
+
return queuedErrors;
|
3317
|
+
}
|
3306
3318
|
function queueHydrationError(error) {
|
3307
3319
|
null === hydrationErrors
|
3308
3320
|
? (hydrationErrors = [error])
|
@@ -6428,7 +6440,12 @@ function mountHostRootWithoutHydrating(
|
|
6428
6440
|
reconcileChildren(current, workInProgress, nextChildren, renderLanes);
|
6429
6441
|
return workInProgress.child;
|
6430
6442
|
}
|
6431
|
-
var SUSPENDED_MARKER = {
|
6443
|
+
var SUSPENDED_MARKER = {
|
6444
|
+
dehydrated: null,
|
6445
|
+
treeContext: null,
|
6446
|
+
retryLane: 0,
|
6447
|
+
hydrationErrors: null
|
6448
|
+
};
|
6432
6449
|
function mountSuspenseOffscreenState(renderLanes) {
|
6433
6450
|
return { baseLanes: renderLanes, cachePool: getSuspendedCache() };
|
6434
6451
|
}
|
@@ -6491,7 +6508,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
6491
6508
|
null !== treeContextProvider
|
6492
6509
|
? { id: treeContextId, overflow: treeContextOverflow }
|
6493
6510
|
: null,
|
6494
|
-
retryLane: 536870912
|
6511
|
+
retryLane: 536870912,
|
6512
|
+
hydrationErrors: null
|
6495
6513
|
}),
|
6496
6514
|
(JSCompiler_temp$jscomp$0 = createFiberImplClass(
|
6497
6515
|
18,
|
@@ -9021,6 +9039,14 @@ function commitPassiveMountOnFiber(
|
|
9021
9039
|
committedTransitions
|
9022
9040
|
);
|
9023
9041
|
break;
|
9042
|
+
case 13:
|
9043
|
+
recursivelyTraversePassiveMountEffects(
|
9044
|
+
finishedRoot,
|
9045
|
+
finishedWork,
|
9046
|
+
committedLanes,
|
9047
|
+
committedTransitions
|
9048
|
+
);
|
9049
|
+
break;
|
9024
9050
|
case 23:
|
9025
9051
|
break;
|
9026
9052
|
case 22:
|
@@ -9734,9 +9760,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
9734
9760
|
(current.memoizedState.isDehydrated &&
|
9735
9761
|
0 === (workInProgress.flags & 256)) ||
|
9736
9762
|
((workInProgress.flags |= 1024),
|
9737
|
-
|
9738
|
-
(queueRecoverableErrors(hydrationErrors),
|
9739
|
-
(hydrationErrors = null)));
|
9763
|
+
upgradeHydrationErrorsToRecoverable());
|
9740
9764
|
bubbleProperties(workInProgress);
|
9741
9765
|
return null;
|
9742
9766
|
case 26:
|
@@ -9950,8 +9974,10 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
9950
9974
|
bubbleProperties(workInProgress);
|
9951
9975
|
type = !1;
|
9952
9976
|
} else
|
9953
|
-
|
9954
|
-
|
9977
|
+
(type = upgradeHydrationErrorsToRecoverable()),
|
9978
|
+
null !== current &&
|
9979
|
+
null !== current.memoizedState &&
|
9980
|
+
(current.memoizedState.hydrationErrors = type),
|
9955
9981
|
(type = !0);
|
9956
9982
|
if (!type) {
|
9957
9983
|
if (workInProgress.flags & 256)
|
@@ -9972,11 +9998,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
9972
9998
|
null !== newProps.alternate.memoizedState &&
|
9973
9999
|
null !== newProps.alternate.memoizedState.cachePool &&
|
9974
10000
|
(type = newProps.alternate.memoizedState.cachePool.pool);
|
9975
|
-
var cache$
|
10001
|
+
var cache$145 = null;
|
9976
10002
|
null !== newProps.memoizedState &&
|
9977
10003
|
null !== newProps.memoizedState.cachePool &&
|
9978
|
-
(cache$
|
9979
|
-
cache$
|
10004
|
+
(cache$145 = newProps.memoizedState.cachePool.pool);
|
10005
|
+
cache$145 !== type && (newProps.flags |= 2048);
|
9980
10006
|
}
|
9981
10007
|
renderLanes !== current &&
|
9982
10008
|
renderLanes &&
|
@@ -10001,8 +10027,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10001
10027
|
type = workInProgress.memoizedState;
|
10002
10028
|
if (null === type) return bubbleProperties(workInProgress), null;
|
10003
10029
|
newProps = 0 !== (workInProgress.flags & 128);
|
10004
|
-
cache$
|
10005
|
-
if (null === cache$
|
10030
|
+
cache$145 = type.rendering;
|
10031
|
+
if (null === cache$145)
|
10006
10032
|
if (newProps) cutOffTailIfNeeded(type, !1);
|
10007
10033
|
else {
|
10008
10034
|
if (
|
@@ -10010,11 +10036,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10010
10036
|
(null !== current && 0 !== (current.flags & 128))
|
10011
10037
|
)
|
10012
10038
|
for (current = workInProgress.child; null !== current; ) {
|
10013
|
-
cache$
|
10014
|
-
if (null !== cache$
|
10039
|
+
cache$145 = findFirstSuspended(current);
|
10040
|
+
if (null !== cache$145) {
|
10015
10041
|
workInProgress.flags |= 128;
|
10016
10042
|
cutOffTailIfNeeded(type, !1);
|
10017
|
-
current = cache$
|
10043
|
+
current = cache$145.updateQueue;
|
10018
10044
|
workInProgress.updateQueue = current;
|
10019
10045
|
scheduleRetryEffect(workInProgress, current);
|
10020
10046
|
workInProgress.subtreeFlags = 0;
|
@@ -10039,7 +10065,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10039
10065
|
}
|
10040
10066
|
else {
|
10041
10067
|
if (!newProps)
|
10042
|
-
if (((current = findFirstSuspended(cache$
|
10068
|
+
if (((current = findFirstSuspended(cache$145)), null !== current)) {
|
10043
10069
|
if (
|
10044
10070
|
((workInProgress.flags |= 128),
|
10045
10071
|
(newProps = !0),
|
@@ -10049,7 +10075,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10049
10075
|
cutOffTailIfNeeded(type, !0),
|
10050
10076
|
null === type.tail &&
|
10051
10077
|
"hidden" === type.tailMode &&
|
10052
|
-
!cache$
|
10078
|
+
!cache$145.alternate &&
|
10053
10079
|
!isHydrating)
|
10054
10080
|
)
|
10055
10081
|
return bubbleProperties(workInProgress), null;
|
@@ -10062,13 +10088,13 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10062
10088
|
cutOffTailIfNeeded(type, !1),
|
10063
10089
|
(workInProgress.lanes = 4194304));
|
10064
10090
|
type.isBackwards
|
10065
|
-
? ((cache$
|
10066
|
-
(workInProgress.child = cache$
|
10091
|
+
? ((cache$145.sibling = workInProgress.child),
|
10092
|
+
(workInProgress.child = cache$145))
|
10067
10093
|
: ((current = type.last),
|
10068
10094
|
null !== current
|
10069
|
-
? (current.sibling = cache$
|
10070
|
-
: (workInProgress.child = cache$
|
10071
|
-
(type.last = cache$
|
10095
|
+
? (current.sibling = cache$145)
|
10096
|
+
: (workInProgress.child = cache$145),
|
10097
|
+
(type.last = cache$145));
|
10072
10098
|
}
|
10073
10099
|
if (null !== type.tail)
|
10074
10100
|
return (
|
@@ -10377,7 +10403,12 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
10377
10403
|
renderWasConcurrent = workInProgressRootRecoverableErrors;
|
10378
10404
|
workInProgressRootRecoverableErrors = exitStatus;
|
10379
10405
|
null !== renderWasConcurrent &&
|
10380
|
-
|
10406
|
+
(null === workInProgressRootRecoverableErrors
|
10407
|
+
? (workInProgressRootRecoverableErrors = renderWasConcurrent)
|
10408
|
+
: workInProgressRootRecoverableErrors.push.apply(
|
10409
|
+
workInProgressRootRecoverableErrors,
|
10410
|
+
renderWasConcurrent
|
10411
|
+
));
|
10381
10412
|
}
|
10382
10413
|
exitStatus = JSCompiler_inline_result;
|
10383
10414
|
}
|
@@ -10474,14 +10505,6 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
10474
10505
|
} while (1);
|
10475
10506
|
ensureRootIsScheduled(root$jscomp$0);
|
10476
10507
|
}
|
10477
|
-
function queueRecoverableErrors(errors) {
|
10478
|
-
null === workInProgressRootRecoverableErrors
|
10479
|
-
? (workInProgressRootRecoverableErrors = errors)
|
10480
|
-
: workInProgressRootRecoverableErrors.push.apply(
|
10481
|
-
workInProgressRootRecoverableErrors,
|
10482
|
-
errors
|
10483
|
-
);
|
10484
|
-
}
|
10485
10508
|
function commitRootWhenReady(
|
10486
10509
|
root,
|
10487
10510
|
finishedWork,
|
@@ -10759,8 +10782,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
|
|
10759
10782
|
workLoopSync();
|
10760
10783
|
exitStatus = workInProgressRootExitStatus;
|
10761
10784
|
break;
|
10762
|
-
} catch (thrownValue$
|
10763
|
-
handleThrow(root, thrownValue$
|
10785
|
+
} catch (thrownValue$164) {
|
10786
|
+
handleThrow(root, thrownValue$164);
|
10764
10787
|
}
|
10765
10788
|
while (1);
|
10766
10789
|
lanes && root.shellSuspendCounter++;
|
@@ -10875,8 +10898,8 @@ function renderRootConcurrent(root, lanes) {
|
|
10875
10898
|
}
|
10876
10899
|
workLoopConcurrent();
|
10877
10900
|
break;
|
10878
|
-
} catch (thrownValue$
|
10879
|
-
handleThrow(root, thrownValue$
|
10901
|
+
} catch (thrownValue$166) {
|
10902
|
+
handleThrow(root, thrownValue$166);
|
10880
10903
|
}
|
10881
10904
|
while (1);
|
10882
10905
|
lastContextDependency = currentlyRenderingFiber$1 = null;
|
@@ -11188,7 +11211,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
11188
11211
|
}
|
11189
11212
|
function flushPassiveEffects() {
|
11190
11213
|
if (null !== rootWithPendingPassiveEffects) {
|
11191
|
-
var root$
|
11214
|
+
var root$170 = rootWithPendingPassiveEffects,
|
11192
11215
|
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
11193
11216
|
pendingPassiveEffectsRemainingLanes = 0;
|
11194
11217
|
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
|
@@ -11227,7 +11250,7 @@ function flushPassiveEffects() {
|
|
11227
11250
|
} finally {
|
11228
11251
|
(ReactDOMSharedInternals.p = previousPriority),
|
11229
11252
|
(ReactSharedInternals.T = prevTransition),
|
11230
|
-
releaseRootPooledCache(root$
|
11253
|
+
releaseRootPooledCache(root$170, remainingLanes);
|
11231
11254
|
}
|
11232
11255
|
}
|
11233
11256
|
return !1;
|
@@ -11370,14 +11393,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
11370
11393
|
isFlushingWork = !0;
|
11371
11394
|
do {
|
11372
11395
|
var didPerformSomeWork = !1;
|
11373
|
-
for (var root$
|
11396
|
+
for (var root$172 = firstScheduledRoot; null !== root$172; ) {
|
11374
11397
|
if (!onlyLegacy)
|
11375
11398
|
if (0 !== syncTransitionLanes) {
|
11376
|
-
var pendingLanes = root$
|
11399
|
+
var pendingLanes = root$172.pendingLanes;
|
11377
11400
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
11378
11401
|
else {
|
11379
|
-
var suspendedLanes = root$
|
11380
|
-
pingedLanes = root$
|
11402
|
+
var suspendedLanes = root$172.suspendedLanes,
|
11403
|
+
pingedLanes = root$172.pingedLanes;
|
11381
11404
|
JSCompiler_inline_result =
|
11382
11405
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
11383
11406
|
JSCompiler_inline_result &=
|
@@ -11391,18 +11414,18 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
11391
11414
|
}
|
11392
11415
|
0 !== JSCompiler_inline_result &&
|
11393
11416
|
((didPerformSomeWork = !0),
|
11394
|
-
performSyncWorkOnRoot(root$
|
11417
|
+
performSyncWorkOnRoot(root$172, JSCompiler_inline_result));
|
11395
11418
|
} else
|
11396
11419
|
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
11397
11420
|
(JSCompiler_inline_result = getNextLanes(
|
11398
|
-
root$
|
11399
|
-
root$
|
11421
|
+
root$172,
|
11422
|
+
root$172 === workInProgressRoot ? JSCompiler_inline_result : 0
|
11400
11423
|
)),
|
11401
11424
|
0 === (JSCompiler_inline_result & 3) ||
|
11402
|
-
checkIfRootIsPrerendering(root$
|
11425
|
+
checkIfRootIsPrerendering(root$172, JSCompiler_inline_result) ||
|
11403
11426
|
((didPerformSomeWork = !0),
|
11404
|
-
performSyncWorkOnRoot(root$
|
11405
|
-
root$
|
11427
|
+
performSyncWorkOnRoot(root$172, JSCompiler_inline_result));
|
11428
|
+
root$172 = root$172.next;
|
11406
11429
|
}
|
11407
11430
|
} while (didPerformSomeWork);
|
11408
11431
|
isFlushingWork = !1;
|
@@ -11632,20 +11655,20 @@ function extractEvents$1(
|
|
11632
11655
|
}
|
11633
11656
|
}
|
11634
11657
|
for (
|
11635
|
-
var i$jscomp$
|
11636
|
-
i$jscomp$
|
11637
|
-
i$jscomp$
|
11658
|
+
var i$jscomp$inline_1432 = 0;
|
11659
|
+
i$jscomp$inline_1432 < simpleEventPluginEvents.length;
|
11660
|
+
i$jscomp$inline_1432++
|
11638
11661
|
) {
|
11639
|
-
var eventName$jscomp$
|
11640
|
-
simpleEventPluginEvents[i$jscomp$
|
11641
|
-
domEventName$jscomp$
|
11642
|
-
eventName$jscomp$
|
11643
|
-
capitalizedEvent$jscomp$
|
11644
|
-
eventName$jscomp$
|
11645
|
-
eventName$jscomp$
|
11662
|
+
var eventName$jscomp$inline_1433 =
|
11663
|
+
simpleEventPluginEvents[i$jscomp$inline_1432],
|
11664
|
+
domEventName$jscomp$inline_1434 =
|
11665
|
+
eventName$jscomp$inline_1433.toLowerCase(),
|
11666
|
+
capitalizedEvent$jscomp$inline_1435 =
|
11667
|
+
eventName$jscomp$inline_1433[0].toUpperCase() +
|
11668
|
+
eventName$jscomp$inline_1433.slice(1);
|
11646
11669
|
registerSimpleEvent(
|
11647
|
-
domEventName$jscomp$
|
11648
|
-
"on" + capitalizedEvent$jscomp$
|
11670
|
+
domEventName$jscomp$inline_1434,
|
11671
|
+
"on" + capitalizedEvent$jscomp$inline_1435
|
11649
11672
|
);
|
11650
11673
|
}
|
11651
11674
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -12828,34 +12851,34 @@ function setInitialProperties(domElement, tag, props) {
|
|
12828
12851
|
defaultChecked = null;
|
12829
12852
|
for (hasSrc in props)
|
12830
12853
|
if (props.hasOwnProperty(hasSrc)) {
|
12831
|
-
var propValue$
|
12832
|
-
if (null != propValue$
|
12854
|
+
var propValue$186 = props[hasSrc];
|
12855
|
+
if (null != propValue$186)
|
12833
12856
|
switch (hasSrc) {
|
12834
12857
|
case "name":
|
12835
|
-
hasSrcSet = propValue$
|
12858
|
+
hasSrcSet = propValue$186;
|
12836
12859
|
break;
|
12837
12860
|
case "type":
|
12838
|
-
propValue = propValue$
|
12861
|
+
propValue = propValue$186;
|
12839
12862
|
break;
|
12840
12863
|
case "checked":
|
12841
|
-
checked = propValue$
|
12864
|
+
checked = propValue$186;
|
12842
12865
|
break;
|
12843
12866
|
case "defaultChecked":
|
12844
|
-
defaultChecked = propValue$
|
12867
|
+
defaultChecked = propValue$186;
|
12845
12868
|
break;
|
12846
12869
|
case "value":
|
12847
|
-
propKey = propValue$
|
12870
|
+
propKey = propValue$186;
|
12848
12871
|
break;
|
12849
12872
|
case "defaultValue":
|
12850
|
-
defaultValue = propValue$
|
12873
|
+
defaultValue = propValue$186;
|
12851
12874
|
break;
|
12852
12875
|
case "children":
|
12853
12876
|
case "dangerouslySetInnerHTML":
|
12854
|
-
if (null != propValue$
|
12877
|
+
if (null != propValue$186)
|
12855
12878
|
throw Error(formatProdErrorMessage(137, tag));
|
12856
12879
|
break;
|
12857
12880
|
default:
|
12858
|
-
setProp(domElement, tag, hasSrc, propValue$
|
12881
|
+
setProp(domElement, tag, hasSrc, propValue$186, props, null);
|
12859
12882
|
}
|
12860
12883
|
}
|
12861
12884
|
initInput(
|
@@ -12992,14 +13015,14 @@ function setInitialProperties(domElement, tag, props) {
|
|
12992
13015
|
return;
|
12993
13016
|
default:
|
12994
13017
|
if (isCustomElement(tag)) {
|
12995
|
-
for (propValue$
|
12996
|
-
props.hasOwnProperty(propValue$
|
12997
|
-
((hasSrc = props[propValue$
|
13018
|
+
for (propValue$186 in props)
|
13019
|
+
props.hasOwnProperty(propValue$186) &&
|
13020
|
+
((hasSrc = props[propValue$186]),
|
12998
13021
|
void 0 !== hasSrc &&
|
12999
13022
|
setPropOnCustomElement(
|
13000
13023
|
domElement,
|
13001
13024
|
tag,
|
13002
|
-
propValue$
|
13025
|
+
propValue$186,
|
13003
13026
|
hasSrc,
|
13004
13027
|
props,
|
13005
13028
|
void 0
|
@@ -13047,14 +13070,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13047
13070
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
13048
13071
|
}
|
13049
13072
|
}
|
13050
|
-
for (var propKey$
|
13051
|
-
var propKey = nextProps[propKey$
|
13052
|
-
lastProp = lastProps[propKey$
|
13073
|
+
for (var propKey$203 in nextProps) {
|
13074
|
+
var propKey = nextProps[propKey$203];
|
13075
|
+
lastProp = lastProps[propKey$203];
|
13053
13076
|
if (
|
13054
|
-
nextProps.hasOwnProperty(propKey$
|
13077
|
+
nextProps.hasOwnProperty(propKey$203) &&
|
13055
13078
|
(null != propKey || null != lastProp)
|
13056
13079
|
)
|
13057
|
-
switch (propKey$
|
13080
|
+
switch (propKey$203) {
|
13058
13081
|
case "type":
|
13059
13082
|
type = propKey;
|
13060
13083
|
break;
|
@@ -13083,7 +13106,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13083
13106
|
setProp(
|
13084
13107
|
domElement,
|
13085
13108
|
tag,
|
13086
|
-
propKey$
|
13109
|
+
propKey$203,
|
13087
13110
|
propKey,
|
13088
13111
|
nextProps,
|
13089
13112
|
lastProp
|
@@ -13102,7 +13125,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13102
13125
|
);
|
13103
13126
|
return;
|
13104
13127
|
case "select":
|
13105
|
-
propKey = value = defaultValue = propKey$
|
13128
|
+
propKey = value = defaultValue = propKey$203 = null;
|
13106
13129
|
for (type in lastProps)
|
13107
13130
|
if (
|
13108
13131
|
((lastDefaultValue = lastProps[type]),
|
@@ -13133,7 +13156,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13133
13156
|
)
|
13134
13157
|
switch (name) {
|
13135
13158
|
case "value":
|
13136
|
-
propKey$
|
13159
|
+
propKey$203 = type;
|
13137
13160
|
break;
|
13138
13161
|
case "defaultValue":
|
13139
13162
|
defaultValue = type;
|
@@ -13154,15 +13177,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13154
13177
|
tag = defaultValue;
|
13155
13178
|
lastProps = value;
|
13156
13179
|
nextProps = propKey;
|
13157
|
-
null != propKey$
|
13158
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
13180
|
+
null != propKey$203
|
13181
|
+
? updateOptions(domElement, !!lastProps, propKey$203, !1)
|
13159
13182
|
: !!nextProps !== !!lastProps &&
|
13160
13183
|
(null != tag
|
13161
13184
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
13162
13185
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
13163
13186
|
return;
|
13164
13187
|
case "textarea":
|
13165
|
-
propKey = propKey$
|
13188
|
+
propKey = propKey$203 = null;
|
13166
13189
|
for (defaultValue in lastProps)
|
13167
13190
|
if (
|
13168
13191
|
((name = lastProps[defaultValue]),
|
@@ -13186,7 +13209,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13186
13209
|
)
|
13187
13210
|
switch (value) {
|
13188
13211
|
case "value":
|
13189
|
-
propKey$
|
13212
|
+
propKey$203 = name;
|
13190
13213
|
break;
|
13191
13214
|
case "defaultValue":
|
13192
13215
|
propKey = name;
|
@@ -13200,17 +13223,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13200
13223
|
name !== type &&
|
13201
13224
|
setProp(domElement, tag, value, name, nextProps, type);
|
13202
13225
|
}
|
13203
|
-
updateTextarea(domElement, propKey$
|
13226
|
+
updateTextarea(domElement, propKey$203, propKey);
|
13204
13227
|
return;
|
13205
13228
|
case "option":
|
13206
|
-
for (var propKey$
|
13229
|
+
for (var propKey$219 in lastProps)
|
13207
13230
|
if (
|
13208
|
-
((propKey$
|
13209
|
-
lastProps.hasOwnProperty(propKey$
|
13210
|
-
null != propKey$
|
13211
|
-
!nextProps.hasOwnProperty(propKey$
|
13231
|
+
((propKey$203 = lastProps[propKey$219]),
|
13232
|
+
lastProps.hasOwnProperty(propKey$219) &&
|
13233
|
+
null != propKey$203 &&
|
13234
|
+
!nextProps.hasOwnProperty(propKey$219))
|
13212
13235
|
)
|
13213
|
-
switch (propKey$
|
13236
|
+
switch (propKey$219) {
|
13214
13237
|
case "selected":
|
13215
13238
|
domElement.selected = !1;
|
13216
13239
|
break;
|
@@ -13218,33 +13241,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13218
13241
|
setProp(
|
13219
13242
|
domElement,
|
13220
13243
|
tag,
|
13221
|
-
propKey$
|
13244
|
+
propKey$219,
|
13222
13245
|
null,
|
13223
13246
|
nextProps,
|
13224
|
-
propKey$
|
13247
|
+
propKey$203
|
13225
13248
|
);
|
13226
13249
|
}
|
13227
13250
|
for (lastDefaultValue in nextProps)
|
13228
13251
|
if (
|
13229
|
-
((propKey$
|
13252
|
+
((propKey$203 = nextProps[lastDefaultValue]),
|
13230
13253
|
(propKey = lastProps[lastDefaultValue]),
|
13231
13254
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
13232
|
-
propKey$
|
13233
|
-
(null != propKey$
|
13255
|
+
propKey$203 !== propKey &&
|
13256
|
+
(null != propKey$203 || null != propKey))
|
13234
13257
|
)
|
13235
13258
|
switch (lastDefaultValue) {
|
13236
13259
|
case "selected":
|
13237
13260
|
domElement.selected =
|
13238
|
-
propKey$
|
13239
|
-
"function" !== typeof propKey$
|
13240
|
-
"symbol" !== typeof propKey$
|
13261
|
+
propKey$203 &&
|
13262
|
+
"function" !== typeof propKey$203 &&
|
13263
|
+
"symbol" !== typeof propKey$203;
|
13241
13264
|
break;
|
13242
13265
|
default:
|
13243
13266
|
setProp(
|
13244
13267
|
domElement,
|
13245
13268
|
tag,
|
13246
13269
|
lastDefaultValue,
|
13247
|
-
propKey$
|
13270
|
+
propKey$203,
|
13248
13271
|
nextProps,
|
13249
13272
|
propKey
|
13250
13273
|
);
|
@@ -13265,24 +13288,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13265
13288
|
case "track":
|
13266
13289
|
case "wbr":
|
13267
13290
|
case "menuitem":
|
13268
|
-
for (var propKey$
|
13269
|
-
(propKey$
|
13270
|
-
lastProps.hasOwnProperty(propKey$
|
13271
|
-
null != propKey$
|
13272
|
-
!nextProps.hasOwnProperty(propKey$
|
13273
|
-
setProp(domElement, tag, propKey$
|
13291
|
+
for (var propKey$224 in lastProps)
|
13292
|
+
(propKey$203 = lastProps[propKey$224]),
|
13293
|
+
lastProps.hasOwnProperty(propKey$224) &&
|
13294
|
+
null != propKey$203 &&
|
13295
|
+
!nextProps.hasOwnProperty(propKey$224) &&
|
13296
|
+
setProp(domElement, tag, propKey$224, null, nextProps, propKey$203);
|
13274
13297
|
for (checked in nextProps)
|
13275
13298
|
if (
|
13276
|
-
((propKey$
|
13299
|
+
((propKey$203 = nextProps[checked]),
|
13277
13300
|
(propKey = lastProps[checked]),
|
13278
13301
|
nextProps.hasOwnProperty(checked) &&
|
13279
|
-
propKey$
|
13280
|
-
(null != propKey$
|
13302
|
+
propKey$203 !== propKey &&
|
13303
|
+
(null != propKey$203 || null != propKey))
|
13281
13304
|
)
|
13282
13305
|
switch (checked) {
|
13283
13306
|
case "children":
|
13284
13307
|
case "dangerouslySetInnerHTML":
|
13285
|
-
if (null != propKey$
|
13308
|
+
if (null != propKey$203)
|
13286
13309
|
throw Error(formatProdErrorMessage(137, tag));
|
13287
13310
|
break;
|
13288
13311
|
default:
|
@@ -13290,7 +13313,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13290
13313
|
domElement,
|
13291
13314
|
tag,
|
13292
13315
|
checked,
|
13293
|
-
propKey$
|
13316
|
+
propKey$203,
|
13294
13317
|
nextProps,
|
13295
13318
|
propKey
|
13296
13319
|
);
|
@@ -13298,49 +13321,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13298
13321
|
return;
|
13299
13322
|
default:
|
13300
13323
|
if (isCustomElement(tag)) {
|
13301
|
-
for (var propKey$
|
13302
|
-
(propKey$
|
13303
|
-
lastProps.hasOwnProperty(propKey$
|
13304
|
-
void 0 !== propKey$
|
13305
|
-
!nextProps.hasOwnProperty(propKey$
|
13324
|
+
for (var propKey$229 in lastProps)
|
13325
|
+
(propKey$203 = lastProps[propKey$229]),
|
13326
|
+
lastProps.hasOwnProperty(propKey$229) &&
|
13327
|
+
void 0 !== propKey$203 &&
|
13328
|
+
!nextProps.hasOwnProperty(propKey$229) &&
|
13306
13329
|
setPropOnCustomElement(
|
13307
13330
|
domElement,
|
13308
13331
|
tag,
|
13309
|
-
propKey$
|
13332
|
+
propKey$229,
|
13310
13333
|
void 0,
|
13311
13334
|
nextProps,
|
13312
|
-
propKey$
|
13335
|
+
propKey$203
|
13313
13336
|
);
|
13314
13337
|
for (defaultChecked in nextProps)
|
13315
|
-
(propKey$
|
13338
|
+
(propKey$203 = nextProps[defaultChecked]),
|
13316
13339
|
(propKey = lastProps[defaultChecked]),
|
13317
13340
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
13318
|
-
propKey$
|
13319
|
-
(void 0 === propKey$
|
13341
|
+
propKey$203 === propKey ||
|
13342
|
+
(void 0 === propKey$203 && void 0 === propKey) ||
|
13320
13343
|
setPropOnCustomElement(
|
13321
13344
|
domElement,
|
13322
13345
|
tag,
|
13323
13346
|
defaultChecked,
|
13324
|
-
propKey$
|
13347
|
+
propKey$203,
|
13325
13348
|
nextProps,
|
13326
13349
|
propKey
|
13327
13350
|
);
|
13328
13351
|
return;
|
13329
13352
|
}
|
13330
13353
|
}
|
13331
|
-
for (var propKey$
|
13332
|
-
(propKey$
|
13333
|
-
lastProps.hasOwnProperty(propKey$
|
13334
|
-
null != propKey$
|
13335
|
-
!nextProps.hasOwnProperty(propKey$
|
13336
|
-
setProp(domElement, tag, propKey$
|
13354
|
+
for (var propKey$234 in lastProps)
|
13355
|
+
(propKey$203 = lastProps[propKey$234]),
|
13356
|
+
lastProps.hasOwnProperty(propKey$234) &&
|
13357
|
+
null != propKey$203 &&
|
13358
|
+
!nextProps.hasOwnProperty(propKey$234) &&
|
13359
|
+
setProp(domElement, tag, propKey$234, null, nextProps, propKey$203);
|
13337
13360
|
for (lastProp in nextProps)
|
13338
|
-
(propKey$
|
13361
|
+
(propKey$203 = nextProps[lastProp]),
|
13339
13362
|
(propKey = lastProps[lastProp]),
|
13340
13363
|
!nextProps.hasOwnProperty(lastProp) ||
|
13341
|
-
propKey$
|
13342
|
-
(null == propKey$
|
13343
|
-
setProp(domElement, tag, lastProp, propKey$
|
13364
|
+
propKey$203 === propKey ||
|
13365
|
+
(null == propKey$203 && null == propKey) ||
|
13366
|
+
setProp(domElement, tag, lastProp, propKey$203, nextProps, propKey);
|
13344
13367
|
}
|
13345
13368
|
var eventsEnabled = null,
|
13346
13369
|
selectionInformation = null;
|
@@ -13904,26 +13927,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
13904
13927
|
"string" === typeof pendingProps.precedence
|
13905
13928
|
) {
|
13906
13929
|
type = getStyleKey(pendingProps.href);
|
13907
|
-
var styles$
|
13930
|
+
var styles$242 = getResourcesFromRoot(
|
13908
13931
|
JSCompiler_inline_result
|
13909
13932
|
).hoistableStyles,
|
13910
|
-
resource$
|
13911
|
-
resource$
|
13933
|
+
resource$243 = styles$242.get(type);
|
13934
|
+
resource$243 ||
|
13912
13935
|
((JSCompiler_inline_result =
|
13913
13936
|
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
13914
|
-
(resource$
|
13937
|
+
(resource$243 = {
|
13915
13938
|
type: "stylesheet",
|
13916
13939
|
instance: null,
|
13917
13940
|
count: 0,
|
13918
13941
|
state: { loading: 0, preload: null }
|
13919
13942
|
}),
|
13920
|
-
styles$
|
13921
|
-
(styles$
|
13943
|
+
styles$242.set(type, resource$243),
|
13944
|
+
(styles$242 = JSCompiler_inline_result.querySelector(
|
13922
13945
|
getStylesheetSelectorFromKey(type)
|
13923
13946
|
)) &&
|
13924
|
-
!styles$
|
13925
|
-
((resource$
|
13926
|
-
(resource$
|
13947
|
+
!styles$242._p &&
|
13948
|
+
((resource$243.instance = styles$242),
|
13949
|
+
(resource$243.state.loading = 5)),
|
13927
13950
|
preloadPropsMap.has(type) ||
|
13928
13951
|
((pendingProps = {
|
13929
13952
|
rel: "preload",
|
@@ -13936,16 +13959,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
13936
13959
|
referrerPolicy: pendingProps.referrerPolicy
|
13937
13960
|
}),
|
13938
13961
|
preloadPropsMap.set(type, pendingProps),
|
13939
|
-
styles$
|
13962
|
+
styles$242 ||
|
13940
13963
|
preloadStylesheet(
|
13941
13964
|
JSCompiler_inline_result,
|
13942
13965
|
type,
|
13943
13966
|
pendingProps,
|
13944
|
-
resource$
|
13967
|
+
resource$243.state
|
13945
13968
|
)));
|
13946
13969
|
if (currentProps && null === currentResource)
|
13947
13970
|
throw Error(formatProdErrorMessage(528, ""));
|
13948
|
-
return resource$
|
13971
|
+
return resource$243;
|
13949
13972
|
}
|
13950
13973
|
if (currentProps && null !== currentResource)
|
13951
13974
|
throw Error(formatProdErrorMessage(529, ""));
|
@@ -14042,37 +14065,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14042
14065
|
return (resource.instance = instance);
|
14043
14066
|
case "stylesheet":
|
14044
14067
|
styleProps = getStyleKey(props.href);
|
14045
|
-
var instance$
|
14068
|
+
var instance$248 = hoistableRoot.querySelector(
|
14046
14069
|
getStylesheetSelectorFromKey(styleProps)
|
14047
14070
|
);
|
14048
|
-
if (instance$
|
14071
|
+
if (instance$248)
|
14049
14072
|
return (
|
14050
14073
|
(resource.state.loading |= 4),
|
14051
|
-
(resource.instance = instance$
|
14052
|
-
markNodeAsHoistable(instance$
|
14053
|
-
instance$
|
14074
|
+
(resource.instance = instance$248),
|
14075
|
+
markNodeAsHoistable(instance$248),
|
14076
|
+
instance$248
|
14054
14077
|
);
|
14055
14078
|
instance = stylesheetPropsFromRawProps(props);
|
14056
14079
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
14057
14080
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
14058
|
-
instance$
|
14081
|
+
instance$248 = (
|
14059
14082
|
hoistableRoot.ownerDocument || hoistableRoot
|
14060
14083
|
).createElement("link");
|
14061
|
-
markNodeAsHoistable(instance$
|
14062
|
-
var linkInstance = instance$
|
14084
|
+
markNodeAsHoistable(instance$248);
|
14085
|
+
var linkInstance = instance$248;
|
14063
14086
|
linkInstance._p = new Promise(function (resolve, reject) {
|
14064
14087
|
linkInstance.onload = resolve;
|
14065
14088
|
linkInstance.onerror = reject;
|
14066
14089
|
});
|
14067
|
-
setInitialProperties(instance$
|
14090
|
+
setInitialProperties(instance$248, "link", instance);
|
14068
14091
|
resource.state.loading |= 4;
|
14069
|
-
insertStylesheet(instance$
|
14070
|
-
return (resource.instance = instance$
|
14092
|
+
insertStylesheet(instance$248, props.precedence, hoistableRoot);
|
14093
|
+
return (resource.instance = instance$248);
|
14071
14094
|
case "script":
|
14072
|
-
instance$
|
14095
|
+
instance$248 = getScriptKey(props.src);
|
14073
14096
|
if (
|
14074
14097
|
(styleProps = hoistableRoot.querySelector(
|
14075
|
-
getScriptSelectorFromKey(instance$
|
14098
|
+
getScriptSelectorFromKey(instance$248)
|
14076
14099
|
))
|
14077
14100
|
)
|
14078
14101
|
return (
|
@@ -14081,7 +14104,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14081
14104
|
styleProps
|
14082
14105
|
);
|
14083
14106
|
instance = props;
|
14084
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
14107
|
+
if ((styleProps = preloadPropsMap.get(instance$248)))
|
14085
14108
|
(instance = assign({}, props)),
|
14086
14109
|
adoptPreloadPropsForScript(instance, styleProps);
|
14087
14110
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
@@ -15106,16 +15129,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15106
15129
|
0 === i && attemptExplicitHydrationTarget(target);
|
15107
15130
|
}
|
15108
15131
|
};
|
15109
|
-
var isomorphicReactPackageVersion$jscomp$
|
15132
|
+
var isomorphicReactPackageVersion$jscomp$inline_1679 = React.version;
|
15110
15133
|
if (
|
15111
|
-
"19.1.0-canary-
|
15112
|
-
isomorphicReactPackageVersion$jscomp$
|
15134
|
+
"19.1.0-canary-9463d51e-20241219" !==
|
15135
|
+
isomorphicReactPackageVersion$jscomp$inline_1679
|
15113
15136
|
)
|
15114
15137
|
throw Error(
|
15115
15138
|
formatProdErrorMessage(
|
15116
15139
|
527,
|
15117
|
-
isomorphicReactPackageVersion$jscomp$
|
15118
|
-
"19.1.0-canary-
|
15140
|
+
isomorphicReactPackageVersion$jscomp$inline_1679,
|
15141
|
+
"19.1.0-canary-9463d51e-20241219"
|
15119
15142
|
)
|
15120
15143
|
);
|
15121
15144
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15135,24 +15158,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15135
15158
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15136
15159
|
return componentOrElement;
|
15137
15160
|
};
|
15138
|
-
var internals$jscomp$
|
15161
|
+
var internals$jscomp$inline_2158 = {
|
15139
15162
|
bundleType: 0,
|
15140
|
-
version: "19.1.0-canary-
|
15163
|
+
version: "19.1.0-canary-9463d51e-20241219",
|
15141
15164
|
rendererPackageName: "react-dom",
|
15142
15165
|
currentDispatcherRef: ReactSharedInternals,
|
15143
|
-
reconcilerVersion: "19.1.0-canary-
|
15166
|
+
reconcilerVersion: "19.1.0-canary-9463d51e-20241219"
|
15144
15167
|
};
|
15145
15168
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15146
|
-
var hook$jscomp$
|
15169
|
+
var hook$jscomp$inline_2159 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15147
15170
|
if (
|
15148
|
-
!hook$jscomp$
|
15149
|
-
hook$jscomp$
|
15171
|
+
!hook$jscomp$inline_2159.isDisabled &&
|
15172
|
+
hook$jscomp$inline_2159.supportsFiber
|
15150
15173
|
)
|
15151
15174
|
try {
|
15152
|
-
(rendererID = hook$jscomp$
|
15153
|
-
internals$jscomp$
|
15175
|
+
(rendererID = hook$jscomp$inline_2159.inject(
|
15176
|
+
internals$jscomp$inline_2158
|
15154
15177
|
)),
|
15155
|
-
(injectedHook = hook$jscomp$
|
15178
|
+
(injectedHook = hook$jscomp$inline_2159);
|
15156
15179
|
} catch (err) {}
|
15157
15180
|
}
|
15158
15181
|
exports.createRoot = function (container, options) {
|
@@ -15246,4 +15269,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15246
15269
|
listenToAllSupportedEvents(container);
|
15247
15270
|
return new ReactDOMHydrationRoot(initialChildren);
|
15248
15271
|
};
|
15249
|
-
exports.version = "19.1.0-canary-
|
15272
|
+
exports.version = "19.1.0-canary-9463d51e-20241219";
|