@mcp-use/inspector 20.0.0-beta.6 → 20.0.0-beta.7

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 (188) hide show
  1. package/dist/cdn/{AnimatePresence-Dcw-FOy8.js → AnimatePresence-D1bZ5_-l.js} +79 -78
  2. package/dist/cdn/{ChatTab-D6J3Gyp7.js → ChatTab-DtUGK07C.js} +1951 -1932
  3. package/dist/cdn/CheckboxIndicator-BjF73mGX.js +252 -0
  4. package/dist/cdn/{ConnectionSettingsForm-CWQueI8J.js → ConnectionSettingsForm-CNuMa6jp.js} +202 -202
  5. package/dist/cdn/{ConnectionSettingsTab-FGyt3QaI.js → ConnectionSettingsTab-qSVQ1aIF.js} +36 -35
  6. package/dist/cdn/{ElicitationTab-CL1KJ0bz.js → ElicitationTab-PEmEDvC5.js} +47 -46
  7. package/dist/cdn/{FormContext-tmgN_Vdr.js → FormContext-NtUiZclE.js} +26 -26
  8. package/dist/cdn/{InspectorContext-UjtEbNod.js → InspectorContext-BBKCdfmK.js} +1 -1
  9. package/dist/cdn/{JSONDisplay-BFxf5oEu.js → JSONDisplay-BJqMz7Ny.js} +22 -22
  10. package/dist/cdn/{ListTabHeader-Cv-GmtGF.js → ListTabHeader-DzmTtN1e.js} +20 -19
  11. package/dist/cdn/{WidgetWrapper-CruwjBOd.js → MCPAppsDebugControls-BpP-Ifap.js} +514 -550
  12. package/dist/cdn/{ManufactOAuthCallback-B98kSYCj.js → ManufactOAuthCallback-ChbbjFIT.js} +2 -2
  13. package/dist/cdn/{MarkdownRenderer-gLqUICEd.js → MarkdownRenderer-bX1BrKgI.js} +23 -23
  14. package/dist/cdn/McpAppsViewPanel-jlsYQ7uS.js +56 -0
  15. package/dist/cdn/{NotificationsTab-CeImSrhx.js → NotificationsTab-B7uebqMV.js} +21 -21
  16. package/dist/cdn/{OAuthCallback-Bg2bP-o9.js → OAuthCallback--NZdLoWx.js} +3 -3
  17. package/dist/cdn/PromptsTab-BlXDcau3.js +902 -0
  18. package/dist/cdn/{ResourcesTab-CQkKni-P.js → ResourcesTab-D45_JojP.js} +116 -114
  19. package/dist/cdn/{SamplingTab-D8q-iCMc.js → SamplingTab-r7tImM6L.js} +34 -33
  20. package/dist/cdn/{ServerMetadataTab-CvrKX8fz.js → ServerMetadataTab-BM3VhSLf.js} +9 -9
  21. package/dist/cdn/{StatusIcon-D0-ARyOh.js → StatusIcon-Q3n3YRtE.js} +10 -11
  22. package/dist/cdn/{ToolsTab-6xaVH43x.js → ToolsTab-DOAO8HnS.js} +664 -652
  23. package/dist/cdn/{ViewPreview-Ohh6JwOn.js → ViewPreview-CBhrVdwx.js} +3 -3
  24. package/dist/cdn/{WidgetDebugContext-D4usL_MA.js → WidgetDebugContext-B6yoOVVV.js} +1 -11
  25. package/dist/cdn/WidgetWrapper-BlbQAh_X.js +12 -0
  26. package/dist/cdn/{bell-CGjAO_0s.js → bell-GrTZcnD2.js} +1 -1
  27. package/dist/cdn/{browser-CbQIH4w2.js → browser-DG2Z8392.js} +1 -1
  28. package/dist/cdn/{brush-B_mKhyxG.js → brush-CelVvMGp.js} +1 -1
  29. package/dist/cdn/button-CB4uOoUV.js +2509 -0
  30. package/dist/cdn/card-BA-DQk-G.js +41 -0
  31. package/dist/cdn/{checkbox-By0FklhG.js → checkbox-kwVa4gRX.js} +7 -7
  32. package/dist/cdn/{clock-CmUbSx_B.js → clock-YMF8Gtw5.js} +1 -1
  33. package/dist/cdn/{code-V_0nf5rg.js → code-C8sN2OGR.js} +1 -1
  34. package/dist/cdn/{jsx-runtime-CIxvMpEo.js → createLucideIcon-BONxC1L5.js} +57 -24
  35. package/dist/cdn/{dialog-BsDpuJd3.js → dialog-CJGnC5Ag.js} +171 -171
  36. package/dist/cdn/{dist-DaMB0Su9.js → dist-CTJnCYmk.js} +1 -1
  37. package/dist/cdn/{dist-CXHFvGre.js → dist-SxRsB1iS.js} +3 -3
  38. package/dist/cdn/{external-link-CjmfT6rW.js → external-link-Bo4lQxr1.js} +1 -1
  39. package/dist/cdn/{eye-B7H96av8.js → eye-pSGG7nvf.js} +1 -1
  40. package/dist/cdn/{folder-open-B3lu2rG_.js → folder-open-aM8CPtBO.js} +1 -1
  41. package/dist/cdn/{hash-BVQnWi7q.js → hash-DDs2vE1k.js} +1 -1
  42. package/dist/cdn/{history-Csw4rb44.js → history-BfUFpL1d.js} +1 -1
  43. package/dist/cdn/{index-browser-DkQOzkvX.js → index-browser-Dm3R1Mfe.js} +1 -1
  44. package/dist/cdn/{info-CNiOwqkf.js → info-BMkB68mB.js} +1 -1
  45. package/dist/cdn/{input-C2OBd4PJ.js → input-BCpgLXU1.js} +2993 -5499
  46. package/dist/cdn/inspector.css +1 -1
  47. package/dist/cdn/inspector.js +7106 -7140
  48. package/dist/cdn/{label-B9Jmm9be.js → label-A0UGV8FE.js} +9 -9
  49. package/dist/cdn/{loader-circle-BLy9A_pp.js → loader-circle-BKRHJEB7.js} +1 -1
  50. package/dist/cdn/{maximize-2-CH5Lq90B.js → maximize-2-DdrB_spi.js} +1 -1
  51. package/dist/cdn/{maximize-BALCV_ep.js → maximize-hSOCz133.js} +1 -1
  52. package/dist/cdn/{message-square-BnxdpJxZ.js → message-square-D3tKB3uJ.js} +1 -1
  53. package/dist/cdn/{not-found-DEtSM_Wd.js → not-found-BajFyZpp.js} +9 -11
  54. package/dist/cdn/{play-vuZ5PLnI.js → play-B1leulYf.js} +1 -1
  55. package/dist/cdn/providerMeta-CjGU4rID.js +436 -0
  56. package/dist/cdn/{react-BLtCruam.js → react-Bl-hSkvn.js} +562 -512
  57. package/dist/cdn/{refresh-cw-BXY-Pa0U.js → refresh-cw-CyvXrS91.js} +1 -1
  58. package/dist/cdn/{save-Tgil_AJZ.js → save-CmdEPUAm.js} +1 -1
  59. package/dist/cdn/{select-DDdiIPR2.js → select-CCFHjOGk.js} +808 -807
  60. package/dist/cdn/{servers-Dm72iTpY.js → servers-Dd0Vcp81.js} +5 -1
  61. package/dist/cdn/{shared-DaILIQPP.js → shared-CJVHJhag.js} +36 -36
  62. package/dist/cdn/{sheet-Br_l2kry.js → sheet-oyq1mIyg.js} +620 -619
  63. package/dist/cdn/{sparkles-BntO2rDR.js → sparkles-CxeZpVtX.js} +1 -1
  64. package/dist/cdn/spinner-Be1GlSGX.js +15 -0
  65. package/dist/cdn/{square-check-big-BvwQ17Bl.js → square-check-big-C_4wbfwF.js} +1 -1
  66. package/dist/cdn/{switch-C3IyQuid.js → switch-DHXEA_N5.js} +190 -189
  67. package/dist/cdn/{tabs-subtle-CkdI6Mac.js → tabs-subtle-Dubd6Kj8.js} +269 -268
  68. package/dist/cdn/{telemetry-C7Ytz2BG.js → telemetry-TwPKZlFf.js} +2 -2
  69. package/dist/cdn/{textarea-DSbwcFVt.js → textarea-CwmI8_uI.js} +6 -6
  70. package/dist/cdn/{trash-2-RwpJY5SL.js → trash-2-BhumJAFE.js} +1 -1
  71. package/dist/cdn/{useAriaLabelledBy-DqAdnppm.js → useAriaLabelledBy-Cra6w3YY.js} +2 -1
  72. package/dist/cdn/{useCompositeItem-BRqEzYh-.js → useCompositeItem-Dhnm-7el.js} +3 -3
  73. package/dist/cdn/{useConfig-BW6uQf2m.js → useConfig-leHVjdjl.js} +2 -2
  74. package/dist/cdn/{useSavedRequests-Ci2I919u.js → useSavedRequests-mSIsDd4c.js} +1 -1
  75. package/dist/cdn/{useViewHostProps-CINeSkth.js → useViewHostProps-CDOm2w6u.js} +124 -109
  76. package/dist/cdn/{wrench-DzGmCfnb.js → wrench-DvK20LUT.js} +1 -1
  77. package/dist/cdn/{x-C3vRQIYu.js → x-EilKPiCX.js} +1 -1
  78. package/dist/cdn/{zap-Mb-pbw2X.js → zap-0Wr9QO7N.js} +1 -1
  79. package/dist/cli.js +1 -1
  80. package/dist/client/components/ChatTab.d.ts.map +1 -1
  81. package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
  82. package/dist/client/components/ToolsTab.d.ts.map +1 -1
  83. package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
  84. package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
  85. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts +29 -0
  86. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts.map +1 -0
  87. package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
  88. package/dist/client/components/tools/ToolResultDisplay.d.ts +2 -1
  89. package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
  90. package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -1
  91. package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -1
  92. package/dist/client/components/ui/mesh-animation-pause.d.ts +14 -0
  93. package/dist/client/components/ui/mesh-animation-pause.d.ts.map +1 -0
  94. package/dist/client/components/ui/mesh-gradient-colors.d.ts +6 -0
  95. package/dist/client/components/ui/mesh-gradient-colors.d.ts.map +1 -0
  96. package/dist/client/components/ui/mesh-tab-background.d.ts +1 -1
  97. package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -1
  98. package/dist/client/components/ui/not-found.d.ts.map +1 -1
  99. package/dist/client/context/WidgetDebugContext.d.ts +1 -11
  100. package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
  101. package/dist/client/hooks/useDeviceViewport.d.ts +1 -5
  102. package/dist/client/hooks/useDeviceViewport.d.ts.map +1 -1
  103. package/dist/client/hooks/useViewHostProps.d.ts +1 -1
  104. package/dist/client/hooks/useViewHostProps.d.ts.map +1 -1
  105. package/dist/client/index.js +2086 -1860
  106. package/dist/client/utils/servers.d.ts +5 -0
  107. package/dist/client/utils/servers.d.ts.map +1 -1
  108. package/dist/server/cdn-shell.js +2 -2
  109. package/dist/server/{chunk-GBY4WAVP.js → chunk-5GVQGIAX.js} +1 -1
  110. package/dist/server/{chunk-IFF5T5J4.js → chunk-UZZDBVKF.js} +1 -1
  111. package/dist/server/{chunk-NUHI6MJ6.js → chunk-VFVFLXKP.js} +1 -1
  112. package/dist/server/cli.js +2 -2
  113. package/dist/server/index.js +3 -3
  114. package/dist/server/middleware.js +3 -3
  115. package/dist/server/version.js +1 -1
  116. package/dist/web/assets/AnimatePresence-FfDQQNFJ.js +9 -0
  117. package/dist/web/assets/ChatTab-B6ubLbeA.js +18 -0
  118. package/dist/web/assets/ConnectionSettingsTab-Cb2eDgEu.js +1 -0
  119. package/dist/web/assets/ElicitationTab-CbnCrmu9.js +1 -0
  120. package/dist/web/assets/FormContext-sV-yByKz.js +1 -0
  121. package/dist/web/assets/ListTabHeader-CrGae306.js +1 -0
  122. package/dist/web/assets/MCPAppsDebugControls-sRglMhat.js +34 -0
  123. package/dist/web/assets/{ManufactOAuthCallback-BRO6TPkZ.js → ManufactOAuthCallback-D4uYGigW.js} +1 -1
  124. package/dist/web/assets/{MarkdownRenderer-gaJFjbtr.js → MarkdownRenderer-Cwxp9fLj.js} +2 -2
  125. package/dist/web/assets/McpAppsViewPanel-jQYFoZNX.js +1 -0
  126. package/dist/web/assets/{NotificationsTab-LYcfRjyd.js → NotificationsTab-DuSm762_.js} +1 -1
  127. package/dist/web/assets/{OAuthCallback-D8UItgTB.js → OAuthCallback-VLHlUe2c.js} +1 -1
  128. package/dist/web/assets/PromptsTab-DK6XZxR8.js +15 -0
  129. package/dist/web/assets/ResourcesTab-CUE4MAtJ.js +2 -0
  130. package/dist/web/assets/SamplingTab-BYNkVCTu.js +1 -0
  131. package/dist/web/assets/ServerMetadataTab-DWjNFMbq.js +1 -0
  132. package/dist/web/assets/ToolsTab-BisWWY2p.js +8 -0
  133. package/dist/web/assets/{ViewPreview--z6jL0Zg.js → ViewPreview-COrmPpRr.js} +1 -1
  134. package/dist/web/assets/WidgetWrapper-cv_BM1bY.js +1 -0
  135. package/dist/web/assets/{brush--0LobUi4.js → brush-DX0UZ_pI.js} +1 -1
  136. package/dist/web/assets/button-C8Xa2k4x.js +1 -0
  137. package/dist/web/assets/checkbox-B6dtF73d.js +1 -0
  138. package/dist/web/assets/code-B14rVdNt.js +1 -0
  139. package/dist/web/assets/createLucideIcon-BEHeJH0M.js +1 -0
  140. package/dist/web/assets/{dist-B8sA8Zml.js → dist-9Oy7e0v8.js} +4 -4
  141. package/dist/web/assets/index-BMaSsizY.js +499 -0
  142. package/dist/web/assets/index-D7TVTIt9.css +1 -0
  143. package/dist/web/assets/input-C0OQCUZy.js +1 -0
  144. package/dist/web/assets/{label-Cdim77Jw.js → label-CI7JWQOo.js} +1 -1
  145. package/dist/web/assets/{maximize-2-BTT9QQU9.js → maximize-2-Br1WQzT2.js} +1 -1
  146. package/dist/web/assets/{maximize-_O55kFcr.js → maximize-CJNgRe6S.js} +1 -1
  147. package/dist/web/assets/{refresh-cw-C9wQl8_d.js → refresh-cw-B5iaAZKn.js} +1 -1
  148. package/dist/web/assets/{save-B-MsgxX9.js → save-TM6fvNrt.js} +1 -1
  149. package/dist/web/assets/select-D6jzbLJn.js +1 -0
  150. package/dist/web/assets/shared-CFs9CZfB.js +1 -0
  151. package/dist/web/assets/{sparkles-2OAsc1aP.js → sparkles-BGYTDThM.js} +1 -1
  152. package/dist/web/assets/tabs-subtle-D2XkWhLL.js +1 -0
  153. package/dist/web/assets/textarea-CRTXuRmE.js +1 -0
  154. package/dist/web/assets/{useConfig-BAsKhUxf.js → useConfig-B6tXvJOb.js} +1 -1
  155. package/dist/web/assets/useViewHostProps-DZqOwiAm.js +1 -0
  156. package/dist/web/assets/{zap-Du2Uc5pa.js → zap-BDWHCVHU.js} +1 -1
  157. package/dist/web/index.html +10 -10
  158. package/package.json +4 -4
  159. package/dist/cdn/CheckboxIndicator-Bt4IICtv.js +0 -251
  160. package/dist/cdn/PromptsTab-C4LuwyWN.js +0 -901
  161. package/dist/cdn/card-DgiYnSg-.js +0 -41
  162. package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
  163. package/dist/cdn/providerMeta-BQIfHuNL.js +0 -379
  164. package/dist/cdn/spinner-jQtC7EBj.js +0 -15
  165. package/dist/web/assets/AnimatePresence-C5p0yiY1.js +0 -9
  166. package/dist/web/assets/ChatTab-CsBPVCSc.js +0 -18
  167. package/dist/web/assets/ConnectionSettingsTab-DQTXfnl1.js +0 -1
  168. package/dist/web/assets/ElicitationTab-_FKB7nNG.js +0 -1
  169. package/dist/web/assets/FormContext-DH2caWKO.js +0 -1
  170. package/dist/web/assets/ListTabHeader-R17w_JsB.js +0 -1
  171. package/dist/web/assets/PromptsTab-B2uVMRR2.js +0 -15
  172. package/dist/web/assets/ResourcesTab-DhOZYPjE.js +0 -2
  173. package/dist/web/assets/SamplingTab-C-oY2hoi.js +0 -1
  174. package/dist/web/assets/ServerMetadataTab-BkTxO5KS.js +0 -1
  175. package/dist/web/assets/ToolsTab-DupHgo7A.js +0 -8
  176. package/dist/web/assets/WidgetWrapper-CZaEVEw4.js +0 -34
  177. package/dist/web/assets/checkbox-BQ9mI_6k.js +0 -1
  178. package/dist/web/assets/code-tME-5H6D.js +0 -1
  179. package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
  180. package/dist/web/assets/index-C_fCIJ4C.js +0 -492
  181. package/dist/web/assets/index-fBX3akc8.css +0 -1
  182. package/dist/web/assets/input-CLYhA7PK.js +0 -1
  183. package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
  184. package/dist/web/assets/select-CJ57-Bor.js +0 -1
  185. package/dist/web/assets/shared-CCC9rTz4.js +0 -1
  186. package/dist/web/assets/tabs-subtle-246ABJqx.js +0 -1
  187. package/dist/web/assets/textarea-DLAmNVf_.js +0 -1
  188. package/dist/web/assets/useViewHostProps-CV5zBxUb.js +0 -1
