@office-iss/react-native-win32 0.66.0 → 0.67.0-preview.2

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.
Files changed (119) hide show
  1. package/.eslintignore +2 -0
  2. package/.flowconfig +1 -1
  3. package/CHANGELOG.json +195 -19
  4. package/CHANGELOG.md +89 -13
  5. package/Libraries/ActionSheetIOS/ActionSheetIOS.js +14 -1
  6. package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +2 -0
  7. package/Libraries/Animated/AnimatedEvent.js +23 -4
  8. package/Libraries/Animated/NativeAnimatedHelper.js +2 -2
  9. package/Libraries/Animated/components/AnimatedImage.js +3 -3
  10. package/Libraries/Animated/components/AnimatedScrollView.js +3 -3
  11. package/Libraries/Animated/components/AnimatedText.js +3 -3
  12. package/Libraries/Animated/components/AnimatedView.js +1 -3
  13. package/Libraries/Animated/createAnimatedComponent.js +3 -34
  14. package/Libraries/Components/Button/ButtonWin32.js +2 -2
  15. package/Libraries/Components/Button/ButtonWin32.js.map +1 -1
  16. package/Libraries/Components/Button.js +3 -0
  17. package/Libraries/Components/DatePicker/DatePickerIOS.ios.js +3 -6
  18. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +4 -7
  19. package/Libraries/Components/EnterString.win32.js +3 -3
  20. package/Libraries/Components/EnterString.win32.js.map +1 -1
  21. package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +1 -0
  22. package/Libraries/Components/ScrollView/ScrollView.js +17 -16
  23. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +268 -252
  24. package/Libraries/Components/Text/Tests/TextWin32Test.d.ts +0 -1
  25. package/Libraries/Components/Text/TextWin32.Props.d.ts +2 -2
  26. package/Libraries/Components/Text/TextWin32.Props.js.map +1 -1
  27. package/Libraries/Components/Text/TextWin32.js +1 -1
  28. package/Libraries/Components/Text/TextWin32.js.map +1 -1
  29. package/Libraries/Components/TextInput/Tests/TextInputTest.d.ts +0 -1
  30. package/Libraries/Components/TextInput/TextInput.win32.js +6 -6
  31. package/Libraries/Components/TextInput/TextInput.win32.js.map +1 -1
  32. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.d.ts +0 -1
  33. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js +1 -1
  34. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -1
  35. package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +2 -2
  36. package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js.map +1 -1
  37. package/Libraries/Components/Touchable/TouchableWin32.js +2 -2
  38. package/Libraries/Components/Touchable/TouchableWin32.js.map +1 -1
  39. package/Libraries/Components/View/ReactNativeViewViewConfig.win32.js +1 -0
  40. package/Libraries/Components/View/Tests/ViewWin32Test.d.ts +0 -1
  41. package/Libraries/Components/View/Tests/ViewWin32Test.js +44 -2
  42. package/Libraries/Components/View/Tests/ViewWin32Test.js.map +1 -1
  43. package/Libraries/Components/View/View.js +1 -1
  44. package/Libraries/Components/View/View.win32.js +1 -1
  45. package/Libraries/Components/View/ViewAccessibility.js +1 -1
  46. package/Libraries/Components/View/ViewWin32.Props.d.ts +4 -6
  47. package/Libraries/Components/View/ViewWin32.Props.js.map +1 -1
  48. package/Libraries/Components/View/ViewWin32.js +5 -5
  49. package/Libraries/Components/View/ViewWin32.js.map +1 -1
  50. package/Libraries/Core/ExceptionsManager.js +45 -80
  51. package/Libraries/Core/ExtendedError.js +0 -1
  52. package/Libraries/Core/ReactNativeVersion.js +2 -2
  53. package/Libraries/Core/setUpBatchedBridge.js +1 -1
  54. package/Libraries/Core/setUpGlobals.js +2 -4
  55. package/Libraries/Core/setUpTimers.js +2 -2
  56. package/Libraries/Image/Image.ios.js +6 -0
  57. package/Libraries/Image/Image.win32.js +6 -0
  58. package/Libraries/Image/ImageBackground.js +10 -8
  59. package/Libraries/Image/ImageProps.js +28 -0
  60. package/Libraries/Image/Tests/ImageWin32Test.d.ts +0 -1
  61. package/Libraries/LogBox/Data/LogBoxData.js +18 -19
  62. package/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png +0 -0
  63. package/Libraries/LogBox/UI/LogBoxImages/chevron-left.png +0 -0
  64. package/Libraries/LogBox/UI/LogBoxImages/chevron-right.png +0 -0
  65. package/Libraries/LogBox/UI/LogBoxImages/close.png +0 -0
  66. package/Libraries/LogBox/UI/LogBoxImages/loader.png +0 -0
  67. package/Libraries/NewAppScreen/components/logo.png +0 -0
  68. package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +2 -1
  69. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +2 -0
  70. package/Libraries/PersonaCoin/PersonaCoin.js +3 -2
  71. package/Libraries/PersonaCoin/PersonaCoin.js.map +1 -1
  72. package/Libraries/Pressability/Pressability.js +13 -13
  73. package/Libraries/Pressability/PressabilityPerformanceEventEmitter.js +1 -1
  74. package/Libraries/ReactNative/AppRegistry.js +4 -2
  75. package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +1569 -875
  76. package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +529 -319
  77. package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +570 -362
  78. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +1592 -891
  79. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +521 -311
  80. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +562 -354
  81. package/Libraries/Share/Share.js +1 -1
  82. package/Libraries/StyleSheet/normalizeColor.js +2 -2
  83. package/Libraries/Text/TextProps.js +1 -7
  84. package/Libraries/TurboModule/TurboModuleRegistry.js +1 -1
  85. package/Libraries/Utilities/HMRClient.js +1 -1
  86. package/flow/global.js +45 -0
  87. package/index.js +15 -10
  88. package/index.win32.js +15 -10
  89. package/jest/mockModal.js +31 -0
  90. package/jest/setup.js +5 -3
  91. package/overrides.json +7 -13
  92. package/package.json +20 -18
  93. package/rntypes/BatchedBridge.d.ts +23 -0
  94. package/rntypes/Devtools.d.ts +20 -0
  95. package/rntypes/LaunchScreen.d.ts +9 -0
  96. package/rntypes/globals.d.ts +496 -0
  97. package/rntypes/index.d.ts +9966 -0
  98. package/rntypes/legacy-properties.d.ts +266 -0
  99. package/src/Libraries/Components/Text/TextWin32.Props.ts +2 -2
  100. package/src/Libraries/Components/View/Tests/ViewWin32Test.tsx +64 -0
  101. package/src/Libraries/Components/View/ViewWin32.Props.ts +7 -12
  102. package/src/rntypes/BatchedBridge.d.ts +23 -0
  103. package/src/rntypes/Devtools.d.ts +20 -0
  104. package/src/rntypes/LaunchScreen.d.ts +9 -0
  105. package/src/rntypes/globals.d.ts +496 -0
  106. package/src/rntypes/index.d.ts +9966 -0
  107. package/src/rntypes/legacy-properties.d.ts +266 -0
  108. package/src/typings-index.ts +11 -4
  109. package/typings-index.d.ts +3 -1
  110. package/typings-index.js +7 -5
  111. package/typings-index.js.map +1 -1
  112. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js +0 -87
  113. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js +0 -30
  114. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.win32.js +0 -30
  115. package/Libraries/Components/DatePickerAndroid/DatePickerAndroidTypes.js +0 -30
  116. package/Libraries/Components/StaticContainer.react.js +0 -51
  117. package/Libraries/Components/Touchable/ensurePositiveDelayProps.js +0 -25
  118. package/Libraries/Interaction/InteractionMixin.js +0 -54
  119. package/Libraries/ReactNative/queryLayoutByID.js +0 -58
@@ -7,7 +7,7 @@
7
7
  * @noflow
8
8
  * @nolint
9
9
  * @preventMunge
10
- * @generated SignedSource<<0c9b6f8df4fa2dc914b10ed49e47e8c7>>
10
+ * @generated SignedSource<<fb4d870eef7bc67bee589431bb9294f7>>
11
11
  */
12
12
 
13
13
  "use strict";
