ryco-cli 0.1.25 → 0.1.26

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 (299) hide show
  1. package/dist/{GrokDriver-CduUwiOH.mjs → AcpAdapter-BemMQNbj.mjs} +102 -604
  2. package/dist/{GrokDriver-D0jraOC_.cjs → AcpAdapter-CadxcdZV.cjs} +129 -612
  3. package/dist/AcpNativeLogging-BsbZRRD7.mjs +312 -0
  4. package/dist/AcpNativeLogging-DZPZNoju.cjs +383 -0
  5. package/dist/AcpRegistryDriver-BfCPf8FX.cjs +222 -0
  6. package/dist/AcpRegistryDriver-BpXCjh9I.mjs +221 -0
  7. package/dist/{AzureDevOpsSourceControlProvider-COmd21c-.cjs → AzureDevOpsSourceControlProvider-B9N_8NJg.cjs} +14 -14
  8. package/dist/{AzureDevOpsSourceControlProvider-B_E0XXfD.mjs → AzureDevOpsSourceControlProvider-BcQO_CyW.mjs} +3 -3
  9. package/dist/{BitbucketSourceControlProvider-pUKsNXcg.mjs → BitbucketSourceControlProvider-BTUY2ZT8.mjs} +3 -3
  10. package/dist/{BitbucketSourceControlProvider-CD8IvXQK.cjs → BitbucketSourceControlProvider-C9WuwvY2.cjs} +14 -14
  11. package/dist/{BunPTY-TbHbSc8S.mjs → BunPTY-DdnqQAdw.mjs} +1 -1
  12. package/dist/{ClaudeDriver-Dry5uJfX.cjs → ClaudeDriver-BSTxNNGO.cjs} +162 -126
  13. package/dist/{ClaudeDriver-CGifBixr.mjs → ClaudeDriver-Csnp78qR.mjs} +129 -93
  14. package/dist/{CodexDriver-BzR8gA8w.cjs → CodexDriver-BK4HVNV4.cjs} +145 -60
  15. package/dist/{CodexDriver-V4CL9APE.mjs → CodexDriver-fwcV84hX.mjs} +99 -14
  16. package/dist/{CodexTextGeneration-DTrSzY-I.cjs → CodexTextGeneration-Y2GSS7f1.cjs} +145 -99
  17. package/dist/{CodexTextGeneration-DoCidwvI.mjs → CodexTextGeneration-_4aT5BHa.mjs} +141 -95
  18. package/dist/{CopilotDriver-Dt13X60f.mjs → CopilotDriver-B12ZJ-L_.mjs} +69 -7
  19. package/dist/{CopilotDriver-rLcA8PSN.cjs → CopilotDriver-C7IyIwVW.cjs} +98 -36
  20. package/dist/{CursorDriver-C3s-8s9F.cjs → CursorDriver-BWmCfJ-w.cjs} +38 -32
  21. package/dist/{CursorDriver-HIPUs7cz.mjs → CursorDriver-C_p0v-ul.mjs} +12 -6
  22. package/dist/{ForgejoSourceControlProvider-JgiyrMqp.cjs → ForgejoSourceControlProvider-DTRrllIH.cjs} +14 -14
  23. package/dist/{ForgejoSourceControlProvider-CmvOAzEG.mjs → ForgejoSourceControlProvider-DmOGJEaJ.mjs} +3 -3
  24. package/dist/{GitHubSourceControlProvider-CItCpOcC.cjs → GitHubSourceControlProvider-D-YV8WP6.cjs} +16 -17
  25. package/dist/{GitHubSourceControlProvider-BYuvbcBf.mjs → GitHubSourceControlProvider-sQGcwnr3.mjs} +6 -7
  26. package/dist/{GitLabSourceControlProvider-CMce22nU.cjs → GitLabSourceControlProvider-kKYYnpER.cjs} +14 -14
  27. package/dist/{GitLabSourceControlProvider-DZzEaVSi.mjs → GitLabSourceControlProvider-mIl-K-4F.mjs} +3 -3
  28. package/dist/GrokDriver-BFOniP_K.cjs +567 -0
  29. package/dist/GrokDriver-CDcWkiAi.mjs +552 -0
  30. package/dist/{Metrics-a1h4iBQi.mjs → Metrics-C-3MahDy.mjs} +1 -107
  31. package/dist/{Metrics-Bcb9vCAe.cjs → Metrics-DCKbdeoH.cjs} +0 -168
  32. package/dist/{NodePTY-B_p5tLYO.mjs → NodePTY-DArvQ9bX.mjs} +1 -1
  33. package/dist/{OpenCodeDriver-DxGpgtDS.cjs → OpenCodeDriver-CckbFEQJ.cjs} +459 -141
  34. package/dist/{OpenCodeDriver-Bz_uJdMA.mjs → OpenCodeDriver-CnWJHyDJ.mjs} +430 -112
  35. package/dist/SideQuestionIsolation-5eGFRW0t.mjs +26 -0
  36. package/dist/SideQuestionIsolation-DvVKZWxi.cjs +37 -0
  37. package/dist/{SourceControlProviderDiscoveryCatalog-ZtwPWoxE.mjs → SourceControlProviderDiscoveryCatalog-BVvq7liJ.mjs} +2 -1
  38. package/dist/{SourceControlProviderDiscoveryCatalog-Dm_lhrhv.cjs → SourceControlProviderDiscoveryCatalog-CyUhKJLD.cjs} +6 -5
  39. package/dist/bin.cjs +12537 -3029
  40. package/dist/bin.mjs +10444 -965
  41. package/dist/client/assets/AccountSettings-DLbcE2w-.js +1 -0
  42. package/dist/client/assets/Adobe-CNS1-UCS2-fO900upv.bcmap +0 -0
  43. package/dist/client/assets/Adobe-GB1-UCS2-BA083yIo.bcmap +0 -0
  44. package/dist/client/assets/Adobe-Japan1-UCS2-BL-4M2vS.bcmap +0 -0
  45. package/dist/client/assets/Adobe-Korea1-UCS2-BEQZuOdo.bcmap +0 -0
  46. package/dist/client/assets/AiFocusSettings-FKvdkl4P.js +1 -0
  47. package/dist/client/assets/{AnimatedHeight-DPqb09B0.js → AnimatedHeight-CbIEyMLg.js} +1 -1
  48. package/dist/client/assets/AppearanceSettings-B2LsGKmL.js +1 -0
  49. package/dist/client/assets/{BranchToolbar.logic-CHRK3hDt.js → BranchToolbar.logic-BqkvYNPk.js} +1 -1
  50. package/dist/client/assets/{BrowserPanel-2Xu08il5.js → BrowserPanel-C_C4zjrh.js} +1 -1
  51. package/dist/client/assets/ChatRightPanel-ibiQ79jI.js +195 -0
  52. package/dist/client/assets/{ChatThreadRouteView-CNww3i2J.js → ChatThreadRouteView-c7AXmbSk.js} +1 -1
  53. package/dist/client/assets/CommandPaletteDialog-DdPKN6rv.js +1 -0
  54. package/dist/client/assets/CompositeRoot-DKwS-ADi.js +1 -0
  55. package/dist/client/assets/{ComputerUseSettings-BJs7jqR0.js → ComputerUseSettings-DM17BYP5.js} +1 -1
  56. package/dist/client/assets/ConnectionsSettings-D6wysIC8.js +7 -0
  57. package/dist/client/assets/ContextHandoffEndpointLabel-CsF_maM_.js +4 -0
  58. package/dist/client/assets/{DiagnosticsSettings-BmrqOKMe.js → DiagnosticsSettings-Bq2l-C4J.js} +2 -2
  59. package/dist/client/assets/{DialogHandle-pelzaaiH.js → DialogHandle-DuKTleCw.js} +1 -1
  60. package/dist/client/assets/{DialogPopup-BLM0vN4N.js → DialogPopup-Dt7DzTWv.js} +1 -1
  61. package/dist/client/assets/DialogRoot-DRyawL6l.js +1 -0
  62. package/dist/client/assets/{DialogTitle-BvIjMtMm.js → DialogTitle-BaxfPC6e.js} +1 -1
  63. package/dist/client/assets/DialogTrigger-D0PJ8bRT.js +1 -0
  64. package/dist/client/assets/{DialogViewport-Cz0OadGI.js → DialogViewport-C3B2JZWQ.js} +1 -1
  65. package/dist/client/assets/DraftChatThreadRouteView-B8YiD5NP.js +1 -0
  66. package/dist/client/assets/ETHK-B5-H-1MLb5v9x.bcmap +0 -0
  67. package/dist/client/assets/{ExternalIdentityWeb.logic-3rlDV7lT.js → ExternalIdentityWeb.logic-CrcNfdHK.js} +1 -1
  68. package/dist/client/assets/FoxitDingbats-BaQLufoW.pfb +0 -0
  69. package/dist/client/assets/FoxitFixed-Dyd5Nipw.pfb +0 -0
  70. package/dist/client/assets/FoxitFixedBold-D5TuYRwj.pfb +0 -0
  71. package/dist/client/assets/FoxitFixedBoldItalic-BqlXQ_Yv.pfb +0 -0
  72. package/dist/client/assets/FoxitFixedItalic-DqjQkmbS.pfb +0 -0
  73. package/dist/client/assets/FoxitSerif-qbgiDIe-.pfb +0 -0
  74. package/dist/client/assets/FoxitSerifBold-DZZ4CclT.pfb +0 -0
  75. package/dist/client/assets/FoxitSerifBoldItalic-DSQtwd_X.pfb +0 -0
  76. package/dist/client/assets/FoxitSerifItalic-CQs5lx9Y.pfb +0 -0
  77. package/dist/client/assets/FoxitSymbol-BVtbc20u.pfb +0 -0
  78. package/dist/client/assets/GBK-EUC-H-CAORqCkf.bcmap +0 -0
  79. package/dist/client/assets/GBK2K-H-Cv55KPk8.bcmap +0 -0
  80. package/dist/client/assets/GBKp-EUC-H-CElrnV5g.bcmap +0 -0
  81. package/dist/client/assets/GBT-EUC-H-BTsQIL1M.bcmap +0 -0
  82. package/dist/client/assets/GBT-H-DL9h-WkS.bcmap +0 -0
  83. package/dist/client/assets/GBTpc-EUC-H-DnIh5WJ3.bcmap +0 -0
  84. package/dist/client/assets/{GlassSurface-CEVIdyfP.js → GlassSurface-CBIEgwt1.js} +1 -1
  85. package/dist/client/assets/HKscs-B5-H-CXbBbq6g.bcmap +0 -0
  86. package/dist/client/assets/{HostedConnectionControls-r9cyZPyF.js → HostedConnectionControls-DOpTlXzE.js} +1 -1
  87. package/dist/client/assets/{HostedHubRoot-BkfafJ5x.js → HostedHubRoot-C1jq8cM6.js} +2 -2
  88. package/dist/client/assets/{HostedNativeAuthorizationRoute-CqHuW853.js → HostedNativeAuthorizationRoute-Clw1DHQW.js} +2 -2
  89. package/dist/client/assets/{HostedNodeRenameDialog-C7m-nvTj.js → HostedNodeRenameDialog-Bd_Qu_ek.js} +1 -1
  90. package/dist/client/assets/{HostedRelayTrustNotice-DNZQyAX0.js → HostedRelayTrustNotice-CGcBpT9m.js} +1 -1
  91. package/dist/client/assets/{IntegrationsSettingsPanel-hul3ysgL.js → IntegrationsSettingsPanel-J0qODRW-.js} +2 -2
  92. package/dist/client/assets/KSC-Johab-H-CGtV3MPT.bcmap +0 -0
  93. package/dist/client/assets/{KeybindingsSettings-Cme6omBM.js → KeybindingsSettings-CwxIHsFy.js} +1 -1
  94. package/dist/client/assets/{LazyBrowserPanel-COJFwNK7.js → LazyBrowserPanel-VNAn6AUL.js} +2 -2
  95. package/dist/client/assets/LiberationSans-Bold-BPt4bU5Z.ttf +0 -0
  96. package/dist/client/assets/LiberationSans-BoldItalic-Bj53-jFw.ttf +0 -0
  97. package/dist/client/assets/LiberationSans-Italic-5QhGB3P9.ttf +0 -0
  98. package/dist/client/assets/LiberationSans-Regular-cbskN6YR.ttf +0 -0
  99. package/dist/client/assets/McpServersSettings-1pkIeutq.js +6 -0
  100. package/dist/client/assets/MobileSheet-DddfN8c2.js +1 -0
  101. package/dist/client/assets/{NodeSecuritySettings-CwT5nEW9.js → NodeSecuritySettings-BOIZeFZo.js} +1 -1
  102. package/dist/client/assets/OpinionatedPluginsSettings-oTIrPtIb.js +1 -0
  103. package/dist/client/assets/PdfAttachmentPreview-BCMO9OHD.js +54 -0
  104. package/dist/client/assets/{PhoneGetAppInterstitial-BBnGXVkR.js → PhoneGetAppInterstitial-0EOj-PbW.js} +1 -1
  105. package/dist/client/assets/PhoneHome-Cg7l3b1T.js +1 -0
  106. package/dist/client/assets/{PhoneSettingsSurface-DdVCndyt.js → PhoneSettingsSurface-BXAUtZ9M.js} +2 -2
  107. package/dist/client/assets/ProvidersSettingsPanel-BaJgypXu.js +1 -0
  108. package/dist/client/assets/{QuitShortcutFeedback-mF7X0WMD.js → QuitShortcutFeedback-DgJFEd6b.js} +1 -1
  109. package/dist/client/assets/{RedactedSensitiveText-DovqFcmM.js → RedactedSensitiveText-D1VC2xa7.js} +1 -1
  110. package/dist/client/assets/RootAppShell-D2RjZ9jQ.js +7 -0
  111. package/dist/client/assets/Separator-CeMncdkm.js +1 -0
  112. package/dist/client/assets/SettingsDialog-B2hEb6u8.js +2 -0
  113. package/dist/client/assets/SettingsPanels-DtWLQDne.js +3 -0
  114. package/dist/client/assets/{SettingsPanels.editor-d-rVlbeN.js → SettingsPanels.editor-DJRckD71.js} +1 -1
  115. package/dist/client/assets/SourceControlSettings-IpoZrjt5.js +1 -0
  116. package/dist/client/assets/StatisticsPage-CUpE_5Gr.js +1 -0
  117. package/dist/client/assets/StatisticsPanel-CHrAY5AP.js +1 -0
  118. package/dist/client/assets/StatisticsSettingsLink-bGWuxNG3.js +1 -0
  119. package/dist/client/assets/{ThreadTerminalDrawer-DaLrSTn9.js → ThreadTerminalDrawer-BEv83xrk.js} +3 -3
  120. package/dist/client/assets/ThreadWorkspacePanel-BdMdJVHJ.js +2073 -0
  121. package/dist/client/assets/UniCNS-UCS2-H-DWzv8UhH.bcmap +0 -0
  122. package/dist/client/assets/UniCNS-UTF16-H-Bw0JKgCq.bcmap +0 -0
  123. package/dist/client/assets/UniCNS-UTF32-H-IE_GrH2i.bcmap +0 -0
  124. package/dist/client/assets/UniCNS-UTF8-H-BbLcFh6Q.bcmap +0 -0
  125. package/dist/client/assets/UniGB-UCS2-H-D7xzRvZN.bcmap +0 -0
  126. package/dist/client/assets/UniGB-UTF16-H-DKjbEwc0.bcmap +0 -0
  127. package/dist/client/assets/UniGB-UTF32-H-Behfouj5.bcmap +0 -0
  128. package/dist/client/assets/UniGB-UTF8-H-EROft1ro.bcmap +0 -0
  129. package/dist/client/assets/UniJIS-UCS2-H-2DbZ0MaQ.bcmap +0 -0
  130. package/dist/client/assets/UniJIS-UTF16-H-BlDDPdCK.bcmap +0 -0
  131. package/dist/client/assets/UniJIS-UTF32-H-BIQPWkjv.bcmap +0 -0
  132. package/dist/client/assets/UniJIS-UTF8-H-CGusholx.bcmap +0 -0
  133. package/dist/client/assets/UniJIS2004-UTF16-H-KXixH-HI.bcmap +0 -0
  134. package/dist/client/assets/UniJIS2004-UTF32-H-CXrD-9YE.bcmap +0 -0
  135. package/dist/client/assets/UniJIS2004-UTF8-H-BkOctZjn.bcmap +0 -0
  136. package/dist/client/assets/UniJISX0213-UTF32-H-BavAhZjb.bcmap +0 -0
  137. package/dist/client/assets/UniJISX02132004-UTF32-H-DAH-AgUq.bcmap +0 -0
  138. package/dist/client/assets/UniKS-UCS2-H-YeUc7k1L.bcmap +0 -0
  139. package/dist/client/assets/UniKS-UTF16-H-B0dvB-Td.bcmap +0 -0
  140. package/dist/client/assets/UniKS-UTF32-H-olR_LtmR.bcmap +0 -0
  141. package/dist/client/assets/UniKS-UTF8-H-CbpebD-y.bcmap +0 -0
  142. package/dist/client/assets/{activity-bn_fBQGf.js → activity-BmRcsTyL.js} +1 -1
  143. package/dist/client/assets/{alert-BmLJh6DH.js → alert-C5UiA2xk.js} +1 -1
  144. package/dist/client/assets/{appChrome-Dy57Ve9N.js → appChrome-CsZ2ylc1.js} +1 -1
  145. package/dist/client/assets/{arrow-left-pzj1cbX3.js → arrow-left-CSz-z20j.js} +1 -1
  146. package/dist/client/assets/{arrow-right-BW5jU-vo.js → arrow-right-DEi91hao.js} +1 -1
  147. package/dist/client/assets/{arrow-up-right-AfC5AaSO.js → arrow-up-right-D7SpcTV9.js} +1 -1
  148. package/dist/client/assets/authorization-B1YXfej3.js +1 -0
  149. package/dist/client/assets/badge-BjvTY7-E.js +1 -0
  150. package/dist/client/assets/{bot-CsKkSRlb.js → bot-SC4UGZyw.js} +1 -1
  151. package/dist/client/assets/{capabilities-DskyVNd2.js → capabilities-BCkDNe83.js} +1 -1
  152. package/dist/client/assets/{chart-column-DhvWXIiH.js → chart-column-C08MuLgY.js} +1 -1
  153. package/dist/client/assets/chevron-right-DgB53U1_.js +1 -0
  154. package/dist/client/assets/{clipboard-copy-fJnfdl4H.js → clipboard-copy-D74Wvnon.js} +1 -1
  155. package/dist/client/assets/{data-list-_E-Al1sf.js → data-list-CZ4Utnfl.js} +1 -1
  156. package/dist/client/assets/{desktopWorkspace-DycXKuMm.js → desktopWorkspace-DVfn9ZT_.js} +1 -1
  157. package/dist/client/assets/{download-CLQzE1di.js → download-Dio40wIJ.js} +1 -1
  158. package/dist/client/assets/editorPreferences-2dG4uloq.js +1 -0
  159. package/dist/client/assets/{empty-YXFtCUDN.js → empty-6LExKYgQ.js} +1 -1
  160. package/dist/client/assets/{group-DOCkUmuY.js → group-D_mu0Kiq.js} +1 -1
  161. package/dist/client/assets/{hostedConnectionCoordinator-JZ1dLx4v.js → hostedConnectionCoordinator-YkDLnATK.js} +1 -1
  162. package/dist/client/assets/{hubRoutes-C2S5of9_.js → hubRoutes-D3quWvU7.js} +1 -1
  163. package/dist/client/assets/{index-CvRFRkBK.js → index-7MTgf8YI.js} +2 -2
  164. package/dist/client/assets/{input-C2xv8mMt.js → input-CfVJycb1.js} +1 -1
  165. package/dist/client/assets/jbig2-CNFLgX9F.wasm +0 -0
  166. package/dist/client/assets/kbd-uFa_tY-L.js +1 -0
  167. package/dist/client/assets/{key-round-CYcb9lAa.js → key-round-C-oUSjpF.js} +1 -1
  168. package/dist/client/assets/{layers-CGlOWYxu.js → layers-Co2a5C1k.js} +1 -1
  169. package/dist/client/assets/{log-out-CZW2EpNJ.js → log-out-pWFhbvwr.js} +1 -1
  170. package/dist/client/assets/{logging-BpmZOfmu.js → logging-JMrwaeZh.js} +1 -1
  171. package/dist/client/assets/main-BNPtp9Z0.css +2 -0
  172. package/dist/client/assets/main-CGeD6yVE.js +9 -0
  173. package/dist/client/assets/openjpeg-MeY6OQBn.wasm +0 -0
  174. package/dist/client/assets/{palette-CQOuNfSO.js → palette-B_6C4fD6.js} +1 -1
  175. package/dist/client/assets/pdf.worker.min-Dswkl-cV.mjs +29 -0
  176. package/dist/client/assets/{play-CPVy9wwV.js → play-DFtc9zBy.js} +1 -1
  177. package/dist/client/assets/primary-CNUdEGcv.js +2 -0
  178. package/dist/client/assets/providerDriverMeta-Cg_XLUfo.js +1 -0
  179. package/dist/client/assets/{ProviderModelPicker-DoYEUZrn.js → providerInstances-JaDrOWPZ.js} +1 -1
  180. package/dist/client/assets/providerModels-5uOq3qPC.js +1 -0
  181. package/dist/client/assets/qcms_bg-3PJi_GXR.wasm +0 -0
  182. package/dist/client/assets/{qr-code-BPqDlVMn.js → qr-code-BU354aLS.js} +1 -1
  183. package/dist/client/assets/{qr-code-C6BVTc4V.js → qr-code-DaHWf7Oq.js} +1 -1
  184. package/dist/client/assets/quickjs-eval-zJSp5SB4.wasm +0 -0
  185. package/dist/client/assets/radio-group-DKaA1eey.js +2 -0
  186. package/dist/client/assets/{refresh-cw-B5Cz1z3e.js → refresh-cw-CY5BeUEr.js} +1 -1
  187. package/dist/client/assets/runtime-BKneT96Q.js +17 -0
  188. package/dist/client/assets/{save-C7zM6ey6.js → save-DIHMjHXd.js} +1 -1
  189. package/dist/client/assets/{scroll-area-5OU_pvTW.js → scroll-area-Cq4SX9P8.js} +1 -1
  190. package/dist/client/assets/{scrollEdges-qnEXfIOg.js → scrollEdges-BaWRjrac.js} +1 -1
  191. package/dist/client/assets/{separator-B5HfRiaO.js → separator-BN705fC0.js} +1 -1
  192. package/dist/client/assets/{settingsLayout-CfKq88KD.js → settingsLayout-DQERzSce.js} +1 -1
  193. package/dist/client/assets/{sheet-B9gQDy_I.js → sheet-CFvRY7T6.js} +1 -1
  194. package/dist/client/assets/{shield-rdjnBE2Q.js → shield-Zn2kFj5M.js} +1 -1
  195. package/dist/client/assets/{shield-alert-7yBlEyOs.js → shield-alert-DMB5gKiC.js} +1 -1
  196. package/dist/client/assets/{shield-check-CnKgVJ0F.js → shield-check-DyNf6Bky.js} +1 -1
  197. package/dist/client/assets/{sidebar-BdvL1Pbj.js → sidebar-Bsh64sLK.js} +1 -1
  198. package/dist/client/assets/sidebarProjectFolders-CQbpO9ZI.js +4 -0
  199. package/dist/client/assets/{sidebarStatusText-CZKsUFBD.js → sidebarStatusText-DCo-whyK.js} +1 -1
  200. package/dist/client/assets/{skeleton-CoyLqyaB.js → skeleton-DEuowfjY.js} +1 -1
  201. package/dist/client/assets/{smartphone-CBgpMHXR.js → smartphone-BLWJ7C9-.js} +1 -1
  202. package/dist/client/assets/{sparkles-w-UZXQx1.js → sparkles-DAXDXp_s.js} +1 -1
  203. package/dist/client/assets/src-DPpEXU6w.js +14 -0
  204. package/dist/client/assets/{star-BZ-RtSFD.js → star-CjQxHYbD.js} +1 -1
  205. package/dist/client/assets/switch-LahPAvrd.js +48 -0
  206. package/dist/client/assets/{toggle-DVGrNHjq.js → toggle-45lsrmyi.js} +1 -1
  207. package/dist/client/assets/{toggle-group-CNDOfNhH.js → toggle-group-D5pl24ED.js} +1 -1
  208. package/dist/client/assets/{tokenModePresentation-CQNdC9CW.js → tokenModePresentation-CPUsUGY4.js} +1 -1
  209. package/dist/client/assets/tooltip-B8-izeMo.js +1 -0
  210. package/dist/client/assets/{unplug-CRUwFNFw.js → unplug-Bjpxv8i0.js} +1 -1
  211. package/dist/client/assets/usage-8vQUo0mr.js +1 -0
  212. package/dist/client/assets/useAppSidebarCollapsed-uwz9Hlgc.js +1 -0
  213. package/dist/client/assets/useBaseUiId-BtuL7q77.js +1 -0
  214. package/dist/client/assets/useLabelableId-N_LsKNbf.js +1 -0
  215. package/dist/client/assets/useNavigate-DADLi29i.js +1 -0
  216. package/dist/client/assets/usePhoneThreadActions-B9_HK7tn.js +1 -0
  217. package/dist/client/assets/usePopupViewport-w8BEny9j.js +1 -0
  218. package/dist/client/assets/useScrollLock-bCmUzTgK.js +1 -0
  219. package/dist/client/assets/useStatistics-DJtONxT0.js +55 -0
  220. package/dist/client/assets/useTriggerFocusGuards-C7JWO2LT.js +1 -0
  221. package/dist/client/assets/useValueChanged-DkoUO9bY.js +1 -0
  222. package/dist/client/assets/{user-round-DStbWN3z.js → user-round-DEWIPpNs.js} +1 -1
  223. package/dist/client/assets/{vscode-icons-BihBo3tb.js → vscode-icons-DTH-Vj-_.js} +1 -1
  224. package/dist/client/assets/workspaceMetadataProjection-BnpxBe8S.js +1 -0
  225. package/dist/client/assets/{wrench-BBIgGxy9.js → wrench-36WYdK_a.js} +1 -1
  226. package/dist/client/index.html +1 -1
  227. package/dist/collectUint8StreamText-BAUF-vzz.mjs +37 -0
  228. package/dist/collectUint8StreamText-vagpNUMJ.cjs +42 -0
  229. package/dist/deviceHostWorker-C-BSnmkn.mjs +167 -0
  230. package/dist/deviceHostWorker-CYnrwfrv.cjs +169 -0
  231. package/dist/git-C4iJMbBu.mjs +132 -0
  232. package/dist/git-irmB8_k7.cjs +218 -0
  233. package/dist/{makeManagedServerProvider-CwYhl_P-.mjs → makeManagedServerProvider-BINne1KE.mjs} +3 -38
  234. package/dist/{makeManagedServerProvider-Dy2Ny9tk.cjs → makeManagedServerProvider-DGbd8BhM.cjs} +1 -60
  235. package/dist/resource-monitor/ryco-resource-monitor +0 -0
  236. package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
  237. package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
  238. package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
  239. package/dist/runtimeSession-Bj0OUcNJ.cjs +63 -0
  240. package/dist/runtimeSession-CA6cLWg0.mjs +40 -0
  241. package/dist/schemaJson-CaG1bOvo.mjs +49 -0
  242. package/dist/schemaJson-CuhFxa8p.cjs +66 -0
  243. package/dist/{collectUint8StreamText-whblCEfg.cjs → src-BlzIcnVG.cjs} +522 -116
  244. package/dist/{collectUint8StreamText-CE1Re5Ij.mjs → src-DtEOcXdl.mjs} +350 -94
  245. package/package.json +1 -1
  246. package/dist/AcpNativeLogging-CA6XYzIS.cjs +0 -5130
  247. package/dist/AcpNativeLogging-D4-VoHrq.mjs +0 -5015
  248. package/dist/client/assets/AccountSettings-Bv57-JYy.js +0 -1
  249. package/dist/client/assets/AiFocusSettings-DCPHmJpA.js +0 -1
  250. package/dist/client/assets/AppearanceSettings-EmTrtb_U.js +0 -1
  251. package/dist/client/assets/ChatRightPanel-C1VD6GCV.js +0 -194
  252. package/dist/client/assets/CommandPaletteDialog-B_f3fKp7.js +0 -1
  253. package/dist/client/assets/CompositeRoot-B40iitmH.js +0 -1
  254. package/dist/client/assets/ConnectionsSettings-B9nfvgLG.js +0 -7
  255. package/dist/client/assets/ContextHandoffEndpointLabel-BSQOArMR.js +0 -4
  256. package/dist/client/assets/DialogRoot-CY6ZzEUS.js +0 -1
  257. package/dist/client/assets/DialogTrigger-CIeVAA-a.js +0 -1
  258. package/dist/client/assets/DraftChatThreadRouteView-DMIGMESb.js +0 -1
  259. package/dist/client/assets/McpServersSettings-CPeNF8_u.js +0 -6
  260. package/dist/client/assets/MobileSheet-BZo-RAfm.js +0 -1
  261. package/dist/client/assets/OpinionatedPluginsSettings-D8A1CbMG.js +0 -1
  262. package/dist/client/assets/PhoneHome-BTKOPVjw.js +0 -1
  263. package/dist/client/assets/ProvidersSettingsPanel-ldDCPVIY.js +0 -1
  264. package/dist/client/assets/RootAppShell-CzmEWO9w.js +0 -7
  265. package/dist/client/assets/Separator-BhAVTIOc.js +0 -1
  266. package/dist/client/assets/SettingsDialog-ByXgBN0U.js +0 -2
  267. package/dist/client/assets/SettingsPanels-Bgf4vkrJ.js +0 -3
  268. package/dist/client/assets/SourceControlSettings-dKw0FaN1.js +0 -1
  269. package/dist/client/assets/StatisticsPage-C2RuqDIK.js +0 -1
  270. package/dist/client/assets/StatisticsPanel-DqoXnrhQ.js +0 -1
  271. package/dist/client/assets/StatisticsSettingsLink-C_f31sb4.js +0 -1
  272. package/dist/client/assets/ThreadWorkspacePanel-BvRZIxZQ.js +0 -2073
  273. package/dist/client/assets/authorization-7xVVtCBu.js +0 -1
  274. package/dist/client/assets/badge-DnBuGHGL.js +0 -1
  275. package/dist/client/assets/chevron-right-CITtTwME.js +0 -1
  276. package/dist/client/assets/editorPreferences-Bg624RVT.js +0 -1
  277. package/dist/client/assets/kbd-4-4mGdIa.js +0 -1
  278. package/dist/client/assets/main-CC-U8LrA.css +0 -2
  279. package/dist/client/assets/main-CzDOnLFw.js +0 -9
  280. package/dist/client/assets/primary-CjhRI8fe.js +0 -2
  281. package/dist/client/assets/providerDriverMeta-BVHpFupf.js +0 -1
  282. package/dist/client/assets/providerModels-BsybzP4P.js +0 -1
  283. package/dist/client/assets/radio-group-C8qudOQH.js +0 -2
  284. package/dist/client/assets/runtime-Bxg7k81u.js +0 -17
  285. package/dist/client/assets/sidebarProjectFolders-BH8XBqNe.js +0 -4
  286. package/dist/client/assets/src-Bi-5Nw9C.js +0 -14
  287. package/dist/client/assets/switch-CEJEmLe7.js +0 -48
  288. package/dist/client/assets/tooltip-B7Z4qomY.js +0 -1
  289. package/dist/client/assets/useAppSidebarCollapsed-wq6czkNJ.js +0 -1
  290. package/dist/client/assets/useBaseUiId-OYaGjnkh.js +0 -1
  291. package/dist/client/assets/useLabelableId-VMc-yITe.js +0 -1
  292. package/dist/client/assets/useNavigate-DVi0rBlf.js +0 -1
  293. package/dist/client/assets/usePhoneThreadActions-CwwHikjB.js +0 -1
  294. package/dist/client/assets/usePopupViewport-BcSIK_ph.js +0 -1
  295. package/dist/client/assets/useScrollLock-BQf9VYJT.js +0 -1
  296. package/dist/client/assets/useStatistics-DczKdEfy.js +0 -55
  297. package/dist/client/assets/useTriggerFocusGuards-DjP-D0_a.js +0 -1
  298. package/dist/client/assets/useValueChanged-CRwCkFdy.js +0 -1
  299. package/dist/client/assets/workspaceMetadataProjection-j3BGlVOB.js +0 -1
