7
7
* @noflow
8
8
* @nolint
9
9
* @preventMunge
10
- * @generated SignedSource<<d2ac2c6fc1d7b173066eae37c84b37cb >>
10
+ * @generated SignedSource<<0bd1930d33a754a98f8f9076a5d36193 >>
11
11
*/
12
12
13
13
/*
@@ -2428,7 +2428,36 @@ function registerSimpleEvent(domEventName, reactName) {
2428
2428
topLevelEventsToReactNames.set(domEventName, reactName);
2429
2429
registerTwoPhaseEvent(reactName, [domEventName]);
2430
2430
}
2431
- var concurrentQueues = [],
2431
+ var reportGlobalError =
2432
+ "function" === typeof reportError
2433
+ ? reportError
2434
+ : function (error) {
2435
+ if (
2436
+ "object" === typeof window &&
2437
+ "function" === typeof window.ErrorEvent
2438
+ ) {
2439
+ var event = new window.ErrorEvent("error", {
2440
+ bubbles: !0,
2441
+ cancelable: !0,
2442
+ message:
2443
+ "object" === typeof error &&
2444
+ null !== error &&
2445
+ "string" === typeof error.message
2446
+ ? String(error.message)
2447
+ : String(error),
2448
+ error: error
2449
+ });
2450
+ if (!window.dispatchEvent(event)) return;
2451
+ } else if (
2452
+ "object" === typeof process &&
2453
+ "function" === typeof process.emit
2454
+ ) {
2455
+ process.emit("uncaughtException", error);
2456
+ return;
2457
+ }
2458
+ console.error(error);
2459
+ },
2460
+ concurrentQueues = [],
2432
2461
concurrentQueuesIndex = 0,
2433
2462
concurrentlyUpdatedLanes = 0;
2434
2463
function finishQueueingConcurrentUpdates() {
@@ -6101,35 +6130,6 @@ function resolveClassComponentProps(Component, baseProps) {
6101
6130
}
6102
6131
return newProps;
6103
6132
}
6104
- var reportGlobalError =
6105
- "function" === typeof reportError
6106
- ? reportError
6107
- : function (error) {
6108
- if (
6109
- "object" === typeof window &&
6110
- "function" === typeof window.ErrorEvent
6111
- ) {
6112
- var event = new window.ErrorEvent("error", {
6113
- bubbles: !0,
6114
- cancelable: !0,
6115
- message:
6116
- "object" === typeof error &&
6117
- null !== error &&
6118
- "string" === typeof error.message
6119
- ? String(error.message)
6120
- : String(error),
6121
- error: error
6122
- });
6123
- if (!window.dispatchEvent(event)) return;
6124
- } else if (
6125
- "object" === typeof process &&
6126
- "function" === typeof process.emit
6127
- ) {
6128
- process.emit("uncaughtException", error);
6129
- return;
6130
- }
6131
- console.error(error);
6132
- };
6133
6133
function defaultOnUncaughtError(error) {
6134
6134
reportGlobalError(error);
6135
6135
}
@@ -11350,8 +11350,7 @@ function requestUpdateLane(fiber) {
11350
11350
: 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
11351
11351
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
11352
11352
: null !== ReactSharedInternals.T
11353
- ? ((fiber = currentEntangledLane),
11354
- 0 !== fiber ? fiber : requestTransitionLane())
11353
+ ? requestTransitionLane()
11355
11354
: resolveUpdatePriority();
11356
11355
}
11357
11356
function requestDeferredLane() {
@@ -12700,9 +12699,8 @@ function processRootScheduleInMicrotask() {
12700
12699
mightHavePendingSyncWork = didScheduleMicrotask = !1;
12701
12700
var syncTransitionLanes = 0;
12702
12701
0 !== currentEventTransitionLane &&
12703
- (shouldAttemptEagerTransition() &&
12704
- (syncTransitionLanes = currentEventTransitionLane),
12705
- (currentEventTransitionLane = 0));
12702
+ shouldAttemptEagerTransition() &&
12703
+ (syncTransitionLanes = currentEventTransitionLane);
12706
12704
for (
12707
12705
var currentTime = now(), prev = null, root = firstScheduledRoot;
12708
12706
null !== root;
@@ -12722,6 +12720,7 @@ function processRootScheduleInMicrotask() {
12722
12720
}
12723
12721
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
12724
12722
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
12723
+ 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
12725
12724
}
12726
12725
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
12727
12726
for (
@@ -12829,8 +12828,11 @@ function scheduleImmediateRootScheduleTask() {
12829
12828
});
12830
12829
}
12831
12830
function requestTransitionLane() {
12832
- 0 === currentEventTransitionLane &&
12833
- (currentEventTransitionLane = claimNextTransitionLane());
12831
+ if (0 === currentEventTransitionLane) {
12832
+ var actionScopeLane = currentEntangledLane;
12833
+ currentEventTransitionLane =
12834
+ 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
12835
+ }
12834
12836
return currentEventTransitionLane;
12835
12837
}
12836
12838
function coerceFormActionProp(actionProp) {
@@ -12963,20 +12965,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
12963
12965
(nativeEventTarget[internalScrollTimer] = targetInst));
12964
12966
}
12965
12967
for (
12966
- var i$jscomp$inline_1640 = 0;
12967
- i$jscomp$inline_1640 < simpleEventPluginEvents.length;
12968
- i$jscomp$inline_1640 ++
12968
+ var i$jscomp$inline_1641 = 0;
12969
+ i$jscomp$inline_1641 < simpleEventPluginEvents.length;
12970
+ i$jscomp$inline_1641 ++
12969
12971
) {
12970
- var eventName$jscomp$inline_1641 =
12971
- simpleEventPluginEvents[i$jscomp$inline_1640 ],
12972
- domEventName$jscomp$inline_1642 =
12973
- eventName$jscomp$inline_1641 .toLowerCase(),
12974
- capitalizedEvent$jscomp$inline_1643 =
12975
- eventName$jscomp$inline_1641 [0].toUpperCase() +
12976
- eventName$jscomp$inline_1641 .slice(1);
12972
+ var eventName$jscomp$inline_1642 =
12973
+ simpleEventPluginEvents[i$jscomp$inline_1641 ],
12974
+ domEventName$jscomp$inline_1643 =
12975
+ eventName$jscomp$inline_1642 .toLowerCase(),
12976
+ capitalizedEvent$jscomp$inline_1644 =
12977
+ eventName$jscomp$inline_1642 [0].toUpperCase() +
12978
+ eventName$jscomp$inline_1642 .slice(1);
12977
12979
registerSimpleEvent(
12978
- domEventName$jscomp$inline_1642 ,
12979
- "on" + capitalizedEvent$jscomp$inline_1643
12980
+ domEventName$jscomp$inline_1643 ,
12981
+ "on" + capitalizedEvent$jscomp$inline_1644
12980
12982
);
12981
12983
}
12982
12984
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -17004,7 +17006,50 @@ function retryIfBlockedOn(unblocked) {
17004
17006
}
17005
17007
}
17006
17008
function defaultOnDefaultTransitionIndicator() {
17007
- return function () {};
17009
+ function handleNavigate(event) {
17010
+ event.canIntercept &&
17011
+ "react-transition" === event.info &&
17012
+ event.intercept({
17013
+ handler: function () {
17014
+ return new Promise(function (resolve) {
17015
+ return (pendingResolve = resolve);
17016
+ });
17017
+ },
17018
+ focusReset: "manual",
17019
+ scroll: "manual"
17020
+ });
17021
+ }
17022
+ function handleNavigateComplete() {
17023
+ null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
17024
+ isCancelled || startFakeNavigation();
17025
+ }
17026
+ function startFakeNavigation() {
17027
+ if (!isCancelled && !navigation.transition) {
17028
+ var currentEntry = navigation.currentEntry;
17029
+ currentEntry &&
17030
+ null != currentEntry.url &&
17031
+ navigation.navigate(currentEntry.url, {
17032
+ state: currentEntry.getState(),
17033
+ info: "react-transition",
17034
+ history: "replace"
17035
+ });
17036
+ }
17037
+ }
17038
+ if ("object" === typeof navigation) {
17039
+ var isCancelled = !1,
17040
+ pendingResolve = null;
17041
+ navigation.addEventListener("navigate", handleNavigate);
17042
+ navigation.addEventListener("navigatesuccess", handleNavigateComplete);
17043
+ navigation.addEventListener("navigateerror", handleNavigateComplete);
17044
+ setTimeout(startFakeNavigation, 100);
17045
+ return function () {
17046
+ isCancelled = !0;
17047
+ navigation.removeEventListener("navigate", handleNavigate);
17048
+ navigation.removeEventListener("navigatesuccess", handleNavigateComplete);
17049
+ navigation.removeEventListener("navigateerror", handleNavigateComplete);
17050
+ null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
17051
+ };
17052
+ }
17008
17053
}
17009
17054
function ReactDOMRoot(internalRoot) {
17010
17055
this._internalRoot = internalRoot;
@@ -17047,16 +17092,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
17047
17092
0 === i && attemptExplicitHydrationTarget(target);
17048
17093
}
17049
17094
};
17050
- var isomorphicReactPackageVersion$jscomp$inline_2015 = React.version;
17095
+ var isomorphicReactPackageVersion$jscomp$inline_2017 = React.version;
17051
17096
if (
17052
- "19.2.0-native-fb-997c7bc9 -20250513" !==
17053
- isomorphicReactPackageVersion$jscomp$inline_2015
17097
+ "19.2.0-native-fb-3a5b326d -20250513" !==
17098
+ isomorphicReactPackageVersion$jscomp$inline_2017
17054
17099
)
17055
17100
throw Error(
17056
17101
formatProdErrorMessage(
17057
17102
527,
17058
- isomorphicReactPackageVersion$jscomp$inline_2015 ,
17059
- "19.2.0-native-fb-997c7bc9 -20250513"
17103
+ isomorphicReactPackageVersion$jscomp$inline_2017 ,
17104
+ "19.2.0-native-fb-3a5b326d -20250513"
17060
17105
)
17061
17106
);
17062
17107
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17076,24 +17121,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
17076
17121
null === componentOrElement ? null : componentOrElement.stateNode;
17077
17122
return componentOrElement;
17078
17123
};
17079
- var internals$jscomp$inline_2534 = {
17124
+ var internals$jscomp$inline_2536 = {
17080
17125
bundleType: 0,
17081
- version: "19.2.0-native-fb-997c7bc9 -20250513",
17126
+ version: "19.2.0-native-fb-3a5b326d -20250513",
17082
17127
rendererPackageName: "react-dom",
17083
17128
currentDispatcherRef: ReactSharedInternals,
17084
- reconcilerVersion: "19.2.0-native-fb-997c7bc9 -20250513"
17129
+ reconcilerVersion: "19.2.0-native-fb-3a5b326d -20250513"
17085
17130
};
17086
17131
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
17087
- var hook$jscomp$inline_2535 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
17132
+ var hook$jscomp$inline_2537 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
17088
17133
if (
17089
- !hook$jscomp$inline_2535 .isDisabled &&
17090
- hook$jscomp$inline_2535 .supportsFiber
17134
+ !hook$jscomp$inline_2537 .isDisabled &&
17135
+ hook$jscomp$inline_2537 .supportsFiber
17091
17136
)
17092
17137
try {
17093
- (rendererID = hook$jscomp$inline_2535 .inject(
17094
- internals$jscomp$inline_2534
17138
+ (rendererID = hook$jscomp$inline_2537 .inject(
17139
+ internals$jscomp$inline_2536
17095
17140
)),
17096
- (injectedHook = hook$jscomp$inline_2535 );
17141
+ (injectedHook = hook$jscomp$inline_2537 );
17097
17142
} catch (err) {}
17098
17143
}
17099
17144
exports.createRoot = function (container, options) {
@@ -17179,4 +17224,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
17179
17224
listenToAllSupportedEvents(container);
17180
17225
return new ReactDOMHydrationRoot(initialChildren);
17181
17226
};
17182
- exports.version = "19.2.0-native-fb-997c7bc9 -20250513";
17227
+ exports.version = "19.2.0-native-fb-3a5b326d -20250513";
0 commit comments