@@ -782,18 +782,16 @@ function recomputePluginOrdering() {
782
782
  for (var pluginName in namesToPlugins) {
783
783
  var pluginModule = namesToPlugins[pluginName],
784
784
  pluginIndex = eventPluginOrder.indexOf(pluginName);
785
- if (!(-1 < pluginIndex))
785
+ if (-1 >= pluginIndex)
786
786
  throw Error(
787
787
  "EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `" +
788
- pluginName +
789
- "`."
788
+ (pluginName + "`.")
790
789
  );
791
790
  if (!plugins[pluginIndex]) {
792
791
  if (!pluginModule.extractEvents)
793
792
  throw Error(
794
793
  "EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `" +
795
- pluginName +
796
- "` does not."
794
+ (pluginName + "` does not.")
797
795
  );
798
796
  plugins[pluginIndex] = pluginModule;
799
797
  pluginIndex = pluginModule.eventTypes;
@@ -804,8 +802,7 @@ function recomputePluginOrdering() {
804
802
  if (eventNameDispatchConfigs.hasOwnProperty(eventName$jscomp$0))
805
803
  throw Error(
806
804
  "EventPluginRegistry: More than one plugin attempted to publish the same event name, `" +
807
- eventName$jscomp$0 +
808
- "`."
805
+ (eventName$jscomp$0 + "`.")
809
806
  );
810
807
  eventNameDispatchConfigs[eventName$jscomp$0] = dispatchConfig;
811
808
  var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;
@@ -845,8 +842,7 @@ function publishRegistrationName(registrationName, pluginModule) {
845
842
  if (registrationNameModules[registrationName])
846
843
  throw Error(
847
844
  "EventPluginRegistry: More than one plugin attempted to publish the same registration name, `" +
848
- registrationName +
849
- "`."
845
+ (registrationName + "`.")
850
846
  );
851
847
  registrationNameModules[registrationName] = pluginModule;
852
848
  }
@@ -930,7 +926,7 @@ eventPluginOrder = Array.prototype.slice.call([
930
926
  "ReactNativeBridgeEventPlugin"
931
927
  ]);
932
928
  recomputePluginOrdering();
933
- var injectedNamesToPlugins$jscomp$inline_232 = {
929
+ var injectedNamesToPlugins$jscomp$inline_230 = {
934
930
  ResponderEventPlugin: ResponderEventPlugin,
935
931
  ReactNativeBridgeEventPlugin: {
936
932
  eventTypes: {},
@@ -965,34 +961,33 @@ var injectedNamesToPlugins$jscomp$inline_232 = {
965
961
  }
966
962
  }
967
963
  },
968
- isOrderingDirty$jscomp$inline_233 = !1,
969
- pluginName$jscomp$inline_234;
970
- for (pluginName$jscomp$inline_234 in injectedNamesToPlugins$jscomp$inline_232)
964
+ isOrderingDirty$jscomp$inline_231 = !1,
965
+ pluginName$jscomp$inline_232;
966
+ for (pluginName$jscomp$inline_232 in injectedNamesToPlugins$jscomp$inline_230)
971
967
  if (
972
- injectedNamesToPlugins$jscomp$inline_232.hasOwnProperty(
973
- pluginName$jscomp$inline_234
968
+ injectedNamesToPlugins$jscomp$inline_230.hasOwnProperty(
969
+ pluginName$jscomp$inline_232
974
970
  )
975
971
  ) {
976
- var pluginModule$jscomp$inline_235 =
977
- injectedNamesToPlugins$jscomp$inline_232[pluginName$jscomp$inline_234];
972
+ var pluginModule$jscomp$inline_233 =
973
+ injectedNamesToPlugins$jscomp$inline_230[pluginName$jscomp$inline_232];
978
974
  if (
979
- !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_234) ||
980
- namesToPlugins[pluginName$jscomp$inline_234] !==
981
- pluginModule$jscomp$inline_235
975
+ !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_232) ||
976
+ namesToPlugins[pluginName$jscomp$inline_232] !==
977
+ pluginModule$jscomp$inline_233
982
978
  ) {
983
- if (namesToPlugins[pluginName$jscomp$inline_234])
979
+ if (namesToPlugins[pluginName$jscomp$inline_232])
984
980
  throw Error(
985
981
  "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
986
- pluginName$jscomp$inline_234 +
987
- "`."
982
+ (pluginName$jscomp$inline_232 + "`.")
988
983
  );
989
984
  namesToPlugins[
990
- pluginName$jscomp$inline_234
991
- ] = pluginModule$jscomp$inline_235;
992
- isOrderingDirty$jscomp$inline_233 = !0;
985
+ pluginName$jscomp$inline_232
986
+ ] = pluginModule$jscomp$inline_233;
987
+ isOrderingDirty$jscomp$inline_231 = !0;
993
988
  }
994
989
  }
995
- isOrderingDirty$jscomp$inline_233 && recomputePluginOrdering();
990
+ isOrderingDirty$jscomp$inline_231 && recomputePluginOrdering();
996
991
  var instanceCache = new Map(),
997
992
  instanceProps = new Map();
998
993
  function getInstanceFromTag(tag) {
@@ -1293,7 +1288,7 @@ function getNearestMountedFiber(fiber) {
1293
1288
  fiber = node;
1294
1289
  do
1295
1290
  (node = fiber),
1296
- 0 !== (node.flags & 2050) && (nearestMounted = node.return),
1291
+ 0 !== (node.flags & 4098) && (nearestMounted = node.return),
1297
1292
  (fiber = node.return);
1298
1293
  while (fiber);
1299
1294
  }
@@ -1859,6 +1854,9 @@ function getLanesToRetrySynchronouslyOnError(root) {
1859
1854
  root = root.pendingLanes & -1073741825;
1860
1855
  return 0 !== root ? root : root & 1073741824 ? 1073741824 : 0;
1861
1856
  }
1857
+ function includesBlockingLane(root, lanes) {
1858
+ return 0 !== (root.current.mode & 32) ? !1 : 0 !== (lanes & 30);
1859
+ }
1862
1860
  function createLaneMap(initial) {
1863
1861
  for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);
1864
1862
  return laneMap;
@@ -2092,7 +2090,11 @@ function invalidateContextProvider(workInProgress, type, didChange) {
2092
2090
  : pop(didPerformWorkStackCursor);
2093
2091
  push(didPerformWorkStackCursor, didChange);
2094
2092
  }
2095
- var syncQueue = null,
2093
+ function is(x, y) {
2094
+ return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
2095
+ }
2096
+ var objectIs = "function" === typeof Object.is ? Object.is : is,
2097
+ syncQueue = null,
2096
2098
  includesLegacySyncCallbacks = !1,
2097
2099
  isFlushingSyncQueue = !1;
2098
2100
  function flushSyncCallbacks() {
@@ -2121,10 +2123,6 @@ function flushSyncCallbacks() {
2121
2123
  return null;
2122
2124
  }
2123
2125
  var ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;
2124
- function is(x, y) {
2125
- return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
2126
- }
2127
- var objectIs = "function" === typeof Object.is ? Object.is : is;
2128
2126
  function shallowEqual(objA, objB) {
2129
2127
  if (objectIs(objA, objB)) return !0;
2130
2128
  if (
@@ -2421,7 +2419,7 @@ function processUpdateQueue(
2421
2419
  newState = workInProgress;
2422
2420
  break a;
2423
2421
  case 3:
2424
- workInProgress.flags = (workInProgress.flags & -16385) | 128;
2422
+ workInProgress.flags = (workInProgress.flags & -65537) | 128;
2425
2423
  case 0:
2426
2424
  workInProgress = update.payload;
2427
2425
  updateLane =
@@ -2674,7 +2672,8 @@ function coerceRef(returnFiber, current, element) {
2674
2672
  returnFiber +
2675
2673
  ". This error is likely caused by a bug in React. Please file an issue."
2676
2674
  );
2677
- var stringRef = "" + returnFiber;
2675
+ var resolvedInst = inst,
2676
+ stringRef = "" + returnFiber;
2678
2677
  if (
2679
2678
  null !== current &&
2680
2679
  null !== current.ref &&
@@ -2683,8 +2682,8 @@ function coerceRef(returnFiber, current, element) {
2683
2682
  )
2684
2683
  return current.ref;
2685
2684
  current = function(value) {
2686
- var refs = inst.refs;
2687
- refs === emptyRefsObject && (refs = inst.refs = {});
2685
+ var refs = resolvedInst.refs;
2686
+ refs === emptyRefsObject && (refs = resolvedInst.refs = {});
2688
2687
  null === value ? delete refs[stringRef] : (refs[stringRef] = value);
2689
2688
  };
2690
2689
  current._stringRef = stringRef;
@@ -3383,7 +3382,7 @@ function renderWithHooks(
3383
3382
  nextRenderLanes = 0;
3384
3383
  do {
3385
3384
  didScheduleRenderPhaseUpdateDuringThisPass = !1;
3386
- if (!(25 > nextRenderLanes))
3385
+ if (25 <= nextRenderLanes)
3387
3386
  throw Error(
3388
3387
  "Too many re-renders. React limits the number of renders to prevent an infinite loop."
3389
3388
  );
@@ -3484,19 +3483,18 @@ function updateReducer(reducer) {
3484
3483
  (newBaseQueueLast = newBaseQueueLast.next = {
3485
3484
  lane: 0,
3486
3485
  action: update.action,
3487
- eagerReducer: update.eagerReducer,
3486
+ hasEagerState: update.hasEagerState,
3488
3487
  eagerState: update.eagerState,
3489
3488
  next: null
3490
3489
  }),
3491
- (current =
3492
- update.eagerReducer === reducer
3493
- ? update.eagerState
3494
- : reducer(current, update.action));
3490
+ (current = update.hasEagerState
3491
+ ? update.eagerState
3492
+ : reducer(current, update.action));
3495
3493
  else {
3496
3494
  var clone = {
3497
3495
  lane: updateLane,
3498
3496
  action: update.action,
3499
- eagerReducer: update.eagerReducer,
3497
+ hasEagerState: update.hasEagerState,
3500
3498
  eagerState: update.eagerState,
3501
3499
  next: null
3502
3500
  };
@@ -3636,7 +3634,7 @@ function useMutableSource(hook, source, getSnapshot, subscribe) {
3636
3634
  lastRenderedReducer: basicStateReducer,
3637
3635
  lastRenderedState: snapshot
3638
3636
  }),
3639
- (hook.dispatch = setSnapshot = dispatchAction.bind(
3637
+ (hook.dispatch = setSnapshot = dispatchSetState.bind(
3640
3638
  null,
3641
3639
  currentlyRenderingFiber$1,
3642
3640
  hook
@@ -3651,11 +3649,68 @@ function updateMutableSource(source, getSnapshot, subscribe) {
3651
3649
  var hook = updateWorkInProgressHook();
3652
3650
  return useMutableSource(hook, source, getSnapshot, subscribe);
3653
3651
  }
3652
+ function mountSyncExternalStore(subscribe, getSnapshot) {
3653
+ var fiber = currentlyRenderingFiber$1,
3654
+ hook = mountWorkInProgressHook();
3655
+ var nextSnapshot = getSnapshot();
3656
+ var root = workInProgressRoot;
3657
+ if (null === root)
3658
+ throw Error(
3659
+ "Expected a work-in-progress root. This is a bug in React. Please file an issue."
3660
+ );
3661
+ includesBlockingLane(root, renderLanes) ||
3662
+ pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
3663
+ hook.memoizedState = nextSnapshot;
3664
+ root = { value: nextSnapshot, getSnapshot: getSnapshot };
3665
+ hook.queue = root;
3666
+ mountEffect(subscribeToStore.bind(null, fiber, root, subscribe), [subscribe]);
3667
+ fiber.flags |= 2048;
3668
+ pushEffect(
3669
+ 9,
3670
+ updateStoreInstance.bind(null, fiber, root, nextSnapshot, getSnapshot),
3671
+ void 0,
3672
+ null
3673
+ );
3674
+ return nextSnapshot;
3675
+ }
3676
+ function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {
3677
+ fiber.flags |= 16384;
3678
+ fiber = { getSnapshot: getSnapshot, value: renderedSnapshot };
3679
+ getSnapshot = currentlyRenderingFiber$1.updateQueue;
3680
+ null === getSnapshot
3681
+ ? ((getSnapshot = { lastEffect: null, stores: null }),
3682
+ (currentlyRenderingFiber$1.updateQueue = getSnapshot),
3683
+ (getSnapshot.stores = [fiber]))
3684
+ : ((renderedSnapshot = getSnapshot.stores),
3685
+ null === renderedSnapshot
3686
+ ? (getSnapshot.stores = [fiber])
3687
+ : renderedSnapshot.push(fiber));
3688
+ }
3689
+ function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {
3690
+ inst.value = nextSnapshot;
3691
+ inst.getSnapshot = getSnapshot;
3692
+ checkIfSnapshotChanged(inst) && scheduleUpdateOnFiber(fiber, 1, -1);
3693
+ }
3694
+ function subscribeToStore(fiber, inst, subscribe) {
3695
+ return subscribe(function() {
3696
+ checkIfSnapshotChanged(inst) && scheduleUpdateOnFiber(fiber, 1, -1);
3697
+ });
3698
+ }
3699
+ function checkIfSnapshotChanged(inst) {
3700
+ var latestGetSnapshot = inst.getSnapshot;
3701
+ inst = inst.value;
3702
+ try {
3703
+ var nextValue = latestGetSnapshot();
3704
+ return !objectIs(inst, nextValue);
3705
+ } catch (error) {
3706
+ return !0;
3707
+ }
3708
+ }
3654
3709
  function mountState(initialState) {
3655
3710
  var hook = mountWorkInProgressHook();
3656
3711
  "function" === typeof initialState && (initialState = initialState());
3657
3712
  hook.memoizedState = hook.baseState = initialState;
3658
- initialState = hook.queue = {
3713
+ initialState = {
3659
3714
  pending: null,
3660
3715
  interleaved: null,
3661
3716
  lanes: 0,
@@ -3663,7 +3718,8 @@ function mountState(initialState) {
3663
3718
  lastRenderedReducer: basicStateReducer,
3664
3719
  lastRenderedState: initialState
3665
3720
  };
3666
- initialState = initialState.dispatch = dispatchAction.bind(
3721
+ hook.queue = initialState;
3722
+ initialState = initialState.dispatch = dispatchSetState.bind(
3667
3723
  null,
3668
3724
  currentlyRenderingFiber$1,
3669
3725
  initialState
@@ -3674,7 +3730,7 @@ function pushEffect(tag, create, destroy, deps) {
3674
3730
  tag = { tag: tag, create: create, destroy: destroy, deps: deps, next: null };
3675
3731
  create = currentlyRenderingFiber$1.updateQueue;
3676
3732
  null === create
3677
- ? ((create = { lastEffect: null }),
3733
+ ? ((create = { lastEffect: null, stores: null }),
3678
3734
  (currentlyRenderingFiber$1.updateQueue = create),
3679
3735
  (create.lastEffect = tag.next = tag))
3680
3736
  : ((destroy = create.lastEffect),
@@ -3715,14 +3771,17 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
3715
3771
  hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps);
3716
3772
  }
3717
3773
  function mountEffect(create, deps) {
3718
- return mountEffectImpl(1049600, 4, create, deps);
3774
+ return mountEffectImpl(4196352, 8, create, deps);
3719
3775
  }
3720
3776
  function updateEffect(create, deps) {
3721
- return updateEffectImpl(1024, 4, create, deps);
3777
+ return updateEffectImpl(2048, 8, create, deps);
3722
3778
  }
3723
- function updateLayoutEffect(create, deps) {
3779
+ function updateInsertionEffect(create, deps) {
3724
3780
  return updateEffectImpl(4, 2, create, deps);
3725
3781
  }
3782
+ function updateLayoutEffect(create, deps) {
3783
+ return updateEffectImpl(4, 4, create, deps);
3784
+ }
3726
3785
  function imperativeHandleEffect(create, ref) {
3727
3786
  if ("function" === typeof ref)
3728
3787
  return (
@@ -3745,7 +3804,7 @@ function updateImperativeHandle(ref, create, deps) {
3745
3804
  deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;
3746
3805
  return updateEffectImpl(
3747
3806
  4,
3748
- 2,
3807
+ 4,
3749
3808
  imperativeHandleEffect.bind(null, create, ref),
3750
3809
  deps
3751
3810
  );
@@ -3792,47 +3851,35 @@ function startTransition(setPending, callback) {
3792
3851
  (ReactCurrentBatchConfig$1.transition = prevTransition);
3793
3852
  }
3794
3853
  }
3795
- function dispatchAction(fiber, queue, action) {
3796
- var eventTime = requestEventTime(),
3797
- lane = requestUpdateLane(fiber),
3854
+ function dispatchReducerAction(fiber, queue, action) {
3855
+ var lane = requestUpdateLane(fiber);
3856
+ action = {
3857
+ lane: lane,
3858
+ action: action,
3859
+ hasEagerState: !1,
3860
+ eagerState: null,
3861
+ next: null
3862
+ };
3863
+ isRenderPhaseUpdate(fiber)
3864
+ ? enqueueRenderPhaseUpdate(queue, action)
3865
+ : (enqueueUpdate$1(fiber, queue, action),
3866
+ (action = requestEventTime()),
3867
+ (fiber = scheduleUpdateOnFiber(fiber, lane, action)),
3868
+ null !== fiber && entangleTransitionUpdate(fiber, queue, lane));
3869
+ }
3870
+ function dispatchSetState(fiber, queue, action) {
3871
+ var lane = requestUpdateLane(fiber),
3798
3872
  update = {
3799
3873
  lane: lane,
3800
3874
  action: action,
3801
- eagerReducer: null,
3875
+ hasEagerState: !1,
3802
3876
  eagerState: null,
3803
3877
  next: null
3804
- },
3805
- alternate = fiber.alternate;
3806
- if (
3807
- fiber === currentlyRenderingFiber$1 ||
3808
- (null !== alternate && alternate === currentlyRenderingFiber$1)
3809
- )
3810
- (didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0),
3811
- (lane = queue.pending),
3812
- null === lane
3813
- ? (update.next = update)
3814
- : ((update.next = lane.next), (lane.next = update)),
3815
- (queue.pending = update);
3878
+ };
3879
+ if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);
3816
3880
  else {
3817
- if (
3818
- null !== workInProgressRoot &&
3819
- 0 !== (fiber.mode & 1) &&
3820
- 0 === (executionContext & 2)
3821
- ) {
3822
- var interleaved = queue.interleaved;
3823
- null === interleaved
3824
- ? ((update.next = update),
3825
- null === interleavedQueues
3826
- ? (interleavedQueues = [queue])
3827
- : interleavedQueues.push(queue))
3828
- : ((update.next = interleaved.next), (interleaved.next = update));
3829
- queue.interleaved = update;
3830
- } else
3831
- (interleaved = queue.pending),
3832
- null === interleaved
3833
- ? (update.next = update)
3834
- : ((update.next = interleaved.next), (interleaved.next = update)),
3835
- (queue.pending = update);
3881
+ enqueueUpdate$1(fiber, queue, update);
3882
+ var alternate = fiber.alternate;
3836
3883
  if (
3837
3884
  0 === fiber.lanes &&
3838
3885
  (null === alternate || 0 === alternate.lanes) &&
@@ -3841,20 +3888,57 @@ function dispatchAction(fiber, queue, action) {
3841
3888
  try {
3842
3889
  var currentState = queue.lastRenderedState,
3843
3890
  eagerState = alternate(currentState, action);
3844
- update.eagerReducer = alternate;
3891
+ update.hasEagerState = !0;
3845
3892
  update.eagerState = eagerState;
3846
3893
  if (objectIs(eagerState, currentState)) return;
3847
3894
  } catch (error) {
3848
3895
  } finally {
3849
3896
  }
3850
- update = scheduleUpdateOnFiber(fiber, lane, eventTime);
3851
- 0 !== (lane & 4194240) &&
3852
- null !== update &&
3853
- ((fiber = queue.lanes),
3854
- (fiber &= update.pendingLanes),
3855
- (lane |= fiber),
3856
- (queue.lanes = lane),
3857
- markRootEntangled(update, lane));
3897
+ action = requestEventTime();
3898
+ fiber = scheduleUpdateOnFiber(fiber, lane, action);
3899
+ null !== fiber && entangleTransitionUpdate(fiber, queue, lane);
3900
+ }
3901
+ }
3902
+ function isRenderPhaseUpdate(fiber) {
3903
+ var alternate = fiber.alternate;
3904
+ return (
3905
+ fiber === currentlyRenderingFiber$1 ||
3906
+ (null !== alternate && alternate === currentlyRenderingFiber$1)
3907
+ );
3908
+ }
3909
+ function enqueueRenderPhaseUpdate(queue, update) {
3910
+ didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0;
3911
+ var pending = queue.pending;
3912
+ null === pending
3913
+ ? (update.next = update)
3914
+ : ((update.next = pending.next), (pending.next = update));
3915
+ queue.pending = update;
3916
+ }
3917
+ function enqueueUpdate$1(fiber, queue, update) {
3918
+ null !== workInProgressRoot &&
3919
+ 0 !== (fiber.mode & 1) &&
3920
+ 0 === (executionContext & 2)
3921
+ ? ((fiber = queue.interleaved),
3922
+ null === fiber
3923
+ ? ((update.next = update),
3924
+ null === interleavedQueues
3925
+ ? (interleavedQueues = [queue])
3926
+ : interleavedQueues.push(queue))
3927
+ : ((update.next = fiber.next), (fiber.next = update)),
3928
+ (queue.interleaved = update))
3929
+ : ((fiber = queue.pending),
3930
+ null === fiber
3931
+ ? (update.next = update)
3932
+ : ((update.next = fiber.next), (fiber.next = update)),
3933
+ (queue.pending = update));
3934
+ }
3935
+ function entangleTransitionUpdate(root, queue, lane) {
3936
+ if (0 !== (lane & 4194240)) {
3937
+ var queueLanes = queue.lanes;
3938
+ queueLanes &= root.pendingLanes;
3939
+ lane |= queueLanes;
3940
+ queue.lanes = lane;
3941
+ markRootEntangled(root, lane);
3858
3942
  }
3859
3943
  }
3860
3944
  var ContextOnlyDispatcher = {
@@ -3863,6 +3947,7 @@ var ContextOnlyDispatcher = {
3863
3947
  useContext: throwInvalidHookError,
3864
3948
  useEffect: throwInvalidHookError,
3865
3949
  useImperativeHandle: throwInvalidHookError,
3950
+ useInsertionEffect: throwInvalidHookError,
3866
3951
  useLayoutEffect: throwInvalidHookError,
3867
3952
  useMemo: throwInvalidHookError,
3868
3953
  useReducer: throwInvalidHookError,
@@ -3872,6 +3957,7 @@ var ContextOnlyDispatcher = {
3872
3957
  useDeferredValue: throwInvalidHookError,
3873
3958
  useTransition: throwInvalidHookError,
3874
3959
  useMutableSource: throwInvalidHookError,
3960
+ useSyncExternalStore: throwInvalidHookError,
3875
3961
  useOpaqueIdentifier: throwInvalidHookError,
3876
3962
  unstable_isNewReconciler: !1
3877
3963
  },
@@ -3890,12 +3976,15 @@ var ContextOnlyDispatcher = {
3890
3976
  deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;
3891
3977
  return mountEffectImpl(
3892
3978
  4,
3893
- 2,
3979
+ 4,
3894
3980
  imperativeHandleEffect.bind(null, create, ref),
3895
3981
  deps
3896
3982
  );
3897
3983
  },
3898
3984
  useLayoutEffect: function(create, deps) {
3985
+ return mountEffectImpl(4, 4, create, deps);
3986
+ },
3987
+ useInsertionEffect: function(create, deps) {
3899
3988
  return mountEffectImpl(4, 2, create, deps);
3900
3989
  },
3901
3990
  useMemo: function(nextCreate, deps) {
@@ -3909,7 +3998,7 @@ var ContextOnlyDispatcher = {
3909
3998
  var hook = mountWorkInProgressHook();
3910
3999
  initialArg = void 0 !== init ? init(initialArg) : initialArg;
3911
4000
  hook.memoizedState = hook.baseState = initialArg;
3912
- reducer = hook.queue = {
4001
+ reducer = {
3913
4002
  pending: null,
3914
4003
  interleaved: null,
3915
4004
  lanes: 0,
@@ -3917,7 +4006,8 @@ var ContextOnlyDispatcher = {
3917
4006
  lastRenderedReducer: reducer,
3918
4007
  lastRenderedState: initialArg
3919
4008
  };
3920
- reducer = reducer.dispatch = dispatchAction.bind(
4009
+ hook.queue = reducer;
4010
+ reducer = reducer.dispatch = dispatchReducerAction.bind(
3921
4011
  null,
3922
4012
  currentlyRenderingFiber$1,
3923
4013
  reducer
@@ -3965,6 +4055,7 @@ var ContextOnlyDispatcher = {
3965
4055
  };
3966
4056
  return useMutableSource(hook, source, getSnapshot, subscribe);
3967
4057
  },
4058
+ useSyncExternalStore: mountSyncExternalStore,
3968
4059
  useOpaqueIdentifier: function() {
3969
4060
  throw Error("Not yet implemented");
3970
4061
  },
@@ -3976,6 +4067,7 @@ var ContextOnlyDispatcher = {
3976
4067
  useContext: readContext,
3977
4068
  useEffect: updateEffect,
3978
4069
  useImperativeHandle: updateImperativeHandle,
4070
+ useInsertionEffect: updateInsertionEffect,
3979
4071
  useLayoutEffect: updateLayoutEffect,
3980
4072
  useMemo: updateMemo,
3981
4073
  useReducer: updateReducer,
@@ -4008,6 +4100,46 @@ var ContextOnlyDispatcher = {
4008
4100
  return [isPending, start];
4009
4101
  },
4010
4102
  useMutableSource: updateMutableSource,
4103
+ useSyncExternalStore: function(subscribe, getSnapshot) {
4104
+ var fiber = currentlyRenderingFiber$1,
4105
+ hook = updateWorkInProgressHook(),
4106
+ nextSnapshot = getSnapshot(),
4107
+ snapshotChanged = !objectIs(hook.memoizedState, nextSnapshot);
4108
+ snapshotChanged &&
4109
+ ((hook.memoizedState = nextSnapshot), (didReceiveUpdate = !0));
4110
+ hook = hook.queue;
4111
+ updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [
4112
+ subscribe
4113
+ ]);
4114
+ if (
4115
+ hook.getSnapshot !== getSnapshot ||
4116
+ snapshotChanged ||
4117
+ (null !== workInProgressHook &&
4118
+ workInProgressHook.memoizedState.tag & 1)
4119
+ ) {
4120
+ fiber.flags |= 2048;
4121
+ pushEffect(
4122
+ 9,
4123
+ updateStoreInstance.bind(
4124
+ null,
4125
+ fiber,
4126
+ hook,
4127
+ nextSnapshot,
4128
+ getSnapshot
4129
+ ),
4130
+ void 0,
4131
+ null
4132
+ );
4133
+ subscribe = workInProgressRoot;
4134
+ if (null === subscribe)
4135
+ throw Error(
4136
+ "Expected a work-in-progress root. This is a bug in React. Please file an issue."
4137
+ );
4138
+ includesBlockingLane(subscribe, renderLanes) ||
4139
+ pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);
4140
+ }
4141
+ return nextSnapshot;
4142
+ },
4011
4143
  useOpaqueIdentifier: function() {
4012
4144
  return updateReducer(basicStateReducer)[0];
4013
4145
  },
@@ -4019,6 +4151,7 @@ var ContextOnlyDispatcher = {
4019
4151
  useContext: readContext,
4020
4152
  useEffect: updateEffect,
4021
4153
  useImperativeHandle: updateImperativeHandle,
4154
+ useInsertionEffect: updateInsertionEffect,
4022
4155
  useLayoutEffect: updateLayoutEffect,
4023
4156
  useMemo: updateMemo,
4024
4157
  useReducer: rerenderReducer,
@@ -4051,6 +4184,7 @@ var ContextOnlyDispatcher = {
4051
4184
  return [isPending, start];
4052
4185
  },
4053
4186
  useMutableSource: updateMutableSource,
4187
+ useSyncExternalStore: mountSyncExternalStore,
4054
4188
  useOpaqueIdentifier: function() {
4055
4189
  return rerenderReducer(basicStateReducer)[0];
4056
4190
  },
@@ -4226,14 +4360,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
4226
4360
  break;
4227
4361
  case "collapsed":
4228
4362
  lastTailNode = renderState.tail;
4229
- for (var lastTailNode$40 = null; null !== lastTailNode; )
4230
- null !== lastTailNode.alternate && (lastTailNode$40 = lastTailNode),
4363
+ for (var lastTailNode$37 = null; null !== lastTailNode; )
4364
+ null !== lastTailNode.alternate && (lastTailNode$37 = lastTailNode),
4231
4365
  (lastTailNode = lastTailNode.sibling);
4232
- null === lastTailNode$40
4366
+ null === lastTailNode$37
4233
4367
  ? hasRenderedATailFallback || null === renderState.tail
4234
4368
  ? (renderState.tail = null)
4235
4369
  : (renderState.tail.sibling = null)
4236
- : (lastTailNode$40.sibling = null);
4370
+ : (lastTailNode$37.sibling = null);
4237
4371
  }
4238
4372
  }
4239
4373
  function bubbleProperties(completedWork) {
@@ -4245,53 +4379,53 @@ function bubbleProperties(completedWork) {
4245
4379
  if (didBailout)
4246
4380
  if (0 !== (completedWork.mode & 2)) {
4247
4381
  for (
4248
- var treeBaseDuration$42 = completedWork.selfBaseDuration,
4249
- child$43 = completedWork.child;
4250
- null !== child$43;
4382
+ var treeBaseDuration$39 = completedWork.selfBaseDuration,
4383
+ child$40 = completedWork.child;
4384
+ null !== child$40;
4251
4385
 
4252
4386
  )
4253
- (newChildLanes |= child$43.lanes | child$43.childLanes),
4254
- (subtreeFlags |= child$43.subtreeFlags & 1835008),
4255
- (subtreeFlags |= child$43.flags & 1835008),
4256
- (treeBaseDuration$42 += child$43.treeBaseDuration),
4257
- (child$43 = child$43.sibling);
4258
- completedWork.treeBaseDuration = treeBaseDuration$42;
4387
+ (newChildLanes |= child$40.lanes | child$40.childLanes),
4388
+ (subtreeFlags |= child$40.subtreeFlags & 7340032),
4389
+ (subtreeFlags |= child$40.flags & 7340032),
4390
+ (treeBaseDuration$39 += child$40.treeBaseDuration),
4391
+ (child$40 = child$40.sibling);
4392
+ completedWork.treeBaseDuration = treeBaseDuration$39;
4259
4393
  } else
4260
4394
  for (
4261
- treeBaseDuration$42 = completedWork.child;
4262
- null !== treeBaseDuration$42;
4395
+ treeBaseDuration$39 = completedWork.child;
4396
+ null !== treeBaseDuration$39;
4263
4397
 
4264
4398
  )
4265
4399
  (newChildLanes |=
4266
- treeBaseDuration$42.lanes | treeBaseDuration$42.childLanes),
4267
- (subtreeFlags |= treeBaseDuration$42.subtreeFlags & 1835008),
4268
- (subtreeFlags |= treeBaseDuration$42.flags & 1835008),
4269
- (treeBaseDuration$42.return = completedWork),
4270
- (treeBaseDuration$42 = treeBaseDuration$42.sibling);
4400
+ treeBaseDuration$39.lanes | treeBaseDuration$39.childLanes),
4401
+ (subtreeFlags |= treeBaseDuration$39.subtreeFlags & 7340032),
4402
+ (subtreeFlags |= treeBaseDuration$39.flags & 7340032),
4403
+ (treeBaseDuration$39.return = completedWork),
4404
+ (treeBaseDuration$39 = treeBaseDuration$39.sibling);
4271
4405
  else if (0 !== (completedWork.mode & 2)) {
4272
- treeBaseDuration$42 = completedWork.actualDuration;
4273
- child$43 = completedWork.selfBaseDuration;
4406
+ treeBaseDuration$39 = completedWork.actualDuration;
4407
+ child$40 = completedWork.selfBaseDuration;
4274
4408
  for (var child = completedWork.child; null !== child; )
4275
4409
  (newChildLanes |= child.lanes | child.childLanes),
4276
4410
  (subtreeFlags |= child.subtreeFlags),
4277
4411
  (subtreeFlags |= child.flags),
4278
- (treeBaseDuration$42 += child.actualDuration),
4279
- (child$43 += child.treeBaseDuration),
4412
+ (treeBaseDuration$39 += child.actualDuration),
4413
+ (child$40 += child.treeBaseDuration),
4280
4414
  (child = child.sibling);
4281
- completedWork.actualDuration = treeBaseDuration$42;
4282
- completedWork.treeBaseDuration = child$43;
4415
+ completedWork.actualDuration = treeBaseDuration$39;
4416
+ completedWork.treeBaseDuration = child$40;
4283
4417
  } else
4284
4418
  for (
4285
- treeBaseDuration$42 = completedWork.child;
4286
- null !== treeBaseDuration$42;
4419
+ treeBaseDuration$39 = completedWork.child;
4420
+ null !== treeBaseDuration$39;
4287
4421
 
4288
4422
  )
4289
4423
  (newChildLanes |=
4290
- treeBaseDuration$42.lanes | treeBaseDuration$42.childLanes),
4291
- (subtreeFlags |= treeBaseDuration$42.subtreeFlags),
4292
- (subtreeFlags |= treeBaseDuration$42.flags),
4293
- (treeBaseDuration$42.return = completedWork),
4294
- (treeBaseDuration$42 = treeBaseDuration$42.sibling);
4424
+ treeBaseDuration$39.lanes | treeBaseDuration$39.childLanes),
4425
+ (subtreeFlags |= treeBaseDuration$39.subtreeFlags),
4426
+ (subtreeFlags |= treeBaseDuration$39.flags),
4427
+ (treeBaseDuration$39.return = completedWork),
4428
+ (treeBaseDuration$39 = treeBaseDuration$39.sibling);
4295
4429
  completedWork.subtreeFlags |= subtreeFlags;
4296
4430
  completedWork.childLanes = newChildLanes;
4297
4431
  return didBailout;
@@ -4327,8 +4461,8 @@ function completeWork(current, workInProgress, renderLanes) {
4327
4461
  ((newProps.context = newProps.pendingContext),
4328
4462
  (newProps.pendingContext = null)),
4329
4463
  (null !== current && null !== current.child) ||
4330
- newProps.hydrate ||
4331
- (workInProgress.flags |= 512),
4464
+ newProps.isDehydrated ||
4465
+ (workInProgress.flags |= 1024),
4332
4466
  updateHostContainer(current, workInProgress),
4333
4467
  bubbleProperties(workInProgress),
4334
4468
  null
@@ -4345,7 +4479,7 @@ function completeWork(current, workInProgress, renderLanes) {
4345
4479
  newProps,
4346
4480
  renderLanes
4347
4481
  ),
4348
- current.ref !== workInProgress.ref && (workInProgress.flags |= 256);
4482
+ current.ref !== workInProgress.ref && (workInProgress.flags |= 512);
4349
4483
  else {
4350
4484
  if (!newProps) {
4351
4485
  if (null === workInProgress.stateNode)
@@ -4380,7 +4514,7 @@ function completeWork(current, workInProgress, renderLanes) {
4380
4514
  appendAllChildren(renderLanes, workInProgress, !1, !1);
4381
4515
  workInProgress.stateNode = renderLanes;
4382
4516
  finalizeInitialChildren(renderLanes) && (workInProgress.flags |= 4);
4383
- null !== workInProgress.ref && (workInProgress.flags |= 256);
4517
+ null !== workInProgress.ref && (workInProgress.flags |= 512);
4384
4518
  }
4385
4519
  bubbleProperties(workInProgress);
4386
4520
  return null;
@@ -4430,7 +4564,7 @@ function completeWork(current, workInProgress, renderLanes) {
4430
4564
  if (
4431
4565
  newProps &&
4432
4566
  !renderLanes &&
4433
- ((workInProgress.child.flags |= 4096), 0 !== (workInProgress.mode & 1))
4567
+ ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1))
4434
4568
  )
4435
4569
  if (
4436
4570
  (null === current &&
@@ -4442,7 +4576,8 @@ function completeWork(current, workInProgress, renderLanes) {
4442
4576
  else {
4443
4577
  if (
4444
4578
  0 === workInProgressRootExitStatus ||
4445
- 3 === workInProgressRootExitStatus
4579
+ 3 === workInProgressRootExitStatus ||
4580
+ 2 === workInProgressRootExitStatus
4446
4581
  )
4447
4582
  workInProgressRootExitStatus = 4;
4448
4583
  null === workInProgressRoot ||
@@ -4507,7 +4642,7 @@ function completeWork(current, workInProgress, renderLanes) {
4507
4642
  for (newProps = workInProgress.child; null !== newProps; )
4508
4643
  (renderLanes = newProps),
4509
4644
  (updatePayload = current),
4510
- (renderLanes.flags &= 1835010),
4645
+ (renderLanes.flags &= 7340034),
4511
4646
  (type = renderLanes.alternate),
4512
4647
  null === type
4513
4648
  ? ((renderLanes.childLanes = 0),
@@ -4613,14 +4748,14 @@ function completeWork(current, workInProgress, renderLanes) {
4613
4748
  (null !== current.memoizedState) !== renderLanes &&
4614
4749
  "unstable-defer-without-hiding" !== newProps.mode &&
4615
4750
  23 !== workInProgress.tag &&
4616
- (workInProgress.flags |= 4096),
4751
+ (workInProgress.flags |= 8192),
4617
4752
  renderLanes && 0 !== (workInProgress.mode & 1)
4618
4753
  ? 0 !== (subtreeRenderLanes & 1073741824) &&
4619
4754
  (bubbleProperties(workInProgress),
4620
4755
  23 !== workInProgress.tag &&
4621
4756
  workInProgress.subtreeFlags & 6 &&
4622
4757
  "unstable-defer-without-hiding" !== newProps.mode &&
4623
- (workInProgress.flags |= 4096))
4758
+ (workInProgress.flags |= 8192))
4624
4759
  : bubbleProperties(workInProgress),
4625
4760
  null
4626
4761
  );
@@ -4665,7 +4800,7 @@ function updateForwardRef(
4665
4800
  if (null !== current && !didReceiveUpdate)
4666
4801
  return (
4667
4802
  (workInProgress.updateQueue = current.updateQueue),
4668
- (workInProgress.flags &= -1029),
4803
+ (workInProgress.flags &= -2053),
4669
4804
  (current.lanes &= ~renderLanes),
4670
4805
  bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)
4671
4806
  );
@@ -4739,7 +4874,7 @@ function updateSimpleMemoComponent(
4739
4874
  current.ref === workInProgress.ref
4740
4875
  )
4741
4876
  if (((didReceiveUpdate = !1), 0 !== (current.lanes & renderLanes)))
4742
- 0 !== (current.flags & 32768) && (didReceiveUpdate = !0);
4877
+ 0 !== (current.flags & 131072) && (didReceiveUpdate = !0);
4743
4878
  else
4744
4879
  return (
4745
4880
  (workInProgress.lanes = current.lanes),
@@ -4803,7 +4938,7 @@ function markRef$1(current, workInProgress) {
4803
4938
  (null === current && null !== ref) ||
4804
4939
  (null !== current && current.ref !== ref)
4805
4940
  )
4806
- workInProgress.flags |= 256;
4941
+ workInProgress.flags |= 512;
4807
4942
  }
4808
4943
  function updateFunctionComponent(
4809
4944
  current,
@@ -4828,7 +4963,7 @@ function updateFunctionComponent(
4828
4963
  if (null !== current && !didReceiveUpdate)
4829
4964
  return (
4830
4965
  (workInProgress.updateQueue = current.updateQueue),
4831
- (workInProgress.flags &= -1029),
4966
+ (workInProgress.flags &= -2053),
4832
4967
  (current.lanes &= ~renderLanes),
4833
4968
  bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)
4834
4969
  );
@@ -5004,7 +5139,7 @@ function updateClassComponent(
5004
5139
  "function" === typeof instance.componentDidUpdate &&
5005
5140
  (workInProgress.flags |= 4),
5006
5141
  "function" === typeof instance.getSnapshotBeforeUpdate &&
5007
- (workInProgress.flags |= 512))
5142
+ (workInProgress.flags |= 1024))
5008
5143
  : ("function" !== typeof instance.componentDidUpdate ||
5009
5144
  (oldProps === current.memoizedProps &&
5010
5145
  oldState === current.memoizedState) ||
@@ -5012,7 +5147,7 @@ function updateClassComponent(
5012
5147
  "function" !== typeof instance.getSnapshotBeforeUpdate ||
5013
5148
  (oldProps === current.memoizedProps &&
5014
5149
  oldState === current.memoizedState) ||
5015
- (workInProgress.flags |= 512),
5150
+ (workInProgress.flags |= 1024),
5016
5151
  (workInProgress.memoizedProps = nextProps),
5017
5152
  (workInProgress.memoizedState = newState)),
5018
5153
  (instance.props = nextProps),
@@ -5026,7 +5161,7 @@ function updateClassComponent(
5026
5161
  "function" !== typeof instance.getSnapshotBeforeUpdate ||
5027
5162
  (oldProps === current.memoizedProps &&
5028
5163
  oldState === current.memoizedState) ||
5029
- (workInProgress.flags |= 512),
5164
+ (workInProgress.flags |= 1024),
5030
5165
  (nextProps = !1));
5031
5166
  }
5032
5167
  return finishClassComponent(
@@ -5297,7 +5432,7 @@ function updateSuspenseFallbackChildren(
5297
5432
  (primaryChildren.treeBaseDuration = current.treeBaseDuration)),
5298
5433
  (workInProgress.deletions = null))
5299
5434
  : ((primaryChildren = createWorkInProgress(current, primaryChildProps)),
5300
- (primaryChildren.subtreeFlags = current.subtreeFlags & 1835008));
5435
+ (primaryChildren.subtreeFlags = current.subtreeFlags & 7340032));
5301
5436
  null !== currentFallbackChildFragment
5302
5437
  ? (fallbackChildren = createWorkInProgress(
5303
5438
  currentFallbackChildFragment,
@@ -5533,8 +5668,8 @@ function unwindWork(workInProgress) {
5533
5668
  case 1:
5534
5669
  isContextProvider(workInProgress.type) && popContext();
5535
5670
  var flags = workInProgress.flags;
5536
- return flags & 16384
5537
- ? ((workInProgress.flags = (flags & -16385) | 128),
5671
+ return flags & 65536
5672
+ ? ((workInProgress.flags = (flags & -65537) | 128),
5538
5673
  0 !== (workInProgress.mode & 2) &&
5539
5674
  transferActualDuration(workInProgress),
5540
5675
  workInProgress)
@@ -5549,7 +5684,7 @@ function unwindWork(workInProgress) {
5549
5684
  throw Error(
5550
5685
  "The root failed to unmount after an error. This is likely a bug in React. Please file an issue."
5551
5686
  );
5552
- workInProgress.flags = (flags & -16385) | 128;
5687
+ workInProgress.flags = (flags & -65537) | 128;
5553
5688
  return workInProgress;
5554
5689
  case 5:
5555
5690
  return popHostContext(workInProgress), null;
@@ -5557,8 +5692,8 @@ function unwindWork(workInProgress) {
5557
5692
  return (
5558
5693
  pop(suspenseStackCursor),
5559
5694
  (flags = workInProgress.flags),
5560
- flags & 16384
5561
- ? ((workInProgress.flags = (flags & -16385) | 128),
5695
+ flags & 65536
5696
+ ? ((workInProgress.flags = (flags & -65537) | 128),
5562
5697
  0 !== (workInProgress.mode & 2) &&
5563
5698
  transferActualDuration(workInProgress),
5564
5699
  workInProgress)
@@ -5613,7 +5748,7 @@ function commitBeforeMutationEffects(root, firstChild) {
5613
5748
  if (
5614
5749
  ((root = nextEffect),
5615
5750
  (firstChild = root.child),
5616
- 0 !== (root.subtreeFlags & 516) && null !== firstChild)
5751
+ 0 !== (root.subtreeFlags & 1028) && null !== firstChild)
5617
5752
  )
5618
5753
  (firstChild.return = root), (nextEffect = firstChild);
5619
5754
  else
@@ -5621,7 +5756,7 @@ function commitBeforeMutationEffects(root, firstChild) {
5621
5756
  root = nextEffect;
5622
5757
  try {
5623
5758
  var current = root.alternate;
5624
- if (0 !== (root.flags & 512))
5759
+ if (0 !== (root.flags & 1024))
5625
5760
  switch (root.tag) {
5626
5761
  case 0:
5627
5762
  case 11:
@@ -5695,8 +5830,8 @@ function commitHookEffectListMount(tag, finishedWork) {
5695
5830
  var effect = (finishedWork = finishedWork.next);
5696
5831
  do {
5697
5832
  if ((effect.tag & tag) === tag) {
5698
- var create$89 = effect.create;
5699
- effect.destroy = create$89();
5833
+ var create$86 = effect.create;
5834
+ effect.destroy = create$86();
5700
5835
  }
5701
5836
  effect = effect.next;
5702
5837
  } while (effect !== finishedWork);
@@ -5722,8 +5857,8 @@ function commitUnmount(finishedRoot, current, nearestMountedAncestor) {
5722
5857
  var _effect = effect,
5723
5858
  destroy = _effect.destroy;
5724
5859
  _effect = _effect.tag;
5725
- void 0 !== destroy &&
5726
- 0 !== (_effect & 2) &&
5860
+ void 0 === destroy ||
5861
+ (0 === (_effect & 2) && 0 === (_effect & 4)) ||
5727
5862
  (current.mode & 2
5728
5863
  ? (startLayoutEffectTimer(),
5729
5864
  safelyCallDestroy(current, nearestMountedAncestor, destroy),
@@ -6046,14 +6181,16 @@ function commitWork(current, finishedWork) {
6046
6181
  case 11:
6047
6182
  case 14:
6048
6183
  case 15:
6184
+ commitHookEffectListUnmount(3, finishedWork, finishedWork.return);
6185
+ commitHookEffectListMount(3, finishedWork);
6049
6186
  if (finishedWork.mode & 2)
6050
6187
  try {
6051
6188
  startLayoutEffectTimer(),
6052
- commitHookEffectListUnmount(3, finishedWork, finishedWork.return);
6189
+ commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
6053
6190
  } finally {
6054
6191
  recordLayoutEffectDuration(finishedWork);
6055
6192
  }
6056
- else commitHookEffectListUnmount(3, finishedWork, finishedWork.return);
6193
+ else commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
6057
6194
  return;
6058
6195
  case 1:
6059
6196
  return;
@@ -6151,14 +6288,14 @@ function commitMutationEffects(root, firstChild, committedLanes) {
6151
6288
  }
6152
6289
  }
6153
6290
  committedLanes = firstChild.child;
6154
- if (0 !== (firstChild.subtreeFlags & 6454) && null !== committedLanes)
6291
+ if (0 !== (firstChild.subtreeFlags & 12854) && null !== committedLanes)
6155
6292
  (committedLanes.return = firstChild), (nextEffect = committedLanes);
6156
6293
  else
6157
6294
  for (; null !== nextEffect; ) {
6158
6295
  firstChild = nextEffect;
6159
6296
  try {
6160
6297
  var flags = firstChild.flags;
6161
- if (flags & 256) {
6298
+ if (flags & 512) {
6162
6299
  var current = firstChild.alternate;
6163
6300
  if (null !== current) {
6164
6301
  committedLanes = current;
@@ -6175,12 +6312,12 @@ function commitMutationEffects(root, firstChild, committedLanes) {
6175
6312
  else currentRef.current = null;
6176
6313
  }
6177
6314
  }
6178
- if (flags & 4096)
6315
+ if (flags & 8192)
6179
6316
  switch (firstChild.tag) {
6180
6317
  case 13:
6181
6318
  if (null !== firstChild.memoizedState) {
6182
- var current$96 = firstChild.alternate;
6183
- if (null === current$96 || null === current$96.memoizedState)
6319
+ var current$93 = firstChild.alternate;
6320
+ if (null === current$93 || null === current$93.memoizedState)
6184
6321
  globalMostRecentFallbackTime = now();
6185
6322
  }
6186
6323
  break;
@@ -6256,7 +6393,7 @@ function commitMutationEffects(root, firstChild, committedLanes) {
6256
6393
  }
6257
6394
  }
6258
6395
  }
6259
- switch (flags & 2054) {
6396
+ switch (flags & 4102) {
6260
6397
  case 2:
6261
6398
  commitPlacement(firstChild);
6262
6399
  firstChild.flags &= -3;
@@ -6266,11 +6403,11 @@ function commitMutationEffects(root, firstChild, committedLanes) {
6266
6403
  firstChild.flags &= -3;
6267
6404
  commitWork(firstChild.alternate, firstChild);
6268
6405
  break;
6269
- case 2048:
6270
- firstChild.flags &= -2049;
6406
+ case 4096:
6407
+ firstChild.flags &= -4097;
6271
6408
  break;
6272
- case 2052:
6273
- firstChild.flags &= -2049;
6409
+ case 4100:
6410
+ firstChild.flags &= -4097;
6274
6411
  commitWork(firstChild.alternate, firstChild);
6275
6412
  break;
6276
6413
  case 4:
@@ -6297,16 +6434,16 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
6297
6434
  if (
6298
6435
  ((root = nextEffect),
6299
6436
  (committedLanes = root.child),
6300
- 0 !== (root.subtreeFlags & 4420) && null !== committedLanes)
6437
+ 0 !== (root.subtreeFlags & 8772) && null !== committedLanes)
6301
6438
  )
6302
6439
  (committedLanes.return = root), (nextEffect = committedLanes);
6303
6440
  else
6304
6441
  for (root = finishedWork; null !== nextEffect; ) {
6305
6442
  committedLanes = nextEffect;
6306
- if (0 !== (committedLanes.flags & 4420)) {
6443
+ if (0 !== (committedLanes.flags & 8772)) {
6307
6444
  var current = committedLanes.alternate;
6308
6445
  try {
6309
- if (0 !== (committedLanes.flags & 4420))
6446
+ if (0 !== (committedLanes.flags & 8772))
6310
6447
  switch (committedLanes.tag) {
6311
6448
  case 0:
6312
6449
  case 11:
@@ -6314,11 +6451,11 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
6314
6451
  if (committedLanes.mode & 2)
6315
6452
  try {
6316
6453
  startLayoutEffectTimer(),
6317
- commitHookEffectListMount(3, committedLanes);
6454
+ commitHookEffectListMount(5, committedLanes);
6318
6455
  } finally {
6319
6456
  recordLayoutEffectDuration(committedLanes);
6320
6457
  }
6321
- else commitHookEffectListMount(3, committedLanes);
6458
+ else commitHookEffectListMount(5, committedLanes);
6322
6459
  break;
6323
6460
  case 1:
6324
6461
  var instance = committedLanes.stateNode;
@@ -6364,21 +6501,21 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
6364
6501
  commitUpdateQueue(committedLanes, updateQueue, instance);
6365
6502
  break;
6366
6503
  case 3:
6367
- var updateQueue$91 = committedLanes.updateQueue;
6368
- if (null !== updateQueue$91) {
6369
- var instance$92 = null;
6504
+ var updateQueue$88 = committedLanes.updateQueue;
6505
+ if (null !== updateQueue$88) {
6506
+ var instance$89 = null;
6370
6507
  if (null !== committedLanes.child)
6371
6508
  switch (committedLanes.child.tag) {
6372
6509
  case 5:
6373
- instance$92 = committedLanes.child.stateNode;
6510
+ instance$89 = committedLanes.child.stateNode;
6374
6511
  break;
6375
6512
  case 1:
6376
- instance$92 = committedLanes.child.stateNode;
6513
+ instance$89 = committedLanes.child.stateNode;
6377
6514
  }
6378
6515
  commitUpdateQueue(
6379
6516
  committedLanes,
6380
- updateQueue$91,
6381
- instance$92
6517
+ updateQueue$88,
6518
+ instance$89
6382
6519
  );
6383
6520
  }
6384
6521
  break;
@@ -6393,7 +6530,7 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
6393
6530
  onCommit = _finishedWork$memoize2.onCommit,
6394
6531
  onRender = _finishedWork$memoize2.onRender,
6395
6532
  effectDuration = committedLanes.stateNode.effectDuration;
6396
- instance$92 = commitTime;
6533
+ instance$89 = commitTime;
6397
6534
  current = null === current ? "mount" : "update";
6398
6535
  currentUpdateIsNested && (current = "nested-update");
6399
6536
  "function" === typeof onRender &&
@@ -6403,14 +6540,14 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
6403
6540
  committedLanes.actualDuration,
6404
6541
  committedLanes.treeBaseDuration,
6405
6542
  committedLanes.actualStartTime,
6406
- instance$92
6543
+ instance$89
6407
6544
  );
6408
6545
  "function" === typeof onCommit &&
6409
6546
  onCommit(
6410
6547
  committedLanes.memoizedProps.id,
6411
6548
  current,
6412
6549
  effectDuration,
6413
- instance$92
6550
+ instance$89
6414
6551
  );
6415
6552
  enqueuePendingPassiveProfilerEffect(committedLanes);
6416
6553
  var parentFiber = committedLanes.return;
@@ -6439,28 +6576,28 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
6439
6576
  "This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."
6440
6577
  );
6441
6578
  }
6442
- if (committedLanes.flags & 256) {
6443
- instance$92 = void 0;
6579
+ if (committedLanes.flags & 512) {
6580
+ instance$89 = void 0;
6444
6581
  current = committedLanes;
6445
6582
  var ref = current.ref;
6446
6583
  if (null !== ref) {
6447
6584
  var instance$jscomp$0 = current.stateNode;
6448
6585
  switch (current.tag) {
6449
6586
  case 5:
6450
- instance$92 = instance$jscomp$0;
6587
+ instance$89 = instance$jscomp$0;
6451
6588
  break;
6452
6589
  default:
6453
- instance$92 = instance$jscomp$0;
6590
+ instance$89 = instance$jscomp$0;
6454
6591
  }
6455
6592
  if ("function" === typeof ref)
6456
6593
  if (current.mode & 2)
6457
6594
  try {
6458
- startLayoutEffectTimer(), ref(instance$92);
6595
+ startLayoutEffectTimer(), ref(instance$89);
6459
6596
  } finally {
6460
6597
  recordLayoutEffectDuration(current);
6461
6598
  }
6462
- else ref(instance$92);
6463
- else ref.current = instance$92;
6599
+ else ref(instance$89);
6600
+ else ref.current = instance$89;
6464
6601
  }
6465
6602
  }
6466
6603
  } catch (error) {
@@ -6475,10 +6612,10 @@ function commitLayoutEffects(finishedWork, root, committedLanes) {
6475
6612
  nextEffect = null;
6476
6613
  break;
6477
6614
  }
6478
- instance$92 = committedLanes.sibling;
6479
- if (null !== instance$92) {
6480
- instance$92.return = committedLanes.return;
6481
- nextEffect = instance$92;
6615
+ instance$89 = committedLanes.sibling;
6616
+ if (null !== instance$89) {
6617
+ instance$89.return = committedLanes.return;
6618
+ nextEffect = instance$89;
6482
6619
  break;
6483
6620
  }
6484
6621
  nextEffect = committedLanes.return;
@@ -6657,15 +6794,15 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6657
6794
  root === workInProgressRoot ? workInProgressRootRenderLanes : 0
6658
6795
  );
6659
6796
  if (0 === lanes) return null;
6660
- var JSCompiler_inline_result =
6661
- 0 !== (lanes & root.expiredLanes)
6662
- ? !1
6663
- : 0 !== (root.current.mode & 32)
6664
- ? !0
6665
- : 0 === (lanes & 30);
6666
- if (JSCompiler_inline_result && !didTimeout) {
6797
+ if (
6798
+ includesBlockingLane(root, lanes) ||
6799
+ 0 !== (lanes & root.expiredLanes) ||
6800
+ didTimeout
6801
+ )
6802
+ didTimeout = renderRootSync(root, lanes);
6803
+ else {
6667
6804
  didTimeout = lanes;
6668
- JSCompiler_inline_result = executionContext;
6805
+ var prevExecutionContext = executionContext;
6669
6806
  executionContext |= 2;
6670
6807
  var prevDispatcher = pushDispatcher();
6671
6808
  if (
@@ -6692,30 +6829,44 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6692
6829
  while (1);
6693
6830
  resetContextDependencies();
6694
6831
  ReactCurrentDispatcher$2.current = prevDispatcher;
6695
- executionContext = JSCompiler_inline_result;
6832
+ executionContext = prevExecutionContext;
6696
6833
  null !== workInProgress
6697
6834
  ? (didTimeout = 0)
6698
6835
  : ((workInProgressRoot = null),
6699
6836
  (workInProgressRootRenderLanes = 0),
6700
6837
  (didTimeout = workInProgressRootExitStatus));
6701
- } else didTimeout = renderRootSync(root, lanes);
6838
+ }
6702
6839
  if (0 !== didTimeout) {
6703
6840
  2 === didTimeout &&
6704
- ((JSCompiler_inline_result = executionContext),
6705
- (executionContext |= 8),
6706
- root.hydrate && (root.hydrate = !1),
6707
- (prevDispatcher = getLanesToRetrySynchronouslyOnError(root)),
6708
- 0 !== prevDispatcher &&
6709
- ((lanes = prevDispatcher),
6710
- (didTimeout = renderRootSync(root, prevDispatcher))),
6711
- (executionContext = JSCompiler_inline_result));
6841
+ ((prevExecutionContext = getLanesToRetrySynchronouslyOnError(root)),
6842
+ 0 !== prevExecutionContext &&
6843
+ ((lanes = prevExecutionContext),
6844
+ (didTimeout = recoverFromConcurrentError(root, prevExecutionContext))));
6712
6845
  if (1 === didTimeout)
6713
6846
  throw ((originalCallbackNode = workInProgressRootFatalError),
6714
6847
  prepareFreshStack(root, 0),
6715
6848
  markRootSuspended$1(root, lanes),
6716
6849
  ensureRootIsScheduled(root, now()),
6717
6850
  originalCallbackNode);
6718
- root.finishedWork = root.current.alternate;
6851
+ prevDispatcher = !includesBlockingLane(root, lanes);
6852
+ prevExecutionContext = root.current.alternate;
6853
+ if (
6854
+ prevDispatcher &&
6855
+ !isRenderConsistentWithExternalStores(prevExecutionContext) &&
6856
+ ((didTimeout = renderRootSync(root, lanes)),
6857
+ 2 === didTimeout &&
6858
+ ((prevDispatcher = getLanesToRetrySynchronouslyOnError(root)),
6859
+ 0 !== prevDispatcher &&
6860
+ ((lanes = prevDispatcher),
6861
+ (didTimeout = recoverFromConcurrentError(root, prevDispatcher)))),
6862
+ 1 === didTimeout)
6863
+ )
6864
+ throw ((originalCallbackNode = workInProgressRootFatalError),
6865
+ prepareFreshStack(root, 0),
6866
+ markRootSuspended$1(root, lanes),
6867
+ ensureRootIsScheduled(root, now()),
6868
+ originalCallbackNode);
6869
+ root.finishedWork = prevExecutionContext;
6719
6870
  root.finishedLanes = lanes;
6720
6871
  switch (didTimeout) {
6721
6872
  case 0:
@@ -6732,10 +6883,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6732
6883
  10 < didTimeout)
6733
6884
  ) {
6734
6885
  if (0 !== getNextLanes(root, 0)) break;
6735
- JSCompiler_inline_result = root.suspendedLanes;
6736
- if ((JSCompiler_inline_result & lanes) !== lanes) {
6886
+ prevExecutionContext = root.suspendedLanes;
6887
+ if ((prevExecutionContext & lanes) !== lanes) {
6737
6888
  requestEventTime();
6738
- root.pingedLanes |= root.suspendedLanes & JSCompiler_inline_result;
6889
+ root.pingedLanes |= root.suspendedLanes & prevExecutionContext;
6739
6890
  break;
6740
6891
  }
6741
6892
  root.timeoutHandle = scheduleTimeout(
@@ -6750,14 +6901,14 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6750
6901
  markRootSuspended$1(root, lanes);
6751
6902
  if ((lanes & 4194240) === lanes) break;
6752
6903
  didTimeout = root.eventTimes;
6753
- for (JSCompiler_inline_result = -1; 0 < lanes; )
6904
+ for (prevExecutionContext = -1; 0 < lanes; )
6754
6905
  (memoizedUpdaters = 31 - clz32(lanes)),
6755
6906
  (prevDispatcher = 1 << memoizedUpdaters),
6756
6907
  (memoizedUpdaters = didTimeout[memoizedUpdaters]),
6757
- memoizedUpdaters > JSCompiler_inline_result &&
6758
- (JSCompiler_inline_result = memoizedUpdaters),
6908
+ memoizedUpdaters > prevExecutionContext &&
6909
+ (prevExecutionContext = memoizedUpdaters),
6759
6910
  (lanes &= ~prevDispatcher);
6760
- lanes = JSCompiler_inline_result;
6911
+ lanes = prevExecutionContext;
6761
6912
  lanes = now() - lanes;
6762
6913
  lanes =
6763
6914
  (120 > lanes
@@ -6794,6 +6945,48 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6794
6945
  ? performConcurrentWorkOnRoot.bind(null, root)
6795
6946
  : null;
6796
6947
  }
6948
+ function recoverFromConcurrentError(root, errorRetryLanes) {
6949
+ var prevExecutionContext = executionContext;
6950
+ executionContext |= 8;
6951
+ root.isDehydrated && (root.isDehydrated = !1);
6952
+ root = renderRootSync(root, errorRetryLanes);
6953
+ executionContext = prevExecutionContext;
6954
+ return root;
6955
+ }
6956
+ function isRenderConsistentWithExternalStores(finishedWork) {
6957
+ for (var node = finishedWork; ; ) {
6958
+ if (node.flags & 16384) {
6959
+ var updateQueue = node.updateQueue;
6960
+ if (
6961
+ null !== updateQueue &&
6962
+ ((updateQueue = updateQueue.stores), null !== updateQueue)
6963
+ )
6964
+ for (var i = 0; i < updateQueue.length; i++) {
6965
+ var check = updateQueue[i],
6966
+ getSnapshot = check.getSnapshot;
6967
+ check = check.value;
6968
+ try {
6969
+ if (!objectIs(getSnapshot(), check)) return !1;
6970
+ } catch (error) {
6971
+ return !1;
6972
+ }
6973
+ }
6974
+ }
6975
+ updateQueue = node.child;
6976
+ if (node.subtreeFlags & 16384 && null !== updateQueue)
6977
+ (updateQueue.return = node), (node = updateQueue);
6978
+ else {
6979
+ if (node === finishedWork) break;
6980
+ for (; null === node.sibling; ) {
6981
+ if (null === node.return || node.return === finishedWork) return !0;
6982
+ node = node.return;
6983
+ }
6984
+ node.sibling.return = node.return;
6985
+ node = node.sibling;
6986
+ }
6987
+ }
6988
+ return !0;
6989
+ }
6797
6990
  function markRootSuspended$1(root, suspendedLanes) {
6798
6991
  suspendedLanes &= ~workInProgressRootPingedLanes;
6799
6992
  suspendedLanes &= ~workInProgressRootUpdatedLanes;
@@ -6818,7 +7011,7 @@ function performSyncWorkOnRoot(root) {
6818
7011
  if (0 !== root.tag && 2 === exitStatus) {
6819
7012
  var prevExecutionContext = executionContext;
6820
7013
  executionContext |= 8;
6821
- root.hydrate && (root.hydrate = !1);
7014
+ root.isDehydrated && (root.isDehydrated = !1);
6822
7015
  var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);
6823
7016
  0 !== errorRetryLanes &&
6824
7017
  ((lanes = errorRetryLanes), (exitStatus = renderRootSync(root, lanes)));
@@ -6945,7 +7138,7 @@ function handleError(root$jscomp$0, thrownValue) {
6945
7138
  sourceFiber = erroredWork,
6946
7139
  value = thrownValue;
6947
7140
  thrownValue = workInProgressRootRenderLanes;
6948
- sourceFiber.flags |= 8192;
7141
+ sourceFiber.flags |= 32768;
6949
7142
  isDevToolsPresent && restorePendingUpdaters(root, thrownValue);
6950
7143
  if (
6951
7144
  null !== value &&
@@ -6953,64 +7146,76 @@ function handleError(root$jscomp$0, thrownValue) {
6953
7146
  "function" === typeof value.then
6954
7147
  ) {
6955
7148
  var wakeable = value,
6956
- tag = sourceFiber.tag;
7149
+ sourceFiber$jscomp$0 = sourceFiber,
7150
+ tag = sourceFiber$jscomp$0.tag;
6957
7151
  if (
6958
- 0 === (sourceFiber.mode & 1) &&
7152
+ 0 === (sourceFiber$jscomp$0.mode & 1) &&
6959
7153
  (0 === tag || 11 === tag || 15 === tag)
6960
7154
  ) {
6961
- var currentSource = sourceFiber.alternate;
7155
+ var currentSource = sourceFiber$jscomp$0.alternate;
6962
7156
  currentSource
6963
- ? ((sourceFiber.updateQueue = currentSource.updateQueue),
6964
- (sourceFiber.memoizedState = currentSource.memoizedState),
6965
- (sourceFiber.lanes = currentSource.lanes))
6966
- : ((sourceFiber.updateQueue = null),
6967
- (sourceFiber.memoizedState = null));
7157
+ ? ((sourceFiber$jscomp$0.updateQueue = currentSource.updateQueue),
7158
+ (sourceFiber$jscomp$0.memoizedState =
7159
+ currentSource.memoizedState),
7160
+ (sourceFiber$jscomp$0.lanes = currentSource.lanes))
7161
+ : ((sourceFiber$jscomp$0.updateQueue = null),
7162
+ (sourceFiber$jscomp$0.memoizedState = null));
6968
7163
  }
6969
- var hasInvisibleParentBoundary =
6970
- 0 !== (suspenseStackCursor.current & 1),
6971
- workInProgress$34 = returnFiber;
6972
- do {
6973
- var JSCompiler_temp;
6974
- if ((JSCompiler_temp = 13 === workInProgress$34.tag)) {
6975
- var nextState = workInProgress$34.memoizedState;
6976
- JSCompiler_temp =
6977
- null !== nextState
6978
- ? null !== nextState.dehydrated
7164
+ b: {
7165
+ sourceFiber$jscomp$0 = returnFiber;
7166
+ var sourceFiber$jscomp$1 = sourceFiber,
7167
+ rootRenderLanes = thrownValue,
7168
+ hasInvisibleParentBoundary =
7169
+ 0 !== (suspenseStackCursor.current & 1),
7170
+ node = sourceFiber$jscomp$0;
7171
+ do {
7172
+ var JSCompiler_temp;
7173
+ if ((JSCompiler_temp = 13 === node.tag)) {
7174
+ var nextState = node.memoizedState;
7175
+ JSCompiler_temp =
7176
+ null !== nextState
7177
+ ? null !== nextState.dehydrated
7178
+ ? !0
7179
+ : !1
7180
+ : !0 !== node.memoizedProps.unstable_avoidThisFallback
6979
7181
  ? !0
6980
- : !1
6981
- : !0 !==
6982
- workInProgress$34.memoizedProps.unstable_avoidThisFallback
6983
- ? !0
6984
- : hasInvisibleParentBoundary
6985
- ? !1
6986
- : !0;
6987
- }
6988
- if (JSCompiler_temp) {
6989
- var wakeables = workInProgress$34.updateQueue;
6990
- if (null === wakeables) {
6991
- var updateQueue = new Set();
6992
- updateQueue.add(wakeable);
6993
- workInProgress$34.updateQueue = updateQueue;
6994
- } else wakeables.add(wakeable);
6995
- if (
6996
- 0 === (workInProgress$34.mode & 1) &&
6997
- workInProgress$34 !== returnFiber
6998
- ) {
6999
- workInProgress$34.flags |= 128;
7000
- sourceFiber.flags |= 32768;
7001
- sourceFiber.flags &= -10053;
7002
- if (1 === sourceFiber.tag)
7003
- if (null === sourceFiber.alternate) sourceFiber.tag = 17;
7182
+ : hasInvisibleParentBoundary
7183
+ ? !1
7184
+ : !0;
7185
+ }
7186
+ if (JSCompiler_temp) {
7187
+ if (0 === (node.mode & 1)) {
7188
+ if (node === sourceFiber$jscomp$0) node.flags |= 65536;
7004
7189
  else {
7005
- var update = createUpdate(-1, 1);
7006
- update.tag = 2;
7007
- enqueueUpdate(sourceFiber, update);
7190
+ node.flags |= 128;
7191
+ sourceFiber$jscomp$1.flags |= 131072;
7192
+ sourceFiber$jscomp$1.flags &= -52805;
7193
+ if (1 === sourceFiber$jscomp$1.tag)
7194
+ if (null === sourceFiber$jscomp$1.alternate)
7195
+ sourceFiber$jscomp$1.tag = 17;
7196
+ else {
7197
+ var update = createUpdate(-1, 1);
7198
+ update.tag = 2;
7199
+ enqueueUpdate(sourceFiber$jscomp$1, update);
7200
+ }
7201
+ sourceFiber$jscomp$1.lanes |= 1;
7008
7202
  }
7009
- sourceFiber.lanes |= 1;
7010
- break a;
7203
+ var suspenseBoundary = node;
7204
+ break b;
7205
+ }
7206
+ node.flags |= 65536;
7207
+ node.lanes = rootRenderLanes;
7208
+ suspenseBoundary = node;
7209
+ break b;
7011
7210
  }
7012
- value = void 0;
7013
- sourceFiber = thrownValue;
7211
+ node = node.return;
7212
+ } while (null !== node);
7213
+ suspenseBoundary = null;
7214
+ }
7215
+ if (null !== suspenseBoundary) {
7216
+ value = void 0;
7217
+ sourceFiber = suspenseBoundary;
7218
+ if (sourceFiber.mode & 1) {
7014
7219
  var pingCache = root.pingCache;
7015
7220
  null === pingCache
7016
7221
  ? ((pingCache = root.pingCache = new PossiblyWeakMap()),
@@ -7019,72 +7224,75 @@ function handleError(root$jscomp$0, thrownValue) {
7019
7224
  : ((value = pingCache.get(wakeable)),
7020
7225
  void 0 === value &&
7021
7226
  ((value = new Set()), pingCache.set(wakeable, value)));
7022
- if (!value.has(sourceFiber)) {
7023
- value.add(sourceFiber);
7227
+ if (!value.has(thrownValue)) {
7228
+ value.add(thrownValue);
7024
7229
  var ping = pingSuspendedRoot.bind(
7025
7230
  null,
7026
7231
  root,
7027
7232
  wakeable,
7028
- sourceFiber
7233
+ thrownValue
7029
7234
  );
7030
- isDevToolsPresent && restorePendingUpdaters(root, sourceFiber);
7235
+ isDevToolsPresent && restorePendingUpdaters(root, thrownValue);
7031
7236
  wakeable.then(ping, ping);
7032
7237
  }
7033
- workInProgress$34.flags |= 16384;
7034
- workInProgress$34.lanes = thrownValue;
7035
- break a;
7036
7238
  }
7037
- workInProgress$34 = workInProgress$34.return;
7038
- } while (null !== workInProgress$34);
7039
- value = Error(
7040
- (getComponentNameFromFiber(sourceFiber) || "A React component") +
7041
- " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."
7042
- );
7239
+ var wakeables = sourceFiber.updateQueue;
7240
+ if (null === wakeables) {
7241
+ var updateQueue = new Set();
7242
+ updateQueue.add(wakeable);
7243
+ sourceFiber.updateQueue = updateQueue;
7244
+ } else wakeables.add(wakeable);
7245
+ break a;
7246
+ } else
7247
+ value = Error(
7248
+ (getComponentNameFromFiber(sourceFiber) || "A React component") +
7249
+ " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."
7250
+ );
7043
7251
  }
7044
- 5 !== workInProgressRootExitStatus &&
7252
+ 4 !== workInProgressRootExitStatus &&
7045
7253
  (workInProgressRootExitStatus = 2);
7046
7254
  value = createCapturedValue(value, sourceFiber);
7047
- workInProgress$34 = returnFiber;
7255
+ root = returnFiber;
7048
7256
  do {
7049
- switch (workInProgress$34.tag) {
7257
+ switch (root.tag) {
7050
7258
  case 3:
7051
- root = value;
7052
- workInProgress$34.flags |= 16384;
7259
+ wakeable = value;
7260
+ root.flags |= 65536;
7053
7261
  thrownValue &= -thrownValue;
7054
- workInProgress$34.lanes |= thrownValue;
7055
- var update$35 = createRootErrorUpdate(
7056
- workInProgress$34,
7262
+ root.lanes |= thrownValue;
7263
+ var update$jscomp$0 = createRootErrorUpdate(
7057
7264
  root,
7265
+ wakeable,
7058
7266
  thrownValue
7059
7267
  );
7060
- enqueueCapturedUpdate(workInProgress$34, update$35);
7268
+ enqueueCapturedUpdate(root, update$jscomp$0);
7061
7269
  break a;
7062
7270
  case 1:
7063
- root = value;
7064
- var ctor = workInProgress$34.type,
7065
- instance = workInProgress$34.stateNode;
7271
+ wakeable = value;
7272
+ var ctor = root.type,
7273
+ instance = root.stateNode;
7066
7274
  if (
7067
- 0 === (workInProgress$34.flags & 128) &&
7275
+ 0 === (root.flags & 128) &&
7068
7276
  ("function" === typeof ctor.getDerivedStateFromError ||
7069
7277
  (null !== instance &&
7070
7278
  "function" === typeof instance.componentDidCatch &&
7071
7279
  (null === legacyErrorBoundariesThatAlreadyFailed ||
7072
7280
  !legacyErrorBoundariesThatAlreadyFailed.has(instance))))
7073
7281
  ) {
7074
- workInProgress$34.flags |= 16384;
7282
+ root.flags |= 65536;
7075
7283
  thrownValue &= -thrownValue;
7076
- workInProgress$34.lanes |= thrownValue;
7077
- var update$38 = createClassErrorUpdate(
7078
- workInProgress$34,
7284
+ root.lanes |= thrownValue;
7285
+ var update$35 = createClassErrorUpdate(
7079
7286
  root,
7287
+ wakeable,
7080
7288
  thrownValue
7081
7289
  );
7082
- enqueueCapturedUpdate(workInProgress$34, update$38);
7290
+ enqueueCapturedUpdate(root, update$35);
7083
7291
  break a;
7084
7292
  }
7085
7293
  }
7086
- workInProgress$34 = workInProgress$34.return;
7087
- } while (null !== workInProgress$34);
7294
+ root = root.return;
7295
+ } while (null !== root);
7088
7296
  }
7089
7297
  completeUnitOfWork(erroredWork);
7090
7298
  } catch (yetAnotherThrownValue) {
@@ -7161,7 +7369,7 @@ function completeUnitOfWork(unitOfWork) {
7161
7369
  do {
7162
7370
  var current = completedWork.alternate;
7163
7371
  unitOfWork = completedWork.return;
7164
- if (0 === (completedWork.flags & 8192)) {
7372
+ if (0 === (completedWork.flags & 32768)) {
7165
7373
  if (0 === (completedWork.mode & 2))
7166
7374
  current = completeWork(current, completedWork, subtreeRenderLanes);
7167
7375
  else {
@@ -7178,7 +7386,7 @@ function completeUnitOfWork(unitOfWork) {
7178
7386
  } else {
7179
7387
  current = unwindWork(completedWork);
7180
7388
  if (null !== current) {
7181
- current.flags &= 8191;
7389
+ current.flags &= 32767;
7182
7390
  workInProgress = current;
7183
7391
  return;
7184
7392
  }
@@ -7190,7 +7398,7 @@ function completeUnitOfWork(unitOfWork) {
7190
7398
  completedWork.actualDuration = current;
7191
7399
  }
7192
7400
  null !== unitOfWork &&
7193
- ((unitOfWork.flags |= 8192),
7401
+ ((unitOfWork.flags |= 32768),
7194
7402
  (unitOfWork.subtreeFlags = 0),
7195
7403
  (unitOfWork.deletions = null));
7196
7404
  }
@@ -7237,16 +7445,16 @@ function commitRootImpl(root, renderPriorityLevel) {
7237
7445
  root === workInProgressRoot &&
7238
7446
  ((workInProgress = workInProgressRoot = null),
7239
7447
  (workInProgressRootRenderLanes = 0));
7240
- (0 === (finishedWork.subtreeFlags & 1040) &&
7241
- 0 === (finishedWork.flags & 1040)) ||
7448
+ (0 === (finishedWork.subtreeFlags & 2064) &&
7449
+ 0 === (finishedWork.flags & 2064)) ||
7242
7450
  rootDoesHavePassiveEffects ||
7243
7451
  ((rootDoesHavePassiveEffects = !0),
7244
7452
  scheduleCallback$1(NormalPriority, function() {
7245
7453
  flushPassiveEffects();
7246
7454
  return null;
7247
7455
  }));
7248
- remainingLanes = 0 !== (finishedWork.flags & 8054);
7249
- if (0 !== (finishedWork.subtreeFlags & 8054) || remainingLanes) {
7456
+ remainingLanes = 0 !== (finishedWork.flags & 15990);
7457
+ if (0 !== (finishedWork.subtreeFlags & 15990) || remainingLanes) {
7250
7458
  remainingLanes = ReactCurrentBatchConfig$2.transition;
7251
7459
  ReactCurrentBatchConfig$2.transition = 0;
7252
7460
  var previousPriority = currentUpdatePriority;
@@ -7270,12 +7478,6 @@ function commitRootImpl(root, renderPriorityLevel) {
7270
7478
  (pendingPassiveEffectsLanes = lanes));
7271
7479
  remainingLanes = root.pendingLanes;
7272
7480
  0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
7273
- 0 !== (remainingLanes & 1)
7274
- ? ((nestedUpdateScheduled = !0),
7275
- root === rootWithNestedUpdates
7276
- ? nestedUpdateCount++
7277
- : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
7278
- : (nestedUpdateCount = 0);
7279
7481
  onCommitRoot(finishedWork.stateNode, renderPriorityLevel);
7280
7482
  isDevToolsPresent && root.memoizedUpdaters.clear();
7281
7483
  ensureRootIsScheduled(root, now());
@@ -7287,6 +7489,13 @@ function commitRootImpl(root, renderPriorityLevel) {
7287
7489
  0 !== (pendingPassiveEffectsLanes & 1) &&
7288
7490
  0 !== root.tag &&
7289
7491
  flushPassiveEffects();
7492
+ remainingLanes = root.pendingLanes;
7493
+ 0 !== (remainingLanes & 1)
7494
+ ? ((nestedUpdateScheduled = !0),
7495
+ root === rootWithNestedUpdates
7496
+ ? nestedUpdateCount++
7497
+ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
7498
+ : (nestedUpdateCount = 0);
7290
7499
  flushSyncCallbacks();
7291
7500
  return null;
7292
7501
  }
@@ -7325,9 +7534,9 @@ function flushPassiveEffects() {
7325
7534
  case 15:
7326
7535
  current.mode & 2
7327
7536
  ? ((passiveEffectStartTime = now$1()),
7328
- commitHookEffectListUnmount(4, current, fiber),
7537
+ commitHookEffectListUnmount(8, current, fiber),
7329
7538
  recordPassiveEffectDuration(current))
7330
- : commitHookEffectListUnmount(4, current, fiber);
7539
+ : commitHookEffectListUnmount(8, current, fiber);
7331
7540
  }
7332
7541
  var child$jscomp$0 = fiber$jscomp$0.child;
7333
7542
  if (null !== child$jscomp$0)
@@ -7367,21 +7576,21 @@ function flushPassiveEffects() {
7367
7576
  nextEffect = fiber;
7368
7577
  }
7369
7578
  }
7370
- if (0 !== (fiber.subtreeFlags & 1040) && null !== child)
7579
+ if (0 !== (fiber.subtreeFlags & 2064) && null !== child)
7371
7580
  (child.return = fiber), (nextEffect = child);
7372
7581
  else
7373
7582
  b: for (; null !== nextEffect; ) {
7374
7583
  fiber = nextEffect;
7375
- if (0 !== (fiber.flags & 1024))
7584
+ if (0 !== (fiber.flags & 2048))
7376
7585
  switch (((i = fiber), i.tag)) {
7377
7586
  case 0:
7378
7587
  case 11:
7379
7588
  case 15:
7380
7589
  i.mode & 2
7381
7590
  ? ((passiveEffectStartTime = now$1()),
7382
- commitHookEffectListUnmount(5, i, i.return),
7591
+ commitHookEffectListUnmount(9, i, i.return),
7383
7592
  recordPassiveEffectDuration(i))
7384
- : commitHookEffectListUnmount(5, i, i.return);
7593
+ : commitHookEffectListUnmount(9, i, i.return);
7385
7594
  }
7386
7595
  var sibling$jscomp$0 = fiber.sibling;
7387
7596
  if (null !== sibling$jscomp$0) {
@@ -7396,12 +7605,12 @@ function flushPassiveEffects() {
7396
7605
  for (nextEffect = finishedWork; null !== nextEffect; ) {
7397
7606
  child = nextEffect;
7398
7607
  var firstChild = child.child;
7399
- if (0 !== (child.subtreeFlags & 1040) && null !== firstChild)
7608
+ if (0 !== (child.subtreeFlags & 2064) && null !== firstChild)
7400
7609
  (firstChild.return = child), (nextEffect = firstChild);
7401
7610
  else
7402
7611
  b: for (child = finishedWork; null !== nextEffect; ) {
7403
7612
  deletions = nextEffect;
7404
- if (0 !== (deletions.flags & 1024))
7613
+ if (0 !== (deletions.flags & 2048))
7405
7614
  try {
7406
7615
  switch (((fiberToDelete = deletions), fiberToDelete.tag)) {
7407
7616
  case 0:
@@ -7410,11 +7619,11 @@ function flushPassiveEffects() {
7410
7619
  if (fiberToDelete.mode & 2) {
7411
7620
  passiveEffectStartTime = now$1();
7412
7621
  try {
7413
- commitHookEffectListMount(5, fiberToDelete);
7622
+ commitHookEffectListMount(9, fiberToDelete);
7414
7623
  } finally {
7415
7624
  recordPassiveEffectDuration(fiberToDelete);
7416
7625
  }
7417
- } else commitHookEffectListMount(5, fiberToDelete);
7626
+ } else commitHookEffectListMount(9, fiberToDelete);
7418
7627
  }
7419
7628
  } catch (error) {
7420
7629
  captureCommitPhaseError(deletions, deletions.return, error);
@@ -7609,7 +7818,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) {
7609
7818
  renderLanes
7610
7819
  )
7611
7820
  );
7612
- didReceiveUpdate = 0 !== (current.flags & 32768) ? !0 : !1;
7821
+ didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1;
7613
7822
  }
7614
7823
  else didReceiveUpdate = !1;
7615
7824
  workInProgress.lanes = 0;
@@ -8090,7 +8299,7 @@ function createWorkInProgress(current, pendingProps) {
8090
8299
  (workInProgress.deletions = null),
8091
8300
  (workInProgress.actualDuration = 0),
8092
8301
  (workInProgress.actualStartTime = -1));
8093
- workInProgress.flags = current.flags & 1835008;
8302
+ workInProgress.flags = current.flags & 7340032;
8094
8303
  workInProgress.childLanes = current.childLanes;
8095
8304
  workInProgress.lanes = current.lanes;
8096
8305
  workInProgress.child = current.child;
@@ -8186,8 +8395,7 @@ function createFiberFromTypeAndProps(
8186
8395
  }
8187
8396
  throw Error(
8188
8397
  "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " +
8189
- (null == type ? type : typeof type) +
8190
- "."
8398
+ ((null == type ? type : typeof type) + ".")
8191
8399
  );
8192
8400
  }
8193
8401
  key = createFiber(fiberTag, pendingProps, key, mode);
@@ -8233,7 +8441,7 @@ function FiberRootNode(containerInfo, tag, hydrate) {
8233
8441
  this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
8234
8442
  this.timeoutHandle = -1;
8235
8443
  this.pendingContext = this.context = null;
8236
- this.hydrate = hydrate;
8444
+ this.isDehydrated = hydrate;
8237
8445
  this.callbackNode = null;
8238
8446
  this.callbackPriority = 0;
8239
8447
  this.eventTimes = createLaneMap(0);
@@ -8261,9 +8469,9 @@ function findHostInstance(component) {
8261
8469
  if (void 0 === fiber) {
8262
8470
  if ("function" === typeof component.render)
8263
8471
  throw Error("Unable to find node on an unmounted component.");
8472
+ component = Object.keys(component).join(",");
8264
8473
  throw Error(
8265
- "Argument appears to not be a ReactComponent. Keys: " +
8266
- Object.keys(component)
8474
+ "Argument appears to not be a ReactComponent. Keys: " + component
8267
8475
  );
8268
8476
  }
8269
8477
  component = findCurrentHostFiber(fiber);
@@ -8454,10 +8662,10 @@ batchedUpdatesImpl = function(fn, a) {
8454
8662
  }
8455
8663
  };
8456
8664
  var roots = new Map(),
8457
- devToolsConfig$jscomp$inline_1014 = {
8665
+ devToolsConfig$jscomp$inline_1006 = {
8458
8666
  findFiberByHostInstance: getInstanceFromTag,
8459
8667
  bundleType: 0,
8460
- version: "18.0.0-bd5bf555e-20210823",
8668
+ version: "18.0.0-afcb9cdc9-20211008",
8461
8669
  rendererPackageName: "react-native-renderer",
8462
8670
  rendererConfig: {
8463
8671
  getInspectorDataForViewTag: function() {
@@ -8472,11 +8680,11 @@ var roots = new Map(),
8472
8680
  }.bind(null, findNodeHandle)
8473
8681
  }
8474
8682
  };
8475
- var internals$jscomp$inline_1287 = {
8476
- bundleType: devToolsConfig$jscomp$inline_1014.bundleType,
8477
- version: devToolsConfig$jscomp$inline_1014.version,
8478
- rendererPackageName: devToolsConfig$jscomp$inline_1014.rendererPackageName,
8479
- rendererConfig: devToolsConfig$jscomp$inline_1014.rendererConfig,
8683
+ var internals$jscomp$inline_1290 = {
8684
+ bundleType: devToolsConfig$jscomp$inline_1006.bundleType,
8685
+ version: devToolsConfig$jscomp$inline_1006.version,
8686
+ rendererPackageName: devToolsConfig$jscomp$inline_1006.rendererPackageName,
8687
+ rendererConfig: devToolsConfig$jscomp$inline_1006.rendererConfig,
8480
8688
  overrideHookState: null,
8481
8689
  overrideHookStateDeletePath: null,
8482
8690
  overrideHookStateRenamePath: null,
@@ -8492,26 +8700,26 @@ var internals$jscomp$inline_1287 = {
8492
8700
  return null === fiber ? null : fiber.stateNode;
8493
8701
  },
8494
8702
  findFiberByHostInstance:
8495
- devToolsConfig$jscomp$inline_1014.findFiberByHostInstance ||
8703
+ devToolsConfig$jscomp$inline_1006.findFiberByHostInstance ||
8496
8704
  emptyFindFiberByHostInstance,
8497
8705
  findHostInstancesForRefresh: null,
8498
8706
  scheduleRefresh: null,
8499
8707
  scheduleRoot: null,
8500
8708
  setRefreshHandler: null,
8501
8709
  getCurrentFiber: null,
8502
- reconcilerVersion: "18.0.0-bd5bf555e-20210823"
8710
+ reconcilerVersion: "18.0.0-afcb9cdc9-20211008"
8503
8711
  };
8504
8712
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
8505
- var hook$jscomp$inline_1288 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
8713
+ var hook$jscomp$inline_1291 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
8506
8714
  if (
8507
- !hook$jscomp$inline_1288.isDisabled &&
8508
- hook$jscomp$inline_1288.supportsFiber
8715
+ !hook$jscomp$inline_1291.isDisabled &&
8716
+ hook$jscomp$inline_1291.supportsFiber
8509
8717
  )
8510
8718
  try {
8511
- (rendererID = hook$jscomp$inline_1288.inject(
8512
- internals$jscomp$inline_1287
8719
+ (rendererID = hook$jscomp$inline_1291.inject(
8720
+ internals$jscomp$inline_1290
8513
8721
  )),
8514
- (injectedHook = hook$jscomp$inline_1288);
8722
+ (injectedHook = hook$jscomp$inline_1291);
8515
8723
  } catch (err) {}
8516
8724
  }
8517
8725
  exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {