bb-app 0.43.2 → 0.43.3
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.
- package/app/dist/assets/{AppFileExternalNavigationDispatcher-BjNBScqR.js → AppFileExternalNavigationDispatcher-CEr_pjYQ.js} +1 -1
- package/app/dist/assets/AppFileExternalNavigationDispatcher-CEr_pjYQ.js.br +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-CEr_pjYQ.js.gz +0 -0
- package/app/dist/assets/{BbDiff-12uz9IAX.js → BbDiff-BKxQP2II.js} +1 -1
- package/app/dist/assets/BbDiff-BKxQP2II.js.br +0 -0
- package/app/dist/assets/BbDiff-BKxQP2II.js.gz +0 -0
- package/app/dist/assets/{BbSourceCode-B5ByV-FS.js → BbSourceCode-DKykSFN3.js} +1 -1
- package/app/dist/assets/BbSourceCode-DKykSFN3.js.br +0 -0
- package/app/dist/assets/BbSourceCode-DKykSFN3.js.gz +0 -0
- package/app/dist/assets/{BrowserTabDeck-CVRIa1t8.js → BrowserTabDeck-BGMPuTrp.js} +1 -1
- package/app/dist/assets/BrowserTabDeck-BGMPuTrp.js.br +0 -0
- package/app/dist/assets/BrowserTabDeck-BGMPuTrp.js.gz +0 -0
- package/app/dist/assets/{DiffHost-BMW3ydFS.js → DiffHost-CTr2vxLr.js} +2 -2
- package/app/dist/assets/DiffHost-CTr2vxLr.js.br +0 -0
- package/app/dist/assets/DiffHost-CTr2vxLr.js.gz +0 -0
- package/app/dist/assets/{ExperimentalFileLinkMenu-4-BPBhuh.js → ExperimentalFileLinkMenu-BlSwZZtX.js} +1 -1
- package/app/dist/assets/ExperimentalFileLinkMenu-BlSwZZtX.js.br +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-BlSwZZtX.js.gz +0 -0
- package/app/dist/assets/{FilePreview-BLUhIkKE.js → FilePreview-Bf6cFFHd.js} +1 -1
- package/app/dist/assets/FilePreview-Bf6cFFHd.js.br +0 -0
- package/app/dist/assets/FilePreview-Bf6cFFHd.js.gz +0 -0
- package/app/dist/assets/{GitDiffCardHeader-EEoiwhTP.js → GitDiffCardHeader-rVj_UFjP.js} +1 -1
- package/app/dist/assets/GitDiffCardHeader-rVj_UFjP.js.br +0 -0
- package/app/dist/assets/GitDiffCardHeader-rVj_UFjP.js.gz +0 -0
- package/app/dist/assets/{MachineRenameDialog-D5punQm7.js → MachineRenameDialog-CIVshNWH.js} +1 -1
- package/app/dist/assets/MachineRenameDialog-CIVshNWH.js.br +0 -0
- package/app/dist/assets/MachineRenameDialog-CIVshNWH.js.gz +0 -0
- package/app/dist/assets/{MachineSettingsView-BB8sWZCY.js → MachineSettingsView-BG1TC1lz.js} +1 -1
- package/app/dist/assets/MachineSettingsView-BG1TC1lz.js.br +0 -0
- package/app/dist/assets/MachineSettingsView-BG1TC1lz.js.gz +0 -0
- package/app/dist/assets/{NewTabPage-BF31qJOv.js → NewTabPage-tSK_POcQ.js} +1 -1
- package/app/dist/assets/NewTabPage-tSK_POcQ.js.br +0 -0
- package/app/dist/assets/NewTabPage-tSK_POcQ.js.gz +0 -0
- package/app/dist/assets/{OptionPicker-CS_rzYKC.js → OptionPicker-BOubhr2j.js} +1 -1
- package/app/dist/assets/OptionPicker-BOubhr2j.js.br +0 -0
- package/app/dist/assets/OptionPicker-BOubhr2j.js.gz +0 -0
- package/app/dist/assets/{PaneMaximizeButton-BX9O85-9.js → PaneMaximizeButton-DgPCqAO1.js} +1 -1
- package/app/dist/assets/PaneMaximizeButton-DgPCqAO1.js.br +0 -0
- package/app/dist/assets/PaneMaximizeButton-DgPCqAO1.js.gz +0 -0
- package/app/dist/assets/{PierreLineSelectionActions-Dv6SPPb_.js → PierreLineSelectionActions-C5-PLqPI.js} +1 -1
- package/app/dist/assets/PierreLineSelectionActions-C5-PLqPI.js.br +0 -0
- package/app/dist/assets/PierreLineSelectionActions-C5-PLqPI.js.gz +0 -0
- package/app/dist/assets/{PluginPanelActions-Brw0eTmm.js → PluginPanelActions-Ijm2JjYk.js} +1 -1
- package/app/dist/assets/PluginPanelActions-Ijm2JjYk.js.br +0 -0
- package/app/dist/assets/PluginPanelActions-Ijm2JjYk.js.gz +0 -0
- package/app/dist/assets/{PluginPanelRightPanelHost-heDcnHb6.js → PluginPanelRightPanelHost-Bpv5KKG0.js} +1 -1
- package/app/dist/assets/PluginPanelRightPanelHost-Bpv5KKG0.js.br +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-Bpv5KKG0.js.gz +0 -0
- package/app/dist/assets/{ProjectDetailSettingsView-D_Vdu2ce.js → ProjectDetailSettingsView-BFpcwtLD.js} +1 -1
- package/app/dist/assets/ProjectDetailSettingsView-BFpcwtLD.js.br +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-BFpcwtLD.js.gz +0 -0
- package/app/dist/assets/{ProjectMachineSetupDialog-BY8TrS7P.js → ProjectMachineSetupDialog-Bt-cA5q8.js} +1 -1
- package/app/dist/assets/ProjectMachineSetupDialog-Bt-cA5q8.js.br +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-Bt-cA5q8.js.gz +0 -0
- package/app/dist/assets/{ProjectsSettingsSection-DMgbOzi0.js → ProjectsSettingsSection-CWiPZs3X.js} +1 -1
- package/app/dist/assets/ProjectsSettingsSection-CWiPZs3X.js.br +0 -0
- package/app/dist/assets/ProjectsSettingsSection-CWiPZs3X.js.gz +0 -0
- package/app/dist/assets/{SecondaryPanelLayout-DK9e6Wvw.js → SecondaryPanelLayout-Cusv3Frw.js} +1 -1
- package/app/dist/assets/SecondaryPanelLayout-Cusv3Frw.js.br +0 -0
- package/app/dist/assets/SecondaryPanelLayout-Cusv3Frw.js.gz +0 -0
- package/app/dist/assets/{SettingsView-Dba7HBKl.js → SettingsView-KD5NmVsB.js} +3 -3
- package/app/dist/assets/SettingsView-KD5NmVsB.js.br +0 -0
- package/app/dist/assets/SettingsView-KD5NmVsB.js.gz +0 -0
- package/app/dist/assets/{SourceCodeHost-kd2wce0c.js → SourceCodeHost-Dg6LVIHE.js} +2 -2
- package/app/dist/assets/SourceCodeHost-Dg6LVIHE.js.br +0 -0
- package/app/dist/assets/SourceCodeHost-Dg6LVIHE.js.gz +0 -0
- package/app/dist/assets/{SplitWorkspaceRoute-DRdQCrgp.js → SplitWorkspaceRoute-Bd2sq5WI.js} +2 -2
- package/app/dist/assets/SplitWorkspaceRoute-Bd2sq5WI.js.br +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-Bd2sq5WI.js.gz +0 -0
- package/app/dist/assets/{ThreadSearchPaletteMode-BG5X0DsN.js → ThreadSearchPaletteMode-BBY7LZSw.js} +1 -1
- package/app/dist/assets/ThreadSearchPaletteMode-BBY7LZSw.js.br +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-BBY7LZSw.js.gz +0 -0
- package/app/dist/assets/{ThreadSecondaryPanel-BWsbxGu_.js → ThreadSecondaryPanel-CR_8CHga.js} +1 -1
- package/app/dist/assets/ThreadSecondaryPanel-CR_8CHga.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-CR_8CHga.js.gz +0 -0
- package/app/dist/assets/{ThreadSecondaryPanelTabContent-Hw4tkdnw.js → ThreadSecondaryPanelTabContent-GmKjRc60.js} +1 -1
- package/app/dist/assets/ThreadSecondaryPanelTabContent-GmKjRc60.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-GmKjRc60.js.gz +0 -0
- package/app/dist/assets/{ThreadStorageFileTree-sMfYZ-yr.js → ThreadStorageFileTree-DGKmyDy_.js} +1 -1
- package/app/dist/assets/ThreadStorageFileTree-DGKmyDy_.js.br +0 -0
- package/app/dist/assets/ThreadStorageFileTree-DGKmyDy_.js.gz +0 -0
- package/app/dist/assets/{ThreadTerminalPanel-D8GLBGQ6.js → ThreadTerminalPanel-CbJxSH7Q.js} +1 -1
- package/app/dist/assets/ThreadTerminalPanel-CbJxSH7Q.js.br +0 -0
- package/app/dist/assets/ThreadTerminalPanel-CbJxSH7Q.js.gz +0 -0
- package/app/dist/assets/{TimelineDetailScroll-CJxHbZ11.js → TimelineDetailScroll-Dc92aq0I.js} +1 -1
- package/app/dist/assets/TimelineDetailScroll-Dc92aq0I.js.br +0 -0
- package/app/dist/assets/TimelineDetailScroll-Dc92aq0I.js.gz +0 -0
- package/app/dist/assets/{TimelineFileDiffBlock-D0UsFk6L.js → TimelineFileDiffBlock-XVL_v9Sv.js} +1 -1
- package/app/dist/assets/TimelineFileDiffBlock-XVL_v9Sv.js.br +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-XVL_v9Sv.js.gz +0 -0
- package/app/dist/assets/{TimelineSelectionMenu-tjYTa_Nz.js → TimelineSelectionMenu-j-uLThcW.js} +1 -1
- package/app/dist/assets/TimelineSelectionMenu-j-uLThcW.js.br +0 -0
- package/app/dist/assets/TimelineSelectionMenu-j-uLThcW.js.gz +0 -0
- package/app/dist/assets/{ToolsView-oVQgCd9D.js → ToolsView-BqBbtO9Q.js} +1 -1
- package/app/dist/assets/ToolsView-BqBbtO9Q.js.br +0 -0
- package/app/dist/assets/ToolsView-BqBbtO9Q.js.gz +0 -0
- package/app/dist/assets/{absolute-file-path-B8rvpN6h.js → absolute-file-path-1onVupdg.js} +1 -1
- package/app/dist/assets/absolute-file-path-1onVupdg.js.br +0 -0
- package/app/dist/assets/absolute-file-path-1onVupdg.js.gz +0 -0
- package/app/dist/assets/{browser-url-DBXpmDyy.js → browser-url-CZ3HjlzM.js} +1 -1
- package/app/dist/assets/browser-url-CZ3HjlzM.js.br +0 -0
- package/app/dist/assets/browser-url-CZ3HjlzM.js.gz +0 -0
- package/app/dist/assets/{code-loading-skeletons-BSCBLTPn.js → code-loading-skeletons-B55l1zWf.js} +1 -1
- package/app/dist/assets/code-loading-skeletons-B55l1zWf.js.br +0 -0
- package/app/dist/assets/code-loading-skeletons-B55l1zWf.js.gz +0 -0
- package/app/dist/assets/{code-rendering-DpMXklPX.js → code-rendering-BFjfGlm3.js} +1 -1
- package/app/dist/assets/{code-theme-registration-tCUsiCnu.js → code-theme-registration-p5_Y9xRp.js} +1 -1
- package/app/dist/assets/{diff-stats-tally-DGP3JT_p.js → diff-stats-tally-s44Uatza.js} +1 -1
- package/app/dist/assets/{environment-queries-CPfRGBmD.js → environment-queries-DQRtId3I.js} +1 -1
- package/app/dist/assets/environment-queries-DQRtId3I.js.br +0 -0
- package/app/dist/assets/environment-queries-DQRtId3I.js.gz +0 -0
- package/app/dist/assets/{file-opener-preference-CNU-2AX-.js → file-opener-preference-BBzsNdAN.js} +1 -1
- package/app/dist/assets/{file-path-link-Cj-hPyCZ.js → file-path-link-BaN4e97c.js} +1 -1
- package/app/dist/assets/file-path-link-BaN4e97c.js.br +0 -0
- package/app/dist/assets/file-path-link-BaN4e97c.js.gz +0 -0
- package/app/dist/assets/{fixed-panel-tabs-state-DBvI_-nu.js → fixed-panel-tabs-state-BAooiNnZ.js} +1 -1
- package/app/dist/assets/{host-mutations-B97HiIxn.js → host-mutations-DpX66-O1.js} +1 -1
- package/app/dist/assets/host-mutations-DpX66-O1.js.br +0 -0
- package/app/dist/assets/host-mutations-DpX66-O1.js.gz +0 -0
- package/app/dist/assets/{icon-extended-EN13GZdT.js → icon-extended-BVbuxg1V.js} +1 -1
- package/app/dist/assets/icon-extended-BVbuxg1V.js.br +0 -0
- package/app/dist/assets/icon-extended-BVbuxg1V.js.gz +0 -0
- package/app/dist/assets/{index-C5R2EQf4.js → index-DecRjD4J.js} +5 -5
- package/app/dist/assets/index-DecRjD4J.js.br +0 -0
- package/app/dist/assets/index-DecRjD4J.js.gz +0 -0
- package/app/dist/assets/{launcherRow-jBXN_s_6.js → launcherRow-COr8pwMb.js} +1 -1
- package/app/dist/assets/launcherRow-COr8pwMb.js.br +0 -0
- package/app/dist/assets/launcherRow-COr8pwMb.js.gz +0 -0
- package/app/dist/assets/{machine-provider-queries-DKwDoXks.js → machine-provider-queries-3BwQeMu1.js} +1 -1
- package/app/dist/assets/machine-provider-queries-3BwQeMu1.js.br +0 -0
- package/app/dist/assets/machine-provider-queries-3BwQeMu1.js.gz +0 -0
- package/app/dist/assets/{markdown-file-image-routing-DkTKP8N7.js → markdown-file-image-routing-Ddaz9z2N.js} +1 -1
- package/app/dist/assets/{markdown-preview-DHAQdwAu.js → markdown-preview-pm-veEGv.js} +1 -1
- package/app/dist/assets/markdown-preview-pm-veEGv.js.br +0 -0
- package/app/dist/assets/markdown-preview-pm-veEGv.js.gz +0 -0
- package/app/dist/assets/{open-in-editor-button-EKbyr9fS.js → open-in-editor-button-DC5WlBTO.js} +1 -1
- package/app/dist/assets/{open-in-editor-button-EKbyr9fS.js.br → open-in-editor-button-DC5WlBTO.js.br} +0 -0
- package/app/dist/assets/open-in-editor-button-DC5WlBTO.js.gz +0 -0
- package/app/dist/assets/{page-shell-DHP7X_Rt.js → page-shell-KqI9laXh.js} +1 -1
- package/app/dist/assets/page-shell-KqI9laXh.js.br +0 -0
- package/app/dist/assets/page-shell-KqI9laXh.js.gz +0 -0
- package/app/dist/assets/{pierre-worker-pool-DddCdbqT.js → pierre-worker-pool-BIFn7Fjx.js} +1 -1
- package/app/dist/assets/pierre-worker-pool-BIFn7Fjx.js.br +0 -0
- package/app/dist/assets/pierre-worker-pool-BIFn7Fjx.js.gz +0 -0
- package/app/dist/assets/{plugin-catalog-queries-mWlJEp8o.js → plugin-catalog-queries-wLOKJfhz.js} +1 -1
- package/app/dist/assets/plugin-catalog-queries-wLOKJfhz.js.br +0 -0
- package/app/dist/assets/plugin-catalog-queries-wLOKJfhz.js.gz +0 -0
- package/app/dist/assets/{plugin-detail-navigation-BvnYG1vG.js → plugin-detail-navigation-Bs9RE1zg.js} +2 -2
- package/app/dist/assets/plugin-detail-navigation-Bs9RE1zg.js.br +0 -0
- package/app/dist/assets/plugin-detail-navigation-Bs9RE1zg.js.gz +0 -0
- package/app/dist/assets/{plugin-frontend-BZy0QzmI.js → plugin-frontend-CjiHa9bh.js} +3 -3
- package/app/dist/assets/plugin-frontend-CjiHa9bh.js.br +0 -0
- package/app/dist/assets/plugin-frontend-CjiHa9bh.js.gz +0 -0
- package/app/dist/assets/{project-default-execution-options-query-BXYO-hGv.js → project-default-execution-options-query-DgwHHJgk.js} +1 -1
- package/app/dist/assets/project-default-execution-options-query-DgwHHJgk.js.br +0 -0
- package/app/dist/assets/project-default-execution-options-query-DgwHHJgk.js.gz +0 -0
- package/app/dist/assets/{resource-list-D_oVsoA6.js → resource-list-Bjgzb5y2.js} +1 -1
- package/app/dist/assets/resource-list-Bjgzb5y2.js.br +0 -0
- package/app/dist/assets/resource-list-Bjgzb5y2.js.gz +0 -0
- package/app/dist/assets/{root-compose-create-preference-DCx3CWwe.js → root-compose-create-preference-B-HKV5cI.js} +1 -1
- package/app/dist/assets/root-compose-create-preference-B-HKV5cI.js.br +0 -0
- package/app/dist/assets/root-compose-create-preference-B-HKV5cI.js.gz +0 -0
- package/app/dist/assets/{settings-section-BEqzIulW.js → settings-section-Dl4EomFb.js} +1 -1
- package/app/dist/assets/settings-section-Dl4EomFb.js.br +0 -0
- package/app/dist/assets/settings-section-Dl4EomFb.js.gz +0 -0
- package/app/dist/assets/{thread-terminal-queries-y6HeNWQc.js → thread-terminal-queries-ZGKk1b-y.js} +1 -1
- package/app/dist/assets/thread-terminal-queries-ZGKk1b-y.js.br +0 -0
- package/app/dist/assets/thread-terminal-queries-ZGKk1b-y.js.gz +0 -0
- package/app/dist/assets/{threadRecentItems-DBmfDN5s.js → threadRecentItems-BxHtIsuB.js} +1 -1
- package/app/dist/assets/threadRecentItems-BxHtIsuB.js.br +0 -0
- package/app/dist/assets/threadRecentItems-BxHtIsuB.js.gz +0 -0
- package/app/dist/assets/{truncate-start-DjB5Y2C-.js → truncate-start-D4bEDc2D.js} +1 -1
- package/app/dist/assets/{use-hover-popover-BUPmV7Lx.js → use-hover-popover-TLC-UiLb.js} +1 -1
- package/app/dist/assets/use-hover-popover-TLC-UiLb.js.br +0 -0
- package/app/dist/assets/use-hover-popover-TLC-UiLb.js.gz +0 -0
- package/app/dist/assets/{useLocalOpenTargets-CDHNvnze.js → useLocalOpenTargets-xKhSZ1ao.js} +1 -1
- package/app/dist/assets/useLocalOpenTargets-xKhSZ1ao.js.br +0 -0
- package/app/dist/assets/useLocalOpenTargets-xKhSZ1ao.js.gz +0 -0
- package/app/dist/assets/{usePathSuggestions-Dhrastgl.js → usePathSuggestions-D0WVuHd1.js} +1 -1
- package/app/dist/assets/usePathSuggestions-D0WVuHd1.js.br +0 -0
- package/app/dist/assets/usePathSuggestions-D0WVuHd1.js.gz +0 -0
- package/app/dist/assets/{useResolvedLiveFileTarget-Ds5mNteC.js → useResolvedLiveFileTarget-o9WlVHUW.js} +1 -1
- package/app/dist/assets/useResolvedLiveFileTarget-o9WlVHUW.js.br +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-o9WlVHUW.js.gz +0 -0
- package/app/dist/assets/{useThreadTerminalController-BBSkeWRP.js → useThreadTerminalController-CgzAV-v7.js} +1 -1
- package/app/dist/assets/useThreadTerminalController-CgzAV-v7.js.br +0 -0
- package/app/dist/assets/useThreadTerminalController-CgzAV-v7.js.gz +0 -0
- package/app/dist/assets/{workspace-checkout-display-1eTCIlDv.js → workspace-checkout-display-Cm0qdHob.js} +3 -3
- package/app/dist/assets/workspace-checkout-display-Cm0qdHob.js.br +0 -0
- package/app/dist/assets/workspace-checkout-display-Cm0qdHob.js.gz +0 -0
- package/app/dist/index.html +1 -1
- package/app/dist/index.html.br +0 -0
- package/app/dist/index.html.gz +0 -0
- package/dist/index.d.ts +9 -9
- package/package.json +1 -1
- package/server/dist/builtin-plugins/account-pool/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/account-pool/dist/server.js +24 -24
- package/server/dist/builtin-plugins/account-pool/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/agent-annotations/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/agent-annotations/dist/server.js +3 -3
- package/server/dist/builtin-plugins/agent-annotations/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/ask-user-question/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/ask-user-question/dist/server.js +4 -4
- package/server/dist/builtin-plugins/ask-user-question/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/automations/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/automations/dist/server.js +21 -21
- package/server/dist/builtin-plugins/automations/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/bb-guide/dist/server.js +1 -1
- package/server/dist/builtin-plugins/bb-guide/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/browser-automation/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/browser-automation/dist/host.js +9 -9
- package/server/dist/builtin-plugins/browser-automation/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/browser-automation/dist/server.js +5 -5
- package/server/dist/builtin-plugins/browser-automation/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/concurrency-limit/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/concurrency-limit/dist/host.js +3 -3
- package/server/dist/builtin-plugins/concurrency-limit/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/concurrency-limit/dist/server.js +4 -4
- package/server/dist/builtin-plugins/concurrency-limit/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/connect/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/connect/dist/server.js +14 -14
- package/server/dist/builtin-plugins/connect/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/custom-instructions/dist/server.js +2 -2
- package/server/dist/builtin-plugins/custom-instructions/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/docs/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/docs/dist/server.js +4 -4
- package/server/dist/builtin-plugins/docs/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/drafts/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/drafts/dist/server.js +1 -1
- package/server/dist/builtin-plugins/drafts/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/environment-git-worktree/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/environment-git-worktree/dist/host.js +8 -8
- package/server/dist/builtin-plugins/environment-git-worktree/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/environment-git-worktree/dist/server.js +3 -3
- package/server/dist/builtin-plugins/environment-git-worktree/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/environment-modal-sandbox/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/environment-modal-sandbox/dist/server.js +19 -19
- package/server/dist/builtin-plugins/environment-modal-sandbox/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/environment-personal-workspace/dist/host.js +4 -4
- package/server/dist/builtin-plugins/environment-personal-workspace/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/environment-personal-workspace/dist/server.js +4 -4
- package/server/dist/builtin-plugins/environment-personal-workspace/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/environment-project-checkout/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/environment-project-checkout/dist/host.js +4 -4
- package/server/dist/builtin-plugins/environment-project-checkout/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/environment-project-checkout/dist/server.js +4 -4
- package/server/dist/builtin-plugins/environment-project-checkout/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/github/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/github/dist/server.js +2 -2
- package/server/dist/builtin-plugins/github/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/inline-vis/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/inline-vis/dist/server.js +2 -2
- package/server/dist/builtin-plugins/inline-vis/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/keep-awake/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/keep-awake/dist/host.js +3 -3
- package/server/dist/builtin-plugins/keep-awake/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/keep-awake/dist/server.js +3 -3
- package/server/dist/builtin-plugins/keep-awake/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/memory/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/memory/dist/server.js +3 -3
- package/server/dist/builtin-plugins/memory/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/monaco-editor/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/monaco-editor/dist/server.js +2 -2
- package/server/dist/builtin-plugins/monaco-editor/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/pdf-preview/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/pdf-preview/dist/server.js +1 -1
- package/server/dist/builtin-plugins/pdf-preview/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/plugin-api-docs/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/plugin-api-docs/dist/server.js +1 -1
- package/server/dist/builtin-plugins/plugin-api-docs/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/plugin-api-tester/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/plugin-api-tester/dist/server.js +1 -1
- package/server/dist/builtin-plugins/plugin-api-tester/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-acp/dist/host.js +15 -15
- package/server/dist/builtin-plugins/provider-acp/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/provider-acp/dist/server.js +20 -20
- package/server/dist/builtin-plugins/provider-acp/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-claude-code/dist/host.js +30 -30
- package/server/dist/builtin-plugins/provider-claude-code/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/provider-claude-code/dist/server.js +5 -5
- package/server/dist/builtin-plugins/provider-claude-code/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-codex/dist/host.js +23 -23
- package/server/dist/builtin-plugins/provider-codex/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/provider-codex/dist/server.js +5 -5
- package/server/dist/builtin-plugins/provider-codex/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-pi/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-pi/dist/host.js +20 -20
- package/server/dist/builtin-plugins/provider-pi/dist/host.meta.json +2 -2
- package/server/dist/builtin-plugins/provider-pi/dist/server.js +3 -3
- package/server/dist/builtin-plugins/provider-pi/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-retry/dist/server.js +5 -5
- package/server/dist/builtin-plugins/provider-retry/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-usage/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/provider-usage/dist/server.js +6 -6
- package/server/dist/builtin-plugins/provider-usage/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/push-notifications/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/push-notifications/dist/server.js +5 -5
- package/server/dist/builtin-plugins/push-notifications/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/scheduled-send/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/scheduled-send/dist/server.js +1 -1
- package/server/dist/builtin-plugins/scheduled-send/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/secrets/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/secrets/dist/server.js +3 -3
- package/server/dist/builtin-plugins/secrets/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/side-chat/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/side-chat/dist/server.js +2 -2
- package/server/dist/builtin-plugins/side-chat/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/tasks/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/tasks/dist/server.js +24 -24
- package/server/dist/builtin-plugins/tasks/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/theme-preview/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/theme-preview/dist/server.js +2 -2
- package/server/dist/builtin-plugins/theme-preview/dist/server.meta.json +1 -1
- package/server/dist/builtin-plugins/workflows/dist/app.meta.json +1 -1
- package/server/dist/builtin-plugins/workflows/dist/server.js +22 -22
- package/server/dist/builtin-plugins/workflows/dist/server.meta.json +1 -1
- package/app/dist/assets/AppFileExternalNavigationDispatcher-BjNBScqR.js.br +0 -0
- package/app/dist/assets/AppFileExternalNavigationDispatcher-BjNBScqR.js.gz +0 -0
- package/app/dist/assets/BbDiff-12uz9IAX.js.br +0 -0
- package/app/dist/assets/BbDiff-12uz9IAX.js.gz +0 -0
- package/app/dist/assets/BbSourceCode-B5ByV-FS.js.br +0 -0
- package/app/dist/assets/BbSourceCode-B5ByV-FS.js.gz +0 -0
- package/app/dist/assets/BrowserTabDeck-CVRIa1t8.js.br +0 -0
- package/app/dist/assets/BrowserTabDeck-CVRIa1t8.js.gz +0 -0
- package/app/dist/assets/DiffHost-BMW3ydFS.js.br +0 -0
- package/app/dist/assets/DiffHost-BMW3ydFS.js.gz +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-4-BPBhuh.js.br +0 -0
- package/app/dist/assets/ExperimentalFileLinkMenu-4-BPBhuh.js.gz +0 -0
- package/app/dist/assets/FilePreview-BLUhIkKE.js.br +0 -0
- package/app/dist/assets/FilePreview-BLUhIkKE.js.gz +0 -0
- package/app/dist/assets/GitDiffCardHeader-EEoiwhTP.js.br +0 -0
- package/app/dist/assets/GitDiffCardHeader-EEoiwhTP.js.gz +0 -0
- package/app/dist/assets/MachineRenameDialog-D5punQm7.js.br +0 -0
- package/app/dist/assets/MachineRenameDialog-D5punQm7.js.gz +0 -0
- package/app/dist/assets/MachineSettingsView-BB8sWZCY.js.br +0 -0
- package/app/dist/assets/MachineSettingsView-BB8sWZCY.js.gz +0 -0
- package/app/dist/assets/NewTabPage-BF31qJOv.js.br +0 -0
- package/app/dist/assets/NewTabPage-BF31qJOv.js.gz +0 -0
- package/app/dist/assets/OptionPicker-CS_rzYKC.js.br +0 -0
- package/app/dist/assets/OptionPicker-CS_rzYKC.js.gz +0 -0
- package/app/dist/assets/PaneMaximizeButton-BX9O85-9.js.br +0 -0
- package/app/dist/assets/PaneMaximizeButton-BX9O85-9.js.gz +0 -0
- package/app/dist/assets/PierreLineSelectionActions-Dv6SPPb_.js.br +0 -0
- package/app/dist/assets/PierreLineSelectionActions-Dv6SPPb_.js.gz +0 -0
- package/app/dist/assets/PluginPanelActions-Brw0eTmm.js.br +0 -0
- package/app/dist/assets/PluginPanelActions-Brw0eTmm.js.gz +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-heDcnHb6.js.br +0 -0
- package/app/dist/assets/PluginPanelRightPanelHost-heDcnHb6.js.gz +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-D_Vdu2ce.js.br +0 -0
- package/app/dist/assets/ProjectDetailSettingsView-D_Vdu2ce.js.gz +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-BY8TrS7P.js.br +0 -0
- package/app/dist/assets/ProjectMachineSetupDialog-BY8TrS7P.js.gz +0 -0
- package/app/dist/assets/ProjectsSettingsSection-DMgbOzi0.js.br +0 -0
- package/app/dist/assets/ProjectsSettingsSection-DMgbOzi0.js.gz +0 -0
- package/app/dist/assets/SecondaryPanelLayout-DK9e6Wvw.js.br +0 -0
- package/app/dist/assets/SecondaryPanelLayout-DK9e6Wvw.js.gz +0 -0
- package/app/dist/assets/SettingsView-Dba7HBKl.js.br +0 -0
- package/app/dist/assets/SettingsView-Dba7HBKl.js.gz +0 -0
- package/app/dist/assets/SourceCodeHost-kd2wce0c.js.br +0 -0
- package/app/dist/assets/SourceCodeHost-kd2wce0c.js.gz +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-DRdQCrgp.js.br +0 -0
- package/app/dist/assets/SplitWorkspaceRoute-DRdQCrgp.js.gz +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-BG5X0DsN.js.br +0 -0
- package/app/dist/assets/ThreadSearchPaletteMode-BG5X0DsN.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-BWsbxGu_.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanel-BWsbxGu_.js.gz +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-Hw4tkdnw.js.br +0 -0
- package/app/dist/assets/ThreadSecondaryPanelTabContent-Hw4tkdnw.js.gz +0 -0
- package/app/dist/assets/ThreadStorageFileTree-sMfYZ-yr.js.br +0 -0
- package/app/dist/assets/ThreadStorageFileTree-sMfYZ-yr.js.gz +0 -0
- package/app/dist/assets/ThreadTerminalPanel-D8GLBGQ6.js.br +0 -0
- package/app/dist/assets/ThreadTerminalPanel-D8GLBGQ6.js.gz +0 -0
- package/app/dist/assets/TimelineDetailScroll-CJxHbZ11.js.br +0 -0
- package/app/dist/assets/TimelineDetailScroll-CJxHbZ11.js.gz +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-D0UsFk6L.js.br +0 -0
- package/app/dist/assets/TimelineFileDiffBlock-D0UsFk6L.js.gz +0 -0
- package/app/dist/assets/TimelineSelectionMenu-tjYTa_Nz.js.br +0 -0
- package/app/dist/assets/TimelineSelectionMenu-tjYTa_Nz.js.gz +0 -0
- package/app/dist/assets/ToolsView-oVQgCd9D.js.br +0 -0
- package/app/dist/assets/ToolsView-oVQgCd9D.js.gz +0 -0
- package/app/dist/assets/absolute-file-path-B8rvpN6h.js.br +0 -0
- package/app/dist/assets/absolute-file-path-B8rvpN6h.js.gz +0 -0
- package/app/dist/assets/browser-url-DBXpmDyy.js.br +0 -0
- package/app/dist/assets/browser-url-DBXpmDyy.js.gz +0 -0
- package/app/dist/assets/code-loading-skeletons-BSCBLTPn.js.br +0 -0
- package/app/dist/assets/code-loading-skeletons-BSCBLTPn.js.gz +0 -0
- package/app/dist/assets/environment-queries-CPfRGBmD.js.br +0 -0
- package/app/dist/assets/environment-queries-CPfRGBmD.js.gz +0 -0
- package/app/dist/assets/file-path-link-Cj-hPyCZ.js.br +0 -0
- package/app/dist/assets/file-path-link-Cj-hPyCZ.js.gz +0 -0
- package/app/dist/assets/host-mutations-B97HiIxn.js.br +0 -0
- package/app/dist/assets/host-mutations-B97HiIxn.js.gz +0 -0
- package/app/dist/assets/icon-extended-EN13GZdT.js.br +0 -0
- package/app/dist/assets/icon-extended-EN13GZdT.js.gz +0 -0
- package/app/dist/assets/index-C5R2EQf4.js.br +0 -0
- package/app/dist/assets/index-C5R2EQf4.js.gz +0 -0
- package/app/dist/assets/launcherRow-jBXN_s_6.js.br +0 -0
- package/app/dist/assets/launcherRow-jBXN_s_6.js.gz +0 -0
- package/app/dist/assets/machine-provider-queries-DKwDoXks.js.br +0 -0
- package/app/dist/assets/machine-provider-queries-DKwDoXks.js.gz +0 -0
- package/app/dist/assets/markdown-preview-DHAQdwAu.js.br +0 -0
- package/app/dist/assets/markdown-preview-DHAQdwAu.js.gz +0 -0
- package/app/dist/assets/open-in-editor-button-EKbyr9fS.js.gz +0 -0
- package/app/dist/assets/page-shell-DHP7X_Rt.js.br +0 -0
- package/app/dist/assets/page-shell-DHP7X_Rt.js.gz +0 -0
- package/app/dist/assets/pierre-worker-pool-DddCdbqT.js.br +0 -0
- package/app/dist/assets/pierre-worker-pool-DddCdbqT.js.gz +0 -0
- package/app/dist/assets/plugin-catalog-queries-mWlJEp8o.js.br +0 -0
- package/app/dist/assets/plugin-catalog-queries-mWlJEp8o.js.gz +0 -0
- package/app/dist/assets/plugin-detail-navigation-BvnYG1vG.js.br +0 -0
- package/app/dist/assets/plugin-detail-navigation-BvnYG1vG.js.gz +0 -0
- package/app/dist/assets/plugin-frontend-BZy0QzmI.js.br +0 -0
- package/app/dist/assets/plugin-frontend-BZy0QzmI.js.gz +0 -0
- package/app/dist/assets/project-default-execution-options-query-BXYO-hGv.js.br +0 -0
- package/app/dist/assets/project-default-execution-options-query-BXYO-hGv.js.gz +0 -0
- package/app/dist/assets/resource-list-D_oVsoA6.js.br +0 -0
- package/app/dist/assets/resource-list-D_oVsoA6.js.gz +0 -0
- package/app/dist/assets/root-compose-create-preference-DCx3CWwe.js.br +0 -0
- package/app/dist/assets/root-compose-create-preference-DCx3CWwe.js.gz +0 -0
- package/app/dist/assets/settings-section-BEqzIulW.js.br +0 -0
- package/app/dist/assets/settings-section-BEqzIulW.js.gz +0 -0
- package/app/dist/assets/thread-terminal-queries-y6HeNWQc.js.br +0 -0
- package/app/dist/assets/thread-terminal-queries-y6HeNWQc.js.gz +0 -0
- package/app/dist/assets/threadRecentItems-DBmfDN5s.js.br +0 -0
- package/app/dist/assets/threadRecentItems-DBmfDN5s.js.gz +0 -0
- package/app/dist/assets/use-hover-popover-BUPmV7Lx.js.br +0 -0
- package/app/dist/assets/use-hover-popover-BUPmV7Lx.js.gz +0 -0
- package/app/dist/assets/useLocalOpenTargets-CDHNvnze.js.br +0 -0
- package/app/dist/assets/useLocalOpenTargets-CDHNvnze.js.gz +0 -0
- package/app/dist/assets/usePathSuggestions-Dhrastgl.js.br +0 -0
- package/app/dist/assets/usePathSuggestions-Dhrastgl.js.gz +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-Ds5mNteC.js.br +0 -0
- package/app/dist/assets/useResolvedLiveFileTarget-Ds5mNteC.js.gz +0 -0
- package/app/dist/assets/useThreadTerminalController-BBSkeWRP.js.br +0 -0
- package/app/dist/assets/useThreadTerminalController-BBSkeWRP.js.gz +0 -0
- package/app/dist/assets/workspace-checkout-display-1eTCIlDv.js.br +0 -0
- package/app/dist/assets/workspace-checkout-display-1eTCIlDv.js.gz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{$r as t,Ai as n,Zr as r,bi as i,li as a,si as o}from"./boot-vendor-DmI63oXH.js";import{$r as s,Ch as c,Cr as l,Dh as ee,Hr as u,Qr as d,Ss as f,Tn as p,Vi as m,Yu as h,_r as g,bo as _,br as v,em as y,gr as b,hr as x,ih as te,ii as S,or as C,pr as w,qu as T,ti as E,vr as D,wn as O,wr as k,xr as A}from"./index-C5R2EQf4.js";import{s as j,t as ne}from"./page-shell-DHP7X_Rt.js";import{t as re}from"./project-default-execution-options-query-BXYO-hGv.js";import{S as ie}from"./resource-list-D_oVsoA6.js";import{a as M,i as N,n as P,r as ae,t as oe}from"./settings-section-BEqzIulW.js";import{n as se,r as F,s as ce}from"./ProjectsSettingsSection-DMgbOzi0.js";import"./icon-extended-EN13GZdT.js";import{t as le}from"./ProjectMachineSetupDialog-BY8TrS7P.js";var I=e(n(),1),L=r(),R=e(i(),1);function ue(e){let t=(0,L.c)(8),{target:n,pending:r,onOpenChange:i,onDelete:a}=e,o=n!==null,s;t[0]!==a||t[1]!==r||t[2]!==n?(s=n?(0,R.jsx)(z,{target:n,pending:r,onDelete:a}):null,t[0]=a,t[1]=r,t[2]=n,t[3]=s):s=t[3];let c;return t[4]!==i||t[5]!==o||t[6]!==s?(c=(0,R.jsx)(b,{open:o,onOpenChange:i,children:s}),t[4]=i,t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function z(e){let t=(0,L.c)(7),{target:n,pending:r,onDelete:i}=e,a=`Remove "${n.label}" from this project? This cannot be undone.`,o;t[0]!==i||t[1]!==n.id?(o=()=>i(n.id),t[0]=i,t[1]=n.id,t[2]=o):o=t[2];let s;return t[3]!==r||t[4]!==a||t[5]!==o?(s=(0,R.jsx)(g,{title:`Remove source?`,description:a,confirmLabel:`Remove source`,pending:r,onConfirm:o}),t[3]=r,t[4]=a,t[5]=o,t[6]=s):s=t[6],s}var de=`Where this project lives on each machine. A machine needs a checkout before it can run threads for this project.`,fe=`What new threads in this project start with. bb remembers the last options you used here.`;function pe(e){let n=(0,L.c)(41),{host:r,isPrimary:i,source:a,isPathInvalid:o,canEditPath:l,isOnlySource:u,pending:d,onSetUp:f,onChangePath:p,onRemove:m}=e,h=r.status===`connected`,g=!h&&`opacity-60`,_;n[0]===g?_=n[1]:(_=ee(`size-4 shrink-0 text-muted-foreground`,g),n[0]=g,n[1]=_);let v;n[2]===_?v=n[3]:(v=(0,R.jsx)(c,{name:`Laptop`,className:_}),n[2]=_,n[3]=v);let y;n[4]===h?y=n[5]:(y=(0,R.jsx)(s,{connected:h}),n[4]=h,n[5]=y);let b;n[6]===r.id?b=n[7]:(b=T(r.id),n[6]=r.id,n[7]=b);let x;n[8]!==r.name||n[9]!==b?(x=(0,R.jsx)(t,{to:b,className:`min-w-0 truncate text-sm font-medium text-foreground hover:underline`,children:r.name}),n[8]=r.name,n[9]=b,n[10]=x):x=n[10];let S;n[11]===i?S=n[12]:(S=i?(0,R.jsx)(oe,{children:`primary`}):null,n[11]=i,n[12]=S);let w;n[13]===o?w=n[14]:(w=o?(0,R.jsx)(C,{variant:`destructive`,children:`Path not found`}):null,n[13]=o,n[14]=w);let E;n[15]!==v||n[16]!==y||n[17]!==x||n[18]!==S||n[19]!==w?(E=(0,R.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[v,y,x,S,w]}),n[15]=v,n[16]=y,n[17]=x,n[18]=S,n[19]=w,n[20]=E):E=n[20];let D;n[21]===a?D=n[22]:(D=a===null?(0,R.jsx)(`span`,{className:`font-sans italic`,children:`Not set up on this machine`}):a.path,n[21]=a,n[22]=D);let O;n[23]===D?O=n[24]:(O=(0,R.jsx)(`div`,{className:`min-w-0 truncate font-mono text-xs text-subtle-foreground/75`,children:D}),n[23]=D,n[24]=O);let k;n[25]!==O||n[26]!==E?(k=(0,R.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-0.5`,children:[E,O]}),n[25]=O,n[26]=E,n[27]=k):k=n[27];let A;n[28]!==l||n[29]!==h||n[30]!==r.name||n[31]!==u||n[32]!==p||n[33]!==m||n[34]!==f||n[35]!==d||n[36]!==a?(A=(0,R.jsx)(`div`,{className:`flex shrink-0 items-center gap-1`,children:a===null?(0,R.jsx)(te,{type:`button`,variant:`outline`,size:`sm`,disabled:d||!h,onClick:f,children:h?`Set up`:`Offline`}):(0,R.jsx)(ie,{label:`${r.name} checkout actions`,items:[{label:`Change folder`,icon:`Folder`,disabled:!l||d,disabledReason:l?void 0:`Folders on other machines are changed from that machine.`,onSelect:p},{label:`Remove checkout`,icon:`Trash2`,tone:`destructive`,disabled:u||d,disabledReason:u?`A project needs at least one checkout.`:void 0,onSelect:m}]})}),n[28]=l,n[29]=h,n[30]=r.name,n[31]=u,n[32]=p,n[33]=m,n[34]=f,n[35]=d,n[36]=a,n[37]=A):A=n[37];let j;return n[38]!==k||n[39]!==A?(j=(0,R.jsxs)(ae,{className:`items-start`,children:[k,A]}),n[38]=k,n[39]=A,n[40]=j):j=n[40],j}function B(e){let n=(0,L.c)(4),{children:r}=e,i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=h(`projects`),n[0]=i):i=n[0];let a;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,R.jsxs)(t,{to:i,className:`inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground`,children:[(0,R.jsx)(c,{name:`ChevronLeft`,className:`size-3.5`}),`Projects`]}),n[1]=a):a=n[1];let o;return n[2]===r?o=n[3]:(o=(0,R.jsx)(ne,{contentClassName:`pt-4 md:pt-5`,children:(0,R.jsxs)(`div`,{className:`mx-auto w-full max-w-3xl space-y-3`,children:[a,r]})}),n[2]=r,n[3]=o),o}function me(){let{projectId:e}=a(),n=o(),r=f(),i=S(),s=_(),g=re({projectId:e}),b=k(),C=A(),T=D(),L=l(),z=v(),[me,V]=(0,I.useState)(null),[he,H]=(0,I.useState)(null),[ge,U]=(0,I.useState)(null),[_e,W]=(0,I.useState)(null),ve=r.data?.projects,G=ve?.find(t=>t.id===e)??null,ye=G?.sources,K=(0,I.useMemo)(()=>ye??[],[ye]),be=G?.name??``,xe=(0,I.useMemo)(()=>E(i.data,`all`),[i.data]),Se=(0,I.useMemo)(()=>E(i.data,`persistent`),[i.data]),[q,Ce]=(0,I.useState)(!1),J=q?xe:Se,we=xe.length-Se.length,Te=s.data?.primaryHostId??null,Y=T.isPending||L.isPending,X=u({isPending:Y,submit:(0,I.useCallback)(({path:t,hostId:n,target:r,closeDialog:i})=>{if(e){if(r.kind===`add-source`)T.mutate({projectId:e,path:t,hostId:n},{onSuccess:i});else if(r.kind===`update`){let r=K.find(e=>e.hostId===n);if(!r)return;L.mutate({projectId:e,sourceId:r.id,path:t},{onSuccess:i})}}},[T,e,K,L])}),Z=X.hostId,Ee=p(Z,(0,I.useMemo)(()=>Z?K.filter(e=>e.hostId===Z).map(e=>e.path):[],[Z,K])),De=(0,I.useCallback)(e=>{if(G){if(e.id===Z){X.openPicker({kind:`add-source`,projectId:G.id,projectName:G.name});return}W({projectId:G.id,projectName:G.name,gitRemoteUrl:G.gitRemoteUrl,hostId:e.id,hostName:e.name})}},[X,Z,G]);if(r.isError||i.isError)return(0,R.jsx)(B,{children:(0,R.jsx)(`p`,{className:`text-sm text-destructive`,role:`alert`,children:`Couldn't load this project.`})});if(ve===void 0||i.data===void 0)return(0,R.jsx)(B,{children:(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`})});if(G===null)return(0,R.jsx)(B,{children:(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`This project no longer exists.`})});let Oe=G.gitRemoteUrl===null?null:se(G.gitRemoteUrl),ke=new Set(K.map(e=>e.hostId)),Q=J.filter(e=>ke.has(e.id)).length,$=g.data??null,Ae=$===null?null:j.find(e=>e.value===$.permissionMode)?.label??$.permissionMode,je=Date.now();return(0,R.jsxs)(ne,{contentClassName:`pt-4 md:pt-5`,children:[(0,R.jsxs)(`div`,{className:`mx-auto w-full max-w-3xl space-y-6 pb-10`,children:[(0,R.jsxs)(`div`,{className:`space-y-3`,children:[(0,R.jsxs)(t,{to:h(`projects`),className:`inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground`,children:[(0,R.jsx)(c,{name:`ChevronLeft`,className:`size-3.5`}),`Projects`]}),(0,R.jsxs)(`div`,{className:`flex min-w-0 items-start justify-between gap-3`,children:[(0,R.jsxs)(`div`,{className:`min-w-0`,children:[(0,R.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,R.jsx)(c,{name:`FolderGit`,className:`size-4 shrink-0 text-muted-foreground`}),(0,R.jsx)(`h1`,{className:`min-w-0 truncate text-sm font-semibold text-foreground`,children:G.name}),Q===0?(0,R.jsx)(oe,{children:`needs setup`}):null]}),(0,R.jsxs)(`p`,{className:`mt-1 min-w-0 truncate text-xs text-subtle-foreground/75`,children:[Oe??`No git remote`,` · `,J.length>1?`${Q} of ${F(J.length,`machine`)}`:F(Q,`machine`),` · `,F(G.threads.length,`thread`)]})]}),(0,R.jsx)(ie,{label:`${G.name} actions`,items:[{label:`Rename`,icon:`Edit`,onSelect:()=>{b.reset(),V({id:G.id,currentName:G.name})}}]})]})]}),(0,R.jsxs)(M,{title:`Checkouts`,description:de,children:[J.length===0?(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No machines are paired yet.`}):(0,R.jsx)(N,{children:J.map(e=>{let t=y(K,e.id),n=e.id===Z;return(0,R.jsx)(pe,{host:e,isPrimary:J.length>1&&e.id===Te,source:t??null,isPathInvalid:t!==void 0&&n&&O(Ee,t.path),canEditPath:n,isOnlySource:K.length<=1,pending:Y||z.isPending,onSetUp:()=>De(e),onChangePath:()=>{t&&X.openPicker({kind:`update`,projectId:G.id,projectName:be,currentPath:t.path})},onRemove:()=>{t&&U({id:t.id,label:`${e.name} · ${t.path}`})}},e.id)})}),we>0?(0,R.jsxs)(`button`,{type:`button`,"aria-expanded":q,onClick:()=>Ce(e=>!e),className:`-ml-1 inline-flex items-center gap-1.5 self-start rounded-md px-1.5 py-0.5 text-xs text-muted-foreground transition-colors hover:bg-state-hover hover:text-foreground`,children:[(0,R.jsx)(c,{name:`ChevronDown`,className:ee(`size-3.5 transition-transform`,q&&`rotate-180`),"aria-hidden":!0}),(0,R.jsx)(`span`,{children:q?`Show fewer machines`:`Show all machines`})]}):null]}),(0,R.jsx)(M,{title:`Thread defaults`,description:fe,children:g.isError?(0,R.jsx)(`p`,{className:`text-sm text-destructive`,role:`alert`,children:`Couldn't load thread defaults.`}):g.isPending?(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`}):$===null?(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No threads have run here yet. The first thread's options become the defaults.`}):(0,R.jsxs)(N,{children:[(0,R.jsx)(P,{label:`Provider`,children:(0,R.jsx)(`span`,{children:$.providerId})}),(0,R.jsx)(P,{label:`Model`,children:(0,R.jsx)(`span`,{className:`font-mono text-xs`,children:$.model})}),(0,R.jsx)(P,{label:`Permission mode`,children:(0,R.jsx)(`span`,{children:Ae})}),(0,R.jsx)(P,{label:`Reasoning`,children:(0,R.jsx)(`span`,{children:$.reasoningLevel})})]})}),(0,R.jsx)(M,{title:`Project information`,children:(0,R.jsxs)(N,{children:[(0,R.jsx)(P,{label:`Git remote`,children:G.gitRemoteUrl===null?(0,R.jsx)(`span`,{children:`None detected`}):(0,R.jsx)(`span`,{className:`min-w-0 truncate font-mono text-xs`,children:G.gitRemoteUrl})}),(0,R.jsx)(P,{label:`Project ID`,children:(0,R.jsx)(`span`,{className:`font-mono text-xs`,children:G.id})}),(0,R.jsx)(P,{label:`Created`,children:(0,R.jsx)(`span`,{children:m({timestamp:G.createdAt,now:je})})})]})}),(0,R.jsx)(ce,{projectId:G.id}),(0,R.jsx)(M,{title:`Danger zone`,description:`Deleting ${G.name} removes the project and every thread in it, including archived ones. Checkouts stay on disk.`,children:(0,R.jsx)(N,{children:(0,R.jsx)(ae,{children:(0,R.jsx)(te,{type:`button`,variant:`destructive`,size:`sm`,onClick:()=>{C.reset(),H({id:G.id,name:G.name})},children:`Delete project`})})})})]}),(0,R.jsx)(d,{target:X.projectPathDialog.target,pending:Y,platform:X.platform,hostId:X.hostId,hostName:X.hostName,onOpenChange:X.projectPathDialog.onOpenChange,onSubmit:X.submitProjectPath}),(0,R.jsx)(le,{target:_e,onOpenChange:e=>{e||W(null)},onComplete:()=>W(null)}),(0,R.jsx)(ue,{target:ge,pending:z.isPending,onOpenChange:e=>{e||U(null)},onDelete:e=>z.mutate({projectId:G.id,sourceId:e},{onSuccess:()=>U(null)})}),(0,R.jsx)(w,{target:me,pending:b.isPending,onOpenChange:e=>{!e&&!b.isPending&&V(null)},onRename:(e,t)=>b.mutate({id:e,name:t},{onSuccess:()=>V(null)})}),(0,R.jsx)(x,{target:he,pending:C.isPending,onOpenChange:e=>{!e&&!C.isPending&&H(null)},onDelete:e=>C.mutate(e,{onSuccess:()=>{H(null),n(h(`projects`),{replace:!0})}})})]})}export{me as ProjectDetailSettingsView};
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{$r as t,Ai as n,Zr as r,bi as i,li as a,si as o}from"./boot-vendor-DmI63oXH.js";import{$r as s,Ch as c,Cr as l,Dh as ee,Hr as u,Qr as d,Ss as f,Tn as p,Vi as m,Yu as h,_r as g,bo as _,br as v,em as y,gr as b,hr as x,ih as te,ii as S,or as C,pr as w,qu as T,ti as E,vr as D,wn as O,wr as k,xr as A}from"./index-DecRjD4J.js";import{s as j,t as ne}from"./page-shell-KqI9laXh.js";import{t as re}from"./project-default-execution-options-query-DgwHHJgk.js";import{S as ie}from"./resource-list-Bjgzb5y2.js";import{a as M,i as N,n as P,r as ae,t as oe}from"./settings-section-Dl4EomFb.js";import{n as se,r as F,s as ce}from"./ProjectsSettingsSection-CWiPZs3X.js";import"./icon-extended-BVbuxg1V.js";import{t as le}from"./ProjectMachineSetupDialog-Bt-cA5q8.js";var I=e(n(),1),L=r(),R=e(i(),1);function ue(e){let t=(0,L.c)(8),{target:n,pending:r,onOpenChange:i,onDelete:a}=e,o=n!==null,s;t[0]!==a||t[1]!==r||t[2]!==n?(s=n?(0,R.jsx)(z,{target:n,pending:r,onDelete:a}):null,t[0]=a,t[1]=r,t[2]=n,t[3]=s):s=t[3];let c;return t[4]!==i||t[5]!==o||t[6]!==s?(c=(0,R.jsx)(b,{open:o,onOpenChange:i,children:s}),t[4]=i,t[5]=o,t[6]=s,t[7]=c):c=t[7],c}function z(e){let t=(0,L.c)(7),{target:n,pending:r,onDelete:i}=e,a=`Remove "${n.label}" from this project? This cannot be undone.`,o;t[0]!==i||t[1]!==n.id?(o=()=>i(n.id),t[0]=i,t[1]=n.id,t[2]=o):o=t[2];let s;return t[3]!==r||t[4]!==a||t[5]!==o?(s=(0,R.jsx)(g,{title:`Remove source?`,description:a,confirmLabel:`Remove source`,pending:r,onConfirm:o}),t[3]=r,t[4]=a,t[5]=o,t[6]=s):s=t[6],s}var de=`Where this project lives on each machine. A machine needs a checkout before it can run threads for this project.`,fe=`What new threads in this project start with. bb remembers the last options you used here.`;function pe(e){let n=(0,L.c)(41),{host:r,isPrimary:i,source:a,isPathInvalid:o,canEditPath:l,isOnlySource:u,pending:d,onSetUp:f,onChangePath:p,onRemove:m}=e,h=r.status===`connected`,g=!h&&`opacity-60`,_;n[0]===g?_=n[1]:(_=ee(`size-4 shrink-0 text-muted-foreground`,g),n[0]=g,n[1]=_);let v;n[2]===_?v=n[3]:(v=(0,R.jsx)(c,{name:`Laptop`,className:_}),n[2]=_,n[3]=v);let y;n[4]===h?y=n[5]:(y=(0,R.jsx)(s,{connected:h}),n[4]=h,n[5]=y);let b;n[6]===r.id?b=n[7]:(b=T(r.id),n[6]=r.id,n[7]=b);let x;n[8]!==r.name||n[9]!==b?(x=(0,R.jsx)(t,{to:b,className:`min-w-0 truncate text-sm font-medium text-foreground hover:underline`,children:r.name}),n[8]=r.name,n[9]=b,n[10]=x):x=n[10];let S;n[11]===i?S=n[12]:(S=i?(0,R.jsx)(oe,{children:`primary`}):null,n[11]=i,n[12]=S);let w;n[13]===o?w=n[14]:(w=o?(0,R.jsx)(C,{variant:`destructive`,children:`Path not found`}):null,n[13]=o,n[14]=w);let E;n[15]!==v||n[16]!==y||n[17]!==x||n[18]!==S||n[19]!==w?(E=(0,R.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[v,y,x,S,w]}),n[15]=v,n[16]=y,n[17]=x,n[18]=S,n[19]=w,n[20]=E):E=n[20];let D;n[21]===a?D=n[22]:(D=a===null?(0,R.jsx)(`span`,{className:`font-sans italic`,children:`Not set up on this machine`}):a.path,n[21]=a,n[22]=D);let O;n[23]===D?O=n[24]:(O=(0,R.jsx)(`div`,{className:`min-w-0 truncate font-mono text-xs text-subtle-foreground/75`,children:D}),n[23]=D,n[24]=O);let k;n[25]!==O||n[26]!==E?(k=(0,R.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-0.5`,children:[E,O]}),n[25]=O,n[26]=E,n[27]=k):k=n[27];let A;n[28]!==l||n[29]!==h||n[30]!==r.name||n[31]!==u||n[32]!==p||n[33]!==m||n[34]!==f||n[35]!==d||n[36]!==a?(A=(0,R.jsx)(`div`,{className:`flex shrink-0 items-center gap-1`,children:a===null?(0,R.jsx)(te,{type:`button`,variant:`outline`,size:`sm`,disabled:d||!h,onClick:f,children:h?`Set up`:`Offline`}):(0,R.jsx)(ie,{label:`${r.name} checkout actions`,items:[{label:`Change folder`,icon:`Folder`,disabled:!l||d,disabledReason:l?void 0:`Folders on other machines are changed from that machine.`,onSelect:p},{label:`Remove checkout`,icon:`Trash2`,tone:`destructive`,disabled:u||d,disabledReason:u?`A project needs at least one checkout.`:void 0,onSelect:m}]})}),n[28]=l,n[29]=h,n[30]=r.name,n[31]=u,n[32]=p,n[33]=m,n[34]=f,n[35]=d,n[36]=a,n[37]=A):A=n[37];let j;return n[38]!==k||n[39]!==A?(j=(0,R.jsxs)(ae,{className:`items-start`,children:[k,A]}),n[38]=k,n[39]=A,n[40]=j):j=n[40],j}function B(e){let n=(0,L.c)(4),{children:r}=e,i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=h(`projects`),n[0]=i):i=n[0];let a;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,R.jsxs)(t,{to:i,className:`inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground`,children:[(0,R.jsx)(c,{name:`ChevronLeft`,className:`size-3.5`}),`Projects`]}),n[1]=a):a=n[1];let o;return n[2]===r?o=n[3]:(o=(0,R.jsx)(ne,{contentClassName:`pt-4 md:pt-5`,children:(0,R.jsxs)(`div`,{className:`mx-auto w-full max-w-3xl space-y-3`,children:[a,r]})}),n[2]=r,n[3]=o),o}function me(){let{projectId:e}=a(),n=o(),r=f(),i=S(),s=_(),g=re({projectId:e}),b=k(),C=A(),T=D(),L=l(),z=v(),[me,V]=(0,I.useState)(null),[he,H]=(0,I.useState)(null),[ge,U]=(0,I.useState)(null),[_e,W]=(0,I.useState)(null),ve=r.data?.projects,G=ve?.find(t=>t.id===e)??null,ye=G?.sources,K=(0,I.useMemo)(()=>ye??[],[ye]),be=G?.name??``,xe=(0,I.useMemo)(()=>E(i.data,`all`),[i.data]),Se=(0,I.useMemo)(()=>E(i.data,`persistent`),[i.data]),[q,Ce]=(0,I.useState)(!1),J=q?xe:Se,we=xe.length-Se.length,Te=s.data?.primaryHostId??null,Y=T.isPending||L.isPending,X=u({isPending:Y,submit:(0,I.useCallback)(({path:t,hostId:n,target:r,closeDialog:i})=>{if(e){if(r.kind===`add-source`)T.mutate({projectId:e,path:t,hostId:n},{onSuccess:i});else if(r.kind===`update`){let r=K.find(e=>e.hostId===n);if(!r)return;L.mutate({projectId:e,sourceId:r.id,path:t},{onSuccess:i})}}},[T,e,K,L])}),Z=X.hostId,Ee=p(Z,(0,I.useMemo)(()=>Z?K.filter(e=>e.hostId===Z).map(e=>e.path):[],[Z,K])),De=(0,I.useCallback)(e=>{if(G){if(e.id===Z){X.openPicker({kind:`add-source`,projectId:G.id,projectName:G.name});return}W({projectId:G.id,projectName:G.name,gitRemoteUrl:G.gitRemoteUrl,hostId:e.id,hostName:e.name})}},[X,Z,G]);if(r.isError||i.isError)return(0,R.jsx)(B,{children:(0,R.jsx)(`p`,{className:`text-sm text-destructive`,role:`alert`,children:`Couldn't load this project.`})});if(ve===void 0||i.data===void 0)return(0,R.jsx)(B,{children:(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`})});if(G===null)return(0,R.jsx)(B,{children:(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`This project no longer exists.`})});let Oe=G.gitRemoteUrl===null?null:se(G.gitRemoteUrl),ke=new Set(K.map(e=>e.hostId)),Q=J.filter(e=>ke.has(e.id)).length,$=g.data??null,Ae=$===null?null:j.find(e=>e.value===$.permissionMode)?.label??$.permissionMode,je=Date.now();return(0,R.jsxs)(ne,{contentClassName:`pt-4 md:pt-5`,children:[(0,R.jsxs)(`div`,{className:`mx-auto w-full max-w-3xl space-y-6 pb-10`,children:[(0,R.jsxs)(`div`,{className:`space-y-3`,children:[(0,R.jsxs)(t,{to:h(`projects`),className:`inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground`,children:[(0,R.jsx)(c,{name:`ChevronLeft`,className:`size-3.5`}),`Projects`]}),(0,R.jsxs)(`div`,{className:`flex min-w-0 items-start justify-between gap-3`,children:[(0,R.jsxs)(`div`,{className:`min-w-0`,children:[(0,R.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,R.jsx)(c,{name:`FolderGit`,className:`size-4 shrink-0 text-muted-foreground`}),(0,R.jsx)(`h1`,{className:`min-w-0 truncate text-sm font-semibold text-foreground`,children:G.name}),Q===0?(0,R.jsx)(oe,{children:`needs setup`}):null]}),(0,R.jsxs)(`p`,{className:`mt-1 min-w-0 truncate text-xs text-subtle-foreground/75`,children:[Oe??`No git remote`,` · `,J.length>1?`${Q} of ${F(J.length,`machine`)}`:F(Q,`machine`),` · `,F(G.threads.length,`thread`)]})]}),(0,R.jsx)(ie,{label:`${G.name} actions`,items:[{label:`Rename`,icon:`Edit`,onSelect:()=>{b.reset(),V({id:G.id,currentName:G.name})}}]})]})]}),(0,R.jsxs)(M,{title:`Checkouts`,description:de,children:[J.length===0?(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No machines are paired yet.`}):(0,R.jsx)(N,{children:J.map(e=>{let t=y(K,e.id),n=e.id===Z;return(0,R.jsx)(pe,{host:e,isPrimary:J.length>1&&e.id===Te,source:t??null,isPathInvalid:t!==void 0&&n&&O(Ee,t.path),canEditPath:n,isOnlySource:K.length<=1,pending:Y||z.isPending,onSetUp:()=>De(e),onChangePath:()=>{t&&X.openPicker({kind:`update`,projectId:G.id,projectName:be,currentPath:t.path})},onRemove:()=>{t&&U({id:t.id,label:`${e.name} · ${t.path}`})}},e.id)})}),we>0?(0,R.jsxs)(`button`,{type:`button`,"aria-expanded":q,onClick:()=>Ce(e=>!e),className:`-ml-1 inline-flex items-center gap-1.5 self-start rounded-md px-1.5 py-0.5 text-xs text-muted-foreground transition-colors hover:bg-state-hover hover:text-foreground`,children:[(0,R.jsx)(c,{name:`ChevronDown`,className:ee(`size-3.5 transition-transform`,q&&`rotate-180`),"aria-hidden":!0}),(0,R.jsx)(`span`,{children:q?`Show fewer machines`:`Show all machines`})]}):null]}),(0,R.jsx)(M,{title:`Thread defaults`,description:fe,children:g.isError?(0,R.jsx)(`p`,{className:`text-sm text-destructive`,role:`alert`,children:`Couldn't load thread defaults.`}):g.isPending?(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`}):$===null?(0,R.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`No threads have run here yet. The first thread's options become the defaults.`}):(0,R.jsxs)(N,{children:[(0,R.jsx)(P,{label:`Provider`,children:(0,R.jsx)(`span`,{children:$.providerId})}),(0,R.jsx)(P,{label:`Model`,children:(0,R.jsx)(`span`,{className:`font-mono text-xs`,children:$.model})}),(0,R.jsx)(P,{label:`Permission mode`,children:(0,R.jsx)(`span`,{children:Ae})}),(0,R.jsx)(P,{label:`Reasoning`,children:(0,R.jsx)(`span`,{children:$.reasoningLevel})})]})}),(0,R.jsx)(M,{title:`Project information`,children:(0,R.jsxs)(N,{children:[(0,R.jsx)(P,{label:`Git remote`,children:G.gitRemoteUrl===null?(0,R.jsx)(`span`,{children:`None detected`}):(0,R.jsx)(`span`,{className:`min-w-0 truncate font-mono text-xs`,children:G.gitRemoteUrl})}),(0,R.jsx)(P,{label:`Project ID`,children:(0,R.jsx)(`span`,{className:`font-mono text-xs`,children:G.id})}),(0,R.jsx)(P,{label:`Created`,children:(0,R.jsx)(`span`,{children:m({timestamp:G.createdAt,now:je})})})]})}),(0,R.jsx)(ce,{projectId:G.id}),(0,R.jsx)(M,{title:`Danger zone`,description:`Deleting ${G.name} removes the project and every thread in it, including archived ones. Checkouts stay on disk.`,children:(0,R.jsx)(N,{children:(0,R.jsx)(ae,{children:(0,R.jsx)(te,{type:`button`,variant:`destructive`,size:`sm`,onClick:()=>{C.reset(),H({id:G.id,name:G.name})},children:`Delete project`})})})})]}),(0,R.jsx)(d,{target:X.projectPathDialog.target,pending:Y,platform:X.platform,hostId:X.hostId,hostName:X.hostName,onOpenChange:X.projectPathDialog.onOpenChange,onSubmit:X.submitProjectPath}),(0,R.jsx)(le,{target:_e,onOpenChange:e=>{e||W(null)},onComplete:()=>W(null)}),(0,R.jsx)(ue,{target:ge,pending:z.isPending,onOpenChange:e=>{e||U(null)},onDelete:e=>z.mutate({projectId:G.id,sourceId:e},{onSuccess:()=>U(null)})}),(0,R.jsx)(w,{target:me,pending:b.isPending,onOpenChange:e=>{!e&&!b.isPending&&V(null)},onRename:(e,t)=>b.mutate({id:e,name:t},{onSuccess:()=>V(null)})}),(0,R.jsx)(x,{target:he,pending:C.isPending,onOpenChange:e=>{!e&&!C.isPending&&H(null)},onDelete:e=>C.mutate(e,{onSuccess:()=>{H(null),n(h(`projects`),{replace:!0})}})})]})}export{me as ProjectDetailSettingsView};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ai as t,Zr as n,bi as r}from"./boot-vendor-DmI63oXH.js";import{Ch as i,Dh as a,Fa as o,Ia as s,Ma as c,Na as l,Pa as u,Tn as d,To as f,Wc as p,ci as m,ei as h,ih as g,ja as _,nm as v,ri as y,tm as b,wn as ee,yr as x}from"./index-
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ai as t,Zr as n,bi as r}from"./boot-vendor-DmI63oXH.js";import{Ch as i,Dh as a,Fa as o,Ia as s,Ma as c,Na as l,Pa as u,Tn as d,To as f,Wc as p,ci as m,ei as h,ih as g,ja as _,nm as v,ri as y,tm as b,wn as ee,yr as x}from"./index-DecRjD4J.js";var te=n(),S=e(t(),1),C=e(r(),1);function ne(e){let t=(0,te.c)(20),{target:n,onOpenChange:r,onComplete:i}=e,a=x(),o=n?`${n.projectId}:${n.hostId}`:null,s=a.reset,l;t[0]===s?l=t[1]:(l=()=>{s()},t[0]=s,t[1]=l);let u;t[2]!==s||t[3]!==o?(u=[s,o],t[2]=s,t[3]=o,t[4]=u):u=t[4],(0,S.useEffect)(l,u);let d=n!==null,f;t[5]!==a.isPending||t[6]!==r?(f=e=>{!e&&a.isPending||r(e)},t[5]=a.isPending,t[6]=r,t[7]=f):f=t[7];let p;t[8]!==a||t[9]!==i||t[10]!==r||t[11]!==n||t[12]!==o?(p=n?(0,C.jsx)(w,{target:n,addSource:a,onOpenChange:r,onComplete:i},o):null,t[8]=a,t[9]=i,t[10]=r,t[11]=n,t[12]=o,t[13]=p):p=t[13];let m;t[14]===p?m=t[15]:(m=(0,C.jsx)(c,{children:p}),t[14]=p,t[15]=m);let h;return t[16]!==d||t[17]!==f||t[18]!==m?(h=(0,C.jsx)(_,{open:d,onOpenChange:f,children:m}),t[16]=d,t[17]=f,t[18]=m,t[19]=h):h=t[19],h}function w(e){let t=(0,te.c)(88),{target:n,addSource:r,onOpenChange:a,onComplete:c}=e,_=n.gitRemoteUrl!==null,[x,ne]=(0,S.useState)(_?`clone`:`folder`),[w,ie]=(0,S.useState)(null),[ae,T]=(0,S.useState)(!1),[E,oe]=(0,S.useState)(``),[D,se]=(0,S.useState)(null),[O,k]=(0,S.useState)(null),ce;t[0]===_?ce=t[1]:(ce={enabled:_},t[0]=_,t[1]=ce);let le=y(n.hostId,n.projectId,ce),A=w??le.data??null,ue;t[2]===D?ue=t[3]:(ue=D===null?[]:[D],t[2]=D,t[3]=ue);let de=d(x===`folder`?n.hostId:null,ue),j=r.isPending,fe;t[4]!==r||t[5]!==x||t[6]!==j?(fe=e=>{j||x===e||(ne(e),k(null),T(!1),r.reset())},t[4]=r,t[5]=x,t[6]=j,t[7]=fe):fe=t[7];let M=fe,N;t[8]!==r||t[9]!==E?(N=()=>{T(!1);let e=v(E);e&&(ie(e),k(null),r.reset())},t[8]=r,t[9]=E,t[10]=N):N=t[10];let P=N,F;t[11]!==r||t[12]!==c||t[13]!==n.hostId?(F=e=>{r.mutate(e,{onSuccess:e=>{c({hostId:n.hostId,source:e})}})},t[11]=r,t[12]=c,t[13]=n.hostId,t[14]=F):F=t[14];let I=F,L;t[15]!==w||t[16]!==de||t[17]!==D||t[18]!==x||t[19]!==j||t[20]!==I||t[21]!==n.hostId||t[22]!==n.hostName||t[23]!==n.projectId?(L=e=>{if(e.preventDefault(),!j){if(k(null),x===`clone`){if(w!==null){let e=b(w);if(e){k(e);return}}I({projectId:n.projectId,request:{type:`clone`,hostId:n.hostId,...w===null?{}:{targetPath:w}}});return}if(D===null){k(`Choose a folder.`);return}if(ee(de,D)){k(`That folder no longer exists on ${n.hostName}.`);return}I({projectId:n.projectId,request:{type:`local_path`,hostId:n.hostId,path:D}})}},t[15]=w,t[16]=de,t[17]=D,t[18]=x,t[19]=j,t[20]=I,t[21]=n.hostId,t[22]=n.hostName,t[23]=n.projectId,t[24]=L):L=t[24];let pe=L,R;t[25]!==r.error||t[26]!==r.isError||t[27]!==n.hostName||t[28]!==n.projectName?(R=r.isError?f({error:r.error,fallbackMessage:`Couldn't set up ${n.projectName} on ${n.hostName}.`}):null,t[25]=r.error,t[26]=r.isError,t[27]=n.hostName,t[28]=n.projectName,t[29]=R):R=t[29];let z=R,me=r.error instanceof p&&r.error.code===`target_not_empty`,he=j||(x===`clone`?A===null:D===null),B;t[30]!==A||t[31]!==E||t[32]!==P||t[33]!==le||t[34]!==ae||t[35]!==j?(B=ae?(0,C.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,C.jsx)(m,{"aria-label":`Clone destination`,className:`h-7 flex-1 text-xs`,value:E,disabled:j,autoFocus:!0,placeholder:le.data??`/path/to/checkout`,onChange:e=>oe(e.target.value),onKeyDown:e=>{e.key===`Enter`?(e.preventDefault(),P()):e.key===`Escape`&&(e.preventDefault(),T(!1))}}),(0,C.jsx)(g,{type:`button`,variant:`ghost`,size:`icon`,className:`size-7 shrink-0`,"aria-label":`Use this destination`,disabled:j,onClick:P,children:(0,C.jsx)(i,{name:`Check`})})]}):(0,C.jsxs)(`p`,{className:`break-all text-xs text-muted-foreground`,children:[`into `,(0,C.jsx)(`span`,{className:`text-foreground`,children:A??`…`}),` `,(0,C.jsx)(`button`,{type:`button`,className:`text-primary hover:underline disabled:opacity-50`,disabled:j,onClick:()=>{oe(A??``),T(!0)},children:`change`})]}),t[30]=A,t[31]=E,t[32]=P,t[33]=le,t[34]=ae,t[35]=j,t[36]=B):B=t[36];let ge=B,V;t[37]!==n.hostName||t[38]!==n.projectName?(V=(0,C.jsxs)(s,{children:[`Set up `,n.projectName,` on `,n.hostName]}),t[37]=n.hostName,t[38]=n.projectName,t[39]=V):V=t[39];let _e=_?`${n.hostName} doesn't have this project yet. Pick how to get it there — this happens once.`:`${n.hostName} doesn't have this project yet. Point at the project folder on ${n.hostName} — this happens once.`,H;t[40]===_e?H=t[41]:(H=(0,C.jsx)(l,{children:_e}),t[40]=_e,t[41]=H);let U;t[42]!==H||t[43]!==V?(U=(0,C.jsxs)(o,{children:[V,H]}),t[42]=H,t[43]=V,t[44]=U):U=t[44];let W;t[45]!==ge||t[46]!==_||t[47]!==x||t[48]!==j||t[49]!==M||t[50]!==n.gitRemoteUrl||t[51]!==n.hostName?(W=_?(0,C.jsxs)(`div`,{role:`radiogroup`,"aria-label":`Setup method`,className:`flex flex-col gap-2`,children:[(0,C.jsxs)(re,{selected:x===`clone`,disabled:j,onSelect:()=>M(`clone`),title:`Clone from the project remote`,children:[(0,C.jsx)(`p`,{className:`break-all text-xs text-muted-foreground`,children:n.gitRemoteUrl}),x===`clone`?ge:null]}),(0,C.jsx)(re,{selected:x===`folder`,disabled:j,onSelect:()=>M(`folder`),title:`Use an existing folder on ${n.hostName}`,children:(0,C.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Browse `,n.hostName,`'s files and point at a checkout you already have.`]})})]}):null,t[45]=ge,t[46]=_,t[47]=x,t[48]=j,t[49]=M,t[50]=n.gitRemoteUrl,t[51]=n.hostName,t[52]=W):W=t[52];let G;t[53]!==x||t[54]!==j||t[55]!==n.hostId?(G=x===`folder`?(0,C.jsx)(h,{hostId:n.hostId,allowCreateFolder:!1,onDirectoryChange:e=>{se(e),k(null)},disabled:j}):null,t[53]=x,t[54]=j,t[55]=n.hostId,t[56]=G):G=t[56];let K;t[57]!==x||t[58]!==j||t[59]!==n.hostName?(K=j&&x===`clone`?(0,C.jsxs)(`p`,{className:`flex items-center gap-2 text-sm text-muted-foreground`,children:[(0,C.jsx)(i,{name:`Spinner`,className:`size-4 shrink-0 animate-spin`}),`Cloning onto `,n.hostName,`… This can take a while.`]}):null,t[57]=x,t[58]=j,t[59]=n.hostName,t[60]=K):K=t[60];let q;t[61]===O?q=t[62]:(q=O?(0,C.jsx)(`p`,{className:`text-sm text-destructive`,children:O}):null,t[61]=O,t[62]=q);let J;t[63]!==z||t[64]!==me?(J=z?(0,C.jsxs)(`div`,{className:`space-y-1`,children:[(0,C.jsx)(`p`,{className:`whitespace-pre-wrap break-words text-sm text-destructive`,children:z}),me?(0,C.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Pick a different destination, or use the existing-folder option to point at what's already there.`}):null]}):null,t[63]=z,t[64]=me,t[65]=J):J=t[65];let Y;t[66]===a?Y=t[67]:(Y=()=>a(!1),t[66]=a,t[67]=Y);let X;t[68]!==j||t[69]!==Y?(X=(0,C.jsx)(g,{type:`button`,variant:`ghost`,disabled:j,onClick:Y,children:`Cancel`}),t[68]=j,t[69]=Y,t[70]=X):X=t[70];let ve=x===`clone`?`Clone & continue`:`Use folder & continue`,Z;t[71]!==he||t[72]!==ve?(Z=(0,C.jsx)(g,{type:`submit`,disabled:he,children:ve}),t[71]=he,t[72]=ve,t[73]=Z):Z=t[73];let Q;t[74]!==X||t[75]!==Z?(Q=(0,C.jsxs)(u,{children:[X,Z]}),t[74]=X,t[75]=Z,t[76]=Q):Q=t[76];let $;t[77]!==pe||t[78]!==W||t[79]!==G||t[80]!==K||t[81]!==q||t[82]!==J||t[83]!==Q?($=(0,C.jsxs)(`form`,{className:`space-y-4`,onSubmit:pe,children:[W,G,K,q,J,Q]}),t[77]=pe,t[78]=W,t[79]=G,t[80]=K,t[81]=q,t[82]=J,t[83]=Q,t[84]=$):$=t[84];let ye;return t[85]!==U||t[86]!==$?(ye=(0,C.jsxs)(C.Fragment,{children:[U,$]}),t[85]=U,t[86]=$,t[87]=ye):ye=t[87],ye}function re(e){let t=(0,te.c)(28),{selected:n,disabled:r,onSelect:i,title:o,children:s}=e,c=r?-1:0,l=n?`border-primary`:`border-border`,u=!r&&`cursor-pointer`,d;t[0]!==l||t[1]!==u?(d=a(`flex items-start gap-3 rounded-md border p-3`,l,u),t[0]=l,t[1]=u,t[2]=d):d=t[2];let f,p;t[3]!==r||t[4]!==i?(f=()=>{r||i()},p=e=>{r||(e.key===` `||e.key===`Enter`)&&(e.preventDefault(),i())},t[3]=r,t[4]=i,t[5]=f,t[6]=p):(f=t[5],p=t[6]);let m=n?`border-primary`:`border-muted-foreground`,h;t[7]===m?h=t[8]:(h=a(`mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border`,m),t[7]=m,t[8]=h);let g;t[9]===n?g=t[10]:(g=n?(0,C.jsx)(`span`,{className:`size-2 rounded-full bg-primary`}):null,t[9]=n,t[10]=g);let _;t[11]!==h||t[12]!==g?(_=(0,C.jsx)(`span`,{"aria-hidden":!0,className:h,children:g}),t[11]=h,t[12]=g,t[13]=_):_=t[13];let v;t[14]===o?v=t[15]:(v=(0,C.jsx)(`p`,{className:`text-sm font-medium`,children:o}),t[14]=o,t[15]=v);let y;t[16]!==s||t[17]!==v?(y=(0,C.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-1`,children:[v,s]}),t[16]=s,t[17]=v,t[18]=y):y=t[18];let b;return t[19]!==n||t[20]!==c||t[21]!==_||t[22]!==y||t[23]!==d||t[24]!==f||t[25]!==p||t[26]!==o?(b=(0,C.jsxs)(`div`,{role:`radio`,"aria-checked":n,"aria-label":o,tabIndex:c,className:d,onClick:f,onKeyDown:p,children:[_,y]}),t[19]=n,t[20]=c,t[21]=_,t[22]=y,t[23]=d,t[24]=f,t[25]=p,t[26]=o,t[27]=b):b=t[27],b}export{ne as t};
|
|
Binary file
|
|
Binary file
|
package/app/dist/assets/{ProjectsSettingsSection-DMgbOzi0.js → ProjectsSettingsSection-CWiPZs3X.js}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{$r as t,Ai as n,C as r,S as i,Zr as a,a as o,bi as s,c,d as l,g as u,hi as d,l as f,o as p,p as m,pi as h,u as g,v as _,x as v,yi as y}from"./boot-vendor-DmI63oXH.js";import{$s as b,Ch as x,Dh as S,Ea as C,Fa as w,Fn as T,Hp as E,Ia as D,In as O,Ju as k,Ma as A,Mn as j,Na as M,Pa as N,Pn as P,Qr as F,Sr as I,Ss as L,Uc as R,Vn as z,bo as B,ci as V,ga as H,ha as U,hr as W,ih as G,ii as K,ja as q,jn as J,ma as ee,oh as te,pa as ne,pr as re,th as ie,ti as ae,wr as Y,xr as X}from"./index-
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{$r as t,Ai as n,C as r,S as i,Zr as a,a as o,bi as s,c,d as l,g as u,hi as d,l as f,o as p,p as m,pi as h,u as g,v as _,x as v,yi as y}from"./boot-vendor-DmI63oXH.js";import{$s as b,Ch as x,Dh as S,Ea as C,Fa as w,Fn as T,Hp as E,Ia as D,In as O,Ju as k,Ma as A,Mn as j,Na as M,Pa as N,Pn as P,Qr as F,Sr as I,Ss as L,Uc as R,Vn as z,bo as B,ci as V,ga as H,ha as U,hr as W,ih as G,ii as K,ja as q,jn as J,ma as ee,oh as te,pa as ne,pr as re,th as ie,ti as ae,wr as Y,xr as X}from"./index-DecRjD4J.js";import{t as oe}from"./index.browser-BTPGjbbX.js";import{t as se}from"./OptionPicker-BOubhr2j.js";import{n as ce}from"./project-default-execution-options-query-DgwHHJgk.js";import{S as le,w as ue}from"./resource-list-Bjgzb5y2.js";import{a as de,i as fe,r as pe,t as me}from"./settings-section-Dl4EomFb.js";import"./icon-extended-BVbuxg1V.js";var Z=e(n(),1),Q=a();function he(){let e=(0,Q.c)(3),t=y(),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={errorMessage:`Failed to update experiments.`},e[0]=n):n=e[0];let r;return e[1]===t?r=e[2]:(r={meta:n,mutationFn:ge,onSuccess:()=>{P({queryClient:t})}},e[1]=t,e[2]=r),h(r)}function ge(e){return R.system.updateExperiments(e)}function _e(){let e=(0,Q.c)(3),t=y(),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={errorMessage:`Failed to update general settings.`},e[0]=n):n=e[0];let r;return e[1]===t?r=e[2]:(r={meta:n,mutationFn:ve,onSuccess:(e,n)=>{let r=U(t),i=ee(t);if(J({queryClient:t}),r!==n.streamerMode&&O({queryClient:t}),i===void 0||i.length!==n.providerOrder.length||i.some((e,t)=>e!==n.providerOrder[t]))return T({queryClient:t})}},e[1]=t,e[2]=r),h(r)}function ve(e){return R.system.updateGeneralSettings(e)}function ye(){let e=(0,Q.c)(3),t=y(),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={errorMessage:`Failed to update keyboard shortcuts.`},e[0]=n):n=e[0];let r;return e[1]===t?r=e[2]:(r={meta:n,mutationFn:be,onMutate:e=>ne({overrides:e,queryClient:t}),onError:(e,n,r)=>{H({queryClient:t,transaction:r})},onSuccess:()=>{P({queryClient:t})}},e[1]=t,e[2]=r),h(r)}function be(e){return R.system.updateKeyboardSettings(e)}function xe(){let e=(0,Q.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={meta:{errorMessage:`Failed to install the bb CLI skills.`},mutationFn:Se},e[0]=t):t=e[0],h(t)}function Se(e){return R.system.installCliSkills(e)}function Ce(){let e=(0,Q.c)(3),t=y(),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={errorMessage:`Failed to update appearance.`},e[0]=n):n=e[0];let r;return e[1]===t?r=e[2]:(r={meta:n,mutationFn:we,onSuccess:()=>{P({queryClient:t})}},e[1]=t,e[2]=r),h(r)}function we(e){return R.theme.set(e)}var $=e(s(),1),Te=Z.forwardRef((e,t)=>{let n=(0,Q.c)(9),r,i;n[0]===e?(r=n[1],i=n[2]):({className:r,...i}=e,n[0]=e,n[1]=r,n[2]=i);let a;n[3]===r?a=n[4]:(a=S(`flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 ${te} placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`,ie,r),n[3]=r,n[4]=a);let o;return n[5]!==i||n[6]!==t||n[7]!==a?(o=(0,$.jsx)(`textarea`,{className:a,ref:t,...i}),n[5]=i,n[6]=t,n[7]=a,n[8]=o):o=n[8],o});Te.displayName=`Textarea`;function Ee(e){return e.replace(/\\(n|r|t|"|\\)/gu,(e,t)=>t===`n`?`
|
|
2
2
|
`:t===`r`?`\r`:t===`t`?` `:t)}function De(e){let t=/\s+#/u.exec(e);return t?e.slice(0,t.index):e}function Oe(e){let t=e.split(/\r?\n/u),n=[],r=[];for(let e=0;e<t.length;e+=1){let i=e+1,a=(t[e]??``).trim();if(a===``||a.startsWith(`#`))continue;let o=/^(?:export\s+)?([^=\s]+)\s*=\s*(.*)$/su.exec(a);if(!o){r.push(`Line ${e+1}: expected NAME=value.`);continue}let s=o[1]??``,c=o[2]??``,l=c.startsWith(`"`)?`"`:c.startsWith(`'`)?`'`:null;if(l===null){n.push({name:s,value:De(c).trim()});continue}c=c.slice(1);let u=``,d=!1;for(;;){let n=-1,a=!1;for(let e=0;e<c.length;e+=1){let t=c[e];if(t===l&&!a){n=e;break}a=l===`"`&&t===`\\`&&!a}if(n!==-1){let e=c.slice(n+1).trim();e!==``&&!e.startsWith(`#`)&&r.push(`Line ${i}: unexpected text after closing quote.`),u+=c.slice(0,n),d=!0;break}if(u+=`${c}\n`,e+=1,e>=t.length)break;c=t[e]??``}if(!d){r.push(`Line ${i}: unterminated ${l} quote.`);continue}n.push({name:s,value:l===`"`?Ee(u):u})}return{entries:n,errors:r}}function ke(e){let t=(0,Q.c)(50),{open:n,onOpenChange:r,onImport:i}=e,[a,o]=(0,Z.useState)(``),s,c,l,u,d,f,p,m,h,g,_;if(t[0]!==r||t[1]!==n||t[2]!==a){u=Oe(a);let e;t[14]===r?e=t[15]:(e=()=>{o(``),r(!1)},t[14]=r,t[15]=e),l=e,c=q,g=n,t[16]!==l||t[17]!==r?(_=e=>e?r(!0):l(),t[16]=l,t[17]=r,t[18]=_):_=t[18],s=A,d=`sm:max-w-xl`,t[19]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,$.jsxs)(w,{children:[(0,$.jsx)(D,{children:`Import from .env`}),(0,$.jsx)(M,{children:`Paste the contents of a .env file. Existing variables with the same name are replaced; nothing is saved until you save the section.`})]}),t[19]=f):f=t[19];let i;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(i=e=>o(e.target.value),t[20]=i):i=t[20],t[21]===a?p=t[22]:(p=(0,$.jsx)(Te,{className:`min-h-48 font-mono text-xs`,"aria-label":`Environment file contents`,placeholder:`DATABASE_URL=postgres://…
|
|
3
3
|
SENTRY_DSN=https://…`,autoComplete:`off`,spellCheck:!1,value:a,onChange:i}),t[21]=a,t[22]=p);let v=a.trim()===``?`Comments and blank lines are ignored.`:`${u.entries.length} variable${u.entries.length===1?``:`s`} found.`;t[23]===v?m=t[24]:(m=(0,$.jsx)(`p`,{className:`text-xs text-subtle-foreground`,role:`status`,children:v}),t[23]=v,t[24]=m),h=u.errors.length>0&&(0,$.jsx)(`ul`,{role:`alert`,className:`space-y-1 text-xs text-destructive-text`,children:u.errors.slice(0,5).map(Ae)}),t[0]=r,t[1]=n,t[2]=a,t[3]=s,t[4]=c,t[5]=l,t[6]=u,t[7]=d,t[8]=f,t[9]=p,t[10]=m,t[11]=h,t[12]=g,t[13]=_}else s=t[3],c=t[4],l=t[5],u=t[6],d=t[7],f=t[8],p=t[9],m=t[10],h=t[11],g=t[12],_=t[13];let v;t[25]===l?v=t[26]:(v=(0,$.jsx)(G,{size:`sm`,variant:`ghost`,onClick:l,children:`Cancel`}),t[25]=l,t[26]=v);let y=u.entries.length===0||u.errors.length>0,b;t[27]!==l||t[28]!==i||t[29]!==u.entries?(b=()=>{i(u.entries),l()},t[27]=l,t[28]=i,t[29]=u.entries,t[30]=b):b=t[30];let x;t[31]!==b||t[32]!==y?(x=(0,$.jsx)(G,{size:`sm`,disabled:y,onClick:b,children:`Import`}),t[31]=b,t[32]=y,t[33]=x):x=t[33];let S;t[34]!==x||t[35]!==v?(S=(0,$.jsxs)(N,{children:[v,x]}),t[34]=x,t[35]=v,t[36]=S):S=t[36];let C;t[37]!==s||t[38]!==d||t[39]!==S||t[40]!==f||t[41]!==p||t[42]!==m||t[43]!==h?(C=(0,$.jsxs)(s,{className:d,children:[f,p,m,h,S]}),t[37]=s,t[38]=d,t[39]=S,t[40]=f,t[41]=p,t[42]=m,t[43]=h,t[44]=C):C=t[44];let T;return t[45]!==c||t[46]!==C||t[47]!==g||t[48]!==_?(T=(0,$.jsx)(c,{open:g,onOpenChange:_,children:C}),t[45]=c,t[46]=C,t[47]=g,t[48]=_,t[49]=T):T=t[49],T}function Ae(e){return(0,$.jsx)(`li`,{children:e},e)}var je=`global`;function Me(){let e=(0,Q.c)(2),[t,n]=(0,Z.useState)(je),r=L().data?.projects??[],i=r.find(e=>e.id===t)??null,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,$.jsx)(`span`,{className:`text-sm text-subtle-foreground`,children:`Showing variables for`}),e[0]=a):a=e[0];let o;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(o={value:je,label:`All projects`},e[1]=o):o=e[1],(0,$.jsx)(Pe,{projectId:i?.id??null,scopeControl:(0,$.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-1`,children:[a,(0,$.jsx)(se,{modal:!1,label:`Scope`,className:`text-sm`,value:i?.id??je,onChange:n,options:[o,...r.map(Ne)]})]})},i?.id??je)}function Ne(e){return{value:e.id,label:e.name}}function Pe(e){let t=(0,Q.c)(32),{projectId:n,scopeControl:r}=e,i=y(),a=B().data?.generalSettings,o=_e(),s;t[0]===n?s=t[1]:(s=b(n),t[0]=n,t[1]=s);let c;t[2]===n?c=t[3]:(c=async()=>n===null?{...await R.system.machineEnvironment(),inheritedVariables:[]}:R.projects.machineEnvironment({projectId:n}),t[2]=n,t[3]=c);let l;t[4]!==s||t[5]!==c?(l={queryKey:s,queryFn:c},t[4]=s,t[5]=c,t[6]=l):l=t[6];let u=d(l),f;t[7]===n?f=t[8]:(f=async e=>{let t={variables:e.map(Fe)};n===null?await R.system.replaceMachineEnvironment(t):await R.projects.replaceMachineEnvironment({...t,projectId:n})},t[7]=n,t[8]=f);let p=f,m=n??je,h=n!==null,g;t[9]===u.data?.inheritedVariables?g=t[10]:(g=u.data?.inheritedVariables??[],t[9]=u.data?.inheritedVariables,t[10]=g);let _=u.data??null,v=a?.machineGitCredentialsEnabled??!0,x=!a||o.isPending,S;t[11]===i?S=t[12]:(S=()=>{j({queryClient:i}),P({queryClient:i})},t[11]=i,t[12]=S);let C;t[13]===u?C=t[14]:(C=()=>void u.refetch(),t[13]=u,t[14]=C);let w;t[15]!==u||t[16]!==a||t[17]!==o?(w=e=>{a&&o.mutate({...a,machineGitCredentialsEnabled:e},{onSuccess:()=>void u.refetch()})},t[15]=u,t[16]=a,t[17]=o,t[18]=w):w=t[18];let T;return t[19]!==u.isError||t[20]!==p||t[21]!==r||t[22]!==x||t[23]!==S||t[24]!==C||t[25]!==w||t[26]!==m||t[27]!==h||t[28]!==g||t[29]!==_||t[30]!==v?(T=(0,$.jsx)(Ie,{projectScope:h,scopeControl:r,inheritedVariables:g,environment:_,loadFailed:u.isError,gitCredentialsEnabled:v,gitSwitchDisabled:x,onSave:p,onSaved:S,onSaveFailed:C,onSetGitCredentials:w},m),t[19]=u.isError,t[20]=p,t[21]=r,t[22]=x,t[23]=S,t[24]=C,t[25]=w,t[26]=m,t[27]=h,t[28]=g,t[29]=_,t[30]=v,t[31]=T):T=t[31],T}function Fe(e){return{name:e.name,value:e.value,note:e.note}}function Ie(e){let t=(0,Q.c)(34),{environment:n,projectScope:r,scopeControl:i,inheritedVariables:a,loadFailed:o,gitCredentialsEnabled:s,gitSwitchDisabled:c,onSave:l,onSaved:u,onSaveFailed:d,onSetGitCredentials:f}=e,p=r===void 0?!1:r,m=a===void 0?[]:a,g=o===void 0?!1:o,_=c===void 0?!1:c,[v,y]=(0,Z.useState)(null),b;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(b=new Set,t[0]=b):b=t[0];let[x,S]=(0,Z.useState)(b),C;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(C=new Set,t[1]=C):C=t[1];let[w,T]=(0,Z.useState)(C),[D,O]=(0,Z.useState)(null),[k,A]=(0,Z.useState)(!1),j=v??(n?.variables??[]).map(ze),M=j.map(e=>j.filter(t=>t.name===e.name).length>1?`Variable name already exists.`:E.safeParse({name:e.name,value:e.value??``,note:e.note}).success?null:e.name?`Use uppercase letters, numbers, and underscores; start with a letter or underscore.`:`Enter a variable name.`),N;t[2]===u?N=t[3]:(N=async()=>{await u?.(),y(null),S(new Set),O(null)},t[2]=u,t[3]=N);let P;t[4]===d?P=t[5]:(P=()=>{d?.(),O(`Some changes could not be saved. Your edits are retained; try saving again.`)},t[4]=d,t[5]=P);let F=h({mutationFn:()=>l(j),onSuccess:N,onError:P}),I=n===null||F.isPending,L;t[6]===n?.variables?L=t[7]:(L=n?.variables??[],t[6]=n?.variables,t[7]=L);let R=L,z;t[8]!==v||t[9]!==R?(z=v!==null&&(v.length!==R.length||v.some((e,t)=>{let n=R[t];return n===void 0||n.name!==e.name||n.note!==e.note||e.value!==null})),t[8]=v,t[9]=R,t[10]=z):z=t[10];let B=z,V=(e,t)=>{y(j.map(n=>n.id===e?{...n,...t}:n)),O(null)},H=()=>y([...j,{id:oe(),nameLocked:!1,name:``,value:``,secret:!0,note:null}]),U=e=>{let t=[...j];for(let n of e){let e=t.findIndex(e=>e.name===n.name),r=e===-1?void 0:t[e];r?t[e]={...r,value:n.value}:t.push({id:oe(),nameLocked:!1,name:n.name,value:n.value,secret:!0,note:null})}y(t),O(null)},W=e=>y([...j,{...e,id:e.name,nameLocked:!0,value:``}]),K=p?m:[],q=new Set(K.map(Re)),J=[];for(let e of K){let t=j.findIndex(t=>t.name===e.name),n=j[t];J.push(n?{kind:`row`,row:n,index:t,overridesGlobal:!0}:{kind:`inherited`,variable:e})}j.forEach((e,t)=>{q.has(e.name)||J.push({kind:`row`,row:e,index:t,overridesGlobal:!1})});let ee=n?.builtInGit,te=j.some(Le)||q.has(`GH_TOKEN`),ne=de,re;t[11]!==n||t[12]!==g?(re=n===null&&!g&&(0,$.jsx)(`p`,{className:`text-xs text-subtle-foreground`,children:`Loading…`}),t[11]=n,t[12]=g,t[13]=re):re=t[13];let ie=n!==null&&(0,$.jsx)(We,{git:ee,enabled:s,switchDisabled:_,projectScope:p,overridden:te,overrideDisabled:I||te,onSetEnabled:f,onOverride:()=>W({name:`GH_TOKEN`,value:null,secret:!0,note:null})}),ae=n!==null&&J.map(e=>e.kind===`inherited`?(0,$.jsx)(Ge,{variable:e.variable,disabled:I,onOverride:()=>W(e.variable)},`inherited:${e.variable.name}`):(0,$.jsx)(Ke,{row:e.row,index:e.index,disabled:I,error:w.has(e.row.id)?M[e.index]??null:null,revealed:x.has(e.row.id),caption:e.overridesGlobal?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Ue,{children:`Override`}),e.row.note??`Replaces the global value; remove it to inherit again.`]}):e.row.note,onBlur:()=>T(t=>new Set(t).add(e.row.id)),onNameChange:t=>V(e.row.id,{name:t}),onValueChange:t=>V(e.row.id,{value:t}),onToggleReveal:()=>S(t=>{let n=new Set(t);return n.has(e.row.id)?n.delete(e.row.id):n.add(e.row.id),n}),onRemove:()=>y(j.filter(t=>t.id!==e.row.id))},e.row.id)),Y;t[14]!==i||t[15]!==re||t[16]!==ie||t[17]!==ae?(Y=(0,$.jsxs)(`div`,{className:`space-y-5`,children:[i,re,ie,ae]}),t[14]=i,t[15]=re,t[16]=ie,t[17]=ae,t[18]=Y):Y=t[18];let X;t[19]===g?X=t[20]:(X=g&&(0,$.jsx)(`p`,{role:`alert`,className:`text-xs text-destructive-text`,children:`Could not load machine variables. Try refreshing this page.`}),t[19]=g,t[20]=X);let se;t[21]===D?se=t[22]:(se=D&&(0,$.jsx)(`p`,{role:`alert`,className:`text-xs text-destructive-text`,children:D}),t[21]=D,t[22]=se);let ce=n!==null&&(0,$.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,$.jsx)(G,{size:`sm`,variant:`outline`,className:`flex-1 sm:flex-none`,disabled:I,onClick:H,children:`Add variable`}),(0,$.jsx)(G,{size:`sm`,variant:`outline`,className:`flex-1 sm:flex-none`,disabled:I,onClick:()=>A(!0),children:`Import from .env`}),(0,$.jsxs)(`div`,{className:`ml-auto flex w-full items-center justify-end gap-2 sm:w-auto`,children:[B&&(0,$.jsx)(G,{size:`sm`,variant:`ghost`,disabled:F.isPending,onClick:()=>{y(null),O(null),S(new Set)},children:`Discard changes`}),(0,$.jsx)(G,{size:`sm`,disabled:I||!B||M.some(Boolean),onClick:()=>F.mutate(),children:F.isPending?`Saving…`:`Save variables`})]})]}),le;t[23]!==U||t[24]!==k||t[25]!==A?(le=(0,$.jsx)(ke,{open:k,onOpenChange:A,onImport:U}),t[23]=U,t[24]=k,t[25]=A,t[26]=le):le=t[26];let ue;return t[27]!==ne||t[28]!==Y||t[29]!==X||t[30]!==se||t[31]!==ce||t[32]!==le?(ue=(0,$.jsxs)(ne,{title:`Environment variables`,description:`Global variables are available to BB-managed processes on every connected machine. Project variables override them for work in that project.`,bodyClassName:`space-y-8`,children:[Y,X,se,ce,le]}),t[27]=ne,t[28]=Y,t[29]=X,t[30]=se,t[31]=ce,t[32]=le,t[33]=ue):ue=t[33],ue}function Le(e){return e.name===`GH_TOKEN`}function Re(e){return e.name}function ze(e){return{...e,id:e.name,nameLocked:!0}}var Be=`grid min-w-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-2 sm:grid-cols-[minmax(0,1fr)_minmax(0,1fr)_auto]`,Ve=`text-xs leading-snug text-subtle-foreground`;function He(){let e=(0,Q.c)(1),n;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(t,{to:C(`environment-variables`),className:`rounded-sm underline underline-offset-2 hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring`,children:`global settings`}),e[0]=n):n=e[0],n}function Ue(e){let t=(0,Q.c)(2),{children:n}=e,r;return t[0]===n?r=t[1]:(r=(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`span`,{className:`text-foreground`,children:n}),` · `]}),t[0]=n,t[1]=r),r}function We(e){let t=(0,Q.c)(35),{git:n,enabled:r,switchDisabled:i,projectScope:a,overridden:o,overrideDisabled:s,onSetEnabled:c,onOverride:l}=e,u=i===void 0?!1:i,d=a===void 0?!1:a,f=o===void 0?!1:o,p=s===void 0?!1:s,m=!r||f,h=n?.status===`not logged in`,g=`col-span-2 font-mono sm:col-span-1 ${m?`opacity-50`:``}`,_;t[0]===g?_=t[1]:(_=(0,$.jsx)(V,{className:g,"aria-label":`Automatic variable name`,value:`GH_TOKEN`,readOnly:!0}),t[0]=g,t[1]=_);let v=`font-mono ${m?`opacity-50`:``}`,y=n?.status===`logged in`?`••••••••`:``,b=n?.status===`disabled`?`Disabled`:h?`Not available`:`Checking…`,S;t[2]!==v||t[3]!==y||t[4]!==b?(S=(0,$.jsx)(V,{className:v,"aria-label":`Automatic GH_TOKEN value`,value:y,placeholder:b,readOnly:!0}),t[2]=v,t[3]=y,t[4]=b,t[5]=S):S=t[5];let C;t[6]!==r||t[7]!==l||t[8]!==c||t[9]!==p||t[10]!==d||t[11]!==u?(C=(0,$.jsx)(`div`,{className:`flex size-8 items-center justify-center`,children:d?(0,$.jsx)(G,{size:`icon`,variant:`ghost`,className:`size-8 text-subtle-foreground`,"aria-label":`Override GH_TOKEN`,disabled:p,onClick:l,children:(0,$.jsx)(x,{name:`Edit`,className:`size-4`})}):(0,$.jsx)(ce,{"aria-label":`Automatic GH_TOKEN`,checked:r,disabled:u,onCheckedChange:c})}),t[6]=r,t[7]=l,t[8]=c,t[9]=p,t[10]=d,t[11]=u,t[12]=C):C=t[12];let w;t[13]!==S||t[14]!==C||t[15]!==_?(w=(0,$.jsxs)(`div`,{className:Be,children:[_,S,C]}),t[13]=S,t[14]=C,t[15]=_,t[16]=w):w=t[16];let T=`${Ve} ${m?`opacity-50`:``}`,E;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,$.jsx)(Ue,{children:`Automatic`}),t[17]=E):E=t[17];let D=h&&!f?`alert`:`status`,O=h&&!f?`text-destructive-text`:void 0,k;t[18]!==n?.status||t[19]!==h||t[20]!==f?(k=f?`Overridden by the GH_TOKEN variable below.`:h?`GitHub is not logged in. Run gh auth login on the server, or add your own GH_TOKEN.`:n?.status===`logged in`?(0,$.jsxs)($.Fragment,{children:[`Forwarded to other machines using`,` `,(0,$.jsx)(`code`,{children:`gh auth token --hostname github.com`}),`. The primary machine uses its local Git authentication.`]}):n?.status===`disabled`?`Disabled — no automatic GitHub credentials are sent to other machines.`:n?.status===`overridden`?`The server’s GitHub login will be used after saving.`:`Checking the server’s GitHub login…`,t[18]=n?.status,t[19]=h,t[20]=f,t[21]=k):k=t[21];let A;t[22]===d?A=t[23]:(A=d?(0,$.jsxs)($.Fragment,{children:[` Managed in `,(0,$.jsx)(He,{}),`.`]}):null,t[22]=d,t[23]=A);let j;t[24]!==D||t[25]!==O||t[26]!==k||t[27]!==A?(j=(0,$.jsxs)(`span`,{role:D,className:O,children:[k,A]}),t[24]=D,t[25]=O,t[26]=k,t[27]=A,t[28]=j):j=t[28];let M;t[29]!==T||t[30]!==j?(M=(0,$.jsxs)(`p`,{className:T,children:[E,j]}),t[29]=T,t[30]=j,t[31]=M):M=t[31];let N;return t[32]!==w||t[33]!==M?(N=(0,$.jsxs)(`div`,{className:`space-y-2`,children:[w,M]}),t[32]=w,t[33]=M,t[34]=N):N=t[34],N}function Ge(e){let t=(0,Q.c)(22),{variable:n,disabled:r,onOverride:i}=e,a=r===void 0?!1:r,o=`Global variable ${n.name}`,s;t[0]!==o||t[1]!==n.name?(s=(0,$.jsx)(V,{className:`col-span-2 font-mono sm:col-span-1`,"aria-label":o,value:n.name,readOnly:!0}),t[0]=o,t[1]=n.name,t[2]=s):s=t[2];let c=`Global value for ${n.name}`,l;t[3]===c?l=t[4]:(l=(0,$.jsx)(V,{className:`font-mono`,"aria-label":c,value:`••••••••`,readOnly:!0}),t[3]=c,t[4]=l);let u=`Override ${n.name}`,d;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,$.jsx)(x,{name:`Edit`,className:`size-4`}),t[5]=d):d=t[5];let f;t[6]!==a||t[7]!==i||t[8]!==u?(f=(0,$.jsx)(G,{size:`icon`,variant:`ghost`,className:`size-8 text-subtle-foreground`,"aria-label":u,disabled:a,onClick:i,children:d}),t[6]=a,t[7]=i,t[8]=u,t[9]=f):f=t[9];let p;t[10]!==s||t[11]!==l||t[12]!==f?(p=(0,$.jsxs)(`div`,{className:Be,children:[s,l,f]}),t[10]=s,t[11]=l,t[12]=f,t[13]=p):p=t[13];let m;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,$.jsx)(Ue,{children:`Global`}),t[14]=m):m=t[14];let h;t[15]===n.note?h=t[16]:(h=n.note??(0,$.jsxs)($.Fragment,{children:[`Inherited from `,(0,$.jsx)(He,{}),`.`]}),t[15]=n.note,t[16]=h);let g;t[17]===h?g=t[18]:(g=(0,$.jsxs)(`p`,{className:Ve,children:[m,h]}),t[17]=h,t[18]=g);let _;return t[19]!==g||t[20]!==p?(_=(0,$.jsxs)(`div`,{className:`space-y-2`,children:[p,g]}),t[19]=g,t[20]=p,t[21]=_):_=t[21],_}function Ke(e){let t=(0,Q.c)(46),{row:n,index:r,disabled:i,error:a,revealed:o,caption:s,onBlur:c,onNameChange:l,onValueChange:u,onToggleReveal:d,onRemove:f}=e,p=i===void 0?!1:i,m=a===void 0?null:a,h=o===void 0?!1:o,g=s===void 0?null:s,_=`Variable name ${r+1}`,v=m!==null,y;t[0]===l?y=t[1]:(y=e=>l(e.target.value),t[0]=l,t[1]=y);let b;t[2]!==p||t[3]!==c||t[4]!==n.name||t[5]!==n.nameLocked||t[6]!==_||t[7]!==v||t[8]!==y?(b=(0,$.jsx)(V,{className:`col-span-2 font-mono sm:col-span-1`,"aria-label":_,placeholder:`KEY`,value:n.name,disabled:p,readOnly:n.nameLocked,"aria-invalid":v,onBlur:c,onChange:y}),t[2]=p,t[3]=c,t[4]=n.name,t[5]=n.nameLocked,t[6]=_,t[7]=v,t[8]=y,t[9]=b):b=t[9];let S=`Value for ${n.name||`variable ${r+1}`}`,C=h?`text`:`password`,w=n.value===null?`Saved secret · enter to replace`:`VALUE`,T=n.value??``,E;t[10]===u?E=t[11]:(E=e=>u(e.target.value),t[10]=u,t[11]=E);let D;t[12]!==p||t[13]!==C||t[14]!==w||t[15]!==T||t[16]!==E||t[17]!==S?(D=(0,$.jsx)(V,{className:`min-w-0 pr-9 font-mono`,"aria-label":S,type:C,placeholder:w,value:T,autoComplete:`off`,disabled:p,onChange:E}),t[12]=p,t[13]=C,t[14]=w,t[15]=T,t[16]=E,t[17]=S,t[18]=D):D=t[18];let O=`${h?`Hide`:`Show`} ${n.name||`value`}`,k=p||n.value===null,A=h?`EyeOff`:`Eye`,j;t[19]===A?j=t[20]:(j=(0,$.jsx)(x,{name:A,className:`size-4`}),t[19]=A,t[20]=j);let M;t[21]!==d||t[22]!==O||t[23]!==k||t[24]!==j?(M=(0,$.jsx)(G,{size:`icon`,variant:`ghost`,className:`absolute inset-y-0 right-0 my-auto size-8 text-subtle-foreground`,"aria-label":O,disabled:k,onClick:d,children:j}),t[21]=d,t[22]=O,t[23]=k,t[24]=j,t[25]=M):M=t[25];let N;t[26]!==D||t[27]!==M?(N=(0,$.jsxs)(`div`,{className:`relative min-w-0`,children:[D,M]}),t[26]=D,t[27]=M,t[28]=N):N=t[28];let P=`Remove ${n.name||`variable`}`,F;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,$.jsx)(x,{name:`X`,className:`size-4`}),t[29]=F):F=t[29];let I;t[30]!==p||t[31]!==f||t[32]!==P?(I=(0,$.jsx)(G,{size:`icon`,className:`size-8 text-subtle-foreground`,variant:`ghost`,"aria-label":P,disabled:p,onClick:f,children:F}),t[30]=p,t[31]=f,t[32]=P,t[33]=I):I=t[33];let L;t[34]!==N||t[35]!==I||t[36]!==b?(L=(0,$.jsxs)(`div`,{className:Be,children:[b,N,I]}),t[34]=N,t[35]=I,t[36]=b,t[37]=L):L=t[37];let R;t[38]===g?R=t[39]:(R=g&&(0,$.jsx)(`p`,{className:Ve,children:g}),t[38]=g,t[39]=R);let z;t[40]===m?z=t[41]:(z=m&&(0,$.jsx)(`p`,{role:`alert`,className:`text-xs text-destructive-text`,children:m}),t[40]=m,t[41]=z);let B;return t[42]!==L||t[43]!==R||t[44]!==z?(B=(0,$.jsxs)(`div`,{className:`space-y-2`,children:[L,R,z]}),t[42]=L,t[43]=R,t[44]=z,t[45]=B):B=t[45],B}var qe=[({transform:e})=>({...e,x:0})];function Je(e){let t=(0,Q.c)(14),{ids:n,disabled:r,onReorder:a,children:s}=e,d;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(d={activationConstraint:{distance:4}},t[0]=d):d=t[0];let f;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(f={coordinateGetter:c},t[1]=f):f=t[1];let p=i(v(u,d),v(m,f)),h;t[2]!==r||t[3]!==a?(h=e=>{r||typeof e.active.id!=`string`||typeof e.over?.id!=`string`||a(e.active.id,e.over.id)},t[2]=r,t[3]=a,t[4]=h):h=t[4];let y=h,b;t[5]===s?b=t[6]:(b=(0,$.jsx)(fe,{children:s}),t[5]=s,t[6]=b);let x;t[7]!==n||t[8]!==b?(x=(0,$.jsx)(o,{items:n,strategy:g,children:b}),t[7]=n,t[8]=b,t[9]=x):x=t[9];let S;return t[10]!==y||t[11]!==p||t[12]!==x?(S=(0,$.jsx)(l,{sensors:p,collisionDetection:_,modifiers:qe,onDragEnd:y,children:x}),t[10]=y,t[11]=p,t[12]=x,t[13]=S):S=t[13],S}function Ye(e){let t=(0,Q.c)(23),{id:n,disabled:i,label:a}=e,o;t[0]!==i||t[1]!==n?(o={id:n,disabled:i},t[0]=i,t[1]=n,t[2]=o):o=t[2];let{attributes:s,isDragging:c,listeners:l,setActivatorNodeRef:u,setNodeRef:d,transform:p,transition:m}=f(o),h;t[3]===p?h=t[4]:(h=r.Translate.toString(p),t[3]=p,t[4]=h);let g;t[5]!==h||t[6]!==m?(g={transform:h,transition:m},t[5]=h,t[6]=m,t[7]=g):g=t[7];let _=g,v=!i&&`cursor-grab active:cursor-grabbing`,y;t[8]===v?y=t[9]:(y=S(`-ml-2 h-8 w-7 shrink-0 touch-none text-muted-foreground`,v),t[8]=v,t[9]=y);let b=`Reorder ${a}`,C;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,$.jsx)(x,{name:`DragDropVertical`,"aria-hidden":`true`}),t[10]=C):C=t[10];let w;t[11]!==s||t[12]!==i||t[13]!==l||t[14]!==u||t[15]!==y||t[16]!==b?(w=(0,$.jsx)(G,{ref:u,type:`button`,variant:`ghost`,size:`icon`,className:y,disabled:i,"aria-label":b,...s,...l,children:C}),t[11]=s,t[12]=i,t[13]=l,t[14]=u,t[15]=y,t[16]=b,t[17]=w):w=t[17];let T=w,E;return t[18]!==T||t[19]!==c||t[20]!==d||t[21]!==_?(E={setNodeRef:d,style:_,isDragging:c,handle:T},t[18]=T,t[19]=c,t[20]=d,t[21]=_,t[22]=E):E=t[22],E}var Xe=`Repositories bb can work in. Drag to change the order projects appear in the sidebar.`;function Ze(e){let t=/^[^@]+@([^:]+):(.+?)(?:\.git)?$/.exec(e);if(t)return`${t[1]}/${t[2]}`;try{let t=new URL(e);return`${t.host}${t.pathname.replace(/\.git$/,``)}`}catch{return e}}function Qe(e,t,n){if(t===n)return null;let r=e.indexOf(t),i=e.indexOf(n);if(r===-1||i===-1)return null;let a=p([...e],r,i);return{order:a,previousProjectId:a[i-1]??null,nextProjectId:a[i+1]??null}}function $e(e,t){return`${e} ${e===1?t:`${t}s`}`}function et(e,t){let n=0,r=0;for(let i of new Set(e.sources.map(e=>e.hostId))){let e=t.get(i);e&&(n+=1,e.status===`connected`&&(r+=1))}return{configuredMachineCount:n,onlineMachineCount:r,totalMachineCount:t.size}}function tt(e){return e.configuredMachineCount===0?`Not set up on any machine`:e.totalMachineCount<=1?`1 machine`:`${e.configuredMachineCount} of ${e.totalMachineCount} machines`}function nt(e){let n=(0,Q.c)(69),{project:r,summary:i,dragDisabled:a,onRename:o,onDelete:s}=e,c;n[0]!==a||n[1]!==r.id||n[2]!==r.name?(c={id:r.id,disabled:a,label:r.name},n[0]=a,n[1]=r.id,n[2]=r.name,n[3]=c):c=n[3];let{setNodeRef:l,style:u,isDragging:d,handle:f}=Ye(c),p;n[4]===r.id?p=n[5]:(p=k(r.id),n[4]=r.id,n[5]=p);let m=p,h;n[6]===r.gitRemoteUrl?h=n[7]:(h=r.gitRemoteUrl===null?null:Ze(r.gitRemoteUrl),n[6]=r.gitRemoteUrl,n[7]=h);let g=h,_=i.configuredMachineCount===0,v=i.configuredMachineCount>0&&i.onlineMachineCount===0,y=d&&`relative z-10 rounded-md bg-card opacity-90 shadow-lift`,b;n[8]===y?b=n[9]:(b=S(`items-start`,y),n[8]=y,n[9]=b);let C=`Open ${r.name} settings`,w;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,$.jsx)(x,{name:`FolderGit`,className:`size-4 shrink-0 text-muted-foreground`}),n[10]=w):w=n[10];let T;n[11]===r.name?T=n[12]:(T=(0,$.jsx)(`span`,{className:`min-w-0 truncate text-sm font-medium text-foreground`,children:r.name}),n[11]=r.name,n[12]=T);let E;n[13]===_?E=n[14]:(E=_?(0,$.jsx)(me,{children:`needs setup`}):null,n[13]=_,n[14]=E);let D;n[15]===v?D=n[16]:(D=v?(0,$.jsx)(me,{children:`offline`}):null,n[15]=v,n[16]=D);let O;n[17]!==D||n[18]!==T||n[19]!==E?(O=(0,$.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[w,T,E,D]}),n[17]=D,n[18]=T,n[19]=E,n[20]=O):O=n[20];let A;n[21]===g?A=n[22]:(A=g===null?(0,$.jsx)(`div`,{className:`italic`,children:`No git remote`}):(0,$.jsx)(`div`,{className:`truncate`,children:g}),n[21]=g,n[22]=A);let j=_&&`text-warning-text`,M;n[23]===j?M=n[24]:(M=S(`shrink-0`,j),n[23]=j,n[24]=M);let N;n[25]===i?N=n[26]:(N=tt(i),n[25]=i,n[26]=N);let P;n[27]!==M||n[28]!==N?(P=(0,$.jsx)(`span`,{className:M,children:N}),n[27]=M,n[28]=N,n[29]=P):P=n[29];let F;n[30]===r.threads.length?F=n[31]:(F=$e(r.threads.length,`thread`),n[30]=r.threads.length,n[31]=F);let I;n[32]===F?I=n[33]:(I=(0,$.jsx)(`span`,{className:`shrink-0`,children:F}),n[32]=F,n[33]=I);let L;n[34]!==P||n[35]!==I?(L=(0,$.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-0.5`,children:[P,I]}),n[34]=P,n[35]=I,n[36]=L):L=n[36];let R;n[37]!==A||n[38]!==L?(R=(0,$.jsxs)(`div`,{className:`min-w-0 space-y-0.5 text-xs text-subtle-foreground/75`,children:[A,L]}),n[37]=A,n[38]=L,n[39]=R):R=n[39];let z;n[40]!==O||n[41]!==R?(z=(0,$.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-0.5`,children:[O,R]}),n[40]=O,n[41]=R,n[42]=z):z=n[42];let B;n[43]!==m||n[44]!==z||n[45]!==C?(B=(0,$.jsx)(t,{to:m,"aria-label":C,className:`min-w-0 flex-1 rounded-md outline-none focus-visible:ring-2 focus-visible:ring-ring`,children:z}),n[43]=m,n[44]=z,n[45]=C,n[46]=B):B=n[46];let V=`${r.name} actions`,H;n[47]===o?H=n[48]:(H={label:`Rename`,icon:`Edit`,onSelect:o},n[47]=o,n[48]=H);let U;n[49]===s?U=n[50]:(U={label:`Delete project`,icon:`Trash2`,tone:`destructive`,onSelect:s},n[49]=s,n[50]=U);let W;n[51]!==H||n[52]!==U?(W=[H,U],n[51]=H,n[52]=U,n[53]=W):W=n[53];let G;n[54]!==V||n[55]!==W?(G=(0,$.jsx)(le,{label:V,items:W}),n[54]=V,n[55]=W,n[56]=G):G=n[56];let K;n[57]===Symbol.for(`react.memo_cache_sentinel`)?(K=(0,$.jsx)(ue,{}),n[57]=K):K=n[57];let q;n[58]===G?q=n[59]:(q=(0,$.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1`,children:[G,K]}),n[58]=G,n[59]=q);let J;n[60]!==B||n[61]!==q?(J=(0,$.jsxs)(`div`,{"data-project-row":!0,className:`group -mx-2 flex min-w-0 flex-1 items-start gap-2 rounded-md px-2 py-1.5 transition-colors hover:bg-state-hover focus-within:bg-state-hover`,children:[B,q]}),n[60]=B,n[61]=q,n[62]=J):J=n[62];let ee;return n[63]!==f||n[64]!==l||n[65]!==u||n[66]!==J||n[67]!==b?(ee=(0,$.jsxs)(pe,{ref:l,style:u,className:b,children:[f,J]}),n[63]=f,n[64]=l,n[65]=u,n[66]=J,n[67]=b,n[68]=ee):ee=n[68],ee}function rt(){let e=(0,Q.c)(67),t=L(),n=K(),r=Y(),i=X(),a=I(),o=z(),[s,c]=(0,Z.useState)(null),[l,u]=(0,Z.useState)(null),[d,f]=(0,Z.useState)(null),p=t.data?.projects,m;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(m=()=>{f(null)},e[0]=m):m=e[0];let h;e[1]===p?h=e[2]:(h=[p],e[1]=p,e[2]=h),(0,Z.useEffect)(m,h);let g;bb0:{if(!p){g=void 0;break bb0}if(!d){g=p;break bb0}let t;if(e[3]!==d||e[4]!==p){let n=new Map(p.map(ot)),r=d.flatMap(e=>n.get(e)??[]),i;e[6]===d?i=e[7]:(i=new Set(d),e[6]=d,e[7]=i);let a=i,o;e[8]===a?o=e[9]:(o=e=>!a.has(e.id),e[8]=a,e[9]=o),t=[...r,...p.filter(o)],e[3]=d,e[4]=p,e[5]=t}else t=e[5];g=t}let _=g,v;e[10]===_?v=e[11]:(v=_?.map(at)??[],e[10]=_,e[11]=v);let y=v,b;e[12]===n.data?b=e[13]:(b=ae(n.data,`persistent`),e[12]=n.data,e[13]=b);let S=b,C;e[14]===S?C=e[15]:(C=new Map(S.map(it)),e[14]=S,e[15]=C);let w=C,T=a.isPending||y.length<2,E;e[16]!==y||e[17]!==a?(E=(e,t)=>{let n=Qe(y,e,t);n!==null&&(f(n.order),a.mutate({id:e,previousProjectId:n.previousProjectId,nextProjectId:n.nextProjectId},{onError:()=>f(null)}))},e[16]=y,e[17]=a,e[18]=E):E=e[18];let D=E,O=!o.isAvailable||o.isCreating,k;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,$.jsx)(x,{name:`Plus`,className:`size-3.5`}),e[19]=k):k=e[19];let A;e[20]!==o.openCreateDialog||e[21]!==O?(A=(0,$.jsxs)(G,{variant:`outline`,size:`sm`,disabled:O,onClick:o.openCreateDialog,children:[k,`Add a project`]}),e[20]=o.openCreateDialog,e[21]=O,e[22]=A):A=e[22];let j;e[23]!==i||e[24]!==T||e[25]!==D||e[26]!==w||e[27]!==y||e[28]!==_||e[29]!==t.isError||e[30]!==r?(j=t.isError?(0,$.jsx)(`p`,{className:`text-sm text-destructive`,role:`alert`,children:`Couldn't load projects.`}):_===void 0?(0,$.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`}):_.length===0?(0,$.jsx)(`p`,{className:`text-sm text-subtle-foreground`,children:`No projects yet. Add a project to start running threads in a repository.`}):(0,$.jsx)(Je,{ids:y,disabled:T,onReorder:D,children:_.map(e=>(0,$.jsx)(nt,{project:e,summary:et(e,w),dragDisabled:T,onRename:()=>{r.reset(),c({id:e.id,currentName:e.name})},onDelete:()=>{i.reset(),u({id:e.id,name:e.name})}},e.id))}),e[23]=i,e[24]=T,e[25]=D,e[26]=w,e[27]=y,e[28]=_,e[29]=t.isError,e[30]=r,e[31]=j):j=e[31];let M;e[32]!==j||e[33]!==A?(M=(0,$.jsx)(de,{title:`Projects`,description:Xe,action:A,children:j}),e[32]=j,e[33]=A,e[34]=M):M=e[34];let N;e[35]!==o.hostId||e[36]!==o.hostName||e[37]!==o.hosts||e[38]!==o.isCreating||e[39]!==o.platform||e[40]!==o.projectPathDialog.onOpenChange||e[41]!==o.projectPathDialog.target||e[42]!==o.submitProjectPath?(N=(0,$.jsx)(F,{target:o.projectPathDialog.target,pending:o.isCreating,platform:o.platform,hostId:o.hostId,hostName:o.hostName,hosts:o.hosts,onOpenChange:o.projectPathDialog.onOpenChange,onSubmit:o.submitProjectPath}),e[35]=o.hostId,e[36]=o.hostName,e[37]=o.hosts,e[38]=o.isCreating,e[39]=o.platform,e[40]=o.projectPathDialog.onOpenChange,e[41]=o.projectPathDialog.target,e[42]=o.submitProjectPath,e[43]=N):N=e[43];let P;e[44]===r.isPending?P=e[45]:(P=e=>{!e&&!r.isPending&&c(null)},e[44]=r.isPending,e[45]=P);let R;e[46]===r?R=e[47]:(R=(e,t)=>r.mutate({id:e,name:t},{onSuccess:()=>c(null)}),e[46]=r,e[47]=R);let B;e[48]!==s||e[49]!==P||e[50]!==R||e[51]!==r.isPending?(B=(0,$.jsx)(re,{target:s,pending:r.isPending,onOpenChange:P,onRename:R}),e[48]=s,e[49]=P,e[50]=R,e[51]=r.isPending,e[52]=B):B=e[52];let V;e[53]===i.isPending?V=e[54]:(V=e=>{!e&&!i.isPending&&u(null)},e[53]=i.isPending,e[54]=V);let H;e[55]===i?H=e[56]:(H=e=>i.mutate(e,{onSuccess:()=>u(null)}),e[55]=i,e[56]=H);let U;e[57]!==i.isPending||e[58]!==l||e[59]!==V||e[60]!==H?(U=(0,$.jsx)(W,{target:l,pending:i.isPending,onOpenChange:V,onDelete:H}),e[57]=i.isPending,e[58]=l,e[59]=V,e[60]=H,e[61]=U):U=e[61];let q;return e[62]!==M||e[63]!==N||e[64]!==B||e[65]!==U?(q=(0,$.jsxs)($.Fragment,{children:[M,N,B,U]}),e[62]=M,e[63]=N,e[64]=B,e[65]=U,e[66]=q):q=e[66],q}function it(e){return[e.id,e]}function at(e){return e.id}function ot(e){return[e.id,e]}export{Ye as a,Te as c,he as d,_e as f,Je as i,xe as l,Ze as n,Me as o,ye as p,$e as r,Pe as s,rt as t,Ce as u};
|
|
Binary file
|
|
Binary file
|
package/app/dist/assets/{SecondaryPanelLayout-DK9e6Wvw.js → SecondaryPanelLayout-Cusv3Frw.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ai as t,Kr as n,Zr as r,bi as i,ki as a}from"./boot-vendor-DmI63oXH.js";import{$t as o,Al as s,Bm as ee,Dh as te,Hm as c,La as l,Lm as ne,Nl as u,Ra as re,Vm as ie,bi as d,ch as f,zm as ae,zn as oe}from"./index-C5R2EQf4.js";import{S as p,_ as m,b as se,t as ce,x as le}from"./plugin-detail-navigation-BvnYG1vG.js";var ue=r(),h=e(t(),1),de=e(a(),1),g=e(i(),1),_=`[transition:translate_220ms_cubic-bezier(0.32,0.72,0,1),width_220ms_cubic-bezier(0.32,0.72,0,1)] motion-reduce:transition-none!`,fe=220,v=`translate 220ms cubic-bezier(0.32, 0.72, 0, 1)`;function pe(e){let t=(0,ue.c)(53),{children:n,onClose:r,onContentAnimationEnd:i,open:a,presentation:o,srLabel:s}=e,c=(0,h.useId)(),u=(0,h.useRef)(null),re=(0,h.useRef)(null),ie=(0,h.useRef)(null),f=a?o:`closed`,oe=(0,h.useRef)(r),p,m;t[0]===r?(p=t[1],m=t[2]):(p=()=>{oe.current=r},m=[r],t[0]=r,t[1]=p,t[2]=m),(0,h.useLayoutEffect)(p,m);let se;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(se=()=>oe.current(),t[3]=se):se=t[3];let ce=se,le;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(le=()=>{let e=ie.current;e!==null&&(e.style.translate=``,e.style.transition=``,ie.current=null);let t=re.current;t!==null&&(t.style.translate=``,t.style.transition=``)},t[4]=le):le=t[4];let pe=le,y;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(y=e=>{let{progress:t,width:n,settling:r}=e,i=u.current,a=re.current;if(i===null||a===null)return;let o=i.ownerDocument.querySelector(`[data-sidebar="inset"]`),s=`${-n*t}px`,ee=r?v:`none`;o instanceof HTMLElement&&(ie.current=o,o.style.translate=s,o.style.transition=ee),a.style.translate=s,a.style.transition=ee},t[5]=y):y=t[5];let he=y,b;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(b=()=>u.current?.clientWidth??0,t[6]=b):b=t[6];let x;t[7]!==a||t[8]!==o?(x={direction:`right`,dismissTiming:`immediate`,enabled:a,getWidth:b,onClear:pe,onDismiss:ce,onProgress:he,resetKey:o,suppressClick:!1},t[7]=a,t[8]=o,t[9]=x):x=t[9];let{beginPointerDrag:S,beginTouchDrag:C}=ne(x),[w,T]=(0,h.useState)(null),E,D;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>{T(document.body)},D=[],t[10]=E,t[11]=D):(E=t[10],D=t[11]),(0,h.useEffect)(E,D);let O=a&&w!==null,k;t[12]===O?k=t[13]:(k={open:O,panelRef:u,requestClose:ce},t[12]=O,t[13]=k),l(k);let A,j;t[14]===a?(A=t[15],j=t[16]):(A=()=>{if(a)return;let e=u.current;e!==null&&ae(e)&&e.ownerDocument.getSelection()?.removeAllRanges()},j=[a],t[14]=a,t[15]=A,t[16]=j),(0,h.useLayoutEffect)(A,j);let M,N;t[17]===f?(M=t[18],N=t[19]):(M=()=>(ee(f),me),N=[f],t[17]=f,t[18]=M,t[19]=N),(0,h.useEffect)(M,N);let P,F;if(t[20]!==i||t[21]!==a?(P=()=>{if(i===void 0)return;let e=window.setTimeout(()=>i(a),fe);return()=>window.clearTimeout(e)},F=[i,a],t[20]=i,t[21]=a,t[22]=P,t[23]=F):(P=t[22],F=t[23]),(0,h.useEffect)(P,F),w===null)return null;let I,L;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(I={zIndex:d.secondaryPanelDismiss},L=te(`fixed inset-0 bg-transparent`,`data-[state=shelf]:-translate-x-(--secondary-panel-width-mobile)`,`data-[state=full]:-translate-x-full`,_,`data-[state=closed]:pointer-events-none data-[state=full]:pointer-events-none`),t[24]=I,t[25]=L):(I=t[24],L=t[25]);let R;t[26]!==S||t[27]!==C||t[28]!==f?(R=(0,g.jsx)(`div`,{ref:re,"data-testid":`secondary-panel-shelf-dismiss`,"data-state":f,"aria-hidden":`true`,style:I,className:L,onClick:ce,onPointerDown:S,onTouchStart:C}),t[26]=S,t[27]=C,t[28]=f,t[29]=R):R=t[29];let ge=!a,_e=f===`full`?d.secondaryPanelFullPage:d.secondaryPanel,z;t[30]===_e?z=t[31]:(z={zIndex:_e},t[30]=_e,t[31]=z);let B;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(B=te(`fixed inset-y-0 right-0 flex h-(--bb-shell-height) flex-col overflow-hidden border-l border-border-seam bg-background pt-[env(safe-area-inset-top)] pr-[env(safe-area-inset-right)] pb-[var(--bb-safe-area-bottom,env(safe-area-inset-bottom))] pl-[env(safe-area-inset-left)] outline-none`,`w-(--secondary-panel-width-mobile) data-[state=full]:w-full data-[state=full]:border-l-0`,_,`data-[state=closed]:invisible data-[state=closed]:[transition:visibility_0s_linear_220ms]`),t[32]=B):B=t[32];let V;t[33]!==c||t[34]!==s?(V=(0,g.jsx)(`span`,{id:c,className:`sr-only`,children:s}),t[33]=c,t[34]=s,t[35]=V):V=t[35];let H;t[36]===n?H=t[37]:(H=(0,g.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:n}),t[36]=n,t[37]=H);let U;t[38]!==S||t[39]!==C||t[40]!==c||t[41]!==f||t[42]!==ge||t[43]!==z||t[44]!==V||t[45]!==H?(U=(0,g.jsxs)(`div`,{ref:u,role:`dialog`,"aria-modal":`true`,"aria-labelledby":c,"data-bb-portaled-overlay":``,tabIndex:-1,inert:ge,"data-testid":`secondary-panel-shelf`,"data-state":f,style:z,className:B,onPointerDown:S,onTouchStart:C,children:[V,H]}),t[38]=S,t[39]=C,t[40]=c,t[41]=f,t[42]=ge,t[43]=z,t[44]=V,t[45]=H,t[46]=U):U=t[46];let W;t[47]!==R||t[48]!==U?(W=(0,g.jsxs)(g.Fragment,{children:[R,U]}),t[47]=R,t[48]=U,t[49]=W):W=t[49];let G;return t[50]!==w||t[51]!==W?(G=(0,de.createPortal)(W,w),t[50]=w,t[51]=W,t[52]=G):G=t[52],G}function me(){return ee(`closed`)}var y=100,he=30;function b(){}function x(e){let t=(0,ue.c)(106),{open:r,onToggle:i,onClose:a,panelGroupKey:ee,resetKey:l,contentKey:ne,drawerLabel:d,drawerFallback:ae,mainPanelId:de,mainHeader:_,main:fe,collapse:v,renderPanel:me,renderHostedPanel:x,composerHost:C,compactPresentation:w}=e,T=s(),E=(0,h.useContext)(ce),D=E!==null&&E.activePluginId!==null?`full`:w,O;t[0]!==E||t[1]!==me?(O=e=>(0,g.jsx)(ce.Provider,{value:E,children:me(e)}),t[0]=E,t[1]=me,t[2]=O):O=t[2];let k=O,A=T?.secondaryPanelHost??null,j=f(),M=(0,h.useSyncExternalStore)(c,ie,S),N=(0,h.useRef)(M),P,F;t[3]!==a||t[4]!==r||t[5]!==j||t[6]!==M?(P=()=>{let e=M&&!N.current;N.current=M,!(!j||!r||!e)&&a()},F=[a,r,j,M],t[3]=a,t[4]=r,t[5]=j,t[6]=M,t[7]=P,t[8]=F):(P=t[7],F=t[8]),(0,h.useEffect)(P,F);let I=le(l,!j),L=n(o),R=r&&!j&&v?.active===!0,ge=(0,h.useRef)(null),_e=(0,h.useRef)(L),z,B;t[9]===L?(z=t[10],B=t[11]):(z=()=>{_e.current=L},B=[L],t[9]=L,t[10]=z,t[11]=B),(0,h.useEffect)(z,B);let V,H;t[12]!==R||t[13]!==r||t[14]!==j?(V=()=>{let e=ge.current;if(e===null||j||e.getLayout().length!==2)return;if(!r){e.setLayout([y,0]);return}if(R){e.setLayout([0,y]);return}let t=_e.current;e.setLayout([y-t,t])},H=[R,r,j],t[12]=R,t[13]=r,t[14]=j,t[15]=V,t[16]=H):(V=t[15],H=t[16]),(0,h.useLayoutEffect)(V,H);let[U,W]=(0,h.useState)(!1),G;t[17]!==r||t[18]!==j?(G={open:r,enabled:j},t[17]=r,t[18]=j,t[19]=G):G=t[19];let{isContentRealized:ve,realizeContent:ye}=re(G),be=(0,h.useRef)(null),xe=(0,h.useRef)(0),Se;t[20]!==r||t[21]!==j||t[22]!==l?(Se={open:r,renderAsDrawer:j,resetKey:l},t[20]=r,t[21]=j,t[22]=l,t[23]=Se):Se=t[23];let Ce=(0,h.useRef)(Se),we,Te;t[24]!==r||t[25]!==j||t[26]!==l?(we=()=>{Ce.current={open:r,renderAsDrawer:j,resetKey:l}},Te=[r,j,l],t[24]=r,t[25]=j,t[26]=l,t[27]=we,t[28]=Te):(we=t[27],Te=t[28]),(0,h.useLayoutEffect)(we,Te);let Ee;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=()=>{xe.current+=1,be.current!==null&&(window.cancelAnimationFrame(be.current),be.current=null)},t[29]=Ee):Ee=t[29];let De=Ee,Oe;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=()=>{De(),W(!1)},t[30]=Oe):Oe=t[30];let ke;t[31]!==r||t[32]!==j||t[33]!==l?(ke=[De,r,j,l],t[31]=r,t[32]=j,t[33]=l,t[34]=ke):ke=t[34],(0,h.useLayoutEffect)(Oe,ke);let Ae,je;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(Ae=()=>()=>{De()},je=[De],t[35]=Ae,t[36]=je):(Ae=t[35],je=t[36]),(0,h.useLayoutEffect)(Ae,je);let Me;t[37]===ye?Me=t[38]:(Me=e=>{if(!e)return;let t=Ce.current;if(!t.open||!t.renderAsDrawer)return;De();let n=xe.current,r=t.resetKey;be.current=window.requestAnimationFrame(()=>{be.current=null;let e=Ce.current;if(xe.current!==n||e.resetKey!==r||!e.open||!e.renderAsDrawer)return;oe();let t=Ce.current;xe.current===n&&t.resetKey===r&&t.open&&t.renderAsDrawer&&(W(!0),ye())})},t[37]=ye,t[38]=Me);let Ne=Me,K=j?r&&U:r&&(A===null||T?.isFocused===!0),Pe=A===null||T===null?void 0:`thread-detail-secondary-panel-${T.paneId}`;v?.onToggle;let Fe;t[39]!==K||t[40]!==v?.onToggle||t[41]!==R||t[42]!==j||t[43]!==k||t[44]!==Pe?(Fe=j?null:k({presentation:`inline`,canShowNativeBrowserView:K,isMainCollapsed:R,onToggleMainCollapse:v?.onToggle??b,resizablePanelId:Pe}),t[39]=K,t[40]=v?.onToggle,t[41]=R,t[42]=j,t[43]=k,t[44]=Pe,t[45]=Fe):Fe=t[45];let q=Fe,J;t[46]!==K||t[47]!==v?.onToggle||t[48]!==j||t[49]!==k?(J=()=>j?k({presentation:`drawer`,canShowNativeBrowserView:K,isMainCollapsed:!1,onToggleMainCollapse:v?.onToggle??b}):null,t[46]=K,t[47]=v?.onToggle,t[48]=j,t[49]=k,t[50]=J):J=t[50],v?.onToggle;let Ie;t[51]===J?Ie=t[52]:(Ie=J(),t[51]=J,t[52]=Ie);let Le=Ie,Y;t[53]!==q||t[54]!==x?(Y=x?.(q)??q,t[53]=q,t[54]=x,t[55]=Y):Y=t[55];let Re;t[56]!==C||t[57]!==ne||t[58]!==R||t[59]!==i||t[60]!==r||t[61]!==Y||t[62]!==I?(Re={composerHost:C,contentKey:ne,isMainCollapsed:R,isOpen:r,panel:Y,onToggle:i,transitionsReady:I},t[56]=C,t[57]=ne,t[58]=R,t[59]=i,t[60]=r,t[61]=Y,t[62]=I,t[63]=Re):Re=t[63],u(A,Re);let ze=A===null?T?.paneId:void 0,Be=A===null&&`h-full`,Ve=R&&`opacity-0`,X;t[64]!==Be||t[65]!==Ve?(X=te(`flex min-h-0 min-w-0 flex-1 flex-col transition-opacity`,Be,m,Ve),t[64]=Be,t[65]=Ve,t[66]=X):X=t[66];let He=A===null?_:null,Ue;t[67]!==R||t[68]!==fe||t[69]!==ze||t[70]!==X||t[71]!==He?(Ue=(0,g.jsxs)(`div`,{"data-split-pane-id":ze,inert:R,className:X,children:[He,fe]}),t[67]=R,t[68]=fe,t[69]=ze,t[70]=X,t[71]=He,t[72]=Ue):Ue=t[72];let Z=Ue;if(A!==null){let e;return t[73]!==Z||t[74]!==_?(e=(0,g.jsxs)(g.Fragment,{children:[_,Z]}),t[73]=Z,t[74]=_,t[75]=e):e=t[75],e}let We=ee??l,Q;t[76]===I?Q=t[77]:(Q=se(I),t[76]=I,t[77]=Q);let $;t[78]===Q?$=t[79]:($={overflow:`clip`,...Q},t[78]=Q,t[79]=$);let Ge;t[80]===v?Ge=t[81]:(Ge=v===void 0?{}:{collapsible:!0,collapsedSize:0},t[80]=v,t[81]=Ge);let Ke=R?0:r&&!j?y-L:y,qe;t[82]===Symbol.for(`react.memo_cache_sentinel`)?(qe=te(`min-w-0 overflow-clip transition-[flex-grow,flex-basis]`,m),t[82]=qe):qe=t[82];let Je;t[83]!==Z||t[84]!==de||t[85]!==Ge||t[86]!==Ke?(Je=(0,g.jsx)(p.Panel,{id:de,...Ge,defaultSize:Ke,minSize:he,order:1,className:qe,children:Z}),t[83]=Z,t[84]=de,t[85]=Ge,t[86]=Ke,t[87]=Je):Je=t[87];let Ye;t[88]!==q||t[89]!==We||t[90]!==$||t[91]!==Je?(Ye=(0,g.jsx)(`div`,{className:`flex min-h-0 w-full min-w-0 flex-1`,children:(0,g.jsxs)(p.PanelGroup,{ref:ge,"data-split-resize-grid-root":``,direction:`horizontal`,className:`@container h-full min-w-0 flex-1`,style:$,children:[Je,q]},We)}),t[88]=q,t[89]=We,t[90]=$,t[91]=Je,t[92]=Ye):Ye=t[92];let Xe;t[93]!==D||t[94]!==ae||t[95]!==d||t[96]!==Le||t[97]!==Ne||t[98]!==ve||t[99]!==a||t[100]!==r||t[101]!==j?(Xe=j?(0,g.jsx)(pe,{open:r,onClose:a,presentation:D,srLabel:d,onContentAnimationEnd:Ne,children:ve?Le:ae}):null,t[93]=D,t[94]=ae,t[95]=d,t[96]=Le,t[97]=Ne,t[98]=ve,t[99]=a,t[100]=r,t[101]=j,t[102]=Xe):Xe=t[102];let Ze;return t[103]!==Ye||t[104]!==Xe?(Ze=(0,g.jsxs)(g.Fragment,{children:[Ye,Xe]}),t[103]=Ye,t[104]=Xe,t[105]=Ze):Ze=t[105],Ze}function S(){return!1}export{x as t};
|
|
1
|
+
import{o as e}from"./rolldown-runtime-BM3Ffeng.js";import{Ai as t,Kr as n,Zr as r,bi as i,ki as a}from"./boot-vendor-DmI63oXH.js";import{$t as o,Al as s,Bm as ee,Dh as te,Hm as c,La as l,Lm as ne,Nl as u,Ra as re,Vm as ie,bi as d,ch as f,zm as ae,zn as oe}from"./index-DecRjD4J.js";import{S as p,_ as m,b as se,t as ce,x as le}from"./plugin-detail-navigation-Bs9RE1zg.js";var ue=r(),h=e(t(),1),de=e(a(),1),g=e(i(),1),_=`[transition:translate_220ms_cubic-bezier(0.32,0.72,0,1),width_220ms_cubic-bezier(0.32,0.72,0,1)] motion-reduce:transition-none!`,fe=220,v=`translate 220ms cubic-bezier(0.32, 0.72, 0, 1)`;function pe(e){let t=(0,ue.c)(53),{children:n,onClose:r,onContentAnimationEnd:i,open:a,presentation:o,srLabel:s}=e,c=(0,h.useId)(),u=(0,h.useRef)(null),re=(0,h.useRef)(null),ie=(0,h.useRef)(null),f=a?o:`closed`,oe=(0,h.useRef)(r),p,m;t[0]===r?(p=t[1],m=t[2]):(p=()=>{oe.current=r},m=[r],t[0]=r,t[1]=p,t[2]=m),(0,h.useLayoutEffect)(p,m);let se;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(se=()=>oe.current(),t[3]=se):se=t[3];let ce=se,le;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(le=()=>{let e=ie.current;e!==null&&(e.style.translate=``,e.style.transition=``,ie.current=null);let t=re.current;t!==null&&(t.style.translate=``,t.style.transition=``)},t[4]=le):le=t[4];let pe=le,y;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(y=e=>{let{progress:t,width:n,settling:r}=e,i=u.current,a=re.current;if(i===null||a===null)return;let o=i.ownerDocument.querySelector(`[data-sidebar="inset"]`),s=`${-n*t}px`,ee=r?v:`none`;o instanceof HTMLElement&&(ie.current=o,o.style.translate=s,o.style.transition=ee),a.style.translate=s,a.style.transition=ee},t[5]=y):y=t[5];let he=y,b;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(b=()=>u.current?.clientWidth??0,t[6]=b):b=t[6];let x;t[7]!==a||t[8]!==o?(x={direction:`right`,dismissTiming:`immediate`,enabled:a,getWidth:b,onClear:pe,onDismiss:ce,onProgress:he,resetKey:o,suppressClick:!1},t[7]=a,t[8]=o,t[9]=x):x=t[9];let{beginPointerDrag:S,beginTouchDrag:C}=ne(x),[w,T]=(0,h.useState)(null),E,D;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>{T(document.body)},D=[],t[10]=E,t[11]=D):(E=t[10],D=t[11]),(0,h.useEffect)(E,D);let O=a&&w!==null,k;t[12]===O?k=t[13]:(k={open:O,panelRef:u,requestClose:ce},t[12]=O,t[13]=k),l(k);let A,j;t[14]===a?(A=t[15],j=t[16]):(A=()=>{if(a)return;let e=u.current;e!==null&&ae(e)&&e.ownerDocument.getSelection()?.removeAllRanges()},j=[a],t[14]=a,t[15]=A,t[16]=j),(0,h.useLayoutEffect)(A,j);let M,N;t[17]===f?(M=t[18],N=t[19]):(M=()=>(ee(f),me),N=[f],t[17]=f,t[18]=M,t[19]=N),(0,h.useEffect)(M,N);let P,F;if(t[20]!==i||t[21]!==a?(P=()=>{if(i===void 0)return;let e=window.setTimeout(()=>i(a),fe);return()=>window.clearTimeout(e)},F=[i,a],t[20]=i,t[21]=a,t[22]=P,t[23]=F):(P=t[22],F=t[23]),(0,h.useEffect)(P,F),w===null)return null;let I,L;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(I={zIndex:d.secondaryPanelDismiss},L=te(`fixed inset-0 bg-transparent`,`data-[state=shelf]:-translate-x-(--secondary-panel-width-mobile)`,`data-[state=full]:-translate-x-full`,_,`data-[state=closed]:pointer-events-none data-[state=full]:pointer-events-none`),t[24]=I,t[25]=L):(I=t[24],L=t[25]);let R;t[26]!==S||t[27]!==C||t[28]!==f?(R=(0,g.jsx)(`div`,{ref:re,"data-testid":`secondary-panel-shelf-dismiss`,"data-state":f,"aria-hidden":`true`,style:I,className:L,onClick:ce,onPointerDown:S,onTouchStart:C}),t[26]=S,t[27]=C,t[28]=f,t[29]=R):R=t[29];let ge=!a,_e=f===`full`?d.secondaryPanelFullPage:d.secondaryPanel,z;t[30]===_e?z=t[31]:(z={zIndex:_e},t[30]=_e,t[31]=z);let B;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(B=te(`fixed inset-y-0 right-0 flex h-(--bb-shell-height) flex-col overflow-hidden border-l border-border-seam bg-background pt-[env(safe-area-inset-top)] pr-[env(safe-area-inset-right)] pb-[var(--bb-safe-area-bottom,env(safe-area-inset-bottom))] pl-[env(safe-area-inset-left)] outline-none`,`w-(--secondary-panel-width-mobile) data-[state=full]:w-full data-[state=full]:border-l-0`,_,`data-[state=closed]:invisible data-[state=closed]:[transition:visibility_0s_linear_220ms]`),t[32]=B):B=t[32];let V;t[33]!==c||t[34]!==s?(V=(0,g.jsx)(`span`,{id:c,className:`sr-only`,children:s}),t[33]=c,t[34]=s,t[35]=V):V=t[35];let H;t[36]===n?H=t[37]:(H=(0,g.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col overflow-hidden`,children:n}),t[36]=n,t[37]=H);let U;t[38]!==S||t[39]!==C||t[40]!==c||t[41]!==f||t[42]!==ge||t[43]!==z||t[44]!==V||t[45]!==H?(U=(0,g.jsxs)(`div`,{ref:u,role:`dialog`,"aria-modal":`true`,"aria-labelledby":c,"data-bb-portaled-overlay":``,tabIndex:-1,inert:ge,"data-testid":`secondary-panel-shelf`,"data-state":f,style:z,className:B,onPointerDown:S,onTouchStart:C,children:[V,H]}),t[38]=S,t[39]=C,t[40]=c,t[41]=f,t[42]=ge,t[43]=z,t[44]=V,t[45]=H,t[46]=U):U=t[46];let W;t[47]!==R||t[48]!==U?(W=(0,g.jsxs)(g.Fragment,{children:[R,U]}),t[47]=R,t[48]=U,t[49]=W):W=t[49];let G;return t[50]!==w||t[51]!==W?(G=(0,de.createPortal)(W,w),t[50]=w,t[51]=W,t[52]=G):G=t[52],G}function me(){return ee(`closed`)}var y=100,he=30;function b(){}function x(e){let t=(0,ue.c)(106),{open:r,onToggle:i,onClose:a,panelGroupKey:ee,resetKey:l,contentKey:ne,drawerLabel:d,drawerFallback:ae,mainPanelId:de,mainHeader:_,main:fe,collapse:v,renderPanel:me,renderHostedPanel:x,composerHost:C,compactPresentation:w}=e,T=s(),E=(0,h.useContext)(ce),D=E!==null&&E.activePluginId!==null?`full`:w,O;t[0]!==E||t[1]!==me?(O=e=>(0,g.jsx)(ce.Provider,{value:E,children:me(e)}),t[0]=E,t[1]=me,t[2]=O):O=t[2];let k=O,A=T?.secondaryPanelHost??null,j=f(),M=(0,h.useSyncExternalStore)(c,ie,S),N=(0,h.useRef)(M),P,F;t[3]!==a||t[4]!==r||t[5]!==j||t[6]!==M?(P=()=>{let e=M&&!N.current;N.current=M,!(!j||!r||!e)&&a()},F=[a,r,j,M],t[3]=a,t[4]=r,t[5]=j,t[6]=M,t[7]=P,t[8]=F):(P=t[7],F=t[8]),(0,h.useEffect)(P,F);let I=le(l,!j),L=n(o),R=r&&!j&&v?.active===!0,ge=(0,h.useRef)(null),_e=(0,h.useRef)(L),z,B;t[9]===L?(z=t[10],B=t[11]):(z=()=>{_e.current=L},B=[L],t[9]=L,t[10]=z,t[11]=B),(0,h.useEffect)(z,B);let V,H;t[12]!==R||t[13]!==r||t[14]!==j?(V=()=>{let e=ge.current;if(e===null||j||e.getLayout().length!==2)return;if(!r){e.setLayout([y,0]);return}if(R){e.setLayout([0,y]);return}let t=_e.current;e.setLayout([y-t,t])},H=[R,r,j],t[12]=R,t[13]=r,t[14]=j,t[15]=V,t[16]=H):(V=t[15],H=t[16]),(0,h.useLayoutEffect)(V,H);let[U,W]=(0,h.useState)(!1),G;t[17]!==r||t[18]!==j?(G={open:r,enabled:j},t[17]=r,t[18]=j,t[19]=G):G=t[19];let{isContentRealized:ve,realizeContent:ye}=re(G),be=(0,h.useRef)(null),xe=(0,h.useRef)(0),Se;t[20]!==r||t[21]!==j||t[22]!==l?(Se={open:r,renderAsDrawer:j,resetKey:l},t[20]=r,t[21]=j,t[22]=l,t[23]=Se):Se=t[23];let Ce=(0,h.useRef)(Se),we,Te;t[24]!==r||t[25]!==j||t[26]!==l?(we=()=>{Ce.current={open:r,renderAsDrawer:j,resetKey:l}},Te=[r,j,l],t[24]=r,t[25]=j,t[26]=l,t[27]=we,t[28]=Te):(we=t[27],Te=t[28]),(0,h.useLayoutEffect)(we,Te);let Ee;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=()=>{xe.current+=1,be.current!==null&&(window.cancelAnimationFrame(be.current),be.current=null)},t[29]=Ee):Ee=t[29];let De=Ee,Oe;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=()=>{De(),W(!1)},t[30]=Oe):Oe=t[30];let ke;t[31]!==r||t[32]!==j||t[33]!==l?(ke=[De,r,j,l],t[31]=r,t[32]=j,t[33]=l,t[34]=ke):ke=t[34],(0,h.useLayoutEffect)(Oe,ke);let Ae,je;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(Ae=()=>()=>{De()},je=[De],t[35]=Ae,t[36]=je):(Ae=t[35],je=t[36]),(0,h.useLayoutEffect)(Ae,je);let Me;t[37]===ye?Me=t[38]:(Me=e=>{if(!e)return;let t=Ce.current;if(!t.open||!t.renderAsDrawer)return;De();let n=xe.current,r=t.resetKey;be.current=window.requestAnimationFrame(()=>{be.current=null;let e=Ce.current;if(xe.current!==n||e.resetKey!==r||!e.open||!e.renderAsDrawer)return;oe();let t=Ce.current;xe.current===n&&t.resetKey===r&&t.open&&t.renderAsDrawer&&(W(!0),ye())})},t[37]=ye,t[38]=Me);let Ne=Me,K=j?r&&U:r&&(A===null||T?.isFocused===!0),Pe=A===null||T===null?void 0:`thread-detail-secondary-panel-${T.paneId}`;v?.onToggle;let Fe;t[39]!==K||t[40]!==v?.onToggle||t[41]!==R||t[42]!==j||t[43]!==k||t[44]!==Pe?(Fe=j?null:k({presentation:`inline`,canShowNativeBrowserView:K,isMainCollapsed:R,onToggleMainCollapse:v?.onToggle??b,resizablePanelId:Pe}),t[39]=K,t[40]=v?.onToggle,t[41]=R,t[42]=j,t[43]=k,t[44]=Pe,t[45]=Fe):Fe=t[45];let q=Fe,J;t[46]!==K||t[47]!==v?.onToggle||t[48]!==j||t[49]!==k?(J=()=>j?k({presentation:`drawer`,canShowNativeBrowserView:K,isMainCollapsed:!1,onToggleMainCollapse:v?.onToggle??b}):null,t[46]=K,t[47]=v?.onToggle,t[48]=j,t[49]=k,t[50]=J):J=t[50],v?.onToggle;let Ie;t[51]===J?Ie=t[52]:(Ie=J(),t[51]=J,t[52]=Ie);let Le=Ie,Y;t[53]!==q||t[54]!==x?(Y=x?.(q)??q,t[53]=q,t[54]=x,t[55]=Y):Y=t[55];let Re;t[56]!==C||t[57]!==ne||t[58]!==R||t[59]!==i||t[60]!==r||t[61]!==Y||t[62]!==I?(Re={composerHost:C,contentKey:ne,isMainCollapsed:R,isOpen:r,panel:Y,onToggle:i,transitionsReady:I},t[56]=C,t[57]=ne,t[58]=R,t[59]=i,t[60]=r,t[61]=Y,t[62]=I,t[63]=Re):Re=t[63],u(A,Re);let ze=A===null?T?.paneId:void 0,Be=A===null&&`h-full`,Ve=R&&`opacity-0`,X;t[64]!==Be||t[65]!==Ve?(X=te(`flex min-h-0 min-w-0 flex-1 flex-col transition-opacity`,Be,m,Ve),t[64]=Be,t[65]=Ve,t[66]=X):X=t[66];let He=A===null?_:null,Ue;t[67]!==R||t[68]!==fe||t[69]!==ze||t[70]!==X||t[71]!==He?(Ue=(0,g.jsxs)(`div`,{"data-split-pane-id":ze,inert:R,className:X,children:[He,fe]}),t[67]=R,t[68]=fe,t[69]=ze,t[70]=X,t[71]=He,t[72]=Ue):Ue=t[72];let Z=Ue;if(A!==null){let e;return t[73]!==Z||t[74]!==_?(e=(0,g.jsxs)(g.Fragment,{children:[_,Z]}),t[73]=Z,t[74]=_,t[75]=e):e=t[75],e}let We=ee??l,Q;t[76]===I?Q=t[77]:(Q=se(I),t[76]=I,t[77]=Q);let $;t[78]===Q?$=t[79]:($={overflow:`clip`,...Q},t[78]=Q,t[79]=$);let Ge;t[80]===v?Ge=t[81]:(Ge=v===void 0?{}:{collapsible:!0,collapsedSize:0},t[80]=v,t[81]=Ge);let Ke=R?0:r&&!j?y-L:y,qe;t[82]===Symbol.for(`react.memo_cache_sentinel`)?(qe=te(`min-w-0 overflow-clip transition-[flex-grow,flex-basis]`,m),t[82]=qe):qe=t[82];let Je;t[83]!==Z||t[84]!==de||t[85]!==Ge||t[86]!==Ke?(Je=(0,g.jsx)(p.Panel,{id:de,...Ge,defaultSize:Ke,minSize:he,order:1,className:qe,children:Z}),t[83]=Z,t[84]=de,t[85]=Ge,t[86]=Ke,t[87]=Je):Je=t[87];let Ye;t[88]!==q||t[89]!==We||t[90]!==$||t[91]!==Je?(Ye=(0,g.jsx)(`div`,{className:`flex min-h-0 w-full min-w-0 flex-1`,children:(0,g.jsxs)(p.PanelGroup,{ref:ge,"data-split-resize-grid-root":``,direction:`horizontal`,className:`@container h-full min-w-0 flex-1`,style:$,children:[Je,q]},We)}),t[88]=q,t[89]=We,t[90]=$,t[91]=Je,t[92]=Ye):Ye=t[92];let Xe;t[93]!==D||t[94]!==ae||t[95]!==d||t[96]!==Le||t[97]!==Ne||t[98]!==ve||t[99]!==a||t[100]!==r||t[101]!==j?(Xe=j?(0,g.jsx)(pe,{open:r,onClose:a,presentation:D,srLabel:d,onContentAnimationEnd:Ne,children:ve?Le:ae}):null,t[93]=D,t[94]=ae,t[95]=d,t[96]=Le,t[97]=Ne,t[98]=ve,t[99]=a,t[100]=r,t[101]=j,t[102]=Xe):Xe=t[102];let Ze;return t[103]!==Ye||t[104]!==Xe?(Ze=(0,g.jsxs)(g.Fragment,{children:[Ye,Xe]}),t[103]=Ye,t[104]=Xe,t[105]=Ze):Ze=t[105],Ze}function S(){return!1}export{x as t};
|
|
Binary file
|
|
Binary file
|