decocms 4.528.0 → 4.529.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{ActiveShapeUtils-Br894ljM.js → ActiveShapeUtils-DemHm_Wd.js} +1 -1
- package/dist/client/assets/{AlertCircle-DwVsFaci.js → AlertCircle-COvusPgV.js} +1 -1
- package/dist/client/assets/{AreaChart-BpoQ8IcB.js → AreaChart-DyTNutvb.js} +1 -1
- package/dist/client/assets/{ArrowLeft-D0U_UeWA.js → ArrowLeft-DLvj60sB.js} +1 -1
- package/dist/client/assets/{ArrowUp-BHvj9x12.js → ArrowUp-BUXNFn6K.js} +1 -1
- package/dist/client/assets/{BarChart-DSUrCO19.js → BarChart-pUJx5RZM.js} +1 -1
- package/dist/client/assets/{Building02-4g278Kck.js → Building02-GTlj-q2W.js} +1 -1
- package/dist/client/assets/{CartesianChart-B8sjFfWU.js → CartesianChart-GHKU27xx.js} +1 -1
- package/dist/client/assets/{CategoricalChart-C9NLmvFO.js → CategoricalChart-BYHLRXHR.js} +1 -1
- package/dist/client/assets/{CheckCircle-0mdIkBLG.js → CheckCircle-C512y-MG.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-BRbuqJl7.js → ChevronSelectorVertical-BsYzg3zS.js} +1 -1
- package/dist/client/assets/{ChevronUp-Cn8PaBxH.js → ChevronUp-krQUb2vU.js} +1 -1
- package/dist/client/assets/{Copy01-D6STLVd9.js → Copy01-DMa3yAGL.js} +1 -1
- package/dist/client/assets/{CreditCard01-CAW-vU_p.js → CreditCard01-B64VnM4Z.js} +1 -1
- package/dist/client/assets/{DotsVertical-C5Wc2qWf.js → DotsVertical-DcrZktRa.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-ClrUuJb8.js → ErrorBarContext-4lCbO0nP.js} +1 -1
- package/dist/client/assets/{Globe04-COPfJ3z-.js → Globe04-wvLOPSBv.js} +1 -1
- package/dist/client/assets/{Image01-D00jtGx4.js → Image01-C1LM4LI_.js} +1 -1
- package/dist/client/assets/{Key01-CiK2_UxI.js → Key01-DBOKyeyp.js} +1 -1
- package/dist/client/assets/{Link01-CEOBycf2.js → Link01-C15xvQCb.js} +1 -1
- package/dist/client/assets/{LinkBroken01-Bg7pBcuJ.js → LinkBroken01-C-j1r45F.js} +1 -1
- package/dist/client/assets/{Minus-_SQ5lvlh.js → Minus-pd7IxdG4.js} +1 -1
- package/dist/client/assets/{Monitor01-DyqIpSTl.js → Monitor01-DkBo0gFa.js} +1 -1
- package/dist/client/assets/{Play-BnWEmJaV.js → Play-BG4TP59z.js} +1 -1
- package/dist/client/assets/{Plus-BPVKrQFz.js → Plus-CZXpdtEH.js} +1 -1
- package/dist/client/assets/{ReferenceLine-_tT0r7bG.js → ReferenceLine-D8vPnc2l.js} +1 -1
- package/dist/client/assets/{SearchMd-OaBCBVrZ.js → SearchMd-7uzgB_fN.js} +1 -1
- package/dist/client/assets/{Sector-mFZOIMSW.js → Sector-BoQZLv3P.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-GpZCrbBR.js → ShoppingBag01-fwBzMipi.js} +1 -1
- package/dist/client/assets/{Sun-BG4-BfE7.js → Sun-BndYhLEq.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-CMpEiSPu.js → SwitchHorizontal01-C8FHYpzr.js} +1 -1
- package/dist/client/assets/{Tool01-CIeMmnyv.js → Tool01-D6wuoLhW.js} +1 -1
- package/dist/client/assets/{Trash01-BLXgUBsw.js → Trash01-fFkz00Bo.js} +1 -1
- package/dist/client/assets/{Upload01-CgYtU1Ux.js → Upload01-B7NXMv4U.js} +1 -1
- package/dist/client/assets/{UserSquare-pnEdx237.js → UserSquare-Dy6q7vGw.js} +1 -1
- package/dist/client/assets/{Users01-D-rlhQmk.js → Users01-Bzd23uge.js} +1 -1
- package/dist/client/assets/{XClose-yFNn0LgD.js → XClose-Bl8OQypT.js} +1 -1
- package/dist/client/assets/{ZoomOut-D8_eDbPl.js → ZoomOut-CbRHTtaG.js} +1 -1
- package/dist/client/assets/{access-gate-CCmKpIU6.js → access-gate-BUmBK35t.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-MrHyqJnn.js → add-connection-dialog-EKB9ifd5.js} +1 -1
- package/dist/client/assets/agent-analytics-BIR7Elpu.js +1 -0
- package/dist/client/assets/agent-app-BY_sxPgf.js +1 -0
- package/dist/client/assets/{agent-assets-DX3JCZz_.js → agent-assets-CLaEj6EO.js} +1 -1
- package/dist/client/assets/{agent-automation-BoPrO5n1.js → agent-automation-DjrvgxKz.js} +1 -1
- package/dist/client/assets/{agent-automations-Dj9SJC8y.js → agent-automations-B_j3JMK5.js} +1 -1
- package/dist/client/assets/{agent-calendar-CFKavSr7.js → agent-calendar-BYK51o6p.js} +1 -1
- package/dist/client/assets/{agent-connect-sources-guJSE0A3.js → agent-connect-sources-CEHAzyyH.js} +1 -1
- package/dist/client/assets/agent-deck-O9lG5hoA.js +1 -0
- package/dist/client/assets/{agent-e2e--KzDh_gU.js → agent-e2e-DC8qsIOa.js} +1 -1
- package/dist/client/assets/agent-experiments-BI2FazYu.js +1 -0
- package/dist/client/assets/{agent-file-Cdm4fL8A.js → agent-file-B2uxKC-F.js} +1 -1
- package/dist/client/assets/{agent-hosting-DewUrxzP.js → agent-hosting-RnWuRGIL.js} +1 -1
- package/dist/client/assets/{agent-icon-I45DkNr8.js → agent-icon-D8I51g86.js} +1 -1
- package/dist/client/assets/agent-library-CkANn3L_.js +1 -0
- package/dist/client/assets/agent-library-file-WsrEoVuH.js +1 -0
- package/dist/client/assets/agent-monitor-B02h5NLr.js +1 -0
- package/dist/client/assets/{agent-overview-D6KewKsA.js → agent-overview-C5NgXH7s.js} +1 -1
- package/dist/client/assets/{agent-releases-K-5ZFdWb.js → agent-releases-BC4vHFHk.js} +1 -1
- package/dist/client/assets/agent-settings-LRXrMwgi.js +1 -0
- package/dist/client/assets/{agent-site-editor-5gjIAuRv.js → agent-site-editor-DxPxTcxt.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-CkH40Rf7.js +2 -0
- package/dist/client/assets/agent-site-editor-content-Cr-1q_qf.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-BtO7VQJF.js +1 -0
- package/dist/client/assets/agent-view-JeA7v4l-.js +1 -0
- package/dist/client/assets/{agent-view-guard-CiKD3WZM.js → agent-view-guard-DGYTrdB6.js} +1 -1
- package/dist/client/assets/{agents-list-Bm03MUBc.js → agents-list-B3GTSyKF.js} +1 -1
- package/dist/client/assets/{ai-providers--gYjttQ2.js → ai-providers-kbqqFGXw.js} +1 -1
- package/dist/client/assets/{alert-CRToIlco.js → alert-Co4rQNsj.js} +1 -1
- package/dist/client/assets/{analytics-sections-CNk_D8Ba.js → analytics-sections-sv8ClgZ6.js} +1 -1
- package/dist/client/assets/{analytics-tab-BmUlDGzX.js → analytics-tab-CZkiyMbX.js} +1 -1
- package/dist/client/assets/{api-keys-MdTn4EBK.js → api-keys-C1HeQnUq.js} +1 -1
- package/dist/client/assets/api-keys-D5vUfJru.js +1 -0
- package/dist/client/assets/{app-editor-DLDQxSbu.js → app-editor-6n0QxI7G.js} +1 -1
- package/dist/client/assets/{asset-utils-B46ygA_L.js → asset-utils-BVjUn7sv.js} +1 -1
- package/dist/client/assets/{auth-AQB7DTaB.js → auth-D095ELC6.js} +1 -1
- package/dist/client/assets/{auth-catchall-WOw2KABS.js → auth-catchall-CNcTLbQH.js} +1 -1
- package/dist/client/assets/{auth-entry-D8h4o_s7.js → auth-entry-B00ENnh_.js} +1 -1
- package/dist/client/assets/{auth-split-layout-D1niEerJ.js → auth-split-layout-BygL4T3m.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-08aLFUVr.js → authenticate-and-persist-oauth-BWNvTNl4.js} +1 -1
- package/dist/client/assets/{automation-list-row-D9muuYwH.js → automation-list-row-D74lyjQr.js} +1 -1
- package/dist/client/assets/{automation-runs-Cu7hhQJb.js → automation-runs-CBMsjgBs.js} +1 -1
- package/dist/client/assets/{automations-Ct6FcxrV.js → automations-jj-tbLkb.js} +1 -1
- package/dist/client/assets/{autosend-CxxtAFJ_.js → autosend-CBkC989z.js} +1 -1
- package/dist/client/assets/{badge-zxuYXquF.js → badge-NOwFVf79.js} +1 -1
- package/dist/client/assets/{block-document-D4CMkt4c.js → block-document-BHzrJZOA.js} +3 -3
- package/dist/client/assets/{blocks-preview-workspace-context-LeIpajCL.js → blocks-preview-workspace-context-BXnXIitx.js} +1 -1
- package/dist/client/assets/{blocks-tab-states-BrRgLQ_Y.js → blocks-tab-states-B1baLGbh.js} +1 -1
- package/dist/client/assets/{blog-schema-B4i8W-yj.js → blog-schema-BfjxCL-D.js} +1 -1
- package/dist/client/assets/{buckets-CQWPtT87.js → buckets-DuxgHXni.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-CpbAFEGo.js → build-improve-prompt-doc-DfrXi7V7.js} +1 -1
- package/dist/client/assets/{calendar-C7teLmhJ.js → calendar-r-ZqwkU5.js} +1 -1
- package/dist/client/assets/{capability-load-error-lTXihmQk.js → capability-load-error-C_z_eZxA.js} +1 -1
- package/dist/client/assets/category-editor-BVzHX2Tl.js +1 -0
- package/dist/client/assets/{cdn-tab-BstEuIpQ.js → cdn-tab-CqrDuE12.js} +1 -1
- package/dist/client/assets/{chart-DVgatavr.js → chart-CpZD0pzF.js} +1 -1
- package/dist/client/assets/{chat-context-DIvwe-Wr.js → chat-context-CFRPrQEn.js} +1 -1
- package/dist/client/assets/{chat-draft-DByw699W.js → chat-draft-CookMc2A.js} +1 -1
- package/dist/client/assets/{checkbox-CW4Dzojp.js → checkbox-CHAX1Xck.js} +1 -1
- package/dist/client/assets/{choose-editor-zIlz3nud.js → choose-editor-agHDRvWe.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CYE6hkOe.js → cli-auth-success-DiUqDmOP.js} +1 -1
- package/dist/client/assets/{client-icons-DL1p9F4w.js → client-icons-CbLac6SE.js} +1 -1
- package/dist/client/assets/cms-settings-editor-osH6UqMf.js +1 -0
- package/dist/client/assets/{collapsible-zPk-2gi_.js → collapsible-B0-dgkow.js} +1 -1
- package/dist/client/assets/{collection-detail-Drfng1H4.js → collection-detail-DMhjkfO0.js} +1 -1
- package/dist/client/assets/{collection-display-button-DPvQVdd-.js → collection-display-button-VpsslNFN.js} +1 -1
- package/dist/client/assets/{collection-search-kUVZkueq.js → collection-search-CfEbdS6s.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-vDq2vkVG.js → collection-table-wrapper-Bmq1UECe.js} +1 -1
- package/dist/client/assets/{collection-tabs-C3pu5E-Q.js → collection-tabs-CKvYpxHT.js} +1 -1
- package/dist/client/assets/{column-rules-Dz5XFx3r.js → column-rules-DLuTKpTB.js} +1 -1
- package/dist/client/assets/{combobox-BZSt-sf0.js → combobox-B2ABYNJF.js} +1 -1
- package/dist/client/assets/{command-CSPNVB8c.js → command-yWHdaNhz.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-HHphF1lt.js → companion-mcps-section-CzTfnHtf.js} +1 -1
- package/dist/client/assets/{config-B7tLWM1b.js → config-BWRujj0b.js} +1 -1
- package/dist/client/assets/{connect-BK8j-UfV.js → connect-Dd7mHJ3b.js} +1 -1
- package/dist/client/assets/{connect-layout-BC5qZusj.js → connect-layout-CuMi_Lil.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-Ch0tynWX.js → connect-source-dialog-CEGXiNKG.js} +1 -1
- package/dist/client/assets/{connection-amzL9L9Z.js → connection-BLQ_zE4V.js} +1 -1
- package/dist/client/assets/{connection-card-D8aS8J6Q.js → connection-card-By3c6kjU.js} +1 -1
- package/dist/client/assets/{connection-detail-Cu7F0ogE.js → connection-detail-shznFsHq.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-TT6AKW6f.js → connection-form-helpers-Z8pfNB14.js} +1 -1
- package/dist/client/assets/{connections-B29MQqZW.js → connections-BPuzvSmY.js} +1 -1
- package/dist/client/assets/content-tab-DneBUwU0.js +22 -0
- package/dist/client/assets/context-CFpk-Oj4.js +1 -0
- package/dist/client/assets/{context-menu-CFt3f_Gb.js → context-menu-DJBtOK1b.js} +1 -1
- package/dist/client/assets/{context-shell-KhGmYnbX.js → context-shell-BmoIxzr5.js} +3 -3
- package/dist/client/assets/{core.esm-Brf7c66K.js → core.esm-n2M8kvjD.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-Dshiy6sU.js → create-organization-dialog-CQRec3jk.js} +1 -1
- package/dist/client/assets/{daily-pulse-DglWu2t-.js → daily-pulse-BbNgROp9.js} +1 -1
- package/dist/client/assets/{discover-BLv8PWTL.js → discover-C-nnI3od.js} +1 -1
- package/dist/client/assets/{domain-settings-7tpPEEzB.js → domain-settings-Cc13IWEI.js} +1 -1
- package/dist/client/assets/{drawer-w05H8pBO.js → drawer-CiMnESz2.js} +1 -1
- package/dist/client/assets/{editor-CiOoO-Ym.js → editor-DmuvoJYA.js} +1 -1
- package/dist/client/assets/{editor-classes-DNAm8ZAW.js → editor-classes-BnQ0j7aI.js} +1 -1
- package/dist/client/assets/{empty-state-BiIeVz7z.js → empty-state-TJAbP9DT.js} +1 -1
- package/dist/client/assets/{empty-state-ErDRcN-P.js → empty-state-usXK3Xda.js} +1 -1
- package/dist/client/assets/{experiments-tab-BghFguNv.js → experiments-tab-BP2V1ct9.js} +1 -1
- package/dist/client/assets/{experiments-tab-choice-CY-Qbhut.js → experiments-tab-choice-0iIRb8Mb.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C02FZ5zb.js → extract-connection-data-w2KZjBRz.js} +1 -1
- package/dist/client/assets/{feature-gate-CE1MLoN2.js → feature-gate-CL9DvP9Y.js} +1 -1
- package/dist/client/assets/{feature-paywall-C560RaP5.js → feature-paywall-DSpW8aNd.js} +1 -1
- package/dist/client/assets/{file-explorer-CVmiakjw.js → file-explorer-p0qSIvAq.js} +1 -1
- package/dist/client/assets/{file-preview-Cc6_BSbv.js → file-preview-BnfIAfXR.js} +1 -1
- package/dist/client/assets/{file-share-button-Do4wEYep.js → file-share-button-D0fIsSP3.js} +1 -1
- package/dist/client/assets/{file-type-icon-CeBZX69W.js → file-type-icon-BMJ3eu8C.js} +1 -1
- package/dist/client/assets/{folder-icon-DgtIAyY7.js → folder-icon-AsglkwKY.js} +1 -1
- package/dist/client/assets/{form-nJy5zMPE.js → form-B15LRu36.js} +1 -1
- package/dist/client/assets/{general-BOPFN5z3.js → general-jGb_G4uN.js} +1 -1
- package/dist/client/assets/{held-block-view-tvHMvR4T.js → held-block-view-OUun6HKW.js} +3 -3
- package/dist/client/assets/{home-CcsI1NKl.js → home-T15wg8dw.js} +1 -1
- package/dist/client/assets/{hosted-publish-feedback-DxOmBJxT.js → hosted-publish-feedback-CpPg0deS.js} +1 -1
- package/dist/client/assets/{icon-button-Xe7zTqiw.js → icon-button-CdKw1JM7.js} +1 -1
- package/dist/client/assets/{index-DZ7OjEm4.js → index-BCVYESVO.js} +1 -1
- package/dist/client/assets/{index-BJTbyKBB.js → index-BJ0i7OFb.js} +1 -1
- package/dist/client/assets/{index-uE3tVNL6.js → index-Ba639kg_.js} +1 -1
- package/dist/client/assets/{index-tffbmy1v.js → index-BfJfM0M5.js} +1 -1
- package/dist/client/assets/{index-BzwMZ-96.js → index-CPx4iDWN.js} +1 -1
- package/dist/client/assets/{index-xw_Jw9LH.js → index-CYkDIirY.js} +1 -1
- package/dist/client/assets/{index-B8jtRR0H.js → index-Cdp3CJ7S.js} +1 -1
- package/dist/client/assets/{index-ComxOMRa.js → index-Cv-yBusP.js} +1 -1
- package/dist/client/assets/{index-Ce7G0he3.js → index-D6lKvaoF.js} +49 -49
- package/dist/client/assets/{index-DjOPmK0D.js → index-DTPm19J5.js} +1 -1
- package/dist/client/assets/{index-BD0IquFc.js → index-DdjqsLVd.js} +1 -1
- package/dist/client/assets/{index-Cjzst5W1.js → index-DgseJSFR.js} +1 -1
- package/dist/client/assets/{index-BK_RqkJq.js → index-Du8mxU6I.js} +1 -1
- package/dist/client/assets/{index-CcnAFkjW.js → index-ke7VZu6f.js} +1 -1
- package/dist/client/assets/{index-redirect-BRlBNfxv.js → index-redirect-DPkf2M1r.js} +1 -1
- package/dist/client/assets/{index-Dm-21QtS.js → index-suEm9Jo8.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-BJujpYxh.js → infiniteQueryObserver-DoO1tFcg.js} +1 -1
- package/dist/client/assets/{infra-billing-C0m6hfZU.js → infra-billing-AOTF4BF9.js} +1 -1
- package/dist/client/assets/{input-B45cW293.js → input-BjDpMhiP.js} +3 -3
- package/dist/client/assets/{input-CzPtcD68.js → input-CGPBEV3I.js} +1 -1
- package/dist/client/assets/{integration-icon-Cs3IASPS.js → integration-icon-DsUtWvNG.js} +1 -1
- package/dist/client/assets/{jira-icon-BuriBSdU.js → jira-icon-ClDodO3R.js} +1 -1
- package/dist/client/assets/{label-ivnVLsJB.js → label-G1B1MWwD.js} +1 -1
- package/dist/client/assets/{layout-CZlIpVTU.js → layout-txEP7eBz.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-DMpNnXol.js → legacy-agents-deep-DPRz-ztQ.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-CBL3GGt7.js → legacy-main-redirect-D4h2lZ1C.js} +1 -1
- package/dist/client/assets/library-DG80ymId.js +1 -0
- package/dist/client/assets/{login-ByMZv8aL.js → login-BLrZZn8v.js} +1 -1
- package/dist/client/assets/{markdown-UmudOdor.js → markdown-qzRhqGiE.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-PAwZvEJj.js → mcp-app-renderer-BEchnhBH.js} +1 -1
- package/dist/client/assets/{mcp-oauth-qpkBxX91.js → mcp-oauth-C5j0dGpY.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Cz4RwYAs.js → mcp-oauth-DB3Ehq2l.js} +1 -1
- package/dist/client/assets/{members-DcVu4FNR.js → members-UnOmDr74.js} +1 -1
- package/dist/client/assets/{memory-C_hVYwsN.js → memory-DDcdJq0f.js} +1 -1
- package/dist/client/assets/{mini-report-page-DqysKZ5e.js → mini-report-page-0MJL6jaw.js} +1 -1
- package/dist/client/assets/{mock-board-BSsrmRDS.js → mock-board-BMi5jY8O.js} +3 -3
- package/dist/client/assets/{monaco-editor-Cc-5fhHI.js → monaco-editor-f9CmyWiW.js} +1 -1
- package/dist/client/assets/{monitoring-DVujO52F.js → monitoring-BcfPBOT_.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DosbF5BV.js → monitoring-stats-row-DbGeX6M1.js} +1 -1
- package/dist/client/assets/{multi-select-DHn_nlnM.js → multi-select-DDgBvcml.js} +1 -1
- package/dist/client/assets/{mustache-CKGDjf9j.js → mustache-Dlytn5tt.js} +1 -1
- package/dist/client/assets/{named-rule-uses-Drzf8cgA.js → named-rule-uses-Ce5M9wic.js} +1 -1
- package/dist/client/assets/{new-project-dialog-D3vjD1Ks.js → new-project-dialog-CMq12kc2.js} +1 -1
- package/dist/client/assets/{oauth-callback-D5wWKok2.js → oauth-callback-CHDXWkE_.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-BKG0BbMN.js → oauth-callback-ai-provider-UMPeP62o.js} +1 -1
- package/dist/client/assets/{onboarding-Ci8OMwC9.js → onboarding-M__h_Gjj.js} +1 -1
- package/dist/client/assets/{openai-conversation-D9RDSbbV.js → openai-conversation-CaIhAnt3.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-L0iLKNqt.js → optimistic-project-sidebar-views-CdaXFXXA.js} +1 -1
- package/dist/client/assets/{order-monitor-day-CYrv-YPX.js → order-monitor-day-EdsSjGDV.js} +1 -1
- package/dist/client/assets/{organization-choice-DS1Td5mt.js → organization-choice-nAa_gubo.js} +1 -1
- package/dist/client/assets/{orgs-BdW5vuy7.js → orgs-Bf_omTy9.js} +1 -1
- package/dist/client/assets/{page-seo-form-4Td1Bwhl.js → page-seo-form-bDCctB_4.js} +1 -1
- package/dist/client/assets/{pair-D40XxJSs.js → pair-DAGOA-DW.js} +1 -1
- package/dist/client/assets/{parse-sections-6LYwkRXc.js → parse-sections-CQtk5pOz.js} +1 -1
- package/dist/client/assets/{plan-B5MpX63p.js → plan-B6ZUDARY.js} +1 -1
- package/dist/client/assets/{plan-ladder-DyKNTGpe.js → plan-ladder-lTkei0Ti.js} +1 -1
- package/dist/client/assets/{popover-BF3N_cWR.js → popover-0uuKFwAZ.js} +1 -1
- package/dist/client/assets/post-calendar-EZk2hClJ.js +1 -0
- package/dist/client/assets/{post-editor-DlfqwxIk.js → post-editor-DBjNxHSS.js} +1 -1
- package/dist/client/assets/{preview-content-BV8Fh5Qw.js → preview-content-QwLJXUTL.js} +1 -1
- package/dist/client/assets/{preview-dialog-BmUPiPPl.js → preview-dialog-COkKtKSn.js} +1 -1
- package/dist/client/assets/{preview-panel-llvMLYPZ.js → preview-panel-CYvbBECE.js} +1 -1
- package/dist/client/assets/{preview-tab-DieLxroc.js → preview-tab-CevrXu6o.js} +3 -3
- package/dist/client/assets/{product-picker-dialog-DVInlx3E.js → product-picker-dialog-C4MqsCUp.js} +1 -1
- package/dist/client/assets/{profile-BeQa-VCG.js → profile-BpyEXZc8.js} +1 -1
- package/dist/client/assets/{project-app-view-Cey1t0qJ.js → project-app-view-Be6CnjoI.js} +1 -1
- package/dist/client/assets/{project-apps-B_x_Bovr.js → project-apps-B0ovyypF.js} +1 -1
- package/dist/client/assets/{project-feed-CFTw8-Bu.js → project-feed-C21rLNuW.js} +1 -1
- package/dist/client/assets/{project-icon-Cgbmeoa9.js → project-icon-DSVUD72l.js} +1 -1
- package/dist/client/assets/project-reports-B-dKM4cz.js +1 -0
- package/dist/client/assets/project-tasks-CQ6MOp0o.js +1 -0
- package/dist/client/assets/{projects-Cadx_2S-.js → projects-DVL140KR.js} +1 -1
- package/dist/client/assets/{projects-empty-state-B0sxQqwF.js → projects-empty-state--1SkJcww.js} +1 -1
- package/dist/client/assets/{prompts-B6yRUPTQ.js → prompts-BB-mkKBu.js} +1 -1
- package/dist/client/assets/record-editor-CHzxFRQb.js +1 -0
- package/dist/client/assets/{redirect-editor-UO7ym99V.js → redirect-editor-MSkonkYZ.js} +1 -1
- package/dist/client/assets/{releases-api-Dz4kituq.js → releases-api-XsGA4Jqp.js} +1 -1
- package/dist/client/assets/{reports-BN03l_kE.js → reports-Bs2cZ7-f.js} +1 -1
- package/dist/client/assets/reports-CDn9xmoF.js +1 -0
- package/dist/client/assets/{reports-onboarding-CXYw21hI.js → reports-onboarding-CQDYROlT.js} +1 -1
- package/dist/client/assets/{reports-tab-DNDxSx2i.js → reports-tab-unD6Cc73.js} +2 -2
- package/dist/client/assets/{repositories-DkDpuhbE.js → repositories-D4uDVy59.js} +1 -1
- package/dist/client/assets/repositories-jqcTJr-Z.js +1 -0
- package/dist/client/assets/{repository-binding-Dg4XMxXs.js → repository-binding-DG0YfJ0p.js} +1 -1
- package/dist/client/assets/{repository-import-picker-BZ7PPi9W.js → repository-import-picker-DmsHSDsT.js} +1 -1
- package/dist/client/assets/{repository-picker-aA12wSzy.js → repository-picker-DtHxD0oz.js} +1 -1
- package/dist/client/assets/{require-capability-CXN6JJ5S.js → require-capability-Coznh-2O.js} +1 -1
- package/dist/client/assets/{required-auth-layout-pDiTStrv.js → required-auth-layout-D6rVgMVl.js} +1 -1
- package/dist/client/assets/{reset-password-CRhNEOOs.js → reset-password-T1aKmDxe.js} +1 -1
- package/dist/client/assets/{resizable-HiC69AzM.js → resizable-BToK-_9q.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-DdbyVt-l.js → resolve-tab-icon-BZcs-4Ej.js} +1 -1
- package/dist/client/assets/{review-settings-BdnOsmg6.js → review-settings-D8DTqrlS.js} +1 -1
- package/dist/client/assets/{roles-C54CSjKN.js → roles-BjZzPNJU.js} +1 -1
- package/dist/client/assets/{route-19TfZ9Nu.js → route-CGlwPlVk.js} +1 -1
- package/dist/client/assets/route-JsLO4TKF.js +1 -0
- package/dist/client/assets/{route-ChUurj1a.js → route-ZKQ_kRmZ.js} +1 -1
- package/dist/client/assets/{sandbox-lifecycle-context-C-6LRZKK.js → sandbox-lifecycle-context-DmhDA6t4.js} +1 -1
- package/dist/client/assets/{schema-4d6JAPZJ.js → schema-DNxvjoV7.js} +1 -1
- package/dist/client/assets/{schema-DjHUnA9X.js → schema-DnX2JCBp.js} +1 -1
- package/dist/client/assets/{scroll-area-DmCvljJ6.js → scroll-area-DuxlLjxF.js} +1 -1
- package/dist/client/assets/{search-input-DuxKe01B.js → search-input-D-Pyf_-v.js} +1 -1
- package/dist/client/assets/{search-toggle-5fjHehxP.js → search-toggle-Dtmn6N5P.js} +1 -1
- package/dist/client/assets/{secret-picker-gnCLcdHl.js → secret-picker-DVVZ5bEr.js} +1 -1
- package/dist/client/assets/{secrets-1Q0KkbT2.js → secrets-cTi-1KGY.js} +1 -1
- package/dist/client/assets/{section-array-field-DJWSUlEO.js → section-array-field-D7M_bj6e.js} +1 -1
- package/dist/client/assets/{sections-BFagCGU_.js → sections-DoIjBnkB.js} +1 -1
- package/dist/client/assets/{sections-editor-Cd0e4qhb.js → sections-editor-Cp3o1WEu.js} +1 -1
- package/dist/client/assets/{select-BU91L4uy.js → select-WYGhjx6Y.js} +1 -1
- package/dist/client/assets/{select-model-CtxoaFb9.js → select-model-7YJABjjD.js} +1 -1
- package/dist/client/assets/{seo-editor-dOpYS1fH.js → seo-editor-DxqL4dEA.js} +1 -1
- package/dist/client/assets/{separator-C2eDbIfB.js → separator-CAQrypmQ.js} +1 -1
- package/dist/client/assets/settings-tab-DBT9iC5q.js +1 -0
- package/dist/client/assets/{sheet-CyFkbR9Y.js → sheet-BXLIoGMZ.js} +1 -1
- package/dist/client/assets/{shell-layout-DjxWvBNL.js → shell-layout-DIzvUuq-.js} +1 -1
- package/dist/client/assets/site-draft-actions-L6qNX2KR.js +3 -0
- package/dist/client/assets/{site-draft-view-DmpsxvZd.js → site-draft-view-CFpMP26D.js} +2 -2
- package/dist/client/assets/site-editor-CFIZ4rer.js +1 -0
- package/dist/client/assets/{site-editor-toast-DwH2UhLV.js → site-editor-toast-DYuw8EYm.js} +1 -1
- package/dist/client/assets/{skills-CEjNG6HD.js → skills-Bs4GOdTG.js} +1 -1
- package/dist/client/assets/{slider-wRMQIU5C.js → slider-CViVuHCu.js} +1 -1
- package/dist/client/assets/{sortable.esm-GfRDqHVM.js → sortable.esm-DEhQR8uW.js} +1 -1
- package/dist/client/assets/{sso-ou3AfF03.js → sso-RbRiEKa0.js} +1 -1
- package/dist/client/assets/{suggestion-GTJqe6wD.js → suggestion-Bx_JdcJG.js} +1 -1
- package/dist/client/assets/{switch-Be6f0Lf5.js → switch-BByo6038.js} +1 -1
- package/dist/client/assets/{symbol-D9upvJXv.js → symbol-Dxfa7ArY.js} +1 -1
- package/dist/client/assets/{synced-repos-BMxqOtvT.js → synced-repos-COUZBGua.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-ixZicBgd.js → tab-icon-glyph-Bk-ZO6Ik.js} +1 -1
- package/dist/client/assets/{table-Sgqiv7ow.js → table-CSNuDYSH.js} +1 -1
- package/dist/client/assets/{tabs-CTBn6AHY.js → tabs-D3JiC-AY.js} +1 -1
- package/dist/client/assets/{task-assignee-avatar-CgqfXsXT.js → task-assignee-avatar-BmM5P6_t.js} +1 -1
- package/dist/client/assets/{task-board-B-WXUk04.js → task-board-9JuNZBWk.js} +1 -1
- package/dist/client/assets/{task-route-D7L_AjBa.js → task-route-8N1kEUR4.js} +1 -1
- package/dist/client/assets/{task-status-D47mg_UC.js → task-status-CqFVxY8B.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-BXOv_DdG.js → taskboard-analytics-CJlU-oAO.js} +1 -1
- package/dist/client/assets/tasks-BVwsk6i_.js +1 -0
- package/dist/client/assets/{tasks-DRiqBj-N.js → tasks-gqaInVx6.js} +1 -1
- package/dist/client/assets/{textarea-CiBj0MLq.js → textarea-L_ZRNMiO.js} +1 -1
- package/dist/client/assets/{thread-analytics-apzZ--go.js → thread-analytics-BcGg7DjZ.js} +1 -1
- package/dist/client/assets/{thread-intent-ClCyX82j.js → thread-intent-B7fQ4X9a.js} +1 -1
- package/dist/client/assets/{thread-route-CFct_VQa.js → thread-route-P1MEabq1.js} +1 -1
- package/dist/client/assets/{thread-route-D14ghtgQ.js → thread-route-qfZwEURL.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-BCarr4x7.js → thread-sheet-body-Brz-5Xzp.js} +1 -1
- package/dist/client/assets/{time-range-picker-C3_uZ5O2.js → time-range-picker-D-N-klXR.js} +1 -1
- package/dist/client/assets/{toggle-group-BVSslRda.js → toggle-group-DGrVpPy5.js} +1 -1
- package/dist/client/assets/{tool-namespace-C-2tGGMF.js → tool-namespace-D6LarB3P.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-3L1Mfrbu.js → toolbar-icon-button-DA7DTn0f.js} +1 -1
- package/dist/client/assets/{tooltip-BHLCIkH9.js → tooltip-LAilTl9w.js} +1 -1
- package/dist/client/assets/{tooltipContext-BMB7e6XT.js → tooltipContext-BD4z8QR3.js} +1 -1
- package/dist/client/assets/{track-DUL7obAK.js → track-BDBNTOtn.js} +1 -1
- package/dist/client/assets/{types-9H7KFAzM.js → types-B-ck70wq.js} +1 -1
- package/dist/client/assets/{url-slug-CrYfl8wu.js → url-slug-hCw666fV.js} +1 -1
- package/dist/client/assets/{usage-stats-CtXF_bWd.js → usage-stats-C7wY64zK.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DmHiyABc.js → use-ai-providers-CCh3hgye.js} +1 -1
- package/dist/client/assets/{use-apply-named-rule-DnrC-2Y6.js → use-apply-named-rule-C3ZZJzlV.js} +1 -1
- package/dist/client/assets/{use-automations-BeX04Bm6.js → use-automations-CRFTJK4f.js} +1 -1
- package/dist/client/assets/{use-autosave-Civ5dqYG.js → use-autosave-DCyEvO0j.js} +1 -1
- package/dist/client/assets/{use-chat-layout-state-DEHPkPVs.js → use-chat-layout-state-wJjkzkeX.js} +1 -1
- package/dist/client/assets/{use-clock-tick-C1thlLib.js → use-clock-tick-N15XxKsH.js} +1 -1
- package/dist/client/assets/use-cms-publish-actions-Ba42J8md.js +10 -0
- package/dist/client/assets/{use-connect-companion-XN72CB3K.js → use-connect-companion-DnBPIlmE.js} +1 -1
- package/dist/client/assets/{use-connection-DdV5v_sO.js → use-connection-BBWQ1upy.js} +1 -1
- package/dist/client/assets/{use-copy-DGCMROZD.js → use-copy-Bnv2yRR0.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CYamK9uo.js → use-create-virtual-mcp-CLc8yu5S.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-RvTpk_ov.js → use-date-fns-locale-Br988cT0.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-CCKD06RC.js → use-debounced-autosave-GFM4KrwH.js} +1 -1
- package/dist/client/assets/{use-debounced-value-D4hMc82O.js → use-debounced-value-DLa-riOh.js} +1 -1
- package/dist/client/assets/{use-deco-credits-8Cm_6S2l.js → use-deco-credits-3I0Gmtle.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CMhdGvid.js → use-decopilot-events-C6bScbXe.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DczFLZ2h.js → use-delete-connection-BZQtBcN0.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-D33YqaOd.js → use-deployment-admin-D2xZ3EVY.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-5-OqnV1z.js → use-fast-preview-draft-url-DRBVlysi.js} +1 -1
- package/dist/client/assets/{use-file-configs-B-dtUlcn.js → use-file-configs-EhGCWGKO.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-DgAPUhXS.js → use-inbox-feed-MI8GAssc.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-Boo11DpH.js → use-infinite-scroll-Dl4ppp1T.js} +1 -1
- package/dist/client/assets/{use-join-requests-WGDHodyD.js → use-join-requests-D0RX0KVp.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-D8UhTy5h.js → use-main-panel-tabs-Dy6OYkJL.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-Ue891t8t.js → use-mcp-auth-status-BLS8Hv4S.js} +1 -1
- package/dist/client/assets/{use-mcp-client-B9-9jnHW.js → use-mcp-client-DwqRqgyq.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-Duq-F4uG.js → use-mcp-prompts-l19k-bhU.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DvCVc1NG.js → use-mcp-tools-CNG9BIav.js} +1 -1
- package/dist/client/assets/{use-mobile-BZz7cwuI.js → use-mobile-BwQy16Q6.js} +1 -1
- package/dist/client/assets/{use-move-blocks-DUpXqrhw.js → use-move-blocks-Crj0de_N.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CEpb-TPy.js → use-navigate-to-agent-BK5-GF4Q.js} +1 -1
- package/dist/client/assets/{use-open-billing-url-AHjpaAXa.js → use-open-billing-url-BQr-ZtMF.js} +1 -1
- package/dist/client/assets/{use-org-fs-8kFrjmMH.js → use-org-fs-DLZ1-PTn.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-DHiYUCj6.js → use-org-repo-syncs-CDoF8IOA.js} +1 -1
- package/dist/client/assets/{use-org-sso-l3h7LAOC.js → use-org-sso-C-qEDq8K.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DWGBtp2u.js → use-organization-roles-D0H2tUJi.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DAQWwUyU.js → use-organization-settings-kq9jLGY0.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-C-mQZt-r.js → use-panel-navigate-BECpOul-.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-D2zRgAqZ.js → use-project-native-view-presence-1uAz-ylt.js} +1 -1
- package/dist/client/assets/{use-project-scope-DYBc2cnp.js → use-project-scope-DQZacSdf.js} +1 -1
- package/dist/client/assets/{use-recent-apps-CahLdkOq.js → use-recent-apps-ujQcGW4R.js} +1 -1
- package/dist/client/assets/{use-releases-Drxi11Hn.js → use-releases-Brr6nY5b.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-C0y8CLzl.js → use-reports-diagnostic-CSbUL_Ki.js} +1 -1
- package/dist/client/assets/{use-sandbox-events-DKnAt9WL.js → use-sandbox-events-DDEe74Lx.js} +1 -1
- package/dist/client/assets/{use-secrets-CCJcL_mR.js → use-secrets-B-wd58Sw.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-yGU9kv3R.js → use-section-preview-base-CyvlvXKC.js} +1 -1
- package/dist/client/assets/{use-session-runtime-CL3Ry0XG.js → use-session-runtime-oQf5p7F0.js} +1 -1
- package/dist/client/assets/{use-sidebar-collapsed-CbzeRAk-.js → use-sidebar-collapsed-CQxN5Dgl.js} +1 -1
- package/dist/client/assets/{use-tags-Af_mmSB1.js → use-tags-Ckwl5Ic8.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-BkPBycom.js → use-task-board-analytics-CxJm3obr.js} +1 -1
- package/dist/client/assets/{use-task-board-events-Bs2sMvhO.js → use-task-board-events-C11vdnOU.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-DtKTjCYS.js → use-task-board-item-prs-OoBVrY5e.js} +1 -1
- package/dist/client/assets/{use-task-metadata-CaEOmtPV.js → use-task-metadata-B5vxvrwt.js} +1 -1
- package/dist/client/assets/{use-thread-analytics-DFAhXiiU.js → use-thread-analytics-Ccey92kA.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-wHP5lV5E.js → use-thread-outputs-AtJj5nDf.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-B3ME351M.js +1 -0
- package/dist/client/assets/{useQueries-bayVPMWC.js → useQueries-DwNBQmnp.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DdTGZQmz.js +1 -0
- package/dist/client/assets/{users-BXC7BZTC.js → users-47U5EmUY.js} +1 -1
- package/dist/client/assets/{utils-C_XIOzcP.js → utils-CLU7TQYj.js} +1 -1
- package/dist/client/assets/{variant-calendar-DqsG-wJ9.js → variant-calendar-8QsQaZXX.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-BfAJFrjh.js → variant-matcher-override-VqVKqAN8.js} +1 -1
- package/dist/client/assets/{view-header-BlWEzmVd.js → view-header-C8Yesx7u.js} +1 -1
- package/dist/client/assets/{virtual-mcp-BfSfmNNT.js → virtual-mcp-BO25j0IY.js} +1 -1
- package/dist/client/assets/{watch-sse-pool-D5nA1051.js → watch-sse-pool-DZPVglNq.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/agent-analytics-wllTP-xB.js +0 -1
- package/dist/client/assets/agent-app-MGvu076D.js +0 -1
- package/dist/client/assets/agent-deck-CdHFig9V.js +0 -1
- package/dist/client/assets/agent-experiments-pgMnsFIB.js +0 -1
- package/dist/client/assets/agent-library-DjU97YsS.js +0 -1
- package/dist/client/assets/agent-library-file-DXHCBJAM.js +0 -1
- package/dist/client/assets/agent-monitor-Bucu2iO3.js +0 -1
- package/dist/client/assets/agent-settings-w-cNQlVy.js +0 -1
- package/dist/client/assets/agent-site-editor-code-B432kGPM.js +0 -2
- package/dist/client/assets/agent-site-editor-content-CQYunysB.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-CLsSdnEd.js +0 -1
- package/dist/client/assets/agent-view-DP6mfHYN.js +0 -1
- package/dist/client/assets/api-keys-8RAAQTX6.js +0 -1
- package/dist/client/assets/category-editor-BrbTG2-B.js +0 -1
- package/dist/client/assets/cms-settings-editor-D8-PKCcN.js +0 -1
- package/dist/client/assets/content-tab-BhOwV-AC.js +0 -22
- package/dist/client/assets/context-CgB14LeY.js +0 -1
- package/dist/client/assets/library-CdY45oa5.js +0 -1
- package/dist/client/assets/post-calendar-BtEPuDia.js +0 -1
- package/dist/client/assets/project-reports-BuglSKY2.js +0 -1
- package/dist/client/assets/project-tasks-CwzdWFfG.js +0 -1
- package/dist/client/assets/record-editor-1SlOHcz4.js +0 -1
- package/dist/client/assets/reports-DuuFM9rE.js +0 -1
- package/dist/client/assets/repositories-Dvbq5CpF.js +0 -1
- package/dist/client/assets/route-CkPY6J06.js +0 -1
- package/dist/client/assets/settings-tab-D7WyDwD7.js +0 -1
- package/dist/client/assets/site-draft-actions-Ck3uf8oy.js +0 -3
- package/dist/client/assets/site-editor-BXDxn3xb.js +0 -1
- package/dist/client/assets/tasks-CDonOW9g.js +0 -1
- package/dist/client/assets/use-cms-publish-actions-Ca_6MHNE.js +0 -10
- package/dist/client/assets/useInfiniteQuery-DAGt4Ai1.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BCXHmK3t.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as R,b as G,e as tt,j as n,B as z,t as Ke,o as st,cV as ae,ag as jt,a as Ue,J as Ut,U as kt,K as Je,cW as Gt,cX as Jt,az as Ge,l as ut,be as Vt,z as mt,r as Q,ae as Wt,af as te,cY as Yt,w as Tt,x as Nt,v as _t,D as Pt,d as At,a4 as ct,R as Ct,m as Fe,C as at,aX as Et,cZ as Qt,b1 as Xt,b8 as ft,H as Zt,c_ as en,aY as tn,y as nn,c$ as sn,d0 as on,d1 as an,d2 as rn,d3 as ln,a5 as cn,u as dn,a6 as un,d4 as mn,d5 as fn,k as Ot,d6 as ht,d7 as hn,O as gn,b3 as gt,d8 as pn,a0 as yn}from"./index-Ce7G0he3.js";import{t as It}from"./Building02-4g278Kck.js";import{i as bn,s as ee}from"./UserSquare-pnEdx237.js";import{ay as xn,U as wn,I as it,a8 as Sn,K as vn,az as jn,n as pt,g as kn,p as Tn,k as Nn,aA as _n,l as Pn}from"./agent-icon-I45DkNr8.js";import{s as An}from"./XClose-yFNn0LgD.js";import{a as Cn,u as En}from"./use-project-scope-DYBc2cnp.js";import{u as $t,a as On}from"./use-panel-navigate-C-mQZt-r.js";import{i as se}from"./CheckCircle-0mdIkBLG.js";import{i as yt}from"./Monitor01-DyqIpSTl.js";import{i as qe}from"./ZoomOut-D8_eDbPl.js";import{u as In}from"./use-clock-tick-C1thlLib.js";import{s as bt}from"./Plus-BPVKrQFz.js";import{a as $n}from"./Tool01-CIeMmnyv.js";import{b as ne,a as Be,f as Ln,e as Dn,c as Rn,C as zn}from"./command-CSPNVB8c.js";import{I as qn}from"./integration-icon-Cs3IASPS.js";import{P as Fn}from"./project-icon-Cgbmeoa9.js";import{a as Bn,m as Mn}from"./use-mcp-client-B9-9jnHW.js";import{u as Kn,a as Hn,n as Un}from"./new-project-dialog-D3vjD1Ks.js";import{S as Gn,u as Jn}from"./thread-intent-ClCyX82j.js";import{R as Vn}from"./required-auth-layout-pDiTStrv.js";import{A as Wn}from"./autosend-CxxtAFJ_.js";import{u as Yn,a as Qn,b as Xn,c as Zn}from"./thread-route-D14ghtgQ.js";import{u as es}from"./use-org-sso-l3h7LAOC.js";function ts(t){const e=R.c(49),{orgName:o,orgSlug:r,orgLogo:s,domain:a}=t,i=G();let c;e[0]!==r||e[1]!==i?(c=async()=>{const P=await fetch("/api/auth/custom/domain-join",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({organizationSlug:r})}),C=await P.json();if(!P.ok||!C.success)throw new Error(C.error??i("common.autoDomainJoinScreen.joinError"));return C},e[0]=r,e[1]=i,e[2]=c):c=e[2];let m;e[3]!==r?(m=P=>{window.location.href=`/${P.slug??r}`},e[3]=r,e[4]=m):m=e[4];let h;e[5]!==i?(h=P=>{Ke.error(P instanceof Error?P.message:i("common.autoDomainJoinScreen.joinError"))},e[5]=i,e[6]=h):h=e[6];let S;e[7]!==c||e[8]!==m||e[9]!==h?(S={mutationFn:c,onSuccess:m,onError:h},e[7]=c,e[8]=m,e[9]=h,e[10]=S):S=e[10];const u=tt(S),p=ns;let l;e[11]!==s||e[12]!==o?(l=s?n.jsx(st,{url:s,fallback:o,shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(It,{className:"h-6 w-6 text-primary"})}),e[11]=s,e[12]=o,e[13]=l):l=e[13];let g;e[14]!==o||e[15]!==i?(g=i("common.autoDomainJoinScreen.joinPrompt",{orgName:o}),e[14]=o,e[15]=i,e[16]=g):g=e[16];let f;e[17]!==g?(f=n.jsx("h3",{className:"text-lg font-medium",children:g}),e[17]=g,e[18]=f):f=e[18];let d;e[19]!==a||e[20]!==i?(d=i("common.autoDomainJoinScreen.joinDescription",{domain:a}),e[19]=a,e[20]=i,e[21]=d):d=e[21];let w;e[22]!==d?(w=n.jsx("p",{className:"text-sm text-muted-foreground",children:d}),e[22]=d,e[23]=w):w=e[23];let y;e[24]!==f||e[25]!==w?(y=n.jsxs("div",{className:"space-y-2",children:[f,w]}),e[24]=f,e[25]=w,e[26]=y):y=e[26];let x;e[27]!==u?(x=()=>u.mutate(),e[27]=u,e[28]=x):x=e[28];let v;e[29]!==u.isPending||e[30]!==o||e[31]!==i?(v=u.isPending?i("common.autoDomainJoinScreen.joining"):i("common.autoDomainJoinScreen.enterOrg",{orgName:o}),e[29]=u.isPending,e[30]=o,e[31]=i,e[32]=v):v=e[32];let b;e[33]!==u.isPending||e[34]!==x||e[35]!==v?(b=n.jsx(z,{onClick:x,disabled:u.isPending,children:v}),e[33]=u.isPending,e[34]=x,e[35]=v,e[36]=b):b=e[36];const T=u.isPending;let j;e[37]!==i?(j=i("common.goHome"),e[37]=i,e[38]=j):j=e[38];let k;e[39]!==u.isPending||e[40]!==j?(k=n.jsx(z,{variant:"ghost",onClick:p,disabled:T,children:j}),e[39]=u.isPending,e[40]=j,e[41]=k):k=e[41];let _;e[42]!==b||e[43]!==k?(_=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[b,k]}),e[42]=b,e[43]=k,e[44]=_):_=e[44];let N;return e[45]!==y||e[46]!==_||e[47]!==l?(N=n.jsxs(ae,{children:[l,y,_]}),e[45]=y,e[46]=_,e[47]=l,e[48]=N):N=e[48],N}function ns(){window.location.href="/"}function xt(t){const e=R.c(25),{orgSlug:o,orgName:r,reason:s}=t,a=G(),i=ss,c=s==="not-found",m=c?bn:jt;let h;e[0]!==c||e[1]!==a?(h=a(c?"common.noAccessScreen.organizationNotFound":"common.noAccessScreen.noAccess"),e[0]=c,e[1]=a,e[2]=h):h=e[2];const S=h;let u;e[3]!==c||e[4]!==r||e[5]!==o||e[6]!==a?(u=c?n.jsxs(n.Fragment,{children:[a("common.noAccessScreen.couldNotFind")," ",n.jsx("strong",{children:o}),"."]}):n.jsxs(n.Fragment,{children:[a("common.noAccessScreen.noAccessTo")," ",n.jsx("strong",{children:r??o}),".",n.jsx("br",{}),a("common.noAccessScreen.askAdminToInvite")]}),e[3]=c,e[4]=r,e[5]=o,e[6]=a,e[7]=u):u=e[7];const p=u;let l;e[8]!==m?(l=n.jsx("div",{className:"bg-muted p-3 rounded-full",children:n.jsx(m,{className:"h-6 w-6 text-muted-foreground"})}),e[8]=m,e[9]=l):l=e[9];let g;e[10]!==S?(g=n.jsx("h3",{className:"text-lg font-medium",children:S}),e[10]=S,e[11]=g):g=e[11];let f;e[12]!==p?(f=n.jsx("p",{className:"text-sm text-muted-foreground",children:p}),e[12]=p,e[13]=f):f=e[13];let d;e[14]!==g||e[15]!==f?(d=n.jsxs("div",{className:"space-y-2",children:[g,f]}),e[14]=g,e[15]=f,e[16]=d):d=e[16];let w;e[17]!==a?(w=a("common.goHome"),e[17]=a,e[18]=w):w=e[18];let y;e[19]!==w?(y=n.jsx(z,{onClick:i,children:w}),e[19]=w,e[20]=y):y=e[20];let x;return e[21]!==l||e[22]!==d||e[23]!==y?(x=n.jsxs(ae,{children:[l,d,y]}),e[21]=l,e[22]=d,e[23]=y,e[24]=x):x=e[24],x}function ss(){window.location.href="/"}function os(t){const e=R.c(59),{invitationId:o,orgName:r,orgSlug:s,orgLogo:a}=t,i=G();let c;e[0]!==o?(c=async()=>{const A=await Ue.organization.acceptInvitation({invitationId:o});if(A.error)throw new Error(A.error.message);return A.data},e[0]=o,e[1]=c):c=e[1];let m;e[2]!==s?(m=()=>{Ut(),window.location.href=`/${s}`},e[2]=s,e[3]=m):m=e[3];let h;e[4]!==i?(h=A=>{Ke.error(A instanceof Error?A.message:i("common.pendingInviteScreen.failedToAccept"))},e[4]=i,e[5]=h):h=e[5];let S;e[6]!==c||e[7]!==m||e[8]!==h?(S={mutationFn:c,onSuccess:m,onError:h},e[6]=c,e[7]=m,e[8]=h,e[9]=S):S=e[9];const u=tt(S);let p;e[10]!==o?(p=async()=>{const A=await Ue.organization.rejectInvitation({invitationId:o});if(A.error)throw new Error(A.error.message);return A.data},e[10]=o,e[11]=p):p=e[11];let l,g;e[12]!==i?(l=()=>{Ke.success(i("common.pendingInviteScreen.invitationDeclined")),window.location.href="/"},g=A=>{Ke.error(A instanceof Error?A.message:i("common.pendingInviteScreen.failedToDecline"))},e[12]=i,e[13]=l,e[14]=g):(l=e[13],g=e[14]);let f;e[15]!==p||e[16]!==l||e[17]!==g?(f={mutationFn:p,onSuccess:l,onError:g},e[15]=p,e[16]=l,e[17]=g,e[18]=f):f=e[18];const d=tt(f),w=u.isPending||d.isPending;let y;e[19]!==a||e[20]!==r?(y=a?n.jsx(st,{url:a,fallback:r,shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(xn,{className:"h-6 w-6 text-primary"})}),e[19]=a,e[20]=r,e[21]=y):y=e[21];let x;e[22]!==r||e[23]!==i?(x=i("common.pendingInviteScreen.invitedTo",{orgName:r}),e[22]=r,e[23]=i,e[24]=x):x=e[24];let v;e[25]!==x?(v=n.jsx("h3",{className:"text-lg font-medium",children:x}),e[25]=x,e[26]=v):v=e[26];let b;e[27]!==i?(b=i("common.pendingInviteScreen.acceptDescription"),e[27]=i,e[28]=b):b=e[28];let T;e[29]!==b?(T=n.jsx("p",{className:"text-sm text-muted-foreground",children:b}),e[29]=b,e[30]=T):T=e[30];let j;e[31]!==v||e[32]!==T?(j=n.jsxs("div",{className:"space-y-2",children:[v,T]}),e[31]=v,e[32]=T,e[33]=j):j=e[33];let k;e[34]!==u?(k=()=>u.mutate(),e[34]=u,e[35]=k):k=e[35];let _;e[36]!==u.isPending||e[37]!==i?(_=u.isPending?i("common.pendingInviteScreen.acceptingButton"):i("common.pendingInviteScreen.acceptButton"),e[36]=u.isPending,e[37]=i,e[38]=_):_=e[38];let N;e[39]!==w||e[40]!==k||e[41]!==_?(N=n.jsx(z,{onClick:k,disabled:w,children:_}),e[39]=w,e[40]=k,e[41]=_,e[42]=N):N=e[42];let P;e[43]!==d?(P=()=>d.mutate(),e[43]=d,e[44]=P):P=e[44];let C;e[45]!==d.isPending||e[46]!==i?(C=d.isPending?i("common.pendingInviteScreen.decliningButton"):i("common.pendingInviteScreen.declineButton"),e[45]=d.isPending,e[46]=i,e[47]=C):C=e[47];let I;e[48]!==w||e[49]!==P||e[50]!==C?(I=n.jsx(z,{variant:"ghost",onClick:P,disabled:w,children:C}),e[48]=w,e[49]=P,e[50]=C,e[51]=I):I=e[51];let O;e[52]!==N||e[53]!==I?(O=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[N,I]}),e[52]=N,e[53]=I,e[54]=O):O=e[54];let D;return e[55]!==j||e[56]!==O||e[57]!==y?(D=n.jsxs(ae,{children:[y,j,O]}),e[55]=j,e[56]=O,e[57]=y,e[58]=D):D=e[58],D}function is(t){const e=R.c(23),{orgName:o,orgLogo:r}=t,s=G();let a;e[0]!==r||e[1]!==o?(a=r?n.jsx(st,{url:r,fallback:o,shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full","aria-hidden":"true",children:n.jsx(wn,{className:"h-6 w-6 text-primary"})}),e[0]=r,e[1]=o,e[2]=a):a=e[2];let i;e[3]!==s?(i=s("common.requestPendingScreen.title"),e[3]=s,e[4]=i):i=e[4];let c;e[5]!==i?(c=n.jsx("h3",{className:"text-lg font-medium",children:i}),e[5]=i,e[6]=c):c=e[6];let m;e[7]!==o||e[8]!==s?(m=s("common.requestPendingScreen.description",{orgName:o}),e[7]=o,e[8]=s,e[9]=m):m=e[9];let h;e[10]!==m?(h=n.jsx("p",{className:"text-sm text-muted-foreground",children:m}),e[10]=m,e[11]=h):h=e[11];let S;e[12]!==c||e[13]!==h?(S=n.jsxs("div",{className:"space-y-2",children:[c,h]}),e[12]=c,e[13]=h,e[14]=S):S=e[14];let u;e[15]!==s?(u=s("common.goHome"),e[15]=s,e[16]=u):u=e[16];let p;e[17]!==u?(p=n.jsx(z,{variant:"ghost",onClick:as,children:u}),e[17]=u,e[18]=p):p=e[18];let l;return e[19]!==a||e[20]!==S||e[21]!==p?(l=n.jsxs(ae,{children:[a,S,p]}),e[19]=a,e[20]=S,e[21]=p,e[22]=l):l=e[22],l}function as(){window.location.href="/"}function rs(t){const e=R.c(45),{orgName:o,orgSlug:r,orgLogo:s,domain:a}=t,i=G();let c;e[0]!==r?(c=async()=>{const N=await fetch("/api/auth/custom/domain-request-join",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({organizationSlug:r})}),P=await N.json();if(!N.ok||!P.success)throw new Error(P.error??"Failed to request access");return P},e[0]=r,e[1]=c):c=e[1];let m;e[2]===Symbol.for("react.memo_cache_sentinel")?(m=cs,e[2]=m):m=e[2];let h;e[3]!==i?(h=N=>{Ke.error(N instanceof Error?N.message:i("common.requestToJoinScreen.failedToRequest"))},e[3]=i,e[4]=h):h=e[4];let S;e[5]!==c||e[6]!==h?(S={mutationFn:c,onSuccess:m,onError:h},e[5]=c,e[6]=h,e[7]=S):S=e[7];const u=tt(S);let p;e[8]!==s||e[9]!==o?(p=s?n.jsx(st,{url:s,fallback:o,shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(It,{className:"h-6 w-6 text-primary"})}),e[8]=s,e[9]=o,e[10]=p):p=e[10];let l;e[11]!==o||e[12]!==i?(l=i("common.requestToJoinScreen.title",{orgName:o}),e[11]=o,e[12]=i,e[13]=l):l=e[13];let g;e[14]!==l?(g=n.jsx("h3",{className:"text-lg font-medium",children:l}),e[14]=l,e[15]=g):g=e[15];let f;e[16]!==a||e[17]!==i?(f=i("common.requestToJoinScreen.description",{domain:a}),e[16]=a,e[17]=i,e[18]=f):f=e[18];let d;e[19]!==f?(d=n.jsx("p",{className:"text-sm text-muted-foreground",children:f}),e[19]=f,e[20]=d):d=e[20];let w;e[21]!==g||e[22]!==d?(w=n.jsxs("div",{className:"space-y-2",children:[g,d]}),e[21]=g,e[22]=d,e[23]=w):w=e[23];let y;e[24]!==u?(y=()=>u.mutate(),e[24]=u,e[25]=y):y=e[25];let x;e[26]!==u.isPending||e[27]!==i?(x=u.isPending?i("common.requestToJoinScreen.requesting"):i("common.requestToJoinScreen.requestButton"),e[26]=u.isPending,e[27]=i,e[28]=x):x=e[28];let v;e[29]!==u.isPending||e[30]!==y||e[31]!==x?(v=n.jsx(z,{onClick:y,disabled:u.isPending,children:x}),e[29]=u.isPending,e[30]=y,e[31]=x,e[32]=v):v=e[32];const b=u.isPending;let T;e[33]!==i?(T=i("common.goHome"),e[33]=i,e[34]=T):T=e[34];let j;e[35]!==u.isPending||e[36]!==T?(j=n.jsx(z,{variant:"ghost",onClick:ls,disabled:b,children:T}),e[35]=u.isPending,e[36]=T,e[37]=j):j=e[37];let k;e[38]!==v||e[39]!==j?(k=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[v,j]}),e[38]=v,e[39]=j,e[40]=k):k=e[40];let _;return e[41]!==w||e[42]!==k||e[43]!==p?(_=n.jsxs(ae,{children:[p,w,k]}),e[41]=w,e[42]=k,e[43]=p,e[44]=_):_=e[44],_}function ls(){window.location.href="/"}function cs(t){if(t.alreadyMember&&t.slug){window.location.href=`/${t.slug}`;return}window.location.reload()}function ds(t){const e=R.c(7);let o;e[0]!==t?(o=Je.orgAccessStatus(t),e[0]=t,e[1]=o):o=e[1];let r;e[2]!==t?(r=async()=>{const a=await fetch(`/api/auth/custom/org-access-status/${encodeURIComponent(t)}`,{credentials:"include"});if(!a.ok)throw new Error(`org-access-status failed (${a.status})`);return await a.json()},e[2]=t,e[3]=r):r=e[3];let s;return e[4]!==o||e[5]!==r?(s={queryKey:o,queryFn:r,refetchOnWindowFocus:!1},e[4]=o,e[5]=r,e[6]=s):s=e[6],kt(s)}function us({orgSlug:t}){const{data:e}=ds(t);if(e.status!=="member"){Gt()?.org===t&&Jt();const o=localStorage.getItem(Ge.lastOrgSlug())===t;if(o&&localStorage.removeItem(Ge.lastOrgSlug()),o&&(e.status==="not-found"||e.status==="no-access"))return window.location.href="/",null}return e.status==="not-found"?n.jsx(xt,{orgSlug:t,reason:"not-found"}):e.status==="pending-invite"?n.jsx(os,{invitationId:e.invitation.id,orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo}):e.status==="auto-domain-join"?n.jsx(ts,{orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo,domain:e.organization.domain??""}):e.status==="can-request"?n.jsx(rs,{orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo,domain:e.organization.domain??""}):e.status==="request-pending"?n.jsx(is,{orgName:e.organization.name,orgLogo:e.organization.logo}):e.status==="member"?(window.location.reload(),null):n.jsx(xt,{orgSlug:t,orgName:e.organization.name,reason:"no-access"})}function Lt(t){const e=R.c(42),{ariaLabel:o,dismissLabel:r,eyebrow:s,title:a,description:i,icon:c,children:m,footerLeading:h,actions:S,onDismiss:u,tone:p}=t,l=p===void 0?"neutral":p,g=h||S;let f;e[0]!==l?(f=l==="system"&&n.jsx("div",{className:"h-0.5 bg-special"}),e[0]=l,e[1]=f):f=e[1];let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=n.jsx(An,{size:14}),e[2]=d):d=e[2];let w;e[3]!==r||e[4]!==u?(w=n.jsx(z,{size:"icon-sm",variant:"ghost","aria-label":r,className:"absolute right-2 top-2 z-10 text-muted-foreground",onClick:u,children:d}),e[3]=r,e[4]=u,e[5]=w):w=e[5];const y=c&&"flex items-start gap-3",x=m&&"pb-3";let v;e[6]!==y||e[7]!==x?(v=ut("p-4 pr-11",y,x),e[6]=y,e[7]=x,e[8]=v):v=e[8];let b;e[9]!==c?(b=c&&n.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-special/10 text-special",children:c}),e[9]=c,e[10]=b):b=e[10];let T;e[11]!==s?(T=s&&n.jsx("p",{className:"text-xs text-muted-foreground",children:s}),e[11]=s,e[12]=T):T=e[12];let j;e[13]!==a?(j=n.jsx("h3",{className:"text-base font-semibold text-foreground",children:a}),e[13]=a,e[14]=j):j=e[14];let k;e[15]!==i?(k=i&&n.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:i}),e[15]=i,e[16]=k):k=e[16];let _;e[17]!==j||e[18]!==k||e[19]!==T?(_=n.jsxs("div",{children:[T,j,k]}),e[17]=j,e[18]=k,e[19]=T,e[20]=_):_=e[20];let N;e[21]!==m?(N=m&&n.jsx("div",{className:"mt-3",children:m}),e[21]=m,e[22]=N):N=e[22];let P;e[23]!==_||e[24]!==N?(P=n.jsxs("div",{className:"min-w-0 flex-1",children:[_,N]}),e[23]=_,e[24]=N,e[25]=P):P=e[25];let C;e[26]!==P||e[27]!==v||e[28]!==b?(C=n.jsxs("div",{className:v,children:[b,P]}),e[26]=P,e[27]=v,e[28]=b,e[29]=C):C=e[29];let I;e[30]!==S||e[31]!==h||e[32]!==g||e[33]!==l?(I=g&&n.jsxs("div",{className:ut("flex items-center justify-between gap-3 px-4 py-2.5",l==="system"?"border-t border-border bg-muted/50":"pt-0"),children:[n.jsx("div",{className:"min-w-0 text-xs text-muted-foreground",children:h}),n.jsx("div",{className:"flex shrink-0 items-center gap-2",children:S})]}),e[30]=S,e[31]=h,e[32]=g,e[33]=l,e[34]=I):I=e[34];let O;return e[35]!==o||e[36]!==C||e[37]!==I||e[38]!==f||e[39]!==w||e[40]!==l?(O=n.jsxs("div",{role:"dialog","aria-label":o,"data-slot":"announcement-card","data-tone":l,className:"relative w-full overflow-hidden rounded-lg bg-popover shadow-soft animate-in fade-in slide-in-from-bottom-2 duration-300",children:[f,w,C,I]}),e[35]=o,e[36]=C,e[37]=I,e[38]=f,e[39]=w,e[40]=l,e[41]=O):O=e[41],O}const ms={switcher:"tour-layout-switcher",nav:"tour-layout-nav",tasks:"tour-layout-tasks",projects:"tour-layout-projects",account:"tour-layout-account",recentActivity:"tour-layout-recent-activity",siteEditor:"tour-layout-site-editor",surfaceTabs:"tour-layout-surface-tabs",branchPicker:"tour-layout-branch-picker",automations:"tour-layout-automations",settings:"tour-layout-settings"};function Dt(t){return`[data-tour="${ms[t]}"]`}const fs=[{scope:"shell",anchor:"switcher",titleKey:"layoutTour.switcher.title",descKey:"layoutTour.switcher.description",side:"right"},{scope:"shell",anchor:"nav",titleKey:"layoutTour.nav.title",descKey:"layoutTour.nav.description",side:"right"},{scope:"shell",anchor:"tasks",titleKey:"layoutTour.tasks.title",descKey:"layoutTour.tasks.description",side:"right"},{scope:"project",anchor:"siteEditor",titleKey:"layoutTour.siteEditor.title",descKey:"layoutTour.siteEditor.description",side:"right"},{scope:"project",anchor:"automations",titleKey:"layoutTour.automations.title",descKey:"layoutTour.automations.description",side:"right"},{scope:"shell",anchor:"settings",titleKey:"layoutTour.settings.title",descKey:"layoutTour.settings.description",side:"right"},{scope:"shell",anchor:"projects",titleKey:"layoutTour.projects.title",descKey:"layoutTour.projects.description",side:"right"},{scope:"shell",anchor:"account",titleKey:"layoutTour.account.title",descKey:"layoutTour.account.description",side:"right"},{scope:"siteEditor",anchor:"surfaceTabs",titleKey:"layoutTour.surfaceTabs.title",descKey:"layoutTour.surfaceTabs.description",side:"bottom"},{scope:"siteEditor",anchor:"branchPicker",titleKey:"layoutTour.branchPicker.title",descKey:"layoutTour.branchPicker.description",side:"bottom"},{scope:"orgHome",anchor:"recentActivity",titleKey:"layoutTour.recentActivity.title",descKey:"layoutTour.recentActivity.description",side:"top"}];function hs(t){return fs.filter(e=>e.scope==="shell"||e.scope==="orgHome"&&t.onOrgHome||e.scope==="project"&&t.inProject||e.scope==="siteEditor"&&t.onSiteEditor)}function gs(t,e){return hs(e).map(o=>({element:Dt(o.anchor),popover:{title:t(o.titleKey),description:t(o.descKey),side:o.side,align:"center"}}))}const ps=Dt("switcher"),ys=30;function Rt(t){const e=document.querySelector(t);return e instanceof HTMLElement&&e.offsetParent!==null}function bs(t,e){return gs(t,e).filter(o=>typeof o.element=="string"&&Rt(o.element))}function xs(t,e){return{showProgress:!0,progressText:t("layoutTour.progress"),nextBtnText:t("layoutTour.next"),prevBtnText:t("layoutTour.prev"),doneBtnText:t("layoutTour.done"),showButtons:["next","previous"],smoothScroll:!0,allowClose:!0,disableActiveInteraction:!0,stagePadding:6,stageRadius:8,waitForElement:0,skipMissingElement:!0,popoverClass:"layout-tour-popover",onPopoverRender:(o,{driver:r})=>{if(o.footerButtons.querySelector(".layout-tour-skip"))return;const s=document.createElement("button");s.type="button",s.className="driver-popover-footer-btn layout-tour-skip",s.textContent=t("layoutTour.skip"),s.addEventListener("click",()=>r.destroy()),o.footerButtons.insertBefore(s,o.footerButtons.firstChild)},onDestroyed:()=>{Me=!1},steps:e}}let Me=!1;async function ws(){return(await Vt(()=>import("./driver.js-Dj4CfABu.js"),[])).driver}function Ss(t,e){if(Me)return;Me=!0;let o=0;const r=()=>{if(!Rt(ps)&&o++<ys){requestAnimationFrame(r);return}const s=bs(t,e);if(s.length===0){Me=!1;return}ws().then(a=>{a(xs(t,s)).drive()}).catch(()=>{Me=!1})};r()}function vs(t){return t!=="off"}function Qo(t){if(!t.hasSource)return[];const e=["site-editor"];return vs(t.cmsMode)&&e.push("content"),t.runtime==="sandbox"&&e.push("code"),e}function zt(t){return t==="site-editor"||t==="content"||t==="code"||t.startsWith("code:")}function Xo(t){return t.reportsOnly&&!t.onReportAgent&&zt(t.tabId)}const qt=[{id:"new-layout",date:"2026-09-22",eyebrow:"Now Available",title:"New Layout",bullets:[{icon:yt,title:"Unified page headers",body:"Every page now has a clear header with navigation breadcrumbs and actions, making it easy to orient yourself and move around."},{icon:it,title:"Consistent navigation and controls",body:"Settings and project pages use a predictable sidebar instead of scattered tabs. Buttons, inputs and toolbars share one shape and one height, and the layout adapts to smaller screens."},{icon:Sn,title:"Site editor redesigned",body:"Try the redesigned blocks editor from Profile & Preferences. Blocks share consistent actions, variants appear beside their block in the header, and section selection is searchable."}],cta:{label:"Take a tour",action:"start-tour"}},{id:"unified-workspace-layout",date:"2026-09-01",eyebrow:"Now Available",title:"A new way around Studio",bullets:[{icon:mt,title:"Unified org switcher",body:"Organizations and agents now share one control at the top of the sidebar. Search it to jump straight to any agent, including ones in your other organizations."},{icon:ee,title:"Your org at a glance",body:"The organization home now opens on the agents your team built and the tasks they are running — no empty board to fill in first."},{icon:yt,title:"Simplified CMS",body:"The CMS opens over the page you are previewing rather than somewhere else, so changing a section never costs you your place."}],cta:{label:"Take the tour",action:"start-tour"}},{id:"codex-gpt-5-6-defaults",date:"2026-07-13",eyebrow:"Now Available",title:"Codex defaults move to GPT-5.6",bullets:[{icon:ee,title:"Sol leads Thinking",body:"Codex Thinking now defaults to `gpt-5.6-sol` for deeper coding and reasoning work."},{icon:se,title:"Terra balances Smart",body:"The Smart tier now uses `gpt-5.6-terra`, replacing GPT-5.4 as the default balanced Codex model."},{icon:qe,title:"Luna speeds up Fast",body:"The Fast tier and lightweight Codex title generation now use `gpt-5.6-luna`. Existing threads that reference older GPT-5.4 or GPT-5.5 model IDs remain supported."}]},{id:"claude-sonnet-5",date:"2026-06-30",eyebrow:"Now Available",title:"Claude Sonnet 5 powers the Smart tier",bullets:[{icon:ee,title:"More agentic coding",body:"Sonnet 5 is Anthropic's strongest Sonnet model yet, with improved reasoning, tool use, coding, and knowledge work compared with Sonnet 4.6."},{icon:se,title:"Available in Claude Code",body:"The Claude Code harness now pins the Smart tier to the new `claude-sonnet-5` model id so new sessions use Sonnet 5 by default."},{icon:qe,title:"Nothing to change",body:"Existing Smart-tier chats and agents pick up Sonnet 5 automatically. Thinking remains on Opus 4.8 1M."}],learnMoreHref:"https://www.anthropic.com/news/claude-sonnet-5"},{id:"fable-5-suspension",date:"2026-06-13",eyebrow:"Important Update",title:"Fable 5 & Mythos 5 suspended — Opus 4.8 takes over",bullets:[{icon:se,title:"US government directive",body:"Anthropic received an export control directive requiring the suspension of Fable 5 and Mythos 5 access for all users, citing national security concerns. Anthropic is complying while it works to resolve the matter."},{icon:ee,title:"Opus 4.8 steps in as the Thinking tier",body:"The Thinking tier now runs on Claude Opus 4.8, which remains fully operational. Performance on most tasks is comparable, and Anthropic reports more than 95% of sessions were unaffected by the Fable 5 classifiers anyway."},{icon:qe,title:"Nothing to change",body:"The switch is automatic — any chat or agent already using the Thinking tier is now served by Opus 4.8. Anthropic will share further details within 24 hours."}],learnMoreHref:"https://www.anthropic.com/news/fable-mythos-access"},{id:"claude-fable-5",date:"2026-06-09",eyebrow:"Now Available",title:"Claude Fable 5 leads the Thinking tier",bullets:[{icon:ee,title:"State-of-the-art reasoning",body:"Fable 5 takes the Thinking tier, posting top scores across software engineering, knowledge work, and vision — and outperforming Opus 4.8 on nearly every benchmark Anthropic tested."},{icon:se,title:"Safety without the slowdown",body:"New classifiers route the small slice of high-risk requests (cybersecurity, bio/chem) back to Opus 4.8. Anthropic reports more than 95% of sessions never trigger a fallback."},{icon:qe,title:"Nothing to change",body:"Chats and agents pick up Fable 5 automatically wherever the Thinking tier is selected. Opus 4.8 stays available as the safety fallback."}],learnMoreHref:"https://www.anthropic.com/news/claude-fable-5-mythos-5"},{id:"claude-opus-4-8",date:"2026-05-28",eyebrow:"Now Available",title:"Claude Opus 4.8 is the new default",bullets:[{icon:ee,title:"Smarter thinking, same price",body:"Opus 4.8 now leads the Thinking and Smarter tiers, outperforming Opus 4.7 on coding, reasoning, and agent tasks at the same cost."},{icon:se,title:"More honest answers",body:"It's about 4× less likely to let a code flaw slip through unflagged, and surfaces uncertainty instead of making unsupported claims."},{icon:qe,title:"Nothing to change",body:"Chats and agents pick up Opus 4.8 automatically wherever the Thinking or Smarter tier is selected."}],learnMoreHref:"https://www.anthropic.com/news/claude-opus-4-8"},{id:"enhanced-sidebar",date:"2026-05-28",eyebrow:"Now Available",title:"Enhanced sidebar",bullets:[{icon:ee,title:"A clearer view of what's running",body:"See every task in your organization at a glance, with each agent and status group laid out so you can spot active work without hunting for it."},{icon:it,title:"Browse one group at a time",body:"Expand the groups you care about and pull in more results on demand — no more endless scrolling to find an older conversation."},{icon:se,title:"Polished and steadier",body:"Several sidebar bugs are fixed, including empty agent groups showing the right action and status filters returning the right tasks."}]},{id:"smarter-task-delegation",date:"2026-05-27",eyebrow:"Now Available",title:"Smarter task delegation",bullets:[{icon:mt,title:"Real results from delegated agents",body:"When one agent hands work to another, you'll see the full report inline — no more empty replies hiding the work that was done."},{icon:qe,title:"Same powers, top to bottom",body:"Delegated agents now work with the same tools, context, and memory as the agent that called them, so complex multi-agent investigations finish on the first try."},{icon:se,title:"Clearer progress signals",body:"When a delegated task hits its limit or runs into a problem, you get a plain-language message instead of a silent stall."}]},{id:"sidebar-task-groups",date:"2026-05-27",eyebrow:"Now Available",title:"Redesigned sidebar",bullets:[{icon:ee,title:"Group by agent or status",body:"Switch the task list between grouping by agent or by status — pick whichever matches how you're working right now."},{icon:it,title:"Sharper filters",body:"Narrow the list to your tasks, manual chats, or automations from a compact filter row above the groups."}]},{id:"release-channel",date:"2026-05-26",eyebrow:"Now Available",title:"Release announcements",bullets:[{icon:ee,title:"Heads-up when features ship",body:"New releases surface in a corner card the first time you see them, then stick around in your inbox."},{icon:vn,title:"Unified inbox",body:"Org invitations and product updates now share one chronological feed in the sidebar."}]}],nt="studio.release-feed.v1",rt=new Set;let oe="",ie={},lt=!1;function js(){if(lt)return oe||"{}";try{return localStorage.getItem(nt)??"{}"}catch{return oe||"{}"}}function Ft(t){try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function wt(){const t=js();return t!==oe&&(oe=t,ie=Ft(t)),ie}function ks(t){rt.add(t);const e=o=>{if(!(o.key!==nt&&o.key!==null)){try{const r=localStorage.getItem(nt)??"{}",a={...Ft(r),...ie};ie=a,oe=JSON.stringify(a)}catch{}t()}};return window.addEventListener("storage",e),()=>{rt.delete(t),window.removeEventListener("storage",e)}}function Ts(t){ie=t,oe=JSON.stringify(t);try{localStorage.setItem(nt,oe),lt=!1}catch{lt=!0}rt.forEach(e=>e())}function Ns(){const t=R.c(7),e=Q.useSyncExternalStore(ks,wt,wt);let o;t[0]!==e?(o=m=>!!e[m],t[0]=e,t[1]=o):o=t[1];const r=o,s=_s;let a;t[2]!==e?(a=qt.reduce((m,h)=>e[h.id]?m:m+1,0),t[2]=e,t[3]=a):a=t[3];const i=a;let c;return t[4]!==r||t[5]!==i?(c={isSeen:r,markSeen:s,unseenCount:i},t[4]=r,t[5]=i,t[6]=c):c=t[6],c}function _s(t){ie[t]||Ts({...ie,[t]:{seenAt:new Date().toISOString()}})}const Ps=720*60*60*1e3,As=10080*60*1e3;function Cs(t){const[e,o,r]=t.split("-").map(Number);return!e||!o||!r?new Date(t).getTime():new Date(e,o-1,r).getTime()}function Es(t){const e=qt[0];if(!e)return null;const o=Cs(e.date),r=t-o;return r<0||r>Ps?null:e}function Os(t){if(t instanceof Date)return t.getTime();if(typeof t=="string"||typeof t=="number"){const e=new Date(t).getTime();return Number.isFinite(e)?e:null}return null}function Is(t,e){const o=Os(t);return o===null?!1:e-o>=As}function $s(){const t=R.c(46),e=G(),o=Cn(),r=Wt(),s=$t(),a=!!o,i=r===te.home&&!o;let c;t[0]!==s||t[1]!==a?(c=a&&!!s&&zt(s),t[0]=s,t[1]=a,t[2]=c):c=t[2];const m=c,{data:h}=Ue.useSession(),{isSeen:S,markSeen:u}=Ns(),p=In(6e4);let l,g,f;if(t[3]!==S||t[4]!==p||t[5]!==h?.user?.createdAt){f=Symbol.for("react.early_return_sentinel");e:{if(l=Es(p),!l){f=null;break e}if(!Is(h?.user?.createdAt,p)){f=null;break e}g=S(l.id)}t[3]=S,t[4]=p,t[5]=h?.user?.createdAt,t[6]=l,t[7]=g,t[8]=f}else l=t[6],g=t[7],f=t[8];if(f!==Symbol.for("react.early_return_sentinel"))return f;if(g)return null;let d;t[9]!==l.id||t[10]!==a||t[11]!==u||t[12]!==i||t[13]!==m||t[14]!==e?(d=()=>{u(l.id),Ss(e,{onOrgHome:i,inProject:a,onSiteEditor:m})},t[9]=l.id,t[10]=a,t[11]=u,t[12]=i,t[13]=m,t[14]=e,t[15]=d):d=t[15];const w=d;let y;t[16]!==e?(y=e("announcements.release.ariaLabel"),t[16]=e,t[17]=y):y=t[17];let x;t[18]!==e?(x=e("announcements.release.dismiss"),t[18]=e,t[19]=x):x=t[19];const v=l.eyebrow,b=l.title;let T;t[20]!==l.id||t[21]!==u?(T=()=>u(l.id),t[20]=l.id,t[21]=u,t[22]=T):T=t[22];let j;t[23]!==l.id||t[24]!==l.learnMoreHref||t[25]!==u||t[26]!==e?(j=l.learnMoreHref?n.jsx("a",{href:l.learnMoreHref,target:"_blank",rel:"noreferrer",onClick:()=>u(l.id),className:"underline-offset-2 hover:text-foreground hover:underline",children:e("announcements.release.learnMore")}):null,t[23]=l.id,t[24]=l.learnMoreHref,t[25]=u,t[26]=e,t[27]=j):j=t[27];let k;t[28]!==l.cta||t[29]!==l.id||t[30]!==u||t[31]!==w?(k=l.cta?"href"in l.cta?n.jsx(z,{asChild:!0,size:"sm",onClick:()=>u(l.id),children:n.jsx("a",{href:l.cta.href,children:l.cta.label})}):n.jsx(z,{size:"sm",onClick:w,children:l.cta.label}):null,t[28]=l.cta,t[29]=l.id,t[30]=u,t[31]=w,t[32]=k):k=t[32];let _;t[33]!==l.bullets?(_=l.bullets.map(Ls),t[33]=l.bullets,t[34]=_):_=t[34];let N;t[35]!==_?(N=n.jsx("ul",{className:"flex flex-col gap-3",children:_}),t[35]=_,t[36]=N):N=t[36];let P;return t[37]!==l.eyebrow||t[38]!==l.title||t[39]!==k||t[40]!==N||t[41]!==y||t[42]!==x||t[43]!==T||t[44]!==j?(P=n.jsx(Lt,{ariaLabel:y,dismissLabel:x,eyebrow:v,title:b,onDismiss:T,footerLeading:j,actions:k,children:N}),t[37]=l.eyebrow,t[38]=l.title,t[39]=k,t[40]=N,t[41]=y,t[42]=x,t[43]=T,t[44]=j,t[45]=P):P=t[45],P}function Ls(t,e){return n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(t.icon,{size:20,className:"mt-0.5 shrink-0 text-muted-foreground"}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-sm font-medium text-foreground",children:t.title}),n.jsx("p",{className:"text-xs text-muted-foreground",children:t.body})]})]},e)}function Ds(t){const e=R.c(11),{open:o,onOpenChange:r}=t,s=G();let a;e[0]!==s?(a=s("common.keyboardShortcutsDialog.title"),e[0]=s,e[1]=a):a=e[1];let i;e[2]!==a?(i=n.jsx(Tt,{children:n.jsx(Nt,{children:a})}),e[2]=a,e[3]=i):i=e[3];let c;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx("div",{className:"flex flex-col gap-4",children:Yt.map(Rs)}),e[4]=c):c=e[4];let m;e[5]!==i?(m=n.jsxs(_t,{className:"sm:max-w-md",children:[i,c]}),e[5]=i,e[6]=m):m=e[6];let h;return e[7]!==r||e[8]!==o||e[9]!==m?(h=n.jsx(Pt,{open:o,onOpenChange:r,children:m}),e[7]=r,e[8]=o,e[9]=m,e[10]=h):h=e[10],h}function Rs(t){return n.jsxs("div",{children:[n.jsx("h3",{className:"text-xs font-medium text-muted-foreground mb-2",children:t.label}),n.jsx("div",{className:"flex flex-col gap-1.5",children:t.shortcuts.map(zs)})]},t.label)}function zs(t){return n.jsxs("div",{className:"flex items-center justify-between py-1",children:[n.jsx("span",{className:"text-sm",children:t.description}),n.jsx("div",{className:"flex items-center gap-1",children:t.keys.map(qs)})]},t.description)}function qs(t){return n.jsx("kbd",{className:"inline-flex items-center justify-center min-w-6 h-6 px-1.5 rounded-sm border border-border bg-muted text-muted-foreground text-xs font-mono",children:t},t)}const St=8;function Fs(t){const{org:e}=ct(),o=Bn({connectionId:Ct,orgId:e.id,orgSlug:e.slug}),{data:r}=Fe({queryKey:Je.globalSearch(e.id,t,St),enabled:!!o&&t.trim().length>=2,staleTime:15e3,retry:!1,queryFn:async()=>{if(!o)return[];try{return(await o.callTool({name:"GLOBAL_SEARCH",arguments:{query:t,limit:St}})).structuredContent?.items??[]}catch{return[]}}});return r??[]}function Bs(t){const e=R.c(195),{open:o,onOpenChange:r}=t,s=G(),a=At(),{org:i}=ct(),{projects:c,hasProjects:m}=En(),[h,S]=Q.useState(""),u=Q.useDeferredValue(h),p=Fs(u);let l;e[0]!==r?(l=()=>{r(!1),S("")},e[0]=r,e[1]=l):l=e[1];const g=l;let f;e[2]!==g?(f=(B,M)=>{at("command_palette_used",{kind:M}),B(),g()},e[2]=g,e[3]=f):f=e[3];const d=f;let w;e[4]!==a||e[5]!==i.id||e[6]!==i.slug?(w=B=>{if(B.type==="connection"){if(!B.slug){a({to:"/$org/settings/connections",params:{org:i.slug},search:{tab:"all"}});return}a({to:"/$org/settings/connections/$appSlug",params:{org:i.slug,appSlug:B.slug}});return}if(B.type==="task"){a({to:te.tasks,params:{org:i.slug,taskKey:B.key??void 0}});return}const M=Et(i.id).id;Qt(a,Xt({org:i.slug,agentId:B.virtual_mcp_id??M,superAgentId:M}),{search:()=>({thread:B.id}),replace:!1})},e[4]=a,e[5]=i.id,e[6]=i.slug,e[7]=w):w=e[7];const y=w;let x;e[8]!==h?(x=[h],e[8]=h,e[9]=x):x=e[9];const v=x;let b,T,j,k,_,N,P,C,I,O,D,A,q;if(e[10]!==g||e[11]!==d||e[12]!==m||e[13]!==p||e[14]!==a||e[15]!==r||e[16]!==o||e[17]!==y||e[18]!==i.slug||e[19]!==c||e[20]!==v||e[21]!==s||e[22]!==h){const B=p.filter(Ks),M=p.filter(Ms);let J;e[36]!==i.slug?(J={org:i.slug},e[36]=i.slug,e[37]=J):J=e[37];const $=J;let V;e[38]!==s?(V=s("sidebar.navDestinations.home"),e[38]=s,e[39]=V):V=e[39];let W;e[40]===Symbol.for("react.memo_cache_sentinel")?(W=n.jsx(kn,{"aria-hidden":"true"}),e[40]=W):W=e[40];let H;e[41]!==$||e[42]!==V?(H={key:"home",label:V,icon:W,to:te.home,params:$},e[41]=$,e[42]=V,e[43]=H):H=e[43];let U;e[44]!==s?(U=s("sidebar.navDestinations.reports"),e[44]=s,e[45]=U):U=e[45];let Z;e[46]===Symbol.for("react.memo_cache_sentinel")?(Z=n.jsx(Tn,{"aria-hidden":"true"}),e[46]=Z):Z=e[46];let Y;e[47]!==$||e[48]!==U?(Y={key:"reports",label:U,icon:Z,to:te.reports,params:$},e[47]=$,e[48]=U,e[49]=Y):Y=e[49];let L;e[50]!==s?(L=s("sidebar.navDestinations.tasks"),e[50]=s,e[51]=L):L=e[51];let K;e[52]===Symbol.for("react.memo_cache_sentinel")?(K=n.jsx(pt,{"aria-hidden":"true"}),e[52]=K):K=e[52];let re;e[53]!==i.slug?(re={org:i.slug,taskKey:void 0},e[53]=i.slug,e[54]=re):re=e[54];let le;e[55]!==L||e[56]!==re?(le={key:"tasks",label:L,icon:K,to:te.tasks,params:re},e[55]=L,e[56]=re,e[57]=le):le=e[57];let ce;e[58]!==s?(ce=s("sidebar.navDestinations.library"),e[58]=s,e[59]=ce):ce=e[59];let Ve;e[60]===Symbol.for("react.memo_cache_sentinel")?(Ve=n.jsx(Nn,{"aria-hidden":"true"}),e[60]=Ve):Ve=e[60];let de;e[61]!==$||e[62]!==ce?(de={key:"library",label:ce,icon:Ve,to:te.library,params:$},e[61]=$,e[62]=ce,e[63]=de):de=e[63];let ue;e[64]!==s?(ue=s("sidebar.navDestinations.discover"),e[64]=s,e[65]=ue):ue=e[65];let We;e[66]===Symbol.for("react.memo_cache_sentinel")?(We=n.jsx(_n,{"aria-hidden":"true"}),e[66]=We):We=e[66];let me;e[67]!==$||e[68]!==ue?(me={key:"discover",label:ue,icon:We,to:te.discover,params:$},e[67]=$,e[68]=ue,e[69]=me):me=e[69];let Ye;e[70]!==H||e[71]!==Y||e[72]!==le||e[73]!==de||e[74]!==me?(Ye=[H,Y,le,de,me],e[70]=H,e[71]=Y,e[72]=le,e[73]=de,e[74]=me,e[75]=Ye):Ye=e[75];const ot=Ye;T=Ln,k=o,e[76]!==g||e[77]!==r?(_=E=>E?r(!0):g(),e[76]=g,e[77]=r,e[78]=_):_=e[78],e[79]!==s?(N=s("commandPalette.title"),e[79]=s,e[80]=N):N=e[80],e[81]!==s?(P=s("commandPalette.description"),e[81]=s,e[82]=P):P=e[82];let fe;e[83]!==s?(fe=s("commandPalette.placeholder"),e[83]=s,e[84]=fe):fe=e[84];let he;e[85]!==s?(he=s("commandPalette.placeholder"),e[85]=s,e[86]=he):he=e[86],e[87]!==fe||e[88]!==he||e[89]!==h?(C=n.jsx(Dn,{placeholder:fe,"aria-label":he,value:h,onValueChange:S}),e[87]=fe,e[88]=he,e[89]=h,e[90]=C):C=e[90],b=Rn;let ge;e[91]!==s?(ge=s("commandPalette.empty"),e[91]=s,e[92]=ge):ge=e[92],e[93]!==ge?(I=n.jsx(zn,{children:ge}),e[93]=ge,e[94]=I):I=e[94];let pe;e[95]!==s?(pe=s("commandPalette.goTo"),e[95]=s,e[96]=pe):pe=e[96];let ye;e[97]!==ot||e[98]!==d||e[99]!==a?(ye=ot.map(E=>n.jsxs(ne,{onSelect:()=>d(()=>a({to:E.to,params:E.params}),"destination"),children:[E.icon,n.jsx("span",{children:E.label})]},E.key)),e[97]=ot,e[98]=d,e[99]=a,e[100]=ye):ye=e[100],e[101]!==pe||e[102]!==ye?(O=n.jsx(Be,{heading:pe,children:ye}),e[101]=pe,e[102]=ye,e[103]=O):O=e[103],e[104]!==d||e[105]!==m||e[106]!==a||e[107]!==i.slug||e[108]!==c||e[109]!==s?(D=m&&n.jsx(Be,{heading:s("commandPalette.projects"),children:c.map(E=>n.jsxs(ne,{value:`project ${E.title}`,onSelect:()=>d(()=>a({to:te.projects,params:{org:i.slug,agentId:E.id}}),"project"),children:[n.jsx(Fn,{icon:E.icon,name:E.title,"aria-hidden":"true"}),n.jsx("span",{children:E.title})]},E.id))}),e[104]=d,e[105]=m,e[106]=a,e[107]=i.slug,e[108]=c,e[109]=s,e[110]=D):D=e[110];let be;e[111]!==s?(be=s("commandPalette.actions"),e[111]=s,e[112]=be):be=e[112];let xe;e[113]!==s?(xe=s("commandPalette.newProject"),e[113]=s,e[114]=xe):xe=e[114];let we;e[115]!==d||e[116]!==a||e[117]!==$?(we=()=>d(()=>a({to:te.home,params:$}),"new_project"),e[115]=d,e[116]=a,e[117]=$,e[118]=we):we=e[118];let Qe;e[119]===Symbol.for("react.memo_cache_sentinel")?(Qe=n.jsx(bt,{"aria-hidden":"true"}),e[119]=Qe):Qe=e[119];let Se;e[120]!==s?(Se=s("commandPalette.newProject"),e[120]=s,e[121]=Se):Se=e[121];let ve;e[122]!==Se?(ve=n.jsx("span",{children:Se}),e[122]=Se,e[123]=ve):ve=e[123];let je;e[124]!==xe||e[125]!==we||e[126]!==ve?(je=n.jsxs(ne,{value:xe,onSelect:we,children:[Qe,ve]}),e[124]=xe,e[125]=we,e[126]=ve,e[127]=je):je=e[127];let ke;e[128]!==s?(ke=s("commandPalette.inviteTeammate"),e[128]=s,e[129]=ke):ke=e[129];let Te;e[130]!==d||e[131]!==a||e[132]!==$?(Te=()=>d(()=>a({to:"/$org/settings/members",params:$}),"invite"),e[130]=d,e[131]=a,e[132]=$,e[133]=Te):Te=e[133];let Xe;e[134]===Symbol.for("react.memo_cache_sentinel")?(Xe=n.jsx(Pn,{"aria-hidden":"true"}),e[134]=Xe):Xe=e[134];let Ne;e[135]!==s?(Ne=s("commandPalette.inviteTeammate"),e[135]=s,e[136]=Ne):Ne=e[136];let _e;e[137]!==Ne?(_e=n.jsx("span",{children:Ne}),e[137]=Ne,e[138]=_e):_e=e[138];let Pe;e[139]!==ke||e[140]!==Te||e[141]!==_e?(Pe=n.jsxs(ne,{value:ke,onSelect:Te,children:[Xe,_e]}),e[139]=ke,e[140]=Te,e[141]=_e,e[142]=Pe):Pe=e[142];let Ae;e[143]!==s?(Ae=s("commandPalette.addConnection"),e[143]=s,e[144]=Ae):Ae=e[144];let Ce;e[145]!==d||e[146]!==a||e[147]!==$?(Ce=()=>d(()=>a({to:"/$org/settings/connections",params:$,search:{tab:"all"}}),"add_connection"),e[145]=d,e[146]=a,e[147]=$,e[148]=Ce):Ce=e[148];let Ze;e[149]===Symbol.for("react.memo_cache_sentinel")?(Ze=n.jsx(bt,{"aria-hidden":"true"}),e[149]=Ze):Ze=e[149];let Ee;e[150]!==s?(Ee=s("commandPalette.addConnection"),e[150]=s,e[151]=Ee):Ee=e[151];let Oe;e[152]!==Ee?(Oe=n.jsx("span",{children:Ee}),e[152]=Ee,e[153]=Oe):Oe=e[153];let Ie;e[154]!==Ae||e[155]!==Ce||e[156]!==Oe?(Ie=n.jsxs(ne,{value:Ae,onSelect:Ce,children:[Ze,Oe]}),e[154]=Ae,e[155]=Ce,e[156]=Oe,e[157]=Ie):Ie=e[157];let $e;e[158]!==s?($e=s("commandPalette.settings"),e[158]=s,e[159]=$e):$e=e[159];let Le;e[160]!==d||e[161]!==a||e[162]!==$?(Le=()=>d(()=>a({to:"/$org/settings/general",params:$}),"settings"),e[160]=d,e[161]=a,e[162]=$,e[163]=Le):Le=e[163];let et;e[164]===Symbol.for("react.memo_cache_sentinel")?(et=n.jsx($n,{"aria-hidden":"true"}),e[164]=et):et=e[164];let De;e[165]!==s?(De=s("commandPalette.settings"),e[165]=s,e[166]=De):De=e[166];let Re;e[167]!==De?(Re=n.jsx("span",{children:De}),e[167]=De,e[168]=Re):Re=e[168];let ze;e[169]!==$e||e[170]!==Le||e[171]!==Re?(ze=n.jsxs(ne,{value:$e,onSelect:Le,children:[et,Re]}),e[169]=$e,e[170]=Le,e[171]=Re,e[172]=ze):ze=e[172],e[173]!==be||e[174]!==je||e[175]!==Pe||e[176]!==Ie||e[177]!==ze?(A=n.jsxs(Be,{heading:be,children:[je,Pe,Ie,ze]}),e[173]=be,e[174]=je,e[175]=Pe,e[176]=Ie,e[177]=ze,e[178]=A):A=e[178],q=B.length>0&&n.jsx(Be,{heading:s("commandPalette.connections"),children:B.map(E=>n.jsxs(ne,{value:`${E.title} ${E.id}`,keywords:v,onSelect:()=>d(()=>y(E),"connection"),children:[n.jsx(qn,{icon:E.icon,name:E.title,size:"2xs","aria-hidden":"true"}),n.jsx("span",{className:"truncate",children:E.title})]},`connection:${E.id}`))}),j=M.length>0&&n.jsx(Be,{heading:s("commandPalette.results"),children:M.map(E=>n.jsxs(ne,{value:`${E.title} ${E.id}`,keywords:v,onSelect:()=>d(()=>y(E),E.type),children:[E.type==="thread"?n.jsx(jn,{"aria-hidden":"true"}):n.jsx(pt,{"aria-hidden":"true"}),n.jsx("span",{className:"truncate",children:E.title}),E.type==="task"&&E.key&&n.jsx("span",{className:"ml-auto shrink-0 font-mono text-xs text-muted-foreground",children:E.key})]},`${E.type}:${E.id}`))}),e[10]=g,e[11]=d,e[12]=m,e[13]=p,e[14]=a,e[15]=r,e[16]=o,e[17]=y,e[18]=i.slug,e[19]=c,e[20]=v,e[21]=s,e[22]=h,e[23]=b,e[24]=T,e[25]=j,e[26]=k,e[27]=_,e[28]=N,e[29]=P,e[30]=C,e[31]=I,e[32]=O,e[33]=D,e[34]=A,e[35]=q}else b=e[23],T=e[24],j=e[25],k=e[26],_=e[27],N=e[28],P=e[29],C=e[30],I=e[31],O=e[32],D=e[33],A=e[34],q=e[35];let F;e[179]!==b||e[180]!==j||e[181]!==I||e[182]!==O||e[183]!==D||e[184]!==A||e[185]!==q?(F=n.jsxs(b,{children:[I,O,D,A,q,j]}),e[179]=b,e[180]=j,e[181]=I,e[182]=O,e[183]=D,e[184]=A,e[185]=q,e[186]=F):F=e[186];let X;return e[187]!==T||e[188]!==k||e[189]!==_||e[190]!==N||e[191]!==P||e[192]!==C||e[193]!==F?(X=n.jsxs(T,{open:k,onOpenChange:_,title:N,description:P,children:[C,F]}),e[187]=T,e[188]=k,e[189]=_,e[190]=N,e[191]=P,e[192]=C,e[193]=F,e[194]=X):X=e[194],X}function Ms(t){return t.type!=="connection"}function Ks(t){return t.type==="connection"}const He=new Gn(!1);function Hs(){He.set(!0)}function Us(){He.set(!1)}function Gs(){const t=R.c(2),e=Q.useSyncExternalStore(He.subscribe,He.get);let o;return t[0]!==e?(o=[e,He.set],t[0]=e,t[1]=o):o=t[1],o}const Js=300*1e3,Vs=2;function Ws(t,e,o){return!e||e===o?{version:null,count:0}:t.version===e?{version:e,count:t.count+1}:{version:e,count:1}}function Ys(t,e){return t.count>=Vs&&t.version!==null&&t.version!==e}function Qs(){const t=R.c(31),e=G();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={queryKey:Je.appVersionCheck(),queryFn:Zs,refetchInterval:Js,refetchIntervalInBackground:!0,staleTime:0},t[0]=o):o=t[0];const{data:r,dataUpdatedAt:s}=Fe(o),[a,i]=Q.useState(0);let c;t[1]===Symbol.for("react.memo_cache_sentinel")?(c={version:null,count:0},t[1]=c):c=t[1];const[m,h]=Q.useState(c);s!==a&&(i(s),h(k=>Ws(k,r,"4.528.0")));const[S,u]=Q.useState(null);if(!Ys(m,S))return null;let p;t[2]!==e?(p=e("announcements.version.ariaLabel"),t[2]=e,t[3]=p):p=t[3];let l;t[4]!==e?(l=e("announcements.version.dismiss"),t[4]=e,t[5]=l):l=t[5];let g;t[6]!==e?(g=e("announcements.version.eyebrow"),t[6]=e,t[7]=g):g=t[7];let f;t[8]!==e?(f=e("announcements.version.title"),t[8]=e,t[9]=f):f=t[9];let d;t[10]!==e?(d=e("announcements.version.description"),t[10]=e,t[11]=d):d=t[11];let w;t[12]===Symbol.for("react.memo_cache_sentinel")?(w=n.jsx(ft,{size:16}),t[12]=w):w=t[12];let y;t[13]!==m.version?(y=()=>u(m.version),t[13]=m.version,t[14]=y):y=t[14];let x;t[15]!==e?(x=e("announcements.version.currentSession",{version:"4.528.0"}),t[15]=e,t[16]=x):x=t[16];let v;t[17]!==e?(v=e("announcements.version.refresh"),t[17]=e,t[18]=v):v=t[18];let b;t[19]===Symbol.for("react.memo_cache_sentinel")?(b=n.jsx(ft,{size:14}),t[19]=b):b=t[19];let T;t[20]!==v?(T=n.jsxs(z,{size:"sm",onClick:Xs,children:[v,b]}),t[20]=v,t[21]=T):T=t[21];let j;return t[22]!==T||t[23]!==p||t[24]!==l||t[25]!==g||t[26]!==f||t[27]!==d||t[28]!==y||t[29]!==x?(j=n.jsx(Lt,{ariaLabel:p,dismissLabel:l,eyebrow:g,title:f,description:d,icon:w,tone:"system",onDismiss:y,footerLeading:x,actions:T}),t[22]=T,t[23]=p,t[24]=l,t[25]=g,t[26]=f,t[27]=d,t[28]=y,t[29]=x,t[30]=j):j=t[30],j}function Xs(){return window.location.reload()}async function Zs(){const t=await fetch("/api/config",{cache:"no-store"}),{config:e}=await t.json();return e.version}function eo(t){return{has(){try{return localStorage.getItem(t)==="1"}catch{return!1}},mark(){try{localStorage.setItem(t,"1")}catch{}}}}const to=Date.parse("2026-07-21T00:00:00Z"),vt=t=>eo(Ge.ptBrAnnouncementSeen(t));function no(){const t=R.c(35),e=G(),[o,r]=Zt(),{data:s,isPending:a}=Ue.useSession(),i=s?.user,c=i?.id,m=i?.createdAt,h=m!=null&&new Date(m).getTime()<to,S=en()==="pt-BR",u=!a&&!!c&&h&&S&&o.language==="en"&&!vt(c).has(),[p,l]=Q.useState(!1),[g,f]=Q.useState(!1);!p&&!a&&(l(!0),u&&c&&(vt(c).mark(),r(oo),f(!0),at("pt_br_auto_switch_shown")));let d;t[0]===Symbol.for("react.memo_cache_sentinel")?(d=X=>{at("pt_br_auto_switch_closed",{action:X}),f(!1)},t[0]=d):d=t[0];const w=d;let y;t[1]!==r?(y=()=>{r(so),w("switch-back")},t[1]=r,t[2]=y):y=t[2];const x=y;let v;t[3]===Symbol.for("react.memo_cache_sentinel")?(v=X=>!X&&w("dismiss"),t[3]=v):v=t[3];let b;t[4]===Symbol.for("react.memo_cache_sentinel")?(b=n.jsx("div",{className:"text-4xl","aria-hidden":"true",children:"🇧🇷"}),t[4]=b):b=t[4];let T;t[5]!==e?(T=e("announcements.ptBr.title"),t[5]=e,t[6]=T):T=t[6];let j;t[7]!==T?(j=n.jsx(Nt,{children:T}),t[7]=T,t[8]=j):j=t[8];let k;t[9]!==e?(k=e("announcements.ptBr.description"),t[9]=e,t[10]=k):k=t[10];let _;t[11]!==k?(_=n.jsx(tn,{children:k}),t[11]=k,t[12]=_):_=t[12];let N;t[13]!==j||t[14]!==_?(N=n.jsxs(Tt,{children:[j,_]}),t[13]=j,t[14]=_,t[15]=N):N=t[15];let P;t[16]!==e?(P=e("announcements.ptBr.switchBack"),t[16]=e,t[17]=P):P=t[17];let C;t[18]!==x||t[19]!==P?(C=n.jsx(z,{variant:"outline",onClick:x,children:P}),t[18]=x,t[19]=P,t[20]=C):C=t[20];let I;t[21]===Symbol.for("react.memo_cache_sentinel")?(I=()=>w("ok"),t[21]=I):I=t[21];let O;t[22]!==e?(O=e("announcements.ptBr.ok"),t[22]=e,t[23]=O):O=t[23];let D;t[24]!==O?(D=n.jsx(z,{onClick:I,children:O}),t[24]=O,t[25]=D):D=t[25];let A;t[26]!==C||t[27]!==D?(A=n.jsxs(nn,{children:[C,D]}),t[26]=C,t[27]=D,t[28]=A):A=t[28];let q;t[29]!==A||t[30]!==N?(q=n.jsxs(_t,{className:"sm:max-w-md",children:[b,N,A]}),t[29]=A,t[30]=N,t[31]=q):q=t[31];let F;return t[32]!==g||t[33]!==q?(F=n.jsx(Pt,{open:g,onOpenChange:v,children:q}),t[32]=g,t[33]=q,t[34]=F):F=t[34],F}function so(t){return{...t,language:"en"}}function oo(t){return{...t,language:"pt-BR"}}function io(t){const e=sn(t);return typeof e=="string"?e:void 0}function ao(){return io("experiment-pipeline-check"),null}function ro(t){const e=R.c(1),{activeOrg:o}=t;if(!o)return null;on(o.id,{name:o.name??void 0,slug:o.slug??void 0}),an();let r;return e[0]===Symbol.for("react.memo_cache_sentinel")?(r=n.jsx(ao,{}),e[0]=r):r=e[0],r}function lo(t){const{prev:e,virtualMcpId:o,decopilotId:r,savedLayout:s,opts:a,autosendValue:i}=t,c={mainpanel:void 0};o?c.virtualmcpid=o:e.virtualmcpid&&(c.virtualmcpid=e.virtualmcpid);const m=typeof e.virtualmcpid=="string"?e.virtualmcpid:r,S=(o??m)!==m;let u,p;return a?.panel?p=a.panel:a?.newThread&&!S&&rn(e.tabId)?(p=e.tabId,c.mainpanel=e.mainpanel,u=e.sidepanel):s?(p=s.tab,s.sidepanel!==void 0&&(u=s.sidepanel),s.mainpanel!==void 0&&(c.mainpanel=s.mainpanel)):!S&&e.tabId&&!ln(e.tabId)&&(p=e.tabId),u!==void 0&&(c.sidepanel=u),a?.autosend&&(c.autosend=i),{tabId:p,search:c}}const Bt="studio:thread-layout:v4",co=50;function Mt(t){const e={};return t===null||typeof t!="object"||(typeof t.tab=="string"&&(e.tab=t.tab),typeof t.mainpanel=="boolean"&&(e.mainpanel=t.mainpanel),typeof t.sidepanel=="boolean"&&(e.sidepanel=t.sidepanel)),e}function uo(t,e,o,r=co){const s=t.filter(([a])=>a!==e);for(s.push([e,Mt(o)]);s.length>r;)s.shift();return s}function dt(){try{const t=sessionStorage.getItem(Bt);if(!t)return[];const e=JSON.parse(t);return Array.isArray(e)?e.filter(o=>Array.isArray(o)&&o.length===2&&typeof o[0]=="string"):[]}catch{return[]}}function Kt(t){try{sessionStorage.setItem(Bt,JSON.stringify(t))}catch{}}function mo(t,e){t&&Kt(uo(dt(),t,e))}function fo(t){if(!t)return null;const e=dt().find(([o])=>o===t);return e?Mt(e[1]):null}function Zo(t){if(!t)return;const e=dt(),o=e.filter(([r])=>r!==t);o.length!==e.length&&Kt(o)}function Ht(t){return{queryKey:Je.homeNextActions(t),queryFn:async()=>{const e=await fetch(`/api/${t}/home-next-actions`,{cache:"no-store"});if(!e.ok)throw new Error("Failed to load home next actions");return await e.json()},staleTime:0,refetchOnWindowFocus:"always"}}function ei(t){const e=R.c(10);let o;e[0]!==t?(o=Ht(t),e[0]=t,e[1]=o):o=e[1];const r=Fe(o);let s;e[2]!==r.data?.prompts?(s=r.data?.prompts??[],e[2]=r.data?.prompts,e[3]=s):s=e[3];let a;e[4]!==r.data?.tiles?(a=r.data?.tiles??[],e[4]=r.data?.tiles,e[5]=a):a=e[5];let i;return e[6]!==r.isLoading||e[7]!==s||e[8]!==a?(i={isLoading:r.isLoading,prompts:s,tiles:a},e[6]=r.isLoading,e[7]=s,e[8]=a,e[9]=i):i=e[9],i}function ho(t){const e=R.c(31),{orgSlug:o,orgName:r,domain:s}=t,a=G();let i;e[0]!==o?(i=()=>{window.location.href=`/api/${encodeURIComponent(o)}/sso/authorize`},e[0]=o,e[1]=i):i=e[1];const c=i,m=go;let h;e[2]===Symbol.for("react.memo_cache_sentinel")?(h=n.jsx("div",{className:"bg-primary/10 p-3 rounded-full","aria-hidden":"true",children:n.jsx(jt,{className:"h-6 w-6 text-primary"})}),e[2]=h):h=e[2];let S;e[3]!==a?(S=a("common.ssoRequiredScreen.title"),e[3]=a,e[4]=S):S=e[4];let u;e[5]!==S?(u=n.jsx("h3",{className:"text-lg font-medium",children:S}),e[5]=S,e[6]=u):u=e[6];let p;e[7]!==s||e[8]!==r||e[9]!==a?(p=r?n.jsxs(n.Fragment,{children:[n.jsx("strong",{children:r})," ",a("common.ssoRequiredScreen.requiresSsoAuth"),s?` ${a("common.ssoRequiredScreen.via",{domain:s})}`:"","."]}):a("common.ssoRequiredScreen.orgRequiresSsoAuth"),e[7]=s,e[8]=r,e[9]=a,e[10]=p):p=e[10];let l;e[11]!==p?(l=n.jsx("p",{className:"text-sm text-muted-foreground",children:p}),e[11]=p,e[12]=l):l=e[12];let g;e[13]!==u||e[14]!==l?(g=n.jsxs("div",{className:"space-y-2",children:[u,l]}),e[13]=u,e[14]=l,e[15]=g):g=e[15];let f;e[16]!==a?(f=a("common.ssoRequiredScreen.signInWithSso"),e[16]=a,e[17]=f):f=e[17];let d;e[18]!==c||e[19]!==f?(d=n.jsx(z,{onClick:c,children:f}),e[18]=c,e[19]=f,e[20]=d):d=e[20];let w;e[21]!==a?(w=a("common.goBack"),e[21]=a,e[22]=w):w=e[22];let y;e[23]!==w?(y=n.jsx(z,{variant:"ghost",onClick:m,children:w}),e[23]=w,e[24]=y):y=e[24];let x;e[25]!==y||e[26]!==d?(x=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[d,y]}),e[25]=y,e[26]=d,e[27]=x):x=e[27];let v;return e[28]!==x||e[29]!==g?(v=n.jsxs(ae,{children:[h,g,x]}),e[28]=x,e[29]=g,e[30]=v):v=e[30],v}function go(){window.location.href="/"}function po(t){const e=R.c(27),{notice:o,orgSlug:r}=t,s=G();let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=n.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:n.jsx(cn,{className:"h-6 w-6 text-destructive"})}),e[0]=a):a=e[0];let i;e[1]!==o.title?(i=n.jsx("h3",{className:"text-lg font-medium",children:o.title}),e[1]=o.title,e[2]=i):i=e[2];let c;e[3]!==o.message?(c=n.jsx("p",{className:"text-sm text-muted-foreground whitespace-pre-line",children:o.message}),e[3]=o.message,e[4]=c):c=e[4];let m;e[5]!==i||e[6]!==c?(m=n.jsxs("div",{className:"space-y-2",children:[i,c]}),e[5]=i,e[6]=c,e[7]=m):m=e[7];let h;e[8]!==o.ctaLabel||e[9]!==o.ctaUrl?(h=o.ctaUrl&&o.ctaLabel?n.jsx(z,{asChild:!0,children:n.jsx("a",{href:o.ctaUrl,target:"_blank",rel:"noreferrer noopener",children:o.ctaLabel})}):null,e[8]=o.ctaLabel,e[9]=o.ctaUrl,e[10]=h):h=e[10];const S=`/${encodeURIComponent(r)}/settings/infra-billing`;let u;e[11]!==s?(u=s("common.blockedOrgScreen.goToBilling"),e[11]=s,e[12]=u):u=e[12];let p;e[13]!==S||e[14]!==u?(p=n.jsx(z,{variant:"outline",asChild:!0,children:n.jsx("a",{href:S,children:u})}),e[13]=S,e[14]=u,e[15]=p):p=e[15];let l;e[16]!==s?(l=s("common.blockedOrgScreen.switchOrg"),e[16]=s,e[17]=l):l=e[17];let g;e[18]!==l?(g=n.jsx(z,{variant:"ghost",asChild:!0,children:n.jsx("a",{href:"/",children:l})}),e[18]=l,e[19]=g):g=e[19];let f;e[20]!==g||e[21]!==h||e[22]!==p?(f=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[h,p,g]}),e[20]=g,e[21]=h,e[22]=p,e[23]=f):f=e[23];let d;return e[24]!==f||e[25]!==m?(d=n.jsxs(ae,{children:[a,m,f]}),e[24]=f,e[25]=m,e[26]=d):d=e[26],d}function yo(t){const e=R.c(8);let o;e[0]!==t?(o=Je.orgNotice(t??""),e[0]=t,e[1]=o):o=e[1];let r;e[2]!==t?(r=async()=>{const i=await fetch(`/api/${t}/notice`,{credentials:"include"});return i.ok?(await i.json()).notice??null:null},e[2]=t,e[3]=r):r=e[3];const s=!!t;let a;return e[4]!==o||e[5]!==r||e[6]!==s?(a={queryKey:o,queryFn:r,enabled:s,staleTime:6e4},e[4]=o,e[5]=r,e[6]=s,e[7]=a):a=e[7],Fe(a)}const bo="/settings/infra-billing";function xo(t){return(t.endsWith("/")?t.slice(0,-1):t).endsWith(bo)}function wo(t){const e=R.c(7),{org:o,children:r}=t;let s;e[0]!==o.id||e[1]!==o.name?(s={id:o.id,organizationId:o.id,slug:"_org",name:o.name,ui:null},e[0]=o.id,e[1]=o.name,e[2]=s):s=e[2];const a=s;let i;return e[3]!==r||e[4]!==o||e[5]!==a?(i=n.jsx(yn,{org:o,project:a,children:r}),e[3]=r,e[4]=o,e[5]=a,e[6]=i):i=e[6],i}function So(){const t=At(),e=Jn(),{org:o}=ct(),r=dn({strict:!1}),s=$t(),{openPanel:a,closePanel:i}=On(),c=Yn(),m=Qn(),h=Xn(),S=Zn(),u=(f,d=!0)=>t({to:".",search:f,replace:d}),p=()=>u(f=>({...f,sidepanel:!0})),l=(f,d,w)=>{const y=!!m&&m===f;m&&!y&&mo(m,{tab:s,mainpanel:r.mainpanel,sidepanel:r.sidepanel});const x=y?null:fo(f),v=Et(o.id).id,b=lo({prev:{virtualmcpid:c,tabId:s,mainpanel:r.mainpanel,sidepanel:r.sidepanel},virtualMcpId:d,decopilotId:v,savedLayout:x,opts:w,autosendValue:Wn});return S(f,()=>b.search,{virtualMcpId:d,view:{tabId:b.tabId}})};return{openSidePanel:p,setTaskId:l,createNewTask:async(f,d,w)=>{const y=crypto.randomUUID(),x=f??h;try{await e?.create({id:y,virtual_mcp_id:x,...d?{branch:d}:{}})}catch{}l(y,x,{...w,newThread:!0})},openTab:a,closeTab:i}}const vo=new Set(["/$org/","/$org/home"]);function jo(){const t=R.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:ko},t[0]=e):e=t[0],Ot(e)}function ko(t){const e=t.matches.at(-1)?.fullPath;return e!==void 0&&vo.has(e)}function To(){const t=R.c(53);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org",shouldThrow:!1},t[0]=e):e=t[0];const r=un(e)?.params.org,[s,a]=Q.useState(!1),[i,c]=Gs(),[m,h]=Kn(),S=mn(),u=jo(),p=r??"";let l;t[1]!==p?(l=Ht(p),t[1]=p,t[2]=l):l=t[2];const g=!!r&&u;let f;t[3]!==l||t[4]!==g?(f={...l,enabled:g},t[3]=l,t[4]=g,t[5]=f):f=t[5],Fe(f);const{data:d}=Ue.useSession(),w=d?.user?.id;let y,x;t[6]!==S?(y=()=>{const L=K=>{if(gt(K)&&K.code==="KeyK"){K.preventDefault(),Hs();return}if(K.key==="?"&&!pn(K.target)){K.preventDefault(),a(!0);return}gt(K)&&K.code==="BracketLeft"&&S.history.canGoBack()&&(K.preventDefault(),S.history.back())};return document.addEventListener("keydown",L),()=>document.removeEventListener("keydown",L)},x=[S],t[6]=S,t[7]=y,t[8]=x):(y=t[7],x=t[8]),Q.useEffect(y,x);let v;t[9]!==r||t[10]!==w?(v=fn(r,w),t[9]=r,t[10]=w,t[11]=v):v=t[11];const{data:b}=kt(v),T=b?.id,j=b?.slug,{data:k}=es(T,j),_=!!k?.ssoRequired&&!k.authenticated,{data:N}=yo(j);let P;t[12]===Symbol.for("react.memo_cache_sentinel")?(P={select:No},t[12]=P):P=t[12];const C=Ot(P),I=N?.severity==="block"&&!xo(C),O=T??"",D=j??"";let A;t[13]!==D||t[14]!==O?(A=Mn({connectionId:Ct,orgId:O,orgSlug:D}),t[13]=D,t[14]=O,t[15]=A):A=t[15];const q=!!T&&!!j;let F;if(t[16]!==A||t[17]!==q?(F={...A,enabled:q},t[16]=A,t[17]=q,t[18]=F):F=t[18],Fe(F),(!b||ht(b)||_||I)&&Us(),!b){let L;return t[19]!==r?(L=n.jsx(us,{orgSlug:r}),t[19]=r,t[20]=L):L=t[20],L}if(ht(b)){localStorage.getItem(Ge.lastOrgSlug())===r&&localStorage.removeItem(Ge.lastOrgSlug());let L;return t[21]!==b.name?(L=n.jsx(hn,{orgName:b.name}),t[21]=b.name,t[22]=L):L=t[22],L}if(I&&N){let L;return t[23]!==b.slug||t[24]!==N?(L=n.jsx(po,{notice:N,orgSlug:b.slug}),t[23]=b.slug,t[24]=N,t[25]=L):L=t[25],L}if(_){let L;return t[26]!==b.id||t[27]!==b.name||t[28]!==b.slug||t[29]!==k.domain?(L=n.jsx(ho,{orgId:b.id,orgSlug:b.slug,orgName:b.name,domain:k.domain}),t[26]=b.id,t[27]=b.name,t[28]=b.slug,t[29]=k.domain,t[30]=L):L=t[30],L}const B=b.logo??null;let M;t[31]!==b||t[32]!==B?(M={...b,logo:B},t[31]=b,t[32]=B,t[33]=M):M=t[33];let J;t[34]!==b?(J=n.jsx(ro,{activeOrg:b}),t[34]=b,t[35]=J):J=t[35];let $;t[36]===Symbol.for("react.memo_cache_sentinel")?($=n.jsx(gn,{}),t[36]=$):$=t[36];let V;t[37]===Symbol.for("react.memo_cache_sentinel")?(V=n.jsxs("div",{className:"fixed bottom-6 right-6 z-50 flex w-[min(360px,calc(100vw-3rem))] flex-col gap-3",children:[n.jsx($s,{}),n.jsx(Qs,{})]}),t[37]=V):V=t[37];let W;t[38]!==i||t[39]!==c?(W=i&&n.jsx(Bs,{open:i,onOpenChange:c}),t[38]=i,t[39]=c,t[40]=W):W=t[40];let H;t[41]!==m||t[42]!==h?(H=m&&n.jsx(Hn,{open:!0,onOpenChange:h,source:Un()}),t[41]=m,t[42]=h,t[43]=H):H=t[43];let U;t[44]!==s?(U=n.jsx(Ds,{open:s,onOpenChange:a}),t[44]=s,t[45]=U):U=t[45];let Z;t[46]===Symbol.for("react.memo_cache_sentinel")?(Z=n.jsx(no,{}),t[46]=Z):Z=t[46];let Y;return t[47]!==M||t[48]!==J||t[49]!==W||t[50]!==H||t[51]!==U?(Y=n.jsxs(wo,{org:M,children:[J,$,V,W,H,U,Z]}),t[47]=M,t[48]=J,t[49]=W,t[50]=H,t[51]=U,t[52]=Y):Y=t[52],Y}function No(t){return t.location.pathname}function _o(){const t=R.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=n.jsx(Vn,{children:n.jsx(To,{})}),t[0]=e):e=t[0],e}const ti=Object.freeze(Object.defineProperty({__proto__:null,default:_o,usePanelActions:So},Symbol.toStringTag,{value:"Module"}));export{ms as L,So as a,vs as b,ei as c,ti as d,Zo as f,zt as i,Hs as o,Qo as r,Xo as s,yo as u};
|
|
1
|
+
import{c as R,b as G,e as tt,j as n,B as z,t as Ke,o as st,cV as ae,ag as jt,a as Ue,J as Ut,U as kt,K as Je,cW as Gt,cX as Jt,az as Ge,l as ut,be as Vt,z as mt,r as Q,ae as Wt,af as te,cY as Yt,w as Tt,x as Nt,v as _t,D as Pt,d as At,a4 as ct,R as Ct,m as Fe,C as at,aX as Et,cZ as Qt,b1 as Xt,b8 as ft,H as Zt,c_ as en,aY as tn,y as nn,c$ as sn,d0 as on,d1 as an,d2 as rn,d3 as ln,a5 as cn,u as dn,a6 as un,d4 as mn,d5 as fn,k as Ot,d6 as ht,d7 as hn,O as gn,b3 as gt,d8 as pn,a0 as yn}from"./index-D6lKvaoF.js";import{t as It}from"./Building02-GTlj-q2W.js";import{i as bn,s as ee}from"./UserSquare-Dy6q7vGw.js";import{ay as xn,U as wn,I as it,a8 as Sn,K as vn,az as jn,n as pt,g as kn,p as Tn,k as Nn,aA as _n,l as Pn}from"./agent-icon-D8I51g86.js";import{s as An}from"./XClose-Bl8OQypT.js";import{a as Cn,u as En}from"./use-project-scope-DQZacSdf.js";import{u as $t,a as On}from"./use-panel-navigate-BECpOul-.js";import{i as se}from"./CheckCircle-C512y-MG.js";import{i as yt}from"./Monitor01-DkBo0gFa.js";import{i as qe}from"./ZoomOut-CbRHTtaG.js";import{u as In}from"./use-clock-tick-N15XxKsH.js";import{s as bt}from"./Plus-CZXpdtEH.js";import{a as $n}from"./Tool01-D6wuoLhW.js";import{b as ne,a as Be,f as Ln,e as Dn,c as Rn,C as zn}from"./command-yWHdaNhz.js";import{I as qn}from"./integration-icon-DsUtWvNG.js";import{P as Fn}from"./project-icon-DSVUD72l.js";import{a as Bn,m as Mn}from"./use-mcp-client-DwqRqgyq.js";import{u as Kn,a as Hn,n as Un}from"./new-project-dialog-CMq12kc2.js";import{S as Gn,u as Jn}from"./thread-intent-B7fQ4X9a.js";import{R as Vn}from"./required-auth-layout-D6rVgMVl.js";import{A as Wn}from"./autosend-CBkC989z.js";import{u as Yn,a as Qn,b as Xn,c as Zn}from"./thread-route-qfZwEURL.js";import{u as es}from"./use-org-sso-C-qEDq8K.js";function ts(t){const e=R.c(49),{orgName:o,orgSlug:r,orgLogo:s,domain:a}=t,i=G();let c;e[0]!==r||e[1]!==i?(c=async()=>{const P=await fetch("/api/auth/custom/domain-join",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({organizationSlug:r})}),C=await P.json();if(!P.ok||!C.success)throw new Error(C.error??i("common.autoDomainJoinScreen.joinError"));return C},e[0]=r,e[1]=i,e[2]=c):c=e[2];let m;e[3]!==r?(m=P=>{window.location.href=`/${P.slug??r}`},e[3]=r,e[4]=m):m=e[4];let h;e[5]!==i?(h=P=>{Ke.error(P instanceof Error?P.message:i("common.autoDomainJoinScreen.joinError"))},e[5]=i,e[6]=h):h=e[6];let S;e[7]!==c||e[8]!==m||e[9]!==h?(S={mutationFn:c,onSuccess:m,onError:h},e[7]=c,e[8]=m,e[9]=h,e[10]=S):S=e[10];const u=tt(S),p=ns;let l;e[11]!==s||e[12]!==o?(l=s?n.jsx(st,{url:s,fallback:o,shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(It,{className:"h-6 w-6 text-primary"})}),e[11]=s,e[12]=o,e[13]=l):l=e[13];let g;e[14]!==o||e[15]!==i?(g=i("common.autoDomainJoinScreen.joinPrompt",{orgName:o}),e[14]=o,e[15]=i,e[16]=g):g=e[16];let f;e[17]!==g?(f=n.jsx("h3",{className:"text-lg font-medium",children:g}),e[17]=g,e[18]=f):f=e[18];let d;e[19]!==a||e[20]!==i?(d=i("common.autoDomainJoinScreen.joinDescription",{domain:a}),e[19]=a,e[20]=i,e[21]=d):d=e[21];let w;e[22]!==d?(w=n.jsx("p",{className:"text-sm text-muted-foreground",children:d}),e[22]=d,e[23]=w):w=e[23];let y;e[24]!==f||e[25]!==w?(y=n.jsxs("div",{className:"space-y-2",children:[f,w]}),e[24]=f,e[25]=w,e[26]=y):y=e[26];let x;e[27]!==u?(x=()=>u.mutate(),e[27]=u,e[28]=x):x=e[28];let v;e[29]!==u.isPending||e[30]!==o||e[31]!==i?(v=u.isPending?i("common.autoDomainJoinScreen.joining"):i("common.autoDomainJoinScreen.enterOrg",{orgName:o}),e[29]=u.isPending,e[30]=o,e[31]=i,e[32]=v):v=e[32];let b;e[33]!==u.isPending||e[34]!==x||e[35]!==v?(b=n.jsx(z,{onClick:x,disabled:u.isPending,children:v}),e[33]=u.isPending,e[34]=x,e[35]=v,e[36]=b):b=e[36];const T=u.isPending;let j;e[37]!==i?(j=i("common.goHome"),e[37]=i,e[38]=j):j=e[38];let k;e[39]!==u.isPending||e[40]!==j?(k=n.jsx(z,{variant:"ghost",onClick:p,disabled:T,children:j}),e[39]=u.isPending,e[40]=j,e[41]=k):k=e[41];let _;e[42]!==b||e[43]!==k?(_=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[b,k]}),e[42]=b,e[43]=k,e[44]=_):_=e[44];let N;return e[45]!==y||e[46]!==_||e[47]!==l?(N=n.jsxs(ae,{children:[l,y,_]}),e[45]=y,e[46]=_,e[47]=l,e[48]=N):N=e[48],N}function ns(){window.location.href="/"}function xt(t){const e=R.c(25),{orgSlug:o,orgName:r,reason:s}=t,a=G(),i=ss,c=s==="not-found",m=c?bn:jt;let h;e[0]!==c||e[1]!==a?(h=a(c?"common.noAccessScreen.organizationNotFound":"common.noAccessScreen.noAccess"),e[0]=c,e[1]=a,e[2]=h):h=e[2];const S=h;let u;e[3]!==c||e[4]!==r||e[5]!==o||e[6]!==a?(u=c?n.jsxs(n.Fragment,{children:[a("common.noAccessScreen.couldNotFind")," ",n.jsx("strong",{children:o}),"."]}):n.jsxs(n.Fragment,{children:[a("common.noAccessScreen.noAccessTo")," ",n.jsx("strong",{children:r??o}),".",n.jsx("br",{}),a("common.noAccessScreen.askAdminToInvite")]}),e[3]=c,e[4]=r,e[5]=o,e[6]=a,e[7]=u):u=e[7];const p=u;let l;e[8]!==m?(l=n.jsx("div",{className:"bg-muted p-3 rounded-full",children:n.jsx(m,{className:"h-6 w-6 text-muted-foreground"})}),e[8]=m,e[9]=l):l=e[9];let g;e[10]!==S?(g=n.jsx("h3",{className:"text-lg font-medium",children:S}),e[10]=S,e[11]=g):g=e[11];let f;e[12]!==p?(f=n.jsx("p",{className:"text-sm text-muted-foreground",children:p}),e[12]=p,e[13]=f):f=e[13];let d;e[14]!==g||e[15]!==f?(d=n.jsxs("div",{className:"space-y-2",children:[g,f]}),e[14]=g,e[15]=f,e[16]=d):d=e[16];let w;e[17]!==a?(w=a("common.goHome"),e[17]=a,e[18]=w):w=e[18];let y;e[19]!==w?(y=n.jsx(z,{onClick:i,children:w}),e[19]=w,e[20]=y):y=e[20];let x;return e[21]!==l||e[22]!==d||e[23]!==y?(x=n.jsxs(ae,{children:[l,d,y]}),e[21]=l,e[22]=d,e[23]=y,e[24]=x):x=e[24],x}function ss(){window.location.href="/"}function os(t){const e=R.c(59),{invitationId:o,orgName:r,orgSlug:s,orgLogo:a}=t,i=G();let c;e[0]!==o?(c=async()=>{const A=await Ue.organization.acceptInvitation({invitationId:o});if(A.error)throw new Error(A.error.message);return A.data},e[0]=o,e[1]=c):c=e[1];let m;e[2]!==s?(m=()=>{Ut(),window.location.href=`/${s}`},e[2]=s,e[3]=m):m=e[3];let h;e[4]!==i?(h=A=>{Ke.error(A instanceof Error?A.message:i("common.pendingInviteScreen.failedToAccept"))},e[4]=i,e[5]=h):h=e[5];let S;e[6]!==c||e[7]!==m||e[8]!==h?(S={mutationFn:c,onSuccess:m,onError:h},e[6]=c,e[7]=m,e[8]=h,e[9]=S):S=e[9];const u=tt(S);let p;e[10]!==o?(p=async()=>{const A=await Ue.organization.rejectInvitation({invitationId:o});if(A.error)throw new Error(A.error.message);return A.data},e[10]=o,e[11]=p):p=e[11];let l,g;e[12]!==i?(l=()=>{Ke.success(i("common.pendingInviteScreen.invitationDeclined")),window.location.href="/"},g=A=>{Ke.error(A instanceof Error?A.message:i("common.pendingInviteScreen.failedToDecline"))},e[12]=i,e[13]=l,e[14]=g):(l=e[13],g=e[14]);let f;e[15]!==p||e[16]!==l||e[17]!==g?(f={mutationFn:p,onSuccess:l,onError:g},e[15]=p,e[16]=l,e[17]=g,e[18]=f):f=e[18];const d=tt(f),w=u.isPending||d.isPending;let y;e[19]!==a||e[20]!==r?(y=a?n.jsx(st,{url:a,fallback:r,shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(xn,{className:"h-6 w-6 text-primary"})}),e[19]=a,e[20]=r,e[21]=y):y=e[21];let x;e[22]!==r||e[23]!==i?(x=i("common.pendingInviteScreen.invitedTo",{orgName:r}),e[22]=r,e[23]=i,e[24]=x):x=e[24];let v;e[25]!==x?(v=n.jsx("h3",{className:"text-lg font-medium",children:x}),e[25]=x,e[26]=v):v=e[26];let b;e[27]!==i?(b=i("common.pendingInviteScreen.acceptDescription"),e[27]=i,e[28]=b):b=e[28];let T;e[29]!==b?(T=n.jsx("p",{className:"text-sm text-muted-foreground",children:b}),e[29]=b,e[30]=T):T=e[30];let j;e[31]!==v||e[32]!==T?(j=n.jsxs("div",{className:"space-y-2",children:[v,T]}),e[31]=v,e[32]=T,e[33]=j):j=e[33];let k;e[34]!==u?(k=()=>u.mutate(),e[34]=u,e[35]=k):k=e[35];let _;e[36]!==u.isPending||e[37]!==i?(_=u.isPending?i("common.pendingInviteScreen.acceptingButton"):i("common.pendingInviteScreen.acceptButton"),e[36]=u.isPending,e[37]=i,e[38]=_):_=e[38];let N;e[39]!==w||e[40]!==k||e[41]!==_?(N=n.jsx(z,{onClick:k,disabled:w,children:_}),e[39]=w,e[40]=k,e[41]=_,e[42]=N):N=e[42];let P;e[43]!==d?(P=()=>d.mutate(),e[43]=d,e[44]=P):P=e[44];let C;e[45]!==d.isPending||e[46]!==i?(C=d.isPending?i("common.pendingInviteScreen.decliningButton"):i("common.pendingInviteScreen.declineButton"),e[45]=d.isPending,e[46]=i,e[47]=C):C=e[47];let I;e[48]!==w||e[49]!==P||e[50]!==C?(I=n.jsx(z,{variant:"ghost",onClick:P,disabled:w,children:C}),e[48]=w,e[49]=P,e[50]=C,e[51]=I):I=e[51];let O;e[52]!==N||e[53]!==I?(O=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[N,I]}),e[52]=N,e[53]=I,e[54]=O):O=e[54];let D;return e[55]!==j||e[56]!==O||e[57]!==y?(D=n.jsxs(ae,{children:[y,j,O]}),e[55]=j,e[56]=O,e[57]=y,e[58]=D):D=e[58],D}function is(t){const e=R.c(23),{orgName:o,orgLogo:r}=t,s=G();let a;e[0]!==r||e[1]!==o?(a=r?n.jsx(st,{url:r,fallback:o,shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full","aria-hidden":"true",children:n.jsx(wn,{className:"h-6 w-6 text-primary"})}),e[0]=r,e[1]=o,e[2]=a):a=e[2];let i;e[3]!==s?(i=s("common.requestPendingScreen.title"),e[3]=s,e[4]=i):i=e[4];let c;e[5]!==i?(c=n.jsx("h3",{className:"text-lg font-medium",children:i}),e[5]=i,e[6]=c):c=e[6];let m;e[7]!==o||e[8]!==s?(m=s("common.requestPendingScreen.description",{orgName:o}),e[7]=o,e[8]=s,e[9]=m):m=e[9];let h;e[10]!==m?(h=n.jsx("p",{className:"text-sm text-muted-foreground",children:m}),e[10]=m,e[11]=h):h=e[11];let S;e[12]!==c||e[13]!==h?(S=n.jsxs("div",{className:"space-y-2",children:[c,h]}),e[12]=c,e[13]=h,e[14]=S):S=e[14];let u;e[15]!==s?(u=s("common.goHome"),e[15]=s,e[16]=u):u=e[16];let p;e[17]!==u?(p=n.jsx(z,{variant:"ghost",onClick:as,children:u}),e[17]=u,e[18]=p):p=e[18];let l;return e[19]!==a||e[20]!==S||e[21]!==p?(l=n.jsxs(ae,{children:[a,S,p]}),e[19]=a,e[20]=S,e[21]=p,e[22]=l):l=e[22],l}function as(){window.location.href="/"}function rs(t){const e=R.c(45),{orgName:o,orgSlug:r,orgLogo:s,domain:a}=t,i=G();let c;e[0]!==r?(c=async()=>{const N=await fetch("/api/auth/custom/domain-request-join",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({organizationSlug:r})}),P=await N.json();if(!N.ok||!P.success)throw new Error(P.error??"Failed to request access");return P},e[0]=r,e[1]=c):c=e[1];let m;e[2]===Symbol.for("react.memo_cache_sentinel")?(m=cs,e[2]=m):m=e[2];let h;e[3]!==i?(h=N=>{Ke.error(N instanceof Error?N.message:i("common.requestToJoinScreen.failedToRequest"))},e[3]=i,e[4]=h):h=e[4];let S;e[5]!==c||e[6]!==h?(S={mutationFn:c,onSuccess:m,onError:h},e[5]=c,e[6]=h,e[7]=S):S=e[7];const u=tt(S);let p;e[8]!==s||e[9]!==o?(p=s?n.jsx(st,{url:s,fallback:o,shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(It,{className:"h-6 w-6 text-primary"})}),e[8]=s,e[9]=o,e[10]=p):p=e[10];let l;e[11]!==o||e[12]!==i?(l=i("common.requestToJoinScreen.title",{orgName:o}),e[11]=o,e[12]=i,e[13]=l):l=e[13];let g;e[14]!==l?(g=n.jsx("h3",{className:"text-lg font-medium",children:l}),e[14]=l,e[15]=g):g=e[15];let f;e[16]!==a||e[17]!==i?(f=i("common.requestToJoinScreen.description",{domain:a}),e[16]=a,e[17]=i,e[18]=f):f=e[18];let d;e[19]!==f?(d=n.jsx("p",{className:"text-sm text-muted-foreground",children:f}),e[19]=f,e[20]=d):d=e[20];let w;e[21]!==g||e[22]!==d?(w=n.jsxs("div",{className:"space-y-2",children:[g,d]}),e[21]=g,e[22]=d,e[23]=w):w=e[23];let y;e[24]!==u?(y=()=>u.mutate(),e[24]=u,e[25]=y):y=e[25];let x;e[26]!==u.isPending||e[27]!==i?(x=u.isPending?i("common.requestToJoinScreen.requesting"):i("common.requestToJoinScreen.requestButton"),e[26]=u.isPending,e[27]=i,e[28]=x):x=e[28];let v;e[29]!==u.isPending||e[30]!==y||e[31]!==x?(v=n.jsx(z,{onClick:y,disabled:u.isPending,children:x}),e[29]=u.isPending,e[30]=y,e[31]=x,e[32]=v):v=e[32];const b=u.isPending;let T;e[33]!==i?(T=i("common.goHome"),e[33]=i,e[34]=T):T=e[34];let j;e[35]!==u.isPending||e[36]!==T?(j=n.jsx(z,{variant:"ghost",onClick:ls,disabled:b,children:T}),e[35]=u.isPending,e[36]=T,e[37]=j):j=e[37];let k;e[38]!==v||e[39]!==j?(k=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[v,j]}),e[38]=v,e[39]=j,e[40]=k):k=e[40];let _;return e[41]!==w||e[42]!==k||e[43]!==p?(_=n.jsxs(ae,{children:[p,w,k]}),e[41]=w,e[42]=k,e[43]=p,e[44]=_):_=e[44],_}function ls(){window.location.href="/"}function cs(t){if(t.alreadyMember&&t.slug){window.location.href=`/${t.slug}`;return}window.location.reload()}function ds(t){const e=R.c(7);let o;e[0]!==t?(o=Je.orgAccessStatus(t),e[0]=t,e[1]=o):o=e[1];let r;e[2]!==t?(r=async()=>{const a=await fetch(`/api/auth/custom/org-access-status/${encodeURIComponent(t)}`,{credentials:"include"});if(!a.ok)throw new Error(`org-access-status failed (${a.status})`);return await a.json()},e[2]=t,e[3]=r):r=e[3];let s;return e[4]!==o||e[5]!==r?(s={queryKey:o,queryFn:r,refetchOnWindowFocus:!1},e[4]=o,e[5]=r,e[6]=s):s=e[6],kt(s)}function us({orgSlug:t}){const{data:e}=ds(t);if(e.status!=="member"){Gt()?.org===t&&Jt();const o=localStorage.getItem(Ge.lastOrgSlug())===t;if(o&&localStorage.removeItem(Ge.lastOrgSlug()),o&&(e.status==="not-found"||e.status==="no-access"))return window.location.href="/",null}return e.status==="not-found"?n.jsx(xt,{orgSlug:t,reason:"not-found"}):e.status==="pending-invite"?n.jsx(os,{invitationId:e.invitation.id,orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo}):e.status==="auto-domain-join"?n.jsx(ts,{orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo,domain:e.organization.domain??""}):e.status==="can-request"?n.jsx(rs,{orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo,domain:e.organization.domain??""}):e.status==="request-pending"?n.jsx(is,{orgName:e.organization.name,orgLogo:e.organization.logo}):e.status==="member"?(window.location.reload(),null):n.jsx(xt,{orgSlug:t,orgName:e.organization.name,reason:"no-access"})}function Lt(t){const e=R.c(42),{ariaLabel:o,dismissLabel:r,eyebrow:s,title:a,description:i,icon:c,children:m,footerLeading:h,actions:S,onDismiss:u,tone:p}=t,l=p===void 0?"neutral":p,g=h||S;let f;e[0]!==l?(f=l==="system"&&n.jsx("div",{className:"h-0.5 bg-special"}),e[0]=l,e[1]=f):f=e[1];let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=n.jsx(An,{size:14}),e[2]=d):d=e[2];let w;e[3]!==r||e[4]!==u?(w=n.jsx(z,{size:"icon-sm",variant:"ghost","aria-label":r,className:"absolute right-2 top-2 z-10 text-muted-foreground",onClick:u,children:d}),e[3]=r,e[4]=u,e[5]=w):w=e[5];const y=c&&"flex items-start gap-3",x=m&&"pb-3";let v;e[6]!==y||e[7]!==x?(v=ut("p-4 pr-11",y,x),e[6]=y,e[7]=x,e[8]=v):v=e[8];let b;e[9]!==c?(b=c&&n.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-special/10 text-special",children:c}),e[9]=c,e[10]=b):b=e[10];let T;e[11]!==s?(T=s&&n.jsx("p",{className:"text-xs text-muted-foreground",children:s}),e[11]=s,e[12]=T):T=e[12];let j;e[13]!==a?(j=n.jsx("h3",{className:"text-base font-semibold text-foreground",children:a}),e[13]=a,e[14]=j):j=e[14];let k;e[15]!==i?(k=i&&n.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:i}),e[15]=i,e[16]=k):k=e[16];let _;e[17]!==j||e[18]!==k||e[19]!==T?(_=n.jsxs("div",{children:[T,j,k]}),e[17]=j,e[18]=k,e[19]=T,e[20]=_):_=e[20];let N;e[21]!==m?(N=m&&n.jsx("div",{className:"mt-3",children:m}),e[21]=m,e[22]=N):N=e[22];let P;e[23]!==_||e[24]!==N?(P=n.jsxs("div",{className:"min-w-0 flex-1",children:[_,N]}),e[23]=_,e[24]=N,e[25]=P):P=e[25];let C;e[26]!==P||e[27]!==v||e[28]!==b?(C=n.jsxs("div",{className:v,children:[b,P]}),e[26]=P,e[27]=v,e[28]=b,e[29]=C):C=e[29];let I;e[30]!==S||e[31]!==h||e[32]!==g||e[33]!==l?(I=g&&n.jsxs("div",{className:ut("flex items-center justify-between gap-3 px-4 py-2.5",l==="system"?"border-t border-border bg-muted/50":"pt-0"),children:[n.jsx("div",{className:"min-w-0 text-xs text-muted-foreground",children:h}),n.jsx("div",{className:"flex shrink-0 items-center gap-2",children:S})]}),e[30]=S,e[31]=h,e[32]=g,e[33]=l,e[34]=I):I=e[34];let O;return e[35]!==o||e[36]!==C||e[37]!==I||e[38]!==f||e[39]!==w||e[40]!==l?(O=n.jsxs("div",{role:"dialog","aria-label":o,"data-slot":"announcement-card","data-tone":l,className:"relative w-full overflow-hidden rounded-lg bg-popover shadow-soft animate-in fade-in slide-in-from-bottom-2 duration-300",children:[f,w,C,I]}),e[35]=o,e[36]=C,e[37]=I,e[38]=f,e[39]=w,e[40]=l,e[41]=O):O=e[41],O}const ms={switcher:"tour-layout-switcher",nav:"tour-layout-nav",tasks:"tour-layout-tasks",projects:"tour-layout-projects",account:"tour-layout-account",recentActivity:"tour-layout-recent-activity",siteEditor:"tour-layout-site-editor",surfaceTabs:"tour-layout-surface-tabs",branchPicker:"tour-layout-branch-picker",automations:"tour-layout-automations",settings:"tour-layout-settings"};function Dt(t){return`[data-tour="${ms[t]}"]`}const fs=[{scope:"shell",anchor:"switcher",titleKey:"layoutTour.switcher.title",descKey:"layoutTour.switcher.description",side:"right"},{scope:"shell",anchor:"nav",titleKey:"layoutTour.nav.title",descKey:"layoutTour.nav.description",side:"right"},{scope:"shell",anchor:"tasks",titleKey:"layoutTour.tasks.title",descKey:"layoutTour.tasks.description",side:"right"},{scope:"project",anchor:"siteEditor",titleKey:"layoutTour.siteEditor.title",descKey:"layoutTour.siteEditor.description",side:"right"},{scope:"project",anchor:"automations",titleKey:"layoutTour.automations.title",descKey:"layoutTour.automations.description",side:"right"},{scope:"shell",anchor:"settings",titleKey:"layoutTour.settings.title",descKey:"layoutTour.settings.description",side:"right"},{scope:"shell",anchor:"projects",titleKey:"layoutTour.projects.title",descKey:"layoutTour.projects.description",side:"right"},{scope:"shell",anchor:"account",titleKey:"layoutTour.account.title",descKey:"layoutTour.account.description",side:"right"},{scope:"siteEditor",anchor:"surfaceTabs",titleKey:"layoutTour.surfaceTabs.title",descKey:"layoutTour.surfaceTabs.description",side:"bottom"},{scope:"siteEditor",anchor:"branchPicker",titleKey:"layoutTour.branchPicker.title",descKey:"layoutTour.branchPicker.description",side:"bottom"},{scope:"orgHome",anchor:"recentActivity",titleKey:"layoutTour.recentActivity.title",descKey:"layoutTour.recentActivity.description",side:"top"}];function hs(t){return fs.filter(e=>e.scope==="shell"||e.scope==="orgHome"&&t.onOrgHome||e.scope==="project"&&t.inProject||e.scope==="siteEditor"&&t.onSiteEditor)}function gs(t,e){return hs(e).map(o=>({element:Dt(o.anchor),popover:{title:t(o.titleKey),description:t(o.descKey),side:o.side,align:"center"}}))}const ps=Dt("switcher"),ys=30;function Rt(t){const e=document.querySelector(t);return e instanceof HTMLElement&&e.offsetParent!==null}function bs(t,e){return gs(t,e).filter(o=>typeof o.element=="string"&&Rt(o.element))}function xs(t,e){return{showProgress:!0,progressText:t("layoutTour.progress"),nextBtnText:t("layoutTour.next"),prevBtnText:t("layoutTour.prev"),doneBtnText:t("layoutTour.done"),showButtons:["next","previous"],smoothScroll:!0,allowClose:!0,disableActiveInteraction:!0,stagePadding:6,stageRadius:8,waitForElement:0,skipMissingElement:!0,popoverClass:"layout-tour-popover",onPopoverRender:(o,{driver:r})=>{if(o.footerButtons.querySelector(".layout-tour-skip"))return;const s=document.createElement("button");s.type="button",s.className="driver-popover-footer-btn layout-tour-skip",s.textContent=t("layoutTour.skip"),s.addEventListener("click",()=>r.destroy()),o.footerButtons.insertBefore(s,o.footerButtons.firstChild)},onDestroyed:()=>{Me=!1},steps:e}}let Me=!1;async function ws(){return(await Vt(()=>import("./driver.js-Dj4CfABu.js"),[])).driver}function Ss(t,e){if(Me)return;Me=!0;let o=0;const r=()=>{if(!Rt(ps)&&o++<ys){requestAnimationFrame(r);return}const s=bs(t,e);if(s.length===0){Me=!1;return}ws().then(a=>{a(xs(t,s)).drive()}).catch(()=>{Me=!1})};r()}function vs(t){return t!=="off"}function Qo(t){if(!t.hasSource)return[];const e=["site-editor"];return vs(t.cmsMode)&&e.push("content"),t.runtime==="sandbox"&&e.push("code"),e}function zt(t){return t==="site-editor"||t==="content"||t==="code"||t.startsWith("code:")}function Xo(t){return t.reportsOnly&&!t.onReportAgent&&zt(t.tabId)}const qt=[{id:"new-layout",date:"2026-09-22",eyebrow:"Now Available",title:"New Layout",bullets:[{icon:yt,title:"Unified page headers",body:"Every page now has a clear header with navigation breadcrumbs and actions, making it easy to orient yourself and move around."},{icon:it,title:"Consistent navigation and controls",body:"Settings and project pages use a predictable sidebar instead of scattered tabs. Buttons, inputs and toolbars share one shape and one height, and the layout adapts to smaller screens."},{icon:Sn,title:"Site editor redesigned",body:"Try the redesigned blocks editor from Profile & Preferences. Blocks share consistent actions, variants appear beside their block in the header, and section selection is searchable."}],cta:{label:"Take a tour",action:"start-tour"}},{id:"unified-workspace-layout",date:"2026-09-01",eyebrow:"Now Available",title:"A new way around Studio",bullets:[{icon:mt,title:"Unified org switcher",body:"Organizations and agents now share one control at the top of the sidebar. Search it to jump straight to any agent, including ones in your other organizations."},{icon:ee,title:"Your org at a glance",body:"The organization home now opens on the agents your team built and the tasks they are running — no empty board to fill in first."},{icon:yt,title:"Simplified CMS",body:"The CMS opens over the page you are previewing rather than somewhere else, so changing a section never costs you your place."}],cta:{label:"Take the tour",action:"start-tour"}},{id:"codex-gpt-5-6-defaults",date:"2026-07-13",eyebrow:"Now Available",title:"Codex defaults move to GPT-5.6",bullets:[{icon:ee,title:"Sol leads Thinking",body:"Codex Thinking now defaults to `gpt-5.6-sol` for deeper coding and reasoning work."},{icon:se,title:"Terra balances Smart",body:"The Smart tier now uses `gpt-5.6-terra`, replacing GPT-5.4 as the default balanced Codex model."},{icon:qe,title:"Luna speeds up Fast",body:"The Fast tier and lightweight Codex title generation now use `gpt-5.6-luna`. Existing threads that reference older GPT-5.4 or GPT-5.5 model IDs remain supported."}]},{id:"claude-sonnet-5",date:"2026-06-30",eyebrow:"Now Available",title:"Claude Sonnet 5 powers the Smart tier",bullets:[{icon:ee,title:"More agentic coding",body:"Sonnet 5 is Anthropic's strongest Sonnet model yet, with improved reasoning, tool use, coding, and knowledge work compared with Sonnet 4.6."},{icon:se,title:"Available in Claude Code",body:"The Claude Code harness now pins the Smart tier to the new `claude-sonnet-5` model id so new sessions use Sonnet 5 by default."},{icon:qe,title:"Nothing to change",body:"Existing Smart-tier chats and agents pick up Sonnet 5 automatically. Thinking remains on Opus 4.8 1M."}],learnMoreHref:"https://www.anthropic.com/news/claude-sonnet-5"},{id:"fable-5-suspension",date:"2026-06-13",eyebrow:"Important Update",title:"Fable 5 & Mythos 5 suspended — Opus 4.8 takes over",bullets:[{icon:se,title:"US government directive",body:"Anthropic received an export control directive requiring the suspension of Fable 5 and Mythos 5 access for all users, citing national security concerns. Anthropic is complying while it works to resolve the matter."},{icon:ee,title:"Opus 4.8 steps in as the Thinking tier",body:"The Thinking tier now runs on Claude Opus 4.8, which remains fully operational. Performance on most tasks is comparable, and Anthropic reports more than 95% of sessions were unaffected by the Fable 5 classifiers anyway."},{icon:qe,title:"Nothing to change",body:"The switch is automatic — any chat or agent already using the Thinking tier is now served by Opus 4.8. Anthropic will share further details within 24 hours."}],learnMoreHref:"https://www.anthropic.com/news/fable-mythos-access"},{id:"claude-fable-5",date:"2026-06-09",eyebrow:"Now Available",title:"Claude Fable 5 leads the Thinking tier",bullets:[{icon:ee,title:"State-of-the-art reasoning",body:"Fable 5 takes the Thinking tier, posting top scores across software engineering, knowledge work, and vision — and outperforming Opus 4.8 on nearly every benchmark Anthropic tested."},{icon:se,title:"Safety without the slowdown",body:"New classifiers route the small slice of high-risk requests (cybersecurity, bio/chem) back to Opus 4.8. Anthropic reports more than 95% of sessions never trigger a fallback."},{icon:qe,title:"Nothing to change",body:"Chats and agents pick up Fable 5 automatically wherever the Thinking tier is selected. Opus 4.8 stays available as the safety fallback."}],learnMoreHref:"https://www.anthropic.com/news/claude-fable-5-mythos-5"},{id:"claude-opus-4-8",date:"2026-05-28",eyebrow:"Now Available",title:"Claude Opus 4.8 is the new default",bullets:[{icon:ee,title:"Smarter thinking, same price",body:"Opus 4.8 now leads the Thinking and Smarter tiers, outperforming Opus 4.7 on coding, reasoning, and agent tasks at the same cost."},{icon:se,title:"More honest answers",body:"It's about 4× less likely to let a code flaw slip through unflagged, and surfaces uncertainty instead of making unsupported claims."},{icon:qe,title:"Nothing to change",body:"Chats and agents pick up Opus 4.8 automatically wherever the Thinking or Smarter tier is selected."}],learnMoreHref:"https://www.anthropic.com/news/claude-opus-4-8"},{id:"enhanced-sidebar",date:"2026-05-28",eyebrow:"Now Available",title:"Enhanced sidebar",bullets:[{icon:ee,title:"A clearer view of what's running",body:"See every task in your organization at a glance, with each agent and status group laid out so you can spot active work without hunting for it."},{icon:it,title:"Browse one group at a time",body:"Expand the groups you care about and pull in more results on demand — no more endless scrolling to find an older conversation."},{icon:se,title:"Polished and steadier",body:"Several sidebar bugs are fixed, including empty agent groups showing the right action and status filters returning the right tasks."}]},{id:"smarter-task-delegation",date:"2026-05-27",eyebrow:"Now Available",title:"Smarter task delegation",bullets:[{icon:mt,title:"Real results from delegated agents",body:"When one agent hands work to another, you'll see the full report inline — no more empty replies hiding the work that was done."},{icon:qe,title:"Same powers, top to bottom",body:"Delegated agents now work with the same tools, context, and memory as the agent that called them, so complex multi-agent investigations finish on the first try."},{icon:se,title:"Clearer progress signals",body:"When a delegated task hits its limit or runs into a problem, you get a plain-language message instead of a silent stall."}]},{id:"sidebar-task-groups",date:"2026-05-27",eyebrow:"Now Available",title:"Redesigned sidebar",bullets:[{icon:ee,title:"Group by agent or status",body:"Switch the task list between grouping by agent or by status — pick whichever matches how you're working right now."},{icon:it,title:"Sharper filters",body:"Narrow the list to your tasks, manual chats, or automations from a compact filter row above the groups."}]},{id:"release-channel",date:"2026-05-26",eyebrow:"Now Available",title:"Release announcements",bullets:[{icon:ee,title:"Heads-up when features ship",body:"New releases surface in a corner card the first time you see them, then stick around in your inbox."},{icon:vn,title:"Unified inbox",body:"Org invitations and product updates now share one chronological feed in the sidebar."}]}],nt="studio.release-feed.v1",rt=new Set;let oe="",ie={},lt=!1;function js(){if(lt)return oe||"{}";try{return localStorage.getItem(nt)??"{}"}catch{return oe||"{}"}}function Ft(t){try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function wt(){const t=js();return t!==oe&&(oe=t,ie=Ft(t)),ie}function ks(t){rt.add(t);const e=o=>{if(!(o.key!==nt&&o.key!==null)){try{const r=localStorage.getItem(nt)??"{}",a={...Ft(r),...ie};ie=a,oe=JSON.stringify(a)}catch{}t()}};return window.addEventListener("storage",e),()=>{rt.delete(t),window.removeEventListener("storage",e)}}function Ts(t){ie=t,oe=JSON.stringify(t);try{localStorage.setItem(nt,oe),lt=!1}catch{lt=!0}rt.forEach(e=>e())}function Ns(){const t=R.c(7),e=Q.useSyncExternalStore(ks,wt,wt);let o;t[0]!==e?(o=m=>!!e[m],t[0]=e,t[1]=o):o=t[1];const r=o,s=_s;let a;t[2]!==e?(a=qt.reduce((m,h)=>e[h.id]?m:m+1,0),t[2]=e,t[3]=a):a=t[3];const i=a;let c;return t[4]!==r||t[5]!==i?(c={isSeen:r,markSeen:s,unseenCount:i},t[4]=r,t[5]=i,t[6]=c):c=t[6],c}function _s(t){ie[t]||Ts({...ie,[t]:{seenAt:new Date().toISOString()}})}const Ps=720*60*60*1e3,As=10080*60*1e3;function Cs(t){const[e,o,r]=t.split("-").map(Number);return!e||!o||!r?new Date(t).getTime():new Date(e,o-1,r).getTime()}function Es(t){const e=qt[0];if(!e)return null;const o=Cs(e.date),r=t-o;return r<0||r>Ps?null:e}function Os(t){if(t instanceof Date)return t.getTime();if(typeof t=="string"||typeof t=="number"){const e=new Date(t).getTime();return Number.isFinite(e)?e:null}return null}function Is(t,e){const o=Os(t);return o===null?!1:e-o>=As}function $s(){const t=R.c(46),e=G(),o=Cn(),r=Wt(),s=$t(),a=!!o,i=r===te.home&&!o;let c;t[0]!==s||t[1]!==a?(c=a&&!!s&&zt(s),t[0]=s,t[1]=a,t[2]=c):c=t[2];const m=c,{data:h}=Ue.useSession(),{isSeen:S,markSeen:u}=Ns(),p=In(6e4);let l,g,f;if(t[3]!==S||t[4]!==p||t[5]!==h?.user?.createdAt){f=Symbol.for("react.early_return_sentinel");e:{if(l=Es(p),!l){f=null;break e}if(!Is(h?.user?.createdAt,p)){f=null;break e}g=S(l.id)}t[3]=S,t[4]=p,t[5]=h?.user?.createdAt,t[6]=l,t[7]=g,t[8]=f}else l=t[6],g=t[7],f=t[8];if(f!==Symbol.for("react.early_return_sentinel"))return f;if(g)return null;let d;t[9]!==l.id||t[10]!==a||t[11]!==u||t[12]!==i||t[13]!==m||t[14]!==e?(d=()=>{u(l.id),Ss(e,{onOrgHome:i,inProject:a,onSiteEditor:m})},t[9]=l.id,t[10]=a,t[11]=u,t[12]=i,t[13]=m,t[14]=e,t[15]=d):d=t[15];const w=d;let y;t[16]!==e?(y=e("announcements.release.ariaLabel"),t[16]=e,t[17]=y):y=t[17];let x;t[18]!==e?(x=e("announcements.release.dismiss"),t[18]=e,t[19]=x):x=t[19];const v=l.eyebrow,b=l.title;let T;t[20]!==l.id||t[21]!==u?(T=()=>u(l.id),t[20]=l.id,t[21]=u,t[22]=T):T=t[22];let j;t[23]!==l.id||t[24]!==l.learnMoreHref||t[25]!==u||t[26]!==e?(j=l.learnMoreHref?n.jsx("a",{href:l.learnMoreHref,target:"_blank",rel:"noreferrer",onClick:()=>u(l.id),className:"underline-offset-2 hover:text-foreground hover:underline",children:e("announcements.release.learnMore")}):null,t[23]=l.id,t[24]=l.learnMoreHref,t[25]=u,t[26]=e,t[27]=j):j=t[27];let k;t[28]!==l.cta||t[29]!==l.id||t[30]!==u||t[31]!==w?(k=l.cta?"href"in l.cta?n.jsx(z,{asChild:!0,size:"sm",onClick:()=>u(l.id),children:n.jsx("a",{href:l.cta.href,children:l.cta.label})}):n.jsx(z,{size:"sm",onClick:w,children:l.cta.label}):null,t[28]=l.cta,t[29]=l.id,t[30]=u,t[31]=w,t[32]=k):k=t[32];let _;t[33]!==l.bullets?(_=l.bullets.map(Ls),t[33]=l.bullets,t[34]=_):_=t[34];let N;t[35]!==_?(N=n.jsx("ul",{className:"flex flex-col gap-3",children:_}),t[35]=_,t[36]=N):N=t[36];let P;return t[37]!==l.eyebrow||t[38]!==l.title||t[39]!==k||t[40]!==N||t[41]!==y||t[42]!==x||t[43]!==T||t[44]!==j?(P=n.jsx(Lt,{ariaLabel:y,dismissLabel:x,eyebrow:v,title:b,onDismiss:T,footerLeading:j,actions:k,children:N}),t[37]=l.eyebrow,t[38]=l.title,t[39]=k,t[40]=N,t[41]=y,t[42]=x,t[43]=T,t[44]=j,t[45]=P):P=t[45],P}function Ls(t,e){return n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(t.icon,{size:20,className:"mt-0.5 shrink-0 text-muted-foreground"}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-sm font-medium text-foreground",children:t.title}),n.jsx("p",{className:"text-xs text-muted-foreground",children:t.body})]})]},e)}function Ds(t){const e=R.c(11),{open:o,onOpenChange:r}=t,s=G();let a;e[0]!==s?(a=s("common.keyboardShortcutsDialog.title"),e[0]=s,e[1]=a):a=e[1];let i;e[2]!==a?(i=n.jsx(Tt,{children:n.jsx(Nt,{children:a})}),e[2]=a,e[3]=i):i=e[3];let c;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx("div",{className:"flex flex-col gap-4",children:Yt.map(Rs)}),e[4]=c):c=e[4];let m;e[5]!==i?(m=n.jsxs(_t,{className:"sm:max-w-md",children:[i,c]}),e[5]=i,e[6]=m):m=e[6];let h;return e[7]!==r||e[8]!==o||e[9]!==m?(h=n.jsx(Pt,{open:o,onOpenChange:r,children:m}),e[7]=r,e[8]=o,e[9]=m,e[10]=h):h=e[10],h}function Rs(t){return n.jsxs("div",{children:[n.jsx("h3",{className:"text-xs font-medium text-muted-foreground mb-2",children:t.label}),n.jsx("div",{className:"flex flex-col gap-1.5",children:t.shortcuts.map(zs)})]},t.label)}function zs(t){return n.jsxs("div",{className:"flex items-center justify-between py-1",children:[n.jsx("span",{className:"text-sm",children:t.description}),n.jsx("div",{className:"flex items-center gap-1",children:t.keys.map(qs)})]},t.description)}function qs(t){return n.jsx("kbd",{className:"inline-flex items-center justify-center min-w-6 h-6 px-1.5 rounded-sm border border-border bg-muted text-muted-foreground text-xs font-mono",children:t},t)}const St=8;function Fs(t){const{org:e}=ct(),o=Bn({connectionId:Ct,orgId:e.id,orgSlug:e.slug}),{data:r}=Fe({queryKey:Je.globalSearch(e.id,t,St),enabled:!!o&&t.trim().length>=2,staleTime:15e3,retry:!1,queryFn:async()=>{if(!o)return[];try{return(await o.callTool({name:"GLOBAL_SEARCH",arguments:{query:t,limit:St}})).structuredContent?.items??[]}catch{return[]}}});return r??[]}function Bs(t){const e=R.c(195),{open:o,onOpenChange:r}=t,s=G(),a=At(),{org:i}=ct(),{projects:c,hasProjects:m}=En(),[h,S]=Q.useState(""),u=Q.useDeferredValue(h),p=Fs(u);let l;e[0]!==r?(l=()=>{r(!1),S("")},e[0]=r,e[1]=l):l=e[1];const g=l;let f;e[2]!==g?(f=(B,M)=>{at("command_palette_used",{kind:M}),B(),g()},e[2]=g,e[3]=f):f=e[3];const d=f;let w;e[4]!==a||e[5]!==i.id||e[6]!==i.slug?(w=B=>{if(B.type==="connection"){if(!B.slug){a({to:"/$org/settings/connections",params:{org:i.slug},search:{tab:"all"}});return}a({to:"/$org/settings/connections/$appSlug",params:{org:i.slug,appSlug:B.slug}});return}if(B.type==="task"){a({to:te.tasks,params:{org:i.slug,taskKey:B.key??void 0}});return}const M=Et(i.id).id;Qt(a,Xt({org:i.slug,agentId:B.virtual_mcp_id??M,superAgentId:M}),{search:()=>({thread:B.id}),replace:!1})},e[4]=a,e[5]=i.id,e[6]=i.slug,e[7]=w):w=e[7];const y=w;let x;e[8]!==h?(x=[h],e[8]=h,e[9]=x):x=e[9];const v=x;let b,T,j,k,_,N,P,C,I,O,D,A,q;if(e[10]!==g||e[11]!==d||e[12]!==m||e[13]!==p||e[14]!==a||e[15]!==r||e[16]!==o||e[17]!==y||e[18]!==i.slug||e[19]!==c||e[20]!==v||e[21]!==s||e[22]!==h){const B=p.filter(Ks),M=p.filter(Ms);let J;e[36]!==i.slug?(J={org:i.slug},e[36]=i.slug,e[37]=J):J=e[37];const $=J;let V;e[38]!==s?(V=s("sidebar.navDestinations.home"),e[38]=s,e[39]=V):V=e[39];let W;e[40]===Symbol.for("react.memo_cache_sentinel")?(W=n.jsx(kn,{"aria-hidden":"true"}),e[40]=W):W=e[40];let H;e[41]!==$||e[42]!==V?(H={key:"home",label:V,icon:W,to:te.home,params:$},e[41]=$,e[42]=V,e[43]=H):H=e[43];let U;e[44]!==s?(U=s("sidebar.navDestinations.reports"),e[44]=s,e[45]=U):U=e[45];let Z;e[46]===Symbol.for("react.memo_cache_sentinel")?(Z=n.jsx(Tn,{"aria-hidden":"true"}),e[46]=Z):Z=e[46];let Y;e[47]!==$||e[48]!==U?(Y={key:"reports",label:U,icon:Z,to:te.reports,params:$},e[47]=$,e[48]=U,e[49]=Y):Y=e[49];let L;e[50]!==s?(L=s("sidebar.navDestinations.tasks"),e[50]=s,e[51]=L):L=e[51];let K;e[52]===Symbol.for("react.memo_cache_sentinel")?(K=n.jsx(pt,{"aria-hidden":"true"}),e[52]=K):K=e[52];let re;e[53]!==i.slug?(re={org:i.slug,taskKey:void 0},e[53]=i.slug,e[54]=re):re=e[54];let le;e[55]!==L||e[56]!==re?(le={key:"tasks",label:L,icon:K,to:te.tasks,params:re},e[55]=L,e[56]=re,e[57]=le):le=e[57];let ce;e[58]!==s?(ce=s("sidebar.navDestinations.library"),e[58]=s,e[59]=ce):ce=e[59];let Ve;e[60]===Symbol.for("react.memo_cache_sentinel")?(Ve=n.jsx(Nn,{"aria-hidden":"true"}),e[60]=Ve):Ve=e[60];let de;e[61]!==$||e[62]!==ce?(de={key:"library",label:ce,icon:Ve,to:te.library,params:$},e[61]=$,e[62]=ce,e[63]=de):de=e[63];let ue;e[64]!==s?(ue=s("sidebar.navDestinations.discover"),e[64]=s,e[65]=ue):ue=e[65];let We;e[66]===Symbol.for("react.memo_cache_sentinel")?(We=n.jsx(_n,{"aria-hidden":"true"}),e[66]=We):We=e[66];let me;e[67]!==$||e[68]!==ue?(me={key:"discover",label:ue,icon:We,to:te.discover,params:$},e[67]=$,e[68]=ue,e[69]=me):me=e[69];let Ye;e[70]!==H||e[71]!==Y||e[72]!==le||e[73]!==de||e[74]!==me?(Ye=[H,Y,le,de,me],e[70]=H,e[71]=Y,e[72]=le,e[73]=de,e[74]=me,e[75]=Ye):Ye=e[75];const ot=Ye;T=Ln,k=o,e[76]!==g||e[77]!==r?(_=E=>E?r(!0):g(),e[76]=g,e[77]=r,e[78]=_):_=e[78],e[79]!==s?(N=s("commandPalette.title"),e[79]=s,e[80]=N):N=e[80],e[81]!==s?(P=s("commandPalette.description"),e[81]=s,e[82]=P):P=e[82];let fe;e[83]!==s?(fe=s("commandPalette.placeholder"),e[83]=s,e[84]=fe):fe=e[84];let he;e[85]!==s?(he=s("commandPalette.placeholder"),e[85]=s,e[86]=he):he=e[86],e[87]!==fe||e[88]!==he||e[89]!==h?(C=n.jsx(Dn,{placeholder:fe,"aria-label":he,value:h,onValueChange:S}),e[87]=fe,e[88]=he,e[89]=h,e[90]=C):C=e[90],b=Rn;let ge;e[91]!==s?(ge=s("commandPalette.empty"),e[91]=s,e[92]=ge):ge=e[92],e[93]!==ge?(I=n.jsx(zn,{children:ge}),e[93]=ge,e[94]=I):I=e[94];let pe;e[95]!==s?(pe=s("commandPalette.goTo"),e[95]=s,e[96]=pe):pe=e[96];let ye;e[97]!==ot||e[98]!==d||e[99]!==a?(ye=ot.map(E=>n.jsxs(ne,{onSelect:()=>d(()=>a({to:E.to,params:E.params}),"destination"),children:[E.icon,n.jsx("span",{children:E.label})]},E.key)),e[97]=ot,e[98]=d,e[99]=a,e[100]=ye):ye=e[100],e[101]!==pe||e[102]!==ye?(O=n.jsx(Be,{heading:pe,children:ye}),e[101]=pe,e[102]=ye,e[103]=O):O=e[103],e[104]!==d||e[105]!==m||e[106]!==a||e[107]!==i.slug||e[108]!==c||e[109]!==s?(D=m&&n.jsx(Be,{heading:s("commandPalette.projects"),children:c.map(E=>n.jsxs(ne,{value:`project ${E.title}`,onSelect:()=>d(()=>a({to:te.projects,params:{org:i.slug,agentId:E.id}}),"project"),children:[n.jsx(Fn,{icon:E.icon,name:E.title,"aria-hidden":"true"}),n.jsx("span",{children:E.title})]},E.id))}),e[104]=d,e[105]=m,e[106]=a,e[107]=i.slug,e[108]=c,e[109]=s,e[110]=D):D=e[110];let be;e[111]!==s?(be=s("commandPalette.actions"),e[111]=s,e[112]=be):be=e[112];let xe;e[113]!==s?(xe=s("commandPalette.newProject"),e[113]=s,e[114]=xe):xe=e[114];let we;e[115]!==d||e[116]!==a||e[117]!==$?(we=()=>d(()=>a({to:te.home,params:$}),"new_project"),e[115]=d,e[116]=a,e[117]=$,e[118]=we):we=e[118];let Qe;e[119]===Symbol.for("react.memo_cache_sentinel")?(Qe=n.jsx(bt,{"aria-hidden":"true"}),e[119]=Qe):Qe=e[119];let Se;e[120]!==s?(Se=s("commandPalette.newProject"),e[120]=s,e[121]=Se):Se=e[121];let ve;e[122]!==Se?(ve=n.jsx("span",{children:Se}),e[122]=Se,e[123]=ve):ve=e[123];let je;e[124]!==xe||e[125]!==we||e[126]!==ve?(je=n.jsxs(ne,{value:xe,onSelect:we,children:[Qe,ve]}),e[124]=xe,e[125]=we,e[126]=ve,e[127]=je):je=e[127];let ke;e[128]!==s?(ke=s("commandPalette.inviteTeammate"),e[128]=s,e[129]=ke):ke=e[129];let Te;e[130]!==d||e[131]!==a||e[132]!==$?(Te=()=>d(()=>a({to:"/$org/settings/members",params:$}),"invite"),e[130]=d,e[131]=a,e[132]=$,e[133]=Te):Te=e[133];let Xe;e[134]===Symbol.for("react.memo_cache_sentinel")?(Xe=n.jsx(Pn,{"aria-hidden":"true"}),e[134]=Xe):Xe=e[134];let Ne;e[135]!==s?(Ne=s("commandPalette.inviteTeammate"),e[135]=s,e[136]=Ne):Ne=e[136];let _e;e[137]!==Ne?(_e=n.jsx("span",{children:Ne}),e[137]=Ne,e[138]=_e):_e=e[138];let Pe;e[139]!==ke||e[140]!==Te||e[141]!==_e?(Pe=n.jsxs(ne,{value:ke,onSelect:Te,children:[Xe,_e]}),e[139]=ke,e[140]=Te,e[141]=_e,e[142]=Pe):Pe=e[142];let Ae;e[143]!==s?(Ae=s("commandPalette.addConnection"),e[143]=s,e[144]=Ae):Ae=e[144];let Ce;e[145]!==d||e[146]!==a||e[147]!==$?(Ce=()=>d(()=>a({to:"/$org/settings/connections",params:$,search:{tab:"all"}}),"add_connection"),e[145]=d,e[146]=a,e[147]=$,e[148]=Ce):Ce=e[148];let Ze;e[149]===Symbol.for("react.memo_cache_sentinel")?(Ze=n.jsx(bt,{"aria-hidden":"true"}),e[149]=Ze):Ze=e[149];let Ee;e[150]!==s?(Ee=s("commandPalette.addConnection"),e[150]=s,e[151]=Ee):Ee=e[151];let Oe;e[152]!==Ee?(Oe=n.jsx("span",{children:Ee}),e[152]=Ee,e[153]=Oe):Oe=e[153];let Ie;e[154]!==Ae||e[155]!==Ce||e[156]!==Oe?(Ie=n.jsxs(ne,{value:Ae,onSelect:Ce,children:[Ze,Oe]}),e[154]=Ae,e[155]=Ce,e[156]=Oe,e[157]=Ie):Ie=e[157];let $e;e[158]!==s?($e=s("commandPalette.settings"),e[158]=s,e[159]=$e):$e=e[159];let Le;e[160]!==d||e[161]!==a||e[162]!==$?(Le=()=>d(()=>a({to:"/$org/settings/general",params:$}),"settings"),e[160]=d,e[161]=a,e[162]=$,e[163]=Le):Le=e[163];let et;e[164]===Symbol.for("react.memo_cache_sentinel")?(et=n.jsx($n,{"aria-hidden":"true"}),e[164]=et):et=e[164];let De;e[165]!==s?(De=s("commandPalette.settings"),e[165]=s,e[166]=De):De=e[166];let Re;e[167]!==De?(Re=n.jsx("span",{children:De}),e[167]=De,e[168]=Re):Re=e[168];let ze;e[169]!==$e||e[170]!==Le||e[171]!==Re?(ze=n.jsxs(ne,{value:$e,onSelect:Le,children:[et,Re]}),e[169]=$e,e[170]=Le,e[171]=Re,e[172]=ze):ze=e[172],e[173]!==be||e[174]!==je||e[175]!==Pe||e[176]!==Ie||e[177]!==ze?(A=n.jsxs(Be,{heading:be,children:[je,Pe,Ie,ze]}),e[173]=be,e[174]=je,e[175]=Pe,e[176]=Ie,e[177]=ze,e[178]=A):A=e[178],q=B.length>0&&n.jsx(Be,{heading:s("commandPalette.connections"),children:B.map(E=>n.jsxs(ne,{value:`${E.title} ${E.id}`,keywords:v,onSelect:()=>d(()=>y(E),"connection"),children:[n.jsx(qn,{icon:E.icon,name:E.title,size:"2xs","aria-hidden":"true"}),n.jsx("span",{className:"truncate",children:E.title})]},`connection:${E.id}`))}),j=M.length>0&&n.jsx(Be,{heading:s("commandPalette.results"),children:M.map(E=>n.jsxs(ne,{value:`${E.title} ${E.id}`,keywords:v,onSelect:()=>d(()=>y(E),E.type),children:[E.type==="thread"?n.jsx(jn,{"aria-hidden":"true"}):n.jsx(pt,{"aria-hidden":"true"}),n.jsx("span",{className:"truncate",children:E.title}),E.type==="task"&&E.key&&n.jsx("span",{className:"ml-auto shrink-0 font-mono text-xs text-muted-foreground",children:E.key})]},`${E.type}:${E.id}`))}),e[10]=g,e[11]=d,e[12]=m,e[13]=p,e[14]=a,e[15]=r,e[16]=o,e[17]=y,e[18]=i.slug,e[19]=c,e[20]=v,e[21]=s,e[22]=h,e[23]=b,e[24]=T,e[25]=j,e[26]=k,e[27]=_,e[28]=N,e[29]=P,e[30]=C,e[31]=I,e[32]=O,e[33]=D,e[34]=A,e[35]=q}else b=e[23],T=e[24],j=e[25],k=e[26],_=e[27],N=e[28],P=e[29],C=e[30],I=e[31],O=e[32],D=e[33],A=e[34],q=e[35];let F;e[179]!==b||e[180]!==j||e[181]!==I||e[182]!==O||e[183]!==D||e[184]!==A||e[185]!==q?(F=n.jsxs(b,{children:[I,O,D,A,q,j]}),e[179]=b,e[180]=j,e[181]=I,e[182]=O,e[183]=D,e[184]=A,e[185]=q,e[186]=F):F=e[186];let X;return e[187]!==T||e[188]!==k||e[189]!==_||e[190]!==N||e[191]!==P||e[192]!==C||e[193]!==F?(X=n.jsxs(T,{open:k,onOpenChange:_,title:N,description:P,children:[C,F]}),e[187]=T,e[188]=k,e[189]=_,e[190]=N,e[191]=P,e[192]=C,e[193]=F,e[194]=X):X=e[194],X}function Ms(t){return t.type!=="connection"}function Ks(t){return t.type==="connection"}const He=new Gn(!1);function Hs(){He.set(!0)}function Us(){He.set(!1)}function Gs(){const t=R.c(2),e=Q.useSyncExternalStore(He.subscribe,He.get);let o;return t[0]!==e?(o=[e,He.set],t[0]=e,t[1]=o):o=t[1],o}const Js=300*1e3,Vs=2;function Ws(t,e,o){return!e||e===o?{version:null,count:0}:t.version===e?{version:e,count:t.count+1}:{version:e,count:1}}function Ys(t,e){return t.count>=Vs&&t.version!==null&&t.version!==e}function Qs(){const t=R.c(31),e=G();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={queryKey:Je.appVersionCheck(),queryFn:Zs,refetchInterval:Js,refetchIntervalInBackground:!0,staleTime:0},t[0]=o):o=t[0];const{data:r,dataUpdatedAt:s}=Fe(o),[a,i]=Q.useState(0);let c;t[1]===Symbol.for("react.memo_cache_sentinel")?(c={version:null,count:0},t[1]=c):c=t[1];const[m,h]=Q.useState(c);s!==a&&(i(s),h(k=>Ws(k,r,"4.529.0")));const[S,u]=Q.useState(null);if(!Ys(m,S))return null;let p;t[2]!==e?(p=e("announcements.version.ariaLabel"),t[2]=e,t[3]=p):p=t[3];let l;t[4]!==e?(l=e("announcements.version.dismiss"),t[4]=e,t[5]=l):l=t[5];let g;t[6]!==e?(g=e("announcements.version.eyebrow"),t[6]=e,t[7]=g):g=t[7];let f;t[8]!==e?(f=e("announcements.version.title"),t[8]=e,t[9]=f):f=t[9];let d;t[10]!==e?(d=e("announcements.version.description"),t[10]=e,t[11]=d):d=t[11];let w;t[12]===Symbol.for("react.memo_cache_sentinel")?(w=n.jsx(ft,{size:16}),t[12]=w):w=t[12];let y;t[13]!==m.version?(y=()=>u(m.version),t[13]=m.version,t[14]=y):y=t[14];let x;t[15]!==e?(x=e("announcements.version.currentSession",{version:"4.529.0"}),t[15]=e,t[16]=x):x=t[16];let v;t[17]!==e?(v=e("announcements.version.refresh"),t[17]=e,t[18]=v):v=t[18];let b;t[19]===Symbol.for("react.memo_cache_sentinel")?(b=n.jsx(ft,{size:14}),t[19]=b):b=t[19];let T;t[20]!==v?(T=n.jsxs(z,{size:"sm",onClick:Xs,children:[v,b]}),t[20]=v,t[21]=T):T=t[21];let j;return t[22]!==T||t[23]!==p||t[24]!==l||t[25]!==g||t[26]!==f||t[27]!==d||t[28]!==y||t[29]!==x?(j=n.jsx(Lt,{ariaLabel:p,dismissLabel:l,eyebrow:g,title:f,description:d,icon:w,tone:"system",onDismiss:y,footerLeading:x,actions:T}),t[22]=T,t[23]=p,t[24]=l,t[25]=g,t[26]=f,t[27]=d,t[28]=y,t[29]=x,t[30]=j):j=t[30],j}function Xs(){return window.location.reload()}async function Zs(){const t=await fetch("/api/config",{cache:"no-store"}),{config:e}=await t.json();return e.version}function eo(t){return{has(){try{return localStorage.getItem(t)==="1"}catch{return!1}},mark(){try{localStorage.setItem(t,"1")}catch{}}}}const to=Date.parse("2026-07-21T00:00:00Z"),vt=t=>eo(Ge.ptBrAnnouncementSeen(t));function no(){const t=R.c(35),e=G(),[o,r]=Zt(),{data:s,isPending:a}=Ue.useSession(),i=s?.user,c=i?.id,m=i?.createdAt,h=m!=null&&new Date(m).getTime()<to,S=en()==="pt-BR",u=!a&&!!c&&h&&S&&o.language==="en"&&!vt(c).has(),[p,l]=Q.useState(!1),[g,f]=Q.useState(!1);!p&&!a&&(l(!0),u&&c&&(vt(c).mark(),r(oo),f(!0),at("pt_br_auto_switch_shown")));let d;t[0]===Symbol.for("react.memo_cache_sentinel")?(d=X=>{at("pt_br_auto_switch_closed",{action:X}),f(!1)},t[0]=d):d=t[0];const w=d;let y;t[1]!==r?(y=()=>{r(so),w("switch-back")},t[1]=r,t[2]=y):y=t[2];const x=y;let v;t[3]===Symbol.for("react.memo_cache_sentinel")?(v=X=>!X&&w("dismiss"),t[3]=v):v=t[3];let b;t[4]===Symbol.for("react.memo_cache_sentinel")?(b=n.jsx("div",{className:"text-4xl","aria-hidden":"true",children:"🇧🇷"}),t[4]=b):b=t[4];let T;t[5]!==e?(T=e("announcements.ptBr.title"),t[5]=e,t[6]=T):T=t[6];let j;t[7]!==T?(j=n.jsx(Nt,{children:T}),t[7]=T,t[8]=j):j=t[8];let k;t[9]!==e?(k=e("announcements.ptBr.description"),t[9]=e,t[10]=k):k=t[10];let _;t[11]!==k?(_=n.jsx(tn,{children:k}),t[11]=k,t[12]=_):_=t[12];let N;t[13]!==j||t[14]!==_?(N=n.jsxs(Tt,{children:[j,_]}),t[13]=j,t[14]=_,t[15]=N):N=t[15];let P;t[16]!==e?(P=e("announcements.ptBr.switchBack"),t[16]=e,t[17]=P):P=t[17];let C;t[18]!==x||t[19]!==P?(C=n.jsx(z,{variant:"outline",onClick:x,children:P}),t[18]=x,t[19]=P,t[20]=C):C=t[20];let I;t[21]===Symbol.for("react.memo_cache_sentinel")?(I=()=>w("ok"),t[21]=I):I=t[21];let O;t[22]!==e?(O=e("announcements.ptBr.ok"),t[22]=e,t[23]=O):O=t[23];let D;t[24]!==O?(D=n.jsx(z,{onClick:I,children:O}),t[24]=O,t[25]=D):D=t[25];let A;t[26]!==C||t[27]!==D?(A=n.jsxs(nn,{children:[C,D]}),t[26]=C,t[27]=D,t[28]=A):A=t[28];let q;t[29]!==A||t[30]!==N?(q=n.jsxs(_t,{className:"sm:max-w-md",children:[b,N,A]}),t[29]=A,t[30]=N,t[31]=q):q=t[31];let F;return t[32]!==g||t[33]!==q?(F=n.jsx(Pt,{open:g,onOpenChange:v,children:q}),t[32]=g,t[33]=q,t[34]=F):F=t[34],F}function so(t){return{...t,language:"en"}}function oo(t){return{...t,language:"pt-BR"}}function io(t){const e=sn(t);return typeof e=="string"?e:void 0}function ao(){return io("experiment-pipeline-check"),null}function ro(t){const e=R.c(1),{activeOrg:o}=t;if(!o)return null;on(o.id,{name:o.name??void 0,slug:o.slug??void 0}),an();let r;return e[0]===Symbol.for("react.memo_cache_sentinel")?(r=n.jsx(ao,{}),e[0]=r):r=e[0],r}function lo(t){const{prev:e,virtualMcpId:o,decopilotId:r,savedLayout:s,opts:a,autosendValue:i}=t,c={mainpanel:void 0};o?c.virtualmcpid=o:e.virtualmcpid&&(c.virtualmcpid=e.virtualmcpid);const m=typeof e.virtualmcpid=="string"?e.virtualmcpid:r,S=(o??m)!==m;let u,p;return a?.panel?p=a.panel:a?.newThread&&!S&&rn(e.tabId)?(p=e.tabId,c.mainpanel=e.mainpanel,u=e.sidepanel):s?(p=s.tab,s.sidepanel!==void 0&&(u=s.sidepanel),s.mainpanel!==void 0&&(c.mainpanel=s.mainpanel)):!S&&e.tabId&&!ln(e.tabId)&&(p=e.tabId),u!==void 0&&(c.sidepanel=u),a?.autosend&&(c.autosend=i),{tabId:p,search:c}}const Bt="studio:thread-layout:v4",co=50;function Mt(t){const e={};return t===null||typeof t!="object"||(typeof t.tab=="string"&&(e.tab=t.tab),typeof t.mainpanel=="boolean"&&(e.mainpanel=t.mainpanel),typeof t.sidepanel=="boolean"&&(e.sidepanel=t.sidepanel)),e}function uo(t,e,o,r=co){const s=t.filter(([a])=>a!==e);for(s.push([e,Mt(o)]);s.length>r;)s.shift();return s}function dt(){try{const t=sessionStorage.getItem(Bt);if(!t)return[];const e=JSON.parse(t);return Array.isArray(e)?e.filter(o=>Array.isArray(o)&&o.length===2&&typeof o[0]=="string"):[]}catch{return[]}}function Kt(t){try{sessionStorage.setItem(Bt,JSON.stringify(t))}catch{}}function mo(t,e){t&&Kt(uo(dt(),t,e))}function fo(t){if(!t)return null;const e=dt().find(([o])=>o===t);return e?Mt(e[1]):null}function Zo(t){if(!t)return;const e=dt(),o=e.filter(([r])=>r!==t);o.length!==e.length&&Kt(o)}function Ht(t){return{queryKey:Je.homeNextActions(t),queryFn:async()=>{const e=await fetch(`/api/${t}/home-next-actions`,{cache:"no-store"});if(!e.ok)throw new Error("Failed to load home next actions");return await e.json()},staleTime:0,refetchOnWindowFocus:"always"}}function ei(t){const e=R.c(10);let o;e[0]!==t?(o=Ht(t),e[0]=t,e[1]=o):o=e[1];const r=Fe(o);let s;e[2]!==r.data?.prompts?(s=r.data?.prompts??[],e[2]=r.data?.prompts,e[3]=s):s=e[3];let a;e[4]!==r.data?.tiles?(a=r.data?.tiles??[],e[4]=r.data?.tiles,e[5]=a):a=e[5];let i;return e[6]!==r.isLoading||e[7]!==s||e[8]!==a?(i={isLoading:r.isLoading,prompts:s,tiles:a},e[6]=r.isLoading,e[7]=s,e[8]=a,e[9]=i):i=e[9],i}function ho(t){const e=R.c(31),{orgSlug:o,orgName:r,domain:s}=t,a=G();let i;e[0]!==o?(i=()=>{window.location.href=`/api/${encodeURIComponent(o)}/sso/authorize`},e[0]=o,e[1]=i):i=e[1];const c=i,m=go;let h;e[2]===Symbol.for("react.memo_cache_sentinel")?(h=n.jsx("div",{className:"bg-primary/10 p-3 rounded-full","aria-hidden":"true",children:n.jsx(jt,{className:"h-6 w-6 text-primary"})}),e[2]=h):h=e[2];let S;e[3]!==a?(S=a("common.ssoRequiredScreen.title"),e[3]=a,e[4]=S):S=e[4];let u;e[5]!==S?(u=n.jsx("h3",{className:"text-lg font-medium",children:S}),e[5]=S,e[6]=u):u=e[6];let p;e[7]!==s||e[8]!==r||e[9]!==a?(p=r?n.jsxs(n.Fragment,{children:[n.jsx("strong",{children:r})," ",a("common.ssoRequiredScreen.requiresSsoAuth"),s?` ${a("common.ssoRequiredScreen.via",{domain:s})}`:"","."]}):a("common.ssoRequiredScreen.orgRequiresSsoAuth"),e[7]=s,e[8]=r,e[9]=a,e[10]=p):p=e[10];let l;e[11]!==p?(l=n.jsx("p",{className:"text-sm text-muted-foreground",children:p}),e[11]=p,e[12]=l):l=e[12];let g;e[13]!==u||e[14]!==l?(g=n.jsxs("div",{className:"space-y-2",children:[u,l]}),e[13]=u,e[14]=l,e[15]=g):g=e[15];let f;e[16]!==a?(f=a("common.ssoRequiredScreen.signInWithSso"),e[16]=a,e[17]=f):f=e[17];let d;e[18]!==c||e[19]!==f?(d=n.jsx(z,{onClick:c,children:f}),e[18]=c,e[19]=f,e[20]=d):d=e[20];let w;e[21]!==a?(w=a("common.goBack"),e[21]=a,e[22]=w):w=e[22];let y;e[23]!==w?(y=n.jsx(z,{variant:"ghost",onClick:m,children:w}),e[23]=w,e[24]=y):y=e[24];let x;e[25]!==y||e[26]!==d?(x=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[d,y]}),e[25]=y,e[26]=d,e[27]=x):x=e[27];let v;return e[28]!==x||e[29]!==g?(v=n.jsxs(ae,{children:[h,g,x]}),e[28]=x,e[29]=g,e[30]=v):v=e[30],v}function go(){window.location.href="/"}function po(t){const e=R.c(27),{notice:o,orgSlug:r}=t,s=G();let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=n.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:n.jsx(cn,{className:"h-6 w-6 text-destructive"})}),e[0]=a):a=e[0];let i;e[1]!==o.title?(i=n.jsx("h3",{className:"text-lg font-medium",children:o.title}),e[1]=o.title,e[2]=i):i=e[2];let c;e[3]!==o.message?(c=n.jsx("p",{className:"text-sm text-muted-foreground whitespace-pre-line",children:o.message}),e[3]=o.message,e[4]=c):c=e[4];let m;e[5]!==i||e[6]!==c?(m=n.jsxs("div",{className:"space-y-2",children:[i,c]}),e[5]=i,e[6]=c,e[7]=m):m=e[7];let h;e[8]!==o.ctaLabel||e[9]!==o.ctaUrl?(h=o.ctaUrl&&o.ctaLabel?n.jsx(z,{asChild:!0,children:n.jsx("a",{href:o.ctaUrl,target:"_blank",rel:"noreferrer noopener",children:o.ctaLabel})}):null,e[8]=o.ctaLabel,e[9]=o.ctaUrl,e[10]=h):h=e[10];const S=`/${encodeURIComponent(r)}/settings/infra-billing`;let u;e[11]!==s?(u=s("common.blockedOrgScreen.goToBilling"),e[11]=s,e[12]=u):u=e[12];let p;e[13]!==S||e[14]!==u?(p=n.jsx(z,{variant:"outline",asChild:!0,children:n.jsx("a",{href:S,children:u})}),e[13]=S,e[14]=u,e[15]=p):p=e[15];let l;e[16]!==s?(l=s("common.blockedOrgScreen.switchOrg"),e[16]=s,e[17]=l):l=e[17];let g;e[18]!==l?(g=n.jsx(z,{variant:"ghost",asChild:!0,children:n.jsx("a",{href:"/",children:l})}),e[18]=l,e[19]=g):g=e[19];let f;e[20]!==g||e[21]!==h||e[22]!==p?(f=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[h,p,g]}),e[20]=g,e[21]=h,e[22]=p,e[23]=f):f=e[23];let d;return e[24]!==f||e[25]!==m?(d=n.jsxs(ae,{children:[a,m,f]}),e[24]=f,e[25]=m,e[26]=d):d=e[26],d}function yo(t){const e=R.c(8);let o;e[0]!==t?(o=Je.orgNotice(t??""),e[0]=t,e[1]=o):o=e[1];let r;e[2]!==t?(r=async()=>{const i=await fetch(`/api/${t}/notice`,{credentials:"include"});return i.ok?(await i.json()).notice??null:null},e[2]=t,e[3]=r):r=e[3];const s=!!t;let a;return e[4]!==o||e[5]!==r||e[6]!==s?(a={queryKey:o,queryFn:r,enabled:s,staleTime:6e4},e[4]=o,e[5]=r,e[6]=s,e[7]=a):a=e[7],Fe(a)}const bo="/settings/infra-billing";function xo(t){return(t.endsWith("/")?t.slice(0,-1):t).endsWith(bo)}function wo(t){const e=R.c(7),{org:o,children:r}=t;let s;e[0]!==o.id||e[1]!==o.name?(s={id:o.id,organizationId:o.id,slug:"_org",name:o.name,ui:null},e[0]=o.id,e[1]=o.name,e[2]=s):s=e[2];const a=s;let i;return e[3]!==r||e[4]!==o||e[5]!==a?(i=n.jsx(yn,{org:o,project:a,children:r}),e[3]=r,e[4]=o,e[5]=a,e[6]=i):i=e[6],i}function So(){const t=At(),e=Jn(),{org:o}=ct(),r=dn({strict:!1}),s=$t(),{openPanel:a,closePanel:i}=On(),c=Yn(),m=Qn(),h=Xn(),S=Zn(),u=(f,d=!0)=>t({to:".",search:f,replace:d}),p=()=>u(f=>({...f,sidepanel:!0})),l=(f,d,w)=>{const y=!!m&&m===f;m&&!y&&mo(m,{tab:s,mainpanel:r.mainpanel,sidepanel:r.sidepanel});const x=y?null:fo(f),v=Et(o.id).id,b=lo({prev:{virtualmcpid:c,tabId:s,mainpanel:r.mainpanel,sidepanel:r.sidepanel},virtualMcpId:d,decopilotId:v,savedLayout:x,opts:w,autosendValue:Wn});return S(f,()=>b.search,{virtualMcpId:d,view:{tabId:b.tabId}})};return{openSidePanel:p,setTaskId:l,createNewTask:async(f,d,w)=>{const y=crypto.randomUUID(),x=f??h;try{await e?.create({id:y,virtual_mcp_id:x,...d?{branch:d}:{}})}catch{}l(y,x,{...w,newThread:!0})},openTab:a,closeTab:i}}const vo=new Set(["/$org/","/$org/home"]);function jo(){const t=R.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:ko},t[0]=e):e=t[0],Ot(e)}function ko(t){const e=t.matches.at(-1)?.fullPath;return e!==void 0&&vo.has(e)}function To(){const t=R.c(53);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org",shouldThrow:!1},t[0]=e):e=t[0];const r=un(e)?.params.org,[s,a]=Q.useState(!1),[i,c]=Gs(),[m,h]=Kn(),S=mn(),u=jo(),p=r??"";let l;t[1]!==p?(l=Ht(p),t[1]=p,t[2]=l):l=t[2];const g=!!r&&u;let f;t[3]!==l||t[4]!==g?(f={...l,enabled:g},t[3]=l,t[4]=g,t[5]=f):f=t[5],Fe(f);const{data:d}=Ue.useSession(),w=d?.user?.id;let y,x;t[6]!==S?(y=()=>{const L=K=>{if(gt(K)&&K.code==="KeyK"){K.preventDefault(),Hs();return}if(K.key==="?"&&!pn(K.target)){K.preventDefault(),a(!0);return}gt(K)&&K.code==="BracketLeft"&&S.history.canGoBack()&&(K.preventDefault(),S.history.back())};return document.addEventListener("keydown",L),()=>document.removeEventListener("keydown",L)},x=[S],t[6]=S,t[7]=y,t[8]=x):(y=t[7],x=t[8]),Q.useEffect(y,x);let v;t[9]!==r||t[10]!==w?(v=fn(r,w),t[9]=r,t[10]=w,t[11]=v):v=t[11];const{data:b}=kt(v),T=b?.id,j=b?.slug,{data:k}=es(T,j),_=!!k?.ssoRequired&&!k.authenticated,{data:N}=yo(j);let P;t[12]===Symbol.for("react.memo_cache_sentinel")?(P={select:No},t[12]=P):P=t[12];const C=Ot(P),I=N?.severity==="block"&&!xo(C),O=T??"",D=j??"";let A;t[13]!==D||t[14]!==O?(A=Mn({connectionId:Ct,orgId:O,orgSlug:D}),t[13]=D,t[14]=O,t[15]=A):A=t[15];const q=!!T&&!!j;let F;if(t[16]!==A||t[17]!==q?(F={...A,enabled:q},t[16]=A,t[17]=q,t[18]=F):F=t[18],Fe(F),(!b||ht(b)||_||I)&&Us(),!b){let L;return t[19]!==r?(L=n.jsx(us,{orgSlug:r}),t[19]=r,t[20]=L):L=t[20],L}if(ht(b)){localStorage.getItem(Ge.lastOrgSlug())===r&&localStorage.removeItem(Ge.lastOrgSlug());let L;return t[21]!==b.name?(L=n.jsx(hn,{orgName:b.name}),t[21]=b.name,t[22]=L):L=t[22],L}if(I&&N){let L;return t[23]!==b.slug||t[24]!==N?(L=n.jsx(po,{notice:N,orgSlug:b.slug}),t[23]=b.slug,t[24]=N,t[25]=L):L=t[25],L}if(_){let L;return t[26]!==b.id||t[27]!==b.name||t[28]!==b.slug||t[29]!==k.domain?(L=n.jsx(ho,{orgId:b.id,orgSlug:b.slug,orgName:b.name,domain:k.domain}),t[26]=b.id,t[27]=b.name,t[28]=b.slug,t[29]=k.domain,t[30]=L):L=t[30],L}const B=b.logo??null;let M;t[31]!==b||t[32]!==B?(M={...b,logo:B},t[31]=b,t[32]=B,t[33]=M):M=t[33];let J;t[34]!==b?(J=n.jsx(ro,{activeOrg:b}),t[34]=b,t[35]=J):J=t[35];let $;t[36]===Symbol.for("react.memo_cache_sentinel")?($=n.jsx(gn,{}),t[36]=$):$=t[36];let V;t[37]===Symbol.for("react.memo_cache_sentinel")?(V=n.jsxs("div",{className:"fixed bottom-6 right-6 z-50 flex w-[min(360px,calc(100vw-3rem))] flex-col gap-3",children:[n.jsx($s,{}),n.jsx(Qs,{})]}),t[37]=V):V=t[37];let W;t[38]!==i||t[39]!==c?(W=i&&n.jsx(Bs,{open:i,onOpenChange:c}),t[38]=i,t[39]=c,t[40]=W):W=t[40];let H;t[41]!==m||t[42]!==h?(H=m&&n.jsx(Hn,{open:!0,onOpenChange:h,source:Un()}),t[41]=m,t[42]=h,t[43]=H):H=t[43];let U;t[44]!==s?(U=n.jsx(Ds,{open:s,onOpenChange:a}),t[44]=s,t[45]=U):U=t[45];let Z;t[46]===Symbol.for("react.memo_cache_sentinel")?(Z=n.jsx(no,{}),t[46]=Z):Z=t[46];let Y;return t[47]!==M||t[48]!==J||t[49]!==W||t[50]!==H||t[51]!==U?(Y=n.jsxs(wo,{org:M,children:[J,$,V,W,H,U,Z]}),t[47]=M,t[48]=J,t[49]=W,t[50]=H,t[51]=U,t[52]=Y):Y=t[52],Y}function No(t){return t.location.pathname}function _o(){const t=R.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=n.jsx(Vn,{children:n.jsx(To,{})}),t[0]=e):e=t[0],e}const ti=Object.freeze(Object.defineProperty({__proto__:null,default:_o,usePanelActions:So},Symbol.toStringTag,{value:"Module"}));export{ms as L,So as a,vs as b,ei as c,ti as d,Zo as f,zt as i,Hs as o,Qo as r,Xo as s,yo as u};
|