@kubb/react-fabric 0.12.11 → 0.13.1

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 (51) hide show
  1. package/README.md +0 -13
  2. package/dist/{chunk-DbZtQ4qb.js → chunk-Cnw5r_-A.js} +1 -5
  3. package/dist/{getFunctionParams-BaDz1zZu.d.cts → getFunctionParams-BJb7Kd-D.d.ts} +2 -1
  4. package/dist/{getFunctionParams-CINBJQGH.d.ts → getFunctionParams-ClT1iMr_.d.ts} +2 -3
  5. package/dist/globals.d.ts +2 -2
  6. package/dist/index.cjs +37 -39
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.ts +4 -4
  9. package/dist/index.js +39 -41
  10. package/dist/index.js.map +1 -1
  11. package/dist/jsx-dev-runtime.cjs +4 -21
  12. package/dist/jsx-dev-runtime.cjs.map +1 -1
  13. package/dist/jsx-dev-runtime.d.ts +3 -3
  14. package/dist/jsx-dev-runtime.js +5 -22
  15. package/dist/jsx-dev-runtime.js.map +1 -1
  16. package/dist/{jsx-namespace-Bg7Kfg54.d.ts → jsx-namespace-BLQ6SvuD.d.ts} +2 -2
  17. package/dist/{jsx-namespace-zRAnd-2Y.d.cts → jsx-namespace-CFK460kI.d.ts} +3 -3
  18. package/dist/{jsx-runtime-CRt7_dDm.cjs → jsx-runtime-7CEZevwV.cjs} +5 -23
  19. package/dist/{jsx-runtime-CRt7_dDm.cjs.map → jsx-runtime-7CEZevwV.cjs.map} +1 -1
  20. package/dist/{jsx-runtime-CQFBnRKx.js → jsx-runtime-Dm7PKVbc.js} +6 -24
  21. package/dist/{jsx-runtime-CQFBnRKx.js.map → jsx-runtime-Dm7PKVbc.js.map} +1 -1
  22. package/dist/jsx-runtime.cjs +4 -3
  23. package/dist/jsx-runtime.d.ts +3 -3
  24. package/dist/jsx-runtime.js +5 -4
  25. package/dist/plugins.cjs +3 -3
  26. package/dist/plugins.d.ts +1 -1
  27. package/dist/plugins.js +3 -3
  28. package/dist/{react--draJ5Pm.js → react-D652OKii.js} +31 -91
  29. package/dist/{react--draJ5Pm.js.map → react-D652OKii.js.map} +1 -1
  30. package/dist/{react-s8IDJhpB.cjs → react-DorQ0Kea.cjs} +30 -100
  31. package/dist/{react-s8IDJhpB.cjs.map → react-DorQ0Kea.cjs.map} +1 -1
  32. package/dist/{reactPlugin-D7d08sbQ.d.ts → reactPlugin-BAQFl4pj.d.ts} +2 -2
  33. package/dist/{reactPlugin-DqJsInTf.js → reactPlugin-BkDkx1cs.js} +410 -1650
  34. package/dist/reactPlugin-BkDkx1cs.js.map +1 -0
  35. package/dist/{reactPlugin-CfilrfRJ.d.cts → reactPlugin-Ch2aSTYS.d.ts} +3 -3
  36. package/dist/{reactPlugin-yxgFjveE.cjs → reactPlugin-DTg048L6.cjs} +408 -1666
  37. package/dist/reactPlugin-DTg048L6.cjs.map +1 -0
  38. package/dist/types.d.ts +4 -3
  39. package/package.json +8 -11
  40. package/src/Runtime.tsx +6 -8
  41. package/src/devtools.ts +11 -15
  42. package/src/utils/getFunctionParams.ts +17 -23
  43. package/dist/globals.d.cts +0 -23
  44. package/dist/index.d.cts +0 -346
  45. package/dist/jsx-dev-runtime.d.cts +0 -13
  46. package/dist/jsx-runtime.d.cts +0 -15
  47. package/dist/parsers.d.cts +0 -1
  48. package/dist/plugins.d.cts +0 -3
  49. package/dist/reactPlugin-DqJsInTf.js.map +0 -1
  50. package/dist/reactPlugin-yxgFjveE.cjs.map +0 -1
  51. package/dist/types.d.cts +0 -61
@@ -1,61 +1,16 @@
1
- import { a as __toESM, r as __name, t as __commonJSMin } from "./chunk-DbZtQ4qb.js";
2
- import { t as require_react } from "./react--draJ5Pm.js";
1
+ import { i as __toESM, t as __commonJSMin } from "./chunk-Cnw5r_-A.js";
2
+ import { t as require_react } from "./react-D652OKii.js";
3
3
  import { jsx } from "./jsx-runtime.js";
4
- import { NodeTreeContext, RootContext, TreeNode, provide, renderIndent } from "@kubb/fabric-core";
5
- import { onExit } from "signal-exit";
4
+ import { NodeTreeContext, RootContext, TreeNode, onProcessExit, provide, renderIndent } from "@kubb/fabric-core";
6
5
  import { definePlugin } from "@kubb/fabric-core/plugins";
7
6
  import process$1 from "node:process";
8
7
  import { createExport, createImport, print } from "@kubb/fabric-core/parsers/typescript";
9
8
 
10
- //#region \0@oxc-project+runtime@0.112.0/helpers/typeof.js
11
- function _typeof(o) {
12
- "@babel/helpers - typeof";
13
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
14
- return typeof o;
15
- } : function(o) {
16
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
17
- }, _typeof(o);
18
- }
19
-
20
- //#endregion
21
- //#region \0@oxc-project+runtime@0.112.0/helpers/toPrimitive.js
22
- function toPrimitive(t, r) {
23
- if ("object" != _typeof(t) || !t) return t;
24
- var e = t[Symbol.toPrimitive];
25
- if (void 0 !== e) {
26
- var i = e.call(t, r || "default");
27
- if ("object" != _typeof(i)) return i;
28
- throw new TypeError("@@toPrimitive must return a primitive value.");
29
- }
30
- return ("string" === r ? String : Number)(t);
31
- }
32
-
33
- //#endregion
34
- //#region \0@oxc-project+runtime@0.112.0/helpers/toPropertyKey.js
35
- function toPropertyKey(t) {
36
- var i = toPrimitive(t, "string");
37
- return "symbol" == _typeof(i) ? i : i + "";
38
- }
39
-
40
- //#endregion
41
- //#region \0@oxc-project+runtime@0.112.0/helpers/defineProperty.js
42
- function _defineProperty(e, r, t) {
43
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
44
- value: t,
45
- enumerable: !0,
46
- configurable: !0,
47
- writable: !0
48
- }) : e[r] = t, e;
49
- }
50
-
51
- //#endregion
52
9
  //#region src/components/Root.tsx
53
10
  var import_react = /* @__PURE__ */ __toESM(require_react());
54
11
  var ErrorBoundary = class extends import_react.Component {
55
- constructor(..._args) {
56
- super(..._args);
57
- _defineProperty(this, "state", { hasError: false });
58
- }
12
+ state = { hasError: false };
13
+ static displayName = "ErrorBoundary";
59
14
  static getDerivedStateFromError(_error) {
60
15
  return { hasError: true };
61
16
  }
@@ -67,7 +22,6 @@ var ErrorBoundary = class extends import_react.Component {
67
22
  return this.props.children;
68
23
  }
69
24
  };
70
- _defineProperty(ErrorBoundary, "displayName", "ErrorBoundary");
71
25
  /**
72
26
  * This component provides the root behavior for the Fabric runtime.
73
27
  */
@@ -103,8 +57,7 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
103
57
  var index = heap.length;
104
58
  heap.push(node);
105
59
  a: for (; 0 < index;) {
106
- var parentIndex = index - 1 >>> 1;
107
- var parent = heap[parentIndex];
60
+ var parentIndex = index - 1 >>> 1, parent = heap[parentIndex];
108
61
  if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex;
109
62
  else break a;
110
63
  }
@@ -114,15 +67,11 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
114
67
  }
115
68
  function pop(heap) {
116
69
  if (0 === heap.length) return null;
117
- var first = heap[0];
118
- var last = heap.pop();
70
+ var first = heap[0], last = heap.pop();
119
71
  if (last !== first) {
120
72
  heap[0] = last;
121
73
  a: for (var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;) {
122
- var leftIndex = 2 * (index + 1) - 1;
123
- var left = heap[leftIndex];
124
- var rightIndex = leftIndex + 1;
125
- var right = heap[rightIndex];
74
+ var leftIndex = 2 * (index + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex];
126
75
  if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex);
127
76
  else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex;
128
77
  else break a;
@@ -141,24 +90,12 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
141
90
  return localPerformance.now();
142
91
  };
143
92
  } else {
144
- var localDate = Date;
145
- var initialTime = localDate.now();
93
+ var localDate = Date, initialTime = localDate.now();
146
94
  exports.unstable_now = function() {
147
95
  return localDate.now() - initialTime;
148
96
  };
149
97
  }
150
- var taskQueue = [];
151
- var timerQueue = [];
152
- var taskIdCounter = 1;
153
- var currentTask = null;
154
- var currentPriorityLevel = 3;
155
- var isPerformingWork = !1;
156
- var isHostCallbackScheduled = !1;
157
- var isHostTimeoutScheduled = !1;
158
- var needsPaint = !1;
159
- var localSetTimeout = "function" === typeof setTimeout ? setTimeout : null;
160
- var localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null;
161
- var localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
98
+ var taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = !1, isHostCallbackScheduled = !1, isHostTimeoutScheduled = !1, needsPaint = !1, localSetTimeout = "function" === typeof setTimeout ? setTimeout : null, localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null, localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
162
99
  function advanceTimers(currentTime) {
163
100
  for (var timer = peek(timerQueue); null !== timer;) {
164
101
  if (null === timer.callback) pop(timerQueue);
@@ -176,10 +113,7 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
176
113
  null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
177
114
  }
178
115
  }
179
- var isMessageLoopRunning = !1;
180
- var taskTimeoutID = -1;
181
- var frameInterval = 5;
182
- var startTime = -1;
116
+ var isMessageLoopRunning = !1, taskTimeoutID = -1, frameInterval = 5, startTime = -1;
183
117
  function shouldYieldToHost() {
184
118
  return needsPaint ? !0 : exports.unstable_now() - startTime < frameInterval ? !1 : !0;
185
119
  }
