@qredence/fleet 0.7.4 → 0.8.0

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 (165) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +5 -4
  3. package/bin/fleet-prime.mjs +33 -6
  4. package/bin/prime-runtime.mjs +79 -0
  5. package/dist/runtime-manifest.json +32 -0
  6. package/dist/web/client/assets/DialogTitle-RY2UDuCY.js +1 -0
  7. package/dist/web/client/assets/FloatingPortal-XC0MCNnD.js +1 -0
  8. package/dist/web/client/assets/action-swap-BWRUNKQA.js +1 -0
  9. package/dist/web/client/assets/{alert-dialog-DtXvVhsF.js → alert-dialog-DGNvg0B1.js} +1 -1
  10. package/dist/web/client/assets/arrow-up-right-CG9RNk4p.js +1 -0
  11. package/dist/web/client/assets/{artifacts-panel-Bseg97yQ.js → artifacts-panel-BGXpKRJ7.js} +1 -1
  12. package/dist/web/client/assets/{badge-C--lf3bb.js → badge-DM06QVqB.js} +6 -6
  13. package/dist/web/client/assets/button-CWYjn8Zk.js +1 -0
  14. package/dist/web/client/assets/{card-Hngi3HGC.js → card-Dj1SnGUU.js} +1 -1
  15. package/dist/web/client/assets/{chat-command-palette-D_rm1r9d.js → chat-command-palette-PenyaZBw.js} +1 -1
  16. package/dist/web/client/assets/code-block-pKKmFZ5w.js +3 -0
  17. package/dist/web/client/assets/collapsible-Bk6zCsRX.js +1 -0
  18. package/dist/web/client/assets/{command-CmtCIDdH.js → command-imgUMV3r.js} +1 -1
  19. package/dist/web/client/assets/{create-project-dialog-m-9aoobN.js → create-project-dialog-C00d5yCq.js} +1 -1
  20. package/dist/web/client/assets/createBaseUIEventDetails-DIxvaz-Y.js +1 -0
  21. package/dist/web/client/assets/{dialog-Ddouieuu.js → dialog-zCNOQI63.js} +1 -1
  22. package/dist/web/client/assets/eye-iNSvs0UA.js +1 -0
  23. package/dist/web/client/assets/file-code-corner-BkDULqko.js +1 -0
  24. package/dist/web/client/assets/{fork-picker-dialog-DfGlB17w.js → fork-picker-dialog-Cgi48NnT.js} +1 -1
  25. package/dist/web/client/assets/globals-BuMuB_ea.css +2 -0
  26. package/dist/web/client/assets/{index-Bz5W4EOn.js → index-BqBdQGWs.js} +3 -3
  27. package/dist/web/client/assets/input-7g8_nw-Z.js +1 -0
  28. package/dist/web/client/assets/{input-group-EPMGh55u.js → input-group-Nq03Qums.js} +1 -1
  29. package/dist/web/client/assets/{ipython-tool-CMhnRVrC.js → ipython-tool-bieUhw9K.js} +1 -1
  30. package/dist/web/client/assets/markdown-CvBfbPCn.js +2 -0
  31. package/dist/web/client/assets/markdown-code-rFOkzN5N.js +4 -0
  32. package/dist/web/client/assets/{message-queue-Bg2MiJHM.js → message-queue-sSljtjYz.js} +1 -1
  33. package/dist/web/client/assets/{model-selector-list-BiU_7ivt.js → model-selector-list-Cp687pdm.js} +1 -1
  34. package/dist/web/client/assets/{notify-DhtmUPfE.js → notify-Cqdu6EV8.js} +1 -1
  35. package/dist/web/client/assets/{openui-renderer-MIB3JKYa.js → openui-renderer-BdYTcn-_.js} +50 -50
  36. package/dist/web/client/assets/{prompt-input-Dy-DSPqF.js → prompt-input-CoV1gTUQ.js} +1 -1
  37. package/dist/web/client/assets/{prompt-suggestions-CrpAiKeB.js → prompt-suggestions-CAY5JI-C.js} +1 -1
  38. package/dist/web/client/assets/provider-label-QrVOwKBO.js +1 -0
  39. package/dist/web/client/assets/reasoning-line-DGdPUMwT.js +1 -0
  40. package/dist/web/client/assets/rehype-katex-DITkIpVl.js +259 -0
  41. package/dist/web/client/assets/{repl-panel-DN5kZAcB.js → repl-panel-5xgkDXO5.js} +1 -1
  42. package/dist/web/client/assets/{resources-panel-DD6iWOF3.js → resources-panel-aJCKt9eF.js} +1 -1
  43. package/dist/web/client/assets/right-panel-registry-BaLZiKny.js +2 -0
  44. package/dist/web/client/assets/routes-BkFkhfO3.js +16 -0
  45. package/dist/web/client/assets/select-BhV4ikeN.js +1 -0
  46. package/dist/web/client/assets/session-activity-panel-Bc4-HSfb.js +1 -0
  47. package/dist/web/client/assets/session-reasoning-panel-CjJJK_bq.js +1 -0
  48. package/dist/web/client/assets/session-tool-renderer-C7mYeUOs.js +166 -0
  49. package/dist/web/client/assets/{session-tree-panel-BBwP_EK2.js → session-tree-panel-By9m9tGB.js} +1 -1
  50. package/dist/web/client/assets/settings-dialog-Dpt4Ha_m.js +2 -0
  51. package/dist/web/client/assets/shield-check-7HDd-2Fn.js +1 -0
  52. package/dist/web/client/assets/{skeleton-DNAr5ULI.js → skeleton-B_Lq2XFl.js} +1 -1
  53. package/dist/web/client/assets/{skeleton-loaders-B28mF4tJ.js → skeleton-loaders-DWc1eDL3.js} +1 -1
  54. package/dist/web/client/assets/sparkles-BwVa9zQJ.js +1 -0
  55. package/dist/web/client/assets/{spinner-CSBXk3Lo.js → spinner-B5TaKP7k.js} +1 -1
  56. package/dist/web/client/assets/{subagent-chat-panel-DhvBO4dQ.js → subagent-chat-panel-DsPmLZSf.js} +1 -1
  57. package/dist/web/client/assets/subagent-transcript-CNQ9wGk2.js +1 -0
  58. package/dist/web/client/assets/{subagents-panel-DRo8Xs6j.js → subagents-panel-gQ9BLfV3.js} +1 -1
  59. package/dist/web/client/assets/surfaces-BUjUJTyD.js +1 -0
  60. package/dist/web/client/assets/switch-C7Myu-Dt.js +1 -0
  61. package/dist/web/client/assets/toast-DlbKi6K-.js +1 -0
  62. package/dist/web/client/assets/tool-output-normalizer-CADgEiI4.js +4 -0
  63. package/dist/web/client/assets/tool-part-normalizer-CYK62WZM.js +4 -0
  64. package/dist/web/client/assets/tool-result-bjAGZ2qm.js +5 -0
  65. package/dist/web/client/assets/tool-timeline-eNqH1zj7.js +2 -0
  66. package/dist/web/client/assets/trace-IsV5RRvM.js +1 -0
  67. package/dist/web/client/assets/ui-preferences-B-PNDkyY.js +1 -0
  68. package/dist/web/client/assets/use-hover-capable-CLq8BADD.js +1 -0
  69. package/dist/web/client/assets/useBaseUiId-lKfDDIcw.js +1 -0
  70. package/dist/web/client/assets/useButton-CvcmqA2s.js +1 -0
  71. package/dist/web/client/assets/useRender-Bbk_fl72.js +1 -0
  72. package/dist/web/client/assets/{utils-CFDGLzf6.js → utils-oBThwhjm.js} +1 -1
  73. package/dist/web/client/assets/{workspace-panel-DdZutYnd.js → workspace-panel-Da5I4p_t.js} +1 -1
  74. package/dist/web/client/assets/workspace-path-nav-D-77sJ_A.js +2 -0
  75. package/dist/web/client/assets/wrench-BXX_Ah2s.js +1 -0
  76. package/dist/web/client/bundle-budget.json +6 -6
  77. package/dist/web/server/{_tanstack-start-manifest_v-YlngJGUa-YTWBGR7L.js → _tanstack-start-manifest_v-BiNPG4xt-BZTMSM2I.js} +33 -28
  78. package/dist/web/server/{artifacts-panel-COSC8o7j-GKW2HH2G.js → artifacts-panel-CqGBNU4q-UHNMC7PK.js} +23 -27
  79. package/dist/web/server/{chat-command-palette-CuOWdzkk-PKZQ5EZP.js → chat-command-palette-B94-zIEz-ES2ZB4ZF.js} +8 -10
  80. package/dist/web/server/{chunk-GLSR4ZI2.js → chunk-2FHYWKDN.js} +669 -833
  81. package/dist/web/server/{chunk-EBC7QORX.js → chunk-5GUEYYYO.js} +3680 -2098
  82. package/dist/web/server/{chunk-GLH2GWMG.js → chunk-7L5PCCYR.js} +411 -306
  83. package/dist/web/server/{chunk-KHHXJZK7.js → chunk-ABMGW6QH.js} +2784 -1662
  84. package/dist/web/server/{chunk-36CAMOVG.js → chunk-BAHZXA4D.js} +6 -6
  85. package/dist/web/server/{chunk-IN2ATSEG.js → chunk-CZLGB3NE.js} +2 -2
  86. package/dist/web/server/{chunk-WCKKN5BR.js → chunk-E6T36NM5.js} +347 -583
  87. package/dist/web/server/{chunk-ORCOCCER.js → chunk-EAKPTSWR.js} +4 -4
  88. package/dist/web/server/chunk-EL2JCDAM.js +270 -0
  89. package/dist/web/server/{chunk-6GTTTYSE.js → chunk-FB2QLQTN.js} +67 -73
  90. package/dist/web/server/{chunk-LLO4MNGE.js → chunk-K67IDUAI.js} +24 -26
  91. package/dist/web/server/{chunk-YU6RHHK6.js → chunk-LQM6QR7S.js} +10 -12
  92. package/dist/web/server/chunk-LTTBT3J7.js +129 -0
  93. package/dist/web/server/{chunk-TMQ3MT3D.js → chunk-OAYEN3JV.js} +2 -0
  94. package/dist/web/server/{chunk-ZUZPJNLY.js → chunk-OSPDNT7S.js} +829 -642
  95. package/dist/web/server/{chunk-XA7EOCHM.js → chunk-SGAQVAYL.js} +2 -2
  96. package/dist/web/server/chunk-SI5IQSG4.js +206 -0
  97. package/dist/web/server/{chunk-AKSDWYJY.js → chunk-SYS5FDNA.js} +5 -5
  98. package/dist/web/server/{chunk-QSM3BRMA.js → chunk-WSK55TKE.js} +169 -156
  99. package/dist/web/server/{chunk-BUKOEXE7.js → chunk-YQO36OP6.js} +2 -2
  100. package/dist/web/server/{create-project-dialog-0-arQpsX-ZELQKHS5.js → create-project-dialog-CFPX6Ihl-EO4XTINS.js} +12 -14
  101. package/dist/web/server/{dist-7G2NZPF4.js → dist-GQUZLXN5.js} +2 -2
  102. package/dist/web/server/{dist-E5637ZAY.js → dist-MN5NWCX6.js} +1 -1
  103. package/dist/web/server/{fork-picker-dialog-fj9p33Mq-I5SA3GLJ.js → fork-picker-dialog-B2RBFzoZ-R6GXPSPL.js} +6 -8
  104. package/dist/web/server/{markdown-CShfYRVO-RBTK7TRB.js → markdown-BvCfOB26-VDH4YOQD.js} +9 -6
  105. package/dist/web/server/{markdown-code-BDV_2b2T-6JYA5FWZ.js → markdown-code-SYc-BQvp-MR4FXT5C.js} +48 -9
  106. package/dist/web/server/{message-queue-BBC843IU-GY4ZIMM4.js → message-queue-D32rLiJo-HEBRGH5B.js} +6 -8
  107. package/dist/web/server/{model-selector-list-DE6aLNXt-LJZMCYOI.js → model-selector-list-DKzt_xEN-5ZPU6XDY.js} +8 -10
  108. package/dist/web/server/{openui-renderer-C3aqSKuS-PWLWJFYO.js → openui-renderer-CeVtOdYl-PY37PCJI.js} +12 -14
  109. package/dist/web/server/{prompt-suggestions-CpTK_fHV-UKJDTLVM.js → prompt-suggestions-CpTK_fHV-Q4ILLZKC.js} +1 -1
  110. package/dist/web/server/{rehype-katex-IDPYWU6M.js → rehype-katex-CYHGKI6Q.js} +490 -843
  111. package/dist/web/server/{repl-panel-1kSS1UGd-U64BPA7X.js → repl-panel-1kSS1UGd-DDM5ADGZ.js} +3 -3
  112. package/dist/web/server/{resources-panel-DWb0eGKa-K4EM3H7Y.js → resources-panel-S4NHlpz7-NF7WYYSR.js} +7 -9
  113. package/dist/web/server/{router-DZYr-9uT-AEXHEFXF.js → router-DVKxZik_-254GZAJW.js} +5 -6
  114. package/dist/web/server/{routes-vYxWRhis-AAZ73SNP.js → routes-BTxAklRp-UM7ZTLLP.js} +50 -30
  115. package/dist/web/server/server.js +2 -2
  116. package/dist/web/server/session-activity-panel-Bz2GrdMk-PCOXG46X.js +173 -0
  117. package/dist/web/server/session-reasoning-panel-CpiTdyQz-O3B5CDKS.js +62 -0
  118. package/dist/web/server/{session-tool-renderer-Dtt74Mts-7YYNSWRV.js → session-tool-renderer-BZiOxtt1-T3ZGAQKX.js} +10 -13
  119. package/dist/web/server/{session-tree-panel-HNl6R9VZ-4JUF34M7.js → session-tree-panel-CzkE0RFB-P4KWA7S2.js} +7 -9
  120. package/dist/web/server/{settings-dialog-DGZBA5Z_-6HYFMPNZ.js → settings-dialog-BUgVNpr1-THSYIOZL.js} +18 -21
  121. package/dist/web/server/{subagent-chat-panel-DuB4hqUk-LDCAJOCL.js → subagent-chat-panel-mw3kEFfK-CDYX7LST.js} +13 -16
  122. package/dist/web/server/{subagents-panel-wAvx3-Rs-L6UTDFUX.js → subagents-panel-2ZJfYrXG-NDJKHJHD.js} +15 -18
  123. package/dist/web/server/{workspace-panel-CPzJZwgv-YS7PTI5C.js → workspace-panel-xznrPDLt-QCJRZOF3.js} +7 -9
  124. package/package.json +2 -2
  125. package/dist/web/client/assets/DialogTitle-D-zqaHvF.js +0 -1
  126. package/dist/web/client/assets/FloatingPortal-73ZRZeD9.js +0 -1
  127. package/dist/web/client/assets/action-swap-BcFwS6is.js +0 -1
  128. package/dist/web/client/assets/button-BJZe4vNJ.js +0 -1
  129. package/dist/web/client/assets/chevron-up-CqeJYyZO.js +0 -1
  130. package/dist/web/client/assets/collapsible-DauSnbYp.js +0 -1
  131. package/dist/web/client/assets/createBaseUIEventDetails-DklXWq23.js +0 -1
  132. package/dist/web/client/assets/eye-Cs0lNChA.js +0 -1
  133. package/dist/web/client/assets/globals-C961mr-b.css +0 -2
  134. package/dist/web/client/assets/input-Def1xOZz.js +0 -1
  135. package/dist/web/client/assets/markdown-Big27m-v.js +0 -2
  136. package/dist/web/client/assets/markdown-code-7L4RiS50.js +0 -3
  137. package/dist/web/client/assets/provider-label-B_vy60P0.js +0 -1
  138. package/dist/web/client/assets/rehype-katex-A4PtQgTX.js +0 -259
  139. package/dist/web/client/assets/right-panel-registry-hKJN__3l.js +0 -2
  140. package/dist/web/client/assets/routes-C3h32Lj_.js +0 -16
  141. package/dist/web/client/assets/select-Buvv1tIo.js +0 -1
  142. package/dist/web/client/assets/session-reasoning-panel-DmEbXOrR.js +0 -1
  143. package/dist/web/client/assets/session-tool-renderer-Daol5fJw.js +0 -169
  144. package/dist/web/client/assets/settings-dialog-DYbx3xuq.js +0 -2
  145. package/dist/web/client/assets/sparkles-D_ANe-HY.js +0 -1
  146. package/dist/web/client/assets/subagent-transcript-Bx-rHni-.js +0 -1
  147. package/dist/web/client/assets/surfaces-B8xTOFeK.js +0 -1
  148. package/dist/web/client/assets/switch-CDfAwEvs.js +0 -1
  149. package/dist/web/client/assets/terminal-Ceucj7us.js +0 -1
  150. package/dist/web/client/assets/toast-9zXN-yVk.js +0 -1
  151. package/dist/web/client/assets/tool-part-normalizer-NbPs9kd1.js +0 -4
  152. package/dist/web/client/assets/tool-result-BccnO34D.js +0 -4
  153. package/dist/web/client/assets/tool-timeline-DlBZyd4j.js +0 -1
  154. package/dist/web/client/assets/ui-preferences-1YaENqef.js +0 -1
  155. package/dist/web/client/assets/use-hover-capable-MwFjBLZQ.js +0 -1
  156. package/dist/web/client/assets/workspace-path-nav-BRwuLsFl.js +0 -2
  157. package/dist/web/client/assets/wrench-BYnD147U.js +0 -1
  158. package/dist/web/server/chunk-CHSKEU3V.js +0 -166
  159. package/dist/web/server/chunk-OO7NBFQQ.js +0 -15
  160. package/dist/web/server/chunk-OXEAXEWD.js +0 -13
  161. package/dist/web/server/chunk-SIJVVYQT.js +0 -234
  162. package/dist/web/server/chunk-UQV2NU63.js +0 -163
  163. package/dist/web/server/chunk-VUBITQ5X.js +0 -653
  164. package/dist/web/server/session-reasoning-panel-XXU2yIOW-XXCKHISS.js +0 -192
  165. package/dist/web/server/tool-timeline-BKWsrZHK-3LGCOTPH.js +0 -12
@@ -1,11 +1,9 @@
1
1
  import {
2
+ Button$1,
2
3
  EMPTY_ARRAY,
3
4
  EMPTY_OBJECT,
4
5
  NOOP,
5
- TransitionStatusDataAttributes_exports,
6
- addEventListener,
7
- createChangeEventDetails,
8
- endingStyle,
6
+ SafeReact,
9
7
  formatErrorMessage_default,
10
8
  getComputedStyle as getComputedStyle2,
11
9
  getContainingBlock,
@@ -28,25 +26,13 @@ import {
28
26
  isTopLayer,
29
27
  isWebKit,
30
28
  ownerDocument,
31
- reason_parts_exports,
32
- resolveRef,
33
- startingStyle,
34
- transitionStatusMapping,
35
- useAnimationFrame,
36
29
  useButton,
37
- useId,
38
30
  useIsoLayoutEffect,
39
31
  useMergedRefs,
40
- useOnMount,
41
- useOpenChangeComplete,
42
32
  useRefWithInit,
43
33
  useRenderElement,
44
- useStableCallback,
45
- useValueAsRef
46
- } from "./chunk-GLSR4ZI2.js";
47
- import {
48
- cva
49
- } from "./chunk-FB3UHLLN.js";
34
+ useStableCallback
35
+ } from "./chunk-2FHYWKDN.js";
50
36
  import {
51
37
  CircleCheck,
52
38
  Info,
@@ -54,10 +40,10 @@ import {
54
40
  OctagonX,
55
41
  TriangleAlert,
56
42
  X
57
- } from "./chunk-GLH2GWMG.js";
43
+ } from "./chunk-7L5PCCYR.js";
58
44
  import {
59
45
  cn
60
- } from "./chunk-TMQ3MT3D.js";
46
+ } from "./chunk-OAYEN3JV.js";
61
47
  import {
62
48
  $ZodLazy,
63
49
  $brand,
@@ -761,7 +747,7 @@ function applyMinItems(items, minItems) {
761
747
  function decodeJSONPointerSegment(segment) {
762
748
  return segment.replace(/~1/g, "/").replace(/~0/g, "~");
763
749
  }
764
- function resolveRef2(ref, ctx) {
750
+ function resolveRef(ref, ctx) {
765
751
  if (!ref.startsWith("#")) {
766
752
  throw new Error("External $ref is not supported, only local refs (#/...) are allowed");
767
753
  }
@@ -1004,7 +990,7 @@ function convertBaseSchema(schema, ctx) {
1004
990
  });
1005
991
  }
1006
992
  ctx.processing.add(refPath);
1007
- const resolved = resolveRef2(refPath, ctx);
993
+ const resolved = resolveRef(refPath, ctx);
1008
994
  const zodSchema2 = convertSchema(resolved, ctx);
1009
995
  ctx.refs.set(refPath, zodSchema2);
1010
996
  ctx.processing.delete(refPath);
@@ -1595,7 +1581,7 @@ function output(schema) {
1595
1581
  });
1596
1582
  }
1597
1583
 
