@p4code/cli 0.8.0 → 0.8.1

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 (412) hide show
  1. package/dist/{AcpMcpStdioBridge-CfALMbjp.mjs → AcpMcpStdioBridge-DBONIB-w.mjs} +120 -19
  2. package/dist/AcpMcpStdioBridge-D_JnxPWS.mjs +4 -0
  3. package/dist/{Effect-zfMCY1g4.mjs → Effect-BahT0mOQ.mjs} +2 -2
  4. package/dist/bin.mjs +2 -2
  5. package/dist/{binCli-C3s3kGWK.mjs → binCli-mL63pmet.mjs} +7185 -5813
  6. package/dist/claude-history-worker.mjs +1 -1
  7. package/dist/{claudeHistoryWorker-CMjiofbZ.mjs → claudeHistoryWorker-v_0uyLGp.mjs} +2 -2
  8. package/dist/client/.vite/manifest.json +2114 -2088
  9. package/dist/client/assets/{AnimatedHeight-BwS0L5jd.js → AnimatedHeight-CcLJhBdM.js} +2 -2
  10. package/dist/client/assets/{AuthSurfaceShell-B5dTwcVl.js → AuthSurfaceShell-DV9IfxfT.js} +2 -2
  11. package/dist/client/assets/{CSPContext-B1m61J9R.js → CSPContext-5fUBIm56.js} +2 -2
  12. package/dist/client/assets/ChatGptUsageButton-BjxGhmRJ.js +2 -0
  13. package/dist/client/assets/ChatMarkdown-S_dLZdsH.js +65 -0
  14. package/dist/client/assets/{CodexSetupSection.logic-BpefaM8S.js → CodexSetupSection.logic-CpyIRPfJ.js} +2 -2
  15. package/dist/client/assets/{ComboboxClear-CSnbXRcJ.js → ComboboxClear-DCanpiKf.js} +2 -2
  16. package/dist/client/assets/{CommandBlock-DcgLBXYD.js → CommandBlock-CCY3uLti.js} +2 -2
  17. package/dist/client/assets/{ComposerPromptEditor-oniaSNnQ.js → ComposerPromptEditor-CTei4iV_.js} +13 -13
  18. package/dist/client/assets/{CompositeRoot-ykxKqF8U.js → CompositeRoot-Dz15SC7i.js} +2 -2
  19. package/dist/client/assets/{ConnectionStatusDot-BvfbN2Tp.js → ConnectionStatusDot-BXxnqJgm.js} +2 -2
  20. package/dist/client/assets/{DevicePanel-wE6eEt9P.js → DevicePanel-hMvCLVG0.js} +2 -2
  21. package/dist/client/assets/{DeviceSetup-kaQqI-00.js → DeviceSetup--U2_cth3.js} +2 -2
  22. package/dist/client/assets/{DialogTitle-Cwi7QOum.js → DialogTitle-CdRWiE23.js} +2 -2
  23. package/dist/client/assets/{DiffCommentAnnotation-CnCPh4ot.js → DiffCommentAnnotation-BO9ZEof3.js} +3 -3
  24. package/dist/client/assets/DiffFileTree-DOh6vP89.js +2 -0
  25. package/dist/client/assets/DiffPanel-BdHAXHTV.js +2 -0
  26. package/dist/client/assets/{DiffWorkerPoolProvider-C8TyWhmO.js → DiffWorkerPoolProvider-HxohyeGq.js} +3 -3
  27. package/dist/client/assets/{EnvironmentMachineIcon-CBS8TSmT.js → EnvironmentMachineIcon-DYqBsAxl.js} +2 -2
  28. package/dist/client/assets/{ExpandableText-CWbIeyDn.js → ExpandableText-B9MQs34j.js} +3 -3
  29. package/dist/client/assets/{FieldControl-CWR3fEt0.js → FieldControl-DuWupdaP.js} +2 -2
  30. package/dist/client/assets/{FileDiff-BiIVs0i-.js → FileDiff-XdtrigfB.js} +2 -2
  31. package/dist/client/assets/{FilePreviewPanel-CXgaN8cb.js → FilePreviewPanel-Dj_tLsu8.js} +5 -5
  32. package/dist/client/assets/{FoldedSettingsSection-BimbnaOl.js → FoldedSettingsSection-CJhrFR0_.js} +2 -2
  33. package/dist/client/assets/{FormContext-DyOeI4sU.js → FormContext-DzMW0viI.js} +2 -2
  34. package/dist/client/assets/{Icons-BlUgSxml.js → Icons-DJ824_3l.js} +2 -2
  35. package/dist/client/assets/{KeybindingsSettings.logic-Dfld_XQx.js → KeybindingsSettings.logic-DBks3HZy.js} +2 -2
  36. package/dist/client/assets/{NoProjectsHero-ZE4gAFj0.js → NoProjectsHero-DyYs0dvZ.js} +2 -2
  37. package/dist/client/assets/{PanelLayoutControls-x5a58Pdn.js → PanelLayoutControls-DmAKKHlt.js} +10 -10
  38. package/dist/client/assets/{PierreEntryIcon-DeBbijxO.js → PierreEntryIcon-uqPwKknu.js} +2 -2
  39. package/dist/client/assets/{PreviewPanel-2vuw0skj.js → PreviewPanel-BQkFJlas.js} +2 -2
  40. package/dist/client/assets/ProjectDefaultsSettings-DglkVzkM.js +2 -0
  41. package/dist/client/assets/{ProjectFavicon-BhJj4G_1.js → ProjectFavicon-CDpXbAhP.js} +3 -3
  42. package/dist/client/assets/ProjectIconPickerDialog-yxBKY_6V.js +2 -0
  43. package/dist/client/assets/{ProjectMonogram-BgobvHld.js → ProjectMonogram-Dd6xeLhS.js} +2 -2
  44. package/dist/client/assets/{ProviderAuthTerminal-CJSJcjB9.js → ProviderAuthTerminal-DgUIYMm9.js} +2 -2
  45. package/dist/client/assets/{ProviderModelPicker-riIGf-PI.js → ProviderModelPicker-lxEwYGAB.js} +2 -2
  46. package/dist/client/assets/{ProviderSettingsForm-Dh_vspcE.js → ProviderSettingsForm-DGMc_kKy.js} +2 -2
  47. package/dist/client/assets/{PullRequestCodeTab-Do36z71f.js → PullRequestCodeTab-CXrKDJ3m.js} +3 -3
  48. package/dist/client/assets/{ReadOnlySourcePreview-BfLIaC5x.js → ReadOnlySourcePreview-DkXxXiTJ.js} +2 -2
  49. package/dist/client/assets/{RedactedSensitiveText-D5aX1wQs.js → RedactedSensitiveText-DtYR94zZ.js} +2 -2
  50. package/dist/client/assets/{RenderErrorBoundary-DTEG6arv.js → RenderErrorBoundary-Dla4qj6V.js} +2 -2
  51. package/dist/client/assets/ScheduledTasksSettings-2vzTutJz.js +4 -0
  52. package/dist/client/assets/ScopedSwitch-BdMg8rKM.js +2 -0
  53. package/dist/client/assets/{SettingsPanels-Betza2Al.js → SettingsPanels-XjjE56Xl.js} +7 -7
  54. package/dist/client/assets/{SettingsPanels.logic-Dn2Jcxyy.js → SettingsPanels.logic-DSOfF88n.js} +2 -2
  55. package/dist/client/assets/{SettingsScopeNotice-CAaNSKvu.js → SettingsScopeNotice-um2bOG_J.js} +2 -2
  56. package/dist/client/assets/{T3ConnectAccountPages-DEqOE3hy.js → T3ConnectAccountPages-Dx0LK6U5.js} +2 -2
  57. package/dist/client/assets/{T3ConnectSidebarSignIn-C4jpzdPh.js → T3ConnectSidebarSignIn-2r05ubXZ.js} +2 -2
  58. package/dist/client/assets/{ThemeEditorPanel-BBkly3jP.js → ThemeEditorPanel-CnhjGelD.js} +3 -3
  59. package/dist/client/assets/{ThreadTerminalDrawer-Z7ArIuq0.js → ThreadTerminalDrawer-BzElqolI.js} +4 -4
  60. package/dist/client/assets/{UsageLimits-7-_nKQT_.js → UsageLimits-B_IIjpyx.js} +2 -2
  61. package/dist/client/assets/{Virtualizer-EvXC5PAR.js → Virtualizer-DItXd38b.js} +2 -2
  62. package/dist/client/assets/WorkspaceBreadcrumb-Y41aNu4D.js +2 -0
  63. package/dist/client/assets/WorkspacePageContainer-D3YV5jc4.js +2 -0
  64. package/dist/client/assets/{WorkspacePageHeader-DB9Z9OtR.js → WorkspacePageHeader-Dduxade-.js} +2 -2
  65. package/dist/client/assets/_chat-B4G7pIId.js +58 -0
  66. package/dist/client/assets/{_chat.index-CTfxLY4F.js → _chat.index-BGOR58rk.js} +2 -2
  67. package/dist/client/assets/{_chat.new-B_FNmP8f.js → _chat.new-CioC4l4P.js} +3 -3
  68. package/dist/client/assets/_chat.pull-requests-Cs7eiOH6.js +2 -0
  69. package/dist/client/assets/{abnfDiagram-VCTEODGH-Du15a8Yu.js → abnfDiagram-VCTEODGH-l9yoycqs.js} +2 -2
  70. package/dist/client/assets/{alert-DUQHh6vz.js → alert-B49R80NU.js} +2 -2
  71. package/dist/client/assets/architecture-7GRP2DOG-B67w-l9F.js +1 -0
  72. package/dist/client/assets/{architectureDiagram-5GKGNRK7-DhXH9Bsf.js → architectureDiagram-5GKGNRK7-BQwAkSAo.js} +2 -2
  73. package/dist/client/assets/arrow-left-D1nB4UjJ.js +1 -0
  74. package/dist/client/assets/arrow-right-Cbg5uZyw.js +1 -0
  75. package/dist/client/assets/arrow-up-down-DRcJBavW.js +1 -0
  76. package/dist/client/assets/assets-CLIqG-m-.js +2 -0
  77. package/dist/client/assets/bell-D5jiydSo.js +1 -0
  78. package/dist/client/assets/{blockDiagram-I7D4REHJ-CZ4PIO64.js → blockDiagram-I7D4REHJ-C1YTuxst.js} +2 -2
  79. package/dist/client/assets/blocks-mHGBm843.js +1 -0
  80. package/dist/client/assets/bot-Db9dBVz5.js +1 -0
  81. package/dist/client/assets/{browserHistoryStore-D6A_83JY.js → browserHistoryStore-D6dhsqE8.js} +2 -2
  82. package/dist/client/assets/{browserLinkTarget-BuFHp5RQ.js → browserLinkTarget-D0HujxdB.js} +2 -2
  83. package/dist/client/assets/{c4Diagram-7LVT6UL2-tMXW_Jy8.js → c4Diagram-7LVT6UL2-DpPcyaba.js} +2 -2
  84. package/dist/client/assets/calendar-clock-KAbrMUlv.js +1 -0
  85. package/dist/client/assets/channel-D8Is9vbt.js +2 -0
  86. package/dist/client/assets/chart-no-axes-column-CnM4ppv4.js +1 -0
  87. package/dist/client/assets/checkbox-WRJ0D_10.js +2 -0
  88. package/dist/client/assets/{chunk-4HAMMTFA-gISFFADw.js → chunk-4HAMMTFA-C0t_GKFv.js} +2 -2
  89. package/dist/client/assets/{chunk-75Z2AOVW-iWd1WVXJ.js → chunk-75Z2AOVW-B6rgeqZP.js} +2 -2
  90. package/dist/client/assets/{chunk-DU6HZSFF-hD69jU_T.js → chunk-DU6HZSFF-BuYM0Cu8.js} +2 -2
  91. package/dist/client/assets/{chunk-F27PBJKO-DnDFIjHp.js → chunk-F27PBJKO-CvPd3lcw.js} +2 -2
  92. package/dist/client/assets/{chunk-GMAD6QVW-Chr0sR5B.js → chunk-GMAD6QVW-DbBkxyCE.js} +2 -2
  93. package/dist/client/assets/{chunk-GVQU2GXP-D84Xc6Vy.js → chunk-GVQU2GXP-CVZeJiG5.js} +2 -2
  94. package/dist/client/assets/{chunk-IMKFNOWR-DOdemMNR.js → chunk-IMKFNOWR-CbY3DGV3.js} +2 -2
  95. package/dist/client/assets/{chunk-L3NEJ4N5-CILnb7VE.js → chunk-L3NEJ4N5-Bhkym4YW.js} +2 -2
  96. package/dist/client/assets/{chunk-OSK3NFVY-Bxpu9Oo4.js → chunk-OSK3NFVY-B89_sN-h.js} +2 -2
  97. package/dist/client/assets/{chunk-P2QGCYS3-75l6wJUu.js → chunk-P2QGCYS3-zeIYnZbd.js} +2 -2
  98. package/dist/client/assets/{chunk-POPQ4Y6H-jYZ1RdM0.js → chunk-POPQ4Y6H-Bv7ZWEJI.js} +2 -2
  99. package/dist/client/assets/{chunk-PWAF6VOD-DtONZJrC.js → chunk-PWAF6VOD-BnsKTwi6.js} +2 -2
  100. package/dist/client/assets/{chunk-SHT3W25Y-NY6-WqgC.js → chunk-SHT3W25Y-Daoidttm.js} +2 -2
  101. package/dist/client/assets/{chunk-SVP7TREG-CGG6Z85U.js → chunk-SVP7TREG-BK4Qxtm6.js} +2 -2
  102. package/dist/client/assets/{chunk-TICWLB2K-DzB7PtXF.js → chunk-TICWLB2K-CihSBYRG.js} +2 -2
  103. package/dist/client/assets/classDiagram-ZZMXUADV-CxsiNRJs.js +2 -0
  104. package/dist/client/assets/classDiagram-v2-VYDZK3BY-CxsiNRJs.js +2 -0
  105. package/dist/client/assets/{collapsible-CLujF6F7.js → collapsible-DyaDJVJ5.js} +2 -2
  106. package/dist/client/assets/{color-picker-BG3Rpy98.js → color-picker-BWffD8SG.js} +2 -2
  107. package/dist/client/assets/{combobox-Cx4FP7Bk.js → combobox-zg5NNJOT.js} +2 -2
  108. package/dist/client/assets/{command-CVKxjYiJ.js → command-CBIpuXFt.js} +2 -2
  109. package/dist/client/assets/{connect-DeTNO4tO.js → connect-BVveo2H6.js} +2 -2
  110. package/dist/client/assets/{connect-agent-CTLxG7lp.js → connect-agent-Rlpt-C4T.js} +2 -2
  111. package/dist/client/assets/corner-left-up-DSgsQQJh.js +1 -0
  112. package/dist/client/assets/{cynefin-OW5HDTMX-C3y7gjYM.js → cynefin-OW5HDTMX-BTvkQvHj.js} +1 -1
  113. package/dist/client/assets/{cynefinDiagram-5FMLGOSQ-DEFegOUv.js → cynefinDiagram-5FMLGOSQ-glf_yMKF.js} +2 -2
  114. package/dist/client/assets/{dagre-GXQ25YYZ-C3YHw-ZL.js → dagre-GXQ25YYZ-XUkjXaQW.js} +2 -2
  115. package/dist/client/assets/device-Bu2mO4gL.js +2 -0
  116. package/dist/client/assets/{diagram-S7CK7UJ4-B04fDyJ1.js → diagram-S7CK7UJ4-CiNxlSJZ.js} +2 -2
  117. package/dist/client/assets/{diagram-UQ7AKVKN-DJ5yQdqn.js → diagram-UQ7AKVKN-C4_9QuDF.js} +2 -2
  118. package/dist/client/assets/{diagram-VSXAHHWV-DwQn4LJH.js → diagram-VSXAHHWV-BoRcnfst.js} +2 -2
  119. package/dist/client/assets/{diagram-VX7I27RA-BFeEJB2L.js → diagram-VX7I27RA-g5AlZjEL.js} +2 -2
  120. package/dist/client/assets/{diagram-Z3DM3KII-DjNPPgna.js → diagram-Z3DM3KII-Crw_yJrX.js} +2 -2
  121. package/dist/client/assets/{dialog-BBidAZq_.js → dialog-C5PVc2Dc.js} +2 -2
  122. package/dist/client/assets/{diffRendering-BcgWZBc6.js → diffRendering-DVfiIxj4.js} +2 -2
  123. package/dist/client/assets/{discovery-list-BOhsy2yk.js → discovery-list-Bb2RP3-9.js} +2 -2
  124. package/dist/client/assets/{dist-D-bAcBTo.js → dist-BTyn8sKm.js} +3 -3
  125. package/dist/client/assets/download-BrSkg4EE.js +1 -0
  126. package/dist/client/assets/{draft-input-Dk-JXf0v.js → draft-input-CwdApNsc.js} +2 -2
  127. package/dist/client/assets/{duoViewer-DELDCd_3.js → duoViewer-BsAzTMk3.js} +2 -2
  128. package/dist/client/assets/dynamic-COZhF9Vt.js +3 -0
  129. package/dist/client/assets/earth-D0ZhOX9I.js +1 -0
  130. package/dist/client/assets/{ebnfDiagram-PWID7BFC-R_zFp3Q4.js → ebnfDiagram-PWID7BFC-Co02q3t2.js} +2 -2
  131. package/dist/client/assets/ellipsis-Dze-H3uy.js +1 -0
  132. package/dist/client/assets/{embeddedScripts-S6heIv6s.js → embeddedScripts-cxUGD6UP.js} +2 -2
  133. package/dist/client/assets/{empty-B3wHlMsI.js → empty-B9cgefGv.js} +2 -2
  134. package/dist/client/assets/entities-B0tFBQjY.js +2 -0
  135. package/dist/client/assets/{erDiagram-RLTQ6QDP-DgSVOlTI.js → erDiagram-RLTQ6QDP-BuoWr1gw.js} +2 -2
  136. package/dist/client/assets/eventmodeling-NTZA5JFV-jDgS08dP.js +1 -0
  137. package/dist/client/assets/eye-OVEPp8Os.js +1 -0
  138. package/dist/client/assets/file-search-Y-7Ql86o.js +1 -0
  139. package/dist/client/assets/{fileLinks-M_i1pQMr.js → fileLinks-BBnShh-N.js} +2 -2
  140. package/dist/client/assets/{fileTreeExpansion-BoH-LpwD.js → fileTreeExpansion-DaFd8SRp.js} +2 -2
  141. package/dist/client/assets/flowDiagram-HODETNUW-DsHnGCQL.js +1 -0
  142. package/dist/client/assets/folder-git-2-DdgpEuW8.js +1 -0
  143. package/dist/client/assets/folder-open-B9DmXcog.js +1 -0
  144. package/dist/client/assets/folder-plus-CLFJj-Gh.js +1 -0
  145. package/dist/client/assets/{ganttDiagram-EL5Y4UJY-CsDp8eOV.js → ganttDiagram-EL5Y4UJY-CMAUkeMs.js} +2 -2
  146. package/dist/client/assets/{getDiffFileInput-y6l8uCrc.js → getDiffFileInput-D0WCXPuc.js} +2 -2
  147. package/dist/client/assets/git-branch-SJsNyJlB.js +1 -0
  148. package/dist/client/assets/{gitGraph-4MIJSDKK-ByZ8Ddcu.js → gitGraph-4MIJSDKK-B22BskFD.js} +1 -1
  149. package/dist/client/assets/{gitGraphDiagram-WWUBYQGX-QkPoZOxP.js → gitGraphDiagram-WWUBYQGX-D9yz6pSR.js} +2 -2
  150. package/dist/client/assets/grip-vertical-_2pxkeEI.js +1 -0
  151. package/dist/client/assets/{guideRunStore-Ca6LGvkb.js → guideRunStore-CPFfk-BJ.js} +2 -2
  152. package/dist/client/assets/hard-drive-DMfAIp4-.js +1 -0
  153. package/dist/client/assets/history-C7dJNEkM.js +1 -0
  154. package/dist/client/assets/house-BpsJcs6J.js +1 -0
  155. package/dist/client/assets/{htmlRender-Bs_dTcPz.js → htmlRender-Cdm053qU.js} +2 -2
  156. package/dist/client/assets/index-TkyxWt2Q.js +3 -0
  157. package/dist/client/assets/{info-A6RAGUB7-DWgAQmsU.js → info-A6RAGUB7-CicHHROU.js} +1 -1
  158. package/dist/client/assets/{infoDiagram-27XIBGKW-DqBsTg-0.js → infoDiagram-27XIBGKW-DAFhUj2V.js} +2 -2
  159. package/dist/client/assets/{input-BOT1WFGI.js → input-CN9xdIYL.js} +2 -2
  160. package/dist/client/assets/{input-group-13zF6rZl.js → input-group-CV0ZpOg5.js} +2 -2
  161. package/dist/client/assets/{ishikawaDiagram-5VMMS53U-DhvmZSIn.js → ishikawaDiagram-5VMMS53U-CBEywTMi.js} +2 -2
  162. package/dist/client/assets/{journeyDiagram-3NMN7TZE-sBAsW8ZW.js → journeyDiagram-3NMN7TZE-BIKjvqRL.js} +2 -2
  163. package/dist/client/assets/{kanban-definition-UXKFOSKX-7pB8050L.js → kanban-definition-UXKFOSKX-XOFfprGt.js} +2 -2
  164. package/dist/client/assets/kbd-Fa27fInv.js +2 -0
  165. package/dist/client/assets/{keybindings-B4uuYLfE.js → keybindings-C81QSEVL.js} +2 -2
  166. package/dist/client/assets/keyboard-C0H4XsBS.js +1 -0
  167. package/dist/client/assets/{lazyRouteComponent-C2UuNVTE.js → lazyRouteComponent-BTBK1UDq.js} +2 -2
  168. package/dist/client/assets/{line-CYcVbD9r.js → line-CEyB3WPo.js} +2 -2
  169. package/dist/client/assets/{link-DnyZixWB.js → link-C1pmqztR.js} +2 -2
  170. package/dist/client/assets/link-CsVCGX_A.js +1 -0
  171. package/dist/client/assets/{linkedPrompt-Cjzkkr18.js → linkedPrompt-B6Q0Cmi6.js} +2 -2
  172. package/dist/client/assets/list-BKOLPymO.js +1 -0
  173. package/dist/client/assets/main-CJvawsJJ.js +27 -0
  174. package/dist/client/assets/main-DjXoj7An.css +2 -0
  175. package/dist/client/assets/{mediaReference-DCRMHOD7.js → mediaReference-o1DLUGKI.js} +2 -2
  176. package/dist/client/assets/{mediaSource-C-YyAgza.js → mediaSource-Cfv5uiFj.js} +2 -2
  177. package/dist/client/assets/{mermaid-parser.core-CUhkd3Km.js → mermaid-parser.core-BT2QN4a3.js} +4 -4
  178. package/dist/client/assets/{mermaid.core-7L34oYGP.js → mermaid.core-EPDLhovC.js} +5 -5
  179. package/dist/client/assets/message-circle-question-mark-0PixhBRe.js +1 -0
  180. package/dist/client/assets/message-square-dashed-jX8EWVKo.js +1 -0
  181. package/dist/client/assets/message-square-xfL83Fxi.js +1 -0
  182. package/dist/client/assets/messages-square-DwkvqiPv.js +1 -0
  183. package/dist/client/assets/{mindmap-definition-YA3MSWOX-CpfzOIsM.js → mindmap-definition-YA3MSWOX-aqL3ALYK.js} +2 -2
  184. package/dist/client/assets/number-field-BiWh0ioY.js +2 -0
  185. package/dist/client/assets/{observeResize-CK9qVTLF.js → observeResize-DBJpB0Hu.js} +2 -2
  186. package/dist/client/assets/{onboarding-DWVdcMTo.js → onboarding-gue-HaiI.js} +2 -2
  187. package/dist/client/assets/{openFileInPreview-DsWLDsnf.js → openFileInPreview-BuKYchiT.js} +2 -2
  188. package/dist/client/assets/{p4ProjectFile-DVeZFEli.js → p4ProjectFile-DH7qoFHx.js} +2 -2
  189. package/dist/client/assets/{packet-AYTQ26CC-TJIgXg7Z.js → packet-AYTQ26CC-BkyzJMIf.js} +1 -1
  190. package/dist/client/assets/{pair-Ds7MhGzA.js → pair-DESVHftX.js} +2 -2
  191. package/dist/client/assets/palette-DvhXYFMC.js +1 -0
  192. package/dist/client/assets/panel-left-DCz3M7jv.js +1 -0
  193. package/dist/client/assets/{panel-tab-close-button-CeVf2Cp1.js → panel-tab-close-button-DKugpobT.js} +2 -2
  194. package/dist/client/assets/panels-top-left-C1xu8Xiu.js +1 -0
  195. package/dist/client/assets/{pegDiagram-XKGWAZYB-BWjyJv0r.js → pegDiagram-XKGWAZYB-DilAu2aa.js} +2 -2
  196. package/dist/client/assets/{phoneViewer-4yzlTfRU.js → phoneViewer-xqyGZwKn.js} +2 -2
  197. package/dist/client/assets/{pie-WAS4IAKB-DI1xrBNC.js → pie-WAS4IAKB-DgPx2D64.js} +1 -1
  198. package/dist/client/assets/{pieDiagram-E7YTZNPT-D5BJ4dMD.js → pieDiagram-E7YTZNPT-D9PFl5qt.js} +2 -2
  199. package/dist/client/assets/{pierre-icons-C4_Is1e6.js → pierre-icons-BVuUNHGs.js} +2 -2
  200. package/dist/client/assets/popover-aTTlR6NX.js +2 -0
  201. package/dist/client/assets/{preview-ChiUlq6M.js → preview-8KYmxrad.js} +2 -2
  202. package/dist/client/assets/{preview-BXSjnvc2.js → preview-DgLUnqIn.js} +2 -2
  203. package/dist/client/assets/{previewMiniPlayerStore-BWBB4WZZ.js → previewMiniPlayerStore-CZUX4gpf.js} +2 -2
  204. package/dist/client/assets/primary-GHQewxsn.js +2 -0
  205. package/dist/client/assets/primaryCloudLinkState-BS4O3v7M.js +2 -0
  206. package/dist/client/assets/{projectFilesQueryState-DLmHVuBp.js → projectFilesQueryState-DmDFr3yJ.js} +2 -2
  207. package/dist/client/assets/projectScriptEditor-DxxYqdMP.js +2 -0
  208. package/dist/client/assets/{pullRequestDetail.logic-CiIqeGLs.js → pullRequestDetail.logic-C6mxjZFd.js} +4 -4
  209. package/dist/client/assets/{pullRequestReviewStore-Ckm9o--D.js → pullRequestReviewStore-VIPIhGsh.js} +2 -2
  210. package/dist/client/assets/pullRequests-DEHxyBeZ.js +2 -0
  211. package/dist/client/assets/{quadrantDiagram-AXDQQJYC-USH3mFeD.js → quadrantDiagram-AXDQQJYC-36GcvWjt.js} +2 -2
  212. package/dist/client/assets/queries-BAbZ6wRj.js +2 -0
  213. package/dist/client/assets/{query-DG-FU00d.js → query-gfas_Faw.js} +2 -2
  214. package/dist/client/assets/{radar-RG4KPBEZ-BgwqseQY.js → radar-RG4KPBEZ-B_1p1XBS.js} +1 -1
  215. package/dist/client/assets/radio-group-BcuemB8E.js +2 -0
  216. package/dist/client/assets/{railroad-74A4TZTK-lU1hozFq.js → railroad-74A4TZTK-DjaD7aBa.js} +1 -1
  217. package/dist/client/assets/railroad-abnf-HS5TGJTU-CA1GF-5t.js +1 -0
  218. package/dist/client/assets/railroad-ebnf-LZEXJU2U-Beda5tl-.js +1 -0
  219. package/dist/client/assets/railroad-peg-WCYAUIDC-D2CRVbbY.js +1 -0
  220. package/dist/client/assets/{railroadDiagram-O6MQD6OU-BX2DBjFX.js → railroadDiagram-O6MQD6OU-BfFU3IUU.js} +2 -2
  221. package/dist/client/assets/{renderScheduler-e5LS9_r8.js → renderScheduler-DE6WzqZi.js} +2 -2
  222. package/dist/client/assets/{requirementDiagram-BXWQKSXE-Bp2BwkCA.js → requirementDiagram-BXWQKSXE-WVgmezGx.js} +2 -2
  223. package/dist/client/assets/{rightPanelStore-Dnc28mSJ.js → rightPanelStore-CsSGBQ8t.js} +2 -2
  224. package/dist/client/assets/rotate-ccw-CyPuoUiH.js +1 -0
  225. package/dist/client/assets/rotate-cw-B20Q7RJJ.js +1 -0
  226. package/dist/client/assets/runtime-C9evwoB9.js +2 -0
  227. package/dist/client/assets/runtime-CxeCZPZ3.js +6 -0
  228. package/dist/client/assets/{sankeyDiagram-P5KCCOFB-BklNNjEB.js → sankeyDiagram-P5KCCOFB-BsCi2aYb.js} +2 -2
  229. package/dist/client/assets/scheduledTasksSettings.logic-Bin7R9R3.js +3 -0
  230. package/dist/client/assets/{scroll-area-Cj3OF_L_.js → scroll-area-CRoS-lxP.js} +2 -2
  231. package/dist/client/assets/{select-BDMo6Fqt.js → select-BXOHHCMJ.js} +2 -2
  232. package/dist/client/assets/{sequenceDiagram-WJ2MYXX4-ufTHSg4p.js → sequenceDiagram-WJ2MYXX4-C_qj_Szb.js} +2 -2
  233. package/dist/client/assets/{server-DNo9AqHW.js → server-BBIVfjrf.js} +2 -2
  234. package/dist/client/assets/session-DZH3pyoG.js +2 -0
  235. package/dist/client/assets/session-logic-RDMPhilH.js +13 -0
  236. package/dist/client/assets/{settings-DxGY3RT5.js → settings-0qbtr9oy.js} +2 -2
  237. package/dist/client/assets/settings-2-DmZK5Wif.js +1 -0
  238. package/dist/client/assets/settings-Br2yM9q3.js +1 -0
  239. package/dist/client/assets/settings.appearance-CtG85Hzv.js +2 -0
  240. package/dist/client/assets/settings.archived-D1CPem1-.js +2 -0
  241. package/dist/client/assets/settings.computer-use-DvBtreaX.js +2 -0
  242. package/dist/client/assets/settings.connections-CeSH1Y-S.js +2 -0
  243. package/dist/client/assets/settings.decisions-FBz5pyct.js +2 -0
  244. package/dist/client/assets/settings.diagnostics-Ct39tZgQ.js +2 -0
  245. package/dist/client/assets/settings.general-YgAeT2ec.js +2 -0
  246. package/dist/client/assets/settings.integrations-DIuNSxXg.js +2 -0
  247. package/dist/client/assets/{settings.keybindings-CITYXalz.js → settings.keybindings-BHpTOm8T.js} +2 -2
  248. package/dist/client/assets/{settings.open-source-licenses-CTznEYnQ.js → settings.open-source-licenses-Dlp4u1NR.js} +2 -2
  249. package/dist/client/assets/settings.projects-BZP8BJZK.js +4 -0
  250. package/dist/client/assets/settings.providers-Dad6hRGg.js +3 -0
  251. package/dist/client/assets/settings.scheduled-tasks-B1Q7wnRI.js +2 -0
  252. package/dist/client/assets/settings.snap-shot-ZBGDHF90.js +2 -0
  253. package/dist/client/assets/settings.source-control-BXuO43FQ.js +2 -0
  254. package/dist/client/assets/{settings.storage-C4lRhJsq.js → settings.storage-Dl3cI_3U.js} +2 -2
  255. package/dist/client/assets/settingsLayout-DKjAOwp4.js +3 -0
  256. package/dist/client/assets/shield-question-mark-Cmz7w9_M.js +1 -0
  257. package/dist/client/assets/{sidebar-Bulbb3cX.js → sidebar-D6V5N0ZC.js} +2 -2
  258. package/dist/client/assets/{sidebarProjectGrouping-DEvzxecx.js → sidebarProjectGrouping-DVAIOuq4.js} +2 -2
  259. package/dist/client/assets/{skeleton-BFPHmDcq.js → skeleton-DuFqUDDw.js} +2 -2
  260. package/dist/client/assets/{sortable.esm-CHiRbsvI.js → sortable.esm-DdMawn0Y.js} +2 -2
  261. package/dist/client/assets/{sourceControl-DfhPxa0l.js → sourceControl-U8x7jR8g.js} +2 -2
  262. package/dist/client/assets/{spinner-rP6J82Of.js → spinner-C6X42yHv.js} +2 -2
  263. package/dist/client/assets/square-pen-Dew4fHbM.js +1 -0
  264. package/dist/client/assets/{standalone-page-BkHTM3MP.js → standalone-page-hDUmjFb0.js} +2 -2
  265. package/dist/client/assets/{stateDiagram-D77RDMKH-UnviM1_a.js → stateDiagram-D77RDMKH-FdsqVfsR.js} +2 -2
  266. package/dist/client/assets/stateDiagram-v2-MP3YSRHH-PvZEFfKe.js +2 -0
  267. package/dist/client/assets/{swimlanes-42K2YHIH-CpD6LDbC.js → swimlanes-42K2YHIH-D65Z1Od_.js} +2 -2
  268. package/dist/client/assets/swimlanesDiagram-VR7AAH4N-DIDrEY3U.js +9 -0
  269. package/dist/client/assets/{terminalSessions-C9u_KQdo.js → terminalSessions-DhPFaHUr.js} +2 -2
  270. package/dist/client/assets/text-search-Cchv2p-9.js +1 -0
  271. package/dist/client/assets/{textarea-D7qN_9_U.js → textarea-CCFZJhy-.js} +2 -2
  272. package/dist/client/assets/{themePalette-au2ZXbqB.js → themePalette-CxbxrCEH.js} +3 -3
  273. package/dist/client/assets/threadSort-TlzPAte9.js +2 -0
  274. package/dist/client/assets/{timeline-definition-24CTP7MA-CNy-4Mtq.js → timeline-definition-24CTP7MA-DrXF0NCa.js} +2 -2
  275. package/dist/client/assets/toast-B-l3XS_F.js +2 -0
  276. package/dist/client/assets/{toggle-4i71sOFB.js → toggle-DOFhC9C7.js} +2 -2
  277. package/dist/client/assets/{toggle-group-BtpeJU3C.js → toggle-group-B1ghB_yR.js} +2 -2
  278. package/dist/client/assets/tooltip-CYNXW1Ow.js +2 -0
  279. package/dist/client/assets/{treeView-Q6P3EWNA-fz73DkUg.js → treeView-Q6P3EWNA-D6bZIPSq.js} +1 -1
  280. package/dist/client/assets/{treemap-WGGIJYW6-CHp0lk61.js → treemap-WGGIJYW6-CJr_vK1t.js} +1 -1
  281. package/dist/client/assets/{usage-BoYlRHNx.js → usage-1aJeDf79.js} +2 -2
  282. package/dist/client/assets/{usageAccess-BmfDNhp2.js → usageAccess-9ld15_dP.js} +2 -2
  283. package/dist/client/assets/{usageFormat-DdjdHqj5.js → usageFormat-D7uBkeaA.js} +2 -2
  284. package/dist/client/assets/{usageShortcuts-RpypNfqZ.js → usageShortcuts--2waLBa-.js} +2 -2
  285. package/dist/client/assets/{use-atom-command-Bc7LgQy1.js → use-atom-command-DdGPgtPS.js} +2 -2
  286. package/dist/client/assets/{useAriaLabelledBy-B_3SmrJo.js → useAriaLabelledBy-Bp_qmGgf.js} +2 -2
  287. package/dist/client/assets/{useHandleNewThread-Csguf2GC.js → useHandleNewThread-DtCuKpGU.js} +2 -2
  288. package/dist/client/assets/{useLocation-DaTcl6iI.js → useLocation-yjRHv-GS.js} +2 -2
  289. package/dist/client/assets/useNavigate-DfvN7ISg.js +2 -0
  290. package/dist/client/assets/{useNavigateBack-C43_t49N.js → useNavigateBack-NMRi6phK.js} +2 -2
  291. package/dist/client/assets/{useParams-s9hrFQQQ.js → useParams-OFLEf5Ub.js} +2 -2
  292. package/dist/client/assets/{usePermissionStatus-CCpQkKk1.js → usePermissionStatus-D4K04nHy.js} +2 -2
  293. package/dist/client/assets/usePullRequestActions-DyXuVFpA.js +3 -0
  294. package/dist/client/assets/{useRegisterFieldControl-BVraoamc.js → useRegisterFieldControl-QWoLGfik.js} +2 -2
  295. package/dist/client/assets/useScopedModelAvailability-udJ9IYpQ.js +2 -0
  296. package/dist/client/assets/useSettings-C1hmCYRR.js +3 -0
  297. package/dist/client/assets/{useT3ConnectAuthPrompt-D3ARnr92.js → useT3ConnectAuthPrompt-NQ5SmnTg.js} +2 -2
  298. package/dist/client/assets/utils-Nv21__t3.js +37 -0
  299. package/dist/client/assets/vcsRefInvalidation-CEbBuVCf.js +2 -0
  300. package/dist/client/assets/{vennDiagram-4TSXK5OY-BBpGz6rf.js → vennDiagram-4TSXK5OY-BJt3j1aO.js} +2 -2
  301. package/dist/client/assets/{wardley-WFR3VGLG-M4Al1qCV.js → wardley-WFR3VGLG-D_UZZZRB.js} +1 -1
  302. package/dist/client/assets/{wardleyDiagram-VM6X3IG4-V-_mOkU8.js → wardleyDiagram-VM6X3IG4-gZMVt8-K.js} +2 -2
  303. package/dist/client/assets/{welcome-Bok5fRqT.js → welcome-BRjof1AW.js} +2 -2
  304. package/dist/client/assets/{xychartDiagram-S5SC5T6Z-CZOR99Bj.js → xychartDiagram-S5SC5T6Z-BwaDo7WT.js} +2 -2
  305. package/dist/client/index.html +1 -1
  306. package/package.json +1 -1
  307. package/dist/AcpMcpStdioBridge-Ch5bMyss.mjs +0 -4
  308. package/dist/client/assets/ChatGptUsageButton-GxPReM3u.js +0 -2
  309. package/dist/client/assets/ChatMarkdown-DOdrk8tK.js +0 -65
  310. package/dist/client/assets/DiffFileTree-D3P47wbG.js +0 -2
  311. package/dist/client/assets/DiffPanel-cvlTVhB4.js +0 -2
  312. package/dist/client/assets/ProjectDefaultsSettings-Cu80XFdb.js +0 -2
  313. package/dist/client/assets/ProjectIconPickerDialog-Dwmv78OH.js +0 -2
  314. package/dist/client/assets/ScheduledTasksSettings-Cp8h_lNS.js +0 -4
  315. package/dist/client/assets/ScopedSwitch-CLAFXjj6.js +0 -2
  316. package/dist/client/assets/WorkspaceBreadcrumb-fx0ZD7ay.js +0 -2
  317. package/dist/client/assets/WorkspacePageContainer-DFsaHi02.js +0 -2
  318. package/dist/client/assets/_chat-BerxDjpp.js +0 -58
  319. package/dist/client/assets/_chat.pull-requests-BwpBKnt3.js +0 -2
  320. package/dist/client/assets/architecture-7GRP2DOG-CT4QCEL3.js +0 -1
  321. package/dist/client/assets/arrow-left-BiKrB-pT.js +0 -1
  322. package/dist/client/assets/arrow-right-DWAwZU0q.js +0 -1
  323. package/dist/client/assets/arrow-up-down-CfYH5v22.js +0 -1
  324. package/dist/client/assets/assets-DwywdbuJ.js +0 -2
  325. package/dist/client/assets/bell-C3RUvq1T.js +0 -1
  326. package/dist/client/assets/blocks-CoLUV11Q.js +0 -1
  327. package/dist/client/assets/bot-CjcO3F5G.js +0 -1
  328. package/dist/client/assets/calendar-clock-CJyS1C-x.js +0 -1
  329. package/dist/client/assets/channel-kQEwHVv9.js +0 -2
  330. package/dist/client/assets/chart-no-axes-column-B3ZqbY05.js +0 -1
  331. package/dist/client/assets/checkbox-Cw_SXlJ5.js +0 -2
  332. package/dist/client/assets/classDiagram-ZZMXUADV-BO_GIPO1.js +0 -2
  333. package/dist/client/assets/classDiagram-v2-VYDZK3BY-BO_GIPO1.js +0 -2
  334. package/dist/client/assets/corner-left-up-D653FjvK.js +0 -1
  335. package/dist/client/assets/device-DrIICsXu.js +0 -2
  336. package/dist/client/assets/download-CNXPbBhc.js +0 -1
  337. package/dist/client/assets/dynamic-BRlOHH6g.js +0 -3
  338. package/dist/client/assets/earth-C1f0Qxwi.js +0 -1
  339. package/dist/client/assets/ellipsis-0J7zX441.js +0 -1
  340. package/dist/client/assets/entities-yblphBg3.js +0 -2
  341. package/dist/client/assets/eventmodeling-NTZA5JFV-bjJqzJYE.js +0 -1
  342. package/dist/client/assets/eye-CmsLgU-5.js +0 -1
  343. package/dist/client/assets/file-search-ClaIV60V.js +0 -1
  344. package/dist/client/assets/flowDiagram-HODETNUW-CsPXFMK4.js +0 -1
  345. package/dist/client/assets/folder-git-2-BxqGR5ht.js +0 -2
  346. package/dist/client/assets/folder-open-gQZmKQ4n.js +0 -1
  347. package/dist/client/assets/folder-plus-BVmedEeH.js +0 -1
  348. package/dist/client/assets/git-branch-Ba9jLbPu.js +0 -1
  349. package/dist/client/assets/grip-vertical-BmIJSASv.js +0 -1
  350. package/dist/client/assets/hard-drive-hWUfbbG9.js +0 -1
  351. package/dist/client/assets/history-jvN7Bdkc.js +0 -1
  352. package/dist/client/assets/house-ozmwce4p.js +0 -1
  353. package/dist/client/assets/index-FZqrCEhr.js +0 -3
  354. package/dist/client/assets/kbd-BR8-VeaN.js +0 -2
  355. package/dist/client/assets/keyboard-_YjrW4PX.js +0 -1
  356. package/dist/client/assets/link-BcMcYjHb.js +0 -1
  357. package/dist/client/assets/list-DEjg_Q5H.js +0 -1
  358. package/dist/client/assets/main-BQLZB-ZD.css +0 -2
  359. package/dist/client/assets/main-Ch0n0whg.js +0 -26
  360. package/dist/client/assets/message-circle-question-mark-DzWFFMDp.js +0 -1
  361. package/dist/client/assets/message-square-BqGKFtP8.js +0 -1
  362. package/dist/client/assets/message-square-dashed-FPkUUYSB.js +0 -1
  363. package/dist/client/assets/messages-square-BNeF2306.js +0 -2
  364. package/dist/client/assets/number-field-DsVu9T6C.js +0 -2
  365. package/dist/client/assets/palette-JCVMAFVd.js +0 -1
  366. package/dist/client/assets/panel-left-STqObAvQ.js +0 -1
  367. package/dist/client/assets/panels-top-left-B90U_rdS.js +0 -1
  368. package/dist/client/assets/popover-UOfX8iZ4.js +0 -2
  369. package/dist/client/assets/primary-BubJSDIO.js +0 -2
  370. package/dist/client/assets/primaryCloudLinkState-CFnZkCiA.js +0 -2
  371. package/dist/client/assets/projectScriptEditor-_TwHfcHY.js +0 -2
  372. package/dist/client/assets/pullRequests-C0Gr2876.js +0 -2
  373. package/dist/client/assets/queries-DbiotSzd.js +0 -2
  374. package/dist/client/assets/radio-group-DhxCP5q0.js +0 -2
  375. package/dist/client/assets/railroad-abnf-HS5TGJTU-DRzBu_EH.js +0 -1
  376. package/dist/client/assets/railroad-ebnf-LZEXJU2U-BuQh-rCG.js +0 -1
  377. package/dist/client/assets/railroad-peg-WCYAUIDC-DH1f3-__.js +0 -1
  378. package/dist/client/assets/rotate-ccw-98iN1bsB.js +0 -1
  379. package/dist/client/assets/rotate-cw-DdW3sRx4.js +0 -1
  380. package/dist/client/assets/runtime-BUB2ex14.js +0 -2
  381. package/dist/client/assets/runtime-BoEmkhOe.js +0 -6
  382. package/dist/client/assets/scheduledTasksSettings.logic-Bk1lq8Ri.js +0 -3
  383. package/dist/client/assets/session-CyPECDtf.js +0 -2
  384. package/dist/client/assets/session-logic-BBZj8pNB.js +0 -13
  385. package/dist/client/assets/settings-2-C-KVP40_.js +0 -1
  386. package/dist/client/assets/settings-D62zpRkD.js +0 -1
  387. package/dist/client/assets/settings.appearance-C-MzWdtB.js +0 -2
  388. package/dist/client/assets/settings.archived-BZ0wU-2j.js +0 -2
  389. package/dist/client/assets/settings.connections-B-h_wi7q.js +0 -2
  390. package/dist/client/assets/settings.diagnostics-ByUhN_HC.js +0 -2
  391. package/dist/client/assets/settings.general-DodDmaXX.js +0 -2
  392. package/dist/client/assets/settings.integrations-Dq9yt9c-.js +0 -2
  393. package/dist/client/assets/settings.projects-Bj9oI9dE.js +0 -4
  394. package/dist/client/assets/settings.providers-BPb4TbH8.js +0 -3
  395. package/dist/client/assets/settings.scheduled-tasks-TxnTVd7r.js +0 -2
  396. package/dist/client/assets/settings.snap-shot-DZaxUAEE.js +0 -2
  397. package/dist/client/assets/settings.source-control-BlHoYUC0.js +0 -2
  398. package/dist/client/assets/settingsLayout-De_r3pyr.js +0 -3
  399. package/dist/client/assets/shield-question-mark-B5w7j5aC.js +0 -1
  400. package/dist/client/assets/square-pen-DYBPSam-.js +0 -1
  401. package/dist/client/assets/stateDiagram-v2-MP3YSRHH-CJW4DyfF.js +0 -2
  402. package/dist/client/assets/swimlanesDiagram-VR7AAH4N-Buz7ig8b.js +0 -9
  403. package/dist/client/assets/text-search-DrO_MCzY.js +0 -1
  404. package/dist/client/assets/threadSort-R2JvSO3D.js +0 -2
  405. package/dist/client/assets/toast-CIGvRti2.js +0 -2
  406. package/dist/client/assets/tooltip-Ciaezkl4.js +0 -2
  407. package/dist/client/assets/useNavigate-CnhAAl0Z.js +0 -2
  408. package/dist/client/assets/usePullRequestActions-CiF7znkV.js +0 -3
  409. package/dist/client/assets/useScopedModelAvailability-kFNRNx2C.js +0 -2
  410. package/dist/client/assets/useSettings-CNd8OM7A.js +0 -3
  411. package/dist/client/assets/utils-geC9CGP4.js +0 -37
  412. package/dist/client/assets/vcsRefInvalidation-DMpp-BNA.js +0 -2
