react-dom 19.1.0-canary-4dff0e62-20241213 → 19.1.0-canary-e06c72fc-20241215
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 +365 -419
- package/cjs/react-dom-client.production.js +358 -357
- package/cjs/react-dom-profiling.development.js +365 -419
- package/cjs/react-dom-profiling.profiling.js +358 -357
- package/cjs/react-dom-server-legacy.browser.development.js +10 -24
- package/cjs/react-dom-server-legacy.browser.production.js +101 -113
- package/cjs/react-dom-server-legacy.node.development.js +10 -24
- package/cjs/react-dom-server-legacy.node.production.js +106 -119
- package/cjs/react-dom-server.browser.development.js +12 -26
- package/cjs/react-dom-server.browser.production.js +82 -95
- package/cjs/react-dom-server.bun.development.js +88 -102
- package/cjs/react-dom-server.bun.production.js +90 -104
- package/cjs/react-dom-server.edge.development.js +12 -26
- package/cjs/react-dom-server.edge.production.js +87 -101
- package/cjs/react-dom-server.node.development.js +12 -26
- package/cjs/react-dom-server.node.production.js +87 -101
- 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
@@ -489,13 +489,11 @@
|
|
489
489
|
return describeBuiltInComponentFrame("SuspenseList");
|
490
490
|
case 0:
|
491
491
|
case 15:
|
492
|
-
return
|
492
|
+
return describeNativeComponentFrame(fiber.type, !1);
|
493
493
|
case 11:
|
494
|
-
return (
|
495
|
-
(fiber = describeNativeComponentFrame(fiber.type.render, !1)), fiber
|
496
|
-
);
|
494
|
+
return describeNativeComponentFrame(fiber.type.render, !1);
|
497
495
|
case 1:
|
498
|
-
return
|
496
|
+
return describeNativeComponentFrame(fiber.type, !0);
|
499
497
|
default:
|
500
498
|
return "";
|
501
499
|
}
|
@@ -4885,6 +4883,9 @@
|
|
4885
4883
|
}
|
4886
4884
|
return workInProgressHook;
|
4887
4885
|
}
|
4886
|
+
function createFunctionComponentUpdateQueue() {
|
4887
|
+
return { lastEffect: null, events: null, stores: null, memoCache: null };
|
4888
|
+
}
|
4888
4889
|
function useThenable(thenable) {
|
4889
4890
|
var index = thenableIndexCounter$1;
|
4890
4891
|
thenableIndexCounter$1 += 1;
|
@@ -8728,32 +8729,32 @@
|
|
8728
8729
|
return current;
|
8729
8730
|
}
|
8730
8731
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8731
|
-
var
|
8732
|
-
var
|
8732
|
+
var JSCompiler_object_inline_digest_2307;
|
8733
|
+
var JSCompiler_object_inline_stack_2308 = workInProgress.pendingProps;
|
8733
8734
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8734
|
-
var
|
8735
|
+
var JSCompiler_object_inline_componentStack_2309 = !1;
|
8735
8736
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8736
|
-
(
|
8737
|
-
(
|
8737
|
+
(JSCompiler_object_inline_digest_2307 = didSuspend) ||
|
8738
|
+
(JSCompiler_object_inline_digest_2307 =
|
8738
8739
|
null !== current && null === current.memoizedState
|
8739
8740
|
? !1
|
8740
8741
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8741
|
-
|
8742
|
-
((
|
8742
|
+
JSCompiler_object_inline_digest_2307 &&
|
8743
|
+
((JSCompiler_object_inline_componentStack_2309 = !0),
|
8743
8744
|
(workInProgress.flags &= -129));
|
8744
|
-
|
8745
|
+
JSCompiler_object_inline_digest_2307 = 0 !== (workInProgress.flags & 32);
|
8745
8746
|
workInProgress.flags &= -33;
|
8746
8747
|
if (null === current) {
|
8747
8748
|
if (isHydrating) {
|
8748
|
-
|
8749
|
+
JSCompiler_object_inline_componentStack_2309
|
8749
8750
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8750
8751
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8751
8752
|
if (isHydrating) {
|
8752
|
-
var
|
8753
|
+
var JSCompiler_object_inline_message_2306 = nextHydratableInstance;
|
8753
8754
|
var JSCompiler_temp;
|
8754
|
-
if (!(JSCompiler_temp = !
|
8755
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2306)) {
|
8755
8756
|
c: {
|
8756
|
-
var instance =
|
8757
|
+
var instance = JSCompiler_object_inline_message_2306;
|
8757
8758
|
for (
|
8758
8759
|
JSCompiler_temp = rootOrSingletonContext;
|
8759
8760
|
8 !== instance.nodeType;
|
@@ -8794,77 +8795,77 @@
|
|
8794
8795
|
JSCompiler_temp &&
|
8795
8796
|
(warnNonHydratedInstance(
|
8796
8797
|
workInProgress,
|
8797
|
-
|
8798
|
+
JSCompiler_object_inline_message_2306
|
8798
8799
|
),
|
8799
8800
|
throwOnHydrationMismatch(workInProgress));
|
8800
8801
|
}
|
8801
|
-
|
8802
|
+
JSCompiler_object_inline_message_2306 = workInProgress.memoizedState;
|
8802
8803
|
if (
|
8803
|
-
null !==
|
8804
|
-
((
|
8805
|
-
|
8806
|
-
null !==
|
8804
|
+
null !== JSCompiler_object_inline_message_2306 &&
|
8805
|
+
((JSCompiler_object_inline_message_2306 =
|
8806
|
+
JSCompiler_object_inline_message_2306.dehydrated),
|
8807
|
+
null !== JSCompiler_object_inline_message_2306)
|
8807
8808
|
)
|
8808
8809
|
return (
|
8809
|
-
isSuspenseInstanceFallback(
|
8810
|
-
? (workInProgress.lanes =
|
8810
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2306)
|
8811
|
+
? (workInProgress.lanes = 32)
|
8811
8812
|
: (workInProgress.lanes = 536870912),
|
8812
8813
|
null
|
8813
8814
|
);
|
8814
8815
|
popSuspenseHandler(workInProgress);
|
8815
8816
|
}
|
8816
|
-
|
8817
|
-
|
8818
|
-
|
8819
|
-
|
8820
|
-
if (
|
8817
|
+
JSCompiler_object_inline_message_2306 =
|
8818
|
+
JSCompiler_object_inline_stack_2308.children;
|
8819
|
+
JSCompiler_object_inline_stack_2308 =
|
8820
|
+
JSCompiler_object_inline_stack_2308.fallback;
|
8821
|
+
if (JSCompiler_object_inline_componentStack_2309)
|
8821
8822
|
return (
|
8822
8823
|
reuseSuspenseHandlerOnStack(workInProgress),
|
8823
|
-
(
|
8824
|
+
(JSCompiler_object_inline_componentStack_2309 =
|
8824
8825
|
workInProgress.mode),
|
8825
|
-
(
|
8826
|
+
(JSCompiler_object_inline_message_2306 =
|
8826
8827
|
mountWorkInProgressOffscreenFiber(
|
8827
8828
|
{
|
8828
8829
|
mode: "hidden",
|
8829
|
-
children:
|
8830
|
+
children: JSCompiler_object_inline_message_2306
|
8830
8831
|
},
|
8831
|
-
|
8832
|
+
JSCompiler_object_inline_componentStack_2309
|
8832
8833
|
)),
|
8833
|
-
(
|
8834
|
-
|
8835
|
-
|
8834
|
+
(JSCompiler_object_inline_stack_2308 = createFiberFromFragment(
|
8835
|
+
JSCompiler_object_inline_stack_2308,
|
8836
|
+
JSCompiler_object_inline_componentStack_2309,
|
8836
8837
|
renderLanes,
|
8837
8838
|
null
|
8838
8839
|
)),
|
8839
|
-
(
|
8840
|
-
(
|
8841
|
-
(
|
8842
|
-
|
8843
|
-
(workInProgress.child =
|
8844
|
-
(
|
8840
|
+
(JSCompiler_object_inline_message_2306.return = workInProgress),
|
8841
|
+
(JSCompiler_object_inline_stack_2308.return = workInProgress),
|
8842
|
+
(JSCompiler_object_inline_message_2306.sibling =
|
8843
|
+
JSCompiler_object_inline_stack_2308),
|
8844
|
+
(workInProgress.child = JSCompiler_object_inline_message_2306),
|
8845
|
+
(JSCompiler_object_inline_componentStack_2309 =
|
8845
8846
|
workInProgress.child),
|
8846
|
-
(
|
8847
|
+
(JSCompiler_object_inline_componentStack_2309.memoizedState =
|
8847
8848
|
mountSuspenseOffscreenState(renderLanes)),
|
8848
|
-
(
|
8849
|
+
(JSCompiler_object_inline_componentStack_2309.childLanes =
|
8849
8850
|
getRemainingWorkInPrimaryTree(
|
8850
8851
|
current,
|
8851
|
-
|
8852
|
+
JSCompiler_object_inline_digest_2307,
|
8852
8853
|
renderLanes
|
8853
8854
|
)),
|
8854
8855
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
8855
|
-
|
8856
|
+
JSCompiler_object_inline_stack_2308
|
8856
8857
|
);
|
8857
8858
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
8858
8859
|
return mountSuspensePrimaryChildren(
|
8859
8860
|
workInProgress,
|
8860
|
-
|
8861
|
+
JSCompiler_object_inline_message_2306
|
8861
8862
|
);
|
8862
8863
|
}
|
8863
8864
|
var prevState = current.memoizedState;
|
8864
8865
|
if (
|
8865
8866
|
null !== prevState &&
|
8866
|
-
((
|
8867
|
-
null !==
|
8867
|
+
((JSCompiler_object_inline_message_2306 = prevState.dehydrated),
|
8868
|
+
null !== JSCompiler_object_inline_message_2306)
|
8868
8869
|
) {
|
8869
8870
|
if (didSuspend)
|
8870
8871
|
workInProgress.flags & 256
|
@@ -8881,94 +8882,94 @@
|
|
8881
8882
|
(workInProgress.flags |= 128),
|
8882
8883
|
(workInProgress = null))
|
8883
8884
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
8884
|
-
(
|
8885
|
-
|
8886
|
-
(
|
8887
|
-
(
|
8885
|
+
(JSCompiler_object_inline_componentStack_2309 =
|
8886
|
+
JSCompiler_object_inline_stack_2308.fallback),
|
8887
|
+
(JSCompiler_object_inline_message_2306 = workInProgress.mode),
|
8888
|
+
(JSCompiler_object_inline_stack_2308 =
|
8888
8889
|
mountWorkInProgressOffscreenFiber(
|
8889
8890
|
{
|
8890
8891
|
mode: "visible",
|
8891
|
-
children:
|
8892
|
+
children: JSCompiler_object_inline_stack_2308.children
|
8892
8893
|
},
|
8893
|
-
|
8894
|
+
JSCompiler_object_inline_message_2306
|
8894
8895
|
)),
|
8895
|
-
(
|
8896
|
+
(JSCompiler_object_inline_componentStack_2309 =
|
8896
8897
|
createFiberFromFragment(
|
8897
|
-
|
8898
|
-
|
8898
|
+
JSCompiler_object_inline_componentStack_2309,
|
8899
|
+
JSCompiler_object_inline_message_2306,
|
8899
8900
|
renderLanes,
|
8900
8901
|
null
|
8901
8902
|
)),
|
8902
|
-
(
|
8903
|
-
(
|
8904
|
-
(
|
8903
|
+
(JSCompiler_object_inline_componentStack_2309.flags |= 2),
|
8904
|
+
(JSCompiler_object_inline_stack_2308.return = workInProgress),
|
8905
|
+
(JSCompiler_object_inline_componentStack_2309.return =
|
8905
8906
|
workInProgress),
|
8906
|
-
(
|
8907
|
-
|
8908
|
-
(workInProgress.child =
|
8907
|
+
(JSCompiler_object_inline_stack_2308.sibling =
|
8908
|
+
JSCompiler_object_inline_componentStack_2309),
|
8909
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2308),
|
8909
8910
|
reconcileChildFibers(
|
8910
8911
|
workInProgress,
|
8911
8912
|
current.child,
|
8912
8913
|
null,
|
8913
8914
|
renderLanes
|
8914
8915
|
),
|
8915
|
-
(
|
8916
|
-
(
|
8916
|
+
(JSCompiler_object_inline_stack_2308 = workInProgress.child),
|
8917
|
+
(JSCompiler_object_inline_stack_2308.memoizedState =
|
8917
8918
|
mountSuspenseOffscreenState(renderLanes)),
|
8918
|
-
(
|
8919
|
+
(JSCompiler_object_inline_stack_2308.childLanes =
|
8919
8920
|
getRemainingWorkInPrimaryTree(
|
8920
8921
|
current,
|
8921
|
-
|
8922
|
+
JSCompiler_object_inline_digest_2307,
|
8922
8923
|
renderLanes
|
8923
8924
|
)),
|
8924
8925
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
8925
8926
|
(workInProgress =
|
8926
|
-
|
8927
|
+
JSCompiler_object_inline_componentStack_2309));
|
8927
8928
|
else if (
|
8928
8929
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
8929
8930
|
isHydrating &&
|
8930
8931
|
console.error(
|
8931
8932
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
8932
8933
|
),
|
8933
|
-
isSuspenseInstanceFallback(
|
8934
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2306))
|
8934
8935
|
) {
|
8935
|
-
|
8936
|
-
|
8937
|
-
|
8938
|
-
if (
|
8939
|
-
JSCompiler_temp =
|
8940
|
-
var message =
|
8941
|
-
instance =
|
8942
|
-
var componentStack =
|
8936
|
+
JSCompiler_object_inline_digest_2307 =
|
8937
|
+
JSCompiler_object_inline_message_2306.nextSibling &&
|
8938
|
+
JSCompiler_object_inline_message_2306.nextSibling.dataset;
|
8939
|
+
if (JSCompiler_object_inline_digest_2307) {
|
8940
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2307.dgst;
|
8941
|
+
var message = JSCompiler_object_inline_digest_2307.msg;
|
8942
|
+
instance = JSCompiler_object_inline_digest_2307.stck;
|
8943
|
+
var componentStack = JSCompiler_object_inline_digest_2307.cstck;
|
8943
8944
|
}
|
8944
|
-
|
8945
|
-
|
8946
|
-
|
8947
|
-
JSCompiler_temp =
|
8945
|
+
JSCompiler_object_inline_message_2306 = message;
|
8946
|
+
JSCompiler_object_inline_digest_2307 = JSCompiler_temp;
|
8947
|
+
JSCompiler_object_inline_stack_2308 = instance;
|
8948
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2309 =
|
8948
8949
|
componentStack;
|
8949
|
-
|
8950
|
-
|
8951
|
-
? Error(
|
8950
|
+
JSCompiler_object_inline_componentStack_2309 =
|
8951
|
+
JSCompiler_object_inline_message_2306
|
8952
|
+
? Error(JSCompiler_object_inline_message_2306)
|
8952
8953
|
: Error(
|
8953
8954
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
8954
8955
|
);
|
8955
|
-
|
8956
|
-
|
8957
|
-
|
8958
|
-
|
8959
|
-
|
8956
|
+
JSCompiler_object_inline_componentStack_2309.stack =
|
8957
|
+
JSCompiler_object_inline_stack_2308 || "";
|
8958
|
+
JSCompiler_object_inline_componentStack_2309.digest =
|
8959
|
+
JSCompiler_object_inline_digest_2307;
|
8960
|
+
JSCompiler_object_inline_digest_2307 =
|
8960
8961
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
8961
|
-
|
8962
|
-
value:
|
8962
|
+
JSCompiler_object_inline_stack_2308 = {
|
8963
|
+
value: JSCompiler_object_inline_componentStack_2309,
|
8963
8964
|
source: null,
|
8964
|
-
stack:
|
8965
|
+
stack: JSCompiler_object_inline_digest_2307
|
8965
8966
|
};
|
8966
|
-
"string" === typeof
|
8967
|
+
"string" === typeof JSCompiler_object_inline_digest_2307 &&
|
8967
8968
|
CapturedStacks.set(
|
8968
|
-
|
8969
|
-
|
8969
|
+
JSCompiler_object_inline_componentStack_2309,
|
8970
|
+
JSCompiler_object_inline_stack_2308
|
8970
8971
|
);
|
8971
|
-
queueHydrationError(
|
8972
|
+
queueHydrationError(JSCompiler_object_inline_stack_2308);
|
8972
8973
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
8973
8974
|
current,
|
8974
8975
|
workInProgress,
|
@@ -8982,44 +8983,44 @@
|
|
8982
8983
|
renderLanes,
|
8983
8984
|
!1
|
8984
8985
|
),
|
8985
|
-
(
|
8986
|
+
(JSCompiler_object_inline_digest_2307 =
|
8986
8987
|
0 !== (renderLanes & current.childLanes)),
|
8987
|
-
didReceiveUpdate ||
|
8988
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2307)
|
8988
8989
|
) {
|
8989
|
-
|
8990
|
+
JSCompiler_object_inline_digest_2307 = workInProgressRoot;
|
8990
8991
|
if (
|
8991
|
-
null !==
|
8992
|
-
((
|
8993
|
-
(
|
8994
|
-
0 !== (
|
8992
|
+
null !== JSCompiler_object_inline_digest_2307 &&
|
8993
|
+
((JSCompiler_object_inline_stack_2308 = renderLanes & -renderLanes),
|
8994
|
+
(JSCompiler_object_inline_stack_2308 =
|
8995
|
+
0 !== (JSCompiler_object_inline_stack_2308 & 42)
|
8995
8996
|
? 1
|
8996
8997
|
: getBumpedLaneForHydrationByLane(
|
8997
|
-
|
8998
|
+
JSCompiler_object_inline_stack_2308
|
8998
8999
|
)),
|
8999
|
-
(
|
9000
|
+
(JSCompiler_object_inline_stack_2308 =
|
9000
9001
|
0 !==
|
9001
|
-
(
|
9002
|
-
(
|
9002
|
+
(JSCompiler_object_inline_stack_2308 &
|
9003
|
+
(JSCompiler_object_inline_digest_2307.suspendedLanes |
|
9003
9004
|
renderLanes))
|
9004
9005
|
? 0
|
9005
|
-
:
|
9006
|
-
0 !==
|
9007
|
-
|
9006
|
+
: JSCompiler_object_inline_stack_2308),
|
9007
|
+
0 !== JSCompiler_object_inline_stack_2308 &&
|
9008
|
+
JSCompiler_object_inline_stack_2308 !== prevState.retryLane)
|
9008
9009
|
)
|
9009
9010
|
throw (
|
9010
|
-
((prevState.retryLane =
|
9011
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2308),
|
9011
9012
|
enqueueConcurrentRenderForLane(
|
9012
9013
|
current,
|
9013
|
-
|
9014
|
+
JSCompiler_object_inline_stack_2308
|
9014
9015
|
),
|
9015
9016
|
scheduleUpdateOnFiber(
|
9016
|
-
|
9017
|
+
JSCompiler_object_inline_digest_2307,
|
9017
9018
|
current,
|
9018
|
-
|
9019
|
+
JSCompiler_object_inline_stack_2308
|
9019
9020
|
),
|
9020
9021
|
SelectiveHydrationException)
|
9021
9022
|
);
|
9022
|
-
|
9023
|
+
JSCompiler_object_inline_message_2306.data ===
|
9023
9024
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9024
9025
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9025
9026
|
current,
|
@@ -9027,14 +9028,14 @@
|
|
9027
9028
|
renderLanes
|
9028
9029
|
);
|
9029
9030
|
} else
|
9030
|
-
|
9031
|
+
JSCompiler_object_inline_message_2306.data ===
|
9031
9032
|
SUSPENSE_PENDING_START_DATA
|
9032
9033
|
? ((workInProgress.flags |= 192),
|
9033
9034
|
(workInProgress.child = current.child),
|
9034
9035
|
(workInProgress = null))
|
9035
9036
|
: ((current = prevState.treeContext),
|
9036
9037
|
(nextHydratableInstance = getNextHydratable(
|
9037
|
-
|
9038
|
+
JSCompiler_object_inline_message_2306.nextSibling
|
9038
9039
|
)),
|
9039
9040
|
(hydrationParentFiber = workInProgress),
|
9040
9041
|
(isHydrating = !0),
|
@@ -9052,57 +9053,57 @@
|
|
9052
9053
|
(treeContextProvider = workInProgress)),
|
9053
9054
|
(workInProgress = mountSuspensePrimaryChildren(
|
9054
9055
|
workInProgress,
|
9055
|
-
|
9056
|
+
JSCompiler_object_inline_stack_2308.children
|
9056
9057
|
)),
|
9057
9058
|
(workInProgress.flags |= 4096));
|
9058
9059
|
return workInProgress;
|
9059
9060
|
}
|
9060
|
-
if (
|
9061
|
+
if (JSCompiler_object_inline_componentStack_2309)
|
9061
9062
|
return (
|
9062
9063
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9063
|
-
(
|
9064
|
-
|
9065
|
-
(
|
9064
|
+
(JSCompiler_object_inline_componentStack_2309 =
|
9065
|
+
JSCompiler_object_inline_stack_2308.fallback),
|
9066
|
+
(JSCompiler_object_inline_message_2306 = workInProgress.mode),
|
9066
9067
|
(JSCompiler_temp = current.child),
|
9067
9068
|
(instance = JSCompiler_temp.sibling),
|
9068
|
-
(
|
9069
|
+
(JSCompiler_object_inline_stack_2308 = createWorkInProgress(
|
9069
9070
|
JSCompiler_temp,
|
9070
9071
|
{
|
9071
9072
|
mode: "hidden",
|
9072
|
-
children:
|
9073
|
+
children: JSCompiler_object_inline_stack_2308.children
|
9073
9074
|
}
|
9074
9075
|
)),
|
9075
|
-
(
|
9076
|
+
(JSCompiler_object_inline_stack_2308.subtreeFlags =
|
9076
9077
|
JSCompiler_temp.subtreeFlags & 31457280),
|
9077
9078
|
null !== instance
|
9078
|
-
? (
|
9079
|
+
? (JSCompiler_object_inline_componentStack_2309 =
|
9079
9080
|
createWorkInProgress(
|
9080
9081
|
instance,
|
9081
|
-
|
9082
|
+
JSCompiler_object_inline_componentStack_2309
|
9082
9083
|
))
|
9083
|
-
: ((
|
9084
|
+
: ((JSCompiler_object_inline_componentStack_2309 =
|
9084
9085
|
createFiberFromFragment(
|
9085
|
-
|
9086
|
-
|
9086
|
+
JSCompiler_object_inline_componentStack_2309,
|
9087
|
+
JSCompiler_object_inline_message_2306,
|
9087
9088
|
renderLanes,
|
9088
9089
|
null
|
9089
9090
|
)),
|
9090
|
-
(
|
9091
|
-
(
|
9091
|
+
(JSCompiler_object_inline_componentStack_2309.flags |= 2)),
|
9092
|
+
(JSCompiler_object_inline_componentStack_2309.return =
|
9092
9093
|
workInProgress),
|
9093
|
-
(
|
9094
|
-
(
|
9095
|
-
|
9096
|
-
(workInProgress.child =
|
9097
|
-
(
|
9098
|
-
|
9099
|
-
(
|
9100
|
-
(
|
9101
|
-
null ===
|
9102
|
-
? (
|
9094
|
+
(JSCompiler_object_inline_stack_2308.return = workInProgress),
|
9095
|
+
(JSCompiler_object_inline_stack_2308.sibling =
|
9096
|
+
JSCompiler_object_inline_componentStack_2309),
|
9097
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2308),
|
9098
|
+
(JSCompiler_object_inline_stack_2308 =
|
9099
|
+
JSCompiler_object_inline_componentStack_2309),
|
9100
|
+
(JSCompiler_object_inline_componentStack_2309 = workInProgress.child),
|
9101
|
+
(JSCompiler_object_inline_message_2306 = current.child.memoizedState),
|
9102
|
+
null === JSCompiler_object_inline_message_2306
|
9103
|
+
? (JSCompiler_object_inline_message_2306 =
|
9103
9104
|
mountSuspenseOffscreenState(renderLanes))
|
9104
9105
|
: ((JSCompiler_temp =
|
9105
|
-
|
9106
|
+
JSCompiler_object_inline_message_2306.cachePool),
|
9106
9107
|
null !== JSCompiler_temp
|
9107
9108
|
? ((instance = CacheContext._currentValue),
|
9108
9109
|
(JSCompiler_temp =
|
@@ -9110,37 +9111,37 @@
|
|
9110
9111
|
? { parent: instance, pool: instance }
|
9111
9112
|
: JSCompiler_temp))
|
9112
9113
|
: (JSCompiler_temp = getSuspendedCache()),
|
9113
|
-
(
|
9114
|
+
(JSCompiler_object_inline_message_2306 = {
|
9114
9115
|
baseLanes:
|
9115
|
-
|
9116
|
+
JSCompiler_object_inline_message_2306.baseLanes | renderLanes,
|
9116
9117
|
cachePool: JSCompiler_temp
|
9117
9118
|
})),
|
9118
|
-
(
|
9119
|
-
|
9120
|
-
(
|
9119
|
+
(JSCompiler_object_inline_componentStack_2309.memoizedState =
|
9120
|
+
JSCompiler_object_inline_message_2306),
|
9121
|
+
(JSCompiler_object_inline_componentStack_2309.childLanes =
|
9121
9122
|
getRemainingWorkInPrimaryTree(
|
9122
9123
|
current,
|
9123
|
-
|
9124
|
+
JSCompiler_object_inline_digest_2307,
|
9124
9125
|
renderLanes
|
9125
9126
|
)),
|
9126
9127
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9127
|
-
|
9128
|
+
JSCompiler_object_inline_stack_2308
|
9128
9129
|
);
|
9129
9130
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9130
9131
|
renderLanes = current.child;
|
9131
9132
|
current = renderLanes.sibling;
|
9132
9133
|
renderLanes = createWorkInProgress(renderLanes, {
|
9133
9134
|
mode: "visible",
|
9134
|
-
children:
|
9135
|
+
children: JSCompiler_object_inline_stack_2308.children
|
9135
9136
|
});
|
9136
9137
|
renderLanes.return = workInProgress;
|
9137
9138
|
renderLanes.sibling = null;
|
9138
9139
|
null !== current &&
|
9139
|
-
((
|
9140
|
-
null ===
|
9140
|
+
((JSCompiler_object_inline_digest_2307 = workInProgress.deletions),
|
9141
|
+
null === JSCompiler_object_inline_digest_2307
|
9141
9142
|
? ((workInProgress.deletions = [current]),
|
9142
9143
|
(workInProgress.flags |= 16))
|
9143
|
-
:
|
9144
|
+
: JSCompiler_object_inline_digest_2307.push(current));
|
9144
9145
|
workInProgress.child = renderLanes;
|
9145
9146
|
workInProgress.memoizedState = null;
|
9146
9147
|
return renderLanes;
|
@@ -18138,7 +18139,7 @@
|
|
18138
18139
|
console.error(
|
18139
18140
|
"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
|
18140
18141
|
);
|
18141
|
-
else
|
18142
|
+
else {
|
18142
18143
|
var clientValue;
|
18143
18144
|
var delimiter = (clientValue = ""),
|
18144
18145
|
styleName;
|
@@ -18557,42 +18558,36 @@
|
|
18557
18558
|
}
|
18558
18559
|
case "src":
|
18559
18560
|
case "href":
|
18560
|
-
|
18561
|
-
|
18562
|
-
|
18563
|
-
|
18564
|
-
|
18565
|
-
|
18566
|
-
|
18567
|
-
|
18568
|
-
|
18569
|
-
|
18570
|
-
|
18571
|
-
|
18572
|
-
|
18573
|
-
|
18574
|
-
|
18575
|
-
|
18576
|
-
|
18577
|
-
|
18578
|
-
|
18579
|
-
|
18580
|
-
|
18581
|
-
|
18582
|
-
|
18583
|
-
|
18584
|
-
|
18585
|
-
|
18586
|
-
|
18587
|
-
|
18588
|
-
|
18589
|
-
|
18590
|
-
value,
|
18591
|
-
value,
|
18592
|
-
propKey,
|
18593
|
-
extraAttributes,
|
18594
|
-
serverDifferences
|
18595
|
-
);
|
18561
|
+
"" !== propKey ||
|
18562
|
+
("a" === tag && "href" === value) ||
|
18563
|
+
("object" === tag && "data" === value)
|
18564
|
+
? hydrateSanitizedAttribute(
|
18565
|
+
domElement,
|
18566
|
+
value,
|
18567
|
+
value,
|
18568
|
+
propKey,
|
18569
|
+
extraAttributes,
|
18570
|
+
serverDifferences
|
18571
|
+
)
|
18572
|
+
: ("src" === value
|
18573
|
+
? console.error(
|
18574
|
+
'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
18575
|
+
value,
|
18576
|
+
value
|
18577
|
+
)
|
18578
|
+
: console.error(
|
18579
|
+
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
18580
|
+
value,
|
18581
|
+
value
|
18582
|
+
),
|
18583
|
+
hydrateSanitizedAttribute(
|
18584
|
+
domElement,
|
18585
|
+
value,
|
18586
|
+
value,
|
18587
|
+
null,
|
18588
|
+
extraAttributes,
|
18589
|
+
serverDifferences
|
18590
|
+
));
|
18596
18591
|
continue;
|
18597
18592
|
case "action":
|
18598
18593
|
case "formAction":
|
@@ -20965,7 +20960,6 @@
|
|
20965
20960
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
20966
20961
|
REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
20967
20962
|
Symbol.for("react.scope");
|
20968
|
-
Symbol.for("react.debug_trace_mode");
|
20969
20963
|
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
20970
20964
|
Symbol.for("react.legacy_hidden");
|
20971
20965
|
Symbol.for("react.tracing_marker");
|
@@ -21048,11 +21042,6 @@
|
|
21048
21042
|
allNativeEvents = new Set(),
|
21049
21043
|
registrationNameDependencies = {},
|
21050
21044
|
possibleRegistrationNames = {},
|
21051
|
-
canUseDOM = !(
|
21052
|
-
"undefined" === typeof window ||
|
21053
|
-
"undefined" === typeof window.document ||
|
21054
|
-
"undefined" === typeof window.document.createElement
|
21055
|
-
),
|
21056
21045
|
hasReadOnlyValue = {
|
21057
21046
|
button: !0,
|
21058
21047
|
checkbox: !0,
|
@@ -21099,8 +21088,6 @@
|
|
21099
21088
|
containerTagInScope: null
|
21100
21089
|
},
|
21101
21090
|
didWarn = {},
|
21102
|
-
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
|
21103
|
-
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
|
21104
21091
|
shorthandToLonghand = {
|
21105
21092
|
animation:
|
21106
21093
|
"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
|
@@ -21251,6 +21238,8 @@
|
|
21251
21238
|
" "
|
21252
21239
|
)
|
21253
21240
|
),
|
21241
|
+
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
|
21242
|
+
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
|
21254
21243
|
aliases = new Map([
|
21255
21244
|
["acceptCharset", "accept-charset"],
|
21256
21245
|
["htmlFor", "for"],
|
@@ -21899,6 +21888,11 @@
|
|
21899
21888
|
restoreTarget = null,
|
21900
21889
|
restoreQueue = null,
|
21901
21890
|
isInsideEventHandler = !1,
|
21891
|
+
canUseDOM = !(
|
21892
|
+
"undefined" === typeof window ||
|
21893
|
+
"undefined" === typeof window.document ||
|
21894
|
+
"undefined" === typeof window.document.createElement
|
21895
|
+
),
|
21902
21896
|
passiveBrowserEventsSupported = !1;
|
21903
21897
|
if (canUseDOM)
|
21904
21898
|
try {
|
@@ -22549,36 +22543,33 @@
|
|
22549
22543
|
currentHookNameInDev = null,
|
22550
22544
|
hookTypesDev = null,
|
22551
22545
|
hookTypesUpdateIndexDev = -1,
|
22552
|
-
ignorePreviousDependencies = !1
|
22553
|
-
|
22554
|
-
|
22555
|
-
|
22556
|
-
|
22557
|
-
|
22558
|
-
|
22559
|
-
|
22560
|
-
|
22561
|
-
|
22562
|
-
|
22563
|
-
|
22564
|
-
|
22565
|
-
|
22566
|
-
|
22567
|
-
|
22568
|
-
|
22569
|
-
|
22570
|
-
|
22571
|
-
|
22572
|
-
|
22573
|
-
|
22574
|
-
|
22575
|
-
|
22576
|
-
|
22577
|
-
|
22578
|
-
|
22579
|
-
ContextOnlyDispatcher.useActionState = throwInvalidHookError;
|
22580
|
-
ContextOnlyDispatcher.useOptimistic = throwInvalidHookError;
|
22581
|
-
var HooksDispatcherOnMountInDEV = null,
|
22546
|
+
ignorePreviousDependencies = !1,
|
22547
|
+
ContextOnlyDispatcher = {
|
22548
|
+
readContext: readContext,
|
22549
|
+
use: use,
|
22550
|
+
useCallback: throwInvalidHookError,
|
22551
|
+
useContext: throwInvalidHookError,
|
22552
|
+
useEffect: throwInvalidHookError,
|
22553
|
+
useImperativeHandle: throwInvalidHookError,
|
22554
|
+
useLayoutEffect: throwInvalidHookError,
|
22555
|
+
useInsertionEffect: throwInvalidHookError,
|
22556
|
+
useMemo: throwInvalidHookError,
|
22557
|
+
useReducer: throwInvalidHookError,
|
22558
|
+
useRef: throwInvalidHookError,
|
22559
|
+
useState: throwInvalidHookError,
|
22560
|
+
useDebugValue: throwInvalidHookError,
|
22561
|
+
useDeferredValue: throwInvalidHookError,
|
22562
|
+
useTransition: throwInvalidHookError,
|
22563
|
+
useSyncExternalStore: throwInvalidHookError,
|
22564
|
+
useId: throwInvalidHookError,
|
22565
|
+
useHostTransitionStatus: throwInvalidHookError,
|
22566
|
+
useFormState: throwInvalidHookError,
|
22567
|
+
useActionState: throwInvalidHookError,
|
22568
|
+
useOptimistic: throwInvalidHookError,
|
22569
|
+
useMemoCache: throwInvalidHookError,
|
22570
|
+
useCacheRefresh: throwInvalidHookError
|
22571
|
+
},
|
22572
|
+
HooksDispatcherOnMountInDEV = null,
|
22582
22573
|
HooksDispatcherOnMountWithHookTypesInDEV = null,
|
22583
22574
|
HooksDispatcherOnUpdateInDEV = null,
|
22584
22575
|
HooksDispatcherOnRerenderInDEV = null,
|
@@ -22696,34 +22687,30 @@
|
|
22696
22687
|
mountHookTypesDev();
|
22697
22688
|
return mountId();
|
22698
22689
|
},
|
22690
|
+
useFormState: function (action, initialState) {
|
22691
|
+
currentHookNameInDev = "useFormState";
|
22692
|
+
mountHookTypesDev();
|
22693
|
+
warnOnUseFormStateInDev();
|
22694
|
+
return mountActionState(action, initialState);
|
22695
|
+
},
|
22696
|
+
useActionState: function (action, initialState) {
|
22697
|
+
currentHookNameInDev = "useActionState";
|
22698
|
+
mountHookTypesDev();
|
22699
|
+
return mountActionState(action, initialState);
|
22700
|
+
},
|
22701
|
+
useOptimistic: function (passthrough) {
|
22702
|
+
currentHookNameInDev = "useOptimistic";
|
22703
|
+
mountHookTypesDev();
|
22704
|
+
return mountOptimistic(passthrough);
|
22705
|
+
},
|
22706
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
22707
|
+
useMemoCache: useMemoCache,
|
22699
22708
|
useCacheRefresh: function () {
|
22700
22709
|
currentHookNameInDev = "useCacheRefresh";
|
22701
22710
|
mountHookTypesDev();
|
22702
22711
|
return mountRefresh();
|
22703
22712
|
}
|
22704
22713
|
};
|
22705
|
-
HooksDispatcherOnMountInDEV.useMemoCache = useMemoCache;
|
22706
|
-
HooksDispatcherOnMountInDEV.useHostTransitionStatus =
|
22707
|
-
useHostTransitionStatus;
|
22708
|
-
HooksDispatcherOnMountInDEV.useFormState = function (action, initialState) {
|
22709
|
-
currentHookNameInDev = "useFormState";
|
22710
|
-
mountHookTypesDev();
|
22711
|
-
warnOnUseFormStateInDev();
|
22712
|
-
return mountActionState(action, initialState);
|
22713
|
-
};
|
22714
|
-
HooksDispatcherOnMountInDEV.useActionState = function (
|
22715
|
-
action,
|
22716
|
-
initialState
|
22717
|
-
) {
|
22718
|
-
currentHookNameInDev = "useActionState";
|
22719
|
-
mountHookTypesDev();
|
22720
|
-
return mountActionState(action, initialState);
|
22721
|
-
};
|
22722
|
-
HooksDispatcherOnMountInDEV.useOptimistic = function (passthrough) {
|
22723
|
-
currentHookNameInDev = "useOptimistic";
|
22724
|
-
mountHookTypesDev();
|
22725
|
-
return mountOptimistic(passthrough);
|
22726
|
-
};
|
22727
22714
|
HooksDispatcherOnMountWithHookTypesInDEV = {
|
22728
22715
|
readContext: function (context) {
|
22729
22716
|
return readContext(context);
|
@@ -22829,39 +22816,30 @@
|
|
22829
22816
|
updateHookTypesDev();
|
22830
22817
|
return mountId();
|
22831
22818
|
},
|
22819
|
+
useActionState: function (action, initialState) {
|
22820
|
+
currentHookNameInDev = "useActionState";
|
22821
|
+
updateHookTypesDev();
|
22822
|
+
return mountActionState(action, initialState);
|
22823
|
+
},
|
22824
|
+
useFormState: function (action, initialState) {
|
22825
|
+
currentHookNameInDev = "useFormState";
|
22826
|
+
updateHookTypesDev();
|
22827
|
+
warnOnUseFormStateInDev();
|
22828
|
+
return mountActionState(action, initialState);
|
22829
|
+
},
|
22830
|
+
useOptimistic: function (passthrough) {
|
22831
|
+
currentHookNameInDev = "useOptimistic";
|
22832
|
+
updateHookTypesDev();
|
22833
|
+
return mountOptimistic(passthrough);
|
22834
|
+
},
|
22835
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
22836
|
+
useMemoCache: useMemoCache,
|
22832
22837
|
useCacheRefresh: function () {
|
22833
22838
|
currentHookNameInDev = "useCacheRefresh";
|
22834
22839
|
updateHookTypesDev();
|
22835
22840
|
return mountRefresh();
|
22836
22841
|
}
|
22837
22842
|
};
|
22838
|
-
HooksDispatcherOnMountWithHookTypesInDEV.useMemoCache = useMemoCache;
|
22839
|
-
HooksDispatcherOnMountWithHookTypesInDEV.useHostTransitionStatus =
|
22840
|
-
useHostTransitionStatus;
|
22841
|
-
HooksDispatcherOnMountWithHookTypesInDEV.useFormState = function (
|
22842
|
-
action,
|
22843
|
-
initialState
|
22844
|
-
) {
|
22845
|
-
currentHookNameInDev = "useFormState";
|
22846
|
-
updateHookTypesDev();
|
22847
|
-
warnOnUseFormStateInDev();
|
22848
|
-
return mountActionState(action, initialState);
|
22849
|
-
};
|
22850
|
-
HooksDispatcherOnMountWithHookTypesInDEV.useActionState = function (
|
22851
|
-
action,
|
22852
|
-
initialState
|
22853
|
-
) {
|
22854
|
-
currentHookNameInDev = "useActionState";
|
22855
|
-
updateHookTypesDev();
|
22856
|
-
return mountActionState(action, initialState);
|
22857
|
-
};
|
22858
|
-
HooksDispatcherOnMountWithHookTypesInDEV.useOptimistic = function (
|
22859
|
-
passthrough
|
22860
|
-
) {
|
22861
|
-
currentHookNameInDev = "useOptimistic";
|
22862
|
-
updateHookTypesDev();
|
22863
|
-
return mountOptimistic(passthrough);
|
22864
|
-
};
|
22865
22843
|
HooksDispatcherOnUpdateInDEV = {
|
22866
22844
|
readContext: function (context) {
|
22867
22845
|
return readContext(context);
|
@@ -22967,34 +22945,30 @@
|
|
22967
22945
|
updateHookTypesDev();
|
22968
22946
|
return updateWorkInProgressHook().memoizedState;
|
22969
22947
|
},
|
22948
|
+
useFormState: function (action) {
|
22949
|
+
currentHookNameInDev = "useFormState";
|
22950
|
+
updateHookTypesDev();
|
22951
|
+
warnOnUseFormStateInDev();
|
22952
|
+
return updateActionState(action);
|
22953
|
+
},
|
22954
|
+
useActionState: function (action) {
|
22955
|
+
currentHookNameInDev = "useActionState";
|
22956
|
+
updateHookTypesDev();
|
22957
|
+
return updateActionState(action);
|
22958
|
+
},
|
22959
|
+
useOptimistic: function (passthrough, reducer) {
|
22960
|
+
currentHookNameInDev = "useOptimistic";
|
22961
|
+
updateHookTypesDev();
|
22962
|
+
return updateOptimistic(passthrough, reducer);
|
22963
|
+
},
|
22964
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
22965
|
+
useMemoCache: useMemoCache,
|
22970
22966
|
useCacheRefresh: function () {
|
22971
22967
|
currentHookNameInDev = "useCacheRefresh";
|
22972
22968
|
updateHookTypesDev();
|
22973
22969
|
return updateWorkInProgressHook().memoizedState;
|
22974
22970
|
}
|
22975
22971
|
};
|
22976
|
-
HooksDispatcherOnUpdateInDEV.useMemoCache = useMemoCache;
|
22977
|
-
HooksDispatcherOnUpdateInDEV.useHostTransitionStatus =
|
22978
|
-
useHostTransitionStatus;
|
22979
|
-
HooksDispatcherOnUpdateInDEV.useFormState = function (action) {
|
22980
|
-
currentHookNameInDev = "useFormState";
|
22981
|
-
updateHookTypesDev();
|
22982
|
-
warnOnUseFormStateInDev();
|
22983
|
-
return updateActionState(action);
|
22984
|
-
};
|
22985
|
-
HooksDispatcherOnUpdateInDEV.useActionState = function (action) {
|
22986
|
-
currentHookNameInDev = "useActionState";
|
22987
|
-
updateHookTypesDev();
|
22988
|
-
return updateActionState(action);
|
22989
|
-
};
|
22990
|
-
HooksDispatcherOnUpdateInDEV.useOptimistic = function (
|
22991
|
-
passthrough,
|
22992
|
-
reducer
|
22993
|
-
) {
|
22994
|
-
currentHookNameInDev = "useOptimistic";
|
22995
|
-
updateHookTypesDev();
|
22996
|
-
return updateOptimistic(passthrough, reducer);
|
22997
|
-
};
|
22998
22972
|
HooksDispatcherOnRerenderInDEV = {
|
22999
22973
|
readContext: function (context) {
|
23000
22974
|
return readContext(context);
|
@@ -23100,34 +23074,30 @@
|
|
23100
23074
|
updateHookTypesDev();
|
23101
23075
|
return updateWorkInProgressHook().memoizedState;
|
23102
23076
|
},
|
23077
|
+
useFormState: function (action) {
|
23078
|
+
currentHookNameInDev = "useFormState";
|
23079
|
+
updateHookTypesDev();
|
23080
|
+
warnOnUseFormStateInDev();
|
23081
|
+
return rerenderActionState(action);
|
23082
|
+
},
|
23083
|
+
useActionState: function (action) {
|
23084
|
+
currentHookNameInDev = "useActionState";
|
23085
|
+
updateHookTypesDev();
|
23086
|
+
return rerenderActionState(action);
|
23087
|
+
},
|
23088
|
+
useOptimistic: function (passthrough, reducer) {
|
23089
|
+
currentHookNameInDev = "useOptimistic";
|
23090
|
+
updateHookTypesDev();
|
23091
|
+
return rerenderOptimistic(passthrough, reducer);
|
23092
|
+
},
|
23093
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
23094
|
+
useMemoCache: useMemoCache,
|
23103
23095
|
useCacheRefresh: function () {
|
23104
23096
|
currentHookNameInDev = "useCacheRefresh";
|
23105
23097
|
updateHookTypesDev();
|
23106
23098
|
return updateWorkInProgressHook().memoizedState;
|
23107
23099
|
}
|
23108
23100
|
};
|
23109
|
-
HooksDispatcherOnRerenderInDEV.useMemoCache = useMemoCache;
|
23110
|
-
HooksDispatcherOnRerenderInDEV.useHostTransitionStatus =
|
23111
|
-
useHostTransitionStatus;
|
23112
|
-
HooksDispatcherOnRerenderInDEV.useFormState = function (action) {
|
23113
|
-
currentHookNameInDev = "useFormState";
|
23114
|
-
updateHookTypesDev();
|
23115
|
-
warnOnUseFormStateInDev();
|
23116
|
-
return rerenderActionState(action);
|
23117
|
-
};
|
23118
|
-
HooksDispatcherOnRerenderInDEV.useActionState = function (action) {
|
23119
|
-
currentHookNameInDev = "useActionState";
|
23120
|
-
updateHookTypesDev();
|
23121
|
-
return rerenderActionState(action);
|
23122
|
-
};
|
23123
|
-
HooksDispatcherOnRerenderInDEV.useOptimistic = function (
|
23124
|
-
passthrough,
|
23125
|
-
reducer
|
23126
|
-
) {
|
23127
|
-
currentHookNameInDev = "useOptimistic";
|
23128
|
-
updateHookTypesDev();
|
23129
|
-
return rerenderOptimistic(passthrough, reducer);
|
23130
|
-
};
|
23131
23101
|
InvalidNestedHooksDispatcherOnMountInDEV = {
|
23132
23102
|
readContext: function (context) {
|
23133
23103
|
warnInvalidContextAccess();
|
@@ -23252,44 +23222,35 @@
|
|
23252
23222
|
mountHookTypesDev();
|
23253
23223
|
return mountId();
|
23254
23224
|
},
|
23255
|
-
|
23256
|
-
currentHookNameInDev = "
|
23225
|
+
useFormState: function (action, initialState) {
|
23226
|
+
currentHookNameInDev = "useFormState";
|
23227
|
+
warnInvalidHookAccess();
|
23257
23228
|
mountHookTypesDev();
|
23258
|
-
return
|
23229
|
+
return mountActionState(action, initialState);
|
23230
|
+
},
|
23231
|
+
useActionState: function (action, initialState) {
|
23232
|
+
currentHookNameInDev = "useActionState";
|
23233
|
+
warnInvalidHookAccess();
|
23234
|
+
mountHookTypesDev();
|
23235
|
+
return mountActionState(action, initialState);
|
23236
|
+
},
|
23237
|
+
useOptimistic: function (passthrough) {
|
23238
|
+
currentHookNameInDev = "useOptimistic";
|
23239
|
+
warnInvalidHookAccess();
|
23240
|
+
mountHookTypesDev();
|
23241
|
+
return mountOptimistic(passthrough);
|
23259
23242
|
},
|
23260
23243
|
useMemoCache: function (size) {
|
23261
23244
|
warnInvalidHookAccess();
|
23262
23245
|
return useMemoCache(size);
|
23246
|
+
},
|
23247
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
23248
|
+
useCacheRefresh: function () {
|
23249
|
+
currentHookNameInDev = "useCacheRefresh";
|
23250
|
+
mountHookTypesDev();
|
23251
|
+
return mountRefresh();
|
23263
23252
|
}
|
23264
23253
|
};
|
23265
|
-
InvalidNestedHooksDispatcherOnMountInDEV.useHostTransitionStatus =
|
23266
|
-
useHostTransitionStatus;
|
23267
|
-
InvalidNestedHooksDispatcherOnMountInDEV.useFormState = function (
|
23268
|
-
action,
|
23269
|
-
initialState
|
23270
|
-
) {
|
23271
|
-
currentHookNameInDev = "useFormState";
|
23272
|
-
warnInvalidHookAccess();
|
23273
|
-
mountHookTypesDev();
|
23274
|
-
return mountActionState(action, initialState);
|
23275
|
-
};
|
23276
|
-
InvalidNestedHooksDispatcherOnMountInDEV.useActionState = function (
|
23277
|
-
action,
|
23278
|
-
initialState
|
23279
|
-
) {
|
23280
|
-
currentHookNameInDev = "useActionState";
|
23281
|
-
warnInvalidHookAccess();
|
23282
|
-
mountHookTypesDev();
|
23283
|
-
return mountActionState(action, initialState);
|
23284
|
-
};
|
23285
|
-
InvalidNestedHooksDispatcherOnMountInDEV.useOptimistic = function (
|
23286
|
-
passthrough
|
23287
|
-
) {
|
23288
|
-
currentHookNameInDev = "useOptimistic";
|
23289
|
-
warnInvalidHookAccess();
|
23290
|
-
mountHookTypesDev();
|
23291
|
-
return mountOptimistic(passthrough);
|
23292
|
-
};
|
23293
23254
|
InvalidNestedHooksDispatcherOnUpdateInDEV = {
|
23294
23255
|
readContext: function (context) {
|
23295
23256
|
warnInvalidContextAccess();
|
@@ -23414,41 +23375,35 @@
|
|
23414
23375
|
updateHookTypesDev();
|
23415
23376
|
return updateWorkInProgressHook().memoizedState;
|
23416
23377
|
},
|
23417
|
-
|
23418
|
-
currentHookNameInDev = "
|
23378
|
+
useFormState: function (action) {
|
23379
|
+
currentHookNameInDev = "useFormState";
|
23380
|
+
warnInvalidHookAccess();
|
23419
23381
|
updateHookTypesDev();
|
23420
|
-
return
|
23382
|
+
return updateActionState(action);
|
23383
|
+
},
|
23384
|
+
useActionState: function (action) {
|
23385
|
+
currentHookNameInDev = "useActionState";
|
23386
|
+
warnInvalidHookAccess();
|
23387
|
+
updateHookTypesDev();
|
23388
|
+
return updateActionState(action);
|
23389
|
+
},
|
23390
|
+
useOptimistic: function (passthrough, reducer) {
|
23391
|
+
currentHookNameInDev = "useOptimistic";
|
23392
|
+
warnInvalidHookAccess();
|
23393
|
+
updateHookTypesDev();
|
23394
|
+
return updateOptimistic(passthrough, reducer);
|
23421
23395
|
},
|
23422
23396
|
useMemoCache: function (size) {
|
23423
23397
|
warnInvalidHookAccess();
|
23424
23398
|
return useMemoCache(size);
|
23399
|
+
},
|
23400
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
23401
|
+
useCacheRefresh: function () {
|
23402
|
+
currentHookNameInDev = "useCacheRefresh";
|
23403
|
+
updateHookTypesDev();
|
23404
|
+
return updateWorkInProgressHook().memoizedState;
|
23425
23405
|
}
|
23426
23406
|
};
|
23427
|
-
InvalidNestedHooksDispatcherOnUpdateInDEV.useHostTransitionStatus =
|
23428
|
-
useHostTransitionStatus;
|
23429
|
-
InvalidNestedHooksDispatcherOnUpdateInDEV.useFormState = function (action) {
|
23430
|
-
currentHookNameInDev = "useFormState";
|
23431
|
-
warnInvalidHookAccess();
|
23432
|
-
updateHookTypesDev();
|
23433
|
-
return updateActionState(action);
|
23434
|
-
};
|
23435
|
-
InvalidNestedHooksDispatcherOnUpdateInDEV.useActionState = function (
|
23436
|
-
action
|
23437
|
-
) {
|
23438
|
-
currentHookNameInDev = "useActionState";
|
23439
|
-
warnInvalidHookAccess();
|
23440
|
-
updateHookTypesDev();
|
23441
|
-
return updateActionState(action);
|
23442
|
-
};
|
23443
|
-
InvalidNestedHooksDispatcherOnUpdateInDEV.useOptimistic = function (
|
23444
|
-
passthrough,
|
23445
|
-
reducer
|
23446
|
-
) {
|
23447
|
-
currentHookNameInDev = "useOptimistic";
|
23448
|
-
warnInvalidHookAccess();
|
23449
|
-
updateHookTypesDev();
|
23450
|
-
return updateOptimistic(passthrough, reducer);
|
23451
|
-
};
|
23452
23407
|
InvalidNestedHooksDispatcherOnRerenderInDEV = {
|
23453
23408
|
readContext: function (context) {
|
23454
23409
|
warnInvalidContextAccess();
|
@@ -23573,43 +23528,35 @@
|
|
23573
23528
|
updateHookTypesDev();
|
23574
23529
|
return updateWorkInProgressHook().memoizedState;
|
23575
23530
|
},
|
23576
|
-
|
23577
|
-
currentHookNameInDev = "
|
23531
|
+
useFormState: function (action) {
|
23532
|
+
currentHookNameInDev = "useFormState";
|
23533
|
+
warnInvalidHookAccess();
|
23578
23534
|
updateHookTypesDev();
|
23579
|
-
return
|
23535
|
+
return rerenderActionState(action);
|
23536
|
+
},
|
23537
|
+
useActionState: function (action) {
|
23538
|
+
currentHookNameInDev = "useActionState";
|
23539
|
+
warnInvalidHookAccess();
|
23540
|
+
updateHookTypesDev();
|
23541
|
+
return rerenderActionState(action);
|
23542
|
+
},
|
23543
|
+
useOptimistic: function (passthrough, reducer) {
|
23544
|
+
currentHookNameInDev = "useOptimistic";
|
23545
|
+
warnInvalidHookAccess();
|
23546
|
+
updateHookTypesDev();
|
23547
|
+
return rerenderOptimistic(passthrough, reducer);
|
23580
23548
|
},
|
23581
23549
|
useMemoCache: function (size) {
|
23582
23550
|
warnInvalidHookAccess();
|
23583
23551
|
return useMemoCache(size);
|
23552
|
+
},
|
23553
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
23554
|
+
useCacheRefresh: function () {
|
23555
|
+
currentHookNameInDev = "useCacheRefresh";
|
23556
|
+
updateHookTypesDev();
|
23557
|
+
return updateWorkInProgressHook().memoizedState;
|
23584
23558
|
}
|
23585
23559
|
};
|
23586
|
-
InvalidNestedHooksDispatcherOnRerenderInDEV.useHostTransitionStatus =
|
23587
|
-
useHostTransitionStatus;
|
23588
|
-
InvalidNestedHooksDispatcherOnRerenderInDEV.useFormState = function (
|
23589
|
-
action
|
23590
|
-
) {
|
23591
|
-
currentHookNameInDev = "useFormState";
|
23592
|
-
warnInvalidHookAccess();
|
23593
|
-
updateHookTypesDev();
|
23594
|
-
return rerenderActionState(action);
|
23595
|
-
};
|
23596
|
-
InvalidNestedHooksDispatcherOnRerenderInDEV.useActionState = function (
|
23597
|
-
action
|
23598
|
-
) {
|
23599
|
-
currentHookNameInDev = "useActionState";
|
23600
|
-
warnInvalidHookAccess();
|
23601
|
-
updateHookTypesDev();
|
23602
|
-
return rerenderActionState(action);
|
23603
|
-
};
|
23604
|
-
InvalidNestedHooksDispatcherOnRerenderInDEV.useOptimistic = function (
|
23605
|
-
passthrough,
|
23606
|
-
reducer
|
23607
|
-
) {
|
23608
|
-
currentHookNameInDev = "useOptimistic";
|
23609
|
-
warnInvalidHookAccess();
|
23610
|
-
updateHookTypesDev();
|
23611
|
-
return rerenderOptimistic(passthrough, reducer);
|
23612
|
-
};
|
23613
23560
|
var callComponent = {
|
23614
23561
|
"react-stack-bottom-frame": function (Component, props, secondArg) {
|
23615
23562
|
var wasRendering = isRendering;
|
@@ -24121,7 +24068,6 @@
|
|
24121
24068
|
didWarnFormActionMethod = !1,
|
24122
24069
|
didWarnPopoverTargetObject = !1;
|
24123
24070
|
var didWarnForNewBooleanPropsWithEmptyValue = {};
|
24124
|
-
var canDiffStyleForHydrationWarning = !0;
|
24125
24071
|
var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
|
24126
24072
|
NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
|
24127
24073
|
xlinkNamespace = "http://www.w3.org/1999/xlink",
|
@@ -24584,11 +24530,11 @@
|
|
24584
24530
|
};
|
24585
24531
|
(function () {
|
24586
24532
|
var isomorphicReactPackageVersion = React.version;
|
24587
|
-
if ("19.1.0-canary-
|
24533
|
+
if ("19.1.0-canary-e06c72fc-20241215" !== isomorphicReactPackageVersion)
|
24588
24534
|
throw Error(
|
24589
24535
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24590
24536
|
(isomorphicReactPackageVersion +
|
24591
|
-
"\n - react-dom: 19.1.0-canary-
|
24537
|
+
"\n - react-dom: 19.1.0-canary-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
|
24592
24538
|
);
|
24593
24539
|
})();
|
24594
24540
|
("function" === typeof Map &&
|
@@ -24625,10 +24571,10 @@
|
|
24625
24571
|
!(function () {
|
24626
24572
|
var internals = {
|
24627
24573
|
bundleType: 1,
|
24628
|
-
version: "19.1.0-canary-
|
24574
|
+
version: "19.1.0-canary-e06c72fc-20241215",
|
24629
24575
|
rendererPackageName: "react-dom",
|
24630
24576
|
currentDispatcherRef: ReactSharedInternals,
|
24631
|
-
reconcilerVersion: "19.1.0-canary-
|
24577
|
+
reconcilerVersion: "19.1.0-canary-e06c72fc-20241215"
|
24632
24578
|
};
|
24633
24579
|
internals.overrideHookState = overrideHookState;
|
24634
24580
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -24774,7 +24720,7 @@
|
|
24774
24720
|
listenToAllSupportedEvents(container);
|
24775
24721
|
return new ReactDOMHydrationRoot(initialChildren);
|
24776
24722
|
};
|
24777
|
-
exports.version = "19.1.0-canary-
|
24723
|
+
exports.version = "19.1.0-canary-e06c72fc-20241215";
|
24778
24724
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
24779
24725
|
"function" ===
|
24780
24726
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|