@@ -239,8 +173,7 @@ var require_scheduler_production = /* @__PURE__ */ __commonJSMin(((exports) => {
239
173
  localSetImmediate(performWorkUntilDeadline);
240
174
  };
241
175
  else if ("undefined" !== typeof MessageChannel) {
242
- var channel = new MessageChannel();
243
- var port = channel.port2;
176
+ var channel = new MessageChannel(), port = channel.port2;
244
177
  channel.port1.onmessage = performWorkUntilDeadline;
245
178
  schedulePerformWorkUntilDeadline = function() {
246
179
  port.postMessage(null);
@@ -418,8 +351,7 @@ var require_scheduler_development = /* @__PURE__ */ __commonJSMin(((exports) =>
418
351
  var index = heap.length;
419
352
  heap.push(node);
420
353
  a: for (; 0 < index;) {
421
- var parentIndex = index - 1 >>> 1;
422
- var parent = heap[parentIndex];
354
+ var parentIndex = index - 1 >>> 1, parent = heap[parentIndex];
423
355
  if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex;
424
356
  else break a;
425
357
  }
@@ -429,15 +361,11 @@ var require_scheduler_development = /* @__PURE__ */ __commonJSMin(((exports) =>
429
361
  }
430
362
  function pop(heap) {
431
363
  if (0 === heap.length) return null;
432
- var first = heap[0];
433
- var last = heap.pop();
364
+ var first = heap[0], last = heap.pop();
434
365
  if (last !== first) {
435
366
  heap[0] = last;
436
367
  a: for (var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;) {
437
- var leftIndex = 2 * (index + 1) - 1;
438
- var left = heap[leftIndex];
439
- var rightIndex = leftIndex + 1;
440
- var right = heap[rightIndex];
368
+ var leftIndex = 2 * (index + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex];
441
369
  if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex);
442
370
  else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex;
443
371
  else break a;
@@ -482,34 +410,17 @@ var require_scheduler_development = /* @__PURE__ */ __commonJSMin(((exports) =>
482
410
  return localPerformance.now();
483
411
  };
484
412
  } else {
485
- var localDate = Date;
486
- var initialTime = localDate.now();
413
+ var localDate = Date, initialTime = localDate.now();
487
414
  exports.unstable_now = function() {
488
415
  return localDate.now() - initialTime;
489
416
  };
490
417
  }
491
- var taskQueue = [];
492
- var timerQueue = [];
493
- var taskIdCounter = 1;
494
- var currentTask = null;
495
- var currentPriorityLevel = 3;
496
- var isPerformingWork = !1;
497
- var isHostCallbackScheduled = !1;
498
- var isHostTimeoutScheduled = !1;
499
- var needsPaint = !1;
500
- var localSetTimeout = "function" === typeof setTimeout ? setTimeout : null;
501
- var localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null;
502
- var localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
503
- var isMessageLoopRunning = !1;
504
- var taskTimeoutID = -1;
505
- var frameInterval = 5;
506
- var startTime = -1;
418
+ var taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = !1, isHostCallbackScheduled = !1, isHostTimeoutScheduled = !1, needsPaint = !1, localSetTimeout = "function" === typeof setTimeout ? setTimeout : null, localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null, localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null, isMessageLoopRunning = !1, taskTimeoutID = -1, frameInterval = 5, startTime = -1;
507
419
  if ("function" === typeof localSetImmediate) var schedulePerformWorkUntilDeadline = function() {
508
420
  localSetImmediate(performWorkUntilDeadline);
509
421
  };
510
422
  else if ("undefined" !== typeof MessageChannel) {
511
- var channel = new MessageChannel();
512
- var port = channel.port2;
423
+ var channel = new MessageChannel(), port = channel.port2;
513
424
  channel.port1.onmessage = performWorkUntilDeadline;
514
425
  schedulePerformWorkUntilDeadline = function() {
515
426
  port.postMessage(null);
@@ -649,8 +560,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
649
560
  return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
650
561
  }
651
562
  function getNearestMountedFiber(fiber) {
652
- var node = fiber;
653
- var nearestMounted = fiber;
563
+ var node = fiber, nearestMounted = fiber;
654
564
  if (fiber.alternate) for (; node.return;) node = node.return;
655
565
  else {
656
566
  fiber = node;
@@ -842,9 +752,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
842
752
  function getNextLanes(root, wipLanes, rootHasPendingCommit) {
843
753
  var pendingLanes = root.pendingLanes;
844
754
  if (0 === pendingLanes) return 0;
845
- var nextLanes = 0;
846
- var suspendedLanes = root.suspendedLanes;
847
- var pingedLanes = root.pingedLanes;
755
+ var nextLanes = 0, suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes;
848
756
  root = root.warmLanes;
849
757
  var nonIdlePendingLanes = pendingLanes & 134217727;
850
758
  0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -913,12 +821,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
913
821
  root.entangledLanes &= remainingLanes;
914
822
  root.errorRecoveryDisabledLanes &= remainingLanes;
915
823
  root.shellSuspendCounter = 0;
916
- var entanglements = root.entanglements;
917
- var expirationTimes = root.expirationTimes;
918
- var hiddenUpdates = root.hiddenUpdates;
824
+ var entanglements = root.entanglements, expirationTimes = root.expirationTimes, hiddenUpdates = root.hiddenUpdates;
919
825
  for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;) {
920
- var index$5 = 31 - clz32(remainingLanes);
921
- var lane = 1 << index$5;
826
+ var index$5 = 31 - clz32(remainingLanes), lane = 1 << index$5;
922
827
  entanglements[index$5] = 0;
923
828
  expirationTimes[index$5] = -1;
924
829
  var hiddenUpdatesForLane = hiddenUpdates[index$5];
@@ -941,8 +846,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
941
846
  function markRootEntangled(root, entangledLanes) {
942
847
  var rootEntangledLanes = root.entangledLanes |= entangledLanes;
943
848
  for (root = root.entanglements; rootEntangledLanes;) {
944
- var index$6 = 31 - clz32(rootEntangledLanes);
945
- var lane = 1 << index$6;
849
+ var index$6 = 31 - clz32(rootEntangledLanes), lane = 1 << index$6;
946
850
  lane & entangledLanes | root[index$6] & entangledLanes && (root[index$6] |= entangledLanes);
947
851
  rootEntangledLanes &= ~lane;
948
852
  }
@@ -1059,12 +963,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
1059
963
  RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
1060
964
  var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name");
1061
965
  namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });
1062
- var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot();
1063
- var sampleStack = _RunInRootFrame$Deter[0];
1064
- var controlStack = _RunInRootFrame$Deter[1];
966
+ var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
1065
967
  if (sampleStack && controlStack) {
1066
- var sampleLines = sampleStack.split("\n");
1067
- var controlLines = controlStack.split("\n");
968
+ var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n");
1068
969
  for (namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");) RunInRootFrame++;
1069
970
  for (; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++;
1070
971
  if (RunInRootFrame === sampleLines.length || namePropDescriptor === controlLines.length) for (RunInRootFrame = sampleLines.length - 1, namePropDescriptor = controlLines.length - 1; 1 <= RunInRootFrame && 0 <= namePropDescriptor && sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];) namePropDescriptor--;
@@ -1102,8 +1003,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
1102
1003
  }
1103
1004
  function getStackByFiberInDevAndProd(workInProgress) {
1104
1005
  try {
1105
- var info = "";
1106
- var previous = null;
1006
+ var info = "", previous = null;
1107
1007
  do
1108
1008
  info += describeFiber(workInProgress, previous), previous = workInProgress, workInProgress = workInProgress.return;
1109
1009
  while (workInProgress);
@@ -1186,8 +1086,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
1186
1086
  }
1187
1087
  function pushHostContext(fiber) {
1188
1088
  null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber);
1189
- var context = contextStackCursor.current;
1190
- var nextContext = getChildHostContext(context, fiber.type);
1089
+ var context = contextStackCursor.current, nextContext = getChildHostContext(context, fiber.type);
1191
1090
  context !== nextContext && (push(contextFiberStackCursor, fiber), push(contextStackCursor, nextContext));
1192
1091
  }
1193
1092
  function popHostContext(fiber) {
@@ -1403,8 +1302,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
1403
1302
  var pendingLanes = root.pendingLanes;
1404
1303
  if (0 === pendingLanes) var JSCompiler_inline_result = 0;
1405
1304
  else {
1406
- var suspendedLanes = root.suspendedLanes;
1407
- var pingedLanes = root.pingedLanes;
1305
+ var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes;
1408
1306
  JSCompiler_inline_result = (1 << 31 - clz32(42 | syncTransitionLanes) + 1) - 1;
1409
1307
  JSCompiler_inline_result &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
1410
1308
  JSCompiler_inline_result = JSCompiler_inline_result & 201326741 ? JSCompiler_inline_result & 201326741 | 1 : JSCompiler_inline_result ? JSCompiler_inline_result | 2 : 0;
@@ -1425,8 +1323,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
1425
1323
  var syncTransitionLanes = 0;
1426
1324
  0 !== currentEventTransitionLane && shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane);
1427
1325
  for (var currentTime = now(), prev = null, root = firstScheduledRoot; null !== root;) {
1428
- var next = root.next;
1429
- var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
1326
+ var next = root.next, nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
1430
1327
  if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);
1431
1328
  else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = !0;
1432
1329
  root = next;
@@ -1436,9 +1333,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
1436
1333
  }
1437
1334
  function scheduleTaskForRootDuringMicrotask(root, currentTime) {
1438
1335
  for (var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;) {
1439
- var index$3 = 31 - clz32(lanes);
1440
- var lane = 1 << index$3;
1441
- var expirationTime = expirationTimes[index$3];
1336
+ var index$3 = 31 - clz32(lanes), lane = 1 << index$3, expirationTime = expirationTimes[index$3];
1442
1337
  if (-1 === expirationTime) {
1443
1338
  if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index$3] = computeExpirationTime(lane, currentTime);
1444
1339
  } else expirationTime <= currentTime && (root.expiredLanes |= lane);
@@ -1533,8 +1428,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
1533
1428
  }
1534
1429
  }
1535
1430
  function chainThenableValue(thenable, result) {
1536
- var listeners = [];
1537
- var thenableWithOverride = {
1431
+ var listeners = [], thenableWithOverride = {
1538
1432
  status: "pending",
1539
1433
  value: null,
1540
1434
  reason: null,
@@ -1570,8 +1464,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
1570
1464
  function shallowEqual(objA, objB) {
1571
1465
  if (objectIs(objA, objB)) return !0;
1572
1466
  if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return !1;
1573
- var keysA = Object.keys(objA);
1574
- var keysB = Object.keys(objB);
1467
+ var keysA = Object.keys(objA), keysB = Object.keys(objB);
1575
1468
  if (keysA.length !== keysB.length) return !1;
1576
1469
  for (keysB = 0; keysB < keysA.length; keysB++) {
1577
1470
  var currentKey = keysA[keysB];
@@ -2003,11 +1896,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2003
1896
  }
2004
1897
  }
2005
1898
  function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
2006
- var queue = workInProgress.updateQueue;
2007
- var current = workInProgress.alternate;
1899
+ var queue = workInProgress.updateQueue, current = workInProgress.alternate;
2008
1900
  if (null !== current && (current = current.updateQueue, queue === current)) {
2009
- var newFirst = null;
2010
- var newLast = null;
1901
+ var newFirst = null, newLast = null;
2011
1902
  queue = queue.firstBaseUpdate;
2012
1903
  if (null !== queue) {
2013
1904
  do {
@@ -2047,13 +1938,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2047
1938
  didReadFromEntangledAsyncAction = !1;
2048
1939
  var queue = workInProgress$jscomp$0.updateQueue;
2049
1940
  hasForceUpdate = !1;
2050
- var firstBaseUpdate = queue.firstBaseUpdate;
2051
- var lastBaseUpdate = queue.lastBaseUpdate;
2052
- var pendingQueue = queue.shared.pending;
1941
+ var firstBaseUpdate = queue.firstBaseUpdate, lastBaseUpdate = queue.lastBaseUpdate, pendingQueue = queue.shared.pending;
2053
1942
  if (null !== pendingQueue) {
2054
1943
  queue.shared.pending = null;
2055
- var lastPendingUpdate = pendingQueue;
2056
- var firstPendingUpdate = lastPendingUpdate.next;
1944
+ var lastPendingUpdate = pendingQueue, firstPendingUpdate = lastPendingUpdate.next;
2057
1945
  lastPendingUpdate.next = null;
2058
1946
  null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate;
2059
1947
  lastBaseUpdate = lastPendingUpdate;
@@ -2066,8 +1954,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2066
1954
  current = firstPendingUpdate = lastPendingUpdate = null;
2067
1955
  pendingQueue = firstBaseUpdate;
2068
1956
  do {
2069
- var updateLane = pendingQueue.lane & -536870913;
2070
- var isHiddenUpdate = updateLane !== pendingQueue.lane;
1957
+ var updateLane = pendingQueue.lane & -536870913, isHiddenUpdate = updateLane !== pendingQueue.lane;
2071
1958
  if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
2072
1959
  0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0);
2073
1960
  null !== current && (current = current.next = {
@@ -2078,8 +1965,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2078
1965
  next: null
2079
1966
  });
2080
1967
  a: {
2081
- var workInProgress = workInProgress$jscomp$0;
2082
- var update = pendingQueue;
1968
+ var workInProgress = workInProgress$jscomp$0, update = pendingQueue;
2083
1969
  updateLane = props;
2084
1970
  var instance = instance$jscomp$0;
2085
1971
  switch (update.tag) {
@@ -2248,8 +2134,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2248
2134
  return children;
2249
2135
  }
2250
2136
  function TransitionAwareHostComponent() {
2251
- var dispatcher = ReactSharedInternals.H;
2252
- var maybeThenable = dispatcher.useState()[0];
2137
+ var dispatcher = ReactSharedInternals.H, maybeThenable = dispatcher.useState()[0];
2253
2138
  maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable;
2254
2139
  dispatcher = dispatcher.useState()[0];
2255
2140
  (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024);
@@ -2340,8 +2225,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2340
2225
  throw Error(formatProdErrorMessage(438, String(usable)));
2341
2226
  }
2342
2227
  function useMemoCache(size) {
2343
- var memoCache = null;
2344
- var updateQueue = currentlyRenderingFiber.updateQueue;
2228
+ var memoCache = null, updateQueue = currentlyRenderingFiber.updateQueue;
2345
2229
  null !== updateQueue && (memoCache = updateQueue.memoCache);
2346
2230
  if (null == memoCache) {
2347
2231
  var current = currentlyRenderingFiber.alternate;
@@ -2352,10 +2236,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2352
2236
  index: 0
2353
2237
  })));
2354
2238
  }
2355
- null == memoCache && (memoCache = {
2239
+ memoCache ??= {
2356
2240
  data: [],
2357
2241
  index: 0
2358
- });
2242
+ };
2359
2243
  null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = updateQueue);
2360
2244
  updateQueue.memoCache = memoCache;
2361
2245
  updateQueue = memoCache.data[memoCache.index];
@@ -2373,8 +2257,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2373
2257
  var queue = hook.queue;
2374
2258
  if (null === queue) throw Error(formatProdErrorMessage(311));
2375
2259
  queue.lastRenderedReducer = reducer;
2376
- var baseQueue = hook.baseQueue;
2377
- var pendingQueue = queue.pending;
2260
+ var baseQueue = hook.baseQueue, pendingQueue = queue.pending;
2378
2261
  if (null !== pendingQueue) {
2379
2262
  if (null !== baseQueue) {
2380
2263
  var baseFirst = baseQueue.next;
@@ -2388,10 +2271,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2388
2271
  if (null === baseQueue) hook.memoizedState = pendingQueue;
2389
2272
  else {
2390
2273
  current = baseQueue.next;
2391
- var newBaseQueueFirst = baseFirst = null;
2392
- var newBaseQueueLast = null;
2393
- var update = current;
2394
- var didReadFromEntangledAsyncAction$51 = !1;
2274
+ var newBaseQueueFirst = baseFirst = null, newBaseQueueLast = null, update = current, didReadFromEntangledAsyncAction$51 = !1;
2395
2275
  do {
2396
2276
  var updateLane = update.lane & -536870913;
2397
2277
  if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
@@ -2443,13 +2323,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2443
2323
  return [hook.memoizedState, queue.dispatch];
2444
2324
  }
2445
2325
  function rerenderReducer(reducer) {
2446
- var hook = updateWorkInProgressHook();
2447
- var queue = hook.queue;
2326
+ var hook = updateWorkInProgressHook(), queue = hook.queue;
2448
2327
  if (null === queue) throw Error(formatProdErrorMessage(311));
2449
2328
  queue.lastRenderedReducer = reducer;
2450
- var dispatch = queue.dispatch;
2451
- var lastRenderPhaseUpdate = queue.pending;
2452
- var newState = hook.memoizedState;
2329
+ var dispatch = queue.dispatch, lastRenderPhaseUpdate = queue.pending, newState = hook.memoizedState;
2453
2330
  if (null !== lastRenderPhaseUpdate) {
2454
2331
  queue.pending = null;
2455
2332
  var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next;
@@ -2464,9 +2341,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2464
2341
  return [newState, dispatch];
2465
2342
  }
2466
2343
  function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
2467
- var fiber = currentlyRenderingFiber;
2468
- var hook = updateWorkInProgressHook();
2469
- var isHydrating$jscomp$0 = isHydrating;
2344
+ var fiber = currentlyRenderingFiber, hook = updateWorkInProgressHook(), isHydrating$jscomp$0 = isHydrating;
2470
2345
  if (isHydrating$jscomp$0) {
2471
2346
  if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));
2472
2347
  getServerSnapshot = getServerSnapshot();
@@ -2568,16 +2443,12 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2568
2443
  }
2569
2444
  }
2570
2445
  function runActionStateAction(actionQueue, node) {
2571
- var action = node.action;
2572
- var payload = node.payload;
2573
- var prevState = actionQueue.state;
2446
+ var action = node.action, payload = node.payload, prevState = actionQueue.state;
2574
2447
  if (node.isTransition) {
2575
- var prevTransition = ReactSharedInternals.T;
2576
- var currentTransition = {};
2448
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
2577
2449
  ReactSharedInternals.T = currentTransition;
2578
2450
  try {
2579
- var returnValue = action(prevState, payload);
2580
- var onStartTransitionFinish = ReactSharedInternals.S;
2451
+ var returnValue = action(prevState, payload), onStartTransitionFinish = ReactSharedInternals.S;
2581
2452
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
2582
2453
  handleActionReturnValue(actionQueue, node, returnValue);
2583
2454
  } catch (error) {
@@ -2691,8 +2562,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2691
2562
  }
2692
2563
  else state = currentStateHook;
2693
2564
  currentStateHook = updateWorkInProgressHook();
2694
- var actionQueue = currentStateHook.queue;
2695
- var dispatch = actionQueue.dispatch;
2565
+ var actionQueue = currentStateHook.queue, dispatch = actionQueue.dispatch;
2696
2566
  action !== currentStateHook.memoizedState && (currentlyRenderingFiber.flags |= 2048, pushSimpleEffect(9, { destroy: void 0 }, actionStateActionEffect.bind(null, actionQueue, action), null));
2697
2567
  return [
2698
2568
  state,
@@ -2704,8 +2574,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2704
2574
  actionQueue.action = action;
2705
2575
  }
2706
2576
  function rerenderActionState(action) {
2707
- var stateHook = updateWorkInProgressHook();
2708
- var currentStateHook = currentHook;
2577
+ var stateHook = updateWorkInProgressHook(), currentStateHook = currentHook;
2709
2578
  if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action);
2710
2579
  updateWorkInProgressHook();
2711
2580
  stateHook = stateHook.memoizedState;
@@ -2840,13 +2709,11 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2840
2709
  function startTransition(fiber, queue, pendingState, finishedState, callback) {
2841
2710
  var previousPriority = getCurrentUpdatePriority();
2842
2711
  setCurrentUpdatePriority(0 !== previousPriority && 8 > previousPriority ? previousPriority : 8);
2843
- var prevTransition = ReactSharedInternals.T;
2844
- var currentTransition = {};
2712
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
2845
2713
  ReactSharedInternals.T = currentTransition;
2846
2714
  dispatchOptimisticSetState(fiber, !1, queue, pendingState);
2847
2715
  try {
2848
- var returnValue = callback();
2849
- var onStartTransitionFinish = ReactSharedInternals.S;
2716
+ var returnValue = callback(), onStartTransitionFinish = ReactSharedInternals.S;
2850
2717
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
2851
2718
  if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) dispatchSetStateInternal(fiber, queue, chainThenableValue(returnValue, finishedState), requestUpdateLane(fiber));
2852
2719
  else dispatchSetStateInternal(fiber, queue, finishedState, requestUpdateLane(fiber));
@@ -2950,8 +2817,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
2950
2817
  else {
2951
2818
  var alternate = fiber.alternate;
2952
2819
  if (0 === fiber.lanes && (null === alternate || 0 === alternate.lanes) && (alternate = queue.lastRenderedReducer, null !== alternate)) try {
2953
- var currentState = queue.lastRenderedState;
2954
- var eagerState = alternate(currentState, action);
2820
+ var currentState = queue.lastRenderedState, eagerState = alternate(currentState, action);
2955
2821
  update.hasEagerState = !0;
2956
2822
  update.eagerState = eagerState;
2957
2823
  if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1;
@@ -3168,8 +3034,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3168
3034
  return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);
3169
3035
  }
3170
3036
  function updateOffscreenComponent(current, workInProgress, renderLanes, nextProps) {
3171
- var nextChildren = nextProps.children;
3172
- var prevState = null !== current ? current.memoizedState : null;
3037
+ var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null;
3173
3038
  null === current && null === workInProgress.stateNode && (workInProgress.stateNode = {
3174
3039
  _visibility: 1,
3175
3040
  _pendingMarkers: null,
@@ -3240,8 +3105,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3240
3105
  return current;
3241
3106
  }
3242
3107
  function updateActivityComponent(current, workInProgress, renderLanes) {
3243
- var nextProps = workInProgress.pendingProps;
3244
- var didSuspend = 0 !== (workInProgress.flags & 128);
3108
+ var nextProps = workInProgress.pendingProps, didSuspend = 0 !== (workInProgress.flags & 128);
3245
3109
  workInProgress.flags &= -129;
3246
3110
  if (null === current) {
3247
3111
  if (isHydrating) {
@@ -3319,8 +3183,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3319
3183
  function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) {
3320
3184
  prepareToReadContext(workInProgress);
3321
3185
  if (null === workInProgress.stateNode) {
3322
- var context = emptyContextObject;
3323
- var contextType = Component.contextType;
3186
+ var context = emptyContextObject, contextType = Component.contextType;
3324
3187
  "object" === typeof contextType && null !== contextType && (context = readContext(contextType));
3325
3188
  context = new Component(nextProps, context);
3326
3189
  workInProgress.memoizedState = null !== context.state && void 0 !== context.state ? context.state : null;
@@ -3342,11 +3205,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3342
3205
  nextProps = !0;
3343
3206
  } else if (null === current) {
3344
3207
  context = workInProgress.stateNode;
3345
- var unresolvedOldProps = workInProgress.memoizedProps;
3346
- var oldProps = resolveClassComponentProps(Component, unresolvedOldProps);
3208
+ var unresolvedOldProps = workInProgress.memoizedProps, oldProps = resolveClassComponentProps(Component, unresolvedOldProps);
3347
3209
  context.props = oldProps;
3348
- var oldContext = context.context;
3349
- var contextType$jscomp$0 = Component.contextType;
3210
+ var oldContext = context.context, contextType$jscomp$0 = Component.contextType;
3350
3211
  contextType = emptyContextObject;
3351
3212
  "object" === typeof contextType$jscomp$0 && null !== contextType$jscomp$0 && (contextType = readContext(contextType$jscomp$0));
3352
3213
  var getDerivedStateFromProps = Component.getDerivedStateFromProps;
@@ -3405,10 +3266,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3405
3266
  return current;
3406
3267
  }
3407
3268
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
3408
- var nextProps = workInProgress.pendingProps;
3409
- var showFallback = !1;
3410
- var didSuspend = 0 !== (workInProgress.flags & 128);
3411
- var JSCompiler_temp;
3269
+ var nextProps = workInProgress.pendingProps, showFallback = !1, didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp;
3412
3270
  (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2));
3413
3271
  JSCompiler_temp && (showFallback = !0, workInProgress.flags &= -129);
3414
3272
  JSCompiler_temp = 0 !== (workInProgress.flags & 32);
@@ -3520,12 +3378,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3520
3378
  } : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode, renderState.treeForkCount = treeForkCount);
3521
3379
  }
3522
3380
  function updateSuspenseListComponent(current, workInProgress, renderLanes) {
3523
- var nextProps = workInProgress.pendingProps;
3524
- var revealOrder = nextProps.revealOrder;
3525
- var tailMode = nextProps.tail;
3381
+ var nextProps = workInProgress.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail;
3526
3382
  nextProps = nextProps.children;
3527
- var suspenseContext = suspenseStackCursor.current;
3528
- var shouldForceFallback = 0 !== (suspenseContext & 2);
3383
+ var suspenseContext = suspenseStackCursor.current, shouldForceFallback = 0 !== (suspenseContext & 2);
3529
3384
  shouldForceFallback ? (suspenseContext = suspenseContext & 1 | 2, workInProgress.flags |= 128) : suspenseContext &= 1;
3530
3385
  push(suspenseStackCursor, suspenseContext);
3531
3386
  reconcileChildren(current, workInProgress, nextProps, renderLanes);
@@ -3854,8 +3709,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3854
3709
  function updateHostContainer(current, workInProgress) {
3855
3710
  if (supportsPersistence && doesRequireClone(current, workInProgress)) {
3856
3711
  current = workInProgress.stateNode;
3857
- var container = current.containerInfo;
3858
- var newChildSet = createContainerChildSet();
3712
+ var container = current.containerInfo, newChildSet = createContainerChildSet();
3859
3713
  appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);
3860
3714
  current.pendingChildren = newChildSet;
3861
3715
  markUpdate(workInProgress);
@@ -3865,8 +3719,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3865
3719
  function updateHostComponent(current, workInProgress, type, newProps) {
3866
3720
  if (supportsMutation) current.memoizedProps !== newProps && markUpdate(workInProgress);
3867
3721
  else if (supportsPersistence) {
3868
- var currentInstance = current.stateNode;
3869
- var oldProps$88 = current.memoizedProps;
3722
+ var currentInstance = current.stateNode, oldProps$88 = current.memoizedProps;
3870
3723
  if ((current = doesRequireClone(current, workInProgress)) || oldProps$88 !== newProps) {
3871
3724
  var currentHostContext = contextStackCursor.current;
3872
3725
  oldProps$88 = cloneInstance(currentInstance, type, oldProps$88, newProps, !current, null);
@@ -3905,9 +3758,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3905
3758
  }
3906
3759
  }
3907
3760
  function bubbleProperties(completedWork) {
3908
- var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child;
3909
- var newChildLanes = 0;
3910
- var subtreeFlags = 0;
3761
+ var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0;
3911
3762
  if (didBailout) for (var child$91 = completedWork.child; null !== child$91;) newChildLanes |= child$91.lanes | child$91.childLanes, subtreeFlags |= child$91.subtreeFlags & 65011712, subtreeFlags |= child$91.flags & 65011712, child$91.return = completedWork, child$91 = child$91.sibling;
3912
3763
  else for (child$91 = completedWork.child; null !== child$91;) newChildLanes |= child$91.lanes | child$91.childLanes, subtreeFlags |= child$91.subtreeFlags, subtreeFlags |= child$91.flags, child$91.return = completedWork, child$91 = child$91.sibling;
3913
3764
  completedWork.subtreeFlags |= subtreeFlags;
@@ -3941,8 +3792,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
3941
3792
  bubbleProperties(workInProgress);
3942
3793
  return null;
3943
3794
  case 26: if (supportsResources) {
3944
- var type = workInProgress.type;
3945
- var nextResource = workInProgress.memoizedState;
3795
+ var type = workInProgress.type, nextResource = workInProgress.memoizedState;
3946
3796
  null === current ? (markUpdate(workInProgress), null !== nextResource ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, null, newProps, renderLanes))) : nextResource ? nextResource !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217) : (nextResource = current.memoizedProps, supportsMutation ? nextResource !== newProps && markUpdate(workInProgress) : updateHostComponent(current, workInProgress, type, newProps), bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, nextResource, newProps, renderLanes));
3947
3797
  return null;
3948
3798
  }
@@ -4182,16 +4032,14 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4182
4032
  }
4183
4033
  function commitHookEffectListMount(flags, finishedWork) {
4184
4034
  try {
4185
- var updateQueue = finishedWork.updateQueue;
4186
- var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
4035
+ var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
4187
4036
  if (null !== lastEffect) {
4188
4037
  var firstEffect = lastEffect.next;
4189
4038
  updateQueue = firstEffect;
4190
4039
  do {
4191
4040
  if ((updateQueue.tag & flags) === flags) {
4192
4041
  lastEffect = void 0;
4193
- var create = updateQueue.create;
4194
- var inst = updateQueue.inst;
4042
+ var create = updateQueue.create, inst = updateQueue.inst;
4195
4043
  lastEffect = create();
4196
4044
  inst.destroy = lastEffect;
4197
4045
  }
@@ -4204,20 +4052,17 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4204
4052
  }
4205
4053
  function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor$jscomp$0) {
4206
4054
  try {
4207
- var updateQueue = finishedWork.updateQueue;
4208
- var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
4055
+ var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
4209
4056
  if (null !== lastEffect) {
4210
4057
  var firstEffect = lastEffect.next;
4211
4058
  updateQueue = firstEffect;
4212
4059
  do {
4213
4060
  if ((updateQueue.tag & flags) === flags) {
4214
- var inst = updateQueue.inst;
4215
- var destroy = inst.destroy;
4061
+ var inst = updateQueue.inst, destroy = inst.destroy;
4216
4062
  if (void 0 !== destroy) {
4217
4063
  inst.destroy = void 0;
4218
4064
  lastEffect = finishedWork;
4219
- var nearestMountedAncestor = nearestMountedAncestor$jscomp$0;
4220
- var destroy_ = destroy;
4065
+ var nearestMountedAncestor = nearestMountedAncestor$jscomp$0, destroy_ = destroy;
4221
4066
  try {
4222
4067
  destroy_();
4223
4068
  } catch (error) {
@@ -4274,8 +4119,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4274
4119
  }
4275
4120
  }
4276
4121
  function safelyDetachRef(current, nearestMountedAncestor) {
4277
- var ref = current.ref;
4278
- var refCleanup = current.refCleanup;
4122
+ var ref = current.ref, refCleanup = current.refCleanup;
4279
4123
  if (null !== ref) if ("function" === typeof refCleanup) try {
4280
4124
  refCleanup();
4281
4125
  } catch (error) {
@@ -4291,9 +4135,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4291
4135
  else ref.current = null;
4292
4136
  }
4293
4137
  function commitHostMount(finishedWork) {
4294
- var type = finishedWork.type;
4295
- var props = finishedWork.memoizedProps;
4296
- var instance = finishedWork.stateNode;
4138
+ var type = finishedWork.type, props = finishedWork.memoizedProps, instance = finishedWork.stateNode;
4297
4139
  try {
4298
4140
  commitMount(instance, type, props, finishedWork);
4299
4141
  } catch (error) {
@@ -4345,8 +4187,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4345
4187
  }
4346
4188
  }
4347
4189
  function commitHostSingletonAcquisition(finishedWork) {
4348
- var singleton = finishedWork.stateNode;
4349
- var props = finishedWork.memoizedProps;
4190
+ var singleton = finishedWork.stateNode, props = finishedWork.memoizedProps;
4350
4191
  try {
4351
4192
  acquireSingletonInstance(finishedWork.type, props, singleton, finishedWork);
4352
4193
  } catch (error) {
@@ -4530,8 +4371,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4530
4371
  }
4531
4372
  case 27: if (supportsSingletons) {
4532
4373
  offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
4533
- var prevHostParent = hostParent;
4534
- var prevHostParentIsContainer = hostParentIsContainer;
4374
+ var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer;
4535
4375
  isSingletonScope(deletedFiber.type) && (hostParent = deletedFiber.stateNode, hostParentIsContainer = !1);
4536
4376
  recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
4537
4377
  releaseSingletonInstance(deletedFiber.stateNode);
@@ -4625,9 +4465,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4625
4465
  function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
4626
4466
  var deletions = parentFiber.deletions;
4627
4467
  if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
4628
- var childToDelete = deletions[i];
4629
- var root = root$jscomp$0;
4630
- var returnFiber = parentFiber;
4468
+ var childToDelete = deletions[i], root = root$jscomp$0, returnFiber = parentFiber;
4631
4469
  if (supportsMutation) {
4632
4470
  var parent = returnFiber;
4633
4471
  a: for (; null !== parent;) {
@@ -4664,8 +4502,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4664
4502
  if (parentFiber.subtreeFlags & 13886) for (parentFiber = parentFiber.child; null !== parentFiber;) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), parentFiber = parentFiber.sibling;
4665
4503
  }
4666
4504
  function commitMutationEffectsOnFiber(finishedWork, root) {
4667
- var current = finishedWork.alternate;
4668
- var flags = finishedWork.flags;
4505
+ var current = finishedWork.alternate, flags = finishedWork.flags;
4669
4506
  switch (finishedWork.tag) {
4670
4507
  case 0:
4671
4508
  case 11:
@@ -4774,9 +4611,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4774
4611
  break;
4775
4612
  case 22:
4776
4613
  hoistableRoot = null !== finishedWork.memoizedState;
4777
- var wasHidden = null !== current && null !== current.memoizedState;
4778
- var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden;
4779
- var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
4614
+ var wasHidden = null !== current && null !== current.memoizedState, prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden, prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
4780
4615
  offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;
4781
4616
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden;
4782
4617
  recursivelyTraverseMutationEffects(root, finishedWork);
@@ -4929,10 +4764,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
4929
4764
  function recursivelyTraverseReappearLayoutEffects(finishedRoot$jscomp$0, parentFiber, includeWorkInProgressEffects) {
4930
4765
  includeWorkInProgressEffects = includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772);
4931
4766
  for (parentFiber = parentFiber.child; null !== parentFiber;) {
4932
- var current = parentFiber.alternate;
4933
- var finishedRoot = finishedRoot$jscomp$0;
4934
- var finishedWork = parentFiber;
4935
- var flags = finishedWork.flags;
4767
+ var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, flags = finishedWork.flags;
4936
4768
  switch (finishedWork.tag) {
4937
4769
  case 0:
4938
4770
  case 11:
@@ -5028,9 +4860,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5028
4860
  recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions);
5029
4861
  finishedRoot = finishedWork.stateNode;
5030
4862
  try {
5031
- var _finishedWork$memoize2 = finishedWork.memoizedProps;
5032
- var id = _finishedWork$memoize2.id;
5033
- var onPostCommit = _finishedWork$memoize2.onPostCommit;
4863
+ var _finishedWork$memoize2 = finishedWork.memoizedProps, id = _finishedWork$memoize2.id, onPostCommit = _finishedWork$memoize2.onPostCommit;
5034
4864
  "function" === typeof onPostCommit && onPostCommit(id, null === finishedWork.alternate ? "mount" : "update", finishedRoot.passiveEffectDuration, -0);
5035
4865
  } catch (error) {
5036
4866
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
@@ -5060,11 +4890,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5060
4890
  function recursivelyTraverseReconnectPassiveEffects(finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, includeWorkInProgressEffects) {
5061
4891
  includeWorkInProgressEffects = includeWorkInProgressEffects && (0 !== (parentFiber.subtreeFlags & 10256) || !1);
5062
4892
  for (parentFiber = parentFiber.child; null !== parentFiber;) {
5063
- var finishedRoot = finishedRoot$jscomp$0;
5064
- var finishedWork = parentFiber;
5065
- var committedLanes = committedLanes$jscomp$0;
5066
- var committedTransitions = committedTransitions$jscomp$0;
5067
- var flags = finishedWork.flags;
4893
+ var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, committedLanes = committedLanes$jscomp$0, committedTransitions = committedTransitions$jscomp$0, flags = finishedWork.flags;
5068
4894
  switch (finishedWork.tag) {
5069
4895
  case 0:
5070
4896
  case 11:
@@ -5089,9 +4915,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5089
4915
  }
5090
4916
  function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0, parentFiber) {
5091
4917
  if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) {
5092
- var finishedRoot = finishedRoot$jscomp$0;
5093
- var finishedWork = parentFiber;
5094
- var flags = finishedWork.flags;
4918
+ var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, flags = finishedWork.flags;
5095
4919
  switch (finishedWork.tag) {
5096
4920
  case 22:
5097
4921
  recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
@@ -5115,8 +4939,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5115
4939
  recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState);
5116
4940
  if (fiber.flags & suspenseyCommitFlag) if (null !== fiber.memoizedState) suspendResource(suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps);
5117
4941
  else {
5118
- var instance = fiber.stateNode;
5119
- var type = fiber.type;
4942
+ var instance = fiber.stateNode, type = fiber.type;
5120
4943
  fiber = fiber.memoizedProps;
5121
4944
  ((committedLanes & 335544128) === committedLanes || maySuspendCommitInSyncRender(type, fiber)) && suspendInstance(suspendedState, instance, type, fiber);
5122
4945
  }
@@ -5227,8 +5050,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5227
5050
  if (null !== cache) cache.return = fiber, nextEffect = cache;
5228
5051
  else a: for (fiber = deletedSubtreeRoot; null !== nextEffect;) {
5229
5052
  cache = nextEffect;
5230
- var sibling = cache.sibling;
5231
- var returnFiber = cache.return;
5053
+ var sibling = cache.sibling, returnFiber = cache.return;
5232
5054
  detachFiberAfterEffects(cache);
5233
5055
  if (cache === fiber) {
5234
5056
  nextEffect = null;
@@ -5264,10 +5086,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5264
5086
  selector = selector.value;
5265
5087
  fiber$jscomp$0 = [fiber$jscomp$0, 0];
5266
5088
  for (tag = 0; tag < fiber$jscomp$0.length;) {
5267
- var fiber = fiber$jscomp$0[tag++];
5268
- var tag$jscomp$0 = fiber.tag;
5269
- var selectorIndex = fiber$jscomp$0[tag++];
5270
- var selector$jscomp$0 = selector[selectorIndex];
5089
+ var fiber = fiber$jscomp$0[tag++], tag$jscomp$0 = fiber.tag, selectorIndex = fiber$jscomp$0[tag++], selector$jscomp$0 = selector[selectorIndex];
5271
5090
  if (5 !== tag$jscomp$0 && 26 !== tag$jscomp$0 && 27 !== tag$jscomp$0 || !isHiddenSubtree(fiber)) {
5272
5091
  for (; null != selector$jscomp$0 && matchSelector(fiber, selector$jscomp$0);) selectorIndex++, selector$jscomp$0 = selector[selectorIndex];
5273
5092
  if (selectorIndex === selector.length) {
@@ -5310,10 +5129,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5310
5129
  var matchingFibers = [];
5311
5130
  root = [root, 0];
5312
5131
  for (var index = 0; index < root.length;) {
5313
- var fiber = root[index++];
5314
- var tag = fiber.tag;
5315
- var selectorIndex = root[index++];
5316
- var selector = selectors[selectorIndex];
5132
+ var fiber = root[index++], tag = fiber.tag, selectorIndex = root[index++], selector = selectors[selectorIndex];
5317
5133
  if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
5318
5134
  for (; null != selector && matchSelector(fiber, selector);) selectorIndex++, selector = selectors[selectorIndex];
5319
5135
  if (selectorIndex === selectors.length) matchingFibers.push(fiber);
@@ -5329,8 +5145,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5329
5145
  selectors = [];
5330
5146
  hostRoot = Array.from(hostRoot);
5331
5147
  for (var index = 0; index < hostRoot.length;) {
5332
- var node = hostRoot[index++];
5333
- var tag = node.tag;
5148
+ var node = hostRoot[index++], tag = node.tag;
5334
5149
  if (5 === tag || 26 === tag || 27 === tag) isHiddenSubtree(node) || selectors.push(node.stateNode);
5335
5150
  else for (node = node.child; null !== node;) hostRoot.push(node), node = node.sibling;
5336
5151
  }
@@ -5357,9 +5172,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5357
5172
  }
5358
5173
  function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
5359
5174
  if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
5360
- var shouldTimeSlice = !forceSync && 0 === (lanes & 127) && 0 === (lanes & root$jscomp$0.expiredLanes) || checkIfRootIsPrerendering(root$jscomp$0, lanes);
5361
- var exitStatus = shouldTimeSlice ? renderRootConcurrent(root$jscomp$0, lanes) : renderRootSync(root$jscomp$0, lanes, !0);
5362
- var renderWasConcurrent = shouldTimeSlice;
5175
+ var shouldTimeSlice = !forceSync && 0 === (lanes & 127) && 0 === (lanes & root$jscomp$0.expiredLanes) || checkIfRootIsPrerendering(root$jscomp$0, lanes), exitStatus = shouldTimeSlice ? renderRootConcurrent(root$jscomp$0, lanes) : renderRootSync(root$jscomp$0, lanes, !0), renderWasConcurrent = shouldTimeSlice;
5363
5176
  do {
5364
5177
  if (0 === exitStatus) {
5365
5178
  workInProgressRootIsPrerendering && !shouldTimeSlice && markRootSuspended(root$jscomp$0, lanes, 0, !1);
@@ -5457,8 +5270,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5457
5270
  for (var node = finishedWork;;) {
5458
5271
  var tag = node.tag;
5459
5272
  if ((0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && (tag = node.updateQueue, null !== tag && (tag = tag.stores, null !== tag))) for (var i = 0; i < tag.length; i++) {
5460
- var check = tag[i];
5461
- var getSnapshot = check.getSnapshot;
5273
+ var check = tag[i], getSnapshot = check.getSnapshot;
5462
5274
  check = check.value;
5463
5275
  try {
5464
5276
  if (!objectIs(getSnapshot(), check)) return !1;
@@ -5488,8 +5300,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5488
5300
  didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
5489
5301
  didAttemptEntireTree = root.expirationTimes;
5490
5302
  for (var lanes = suspendedLanes; 0 < lanes;) {
5491
- var index$4 = 31 - clz32(lanes);
5492
- var lane = 1 << index$4;
5303
+ var index$4 = 31 - clz32(lanes), lane = 1 << index$4;
5493
5304
  didAttemptEntireTree[index$4] = -1;
5494
5305
  lanes &= ~lane;
5495
5306
  }
@@ -5527,8 +5338,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5527
5338
  0 !== (lanes & 8) && (lanes |= lanes & 32);
5528
5339
  var allEntangledLanes = root.entangledLanes;
5529
5340
  if (0 !== allEntangledLanes) for (root = root.entanglements, allEntangledLanes &= lanes; 0 < allEntangledLanes;) {
5530
- var index$2 = 31 - clz32(allEntangledLanes);
5531
- var lane = 1 << index$2;
5341
+ var index$2 = 31 - clz32(allEntangledLanes), lane = 1 << index$2;
5532
5342
  lanes |= root[index$2];
5533
5343
  allEntangledLanes &= ~lane;
5534
5344
  }
@@ -5565,16 +5375,14 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5565
5375
  function renderRootSync(root, lanes, shouldYieldForPrerendering) {
5566
5376
  var prevExecutionContext = executionContext;
5567
5377
  executionContext |= 2;
5568
- var prevDispatcher = pushDispatcher();
5569
- var prevAsyncDispatcher = pushAsyncDispatcher();
5378
+ var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher();
5570
5379
  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) workInProgressTransitions = null, prepareFreshStack(root, lanes);
5571
5380
  lanes = !1;
5572
5381
  var exitStatus = workInProgressRootExitStatus;
5573
5382
  a: do
5574
5383
  try {
5575
5384
  if (0 !== workInProgressSuspendedReason && null !== workInProgress) {
5576
- var unitOfWork = workInProgress;
5577
- var thrownValue = workInProgressThrownValue;
5385
+ var unitOfWork = workInProgress, thrownValue = workInProgressThrownValue;
5578
5386
  switch (workInProgressSuspendedReason) {
5579
5387
  case 8:
5580
5388
  resetWorkInProgressStack();
@@ -5618,8 +5426,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5618
5426
  function renderRootConcurrent(root, lanes) {
5619
5427
  var prevExecutionContext = executionContext;
5620
5428
  executionContext |= 2;
5621
- var prevDispatcher = pushDispatcher();
5622
- var prevAsyncDispatcher = pushAsyncDispatcher();
5429
+ var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher();
5623
5430
  workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes ? (workInProgressTransitions = null, workInProgressRootRenderTargetTime = now() + 500, prepareFreshStack(root, lanes)) : workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);
5624
5431
  a: do
5625
5432
  try {
@@ -5661,9 +5468,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5661
5468
  case 26: resource = workInProgress.memoizedState;
5662
5469
  case 5:
5663
5470
  case 27:
5664
- var hostFiber = workInProgress;
5665
- var type = hostFiber.type;
5666
- var props = hostFiber.pendingProps;
5471
+ var hostFiber = workInProgress, type = hostFiber.type, props = hostFiber.pendingProps;
5667
5472
  if (resource ? preloadResource(resource) : preloadInstance(hostFiber.stateNode, type, props)) {
5668
5473
  workInProgressSuspendedReason = 0;
5669
5474
  workInProgressThrownValue = null;
@@ -5846,9 +5651,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5846
5651
  function flushMutationEffects() {
5847
5652
  if (1 === pendingEffectsStatus) {
5848
5653
  pendingEffectsStatus = 0;
5849
- var root = pendingEffectsRoot;
5850
- var finishedWork = pendingFinishedWork;
5851
- var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
5654
+ var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
5852
5655
  if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
5853
5656
  rootMutationHasEffect = ReactSharedInternals.T;
5854
5657
  ReactSharedInternals.T = null;
@@ -5869,9 +5672,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5869
5672
  function flushLayoutEffects() {
5870
5673
  if (2 === pendingEffectsStatus) {
5871
5674
  pendingEffectsStatus = 0;
5872
- var root = pendingEffectsRoot;
5873
- var finishedWork = pendingFinishedWork;
5874
- var rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
5675
+ var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
5875
5676
  if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
5876
5677
  rootHasLayoutEffect = ReactSharedInternals.T;
5877
5678
  ReactSharedInternals.T = null;
@@ -5892,10 +5693,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5892
5693
  if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {
5893
5694
  pendingEffectsStatus = 0;
5894
5695
  requestPaint();
5895
- var root = pendingEffectsRoot;
5896
- var finishedWork = pendingFinishedWork;
5897
- var lanes = pendingEffectsLanes;
5898
- var recoverableErrors = pendingRecoverableErrors;
5696
+ var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, lanes = pendingEffectsLanes, recoverableErrors = pendingRecoverableErrors;
5899
5697
  0 !== (finishedWork.subtreeFlags & 10256) || 0 !== (finishedWork.flags & 10256) ? pendingEffectsStatus = 5 : (pendingEffectsStatus = 0, pendingFinishedWork = pendingEffectsRoot = null, releaseRootPooledCache(root, root.pendingLanes));
5900
5698
  var remainingLanes = root.pendingLanes;
5901
5699
  0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
@@ -5937,11 +5735,9 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5937
5735
  }
5938
5736
  function flushPassiveEffects() {
5939
5737
  if (5 !== pendingEffectsStatus) return !1;
5940
- var root = pendingEffectsRoot;
5941
- var remainingLanes = pendingEffectsRemainingLanes;
5738
+ var root = pendingEffectsRoot, remainingLanes = pendingEffectsRemainingLanes;
5942
5739
  pendingEffectsRemainingLanes = 0;
5943
- var renderPriority = lanesToEventPriority(pendingEffectsLanes);
5944
- var priority = 32 > renderPriority ? 32 : renderPriority;
5740
+ var renderPriority = lanesToEventPriority(pendingEffectsLanes), priority = 32 > renderPriority ? 32 : renderPriority;
5945
5741
  renderPriority = ReactSharedInternals.T;
5946
5742
  var previousPriority = getCurrentUpdatePriority();
5947
5743
  try {
@@ -5949,8 +5745,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
5949
5745
  ReactSharedInternals.T = null;
5950
5746
  priority = pendingPassiveTransitions;
5951
5747
  pendingPassiveTransitions = null;
5952
- var root$jscomp$0 = pendingEffectsRoot;
5953
- var lanes = pendingEffectsLanes;
5748
+ var root$jscomp$0 = pendingEffectsRoot, lanes = pendingEffectsLanes;
5954
5749
  pendingEffectsStatus = 0;
5955
5750
  pendingFinishedWork = pendingEffectsRoot = null;
5956
5751
  pendingEffectsLanes = 0;
@@ -6017,8 +5812,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6017
5812
  null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber));
6018
5813
  }
6019
5814
  function retryDehydratedSuspenseBoundary(boundaryFiber) {
6020
- var suspenseState = boundaryFiber.memoizedState;
6021
- var retryLane = 0;
5815
+ var suspenseState = boundaryFiber.memoizedState, retryLane = 0;
6022
5816
  null !== suspenseState && (retryLane = suspenseState.retryLane);
6023
5817
  retryTimedOutBoundary(boundaryFiber, retryLane);
6024
5818
  }
@@ -6239,102 +6033,33 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6239
6033
  (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);
6240
6034
  }
6241
6035
  var exports$2 = {};
6242
- var React = require_react();
6243
- var Scheduler = require_scheduler();
6244
- var assign = Object.assign;
6245
- var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element");
6246
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
6247
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
6248
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
6249
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
6250
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
6251
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
6252
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
6253
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
6254
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
6255
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
6256
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
6257
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
6036
+ var React = require_react(), Scheduler = require_scheduler(), assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy");
6258
6037
  var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
6259
6038
  var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
6260
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
6261
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
6262
- var isArrayImpl = Array.isArray;
6263
- var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
6264
- var rendererVersion = $$$config.rendererVersion;
6265
- var rendererPackageName = $$$config.rendererPackageName;
6266
- var extraDevToolsConfig = $$$config.extraDevToolsConfig;
6267
- var getPublicInstance = $$$config.getPublicInstance;
6268
- var getRootHostContext = $$$config.getRootHostContext;
6269
- var getChildHostContext = $$$config.getChildHostContext;
6270
- var prepareForCommit = $$$config.prepareForCommit;
6271
- var resetAfterCommit = $$$config.resetAfterCommit;
6272
- var createInstance = $$$config.createInstance;
6039
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, rendererVersion = $$$config.rendererVersion, rendererPackageName = $$$config.rendererPackageName, extraDevToolsConfig = $$$config.extraDevToolsConfig, getPublicInstance = $$$config.getPublicInstance, getRootHostContext = $$$config.getRootHostContext, getChildHostContext = $$$config.getChildHostContext, prepareForCommit = $$$config.prepareForCommit, resetAfterCommit = $$$config.resetAfterCommit, createInstance = $$$config.createInstance;
6273
6040
  $$$config.cloneMutableInstance;
6274
- var appendInitialChild = $$$config.appendInitialChild;
6275
- var finalizeInitialChildren = $$$config.finalizeInitialChildren;
6276
- var shouldSetTextContent = $$$config.shouldSetTextContent;
6277
- var createTextInstance = $$$config.createTextInstance;
6041
+ var appendInitialChild = $$$config.appendInitialChild, finalizeInitialChildren = $$$config.finalizeInitialChildren, shouldSetTextContent = $$$config.shouldSetTextContent, createTextInstance = $$$config.createTextInstance;
6278
6042
  $$$config.cloneMutableTextInstance;
6279
- var scheduleTimeout = $$$config.scheduleTimeout;
6280
- var cancelTimeout = $$$config.cancelTimeout;
6281
- var noTimeout = $$$config.noTimeout;
6282
- var isPrimaryRenderer = $$$config.isPrimaryRenderer;
6043
+ var scheduleTimeout = $$$config.scheduleTimeout, cancelTimeout = $$$config.cancelTimeout, noTimeout = $$$config.noTimeout, isPrimaryRenderer = $$$config.isPrimaryRenderer;
6283
6044
  $$$config.warnsIfNotActing;
6284
- var supportsMutation = $$$config.supportsMutation;
6285
- var supportsPersistence = $$$config.supportsPersistence;
6286
- var supportsHydration = $$$config.supportsHydration;
6287
- var getInstanceFromNode = $$$config.getInstanceFromNode;
6045
+ var supportsMutation = $$$config.supportsMutation, supportsPersistence = $$$config.supportsPersistence, supportsHydration = $$$config.supportsHydration, getInstanceFromNode = $$$config.getInstanceFromNode;
6288
6046
  $$$config.beforeActiveInstanceBlur;
6289
6047
  var preparePortalMount = $$$config.preparePortalMount;
6290
6048
  $$$config.prepareScopeUpdate;
6291
6049
  $$$config.getInstanceFromScope;
6292
- var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority;
6293
- var getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority;
6294
- var resolveUpdatePriority = $$$config.resolveUpdatePriority;
6050
+ var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority, getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority, resolveUpdatePriority = $$$config.resolveUpdatePriority;
6295
6051
  $$$config.trackSchedulerEvent;
6296
6052
  $$$config.resolveEventType;
6297
6053
  $$$config.resolveEventTimeStamp;
6298
- var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition;
6299
- var detachDeletedInstance = $$$config.detachDeletedInstance;
6054
+ var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition, detachDeletedInstance = $$$config.detachDeletedInstance;
6300
6055
  $$$config.requestPostPaintCallback;
6301
- var maySuspendCommit = $$$config.maySuspendCommit;
6302
- var maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate;
6303
- var maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender;
6304
- var preloadInstance = $$$config.preloadInstance;
6305
- var startSuspendingCommit = $$$config.startSuspendingCommit;
6306
- var suspendInstance = $$$config.suspendInstance;
6056
+ var maySuspendCommit = $$$config.maySuspendCommit, maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate, maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender, preloadInstance = $$$config.preloadInstance, startSuspendingCommit = $$$config.startSuspendingCommit, suspendInstance = $$$config.suspendInstance;
6307
6057
  $$$config.suspendOnActiveViewTransition;
6308
6058
  var waitForCommitToBeReady = $$$config.waitForCommitToBeReady;
6309
6059
  $$$config.getSuspendedCommitReason;
6310
- var NotPendingTransition = $$$config.NotPendingTransition;
6311
- var HostTransitionContext = $$$config.HostTransitionContext;
6312
- var resetFormInstance = $$$config.resetFormInstance;
6060
+ var NotPendingTransition = $$$config.NotPendingTransition, HostTransitionContext = $$$config.HostTransitionContext, resetFormInstance = $$$config.resetFormInstance;
6313
6061
  $$$config.bindToConsole;
6314
- var supportsMicrotasks = $$$config.supportsMicrotasks;
6315
- var scheduleMicrotask = $$$config.scheduleMicrotask;
6316
- var supportsTestSelectors = $$$config.supportsTestSelectors;
6317
- var findFiberRoot = $$$config.findFiberRoot;
6318
- var getBoundingRect = $$$config.getBoundingRect;
6319
- var getTextContent = $$$config.getTextContent;
6320
- var isHiddenSubtree = $$$config.isHiddenSubtree;
6321
- var matchAccessibilityRole = $$$config.matchAccessibilityRole;
6322
- var setFocusIfFocusable = $$$config.setFocusIfFocusable;
6323
- var setupIntersectionObserver = $$$config.setupIntersectionObserver;
6324
- var appendChild = $$$config.appendChild;
6325
- var appendChildToContainer = $$$config.appendChildToContainer;
6326
- var commitTextUpdate = $$$config.commitTextUpdate;
6327
- var commitMount = $$$config.commitMount;
6328
- var commitUpdate = $$$config.commitUpdate;
6329
- var insertBefore = $$$config.insertBefore;
6330
- var insertInContainerBefore = $$$config.insertInContainerBefore;
6331
- var removeChild = $$$config.removeChild;
6332
- var removeChildFromContainer = $$$config.removeChildFromContainer;
6333
- var resetTextContent = $$$config.resetTextContent;
6334
- var hideInstance = $$$config.hideInstance;
6335
- var hideTextInstance = $$$config.hideTextInstance;
6336
- var unhideInstance = $$$config.unhideInstance;
6337
- var unhideTextInstance = $$$config.unhideTextInstance;
6062
+ var supportsMicrotasks = $$$config.supportsMicrotasks, scheduleMicrotask = $$$config.scheduleMicrotask, supportsTestSelectors = $$$config.supportsTestSelectors, findFiberRoot = $$$config.findFiberRoot, getBoundingRect = $$$config.getBoundingRect, getTextContent = $$$config.getTextContent, isHiddenSubtree = $$$config.isHiddenSubtree, matchAccessibilityRole = $$$config.matchAccessibilityRole, setFocusIfFocusable = $$$config.setFocusIfFocusable, setupIntersectionObserver = $$$config.setupIntersectionObserver, appendChild = $$$config.appendChild, appendChildToContainer = $$$config.appendChildToContainer, commitTextUpdate = $$$config.commitTextUpdate, commitMount = $$$config.commitMount, commitUpdate = $$$config.commitUpdate, insertBefore = $$$config.insertBefore, insertInContainerBefore = $$$config.insertInContainerBefore, removeChild = $$$config.removeChild, removeChildFromContainer = $$$config.removeChildFromContainer, resetTextContent = $$$config.resetTextContent, hideInstance = $$$config.hideInstance, hideTextInstance = $$$config.hideTextInstance, unhideInstance = $$$config.unhideInstance, unhideTextInstance = $$$config.unhideTextInstance;
6338
6063
  $$$config.cancelViewTransitionName;
6339
6064
  $$$config.cancelRootViewTransitionName;
6340
6065
  $$$config.restoreRootViewTransitionName;
@@ -6353,98 +6078,15 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6353
6078
  $$$config.updateFragmentInstanceFiber;
6354
6079
  $$$config.commitNewChildToFragmentInstance;
6355
6080
  $$$config.deleteChildFromFragmentInstance;
6356
- var cloneInstance = $$$config.cloneInstance;
6357
- var createContainerChildSet = $$$config.createContainerChildSet;
6358
- var appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet;
6359
- var finalizeContainerChildren = $$$config.finalizeContainerChildren;
6360
- var replaceContainerChildren = $$$config.replaceContainerChildren;
6361
- var cloneHiddenInstance = $$$config.cloneHiddenInstance;
6362
- var cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance;
6363
- var isSuspenseInstancePending = $$$config.isSuspenseInstancePending;
6364
- var isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback;
6365
- var getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails;
6366
- var registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry;
6367
- var canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker;
6368
- var isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching;
6369
- var getNextHydratableSibling = $$$config.getNextHydratableSibling;
6370
- var getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton;
6371
- var getFirstHydratableChild = $$$config.getFirstHydratableChild;
6372
- var getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer;
6373
- var getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance;
6374
- var getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance;
6375
- var getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton;
6376
- var canHydrateInstance = $$$config.canHydrateInstance;
6377
- var canHydrateTextInstance = $$$config.canHydrateTextInstance;
6378
- var canHydrateActivityInstance = $$$config.canHydrateActivityInstance;
6379
- var canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance;
6380
- var hydrateInstance = $$$config.hydrateInstance;
6381
- var hydrateTextInstance = $$$config.hydrateTextInstance;
6382
- var hydrateActivityInstance = $$$config.hydrateActivityInstance;
6383
- var hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance;
6384
- var getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance;
6385
- var getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance;
6386
- var commitHydratedInstance = $$$config.commitHydratedInstance;
6387
- var commitHydratedContainer = $$$config.commitHydratedContainer;
6388
- var commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance;
6389
- var commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance;
6390
- var finalizeHydratedChildren = $$$config.finalizeHydratedChildren;
6391
- var flushHydrationEvents = $$$config.flushHydrationEvents;
6081
+ var cloneInstance = $$$config.cloneInstance, createContainerChildSet = $$$config.createContainerChildSet, appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet, finalizeContainerChildren = $$$config.finalizeContainerChildren, replaceContainerChildren = $$$config.replaceContainerChildren, cloneHiddenInstance = $$$config.cloneHiddenInstance, cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance, isSuspenseInstancePending = $$$config.isSuspenseInstancePending, isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback, getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails, registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry, canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker, isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching, getNextHydratableSibling = $$$config.getNextHydratableSibling, getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton, getFirstHydratableChild = $$$config.getFirstHydratableChild, getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer, getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance, getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance, getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton, canHydrateInstance = $$$config.canHydrateInstance, canHydrateTextInstance = $$$config.canHydrateTextInstance, canHydrateActivityInstance = $$$config.canHydrateActivityInstance, canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance, hydrateInstance = $$$config.hydrateInstance, hydrateTextInstance = $$$config.hydrateTextInstance, hydrateActivityInstance = $$$config.hydrateActivityInstance, hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance, getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance, getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance, commitHydratedInstance = $$$config.commitHydratedInstance, commitHydratedContainer = $$$config.commitHydratedContainer, commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance, commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance, finalizeHydratedChildren = $$$config.finalizeHydratedChildren, flushHydrationEvents = $$$config.flushHydrationEvents;
6392
6082
  $$$config.clearActivityBoundary;
6393
6083
  var clearSuspenseBoundary = $$$config.clearSuspenseBoundary;
6394
6084
  $$$config.clearActivityBoundaryFromContainer;
6395
- var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer;
6396
- var hideDehydratedBoundary = $$$config.hideDehydratedBoundary;
6397
- var unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary;
6398
- var shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances;
6085
+ var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer, hideDehydratedBoundary = $$$config.hideDehydratedBoundary, unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary, shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances;
6399
6086
  $$$config.diffHydratedPropsForDevWarnings;
6400
6087
  $$$config.diffHydratedTextForDevWarnings;
6401
6088
  $$$config.describeHydratableInstanceForDevWarnings;
6402
- var validateHydratableInstance = $$$config.validateHydratableInstance;
6403
- var validateHydratableTextInstance = $$$config.validateHydratableTextInstance;
6404
- var supportsResources = $$$config.supportsResources;
6405
- var isHostHoistableType = $$$config.isHostHoistableType;
6406
- var getHoistableRoot = $$$config.getHoistableRoot;
6407
- var getResource = $$$config.getResource;
6408
- var acquireResource = $$$config.acquireResource;
6409
- var releaseResource = $$$config.releaseResource;
6410
- var hydrateHoistable = $$$config.hydrateHoistable;
6411
- var mountHoistable = $$$config.mountHoistable;
6412
- var unmountHoistable = $$$config.unmountHoistable;
6413
- var createHoistableInstance = $$$config.createHoistableInstance;
6414
- var prepareToCommitHoistables = $$$config.prepareToCommitHoistables;
6415
- var mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit;
6416
- var preloadResource = $$$config.preloadResource;
6417
- var suspendResource = $$$config.suspendResource;
6418
- var supportsSingletons = $$$config.supportsSingletons;
6419
- var resolveSingletonInstance = $$$config.resolveSingletonInstance;
6420
- var acquireSingletonInstance = $$$config.acquireSingletonInstance;
6421
- var releaseSingletonInstance = $$$config.releaseSingletonInstance;
6422
- var isHostSingletonType = $$$config.isHostSingletonType;
6423
- var isSingletonScope = $$$config.isSingletonScope;
6424
- var valueStack = [];
6425
- var index$jscomp$0 = -1;
6426
- var emptyContextObject = {};
6427
- var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback;
6428
- var log$1 = Math.log;
6429
- var LN2 = Math.LN2;
6430
- var nextTransitionUpdateLane = 256;
6431
- var nextTransitionDeferredLane = 262144;
6432
- var nextRetryLane = 4194304;
6433
- var scheduleCallback$3 = Scheduler.unstable_scheduleCallback;
6434
- var cancelCallback$1 = Scheduler.unstable_cancelCallback;
6435
- var shouldYield = Scheduler.unstable_shouldYield;
6436
- var requestPaint = Scheduler.unstable_requestPaint;
6437
- var now = Scheduler.unstable_now;
6438
- var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
6439
- var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
6440
- var NormalPriority$1 = Scheduler.unstable_NormalPriority;
6441
- var IdlePriority = Scheduler.unstable_IdlePriority;
6442
- var log = Scheduler.log;
6443
- var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;
6444
- var rendererID = null;
6445
- var injectedHook = null;
6446
- var objectIs = "function" === typeof Object.is ? Object.is : is;
6447
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
6089
+ var validateHydratableInstance = $$$config.validateHydratableInstance, validateHydratableTextInstance = $$$config.validateHydratableTextInstance, supportsResources = $$$config.supportsResources, isHostHoistableType = $$$config.isHostHoistableType, getHoistableRoot = $$$config.getHoistableRoot, getResource = $$$config.getResource, acquireResource = $$$config.acquireResource, releaseResource = $$$config.releaseResource, hydrateHoistable = $$$config.hydrateHoistable, mountHoistable = $$$config.mountHoistable, unmountHoistable = $$$config.unmountHoistable, createHoistableInstance = $$$config.createHoistableInstance, prepareToCommitHoistables = $$$config.prepareToCommitHoistables, mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit, preloadResource = $$$config.preloadResource, suspendResource = $$$config.suspendResource, supportsSingletons = $$$config.supportsSingletons, resolveSingletonInstance = $$$config.resolveSingletonInstance, acquireSingletonInstance = $$$config.acquireSingletonInstance, releaseSingletonInstance = $$$config.releaseSingletonInstance, isHostSingletonType = $$$config.isHostSingletonType, isSingletonScope = $$$config.isSingletonScope, valueStack = [], index$jscomp$0 = -1, emptyContextObject = {}, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log$1 = Math.log, LN2 = Math.LN2, nextTransitionUpdateLane = 256, nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now = Scheduler.unstable_now, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, IdlePriority = Scheduler.unstable_IdlePriority, log = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, objectIs = "function" === typeof Object.is ? Object.is : is, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
6448
6090
  if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
6449
6091
  var event = new window.ErrorEvent("error", {
6450
6092
  bubbles: !0,
@@ -6458,35 +6100,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6458
6100
  return;
6459
6101
  }
6460
6102
  console.error(error);
6461
- };
6462
- var hasOwnProperty = Object.prototype.hasOwnProperty;
6463
- var prefix;
6464
- var suffix;
6465
- var reentry = !1;
6466
- var CapturedStacks = /* @__PURE__ */ new WeakMap();
6467
- var forkStack = [];
6468
- var forkStackIndex = 0;
6469
- var treeForkProvider = null;
6470
- var treeForkCount = 0;
6471
- var idStack = [];
6472
- var idStackIndex = 0;
6473
- var treeContextProvider = null;
6474
- var treeContextId = 1;
6475
- var treeContextOverflow = "";
6476
- var contextStackCursor = createCursor(null);
6477
- var contextFiberStackCursor = createCursor(null);
6478
- var rootInstanceStackCursor = createCursor(null);
6479
- var hostTransitionProviderCursor = createCursor(null);
6480
- var hydrationParentFiber = null;
6481
- var nextHydratableInstance = null;
6482
- var isHydrating = !1;
6483
- var hydrationErrors = null;
6484
- var rootOrSingletonContext = !1;
6485
- var HydrationMismatchException = Error(formatProdErrorMessage(519));
6486
- var valueCursor = createCursor(null);
6487
- var currentlyRenderingFiber$1 = null;
6488
- var lastContextDependency = null;
6489
- var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
6103
+ }, hasOwnProperty = Object.prototype.hasOwnProperty, prefix, suffix, reentry = !1, CapturedStacks = /* @__PURE__ */ new WeakMap(), forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "", contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null), hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519)), valueCursor = createCursor(null), currentlyRenderingFiber$1 = null, lastContextDependency = null, AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
6490
6104
  var listeners = [], signal = this.signal = {
6491
6105
  aborted: !1,
6492
6106
  addEventListener: function(type, listener) {
@@ -6499,65 +6113,20 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6499
6113
  return listener();
6500
6114
  });
6501
6115
  };
6502
- };
6503
- var scheduleCallback$2 = Scheduler.unstable_scheduleCallback;
6504
- var NormalPriority = Scheduler.unstable_NormalPriority;
6505
- var CacheContext = {
6116
+ }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = {
6506
6117
  $$typeof: REACT_CONTEXT_TYPE,
6507
6118
  Consumer: null,
6508
6119
  Provider: null,
6509
6120
  _currentValue: null,
6510
6121
  _currentValue2: null,
6511
6122
  _threadCount: 0
6512
- };
6513
- var firstScheduledRoot = null;
6514
- var lastScheduledRoot = null;
6515
- var didScheduleMicrotask = !1;
6516
- var mightHavePendingSyncWork = !1;
6517
- var isFlushingWork = !1;
6518
- var currentEventTransitionLane = 0;
6519
- var currentEntangledListeners = null;
6520
- var currentEntangledPendingCount = 0;
6521
- var currentEntangledLane = 0;
6522
- var currentEntangledActionThenable = null;
6523
- var prevOnStartTransitionFinish = ReactSharedInternals.S;
6123
+ }, firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, mightHavePendingSyncWork = !1, isFlushingWork = !1, currentEventTransitionLane = 0, currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null, prevOnStartTransitionFinish = ReactSharedInternals.S;
6524
6124
  ReactSharedInternals.S = function(transition, returnValue) {
6525
6125
  globalMostRecentTransitionTime = now();
6526
6126
  "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && entangleAsyncAction(transition, returnValue);
6527
6127
  null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue);
6528
6128
  };
6529
- var resumedCache = createCursor(null);
6530
- var SuspenseException = Error(formatProdErrorMessage(460));
6531
- var SuspenseyCommitException = Error(formatProdErrorMessage(474));
6532
- var SuspenseActionException = Error(formatProdErrorMessage(542));
6533
- var noopSuspenseyCommitThenable = { then: function() {} };
6534
- var suspendedThenable = null;
6535
- var thenableState$1 = null;
6536
- var thenableIndexCounter$1 = 0;
6537
- var reconcileChildFibers = createChildReconciler(!0);
6538
- var mountChildFibers = createChildReconciler(!1);
6539
- var concurrentQueues = [];
6540
- var concurrentQueuesIndex = 0;
6541
- var concurrentlyUpdatedLanes = 0;
6542
- var hasForceUpdate = !1;
6543
- var didReadFromEntangledAsyncAction = !1;
6544
- var currentTreeHiddenStackCursor = createCursor(null);
6545
- var prevEntangledRenderLanesCursor = createCursor(0);
6546
- var suspenseHandlerStackCursor = createCursor(null);
6547
- var shellBoundary = null;
6548
- var suspenseStackCursor = createCursor(0);
6549
- var renderLanes = 0;
6550
- var currentlyRenderingFiber = null;
6551
- var currentHook = null;
6552
- var workInProgressHook = null;
6553
- var didScheduleRenderPhaseUpdate = !1;
6554
- var didScheduleRenderPhaseUpdateDuringThisPass = !1;
6555
- var shouldDoubleInvokeUserFnsInHooksDEV = !1;
6556
- var localIdCounter = 0;
6557
- var thenableIndexCounter = 0;
6558
- var thenableState = null;
6559
- var globalClientIdCounter = 0;
6560
- var ContextOnlyDispatcher = {
6129
+ var resumedCache = createCursor(null), SuspenseException = Error(formatProdErrorMessage(460)), SuspenseyCommitException = Error(formatProdErrorMessage(474)), SuspenseActionException = Error(formatProdErrorMessage(542)), noopSuspenseyCommitThenable = { then: function() {} }, suspendedThenable = null, thenableState$1 = null, thenableIndexCounter$1 = 0, reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, hasForceUpdate = !1, didReadFromEntangledAsyncAction = !1, currentTreeHiddenStackCursor = createCursor(null), prevEntangledRenderLanesCursor = createCursor(0), suspenseHandlerStackCursor = createCursor(null), shellBoundary = null, suspenseStackCursor = createCursor(0), renderLanes = 0, currentlyRenderingFiber = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = !1, didScheduleRenderPhaseUpdateDuringThisPass = !1, shouldDoubleInvokeUserFnsInHooksDEV = !1, localIdCounter = 0, thenableIndexCounter = 0, thenableState = null, globalClientIdCounter = 0, ContextOnlyDispatcher = {
6561
6130
  readContext,
6562
6131
  use,
6563
6132
  useCallback: throwInvalidHookError,
@@ -6727,8 +6296,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6727
6296
  return ref.impl.apply(void 0, arguments);
6728
6297
  };
6729
6298
  }
6730
- };
6731
- var HooksDispatcherOnUpdate = {
6299
+ }, HooksDispatcherOnUpdate = {
6732
6300
  readContext,
6733
6301
  use,
6734
6302
  useCallback: updateCallback,
@@ -6784,8 +6352,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6784
6352
  return null === currentHook ? mountDeferredValueImpl(hook, value, initialValue) : updateDeferredValueImpl(hook, currentHook.memoizedState, value, initialValue);
6785
6353
  },
6786
6354
  useTransition: function() {
6787
- var booleanOrThenable = rerenderReducer(basicStateReducer)[0];
6788
- var start = updateWorkInProgressHook().memoizedState;
6355
+ var booleanOrThenable = rerenderReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState;
6789
6356
  return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
6790
6357
  },
6791
6358
  useSyncExternalStore: updateSyncExternalStore,
@@ -6829,25 +6396,12 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6829
6396
  callback = enqueueUpdate(inst, update, lane);
6830
6397
  null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane));
6831
6398
  }
6832
- };
6833
- var SelectiveHydrationException = Error(formatProdErrorMessage(461));
6834
- var didReceiveUpdate = !1;
6835
- var SUSPENDED_MARKER = {
6399
+ }, SelectiveHydrationException = Error(formatProdErrorMessage(461)), didReceiveUpdate = !1, SUSPENDED_MARKER = {
6836
6400
  dehydrated: null,
6837
6401
  treeContext: null,
6838
6402
  retryLane: 0,
6839
6403
  hydrationErrors: null
6840
- };
6841
- var offscreenSubtreeIsHidden = !1;
6842
- var offscreenSubtreeWasHidden = !1;
6843
- var needsFormReset = !1;
6844
- var PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set;
6845
- var nextEffect = null;
6846
- var hostParent = null;
6847
- var hostParentIsContainer = !1;
6848
- var currentHoistableRoot = null;
6849
- var suspenseyCommitFlag = 8192;
6850
- var DefaultAsyncDispatcher = {
6404
+ }, offscreenSubtreeIsHidden = !1, offscreenSubtreeWasHidden = !1, needsFormReset = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, hostParent = null, hostParentIsContainer = !1, currentHoistableRoot = null, suspenseyCommitFlag = 8192, DefaultAsyncDispatcher = {
6851
6405
  getCacheForType: function(resourceType) {
6852
6406
  var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType);
6853
6407
  void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType));
@@ -6856,12 +6410,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6856
6410
  cacheSignal: function() {
6857
6411
  return readContext(CacheContext).controller.signal;
6858
6412
  }
6859
- };
6860
- var COMPONENT_TYPE = 0;
6861
- var HAS_PSEUDO_CLASS_TYPE = 1;
6862
- var ROLE_TYPE = 2;
6863
- var TEST_NAME_TYPE = 3;
6864
- var TEXT_TYPE = 4;
6413
+ }, COMPONENT_TYPE = 0, HAS_PSEUDO_CLASS_TYPE = 1, ROLE_TYPE = 2, TEST_NAME_TYPE = 3, TEXT_TYPE = 4;
6865
6414
  if ("function" === typeof Symbol && Symbol.for) {
6866
6415
  var symbolFor = Symbol.for;
6867
6416
  COMPONENT_TYPE = symbolFor("selector.component");
@@ -6870,40 +6419,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
6870
6419
  TEST_NAME_TYPE = symbolFor("selector.test_id");
6871
6420
  TEXT_TYPE = symbolFor("selector.text");
6872
6421
  }
6873
- var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map;
6874
- var executionContext = 0;
6875
- var workInProgressRoot = null;
6876
- var workInProgress = null;
6877
- var workInProgressRootRenderLanes = 0;
6878
- var workInProgressSuspendedReason = 0;
6879
- var workInProgressThrownValue = null;
6880
- var workInProgressRootDidSkipSuspendedSiblings = !1;
6881
- var workInProgressRootIsPrerendering = !1;
6882
- var workInProgressRootDidAttachPingListener = !1;
6883
- var entangledRenderLanes = 0;
6884
- var workInProgressRootExitStatus = 0;
6885
- var workInProgressRootSkippedLanes = 0;
6886
- var workInProgressRootInterleavedUpdatedLanes = 0;
6887
- var workInProgressRootPingedLanes = 0;
6888
- var workInProgressDeferredLane = 0;
6889
- var workInProgressSuspendedRetryLanes = 0;
6890
- var workInProgressRootConcurrentErrors = null;
6891
- var workInProgressRootRecoverableErrors = null;
6892
- var workInProgressRootDidIncludeRecursiveRenderUpdate = !1;
6893
- var globalMostRecentFallbackTime = 0;
6894
- var globalMostRecentTransitionTime = 0;
6895
- var workInProgressRootRenderTargetTime = Infinity;
6896
- var workInProgressTransitions = null;
6897
- var legacyErrorBoundariesThatAlreadyFailed = null;
6898
- var pendingEffectsStatus = 0;
6899
- var pendingEffectsRoot = null;
6900
- var pendingFinishedWork = null;
6901
- var pendingEffectsLanes = 0;
6902
- var pendingEffectsRemainingLanes = 0;
6903
- var pendingPassiveTransitions = null;
6904
- var pendingRecoverableErrors = null;
6905
- var nestedUpdateCount = 0;
6906
- var rootWithNestedUpdates = null;
6422
+ var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, executionContext = 0, workInProgressRoot = null, workInProgress = null, workInProgressRootRenderLanes = 0, workInProgressSuspendedReason = 0, workInProgressThrownValue = null, workInProgressRootDidSkipSuspendedSiblings = !1, workInProgressRootIsPrerendering = !1, workInProgressRootDidAttachPingListener = !1, entangledRenderLanes = 0, workInProgressRootExitStatus = 0, workInProgressRootSkippedLanes = 0, workInProgressRootInterleavedUpdatedLanes = 0, workInProgressRootPingedLanes = 0, workInProgressDeferredLane = 0, workInProgressSuspendedRetryLanes = 0, workInProgressRootConcurrentErrors = null, workInProgressRootRecoverableErrors = null, workInProgressRootDidIncludeRecursiveRenderUpdate = !1, globalMostRecentFallbackTime = 0, globalMostRecentTransitionTime = 0, workInProgressRootRenderTargetTime = Infinity, workInProgressTransitions = null, legacyErrorBoundariesThatAlreadyFailed = null, pendingEffectsStatus = 0, pendingEffectsRoot = null, pendingFinishedWork = null, pendingEffectsLanes = 0, pendingEffectsRemainingLanes = 0, pendingPassiveTransitions = null, pendingRecoverableErrors = null, nestedUpdateCount = 0, rootWithNestedUpdates = null;
6907
6423
  exports$2.attemptContinuousHydration = function(fiber) {
6908
6424
  if (13 === fiber.tag || 31 === fiber.tag) {
6909
6425
  var root = enqueueConcurrentRenderForLane(fiber, 67108864);
@@ -7013,8 +6529,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
7013
6529
  reportGlobalError(error);
7014
6530
  };
7015
6531
  exports$2.deferredUpdates = function(fn) {
7016
- var prevTransition = ReactSharedInternals.T;
7017
- var previousPriority = getCurrentUpdatePriority();
6532
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
7018
6533
  try {
7019
6534
  return setCurrentUpdatePriority(32), ReactSharedInternals.T = null, fn();
7020
6535
  } finally {
@@ -7022,8 +6537,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
7022
6537
  }
7023
6538
  };
7024
6539
  exports$2.discreteUpdates = function(fn, a, b, c, d) {
7025
- var prevTransition = ReactSharedInternals.T;
7026
- var previousPriority = getCurrentUpdatePriority();
6540
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
7027
6541
  try {
7028
6542
  return setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn(a, b, c, d);
7029
6543
  } finally {
@@ -7039,11 +6553,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
7039
6553
  for (selectors = hostRoot.length - 1; 0 < selectors; selectors--) {
7040
6554
  i = hostRoot[selectors];
7041
6555
  for (var targetLeft = i.x, targetRight = targetLeft + i.width, targetTop = i.y, targetBottom = targetTop + i.height, j = selectors - 1; 0 <= j; j--) if (selectors !== j) {
7042
- var otherRect = hostRoot[j];
7043
- var otherLeft = otherRect.x;
7044
- var otherRight = otherLeft + otherRect.width;
7045
- var otherTop = otherRect.y;
7046
- var otherBottom = otherTop + otherRect.height;
6556
+ var otherRect = hostRoot[j], otherLeft = otherRect.x, otherRight = otherLeft + otherRect.width, otherTop = otherRect.y, otherBottom = otherTop + otherRect.height;
7047
6557
  if (targetLeft >= otherLeft && targetTop >= otherTop && targetRight <= otherRight && targetBottom <= otherBottom) {
7048
6558
  hostRoot.splice(selectors, 1);
7049
6559
  break;
@@ -7075,8 +6585,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
7075
6585
  exports$2.flushSyncFromReconciler = function(fn) {
7076
6586
  var prevExecutionContext = executionContext;
7077
6587
  executionContext |= 1;
7078
- var prevTransition = ReactSharedInternals.T;
7079
- var previousPriority = getCurrentUpdatePriority();
6588
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
7080
6589
  try {
7081
6590
  if (setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn) return fn();
7082
6591
  } finally {
@@ -7090,8 +6599,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
7090
6599
  selectors = findPaths(hostRoot, selectors);
7091
6600
  selectors = Array.from(selectors);
7092
6601
  for (hostRoot = 0; hostRoot < selectors.length;) {
7093
- var fiber = selectors[hostRoot++];
7094
- var tag = fiber.tag;
6602
+ var fiber = selectors[hostRoot++], tag = fiber.tag;
7095
6603
  if (!isHiddenSubtree(fiber)) {
7096
6604
  if ((5 === tag || 26 === tag || 27 === tag) && setFocusIfFocusable(fiber.stateNode)) return !0;
7097
6605
  for (fiber = fiber.child; null !== fiber;) selectors.push(fiber), fiber = fiber.sibling;
@@ -7101,14 +6609,10 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
7101
6609
  };
7102
6610
  exports$2.getFindAllNodesFailureDescription = function(hostRoot, selectors) {
7103
6611
  if (!supportsTestSelectors) throw Error(formatProdErrorMessage(363));
7104
- var maxSelectorIndex = 0;
7105
- var matchedNames = [];
6612
+ var maxSelectorIndex = 0, matchedNames = [];
7106
6613
  hostRoot = [findFiberRootForHostRoot(hostRoot), 0];
7107
6614
  for (var index = 0; index < hostRoot.length;) {
7108
- var fiber = hostRoot[index++];
7109
- var tag = fiber.tag;
7110
- var selectorIndex = hostRoot[index++];
7111
- var selector = selectors[selectorIndex];
6615
+ var fiber = hostRoot[index++], tag = fiber.tag, selectorIndex = hostRoot[index++], selector = selectors[selectorIndex];
7112
6616
  if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
7113
6617
  if (matchSelector(fiber, selector) && (matchedNames.push(selectorToString(selector)), selectorIndex++, selectorIndex > maxSelectorIndex && (maxSelectorIndex = selectorIndex)), selectorIndex < selectors.length) for (fiber = fiber.child; null !== fiber;) hostRoot.push(fiber, selectorIndex), fiber = fiber.sibling;
7114
6618
  }
@@ -7178,8 +6682,7 @@ var require_react_reconciler_production = /* @__PURE__ */ __commonJSMin(((export
7178
6682
  });
7179
6683
  };
7180
6684
  exports$2.updateContainer = function(element, container, parentComponent, callback) {
7181
- var current = container.current;
7182
- var lane = requestUpdateLane();
6685
+ var current = container.current, lane = requestUpdateLane();
7183
6686
  updateContainerImpl(current, lane, element, container, parentComponent, callback);
7184
6687
  return lane;
7185
6688
  };
@@ -7212,8 +6715,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7212
6715
  }
7213
6716
  function copyWithSetImpl(obj, path, index, value) {
7214
6717
  if (index >= path.length) return value;
7215
- var key = path[index];
7216
- var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
6718
+ var key = path[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
7217
6719
  updated[key] = copyWithSetImpl(obj[key], path, index + 1, value);
7218
6720
  return updated;
7219
6721
  }
@@ -7228,14 +6730,12 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7228
6730
  }
7229
6731
  }
7230
6732
  function copyWithRenameImpl(obj, oldPath, newPath, index) {
7231
- var oldKey = oldPath[index];
7232
- var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
6733
+ var oldKey = oldPath[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
7233
6734
  index + 1 === oldPath.length ? (updated[newPath[index]] = updated[oldKey], isArrayImpl(updated) ? updated.splice(oldKey, 1) : delete updated[oldKey]) : updated[oldKey] = copyWithRenameImpl(obj[oldKey], oldPath, newPath, index + 1);
7234
6735
  return updated;
7235
6736
  }
7236
6737
  function copyWithDeleteImpl(obj, path, index) {
7237
- var key = path[index];
7238
- var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
6738
+ var key = path[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
7239
6739
  if (index + 1 === path.length) return isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key], updated;
7240
6740
  updated[key] = copyWithDeleteImpl(obj[key], path, index + 1);
7241
6741
  return updated;
@@ -7280,8 +6780,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7280
6780
  return array.sort().join(", ");
7281
6781
  }
7282
6782
  function getNearestMountedFiber(fiber) {
7283
- var node = fiber;
7284
- var nearestMounted = fiber;
6783
+ var node = fiber, nearestMounted = fiber;
7285
6784
  if (fiber.alternate) for (; node.return;) node = node.return;
7286
6785
  else {
7287
6786
  fiber = node;
@@ -7518,9 +7017,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7518
7017
  function getNextLanes(root, wipLanes, rootHasPendingCommit) {
7519
7018
  var pendingLanes = root.pendingLanes;
7520
7019
  if (0 === pendingLanes) return 0;
7521
- var nextLanes = 0;
7522
- var suspendedLanes = root.suspendedLanes;
7523
- var pingedLanes = root.pingedLanes;
7020
+ var nextLanes = 0, suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes;
7524
7021
  root = root.warmLanes;
7525
7022
  var nonIdlePendingLanes = pendingLanes & 134217727;
7526
7023
  0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -7589,12 +7086,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7589
7086
  root.entangledLanes &= remainingLanes;
7590
7087
  root.errorRecoveryDisabledLanes &= remainingLanes;
7591
7088
  root.shellSuspendCounter = 0;
7592
- var entanglements = root.entanglements;
7593
- var expirationTimes = root.expirationTimes;
7594
- var hiddenUpdates = root.hiddenUpdates;
7089
+ var entanglements = root.entanglements, expirationTimes = root.expirationTimes, hiddenUpdates = root.hiddenUpdates;
7595
7090
  for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;) {
7596
- var index = 31 - clz32(remainingLanes);
7597
- var lane = 1 << index;
7091
+ var index = 31 - clz32(remainingLanes), lane = 1 << index;
7598
7092
  entanglements[index] = 0;
7599
7093
  expirationTimes[index] = -1;
7600
7094
  var hiddenUpdatesForLane = hiddenUpdates[index];
@@ -7617,8 +7111,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7617
7111
  function markRootEntangled(root, entangledLanes) {
7618
7112
  var rootEntangledLanes = root.entangledLanes |= entangledLanes;
7619
7113
  for (root = root.entanglements; rootEntangledLanes;) {
7620
- var index = 31 - clz32(rootEntangledLanes);
7621
- var lane = 1 << index;
7114
+ var index = 31 - clz32(rootEntangledLanes), lane = 1 << index;
7622
7115
  lane & entangledLanes | root[index] & entangledLanes && (root[index] |= entangledLanes);
7623
7116
  rootEntangledLanes &= ~lane;
7624
7117
  }
@@ -7668,8 +7161,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7668
7161
  }
7669
7162
  function addFiberToLanesMap(root, fiber, lanes) {
7670
7163
  if (isDevToolsPresent) for (root = root.pendingUpdatersLaneMap; 0 < lanes;) {
7671
- var index = 31 - clz32(lanes);
7672
- var lane = 1 << index;
7164
+ var index = 31 - clz32(lanes), lane = 1 << index;
7673
7165
  root[index].add(fiber);
7674
7166
  lanes &= ~lane;
7675
7167
  }
@@ -7737,11 +7229,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7737
7229
  break;
7738
7230
  } else {
7739
7231
  if (value.$$typeof === REACT_ELEMENT_TYPE) {
7740
- var typeName = getComponentNameFromType(value.type) || "…";
7741
- var key = value.key;
7232
+ var typeName = getComponentNameFromType(value.type) || "…", key = value.key;
7742
7233
  value = value.props;
7743
- var propsKeys = Object.keys(value);
7744
- var propsLength = propsKeys.length;
7234
+ var propsKeys = Object.keys(value), propsLength = propsKeys.length;
7745
7235
  if (null == key && 0 === propsLength) {
7746
7236
  value = "<" + typeName + " />";
7747
7237
  break;
@@ -7825,8 +7315,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7825
7315
  continue;
7826
7316
  }
7827
7317
  } else {
7828
- var prevKind = Object.prototype.toString.call(key);
7829
- var nextKind = Object.prototype.toString.call(nextValue);
7318
+ var prevKind = Object.prototype.toString.call(key), nextKind = Object.prototype.toString.call(nextValue);
7830
7319
  if (prevKind === nextKind && ("[object Object]" === nextKind || "[object Array]" === nextKind)) {
7831
7320
  prevKind = [" \xA0" + "\xA0\xA0".repeat(indent) + _key, "[object Array]" === nextKind ? "Array" : ""];
7832
7321
  properties.push(prevKind);
@@ -7861,8 +7350,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7861
7350
  function logComponentRender(fiber, startTime, endTime, wasHydrated, committedLanes) {
7862
7351
  var name = getComponentNameFromFiber(fiber);
7863
7352
  if (null !== name && supportsUserTiming) {
7864
- var alternate = fiber.alternate;
7865
- var selfTime = fiber.actualDuration;
7353
+ var alternate = fiber.alternate, selfTime = fiber.actualDuration;
7866
7354
  if (null === alternate || alternate.child !== fiber.child) for (var child = fiber.child; null !== child; child = child.sibling) selfTime -= child.actualDuration;
7867
7355
  wasHydrated = .5 > selfTime ? wasHydrated ? "tertiary-light" : "primary-light" : 10 > selfTime ? wasHydrated ? "tertiary" : "primary" : 100 > selfTime ? wasHydrated ? "tertiary-dark" : "primary-dark" : "error";
7868
7356
  var props = fiber.memoizedProps;
@@ -7882,7 +7370,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
7882
7370
  }
7883
7371
  null !== fiber.key && addValueToProperties("key", fiber.key, properties, 0, "");
7884
7372
  null !== fiber.memoizedProps && addObjectToProperties(fiber.memoizedProps, properties, 0, "");
7885
- null == debugTask && (debugTask = fiber._debugTask);
7373
+ debugTask ??= fiber._debugTask;
7886
7374
  fiber = {
7887
7375
  start: startTime,
7888
7376
  end: endTime,
@@ -8108,12 +7596,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8108
7596
  RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
8109
7597
  var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name");
8110
7598
  namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });
8111
- var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot();
8112
- var sampleStack = _RunInRootFrame$Deter[0];
8113
- var controlStack = _RunInRootFrame$Deter[1];
7599
+ var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
8114
7600
  if (sampleStack && controlStack) {
8115
- var sampleLines = sampleStack.split("\n");
8116
- var controlLines = controlStack.split("\n");
7601
+ var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n");
8117
7602
  for (_RunInRootFrame$Deter = namePropDescriptor = 0; namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++;
8118
7603
  for (; _RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot");) _RunInRootFrame$Deter++;
8119
7604
  if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length) for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter];) _RunInRootFrame$Deter--;
@@ -8154,8 +7639,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8154
7639
  }
8155
7640
  function getStackByFiberInDevAndProd(workInProgress) {
8156
7641
  try {
8157
- var info = "";
8158
- var previous = null;
7642
+ var info = "", previous = null;
8159
7643
  do {
8160
7644
  info += describeFiber(workInProgress, previous);
8161
7645
  var debugInfo = workInProgress._debugInfo;
@@ -8164,13 +7648,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8164
7648
  if ("string" === typeof entry.name) {
8165
7649
  var JSCompiler_temp_const = info;
8166
7650
  a: {
8167
- var name = entry.name;
8168
- var env = entry.env;
8169
- var location = entry.debugLocation;
7651
+ var name = entry.name, env = entry.env, location = entry.debugLocation;
8170
7652
  if (null != location) {
8171
- var childStack = formatOwnerStack(location);
8172
- var idx = childStack.lastIndexOf("\n");
8173
- var lastLine = -1 === idx ? childStack : childStack.slice(idx + 1);
7653
+ var childStack = formatOwnerStack(location), idx = childStack.lastIndexOf("\n"), lastLine = -1 === idx ? childStack : childStack.slice(idx + 1);
8174
7654
  if (-1 !== lastLine.indexOf(name)) {
8175
7655
  var JSCompiler_inline_result = "\n" + lastLine;
8176
7656
  break a;
@@ -8287,8 +7767,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8287
7767
  }
8288
7768
  function pushHostContext(fiber) {
8289
7769
  null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber, fiber);
8290
- var context = requiredContext(contextStackCursor.current);
8291
- var nextContext = getChildHostContext(context, fiber.type);
7770
+ var context = requiredContext(contextStackCursor.current), nextContext = getChildHostContext(context, fiber.type);
8292
7771
  context !== nextContext && (push(contextFiberStackCursor, fiber, fiber), push(contextStackCursor, nextContext, fiber));
8293
7772
  }
8294
7773
  function popHostContext(fiber) {
@@ -8375,9 +7854,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8375
7854
  return "string" !== typeof value || needsEscaping.test(value) ? "{" + describeValue(value, maxLength - 2) + "}" : value.length > maxLength - 2 ? 5 > maxLength ? "\"...\"" : "\"" + value.slice(0, maxLength - 5) + "...\"" : "\"" + value + "\"";
8376
7855
  }
8377
7856
  function describeExpandedElement(type, props, rowPrefix) {
8378
- var remainingRowLength = 120 - rowPrefix.length - type.length;
8379
- var properties = [];
8380
- var propName;
7857
+ var remainingRowLength = 120 - rowPrefix.length - type.length, properties = [], propName;
8381
7858
  for (propName in props) if (props.hasOwnProperty(propName) && "children" !== propName) {
8382
7859
  var propValue = describePropValue(props[propName], 120 - rowPrefix.length - propName.length - 1);
8383
7860
  remainingRowLength -= propName.length + propValue.length + 2;
@@ -8386,27 +7863,22 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8386
7863
  return 0 === properties.length ? rowPrefix + "<" + type + ">\n" : 0 < remainingRowLength ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" : rowPrefix + "<" + type + "\n" + rowPrefix + " " + properties.join("\n" + rowPrefix + " ") + "\n" + rowPrefix + ">\n";
8387
7864
  }
8388
7865
  function describePropertiesDiff(clientObject, serverObject, indent) {
8389
- var properties = "";
8390
- var remainingServerProperties = assign({}, serverObject);
8391
- var propName;
7866
+ var properties = "", remainingServerProperties = assign({}, serverObject), propName;
8392
7867
  for (propName in clientObject) if (clientObject.hasOwnProperty(propName)) {
8393
7868
  delete remainingServerProperties[propName];
8394
- var maxLength = 120 - 2 * indent - propName.length - 2;
8395
- var clientPropValue = describeValue(clientObject[propName], maxLength);
7869
+ var maxLength = 120 - 2 * indent - propName.length - 2, clientPropValue = describeValue(clientObject[propName], maxLength);
8396
7870
  serverObject.hasOwnProperty(propName) ? (maxLength = describeValue(serverObject[propName], maxLength), properties += added(indent) + propName + ": " + clientPropValue + "\n", properties += removed(indent) + propName + ": " + maxLength + "\n") : properties += added(indent) + propName + ": " + clientPropValue + "\n";
8397
7871
  }
8398
7872
  for (var _propName in remainingServerProperties) remainingServerProperties.hasOwnProperty(_propName) && (clientObject = describeValue(remainingServerProperties[_propName], 120 - 2 * indent - _propName.length - 2), properties += removed(indent) + _propName + ": " + clientObject + "\n");
8399
7873
  return properties;
8400
7874
  }
8401
7875
  function describeElementDiff(type, clientProps, serverProps, indent) {
8402
- var content = "";
8403
- var serverPropNames = /* @__PURE__ */ new Map();
7876
+ var content = "", serverPropNames = /* @__PURE__ */ new Map();
8404
7877
  for (propName$jscomp$0 in serverProps) serverProps.hasOwnProperty(propName$jscomp$0) && serverPropNames.set(propName$jscomp$0.toLowerCase(), propName$jscomp$0);
8405
7878
  if (1 === serverPropNames.size && serverPropNames.has("children")) content += describeExpandedElement(type, clientProps, indentation(indent));
8406
7879
  else {
8407
7880
  for (var _propName2 in clientProps) if (clientProps.hasOwnProperty(_propName2) && "children" !== _propName2) {
8408
- var maxLength$jscomp$0 = 120 - 2 * (indent + 1) - _propName2.length - 1;
8409
- var serverPropName = serverPropNames.get(_propName2.toLowerCase());
7881
+ var maxLength$jscomp$0 = 120 - 2 * (indent + 1) - _propName2.length - 1, serverPropName = serverPropNames.get(_propName2.toLowerCase());
8410
7882
  if (void 0 !== serverPropName) {
8411
7883
  serverPropNames.delete(_propName2.toLowerCase());
8412
7884
  var propName$jscomp$0 = clientProps[_propName2];
@@ -8456,8 +7928,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8456
7928
  if (6 === node.fiber.tag) debugInfo = describeTextDiff(i, node.serverProps, indent), indent++;
8457
7929
  else if (serverComponentName = describeFiberType(node.fiber), null !== serverComponentName) if (void 0 === node.serverProps) {
8458
7930
  debugInfo = indent;
8459
- var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2;
8460
- var content = "";
7931
+ var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2, content = "";
8461
7932
  for (propName in i) if (i.hasOwnProperty(propName) && "children" !== propName) {
8462
7933
  var propValue = describePropValue(i[propName], 15);
8463
7934
  maxLength -= propName.length + propValue.length + 2;
@@ -8582,9 +8053,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8582
8053
  didSuspendOrErrorDEV || (fiber = buildHydrationDiffNode(fiber, 0), fiber.serverProps = null, null !== rejectedCandidate && (rejectedCandidate = describeHydratableInstanceForDevWarnings(rejectedCandidate), fiber.serverTail.push(rejectedCandidate)));
8583
8054
  }
8584
8055
  function throwOnHydrationMismatch(fiber) {
8585
- var fromText = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1;
8586
- var diff = "";
8587
- var diffRoot = hydrationDiffRootDEV;
8056
+ var fromText = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, diff = "", diffRoot = hydrationDiffRootDEV;
8588
8057
  null !== diffRoot && (hydrationDiffRootDEV = null, diff = describeDiff(diffRoot));
8589
8058
  queueHydrationError(createCapturedValueAtFiber(Error("Hydration failed because the server rendered " + (fromText ? "text" : "HTML") + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff), fiber));
8590
8059
  throw HydrationMismatchException;
@@ -8629,8 +8098,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8629
8098
  }
8630
8099
  function warnIfUnhydratedTailNodes(fiber) {
8631
8100
  for (var nextInstance = nextHydratableInstance; nextInstance;) {
8632
- var diffNode = buildHydrationDiffNode(fiber, 0);
8633
- var description = describeHydratableInstanceForDevWarnings(nextInstance);
8101
+ var diffNode = buildHydrationDiffNode(fiber, 0), description = describeHydratableInstanceForDevWarnings(nextInstance);
8634
8102
  diffNode.serverTail.push(description);
8635
8103
  nextInstance = "Suspense" === description.type ? getNextHydratableInstanceAfterSuspenseInstance(nextInstance) : getNextHydratableSibling(nextInstance);
8636
8104
  }
@@ -8823,8 +8291,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8823
8291
  blockingUpdateTime = now();
8824
8292
  blockingUpdateTask = null != fiber._debugTask ? fiber._debugTask : null;
8825
8293
  isAlreadyRendering() && (blockingUpdateType = 1);
8826
- var newEventTime = resolveEventTimeStamp();
8827
- var newEventType = resolveEventType();
8294
+ var newEventTime = resolveEventTimeStamp(), newEventType = resolveEventType();
8828
8295
  newEventTime !== blockingEventRepeatTime || newEventType !== blockingEventType ? blockingEventRepeatTime = -1.1 : null !== newEventType && (blockingUpdateType = 1);
8829
8296
  blockingEventTime = newEventTime;
8830
8297
  blockingEventType = newEventType;
@@ -8902,8 +8369,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8902
8369
  }
8903
8370
  function recordEffectDuration() {
8904
8371
  if (0 <= profilerStartTime) {
8905
- var endTime = now();
8906
- var elapsedTime = endTime - profilerStartTime;
8372
+ var endTime = now(), elapsedTime = endTime - profilerStartTime;
8907
8373
  profilerStartTime = -1;
8908
8374
  profilerEffectDuration += elapsedTime;
8909
8375
  componentEffectDuration += elapsedTime;
@@ -8939,8 +8405,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8939
8405
  var pendingLanes = root.pendingLanes;
8940
8406
  if (0 === pendingLanes) var nextLanes = 0;
8941
8407
  else {
8942
- var suspendedLanes = root.suspendedLanes;
8943
- var pingedLanes = root.pingedLanes;
8408
+ var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes;
8944
8409
  nextLanes = (1 << 31 - clz32(42 | syncTransitionLanes) + 1) - 1;
8945
8410
  nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
8946
8411
  nextLanes = nextLanes & 201326741 ? nextLanes & 201326741 | 1 : nextLanes ? nextLanes | 2 : 0;
@@ -8962,8 +8427,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8962
8427
  var syncTransitionLanes = 0;
8963
8428
  0 !== currentEventTransitionLane && shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane);
8964
8429
  for (var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root;) {
8965
- var next = root.next;
8966
- var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
8430
+ var next = root.next, nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
8967
8431
  if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);
8968
8432
  else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = !0;
8969
8433
  root = next;
@@ -8973,9 +8437,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
8973
8437
  }
8974
8438
  function scheduleTaskForRootDuringMicrotask(root, currentTime) {
8975
8439
  for (var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;) {
8976
- var index = 31 - clz32(lanes);
8977
- var lane = 1 << index;
8978
- var expirationTime = expirationTimes[index];
8440
+ var index = 31 - clz32(lanes), lane = 1 << index, expirationTime = expirationTimes[index];
8979
8441
  if (-1 === expirationTime) {
8980
8442
  if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index] = computeExpirationTime(lane, currentTime);
8981
8443
  } else expirationTime <= currentTime && (root.expiredLanes |= lane);
@@ -9082,8 +8544,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
9082
8544
  }
9083
8545
  }
9084
8546
  function chainThenableValue(thenable, result) {
9085
- var listeners = [];
9086
- var thenableWithOverride = {
8547
+ var listeners = [], thenableWithOverride = {
9087
8548
  status: "pending",
9088
8549
  value: null,
9089
8550
  reason: null,
@@ -9119,8 +8580,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
9119
8580
  function shallowEqual(objA, objB) {
9120
8581
  if (objectIs(objA, objB)) return !0;
9121
8582
  if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return !1;
9122
- var keysA = Object.keys(objA);
9123
- var keysB = Object.keys(objB);
8583
+ var keysA = Object.keys(objA), keysB = Object.keys(objB);
9124
8584
  if (keysA.length !== keysB.length) return !1;
9125
8585
  for (keysB = 0; keysB < keysA.length; keysB++) {
9126
8586
  var currentKey = keysA[keysB];
@@ -9712,11 +9172,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
9712
9172
  }
9713
9173
  }
9714
9174
  function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
9715
- var queue = workInProgress.updateQueue;
9716
- var current = workInProgress.alternate;
9175
+ var queue = workInProgress.updateQueue, current = workInProgress.alternate;
9717
9176
  if (null !== current && (current = current.updateQueue, queue === current)) {
9718
- var newFirst = null;
9719
- var newLast = null;
9177
+ var newFirst = null, newLast = null;
9720
9178
  queue = queue.firstBaseUpdate;
9721
9179
  if (null !== queue) {
9722
9180
  do {
@@ -9757,13 +9215,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
9757
9215
  var queue = workInProgress.updateQueue;
9758
9216
  hasForceUpdate = !1;
9759
9217
  currentlyProcessingQueue = queue.shared;
9760
- var firstBaseUpdate = queue.firstBaseUpdate;
9761
- var lastBaseUpdate = queue.lastBaseUpdate;
9762
- var pendingQueue = queue.shared.pending;
9218
+ var firstBaseUpdate = queue.firstBaseUpdate, lastBaseUpdate = queue.lastBaseUpdate, pendingQueue = queue.shared.pending;
9763
9219
  if (null !== pendingQueue) {
9764
9220
  queue.shared.pending = null;
9765
- var lastPendingUpdate = pendingQueue;
9766
- var firstPendingUpdate = lastPendingUpdate.next;
9221
+ var lastPendingUpdate = pendingQueue, firstPendingUpdate = lastPendingUpdate.next;
9767
9222
  lastPendingUpdate.next = null;
9768
9223
  null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate;
9769
9224
  lastBaseUpdate = lastPendingUpdate;
@@ -9776,8 +9231,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
9776
9231
  current = firstPendingUpdate = lastPendingUpdate = null;
9777
9232
  pendingQueue = firstBaseUpdate;
9778
9233
  do {
9779
- var updateLane = pendingQueue.lane & -536870913;
9780
- var isHiddenUpdate = updateLane !== pendingQueue.lane;
9234
+ var updateLane = pendingQueue.lane & -536870913, isHiddenUpdate = updateLane !== pendingQueue.lane;
9781
9235
  if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
9782
9236
  0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0);
9783
9237
  null !== current && (current = current.next = {
@@ -9790,8 +9244,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
9790
9244
  a: {
9791
9245
  updateLane = workInProgress;
9792
9246
  var partialState = pendingQueue;
9793
- var nextProps = props;
9794
- var instance = instance$jscomp$0;
9247
+ var nextProps = props, instance = instance$jscomp$0;
9795
9248
  switch (partialState.tag) {
9796
9249
  case ReplaceState:
9797
9250
  partialState = partialState.payload;
@@ -9940,8 +9393,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
9940
9393
  var componentName = getComponentNameFromFiber(currentlyRenderingFiber);
9941
9394
  if (!didWarnAboutMismatchedHooksForComponent.has(componentName) && (didWarnAboutMismatchedHooksForComponent.add(componentName), null !== hookTypesDev)) {
9942
9395
  for (var table = "", i = 0; i <= hookTypesUpdateIndexDev; i++) {
9943
- var oldHookName = hookTypesDev[i];
9944
- var newHookName = i === hookTypesUpdateIndexDev ? hookName : oldHookName;
9396
+ var oldHookName = hookTypesDev[i], newHookName = i === hookTypesUpdateIndexDev ? hookName : oldHookName;
9945
9397
  for (oldHookName = i + 1 + ". " + oldHookName; 30 > oldHookName.length;) oldHookName += " ";
9946
9398
  oldHookName += newHookName + "\n";
9947
9399
  table += oldHookName;
@@ -10039,8 +9491,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10039
9491
  return children;
10040
9492
  }
10041
9493
  function TransitionAwareHostComponent() {
10042
- var dispatcher = ReactSharedInternals.H;
10043
- var maybeThenable = dispatcher.useState()[0];
9494
+ var dispatcher = ReactSharedInternals.H, maybeThenable = dispatcher.useState()[0];
10044
9495
  maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable;
10045
9496
  dispatcher = dispatcher.useState()[0];
10046
9497
  (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024);
@@ -10133,8 +9584,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10133
9584
  throw Error("An unsupported type was passed to use(): " + String(usable));
10134
9585
  }
10135
9586
  function useMemoCache(size) {
10136
- var memoCache = null;
10137
- var updateQueue = currentlyRenderingFiber.updateQueue;
9587
+ var memoCache = null, updateQueue = currentlyRenderingFiber.updateQueue;
10138
9588
  null !== updateQueue && (memoCache = updateQueue.memoCache);
10139
9589
  if (null == memoCache) {
10140
9590
  var current = currentlyRenderingFiber.alternate;
@@ -10145,10 +9595,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10145
9595
  index: 0
10146
9596
  })));
10147
9597
  }
10148
- null == memoCache && (memoCache = {
9598
+ memoCache ??= {
10149
9599
  data: [],
10150
9600
  index: 0
10151
- });
9601
+ };
10152
9602
  null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = updateQueue);
10153
9603
  updateQueue.memoCache = memoCache;
10154
9604
  updateQueue = memoCache.data[memoCache.index];
@@ -10192,8 +9642,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10192
9642
  var queue = hook.queue;
10193
9643
  if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");
10194
9644
  queue.lastRenderedReducer = reducer;
10195
- var baseQueue = hook.baseQueue;
10196
- var pendingQueue = queue.pending;
9645
+ var baseQueue = hook.baseQueue, pendingQueue = queue.pending;
10197
9646
  if (null !== pendingQueue) {
10198
9647
  if (null !== baseQueue) {
10199
9648
  var baseFirst = baseQueue.next;
@@ -10208,10 +9657,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10208
9657
  if (null === baseQueue) hook.memoizedState = pendingQueue;
10209
9658
  else {
10210
9659
  current = baseQueue.next;
10211
- var newBaseQueueFirst = baseFirst = null;
10212
- var newBaseQueueLast = null;
10213
- var update = current;
10214
- var didReadFromEntangledAsyncAction = !1;
9660
+ var newBaseQueueFirst = baseFirst = null, newBaseQueueLast = null, update = current, didReadFromEntangledAsyncAction = !1;
10215
9661
  do {
10216
9662
  var updateLane = update.lane & -536870913;
10217
9663
  if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
@@ -10263,13 +9709,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10263
9709
  return [hook.memoizedState, queue.dispatch];
10264
9710
  }
10265
9711
  function rerenderReducer(reducer) {
10266
- var hook = updateWorkInProgressHook();
10267
- var queue = hook.queue;
9712
+ var hook = updateWorkInProgressHook(), queue = hook.queue;
10268
9713
  if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");
10269
9714
  queue.lastRenderedReducer = reducer;
10270
- var dispatch = queue.dispatch;
10271
- var lastRenderPhaseUpdate = queue.pending;
10272
- var newState = hook.memoizedState;
9715
+ var dispatch = queue.dispatch, lastRenderPhaseUpdate = queue.pending, newState = hook.memoizedState;
10273
9716
  if (null !== lastRenderPhaseUpdate) {
10274
9717
  queue.pending = null;
10275
9718
  var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next;
@@ -10284,8 +9727,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10284
9727
  return [newState, dispatch];
10285
9728
  }
10286
9729
  function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
10287
- var fiber = currentlyRenderingFiber;
10288
- var hook = mountWorkInProgressHook();
9730
+ var fiber = currentlyRenderingFiber, hook = mountWorkInProgressHook();
10289
9731
  if (isHydrating) {
10290
9732
  if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
10291
9733
  var nextSnapshot = getServerSnapshot();
@@ -10308,9 +9750,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10308
9750
  return nextSnapshot;
10309
9751
  }
10310
9752
  function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
10311
- var fiber = currentlyRenderingFiber;
10312
- var hook = updateWorkInProgressHook();
10313
- var isHydrating$jscomp$0 = isHydrating;
9753
+ var fiber = currentlyRenderingFiber, hook = updateWorkInProgressHook(), isHydrating$jscomp$0 = isHydrating;
10314
9754
  if (isHydrating$jscomp$0) {
10315
9755
  if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
10316
9756
  getServerSnapshot = getServerSnapshot();
@@ -10388,8 +9828,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10388
9828
  }
10389
9829
  function mountState(initialState) {
10390
9830
  initialState = mountStateImpl(initialState);
10391
- var queue = initialState.queue;
10392
- var dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);
9831
+ var queue = initialState.queue, dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);
10393
9832
  queue.dispatch = dispatch;
10394
9833
  return [initialState.memoizedState, dispatch];
10395
9834
  }
@@ -10445,17 +9884,13 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10445
9884
  }
10446
9885
  }
10447
9886
  function runActionStateAction(actionQueue, node) {
10448
- var action = node.action;
10449
- var payload = node.payload;
10450
- var prevState = actionQueue.state;
9887
+ var action = node.action, payload = node.payload, prevState = actionQueue.state;
10451
9888
  if (node.isTransition) {
10452
- var prevTransition = ReactSharedInternals.T;
10453
- var currentTransition = {};
9889
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
10454
9890
  currentTransition._updatedFibers = /* @__PURE__ */ new Set();
10455
9891
  ReactSharedInternals.T = currentTransition;
10456
9892
  try {
10457
- var returnValue = action(prevState, payload);
10458
- var onStartTransitionFinish = ReactSharedInternals.S;
9893
+ var returnValue = action(prevState, payload), onStartTransitionFinish = ReactSharedInternals.S;
10459
9894
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
10460
9895
  handleActionReturnValue(actionQueue, node, returnValue);
10461
9896
  } catch (error) {
@@ -10569,8 +10004,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10569
10004
  }
10570
10005
  else state = currentStateHook;
10571
10006
  currentStateHook = updateWorkInProgressHook();
10572
- var actionQueue = currentStateHook.queue;
10573
- var dispatch = actionQueue.dispatch;
10007
+ var actionQueue = currentStateHook.queue, dispatch = actionQueue.dispatch;
10574
10008
  action !== currentStateHook.memoizedState && (currentlyRenderingFiber.flags |= 2048, pushSimpleEffect(HasEffect | Passive, { destroy: void 0 }, actionStateActionEffect.bind(null, actionQueue, action), null));
10575
10009
  return [
10576
10010
  state,
@@ -10582,8 +10016,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10582
10016
  actionQueue.action = action;
10583
10017
  }
10584
10018
  function rerenderActionState(action) {
10585
- var stateHook = updateWorkInProgressHook();
10586
- var currentStateHook = currentHook;
10019
+ var stateHook = updateWorkInProgressHook(), currentStateHook = currentHook;
10587
10020
  if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action);
10588
10021
  updateWorkInProgressHook();
10589
10022
  stateHook = stateHook.memoizedState;
@@ -10639,8 +10072,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10639
10072
  }
10640
10073
  }
10641
10074
  function mountEvent(callback) {
10642
- var hook = mountWorkInProgressHook();
10643
- var ref = { impl: callback };
10075
+ var hook = mountWorkInProgressHook(), ref = { impl: callback };
10644
10076
  hook.memoizedState = ref;
10645
10077
  return function() {
10646
10078
  if ((executionContext & RenderContext) !== NoContext) throw Error("A function wrapped in useEffectEvent can't be called during rendering.");
@@ -10764,14 +10196,12 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10764
10196
  function startTransition(fiber, queue, pendingState, finishedState, callback) {
10765
10197
  var previousPriority = getCurrentUpdatePriority();
10766
10198
  setCurrentUpdatePriority(0 !== previousPriority && 8 > previousPriority ? previousPriority : 8);
10767
- var prevTransition = ReactSharedInternals.T;
10768
- var currentTransition = {};
10199
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
10769
10200
  currentTransition._updatedFibers = /* @__PURE__ */ new Set();
10770
10201
  ReactSharedInternals.T = currentTransition;
10771
10202
  dispatchOptimisticSetState(fiber, !1, queue, pendingState);
10772
10203
  try {
10773
- var returnValue = callback();
10774
- var onStartTransitionFinish = ReactSharedInternals.S;
10204
+ var returnValue = callback(), onStartTransitionFinish = ReactSharedInternals.S;
10775
10205
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
10776
10206
  if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) {
10777
10207
  ReactSharedInternals.asyncTransitions++;
@@ -10831,21 +10261,18 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10831
10261
  return [!1, stateHook];
10832
10262
  }
10833
10263
  function updateTransition() {
10834
- var booleanOrThenable = updateReducer(basicStateReducer)[0];
10835
- var start = updateWorkInProgressHook().memoizedState;
10264
+ var booleanOrThenable = updateReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState;
10836
10265
  return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
10837
10266
  }
10838
10267
  function rerenderTransition() {
10839
- var booleanOrThenable = rerenderReducer(basicStateReducer)[0];
10840
- var start = updateWorkInProgressHook().memoizedState;
10268
+ var booleanOrThenable = rerenderReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState;
10841
10269
  return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
10842
10270
  }
10843
10271
  function useHostTransitionStatus() {
10844
10272
  return readContext(HostTransitionContext);
10845
10273
  }
10846
10274
  function mountId() {
10847
- var hook = mountWorkInProgressHook();
10848
- var identifierPrefix = workInProgressRoot.identifierPrefix;
10275
+ var hook = mountWorkInProgressHook(), identifierPrefix = workInProgressRoot.identifierPrefix;
10849
10276
  if (isHydrating) {
10850
10277
  var treeId = treeContextOverflow;
10851
10278
  var idWithLeadingBit = treeContextId;
@@ -10865,9 +10292,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10865
10292
  switch (provider.tag) {
10866
10293
  case 24:
10867
10294
  case 3:
10868
- var lane = requestUpdateLane(provider);
10869
- var refreshUpdate = createUpdate(lane);
10870
- var root = enqueueUpdate(provider, refreshUpdate, lane);
10295
+ var lane = requestUpdateLane(provider), refreshUpdate = createUpdate(lane), root = enqueueUpdate(provider, refreshUpdate, lane);
10871
10296
  null !== root && (startUpdateTimerByLane(lane, "refresh()", fiber), scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane));
10872
10297
  fiber = createCache();
10873
10298
  null !== seedKey && void 0 !== seedKey && null !== root && console.error("The seed argument is not enabled outside experimental channels.");
@@ -10915,8 +10340,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10915
10340
  var prevDispatcher = ReactSharedInternals.H;
10916
10341
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
10917
10342
  try {
10918
- var currentState = queue.lastRenderedState;
10919
- var eagerState = alternate(currentState, action);
10343
+ var currentState = queue.lastRenderedState, eagerState = alternate(currentState, action);
10920
10344
  update.hasEagerState = !0;
10921
10345
  update.eagerState = eagerState;
10922
10346
  if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1;
@@ -10971,8 +10395,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
10971
10395
  }
10972
10396
  }
10973
10397
  function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) {
10974
- var prevState = workInProgress.memoizedState;
10975
- var partialState = getDerivedStateFromProps(nextProps, prevState);
10398
+ var prevState = workInProgress.memoizedState, partialState = getDerivedStateFromProps(nextProps, prevState);
10976
10399
  if (workInProgress.mode & 8) {
10977
10400
  setIsStrictModeForDevtools(!0);
10978
10401
  try {
@@ -11177,8 +10600,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
11177
10600
  return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);
11178
10601
  }
11179
10602
  function updateOffscreenComponent(current, workInProgress, renderLanes, nextProps) {
11180
- var nextChildren = nextProps.children;
11181
- var prevState = null !== current ? current.memoizedState : null;
10603
+ var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null;
11182
10604
  null === current && null === workInProgress.stateNode && (workInProgress.stateNode = {
11183
10605
  _visibility: OffscreenVisible,
11184
10606
  _pendingMarkers: null,
@@ -11251,8 +10673,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
11251
10673
  return current;
11252
10674
  }
11253
10675
  function updateActivityComponent(current, workInProgress, renderLanes) {
11254
- var nextProps = workInProgress.pendingProps;
11255
- var didSuspend = 0 !== (workInProgress.flags & 128);
10676
+ var nextProps = workInProgress.pendingProps, didSuspend = 0 !== (workInProgress.flags & 128);
11256
10677
  workInProgress.flags &= -129;
11257
10678
  if (null === current) {
11258
10679
  if (isHydrating) {
@@ -11338,8 +10759,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
11338
10759
  function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) {
11339
10760
  switch (shouldErrorImpl(workInProgress)) {
11340
10761
  case !1:
11341
- var _instance = workInProgress.stateNode;
11342
- var state = new workInProgress.type(workInProgress.memoizedProps, _instance.context).state;
10762
+ var _instance = workInProgress.stateNode, state = new workInProgress.type(workInProgress.memoizedProps, _instance.context).state;
11343
10763
  _instance.updater.enqueueSetState(_instance, state, null);
11344
10764
  break;
11345
10765
  case !0:
@@ -11516,9 +10936,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
11516
10936
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
11517
10937
  var nextProps = workInProgress.pendingProps;
11518
10938
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
11519
- var showFallback = !1;
11520
- var didSuspend = 0 !== (workInProgress.flags & 128);
11521
- var JSCompiler_temp;
10939
+ var showFallback = !1, didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp;
11522
10940
  (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
11523
10941
  JSCompiler_temp && (showFallback = !0, workInProgress.flags &= -129);
11524
10942
  JSCompiler_temp = 0 !== (workInProgress.flags & 32);
@@ -11628,11 +11046,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
11628
11046
  } : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode, renderState.treeForkCount = treeForkCount);
11629
11047
  }
11630
11048
  function updateSuspenseListComponent(current, workInProgress, renderLanes) {
11631
- var nextProps = workInProgress.pendingProps;
11632
- var revealOrder = nextProps.revealOrder;
11633
- var tailMode = nextProps.tail;
11634
- var newChildren = nextProps.children;
11635
- var suspenseContext = suspenseStackCursor.current;
11049
+ var nextProps = workInProgress.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail, newChildren = nextProps.children, suspenseContext = suspenseStackCursor.current;
11636
11050
  (nextProps = 0 !== (suspenseContext & ForceSuspenseFallback)) ? (suspenseContext = suspenseContext & SubtreeSuspenseContextMask | ForceSuspenseFallback, workInProgress.flags |= 128) : suspenseContext &= SubtreeSuspenseContextMask;
11637
11051
  push(suspenseStackCursor, suspenseContext, workInProgress);
11638
11052
  suspenseContext = null == revealOrder ? "null" : revealOrder;
@@ -12003,8 +11417,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12003
11417
  function updateHostContainer(current, workInProgress) {
12004
11418
  if (supportsPersistence && doesRequireClone(current, workInProgress)) {
12005
11419
  current = workInProgress.stateNode;
12006
- var container = current.containerInfo;
12007
- var newChildSet = createContainerChildSet();
11420
+ var container = current.containerInfo, newChildSet = createContainerChildSet();
12008
11421
  appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);
12009
11422
  current.pendingChildren = newChildSet;
12010
11423
  markUpdate(workInProgress);
@@ -12014,8 +11427,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12014
11427
  function updateHostComponent(current, workInProgress, type, newProps) {
12015
11428
  if (supportsMutation) current.memoizedProps !== newProps && markUpdate(workInProgress);
12016
11429
  else if (supportsPersistence) {
12017
- var currentInstance = current.stateNode;
12018
- var _oldProps = current.memoizedProps;
11430
+ var currentInstance = current.stateNode, _oldProps = current.memoizedProps;
12019
11431
  if ((current = doesRequireClone(current, workInProgress)) || _oldProps !== newProps) {
12020
11432
  var currentHostContext = getHostContext();
12021
11433
  _oldProps = cloneInstance(currentInstance, type, _oldProps, newProps, !current, null);
@@ -12054,9 +11466,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12054
11466
  }
12055
11467
  }
12056
11468
  function bubbleProperties(completedWork) {
12057
- var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child;
12058
- var newChildLanes = 0;
12059
- var subtreeFlags = 0;
11469
+ var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0;
12060
11470
  if (didBailout) if ((completedWork.mode & 2) !== NoMode) {
12061
11471
  for (var _treeBaseDuration = completedWork.selfBaseDuration, _child2 = completedWork.child; null !== _child2;) newChildLanes |= _child2.lanes | _child2.childLanes, subtreeFlags |= _child2.subtreeFlags & 65011712, subtreeFlags |= _child2.flags & 65011712, _treeBaseDuration += _child2.treeBaseDuration, _child2 = _child2.sibling;
12062
11472
  completedWork.treeBaseDuration = _treeBaseDuration;
@@ -12099,8 +11509,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12099
11509
  bubbleProperties(workInProgress);
12100
11510
  return null;
12101
11511
  case 26: if (supportsResources) {
12102
- var type = workInProgress.type;
12103
- var nextResource = workInProgress.memoizedState;
11512
+ var type = workInProgress.type, nextResource = workInProgress.memoizedState;
12104
11513
  null === current ? (markUpdate(workInProgress), null !== nextResource ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, null, newProps, renderLanes))) : nextResource ? nextResource !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217) : (nextResource = current.memoizedProps, supportsMutation ? nextResource !== newProps && markUpdate(workInProgress) : updateHostComponent(current, workInProgress, type, newProps), bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, nextResource, newProps, renderLanes));
12105
11514
  return null;
12106
11515
  }
@@ -12358,8 +11767,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12358
11767
  }
12359
11768
  function commitHookEffectListMount(flags, finishedWork) {
12360
11769
  try {
12361
- var updateQueue = finishedWork.updateQueue;
12362
- var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
11770
+ var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
12363
11771
  if (null !== lastEffect) {
12364
11772
  var firstEffect = lastEffect.next;
12365
11773
  updateQueue = firstEffect;
@@ -12382,15 +11790,13 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12382
11790
  }
12383
11791
  function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor) {
12384
11792
  try {
12385
- var updateQueue = finishedWork.updateQueue;
12386
- var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
11793
+ var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
12387
11794
  if (null !== lastEffect) {
12388
11795
  var firstEffect = lastEffect.next;
12389
11796
  updateQueue = firstEffect;
12390
11797
  do {
12391
11798
  if ((updateQueue.tag & flags) === flags) {
12392
- var inst = updateQueue.inst;
12393
- var destroy = inst.destroy;
11799
+ var inst = updateQueue.inst, destroy = inst.destroy;
12394
11800
  void 0 !== destroy && (inst.destroy = void 0, (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !0), lastEffect = finishedWork, runWithFiberInDEV(lastEffect, callDestroyInDEV, lastEffect, nearestMountedAncestor, destroy), (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !1));
12395
11801
  }
12396
11802
  updateQueue = updateQueue.next;
@@ -12422,8 +11828,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12422
11828
  return instance.getSnapshotBeforeUpdate(prevProps, prevState);
12423
11829
  }
12424
11830
  function commitClassSnapshot(finishedWork, current) {
12425
- var prevProps = current.memoizedProps;
12426
- var prevState = current.memoizedState;
11831
+ var prevProps = current.memoizedProps, prevState = current.memoizedState;
12427
11832
  current = finishedWork.stateNode;
12428
11833
  finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (current.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), current.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"));
12429
11834
  try {
@@ -12474,8 +11879,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12474
11879
  }
12475
11880
  }
12476
11881
  function safelyDetachRef(current, nearestMountedAncestor) {
12477
- var ref = current.ref;
12478
- var refCleanup = current.refCleanup;
11882
+ var ref = current.ref, refCleanup = current.refCleanup;
12479
11883
  if (null !== ref) if ("function" === typeof refCleanup) try {
12480
11884
  if (shouldProfile(current)) try {
12481
11885
  startEffectTimer(), runWithFiberInDEV(current, refCleanup);
@@ -12501,9 +11905,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12501
11905
  else ref.current = null;
12502
11906
  }
12503
11907
  function commitProfiler(finishedWork, current, commitStartTime, effectDuration) {
12504
- var _finishedWork$memoize = finishedWork.memoizedProps;
12505
- var id = _finishedWork$memoize.id;
12506
- var onCommit = _finishedWork$memoize.onCommit;
11908
+ var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit;
12507
11909
  _finishedWork$memoize = _finishedWork$memoize.onRender;
12508
11910
  current = null === current ? "mount" : "update";
12509
11911
  currentUpdateIsNested && (current = "nested-update");
@@ -12519,9 +11921,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12519
11921
  "function" === typeof _finishedWork$memoize2 && _finishedWork$memoize2(finishedWork, current, passiveEffectDuration, commitStartTime);
12520
11922
  }
12521
11923
  function commitHostMount(finishedWork) {
12522
- var type = finishedWork.type;
12523
- var props = finishedWork.memoizedProps;
12524
- var instance = finishedWork.stateNode;
11924
+ var type = finishedWork.type, props = finishedWork.memoizedProps, instance = finishedWork.stateNode;
12525
11925
  try {
12526
11926
  runWithFiberInDEV(finishedWork, commitMount, instance, type, props, finishedWork);
12527
11927
  } catch (error) {
@@ -12606,8 +12006,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12606
12006
  }
12607
12007
  }
12608
12008
  function commitHostSingletonAcquisition(finishedWork) {
12609
- var singleton = finishedWork.stateNode;
12610
- var props = finishedWork.memoizedProps;
12009
+ var singleton = finishedWork.stateNode, props = finishedWork.memoizedProps;
12611
12010
  try {
12612
12011
  runWithFiberInDEV(finishedWork, acquireSingletonInstance, finishedWork.type, props, singleton, finishedWork);
12613
12012
  } catch (error) {
@@ -12622,8 +12021,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12622
12021
  for (nextEffect = firstChild; null !== nextEffect;) if (root = nextEffect, firstChild = root.child, 0 !== (root.subtreeFlags & 1028) && null !== firstChild) firstChild.return = root, nextEffect = firstChild;
12623
12022
  else for (; null !== nextEffect;) {
12624
12023
  firstChild = root = nextEffect;
12625
- var current = firstChild.alternate;
12626
- var flags = firstChild.flags;
12024
+ var current = firstChild.alternate, flags = firstChild.flags;
12627
12025
  switch (firstChild.tag) {
12628
12026
  case 0:
12629
12027
  if (0 !== (flags & 4) && (firstChild = firstChild.updateQueue, firstChild = null !== firstChild ? firstChild.events : null, null !== firstChild)) for (current = 0; current < firstChild.length; current++) flags = firstChild[current], flags.ref.impl = flags.nextImpl;
@@ -12654,11 +12052,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12654
12052
  }
12655
12053
  }
12656
12054
  function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
12657
- var prevEffectStart = pushComponentEffectStart();
12658
- var prevEffectDuration = pushComponentEffectDuration();
12659
- var prevEffectErrors = pushComponentEffectErrors();
12660
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12661
- var flags = finishedWork.flags;
12055
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags;
12662
12056
  switch (finishedWork.tag) {
12663
12057
  case 0:
12664
12058
  case 11:
@@ -12786,10 +12180,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12786
12180
  } catch (err) {
12787
12181
  hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %o", err));
12788
12182
  }
12789
- var prevEffectStart = pushComponentEffectStart();
12790
- var prevEffectDuration = pushComponentEffectDuration();
12791
- var prevEffectErrors = pushComponentEffectErrors();
12792
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12183
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12793
12184
  switch (deletedFiber.tag) {
12794
12185
  case 26: if (supportsResources) {
12795
12186
  offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
@@ -12799,8 +12190,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12799
12190
  }
12800
12191
  case 27: if (supportsSingletons) {
12801
12192
  offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
12802
- var prevHostParent = hostParent;
12803
- var prevHostParentIsContainer = hostParentIsContainer;
12193
+ var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer;
12804
12194
  isSingletonScope(deletedFiber.type) && (hostParent = deletedFiber.stateNode, hostParentIsContainer = !1);
12805
12195
  recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
12806
12196
  runWithFiberInDEV(deletedFiber, releaseSingletonInstance, deletedFiber.stateNode);
@@ -12901,10 +12291,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12901
12291
  function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
12902
12292
  var deletions = parentFiber.deletions;
12903
12293
  if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
12904
- var root = root$jscomp$0;
12905
- var returnFiber = parentFiber;
12906
- var deletedFiber = deletions[i];
12907
- var prevEffectStart = pushComponentEffectStart();
12294
+ var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], prevEffectStart = pushComponentEffectStart();
12908
12295
  if (supportsMutation) {
12909
12296
  var parent = returnFiber;
12910
12297
  a: for (; null !== parent;) {
@@ -12944,12 +12331,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
12944
12331
  if (parentFiber.subtreeFlags & 13886) for (parentFiber = parentFiber.child; null !== parentFiber;) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), parentFiber = parentFiber.sibling;
12945
12332
  }
12946
12333
  function commitMutationEffectsOnFiber(finishedWork, root) {
12947
- var prevEffectStart = pushComponentEffectStart();
12948
- var prevEffectDuration = pushComponentEffectDuration();
12949
- var prevEffectErrors = pushComponentEffectErrors();
12950
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12951
- var current = finishedWork.alternate;
12952
- var flags = finishedWork.flags;
12334
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), current = finishedWork.alternate, flags = finishedWork.flags;
12953
12335
  switch (finishedWork.tag) {
12954
12336
  case 0:
12955
12337
  case 11:
@@ -13064,9 +12446,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13064
12446
  break;
13065
12447
  case 22:
13066
12448
  hoistableRoot = null !== finishedWork.memoizedState;
13067
- var wasHidden = null !== current && null !== current.memoizedState;
13068
- var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden;
13069
- var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
12449
+ var wasHidden = null !== current && null !== current.memoizedState, prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden, prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
13070
12450
  offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;
13071
12451
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden;
13072
12452
  recursivelyTraverseMutationEffects(root, finishedWork);
@@ -13162,10 +12542,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13162
12542
  if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber;) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), parentFiber = parentFiber.sibling;
13163
12543
  }
13164
12544
  function disappearLayoutEffects(finishedWork) {
13165
- var prevEffectStart = pushComponentEffectStart();
13166
- var prevEffectDuration = pushComponentEffectDuration();
13167
- var prevEffectErrors = pushComponentEffectErrors();
13168
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12545
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13169
12546
  switch (finishedWork.tag) {
13170
12547
  case 0:
13171
12548
  case 11:
@@ -13204,11 +12581,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13204
12581
  for (parentFiber = parentFiber.child; null !== parentFiber;) disappearLayoutEffects(parentFiber), parentFiber = parentFiber.sibling;
13205
12582
  }
13206
12583
  function reappearLayoutEffects(finishedRoot, current, finishedWork, includeWorkInProgressEffects) {
13207
- var prevEffectStart = pushComponentEffectStart();
13208
- var prevEffectDuration = pushComponentEffectDuration();
13209
- var prevEffectErrors = pushComponentEffectErrors();
13210
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13211
- var flags = finishedWork.flags;
12584
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags;
13212
12585
  switch (finishedWork.tag) {
13213
12586
  case 0:
13214
12587
  case 11:
@@ -13298,12 +12671,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13298
12671
  }
13299
12672
  }
13300
12673
  function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime) {
13301
- var prevEffectStart = pushComponentEffectStart();
13302
- var prevEffectDuration = pushComponentEffectDuration();
13303
- var prevEffectErrors = pushComponentEffectErrors();
13304
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13305
- var prevDeepEquality = alreadyWarnedForDeepEquality;
13306
- var flags = finishedWork.flags;
12674
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), prevDeepEquality = alreadyWarnedForDeepEquality, flags = finishedWork.flags;
13307
12675
  switch (finishedWork.tag) {
13308
12676
  case 0:
13309
12677
  case 11:
@@ -13317,8 +12685,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13317
12685
  recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime);
13318
12686
  break;
13319
12687
  case 3:
13320
- var prevProfilerEffectDuration = pushNestedEffectDurations();
13321
- var wasInHydratedSubtree = inHydratedSubtree;
12688
+ var prevProfilerEffectDuration = pushNestedEffectDurations(), wasInHydratedSubtree = inHydratedSubtree;
13322
12689
  inHydratedSubtree = null !== finishedWork.alternate && finishedWork.alternate.memoizedState.isDehydrated && 0 === (finishedWork.flags & 256);
13323
12690
  recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime);
13324
12691
  inHydratedSubtree = wasInHydratedSubtree;
@@ -13386,11 +12753,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13386
12753
  }
13387
12754
  }
13388
12755
  function reconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime) {
13389
- var prevEffectStart = pushComponentEffectStart();
13390
- var prevEffectDuration = pushComponentEffectDuration();
13391
- var prevEffectErrors = pushComponentEffectErrors();
13392
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13393
- var prevDeepEquality = alreadyWarnedForDeepEquality;
12756
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), prevDeepEquality = alreadyWarnedForDeepEquality;
13394
12757
  includeWorkInProgressEffects && (finishedWork.mode & 2) !== NoMode && 0 < finishedWork.actualStartTime && 0 !== (finishedWork.flags & 1) && logComponentRender(finishedWork, finishedWork.actualStartTime, endTime, inHydratedSubtree, committedLanes);
13395
12758
  var flags = finishedWork.flags;
13396
12759
  switch (finishedWork.tag) {
@@ -13422,11 +12785,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13422
12785
  function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, endTime$jscomp$0) {
13423
12786
  if (parentFiber.subtreeFlags & 10256 || 0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child)) for (var child = parentFiber.child; null !== child;) {
13424
12787
  parentFiber = child.sibling;
13425
- var finishedRoot = finishedRoot$jscomp$0;
13426
- var committedLanes = committedLanes$jscomp$0;
13427
- var committedTransitions = committedTransitions$jscomp$0;
13428
- var endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0;
13429
- var prevDeepEquality = alreadyWarnedForDeepEquality;
12788
+ var finishedRoot = finishedRoot$jscomp$0, committedLanes = committedLanes$jscomp$0, committedTransitions = committedTransitions$jscomp$0, endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0, prevDeepEquality = alreadyWarnedForDeepEquality;
13430
12789
  (child.mode & 2) !== NoMode && 0 < child.actualStartTime && 0 !== (child.flags & 1) && logComponentRender(child, child.actualStartTime, endTime, inHydratedSubtree, committedLanes);
13431
12790
  var flags = child.flags;
13432
12791
  switch (child.tag) {
@@ -13453,8 +12812,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13453
12812
  recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState);
13454
12813
  if (fiber.flags & suspenseyCommitFlag) if (null !== fiber.memoizedState) suspendResource(suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps);
13455
12814
  else {
13456
- var instance = fiber.stateNode;
13457
- var type = fiber.type;
12815
+ var instance = fiber.stateNode, type = fiber.type;
13458
12816
  fiber = fiber.memoizedProps;
13459
12817
  ((committedLanes & 335544128) === committedLanes || maySuspendCommitInSyncRender(type, fiber)) && suspendInstance(suspendedState, instance, type, fiber);
13460
12818
  }
@@ -13486,8 +12844,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13486
12844
  var deletions = parentFiber.deletions;
13487
12845
  if (0 !== (parentFiber.flags & 16)) {
13488
12846
  if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
13489
- var childToDelete = deletions[i];
13490
- var prevEffectStart = pushComponentEffectStart();
12847
+ var childToDelete = deletions[i], prevEffectStart = pushComponentEffectStart();
13491
12848
  nextEffect = childToDelete;
13492
12849
  commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber);
13493
12850
  (childToDelete.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && .05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount");
@@ -13498,10 +12855,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13498
12855
  if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) commitPassiveUnmountOnFiber(parentFiber), parentFiber = parentFiber.sibling;
13499
12856
  }
13500
12857
  function commitPassiveUnmountOnFiber(finishedWork) {
13501
- var prevEffectStart = pushComponentEffectStart();
13502
- var prevEffectDuration = pushComponentEffectDuration();
13503
- var prevEffectErrors = pushComponentEffectErrors();
13504
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12858
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13505
12859
  switch (finishedWork.tag) {
13506
12860
  case 0:
13507
12861
  case 11:
@@ -13535,8 +12889,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13535
12889
  var deletions = parentFiber.deletions;
13536
12890
  if (0 !== (parentFiber.flags & 16)) {
13537
12891
  if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
13538
- var childToDelete = deletions[i];
13539
- var prevEffectStart = pushComponentEffectStart();
12892
+ var childToDelete = deletions[i], prevEffectStart = pushComponentEffectStart();
13540
12893
  nextEffect = childToDelete;
13541
12894
  commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber);
13542
12895
  (childToDelete.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && .05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount");
@@ -13547,10 +12900,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13547
12900
  for (parentFiber = parentFiber.child; null !== parentFiber;) disconnectPassiveEffect(parentFiber), parentFiber = parentFiber.sibling;
13548
12901
  }
13549
12902
  function disconnectPassiveEffect(finishedWork) {
13550
- var prevEffectStart = pushComponentEffectStart();
13551
- var prevEffectDuration = pushComponentEffectDuration();
13552
- var prevEffectErrors = pushComponentEffectErrors();
13553
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12903
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13554
12904
  switch (finishedWork.tag) {
13555
12905
  case 0:
13556
12906
  case 11:
@@ -13572,13 +12922,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13572
12922
  }
13573
12923
  function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor$jscomp$0) {
13574
12924
  for (; null !== nextEffect;) {
13575
- var fiber = nextEffect;
13576
- var current = fiber;
13577
- var nearestMountedAncestor = nearestMountedAncestor$jscomp$0;
13578
- var prevEffectStart = pushComponentEffectStart();
13579
- var prevEffectDuration = pushComponentEffectDuration();
13580
- var prevEffectErrors = pushComponentEffectErrors();
13581
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12925
+ var fiber = nextEffect, current = fiber, nearestMountedAncestor = nearestMountedAncestor$jscomp$0, prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13582
12926
  switch (current.tag) {
13583
12927
  case 0:
13584
12928
  case 11:
@@ -13637,10 +12981,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13637
12981
  selector = selector.value;
13638
12982
  fiber$jscomp$0 = [fiber$jscomp$0, 0];
13639
12983
  for (tag = 0; tag < fiber$jscomp$0.length;) {
13640
- var fiber = fiber$jscomp$0[tag++];
13641
- var tag$jscomp$0 = fiber.tag;
13642
- var selectorIndex = fiber$jscomp$0[tag++];
13643
- var selector$jscomp$0 = selector[selectorIndex];
12984
+ var fiber = fiber$jscomp$0[tag++], tag$jscomp$0 = fiber.tag, selectorIndex = fiber$jscomp$0[tag++], selector$jscomp$0 = selector[selectorIndex];
13644
12985
  if (5 !== tag$jscomp$0 && 26 !== tag$jscomp$0 && 27 !== tag$jscomp$0 || !isHiddenSubtree(fiber)) {
13645
12986
  for (; null != selector$jscomp$0 && matchSelector(fiber, selector$jscomp$0);) selectorIndex++, selector$jscomp$0 = selector[selectorIndex];
13646
12987
  if (selectorIndex === selector.length) {
@@ -13683,10 +13024,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13683
13024
  var matchingFibers = [];
13684
13025
  root = [root, 0];
13685
13026
  for (var index = 0; index < root.length;) {
13686
- var fiber = root[index++];
13687
- var tag = fiber.tag;
13688
- var selectorIndex = root[index++];
13689
- var selector = selectors[selectorIndex];
13027
+ var fiber = root[index++], tag = fiber.tag, selectorIndex = root[index++], selector = selectors[selectorIndex];
13690
13028
  if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
13691
13029
  for (; null != selector && matchSelector(fiber, selector);) selectorIndex++, selector = selectors[selectorIndex];
13692
13030
  if (selectorIndex === selectors.length) matchingFibers.push(fiber);
@@ -13702,8 +13040,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13702
13040
  selectors = [];
13703
13041
  hostRoot = Array.from(hostRoot);
13704
13042
  for (var index = 0; index < hostRoot.length;) {
13705
- var node = hostRoot[index++];
13706
- var tag = node.tag;
13043
+ var node = hostRoot[index++], tag = node.tag;
13707
13044
  if (5 === tag || 26 === tag || 27 === tag) isHiddenSubtree(node) || selectors.push(node.stateNode);
13708
13045
  else for (node = node.child; null !== node;) hostRoot.push(node), node = node.sibling;
13709
13046
  }
@@ -13755,8 +13092,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13755
13092
  function performWorkOnRoot(root, lanes, forceSync) {
13756
13093
  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Should not already be working.");
13757
13094
  if (0 !== workInProgressRootRenderLanes && null !== workInProgress) {
13758
- var yieldedFiber = workInProgress;
13759
- var yieldEndTime = now$1();
13095
+ var yieldedFiber = workInProgress, yieldEndTime = now$1();
13760
13096
  switch (yieldReason) {
13761
13097
  case SuspendedOnImmediate:
13762
13098
  case SuspendedOnData:
@@ -13874,8 +13210,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13874
13210
  }
13875
13211
  function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane, updatedLanes, suspendedRetryLanes, didSkipSuspendedSiblings, exitStatus, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) {
13876
13212
  root.timeoutHandle = noTimeout;
13877
- var subtreeFlags = finishedWork.subtreeFlags;
13878
- var suspendedState = null;
13213
+ var subtreeFlags = finishedWork.subtreeFlags, suspendedState = null;
13879
13214
  if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) {
13880
13215
  if (suspendedState = startSuspendingCommit(), accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0, subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags), null !== subtreeFlags) {
13881
13216
  pendingEffectsLanes = lanes;
@@ -13890,8 +13225,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13890
13225
  for (var node = finishedWork;;) {
13891
13226
  var tag = node.tag;
13892
13227
  if ((0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && (tag = node.updateQueue, null !== tag && (tag = tag.stores, null !== tag))) for (var i = 0; i < tag.length; i++) {
13893
- var check = tag[i];
13894
- var getSnapshot = check.getSnapshot;
13228
+ var check = tag[i], getSnapshot = check.getSnapshot;
13895
13229
  check = check.value;
13896
13230
  try {
13897
13231
  if (!objectIs(getSnapshot(), check)) return !1;
@@ -13921,8 +13255,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13921
13255
  didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
13922
13256
  didAttemptEntireTree = root.expirationTimes;
13923
13257
  for (var lanes = suspendedLanes; 0 < lanes;) {
13924
- var index = 31 - clz32(lanes);
13925
- var lane = 1 << index;
13258
+ var index = 31 - clz32(lanes), lane = 1 << index;
13926
13259
  didAttemptEntireTree[index] = -1;
13927
13260
  lanes &= ~lane;
13928
13261
  }
@@ -13954,11 +13287,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13954
13287
  setCurrentTrackFromLanes(workInProgressRootRenderLanes);
13955
13288
  if (workInProgressRootExitStatus === RootSuspended || workInProgressRootExitStatus === RootSuspendedWithDelay) logSuspendedRenderPhase(previousRenderStartTime, renderStartTime, lanes, workInProgressUpdateTask);
13956
13289
  else {
13957
- var endTime = renderStartTime;
13958
- var debugTask = workInProgressUpdateTask;
13290
+ var endTime = renderStartTime, debugTask = workInProgressUpdateTask;
13959
13291
  if (supportsUserTiming && !(endTime <= previousRenderStartTime)) {
13960
- var color = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark";
13961
- var label = (lanes & 536870912) === lanes ? "Prewarm" : (lanes & 201326741) === lanes ? "Interrupted Hydration" : "Interrupted Render";
13292
+ var color = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark", label = (lanes & 536870912) === lanes ? "Prewarm" : (lanes & 201326741) === lanes ? "Interrupted Hydration" : "Interrupted Render";
13962
13293
  debugTask ? debugTask.run(console.timeStamp.bind(console, label, previousRenderStartTime, endTime, currentTrack, "Scheduler ⚛", color)) : console.timeStamp(label, previousRenderStartTime, endTime, currentTrack, "Scheduler ⚛", color);
13963
13294
  }
13964
13295
  }
@@ -13973,11 +13304,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
13973
13304
  color = 0 <= endTime ? endTime : 0 <= debugTask ? debugTask : renderStartTime;
13974
13305
  0 <= blockingSuspendedTime && (setCurrentTrackFromLanes(2), logSuspendedWithDelayPhase(blockingSuspendedTime, color, lanes, previousRenderStartTime));
13975
13306
  previousRenderStartTime = debugTask;
13976
- var eventTime = endTime;
13977
- var eventType = blockingEventType;
13978
- var eventIsRepeat = 0 < blockingEventRepeatTime;
13979
- var isSpawnedUpdate = 1 === blockingUpdateType;
13980
- var isPingedUpdate = 2 === blockingUpdateType;
13307
+ var eventTime = endTime, eventType = blockingEventType, eventIsRepeat = 0 < blockingEventRepeatTime, isSpawnedUpdate = 1 === blockingUpdateType, isPingedUpdate = 2 === blockingUpdateType;
13981
13308
  debugTask = renderStartTime;
13982
13309
  endTime = blockingUpdateTask;
13983
13310
  color = blockingUpdateMethodName;
@@ -14083,8 +13410,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14083
13410
  function renderRootSync(root, lanes, shouldYieldForPrerendering) {
14084
13411
  var prevExecutionContext = executionContext;
14085
13412
  executionContext |= RenderContext;
14086
- var prevDispatcher = pushDispatcher();
14087
- var prevAsyncDispatcher = pushAsyncDispatcher();
13413
+ var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher();
14088
13414
  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) {
14089
13415
  if (isDevToolsPresent) {
14090
13416
  var memoizedUpdaters = root.memoizedUpdaters;
@@ -14099,8 +13425,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14099
13425
  a: do
14100
13426
  try {
14101
13427
  if (workInProgressSuspendedReason !== NotSuspended && null !== workInProgress) {
14102
- var unitOfWork = workInProgress;
14103
- var thrownValue = workInProgressThrownValue;
13428
+ var unitOfWork = workInProgress, thrownValue = workInProgressThrownValue;
14104
13429
  switch (workInProgressSuspendedReason) {
14105
13430
  case SuspendedOnHydration:
14106
13431
  resetWorkInProgressStack();
@@ -14144,8 +13469,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14144
13469
  function renderRootConcurrent(root, lanes) {
14145
13470
  var prevExecutionContext = executionContext;
14146
13471
  executionContext |= RenderContext;
14147
- var prevDispatcher = pushDispatcher();
14148
- var prevAsyncDispatcher = pushAsyncDispatcher();
13472
+ var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher();
14149
13473
  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) {
14150
13474
  if (isDevToolsPresent) {
14151
13475
  var memoizedUpdaters = root.memoizedUpdaters;
@@ -14193,9 +13517,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14193
13517
  case 26: resource = workInProgress.memoizedState;
14194
13518
  case 5:
14195
13519
  case 27:
14196
- var hostFiber = workInProgress;
14197
- var type = hostFiber.type;
14198
- var props = hostFiber.pendingProps;
13520
+ var hostFiber = workInProgress, type = hostFiber.type, props = hostFiber.pendingProps;
14199
13521
  if (resource ? preloadResource(resource) : preloadInstance(hostFiber.stateNode, type, props)) {
14200
13522
  workInProgressSuspendedReason = NotSuspended;
14201
13523
  workInProgressThrownValue = null;
@@ -14256,8 +13578,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14256
13578
  null === next ? completeUnitOfWork(unitOfWork) : workInProgress = next;
14257
13579
  }
14258
13580
  function replayBeginWork(unitOfWork) {
14259
- var current = unitOfWork.alternate;
14260
- var isProfilingMode = (unitOfWork.mode & 2) !== NoMode;
13581
+ var current = unitOfWork.alternate, isProfilingMode = (unitOfWork.mode & 2) !== NoMode;
14261
13582
  isProfilingMode && startProfilerTimer(unitOfWork);
14262
13583
  switch (unitOfWork.tag) {
14263
13584
  case 15:
@@ -14409,10 +13730,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14409
13730
  function flushMutationEffects() {
14410
13731
  if (pendingEffectsStatus === PENDING_MUTATION_PHASE) {
14411
13732
  pendingEffectsStatus = NO_PENDING_EFFECTS;
14412
- var root = pendingEffectsRoot;
14413
- var finishedWork = pendingFinishedWork;
14414
- var lanes = pendingEffectsLanes;
14415
- var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
13733
+ var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, lanes = pendingEffectsLanes, rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
14416
13734
  if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
14417
13735
  rootMutationHasEffect = ReactSharedInternals.T;
14418
13736
  ReactSharedInternals.T = null;
@@ -14436,8 +13754,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14436
13754
  var suspendedViewTransitionReason = pendingSuspendedViewTransitionReason;
14437
13755
  if (null !== suspendedViewTransitionReason) {
14438
13756
  commitStartTime = now();
14439
- var startTime = commitEndTime;
14440
- var endTime = commitStartTime;
13757
+ var startTime = commitEndTime, endTime = commitStartTime;
14441
13758
  !supportsUserTiming || endTime <= startTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, suspendedViewTransitionReason, startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-light")) : console.timeStamp(suspendedViewTransitionReason, startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-light"));
14442
13759
  }
14443
13760
  suspendedViewTransitionReason = pendingEffectsRoot;
@@ -14473,8 +13790,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14473
13790
  if (pendingEffectsStatus === PENDING_SPAWNED_WORK) {
14474
13791
  var startViewTransitionStartTime = commitEndTime;
14475
13792
  commitEndTime = now();
14476
- var endTime = commitEndTime;
14477
- var abortedViewTransition = pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
13793
+ var endTime = commitEndTime, abortedViewTransition = pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
14478
13794
  !supportsUserTiming || endTime <= startViewTransitionStartTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, endTime, currentTrack, "Scheduler ⚛", abortedViewTransition ? "error" : "secondary-light")) : console.timeStamp(abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, endTime, currentTrack, "Scheduler ⚛", abortedViewTransition ? " error" : "secondary-light"));
14479
13795
  pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT && (pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT);
14480
13796
  }
@@ -14522,8 +13838,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14522
13838
  try {
14523
13839
  var onRecoverableError = startViewTransitionStartTime.onRecoverableError;
14524
13840
  for (finishedWork = 0; finishedWork < abortedViewTransition.length; finishedWork++) {
14525
- var recoverableError = abortedViewTransition[finishedWork];
14526
- var errorInfo = makeErrorInfo(recoverableError.stack);
13841
+ var recoverableError = abortedViewTransition[finishedWork], errorInfo = makeErrorInfo(recoverableError.stack);
14527
13842
  runWithFiberInDEV(recoverableError.source, onRecoverableError, recoverableError.value, errorInfo);
14528
13843
  }
14529
13844
  } finally {
@@ -14557,11 +13872,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14557
13872
  }
14558
13873
  function flushPassiveEffects() {
14559
13874
  if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
14560
- var root = pendingEffectsRoot;
14561
- var remainingLanes = pendingEffectsRemainingLanes;
13875
+ var root = pendingEffectsRoot, remainingLanes = pendingEffectsRemainingLanes;
14562
13876
  pendingEffectsRemainingLanes = 0;
14563
- var renderPriority = lanesToEventPriority(pendingEffectsLanes);
14564
- var priority = 32 > renderPriority ? 32 : renderPriority;
13877
+ var renderPriority = lanesToEventPriority(pendingEffectsLanes), priority = 32 > renderPriority ? 32 : renderPriority;
14565
13878
  renderPriority = ReactSharedInternals.T;
14566
13879
  var previousPriority = getCurrentUpdatePriority();
14567
13880
  try {
@@ -14582,8 +13895,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14582
13895
  commitErrors = null;
14583
13896
  passiveEffectStartTime = now$1();
14584
13897
  if (pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT) {
14585
- var startTime = commitEndTime;
14586
- var endTime = passiveEffectStartTime;
13898
+ var startTime = commitEndTime, endTime = passiveEffectStartTime;
14587
13899
  !supportsUserTiming || endTime <= startTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, "Animating", startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-dark")) : console.timeStamp("Animating", startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-dark"));
14588
13900
  } else {
14589
13901
  startTime = commitEndTime;
@@ -14680,8 +13992,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14680
13992
  null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber));
14681
13993
  }
14682
13994
  function retryDehydratedSuspenseBoundary(boundaryFiber) {
14683
- var suspenseState = boundaryFiber.memoizedState;
14684
- var retryLane = 0;
13995
+ var suspenseState = boundaryFiber.memoizedState, retryLane = 0;
14685
13996
  null !== suspenseState && (retryLane = suspenseState.retryLane);
14686
13997
  retryTimedOutBoundary(boundaryFiber, retryLane);
14687
13998
  }
@@ -14707,9 +14018,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14707
14018
  }
14708
14019
  function recursivelyTraverseAndDoubleInvokeEffectsInDEV(root$jscomp$0, parentFiber, isInStrictMode) {
14709
14020
  if (0 !== (parentFiber.subtreeFlags & 67117056)) for (parentFiber = parentFiber.child; null !== parentFiber;) {
14710
- var root = root$jscomp$0;
14711
- var fiber = parentFiber;
14712
- var isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE;
14021
+ var root = root$jscomp$0, fiber = parentFiber, isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE;
14713
14022
  isStrictModeFiber = isInStrictMode || isStrictModeFiber;
14714
14023
  22 !== fiber.tag ? fiber.flags & 67108864 ? isStrictModeFiber && runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : recursivelyTraverseAndDoubleInvokeEffectsInDEV(root, fiber, isStrictModeFiber) : null === fiber.memoizedState && (isStrictModeFiber && fiber.flags & 8192 ? runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : fiber.subtreeFlags & 67108864 && runWithFiberInDEV(fiber, recursivelyTraverseAndDoubleInvokeEffectsInDEV, root, fiber, isStrictModeFiber));
14715
14024
  parentFiber = parentFiber.sibling;
@@ -14774,8 +14083,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14774
14083
  if (null === resolveFamily) return !1;
14775
14084
  var prevType = fiber.elementType;
14776
14085
  element = element.type;
14777
- var needsCompareFamilies = !1;
14778
- var $$typeofNextType = "object" === typeof element && null !== element ? element.$$typeof : null;
14086
+ var needsCompareFamilies = !1, $$typeofNextType = "object" === typeof element && null !== element ? element.$$typeof : null;
14779
14087
  switch (fiber.tag) {
14780
14088
  case 1:
14781
14089
  "function" === typeof element && (needsCompareFamilies = !0);
@@ -14799,11 +14107,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14799
14107
  }
14800
14108
  function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) {
14801
14109
  do {
14802
- var _fiber = fiber;
14803
- var alternate = _fiber.alternate;
14804
- var child = _fiber.child;
14805
- var sibling = _fiber.sibling;
14806
- var tag = _fiber.tag;
14110
+ var _fiber = fiber, alternate = _fiber.alternate, child = _fiber.child, sibling = _fiber.sibling, tag = _fiber.tag;
14807
14111
  _fiber = _fiber.type;
14808
14112
  var candidateType = null;
14809
14113
  switch (tag) {
@@ -14898,8 +14202,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
14898
14202
  return workInProgress;
14899
14203
  }
14900
14204
  function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) {
14901
- var fiberTag = 0;
14902
- var resolvedType = type;
14205
+ var fiberTag = 0, resolvedType = type;
14903
14206
  if ("function" === typeof type) shouldConstruct(type) && (fiberTag = 1), resolvedType = resolveFunctionForHotReloading(resolvedType);
14904
14207
  else if ("string" === typeof type) supportsResources && supportsSingletons ? (fiberTag = getHostContext(), fiberTag = isHostHoistableType(type, pendingProps, fiberTag) ? 26 : isHostSingletonType(type) ? 27 : 5) : supportsResources ? (fiberTag = getHostContext(), fiberTag = isHostHoistableType(type, pendingProps, fiberTag) ? 26 : 5) : fiberTag = supportsSingletons ? isHostSingletonType(type) ? 27 : 5 : 5;
14905
14208
  else a: switch (type) {
@@ -15070,102 +14373,25 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15070
14373
  return current;
15071
14374
  }
15072
14375
  var exports$1 = {};
15073
- var React = require_react();
15074
- var Scheduler = require_scheduler();
15075
- var assign = Object.assign;
15076
- var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element");
15077
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
15078
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
15079
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
15080
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
15081
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
15082
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
15083
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
15084
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
15085
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
15086
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
15087
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
15088
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
14376
+ var React = require_react(), Scheduler = require_scheduler(), assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy");
15089
14377
  var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
15090
14378
  var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
15091
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
15092
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
15093
- var isArrayImpl = Array.isArray;
15094
- var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
15095
- var rendererVersion = $$$config.rendererVersion;
15096
- var rendererPackageName = $$$config.rendererPackageName;
15097
- var extraDevToolsConfig = $$$config.extraDevToolsConfig;
15098
- var getPublicInstance = $$$config.getPublicInstance;
15099
- var getRootHostContext = $$$config.getRootHostContext;
15100
- var getChildHostContext = $$$config.getChildHostContext;
15101
- var prepareForCommit = $$$config.prepareForCommit;
15102
- var resetAfterCommit = $$$config.resetAfterCommit;
15103
- var createInstance = $$$config.createInstance;
14379
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, rendererVersion = $$$config.rendererVersion, rendererPackageName = $$$config.rendererPackageName, extraDevToolsConfig = $$$config.extraDevToolsConfig, getPublicInstance = $$$config.getPublicInstance, getRootHostContext = $$$config.getRootHostContext, getChildHostContext = $$$config.getChildHostContext, prepareForCommit = $$$config.prepareForCommit, resetAfterCommit = $$$config.resetAfterCommit, createInstance = $$$config.createInstance;
15104
14380
  $$$config.cloneMutableInstance;
15105
- var appendInitialChild = $$$config.appendInitialChild;
15106
- var finalizeInitialChildren = $$$config.finalizeInitialChildren;
15107
- var shouldSetTextContent = $$$config.shouldSetTextContent;
15108
- var createTextInstance = $$$config.createTextInstance;
14381
+ var appendInitialChild = $$$config.appendInitialChild, finalizeInitialChildren = $$$config.finalizeInitialChildren, shouldSetTextContent = $$$config.shouldSetTextContent, createTextInstance = $$$config.createTextInstance;
15109
14382
  $$$config.cloneMutableTextInstance;
15110
- var scheduleTimeout = $$$config.scheduleTimeout;
15111
- var cancelTimeout = $$$config.cancelTimeout;
15112
- var noTimeout = $$$config.noTimeout;
15113
- var isPrimaryRenderer = $$$config.isPrimaryRenderer;
14383
+ var scheduleTimeout = $$$config.scheduleTimeout, cancelTimeout = $$$config.cancelTimeout, noTimeout = $$$config.noTimeout, isPrimaryRenderer = $$$config.isPrimaryRenderer;
15114
14384
  $$$config.warnsIfNotActing;
15115
- var supportsMutation = $$$config.supportsMutation;
15116
- var supportsPersistence = $$$config.supportsPersistence;
15117
- var supportsHydration = $$$config.supportsHydration;
15118
- var getInstanceFromNode = $$$config.getInstanceFromNode;
14385
+ var supportsMutation = $$$config.supportsMutation, supportsPersistence = $$$config.supportsPersistence, supportsHydration = $$$config.supportsHydration, getInstanceFromNode = $$$config.getInstanceFromNode;
15119
14386
  $$$config.beforeActiveInstanceBlur;
15120
14387
  var preparePortalMount = $$$config.preparePortalMount;
15121
14388
  $$$config.prepareScopeUpdate;
15122
14389
  $$$config.getInstanceFromScope;
15123
- var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority;
15124
- var getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority;
15125
- var resolveUpdatePriority = $$$config.resolveUpdatePriority;
15126
- var trackSchedulerEvent = $$$config.trackSchedulerEvent;
15127
- var resolveEventType = $$$config.resolveEventType;
15128
- var resolveEventTimeStamp = $$$config.resolveEventTimeStamp;
15129
- var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition;
15130
- var detachDeletedInstance = $$$config.detachDeletedInstance;
14390
+ var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority, getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority, resolveUpdatePriority = $$$config.resolveUpdatePriority, trackSchedulerEvent = $$$config.trackSchedulerEvent, resolveEventType = $$$config.resolveEventType, resolveEventTimeStamp = $$$config.resolveEventTimeStamp, shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition, detachDeletedInstance = $$$config.detachDeletedInstance;
15131
14391
  $$$config.requestPostPaintCallback;
15132
- var maySuspendCommit = $$$config.maySuspendCommit;
15133
- var maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate;
15134
- var maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender;
15135
- var preloadInstance = $$$config.preloadInstance;
15136
- var startSuspendingCommit = $$$config.startSuspendingCommit;
15137
- var suspendInstance = $$$config.suspendInstance;
14392
+ var maySuspendCommit = $$$config.maySuspendCommit, maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate, maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender, preloadInstance = $$$config.preloadInstance, startSuspendingCommit = $$$config.startSuspendingCommit, suspendInstance = $$$config.suspendInstance;
15138
14393
  $$$config.suspendOnActiveViewTransition;
15139
- var waitForCommitToBeReady = $$$config.waitForCommitToBeReady;
15140
- var getSuspendedCommitReason = $$$config.getSuspendedCommitReason;
15141
- var NotPendingTransition = $$$config.NotPendingTransition;
15142
- var HostTransitionContext = $$$config.HostTransitionContext;
15143
- var resetFormInstance = $$$config.resetFormInstance;
15144
- var bindToConsole = $$$config.bindToConsole;
15145
- var supportsMicrotasks = $$$config.supportsMicrotasks;
15146
- var scheduleMicrotask = $$$config.scheduleMicrotask;
15147
- var supportsTestSelectors = $$$config.supportsTestSelectors;
15148
- var findFiberRoot = $$$config.findFiberRoot;
15149
- var getBoundingRect = $$$config.getBoundingRect;
15150
- var getTextContent = $$$config.getTextContent;
15151
- var isHiddenSubtree = $$$config.isHiddenSubtree;
15152
- var matchAccessibilityRole = $$$config.matchAccessibilityRole;
15153
- var setFocusIfFocusable = $$$config.setFocusIfFocusable;
15154
- var setupIntersectionObserver = $$$config.setupIntersectionObserver;
15155
- var appendChild = $$$config.appendChild;
15156
- var appendChildToContainer = $$$config.appendChildToContainer;
15157
- var commitTextUpdate = $$$config.commitTextUpdate;
15158
- var commitMount = $$$config.commitMount;
15159
- var commitUpdate = $$$config.commitUpdate;
15160
- var insertBefore = $$$config.insertBefore;
15161
- var insertInContainerBefore = $$$config.insertInContainerBefore;
15162
- var removeChild = $$$config.removeChild;
15163
- var removeChildFromContainer = $$$config.removeChildFromContainer;
15164
- var resetTextContent = $$$config.resetTextContent;
15165
- var hideInstance = $$$config.hideInstance;
15166
- var hideTextInstance = $$$config.hideTextInstance;
15167
- var unhideInstance = $$$config.unhideInstance;
15168
- var unhideTextInstance = $$$config.unhideTextInstance;
14394
+ var waitForCommitToBeReady = $$$config.waitForCommitToBeReady, getSuspendedCommitReason = $$$config.getSuspendedCommitReason, NotPendingTransition = $$$config.NotPendingTransition, HostTransitionContext = $$$config.HostTransitionContext, resetFormInstance = $$$config.resetFormInstance, bindToConsole = $$$config.bindToConsole, supportsMicrotasks = $$$config.supportsMicrotasks, scheduleMicrotask = $$$config.scheduleMicrotask, supportsTestSelectors = $$$config.supportsTestSelectors, findFiberRoot = $$$config.findFiberRoot, getBoundingRect = $$$config.getBoundingRect, getTextContent = $$$config.getTextContent, isHiddenSubtree = $$$config.isHiddenSubtree, matchAccessibilityRole = $$$config.matchAccessibilityRole, setFocusIfFocusable = $$$config.setFocusIfFocusable, setupIntersectionObserver = $$$config.setupIntersectionObserver, appendChild = $$$config.appendChild, appendChildToContainer = $$$config.appendChildToContainer, commitTextUpdate = $$$config.commitTextUpdate, commitMount = $$$config.commitMount, commitUpdate = $$$config.commitUpdate, insertBefore = $$$config.insertBefore, insertInContainerBefore = $$$config.insertInContainerBefore, removeChild = $$$config.removeChild, removeChildFromContainer = $$$config.removeChildFromContainer, resetTextContent = $$$config.resetTextContent, hideInstance = $$$config.hideInstance, hideTextInstance = $$$config.hideTextInstance, unhideInstance = $$$config.unhideInstance, unhideTextInstance = $$$config.unhideTextInstance;
15169
14395
  $$$config.cancelViewTransitionName;
15170
14396
  $$$config.cancelRootViewTransitionName;
15171
14397
  $$$config.restoreRootViewTransitionName;
@@ -15184,101 +14410,15 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15184
14410
  $$$config.updateFragmentInstanceFiber;
15185
14411
  $$$config.commitNewChildToFragmentInstance;
15186
14412
  $$$config.deleteChildFromFragmentInstance;
15187
- var cloneInstance = $$$config.cloneInstance;
15188
- var createContainerChildSet = $$$config.createContainerChildSet;
15189
- var appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet;
15190
- var finalizeContainerChildren = $$$config.finalizeContainerChildren;
15191
- var replaceContainerChildren = $$$config.replaceContainerChildren;
15192
- var cloneHiddenInstance = $$$config.cloneHiddenInstance;
15193
- var cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance;
15194
- var isSuspenseInstancePending = $$$config.isSuspenseInstancePending;
15195
- var isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback;
15196
- var getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails;
15197
- var registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry;
15198
- var canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker;
15199
- var isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching;
15200
- var getNextHydratableSibling = $$$config.getNextHydratableSibling;
15201
- var getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton;
15202
- var getFirstHydratableChild = $$$config.getFirstHydratableChild;
15203
- var getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer;
15204
- var getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance;
15205
- var getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance;
15206
- var getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton;
15207
- var canHydrateInstance = $$$config.canHydrateInstance;
15208
- var canHydrateTextInstance = $$$config.canHydrateTextInstance;
15209
- var canHydrateActivityInstance = $$$config.canHydrateActivityInstance;
15210
- var canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance;
15211
- var hydrateInstance = $$$config.hydrateInstance;
15212
- var hydrateTextInstance = $$$config.hydrateTextInstance;
15213
- var hydrateActivityInstance = $$$config.hydrateActivityInstance;
15214
- var hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance;
15215
- var getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance;
15216
- var getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance;
15217
- var commitHydratedInstance = $$$config.commitHydratedInstance;
15218
- var commitHydratedContainer = $$$config.commitHydratedContainer;
15219
- var commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance;
15220
- var commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance;
15221
- var finalizeHydratedChildren = $$$config.finalizeHydratedChildren;
15222
- var flushHydrationEvents = $$$config.flushHydrationEvents;
14413
+ var cloneInstance = $$$config.cloneInstance, createContainerChildSet = $$$config.createContainerChildSet, appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet, finalizeContainerChildren = $$$config.finalizeContainerChildren, replaceContainerChildren = $$$config.replaceContainerChildren, cloneHiddenInstance = $$$config.cloneHiddenInstance, cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance, isSuspenseInstancePending = $$$config.isSuspenseInstancePending, isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback, getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails, registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry, canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker, isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching, getNextHydratableSibling = $$$config.getNextHydratableSibling, getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton, getFirstHydratableChild = $$$config.getFirstHydratableChild, getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer, getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance, getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance, getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton, canHydrateInstance = $$$config.canHydrateInstance, canHydrateTextInstance = $$$config.canHydrateTextInstance, canHydrateActivityInstance = $$$config.canHydrateActivityInstance, canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance, hydrateInstance = $$$config.hydrateInstance, hydrateTextInstance = $$$config.hydrateTextInstance, hydrateActivityInstance = $$$config.hydrateActivityInstance, hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance, getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance, getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance, commitHydratedInstance = $$$config.commitHydratedInstance, commitHydratedContainer = $$$config.commitHydratedContainer, commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance, commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance, finalizeHydratedChildren = $$$config.finalizeHydratedChildren, flushHydrationEvents = $$$config.flushHydrationEvents;
15223
14414
  $$$config.clearActivityBoundary;
15224
14415
  var clearSuspenseBoundary = $$$config.clearSuspenseBoundary;
15225
14416
  $$$config.clearActivityBoundaryFromContainer;
15226
- var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer;
15227
- var hideDehydratedBoundary = $$$config.hideDehydratedBoundary;
15228
- var unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary;
15229
- var shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances;
15230
- var diffHydratedPropsForDevWarnings = $$$config.diffHydratedPropsForDevWarnings;
15231
- var diffHydratedTextForDevWarnings = $$$config.diffHydratedTextForDevWarnings;
15232
- var describeHydratableInstanceForDevWarnings = $$$config.describeHydratableInstanceForDevWarnings;
15233
- var validateHydratableInstance = $$$config.validateHydratableInstance;
15234
- var validateHydratableTextInstance = $$$config.validateHydratableTextInstance;
15235
- var supportsResources = $$$config.supportsResources;
15236
- var isHostHoistableType = $$$config.isHostHoistableType;
15237
- var getHoistableRoot = $$$config.getHoistableRoot;
15238
- var getResource = $$$config.getResource;
15239
- var acquireResource = $$$config.acquireResource;
15240
- var releaseResource = $$$config.releaseResource;
15241
- var hydrateHoistable = $$$config.hydrateHoistable;
15242
- var mountHoistable = $$$config.mountHoistable;
15243
- var unmountHoistable = $$$config.unmountHoistable;
15244
- var createHoistableInstance = $$$config.createHoistableInstance;
15245
- var prepareToCommitHoistables = $$$config.prepareToCommitHoistables;
15246
- var mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit;
15247
- var preloadResource = $$$config.preloadResource;
15248
- var suspendResource = $$$config.suspendResource;
15249
- var supportsSingletons = $$$config.supportsSingletons;
15250
- var resolveSingletonInstance = $$$config.resolveSingletonInstance;
15251
- var acquireSingletonInstance = $$$config.acquireSingletonInstance;
15252
- var releaseSingletonInstance = $$$config.releaseSingletonInstance;
15253
- var isHostSingletonType = $$$config.isHostSingletonType;
15254
- var isSingletonScope = $$$config.isSingletonScope;
15255
- var valueStack = [];
14417
+ var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer, hideDehydratedBoundary = $$$config.hideDehydratedBoundary, unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary, shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances, diffHydratedPropsForDevWarnings = $$$config.diffHydratedPropsForDevWarnings, diffHydratedTextForDevWarnings = $$$config.diffHydratedTextForDevWarnings, describeHydratableInstanceForDevWarnings = $$$config.describeHydratableInstanceForDevWarnings, validateHydratableInstance = $$$config.validateHydratableInstance, validateHydratableTextInstance = $$$config.validateHydratableTextInstance, supportsResources = $$$config.supportsResources, isHostHoistableType = $$$config.isHostHoistableType, getHoistableRoot = $$$config.getHoistableRoot, getResource = $$$config.getResource, acquireResource = $$$config.acquireResource, releaseResource = $$$config.releaseResource, hydrateHoistable = $$$config.hydrateHoistable, mountHoistable = $$$config.mountHoistable, unmountHoistable = $$$config.unmountHoistable, createHoistableInstance = $$$config.createHoistableInstance, prepareToCommitHoistables = $$$config.prepareToCommitHoistables, mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit, preloadResource = $$$config.preloadResource, suspendResource = $$$config.suspendResource, supportsSingletons = $$$config.supportsSingletons, resolveSingletonInstance = $$$config.resolveSingletonInstance, acquireSingletonInstance = $$$config.acquireSingletonInstance, releaseSingletonInstance = $$$config.releaseSingletonInstance, isHostSingletonType = $$$config.isHostSingletonType, isSingletonScope = $$$config.isSingletonScope, valueStack = [];
15256
14418
  var fiberStack = [];
15257
- var index$jscomp$0 = -1;
15258
- var emptyContextObject = {};
14419
+ var index$jscomp$0 = -1, emptyContextObject = {};
15259
14420
  Object.freeze(emptyContextObject);
15260
- var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback;
15261
- var log$1 = Math.log;
15262
- var LN2 = Math.LN2;
15263
- var nextTransitionUpdateLane = 256;
15264
- var nextTransitionDeferredLane = 262144;
15265
- var nextRetryLane = 4194304;
15266
- var scheduleCallback$3 = Scheduler.unstable_scheduleCallback;
15267
- var cancelCallback$1 = Scheduler.unstable_cancelCallback;
15268
- var shouldYield = Scheduler.unstable_shouldYield;
15269
- var requestPaint = Scheduler.unstable_requestPaint;
15270
- var now$1 = Scheduler.unstable_now;
15271
- var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
15272
- var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
15273
- var NormalPriority$1 = Scheduler.unstable_NormalPriority;
15274
- var IdlePriority = Scheduler.unstable_IdlePriority;
15275
- var log = Scheduler.log;
15276
- var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;
15277
- var rendererID = null;
15278
- var injectedHook = null;
15279
- var hasLoggedError = !1;
15280
- var isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;
15281
- var lastResetTime = 0;
14421
+ var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log$1 = Math.log, LN2 = Math.LN2, nextTransitionUpdateLane = 256, nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now$1 = Scheduler.unstable_now, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, IdlePriority = Scheduler.unstable_IdlePriority, log = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, lastResetTime = 0;
15282
14422
  if ("object" === typeof performance && "function" === typeof performance.now) {
15283
14423
  var localPerformance = performance;
15284
14424
  var getCurrentTime = function() {
@@ -15290,8 +14430,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15290
14430
  return localDate.now();
15291
14431
  };
15292
14432
  }
15293
- var objectIs = "function" === typeof Object.is ? Object.is : is;
15294
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
14433
+ var objectIs = "function" === typeof Object.is ? Object.is : is, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
15295
14434
  if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
15296
14435
  var event = new window.ErrorEvent("error", {
15297
14436
  bubbles: !0,
@@ -15305,71 +14444,24 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15305
14444
  return;
15306
14445
  }
15307
14446
  console.error(error);
15308
- };
15309
- var hasOwnProperty = Object.prototype.hasOwnProperty;
15310
- var supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && "undefined" !== typeof performance && "function" === typeof performance.measure;
15311
- var currentTrack = "Blocking";
15312
- var alreadyWarnedForDeepEquality = !1;
15313
- var reusableComponentDevToolDetails = {
14447
+ }, hasOwnProperty = Object.prototype.hasOwnProperty, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && "undefined" !== typeof performance && "function" === typeof performance.measure, currentTrack = "Blocking", alreadyWarnedForDeepEquality = !1, reusableComponentDevToolDetails = {
15314
14448
  color: "primary",
15315
14449
  properties: null,
15316
14450
  tooltipText: "",
15317
14451
  track: "Components ⚛"
15318
- };
15319
- var reusableComponentOptions = {
14452
+ }, reusableComponentOptions = {
15320
14453
  start: -0,
15321
14454
  end: -0,
15322
14455
  detail: { devtools: reusableComponentDevToolDetails }
15323
- };
15324
- var resuableChangedPropsEntry = ["Changed Props", ""];
15325
- var reusableDeeplyEqualPropsEntry = ["Changed Props", "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."];
15326
- var disabledDepth = 0;
15327
- var prevLog;
15328
- var prevInfo;
15329
- var prevWarn;
15330
- var prevError;
15331
- var prevGroup;
15332
- var prevGroupCollapsed;
15333
- var prevGroupEnd;
14456
+ }, resuableChangedPropsEntry = ["Changed Props", ""], reusableDeeplyEqualPropsEntry = ["Changed Props", "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."], disabledDepth = 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd;
15334
14457
  disabledLog.__reactDisabledLog = !0;
15335
- var prefix;
15336
- var suffix;
15337
- var reentry = !1;
14458
+ var prefix, suffix, reentry = !1;
15338
14459
  var componentFrameCache = new ("function" === typeof WeakMap ? WeakMap : Map)();
15339
- var CapturedStacks = /* @__PURE__ */ new WeakMap();
15340
- var forkStack = [];
15341
- var forkStackIndex = 0;
15342
- var treeForkProvider = null;
15343
- var treeForkCount = 0;
15344
- var idStack = [];
15345
- var idStackIndex = 0;
15346
- var treeContextProvider = null;
15347
- var treeContextId = 1;
15348
- var treeContextOverflow = "";
15349
- var contextStackCursor = createCursor(null);
15350
- var contextFiberStackCursor = createCursor(null);
15351
- var rootInstanceStackCursor = createCursor(null);
15352
- var hostTransitionProviderCursor = createCursor(null);
15353
- var needsEscaping = /["'&<>\n\t]|^\s|\s$/;
15354
- var current = null;
15355
- var isRendering = !1;
15356
- var hydrationParentFiber = null;
15357
- var nextHydratableInstance = null;
15358
- var isHydrating = !1;
15359
- var didSuspendOrErrorDEV = !1;
15360
- var hydrationDiffRootDEV = null;
15361
- var hydrationErrors = null;
15362
- var rootOrSingletonContext = !1;
15363
- var HydrationMismatchException = Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.");
15364
- var NoMode = 0;
15365
- var valueCursor = createCursor(null);
14460
+ var CapturedStacks = /* @__PURE__ */ new WeakMap(), forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "", contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null), needsEscaping = /["'&<>\n\t]|^\s|\s$/, current = null, isRendering = !1, hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, didSuspendOrErrorDEV = !1, hydrationDiffRootDEV = null, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), NoMode = 0, valueCursor = createCursor(null);
15366
14461
  var rendererCursorDEV = createCursor(null);
15367
14462
  var renderer2CursorDEV = createCursor(null);
15368
14463
  var rendererSigil = {};
15369
- var currentlyRenderingFiber$1 = null;
15370
- var lastContextDependency = null;
15371
- var isDisallowedContextReadInDEV = !1;
15372
- var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
14464
+ var currentlyRenderingFiber$1 = null, lastContextDependency = null, isDisallowedContextReadInDEV = !1, AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
15373
14465
  var listeners = [], signal = this.signal = {
15374
14466
  aborted: !1,
15375
14467
  addEventListener: function(type, listener) {
@@ -15382,10 +14474,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15382
14474
  return listener();
15383
14475
  });
15384
14476
  };
15385
- };
15386
- var scheduleCallback$2 = Scheduler.unstable_scheduleCallback;
15387
- var NormalPriority = Scheduler.unstable_NormalPriority;
15388
- var CacheContext = {
14477
+ }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = {
15389
14478
  $$typeof: REACT_CONTEXT_TYPE,
15390
14479
  Consumer: null,
15391
14480
  Provider: null,
@@ -15394,68 +14483,15 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15394
14483
  _threadCount: 0,
15395
14484
  _currentRenderer: null,
15396
14485
  _currentRenderer2: null
15397
- };
15398
- var now = Scheduler.unstable_now;
15399
- var createTask = console.createTask ? console.createTask : function() {
14486
+ }, now = Scheduler.unstable_now, createTask = console.createTask ? console.createTask : function() {
15400
14487
  return null;
15401
- };
15402
- var renderStartTime = -0;
15403
- var commitStartTime = -0;
15404
- var commitEndTime = -0;
15405
- var commitErrors = null;
15406
- var profilerStartTime = -1.1;
15407
- var profilerEffectDuration = -0;
15408
- var componentEffectDuration = -0;
15409
- var componentEffectStartTime = -1.1;
15410
- var componentEffectEndTime = -1.1;
15411
- var componentEffectErrors = null;
15412
- var componentEffectSpawnedUpdate = !1;
15413
- var blockingClampTime = -0;
15414
- var blockingUpdateTime = -1.1;
15415
- var blockingUpdateTask = null;
15416
- var blockingUpdateType = 0;
15417
- var blockingUpdateMethodName = null;
15418
- var blockingUpdateComponentName = null;
15419
- var blockingEventTime = -1.1;
15420
- var blockingEventType = null;
15421
- var blockingEventRepeatTime = -1.1;
15422
- var blockingSuspendedTime = -1.1;
15423
- var transitionClampTime = -0;
15424
- var transitionStartTime = -1.1;
15425
- var transitionUpdateTime = -1.1;
15426
- var transitionUpdateType = 0;
15427
- var transitionUpdateTask = null;
15428
- var transitionUpdateMethodName = null;
15429
- var transitionUpdateComponentName = null;
15430
- var transitionEventTime = -1.1;
15431
- var transitionEventType = null;
15432
- var transitionEventRepeatTime = -1.1;
15433
- var transitionSuspendedTime = -1.1;
15434
- var animatingTask = null;
15435
- var yieldReason = 0;
15436
- var yieldStartTime = -1.1;
15437
- var currentUpdateIsNested = !1;
15438
- var nestedUpdateScheduled = !1;
15439
- var firstScheduledRoot = null;
15440
- var lastScheduledRoot = null;
15441
- var didScheduleMicrotask = !1;
15442
- var didScheduleMicrotask_act = !1;
15443
- var mightHavePendingSyncWork = !1;
15444
- var isFlushingWork = !1;
15445
- var currentEventTransitionLane = 0;
15446
- var fakeActCallbackNode$1 = {};
15447
- var currentEntangledListeners = null;
15448
- var currentEntangledPendingCount = 0;
15449
- var currentEntangledLane = 0;
15450
- var currentEntangledActionThenable = null;
15451
- var prevOnStartTransitionFinish = ReactSharedInternals.S;
14488
+ }, renderStartTime = -0, commitStartTime = -0, commitEndTime = -0, commitErrors = null, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, componentEffectStartTime = -1.1, componentEffectEndTime = -1.1, componentEffectErrors = null, componentEffectSpawnedUpdate = !1, blockingClampTime = -0, blockingUpdateTime = -1.1, blockingUpdateTask = null, blockingUpdateType = 0, blockingUpdateMethodName = null, blockingUpdateComponentName = null, blockingEventTime = -1.1, blockingEventType = null, blockingEventRepeatTime = -1.1, blockingSuspendedTime = -1.1, transitionClampTime = -0, transitionStartTime = -1.1, transitionUpdateTime = -1.1, transitionUpdateType = 0, transitionUpdateTask = null, transitionUpdateMethodName = null, transitionUpdateComponentName = null, transitionEventTime = -1.1, transitionEventType = null, transitionEventRepeatTime = -1.1, transitionSuspendedTime = -1.1, animatingTask = null, yieldReason = 0, yieldStartTime = -1.1, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, didScheduleMicrotask_act = !1, mightHavePendingSyncWork = !1, isFlushingWork = !1, currentEventTransitionLane = 0, fakeActCallbackNode$1 = {}, currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null, prevOnStartTransitionFinish = ReactSharedInternals.S;
15452
14489
  ReactSharedInternals.S = function(transition, returnValue) {
15453
14490
  globalMostRecentTransitionTime = now$1();
15454
14491
  if ("object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then) {
15455
14492
  if (0 > transitionStartTime && 0 > transitionUpdateTime) {
15456
14493
  transitionStartTime = now();
15457
- var newEventTime = resolveEventTimeStamp();
15458
- var newEventType = resolveEventType();
14494
+ var newEventTime = resolveEventTimeStamp(), newEventType = resolveEventType();
15459
14495
  if (newEventTime !== transitionEventRepeatTime || newEventType !== transitionEventType) transitionEventRepeatTime = -1.1;
15460
14496
  transitionEventTime = newEventTime;
15461
14497
  transitionEventType = newEventType;
@@ -15464,21 +14500,13 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15464
14500
  }
15465
14501
  null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue);
15466
14502
  };
15467
- var resumedCache = createCursor(null);
15468
- var ReactStrictModeWarnings = {
14503
+ var resumedCache = createCursor(null), ReactStrictModeWarnings = {
15469
14504
  recordUnsafeLifecycleWarnings: function() {},
15470
14505
  flushPendingUnsafeLifecycleWarnings: function() {},
15471
14506
  recordLegacyContextWarning: function() {},
15472
14507
  flushLegacyContextWarning: function() {},
15473
14508
  discardPendingWarnings: function() {}
15474
- };
15475
- var pendingComponentWillMountWarnings = [];
15476
- var pendingUNSAFE_ComponentWillMountWarnings = [];
15477
- var pendingComponentWillReceivePropsWarnings = [];
15478
- var pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
15479
- var pendingComponentWillUpdateWarnings = [];
15480
- var pendingUNSAFE_ComponentWillUpdateWarnings = [];
15481
- var didWarnAboutUnsafeLifecycles = /* @__PURE__ */ new Set();
14509
+ }, pendingComponentWillMountWarnings = [], pendingUNSAFE_ComponentWillMountWarnings = [], pendingComponentWillReceivePropsWarnings = [], pendingUNSAFE_ComponentWillReceivePropsWarnings = [], pendingComponentWillUpdateWarnings = [], pendingUNSAFE_ComponentWillUpdateWarnings = [], didWarnAboutUnsafeLifecycles = /* @__PURE__ */ new Set();
15482
14510
  ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function(fiber, instance) {
15483
14511
  didWarnAboutUnsafeLifecycles.has(fiber.type) || ("function" === typeof instance.componentWillMount && !0 !== instance.componentWillMount.__suppressDeprecationWarning && pendingComponentWillMountWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillMount && pendingUNSAFE_ComponentWillMountWarnings.push(fiber), "function" === typeof instance.componentWillReceiveProps && !0 !== instance.componentWillReceiveProps.__suppressDeprecationWarning && pendingComponentWillReceivePropsWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillReceiveProps && pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber), "function" === typeof instance.componentWillUpdate && !0 !== instance.componentWillUpdate.__suppressDeprecationWarning && pendingComponentWillUpdateWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillUpdate && pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber));
15484
14512
  };
@@ -15523,8 +14551,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15523
14551
  0 < componentWillReceivePropsUniqueNames.size && (sortedNames = setToSortedString(componentWillReceivePropsUniqueNames), console.warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames));
15524
14552
  0 < componentWillUpdateUniqueNames.size && (sortedNames = setToSortedString(componentWillUpdateUniqueNames), console.warn("componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames));
15525
14553
  };
15526
- var pendingLegacyContextWarning = /* @__PURE__ */ new Map();
15527
- var didWarnAboutLegacyContext = /* @__PURE__ */ new Set();
14554
+ var pendingLegacyContextWarning = /* @__PURE__ */ new Map(), didWarnAboutLegacyContext = /* @__PURE__ */ new Set();
15528
14555
  ReactStrictModeWarnings.recordLegacyContextWarning = function(fiber, instance) {
15529
14556
  var strictRoot = null;
15530
14557
  for (var node = fiber; null !== node;) node.mode & 8 && (strictRoot = node), node = node.return;
@@ -15533,8 +14560,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15533
14560
  ReactStrictModeWarnings.flushLegacyContextWarning = function() {
15534
14561
  pendingLegacyContextWarning.forEach(function(fiberArray) {
15535
14562
  if (0 !== fiberArray.length) {
15536
- var firstFiber = fiberArray[0];
15537
- var uniqueNames = /* @__PURE__ */ new Set();
14563
+ var firstFiber = fiberArray[0], uniqueNames = /* @__PURE__ */ new Set();
15538
14564
  fiberArray.forEach(function(fiber) {
15539
14565
  uniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
15540
14566
  didWarnAboutLegacyContext.add(fiber.type);
@@ -15563,9 +14589,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15563
14589
  } finally {
15564
14590
  isRendering = wasRendering;
15565
14591
  }
15566
- } };
15567
- var callComponentInDEV = callComponent.react_stack_bottom_frame.bind(callComponent);
15568
- var callRender = { react_stack_bottom_frame: function(instance) {
14592
+ } }, callComponentInDEV = callComponent.react_stack_bottom_frame.bind(callComponent), callRender = { react_stack_bottom_frame: function(instance) {
15569
14593
  var wasRendering = isRendering;
15570
14594
  isRendering = !0;
15571
14595
  try {
@@ -15573,69 +14597,44 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15573
14597
  } finally {
15574
14598
  isRendering = wasRendering;
15575
14599
  }
15576
- } };
15577
- var callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender);
15578
- var callComponentDidMount = { react_stack_bottom_frame: function(finishedWork, instance) {
14600
+ } }, callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender), callComponentDidMount = { react_stack_bottom_frame: function(finishedWork, instance) {
15579
14601
  try {
15580
14602
  instance.componentDidMount();
15581
14603
  } catch (error) {
15582
14604
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
15583
14605
  }
15584
- } };
15585
- var callComponentDidMountInDEV = callComponentDidMount.react_stack_bottom_frame.bind(callComponentDidMount);
15586
- var callComponentDidUpdate = { react_stack_bottom_frame: function(finishedWork, instance, prevProps, prevState, snapshot) {
14606
+ } }, callComponentDidMountInDEV = callComponentDidMount.react_stack_bottom_frame.bind(callComponentDidMount), callComponentDidUpdate = { react_stack_bottom_frame: function(finishedWork, instance, prevProps, prevState, snapshot) {
15587
14607
  try {
15588
14608
  instance.componentDidUpdate(prevProps, prevState, snapshot);
15589
14609
  } catch (error) {
15590
14610
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
15591
14611
  }
15592
- } };
15593
- var callComponentDidUpdateInDEV = callComponentDidUpdate.react_stack_bottom_frame.bind(callComponentDidUpdate);
15594
- var callComponentDidCatch = { react_stack_bottom_frame: function(instance, errorInfo) {
14612
+ } }, callComponentDidUpdateInDEV = callComponentDidUpdate.react_stack_bottom_frame.bind(callComponentDidUpdate), callComponentDidCatch = { react_stack_bottom_frame: function(instance, errorInfo) {
15595
14613
  var stack = errorInfo.stack;
15596
14614
  instance.componentDidCatch(errorInfo.value, { componentStack: null !== stack ? stack : "" });
15597
- } };
15598
- var callComponentDidCatchInDEV = callComponentDidCatch.react_stack_bottom_frame.bind(callComponentDidCatch);
15599
- var callComponentWillUnmount = { react_stack_bottom_frame: function(current, nearestMountedAncestor, instance) {
14615
+ } }, callComponentDidCatchInDEV = callComponentDidCatch.react_stack_bottom_frame.bind(callComponentDidCatch), callComponentWillUnmount = { react_stack_bottom_frame: function(current, nearestMountedAncestor, instance) {
15600
14616
  try {
15601
14617
  instance.componentWillUnmount();
15602
14618
  } catch (error) {
15603
14619
  captureCommitPhaseError(current, nearestMountedAncestor, error);
15604
14620
  }
15605
- } };
15606
- var callComponentWillUnmountInDEV = callComponentWillUnmount.react_stack_bottom_frame.bind(callComponentWillUnmount);
15607
- var callCreate = { react_stack_bottom_frame: function(effect) {
14621
+ } }, callComponentWillUnmountInDEV = callComponentWillUnmount.react_stack_bottom_frame.bind(callComponentWillUnmount), callCreate = { react_stack_bottom_frame: function(effect) {
15608
14622
  var create = effect.create;
15609
14623
  effect = effect.inst;
15610
14624
  create = create();
15611
14625
  return effect.destroy = create;
15612
- } };
15613
- var callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate);
15614
- var callDestroy = { react_stack_bottom_frame: function(current, nearestMountedAncestor, destroy) {
14626
+ } }, callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate), callDestroy = { react_stack_bottom_frame: function(current, nearestMountedAncestor, destroy) {
15615
14627
  try {
15616
14628
  destroy();
15617
14629
  } catch (error) {
15618
14630
  captureCommitPhaseError(current, nearestMountedAncestor, error);
15619
14631
  }
15620
- } };
15621
- var callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy);
15622
- var callLazyInit = { react_stack_bottom_frame: function(lazy) {
14632
+ } }, callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy), callLazyInit = { react_stack_bottom_frame: function(lazy) {
15623
14633
  var init = lazy._init;
15624
14634
  return init(lazy._payload);
15625
- } };
15626
- var callLazyInitInDEV = callLazyInit.react_stack_bottom_frame.bind(callLazyInit);
15627
- var SuspenseException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.");
15628
- var SuspenseyCommitException = Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.");
15629
- var SuspenseActionException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary.");
15630
- var noopSuspenseyCommitThenable = { then: function() {
14635
+ } }, callLazyInitInDEV = callLazyInit.react_stack_bottom_frame.bind(callLazyInit), SuspenseException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."), SuspenseyCommitException = Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), SuspenseActionException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."), noopSuspenseyCommitThenable = { then: function() {
15631
14636
  console.error("Internal React error: A listener was unexpectedly attached to a \"noop\" thenable. This is a bug in React. Please file an issue.");
15632
- } };
15633
- var suspendedThenable = null;
15634
- var needsToResetSuspendedThenableDEV = !1;
15635
- var thenableState$1 = null;
15636
- var thenableIndexCounter$1 = 0;
15637
- var currentDebugInfo = null;
15638
- var didWarnAboutMaps;
14637
+ } }, suspendedThenable = null, needsToResetSuspendedThenableDEV = !1, thenableState$1 = null, thenableIndexCounter$1 = 0, currentDebugInfo = null, didWarnAboutMaps;
15639
14638
  var didWarnAboutGenerators = didWarnAboutMaps = !1;
15640
14639
  var ownerHasKeyUseWarning = {};
15641
14640
  var ownerHasFunctionTypeWarning = {};
@@ -15644,8 +14643,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15644
14643
  if (null !== child && "object" === typeof child && child._store && (!child._store.validated && null == child.key || 2 === child._store.validated)) {
15645
14644
  if ("object" !== typeof child._store) throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
15646
14645
  child._store.validated = 1;
15647
- var componentName = getComponentNameFromFiber(returnFiber);
15648
- var componentKey = componentName || "null";
14646
+ var componentName = getComponentNameFromFiber(returnFiber), componentKey = componentName || "null";
15649
14647
  if (!ownerHasKeyUseWarning[componentKey]) {
15650
14648
  ownerHasKeyUseWarning[componentKey] = !0;
15651
14649
  child = child._owner;
@@ -15661,55 +14659,15 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15661
14659
  }
15662
14660
  }
15663
14661
  };
15664
- var reconcileChildFibers = createChildReconciler(!0);
15665
- var mountChildFibers = createChildReconciler(!1);
15666
- var OffscreenVisible = 1;
15667
- var OffscreenPassiveEffectsConnected = 2;
15668
- var concurrentQueues = [];
15669
- var concurrentQueuesIndex = 0;
15670
- var concurrentlyUpdatedLanes = 0;
15671
- var UpdateState = 0;
15672
- var ReplaceState = 1;
15673
- var ForceUpdate = 2;
15674
- var CaptureUpdate = 3;
15675
- var hasForceUpdate = !1;
14662
+ var reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), OffscreenVisible = 1, OffscreenPassiveEffectsConnected = 2, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, UpdateState = 0, ReplaceState = 1, ForceUpdate = 2, CaptureUpdate = 3, hasForceUpdate = !1;
15676
14663
  var didWarnUpdateInsideUpdate = !1;
15677
14664
  var currentlyProcessingQueue = null;
15678
- var didReadFromEntangledAsyncAction = !1;
15679
- var currentTreeHiddenStackCursor = createCursor(null);
15680
- var prevEntangledRenderLanesCursor = createCursor(0);
15681
- var suspenseHandlerStackCursor = createCursor(null);
15682
- var shellBoundary = null;
15683
- var SubtreeSuspenseContextMask = 1;
15684
- var ForceSuspenseFallback = 2;
15685
- var suspenseStackCursor = createCursor(0);
15686
- var NoFlags = 0;
15687
- var HasEffect = 1;
15688
- var Insertion = 2;
15689
- var Layout = 4;
15690
- var Passive = 8;
15691
- var didWarnUncachedGetSnapshot;
14665
+ var didReadFromEntangledAsyncAction = !1, currentTreeHiddenStackCursor = createCursor(null), prevEntangledRenderLanesCursor = createCursor(0), suspenseHandlerStackCursor = createCursor(null), shellBoundary = null, SubtreeSuspenseContextMask = 1, ForceSuspenseFallback = 2, suspenseStackCursor = createCursor(0), NoFlags = 0, HasEffect = 1, Insertion = 2, Layout = 4, Passive = 8, didWarnUncachedGetSnapshot;
15692
14666
  var didWarnAboutMismatchedHooksForComponent = /* @__PURE__ */ new Set();
15693
14667
  var didWarnAboutUseWrappedInTryCatch = /* @__PURE__ */ new Set();
15694
14668
  var didWarnAboutAsyncClientComponent = /* @__PURE__ */ new Set();
15695
14669
  var didWarnAboutUseFormState = /* @__PURE__ */ new Set();
15696
- var renderLanes = 0;
15697
- var currentlyRenderingFiber = null;
15698
- var currentHook = null;
15699
- var workInProgressHook = null;
15700
- var didScheduleRenderPhaseUpdate = !1;
15701
- var didScheduleRenderPhaseUpdateDuringThisPass = !1;
15702
- var shouldDoubleInvokeUserFnsInHooksDEV = !1;
15703
- var localIdCounter = 0;
15704
- var thenableIndexCounter = 0;
15705
- var thenableState = null;
15706
- var globalClientIdCounter = 0;
15707
- var RE_RENDER_LIMIT = 25;
15708
- var currentHookNameInDev = null;
15709
- var hookTypesDev = null;
15710
- var hookTypesUpdateIndexDev = -1;
15711
- var ignorePreviousDependencies = !1;
15712
- var ContextOnlyDispatcher = {
14670
+ var renderLanes = 0, currentlyRenderingFiber = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = !1, didScheduleRenderPhaseUpdateDuringThisPass = !1, shouldDoubleInvokeUserFnsInHooksDEV = !1, localIdCounter = 0, thenableIndexCounter = 0, thenableState = null, globalClientIdCounter = 0, RE_RENDER_LIMIT = 25, currentHookNameInDev = null, hookTypesDev = null, hookTypesUpdateIndexDev = -1, ignorePreviousDependencies = !1, ContextOnlyDispatcher = {
15713
14671
  readContext,
15714
14672
  use,
15715
14673
  useCallback: throwInvalidHookError,
@@ -15735,13 +14693,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
15735
14693
  useCacheRefresh: throwInvalidHookError
15736
14694
  };
15737
14695
  ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
15738
- var HooksDispatcherOnMountInDEV = null;
15739
- var HooksDispatcherOnMountWithHookTypesInDEV = null;
15740
- var HooksDispatcherOnUpdateInDEV = null;
15741
- var HooksDispatcherOnRerenderInDEV = null;
15742
- var InvalidNestedHooksDispatcherOnMountInDEV = null;
15743
- var InvalidNestedHooksDispatcherOnUpdateInDEV = null;
15744
- var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
14696
+ var HooksDispatcherOnMountInDEV = null, HooksDispatcherOnMountWithHookTypesInDEV = null, HooksDispatcherOnUpdateInDEV = null, HooksDispatcherOnRerenderInDEV = null, InvalidNestedHooksDispatcherOnMountInDEV = null, InvalidNestedHooksDispatcherOnUpdateInDEV = null, InvalidNestedHooksDispatcherOnRerenderInDEV = null;
15745
14697
  HooksDispatcherOnMountInDEV = {
15746
14698
  readContext: function(context) {
15747
14699
  return readContext(context);
@@ -16743,11 +15695,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
16743
15695
  callback = enqueueUpdate(inst, update, lane);
16744
15696
  null !== callback && (startUpdateTimerByLane(lane, "this.forceUpdate()", inst), scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane));
16745
15697
  }
16746
- };
16747
- var componentName = null;
16748
- var errorBoundaryName = null;
16749
- var SelectiveHydrationException = Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.");
16750
- var didReceiveUpdate = !1;
15698
+ }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."), didReceiveUpdate = !1;
16751
15699
  var didWarnAboutBadClass = {};
16752
15700
  var didWarnAboutContextTypeOnFunctionComponent = {};
16753
15701
  var didWarnAboutContextTypes = {};
@@ -16760,23 +15708,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
16760
15708
  treeContext: null,
16761
15709
  retryLane: 0,
16762
15710
  hydrationErrors: null
16763
- };
16764
- var hasWarnedAboutUsingNoValuePropOnContextProvider = !1;
16765
- var didWarnAboutUndefinedSnapshotBeforeUpdate = null;
15711
+ }, hasWarnedAboutUsingNoValuePropOnContextProvider = !1, didWarnAboutUndefinedSnapshotBeforeUpdate = null;
16766
15712
  didWarnAboutUndefinedSnapshotBeforeUpdate = /* @__PURE__ */ new Set();
16767
- var offscreenSubtreeIsHidden = !1;
16768
- var offscreenSubtreeWasHidden = !1;
16769
- var needsFormReset = !1;
16770
- var PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set;
16771
- var nextEffect = null;
16772
- var inProgressLanes = null;
16773
- var inProgressRoot = null;
16774
- var hostParent = null;
16775
- var hostParentIsContainer = !1;
16776
- var currentHoistableRoot = null;
16777
- var inHydratedSubtree = !1;
16778
- var suspenseyCommitFlag = 8192;
16779
- var DefaultAsyncDispatcher = {
15713
+ var offscreenSubtreeIsHidden = !1, offscreenSubtreeWasHidden = !1, needsFormReset = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, inProgressLanes = null, inProgressRoot = null, hostParent = null, hostParentIsContainer = !1, currentHoistableRoot = null, inHydratedSubtree = !1, suspenseyCommitFlag = 8192, DefaultAsyncDispatcher = {
16780
15714
  getCacheForType: function(resourceType) {
16781
15715
  var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType);
16782
15716
  void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType));
@@ -16788,12 +15722,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
16788
15722
  getOwner: function() {
16789
15723
  return current;
16790
15724
  }
16791
- };
16792
- var COMPONENT_TYPE = 0;
16793
- var HAS_PSEUDO_CLASS_TYPE = 1;
16794
- var ROLE_TYPE = 2;
16795
- var TEST_NAME_TYPE = 3;
16796
- var TEXT_TYPE = 4;
15725
+ }, COMPONENT_TYPE = 0, HAS_PSEUDO_CLASS_TYPE = 1, ROLE_TYPE = 2, TEST_NAME_TYPE = 3, TEXT_TYPE = 4;
16797
15726
  if ("function" === typeof Symbol && Symbol.for) {
16798
15727
  var symbolFor = Symbol.for;
16799
15728
  COMPONENT_TYPE = symbolFor("selector.component");
@@ -16802,91 +15731,9 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
16802
15731
  TEST_NAME_TYPE = symbolFor("selector.test_id");
16803
15732
  TEXT_TYPE = symbolFor("selector.text");
16804
15733
  }
16805
- var commitHooks = [];
16806
- var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map;
16807
- var NoContext = 0;
16808
- var RenderContext = 2;
16809
- var CommitContext = 4;
16810
- var RootInProgress = 0;
16811
- var RootFatalErrored = 1;
16812
- var RootErrored = 2;
16813
- var RootSuspended = 3;
16814
- var RootSuspendedWithDelay = 4;
16815
- var RootSuspendedAtTheShell = 6;
16816
- var RootCompleted = 5;
16817
- var executionContext = NoContext;
16818
- var workInProgressRoot = null;
16819
- var workInProgress = null;
16820
- var workInProgressRootRenderLanes = 0;
16821
- var NotSuspended = 0;
16822
- var SuspendedOnError = 1;
16823
- var SuspendedOnData = 2;
16824
- var SuspendedOnImmediate = 3;
16825
- var SuspendedOnInstance = 4;
16826
- var SuspendedOnInstanceAndReadyToContinue = 5;
16827
- var SuspendedOnDeprecatedThrowPromise = 6;
16828
- var SuspendedAndReadyToContinue = 7;
16829
- var SuspendedOnHydration = 8;
16830
- var SuspendedOnAction = 9;
16831
- var workInProgressSuspendedReason = NotSuspended;
16832
- var workInProgressThrownValue = null;
16833
- var workInProgressRootDidSkipSuspendedSiblings = !1;
16834
- var workInProgressRootIsPrerendering = !1;
16835
- var workInProgressRootDidAttachPingListener = !1;
16836
- var entangledRenderLanes = 0;
16837
- var workInProgressRootExitStatus = RootInProgress;
16838
- var workInProgressRootSkippedLanes = 0;
16839
- var workInProgressRootInterleavedUpdatedLanes = 0;
16840
- var workInProgressRootPingedLanes = 0;
16841
- var workInProgressDeferredLane = 0;
16842
- var workInProgressSuspendedRetryLanes = 0;
16843
- var workInProgressRootConcurrentErrors = null;
16844
- var workInProgressRootRecoverableErrors = null;
16845
- var workInProgressRootDidIncludeRecursiveRenderUpdate = !1;
16846
- var globalMostRecentFallbackTime = 0;
16847
- var globalMostRecentTransitionTime = 0;
16848
- var FALLBACK_THROTTLE_MS = 300;
16849
- var workInProgressRootRenderTargetTime = Infinity;
16850
- var RENDER_TIMEOUT_MS = 500;
16851
- var workInProgressTransitions = null;
16852
- var workInProgressUpdateTask = null;
16853
- var legacyErrorBoundariesThatAlreadyFailed = null;
16854
- var IMMEDIATE_COMMIT = 0;
16855
- var ABORTED_VIEW_TRANSITION_COMMIT = 1;
16856
- var DELAYED_PASSIVE_COMMIT = 2;
16857
- var ANIMATION_STARTED_COMMIT = 3;
16858
- var NO_PENDING_EFFECTS = 0;
16859
- var PENDING_MUTATION_PHASE = 1;
16860
- var PENDING_LAYOUT_PHASE = 2;
16861
- var PENDING_AFTER_MUTATION_PHASE = 3;
16862
- var PENDING_SPAWNED_WORK = 4;
16863
- var PENDING_PASSIVE_PHASE = 5;
16864
- var pendingEffectsStatus = 0;
16865
- var pendingEffectsRoot = null;
16866
- var pendingFinishedWork = null;
16867
- var pendingEffectsLanes = 0;
16868
- var pendingEffectsRemainingLanes = 0;
16869
- var pendingEffectsRenderEndTime = -0;
16870
- var pendingPassiveTransitions = null;
16871
- var pendingRecoverableErrors = null;
16872
- var pendingSuspendedCommitReason = null;
16873
- var pendingDelayedCommitReason = IMMEDIATE_COMMIT;
16874
- var pendingSuspendedViewTransitionReason = null;
16875
- var NESTED_UPDATE_LIMIT = 50;
16876
- var nestedUpdateCount = 0;
16877
- var rootWithNestedUpdates = null;
16878
- var isFlushingPassiveEffects = !1;
16879
- var didScheduleUpdateDuringPassiveEffects = !1;
16880
- var NESTED_PASSIVE_UPDATE_LIMIT = 50;
16881
- var nestedPassiveUpdateCount = 0;
16882
- var rootWithPassiveNestedUpdates = null;
16883
- var isRunningInsertionEffect = !1;
16884
- var didWarnStateUpdateForNotYetMountedComponent = null;
16885
- var didWarnAboutUpdateInRender = !1;
15734
+ var commitHooks = [], PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, NoContext = 0, RenderContext = 2, CommitContext = 4, RootInProgress = 0, RootFatalErrored = 1, RootErrored = 2, RootSuspended = 3, RootSuspendedWithDelay = 4, RootSuspendedAtTheShell = 6, RootCompleted = 5, executionContext = NoContext, workInProgressRoot = null, workInProgress = null, workInProgressRootRenderLanes = 0, NotSuspended = 0, SuspendedOnError = 1, SuspendedOnData = 2, SuspendedOnImmediate = 3, SuspendedOnInstance = 4, SuspendedOnInstanceAndReadyToContinue = 5, SuspendedOnDeprecatedThrowPromise = 6, SuspendedAndReadyToContinue = 7, SuspendedOnHydration = 8, SuspendedOnAction = 9, workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, workInProgressRootDidSkipSuspendedSiblings = !1, workInProgressRootIsPrerendering = !1, workInProgressRootDidAttachPingListener = !1, entangledRenderLanes = 0, workInProgressRootExitStatus = RootInProgress, workInProgressRootSkippedLanes = 0, workInProgressRootInterleavedUpdatedLanes = 0, workInProgressRootPingedLanes = 0, workInProgressDeferredLane = 0, workInProgressSuspendedRetryLanes = 0, workInProgressRootConcurrentErrors = null, workInProgressRootRecoverableErrors = null, workInProgressRootDidIncludeRecursiveRenderUpdate = !1, globalMostRecentFallbackTime = 0, globalMostRecentTransitionTime = 0, FALLBACK_THROTTLE_MS = 300, workInProgressRootRenderTargetTime = Infinity, RENDER_TIMEOUT_MS = 500, workInProgressTransitions = null, workInProgressUpdateTask = null, legacyErrorBoundariesThatAlreadyFailed = null, IMMEDIATE_COMMIT = 0, ABORTED_VIEW_TRANSITION_COMMIT = 1, DELAYED_PASSIVE_COMMIT = 2, ANIMATION_STARTED_COMMIT = 3, NO_PENDING_EFFECTS = 0, PENDING_MUTATION_PHASE = 1, PENDING_LAYOUT_PHASE = 2, PENDING_AFTER_MUTATION_PHASE = 3, PENDING_SPAWNED_WORK = 4, PENDING_PASSIVE_PHASE = 5, pendingEffectsStatus = 0, pendingEffectsRoot = null, pendingFinishedWork = null, pendingEffectsLanes = 0, pendingEffectsRemainingLanes = 0, pendingEffectsRenderEndTime = -0, pendingPassiveTransitions = null, pendingRecoverableErrors = null, pendingSuspendedCommitReason = null, pendingDelayedCommitReason = IMMEDIATE_COMMIT, pendingSuspendedViewTransitionReason = null, NESTED_UPDATE_LIMIT = 50, nestedUpdateCount = 0, rootWithNestedUpdates = null, isFlushingPassiveEffects = !1, didScheduleUpdateDuringPassiveEffects = !1, NESTED_PASSIVE_UPDATE_LIMIT = 50, nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1;
16886
15735
  var didWarnAboutUpdateInRenderForAnotherComponent = /* @__PURE__ */ new Set();
16887
- var fakeActCallbackNode = {};
16888
- var resolveFamily = null;
16889
- var failedBoundaries = null;
15736
+ var fakeActCallbackNode = {}, resolveFamily = null, failedBoundaries = null;
16890
15737
  var hasBadMapPolyfill = !1;
16891
15738
  try {
16892
15739
  var nonExtensibleObject = Object.preventExtensions({});
@@ -16897,16 +15744,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
16897
15744
  }
16898
15745
  var didWarnAboutNestedUpdates = !1;
16899
15746
  var didWarnAboutFindNodeInStrictMode = {};
16900
- var overrideHookState = null;
16901
- var overrideHookStateDeletePath = null;
16902
- var overrideHookStateRenamePath = null;
16903
- var overrideProps = null;
16904
- var overridePropsDeletePath = null;
16905
- var overridePropsRenamePath = null;
16906
- var scheduleUpdate = null;
16907
- var scheduleRetry = null;
16908
- var setErrorHandler = null;
16909
- var setSuspenseHandler = null;
15747
+ var overrideHookState = null, overrideHookStateDeletePath = null, overrideHookStateRenamePath = null, overrideProps = null, overridePropsDeletePath = null, overridePropsRenamePath = null, scheduleUpdate = null, scheduleRetry = null, setErrorHandler = null, setSuspenseHandler = null;
16910
15748
  overrideHookState = function(fiber, id, path, value) {
16911
15749
  id = findHook(fiber, id);
16912
15750
  null !== id && (path = copyWithSetImpl(id.memoizedState, path, 0, value), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2));
@@ -16942,8 +15780,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
16942
15780
  null !== root && scheduleUpdateOnFiber(root, fiber, 2);
16943
15781
  };
16944
15782
  scheduleRetry = function(fiber) {
16945
- var lane = claimNextRetryLane();
16946
- var root = enqueueConcurrentRenderForLane(fiber, lane);
15783
+ var lane = claimNextRetryLane(), root = enqueueConcurrentRenderForLane(fiber, lane);
16947
15784
  null !== root && scheduleUpdateOnFiber(root, fiber, lane);
16948
15785
  };
16949
15786
  setErrorHandler = function(newShouldErrorImpl) {
@@ -17060,8 +15897,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17060
15897
  };
17061
15898
  };
17062
15899
  exports$1.defaultOnCaughtError = function(error) {
17063
- var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component." : "The above error occurred in one of your React components.";
17064
- var recreateMessage = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((errorBoundaryName || "Anonymous") + ".");
15900
+ var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component." : "The above error occurred in one of your React components.", recreateMessage = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((errorBoundaryName || "Anonymous") + ".");
17065
15901
  "object" === typeof error && null !== error && "string" === typeof error.environmentName ? bindToConsole("error", [
17066
15902
  "%o\n\n%s\n\n%s\n",
17067
15903
  error,
@@ -17077,8 +15913,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17077
15913
  console.warn("%s\n\n%s\n", componentName ? "An error occurred in the <" + componentName + "> component." : "An error occurred in one of your React components.", "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries.");
17078
15914
  };
17079
15915
  exports$1.deferredUpdates = function(fn) {
17080
- var prevTransition = ReactSharedInternals.T;
17081
- var previousPriority = getCurrentUpdatePriority();
15916
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
17082
15917
  try {
17083
15918
  return setCurrentUpdatePriority(32), ReactSharedInternals.T = null, fn();
17084
15919
  } finally {
@@ -17086,8 +15921,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17086
15921
  }
17087
15922
  };
17088
15923
  exports$1.discreteUpdates = function(fn, a, b, c, d) {
17089
- var prevTransition = ReactSharedInternals.T;
17090
- var previousPriority = getCurrentUpdatePriority();
15924
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
17091
15925
  try {
17092
15926
  return setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn(a, b, c, d);
17093
15927
  } finally {
@@ -17103,11 +15937,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17103
15937
  for (selectors = hostRoot.length - 1; 0 < selectors; selectors--) {
17104
15938
  i = hostRoot[selectors];
17105
15939
  for (var targetLeft = i.x, targetRight = targetLeft + i.width, targetTop = i.y, targetBottom = targetTop + i.height, j = selectors - 1; 0 <= j; j--) if (selectors !== j) {
17106
- var otherRect = hostRoot[j];
17107
- var otherLeft = otherRect.x;
17108
- var otherRight = otherLeft + otherRect.width;
17109
- var otherTop = otherRect.y;
17110
- var otherBottom = otherTop + otherRect.height;
15940
+ var otherRect = hostRoot[j], otherLeft = otherRect.x, otherRight = otherLeft + otherRect.width, otherTop = otherRect.y, otherBottom = otherTop + otherRect.height;
17111
15941
  if (targetLeft >= otherLeft && targetTop >= otherTop && targetRight <= otherRight && targetBottom <= otherBottom) {
17112
15942
  hostRoot.splice(selectors, 1);
17113
15943
  break;
@@ -17162,8 +15992,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17162
15992
  exports$1.flushSyncFromReconciler = function(fn) {
17163
15993
  var prevExecutionContext = executionContext;
17164
15994
  executionContext |= 1;
17165
- var prevTransition = ReactSharedInternals.T;
17166
- var previousPriority = getCurrentUpdatePriority();
15995
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
17167
15996
  try {
17168
15997
  if (setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn) return fn();
17169
15998
  } finally {
@@ -17177,8 +16006,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17177
16006
  selectors = findPaths(hostRoot, selectors);
17178
16007
  selectors = Array.from(selectors);
17179
16008
  for (hostRoot = 0; hostRoot < selectors.length;) {
17180
- var fiber = selectors[hostRoot++];
17181
- var tag = fiber.tag;
16009
+ var fiber = selectors[hostRoot++], tag = fiber.tag;
17182
16010
  if (!isHiddenSubtree(fiber)) {
17183
16011
  if ((5 === tag || 26 === tag || 27 === tag) && setFocusIfFocusable(fiber.stateNode)) return !0;
17184
16012
  for (fiber = fiber.child; null !== fiber;) selectors.push(fiber), fiber = fiber.sibling;
@@ -17188,14 +16016,10 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17188
16016
  };
17189
16017
  exports$1.getFindAllNodesFailureDescription = function(hostRoot, selectors) {
17190
16018
  if (!supportsTestSelectors) throw Error("Test selector API is not supported by this renderer.");
17191
- var maxSelectorIndex = 0;
17192
- var matchedNames = [];
16019
+ var maxSelectorIndex = 0, matchedNames = [];
17193
16020
  hostRoot = [findFiberRootForHostRoot(hostRoot), 0];
17194
16021
  for (var index = 0; index < hostRoot.length;) {
17195
- var fiber = hostRoot[index++];
17196
- var tag = fiber.tag;
17197
- var selectorIndex = hostRoot[index++];
17198
- var selector = selectors[selectorIndex];
16022
+ var fiber = hostRoot[index++], tag = fiber.tag, selectorIndex = hostRoot[index++], selector = selectors[selectorIndex];
17199
16023
  if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
17200
16024
  if (matchSelector(fiber, selector) && (matchedNames.push(selectorToString(selector)), selectorIndex++, selectorIndex > maxSelectorIndex && (maxSelectorIndex = selectorIndex)), selectorIndex < selectors.length) for (fiber = fiber.child; null !== fiber;) hostRoot.push(fiber, selectorIndex), fiber = fiber.sibling;
17201
16025
  }
@@ -17254,9 +16078,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17254
16078
  if (!supportsTestSelectors) throw Error("Test selector API is not supported by this renderer.");
17255
16079
  var instanceRoots = findAllNodes(hostRoot, selectors);
17256
16080
  callback = setupIntersectionObserver(instanceRoots, callback, options);
17257
- var disconnect = callback.disconnect;
17258
- var observe = callback.observe;
17259
- var unobserve = callback.unobserve;
16081
+ var disconnect = callback.disconnect, observe = callback.observe, unobserve = callback.unobserve;
17260
16082
  commitHooks.push(commitHook);
17261
16083
  return { disconnect: function() {
17262
16084
  var index = commitHooks.indexOf(commitHook);
@@ -17283,8 +16105,7 @@ var require_react_reconciler_development = /* @__PURE__ */ __commonJSMin(((expor
17283
16105
  });
17284
16106
  };
17285
16107
  exports$1.updateContainer = function(element, container, parentComponent, callback) {
17286
- var current = container.current;
17287
- var lane = requestUpdateLane(current);
16108
+ var current = container.current, lane = requestUpdateLane(current);
17288
16109
  updateContainerImpl(current, lane, element, container, parentComponent, callback);
17289
16110
  return lane;
17290
16111
  };
@@ -17536,16 +16357,12 @@ function squashExportNodes(node) {
17536
16357
  for (const child of current.childNodes) {
17537
16358
  if (!child) continue;
17538
16359
  if (child.nodeName !== "#text" && nodeNames.has(child.nodeName)) walk(child);
17539
- if (child.nodeName === "kubb-export") {
17540
- var _child$attributes$get;
17541
- var _child$attributes$get2;
17542
- exports.add({
17543
- name: child.attributes.get("name"),
17544
- path: child.attributes.get("path"),
17545
- isTypeOnly: (_child$attributes$get = child.attributes.get("isTypeOnly")) !== null && _child$attributes$get !== void 0 ? _child$attributes$get : false,
17546
- asAlias: (_child$attributes$get2 = child.attributes.get("asAlias")) !== null && _child$attributes$get2 !== void 0 ? _child$attributes$get2 : false
17547
- });
17548
- }
16360
+ if (child.nodeName === "kubb-export") exports.add({
16361
+ name: child.attributes.get("name"),
16362
+ path: child.attributes.get("path"),
16363
+ isTypeOnly: child.attributes.get("isTypeOnly") ?? false,
16364
+ asAlias: child.attributes.get("asAlias") ?? false
16365
+ });
17549
16366
  }
17550
16367
  };
17551
16368
  walk(node);
@@ -17560,17 +16377,13 @@ function squashImportNodes(node) {
17560
16377
  for (const child of current.childNodes) {
17561
16378
  if (!child) continue;
17562
16379
  if (child.nodeName !== "#text" && nodeNames.has(child.nodeName)) walk(child);
17563
- if (child.nodeName === "kubb-import") {
17564
- var _child$attributes$get;
17565
- var _child$attributes$get2;
17566
- imports.add({
17567
- name: child.attributes.get("name"),
17568
- path: child.attributes.get("path"),
17569
- root: child.attributes.get("root"),
17570
- isTypeOnly: (_child$attributes$get = child.attributes.get("isTypeOnly")) !== null && _child$attributes$get !== void 0 ? _child$attributes$get : false,
17571
- isNameSpace: (_child$attributes$get2 = child.attributes.get("isNameSpace")) !== null && _child$attributes$get2 !== void 0 ? _child$attributes$get2 : false
17572
- });
17573
- }
16380
+ if (child.nodeName === "kubb-import") imports.add({
16381
+ name: child.attributes.get("name"),
16382
+ path: child.attributes.get("path"),
16383
+ root: child.attributes.get("root"),
16384
+ isTypeOnly: child.attributes.get("isTypeOnly") ?? false,
16385
+ isNameSpace: child.attributes.get("isNameSpace") ?? false
16386
+ });
17574
16387
  }
17575
16388
  };
17576
16389
  walk(node);
@@ -17655,15 +16468,12 @@ function squashSourceNodes(node, ignores) {
17655
16468
  if (!child) continue;
17656
16469
  if (child.nodeName !== "#text" && ignoreSet.has(child.nodeName)) continue;
17657
16470
  if (child.nodeName === "kubb-source") {
17658
- var _child$attributes$get;
17659
- var _child$attributes$get2;
17660
- var _child$attributes$get3;
17661
16471
  const value = squashTextNodes(child);
17662
16472
  sources.add({
17663
16473
  name: child.attributes.get("name"),
17664
- isTypeOnly: (_child$attributes$get = child.attributes.get("isTypeOnly")) !== null && _child$attributes$get !== void 0 ? _child$attributes$get : false,
17665
- isExportable: (_child$attributes$get2 = child.attributes.get("isExportable")) !== null && _child$attributes$get2 !== void 0 ? _child$attributes$get2 : false,
17666
- isIndexable: (_child$attributes$get3 = child.attributes.get("isIndexable")) !== null && _child$attributes$get3 !== void 0 ? _child$attributes$get3 : false,
16474
+ isTypeOnly: child.attributes.get("isTypeOnly") ?? false,
16475
+ isExportable: child.attributes.get("isExportable") ?? false,
16476
+ isIndexable: child.attributes.get("isIndexable") ?? false,
17667
16477
  value: value.trim().replace(/^\s+|\s+$/g, "")
17668
16478
  });
17669
16479
  continue;
@@ -17704,122 +16514,80 @@ async function processFiles(node) {
17704
16514
  return collected;
17705
16515
  }
17706
16516
 
17707
- //#endregion
17708
- //#region \0@oxc-project+runtime@0.112.0/helpers/checkPrivateRedeclaration.js
17709
- function _checkPrivateRedeclaration(e, t) {
17710
- if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
17711
- }
17712
-
17713
- //#endregion
17714
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateMethodInitSpec.js
17715
- function _classPrivateMethodInitSpec(e, a) {
17716
- _checkPrivateRedeclaration(e, a), a.add(e);
17717
- }
17718
-
17719
- //#endregion
17720
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldInitSpec.js
17721
- function _classPrivateFieldInitSpec(e, t, a) {
17722
- _checkPrivateRedeclaration(e, t), t.set(e, a);
17723
- }
17724
-
17725
- //#endregion
17726
- //#region \0@oxc-project+runtime@0.112.0/helpers/assertClassBrand.js
17727
- function _assertClassBrand(e, t, n) {
17728
- if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
17729
- throw new TypeError("Private element is not present on this object");
17730
- }
17731
-
17732
- //#endregion
17733
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldGet2.js
17734
- function _classPrivateFieldGet2(s, a) {
17735
- return s.get(_assertClassBrand(s, a));
17736
- }
17737
-
17738
- //#endregion
17739
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldSet2.js
17740
- function _classPrivateFieldSet2(s, a, r) {
17741
- return s.set(_assertClassBrand(s, a), r), r;
17742
- }
17743
-
17744
16517
  //#endregion
17745
16518
  //#region src/Runtime.tsx
17746
- var _options = /* @__PURE__ */ new WeakMap();
17747
- var _isUnmounted = /* @__PURE__ */ new WeakMap();
17748
- var _renderError = /* @__PURE__ */ new WeakMap();
17749
- var _container = /* @__PURE__ */ new WeakMap();
17750
- var _rootNode = /* @__PURE__ */ new WeakMap();
17751
- var _renderPromise = /* @__PURE__ */ new WeakMap();
17752
- var _Runtime_brand = /* @__PURE__ */ new WeakSet();
17753
16519
  var Runtime = class {
16520
+ #options;
16521
+ #isUnmounted;
16522
+ #renderError;
16523
+ exitPromise;
16524
+ #container;
16525
+ #rootNode;
17754
16526
  constructor(options) {
17755
- _classPrivateMethodInitSpec(this, _Runtime_brand);
17756
- _classPrivateFieldInitSpec(this, _options, void 0);
17757
- _classPrivateFieldInitSpec(this, _isUnmounted, void 0);
17758
- _classPrivateFieldInitSpec(this, _renderError, void 0);
17759
- _defineProperty(this, "exitPromise", void 0);
17760
- _classPrivateFieldInitSpec(this, _container, void 0);
17761
- _classPrivateFieldInitSpec(this, _rootNode, void 0);
17762
- _classPrivateFieldInitSpec(this, _renderPromise, Promise.resolve());
17763
- _defineProperty(this, "resolveExitPromise", () => {});
17764
- _defineProperty(this, "rejectExitPromise", () => {});
17765
- _defineProperty(this, "unsubscribeExit", () => {});
17766
- _defineProperty(this, "onRender", () => {
17767
- const task = _classPrivateFieldGet2(_renderPromise, this).catch(() => {}).then(async () => {
17768
- var _classPrivateFieldGet2$1;
17769
- var _classPrivateFieldGet3;
17770
- var _classPrivateFieldGet4;
17771
- var _classPrivateFieldGet5;
17772
- if (_classPrivateFieldGet2(_isUnmounted, this)) return;
17773
- const files = await processFiles(_classPrivateFieldGet2(_rootNode, this));
17774
- await this.fileManager.add(...files);
17775
- if (!((_classPrivateFieldGet2$1 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet2$1 === void 0 ? void 0 : _classPrivateFieldGet2$1.debug) && !((_classPrivateFieldGet3 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet3 === void 0 ? void 0 : _classPrivateFieldGet3.stdout)) return;
17776
- const output = await _assertClassBrand(_Runtime_brand, this, _getOutput).call(this, _classPrivateFieldGet2(_rootNode, this));
17777
- if ((_classPrivateFieldGet4 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet4 === void 0 ? void 0 : _classPrivateFieldGet4.debug) {
17778
- console.log("Rendering:\n");
17779
- console.log(output);
17780
- }
17781
- if (((_classPrivateFieldGet5 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet5 === void 0 ? void 0 : _classPrivateFieldGet5.stdout) && process$1.env.NODE_ENV !== "test") {
17782
- _classPrivateFieldGet2(_options, this).stdout.clearLine(0);
17783
- _classPrivateFieldGet2(_options, this).stdout.cursorTo(0);
17784
- _classPrivateFieldGet2(_options, this).stdout.write(output);
17785
- }
17786
- });
17787
- _classPrivateFieldSet2(_renderPromise, this, task.catch((error) => {
17788
- this.onError(error);
17789
- }));
17790
- return _classPrivateFieldGet2(_renderPromise, this);
17791
- });
17792
- _classPrivateFieldSet2(_options, this, options);
17793
- _classPrivateFieldSet2(_rootNode, this, createNode("kubb-root"));
17794
- _classPrivateFieldGet2(_rootNode, this).onRender = this.onRender;
17795
- _classPrivateFieldGet2(_rootNode, this).onImmediateRender = this.onRender;
17796
- _classPrivateFieldSet2(_isUnmounted, this, false);
16527
+ this.#options = options;
16528
+ this.#rootNode = createNode("kubb-root");
16529
+ this.#rootNode.onRender = this.onRender;
16530
+ this.#rootNode.onImmediateRender = this.onRender;
16531
+ this.#isUnmounted = false;
17797
16532
  this.unmount.bind(this);
17798
16533
  console.error = (data) => {
17799
- const message = typeof data === "string" ? data : data === null || data === void 0 ? void 0 : data.message;
17800
- if ((message === null || message === void 0 ? void 0 : message.match(/Encountered two children with the same key/gi)) || (message === null || message === void 0 ? void 0 : message.match(/React will try to recreat/gi)) || (message === null || message === void 0 ? void 0 : message.match(/Each child in a list should have a unique/gi)) || (message === null || message === void 0 ? void 0 : message.match(/The above error occurred in the <KubbErrorBoundary/gi)) || (message === null || message === void 0 ? void 0 : message.match(/A React Element from an older version of React was render/gi))) return;
16534
+ const message = typeof data === "string" ? data : data?.message;
16535
+ if (message?.match(/Encountered two children with the same key/gi) || message?.match(/React will try to recreat/gi) || message?.match(/Each child in a list should have a unique/gi) || message?.match(/The above error occurred in the <KubbErrorBoundary/gi) || message?.match(/A React Element from an older version of React was render/gi)) return;
17801
16536
  console.log(data);
17802
16537
  };
17803
16538
  const logRecoverableError = typeof reportError === "function" ? reportError : console.error;
17804
16539
  const rootTag = import_constants.ConcurrentRoot;
17805
- _classPrivateFieldSet2(_container, this, Renderer.createContainer(_classPrivateFieldGet2(_rootNode, this), rootTag, null, false, false, "id", logRecoverableError, logRecoverableError, logRecoverableError, null));
17806
- this.unsubscribeExit = onExit((code) => {
16540
+ this.#container = Renderer.createContainer(this.#rootNode, rootTag, null, false, false, "id", logRecoverableError, logRecoverableError, logRecoverableError, null);
16541
+ this.unsubscribeExit = onProcessExit((code) => {
17807
16542
  this.unmount(code);
17808
- }, { alwaysLast: false }).bind(this);
16543
+ });
17809
16544
  }
17810
16545
  get fileManager() {
17811
- return _classPrivateFieldGet2(_options, this).fileManager;
16546
+ return this.#options.fileManager;
17812
16547
  }
16548
+ #renderPromise = Promise.resolve();
16549
+ resolveExitPromise = () => {};
16550
+ rejectExitPromise = () => {};
16551
+ unsubscribeExit = () => {};
16552
+ onRender = () => {
16553
+ this.#renderPromise = this.#renderPromise.catch(() => {}).then(async () => {
16554
+ if (this.#isUnmounted) return;
16555
+ const files = await processFiles(this.#rootNode);
16556
+ await this.fileManager.add(...files);
16557
+ if (!this.#options?.debug && !this.#options?.stdout) return;
16558
+ const output = await this.#getOutput(this.#rootNode);
16559
+ if (this.#options?.debug) {
16560
+ console.log("Rendering:\n");
16561
+ console.log(output);
16562
+ }
16563
+ if (this.#options?.stdout && process$1.env.NODE_ENV !== "test") {
16564
+ this.#options.stdout.clearLine(0);
16565
+ this.#options.stdout.cursorTo(0);
16566
+ this.#options.stdout.write(output);
16567
+ }
16568
+ }).catch((error) => {
16569
+ this.onError(error);
16570
+ });
16571
+ return this.#renderPromise;
16572
+ };
17813
16573
  onError(error) {
17814
- _classPrivateFieldSet2(_renderError, this, error);
16574
+ this.#renderError = error;
17815
16575
  }
17816
16576
  onExit(error) {
17817
16577
  setTimeout(() => {
17818
16578
  this.unmount(error);
17819
16579
  }, 0);
17820
16580
  }
16581
+ async #getOutput(node) {
16582
+ const text = squashTextNodes(node);
16583
+ const files = this.fileManager.files;
16584
+ if (!files.length) return text;
16585
+ const values = /* @__PURE__ */ new Set();
16586
+ for (const file of files) for (const source of file.sources) if (source?.value) values.add(source.value);
16587
+ return [...values].join("\n\n");
16588
+ }
17821
16589
  async render(node) {
17822
- const treeNode = _classPrivateFieldGet2(_options, this).treeNode || new TreeNode({
16590
+ const treeNode = this.#options.treeNode || new TreeNode({
17823
16591
  type: "Root",
17824
16592
  props: {}
17825
16593
  });
@@ -17834,17 +16602,17 @@ var Runtime = class {
17834
16602
  ...props,
17835
16603
  children: node
17836
16604
  });
17837
- Renderer.updateContainerSync(element, _classPrivateFieldGet2(_container, this), null, null);
16605
+ Renderer.updateContainerSync(element, this.#container, null, null);
17838
16606
  Renderer.flushSyncWork();
17839
- await _classPrivateFieldGet2(_renderPromise, this);
17840
- if (_classPrivateFieldGet2(_renderError, this)) {
17841
- const error = _classPrivateFieldGet2(_renderError, this);
17842
- _classPrivateFieldSet2(_renderError, this, void 0);
16607
+ await this.#renderPromise;
16608
+ if (this.#renderError) {
16609
+ const error = this.#renderError;
16610
+ this.#renderError = void 0;
17843
16611
  throw error;
17844
16612
  }
17845
16613
  }
17846
16614
  async renderToString(node) {
17847
- const treeNode = _classPrivateFieldGet2(_options, this).treeNode || new TreeNode({
16615
+ const treeNode = this.#options.treeNode || new TreeNode({
17848
16616
  type: "Root",
17849
16617
  props: {}
17850
16618
  });
@@ -17859,25 +16627,24 @@ var Runtime = class {
17859
16627
  ...props,
17860
16628
  children: node
17861
16629
  });
17862
- Renderer.updateContainerSync(element, _classPrivateFieldGet2(_container, this), null, null);
16630
+ Renderer.updateContainerSync(element, this.#container, null, null);
17863
16631
  Renderer.flushSyncWork();
17864
- await _classPrivateFieldGet2(_renderPromise, this);
16632
+ await this.#renderPromise;
17865
16633
  this.fileManager.clear();
17866
- if (_classPrivateFieldGet2(_renderError, this)) {
17867
- const error = _classPrivateFieldGet2(_renderError, this);
17868
- _classPrivateFieldSet2(_renderError, this, void 0);
16634
+ if (this.#renderError) {
16635
+ const error = this.#renderError;
16636
+ this.#renderError = void 0;
17869
16637
  throw error;
17870
16638
  }
17871
- return _assertClassBrand(_Runtime_brand, this, _getOutput).call(this, _classPrivateFieldGet2(_rootNode, this));
16639
+ return this.#getOutput(this.#rootNode);
17872
16640
  }
17873
16641
  unmount(error) {
17874
- var _classPrivateFieldGet6;
17875
- if (_classPrivateFieldGet2(_isUnmounted, this)) return;
17876
- if ((_classPrivateFieldGet6 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet6 === void 0 ? void 0 : _classPrivateFieldGet6.debug) console.log("Unmount", error);
16642
+ if (this.#isUnmounted) return;
16643
+ if (this.#options?.debug) console.log("Unmount", error);
17877
16644
  this.onRender();
17878
16645
  this.unsubscribeExit();
17879
- _classPrivateFieldSet2(_isUnmounted, this, true);
17880
- Renderer.updateContainerSync(null, _classPrivateFieldGet2(_container, this), null, null);
16646
+ this.#isUnmounted = true;
16647
+ Renderer.updateContainerSync(null, this.#container, null, null);
17881
16648
  if (error instanceof Error) {
17882
16649
  this.rejectExitPromise(error);
17883
16650
  return;
@@ -17892,14 +16659,6 @@ var Runtime = class {
17892
16659
  return this.exitPromise;
17893
16660
  }
17894
16661
  };
17895
- async function _getOutput(node) {
17896
- const text = squashTextNodes(node);
17897
- const files = this.fileManager.files;
17898
- if (!files.length) return text;
17899
- const values = /* @__PURE__ */ new Set();
17900
- for (const file of files) for (const source of file.sources) if (source === null || source === void 0 ? void 0 : source.value) values.add(source.value);
17901
- return [...values].join("\n\n");
17902
- }
17903
16662
 
17904
16663
  //#endregion
17905
16664
  //#region src/plugins/reactPlugin.ts
@@ -17928,4 +16687,5 @@ const reactPlugin = definePlugin({
17928
16687
  });
17929
16688
 
17930
16689
  //#endregion
17931
- export { _classPrivateFieldInitSpec as a, _classPrivateFieldGet2 as i, Runtime as n, Renderer as o, _classPrivateFieldSet2 as r, Root as s, reactPlugin as t };
16690
+ export { Root as i, Runtime as n, Renderer as r, reactPlugin as t };
16691
+ //# sourceMappingURL=reactPlugin-BkDkx1cs.js.map