@@ -1,2 +0,0 @@
1
- import{i as e,t}from"./rolldown-runtime-Dd_uD5pT.js";import{r as n}from"./Icon-l19w4AjM.js";import{$r as r,Aa as i,Ba as a,Cr as o,Da as s,Di as c,Er as l,Ji as u,Jr as d,La as f,Ma as p,Mi as m,Oa as h,Qr as g,Sr as _,Sx as v,Tr as y,Ui as b,Wr as x,Xa as S,Xi as C,Xr as w,Yr as T,Zi as E,_a as D,_i as O,aa as k,ai as A,ao as j,ca as M,ci as N,do as P,ea as F,ei as I,eo as L,fa as ee,gr as te,ha as R,ho as z,ii as B,io as V,ja as H,ka as ne,la as re,li as ie,lo as ae,ma as oe,mi as se,mo as ce,na as le,ni as ue,oa as de,oi as fe,pi as pe,qi as me,qr as he,r as ge,ri as _e,sa as ve,so as ye,t as be,ta as xe,ti as Se,to as Ce,ui as we,uo as Te,vc as Ee,vo as De,wr as Oe,yi as ke,yr as Ae}from"./utils-geC9CGP4.js";import{t as je}from"./env-wK1YYxA8.js";var U=e(n()),W=e(oe()),Me=U.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new k,currentIdRef:{current:null},currentContextRef:{current:null}});function Ne(e){let{children:t,delay:n,timeoutMs:r=0}=e,i=U.useRef(n),a=U.useRef(n),o=U.useRef(null),s=U.useRef(null),c=de();return(0,W.jsx)(Me.Provider,{value:U.useMemo(()=>({hasProvider:!0,delayRef:i,initialDelayRef:a,currentIdRef:o,timeoutMs:r,currentContextRef:s,timeout:c}),[r,c]),children:t})}function Pe(e,t={open:!1}){let{open:n}=t,r=`rootStore`in e?e.rootStore:e,i=r.useState(`floatingId`),{currentIdRef:a,delayRef:o,timeoutMs:c,initialDelayRef:l,currentContextRef:u,hasProvider:d,timeout:f}=U.useContext(Me),[p,m]=U.useState(!1);return s(()=>{function e(){m(!1),u.current?.setIsInstantPhase(!1),a.current=null,u.current=null,o.current=l.current}if(a.current&&!n&&a.current===i){if(m(!1),c){let t=i;return f.start(c,()=>{r.select(`open`)||a.current&&a.current!==t||e()}),()=>{f.clear()}}e()}},[n,i,a,o,c,l,u,f,r]),s(()=>{if(!n)return;let e=u.current,t=a.current;f.clear(),u.current={onOpenChange:r.setOpen,setIsInstantPhase:m},a.current=i,o.current={open:0,close:E(l.current,`close`)},t!==null&&t!==i?(m(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,R(S))):(m(!1),e?.setIsInstantPhase(!1))},[n,i,r,a,o,l,u,f]),s(()=>()=>{u.current=null},[u]),U.useMemo(()=>({hasProvider:d,delayRef:o,isInstantPhase:p}),[d,o,p])}function Fe(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){let a=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},o=t.axis===`x`||t.axis===`both`,s=t.axis===`y`||t.axis===`both`,c=[`mouseenter`,`mousemove`].includes(t.dataRef.current.openEvent?.type||``)&&t.pointerType!==`touch`,l=a.width,u=a.height,d=a.x,f=a.y;return n==null&&t.x&&o&&(n=a.x-t.x),r==null&&t.y&&s&&(r=a.y-t.y),d-=n||0,f-=r||0,l=0,u=0,!i||c?(l=t.axis===`y`?a.width:0,u=t.axis===`x`?a.height:0,d=o&&t.x!=null?t.x:d,f=s&&t.y!=null?t.y:f):i&&!c&&(u=t.axis===`x`?a.height:u,l=t.axis===`y`?a.width:l),i=!0,{width:l,height:u,x:d,y:f,top:f,right:d+l,bottom:f+u,left:d}}}}function Ie(e){return e!=null&&e.clientX!=null}function Le(e,t={}){let{enabled:n=!0,axis:r=`both`}=t,a=`rootStore`in e?e.rootStore:e,o=a.useState(`open`),s=a.useState(`floatingElement`),c=a.useState(`domReferenceElement`),l=a.context.dataRef,u=U.useRef(!1),d=U.useRef(null),[f,p]=U.useState(),[m,g]=U.useState([]),_=h(e=>{a.set(`positionReference`,e)}),v=h((e,t,n)=>{u.current||(!l.current.openEvent||Ie(l.current.openEvent))&&a.set(`positionReference`,Fe(n??c,{x:e,y:t,axis:r,dataRef:l,pointerType:f}))}),y=h(e=>{o?d.current||(v(e.clientX,e.clientY,e.currentTarget),g([])):v(e.clientX,e.clientY,e.currentTarget)}),b=le(f)?s:o;U.useEffect(()=>{if(!n){_(c);return}if(!b)return;function e(){d.current?.(),d.current=null}let t=i(s);function r(t){let n=xe(t);F(s,n)?e():v(t.clientX,t.clientY)}return!l.current.openEvent||Ie(l.current.openEvent)?d.current=C(t,`mousemove`,r):_(c),e},[b,n,s,l,c,a,v,_,m]),U.useEffect(()=>()=>{a.set(`positionReference`,null)},[a]),U.useEffect(()=>{n&&!s&&(u.current=!1)},[n,s]),U.useEffect(()=>{!n&&o&&(u.current=!0)},[n,o]);let x=U.useMemo(()=>{function e(e){p(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:y,onMouseEnter:y}},[y]);return U.useMemo(()=>n?{reference:x,trigger:x}:{},[n,x])}var Re=v(),ze=e(re());function Be(e){let[t,n]=U.useState({current:e,previous:null});return e!==t.current&&n({current:e,previous:t.current}),t.previous}function Ve(e){let t=ne(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=p(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r;return(b(n)!==a||b(r)!==o)&&(n=a,r=o),{width:n,height:r}}var He=()=>!0;function Ue(e){let{popupElement:t,positionerElement:n,content:r,mounted:i,enabled:a=He,onMeasureLayout:o,onMeasureLayoutComplete:c,side:l,direction:u}=e,d=M(t,!0,!1),f=ee(),p=U.useRef(null),m=U.useRef(null),g=U.useRef(!0),_=U.useRef(z),v=h(o),y=h(c),b=U.useMemo(()=>{let e=l===`top`,t=l===`left`;return u===`rtl`?(e||=l===`inline-end`,t||=l===`inline-end`):(e||=l===`inline-start`,t||=l===`inline-start`),e?{position:`absolute`,[l===`top`?`bottom`:`top`]:`0`,[t?`right`:`left`]:`0`}:ce},[l,u]);s(()=>{if(!i||!a()||typeof ResizeObserver!=`function`){_.current=z,g.current=!0,p.current=null,m.current=null;return}if(!t||!n)return;_.current=Ge(t,b);let e=new ResizeObserver(e=>{let t=e[0];t&&(m.current={width:Math.ceil(t.borderBoxSize[0].inlineSize),height:Math.ceil(t.borderBoxSize[0].blockSize)})});e.observe(t),Ke(t,`auto`);let r=We(t,`position`,`static`),o=We(t,`transform`,`none`),s=We(t,`scale`,`1`),c=Ge(n,{"--available-width":`max-content`,"--available-height":`max-content`});function l(){r(),o(),c()}function u(){l(),s()}if(v?.(),g.current||p.current===null){G(n,`max-content`);let r=Ve(t);return p.current=r,G(n,r),u(),y?.(null,r),g.current=!1,()=>{e.disconnect(),_.current(),_.current=z}}Ke(t,`auto`),G(n,`max-content`);let h=p.current??m.current,x=Ve(t);if(p.current=x,!h)return G(n,x),u(),y?.(null,x),()=>{e.disconnect(),f.cancel(),_.current(),_.current=z};Ke(t,h),u(),y?.(h,x),G(n,x);let S=new AbortController;return f.request(()=>{Ke(t,x),d(()=>{t.style.setProperty(`--popup-width`,`auto`),t.style.setProperty(`--popup-height`,`auto`)},S.signal)}),()=>{e.disconnect(),S.abort(),f.cancel(),_.current(),_.current=z}},[r,t,n,d,f,a,i,v,y,b])}function We(e,t,n){let r=e.style.getPropertyValue(t);return e.style.setProperty(t,n),()=>{e.style.setProperty(t,r)}}function Ge(e,t){let n=[];for(let[r,i]of Object.entries(t))n.push(We(e,r,i));return n.length?()=>{n.forEach(e=>e())}:z}function Ke(e,t){let n=t===`auto`?`auto`:`${t.width}px`,r=t===`auto`?`auto`:`${t.height}px`;e.style.setProperty(`--popup-width`,n),e.style.setProperty(`--popup-height`,r)}function G(e,t){let n=t===`max-content`?`max-content`:`${t.width}px`,r=t===`max-content`?`max-content`:`${t.height}px`;e.style.setProperty(`--positioner-width`,n),e.style.setProperty(`--positioner-height`,r)}function qe(e){let{store:t,side:n,cssVars:r,children:i}=e,a=Oe(),o=t.useState(`activeTriggerElement`),c=t.useState(`activeTriggerId`),l=t.useState(`open`),u=t.useState(`payload`),d=t.useState(`mounted`),f=t.useState(`popupElement`),p=t.useState(`positionerElement`),m=Be(l?o:null),g=Ze(c,u),_=U.useRef(null),[v,b]=U.useState(null),[x,S]=U.useState(null),C=U.useRef(null),w=U.useRef(null),T=M(C,!0,!1),E=ee(),[D,O]=U.useState(null),[k,A]=U.useState(!1);s(()=>(t.set(`hasViewport`,!0),()=>{t.set(`hasViewport`,!1)}),[t]);let j=h(()=>{C.current?.style.setProperty(`animation`,`none`),C.current?.style.setProperty(`transition`,`none`),w.current?.style.setProperty(`display`,`none`)}),N=h(e=>{C.current?.style.removeProperty(`animation`),C.current?.style.removeProperty(`transition`),w.current?.style.removeProperty(`display`),e&&O(e)}),P=U.useRef(null);s(()=>{if(o&&m&&o!==m&&P.current!==o&&_.current){b(_.current),A(!0);let e=Xe(m,o);S(e),E.request(()=>{ze.flushSync(()=>{A(!1)}),T(()=>{b(null),O(null),_.current=null})}),P.current=o}},[o,m,v,T,E]),s(()=>{let e=C.current;if(!e)return;let t=me(e).createElement(`div`);for(let n of Array.from(e.childNodes))t.appendChild(n.cloneNode(!0));_.current=t});let F=v!=null,I;I=F?(0,W.jsxs)(U.Fragment,{children:[(0,W.jsx)(`div`,{"data-previous":!0,inert:y(!0),ref:w,style:{...D?{[r.popupWidth]:`${D.width}px`,[r.popupHeight]:`${D.height}px`}:null,position:`absolute`},"data-ending-style":k?void 0:``},`previous`),(0,W.jsx)(`div`,{"data-current":!0,ref:C,"data-starting-style":k?``:void 0,children:i},g)]}):(0,W.jsx)(`div`,{"data-current":!0,ref:C,children:i},g),s(()=>{let e=w.current;e&&v&&e.replaceChildren(...Array.from(v.childNodes))},[v]),Ue({popupElement:f,positionerElement:p,mounted:d,content:u,onMeasureLayout:j,onMeasureLayoutComplete:N,side:n,direction:a});let L={activationDirection:Je(x),transitioning:F};return{children:I,state:L}}function Je(e){if(e)return`${Ye(e.horizontal,5,`right`,`left`)} ${Ye(e.vertical,5,`down`,`up`)}`}function Ye(e,t,n,r){return e>t?n:e<-t?r:``}function Xe(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i={x:n.left+n.width/2,y:n.top+n.height/2},a={x:r.left+r.width/2,y:r.top+r.height/2};return{horizontal:a.x-i.x,vertical:a.y-i.y}}function Ze(e,t){let[n,r]=U.useState(0),i=U.useRef(e),a=U.useRef(t),o=U.useRef(!1);return s(()=>{let n=i.current,s=a.current,c=e!==n,l=t!==s;c?(r(e=>e+1),o.current=!l):o.current&&l&&(r(e=>e+1),o.current=!1),i.current=e,a.current=t},[e,t]),`${e??`current`}-${n}`}var Qe=t((e=>{e.Check=[[`path`,{d:`M20 6 9 17l-5-5`}]],e.ChevronDown=[[`path`,{d:`m6 9 6 6 6-6`}]],e.ChevronRight=[[`path`,{d:`m9 18 6-6-6-6`}]],e.ChevronUp=[[`path`,{d:`m18 15-6-6-6 6`}]],e.ChevronsDownUp=[[`path`,{d:`m7 20 5-5 5 5`}],[`path`,{d:`m7 4 5 5 5-5`}]],e.ChevronsUpDown=[[`path`,{d:`m7 15 5 5 5-5`}],[`path`,{d:`m7 9 5-5 5 5`}]],e.Circle=[[`circle`,{cx:`12`,cy:`12`,r:`10`}]],e.CircleAlert=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`}]],e.CircleCheck=[[`circle`,{cx:`12`,cy:`12`,r:`10`}],[`path`,{d:`m9 12 2 2 4-4`}]],e.Code2=[[`path`,{d:`m18 16 4-4-4-4`}],[`path`,{d:`m6 8-4 4 4 4`}],[`path`,{d:`m14.5 4-5 16`}]],e.Copy=[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]],e.CornerUpRight=[[`path`,{d:`m15 14 5-5-5-5`}],[`path`,{d:`M4 20v-7a4 4 0 0 1 4-4h12`}]],e.Eye=[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`}]],e.Folder=[[`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`}]],e.FolderClosed=[[`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`}],[`path`,{d:`M2 10h20`}]],e.Image=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`}],[`circle`,{cx:`9`,cy:`9`,r:`2`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`}]],e.Link=[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`}]],e.ListPlus=[[`path`,{d:`M16 5H3`}],[`path`,{d:`M11 12H3`}],[`path`,{d:`M16 19H3`}],[`path`,{d:`M18 9v6`}],[`path`,{d:`M21 12h-6`}]],e.Lock=[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`}]],e.LockOpen=[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`}]],e.Maximize2=[[`path`,{d:`M15 3h6v6`}],[`path`,{d:`m21 3-7 7`}],[`path`,{d:`m3 21 7-7`}],[`path`,{d:`M9 21H3v-6`}]],e.Minimize2=[[`path`,{d:`m14 10 7-7`}],[`path`,{d:`M20 10h-6V4`}],[`path`,{d:`m3 21 7-7`}],[`path`,{d:`M4 14h6v6`}]],e.Minus=[[`path`,{d:`M5 12h14`}]],e.Moon=[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]],e.PanelLeft=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}]],e.PanelLeftClose=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`m16 15-3-3 3-3`}]],e.Plus=[[`path`,{d:`M5 12h14`}],[`path`,{d:`M12 5v14`}]],e.Sun=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 2v2`}],[`path`,{d:`M12 20v2`}],[`path`,{d:`m4.93 4.93 1.41 1.41`}],[`path`,{d:`m17.66 17.66 1.41 1.41`}],[`path`,{d:`M2 12h2`}],[`path`,{d:`M20 12h2`}],[`path`,{d:`m6.34 17.66-1.41 1.41`}],[`path`,{d:`m19.07 4.93-1.41 1.41`}]],e.Table2=[[`path`,{d:`M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18`}]],e.Text=[[`path`,{d:`M21 5H3`}],[`path`,{d:`M15 12H3`}],[`path`,{d:`M17 19H3`}]],e.Volume2=[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`}]],e.VolumeOff=[[`path`,{d:`M16 9a5 5 0 0 1 .95 2.293`}],[`path`,{d:`M19.364 5.636a9 9 0 0 1 1.889 9.96`}],[`path`,{d:`m2 2 20 20`}],[`path`,{d:`m7 7-.587.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298V11`}],[`path`,{d:`M9.828 4.172A.686.686 0 0 1 11 4.657v.686`}]]})),$e=U.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,style:o,...s}=e,{portalNode:l,portalSubtree:u}=c({container:r,ref:t,componentProps:e,elementProps:s});return!u&&!l?null:(0,W.jsxs)(U.Fragment,{children:[u,l&&ze.createPortal(n,l)]})}),et=`MmLlHhVvCcSsQqTtAaZz`;function tt(e){let t=[],n=e.length,r=0,i=0,a=0,o=0,s=0,c=null,l=``,u=0,d=0,f=``,p=!1,m=e=>{throw Error(`morphicons: ${e} at d[${r}]`)},h=e=>e>=48&&e<=57,g=()=>{for(;r<n;){let t=e.charCodeAt(r);if(t===32||t===9||t===10||t===13||t===12||t===44)r++;else break}},_=()=>{g();let t=r;r<n&&(e[r]===`+`||e[r]===`-`)&&r++;let i=!1;for(;r<n&&h(e.charCodeAt(r));)r++,i=!0;if(r<n&&e[r]===`.`)for(r++;r<n&&h(e.charCodeAt(r));)r++,i=!0;if(i||m(`expected number`),r<n&&(e[r]===`e`||e[r]===`E`)){let t=r;r++,r<n&&(e[r]===`+`||e[r]===`-`)&&r++;let i=!1;for(;r<n&&h(e.charCodeAt(r));)r++,i=!0;i||(r=t)}return Number(e.slice(t,r))},v=()=>{g();let t=e[r];return t===`0`||t===`1`?(r++,+(t===`1`)):m(`expected arc flag (0|1)`)},y=()=>(p||m(`path must start with M/m`),c||(c={x0:i,y0:a,segs:[],closed:!1},t.push(c)),c),b=!1,x=()=>_()+(b?i:0),S=()=>_()+(b?a:0);for(;g(),!(r>=n);){let n=e[r];switch(et.includes(n)?(l=n,r++):l===``?m(`path must start with M/m`):l===`M`?l=`L`:l===`m`?l=`l`:(l===`Z`||l===`z`)&&m(`stray data after Z`),b=l>=`a`,b?l.toUpperCase():l){case`M`:{p=!0;let e=x(),n=S();i=e,a=n,o=e,s=n,c={x0:e,y0:n,segs:[],closed:!1},t.push(c),f=``;break}case`L`:{let e=x(),t=S();y().segs.push([`L`,e,t]),i=e,a=t,f=``;break}case`H`:{let e=x();y().segs.push([`L`,e,a]),i=e,f=``;break}case`V`:{let e=S();y().segs.push([`L`,i,e]),a=e,f=``;break}case`C`:case`S`:{let e,t;l===`C`||l===`c`?(e=x(),t=S()):(e=f===`C`?2*i-u:i,t=f===`C`?2*a-d:a);let n=x(),r=S(),o=x(),s=S();y().segs.push([`C`,e,t,n,r,o,s]),u=n,d=r,i=o,a=s,f=`C`;break}case`Q`:case`T`:{let e,t;l===`Q`||l===`q`?(e=x(),t=S()):(e=f===`Q`?2*i-u:i,t=f===`Q`?2*a-d:a);let n=x(),r=S();y().segs.push([`Q`,e,t,n,r]),u=e,d=t,i=n,a=r,f=`Q`;break}case`A`:{let e=_(),t=_(),n=_(),r=v(),o=v(),s=x(),c=S();y().segs.push([`A`,e,t,n,r,o,s,c]),i=s,a=c,f=``;break}case`Z`:c&&=(c.closed=!0,null),i=o,a=s,f=``;break;default:m(`unsupported command "${l}"`)}}return t.filter(e=>e.segs.length>0)}function nt(e){return String(Math.round(e*100)/100)}function rt(e,t){let n=``;for(let r=0;r<e.length;r++){let i=e[r],a=i.length/2;n+=`M${nt(i[0])} ${nt(i[1])}`;for(let e=1;e<a;e++)n+=`L${nt(i[2*e])} ${nt(i[2*e+1])}`;t?.[r]&&(n+=`Z`)}return n}function K(e){return String(Math.round(e*1e4)/1e4)}function it(e){let t=``;for(let{pts:n,closed:r}of e){t+=`M${K(n[0])} ${K(n[1])}`;for(let e=2;e<n.length;e+=6)t+=`C${K(n[e])} ${K(n[e+1])} ${K(n[e+2])} ${K(n[e+3])} ${K(n[e+4])} ${K(n[e+5])}`;r&&(t+=`Z`)}return t}var at=4/3*Math.tan(Math.PI/8),ot=2*Math.PI;function q(e,t){let n=[e,t],r=e,i=t,a=(e,t,a,o,s,c)=>{n.push(e,t,a,o,s,c),r=s,i=c},o=(e,t)=>{Math.abs(e-r)<1e-12&&Math.abs(t-i)<1e-12||a(r+(e-r)/3,i+(t-i)/3,r+2*(e-r)/3,i+2*(t-i)/3,e,t)};return[a,o,(e,t,n,o)=>{a(r+2/3*(e-r),i+2/3*(t-i),n+2/3*(e-n),o+2/3*(t-o),n,o)},(e,t,n,s,c,l,u)=>{let d=r,f=i;if(Math.abs(l-d)<1e-12&&Math.abs(u-f)<1e-12)return;let p=Math.abs(e),m=Math.abs(t);if(p<1e-12||m<1e-12){o(l,u);return}let h=n*Math.PI/180,g=Math.cos(h),_=Math.sin(h),v=(d-l)/2,y=(f-u)/2,b=g*v+_*y,x=-_*v+g*y,S=b*b/(p*p)+x*x/(m*m);if(S>1){let e=Math.sqrt(S);p*=e,m*=e}let C=p*p,w=m*m,T=b*b,E=x*x,D=(C*w-C*E-w*T)/(C*E+w*T);D<0&&(D=0);let O=(s===c?-1:1)*Math.sqrt(D),k=O*p*x/m,A=-O*m*b/p,j=g*k-_*A+(d+l)/2,M=_*k+g*A+(f+u)/2,N=Math.atan2((x-A)/m,(b-k)/p),P=Math.atan2((-x-A)/m,(-b-k)/p)-N;c===0&&P>0?P-=ot:c===1&&P<0&&(P+=ot);let F=Math.max(1,Math.ceil(Math.abs(P)/(Math.PI/2)-1e-9)),I=P/F,L=4/3*Math.tan(I/4),ee=e=>j+p*Math.cos(e)*g-m*Math.sin(e)*_,te=e=>M+p*Math.cos(e)*_+m*Math.sin(e)*g,R=e=>-p*Math.sin(e)*g-m*Math.cos(e)*_,z=e=>-p*Math.sin(e)*_+m*Math.cos(e)*g,B=N,V=d,H=f;for(let e=1;e<=F;e++){let t=N+I*e,n=e===F?l:ee(t),r=e===F?u:te(t);a(V+L*R(B),H+L*z(B),n-L*R(t),r-L*z(t),n,r),B=t,V=n,H=r}},e=>(e&&o(n[0],n[1]),n.length<8?null:{pts:Float64Array.from(n),closed:e})]}function st(e){let[t,n,r,i,a]=q(e.x0,e.y0);for(let a of e.segs)switch(a[0]){case`L`:n(a[1],a[2]);break;case`C`:t(a[1],a[2],a[3],a[4],a[5],a[6]);break;case`Q`:r(a[1],a[2],a[3],a[4]);break;case`A`:i(a[1],a[2],a[3],a[4],a[5],a[6],a[7])}return a(e.closed)}function J(e,t,n=0){let r=e[t];if(r===void 0)return n;let i=typeof r==`number`?r:Number(r);return Number.isFinite(i)?i:n}function ct(e){let t=String(e??``).trim();if(!t)return[];let n=t.split(/[\s,]+/).map(Number);if(n.some(e=>!Number.isFinite(e)))throw Error(`morphicons: invalid points: "${t}"`);return n}function lt(e,t){if(e.length<4)return null;let[,n,,,r]=q(e[0],e[1]);for(let t=2;t+1<e.length;t+=2)n(e[t],e[t+1]);return r(t)}function ut(e,t,n,r){if(n<1e-12||r<1e-12)return null;let i=at*n,a=at*r,o=e+n,s=e-n,c=t+r,l=t-r,[u,,,,d]=q(o,t);return u(o,t+a,e+i,c,e,c),u(e-i,c,s,t+a,s,t),u(s,t-a,e-i,l,e,l),u(e+i,l,o,t-a,o,t),d(!0)}function dt(e){let t=J(e,`x`),n=J(e,`y`),r=J(e,`width`),i=J(e,`height`);if(r<1e-12||i<1e-12)return null;let a=J(e,`rx`,NaN),o=J(e,`ry`,NaN);if(Number.isNaN(a)&&(a=Number.isNaN(o)?0:o),Number.isNaN(o)&&(o=a),a=Math.min(Math.max(a,0),r/2),o=Math.min(Math.max(o,0),i/2),a<1e-12||o<1e-12)return lt([t,n,t+r,n,t+r,n+i,t,n+i],!0);let s=t+a,c=t+r-a,l=t+r,u=n+o,d=n+i-o,f=n+i,p=at*a,m=at*o,[h,g,,,_]=q(s,n);return g(c,n),h(c+p,n,l,u-m,l,u),g(l,d),h(l,d+m,c+p,f,c,f),g(s,f),h(s-p,f,t,d+m,t,d),g(t,u),h(t,u-m,s-p,n,s,n),_(!0)}function ft(e){let t=[],n=e=>{e&&t.push(e)};if(typeof e==`string`){for(let t of tt(e))n(st(t));return t}for(let[t,r]of e)switch(t){case`path`:for(let e of tt(String(r.d??``)))n(st(e));break;case`line`:{let[,e,,,t]=q(J(r,`x1`),J(r,`y1`));e(J(r,`x2`),J(r,`y2`)),n(t(!1));break}case`circle`:{let e=J(r,`r`);n(ut(J(r,`cx`),J(r,`cy`),e,e));break}case`ellipse`:n(ut(J(r,`cx`),J(r,`cy`),J(r,`rx`),J(r,`ry`)));break;case`rect`:n(dt(r));break;case`polyline`:n(lt(ct(r.points),!1));break;case`polygon`:n(lt(ct(r.points),!0));break;default:throw Error(`morphicons: unsupported tag <${t}>`)}return t}function pt(e){return e.items.map(()=>new Float64Array(2*e.n))}function mt(e,t,n){for(let r=0;r<e.items.length;r++){let i=e.items[r],a=n[r],o=e.n,s=Math.exp(i.lnSigma*t),c=i.theta*t,l=Math.cos(c)*s,u=Math.sin(c)*s,d,f;if(i.block){let[e,n]=i.block.off,[r,a]=i.block.drift;d=i.ca[0]+r*t+(e*l-n*u-e),f=i.ca[1]+a*t+(e*u+n*l-n)}else d=i.ca[0]+(i.cb[0]-i.ca[0])*t,f=i.ca[1]+(i.cb[1]-i.ca[1])*t;for(let e=0;e<o;e++){let n=i.aC[2*e]+(i.bT[2*e]-i.aC[2*e])*t,r=i.aC[2*e+1]+(i.bT[2*e+1]-i.aC[2*e+1])*t;a[2*e]=d+n*l-r*u,a[2*e+1]=f+n*u+r*l}}}var ht=.35,gt=.05,_t=.005,vt=8,yt=1e5;function Y(e){let t=e.length/2,n=0,r=0;for(let i=0;i<t;i++)n+=e[2*i],r+=e[2*i+1];return[n/t,r/t]}function bt(e){let t=e.length/2,n=0;for(let r=1;r<t;r++)n+=Math.hypot(e[2*r]-e[2*r-2],e[2*r+1]-e[2*r-1]);return n}function xt(e){let t=e.length/2,n=new Float64Array(2*t);for(let r=0;r<t;r++)n[2*r]=e[2*(t-1-r)],n[2*r+1]=e[2*(t-1-r)+1];return n}function St(e,t){let n=e.length/2,r=new Float64Array(2*n);for(let i=0;i<n;i++){let a=(i+t)%n;r[2*i]=e[2*a],r[2*i+1]=e[2*a+1]}return r}function Ct(e,t,n,r){let i=e.length/2,a=0,o=0,s=0,c=0,l=0,u=0;for(let d=0;d<i;d++){let i=e[2*d]-n[0],f=e[2*d+1]-n[1],p=t[2*d]-r[0],m=t[2*d+1]-r[1];a+=i*p,c+=f*m,o+=i*m,s+=f*p,l+=i*i+f*f,u+=p*p+m*m}let d=Math.atan2(o-s,a+c),f=Math.cos(d)*(a+c)+Math.sin(d)*(o-s),p=l>1e-12?f/l:1;p>1e-6||(p=1e-6);let m=Math.max(0,p*p*l-2*p*f+u),h=u>1e-12?Math.sqrt(m/u):0;return{theta:d,sigma:p,res:h}}function wt(e,t,n=!1,r=!1){let i=Y(e),a=Y(t),o=n&&!r,s=o?e:t,c=n||r?s.length/2:1,l=1/0,u=s,d={theta:0,sigma:1,res:0};for(let n=0;n<2;n++){let r=n?xt(s):s;for(let n=0;n<c;n++){let s=n?St(r,n):r,c=o?Ct(s,t,i,a):Ct(e,s,i,a),f=c.res+gt*Math.abs(c.theta)/Math.PI;f<l&&(l=f,u=s,d=c)}}return o?{ca:i,cb:a,a:u,b:t,...d}:{ca:i,cb:a,a:e,b:u,...d}}function Tt(e,t){let n=t.map(Y),r=t.map(bt);return e.map(e=>{let t=Y(e),i=bt(e);return n.map((e,n)=>Math.hypot(t[0]-e[0],t[1]-e[1])+ht*Math.abs(i-r[n]))})}function Et(e){let t=e.length;if(t>vt){let n=[];for(let r=0;r<t;r++)for(let i=0;i<t;i++)n.push([e[r][i],r,i]);n.sort((e,t)=>e[0]-t[0]);let r=Array(t).fill(-1),i=Array(t).fill(!1);for(let[,e,t]of n)r[e]<0&&!i[t]&&(r[e]=t,i[t]=!0);return r}let n=Array.from({length:t},(e,t)=>t),r=n.slice(),i=1/0,a=(n,o,s)=>{if(!(s>=i)){if(o===t){i=s,r=n.slice();return}for(let r=o;r<t;r++)[n[o],n[r]]=[n[r],n[o]],a(n,o+1,s+e[o][n[o]]),[n[o],n[r]]=[n[r],n[o]]}};return a(n,0,0),r}function Dt(e){let t=e.length,n=e[0].length;if(n**t>yt){let r=e.map(e=>{let t=0;for(let n=1;n<e.length;n++)e[n]<e[t]&&(t=n);return t}),i=Array(n).fill(0);for(let e of r)i[e]++;for(let a=0;a<n;a++){if(i[a]>0)continue;let n=-1,o=1/0;for(let s=0;s<t;s++){if(i[r[s]]<2)continue;let t=e[s][a]-e[s][r[s]];t<o&&(o=t,n=s)}i[r[n]]--,r[n]=a,i[a]++}return r}let r=null,i=1/0,a=Array(t),o=Array(n).fill(0),s=(c,l,u)=>{if(!(l>=i||n-u>t-c)){if(c===t){i=l,r=a.slice();return}for(let t=0;t<n;t++)a[c]=t,o[t]++,s(c+1,l+e[c][t],u+ +(o[t]===1)),o[t]--}};if(s(0,0,0),!r)throw Error(`morphicons: no valid surjection (B < S)`);return r}function Ot(e,t){let n=e.length*t,r=new Float64Array(2*n),i=new Float64Array(2*n);e.forEach((e,n)=>{r.set(e.a,2*t*n),i.set(e.bO,2*t*n)});let a=Y(r),o=Ct(r,i,a,Y(i));if(o.res>=_t)return;let s=Math.cos(-o.theta),c=Math.sin(-o.theta),l=Math.cos(o.theta),u=Math.sin(o.theta);for(let n of e){let e=0,r=0;for(let i=0;i<t;i++){let t=n.bO[2*i]-n.cb[0],a=n.bO[2*i+1]-n.cb[1];n.bT[2*i]=(t*s-a*c)/o.sigma,n.bT[2*i+1]=(t*c+a*s)/o.sigma;let d=o.sigma*(l*n.aC[2*i]-u*n.aC[2*i+1])-t,f=o.sigma*(u*n.aC[2*i]+l*n.aC[2*i+1])-a;e+=d*d+f*f,r+=t*t+a*a}n.theta=o.theta,n.lnSigma=Math.log(o.sigma),n.res=r>1e-12?Math.sqrt(e/r):0;let i=Math.exp(n.lnSigma),d=Math.cos(n.theta)*i,f=Math.sin(n.theta)*i,p=n.ca[0]-a[0],m=n.ca[1]-a[1],h=p*d-m*f-p,g=p*f+m*d-m;n.block={off:[p,m],drift:[n.cb[0]-n.ca[0]-h,n.cb[1]-n.ca[1]-g]}}}function kt(e,t){let n=e.length,r=t.length;if(n===0||r===0)throw Error(`morphicons: icon has no subpaths`);let i=e.map(e=>e.pts),a=t.map(e=>e.pts),o=[];if(n===r){let e=Et(Tt(i,a));for(let t=0;t<n;t++)o.push([t,e[t]])}else if(n<r){let e=Dt(Tt(a,i));for(let t=0;t<r;t++)o.push([e[t],t])}else{let e=Dt(Tt(i,a));for(let t=0;t<n;t++)o.push([t,e[t]])}let s=i[0].length/2,c=o.map(([n,r])=>{let o=wt(i[n],a[r],e[n].closed,t[r].closed),c=o.a,l=new Float64Array(2*s),u=new Float64Array(2*s),d=new Float64Array(2*s),f=Math.cos(-o.theta),p=Math.sin(-o.theta);for(let e=0;e<s;e++){l[2*e]=c[2*e]-o.ca[0],l[2*e+1]=c[2*e+1]-o.ca[1];let t=o.b[2*e]-o.cb[0],n=o.b[2*e+1]-o.cb[1];u[2*e]=(t*f-n*p)/o.sigma,u[2*e+1]=(t*p+n*f)/o.sigma,d[2*e]=o.b[2*e],d[2*e+1]=o.b[2*e+1]}return{a:c,aC:l,bT:u,bO:d,ca:o.ca,cb:o.cb,theta:o.theta,lnSigma:Math.log(o.sigma),res:o.res,closed:e[n].closed&&t[r].closed,block:null}});return c.length>1&&Ot(c,s),{items:c,n:s}}var At=Math.PI/8,jt=[.18343464249564978,.525532409916329,.7966664774136267,.9602898564975363],Mt=[.362683783378362,.31370664587788727,.22238103445337448,.10122853629037626];function Nt(e,t,n){let r=6*t,i=1-n,a=3*i*i,o=6*i*n,s=3*n*n,c=a*(e[r+2]-e[r])+o*(e[r+4]-e[r+2])+s*(e[r+6]-e[r+4]),l=a*(e[r+3]-e[r+1])+o*(e[r+5]-e[r+3])+s*(e[r+7]-e[r+5]);return Math.hypot(c,l)}function Pt(e,t,n=1){let r=n/2,i=0;for(let n=0;n<4;n++)i+=Mt[n]*(Nt(e,t,r+r*jt[n])+Nt(e,t,r-r*jt[n]));return i*r}function Ft(e,t,n,r,i){let a=6*t,o=1-n,s=o*o*o,c=3*o*o*n,l=3*o*n*n,u=n*n*n;r[i]=s*e[a]+c*e[a+2]+l*e[a+4]+u*e[a+6],r[i+1]=s*e[a+1]+c*e[a+3]+l*e[a+5]+u*e[a+7]}function It(e,t,n){let r=6*t,i=n?r+6:r,a=n?-1:1;for(let t of n?[4,2,0]:[2,4,6]){let n=a*(e[r+t]-e[i]),o=a*(e[r+t+1]-e[i+1]);if(n*n+o*o>1e-18)return[n,o]}return null}function Lt(e,t=At){let n=e.pts,r=(n.length/2-1)/3,i=[];for(let e=0;e<r;e++)Pt(n,e)>1e-9&&i.push(e);if(i.length===0)return[];let a=new Set,o=(e,r)=>{let i=It(n,e,!0),o=It(n,r,!1);i&&o&&Math.abs(Math.atan2(i[0]*o[1]-i[1]*o[0],i[0]*o[0]+i[1]*o[1]))>t&&a.add(r)};for(let e=0;e+1<i.length;e++)o(i[e],i[e+1]);return e.closed&&i.length>1&&o(i[i.length-1],i[0]),[...a].sort((e,t)=>e-t)}function Rt(e,t,n,r){if(n<=0)return 0;if(n>=r)return 1;let i=0,a=1,o=n/r;for(let s=0;s<12;s++){let s=Pt(e,t,o)-n;if(Math.abs(s)<1e-10*r+1e-14)break;s>0?a=o:i=o;let c=Nt(e,t,o),l=c>1e-12?o-s/c:(i+a)/2;l>i&&l<a||(l=(i+a)/2),o=l}return o}function zt(e,t=64,n=At){let r=e.pts,i=(r.length/2-1)/3,a=new Float64Array(2*t),o=()=>{for(let e=0;e<t;e++)a[2*e]=r[0],a[2*e+1]=r[1];return a};if(i<1)return o();let s=Array(i),c=0;for(let e=0;e<i;e++)s[e]=Pt(r,e),c+=s[e];if(c<1e-12)return o();let l=Lt(e,n),u=e.closed?l.length>0?l:[0]:[...new Set([0,...l,i])].sort((e,t)=>e-t),d=[];if(e.closed)for(let e=0;e<u.length;e++){let t=u[e],n=e+1<u.length?u[e+1]:u[0]+i;d.push([t,n])}else for(let e=0;e+1<u.length;e++)d.push([u[e],u[e+1]]);let f=d.map(([e,t])=>{let n=0;for(let r=e;r<t;r++)n+=s[r%i];return n}),p=e.closed?t:t-1;if(d.length>p)throw Error(`morphicons: N=${t} too small (${d.length} runs)`);let m=f.reduce((e,t)=>e+t,0)||1,h=f.map(e=>p*e/m),g=h.map(e=>Math.max(1,Math.floor(e))),_=p-g.reduce((e,t)=>e+t,0);if(_>0){let e=h.map((e,t)=>[Math.round((e-Math.floor(e))*1e9),t]).sort((e,t)=>t[0]-e[0]||e[1]-t[1]);for(let t=0;t<_;t++)g[e[t%g.length][1]]++}for(;_<0;){let e=0;for(let t=1;t<g.length;t++)g[t]>g[e]&&(e=t);if(g[e]<=1)break;g[e]--,_++}let v=0;for(let e=0;e<d.length;e++){let[t,n]=d[e],o=g[e],c=f[e],l=t%i*6;a[2*v]=r[l],a[2*v+1]=r[l+1],v++;let u=t,p=0;for(let e=1;e<o;e++){let t=c*e/o;for(;u<n-1&&p+s[u%i]<t;)p+=s[u%i],u++;let l=u%i,d=s[l];Ft(r,l,d>1e-12?Rt(r,l,t-p,d):0,a,2*v),v++}}if(!e.closed){let e=6*i;a[2*v]=r[e],a[2*v+1]=r[e+1]}return a}function Bt(e,t=64){return ft(e).map(e=>({pts:zt(e,t),closed:e.closed}))}var Vt=class{x=1;v=0;k=250;c=24;config(e,t){this.k=e,this.c=t}start(){this.x=0,this.v>14&&(this.v=14),this.v<-14&&(this.v=-14)}step(e){let t=Math.max(1,Math.min(16,Math.ceil(e/(1/240)))),n=e/t;for(let e=0;e<t;e++){let e=this.k*(1-this.x)-this.c*this.v;this.v+=e*n,this.x+=this.v*n}return Math.abs(1-this.x)<.001&&Math.abs(this.v)<.02}},Ht={smooth:{k:170,c:26},snappy:{k:420,c:30},bouncy:{k:300,c:14}},X=new Set,Z=0,Q=-1;function Ut(e){let t=Q<0?0:Math.min(Math.max((e-Q)/1e3,0),.1);Q=e;for(let e of[...X])e(t);X.size>0?Z=requestAnimationFrame(Ut):(Z=0,Q=-1)}function Wt(e){X.add(e),Z===0&&(Q=-1,Z=requestAnimationFrame(Ut))}function Gt(e){X.delete(e),X.size===0&&Z!==0&&(cancelAnimationFrame(Z),Z=0,Q=-1)}var Kt=new WeakMap,qt=new WeakMap,Jt=new WeakMap;function $(e){if(typeof e==`string`)return Bt(e);let t=Kt.get(e);return t||(t=Bt(e),Kt.set(e,t)),t}function Yt(e){if(typeof e==`string`)return e;let t=qt.get(e);return t||(t=it(ft(e)),qt.set(e,t)),t}function Xt(e,t){if(typeof e==`string`||typeof t==`string`)return kt($(e),$(t));let n=Jt.get(e);n||(n=new WeakMap,Jt.set(e,n));let r=n.get(t);return r||(r=kt($(e),$(t)),n.set(t,r)),r}function Zt(e){if(typeof e==`string`)return Ht[e];let t=Ht.snappy;return{k:e?.stiffness??t.k,c:e?.damping??t.c}}function Qt(e,t,n){let r=new Vt,i=n?.reducedMotion??`never`,a=t,o=!0,s=null,c=null,l=null,u=1,d=!1,f=!1;e.setAttribute(`d`,Yt(t));let p=t=>{let n=s,r=c,i=l;n&&r&&i&&(u=t,mt(n,t,r),e.setAttribute(`d`,rt(r,i)))},m=()=>{d&&(d=!1,Gt(h))},h=e=>{let t=r.step(e);p(r.x),t&&(m(),g())},g=()=>{o=!0,s=null,c=null,l=null,u=1,r.x=1,r.v=0,e.setAttribute(`d`,Yt(a))},_=()=>{let e=s,t=c;return o||!e||!t?$(a):t.map((t,n)=>({pts:Float64Array.from(t),closed:e.items[n].closed}))},v=e=>{s=o?Xt(a,e):kt(_(),$(e)),c=pt(s),l=s.items.map(e=>e.closed),a=e,o=!1},y=e=>{m(),a=e,g()},b=()=>i===`always`?!0:i!==`user`||typeof matchMedia>`u`?!1:matchMedia?.(`(prefers-reduced-motion: reduce)`).matches??!1,x=(e,t)=>{if(f)return;let n=!o&&s!==null&&e===a;m(),r.v=0,n||v(e),p(t)};return{morphTo(e,t){if(f||e===a&&(o||d))return;if(b()){y(e);return}let{k:n,c:i}=Zt(t);r.config(n,i),v(e),r.start(),d||(d=!0,Wt(h))},set(e){f||y(e)},seek:x,get progress(){return o?1:u},set progress(e){f||x(a,e)},get reducedMotion(){return i},set reducedMotion(e){i=e},destroy(){m(),f=!0,s=null,c=null,l=null}}}var $t=typeof document>`u`?U.useEffect:U.useLayoutEffect;function en(e,t,n){if(n<=0)return Yt(e);if(n>=1)return Yt(t);let r=kt(Bt(e),Bt(t)),i=pt(r);return mt(r,n,i),rt(i,r.items.map(e=>e.closed))}var tn=(0,U.forwardRef)(function(e,t){let{icon:n,from:r,to:i,progress:a,spring:o,reducedMotion:s,size:c=24,color:l=`currentColor`,strokeWidth:u=2,absoluteStrokeWidth:d,label:f,...p}=e,m=r!==void 0&&i!==void 0,h=n??r??i,[g]=(0,U.useState)(()=>m?en(r,i,a??0):h===void 0?``:Yt(h)),_=(0,U.useRef)(null),v=(0,U.useRef)(null),y=(0,U.useRef)(o);y.current=o;let b=(0,U.useRef)(s);b.current=s;let x=(0,U.useRef)(n),S=(0,U.useRef)(m),C=(0,U.useRef)(!1),w=(0,U.useRef)(!1),T=(0,U.useRef)(null),E=(0,U.useCallback)(e=>{if(v.current)return v.current;let t=_.current;return C.current||!t?null:(v.current=Qt(t,e,{reducedMotion:b.current}),v.current)},[]);$t(()=>{C.current=!1;let e=_.current;if(e&&h!==void 0){let t=Qt(e,m?r:h,{reducedMotion:b.current});if(v.current=t,m){T.current=[r,i];let e=a??0;e<=0?t.set(r):e>=1?t.set(i):(t.seek(i,e),w.current=!0)}}return()=>{C.current=!0,v.current?.destroy(),v.current=null,w.current=!1,T.current=null}},[]),(0,U.useEffect)(()=>{let e=v.current;e&&(e.reducedMotion=s??`never`)},[s]),(0,U.useEffect)(()=>{let e=S.current&&!m;S.current=m;let t=n!==x.current;if(x.current=n,m||n===void 0||!t&&!e)return;T.current=null,w.current=!1;let r=v.current;r?r.morphTo(n,y.current):E(n)},[n,m,E]),(0,U.useEffect)(()=>{if(!m)return;let e=v.current??E(r);if(!e)return;let t=a??0;(!T.current||T.current[0]!==r||T.current[1]!==i)&&(T.current=[r,i],w.current=!1),t<=0?(e.set(r),w.current=!1):t>=1?(e.set(i),w.current=!1):(w.current||=(e.set(r),!0),e.seek(i,t))},[m,r,i,a,E]),(0,U.useImperativeHandle)(t,()=>({morphTo:(e,t)=>{T.current=null,w.current=!1;let n=v.current;n?n.morphTo(e,t??y.current):E(e)},set:e=>{T.current=null,w.current=!1;let t=v.current;t?t.set(e):E(e)}}),[E]);let D=d?Number(u)*24/Number(c):u;return(0,W.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:c,height:c,viewBox:`0 0 24 24`,fill:`none`,stroke:l,strokeWidth:D,strokeLinecap:`round`,strokeLinejoin:`round`,role:f?`img`:void 0,"aria-hidden":!f||void 0,...p,children:[f?(0,W.jsx)(`title`,{children:f}):null,(0,W.jsx)(`path`,{ref:_,d:g})]})});function nn(e){let t=(0,Re.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({reducedMotion:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?`user`:r,a;return t[3]!==n||t[4]!==i?(a=(0,W.jsx)(tn,{reducedMotion:i,...n}),t[3]=n,t[4]=i,t[5]=a):a=t[5],a}var rn=U.createContext(void 0);function an(e){let t=U.useContext(rn);if(t===void 0&&!e)throw Error(De(72));return t}var on={...I,disabled:O(e=>e.disabled),instantType:O(e=>e.instantType),isInstantPhase:O(e=>e.isInstantPhase),trackCursorAxis:O(e=>e.trackCursorAxis),disableHoverablePopup:O(e=>e.disableHoverablePopup),lastOpenChangeReason:O(e=>e.openChangeReason),closeOnClick:O(e=>e.closeOnClick),closeDelay:O(e=>e.closeDelay),hasViewport:O(e=>e.hasViewport)},sn=class e extends we{constructor(e,t,n=!1){let i=new Se,a={...cn(),...e};a.floatingRootContext=r(i,t,n),super(a,{popupRef:U.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:i},on)}setOpen=(e,t)=>{let n=t.reason,r=n===L,i=e&&n===`trigger-focus`,a=!e&&(n===`trigger-press`||n===`escape-key`);if(t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let o=()=>{let r={open:e,openChangeReason:n};i?r.instantType=`focus`:a?r.instantType=`dismiss`:n===`trigger-hover`&&(r.instantType=void 0),_e(r,e,t.trigger),this.update(r)};r?ze.flushSync(o):o()};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,R(Ce,e))}static useStore(t,n){return N(t,(t,r)=>new e(n,t,r)).store}};function cn(){return{...g(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,hasViewport:!1}}var ln=pe(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:i=!1,trackCursorAxis:o=`none`,actionsRef:c,onOpenChange:l,onOpenChangeComplete:u,handle:d,triggerId:p,defaultTriggerId:m=null,children:h}=e,g=sn.useStore(d?.store,{open:n,openProp:r,activeTriggerId:m,triggerIdProp:p});te(()=>{r===void 0&&g.state.open===!1&&n===!0&&g.update({open:!0,activeTriggerId:m})}),g.useControlledProp(`openProp`,r),g.useControlledProp(`triggerIdProp`,p),g.useContextCallback(`onOpenChange`,l),g.useContextCallback(`onOpenChangeComplete`,u);let _=g.useState(`open`),v=!t&&_,y=g.useState(`activeTriggerId`),b=g.useState(`mounted`),x=g.useState(`payload`);g.useSyncedValues({trackCursorAxis:o,disableHoverablePopup:i}),g.useSyncedValue(`disabled`,t),B(g);let{forceUnmount:S,transitionStatus:C}=A(v,g),w=g.useState(`isInstantPhase`),T=g.useState(`instantType`),E=g.useState(`lastOpenChangeReason`),D=U.useRef(null);s(()=>{_&&t&&g.setOpen(!1,R(f))},[_,t,g]),s(()=>{C===`ending`&&E===`none`||C!==`ending`&&w?(T!==`delay`&&(D.current=T),g.set(`instantType`,`delay`)):D.current!==null&&(g.set(`instantType`,D.current),D.current=null)},[C,w,E,T,g]),s(()=>{v&&(y??g.set(`payload`,void 0))},[g,y,v]);let O=U.useCallback(()=>{g.setOpen(!1,R(a))},[g]);U.useImperativeHandle(c,()=>({unmount:S,close:O}),[S,O]);let k=v||b||!t&&o!==`none`;return(0,W.jsxs)(rn.Provider,{value:g,children:[k&&(0,W.jsx)(un,{store:g,disabled:t,trackCursorAxis:o}),typeof h==`function`?h({payload:x}):h]})});function un({store:e,disabled:t,trackCursorAxis:n}){let r=e.useState(`floatingRootContext`),i=ke(r,{enabled:!t,referencePress:()=>e.select(`closeOnClick`)}),a=Le(r,{enabled:!t&&n!==`none`,axis:n===`none`?void 0:n}),o=U.useMemo(()=>P(a.reference,i.reference),[a.reference,i.reference]),s=U.useMemo(()=>P(a.trigger,i.trigger),[a.trigger,i.trigger]),c=U.useMemo(()=>P(ue,a.floating,i.floating),[a.floating,i.floating]);return fe(e,{activeTriggerProps:o,inactiveTriggerProps:s,popupProps:c}),null}var dn=U.createContext(void 0);function fn(){return U.useContext(dn)}var pn=function(e){return e[e.popupOpen=V.popupOpen]=`popupOpen`,e.triggerDisabled=`data-trigger-disabled`,e}({}),mn=`data-base-ui-tooltip-trigger`;function hn(e){if(`composedPath`in e){let t=e.composedPath();for(let e=0;e<t.length;e+=1){let n=t[e];if(H(n))return n}}let t=e.target;return H(t)?t:null}function gn(e){let t=e;for(;t;){if(t.hasAttribute(mn))return t;let e=t.parentElement;if(e){t=e;continue}let n=t.getRootNode();t=`host`in n&&H(n.host)?n.host:null}return null}var _n=se(function(e,t){let{render:n,className:r,style:i,handle:a,payload:o,disabled:s,delay:c,closeOnClick:l=!0,closeDelay:d,id:f,...p}=e,m=an(!0),h=a?.store??m;if(!h)throw Error(De(82));let g=D(f),_=h.useState(`isTriggerActive`,g),v=h.useState(`isOpenedByTrigger`,g),y=h.useState(`floatingRootContext`),b=U.useRef(null),S=c??600,C=d??0,{registerTrigger:E,isMountedByThisTrigger:O}=ie(g,b,h,{payload:o,closeOnClick:l,closeDelay:C}),k=fn(),{delayRef:A,isInstantPhase:j,hasProvider:M}=Pe(y,{open:v}),N=T(y);h.useSyncedValue(`isInstantPhase`,j);let P=h.useState(`disabled`),I=s??P,ee=u(I),te=h.useState(`trackCursorAxis`),z=h.useState(`disableHoverablePopup`),B=U.useRef(!1),V=de(),H=U.useRef(void 0);function ne(){let e=k?.delay,t=typeof A.current==`object`?A.current.open:void 0,n=S;return M&&(n=t===0?0:c??e??S),n}function re(e){let t=b.current;if(!t||!e)return!1;let n=gn(e);return n!==null&&n!==t&&F(t,n)}function ae(e){let t=re(e);return B.current=t,t&&(N.openChangeTimeout.clear(),N.restTimeout.clear(),N.restTimeoutPending=!1,V.clear()),t}let oe=he(y,{enabled:!I,mouseOnly:!0,move:!1,handleClose:!z&&te!==`both`?x():null,restMs:ne,delay(){let e=typeof A.current==`object`?A.current.close:void 0,t=C;return d==null&&M&&(t=e),{close:t}},triggerElementRef:b,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`,shouldOpen(){return!B.current}}),se=w(y,{enabled:!I}).reference,ce=e=>{let t=B.current,n=hn(e),r=ae(n),i=b.current,a=i&&n&&F(i,n);if(r&&h.select(`open`)&&h.select(`lastOpenChangeReason`)===`trigger-hover`){h.setOpen(!1,R(L,e));return}if(t&&!r&&a&&!ee.current&&!h.select(`open`)&&i&&le(H.current)){let t=()=>{!B.current&&!ee.current&&!h.select(`open`)&&h.setOpen(!0,R(L,e,i))},n=ne();n===0?(V.clear(),t()):V.start(n,t)}},ue=h.useState(`triggerProps`,O);return Te(`button`,e,{state:{open:v},ref:[t,E,b],props:[oe,se,O||te!==`none`?ue:void 0,{onMouseOver(e){ce(e.nativeEvent)},onFocus(e){re(hn(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){B.current=!1,V.clear(),H.current=void 0},onPointerEnter(e){H.current=e.pointerType},onPointerDown(e){H.current=e.pointerType,h.set(`closeOnClick`,l),l&&!h.select(`open`)&&h.cancelPendingOpen(e.nativeEvent)},onClick(e){l&&!h.select(`open`)&&h.cancelPendingOpen(e.nativeEvent)},id:g,[pn.triggerDisabled]:I?``:void 0,[mn]:I?void 0:``},p],stateAttributesMapping:ye})}),vn=U.createContext(void 0);function yn(){let e=U.useContext(vn);if(e===void 0)throw Error(De(70));return e}var bn=U.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return an().useState(`mounted`)||n?(0,W.jsx)(vn.Provider,{value:n,children:(0,W.jsx)($e,{ref:t,...r})}):null}),xn=U.createContext(void 0);function Sn(){let e=U.useContext(xn);if(e===void 0)throw Error(De(71));return e}var Cn=U.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:s=`top`,align:c=`center`,sideOffset:l=0,alignOffset:u=0,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f=5,arrowPadding:p=5,sticky:h=!1,disableAnchorTracking:g=!1,collisionAvoidance:v=m,style:y,...b}=e,x=an(),S=yn(),C=x.useState(`open`),w=x.useState(`mounted`),T=x.useState(`trackCursorAxis`),E=x.useState(`disableHoverablePopup`),D=x.useState(`floatingRootContext`),O=x.useState(`instantType`),k=x.useState(`transitionStatus`),A=x.useState(`hasViewport`),j=_({anchor:i,positionMethod:a,floatingRootContext:D,mounted:w,side:s,sideOffset:l,align:c,alignOffset:u,collisionBoundary:d,collisionPadding:f,sticky:h,arrowPadding:p,disableAnchorTracking:g,keepMounted:S,collisionAvoidance:v,adaptiveOrigin:A?o:void 0}),M=U.useMemo(()=>({open:C,side:j.side,align:j.align,anchorHidden:j.anchorHidden,instant:T===`none`?O:`tracking-cursor`}),[C,j.side,j.align,j.anchorHidden,T,O]),N=Ae(e,M,{styles:j.positionerStyles,transitionStatus:k,props:b,refs:[t,x.useStateSetter(`positionerElement`)],hidden:!w,inert:!C||T===`both`||E});return(0,W.jsx)(xn.Provider,{value:j,children:N})}),wn={...j,...ae},Tn=U.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=an(),{side:s,align:c}=Sn(),u=o.useState(`open`),f=o.useState(`instantType`),p=o.useState(`transitionStatus`),m=o.useState(`popupProps`),h=o.useState(`floatingRootContext`),g=o.useState(`disabled`),_=o.useState(`closeDelay`);ve({open:u,ref:o.context.popupRef,onComplete(){u&&o.context.onOpenChangeComplete?.(!0)}}),d(h,{enabled:!g,closeDelay:_});let v=o.useStateSetter(`popupElement`);return Te(`div`,e,{state:{open:u,side:s,align:c,instant:f,transitionStatus:p},ref:[t,o.context.popupRef,v],props:[m,l(p),a],stateAttributesMapping:wn})}),En=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,i=U.useMemo(()=>({delay:t,closeDelay:n}),[t,n]),a=U.useMemo(()=>({open:t,close:n}),[t,n]);return(0,W.jsx)(dn.Provider,{value:i,children:(0,W.jsx)(Ne,{delay:a,timeoutMs:r,children:e.children})})},Dn=function(e){return e.popupWidth=`--popup-width`,e.popupHeight=`--popup-height`,e}({}),On={activationDirection:e=>e?{"data-activation-direction":e}:null},kn=U.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,s=an(),c=Sn(),l=s.useState(`instantType`),{children:u,state:d}=qe({store:s,side:c.side,cssVars:Dn,children:a}),f={activationDirection:d.activationDirection,transitioning:d.transitioning,instant:l};return Te(`div`,e,{state:f,ref:t,props:[o,{children:u}],stateAttributesMapping:On})}),An=`wco`,jn=`electron`,Mn=`electron-windows`,Nn=52;function Pn(){return typeof navigator>`u`?null:navigator.windowControlsOverlay??null}function Fn(){if(typeof document>`u`)return()=>{};let e=Pn(),t=()=>{document.documentElement.classList.toggle(An,e!==null&&e.visible)};return t(),e?(e.addEventListener(`geometrychange`,t),()=>{e.removeEventListener(`geometrychange`,t)}):()=>{}}function In(e){let t=Pn();return t?.addEventListener(`geometrychange`,e),()=>t?.removeEventListener(`geometrychange`,e)}function Ln(){if(je&&Ee(navigator.platform))return Nn;let e=Pn();return e?.visible?e.getTitlebarAreaRect().bottom:0}function Rn(){return(0,U.useSyncExternalStore)(In,Ln,zn)}function zn(){return 0}function Bn(e){return ge(e)?[jn,Mn]:[jn]}function Vn(e){if(typeof document>`u`)return()=>{};let t=Bn(e);return document.documentElement.classList.add(...t),()=>{document.documentElement.classList.remove(...t)}}var Hn=5,Un=En,Wn=(0,U.createContext)(null),Gn=(0,U.createContext)(null);function Kn(e){let t=(0,Re.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({onScrollCapture:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=(0,U.useRef)(null),a;t[3]===n?a=t[4]:(a=e=>{n?.(e);let t=i.current;t&&!t.trigger.contains(t.trigger.ownerDocument.activeElement)&&(i.current=null,t.actionsRef.current?.close())},t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,W.jsx)(Gn,{value:i,children:(0,W.jsx)(`div`,{...r,onScrollCapture:a})}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function qn(e){let t=(0,U.use)(Gn),n=(0,U.useRef)(null),r=e.actionsRef??n;return(0,U.useEffect)(()=>()=>{t?.current?.actionsRef===r&&(t.current=null)},[r,t]),t?(0,W.jsx)(Wn,{value:r,children:(0,W.jsx)(ln,{...e,actionsRef:r,onOpenChange:(n,i)=>{e.onOpenChange?.(n,i),!n&&!i.isCanceled&&t.current?.actionsRef===r&&(t.current=null)}})}):(0,W.jsx)(ln,{...e})}function Jn(e){let t=(0,U.use)(Gn),n=(0,U.use)(Wn);return!t||!n?(0,W.jsx)(_n,{"data-slot":`tooltip-trigger`,...e}):(0,W.jsx)(_n,{"data-slot":`tooltip-trigger`,...e,onMouseEnter:r=>{e.onMouseEnter?.(r),t.current={trigger:r.currentTarget,actionsRef:n}}})}function Yn(e){let t=(0,Re.c)(5),n=Hn+Rn(),r;t[0]===n?r=t[1]:(r={top:n,right:Hn,bottom:Hn,left:Hn},t[0]=n,t[1]=r);let i;return t[2]!==e||t[3]!==r?(i=(0,W.jsx)(Cn,{className:`pointer-events-none z-[140] h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom,transform] data-instant:transition-none`,collisionPadding:r,"data-slot":`tooltip-positioner`,...e}),t[2]=e,t[3]=r,t[4]=i):i=t[4],i}function Xn(e){let t=(0,Re.c)(25),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({className:i,align:o,sideOffset:s,side:c,variant:l,anchor:n,children:r,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=o===void 0?`center`:o,d=s===void 0?4:s,f=c===void 0?`top`:c,p=l===void 0?`default`:l,m=p===`glass`?`dropdown-glass shadow-xl shadow-black/25 before:hidden`:p===`inverse`?`rounded-xl border border-foreground bg-foreground text-background shadow-md/10 before:hidden`:`border bg-popover not-dark:bg-clip-padding shadow-md/5`,h=p===`code`?`max-w-120 wrap-anywhere text-left font-mono text-[11px] leading-relaxed`:`max-w-80 wrap-anywhere whitespace-normal leading-snug`,g;t[9]!==i||t[10]!==m||t[11]!==h?(g=be(`relative flex h-(--popup-height,auto) w-(--popup-width,auto) origin-(--transform-origin) text-balance rounded-md text-popover-foreground text-xs transition-[width,height,scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0 data-instant:duration-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]`,m,h,i),t[9]=i,t[10]=m,t[11]=h,t[12]=g):g=t[12];let _;t[13]===r?_=t[14]:(_=(0,W.jsx)(kn,{className:`relative size-full overflow-clip px-(--viewport-inline-padding) py-1 [--viewport-inline-padding:--spacing(2)] data-instant:transition-none **:data-current:data-ending-style:opacity-0 **:data-current:data-starting-style:opacity-0 **:data-previous:data-ending-style:opacity-0 **:data-previous:data-starting-style:opacity-0 **:data-current:w-[calc(var(--popup-width)-2*var(--viewport-inline-padding)-2px)] **:data-previous:w-[calc(var(--popup-width)-2*var(--viewport-inline-padding)-2px)] **:data-previous:truncate **:data-current:opacity-100 **:data-previous:opacity-100 **:data-current:transition-opacity **:data-previous:transition-opacity`,"data-slot":`tooltip-viewport`,children:r}),t[13]=r,t[14]=_);let v;t[15]!==a||t[16]!==g||t[17]!==_?(v=(0,W.jsx)(Tn,{className:g,"data-slot":`tooltip-popup`,...a,children:_}),t[15]=a,t[16]=g,t[17]=_,t[18]=v):v=t[18];let y;return t[19]!==u||t[20]!==n||t[21]!==f||t[22]!==d||t[23]!==v?(y=(0,W.jsx)(bn,{children:(0,W.jsx)(Yn,{align:u,anchor:n,side:f,sideOffset:d,children:v})}),t[19]=u,t[20]=n,t[21]=f,t[22]=d,t[23]=v,t[24]=y):y=t[24],y}export{Jn as a,nn as c,qe as d,Be as f,Kn as i,$e as l,Xn as n,Vn as o,Un as r,Fn as s,qn as t,Qe as u};
2
- //# sourceMappingURL=tooltip-Ciaezkl4.js.map
@@ -1,2 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{r as t}from"./Icon-l19w4AjM.js";import{a as n}from"./useParams-s9hrFQQQ.js";var r=e(t(),1);function i(e){let t=n();return r.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}export{i as t};
2
- //# sourceMappingURL=useNavigate-CnhAAl0Z.js.map
@@ -1,3 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{r as t}from"./Icon-l19w4AjM.js";import{E as n,Lo as r,Ls as i,Oc as a,Pf as o,Sf as s,Sx as c,Vo as l,Wb as u,ds as d,kf as f,ms as p,os as m,zv as h}from"./utils-geC9CGP4.js";import{M as g,U as _,j as v}from"./runtime-BoEmkhOe.js";import{a as y,i as b}from"./vcsRefInvalidation-DMpp-BNA.js";import{C as ee}from"./entities-yblphBg3.js";import{t as te}from"./runtime-BUB2ex14.js";import{i as x}from"./toast-CIGvRti2.js";import{O as S,f as C,s as w}from"./useSettings-CNd8OM7A.js";import{i as T,n as E}from"./session-CyPECDtf.js";import{n as D}from"./query-DG-FU00d.js";import{t as O}from"./use-atom-command-Bc7LgQy1.js";import{d as k,l as A,u as j}from"./queries-DbiotSzd.js";import{t as M}from"./sourceControl-DfhPxa0l.js";import{C as N,r as P}from"./pullRequests-C0Gr2876.js";import{L as F,v as ne,y as re}from"./pullRequestDetail.logic-CiIqeGLs.js";import{n as ie}from"./useHandleNewThread-Csguf2GC.js";import{c as ae,f as I,i as L,s as R}from"./p4ProjectFile-DVeZFEli.js";import{t as z}from"./sidebarProjectGrouping-DEvzxecx.js";var B=e(t(),1),V=c();function H(e){return{pullRequestResolution:g(e,{label:`environment-data:git:resolve-pull-request`,tag:a.gitResolvePullRequest}),preparePullRequestThread:v(e,{label:`environment-data:git:prepare-pull-request-thread`,tag:a.gitPreparePullRequestThread,scheduler:y,concurrency:b})}}var U=H(te),W={init:`init`,pull:`pull`,publishRepository:`publish_repository`,runStackedAction:`run_change_request`,preparePullRequestThread:`prepare_pull_request_thread`};function G(e){let t=T(e.scope.environmentId,f),n=W[e.kind],i=l(A.stateAtom(e.scope)),a=i.operation===n,s=(0,B.useCallback)(()=>{A.resetError(r,e.scope,n)},[e.scope,n]),c=(0,B.useCallback)(async(...t)=>{if(e.scope.environmentId===null||!E(e.scope.environmentId,`source-control:write`))return m(h(new o({requiredScope:f,message:`This connection cannot change source control.`})));let i=async()=>{let n=await e.action(...t);return d(n)&&e.onSuccess?.(),n};return e.managedExternally===!0?i():A.track(r,e.scope,{operation:n,label:e.label},i)},[e.action,e.label,e.managedExternally,e.onSuccess,e.scope,n]);return{isAllowed:t,error:a?i.error:null,isPending:a&&i.isRunning,resetError:s,run:c}}function K(e){return e.environmentId===null||e.cwd===null?null:{environmentId:e.environmentId,cwd:e.cwd}}function q(e,t){let n=(0,V.c)(6),r;n[0]===e?r=n[1]:(r=A.stateAtom(e),n[0]=e,n[1]=r);let i=l(r),a;return n[2]!==t||n[3]!==i.isRunning||n[4]!==i.operation?(a=i.isRunning&&i.operation!==null&&t.some(e=>W[e]===i.operation),n[2]=t,n[3]=i.isRunning,n[4]=i.operation,n[5]=a):a=n[5],a}function J(e){let t=(0,V.c)(7),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={reportFailure:!1},t[0]=n):n=t[0];let r=O(j.init,n),i;t[1]!==r||t[2]!==e?(i=async()=>{let t=K(e);return t===null?m(h(new k({operation:`init`,environmentId:e.environmentId,cwd:e.cwd}))):r({environmentId:t.environmentId,input:{cwd:t.cwd}})},t[1]=r,t[2]=e,t[3]=i):i=t[3];let a=i,o;return t[4]!==a||t[5]!==e?(o={kind:`init`,label:`Initializing repository`,scope:e,action:a},t[4]=a,t[5]=e,t[6]=o):o=t[6],G(o)}function oe(e){let t=(0,V.c)(11),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={reportFailure:!1},t[0]=n):n=t[0];let r=O(j.pull,n),i;t[1]!==e.cwd||t[2]!==e.environmentId?(i=e.environmentId!==null&&e.cwd!==null?j.status({environmentId:e.environmentId,input:{cwd:e.cwd}}):null,t[1]=e.cwd,t[2]=e.environmentId,t[3]=i):i=t[3];let a=D(i),o;t[4]!==r||t[5]!==e?(o=async()=>{let t=K(e);return t===null?m(h(new k({operation:`pull`,environmentId:e.environmentId,cwd:e.cwd}))):r({environmentId:t.environmentId,input:{cwd:t.cwd}})},t[4]=r,t[5]=e,t[6]=o):o=t[6];let s=o,c;return t[7]!==s||t[8]!==e||t[9]!==a.refresh?(c={kind:`pull`,label:`Pulling latest changes...`,scope:e,action:s,onSuccess:a.refresh},t[7]=s,t[8]=e,t[9]=a.refresh,t[10]=c):c=t[10],G(c)}function se(e){let t=(0,V.c)(13),n;t[0]===e?n=t[1]:(n=A.runStackedAction(e),t[0]=e,t[1]=n);let r;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(r={reportFailure:!1},t[2]=r):r=t[2];let i=O(n,r),a;t[3]!==e.cwd||t[4]!==e.environmentId?(a=e.environmentId!==null&&e.cwd!==null?j.status({environmentId:e.environmentId,input:{cwd:e.cwd}}):null,t[3]=e.cwd,t[4]=e.environmentId,t[5]=a):a=t[5];let o=D(a),s;t[6]!==i||t[7]!==e?(s=async t=>K(e)===null?m(h(new k({operation:`run_change_request`,environmentId:e.environmentId,cwd:e.cwd}))):i(t),t[6]=i,t[7]=e,t[8]=s):s=t[8];let c=s,l;return t[9]!==c||t[10]!==e||t[11]!==o.refresh?(l={kind:`runStackedAction`,label:`Running source control action`,scope:e,action:c,onSuccess:o.refresh,managedExternally:!0},t[9]=c,t[10]=e,t[11]=o.refresh,t[12]=l):l=t[12],G(l)}function ce(e){let t=(0,V.c)(11),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={reportFailure:!1},t[0]=n):n=t[0];let r=O(M.publishRepository,n),i;t[1]!==e.cwd||t[2]!==e.environmentId?(i=e.environmentId!==null&&e.cwd!==null?j.status({environmentId:e.environmentId,input:{cwd:e.cwd}}):null,t[1]=e.cwd,t[2]=e.environmentId,t[3]=i):i=t[3];let a=D(i),o;t[4]!==r||t[5]!==e?(o=async t=>{let n=K(e);return n===null?m(h(new k({operation:`publish_repository`,environmentId:e.environmentId,cwd:e.cwd}))):r({environmentId:n.environmentId,input:{cwd:n.cwd,...t}})},t[4]=r,t[5]=e,t[6]=o):o=t[6];let s=o,c;return t[7]!==s||t[8]!==e||t[9]!==a.refresh?(c={kind:`publishRepository`,label:`Publishing repository`,scope:e,action:s,onSuccess:a.refresh},t[7]=s,t[8]=e,t[9]=a.refresh,t[10]=c):c=t[10],G(c)}function Y(e){let t=(0,V.c)(7),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={reportFailure:!1},t[0]=n):n=t[0];let r=O(U.preparePullRequestThread,n),i;t[1]!==r||t[2]!==e?(i=async t=>{let n=K(e);return n===null?m(h(new k({operation:`prepare_pull_request_thread`,environmentId:e.environmentId,cwd:e.cwd}))):t.mode===`worktree`&&t.threadId!==void 0&&!E(n.environmentId,`orchestration:operate`)?m(h(new o({requiredScope:s,message:`This connection cannot change threads.`}))):r({environmentId:n.environmentId,input:{cwd:n.cwd,reference:t.reference,mode:t.mode,...t.threadId?{threadId:t.threadId}:{}}})},t[1]=r,t[2]=e,t[3]=i):i=t[3];let a=i,c;return t[4]!==a||t[5]!==e?(c={kind:`preparePullRequestThread`,label:`Preparing pull request thread`,scope:e,action:a},t[4]=a,t[5]=e,t[6]=c):c=t[6],G(c)}function X(e){return e.environmentId===null||e.cwd===null||e.reference===null?null:u(p(r.get(U.pullRequestResolution({environmentId:e.environmentId,input:{cwd:e.cwd,reference:e.reference}}))))}function le(e){let t=(0,V.c)(12),n;t[0]!==e.cwd||t[1]!==e.environmentId||t[2]!==e.reference?(n=e.environmentId!==null&&e.cwd!==null&&e.reference!==null?U.pullRequestResolution({environmentId:e.environmentId,input:{cwd:e.cwd,reference:e.reference}}):null,t[0]=e.cwd,t[1]=e.environmentId,t[2]=e.reference,t[3]=n):n=t[3];let r=D(n),i;t[4]===e?i=t[5]:(i=X(e),t[4]=e,t[5]=i);let a=i,o=r.data??a,s=r.isPending&&a===null,c;return t[6]!==r.error||t[7]!==r.isPending||t[8]!==r.refresh||t[9]!==o||t[10]!==s?(c={data:o,error:r.error,isPending:s,isFetching:r.isPending,refresh:r.refresh},t[6]=r.error,t[7]=r.isPending,t[8]=r.refresh,t[9]=o,t[10]=s,t[11]=c):c=t[11],c}function ue(e,t){let n=(0,V.c)(10),r;n[0]===t?r=n[1]:(r=e=>L(e,t).settings.pullRequestMergeMethod,n[0]=t,n[1]=r);let i=C(e,r),a=w(de),o=w(I),s=ee(),c=S(),l;return n[2]!==e||n[3]!==o||n[4]!==a||n[5]!==c||n[6]!==i||n[7]!==t||n[8]!==s?(l=()=>{if(i!=null)return i;if(Object.keys(a).length===0)return;let n=s.find(n=>n.environmentId===e&&n.id===t);if(!n)return;let r=z({projects:s,settings:o,primaryEnvironmentId:c}).get(ae(n))??R(n,o);return a[r]},n[2]=e,n[3]=o,n[4]=a,n[5]=c,n[6]=i,n[7]=t,n[8]=s,n[9]=l):l=n[9],l}function de(e){return e.pullRequestMergeMethodOverrides}var fe={merge:`Merge requested`,ready:`Marked ready for review`,draft:`Converted to draft`,close:`Pull request closed`,reopen:`Pull request reopened`,"update-branch":`Branch updated with the base branch`,"enable-auto-merge":`Auto-merge enabled`,"disable-auto-merge":`Auto-merge disabled`,revert:`Revert pull request opened`,"approve-workflows":`Workflows approved`},pe={merge:`Could not merge this pull request`,ready:`Could not mark this ready for review`,draft:`Could not convert this to a draft`,close:`Could not close this pull request`,reopen:`Could not reopen this pull request`,"update-branch":`Could not update this branch`,"enable-auto-merge":`Could not enable auto-merge`,"disable-auto-merge":`Could not disable auto-merge`,revert:`Could not open a revert pull request`,"approve-workflows":`Could not approve workflows`},Z={merge:`The host refused the merge. Check that you have write access, that the checks it requires have passed, and that the branch is not conflicting.`,ready:`The host refused it. Check that you have write access to this repository.`,draft:`The host refused it. Check that you have write access to this repository.`,close:`The host refused it. Check that you have write access, or that you opened it.`,reopen:`The host refused it. Check that you have write access, and that the branch still exists.`,"update-branch":`The host refused it. Check that you have write access, and that the base branch has not diverged in a way the host cannot merge.`,"enable-auto-merge":`The host refused it. Check that auto-merge is enabled for this repository and that you have write access.`,"disable-auto-merge":`The host refused it. Check that you have write access to this repository.`,revert:`The host refused it. Check that you have write access and that this pull request was merged on the host.`,"approve-workflows":`The host refused it. Check that you have Actions write access and that these workflow runs are still awaiting approval.`};function me({environmentId:e,reference:t,onSuccess:n,resolveMergeMethod:r}){let i=O(P.runAction,{reportFailure:!1}),[a,o]=(0,B.useState)(!1),s=(0,B.useRef)(!1);return{actionPending:a,perform:async(a,c)=>{if(!(s.current||t===null)){s.current=!0,o(!0);try{let o=await i({environmentId:e,input:{...t,action:a,...c?{mergeMethod:c}:r?{resolveMergeMethod:r}:{}}});if(o._tag===`Failure`)throw _(o);x.add({type:`success`,title:fe[a]}),n?.(a)}catch(e){x.add({type:`error`,title:pe[a],description:F(e,Z[a])})}finally{s.current=!1,o(!1)}}}}}function Q(e){let t=O(P.runAction,{reportFailure:!1}),n=(0,B.useRef)(new Set),[r,i]=(0,B.useState)(()=>new Set);return{close:(0,B.useCallback)(async r=>{let a=r.filter(e=>{let t=N(e);return e.state!==`open`||n.current.has(t)?!1:(n.current.add(t),!0)});if(a.length===0)return;i(new Set(n.current));let o=0,s=[];await Promise.all(a.map(async r=>{try{let n=await t({environmentId:r.environmentId,input:{projectId:r.projectId,host:r.host,repository:r.repository,number:r.number,action:`close`}});if(n._tag===`Failure`)throw _(n);o++,e(r)}catch(e){s.push(`#${r.number}: ${F(e,Z.close)}`)}finally{n.current.delete(N(r)),i(new Set(n.current))}})),x.add({type:s.length>0?`error`:`success`,title:s.length>0?`Closed ${o} of ${a.length} pull requests`:`Closed ${o} pull request${o===1?``:`s`}`,...s.length>0?{description:s.slice(0,3).join(`
2
- `)}:{}})},[e,t]),closingKeys:r}}var $=new Map;function he(e){let t=(0,V.c)(21),{environmentId:r,detail:a}=e,o=ie(),s=a?.workspaceRoot??null,c;t[0]!==r||t[1]!==s?(c={environmentId:r,cwd:s},t[0]=r,t[1]=s,t[2]=c):c=t[2];let l=Y(c),[u,d]=(0,B.useState)(null),f;t[3]===o?f=t[4]:(f=async(e,t,r)=>{let i=r??await o(e).then(xe,be);if(i===null)return null;let a=n.getState();if(t===null)return i;let s=a.getComposerDraft(i.draftId),c=s?.reviewComments??[],l=ne({prompt:s?.prompt??``,lastHandoffPrompt:$.get(i.draftId)},t.prompt);return $.set(i.draftId,t.prompt),a.setPrompt(i.draftId,l),a.setReviewComments(i.draftId,re(c,t.reviewComments??[])),i},t[3]=o,t[4]=f);let p=f,m;t[5]!==a||t[6]!==r||t[7]!==u||t[8]!==p?(m=async(e,t)=>{if(!a||u!==null)return;d(e);let n=i(r,a.projectId),o=await p(n,t);if(d(null),o===null){x.add({type:`error`,title:`Could not open a thread`,description:`Try again from the project, or open a thread first.`});return}x.add({type:`success`,title:`Asked in a thread`,description:t.prompt.length>0?`The question is in the composer — read it over, then send.`:`The pull request is in the composer — type your question, then send.`})},t[5]=a,t[6]=r,t[7]=u,t[8]=p,t[9]=m):m=t[9];let h=m,g;t[10]!==a||t[11]!==r||t[12]!==u||t[13]!==o||t[14]!==p||t[15]!==l?(g=async(e,t,n)=>{let s=n===void 0?`worktree`:n;if(!a||u!==null)return;d(e);let c=x.add({type:`loading`,title:`Preparing the pull request checkout...`}),f=i(r,a.projectId),m=await o(f).then(ye,ve);if(m===null){d(null),x.update(c,{type:`error`,title:`Could not open a thread for the checkout`,description:`Try again from the project, or open a thread first.`});return}let h=await l.run({reference:a.url,mode:s,threadId:m.threadId});if(h._tag===`Failure`){d(null);let e=l.error instanceof Error?l.error.message:null;x.update(c,{type:`error`,title:`Could not prepare the pull request checkout`,...e?{description:e}:{}});return}if(!await o(f,{branch:h.value.branch,worktreePath:h.value.worktreePath,envMode:h.value.worktreePath===null?`local`:`worktree`}).then(_e,ge)){d(null),x.update(c,{type:`error`,title:`Checked out, but the thread stayed where it was`,description:`The checkout is ready on \`${h.value.branch}\`. Point a thread at it from the branch picker, then ask again.`});return}d(null);let g={type:`warning`,title:`Checked out, but not on the latest commits`,description:`The checkout could not be moved onto the pull request's latest commits, so the code there is older than the pull request. Uncommitted work or local commits keep it where it is.`};if(t===null){x.update(c,h.value.isOnPullRequestHead?{type:`success`,title:s===`local`?`Checked out here`:`Checked out`,description:s===`local`?`This repository is on the pull request's branch, with a thread open on it.`:`The pull request is in its own worktree, with a thread open on it.`}:g);return}await p(f,t,m),x.update(c,h.value.isOnPullRequestHead?{type:`success`,title:`Checkout ready`,description:`The task is in the composer — read it over, then send.`}:g)},t[10]=a,t[11]=r,t[12]=u,t[13]=o,t[14]=p,t[15]=l,t[16]=g):g=t[16];let _=g,v;return t[17]!==u||t[18]!==h||t[19]!==_?(v={handoff:u,startAsk:h,startHandoff:_},t[17]=u,t[18]=h,t[19]=_,t[20]=v):v=t[20],v}function ge(){return!1}function _e(e){return e!==null}function ve(){return null}function ye(e){return e}function be(){return null}function xe(e){return e}export{X as a,le as c,J as d,oe as f,he as i,q as l,Q as n,se as o,ue as r,Y as s,me as t,ce as u};
3
- //# sourceMappingURL=usePullRequestActions-CiF7znkV.js.map
@@ -1,2 +0,0 @@
1
- import{Bt as e,Mt as t,Sx as n,Vt as r}from"./utils-geC9CGP4.js";import{E as i,i as a}from"./useSettings-CNd8OM7A.js";import{z as o}from"./settingsLayout-De_r3pyr.js";var s=n();function c(n,c){let l=(0,s.c)(5),{targets:u}=o(),{environments:d}=i(),f;return l[0]!==c||l[1]!==d||l[2]!==n||l[3]!==u?(f=(i,o)=>{let s=c.find(e=>e.instanceId===i);for(let c of u){let l=d.find(e=>e.environmentId===c.environmentId),u=l?.serverConfig;if(!u)continue;let f=e(r(u.providers),c.settings,c.projectId).find(e=>e.instanceId===i),p=t(a(c.settings,n),u.providers).get(i);if(!f?.enabled||!f.isAvailable||f.driverKind!==s?.driverKind||!p?.some(e=>e.slug===o&&!e.isUnavailable))return`This model is unavailable on ${l?.label??`a selected environment`}. Select that environment to choose its model separately.`}return null},l[0]=c,l[1]=d,l[2]=n,l[3]=u,l[4]=f):f=l[4],f}export{c as t};
2
- //# sourceMappingURL=useScopedModelAvailability-kFNRNx2C.js.map
@@ -1,3 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-Dd_uD5pT.js";import{r as t}from"./Icon-l19w4AjM.js";import{$m as n,$o as r,As as i,Cb as a,Cl as o,El as s,Fh as c,Gh as l,Go as u,Hh as d,Hl as f,Ho as p,If as ee,Im as te,Jb as ne,Jh as re,Lo as ie,Nl as ae,Of as oe,Ol as se,Ph as ce,Rl as le,Sl as ue,Sx as de,Tb as m,Ub as fe,Ul as pe,Uo as me,Vg as he,Vl as ge,Vm as _e,Vo as h,Wb as g,Wh as ve,Ym as ye,_h as be,_s as xe,al as Se,am as Ce,bl as we,cu as Te,dm as Ee,ds as De,f_ as Oe,fh as ke,gh as Ae,hs as je,ih as Me,kl as Ne,lm as Pe,m_ as Fe,ms as Ie,nl as Le,oh as Re,qh as ze,rl as Be,sm as Ve,uh as He,um as Ue,wh as We,wp as Ge,xb as _}from"./utils-geC9CGP4.js";import{F as Ke,L as qe,T as Je,U as Ye,gt as v,kt as Xe,w as Ze,xn as Qe}from"./runtime-BoEmkhOe.js";import{Ct as $e,T as et,t as tt,yt as nt}from"./runtime-BUB2ex14.js";import{i as y}from"./toast-CIGvRti2.js";import{f as b,h as x,m as rt,u as it}from"./server-DNo9AqHW.js";import{i as at,n as ot,s as st,t as ct}from"./session-CyPECDtf.js";import{t as lt}from"./use-atom-command-Bc7LgQy1.js";import{B as ut,C as dt,F as ft,N as pt,P as mt,V as ht,b as gt,c as _t,i as S,k as vt,l as yt,n as C,o as bt,r as xt,v as St,w as Ct,x as wt}from"./themePalette-au2ZXbqB.js";var w=e(t(),1),T=de();function Tt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e)if(t.get(n)!==r)return!1;return!0}function Et(e){let t=me(t=>u(n=>{let r=n(e.catalogValueAtom).entries.get(t);if(r===void 0)return null;let i=fe(Ie(n(e.stateAtom(t))),()=>Qe);return{entry:r,connection:r.unsupportedReason===void 0?$e(i):{phase:`unsupported`,error:r.unsupportedReason,traceId:null},serverConfig:n(e.serverConfigValueAtom(t))}}).pipe(r(`environment-presentation:${t}`))),n=new Map;return{presentationAtom:t,presentationsAtom:u(r=>{let i=new Map;for(let n of r(e.catalogValueAtom).entries.keys()){let e=r(t(n));e!==null&&i.set(n,e)}return Tt(n,i)||(n=i),n}).pipe(r(`environment-presentations`))}}function Dt(e,t){return{environmentId:e,environmentLabel:t.entry.target.label,displayUrl:nt(t.entry)??``,isRelayManaged:Xe(t.entry),isEnabled:t.entry.enabled,connectionState:t.connection.phase,connectionError:t.connection.error,connectionErrorTraceId:t.connection.traceId}}function Ot(e){let t=u(t=>{let n=[...t(e.catalogValueAtom).entries.keys()],r=g(t.self());return r!==null&&r.length===n.length&&n.every((e,t)=>e===r[t])?r:n}),n=u(t=>{let n=[...t(e.catalogValueAtom).entries].map(([e,t])=>({environmentId:e,label:t.target.label})),r=g(t.self());return r!==null&&r.length===n.length&&n.every((e,t)=>e.environmentId===r[t]?.environmentId&&e.label===r[t]?.label)?r:n}),i=me(t=>u(n=>{let r=n(e.presentationAtom(t));if(r===null)return null;let i=Dt(t,r),a=g(n.self());return a!==null&&a.environmentId===i.environmentId&&a.environmentLabel===i.environmentLabel&&a.displayUrl===i.displayUrl&&a.isRelayManaged===i.isRelayManaged&&a.isEnabled===i.isEnabled&&a.connectionState===i.connectionState&&a.connectionError===i.connectionError&&a.connectionErrorTraceId===i.connectionErrorTraceId?a:i})),a=u(t=>{let n=[];for(let r of t(e.catalogValueAtom).entries.keys()){let e=t(i(r));e!==null&&n.push(e)}let r=g(t.self());return r!==null&&r.length===n.length&&n.every((e,t)=>e===r[t])?r:n}).pipe(r(`environment-connection-summaries`));return{environmentIdsAtom:t,connectedEnvironmentIdsAtom:u(e=>{let n=e(t).filter(t=>e(i(t))?.connectionState===`connected`),r=g(e.self());return r!==null&&r.length===n.length&&n.every((e,t)=>e===r[t])?r:n}),identitiesAtom:n,environmentsAtom:a,machineByIdAtom:u(n=>{let r=new Map(n(t).map(t=>[t,Se(n(e.presentationAtom(t))?.serverConfig??null)])),i=g(n.self());return i!==null&&Tt(i,r)?i:r}),pullRequestsSupportedAtom:u(n=>n(t).some(t=>n(e.presentationAtom(t))?.serverConfig?.environment.capabilities.pullRequests===!0))}}var E=Et({catalogValueAtom:x.catalogValueAtom,stateAtom:x.stateAtom,serverConfigValueAtom:b.configValueAtom}),kt=Ot({catalogValueAtom:x.catalogValueAtom,presentationAtom:E.presentationAtom}),At=u(null).pipe(r(`web-environment-presentation:empty`));function jt(e){let t=(0,T.c)(5),n=h(x.catalogValueAtom),r;t[0]===e?r=t[1]:(r=e===null?At:E.presentationAtom(e),t[0]=e,t[1]=r);let i=h(r),a;return t[2]!==n.isReady||t[3]!==i?(a={isReady:n.isReady,presentation:i},t[2]=n.isReady,t[3]=i,t[4]=a):a=t[4],a}var Mt={status:`idle`},D=Mt,O=null,k=[],A=0,Nt=new Set;function j(e){D=e;for(let e of Nt)e()}function Pt(e){O?.resolve(e);for(let t of k)t.resolve(e);O=null,k=[]}function Ft(){return D}function It(e){return Nt.add(e),()=>{Nt.delete(e)}}function Lt(){A+=1;let e=!0;return()=>{e&&(e=!1,A=Math.max(0,A-1),A===0&&(Pt(!1),j(Mt)))}}function Rt(e,t){if(A!==0)return new Promise(n=>{let r={message:e,variant:t?.variant??`default`,resolve:n};if(O||D.status===`closing`){k.push(r);return}O=r,j({status:`confirming`,message:e,variant:r.variant})})}function zt(){return D.status!==`idle`||O!==null||k.length>0}function Bt(e){if(D.status!==`confirming`||!O)return;let t=O;O=null,t.resolve(e),j({status:`closing`,message:D.message,variant:D.variant})}function Vt(){if(D.status!==`closing`)return;let e=k.shift();if(!e){j(Mt);return}O=e,j({status:`confirming`,message:e.message,variant:e.variant})}var Ht=`http://www.w3.org/2000/svg`,Ut={archive:[{tag:`rect`,attrs:{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`}},{tag:`path`,attrs:{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`}},{tag:`path`,attrs:{d:`M10 12h4`}}],check:[{tag:`path`,attrs:{d:`M20 6 9 17l-5-5`}}],timer:[{tag:`line`,attrs:{x1:`10`,x2:`14`,y1:`2`,y2:`2`}},{tag:`line`,attrs:{x1:`12`,x2:`15`,y1:`14`,y2:`11`}},{tag:`circle`,attrs:{cx:`12`,cy:`14`,r:`8`}}],"chevron-right":[{tag:`path`,attrs:{d:`m9 19 7-7-7-7`}}],"circle-check":[{tag:`circle`,attrs:{cx:`12`,cy:`12`,r:`10`}},{tag:`path`,attrs:{d:`m9 12 2 2 4-4`}}],clock:[{tag:`path`,attrs:{d:`M12 6v6l4 2`}},{tag:`circle`,attrs:{cx:`12`,cy:`12`,r:`10`}}],pencil:[{tag:`path`,attrs:{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}},{tag:`path`,attrs:{d:`m15 5 4 4`}}],copy:[{tag:`rect`,attrs:{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}},{tag:`path`,attrs:{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}}],folder:[{tag:`path`,attrs:{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`}}],"git-branch":[{tag:`line`,attrs:{x1:`6`,x2:`6`,y1:`3`,y2:`15`}},{tag:`circle`,attrs:{cx:`18`,cy:`6`,r:`3`}},{tag:`circle`,attrs:{cx:`6`,cy:`18`,r:`3`}},{tag:`path`,attrs:{d:`M18 9a9 9 0 0 1-9 9`}}],hash:[{tag:`line`,attrs:{x1:`4`,x2:`20`,y1:`9`,y2:`9`}},{tag:`line`,attrs:{x1:`4`,x2:`20`,y1:`15`,y2:`15`}},{tag:`line`,attrs:{x1:`10`,x2:`8`,y1:`3`,y2:`21`}},{tag:`line`,attrs:{x1:`16`,x2:`14`,y1:`3`,y2:`21`}}],"mail-open":[{tag:`path`,attrs:{d:`M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z`}},{tag:`path`,attrs:{d:`m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10`}}],"message-square-plus":[{tag:`path`,attrs:{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}},{tag:`path`,attrs:{d:`M12 8v6`}},{tag:`path`,attrs:{d:`M9 11h6`}}],pin:[{tag:`path`,attrs:{d:`M12 17v5`}},{tag:`path`,attrs:{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`}}],"pin-off":[{tag:`path`,attrs:{d:`M12 17v5`}},{tag:`path`,attrs:{d:`M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89`}},{tag:`path`,attrs:{d:`m2 2 20 20`}},{tag:`path`,attrs:{d:`M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11`}}],"refresh-cw":[{tag:`path`,attrs:{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`}},{tag:`path`,attrs:{d:`M21 3v5h-5`}},{tag:`path`,attrs:{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`}},{tag:`path`,attrs:{d:`M8 16H3v5`}}],settings:[{tag:`path`,attrs:{d:`M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.38a2 2 0 0 0-.73-2.73l-.15-.09a2 2 0 0 1-1-1.74v-.51a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z`}},{tag:`circle`,attrs:{cx:`12`,cy:`12`,r:`3`}}],"folder-tree":[{tag:`path`,attrs:{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}},{tag:`path`,attrs:{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}},{tag:`path`,attrs:{d:`M3 5a2 2 0 0 0 2 2h3`}},{tag:`path`,attrs:{d:`M3 3v13a2 2 0 0 0 2 2h3`}}],trash:[{tag:`path`,attrs:{d:`M3 6h18`}},{tag:`path`,attrs:{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`}},{tag:`path`,attrs:{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`}},{tag:`line`,attrs:{x1:`10`,x2:`10`,y1:`11`,y2:`17`}},{tag:`line`,attrs:{x1:`14`,x2:`14`,y1:`11`,y2:`17`}}]};function Wt(e,t){let n=Ut[e];if(!n||typeof document.createElementNS!=`function`)return null;let r=document.createElementNS(Ht,`svg`);r.setAttribute(`xmlns`,Ht),r.setAttribute(`viewBox`,`0 0 24 24`),r.setAttribute(`fill`,`none`),r.setAttribute(`stroke`,`currentColor`),r.setAttribute(`stroke-width`,`2`),r.setAttribute(`stroke-linecap`,`round`),r.setAttribute(`stroke-linejoin`,`round`),r.setAttribute(`class`,t===`destructive`?`size-4.5 shrink-0 sm:size-4`:`size-4.5 shrink-0 text-muted-foreground sm:size-4`);for(let e of n){let t=document.createElementNS(Ht,e.tag);for(let[n,r]of Object.entries(e.attrs))t.setAttribute(n,r);r.appendChild(t)}return r}function Gt(e,t,n){let r=e.getBoundingClientRect(),i=Math.min(Math.max(4,t),Math.max(4,window.innerWidth-r.width-4)),a=Math.min(Math.max(4,n),Math.max(4,window.innerHeight-r.height-4));e.style.left=`${i}px`,e.style.top=`${a}px`}function Kt(e,t){if(typeof Node<`u`&&e instanceof Node)return t.some(t=>t.contains(e));if(!e||typeof e!=`object`)return!1;let n=e;for(;n&&typeof n==`object`;){if(t.includes(n))return!0;n=n.parent}return!1}var M=null;function qt(){return M!==null}function Jt(){M?.(),M=null}function Yt(e,t){return new Promise(n=>{let r=document.activeElement instanceof HTMLElement?document.activeElement:null,i=[],a=[],o=!1,s=!1,c=()=>l(null),l=e=>{if(o)return;o=!0,M===c&&(M=null),document.removeEventListener(`keydown`,u),document.removeEventListener(`pointerdown`,d,!0),document.removeEventListener(`contextmenu`,f,!0);let t=Kt(document.activeElement,i);for(let e of i)e.remove();t&&r?.isConnected&&r.focus({preventScroll:!0}),n(e)},u=e=>{e.key===`Escape`&&(e.preventDefault(),l(null))},d=e=>{s&&!Kt(e.target,i)&&l(null)},f=e=>{s&&!Kt(e.target,i)&&(e.preventDefault(),l(null))},p=e=>{for(;i.length>e;)a.pop()?.setAttribute(`aria-expanded`,`false`),i.pop()?.remove()},ee=(e,t,n,r,o)=>{p(r);let c=document.createElement(`div`);c.className=`dropdown-glass fixed z-[10000] min-w-32 max-w-sm overflow-hidden rounded-lg bg-clip-padding text-popover-foreground outline-none`,c.style.cssText=`position:fixed;z-index:10000;min-width:8rem;max-width:24rem;overflow:hidden;border-radius:var(--radius-lg);background-clip:padding-box;color:var(--contrast-popover-foreground);outline:none;pointer-events:auto;`,c.style.left=`${t}px`,c.style.top=`${n}px`,c.dataset.level=String(r);let u=document.createElement(`div`);u.className=`max-h-[calc(100vh-0.5rem)] min-w-0 max-w-sm overflow-y-auto overflow-x-hidden p-1`,u.style.cssText=`max-height:calc(100vh - 0.5rem);min-width:0;max-width:24rem;overflow-x:hidden;overflow-y:auto;padding:0.25rem;`;for(let t of e){if(t.separatorBefore===!0&&u.children.length>0){let e=document.createElement(`div`);e.className=`mx-2 my-1 h-px bg-border`,e.style.cssText=`height:1px;margin:0.25rem 0.5rem;background:var(--contrast-border);`,e.dataset.contextMenuSeparator=`true`,e.setAttribute(`role`,`separator`),u.appendChild(e)}if(t.header===!0){let e=document.createElement(`div`);e.className=`px-2 py-1.5 font-medium text-muted-foreground text-xs`,e.textContent=t.label,u.appendChild(e);continue}let e=Array.isArray(t.children)&&t.children.length>0,n=!e&&(t.destructive===!0||t.id===`delete`),a=document.createElement(`button`);a.type=`button`;let o=t.disabled===!0;a.disabled=o;let c=`flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-left outline-none transition-colors sm:min-h-7 sm:text-sm min-h-8 text-base`;if(a.className=o?`${c} pointer-events-none cursor-not-allowed text-muted-foreground opacity-64`:n?`${c} text-destructive-foreground hover:bg-destructive/10 hover:text-destructive-foreground`:`${c} text-foreground hover:bg-accent hover:text-accent-foreground`,a.style.cssText=`display:flex;width:100%;min-height:1.75rem;align-items:center;gap:0.5rem;border:0;border-radius:var(--radius-sm);background:transparent;padding:0.25rem 0.5rem;color:var(--contrast-foreground);font-family:var(--font-sans,system-ui,sans-serif);font-size:0.875rem;line-height:1.25rem;text-align:left;cursor:default;`,n&&(a.style.color=`var(--destructive-foreground)`),o&&(a.style.color=`var(--contrast-muted-foreground)`,a.style.opacity=`0.64`,a.style.pointerEvents=`none`),typeof t.checked==`boolean`){a.setAttribute(`role`,`menuitemradio`),a.setAttribute(`aria-checked`,t.checked?`true`:`false`);let e=t.checked?Wt(`check`,`neutral`):null;if(e)a.appendChild(e);else{let e=document.createElement(`span`);e.className=`size-4.5 shrink-0 sm:size-4`,e.style.cssText=`display:inline-block;width:1rem;height:1rem;flex-shrink:0;`,e.setAttribute(`aria-hidden`,`true`),a.appendChild(e)}}else if(typeof t.icon==`string`){let e=Wt(t.icon,n?`destructive`:`neutral`);e&&a.appendChild(e)}let d=document.createElement(`span`);if(d.className=`min-w-0 flex-1 truncate`,d.textContent=t.label,a.appendChild(d),e){a.setAttribute(`aria-haspopup`,`menu`),a.setAttribute(`aria-expanded`,`false`);let e=Wt(`chevron-right`,`neutral`);e&&(e.setAttribute(`class`,`-me-0.5 ms-auto size-4.5 shrink-0 text-muted-foreground opacity-80 sm:size-4`),e.setAttribute(`aria-hidden`,`true`),e.dataset.contextMenuChevron=`true`,a.appendChild(e))}if(!o){let o=!1,c=!1,u=()=>{let e=o||c;a.style.background=e?n?`color-mix(in srgb, var(--destructive) 10%, transparent)`:`var(--accent)`:`transparent`,a.style.color=e?n?`var(--destructive-foreground)`:`var(--contrast-accent-foreground)`:n?`var(--destructive-foreground)`:`var(--contrast-foreground)`};if(a.addEventListener(`mouseenter`,()=>{a.focus({preventScroll:!0}),o=!0,u()}),a.addEventListener(`mouseleave`,()=>{o=!1,u()}),a.addEventListener(`focus`,()=>{c=!0,u()}),a.addEventListener(`blur`,()=>{c=!1,u()}),e){let e=(e=!1)=>{let n=a.getBoundingClientRect(),o=n.right+4,s=n.top;ee(t.children,o,s,r+1,a),a.setAttribute(`aria-expanded`,`true`);let c=i[r+1];if(!c)return;let l=c.getBoundingClientRect();l.right>window.innerWidth&&Gt(c,n.left-l.width-4,n.top),e&&[...c.querySelectorAll(`button`)].find(e=>!e.disabled)?.focus()};a.addEventListener(`mouseenter`,()=>{e()}),a.addEventListener(`click`,t=>{t.preventDefault(),e(!0)})}else a.addEventListener(`mouseenter`,()=>{p(r+1)}),a.addEventListener(`click`,()=>{s&&l(t.id)})}u.appendChild(a)}c.appendChild(u),c.addEventListener(`mouseenter`,()=>{p(r+1)}),document.body.appendChild(c),i[r]=c,a[r]=o,requestAnimationFrame(()=>{Gt(c,t,n)})};document.addEventListener(`keydown`,u),document.addEventListener(`pointerdown`,d,!0),document.addEventListener(`contextmenu`,f,!0),ee(e,t?.x??0,t?.y??0,0),M&&M(),M=c,requestAnimationFrame(()=>{s=!0})})}var Xt=`t3code:client-settings:v1`;function Zt(){return typeof window<`u`}function Qt(){return Zt()?je(Xt,we):null}function $t(e){Zt()&&xe(Xt,e,we)}var en;function tn(){return{dialogs:{pickFolder:async e=>window.desktopBridge?window.desktopBridge.pickFolder(e):null,confirm:async(e,t)=>Rt(e,t)??!1},shell:{openExternal:async e=>{if(window.desktopBridge){if(!await window.desktopBridge.openExternal(e))throw Error(`Unable to open link.`);return}window.open(e,`_blank`,`noopener,noreferrer`)},openSystemSettings:async e=>{if(!window.desktopBridge?.openSystemSettings||!await window.desktopBridge.openSystemSettings(e))throw Error(`Unable to open System Settings.`)}},contextMenu:{show:async(e,t)=>window.desktopBridge?window.desktopBridge.showContextMenu(e,t):Yt(e,t),close:async()=>{window.desktopBridge||Jt()}},persistence:{getClientSettings:async()=>window.desktopBridge?window.desktopBridge.getClientSettings():Qt(),setClientSettings:async e=>{if(window.desktopBridge)return window.desktopBridge.setClientSettings(e);$t(e)}}}}function nn(){return tn()}function rn(){if(typeof window<`u`)return en||(en=nn(),en)}function an(){let e=rn();if(!e)throw Error(`Local API not found`);return e}var N=`t3code:theme`,on=`(prefers-color-scheme: dark)`,P={theme:`system`,resolvedTheme:`light`,systemDark:!1,followSystem:!0,appearanceMode:`system`,themeHalves:null};function sn(){return F()}function cn(){return typeof window>`u`?{}:ln()}function F(){if(typeof window>`u`)return null;try{return vt(window.localStorage.getItem(S))}catch{return null}}function ln(){try{let e=JSON.parse(window.localStorage.getItem(`t3code:theme-halves:v1`)??`null`);if(typeof e!=`object`||!e)return{};let t={};for(let n of[`light`,`dark`]){let r=e[n];typeof r==`string`&&(t[n]=r)}return t}catch{return{}}}function I(e){return`${e?.light??``}|${e?.dark??``}`}var un=`theme-color`,dn=`meta[name="${un}"][data-dynamic-theme-color="true"]`,L=class extends n()(`ThemeStorageError`,{operation:_e([`read`,`write`]),storageKey:ye,theme:We(bt),cause:te()}){get message(){return`Failed to ${this.operation} theme preference for ${this.storageKey}.`}},fn=be(L),pn=class extends n()(`DesktopThemeSyncError`,{theme:bt,cause:te()}){get message(){return`Failed to sync the ${this.theme} theme to the desktop shell.`}},mn=be(pn),R=[],z=null,hn=!0,B=null,V=null,H=null;function U(){hn=!0;for(let e of R)e()}function gn(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(on).matches}function _n(e){if(typeof window>`u`)return e===`system`;try{let e=window.localStorage.getItem(xt);if(e===`true`)return!0;if(e===`false`)return!1}catch{}return e===`system`}function vn(e){return e===`light`||e===`dark`||e===`system`}function W(e){if(typeof window<`u`)try{let e=window.localStorage.getItem(C);if(vn(e))return e}catch{}return _n(e)?`system`:gt(e)??`light`}function yn(e){if(typeof window<`u`)try{window.localStorage.setItem(C,e)}catch(e){throw new L({operation:`write`,storageKey:C,cause:e})}}function bn(){if(typeof window>`u`)return P.theme;let e;try{e=window.localStorage.getItem(N)}catch(e){throw new L({operation:`read`,storageKey:N,cause:e})}return e!==null&&Ct(e)?yt(e):P.theme}function xn(e){if(typeof window<`u`)try{window.localStorage.setItem(N,e),H=null}catch(t){throw new L({operation:`write`,storageKey:N,theme:e,cause:t})}}function G(){if(H!==null)return P.theme;try{return bn()}catch(e){let t=fn(e)?e:new L({operation:`read`,storageKey:N,cause:e});return H=t,console.error(t.message,{operation:t.operation,storageKey:t.storageKey,...v(t)}),P.theme}}function Sn(){let e=document.querySelector(dn);return e||(e=document.createElement(`meta`),e.name=un,e.setAttribute(`data-dynamic-theme-color`,`true`),document.head.append(e),e)}function Cn(e){let t=e?.trim().toLowerCase();return!t||t===`transparent`||t===`rgba(0, 0, 0, 0)`||t===`rgba(0 0 0 / 0)`?null:e?.trim()??null}function wn(){return document.querySelector(`main[data-slot='sidebar-inset']`)??document.querySelector(`[data-slot='sidebar-inner']`)??document.body}function Tn(){if(typeof document>`u`||typeof getComputedStyle>`u`)return;let e=getComputedStyle(document.documentElement),t=document.documentElement.dataset.themeId?Cn(e.getPropertyValue(`--app-chrome-background`)):null,n=Cn(getComputedStyle(wn()).backgroundColor),r=Cn(getComputedStyle(document.body).backgroundColor),i=t??n??r;if(!i)return;document.documentElement.style.backgroundColor=i,document.body.style.backgroundColor=i;let a=document.querySelectorAll(`meta[name="${un}"]`);if(a.length===0){Sn().setAttribute(`content`,i);return}for(let e of a)e.setAttribute(`content`,i)}function K(e,{suppressTransitions:t=!1,preservePreview:n=!0}={}){if(typeof document>`u`||typeof window>`u`||n&&document.documentElement.dataset?.themeId===`__preview`)return;let r=W(e),i=r===`system`,a=i?gn():!1,o=F();if(V?.theme===e&&V.systemDark===a&&V.followSystem===i&&V.appearanceMode===r&&I(V.themeHalves)===I(o)){Dn(e,i,r);return}t&&document.documentElement.classList.add(`no-transitions`);let s=mt(e,a,i,r,o);_t(ft(e,o,s),s),document.documentElement.classList.toggle(`dark`,s===`dark`),V={theme:e,systemDark:a,followSystem:i,appearanceMode:r,themeHalves:o},Tn(),Dn(e,i,r),t&&(document.documentElement.offsetHeight,requestAnimationFrame(()=>{document.documentElement.classList.remove(`no-transitions`)}))}async function En(e,t,n,r,i=F()){try{await e.setTheme(pt(t,n,r,i))}catch(e){throw new pn({theme:t,cause:e})}}function Dn(e,t,n){if(typeof window>`u`)return;let r=window.desktopBridge,i=F(),a=pt(e,t,n,i);r&&typeof r.setTheme==`function`&&B!==a&&(B=a,En(r,e,t,n,i).catch(t=>{let n=mn(t)?t:new pn({theme:e,cause:t});console.error(n.message,{theme:n.theme,...v(n)}),B===a&&(B=null)}))}typeof document<`u`&&typeof window<`u`&&K(G());function On(){if(typeof window>`u`)return P;if(!hn&&z)return z;hn=!1;let e=G(),t=W(e),n=t===`system`,r=n?gn():!1,i=F(),a=mt(e,r,n,t,i);return z&&z.theme===e&&z.resolvedTheme===a&&z.systemDark===r&&z.followSystem===n&&z.appearanceMode===t&&I(z.themeHalves)===I(i)||(z={theme:e,resolvedTheme:a,systemDark:r,followSystem:n,appearanceMode:t,themeHalves:i}),z}function kn(){return P}function An(){let e=G();W(e)===`system`&&K(e,{suppressTransitions:!0}),U()}function jn(e){e.key===N?(H=null,K(G(),{suppressTransitions:!0}),U()):e.key===`t3code:theme-follow-system`||e.key===`t3code:theme-appearance-mode`||e.key===`t3code:theme-halves:v1`?(K(G(),{suppressTransitions:!0}),U()):(e.key===`t3code:themes:v1`||e.key===null)&&(e.key===null&&(H=null),dt(),V=null,K(G(),{suppressTransitions:!0}),U())}var Mn=null;function Nn(e){if(typeof window>`u`)return()=>{};if(R.push(e),!Mn){let e=typeof window.matchMedia==`function`?window.matchMedia(on):null;e?.addEventListener(`change`,An),window.addEventListener(`storage`,jn),Mn=()=>{e?.removeEventListener(`change`,An),window.removeEventListener(`storage`,jn)}}return()=>{R=R.filter(t=>t!==e),R.length===0&&(Mn?.(),Mn=null)}}function Pn(){let e=(0,w.useSyncExternalStore)(Nn,On,kn),{theme:t,resolvedTheme:n}=e,r=(0,w.useCallback)(e=>{if(typeof window>`u`)return!1;try{yn(W(G()));let t=window.localStorage.getItem(S);window.localStorage.removeItem(S);try{xn(e)}catch(e){if(t!==null)try{window.localStorage.setItem(S,t)}catch{}throw e}}catch(t){let n=fn(t)?t:new L({operation:`write`,storageKey:N,theme:e,cause:t});return console.error(n.message,{operation:n.operation,storageKey:n.storageKey,theme:e,...v(n)}),!1}return K(e,{suppressTransitions:!0}),U(),!0},[]),i=(0,w.useCallback)(e=>{if(typeof window>`u`)return!1;try{yn(e)}catch(e){let t=fn(e)?e:new L({operation:`write`,storageKey:C,cause:e});return console.error(t.message,{operation:t.operation,storageKey:t.storageKey,...v(t)}),!1}return H=null,K(G(),{suppressTransitions:!0}),U(),!0},[]),a=(0,w.useCallback)(e=>{let n=W(t),r=e?`system`:n===`system`?gt(t)??`light`:n;return i(r)},[i,t]),o=(0,w.useCallback)((e,t)=>{if(typeof window>`u`)return!1;try{let n={...ln()};t===null?delete n[e]:n[e]=t,n.light===void 0&&n.dark===void 0?window.localStorage.removeItem(S):window.localStorage.setItem(S,JSON.stringify(n))}catch(e){let t=new L({operation:`write`,storageKey:S,cause:e});return console.error(t.message,{operation:t.operation,storageKey:t.storageKey,...v(t)}),!1}return K(G(),{suppressTransitions:!0}),U(),!0},[]),s=(0,w.useCallback)(()=>{if(typeof window>`u`)return!1;try{window.localStorage.removeItem(S)}catch(e){let t=new L({operation:`write`,storageKey:S,cause:e});return console.error(t.message,{operation:t.operation,storageKey:t.storageKey,...v(t)}),!1}return K(G(),{suppressTransitions:!0}),U(),!0},[]),c=(0,w.useCallback)(({preservePreview:e=!1}={})=>{typeof window<`u`&&(V=null,K(G(),{suppressTransitions:!0,preservePreview:e}),U())},[]);return(0,w.useEffect)(()=>{K(t)},[e.appearanceMode,t]),{theme:t,setTheme:r,setAppearanceMode:i,setFollowSystem:a,setThemeHalf:o,clearThemeHalves:s,refreshTheme:c,followSystem:e.followSystem,appearanceMode:e.appearanceMode,resolvedTheme:n,themeHalves:e.themeHalves}}var Fn=Re(Ae(Me)),In=re(e=>{let t=e.replace(/("(?:[^"\\]|\\.)*")|\/\/[^\n]*/g,(e,t)=>t?e:``);return t=t.replace(/("(?:[^"\\]|\\.)*")|\/\*[\s\S]*?\*\//g,(e,t)=>t?e:``),t=t.replace(/("(?:[^"\\]|\\.)*")|,(\s*[}\]])/g,(e,t,n)=>t?e:n??``),Fn(t).pipe(Fe(e=>e.issue))}),Ln=new d(In,ze());l().pipe(ve(ze({space:2})));var Rn=e=>ye.pipe(He(e,Ln)),zn={performance:{profile:`performance`,automaticGitFetchInterval:a(15),providerHealthRefreshInterval:_(1),hostPowerMonitorActiveInterval:a(30),hostPowerMonitorIdleInterval:_(2),idleClientTtl:a(45),pauseWhenHostLocked:!0,pauseWhenHostLowPower:!1,pauseWhenClientLowPower:!1,pauseWhenOnBattery:!1},balanced:{profile:`balanced`,automaticGitFetchInterval:ue,providerHealthRefreshInterval:se,hostPowerMonitorActiveInterval:a(30),hostPowerMonitorIdleInterval:_(5),idleClientTtl:a(45),pauseWhenHostLocked:!0,pauseWhenHostLowPower:!0,pauseWhenClientLowPower:!0,pauseWhenOnBattery:!1},"battery-saver":{profile:`battery-saver`,automaticGitFetchInterval:a(0),providerHealthRefreshInterval:_(15),hostPowerMonitorActiveInterval:_(1),hostPowerMonitorIdleInterval:_(10),idleClientTtl:a(45),pauseWhenHostLocked:!0,pauseWhenHostLowPower:!0,pauseWhenClientLowPower:!0,pauseWhenOnBattery:!0}};function q(e){return zn[e]}function Bn(e){return e.profile===`custom`?e.baseProfile??`balanced`:e.profile}function Vn(e){let t=Bn(e),n=zn[t],r=e.profile===`custom`?e.overrides:{};return{profile:t,automaticGitFetchInterval:r.automaticGitFetchInterval??n.automaticGitFetchInterval,providerHealthRefreshInterval:r.providerHealthRefreshInterval??n.providerHealthRefreshInterval,hostPowerMonitorActiveInterval:r.hostPowerMonitorActiveInterval??n.hostPowerMonitorActiveInterval,hostPowerMonitorIdleInterval:r.hostPowerMonitorIdleInterval??n.hostPowerMonitorIdleInterval,idleClientTtl:r.idleClientTtl??n.idleClientTtl,pauseWhenHostLocked:r.pauseWhenHostLocked??n.pauseWhenHostLocked,pauseWhenHostLowPower:r.pauseWhenHostLowPower??n.pauseWhenHostLowPower,pauseWhenClientLowPower:r.pauseWhenClientLowPower??n.pauseWhenClientLowPower,pauseWhenOnBattery:r.pauseWhenOnBattery??n.pauseWhenOnBattery}}function J(e,t){return m(e)===m(t)}function Hn(e,t){return J(e.automaticGitFetchInterval,t.automaticGitFetchInterval)&&J(e.providerHealthRefreshInterval,t.providerHealthRefreshInterval)&&J(e.hostPowerMonitorActiveInterval,t.hostPowerMonitorActiveInterval)&&J(e.hostPowerMonitorIdleInterval,t.hostPowerMonitorIdleInterval)&&J(e.idleClientTtl,t.idleClientTtl)&&e.pauseWhenHostLocked===t.pauseWhenHostLocked&&e.pauseWhenHostLowPower===t.pauseWhenHostLowPower&&e.pauseWhenClientLowPower===t.pauseWhenClientLowPower&&e.pauseWhenOnBattery===t.pauseWhenOnBattery}function Un(e){if(e.profile!==`custom`)return{schemaVersion:1,profile:e.profile,overrides:{}};let t=Vn(e),n=[Bn(e),`balanced`,`performance`,`battery-saver`];for(let e of n)if(Hn(t,zn[e]))return{schemaVersion:1,profile:e,overrides:{}};let r=Bn(e),i=zn[r];return{schemaVersion:1,profile:`custom`,baseProfile:r,overrides:{...J(t.automaticGitFetchInterval,i.automaticGitFetchInterval)?{}:{automaticGitFetchInterval:t.automaticGitFetchInterval},...J(t.providerHealthRefreshInterval,i.providerHealthRefreshInterval)?{}:{providerHealthRefreshInterval:t.providerHealthRefreshInterval},...J(t.hostPowerMonitorActiveInterval,i.hostPowerMonitorActiveInterval)?{}:{hostPowerMonitorActiveInterval:t.hostPowerMonitorActiveInterval},...J(t.hostPowerMonitorIdleInterval,i.hostPowerMonitorIdleInterval)?{}:{hostPowerMonitorIdleInterval:t.hostPowerMonitorIdleInterval},...J(t.idleClientTtl,i.idleClientTtl)?{}:{idleClientTtl:t.idleClientTtl},...t.pauseWhenHostLocked===i.pauseWhenHostLocked?{}:{pauseWhenHostLocked:t.pauseWhenHostLocked},...t.pauseWhenHostLowPower===i.pauseWhenHostLowPower?{}:{pauseWhenHostLowPower:t.pauseWhenHostLowPower},...t.pauseWhenClientLowPower===i.pauseWhenClientLowPower?{}:{pauseWhenClientLowPower:t.pauseWhenClientLowPower},...t.pauseWhenOnBattery===i.pauseWhenOnBattery?{}:{pauseWhenOnBattery:t.pauseWhenOnBattery}}}}function Wn(e){let t={schemaVersion:1,profile:o,overrides:{}},n=e.backgroundActivity.profile===t.profile&&e.backgroundActivity.baseProfile===void 0&&Object.keys(e.backgroundActivity.overrides).length===0,r=e.backgroundActivityProfile,i=r!==`balanced`||m(e.automaticGitFetchInterval)!==m(ue)||m(e.providerHealthRefreshInterval)!==m(se);return Vn(n&&i?{schemaVersion:1,profile:m(e.automaticGitFetchInterval)===m(q(r).automaticGitFetchInterval)&&m(e.providerHealthRefreshInterval)===m(q(r).providerHealthRefreshInterval)?r:`custom`,baseProfile:r,overrides:{...m(e.automaticGitFetchInterval)===m(q(r).automaticGitFetchInterval)?{}:{automaticGitFetchInterval:e.automaticGitFetchInterval},...m(e.providerHealthRefreshInterval)===m(q(r).providerHealthRefreshInterval)?{}:{providerHealthRefreshInterval:e.providerHealthRefreshInterval}}}:e.backgroundActivity)}function Gn(e){let t=Wn(e);return Un({schemaVersion:1,profile:`custom`,baseProfile:t.profile,overrides:{automaticGitFetchInterval:t.automaticGitFetchInterval,providerHealthRefreshInterval:t.providerHealthRefreshInterval,hostPowerMonitorActiveInterval:t.hostPowerMonitorActiveInterval,hostPowerMonitorIdleInterval:t.hostPowerMonitorIdleInterval,idleClientTtl:t.idleClientTtl,pauseWhenHostLocked:t.pauseWhenHostLocked,pauseWhenHostLowPower:t.pauseWhenHostLowPower,pauseWhenClientLowPower:t.pauseWhenClientLowPower,pauseWhenOnBattery:t.pauseWhenOnBattery}})}var Kn=Rn(ae);ke(Kn);function qn(e,t){let n=e.providerInstances[t.instanceId];return n===void 0?le(t.instanceId):pe(n)}var Jn=[`codex`,`claudeAgent`,`cursor`,`grok`,`muse`,`pi`,`opencode`,`antigravity`].map(e=>Pe.make(e));function Yn(e,t,n){let r=[...Jn.map(e=>[Ee(e),e]),...n?.includeConfiguredInstances===!0?Object.entries(e).flatMap(([e,t])=>Jn.includes(t.driver)?[[Ue.make(e),t.driver]]:[]):[]].find(([e,n])=>t(e,n));if(r===void 0)return null;let[a,o]=r,s=n?.defaultModelSelection,c=e[a]?.config;return s?.instanceId===a&&i(c?.customModels).some(e=>e.slug===s.model)?s:{instanceId:a,model:Ve[o]??Ce[o]??`gpt-6-luna`}}function Xn(e,t,n){let r=e.sourceControlWriterModelSelection;if(!r||!f(e,n,r.instanceId))return e.textGenerationModelSelection;if(t===void 0)return r;let i=t.find(e=>e.instanceId===r.instanceId);return i?.enabled===!0&&Le(i)&&Be(i)?r:e.textGenerationModelSelection}function Zn(e,t,n){let r=e.reviewGuideModelSelection;if(r&&f(e,n,r.instanceId)){let e=t?.find(e=>e.instanceId===r.instanceId);if(t===void 0||e?.enabled===!0&&Le(e)&&Be(e))return r}return Xn(e,t,n)}function Qn(e,t={}){return{favorites:e.favorites??t.favorites??[],providerModelPreferences:e.providerModelPreferences??t.providerModelPreferences??{}}}function $n(e,t){let n=e.favorites===null&&(t.favorites?.length??0)>0?t.favorites:void 0,r=e.providerModelPreferences===null&&Object.keys(t.providerModelPreferences??{}).length>0?t.providerModelPreferences:void 0;return n===void 0&&r===void 0?null:{migrateModelPreferences:{...n===void 0?{}:{favorites:n},...r===void 0?{}:{providerModelPreferences:r}}}}var er=new Set([`continueThreadsAfterServerUpdate`,`sidebarAutoSettleAfterDays`,`sidebarAutoSettleOnMerge`,`autoResumeLimitedThreads`,`snoozeLimitedThreads`,`newWorktreesStartFromOrigin`,`sourceControlWritingStyle`,`textGenerationModelSelection`]);function tr(e){let t={},n={};for(let[r,i]of Object.entries(e))er.has(r)?t[r]=i:n[r]=i;return{sharedPatch:t,localPatch:n}}function nr(e,t,n,r=n,i=!1){let a=e.textGenerationModelSelection?.instanceId??r?.textGenerationModelSelection.instanceId;return!i&&e.textGenerationModelSelection&&(!n||a!==void 0&&(r?.providerInstances[a]?.driver??a)!==(n.providerInstances[a]?.driver??a)||!qn(n,{...n.textGenerationModelSelection,...e.textGenerationModelSelection}))&&(e=c(e,[`textGenerationModelSelection`])),t?.threadRestartContinuation===!0?e:c(e,[`continueThreadsAfterServerUpdate`])}function rr(e){return e.connection.phase===`connected`&&e.serverConfig?.environment.capabilities.threadAutoSettlement===!0}function ir(e){let t=e.atom(Ge(Je.pipe(Oe(e=>Te(e.state)))),{initialValue:Ze});return{stateAtom:t,stateValueAtom:u(e=>fe(Ie(e(t)),()=>Ze)).pipe(r(`relay-environment-discovery-value`)),refresh:Ke(e,{label:`relay-environment-discovery:refresh`,concurrency:{mode:`singleFlight`,key:()=>`refresh`},execute:e=>Je.pipe(he(e=>e.refresh))})}}var ar=ir(tt);function or(e,t){return{...t,environmentId:e,label:t.entry.target.label,displayUrl:nt(t.entry),relayManaged:Xe(t.entry)}}function sr(){let e=(0,T.c)(7),t=h(x.catalogValueAtom),n=h(x.networkStatusValueAtom),r=h(E.presentationsAtom),i;e[0]===r?i=e[1]:(i=[...r.entries()].map(cr),e[0]=r,e[1]=i);let a=i,o;return e[2]!==t.isReady||e[3]!==a||e[4]!==n||e[5]!==r?(o={isReady:t.isReady,networkStatus:n,environments:a,presentationById:r},e[2]=t.isReady,e[3]=a,e[4]=n,e[5]=r,e[6]=o):o=e[6],o}function cr(e){let[t,n]=e;return or(t,n)}function lr(){return h(rt)}function ur(e){let t=(0,T.c)(3),{presentation:n}=jt(e),r;return t[0]!==e||t[1]!==n?(r=e===null||n===null?null:or(e,n),t[0]=e,t[1]=n,t[2]=r):r=t[2],r}function dr(){return ur(lr())}function fr(e){let t=(0,T.c)(2),n=st(e),r;return t[0]===n?r=t[1]:(r=ne(n)?n.value.httpBaseUrl:null,t[0]=n,t[1]=r),r}function pr(){return h(ar.stateValueAtom)}function mr(){return h(kt.environmentIdsAtom)}function hr(){return h(kt.identitiesAtom)}function gr(){return h(kt.pullRequestsSupportedAtom)}var _r=`[CLIENT_SETTINGS]`,vr=new Set,yr=new Set,br=s,Y=`pending`,X=null,xr=0,Sr=Promise.resolve(),Cr=0;function wr(){for(let e of vr)e()}function Tr(){for(let e of yr)e()}function Z(){return br}function Er(e){br=e,wr()}function Dr(e){Y!==e&&(Y=e,Tr())}function Or(e){return vr.add(e),Q().catch(()=>void 0),()=>{vr.delete(e)}}function kr(){return Y===`ready`}function Ar(){return Y}function jr(e){return yr.add(e),Q().catch(()=>void 0),()=>{yr.delete(e)}}async function Q(){if(Y===`ready`)return;if(X)return X;let e=xr;Dr(Y===`failed`||Y===`retrying`?`retrying`:`pending`);let t=(async()=>{try{let t=await an().persistence.getClientSettings();if(e!==xr)return;t&&Er({...s,...t}),Dr(`ready`)}catch(t){throw e===xr&&Dr(`failed`),console.error(`${_r} hydrate failed`,{operation:`hydrate`,...v(t)}),t}})().finally(()=>{X===t&&(X=null)});return X=t,X}var Mr=e=>an().persistence.setClientSettings(e);function Nr(e){let t=Sr.then(e);return Sr=t.then(()=>void 0,()=>void 0),t}function Pr(e,t=Mr){let n=Y!==`ready`||Cr>0;return n?Cr+=1:Er({...Z(),...e}),Nr(async()=>{if(n)try{Y!==`ready`&&await Q(),Er({...Z(),...e})}finally{--Cr}await t(Z())}).catch(e=>{console.error(`${_r} persist failed`,{operation:`persist`,...v(e)})})}async function Fr(e,t=Mr){return Nr(async()=>{for(Y!==`ready`&&await Q();;){let n=Z(),r=e(n);if(await t(r),Z()===n)return Er(r),r}})}var Ir=new Set(ce(ae.fields));function Lr(e){let t={},n={};for(let[r,i]of Object.entries(e))Ir.has(r)?t[r]=i:n[r]=i;return{serverPatch:t,clientPatch:n}}function Rr(){return Z()}function zr(){return Q()}function Br(){return(0,w.useSyncExternalStore)(jr,kr,Vr)}function Vr(){return!1}function Hr(){return(0,w.useSyncExternalStore)(jr,Ar,Ur)}function Ur(){return`pending`}function $(){return(0,w.useSyncExternalStore)(Or,Z,Wr)}function Wr(){return s}function Gr(e,t){return{...t,...e,...Qn(e,t)}}var Kr=new Set;function qr(e,t){let n=(0,T.c)(8),r=$(),i=Br(),a;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(a={reportFailure:!1},n[0]=a):a=n[0];let o=lt(b.updateSettings,a),s,c;n[1]!==r||n[2]!==e||n[3]!==i||n[4]!==o||n[5]!==t?(s=()=>{if(!e||!t||!i||Kr.has(e))return;let n=$n(t,r);n&&(Kr.add(e),o({environmentId:e,input:{patch:n}}).finally(()=>Kr.delete(e)))},c=[r,e,i,o,t],n[1]=r,n[2]=e,n[3]=i,n[4]=o,n[5]=t,n[6]=s,n[7]=c):(s=n[6],c=n[7]),(0,w.useEffect)(s,c)}function Jr(e,t){let n=(0,T.c)(6),r=$(),i;n[0]!==r||n[1]!==e?(i=Gr(e,r),n[0]=r,n[1]=e,n[2]=i):i=n[2];let a=i,o;return n[3]!==a||n[4]!==t?(o=t?t(a):a,n[3]=a,n[4]=t,n[5]=o):o=n[5],o}function Yr(e){let t=(0,T.c)(3),n=$(),r;return t[0]!==e||t[1]!==n?(r=e?e(n):n,t[0]=e,t[1]=n,t[2]=r):r=t[2],r}function Xr(e){return e.settingsHydrated?e.paletteThemeActive&&!e.paletteThemeAllowsArtwork&&e.mode===`artwork`?`pill`:e.mode:`none`}function Zr(){let e=(0,T.c)(7),t=Br(),n=$().environmentIdentificationMode,{resolvedTheme:r,theme:i,themeHalves:a}=Pn(),o=(0,w.useSyncExternalStore)(ut,wt,Qr),s;if(e[0]!==n||e[1]!==o||e[2]!==r||e[3]!==t||e[4]!==i||e[5]!==a){let c=ft(i,a,r),l=St(c);s=Xr({mode:n,settingsHydrated:t,paletteThemeActive:o!==null||l!==null,paletteThemeAllowsArtwork:o??ht(c)}),e[0]=n,e[1]=o,e[2]=r,e[3]=t,e[4]=i,e[5]=a,e[6]=s}else s=e[6];return s}function Qr(){return null}async function $r(e,t){return(e.favorites===null||e.providerModelPreferences===null)&&await zr(),{...$n(e,Rr()),...t}}function ei(e){let t=(0,T.c)(6),n;t[0]===e?n=t[1]:(n=e?b.settingsValueAtom(e):ni,t[0]=e,t[1]=n);let r=h(n),i=lt(b.updateSettings,`model preferences update`),a;return t[2]!==e||t[3]!==i||t[4]!==r?(a=async t=>{if(!e||!r)return;let n;try{n=await $r(r,t)}catch{y.add({type:`error`,title:`Model preferences not saved`,description:`Could not load saved model preferences. Try again.`});return}return i({environmentId:e,input:{patch:n}})},t[2]=e,t[3]=i,t[4]=r,t[5]=a):a=t[5],a}function ti(e){let t=(0,w.use)(p),n=(0,w.useRef)(new Map),r=ei(e);return(0,w.useCallback)(async(i,a)=>{if(!e)return;let o=b.settingsValueAtom(e),s=t.get(o);if(!s)return;if(s.favorites===null)try{await zr()}catch{y.add({type:`error`,title:`Favorites not saved`,description:`Could not load saved model preferences. Try again.`});return}let c=t.get(o)??s,l=Qn(c,Rr()).favorites,u=JSON.stringify([e,i,a]),d=n.current.get(u),f={favorite:!(d&&(d.pending||d.settings.favorites===c.favorites)?d.favorite:l.some(e=>e.provider===i&&e.model===a)),settings:c,pending:!0};n.current.set(u,f);try{let e=await r({setModelFavorites:[{provider:i,model:a,favorite:f.favorite}]});e&&De(e)&&t.get(o)?.favorites===c.favorites&&(f.pending=!1)}finally{f.pending&&n.current.get(u)===f&&(d&&!d.pending&&t.get(o)?.favorites===d.settings.favorites?n.current.set(u,d):n.current.delete(u))}},[e,t,r])}var ni=u(null);function ri(e){let t=(0,T.c)(5),n;t[0]===e?n=t[1]:(n=e?b.settingsValueAtom(e):ni,t[0]=e,t[1]=n);let r=h(n),i=$();qr(e,r);let a=r??Ne,o;return t[2]!==i||t[3]!==a?(o=Qn(a,i),t[2]=i,t[3]=a,t[4]=o):o=t[4],o}function ii(e,t){let n=(0,T.c)(2),r;n[0]===e?r=n[1]:(r=b.settingsValueAtom(e),n[0]=e,n[1]=r);let i=h(r);return qr(e,i),Jr(i??Ne,t)}function ai(e){let t=(0,T.c)(4),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={reportFailure:!1},t[0]=n):n=t[0];let r=lt(b.mutateProviderInstance,n),i;return t[1]!==e||t[2]!==r?(i=(t,n)=>r({environmentId:e,input:{patch:n===void 0?{}:n,providerInstanceMutation:t}}),t[1]=e,t[2]=r,t[3]=i):i=t[3],i}function oi(e){let t=dr(),n=h(it);return qr(t?.environmentId??null,t?.serverConfig?.settings??null),Jr(n,e)}var si=`This setting is saved on a server, and the hosted app is not anchored to one. Change it from the desktop app or from the server's own address.`;function ci(){let e=(0,T.c)(2),t=dr(),n;return e[0]===t?n=e[1]:(n=t!==null||!et(),e[0]=t,e[1]=n),n}function li(e){let t=(0,T.c)(3),n=e!==void 0&&e,{environments:r}=sr(),i;return t[0]!==r||t[1]!==n?(i=u(e=>r.filter(rr).flatMap(t=>{let r=e(ct.sessionStateAtom(t.environmentId));if(n&&r._tag===`Initial`)return[t.environmentId];let i=r._tag===`Failure`?null:g(Ie(r));return i!==null&&ee(i,`settings:write`)?[t.environmentId]:[]})),t[0]=r,t[1]=n,t[2]=i):i=t[2],h(i)}function ui(e){let t=(0,T.c)(10);at(e,oe);let n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={label:`server settings update`,reportFailure:!1},t[0]=n):n=t[0];let r=lt(b.updateSettings,n),{environments:i}=sr(),a;t[1]!==i||t[2]!==r?(a=async e=>{let t=await r(e);if(t._tag===`Failure`&&!qe(t)){let n=i.find(t=>t.environmentId===e.environmentId)?.label??e.environmentId,r=Ye(t);y.add({type:`error`,title:`Setting not saved`,description:`Could not save on ${n}: ${r instanceof Error?r.message:`The save failed. Try reconnecting and saving again.`}`})}return t},t[1]=i,t[2]=r,t[3]=a):a=t[3];let o=a,s=li(!0),c;return t[4]!==e||t[5]!==i||t[6]!==r||t[7]!==o||t[8]!==s?(c=t=>{let{serverPatch:n,clientPatch:a}=Lr(t),c=e===null||ge(n).every(t=>ot(e,t));if(Object.keys(n).length>0&&!c&&y.add({type:`warning`,title:`Setting not saved`,description:`This connection lacks permission to change settings on ${i.find(t=>t.environmentId===e)?.label??`the selected environment`}.`}),Object.keys(n).length>0&&c){let{sharedPatch:t,localPatch:a}=tr(n),c=hi;if(Object.keys(a).length>0&&(e?o({environmentId:e,input:{patch:a}}):c()),Object.keys(t).length>0){let n=i.find(t=>t.environmentId===e)?.serverConfig?.settings,a=new Set(s);e&&a.add(e);let o=[],l=[];for(let r of a){let a=i.find(e=>e.environmentId===r),s=nr(t,a?.serverConfig?.environment.capabilities,a?.serverConfig?.settings,n,r===e);if(Object.keys(s).length!==0){if(ie.get(ct.sessionStateAtom(r))._tag!==`Initial`&&!ge(t).every(e=>ot(r,e))){l.push(a?.label??r);continue}o.push({environmentId:r,input:{patch:s}})}}o.length===0?c(l.length>0?`This connection lacks permission to change settings on ${l.join(`, `)}.`:a.size>0?`Update older servers to save this setting.`:void 0):Promise.all(o.map(async e=>({label:i.find(t=>t.environmentId===e.environmentId)?.label??e.environmentId,result:await r(e)}))).then(di)}}Object.keys(a).length>0&&Pr(a)},t[4]=e,t[5]=i,t[6]=r,t[7]=o,t[8]=s,t[9]=c):c=t[9],c}function di(e){let t=e.flatMap(mi);if(t.length===0)return;let n=e.filter(pi).map(fi);y.add({type:`error`,title:n.length>0?`Setting saved on some environments`:`Setting not saved`,description:[...t,...n.length>0?[`Saved on ${n.join(`, `)}.`]:[]].join(`
2
- `)})}function fi(e){let{label:t}=e;return t}function pi(e){let{result:t}=e;return t._tag===`Success`}function mi(e){let{label:t,result:n}=e;if(n._tag!==`Failure`||qe(n))return[];let r=Ye(n);return[`Could not save on ${t}: ${r instanceof Error?r.message:`The save failed. Try reconnecting and saving again.`}`]}function hi(e){let t=e===void 0?si:e;return y.add({type:`warning`,title:`Setting not saved`,description:t})}function gi(e){return ui(e)}function _i(){return ui(dr()?.environmentId??null)}function vi(){return yi}function yi(e){return Pr(e)}export{Lt as $,pr as A,Rn as B,fr as C,dr as D,sr as E,Bn as F,Tn as G,sn as H,q as I,rn as J,Pn as K,Un as L,Yn as M,Zn as N,lr as O,Xn as P,Ft as Q,Gn as R,ur as S,mr as T,cn as U,W as V,bn as W,Vt as X,qt as Y,zt as Z,ti as _,Pr as a,gi as b,Br as c,ri as d,Rt as et,ii as f,ci as g,oi as h,Gr as i,jt as it,ar as j,gr as k,Hr as l,ai as m,zr as n,It as nt,Fr as o,qr as p,an as q,Rr as r,E as rt,Yr as s,si as t,Bt as tt,Zr as u,vi as v,hr as w,_i as x,ei as y,Wn as z};
3
- //# sourceMappingURL=useSettings-CNd8OM7A.js.map