1598
- // web/app/dist/server/assets/chat-DWm78rpr.js
1584
+ // web/app/dist/server/assets/chat-BhibSk9r.js
1599
1585
  var COMPOSER_INTENT_COMMANDS = [
1600
1586
  {
1601
1587
  id: "context",
@@ -2356,6 +2342,13 @@ var ChatTextPartSchema = external_exports.object({
2356
2342
  type: external_exports.literal("text"),
2357
2343
  text: external_exports.string()
2358
2344
  }).openapi({ description: "Text message part" });
2345
+ var ChatReasoningPartSchema = external_exports.object({
2346
+ type: external_exports.literal("reasoning"),
2347
+ contentIndex: external_exports.number().int().nonnegative(),
2348
+ text: external_exports.string(),
2349
+ state: external_exports.enum(["streaming", "complete"]),
2350
+ durationMs: external_exports.number().nonnegative().optional()
2351
+ }).openapi({ description: "Typed assistant reasoning part" });
2359
2352
  var ChatErrorPartSchema = external_exports.object({
2360
2353
  type: external_exports.literal("error"),
2361
2354
  title: external_exports.string().optional(),
@@ -2468,6 +2461,7 @@ var ChatToolPartSchema = external_exports.object({
2468
2461
  }).openapi({ description: "Tool message part" });
2469
2462
  var ChatMessagePartSchema = external_exports.union([
2470
2463
  ChatTextPartSchema,
2464
+ ChatReasoningPartSchema,
2471
2465
  ChatErrorPartSchema,
2472
2466
  ChatImagePartSchema,
2473
2467
  ChatPayloadPartSchema,
@@ -2747,6 +2741,18 @@ var PrimeAgentRefinementEditSchema = external_exports.object({
2747
2741
  applied: external_exports.boolean(),
2748
2742
  error: external_exports.string().optional()
2749
2743
  });
2744
+ var ChatReasoningTextEventSchema = external_exports.object({
2745
+ type: external_exports.literal("reasoning_text"),
2746
+ phase: external_exports.enum([
2747
+ "start",
2748
+ "delta",
2749
+ "end"
2750
+ ]),
2751
+ contentIndex: external_exports.number().int().nonnegative(),
2752
+ text: external_exports.string(),
2753
+ messageId: external_exports.string().optional(),
2754
+ durationMs: external_exports.number().nonnegative().optional()
2755
+ });
2750
2756
  var PrimeAgentRefinementSchema = external_exports.object({
2751
2757
  id: external_exports.string().min(1),
2752
2758
  summary: external_exports.string(),
@@ -2893,6 +2899,7 @@ var ChatStreamEventSchema = external_exports.union([
2893
2899
  ChatStateStreamEventSchema,
2894
2900
  ChatQueueEventSchema,
2895
2901
  ChatThinkingEventSchema,
2902
+ ChatReasoningTextEventSchema,
2896
2903
  ChatPresentationEventSchema,
2897
2904
  ChatSessionSnapshotEventSchema,
2898
2905
  ChatMessageEventSchema,
@@ -2936,7 +2943,7 @@ var ChatSessionInfoSchema = external_exports.object({
2936
2943
  }).openapi({ description: "Chat session info" });
2937
2944
  var ChatSessionsResponseSchema = external_exports.object({ sessions: external_exports.array(ChatSessionInfoSchema) }).openapi({ description: "Chat sessions list response" });
2938
2945
 
2939
- // web/app/dist/server/assets/chat-protocol.zod-ekZ2fTFK.js
2946
+ // web/app/dist/server/assets/chat-protocol.zod-BQh7Nh0D.js
2940
2947
  var NETWORK_DISCONNECTED_MESSAGE = "Fleet Prime is not connected to the Prime Agent runtime. Start or reconnect the runtime, then try again.";
2941
2948
  var FLEET_ADAPTER_CAPABILITIES = {
2942
2949
  protocolVersion: 1,
@@ -3391,7 +3398,7 @@ var ChatSettingsResponseSchema = external_exports.object({
3391
3398
  })
3392
3399
  }).openapi({ description: "Pi settings response" });
3393
3400
 
3394
- // web/app/dist/server/assets/provider-catalog-DZVyN7KM.js
3401
+ // web/app/dist/server/assets/provider-catalog-Bn82KRgx.js
3395
3402
  var PI_CUSTOM_PROVIDER_APIS = Object.keys({
3396
3403
  "openai-completions": true,
3397
3404
  "openai-responses": true,
@@ -3438,7 +3445,7 @@ var PI_PROVIDER_CATALOG = [
3438
3445
  {
3439
3446
  id: "google-vertex",
3440
3447
  name: "Google Vertex",
3441
- envVarName: "GOOGLE_APPLICATION_CREDENTIALS"
3448
+ envVarName: "GOOGLE_CLOUD_API_KEY"
3442
3449
  },
3443
3450
  {
3444
3451
  id: "google",
@@ -3609,233 +3616,8 @@ function disambiguateSessionLabel(base, sessionId, collidingCount) {
3609
3616
  return `${base} \xB7 ${suffix}`;
3610
3617
  }
3611
3618
 
3612
- // web/app/dist/server/assets/button-Bv8fhdeH.js
3613
- import { cloneElement, forwardRef as forwardRef2, isValidElement } from "react";
3614
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
3615
-
3616
- // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/button/Button.mjs
3617
- import * as React from "react";
3618
- var Button = /* @__PURE__ */ React.forwardRef(function Button2(componentProps, forwardedRef) {
3619
- const {
3620
- render,
3621
- className,
3622
- disabled = false,
3623
- focusableWhenDisabled = false,
3624
- nativeButton = true,
3625
- style,
3626
- ...elementProps
3627
- } = componentProps;
3628
- const {
3629
- getButtonProps,
3630
- buttonRef
3631
- } = useButton({
3632
- disabled,
3633
- focusableWhenDisabled,
3634
- native: nativeButton
3635
- });
3636
- const state = {
3637
- disabled
3638
- };
3639
- return useRenderElement("button", componentProps, {
3640
- state,
3641
- ref: [forwardedRef, buttonRef],
3642
- props: [elementProps, getButtonProps]
3643
- });
3644
- });
3645
- if (process.env.NODE_ENV !== "production") Button.displayName = "Button";
3646
-
3647
- // web/app/dist/server/assets/button-Bv8fhdeH.js
3648
- var buttonVariants = cva([
3649
- "group relative isolate inline-flex items-center justify-center outline-none cursor-pointer",
3650
- "transition-colors duration-80",
3651
- "disabled:opacity-50 disabled:pointer-events-none",
3652
- "focus-visible:ring-1 focus-visible:ring-[color:var(--focus-ring,#6B97FF)]"
3653
- ], {
3654
- variants: {
3655
- variant: {
3656
- default: "text-background",
3657
- primary: "text-background",
3658
- secondary: "text-foreground",
3659
- tertiary: "text-foreground",
3660
- outline: "text-foreground",
3661
- ghost: "text-muted-foreground hover:text-foreground",
3662
- destructive: "text-destructive",
3663
- link: "text-primary underline-offset-4 hover:underline"
3664
- },
3665
- size: {
3666
- default: "h-9 px-4 text-[13px] gap-1.5 [&_svg:not([class*='size-'])]:size-4",
3667
- compact: "h-7 px-3 text-[12px] gap-1 [&_svg:not([class*='size-'])]:size-3.5",
3668
- icon: "h-9 w-9 p-0 [&_svg]:h-4 [&_svg]:w-4",
3669
- "icon-compact": "h-7 w-7 p-0 [&_svg]:h-3.5 [&_svg]:w-3.5"
3670
- },
3671
- iconLeft: { true: "" },
3672
- iconRight: { true: "" }
3673
- },
3674
- compoundVariants: [
3675
- {
3676
- size: "compact",
3677
- iconLeft: true,
3678
- className: "pl-2"
3679
- },
3680
- {
3681
- size: "default",
3682
- iconLeft: true,
3683
- className: "pl-3"
3684
- },
3685
- {
3686
- size: "compact",
3687
- iconRight: true,
3688
- className: "pr-2"
3689
- },
3690
- {
3691
- size: "default",
3692
- iconRight: true,
3693
- className: "pr-3"
3694
- }
3695
- ],
3696
- defaultVariants: {
3697
- variant: "primary",
3698
- size: "default"
3699
- }
3700
- });
3701
- var legacySizeAliases = {
3702
- xs: "compact",
3703
- sm: "compact",
3704
- md: "default",
3705
- lg: "default",
3706
- "icon-xs": "icon-compact",
3707
- "icon-sm": "icon-compact",
3708
- "icon-lg": "icon"
3709
- };
3710
- var bgVariants = {
3711
- default: "[--btn-bg:var(--foreground)] group-hover:[--btn-bg:color-mix(in_oklab,var(--foreground)_90%,var(--background))] group-active:[--btn-bg:color-mix(in_oklab,var(--foreground)_80%,var(--background))] bg-[var(--btn-bg)] shadow-[0_0_0_1px_var(--btn-bg)] group-active:shadow-[0_0_0_0px_var(--btn-bg)]",
3712
- primary: "[--btn-bg:var(--foreground)] group-hover:[--btn-bg:color-mix(in_oklab,var(--foreground)_90%,var(--background))] group-active:[--btn-bg:color-mix(in_oklab,var(--foreground)_80%,var(--background))] bg-[var(--btn-bg)] shadow-[0_0_0_1px_var(--btn-bg)] group-active:shadow-[0_0_0_0px_var(--btn-bg)]",
3713
- secondary: "[--btn-bg:var(--accent)] group-hover:[--btn-bg:color-mix(in_oklab,var(--accent)_80%,var(--background))] group-active:[--btn-bg:var(--accent)] bg-[var(--btn-bg)] shadow-[0_0_0_1px_var(--btn-bg)] group-active:shadow-[0_0_0_0px_var(--btn-bg)]",
3714
- tertiary: "bg-transparent shadow-[0_0_0_1px_var(--border),inset_0_0_0_0px_var(--border)] group-hover:bg-hover group-active:bg-active group-active:shadow-[0_0_0_0px_var(--border),inset_0_0_0_1px_var(--border)]",
3715
- outline: "bg-transparent shadow-[0_0_0_1px_var(--border),inset_0_0_0_0px_var(--border)] group-hover:bg-hover group-active:bg-active group-active:shadow-[0_0_0_0px_var(--border),inset_0_0_0_1px_var(--border)]",
3716
- ghost: "bg-transparent shadow-[0_0_0_1px_transparent] group-hover:bg-hover group-hover:shadow-[0_0_0_1px_var(--hover)] group-active:bg-active group-active:shadow-[0_0_0_0px_var(--active)]",
3717
- destructive: "[--btn-bg:var(--destructive-light,#450A0A)] group-hover:[--btn-bg:color-mix(in_oklab,var(--destructive-light,#450A0A)_80%,var(--background))] group-active:[--btn-bg:var(--destructive-light,#450A0A)] bg-[var(--btn-bg)] shadow-[0_0_0_1px_var(--border)]",
3718
- link: "bg-transparent shadow-none"
3719
- };
3720
- var activeBgVariants = {
3721
- default: "[--btn-bg:color-mix(in_oklab,var(--foreground)_80%,var(--background))] bg-[var(--btn-bg)] shadow-[0_0_0_1px_var(--btn-bg)] group-active:shadow-[0_0_0_0px_var(--btn-bg)]",
3722
- primary: "[--btn-bg:color-mix(in_oklab,var(--foreground)_80%,var(--background))] bg-[var(--btn-bg)] shadow-[0_0_0_1px_var(--btn-bg)] group-active:shadow-[0_0_0_0px_var(--btn-bg)]",
3723
- secondary: "[--btn-bg:var(--accent)] bg-[var(--btn-bg)] shadow-[0_0_0_1px_var(--btn-bg)] group-active:shadow-[0_0_0_0px_var(--btn-bg)]",
3724
- tertiary: "bg-active shadow-[0_0_0_1px_var(--border),inset_0_0_0_0px_var(--border)] group-active:shadow-[0_0_0_0px_var(--border),inset_0_0_0_1px_var(--border)]",
3725
- outline: "bg-active shadow-[0_0_0_1px_var(--border),inset_0_0_0_0px_var(--border)] group-active:shadow-[0_0_0_0px_var(--border),inset_0_0_0_1px_var(--border)]",
3726
- ghost: "bg-active shadow-[0_0_0_1px_var(--active)] group-active:shadow-[0_0_0_0px_var(--active)]",
3727
- destructive: "bg-active shadow-[0_0_0_1px_var(--border)]",
3728
- link: "bg-transparent shadow-none"
3729
- };
3730
- var Button$1 = forwardRef2(({ className, variant, size: size4, asChild = false, loading = false, leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, active = false, disabled, children, style, ...props }, ref) => {
3731
- const asChildElement = asChild && isValidElement(children) ? children : null;
3732
- const label = asChildElement ? asChildElement.props.children : children;
3733
- const resolvedSize = size4 ? legacySizeAliases[size4] ?? size4 : "default";
3734
- const isIconOnly = resolvedSize === "icon" || resolvedSize === "icon-compact";
3735
- const isCompact = resolvedSize === "compact" || resolvedSize === "icon-compact";
3736
- const iconSize = isCompact ? 14 : 16;
3737
- const spinnerSizeClass = isCompact ? "h-7 w-7" : "h-9 w-9";
3738
- const bgClass = active ? activeBgVariants[variant ?? "primary"] : bgVariants[variant ?? "primary"];
3739
- const internals = /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
3740
- "aria-hidden": true,
3741
- className: cn("absolute inset-px rounded-[inherit] transition-[box-shadow,background-color] [transition-duration:180ms,80ms] [transition-timing-function:cubic-bezier(0.23,1,0.32,1),ease] group-active:[transition-duration:80ms,80ms]", bgClass)
3742
- }), /* @__PURE__ */ jsx("span", {
3743
- className: "relative inline-flex min-w-0 items-center justify-center gap-[inherit]",
3744
- children: loading ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("span", {
3745
- className: "flex min-w-0 items-center justify-center gap-[inherit] opacity-0",
3746
- children: [
3747
- LeadingIcon && !isIconOnly && /* @__PURE__ */ jsx(LeadingIcon, {
3748
- size: iconSize,
3749
- strokeWidth: 2
3750
- }),
3751
- label,
3752
- TrailingIcon && !isIconOnly && /* @__PURE__ */ jsx(TrailingIcon, {
3753
- size: iconSize,
3754
- strokeWidth: 2
3755
- })
3756
- ]
3757
- }), /* @__PURE__ */ jsx("span", {
3758
- className: "absolute inset-0 flex items-center justify-center",
3759
- children: /* @__PURE__ */ jsx("svg", {
3760
- className: spinnerSizeClass,
3761
- viewBox: "0 0 24 24",
3762
- fill: "none",
3763
- children: /* @__PURE__ */ jsx("path", {
3764
- d: "M 12 12 C 14 8.5 19 8.5 19 12 C 19 15.5 14 15.5 12 12 C 10 8.5 5 8.5 5 12 C 5 15.5 10 15.5 12 12 Z",
3765
- stroke: "currentColor",
3766
- strokeWidth: "1.125",
3767
- strokeLinecap: "round",
3768
- pathLength: "100",
3769
- style: {
3770
- strokeDasharray: "15 85",
3771
- animation: "spinner-move 2s linear infinite, spinner-dash 4s ease-in-out infinite"
3772
- }
3773
- })
3774
- })
3775
- })] }) : isIconOnly ? /* @__PURE__ */ jsx("span", {
3776
- className: "[&_svg]:stroke-[1.5] [&_svg]:transition-[stroke-width] [&_svg]:duration-80 group-hover:[&_svg]:stroke-[2]",
3777
- children: label
3778
- }) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
3779
- LeadingIcon && /* @__PURE__ */ jsx(LeadingIcon, {
3780
- size: iconSize,
3781
- strokeWidth: 1.5,
3782
- className: "transition-[stroke-width] duration-80 group-hover:stroke-[2]"
3783
- }),
3784
- /* @__PURE__ */ jsx("span", {
3785
- className: "inline-flex items-center gap-[inherit] min-w-0 [text-box:trim-both_cap_alphabetic] [&_svg]:shrink-0",
3786
- children: label
3787
- }),
3788
- TrailingIcon && /* @__PURE__ */ jsx(TrailingIcon, {
3789
- size: iconSize,
3790
- strokeWidth: 1.5,
3791
- className: "transition-[stroke-width] duration-80 group-hover:stroke-[2]"
3792
- })
3793
- ] })
3794
- })] });
3795
- const rootClassName = cn(buttonVariants({
3796
- variant,
3797
- size: resolvedSize,
3798
- iconLeft: !isIconOnly && !!LeadingIcon,
3799
- iconRight: !isIconOnly && !!TrailingIcon
3800
- }), "rounded-lg", className);
3801
- if (asChildElement) {
3802
- const childProps = asChildElement.props;
3803
- const composedProps = { ...props };
3804
- for (const key of Object.keys(props)) {
3805
- if (!/^on[A-Z]/.test(key)) continue;
3806
- const parentHandler = props[key];
3807
- const childHandler = childProps[key];
3808
- if (typeof parentHandler !== "function" || typeof childHandler !== "function") continue;
3809
- composedProps[key] = (event) => {
3810
- childHandler(event);
3811
- if (!event.defaultPrevented) parentHandler(event);
3812
- };
3813
- }
3814
- return cloneElement(asChildElement, {
3815
- ...composedProps,
3816
- ref,
3817
- "data-slot": "button",
3818
- className: cn(rootClassName, childProps.className),
3819
- style: {
3820
- ...style,
3821
- ...childProps.style
3822
- }
3823
- }, internals);
3824
- }
3825
- return /* @__PURE__ */ jsx(Button, {
3826
- ref,
3827
- "data-slot": "button",
3828
- className: rootClassName,
3829
- disabled: disabled || loading,
3830
- style,
3831
- ...props,
3832
- children: internals
3833
- });
3834
- });
3835
- Button$1.displayName = "Button";
3836
-
3837
- // web/app/dist/server/assets/toast-CEdZUKWS.js
3838
- import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
3619
+ // web/app/dist/server/assets/toast-C66gLspe.js
3620
+ import { jsx, jsxs } from "react/jsx-runtime";
3839
3621
 
3840
3622
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/index.parts.mjs
3841
3623
  var index_parts_exports = {};
@@ -3858,6 +3640,12 @@ __export(index_parts_exports, {
3858
3640
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/provider/ToastProvider.mjs
3859
3641
  import * as React6 from "react";
3860
3642
 
3643
+ // node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/useOnMount.mjs
3644
+ import * as React from "react";
3645
+ function useOnMount(fn) {
3646
+ React.useEffect(fn, EMPTY_ARRAY);
3647
+ }
3648
+
3861
3649
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/provider/ToastProviderContext.mjs
3862
3650
  import * as React2 from "react";
3863
3651
  var ToastContext = /* @__PURE__ */ React2.createContext(void 0);
@@ -4306,30 +4094,129 @@ function mergeCleanups(...cleanups) {
4306
4094
  };
4307
4095
  }
4308
4096
 
4097
+ // node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/addEventListener.mjs
4098
+ function addEventListener(target, type, listener, options) {
4099
+ target.addEventListener(type, listener, options);
4100
+ return () => {
4101
+ target.removeEventListener(type, listener, options);
4102
+ };
4103
+ }
4104
+
4105
+ // node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/useAnimationFrame.mjs
4106
+ var EMPTY = null;
4107
+ var LAST_RAF = globalThis.requestAnimationFrame;
4108
+ var Scheduler = class {
4109
+ /* This implementation uses an array as a backing data-structure for frame callbacks.
4110
+ * It allows `O(1)` callback cancelling by inserting a `null` in the array, though it
4111
+ * never calls the native `cancelAnimationFrame` if there are no frames left. This can
4112
+ * be much more efficient if there is a call pattern that alterns as
4113
+ * "request-cancel-request-cancel-…".
4114
+ * But in the case of "request-request-…-cancel-cancel-…", it leaves the final animation
4115
+ * frame to run anyway. We turn that frame into a `O(1)` no-op via `callbacksCount`. */
4116
+ callbacks = [];
4117
+ callbacksCount = 0;
4118
+ nextId = 1;
4119
+ startId = 1;
4120
+ isScheduled = false;
4121
+ tick = (timestamp) => {
4122
+ this.isScheduled = false;
4123
+ const currentCallbacks = this.callbacks;
4124
+ const currentCallbacksCount = this.callbacksCount;
4125
+ this.callbacks = [];
4126
+ this.callbacksCount = 0;
4127
+ this.startId = this.nextId;
4128
+ if (currentCallbacksCount > 0) {
4129
+ for (let i = 0; i < currentCallbacks.length; i += 1) {
4130
+ currentCallbacks[i]?.(timestamp);
4131
+ }
4132
+ }
4133
+ };
4134
+ request(fn) {
4135
+ const id3 = this.nextId;
4136
+ this.nextId += 1;
4137
+ this.callbacks.push(fn);
4138
+ this.callbacksCount += 1;
4139
+ const didRAFChange = process.env.NODE_ENV !== "production" && LAST_RAF !== requestAnimationFrame && (LAST_RAF = requestAnimationFrame, true);
4140
+ if (!this.isScheduled || didRAFChange) {
4141
+ requestAnimationFrame(this.tick);
4142
+ this.isScheduled = true;
4143
+ }
4144
+ return id3;
4145
+ }
4146
+ cancel(id3) {
4147
+ const index3 = id3 - this.startId;
4148
+ if (index3 < 0 || index3 >= this.callbacks.length) {
4149
+ return;
4150
+ }
4151
+ if (this.callbacks[index3] === null) {
4152
+ return;
4153
+ }
4154
+ this.callbacks[index3] = null;
4155
+ this.callbacksCount -= 1;
4156
+ }
4157
+ };
4158
+ var scheduler = new Scheduler();
4159
+ var AnimationFrame = class _AnimationFrame {
4160
+ static create() {
4161
+ return new _AnimationFrame();
4162
+ }
4163
+ static request(fn) {
4164
+ return scheduler.request(fn);
4165
+ }
4166
+ static cancel(id3) {
4167
+ return scheduler.cancel(id3);
4168
+ }
4169
+ currentId = EMPTY;
4170
+ /**
4171
+ * Executes `fn` after `delay`, clearing any previously scheduled call.
4172
+ */
4173
+ request(fn) {
4174
+ this.cancel();
4175
+ this.currentId = scheduler.request(() => {
4176
+ this.currentId = EMPTY;
4177
+ fn();
4178
+ });
4179
+ }
4180
+ cancel = () => {
4181
+ if (this.currentId !== EMPTY) {
4182
+ scheduler.cancel(this.currentId);
4183
+ this.currentId = EMPTY;
4184
+ }
4185
+ };
4186
+ disposeEffect = () => {
4187
+ return this.cancel;
4188
+ };
4189
+ };
4190
+ function useAnimationFrame() {
4191
+ const timeout = useRefWithInit(AnimationFrame.create).current;
4192
+ useOnMount(timeout.disposeEffect);
4193
+ return timeout;
4194
+ }
4195
+
4309
4196
  // node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/useTimeout.mjs
4310
- var EMPTY = 0;
4197
+ var EMPTY2 = 0;
4311
4198
  var Timeout = class _Timeout {
4312
4199
  static create() {
4313
4200
  return new _Timeout();
4314
4201
  }
4315
- currentId = EMPTY;
4202
+ currentId = EMPTY2;
4316
4203
  /**
4317
4204
  * Executes `fn` after `delay`, clearing any previously scheduled call.
4318
4205
  */
4319
4206
  start(delay2, fn) {
4320
4207
  this.clear();
4321
4208
  this.currentId = setTimeout(() => {
4322
- this.currentId = EMPTY;
4209
+ this.currentId = EMPTY2;
4323
4210
  fn();
4324
4211
  }, delay2);
4325
4212
  }
4326
4213
  isStarted() {
4327
- return this.currentId !== EMPTY;
4214
+ return this.currentId !== EMPTY2;
4328
4215
  }
4329
4216
  clear = () => {
4330
- if (this.currentId !== EMPTY) {
4217
+ if (this.currentId !== EMPTY2) {
4331
4218
  clearTimeout(this.currentId);
4332
- this.currentId = EMPTY;
4219
+ this.currentId = EMPTY2;
4333
4220
  }
4334
4221
  };
4335
4222
  disposeEffect = () => {
@@ -4505,6 +4392,34 @@ var ARROW_RIGHT = "ArrowRight";
4505
4392
  var ARROW_UP = "ArrowUp";
4506
4393
  var ARROW_DOWN = "ArrowDown";
4507
4394
 
4395
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/TransitionStatusDataAttributes.mjs
4396
+ var TransitionStatusDataAttributes_exports = {};
4397
+ __export(TransitionStatusDataAttributes_exports, {
4398
+ endingStyle: () => endingStyle,
4399
+ startingStyle: () => startingStyle
4400
+ });
4401
+ var startingStyle = "data-starting-style";
4402
+ var endingStyle = "data-ending-style";
4403
+
4404
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/stateAttributesMapping.mjs
4405
+ var STARTING_HOOK = {
4406
+ [startingStyle]: ""
4407
+ };
4408
+ var ENDING_HOOK = {
4409
+ [endingStyle]: ""
4410
+ };
4411
+ var transitionStatusMapping = {
4412
+ transitionStatus(value) {
4413
+ if (value === "starting") {
4414
+ return STARTING_HOOK;
4415
+ }
4416
+ if (value === "ending") {
4417
+ return ENDING_HOOK;
4418
+ }
4419
+ return null;
4420
+ }
4421
+ };
4422
+
4508
4423
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/utils/CommonPopupDataAttributes.mjs
4509
4424
  var CommonPopupDataAttributes_exports = {};
4510
4425
  __export(CommonPopupDataAttributes_exports, {
@@ -5749,8 +5664,8 @@ var ToastViewport = /* @__PURE__ */ React8.forwardRef(function ToastViewport2(co
5749
5664
  if (process.env.NODE_ENV !== "production") ToastViewport.displayName = "ToastViewport";
5750
5665
 
5751
5666
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/root/ToastRoot.mjs
5752
- import * as React11 from "react";
5753
- import * as ReactDOM from "react-dom";
5667
+ import * as React12 from "react";
5668
+ import * as ReactDOM2 from "react-dom";
5754
5669
 
5755
5670
  // node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/inertValue.mjs
5756
5671
  function inertValue(value) {
@@ -5772,6 +5687,126 @@ function useToastRootContext() {
5772
5687
  return context;
5773
5688
  }
5774
5689
 
5690
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/useOpenChangeComplete.mjs
5691
+ import * as React10 from "react";
5692
+
5693
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/useAnimationsFinished.mjs
5694
+ import * as ReactDOM from "react-dom";
5695
+
5696
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/utils/resolveRef.mjs
5697
+ function resolveRef2(maybeRef) {
5698
+ if (maybeRef == null) {
5699
+ return maybeRef;
5700
+ }
5701
+ return "current" in maybeRef ? maybeRef.current : maybeRef;
5702
+ }
5703
+
5704
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/useAnimationsFinished.mjs
5705
+ var pendingCallbacks = null;
5706
+ function flushBeforePaint(fn) {
5707
+ if (!pendingCallbacks) {
5708
+ const callbacks = [];
5709
+ pendingCallbacks = callbacks;
5710
+ queueMicrotask(() => {
5711
+ pendingCallbacks = null;
5712
+ ReactDOM.flushSync(() => {
5713
+ for (const callback of callbacks) {
5714
+ callback();
5715
+ }
5716
+ });
5717
+ });
5718
+ }
5719
+ pendingCallbacks.push(fn);
5720
+ }
5721
+ function useAnimationsFinished(elementOrRef, waitForStartingStyleRemoved = false, batch = false) {
5722
+ const frame2 = useAnimationFrame();
5723
+ return useStableCallback((fnToExecute, signal = null) => {
5724
+ frame2.cancel();
5725
+ const element = resolveRef2(elementOrRef);
5726
+ if (element == null) {
5727
+ return;
5728
+ }
5729
+ const resolvedElement = element;
5730
+ const done = () => {
5731
+ if (!batch) {
5732
+ ReactDOM.flushSync(fnToExecute);
5733
+ return;
5734
+ }
5735
+ flushBeforePaint(() => {
5736
+ if (!signal?.aborted) {
5737
+ fnToExecute();
5738
+ }
5739
+ });
5740
+ };
5741
+ if (typeof resolvedElement.getAnimations !== "function" || globalThis.BASE_UI_ANIMATIONS_DISABLED) {
5742
+ fnToExecute();
5743
+ return;
5744
+ }
5745
+ function exec() {
5746
+ Promise.all(resolvedElement.getAnimations().map((animation) => animation.finished)).then(() => {
5747
+ if (!signal?.aborted) {
5748
+ done();
5749
+ }
5750
+ }, () => {
5751
+ if (signal?.aborted) {
5752
+ return;
5753
+ }
5754
+ const currentAnimations = resolvedElement.getAnimations();
5755
+ if (currentAnimations.some((animation) => animation.pending || animation.playState !== "finished")) {
5756
+ exec();
5757
+ return;
5758
+ }
5759
+ done();
5760
+ });
5761
+ }
5762
+ if (waitForStartingStyleRemoved) {
5763
+ const startingStyleAttribute = startingStyle;
5764
+ if (!resolvedElement.hasAttribute(startingStyleAttribute)) {
5765
+ frame2.request(exec);
5766
+ return;
5767
+ }
5768
+ const attributeObserver = new MutationObserver(() => {
5769
+ if (!resolvedElement.hasAttribute(startingStyleAttribute)) {
5770
+ attributeObserver.disconnect();
5771
+ exec();
5772
+ }
5773
+ });
5774
+ attributeObserver.observe(resolvedElement, {
5775
+ attributes: true,
5776
+ attributeFilter: [startingStyleAttribute]
5777
+ });
5778
+ signal?.addEventListener("abort", () => attributeObserver.disconnect(), {
5779
+ once: true
5780
+ });
5781
+ return;
5782
+ }
5783
+ frame2.request(exec);
5784
+ });
5785
+ }
5786
+
5787
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/useOpenChangeComplete.mjs
5788
+ function useOpenChangeComplete(parameters) {
5789
+ const {
5790
+ enabled = true,
5791
+ open: open2,
5792
+ ref,
5793
+ batch = false,
5794
+ onComplete: onCompleteParam
5795
+ } = parameters;
5796
+ const onComplete = useStableCallback(onCompleteParam);
5797
+ const runOnceAnimationsFinish = useAnimationsFinished(ref, open2, batch);
5798
+ React10.useEffect(() => {
5799
+ if (!enabled) {
5800
+ return void 0;
5801
+ }
5802
+ const abortController = new AbortController();
5803
+ runOnceAnimationsFinish(onComplete, abortController.signal);
5804
+ return () => {
5805
+ abortController.abort();
5806
+ };
5807
+ }, [enabled, open2, onComplete, runOnceAnimationsFinish]);
5808
+ }
5809
+
5775
5810
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/constants.mjs
5776
5811
  var PATIENT_CLICK_THRESHOLD = 500;
5777
5812
  var DISABLED_TRANSITIONS_STYLE = {
@@ -5798,7 +5833,7 @@ var ownerVisuallyHidden = {
5798
5833
  };
5799
5834
 
5800
5835
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/utils/useSwipeDismiss.mjs
5801
- import * as React10 from "react";
5836
+ import * as React11 from "react";
5802
5837
 
5803
5838
  // node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/clamp.mjs
5804
5839
  function clamp2(val, min2 = Number.MIN_SAFE_INTEGER, max2 = Number.MAX_SAFE_INTEGER) {
@@ -5876,7 +5911,7 @@ var REVERSE_CANCEL_THRESHOLD = 10;
5876
5911
  var OPPOSITE_DIRECTION_DAMPING_FACTOR = 0.5;
5877
5912
  var MIN_DRAG_THRESHOLD = 1;
5878
5913
  var TOAST_SWIPE_IGNORE_SELECTOR = `${BASE_UI_SWIPE_IGNORE_SELECTOR},${LEGACY_SWIPE_IGNORE_SELECTOR}`;
5879
- var ToastRoot = /* @__PURE__ */ React11.forwardRef(function ToastRoot2(componentProps, forwardedRef) {
5914
+ var ToastRoot = /* @__PURE__ */ React12.forwardRef(function ToastRoot2(componentProps, forwardedRef) {
5880
5915
  const {
5881
5916
  toast: toast2,
5882
5917
  render,
@@ -5892,46 +5927,46 @@ var ToastRoot = /* @__PURE__ */ React11.forwardRef(function ToastRoot2(component
5892
5927
  }
5893
5928
  const swipeEnabled = swipeDirections.length > 0;
5894
5929
  const store = useToastProviderContext();
5895
- const [currentSwipeDirection, setCurrentSwipeDirection] = React11.useState(void 0);
5896
- const [isSwiping, setIsSwiping] = React11.useState(false);
5897
- const [isRealSwipe, setIsRealSwipe] = React11.useState(false);
5898
- const [dragOffset, setDragOffset] = React11.useState({
5930
+ const [currentSwipeDirection, setCurrentSwipeDirection] = React12.useState(void 0);
5931
+ const [isSwiping, setIsSwiping] = React12.useState(false);
5932
+ const [isRealSwipe, setIsRealSwipe] = React12.useState(false);
5933
+ const [dragOffset, setDragOffset] = React12.useState({
5899
5934
  x: 0,
5900
5935
  y: 0
5901
5936
  });
5902
- const [initialTransform, setInitialTransform] = React11.useState({
5937
+ const [initialTransform, setInitialTransform] = React12.useState({
5903
5938
  x: 0,
5904
5939
  y: 0,
5905
5940
  scale: 1
5906
5941
  });
5907
- const [titleId, setTitleId] = React11.useState();
5908
- const [descriptionId, setDescriptionId] = React11.useState();
5909
- const [lockedDirection, setLockedDirection] = React11.useState(null);
5910
- const rootRef = React11.useRef(null);
5911
- const lastToastIdRef = React11.useRef(void 0);
5912
- const dragStartPosRef = React11.useRef({
5942
+ const [titleId, setTitleId] = React12.useState();
5943
+ const [descriptionId, setDescriptionId] = React12.useState();
5944
+ const [lockedDirection, setLockedDirection] = React12.useState(null);
5945
+ const rootRef = React12.useRef(null);
5946
+ const lastToastIdRef = React12.useRef(void 0);
5947
+ const dragStartPosRef = React12.useRef({
5913
5948
  x: 0,
5914
5949
  y: 0
5915
5950
  });
5916
- const initialTransformRef = React11.useRef({
5951
+ const initialTransformRef = React12.useRef({
5917
5952
  x: 0,
5918
5953
  y: 0,
5919
5954
  scale: 1
5920
5955
  });
5921
- const intendedSwipeDirectionRef = React11.useRef(void 0);
5922
- const maxSwipeDisplacementRef = React11.useRef(0);
5923
- const cancelledSwipeRef = React11.useRef(false);
5924
- const swipeCancelBaselineRef = React11.useRef({
5956
+ const intendedSwipeDirectionRef = React12.useRef(void 0);
5957
+ const maxSwipeDisplacementRef = React12.useRef(0);
5958
+ const cancelledSwipeRef = React12.useRef(false);
5959
+ const swipeCancelBaselineRef = React12.useRef({
5925
5960
  x: 0,
5926
5961
  y: 0
5927
5962
  });
5928
- const isFirstPointerMoveRef = React11.useRef(false);
5929
- const dragOffsetRef = React11.useRef({
5963
+ const isFirstPointerMoveRef = React12.useRef(false);
5964
+ const dragOffsetRef = React12.useRef({
5930
5965
  x: 0,
5931
5966
  y: 0
5932
5967
  });
5933
- const activePointerIdRef = React11.useRef(null);
5934
- const dragAbortControllerRef = React11.useRef(null);
5968
+ const activePointerIdRef = React12.useRef(null);
5969
+ const dragAbortControllerRef = React12.useRef(null);
5935
5970
  const domIndex = store.useState("toastIndex", toast2.id);
5936
5971
  const visibleIndex = store.useState("toastVisibleIndex", toast2.id);
5937
5972
  const offsetY2 = store.useState("toastOffsetY", toast2.id);
@@ -5946,7 +5981,7 @@ var ToastRoot = /* @__PURE__ */ React11.forwardRef(function ToastRoot2(component
5946
5981
  }
5947
5982
  }
5948
5983
  });
5949
- const recalculateHeight = useStableCallback((flushSync4 = false) => {
5984
+ const recalculateHeight = useStableCallback((flushSync5 = false) => {
5950
5985
  const element2 = rootRef.current;
5951
5986
  if (!element2) {
5952
5987
  return;
@@ -5962,8 +5997,8 @@ var ToastRoot = /* @__PURE__ */ React11.forwardRef(function ToastRoot2(component
5962
5997
  transitionStatus: void 0
5963
5998
  });
5964
5999
  }
5965
- if (flushSync4) {
5966
- ReactDOM.flushSync(update);
6000
+ if (flushSync5) {
6001
+ ReactDOM2.flushSync(update);
5967
6002
  } else {
5968
6003
  update();
5969
6004
  }
@@ -6199,7 +6234,7 @@ var ToastRoot = /* @__PURE__ */ React11.forwardRef(function ToastRoot2(component
6199
6234
  store.closeToast(toast2.id);
6200
6235
  }
6201
6236
  }
6202
- React11.useEffect(() => {
6237
+ React12.useEffect(() => {
6203
6238
  const element2 = rootRef.current;
6204
6239
  if (!swipeEnabled || !element2) {
6205
6240
  return void 0;
@@ -6247,7 +6282,7 @@ var ToastRoot = /* @__PURE__ */ React11.forwardRef(function ToastRoot2(component
6247
6282
  [height]: toast2.height ? `${toast2.height}px` : void 0
6248
6283
  }
6249
6284
  };
6250
- const toastRoot = React11.useMemo(() => ({
6285
+ const toastRoot = React12.useMemo(() => ({
6251
6286
  toast: toast2,
6252
6287
  setTitleId,
6253
6288
  setDescriptionId,
@@ -6277,8 +6312,8 @@ var ToastRoot = /* @__PURE__ */ React11.forwardRef(function ToastRoot2(component
6277
6312
  if (process.env.NODE_ENV !== "production") ToastRoot.displayName = "ToastRoot";
6278
6313
 
6279
6314
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/content/ToastContent.mjs
6280
- import * as React12 from "react";
6281
- var ToastContent = /* @__PURE__ */ React12.forwardRef(function ToastContent2(componentProps, forwardedRef) {
6315
+ import * as React13 from "react";
6316
+ var ToastContent = /* @__PURE__ */ React13.forwardRef(function ToastContent2(componentProps, forwardedRef) {
6282
6317
  const {
6283
6318
  render,
6284
6319
  className,
@@ -6290,7 +6325,7 @@ var ToastContent = /* @__PURE__ */ React12.forwardRef(function ToastContent2(com
6290
6325
  expanded,
6291
6326
  recalculateHeight
6292
6327
  } = useToastRootContext();
6293
- const contentRef = React12.useRef(null);
6328
+ const contentRef = React13.useRef(null);
6294
6329
  useIsoLayoutEffect(() => {
6295
6330
  recalculateHeight();
6296
6331
  const node = contentRef.current;
@@ -6324,10 +6359,33 @@ var ToastContent = /* @__PURE__ */ React12.forwardRef(function ToastContent2(com
6324
6359
  if (process.env.NODE_ENV !== "production") ToastContent.displayName = "ToastContent";
6325
6360
 
6326
6361
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/description/ToastDescription.mjs
6362
+ import * as React16 from "react";
6363
+
6364
+ // node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/useId.mjs
6327
6365
  import * as React14 from "react";
6366
+ var globalId = 0;
6367
+ function useGlobalId(idOverride, prefix = "mui") {
6368
+ const [defaultId, setDefaultId] = React14.useState(idOverride);
6369
+ const id3 = idOverride || defaultId;
6370
+ React14.useEffect(() => {
6371
+ if (defaultId == null) {
6372
+ globalId += 1;
6373
+ setDefaultId(`${prefix}-${globalId}`);
6374
+ }
6375
+ }, [defaultId, prefix]);
6376
+ return id3;
6377
+ }
6378
+ var maybeReactUseId = SafeReact.useId;
6379
+ function useId(idOverride, prefix) {
6380
+ if (maybeReactUseId !== void 0) {
6381
+ const reactId = maybeReactUseId();
6382
+ return idOverride ?? (prefix ? `${prefix}-${reactId}` : reactId);
6383
+ }
6384
+ return useGlobalId(idOverride, prefix);
6385
+ }
6328
6386
 
6329
6387
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/utils/isRenderableNode.mjs
6330
- import * as React13 from "react";
6388
+ import * as React15 from "react";
6331
6389
  function isRenderableNode(node) {
6332
6390
  if (node == null || typeof node === "boolean" || node === "") {
6333
6391
  return false;
@@ -6338,7 +6396,7 @@ function isRenderableNode(node) {
6338
6396
  return true;
6339
6397
  }
6340
6398
  function hasRenderableChildren(element) {
6341
- return /* @__PURE__ */ React13.isValidElement(element) && isRenderableNode(element.props.children);
6399
+ return /* @__PURE__ */ React15.isValidElement(element) && isRenderableNode(element.props.children);
6342
6400
  }
6343
6401
 
6344
6402
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/utils/useToastLabelPart.mjs
@@ -6373,7 +6431,7 @@ function useToastLabelElement(element, id3, setId) {
6373
6431
  }
6374
6432
 
6375
6433
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/description/ToastDescription.mjs
6376
- var ToastDescription = /* @__PURE__ */ React14.forwardRef(function ToastDescription2(componentProps, forwardedRef) {
6434
+ var ToastDescription = /* @__PURE__ */ React16.forwardRef(function ToastDescription2(componentProps, forwardedRef) {
6377
6435
  const {
6378
6436
  render,
6379
6437
  className,
@@ -6405,8 +6463,8 @@ var ToastDescription = /* @__PURE__ */ React14.forwardRef(function ToastDescript
6405
6463
  if (process.env.NODE_ENV !== "production") ToastDescription.displayName = "ToastDescription";
6406
6464
 
6407
6465
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/title/ToastTitle.mjs
6408
- import * as React15 from "react";
6409
- var ToastTitle = /* @__PURE__ */ React15.forwardRef(function ToastTitle2(componentProps, forwardedRef) {
6466
+ import * as React17 from "react";
6467
+ var ToastTitle = /* @__PURE__ */ React17.forwardRef(function ToastTitle2(componentProps, forwardedRef) {
6410
6468
  const {
6411
6469
  render,
6412
6470
  className,
@@ -6438,13 +6496,13 @@ var ToastTitle = /* @__PURE__ */ React15.forwardRef(function ToastTitle2(compone
6438
6496
  if (process.env.NODE_ENV !== "production") ToastTitle.displayName = "ToastTitle";
6439
6497
 
6440
6498
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/close/ToastClose.mjs
6441
- import * as React16 from "react";
6442
- var ToastClose = /* @__PURE__ */ React16.forwardRef(function ToastClose2(componentProps, forwardedRef) {
6499
+ import * as React18 from "react";
6500
+ var ToastClose = /* @__PURE__ */ React18.forwardRef(function ToastClose2(componentProps, forwardedRef) {
6443
6501
  const {
6444
6502
  render,
6445
6503
  className,
6446
6504
  style,
6447
- disabled,
6505
+ disabled: disabled2,
6448
6506
  nativeButton = true,
6449
6507
  ...elementProps
6450
6508
  } = componentProps;
@@ -6453,12 +6511,12 @@ var ToastClose = /* @__PURE__ */ React16.forwardRef(function ToastClose2(compone
6453
6511
  toast: toast2,
6454
6512
  expanded
6455
6513
  } = useToastRootContext();
6456
- const [hasFocus, setHasFocus] = React16.useState(false);
6514
+ const [hasFocus, setHasFocus] = React18.useState(false);
6457
6515
  const {
6458
6516
  getButtonProps,
6459
6517
  buttonRef
6460
6518
  } = useButton({
6461
- disabled,
6519
+ disabled: disabled2,
6462
6520
  native: nativeButton
6463
6521
  });
6464
6522
  const state = {
@@ -6484,13 +6542,13 @@ var ToastClose = /* @__PURE__ */ React16.forwardRef(function ToastClose2(compone
6484
6542
  if (process.env.NODE_ENV !== "production") ToastClose.displayName = "ToastClose";
6485
6543
 
6486
6544
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/action/ToastAction.mjs
6487
- import * as React17 from "react";
6488
- var ToastAction = /* @__PURE__ */ React17.forwardRef(function ToastAction2(componentProps, forwardedRef) {
6545
+ import * as React19 from "react";
6546
+ var ToastAction = /* @__PURE__ */ React19.forwardRef(function ToastAction2(componentProps, forwardedRef) {
6489
6547
  const {
6490
6548
  render,
6491
6549
  className,
6492
6550
  style,
6493
- disabled,
6551
+ disabled: disabled2,
6494
6552
  nativeButton = true,
6495
6553
  ...elementProps
6496
6554
  } = componentProps;
@@ -6502,7 +6560,7 @@ var ToastAction = /* @__PURE__ */ React17.forwardRef(function ToastAction2(compo
6502
6560
  getButtonProps,
6503
6561
  buttonRef
6504
6562
  } = useButton({
6505
- disabled,
6563
+ disabled: disabled2,
6506
6564
  native: nativeButton
6507
6565
  });
6508
6566
  const state = {
@@ -6520,15 +6578,116 @@ var ToastAction = /* @__PURE__ */ React17.forwardRef(function ToastAction2(compo
6520
6578
  if (process.env.NODE_ENV !== "production") ToastAction.displayName = "ToastAction";
6521
6579
 
6522
6580
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/portal/ToastPortal.mjs
6523
- import * as React20 from "react";
6581
+ import * as React22 from "react";
6524
6582
 
6525
6583
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/utils/FloatingPortalLite.mjs
6526
- import * as React19 from "react";
6527
- import * as ReactDOM3 from "react-dom";
6584
+ import * as React21 from "react";
6585
+ import * as ReactDOM4 from "react-dom";
6528
6586
 
6529
6587
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/components/FloatingPortal.mjs
6530
- import * as React18 from "react";
6531
- import * as ReactDOM2 from "react-dom";
6588
+ import * as React20 from "react";
6589
+ import * as ReactDOM3 from "react-dom";
6590
+
6591
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/reason-parts.mjs
6592
+ var reason_parts_exports = {};
6593
+ __export(reason_parts_exports, {
6594
+ cancelOpen: () => cancelOpen,
6595
+ chipRemovePress: () => chipRemovePress,
6596
+ clearPress: () => clearPress,
6597
+ closePress: () => closePress,
6598
+ closeWatcher: () => closeWatcher,
6599
+ decrementPress: () => decrementPress,
6600
+ disabled: () => disabled,
6601
+ drag: () => drag,
6602
+ escapeKey: () => escapeKey,
6603
+ focusOut: () => focusOut,
6604
+ imperativeAction: () => imperativeAction,
6605
+ incrementPress: () => incrementPress,
6606
+ initial: () => initial,
6607
+ inputBlur: () => inputBlur,
6608
+ inputChange: () => inputChange,
6609
+ inputClear: () => inputClear,
6610
+ inputPaste: () => inputPaste,
6611
+ inputPress: () => inputPress,
6612
+ itemPress: () => itemPress,
6613
+ keyboard: () => keyboard,
6614
+ linkPress: () => linkPress,
6615
+ listNavigation: () => listNavigation,
6616
+ missing: () => missing,
6617
+ none: () => none,
6618
+ outsidePress: () => outsidePress,
6619
+ pointer: () => pointer,
6620
+ scrub: () => scrub,
6621
+ siblingOpen: () => siblingOpen,
6622
+ swipe: () => swipe,
6623
+ trackPress: () => trackPress,
6624
+ triggerFocus: () => triggerFocus,
6625
+ triggerHover: () => triggerHover,
6626
+ triggerPress: () => triggerPress,
6627
+ wheel: () => wheel,
6628
+ windowResize: () => windowResize
6629
+ });
6630
+ var none = "none";
6631
+ var triggerPress = "trigger-press";
6632
+ var triggerHover = "trigger-hover";
6633
+ var triggerFocus = "trigger-focus";
6634
+ var outsidePress = "outside-press";
6635
+ var itemPress = "item-press";
6636
+ var closePress = "close-press";
6637
+ var linkPress = "link-press";
6638
+ var clearPress = "clear-press";
6639
+ var chipRemovePress = "chip-remove-press";
6640
+ var trackPress = "track-press";
6641
+ var incrementPress = "increment-press";
6642
+ var decrementPress = "decrement-press";
6643
+ var inputChange = "input-change";
6644
+ var inputClear = "input-clear";
6645
+ var inputBlur = "input-blur";
6646
+ var inputPaste = "input-paste";
6647
+ var inputPress = "input-press";
6648
+ var focusOut = "focus-out";
6649
+ var escapeKey = "escape-key";
6650
+ var closeWatcher = "close-watcher";
6651
+ var listNavigation = "list-navigation";
6652
+ var keyboard = "keyboard";
6653
+ var pointer = "pointer";
6654
+ var drag = "drag";
6655
+ var wheel = "wheel";
6656
+ var scrub = "scrub";
6657
+ var cancelOpen = "cancel-open";
6658
+ var siblingOpen = "sibling-open";
6659
+ var disabled = "disabled";
6660
+ var missing = "missing";
6661
+ var initial = "initial";
6662
+ var imperativeAction = "imperative-action";
6663
+ var swipe = "swipe";
6664
+ var windowResize = "window-resize";
6665
+
6666
+ // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/createBaseUIEventDetails.mjs
6667
+ function createChangeEventDetails(reason, event, trigger, customProperties) {
6668
+ let canceled = false;
6669
+ let allowPropagation = false;
6670
+ const custom2 = customProperties ?? EMPTY_OBJECT;
6671
+ const details = {
6672
+ reason,
6673
+ event: event ?? new Event("base-ui"),
6674
+ cancel() {
6675
+ canceled = true;
6676
+ },
6677
+ allowPropagation() {
6678
+ allowPropagation = true;
6679
+ },
6680
+ get isCanceled() {
6681
+ return canceled;
6682
+ },
6683
+ get isPropagationAllowed() {
6684
+ return allowPropagation;
6685
+ },
6686
+ trigger,
6687
+ ...custom2
6688
+ };
6689
+ return details;
6690
+ }
6532
6691
 
6533
6692
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/utils/createAttribute.mjs
6534
6693
  function createAttribute(name) {
@@ -6537,9 +6696,9 @@ function createAttribute(name) {
6537
6696
 
6538
6697
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/components/FloatingPortal.mjs
6539
6698
  import { jsx as _jsx5, jsxs as _jsxs3 } from "react/jsx-runtime";
6540
- var PortalContext = /* @__PURE__ */ React18.createContext(null);
6699
+ var PortalContext = /* @__PURE__ */ React20.createContext(null);
6541
6700
  if (process.env.NODE_ENV !== "production") PortalContext.displayName = "PortalContext";
6542
- var usePortalContext = () => React18.useContext(PortalContext);
6701
+ var usePortalContext = () => React20.useContext(PortalContext);
6543
6702
  var attr = createAttribute("portal");
6544
6703
  function useFloatingPortalNode(props = {}) {
6545
6704
  const {
@@ -6551,14 +6710,14 @@ function useFloatingPortalNode(props = {}) {
6551
6710
  const uniqueId = useId();
6552
6711
  const portalContext = usePortalContext();
6553
6712
  const parentPortalNode = portalContext?.portalNode;
6554
- const [containerElement, setContainerElement] = React18.useState(null);
6555
- const [portalNode, setPortalNode] = React18.useState(null);
6713
+ const [containerElement, setContainerElement] = React20.useState(null);
6714
+ const [portalNode, setPortalNode] = React20.useState(null);
6556
6715
  const setPortalNodeRef = useStableCallback((node) => {
6557
6716
  if (node !== null) {
6558
6717
  setPortalNode(node);
6559
6718
  }
6560
6719
  });
6561
- const containerRef = React18.useRef(null);
6720
+ const containerRef = React20.useRef(null);
6562
6721
  useIsoLayoutEffect(() => {
6563
6722
  if (containerProp === null) {
6564
6723
  if (containerRef.current) {
@@ -6590,16 +6749,16 @@ function useFloatingPortalNode(props = {}) {
6590
6749
  [attr]: ""
6591
6750
  }, elementProps]
6592
6751
  });
6593
- const portalSubtree = containerElement && portalElement ? /* @__PURE__ */ ReactDOM2.createPortal(portalElement, containerElement) : null;
6752
+ const portalSubtree = containerElement && portalElement ? /* @__PURE__ */ ReactDOM3.createPortal(portalElement, containerElement) : null;
6594
6753
  return {
6595
6754
  node: portalNode,
6596
6755
  // `id` and `render` props can override or remove the generated ID. Use the exact
6597
6756
  // rendered value so `aria-owns` never points at an ID absent from the DOM.
6598
- nodeId: /* @__PURE__ */ React18.isValidElement(portalElement) ? portalElement.props.id : void 0,
6757
+ nodeId: /* @__PURE__ */ React20.isValidElement(portalElement) ? portalElement.props.id : void 0,
6599
6758
  subtree: portalSubtree
6600
6759
  };
6601
6760
  }
6602
- var FloatingPortal = /* @__PURE__ */ React18.forwardRef(function FloatingPortal2(componentProps, forwardedRef) {
6761
+ var FloatingPortal = /* @__PURE__ */ React20.forwardRef(function FloatingPortal2(componentProps, forwardedRef) {
6603
6762
  const {
6604
6763
  render,
6605
6764
  className,
@@ -6619,16 +6778,16 @@ var FloatingPortal = /* @__PURE__ */ React18.forwardRef(function FloatingPortal2
6619
6778
  componentProps,
6620
6779
  elementProps
6621
6780
  });
6622
- const beforeOutsideRef = React18.useRef(null);
6623
- const afterOutsideRef = React18.useRef(null);
6624
- const beforeInsideRef = React18.useRef(null);
6625
- const afterInsideRef = React18.useRef(null);
6626
- const [focusManagerState, setFocusManagerState] = React18.useState(null);
6627
- const focusInsideDisabledRef = React18.useRef(false);
6781
+ const beforeOutsideRef = React20.useRef(null);
6782
+ const afterOutsideRef = React20.useRef(null);
6783
+ const beforeInsideRef = React20.useRef(null);
6784
+ const afterInsideRef = React20.useRef(null);
6785
+ const [focusManagerState, setFocusManagerState] = React20.useState(null);
6786
+ const focusInsideDisabledRef = React20.useRef(false);
6628
6787
  const modal = focusManagerState?.modal;
6629
6788
  const open2 = focusManagerState?.open;
6630
6789
  const shouldRenderGuards = !!focusManagerState && !focusManagerState.modal && focusManagerState.open && !!portalNode;
6631
- React18.useEffect(() => {
6790
+ React20.useEffect(() => {
6632
6791
  if (!portalNode || modal) {
6633
6792
  return void 0;
6634
6793
  }
@@ -6654,7 +6813,7 @@ var FloatingPortal = /* @__PURE__ */ React18.forwardRef(function FloatingPortal2
6654
6813
  enableFocusInside(portalNode);
6655
6814
  focusInsideDisabledRef.current = false;
6656
6815
  }, [open2, portalNode]);
6657
- const portalContextValue = React18.useMemo(() => ({
6816
+ const portalContextValue = React20.useMemo(() => ({
6658
6817
  beforeOutsideRef,
6659
6818
  afterOutsideRef,
6660
6819
  beforeInsideRef,
@@ -6662,7 +6821,7 @@ var FloatingPortal = /* @__PURE__ */ React18.forwardRef(function FloatingPortal2
6662
6821
  portalNode,
6663
6822
  setFocusManagerState
6664
6823
  }), [portalNode]);
6665
- return /* @__PURE__ */ _jsxs3(React18.Fragment, {
6824
+ return /* @__PURE__ */ _jsxs3(React20.Fragment, {
6666
6825
  children: [portalSubtree, /* @__PURE__ */ _jsxs3(PortalContext.Provider, {
6667
6826
  value: portalContextValue,
6668
6827
  children: [shouldRenderGuards && portalNode && /* @__PURE__ */ _jsx5(FocusGuard, {
@@ -6681,7 +6840,7 @@ var FloatingPortal = /* @__PURE__ */ React18.forwardRef(function FloatingPortal2
6681
6840
  role: portalOwnerRole,
6682
6841
  "aria-owns": portalNodeId,
6683
6842
  style: ownerVisuallyHidden
6684
- }), portalNode && /* @__PURE__ */ ReactDOM2.createPortal(children, portalNode), shouldRenderGuards && portalNode && /* @__PURE__ */ _jsx5(FocusGuard, {
6843
+ }), portalNode && /* @__PURE__ */ ReactDOM3.createPortal(children, portalNode), shouldRenderGuards && portalNode && /* @__PURE__ */ _jsx5(FocusGuard, {
6685
6844
  "data-type": "outside",
6686
6845
  ref: afterOutsideRef,
6687
6846
  onFocus: (event) => {
@@ -6704,7 +6863,7 @@ if (process.env.NODE_ENV !== "production") FloatingPortal.displayName = "Floatin
6704
6863
 
6705
6864
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/utils/FloatingPortalLite.mjs
6706
6865
  import { jsxs as _jsxs4 } from "react/jsx-runtime";
6707
- var FloatingPortalLite = /* @__PURE__ */ React19.forwardRef(function FloatingPortalLite2(componentProps, forwardedRef) {
6866
+ var FloatingPortalLite = /* @__PURE__ */ React21.forwardRef(function FloatingPortalLite2(componentProps, forwardedRef) {
6708
6867
  const {
6709
6868
  children,
6710
6869
  container,
@@ -6725,15 +6884,15 @@ var FloatingPortalLite = /* @__PURE__ */ React19.forwardRef(function FloatingPor
6725
6884
  if (!portalSubtree && !portalNode) {
6726
6885
  return null;
6727
6886
  }
6728
- return /* @__PURE__ */ _jsxs4(React19.Fragment, {
6729
- children: [portalSubtree, portalNode && /* @__PURE__ */ ReactDOM3.createPortal(children, portalNode)]
6887
+ return /* @__PURE__ */ _jsxs4(React21.Fragment, {
6888
+ children: [portalSubtree, portalNode && /* @__PURE__ */ ReactDOM4.createPortal(children, portalNode)]
6730
6889
  });
6731
6890
  });
6732
6891
  if (process.env.NODE_ENV !== "production") FloatingPortalLite.displayName = "FloatingPortalLite";
6733
6892
 
6734
6893
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/portal/ToastPortal.mjs
6735
6894
  import { jsx as _jsx6 } from "react/jsx-runtime";
6736
- var ToastPortal = /* @__PURE__ */ React20.forwardRef(function ToastPortal2(props, forwardedRef) {
6895
+ var ToastPortal = /* @__PURE__ */ React22.forwardRef(function ToastPortal2(props, forwardedRef) {
6737
6896
  return /* @__PURE__ */ _jsx6(FloatingPortalLite, {
6738
6897
  ref: forwardedRef,
6739
6898
  ...props
@@ -6742,10 +6901,28 @@ var ToastPortal = /* @__PURE__ */ React20.forwardRef(function ToastPortal2(props
6742
6901
  if (process.env.NODE_ENV !== "production") ToastPortal.displayName = "ToastPortal";
6743
6902
 
6744
6903
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/positioner/ToastPositioner.mjs
6745
- import * as React35 from "react";
6904
+ import * as React37 from "react";
6746
6905
 
6747
6906
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/useAnchorPositioning.mjs
6748
- import * as React33 from "react";
6907
+ import * as React35 from "react";
6908
+
6909
+ // node_modules/.pnpm/@base-ui+utils@0.4.0_@types+react@19.3.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/utils/useValueAsRef.mjs
6910
+ function useValueAsRef(value) {
6911
+ const latest = useRefWithInit(createLatestRef, value).current;
6912
+ latest.next = value;
6913
+ useIsoLayoutEffect(latest.effect);
6914
+ return latest;
6915
+ }
6916
+ function createLatestRef(value) {
6917
+ const latest = {
6918
+ current: value,
6919
+ next: value,
6920
+ effect: () => {
6921
+ latest.current = latest.next;
6922
+ }
6923
+ };
6924
+ return latest;
6925
+ }
6749
6926
 
6750
6927
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useHoverShared.mjs
6751
6928
  function resolveValue(value, pointerType) {
@@ -6778,7 +6955,7 @@ function isHoverOpenEvent(openEventType) {
6778
6955
  }
6779
6956
 
6780
6957
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/components/FloatingFocusManager.mjs
6781
- import * as React22 from "react";
6958
+ import * as React24 from "react";
6782
6959
 
6783
6960
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/utils/enqueueFocus.mjs
6784
6961
  var rafId = 0;
@@ -6967,7 +7144,7 @@ function markOthers(avoidElements, options = {}) {
6967
7144
  }
6968
7145
 
6969
7146
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/components/FloatingTree.mjs
6970
- import * as React21 from "react";
7147
+ import * as React23 from "react";
6971
7148
 
6972
7149
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/utils/createEventEmitter.mjs
6973
7150
  function createEventEmitter() {
@@ -7007,13 +7184,13 @@ var FloatingTreeStore = class {
7007
7184
 
7008
7185
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/components/FloatingTree.mjs
7009
7186
  import { jsx as _jsx7 } from "react/jsx-runtime";
7010
- var FloatingNodeContext = /* @__PURE__ */ React21.createContext(null);
7187
+ var FloatingNodeContext = /* @__PURE__ */ React23.createContext(null);
7011
7188
  if (process.env.NODE_ENV !== "production") FloatingNodeContext.displayName = "FloatingNodeContext";
7012
- var FloatingTreeContext = /* @__PURE__ */ React21.createContext(null);
7189
+ var FloatingTreeContext = /* @__PURE__ */ React23.createContext(null);
7013
7190
  if (process.env.NODE_ENV !== "production") FloatingTreeContext.displayName = "FloatingTreeContext";
7014
- var useFloatingParentNodeId = () => React21.useContext(FloatingNodeContext)?.id || null;
7191
+ var useFloatingParentNodeId = () => React23.useContext(FloatingNodeContext)?.id || null;
7015
7192
  var useFloatingTree = (externalTree) => {
7016
- const contextTree = React21.useContext(FloatingTreeContext);
7193
+ const contextTree = React23.useContext(FloatingTreeContext);
7017
7194
  return externalTree ?? contextTree;
7018
7195
  };
7019
7196
  function useFloatingNodeId(externalTree) {
@@ -7042,7 +7219,7 @@ function FloatingNode(props) {
7042
7219
  } = props;
7043
7220
  const parentId = useFloatingParentNodeId();
7044
7221
  return /* @__PURE__ */ _jsx7(FloatingNodeContext.Provider, {
7045
- value: React21.useMemo(() => ({
7222
+ value: React23.useMemo(() => ({
7046
7223
  id: id3,
7047
7224
  parentId
7048
7225
  }), [id3, parentId]),
@@ -7138,7 +7315,7 @@ function FloatingFocusManager(props) {
7138
7315
  const {
7139
7316
  context,
7140
7317
  children,
7141
- disabled = false,
7318
+ disabled: disabled2 = false,
7142
7319
  initialFocus = true,
7143
7320
  returnFocus = true,
7144
7321
  restoreFocus = false,
@@ -7168,14 +7345,14 @@ function FloatingFocusManager(props) {
7168
7345
  const openRef = useValueAsRef(open2);
7169
7346
  const tree = useFloatingTree(externalTree);
7170
7347
  const portalContext = usePortalContext();
7171
- const preventReturnFocusRef = React22.useRef(false);
7172
- const isPointerDownRef = React22.useRef(false);
7173
- const pointerDownOutsideRef = React22.useRef(false);
7174
- const lastFocusedTabbableRef = React22.useRef(null);
7175
- const closeTypeRef = React22.useRef("");
7176
- const lastInteractionTypeRef = React22.useRef("");
7177
- const beforeGuardRef = React22.useRef(null);
7178
- const afterGuardRef = React22.useRef(null);
7348
+ const preventReturnFocusRef = React24.useRef(false);
7349
+ const isPointerDownRef = React24.useRef(false);
7350
+ const pointerDownOutsideRef = React24.useRef(false);
7351
+ const lastFocusedTabbableRef = React24.useRef(null);
7352
+ const closeTypeRef = React24.useRef("");
7353
+ const lastInteractionTypeRef = React24.useRef("");
7354
+ const beforeGuardRef = React24.useRef(null);
7355
+ const afterGuardRef = React24.useRef(null);
7179
7356
  const mergedBeforeGuardRef = useMergedRefs(beforeGuardRef, beforeContentFocusGuardRef, portalContext?.beforeInsideRef);
7180
7357
  const mergedAfterGuardRef = useMergedRefs(afterGuardRef, portalContext?.afterInsideRef);
7181
7358
  const blurTimeout = useTimeout();
@@ -7187,8 +7364,8 @@ function FloatingFocusManager(props) {
7187
7364
  return container ? tabbable(container) : [];
7188
7365
  });
7189
7366
  const getResolvedInsideElements = useStableCallback(() => getInsideElements?.().filter((element) => element != null) ?? []);
7190
- React22.useEffect(() => {
7191
- if (disabled || !modal) {
7367
+ React24.useEffect(() => {
7368
+ if (disabled2 || !modal) {
7192
7369
  return void 0;
7193
7370
  }
7194
7371
  function onKeyDown(event) {
@@ -7200,9 +7377,9 @@ function FloatingFocusManager(props) {
7200
7377
  }
7201
7378
  const doc = ownerDocument(floatingFocusElement);
7202
7379
  return addEventListener(doc, "keydown", onKeyDown);
7203
- }, [disabled, floatingFocusElement, modal, isUntrappedTypeableCombobox, getTabbableContent]);
7204
- React22.useEffect(() => {
7205
- if (disabled || !open2) {
7380
+ }, [disabled2, floatingFocusElement, modal, isUntrappedTypeableCombobox, getTabbableContent]);
7381
+ React24.useEffect(() => {
7382
+ if (disabled2 || !open2) {
7206
7383
  return void 0;
7207
7384
  }
7208
7385
  const doc = ownerDocument(floatingFocusElement);
@@ -7234,9 +7411,9 @@ function FloatingFocusManager(props) {
7234
7411
  // if the popup dismissed between pointerdown and pointerup.
7235
7412
  clearPointerDownOutside
7236
7413
  );
7237
- }, [disabled, floating, domReference, floatingFocusElement, open2, portalContext, pointerDownTimeout, getResolvedInsideElements]);
7238
- React22.useEffect(() => {
7239
- if (disabled || !closeOnFocusOut) {
7414
+ }, [disabled2, floating, domReference, floatingFocusElement, open2, portalContext, pointerDownTimeout, getResolvedInsideElements]);
7415
+ React24.useEffect(() => {
7416
+ if (disabled2 || !closeOnFocusOut) {
7240
7417
  return void 0;
7241
7418
  }
7242
7419
  const doc = ownerDocument(floatingFocusElement);
@@ -7263,7 +7440,7 @@ function FloatingFocusManager(props) {
7263
7440
  const nodeId = getNodeId();
7264
7441
  const triggers = store.context.triggerElements;
7265
7442
  const insideElements = getResolvedInsideElements();
7266
- const isRelatedFocusGuard = relatedTarget?.hasAttribute(createAttribute("focus-guard")) && [beforeGuardRef.current, afterGuardRef.current, portalContext?.beforeInsideRef.current, portalContext?.afterInsideRef.current, portalContext?.beforeOutsideRef.current, portalContext?.afterOutsideRef.current, resolveRef(previousFocusableElement), resolveRef(nextFocusableElement)].includes(relatedTarget);
7443
+ const isRelatedFocusGuard = relatedTarget?.hasAttribute(createAttribute("focus-guard")) && [beforeGuardRef.current, afterGuardRef.current, portalContext?.beforeInsideRef.current, portalContext?.afterInsideRef.current, portalContext?.beforeOutsideRef.current, portalContext?.afterOutsideRef.current, resolveRef2(previousFocusableElement), resolveRef2(nextFocusableElement)].includes(relatedTarget);
7267
7444
  const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext?.portalNode, relatedTarget) || insideElements.some((element) => element === relatedTarget || contains(element, relatedTarget)) || triggers.hasMatchingElement((trigger) => contains(trigger, relatedTarget)) || isRelatedFocusGuard || tree && (getNodeChildren(tree.nodesRef.current, nodeId).find((node) => contains(node.context?.elements.floating, relatedTarget) || contains(node.context?.elements.domReference, relatedTarget)) || getNodeAncestors(tree.nodesRef.current, nodeId).find((node) => [node.context?.elements.floating, getFloatingFocusElement(node.context?.elements.floating)].includes(relatedTarget) || node.context?.elements.domReference === relatedTarget)));
7268
7445
  if (currentTarget === domReference && floatingFocusElement) {
7269
7446
  handleTabIndex(floatingFocusElement);
@@ -7316,16 +7493,16 @@ function FloatingFocusManager(props) {
7316
7493
  return void 0;
7317
7494
  }
7318
7495
  return mergeCleanups(domReferenceElement && addEventListener(domReferenceElement, "focusout", handleFocusOutside), domReferenceElement && addEventListener(domReferenceElement, "pointerdown", handlePointerDown), floating && addEventListener(floating, "focusin", handleFocusIn), floating && addEventListener(floating, "focusout", handleFocusOutside), floating && portalContext && addEventListener(floating, "focusout", markInsideReactTree, true));
7319
- }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, store, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId, dataRef, blurTimeout, pointerDownTimeout, restoreFocusFrame, nextFocusableElement, previousFocusableElement, getResolvedInsideElements]);
7320
- React22.useEffect(() => {
7321
- if (disabled || !floating || !open2) {
7496
+ }, [disabled2, domReference, floating, floatingFocusElement, modal, tree, portalContext, store, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId, dataRef, blurTimeout, pointerDownTimeout, restoreFocusFrame, nextFocusableElement, previousFocusableElement, getResolvedInsideElements]);
7497
+ React24.useEffect(() => {
7498
+ if (disabled2 || !floating || !open2) {
7322
7499
  return void 0;
7323
7500
  }
7324
7501
  const portalNodes = Array.from(portalContext?.portalNode?.querySelectorAll(`[${createAttribute("portal")}]`) || []);
7325
7502
  const ancestors = tree ? getNodeAncestors(tree.nodesRef.current, getNodeId()) : [];
7326
7503
  const rootAncestorComboboxDomReference = ancestors.find((node) => isTypeableCombobox(node.context?.elements.domReference || null))?.context?.elements.domReference;
7327
7504
  const controlInsideElements = [floating, ...portalNodes, beforeGuardRef.current, afterGuardRef.current, portalContext?.beforeOutsideRef.current, portalContext?.afterOutsideRef.current, ...getResolvedInsideElements()];
7328
- const insideElements = [...controlInsideElements, rootAncestorComboboxDomReference, resolveRef(previousFocusableElement), resolveRef(nextFocusableElement), isUntrappedTypeableCombobox ? domReference : null].filter((x) => x != null);
7505
+ const insideElements = [...controlInsideElements, rootAncestorComboboxDomReference, resolveRef2(previousFocusableElement), resolveRef2(nextFocusableElement), isUntrappedTypeableCombobox ? domReference : null].filter((x) => x != null);
7329
7506
  const ariaHiddenCleanup = markOthers(insideElements, {
7330
7507
  ariaHidden: modal || isUntrappedTypeableCombobox,
7331
7508
  mark: false
@@ -7336,9 +7513,9 @@ function FloatingFocusManager(props) {
7336
7513
  markerCleanup();
7337
7514
  ariaHiddenCleanup();
7338
7515
  };
7339
- }, [open2, disabled, domReference, floating, modal, portalContext, isUntrappedTypeableCombobox, tree, getNodeId, nextFocusableElement, previousFocusableElement, getResolvedInsideElements]);
7516
+ }, [open2, disabled2, domReference, floating, modal, portalContext, isUntrappedTypeableCombobox, tree, getNodeId, nextFocusableElement, previousFocusableElement, getResolvedInsideElements]);
7340
7517
  useIsoLayoutEffect(() => {
7341
- if (!open2 || disabled || !isHTMLElement(floatingFocusElement)) {
7518
+ if (!open2 || disabled2 || !isHTMLElement(floatingFocusElement)) {
7342
7519
  return;
7343
7520
  }
7344
7521
  closeTypeRef.current = "";
@@ -7366,7 +7543,7 @@ function FloatingFocusManager(props) {
7366
7543
  if (resolvedInitialFocus === true || resolvedInitialFocus === null) {
7367
7544
  elToFocus = getDefaultFocusElement();
7368
7545
  } else {
7369
- elToFocus = resolveRef(resolvedInitialFocus);
7546
+ elToFocus = resolveRef2(resolvedInitialFocus);
7370
7547
  }
7371
7548
  elToFocus = elToFocus || getDefaultFocusElement();
7372
7549
  const hadFocusInside = contains(floatingFocusElement, activeElement(doc));
@@ -7385,9 +7562,9 @@ function FloatingFocusManager(props) {
7385
7562
  }
7386
7563
  });
7387
7564
  });
7388
- }, [disabled, open2, floatingFocusElement, getTabbableContent, initialFocusRef, openInteractionTypeRef, openRef]);
7565
+ }, [disabled2, open2, floatingFocusElement, getTabbableContent, initialFocusRef, openInteractionTypeRef, openRef]);
7389
7566
  useIsoLayoutEffect(() => {
7390
- if (disabled || !floatingFocusElement) {
7567
+ if (disabled2 || !floatingFocusElement) {
7391
7568
  return void 0;
7392
7569
  }
7393
7570
  const doc = ownerDocument(floatingFocusElement);
@@ -7442,7 +7619,7 @@ function FloatingFocusManager(props) {
7442
7619
  if (typeof resolvedReturnFocusValue === "boolean") {
7443
7620
  return defaultReturnElement;
7444
7621
  }
7445
- return resolveRef(resolvedReturnFocusValue) || defaultReturnElement || null;
7622
+ return resolveRef2(resolvedReturnFocusValue) || defaultReturnElement || null;
7446
7623
  }
7447
7624
  return () => {
7448
7625
  events.off("openchange", onOpenChangeLocal);
@@ -7470,7 +7647,7 @@ function FloatingFocusManager(props) {
7470
7647
  preventReturnFocusRef.current = false;
7471
7648
  });
7472
7649
  };
7473
- }, [disabled, floating, floatingFocusElement, returnFocusRef, openInteractionTypeRef, events, tree, domReference, getNodeId, getResolvedInsideElements]);
7650
+ }, [disabled2, floating, floatingFocusElement, returnFocusRef, openInteractionTypeRef, events, tree, domReference, getNodeId, getResolvedInsideElements]);
7474
7651
  useIsoLayoutEffect(() => {
7475
7652
  if (!parts_exports.engine.webkit || open2 || !floating) {
7476
7653
  return;
@@ -7484,7 +7661,7 @@ function FloatingFocusManager(props) {
7484
7661
  }
7485
7662
  }, [open2, floating]);
7486
7663
  useIsoLayoutEffect(() => {
7487
- if (disabled || !portalContext) {
7664
+ if (disabled2 || !portalContext) {
7488
7665
  return void 0;
7489
7666
  }
7490
7667
  portalContext.setFocusManagerState({
@@ -7497,18 +7674,18 @@ function FloatingFocusManager(props) {
7497
7674
  return () => {
7498
7675
  portalContext.setFocusManagerState(null);
7499
7676
  };
7500
- }, [disabled, portalContext, modal, open2, store, closeOnFocusOut, domReference]);
7677
+ }, [disabled2, portalContext, modal, open2, store, closeOnFocusOut, domReference]);
7501
7678
  useIsoLayoutEffect(() => {
7502
- if (disabled || !floatingFocusElement) {
7679
+ if (disabled2 || !floatingFocusElement) {
7503
7680
  return void 0;
7504
7681
  }
7505
7682
  handleTabIndex(floatingFocusElement);
7506
7683
  return () => {
7507
7684
  queueMicrotask(clearDisconnectedPreviouslyFocusedElements);
7508
7685
  };
7509
- }, [disabled, floatingFocusElement]);
7510
- const shouldRenderGuards = !disabled && (modal ? !isUntrappedTypeableCombobox : true) && (isInsidePortal || modal);
7511
- return /* @__PURE__ */ _jsxs5(React22.Fragment, {
7686
+ }, [disabled2, floatingFocusElement]);
7687
+ const shouldRenderGuards = !disabled2 && (modal ? !isUntrappedTypeableCombobox : true) && (isInsidePortal || modal);
7688
+ return /* @__PURE__ */ _jsxs5(React24.Fragment, {
7512
7689
  children: [shouldRenderGuards && /* @__PURE__ */ _jsx8(FocusGuard, {
7513
7690
  "data-type": "inside",
7514
7691
  ref: mergedBeforeGuardRef,
@@ -7522,7 +7699,7 @@ function FloatingFocusManager(props) {
7522
7699
  const nextTabbable = getNextTabbable(domReference);
7523
7700
  nextTabbable?.focus();
7524
7701
  } else {
7525
- resolveRef(previousFocusableElement ?? portalContext.beforeOutsideRef)?.focus();
7702
+ resolveRef2(previousFocusableElement ?? portalContext.beforeOutsideRef)?.focus();
7526
7703
  }
7527
7704
  }
7528
7705
  }
@@ -7540,7 +7717,7 @@ function FloatingFocusManager(props) {
7540
7717
  const prevTabbable = getPreviousTabbable(domReference);
7541
7718
  prevTabbable?.focus();
7542
7719
  } else {
7543
- resolveRef(nextFocusableElement ?? portalContext.afterOutsideRef)?.focus();
7720
+ resolveRef2(nextFocusableElement ?? portalContext.afterOutsideRef)?.focus();
7544
7721
  }
7545
7722
  }
7546
7723
  }
@@ -7549,7 +7726,7 @@ function FloatingFocusManager(props) {
7549
7726
  }
7550
7727
 
7551
7728
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useClick.mjs
7552
- import * as React23 from "react";
7729
+ import * as React25 from "react";
7553
7730
  function useClick(context, props = {}) {
7554
7731
  const {
7555
7732
  enabled = true,
@@ -7562,10 +7739,10 @@ function useClick(context, props = {}) {
7562
7739
  } = props;
7563
7740
  const store = "rootStore" in context ? context.rootStore : context;
7564
7741
  const dataRef = store.context.dataRef;
7565
- const pointerTypeRef = React23.useRef(void 0);
7742
+ const pointerTypeRef = React25.useRef(void 0);
7566
7743
  const frame2 = useAnimationFrame();
7567
7744
  const touchOpenTimeout = useTimeout();
7568
- const reference = React23.useMemo(() => {
7745
+ const reference = React25.useMemo(() => {
7569
7746
  function setOpenWithTouchDelay(nextOpen, nativeEvent, target, pointerType) {
7570
7747
  const details = createChangeEventDetails(reason, nativeEvent, target);
7571
7748
  if (nextOpen && pointerType === "touch" && touchOpenDelay > 0) {
@@ -7636,13 +7813,13 @@ function useClick(context, props = {}) {
7636
7813
  }
7637
7814
  };
7638
7815
  }, [dataRef, eventOption, ignoreMouse, reason, store, stickIfOpen, toggle, frame2, touchOpenTimeout, touchOpenDelay]);
7639
- return React23.useMemo(() => enabled ? {
7816
+ return React25.useMemo(() => enabled ? {
7640
7817
  reference
7641
7818
  } : EMPTY_OBJECT, [enabled, reference]);
7642
7819
  }
7643
7820
 
7644
7821
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useDismiss.mjs
7645
- import * as React24 from "react";
7822
+ import * as React26 from "react";
7646
7823
  function alwaysFalse() {
7647
7824
  return false;
7648
7825
  }
@@ -7655,7 +7832,7 @@ function normalizeProp(normalizable) {
7655
7832
  function useDismiss(context, props = {}) {
7656
7833
  const {
7657
7834
  enabled = true,
7658
- escapeKey = true,
7835
+ escapeKey: escapeKey2 = true,
7659
7836
  outsidePress: outsidePressProp = true,
7660
7837
  outsidePressEvent = "sloppy",
7661
7838
  referencePress = alwaysFalse,
@@ -7671,20 +7848,20 @@ function useDismiss(context, props = {}) {
7671
7848
  } = store.context;
7672
7849
  const tree = useFloatingTree(externalTree);
7673
7850
  const outsidePressFn = useStableCallback(typeof outsidePressProp === "function" ? outsidePressProp : () => false);
7674
- const outsidePress = typeof outsidePressProp === "function" ? outsidePressFn : outsidePressProp;
7675
- const outsidePressEnabled = outsidePress !== false;
7851
+ const outsidePress2 = typeof outsidePressProp === "function" ? outsidePressFn : outsidePressProp;
7852
+ const outsidePressEnabled = outsidePress2 !== false;
7676
7853
  const getOutsidePressEventProp = useStableCallback(() => outsidePressEvent);
7677
7854
  const {
7678
7855
  escapeKey: escapeKeyBubbles,
7679
7856
  outsidePress: outsidePressBubbles
7680
7857
  } = normalizeProp(bubbles);
7681
- const pressStartedInsideRef = React24.useRef(false);
7682
- const pressStartPreventedRef = React24.useRef(false);
7683
- const suppressNextOutsideClickRef = React24.useRef(false);
7684
- const sawPressWhileOpenRef = React24.useRef(false);
7685
- const isComposingRef = React24.useRef(false);
7686
- const currentPointerTypeRef = React24.useRef("");
7687
- const touchStateRef = React24.useRef(null);
7858
+ const pressStartedInsideRef = React26.useRef(false);
7859
+ const pressStartPreventedRef = React26.useRef(false);
7860
+ const suppressNextOutsideClickRef = React26.useRef(false);
7861
+ const sawPressWhileOpenRef = React26.useRef(false);
7862
+ const isComposingRef = React26.useRef(false);
7863
+ const currentPointerTypeRef = React26.useRef("");
7864
+ const touchStateRef = React26.useRef(null);
7688
7865
  const cancelDismissOnEndTimeout = useTimeout();
7689
7866
  const clearInsideReactTreeTimeout = useTimeout();
7690
7867
  const clearInsideReactTree = useStableCallback(() => {
@@ -7706,7 +7883,7 @@ function useDismiss(context, props = {}) {
7706
7883
  store.setOpen(false, createChangeEventDetails(reason_parts_exports.triggerPress, event.nativeEvent));
7707
7884
  });
7708
7885
  const closeOnEscapeKeyDown = useStableCallback((event) => {
7709
- if (!open2 || !enabled || !escapeKey || event.key !== "Escape") {
7886
+ if (!open2 || !enabled || !escapeKey2 || event.key !== "Escape") {
7710
7887
  return;
7711
7888
  }
7712
7889
  if (isComposingRef.current) {
@@ -7753,7 +7930,7 @@ function useDismiss(context, props = {}) {
7753
7930
  pressStartPreventedRef.current = true;
7754
7931
  }
7755
7932
  });
7756
- React24.useEffect(() => {
7933
+ React26.useEffect(() => {
7757
7934
  function handleOpenChange(details) {
7758
7935
  if (!details.open) {
7759
7936
  sawPressWhileOpenRef.current = false;
@@ -7764,7 +7941,7 @@ function useDismiss(context, props = {}) {
7764
7941
  events.off("openchange", handleOpenChange);
7765
7942
  };
7766
7943
  }, [events]);
7767
- React24.useEffect(() => {
7944
+ React26.useEffect(() => {
7768
7945
  if (!open2 || !enabled) {
7769
7946
  if (!open2) {
7770
7947
  sawPressWhileOpenRef.current = false;
@@ -7882,7 +8059,7 @@ function useDismiss(context, props = {}) {
7882
8059
  return;
7883
8060
  }
7884
8061
  }
7885
- if (typeof outsidePress === "function" && !outsidePress(event)) {
8062
+ if (typeof outsidePress2 === "function" && !outsidePress2(event)) {
7886
8063
  return;
7887
8064
  }
7888
8065
  if (hasBlockingChild("__outsidePressBubbles")) {
@@ -7976,7 +8153,7 @@ function useDismiss(context, props = {}) {
7976
8153
  suppressImmediateOutsideClickAfterPreventedStart();
7977
8154
  return;
7978
8155
  }
7979
- if (typeof outsidePress === "function" && !outsidePress(event)) {
8156
+ if (typeof outsidePress2 === "function" && !outsidePress2(event)) {
7980
8157
  return;
7981
8158
  }
7982
8159
  preventedPressSuppressionTimeout.clear();
@@ -8019,7 +8196,7 @@ function useDismiss(context, props = {}) {
8019
8196
  function handleTouchEndCapture(event) {
8020
8197
  addTargetEventListenerOnce(event, handleTouchEnd);
8021
8198
  }
8022
- const unsubscribe = mergeCleanups(escapeKey && mergeCleanups(addEventListener(doc, "keydown", closeOnEscapeKeyDown), addEventListener(doc, "compositionstart", handleCompositionStart), addEventListener(doc, "compositionend", handleCompositionEnd)), outsidePressEnabled && mergeCleanups(addEventListener(doc, "click", closeOnPressOutsideCapture, true), addEventListener(doc, "pointerdown", closeOnPressOutsideCapture, true), addEventListener(doc, "pointerup", handlePressEndCapture, true), addEventListener(doc, "pointercancel", handlePressEndCapture, true), addEventListener(doc, "mousedown", closeOnPressOutsideCapture, true), addEventListener(doc, "mouseup", handlePressEndCapture, true), addEventListener(doc, "touchstart", handleTouchStartCapture, {
8199
+ const unsubscribe = mergeCleanups(escapeKey2 && mergeCleanups(addEventListener(doc, "keydown", closeOnEscapeKeyDown), addEventListener(doc, "compositionstart", handleCompositionStart), addEventListener(doc, "compositionend", handleCompositionEnd)), outsidePressEnabled && mergeCleanups(addEventListener(doc, "click", closeOnPressOutsideCapture, true), addEventListener(doc, "pointerdown", closeOnPressOutsideCapture, true), addEventListener(doc, "pointerup", handlePressEndCapture, true), addEventListener(doc, "pointercancel", handlePressEndCapture, true), addEventListener(doc, "mousedown", closeOnPressOutsideCapture, true), addEventListener(doc, "mouseup", handlePressEndCapture, true), addEventListener(doc, "touchstart", handleTouchStartCapture, {
8023
8200
  capture: true,
8024
8201
  passive: true
8025
8202
  }), addEventListener(doc, "touchmove", handleTouchMoveCapture, {
@@ -8037,13 +8214,13 @@ function useDismiss(context, props = {}) {
8037
8214
  suppressNextOutsideClickRef.current = false;
8038
8215
  clearInsideReactTree();
8039
8216
  };
8040
- }, [dataRef, floatingElement, escapeKey, outsidePressEnabled, outsidePress, open2, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, clearInsideReactTree, getOutsidePressEventProp, hasBlockingChild, isEventWithinOwnElements, tree, store, cancelDismissOnEndTimeout]);
8041
- const reference = React24.useMemo(() => ({
8217
+ }, [dataRef, floatingElement, escapeKey2, outsidePressEnabled, outsidePress2, open2, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, clearInsideReactTree, getOutsidePressEventProp, hasBlockingChild, isEventWithinOwnElements, tree, store, cancelDismissOnEndTimeout]);
8218
+ const reference = React26.useMemo(() => ({
8042
8219
  onKeyDown: closeOnEscapeKeyDown,
8043
8220
  onPointerDown: closeOnReferencePress,
8044
8221
  onClick: closeOnReferencePress
8045
8222
  }), [closeOnEscapeKeyDown, closeOnReferencePress]);
8046
- const floating = React24.useMemo(() => ({
8223
+ const floating = React26.useMemo(() => ({
8047
8224
  onKeyDown: closeOnEscapeKeyDown,
8048
8225
  // `onMouseDown` may be blocked if `event.preventDefault()` is called in
8049
8226
  // `onPointerDown`, such as with <NumberField.ScrubArea>.
@@ -8063,7 +8240,7 @@ function useDismiss(context, props = {}) {
8063
8240
  onTouchEndCapture: markInsideReactTree,
8064
8241
  onTouchMoveCapture: markInsideReactTree
8065
8242
  }), [closeOnEscapeKeyDown, markInsideReactTree, markPressStartedInsideReactTree, markInsidePressStartPrevented]);
8066
- return React24.useMemo(() => enabled ? {
8243
+ return React26.useMemo(() => enabled ? {
8067
8244
  reference,
8068
8245
  floating,
8069
8246
  trigger: reference
@@ -8071,7 +8248,7 @@ function useDismiss(context, props = {}) {
8071
8248
  }
8072
8249
 
8073
8250
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useFloating.mjs
8074
- import * as React27 from "react";
8251
+ import * as React29 from "react";
8075
8252
 
8076
8253
  // node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
8077
8254
  function computeCoordsFromPlacement(_ref, placement, rtl) {
@@ -9381,9 +9558,9 @@ var computePosition2 = (reference, floating, options) => {
9381
9558
  };
9382
9559
 
9383
9560
  // node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
9384
- import * as React25 from "react";
9561
+ import * as React27 from "react";
9385
9562
  import { useLayoutEffect } from "react";
9386
- import * as ReactDOM4 from "react-dom";
9563
+ import * as ReactDOM5 from "react-dom";
9387
9564
  var isClient = typeof document !== "undefined";
9388
9565
  var noop = function noop2() {
9389
9566
  };
@@ -9447,7 +9624,7 @@ function roundByDPR(element, value) {
9447
9624
  return Math.round(value * dpr) / dpr;
9448
9625
  }
9449
9626
  function useLatestRef(value) {
9450
- const ref = React25.useRef(value);
9627
+ const ref = React27.useRef(value);
9451
9628
  index2(() => {
9452
9629
  ref.current = value;
9453
9630
  });
@@ -9470,7 +9647,7 @@ function useFloating(options) {
9470
9647
  whileElementsMounted,
9471
9648
  open: open2
9472
9649
  } = options;
9473
- const [data, setData] = React25.useState({
9650
+ const [data, setData] = React27.useState({
9474
9651
  x: 0,
9475
9652
  y: 0,
9476
9653
  strategy,
@@ -9478,19 +9655,19 @@ function useFloating(options) {
9478
9655
  middlewareData: {},
9479
9656
  isPositioned: false
9480
9657
  });
9481
- const [latestMiddleware, setLatestMiddleware] = React25.useState(middleware);
9658
+ const [latestMiddleware, setLatestMiddleware] = React27.useState(middleware);
9482
9659
  if (!deepEqual(latestMiddleware, middleware)) {
9483
9660
  setLatestMiddleware(middleware);
9484
9661
  }
9485
- const [_reference, _setReference] = React25.useState(null);
9486
- const [_floating, _setFloating] = React25.useState(null);
9487
- const setReference = React25.useCallback((node) => {
9662
+ const [_reference, _setReference] = React27.useState(null);
9663
+ const [_floating, _setFloating] = React27.useState(null);
9664
+ const setReference = React27.useCallback((node) => {
9488
9665
  if (node !== referenceRef.current) {
9489
9666
  referenceRef.current = node;
9490
9667
  _setReference(node);
9491
9668
  }
9492
9669
  }, []);
9493
- const setFloating = React25.useCallback((node) => {
9670
+ const setFloating = React27.useCallback((node) => {
9494
9671
  if (node !== floatingRef.current) {
9495
9672
  floatingRef.current = node;
9496
9673
  _setFloating(node);
@@ -9498,14 +9675,14 @@ function useFloating(options) {
9498
9675
  }, []);
9499
9676
  const referenceEl = externalReference || _reference;
9500
9677
  const floatingEl = externalFloating || _floating;
9501
- const referenceRef = React25.useRef(null);
9502
- const floatingRef = React25.useRef(null);
9503
- const dataRef = React25.useRef(data);
9678
+ const referenceRef = React27.useRef(null);
9679
+ const floatingRef = React27.useRef(null);
9680
+ const dataRef = React27.useRef(data);
9504
9681
  const hasWhileElementsMounted = whileElementsMounted != null;
9505
9682
  const whileElementsMountedRef = useLatestRef(whileElementsMounted);
9506
9683
  const platformRef = useLatestRef(platform3);
9507
9684
  const openRef = useLatestRef(open2);
9508
- const update = React25.useCallback(() => {
9685
+ const update = React27.useCallback(() => {
9509
9686
  if (!referenceRef.current || !floatingRef.current) {
9510
9687
  return;
9511
9688
  }
@@ -9528,7 +9705,7 @@ function useFloating(options) {
9528
9705
  };
9529
9706
  if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
9530
9707
  dataRef.current = fullData;
9531
- ReactDOM4.flushSync(() => {
9708
+ ReactDOM5.flushSync(() => {
9532
9709
  setData(fullData);
9533
9710
  });
9534
9711
  }
@@ -9543,7 +9720,7 @@ function useFloating(options) {
9543
9720
  }));
9544
9721
  }
9545
9722
  }, [open2]);
9546
- const isMountedRef = React25.useRef(false);
9723
+ const isMountedRef = React27.useRef(false);
9547
9724
  index2(() => {
9548
9725
  isMountedRef.current = true;
9549
9726
  return () => {
@@ -9560,17 +9737,17 @@ function useFloating(options) {
9560
9737
  update();
9561
9738
  }
9562
9739
  }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
9563
- const refs = React25.useMemo(() => ({
9740
+ const refs = React27.useMemo(() => ({
9564
9741
  reference: referenceRef,
9565
9742
  floating: floatingRef,
9566
9743
  setReference,
9567
9744
  setFloating
9568
9745
  }), [setReference, setFloating]);
9569
- const elements = React25.useMemo(() => ({
9746
+ const elements = React27.useMemo(() => ({
9570
9747
  reference: referenceEl,
9571
9748
  floating: floatingEl
9572
9749
  }), [referenceEl, floatingEl]);
9573
- const floatingStyles = React25.useMemo(() => {
9750
+ const floatingStyles = React27.useMemo(() => {
9574
9751
  const initialStyles = {
9575
9752
  position: strategy,
9576
9753
  left: 0,
@@ -9596,7 +9773,7 @@ function useFloating(options) {
9596
9773
  top: y
9597
9774
  };
9598
9775
  }, [strategy, transform2, elements.floating, data.x, data.y]);
9599
- return React25.useMemo(() => ({
9776
+ return React27.useMemo(() => ({
9600
9777
  ...data,
9601
9778
  update,
9602
9779
  refs,
@@ -9692,7 +9869,7 @@ var arrow3 = (options, deps) => {
9692
9869
  };
9693
9870
 
9694
9871
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useSyncedFloatingRootContext.mjs
9695
- import * as React26 from "react";
9872
+ import * as React28 from "react";
9696
9873
 
9697
9874
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/components/FloatingRootStore.mjs
9698
9875
  var selectors2 = {
@@ -9782,7 +9959,7 @@ function useSyncedFloatingRootContext(options) {
9782
9959
  const floatingElement = popupStore.useState(treatPopupAsFloatingElement ? "popupElement" : "positionerElement");
9783
9960
  const triggerElements = popupStore.context.triggerElements;
9784
9961
  const handleOpenChange = onOpenChange;
9785
- const internalStoreRef = React26.useRef(null);
9962
+ const internalStoreRef = React28.useRef(null);
9786
9963
  if (floatingRootContextProp === void 0 && internalStoreRef.current === null) {
9787
9964
  internalStoreRef.current = new FloatingRootStore({
9788
9965
  open: open2,
@@ -9972,12 +10149,12 @@ function useFloatingWithStore(options, store) {
9972
10149
  const domReferenceElement = store.useState("domReferenceElement");
9973
10150
  const open2 = store.useState("open");
9974
10151
  const floatingId = store.useState("floatingId");
9975
- const [positionReference, setPositionReferenceRaw] = React27.useState(null);
9976
- const [localDomReference, setLocalDomReference] = React27.useState(void 0);
9977
- const [localFloatingElement, setLocalFloatingElement] = React27.useState(void 0);
9978
- const domReferenceRef = React27.useRef(null);
10152
+ const [positionReference, setPositionReferenceRaw] = React29.useState(null);
10153
+ const [localDomReference, setLocalDomReference] = React29.useState(void 0);
10154
+ const [localFloatingElement, setLocalFloatingElement] = React29.useState(void 0);
10155
+ const domReferenceRef = React29.useRef(null);
9979
10156
  const tree = useFloatingTree(externalTree);
9980
- const storeElements = React27.useMemo(() => ({
10157
+ const storeElements = React29.useMemo(() => ({
9981
10158
  reference: referenceElement,
9982
10159
  floating: floatingElement,
9983
10160
  domReference: domReferenceElement
@@ -9996,7 +10173,7 @@ function useFloatingWithStore(options, store) {
9996
10173
  store.useSyncedValue("referenceElement", localDomReference ?? null);
9997
10174
  store.useSyncedValue("domReferenceElement", localDomReference === void 0 ? domReferenceElement : localDomReferenceElement);
9998
10175
  store.useSyncedValue("floatingElement", syncedFloatingElement);
9999
- const setPositionReference = React27.useCallback((node) => {
10176
+ const setPositionReference = React29.useCallback((node) => {
10000
10177
  const computedPositionReference = isElement(node) ? {
10001
10178
  getBoundingClientRect: () => node.getBoundingClientRect(),
10002
10179
  getClientRects: () => node.getClientRects(),
@@ -10005,7 +10182,7 @@ function useFloatingWithStore(options, store) {
10005
10182
  setPositionReferenceRaw(computedPositionReference);
10006
10183
  position.refs.setReference(computedPositionReference);
10007
10184
  }, [position.refs]);
10008
- const setReference = React27.useCallback((node) => {
10185
+ const setReference = React29.useCallback((node) => {
10009
10186
  if (isElement(node) || node === null) {
10010
10187
  domReferenceRef.current = node;
10011
10188
  setLocalDomReference(node);
@@ -10017,22 +10194,22 @@ function useFloatingWithStore(options, store) {
10017
10194
  position.refs.setReference(node);
10018
10195
  }
10019
10196
  }, [position.refs, setLocalDomReference]);
10020
- const setFloating = React27.useCallback((node) => {
10197
+ const setFloating = React29.useCallback((node) => {
10021
10198
  setLocalFloatingElement(node);
10022
10199
  position.refs.setFloating(node);
10023
10200
  }, [position.refs]);
10024
- const refs = React27.useMemo(() => ({
10201
+ const refs = React29.useMemo(() => ({
10025
10202
  ...position.refs,
10026
10203
  setReference,
10027
10204
  setFloating,
10028
10205
  setPositionReference,
10029
10206
  domReference: domReferenceRef
10030
10207
  }), [position.refs, setReference, setFloating, setPositionReference]);
10031
- const elements = React27.useMemo(() => ({
10208
+ const elements = React29.useMemo(() => ({
10032
10209
  ...position.elements,
10033
10210
  domReference: domReferenceElement
10034
10211
  }), [position.elements, domReferenceElement]);
10035
- const context = React27.useMemo(() => ({
10212
+ const context = React29.useMemo(() => ({
10036
10213
  ...position,
10037
10214
  dataRef: store.context.dataRef,
10038
10215
  open: open2,
@@ -10056,7 +10233,7 @@ function useFloatingWithStore(options, store) {
10056
10233
  node.context = context;
10057
10234
  }
10058
10235
  });
10059
- return React27.useMemo(() => ({
10236
+ return React29.useMemo(() => ({
10060
10237
  ...position,
10061
10238
  context,
10062
10239
  refs,
@@ -10066,7 +10243,7 @@ function useFloatingWithStore(options, store) {
10066
10243
  }
10067
10244
 
10068
10245
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useHoverFloatingInteraction.mjs
10069
- import * as React28 from "react";
10246
+ import * as React30 from "react";
10070
10247
 
10071
10248
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useHoverInteractionSharedState.mjs
10072
10249
  var HoverInteraction = class _HoverInteraction {
@@ -10177,7 +10354,7 @@ function useHoverFloatingInteraction(context, parameters = {}) {
10177
10354
  clearPointerEvents();
10178
10355
  }
10179
10356
  }, [open2, instance, clearPointerEvents]);
10180
- React28.useEffect(() => {
10357
+ React30.useEffect(() => {
10181
10358
  return clearPointerEvents;
10182
10359
  }, [clearPointerEvents]);
10183
10360
  useIsoLayoutEffect(() => {
@@ -10206,7 +10383,7 @@ function useHoverFloatingInteraction(context, parameters = {}) {
10206
10383
  }
10207
10384
  return void 0;
10208
10385
  }, [enabled, open2, domReferenceElement, floatingElement, instance, isHoverOpen, tree, parentId, clearPointerEvents]);
10209
- React28.useEffect(() => {
10386
+ React30.useEffect(() => {
10210
10387
  if (!enabled) {
10211
10388
  return void 0;
10212
10389
  }
@@ -10281,8 +10458,8 @@ function useHoverFloatingInteraction(context, parameters = {}) {
10281
10458
  }
10282
10459
 
10283
10460
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useHoverReferenceInteraction.mjs
10284
- import * as React29 from "react";
10285
- import * as ReactDOM5 from "react-dom";
10461
+ import * as React31 from "react";
10462
+ import * as ReactDOM6 from "react-dom";
10286
10463
  var EMPTY_REF = {
10287
10464
  current: null
10288
10465
  };
@@ -10309,7 +10486,7 @@ function useHoverReferenceInteraction(context, props = {}) {
10309
10486
  } = store.context;
10310
10487
  const tree = useFloatingTree(externalTree);
10311
10488
  const instance = useHoverInteractionSharedState(store);
10312
- const isHoverCloseActiveRef = React29.useRef(false);
10489
+ const isHoverCloseActiveRef = React31.useRef(false);
10313
10490
  const handleCloseRef = useValueAsRef(handleClose);
10314
10491
  const delayRef = useValueAsRef(delay2);
10315
10492
  const restMsRef = useValueAsRef(restMs);
@@ -10347,8 +10524,8 @@ function useHoverReferenceInteraction(context, props = {}) {
10347
10524
  if (isActiveTrigger) {
10348
10525
  instance.handleCloseOptions = handleClose?.__options;
10349
10526
  }
10350
- React29.useEffect(() => cleanupMouseMoveHandler, [cleanupMouseMoveHandler]);
10351
- React29.useEffect(() => {
10527
+ React31.useEffect(() => cleanupMouseMoveHandler, [cleanupMouseMoveHandler]);
10528
+ React31.useEffect(() => {
10352
10529
  if (!enabled) {
10353
10530
  return void 0;
10354
10531
  }
@@ -10369,7 +10546,7 @@ function useHoverReferenceInteraction(context, props = {}) {
10369
10546
  events.off("openchange", onOpenChangeLocal);
10370
10547
  };
10371
10548
  }, [enabled, events, instance, cleanupMouseMoveHandler]);
10372
- React29.useEffect(() => {
10549
+ React31.useEffect(() => {
10373
10550
  if (!enabled) {
10374
10551
  return void 0;
10375
10552
  }
@@ -10499,7 +10676,7 @@ function useHoverReferenceInteraction(context, props = {}) {
10499
10676
  }
10500
10677
  return mergeCleanups(addEventListener(trigger, "mouseenter", onMouseEnter), addEventListener(trigger, "mouseleave", onMouseLeave), staleOpenGuard);
10501
10678
  }, [cleanupMouseMoveHandler, clearPointerEvents, dataRef, delayRef, store, enabled, handleCloseRef, instance, isActiveTrigger, isOverInactiveTrigger, isClickLikeOpenEvent2, mouseOnly, move, restMsRef, triggerElementRef, tree, enabledRef, getHandleCloseContext, isClosingRef, checkShouldOpen, guardStaleOpen]);
10502
- return React29.useMemo(() => {
10679
+ return React31.useMemo(() => {
10503
10680
  if (!enabled) {
10504
10681
  return void 0;
10505
10682
  }
@@ -10550,7 +10727,7 @@ function useHoverReferenceInteraction(context, props = {}) {
10550
10727
  }
10551
10728
  }
10552
10729
  if (instance.pointerType === "touch") {
10553
- ReactDOM5.flushSync(() => {
10730
+ ReactDOM6.flushSync(() => {
10554
10731
  handleMouseMove();
10555
10732
  });
10556
10733
  } else if (isOverInactive && currentOpen) {
@@ -10565,7 +10742,7 @@ function useHoverReferenceInteraction(context, props = {}) {
10565
10742
  }
10566
10743
 
10567
10744
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useListNavigation.mjs
10568
- import * as React30 from "react";
10745
+ import * as React32 from "react";
10569
10746
  var ESCAPE = "Escape";
10570
10747
  function isStationaryWebKitPointer(event) {
10571
10748
  return parts_exports.engine.webkit && event.movementX === 0 && event.movementY === 0;
@@ -10651,18 +10828,18 @@ function useListNavigation(context, props) {
10651
10828
  const floatingFocusElementRef = useValueAsRef(floatingFocusElement);
10652
10829
  const parentId = useFloatingParentNodeId();
10653
10830
  const tree = useFloatingTree(externalTree);
10654
- const focusItemOnOpenRef = React30.useRef(focusItemOnOpen);
10655
- const indexRef = React30.useRef(selectedIndex ?? -1);
10656
- const keyRef = React30.useRef(null);
10657
- const isPointerModalityRef = React30.useRef(true);
10831
+ const focusItemOnOpenRef = React32.useRef(focusItemOnOpen);
10832
+ const indexRef = React32.useRef(selectedIndex ?? -1);
10833
+ const keyRef = React32.useRef(null);
10834
+ const isPointerModalityRef = React32.useRef(true);
10658
10835
  const onNavigate = useStableCallback((event) => {
10659
10836
  onNavigateProp(indexRef.current === -1 ? null : indexRef.current, event);
10660
10837
  });
10661
- const previousMountedRef = React30.useRef(!!floatingElement);
10662
- const previousOpenRef = React30.useRef(open2);
10663
- const forceSyncFocusRef = React30.useRef(false);
10664
- const forceScrollIntoViewRef = React30.useRef(false);
10665
- const cancelQueuedFocusRef = React30.useRef(null);
10838
+ const previousMountedRef = React32.useRef(!!floatingElement);
10839
+ const previousOpenRef = React32.useRef(open2);
10840
+ const forceSyncFocusRef = React32.useRef(false);
10841
+ const forceScrollIntoViewRef = React32.useRef(false);
10842
+ const cancelQueuedFocusRef = React32.useRef(null);
10666
10843
  const disabledIndicesRef = useValueAsRef(disabledIndices);
10667
10844
  const latestOpenRef = useValueAsRef(open2);
10668
10845
  const selectedIndexRef = useValueAsRef(selectedIndex);
@@ -10685,8 +10862,8 @@ function useListNavigation(context, props) {
10685
10862
  if (initialItem) {
10686
10863
  runFocus(initialItem);
10687
10864
  }
10688
- const scheduler = forceSyncFocusRef.current ? (callback) => callback() : (callback) => focusFrame.request(callback);
10689
- scheduler(() => {
10865
+ const scheduler2 = forceSyncFocusRef.current ? (callback) => callback() : (callback) => focusFrame.request(callback);
10866
+ scheduler2(() => {
10690
10867
  const waitedItem = listRef.current[indexRef.current] || initialItem;
10691
10868
  if (!waitedItem) {
10692
10869
  return;
@@ -10749,8 +10926,8 @@ function useListNavigation(context, props) {
10749
10926
  const waitForListPopulated = () => {
10750
10927
  if (listRef.current[0] == null) {
10751
10928
  if (runs < 2) {
10752
- const scheduler = runs ? (callback) => waitForListPopulatedFrame.request(callback) : queueMicrotask;
10753
- scheduler(waitForListPopulated);
10929
+ const scheduler2 = runs ? (callback) => waitForListPopulatedFrame.request(callback) : queueMicrotask;
10930
+ scheduler2(waitForListPopulated);
10754
10931
  }
10755
10932
  runs += 1;
10756
10933
  } else {
@@ -10912,7 +11089,7 @@ function useListNavigation(context, props) {
10912
11089
  onNavigate(event);
10913
11090
  }
10914
11091
  });
10915
- const item = React30.useMemo(() => {
11092
+ const item = React32.useMemo(() => {
10916
11093
  const itemProps = {
10917
11094
  onFocus(event) {
10918
11095
  forceSyncFocusRef.current = true;
@@ -10963,12 +11140,12 @@ function useListNavigation(context, props) {
10963
11140
  };
10964
11141
  return itemProps;
10965
11142
  }, [syncCurrentTarget, latestOpenRef, floatingFocusElementRef, focusItemOnHover, listRef, onNavigate, resetOnPointerLeaveRef, virtual]);
10966
- const ariaActiveDescendantProp = React30.useMemo(() => {
11143
+ const ariaActiveDescendantProp = React32.useMemo(() => {
10967
11144
  return virtual && open2 && hasActiveIndex && {
10968
11145
  "aria-activedescendant": `${id3}-${activeIndex}`
10969
11146
  };
10970
11147
  }, [virtual, open2, hasActiveIndex, id3, activeIndex]);
10971
- const floating = React30.useMemo(() => {
11148
+ const floating = React32.useMemo(() => {
10972
11149
  return {
10973
11150
  ...!typeableComboboxReference ? ariaActiveDescendantProp : {},
10974
11151
  onKeyDown(event) {
@@ -10994,7 +11171,7 @@ function useListNavigation(context, props) {
10994
11171
  }
10995
11172
  };
10996
11173
  }, [ariaActiveDescendantProp, commonOnKeyDown, floatingFocusElementRef, typeableComboboxReference, store, open2, virtual, domReferenceElement]);
10997
- const trigger = React30.useMemo(() => {
11174
+ const trigger = React32.useMemo(() => {
10998
11175
  function openOnNavigationKeyDown(event) {
10999
11176
  store.setOpen(true, createChangeEventDetails(reason_parts_exports.listNavigation, event.nativeEvent, event.currentTarget));
11000
11177
  }
@@ -11067,13 +11244,13 @@ function useListNavigation(context, props) {
11067
11244
  onClick: checkVirtualMouse
11068
11245
  };
11069
11246
  }, [commonOnKeyDown, focusItemOnOpen, getMinEnabledIndex, nested, onNavigate, store, openOnArrowKeyDown, orientation, getParentOrientation, rtl, selectedIndexRef, virtual]);
11070
- const reference = React30.useMemo(() => {
11247
+ const reference = React32.useMemo(() => {
11071
11248
  return {
11072
11249
  ...ariaActiveDescendantProp,
11073
11250
  ...trigger
11074
11251
  };
11075
11252
  }, [ariaActiveDescendantProp, trigger]);
11076
- return React30.useMemo(() => enabled ? {
11253
+ return React32.useMemo(() => enabled ? {
11077
11254
  reference,
11078
11255
  floating,
11079
11256
  item,
@@ -11082,7 +11259,7 @@ function useListNavigation(context, props) {
11082
11259
  }
11083
11260
 
11084
11261
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/useTypeahead.mjs
11085
- import * as React31 from "react";
11262
+ import * as React33 from "react";
11086
11263
  function useTypeahead(context, props) {
11087
11264
  const {
11088
11265
  listRef,
@@ -11098,9 +11275,9 @@ function useTypeahead(context, props) {
11098
11275
  const store = "rootStore" in context ? context.rootStore : context;
11099
11276
  const open2 = store.useState("open");
11100
11277
  const timeout = useTimeout();
11101
- const stringRef = React31.useRef("");
11102
- const prevIndexRef = React31.useRef(selectedIndex ?? activeIndex ?? -1);
11103
- const matchIndexRef = React31.useRef(null);
11278
+ const stringRef = React33.useRef("");
11279
+ const prevIndexRef = React33.useRef(selectedIndex ?? activeIndex ?? -1);
11280
+ const matchIndexRef = React33.useRef(null);
11104
11281
  const onKeyDown = useStableCallback((event) => {
11105
11282
  function getElement(index4) {
11106
11283
  return elementsRef?.current[index4];
@@ -11196,11 +11373,11 @@ function useTypeahead(context, props) {
11196
11373
  stringRef.current = "";
11197
11374
  }
11198
11375
  }, [open2, selectedIndex, timeout]);
11199
- const sharedProps = React31.useMemo(() => ({
11376
+ const sharedProps = React33.useMemo(() => ({
11200
11377
  onKeyDown,
11201
11378
  onBlur
11202
11379
  }), [onKeyDown, onBlur]);
11203
- return React31.useMemo(() => enabled ? {
11380
+ return React33.useMemo(() => enabled ? {
11204
11381
  reference: sharedProps,
11205
11382
  floating: sharedProps
11206
11383
  } : {}, [enabled, sharedProps]);
@@ -11423,11 +11600,11 @@ function safePolygon(options = {}) {
11423
11600
  }
11424
11601
 
11425
11602
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/internals/direction-context/DirectionContext.mjs
11426
- import * as React32 from "react";
11427
- var DirectionContext = /* @__PURE__ */ React32.createContext(void 0);
11603
+ import * as React34 from "react";
11604
+ var DirectionContext = /* @__PURE__ */ React34.createContext(void 0);
11428
11605
  if (process.env.NODE_ENV !== "production") DirectionContext.displayName = "DirectionContext";
11429
11606
  function useDirection() {
11430
- const context = React32.useContext(DirectionContext);
11607
+ const context = React34.useContext(DirectionContext);
11431
11608
  return context?.direction ?? "ltr";
11432
11609
  }
11433
11610
 
@@ -11607,7 +11784,7 @@ function useAnchorPositioningWithHook(params, useFloatingHook) {
11607
11784
  lazyFlip = false,
11608
11785
  externalTree
11609
11786
  } = params;
11610
- const [mountSide, setMountSide] = React33.useState(null);
11787
+ const [mountSide, setMountSide] = React35.useState(null);
11611
11788
  if (!mounted && mountSide !== null) {
11612
11789
  setMountSide(null);
11613
11790
  }
@@ -11657,7 +11834,7 @@ function useAnchorPositioningWithHook(params, useFloatingHook) {
11657
11834
  boundary: collisionBoundary === "clipping-ancestors" ? "clippingAncestors" : collisionBoundary,
11658
11835
  padding: collisionPadding
11659
11836
  };
11660
- const arrowRef = React33.useRef(null);
11837
+ const arrowRef = React35.useRef(null);
11661
11838
  const sideOffsetRef = useValueAsRef(sideOffset);
11662
11839
  const alignOffsetRef = useValueAsRef(alignOffset);
11663
11840
  const sideOffsetDep = typeof sideOffset !== "function" ? sideOffset : 0;
@@ -11798,7 +11975,7 @@ function useAnchorPositioningWithHook(params, useFloatingHook) {
11798
11975
  });
11799
11976
  }
11800
11977
  }, [mounted, floatingRootContext]);
11801
- const autoUpdateOptions = React33.useMemo(() => ({
11978
+ const autoUpdateOptions = React35.useMemo(() => ({
11802
11979
  ancestorScroll: !disableAnchorTracking,
11803
11980
  elementResize: !disableAnchorTracking && typeof ResizeObserver !== "undefined",
11804
11981
  layoutShift: !disableAnchorTracking && typeof IntersectionObserver !== "undefined"
@@ -11829,7 +12006,7 @@ function useAnchorPositioningWithHook(params, useFloatingHook) {
11829
12006
  sideY
11830
12007
  } = middlewareData.adaptiveOrigin || DEFAULT_SIDES;
11831
12008
  const resolvedPosition = isPositioned ? positionMethod : "fixed";
11832
- const floatingStyles = React33.useMemo(() => {
12009
+ const floatingStyles = React35.useMemo(() => {
11833
12010
  let base;
11834
12011
  if (!isPositioned) {
11835
12012
  base = {
@@ -11856,7 +12033,7 @@ function useAnchorPositioningWithHook(params, useFloatingHook) {
11856
12033
  }
11857
12034
  return base;
11858
12035
  }, [adaptiveOrigin, resolvedPosition, sideX, x, sideY, y, originalFloatingStyles, isPositioned]);
11859
- const registeredPositionReferenceRef = React33.useRef(null);
12036
+ const registeredPositionReferenceRef = React35.useRef(null);
11860
12037
  useIsoLayoutEffect(() => {
11861
12038
  if (!mounted) {
11862
12039
  return;
@@ -11870,7 +12047,7 @@ function useAnchorPositioningWithHook(params, useFloatingHook) {
11870
12047
  registeredPositionReferenceRef.current = finalAnchor;
11871
12048
  }
11872
12049
  }, [mounted, refs, anchorDep, anchorValueRef]);
11873
- React33.useEffect(() => {
12050
+ React35.useEffect(() => {
11874
12051
  if (!mounted) {
11875
12052
  return;
11876
12053
  }
@@ -11883,7 +12060,7 @@ function useAnchorPositioningWithHook(params, useFloatingHook) {
11883
12060
  registeredPositionReferenceRef.current = anchorValue.current;
11884
12061
  }
11885
12062
  }, [mounted, refs, anchorDep, anchorValueRef]);
11886
- React33.useEffect(() => {
12063
+ React35.useEffect(() => {
11887
12064
  if (keepMounted && mounted && elements.reference && elements.floating) {
11888
12065
  return autoUpdate(elements.reference, elements.floating, update, autoUpdateOptions);
11889
12066
  }
@@ -11898,13 +12075,13 @@ function useAnchorPositioningWithHook(params, useFloatingHook) {
11898
12075
  setMountSide(renderedSide);
11899
12076
  }
11900
12077
  }, [lazyFlip, mounted, isPositioned, renderedSide, side2]);
11901
- const arrowStyles = React33.useMemo(() => ({
12078
+ const arrowStyles = React35.useMemo(() => ({
11902
12079
  position: "absolute",
11903
12080
  top: middlewareData.arrow?.y,
11904
12081
  left: middlewareData.arrow?.x
11905
12082
  }), [middlewareData.arrow]);
11906
12083
  const arrowUncentered = middlewareData.arrow?.centerOffset !== 0;
11907
- return React33.useMemo(() => ({
12084
+ return React35.useMemo(() => ({
11908
12085
  positionerStyles: floatingStyles,
11909
12086
  arrowStyles,
11910
12087
  arrowRef,
@@ -11924,11 +12101,11 @@ function isRef(param) {
11924
12101
  }
11925
12102
 
11926
12103
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/positioner/ToastPositionerContext.mjs
11927
- import * as React34 from "react";
11928
- var ToastPositionerContext = /* @__PURE__ */ React34.createContext(void 0);
12104
+ import * as React36 from "react";
12105
+ var ToastPositionerContext = /* @__PURE__ */ React36.createContext(void 0);
11929
12106
  if (process.env.NODE_ENV !== "production") ToastPositionerContext.displayName = "ToastPositionerContext";
11930
12107
  function useToastPositionerContext() {
11931
- const context = React34.useContext(ToastPositionerContext);
12108
+ const context = React36.useContext(ToastPositionerContext);
11932
12109
  if (context === void 0) {
11933
12110
  throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: ToastPositionerContext is missing. ToastPositioner parts must be placed within <Toast.Positioner>." : formatErrorMessage_default(84));
11934
12111
  }
@@ -11969,7 +12146,7 @@ function usePositioner(componentProps, state, {
11969
12146
 
11970
12147
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/positioner/ToastPositioner.mjs
11971
12148
  import { jsx as _jsx9 } from "react/jsx-runtime";
11972
- var ToastPositioner = /* @__PURE__ */ React35.forwardRef(function ToastPositioner2(componentProps, forwardedRef) {
12149
+ var ToastPositioner = /* @__PURE__ */ React37.forwardRef(function ToastPositioner2(componentProps, forwardedRef) {
11973
12150
  const {
11974
12151
  toast: toast2,
11975
12152
  ...props
@@ -11994,7 +12171,7 @@ var ToastPositioner = /* @__PURE__ */ React35.forwardRef(function ToastPositione
11994
12171
  style,
11995
12172
  ...elementProps
11996
12173
  } = props;
11997
- const [positionerElement, setPositionerElement] = React35.useState(null);
12174
+ const [positionerElement, setPositionerElement] = React37.useState(null);
11998
12175
  const domIndex = store.useState("toastIndex", toast2.id);
11999
12176
  const visibleIndex = store.useState("toastVisibleIndex", toast2.id);
12000
12177
  const anchor = isElement(anchorProp) ? anchorProp : null;
@@ -12045,8 +12222,8 @@ var ToastPositioner = /* @__PURE__ */ React35.forwardRef(function ToastPositione
12045
12222
  if (process.env.NODE_ENV !== "production") ToastPositioner.displayName = "ToastPositioner";
12046
12223
 
12047
12224
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/arrow/ToastArrow.mjs
12048
- import * as React36 from "react";
12049
- var ToastArrow = /* @__PURE__ */ React36.forwardRef(function ToastArrow2(componentProps, forwardedRef) {
12225
+ import * as React38 from "react";
12226
+ var ToastArrow = /* @__PURE__ */ React38.forwardRef(function ToastArrow2(componentProps, forwardedRef) {
12050
12227
  const {
12051
12228
  className,
12052
12229
  render,
@@ -12077,11 +12254,11 @@ var ToastArrow = /* @__PURE__ */ React36.forwardRef(function ToastArrow2(compone
12077
12254
  if (process.env.NODE_ENV !== "production") ToastArrow.displayName = "ToastArrow";
12078
12255
 
12079
12256
  // node_modules/.pnpm/@base-ui+react@1.8.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/toast/useToastManager.mjs
12080
- import * as React37 from "react";
12257
+ import * as React39 from "react";
12081
12258
  function useToastManager() {
12082
12259
  const store = useToastProviderContext();
12083
12260
  const toasts = store.useState("toasts");
12084
- return React37.useMemo(() => ({
12261
+ return React39.useMemo(() => ({
12085
12262
  toasts,
12086
12263
  add: store.addToast,
12087
12264
  close: store.closeToast,
@@ -12152,91 +12329,91 @@ function createToastManager() {
12152
12329
  };
12153
12330
  }
12154
12331
 
12155
- // web/app/dist/server/assets/toast-CEdZUKWS.js
12332
+ // web/app/dist/server/assets/toast-C66gLspe.js
12156
12333
  var toast = index_parts_exports.createToastManager();
12157
12334
  function ToastProvider3({ ...props }) {
12158
- return /* @__PURE__ */ jsx2(index_parts_exports.Provider, { ...props });
12335
+ return /* @__PURE__ */ jsx(index_parts_exports.Provider, { ...props });
12159
12336
  }
12160
12337
  function ToastPortal3({ ...props }) {
12161
- return /* @__PURE__ */ jsx2(index_parts_exports.Portal, {
12338
+ return /* @__PURE__ */ jsx(index_parts_exports.Portal, {
12162
12339
  "data-slot": "toast-portal",
12163
12340
  ...props
12164
12341
  });
12165
12342
  }
12166
12343
  function ToastViewport3({ className, ...props }) {
12167
- return /* @__PURE__ */ jsx2(index_parts_exports.Viewport, {
12344
+ return /* @__PURE__ */ jsx(index_parts_exports.Viewport, {
12168
12345
  "data-slot": "toast-viewport",
12169
12346
  className: cn("pointer-events-none fixed inset-x-4 bottom-4 z-50 mx-auto w-auto max-w-sm outline-none sm:right-4 sm:left-auto sm:mx-0 sm:w-full", className),
12170
12347
  ...props
12171
12348
  });
12172
12349
  }
12173
12350
  function Toast$1({ className, ...props }) {
12174
- return /* @__PURE__ */ jsx2(index_parts_exports.Root, {
12351
+ return /* @__PURE__ */ jsx(index_parts_exports.Root, {
12175
12352
  "data-slot": "toast",
12176
12353
  className: cn("group/toast pointer-events-auto absolute right-0 bottom-0 z-[calc(1000-var(--toast-index))] w-full origin-bottom rounded-2xl text-popover-foreground will-change-transform outline-none select-none focus-visible:ring-[3px] focus-visible:ring-ring/50", "bg-surface-3 shadow-surface-3", "[--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))]", "h-(--height) [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_500ms_cubic-bezier(0.22,1,0.36,1),opacity_500ms,height_150ms]", "after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-['']", "data-expanded:h-(--toast-height) data-expanded:[transform:translateX(var(--toast-swipe-movement-x))_translateY(var(--offset-y))]", "data-limited:opacity-0 data-starting-style:[transform:translateY(150%)]", "[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(150%)]", "data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]", "data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]", "data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]", "data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]", "data-expanded:data-ending-style:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]", "data-expanded:data-ending-style:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]", "data-expanded:data-ending-style:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]", "data-expanded:data-ending-style:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]", className),
12177
12354
  ...props
12178
12355
  });
12179
12356
  }
12180
12357
  function ToastContent3({ className, ...props }) {
12181
- return /* @__PURE__ */ jsx2(index_parts_exports.Content, {
12358
+ return /* @__PURE__ */ jsx(index_parts_exports.Content, {
12182
12359
  "data-slot": "toast-content",
12183
12360
  className: cn("flex h-full items-center gap-3 overflow-hidden p-4 transition-opacity duration-250 ease-[cubic-bezier(0.22,1,0.36,1)] data-behind:opacity-0 data-expanded:opacity-100", className),
12184
12361
  ...props
12185
12362
  });
12186
12363
  }
12187
12364
  function ToastTitle3({ className, ...props }) {
12188
- return /* @__PURE__ */ jsx2(index_parts_exports.Title, {
12365
+ return /* @__PURE__ */ jsx(index_parts_exports.Title, {
12189
12366
  "data-slot": "toast-title",
12190
12367
  className: cn("text-sm font-medium", className),
12191
12368
  ...props
12192
12369
  });
12193
12370
  }
12194
12371
  function ToastDescription3({ className, ...props }) {
12195
- return /* @__PURE__ */ jsx2(index_parts_exports.Description, {
12372
+ return /* @__PURE__ */ jsx(index_parts_exports.Description, {
12196
12373
  "data-slot": "toast-description",
12197
12374
  className: cn("text-sm text-muted-foreground", className),
12198
12375
  ...props
12199
12376
  });
12200
12377
  }
12201
- function ToastAction3({ className, render = /* @__PURE__ */ jsx2(Button$1, {
12378
+ function ToastAction3({ className, render = /* @__PURE__ */ jsx(Button$1, {
12202
12379
  variant: "outline",
12203
12380
  size: "compact"
12204
12381
  }), ...props }) {
12205
- return /* @__PURE__ */ jsx2(index_parts_exports.Action, {
12382
+ return /* @__PURE__ */ jsx(index_parts_exports.Action, {
12206
12383
  "data-slot": "toast-action",
12207
12384
  render,
12208
12385
  className: cn("shrink-0", className),
12209
12386
  ...props
12210
12387
  });
12211
12388
  }
12212
- function ToastClose3({ className, children, render = /* @__PURE__ */ jsx2(Button$1, {
12389
+ function ToastClose3({ className, children, render = /* @__PURE__ */ jsx(Button$1, {
12213
12390
  variant: "ghost",
12214
12391
  size: "icon-compact"
12215
12392
  }), ...props }) {
12216
- return /* @__PURE__ */ jsx2(index_parts_exports.Close, {
12393
+ return /* @__PURE__ */ jsx(index_parts_exports.Close, {
12217
12394
  "data-slot": "toast-close",
12218
12395
  "aria-label": "Close toast",
12219
12396
  render,
12220
12397
  className: cn("relative shrink-0 text-muted-foreground after:absolute after:-inset-2 after:content-[''] hover:text-foreground", className),
12221
12398
  ...props,
12222
- children: children ?? /* @__PURE__ */ jsx2(X, { "aria-hidden": "true" })
12399
+ children: children ?? /* @__PURE__ */ jsx(X, { "aria-hidden": "true" })
12223
12400
  });
12224
12401
  }
12225
12402
  function ToastIcon({ type }) {
12226
12403
  let icon = null;
12227
- if (type === "success") icon = /* @__PURE__ */ jsx2(CircleCheck, { "aria-hidden": "true" });
12228
- if (type === "info") icon = /* @__PURE__ */ jsx2(Info, { "aria-hidden": "true" });
12229
- if (type === "warning") icon = /* @__PURE__ */ jsx2(TriangleAlert, { "aria-hidden": "true" });
12230
- if (type === "error") icon = /* @__PURE__ */ jsx2(OctagonX, {
12404
+ if (type === "success") icon = /* @__PURE__ */ jsx(CircleCheck, { "aria-hidden": "true" });
12405
+ if (type === "info") icon = /* @__PURE__ */ jsx(Info, { "aria-hidden": "true" });
12406
+ if (type === "warning") icon = /* @__PURE__ */ jsx(TriangleAlert, { "aria-hidden": "true" });
12407
+ if (type === "error") icon = /* @__PURE__ */ jsx(OctagonX, {
12231
12408
  className: "text-destructive",
12232
12409
  "aria-hidden": "true"
12233
12410
  });
12234
- if (type === "loading") icon = /* @__PURE__ */ jsx2(LoaderCircle, {
12411
+ if (type === "loading") icon = /* @__PURE__ */ jsx(LoaderCircle, {
12235
12412
  className: "animate-spin",
12236
12413
  "aria-hidden": "true"
12237
12414
  });
12238
12415
  if (!icon) return null;
12239
- return /* @__PURE__ */ jsx2("span", {
12416
+ return /* @__PURE__ */ jsx("span", {
12240
12417
  "data-slot": "toast-icon",
12241
12418
  className: "shrink-0 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
12242
12419
  children: icon
@@ -12244,24 +12421,24 @@ function ToastIcon({ type }) {
12244
12421
  }
12245
12422
  function ToastList() {
12246
12423
  const { toasts } = index_parts_exports.useToastManager();
12247
- return toasts.map((toastItem) => /* @__PURE__ */ jsx2(Toast$1, {
12424
+ return toasts.map((toastItem) => /* @__PURE__ */ jsx(Toast$1, {
12248
12425
  toast: toastItem,
12249
- children: /* @__PURE__ */ jsxs2(ToastContent3, { children: [
12250
- /* @__PURE__ */ jsx2(ToastIcon, { type: toastItem.type }),
12251
- /* @__PURE__ */ jsxs2("div", {
12426
+ children: /* @__PURE__ */ jsxs(ToastContent3, { children: [
12427
+ /* @__PURE__ */ jsx(ToastIcon, { type: toastItem.type }),
12428
+ /* @__PURE__ */ jsxs("div", {
12252
12429
  className: "flex min-w-0 flex-1 flex-col gap-1",
12253
- children: [/* @__PURE__ */ jsx2(ToastTitle3, {}), /* @__PURE__ */ jsx2(ToastDescription3, {})]
12430
+ children: [/* @__PURE__ */ jsx(ToastTitle3, {}), /* @__PURE__ */ jsx(ToastDescription3, {})]
12254
12431
  }),
12255
- /* @__PURE__ */ jsx2(ToastAction3, {}),
12256
- /* @__PURE__ */ jsx2(ToastClose3, {})
12432
+ /* @__PURE__ */ jsx(ToastAction3, {}),
12433
+ /* @__PURE__ */ jsx(ToastClose3, {})
12257
12434
  ] })
12258
12435
  }, toastItem.id));
12259
12436
  }
12260
12437
  function Toaster({ children, toastManager = toast, ...props }) {
12261
- return /* @__PURE__ */ jsxs2(ToastProvider3, {
12438
+ return /* @__PURE__ */ jsxs(ToastProvider3, {
12262
12439
  toastManager,
12263
12440
  ...props,
12264
- children: [children, /* @__PURE__ */ jsx2(ToastPortal3, { children: /* @__PURE__ */ jsx2(ToastViewport3, { children: /* @__PURE__ */ jsx2(ToastList, {}) }) })]
12441
+ children: [children, /* @__PURE__ */ jsx(ToastPortal3, { children: /* @__PURE__ */ jsx(ToastViewport3, { children: /* @__PURE__ */ jsx(ToastList, {}) }) })]
12265
12442
  });
12266
12443
  }
12267
12444
 
@@ -12300,7 +12477,7 @@ function removeStoredValue(key, kind = "local") {
12300
12477
  }
12301
12478
  }
12302
12479
 
12303
- // web/app/dist/server/assets/ui-preferences-TQzBg_G0.js
12480
+ // web/app/dist/server/assets/ui-preferences-BWuYffgK.js
12304
12481
  import { useSyncExternalStore as useSyncExternalStore2 } from "react";
12305
12482
  var UI_PREFERENCES_KEY = "fleet-prime:v1:ui-preferences";
12306
12483
  var UI_PREFERENCES_EVENT = "fleet-prime:ui-preferences";
@@ -12315,7 +12492,7 @@ var snapshot = DEFAULT_UI_PREFERENCES;
12315
12492
  var snapshotRaw = null;
12316
12493
  function readUiPreferences() {
12317
12494
  try {
12318
- const raw = readStoredValue("fleet-prime:v1:ui-preferences") ?? "null";
12495
+ const raw = readStoredValue(UI_PREFERENCES_KEY) ?? "null";
12319
12496
  if (raw === snapshotRaw) return snapshot;
12320
12497
  const parsed = JSON.parse(raw);
12321
12498
  const next = {
@@ -12363,8 +12540,8 @@ function useUiPreferences() {
12363
12540
  }
12364
12541
 
12365
12542
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
12366
- import { jsx as jsx5, Fragment as Fragment5 } from "react/jsx-runtime";
12367
- import { useMemo as useMemo15, useRef as useRef20, useState as useState10, useContext as useContext9 } from "react";
12543
+ import { jsx as jsx4, Fragment as Fragment5 } from "react/jsx-runtime";
12544
+ import { useMemo as useMemo15, useRef as useRef20, useState as useState11, useContext as useContext9 } from "react";
12368
12545
 
12369
12546
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
12370
12547
  import { createContext as createContext7 } from "react";
@@ -12381,17 +12558,17 @@ function useConstant(init) {
12381
12558
  }
12382
12559
 
12383
12560
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
12384
- import { useLayoutEffect as useLayoutEffect2, useEffect as useEffect10 } from "react";
12561
+ import { useLayoutEffect as useLayoutEffect2, useEffect as useEffect13 } from "react";
12385
12562
 
12386
12563
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/utils/is-browser.mjs
12387
12564
  var isBrowser = typeof window !== "undefined";
12388
12565
 
12389
12566
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
12390
- var useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect2 : useEffect10;
12567
+ var useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect2 : useEffect13;
12391
12568
 
12392
12569
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
12393
- import { jsx as jsx4 } from "react/jsx-runtime";
12394
- import * as React40 from "react";
12570
+ import { jsx as jsx3 } from "react/jsx-runtime";
12571
+ import * as React42 from "react";
12395
12572
  import { useId as useId3, useRef as useRef19, useMemo as useMemo14 } from "react";
12396
12573
 
12397
12574
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/PresenceContext.mjs
@@ -12399,7 +12576,7 @@ import { createContext as createContext8 } from "react";
12399
12576
  var PresenceContext = /* @__PURE__ */ createContext8(null);
12400
12577
 
12401
12578
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
12402
- import { jsx as jsx3 } from "react/jsx-runtime";
12579
+ import { jsx as jsx2 } from "react/jsx-runtime";
12403
12580
 
12404
12581
  // node_modules/.pnpm/motion-utils@14.1.0/node_modules/motion-utils/dist/es/array.mjs
12405
12582
  function addUniqueItem(arr, item) {
@@ -17404,9 +17581,9 @@ function createAnimationState(visualElement) {
17404
17581
  }
17405
17582
  });
17406
17583
  if (removedKeys.size) {
17407
- const { initial } = props;
17584
+ const { initial: initial2 } = props;
17408
17585
  const fallbackAnimation = {};
17409
- const resolvedInitial = typeof initial !== "boolean" && resolveVariant(visualElement, Array.isArray(initial) ? initial[0] : initial, visualElement.presenceContext?.custom);
17586
+ const resolvedInitial = typeof initial2 !== "boolean" && resolveVariant(visualElement, Array.isArray(initial2) ? initial2[0] : initial2, visualElement.presenceContext?.custom);
17410
17587
  if (resolvedInitial && resolvedInitial.transition) {
17411
17588
  fallbackAnimation.transition = resolvedInitial.transition;
17412
17589
  }
@@ -17414,7 +17591,7 @@ function createAnimationState(visualElement) {
17414
17591
  const motionValue2 = visualElement.getValue(key);
17415
17592
  if (motionValue2)
17416
17593
  motionValue2.liveStyle = true;
17417
- const fromInitial = resolvedInitial && !Array.isArray(initial) ? resolvedInitial[key] : void 0;
17594
+ const fromInitial = resolvedInitial && !Array.isArray(initial2) ? resolvedInitial[key] : void 0;
17418
17595
  const fromProps = visualElement.getBaseTargetFromProps(props, key);
17419
17596
  fallbackAnimation[key] = (fromInitial !== void 0 ? fromInitial : fromProps !== void 0 && !isMotionValue(fromProps) ? fromProps : visualElement.initialValues[key] === void 0 ? visualElement.baseTarget[key] : void 0) ?? null;
17420
17597
  if (process.env.NODE_ENV !== "production" && fallbackAnimation[key] === null && visualElement.initialValues[key] !== void 0) {
@@ -19086,7 +19263,7 @@ var HTMLProjectionNode = createProjectionNode({
19086
19263
  });
19087
19264
 
19088
19265
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
19089
- import * as React39 from "react";
19266
+ import * as React41 from "react";
19090
19267
  import { useId as useId2, useRef as useRef18, useContext as useContext7, useInsertionEffect } from "react";
19091
19268
 
19092
19269
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
@@ -19098,7 +19275,7 @@ var MotionConfigContext = createContext9({
19098
19275
  });
19099
19276
 
19100
19277
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
19101
- import * as React38 from "react";
19278
+ import * as React40 from "react";
19102
19279
  function setRef(ref, value) {
19103
19280
  if (typeof ref === "function") {
19104
19281
  return ref(value);
@@ -19131,11 +19308,11 @@ function composeRefs(...refs) {
19131
19308
  };
19132
19309
  }
19133
19310
  function useComposedRefs(...refs) {
19134
- return React38.useCallback(composeRefs(...refs), refs);
19311
+ return React40.useCallback(composeRefs(...refs), refs);
19135
19312
  }
19136
19313
 
19137
19314
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
19138
- var PopChildMeasure = class extends React39.Component {
19315
+ var PopChildMeasure = class extends React41.Component {
19139
19316
  getSnapshotBeforeUpdate(prevProps) {
19140
19317
  const element = this.props.childRef.current;
19141
19318
  if (isHTMLElement2(element) && prevProps.isPresent && !this.props.isPresent && this.props.pop !== false) {
@@ -19211,11 +19388,11 @@ function PopChild({ children, isPresent, anchorX, anchorY, root, pop }) {
19211
19388
  }
19212
19389
  };
19213
19390
  }, [isPresent]);
19214
- return jsx3(PopChildMeasure, { isPresent, childRef: ref, sizeRef: size4, pop, children: pop === false ? children : React39.cloneElement(children, { ref: composedRef }) });
19391
+ return jsx2(PopChildMeasure, { isPresent, childRef: ref, sizeRef: size4, pop, children: pop === false ? children : React41.cloneElement(children, { ref: composedRef }) });
19215
19392
  }
19216
19393
 
19217
19394
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
19218
- var PresenceChild = ({ children, initial, isPresent, onExitComplete, custom: custom2, presenceAffectsLayout, mode, anchorX, anchorY, root }) => {
19395
+ var PresenceChild = ({ children, initial: initial2, isPresent, onExitComplete, custom: custom2, presenceAffectsLayout, mode, anchorX, anchorY, root }) => {
19219
19396
  const presenceChildren = useConstant(newChildrenMap);
19220
19397
  const id3 = useId3();
19221
19398
  const isPresentRef = useRef19(isPresent);
@@ -19229,7 +19406,7 @@ var PresenceChild = ({ children, initial, isPresent, onExitComplete, custom: cus
19229
19406
  isReusedContext = false;
19230
19407
  return {
19231
19408
  id: id3,
19232
- initial,
19409
+ initial: initial2,
19233
19410
  isPresent,
19234
19411
  custom: custom2,
19235
19412
  onExitComplete: (childId) => {
@@ -19255,25 +19432,25 @@ var PresenceChild = ({ children, initial, isPresent, onExitComplete, custom: cus
19255
19432
  useMemo14(() => {
19256
19433
  presenceChildren.forEach((_, key) => presenceChildren.set(key, false));
19257
19434
  }, [isPresent]);
19258
- React40.useEffect(() => {
19435
+ React42.useEffect(() => {
19259
19436
  !isPresent && !presenceChildren.size && onExitComplete && onExitComplete();
19260
19437
  }, [isPresent]);
19261
- children = jsx4(PopChild, { pop: mode === "popLayout", isPresent, anchorX, anchorY, root, children });
19262
- return jsx4(PresenceContext.Provider, { value: context, children });
19438
+ children = jsx3(PopChild, { pop: mode === "popLayout", isPresent, anchorX, anchorY, root, children });
19439
+ return jsx3(PresenceContext.Provider, { value: context, children });
19263
19440
  };
19264
19441
  function newChildrenMap() {
19265
19442
  return /* @__PURE__ */ new Map();
19266
19443
  }
19267
19444
 
19268
19445
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
19269
- import { useContext as useContext8, useId as useId4, useEffect as useEffect12, useCallback as useCallback6 } from "react";
19446
+ import { useContext as useContext8, useId as useId4, useEffect as useEffect15, useCallback as useCallback6 } from "react";
19270
19447
  function usePresence(subscribe = true) {
19271
19448
  const context = useContext8(PresenceContext);
19272
19449
  if (context === null)
19273
19450
  return [true, null];
19274
19451
  const { isPresent, onExitComplete, register: register2 } = context;
19275
19452
  const id3 = useId4();
19276
- useEffect12(() => {
19453
+ useEffect15(() => {
19277
19454
  if (subscribe) {
19278
19455
  return register2(id3);
19279
19456
  }
@@ -19283,27 +19460,27 @@ function usePresence(subscribe = true) {
19283
19460
  }
19284
19461
 
19285
19462
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
19286
- import { Children, isValidElement as isValidElement4 } from "react";
19463
+ import { Children, isValidElement as isValidElement3 } from "react";
19287
19464
  var getChildKey = (child) => child.key || "";
19288
19465
  function onlyElements(children) {
19289
19466
  const filtered = [];
19290
19467
  Children.forEach(children, (child) => {
19291
- if (isValidElement4(child))
19468
+ if (isValidElement3(child))
19292
19469
  filtered.push(child);
19293
19470
  });
19294
19471
  return filtered;
19295
19472
  }
19296
19473
 
19297
19474
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
19298
- var AnimatePresence = ({ children, custom: custom2, initial = true, onExitComplete, presenceAffectsLayout = true, mode = "sync", propagate = false, anchorX = "left", anchorY = "top", root }) => {
19475
+ var AnimatePresence = ({ children, custom: custom2, initial: initial2 = true, onExitComplete, presenceAffectsLayout = true, mode = "sync", propagate = false, anchorX = "left", anchorY = "top", root }) => {
19299
19476
  const [isParentPresent, safeToRemove] = usePresence(propagate);
19300
19477
  const presentChildren = useMemo15(() => onlyElements(children), [children]);
19301
19478
  const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(getChildKey);
19302
19479
  const isInitialRender = useRef20(true);
19303
19480
  const exitComplete = useConstant(() => /* @__PURE__ */ new Map());
19304
19481
  const exitingComponents = useRef20(/* @__PURE__ */ new Set());
19305
- const [diffedChildren, setDiffedChildren] = useState10(presentChildren);
19306
- const [renderedChildren, setRenderedChildren] = useState10(presentChildren);
19482
+ const [diffedChildren, setDiffedChildren] = useState11(presentChildren);
19483
+ const [renderedChildren, setRenderedChildren] = useState11(presentChildren);
19307
19484
  useIsomorphicLayoutEffect(() => {
19308
19485
  if (propagate && !isParentPresent && !renderedChildren.length) {
19309
19486
  safeToRemove?.();
@@ -19349,7 +19526,7 @@ var AnimatePresence = ({ children, custom: custom2, initial = true, onExitComple
19349
19526
  console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
19350
19527
  }
19351
19528
  const { forceRender } = useContext9(LayoutGroupContext);
19352
- return jsx5(Fragment5, { children: renderedChildren.map((child) => {
19529
+ return jsx4(Fragment5, { children: renderedChildren.map((child) => {
19353
19530
  const key = getChildKey(child);
19354
19531
  const isPresent = propagate && !isParentPresent ? false : presentChildren === renderedChildren || presentKeys.includes(key);
19355
19532
  const onExit = () => {
@@ -19374,12 +19551,12 @@ var AnimatePresence = ({ children, custom: custom2, initial = true, onExitComple
19374
19551
  onExitComplete && onExitComplete();
19375
19552
  }
19376
19553
  };
19377
- return jsx5(PresenceChild, { isPresent, initial: !isInitialRender.current || initial ? void 0 : false, custom: custom2, presenceAffectsLayout, mode, root, onExitComplete: isPresent ? void 0 : onExit, anchorX, anchorY, children: child }, key);
19554
+ return jsx4(PresenceChild, { isPresent, initial: !isInitialRender.current || initial2 ? void 0 : false, custom: custom2, presenceAffectsLayout, mode, root, onExitComplete: isPresent ? void 0 : onExit, anchorX, anchorY, children: child }, key);
19378
19555
  }) });
19379
19556
  };
19380
19557
 
19381
19558
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs
19382
- import { jsx as jsx6 } from "react/jsx-runtime";
19559
+ import { jsx as jsx5 } from "react/jsx-runtime";
19383
19560
  import { useContext as useContext10, useRef as useRef22, useMemo as useMemo16 } from "react";
19384
19561
 
19385
19562
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs
@@ -19387,7 +19564,7 @@ import { createContext as createContext10 } from "react";
19387
19564
  var DeprecatedLayoutGroupContext = createContext10(null);
19388
19565
 
19389
19566
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/utils/use-force-update.mjs
19390
- import { useState as useState11, useCallback as useCallback7 } from "react";
19567
+ import { useState as useState12, useCallback as useCallback7 } from "react";
19391
19568
 
19392
19569
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs
19393
19570
  import { useRef as useRef21 } from "react";
@@ -19405,7 +19582,7 @@ function useIsMounted() {
19405
19582
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/utils/use-force-update.mjs
19406
19583
  function useForceUpdate() {
19407
19584
  const isMounted = useIsMounted();
19408
- const [forcedRenderCount, setForcedRenderCount] = useState11(0);
19585
+ const [forcedRenderCount, setForcedRenderCount] = useState12(0);
19409
19586
  const forceRender = useCallback7(() => {
19410
19587
  isMounted.current && setForcedRenderCount(forcedRenderCount + 1);
19411
19588
  }, [forcedRenderCount]);
@@ -19432,12 +19609,12 @@ var LayoutGroup = ({ children, id: id3, inherit = true }) => {
19432
19609
  };
19433
19610
  }
19434
19611
  const memoizedContext = useMemo16(() => ({ ...context.current, forceRender }), [key]);
19435
- return jsx6(LayoutGroupContext.Provider, { value: memoizedContext, children });
19612
+ return jsx5(LayoutGroupContext.Provider, { value: memoizedContext, children });
19436
19613
  };
19437
19614
 
19438
19615
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs
19439
- import { jsx as jsx7 } from "react/jsx-runtime";
19440
- import { useState as useState12, useRef as useRef23, useEffect as useEffect13 } from "react";
19616
+ import { jsx as jsx6 } from "react/jsx-runtime";
19617
+ import { useState as useState13, useRef as useRef23, useEffect as useEffect16 } from "react";
19441
19618
 
19442
19619
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/LazyContext.mjs
19443
19620
  import { createContext as createContext11 } from "react";
@@ -19496,14 +19673,14 @@ function loadFeatures(features) {
19496
19673
 
19497
19674
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs
19498
19675
  function LazyMotion({ children, features, strict = false }) {
19499
- const [, setIsLoaded] = useState12(!isLazyBundle(features));
19676
+ const [, setIsLoaded] = useState13(!isLazyBundle(features));
19500
19677
  const loadedRenderer = useRef23(void 0);
19501
19678
  if (!isLazyBundle(features)) {
19502
19679
  const { renderer, ...loadedFeatures } = features;
19503
19680
  loadedRenderer.current = renderer;
19504
19681
  loadFeatures(loadedFeatures);
19505
19682
  }
19506
- useEffect13(() => {
19683
+ useEffect16(() => {
19507
19684
  if (isLazyBundle(features)) {
19508
19685
  features().then(({ renderer, ...loadedFeatures }) => {
19509
19686
  loadFeatures(loadedFeatures);
@@ -19512,14 +19689,14 @@ function LazyMotion({ children, features, strict = false }) {
19512
19689
  });
19513
19690
  }
19514
19691
  }, []);
19515
- return jsx7(LazyContext.Provider, { value: { renderer: loadedRenderer.current, strict }, children });
19692
+ return jsx6(LazyContext.Provider, { value: { renderer: loadedRenderer.current, strict }, children });
19516
19693
  }
19517
19694
  function isLazyBundle(features) {
19518
19695
  return typeof features === "function";
19519
19696
  }
19520
19697
 
19521
19698
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
19522
- import { jsx as jsx8 } from "react/jsx-runtime";
19699
+ import { jsx as jsx7 } from "react/jsx-runtime";
19523
19700
  import { useContext as useContext11, useMemo as useMemo17 } from "react";
19524
19701
  function MotionConfig({ children, ...config2 }) {
19525
19702
  const parentConfig = useContext11(MotionConfigContext);
@@ -19533,7 +19710,7 @@ function MotionConfig({ children, ...config2 }) {
19533
19710
  config2.skipAnimations,
19534
19711
  config2.isValidProp
19535
19712
  ]);
19536
- return jsx8(MotionConfigContext.Provider, { value: context, children });
19713
+ return jsx7(MotionConfigContext.Provider, { value: context, children });
19537
19714
  }
19538
19715
 
19539
19716
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/events/event-info.mjs
@@ -19688,15 +19865,15 @@ var PanSession = class {
19688
19865
  * For window scroll: adjusts lastMoveEventInfo since pageX/pageY would change.
19689
19866
  */
19690
19867
  handleScroll(target) {
19691
- const initial = this.scrollPositions.get(target);
19692
- if (!initial)
19868
+ const initial2 = this.scrollPositions.get(target);
19869
+ if (!initial2)
19693
19870
  return;
19694
19871
  const isWindow = target === window;
19695
19872
  const current = isWindow ? { x: window.scrollX, y: window.scrollY } : {
19696
19873
  x: target.scrollLeft,
19697
19874
  y: target.scrollTop
19698
19875
  };
19699
- const delta = { x: current.x - initial.x, y: current.y - initial.y };
19876
+ const delta = { x: current.x - initial2.x, y: current.y - initial2.y };
19700
19877
  if (delta.x === 0 && delta.y === 0)
19701
19878
  return;
19702
19879
  if (isWindow) {
@@ -19883,11 +20060,11 @@ var VisualElementDragControls = class {
19883
20060
  this.stopAnimation();
19884
20061
  };
19885
20062
  const onStart = (event, info) => {
19886
- const { drag: drag2, dragPropagation, onDragStart } = this.getProps();
19887
- if (drag2 && !dragPropagation) {
20063
+ const { drag: drag3, dragPropagation, onDragStart } = this.getProps();
20064
+ if (drag3 && !dragPropagation) {
19888
20065
  if (this.openDragLock)
19889
20066
  this.openDragLock();
19890
- this.openDragLock = setDragLock(drag2);
20067
+ this.openDragLock = setDragLock(drag3);
19891
20068
  if (!this.openDragLock)
19892
20069
  return;
19893
20070
  }
@@ -20015,8 +20192,8 @@ var VisualElementDragControls = class {
20015
20192
  this.panSession = void 0;
20016
20193
  }
20017
20194
  updateAxis(axis, _point, offset4) {
20018
- const { drag: drag2 } = this.getProps();
20019
- if (!offset4 || !shouldDrag(axis, drag2, this.currentDirection))
20195
+ const { drag: drag3 } = this.getProps();
20196
+ if (!offset4 || !shouldDrag(axis, drag3, this.currentDirection))
20020
20197
  return;
20021
20198
  const axisValue = this.getAxisMotionValue(axis);
20022
20199
  let next = this.originPoint[axis] + offset4[axis];
@@ -20074,10 +20251,10 @@ var VisualElementDragControls = class {
20074
20251
  return measuredConstraints;
20075
20252
  }
20076
20253
  startAnimation(velocity) {
20077
- const { drag: drag2, dragMomentum, dragElastic, dragTransition, dragSnapToOrigin, onDragTransitionEnd } = this.getProps();
20254
+ const { drag: drag3, dragMomentum, dragElastic, dragTransition, dragSnapToOrigin, onDragTransitionEnd } = this.getProps();
20078
20255
  const constraints = this.constraints || {};
20079
20256
  const momentumAnimations = eachAxis((axis) => {
20080
- if (!shouldDrag(axis, drag2, this.currentDirection)) {
20257
+ if (!shouldDrag(axis, drag3, this.currentDirection)) {
20081
20258
  return;
20082
20259
  }
20083
20260
  let transition = constraints && constraints[axis] || {};
@@ -20125,12 +20302,12 @@ var VisualElementDragControls = class {
20125
20302
  * drag transform, depending on when it was measured.
20126
20303
  */
20127
20304
  snapToCursor({ clientX, clientY }) {
20128
- const { drag: drag2 } = this.getProps();
20305
+ const { drag: drag3 } = this.getProps();
20129
20306
  const point = { x: clientX, y: clientY };
20130
20307
  const cursor = this.visualElement.getTransformPagePoint()?.(point) || point;
20131
20308
  const box = this.visualElement.measureViewportBox();
20132
20309
  eachAxis((axis) => {
20133
- if (!shouldDrag(axis, drag2, this.currentDirection))
20310
+ if (!shouldDrag(axis, drag3, this.currentDirection))
20134
20311
  return;
20135
20312
  const axisValue = this.getAxisMotionValue(axis);
20136
20313
  const { min: min2, max: max2 } = box[axis];
@@ -20145,7 +20322,7 @@ var VisualElementDragControls = class {
20145
20322
  scalePositionWithinConstraints() {
20146
20323
  if (!this.visualElement.current)
20147
20324
  return;
20148
- const { drag: drag2, dragConstraints } = this.getProps();
20325
+ const { drag: drag3, dragConstraints } = this.getProps();
20149
20326
  const { projection } = this.visualElement;
20150
20327
  if (!isRefObject(dragConstraints) || !projection || !this.constraints)
20151
20328
  return;
@@ -20164,7 +20341,7 @@ var VisualElementDragControls = class {
20164
20341
  this.resolveConstraints();
20165
20342
  eachAxis((axis) => {
20166
20343
  const axisValue = this.getAxisMotionValue(axis);
20167
- if (!shouldDrag(axis, drag2, null) || !axisValue.get())
20344
+ if (!shouldDrag(axis, drag3, null) || !axisValue.get())
20168
20345
  return;
20169
20346
  const { min: min2, max: max2 } = this.constraints[axis];
20170
20347
  axisValue.set(mixNumber(min2, max2, boxProgress[axis]));
@@ -20177,10 +20354,10 @@ var VisualElementDragControls = class {
20177
20354
  elementDragControls.set(this.visualElement, this);
20178
20355
  const element = this.visualElement.current;
20179
20356
  const stopPointerListener = addPointerEvent(element, "pointerdown", (event) => {
20180
- const { drag: drag2, dragListener = true } = this.getProps();
20357
+ const { drag: drag3, dragListener = true } = this.getProps();
20181
20358
  const target = event.target;
20182
20359
  const isClickingTextInputChild = target !== element && isElementTextInput(target);
20183
- if (drag2 && dragListener && !isClickingTextInputChild) {
20360
+ if (drag3 && dragListener && !isClickingTextInputChild) {
20184
20361
  this.start(event);
20185
20362
  }
20186
20363
  });
@@ -20224,10 +20401,10 @@ var VisualElementDragControls = class {
20224
20401
  }
20225
20402
  getProps() {
20226
20403
  const props = this.visualElement.getProps();
20227
- const { drag: drag2 = false, dragDirectionLock = false, dragPropagation = false, dragConstraints = false, dragElastic = defaultElastic, dragMomentum = true } = props;
20404
+ const { drag: drag3 = false, dragDirectionLock = false, dragPropagation = false, dragConstraints = false, dragElastic = defaultElastic, dragMomentum = true } = props;
20228
20405
  return {
20229
20406
  ...props,
20230
- drag: drag2,
20407
+ drag: drag3,
20231
20408
  dragDirectionLock,
20232
20409
  dragPropagation,
20233
20410
  dragConstraints,
@@ -20254,8 +20431,8 @@ function startResizeObservers(element, constraintsElement, onResize) {
20254
20431
  stopContainer();
20255
20432
  };
20256
20433
  }
20257
- function shouldDrag(direction, drag2, currentDirection) {
20258
- return (drag2 === true || drag2 === direction) && (currentDirection === null || currentDirection === direction);
20434
+ function shouldDrag(direction, drag3, currentDirection) {
20435
+ return (drag3 === true || drag3 === direction) && (currentDirection === null || currentDirection === direction);
20259
20436
  }
20260
20437
  function getCurrentDirection(offset4, lockThreshold = 10) {
20261
20438
  let direction = null;
@@ -20345,7 +20522,7 @@ var PanGesture = class extends Feature {
20345
20522
  };
20346
20523
 
20347
20524
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs
20348
- import { jsx as jsx9 } from "react/jsx-runtime";
20525
+ import { jsx as jsx8 } from "react/jsx-runtime";
20349
20526
  import { useContext as useContext12, Component as Component2 } from "react";
20350
20527
 
20351
20528
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
@@ -20384,7 +20561,7 @@ var MeasureLayoutWithContext = class extends Component2 {
20384
20561
  globalProjectionState.hasEverUpdated = true;
20385
20562
  }
20386
20563
  getSnapshotBeforeUpdate(prevProps) {
20387
- const { layoutDependency, visualElement, drag: drag2, isPresent } = this.props;
20564
+ const { layoutDependency, visualElement, drag: drag3, isPresent } = this.props;
20388
20565
  const { projection } = visualElement;
20389
20566
  if (!projection)
20390
20567
  return null;
@@ -20396,7 +20573,7 @@ var MeasureLayoutWithContext = class extends Component2 {
20396
20573
  });
20397
20574
  }
20398
20575
  hasTakenAnySnapshot = true;
20399
- if (drag2 || prevProps.layoutDependency !== layoutDependency || layoutDependency === void 0 || prevProps.isPresent !== isPresent) {
20576
+ if (drag3 || prevProps.layoutDependency !== layoutDependency || layoutDependency === void 0 || prevProps.isPresent !== isPresent) {
20400
20577
  projection.willUpdate();
20401
20578
  } else {
20402
20579
  this.safeToRemove();
@@ -20451,11 +20628,11 @@ var MeasureLayoutWithContext = class extends Component2 {
20451
20628
  function MeasureLayout(props) {
20452
20629
  const [isPresent, safeToRemove] = usePresence();
20453
20630
  const layoutGroup = useContext12(LayoutGroupContext);
20454
- return jsx9(MeasureLayoutWithContext, { ...props, layoutGroup, switchLayoutGroup: useContext12(SwitchLayoutGroupContext), isPresent, safeToRemove });
20631
+ return jsx8(MeasureLayoutWithContext, { ...props, layoutGroup, switchLayoutGroup: useContext12(SwitchLayoutGroupContext), isPresent, safeToRemove });
20455
20632
  }
20456
20633
 
20457
20634
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/motion/features/drag.mjs
20458
- var drag = {
20635
+ var drag2 = {
20459
20636
  pan: {
20460
20637
  Feature: PanGesture
20461
20638
  },
@@ -20527,9 +20704,9 @@ var ExitAnimationFeature = class extends Feature {
20527
20704
  return;
20528
20705
  if (isPresent && prevIsPresent === false) {
20529
20706
  if (this.exit === true) {
20530
- const { initial } = this.node.getProps();
20531
- if (initial && !Array.isArray(initial)) {
20532
- const { transition, transitionEnd, ...target } = resolveVariant(this.node, initial) || {};
20707
+ const { initial: initial2 } = this.node.getProps();
20708
+ if (initial2 && !Array.isArray(initial2)) {
20709
+ const { transition, transitionEnd, ...target } = resolveVariant(this.node, initial2) || {};
20533
20710
  for (const key in target) {
20534
20711
  this.node.getValue(key)?.jump(target[key]);
20535
20712
  }
@@ -20852,15 +21029,15 @@ var domAnimation = {
20852
21029
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/render/dom/features-max.mjs
20853
21030
  var domMax = {
20854
21031
  ...domAnimation,
20855
- ...drag,
21032
+ ...drag2,
20856
21033
  ...layout
20857
21034
  };
20858
21035
 
20859
21036
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
20860
- import { useState as useState13 } from "react";
21037
+ import { useState as useState14 } from "react";
20861
21038
  function useReducedMotion() {
20862
21039
  !hasReducedMotionListener.current && initPrefersReducedMotion();
20863
- const [shouldReduceMotion] = useState13(prefersReducedMotion.current);
21040
+ const [shouldReduceMotion] = useState14(prefersReducedMotion.current);
20864
21041
  if (process.env.NODE_ENV !== "production") {
20865
21042
  warnOnce(shouldReduceMotion !== true, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled");
20866
21043
  }
@@ -20868,8 +21045,8 @@ function useReducedMotion() {
20868
21045
  }
20869
21046
 
20870
21047
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/motion/index.mjs
20871
- import { jsxs as jsxs3, jsx as jsx10 } from "react/jsx-runtime";
20872
- import { forwardRef as forwardRef17, useContext as useContext16 } from "react";
21048
+ import { jsxs as jsxs2, jsx as jsx9 } from "react/jsx-runtime";
21049
+ import { forwardRef as forwardRef15, useContext as useContext16 } from "react";
20873
21050
 
20874
21051
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
20875
21052
  import { createContext as createContext13 } from "react";
@@ -20881,9 +21058,9 @@ import { useContext as useContext13, useMemo as useMemo18 } from "react";
20881
21058
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
20882
21059
  function getCurrentTreeVariants(props, context) {
20883
21060
  if (isControllingVariants(props)) {
20884
- const { initial, animate } = props;
21061
+ const { initial: initial2, animate } = props;
20885
21062
  return {
20886
- initial: initial === false || isVariantLabel(initial) ? initial : void 0,
21063
+ initial: initial2 === false || isVariantLabel(initial2) ? initial2 : void 0,
20887
21064
  animate: isVariantLabel(animate) ? animate : void 0
20888
21065
  };
20889
21066
  }
@@ -20892,8 +21069,8 @@ function getCurrentTreeVariants(props, context) {
20892
21069
 
20893
21070
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
20894
21071
  function useCreateMotionContext(props) {
20895
- const { initial, animate } = getCurrentTreeVariants(props, useContext13(MotionContext));
20896
- return useMemo18(() => ({ initial, animate }), [variantLabelsAsDependency(initial), variantLabelsAsDependency(animate)]);
21072
+ const { initial: initial2, animate } = getCurrentTreeVariants(props, useContext13(MotionContext));
21073
+ return useMemo18(() => ({ initial: initial2, animate }), [variantLabelsAsDependency(initial2), variantLabelsAsDependency(animate)]);
20897
21074
  }
20898
21075
  function variantLabelsAsDependency(prop) {
20899
21076
  return Array.isArray(prop) ? prop.join(" ") : prop;
@@ -21062,18 +21239,18 @@ function makeLatestValues(props, context, presenceContext, scrapeMotionValues) {
21062
21239
  for (const key in motionValues) {
21063
21240
  values[key] = resolveMotionValue(motionValues[key]);
21064
21241
  }
21065
- let { initial, animate } = props;
21242
+ let { initial: initial2, animate } = props;
21066
21243
  const isControllingVariants$1 = isControllingVariants(props);
21067
21244
  const isVariantNode$1 = isVariantNode(props);
21068
21245
  if (context && isVariantNode$1 && !isControllingVariants$1 && props.inherit !== false) {
21069
- if (initial === void 0)
21070
- initial = context.initial;
21246
+ if (initial2 === void 0)
21247
+ initial2 = context.initial;
21071
21248
  if (animate === void 0)
21072
21249
  animate = context.animate;
21073
21250
  }
21074
21251
  let isInitialAnimationBlocked = presenceContext ? presenceContext.initial === false : false;
21075
- isInitialAnimationBlocked = isInitialAnimationBlocked || initial === false;
21076
- const variantToSet = isInitialAnimationBlocked ? animate : initial;
21252
+ isInitialAnimationBlocked = isInitialAnimationBlocked || initial2 === false;
21253
+ const variantToSet = isInitialAnimationBlocked ? animate : initial2;
21077
21254
  if (variantToSet && typeof variantToSet !== "boolean" && !isAnimationControls(variantToSet)) {
21078
21255
  const list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];
21079
21256
  for (let i = 0; i < list.length; i++) {
@@ -21155,7 +21332,7 @@ function useMotionRef(visualState, visualElement, externalRef) {
21155
21332
  }
21156
21333
 
21157
21334
  // node_modules/.pnpm/framer-motion@14.1.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
21158
- import { useContext as useContext15, useRef as useRef25, useInsertionEffect as useInsertionEffect3, useEffect as useEffect14 } from "react";
21335
+ import { useContext as useContext15, useRef as useRef25, useInsertionEffect as useInsertionEffect3, useEffect as useEffect17 } from "react";
21159
21336
  function useVisualElement(Component3, visualState, props, createVisualElement, ProjectionNodeConstructor, isSVG) {
21160
21337
  const { visualElement: parent } = useContext15(MotionContext);
21161
21338
  const lazyContext = useContext15(LazyContext);
@@ -21212,7 +21389,7 @@ function useVisualElement(Component3, visualState, props, createVisualElement, P
21212
21389
  visualElement.animationState.animateChanges();
21213
21390
  }
21214
21391
  });
21215
- useEffect14(() => {
21392
+ useEffect17(() => {
21216
21393
  if (!visualElement)
21217
21394
  return;
21218
21395
  if (!wantsHandoff.current && visualElement.animationState) {
@@ -21229,12 +21406,12 @@ function useVisualElement(Component3, visualState, props, createVisualElement, P
21229
21406
  return visualElement;
21230
21407
  }
21231
21408
  function createProjectionNode2(visualElement, props, ProjectionNodeConstructor, initialPromotionConfig) {
21232
- const { layoutId, layout: layout2, drag: drag2, dragConstraints, layoutScroll, layoutRoot, layoutAnchor, layoutCrossfade } = props;
21409
+ const { layoutId, layout: layout2, drag: drag3, dragConstraints, layoutScroll, layoutRoot, layoutAnchor, layoutCrossfade } = props;
21233
21410
  visualElement.projection = new ProjectionNodeConstructor(visualElement.latestValues, props["data-framer-portal-id"] ? void 0 : getClosestProjectingNode(visualElement.parent));
21234
21411
  visualElement.projection.setOptions({
21235
21412
  layoutId,
21236
21413
  layout: layout2,
21237
- alwaysMeasureLayout: Boolean(drag2) || dragConstraints && isRefObject(dragConstraints),
21414
+ alwaysMeasureLayout: Boolean(drag3) || dragConstraints && isRefObject(dragConstraints),
21238
21415
  visualElement,
21239
21416
  /**
21240
21417
  * TODO: Update options in an effect. This could be tricky as it'll be too late
@@ -21278,10 +21455,10 @@ function createMotionComponent(Component3, { forwardMotionProps = false, type }
21278
21455
  MeasureLayout2 = layoutProjection.MeasureLayout;
21279
21456
  context.visualElement = useVisualElement(Component3, visualState, configAndProps, createVisualElement, layoutProjection.ProjectionNode, isSVG);
21280
21457
  }
21281
- return jsxs3(MotionContext.Provider, { value: context, children: [MeasureLayout2 && context.visualElement ? jsx10(MeasureLayout2, { visualElement: context.visualElement, ...configAndProps }) : null, useRender(Component3, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic, forwardMotionProps, isSVG, isValidProp)] });
21458
+ return jsxs2(MotionContext.Provider, { value: context, children: [MeasureLayout2 && context.visualElement ? jsx9(MeasureLayout2, { visualElement: context.visualElement, ...configAndProps }) : null, useRender(Component3, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic, forwardMotionProps, isSVG, isValidProp)] });
21282
21459
  }
21283
21460
  MotionDOMComponent.displayName = `motion.${typeof Component3 === "string" ? Component3 : `create(${Component3.displayName ?? Component3.name ?? ""})`}`;
21284
- const ForwardRefMotionComponent = forwardRef17(MotionDOMComponent);
21461
+ const ForwardRefMotionComponent = forwardRef15(MotionDOMComponent);
21285
21462
  ForwardRefMotionComponent[motionComponentSymbol] = Component3;
21286
21463
  return ForwardRefMotionComponent;
21287
21464
  }
@@ -21298,12 +21475,12 @@ function useStrictMode(configAndProps, preloadedFeatures) {
21298
21475
  }
21299
21476
  function getProjectionFunctionality(props) {
21300
21477
  const featureDefinitions2 = getInitializedFeatureDefinitions();
21301
- const { drag: drag2, layout: layout2 } = featureDefinitions2;
21302
- if (!drag2 && !layout2)
21478
+ const { drag: drag3, layout: layout2 } = featureDefinitions2;
21479
+ if (!drag3 && !layout2)
21303
21480
  return {};
21304
- const combined = { ...drag2, ...layout2 };
21481
+ const combined = { ...drag3, ...layout2 };
21305
21482
  return {
21306
- MeasureLayout: drag2?.isEnabled(props) || layout2?.isEnabled(props) ? combined.MeasureLayout : void 0,
21483
+ MeasureLayout: drag3?.isEnabled(props) || layout2?.isEnabled(props) ? combined.MeasureLayout : void 0,
21307
21484
  ProjectionNode: combined.ProjectionNode
21308
21485
  };
21309
21486
  }
@@ -21347,23 +21524,23 @@ var m = /* @__PURE__ */ createMotionProxy();
21347
21524
  var m2 = m;
21348
21525
 
21349
21526
  // node_modules/.pnpm/@tanstack+react-query@5.104.2_react@19.3.0/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
21350
- import * as React41 from "react";
21351
- import { jsx as jsx11 } from "react/jsx-runtime";
21352
- var QueryClientContext = React41.createContext(void 0);
21527
+ import * as React43 from "react";
21528
+ import { jsx as jsx10 } from "react/jsx-runtime";
21529
+ var QueryClientContext = React43.createContext(void 0);
21353
21530
  var useQueryClient = (queryClient) => {
21354
- const client = React41.useContext(QueryClientContext);
21531
+ const client = React43.useContext(QueryClientContext);
21355
21532
  if (queryClient) return queryClient;
21356
21533
  if (!client) throw new Error("No QueryClient set, use QueryClientProvider to set one");
21357
21534
  return client;
21358
21535
  };
21359
21536
  var QueryClientProvider = ({ client, children }) => {
21360
- React41.useEffect(() => {
21537
+ React43.useEffect(() => {
21361
21538
  client.mount();
21362
21539
  return () => {
21363
21540
  client.unmount();
21364
21541
  };
21365
21542
  }, [client]);
21366
- return /* @__PURE__ */ jsx11(QueryClientContext.Provider, {
21543
+ return /* @__PURE__ */ jsx10(QueryClientContext.Provider, {
21367
21544
  value: client,
21368
21545
  children
21369
21546
  });
@@ -24893,14 +25070,14 @@ var MutationObserver2 = class extends Subscribable {
24893
25070
  };
24894
25071
 
24895
25072
  // node_modules/.pnpm/@tanstack+react-query@5.104.2_react@19.3.0/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
24896
- import * as React42 from "react";
24897
- var IsRestoringContext = React42.createContext(false);
24898
- var useIsRestoring = () => React42.useContext(IsRestoringContext);
25073
+ import * as React44 from "react";
25074
+ var IsRestoringContext = React44.createContext(false);
25075
+ var useIsRestoring = () => React44.useContext(IsRestoringContext);
24899
25076
  var IsRestoringProvider = IsRestoringContext.Provider;
24900
25077
 
24901
25078
  // node_modules/.pnpm/@tanstack+react-query@5.104.2_react@19.3.0/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
24902
- import * as React43 from "react";
24903
- import { jsx as jsx12 } from "react/jsx-runtime";
25079
+ import * as React45 from "react";
25080
+ import { jsx as jsx11 } from "react/jsx-runtime";
24904
25081
  function createValue() {
24905
25082
  let isReset = false;
24906
25083
  return {
@@ -24925,11 +25102,11 @@ function createValue() {
24925
25102
  }
24926
25103
  };
24927
25104
  }
24928
- var QueryErrorResetBoundaryContext = React43.createContext(createValue());
24929
- var useQueryErrorResetBoundary = () => React43.useContext(QueryErrorResetBoundaryContext);
25105
+ var QueryErrorResetBoundaryContext = React45.createContext(createValue());
25106
+ var useQueryErrorResetBoundary = () => React45.useContext(QueryErrorResetBoundaryContext);
24930
25107
 
24931
25108
  // node_modules/.pnpm/@tanstack+react-query@5.104.2_react@19.3.0/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
24932
- import * as React44 from "react";
25109
+ import * as React46 from "react";
24933
25110
  var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
24934
25111
  const throwOnError = query?.state.error && typeof options.throwOnError === "function" ? shouldThrowError(options.throwOnError, [query.state.error, query]) : options.throwOnError;
24935
25112
  if (options.suspense || throwOnError) {
@@ -24937,7 +25114,7 @@ var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
24937
25114
  }
24938
25115
  };
24939
25116
  var useClearResetErrorBoundary = (errorResetBoundary) => {
24940
- React44.useEffect(() => {
25117
+ React46.useEffect(() => {
24941
25118
  errorResetBoundary.clearReset();
24942
25119
  }, [errorResetBoundary]);
24943
25120
  };
@@ -24961,7 +25138,7 @@ var fetchOptimistic = (defaultedOptions, observer2, errorResetBoundary) => obser
24961
25138
  });
24962
25139
 
24963
25140
  // node_modules/.pnpm/@tanstack+react-query@5.104.2_react@19.3.0/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
24964
- import * as React45 from "react";
25141
+ import * as React47 from "react";
24965
25142
  function useBaseQuery(options, Observer, queryClient) {
24966
25143
  if (process.env.NODE_ENV !== "production") {
24967
25144
  if (typeof options !== "object" || Array.isArray(options)) throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');
@@ -24979,15 +25156,15 @@ function useBaseQuery(options, Observer, queryClient) {
24979
25156
  ensureSuspenseTimers(defaultedOptions);
24980
25157
  ensurePreventErrorBoundaryRetry(defaultedOptions, errorResetBoundary, query);
24981
25158
  useClearResetErrorBoundary(errorResetBoundary);
24982
- const [observer2] = React45.useState(() => new Observer(client, defaultedOptions));
25159
+ const [observer2] = React47.useState(() => new Observer(client, defaultedOptions));
24983
25160
  const result = observer2.getOptimisticResult(defaultedOptions);
24984
25161
  const shouldSubscribe = !isRestoring && subscribed;
24985
- React45.useSyncExternalStore(React45.useCallback((onStoreChange) => {
25162
+ React47.useSyncExternalStore(React47.useCallback((onStoreChange) => {
24986
25163
  const unsubscribe = shouldSubscribe ? observer2.subscribe(notifyManager.batchCalls(onStoreChange)) : noop4;
24987
25164
  observer2.updateResult();
24988
25165
  return unsubscribe;
24989
25166
  }, [observer2, shouldSubscribe]), () => observer2.getCurrentResult(), () => observer2.getCurrentResult());
24990
- React45.useEffect(() => {
25167
+ React47.useEffect(() => {
24991
25168
  observer2.setOptions(defaultedOptions);
24992
25169
  }, [defaultedOptions, observer2]);
24993
25170
  if (shouldSuspend(defaultedOptions, result)) throw fetchOptimistic(defaultedOptions, observer2, errorResetBoundary);
@@ -25007,15 +25184,15 @@ function useQuery(options, queryClient) {
25007
25184
  }
25008
25185
 
25009
25186
  // node_modules/.pnpm/@tanstack+react-query@5.104.2_react@19.3.0/node_modules/@tanstack/react-query/build/modern/useMutation.js
25010
- import * as React46 from "react";
25187
+ import * as React48 from "react";
25011
25188
  function useMutation(options, queryClient) {
25012
25189
  const client = useQueryClient(queryClient);
25013
- const [observer2] = React46.useState(() => new MutationObserver2(client, options));
25014
- React46.useEffect(() => {
25190
+ const [observer2] = React48.useState(() => new MutationObserver2(client, options));
25191
+ React48.useEffect(() => {
25015
25192
  observer2.setOptions(options);
25016
25193
  }, [observer2, options]);
25017
- const result = React46.useSyncExternalStore(React46.useCallback((onStoreChange) => observer2.subscribe(notifyManager.batchCalls(onStoreChange)), [observer2]), () => observer2.getCurrentResult(), () => observer2.getCurrentResult());
25018
- const mutate = React46.useCallback((...args) => {
25194
+ const result = React48.useSyncExternalStore(React48.useCallback((onStoreChange) => observer2.subscribe(notifyManager.batchCalls(onStoreChange)), [observer2]), () => observer2.getCurrentResult(), () => observer2.getCurrentResult());
25195
+ const mutate = React48.useCallback((...args) => {
25019
25196
  observer2.mutate(args[0], args[1]).catch(noop4);
25020
25197
  }, [observer2]);
25021
25198
  if (result.error && shouldThrowError(observer2.options.throwOnError, [result.error])) throw result.error;
@@ -25114,10 +25291,12 @@ export {
25114
25291
  fallbackSessionLabel,
25115
25292
  sessionListTitle,
25116
25293
  disambiguateSessionLabel,
25117
- Button$1,
25118
25294
  fastComponent,
25119
25295
  fastComponentRef,
25120
25296
  ReactStore,
25297
+ addEventListener,
25298
+ AnimationFrame,
25299
+ useAnimationFrame,
25121
25300
  Timeout,
25122
25301
  useTimeout,
25123
25302
  parts_exports,
@@ -25125,6 +25304,8 @@ export {
25125
25304
  contains,
25126
25305
  getTarget,
25127
25306
  FOCUSABLE_ATTRIBUTE,
25307
+ TransitionStatusDataAttributes_exports,
25308
+ transitionStatusMapping,
25128
25309
  CommonPopupDataAttributes_exports,
25129
25310
  CommonTriggerDataAttributes_exports,
25130
25311
  triggerOpenStateMapping,
@@ -25149,13 +25330,19 @@ export {
25149
25330
  visuallyHiddenInput,
25150
25331
  FocusGuard,
25151
25332
  inertValue,
25333
+ useAnimationsFinished,
25334
+ useOpenChangeComplete,
25152
25335
  PATIENT_CLICK_THRESHOLD,
25153
25336
  CLICK_TRIGGER_IDENTIFIER,
25154
25337
  DROPDOWN_COLLISION_AVOIDANCE,
25155
25338
  POPUP_COLLISION_AVOIDANCE,
25156
25339
  clamp2 as clamp,
25157
25340
  getElementTransform,
25341
+ useId,
25342
+ reason_parts_exports,
25343
+ createChangeEventDetails,
25158
25344
  FloatingPortal,
25345
+ useValueAsRef,
25159
25346
  useFloatingParentNodeId,
25160
25347
  useFloatingNodeId,
25161
25348
  FloatingNode,