@@ -0,0 +1 @@
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{hs as n}from"./runtime-BKneT96Q.js";var r=e(t(),1).forwardRef(function(e,t){let{className:r,render:i,orientation:a=`horizontal`,style:o,...s}=e;return n(`div`,e,{state:{orientation:a},ref:t,props:[{role:`separator`,"aria-orientation":a},s]})});export{r as t};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/main-BNPtp9Z0.css"])))=>i.map(i=>d[i]);
2
+ import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./index-7MTgf8YI.js";import{G as r,K as i,i as a}from"./primary-CNUdEGcv.js";import{ai as o,ni as s,t as c}from"./src-DPpEXU6w.js";import{$ as l,Br as u,Fa as d,Hr as f,I as p,J as m,K as h,Lr as g,Nn as _,P as v,Q as y,_l as b,ar as x,b as S,gl as C,hl as w,ir as T,ml as E,ol as D,pl as O,q as ee,vl as te}from"./runtime-BKneT96Q.js";import{Ft as ne,Gn as k,It as re,Kn as ie,Qn as ae,Wn as oe,Zn as se,kt as ce,lr as le,qn as A}from"./switch-LahPAvrd.js";import{t as j}from"./compiler-runtime-qmuS0Svy.js";import{a as M,n as ue,o as N,s as P}from"./badge-BjvTY7-E.js";import{t as F}from"./activity-BmRcsTyL.js";import{d as I,f as de,l as L,n as R,r as fe,t as z,u as pe}from"./SettingsPanels-DtWLQDne.js";import{v as me}from"./RootAppShell-D2RjZ9jQ.js";import{t as he}from"./chart-column-C08MuLgY.js";import{q as B}from"./ContextHandoffEndpointLabel-CsF_maM_.js";import{t as V}from"./sparkles-DAXDXp_s.js";import{t as ge}from"./palette-B_6C4fD6.js";import{R as _e}from"./sidebarProjectFolders-CQbpO9ZI.js";import{t as ve}from"./shield-Zn2kFj5M.js";import{t as ye}from"./user-round-DEWIPpNs.js";import{o as be}from"./authorization-B1YXfej3.js";import{o as xe,t as Se}from"./desktopWorkspace-DVfn9ZT_.js";import{t as Ce}from"./scroll-area-Cq4SX9P8.js";import{t as we}from"./capabilities-BCkDNe83.js";import{i as Te,r as H}from"./settingsLayout-DQERzSce.js";import{i as Ee}from"./hubRoutes-D3quWvU7.js";import{t as U}from"./HostedNodeRenameDialog-Bd_Qu_ek.js";import{It as De,Lt as Oe}from"./main-CGeD6yVE.js";var W=j(),G=e(t(),1),K=te();function q(){let e=b(),[t,n]=(0,G.useState)(!1),[r,i]=(0,G.useState)(null);if(!e)return null;let a=e.serverConfig,o=a?.environment.capabilities.environmentIcon===!0,c=e.connected&&e.canManage!==!1&&e.canMutate!==!1&&o,l=ie(a),u=a?.settings.environmentIcon??`automatic`;return(0,K.jsx)(H,{title:`Device icon`,scope:e.nodeLabel,description:`Shown across mobile, desktop, and web. Automatic uses the device’s name and operating system.`,control:(0,K.jsxs)(ue,{value:u,disabled:!c||t,onValueChange:async r=>{if(c&&!t&&r!==null){n(!0),i(null);try{await S(e.environmentId,{environmentIcon:r===`automatic`?null:r})}catch{i(`Could not save the icon for ${e.nodeLabel}. Reconnect and try again.`)}finally{n(!1)}}},children:[(0,K.jsxs)(P,{"aria-label":`Device icon for ${e.nodeLabel}`,className:`w-48`,children:[(0,K.jsx)(A,{kind:l,className:`size-4`}),(0,K.jsx)(`span`,{children:u===`automatic`?`Automatic · ${k[l]}`:k[l]})]}),(0,K.jsxs)(N,{children:[(0,K.jsx)(M,{value:`automatic`,children:`Automatic`}),s.map(e=>(0,K.jsx)(M,{value:e,children:(0,K.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,K.jsx)(A,{kind:e,className:`size-4`}),k[e]]})},e))]})]}),status:r?(0,K.jsx)(`span`,{role:`alert`,children:r}):e.connected?o?c?void 0:(0,K.jsx)(`span`,{children:`Your access does not allow changing this device’s settings.`}):(0,K.jsx)(`span`,{children:`Update this device to enable icon selection.`}):(0,K.jsxs)(`span`,{children:[`Connect to `,e.nodeLabel,` to change its icon.`]})})}function ke(){let e=(0,W.c)(39),t=b(),n=a(),o=xe(),s=v(Ae),[c,l]=(0,G.useState)(!1);if(!t)return null;let d=r&&t.environmentId===n?.environmentId?o.localEnvironmentId:t.environmentId,f;if(e[0]!==d||e[1]!==o.machines){let t;e[3]===d?t=e[4]:(t=e=>e.environmentId===d,e[3]=d,e[4]=t),f=o.machines.find(t),e[0]=d,e[1]=o.machines,e[2]=f}else f=e[2];let m=f,h;if(e[5]!==d||e[6]!==s){let t;e[8]===d?t=e[9]:(t=e=>e.environmentId===d,e[8]=d,e[9]=t),h=s.find(t),e[5]=d,e[6]=s,e[7]=h}else h=e[7];let g=h,_;e[10]!==m?.canRename||e[11]!==g?(_=r?m?.canRename===!0&&!!window.desktopBridge?.renameDesktopWorkspaceDevice:i()&&g?.effectiveRole===`owner`&&g.revokedAt===null,e[10]=m?.canRename,e[11]=g,e[12]=_):_=e[12];let y=_,x;e[13]!==m||e[14]!==g?(x=async e=>{if(r&&m&&window.desktopBridge?.renameDesktopWorkspaceDevice)await window.desktopBridge.renameDesktopWorkspaceDevice({environmentId:m.environmentId,label:e});else if(i()&&g)await p.renameNode(g.id,e),await be.refreshDirectory();else throw Error(`Connect this device to your Hub to customize its name.`)},e[13]=m,e[14]=g,e[15]=x):x=e[15];let S=x,C;e[16]===y?C=e[17]:(C=y?(0,K.jsx)(u,{variant:`outline`,onClick:()=>l(!0),children:`Rename device`}):void 0,e[16]=y,e[17]=C);let w;e[18]!==y||e[19]!==d||e[20]!==m||e[21]!==g?(w=y?void 0:(0,K.jsx)(`span`,{children:d&&(m||g)?`Only the device owner can change its name.`:`Connect to your Hub to customize the device name.`}),e[18]=y,e[19]=d,e[20]=m,e[21]=g,e[22]=w):w=e[22];let T;e[23]!==C||e[24]!==w||e[25]!==t.nodeLabel?(T=(0,K.jsx)(H,{title:`Device name`,scope:t.nodeLabel,description:`Shown to everyone who can access this device. Renaming keeps its projects, conversations, and connections.`,control:C,status:w}),e[23]=C,e[24]=w,e[25]=t.nodeLabel,e[26]=T):T=e[26];let E;e[27]===t.environmentId?E=e[28]:(E=(0,K.jsx)(q,{},t.environmentId),e[27]=t.environmentId,e[28]=E);let D;e[29]!==y||e[30]!==S||e[31]!==c||e[32]!==t.environmentId||e[33]!==t.nodeLabel?(D=y&&(0,K.jsx)(U,{node:{label:t.nodeLabel},open:c,onOpenChange:l,onRename:S},t.environmentId),e[29]=y,e[30]=S,e[31]=c,e[32]=t.environmentId,e[33]=t.nodeLabel,e[34]=D):D=e[34];let O;return e[35]!==T||e[36]!==E||e[37]!==D?(O=(0,K.jsxs)(Te,{title:`Device`,owner:`node`,className:`mx-6 mt-5 mb-3`,children:[T,E,D]}),e[35]=T,e[36]=E,e[37]=D,e[38]=O):O=e[38],O}function Ae(e){return e.nodes}function je(e,t,n){let[r,i]=(0,G.useState)(null),[a,o]=(0,G.useState)([]),[s,c]=(0,G.useState)(null);return(0,G.useEffect)(()=>{if(!r)return;let e=new WeakMap,i=0,a=[],s=()=>{let e=r.getBoundingClientRect().top+64,t=a.findLast(t=>t.element.getBoundingClientRect().top<=e)??a[0];c(t?.element??null)},l=!1,u=()=>{if(a=t?[]:Array.from(r.querySelectorAll(`[data-settings-section]`)).map(t=>(e.has(t)||e.set(t,`section-${++i}`),{id:e.get(t),title:t.dataset.settingsSection,element:t})),o(e=>e.length===a.length&&e.every((e,t)=>e.element===a[t]?.element&&e.title===a[t]?.title)?e:a),n&&!t&&!l){let e=Array.from(r.querySelectorAll(`h2, h3, [id], [data-settings-section]`)).find(e=>e.id===n||e.dataset.settingsSection===n||e.textContent?.trim()===n);e&&(l=!0,e.scrollIntoView({block:`center`}),e.tabIndex=-1,e.focus({preventScroll:!0}))}s()};u();let d=new MutationObserver(u);return d.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`data-settings-section`,`aria-current`]}),r.addEventListener(`scroll`,s,!0),()=>{d.disconnect(),r.removeEventListener(`scroll`,s,!0)}},[r,e,t,n]),{contentRef:i,sections:a,active:s}}var Me=[{section:`appearance`,title:`Diff style`,owner:`client`,description:`Preview unified and split layouts for code changes.`,keywords:`diff design side by side stacked layout`},{section:`integrations`,title:`Browser Use`,owner:`client`,description:`Pair browsers and manage agent access to local tabs.`,keywords:`chrome brave edge browser extension`,desktopCapability:`computerUse`},{section:`general`,title:`Quit shortcut`,owner:`client`,description:`Prevent accidental quits: press twice, hold, or quit immediately.`,keywords:`ctrl cmd q exit desktop`,desktopCapability:`quitShortcut`},{section:`general`,title:`Device name`,owner:`node`,description:`Rename the selected device for everyone who can access it.`,keywords:`machine hostname node name rename`},{section:`integrations`,title:`Device permissions`,owner:`node`,description:`Manage permissions on the selected device or learn where local approval is required.`,keywords:`computer use accessibility screen recording capture device local remote`},{section:`integrations`,desktopCapability:`computerUse`,title:`Computer use`,owner:`client`,description:`Control local apps and browsers, manage permissions, and pair a browser.`,keywords:`accessibility screen recording capture cursor chrome brave edge app access foreground automation`},{section:`inbox`,title:`AI Focus`,owner:`client`,description:`Prioritize the Inbox with bounded, environment-local model ranking.`,keywords:`priority sort active threads model ranking focus refresh`},{section:`inbox`,title:`AI Focus models`,owner:`node`,description:`Choose or inherit the ranking model for each connected environment.`,keywords:`provider node disclosure privacy data`},{section:`general`,title:`Time format`,owner:`client`,description:`System default, 12-hour or 24-hour clock.`,keywords:`clock hours`},{section:`general`,title:`Default editor`,owner:`client`,description:`Pin which editor opens directories and files.`,keywords:`vscode cursor open in`},{section:`source-control`,title:`Diff line wrapping`,owner:`client`,description:`Default wrap state when the diff panel opens.`,keywords:`word wrap`},{section:`source-control`,title:`Hide whitespace changes`,owner:`client`,description:`Whether the diff panel ignores whitespace-only edits.`,keywords:`diff`},{section:`source-control`,title:`Remote Git status`,owner:`client`,description:`Refresh remote branch and pull request metadata.`,keywords:`git polling refresh remote`},{section:`source-control`,title:`PR & workflow updates`,owner:`client`,description:`Choose automatic, reduced, or manual pull request and workflow refreshes.`,keywords:`github actions checks ci polling refresh`},{section:`general`,title:`Stream token by token (legacy)`,owner:`node`,description:`Compatibility mode for token-by-token assistant output.`,keywords:`token streaming assistant output streaming tokens buffered`,targetId:`legacy-token-streaming`},{section:`general`,title:`Provider update checks`,owner:`node`,description:`Check installed provider CLIs for newer versions.`,keywords:`upgrade cli`},{section:`general`,title:`Auto-open overview`,owner:`client`,description:`Open the overview when plans or progress appear.`,keywords:`panel plan`},{section:`general`,title:`New threads`,owner:`node`,description:`Default workspace mode for newly created drafts.`,keywords:`local worktree draft`},{section:`general`,title:`Worktree branch prefix`,owner:`node`,description:`Default prefix for generated worktree branches on this device.`,keywords:`git namespace branch naming ryco`},{section:`general`,title:`Add project starts in`,owner:`node`,description:`Starting directory for the Add Project browser.`,keywords:`folder path`},{section:`general`,title:`Archive confirmation`,owner:`client`,description:`Ask before archiving a thread.`,keywords:`confirm`},{section:`general`,title:`Delete confirmation`,owner:`client`,description:`Ask before deleting a thread.`,keywords:`confirm remove`},{section:`general`,title:`Unpin confirmation`,owner:`client`,description:`Ask before removing a thread from pinned threads.`,keywords:`confirm pin unpin favorite`},{section:`general`,title:`Update track`,owner:`client`,description:`Which release channel the app follows.`,keywords:`beta stable release channel`},{section:`appearance`,title:`Interface font`,owner:`client`,description:`Normal app text, navigation, dialogs, and controls.`,keywords:`typeface dm sans inter geist`},{section:`appearance`,title:`Code font`,owner:`client`,description:`Code blocks, diffs, file paths, and terminal surfaces.`,keywords:`monospace jetbrains fira`},{section:`appearance`,title:`Text size`,owner:`client`,description:`Scale the interface independently from the theme.`,keywords:`zoom font size compact`},{section:`appearance`,title:`Corner radius`,owner:`client`,description:`Rounding for panels, buttons, inputs, and menus.`,keywords:`round square`},{section:`appearance`,title:`Primary color`,owner:`client`,description:`Accent color for links, focus rings, and actions.`,keywords:`accent custom violet amber`},{section:`appearance`,title:`Transparency`,owner:`client`,description:`Glass and floating surfaces like dialogs, menus, popups.`,keywords:`glass blur liquid material solid`},{section:`appearance`,title:`Theme palette`,owner:`client`,description:`Built-in and custom color themes; import and export.`,keywords:`dark midnight graphite nord dracula catppuccin`},{section:`general`,title:`Auto-collapse wide composer labels`,owner:`client`,description:`Show long composer mode labels only on hover or focus.`,keywords:`chips`},{section:`general`,title:`Always use Build mode`,owner:`client`,description:`Hide the mode selector and send every turn in Build mode.`,keywords:`composer`},{section:`appearance`,title:`Color mode`,owner:`client`,description:`Light, dark, or follow the system preference.`,keywords:`color mode dark light`},{section:`providers`,title:`Provider instances`,owner:`node`,description:`Configure Codex, Claude, Copilot, OpenCode, and Cursor.`,keywords:`api model driver accent`},{section:`integrations`,title:`Private Agent Control`,owner:`node`,description:`Pair local Codex or Claude MCP clients with scoped, revocable access.`,keywords:`model context protocol tools pairing codex claude approval agent control`},{section:`mcp-servers`,title:`MCP Servers`,owner:`node`,description:`Manage Codex, Claude, and other provider-native MCP servers.`,keywords:`model context protocol tools add server oauth profiles providers`},{section:`keybindings`,title:`Keybindings file`,owner:`node`,description:`Customize shortcuts via the keybindings configuration file.`,keywords:`shortcuts hotkeys keyboard`},{section:`source-control`,title:`Version Control`,owner:`node`,description:`Git behavior and defaults.`,keywords:`git commit`},{section:`source-control`,title:`Source Control Providers`,owner:`node`,description:`GitHub and other source control provider connections.`,keywords:`github pr pull request`},{section:`connections`,title:`Network access`,owner:`client`,description:`Expose the local backend on your network.`,keywords:`lan host remote`},{section:`connections`,title:`Pairing link`,owner:`client`,description:`Scan to open this backend on another device.`,keywords:`qr code phone mobile`},{section:`connections`,title:`Tailscale HTTPS`,owner:`client`,description:`Serve over your tailnet with HTTPS.`,keywords:`vpn remote`},{section:`connections`,title:`Authorized clients`,owner:`client`,description:`Devices and sessions allowed to connect.`,keywords:`revoke tokens`},{section:`security`,title:`Session code`,owner:`node`,description:`Compare this browser's channel against the one your node's CLI shows.`,keywords:`security verification websas e2ee compare short authentication string`},{section:`security`,title:`Enrollment fingerprint`,owner:`node`,description:`This node's identity, and the prekey and continuity behind it.`,keywords:`security e2ee key fingerprint rotate lineage`},{section:`security`,title:`Authorized client keys`,owner:`node`,description:`Approve, reduce, revoke, or delete a client key, and open a pairing window.`,keywords:`security e2ee pairing fingerprint refused attempts`},{section:`security`,title:`Admission policy`,owner:`node`,description:`Require E2EE, require approved clients, and advance the policy generation.`,keywords:`security e2ee strict fallback plaintext`},{section:`diagnostics`,title:`Diagnostics`,owner:`node`,description:`Logs, tracing, resource history, and live activity.`,keywords:`debug performance slow`},{section:`diagnostics`,title:`Test notification`,owner:`client`,description:`Fire sample notifications to preview the toast design and stacking.`,keywords:`toast notifications preview trigger sample`},{section:`statistics`,title:`Statistics`,owner:`node`,description:`Usage activity and history.`,keywords:`heatmap usage tokens`},{section:`archived`,title:`Archive`,owner:`node`,description:`Archived threads; restore or delete permanently.`,keywords:`trash restore`}],Ne=[{id:`account`,label:`Account`,icon:ye},{id:`general`,label:`General`,icon:_e},{id:`inbox`,label:`Inbox`,icon:V},{id:`providers`,label:`Providers`,icon:de},{id:`opinionated-plugins`,label:`Plugins`,icon:L},{id:`mcp-servers`,label:`MCP`,icon:se},{id:`integrations`,label:`Integrations`,icon:L},{id:`appearance`,label:`Appearance`,icon:ge},{id:`keybindings`,label:`Keybindings`,icon:I},{id:`source-control`,label:`Source Control`,icon:le},{id:`connections`,label:`Connections`,icon:pe},{id:`security`,label:`Node security`,icon:ve},{id:`diagnostics`,label:`Diagnostics`,icon:F},{id:`statistics`,label:`Statistics`,icon:he},{id:`archived`,label:`Archive`,icon:me}];Ne.map(e=>e.id),new Map(Ne.map(e=>[e.id,e.label]));var J=(0,G.lazy)(()=>n(()=>import(`./AccountSettings-DLbcE2w-.js`).then(e=>({default:e.AccountSettingsPanel})),__vite__mapDeps([0]))),Y=(0,G.lazy)(()=>n(()=>import(`./ProvidersSettingsPanel-BaJgypXu.js`).then(e=>({default:e.ProvidersSettingsPanel})),__vite__mapDeps([0]))),X=(0,G.lazy)(()=>n(()=>import(`./AiFocusSettings-FKvdkl4P.js`).then(e=>({default:e.AiFocusSettings})),__vite__mapDeps([0]))),Z=(0,G.lazy)(()=>n(()=>import(`./OpinionatedPluginsSettings-oTIrPtIb.js`).then(e=>({default:e.OpinionatedPluginsSettingsPanel})),__vite__mapDeps([0]))),Pe=(0,G.lazy)(()=>n(()=>import(`./IntegrationsSettingsPanel-J0qODRW-.js`).then(e=>({default:e.IntegrationsSettingsPanel})),__vite__mapDeps([0]))),Q=(0,G.lazy)(()=>n(()=>import(`./McpServersSettings-1pkIeutq.js`).then(e=>({default:e.McpServersSettings})),__vite__mapDeps([0]))),Fe=(0,G.lazy)(()=>n(()=>import(`./AppearanceSettings-B2LsGKmL.js`).then(e=>({default:e.AppearanceSettingsPanel})),__vite__mapDeps([0]))),Ie=(0,G.lazy)(()=>n(()=>import(`./KeybindingsSettings-CwxIHsFy.js`).then(e=>({default:e.KeybindingsSettingsPanel})),__vite__mapDeps([0]))),Le=(0,G.lazy)(()=>n(()=>import(`./SourceControlSettings-IpoZrjt5.js`).then(e=>({default:e.SourceControlSettingsPanel})),__vite__mapDeps([0]))),Re=(0,G.lazy)(()=>n(()=>import(`./ConnectionsSettings-D6wysIC8.js`).then(e=>({default:e.ConnectionsSettings})),__vite__mapDeps([0]))),ze=(0,G.lazy)(()=>n(()=>import(`./NodeSecuritySettings-BOIZeFZo.js`).then(e=>({default:e.NodeSecuritySettings})),__vite__mapDeps([0]))),$=(0,G.lazy)(()=>n(()=>import(`./DiagnosticsSettings-Bq2l-C4J.js`).then(e=>({default:e.DiagnosticsSettings})),[])),Be=(0,G.lazy)(()=>n(()=>import(`./StatisticsSettingsLink-bGWuxNG3.js`).then(e=>({default:e.StatisticsSettingsLink})),__vite__mapDeps([0])));function Ve(e){let t=(0,W.c)(6),{onRestored:n}=e,{changedSettingLabels:r,restoreDefaults:i}=fe(n),a=r.length===0,o;t[0]===i?o=t[1]:(o=()=>void i(),t[0]=i,t[1]=o);let s;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,K.jsx)(B,{className:`size-3.5`}),t[2]=s):s=t[2];let c;return t[3]!==a||t[4]!==o?(c=(0,K.jsxs)(u,{size:`xs`,variant:`outline`,disabled:a,onClick:o,children:[s,`Restore defaults`]}),t[3]=a,t[4]=o,t[5]=c):c=t[5],c}function He(e){let t=(0,W.c)(49),{section:n,searchTargetId:r}=e,a=C(),o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,K.jsx)(`div`,{className:`flex min-h-80 items-center justify-center text-muted-foreground text-sm`,children:`Loading settings...`}),t[0]=o):o=t[0];let s;t[1]===n?s=t[2]:(s=n===`account`?(0,K.jsx)(J,{}):null,t[1]=n,t[2]=s);let c;t[3]!==r||t[4]!==n?(c=n===`general`?(0,K.jsx)(R,{searchTargetId:r}):null,t[3]=r,t[4]=n,t[5]=c):c=t[5];let l;t[6]===n?l=t[7]:(l=n===`inbox`?(0,K.jsx)(X,{}):null,t[6]=n,t[7]=l);let d;t[8]===n?d=t[9]:(d=n===`providers`?(0,K.jsx)(Y,{}):null,t[8]=n,t[9]=d);let f;t[10]===n?f=t[11]:(f=n===`opinionated-plugins`?(0,K.jsx)(Z,{}):null,t[10]=n,t[11]=f);let p;t[12]===n?p=t[13]:(p=n===`mcp-servers`?(0,K.jsx)(Q,{}):null,t[12]=n,t[13]=p);let m;t[14]===n?m=t[15]:(m=n===`integrations`?(0,K.jsx)(Pe,{}):null,t[14]=n,t[15]=m);let h;t[16]===n?h=t[17]:(h=n===`appearance`?(0,K.jsx)(Fe,{}):null,t[16]=n,t[17]=h);let g;t[18]===n?g=t[19]:(g=n===`keybindings`?(0,K.jsx)(Ie,{}):null,t[18]=n,t[19]=g);let _;t[20]===n?_=t[21]:(_=n===`source-control`?(0,K.jsx)(Le,{}):null,t[20]=n,t[21]=_);let v;t[22]!==a||t[23]!==n?(v=n===`connections`?a===`node`||i()?(0,K.jsxs)(`div`,{className:`space-y-5 p-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-1`,children:[(0,K.jsx)(`h1`,{className:`text-base font-semibold`,children:`Connections`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Ryco manages your connection automatically. Advanced details for this node are available below.`})]}),(0,K.jsxs)(u,{variant:`outline`,onClick:Ue,children:[(0,K.jsx)(ve,{className:`size-4`}),`Device security · Advanced`]})]}):(0,K.jsx)(Re,{}):null,t[22]=a,t[23]=n,t[24]=v):v=t[24];let y;t[25]===n?y=t[26]:(y=n===`security`?(0,K.jsx)(ze,{}):null,t[25]=n,t[26]=y);let b;t[27]===n?b=t[28]:(b=n===`diagnostics`?(0,K.jsx)($,{}):null,t[27]=n,t[28]=b);let x;t[29]===n?x=t[30]:(x=n===`statistics`?(0,K.jsx)(Be,{}):null,t[29]=n,t[30]=x);let S;t[31]===n?S=t[32]:(S=n===`archived`?(0,K.jsx)(z,{}):null,t[31]=n,t[32]=S);let w;return t[33]!==g||t[34]!==_||t[35]!==v||t[36]!==y||t[37]!==b||t[38]!==x||t[39]!==S||t[40]!==s||t[41]!==c||t[42]!==l||t[43]!==d||t[44]!==f||t[45]!==p||t[46]!==m||t[47]!==h?(w=(0,K.jsxs)(G.Suspense,{fallback:o,children:[s,c,l,d,f,p,m,h,g,_,v,y,b,x,S]}),t[33]=g,t[34]=_,t[35]=v,t[36]=y,t[37]=b,t[38]=x,t[39]=S,t[40]=s,t[41]=c,t[42]=l,t[43]=d,t[44]=f,t[45]=p,t[46]=m,t[47]=h,t[48]=w):w=t[48],w}function Ue(){return h.getState().setSection(`security`)}function We(){let e=d({strict:!1,select:e=>g(e)?.environmentId??null}),t=a(),n=D(),s=_(e=>e.activeEnvironmentId),p=xe(),b=h(e=>e.open),S=h(e=>e.section),C=h(e=>e.editingScope),te=h(e=>e.setEditingScope),k=h(e=>e.setTargetEnvironmentId),ie=T(e=>e.byId),se=we(c.serverUpdateSettings),le=h(e=>e.targetEnvironmentId),A=h(e=>e.closeSettings),j=h(e=>e.setSection),M=i()?t?.environmentId??null:w({requestedEnvironmentId:le,routedEnvironmentId:e,activeEnvironmentId:s,primaryEnvironmentId:t?.environmentId??null,desktopLocalEnvironmentId:r?p.localEnvironmentId:null}),ue=T(e=>M?e.byId[M]??null:null),N=x(e=>M?e.byId[M]??null:null),P=M!==null&&M===t?.environmentId,F=M?p.machines.find(e=>e.environmentId===M)??null:null,I=P?n:N?.serverConfig??null,de=Oe(),L=De(),R=Oe(M,P?t?.label??I?.environment.label:N?.descriptor?.label??I?.environment.label??ue?.label),fe=F?F.canConnect?F.effectiveRole:null:N?.role===`owner`?`owner`:N?.role?`viewer`:null,z=M?{environmentId:M,nodeLabel:R,serverConfig:I,primary:P,canManage:P?!i():fe===`owner`,canMutate:P||(F?F.canMutate:N?.role===`owner`||N?.role===`client`),connected:I!==null&&(P||N?.connectionState===`connected`||F?.connectionState===`connected`)}:null;(0,G.useEffect)(()=>{if(b&&C===`node`&&r&&M&&!P)return Se(M)},[b,C,M,P]);let pe=v(e=>e.effectiveRole),me=v(e=>e.directoryStatus),he=v(e=>e.transportStatus),B=i(),V=ee(me,he),_e=m(pe,me,he),be=B?_e:P?`owner`:fe,Te=z?{...z,canManage:z.connected&&(B?_e===`owner`&&V&&se.allowed:z.canManage===!0)}:null,H=new Map;t&&H.set(t.environmentId,de);for(let e of Object.values(ie))t&&e.environmentId===p.localEnvironmentId||H.set(e.environmentId,e.label);for(let e of p.machines)t&&e.environmentId===p.localEnvironmentId||H.set(e.environmentId,e.label);M&&H.set(M,R);let U=Ne.filter(e=>y(e.id,C,r&&!!window.desktopBridge?.computerUse)?C===`client`?e.id!==`connections`||!B:l(e.id===`connections`?`security`:e.id,{hosted:B||!P,role:z?.connected?be:null,desktop:!1}):!1),W=S===`computer-use`&&window.desktopBridge?.computerUse?`integrations`:S,q=U.some(e=>e.id===W)?W:U[0]?.id??`appearance`,Ae=C===`node`?R:L;(0,G.useEffect)(()=>{(!B||V)&&b&&S!==q&&j(q)},[q,B,b,V,S,j]);let[J,Y]=(0,G.useState)(``),[X,Z]=(0,G.useState)(null);(0,G.useEffect)(()=>{b||(Y(``),Z(null))},[b]);let Pe=new Set(U.map(e=>e.id)),Q=J.trim().toLowerCase(),Fe=Q.length===0?[]:Me.filter(e=>Pe.has(e.section)&&e.owner===C&&(!e.desktopCapability||!!window.desktopBridge?.[e.desktopCapability])&&`${e.title} ${e.description} ${e.keywords??``}`.toLowerCase().includes(Q)),[Ie,Le]=(0,G.useState)(0),Re=(0,G.useCallback)(()=>{Le(e=>e+1)},[]),ze=q===`general`,$=je(`${b}:${q}`,Q.length>0,X);return(0,K.jsx)(ce,{open:b,onOpenChange:e=>{e||A()},children:(0,K.jsx)(O,{value:C,children:(0,K.jsx)(E,{value:C===`node`?Te:null,children:(0,K.jsxs)(ne,{className:`project-glass-surface h-[min(88dvh,880px)] max-w-[1180px] overflow-hidden p-0`,bottomStickOnMobile:!1,showCloseButton:!0,surface:`glass`,children:[(0,K.jsxs)(`header`,{className:`flex h-12 shrink-0 items-center justify-between border-b border-border px-5`,children:[(0,K.jsxs)(`div`,{className:`flex min-w-0 items-center gap-4`,children:[(0,K.jsxs)(`div`,{className:`flex shrink-0 items-baseline gap-2`,children:[(0,K.jsx)(re,{className:`text-base font-semibold`,children:`Settings`}),(0,K.jsx)(`span`,{"data-testid":`settings-scope-label`,className:`max-w-48 truncate text-xs text-muted-foreground`,children:Ae})]}),(0,K.jsxs)(`div`,{className:`relative w-72 max-w-[40vw]`,children:[(0,K.jsx)(ae,{"aria-hidden":!0,className:`pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-muted-foreground/60`}),(0,K.jsx)(`input`,{type:`search`,value:J,onChange:e=>{Z(null),Y(e.target.value)},placeholder:`Search settings…`,"aria-label":`Search settings`,className:`h-8 w-full rounded-md border border-input bg-muted/40 pr-3 pl-8 text-[13px] outline-none transition-colors placeholder:text-muted-foreground/60 focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/40`})]})]}),(0,K.jsx)(`div`,{className:`flex shrink-0 items-center gap-2 pr-9`,children:ze?(0,K.jsx)(Ve,{onRestored:Re}):null})]}),(0,K.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-row`,children:[(0,K.jsxs)(`nav`,{className:`relative isolate flex w-12 shrink-0 flex-col gap-1 overflow-y-auto border-r border-border p-2 sm:w-52`,children:[(0,K.jsxs)(`div`,{className:`mb-2 flex flex-col gap-1 border-b pb-2`,role:`group`,"aria-label":`Settings destination`,children:[(0,K.jsxs)(u,{variant:C===`client`?`secondary`:`ghost`,"aria-pressed":C===`client`,onClick:()=>te(`client`),className:`justify-start px-2`,children:[(0,K.jsx)(ge,{className:`size-4 shrink-0`}),(0,K.jsx)(`span`,{className:`hidden sm:inline`,children:`App preferences`})]}),(0,K.jsxs)(u,{variant:C===`node`?`secondary`:`ghost`,"aria-pressed":C===`node`,onClick:()=>te(`node`),disabled:!z,className:`justify-start px-2`,"aria-label":`Device settings: ${R}`,children:[(0,K.jsx)(oe,{environmentId:M,label:R,className:`size-4 shrink-0`}),(0,K.jsx)(`span`,{className:`hidden truncate sm:inline`,children:R})]})]}),C===`node`&&!B&&H.size>1&&(0,K.jsx)(`select`,{"aria-label":`Settings device`,value:M??``,onChange:e=>k(o.make(e.target.value)),className:`mb-2 hidden w-full rounded-md border bg-background p-2 text-xs sm:block`,children:[...H].map(([e,t])=>(0,K.jsx)(`option`,{value:e,children:t},e))}),B&&C===`client`&&(0,K.jsxs)(u,{variant:`ghost`,className:`justify-start px-2`,onClick:()=>{A(),Ee({kind:`account`,section:`overview`})},children:[(0,K.jsx)(ye,{className:`size-4 shrink-0`}),(0,K.jsx)(`span`,{className:`hidden sm:inline`,children:`Hub account`})]}),U.map(e=>{if(e.id===`security`)return null;let t=e.icon,n=q===e.id||e.id===`connections`&&q===`security`;return(0,K.jsxs)(G.Fragment,{children:[(0,K.jsxs)(`button`,{type:`button`,onClick:()=>{Z(null),j(e.id)},className:f(`relative z-10 flex h-9 w-full shrink-0 items-center gap-2.5 rounded-md px-2 text-left text-[13px] outline-hidden ring-ring transition-colors duration-150 focus-visible:ring-2`,n?`bg-accent font-medium text-foreground`:`text-muted-foreground/70 hover:text-foreground/80`),"aria-label":e.label,"aria-current":n?`page`:void 0,children:[(0,K.jsx)(t,{className:f(`size-4 shrink-0`,n?`text-foreground`:`text-muted-foreground/60`)}),(0,K.jsx)(`span`,{className:`hidden truncate sm:inline`,children:e.label})]}),C===`node`&&e.id===`connections`&&n&&Pe.has(`security`)&&(0,K.jsxs)(`button`,{type:`button`,onClick:()=>{Z(null),j(`security`)},"aria-current":q===`security`?`page`:void 0,"aria-label":`Advanced device security`,className:f(`flex items-center gap-2 rounded-md px-2 py-2 text-left text-xs outline-hidden focus-visible:ring-2 focus-visible:ring-ring sm:ml-7`,q===`security`?`bg-accent text-foreground`:`text-muted-foreground hover:text-foreground`),children:[(0,K.jsx)(ve,{className:`size-3.5 shrink-0`}),(0,K.jsx)(`span`,{className:`hidden sm:inline`,children:`Device security · Advanced`})]}),n&&$.sections.length>1&&(0,K.jsx)(`div`,{className:`mb-2 ml-7 hidden flex-col border-l border-border sm:flex`,children:$.sections.map(({id:e,title:t,element:n})=>(0,K.jsx)(`button`,{type:`button`,"aria-current":$.active===n?`location`:void 0,className:f(`rounded-r px-3 py-1.5 text-left text-xs focus-visible:outline-2 focus-visible:outline-ring`,$.active===n?`font-medium text-foreground`:`text-muted-foreground hover:text-foreground`),onClick:()=>{n.hasAttribute(`data-settings-action`)&&n.click(),n.scrollIntoView({block:`start`,behavior:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches?`instant`:`smooth`})},children:t},e))})]},e.id)})]}),(0,K.jsxs)(Ce,{ref:$.contentRef,className:`min-h-0 min-w-0 flex-1`,children:[(0,K.jsx)(`p`,{className:`border-b px-6 py-3 text-xs text-muted-foreground`,"data-testid":`settings-destination-description`,children:C===`client`?`Preferences for ${L}. Appearance and interface changes stay in this app.`:`Settings for ${R}. Changes apply to that device for everyone authorized to use it.`}),Q.length>0?(0,K.jsx)(`div`,{className:`p-4`,children:(0,K.jsx)(`div`,{className:`flex flex-col gap-0.5 rounded-xl border border-border bg-card p-1.5 shadow-sm/4`,children:Fe.length===0?(0,K.jsxs)(`p`,{className:`px-2 py-8 text-center text-sm text-muted-foreground`,children:[`No settings match “`,J.trim(),`”.`]}):Fe.map(e=>{let t=U.find(t=>t.id===e.section)?.label;return(0,K.jsxs)(`button`,{type:`button`,onClick:()=>{Z(e.targetId??e.title),j(e.section),Y(``)},className:`flex flex-col gap-0.5 rounded-md px-3 py-2.5 text-left outline-hidden ring-ring transition-colors hover:bg-accent focus-visible:ring-2`,children:[(0,K.jsxs)(`span`,{className:`flex items-baseline gap-2`,children:[(0,K.jsx)(`span`,{className:`text-sm font-medium`,children:e.title}),t?(0,K.jsx)(`span`,{className:`text-[11px] text-muted-foreground/70`,children:t}):null]}),(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.description})]},`${e.section}:${e.title}`)})})}):(0,K.jsxs)(`div`,{className:`flex flex-col`,children:[C===`node`&&(0,K.jsx)(ke,{},M),C===`node`&&!Te?.connected?(0,K.jsx)(`p`,{className:`p-6 text-sm text-muted-foreground`,children:F&&!F.online?`${R} is offline. Its settings will be available when it reconnects.`:F?.canConnect?`Connecting to ${R}…`:`Connect to ${R} to manage its settings.`}):C===`node`&&U.length===0?(0,K.jsxs)(`p`,{className:`p-6 text-sm text-muted-foreground`,children:[`Your access to `,R,` does not allow changing node settings.`]}):(0,K.jsx)(He,{section:q,searchTargetId:X})]},Ie)]})]})]})})})})}export{We as SettingsDialog};
@@ -0,0 +1,3 @@
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{Bt as n,G as r}from"./primary-CNUdEGcv.js";import{G as i,Kl as a,T as o,j as s,mt as c,xa as l}from"./src-DPpEXU6w.js";import{$c as u,Ac as d,An as f,Ar as p,Br as m,Hr as h,Jo as g,Mc as _,Nl as v,Nn as y,Pa as b,Pr as x,Qc as S,To as C,V as w,Vo as T,X as E,Xo as D,_l as O,_r as k,_s as A,al as j,bn as M,bo as N,br as P,ds as F,fc as I,fs as L,gl as R,hs as z,kr as ee,or as te,qc as B,sr as ne,uc as re,ul as ie,vl as ae,vs as oe,zc as se}from"./runtime-BKneT96Q.js";import{Dn as ce,Rt as le,Yt as ue,t as V}from"./switch-LahPAvrd.js";import{t as de}from"./compiler-runtime-qmuS0Svy.js";import{T as fe}from"./usePopupViewport-w8BEny9j.js";import{i as pe,n as me,t as he}from"./tooltip-B8-izeMo.js";import{a as H,c as ge,n as _e,o as ve,s as ye}from"./badge-BjvTY7-E.js";import{c as be,d as xe,f as Se,l as Ce,p as we,s as U,u as Te,v as Ee}from"./RootAppShell-D2RjZ9jQ.js";import{t as De}from"./chevron-right-DgB53U1_.js";import{n as Oe,t as ke}from"./SettingsPanels.editor-DJRckD71.js";import{r as Ae,t as je}from"./editorPreferences-2dG4uloq.js";import{t as W}from"./toastHelpers-CSQRKo4F.js";import{t as Me}from"./useBaseUiId-BtuL7q77.js";import{t as Ne}from"./useControlled-DQwgzrEC.js";import{t as Pe}from"./input-CfVJycb1.js";import{t as Fe}from"./capabilities-BCkDNe83.js";import{t as Ie}from"./usePresentationTier-B_SCFvN7.js";import{t as Le}from"./useLongPress-DG1W7YqV.js";import{t as Re}from"./useTheme-CVNauCtz.js";import{a as ze,i as Be,o as Ve,r as He,t as Ue}from"./empty-6LExKYgQ.js";import{i as G,n as We,r as K,t as q}from"./settingsLayout-DQERzSce.js";import{C as Ge,Ft as Ke,It as qe}from"./main-CGeD6yVE.js";var Je={name:`archive-x`,size:24,node:[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`m9.5 17 5-5`,key:`nakeu6`}],[`path`,{d:`m9.5 12 5 5`,key:`1hccrj`}]]};Je.node;var Ye=b(Je),Xe={name:`blocks`,size:24,node:[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`,key:`1ah6g2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`,key:`88lufb`}]]};Xe.node;var Ze=b(Xe),Qe={name:`keyboard`,size:24,node:[[`path`,{d:`M10 8h.01`,key:`1r9ogq`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M7 16h10`,key:`wp8him`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}]]};Qe.node;var $e=b(Qe),et={name:`link-2`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]};et.node;var tt=b(et),nt={name:`plug-zap`,size:24,node:[[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`,key:`goz73y`}],[`path`,{d:`m2 22 3-3`,key:`19mgm9`}],[`path`,{d:`M7.5 13.5 10 11`,key:`7xgeeb`}],[`path`,{d:`M10.5 16.5 13 14`,key:`10btkg`}],[`path`,{d:`m18 3-4 4h6l-4 4`,key:`16psg9`}]],aliases:[`plug-zap-2`]};nt.node;var rt=b(nt),J=e(t(),1);function it(e){let{open:t,defaultOpen:n=!1,onOpenChange:r,disabled:i}=e,[a,o]=Ne({controlled:t,default:n,name:`Collapsible`,state:`open`}),{mounted:s,setMounted:c,transitionStatus:l}=fe(a,!0,!0),u=Me(),[d,f]=J.useState(),p=d===null?void 0:d??u,m=B(e=>{let t=!a,n=C(g,e.nativeEvent);r(t,n),!n.isCanceled&&o(t)});return J.useMemo(()=>({defaultPanelId:u,disabled:i,handleTrigger:m,mounted:s,open:a,panelId:p,setMounted:c,setOpen:o,setPanelIdState:f,transitionStatus:l}),[u,i,m,s,a,p,c,o,f,l])}var at=J.createContext(void 0);function ot(){let e=J.useContext(at);if(e===void 0)throw Error(S(15));return e}var st=`data-open`,ct=`data-closed`,lt=I,ut=`data-panel-open`,dt={[st]:``},ft={[ct]:``},pt={open(e){return e?{[ut]:``}:null}},mt={open(e){return e?dt:ft},...re},Y=ae(),ht=J.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:i=!1,disabled:a=!1,onOpenChange:o,open:s,style:c,...l}=e,u=B(o),d=it({open:s,defaultOpen:i,onOpenChange:u,disabled:a}),f=J.useMemo(()=>({open:d.open,disabled:d.disabled,transitionStatus:d.transitionStatus}),[d.open,d.disabled,d.transitionStatus]),p=J.useMemo(()=>({...d,onOpenChange:u,state:f}),[d,u,f]),m=z(`div`,e,{state:f,ref:t,props:l,stateAttributesMapping:mt});return(0,Y.jsx)(at.Provider,{value:p,children:m})}),gt={...pt,...re},_t=J.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:i,state:a,disabled:o}=ot(),{className:s,disabled:c=o,render:l,nativeButton:u=!0,style:d,...f}=e,{getButtonProps:p,buttonRef:m}=D({disabled:c,focusableWhenDisabled:!0,native:u});return z(`button`,e,{state:a,ref:[t,m],props:[{"aria-controls":r?n:void 0,"aria-expanded":r,onClick:i},f,p],stateAttributesMapping:gt})}),X={height:void 0,width:void 0};function vt(e){let{externalRef:t,hiddenUntilFound:n,id:r,keepMounted:i,mounted:a,onOpenChange:o,open:s,setMounted:c,setOpen:l,transitionStatus:f}=e,p=J.useRef(null),m=J.useRef(null),[h,g]=J.useState(X),v=J.useRef(X),y=J.useRef(!1),b=J.useRef(s),x=J.useRef(!1),[S,w]=J.useState(!1),E=J.useRef(null),D=oe(t,p),O=N(s),k=L(p),A=!s&&!a,j=S?`idle`:f,M=s&&(b.current||x.current),P=!s&&a&&m.current===`css-animation`&&h.height===void 0&&h.width===void 0?v.current:h,I=n&&A&&m.current!==`css-animation`,R=B((e,t=!0)=>{t&&(v.current=e),g(e)}),z=B(()=>{E.current?.(),E.current=null}),ee=B(e=>{z(),E.current=()=>{E.current=null,e()}}),te=B(()=>{s&&a&&m.current===`css-animation`&&(x.current=!0)});u(()=>{S&&f!==`starting`&&w(!1)},[S,f]),J.useEffect(()=>()=>{te(),z()},[te,z]),u(()=>{let e=p.current;if(!e)return;!s&&E.current&&z();let t=yt(e,M);if(m.current=t,s&&f===`idle`&&b.current&&t===`css-animation`){v.current=Z(e);return}if(s&&f===`starting`){let n=y.current;if(y.current=!1,t===`none`){R(Z(e)),w(!0);return}if(t===`css-transition`){let t=xt(e);if(R(Z(e)),!n)return t;let r=Q(e,`transition-duration`,`0s`);return ee(r),w(!0),t}R(Z(e));let r=Q(e,`animation-name`,`none`);if(!n){r();return}let i=Q(e,`animation-duration`,`0s`);r(),ee(i),w(!0);return}if(!s&&a&&(f===`idle`||f===`starting`)){if(b.current=!1,x.current=!1,t===`none`){R(X,!1),c(!1);return}R(Z(e));return}if(f!==`ending`)return;if(t===`none`){c(!1);return}let n=Z(e);if(!(n.height>0||n.width>0)){c(!1);return}R(n),t===`css-animation`&&Q(e,`animation-name`,`none`)()},[a,s,z,R,c,ee,M,f]),F({enabled:s&&a&&j===`idle`,open:!0,ref:p,onComplete(){s&&R(X,!1)}}),J.useEffect(()=>{if(s||!a||j!==`ending`||!p.current)return;let e=new AbortController,t=-1;function n(){O.current||(c(!1),R(X,!1))}return t=d.request(()=>{k(n,e.signal)}),()=>{d.cancel(t),e.abort()}},[O,a,s,j,k,R,c]),u(()=>{let e=p.current;e&&n&&A&&e.setAttribute(`hidden`,`until-found`)},[A,n]),J.useEffect(function(){let e=p.current;if(!e)return;function t(e){let t=C(T,e);o(!0,t),!t.isCanceled&&(y.current=!0,l(!0))}return _(e,`beforematch`,t)},[o,l]);let ne=i||n||a||s;return{height:P.height,props:{...I?{[lt]:``}:void 0,hidden:A,id:r},ref:D,shouldPreventOpenAnimation:M,shouldRender:ne,transitionStatus:j,width:P.width}}function Z(e){return{height:e.scrollHeight,width:e.scrollWidth}}function yt(e,t){let n=se(e).getComputedStyle(e),r=(n.animationName.split(`,`).map(e=>e.trim()).some(e=>e!==``&&e!==`none`)||t)&&bt(n.animationDuration),i=bt(n.transitionDuration);return r&&i||i?`css-transition`:r?`css-animation`:`none`}function bt(e){return e.split(`,`).map(e=>e.trim()).some(e=>e!==``&&Number.parseFloat(e)>0)}function Q(e,t,n){let r=e.style.getPropertyValue(t),i=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{if(r===``){e.style.removeProperty(t);return}e.style.setProperty(t,r,i)}}function xt(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(t=>{e.style.setProperty(t,`initial`,`important`)});function n(){Object.entries(t).forEach(([t,n])=>{if(n===``){e.style.removeProperty(t);return}e.style.setProperty(t,n)})}let r=d.request(n);return()=>{d.cancel(r),n()}}var St=`--collapsible-panel-height`,Ct=`--collapsible-panel-width`,wt=J.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:i,render:a,id:o,style:s,...c}=e,{defaultPanelId:l,mounted:d,onOpenChange:f,open:p,setMounted:m,setPanelIdState:h,setOpen:g,state:_,transitionStatus:v}=ot(),y=r??!1,b=i??!1,x=o||void 0,S=x??l;u(()=>(h(e=>x??(e===null?void 0:e)),()=>{h(e=>e===x?null:e)}),[x,h]);let{height:C,props:w,ref:T,shouldPreventOpenAnimation:E,shouldRender:D,transitionStatus:O,width:k}=vt({externalRef:t,hiddenUntilFound:y,id:S,keepMounted:b,mounted:d,onOpenChange:f,open:p,setMounted:m,setOpen:g,transitionStatus:v}),j={..._,transitionStatus:O},M=A(s,j),N=z(`div`,{...e,style:void 0},{state:j,ref:T,props:[w,{style:{[St]:C===void 0?`auto`:`${C}px`,[Ct]:k===void 0?`auto`:`${k}px`}},c,M?{style:M}:void 0,E?{style:{animationName:`none`}}:void 0],stateAttributesMapping:mt});return D?N:null}),$=de();function Tt(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Y.jsx)(ht,{"data-slot":`collapsible`,...n}),t[2]=n,t[3]=r),r}function Et(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=h(`cursor-pointer`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Y.jsx)(_t,{className:i,"data-slot":`collapsible-trigger`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Dt(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=h(`h-(--collapsible-panel-height) overflow-hidden transition-[height] duration-200 data-ending-style:h-0 data-starting-style:h-0 data-open:data-ending-style:[height:var(--collapsible-panel-height)]`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Y.jsx)(wt,{className:i,"data-slot":`collapsible-panel`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ot(e,t){let n=(0,$.c)(12),[r,i]=(0,J.useState)(e),a=(0,J.useRef)(!1),o,s;n[0]===e?(o=n[1],s=n[2]):(o=()=>{a.current||i(e)},s=[e],n[0]=e,n[1]=o,n[2]=s),(0,J.useEffect)(o,s);let c,l;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>{i(e.target.value)},l=()=>{a.current=!0},n[3]=c,n[4]=l):(c=n[3],l=n[4]);let u;n[5]!==r||n[6]!==t||n[7]!==e?(u=()=>{a.current=!1,r!==e&&t(r)},n[5]=r,n[6]=t,n[7]=e,n[8]=u):u=n[8];let d;return n[9]!==r||n[10]!==u?(d={value:r,onChange:c,onFocus:l,onBlur:u,onKeyDown:kt},n[9]=r,n[10]=u,n[11]=d):d=n[11],d}function kt(e){e.key===`Enter`&&(e.preventDefault(),e.target.blur())}function At(e){let t=(0,$.c)(7),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({value:i,onCommit:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=Ot(i,n),o;return t[4]!==a||t[5]!==r?(o=(0,Y.jsx)(Pe,{...r,...a}),t[4]=a,t[5]=r,t[6]=o):o=t[6],o}var jt={timestampFormat:`Time format`,diffWordWrap:`Diff line wrapping`,diffIgnoreWhitespace:`Diff whitespace changes`,gitStatusPollIntervalMs:`Remote Git status`,sourceControlRefreshMode:`PR & workflow updates`,autoOpenPlanSidebar:`Auto-open overview`,enableLegacyTokenStreaming:`Stream token by token`,enableProviderUpdateChecks:`Provider update checks`,defaultThreadEnvMode:`New thread mode`,addProjectBaseDirectory:`Add project base directory`,confirmThreadArchive:`Archive confirmation`,confirmThreadDelete:`Delete confirmation`,confirmThreadUnpin:`Unpin confirmation`,textGenerationModelSelection:`Git writing model`};function Mt(e,t,n){let r=n!==`node`&&t!==`system`,i=r?[`Theme`]:[],s={};for(let t of Object.keys(jt))(n===`all`||v(t)===(n===`node`))&&(a(e[t],o[t])||(i.push(jt[t]),s[t]=o[t]));return{labels:i,resetTheme:r,patch:s}}function Nt(e,t,n){return e.filter(e=>n===void 0||e.environmentId===n).map(e=>({project:e,threads:t.filter(t=>t.environmentId===e.environmentId&&t.projectId===e.id&&t.archivedAt!==null).toSorted((e,t)=>(t.archivedAt??t.createdAt).localeCompare(e.archivedAt??e.createdAt)||t.id.localeCompare(e.id))})).filter(e=>e.threads.length>0)}var Pt={0:`Off`,1e4:`10 seconds`,3e4:`30 seconds`,6e4:`1 minute`,3e5:`5 minutes`},Ft=[0,1e4,3e4,6e4,3e5],It={automatic:`Automatic`,reduced:`Reduced`,manual:`Manual`},Lt=[`automatic`,`reduced`,`manual`];function Rt(e){if(e===null)return null;let t=Number.parseInt(e,10);return Ft.includes(t)?t:null}function zt(e){return Lt.find(t=>t===e)??null}function Bt(){let e=(0,$.c)(65),t=ee(),{updateSettings:n}=p(),r=qe(),i;e[0]!==t.diffWordWrap||e[1]!==n?(i=t.diffWordWrap===o.diffWordWrap?null:(0,Y.jsx)(q,{label:`diff line wrapping`,onClick:()=>n({diffWordWrap:o.diffWordWrap})}),e[0]=t.diffWordWrap,e[1]=n,e[2]=i):i=e[2];let a;e[3]===n?a=e[4]:(a=e=>n({diffWordWrap:!!e}),e[3]=n,e[4]=a);let s;e[5]!==t.diffWordWrap||e[6]!==a?(s=(0,Y.jsx)(V,{checked:t.diffWordWrap,onCheckedChange:a,"aria-label":`Wrap diff lines by default`}),e[5]=t.diffWordWrap,e[6]=a,e[7]=s):s=e[7];let c;e[8]!==r||e[9]!==i||e[10]!==s?(c=(0,Y.jsx)(K,{title:`Diff line wrapping`,description:`Set the default wrap state when the diff panel opens.`,scope:r,resetAction:i,control:s}),e[8]=r,e[9]=i,e[10]=s,e[11]=c):c=e[11];let l;e[12]!==t.diffIgnoreWhitespace||e[13]!==n?(l=t.diffIgnoreWhitespace===o.diffIgnoreWhitespace?null:(0,Y.jsx)(q,{label:`diff whitespace changes`,onClick:()=>n({diffIgnoreWhitespace:o.diffIgnoreWhitespace})}),e[12]=t.diffIgnoreWhitespace,e[13]=n,e[14]=l):l=e[14];let u;e[15]===n?u=e[16]:(u=e=>n({diffIgnoreWhitespace:!!e}),e[15]=n,e[16]=u);let d;e[17]!==t.diffIgnoreWhitespace||e[18]!==u?(d=(0,Y.jsx)(V,{checked:t.diffIgnoreWhitespace,onCheckedChange:u,"aria-label":`Hide whitespace changes by default`}),e[17]=t.diffIgnoreWhitespace,e[18]=u,e[19]=d):d=e[19];let f;e[20]!==r||e[21]!==l||e[22]!==d?(f=(0,Y.jsx)(K,{title:`Hide whitespace changes`,description:`Set whether the diff panel ignores whitespace-only edits by default.`,scope:r,resetAction:l,control:d}),e[20]=r,e[21]=l,e[22]=d,e[23]=f):f=e[23];let m;e[24]!==c||e[25]!==f?(m=(0,Y.jsxs)(G,{title:`Diff display`,children:[c,f]}),e[24]=c,e[25]=f,e[26]=m):m=e[26];let h;e[27]!==t.gitStatusPollIntervalMs||e[28]!==n?(h=t.gitStatusPollIntervalMs===o.gitStatusPollIntervalMs?null:(0,Y.jsx)(q,{label:`git status polling`,onClick:()=>n({gitStatusPollIntervalMs:o.gitStatusPollIntervalMs})}),e[27]=t.gitStatusPollIntervalMs,e[28]=n,e[29]=h):h=e[29];let g=String(t.gitStatusPollIntervalMs),_;e[30]===n?_=e[31]:(_=e=>{let t=Rt(e);t!==null&&n({gitStatusPollIntervalMs:t})},e[30]=n,e[31]=_);let v=Pt[t.gitStatusPollIntervalMs],y;e[32]===v?y=e[33]:(y=(0,Y.jsx)(ye,{className:`w-full sm:w-40`,"aria-label":`Git status polling interval`,children:(0,Y.jsx)(ge,{children:v})}),e[32]=v,e[33]=y);let b;e[34]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Y.jsx)(ve,{align:`end`,alignItemWithTrigger:!1,children:Ft.map(Ht)}),e[34]=b):b=e[34];let x;e[35]!==g||e[36]!==_||e[37]!==y?(x=(0,Y.jsxs)(_e,{value:g,onValueChange:_,children:[y,b]}),e[35]=g,e[36]=_,e[37]=y,e[38]=x):x=e[38];let S;e[39]!==r||e[40]!==x||e[41]!==h?(S=(0,Y.jsx)(K,{title:`Remote Git status`,description:`Refresh remote branch and pull request metadata while a repository is open.`,scope:r,resetAction:h,control:x}),e[39]=r,e[40]=x,e[41]=h,e[42]=S):S=e[42];let C;e[43]!==t.sourceControlRefreshMode||e[44]!==n?(C=t.sourceControlRefreshMode===o.sourceControlRefreshMode?null:(0,Y.jsx)(q,{label:`PR and workflow updates`,onClick:()=>n({sourceControlRefreshMode:o.sourceControlRefreshMode})}),e[43]=t.sourceControlRefreshMode,e[44]=n,e[45]=C):C=e[45];let w;e[46]===n?w=e[47]:(w=e=>{let t=zt(e);t!==null&&n({sourceControlRefreshMode:t})},e[46]=n,e[47]=w);let T=It[t.sourceControlRefreshMode],E;e[48]===T?E=e[49]:(E=(0,Y.jsx)(ye,{className:`w-full sm:w-40`,"aria-label":`PR and workflow update mode`,children:(0,Y.jsx)(ge,{children:T})}),e[48]=T,e[49]=E);let D;e[50]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,Y.jsx)(ve,{align:`end`,alignItemWithTrigger:!1,children:Lt.map(Vt)}),e[50]=D):D=e[50];let O;e[51]!==t.sourceControlRefreshMode||e[52]!==w||e[53]!==E?(O=(0,Y.jsxs)(_e,{value:t.sourceControlRefreshMode,onValueChange:w,children:[E,D]}),e[51]=t.sourceControlRefreshMode,e[52]=w,e[53]=E,e[54]=O):O=e[54];let k;e[55]!==r||e[56]!==C||e[57]!==O?(k=(0,Y.jsx)(K,{title:`PR & workflow updates`,description:`Control automatic pull request and workflow refreshes. Automatic is fast after pushes and stops when checks settle.`,scope:r,resetAction:C,control:O}),e[55]=r,e[56]=C,e[57]=O,e[58]=k):k=e[58];let A;e[59]!==S||e[60]!==k?(A=(0,Y.jsxs)(G,{title:`Git & pull requests`,children:[S,k]}),e[59]=S,e[60]=k,e[61]=A):A=e[61];let j;return e[62]!==A||e[63]!==m?(j=(0,Y.jsxs)(Y.Fragment,{children:[m,A]}),e[62]=A,e[63]=m,e[64]=j):j=e[64],j}function Vt(e){return(0,Y.jsx)(H,{hideIndicator:!0,value:e,children:It[e]},e)}function Ht(e){return(0,Y.jsx)(H,{hideIndicator:!0,value:String(e),children:Pt[e]},e)}function Ut(){let e=(0,$.c)(25),t=w(qt),n=w(Kt),r=w(Gt),i=w(Wt),a;e[0]!==n||e[1]!==t?(a=t?null:(0,Y.jsx)(q,{label:`wide composer labels`,onClick:()=>n(!0)}),e[0]=n,e[1]=t,e[2]=a):a=e[2];let o;e[3]===n?o=e[4]:(o=e=>n(!!e),e[3]=n,e[4]=o);let s;e[5]!==o||e[6]!==t?(s=(0,Y.jsx)(V,{checked:t,onCheckedChange:o,"aria-label":`Auto-collapse wide composer labels`}),e[5]=o,e[6]=t,e[7]=s):s=e[7];let c;e[8]!==a||e[9]!==s?(c=(0,Y.jsx)(K,{title:`Auto-collapse wide composer labels`,description:`Show long composer mode labels only on hover or focus.`,resetAction:a,control:s}),e[8]=a,e[9]=s,e[10]=c):c=e[10];let l;e[11]!==r||e[12]!==i?(l=r?null:(0,Y.jsx)(q,{label:`always use Build mode`,onClick:()=>i(!0)}),e[11]=r,e[12]=i,e[13]=l):l=e[13];let u;e[14]===i?u=e[15]:(u=e=>i(!!e),e[14]=i,e[15]=u);let d;e[16]!==r||e[17]!==u?(d=(0,Y.jsx)(V,{checked:r,onCheckedChange:u,"aria-label":`Always use Build mode`}),e[16]=r,e[17]=u,e[18]=d):d=e[18];let f;e[19]!==l||e[20]!==d?(f=(0,Y.jsx)(K,{title:`Always use Build mode`,description:`Hide the mode selector in the composer and send every turn in Build mode.`,resetAction:l,control:d}),e[19]=l,e[20]=d,e[21]=f):f=e[21];let p;return e[22]!==c||e[23]!==f?(p=(0,Y.jsxs)(G,{title:`Composer controls`,children:[c,f]}),e[22]=c,e[23]=f,e[24]=p):p=e[24],p}function Wt(e){return e.setAlwaysUseBuildMode}function Gt(e){return e.alwaysUseBuildMode}function Kt(e){return e.setWideComposerControlsAutoCollapse}function qt(e){return e.wideComposerControlsAutoCollapse}var Jt={"press-twice":`Press twice`,hold:`Hold for 1 second`,immediately:`Immediately`};function Yt(){let e=(0,$.c)(16),t=qe(),n=window.desktopBridge?.quitShortcut,[r,i]=(0,J.useState)(null),[a,o]=(0,J.useState)(!1),[s,c]=(0,J.useState)(null),l,u;if(e[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=()=>{let e=!0;return n?.getMode().then(t=>{e&&i(t)}).catch(()=>{e&&c(`Could not load quit shortcut preference.`)}),()=>{e=!1}},u=[n],e[0]=l,e[1]=u):(l=e[0],u=e[1]),(0,J.useEffect)(l,u),!n)return null;let d;e[2]===s?d=e[3]:(d=s?(0,Y.jsx)(`span`,{role:`alert`,children:s}):void 0,e[2]=s,e[3]=d);let f=r===null||a,p;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(p=e=>{(e===`press-twice`||e===`hold`||e===`immediately`)&&(o(!0),c(null),n.setMode(e).then(()=>i(e)).catch(()=>c(`Could not save quit shortcut preference.`)).finally(()=>o(!1)))},e[4]=p):p=e[4];let m=r?Jt[r]:`Loading…`,h;e[5]===m?h=e[6]:(h=(0,Y.jsx)(ye,{"aria-label":`Quit shortcut`,className:`w-full sm:w-44`,children:(0,Y.jsx)(ge,{children:m})}),e[5]=m,e[6]=h);let g;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Y.jsx)(ve,{children:Object.entries(Jt).map(Xt)}),e[7]=g):g=e[7];let _;e[8]!==r||e[9]!==f||e[10]!==h?(_=(0,Y.jsxs)(_e,{value:r,disabled:f,onValueChange:p,children:[h,g]}),e[8]=r,e[9]=f,e[10]=h,e[11]=_):_=e[11];let v;return e[12]!==t||e[13]!==d||e[14]!==_?(v=(0,Y.jsx)(K,{title:`Quit shortcut`,scope:t,description:`Prevent accidental quits with a second press within 1.5 seconds, or hold for 1 second and release.`,status:d,control:_}),e[12]=t,e[13]=d,e[14]=_,e[15]=v):v=e[15],v}function Xt(e){let[t,n]=e;return(0,Y.jsx)(H,{value:t,children:n},t)}var Zt={locale:`System default`,"12-hour":`12-hour`,"24-hour":`24-hour`};function Qt(e){let t=(0,$.c)(2),{editor:n}=e,r=ke[n];if(!r)return null;let i;return t[0]===r?i=t[1]:(i=(0,Y.jsx)(r,{"aria-hidden":`true`,className:`size-4 text-muted-foreground`}),t[0]=r,t[1]=i),i}function $t(){let e=(0,$.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Y.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Y.jsx)(`span`,{children:`Version`}),(0,Y.jsx)(`code`,{className:`text-[11px] font-medium text-muted-foreground`,children:P})]}),e[0]=t):t=e[0],t}var en=`https://github.com/sak0a/ryco`;function tn(e){te().shell.openExternal(e).catch(e=>{x.add(W({type:`error`,title:`Could not open link`,description:e instanceof Error?e.message:`Failed to open external link.`}))})}function nn(){let e=(0,$.c)(3),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Y.jsx)(Ge,{className:`h-14 text-foreground`}),n=(0,Y.jsx)(`h3`,{className:`text-base font-semibold tracking-tight text-foreground`,children:k}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Y.jsxs)(`div`,{className:`flex flex-col items-center gap-2 px-4 pt-6 pb-5 text-center sm:px-5`,children:[t,n,(0,Y.jsx)(`div`,{className:`space-y-0.5 text-[11px] text-muted-foreground`,children:(0,Y.jsx)(`p`,{children:(0,Y.jsx)(`button`,{type:`button`,onClick:rn,className:`underline-offset-2 hover:text-foreground hover:underline`,children:`github.com/sak0a/ryco`})})})]}),e[2]=r):r=e[2],r}function rn(){return tn(en)}function an(e){let t=(0,$.c)(46),{scopeLabel:n}=e,r=be(),[i,a]=(0,J.useState)(!1),o=typeof window<`u`&&!!window.desktopBridge,s=r?.channel??`latest`,c;t[0]===s?c=t[1]:(c=e=>{let t=window.desktopBridge;t&&typeof t.setUpdateChannel==`function`&&e!==s&&(a(!0),t.setUpdateChannel(e).then(pn).catch(fn).finally(()=>{a(!1)}))},t[0]=s,t[1]=c);let l=c,u;t[2]===r?u=t[3]:(u=()=>{let e=window.desktopBridge;if(!e)return;let t=r?we(r):`none`;if(t===`download`){e.downloadUpdate().then(dn).catch(un);return}if(t===`install`){if(!window.confirm(xe(r??{availableVersion:null,downloadedVersion:null})))return;e.installUpdate().then(ln).catch(cn);return}typeof e.checkForUpdate==`function`&&e.checkForUpdate().then(sn).catch(on)},t[2]=r,t[3]=u);let d=u,f;t[4]===r?f=t[5]:(f=r?we(r):`none`,t[4]=r,t[5]=f);let p=f,h;t[6]===r?h=t[7]:(h=r?Te(r):null,t[6]=r,t[7]=h);let g=h,_;t[8]!==p||t[9]!==r?(_=p===`none`?!Ce(r):Se(r),t[8]=p,t[9]=r,t[10]=_):_=t[10];let v=_,y;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(y={download:`Download`,install:`Install`},t[11]=y):y=t[11];let b=y,x;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(x={checking:`Checking…`,downloading:`Downloading…`,"up-to-date":`Up to Date`},t[12]=x):x=t[12];let S=x,C=b[p]??S[r?.status??``]??`Check for Updates`,w=p===`download`||p===`install`?`Update available.`:`Current version of the application.`,T;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,Y.jsx)($t,{}),t[13]=T):T=t[13];let E=p===`install`?`default`:`outline`,D;t[14]!==v||t[15]!==C||t[16]!==d||t[17]!==E?(D=(0,Y.jsx)(pe,{render:(0,Y.jsx)(m,{size:`xs`,variant:E,disabled:v,onClick:d,children:C})}),t[14]=v,t[15]=C,t[16]=d,t[17]=E,t[18]=D):D=t[18];let O;t[19]===g?O=t[20]:(O=g?(0,Y.jsx)(me,{children:g}):null,t[19]=g,t[20]=O);let k;t[21]!==D||t[22]!==O?(k=(0,Y.jsxs)(he,{children:[D,O]}),t[21]=D,t[22]=O,t[23]=k):k=t[23];let A;t[24]!==w||t[25]!==n||t[26]!==k?(A=(0,Y.jsx)(K,{title:T,description:w,scope:n,control:k}),t[24]=w,t[25]=n,t[26]=k,t[27]=A):A=t[27];let j;t[28]===l?j=t[29]:(j=e=>{l(e)},t[28]=l,t[29]=j);let M=!o||i,N=s===`nightly`?`Nightly`:`Stable`,P;t[30]===N?P=t[31]:(P=(0,Y.jsx)(ge,{children:N}),t[30]=N,t[31]=P);let F;t[32]!==M||t[33]!==P?(F=(0,Y.jsx)(ye,{className:`w-full sm:w-40`,"aria-label":`Update track`,disabled:M,children:P}),t[32]=M,t[33]=P,t[34]=F):F=t[34];let I;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,Y.jsxs)(ve,{align:`end`,alignItemWithTrigger:!1,children:[(0,Y.jsx)(H,{hideIndicator:!0,value:`latest`,children:`Stable`}),(0,Y.jsx)(H,{hideIndicator:!0,value:`nightly`,children:`Nightly`})]}),t[35]=I):I=t[35];let L;t[36]!==s||t[37]!==j||t[38]!==F?(L=(0,Y.jsxs)(_e,{value:s,onValueChange:j,children:[F,I]}),t[36]=s,t[37]=j,t[38]=F,t[39]=L):L=t[39];let R;t[40]!==n||t[41]!==L?(R=(0,Y.jsx)(K,{title:`Update track`,description:`Stable follows full releases. Nightly follows the nightly desktop channel and can switch back to stable immediately.`,scope:n,control:L}),t[40]=n,t[41]=L,t[42]=R):R=t[42];let z;return t[43]!==A||t[44]!==R?(z=(0,Y.jsxs)(Y.Fragment,{children:[A,R]}),t[43]=A,t[44]=R,t[45]=z):z=t[45],z}function on(e){x.add(W({type:`error`,title:`Could not check for updates`,description:e instanceof Error?e.message:`Update check failed.`}))}function sn(e){U(e.state),e.checked||x.add(W({type:`error`,title:`Could not check for updates`,description:e.state.message??`Automatic updates are not available in this build.`}))}function cn(e){x.add(W({type:`error`,title:`Could not install update`,description:e instanceof Error?e.message:`Install failed.`}))}function ln(e){U(e.state)}function un(e){x.add(W({type:`error`,title:`Could not download update`,description:e instanceof Error?e.message:`Download failed.`}))}function dn(e){U(e.state)}function fn(e){x.add(W({type:`error`,title:`Could not change update track`,description:e instanceof Error?e.message:`Update track change failed.`}))}function pn(e){U(e)}function mn(e){let t=(0,$.c)(14),{theme:n,setTheme:r}=Re(),i=ee(),{updateSettings:a}=p(),o=R(),s;t[0]!==o||t[1]!==i||t[2]!==n?(s=Mt(i,n,o),t[0]=o,t[1]=i,t[2]=n,t[3]=s):s=t[3];let c=s,l=c.labels,u;t[4]!==e||t[5]!==c.labels||t[6]!==c.patch||t[7]!==c.resetTheme||t[8]!==r||t[9]!==a?(u=async()=>{c.labels.length!==0&&await(ne()??te()).dialogs.confirm([`Restore default settings?`,`This will reset: ${c.labels.join(`, `)}.`].join(`
2
+ `))&&(c.resetTheme&&r(`system`),a(c.patch),e?.())},t[4]=e,t[5]=c.labels,t[6]=c.patch,t[7]=c.resetTheme,t[8]=r,t[9]=a,t[10]=u):u=t[10];let d=u,f;return t[11]!==l||t[12]!==d?(f={changedSettingLabels:l,restoreDefaults:d},t[11]=l,t[12]=d,t[13]=f):f=t[13],f}function hn(e){let t=(0,$.c)(19),{searchTargetId:n,nodeScopeLabel:r}=e,i=ee(),{updateSettings:a}=p(),s=n===`legacy-token-streaming`,[c,l]=(0,J.useState)(s),u=(0,J.useRef)(null),d,f;t[0]===s?(d=t[1],f=t[2]):(d=()=>{if(!s)return;l(!0);let e=requestAnimationFrame(()=>{u.current?.scrollIntoView({block:`center`}),u.current?.querySelector(`[role=switch]`)?.focus()});return()=>cancelAnimationFrame(e)},f=[s],t[0]=s,t[1]=d,t[2]=f),(0,J.useEffect)(d,f);let m;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,Y.jsxs)(Et,{className:`group flex w-full items-center justify-between rounded-lg px-1 py-1 text-left outline-none focus-visible:ring-2 focus-visible:ring-ring/50`,children:[(0,Y.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[(0,Y.jsx)(`span`,{className:`inline-block h-px w-3 bg-border`,"aria-hidden":!0}),(0,Y.jsx)(`span`,{className:`text-[11px] font-semibold uppercase tracking-[0.08em] text-foreground/50 transition-colors group-hover:text-foreground/70`,children:`Legacy features`}),(0,Y.jsx)(`span`,{className:`hidden text-[11px] text-muted-foreground/55 sm:inline`,children:`Compatibility controls`})]}),(0,Y.jsx)(De,{"aria-hidden":!0,className:`size-3.5 text-muted-foreground/60 transition-transform duration-200 group-data-panel-open:rotate-90`})]}),t[3]=m):m=t[3];let h;t[4]!==i.enableLegacyTokenStreaming||t[5]!==a?(h=i.enableLegacyTokenStreaming===o.enableLegacyTokenStreaming?null:(0,Y.jsx)(q,{label:`legacy token streaming`,onClick:()=>a({enableLegacyTokenStreaming:o.enableLegacyTokenStreaming})}),t[4]=i.enableLegacyTokenStreaming,t[5]=a,t[6]=h):h=t[6];let g;t[7]===a?g=t[8]:(g=e=>{if(!e){a({enableLegacyTokenStreaming:!1});return}(async()=>{await(ne()??te()).dialogs.confirm([`Turn on token-by-token output?`,`It is significantly slower than buffered output and makes long responses harder to follow. This switch exists only for backwards compatibility.`].join(`
3
+ `))&&a({enableLegacyTokenStreaming:!0})})()},t[7]=a,t[8]=g);let _;t[9]!==i.enableLegacyTokenStreaming||t[10]!==g?(_=(0,Y.jsx)(V,{checked:i.enableLegacyTokenStreaming,onCheckedChange:g,"aria-label":`Stream token by token (legacy)`}),t[9]=i.enableLegacyTokenStreaming,t[10]=g,t[11]=_):_=t[11];let v;t[12]!==r||t[13]!==h||t[14]!==_?(v=(0,Y.jsx)(Dt,{children:(0,Y.jsx)(`div`,{className:`pt-2`,children:(0,Y.jsx)(`div`,{className:`relative overflow-hidden rounded-2xl border border-border/80 bg-card text-card-foreground shadow-sm/4 dark:shadow-none`,children:(0,Y.jsx)(`div`,{ref:u,id:`legacy-token-streaming`,children:(0,Y.jsx)(K,{title:`Stream token by token (legacy)`,description:`Paint assistant output token by token instead of in complete chunks. This legacy mode is significantly slower and makes long responses harder to follow.`,owner:`node`,scope:r,resetAction:h,control:_})})})})}),t[12]=r,t[13]=h,t[14]=_,t[15]=v):v=t[15];let y;return t[16]!==c||t[17]!==v?(y=(0,Y.jsx)(`section`,{className:`space-y-2.5`,children:(0,Y.jsxs)(Tt,{open:c,onOpenChange:l,children:[m,v]})}),t[16]=c,t[17]=v,t[18]=y):y=t[18],y}function gn(e){let t=(0,$.c)(219),{searchTargetId:n}=e,i=n===void 0?null:n,a=ee(),{updateSettings:u}=p(),d=Ie()===`phone`,f=O(),h=R(),g=qe(),_=f?.nodeLabel??null,v,y,b;if(t[0]!==g||t[1]!==_){let e={appLabel:g,nativeClient:r,nodeLabel:_};y=E(`browser`,e),v=E(`device`,e),b=E(`node`,e),t[0]=g,t[1]=_,t[2]=v,t[3]=y,t[4]=b}else v=t[2],y=t[3],b=t[4];let S=b,C;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(C={logsDirectory:!1},t[5]=C):C=t[5];let[w,T]=(0,J.useState)(C),D;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(D={},t[6]=D):D=t[6];let[k,A]=(0,J.useState)(D),M=j(),N=ie(),P=N?.logsDirectoryPath??null,F=!f||f.primary,I;t[7]===N?I=t[8]:(I=[],N?.otlpTracesEnabled&&N.otlpTracesUrl&&I.push(`traces to ${N.otlpTracesUrl}`),N?.otlpMetricsEnabled&&N.otlpMetricsUrl&&I.push(`metrics to ${N.otlpMetricsUrl}`),t[7]=N,t[8]=I);let L=N?.localTracingEnabled?`Local trace file`:`Terminal logs only`,z=I.length>0?`${L}. OTLP exporting ${I.join(` and `)}.`:`${L}.`,B;t[9]===M?B=t[10]:(B=(e,t,n)=>{if(!t)return;A(t=>({...t,[e]:null})),T(t=>({...t,[e]:!0}));let r=Ae(M??[]);if(!r){A(t=>({...t,[e]:`No available editors found.`})),T(t=>({...t,[e]:!1}));return}te().shell.openInEditor(t,r).catch(t=>{A(r=>({...r,[e]:t instanceof Error?t.message:n}))}).finally(()=>{T(t=>({...t,[e]:!1}))})},t[9]=M,t[10]=B);let ne=B,re;t[11]!==P||t[12]!==ne?(re=()=>{ne(`logsDirectory`,P,`Unable to open logs folder.`)},t[11]=P,t[12]=ne,t[13]=re):re=t[13];let ae=re,oe=k.logsDirectory??null,se=w.logsDirectory,ce;t[14]!==a.timestampFormat||t[15]!==u?(ce=a.timestampFormat===o.timestampFormat?null:(0,Y.jsx)(q,{label:`time format`,onClick:()=>u({timestampFormat:o.timestampFormat})}),t[14]=a.timestampFormat,t[15]=u,t[16]=ce):ce=t[16];let le;t[17]===u?le=t[18]:(le=e=>{(e===`locale`||e===`12-hour`||e===`24-hour`)&&u({timestampFormat:e})},t[17]=u,t[18]=le);let ue=Zt[a.timestampFormat],de;t[19]===ue?de=t[20]:(de=(0,Y.jsx)(ye,{className:`w-full sm:w-40`,"aria-label":`Timestamp format`,children:(0,Y.jsx)(ge,{children:ue})}),t[19]=ue,t[20]=de);let fe;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(fe=(0,Y.jsxs)(ve,{align:`end`,alignItemWithTrigger:!1,children:[(0,Y.jsx)(H,{hideIndicator:!0,value:`locale`,children:Zt.locale}),(0,Y.jsx)(H,{hideIndicator:!0,value:`12-hour`,children:Zt[`12-hour`]}),(0,Y.jsx)(H,{hideIndicator:!0,value:`24-hour`,children:Zt[`24-hour`]})]}),t[21]=fe):fe=t[21];let pe;t[22]!==a.timestampFormat||t[23]!==de||t[24]!==le?(pe=(0,Y.jsxs)(_e,{value:a.timestampFormat,onValueChange:le,children:[de,fe]}),t[22]=a.timestampFormat,t[23]=de,t[24]=le,t[25]=pe):pe=t[25];let me;t[26]!==y||t[27]!==pe||t[28]!==ce?(me=(0,Y.jsx)(K,{title:`Time format`,description:`System default follows your browser or OS clock preference.`,owner:`client`,scope:y,resetAction:ce,control:pe}),t[26]=y,t[27]=pe,t[28]=ce,t[29]=me):me=t[29];let he=(M??[]).length>0?`Pin which editor opens directories and files. Auto uses your last selection from the Open menu.`:`No installed editors detected. Install a supported IDE to pick a default.`,be;t[30]!==a.preferredEditor||t[31]!==u?(be=a.preferredEditor===o.preferredEditor?null:(0,Y.jsx)(q,{label:`default editor`,onClick:()=>u({preferredEditor:o.preferredEditor})}),t[30]=a.preferredEditor,t[31]=u,t[32]=be):be=t[32];let xe=a.preferredEditor??`__auto__`,Se;t[33]===u?Se=t[34]:(Se=e=>{if(e===`__auto__`){u({preferredEditor:null});return}let t=c.find(t=>t.id===e);t&&u({preferredEditor:t.id})},t[33]=u,t[34]=Se);let Ce;t[35]===a.preferredEditor?Ce=t[36]:(Ce=a.preferredEditor?(0,Y.jsx)(Qt,{editor:a.preferredEditor}):null,t[35]=a.preferredEditor,t[36]=Ce);let we;t[37]===a.preferredEditor?we=t[38]:(we=a.preferredEditor?Oe(a.preferredEditor,navigator.platform):`Auto (last used)`,t[37]=a.preferredEditor,t[38]=we);let U;t[39]===we?U=t[40]:(U=(0,Y.jsx)(ge,{children:we}),t[39]=we,t[40]=U);let Te;t[41]!==Ce||t[42]!==U?(Te=(0,Y.jsxs)(ye,{className:`w-full sm:w-56`,"aria-label":`Default editor`,children:[Ce,U]}),t[41]=Ce,t[42]=U,t[43]=Te):Te=t[43];let Ee;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=(0,Y.jsx)(H,{hideIndicator:!0,value:`__auto__`,children:(0,Y.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Y.jsx)(`span`,{"aria-hidden":`true`,className:`size-4`}),`Auto (last used)`]})}),t[44]=Ee):Ee=t[44];let De;t[45]===M?De=t[46]:(De=c.filter(e=>(M??[]).includes(e.id)&&je(e.id)).map(_n),t[45]=M,t[46]=De);let ke;t[47]===De?ke=t[48]:(ke=(0,Y.jsxs)(ve,{align:`end`,alignItemWithTrigger:!1,children:[Ee,De]}),t[47]=De,t[48]=ke);let W;t[49]!==xe||t[50]!==Se||t[51]!==Te||t[52]!==ke?(W=(0,Y.jsxs)(_e,{value:xe,onValueChange:Se,children:[Te,ke]}),t[49]=xe,t[50]=Se,t[51]=Te,t[52]=ke,t[53]=W):W=t[53];let Me;t[54]!==y||t[55]!==he||t[56]!==be||t[57]!==W?(Me=(0,Y.jsx)(K,{title:`Default editor`,description:he,owner:`client`,scope:y,resetAction:be,control:W}),t[54]=y,t[55]=he,t[56]=be,t[57]=W,t[58]=Me):Me=t[58];let Ne;t[59]!==me||t[60]!==Me?(Ne=(0,Y.jsxs)(G,{title:`Behavior`,owner:`client`,children:[me,Me]}),t[59]=me,t[60]=Me,t[61]=Ne):Ne=t[61];let Pe;t[62]===d?Pe=t[63]:(Pe=d&&(0,Y.jsx)(Bt,{}),t[62]=d,t[63]=Pe);let Fe;t[64]!==a.enableProviderUpdateChecks||t[65]!==u?(Fe=a.enableProviderUpdateChecks===o.enableProviderUpdateChecks?null:(0,Y.jsx)(q,{label:`provider update checks`,onClick:()=>u({enableProviderUpdateChecks:o.enableProviderUpdateChecks})}),t[64]=a.enableProviderUpdateChecks,t[65]=u,t[66]=Fe):Fe=t[66];let Le;t[67]===u?Le=t[68]:(Le=e=>u({enableProviderUpdateChecks:!!e}),t[67]=u,t[68]=Le);let Re;t[69]!==a.enableProviderUpdateChecks||t[70]!==Le?(Re=(0,Y.jsx)(V,{checked:a.enableProviderUpdateChecks,onCheckedChange:Le,"aria-label":`Check providers for updates`}),t[69]=a.enableProviderUpdateChecks,t[70]=Le,t[71]=Re):Re=t[71];let ze;t[72]!==S||t[73]!==Fe||t[74]!==Re?(ze=(0,Y.jsx)(G,{title:`Provider updates`,owner:`node`,children:(0,Y.jsx)(K,{title:`Provider update checks`,description:`Check installed provider CLIs for newer versions. Disable if you install providers with Nix or another package manager.`,owner:`node`,scope:S,resetAction:Fe,control:Re})}),t[72]=S,t[73]=Fe,t[74]=Re,t[75]=ze):ze=t[75];let Be;t[76]!==h||t[77]!==d?(Be=!d&&h!==`node`&&(0,Y.jsx)(Ut,{}),t[76]=h,t[77]=d,t[78]=Be):Be=t[78];let Ve;t[79]!==a.autoOpenPlanSidebar||t[80]!==u?(Ve=a.autoOpenPlanSidebar===o.autoOpenPlanSidebar?null:(0,Y.jsx)(q,{label:`auto-open overview`,onClick:()=>u({autoOpenPlanSidebar:o.autoOpenPlanSidebar})}),t[79]=a.autoOpenPlanSidebar,t[80]=u,t[81]=Ve):Ve=t[81];let He;t[82]===u?He=t[83]:(He=e=>u({autoOpenPlanSidebar:!!e}),t[82]=u,t[83]=He);let Ue;t[84]!==a.autoOpenPlanSidebar||t[85]!==He?(Ue=(0,Y.jsx)(V,{checked:a.autoOpenPlanSidebar,onCheckedChange:He,"aria-label":`Open the overview automatically`}),t[84]=a.autoOpenPlanSidebar,t[85]=He,t[86]=Ue):Ue=t[86];let Ge;t[87]!==y||t[88]!==Ve||t[89]!==Ue?(Ge=(0,Y.jsx)(K,{title:`Auto-open overview`,description:`Open the overview automatically when plans, progress, or implementation steps appear.`,owner:`client`,scope:y,resetAction:Ve,control:Ue}),t[87]=y,t[88]=Ve,t[89]=Ue,t[90]=Ge):Ge=t[90];let Ke;t[91]!==a.defaultThreadEnvMode||t[92]!==u?(Ke=a.defaultThreadEnvMode===o.defaultThreadEnvMode?null:(0,Y.jsx)(q,{label:`new threads`,onClick:()=>u({defaultThreadEnvMode:o.defaultThreadEnvMode})}),t[91]=a.defaultThreadEnvMode,t[92]=u,t[93]=Ke):Ke=t[93];let Je;t[94]===u?Je=t[95]:(Je=e=>{(e===`local`||e===`worktree`)&&u({defaultThreadEnvMode:e})},t[94]=u,t[95]=Je);let Ye=a.defaultThreadEnvMode===`worktree`?`New worktree`:`Local`,Xe;t[96]===Ye?Xe=t[97]:(Xe=(0,Y.jsx)(ye,{className:`w-full sm:w-44`,"aria-label":`Default thread mode`,children:(0,Y.jsx)(ge,{children:Ye})}),t[96]=Ye,t[97]=Xe);let Ze;t[98]===Symbol.for(`react.memo_cache_sentinel`)?(Ze=(0,Y.jsxs)(ve,{align:`end`,alignItemWithTrigger:!1,children:[(0,Y.jsx)(H,{hideIndicator:!0,value:`local`,children:`Local`}),(0,Y.jsx)(H,{hideIndicator:!0,value:`worktree`,children:`New worktree`})]}),t[98]=Ze):Ze=t[98];let Qe;t[99]!==a.defaultThreadEnvMode||t[100]!==Je||t[101]!==Xe?(Qe=(0,Y.jsxs)(_e,{value:a.defaultThreadEnvMode,onValueChange:Je,children:[Xe,Ze]}),t[99]=a.defaultThreadEnvMode,t[100]=Je,t[101]=Xe,t[102]=Qe):Qe=t[102];let $e;t[103]!==S||t[104]!==Ke||t[105]!==Qe?($e=(0,Y.jsx)(K,{title:`New threads`,description:`Pick the default workspace mode for newly created draft threads.`,owner:`node`,scope:S,resetAction:Ke,control:Qe}),t[103]=S,t[104]=Ke,t[105]=Qe,t[106]=$e):$e=t[106];let et;t[107]!==d||t[108]!==S||t[109]!==a.worktreeBranchPrefix||t[110]!==u?(et=!d&&(0,Y.jsx)(K,{title:`Worktree branch prefix`,description:`Prefix for generated branches on this device. Use a Git namespace such as team/agent, without a trailing slash. Leave empty for no prefix. Existing branches keep their names.`,owner:`node`,scope:S,resetAction:a.worktreeBranchPrefix===o.worktreeBranchPrefix?null:(0,Y.jsx)(q,{label:`worktree branch prefix`,onClick:()=>u({worktreeBranchPrefix:o.worktreeBranchPrefix})}),control:(0,Y.jsx)(At,{className:`w-full sm:w-72`,value:a.worktreeBranchPrefix,onCommit:e=>{let t=e.trim();if(!l(s)(t)){x.add({type:`error`,title:`Invalid worktree branch prefix`,description:`Use a valid Git namespace of up to 128 characters without a trailing slash, or leave it empty.`});return}u({worktreeBranchPrefix:t})},placeholder:`ryco`,spellCheck:!1,autoCapitalize:`none`,"aria-label":`Worktree branch prefix`})}),t[107]=d,t[108]=S,t[109]=a.worktreeBranchPrefix,t[110]=u,t[111]=et):et=t[111];let tt;t[112]!==a.addProjectBaseDirectory||t[113]!==u?(tt=a.addProjectBaseDirectory===o.addProjectBaseDirectory?null:(0,Y.jsx)(q,{label:`add project base directory`,onClick:()=>u({addProjectBaseDirectory:o.addProjectBaseDirectory})}),t[112]=a.addProjectBaseDirectory,t[113]=u,t[114]=tt):tt=t[114];let nt;t[115]===u?nt=t[116]:(nt=e=>u({addProjectBaseDirectory:e}),t[115]=u,t[116]=nt);let rt;t[117]!==a.addProjectBaseDirectory||t[118]!==nt?(rt=(0,Y.jsx)(At,{className:`w-full sm:w-72`,value:a.addProjectBaseDirectory,onCommit:nt,placeholder:`~/`,spellCheck:!1,"aria-label":`Add project base directory`}),t[117]=a.addProjectBaseDirectory,t[118]=nt,t[119]=rt):rt=t[119];let it;t[120]!==S||t[121]!==tt||t[122]!==rt?(it=(0,Y.jsx)(K,{title:`Add project starts in`,description:`Leave empty to use "~/" when the Add Project browser opens.`,owner:`node`,scope:S,resetAction:tt,control:rt}),t[120]=S,t[121]=tt,t[122]=rt,t[123]=it):it=t[123];let at;t[124]!==Ge||t[125]!==$e||t[126]!==et||t[127]!==it?(at=(0,Y.jsxs)(G,{title:`Projects & threads`,children:[Ge,$e,et,it]}),t[124]=Ge,t[125]=$e,t[126]=et,t[127]=it,t[128]=at):at=t[128];let ot;t[129]===d?ot=t[130]:(ot=!d&&(0,Y.jsx)(Yt,{}),t[129]=d,t[130]=ot);let st;t[131]!==a.confirmThreadArchive||t[132]!==u?(st=a.confirmThreadArchive===o.confirmThreadArchive?null:(0,Y.jsx)(q,{label:`archive confirmation`,onClick:()=>u({confirmThreadArchive:o.confirmThreadArchive})}),t[131]=a.confirmThreadArchive,t[132]=u,t[133]=st):st=t[133];let ct;t[134]===u?ct=t[135]:(ct=e=>u({confirmThreadArchive:!!e}),t[134]=u,t[135]=ct);let lt;t[136]!==a.confirmThreadArchive||t[137]!==ct?(lt=(0,Y.jsx)(V,{checked:a.confirmThreadArchive,onCheckedChange:ct,"aria-label":`Confirm thread archiving`}),t[136]=a.confirmThreadArchive,t[137]=ct,t[138]=lt):lt=t[138];let ut;t[139]!==y||t[140]!==st||t[141]!==lt?(ut=(0,Y.jsx)(K,{title:`Archive confirmation`,description:`Require a second click on the inline archive action before a thread is archived.`,owner:`client`,scope:y,resetAction:st,control:lt}),t[139]=y,t[140]=st,t[141]=lt,t[142]=ut):ut=t[142];let dt;t[143]!==a.confirmThreadDelete||t[144]!==u?(dt=a.confirmThreadDelete===o.confirmThreadDelete?null:(0,Y.jsx)(q,{label:`delete confirmation`,onClick:()=>u({confirmThreadDelete:o.confirmThreadDelete})}),t[143]=a.confirmThreadDelete,t[144]=u,t[145]=dt):dt=t[145];let ft;t[146]===u?ft=t[147]:(ft=e=>u({confirmThreadDelete:!!e}),t[146]=u,t[147]=ft);let pt;t[148]!==a.confirmThreadDelete||t[149]!==ft?(pt=(0,Y.jsx)(V,{checked:a.confirmThreadDelete,onCheckedChange:ft,"aria-label":`Confirm thread deletion`}),t[148]=a.confirmThreadDelete,t[149]=ft,t[150]=pt):pt=t[150];let mt;t[151]!==y||t[152]!==dt||t[153]!==pt?(mt=(0,Y.jsx)(K,{title:`Delete confirmation`,description:`Ask before deleting a thread and its chat history.`,owner:`client`,scope:y,resetAction:dt,control:pt}),t[151]=y,t[152]=dt,t[153]=pt,t[154]=mt):mt=t[154];let ht;t[155]!==a.confirmThreadUnpin||t[156]!==u?(ht=a.confirmThreadUnpin===o.confirmThreadUnpin?null:(0,Y.jsx)(q,{label:`unpin confirmation`,onClick:()=>u({confirmThreadUnpin:o.confirmThreadUnpin})}),t[155]=a.confirmThreadUnpin,t[156]=u,t[157]=ht):ht=t[157];let gt;t[158]===u?gt=t[159]:(gt=e=>u({confirmThreadUnpin:!!e}),t[158]=u,t[159]=gt);let _t;t[160]!==a.confirmThreadUnpin||t[161]!==gt?(_t=(0,Y.jsx)(V,{checked:a.confirmThreadUnpin,onCheckedChange:gt,"aria-label":`Confirm thread unpinning`}),t[160]=a.confirmThreadUnpin,t[161]=gt,t[162]=_t):_t=t[162];let X;t[163]!==y||t[164]!==ht||t[165]!==_t?(X=(0,Y.jsx)(K,{title:`Unpin confirmation`,description:`Ask before removing a thread from the pinned section.`,owner:`client`,scope:y,resetAction:ht,control:_t}),t[163]=y,t[164]=ht,t[165]=_t,t[166]=X):X=t[166];let vt;t[167]!==ot||t[168]!==ut||t[169]!==mt||t[170]!==X?(vt=(0,Y.jsxs)(G,{title:`Confirmations`,owner:`client`,children:[ot,ut,mt,X]}),t[167]=ot,t[168]=ut,t[169]=mt,t[170]=X,t[171]=vt):vt=t[171];let Z;t[172]!==v||t[173]!==a.notifyOnTurnCompleteWhenUnfocused||t[174]!==u?(Z=r&&(0,Y.jsx)(G,{title:`Notifications`,owner:`client`,children:(0,Y.jsx)(K,{title:`Turn-complete notifications`,description:`Show a desktop notification when an agent finishes a turn while the Ryco window is unfocused.`,owner:`client`,scope:v,resetAction:a.notifyOnTurnCompleteWhenUnfocused===o.notifyOnTurnCompleteWhenUnfocused?null:(0,Y.jsx)(q,{label:`turn-complete notifications`,onClick:()=>u({notifyOnTurnCompleteWhenUnfocused:o.notifyOnTurnCompleteWhenUnfocused})}),control:(0,Y.jsx)(V,{checked:a.notifyOnTurnCompleteWhenUnfocused,onCheckedChange:e=>u({notifyOnTurnCompleteWhenUnfocused:!!e}),"aria-label":`Notify when a turn completes while unfocused`})})}),t[172]=v,t[173]=a.notifyOnTurnCompleteWhenUnfocused,t[174]=u,t[175]=Z):Z=t[175];let yt;t[176]!==h||t[177]!==d||t[178]!==S||t[179]!==i?(yt=d?null:h!==`client`&&(0,Y.jsx)(hn,{searchTargetId:i,nodeScopeLabel:S}),t[176]=h,t[177]=d,t[178]=S,t[179]=i,t[180]=yt):yt=t[180];let bt;t[181]===h?bt=t[182]:(bt=h!==`node`&&(0,Y.jsx)(nn,{}),t[181]=h,t[182]=bt);let Q;t[183]!==v||t[184]!==h||t[185]!==y?(Q=r&&h!==`node`?(0,Y.jsx)(an,{scopeLabel:v}):(0,Y.jsx)(K,{title:(0,Y.jsx)($t,{}),description:`Current version of the application.`,owner:`client`,scope:y}),t[183]=v,t[184]=h,t[185]=y,t[186]=Q):Q=t[186];let xt=P??`Resolving logs directory...`,St;t[187]===xt?St=t[188]:(St=(0,Y.jsx)(`span`,{className:`block break-all font-mono text-[11px] text-foreground`,children:xt}),t[187]=xt,t[188]=St);let Ct;t[189]!==F||t[190]!==oe||t[191]!==f?.nodeLabel?(Ct=oe?(0,Y.jsx)(`span`,{className:`mt-1 block text-destructive`,children:oe}):F?null:(0,Y.jsxs)(`span`,{className:`mt-1 block`,children:[`This path is on `,f?.nodeLabel,`; open it from that machine.`]}),t[189]=F,t[190]=oe,t[191]=f?.nodeLabel,t[192]=Ct):Ct=t[192];let wt;t[193]!==St||t[194]!==Ct?(wt=(0,Y.jsxs)(Y.Fragment,{children:[St,Ct]}),t[193]=St,t[194]=Ct,t[195]=wt):wt=t[195];let Tt=!F||!P||se,Et=se?`Opening...`:`Open logs folder`,Dt;t[196]!==ae||t[197]!==Tt||t[198]!==Et?(Dt=(0,Y.jsx)(m,{size:`xs`,variant:`outline`,disabled:Tt,onClick:ae,children:Et}),t[196]=ae,t[197]=Tt,t[198]=Et,t[199]=Dt):Dt=t[199];let Ot;t[200]!==z||t[201]!==S||t[202]!==wt||t[203]!==Dt?(Ot=(0,Y.jsx)(K,{title:`Diagnostics`,description:z,owner:`node`,scope:S,status:wt,control:Dt}),t[200]=z,t[201]=S,t[202]=wt,t[203]=Dt,t[204]=Ot):Ot=t[204];let kt;t[205]!==bt||t[206]!==Q||t[207]!==Ot?(kt=(0,Y.jsxs)(G,{title:`About`,children:[bt,Q,Ot]}),t[205]=bt,t[206]=Q,t[207]=Ot,t[208]=kt):kt=t[208];let jt;return t[209]!==Ne||t[210]!==Pe||t[211]!==ze||t[212]!==Be||t[213]!==at||t[214]!==vt||t[215]!==Z||t[216]!==yt||t[217]!==kt?(jt=(0,Y.jsxs)(We,{children:[Ne,Pe,ze,Be,at,vt,Z,yt,kt]}),t[209]=Ne,t[210]=Pe,t[211]=ze,t[212]=Be,t[213]=at,t[214]=vt,t[215]=Z,t[216]=yt,t[217]=kt,t[218]=jt):jt=t[218],jt}function _n(e){return(0,Y.jsx)(H,{hideIndicator:!0,value:e.id,children:(0,Y.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Y.jsx)(Qt,{editor:e.id}),Oe(e.id,navigator.platform)]})},e.id)}function vn(){let e=(0,$.c)(17),t=O(),n=Fe(i.dispatchCommand),r=n.allowed&&(!t||t.connected&&t.canMutate!==!1),a=y(Ke(M)),o=y(Ke(f)),{unarchiveThread:s,confirmAndDeleteThread:c}=le();t?.environmentId;let l=t?.environmentId,u;e[0]!==a||e[1]!==l||e[2]!==o?(u=Nt(a,o,l),e[0]=a,e[1]=l,e[2]=o,e[3]=u):u=e[3];let d=u,p;e[4]!==c||e[5]!==r||e[6]!==n.reason||e[7]!==s?(p=async(e,t)=>{if(!r){x.add(W({type:`warning`,title:`Archived thread is read-only`,description:n.reason??`This action is unavailable.`}));return}let i=ne();if(!i)return;let a=await i.contextMenu.show([{id:`unarchive`,label:`Unarchive`},{id:`delete`,label:`Delete`,destructive:!0}],t);if(a===`unarchive`){try{await s(e)}catch(e){let t=e;x.add(W({type:`error`,title:`Failed to unarchive thread`,description:t instanceof Error?t.message:`An error occurred.`}))}return}a===`delete`&&await c(e)},e[4]=c,e[5]=r,e[6]=n.reason,e[7]=s,e[8]=p):p=e[8];let m=p,h;e[9]!==d||e[10]!==m||e[11]!==r||e[12]!==n.reason||e[13]!==s?(h=d.length===0?(0,Y.jsx)(G,{title:`Archived threads`,children:(0,Y.jsxs)(Ue,{className:`min-h-88`,children:[(0,Y.jsx)(ze,{variant:`icon`,children:(0,Y.jsx)(Ee,{})}),(0,Y.jsxs)(Be,{children:[(0,Y.jsx)(Ve,{children:`No archived threads`}),(0,Y.jsx)(He,{children:`Archived threads will appear here.`})]})]})}):d.map(e=>{let{project:t,threads:i}=e;return(0,Y.jsx)(G,{title:t.name,icon:(0,Y.jsx)(ue,{environmentId:t.environmentId,cwd:t.cwd,projectId:t.id,customAvatarContentHash:t.customAvatarContentHash??null}),children:i.map(e=>(0,Y.jsx)(yn,{thread:e,mutationAllowed:r,mutationReason:n.reason??null,onOpenMenu:m,onUnarchive:s},e.id))},`${t.environmentId}:${t.id}`)}),e[9]=d,e[10]=m,e[11]=r,e[12]=n.reason,e[13]=s,e[14]=h):h=e[14];let g;return e[15]===h?g=e[16]:(g=(0,Y.jsx)(We,{children:h}),e[15]=h,e[16]=g),g}function yn(e){let t=(0,$.c)(38),{thread:r,mutationAllowed:i,mutationReason:a,onOpenMenu:o,onUnarchive:s}=e,c=Ie()===`phone`,l;t[0]!==o||t[1]!==r.environmentId||t[2]!==r.id?(l=e=>{o(n(r.environmentId,r.id),e)},t[0]=o,t[1]=r.environmentId,t[2]=r.id,t[3]=l):l=t[3];let u=!c,d;t[4]===u?d=t[5]:(d={disabled:u},t[4]=u,t[5]=d);let f=Le(l,d),p;t[6]!==f||t[7]!==o||t[8]!==r.environmentId||t[9]!==r.id?(p=e=>{f.onContextMenu(e),!e.defaultPrevented&&(e.preventDefault(),o(n(r.environmentId,r.id),{x:e.clientX,y:e.clientY}))},t[6]=f,t[7]=o,t[8]=r.environmentId,t[9]=r.id,t[10]=p):p=t[10];let h;t[11]===r.title?h=t[12]:(h=(0,Y.jsx)(`h3`,{className:`truncate text-sm font-medium text-foreground`,children:r.title}),t[11]=r.title,t[12]=h);let g=r.archivedAt??r.createdAt,_;t[13]===g?_=t[14]:(_=ce(g),t[13]=g,t[14]=_);let v;t[15]===r.createdAt?v=t[16]:(v=ce(r.createdAt),t[15]=r.createdAt,t[16]=v);let y;t[17]!==_||t[18]!==v?(y=(0,Y.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Archived `,_,` · Created `,v]}),t[17]=_,t[18]=v,t[19]=y):y=t[19];let b;t[20]!==h||t[21]!==y?(b=(0,Y.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[h,y]}),t[20]=h,t[21]=y,t[22]=b):b=t[22];let x=!i,S=a??void 0,C;t[23]!==s||t[24]!==r.environmentId||t[25]!==r.id?(C=()=>void s(n(r.environmentId,r.id)).catch(bn),t[23]=s,t[24]=r.environmentId,t[25]=r.id,t[26]=C):C=t[26];let w,T;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Y.jsx)(Ye,{className:`size-3.5`}),T=(0,Y.jsx)(`span`,{children:`Unarchive`}),t[27]=w,t[28]=T):(w=t[27],T=t[28]);let E;t[29]!==x||t[30]!==S||t[31]!==C?(E=(0,Y.jsxs)(m,{type:`button`,variant:`outline`,size:`sm`,className:`h-7 shrink-0 cursor-pointer gap-1.5 px-2.5`,disabled:x,title:S,onClick:C,children:[w,T]}),t[29]=x,t[30]=S,t[31]=C,t[32]=E):E=t[32];let D;return t[33]!==f||t[34]!==E||t[35]!==p||t[36]!==b?(D=(0,Y.jsxs)(`div`,{className:`flex items-center justify-between gap-3 border-t border-border px-4 py-3 first:border-t-0 sm:px-5`,...f,onContextMenu:p,children:[b,E]}),t[33]=f,t[34]=E,t[35]=p,t[36]=b,t[37]=D):D=t[37],D}function bn(e){x.add(W({type:`error`,title:`Failed to unarchive thread`,description:e instanceof Error?e.message:`An error occurred.`}))}export{At as a,Et as c,$e as d,Ze as f,Bt as i,rt as l,gn as n,Tt as o,mn as r,Dt as s,vn as t,tt as u};
@@ -1 +1 @@
1
- import{i as e,t}from"./react-SIfiwpqq.js";import{lt as n}from"./src-Bi-5Nw9C.js";import{Hr as r,Na as i,Ur as a,_l as o}from"./runtime-Bxg7k81u.js";import{Qt as s,Xn as c,_n as l,bn as u,fn as d,gn as f,rn as p,vn as m,yn as h}from"./switch-CEJEmLe7.js";import{t as g}from"./compiler-runtime-qmuS0Svy.js";var _={name:`folder-closed`,size:24,node:[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M2 10h20`,key:`1ir3d8`}]]};_.node;var v=i(_),y=g(),b=`/assets/android-studio-BStk6y1m.png`,x=`/assets/nova-BR8CJp3D.png`,S=`/assets/positron-CVTig56O.png`,C=`/assets/sublime-text-CdbLNBJ7.png`,w=`/assets/windsurf-CaEwKX1l.png`,T=`/assets/xcode-B_XpXYHB.png`,E=o();function D(e,t){let n=n=>{let r=(0,y.c)(4),i,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`title`,{children:t}),a=(0,E.jsx)(`image`,{href:e,width:`24`,height:`24`,preserveAspectRatio:`xMidYMid meet`}),r[0]=i,r[1]=a):(i=r[0],a=r[1]);let o;return r[2]===n?o=r[3]:(o=(0,E.jsxs)(`svg`,{...n,viewBox:`0 0 24 24`,fill:`none`,children:[i,a]}),r[2]=n,r[3]=o),o};return n.displayName=`${t.replaceAll(` `,``)}Icon`,n}var O=D(b,`Android Studio`),k=D(T,`Xcode`),A=D(w,`Windsurf`),j=D(C,`Sublime Text`),M=D(x,`Nova`),N=D(S,`Positron`),P=e(t(),1),F=(e,t)=>{let n=(0,y.c)(7),r=(0,P.useId)(),i;if(n[0]!==t||n[1]!==r||n[2]!==e){let a;n[4]!==r||n[5]!==e?(a=(t,n)=>`${r}-${e}-${String.fromCharCode(97+n)}`,n[4]=r,n[5]=e,n[6]=a):a=n[6],i=Array.from({length:t},a),n[0]=t,n[1]=r,n[2]=e,n[3]=i}else i=n[3];return i},I={cursor:p,windsurf:A,trae:f,kiro:d,vscode:m,"vscode-insiders":h,vscodium:l,positron:N,zed:u,"sublime-text":j,nova:M,xcode:k,antigravity:s,"android-studio":O,idea:e=>{let t=(0,y.c)(23),[n,r]=F(`intellij-idea`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.1`,stopColor:`#FC801D`}),a=(0,E.jsx)(`stop`,{offset:`.59`,stopColor:`#FE2857`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`-.391`,x2:`24.392`,y1:`7.671`,y2:`61.126`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.21`,stopColor:`#FE2857`}),c=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#007EFF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.336`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.191a4.125 4.125 0 0 0-4.124 4.19l.176 11.044a4.13 4.13 0 0 0 1.44 3.066l38.159 32.707c.747.64 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.19-.514-2.321-1.41-3.105L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M14.988 6H4.125A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.185A4.125 4.125 0 0 0 9.573 64h15.398a4.125 4.125 0 0 0 4.125-4.127L29.09 41.37c0-.426-.066-.849-.195-1.254l-9.98-31.245A4.13 4.13 0 0 0 14.988 6z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M59.876 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.943a4.1 4.1 0 0 0-.325 1.638l.15 18.329A4.125 4.125 0 0 0 10.101 64h17.666c.806 0 1.593-.236 2.266-.678l32.11-21.109A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.876 0`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17 29.383h2.98v-9.775H17v-2.616h8.843v2.616h-2.98v9.775h2.98V32H17zM27.643 29.298h2.154a2.4 2.4 0 0 0 1.163-.279q.51-.279.788-.788.279-.51.279-1.163V16.992h2.926v10.28q0 1.35-.622 2.427a4.45 4.45 0 0 1-1.715 1.688q-1.092.612-2.454.611h-2.519z`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},aqua:e=>{let t=(0,y.c)(23),[n,r]=F(`aqua`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.25`,stopColor:`#7256FF`}),a=(0,E.jsx)(`stop`,{offset:`.73`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#00D886`}),c=(0,E.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`7.671`,x2:`61.125`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124L21 64c1.181-.019 2.531-.786 3.3-1.683l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.746 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.003-3.961c0-2.187.334-2.778 1.003-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.917-1.014c1.443 0 2.739.338 3.907 1.013a7.3 7.3 0 0 1 2.75 2.787q.996 1.774.996 3.961c0 2.187-.332 2.778-.997 3.96a7.3 7.3 0 0 1-2.749 2.788q-1.752 1.013-3.907 1.013c-1.436 0-2.75-.338-3.917-1.013m6.308-2.23q1.06-.67 1.661-1.854.6-1.185.6-2.664t-.6-2.664a4.6 4.6 0 0 0-1.661-1.854q-1.061-.67-2.39-.67t-2.396.67a4.6 4.6 0 0 0-1.672 1.854q-.605 1.185-.605 2.664t.605 2.664 1.672 1.854q1.067.67 2.396.67 1.33 0 2.39-.67m-2.16 6.034a2.67 2.67 0 0 1-1.126-1.077q-.391-.696-.391-1.64l-.01-1.94h2.743v1.811q0 .332.129.573.128.242.37.365.24.123.574.123h1.833v2.165h-2.412q-.975 0-1.71-.38M38.233 16.992h3.173l5.563 15.006h-2.947l-1.212-3.483h-5.842l-1.136 3.483H32.82zm3.805 9.261-2.025-5.723-.225-.954-.215.954-1.908 5.723z`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},clion:e=>{let t=(0,y.c)(23),[n,r]=F(`clion`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#009AE5`}),a=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,E.jsx)(`stop`,{offset:`.54`,stopColor:`#009AE5`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.393`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#FF2D90`,d:`M58 16.453V4.194A4.125 4.125 0 0 0 53.81.07L43.003.008c-1.18.019-2.535.781-3.304 1.678L6.993 39.844c-.64.748-.993 1.7-.993 2.684v11.35a4.125 4.125 0 0 0 4.125 4.125h11.003c1.19 0 2.321-.514 3.105-1.409L56.979 19.17A4.12 4.12 0 0 0 58 16.453`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.747 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96a7.3 7.3 0 0 1 2.744-2.787q1.747-1.013 3.901-1.014 1.823 0 3.345.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.355 2.793h-3.065a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.431-.95 4.9 4.9 0 0 0-1.822-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664a4.9 4.9 0 0 0 1.822-.332 4.02 4.02 0 0 0 2.326-2.38h3.065a6.44 6.44 0 0 1-1.355 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.345.675-2.154 0-3.901-1.013zM37.33 16.992v12.37h7.117v2.636H34.414V16.992z`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},datagrip:e=>{let t=(0,y.c)(23),[n,r]=F(`datagrip`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.28`,stopColor:`#7256FF`}),a=(0,E.jsx)(`stop`,{offset:`.66`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF43F2`}),c=(0,E.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.125 4.125 0 0 0 53.9 0H36.234c-.806 0-1.593.236-2.267.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#FF43F2`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19L64 43c-.018-1.181-.785-2.531-1.682-3.3L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M35.426 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.333-2.778.997-3.96s1.58-2.112 2.744-2.787q1.747-1.013 3.902-1.014 1.746 0 3.221.622a6.9 6.9 0 0 1 2.487 1.747 6.36 6.36 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.927-1.228q-.585-.52-1.367-.803c-.782-.283-1.082-.284-1.683-.284q-1.329 0-2.401.664a4.6 4.6 0 0 0-1.678 1.828q-.605 1.163-.605 2.62c0 1.457.202 1.846.605 2.621a4.6 4.6 0 0 0 1.678 1.828q1.072.664 2.401.664 1.233 0 2.235-.461t1.592-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.356v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.625 2.525q-1.668.921-3.736.921c-1.38 0-2.737-.337-3.902-1.013z`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},dataspell:e=>{let t=(0,y.c)(23),[n,r]=F(`dataspell`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.28`,stopColor:`#007DFE`}),a=(0,E.jsx)(`stop`,{offset:`.73`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.32`,stopColor:`#F0EB18`}),c=(0,E.jsx)(`stop`,{offset:`.55`,stopColor:`#007DFE`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.875`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#F0EB18`,d:`M58 16.45V4.191A4.125 4.125 0 0 0 53.81.067L43 0c-1.181.019-2.531.786-3.3 1.683L6.993 39.84c-.64.748-.993 1.7-.993 2.685v11.349A4.125 4.125 0 0 0 10.125 58h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.45`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M34.713 31.664q-1.26-.59-1.973-1.65t-.734-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.334-.251q.574-.252.89-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.511 0 1.933.186 2.733.558s1.424.888 1.871 1.549q.67.99.68 2.277h-2.926q0-.546-.289-.98c-.289-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.29.96 0 .621.403 1.028.402.407 1.098.579l2.552.557q1.103.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.481.917.482 1.999 0 1.329-.702 2.385-.702 1.054-1.967 1.656-1.265.6-2.894.6t-2.889-.59`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},goland:e=>{let t=(0,y.c)(23),[n,r]=F(`goland`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.24`,stopColor:`#00D886`}),a=(0,E.jsx)(`stop`,{offset:`.51`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.27`,stopColor:`#007DFE`}),c=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#D249FC`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#00D886`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.13 4.13 0 0 0-1.44-3.066L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.124 4.124 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M19.748 31.243a7.3 7.3 0 0 1-2.743-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96s1.58-2.112 2.743-2.787q1.747-1.013 3.902-1.014 1.747 0 3.222.622a6.9 6.9 0 0 1 2.486 1.747 6.4 6.4 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.926-1.228q-.584-.52-1.367-.803c-.783-.283-1.083-.284-1.683-.284q-1.33 0-2.402.664a4.6 4.6 0 0 0-1.677 1.828q-.606 1.163-.606 2.62c0 1.457.202 1.846.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664 1.232 0 2.235-.461t1.591-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.357v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.626 2.525q-1.666.921-3.736.921c-2.07 0-2.737-.337-3.902-1.013zM36.271 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.002-3.961c0-2.187.333-2.778 1.002-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.918-1.014c1.443 0 2.738.338 3.907 1.013a7.3 7.3 0 0 1 2.749 2.787q.996 1.774.997 3.961c0 2.187-.333 2.778-.997 3.96s-1.581 2.113-2.75 2.788q-1.752 1.013-3.906 1.013c-1.437 0-2.75-.338-3.918-1.013m6.308-2.23q1.062-.67 1.662-1.854t.6-2.664-.6-2.664-1.662-1.854-2.39-.67-2.395.67a4.6 4.6 0 0 0-1.672 1.854q-.606 1.185-.606 2.664t.606 2.664 1.672 1.854 2.395.67q1.33 0 2.39-.67M33 44H17v3h16z`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},phpstorm:e=>{let t=(0,y.c)(23),[n,r]=F(`phpstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.16`,stopColor:`#D249FC`}),a=(0,E.jsx)(`stop`,{offset:`.55`,stopColor:`#FF2D90`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`4.067`,x2:`62.664`,y1:`4.326`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#D249FC`,d:`M58 16.446V4.187A4.125 4.125 0 0 0 53.81.063L42.765.239A4.13 4.13 0 0 0 39.7 1.68L6.993 39.837c-.64.748-.993 1.7-.993 2.685v11.35a4.125 4.125 0 0 0 4.125 4.124h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.446`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.323v4.47h3.323q.74 0 1.291-.273M32.572 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.611.278 1.404.278c.53 0 .952-.083 1.335-.251q.572-.252.89-.702c.317-.45.315-.643.315-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.647-.59q-1.073-.234-1.866-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.665-1.023 1.854-1.597 1.19-.573 2.702-.573c1.512 0 1.933.186 2.733.558q1.2.558 1.87 1.549t.681 2.277h-2.926q0-.546-.29-.98a1.9 1.9 0 0 0-.82-.676 2.9 2.9 0 0 0-1.216-.24q-.687 0-1.206.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.551.557q1.104.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.482.917.482 1.999 0 1.329-.701 2.385-.703 1.054-1.967 1.656-1.264.6-2.895.6-1.63 0-2.888-.59`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},pycharm:e=>{let t=(0,y.c)(23),[n,r]=F(`pycharm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.1`,stopColor:`#00D886`}),a=(0,E.jsx)(`stop`,{offset:`.59`,stopColor:`#F0EB18`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#F0EB18`}),c=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#00C4F4`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.933`,x2:`1.337`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.13 4.13 0 0 0 3.066-1.44l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.324v4.47h3.324q.74 0 1.291-.273M33.713 31.243a7.3 7.3 0 0 1-2.744-2.787q-.996-1.774-.996-3.961c0-2.187.332-2.778.996-3.96a7.3 7.3 0 0 1 2.744-2.787q1.748-1.013 3.902-1.014 1.823 0 3.344.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.356 2.793h-3.066a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.43-.95 4.9 4.9 0 0 0-1.823-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664.986 0 1.822-.332a4.02 4.02 0 0 0 2.326-2.38h3.066a6.44 6.44 0 0 1-1.356 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.344.675-2.154 0-3.902-1.013z`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},rider:e=>{let t=(0,y.c)(23),[n,r]=F(`rider`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.21`,stopColor:`#007DFE`}),a=(0,E.jsx)(`stop`,{offset:`.55`,stopColor:`#FFB700`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.23`,stopColor:`#FFB700`}),c=(0,E.jsx)(`stop`,{offset:`.73`,stopColor:`#FF0A67`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#007DFE`,d:`M47.55 58h12.258a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.12 4.12 0 0 0-1.44-3.066L24.158 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h5.713q2.133 0 3.822.965a6.9 6.9 0 0 1 2.641 2.674q.954 1.71.954 3.864t-.953 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.822.964h-5.713zm8.028 11.876q1.008-.6 1.555-1.72t.547-2.653q0-1.534-.547-2.653-.547-1.12-1.555-1.721-1.008-.6-2.347-.6h-2.755v9.947h2.755q1.34 0 2.347-.6`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},rubymine:e=>{let t=(0,y.c)(23),[n,r]=F(`rubymine`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#FF2358`}),a=(0,E.jsx)(`stop`,{offset:`.75`,stopColor:`#7256FF`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.337`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#FF8100`}),c=(0,E.jsx)(`stop`,{offset:`.56`,stopColor:`#FF2358`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`-.391`,x2:`24.393`,y1:`7.671`,y2:`61.125`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M59.875 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.942a4.1 4.1 0 0 0-.325 1.639l.15 18.328A4.125 4.125 0 0 0 10.101 64h17.666c.805 0 1.593-.235 2.266-.678l32.109-21.108A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.875 0`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M14.987 6H4.126A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.184A4.125 4.125 0 0 0 9.572 64H24.97a4.125 4.125 0 0 0 4.125-4.126l-.004-18.504c0-.426-.067-.85-.196-1.254L18.917 8.87A4.13 4.13 0 0 0 14.987 6z`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.19a4.125 4.125 0 0 0-4.124 4.19L0 21c.019 1.181.786 2.531 1.683 3.3l38.158 32.706c.748.641 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.189-.514-2.32-1.41-3.104L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h6.442q1.575 0 2.776.579t1.849 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.658 1.068-1.875 1.651-1.216.584-2.824.584h-3.43v5.67h-2.926zm7.54 6.63q.552-.274.852-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.631 1.763h3.194L29.05 32h-3.355zM31.633 16.992h4.073l3.087 9.85.257 1.287.225-1.286 2.98-9.85h4.138v15.005h-2.894V21.29l.043-.782-3.494 11.49h-2.123l-3.451-11.415.043.707v10.708h-2.883V16.992z`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},rustrover:e=>{let t=(0,y.c)(23),[n,r]=F(`rustrover`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.08`,stopColor:`#00D886`}),a=(0,E.jsx)(`stop`,{offset:`.46`,stopColor:`#FFAB00`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.125`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.19`,stopColor:`#FFAB00`}),c=(0,E.jsx)(`stop`,{offset:`.83`,stopColor:`#FF004C`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h6.442q1.575 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.659 1.068-1.875 1.651-1.217.584-2.824.584h-3.43v5.67h-2.927zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L43.651 32h-3.355z`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},webstorm:e=>{let t=(0,y.c)(23),[n,r]=F(`webstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.22`,stopColor:`#F0EB18`}),a=(0,E.jsx)(`stop`,{offset:`.59`,stopColor:`#00C4F4`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.19`,stopColor:`#00C4F4`}),c=(0,E.jsx)(`stop`,{offset:`.83`,stopColor:`#007DFE`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.337`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#F0EB18`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM19.051 16.992l2.423 10.955 2.583-10.955h2.958l2.701 10.955 2.348-10.955h2.97l-3.645 15.006h-3.334l-2.53-10.9-2.561 10.9H19.64l-3.623-15.006zM38.662 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.335-.251q.573-.252.889-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.008 0 1.934.186 2.734.558q1.2.558 1.87 1.549t.68 2.277h-2.925q0-.546-.29-.98c-.29-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.55.557q1.105.226 1.968.852a4.45 4.45 0 0 1 1.345 1.544 4.2 4.2 0 0 1 .482 1.999q0 1.329-.702 2.385-.702 1.054-1.966 1.656-1.266.6-2.894.6-1.63 0-2.889-.59`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},terminal:c,"file-manager":v};function L(e,t){return e===`terminal`&&a(t)?`Windows Terminal`:e===`file-manager`?r(t)?`Finder`:a(t)?`Explorer`:`Files`:n.find(t=>t.id===e)?.label??e}function R(e,t){let r=new Set(t);return n.filter(e=>r.has(e.id)).map(t=>({label:L(t.id,e),Icon:I[t.id],value:t.id}))}export{v as i,L as n,R as r,I as t};
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{mt as n}from"./src-DPpEXU6w.js";import{Pa as r,Ur as i,Wr as a,vl as o}from"./runtime-BKneT96Q.js";import{Yn as s,Zt as c,_n as l,dn as u,gn as d,hn as f,nn as p,vn as m,yn as h}from"./switch-LahPAvrd.js";import{t as g}from"./compiler-runtime-qmuS0Svy.js";var _={name:`folder-closed`,size:24,node:[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M2 10h20`,key:`1ir3d8`}]]};_.node;var v=r(_),y=g(),b=`/assets/android-studio-BStk6y1m.png`,x=`/assets/nova-BR8CJp3D.png`,S=`/assets/positron-CVTig56O.png`,C=`/assets/sublime-text-CdbLNBJ7.png`,w=`/assets/windsurf-CaEwKX1l.png`,T=`/assets/xcode-B_XpXYHB.png`,E=o();function D(e,t){let n=n=>{let r=(0,y.c)(4),i,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`title`,{children:t}),a=(0,E.jsx)(`image`,{href:e,width:`24`,height:`24`,preserveAspectRatio:`xMidYMid meet`}),r[0]=i,r[1]=a):(i=r[0],a=r[1]);let o;return r[2]===n?o=r[3]:(o=(0,E.jsxs)(`svg`,{...n,viewBox:`0 0 24 24`,fill:`none`,children:[i,a]}),r[2]=n,r[3]=o),o};return n.displayName=`${t.replaceAll(` `,``)}Icon`,n}var O=D(b,`Android Studio`),k=D(T,`Xcode`),A=D(w,`Windsurf`),j=D(C,`Sublime Text`),M=D(x,`Nova`),N=D(S,`Positron`),P=e(t(),1),F=(e,t)=>{let n=(0,y.c)(7),r=(0,P.useId)(),i;if(n[0]!==t||n[1]!==r||n[2]!==e){let a;n[4]!==r||n[5]!==e?(a=(t,n)=>`${r}-${e}-${String.fromCharCode(97+n)}`,n[4]=r,n[5]=e,n[6]=a):a=n[6],i=Array.from({length:t},a),n[0]=t,n[1]=r,n[2]=e,n[3]=i}else i=n[3];return i},I={cursor:p,windsurf:A,trae:f,kiro:u,vscode:l,"vscode-insiders":m,vscodium:d,positron:N,zed:h,"sublime-text":j,nova:M,xcode:k,antigravity:c,"android-studio":O,idea:e=>{let t=(0,y.c)(23),[n,r]=F(`intellij-idea`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.1`,stopColor:`#FC801D`}),a=(0,E.jsx)(`stop`,{offset:`.59`,stopColor:`#FE2857`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`-.391`,x2:`24.392`,y1:`7.671`,y2:`61.126`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.21`,stopColor:`#FE2857`}),c=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#007EFF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.336`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.191a4.125 4.125 0 0 0-4.124 4.19l.176 11.044a4.13 4.13 0 0 0 1.44 3.066l38.159 32.707c.747.64 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.19-.514-2.321-1.41-3.105L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M14.988 6H4.125A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.185A4.125 4.125 0 0 0 9.573 64h15.398a4.125 4.125 0 0 0 4.125-4.127L29.09 41.37c0-.426-.066-.849-.195-1.254l-9.98-31.245A4.13 4.13 0 0 0 14.988 6z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M59.876 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.943a4.1 4.1 0 0 0-.325 1.638l.15 18.329A4.125 4.125 0 0 0 10.101 64h17.666c.806 0 1.593-.236 2.266-.678l32.11-21.109A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.876 0`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17 29.383h2.98v-9.775H17v-2.616h8.843v2.616h-2.98v9.775h2.98V32H17zM27.643 29.298h2.154a2.4 2.4 0 0 0 1.163-.279q.51-.279.788-.788.279-.51.279-1.163V16.992h2.926v10.28q0 1.35-.622 2.427a4.45 4.45 0 0 1-1.715 1.688q-1.092.612-2.454.611h-2.519z`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},aqua:e=>{let t=(0,y.c)(23),[n,r]=F(`aqua`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.25`,stopColor:`#7256FF`}),a=(0,E.jsx)(`stop`,{offset:`.73`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#00D886`}),c=(0,E.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`7.671`,x2:`61.125`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124L21 64c1.181-.019 2.531-.786 3.3-1.683l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.746 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.003-3.961c0-2.187.334-2.778 1.003-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.917-1.014c1.443 0 2.739.338 3.907 1.013a7.3 7.3 0 0 1 2.75 2.787q.996 1.774.996 3.961c0 2.187-.332 2.778-.997 3.96a7.3 7.3 0 0 1-2.749 2.788q-1.752 1.013-3.907 1.013c-1.436 0-2.75-.338-3.917-1.013m6.308-2.23q1.06-.67 1.661-1.854.6-1.185.6-2.664t-.6-2.664a4.6 4.6 0 0 0-1.661-1.854q-1.061-.67-2.39-.67t-2.396.67a4.6 4.6 0 0 0-1.672 1.854q-.605 1.185-.605 2.664t.605 2.664 1.672 1.854q1.067.67 2.396.67 1.33 0 2.39-.67m-2.16 6.034a2.67 2.67 0 0 1-1.126-1.077q-.391-.696-.391-1.64l-.01-1.94h2.743v1.811q0 .332.129.573.128.242.37.365.24.123.574.123h1.833v2.165h-2.412q-.975 0-1.71-.38M38.233 16.992h3.173l5.563 15.006h-2.947l-1.212-3.483h-5.842l-1.136 3.483H32.82zm3.805 9.261-2.025-5.723-.225-.954-.215.954-1.908 5.723z`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},clion:e=>{let t=(0,y.c)(23),[n,r]=F(`clion`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#009AE5`}),a=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,E.jsx)(`stop`,{offset:`.54`,stopColor:`#009AE5`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.393`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#FF2D90`,d:`M58 16.453V4.194A4.125 4.125 0 0 0 53.81.07L43.003.008c-1.18.019-2.535.781-3.304 1.678L6.993 39.844c-.64.748-.993 1.7-.993 2.684v11.35a4.125 4.125 0 0 0 4.125 4.125h11.003c1.19 0 2.321-.514 3.105-1.409L56.979 19.17A4.12 4.12 0 0 0 58 16.453`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.747 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96a7.3 7.3 0 0 1 2.744-2.787q1.747-1.013 3.901-1.014 1.823 0 3.345.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.355 2.793h-3.065a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.431-.95 4.9 4.9 0 0 0-1.822-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664a4.9 4.9 0 0 0 1.822-.332 4.02 4.02 0 0 0 2.326-2.38h3.065a6.44 6.44 0 0 1-1.355 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.345.675-2.154 0-3.901-1.013zM37.33 16.992v12.37h7.117v2.636H34.414V16.992z`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},datagrip:e=>{let t=(0,y.c)(23),[n,r]=F(`datagrip`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.28`,stopColor:`#7256FF`}),a=(0,E.jsx)(`stop`,{offset:`.66`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF43F2`}),c=(0,E.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.125 4.125 0 0 0 53.9 0H36.234c-.806 0-1.593.236-2.267.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#FF43F2`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19L64 43c-.018-1.181-.785-2.531-1.682-3.3L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M35.426 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.333-2.778.997-3.96s1.58-2.112 2.744-2.787q1.747-1.013 3.902-1.014 1.746 0 3.221.622a6.9 6.9 0 0 1 2.487 1.747 6.36 6.36 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.927-1.228q-.585-.52-1.367-.803c-.782-.283-1.082-.284-1.683-.284q-1.329 0-2.401.664a4.6 4.6 0 0 0-1.678 1.828q-.605 1.163-.605 2.62c0 1.457.202 1.846.605 2.621a4.6 4.6 0 0 0 1.678 1.828q1.072.664 2.401.664 1.233 0 2.235-.461t1.592-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.356v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.625 2.525q-1.668.921-3.736.921c-1.38 0-2.737-.337-3.902-1.013z`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},dataspell:e=>{let t=(0,y.c)(23),[n,r]=F(`dataspell`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.28`,stopColor:`#007DFE`}),a=(0,E.jsx)(`stop`,{offset:`.73`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.32`,stopColor:`#F0EB18`}),c=(0,E.jsx)(`stop`,{offset:`.55`,stopColor:`#007DFE`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.875`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#F0EB18`,d:`M58 16.45V4.191A4.125 4.125 0 0 0 53.81.067L43 0c-1.181.019-2.531.786-3.3 1.683L6.993 39.84c-.64.748-.993 1.7-.993 2.685v11.349A4.125 4.125 0 0 0 10.125 58h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.45`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M34.713 31.664q-1.26-.59-1.973-1.65t-.734-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.334-.251q.574-.252.89-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.511 0 1.933.186 2.733.558s1.424.888 1.871 1.549q.67.99.68 2.277h-2.926q0-.546-.289-.98c-.289-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.29.96 0 .621.403 1.028.402.407 1.098.579l2.552.557q1.103.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.481.917.482 1.999 0 1.329-.702 2.385-.702 1.054-1.967 1.656-1.265.6-2.894.6t-2.889-.59`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},goland:e=>{let t=(0,y.c)(23),[n,r]=F(`goland`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.24`,stopColor:`#00D886`}),a=(0,E.jsx)(`stop`,{offset:`.51`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.27`,stopColor:`#007DFE`}),c=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#D249FC`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#00D886`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.13 4.13 0 0 0-1.44-3.066L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.124 4.124 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M19.748 31.243a7.3 7.3 0 0 1-2.743-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96s1.58-2.112 2.743-2.787q1.747-1.013 3.902-1.014 1.747 0 3.222.622a6.9 6.9 0 0 1 2.486 1.747 6.4 6.4 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.926-1.228q-.584-.52-1.367-.803c-.783-.283-1.083-.284-1.683-.284q-1.33 0-2.402.664a4.6 4.6 0 0 0-1.677 1.828q-.606 1.163-.606 2.62c0 1.457.202 1.846.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664 1.232 0 2.235-.461t1.591-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.357v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.626 2.525q-1.666.921-3.736.921c-2.07 0-2.737-.337-3.902-1.013zM36.271 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.002-3.961c0-2.187.333-2.778 1.002-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.918-1.014c1.443 0 2.738.338 3.907 1.013a7.3 7.3 0 0 1 2.749 2.787q.996 1.774.997 3.961c0 2.187-.333 2.778-.997 3.96s-1.581 2.113-2.75 2.788q-1.752 1.013-3.906 1.013c-1.437 0-2.75-.338-3.918-1.013m6.308-2.23q1.062-.67 1.662-1.854t.6-2.664-.6-2.664-1.662-1.854-2.39-.67-2.395.67a4.6 4.6 0 0 0-1.672 1.854q-.606 1.185-.606 2.664t.606 2.664 1.672 1.854 2.395.67q1.33 0 2.39-.67M33 44H17v3h16z`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},phpstorm:e=>{let t=(0,y.c)(23),[n,r]=F(`phpstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.16`,stopColor:`#D249FC`}),a=(0,E.jsx)(`stop`,{offset:`.55`,stopColor:`#FF2D90`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`4.067`,x2:`62.664`,y1:`4.326`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#D249FC`,d:`M58 16.446V4.187A4.125 4.125 0 0 0 53.81.063L42.765.239A4.13 4.13 0 0 0 39.7 1.68L6.993 39.837c-.64.748-.993 1.7-.993 2.685v11.35a4.125 4.125 0 0 0 4.125 4.124h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.446`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.323v4.47h3.323q.74 0 1.291-.273M32.572 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.611.278 1.404.278c.53 0 .952-.083 1.335-.251q.572-.252.89-.702c.317-.45.315-.643.315-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.647-.59q-1.073-.234-1.866-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.665-1.023 1.854-1.597 1.19-.573 2.702-.573c1.512 0 1.933.186 2.733.558q1.2.558 1.87 1.549t.681 2.277h-2.926q0-.546-.29-.98a1.9 1.9 0 0 0-.82-.676 2.9 2.9 0 0 0-1.216-.24q-.687 0-1.206.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.551.557q1.104.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.482.917.482 1.999 0 1.329-.701 2.385-.703 1.054-1.967 1.656-1.264.6-2.895.6-1.63 0-2.888-.59`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},pycharm:e=>{let t=(0,y.c)(23),[n,r]=F(`pycharm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.1`,stopColor:`#00D886`}),a=(0,E.jsx)(`stop`,{offset:`.59`,stopColor:`#F0EB18`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.3`,stopColor:`#F0EB18`}),c=(0,E.jsx)(`stop`,{offset:`.7`,stopColor:`#00C4F4`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.933`,x2:`1.337`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.13 4.13 0 0 0 3.066-1.44l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.324v4.47h3.324q.74 0 1.291-.273M33.713 31.243a7.3 7.3 0 0 1-2.744-2.787q-.996-1.774-.996-3.961c0-2.187.332-2.778.996-3.96a7.3 7.3 0 0 1 2.744-2.787q1.748-1.013 3.902-1.014 1.823 0 3.344.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.356 2.793h-3.066a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.43-.95 4.9 4.9 0 0 0-1.823-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664.986 0 1.822-.332a4.02 4.02 0 0 0 2.326-2.38h3.066a6.44 6.44 0 0 1-1.356 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.344.675-2.154 0-3.902-1.013z`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},rider:e=>{let t=(0,y.c)(23),[n,r]=F(`rider`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.21`,stopColor:`#007DFE`}),a=(0,E.jsx)(`stop`,{offset:`.55`,stopColor:`#FFB700`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.23`,stopColor:`#FFB700`}),c=(0,E.jsx)(`stop`,{offset:`.73`,stopColor:`#FF0A67`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#007DFE`,d:`M47.55 58h12.258a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.12 4.12 0 0 0-1.44-3.066L24.158 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h5.713q2.133 0 3.822.965a6.9 6.9 0 0 1 2.641 2.674q.954 1.71.954 3.864t-.953 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.822.964h-5.713zm8.028 11.876q1.008-.6 1.555-1.72t.547-2.653q0-1.534-.547-2.653-.547-1.12-1.555-1.721-1.008-.6-2.347-.6h-2.755v9.947h2.755q1.34 0 2.347-.6`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},rubymine:e=>{let t=(0,y.c)(23),[n,r]=F(`rubymine`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#FF2358`}),a=(0,E.jsx)(`stop`,{offset:`.75`,stopColor:`#7256FF`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.337`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#FF8100`}),c=(0,E.jsx)(`stop`,{offset:`.56`,stopColor:`#FF2358`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`-.391`,x2:`24.393`,y1:`7.671`,y2:`61.125`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,E.jsx)(`path`,{fill:d,d:`M59.875 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.942a4.1 4.1 0 0 0-.325 1.639l.15 18.328A4.125 4.125 0 0 0 10.101 64h17.666c.805 0 1.593-.235 2.266-.678l32.109-21.108A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.875 0`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,E.jsx)(`path`,{fill:p,d:`M14.987 6H4.126A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.184A4.125 4.125 0 0 0 9.572 64H24.97a4.125 4.125 0 0 0 4.125-4.126l-.004-18.504c0-.426-.067-.85-.196-1.254L18.917 8.87A4.13 4.13 0 0 0 14.987 6z`}),t[13]=p,t[14]=m);let h,g,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.19a4.125 4.125 0 0 0-4.124 4.19L0 21c.019 1.181.786 2.531 1.683 3.3l38.158 32.706c.748.641 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.189-.514-2.32-1.41-3.104L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h6.442q1.575 0 2.776.579t1.849 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.658 1.068-1.875 1.651-1.216.584-2.824.584h-3.43v5.67h-2.926zm7.54 6.63q.552-.274.852-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.631 1.763h3.194L29.05 32h-3.355zM31.633 16.992h4.073l3.087 9.85.257 1.287.225-1.286 2.98-9.85h4.138v15.005h-2.894V21.29l.043-.782-3.494 11.49h-2.123l-3.451-11.415.043.707v10.708h-2.883V16.992z`}),t[15]=h,t[16]=g,t[17]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},rustrover:e=>{let t=(0,y.c)(23),[n,r]=F(`rustrover`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.08`,stopColor:`#00D886`}),a=(0,E.jsx)(`stop`,{offset:`.46`,stopColor:`#FFAB00`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.125`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.19`,stopColor:`#FFAB00`}),c=(0,E.jsx)(`stop`,{offset:`.83`,stopColor:`#FF004C`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h6.442q1.575 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.659 1.068-1.875 1.651-1.217.584-2.824.584h-3.43v5.67h-2.927zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L43.651 32h-3.355z`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},webstorm:e=>{let t=(0,y.c)(23),[n,r]=F(`webstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.22`,stopColor:`#F0EB18`}),a=(0,E.jsx)(`stop`,{offset:`.59`,stopColor:`#00C4F4`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,E.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,E.jsx)(`stop`,{offset:`.19`,stopColor:`#00C4F4`}),c=(0,E.jsx)(`stop`,{offset:`.83`,stopColor:`#007DFE`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,E.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.337`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,E.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,E.jsx)(`path`,{fill:`#F0EB18`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,E.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,E.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM19.051 16.992l2.423 10.955 2.583-10.955h2.958l2.701 10.955 2.348-10.955h2.97l-3.645 15.006h-3.334l-2.53-10.9-2.561 10.9H19.64l-3.623-15.006zM38.662 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.335-.251q.573-.252.889-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.008 0 1.934.186 2.734.558q1.2.558 1.87 1.549t.68 2.277h-2.925q0-.546-.29-.98c-.29-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.55.557q1.105.226 1.968.852a4.45 4.45 0 0 1 1.345 1.544 4.2 4.2 0 0 1 .482 1.999q0 1.329-.702 2.385-.702 1.054-1.966 1.656-1.266.6-2.894.6-1.63 0-2.889-.59`}),t[16]=g,t[17]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},terminal:s,"file-manager":v};function L(e,t){return e===`terminal`&&a(t)?`Windows Terminal`:e===`file-manager`?i(t)?`Finder`:a(t)?`Explorer`:`Files`:n.find(t=>t.id===e)?.label??e}function R(e,t){let r=new Set(t);return n.filter(e=>r.has(e.id)).map(t=>({label:L(t.id,e),Icon:I[t.id],value:t.id}))}export{v as i,L as n,R as r,I as t};
@@ -0,0 +1 @@
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{a as n}from"./primary-CNUdEGcv.js";import{yl as r}from"./src-DPpEXU6w.js";import{Br as i,Ft as a,Hr as o,Nt as s,Pr as c,Tr as l,_l as u,gl as d,p as f,vl as p,wr as m}from"./runtime-BKneT96Q.js";import{$t as h,Qt as g,_,an as v,ct as y,en as b,on as x,p as S,r as C,rn as w,sn as T,t as E,un as D}from"./switch-LahPAvrd.js";import{t as O}from"./compiler-runtime-qmuS0Svy.js";import{i as k,n as ee,t as te}from"./tooltip-B8-izeMo.js";import{t as A}from"./badge-BjvTY7-E.js";import{i as j}from"./SettingsPanels-DtWLQDne.js";import{K as M}from"./ContextHandoffEndpointLabel-CsF_maM_.js";import{t as N}from"./key-round-C-oUSjpF.js";import{t as P}from"./refresh-cw-CY5BeUEr.js";import{t as F}from"./toastHelpers-CSQRKo4F.js";import{t as I}from"./input-CfVJycb1.js";import{t as L}from"./skeleton-DEuowfjY.js";import{a as ne,i as R,n as z,o as B,r as re,t as V}from"./empty-6LExKYgQ.js";import{i as H,n as U}from"./settingsLayout-DQERzSce.js";import{t as ie}from"./RedactedSensitiveText-D1VC2xa7.js";var W=O(),G=e(t(),1),K=p(),ae={versionControlSystems:[],sourceControlProviders:[]},oe={github:v,gitlab:T,forgejo:w,"azure-devops":h,bitbucket:b},se={git:x,jj:D},ce=[`primary`,`secondary`],le=[`atlassian`,`connections`];function q(e){return r(e)}function J(e){return`auth`in e}function Y(e){return!J(e)&&!e.implemented}function ue(e){return e.status===`authenticated`?{label:`Authenticated`,badge:null}:e.status===`unauthenticated`?{label:`Not authenticated`,badge:`warning`}:{label:`Status unknown`,badge:null}}function de(e){let t=(0,W.c)(2),n;return t[0]===e.account?n=t[1]:(n=(0,K.jsx)(ie,{value:e.account,ariaLabel:`Toggle source control account visibility`,revealTooltip:`Click to reveal account`,hideTooltip:`Click to hide account`}),t[0]=e.account,t[1]=n),n}function fe(e){return Y(e)?`bg-muted-foreground/35`:e.status!==`available`||J(e)&&e.auth.status!==`authenticated`?`bg-warning`:`bg-success`}function pe(e){let t=(0,W.c)(13),{item:n}=e,r,i,a,s;if(t[0]!==n){s=Symbol.for(`react.early_return_sentinel`);bb0:{let e=fe(n),c=J(n)?oe[n.kind]:se[n.kind];if(!c){s=(0,K.jsx)(`span`,{className:o(`size-2 shrink-0 rounded-full`,e),"aria-hidden":!0});break bb0}i=`relative inline-flex size-5 shrink-0 items-center justify-center`,t[5]===c?a=t[6]:(a=(0,K.jsx)(c,{className:`size-4.5 text-foreground/80`,"aria-hidden":!0}),t[5]=c,t[6]=a),r=o(`pointer-events-none absolute -left-0.5 -top-0.5 size-2 rounded-full ring-2 ring-background`,e)}t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=s}else r=t[1],i=t[2],a=t[3],s=t[4];if(s!==Symbol.for(`react.early_return_sentinel`))return s;let c;t[7]===r?c=t[8]:(c=(0,K.jsx)(`span`,{className:r,"aria-hidden":!0}),t[7]=r,t[8]=c);let l;return t[9]!==i||t[10]!==a||t[11]!==c?(l=(0,K.jsxs)(`span`,{className:i,children:[a,c]}),t[9]=i,t[10]=a,t[11]=c,t[12]=l):l=t[12],l}function me({item:e,auth:t,authAccount:n,authHost:r}){return Y(e)?(0,K.jsxs)(`span`,{children:[`Support for `,e.label,` is coming soon.`]}):e.status===`available`?t?t.status===`authenticated`?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`span`,{children:`Authenticated`}),n?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`span`,{"aria-hidden":!0,children:`as`}),(0,K.jsx)(de,{account:n})]}):null,r?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`span`,{"aria-hidden":!0,children:`on`}),(0,K.jsx)(`code`,{className:`rounded bg-muted px-1 py-px text-[11px] text-muted-foreground`,children:r})]}):null]}):e.executable?t.status===`unauthenticated`?(0,K.jsxs)(`span`,{children:[e.label,` is not authenticated on this server. Sign in or configure credentials using the `,(0,K.jsx)(`code`,{className:`rounded bg-muted px-1 py-px text-[11px]`,children:e.executable}),` `,`tool on the server host to enable pull request features.`]}):(0,K.jsxs)(`span`,{children:[`Could not verify `,e.label,`. `,q(t.detail)??e.installHint]}):(0,K.jsx)(`span`,{children:e.installHint}):(0,K.jsx)(`span`,{children:`Available`}):(0,K.jsxs)(`span`,{children:[`Not available on this server — `,e.installHint]})}function he(e){let t=(0,W.c)(57),{item:n}=e,r;t[0]===n.version?r=t[1]:(r=q(n.version),t[0]=n.version,t[1]=r);let i=r,a;t[2]===n?a=t[3]:(a=n.status===`available`&&(J(n)||n.implemented),t[2]=n,t[3]=a);let s=a,c=J(n)?n.auth:null,l;t[4]===c?l=t[5]:(l=c?ue(c):null,t[4]=c,t[5]=l);let u=l,d,f,p,m,h,g,_;if(t[6]!==c||t[7]!==u||t[8]!==n||t[9]!==i){let e=c?q(c.account):null,r=c?q(c.host):null;t[17]===n?d=t[18]:(d=o(`border-t border-border/60 first:border-t-0`,Y(n)&&`opacity-80`),t[17]=n,t[18]=d),_=`px-4 py-3.5 sm:px-5`,g=`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`,m=`min-w-0 flex-1 space-y-1`;let a;t[19]===n?a=t[20]:(a=(0,K.jsx)(pe,{item:n}),t[19]=n,t[20]=a);let s;t[21]===n.label?s=t[22]:(s=(0,K.jsx)(`h3`,{className:`truncate text-[13px] font-semibold tracking-[-0.01em] text-foreground`,children:n.label}),t[21]=n.label,t[22]=s);let l;t[23]===i?l=t[24]:(l=i?(0,K.jsx)(`code`,{className:`text-xs text-muted-foreground`,children:i}):null,t[23]=i,t[24]=l);let v;t[25]===n?v=t[26]:(v=Y(n)?(0,K.jsx)(A,{variant:`warning`,size:`sm`,children:`Coming Soon`}):null,t[25]=n,t[26]=v);let y;t[27]===u?y=t[28]:(y=u?.badge?(0,K.jsx)(A,{variant:u.badge,size:`sm`,children:u.label}):null,t[27]=u,t[28]=y),t[29]!==a||t[30]!==s||t[31]!==l||t[32]!==v||t[33]!==y?(h=(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[a,s,l,v,y]}),t[29]=a,t[30]=s,t[31]=l,t[32]=v,t[33]=y,t[34]=h):h=t[34],f=`flex min-w-0 flex-wrap items-center gap-x-1 text-xs text-muted-foreground`,p=me({item:n,auth:c,authAccount:e,authHost:r}),t[6]=c,t[7]=u,t[8]=n,t[9]=i,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_}else d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16];let v;t[35]!==f||t[36]!==p?(v=(0,K.jsx)(`p`,{className:f,children:p}),t[35]=f,t[36]=p,t[37]=v):v=t[37];let y;t[38]!==v||t[39]!==m||t[40]!==h?(y=(0,K.jsxs)(`div`,{className:m,children:[h,v]}),t[38]=v,t[39]=m,t[40]=h,t[41]=y):y=t[41];let b;t[42]!==s||t[43]!==n?(b=Y(n)?null:(0,K.jsx)(E,{checked:s,disabled:!0,"aria-label":`${n.label} availability`}),t[42]=s,t[43]=n,t[44]=b):b=t[44];let x;t[45]===b?x=t[46]:(x=(0,K.jsx)(`div`,{className:`flex w-full shrink-0 items-center gap-2 sm:w-auto sm:justify-end`,children:b}),t[45]=b,t[46]=x);let S;t[47]!==y||t[48]!==x||t[49]!==g?(S=(0,K.jsxs)(`div`,{className:g,children:[y,x]}),t[47]=y,t[48]=x,t[49]=g,t[50]=S):S=t[50];let C;t[51]!==S||t[52]!==_?(C=(0,K.jsx)(`div`,{className:_,children:S}),t[51]=S,t[52]=_,t[53]=C):C=t[53];let w;return t[54]!==d||t[55]!==C?(w=(0,K.jsx)(`div`,{className:d,children:C}),t[54]=d,t[55]=C,t[56]=w):w=t[56],w}function ge(e){let t=(0,W.c)(4),{title:n,headerAction:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=ce.map(_e),t[0]=i):i=t[0];let a;return t[1]!==r||t[2]!==n?(a=(0,K.jsx)(H,{title:n,headerAction:r,children:i}),t[1]=r,t[2]=n,t[3]=a):a=t[3],a}function _e(e){return(0,K.jsx)(`div`,{className:`border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:px-5`,children:(0,K.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`,children:[(0,K.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-2`,children:[(0,K.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,K.jsxs)(`span`,{className:`relative inline-flex size-5 shrink-0 items-center justify-center`,children:[(0,K.jsx)(L,{className:`size-4.5 rounded-md`}),(0,K.jsx)(L,{className:`pointer-events-none absolute -left-0.5 -top-0.5 size-2 rounded-full ring-2 ring-background`,"aria-hidden":!0})]}),(0,K.jsx)(L,{className:`h-4 w-28 rounded-full`}),(0,K.jsx)(L,{className:`h-5 w-14 rounded-full`})]}),(0,K.jsx)(L,{className:`h-3 w-full max-w-xs rounded-full`})]}),(0,K.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2`,children:[(0,K.jsx)(L,{className:`size-7 rounded-md`}),(0,K.jsx)(L,{className:`h-5 w-9 rounded-full`})]})]})},e)}function ve(e){switch(e){case`connected`:return`success`;case`needs_reauth`:return`warning`;case`invalid`:return`error`;case`revoked`:return`outline`}}function ye(e){switch(e){case`oauth_3lo`:return`OAuth`;case`bitbucket_token`:return`Bitbucket token`;case`jira_token`:return`Jira token`;case`env_fallback`:return`Environment`}}function be(e){let t=(0,W.c)(4);if(e.products.includes(`bitbucket`)){let n;return t[0]===e.className?n=t[1]:(n=(0,K.jsx)(b,{className:e.className,"aria-hidden":!0}),t[0]=e.className,t[1]=n),n}let n;return t[2]===e.className?n=t[3]:(n=(0,K.jsx)(g,{className:e.className,"aria-hidden":!0}),t[2]=e.className,t[3]=n),n}function xe(e){let t=(0,W.c)(123),{environmentId:n}=e,r=a(),[o,l]=(0,G.useState)(`Bitbucket`),[u,d]=(0,G.useState)(``),[p,h]=(0,G.useState)(``),[g,v]=(0,G.useState)(`Jira`),[b,x]=(0,G.useState)(``),[w,T]=(0,G.useState)(``),[E,D]=(0,G.useState)(``),O;t[0]===n?O=t[1]:(O=n?f(n):null,t[0]=n,t[1]=O);let k=O?.client??null,ee=k!==null,te;t[2]!==n||t[3]!==ee?(te={environmentId:n,enabled:ee},t[2]=n,t[3]=ee,t[4]=te):te=t[4];let j=S(te),P;t[5]!==u||t[6]!==o||t[7]!==p||t[8]!==k?(P=async()=>{if(!k)throw Error(`No server connection is available.`);return k.atlassian.saveManualBitbucketToken({label:o.trim(),email:u.trim(),token:p.trim(),isDefault:!0})},t[5]=u,t[6]=o,t[7]=p,t[8]=k,t[9]=P):P=t[9];let L;t[10]!==n||t[11]!==r?(L=()=>{l(`Bitbucket`),d(``),h(``),_({environmentId:n}),r.invalidateQueries({queryKey:le}),m({environmentId:n}),c.add(F({type:`success`,title:`Bitbucket token saved`,description:`Ryco can now use this Atlassian connection for Bitbucket workflows.`}))},t[10]=n,t[11]=r,t[12]=L):L=t[12];let ne;t[13]!==P||t[14]!==L?(ne={mutationFn:P,onSuccess:L,onError:we},t[13]=P,t[14]=L,t[15]=ne):ne=t[15];let R=s(ne),z;t[16]!==k||t[17]!==b||t[18]!==g||t[19]!==w||t[20]!==E?(z=async()=>{if(!k)throw Error(`No server connection is available.`);return k.atlassian.saveManualJiraToken({label:g.trim(),email:b.trim(),siteUrl:w.trim(),token:E.trim(),isDefault:!0})},t[16]=k,t[17]=b,t[18]=g,t[19]=w,t[20]=E,t[21]=z):z=t[21];let B;t[22]!==n||t[23]!==r?(B=()=>{v(`Jira`),x(``),T(``),D(``),_({environmentId:n}),r.invalidateQueries({queryKey:le}),c.add(F({type:`success`,title:`Jira token saved`,description:`Ryco can now load Jira work items for linked projects.`}))},t[22]=n,t[23]=r,t[24]=B):B=t[24];let re;t[25]!==z||t[26]!==B?(re={mutationFn:z,onSuccess:B,onError:Ce},t[25]=z,t[26]=B,t[27]=re):re=t[27];let V=s(re),H;t[28]===k?H=t[29]:(H=async e=>{if(!k)throw Error(`No server connection is available.`);return k.atlassian.disconnect({connectionId:e.connectionId})},t[28]=k,t[29]=H);let U;t[30]!==n||t[31]!==r?(U=()=>{_({environmentId:n}),r.invalidateQueries({queryKey:le}),m({environmentId:n})},t[30]=n,t[31]=r,t[32]=U):U=t[32];let ie;t[33]!==H||t[34]!==U?(ie={mutationFn:H,onSuccess:U,onError:Se},t[33]=H,t[34]=U,t[35]=ie):ie=t[35];let ae=s(ie),oe;t[36]!==u||t[37]!==o||t[38]!==p||t[39]!==k||t[40]!==R.isPending?(oe=k!==null&&o.trim().length>0&&u.trim().length>0&&p.trim().length>0&&!R.isPending,t[36]=u,t[37]=o,t[38]=p,t[39]=k,t[40]=R.isPending,t[41]=oe):oe=t[41];let se=oe,ce;t[42]!==k||t[43]!==b||t[44]!==g||t[45]!==w||t[46]!==E||t[47]!==V.isPending?(ce=k!==null&&g.trim().length>0&&b.trim().length>0&&w.trim().length>0&&E.trim().length>0&&!V.isPending,t[42]=k,t[43]=b,t[44]=g,t[45]=w,t[46]=E,t[47]=V.isPending,t[48]=ce):ce=t[48];let q=ce,J;t[49]!==se||t[50]!==R?(J=e=>{e.preventDefault(),se&&R.mutate()},t[49]=se,t[50]=R,t[51]=J):J=t[51];let Y=J,ue;t[52]!==q||t[53]!==V?(ue=e=>{e.preventDefault(),q&&V.mutate()},t[52]=q,t[53]=V,t[54]=ue):ue=t[54];let fe=ue,pe;t[55]===j.data?pe=t[56]:(pe=j.data??[],t[55]=j.data,t[56]=pe);let me=pe,he=j.data===null&&!j.isError,ge;t[57]===Symbol.for(`react.memo_cache_sentinel`)?(ge=(0,K.jsx)(`div`,{className:`border-t border-border/60 bg-muted/20 px-4 py-2.5 sm:px-5`,children:(0,K.jsxs)(`h3`,{className:`flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-muted-foreground/70`,children:[(0,K.jsx)(N,{className:`size-3`,"aria-hidden":!0}),`Atlassian`]})}),t[57]=ge):ge=t[57];let _e;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,K.jsx)(C,{htmlFor:`bitbucket-token-label`,className:`text-xs`,children:`Label`}),t[58]=_e):_e=t[58];let xe;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(xe=e=>l(e.currentTarget.value),t[59]=xe):xe=t[59];let X;t[60]===o?X=t[61]:(X=(0,K.jsxs)(`div`,{className:`space-y-1.5`,children:[_e,(0,K.jsx)(I,{id:`bitbucket-token-label`,size:`sm`,value:o,autoComplete:`organization`,onChange:xe,placeholder:`Bitbucket`})]}),t[60]=o,t[61]=X);let Te;t[62]===Symbol.for(`react.memo_cache_sentinel`)?(Te=(0,K.jsx)(C,{htmlFor:`bitbucket-token-email`,className:`text-xs`,children:`Email`}),t[62]=Te):Te=t[62];let Ee;t[63]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=e=>d(e.currentTarget.value),t[63]=Ee):Ee=t[63];let Z;t[64]===u?Z=t[65]:(Z=(0,K.jsxs)(`div`,{className:`space-y-1.5`,children:[Te,(0,K.jsx)(I,{id:`bitbucket-token-email`,size:`sm`,type:`email`,value:u,autoComplete:`username`,onChange:Ee,placeholder:`you@example.com`})]}),t[64]=u,t[65]=Z);let De;t[66]===Symbol.for(`react.memo_cache_sentinel`)?(De=(0,K.jsx)(C,{htmlFor:`bitbucket-token-secret`,className:`text-xs`,children:`Bitbucket app password`}),t[66]=De):De=t[66];let Oe;t[67]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=e=>h(e.currentTarget.value),t[67]=Oe):Oe=t[67];let ke;t[68]===p?ke=t[69]:(ke=(0,K.jsx)(I,{id:`bitbucket-token-secret`,size:`sm`,type:`password`,value:p,autoComplete:`current-password`,onChange:Oe,placeholder:`Stored locally in the server secret store`}),t[68]=p,t[69]=ke);let Ae=!se,je;t[70]===R.isPending?je=t[71]:(je=R.isPending?(0,K.jsx)(y,{className:`size-3`}):null,t[70]=R.isPending,t[71]=je);let Me;t[72]!==Ae||t[73]!==je?(Me=(0,K.jsxs)(i,{type:`submit`,size:`sm`,className:`h-7.5 shrink-0 gap-1.5 px-3 text-xs`,disabled:Ae,children:[je,`Save Token`]}),t[72]=Ae,t[73]=je,t[74]=Me):Me=t[74];let Ne;t[75]!==ke||t[76]!==Me?(Ne=(0,K.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[De,(0,K.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row`,children:[ke,Me]})]}),t[75]=ke,t[76]=Me,t[77]=Ne):Ne=t[77];let Pe;t[78]!==Y||t[79]!==X||t[80]!==Z||t[81]!==Ne?(Pe=(0,K.jsx)(`div`,{className:`border-t border-border/60 px-4 py-4 sm:px-5`,children:(0,K.jsxs)(`form`,{className:`grid gap-3 sm:grid-cols-[1fr_1fr] sm:items-end`,onSubmit:Y,children:[X,Z,Ne]})}),t[78]=Y,t[79]=X,t[80]=Z,t[81]=Ne,t[82]=Pe):Pe=t[82];let Fe;t[83]===Symbol.for(`react.memo_cache_sentinel`)?(Fe=(0,K.jsx)(C,{htmlFor:`jira-token-label`,className:`text-xs`,children:`Label`}),t[83]=Fe):Fe=t[83];let Ie;t[84]===Symbol.for(`react.memo_cache_sentinel`)?(Ie=e=>v(e.currentTarget.value),t[84]=Ie):Ie=t[84];let Le;t[85]===g?Le=t[86]:(Le=(0,K.jsxs)(`div`,{className:`space-y-1.5`,children:[Fe,(0,K.jsx)(I,{id:`jira-token-label`,size:`sm`,value:g,autoComplete:`organization`,onChange:Ie,placeholder:`Jira`})]}),t[85]=g,t[86]=Le);let Re;t[87]===Symbol.for(`react.memo_cache_sentinel`)?(Re=(0,K.jsx)(C,{htmlFor:`jira-token-email`,className:`text-xs`,children:`Email`}),t[87]=Re):Re=t[87];let ze;t[88]===Symbol.for(`react.memo_cache_sentinel`)?(ze=e=>x(e.currentTarget.value),t[88]=ze):ze=t[88];let Be;t[89]===b?Be=t[90]:(Be=(0,K.jsxs)(`div`,{className:`space-y-1.5`,children:[Re,(0,K.jsx)(I,{id:`jira-token-email`,size:`sm`,type:`email`,value:b,autoComplete:`username`,onChange:ze,placeholder:`you@example.com`})]}),t[89]=b,t[90]=Be);let Ve;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,K.jsx)(C,{htmlFor:`jira-site-url`,className:`text-xs`,children:`Jira site URL`}),t[91]=Ve):Ve=t[91];let He;t[92]===Symbol.for(`react.memo_cache_sentinel`)?(He=e=>T(e.currentTarget.value),t[92]=He):He=t[92];let Q;t[93]===w?Q=t[94]:(Q=(0,K.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[Ve,(0,K.jsx)(I,{id:`jira-site-url`,size:`sm`,value:w,inputMode:`url`,autoComplete:`url`,onChange:He,placeholder:`https://your-team.atlassian.net`})]}),t[93]=w,t[94]=Q);let Ue;t[95]===Symbol.for(`react.memo_cache_sentinel`)?(Ue=(0,K.jsx)(C,{htmlFor:`jira-token-secret`,className:`text-xs`,children:`Jira API token`}),t[95]=Ue):Ue=t[95];let We;t[96]===Symbol.for(`react.memo_cache_sentinel`)?(We=e=>D(e.currentTarget.value),t[96]=We):We=t[96];let Ge;t[97]===E?Ge=t[98]:(Ge=(0,K.jsx)(I,{id:`jira-token-secret`,size:`sm`,type:`password`,value:E,autoComplete:`current-password`,onChange:We,placeholder:`Stored locally in the server secret store`}),t[97]=E,t[98]=Ge);let Ke=!q,qe;t[99]===V.isPending?qe=t[100]:(qe=V.isPending?(0,K.jsx)(y,{className:`size-3`}):null,t[99]=V.isPending,t[100]=qe);let Je;t[101]!==Ke||t[102]!==qe?(Je=(0,K.jsxs)(i,{type:`submit`,size:`sm`,className:`h-7.5 shrink-0 gap-1.5 px-3 text-xs`,disabled:Ke,children:[qe,`Save Jira`]}),t[101]=Ke,t[102]=qe,t[103]=Je):Je=t[103];let Ye;t[104]!==Ge||t[105]!==Je?(Ye=(0,K.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[Ue,(0,K.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row`,children:[Ge,Je]})]}),t[104]=Ge,t[105]=Je,t[106]=Ye):Ye=t[106];let Xe;t[107]!==fe||t[108]!==Le||t[109]!==Be||t[110]!==Q||t[111]!==Ye?(Xe=(0,K.jsx)(`div`,{className:`border-t border-border/60 px-4 py-4 sm:px-5`,children:(0,K.jsxs)(`form`,{className:`grid gap-3 sm:grid-cols-[1fr_1fr] sm:items-end`,onSubmit:fe,children:[Le,Be,Q,Ye]})}),t[107]=fe,t[108]=Le,t[109]=Be,t[110]=Q,t[111]=Ye,t[112]=Xe):Xe=t[112];let Ze;t[113]!==he||t[114]!==ae||t[115]!==me?(Ze=he?(0,K.jsxs)(`div`,{className:`flex items-center gap-2 px-4 py-4 text-xs text-muted-foreground sm:px-5`,children:[(0,K.jsx)(y,{className:`size-3.5`}),`Loading Atlassian connections`]}):me.length===0?(0,K.jsx)(`div`,{className:`px-4 py-4 text-xs leading-relaxed text-muted-foreground sm:px-5`,children:`No Atlassian connections are stored yet. Add Bitbucket and Jira tokens to enable repository PRs, diffs, and work-item links.`}):me.map(e=>(0,K.jsxs)(`div`,{className:`flex flex-col gap-3 border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:flex-row sm:items-center sm:justify-between sm:px-5`,children:[(0,K.jsxs)(`div`,{className:`min-w-0 space-y-1`,children:[(0,K.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,K.jsx)(be,{products:e.products,className:`size-4 text-foreground/80`}),(0,K.jsx)(`h3`,{className:`truncate text-[13px] font-semibold text-foreground`,children:e.label}),(0,K.jsx)(A,{variant:ve(e.status),size:`sm`,children:e.status.replace(`_`,` `)}),(0,K.jsx)(A,{variant:`outline`,size:`sm`,children:ye(e.kind)})]}),(0,K.jsxs)(`p`,{className:`flex min-w-0 flex-wrap gap-x-1 text-xs text-muted-foreground`,children:[e.accountEmail?(0,K.jsx)(de,{account:e.accountEmail}):(0,K.jsx)(`span`,{children:`No account email saved`}),(0,K.jsx)(`span`,{"aria-hidden":!0,children:`·`}),(0,K.jsx)(`span`,{children:e.capabilities.join(`, `)})]})]}),(0,K.jsx)(i,{type:`button`,size:`icon-xs`,variant:`ghost`,className:`size-7 self-start text-muted-foreground hover:text-destructive sm:self-auto`,"aria-label":`Delete ${e.label}`,disabled:ae.isPending||e.readonly,onClick:()=>ae.mutate(e),children:(0,K.jsx)(M,{className:`size-3.5`})})]},e.connectionId)),t[113]=he,t[114]=ae,t[115]=me,t[116]=Ze):Ze=t[116];let $;t[117]===Ze?$=t[118]:($=(0,K.jsx)(`div`,{className:`border-t border-border/60`,children:Ze}),t[117]=Ze,t[118]=$);let Qe;return t[119]!==Pe||t[120]!==Xe||t[121]!==$?(Qe=(0,K.jsxs)(K.Fragment,{children:[ge,Pe,Xe,$]}),t[119]=Pe,t[120]=Xe,t[121]=$,t[122]=Qe):Qe=t[122],Qe}function Se(e){c.add(F({type:`error`,title:`Could not delete Atlassian connection`,description:e instanceof Error?e.message:`The connection was not changed.`}))}function Ce(e){c.add(F({type:`error`,title:`Could not save Jira token`,description:e instanceof Error?e.message:`The token could not be saved.`}))}function we(e){c.add(F({type:`error`,title:`Could not save Bitbucket token`,description:e instanceof Error?e.message:`The token could not be saved.`}))}function X(){let e=(0,W.c)(2),t=d(),n;return e[0]===t?n=e[1]:(n=t===`client`?(0,K.jsx)(U,{children:(0,K.jsx)(j,{})}):(0,K.jsx)(Te,{}),e[0]=t,e[1]=n),n}function Te(){let e=(0,W.c)(44),t=d(),r=u(),a=n(),s=r?.environmentId??a,c;e[0]===s?c=e[1]:(c={environmentId:s},e[0]=s,e[1]=c);let f=l(c),p=f.data??ae,h=f.isPending&&f.data===null,g;e[2]===s?g=e[3]:(g=()=>{m({environmentId:s})},e[2]=s,e[3]=g);let _=g,v=f.isPending,y=f.isPending&&`animate-spin`,b;e[4]===y?b=e[5]:(b=o(`size-3`,y),e[4]=y,e[5]=b);let S;e[6]===b?S=e[7]:(S=(0,K.jsx)(P,{className:b}),e[6]=b,e[7]=S);let C;e[8]!==f.isPending||e[9]!==_||e[10]!==S?(C=(0,K.jsx)(k,{render:(0,K.jsx)(i,{size:`icon-xs`,variant:`ghost`,className:`size-5 rounded-sm p-0 text-muted-foreground hover:text-foreground`,onClick:_,disabled:v,"aria-label":`Rescan server environment`,children:S})}),e[8]=f.isPending,e[9]=_,e[10]=S,e[11]=C):C=e[11];let w;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,K.jsx)(ee,{side:`top`,children:`Rescan Git and hosting integrations`}),e[12]=w):w=e[12];let T;e[13]===C?T=e[14]:(T=(0,K.jsxs)(te,{children:[C,w]}),e[13]=C,e[14]=T);let E=T;if(h){let t;e[15]===E?t=e[16]:(t=(0,K.jsx)(ge,{title:`Version Control`,headerAction:E}),e[15]=E,e[16]=t);let n;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,K.jsx)(ge,{title:`Source Control Providers`}),e[17]=n):n=e[17];let r;return e[18]===t?r=e[19]:(r=(0,K.jsxs)(U,{children:[t,n]}),e[18]=t,e[19]=r),r}let D=p.versionControlSystems.length>0,O=p.sourceControlProviders.length>0,A=D||O,M;e[20]===t?M=e[21]:(M=t===`all`&&(0,K.jsx)(j,{}),e[20]=t,e[21]=M);let N;e[22]!==f.isPending||e[23]!==s||e[24]!==_||e[25]!==A?(N=A?null:(0,K.jsxs)(H,{title:`Source Control Providers`,children:[(0,K.jsxs)(V,{className:`min-h-56 border-t border-border/60 first:border-t-0`,children:[(0,K.jsxs)(R,{children:[(0,K.jsx)(ne,{variant:`icon`,children:(0,K.jsx)(x,{className:`size-4`})}),(0,K.jsx)(B,{children:`Nothing detected yet`}),(0,K.jsx)(re,{children:`Install Git on the server, add optional hosting integrations or credentials your workspace needs, then rescan.`})]}),(0,K.jsx)(z,{children:(0,K.jsxs)(i,{type:`button`,size:`xs`,onClick:_,disabled:f.isPending,children:[(0,K.jsx)(P,{className:o(`size-3`,f.isPending&&`animate-spin`)}),`Scan`]})})]}),(0,K.jsx)(xe,{environmentId:s})]}),e[22]=f.isPending,e[23]=s,e[24]=_,e[25]=A,e[26]=N):N=e[26];let F;e[27]!==D||e[28]!==p.versionControlSystems||e[29]!==E?(F=D?(0,K.jsx)(H,{title:`Version Control`,headerAction:E,children:p.versionControlSystems.map(Z)}):null,e[27]=D,e[28]=p.versionControlSystems,e[29]=E,e[30]=F):F=e[30];let I;e[31]!==f.error||e[32]!==s||e[33]!==A||e[34]!==O||e[35]!==D||e[36]!==p.sourceControlProviders||e[37]!==E?(I=A?(0,K.jsxs)(H,{title:`Source Control Providers`,headerAction:D?null:E,children:[O?p.sourceControlProviders.map(Ee):(0,K.jsx)(`div`,{className:`border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:px-5`,children:(0,K.jsx)(`p`,{className:`text-xs leading-relaxed text-muted-foreground`,children:f.error??`No source control providers were detected on the server. Install a CLI like git, gh, glab, or az on the server host, then rescan.`})}),(0,K.jsx)(xe,{environmentId:s})]}):null,e[31]=f.error,e[32]=s,e[33]=A,e[34]=O,e[35]=D,e[36]=p.sourceControlProviders,e[37]=E,e[38]=I):I=e[38];let L;return e[39]!==N||e[40]!==F||e[41]!==I||e[42]!==M?(L=(0,K.jsxs)(U,{children:[M,N,F,I]}),e[39]=N,e[40]=F,e[41]=I,e[42]=M,e[43]=L):L=e[43],L}function Ee(e){return(0,K.jsx)(he,{item:e},`provider:${e.kind}`)}function Z(e){return(0,K.jsx)(he,{item:e},`vcs:${e.kind}`)}export{X as SourceControlSettingsPanel};
@@ -0,0 +1 @@
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{n}from"./primary-CNUdEGcv.js";import{t as r}from"./src-DPpEXU6w.js";import{Aa as i,Br as a,Hr as o,Pa as s,Ta as c,u as l,vl as u,y as d}from"./runtime-BKneT96Q.js";import{t as f}from"./compiler-runtime-qmuS0Svy.js";import{a as p,c as m,n as h,o as g,s as _,t as v}from"./badge-BjvTY7-E.js";import{t as y}from"./activity-BmRcsTyL.js";import{A as b,C as x,D as S,E as C,F as w,N as T,O as E,P as D,R as O,S as k,_ as ee,a as A,b as j,c as M,g as N,h as P,i as F,j as I,k as L,l as R,m as te,o as z,p as B,s as ne,t as V,u as H,v as re,w as U,y as W}from"./useStatistics-DJtONxT0.js";import{t as G}from"./chart-column-C08MuLgY.js";import{i as ie,n as ae,r as oe,t as se}from"./sparkles-DAXDXp_s.js";import{n as ce,t as le}from"./layers-Co2a5C1k.js";import{t as K}from"./refresh-cw-CY5BeUEr.js";import{t as ue}from"./shield-alert-DMB5gKiC.js";import{t as de}from"./wrench-36WYdK_a.js";import{t as fe}from"./scroll-area-Cq4SX9P8.js";import{t as pe}from"./capabilities-BCkDNe83.js";import{o as me}from"./sidebar-Bsh64sLK.js";import{n as he,t as ge}from"./appChrome-CsZ2ylc1.js";import{t as _e}from"./useAppSidebarCollapsed-uwz9Hlgc.js";import{n as ve,r as ye,t as be}from"./usage-8vQUo0mr.js";var xe={name:`brain-circuit`,size:24,node:[[`path`,{d:`M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z`,key:`l5xja`}],[`path`,{d:`M9 13a4.5 4.5 0 0 0 3-4`,key:`10igwf`}],[`path`,{d:`M6.003 5.125A3 3 0 0 0 6.401 6.5`,key:`105sqy`}],[`path`,{d:`M3.477 10.896a4 4 0 0 1 .585-.396`,key:`ql3yin`}],[`path`,{d:`M6 18a4 4 0 0 1-1.967-.516`,key:`2e4loj`}],[`path`,{d:`M12 13h4`,key:`1ku699`}],[`path`,{d:`M12 18h6a2 2 0 0 1 2 2v1`,key:`105ag5`}],[`path`,{d:`M12 8h8`,key:`1lhi5i`}],[`path`,{d:`M16 8V5a2 2 0 0 1 2-2`,key:`u6izg6`}],[`circle`,{cx:`16`,cy:`13`,r:`.5`,key:`ry7gng`}],[`circle`,{cx:`18`,cy:`3`,r:`.5`,key:`1aiba7`}],[`circle`,{cx:`20`,cy:`21`,r:`.5`,key:`yhc1fs`}],[`circle`,{cx:`20`,cy:`8`,r:`.5`,key:`1e43v0`}]]};xe.node;var Se=s(xe),Ce={name:`circle-dollar-sign`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`,key:`1h4pet`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}]]};Ce.node;var we=s(Ce),Te={name:`database`,size:24,node:[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]};Te.node;var Ee=s(Te);function De(e,t){if(t===void 0||t.length===0)return e.buckets;let n=new Set(t);return e.buckets.filter(e=>n.has(e.provider))}function Oe(e,t){let n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0,u=0,d=!1,f=!1,p=0,m=0;for(let e of t)n+=e.tokens.totalTokens,r+=e.tokens.uncachedInputTokens,i+=e.tokens.cachedInputTokens,a+=e.tokens.cacheCreationInputTokens,o+=e.tokens.outputTokens,s+=e.tokens.reasoningTokens,c+=e.responseCount,p+=e.pricedTokenCount,m+=e.unpricedTokenCount,e.estimatedCostUsd!==void 0&&(l+=e.estimatedCostUsd,d=!0),e.estimatedCacheSavingsUsd!==void 0&&(u+=e.estimatedCacheSavingsUsd,f=!0);let h=new Set(t.map(e=>e.provider)),g=e.sources.filter(e=>e.included&&h.has(e.provider)&&e.status!==`not-found`&&e.status!==`failed`).reduce((e,t)=>e+t.distinctSessionCount,0);return{totalTokens:n,uncachedInputTokens:r,cachedInputTokens:i,cacheCreationInputTokens:a,outputTokens:o,reasoningTokens:s,responseCount:c,distinctSessionCount:g,estimatedCostUsd:d?l:null,estimatedCacheSavingsUsd:f?u:null,pricedTokenCount:p,unpricedTokenCount:m}}function ke(e,t){return new Date(Date.parse(`${e}T12:00:00.000Z`)+t*864e5).toISOString().slice(0,10)}function Ae(e,t){let n=new Map;for(let e of t){let t=n.get(e.date)??{date:e.date,claudeCost:0,codexCost:0,claudeTokens:0,codexTokens:0};n.set(e.date,{...t,...e.provider===`claude`?{claudeCost:t.claudeCost+(e.estimatedCostUsd??0),claudeTokens:t.claudeTokens+e.tokens.totalTokens}:{codexCost:t.codexCost+(e.estimatedCostUsd??0),codexTokens:t.codexTokens+e.tokens.totalTokens}})}let r=e.startDate??[...n.keys()].toSorted((e,t)=>e.localeCompare(t))[0];if(r===void 0)return[];let i=[];for(let t=r;t<=e.endDate;t=ke(t,1))i.push(n.get(t)??{date:t,claudeCost:0,codexCost:0,claudeTokens:0,codexTokens:0});return i}function je(e,t){let n=new Map;for(let r of e){let e=t===`model`?`${r.provider}\0${r.model}`:r.date,i=n.get(e)??{key:e,label:t===`model`?r.model:r.date,...t===`model`?{provider:r.provider}:{},tokens:0,costUsd:null,unpricedTokens:0,responses:0};n.set(e,{...i,tokens:i.tokens+r.tokens.totalTokens,costUsd:r.estimatedCostUsd===void 0?i.costUsd:(i.costUsd??0)+r.estimatedCostUsd,unpricedTokens:i.unpricedTokens+r.unpricedTokenCount,responses:i.responses+r.responseCount})}let r=[...n.values()].some(e=>e.costUsd!==null);return[...n.values()].toSorted((e,t)=>r&&(t.costUsd??-1)-(e.costUsd??-1)||t.tokens-e.tokens)}var q=f(),J=u();function Me(e){let t=(0,q.c)(56),{search:r,onSearchChange:i}=e,{snapshot:o,loading:s,error:l,refresh:u,refreshing:d}=V(),f=r.projectId??null,p=r.model??null,m=r.modelProvider??null,h;t[0]!==r.range||t[1]!==f||t[2]!==p||t[3]!==m?(h={range:r.range,projectId:f,model:p,provider:m},t[0]=r.range,t[1]=f,t[2]=p,t[3]=m,t[4]=h):h=t[4];let g=h,_;bb0:{if(!o){_=null;break bb0}let e,n,r,i;if(t[5]!==g||t[6]!==o){let a=w(o,g),s=O(a);e=a,n=s,r=D(o,a,g.range),i=I(a,T(o)),t[5]=g,t[6]=o,t[7]=e,t[8]=n,t[9]=r,t[10]=i}else e=t[7],n=t[8],r=t[9],i=t[10];let a;t[11]!==e||t[12]!==n||t[13]!==r||t[14]!==i?(a={buckets:e,totals:n,days:r,projects:i},t[11]=e,t[12]=n,t[13]=r,t[14]=i,t[15]=a):a=t[15],_=a}let v=_;if(s&&!o){let e;return t[16]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,J.jsx)(ne,{}),t[16]=e):e=t[16],e}if(l&&!o){let e;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,J.jsx)(K,{}),t[17]=e):e=t[17];let n;t[18]===u?n=t[19]:(n=(0,J.jsxs)(a,{size:`sm`,variant:`outline`,onClick:u,children:[e,` Try again`]}),t[18]=u,t[19]=n);let r;return t[20]!==l||t[21]!==n?(r=(0,J.jsx)(M,{icon:c,title:`Couldn’t load Ryco activity`,description:l,action:n}),t[20]=l,t[21]=n,t[22]=r):r=t[22],r}if(!o||!v)return null;let{totals:b,days:x,projects:S}=v,C=n()?.label??`Current environment`,E;if(t[23]!==x||t[24]!==g||t[25]!==i||t[26]!==S||t[27]!==u||t[28]!==d||t[29]!==r||t[30]!==o.dailyBuckets.length||t[31]!==o.models||t[32]!==o.projects||t[33]!==o.recentPullRequests||t[34]!==o.worktrees||t[35]!==b){let e=Pe(x,r.activityMetric),n;t[37]!==i||t[38]!==r?(n=e=>i({...r,range:e.range,projectId:e.projectId??void 0,model:e.model??void 0,modelProvider:e.provider??void 0}),t[37]=i,t[38]=r,t[39]=n):n=t[39];let s;t[40]!==g||t[41]!==o.models||t[42]!==o.projects||t[43]!==n?(s=(0,J.jsx)(F,{filter:g,projects:o.projects,models:o.models,onChange:n}),t[40]=g,t[41]=o.models,t[42]=o.projects,t[43]=n,t[44]=s):s=t[44];let c=d?`animate-spin`:void 0,l;t[45]===c?l=t[46]:(l=(0,J.jsx)(K,{className:c}),t[45]=c,t[46]=l);let f=d?`Refreshing`:`Refresh`,p;t[47]!==u||t[48]!==d||t[49]!==l||t[50]!==f?(p=(0,J.jsxs)(a,{size:`sm`,variant:`outline`,onClick:u,disabled:d,children:[l,f]}),t[47]=u,t[48]=d,t[49]=l,t[50]=f,t[51]=p):p=t[51];let m;t[52]!==p||t[53]!==s?(m=(0,J.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[s,p]}),t[52]=p,t[53]=s,t[54]=m):m=t[54];let h;t[55]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,J.jsxs)(`p`,{className:`max-w-4xl text-sm leading-relaxed text-muted-foreground`,children:[`Activity includes work observed by Ryco on`,` `,(0,J.jsx)(`span`,{className:`font-medium text-foreground`,children:C}),`. Usage from other CLI sessions appears in the Usage tab and is not assigned to projects.`]}),t[55]=h):h=t[55],E=(0,J.jsxs)(`div`,{className:`space-y-8`,children:[m,h,o.dailyBuckets.length===0?(0,J.jsx)(M,{icon:y,title:`No Ryco activity yet`,description:`Project and agent activity will appear here after your first completed turns.`}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 lg:grid-cols-3 xl:grid-cols-5`,children:[(0,J.jsx)(z,{label:`Active time`,icon:ie,value:P(b.activeMs),sub:`${j(b.totalTokens)} observed tokens`}),(0,J.jsx)(z,{label:`Turns`,icon:y,value:N(b.turns),sub:`Completed agent turns`}),(0,J.jsx)(z,{label:`Chats`,icon:ae,value:N(b.threadsCreated),sub:`Conversations started`}),(0,J.jsx)(z,{label:`Tool uses`,icon:de,value:N(b.toolUses),sub:`Observed invocations`}),(0,J.jsx)(z,{label:`Files changed`,icon:ce,value:N(b.filesChanged),sub:`+${N(b.additions)} / −${N(b.deletions)} lines`})]}),(0,J.jsxs)(`div`,{className:`grid gap-4 lg:grid-cols-[1.2fr_0.8fr]`,children:[(0,J.jsxs)(A,{title:`Activity rhythm`,icon:y,bodyClassName:`p-5`,action:(0,J.jsx)(Fe,{search:r,onSearchChange:i}),children:[(0,J.jsx)(B,{points:x,metric:r.activityMetric}),(0,J.jsxs)(`div`,{className:`mt-5 grid grid-cols-3 gap-3 border-t border-border/60 pt-4`,children:[(0,J.jsx)(X,{label:`Active days`,value:N(e.activeDays)}),(0,J.jsx)(X,{label:`Current streak`,value:`${N(e.currentStreak)}d`}),(0,J.jsx)(X,{label:`Busiest UTC day`,value:e.busiestLabel})]})]}),(0,J.jsx)(A,{title:`Projects`,icon:y,bodyClassName:`p-4`,children:(0,J.jsx)(H,{data:S,metric:r.activityMetric})})]}),(0,J.jsxs)(`div`,{className:`grid gap-4 lg:grid-cols-2`,children:[(0,J.jsxs)(A,{title:`Code changes`,icon:ce,bodyClassName:`p-4`,children:[(0,J.jsxs)(`div`,{className:`mb-4 flex gap-6 text-sm`,children:[(0,J.jsx)(X,{label:`Files`,value:N(b.filesChanged)}),(0,J.jsx)(X,{label:`Added`,value:`+${N(b.additions)}`,tone:`positive`}),(0,J.jsx)(X,{label:`Removed`,value:`−${N(b.deletions)}`,tone:`negative`})]}),(0,J.jsx)(R,{data:x})]}),(0,J.jsxs)(A,{title:`Source control · all time`,icon:oe,bodyClassName:`overflow-hidden`,children:[(0,J.jsxs)(`div`,{className:`grid grid-cols-4 gap-3 border-b border-border/60 px-4 py-4`,children:[(0,J.jsx)(X,{label:`Active`,value:N(o.worktrees.active)}),(0,J.jsx)(X,{label:`Created`,value:N(o.worktrees.created)}),(0,J.jsx)(X,{label:`Archived`,value:N(o.worktrees.archived)}),(0,J.jsx)(X,{label:`Open PRs`,value:N(o.worktrees.openPrs)})]}),o.recentPullRequests.length===0?(0,J.jsx)(`div`,{className:`flex h-[260px] items-center justify-center px-6 text-center text-xs text-muted-foreground`,children:`No projected pull requests yet.`}):(0,J.jsx)(`div`,{className:`divide-y divide-border/60`,children:o.recentPullRequests.slice(0,6).map(Ne)})]})]})]})]}),t[23]=x,t[24]=g,t[25]=i,t[26]=S,t[27]=u,t[28]=d,t[29]=r,t[30]=o.dailyBuckets.length,t[31]=o.models,t[32]=o.projects,t[33]=o.recentPullRequests,t[34]=o.worktrees,t[35]=b,t[36]=E}else E=t[36];return E}function Ne(e){return(0,J.jsxs)(`div`,{className:`flex items-center gap-3 px-4 py-3.5`,children:[(0,J.jsx)(`div`,{className:`flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground`,children:(0,J.jsx)(oe,{className:`size-4`})}),(0,J.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,J.jsx)(`p`,{className:`truncate text-sm font-medium`,children:e.prTitle||e.worktreeTitle||e.branch}),(0,J.jsxs)(`p`,{className:`mt-0.5 truncate text-[11px] text-muted-foreground`,children:[e.projectTitle,` · #`,e.prNumber,` ·`,` `,W(e.updatedAt)]})]}),(0,J.jsx)(v,{variant:e.prState===`merged`?`success`:e.active?`info`:`secondary`,children:e.prIsDraft?`Draft`:e.prState??(e.active?`Open`:`Archived`)})]},e.worktreeId)}function Y(e,t){return t===`turns`?e.turns:t===`activeMs`?e.activeMs:e.filesChanged}function Pe(e,t){let n=0,r=0,i=null;for(let r of e){let e=Y(r,t);e>0&&(n+=1),(i===null||e>Y(i,t))&&(i=r)}for(let n=e.length-1;n>=0;--n){let i=e[n];if(i===void 0||Y(i,t)<=0)break;r+=1}if(i===null||Y(i,t)<=0)return{activeDays:n,currentStreak:r,busiestLabel:`—`};let a=Y(i,t),o=t===`activeMs`?P(a):N(a);return{activeDays:n,currentStreak:r,busiestLabel:`${i.date.slice(5)} · ${o}`}}function Fe(e){let t=(0,q.c)(4),{search:n,onSearchChange:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=[`turns`,`activeMs`,`files`],t[0]=i):i=t[0];let a;return t[1]!==r||t[2]!==n?(a=(0,J.jsx)(`div`,{className:`inline-flex rounded-md bg-muted p-0.5`,children:i.map(e=>(0,J.jsx)(`button`,{type:`button`,onClick:()=>r({...n,activityMetric:e}),className:o(`h-6 rounded-sm px-2 text-[11px]`,n.activityMetric===e?`bg-background text-foreground shadow-xs`:`text-muted-foreground`),children:e===`activeMs`?`Time`:e===`files`?`Files`:`Turns`},e))}),t[1]=r,t[2]=n,t[3]=a):a=t[3],a}function X(e){let t=(0,q.c)(10),{label:n,value:r,tone:i}=e,a;t[0]===n?a=t[1]:(a=(0,J.jsx)(`p`,{className:`text-[10px] tracking-[0.08em] text-muted-foreground uppercase`,children:n}),t[0]=n,t[1]=a);let s=i===`positive`?`text-success-foreground`:i===`negative`?`text-destructive`:`text-foreground`,c;t[2]===s?c=t[3]:(c=o(`mt-1 font-semibold tabular-nums`,s),t[2]=s,t[3]=c);let l;t[4]!==c||t[5]!==r?(l=(0,J.jsx)(`p`,{className:c,children:r}),t[4]=c,t[5]=r,t[6]=l):l=t[6];let u;return t[7]!==a||t[8]!==l?(u=(0,J.jsxs)(`div`,{children:[a,l]}),t[7]=a,t[8]=l,t[9]=u):u=t[9],u}var Z=e(t(),1);function Ie(){let e=(0,q.c)(3),[t,n]=(0,Z.useState)(0),r,i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=()=>d(()=>n(Le)),i=[],e[0]=r,e[1]=i):(r=e[0],i=e[1]),(0,Z.useEffect)(r,i);let a;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=l(),e[2]=a):a=e[2],a}function Le(e){return e+1}function Re(e){let t=Ie(),n=(0,Z.useMemo)(()=>t.map(e=>({environmentId:e.environmentId,label:e.knownEnvironment.label})).toSorted((e,t)=>e.label.localeCompare(t.label)),[t]),r=(0,Z.useMemo)(()=>{if(e.environmentIds===void 0||e.environmentIds.length===0)return t;let n=new Set(e.environmentIds);return t.filter(e=>n.has(e.environmentId))},[t,e.environmentIds]),i=Intl.DateTimeFormat().resolvedOptions().timeZone||`UTC`,[a,o]=(0,Z.useState)(0),[s,c]=(0,Z.useState)(null),[l,u]=(0,Z.useState)([]),[d,f]=(0,Z.useState)(!0),p=(0,Z.useRef)(new ve),m=r.map(e=>e.environmentId).toSorted().join(`\0`);(0,Z.useEffect)(()=>{let t=p.current.next(),n=be(e.range,i);f(!0),Promise.all(r.map(async e=>{try{let t=await e.client.server.getUsageSummary(n);if(t.contractVersion!==1)return{environmentId:e.environmentId,label:e.knownEnvironment.label,status:`stale-contract`,message:`This environment uses an incompatible usage contract.`};let r=t.sources.some(e=>e.status===`partial`||e.status===`failed`);return{environmentId:e.environmentId,label:e.knownEnvironment.label,status:r?`partial`:`complete`,summary:t}}catch(t){return{environmentId:e.environmentId,label:e.knownEnvironment.label,status:`failed`,message:t instanceof Error?t.message:String(t)}}})).then(e=>{p.current.isCurrent(t)&&(u(e),c(ye(e)),f(!1))})},[e.range,a,r,m,i]);let h=(0,Z.useCallback)(()=>o(e=>e+1),[]);return{merged:s,environments:l,availableEnvironments:n,loading:d,refreshing:d&&s!==null,refresh:h}}var ze=new Intl.NumberFormat(`en-US`,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2}),Q={claude:`#d97757`,codex:`var(--foreground)`};function Be(e){return e===null?`Unavailable`:ze.format(e)}function Ve(e){let t=(0,q.c)(90),{search:n,onSearchChange:r}=e,o;t[0]!==n.environmentIds||t[1]!==n.range?(o={range:n.range,environmentIds:n.environmentIds},t[0]=n.environmentIds,t[1]=n.range,t[2]=o):o=t[2];let s=Re(o),{merged:c}=s,l;bb0:{if(!c){l=null;break bb0}let e,r,i,a;if(t[3]!==c||t[4]!==n.providers||t[5]!==n.usageBreakdown){let o=De(c,n.providers);e=o,r=Oe(c,o),i=Ae(c,o),a=je(o,n.usageBreakdown),t[3]=c,t[4]=n.providers,t[5]=n.usageBreakdown,t[6]=e,t[7]=r,t[8]=i,t[9]=a}else e=t[6],r=t[7],i=t[8],a=t[9];let o;t[10]!==e||t[11]!==r||t[12]!==i||t[13]!==a?(o={buckets:e,totals:r,days:i,breakdown:a},t[10]=e,t[11]=r,t[12]=i,t[13]=a,t[14]=o):o=t[14],l=o}let u=l;if(s.loading&&!c){let e;return t[15]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,J.jsx)(ne,{}),t[15]=e):e=t[15],e}if(!c||!u){let e,n,r,o;if(t[16]!==s.environments){let a=s.environments.filter(Ge);e=M,n=a.length>0?i:Ee,r=a.length>0?`Couldn’t load usage`:`No usage environments are connected`,o=a.length>0?`Usage failed for ${a.map(We).join(`, `)}. ${a[0]?.message??`Retry after checking the environment connection.`}`:`Connect an environment with Claude Code or Codex transcripts, then refresh this view.`,t[16]=s.environments,t[17]=e,t[18]=n,t[19]=r,t[20]=o}else e=t[17],n=t[18],r=t[19],o=t[20];let c;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,J.jsx)(K,{}),t[21]=c):c=t[21];let l;t[22]===s.refresh?l=t[23]:(l=(0,J.jsxs)(a,{size:`sm`,variant:`outline`,onClick:s.refresh,children:[c,` Refresh`]}),t[22]=s.refresh,t[23]=l);let u;return t[24]!==e||t[25]!==n||t[26]!==r||t[27]!==o||t[28]!==l?(u=(0,J.jsx)(e,{icon:n,title:r,description:o,action:l}),t[24]=e,t[25]=n,t[26]=r,t[27]=o,t[28]=l,t[29]=u):u=t[29],u}let{totals:d,days:f,breakdown:v}=u,y=d.pricedTokenCount+d.unpricedTokenCount>0?d.pricedTokenCount/(d.pricedTokenCount+d.unpricedTokenCount):0,b=d.uncachedInputTokens+d.cachedInputTokens+d.cacheCreationInputTokens>0?d.cachedInputTokens/(d.uncachedInputTokens+d.cachedInputTokens+d.cacheCreationInputTokens):0,x=n.environmentIds===void 0||n.environmentIds?.length!==1?`all`:n.environmentIds[0],S;t[30]===c.sources?S=t[31]:(S=c.sources.some(Ue),t[30]=c.sources,t[31]=S);let C=S,w;t[32]!==r||t[33]!==n?(w=(0,J.jsx)(Ke,{search:n,onSearchChange:r}),t[32]=r,t[33]=n,t[34]=w):w=t[34];let T;t[35]!==r||t[36]!==n?(T=e=>r({...n,...e===null||e===`all`?{environmentIds:void 0}:{environmentIds:[e]}}),t[35]=r,t[36]=n,t[37]=T):T=t[37];let E;t[38]!==s.availableEnvironments||t[39]!==x?(E=x===`all`?`All environments (${s.availableEnvironments.length})`:s.availableEnvironments.find(e=>e.environmentId===x)?.label??`Environment`,t[38]=s.availableEnvironments,t[39]=x,t[40]=E):E=t[40];let D;t[41]===E?D=t[42]:(D=(0,J.jsx)(_,{size:`sm`,className:`w-48`,"aria-label":`Usage environment`,children:(0,J.jsx)(m,{children:E})}),t[41]=E,t[42]=D);let O;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,J.jsx)(p,{value:`all`,children:`All environments`}),t[43]=O):O=t[43];let k;t[44]===s.availableEnvironments?k=t[45]:(k=s.availableEnvironments.map(He),t[44]=s.availableEnvironments,t[45]=k);let P;t[46]===k?P=t[47]:(P=(0,J.jsxs)(g,{alignItemWithTrigger:!1,children:[O,k]}),t[46]=k,t[47]=P);let F;t[48]!==x||t[49]!==P||t[50]!==T||t[51]!==D?(F=(0,J.jsxs)(h,{value:x,onValueChange:T,children:[D,P]}),t[48]=x,t[49]=P,t[50]=T,t[51]=D,t[52]=F):F=t[52];let I;t[53]!==r||t[54]!==n?(I=(0,J.jsx)(qe,{search:n,onSearchChange:r}),t[53]=r,t[54]=n,t[55]=I):I=t[55];let L;t[56]!==F||t[57]!==I||t[58]!==w?(L=(0,J.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[w,F,I]}),t[56]=F,t[57]=I,t[58]=w,t[59]=L):L=t[59];let R=s.refreshing?`animate-spin`:void 0,z;t[60]===R?z=t[61]:(z=(0,J.jsx)(K,{className:R}),t[60]=R,t[61]=z);let B=s.refreshing?`Refreshing`:`Refresh`,V;t[62]!==s.refresh||t[63]!==s.refreshing||t[64]!==z||t[65]!==B?(V=(0,J.jsxs)(a,{size:`sm`,variant:`outline`,onClick:s.refresh,disabled:s.refreshing,children:[z,B]}),t[62]=s.refresh,t[63]=s.refreshing,t[64]=z,t[65]=B,t[66]=V):V=t[66];let H;t[67]!==L||t[68]!==V?(H=(0,J.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[L,V]}),t[67]=L,t[68]=V,t[69]=H):H=t[69];let U;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,J.jsx)(`p`,{className:`max-w-3xl text-sm leading-relaxed text-muted-foreground`,children:`Provider-recorded usage from Claude Code and Codex transcripts on the selected machines. This includes sessions run outside Ryco and is intentionally not attributed to projects.`}),t[70]=U):U=t[70];let W;t[71]!==v||t[72]!==b||t[73]!==f||t[74]!==u.buckets.length||t[75]!==C||t[76]!==c||t[77]!==r||t[78]!==y||t[79]!==n||t[80]!==d.distinctSessionCount||t[81]!==d.estimatedCacheSavingsUsd||t[82]!==d.estimatedCostUsd||t[83]!==d.reasoningTokens||t[84]!==d.responseCount||t[85]!==d.totalTokens?(W=u.buckets.length===0?(0,J.jsx)(M,{icon:le,title:C?`No usage in this range`:`No transcript sources found`,description:C?`The transcript sources were found, but no provider-recorded usage matched these filters.`:`Claude Code and Codex transcript directories were not found on the selected environments.`}):(0,J.jsxs)(J.Fragment,{children:[(0,J.jsxs)(`section`,{className:`grid overflow-hidden rounded-2xl border border-border/75 bg-card shadow-sm/5 lg:grid-cols-[minmax(18rem,0.72fr)_minmax(0,1.55fr)]`,children:[(0,J.jsxs)(`div`,{className:`flex min-h-80 flex-col justify-between border-b border-border/70 p-6 lg:border-r lg:border-b-0 lg:p-8`,children:[(0,J.jsxs)(`div`,{children:[(0,J.jsxs)(`div`,{className:`flex items-center gap-2 text-[11px] font-semibold tracking-[0.12em] text-muted-foreground uppercase`,children:[(0,J.jsx)(we,{className:`size-3.5`}),` Raw API-equivalent cost`]}),(0,J.jsx)(`div`,{className:`mt-5 text-4xl font-semibold tracking-[-0.045em] tabular-nums sm:text-5xl`,children:Be(d.estimatedCostUsd)}),(0,J.jsx)(`p`,{className:`mt-3 max-w-sm text-xs leading-relaxed text-muted-foreground`,children:`Estimate based on base API rates. Subscription, credits, batch, negotiated, and provider billing may differ.`})]}),(0,J.jsxs)(`div`,{className:`space-y-4 border-t border-border/65 pt-5`,children:[(0,J.jsx)($e,{label:`Priced coverage`,value:`${Math.round(y*100)}% of tokens`}),(0,J.jsx)($e,{label:`Estimated cache savings`,value:Be(d.estimatedCacheSavingsUsd)}),(0,J.jsx)($e,{label:`Provider-recorded tokens`,value:N(d.totalTokens)})]})]}),(0,J.jsxs)(`div`,{className:`min-w-0 p-4 sm:p-6`,children:[(0,J.jsxs)(`div`,{className:`mb-2 flex items-center justify-between gap-3 px-1`,children:[(0,J.jsxs)(`div`,{children:[(0,J.jsx)(`h2`,{className:`text-sm font-semibold`,children:`Usage over time`}),(0,J.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Daily values in `,c.timeZone]})]}),(0,J.jsx)(Je,{search:n,onSearchChange:r})]}),(0,J.jsx)(Xe,{data:f,metric:n.usageMetric}),(0,J.jsxs)(`div`,{className:`flex items-center justify-end gap-4 px-2 text-[11px] text-muted-foreground`,children:[(0,J.jsx)(et,{color:Q.claude,label:`Claude`}),(0,J.jsx)(et,{color:Q.codex,label:`Codex`})]})]})]}),(0,J.jsxs)(`div`,{className:`grid grid-cols-2 border-y border-border/65 md:grid-cols-5`,children:[(0,J.jsx)($,{label:`Total tokens`,value:j(d.totalTokens)}),(0,J.jsx)($,{label:`Sessions`,value:N(d.distinctSessionCount)}),(0,J.jsx)($,{label:`Responses`,value:N(d.responseCount)}),(0,J.jsx)($,{label:`Cache read`,value:`${Math.round(b*100)}%`}),(0,J.jsx)($,{label:`Reasoning`,value:j(d.reasoningTokens),detail:`included in output`})]}),(0,J.jsx)(A,{title:`Breakdown`,icon:le,action:(0,J.jsx)(Ye,{search:n,onSearchChange:r}),bodyClassName:`overflow-hidden`,children:(0,J.jsx)(`div`,{className:`divide-y divide-border/60`,children:v.slice(0,20).map(e=>(0,J.jsxs)(`div`,{className:`grid grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-5 px-4 py-3.5 sm:px-5`,children:[(0,J.jsxs)(`div`,{className:`min-w-0`,children:[(0,J.jsx)(`p`,{className:`truncate text-sm font-medium`,children:n.usageBreakdown===`model`?ee(e.label):te(e.label)}),(0,J.jsx)(`p`,{className:`mt-0.5 text-[11px] text-muted-foreground`,children:e.provider?re(e.provider):`${e.responses} responses`})]}),(0,J.jsxs)(`div`,{className:`text-right`,children:[(0,J.jsx)(`p`,{className:`text-sm font-medium tabular-nums`,children:j(e.tokens)}),(0,J.jsx)(`p`,{className:`text-[11px] text-muted-foreground`,children:`tokens`})]}),(0,J.jsxs)(`div`,{className:`w-24 text-right`,children:[(0,J.jsx)(`p`,{className:`text-sm font-medium tabular-nums`,children:Be(e.costUsd)}),(0,J.jsx)(`p`,{className:`text-[11px] text-muted-foreground`,children:e.unpricedTokens>0?`${j(e.unpricedTokens)} unpriced`:`estimated`})]})]},e.key))})}),(0,J.jsx)(tt,{summary:c})]}),t[71]=v,t[72]=b,t[73]=f,t[74]=u.buckets.length,t[75]=C,t[76]=c,t[77]=r,t[78]=y,t[79]=n,t[80]=d.distinctSessionCount,t[81]=d.estimatedCacheSavingsUsd,t[82]=d.estimatedCostUsd,t[83]=d.reasoningTokens,t[84]=d.responseCount,t[85]=d.totalTokens,t[86]=W):W=t[86];let G;return t[87]!==H||t[88]!==W?(G=(0,J.jsxs)(`div`,{className:`space-y-8`,children:[H,U,W]}),t[87]=H,t[88]=W,t[89]=G):G=t[89],G}function He(e){return(0,J.jsx)(p,{value:e.environmentId,children:e.label},e.environmentId)}function Ue(e){return e.included&&e.status!==`not-found`}function We(e){return e.label}function Ge(e){return e.status===`failed`||e.status===`unavailable`||e.status===`stale-contract`}function Ke(e){let t=(0,q.c)(3),{search:n,onSearchChange:r}=e,i;return t[0]!==r||t[1]!==n?(i=(0,J.jsx)(`div`,{className:`inline-flex rounded-lg border bg-card p-0.5`,children:[`7d`,`30d`,`90d`,`all`].map(e=>(0,J.jsx)(`button`,{type:`button`,onClick:()=>r({...n,range:e}),className:o(`h-7 rounded-md px-2.5 text-xs font-medium transition-colors`,n.range===e?`bg-accent text-foreground`:`text-muted-foreground hover:text-foreground`),children:e===`all`?`All`:e.toUpperCase()},e))}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function qe(e){let t=(0,q.c)(3),{search:n,onSearchChange:r}=e,i;if(t[0]!==r||t[1]!==n){let e=new Set(n.providers??[`claude`,`codex`]);i=(0,J.jsx)(`div`,{className:`inline-flex rounded-lg border bg-card p-0.5`,children:[`claude`,`codex`].map(t=>(0,J.jsxs)(`button`,{type:`button`,"aria-pressed":e.has(t),onClick:()=>{let i=new Set(e);i.has(t)&&i.size>1?i.delete(t):i.add(t);let a=[...i].toSorted();r({...n,...a.length===2?{providers:void 0}:{providers:a}})},className:o(`inline-flex h-7 items-center rounded-md px-2.5 text-xs font-medium capitalize transition-colors`,e.has(t)?`bg-accent text-foreground`:`text-muted-foreground hover:text-foreground`),children:[(0,J.jsx)(`span`,{"aria-hidden":!0,className:`mr-1.5 inline-block size-1.5 rounded-full`,style:{backgroundColor:Q[t]}}),t]},t))}),t[0]=r,t[1]=n,t[2]=i}else i=t[2];return i}function Je(e){let t=(0,q.c)(4),{search:n,onSearchChange:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=[`cost`,`tokens`],t[0]=i):i=t[0];let a;return t[1]!==r||t[2]!==n?(a=(0,J.jsx)(`div`,{className:`inline-flex rounded-md bg-muted p-0.5`,children:i.map(e=>(0,J.jsx)(`button`,{type:`button`,onClick:()=>r({...n,usageMetric:e}),className:o(`h-6 rounded-sm px-2 text-[11px] font-medium capitalize`,n.usageMetric===e?`bg-background text-foreground shadow-xs`:`text-muted-foreground`),children:e},e))}),t[1]=r,t[2]=n,t[3]=a):a=t[3],a}function Ye(e){let t=(0,q.c)(4),{search:n,onSearchChange:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=[`model`,`day`],t[0]=i):i=t[0];let a;return t[1]!==r||t[2]!==n?(a=(0,J.jsx)(`div`,{className:`inline-flex items-center gap-1 text-[11px]`,children:i.map(e=>(0,J.jsx)(`button`,{type:`button`,onClick:()=>r({...n,usageBreakdown:e}),className:o(`rounded-md px-2 py-1 capitalize`,n.usageBreakdown===e?`bg-accent text-foreground`:`text-muted-foreground`),children:e},e))}),t[1]=r,t[2]=n,t[3]=a):a=t[3],a}function Xe(e){let t=(0,q.c)(21),{data:n,metric:r}=e,i=r===`cost`?`Cost`:`Tokens`,a;t[0]===n?a=t[1]:(a=[...n],t[0]=n,t[1]=a);let o;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(o={left:4,right:10,top:18,bottom:0},t[2]=o):o=t[2];let s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,J.jsxs)(`linearGradient`,{id:`usageClaude`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,J.jsx)(`stop`,{offset:`5%`,stopColor:Q.claude,stopOpacity:.3}),(0,J.jsx)(`stop`,{offset:`95%`,stopColor:Q.claude,stopOpacity:.02})]}),t[3]=s):s=t[3];let c,l,u;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,J.jsxs)(`defs`,{children:[s,(0,J.jsxs)(`linearGradient`,{id:`usageCodex`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,J.jsx)(`stop`,{offset:`5%`,stopColor:Q.codex,stopOpacity:.18}),(0,J.jsx)(`stop`,{offset:`95%`,stopColor:Q.codex,stopOpacity:.01})]})]}),l=(0,J.jsx)(b,{vertical:!1,strokeDasharray:`3 5`}),u=(0,J.jsx)(E,{dataKey:`date`,tickLine:!1,axisLine:!1,minTickGap:30,tickFormatter:Qe}),t[4]=c,t[5]=l,t[6]=u):(c=t[4],l=t[5],u=t[6]);let d;t[7]===r?d=t[8]:(d=(0,J.jsx)(S,{tickLine:!1,axisLine:!1,width:44,tickFormatter:e=>r===`cost`?`$${Number(e).toFixed(+(Number(e)<10))}`:j(Number(e))}),t[7]=r,t[8]=d);let f;t[9]===r?f=t[10]:(f=(0,J.jsx)(x,{content:(0,J.jsx)(U,{labelFormatter:Ze,formatter:e=>r===`cost`?ze.format(Number(e)||0):N(Number(e)||0)})}),t[9]=r,t[10]=f);let p=`claude${i}`,m;t[11]===p?m=t[12]:(m=(0,J.jsx)(L,{dataKey:p,name:`Claude`,type:`monotone`,stroke:Q.claude,fill:`url(#usageClaude)`,strokeWidth:1.75}),t[11]=p,t[12]=m);let h=`codex${i}`,g;t[13]===h?g=t[14]:(g=(0,J.jsx)(L,{dataKey:h,name:`Codex`,type:`monotone`,stroke:Q.codex,fill:`url(#usageCodex)`,strokeWidth:1.75}),t[13]=h,t[14]=g);let _;return t[15]!==a||t[16]!==m||t[17]!==g||t[18]!==d||t[19]!==f?(_=(0,J.jsx)(k,{className:`h-[300px]`,children:(0,J.jsxs)(C,{data:a,margin:o,children:[c,l,u,d,f,m,g]})}),t[15]=a,t[16]=m,t[17]=g,t[18]=d,t[19]=f,t[20]=_):_=t[20],_}function Ze(e){return te(String(e))}function Qe(e){return te(String(e))}function $e(e){let t=(0,q.c)(7),{label:n,value:r}=e,i;t[0]===n?i=t[1]:(i=(0,J.jsx)(`span`,{className:`text-muted-foreground`,children:n}),t[0]=n,t[1]=i);let a;t[2]===r?a=t[3]:(a=(0,J.jsx)(`span`,{className:`font-medium tabular-nums`,children:r}),t[2]=r,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=(0,J.jsxs)(`div`,{className:`flex items-center justify-between gap-4 text-xs`,children:[i,a]}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o}function $(e){let t=(0,q.c)(10),{label:n,value:r,detail:i}=e,a;t[0]===n?a=t[1]:(a=(0,J.jsx)(`p`,{className:`text-[10px] font-semibold tracking-[0.1em] text-muted-foreground uppercase`,children:n}),t[0]=n,t[1]=a);let o;t[2]===r?o=t[3]:(o=(0,J.jsx)(`p`,{className:`mt-2 text-xl font-semibold tracking-tight tabular-nums`,children:r}),t[2]=r,t[3]=o);let s;t[4]===i?s=t[5]:(s=i?(0,J.jsx)(`p`,{className:`mt-1 text-[10px] text-muted-foreground`,children:i}):null,t[4]=i,t[5]=s);let c;return t[6]!==a||t[7]!==o||t[8]!==s?(c=(0,J.jsxs)(`div`,{className:`border-r border-border/60 px-4 py-5 last:border-r-0`,children:[a,o,s]}),t[6]=a,t[7]=o,t[8]=s,t[9]=c):c=t[9],c}function et(e){let t=(0,q.c)(5),{color:n,label:r}=e,i;t[0]===n?i=t[1]:(i=(0,J.jsx)(`span`,{className:`size-2 rounded-sm`,style:{backgroundColor:n}}),t[0]=n,t[1]=i);let a;return t[2]!==r||t[3]!==i?(a=(0,J.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[i,r]}),t[2]=r,t[3]=i,t[4]=a):a=t[4],a}function tt(e){let t=(0,q.c)(43),{summary:n}=e,r,a,o,s,c,l,u,d,f,p,m,h,g,_;if(t[0]!==n.duplicateSourceCount||t[1]!==n.environmentOnlyDeduplicationWarning||t[2]!==n.environments||t[3]!==n.sources){let e=n.sources.filter(pt),v=e.filter(ft),y=n.environments.filter(dt),b=n.environments.flatMap(ut),x=b.length===0?`Unavailable`:b.every(lt)?`Live`:b.every(ct)?`Cached`:b.every(st)?`Unavailable`:`Mixed`,S=n.environments.flatMap(ot).toSorted().at(-1),C=e.map(at).toSorted().at(-1);a=A,_=`Coverage & estimates`,s=Se,c=`p-5`,l=y.length>0?(0,J.jsxs)(`div`,{className:`mb-5 flex gap-2 rounded-lg border border-warning/30 bg-warning/8 px-3 py-2.5 text-xs text-muted-foreground`,children:[(0,J.jsx)(i,{className:`mt-0.5 size-3.5 shrink-0 text-warning`}),(0,J.jsxs)(`span`,{children:[`No usage was included from`,` `,y.map(it).join(`, `),`.`]})]}):null,p=`grid gap-5 md:grid-cols-2 xl:grid-cols-4`;let w=`${e.length} included`,T=n.duplicateSourceCount>0?`${n.duplicateSourceCount} duplicate source excluded`:`No physical duplicates detected`;t[18]!==w||t[19]!==T?(m=(0,J.jsx)(mt,{icon:Ee,label:`Transcript sources`,value:w,detail:T}),t[18]=w,t[19]=T,t[20]=m):m=t[20],h=(0,J.jsx)(mt,{icon:se,label:`Last scan`,value:C?W(C):`Not scanned`,detail:`${e.reduce(rt,0)} cached files reused`});let E=S?`Rates fetched ${W(S)}`:`Token totals remain available without rates`;t[21]!==x||t[22]!==E?(g=(0,J.jsx)(mt,{icon:we,label:`Pricing`,value:x,detail:E}),t[21]=x,t[22]=E,t[23]=g):g=t[23],r=mt,o=i,u=`Coverage state`,d=v.length===0?`Complete`:`${v.length} source notice${v.length===1?``:`s`}`,f=n.environmentOnlyDeduplicationWarning?`Some sources could only be scoped per environment`:`${e.reduce(nt,0)} malformed lines skipped`,t[0]=n.duplicateSourceCount,t[1]=n.environmentOnlyDeduplicationWarning,t[2]=n.environments,t[3]=n.sources,t[4]=r,t[5]=a,t[6]=o,t[7]=s,t[8]=c,t[9]=l,t[10]=u,t[11]=d,t[12]=f,t[13]=p,t[14]=m,t[15]=h,t[16]=g,t[17]=_}else r=t[4],a=t[5],o=t[6],s=t[7],c=t[8],l=t[9],u=t[10],d=t[11],f=t[12],p=t[13],m=t[14],h=t[15],g=t[16],_=t[17];let v;t[24]!==r||t[25]!==o||t[26]!==u||t[27]!==d||t[28]!==f?(v=(0,J.jsx)(r,{icon:o,label:u,value:d,detail:f}),t[24]=r,t[25]=o,t[26]=u,t[27]=d,t[28]=f,t[29]=v):v=t[29];let y;t[30]!==v||t[31]!==p||t[32]!==m||t[33]!==h||t[34]!==g?(y=(0,J.jsxs)(`div`,{className:p,children:[m,h,g,v]}),t[30]=v,t[31]=p,t[32]=m,t[33]=h,t[34]=g,t[35]=y):y=t[35];let b;return t[36]!==a||t[37]!==s||t[38]!==c||t[39]!==l||t[40]!==y||t[41]!==_?(b=(0,J.jsxs)(a,{title:_,icon:s,bodyClassName:c,children:[l,y]}),t[36]=a,t[37]=s,t[38]=c,t[39]=l,t[40]=y,t[41]=_,t[42]=b):b=t[42],b}function nt(e,t){return e+t.malformedLineCount}function rt(e,t){return e+t.reusedCacheFileCount}function it(e){return e.label}function at(e){return e.scanFinishedAt}function ot(e){let t=e.summary?.pricing.fetchedAt;return t===void 0?[]:[t]}function st(e){return e===`unavailable`}function ct(e){return e===`cached`}function lt(e){return e===`live`}function ut(e){return e.summary===void 0?[]:[e.summary.pricing.state]}function dt(e){return e.status===`failed`||e.status===`unavailable`||e.status===`stale-contract`}function ft(e){return e.status!==`complete`}function pt(e){return e.included}function mt(e){let t=(0,q.c)(15),{icon:n,label:r,value:i,detail:a}=e,o;t[0]===n?o=t[1]:(o=(0,J.jsx)(`div`,{className:`mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground`,children:(0,J.jsx)(n,{className:`size-4`})}),t[0]=n,t[1]=o);let s;t[2]===r?s=t[3]:(s=(0,J.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:r}),t[2]=r,t[3]=s);let c;t[4]===i?c=t[5]:(c=(0,J.jsx)(`p`,{className:`mt-1 text-sm font-medium`,children:i}),t[4]=i,t[5]=c);let l;t[6]===a?l=t[7]:(l=(0,J.jsx)(`p`,{className:`mt-1 text-[11px] leading-relaxed text-muted-foreground`,children:a}),t[6]=a,t[7]=l);let u;t[8]!==s||t[9]!==c||t[10]!==l?(u=(0,J.jsxs)(`div`,{children:[s,c,l]}),t[8]=s,t[9]=c,t[10]=l,t[11]=u):u=t[11];let d;return t[12]!==o||t[13]!==u?(d=(0,J.jsxs)(`div`,{className:`flex gap-3`,children:[o,u]}),t[12]=o,t[13]=u,t[14]=d):d=t[14],d}function ht(e){let t=(0,q.c)(28),{search:n,onSearchChange:i}=e,a=_e(),s=n.view===`usage`?r.serverGetUsageSummary:r.serverGetStatistics,c=pe(s),l=a?he:`pl-5 sm:pl-7`,u;t[0]===l?u=t[1]:(u=o(`flex min-h-14 shrink-0 flex-wrap items-center gap-x-5 gap-y-2 border-b border-border/75 bg-background/90 py-2 pr-5 backdrop-blur-sm sm:pr-7`,ge,l),t[0]=l,t[1]=u);let d;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,J.jsxs)(`div`,{className:`min-w-0`,children:[(0,J.jsx)(`h1`,{className:`truncate text-sm font-semibold tracking-tight`,children:`Statistics`}),(0,J.jsx)(`p`,{className:`text-[11px] text-muted-foreground`,children:`Usage and work signals`})]}),t[2]=d):d=t[2];let f;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(f=[`usage`,`activity`],t[3]=f):f=t[3];let p;t[4]!==i||t[5]!==n?(p=(0,J.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-wrap items-center gap-x-5 gap-y-2`,children:[d,(0,J.jsx)(`div`,{className:`inline-flex shrink-0 rounded-lg bg-muted/75 p-0.5`,children:f.map(e=>{let t=e===`usage`?G:y;return(0,J.jsxs)(`button`,{type:`button`,onClick:()=>i({...n,view:e}),className:o(`inline-flex h-8 items-center gap-1.5 rounded-md px-3 text-xs font-medium capitalize transition-colors`,n.view===e?`bg-background text-foreground shadow-xs`:`text-muted-foreground hover:text-foreground`),children:[(0,J.jsx)(t,{className:`size-3.5`}),` `,e]},e)})})]}),t[4]=i,t[5]=n,t[6]=p):p=t[6];let m;t[7]===n.range?m=t[8]:(m=n.range===`all`?`All available history`:`Last ${n.range.slice(0,-1)} days`,t[7]=n.range,t[8]=m);let h;t[9]===m?h=t[10]:(h=(0,J.jsx)(`p`,{className:`text-xs font-medium`,children:m}),t[9]=m,t[10]=h);let g=n.view===`usage`?`Local calendar window`:`UTC activity window`,_;t[11]===g?_=t[12]:(_=(0,J.jsx)(`p`,{className:`text-[11px] text-muted-foreground`,children:g}),t[11]=g,t[12]=_);let v;t[13]!==h||t[14]!==_?(v=(0,J.jsxs)(`div`,{className:`hidden text-right sm:block`,children:[h,_]}),t[13]=h,t[14]=_,t[15]=v):v=t[15];let b;t[16]!==v||t[17]!==u||t[18]!==p?(b=(0,J.jsxs)(`header`,{className:u,children:[p,v]}),t[16]=v,t[17]=u,t[18]=p,t[19]=b):b=t[19];let x;t[20]!==c.allowed||t[21]!==c.reason||t[22]!==i||t[23]!==n?(x=(0,J.jsx)(fe,{className:`min-h-0 flex-1`,children:(0,J.jsx)(`div`,{className:`mx-auto w-full max-w-[1480px] px-5 py-7 sm:px-8 sm:py-9 lg:px-10`,children:c.allowed?n.view===`usage`?(0,J.jsx)(Ve,{search:n,onSearchChange:i}):(0,J.jsx)(Me,{search:n,onSearchChange:i}):(0,J.jsx)(M,{icon:ue,title:`Statistics aren’t available for this session`,description:c.reason??`Owner access is required.`})})}),t[20]=c.allowed,t[21]=c.reason,t[22]=i,t[23]=n,t[24]=x):x=t[24];let S;return t[25]!==b||t[26]!==x?(S=(0,J.jsx)(me,{className:`h-dvh min-h-0 overflow-hidden overscroll-y-none bg-background text-foreground`,children:(0,J.jsxs)(`div`,{className:`flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden`,children:[b,x]})}),t[25]=b,t[26]=x,t[27]=S):S=t[27],S}export{ht as StatisticsPage};
@@ -0,0 +1 @@
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{Br as n,Pa as r,Ta as i,vl as a}from"./runtime-BKneT96Q.js";import{lr as o}from"./switch-LahPAvrd.js";import{t as s}from"./compiler-runtime-qmuS0Svy.js";import{t as c}from"./activity-BmRcsTyL.js";import{F as ee,I as l,L as te,M as ne,N as re,P as ie,R as ae,T as u,_ as d,a as f,b as p,c as oe,d as se,f as ce,g as m,h as le,i as ue,j as de,l as fe,n as pe,o as h,p as me,r as he,s as ge,t as _e,u as ve,v as ye,x as be,y as xe}from"./useStatistics-DJtONxT0.js";import{t as g}from"./chart-column-C08MuLgY.js";import{Z as Se}from"./ContextHandoffEndpointLabel-CsF_maM_.js";import{n as Ce}from"./sparkles-DAXDXp_s.js";import{n as we,t as Te}from"./layers-Co2a5C1k.js";import{t as Ee}from"./refresh-cw-CY5BeUEr.js";import{n as De}from"./settingsLayout-DQERzSce.js";var _={name:`chart-pie`,size:24,node:[[`path`,{d:`M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z`,key:`pzmjnu`}],[`path`,{d:`M21.21 15.89A10 10 0 1 1 8 2.83`,key:`k2fpak`}]],aliases:[`pie-chart`]};_.node;var Oe=r(_),v={name:`cpu`,size:24,node:[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]};v.node;var ke=r(v),y={name:`dollar-sign`,size:24,node:[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]};y.node;var Ae=r(y),je=e(t(),1),b=s(),x=a();function Me(e){let t=(0,b.c)(10),{models:n}=e;if(n.length===0){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,x.jsx)(`div`,{className:`px-4 py-8 text-center text-muted-foreground text-xs`,children:`No model usage yet.`}),t[0]=e):e=t[0],e}let r;t[1]===n?r=t[2]:(r=n.reduce(S,0)||1,t[1]=n,t[2]=r);let i=r,a;if(t[3]!==i||t[4]!==n){let e;t[6]===i?e=t[7]:(e=(e,t)=>{let n=u(t),r=Math.max(2,e.totalTokens/i*100);return(0,x.jsxs)(`li`,{className:`flex items-center gap-3 px-4 py-3`,children:[(0,x.jsx)(`span`,{className:`w-4 text-center font-medium text-[11px] text-muted-foreground tabular-nums`,children:t+1}),(0,x.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,x.jsxs)(`div`,{className:`flex items-baseline justify-between gap-2`,children:[(0,x.jsx)(`span`,{className:`truncate font-medium text-[13px] text-foreground`,children:d(e.model)}),(0,x.jsx)(`span`,{className:`shrink-0 font-medium text-foreground text-xs tabular-nums`,children:p(e.totalTokens)})]}),(0,x.jsx)(`div`,{className:`mt-1.5 h-1.5 w-full overflow-hidden rounded-full bg-muted`,children:(0,x.jsx)(`div`,{className:`h-full rounded-full transition-[width] duration-500`,style:{width:`${r}%`,backgroundColor:n}})}),(0,x.jsxs)(`div`,{className:`mt-1 flex items-center justify-between text-[11px] text-muted-foreground`,children:[(0,x.jsx)(`span`,{className:`truncate`,children:ye(e.provider)}),(0,x.jsx)(`span`,{className:`shrink-0 tabular-nums`,children:e.costUsd===null?`—`:`~${be(e.costUsd)}`})]})]})]},`${e.provider??`unknown`}:${e.model}`)},t[6]=i,t[7]=e),a=n.map(e),t[3]=i,t[4]=n,t[5]=a}else a=t[5];let o;return t[8]===a?o=t[9]:(o=(0,x.jsx)(`ol`,{className:`divide-y divide-border/50`,children:a}),t[8]=a,t[9]=o),o}function S(e,t){return Math.max(e,t.totalTokens)}function C(){let e=(0,b.c)(92),{snapshot:t,loading:r,error:a,refresh:s,refreshing:u}=_e(),_;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(_={range:`30d`,projectId:null,model:null,provider:null},e[0]=_):_=e[0];let[v,y]=(0,je.useState)(_),S;bb0:{if(!t){S=null;break bb0}let n,r,i,a,o,s,c,l;if(e[1]!==v||e[2]!==t){let u=ee(t,v),d=re(t),f=pe(u),p=f.reduce(Ie,0);n=ae(u),r=te(t,v),i=f,a=p,o=ne(u),s=de(u,d),c=ie(t,u,v.range),l=he(f),e[1]=v,e[2]=t,e[3]=n,e[4]=r,e[5]=i,e[6]=a,e[7]=o,e[8]=s,e[9]=c,e[10]=l}else n=e[3],r=e[4],i=e[5],a=e[6],o=e[7],s=e[8],c=e[9],l=e[10];let u;e[11]!==n||e[12]!==r||e[13]!==i||e[14]!==a||e[15]!==o||e[16]!==s||e[17]!==c||e[18]!==l?(u={totals:n,previous:r,models:i,totalsAllModels:a,providers:o,projects:s,series:c,cost:l},e[11]=n,e[12]=r,e[13]=i,e[14]=a,e[15]=o,e[16]=s,e[17]=c,e[18]=l,e[19]=u):u=e[19],S=u}let C=S;if(r&&!t){let t;return e[20]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,x.jsx)(De,{children:(0,x.jsx)(ge,{})}),e[20]=t):t=e[20],t}if(a&&!t){let t;e[21]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,x.jsx)(Ee,{}),e[21]=t):t=e[21];let r;e[22]===s?r=e[23]:(r=(0,x.jsxs)(n,{size:`sm`,variant:`outline`,onClick:s,children:[t,` Try again`]}),e[22]=s,e[23]=r);let o;return e[24]!==a||e[25]!==r?(o=(0,x.jsx)(De,{children:(0,x.jsx)(oe,{icon:i,title:`Couldn’t load statistics`,description:a,action:r})}),e[24]=a,e[25]=r,e[26]=o):o=e[26],o}if(!t||!C)return null;let E=t.dailyBuckets.length>0,{totals:D,previous:O,models:k,totalsAllModels:A,providers:j,projects:M,series:N,cost:P}=C,F=k[0],I;e[27]!==F||e[28]!==A?(I=F&&A>0?Math.round(F.totalTokens/A*100):0,e[27]=F,e[28]=A,e[29]=I):I=e[29];let L=I,R;e[30]===N?R=e[31]:(R=N.map(Fe),e[30]=N,e[31]=R);let Le=R,z;e[32]===N?z=e[33]:(z=N.map(Pe),e[32]=N,e[33]=z);let Re=z,B=Math.max(0,D.totalTokens-D.inputTokens-D.outputTokens),V;e[34]!==D.inputTokens||e[35]!==D.outputTokens||e[36]!==B?(V=B>0?`${p(D.inputTokens)} in · ${p(D.outputTokens)} out · ${p(B)} other`:`${p(D.inputTokens)} in · ${p(D.outputTokens)} out`,e[34]=D.inputTokens,e[35]=D.outputTokens,e[36]=B,e[37]=V):V=e[37];let ze=V,H;e[38]===N?H=e[39]:(H=N.some(Ne),e[38]=N,e[39]=H);let Be=H,Ve=t.tokenAttribution===`thread-cumulative`?`Token figures use cumulative thread snapshots when providers or older sessions do not expose per-turn deltas.`:t.tokenAttribution===`mixed`?`Token figures combine exact per-turn deltas where available with cumulative snapshots for older or provider-limited sessions.`:`Token figures use exact per-turn deltas where providers report them.`,U;e[40]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,x.jsx)(`h1`,{className:`font-semibold text-foreground text-lg`,children:`Statistics`}),e[40]=U):U=e[40];let W;e[41]===t.generatedAt?W=e[42]:(W=xe(t.generatedAt),e[41]=t.generatedAt,e[42]=W);let G;e[43]===W?G=e[44]:(G=(0,x.jsxs)(`div`,{className:`space-y-0.5`,children:[U,(0,x.jsxs)(`p`,{className:`text-muted-foreground text-xs`,children:[`Usage across your projects · as of `,W]})]}),e[43]=W,e[44]=G);let K=u?`animate-spin`:void 0,q;e[45]===K?q=e[46]:(q=(0,x.jsx)(Ee,{className:K}),e[45]=K,e[46]=q);let J;e[47]!==s||e[48]!==u||e[49]!==q?(J=(0,x.jsxs)(n,{size:`xs`,variant:`outline`,onClick:s,disabled:u,"aria-label":`Refresh statistics`,children:[q,`Refresh`]}),e[47]=s,e[48]=u,e[49]=q,e[50]=J):J=e[50];let Y;e[51]!==J||e[52]!==G?(Y=(0,x.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:[G,J]}),e[51]=J,e[52]=G,e[53]=Y):Y=e[53];let X;e[54]!==v||e[55]!==t.models||e[56]!==t.projects?(X=(0,x.jsx)(ue,{filter:v,onChange:y,projects:t.projects,models:t.models}),e[54]=v,e[55]=t.models,e[56]=t.projects,e[57]=X):X=e[57];let Z;e[58]!==Y||e[59]!==X?(Z=(0,x.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[Y,X]}),e[58]=Y,e[59]=X,e[60]=Z):Z=e[60];let Q;e[61]!==Re||e[62]!==Ve||e[63]!==P||e[64]!==E||e[65]!==Be||e[66]!==k||e[67]!==O?.activeMs||e[68]!==O?.threadsCreated||e[69]!==O?.totalTokens||e[70]!==M||e[71]!==j||e[72]!==N||e[73]!==t.worktrees||e[74]!==Le||e[75]!==ze||e[76]!==F||e[77]!==L||e[78]!==D.activeMs||e[79]!==D.additions||e[80]!==D.commits||e[81]!==D.deletions||e[82]!==D.filesChanged||e[83]!==D.pushes||e[84]!==D.threadsCreated||e[85]!==D.toolUses||e[86]!==D.totalTokens||e[87]!==D.turns?(Q=E?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 lg:grid-cols-5`,children:[(0,x.jsx)(h,{label:`Total tokens`,icon:ke,value:p(D.totalTokens),sub:ze,delta:l(D.totalTokens,O?.totalTokens),sparkline:Le}),(0,x.jsx)(h,{label:`Est. cost`,icon:Ae,value:`~${be(P.usd)}`,sub:P.hasUnpriced?`excludes unpriced models`:`estimated spend`}),(0,x.jsx)(h,{label:`Most used model`,icon:Te,value:(0,x.jsx)(`span`,{className:`block max-w-full truncate text-lg`,title:F?d(F.model):void 0,children:F?d(F.model):`—`}),sub:F?`${ye(F.provider)} · ${L}% of tokens`:`no usage in range`}),(0,x.jsx)(h,{label:`Chats`,icon:Ce,value:m(D.threadsCreated),sub:`threads started`,delta:l(D.threadsCreated,O?.threadsCreated)}),(0,x.jsx)(h,{label:`Active time`,icon:Se,value:le(D.activeMs),sub:`${m(D.turns)} turns`,delta:l(D.activeMs,O?.activeMs),sparkline:Re})]}),(0,x.jsxs)(f,{title:`Token usage over time`,icon:g,bodyClassName:`p-4`,children:[(0,x.jsx)(ce,{data:N}),(0,x.jsxs)(`div`,{className:`mt-2 flex items-center gap-4 px-1 text-[11px] text-muted-foreground`,children:[(0,x.jsx)(w,{colorIndex:0,label:`Input`}),(0,x.jsx)(w,{colorIndex:1,label:`Output`}),Be?(0,x.jsx)(w,{colorIndex:2,label:`Other`}):null]})]}),(0,x.jsxs)(`div`,{className:`grid gap-4 lg:grid-cols-2`,children:[(0,x.jsx)(f,{title:`Models`,icon:Te,bodyClassName:`overflow-hidden`,action:(0,x.jsxs)(`span`,{className:`text-[11px] text-muted-foreground`,children:[k.length,` total`]}),children:(0,x.jsx)(Me,{models:k})}),(0,x.jsx)(f,{title:`Tokens by provider`,icon:Oe,bodyClassName:`p-4`,children:(0,x.jsx)(se,{data:j})})]}),(0,x.jsxs)(`div`,{className:`grid gap-4 lg:grid-cols-2`,children:[(0,x.jsx)(f,{title:`Tokens by project`,icon:g,bodyClassName:`p-4`,children:(0,x.jsx)(ve,{data:M})}),(0,x.jsxs)(f,{title:`Activity`,icon:c,bodyClassName:`p-4`,children:[(0,x.jsx)(me,{points:N,metric:`turns`}),(0,x.jsx)(`p`,{className:`mt-3 text-[11px] text-muted-foreground`,children:`Turns per day`})]})]}),(0,x.jsxs)(`div`,{className:`grid gap-4 lg:grid-cols-2`,children:[(0,x.jsxs)(f,{title:`Code changes`,icon:we,bodyClassName:`p-4`,children:[(0,x.jsxs)(`div`,{className:`mb-3 flex items-center gap-4 text-sm`,children:[(0,x.jsx)(T,{label:`Files`,value:m(D.filesChanged)}),(0,x.jsx)(T,{label:`Added`,value:`+${m(D.additions)}`,tone:`success`}),(0,x.jsx)(T,{label:`Removed`,value:`−${m(D.deletions)}`,tone:`destructive`})]}),(0,x.jsx)(fe,{data:N})]}),(0,x.jsxs)(f,{title:`Source control`,icon:o,bodyClassName:`p-4`,children:[(0,x.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,x.jsx)(T,{label:`Worktrees`,value:m(t.worktrees.created)}),(0,x.jsx)(T,{label:`Active`,value:m(t.worktrees.active)}),(0,x.jsx)(T,{label:`Open PRs`,value:m(t.worktrees.openPrs)}),(0,x.jsx)(T,{label:`Tool uses`,value:m(D.toolUses)})]}),D.commits+D.pushes>0?(0,x.jsxs)(`div`,{className:`mt-3 grid grid-cols-2 gap-3 border-border/60 border-t pt-3`,children:[(0,x.jsx)(T,{label:`Commits`,value:m(D.commits)}),(0,x.jsx)(T,{label:`Pushes`,value:m(D.pushes)})]}):(0,x.jsx)(`p`,{className:`mt-3 border-border/60 border-t pt-3 text-[11px] text-muted-foreground`,children:`Commit & push counts aren’t recorded yet.`})]})]}),(0,x.jsxs)(`p`,{className:`px-1 text-[11px] text-muted-foreground/80`,children:[Ve,` Costs are rough estimates from a built-in price table and exclude subscription-billed or breakdown-less usage.`]})]}):(0,x.jsx)(oe,{icon:g,title:`No activity yet`,description:`Once you start chatting with agents, your token usage, models, and code changes will show up here.`}),e[61]=Re,e[62]=Ve,e[63]=P,e[64]=E,e[65]=Be,e[66]=k,e[67]=O?.activeMs,e[68]=O?.threadsCreated,e[69]=O?.totalTokens,e[70]=M,e[71]=j,e[72]=N,e[73]=t.worktrees,e[74]=Le,e[75]=ze,e[76]=F,e[77]=L,e[78]=D.activeMs,e[79]=D.additions,e[80]=D.commits,e[81]=D.deletions,e[82]=D.filesChanged,e[83]=D.pushes,e[84]=D.threadsCreated,e[85]=D.toolUses,e[86]=D.totalTokens,e[87]=D.turns,e[88]=Q):Q=e[88];let $;return e[89]!==Z||e[90]!==Q?($=(0,x.jsxs)(De,{children:[Z,Q]}),e[89]=Z,e[90]=Q,e[91]=$):$=e[91],$}function Ne(e){return e.uncategorizedTokens>0}function Pe(e){return e.activeMs}function Fe(e){return e.totalTokens}function Ie(e,t){return e+t.totalTokens}function w(e){let t=(0,b.c)(7),{colorIndex:n,label:r}=e,i;t[0]===n?i=t[1]:(i=u(n),t[0]=n,t[1]=i);let a;t[2]===i?a=t[3]:(a=(0,x.jsx)(`span`,{className:`size-2.5 rounded-[3px]`,style:{backgroundColor:i}}),t[2]=i,t[3]=a);let o;return t[4]!==r||t[5]!==a?(o=(0,x.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[a,r]}),t[4]=r,t[5]=a,t[6]=o):o=t[6],o}function T(e){let t=(0,b.c)(8),{label:n,value:r,tone:i}=e,a;t[0]===n?a=t[1]:(a=(0,x.jsx)(`span`,{className:`text-[11px] text-muted-foreground uppercase tracking-[0.06em]`,children:n}),t[0]=n,t[1]=a);let o=i===`success`?`font-semibold text-base text-success-foreground tabular-nums`:i===`destructive`?`font-semibold text-base text-destructive tabular-nums`:`font-semibold text-base text-foreground tabular-nums`,s;t[2]!==o||t[3]!==r?(s=(0,x.jsx)(`span`,{className:o,children:r}),t[2]=o,t[3]=r,t[4]=s):s=t[4];let c;return t[5]!==a||t[6]!==s?(c=(0,x.jsxs)(`div`,{className:`flex flex-col gap-0.5`,children:[a,s]}),t[5]=a,t[6]=s,t[7]=c):c=t[7],c}export{C as StatisticsPanel};
@@ -0,0 +1 @@
1
+ import{Br as e,K as t,_l as n,vl as r}from"./runtime-BKneT96Q.js";import{t as i}from"./compiler-runtime-qmuS0Svy.js";import{t as a}from"./useNavigate-DADLi29i.js";import{t as o}from"./arrow-up-right-D7SpcTV9.js";import{t as s}from"./chart-column-C08MuLgY.js";import{n as c}from"./settingsLayout-DQERzSce.js";import{r as l}from"./main-CGeD6yVE.js";var u=i(),d=r();function f(){let r=(0,u.c)(10),i=a(),f=n(),m=t(p),h,g,_;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsx)(`div`,{className:`mx-auto flex size-10 items-center justify-center rounded-xl bg-primary/10 text-primary`,children:(0,d.jsx)(s,{className:`size-5`})}),g=(0,d.jsx)(`h1`,{className:`mt-4 text-lg font-semibold tracking-tight`,children:`Statistics has more room now`}),_=(0,d.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed text-muted-foreground`,children:`Explore provider-recorded Usage and Ryco-observed Activity in the standalone dashboard.`}),r[0]=h,r[1]=g,r[2]=_):(h=r[0],g=r[1],_=r[2]);let v;r[3]!==m||r[4]!==i||r[5]!==f?(v=()=>{m(),i({to:`/statistics`,search:l(f?{environmentIds:[f.environmentId]}:{})})},r[3]=m,r[4]=i,r[5]=f,r[6]=v):v=r[6];let y;r[7]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,d.jsx)(o,{}),r[7]=y):y=r[7];let b;return r[8]===v?b=r[9]:(b=(0,d.jsx)(c,{children:(0,d.jsx)(`div`,{className:`flex min-h-72 items-center justify-center`,children:(0,d.jsxs)(`div`,{className:`max-w-lg rounded-2xl border border-border/75 bg-card p-7 text-center shadow-sm/5`,children:[h,g,_,(0,d.jsxs)(e,{className:`mt-5`,onClick:v,children:[`Open Statistics `,y]})]})})}),r[8]=v,r[9]=b),b}function p(e){return e.closeSettings}export{f as StatisticsSettingsLink};