@mcp-use/inspector 20.0.0-beta.5 → 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 (196) hide show
  1. package/dist/cdn/{AnimatePresence-Dcw-FOy8.js → AnimatePresence-D1bZ5_-l.js} +79 -78
  2. package/dist/cdn/{ChatTab-B255lH5i.js → ChatTab-DtUGK07C.js} +1628 -1561
  3. package/dist/cdn/CheckboxIndicator-BjF73mGX.js +252 -0
  4. package/dist/cdn/{ConnectionSettingsForm-DF-NS58d.js → ConnectionSettingsForm-CNuMa6jp.js} +202 -202
  5. package/dist/cdn/{ConnectionSettingsTab-dI-Cqe79.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-B4H3Fek7.js → MCPAppsDebugControls-BpP-Ifap.js} +514 -550
  12. package/dist/cdn/{ManufactOAuthCallback-B98kSYCj.js → ManufactOAuthCallback-ChbbjFIT.js} +2 -2
  13. package/dist/cdn/{MarkdownRenderer-Ba7nA4Ie.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-Blc2Asxc.js → OAuthCallback--NZdLoWx.js} +3 -3
  17. package/dist/cdn/PromptsTab-BlXDcau3.js +902 -0
  18. package/dist/cdn/{ResourcesTab-BGualKW-.js → ResourcesTab-D45_JojP.js} +116 -114
  19. package/dist/cdn/{SamplingTab-BeZBUeni.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-j6n4O_3s.js → ToolsTab-DOAO8HnS.js} +664 -652
  23. package/dist/cdn/{ViewPreview-DihyG6Qd.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-DbX5yidW.js → dist-SxRsB1iS.js} +5 -4
  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-BajV-X4P.js → react-Bl-hSkvn.js} +628 -571
  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-DabTAQ8x.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-Btmh8wjJ.js → useConfig-leHVjdjl.js} +2 -2
  74. package/dist/cdn/{useSavedRequests-Ci2I919u.js → useSavedRequests-mSIsDd4c.js} +1 -1
  75. package/dist/cdn/{useViewHostProps-B6SKeeH9.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/MessageList.d.ts +1 -0
  85. package/dist/client/components/chat/MessageList.d.ts.map +1 -1
  86. package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
  87. package/dist/client/components/chat/partialToolArgs.d.ts +10 -0
  88. package/dist/client/components/chat/partialToolArgs.d.ts.map +1 -0
  89. package/dist/client/components/chat/types.d.ts +1 -0
  90. package/dist/client/components/chat/types.d.ts.map +1 -1
  91. package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
  92. package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
  93. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts +29 -0
  94. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts.map +1 -0
  95. package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
  96. package/dist/client/components/tools/ToolResultDisplay.d.ts +2 -1
  97. package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
  98. package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -1
  99. package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -1
  100. package/dist/client/components/ui/mesh-animation-pause.d.ts +14 -0
  101. package/dist/client/components/ui/mesh-animation-pause.d.ts.map +1 -0
  102. package/dist/client/components/ui/mesh-gradient-colors.d.ts +6 -0
  103. package/dist/client/components/ui/mesh-gradient-colors.d.ts.map +1 -0
  104. package/dist/client/components/ui/mesh-tab-background.d.ts +1 -1
  105. package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -1
  106. package/dist/client/components/ui/not-found.d.ts.map +1 -1
  107. package/dist/client/context/WidgetDebugContext.d.ts +1 -11
  108. package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
  109. package/dist/client/hooks/useDeviceViewport.d.ts +1 -5
  110. package/dist/client/hooks/useDeviceViewport.d.ts.map +1 -1
  111. package/dist/client/hooks/useViewHostProps.d.ts +1 -1
  112. package/dist/client/hooks/useViewHostProps.d.ts.map +1 -1
  113. package/dist/client/index.js +2238 -1935
  114. package/dist/client/utils/servers.d.ts +5 -0
  115. package/dist/client/utils/servers.d.ts.map +1 -1
  116. package/dist/server/cdn-shell.js +2 -2
  117. package/dist/server/{chunk-ZCGLU5T7.js → chunk-5GVQGIAX.js} +1 -1
  118. package/dist/server/{chunk-DSTNUYWX.js → chunk-UZZDBVKF.js} +1 -1
  119. package/dist/server/{chunk-SQ4XNMLT.js → chunk-VFVFLXKP.js} +1 -1
  120. package/dist/server/cli.js +2 -2
  121. package/dist/server/index.js +3 -3
  122. package/dist/server/middleware.js +3 -3
  123. package/dist/server/version.js +1 -1
  124. package/dist/web/assets/AnimatePresence-FfDQQNFJ.js +9 -0
  125. package/dist/web/assets/ChatTab-B6ubLbeA.js +18 -0
  126. package/dist/web/assets/ConnectionSettingsTab-Cb2eDgEu.js +1 -0
  127. package/dist/web/assets/ElicitationTab-CbnCrmu9.js +1 -0
  128. package/dist/web/assets/FormContext-sV-yByKz.js +1 -0
  129. package/dist/web/assets/ListTabHeader-CrGae306.js +1 -0
  130. package/dist/web/assets/MCPAppsDebugControls-sRglMhat.js +34 -0
  131. package/dist/web/assets/{ManufactOAuthCallback-CS3ydSZg.js → ManufactOAuthCallback-D4uYGigW.js} +1 -1
  132. package/dist/web/assets/{MarkdownRenderer-BeeBfQhv.js → MarkdownRenderer-Cwxp9fLj.js} +2 -2
  133. package/dist/web/assets/McpAppsViewPanel-jQYFoZNX.js +1 -0
  134. package/dist/web/assets/{NotificationsTab-Uj0_DrmK.js → NotificationsTab-DuSm762_.js} +1 -1
  135. package/dist/web/assets/{OAuthCallback-C0ljgCiw.js → OAuthCallback-VLHlUe2c.js} +1 -1
  136. package/dist/web/assets/PromptsTab-DK6XZxR8.js +15 -0
  137. package/dist/web/assets/ResourcesTab-CUE4MAtJ.js +2 -0
  138. package/dist/web/assets/SamplingTab-BYNkVCTu.js +1 -0
  139. package/dist/web/assets/ServerMetadataTab-DWjNFMbq.js +1 -0
  140. package/dist/web/assets/ToolsTab-BisWWY2p.js +8 -0
  141. package/dist/web/assets/{ViewPreview-Ba1Ec5uA.js → ViewPreview-COrmPpRr.js} +1 -1
  142. package/dist/web/assets/WidgetWrapper-cv_BM1bY.js +1 -0
  143. package/dist/web/assets/{brush--0LobUi4.js → brush-DX0UZ_pI.js} +1 -1
  144. package/dist/web/assets/button-C8Xa2k4x.js +1 -0
  145. package/dist/web/assets/checkbox-B6dtF73d.js +1 -0
  146. package/dist/web/assets/code-B14rVdNt.js +1 -0
  147. package/dist/web/assets/createLucideIcon-BEHeJH0M.js +1 -0
  148. package/dist/web/assets/{dist-C5JjLJN9.js → dist-9Oy7e0v8.js} +5 -5
  149. package/dist/web/assets/index-BMaSsizY.js +499 -0
  150. package/dist/web/assets/index-D7TVTIt9.css +1 -0
  151. package/dist/web/assets/input-C0OQCUZy.js +1 -0
  152. package/dist/web/assets/{label-Cdim77Jw.js → label-CI7JWQOo.js} +1 -1
  153. package/dist/web/assets/{maximize-2-BTT9QQU9.js → maximize-2-Br1WQzT2.js} +1 -1
  154. package/dist/web/assets/{maximize-_O55kFcr.js → maximize-CJNgRe6S.js} +1 -1
  155. package/dist/web/assets/{refresh-cw-C9wQl8_d.js → refresh-cw-B5iaAZKn.js} +1 -1
  156. package/dist/web/assets/{save-B-MsgxX9.js → save-TM6fvNrt.js} +1 -1
  157. package/dist/web/assets/select-D6jzbLJn.js +1 -0
  158. package/dist/web/assets/shared-CFs9CZfB.js +1 -0
  159. package/dist/web/assets/{sparkles-2OAsc1aP.js → sparkles-BGYTDThM.js} +1 -1
  160. package/dist/web/assets/tabs-subtle-D2XkWhLL.js +1 -0
  161. package/dist/web/assets/textarea-CRTXuRmE.js +1 -0
  162. package/dist/web/assets/{useConfig-BAgALiZg.js → useConfig-B6tXvJOb.js} +1 -1
  163. package/dist/web/assets/useViewHostProps-DZqOwiAm.js +1 -0
  164. package/dist/web/assets/{zap-Du2Uc5pa.js → zap-BDWHCVHU.js} +1 -1
  165. package/dist/web/index.html +10 -10
  166. package/package.json +4 -4
  167. package/dist/cdn/CheckboxIndicator-Bt4IICtv.js +0 -251
  168. package/dist/cdn/PromptsTab-BYKnY7Rp.js +0 -901
  169. package/dist/cdn/card-DgiYnSg-.js +0 -41
  170. package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
  171. package/dist/cdn/providerMeta-BQIfHuNL.js +0 -379
  172. package/dist/cdn/spinner-jQtC7EBj.js +0 -15
  173. package/dist/web/assets/AnimatePresence-C5p0yiY1.js +0 -9
  174. package/dist/web/assets/ChatTab-BCobuZDc.js +0 -18
  175. package/dist/web/assets/ConnectionSettingsTab-BjGkLwVu.js +0 -1
  176. package/dist/web/assets/ElicitationTab-D3ZUKHND.js +0 -1
  177. package/dist/web/assets/FormContext-DH2caWKO.js +0 -1
  178. package/dist/web/assets/ListTabHeader-R17w_JsB.js +0 -1
  179. package/dist/web/assets/PromptsTab-Bns2u0G-.js +0 -15
  180. package/dist/web/assets/ResourcesTab-CO24312V.js +0 -2
  181. package/dist/web/assets/SamplingTab-7gtN7FwU.js +0 -1
  182. package/dist/web/assets/ServerMetadataTab-CQwqYSjL.js +0 -1
  183. package/dist/web/assets/ToolsTab-bDdRxI1b.js +0 -8
  184. package/dist/web/assets/WidgetWrapper-CYHfzrtb.js +0 -34
  185. package/dist/web/assets/checkbox-CzBkaNKa.js +0 -1
  186. package/dist/web/assets/code-tME-5H6D.js +0 -1
  187. package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
  188. package/dist/web/assets/index-TQ5V7cM9.js +0 -492
  189. package/dist/web/assets/index-fBX3akc8.css +0 -1
  190. package/dist/web/assets/input-CLYhA7PK.js +0 -1
  191. package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
  192. package/dist/web/assets/select-CJ57-Bor.js +0 -1
  193. package/dist/web/assets/shared-BF0rJNdE.js +0 -1
  194. package/dist/web/assets/tabs-subtle-6D79T1xd.js +0 -1
  195. package/dist/web/assets/textarea-DLAmNVf_.js +0 -1
  196. package/dist/web/assets/useViewHostProps-BYitt_6K.js +0 -1
@@ -1,9 +1,10 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { $t as n, An as r, Ar as i, Bt as a, Cn as o, Dt as s, En as c, Er as l, Et as u, Fn as d, Ft as f, Ht as p, In as m, J as h, Jt as g, Kn as _, Ln as v, Lr as y, Lt as b, Mn as x, Mr as S, Mt as ee, Nn as C, Nr as w, On as te, Or as T, Pt as E, Qt as D, Rr as O, Sn as ne, Sr as k, Tn as A, Tr as j, Tt as M, Un as N, Ut as re, Vt as ie, Wt as ae, X as oe, Xt as P, Yn as F, Yt as I, Z as L, Zt as R, _n as z, _r as B, an as V, bn as H, br as U, bt as se, cn as ce, dn as le, dr as ue, en as de, er as fe, f as W, fn as pe, fr as me, gn as he, gr as ge, hn as _e, hr as ve, in as ye, ir as be, jn as xe, jt as Se, kn as Ce, kr as G, ln as we, mn as K, mr as q, nn as Te, nt as Ee, o as De, on as Oe, or as ke, pn as Ae, pr as je, q as Me, qn as Ne, qt as Pe, rn as Fe, rr as Ie, s as Le, sn as Re, st as ze, tn as Be, tr as Ve, un as He, vn as Ue, wn as We, wr as J, wt as Y, xn as Ge, xr as Ke, xt as X, yn as qe, zn as Je, zr as Ye, zt as Xe } from "./input-C2OBd4PJ.js";
3
- import { t as Ze } from "./jsx-runtime-CIxvMpEo.js";
4
- import { n as Qe } from "./label-B9Jmm9be.js";
5
- import { b as $e, l as et, n as tt, r as nt, t as rt, y as it } from "./AnimatePresence-Dcw-FOy8.js";
6
- import { c as at, i as ot, l as st, o as ct, r as lt, t as ut } from "./FormContext-tmgN_Vdr.js";
2
+ import { $t as n, An as r, Bt as i, Cn as a, Dt as o, En as s, Et as c, Fn as l, Ft as u, Ht as d, In as f, J as p, Jt as m, Kn as h, Ln as g, Lt as _, Mn as v, Mt as y, Nn as b, On as x, Pt as S, Qt as ee, Sn as C, Tn as w, Tt as T, Un as E, Ut as te, Vt as D, Wt as O, X as k, Xt as A, Yn as j, Yt as M, Z as N, Zt as ne, _n as re, an as ie, bn as P, bt as F, cn as I, dn as ae, en as L, er as R, f as z, fn as B, gn as V, hn as oe, in as H, ir as se, jn as ce, jt as le, kn as ue, ln as de, mn as U, nn as fe, nt as pe, o as me, on as W, or as he, pn as ge, q as _e, qn as ve, qt as ye, rn as be, rr as xe, s as Se, sn as Ce, st as we, tn as Te, tr as G, un as Ee, vn as K, wn as De, wt as q, xn as Oe, xt as J, yn as ke, zn as Ae, zt as je } from "./input-BCpgLXU1.js";
3
+ import { n as Me } from "./createLucideIcon-BONxC1L5.js";
4
+ import { F as Ne, H as Pe, I as Fe, M as Ie, T as Le, U as Re, W as ze, a as Be, c as Ve, d as He, g as Y, h as Ue, j as We, k as Ge, l as Ke, m as qe, o as Je, s as Ye, u as Xe, v as X, y as Ze } from "./button-CB4uOoUV.js";
5
+ import { n as Qe } from "./label-A0UGV8FE.js";
6
+ import { b as $e, l as et, n as tt, r as nt, t as rt, y as it } from "./AnimatePresence-D1bZ5_-l.js";
7
+ import { c as at, i as ot, l as st, o as ct, r as lt, t as ut } from "./FormContext-NtUiZclE.js";
7
8
  //#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/floating-ui-react/utils/enqueueFocus.mjs
8
9
  var Z = /* @__PURE__ */ e(t(), 1), dt = 0;
9
10
  function ft(e, t = {}) {
@@ -12,7 +13,7 @@ function ft(e, t = {}) {
12
13
  function a() {
13
14
  i && !i() || e?.focus({ preventScroll: n });
14
15
  }
15
- if (r) return a(), q;
16
+ if (r) return a(), Ve;
16
17
  let o = requestAnimationFrame(a);
17
18
  return dt = o, () => {
18
19
  dt === o && (cancelAnimationFrame(o), dt = 0);
@@ -31,7 +32,7 @@ function vt(e) {
31
32
  return ht[e];
32
33
  }
33
34
  function yt(e) {
34
- return e ? w(e) ? e.host : yt(e.parentNode) : null;
35
+ return e ? Fe(e) ? e.host : yt(e.parentNode) : null;
35
36
  }
36
37
  var bt = (e, t) => t.map((t) => {
37
38
  if (e.contains(t)) return t;
@@ -46,7 +47,7 @@ var bt = (e, t) => t.map((t) => {
46
47
  }, St = (e, t, n) => {
47
48
  let r = [], i = (e) => {
48
49
  !e || n.has(e) || Array.from(e.children).forEach((e) => {
49
- l(e) !== "script" && (t.has(e) ? i(e) : r.push(e));
50
+ Le(e) !== "script" && (t.has(e) ? i(e) : r.push(e));
50
51
  });
51
52
  };
52
53
  return i(e), r;
@@ -78,14 +79,14 @@ function Ct(e, t, n, r, { mark: i = !0 }) {
78
79
  };
79
80
  }
80
81
  function wt(e, t = {}) {
81
- let { ariaHidden: n = !1, inert: r = !1, mark: i = !0 } = t, a = Oe(e[0]).body;
82
+ let { ariaHidden: n = !1, inert: r = !1, mark: i = !0 } = t, a = W(e[0]).body;
82
83
  return Ct(e, a, n, r, { mark: i });
83
84
  }
84
85
  //#endregion
85
86
  //#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/floating-ui-react/components/FloatingFocusManager.mjs
86
- var Q = Ze();
87
+ var Q = Me();
87
88
  function Tt(e, t) {
88
- let n = T(_e(e));
89
+ let n = Ge(oe(e));
89
90
  return e instanceof n.KeyboardEvent ? "keyboard" : e instanceof n.FocusEvent ? t || "keyboard" : "pointerType" in e ? e.pointerType || "keyboard" : "touches" in e ? "touch" : e instanceof n.MouseEvent ? t || (e.detail === 0 ? "keyboard" : "mouse") : "";
90
91
  }
91
92
  var Et = 20, Dt = [];
@@ -93,278 +94,278 @@ function Ot() {
93
94
  Dt = Dt.filter((e) => e.deref()?.isConnected);
94
95
  }
95
96
  function kt(e) {
96
- Ot(), e && l(e) !== "body" && (Dt.push(new WeakRef(e)), Dt.length > Et && (Dt = Dt.slice(-20)));
97
+ Ot(), e && Le(e) !== "body" && (Dt.push(new WeakRef(e)), Dt.length > Et && (Dt = Dt.slice(-20)));
97
98
  }
98
99
  function At() {
99
100
  return Ot(), Dt[Dt.length - 1]?.deref();
100
101
  }
101
102
  function jt(e) {
102
- return e ? g(e) ? e : I(e)[0] || e : null;
103
+ return e ? m(e) ? e : M(e)[0] || e : null;
103
104
  }
104
105
  function Mt(e) {
105
106
  if (e.hasAttribute("tabindex") && !e.hasAttribute("data-tabindex") || !e.getAttribute("role")?.includes("dialog")) return;
106
- let t = p(e).filter((e) => {
107
+ let t = d(e).filter((e) => {
107
108
  let t = e.getAttribute("data-tabindex") || "";
108
- return g(e) || e.hasAttribute("data-tabindex") && !t.startsWith("-");
109
+ return m(e) || e.hasAttribute("data-tabindex") && !t.startsWith("-");
109
110
  }), n = e.getAttribute("tabindex");
110
111
  t.length === 0 ? n !== "0" && (e.setAttribute("tabindex", "0"), e.setAttribute("data-tabindex", "0")) : (n !== "-1" || e.hasAttribute("data-tabindex") && e.getAttribute("data-tabindex") !== "-1") && (e.setAttribute("tabindex", "-1"), e.setAttribute("data-tabindex", "-1"));
111
112
  }
112
113
  function Nt(e) {
113
- let { context: t, children: r, disabled: s = !1, initialFocus: c = !0, returnFocus: u = !0, restoreFocus: d = !1, modal: p = !0, closeOnFocusOut: h = !0, openInteractionType: _ = "", nextFocusableElement: v, previousFocusableElement: y, beforeContentFocusGuardRef: b, externalTree: S, getInsideElements: C } = e, w = "rootStore" in t ? t.rootStore : t, T = w.useState("open"), E = w.useState("domReferenceElement"), D = w.useState("floatingElement"), { events: O, dataRef: j } = w.context, M = J(() => j.current.floatingContext?.nodeId), oe = c === !1, P = le(E) && oe, F = Re(c), L = Re(u), R = Re(_), z = Re(T), B = ee(S), V = f(), H = Z.useRef(!1), U = Z.useRef(!1), se = Z.useRef(!1), ue = Z.useRef(null), de = Z.useRef(""), fe = Z.useRef(""), W = Z.useRef(null), me = Z.useRef(null), he = ge(W, b, V?.beforeInsideRef), ve = ge(me, V?.afterInsideRef), ye = A(), be = A(), Se = xe(), Ce = V != null, G = He(D), q = J((e = G) => e ? I(e) : []), Te = J(() => C?.().filter((e) => e != null) ?? []);
114
+ let { context: t, children: r, disabled: o = !1, initialFocus: s = !0, returnFocus: c = !0, restoreFocus: l = !1, modal: d = !0, closeOnFocusOut: p = !0, openInteractionType: h = "", nextFocusableElement: g, previousFocusableElement: _, beforeContentFocusGuardRef: b, externalTree: S, getInsideElements: ee } = e, T = "rootStore" in t ? t.rootStore : t, k = T.useState("open"), A = T.useState("domReferenceElement"), j = T.useState("floatingElement"), { events: N, dataRef: ne } = T.context, re = X(() => ne.current.floatingContext?.nodeId), ie = s === !1, P = ae(A) && ie, F = Ce(s), L = Ce(c), R = Ce(h), z = Ce(k), V = y(S), H = u(), se = Z.useRef(!1), le = Z.useRef(!1), ue = Z.useRef(!1), fe = Z.useRef(null), pe = Z.useRef(""), me = Z.useRef(""), he = Z.useRef(null), _e = Z.useRef(null), ve = Xe(he, b, H?.beforeInsideRef), xe = Xe(_e, H?.afterInsideRef), Se = w(), we = w(), Te = ce(), G = H != null, K = Ee(j), De = X((e = K) => e ? M(e) : []), q = X(() => ee?.().filter((e) => e != null) ?? []);
114
115
  Z.useEffect(() => {
115
- if (s || !p) return;
116
+ if (o || !d) return;
116
117
  function e(e) {
117
- e.key === "Tab" && K(G, Ae(Oe(G))) && q().length === 0 && !P && o(e);
118
+ e.key === "Tab" && U(K, ge(W(K))) && De().length === 0 && !P && a(e);
118
119
  }
119
- return we(Oe(G), "keydown", e);
120
+ return de(W(K), "keydown", e);
120
121
  }, [
121
- s,
122
- G,
123
- p,
122
+ o,
123
+ K,
124
+ d,
124
125
  P,
125
- q
126
+ De
126
127
  ]), Z.useEffect(() => {
127
- if (s || !T) return;
128
- let e = Oe(G);
128
+ if (o || !k) return;
129
+ let e = W(K);
129
130
  function t() {
130
- se.current = !1;
131
+ ue.current = !1;
131
132
  }
132
133
  function n(e) {
133
- let t = _e(e), n = Te();
134
- se.current = !(K(D, t) || K(E, t) || K(V?.portalNode, t) || n.some((e) => e === t || K(e, t))), fe.current = e.pointerType || "keyboard", t?.closest("[data-base-ui-click-trigger]") && (U.current = !0, be.start(0, () => {
135
- U.current = !1;
134
+ let t = oe(e), n = q();
135
+ ue.current = !(U(j, t) || U(A, t) || U(H?.portalNode, t) || n.some((e) => e === t || U(e, t))), me.current = e.pointerType || "keyboard", t?.closest("[data-base-ui-click-trigger]") && (le.current = !0, we.start(0, () => {
136
+ le.current = !1;
136
137
  }));
137
138
  }
138
139
  function r() {
139
- fe.current = "keyboard";
140
+ me.current = "keyboard";
140
141
  }
141
- return ce(we(e, "pointerdown", n, !0), we(e, "pointerup", t, !0), we(e, "pointercancel", t, !0), we(e, "keydown", r, !0), t);
142
+ return I(de(e, "pointerdown", n, !0), de(e, "pointerup", t, !0), de(e, "pointercancel", t, !0), de(e, "keydown", r, !0), t);
142
143
  }, [
143
- s,
144
- D,
145
- E,
146
- G,
147
- T,
148
- V,
149
- be,
150
- Te
144
+ o,
145
+ j,
146
+ A,
147
+ K,
148
+ k,
149
+ H,
150
+ we,
151
+ q
151
152
  ]), Z.useEffect(() => {
152
- if (s || !h) return;
153
- let e = Oe(G);
153
+ if (o || !p) return;
154
+ let e = W(K);
154
155
  function t() {
155
- U.current = !0, be.start(0, () => {
156
- U.current = !1;
156
+ le.current = !0, we.start(0, () => {
157
+ le.current = !1;
157
158
  });
158
159
  }
159
160
  function r(e) {
160
- let t = _e(e);
161
- g(t) && (ue.current = t);
161
+ let t = oe(e);
162
+ m(t) && (fe.current = t);
162
163
  }
163
- function o(t) {
164
- let r = t.relatedTarget, o = t.currentTarget, s = _e(t);
165
- p && r == null && s != null && K(D, s) && kt(s), queueMicrotask(() => {
166
- let c = M(), l = w.context.triggerElements, u = Te(), f = r?.hasAttribute(Xe("focus-guard")) && [
167
- W.current,
168
- me.current,
169
- V?.beforeInsideRef.current,
170
- V?.afterInsideRef.current,
171
- V?.beforeOutsideRef.current,
172
- V?.afterOutsideRef.current,
173
- te(y),
174
- te(v)
175
- ].includes(r), m = !(K(E, r) || K(D, r) || K(r, D) || K(V?.portalNode, r) || u.some((e) => e === r || K(e, r)) || r != null && l.hasElement(r) || l.hasMatchingElement((e) => K(e, r)) || f || B && (ie(B.nodesRef.current, c).find((e) => K(e.context?.elements.floating, r) || K(e.context?.elements.domReference, r)) || a(B.nodesRef.current, c).find((e) => [e.context?.elements.floating, He(e.context?.elements.floating)].includes(r) || e.context?.elements.domReference === r)));
176
- if (o === E && G && Mt(G), d && o !== E && !n(s) && Ae(e) === e.body) {
177
- if (i(G) && (G.focus(), d === "popup")) {
178
- Se.request(() => {
179
- G.focus();
164
+ function a(t) {
165
+ let r = t.relatedTarget, a = t.currentTarget, o = oe(t);
166
+ d && r == null && o != null && U(j, o) && kt(o), queueMicrotask(() => {
167
+ let s = re(), c = T.context.triggerElements, u = q(), f = r?.hasAttribute(je("focus-guard")) && [
168
+ he.current,
169
+ _e.current,
170
+ H?.beforeInsideRef.current,
171
+ H?.afterInsideRef.current,
172
+ H?.beforeOutsideRef.current,
173
+ H?.afterOutsideRef.current,
174
+ x(_),
175
+ x(g)
176
+ ].includes(r), p = !(U(A, r) || U(j, r) || U(r, j) || U(H?.portalNode, r) || u.some((e) => e === r || U(e, r)) || r != null && c.hasElement(r) || c.hasMatchingElement((e) => U(e, r)) || f || V && (D(V.nodesRef.current, s).find((e) => U(e.context?.elements.floating, r) || U(e.context?.elements.domReference, r)) || i(V.nodesRef.current, s).find((e) => [e.context?.elements.floating, Ee(e.context?.elements.floating)].includes(r) || e.context?.elements.domReference === r)));
177
+ if (a === A && K && Mt(K), l && a !== A && !n(o) && ge(e) === e.body) {
178
+ if (Ie(K) && (K.focus(), l === "popup")) {
179
+ Te.request(() => {
180
+ K.focus();
180
181
  });
181
182
  return;
182
183
  }
183
- let e = q(), t = ue.current, n = (t && e.includes(t) ? t : null) || e[e.length - 1] || G;
184
- i(n) && n.focus();
184
+ let e = De(), t = fe.current, n = (t && e.includes(t) ? t : null) || e[e.length - 1] || K;
185
+ Ie(n) && n.focus();
185
186
  }
186
- if (j.current.insideReactTree) {
187
- j.current.insideReactTree = !1;
187
+ if (ne.current.insideReactTree) {
188
+ ne.current.insideReactTree = !1;
188
189
  return;
189
190
  }
190
- (P || !p) && r && m && !U.current && (P || r !== At()) && (H.current = !0, w.setOpen(!1, x(N, t)));
191
+ (P || !d) && r && p && !le.current && (P || r !== At()) && (se.current = !0, T.setOpen(!1, v(E, t)));
191
192
  });
192
193
  }
193
- function c() {
194
- se.current || (j.current.insideReactTree = !0, ye.start(0, () => {
195
- j.current.insideReactTree = !1;
194
+ function s() {
195
+ ue.current || (ne.current.insideReactTree = !0, Se.start(0, () => {
196
+ ne.current.insideReactTree = !1;
196
197
  }));
197
198
  }
198
- let l = i(E) ? E : null;
199
- if (!(!D && !l)) return ce(l && we(l, "focusout", o), l && we(l, "pointerdown", t), D && we(D, "focusin", r), D && we(D, "focusout", o), D && V && we(D, "focusout", c, !0));
199
+ let c = Ie(A) ? A : null;
200
+ if (!(!j && !c)) return I(c && de(c, "focusout", a), c && de(c, "pointerdown", t), j && de(j, "focusin", r), j && de(j, "focusout", a), j && H && de(j, "focusout", s, !0));
200
201
  }, [
201
- s,
202
- E,
203
- D,
204
- G,
205
- p,
206
- B,
207
- V,
208
- w,
209
- h,
202
+ o,
203
+ A,
204
+ j,
205
+ K,
210
206
  d,
211
- q,
207
+ V,
208
+ H,
209
+ T,
210
+ p,
211
+ l,
212
+ De,
212
213
  P,
213
- M,
214
- j,
215
- ye,
216
- be,
214
+ re,
215
+ ne,
217
216
  Se,
218
- v,
219
- y,
220
- Te
217
+ we,
218
+ Te,
219
+ g,
220
+ _,
221
+ q
221
222
  ]), Z.useEffect(() => {
222
- if (s || !D || !T) return;
223
- let e = Array.from(V?.portalNode?.querySelectorAll(`[${Xe("portal")}]`) || []), t = (B ? a(B.nodesRef.current, M()) : []).find((e) => le(e.context?.elements.domReference || null))?.context?.elements.domReference, n = wt([
224
- D,
223
+ if (o || !j || !k) return;
224
+ let e = Array.from(H?.portalNode?.querySelectorAll(`[${je("portal")}]`) || []), t = (V ? i(V.nodesRef.current, re()) : []).find((e) => ae(e.context?.elements.domReference || null))?.context?.elements.domReference, n = wt([
225
+ j,
225
226
  ...e,
226
- W.current,
227
- me.current,
228
- V?.beforeOutsideRef.current,
229
- V?.afterOutsideRef.current,
230
- ...Te(),
227
+ he.current,
228
+ _e.current,
229
+ H?.beforeOutsideRef.current,
230
+ H?.afterOutsideRef.current,
231
+ ...q(),
231
232
  t,
232
- te(y),
233
- te(v),
234
- P ? E : null
233
+ x(_),
234
+ x(g),
235
+ P ? A : null
235
236
  ].filter((e) => e != null), {
236
- ariaHidden: p || P,
237
+ ariaHidden: d || P,
237
238
  mark: !1
238
- }), r = wt([D, ...e].filter((e) => e != null));
239
+ }), r = wt([j, ...e].filter((e) => e != null));
239
240
  return () => {
240
241
  r(), n();
241
242
  };
242
243
  }, [
243
- T,
244
- s,
245
- E,
246
- D,
247
- p,
248
- V,
244
+ k,
245
+ o,
246
+ A,
247
+ j,
248
+ d,
249
+ H,
249
250
  P,
250
- B,
251
- M,
252
- v,
253
- y,
254
- Te
255
- ]), k(() => {
256
- if (!T || s || !i(G)) return;
257
- let e = Oe(G), t = Ae(e);
251
+ V,
252
+ re,
253
+ g,
254
+ _,
255
+ q
256
+ ]), Y(() => {
257
+ if (!k || o || !Ie(K)) return;
258
+ let e = W(K), t = ge(e);
258
259
  queueMicrotask(() => {
259
260
  let n = F.current, r = typeof n == "function" ? n(R.current || "") : n;
260
- if (r === void 0 || r === !1 || K(G, t)) return;
261
- let i = null, a = () => (i ??= q(G), i[0] || G), o;
262
- o = r === !0 || r === null ? a() : te(r), o ||= a();
263
- let s = K(G, Ae(e));
261
+ if (r === void 0 || r === !1 || U(K, t)) return;
262
+ let i = null, a = () => (i ??= De(K), i[0] || K), o;
263
+ o = r === !0 || r === null ? a() : x(r), o ||= a();
264
+ let s = U(K, ge(e));
264
265
  ft(o, {
265
- preventScroll: o === G,
266
+ preventScroll: o === K,
266
267
  shouldFocus() {
267
268
  if (!z.current) return !1;
268
269
  if (s) return !0;
269
- let t = Ae(e);
270
- return !(t !== o && K(G, t));
270
+ let t = ge(e);
271
+ return !(t !== o && U(K, t));
271
272
  }
272
273
  });
273
274
  });
274
275
  }, [
275
- s,
276
- T,
277
- G,
278
- q,
276
+ o,
277
+ k,
278
+ K,
279
+ De,
279
280
  F,
280
281
  R,
281
282
  z
282
- ]), k(() => {
283
- if (s || !G) return;
284
- let e = Oe(G), t = Ae(e), n = R.current == null;
283
+ ]), Y(() => {
284
+ if (o || !K) return;
285
+ let e = W(K), t = ge(e), n = R.current == null;
285
286
  kt(t);
286
287
  function r(e) {
287
- if (e.open || (de.current = Tt(e.nativeEvent, fe.current)), e.reason === "trigger-hover" && e.nativeEvent.type === "mouseleave" && (H.current = !0), e.reason === "outside-press") if (e.nested) H.current = !1;
288
- else if (Ge(e.nativeEvent) || ne(e.nativeEvent)) H.current = !1;
288
+ if (e.open || (pe.current = Tt(e.nativeEvent, me.current)), e.reason === "trigger-hover" && e.nativeEvent.type === "mouseleave" && (se.current = !0), e.reason === "outside-press") if (e.nested) se.current = !1;
289
+ else if (Oe(e.nativeEvent) || C(e.nativeEvent)) se.current = !1;
289
290
  else {
290
291
  let e = !1;
291
- Oe(G).createElement("div").focus({ get preventScroll() {
292
+ W(K).createElement("div").focus({ get preventScroll() {
292
293
  return e = !0, !1;
293
- } }), e ? H.current = !1 : H.current = !0;
294
+ } }), e ? se.current = !1 : se.current = !0;
294
295
  }
295
296
  }
296
- O.on("openchange", r);
297
- function a() {
298
- let e = L.current, r = typeof e == "function" ? e(de.current) : e;
297
+ N.on("openchange", r);
298
+ function i() {
299
+ let e = L.current, r = typeof e == "function" ? e(pe.current) : e;
299
300
  if (r === void 0 || r === !1) return null;
300
301
  r === null && (r = !0);
301
- let i = E?.isConnected ? E : null, a = t?.isConnected && l(t) !== "body" ? t : null, o = n ? a || i : i || a;
302
- return o ||= At() || null, typeof r == "boolean" ? o : te(r) || o || null;
302
+ let i = A?.isConnected ? A : null, a = t?.isConnected && Le(t) !== "body" ? t : null, o = n ? a || i : i || a;
303
+ return o ||= At() || null, typeof r == "boolean" ? o : x(r) || o || null;
303
304
  }
304
305
  return () => {
305
- O.off("openchange", r);
306
- let t = Ae(e), n = Te(), o = K(D, t) || n.some((e) => e === t || K(e, t)) || B && ie(B.nodesRef.current, M(), !1).some((e) => K(e.context?.elements.floating, t)), s = L.current, c = a();
306
+ N.off("openchange", r);
307
+ let t = ge(e), n = q(), a = U(j, t) || n.some((e) => e === t || U(e, t)) || V && D(V.nodesRef.current, re(), !1).some((e) => U(e.context?.elements.floating, t)), o = L.current, s = i();
307
308
  queueMicrotask(() => {
308
- let n = jt(c), r = typeof s != "boolean";
309
- s && !H.current && i(n) && (!(!r && n !== t && t !== e.body) || o) && n.focus({ preventScroll: !0 }), H.current = !1;
309
+ let n = jt(s), r = typeof o != "boolean";
310
+ o && !se.current && Ie(n) && (!(!r && n !== t && t !== e.body) || a) && n.focus({ preventScroll: !0 }), se.current = !1;
310
311
  });
311
312
  };
312
313
  }, [
313
- s,
314
- D,
315
- G,
314
+ o,
315
+ j,
316
+ K,
316
317
  L,
317
318
  R,
318
- O,
319
- B,
320
- E,
321
- M,
322
- Te
323
- ]), k(() => {
324
- if (!m || T || !D) return;
325
- let e = Ae(Oe(D));
326
- !i(e) || !pe(e) || K(D, e) && e.blur();
327
- }, [T, D]), k(() => {
328
- if (!(s || !V)) return V.setFocusManagerState({
329
- modal: p,
330
- closeOnFocusOut: h,
331
- open: T,
332
- onOpenChange: w.setOpen,
333
- domReference: E
319
+ N,
320
+ V,
321
+ A,
322
+ re,
323
+ q
324
+ ]), Y(() => {
325
+ if (!f || k || !j) return;
326
+ let e = ge(W(j));
327
+ !Ie(e) || !B(e) || U(j, e) && e.blur();
328
+ }, [k, j]), Y(() => {
329
+ if (!(o || !H)) return H.setFocusManagerState({
330
+ modal: d,
331
+ closeOnFocusOut: p,
332
+ open: k,
333
+ onOpenChange: T.setOpen,
334
+ domReference: A
334
335
  }), () => {
335
- V.setFocusManagerState(null);
336
+ H.setFocusManagerState(null);
336
337
  };
337
338
  }, [
338
- s,
339
- V,
340
- p,
339
+ o,
340
+ H,
341
+ d,
342
+ k,
341
343
  T,
342
- w,
343
- h,
344
- E
345
- ]), k(() => {
346
- if (!(s || !G)) return Mt(G), () => {
344
+ p,
345
+ A
346
+ ]), Y(() => {
347
+ if (!(o || !K)) return Mt(K), () => {
347
348
  queueMicrotask(Ot);
348
349
  };
349
- }, [s, G]);
350
- let Ee = !s && (p ? !P : !0) && (Ce || p);
350
+ }, [o, K]);
351
+ let J = !o && (d ? !P : !0) && (G || d);
351
352
  return /*#__PURE__*/ (0, Q.jsxs)(Z.Fragment, { children: [
352
- Ee && /*#__PURE__*/ (0, Q.jsx)(Fe, {
353
+ J && /*#__PURE__*/ (0, Q.jsx)(be, {
353
354
  "data-type": "inside",
354
- ref: he,
355
+ ref: ve,
355
356
  onFocus: (e) => {
356
- if (p) {
357
- let e = q();
357
+ if (d) {
358
+ let e = De();
358
359
  ft(e[e.length - 1]);
359
- } else V?.portalNode && (H.current = !1, Pe(e, V.portalNode) ? re(E)?.focus() : te(y ?? V.beforeOutsideRef)?.focus());
360
+ } else H?.portalNode && (se.current = !1, ye(e, H.portalNode) ? te(A)?.focus() : x(_ ?? H.beforeOutsideRef)?.focus());
360
361
  }
361
362
  }),
362
363
  r,
363
- Ee && /*#__PURE__*/ (0, Q.jsx)(Fe, {
364
+ J && /*#__PURE__*/ (0, Q.jsx)(be, {
364
365
  "data-type": "inside",
365
- ref: ve,
366
+ ref: xe,
366
367
  onFocus: (e) => {
367
- p ? ft(q()[0]) : V?.portalNode && (h && (H.current = !0), Pe(e, V.portalNode) ? ae(E)?.focus() : te(v ?? V.afterOutsideRef)?.focus());
368
+ d ? ft(De()[0]) : H?.portalNode && (p && (se.current = !0), ye(e, H.portalNode) ? O(A)?.focus() : x(g ?? H.afterOutsideRef)?.focus());
368
369
  }
369
370
  })
370
371
  ] });
@@ -372,9 +373,9 @@ function Nt(e) {
372
373
  //#endregion
373
374
  //#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/floating-ui-react/hooks/useClick.mjs
374
375
  function Pt(e, t = {}) {
375
- let { enabled: n = !0, event: r = "click", toggle: i = !0, ignoreMouse: a = !1, stickIfOpen: o = !0, touchOpenDelay: s = 0, reason: c = fe } = t, l = "rootStore" in e ? e.rootStore : e, u = l.context.dataRef, d = Z.useRef(void 0), f = xe(), p = A(), m = Z.useMemo(() => {
376
+ let { enabled: n = !0, event: r = "click", toggle: i = !0, ignoreMouse: a = !1, stickIfOpen: o = !0, touchOpenDelay: s = 0, reason: c = R } = t, l = "rootStore" in e ? e.rootStore : e, u = l.context.dataRef, d = Z.useRef(void 0), f = ce(), p = w(), m = Z.useMemo(() => {
376
377
  function e(e, t, n, r) {
377
- let i = x(c, t, n);
378
+ let i = v(c, t, n);
378
379
  e && r === "touch" && s > 0 ? p.start(s, () => {
379
380
  l.setOpen(!0, i);
380
381
  }) : l.setOpen(e, i);
@@ -389,9 +390,9 @@ function Pt(e, t = {}) {
389
390
  },
390
391
  onMouseDown(n) {
391
392
  let i = d.current, o = n.nativeEvent, s = l.select("open");
392
- if (n.button !== 0 || r === "click" || H(i, !0) && a) return;
393
- let c = t(s, n.currentTarget, (e) => e === "click" || e === "mousedown"), u = _e(o);
394
- if (pe(u)) {
393
+ if (n.button !== 0 || r === "click" || P(i, !0) && a) return;
394
+ let c = t(s, n.currentTarget, (e) => e === "click" || e === "mousedown"), u = oe(o);
395
+ if (B(u)) {
395
396
  e(c, o, u, i);
396
397
  return;
397
398
  }
@@ -407,7 +408,7 @@ function Pt(e, t = {}) {
407
408
  d.current = void 0;
408
409
  return;
409
410
  }
410
- H(i, !0) && a || e(t(l.select("open"), n.currentTarget, (e) => e === "click" || e === "mousedown" || e === "keydown" || e === "keyup"), n.nativeEvent, n.currentTarget, i);
411
+ P(i, !0) && a || e(t(l.select("open"), n.currentTarget, (e) => e === "click" || e === "mousedown" || e === "keydown" || e === "keyup"), n.nativeEvent, n.currentTarget, i);
411
412
  },
412
413
  onKeyDown() {
413
414
  d.current = void 0;
@@ -425,7 +426,7 @@ function Pt(e, t = {}) {
425
426
  p,
426
427
  s
427
428
  ]);
428
- return Z.useMemo(() => n ? { reference: m } : je, [n, m]);
429
+ return Z.useMemo(() => n ? { reference: m } : Ye, [n, m]);
429
430
  }
430
431
  //#endregion
431
432
  //#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/floating-ui-react/hooks/useListNavigation.mjs
@@ -444,210 +445,210 @@ function Rt(e, t, n) {
444
445
  return It(t, e === "ArrowDown", n ? e === "ArrowLeft" : e === "ArrowRight") || e === "Enter" || e === " " || e === "";
445
446
  }
446
447
  function zt(e, t, n) {
447
- return It(t, n ? e === z : e === Ue, e === he);
448
+ return It(t, n ? e === re : e === K, e === V);
448
449
  }
449
450
  function Bt(e, t, n, r) {
450
- return t === "both" || t === "horizontal" && r ? e === Ft : It(t, n ? e === Ue : e === z, e === qe);
451
+ return t === "both" || t === "horizontal" && r ? e === Ft : It(t, n ? e === K : e === re, e === ke);
451
452
  }
452
453
  function Vt(e, t) {
453
- let { listRef: n, activeIndex: r, onNavigate: a = () => {}, enabled: s = !0, selectedIndex: c = null, allowEscape: l = !1, loopFocus: u = !1, nested: d = !1, rtl: f = !1, virtual: p = !1, focusItemOnOpen: m = "auto", focusItemOnHover: h = !0, openOnArrowKeyDown: g = !0, disabledIndices: _ = void 0, orientation: v = "vertical", parentOrientation: y, id: b, resetOnPointerLeave: S = !0, externalTree: C, grid: w } = t, te = w != null;
454
- process.env.NODE_ENV !== "production" && (l && (u || console.warn("`useListNavigation` looping must be enabled to allow escaping."), p || console.warn("`useListNavigation` must be virtual to allow escaping.")), v === "vertical" && te && console.warn("In grid list navigation mode, the `orientation` should", "be either \"horizontal\" or \"both\"."));
455
- let T = "rootStore" in e ? e.rootStore : e, E = T.useState("open"), O = T.useState("floatingElement"), A = T.useState("domReferenceElement"), j = T.context.dataRef, M = He(O), re = le(A), ie = Re(M), ae = Se(), oe = ee(C), F = Z.useRef(m), I = Z.useRef(c ?? -1), L = Z.useRef(null), z = Z.useRef(!0), B = J((e) => {
456
- a(I.current === -1 ? null : I.current, e);
457
- }), V = Z.useRef(!!O), H = Z.useRef(E), U = Z.useRef(!1), se = Z.useRef(!1), ce = Z.useRef(null), ue = Re(_), fe = Re(E), W = Re(c), pe = Re(S), me = xe(), he = xe(), ge = J(() => {
454
+ let { listRef: n, activeIndex: r, onNavigate: i = () => {}, enabled: o = !0, selectedIndex: s = null, allowEscape: c = !1, loopFocus: l = !1, nested: u = !1, rtl: d = !1, virtual: f = !1, focusItemOnOpen: p = "auto", focusItemOnHover: m = !0, openOnArrowKeyDown: h = !0, disabledIndices: g = void 0, orientation: _ = "vertical", parentOrientation: b, id: x, resetOnPointerLeave: S = !0, externalTree: w, grid: T } = t, te = T != null;
455
+ process.env.NODE_ENV !== "production" && (c && (l || console.warn("`useListNavigation` looping must be enabled to allow escaping."), f || console.warn("`useListNavigation` must be virtual to allow escaping.")), _ === "vertical" && te && console.warn("In grid list navigation mode, the `orientation` should", "be either \"horizontal\" or \"both\"."));
456
+ let D = "rootStore" in e ? e.rootStore : e, O = D.useState("open"), k = D.useState("floatingElement"), j = D.useState("domReferenceElement"), M = D.context.dataRef, N = Ee(k), re = ae(j), ie = Ce(N), P = le(), F = y(w), I = Z.useRef(p), R = Z.useRef(s ?? -1), z = Z.useRef(null), B = Z.useRef(!0), V = X((e) => {
457
+ i(R.current === -1 ? null : R.current, e);
458
+ }), H = Z.useRef(!!k), se = Z.useRef(O), ue = Z.useRef(!1), de = Z.useRef(!1), fe = Z.useRef(null), pe = Ce(g), me = Ce(O), he = Ce(s), _e = Ce(S), ye = ce(), be = ce(), xe = X(() => {
458
459
  function e(e) {
459
- p ? oe?.events.emit("virtualfocus", e) : ce.current = ft(e, {
460
- sync: U.current,
460
+ f ? F?.events.emit("virtualfocus", e) : fe.current = ft(e, {
461
+ sync: ue.current,
461
462
  preventScroll: !0
462
463
  });
463
464
  }
464
- let t = n.current[I.current], r = se.current;
465
- t && e(t), (U.current ? (e) => e() : (e) => me.request(e))(() => {
466
- let i = n.current[I.current] || t;
467
- i && (t || e(i), we && (r || !z.current) && i.scrollIntoView?.({
465
+ let t = n.current[R.current], r = de.current;
466
+ t && e(t), (ue.current ? (e) => e() : (e) => ye.request(e))(() => {
467
+ let i = n.current[R.current] || t;
468
+ i && (t || e(i), De && (r || !B.current) && i.scrollIntoView?.({
468
469
  block: "nearest",
469
470
  inline: "nearest"
470
471
  }));
471
472
  });
472
473
  });
473
- k(() => {
474
- j.current.orientation = v;
475
- }, [j, v]), k(() => {
476
- s && (E && O ? (I.current = c ?? -1, F.current && c != null && (se.current = !0, B())) : V.current && (I.current = -1, B()));
474
+ Y(() => {
475
+ M.current.orientation = _;
476
+ }, [M, _]), Y(() => {
477
+ o && (O && k ? (R.current = s ?? -1, I.current && s != null && (de.current = !0, V())) : H.current && (R.current = -1, V()));
477
478
  }, [
478
- s,
479
- E,
479
+ o,
480
480
  O,
481
- c,
482
- B
483
- ]), k(() => {
484
- if (s) {
485
- if (!E) {
486
- U.current = !1;
481
+ k,
482
+ s,
483
+ V
484
+ ]), Y(() => {
485
+ if (o) {
486
+ if (!O) {
487
+ ue.current = !1;
487
488
  return;
488
489
  }
489
- if (O) if (r == null) {
490
- if (U.current = !1, W.current != null) return;
491
- if (V.current && (I.current = -1, ge()), (!H.current || !V.current) && F.current && (L.current != null || F.current === !0 && L.current == null)) {
490
+ if (k) if (r == null) {
491
+ if (ue.current = !1, he.current != null) return;
492
+ if (H.current && (R.current = -1, xe()), (!se.current || !H.current) && I.current && (z.current != null || I.current === !0 && z.current == null)) {
492
493
  let e = 0, t = () => {
493
- n.current[0] == null ? (e < 2 && (e ? (e) => he.request(e) : queueMicrotask)(t), e += 1) : (I.current = L.current == null || Rt(L.current, v, f) || d ? D(n) : R(n), L.current = null, B());
494
+ n.current[0] == null ? (e < 2 && (e ? (e) => be.request(e) : queueMicrotask)(t), e += 1) : (R.current = z.current == null || Rt(z.current, _, d) || u ? ee(n) : ne(n), z.current = null, V());
494
495
  };
495
496
  t();
496
497
  }
497
- } else de(n.current, r) || (I.current = r, ge(), se.current = !1);
498
+ } else L(n.current, r) || (R.current = r, xe(), de.current = !1);
498
499
  }
499
500
  }, [
500
- s,
501
- E,
501
+ o,
502
502
  O,
503
+ k,
503
504
  r,
504
- W,
505
- d,
505
+ he,
506
+ u,
506
507
  n,
507
- v,
508
- f,
509
- B,
510
- ge,
511
- he
512
- ]), k(() => {
513
- if (!s || O || !oe || p || !V.current) return;
514
- let e = oe.nodesRef.current, t = e.find((e) => e.id === ae)?.context?.elements.floating, n = Ae(Oe(A ?? t ?? null)), r = e.some((e) => e.context && K(e.context.elements.floating, n));
515
- t && !r && z.current && t.focus({ preventScroll: !0 });
508
+ _,
509
+ d,
510
+ V,
511
+ xe,
512
+ be
513
+ ]), Y(() => {
514
+ if (!o || k || !F || f || !H.current) return;
515
+ let e = F.nodesRef.current, t = e.find((e) => e.id === P)?.context?.elements.floating, n = ge(W(j ?? t ?? null)), r = e.some((e) => e.context && U(e.context.elements.floating, n));
516
+ t && !r && B.current && t.focus({ preventScroll: !0 });
516
517
  }, [
517
- s,
518
- O,
519
- A,
520
- oe,
521
- ae,
522
- p
523
- ]), k(() => {
524
- H.current = E, V.current = !!O;
525
- }), k(() => {
526
- E || (L.current = null, F.current = m);
527
- }, [E, m]);
528
- let ve = r != null, ye = J((e) => {
529
- if (!fe.current) return;
518
+ o,
519
+ k,
520
+ j,
521
+ F,
522
+ P,
523
+ f
524
+ ]), Y(() => {
525
+ se.current = O, H.current = !!k;
526
+ }), Y(() => {
527
+ O || (z.current = null, I.current = p);
528
+ }, [O, p]);
529
+ let Se = r != null, we = X((e) => {
530
+ if (!me.current) return;
530
531
  let t = n.current.indexOf(e.currentTarget);
531
- t !== -1 && (I.current !== t || r !== t) && (I.current = t, B(e));
532
- }), be = J(() => y ?? oe?.nodesRef.current.find((e) => e.id === ae)?.context?.dataRef?.current.orientation), Ce = J(() => D(n, ue.current)), G = J((e) => {
533
- if (z.current = !1, U.current = !0, e.which === 229 || !fe.current && e.currentTarget === ie.current) return;
534
- if (d && Bt(e.key, v, f, te)) {
535
- Lt(e.key, be()) || o(e), T.setOpen(!1, x(Ne, e.nativeEvent)), i(A) && (p ? oe?.events.emit("virtualfocus", A) : A.focus());
532
+ t !== -1 && (R.current !== t || r !== t) && (R.current = t, V(e));
533
+ }), Te = X(() => b ?? F?.nodesRef.current.find((e) => e.id === P)?.context?.dataRef?.current.orientation), G = X(() => ee(n, pe.current)), K = X((e) => {
534
+ if (B.current = !1, ue.current = !0, e.which === 229 || !me.current && e.currentTarget === ie.current) return;
535
+ if (u && Bt(e.key, _, d, te)) {
536
+ Lt(e.key, Te()) || a(e), D.setOpen(!1, v(ve, e.nativeEvent)), Ie(j) && (f ? F?.events.emit("virtualfocus", j) : j.focus());
536
537
  return;
537
538
  }
538
- let t = I.current, r = D(n, _), a = R(n, _);
539
- if (re || (e.key === "Home" && (o(e), I.current = r, B(e)), e.key === "End" && (o(e), I.current = a, B(e))), w != null) {
540
- let t = w(e, I.current, n, v, u, f, _, r, a);
541
- if (t != null && (I.current = t, B(e)), v === "both") return;
539
+ let t = R.current, r = ee(n, g), i = ne(n, g);
540
+ if (re || (e.key === "Home" && (a(e), R.current = r, V(e)), e.key === "End" && (a(e), R.current = i, V(e))), T != null) {
541
+ let t = T(e, R.current, n, _, l, d, g, r, i);
542
+ if (t != null && (R.current = t, V(e)), _ === "both") return;
542
543
  }
543
- if (Lt(e.key, v)) {
544
- if (o(e), E && !p && Ae(e.currentTarget.ownerDocument) === e.currentTarget) {
545
- I.current = Rt(e.key, v, f) ? r : a, B(e);
544
+ if (Lt(e.key, _)) {
545
+ if (a(e), O && !f && ge(e.currentTarget.ownerDocument) === e.currentTarget) {
546
+ R.current = Rt(e.key, _, d) ? r : i, V(e);
546
547
  return;
547
548
  }
548
- Rt(e.key, v, f) ? u ? t >= a ? l && t !== n.current.length ? I.current = -1 : (U.current = !1, I.current = r) : I.current = P(n.current, {
549
+ Rt(e.key, _, d) ? l ? t >= i ? c && t !== n.current.length ? R.current = -1 : (ue.current = !1, R.current = r) : R.current = A(n.current, {
549
550
  startingIndex: t,
550
- disabledIndices: _
551
- }) : I.current = Math.min(a, P(n.current, {
551
+ disabledIndices: g
552
+ }) : R.current = Math.min(i, A(n.current, {
552
553
  startingIndex: t,
553
- disabledIndices: _
554
- })) : u ? t <= r ? l && t !== -1 ? I.current = n.current.length : (U.current = !1, I.current = a) : I.current = P(n.current, {
554
+ disabledIndices: g
555
+ })) : l ? t <= r ? c && t !== -1 ? R.current = n.current.length : (ue.current = !1, R.current = i) : R.current = A(n.current, {
555
556
  startingIndex: t,
556
557
  decrement: !0,
557
- disabledIndices: _
558
- }) : I.current = Math.max(r, P(n.current, {
558
+ disabledIndices: g
559
+ }) : R.current = Math.max(r, A(n.current, {
559
560
  startingIndex: t,
560
561
  decrement: !0,
561
- disabledIndices: _
562
- })), de(n.current, I.current) && (I.current = -1), B(e);
562
+ disabledIndices: g
563
+ })), L(n.current, R.current) && (R.current = -1), V(e);
563
564
  }
564
- }), we = Z.useMemo(() => ({
565
+ }), De = Z.useMemo(() => ({
565
566
  onFocus(e) {
566
- U.current = !0, ye(e);
567
+ ue.current = !0, we(e);
567
568
  },
568
569
  onClick: ({ currentTarget: e }) => e.focus({ preventScroll: !0 }),
569
570
  onMouseMove(e) {
570
- U.current = !0, se.current = !1, h && ye(e);
571
+ ue.current = !0, de.current = !1, m && we(e);
571
572
  },
572
573
  onPointerLeave(e) {
573
- if (!fe.current || !z.current || e.pointerType === "touch") return;
574
- U.current = !0;
574
+ if (!me.current || !B.current || e.pointerType === "touch") return;
575
+ ue.current = !0;
575
576
  let t = e.relatedTarget;
576
- if (!(!h || n.current.includes(t)) && pe.current && (ce.current?.(), ce.current = null, I.current = -1, B(e), !p)) {
577
- let e = ie.current, t = Ae(Oe(e));
578
- e && K(e, t) && e.focus({ preventScroll: !0 });
577
+ if (!(!m || n.current.includes(t)) && _e.current && (fe.current?.(), fe.current = null, R.current = -1, V(e), !f)) {
578
+ let e = ie.current, t = ge(W(e));
579
+ e && U(e, t) && e.focus({ preventScroll: !0 });
579
580
  }
580
581
  }
581
582
  }), [
582
- ye,
583
- fe,
583
+ we,
584
+ me,
584
585
  ie,
585
- h,
586
+ m,
586
587
  n,
587
- B,
588
- pe,
589
- p
590
- ]), q = Z.useMemo(() => p && E && ve && { "aria-activedescendant": `${b}-${r}` }, [
591
- p,
592
- E,
593
- ve,
594
- b,
588
+ V,
589
+ _e,
590
+ f
591
+ ]), q = Z.useMemo(() => f && O && Se && { "aria-activedescendant": `${x}-${r}` }, [
592
+ f,
593
+ O,
594
+ Se,
595
+ x,
595
596
  r
596
- ]), Te = Z.useMemo(() => ({
597
- "aria-orientation": v === "both" ? void 0 : v,
597
+ ]), J = Z.useMemo(() => ({
598
+ "aria-orientation": _ === "both" ? void 0 : _,
598
599
  ...re ? {} : q,
599
600
  onKeyDown(e) {
600
- if (e.key === "Tab" && e.shiftKey && E && !p) {
601
- let t = _e(e.nativeEvent);
602
- if (t && !K(ie.current, t)) return;
603
- o(e), T.setOpen(!1, x(N, e.nativeEvent)), i(A) && A.focus();
601
+ if (e.key === "Tab" && e.shiftKey && O && !f) {
602
+ let t = oe(e.nativeEvent);
603
+ if (t && !U(ie.current, t)) return;
604
+ a(e), D.setOpen(!1, v(E, e.nativeEvent)), Ie(j) && j.focus();
604
605
  return;
605
606
  }
606
- G(e);
607
+ K(e);
607
608
  },
608
609
  onPointerMove() {
609
- z.current = !0;
610
+ B.current = !0;
610
611
  }
611
612
  }), [
612
613
  q,
613
- G,
614
+ K,
614
615
  ie,
615
- v,
616
+ _,
616
617
  re,
617
- T,
618
- E,
619
- p,
620
- A
621
- ]), Ee = Z.useMemo(() => {
618
+ D,
619
+ O,
620
+ f,
621
+ j
622
+ ]), ke = Z.useMemo(() => {
622
623
  function e(e) {
623
- T.setOpen(!0, x(Ne, e.nativeEvent, e.currentTarget));
624
+ D.setOpen(!0, v(ve, e.nativeEvent, e.currentTarget));
624
625
  }
625
626
  function t(e) {
626
- m === "auto" && Ge(e.nativeEvent) && (F.current = !p);
627
+ p === "auto" && Oe(e.nativeEvent) && (I.current = !f);
627
628
  }
628
629
  function n(e) {
629
- F.current = m, m === "auto" && ne(e.nativeEvent) && (F.current = !0);
630
+ I.current = p, p === "auto" && C(e.nativeEvent) && (I.current = !0);
630
631
  }
631
632
  return {
632
633
  onKeyDown(t) {
633
- let n = T.select("open");
634
- z.current = !1;
635
- let r = t.key.startsWith("Arrow"), i = zt(t.key, be(), f), a = Lt(t.key, v), s = (d ? i : a) || t.key === "Enter" || t.key.trim() === "";
636
- if (p && n) return G(t);
637
- if (!(!n && !g && r)) {
634
+ let n = D.select("open");
635
+ B.current = !1;
636
+ let r = t.key.startsWith("Arrow"), i = zt(t.key, Te(), d), o = Lt(t.key, _), s = (u ? i : o) || t.key === "Enter" || t.key.trim() === "";
637
+ if (f && n) return K(t);
638
+ if (!(!n && !h && r)) {
638
639
  if (s) {
639
- let e = Lt(t.key, be());
640
- L.current = d && e ? null : t.key;
640
+ let e = Lt(t.key, Te());
641
+ z.current = u && e ? null : t.key;
641
642
  }
642
- if (d) {
643
- i && (o(t), n ? (I.current = Ce(), B(t)) : e(t));
643
+ if (u) {
644
+ i && (a(t), n ? (R.current = G(), V(t)) : e(t));
644
645
  return;
645
646
  }
646
- a && (W.current != null && (I.current = W.current), o(t), !n && g ? e(t) : G(t), n && B(t));
647
+ o && (he.current != null && (R.current = he.current), a(t), !n && h ? e(t) : K(t), n && V(t));
647
648
  }
648
649
  },
649
650
  onFocus(e) {
650
- T.select("open") && !p && (I.current = -1, B(e));
651
+ D.select("open") && !f && (R.current = -1, V(e));
651
652
  },
652
653
  onPointerDown: n,
653
654
  onPointerEnter: n,
@@ -655,45 +656,45 @@ function Vt(e, t) {
655
656
  onClick: t
656
657
  };
657
658
  }, [
659
+ K,
660
+ p,
658
661
  G,
659
- m,
660
- Ce,
662
+ u,
663
+ V,
664
+ D,
665
+ h,
666
+ _,
667
+ Te,
661
668
  d,
662
- B,
663
- T,
664
- g,
665
- v,
666
- be,
667
- f,
668
- W,
669
- p
670
- ]), De = Z.useMemo(() => ({
669
+ he,
670
+ f
671
+ ]), Ae = Z.useMemo(() => ({
671
672
  ...q,
672
- ...Ee
673
- }), [q, Ee]);
674
- return Z.useMemo(() => s ? {
675
- reference: De,
676
- floating: Te,
677
- item: we,
678
- trigger: Ee
673
+ ...ke
674
+ }), [q, ke]);
675
+ return Z.useMemo(() => o ? {
676
+ reference: Ae,
677
+ floating: J,
678
+ item: De,
679
+ trigger: ke
679
680
  } : {}, [
680
- s,
681
- De,
682
- Te,
683
- Ee,
684
- we
681
+ o,
682
+ Ae,
683
+ J,
684
+ ke,
685
+ De
685
686
  ]);
686
687
  }
687
688
  //#endregion
688
689
  //#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/floating-ui-react/hooks/useTypeahead.mjs
689
690
  function Ht(e, t) {
690
- let { listRef: r, elementsRef: i, activeIndex: a, onMatch: s, disabledIndices: c, onTyping: l, enabled: u = !0, resetMs: d = 750, selectedIndex: f = null } = t, p = "rootStore" in e ? e.rootStore : e, m = p.useState("open"), h = A(), g = Z.useRef(""), _ = Z.useRef(f ?? a ?? -1), v = Z.useRef(null), y = J((e) => {
691
+ let { listRef: r, elementsRef: i, activeIndex: o, onMatch: s, disabledIndices: c, onTyping: l, enabled: u = !0, resetMs: d = 750, selectedIndex: f = null } = t, p = "rootStore" in e ? e.rootStore : e, m = p.useState("open"), h = w(), g = Z.useRef(""), _ = Z.useRef(f ?? o ?? -1), v = Z.useRef(null), y = X((e) => {
691
692
  function t(e) {
692
693
  let t = i?.current[e];
693
694
  return !t || n(t);
694
695
  }
695
696
  function u(e) {
696
- return t(e) ? c == null || !Be(me, e, c) : !1;
697
+ return t(e) ? c == null || !Te(Je, e, c) : !1;
697
698
  }
698
699
  function p(e, t, n = 0) {
699
700
  if (e.length === 0) return -1;
@@ -705,30 +706,30 @@ function Ht(e, t) {
705
706
  return -1;
706
707
  }
707
708
  let y = r.current;
708
- if (g.current.length > 0 && e.key === " " && (o(e), l?.(!0)), g.current.length > 0 && g.current[0] !== " " && p(y, g.current) === -1 && e.key !== " " && l?.(!1), y == null || e.key.length !== 1 || e.ctrlKey || e.metaKey || e.altKey) return;
709
- m && e.key !== " " && (o(e), l?.(!0));
709
+ if (g.current.length > 0 && e.key === " " && (a(e), l?.(!0)), g.current.length > 0 && g.current[0] !== " " && p(y, g.current) === -1 && e.key !== " " && l?.(!1), y == null || e.key.length !== 1 || e.ctrlKey || e.metaKey || e.altKey) return;
710
+ m && e.key !== " " && (a(e), l?.(!0));
710
711
  let b = g.current === "";
711
- b && (_.current = f ?? a ?? -1), y.every((e, t) => e && u(t) ? e[0]?.toLowerCase() !== e[1]?.toLowerCase() : !0) && g.current === e.key && (g.current = "", _.current = v.current), g.current += e.key, h.start(d, () => {
712
+ b && (_.current = f ?? o ?? -1), y.every((e, t) => e && u(t) ? e[0]?.toLowerCase() !== e[1]?.toLowerCase() : !0) && g.current === e.key && (g.current = "", _.current = v.current), g.current += e.key, h.start(d, () => {
712
713
  g.current = "", _.current = v.current, l?.(!1);
713
714
  });
714
- let x = ((b ? f ?? a ?? -1 : _.current) ?? 0) + 1, S = p(y, g.current, x);
715
+ let x = ((b ? f ?? o ?? -1 : _.current) ?? 0) + 1, S = p(y, g.current, x);
715
716
  S === -1 ? e.key !== " " && (g.current = "", l?.(!1)) : (s?.(S), v.current = S);
716
- }), b = J((e) => {
717
+ }), b = X((e) => {
717
718
  let t = e.relatedTarget, n = p.select("domReferenceElement"), r = p.select("floatingElement");
718
- K(n, t) || K(r, t) || (h.clear(), g.current = "", _.current = v.current, l?.(!1));
719
+ U(n, t) || U(r, t) || (h.clear(), g.current = "", _.current = v.current, l?.(!1));
719
720
  });
720
- k(() => {
721
+ Y(() => {
721
722
  !m && f !== null || (h.clear(), v.current = null, g.current !== "" && (g.current = ""));
722
723
  }, [
723
724
  m,
724
725
  f,
725
726
  h
726
- ]), k(() => {
727
- m && g.current === "" && (_.current = f ?? a ?? -1);
727
+ ]), Y(() => {
728
+ m && g.current === "" && (_.current = f ?? o ?? -1);
728
729
  }, [
729
730
  m,
730
731
  f,
731
- a
732
+ o
732
733
  ]);
733
734
  let x = Z.useMemo(() => ({
734
735
  onKeyDown: y,
@@ -745,13 +746,13 @@ var Ut = /*#__PURE__*/ Z.createContext(void 0);
745
746
  process.env.NODE_ENV !== "production" && (Ut.displayName = "ToolbarRootContext");
746
747
  function Wt(e) {
747
748
  let t = Z.useContext(Ut);
748
- if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? U(69) : "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.");
749
+ if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? qe(69) : "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.");
749
750
  return t;
750
751
  }
751
752
  //#endregion
752
753
  //#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/inertValue.mjs
753
754
  function Gt(e) {
754
- return ve(19) ? e : e ? "true" : void 0;
755
+ return Ke(19) ? e : e ? "true" : void 0;
755
756
  }
756
757
  //#endregion
757
758
  //#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/utils/InternalBackdrop.mjs
@@ -781,12 +782,12 @@ process.env.NODE_ENV !== "production" && (Kt.displayName = "InternalBackdrop");
781
782
  var qt = {}, Jt = {}, Yt = "";
782
783
  function Xt(e) {
783
784
  if (typeof document > "u") return !1;
784
- let t = Oe(e);
785
- return T(t).innerWidth - t.documentElement.clientWidth > 0;
785
+ let t = W(e);
786
+ return Ge(t).innerWidth - t.documentElement.clientWidth > 0;
786
787
  }
787
788
  function Zt(e) {
788
789
  if (!(typeof CSS < "u" && CSS.supports && CSS.supports("scrollbar-gutter", "stable")) || typeof document > "u") return !1;
789
- let t = Oe(e), n = t.documentElement, r = t.body, i = S(n) ? n : r, a = i.style.overflowY, o = n.style.scrollbarGutter;
790
+ let t = W(e), n = t.documentElement, r = t.body, i = Ne(n) ? n : r, a = i.style.overflowY, o = n.style.scrollbarGutter;
790
791
  n.style.scrollbarGutter = "stable", i.style.overflowY = "scroll";
791
792
  let s = i.offsetWidth;
792
793
  i.style.overflowY = "hidden";
@@ -794,7 +795,7 @@ function Zt(e) {
794
795
  return i.style.overflowY = a, n.style.scrollbarGutter = o, s === c;
795
796
  }
796
797
  function Qt(e) {
797
- let t = Oe(e), n = t.documentElement, r = t.body, i = S(n) ? n : r, a = {
798
+ let t = W(e), n = t.documentElement, r = t.body, i = Ne(n) ? n : r, a = {
798
799
  overflowY: i.style.overflowY,
799
800
  overflowX: i.style.overflowX
800
801
  };
@@ -806,8 +807,8 @@ function Qt(e) {
806
807
  };
807
808
  }
808
809
  function $t(e) {
809
- let t = Oe(e), n = t.documentElement, i = t.body, a = T(n), o = 0, s = 0, c = !1, l = r.create();
810
- if (m && (a.visualViewport?.scale ?? 1) !== 1) return () => {};
810
+ let t = W(e), n = t.documentElement, i = t.body, a = Ge(n), o = 0, s = 0, c = !1, l = r.create();
811
+ if (f && (a.visualViewport?.scale ?? 1) !== 1) return () => {};
811
812
  function u() {
812
813
  let t = a.getComputedStyle(n), r = a.getComputedStyle(i), l = (t.scrollbarGutter || "").includes("both-edges") ? "stable both-edges" : "stable";
813
814
  o = n.scrollTop, s = n.scrollLeft, qt = {
@@ -823,7 +824,7 @@ function $t(e) {
823
824
  overflowX: i.style.overflowX,
824
825
  scrollBehavior: i.style.scrollBehavior
825
826
  };
826
- let u = n.scrollHeight > n.clientHeight, d = n.scrollWidth > n.clientWidth, f = t.overflowY === "scroll" || r.overflowY === "scroll", p = t.overflowX === "scroll" || r.overflowX === "scroll", m = Math.max(0, a.innerWidth - i.clientWidth), h = Math.max(0, a.innerHeight - i.clientHeight), g = parseFloat(r.marginTop) + parseFloat(r.marginBottom), _ = parseFloat(r.marginLeft) + parseFloat(r.marginRight), v = S(n) ? n : i;
827
+ let u = n.scrollHeight > n.clientHeight, d = n.scrollWidth > n.clientWidth, f = t.overflowY === "scroll" || r.overflowY === "scroll", p = t.overflowX === "scroll" || r.overflowX === "scroll", m = Math.max(0, a.innerWidth - i.clientWidth), h = Math.max(0, a.innerHeight - i.clientHeight), g = parseFloat(r.marginTop) + parseFloat(r.marginBottom), _ = parseFloat(r.marginLeft) + parseFloat(r.marginRight), v = Ne(n) ? n : i;
827
828
  if (c = Zt(e), c) {
828
829
  n.style.scrollbarGutter = l, v.style.overflowY = "hidden", v.style.overflowX = "hidden";
829
830
  return;
@@ -844,20 +845,20 @@ function $t(e) {
844
845
  function d() {
845
846
  Object.assign(n.style, qt), Object.assign(i.style, Jt), c || (n.scrollTop = o, n.scrollLeft = s, n.removeAttribute("data-base-ui-scroll-locked"), n.style.scrollBehavior = Yt);
846
847
  }
847
- function f() {
848
+ function p() {
848
849
  d(), l.request(u);
849
850
  }
850
851
  u();
851
- let p = we(a, "resize", f);
852
+ let m = de(a, "resize", p);
852
853
  return () => {
853
- l.cancel(), d(), typeof a.removeEventListener == "function" && p();
854
+ l.cancel(), d(), typeof a.removeEventListener == "function" && m();
854
855
  };
855
856
  }
856
857
  var en = new class {
857
858
  lockCount = 0;
858
859
  restore = null;
859
- timeoutLock = We.create();
860
- timeoutUnlock = We.create();
860
+ timeoutLock = De.create();
861
+ timeoutUnlock = De.create();
861
862
  acquire(e) {
862
863
  return this.lockCount += 1, this.lockCount === 1 && this.restore === null && this.timeoutLock.start(0, () => this.lock(e)), this.release;
863
864
  }
@@ -869,17 +870,17 @@ var en = new class {
869
870
  };
870
871
  lock(e) {
871
872
  if (this.lockCount === 0 || this.restore !== null) return;
872
- let t = Oe(e).documentElement, n = T(t).getComputedStyle(t).overflowY;
873
+ let t = W(e).documentElement, n = Ge(t).getComputedStyle(t).overflowY;
873
874
  if (n === "hidden" || n === "clip") {
874
- this.restore = q;
875
+ this.restore = Ve;
875
876
  return;
876
877
  }
877
- let r = v || !Xt(e);
878
+ let r = g || !Xt(e);
878
879
  this.restore = r ? Qt(e) : $t(e);
879
880
  }
880
881
  }();
881
882
  function tn(e = !0, t = null) {
882
- k(() => {
883
+ Y(() => {
883
884
  if (e) return en.acquire(t);
884
885
  }, [e, t]);
885
886
  }
@@ -888,12 +889,12 @@ function tn(e = !0, t = null) {
888
889
  var nn = 20;
889
890
  function rn(e, t, n, r) {
890
891
  let [i, a] = Z.useState(!1);
891
- k(() => {
892
+ Y(() => {
892
893
  if (!e || !t || n == null) {
893
894
  a(!1);
894
895
  return;
895
896
  }
896
- let r = Oe(n).documentElement.clientWidth, i = n.offsetWidth;
897
+ let r = W(n).documentElement.clientWidth, i = n.offsetWidth;
897
898
  a(r > 0 && i > 0 && i >= r - nn);
898
899
  }, [
899
900
  e,
@@ -921,8 +922,8 @@ function an(e) {
921
922
  //#endregion
922
923
  //#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/utils/useOpenInteractionType.mjs
923
924
  function on(e, t) {
924
- let { onClick: n, onPointerDown: r } = an(J((n, r) => {
925
- (typeof e == "function" ? e() : e) || t(r || (v ? "touch" : ""));
925
+ let { onClick: n, onPointerDown: r } = an(X((n, r) => {
926
+ (typeof e == "function" ? e() : e) || t(r || (g ? "touch" : ""));
926
927
  }));
927
928
  return Z.useMemo(() => ({
928
929
  onClick: n,
@@ -941,11 +942,11 @@ function sn(e) {
941
942
  //#endregion
942
943
  //#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/utils/getPseudoElementBounds.mjs
943
944
  function cn(e) {
944
- let t = e.getBoundingClientRect(), n = T(e);
945
- if (d) return t;
945
+ let t = e.getBoundingClientRect(), n = Ge(e);
946
+ if (l) return t;
946
947
  let r = n.getComputedStyle(e, "::before"), i = n.getComputedStyle(e, "::after");
947
948
  if (!(r.content !== "none" || i.content !== "none")) return t;
948
- let a = parseFloat(r.width) || 0, o = parseFloat(r.height) || 0, s = parseFloat(i.width) || 0, c = parseFloat(i.height) || 0, l = Math.max(t.width, a, s), u = Math.max(t.height, o, c), f = l - t.width, p = u - t.height;
949
+ let a = parseFloat(r.width) || 0, o = parseFloat(r.height) || 0, s = parseFloat(i.width) || 0, c = parseFloat(i.height) || 0, u = Math.max(t.width, a, s), d = Math.max(t.height, o, c), f = u - t.width, p = d - t.height;
949
950
  return {
950
951
  left: t.left - f / 2,
951
952
  right: t.right + f / 2,
@@ -1110,7 +1111,7 @@ var xn = (0, Z.forwardRef)(({ offset: e, shadowLevel: t, className: n, children:
1110
1111
  value: s,
1111
1112
  children: /* @__PURE__ */ (0, Q.jsx)("div", {
1112
1113
  ref: a,
1113
- className: O(bn(s, t ?? s), n),
1114
+ className: Re(bn(s, t ?? s), n),
1114
1115
  ...i,
1115
1116
  children: r
1116
1117
  })
@@ -1125,26 +1126,26 @@ var Cn = /*#__PURE__*/ Z.createContext(null);
1125
1126
  process.env.NODE_ENV !== "production" && (Cn.displayName = "SelectFloatingContext");
1126
1127
  function wn() {
1127
1128
  let e = Z.useContext(Sn);
1128
- if (e === null) throw Error(process.env.NODE_ENV === "production" ? U(60) : "Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>.");
1129
+ if (e === null) throw Error(process.env.NODE_ENV === "production" ? qe(60) : "Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>.");
1129
1130
  return e;
1130
1131
  }
1131
1132
  function Tn() {
1132
1133
  let e = Z.useContext(Cn);
1133
- if (e === null) throw Error(process.env.NODE_ENV === "production" ? U(61) : "Base UI: SelectFloatingContext is missing. Select parts must be placed within <Select.Root>.");
1134
+ if (e === null) throw Error(process.env.NODE_ENV === "production" ? qe(61) : "Base UI: SelectFloatingContext is missing. Select parts must be placed within <Select.Root>.");
1134
1135
  return e;
1135
1136
  }
1136
1137
  //#endregion
1137
1138
  //#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/labelable-provider/useLabelableId.mjs
1138
1139
  function En(e = {}) {
1139
- let { id: t, implicit: n = !1, controlRef: r } = e, { controlId: i, registerControlId: a } = lt(), o = C(t), s = n ? i : void 0, c = j(() => Symbol("labelable-control")), l = Z.useRef(!1), u = Z.useRef(t != null), d = J(() => {
1140
- !l.current || a === q || (l.current = !1, a(c.current, void 0));
1140
+ let { id: t, implicit: n = !1, controlRef: r } = e, { controlId: i, registerControlId: a } = lt(), o = b(t), s = n ? i : void 0, c = Ze(() => Symbol("labelable-control")), l = Z.useRef(!1), u = Z.useRef(t != null), d = X(() => {
1141
+ !l.current || a === Ve || (l.current = !1, a(c.current, void 0));
1141
1142
  });
1142
- return k(() => {
1143
- if (a === q) return;
1143
+ return Y(() => {
1144
+ if (a === Ve) return;
1144
1145
  let e;
1145
1146
  if (n) {
1146
1147
  let n = r?.current;
1147
- e = G(n) && n.closest("label") != null ? t ?? null : s ?? o;
1148
+ e = We(n) && n.closest("label") != null ? t ?? null : s ?? o;
1148
1149
  } else if (t != null) u.current = !0, e = t;
1149
1150
  else if (u.current) e = o;
1150
1151
  else {
@@ -1245,42 +1246,42 @@ function Rn(e, t, n) {
1245
1246
  //#endregion
1246
1247
  //#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/select/store.mjs
1247
1248
  var $ = {
1248
- id: Y((e) => e.id),
1249
- labelId: Y((e) => e.labelId),
1250
- modal: Y((e) => e.modal),
1251
- multiple: Y((e) => e.multiple),
1252
- items: Y((e) => e.items),
1253
- itemToStringLabel: Y((e) => e.itemToStringLabel),
1254
- itemToStringValue: Y((e) => e.itemToStringValue),
1255
- isItemEqualToValue: Y((e) => e.isItemEqualToValue),
1256
- value: Y((e) => e.value),
1257
- hasSelectedValue: Y((e) => {
1249
+ id: q((e) => e.id),
1250
+ labelId: q((e) => e.labelId),
1251
+ modal: q((e) => e.modal),
1252
+ multiple: q((e) => e.multiple),
1253
+ items: q((e) => e.items),
1254
+ itemToStringLabel: q((e) => e.itemToStringLabel),
1255
+ itemToStringValue: q((e) => e.itemToStringValue),
1256
+ isItemEqualToValue: q((e) => e.isItemEqualToValue),
1257
+ value: q((e) => e.value),
1258
+ hasSelectedValue: q((e) => {
1258
1259
  let { value: t, multiple: n, itemToStringValue: r } = e;
1259
1260
  return t == null ? !1 : n && Array.isArray(t) ? t.length > 0 : In(t, r) !== "";
1260
1261
  }),
1261
- hasNullItemLabel: Y((e, t) => t ? Pn(e.items) : !1),
1262
- open: Y((e) => e.open),
1263
- mounted: Y((e) => e.mounted),
1264
- forceMount: Y((e) => e.forceMount),
1265
- transitionStatus: Y((e) => e.transitionStatus),
1266
- openMethod: Y((e) => e.openMethod),
1267
- activeIndex: Y((e) => e.activeIndex),
1268
- selectedIndex: Y((e) => e.selectedIndex),
1269
- isActive: Y((e, t) => e.activeIndex === t),
1270
- isSelected: Y((e, t) => {
1262
+ hasNullItemLabel: q((e, t) => t ? Pn(e.items) : !1),
1263
+ open: q((e) => e.open),
1264
+ mounted: q((e) => e.mounted),
1265
+ forceMount: q((e) => e.forceMount),
1266
+ transitionStatus: q((e) => e.transitionStatus),
1267
+ openMethod: q((e) => e.openMethod),
1268
+ activeIndex: q((e) => e.activeIndex),
1269
+ selectedIndex: q((e) => e.selectedIndex),
1270
+ isActive: q((e, t) => e.activeIndex === t),
1271
+ isSelected: q((e, t) => {
1271
1272
  let n = e.isItemEqualToValue, r = e.value;
1272
1273
  return e.multiple ? Array.isArray(r) && r.some((e) => On(t, e, n)) : On(t, r, n);
1273
1274
  }),
1274
- isSelectedByFocus: Y((e, t) => e.selectedIndex === t),
1275
- popupProps: Y((e) => e.popupProps),
1276
- triggerProps: Y((e) => e.triggerProps),
1277
- triggerElement: Y((e) => e.triggerElement),
1278
- positionerElement: Y((e) => e.positionerElement),
1279
- listElement: Y((e) => e.listElement),
1280
- popupSide: Y((e) => e.popupSide),
1281
- scrollUpArrowVisible: Y((e) => e.scrollUpArrowVisible),
1282
- scrollDownArrowVisible: Y((e) => e.scrollDownArrowVisible),
1283
- hasScrollArrows: Y((e) => e.hasScrollArrows)
1275
+ isSelectedByFocus: q((e, t) => e.selectedIndex === t),
1276
+ popupProps: q((e) => e.popupProps),
1277
+ triggerProps: q((e) => e.triggerProps),
1278
+ triggerElement: q((e) => e.triggerElement),
1279
+ positionerElement: q((e) => e.positionerElement),
1280
+ listElement: q((e) => e.listElement),
1281
+ popupSide: q((e) => e.popupSide),
1282
+ scrollUpArrowVisible: q((e) => e.scrollUpArrowVisible),
1283
+ scrollDownArrowVisible: q((e) => e.scrollDownArrowVisible),
1284
+ hasScrollArrows: q((e) => e.hasScrollArrows)
1284
1285
  };
1285
1286
  //#endregion
1286
1287
  //#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/areArraysEqual.mjs
@@ -1303,33 +1304,33 @@ function Hn(e, t) {
1303
1304
  //#endregion
1304
1305
  //#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/select/root/SelectRoot.mjs
1305
1306
  function Un(e) {
1306
- let { id: t, value: n, defaultValue: r = null, onValueChange: i, open: a, defaultOpen: o = !1, onOpenChange: l, name: u, form: d, autoComplete: f, disabled: p = !1, readOnly: m = !1, required: h = !1, modal: g = !0, actionsRef: _, inputRef: v, onOpenChangeComplete: y, items: b, multiple: S = !1, itemToStringLabel: ee, itemToStringValue: C, isItemEqualToValue: w = Dn, highlightItemOnHover: te = !0, children: T } = e, { clearErrors: E } = ut(), { setDirty: D, setTouched: O, setFocused: ne, validityData: A, setFilled: N, name: re, disabled: ie, validation: ae, validationMode: oe } = ct(), P = En({ id: t }), I = ie || p, L = re ?? u, [R, z] = Qe({
1307
+ let { id: t, value: n, defaultValue: r = null, onValueChange: i, open: a, defaultOpen: c = !1, onOpenChange: l, name: u, form: d, autoComplete: f, disabled: p = !1, readOnly: m = !1, required: h = !1, modal: g = !0, actionsRef: _, inputRef: y, onOpenChangeComplete: b, items: x, multiple: S = !1, itemToStringLabel: ee, itemToStringValue: C, isItemEqualToValue: w = Dn, highlightItemOnHover: E = !0, children: te } = e, { clearErrors: D } = ut(), { setDirty: O, setTouched: k, setFocused: A, validityData: M, setFilled: N, name: ne, disabled: re, validation: P, validationMode: I } = ct(), ae = En({ id: t }), L = re || p, R = ne ?? u, [z, B] = Qe({
1307
1308
  controlled: n,
1308
- default: S ? r ?? me : r,
1309
+ default: S ? r ?? Je : r,
1309
1310
  name: "Select",
1310
1311
  state: "value"
1311
- }), [B, H] = Qe({
1312
+ }), [V, oe] = Qe({
1312
1313
  controlled: a,
1313
- default: o,
1314
+ default: c,
1314
1315
  name: "Select",
1315
1316
  state: "open"
1316
- }), U = Z.useRef([]), ce = Z.useRef([]), le = Z.useRef(null), ue = Z.useRef(null), de = Z.useRef(0), fe = Z.useRef(null), W = Z.useRef([]), pe = Z.useRef(!1), he = Z.useRef(null), _e = Z.useRef(null), ve = Z.useRef({
1317
+ }), se = Z.useRef([]), ce = Z.useRef([]), le = Z.useRef(null), de = Z.useRef(null), U = Z.useRef(0), fe = Z.useRef(null), me = Z.useRef([]), W = Z.useRef(!1), he = Z.useRef(null), ge = Z.useRef(null), _e = Z.useRef({
1317
1318
  allowSelectedMouseUp: !1,
1318
1319
  allowUnselectedMouseUp: !1,
1319
1320
  dragY: 0
1320
- }), be = Z.useRef(!1), { mounted: xe, setMounted: Se, transitionStatus: G } = Ce(B), { openMethod: we, triggerProps: K } = sn(B), q = j(() => new se({
1321
- id: P,
1321
+ }), ve = Z.useRef(!1), { mounted: ye, setMounted: be, transitionStatus: xe } = ue(V), { openMethod: Se, triggerProps: Te } = sn(V), G = Ze(() => new F({
1322
+ id: ae,
1322
1323
  labelId: void 0,
1323
1324
  modal: g,
1324
1325
  multiple: S,
1325
1326
  itemToStringLabel: ee,
1326
1327
  itemToStringValue: C,
1327
1328
  isItemEqualToValue: w,
1328
- value: R,
1329
- open: B,
1330
- mounted: xe,
1331
- transitionStatus: G,
1332
- items: b,
1329
+ value: z,
1330
+ open: V,
1331
+ mounted: ye,
1332
+ transitionStatus: xe,
1333
+ items: x,
1333
1334
  forceMount: !1,
1334
1335
  openMethod: null,
1335
1336
  activeIndex: null,
@@ -1343,256 +1344,256 @@ function Un(e) {
1343
1344
  scrollUpArrowVisible: !1,
1344
1345
  scrollDownArrowVisible: !1,
1345
1346
  hasScrollArrows: !1
1346
- })).current, Te = X(q, $.activeIndex), De = X(q, $.selectedIndex), Oe = X(q, $.triggerElement), ke = X(q, $.positionerElement), Ae = ln(we), Me = we ?? Ae ?? null, Ne = Z.useMemo(() => S ? "" : In(R, C), [
1347
+ })).current, Ee = J(G, $.activeIndex), K = J(G, $.selectedIndex), De = J(G, $.triggerElement), q = J(G, $.positionerElement), Oe = ln(Se), ke = Se ?? Oe ?? null, Ae = Z.useMemo(() => S ? "" : In(z, C), [
1347
1348
  S,
1348
- R,
1349
+ z,
1349
1350
  C
1350
- ]), Pe = Z.useMemo(() => S && Array.isArray(R) ? R.map((e) => In(e, C)) : In(R, C), [
1351
+ ]), je = Z.useMemo(() => S && Array.isArray(z) ? z.map((e) => In(e, C)) : In(z, C), [
1351
1352
  S,
1352
- R,
1353
+ z,
1353
1354
  C
1354
1355
  ]);
1355
- ot(Re(q.state.triggerElement), P, R, J(() => Pe), !I, u);
1356
- let Fe = Z.useRef(R), Ie = S ? Array.isArray(R) && R.length > 0 : R != null && In(R, C) !== "";
1357
- k(() => {
1358
- R !== Fe.current && q.set("forceMount", !0);
1359
- }, [q, R]), k(() => {
1360
- N(Ie);
1361
- }, [Ie, N]), k(function() {
1362
- let e = W.current, t;
1356
+ ot(Ce(G.state.triggerElement), ae, z, X(() => je), !L, u);
1357
+ let Me = Z.useRef(z), Ne = S ? Array.isArray(z) && z.length > 0 : z != null && In(z, C) !== "";
1358
+ Y(() => {
1359
+ z !== Me.current && G.set("forceMount", !0);
1360
+ }, [G, z]), Y(() => {
1361
+ N(Ne);
1362
+ }, [Ne, N]), Y(function() {
1363
+ let e = me.current, t;
1363
1364
  if (S) {
1364
- let n = Array.isArray(R) ? R : [];
1365
+ let n = Array.isArray(z) ? z : [];
1365
1366
  if (n.length === 0) t = null;
1366
1367
  else {
1367
1368
  let r = n[n.length - 1], i = An(e, r, w);
1368
1369
  t = i === -1 ? null : i;
1369
1370
  }
1370
1371
  } else {
1371
- let n = An(e, R, w);
1372
+ let n = An(e, z, w);
1372
1373
  t = n === -1 ? null : n;
1373
1374
  }
1374
- t === null && (_e.current = null), !B && q.set("selectedIndex", t);
1375
+ t === null && (ge.current = null), !V && G.set("selectedIndex", t);
1375
1376
  }, [
1376
- Ie,
1377
+ Ne,
1377
1378
  S,
1378
- B,
1379
- R,
1380
- W,
1379
+ V,
1380
+ z,
1381
+ me,
1381
1382
  w,
1382
- q,
1383
- _e
1383
+ G,
1384
+ ge
1384
1385
  ]);
1385
- function Le(e) {
1386
- let t = A.initialValue;
1386
+ function Pe(e) {
1387
+ let t = M.initialValue;
1387
1388
  return Array.isArray(e) && Array.isArray(t) ? !zn(e, t, (e, t) => On(e, t, w)) : e !== t;
1388
1389
  }
1389
- st(R, () => {
1390
- E(L), D(Le(R)), ae.change(R);
1390
+ st(z, () => {
1391
+ D(R), O(Pe(z)), P.change(z);
1391
1392
  });
1392
- let Be = J((e, t) => {
1393
- l?.(e, t), !t.isCanceled && (H(e), !e && (t.reason === "focus-out" || t.reason === "outside-press") && (O(!0), ne(!1), oe === "onBlur" && ae.commit(R)));
1394
- }), Ve = J(() => {
1395
- Se(!1), q.update({
1393
+ let Fe = X((e, t) => {
1394
+ l?.(e, t), !t.isCanceled && (oe(e), !e && (t.reason === "focus-out" || t.reason === "outside-press") && (k(!0), A(!1), I === "onBlur" && P.commit(z)));
1395
+ }), Ie = X(() => {
1396
+ be(!1), G.update({
1396
1397
  activeIndex: null,
1397
1398
  openMethod: null
1398
- }), y?.(!1);
1399
+ }), b?.(!1);
1399
1400
  });
1400
- c({
1401
+ s({
1401
1402
  enabled: !_,
1402
- open: B,
1403
+ open: V,
1403
1404
  ref: le,
1404
1405
  onComplete() {
1405
- B || Ve();
1406
+ V || Ie();
1406
1407
  }
1407
- }), Z.useImperativeHandle(_, () => ({ unmount: Ve }), [Ve]);
1408
- let He = J((e, t) => {
1409
- i?.(e, t), !t.isCanceled && z(e);
1410
- }), Ue = J(() => {
1411
- let e = q.state.listElement || le.current;
1408
+ }), Z.useImperativeHandle(_, () => ({ unmount: Ie }), [Ie]);
1409
+ let Le = X((e, t) => {
1410
+ i?.(e, t), !t.isCanceled && B(e);
1411
+ }), Re = X(() => {
1412
+ let e = G.state.listElement || le.current;
1412
1413
  if (!e) return;
1413
1414
  let t = Vn(e.scrollHeight, e.clientHeight), n = Hn(e.scrollTop, t), r = n > 0, i = n < t;
1414
- q.state.scrollUpArrowVisible !== r && q.set("scrollUpArrowVisible", r), q.state.scrollDownArrowVisible !== i && q.set("scrollDownArrowVisible", i);
1415
- }), We = Ee({
1416
- open: B,
1417
- onOpenChange: Be,
1415
+ G.state.scrollUpArrowVisible !== r && G.set("scrollUpArrowVisible", r), G.state.scrollDownArrowVisible !== i && G.set("scrollDownArrowVisible", i);
1416
+ }), ze = pe({
1417
+ open: V,
1418
+ onOpenChange: Fe,
1418
1419
  elements: {
1419
- reference: Oe,
1420
- floating: ke
1420
+ reference: De,
1421
+ floating: q
1421
1422
  }
1422
- }), Y = Pt(We, {
1423
- enabled: !m && !I,
1423
+ }), Be = Pt(ze, {
1424
+ enabled: !m && !L,
1424
1425
  event: "mousedown"
1425
- }), Ge = s(We), qe = Vt(We, {
1426
- enabled: !m && !I,
1427
- listRef: U,
1428
- activeIndex: Te,
1429
- selectedIndex: De,
1430
- disabledIndices: me,
1426
+ }), Ve = o(ze), He = Vt(ze, {
1427
+ enabled: !m && !L,
1428
+ listRef: se,
1429
+ activeIndex: Ee,
1430
+ selectedIndex: K,
1431
+ disabledIndices: Je,
1431
1432
  onNavigate(e) {
1432
- e === null && !B || q.set("activeIndex", e);
1433
+ e === null && !V || G.set("activeIndex", e);
1433
1434
  },
1434
- focusItemOnHover: te
1435
- }), Je = Ht(We, {
1436
- enabled: !m && !I && (B || !S),
1435
+ focusItemOnHover: E
1436
+ }), We = Ht(ze, {
1437
+ enabled: !m && !L && (V || !S),
1437
1438
  listRef: ce,
1438
- activeIndex: Te,
1439
- selectedIndex: De,
1440
- disabledIndices: (e) => tt(U.current[e]),
1439
+ activeIndex: Ee,
1440
+ selectedIndex: K,
1441
+ disabledIndices: (e) => tt(se.current[e]),
1441
1442
  onMatch(e) {
1442
- B ? q.set("activeIndex", e) : He(W.current[e], x("none"));
1443
+ V ? G.set("activeIndex", e) : Le(me.current[e], v("none"));
1443
1444
  },
1444
1445
  onTyping(e) {
1445
- pe.current = e;
1446
+ W.current = e;
1446
1447
  }
1447
- }), Ye = Z.useMemo(() => {
1448
- let e = Ke(Je.reference, qe.reference, Ge.reference, Y.reference, K);
1449
- return P && (e.id = P), e;
1448
+ }), Ge = Z.useMemo(() => {
1449
+ let e = Ue(We.reference, He.reference, Ve.reference, Be.reference, Te);
1450
+ return ae && (e.id = ae), e;
1450
1451
  }, [
1451
- Y.reference,
1452
- Je.reference,
1453
- qe.reference,
1454
- Ge.reference,
1455
- K,
1456
- P
1457
- ]), Xe = Z.useMemo(() => Ke(ze, Je.floating, qe.floating, Ge.floating), [
1458
- Je.floating,
1459
- qe.floating,
1460
- Ge.floating
1461
- ]), Ze = qe.item ?? je;
1462
- M(() => {
1463
- q.update({
1464
- popupProps: Xe,
1465
- triggerProps: Ye
1452
+ Be.reference,
1453
+ We.reference,
1454
+ He.reference,
1455
+ Ve.reference,
1456
+ Te,
1457
+ ae
1458
+ ]), Ke = Z.useMemo(() => Ue(we, We.floating, He.floating, Ve.floating), [
1459
+ We.floating,
1460
+ He.floating,
1461
+ Ve.floating
1462
+ ]), qe = He.item ?? Ye;
1463
+ T(() => {
1464
+ G.update({
1465
+ popupProps: Ke,
1466
+ triggerProps: Ge
1466
1467
  });
1467
- }), k(() => {
1468
- q.update({
1469
- id: P,
1468
+ }), Y(() => {
1469
+ G.update({
1470
+ id: ae,
1470
1471
  modal: g,
1471
1472
  multiple: S,
1472
- value: R,
1473
- open: B,
1474
- mounted: xe,
1475
- transitionStatus: G,
1476
- popupProps: Xe,
1477
- triggerProps: Ye,
1478
- items: b,
1473
+ value: z,
1474
+ open: V,
1475
+ mounted: ye,
1476
+ transitionStatus: xe,
1477
+ popupProps: Ke,
1478
+ triggerProps: Ge,
1479
+ items: x,
1479
1480
  itemToStringLabel: ee,
1480
1481
  itemToStringValue: C,
1481
1482
  isItemEqualToValue: w,
1482
- openMethod: Me
1483
+ openMethod: ke
1483
1484
  });
1484
1485
  }, [
1485
- q,
1486
- P,
1486
+ G,
1487
+ ae,
1487
1488
  g,
1488
1489
  S,
1489
- R,
1490
- B,
1490
+ z,
1491
+ V,
1492
+ ye,
1491
1493
  xe,
1492
- G,
1493
- Xe,
1494
- Ye,
1495
- b,
1494
+ Ke,
1495
+ Ge,
1496
+ x,
1496
1497
  ee,
1497
1498
  C,
1498
1499
  w,
1499
- Me
1500
+ ke
1500
1501
  ]);
1501
1502
  let $e = Z.useMemo(() => ({
1502
- store: q,
1503
- name: L,
1503
+ store: G,
1504
+ name: R,
1504
1505
  required: h,
1505
- disabled: I,
1506
+ disabled: L,
1506
1507
  readOnly: m,
1507
1508
  multiple: S,
1508
- highlightItemOnHover: te,
1509
- setValue: He,
1510
- setOpen: Be,
1511
- listRef: U,
1509
+ highlightItemOnHover: E,
1510
+ setValue: Le,
1511
+ setOpen: Fe,
1512
+ listRef: se,
1512
1513
  popupRef: le,
1513
- scrollHandlerRef: ue,
1514
- handleScrollArrowVisibility: Ue,
1515
- scrollArrowsMountedCountRef: de,
1516
- itemProps: Ze,
1514
+ scrollHandlerRef: de,
1515
+ handleScrollArrowVisibility: Re,
1516
+ scrollArrowsMountedCountRef: U,
1517
+ itemProps: qe,
1517
1518
  valueRef: fe,
1518
- valuesRef: W,
1519
+ valuesRef: me,
1519
1520
  labelsRef: ce,
1520
- typingRef: pe,
1521
- selectionRef: ve,
1521
+ typingRef: W,
1522
+ selectionRef: _e,
1522
1523
  firstItemTextRef: he,
1523
- selectedItemTextRef: _e,
1524
- validation: ae,
1525
- onOpenChangeComplete: y,
1526
- alignItemWithTriggerActiveRef: be,
1527
- initialValueRef: Fe
1524
+ selectedItemTextRef: ge,
1525
+ validation: P,
1526
+ onOpenChangeComplete: b,
1527
+ alignItemWithTriggerActiveRef: ve,
1528
+ initialValueRef: Me
1528
1529
  }), [
1529
- q,
1530
- L,
1530
+ G,
1531
+ R,
1531
1532
  h,
1532
- I,
1533
+ L,
1533
1534
  m,
1534
1535
  S,
1535
- te,
1536
- He,
1537
- Be,
1538
- Ze,
1539
- ae,
1540
- y,
1541
- Ue
1542
- ]), et = ge(v, ae.inputRef), nt = S && Array.isArray(R) && R.length > 0, rt = S ? void 0 : L, it = Z.useMemo(() => !S || !Array.isArray(R) || !L ? null : R.map((e) => {
1536
+ E,
1537
+ Le,
1538
+ Fe,
1539
+ qe,
1540
+ P,
1541
+ b,
1542
+ Re
1543
+ ]), et = Xe(y, P.inputRef), nt = S && Array.isArray(z) && z.length > 0, rt = S ? void 0 : R, it = Z.useMemo(() => !S || !Array.isArray(z) || !R ? null : z.map((e) => {
1543
1544
  let t = In(e, C);
1544
1545
  return /*#__PURE__*/ (0, Q.jsx)("input", {
1545
1546
  type: "hidden",
1546
1547
  form: d,
1547
- name: L,
1548
+ name: R,
1548
1549
  value: t,
1549
- disabled: I
1550
+ disabled: L
1550
1551
  }, t);
1551
1552
  }), [
1552
1553
  S,
1553
- R,
1554
+ z,
1554
1555
  d,
1555
- L,
1556
+ R,
1556
1557
  C,
1557
- I
1558
+ L
1558
1559
  ]);
1559
1560
  return /*#__PURE__*/ (0, Q.jsx)(Sn.Provider, {
1560
1561
  value: $e,
1561
1562
  children: /*#__PURE__*/ (0, Q.jsxs)(Cn.Provider, {
1562
- value: We,
1563
+ value: ze,
1563
1564
  children: [
1564
- T,
1565
+ te,
1565
1566
  /*#__PURE__*/ (0, Q.jsx)("input", {
1566
- ...ae.getValidationProps(I, {
1567
+ ...P.getValidationProps(L, {
1567
1568
  onFocus() {
1568
- q.state.triggerElement?.focus({ focusVisible: !0 });
1569
+ G.state.triggerElement?.focus({ focusVisible: !0 });
1569
1570
  },
1570
1571
  onChange(e) {
1571
- if (e.nativeEvent.defaultPrevented || I || m) return;
1572
- let t = e.currentTarget.value, n = x(F, e.nativeEvent);
1572
+ if (e.nativeEvent.defaultPrevented || L || m) return;
1573
+ let t = e.currentTarget.value, n = v(j, e.nativeEvent);
1573
1574
  function r() {
1574
1575
  if (S) return;
1575
- let e = t.toLowerCase(), r = W.current.findIndex((t) => In(t, C).toLowerCase() === e || Fn(t, ee).toLowerCase() === e);
1576
- r === -1 && (r = W.current.findIndex((t, n) => {
1576
+ let e = t.toLowerCase(), r = me.current.findIndex((t) => In(t, C).toLowerCase() === e || Fn(t, ee).toLowerCase() === e);
1577
+ r === -1 && (r = me.current.findIndex((t, n) => {
1577
1578
  let r = ce.current[n];
1578
1579
  return r != null && r.toLowerCase() === e;
1579
1580
  }));
1580
- let i = r === -1 ? void 0 : W.current[r];
1581
- i != null && He(i, n);
1581
+ let i = r === -1 ? void 0 : me.current[r];
1582
+ i != null && Le(i, n);
1582
1583
  }
1583
- q.set("forceMount", !0), queueMicrotask(r);
1584
+ G.set("forceMount", !0), queueMicrotask(r);
1584
1585
  }
1585
1586
  }),
1586
- id: P && rt == null ? `${P}-hidden-input` : void 0,
1587
+ id: ae && rt == null ? `${ae}-hidden-input` : void 0,
1587
1588
  form: d,
1588
1589
  name: rt,
1589
1590
  autoComplete: f,
1590
- value: Ne,
1591
- disabled: I,
1591
+ value: Ae,
1592
+ disabled: L,
1592
1593
  required: h && !nt,
1593
1594
  readOnly: m,
1594
1595
  ref: et,
1595
- style: L ? V : ye,
1596
+ style: R ? ie : H,
1596
1597
  tabIndex: -1,
1597
1598
  "aria-hidden": !0,
1598
1599
  suppressHydrationWarning: !0
@@ -1610,21 +1611,21 @@ function Wn(e, t) {
1610
1611
  //#endregion
1611
1612
  //#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/select/trigger/SelectTrigger.mjs
1612
1613
  var Gn = 2, Kn = 400, qn = {
1613
- ...be,
1614
+ ...se,
1614
1615
  ...at,
1615
1616
  popupSide: (e) => e ? { "data-popup-side": e } : null,
1616
1617
  value: () => null
1617
1618
  }, Jn = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1618
- let { render: n, className: r, id: i, disabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { setTouched: l, setFocused: u, validationMode: d, state: f, disabled: p } = ct(), { labelId: m } = lt(), { store: h, setOpen: g, selectionRef: _, validation: v, readOnly: y, required: b, alignItemWithTriggerActiveRef: S, disabled: ee } = wn(), C = p || ee || a, w = X(h, $.open), te = X(h, $.mounted), T = X(h, $.value), E = X(h, $.triggerProps), D = X(h, $.positionerElement), O = X(h, $.listElement), ne = X(h, $.popupSide), k = X(h, $.id), j = X(h, $.labelId), M = X(h, $.hasSelectedValue), N = te && D ? ne : null, re = i ?? k, ie = Wn(m, j);
1619
- En({ id: re });
1620
- let ae = Re(D), oe = Z.useRef(null), { getButtonProps: P, buttonRef: I } = B({
1619
+ let { render: n, className: r, id: i, disabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { setTouched: l, setFocused: u, validationMode: d, state: f, disabled: p } = ct(), { labelId: m } = lt(), { store: h, setOpen: g, selectionRef: _, validation: y, readOnly: b, required: x, alignItemWithTriggerActiveRef: S, disabled: ee } = wn(), C = p || ee || a, T = J(h, $.open), E = J(h, $.mounted), te = J(h, $.value), D = J(h, $.triggerProps), O = J(h, $.positionerElement), k = J(h, $.listElement), A = J(h, $.popupSide), M = J(h, $.id), N = J(h, $.labelId), ne = J(h, $.hasSelectedValue), re = E && O ? A : null, ie = i ?? M, P = Wn(m, N);
1620
+ En({ id: ie });
1621
+ let F = Ce(O), I = Z.useRef(null), { getButtonProps: ae, buttonRef: L } = He({
1621
1622
  disabled: C,
1622
1623
  native: o
1623
- }), L = J((e) => {
1624
+ }), R = X((e) => {
1624
1625
  h.set("triggerElement", e);
1625
- }), R = A(), z = A(), V = A();
1626
+ }), z = w(), B = w(), V = w();
1626
1627
  Z.useEffect(() => {
1627
- if (w) return V.start(Kn, () => {
1628
+ if (T) return V.start(Kn, () => {
1628
1629
  _.current.allowUnselectedMouseUp = !0, _.current.allowSelectedMouseUp = !0;
1629
1630
  }), () => {
1630
1631
  V.clear();
@@ -1633,77 +1634,77 @@ var Gn = 2, Kn = 400, qn = {
1633
1634
  allowSelectedMouseUp: !1,
1634
1635
  allowUnselectedMouseUp: !1,
1635
1636
  dragY: 0
1636
- }, z.clear();
1637
+ }, B.clear();
1637
1638
  }, [
1638
- w,
1639
+ T,
1639
1640
  _,
1640
- z,
1641
+ B,
1641
1642
  V
1642
1643
  ]);
1643
- let H = Ke(E, {
1644
- id: re,
1644
+ let oe = Ue(D, {
1645
+ id: ie,
1645
1646
  role: "combobox",
1646
- "aria-expanded": w ? "true" : "false",
1647
+ "aria-expanded": T ? "true" : "false",
1647
1648
  "aria-haspopup": "listbox",
1648
- "aria-controls": w ? O?.id ?? He(D)?.id : void 0,
1649
- "aria-labelledby": ie,
1650
- "aria-readonly": y || void 0,
1651
- "aria-required": b || void 0,
1649
+ "aria-controls": T ? k?.id ?? Ee(O)?.id : void 0,
1650
+ "aria-labelledby": P,
1651
+ "aria-readonly": b || void 0,
1652
+ "aria-required": x || void 0,
1652
1653
  tabIndex: C ? -1 : 0,
1653
1654
  onFocus(e) {
1654
- u(!0), w && S.current && g(!1, x(F, e.nativeEvent)), R.start(0, () => {
1655
+ u(!0), T && S.current && g(!1, v(j, e.nativeEvent)), z.start(0, () => {
1655
1656
  h.set("forceMount", !0);
1656
1657
  });
1657
1658
  },
1658
1659
  onBlur(e) {
1659
- K(D, e.relatedTarget) || (l(!0), u(!1), d === "onBlur" && v.commit(T));
1660
+ U(O, e.relatedTarget) || (l(!0), u(!1), d === "onBlur" && y.commit(te));
1660
1661
  },
1661
1662
  onMouseDown(e) {
1662
- if (w) return;
1663
- let t = Oe(e.currentTarget);
1663
+ if (T) return;
1664
+ let t = W(e.currentTarget);
1664
1665
  function n(e) {
1665
- if (!oe.current) return;
1666
+ if (!I.current) return;
1666
1667
  let t = e.target;
1667
- if (K(oe.current, t) || K(ae.current, t)) return;
1668
- let n = cn(oe.current);
1669
- e.clientX >= n.left - Gn && e.clientX <= n.right + Gn && e.clientY >= n.top - Gn && e.clientY <= n.bottom + Gn || g(!1, x(Je, e));
1668
+ if (U(I.current, t) || U(F.current, t)) return;
1669
+ let n = cn(I.current);
1670
+ e.clientX >= n.left - Gn && e.clientX <= n.right + Gn && e.clientY >= n.top - Gn && e.clientY <= n.bottom + Gn || g(!1, v(Ae, e));
1670
1671
  }
1671
- z.start(0, () => {
1672
+ B.start(0, () => {
1672
1673
  t.addEventListener("mouseup", n, { once: !0 });
1673
1674
  });
1674
1675
  }
1675
- }, c, P), U = v.getValidationProps(C, H);
1676
- U.role = "combobox";
1676
+ }, c, ae), H = y.getValidationProps(C, oe);
1677
+ H.role = "combobox";
1677
1678
  let se = {
1678
1679
  ...f,
1679
- open: w,
1680
+ open: T,
1680
1681
  disabled: C,
1681
- value: T,
1682
- readOnly: y,
1683
- popupSide: N,
1684
- placeholder: !M
1682
+ value: te,
1683
+ readOnly: b,
1684
+ popupSide: re,
1685
+ placeholder: !ne
1685
1686
  };
1686
- return ue("button", e, {
1687
+ return Be("button", e, {
1687
1688
  ref: [
1688
1689
  t,
1689
- oe,
1690
1690
  I,
1691
- L
1691
+ L,
1692
+ R
1692
1693
  ],
1693
1694
  state: se,
1694
1695
  stateAttributesMapping: qn,
1695
- props: U
1696
+ props: H
1696
1697
  });
1697
1698
  });
1698
1699
  process.env.NODE_ENV !== "production" && (Jn.displayName = "SelectTrigger");
1699
1700
  //#endregion
1700
1701
  //#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/select/value/SelectValue.mjs
1701
1702
  var Yn = { value: () => null }, Xn = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1702
- let { className: n, render: r, children: i, placeholder: a, style: o, ...s } = e, { store: c, valueRef: l } = wn(), u = X(c, $.value), d = X(c, $.items), f = X(c, $.itemToStringLabel), p = X(c, $.hasSelectedValue), m = !p && a != null && i == null, h = X(c, $.hasNullItemLabel, m), g = {
1703
+ let { className: n, render: r, children: i, placeholder: a, style: o, ...s } = e, { store: c, valueRef: l } = wn(), u = J(c, $.value), d = J(c, $.items), f = J(c, $.itemToStringLabel), p = J(c, $.hasSelectedValue), m = !p && a != null && i == null, h = J(c, $.hasNullItemLabel, m), g = {
1703
1704
  value: u,
1704
1705
  placeholder: !p
1705
1706
  }, _ = null;
1706
- return _ = typeof i == "function" ? i(u) : i ?? (!p && a != null && !h ? a : Array.isArray(u) ? Rn(u, d, f) : Ln(u, d, f)), ue("span", e, {
1707
+ return _ = typeof i == "function" ? i(u) : i ?? (!p && a != null && !h ? a : Array.isArray(u) ? Rn(u, d, f) : Ln(u, d, f)), Be("span", e, {
1707
1708
  state: g,
1708
1709
  ref: [t, l],
1709
1710
  props: [{ children: _ }, s],
@@ -1718,10 +1719,10 @@ process.env.NODE_ENV !== "production" && (Zn.displayName = "SelectPortalContext"
1718
1719
  //#endregion
1719
1720
  //#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/select/portal/SelectPortal.mjs
1720
1721
  var Qn = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1721
- let { store: n } = wn(), r = X(n, $.mounted), i = X(n, $.forceMount);
1722
+ let { store: n } = wn(), r = J(n, $.mounted), i = J(n, $.forceMount);
1722
1723
  return r || i ? /*#__PURE__*/ (0, Q.jsx)(Zn.Provider, {
1723
1724
  value: !0,
1724
- children: /*#__PURE__*/ (0, Q.jsx)(E, {
1725
+ children: /*#__PURE__*/ (0, Q.jsx)(S, {
1725
1726
  ref: t,
1726
1727
  ...e
1727
1728
  })
@@ -1734,7 +1735,7 @@ var $n = /*#__PURE__*/ Z.createContext(void 0);
1734
1735
  process.env.NODE_ENV !== "production" && ($n.displayName = "SelectPositionerContext");
1735
1736
  function er() {
1736
1737
  let e = Z.useContext($n);
1737
- if (!e) throw Error(process.env.NODE_ENV === "production" ? U(59) : "Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.");
1738
+ if (!e) throw Error(process.env.NODE_ENV === "production" ? qe(59) : "Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.");
1738
1739
  return e;
1739
1740
  }
1740
1741
  //#endregion
@@ -1748,15 +1749,15 @@ var nr = {
1748
1749
  overflowX: "hidden",
1749
1750
  overflowY: "auto"
1750
1751
  }, rr = { position: "fixed" }, ir = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1751
- let { anchor: n, positionMethod: r = "absolute", className: i, render: a, side: o = "bottom", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m, alignItemWithTrigger: g = !0, collisionAvoidance: _ = b, style: v, ...y } = e, { store: S, listRef: ee, labelsRef: C, alignItemWithTriggerActiveRef: w, selectedItemTextRef: te, valuesRef: T, initialValueRef: E, popupRef: D, setValue: O } = wn(), ne = Tn(), A = X(S, $.open), j = X(S, $.mounted), M = X(S, $.modal), N = X(S, $.value), re = X(S, $.openMethod), ie = X(S, $.positionerElement), ae = X(S, $.triggerElement), oe = X(S, $.isItemEqualToValue), P = X(S, $.transitionStatus), I = Z.useRef(null), L = Z.useRef(null), [R, z] = Z.useState(g), B = j && R && re !== "touch";
1752
- !j && R !== g && z(g), k(() => {
1753
- j || ($.scrollUpArrowVisible(S.state) && S.set("scrollUpArrowVisible", !1), $.scrollDownArrowVisible(S.state) && S.set("scrollDownArrowVisible", !1));
1754
- }, [S, j]), Z.useImperativeHandle(w, () => B), rn((B || M) && A, re === "touch", ie, ae);
1755
- let V = h({
1752
+ let { anchor: n, positionMethod: r = "absolute", className: i, render: a, side: o = "bottom", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d, arrowPadding: f = 5, sticky: m = !1, disableAnchorTracking: h, alignItemWithTrigger: g = !0, collisionAvoidance: y = _, style: b, ...x } = e, { store: S, listRef: ee, labelsRef: C, alignItemWithTriggerActiveRef: w, selectedItemTextRef: T, valuesRef: E, initialValueRef: te, popupRef: D, setValue: O } = wn(), k = Tn(), A = J(S, $.open), M = J(S, $.mounted), N = J(S, $.modal), ne = J(S, $.value), re = J(S, $.openMethod), ie = J(S, $.positionerElement), P = J(S, $.triggerElement), F = J(S, $.isItemEqualToValue), I = J(S, $.transitionStatus), ae = Z.useRef(null), L = Z.useRef(null), [R, z] = Z.useState(g), B = M && R && re !== "touch";
1753
+ !M && R !== g && z(g), Y(() => {
1754
+ M || ($.scrollUpArrowVisible(S.state) && S.set("scrollUpArrowVisible", !1), $.scrollDownArrowVisible(S.state) && S.set("scrollDownArrowVisible", !1));
1755
+ }, [S, M]), Z.useImperativeHandle(w, () => B), rn((B || N) && A, re === "touch", ie, P);
1756
+ let V = p({
1756
1757
  anchor: n,
1757
- floatingRootContext: ne,
1758
+ floatingRootContext: k,
1758
1759
  positionMethod: r,
1759
- mounted: j,
1760
+ mounted: M,
1760
1761
  side: o,
1761
1762
  sideOffset: c,
1762
1763
  align: s,
@@ -1764,40 +1765,40 @@ var nr = {
1764
1765
  arrowPadding: f,
1765
1766
  collisionBoundary: u,
1766
1767
  collisionPadding: d,
1767
- sticky: p,
1768
- disableAnchorTracking: m ?? B,
1769
- collisionAvoidance: _,
1768
+ sticky: m,
1769
+ disableAnchorTracking: h ?? B,
1770
+ collisionAvoidance: y,
1770
1771
  keepMounted: !0
1771
- }), H = B ? "none" : V.side, U = B ? rr : V.positionerStyles, se = {
1772
+ }), oe = B ? "none" : V.side, H = B ? rr : V.positionerStyles, se = {
1772
1773
  open: A,
1773
- side: H,
1774
+ side: oe,
1774
1775
  align: V.align,
1775
1776
  anchorHidden: V.anchorHidden
1776
1777
  };
1777
- k(() => {
1778
+ Y(() => {
1778
1779
  S.set("popupSide", V.side);
1779
1780
  }, [S, V.side]);
1780
- let ce = Me(e, se, {
1781
- styles: U,
1782
- transitionStatus: P,
1783
- props: y,
1784
- refs: [t, J((e) => {
1781
+ let ce = _e(e, se, {
1782
+ styles: H,
1783
+ transitionStatus: I,
1784
+ props: x,
1785
+ refs: [t, X((e) => {
1785
1786
  S.set("positionerElement", e);
1786
1787
  })],
1787
- hidden: !j,
1788
+ hidden: !M,
1788
1789
  inert: !A
1789
- }), le = Z.useRef(0), ue = J((e) => {
1790
- if (e.size === 0 && le.current === 0 || T.current.length === 0) return;
1790
+ }), le = Z.useRef(0), ue = X((e) => {
1791
+ if (e.size === 0 && le.current === 0 || E.current.length === 0) return;
1791
1792
  let t = le.current;
1792
1793
  if (le.current = e.size, e.size === t) return;
1793
- let n = x(F);
1794
- if (t !== 0 && !S.state.multiple && N !== null && An(T.current, N, oe) === -1) {
1795
- let e = E.current, t = e != null && An(T.current, e, oe) !== -1 ? e : null;
1796
- O(t, n), t === null && (S.set("selectedIndex", null), te.current = null);
1794
+ let n = v(j);
1795
+ if (t !== 0 && !S.state.multiple && ne !== null && An(E.current, ne, F) === -1) {
1796
+ let e = te.current, t = e != null && An(E.current, e, F) !== -1 ? e : null;
1797
+ O(t, n), t === null && (S.set("selectedIndex", null), T.current = null);
1797
1798
  }
1798
- if (t !== 0 && S.state.multiple && Array.isArray(N)) {
1799
- let e = (e) => An(T.current, e, oe) !== -1, t = N.filter((t) => e(t));
1800
- (t.length !== N.length || t.some((e) => !kn(N, e, oe))) && (O(t, n), t.length === 0 && (S.set("selectedIndex", null), te.current = null));
1799
+ if (t !== 0 && S.state.multiple && Array.isArray(ne)) {
1800
+ let e = (e) => An(E.current, e, F) !== -1, t = ne.filter((t) => e(t));
1801
+ (t.length !== ne.length || t.some((e) => !kn(ne, e, F))) && (O(t, n), t.length === 0 && (S.set("selectedIndex", null), T.current = null));
1801
1802
  }
1802
1803
  if (A && B) {
1803
1804
  S.update({
@@ -1809,14 +1810,14 @@ var nr = {
1809
1810
  }
1810
1811
  }), de = Z.useMemo(() => ({
1811
1812
  ...V,
1812
- side: H,
1813
+ side: oe,
1813
1814
  alignItemWithTriggerActive: B,
1814
1815
  setControlledAlignItemWithTrigger: z,
1815
- scrollUpArrowRef: I,
1816
+ scrollUpArrowRef: ae,
1816
1817
  scrollDownArrowRef: L
1817
1818
  }), [
1818
1819
  V,
1819
- H,
1820
+ oe,
1820
1821
  B,
1821
1822
  z
1822
1823
  ]);
@@ -1826,9 +1827,9 @@ var nr = {
1826
1827
  onMapChange: ue,
1827
1828
  children: /*#__PURE__*/ (0, Q.jsxs)($n.Provider, {
1828
1829
  value: de,
1829
- children: [j && M && /*#__PURE__*/ (0, Q.jsx)(Kt, {
1830
+ children: [M && N && /*#__PURE__*/ (0, Q.jsx)(Kt, {
1830
1831
  inert: Gt(!A),
1831
- cutout: ae
1832
+ cutout: P
1832
1833
  }), ce]
1833
1834
  })
1834
1835
  });
@@ -1859,25 +1860,25 @@ function lr() {
1859
1860
  //#endregion
1860
1861
  //#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/select/popup/SelectPopup.mjs
1861
1862
  var ur = {
1862
- ...Ie,
1863
- ...ke
1863
+ ...xe,
1864
+ ...he
1864
1865
  }, dr = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1865
- let { render: n, className: r, style: i, finalFocus: a, ...o } = e, { store: s, popupRef: l, onOpenChangeComplete: u, setOpen: d, valueRef: f, firstItemTextRef: p, selectedItemTextRef: h, multiple: g, handleScrollArrowVisibility: _, scrollHandlerRef: v, listRef: y, highlightItemOnHover: b } = wn(), { side: S, align: ee, alignItemWithTriggerActive: C, isPositioned: w, setControlledAlignItemWithTrigger: te } = er(), E = Wt(!0) != null, D = Tn(), O = oe(), { nonce: ne, disableStyleElements: A } = lr(), j = X(s, $.id), M = X(s, $.open), N = X(s, $.openMethod), re = X(s, $.mounted), ie = X(s, $.popupProps), ae = X(s, $.transitionStatus), P = X(s, $.triggerElement), F = X(s, $.positionerElement), I = X(s, $.listElement), R = Z.useRef(!1), z = Z.useRef(!1), B = Z.useRef({}), V = xe(), H = J((e) => {
1866
- if (!F || !l.current || !z.current) return;
1867
- if (R.current || !C) {
1866
+ let { render: n, className: r, style: i, finalFocus: a, ...o } = e, { store: c, popupRef: l, onOpenChangeComplete: u, setOpen: d, valueRef: p, firstItemTextRef: m, selectedItemTextRef: h, multiple: g, handleScrollArrowVisibility: _, scrollHandlerRef: y, listRef: b, highlightItemOnHover: x } = wn(), { side: S, align: ee, alignItemWithTriggerActive: C, isPositioned: w, setControlledAlignItemWithTrigger: T } = er(), E = Wt(!0) != null, te = Tn(), D = k(), { nonce: O, disableStyleElements: A } = lr(), j = J(c, $.id), M = J(c, $.open), ne = J(c, $.openMethod), re = J(c, $.mounted), ie = J(c, $.popupProps), P = J(c, $.transitionStatus), F = J(c, $.triggerElement), I = J(c, $.positionerElement), ae = J(c, $.listElement), L = Z.useRef(!1), R = Z.useRef(!1), z = Z.useRef({}), B = ce(), V = X((e) => {
1867
+ if (!I || !l.current || !R.current) return;
1868
+ if (L.current || !C) {
1868
1869
  _();
1869
1870
  return;
1870
1871
  }
1871
- let t = F.style.top === "0px", n = F.style.bottom === "0px";
1872
+ let t = I.style.top === "0px", n = I.style.bottom === "0px";
1872
1873
  if (!t && !n) {
1873
1874
  _();
1874
1875
  return;
1875
1876
  }
1876
- let r = mr(F), i = hr(F.getBoundingClientRect().height, "y", r), a = Oe(F), o = T(F), s = o.getComputedStyle(F), c = parseFloat(s.marginTop), u = parseFloat(s.marginBottom), d = fr(o.getComputedStyle(l.current)), f = Math.min(a.documentElement.clientHeight - c - u, d), p = e.scrollTop, m = pr(e), h = 0, g = null, v = !1, y = !1, b = (e) => {
1877
- F.style.height = `${e}px`;
1877
+ let r = mr(I), i = hr(I.getBoundingClientRect().height, "y", r), a = W(I), o = Ge(I), s = o.getComputedStyle(I), c = parseFloat(s.marginTop), u = parseFloat(s.marginBottom), d = fr(o.getComputedStyle(l.current)), f = Math.min(a.documentElement.clientHeight - c - u, d), p = e.scrollTop, m = pr(e), h = 0, g = null, v = !1, y = !1, b = (e) => {
1878
+ I.style.height = `${e}px`;
1878
1879
  }, x = (t, n) => {
1879
1880
  let r = Bn(t, 0, f - i);
1880
- r > 0 && b(i + r), e.scrollTop = n, f - (i + r) <= 1 && (R.current = !0), _();
1881
+ r > 0 && b(i + r), e.scrollTop = n, f - (i + r) <= 1 && (L.current = !0), _();
1881
1882
  }, S = t ? m - p : p, ee = Math.min(i + S, f);
1882
1883
  if (h = ee, S <= 1) {
1883
1884
  x(S, t ? m : 0);
@@ -1887,114 +1888,114 @@ var ur = {
1887
1888
  let t = pr(e), n = y ? t : Bn(g, 0, t);
1888
1889
  Math.abs(e.scrollTop - n) > 1 && (e.scrollTop = n);
1889
1890
  }
1890
- (v || h >= f - 1) && (R.current = !0), _();
1891
+ (v || h >= f - 1) && (L.current = !0), _();
1891
1892
  });
1892
- Z.useImperativeHandle(v, () => H, [H]), c({
1893
+ Z.useImperativeHandle(y, () => V, [V]), s({
1893
1894
  open: M,
1894
1895
  ref: l,
1895
1896
  onComplete() {
1896
1897
  M && u?.(!0);
1897
1898
  }
1898
1899
  });
1899
- let U = {
1900
+ let oe = {
1900
1901
  open: M,
1901
- transitionStatus: ae,
1902
+ transitionStatus: P,
1902
1903
  side: S,
1903
1904
  align: ee
1904
1905
  };
1905
- k(() => {
1906
- !F || !l.current || Object.keys(B.current).length || (B.current = {
1907
- top: F.style.top || "0",
1908
- left: F.style.left || "0",
1909
- right: F.style.right,
1910
- height: F.style.height,
1911
- bottom: F.style.bottom,
1912
- minHeight: F.style.minHeight,
1913
- maxHeight: F.style.maxHeight,
1914
- marginTop: F.style.marginTop,
1915
- marginBottom: F.style.marginBottom
1906
+ Y(() => {
1907
+ !I || !l.current || Object.keys(z.current).length || (z.current = {
1908
+ top: I.style.top || "0",
1909
+ left: I.style.left || "0",
1910
+ right: I.style.right,
1911
+ height: I.style.height,
1912
+ bottom: I.style.bottom,
1913
+ minHeight: I.style.minHeight,
1914
+ maxHeight: I.style.maxHeight,
1915
+ marginTop: I.style.marginTop,
1916
+ marginBottom: I.style.marginBottom
1916
1917
  });
1917
- }, [l, F]), k(() => {
1918
- M || C || (z.current = !1, R.current = !1, tr(F, B.current));
1918
+ }, [l, I]), Y(() => {
1919
+ M || C || (R.current = !1, L.current = !1, tr(I, z.current));
1919
1920
  }, [
1920
1921
  M,
1921
1922
  C,
1922
- F,
1923
+ I,
1923
1924
  l
1924
- ]), k(() => {
1925
+ ]), Y(() => {
1925
1926
  let e = l.current;
1926
- if (!M || !P || !F || !e || C && !w || s.state.transitionStatus === "ending") return;
1927
+ if (!M || !F || !I || !e || C && !w || c.state.transitionStatus === "ending") return;
1927
1928
  if (!C) {
1928
- z.current = !0, V.request(_), e.style.removeProperty("--transform-origin");
1929
+ R.current = !0, B.request(_), e.style.removeProperty("--transform-origin");
1929
1930
  return;
1930
1931
  }
1931
1932
  let t = vr(e);
1932
1933
  e.style.removeProperty("--transform-origin");
1933
1934
  try {
1934
1935
  let t = h.current;
1935
- t?.isConnected || (t = !$.hasSelectedValue(s.state) && p.current?.isConnected ? p.current : null);
1936
- let n = f.current, r = T(F), i = r.getComputedStyle(F), a = r.getComputedStyle(e), o = Oe(P), c = mr(P), l = gr(P.getBoundingClientRect(), c), u = gr(F.getBoundingClientRect(), c), d = l.height, g = I || e, v = g.scrollHeight, x = parseFloat(a.borderBottomWidth), S = parseFloat(i.marginTop) || 10, ee = parseFloat(i.marginBottom) || 10, C = parseFloat(i.minHeight) || 100, w = fr(a), E = o.documentElement.clientHeight - S - ee, D = o.documentElement.clientWidth, ne = E - l.bottom + d, k, A = O === "rtl" ? l.right - u.width : l.left, j = 0;
1936
+ t?.isConnected || (t = !$.hasSelectedValue(c.state) && m.current?.isConnected ? m.current : null);
1937
+ let n = p.current, r = Ge(I), i = r.getComputedStyle(I), a = r.getComputedStyle(e), o = W(F), s = mr(F), l = gr(F.getBoundingClientRect(), s), u = gr(I.getBoundingClientRect(), s), d = l.height, g = ae || e, v = g.scrollHeight, y = parseFloat(a.borderBottomWidth), S = parseFloat(i.marginTop) || 10, ee = parseFloat(i.marginBottom) || 10, C = parseFloat(i.minHeight) || 100, w = fr(a), E = o.documentElement.clientHeight - S - ee, te = o.documentElement.clientWidth, O = E - l.bottom + d, k, A = D === "rtl" ? l.right - u.width : l.left, j = 0;
1937
1938
  if (t && n) {
1938
- let e = gr(n.getBoundingClientRect(), c);
1939
- k = gr(t.getBoundingClientRect(), c), A = u.left + (O === "rtl" ? e.right - k.right : e.left - k.left);
1939
+ let e = gr(n.getBoundingClientRect(), s);
1940
+ k = gr(t.getBoundingClientRect(), s), A = u.left + (D === "rtl" ? e.right - k.right : e.left - k.left);
1940
1941
  let r = e.top - l.top + e.height / 2;
1941
1942
  j = k.top - u.top + k.height / 2 - r;
1942
1943
  }
1943
- let M = ne + j + ee + x, N = Math.min(E, M), re = E - S - ee, ie = M - N, ae = D - 5;
1944
- F.style.left = `${Bn(A, 5, ae - u.width)}px`, F.style.height = `${N}px`, F.style.maxHeight = "none", F.style.marginTop = `${S}px`, F.style.marginBottom = `${ee}px`, e.style.height = "100%";
1945
- let oe = pr(g), L = ie >= oe - 1;
1946
- L && (N = Math.min(E, u.height) - (ie - oe));
1947
- let V = l.top < 20 || l.bottom > E - 20 || Math.ceil(N) + 1 < Math.min(v, C), H = (r.visualViewport?.scale ?? 1) !== 1 && m;
1948
- if (V || H) {
1949
- z.current = !0, tr(F, B.current), te(!1);
1944
+ let M = O + j + ee + y, N = Math.min(E, M), ne = E - S - ee, re = M - N, ie = te - 5;
1945
+ I.style.left = `${Bn(A, 5, ie - u.width)}px`, I.style.height = `${N}px`, I.style.maxHeight = "none", I.style.marginTop = `${S}px`, I.style.marginBottom = `${ee}px`, e.style.height = "100%";
1946
+ let P = pr(g), B = re >= P - 1;
1947
+ B && (N = Math.min(E, u.height) - (re - P));
1948
+ let V = l.top < 20 || l.bottom > E - 20 || Math.ceil(N) + 1 < Math.min(v, C), oe = (r.visualViewport?.scale ?? 1) !== 1 && f;
1949
+ if (V || oe) {
1950
+ R.current = !0, tr(I, z.current), T(!1);
1950
1951
  return;
1951
1952
  }
1952
- let U = Math.max(C, N);
1953
- if (L) {
1953
+ let H = Math.max(C, N);
1954
+ if (B) {
1954
1955
  let e = Math.max(0, E - M);
1955
- F.style.top = u.height >= re ? "0" : `${e}px`, F.style.height = `${N}px`, g.scrollTop = pr(g);
1956
- } else F.style.bottom = "0", g.scrollTop = ie;
1956
+ I.style.top = u.height >= ne ? "0" : `${e}px`, I.style.height = `${N}px`, g.scrollTop = pr(g);
1957
+ } else I.style.bottom = "0", g.scrollTop = re;
1957
1958
  if (k) {
1958
1959
  let t = u.top, n = u.height, r = k.top + k.height / 2, i = Bn(n > 0 ? (r - t) / n * 100 : 50, 0, 100);
1959
1960
  e.style.setProperty("--transform-origin", `50% ${i}%`);
1960
1961
  }
1961
- (U === E || N >= w) && (R.current = !0), _(), b && s.state.selectedIndex === null && s.state.activeIndex === null && y.current[0] != null && s.set("activeIndex", 0), z.current = !0;
1962
+ (H === E || N >= w) && (L.current = !0), _(), x && c.state.selectedIndex === null && c.state.activeIndex === null && b.current[0] != null && c.set("activeIndex", 0), R.current = !0;
1962
1963
  } finally {
1963
1964
  t();
1964
1965
  }
1965
1966
  }, [
1966
- s,
1967
+ c,
1967
1968
  M,
1969
+ I,
1968
1970
  F,
1969
- P,
1970
- f,
1971
1971
  p,
1972
+ m,
1972
1973
  h,
1973
1974
  l,
1974
1975
  _,
1975
1976
  C,
1976
- te,
1977
- V,
1978
- I,
1979
- y,
1977
+ T,
1978
+ B,
1979
+ ae,
1980
1980
  b,
1981
- O,
1981
+ x,
1982
+ D,
1982
1983
  w
1983
1984
  ]), Z.useEffect(() => {
1984
- if (!C || !F || !M) return;
1985
- let e = T(F);
1985
+ if (!C || !I || !M) return;
1986
+ let e = Ge(I);
1986
1987
  function t(e) {
1987
- d(!1, x(Ve, e));
1988
+ d(!1, v(G, e));
1988
1989
  }
1989
- return we(e, "resize", t);
1990
+ return de(e, "resize", t);
1990
1991
  }, [
1991
1992
  d,
1992
1993
  C,
1993
- F,
1994
+ I,
1994
1995
  M
1995
1996
  ]);
1996
- let se = {
1997
- ...I ? {
1997
+ let H = {
1998
+ ...ae ? {
1998
1999
  role: "presentation",
1999
2000
  "aria-orientation": void 0
2000
2001
  } : {
@@ -2006,29 +2007,29 @@ var ur = {
2006
2007
  E && et.has(e.key) && e.stopPropagation();
2007
2008
  },
2008
2009
  onScroll(e) {
2009
- I || H(e.currentTarget);
2010
+ ae || V(e.currentTarget);
2010
2011
  },
2011
- ...C && { style: I ? { height: "100%" } : nr }
2012
- }, ce = ue("div", e, {
2012
+ ...C && { style: ae ? { height: "100%" } : nr }
2013
+ }, se = Be("div", e, {
2013
2014
  ref: [t, l],
2014
- state: U,
2015
+ state: oe,
2015
2016
  stateAttributesMapping: ur,
2016
2017
  props: [
2017
2018
  ie,
2018
- se,
2019
- L(ae),
2020
- { className: !I && C ? or.className : void 0 },
2019
+ H,
2020
+ N(P),
2021
+ { className: !ae && C ? or.className : void 0 },
2021
2022
  o
2022
2023
  ]
2023
2024
  });
2024
- return /*#__PURE__*/ (0, Q.jsxs)(Z.Fragment, { children: [!A && or.getElement(ne), /*#__PURE__*/ (0, Q.jsx)(Nt, {
2025
- context: D,
2025
+ return /*#__PURE__*/ (0, Q.jsxs)(Z.Fragment, { children: [!A && or.getElement(O), /*#__PURE__*/ (0, Q.jsx)(Nt, {
2026
+ context: te,
2026
2027
  modal: !1,
2027
2028
  disabled: !re,
2028
- openInteractionType: N,
2029
+ openInteractionType: ne,
2029
2030
  returnFocus: a,
2030
2031
  restoreFocus: !0,
2031
- children: ce
2032
+ children: se
2032
2033
  })] });
2033
2034
  });
2034
2035
  process.env.NODE_ENV !== "production" && (dr.displayName = "SelectPopup");
@@ -2040,13 +2041,13 @@ function pr(e) {
2040
2041
  return Vn(e.scrollHeight, e.clientHeight);
2041
2042
  }
2042
2043
  function mr(e) {
2043
- return u.getScale(e);
2044
+ return c.getScale(e);
2044
2045
  }
2045
2046
  function hr(e, t, n) {
2046
2047
  return e / n[t];
2047
2048
  }
2048
2049
  function gr(e, t) {
2049
- return Te({
2050
+ return fe({
2050
2051
  x: hr(e.x, "x", t),
2051
2052
  y: hr(e.y, "y", t),
2052
2053
  width: hr(e.width, "x", t),
@@ -2074,7 +2075,7 @@ var yr = /*#__PURE__*/ Z.createContext(void 0);
2074
2075
  process.env.NODE_ENV !== "production" && (yr.displayName = "SelectItemContext");
2075
2076
  function br() {
2076
2077
  let e = Z.useContext(yr);
2077
- if (!e) throw Error(process.env.NODE_ENV === "production" ? U(57) : "Base UI: SelectItemContext is missing. SelectItem parts must be placed within <Select.Item>.");
2078
+ if (!e) throw Error(process.env.NODE_ENV === "production" ? qe(57) : "Base UI: SelectItemContext is missing. SelectItem parts must be placed within <Select.Item>.");
2078
2079
  return e;
2079
2080
  }
2080
2081
  //#endregion
@@ -2084,110 +2085,110 @@ var xr = /*#__PURE__*/ Z.memo(/*#__PURE__*/ Z.forwardRef(function(e, t) {
2084
2085
  label: o,
2085
2086
  textRef: u,
2086
2087
  indexGuessBehavior: it.GuessFromOrder
2087
- }), { store: f, itemProps: p, setOpen: m, setValue: h, selectionRef: g, typingRef: v, valuesRef: y, multiple: b, selectedItemTextRef: S, disabled: ee, readOnly: C } = wn(), w = X(f, $.isActive, d.index), te = X(f, $.open), T = X(f, $.isSelected, a), E = X(f, $.isSelectedByFocus, d.index), D = X(f, $.isItemEqualToValue), O = d.index, ne = O !== -1, A = Z.useRef(null);
2088
- k(() => {
2089
- if (!ne) return;
2090
- let e = y.current;
2088
+ }), { store: f, itemProps: p, setOpen: m, setValue: g, selectionRef: _, typingRef: y, valuesRef: b, multiple: x, selectedItemTextRef: S, disabled: ee, readOnly: C } = wn(), w = J(f, $.isActive, d.index), T = J(f, $.open), E = J(f, $.isSelected, a), te = J(f, $.isSelectedByFocus, d.index), D = J(f, $.isItemEqualToValue), O = d.index, k = O !== -1, A = Z.useRef(null);
2089
+ Y(() => {
2090
+ if (!k) return;
2091
+ let e = b.current;
2091
2092
  return e[O] = a, () => {
2092
2093
  delete e[O];
2093
2094
  };
2094
2095
  }, [
2095
- ne,
2096
+ k,
2096
2097
  O,
2097
2098
  a,
2098
- y
2099
- ]), k(() => {
2100
- if (!ne) return;
2099
+ b
2100
+ ]), Y(() => {
2101
+ if (!k) return;
2101
2102
  let e = f.state.value, t = e;
2102
- b && Array.isArray(e) && (t = e.length > 0 ? e[e.length - 1] : void 0), t !== void 0 && On(a, t, D) && (f.set("selectedIndex", O), u.current && (S.current = u.current));
2103
+ x && Array.isArray(e) && (t = e.length > 0 ? e[e.length - 1] : void 0), t !== void 0 && On(a, t, D) && (f.set("selectedIndex", O), u.current && (S.current = u.current));
2103
2104
  }, [
2104
- ne,
2105
+ k,
2105
2106
  O,
2106
- b,
2107
+ x,
2107
2108
  D,
2108
2109
  f,
2109
2110
  a,
2110
2111
  S
2111
2112
  ]);
2112
- let j = Z.useRef(null), M = Z.useRef("mouse"), N = Z.useRef(!1), { getButtonProps: re, buttonRef: ie } = B({
2113
+ let j = Z.useRef(null), M = Z.useRef("mouse"), N = Z.useRef(!1), { getButtonProps: ne, buttonRef: re } = He({
2113
2114
  disabled: s,
2114
2115
  focusableWhenDisabled: !0,
2115
2116
  native: c,
2116
2117
  composite: !0
2117
- }), ae = {
2118
+ }), ie = {
2118
2119
  disabled: s,
2119
- selected: T,
2120
+ selected: E,
2120
2121
  highlighted: w
2121
2122
  };
2122
- function oe(e) {
2123
+ function P(e) {
2123
2124
  if (ee || C) return;
2124
2125
  let t = f.state.value;
2125
- if (b) {
2126
+ if (x) {
2126
2127
  let n = Array.isArray(t) ? t : [];
2127
- h(T ? jn(n, a, D) : [...n, a], x(_, e));
2128
- } else h(a, x(_, e)), m(!1, x(_, e));
2128
+ g(E ? jn(n, a, D) : [...n, a], v(h, e));
2129
+ } else g(a, v(h, e)), m(!1, v(h, e));
2129
2130
  }
2130
- function P() {
2131
- g.current.dragY = 0;
2131
+ function F() {
2132
+ _.current.dragY = 0;
2132
2133
  }
2133
- let F = {
2134
+ let I = {
2134
2135
  role: "option",
2135
- "aria-selected": T,
2136
- tabIndex: te && w ? 0 : -1,
2136
+ "aria-selected": E,
2137
+ tabIndex: T && w ? 0 : -1,
2137
2138
  onKeyDown(e) {
2138
- j.current = e.key, f.set("activeIndex", O), e.key === " " && v.current && e.preventDefault();
2139
+ j.current = e.key, f.set("activeIndex", O), e.key === " " && y.current && e.preventDefault();
2139
2140
  },
2140
2141
  onClick(e) {
2141
- let t = e.type === "click" && M.current !== "touch", n = e.nativeEvent.pointerType, r = t && Ge(e.nativeEvent) && (n !== void 0 || w), i = t && !r && !N.current;
2142
- N.current = !1, !(e.type === "keydown" && j.current === null) && (s || e.type === "keydown" && j.current === " " && v.current || i || (j.current = null, oe(e.nativeEvent)));
2142
+ let t = e.type === "click" && M.current !== "touch", n = e.nativeEvent.pointerType, r = t && Oe(e.nativeEvent) && (n !== void 0 || w), i = t && !r && !N.current;
2143
+ N.current = !1, !(e.type === "keydown" && j.current === null) && (s || e.type === "keydown" && j.current === " " && y.current || i || (j.current = null, P(e.nativeEvent)));
2143
2144
  },
2144
2145
  onPointerEnter(e) {
2145
2146
  M.current = e.pointerType;
2146
2147
  },
2147
2148
  onPointerMove(e) {
2148
2149
  if (e.pointerType === "mouse" && e.buttons === 1) {
2149
- let t = g.current;
2150
+ let t = _.current;
2150
2151
  t.dragY += e.movementY, t.dragY ** 2 >= 64 && (t.allowUnselectedMouseUp = !0);
2151
2152
  }
2152
2153
  },
2153
2154
  onPointerDown(e) {
2154
- M.current = e.pointerType, N.current = !0, P();
2155
+ M.current = e.pointerType, N.current = !0, F();
2155
2156
  },
2156
2157
  onMouseUp() {
2157
- if (P(), s || M.current === "touch" || N.current) return;
2158
- let e = !g.current.allowSelectedMouseUp && T, t = !g.current.allowUnselectedMouseUp && !T;
2158
+ if (F(), s || M.current === "touch" || N.current) return;
2159
+ let e = !_.current.allowSelectedMouseUp && E, t = !_.current.allowUnselectedMouseUp && !E;
2159
2160
  e || t || (N.current = !0, A.current?.click(), N.current = !1);
2160
2161
  }
2161
- }, I = ue("div", e, {
2162
+ }, ae = Be("div", e, {
2162
2163
  ref: [
2163
- ie,
2164
+ re,
2164
2165
  t,
2165
2166
  d.ref,
2166
2167
  A
2167
2168
  ],
2168
- state: ae,
2169
+ state: ie,
2169
2170
  props: [
2170
2171
  p,
2171
- F,
2172
+ I,
2172
2173
  l,
2173
- re
2174
+ ne
2174
2175
  ]
2175
2176
  }), L = Z.useMemo(() => ({
2176
- selected: T,
2177
+ selected: E,
2177
2178
  index: O,
2178
2179
  textRef: u,
2179
- selectedByFocus: E,
2180
- hasRegistered: ne
2180
+ selectedByFocus: te,
2181
+ hasRegistered: k
2181
2182
  }), [
2182
- T,
2183
+ E,
2183
2184
  O,
2184
2185
  u,
2185
- E,
2186
- ne
2186
+ te,
2187
+ k
2187
2188
  ]);
2188
2189
  return /*#__PURE__*/ (0, Q.jsx)(yr.Provider, {
2189
2190
  value: L,
2190
- children: I
2191
+ children: ae
2191
2192
  });
2192
2193
  }));
2193
2194
  process.env.NODE_ENV !== "production" && (xr.displayName = "SelectItem");
@@ -2195,7 +2196,7 @@ process.env.NODE_ENV !== "production" && (xr.displayName = "SelectItem");
2195
2196
  //#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/select/item-text/SelectItemText.mjs
2196
2197
  var Sr = /*#__PURE__*/ Z.memo(/*#__PURE__*/ Z.forwardRef(function(e, t) {
2197
2198
  let { index: n, textRef: r, selectedByFocus: i, hasRegistered: a } = br(), { firstItemTextRef: o, selectedItemTextRef: s } = wn(), { render: c, className: l, style: u, ...d } = e;
2198
- return ue("div", e, {
2199
+ return Be("div", e, {
2199
2200
  ref: [
2200
2201
  Z.useCallback((e) => {
2201
2202
  e && (a && n === 0 && (o.current = e), a && i && (s.current = e));
@@ -2259,7 +2260,7 @@ function Dr({ children: e, value: t, defaultValue: n, onValueChange: r, disabled
2259
2260
  });
2260
2261
  }
2261
2262
  Dr.displayName = "Select";
2262
- var Or = Ye([
2263
+ var Or = ze([
2263
2264
  "group inline-flex items-center justify-between gap-2 outline-none cursor-pointer",
2264
2265
  "text-[13px] h-9 px-3 min-w-[160px]",
2265
2266
  "transition-all duration-80",
@@ -2272,13 +2273,13 @@ var Or = Ye([
2272
2273
  } },
2273
2274
  defaultVariants: { variant: "bordered" }
2274
2275
  }), kr = (0, Z.forwardRef)(({ className: e, variant: t, icon: n, leading: r, placeholder: i = "Select…", error: a, ...o }, s) => {
2275
- let c = y();
2276
+ let c = Pe();
2276
2277
  return /* @__PURE__ */ (0, Q.jsxs)("div", {
2277
2278
  className: "flex flex-col gap-1",
2278
2279
  children: [/* @__PURE__ */ (0, Q.jsxs)(Jn, {
2279
2280
  ref: s,
2280
2281
  "aria-invalid": !!a || void 0,
2281
- className: O(Or({ variant: t }), c.input, a && "border-destructive/50 hover:border-destructive/50", e),
2282
+ className: Re(Or({ variant: t }), c.input, a && "border-destructive/50 hover:border-destructive/50", e),
2282
2283
  ...o,
2283
2284
  children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
2284
2285
  className: "flex items-center gap-2 min-w-0 flex-1",
@@ -2314,10 +2315,10 @@ var Or = Ye([
2314
2315
  });
2315
2316
  kr.displayName = "SelectTrigger";
2316
2317
  var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2317
- let { open: r, value: i, actionsRef: a } = wr(), o = y(), s = (0, Z.useRef)(null), { activeIndex: c, setActiveIndex: l, itemRects: u, sessionRef: d, handlers: f, registerItem: p, measureItems: m } = mn(s), [h, g] = (0, Z.useState)(null), [_, v] = (0, Z.useState)(void 0);
2318
+ let { open: r, value: i, actionsRef: a } = wr(), o = Pe(), s = (0, Z.useRef)(null), { activeIndex: c, setActiveIndex: l, itemRects: u, sessionRef: d, handlers: f, registerItem: p, measureItems: m } = mn(s), [h, g] = (0, Z.useState)(null), [_, v] = (0, Z.useState)(void 0);
2318
2319
  (0, Z.useEffect)(() => {
2319
2320
  if (r) return;
2320
- let e = setTimeout(() => a.current?.unmount(), De(Le.fast));
2321
+ let e = setTimeout(() => a.current?.unmount(), me(Se.fast));
2321
2322
  return () => clearTimeout(e);
2322
2323
  }, [r, a]), (0, Z.useEffect)(() => {
2323
2324
  if (!r) return;
@@ -2339,7 +2340,7 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2339
2340
  m,
2340
2341
  i
2341
2342
  ]);
2342
- let b = c === null ? null : u[c], x = _ == null ? null : u[_], S = h === null ? null : u[h], ee = c !== null && c !== _, C = (0, Z.useMemo)(() => ({
2343
+ let y = c === null ? null : u[c], b = _ == null ? null : u[_], x = h === null ? null : u[h], S = c !== null && c !== _, ee = (0, Z.useMemo)(() => ({
2343
2344
  registerItem: p,
2344
2345
  activeIndex: c,
2345
2346
  checkedIndex: _
@@ -2354,7 +2355,7 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2354
2355
  sideOffset: 6,
2355
2356
  alignItemWithTrigger: !1,
2356
2357
  className: "z-50 outline-none",
2357
- children: /* @__PURE__ */ (0, Q.jsx)(W.div, {
2358
+ children: /* @__PURE__ */ (0, Q.jsx)(z.div, {
2358
2359
  initial: {
2359
2360
  opacity: 0,
2360
2361
  y: -4,
@@ -2369,13 +2370,13 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2369
2370
  y: -4,
2370
2371
  scaleY: .96
2371
2372
  },
2372
- transition: r ? Le.fast : Le.fast.exit,
2373
+ transition: r ? Se.fast : Se.fast.exit,
2373
2374
  style: { transformOrigin: "top center" },
2374
2375
  onAnimationComplete: () => {
2375
2376
  r || a.current?.unmount();
2376
2377
  },
2377
2378
  children: /* @__PURE__ */ (0, Q.jsx)(Tr.Provider, {
2378
- value: C,
2379
+ value: ee,
2379
2380
  children: /* @__PURE__ */ (0, Q.jsxs)(dr, {
2380
2381
  render: /* @__PURE__ */ (0, Q.jsx)(xn, {
2381
2382
  offset: 2,
@@ -2399,67 +2400,67 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2399
2400
  onBlur: (e) => {
2400
2401
  s.current?.contains(e.relatedTarget) || (g(null), l(null));
2401
2402
  },
2402
- className: O(`relative flex flex-col gap-0.5 min-w-[var(--anchor-width)] max-h-[min(300px,var(--available-height))] overflow-y-auto ${o.container} p-1 select-none outline-none`, e),
2403
+ className: Re(`relative flex flex-col gap-0.5 min-w-[var(--anchor-width)] max-h-[min(300px,var(--available-height))] overflow-y-auto ${o.container} p-1 select-none outline-none`, e),
2403
2404
  children: [
2404
- /* @__PURE__ */ (0, Q.jsx)(rt, { children: x && /* @__PURE__ */ (0, Q.jsx)(W.div, {
2405
+ /* @__PURE__ */ (0, Q.jsx)(rt, { children: b && /* @__PURE__ */ (0, Q.jsx)(z.div, {
2405
2406
  className: `absolute ${o.bg} bg-active pointer-events-none`,
2406
2407
  initial: !1,
2407
2408
  animate: {
2408
- top: x.top,
2409
- left: x.left,
2410
- width: x.width,
2411
- height: x.height,
2412
- opacity: ee ? .8 : 1
2409
+ top: b.top,
2410
+ left: b.left,
2411
+ width: b.width,
2412
+ height: b.height,
2413
+ opacity: S ? .8 : 1
2413
2414
  },
2414
2415
  exit: {
2415
2416
  opacity: 0,
2416
- transition: Le.moderate.exit
2417
+ transition: Se.moderate.exit
2417
2418
  },
2418
2419
  transition: {
2419
- ...Le.moderate,
2420
+ ...Se.moderate,
2420
2421
  opacity: { duration: .08 }
2421
2422
  }
2422
2423
  }) }),
2423
- /* @__PURE__ */ (0, Q.jsx)(rt, { children: b && /* @__PURE__ */ (0, Q.jsx)(W.div, {
2424
+ /* @__PURE__ */ (0, Q.jsx)(rt, { children: y && /* @__PURE__ */ (0, Q.jsx)(z.div, {
2424
2425
  className: `absolute ${o.bg} bg-hover pointer-events-none`,
2425
2426
  initial: {
2426
2427
  opacity: 0,
2427
- top: x?.top ?? b.top,
2428
- left: x?.left ?? b.left,
2429
- width: x?.width ?? b.width,
2430
- height: x?.height ?? b.height
2428
+ top: b?.top ?? y.top,
2429
+ left: b?.left ?? y.left,
2430
+ width: b?.width ?? y.width,
2431
+ height: b?.height ?? y.height
2431
2432
  },
2432
2433
  animate: {
2433
2434
  opacity: 1,
2434
- top: b.top,
2435
- left: b.left,
2436
- width: b.width,
2437
- height: b.height
2435
+ top: y.top,
2436
+ left: y.left,
2437
+ width: y.width,
2438
+ height: y.height
2438
2439
  },
2439
2440
  exit: {
2440
2441
  opacity: 0,
2441
- transition: Le.fast.exit
2442
+ transition: Se.fast.exit
2442
2443
  },
2443
2444
  transition: {
2444
- ...Le.fast,
2445
+ ...Se.fast,
2445
2446
  opacity: { duration: .08 }
2446
2447
  }
2447
2448
  }, d.current) }),
2448
- /* @__PURE__ */ (0, Q.jsx)(rt, { children: S && /* @__PURE__ */ (0, Q.jsx)(W.div, {
2449
+ /* @__PURE__ */ (0, Q.jsx)(rt, { children: x && /* @__PURE__ */ (0, Q.jsx)(z.div, {
2449
2450
  className: `absolute ${o.focusRing} pointer-events-none z-20 border border-[color:var(--focus-ring,#6B97FF)]`,
2450
2451
  initial: !1,
2451
2452
  animate: {
2452
- left: S.left - 2,
2453
- top: S.top - 2,
2454
- width: S.width + 4,
2455
- height: S.height + 4
2453
+ left: x.left - 2,
2454
+ top: x.top - 2,
2455
+ width: x.width + 4,
2456
+ height: x.height + 4
2456
2457
  },
2457
2458
  exit: {
2458
2459
  opacity: 0,
2459
- transition: Le.fast.exit
2460
+ transition: Se.fast.exit
2460
2461
  },
2461
2462
  transition: {
2462
- ...Le.fast,
2463
+ ...Se.fast,
2463
2464
  opacity: { duration: .08 }
2464
2465
  }
2465
2466
  }) }),
@@ -2472,7 +2473,7 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2472
2473
  });
2473
2474
  Ar.displayName = "SelectContent";
2474
2475
  var jr = (0, Z.forwardRef)(({ className: e, children: t, icon: n, value: r, index: i, disabled: a = !1, ...o }, s) => {
2475
- let c = wr(), l = (0, Z.useContext)(Tr), u = (0, Z.useRef)(null), d = y(), f = (0, Z.useRef)(!1);
2476
+ let c = wr(), l = (0, Z.useContext)(Tr), u = (0, Z.useRef)(null), d = Pe(), f = (0, Z.useRef)(!1);
2476
2477
  (0, Z.useEffect)(() => {
2477
2478
  f.current = !0;
2478
2479
  }, []), (0, Z.useEffect)(() => (l?.registerItem(i, u.current), () => l?.registerItem(i, null)), [i, l]);
@@ -2487,7 +2488,7 @@ var jr = (0, Z.forwardRef)(({ className: e, children: t, icon: n, value: r, inde
2487
2488
  },
2488
2489
  "data-proximity-index": i,
2489
2490
  "data-value": r,
2490
- className: O(`relative z-10 flex h-9 items-center gap-2 ${d.item} px-2 text-[13px] cursor-pointer outline-none select-none`, "transition-[color] duration-80", p || m ? "text-foreground" : "text-muted-foreground", a && "opacity-50 pointer-events-none", e),
2491
+ className: Re(`relative z-10 flex h-9 items-center gap-2 ${d.item} px-2 text-[13px] cursor-pointer outline-none select-none`, "transition-[color] duration-80", p || m ? "text-foreground" : "text-muted-foreground", a && "opacity-50 pointer-events-none", e),
2491
2492
  ...o
2492
2493
  }),
2493
2494
  children: [
@@ -2500,7 +2501,7 @@ var jr = (0, Z.forwardRef)(({ className: e, children: t, icon: n, value: r, inde
2500
2501
  render: /* @__PURE__ */ (0, Q.jsx)("span", { className: "flex-1 min-w-0 truncate [text-box:trim-both_cap_alphabetic] py-1 -my-1" }),
2501
2502
  children: t
2502
2503
  }),
2503
- /* @__PURE__ */ (0, Q.jsx)(rt, { children: m && /* @__PURE__ */ (0, Q.jsx)(W.svg, {
2504
+ /* @__PURE__ */ (0, Q.jsx)(rt, { children: m && /* @__PURE__ */ (0, Q.jsx)(z.svg, {
2504
2505
  width: 16,
2505
2506
  height: 16,
2506
2507
  viewBox: "0 0 24 24",
@@ -2513,7 +2514,7 @@ var jr = (0, Z.forwardRef)(({ className: e, children: t, icon: n, value: r, inde
2513
2514
  initial: { opacity: 1 },
2514
2515
  animate: { opacity: 1 },
2515
2516
  exit: { opacity: 1 },
2516
- children: /* @__PURE__ */ (0, Q.jsx)(W.path, {
2517
+ children: /* @__PURE__ */ (0, Q.jsx)(z.path, {
2517
2518
  d: "M4 12L9 17L20 6",
2518
2519
  initial: { pathLength: +!!h },
2519
2520
  animate: {
@@ -2547,14 +2548,14 @@ function Mr({ children: e, className: t, ...n }) {
2547
2548
  Mr.displayName = "SelectGroup";
2548
2549
  var Nr = (0, Z.forwardRef)(({ className: e, ...t }, n) => /* @__PURE__ */ (0, Q.jsx)("div", {
2549
2550
  ref: n,
2550
- className: O("px-2 py-1.5 text-[11px] text-muted-foreground", e),
2551
+ className: Re("px-2 py-1.5 text-[11px] text-muted-foreground", e),
2551
2552
  ...t
2552
2553
  }));
2553
2554
  Nr.displayName = "SelectLabel";
2554
2555
  var Pr = (0, Z.forwardRef)(({ className: e, ...t }, n) => /* @__PURE__ */ (0, Q.jsx)("div", {
2555
2556
  ref: n,
2556
2557
  role: "separator",
2557
- className: O("my-1 -mx-1 h-px bg-border/60", e),
2558
+ className: Re("my-1 -mx-1 h-px bg-border/60", e),
2558
2559
  ...t
2559
2560
  }));
2560
2561
  Pr.displayName = "SelectSeparator";