@decocms/mesh 2.59.6 → 2.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/client/assets/{AlertCircle-BFXBDrUr.js → AlertCircle-CiqOV3gN.js} +1 -1
  2. package/dist/client/assets/{ArrowLeft-CDtoEGeL.js → ArrowLeft-DESkG8WH.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-BDaeP-ZF.js → ArrowUp-DSzSuIWM.js} +1 -1
  4. package/dist/client/assets/{Calendar-Do1_EcNl.js → Calendar-Bgzpcx-P.js} +1 -1
  5. package/dist/client/assets/{Check-C7bGyGOC.js → Check-BwWwVwDq.js} +1 -1
  6. package/dist/client/assets/{ChevronDown-DY2hRH3P.js → ChevronDown-FrVOX9vD.js} +1 -1
  7. package/dist/client/assets/{Code01-Bti_O9RL.js → Code01-Bus4rjLa.js} +1 -1
  8. package/dist/client/assets/{Copy01-Cql6iNiT.js → Copy01-CU0ImpYo.js} +1 -1
  9. package/dist/client/assets/{DotsHorizontal-Bn70vF_C.js → DotsHorizontal-BXRQO4eG.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-55vBqpF9.js → DotsVertical-DWjt2LuM.js} +1 -1
  11. package/dist/client/assets/{Download01-CY_txTIU.js → Download01-B96RO3w0.js} +1 -1
  12. package/dist/client/assets/{Edit01-BcXXA0Bn.js → Edit01-1SiMuTuh.js} +1 -1
  13. package/dist/client/assets/{File02-CZ_CP680.js → File02-IAt_f4v7.js} +1 -1
  14. package/dist/client/assets/{File06-OiAbO58I.js → File06-C2LBZfWa.js} +1 -1
  15. package/dist/client/assets/{FilterLines-8ygYuAAi.js → FilterLines-CKQEFPmy.js} +1 -1
  16. package/dist/client/assets/{Grid01-Bdrpv4xX.js → Grid01-IjiH2KUT.js} +1 -1
  17. package/dist/client/assets/{Home02-BeNorB_C.js → Home02-B4t-Ls4v.js} +1 -1
  18. package/dist/client/assets/{Image01-DvLyxsOA.js → Image01-Bc9GrKYJ.js} +1 -1
  19. package/dist/client/assets/{Inbox01-BPkfViyI.js → Inbox01-Nf9S_z_u.js} +1 -1
  20. package/dist/client/assets/{InfoCircle-BJ2AMXf3.js → InfoCircle-f6Q2730q.js} +1 -1
  21. package/dist/client/assets/{Key01-D8HCSb8P.js → Key01-CwRA3KGV.js} +1 -1
  22. package/dist/client/assets/{LinkExternal01-BrLuchvz.js → LinkExternal01-B00_hrMY.js} +1 -1
  23. package/dist/client/assets/{List-bC7xiZ2s.js → List-CeDrqSzo.js} +1 -1
  24. package/dist/client/assets/{Loading01-BiNUjLDw.js → Loading01-k9J_51Wt.js} +1 -1
  25. package/dist/client/assets/{Lock01-Bg5yU8Wj.js → Lock01-BlcSKNwc.js} +1 -1
  26. package/dist/client/assets/{Pin01-iTXtWrRE.js → Pin01-CCrFQOyT.js} +1 -1
  27. package/dist/client/assets/{Play-C3Hph8xY.js → Play-DDry1DwY.js} +1 -1
  28. package/dist/client/assets/{Plus-BuZ2XoBN.js → Plus-B4bZuJyH.js} +1 -1
  29. package/dist/client/assets/{SearchMd-BeBVRrdw.js → SearchMd-CvLjdKIL.js} +1 -1
  30. package/dist/client/assets/{Share07-DldJlk64.js → Share07-pQXxyFdr.js} +1 -1
  31. package/dist/client/assets/{Terminal-EcSYzT5u.js → Terminal-CUhRn_Km.js} +1 -1
  32. package/dist/client/assets/{Tool01-CH0MYN-2.js → Tool01-BuQwOuwj.js} +1 -1
  33. package/dist/client/assets/{Trash01-DSwoFZY0.js → Trash01-CrkjtnA0.js} +1 -1
  34. package/dist/client/assets/{Upload01-CpcqtTNa.js → Upload01-Oco4mhUo.js} +1 -1
  35. package/dist/client/assets/{Users03-B6orUjW9.js → Users03-ChMrWUg7.js} +1 -1
  36. package/dist/client/assets/{X-DLZk4kqC.js → X-BYmeb6sr.js} +1 -1
  37. package/dist/client/assets/{XClose-C2SJXRFh.js → XClose-BrPaj-T9.js} +1 -1
  38. package/dist/client/assets/{agent-detail-1edzdNo4.js → agent-detail-BnemG27J.js} +1 -1
  39. package/dist/client/assets/{agents-CA-rSchF.js → agents-BcQ83pya.js} +1 -1
  40. package/dist/client/assets/{alert-dialog-Dllib4My.js → alert-dialog-DQH47fXT.js} +1 -1
  41. package/dist/client/assets/{auth-catchall-BOn2OyMJ.js → auth-catchall-BUSK9aWX.js} +1 -1
  42. package/dist/client/assets/{avatar-BfuaGHdb.js → avatar-DveL_Zo1.js} +1 -1
  43. package/dist/client/assets/{badge-DF_3zhMz.js → badge-DeCRZtfI.js} +1 -1
  44. package/dist/client/assets/{binder-CC8WnynZ.js → binder-ChJO9Gsr.js} +1 -1
  45. package/dist/client/assets/{button-0ydgHweE.js → button-D373Gh7m.js} +1 -1
  46. package/dist/client/assets/{card-DFhzHX-B.js → card-IZISqBEf.js} +1 -1
  47. package/dist/client/assets/{checkbox-JnNCVINs.js → checkbox-CuEgSK5M.js} +1 -1
  48. package/dist/client/assets/{circle-alert-C96B7toE.js → circle-alert-PbmGURsw.js} +1 -1
  49. package/dist/client/assets/{collapsible-CDAezpyL.js → collapsible-D5bXYEu5.js} +1 -1
  50. package/dist/client/assets/{collection-detail-ClXHe-PG.js → collection-detail-CKkNR8Za.js} +1 -1
  51. package/dist/client/assets/{collection-display-button-C0Qj_mDn.js → collection-display-button-DRWiQVZp.js} +1 -1
  52. package/dist/client/assets/{collection-header-CHcRbSVg.js → collection-header-BHLaNdMe.js} +1 -1
  53. package/dist/client/assets/{collection-page-pQhPuVgo.js → collection-page-BqHjcMvL.js} +1 -1
  54. package/dist/client/assets/{collection-search-rOPXHeEr.js → collection-search-B0S_3vCk.js} +1 -1
  55. package/dist/client/assets/{collection-tab-e3o0S9Wa.js → collection-tab-DpgA_w33.js} +1 -1
  56. package/dist/client/assets/{collection-table-wrapper-C4t2ZZhF.js → collection-table-wrapper-BP07sMyA.js} +1 -1
  57. package/dist/client/assets/{connect-DP_OT-gv.js → connect-FSagTGoo.js} +1 -1
  58. package/dist/client/assets/{connection-card-BLTFMSZS.js → connection-card-CaA_gyt_.js} +1 -1
  59. package/dist/client/assets/{connection-detail-C5TmRjj1.js → connection-detail-BjIkUIa9.js} +1 -1
  60. package/dist/client/assets/{connections-I2Vy-typ.js → connections-C53icvxv.js} +1 -1
  61. package/dist/client/assets/constants-BRQkgPgR.js +1 -0
  62. package/dist/client/assets/{constants-Mpett05j.js → constants-BsVN3aVM.js} +1 -1
  63. package/dist/client/assets/{create-organization-dialog-WqiCWTM4.js → create-organization-dialog-ByLHFsGC.js} +1 -1
  64. package/dist/client/assets/{dialog-6FUpHXs_.js → dialog-sp1iNNV1.js} +1 -1
  65. package/dist/client/assets/{dropdown-menu-CvHFB3Gz.js → dropdown-menu-B8A0M-FV.js} +1 -1
  66. package/dist/client/assets/{dynamic-plugin-layout-Mnd5muQb.js → dynamic-plugin-layout-D2ubHwXL.js} +1 -1
  67. package/dist/client/assets/{empty-state-7hq4AubF.js → empty-state-D4bELgmw.js} +1 -1
  68. package/dist/client/assets/{empty-state-BJnVPwS4.js → empty-state-DPLaHs22.js} +1 -1
  69. package/dist/client/assets/{env-vars-editor--TqeS791.js → env-vars-editor-DdPVHMBR.js} +1 -1
  70. package/dist/client/assets/{error-boundary-B6RXO2oI.js → error-boundary-DGGozsia.js} +1 -1
  71. package/dist/client/assets/{extract-connection-data-Cl2cHkSz.js → extract-connection-data-CgtoPpeo.js} +1 -1
  72. package/dist/client/assets/{file-browser-EXbuz5vW.js → file-browser-s-7cB8WF.js} +2 -2
  73. package/dist/client/assets/{form-Bu0daHLu.js → form-D_p7nR82.js} +1 -1
  74. package/dist/client/assets/{grid-view-C6S8iSjv.js → grid-view-CR-ahT4K.js} +1 -1
  75. package/dist/client/assets/{home-2CTqvtNy.js → home-BW1R0sGc.js} +1 -1
  76. package/dist/client/assets/{index-DZqSbjFw.js → index-504A5fzu.js} +2 -2
  77. package/dist/client/assets/{index-CXUcNyKS.js → index-BatxUpyp.js} +1 -1
  78. package/dist/client/assets/{index-BDvGMi--.js → index-C6RvA3pM.js} +1 -1
  79. package/dist/client/assets/index-CrlzOoQD.css +1 -0
  80. package/dist/client/assets/{index-CymrbMj5.js → index-CsaK2Zyj.js} +1 -1
  81. package/dist/client/assets/{index-Ez2DTosS.js → index-Cu1Yc5G-.js} +1 -1
  82. package/dist/client/assets/index-DsQNI0Ev.js +1 -0
  83. package/dist/client/assets/{infiniteQueryObserver-DmKtj9SR.js → infiniteQueryObserver-BZSSiryQ.js} +1 -1
  84. package/dist/client/assets/{input-u1hHzCA4.js → input-L4CnUGon.js} +1 -1
  85. package/dist/client/assets/{layout-DspSCzsh.js → layout-Cd5mhjJp.js} +1 -1
  86. package/dist/client/assets/{localstorage-keys-DpM3uKv7.js → localstorage-keys-ELyXVtKs.js} +1 -1
  87. package/dist/client/assets/{login-DoMEd-lv.js → login-DXDi7eVk.js} +1 -1
  88. package/dist/client/assets/{mcp-oauth-C7tn4XA4.js → mcp-oauth-B493s6Am.js} +1 -1
  89. package/dist/client/assets/{mcp-server-card-HpdQ81Kj.js → mcp-server-card-DAhW5oLh.js} +1 -1
  90. package/dist/client/assets/{mcp-server-detail-DhHV0S77.js → mcp-server-detail-B8SoA6bl.js} +2 -2
  91. package/dist/client/assets/{members-NoyLiC53.js → members-81fV-UkW.js} +1 -1
  92. package/dist/client/assets/{monaco-editor-CZ0mtshA.js → monaco-editor-NeTwO1He.js} +1 -1
  93. package/dist/client/assets/{monitoring-rg9mX2h3.js → monitoring-H5l7qvJR.js} +1 -1
  94. package/dist/client/assets/{oauth-callback-BskSq0jW.js → oauth-callback-areeupDS.js} +1 -1
  95. package/dist/client/assets/{page-BpnXhWf3.js → page-CA1T9606.js} +1 -1
  96. package/dist/client/assets/{page-KXdqzJaF.js → page-blk1xcgv.js} +1 -1
  97. package/dist/client/assets/{pin-to-sidebar-button-Bsv2_7kr.js → pin-to-sidebar-button-CzNm9Z63.js} +1 -1
  98. package/dist/client/assets/{plugin-empty-state-rg6DAYSw.js → plugin-empty-state-Dyr-7-tg.js} +1 -1
  99. package/dist/client/assets/{plugin-header-Cnc4tGD7.js → plugin-header-ei5KGTL7.js} +1 -1
  100. package/dist/client/assets/{plugins-CW7mTNa6.js → plugins-QxavFgPC.js} +1 -1
  101. package/dist/client/assets/{popover-DEmRxXmY.js → popover-BW-chC87.js} +1 -1
  102. package/dist/client/assets/{registry-utils-BFBDFgyu.js → registry-utils-DsqnXOg4.js} +1 -1
  103. package/dist/client/assets/{resizable-akHzriSj.js → resizable-BKhOe-uT.js} +1 -1
  104. package/dist/client/assets/{resource-tabs-1el8gNET.js → resource-tabs-BcGtnPlu.js} +1 -1
  105. package/dist/client/assets/{select-BKwPUbTK.js → select-BXQ9vi5I.js} +1 -1
  106. package/dist/client/assets/{settings-ZWpf163v.js → settings-BYYaB1XF.js} +1 -1
  107. package/dist/client/assets/shell-layout-B3owq9Ia.js +12 -0
  108. package/dist/client/assets/{spinner-Bwqz03rl.js → spinner-DGXi0Fqy.js} +1 -1
  109. package/dist/client/assets/{store-invite-DJTXOg3a.js → store-invite-B71tyOTJ.js} +1 -1
  110. package/dist/client/assets/{switch-DNIxf6Z3.js → switch-Cy8A6BDO.js} +1 -1
  111. package/dist/client/assets/{textarea-CLIBzUIu.js → textarea-D6uAjk7M.js} +1 -1
  112. package/dist/client/assets/{tools-list-DopNeyHc.js → tools-list-B4q7Xm3-.js} +1 -1
  113. package/dist/client/assets/{tooltip-9zLX7HP0.js → tooltip-BXVSpXAI.js} +1 -1
  114. package/dist/client/assets/{typewriter-title-BJariIWR.js → typewriter-title-CO1Atowa.js} +1 -1
  115. package/dist/client/assets/{use-binding-B1LqCJr8.js → use-binding-C0SFeppw.js} +1 -1
  116. package/dist/client/assets/{use-collections-DtjYeVzj.js → use-collections-DgQLvk8y.js} +1 -1
  117. package/dist/client/assets/{use-connection-BzhGWFyL.js → use-connection-CXgi6BLT.js} +1 -1
  118. package/dist/client/assets/{use-create-virtual-mcp-D-7Y6G3j.js → use-create-virtual-mcp-C56z94et.js} +1 -1
  119. package/dist/client/assets/use-deco-chat-open-CnAfKKCI.js +1 -0
  120. package/dist/client/assets/{use-list-state-BfmIALu7.js → use-list-state-DKFwP-fh.js} +1 -1
  121. package/dist/client/assets/{use-mcp-prompts-C2Az2O1z.js → use-mcp-prompts-Cauox13I.js} +1 -1
  122. package/dist/client/assets/{use-members-KzHxearI.js → use-members-hSITWRgA.js} +1 -1
  123. package/dist/client/assets/{use-mobile-VtwOaDa5.js → use-mobile-BvueHiH_.js} +1 -1
  124. package/dist/client/assets/{use-organization-settings-DMGaX8N0.js → use-organization-settings-wk-RrGpZ.js} +1 -1
  125. package/dist/client/assets/{use-virtual-mcp-D3UgDP8i.js → use-virtual-mcp-PjR1OFlb.js} +1 -1
  126. package/dist/client/assets/useInfiniteQuery-DcmndbVK.js +1 -0
  127. package/dist/client/assets/{useMutation-BReaxe_W.js → useMutation-DjmEVTlE.js} +1 -1
  128. package/dist/client/assets/useQuery-2fM2t_EQ.js +1 -0
  129. package/dist/client/assets/useSuspenseInfiniteQuery-BQW4uJSq.js +1 -0
  130. package/dist/client/assets/{view-mode-toggle-DR9UFNqr.js → view-mode-toggle-CCTPeHCH.js} +1 -1
  131. package/dist/client/assets/{workflow-B1lnmdqO.js → workflow-DcdxDnBB.js} +1 -1
  132. package/dist/client/index.html +2 -2
  133. package/dist/server/cli.js +1 -1
  134. package/dist/server/migrate.js +1 -1
  135. package/dist/server/server.js +1 -1
  136. package/package.json +1 -1
  137. package/dist/client/assets/constants-OFVhPv4G.js +0 -1
  138. package/dist/client/assets/index-6m1DUVC_.js +0 -1
  139. package/dist/client/assets/index-CqeIU8-o.css +0 -1
  140. package/dist/client/assets/shell-layout-D0SSCuI2.js +0 -3
  141. package/dist/client/assets/use-deco-chat-open-CrQFHW7J.js +0 -1
  142. package/dist/client/assets/useInfiniteQuery-CaX6JmUq.js +0 -1
  143. package/dist/client/assets/useQuery-KlPPWaKy.js +0 -1
  144. package/dist/client/assets/useSuspenseInfiniteQuery-jy6MmqiZ.js +0 -1
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="AlertCircle";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="AlertCircle";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M19 12H5m0 0 7 7m-7-7 7-7"}));i.displayName="ArrowLeft";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M19 12H5m0 0 7 7m-7-7 7-7"}));i.displayName="ArrowLeft";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M12 19V5m0 0-7 7m7-7 7 7"}));i.displayName="ArrowUp";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M12 19V5m0 0-7 7m7-7 7 7"}));i.displayName="ArrowUp";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 10H3m13-8v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 19.72 21 18.88 21 17.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 4 17.88 4 16.2 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 22 6.12 22 7.8 22Z"}));a.displayName="Calendar";export{a as n};
1
+ import{r}from"./index-504A5fzu.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 10H3m13-8v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 19.72 21 18.88 21 17.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 4 17.88 4 16.2 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 22 6.12 22 7.8 22Z"}));a.displayName="Calendar";export{a as n};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M20 6 9 17l-5-5"}));i.displayName="Check";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M20 6 9 17l-5-5"}));i.displayName="Check";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m6 9 6 6 6-6"}));n.displayName="ChevronDown";export{n as t};
1
+ import{r}from"./index-504A5fzu.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m6 9 6 6 6-6"}));n.displayName="ChevronDown";export{n as t};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m16 18 6-6-6-6M8 6l-6 6 6 6"}));i.displayName="Code01";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m16 18 6-6-6-6M8 6l-6 6 6 6"}));i.displayName="Code01";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M5 15c-.932 0-1.398 0-1.765-.152a2 2 0 0 1-1.083-1.083C2 13.398 2 12.932 2 12V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2H12c.932 0 1.398 0 1.765.152a2 2 0 0 1 1.083 1.083C15 3.602 15 4.068 15 5m-2.8 17h6.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-6.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 9 19.92 9 18.8 9h-6.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C9 10.52 9 11.08 9 12.2v6.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C10.52 22 11.08 22 12.2 22Z"}));o.displayName="Copy01";export{o as a};
1
+ import{r}from"./index-504A5fzu.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M5 15c-.932 0-1.398 0-1.765-.152a2 2 0 0 1-1.083-1.083C2 13.398 2 12.932 2 12V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2H12c.932 0 1.398 0 1.765.152a2 2 0 0 1 1.083 1.083C15 3.602 15 4.068 15 5m-2.8 17h6.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-6.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 9 19.92 9 18.8 9h-6.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C9 10.52 9 11.08 9 12.2v6.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C10.52 22 11.08 22 12.2 22Z"}));o.displayName="Copy01";export{o as a};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm7 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsHorizontal";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm7 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsHorizontal";export{i};
@@ -1 +1 @@
1
- import{r as t}from"./index-DZqSbjFw.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0-7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsVertical";export{i};
1
+ import{r as t}from"./index-504A5fzu.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0-7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsVertical";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const n=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-5-5 5m0 0-5-5m5 5V3"}));n.displayName="Download01";export{n};
1
+ import{r}from"./index-504A5fzu.js";const n=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-5-5 5m0 0-5-5m5 5V3"}));n.displayName="Download01";export{n};
@@ -1 +1 @@
1
- import{r as t}from"./index-DZqSbjFw.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M2.876 18.116c.046-.414.069-.62.131-.814a2 2 0 0 1 .234-.485c.111-.17.259-.317.553-.61L17 3a2.828 2.828 0 1 1 4 4L7.794 20.206c-.294.294-.442.442-.611.553a2 2 0 0 1-.485.233c-.193.063-.4.086-.814.132L2.5 21.5l.376-3.384Z"}));i.displayName="Edit01";export{i};
1
+ import{r as t}from"./index-504A5fzu.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M2.876 18.116c.046-.414.069-.62.131-.814a2 2 0 0 1 .234-.485c.111-.17.259-.317.553-.61L17 3a2.828 2.828 0 1 1 4 4L7.794 20.206c-.294.294-.442.442-.611.553a2 2 0 0 1-.485.233c-.193.063-.4.086-.814.132L2.5 21.5l.376-3.384Z"}));i.displayName="Edit01";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M14 11H8m2 4H8m8-8H8m12-.2v10.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 22 16.88 22 15.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C6.28 2 7.12 2 8.8 2h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C20 4.28 20 5.12 20 6.8Z"}));i.displayName="File02";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M14 11H8m2 4H8m8-8H8m12-.2v10.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 22 16.88 22 15.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C6.28 2 7.12 2 8.8 2h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C20 4.28 20 5.12 20 6.8Z"}));i.displayName="File02";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M14 2.27V6.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437c.214.11.494.11 1.054.11h4.13M16 13H8m8 4H8m2-8H8m6-7H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.28 4 5.12 4 6.8v10.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 22 7.12 22 8.8 22h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 19.72 20 18.88 20 17.2V8l-6-6Z"}));i.displayName="File06";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M14 2.27V6.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437c.214.11.494.11 1.054.11h4.13M16 13H8m8 4H8m2-8H8m6-7H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.28 4 5.12 4 6.8v10.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 22 7.12 22 8.8 22h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 19.72 20 18.88 20 17.2V8l-6-6Z"}));i.displayName="File06";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M6 12h12M3 6h18M9 18h6"}));i.displayName="FilterLines";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M6 12h12M3 6h18M9 18h6"}));i.displayName="FilterLines";export{i};
@@ -1 +1 @@
1
- import{r as t}from"./index-DZqSbjFw.js";const o=({size:e=24,color:a="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"m9 18 6-6-6-6"}));o.displayName="ChevronRight";const c=({size:e=24,color:a="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M8.4 3H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 3.76 3 4.04 3 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 10 4.04 10 4.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 9.24 10 8.96 10 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 3 8.96 3 8.4 3Zm11 0h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 3.76 14 4.04 14 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 10 15.04 10 15.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 9.24 21 8.96 21 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 3 19.96 3 19.4 3Zm0 11h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 14.76 14 15.04 14 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 21 15.04 21 15.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 20.24 21 19.96 21 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 14 19.96 14 19.4 14Zm-11 0H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 14.76 3 15.04 3 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 20.24 10 19.96 10 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 14 8.96 14 8.4 14Z"}));c.displayName="Grid01";export{c,o as i};
1
+ import{r as t}from"./index-504A5fzu.js";const o=({size:e=24,color:a="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"m9 18 6-6-6-6"}));o.displayName="ChevronRight";const c=({size:e=24,color:a="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M8.4 3H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 3.76 3 4.04 3 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 10 4.04 10 4.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 9.24 10 8.96 10 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 3 8.96 3 8.4 3Zm11 0h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 3.76 14 4.04 14 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 10 15.04 10 15.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 9.24 21 8.96 21 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 3 19.96 3 19.4 3Zm0 11h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 14.76 14 15.04 14 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 21 15.04 21 15.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 20.24 21 19.96 21 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 14 19.96 14 19.4 14Zm-11 0H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 14.76 3 15.04 3 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 20.24 10 19.96 10 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 14 8.96 14 8.4 14Z"}));c.displayName="Grid01";export{c,o as i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M9 21v-7.4c0-.56 0-.84.109-1.054a1 1 0 0 1 .437-.437C9.76 12 10.04 12 10.6 12h2.8c.56 0 .84 0 1.054.109a1 1 0 0 1 .437.437C15 12.76 15 13.04 15 13.6V21M11.018 2.764 4.235 8.039c-.453.353-.68.53-.843.75a2 2 0 0 0-.318.65C3 9.704 3 9.991 3 10.565V17.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8v-7.235c0-.574 0-.861-.074-1.126a2.002 2.002 0 0 0-.318-.65c-.163-.22-.39-.397-.843-.75l-6.783-5.275c-.351-.273-.527-.41-.72-.462a1 1 0 0 0-.523 0c-.194.052-.37.189-.721.462Z"}));o.displayName="Home02";export{o as a};
1
+ import{r}from"./index-504A5fzu.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M9 21v-7.4c0-.56 0-.84.109-1.054a1 1 0 0 1 .437-.437C9.76 12 10.04 12 10.6 12h2.8c.56 0 .84 0 1.054.109a1 1 0 0 1 .437.437C15 12.76 15 13.04 15 13.6V21M11.018 2.764 4.235 8.039c-.453.353-.68.53-.843.75a2 2 0 0 0-.318.65C3 9.704 3 9.991 3 10.565V17.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8v-7.235c0-.574 0-.861-.074-1.126a2.002 2.002 0 0 0-.318-.65c-.163-.22-.39-.397-.843-.75l-6.783-5.275c-.351-.273-.527-.41-.72-.462a1 1 0 0 0-.523 0c-.194.052-.37.189-.721.462Z"}));o.displayName="Home02";export{o as a};
@@ -1 +1 @@
1
- import{r as a}from"./index-DZqSbjFw.js";const o=({size:e=24,color:r="currentColor",...t})=>a.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},a.createElement("path",{d:"M16.2 21H6.931c-.605 0-.908 0-1.049-.12a.5.5 0 0 1-.173-.42c.014-.183.228-.397.657-.826l8.503-8.503c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L21 15v1.2M16.2 21c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.72 21 17.88 21 16.2M16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4M10.5 8.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}));o.displayName="Image01";export{o as a};
1
+ import{r as a}from"./index-504A5fzu.js";const o=({size:e=24,color:r="currentColor",...t})=>a.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},a.createElement("path",{d:"M16.2 21H6.931c-.605 0-.908 0-1.049-.12a.5.5 0 0 1-.173-.42c.014-.183.228-.397.657-.826l8.503-8.503c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L21 15v1.2M16.2 21c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.72 21 17.88 21 16.2M16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4M10.5 8.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}));o.displayName="Image01";export{o as a};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const c=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M2.5 12h3.382c.685 0 1.312.387 1.618 1 .306.613.933 1 1.618 1h5.764c.685 0 1.312-.387 1.618-1 .306-.613.933-1 1.618-1H21.5M8.967 4h6.066c1.077 0 1.616 0 2.091.164a3 3 0 0 1 1.121.693c.36.352.6.833 1.082 1.796l2.166 4.333c.19.378.284.567.35.765.06.177.102.357.128.541.029.207.029.418.029.841V15.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 20 18.88 20 17.2 20H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.72 2 16.88 2 15.2v-2.067c0-.422 0-.634.029-.84.026-.184.068-.365.128-.541.066-.199.16-.388.35-.766l2.166-4.333c.482-.963.723-1.444 1.082-1.796a3 3 0 0 1 1.12-.693C7.352 4 7.89 4 8.968 4Z"}));c.displayName="Inbox01";export{c as n};
1
+ import{r}from"./index-504A5fzu.js";const c=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M2.5 12h3.382c.685 0 1.312.387 1.618 1 .306.613.933 1 1.618 1h5.764c.685 0 1.312-.387 1.618-1 .306-.613.933-1 1.618-1H21.5M8.967 4h6.066c1.077 0 1.616 0 2.091.164a3 3 0 0 1 1.121.693c.36.352.6.833 1.082 1.796l2.166 4.333c.19.378.284.567.35.765.06.177.102.357.128.541.029.207.029.418.029.841V15.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 20 18.88 20 17.2 20H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.72 2 16.88 2 15.2v-2.067c0-.422 0-.634.029-.84.026-.184.068-.365.128-.541.066-.199.16-.388.35-.766l2.166-4.333c.482-.963.723-1.444 1.082-1.796a3 3 0 0 1 1.12-.693C7.352 4 7.89 4 8.968 4Z"}));c.displayName="Inbox01";export{c as n};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M12 16v-4m0-4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="InfoCircle";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M12 16v-4m0-4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="InfoCircle";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 9a1.99 1.99 0 0 0-.586-1.414A1.994 1.994 0 0 0 15 7m0 8a6 6 0 1 0-5.946-5.193c.058.434.087.651.068.789a.853.853 0 0 1-.117.346c-.068.121-.187.24-.426.479l-5.11 5.11c-.173.173-.26.26-.322.36a1 1 0 0 0-.12.29C3 17.296 3 17.418 3 17.663V19.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21H7v-2h2v-2h2l1.58-1.58c.238-.238.357-.357.478-.425a.852.852 0 0 1 .346-.117c.138-.02.355.01.789.068.264.036.533.054.807.054Z"}));a.displayName="Key01";export{a as i};
1
+ import{r}from"./index-504A5fzu.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 9a1.99 1.99 0 0 0-.586-1.414A1.994 1.994 0 0 0 15 7m0 8a6 6 0 1 0-5.946-5.193c.058.434.087.651.068.789a.853.853 0 0 1-.117.346c-.068.121-.187.24-.426.479l-5.11 5.11c-.173.173-.26.26-.322.36a1 1 0 0 0-.12.29C3 17.296 3 17.418 3 17.663V19.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21H7v-2h2v-2h2l1.58-1.58c.238-.238.357-.357.478-.425a.852.852 0 0 1 .346-.117c.138-.02.355.01.789.068.264.036.533.054.807.054Z"}));a.displayName="Key01";export{a as i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 9V3m0 0h-6m6 0-8 8m-3-6H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 7.28 3 8.12 3 9.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 18.72 19 17.88 19 16.2V14"}));n.displayName="LinkExternal01";export{n};
1
+ import{r}from"./index-504A5fzu.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 9V3m0 0h-6m6 0-8 8m-3-6H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 7.28 3 8.12 3 9.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 18.72 19 17.88 19 16.2V14"}));n.displayName="LinkExternal01";export{n};
@@ -1 +1 @@
1
- import{r as t}from"./index-DZqSbjFw.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M21 12H9m12-6H9m12 12H9m-4-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}));i.displayName="List";export{i};
1
+ import{r as t}from"./index-504A5fzu.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M21 12H9m12-6H9m12 12H9m-4-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}));i.displayName="List";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 2.25v2.5M12 18v4M5.75 12h-3.5m19 0h-1.5m-1.293 6.457-.707-.707m.914-12.334L17.25 6.83M4.922 19.078 7.75 16.25M5.129 5.209 7.25 7.33"}));i.displayName="Loading01";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 2.25v2.5M12 18v4M5.75 12h-3.5m19 0h-1.5m-1.293 6.457-.707-.707m.914-12.334L17.25 6.83M4.922 19.078 7.75 16.25M5.129 5.209 7.25 7.33"}));i.displayName="Loading01";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));a.displayName="Lock01";export{a as i};
1
+ import{r}from"./index-504A5fzu.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));a.displayName="Lock01";export{a as i};
@@ -1 +1 @@
1
- import{r as c}from"./index-DZqSbjFw.js";const o=({size:e=24,color:r="currentColor",...t})=>c.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},c.createElement("path",{d:"M12 15v7M8 7.308v2.13c0 .209 0 .313-.02.412a1.001 1.001 0 0 1-.09.254c-.045.09-.11.172-.24.334L6.08 12.4c-.666.833-.999 1.249-.999 1.599a1 1 0 0 0 .376.782C5.731 15 6.264 15 7.33 15h9.342c1.066 0 1.599 0 1.873-.219A1 1 0 0 0 18.92 14c0-.35-.333-.766-1-1.599l-1.569-1.962c-.13-.162-.195-.243-.241-.334a1.004 1.004 0 0 1-.09-.254C16 9.75 16 9.647 16 9.44V7.31c0-.116 0-.174.007-.23.006-.05.015-.1.029-.15a2.02 2.02 0 0 1 .079-.215l1.008-2.52c.294-.735.44-1.102.38-1.397a1 1 0 0 0-.427-.63C16.825 2 16.429 2 15.637 2H8.364c-.792 0-1.188 0-1.44.167a1 1 0 0 0-.426.63c-.06.295.086.662.38 1.397l1.008 2.52c.043.107.064.16.08.215a1 1 0 0 1 .028.15c.006.056.006.114.006.23Z"}));o.displayName="Pin01";export{o as c};
1
+ import{r as c}from"./index-504A5fzu.js";const o=({size:e=24,color:r="currentColor",...t})=>c.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},c.createElement("path",{d:"M12 15v7M8 7.308v2.13c0 .209 0 .313-.02.412a1.001 1.001 0 0 1-.09.254c-.045.09-.11.172-.24.334L6.08 12.4c-.666.833-.999 1.249-.999 1.599a1 1 0 0 0 .376.782C5.731 15 6.264 15 7.33 15h9.342c1.066 0 1.599 0 1.873-.219A1 1 0 0 0 18.92 14c0-.35-.333-.766-1-1.599l-1.569-1.962c-.13-.162-.195-.243-.241-.334a1.004 1.004 0 0 1-.09-.254C16 9.75 16 9.647 16 9.44V7.31c0-.116 0-.174.007-.23.006-.05.015-.1.029-.15a2.02 2.02 0 0 1 .079-.215l1.008-2.52c.294-.735.44-1.102.38-1.397a1 1 0 0 0-.427-.63C16.825 2 16.429 2 15.637 2H8.364c-.792 0-1.188 0-1.44.167a1 1 0 0 0-.426.63c-.06.295.086.662.38 1.397l1.008 2.52c.043.107.064.16.08.215a1 1 0 0 1 .028.15c.006.056.006.114.006.23Z"}));o.displayName="Pin01";export{o as c};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M5 4.99c0-.972 0-1.457.202-1.725a1 1 0 0 1 .738-.395c.335-.02.74.25 1.548.788l10.515 7.01c.668.446 1.002.668 1.118.949a1 1 0 0 1 0 .766c-.116.28-.45.503-1.118.948l-10.515 7.01c-.809.54-1.213.809-1.548.789a1 1 0 0 1-.738-.395C5 20.467 5 19.98 5 19.01V4.99Z"}));a.displayName="Play";export{a as i};
1
+ import{r}from"./index-504A5fzu.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M5 4.99c0-.972 0-1.457.202-1.725a1 1 0 0 1 .738-.395c.335-.02.74.25 1.548.788l10.515 7.01c.668.446 1.002.668 1.118.949a1 1 0 0 1 0 .766c-.116.28-.45.503-1.118.948l-10.515 7.01c-.809.54-1.213.809-1.548.789a1 1 0 0 1-.738-.395C5 20.467 5 19.98 5 19.01V4.99Z"}));a.displayName="Play";export{a as i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 5v14m-7-7h14"}));i.displayName="Plus";export{i as s};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 5v14m-7-7h14"}));i.displayName="Plus";export{i as s};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m21 21-4.35-4.35M19 11a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z"}));i.displayName="SearchMd";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m21 21-4.35-4.35M19 11a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z"}));i.displayName="SearchMd";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m8.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98M21 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm12 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}));a.displayName="Share07";export{a as i};
1
+ import{r}from"./index-504A5fzu.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m8.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98M21 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm12 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}));a.displayName="Share07";export{a as i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m4 17 6-6-6-6m8 14h8"}));i.displayName="Terminal";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m4 17 6-6-6-6m8 14h8"}));i.displayName="Terminal";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M3 9h13.5a4.5 4.5 0 1 1 0 9H12M3 9l4-4M3 9l4 4"}));a.displayName="FlipBackward";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M15.631 7.631c-.396-.396-.594-.594-.668-.822a1 1 0 0 1 0-.618c.074-.228.272-.426.668-.822L18.47 2.53a6 6 0 0 0-8.3 6.895c.12.49.179.734.168.888a.849.849 0 0 1-.11.392c-.07.138-.207.274-.48.547L3.5 17.5a2.121 2.121 0 0 0 3 3l6.248-6.248c.273-.273.41-.41.547-.48a.849.849 0 0 1 .392-.11c.154-.011.399.049.888.168a6 6 0 0 0 6.895-8.3l-2.84 2.84c-.396.396-.594.594-.822.668a1 1 0 0 1-.618 0c-.228-.074-.426-.272-.822-.668l-.738-.738Z"}));i.displayName="Tool01";export{i as a,a as i};
1
+ import{r}from"./index-504A5fzu.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M3 9h13.5a4.5 4.5 0 1 1 0 9H12M3 9l4-4M3 9l4 4"}));a.displayName="FlipBackward";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M15.631 7.631c-.396-.396-.594-.594-.668-.822a1 1 0 0 1 0-.618c.074-.228.272-.426.668-.822L18.47 2.53a6 6 0 0 0-8.3 6.895c.12.49.179.734.168.888a.849.849 0 0 1-.11.392c-.07.138-.207.274-.48.547L3.5 17.5a2.121 2.121 0 0 0 3 3l6.248-6.248c.273-.273.41-.41.547-.48a.849.849 0 0 1 .392-.11c.154-.011.399.049.888.168a6 6 0 0 0 6.895-8.3l-2.84 2.84c-.396.396-.594.594-.822.668a1 1 0 0 1-.618 0c-.228-.074-.426-.272-.822-.668l-.738-.738Z"}));i.displayName="Tool01";export{i as a,a as i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M16 6v-.8c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C14.48 2 13.92 2 12.8 2h-1.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C8 3.52 8 4.08 8 5.2V6m2 5.5v5m4-5v5M3 6h18m-2 0v11.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C16.72 22 15.88 22 14.2 22H9.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C5 19.72 5 18.88 5 17.2V6"}));a.displayName="Trash01";export{a as s};
1
+ import{r}from"./index-504A5fzu.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M16 6v-.8c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C14.48 2 13.92 2 12.8 2h-1.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C8 3.52 8 4.08 8 5.2V6m2 5.5v5m4-5v5M3 6h18m-2 0v11.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C16.72 22 15.88 22 14.2 22H9.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C5 19.72 5 18.88 5 17.2V6"}));a.displayName="Trash01";export{a as s};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-7-5-5m0 0L7 8m5-5v12"}));i.displayName="Upload01";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-7-5-5m0 0L7 8m5-5v12"}));i.displayName="Upload01";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 15.837c1.456.731 2.704 1.905 3.615 3.373.18.29.27.436.302.637.063.409-.216.912-.597 1.073-.188.08-.398.08-.82.08M16 11.532a4.5 4.5 0 0 0 0-8.064M14 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM2.56 18.938C4.153 16.545 6.67 15 9.5 15s5.346 1.545 6.94 3.938c.35.525.525.787.505 1.122-.016.26-.187.58-.396.738-.267.202-.635.202-1.371.202H3.822c-.736 0-1.104 0-1.372-.202a1.109 1.109 0 0 1-.395-.738c-.02-.335.155-.597.504-1.122Z"}));a.displayName="Users03";export{a as t};
1
+ import{r}from"./index-504A5fzu.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 15.837c1.456.731 2.704 1.905 3.615 3.373.18.29.27.436.302.637.063.409-.216.912-.597 1.073-.188.08-.398.08-.82.08M16 11.532a4.5 4.5 0 0 0 0-8.064M14 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM2.56 18.938C4.153 16.545 6.67 15 9.5 15s5.346 1.545 6.94 3.938c.35.525.525.787.505 1.122-.016.26-.187.58-.396.738-.267.202-.635.202-1.371.202H3.822c-.736 0-1.104 0-1.372-.202a1.109 1.109 0 0 1-.395-.738c-.02-.335.155-.597.504-1.122Z"}));a.displayName="Users03";export{a as t};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));i.displayName="X";export{i};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));i.displayName="X";export{i};
@@ -1 +1 @@
1
- import{r}from"./index-DZqSbjFw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 6 6 18M6 6l12 12"}));i.displayName="XClose";export{i as s};
1
+ import{r}from"./index-504A5fzu.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 6 6 18M6 6l12 12"}));i.displayName="XClose";export{i as s};
@@ -1 +1 @@
1
- import{r as N,j as t,I as ft,x as he,z as je,R as pt,D as xt,v as ht,w as gt,aw as bt,B as We,E as vt,c as T,u as Oe,V as jt,s as Nt,ao as De,l as yt,a as Ct,b6 as _t,bn as Tt,k as kt,h as St,as as wt}from"./index-DZqSbjFw.js";import{u as Et,C as It,a as At}from"./collapsible-CDAezpyL.js";import{I as ue,E as Ot}from"./empty-state-BJnVPwS4.js";import{E as xe,i as Dt}from"./error-boundary-B6RXO2oI.js";import{P as $t}from"./pin-to-sidebar-button-Bsv2_7kr.js";import{u as Rt}from"./use-deco-chat-open-CrQFHW7J.js";import{B as $e}from"./badge-DF_3zhMz.js";import{c as Z,B as Y}from"./button-0ydgHweE.js";import{I as Be}from"./input-u1hHzCA4.js";import{S as zt}from"./switch-DNIxf6Z3.js";import{T as Lt}from"./textarea-CLIBzUIu.js";import{T as ee,b as Ne,c as te,a as se}from"./tooltip-9zLX7HP0.js";import{b as Pt,u as Ue}from"./use-connection-BzhGWFyL.js";import{u as Mt,a as Vt}from"./use-virtual-mcp-D3UgDP8i.js";import{i as Ke}from"./Grid01-Bdrpv4xX.js";import{n as Ft}from"./select-BKwPUbTK.js";import{i as Re}from"./File02-CZ_CP680.js";import{a as ze,i as Bt}from"./Tool01-CH0MYN-2.js";import{i as Le}from"./Loading01-BiNUjLDw.js";import{i as Gt}from"./Play-C3Hph8xY.js";import{s as Ge}from"./Plus-BuZ2XoBN.js";import{i as Ht}from"./Share07-DldJlk64.js";import{b as Wt,V as Ut}from"./layout-DspSCzsh.js";import{C as Kt}from"./collection-search-rOPXHeEr.js";import{C as Pe}from"./checkbox-JnNCVINs.js";import{e as qt,a as qe,D as Ye,b as Yt,c as Zt}from"./dialog-6FUpHXs_.js";import{f as Jt}from"./use-collections-DtjYeVzj.js";import{u as Me}from"./constants-Mpett05j.js";import{c as Qt,u as Xt}from"./use-mcp-prompts-C2Az2O1z.js";import{s as Ze}from"./slugify-CEUa2lfQ.js";import{I as es,R as ts,a as ss}from"./index-CXUcNyKS.js";import{i as Je}from"./Check-C7bGyGOC.js";import{i as ls}from"./Code01-Bti_O9RL.js";import{a as os}from"./Copy01-Cql6iNiT.js";import{i as ye}from"./InfoCircle-BJ2AMXf3.js";import"./use-binding-B1LqCJr8.js";import"./binder-CC8WnynZ.js";import"./useSuspenseInfiniteQuery-jy6MmqiZ.js";import"./infiniteQueryObserver-DmKtj9SR.js";import"./localstorage-keys-DpM3uKv7.js";import"./useQuery-KlPPWaKy.js";import"./useMutation-BReaxe_W.js";import"./popover-DEmRxXmY.js";import"./ChevronDown-DY2hRH3P.js";import"./File06-OiAbO58I.js";import"./Image01-DvLyxsOA.js";import"./SearchMd-BeBVRrdw.js";import"./Pin01-iTXtWrRE.js";import"./use-organization-settings-DMGaX8N0.js";import"./ArrowLeft-CDtoEGeL.js";import"./X-DLZk4kqC.js";const Qe=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M4 7h11m0 0-4 4m4-4-4-4M4 17h16m0 0-4 4m4-4-4-4"}));Qe.displayName="ArrowsRight";const Xe=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z"}));Xe.displayName="Circle";const et=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M9 2v3m6-3v3M9 19v3m6-3v3m4-13h3m-3 5h3M2 9h3m-3 5h3m4.8 5h4.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 16.72 19 15.88 19 14.2V9.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C16.72 5 15.88 5 14.2 5H9.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C5 7.28 5 8.12 5 9.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C7.28 19 8.12 19 9.8 19Z"}));et.displayName="CpuChip02";const ge=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"m9.75 20.75 1.473.818c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l1.473-.818m-9-2.5-1.427-.793c-.3-.166-.45-.25-.558-.368a1 1 0 0 1-.215-.364C3 16.573 3 16.401 3 16.06V14.5m0-5V7.942c0-.343 0-.514.05-.667a1 1 0 0 1 .215-.364c.109-.119.258-.202.558-.368L5.25 5.75m4.5-2.5 1.473-.818c.284-.158.425-.237.576-.267a1 1 0 0 1 .402 0c.15.03.292.11.576.267l1.473.818m4.5 2.5 1.427.793c.3.166.45.25.558.368a1 1 0 0 1 .215.364c.05.153.05.324.05.667V9.5m0 5v1.559c0 .342 0 .514-.05.666a.999.999 0 0 1-.215.364c-.109.119-.258.202-.558.368l-1.427.793m-9-7.5L12 12m0 0 2.25-1.25M12 12v2.5M3 7l2.25 1.25m13.5 0L21 7m-9 12.5V22"}));ge.displayName="CubeOutline";const tt=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M10 17.659V20a2 2 0 1 0 4 0v-2.341M12 2v1m-9 9H2m3.5-6.5-.6-.6m13.6.6.6-.6M22 12h-1m-3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z"}));tt.displayName="Lightbulb02";const st=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M7 3v3.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C7.76 8 8.04 8 8.6 8h6.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C17 7.24 17 6.96 17 6.4V4m0 17v-6.4c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C16.24 13 15.96 13 15.4 13H8.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C7 13.76 7 14.04 7 14.6V21M21 9.325V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h6.875c.489 0 .733 0 .963.055.204.05.4.13.579.24.201.123.374.296.72.642l3.126 3.126c.346.346.519.519.642.72.11.18.19.374.24.579.055.23.055.474.055.963Z"}));st.displayName="Save01";var be="Tabs",[ns]=vt(be,[We]),lt=We(),[is,Ve]=ns(be),ot=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:n,onValueChange:o,defaultValue:i,orientation:c="horizontal",dir:r,activationMode:a="automatic",...m}=l,u=ht(r),[d,f]=gt({prop:n,onChange:o,defaultProp:i??"",caller:be});return t.jsx(is,{scope:s,baseId:bt(),value:d,onValueChange:f,orientation:c,dir:u,activationMode:a,children:t.jsx(he.div,{dir:u,"data-orientation":c,...m,ref:e})})});ot.displayName=be;var nt="TabsList",it=N.forwardRef((l,e)=>{const{__scopeTabs:s,loop:n=!0,...o}=l,i=Ve(nt,s),c=lt(s);return t.jsx(pt,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:t.jsx(he.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});it.displayName=nt;var rt="TabsTrigger",at=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:n,disabled:o=!1,...i}=l,c=Ve(rt,s),r=lt(s),a=mt(c.baseId,n),m=ut(c.baseId,n),u=n===c.value;return t.jsx(ft,{asChild:!0,...r,focusable:!o,active:u,children:t.jsx(he.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":m,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:a,...i,ref:e,onMouseDown:je(l.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?c.onValueChange(n):d.preventDefault()}),onKeyDown:je(l.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&c.onValueChange(n)}),onFocus:je(l.onFocus,()=>{const d=c.activationMode!=="manual";!u&&!o&&d&&c.onValueChange(n)})})})});at.displayName=rt;var ct="TabsContent",dt=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:n,forceMount:o,children:i,...c}=l,r=Ve(ct,s),a=mt(r.baseId,n),m=ut(r.baseId,n),u=n===r.value,d=N.useRef(u);return N.useEffect(()=>{const f=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(f)},[]),t.jsx(xt,{present:o||u,children:({present:f})=>t.jsx(he.div,{"data-state":u?"active":"inactive","data-orientation":r.orientation,role:"tabpanel","aria-labelledby":a,hidden:!f,id:m,tabIndex:0,...c,ref:e,style:{...l.style,animationDuration:d.current?"0s":void 0},children:f&&i})})});dt.displayName=ct;function mt(l,e){return`${l}-trigger-${e}`}function ut(l,e){return`${l}-content-${e}`}var rs=ot,as=it,cs=at,ds=dt;function ms(l){const e=T.c(10);let s,n,o;e[0]!==l?({className:s,variant:o,...n}=l,e[0]=l,e[1]=s,e[2]=n,e[3]=o):(s=e[1],n=e[2],o=e[3]);const i=o===void 0?"pill":o;let c;e[4]!==s?(c=Z("flex flex-col gap-2",s),e[4]=s,e[5]=c):c=e[5];let r;return e[6]!==n||e[7]!==c||e[8]!==i?(r=t.jsx(rs,{"data-slot":"tabs","data-variant":i,className:c,...n}),e[6]=n,e[7]=c,e[8]=i,e[9]=r):r=e[9],r}function us(l){const e=T.c(11);let s,n,o;e[0]!==l?({className:s,variant:o,...n}=l,e[0]=l,e[1]=s,e[2]=n,e[3]=o):(s=e[1],n=e[2],o=e[3]);const i=o||"pill",c=i==="underline"?"flex h-[52px] items-center border-b border-border":i==="canvas"?"flex h-10 items-center bg-background relative":"bg-muted text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-xl p-[3px]";let r;e[4]!==s||e[5]!==c?(r=Z(c,s),e[4]=s,e[5]=c,e[6]=r):r=e[6];let a;return e[7]!==i||e[8]!==n||e[9]!==r?(a=t.jsx(as,{"data-slot":"tabs-list","data-variant":i,className:r,...n}),e[7]=i,e[8]=n,e[9]=r,e[10]=a):a=e[10],a}function Ce(l){const e=T.c(11);let s,n,o;e[0]!==l?({className:s,variant:o,...n}=l,e[0]=l,e[1]=s,e[2]=n,e[3]=o):(s=e[1],n=e[2],o=e[3]);const i=o||"pill",c=i==="underline"?"cursor-pointer flex items-center h-full px-3 relative text-sm whitespace-nowrap border-b-2 mb-[-1px] transition-all text-muted-foreground border-transparent hover:text-foreground data-[state=active]:text-foreground data-[state=active]:border-foreground disabled:pointer-events-none disabled:opacity-50":i==="canvas"?"cursor-pointer flex items-center h-full px-3 gap-2.5 text-sm whitespace-nowrap transition-all border-r border-b border-border [&>*]:opacity-50 data-[state=active]:[&>*]:opacity-100 data-[state=active]:border-b-0 last:border-r-0 disabled:pointer-events-none max-w-2xs":"data-[state=active]:bg-background dark:data-[state=active]:text-foreground cursor-pointer focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";let r;e[4]!==s||e[5]!==c?(r=Z(c,s),e[4]=s,e[5]=c,e[6]=r):r=e[6];let a;return e[7]!==i||e[8]!==n||e[9]!==r?(a=t.jsx(cs,{"data-slot":"tabs-trigger","data-variant":i,className:r,...n}),e[7]=i,e[8]=n,e[9]=r,e[10]=a):a=e[10],a}function _e(l){const e=T.c(8);let s,n;e[0]!==l?({className:s,...n}=l,e[0]=l,e[1]=s,e[2]=n):(s=e[1],n=e[2]);let o;e[3]!==s?(o=Z("flex-1 outline-none h-full",s),e[3]=s,e[4]=o):o=e[4];let i;return e[5]!==n||e[6]!==o?(i=t.jsx(ds,{"data-slot":"tabs-content",className:o,...n}),e[5]=n,e[6]=o,e[7]=i):i=e[7],i}function Te(l){return l===null?"all":l?.length??0}function fs(l,e){const s=l[e];if(!s)return"";const n=[];return s.tools===null?n.push("all tools"):s.tools&&s.tools.length>0&&n.push(`${s.tools.length} tools`),s.resources===null?n.push("all resources"):s.resources&&s.resources.length>0&&n.push(`${s.resources.length} resources`),s.prompts===null?n.push("all prompts"):s.prompts&&s.prompts.length>0&&n.push(`${s.prompts.length} prompts`),n.join(", ")}function ps(l,e){const s=l[e];return s?!((s.tools===void 0||s.tools!==null&&s.tools.length===0)&&(s.resources===void 0||s.resources!==null&&s.resources.length===0)&&(s.prompts===void 0||s.prompts!==null&&s.prompts.length===0)):!1}const xs={tools:null,resources:null,prompts:null};function ke(){const l=T.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("div",{className:"flex items-center justify-center h-32",children:t.jsx(Le,{className:"animate-spin text-muted-foreground",size:24})}),l[0]=e):e=l[0],e}function Se(l){return({error:e})=>e?.message?.includes("Method not found")||e?.code===-32601?t.jsx("div",{className:"flex-1 overflow-auto px-4 py-3 space-y-1",children:t.jsx("div",{className:"flex items-center justify-center h-32 text-sm text-muted-foreground",children:l})}):t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[t.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:t.jsx(Dt,{className:"h-6 w-6 text-destructive"})}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("h3",{className:"text-lg font-medium",children:"Something went wrong"}),t.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:e?.message?e.message.length>200?`${e.message.slice(0,200)}...`:e.message:"An unexpected error occurred"})]})]})}function hs(l){const e=T.c(18),{item:s,isSelected:n,onToggle:o,disabled:i}=l,c=i?"cursor-not-allowed opacity-50":"cursor-pointer",r=n?"bg-accent/25":"hover:bg-muted/50";let a;e[0]!==c||e[1]!==r?(a=Z("flex items-start gap-3 p-4 rounded-lg transition-colors",c,r),e[0]=c,e[1]=r,e[2]=a):a=e[2];let m;e[3]!==s.name?(m=t.jsx("p",{className:"text-sm font-medium leading-none",children:s.name}),e[3]=s.name,e[4]=m):m=e[4];let u;e[5]!==s.description?(u=s.description&&t.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:s.description}),e[5]=s.description,e[6]=u):u=e[6];let d;e[7]!==m||e[8]!==u?(d=t.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[m,u]}),e[7]=m,e[8]=u,e[9]=d):d=e[9];let f;e[10]!==i||e[11]!==n||e[12]!==o?(f=t.jsx(Pe,{checked:n,onCheckedChange:o,disabled:i,className:"mt-0.5"}),e[10]=i,e[11]=n,e[12]=o,e[13]=f):f=e[13];let g;return e[14]!==a||e[15]!==d||e[16]!==f?(g=t.jsxs("label",{className:a,children:[d,f]}),e[14]=a,e[15]=d,e[16]=f,e[17]=g):g=e[17],g}function Fe(l){const e=T.c(32),{items:s,selections:n,onToggle:o,onToggleAll:i,emptyMessage:c,disabled:r}=l;let a,m,u,d,f;if(e[0]!==r||e[1]!==c||e[2]!==s||e[3]!==o||e[4]!==i||e[5]!==n){f=Symbol.for("react.early_return_sentinel");e:{const x=s.map(gs);if(s.length===0){let y;e[11]!==c?(y=t.jsx("div",{className:"flex-1 overflow-auto px-4 py-3 space-y-1",children:t.jsx("div",{className:"flex items-center justify-center h-32 text-sm text-muted-foreground",children:c})}),e[11]=c,e[12]=y):y=e[12],f=y;break e}u="flex flex-col h-full";const j=r?"cursor-not-allowed opacity-50":"cursor-pointer";let v;e[13]!==j?(v=Z("flex items-start gap-3 p-4",j),e[13]=j,e[14]=v):v=e[14];let p;e[15]!==s.length?(p=t.jsx("div",{className:"flex-1 min-w-0",children:t.jsxs("span",{className:"text-sm font-medium",children:["Select All (",s.length,")"]})}),e[15]=s.length,e[16]=p):p=e[16];const C=n===null;let _;e[17]!==r||e[18]!==i||e[19]!==C?(_=t.jsx(Pe,{checked:C,onCheckedChange:i,disabled:r,className:"mt-0.5"}),e[17]=r,e[18]=i,e[19]=C,e[20]=_):_=e[20],e[21]!==_||e[22]!==v||e[23]!==p?(d=t.jsx("div",{className:"px-4 border-b border-border shrink-0",children:t.jsxs("label",{className:v,children:[p,_]})}),e[21]=_,e[22]=v,e[23]=p,e[24]=d):d=e[24],a="flex-1 overflow-auto px-4 py-3 space-y-1",m=s.map(y=>t.jsx(hs,{item:y,isSelected:n===null||n?.includes(y.id),onToggle:()=>o(y.id,x),disabled:r},y.id))}e[0]=r,e[1]=c,e[2]=s,e[3]=o,e[4]=i,e[5]=n,e[6]=a,e[7]=m,e[8]=u,e[9]=d,e[10]=f}else a=e[6],m=e[7],u=e[8],d=e[9],f=e[10];if(f!==Symbol.for("react.early_return_sentinel"))return f;let g;e[25]!==a||e[26]!==m?(g=t.jsx("div",{className:a,children:m}),e[25]=a,e[26]=m,e[27]=g):g=e[27];let h;return e[28]!==u||e[29]!==d||e[30]!==g?(h=t.jsxs("div",{className:u,children:[d,g]}),e[28]=u,e[29]=d,e[30]=g,e[31]=h):h=e[31],h}function gs(l){return l.id}function bs(l){const e=T.c(13),{connectionId:s,selections:n,onToggle:o,onToggleAll:i,disabled:c}=l,{org:r}=Oe();let a;e[0]!==s||e[1]!==r.id?(a={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=a):a=e[2];const m=Me(a);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:d}=Jt(u);let f;e[5]!==d.tools?(f=d.tools.map(vs),e[5]=d.tools,e[6]=f):f=e[6];const g=f;let h;return e[7]!==c||e[8]!==g||e[9]!==o||e[10]!==i||e[11]!==n?(h=t.jsx(Fe,{items:g,selections:n,onToggle:o,onToggleAll:i,emptyMessage:"No tools available",disabled:c}),e[7]=c,e[8]=g,e[9]=o,e[10]=i,e[11]=n,e[12]=h):h=e[12],h}function vs(l){return{id:l.name,name:l.name,description:l.description}}function js(l){const e=T.c(13),{connectionId:s,selections:n,onToggle:o,onToggleAll:i,disabled:c}=l,{org:r}=Oe();let a;e[0]!==s||e[1]!==r.id?(a={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=a):a=e[2];const m=Me(a);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:d}=Qt(u);let f;e[5]!==d.resources?(f=d.resources.map(Ns),e[5]=d.resources,e[6]=f):f=e[6];const g=f;let h;return e[7]!==c||e[8]!==g||e[9]!==o||e[10]!==i||e[11]!==n?(h=t.jsx(Fe,{items:g,selections:n,onToggle:o,onToggleAll:i,emptyMessage:"No resources available",disabled:c}),e[7]=c,e[8]=g,e[9]=o,e[10]=i,e[11]=n,e[12]=h):h=e[12],h}function Ns(l){return{id:l.name||l.uri,name:l.name||l.uri,description:l.description}}function ys(l){const e=T.c(13),{connectionId:s,selections:n,onToggle:o,onToggleAll:i,disabled:c}=l,{org:r}=Oe();let a;e[0]!==s||e[1]!==r.id?(a={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=a):a=e[2];const m=Me(a);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:d}=Xt(u);let f;e[5]!==d.prompts?(f=d.prompts.map(Cs),e[5]=d.prompts,e[6]=f):f=e[6];const g=f;let h;return e[7]!==c||e[8]!==g||e[9]!==o||e[10]!==i||e[11]!==n?(h=t.jsx(Fe,{items:g,selections:n,onToggle:o,onToggleAll:i,emptyMessage:"No prompts available",disabled:c}),e[7]=c,e[8]=g,e[9]=o,e[10]=i,e[11]=n,e[12]=h):h=e[12],h}function Cs(l){return{id:l.name,name:l.name,description:l.description}}function _s(l){const e=T.c(24),{connection:s,isSelected:n,hasSelections:o,summary:i,onClick:c,onToggleAll:r,disabled:a}=l,m=a?"cursor-not-allowed opacity-50":"cursor-pointer",u=n?"bg-accent":"hover:bg-muted/50";let d;e[0]!==m||e[1]!==u?(d=Z("flex items-center gap-2 p-2 h-12 rounded-lg transition-colors",m,u),e[0]=m,e[1]=u,e[2]=d):d=e[2];const f=a?void 0:c;let g;e[3]!==s.icon||e[4]!==s.title?(g=t.jsx(ue,{icon:s.icon,name:s.title,size:"xs",className:"shrink-0"}),e[3]=s.icon,e[4]=s.title,e[5]=g):g=e[5];let h;e[6]!==s.title?(h=t.jsx("p",{className:"text-sm font-medium text-foreground truncate",children:s.title}),e[6]=s.title,e[7]=h):h=e[7];let x;e[8]!==o||e[9]!==i?(x=o&&i&&t.jsx("p",{className:"text-xs text-muted-foreground truncate",children:i}),e[8]=o,e[9]=i,e[10]=x):x=e[10];let j;e[11]!==h||e[12]!==x?(j=t.jsxs("div",{className:"flex-1 min-w-0 flex flex-col justify-center",children:[h,x]}),e[11]=h,e[12]=x,e[13]=j):j=e[13];let v;e[14]!==a||e[15]!==o||e[16]!==r?(v=t.jsx(Pe,{checked:o,onCheckedChange:r,onClick:Ts,disabled:a,className:"shrink-0"}),e[14]=a,e[15]=o,e[16]=r,e[17]=v):v=e[17];let p;return e[18]!==d||e[19]!==f||e[20]!==g||e[21]!==j||e[22]!==v?(p=t.jsxs("div",{className:d,onClick:f,children:[g,j,v]}),e[18]=d,e[19]=f,e[20]=g,e[21]=j,e[22]=v,e[23]=p):p=e[23],p}function Ts(l){return l.stopPropagation()}function ks(l){const e=T.c(22),{allConnections:s,searchTerm:n,selectedId:o,hasSelections:i,getSelectionSummary:c,onConnectionClick:r,onToggleAll:a,disabled:m}=l;let u;e[0]!==s||e[1]!==n?(u=n?s.filter(h=>h.title.toLowerCase().includes(n.toLowerCase())||h.description?.toLowerCase().includes(n.toLowerCase())):s,e[0]=s,e[1]=n,e[2]=u):u=e[2];const d=u;if(d.length===0){const h=n?"No connections found":"No connections available";let x;return e[3]!==h?(x=t.jsx("div",{className:"flex items-center justify-center h-full text-sm text-muted-foreground p-4",children:h}),e[3]=h,e[4]=x):x=e[4],x}let f;if(e[5]!==m||e[6]!==d||e[7]!==c||e[8]!==i||e[9]!==r||e[10]!==a||e[11]!==o){let h;e[13]!==m||e[14]!==c||e[15]!==i||e[16]!==r||e[17]!==a||e[18]!==o?(h=x=>t.jsx(_s,{connection:x,isSelected:o===x.id,hasSelections:i(x.id),summary:c(x.id),onClick:()=>r(x.id),onToggleAll:()=>a(x.id),disabled:m},x.id),e[13]=m,e[14]=c,e[15]=i,e[16]=r,e[17]=a,e[18]=o,e[19]=h):h=e[19],f=d.map(h),e[5]=m,e[6]=d,e[7]=c,e[8]=i,e[9]=r,e[10]=a,e[11]=o,e[12]=f}else f=e[12];let g;return e[20]!==f?(g=t.jsx("div",{className:"flex flex-col gap-0.5",children:f}),e[20]=f,e[21]=g):g=e[21],g}function Ss(l){const e=T.c(75),{currentConnection:s,activeTab:n,selectedId:o,formData:i,toggleTool:c,toggleResource:r,togglePrompt:a,toggleAllTools:m,toggleAllResources:u,toggleAllPrompts:d,onTabChange:f}=l;let g;e[0]!==s.icon||e[1]!==s.title?(g=t.jsx(ue,{icon:s.icon,name:s.title,size:"md",className:"shrink-0"}),e[0]=s.icon,e[1]=s.title,e[2]=g):g=e[2];let h;e[3]!==s.title?(h=t.jsx("h2",{className:"text-lg font-semibold truncate",children:s.title}),e[3]=s.title,e[4]=h):h=e[4];let x;e[5]!==s.description?(x=s.description&&t.jsx("p",{className:"text-sm text-muted-foreground truncate",children:s.description}),e[5]=s.description,e[6]=x):x=e[6];let j;e[7]!==h||e[8]!==x?(j=t.jsxs("div",{className:"flex-1 min-w-0",children:[h,x]}),e[7]=h,e[8]=x,e[9]=j):j=e[9];let v;e[10]!==g||e[11]!==j?(v=t.jsx("div",{className:"p-6 border-b border-border shrink-0",children:t.jsxs("div",{className:"flex items-center gap-3",children:[g,j]})}),e[10]=g,e[11]=j,e[12]=v):v=e[12];let p;e[13]!==f?(p=F=>f(F),e[13]=f,e[14]=p):p=e[14];let C;e[15]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsxs(Ce,{value:"tools",variant:"underline",className:"gap-2",children:[t.jsx(ze,{size:16}),"Tools"]}),e[15]=C):C=e[15];let _;e[16]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsxs(Ce,{value:"resources",variant:"underline",className:"gap-2",children:[t.jsx(ge,{size:16}),"Resources"]}),e[16]=_):_=e[16];let y;e[17]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsxs(us,{variant:"underline",className:"shrink-0 px-6",children:[C,_,t.jsxs(Ce,{value:"prompts",variant:"underline",className:"gap-2",children:[t.jsx(Re,{size:16}),"Prompts"]})]}),e[17]=y):y=e[17];let P;e[18]===Symbol.for("react.memo_cache_sentinel")?(P=Se("Tools not supported by this server"),e[18]=P):P=e[18];let S;e[19]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(ke,{}),e[19]=S):S=e[19];let O;e[20]!==i||e[21]!==o?(O=i[o]?i[o].tools:[],e[20]=i,e[21]=o,e[22]=O):O=e[22];let k;e[23]!==o||e[24]!==c?(k=(F,Q)=>c(o,F,Q),e[23]=o,e[24]=c,e[25]=k):k=e[25];let w;e[26]!==o||e[27]!==m?(w=()=>m(o),e[26]=o,e[27]=m,e[28]=w):w=e[28];let I;e[29]!==o||e[30]!==O||e[31]!==k||e[32]!==w?(I=t.jsx(_e,{value:"tools",className:"flex-1 overflow-hidden mt-0",children:t.jsx(xe,{fallback:P,children:t.jsx(N.Suspense,{fallback:S,children:t.jsx(bs,{connectionId:o,selections:O,onToggle:k,onToggleAll:w})})})}),e[29]=o,e[30]=O,e[31]=k,e[32]=w,e[33]=I):I=e[33];let D;e[34]===Symbol.for("react.memo_cache_sentinel")?(D=Se("Resources not supported by this server"),e[34]=D):D=e[34];let z;e[35]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsx(ke,{}),e[35]=z):z=e[35];let E;e[36]!==i||e[37]!==o?(E=i[o]?i[o].resources:[],e[36]=i,e[37]=o,e[38]=E):E=e[38];let A;e[39]!==o||e[40]!==r?(A=(F,Q)=>r(o,F,Q),e[39]=o,e[40]=r,e[41]=A):A=e[41];let $;e[42]!==o||e[43]!==u?($=()=>u(o),e[42]=o,e[43]=u,e[44]=$):$=e[44];let L;e[45]!==o||e[46]!==E||e[47]!==A||e[48]!==$?(L=t.jsx(_e,{value:"resources",className:"flex-1 overflow-hidden mt-0",children:t.jsx(xe,{fallback:D,children:t.jsx(N.Suspense,{fallback:z,children:t.jsx(js,{connectionId:o,selections:E,onToggle:A,onToggleAll:$})})})}),e[45]=o,e[46]=E,e[47]=A,e[48]=$,e[49]=L):L=e[49];let q;e[50]===Symbol.for("react.memo_cache_sentinel")?(q=Se("Prompts not supported by this server"),e[50]=q):q=e[50];let J;e[51]===Symbol.for("react.memo_cache_sentinel")?(J=t.jsx(ke,{}),e[51]=J):J=e[51];let B;e[52]!==i||e[53]!==o?(B=i[o]?i[o].prompts:[],e[52]=i,e[53]=o,e[54]=B):B=e[54];let U;e[55]!==o||e[56]!==a?(U=(F,Q)=>a(o,F,Q),e[55]=o,e[56]=a,e[57]=U):U=e[57];let G;e[58]!==o||e[59]!==d?(G=()=>d(o),e[58]=o,e[59]=d,e[60]=G):G=e[60];let K;e[61]!==o||e[62]!==B||e[63]!==U||e[64]!==G?(K=t.jsx(_e,{value:"prompts",className:"flex-1 overflow-hidden mt-0",children:t.jsx(xe,{fallback:q,children:t.jsx(N.Suspense,{fallback:J,children:t.jsx(ys,{connectionId:o,selections:B,onToggle:U,onToggleAll:G})})})}),e[61]=o,e[62]=B,e[63]=U,e[64]=G,e[65]=K):K=e[65];let H;e[66]!==n||e[67]!==I||e[68]!==L||e[69]!==K||e[70]!==p?(H=t.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:t.jsxs(ms,{value:n,onValueChange:p,variant:"underline",className:"flex-1 flex flex-col overflow-hidden",children:[y,I,L,K]})}),e[66]=n,e[67]=I,e[68]=L,e[69]=K,e[70]=p,e[71]=H):H=e[71];let W;return e[72]!==H||e[73]!==v?(W=t.jsxs(t.Fragment,{children:[v,H]}),e[72]=H,e[73]=v,e[74]=W):W=e[74],W}function ws(l){const e={};for(const s of l)e[s.connection_id]={tools:s.selected_tools,resources:s.selected_resources??null,prompts:s.selected_prompts??null};return e}function we(l){return Object.entries(l).map(([e,s])=>({connection_id:e,selected_tools:s.tools,selected_resources:s.resources,selected_prompts:s.prompts}))}function Es(l,e){switch(e.type){case"SET_SEARCH_TERM":return{...l,searchTerm:e.payload};case"SET_SELECTED":return{...l,selectedId:e.payload};case"SET_ACTIVE_TAB":return{...l,activeTab:e.payload};case"RESET":return{searchTerm:"",selectedId:e.payload.selectedId??e.payload.firstConnectionId??null,activeTab:"tools"};case"SELECT_CONNECTION":return{...l,selectedId:e.payload,activeTab:"tools"};default:return l}}const He=(l,e)=>l.find(s=>s.id===e)??l[0];function Is(l){const e=T.c(79),{open:s,onOpenChange:n,selectedId:o,form:i,connections:c}=l;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r={},e[0]=r):r=e[0];const a=Pt(r);let m;e[1]!==a||e[2]!==o?(m=He(a,o)?.id??null,e[1]=a,e[2]=o,e[3]=m):m=e[3];let u;e[4]!==m?(u={activeTab:"tools",searchTerm:"",selectedId:m},e[4]=m,e[5]=u):u=e[5];const[d,f]=N.useReducer(Es,u);let g;e[6]!==c?(g=c??[],e[6]=c,e[7]=g):g=e[7];let h;e[8]!==g?(h=ws(g),e[8]=g,e[9]=h):h=e[9];const x=h;let j;e[10]!==a||e[11]!==d.selectedId?(j=He(a,d.selectedId),e[10]=a,e[11]=d.selectedId,e[12]=j):j=e[12];const v=j;let p;e[13]!==x?(p=b=>ps(x,b),e[13]=x,e[14]=p):p=e[14];const C=p;let _;e[15]!==x?(_=b=>fs(x,b),e[15]=x,e[16]=_):_=e[16];const y=_;let P;e[17]!==i||e[18]!==x?(P=(b,R,M,X)=>{const de=x[b]?.[R];let V;de===null?V=X.filter(ve=>ve!==M):de?.includes(M)?V=de.filter(ve=>ve!==M):(V=[...de??[],M],V.length===X.length&&(V=null));const me={...x};me[b]?me[b]={...me[b]}:me[b]={tools:null,resources:null,prompts:null},me[b][R]=V,i.setValue("connections",we(me),{shouldDirty:!0,shouldTouch:!0})},e[17]=i,e[18]=x,e[19]=P):P=e[19];const S=P;let O;e[20]!==i||e[21]!==x?(O=(b,R)=>{const de=x[b]?.[R]===null?[]:null,V={...x};V[b]?V[b]={...V[b]}:V[b]={tools:null,resources:null,prompts:null},V[b][R]=de,i.setValue("connections",we(V),{shouldDirty:!0,shouldTouch:!0})},e[20]=i,e[21]=x,e[22]=O):O=e[22];const k=O;let w;e[23]!==S?(w=(b,R,M)=>S(b,"tools",R,M),e[23]=S,e[24]=w):w=e[24];const I=w;let D;e[25]!==S?(D=(b,R,M)=>S(b,"resources",R,M),e[25]=S,e[26]=D):D=e[26];const z=D;let E;e[27]!==S?(E=(b,R,M)=>S(b,"prompts",R,M),e[27]=S,e[28]=E):E=e[28];const A=E;let $;e[29]!==k?($=b=>k(b,"tools"),e[29]=k,e[30]=$):$=e[30];const L=$;let q;e[31]!==k?(q=b=>k(b,"resources"),e[31]=k,e[32]=q):q=e[32];const J=q;let B;e[33]!==k?(B=b=>k(b,"prompts"),e[33]=k,e[34]=B):B=e[34];const U=B;let G;e[35]!==i||e[36]!==x?(G=b=>{const R=x[b],M=R&&R.tools===null&&R.resources===null&&R.prompts===null,X={...x};M?delete X[b]:X[b]=xs,i.setValue("connections",we(X),{shouldDirty:!0,shouldTouch:!0})},e[35]=i,e[36]=x,e[37]=G):G=e[37];const K=G;let H;e[38]!==a||e[39]!==n||e[40]!==o?(H=b=>{b&&f({type:"RESET",payload:{selectedId:o,firstConnectionId:a[0]?.id??null}}),n(b)},e[38]=a,e[39]=n,e[40]=o,e[41]=H):H=e[41];const W=H;let F;e[42]===Symbol.for("react.memo_cache_sentinel")?(F=b=>{f({type:"SELECT_CONNECTION",payload:b})},e[42]=F):F=e[42];const Q=F;let fe;e[43]===Symbol.for("react.memo_cache_sentinel")?(fe=b=>f({type:"SET_SEARCH_TERM",payload:b}),e[43]=fe):fe=e[43];let le;e[44]!==d.searchTerm?(le=t.jsx(Kt,{value:d.searchTerm,onChange:fe,placeholder:"Search connections..."}),e[44]=d.searchTerm,e[45]=le):le=e[45];let oe;e[46]!==a||e[47]!==d.searchTerm||e[48]!==d.selectedId||e[49]!==y||e[50]!==C||e[51]!==K?(oe=t.jsx("div",{className:"flex-1 overflow-auto p-2",children:t.jsx(ks,{allConnections:a,searchTerm:d.searchTerm,selectedId:d.selectedId,hasSelections:C,getSelectionSummary:y,onConnectionClick:Q,onToggleAll:K})}),e[46]=a,e[47]=d.searchTerm,e[48]=d.selectedId,e[49]=y,e[50]=C,e[51]=K,e[52]=oe):oe=e[52];let ne;e[53]!==le||e[54]!==oe?(ne=t.jsxs("div",{className:"w-full sm:w-72 sm:border-r border-b sm:border-b-0 border-border flex flex-col bg-background sm:h-full max-h-[40vh] sm:max-h-full",children:[le,oe]}),e[53]=le,e[54]=oe,e[55]=ne):ne=e[55];let ie;e[56]!==v||e[57]!==d.activeTab||e[58]!==d.selectedId||e[59]!==x||e[60]!==U||e[61]!==J||e[62]!==L||e[63]!==A||e[64]!==z||e[65]!==I?(ie=t.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:v&&d.selectedId?t.jsx(Ss,{currentConnection:v,activeTab:d.activeTab,selectedId:d.selectedId,formData:x,toggleTool:I,toggleResource:z,togglePrompt:A,toggleAllTools:L,toggleAllResources:J,toggleAllPrompts:U,onTabChange:b=>f({type:"SET_ACTIVE_TAB",payload:b})},d.selectedId):t.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:"Select a connection to view its tools, resources, and prompts"})}),e[56]=v,e[57]=d.activeTab,e[58]=d.selectedId,e[59]=x,e[60]=U,e[61]=J,e[62]=L,e[63]=A,e[64]=z,e[65]=I,e[66]=ie):ie=e[66];let re;e[67]!==ne||e[68]!==ie?(re=t.jsxs("div",{className:"flex-1 flex overflow-hidden min-h-0 flex-col sm:flex-row",children:[ne,ie]}),e[67]=ne,e[68]=ie,e[69]=re):re=e[69];let ae;e[70]!==W?(ae=t.jsx(qt,{className:"px-6 py-4 border-t border-border shrink-0",children:t.jsx(Y,{variant:"outline",onClick:()=>W(!1),children:"Done"})}),e[70]=W,e[71]=ae):ae=e[71];let ce;e[72]!==re||e[73]!==ae?(ce=t.jsxs(qe,{className:"sm:max-w-5xl h-[80vh] max-h-[80vh] flex flex-col p-0 gap-0 overflow-hidden w-[95vw]",children:[re,ae]}),e[72]=re,e[73]=ae,e[74]=ce):ce=e[74];let pe;return e[75]!==W||e[76]!==s||e[77]!==ce?(pe=t.jsx(Ye,{open:s,onOpenChange:W,children:ce}),e[75]=W,e[76]=s,e[77]=ce,e[78]=pe):pe=e[78],pe}const As=jt.pick({title:!0,description:!0,status:!0,metadata:!0,connections:!0}).extend({title:Nt().min(1,"Name is required").max(255)});function Os(l){const e=T.c(8);let s,n;e[0]!==l?({className:s,...n}=l,e[0]=l,e[1]=s,e[2]=n):(s=e[1],n=e[2]);let o;e[3]!==s?(o=Z("grid gap-3",s),e[3]=s,e[4]=o):o=e[4];let i;return e[5]!==n||e[6]!==o?(i=t.jsx(ts,{"data-slot":"radio-group",className:o,...n}),e[5]=n,e[6]=o,e[7]=i):i=e[7],i}function Ee(l){const e=T.c(9);let s,n;e[0]!==l?({className:s,...n}=l,e[0]=l,e[1]=s,e[2]=n):(s=e[1],n=e[2]);let o;e[3]!==s?(o=Z("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",s),e[3]=s,e[4]=o):o=e[4];let i;e[5]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(ss,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:t.jsx(Xe,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})}),e[5]=i):i=e[5];let c;return e[6]!==n||e[7]!==o?(c=t.jsx(es,{"data-slot":"radio-group-item",className:o,...n,children:i}),e[6]=n,e[7]=o,e[8]=c):c=e[8],c}function Ds(l){const s=new TextEncoder().encode(l),n=Array.from(s,o=>String.fromCharCode(o)).join("");return btoa(n)}function $s(l){const e=T.c(10),{url:s}=l,[n,o]=N.useState(!1);let i;e[0]!==s?(i=async()=>{await navigator.clipboard.writeText(s),o(!0),De.success("Agent URL copied to clipboard"),setTimeout(()=>o(!1),2e3)},e[0]=s,e[1]=i):i=e[1];const c=i;let r;e[2]!==n?(r=n?t.jsx(Je,{size:20,className:"text-green-600"}):t.jsx(os,{size:20}),e[2]=n,e[3]=r):r=e[3];const a=n?"Copied!":"Copy URL";let m;e[4]!==a?(m=t.jsx("span",{className:"text-xs font-medium",children:a}),e[4]=a,e[5]=m):m=e[5];let u;return e[6]!==c||e[7]!==r||e[8]!==m?(u=t.jsxs(Y,{type:"button",variant:"outline",onClick:c,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[r,m]}),e[6]=c,e[7]=r,e[8]=m,e[9]=u):u=e[9],u}function Rs(l){const e=T.c(7),{url:s,serverName:n}=l;let o;e[0]!==n||e[1]!==s?(o=()=>{const m=Ze(n),d=Ds(JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Cursor"}},null,2)),f=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(m)}&config=${encodeURIComponent(d)}`;window.open(f,"_blank"),De.success("Opening Cursor...")},e[0]=n,e[1]=s,e[2]=o):o=e[2];const i=o;let c,r;e[3]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx("img",{src:"/logos/cursor.svg",alt:"Cursor",className:"h-5 w-5",style:{filter:"brightness(0) saturate(100%) invert(11%) sepia(8%) saturate(785%) hue-rotate(1deg) brightness(95%) contrast(89%)"}}),r=t.jsx("span",{className:"text-xs font-medium",children:"Install on Cursor"}),e[3]=c,e[4]=r):(c=e[3],r=e[4]);let a;return e[5]!==i?(a=t.jsxs(Y,{type:"button",variant:"outline",onClick:i,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[c,r]}),e[5]=i,e[6]=a):a=e[6],a}function zs(l){const e=T.c(11),{url:s,serverName:n}=l,[o,i]=N.useState(!1);let c;e[0]!==n||e[1]!==s?(c=async()=>{const f=Ze(n),h=JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Claude Code"}},null,2),x=`claude mcp add-json "${f}" '${h.replace(/'/g,"'\\''")}'`;await navigator.clipboard.writeText(x),i(!0),De.success("Claude Code command copied to clipboard"),setTimeout(()=>i(!1),2e3)},e[0]=n,e[1]=s,e[2]=c):c=e[2];const r=c;let a;e[3]!==o?(a=o?t.jsx(Je,{size:20,className:"text-green-600"}):t.jsx("img",{src:"/logos/Claude Code.svg",alt:"Claude Code",className:"h-5 w-5",style:{filter:"brightness(0) saturate(100%) invert(55%) sepia(31%) saturate(1264%) hue-rotate(331deg) brightness(92%) contrast(86%)"}}),e[3]=o,e[4]=a):a=e[4];const m=o?"Copied!":"Install on Claude";let u;e[5]!==m?(u=t.jsx("span",{className:"text-xs font-medium",children:m}),e[5]=m,e[6]=u):u=e[6];let d;return e[7]!==r||e[8]!==a||e[9]!==u?(d=t.jsxs(Y,{type:"button",variant:"outline",onClick:r,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[a,u]}),e[7]=r,e[8]=a,e[9]=u,e[10]=d):d=e[10],d}function Ls(l){const e=T.c(40),{open:s,onOpenChange:n,virtualMcp:o}=l,[i,c]=N.useState("code_execution");let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=L=>{(L==="passthrough"||L==="smart_tool_selection"||L==="code_execution")&&c(L)},e[0]=r):r=e[0];const a=r;let m;e[1]!==i||e[2]!==o.id?(m=new URL(`/mcp/virtual-mcp/${o.id}`,window.location.origin),m.searchParams.set("mode",i),e[1]=i,e[2]=o.id,e[3]=m):m=e[3];let u;e[4]!==o.id||e[5]!==o.title?(u=o.title||`agent-${o.id?.slice(0,8)??"default"}`,e[4]=o.id,e[5]=o.title,e[6]=u):u=e[6];const d=u;let f;e[7]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(Yt,{children:t.jsx(Zt,{children:"Share Agent"})}),e[7]=f):f=e[7];let g;e[8]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("div",{children:t.jsx("h4",{className:"text-sm font-medium text-foreground mt-1",children:"How should this agent work?"})}),e[8]=g):g=e[8];let h;e[9]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(Qe,{className:"size-5 text-muted-foreground"})}),e[9]=h):h=e[9];let x;e[10]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Direct access"}),e[10]=x):x=e[10];let j;e[11]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(ee,{asChild:!0,children:t.jsx(ye,{className:"size-3.5 text-muted-foreground"})}),e[11]=j):j=e[11];let v;e[12]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsxs("label",{htmlFor:"mode-passthrough",className:"flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[h,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[x,t.jsx(Ne,{children:t.jsxs(te,{children:[j,t.jsx(se,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"All tools are exposed directly via tools/list. Best for small tool surfaces with deterministic behavior."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Best for small teams or when you need predictable behavior"})]}),t.jsx(Ee,{id:"mode-passthrough",value:"passthrough"})]}),e[12]=v):v=e[12];let p;e[13]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(tt,{className:"size-5 text-muted-foreground"})}),e[13]=p):p=e[13];let C;e[14]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart discovery"}),e[14]=C):C=e[14];let _;e[15]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(ee,{asChild:!0,children:t.jsx(ye,{className:"size-3.5 text-muted-foreground"})}),e[15]=_):_=e[15];let y;e[16]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsxs("label",{htmlFor:"mode-smart",className:"flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[p,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[C,t.jsx(Ne,{children:t.jsxs(te,{children:[_,t.jsx(se,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"Uses meta-tools (GATEWAY_SEARCH_TOOLS, GATEWAY_DESCRIBE_TOOLS, GATEWAY_CALL_TOOL) to keep the tool list small and request details on demand."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Ideal for large teams with many tools - AI finds what it needs"})]}),t.jsx(Ee,{id:"mode-smart",value:"smart_tool_selection"})]}),e[16]=y):y=e[16];let P;e[17]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(ls,{className:"size-5 text-muted-foreground"})}),e[17]=P):P=e[17];let S;e[18]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart execution"}),e[18]=S):S=e[18];let O;e[19]===Symbol.for("react.memo_cache_sentinel")?(O=t.jsx(ee,{asChild:!0,children:t.jsx(ye,{className:"size-3.5 text-muted-foreground"})}),e[19]=O):O=e[19];let k;e[20]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsxs("label",{htmlFor:"mode-code",className:"relative flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[P,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[S,t.jsx(Ne,{children:t.jsxs(te,{children:[O,t.jsx(se,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"Exposes meta-tools for discovery + sandboxed execution (GATEWAY_RUN_CODE). Reduces overhead on large surfaces by shifting work into a controlled runtime."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Maximum flexibility - AI can write code to orchestrate tools"})]}),t.jsx(Ee,{id:"mode-code",value:"code_execution"}),t.jsx($e,{variant:"outline",className:"absolute -top-2.5 left-1/2 -translate-x-1/2 bg-background z-10",children:"Recommended"})]}),e[20]=k):k=e[20];let w;e[21]!==i?(w=t.jsxs("div",{className:"flex flex-col gap-3",children:[g,t.jsxs(Os,{value:i,onValueChange:a,className:"flex flex-col gap-4.5",children:[v,y,k]})]}),e[21]=i,e[22]=w):w=e[22];let I;e[23]!==m.href?(I=t.jsx($s,{url:m.href}),e[23]=m.href,e[24]=I):I=e[24];let D,z;e[25]!==d||e[26]!==m.href?(D=t.jsx(Rs,{url:m.href,serverName:d}),z=t.jsx(zs,{url:m.href,serverName:d}),e[25]=d,e[26]=m.href,e[27]=D,e[28]=z):(D=e[27],z=e[28]);let E;e[29]!==I||e[30]!==D||e[31]!==z?(E=t.jsx("div",{className:"flex flex-col gap-3 pt-2",children:t.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[I,D,z]})}),e[29]=I,e[30]=D,e[31]=z,e[32]=E):E=e[32];let A;e[33]!==w||e[34]!==E?(A=t.jsxs(qe,{className:"max-w-2xl max-h-[80vh] overflow-y-auto",children:[f,t.jsxs("div",{className:"flex flex-col gap-6",children:[w,E]})]}),e[33]=w,e[34]=E,e[35]=A):A=e[35];let $;return e[36]!==n||e[37]!==s||e[38]!==A?($=t.jsx(Ye,{open:s,onOpenChange:n,children:A}),e[36]=n,e[37]=s,e[38]=A,e[39]=$):$=e[39],$}function Ps(l,e){switch(e.type){case"SET_SHARE_DIALOG_OPEN":return{...l,shareDialogOpen:e.payload};case"SET_CONNECTION_DIALOG_OPEN":return{...l,connectionDialogOpen:e.payload};case"SET_EDITING_CONNECTION_ID":return{...l,editingConnectionId:e.payload};case"SET_SKILLS_OPEN":return{...l,skillsOpen:e.payload};default:return l}}function Ie(l){const e=T.c(3),{connection_id:s}=l,n=Ue(s);if(!n)return null;let o;return e[0]!==n.icon||e[1]!==n.title?(o=t.jsx("div",{className:"shrink-0 bg-background ring-1 ring-background rounded-lg",children:t.jsx(ue,{icon:n.icon,name:n.title,size:"xs"})}),e[0]=n.icon,e[1]=n.title,e[2]=o):o=e[2],o}Ie.Fallback=function(){return t.jsx("div",{className:"shrink-0 bg-background ring-1 ring-background rounded-lg",children:t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse"})})};function Ae(l){const e=T.c(27),{connection_id:s,selected_tools:n,selected_resources:o,selected_prompts:i,onClick:c}=l,r=Ue(s);if(!r)return null;let a;e[0]!==n?(a=Te(n),e[0]=n,e[1]=a):a=e[1];const m=a;let u;e[2]!==o?(u=Te(o),e[2]=o,e[3]=u):u=e[3];const d=u;let f;e[4]!==i?(f=Te(i),e[4]=i,e[5]=f):f=e[5];const g=f;let h;e[6]!==r.icon||e[7]!==r.title?(h=t.jsx(ue,{icon:r.icon,name:r.title,size:"xs"}),e[6]=r.icon,e[7]=r.title,e[8]=h):h=e[8];let x;e[9]!==r.title?(x=t.jsx("p",{className:"flex-1 text-sm font-normal text-foreground truncate",children:r.title}),e[9]=r.title,e[10]=x):x=e[10];let j;e[11]!==m?(j=m!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:m==="all"?"all":m}),t.jsx(ze,{size:12})]}),e[11]=m,e[12]=j):j=e[12];let v;e[13]!==d?(v=d!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:d==="all"?"all":d}),t.jsx(ge,{size:12})]}),e[13]=d,e[14]=v):v=e[14];let p;e[15]!==g?(p=g!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:g==="all"?"all":g}),t.jsx(Re,{size:12})]}),e[15]=g,e[16]=p):p=e[16];let C;e[17]!==j||e[18]!==v||e[19]!==p?(C=t.jsxs($e,{variant:"secondary",className:"bg-muted h-5 gap-2 px-1.5 py-1 flex items-center",children:[j,v,p]}),e[17]=j,e[18]=v,e[19]=p,e[20]=C):C=e[20];let _;e[21]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(Ke,{size:16,className:"text-muted-foreground shrink-0"}),e[21]=_):_=e[21];let y;return e[22]!==c||e[23]!==h||e[24]!==x||e[25]!==C?(y=t.jsxs("div",{onClick:c,className:"w-full h-12 flex items-center gap-2 px-3 rounded-lg border border-border hover:bg-accent/50 transition-colors cursor-pointer",children:[h,x,C,_]}),e[22]=c,e[23]=h,e[24]=x,e[25]=C,e[26]=y):y=e[26],y}Ae.Fallback=function(){return t.jsxs("div",{className:"w-full h-12 flex items-center gap-2 px-3 rounded-lg border border-border",children:[t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse shrink-0"}),t.jsx("div",{className:"flex-1 h-4 rounded bg-muted animate-pulse"}),t.jsxs($e,{variant:"secondary",className:"bg-muted h-5 gap-2 px-1.5 py-1 flex items-center",children:[t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(ze,{size:12})]}),t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(ge,{size:12})]}),t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(Re,{size:12})]})]}),t.jsx(Ke,{size:16,className:"text-muted-foreground shrink-0"})]})};function Ms({virtualMcp:l}){const s=_t().location.href,n=Tt(),o=Vt(),i=kt({resolver:St(As),defaultValues:l}),c=i.watch("connections"),[r,a]=N.useReducer(Ps,{shareDialogOpen:!1,connectionDialogOpen:!1,editingConnectionId:null,skillsOpen:!1}),[,m]=Rt(),{setVirtualMcpId:u}=Et();N.useEffect(()=>{m(!0),u(l.id)},[l.id]);const d=()=>{u(l.id),m(!0)},f=i.formState.isDirty,g=async()=>{const p=i.getValues(),C=await o.update.mutateAsync({id:l.id,data:p});i.reset(C)},h=()=>{i.reset(l)},x=()=>{a({type:"SET_EDITING_CONNECTION_ID",payload:null}),a({type:"SET_CONNECTION_DIALOG_OPEN",payload:!0})},j=p=>{a({type:"SET_EDITING_CONNECTION_ID",payload:p}),a({type:"SET_CONNECTION_DIALOG_OPEN",payload:!0})},v=o.update.isPending;return t.jsxs(Wt,{onBack:()=>n.history.back(),children:[t.jsxs(Ut,{children:[t.jsxs(te,{delayDuration:0,children:[t.jsx(ee,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(Y,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:!f||v,onClick:h,"aria-label":"Cancel",children:t.jsx(Bt,{size:14})})})}),t.jsx(se,{side:"bottom",children:"Cancel"})]}),t.jsxs(te,{delayDuration:0,children:[t.jsx(ee,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(Y,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:!f||v,onClick:g,"aria-label":"Save",children:v?t.jsx(Le,{size:14,className:"animate-spin"}):t.jsx(st,{size:14})})})}),t.jsx(se,{side:"bottom",children:"Save"})]}),t.jsxs(te,{delayDuration:0,children:[t.jsx(ee,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsxs(Y,{variant:"outline",size:"sm",className:"h-7 gap-1.5 px-2 border border-input",onClick:d,"aria-label":"Test Agent",children:[t.jsx(Gt,{size:14}),"Test Agent"]})})}),t.jsx(se,{side:"bottom",children:"Test this agent in chat"})]}),t.jsxs(te,{delayDuration:0,children:[t.jsx(ee,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(Y,{variant:"outline",size:"icon",className:"size-7 border border-input",onClick:()=>a({type:"SET_SHARE_DIALOG_OPEN",payload:!0}),"aria-label":"Share",children:t.jsx(Ht,{size:14})})})}),t.jsx(se,{side:"bottom",children:"Share"})]}),t.jsx($t,{title:l.title,url:s,icon:l.icon??"cpu_chip"})]}),t.jsx("div",{className:"flex h-full w-full bg-background overflow-auto",children:t.jsxs("div",{className:"flex flex-col w-full",children:[t.jsxs("div",{className:"flex items-start justify-between gap-4 p-6 shrink-0",children:[t.jsxs("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[t.jsx(ue,{icon:l.icon,name:i.watch("title")||"Agent",size:"lg",className:"shrink-0 shadow-sm",fallbackIcon:t.jsx(et,{})}),t.jsxs("div",{className:"flex flex-col flex-1 min-w-0",children:[t.jsx(Be,{...i.register("title"),className:"h-auto py-0.5 text-lg! font-medium leading-7 px-1 -mx-1 border-transparent hover:bg-input/25 focus:border-input bg-transparent transition-all",placeholder:"Agent Name"}),t.jsx(Be,{...i.register("description"),className:"h-auto py-0.5 text-base text-muted-foreground leading-6 px-1 -mx-1 border-transparent hover:bg-input/25 focus:border-input bg-transparent transition-all",placeholder:"Add a description..."})]})]}),t.jsx("div",{className:"flex items-center gap-2 shrink-0",children:t.jsx(zt,{checked:i.watch("status")==="active",onCheckedChange:p=>i.setValue("status",p?"active":"inactive",{shouldDirty:!0})})})]}),t.jsxs(It,{open:r.skillsOpen,onOpenChange:p=>a({type:"SET_SKILLS_OPEN",payload:p}),className:"border-t border-border shrink-0 max-h-[400px] overflow-hidden flex flex-col",children:[c.length===0?t.jsxs("button",{type:"button",onClick:x,className:"w-full flex items-center justify-between px-6 py-4 hover:bg-muted/50 transition-colors cursor-pointer",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Skills"}),t.jsxs("div",{className:"h-7 px-2 inline-flex items-center justify-center gap-1 rounded-md text-sm text-muted-foreground",children:[t.jsx(Ge,{size:14}),"Add"]})]}):t.jsx(At,{asChild:!0,children:t.jsxs("button",{type:"button",className:"w-full flex items-center justify-between px-6 py-4 hover:bg-muted/50 transition-colors cursor-pointer",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Skills"}),t.jsxs("div",{className:"flex items-center",children:[t.jsx("div",{className:"flex items-center -space-x-2 ease-(--ease-out-expo)",style:{width:r.skillsOpen?0:"auto",marginRight:r.skillsOpen?0:4,opacity:r.skillsOpen?0:1,pointerEvents:r.skillsOpen?"none":"auto",transitionProperty:"all",transitionDuration:r.skillsOpen?"0ms":"200ms"},children:c.slice(0,4).map(p=>t.jsx(N.Suspense,{fallback:t.jsx(Ie.Fallback,{}),children:t.jsx(Ie,{connection_id:p.connection_id})},p.connection_id))}),t.jsxs("div",{role:"button",tabIndex:0,className:"h-7 inline-flex items-center justify-center rounded-md text-sm text-muted-foreground overflow-hidden transition-all duration-200 ease-(--ease-out-expo) hover:bg-accent hover:text-accent-foreground",style:{width:r.skillsOpen?"auto":28,paddingLeft:r.skillsOpen?8:0,paddingRight:r.skillsOpen?8:0,gap:r.skillsOpen?4:0},onPointerDown:p=>{p.stopPropagation()},onClick:p=>{p.stopPropagation(),p.preventDefault(),x()},onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&(p.stopPropagation(),p.preventDefault(),x())},children:[t.jsx(Ge,{size:14,className:"shrink-0"}),t.jsx("span",{className:"overflow-hidden whitespace-nowrap transition-all duration-200 ease-(--ease-out-expo)",style:{width:r.skillsOpen?"auto":0,opacity:r.skillsOpen?1:0},children:"Add"})]}),t.jsx("div",{className:"h-7 inline-flex items-center justify-center overflow-hidden transition-all duration-200 ease-(--ease-out-expo)",style:{width:r.skillsOpen?28:0,opacity:r.skillsOpen?1:0},children:t.jsx(Ft,{size:16,className:"shrink-0"})})]})]})}),t.jsx("div",{className:"grid overflow-hidden transition-[grid-template-rows] duration-200 ease-(--ease-out-expo)",style:{gridTemplateRows:r.skillsOpen?"1fr":"0fr"},children:t.jsx("div",{className:"min-h-0 overflow-hidden",children:t.jsx("div",{className:"overflow-y-auto max-h-[300px] mask-[linear-gradient(to_bottom,black_calc(100%-40px),transparent_100%)]",children:t.jsx("div",{className:"flex flex-col gap-2 px-6 pb-4 pt-2",children:c.map(p=>t.jsx(N.Suspense,{fallback:t.jsx(Ae.Fallback,{}),children:t.jsx(Ae,{connection_id:p.connection_id,selected_tools:p.selected_tools,selected_resources:p.selected_resources,selected_prompts:p.selected_prompts,onClick:()=>j(p.connection_id)})},p.connection_id))})})})})]}),t.jsxs("div",{className:"flex flex-col flex-1 p-6 border-t border-border overflow-auto",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-2",children:"Instructions"}),t.jsx(wt,{name:"metadata.instructions",control:i.control,render:({field:p})=>t.jsx(Lt,{...p,value:p.value??"",placeholder:"Write instructions here...",className:"min-h-[200px] resize-none text-sm placeholder:text-muted-foreground/50 leading-relaxed border-0 rounded-none shadow-none px-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus:border-0 bg-transparent"})})]})]})}),t.jsx(Is,{open:r.connectionDialogOpen,onOpenChange:p=>a({type:"SET_CONNECTION_DIALOG_OPEN",payload:p}),selectedId:r.editingConnectionId,form:i,connections:c}),t.jsx(Ls,{open:r.shareDialogOpen,onOpenChange:p=>a({type:"SET_SHARE_DIALOG_OPEN",payload:p}),virtualMcp:l})]})}function Vs(){const l=T.c(6),e=yt();let s;l[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org/agents/$agentId"},l[0]=s):s=l[0];const n=Ct(s),{org:o,agentId:i}=n,c=Mt(i);if(!c){let a;return l[1]!==e||l[2]!==o?(a=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ot,{title:"Agent not found",description:"This Agent may have been deleted or you may not have access.",actions:t.jsx(Y,{variant:"outline",onClick:()=>e({to:"/$org/agents",params:{org:o}}),children:"Back to agents"})})}),l[1]=e,l[2]=o,l[3]=a):a=l[3],a}let r;return l[4]!==c?(r=t.jsx(Ms,{virtualMcp:c}),l[4]=c,l[5]=r):r=l[5],r}function Pl(){const l=T.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(xe,{children:t.jsx(N.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center bg-background",children:t.jsx(Le,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Vs,{})})}),l[0]=e):e=l[0],e}export{Pl as default};
1
+ import{r as N,j as t,I as ft,x as he,z as je,R as pt,D as xt,v as ht,w as gt,aw as bt,B as We,E as vt,c as T,u as Oe,V as jt,s as Nt,ao as De,l as yt,a as Ct,b6 as _t,bn as Tt,k as kt,h as St,as as wt}from"./index-504A5fzu.js";import{u as Et,C as It,a as At}from"./collapsible-D5bXYEu5.js";import{I as ue,E as Ot}from"./empty-state-DPLaHs22.js";import{E as xe,i as Dt}from"./error-boundary-DGGozsia.js";import{P as $t}from"./pin-to-sidebar-button-CzNm9Z63.js";import{u as Rt}from"./use-deco-chat-open-CnAfKKCI.js";import{B as $e}from"./badge-DeCRZtfI.js";import{c as Z,B as Y}from"./button-D373Gh7m.js";import{I as Be}from"./input-L4CnUGon.js";import{S as zt}from"./switch-Cy8A6BDO.js";import{T as Lt}from"./textarea-D6uAjk7M.js";import{T as ee,b as Ne,c as te,a as se}from"./tooltip-BXVSpXAI.js";import{b as Pt,u as Ue}from"./use-connection-CXgi6BLT.js";import{u as Mt,a as Vt}from"./use-virtual-mcp-PjR1OFlb.js";import{i as Ke}from"./Grid01-IjiH2KUT.js";import{n as Ft}from"./select-BXQ9vi5I.js";import{i as Re}from"./File02-IAt_f4v7.js";import{a as ze,i as Bt}from"./Tool01-BuQwOuwj.js";import{i as Le}from"./Loading01-k9J_51Wt.js";import{i as Gt}from"./Play-DDry1DwY.js";import{s as Ge}from"./Plus-B4bZuJyH.js";import{i as Ht}from"./Share07-pQXxyFdr.js";import{b as Wt,V as Ut}from"./layout-Cd5mhjJp.js";import{C as Kt}from"./collection-search-B0S_3vCk.js";import{C as Pe}from"./checkbox-CuEgSK5M.js";import{e as qt,a as qe,D as Ye,b as Yt,c as Zt}from"./dialog-sp1iNNV1.js";import{f as Jt}from"./use-collections-DgQLvk8y.js";import{u as Me}from"./constants-BsVN3aVM.js";import{c as Qt,u as Xt}from"./use-mcp-prompts-Cauox13I.js";import{s as Ze}from"./slugify-CEUa2lfQ.js";import{I as es,R as ts,a as ss}from"./index-BatxUpyp.js";import{i as Je}from"./Check-BwWwVwDq.js";import{i as ls}from"./Code01-Bus4rjLa.js";import{a as os}from"./Copy01-CU0ImpYo.js";import{i as ye}from"./InfoCircle-f6Q2730q.js";import"./use-binding-C0SFeppw.js";import"./binder-ChJO9Gsr.js";import"./useSuspenseInfiniteQuery-BQW4uJSq.js";import"./infiniteQueryObserver-BZSSiryQ.js";import"./localstorage-keys-ELyXVtKs.js";import"./useQuery-2fM2t_EQ.js";import"./useMutation-DjmEVTlE.js";import"./popover-BW-chC87.js";import"./ChevronDown-FrVOX9vD.js";import"./File06-C2LBZfWa.js";import"./Image01-Bc9GrKYJ.js";import"./SearchMd-CvLjdKIL.js";import"./Pin01-CCrFQOyT.js";import"./use-organization-settings-wk-RrGpZ.js";import"./ArrowLeft-DESkG8WH.js";import"./X-BYmeb6sr.js";const Qe=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M4 7h11m0 0-4 4m4-4-4-4M4 17h16m0 0-4 4m4-4-4-4"}));Qe.displayName="ArrowsRight";const Xe=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z"}));Xe.displayName="Circle";const et=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M9 2v3m6-3v3M9 19v3m6-3v3m4-13h3m-3 5h3M2 9h3m-3 5h3m4.8 5h4.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 16.72 19 15.88 19 14.2V9.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C16.72 5 15.88 5 14.2 5H9.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C5 7.28 5 8.12 5 9.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C7.28 19 8.12 19 9.8 19Z"}));et.displayName="CpuChip02";const ge=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"m9.75 20.75 1.473.818c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l1.473-.818m-9-2.5-1.427-.793c-.3-.166-.45-.25-.558-.368a1 1 0 0 1-.215-.364C3 16.573 3 16.401 3 16.06V14.5m0-5V7.942c0-.343 0-.514.05-.667a1 1 0 0 1 .215-.364c.109-.119.258-.202.558-.368L5.25 5.75m4.5-2.5 1.473-.818c.284-.158.425-.237.576-.267a1 1 0 0 1 .402 0c.15.03.292.11.576.267l1.473.818m4.5 2.5 1.427.793c.3.166.45.25.558.368a1 1 0 0 1 .215.364c.05.153.05.324.05.667V9.5m0 5v1.559c0 .342 0 .514-.05.666a.999.999 0 0 1-.215.364c-.109.119-.258.202-.558.368l-1.427.793m-9-7.5L12 12m0 0 2.25-1.25M12 12v2.5M3 7l2.25 1.25m13.5 0L21 7m-9 12.5V22"}));ge.displayName="CubeOutline";const tt=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M10 17.659V20a2 2 0 1 0 4 0v-2.341M12 2v1m-9 9H2m3.5-6.5-.6-.6m13.6.6.6-.6M22 12h-1m-3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z"}));tt.displayName="Lightbulb02";const st=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M7 3v3.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C7.76 8 8.04 8 8.6 8h6.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C17 7.24 17 6.96 17 6.4V4m0 17v-6.4c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C16.24 13 15.96 13 15.4 13H8.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C7 13.76 7 14.04 7 14.6V21M21 9.325V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h6.875c.489 0 .733 0 .963.055.204.05.4.13.579.24.201.123.374.296.72.642l3.126 3.126c.346.346.519.519.642.72.11.18.19.374.24.579.055.23.055.474.055.963Z"}));st.displayName="Save01";var be="Tabs",[ns]=vt(be,[We]),lt=We(),[is,Ve]=ns(be),ot=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:n,onValueChange:o,defaultValue:i,orientation:c="horizontal",dir:r,activationMode:a="automatic",...m}=l,u=ht(r),[d,f]=gt({prop:n,onChange:o,defaultProp:i??"",caller:be});return t.jsx(is,{scope:s,baseId:bt(),value:d,onValueChange:f,orientation:c,dir:u,activationMode:a,children:t.jsx(he.div,{dir:u,"data-orientation":c,...m,ref:e})})});ot.displayName=be;var nt="TabsList",it=N.forwardRef((l,e)=>{const{__scopeTabs:s,loop:n=!0,...o}=l,i=Ve(nt,s),c=lt(s);return t.jsx(pt,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:t.jsx(he.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});it.displayName=nt;var rt="TabsTrigger",at=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:n,disabled:o=!1,...i}=l,c=Ve(rt,s),r=lt(s),a=mt(c.baseId,n),m=ut(c.baseId,n),u=n===c.value;return t.jsx(ft,{asChild:!0,...r,focusable:!o,active:u,children:t.jsx(he.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":m,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:a,...i,ref:e,onMouseDown:je(l.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?c.onValueChange(n):d.preventDefault()}),onKeyDown:je(l.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&c.onValueChange(n)}),onFocus:je(l.onFocus,()=>{const d=c.activationMode!=="manual";!u&&!o&&d&&c.onValueChange(n)})})})});at.displayName=rt;var ct="TabsContent",dt=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:n,forceMount:o,children:i,...c}=l,r=Ve(ct,s),a=mt(r.baseId,n),m=ut(r.baseId,n),u=n===r.value,d=N.useRef(u);return N.useEffect(()=>{const f=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(f)},[]),t.jsx(xt,{present:o||u,children:({present:f})=>t.jsx(he.div,{"data-state":u?"active":"inactive","data-orientation":r.orientation,role:"tabpanel","aria-labelledby":a,hidden:!f,id:m,tabIndex:0,...c,ref:e,style:{...l.style,animationDuration:d.current?"0s":void 0},children:f&&i})})});dt.displayName=ct;function mt(l,e){return`${l}-trigger-${e}`}function ut(l,e){return`${l}-content-${e}`}var rs=ot,as=it,cs=at,ds=dt;function ms(l){const e=T.c(10);let s,n,o;e[0]!==l?({className:s,variant:o,...n}=l,e[0]=l,e[1]=s,e[2]=n,e[3]=o):(s=e[1],n=e[2],o=e[3]);const i=o===void 0?"pill":o;let c;e[4]!==s?(c=Z("flex flex-col gap-2",s),e[4]=s,e[5]=c):c=e[5];let r;return e[6]!==n||e[7]!==c||e[8]!==i?(r=t.jsx(rs,{"data-slot":"tabs","data-variant":i,className:c,...n}),e[6]=n,e[7]=c,e[8]=i,e[9]=r):r=e[9],r}function us(l){const e=T.c(11);let s,n,o;e[0]!==l?({className:s,variant:o,...n}=l,e[0]=l,e[1]=s,e[2]=n,e[3]=o):(s=e[1],n=e[2],o=e[3]);const i=o||"pill",c=i==="underline"?"flex h-[52px] items-center border-b border-border":i==="canvas"?"flex h-10 items-center bg-background relative":"bg-muted text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-xl p-[3px]";let r;e[4]!==s||e[5]!==c?(r=Z(c,s),e[4]=s,e[5]=c,e[6]=r):r=e[6];let a;return e[7]!==i||e[8]!==n||e[9]!==r?(a=t.jsx(as,{"data-slot":"tabs-list","data-variant":i,className:r,...n}),e[7]=i,e[8]=n,e[9]=r,e[10]=a):a=e[10],a}function Ce(l){const e=T.c(11);let s,n,o;e[0]!==l?({className:s,variant:o,...n}=l,e[0]=l,e[1]=s,e[2]=n,e[3]=o):(s=e[1],n=e[2],o=e[3]);const i=o||"pill",c=i==="underline"?"cursor-pointer flex items-center h-full px-3 relative text-sm whitespace-nowrap border-b-2 mb-[-1px] transition-all text-muted-foreground border-transparent hover:text-foreground data-[state=active]:text-foreground data-[state=active]:border-foreground disabled:pointer-events-none disabled:opacity-50":i==="canvas"?"cursor-pointer flex items-center h-full px-3 gap-2.5 text-sm whitespace-nowrap transition-all border-r border-b border-border [&>*]:opacity-50 data-[state=active]:[&>*]:opacity-100 data-[state=active]:border-b-0 last:border-r-0 disabled:pointer-events-none max-w-2xs":"data-[state=active]:bg-background dark:data-[state=active]:text-foreground cursor-pointer focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";let r;e[4]!==s||e[5]!==c?(r=Z(c,s),e[4]=s,e[5]=c,e[6]=r):r=e[6];let a;return e[7]!==i||e[8]!==n||e[9]!==r?(a=t.jsx(cs,{"data-slot":"tabs-trigger","data-variant":i,className:r,...n}),e[7]=i,e[8]=n,e[9]=r,e[10]=a):a=e[10],a}function _e(l){const e=T.c(8);let s,n;e[0]!==l?({className:s,...n}=l,e[0]=l,e[1]=s,e[2]=n):(s=e[1],n=e[2]);let o;e[3]!==s?(o=Z("flex-1 outline-none h-full",s),e[3]=s,e[4]=o):o=e[4];let i;return e[5]!==n||e[6]!==o?(i=t.jsx(ds,{"data-slot":"tabs-content",className:o,...n}),e[5]=n,e[6]=o,e[7]=i):i=e[7],i}function Te(l){return l===null?"all":l?.length??0}function fs(l,e){const s=l[e];if(!s)return"";const n=[];return s.tools===null?n.push("all tools"):s.tools&&s.tools.length>0&&n.push(`${s.tools.length} tools`),s.resources===null?n.push("all resources"):s.resources&&s.resources.length>0&&n.push(`${s.resources.length} resources`),s.prompts===null?n.push("all prompts"):s.prompts&&s.prompts.length>0&&n.push(`${s.prompts.length} prompts`),n.join(", ")}function ps(l,e){const s=l[e];return s?!((s.tools===void 0||s.tools!==null&&s.tools.length===0)&&(s.resources===void 0||s.resources!==null&&s.resources.length===0)&&(s.prompts===void 0||s.prompts!==null&&s.prompts.length===0)):!1}const xs={tools:null,resources:null,prompts:null};function ke(){const l=T.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("div",{className:"flex items-center justify-center h-32",children:t.jsx(Le,{className:"animate-spin text-muted-foreground",size:24})}),l[0]=e):e=l[0],e}function Se(l){return({error:e})=>e?.message?.includes("Method not found")||e?.code===-32601?t.jsx("div",{className:"flex-1 overflow-auto px-4 py-3 space-y-1",children:t.jsx("div",{className:"flex items-center justify-center h-32 text-sm text-muted-foreground",children:l})}):t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[t.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:t.jsx(Dt,{className:"h-6 w-6 text-destructive"})}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("h3",{className:"text-lg font-medium",children:"Something went wrong"}),t.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:e?.message?e.message.length>200?`${e.message.slice(0,200)}...`:e.message:"An unexpected error occurred"})]})]})}function hs(l){const e=T.c(18),{item:s,isSelected:n,onToggle:o,disabled:i}=l,c=i?"cursor-not-allowed opacity-50":"cursor-pointer",r=n?"bg-accent/25":"hover:bg-muted/50";let a;e[0]!==c||e[1]!==r?(a=Z("flex items-start gap-3 p-4 rounded-lg transition-colors",c,r),e[0]=c,e[1]=r,e[2]=a):a=e[2];let m;e[3]!==s.name?(m=t.jsx("p",{className:"text-sm font-medium leading-none",children:s.name}),e[3]=s.name,e[4]=m):m=e[4];let u;e[5]!==s.description?(u=s.description&&t.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:s.description}),e[5]=s.description,e[6]=u):u=e[6];let d;e[7]!==m||e[8]!==u?(d=t.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[m,u]}),e[7]=m,e[8]=u,e[9]=d):d=e[9];let f;e[10]!==i||e[11]!==n||e[12]!==o?(f=t.jsx(Pe,{checked:n,onCheckedChange:o,disabled:i,className:"mt-0.5"}),e[10]=i,e[11]=n,e[12]=o,e[13]=f):f=e[13];let g;return e[14]!==a||e[15]!==d||e[16]!==f?(g=t.jsxs("label",{className:a,children:[d,f]}),e[14]=a,e[15]=d,e[16]=f,e[17]=g):g=e[17],g}function Fe(l){const e=T.c(32),{items:s,selections:n,onToggle:o,onToggleAll:i,emptyMessage:c,disabled:r}=l;let a,m,u,d,f;if(e[0]!==r||e[1]!==c||e[2]!==s||e[3]!==o||e[4]!==i||e[5]!==n){f=Symbol.for("react.early_return_sentinel");e:{const x=s.map(gs);if(s.length===0){let y;e[11]!==c?(y=t.jsx("div",{className:"flex-1 overflow-auto px-4 py-3 space-y-1",children:t.jsx("div",{className:"flex items-center justify-center h-32 text-sm text-muted-foreground",children:c})}),e[11]=c,e[12]=y):y=e[12],f=y;break e}u="flex flex-col h-full";const j=r?"cursor-not-allowed opacity-50":"cursor-pointer";let v;e[13]!==j?(v=Z("flex items-start gap-3 p-4",j),e[13]=j,e[14]=v):v=e[14];let p;e[15]!==s.length?(p=t.jsx("div",{className:"flex-1 min-w-0",children:t.jsxs("span",{className:"text-sm font-medium",children:["Select All (",s.length,")"]})}),e[15]=s.length,e[16]=p):p=e[16];const C=n===null;let _;e[17]!==r||e[18]!==i||e[19]!==C?(_=t.jsx(Pe,{checked:C,onCheckedChange:i,disabled:r,className:"mt-0.5"}),e[17]=r,e[18]=i,e[19]=C,e[20]=_):_=e[20],e[21]!==_||e[22]!==v||e[23]!==p?(d=t.jsx("div",{className:"px-4 border-b border-border shrink-0",children:t.jsxs("label",{className:v,children:[p,_]})}),e[21]=_,e[22]=v,e[23]=p,e[24]=d):d=e[24],a="flex-1 overflow-auto px-4 py-3 space-y-1",m=s.map(y=>t.jsx(hs,{item:y,isSelected:n===null||n?.includes(y.id),onToggle:()=>o(y.id,x),disabled:r},y.id))}e[0]=r,e[1]=c,e[2]=s,e[3]=o,e[4]=i,e[5]=n,e[6]=a,e[7]=m,e[8]=u,e[9]=d,e[10]=f}else a=e[6],m=e[7],u=e[8],d=e[9],f=e[10];if(f!==Symbol.for("react.early_return_sentinel"))return f;let g;e[25]!==a||e[26]!==m?(g=t.jsx("div",{className:a,children:m}),e[25]=a,e[26]=m,e[27]=g):g=e[27];let h;return e[28]!==u||e[29]!==d||e[30]!==g?(h=t.jsxs("div",{className:u,children:[d,g]}),e[28]=u,e[29]=d,e[30]=g,e[31]=h):h=e[31],h}function gs(l){return l.id}function bs(l){const e=T.c(13),{connectionId:s,selections:n,onToggle:o,onToggleAll:i,disabled:c}=l,{org:r}=Oe();let a;e[0]!==s||e[1]!==r.id?(a={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=a):a=e[2];const m=Me(a);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:d}=Jt(u);let f;e[5]!==d.tools?(f=d.tools.map(vs),e[5]=d.tools,e[6]=f):f=e[6];const g=f;let h;return e[7]!==c||e[8]!==g||e[9]!==o||e[10]!==i||e[11]!==n?(h=t.jsx(Fe,{items:g,selections:n,onToggle:o,onToggleAll:i,emptyMessage:"No tools available",disabled:c}),e[7]=c,e[8]=g,e[9]=o,e[10]=i,e[11]=n,e[12]=h):h=e[12],h}function vs(l){return{id:l.name,name:l.name,description:l.description}}function js(l){const e=T.c(13),{connectionId:s,selections:n,onToggle:o,onToggleAll:i,disabled:c}=l,{org:r}=Oe();let a;e[0]!==s||e[1]!==r.id?(a={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=a):a=e[2];const m=Me(a);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:d}=Qt(u);let f;e[5]!==d.resources?(f=d.resources.map(Ns),e[5]=d.resources,e[6]=f):f=e[6];const g=f;let h;return e[7]!==c||e[8]!==g||e[9]!==o||e[10]!==i||e[11]!==n?(h=t.jsx(Fe,{items:g,selections:n,onToggle:o,onToggleAll:i,emptyMessage:"No resources available",disabled:c}),e[7]=c,e[8]=g,e[9]=o,e[10]=i,e[11]=n,e[12]=h):h=e[12],h}function Ns(l){return{id:l.name||l.uri,name:l.name||l.uri,description:l.description}}function ys(l){const e=T.c(13),{connectionId:s,selections:n,onToggle:o,onToggleAll:i,disabled:c}=l,{org:r}=Oe();let a;e[0]!==s||e[1]!==r.id?(a={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=a):a=e[2];const m=Me(a);let u;e[3]!==m?(u={client:m},e[3]=m,e[4]=u):u=e[4];const{data:d}=Xt(u);let f;e[5]!==d.prompts?(f=d.prompts.map(Cs),e[5]=d.prompts,e[6]=f):f=e[6];const g=f;let h;return e[7]!==c||e[8]!==g||e[9]!==o||e[10]!==i||e[11]!==n?(h=t.jsx(Fe,{items:g,selections:n,onToggle:o,onToggleAll:i,emptyMessage:"No prompts available",disabled:c}),e[7]=c,e[8]=g,e[9]=o,e[10]=i,e[11]=n,e[12]=h):h=e[12],h}function Cs(l){return{id:l.name,name:l.name,description:l.description}}function _s(l){const e=T.c(24),{connection:s,isSelected:n,hasSelections:o,summary:i,onClick:c,onToggleAll:r,disabled:a}=l,m=a?"cursor-not-allowed opacity-50":"cursor-pointer",u=n?"bg-accent":"hover:bg-muted/50";let d;e[0]!==m||e[1]!==u?(d=Z("flex items-center gap-2 p-2 h-12 rounded-lg transition-colors",m,u),e[0]=m,e[1]=u,e[2]=d):d=e[2];const f=a?void 0:c;let g;e[3]!==s.icon||e[4]!==s.title?(g=t.jsx(ue,{icon:s.icon,name:s.title,size:"xs",className:"shrink-0"}),e[3]=s.icon,e[4]=s.title,e[5]=g):g=e[5];let h;e[6]!==s.title?(h=t.jsx("p",{className:"text-sm font-medium text-foreground truncate",children:s.title}),e[6]=s.title,e[7]=h):h=e[7];let x;e[8]!==o||e[9]!==i?(x=o&&i&&t.jsx("p",{className:"text-xs text-muted-foreground truncate",children:i}),e[8]=o,e[9]=i,e[10]=x):x=e[10];let j;e[11]!==h||e[12]!==x?(j=t.jsxs("div",{className:"flex-1 min-w-0 flex flex-col justify-center",children:[h,x]}),e[11]=h,e[12]=x,e[13]=j):j=e[13];let v;e[14]!==a||e[15]!==o||e[16]!==r?(v=t.jsx(Pe,{checked:o,onCheckedChange:r,onClick:Ts,disabled:a,className:"shrink-0"}),e[14]=a,e[15]=o,e[16]=r,e[17]=v):v=e[17];let p;return e[18]!==d||e[19]!==f||e[20]!==g||e[21]!==j||e[22]!==v?(p=t.jsxs("div",{className:d,onClick:f,children:[g,j,v]}),e[18]=d,e[19]=f,e[20]=g,e[21]=j,e[22]=v,e[23]=p):p=e[23],p}function Ts(l){return l.stopPropagation()}function ks(l){const e=T.c(22),{allConnections:s,searchTerm:n,selectedId:o,hasSelections:i,getSelectionSummary:c,onConnectionClick:r,onToggleAll:a,disabled:m}=l;let u;e[0]!==s||e[1]!==n?(u=n?s.filter(h=>h.title.toLowerCase().includes(n.toLowerCase())||h.description?.toLowerCase().includes(n.toLowerCase())):s,e[0]=s,e[1]=n,e[2]=u):u=e[2];const d=u;if(d.length===0){const h=n?"No connections found":"No connections available";let x;return e[3]!==h?(x=t.jsx("div",{className:"flex items-center justify-center h-full text-sm text-muted-foreground p-4",children:h}),e[3]=h,e[4]=x):x=e[4],x}let f;if(e[5]!==m||e[6]!==d||e[7]!==c||e[8]!==i||e[9]!==r||e[10]!==a||e[11]!==o){let h;e[13]!==m||e[14]!==c||e[15]!==i||e[16]!==r||e[17]!==a||e[18]!==o?(h=x=>t.jsx(_s,{connection:x,isSelected:o===x.id,hasSelections:i(x.id),summary:c(x.id),onClick:()=>r(x.id),onToggleAll:()=>a(x.id),disabled:m},x.id),e[13]=m,e[14]=c,e[15]=i,e[16]=r,e[17]=a,e[18]=o,e[19]=h):h=e[19],f=d.map(h),e[5]=m,e[6]=d,e[7]=c,e[8]=i,e[9]=r,e[10]=a,e[11]=o,e[12]=f}else f=e[12];let g;return e[20]!==f?(g=t.jsx("div",{className:"flex flex-col gap-0.5",children:f}),e[20]=f,e[21]=g):g=e[21],g}function Ss(l){const e=T.c(75),{currentConnection:s,activeTab:n,selectedId:o,formData:i,toggleTool:c,toggleResource:r,togglePrompt:a,toggleAllTools:m,toggleAllResources:u,toggleAllPrompts:d,onTabChange:f}=l;let g;e[0]!==s.icon||e[1]!==s.title?(g=t.jsx(ue,{icon:s.icon,name:s.title,size:"md",className:"shrink-0"}),e[0]=s.icon,e[1]=s.title,e[2]=g):g=e[2];let h;e[3]!==s.title?(h=t.jsx("h2",{className:"text-lg font-semibold truncate",children:s.title}),e[3]=s.title,e[4]=h):h=e[4];let x;e[5]!==s.description?(x=s.description&&t.jsx("p",{className:"text-sm text-muted-foreground truncate",children:s.description}),e[5]=s.description,e[6]=x):x=e[6];let j;e[7]!==h||e[8]!==x?(j=t.jsxs("div",{className:"flex-1 min-w-0",children:[h,x]}),e[7]=h,e[8]=x,e[9]=j):j=e[9];let v;e[10]!==g||e[11]!==j?(v=t.jsx("div",{className:"p-6 border-b border-border shrink-0",children:t.jsxs("div",{className:"flex items-center gap-3",children:[g,j]})}),e[10]=g,e[11]=j,e[12]=v):v=e[12];let p;e[13]!==f?(p=F=>f(F),e[13]=f,e[14]=p):p=e[14];let C;e[15]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsxs(Ce,{value:"tools",variant:"underline",className:"gap-2",children:[t.jsx(ze,{size:16}),"Tools"]}),e[15]=C):C=e[15];let _;e[16]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsxs(Ce,{value:"resources",variant:"underline",className:"gap-2",children:[t.jsx(ge,{size:16}),"Resources"]}),e[16]=_):_=e[16];let y;e[17]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsxs(us,{variant:"underline",className:"shrink-0 px-6",children:[C,_,t.jsxs(Ce,{value:"prompts",variant:"underline",className:"gap-2",children:[t.jsx(Re,{size:16}),"Prompts"]})]}),e[17]=y):y=e[17];let P;e[18]===Symbol.for("react.memo_cache_sentinel")?(P=Se("Tools not supported by this server"),e[18]=P):P=e[18];let S;e[19]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(ke,{}),e[19]=S):S=e[19];let O;e[20]!==i||e[21]!==o?(O=i[o]?i[o].tools:[],e[20]=i,e[21]=o,e[22]=O):O=e[22];let k;e[23]!==o||e[24]!==c?(k=(F,Q)=>c(o,F,Q),e[23]=o,e[24]=c,e[25]=k):k=e[25];let w;e[26]!==o||e[27]!==m?(w=()=>m(o),e[26]=o,e[27]=m,e[28]=w):w=e[28];let I;e[29]!==o||e[30]!==O||e[31]!==k||e[32]!==w?(I=t.jsx(_e,{value:"tools",className:"flex-1 overflow-hidden mt-0",children:t.jsx(xe,{fallback:P,children:t.jsx(N.Suspense,{fallback:S,children:t.jsx(bs,{connectionId:o,selections:O,onToggle:k,onToggleAll:w})})})}),e[29]=o,e[30]=O,e[31]=k,e[32]=w,e[33]=I):I=e[33];let D;e[34]===Symbol.for("react.memo_cache_sentinel")?(D=Se("Resources not supported by this server"),e[34]=D):D=e[34];let z;e[35]===Symbol.for("react.memo_cache_sentinel")?(z=t.jsx(ke,{}),e[35]=z):z=e[35];let E;e[36]!==i||e[37]!==o?(E=i[o]?i[o].resources:[],e[36]=i,e[37]=o,e[38]=E):E=e[38];let A;e[39]!==o||e[40]!==r?(A=(F,Q)=>r(o,F,Q),e[39]=o,e[40]=r,e[41]=A):A=e[41];let $;e[42]!==o||e[43]!==u?($=()=>u(o),e[42]=o,e[43]=u,e[44]=$):$=e[44];let L;e[45]!==o||e[46]!==E||e[47]!==A||e[48]!==$?(L=t.jsx(_e,{value:"resources",className:"flex-1 overflow-hidden mt-0",children:t.jsx(xe,{fallback:D,children:t.jsx(N.Suspense,{fallback:z,children:t.jsx(js,{connectionId:o,selections:E,onToggle:A,onToggleAll:$})})})}),e[45]=o,e[46]=E,e[47]=A,e[48]=$,e[49]=L):L=e[49];let q;e[50]===Symbol.for("react.memo_cache_sentinel")?(q=Se("Prompts not supported by this server"),e[50]=q):q=e[50];let J;e[51]===Symbol.for("react.memo_cache_sentinel")?(J=t.jsx(ke,{}),e[51]=J):J=e[51];let B;e[52]!==i||e[53]!==o?(B=i[o]?i[o].prompts:[],e[52]=i,e[53]=o,e[54]=B):B=e[54];let U;e[55]!==o||e[56]!==a?(U=(F,Q)=>a(o,F,Q),e[55]=o,e[56]=a,e[57]=U):U=e[57];let G;e[58]!==o||e[59]!==d?(G=()=>d(o),e[58]=o,e[59]=d,e[60]=G):G=e[60];let K;e[61]!==o||e[62]!==B||e[63]!==U||e[64]!==G?(K=t.jsx(_e,{value:"prompts",className:"flex-1 overflow-hidden mt-0",children:t.jsx(xe,{fallback:q,children:t.jsx(N.Suspense,{fallback:J,children:t.jsx(ys,{connectionId:o,selections:B,onToggle:U,onToggleAll:G})})})}),e[61]=o,e[62]=B,e[63]=U,e[64]=G,e[65]=K):K=e[65];let H;e[66]!==n||e[67]!==I||e[68]!==L||e[69]!==K||e[70]!==p?(H=t.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:t.jsxs(ms,{value:n,onValueChange:p,variant:"underline",className:"flex-1 flex flex-col overflow-hidden",children:[y,I,L,K]})}),e[66]=n,e[67]=I,e[68]=L,e[69]=K,e[70]=p,e[71]=H):H=e[71];let W;return e[72]!==H||e[73]!==v?(W=t.jsxs(t.Fragment,{children:[v,H]}),e[72]=H,e[73]=v,e[74]=W):W=e[74],W}function ws(l){const e={};for(const s of l)e[s.connection_id]={tools:s.selected_tools,resources:s.selected_resources??null,prompts:s.selected_prompts??null};return e}function we(l){return Object.entries(l).map(([e,s])=>({connection_id:e,selected_tools:s.tools,selected_resources:s.resources,selected_prompts:s.prompts}))}function Es(l,e){switch(e.type){case"SET_SEARCH_TERM":return{...l,searchTerm:e.payload};case"SET_SELECTED":return{...l,selectedId:e.payload};case"SET_ACTIVE_TAB":return{...l,activeTab:e.payload};case"RESET":return{searchTerm:"",selectedId:e.payload.selectedId??e.payload.firstConnectionId??null,activeTab:"tools"};case"SELECT_CONNECTION":return{...l,selectedId:e.payload,activeTab:"tools"};default:return l}}const He=(l,e)=>l.find(s=>s.id===e)??l[0];function Is(l){const e=T.c(79),{open:s,onOpenChange:n,selectedId:o,form:i,connections:c}=l;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r={},e[0]=r):r=e[0];const a=Pt(r);let m;e[1]!==a||e[2]!==o?(m=He(a,o)?.id??null,e[1]=a,e[2]=o,e[3]=m):m=e[3];let u;e[4]!==m?(u={activeTab:"tools",searchTerm:"",selectedId:m},e[4]=m,e[5]=u):u=e[5];const[d,f]=N.useReducer(Es,u);let g;e[6]!==c?(g=c??[],e[6]=c,e[7]=g):g=e[7];let h;e[8]!==g?(h=ws(g),e[8]=g,e[9]=h):h=e[9];const x=h;let j;e[10]!==a||e[11]!==d.selectedId?(j=He(a,d.selectedId),e[10]=a,e[11]=d.selectedId,e[12]=j):j=e[12];const v=j;let p;e[13]!==x?(p=b=>ps(x,b),e[13]=x,e[14]=p):p=e[14];const C=p;let _;e[15]!==x?(_=b=>fs(x,b),e[15]=x,e[16]=_):_=e[16];const y=_;let P;e[17]!==i||e[18]!==x?(P=(b,R,M,X)=>{const de=x[b]?.[R];let V;de===null?V=X.filter(ve=>ve!==M):de?.includes(M)?V=de.filter(ve=>ve!==M):(V=[...de??[],M],V.length===X.length&&(V=null));const me={...x};me[b]?me[b]={...me[b]}:me[b]={tools:null,resources:null,prompts:null},me[b][R]=V,i.setValue("connections",we(me),{shouldDirty:!0,shouldTouch:!0})},e[17]=i,e[18]=x,e[19]=P):P=e[19];const S=P;let O;e[20]!==i||e[21]!==x?(O=(b,R)=>{const de=x[b]?.[R]===null?[]:null,V={...x};V[b]?V[b]={...V[b]}:V[b]={tools:null,resources:null,prompts:null},V[b][R]=de,i.setValue("connections",we(V),{shouldDirty:!0,shouldTouch:!0})},e[20]=i,e[21]=x,e[22]=O):O=e[22];const k=O;let w;e[23]!==S?(w=(b,R,M)=>S(b,"tools",R,M),e[23]=S,e[24]=w):w=e[24];const I=w;let D;e[25]!==S?(D=(b,R,M)=>S(b,"resources",R,M),e[25]=S,e[26]=D):D=e[26];const z=D;let E;e[27]!==S?(E=(b,R,M)=>S(b,"prompts",R,M),e[27]=S,e[28]=E):E=e[28];const A=E;let $;e[29]!==k?($=b=>k(b,"tools"),e[29]=k,e[30]=$):$=e[30];const L=$;let q;e[31]!==k?(q=b=>k(b,"resources"),e[31]=k,e[32]=q):q=e[32];const J=q;let B;e[33]!==k?(B=b=>k(b,"prompts"),e[33]=k,e[34]=B):B=e[34];const U=B;let G;e[35]!==i||e[36]!==x?(G=b=>{const R=x[b],M=R&&R.tools===null&&R.resources===null&&R.prompts===null,X={...x};M?delete X[b]:X[b]=xs,i.setValue("connections",we(X),{shouldDirty:!0,shouldTouch:!0})},e[35]=i,e[36]=x,e[37]=G):G=e[37];const K=G;let H;e[38]!==a||e[39]!==n||e[40]!==o?(H=b=>{b&&f({type:"RESET",payload:{selectedId:o,firstConnectionId:a[0]?.id??null}}),n(b)},e[38]=a,e[39]=n,e[40]=o,e[41]=H):H=e[41];const W=H;let F;e[42]===Symbol.for("react.memo_cache_sentinel")?(F=b=>{f({type:"SELECT_CONNECTION",payload:b})},e[42]=F):F=e[42];const Q=F;let fe;e[43]===Symbol.for("react.memo_cache_sentinel")?(fe=b=>f({type:"SET_SEARCH_TERM",payload:b}),e[43]=fe):fe=e[43];let le;e[44]!==d.searchTerm?(le=t.jsx(Kt,{value:d.searchTerm,onChange:fe,placeholder:"Search connections..."}),e[44]=d.searchTerm,e[45]=le):le=e[45];let oe;e[46]!==a||e[47]!==d.searchTerm||e[48]!==d.selectedId||e[49]!==y||e[50]!==C||e[51]!==K?(oe=t.jsx("div",{className:"flex-1 overflow-auto p-2",children:t.jsx(ks,{allConnections:a,searchTerm:d.searchTerm,selectedId:d.selectedId,hasSelections:C,getSelectionSummary:y,onConnectionClick:Q,onToggleAll:K})}),e[46]=a,e[47]=d.searchTerm,e[48]=d.selectedId,e[49]=y,e[50]=C,e[51]=K,e[52]=oe):oe=e[52];let ne;e[53]!==le||e[54]!==oe?(ne=t.jsxs("div",{className:"w-full sm:w-72 sm:border-r border-b sm:border-b-0 border-border flex flex-col bg-background sm:h-full max-h-[40vh] sm:max-h-full",children:[le,oe]}),e[53]=le,e[54]=oe,e[55]=ne):ne=e[55];let ie;e[56]!==v||e[57]!==d.activeTab||e[58]!==d.selectedId||e[59]!==x||e[60]!==U||e[61]!==J||e[62]!==L||e[63]!==A||e[64]!==z||e[65]!==I?(ie=t.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:v&&d.selectedId?t.jsx(Ss,{currentConnection:v,activeTab:d.activeTab,selectedId:d.selectedId,formData:x,toggleTool:I,toggleResource:z,togglePrompt:A,toggleAllTools:L,toggleAllResources:J,toggleAllPrompts:U,onTabChange:b=>f({type:"SET_ACTIVE_TAB",payload:b})},d.selectedId):t.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:"Select a connection to view its tools, resources, and prompts"})}),e[56]=v,e[57]=d.activeTab,e[58]=d.selectedId,e[59]=x,e[60]=U,e[61]=J,e[62]=L,e[63]=A,e[64]=z,e[65]=I,e[66]=ie):ie=e[66];let re;e[67]!==ne||e[68]!==ie?(re=t.jsxs("div",{className:"flex-1 flex overflow-hidden min-h-0 flex-col sm:flex-row",children:[ne,ie]}),e[67]=ne,e[68]=ie,e[69]=re):re=e[69];let ae;e[70]!==W?(ae=t.jsx(qt,{className:"px-6 py-4 border-t border-border shrink-0",children:t.jsx(Y,{variant:"outline",onClick:()=>W(!1),children:"Done"})}),e[70]=W,e[71]=ae):ae=e[71];let ce;e[72]!==re||e[73]!==ae?(ce=t.jsxs(qe,{className:"sm:max-w-5xl h-[80vh] max-h-[80vh] flex flex-col p-0 gap-0 overflow-hidden w-[95vw]",children:[re,ae]}),e[72]=re,e[73]=ae,e[74]=ce):ce=e[74];let pe;return e[75]!==W||e[76]!==s||e[77]!==ce?(pe=t.jsx(Ye,{open:s,onOpenChange:W,children:ce}),e[75]=W,e[76]=s,e[77]=ce,e[78]=pe):pe=e[78],pe}const As=jt.pick({title:!0,description:!0,status:!0,metadata:!0,connections:!0}).extend({title:Nt().min(1,"Name is required").max(255)});function Os(l){const e=T.c(8);let s,n;e[0]!==l?({className:s,...n}=l,e[0]=l,e[1]=s,e[2]=n):(s=e[1],n=e[2]);let o;e[3]!==s?(o=Z("grid gap-3",s),e[3]=s,e[4]=o):o=e[4];let i;return e[5]!==n||e[6]!==o?(i=t.jsx(ts,{"data-slot":"radio-group",className:o,...n}),e[5]=n,e[6]=o,e[7]=i):i=e[7],i}function Ee(l){const e=T.c(9);let s,n;e[0]!==l?({className:s,...n}=l,e[0]=l,e[1]=s,e[2]=n):(s=e[1],n=e[2]);let o;e[3]!==s?(o=Z("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",s),e[3]=s,e[4]=o):o=e[4];let i;e[5]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(ss,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:t.jsx(Xe,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})}),e[5]=i):i=e[5];let c;return e[6]!==n||e[7]!==o?(c=t.jsx(es,{"data-slot":"radio-group-item",className:o,...n,children:i}),e[6]=n,e[7]=o,e[8]=c):c=e[8],c}function Ds(l){const s=new TextEncoder().encode(l),n=Array.from(s,o=>String.fromCharCode(o)).join("");return btoa(n)}function $s(l){const e=T.c(10),{url:s}=l,[n,o]=N.useState(!1);let i;e[0]!==s?(i=async()=>{await navigator.clipboard.writeText(s),o(!0),De.success("Agent URL copied to clipboard"),setTimeout(()=>o(!1),2e3)},e[0]=s,e[1]=i):i=e[1];const c=i;let r;e[2]!==n?(r=n?t.jsx(Je,{size:20,className:"text-green-600"}):t.jsx(os,{size:20}),e[2]=n,e[3]=r):r=e[3];const a=n?"Copied!":"Copy URL";let m;e[4]!==a?(m=t.jsx("span",{className:"text-xs font-medium",children:a}),e[4]=a,e[5]=m):m=e[5];let u;return e[6]!==c||e[7]!==r||e[8]!==m?(u=t.jsxs(Y,{type:"button",variant:"outline",onClick:c,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[r,m]}),e[6]=c,e[7]=r,e[8]=m,e[9]=u):u=e[9],u}function Rs(l){const e=T.c(7),{url:s,serverName:n}=l;let o;e[0]!==n||e[1]!==s?(o=()=>{const m=Ze(n),d=Ds(JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Cursor"}},null,2)),f=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(m)}&config=${encodeURIComponent(d)}`;window.open(f,"_blank"),De.success("Opening Cursor...")},e[0]=n,e[1]=s,e[2]=o):o=e[2];const i=o;let c,r;e[3]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx("img",{src:"/logos/cursor.svg",alt:"Cursor",className:"h-5 w-5",style:{filter:"brightness(0) saturate(100%) invert(11%) sepia(8%) saturate(785%) hue-rotate(1deg) brightness(95%) contrast(89%)"}}),r=t.jsx("span",{className:"text-xs font-medium",children:"Install on Cursor"}),e[3]=c,e[4]=r):(c=e[3],r=e[4]);let a;return e[5]!==i?(a=t.jsxs(Y,{type:"button",variant:"outline",onClick:i,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[c,r]}),e[5]=i,e[6]=a):a=e[6],a}function zs(l){const e=T.c(11),{url:s,serverName:n}=l,[o,i]=N.useState(!1);let c;e[0]!==n||e[1]!==s?(c=async()=>{const f=Ze(n),h=JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Claude Code"}},null,2),x=`claude mcp add-json "${f}" '${h.replace(/'/g,"'\\''")}'`;await navigator.clipboard.writeText(x),i(!0),De.success("Claude Code command copied to clipboard"),setTimeout(()=>i(!1),2e3)},e[0]=n,e[1]=s,e[2]=c):c=e[2];const r=c;let a;e[3]!==o?(a=o?t.jsx(Je,{size:20,className:"text-green-600"}):t.jsx("img",{src:"/logos/Claude Code.svg",alt:"Claude Code",className:"h-5 w-5",style:{filter:"brightness(0) saturate(100%) invert(55%) sepia(31%) saturate(1264%) hue-rotate(331deg) brightness(92%) contrast(86%)"}}),e[3]=o,e[4]=a):a=e[4];const m=o?"Copied!":"Install on Claude";let u;e[5]!==m?(u=t.jsx("span",{className:"text-xs font-medium",children:m}),e[5]=m,e[6]=u):u=e[6];let d;return e[7]!==r||e[8]!==a||e[9]!==u?(d=t.jsxs(Y,{type:"button",variant:"outline",onClick:r,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[a,u]}),e[7]=r,e[8]=a,e[9]=u,e[10]=d):d=e[10],d}function Ls(l){const e=T.c(40),{open:s,onOpenChange:n,virtualMcp:o}=l,[i,c]=N.useState("code_execution");let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=L=>{(L==="passthrough"||L==="smart_tool_selection"||L==="code_execution")&&c(L)},e[0]=r):r=e[0];const a=r;let m;e[1]!==i||e[2]!==o.id?(m=new URL(`/mcp/virtual-mcp/${o.id}`,window.location.origin),m.searchParams.set("mode",i),e[1]=i,e[2]=o.id,e[3]=m):m=e[3];let u;e[4]!==o.id||e[5]!==o.title?(u=o.title||`agent-${o.id?.slice(0,8)??"default"}`,e[4]=o.id,e[5]=o.title,e[6]=u):u=e[6];const d=u;let f;e[7]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(Yt,{children:t.jsx(Zt,{children:"Share Agent"})}),e[7]=f):f=e[7];let g;e[8]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("div",{children:t.jsx("h4",{className:"text-sm font-medium text-foreground mt-1",children:"How should this agent work?"})}),e[8]=g):g=e[8];let h;e[9]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(Qe,{className:"size-5 text-muted-foreground"})}),e[9]=h):h=e[9];let x;e[10]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Direct access"}),e[10]=x):x=e[10];let j;e[11]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(ee,{asChild:!0,children:t.jsx(ye,{className:"size-3.5 text-muted-foreground"})}),e[11]=j):j=e[11];let v;e[12]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsxs("label",{htmlFor:"mode-passthrough",className:"flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[h,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[x,t.jsx(Ne,{children:t.jsxs(te,{children:[j,t.jsx(se,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"All tools are exposed directly via tools/list. Best for small tool surfaces with deterministic behavior."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Best for small teams or when you need predictable behavior"})]}),t.jsx(Ee,{id:"mode-passthrough",value:"passthrough"})]}),e[12]=v):v=e[12];let p;e[13]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(tt,{className:"size-5 text-muted-foreground"})}),e[13]=p):p=e[13];let C;e[14]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart discovery"}),e[14]=C):C=e[14];let _;e[15]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(ee,{asChild:!0,children:t.jsx(ye,{className:"size-3.5 text-muted-foreground"})}),e[15]=_):_=e[15];let y;e[16]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsxs("label",{htmlFor:"mode-smart",className:"flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[p,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[C,t.jsx(Ne,{children:t.jsxs(te,{children:[_,t.jsx(se,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"Uses meta-tools (GATEWAY_SEARCH_TOOLS, GATEWAY_DESCRIBE_TOOLS, GATEWAY_CALL_TOOL) to keep the tool list small and request details on demand."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Ideal for large teams with many tools - AI finds what it needs"})]}),t.jsx(Ee,{id:"mode-smart",value:"smart_tool_selection"})]}),e[16]=y):y=e[16];let P;e[17]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(ls,{className:"size-5 text-muted-foreground"})}),e[17]=P):P=e[17];let S;e[18]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart execution"}),e[18]=S):S=e[18];let O;e[19]===Symbol.for("react.memo_cache_sentinel")?(O=t.jsx(ee,{asChild:!0,children:t.jsx(ye,{className:"size-3.5 text-muted-foreground"})}),e[19]=O):O=e[19];let k;e[20]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsxs("label",{htmlFor:"mode-code",className:"relative flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[P,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[S,t.jsx(Ne,{children:t.jsxs(te,{children:[O,t.jsx(se,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"Exposes meta-tools for discovery + sandboxed execution (GATEWAY_RUN_CODE). Reduces overhead on large surfaces by shifting work into a controlled runtime."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Maximum flexibility - AI can write code to orchestrate tools"})]}),t.jsx(Ee,{id:"mode-code",value:"code_execution"}),t.jsx($e,{variant:"outline",className:"absolute -top-2.5 left-1/2 -translate-x-1/2 bg-background z-10",children:"Recommended"})]}),e[20]=k):k=e[20];let w;e[21]!==i?(w=t.jsxs("div",{className:"flex flex-col gap-3",children:[g,t.jsxs(Os,{value:i,onValueChange:a,className:"flex flex-col gap-4.5",children:[v,y,k]})]}),e[21]=i,e[22]=w):w=e[22];let I;e[23]!==m.href?(I=t.jsx($s,{url:m.href}),e[23]=m.href,e[24]=I):I=e[24];let D,z;e[25]!==d||e[26]!==m.href?(D=t.jsx(Rs,{url:m.href,serverName:d}),z=t.jsx(zs,{url:m.href,serverName:d}),e[25]=d,e[26]=m.href,e[27]=D,e[28]=z):(D=e[27],z=e[28]);let E;e[29]!==I||e[30]!==D||e[31]!==z?(E=t.jsx("div",{className:"flex flex-col gap-3 pt-2",children:t.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[I,D,z]})}),e[29]=I,e[30]=D,e[31]=z,e[32]=E):E=e[32];let A;e[33]!==w||e[34]!==E?(A=t.jsxs(qe,{className:"max-w-2xl max-h-[80vh] overflow-y-auto",children:[f,t.jsxs("div",{className:"flex flex-col gap-6",children:[w,E]})]}),e[33]=w,e[34]=E,e[35]=A):A=e[35];let $;return e[36]!==n||e[37]!==s||e[38]!==A?($=t.jsx(Ye,{open:s,onOpenChange:n,children:A}),e[36]=n,e[37]=s,e[38]=A,e[39]=$):$=e[39],$}function Ps(l,e){switch(e.type){case"SET_SHARE_DIALOG_OPEN":return{...l,shareDialogOpen:e.payload};case"SET_CONNECTION_DIALOG_OPEN":return{...l,connectionDialogOpen:e.payload};case"SET_EDITING_CONNECTION_ID":return{...l,editingConnectionId:e.payload};case"SET_SKILLS_OPEN":return{...l,skillsOpen:e.payload};default:return l}}function Ie(l){const e=T.c(3),{connection_id:s}=l,n=Ue(s);if(!n)return null;let o;return e[0]!==n.icon||e[1]!==n.title?(o=t.jsx("div",{className:"shrink-0 bg-background ring-1 ring-background rounded-lg",children:t.jsx(ue,{icon:n.icon,name:n.title,size:"xs"})}),e[0]=n.icon,e[1]=n.title,e[2]=o):o=e[2],o}Ie.Fallback=function(){return t.jsx("div",{className:"shrink-0 bg-background ring-1 ring-background rounded-lg",children:t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse"})})};function Ae(l){const e=T.c(27),{connection_id:s,selected_tools:n,selected_resources:o,selected_prompts:i,onClick:c}=l,r=Ue(s);if(!r)return null;let a;e[0]!==n?(a=Te(n),e[0]=n,e[1]=a):a=e[1];const m=a;let u;e[2]!==o?(u=Te(o),e[2]=o,e[3]=u):u=e[3];const d=u;let f;e[4]!==i?(f=Te(i),e[4]=i,e[5]=f):f=e[5];const g=f;let h;e[6]!==r.icon||e[7]!==r.title?(h=t.jsx(ue,{icon:r.icon,name:r.title,size:"xs"}),e[6]=r.icon,e[7]=r.title,e[8]=h):h=e[8];let x;e[9]!==r.title?(x=t.jsx("p",{className:"flex-1 text-sm font-normal text-foreground truncate",children:r.title}),e[9]=r.title,e[10]=x):x=e[10];let j;e[11]!==m?(j=m!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:m==="all"?"all":m}),t.jsx(ze,{size:12})]}),e[11]=m,e[12]=j):j=e[12];let v;e[13]!==d?(v=d!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:d==="all"?"all":d}),t.jsx(ge,{size:12})]}),e[13]=d,e[14]=v):v=e[14];let p;e[15]!==g?(p=g!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:g==="all"?"all":g}),t.jsx(Re,{size:12})]}),e[15]=g,e[16]=p):p=e[16];let C;e[17]!==j||e[18]!==v||e[19]!==p?(C=t.jsxs($e,{variant:"secondary",className:"bg-muted h-5 gap-2 px-1.5 py-1 flex items-center",children:[j,v,p]}),e[17]=j,e[18]=v,e[19]=p,e[20]=C):C=e[20];let _;e[21]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(Ke,{size:16,className:"text-muted-foreground shrink-0"}),e[21]=_):_=e[21];let y;return e[22]!==c||e[23]!==h||e[24]!==x||e[25]!==C?(y=t.jsxs("div",{onClick:c,className:"w-full h-12 flex items-center gap-2 px-3 rounded-lg border border-border hover:bg-accent/50 transition-colors cursor-pointer",children:[h,x,C,_]}),e[22]=c,e[23]=h,e[24]=x,e[25]=C,e[26]=y):y=e[26],y}Ae.Fallback=function(){return t.jsxs("div",{className:"w-full h-12 flex items-center gap-2 px-3 rounded-lg border border-border",children:[t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse shrink-0"}),t.jsx("div",{className:"flex-1 h-4 rounded bg-muted animate-pulse"}),t.jsxs($e,{variant:"secondary",className:"bg-muted h-5 gap-2 px-1.5 py-1 flex items-center",children:[t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(ze,{size:12})]}),t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(ge,{size:12})]}),t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(Re,{size:12})]})]}),t.jsx(Ke,{size:16,className:"text-muted-foreground shrink-0"})]})};function Ms({virtualMcp:l}){const s=_t().location.href,n=Tt(),o=Vt(),i=kt({resolver:St(As),defaultValues:l}),c=i.watch("connections"),[r,a]=N.useReducer(Ps,{shareDialogOpen:!1,connectionDialogOpen:!1,editingConnectionId:null,skillsOpen:!1}),[,m]=Rt(),{setVirtualMcpId:u}=Et();N.useEffect(()=>{m(!0),u(l.id)},[l.id]);const d=()=>{u(l.id),m(!0)},f=i.formState.isDirty,g=async()=>{const p=i.getValues(),C=await o.update.mutateAsync({id:l.id,data:p});i.reset(C)},h=()=>{i.reset(l)},x=()=>{a({type:"SET_EDITING_CONNECTION_ID",payload:null}),a({type:"SET_CONNECTION_DIALOG_OPEN",payload:!0})},j=p=>{a({type:"SET_EDITING_CONNECTION_ID",payload:p}),a({type:"SET_CONNECTION_DIALOG_OPEN",payload:!0})},v=o.update.isPending;return t.jsxs(Wt,{onBack:()=>n.history.back(),children:[t.jsxs(Ut,{children:[t.jsxs(te,{delayDuration:0,children:[t.jsx(ee,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(Y,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:!f||v,onClick:h,"aria-label":"Cancel",children:t.jsx(Bt,{size:14})})})}),t.jsx(se,{side:"bottom",children:"Cancel"})]}),t.jsxs(te,{delayDuration:0,children:[t.jsx(ee,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(Y,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:!f||v,onClick:g,"aria-label":"Save",children:v?t.jsx(Le,{size:14,className:"animate-spin"}):t.jsx(st,{size:14})})})}),t.jsx(se,{side:"bottom",children:"Save"})]}),t.jsxs(te,{delayDuration:0,children:[t.jsx(ee,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsxs(Y,{variant:"outline",size:"sm",className:"h-7 gap-1.5 px-2 border border-input",onClick:d,"aria-label":"Test Agent",children:[t.jsx(Gt,{size:14}),"Test Agent"]})})}),t.jsx(se,{side:"bottom",children:"Test this agent in chat"})]}),t.jsxs(te,{delayDuration:0,children:[t.jsx(ee,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(Y,{variant:"outline",size:"icon",className:"size-7 border border-input",onClick:()=>a({type:"SET_SHARE_DIALOG_OPEN",payload:!0}),"aria-label":"Share",children:t.jsx(Ht,{size:14})})})}),t.jsx(se,{side:"bottom",children:"Share"})]}),t.jsx($t,{title:l.title,url:s,icon:l.icon??"cpu_chip"})]}),t.jsx("div",{className:"flex h-full w-full bg-background overflow-auto",children:t.jsxs("div",{className:"flex flex-col w-full",children:[t.jsxs("div",{className:"flex items-start justify-between gap-4 p-6 shrink-0",children:[t.jsxs("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[t.jsx(ue,{icon:l.icon,name:i.watch("title")||"Agent",size:"lg",className:"shrink-0 shadow-sm",fallbackIcon:t.jsx(et,{})}),t.jsxs("div",{className:"flex flex-col flex-1 min-w-0",children:[t.jsx(Be,{...i.register("title"),className:"h-auto py-0.5 text-lg! font-medium leading-7 px-1 -mx-1 border-transparent hover:bg-input/25 focus:border-input bg-transparent transition-all",placeholder:"Agent Name"}),t.jsx(Be,{...i.register("description"),className:"h-auto py-0.5 text-base text-muted-foreground leading-6 px-1 -mx-1 border-transparent hover:bg-input/25 focus:border-input bg-transparent transition-all",placeholder:"Add a description..."})]})]}),t.jsx("div",{className:"flex items-center gap-2 shrink-0",children:t.jsx(zt,{checked:i.watch("status")==="active",onCheckedChange:p=>i.setValue("status",p?"active":"inactive",{shouldDirty:!0})})})]}),t.jsxs(It,{open:r.skillsOpen,onOpenChange:p=>a({type:"SET_SKILLS_OPEN",payload:p}),className:"border-t border-border shrink-0 max-h-[400px] overflow-hidden flex flex-col",children:[c.length===0?t.jsxs("button",{type:"button",onClick:x,className:"w-full flex items-center justify-between px-6 py-4 hover:bg-muted/50 transition-colors cursor-pointer",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Skills"}),t.jsxs("div",{className:"h-7 px-2 inline-flex items-center justify-center gap-1 rounded-md text-sm text-muted-foreground",children:[t.jsx(Ge,{size:14}),"Add"]})]}):t.jsx(At,{asChild:!0,children:t.jsxs("button",{type:"button",className:"w-full flex items-center justify-between px-6 py-4 hover:bg-muted/50 transition-colors cursor-pointer",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Skills"}),t.jsxs("div",{className:"flex items-center",children:[t.jsx("div",{className:"flex items-center -space-x-2 ease-(--ease-out-expo)",style:{width:r.skillsOpen?0:"auto",marginRight:r.skillsOpen?0:4,opacity:r.skillsOpen?0:1,pointerEvents:r.skillsOpen?"none":"auto",transitionProperty:"all",transitionDuration:r.skillsOpen?"0ms":"200ms"},children:c.slice(0,4).map(p=>t.jsx(N.Suspense,{fallback:t.jsx(Ie.Fallback,{}),children:t.jsx(Ie,{connection_id:p.connection_id})},p.connection_id))}),t.jsxs("div",{role:"button",tabIndex:0,className:"h-7 inline-flex items-center justify-center rounded-md text-sm text-muted-foreground overflow-hidden transition-all duration-200 ease-(--ease-out-expo) hover:bg-accent hover:text-accent-foreground",style:{width:r.skillsOpen?"auto":28,paddingLeft:r.skillsOpen?8:0,paddingRight:r.skillsOpen?8:0,gap:r.skillsOpen?4:0},onPointerDown:p=>{p.stopPropagation()},onClick:p=>{p.stopPropagation(),p.preventDefault(),x()},onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&(p.stopPropagation(),p.preventDefault(),x())},children:[t.jsx(Ge,{size:14,className:"shrink-0"}),t.jsx("span",{className:"overflow-hidden whitespace-nowrap transition-all duration-200 ease-(--ease-out-expo)",style:{width:r.skillsOpen?"auto":0,opacity:r.skillsOpen?1:0},children:"Add"})]}),t.jsx("div",{className:"h-7 inline-flex items-center justify-center overflow-hidden transition-all duration-200 ease-(--ease-out-expo)",style:{width:r.skillsOpen?28:0,opacity:r.skillsOpen?1:0},children:t.jsx(Ft,{size:16,className:"shrink-0"})})]})]})}),t.jsx("div",{className:"grid overflow-hidden transition-[grid-template-rows] duration-200 ease-(--ease-out-expo)",style:{gridTemplateRows:r.skillsOpen?"1fr":"0fr"},children:t.jsx("div",{className:"min-h-0 overflow-hidden",children:t.jsx("div",{className:"overflow-y-auto max-h-[300px] mask-[linear-gradient(to_bottom,black_calc(100%-40px),transparent_100%)]",children:t.jsx("div",{className:"flex flex-col gap-2 px-6 pb-4 pt-2",children:c.map(p=>t.jsx(N.Suspense,{fallback:t.jsx(Ae.Fallback,{}),children:t.jsx(Ae,{connection_id:p.connection_id,selected_tools:p.selected_tools,selected_resources:p.selected_resources,selected_prompts:p.selected_prompts,onClick:()=>j(p.connection_id)})},p.connection_id))})})})})]}),t.jsxs("div",{className:"flex flex-col flex-1 p-6 border-t border-border overflow-auto",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-2",children:"Instructions"}),t.jsx(wt,{name:"metadata.instructions",control:i.control,render:({field:p})=>t.jsx(Lt,{...p,value:p.value??"",placeholder:"Write instructions here...",className:"min-h-[200px] resize-none text-sm placeholder:text-muted-foreground/50 leading-relaxed border-0 rounded-none shadow-none px-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus:border-0 bg-transparent"})})]})]})}),t.jsx(Is,{open:r.connectionDialogOpen,onOpenChange:p=>a({type:"SET_CONNECTION_DIALOG_OPEN",payload:p}),selectedId:r.editingConnectionId,form:i,connections:c}),t.jsx(Ls,{open:r.shareDialogOpen,onOpenChange:p=>a({type:"SET_SHARE_DIALOG_OPEN",payload:p}),virtualMcp:l})]})}function Vs(){const l=T.c(6),e=yt();let s;l[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org/agents/$agentId"},l[0]=s):s=l[0];const n=Ct(s),{org:o,agentId:i}=n,c=Mt(i);if(!c){let a;return l[1]!==e||l[2]!==o?(a=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ot,{title:"Agent not found",description:"This Agent may have been deleted or you may not have access.",actions:t.jsx(Y,{variant:"outline",onClick:()=>e({to:"/$org/agents",params:{org:o}}),children:"Back to agents"})})}),l[1]=e,l[2]=o,l[3]=a):a=l[3],a}let r;return l[4]!==c?(r=t.jsx(Ms,{virtualMcp:c}),l[4]=c,l[5]=r):r=l[5],r}function Pl(){const l=T.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(xe,{children:t.jsx(N.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center bg-background",children:t.jsx(Le,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Vs,{})})}),l[0]=e):e=l[0],e}export{Pl as default};