@@ -1,6 +1,7 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { Ar as n, C as r, H as i, Sr as a, Tr as o, U as s, V as c, W as l, m as u, p as d, wr as f } from "./input-C2OBd4PJ.js";
3
- import { t as p } from "./jsx-runtime-CIxvMpEo.js";
2
+ import { C as n, H as r, U as i, V as a, W as o, m as s, p as c } from "./input-BCpgLXU1.js";
3
+ import { n as l } from "./createLucideIcon-BONxC1L5.js";
4
+ import { M as u, g as d, v as f, y as p } from "./button-CB4uOoUV.js";
4
5
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/composite/list/CompositeListContext.mjs
5
6
  var m = /* @__PURE__ */ e(t(), 1), h = /*#__PURE__*/ m.createContext({
6
7
  register: () => {},
@@ -19,43 +20,43 @@ var _ = /*#__PURE__*/ function(e) {
19
20
  return e[e.None = 0] = "None", e[e.GuessFromOrder = 1] = "GuessFromOrder", e;
20
21
  }({});
21
22
  function v(e = {}) {
22
- let { label: t, metadata: n, textRef: r, indexGuessBehavior: i, index: o } = e, { register: s, unregister: c, subscribeMapChange: l, elementsRef: u, labelsRef: d, nextIndexRef: f } = g(), p = m.useRef(-1), [h, v] = m.useState(o ?? (i === _.GuessFromOrder ? () => {
23
+ let { label: t, metadata: n, textRef: r, indexGuessBehavior: i, index: a } = e, { register: o, unregister: s, subscribeMapChange: c, elementsRef: l, labelsRef: u, nextIndexRef: f } = g(), p = m.useRef(-1), [h, v] = m.useState(a ?? (i === _.GuessFromOrder ? () => {
23
24
  if (p.current === -1) {
24
25
  let e = f.current;
25
26
  f.current += 1, p.current = e;
26
27
  }
27
28
  return p.current;
28
29
  } : -1)), y = m.useRef(null), b = m.useCallback((e) => {
29
- if (y.current = e, h !== -1 && e !== null && (u.current[h] = e, d)) {
30
+ if (y.current = e, h !== -1 && e !== null && (l.current[h] = e, u)) {
30
31
  let n = t !== void 0;
31
- d.current[h] = n ? t : r?.current?.textContent ?? e.textContent;
32
+ u.current[h] = n ? t : r?.current?.textContent ?? e.textContent;
32
33
  }
33
34
  }, [
34
35
  h,
36
+ l,
35
37
  u,
36
- d,
37
38
  t,
38
39
  r
39
40
  ]);
40
- return a(() => {
41
- if (o != null) return;
41
+ return d(() => {
42
+ if (a != null) return;
42
43
  let e = y.current;
43
- if (e) return s(e, n), () => {
44
- c(e);
44
+ if (e) return o(e, n), () => {
45
+ s(e);
45
46
  };
46
47
  }, [
48
+ a,
47
49
  o,
48
50
  s,
49
- c,
50
51
  n
51
- ]), a(() => {
52
- if (o == null) return l((e) => {
52
+ ]), d(() => {
53
+ if (a == null) return c((e) => {
53
54
  let t = y.current ? e.get(y.current)?.index : null;
54
55
  t != null && v(t);
55
56
  });
56
57
  }, [
57
- o,
58
- l,
58
+ a,
59
+ c,
59
60
  v
60
61
  ]), {
61
62
  ref: b,
@@ -85,10 +86,10 @@ var y = "ArrowUp", b = "ArrowDown", x = "ArrowLeft", S = "ArrowRight", C = "Home
85
86
  "Meta"
86
87
  ]);
87
88
  function M(e) {
88
- return n(e) && e.tagName === "INPUT";
89
+ return u(e) && e.tagName === "INPUT";
89
90
  }
90
91
  function N(e) {
91
- return !!(M(e) && e.selectionStart != null || n(e) && e.tagName === "TEXTAREA");
92
+ return !!(M(e) && e.selectionStart != null || u(e) && e.tagName === "TEXTAREA");
92
93
  }
93
94
  function P(e, t, n, r) {
94
95
  if (!e || !t || !t.scrollTo) return;
@@ -127,68 +128,68 @@ function I(e) {
127
128
  }
128
129
  //#endregion
129
130
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/composite/list/CompositeList.mjs
130
- var L = p();
131
+ var L = l();
131
132
  function R(e) {
132
- let { children: t, elementsRef: n, labelsRef: r, onMapChange: i } = e, s = f(i), c = m.useRef(0), l = o(B).current, u = o(z).current, [d, p] = m.useState(0), g = m.useRef(d), _ = f((e, t) => {
133
- u.set(e, t ?? null), g.current += 1, p(g.current);
133
+ let { children: t, elementsRef: n, labelsRef: r, onMapChange: i } = e, a = f(i), o = m.useRef(0), s = p(B).current, c = p(z).current, [l, u] = m.useState(0), g = m.useRef(l), _ = f((e, t) => {
134
+ c.set(e, t ?? null), g.current += 1, u(g.current);
134
135
  }), v = f((e) => {
135
- u.delete(e), g.current += 1, p(g.current);
136
+ c.delete(e), g.current += 1, u(g.current);
136
137
  }), y = m.useMemo(() => {
137
138
  let e = /* @__PURE__ */ new Map();
138
- return Array.from(u.keys()).filter((e) => e.isConnected).sort(V).forEach((t, n) => {
139
- let r = u.get(t) ?? {};
139
+ return Array.from(c.keys()).filter((e) => e.isConnected).sort(V).forEach((t, n) => {
140
+ let r = c.get(t) ?? {};
140
141
  e.set(t, {
141
142
  ...r,
142
143
  index: n
143
144
  });
144
145
  }), e;
145
- }, [u, d]);
146
- a(() => {
146
+ }, [c, l]);
147
+ d(() => {
147
148
  if (typeof MutationObserver != "function" || y.size === 0) return;
148
149
  let e = new MutationObserver((e) => {
149
150
  let t = /* @__PURE__ */ new Set(), n = (e) => t.has(e) ? t.delete(e) : t.add(e);
150
151
  e.forEach((e) => {
151
152
  e.removedNodes.forEach(n), e.addedNodes.forEach(n);
152
- }), t.size === 0 && (g.current += 1, p(g.current));
153
+ }), t.size === 0 && (g.current += 1, u(g.current));
153
154
  });
154
155
  return y.forEach((t, n) => {
155
156
  n.parentElement && e.observe(n.parentElement, { childList: !0 });
156
157
  }), () => {
157
158
  e.disconnect();
158
159
  };
159
- }, [y]), a(() => {
160
- g.current === d && (n.current.length !== y.size && (n.current.length = y.size), r && r.current.length !== y.size && (r.current.length = y.size), c.current = y.size), s(y);
160
+ }, [y]), d(() => {
161
+ g.current === l && (n.current.length !== y.size && (n.current.length = y.size), r && r.current.length !== y.size && (r.current.length = y.size), o.current = y.size), a(y);
161
162
  }, [
162
- s,
163
+ a,
163
164
  y,
164
165
  n,
165
166
  r,
166
- d
167
- ]), a(() => () => {
167
+ l
168
+ ]), d(() => () => {
168
169
  n.current = [];
169
- }, [n]), a(() => () => {
170
+ }, [n]), d(() => () => {
170
171
  r && (r.current = []);
171
172
  }, [r]);
172
- let b = f((e) => (l.add(e), () => {
173
- l.delete(e);
173
+ let b = f((e) => (s.add(e), () => {
174
+ s.delete(e);
174
175
  }));
175
- a(() => {
176
- l.forEach((e) => e(y));
177
- }, [l, y]);
176
+ d(() => {
177
+ s.forEach((e) => e(y));
178
+ }, [s, y]);
178
179
  let x = m.useMemo(() => ({
179
180
  register: _,
180
181
  unregister: v,
181
182
  subscribeMapChange: b,
182
183
  elementsRef: n,
183
184
  labelsRef: r,
184
- nextIndexRef: c
185
+ nextIndexRef: o
185
186
  }), [
186
187
  _,
187
188
  v,
188
189
  b,
189
190
  n,
190
191
  r,
191
- c
192
+ o
192
193
  ]);
193
194
  return /*#__PURE__*/ (0, L.jsx)(h.Provider, {
194
195
  value: x,
@@ -238,9 +239,9 @@ function G(...e) {
238
239
  var K = class extends m.Component {
239
240
  getSnapshotBeforeUpdate(e) {
240
241
  let t = this.props.childRef.current;
241
- if (r(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
242
- let e = t.offsetParent, n = r(e) && e.offsetWidth || 0, i = r(e) && e.offsetHeight || 0, a = getComputedStyle(t), o = this.props.sizeRef.current;
243
- o.height = parseFloat(a.height), o.width = parseFloat(a.width), o.top = t.offsetTop, o.left = t.offsetLeft, o.right = n - o.width - o.left, o.bottom = i - o.height - o.top, o.direction = a.direction;
242
+ if (n(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
243
+ let e = t.offsetParent, r = n(e) && e.offsetWidth || 0, i = n(e) && e.offsetHeight || 0, a = getComputedStyle(t), o = this.props.sizeRef.current;
244
+ o.height = parseFloat(a.height), o.width = parseFloat(a.width), o.top = t.offsetTop, o.left = t.offsetLeft, o.right = r - o.width - o.left, o.bottom = i - o.height - o.top, o.direction = a.direction;
244
245
  }
245
246
  return null;
246
247
  }
@@ -250,7 +251,7 @@ var K = class extends m.Component {
250
251
  }
251
252
  };
252
253
  function q({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
253
- let o = (0, m.useId)(), s = (0, m.useRef)(null), c = (0, m.useRef)({
254
+ let o = (0, m.useId)(), c = (0, m.useRef)(null), l = (0, m.useRef)({
254
255
  width: 0,
255
256
  height: 0,
256
257
  top: 0,
@@ -258,50 +259,50 @@ function q({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
258
259
  right: 0,
259
260
  bottom: 0,
260
261
  direction: "ltr"
261
- }), { nonce: l } = (0, m.useContext)(u), d = G(s, e.props?.ref ?? e?.ref);
262
+ }), { nonce: u } = (0, m.useContext)(s), d = G(c, e.props?.ref ?? e?.ref);
262
263
  return (0, m.useInsertionEffect)(() => {
263
- let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
264
- if (t || a === !1 || !s.current || !e || !u) return;
264
+ let { width: e, height: s, top: d, left: f, right: p, bottom: m, direction: h } = l.current;
265
+ if (t || a === !1 || !c.current || !e || !s) return;
265
266
  let g = h === "rtl", _ = n === "left" ? g ? `right: ${p}` : `left: ${f}` : g ? `left: ${f}` : `right: ${p}`, v = r === "bottom" ? `bottom: ${m}` : `top: ${d}`;
266
- s.current.dataset.motionPopId = o;
267
+ c.current.dataset.motionPopId = o;
267
268
  let y = document.createElement("style");
268
- l && (y.nonce = l);
269
+ u && (y.nonce = u);
269
270
  let b = i ?? document.head;
270
271
  return b.appendChild(y), y.sheet && y.sheet.insertRule(`
271
272
  [data-motion-pop-id="${o}"] {
272
273
  position: absolute !important;
273
274
  width: ${e}px !important;
274
- height: ${u}px !important;
275
+ height: ${s}px !important;
275
276
  ${_}px !important;
276
277
  ${v}px !important;
277
278
  }
278
279
  `), () => {
279
- s.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
280
+ c.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
280
281
  };
281
282
  }, [t]), (0, L.jsx)(K, {
282
283
  isPresent: t,
283
- childRef: s,
284
- sizeRef: c,
284
+ childRef: c,
285
+ sizeRef: l,
285
286
  pop: a,
286
287
  children: a === !1 ? e : m.cloneElement(e, { ref: d })
287
288
  });
288
289
  }
289
290
  //#endregion
290
291
  //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
291
- var J = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: a, presenceAffectsLayout: o, mode: l, anchorX: u, anchorY: d, root: f }) => {
292
- let p = s(Y), h = (0, m.useId)(), g = (0, m.useRef)(n), _ = (0, m.useRef)(r);
293
- i(() => {
294
- g.current = n, _.current = r;
292
+ var J = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: s, presenceAffectsLayout: c, mode: l, anchorX: u, anchorY: d, root: f }) => {
293
+ let p = i(Y), h = (0, m.useId)(), g = (0, m.useRef)(n), _ = (0, m.useRef)(o);
294
+ r(() => {
295
+ g.current = n, _.current = o;
295
296
  });
296
297
  let v = !0, y = (0, m.useMemo)(() => (v = !1, {
297
298
  id: h,
298
299
  initial: t,
299
300
  isPresent: n,
300
- custom: a,
301
+ custom: s,
301
302
  onExitComplete: (e) => {
302
303
  p.set(e, !0);
303
304
  for (let e of p.values()) if (!e) return;
304
- r && r();
305
+ o && o();
305
306
  },
306
307
  register: (e) => (p.set(e, !1), () => {
307
308
  p.delete(e), !g.current && !p.size && _.current?.();
@@ -309,12 +310,12 @@ var J = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: a,
309
310
  }), [
310
311
  n,
311
312
  p,
312
- r
313
+ o
313
314
  ]);
314
- return o && v && (y = { ...y }), (0, m.useMemo)(() => {
315
+ return c && v && (y = { ...y }), (0, m.useMemo)(() => {
315
316
  p.forEach((e, t) => p.set(t, !1));
316
317
  }, [n]), m.useEffect(() => {
317
- !n && !p.size && r && r();
318
+ !n && !p.size && o && o();
318
319
  }, [n]), e = (0, L.jsx)(q, {
319
320
  pop: l === "popLayout",
320
321
  isPresent: n,
@@ -322,7 +323,7 @@ var J = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: a,
322
323
  anchorY: d,
323
324
  root: f,
324
325
  children: e
325
- }), (0, L.jsx)(c.Provider, {
326
+ }), (0, L.jsx)(a.Provider, {
326
327
  value: y,
327
328
  children: e
328
329
  });
@@ -341,9 +342,9 @@ function Z(e) {
341
342
  }
342
343
  //#endregion
343
344
  //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
344
- var Q = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: a = !0, mode: o = "sync", propagate: c = !1, anchorX: u = "left", anchorY: f = "top", root: p }) => {
345
- let [h, g] = d(c), _ = (0, m.useMemo)(() => Z(e), [e]), v = c && !h ? [] : _.map(X), y = (0, m.useRef)(!0), b = (0, m.useRef)(_), x = s(() => /* @__PURE__ */ new Map()), S = (0, m.useRef)(/* @__PURE__ */ new Set()), [C, w] = (0, m.useState)(_), [T, E] = (0, m.useState)(_);
346
- i(() => {
345
+ var Q = ({ children: e, custom: t, initial: n = !0, onExitComplete: a, presenceAffectsLayout: s = !0, mode: l = "sync", propagate: u = !1, anchorX: d = "left", anchorY: f = "top", root: p }) => {
346
+ let [h, g] = c(u), _ = (0, m.useMemo)(() => Z(e), [e]), v = u && !h ? [] : _.map(X), y = (0, m.useRef)(!0), b = (0, m.useRef)(_), x = i(() => /* @__PURE__ */ new Map()), S = (0, m.useRef)(/* @__PURE__ */ new Set()), [C, w] = (0, m.useState)(_), [T, E] = (0, m.useState)(_);
347
+ r(() => {
347
348
  y.current = !1, b.current = _;
348
349
  for (let e = 0; e < T.length; e++) {
349
350
  let t = X(T[e]);
@@ -361,32 +362,32 @@ var Q = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceA
361
362
  let n = T[t], r = X(n);
362
363
  v.includes(r) || (e.splice(t, 0, n), D.push(n));
363
364
  }
364
- return o === "wait" && D.length && (e = D), E(Z(e)), w(_), null;
365
+ return l === "wait" && D.length && (e = D), E(Z(e)), w(_), null;
365
366
  }
366
- process.env.NODE_ENV !== "production" && o === "wait" && T.length > 1 && 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.");
367
- let { forceRender: O } = (0, m.useContext)(l);
367
+ process.env.NODE_ENV !== "production" && l === "wait" && T.length > 1 && 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.");
368
+ let { forceRender: O } = (0, m.useContext)(o);
368
369
  return (0, L.jsx)(L.Fragment, { children: T.map((e) => {
369
- let i = X(e), s = c && !h ? !1 : _ === T || v.includes(i);
370
+ let r = X(e), i = u && !h ? !1 : _ === T || v.includes(r);
370
371
  return (0, L.jsx)(J, {
371
- isPresent: s,
372
+ isPresent: i,
372
373
  initial: !y.current || n ? void 0 : !1,
373
374
  custom: t,
374
- presenceAffectsLayout: a,
375
- mode: o,
375
+ presenceAffectsLayout: s,
376
+ mode: l,
376
377
  root: p,
377
- onExitComplete: s ? void 0 : () => {
378
- if (S.current.has(i)) return;
379
- if (x.has(i)) S.current.add(i), x.set(i, !0);
378
+ onExitComplete: i ? void 0 : () => {
379
+ if (S.current.has(r)) return;
380
+ if (x.has(r)) S.current.add(r), x.set(r, !0);
380
381
  else return;
381
382
  let e = !0;
382
383
  x.forEach((t) => {
383
384
  t || (e = !1);
384
- }), e && (O?.(), E(b.current), c && g?.(), r && r());
385
+ }), e && (O?.(), E(b.current), u && g?.(), a && a());
385
386
  },
386
- anchorX: u,
387
+ anchorX: d,
387
388
  anchorY: f,
388
389
  children: e
389
- }, i);
390
+ }, r);
390
391
  }) });
391
392
  };
392
393
  //#endregion