decocms 4.131.6 → 4.131.7
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/{AlertCircle-DXiAboeQ.js → AlertCircle-DRO0C63y.js} +1 -1
- package/dist/client/assets/{AreaChart-DhfI1YJj.js → AreaChart-kZq7PZPX.js} +1 -1
- package/dist/client/assets/{ArrowRight-Deq6po1a.js → ArrowRight-QhuneIw3.js} +1 -1
- package/dist/client/assets/{ArrowUp-C0oORBX1.js → ArrowUp-D1uEbZ6m.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-BKQoGrRD.js → ArrowUpRight-CvaOB9fb.js} +1 -1
- package/dist/client/assets/{Check-zqFoKy_c.js → Check-D5mSFNOJ.js} +1 -1
- package/dist/client/assets/{CheckCircle-D9nx_HJU.js → CheckCircle-CMSb-Ufg.js} +1 -1
- package/dist/client/assets/{ChevronDown-oqZ9p_45.js → ChevronDown-DWEJMoJH.js} +1 -1
- package/dist/client/assets/{ChevronRight-KWTBCov4.js → ChevronRight-BucKd4vs.js} +1 -1
- package/dist/client/assets/{ChevronUp-BActoOls.js → ChevronUp-DJngwrAz.js} +1 -1
- package/dist/client/assets/{Copy01-DKAJS4p5.js → Copy01-C3uari6d.js} +1 -1
- package/dist/client/assets/{DotsVertical-DlDKY1-u.js → DotsVertical-CmCVGsua.js} +1 -1
- package/dist/client/assets/{Eye-CjtpBZiI.js → Eye-Up5_0s8y.js} +1 -1
- package/dist/client/assets/{FilterLines-BbPKu1cQ.js → FilterLines-BPQ0S9Wc.js} +1 -1
- package/dist/client/assets/{HardDrive-DHvfre2Q.js → HardDrive-DESP12mY.js} +1 -1
- package/dist/client/assets/{Key01-Dzk3aS6E.js → Key01-DYkkEvXE.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BZaLssVb.js → LayoutLeft-BQSVLYMa.js} +1 -1
- package/dist/client/assets/{LinkExternal01-sLJg6CYJ.js → LinkExternal01-B37_DeVq.js} +1 -1
- package/dist/client/assets/{LogOut01-DyFeyyni.js → LogOut01-CRncusV9.js} +1 -1
- package/dist/client/assets/{Monitor01-LshHcoqv.js → Monitor01-CD9v9l_d.js} +1 -1
- package/dist/client/assets/{Palette-BFB7Q44T.js → Palette-Dron8fSh.js} +1 -1
- package/dist/client/assets/{Play-p7DPiiIM.js → Play-BW5PWOTU.js} +1 -1
- package/dist/client/assets/{Plus-DRzeM1A2.js → Plus-D2G-ZUsM.js} +1 -1
- package/dist/client/assets/{SearchLg-qKEHyyHs.js → SearchLg-D7QDvNSA.js} +1 -1
- package/dist/client/assets/{SearchMd-BliBUWoX.js → SearchMd-DgBF3pC6.js} +1 -1
- package/dist/client/assets/{Settings02-CJv_RTnn.js → Settings02-Dn7n72YT.js} +1 -1
- package/dist/client/assets/{Shield01-C56cKJuG.js → Shield01-DzntegDN.js} +1 -1
- package/dist/client/assets/{Star01-DdTRwTZx.js → Star01-DO8uKQUW.js} +1 -1
- package/dist/client/assets/{Stars01-DehrNeE8.js → Stars01-DqP-rnPF.js} +1 -1
- package/dist/client/assets/{Stars02-BXrLzCaT.js → Stars02-Dl9X8T4c.js} +1 -1
- package/dist/client/assets/{Sun-eHvz_Tki.js → Sun-FlbYzQoj.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-IjeRwE5I.js → SwitchHorizontal01-BV6HyfEe.js} +1 -1
- package/dist/client/assets/{Tool01-BYzVaWgp.js → Tool01-CryzALFU.js} +1 -1
- package/dist/client/assets/{Tool02-DmtjItpT.js → Tool02-j7a1fbiU.js} +1 -1
- package/dist/client/assets/{Trash01-DNG17WhY.js → Trash01-BtMZ5VGa.js} +1 -1
- package/dist/client/assets/{TrendUp01-DdWJ6MzK.js → TrendUp01-pReoWaDd.js} +1 -1
- package/dist/client/assets/{Upload01-BYbjmcL0.js → Upload01-Dts1hUbd.js} +1 -1
- package/dist/client/assets/{User01-8iKcnb50.js → User01-BY33IVC_.js} +1 -1
- package/dist/client/assets/{Users01-DblVL75v.js → Users01-DQwIJ5ND.js} +1 -1
- package/dist/client/assets/{Users03-CDBTZXSd.js → Users03-DzCuhC1B.js} +1 -1
- package/dist/client/assets/{X-BJwjqkUy.js → X-CUxMuZ8q.js} +1 -1
- package/dist/client/assets/{XCircle-uYeZYbpv.js → XCircle-vLo3SWzM.js} +1 -1
- package/dist/client/assets/{XClose-D7vZnvjm.js → XClose-B2uTWIxR.js} +1 -1
- package/dist/client/assets/{Zap-Bp2XrAL0.js → Zap-KXmoroYg.js} +1 -1
- package/dist/client/assets/{ZapSquare-DtDHfAVH.js → ZapSquare-ny8XWErX.js} +1 -1
- package/dist/client/assets/{access-gate-CkdenbCq.js → access-gate-BbLDUiFo.js} +1 -1
- package/dist/client/assets/{add-section-modal-DEA_V5tZ.js → add-section-modal-CgaWwVNm.js} +1 -1
- package/dist/client/assets/{agent-icon-C_G4rRk_.js → agent-icon-BkCnlGeP.js} +1 -1
- package/dist/client/assets/{agents-list-c1JnMHAF.js → agents-list-CzUx-Sh0.js} +1 -1
- package/dist/client/assets/{ai-providers-Di9TN-a2.js → ai-providers-m_UYWg65.js} +1 -1
- package/dist/client/assets/{alert-odxKL5mV.js → alert-BPLt7pi_.js} +1 -1
- package/dist/client/assets/{alert-dialog-C2muXlL-.js → alert-dialog-CnJXtW38.js} +1 -1
- package/dist/client/assets/{app-editor-IEgUfg8S.js → app-editor-CmZLOzMu.js} +1 -1
- package/dist/client/assets/{auth-Bj9BoTbj.js → auth-BNaGycMo.js} +1 -1
- package/dist/client/assets/{auth-catchall-BOw6HiZg.js → auth-catchall-CJqkE8l5.js} +1 -1
- package/dist/client/assets/{auth-entry-DmjWR3in.js → auth-entry-OOT5bMDK.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BeabOLQd.js → auth-split-layout-CTssdo1b.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-3-cyYa_s.js → authenticate-and-persist-oauth-prvdoPGr.js} +1 -1
- package/dist/client/assets/{automation-list-row-CUqR409h.js → automation-list-row-BLxHb1Cn.js} +1 -1
- package/dist/client/assets/{automation-runs-HlMIT8Bw.js → automation-runs-D_nSiH5I.js} +1 -1
- package/dist/client/assets/{automations-B0_jgHbV.js → automations-CAhC3vlQ.js} +1 -1
- package/dist/client/assets/{avatar-CCn63Xa7.js → avatar-DqSS5jTC.js} +1 -1
- package/dist/client/assets/{badge-DUoOWhZ7.js → badge-Jypo6hHK.js} +1 -1
- package/dist/client/assets/{block-document-tBGlWeQO.js → block-document-DetZyiAG.js} +1 -1
- package/dist/client/assets/{brand-context-BwAi1csd.js → brand-context-DDgkaoVw.js} +1 -1
- package/dist/client/assets/{buckets-4MLFqVLL.js → buckets-D3PDaYOM.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-D_Z9MTN7.js → bulk-category-panel-DakCNThS.js} +1 -1
- package/dist/client/assets/{calendar-BegAE1vZ.js → calendar-Cmitf2cx.js} +1 -1
- package/dist/client/assets/{capability-load-error-CnhWPiWM.js → capability-load-error-BrobKHDT.js} +1 -1
- package/dist/client/assets/{card-BN05K1zd.js → card-D-sxw87W.js} +1 -1
- package/dist/client/assets/{category-editor-8axelqG0.js → category-editor-BhBKFYra.js} +1 -1
- package/dist/client/assets/{chat-context-CCXAG-1P.js → chat-context-CJi7-1nM.js} +1 -1
- package/dist/client/assets/{checkbox-CqXxXRpt.js → checkbox-BlHvEC-r.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DHZ8dq7d.js → cli-auth-success-DTaJ8ExH.js} +1 -1
- package/dist/client/assets/{collection-detail-Ciwp4YtE.js → collection-detail-R5U8ydjr.js} +1 -1
- package/dist/client/assets/{collection-display-button-BaXToUGP.js → collection-display-button-Zybe0ugb.js} +1 -1
- package/dist/client/assets/{collection-search-DBoLEXpv.js → collection-search-BpN3s91o.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CxVb__VK.js → collection-table-wrapper-C5ywbkDk.js} +1 -1
- package/dist/client/assets/{collection-tabs-BHILs6rA.js → collection-tabs-CG77op9x.js} +1 -1
- package/dist/client/assets/{command-CylERf9L.js → command-ZG-i4G49.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-D2KrMXdz.js → commerce-onboarding-BqFp9o9p.js} +1 -1
- package/dist/client/assets/{companions-core-B72WVoHr.js → companions-core-CsbRnlKj.js} +1 -1
- package/dist/client/assets/{connect-E38wZPGE.js → connect-DVbUrnIn.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-DX5XubA7.js → connect-desktop-dialog-Cy4YmtSo.js} +1 -1
- package/dist/client/assets/{connection-DuQxeMS5.js → connection-D29kT_6g.js} +1 -1
- package/dist/client/assets/{connection-card-DjABeNEp.js → connection-card-KGYYyIRz.js} +1 -1
- package/dist/client/assets/{connection-detail-D-W6GQeX.js → connection-detail-l2vcnJ-y.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-BLcYFjnz.js → connection-form-helpers-DVVuF5si.js} +1 -1
- package/dist/client/assets/{connections-d5u8IKIs.js → connections-CxxLnp71.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-B3yoZtVX.js → decopilot-sse-pool-BE_B1lqx.js} +1 -1
- package/dist/client/assets/{dialog-CB6gA5c8.js → dialog-Bq1bzF7J.js} +1 -1
- package/dist/client/assets/{domain-settings-DAWLxjYd.js → domain-settings-CT0Wabe-.js} +1 -1
- package/dist/client/assets/{drawer-BbaKPMRO.js → drawer-CUPXEGAd.js} +1 -1
- package/dist/client/assets/{dropdown-menu-C64Ntp2r.js → dropdown-menu-7EE8Ay1M.js} +1 -1
- package/dist/client/assets/{empty-state-BDi87Qng.js → empty-state-BsmNIaU5.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DNUVBN6a.js → extract-connection-data-D_DPgz4m.js} +1 -1
- package/dist/client/assets/{file-explorer-a4uwGses.js → file-explorer-Biz7DBlk.js} +1 -1
- package/dist/client/assets/{form-DxzXsRTn.js → form-e8U7zFxn.js} +1 -1
- package/dist/client/assets/{general-GrziLc7_.js → general-CUwAHHm3.js} +1 -1
- package/dist/client/assets/{github-repo-picker-D67NbZOh.js → github-repo-picker-D7oPbnSw.js} +1 -1
- package/dist/client/assets/{hooks-DTImC-ND.js → hooks-C0cHNE0b.js} +1 -1
- package/dist/client/assets/{index-qnFeYZet.js → index-BDusD45D.js} +1 -1
- package/dist/client/assets/{index-DWv0TWTe.js → index-BW4QX3uc.js} +1 -1
- package/dist/client/assets/{index-Cpe8zrBr.js → index-Bn-ocDTT.js} +1 -1
- package/dist/client/assets/{index-CfFL-KGG.js → index-C0OZZLFB.js} +3 -3
- package/dist/client/assets/{index-BL9Wz9j0.js → index-CGBEfEJ5.js} +1 -1
- package/dist/client/assets/{index-DFfptVvh.js → index-CUfVwH9-.js} +31 -31
- package/dist/client/assets/{index-BggVpqkV.js → index-CfJpV5Ma.js} +1 -1
- package/dist/client/assets/{index-C73JsG_B.js → index-Cpi3QKTc.js} +3 -3
- package/dist/client/assets/{index-DoJ1Im6q.js → index-DDW-Xzs6.js} +1 -1
- package/dist/client/assets/{index-B-UsFO86.js → index-j2EDyagn.js} +1 -1
- package/dist/client/assets/{index-redirect-BgU_lYJw.js → index-redirect-CjkQl7QB.js} +1 -1
- package/dist/client/assets/{index-CxCIVU81.js → index-v4wnb3Pt.js} +1 -1
- package/dist/client/assets/{input-B3Dt0BFc.js → input-uPFsSc9f.js} +1 -1
- package/dist/client/assets/{integration-icon-WQ7FRKP-.js → integration-icon-B5c7VKfx.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-CRz6hfV2.js → invite-member-dialog-CTJ6nre4.js} +1 -1
- package/dist/client/assets/{label-CVhXL2_0.js → label-IsSjBTBZ.js} +1 -1
- package/dist/client/assets/{layout-CJNJtXap.js → layout-SilBInBa.js} +1 -1
- package/dist/client/assets/{login-8_XsQ5UG.js → login-Ce_uGUod.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DSWXWtuI.js → mcp-oauth-B2tg8JB_.js} +1 -1
- package/dist/client/assets/{members-pQ6yeCIr.js → members-zDkpvXXD.js} +1 -1
- package/dist/client/assets/{monaco-editor-BgF19LTP.js → monaco-editor-0z2tX0LF.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DfyDEKzZ.js → monitoring-stats-row-BaaI8E7s.js} +1 -1
- package/dist/client/assets/{multi-select-b2cAfezm.js → multi-select-Uwt-NxPK.js} +1 -1
- package/dist/client/assets/{oauth-callback-CGIvnkZS.js → oauth-callback-DouhYq_o.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-7QeoJan2.js → oauth-callback-ai-provider-BShpvfta.js} +1 -1
- package/dist/client/assets/{onboarding-Bu_Lojs4.js → onboarding-DKq-zMC3.js} +1 -1
- package/dist/client/assets/{org-install-_qnGnPpj.js → org-install-CQn_a4nS.js} +1 -1
- package/dist/client/assets/{org-layout-CdLZ2WKm.js → org-layout-Bfi36FIF.js} +1 -1
- package/dist/client/assets/{organization-choice-BpCLFuLd.js → organization-choice-DrhaDLSR.js} +1 -1
- package/dist/client/assets/{orgs-D4d2saA9.js → orgs-DUbfWsF4.js} +1 -1
- package/dist/client/assets/{page-seo-form-DgFVm8dY.js → page-seo-form-DvyXvC_O.js} +1 -1
- package/dist/client/assets/{popover-DjVVPtIl.js → popover-wCpfL9Xg.js} +1 -1
- package/dist/client/assets/{post-editor-CpZbBcfU.js → post-editor-DdTAhLyw.js} +1 -1
- package/dist/client/assets/{primitives-BLtFER4M.js → primitives-DGzn3Tdf.js} +1 -1
- package/dist/client/assets/{profile-9_n9EUsC.js → profile-Cl1n4cmN.js} +1 -1
- package/dist/client/assets/project-app-view-D71PazXW.js +1 -0
- package/dist/client/assets/record-editor-BFiOCip9.js +1 -0
- package/dist/client/assets/{redirect-editor-Cc2Gw836.js → redirect-editor-CVMzhH5F.js} +1 -1
- package/dist/client/assets/registry-B7-s9CS6.js +2 -0
- package/dist/client/assets/{registry-layout-DReIbY3A.js → registry-layout-zJwBtTZ5.js} +1 -1
- package/dist/client/assets/{reports-YuPfSqOU.js → reports-DN2c0rhA.js} +1 -1
- package/dist/client/assets/{require-capability-BWqJ3ExN.js → require-capability-GbHhIhad.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CnqRulIu.js → required-auth-layout-CviSU51B.js} +1 -1
- package/dist/client/assets/{reset-password-CswThZYD.js → reset-password-DV9OuMBg.js} +1 -1
- package/dist/client/assets/{roles-DzVgpAin.js → roles-BlnTWtzJ.js} +1 -1
- package/dist/client/assets/{search-input-BXsIyCGs.js → search-input-dXbIuasP.js} +1 -1
- package/dist/client/assets/{secrets-BFnmCGCM.js → secrets-DVZdQb4M.js} +1 -1
- package/dist/client/assets/{sections-editor-DV928kjB.js → sections-editor-lm2oSX40.js} +1 -1
- package/dist/client/assets/{select-D4H00H7x.js → select-CQsSZAeB.js} +1 -1
- package/dist/client/assets/{select-model-Bs9ES5FJ.js → select-model-Bbf5fM4j.js} +1 -1
- package/dist/client/assets/{self-tool-result-xQilYdAI.js → self-tool-result-BAiPCwH6.js} +1 -1
- package/dist/client/assets/{seo-editor-9v5Aly4t.js → seo-editor-C4SokBOk.js} +1 -1
- package/dist/client/assets/{settings-layout-Bbk_vJP6.js → settings-layout-CYdPqvLA.js} +1 -1
- package/dist/client/assets/{settings-section-DM0USFfa.js → settings-section-Cx_fZb-m.js} +1 -1
- package/dist/client/assets/{shell-controls-C_HHxp4G.js → shell-controls-FTeGc167.js} +1 -1
- package/dist/client/assets/{shell-layout-CqOuOd1h.js → shell-layout-DhvGv6C0.js} +1 -1
- package/dist/client/assets/{sidebar-C4odovf2.js → sidebar-DKy5IhKS.js} +1 -1
- package/dist/client/assets/{skeleton-xE3oCbm_.js → skeleton-79DUTJFV.js} +1 -1
- package/dist/client/assets/{sso-CoST-p-H.js → sso-BLXXZmV-.js} +1 -1
- package/dist/client/assets/{store-CUnxCSS9.js → store-gtBm_nVr.js} +1 -1
- package/dist/client/assets/store-registry-BUymURCM.js +2 -0
- package/dist/client/assets/{studio-tools-klkPqqrC.js → studio-tools-CPXDuQEI.js} +1 -1
- package/dist/client/assets/{switch-C7k_-apD.js → switch-C1BC0Sj-.js} +1 -1
- package/dist/client/assets/{tab-id-BiUJXvIQ.js → tab-id-CKBFmCGM.js} +1 -1
- package/dist/client/assets/{table-DYey6IKT.js → table-CDqai6IN.js} +1 -1
- package/dist/client/assets/{tabs-BtIZ-nCd.js → tabs-miIq202h.js} +1 -1
- package/dist/client/assets/{textarea-DBClykee.js → textarea-D01yPMam.js} +1 -1
- package/dist/client/assets/{toggle-group-B1HDWUZB.js → toggle-group-DDFaTBbN.js} +1 -1
- package/dist/client/assets/{toolbar-p14r49Fn.js → toolbar-CfzCof_O.js} +1 -1
- package/dist/client/assets/{tooltip-DuiTY0o9.js → tooltip-m4eG9P-e.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DQA5GgCv.js → use-ai-providers-FXveoQZ7.js} +1 -1
- package/dist/client/assets/{use-api-keys-IopYGQOs.js → use-api-keys-DgdXewIS.js} +1 -1
- package/dist/client/assets/{use-automations-BtCZgBn6.js → use-automations-CNfqkB0m.js} +1 -1
- package/dist/client/assets/{use-autosave-DZY7rK5N.js → use-autosave-Be04nCGc.js} +1 -1
- package/dist/client/assets/{use-capability-BT-CuG62.js → use-capability-vRhGM1yw.js} +1 -1
- package/dist/client/assets/{use-clock-tick-CcFkN4LK.js → use-clock-tick-c_ux9QvV.js} +1 -1
- package/dist/client/assets/{use-connection-BnA6d1Ni.js → use-connection-CXVgYxpF.js} +1 -1
- package/dist/client/assets/{use-copy-C3t8REUw.js → use-copy-CaH1-5AH.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-ByXYpLUT.js → use-create-virtual-mcp-Cul7AY1y.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DgyQozTA.js → use-debounced-autosave-4kpLHHY2.js} +1 -1
- package/dist/client/assets/{use-debounced-value-BqSBuhGt.js → use-debounced-value-w9NnEnSq.js} +1 -1
- package/dist/client/assets/{use-deco-credits-kP32aBxc.js → use-deco-credits-9VzQZRFo.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-DRgpVSYL.js → use-decopilot-events-DbgOATmJ.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DvqsGSRh.js → use-delete-connection-Dm36NnqI.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-vlN6DtAM.js → use-deployment-admin-DFUllAhv.js} +1 -1
- package/dist/client/assets/{use-file-configs-3P-hFGAE.js → use-file-configs-uAwgkxbf.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-Bg7gy_gm.js → use-infinite-scroll-B4doGVNW.js} +1 -1
- package/dist/client/assets/{use-join-requests-Dpg3Jz8U.js → use-join-requests-Dl_8K-Qb.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-Dy9fP3wm.js → use-mcp-auth-status-DE1Zn8js.js} +1 -1
- package/dist/client/assets/{use-mcp-client-PyiD5o0t.js → use-mcp-client-BlKKV1Up.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CjU41wHq.js → use-mcp-tools-ChP6PgCo.js} +1 -1
- package/dist/client/assets/{use-members-RxiZxyO0.js → use-members-B-KQ_R3U.js} +1 -1
- package/dist/client/assets/{use-mobile-KlJFg_qr.js → use-mobile-C4Pwc0jU.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-UYAYZIg_.js → use-navigate-to-agent-DKAN-J9H.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-BVXoUa1e.js → use-org-auth-client-B44RiYOM.js} +1 -1
- package/dist/client/assets/{use-org-sso-mExEAM7e.js → use-org-sso-DS_NLhEx.js} +1 -1
- package/dist/client/assets/{use-organization-roles-BIpor5pC.js → use-organization-roles-DCTrfgcY.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DLISUOnV.js → use-organization-settings-DH9NkvyU.js} +1 -1
- package/dist/client/assets/{use-registry-app-mgOc2xSW.js → use-registry-app-BWOs5R0g.js} +1 -1
- package/dist/client/assets/{use-registry-connections-Cl5wbMvo.js → use-registry-connections-GudNq97X.js} +1 -1
- package/dist/client/assets/{use-secrets-8hoY11qt.js → use-secrets-U9bmBrBv.js} +1 -1
- package/dist/client/assets/{use-status-sounds-C1OdUZlw.js → use-status-sounds-C_Yqxuc3.js} +1 -1
- package/dist/client/assets/{use-view-mode-LZheY_pl.js → use-view-mode-j_5O4nxZ.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Dqjjhab9.js → use-virtual-mcp-Dxo3FMQn.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DJ6QbQsy.js +1 -0
- package/dist/client/assets/{useQueries-B7WFhx3W.js → useQueries-D6TFDK-r.js} +1 -1
- package/dist/client/assets/{useRouterState-CZBLKZqs.js → useRouterState-DfxRJ4Sl.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Dkm2M6Op.js +1 -0
- package/dist/client/assets/{users-B4hIX8I5.js → users-DkNxliAC.js} +1 -1
- package/dist/client/assets/{variant-calendar-CZQbNHxg.js → variant-calendar-C9jo05Gr.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-Drcg8nNX.js → view-mode-toggle-CNepRRI9.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/project-app-view-CYPINTwU.js +0 -1
- package/dist/client/assets/record-editor-ASCaqGIM.js +0 -1
- package/dist/client/assets/registry-CEiVfYDA.js +0 -2
- package/dist/client/assets/store-registry-BMBbKDhn.js +0 -2
- package/dist/client/assets/useInfiniteQuery-vPJtf8GD.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BjX-kPGz.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as F,o as ne,K as U,b as z,j as f,r as M,m as se}from"./index-CfFL-KGG.js";import{ar as oe,K as re,af as G,bn as ie,bo as le,D as ce,bp as ae,S as ue}from"./index-DFfptVvh.js";import{L as Y}from"./label-CVhXL2_0.js";import{S as A}from"./switch-C7k_-apD.js";import{d as fe,a as pe,b as de,c as ye,S as he}from"./select-D4H00H7x.js";const me="website/sections/Rendering/Lazy.tsx";function O(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function N(t){if(!O(t))return!1;const e=t.__resolveType;return typeof e=="string"&&oe(e)}function k(t){return t!=null}function w(t){if(t==null)return t;if(N(t)){const e=t.section;return e==null?null:O(e)?e:{}}return O(t)?t:void 0}function Q(t,e){return t===null?null:N(e)?{...e,section:t}:t}function Se(t){return{__resolveType:t}}function ge(t,e){if(!k(e))return null;if(t){const n=w(e)??{};return{__resolveType:me,section:n}}return N(e)?w(e)??null:O(e)?e:null}const ve="General";function L(t){return/\/Seo(V\d+)?\.tsx$/i.test(t)||t.includes("/sections/Seo")}function W(t,e){return t===D?ve:e}function Z(t){const e=ie(t),n=new Set,s=[];for(const o of e)L(o.resolveType)&&(le(o.resolveType)||n.has(o.resolveType)||(n.add(o.resolveType),s.push({resolveType:o.resolveType,title:W(o.resolveType,o.title),description:o.description})));return s}function V(t){const e=re(t),n=G(e,t),s=Z(n?.properties?.seo);return s.length>0?s:be(t)}function be(t){const e=t.manifest?.blocks??{},n=[];for(const[s,o]of Object.entries(e))if(s.includes("sections"))for(const i of Object.keys(o)){if(!L(i))continue;const r=i.split("/").pop()?.replace(/\.tsx?$/,"")??i;n.push({resolveType:i,title:W(i,r)})}return n}function q(t){const e=V(t),n=e.find(s=>s.resolveType===D);return n?n.resolveType:e[0]?.resolveType??D}function H(t,e){const n=e.__resolveType;if(typeof n=="string"){const s=G(n,t),o=Z(s?.properties?.seo);if(o.length>0)return o}return V(t)}function Te(t,e){const n=H(t,e),s=n.find(o=>o.resolveType===D);return s?s.resolveType:n[0]?.resolveType??q(t)}function xe(t,e){const n=e?.__resolveType;return typeof n=="string"&&n.length>0?n:q(t)}function _e(t,e,n){const s=n.__resolveType;return typeof s=="string"&&L(s)?s:Te(t,e)}const Re=new Set(["website/pages/Page.tsx","$live/pages/LivePage.tsx"]),D="website/sections/Seo/SeoV2.tsx",Ee=["title","titleTemplate","description","descriptionTemplate","image","favicon","type","noIndexing"];function K(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function je(t){return typeof t.__resolveType=="string"&&L(t.__resolveType)?!0:Ee.some(e=>e in t)}function Ce(t,e){for(const[n,s]of Object.entries(t)){if(!K(s))continue;const o=s,i=o.__resolveType;if(typeof i=="string"&&Re.has(i))continue;const r=o.seo;if(K(r)){const c=r;if(je(c))return{blockKey:n,kind:"nested",seoData:c,blockData:o,seoResolveType:e?_e(e,o,c):typeof c.__resolveType=="string"&&L(c.__resolveType)?c.__resolveType:D}}}for(const[n,s]of Object.entries(t)){if(!K(s))continue;const o=s;if(typeof o.__resolveType=="string"&&L(o.__resolveType))return{blockKey:n,kind:"block",seoData:o,blockData:o,seoResolveType:o.__resolveType}}return null}function De(t,e){return t.kind==="block"?e:{...t.blockData,seo:e}}function qe(t,e,n){if(e.kind==="site"){const l=Ce(t,n);return l?{blockKey:l.blockKey,seoData:l.seoData,seoResolveType:l.seoResolveType,siteKind:l.kind,seoTypeOptions:n?H(n,l.blockData):void 0,build:h=>De(l,h)}:null}const s=t[e.pageKey];if(!K(s))return null;const o=s,i=o.seo,r=w(i),c=r&&K(r)?r:void 0;return{blockKey:e.pageKey,seoData:c,rawSeoData:i,seoResolveType:n?xe(n,c):typeof c?.__resolveType=="string"?c.__resolveType:D,seoTypeOptions:n?V(n):void 0,build:l=>({...o,seo:l===null?null:Q(l,i)})}}function I(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function Pe(t,e,n,s){if(t.kind==="page"){if(!I(n))return null;const o=n.seo!==void 0?n.seo:e.rawSeoData;return{...n,seo:s===null?null:Q(s,o)}}return I(n)?e.siteKind==="block"?s:{...n,seo:s}:null}function He(t,e){const n=t.__resolveType;return typeof n=="string"&&n.length>0?n:e.seoResolveType}function Je(t){const e=F.c(23),{orgSlug:n,virtualMcpId:s,branch:o,target:i,resolved:r,onSaved:c}=t,l=ne(),h=`${n}/${s}/${o}`;let p;e[0]!==o||e[1]!==n||e[2]!==s?(p={orgSlug:n,virtualMcpId:s,branch:o},e[0]=o,e[1]=n,e[2]=s,e[3]=p):p=e[3];let u;e[4]!==c?(u={onSaved:c},e[4]=c,e[5]=u):u=e[5];const{save:a,flush:S,isPending:d}=ce(p,u);let m;e[6]!==h||e[7]!==l||e[8]!==r||e[9]!==a||e[10]!==i?(m=E=>{r&&a(r.blockKey,()=>{const b=l.getQueryData(U.decofile(h))?.[r.blockKey];return Pe(i,r,b,E)})},e[6]=h,e[7]=l,e[8]=r,e[9]=a,e[10]=i,e[11]=m):m=e[11];const g=m;let v;e[12]!==h||e[13]!==l||e[14]!==r||e[15]!==a||e[16]!==i?(v=E=>{!r||i.kind!=="page"||a(r.blockKey,()=>{const b=l.getQueryData(U.decofile(h))?.[r.blockKey];return I(b)?{...b,seo:E}:null})},e[12]=h,e[13]=l,e[14]=r,e[15]=a,e[16]=i,e[17]=v):v=e[17];const R=v;let x;return e[18]!==S||e[19]!==d||e[20]!==R||e[21]!==g?(x={persistSeo:g,persistRawSeo:R,flush:S,isPending:d},e[18]=S,e[19]=d,e[20]=R,e[21]=g,e[22]=x):x=e[22],x}const Le="https://deco.cx/docs/en/performance/edge-async-render";function Fe(t){const e=F.c(23),{rawSeo:n,onEnableChange:s,onAsyncRenderChange:o,children:i}=t,r=z();let c;e[0]!==n?(c=k(n),e[0]=n,e[1]=c):c=e[1];const l=c;let h;e[2]!==n?(h=N(n),e[2]=n,e[3]=h):h=e[3];const p=h;let u;e[4]!==r?(u=r("sectionsEditor.seoFormChrome.enableLabel"),e[4]=r,e[5]=u):u=e[5];let a;e[6]!==u?(a=f.jsx(Y,{htmlFor:"seo-enable",className:"text-sm font-medium",children:u}),e[6]=u,e[7]=a):a=e[7];let S;e[8]!==l||e[9]!==s?(S=f.jsx(A,{id:"seo-enable",checked:l,onCheckedChange:s}),e[8]=l,e[9]=s,e[10]=S):S=e[10];let d;e[11]!==a||e[12]!==S?(d=f.jsxs("div",{className:"flex items-center justify-between gap-3",children:[a,S]}),e[11]=a,e[12]=S,e[13]=d):d=e[13];let m;e[14]!==p||e[15]!==i||e[16]!==l||e[17]!==o||e[18]!==r?(m=l&&f.jsxs(f.Fragment,{children:[i,f.jsxs("div",{className:"flex items-start justify-between gap-3 border-t pt-4",children:[f.jsxs("div",{className:"min-w-0 space-y-1",children:[f.jsx("p",{className:"text-sm font-medium",children:r("sectionsEditor.seoFormChrome.asyncRenderLabel")}),f.jsxs("p",{className:"text-xs leading-normal text-muted-foreground",children:["Render SEO asynchronously with edge caching. Learn more in our"," ",f.jsx("a",{href:Le,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline-offset-4 hover:underline",children:r("sectionsEditor.seoFormChrome.documentationLinkText")}),"."]})]}),f.jsx(A,{id:"seo-async-render",checked:p,onCheckedChange:o,className:"shrink-0"})]})]}),e[14]=p,e[15]=i,e[16]=l,e[17]=o,e[18]=r,e[19]=m):m=e[19];let g;return e[20]!==d||e[21]!==m?(g=f.jsxs("div",{className:"space-y-4",children:[d,m]}),e[20]=d,e[21]=m,e[22]=g):g=e[22],g}const B=["type","title","description","canonical","favicon","image","themeColor"],Ke=["jsonLD","omitVariants","title","description","noIndexing","ignoreStructuredData"],Oe=["jsonLD","title","description","noIndexing","configJsonLD"];function J(t){return t===D||/\/Seo\/SeoV2\.tsx$/i.test(t)?"general":/\/Seo\/SeoPDP/i.test(t)?"pdp":/\/Seo\/SeoPLP/i.test(t)?"plp":"full"}function ke(t){switch(t){case"general":return B;case"pdp":return Ke;case"plp":return Oe;default:return null}}function X(t,e){const n=ke(J(e));if(!n||!t.properties)return t;const s={};for(const o of n){const i=t.properties[o];i&&(s[o]=i)}return{...t,properties:s}}function Ne(){return B.filter(t=>t!=="type")}function $e(t){return t.replace(/([A-Z])/g," $1").replace(/^./,e=>e.toUpperCase()).trim()}function Ae(t,e){return t[e]===void 0}function we(t){const e=F.c(13),{schema:n,value:s,onChange:o,siteDefaultSeo:i,formResetKey:r}=t,l=X(n,D).properties??{},h=Ne();let p;e[0]!==i?(p=!!i&&Object.keys(i).length>0,e[0]=i,e[1]=p):p=e[1];const u=p,[a,S]=M.useState(r);let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d={},e[2]=d):d=e[2];const[m,g]=M.useState(d);a!==r&&(S(r),g({}));let v;e[3]!==m||e[4]!==s?(v=y=>m[y]!==void 0?m[y]:Ae(s,y),e[3]=m,e[4]=s,e[5]=v):v=e[5];const R=v;let x;e[6]!==o||e[7]!==i||e[8]!==s?(x=(y,T)=>{g(C=>({...C,[y]:T}));const j={...s};if(T)delete j[y];else{const C=i?.[y];j[y]=C??(y==="type"?"website":"")}o(j)},e[6]=o,e[7]=i,e[8]=s,e[9]=x):x=e[9];const E=x,P="min-w-0 space-y-6",b=B.map(y=>{const T=l[y];if(!T)return null;const j=u&&h.includes(y),C=j&&R(y),ee=C?i?.[y]??s[y]:s[y],te=T.title??$e(y);return f.jsxs("div",{className:"space-y-2",children:[f.jsx("div",{className:se(C&&"pointer-events-none opacity-60"),children:ae({schema:T,value:ee,onChange:$=>{C||o({...s,[y]:$})},path:y,label:te,breadcrumbPath:[],onBreadcrumbChange:Ie})}),j&&f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx(A,{id:`seo-use-default-${y}`,checked:C,onCheckedChange:$=>E(y,$)}),f.jsx(Y,{htmlFor:`seo-use-default-${y}`,className:"text-xs font-normal text-muted-foreground",children:"Use default"})]})]},y)});let _;return e[10]!==r||e[11]!==b?(_=f.jsx("div",{className:P,children:b},r),e[10]=r,e[11]=b,e[12]=_):_=e[12],_}function Ie(){}function Ye(t){const e=F.c(18),{schema:n,resolveType:s,value:o,formResetKey:i,onChange:r,onBreadcrumbChange:c,siteDefaultSeo:l}=t;if(J(s)==="general"){let m;e[0]!==r?(m=v=>r(v),e[0]=r,e[1]=m):m=e[1];let g;return e[2]!==i||e[3]!==n||e[4]!==l||e[5]!==m||e[6]!==o?(g=f.jsx(we,{schema:n,value:o,onChange:m,siteDefaultSeo:l,formResetKey:i}),e[2]=i,e[3]=n,e[4]=l,e[5]=m,e[6]=o,e[7]=g):g=e[7],g}let p;e[8]!==s||e[9]!==n?(p=X(n,s),e[8]=s,e[9]=n,e[10]=p):p=e[10];const u=p;let a;e[11]===Symbol.for("react.memo_cache_sentinel")?(a=[],e[11]=a):a=e[11];const S=c??Ve;let d;return e[12]!==u||e[13]!==i||e[14]!==r||e[15]!==S||e[16]!==o?(d=f.jsx(ue,{schema:u,value:o,onChange:r,basePath:"",breadcrumbPath:a,onBreadcrumbChange:S},i),e[12]=u,e[13]=i,e[14]=r,e[15]=S,e[16]=o,e[17]=d):d=e[17],d}function Ve(){}function Be(t){const e=F.c(20),{options:n,value:s,onChange:o}=t,i=z();if(n.length<=1)return null;let r;e[0]!==i?(r=i("sectionsEditor.seoTypeSelect.label"),e[0]=i,e[1]=r):r=e[1];let c;e[2]!==r?(c=f.jsx(Y,{className:"text-xs text-muted-foreground",children:r}),e[2]=r,e[3]=c):c=e[3];let l;e[4]!==i?(l=i("sectionsEditor.seoTypeSelect.placeholder"),e[4]=i,e[5]=l):l=e[5];let h;e[6]!==l?(h=f.jsx(pe,{className:"w-full",children:f.jsx(de,{placeholder:l})}),e[6]=l,e[7]=h):h=e[7];let p;e[8]!==n?(p=n.filter(Me).map(Ue),e[8]=n,e[9]=p):p=e[9];let u;e[10]!==p?(u=f.jsx(ye,{children:p}),e[10]=p,e[11]=u):u=e[11];let a;e[12]!==o||e[13]!==h||e[14]!==u||e[15]!==s?(a=f.jsxs(he,{value:s,onValueChange:o,children:[h,u]}),e[12]=o,e[13]=h,e[14]=u,e[15]=s,e[16]=a):a=e[16];let S;return e[17]!==c||e[18]!==a?(S=f.jsxs("div",{className:"mb-4 flex flex-col gap-1.5",children:[c,a]}),e[17]=c,e[18]=a,e[19]=S):S=e[19],S}function Ue(t){return f.jsx(fe,{value:t.resolveType,children:t.title},t.resolveType)}function Me(t){return t.resolveType.length>0}function Xe(t){const e=F.c(33),{rawSeo:n,innerSeo:s,defaultResolveType:o,seoSchema:i,activeResolveType:r,seoTypeOptions:c,formResetKey:l,siteDefaultSeo:h,onBreadcrumbChange:p,onPersistRaw:u,onInnerChange:a,onClearForm:S,onBumpFormKey:d,beforeFields:m}=t;let g;e[0]!==o||e[1]!==d||e[2]!==S||e[3]!==u?(g=T=>{if(T){const j=Se(o);u(j),S(),d();return}u(null),S(),d()},e[0]=o,e[1]=d,e[2]=S,e[3]=u,e[4]=g):g=e[4];const v=g;let R;e[5]!==u||e[6]!==n?(R=T=>{const j=ge(T,n);u(j)},e[5]=u,e[6]=n,e[7]=R):R=e[7];const x=R;let E;e[8]!==d||e[9]!==a?(E=T=>{a({__resolveType:T}),d()},e[8]=d,e[9]=a,e[10]=E):E=e[10];const P=E;let b;e[11]!==r||e[12]!==P||e[13]!==n||e[14]!==i||e[15]!==c?(b=k(n)&&i&&r&&c&&c.length>0&&f.jsx(Be,{options:c,value:r,onChange:P}),e[11]=r,e[12]=P,e[13]=n,e[14]=i,e[15]=c,e[16]=b):b=e[16];let _;e[17]!==r||e[18]!==l||e[19]!==s||e[20]!==p||e[21]!==a||e[22]!==n||e[23]!==i||e[24]!==h?(_=k(n)&&i&&r&&f.jsx(Ye,{schema:i,resolveType:r,value:s,formResetKey:l,onChange:T=>a(T),onBreadcrumbChange:p,siteDefaultSeo:h}),e[17]=r,e[18]=l,e[19]=s,e[20]=p,e[21]=a,e[22]=n,e[23]=i,e[24]=h,e[25]=_):_=e[25];let y;return e[26]!==m||e[27]!==x||e[28]!==v||e[29]!==n||e[30]!==b||e[31]!==_?(y=f.jsxs(Fe,{rawSeo:n,onEnableChange:v,onAsyncRenderChange:x,children:[m,b,_]}),e[26]=m,e[27]=x,e[28]=v,e[29]=n,e[30]=b,e[31]=_,e[32]=y):y=e[32],y}export{Xe as P,Ye as S,He as a,Pe as b,Je as c,q as d,Ce as f,k as i,qe as r,w as u};
|
|
1
|
+
import{c as F,o as ne,K as U,b as z,j as f,r as M,m as se}from"./index-C0OZZLFB.js";import{ar as oe,K as re,af as G,bn as ie,bo as le,D as ce,bp as ae,S as ue}from"./index-CUfVwH9-.js";import{L as Y}from"./label-IsSjBTBZ.js";import{S as A}from"./switch-C1BC0Sj-.js";import{d as fe,a as pe,b as de,c as ye,S as he}from"./select-CQsSZAeB.js";const me="website/sections/Rendering/Lazy.tsx";function O(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function N(t){if(!O(t))return!1;const e=t.__resolveType;return typeof e=="string"&&oe(e)}function k(t){return t!=null}function w(t){if(t==null)return t;if(N(t)){const e=t.section;return e==null?null:O(e)?e:{}}return O(t)?t:void 0}function Q(t,e){return t===null?null:N(e)?{...e,section:t}:t}function Se(t){return{__resolveType:t}}function ge(t,e){if(!k(e))return null;if(t){const n=w(e)??{};return{__resolveType:me,section:n}}return N(e)?w(e)??null:O(e)?e:null}const ve="General";function L(t){return/\/Seo(V\d+)?\.tsx$/i.test(t)||t.includes("/sections/Seo")}function W(t,e){return t===D?ve:e}function Z(t){const e=ie(t),n=new Set,s=[];for(const o of e)L(o.resolveType)&&(le(o.resolveType)||n.has(o.resolveType)||(n.add(o.resolveType),s.push({resolveType:o.resolveType,title:W(o.resolveType,o.title),description:o.description})));return s}function V(t){const e=re(t),n=G(e,t),s=Z(n?.properties?.seo);return s.length>0?s:be(t)}function be(t){const e=t.manifest?.blocks??{},n=[];for(const[s,o]of Object.entries(e))if(s.includes("sections"))for(const i of Object.keys(o)){if(!L(i))continue;const r=i.split("/").pop()?.replace(/\.tsx?$/,"")??i;n.push({resolveType:i,title:W(i,r)})}return n}function q(t){const e=V(t),n=e.find(s=>s.resolveType===D);return n?n.resolveType:e[0]?.resolveType??D}function H(t,e){const n=e.__resolveType;if(typeof n=="string"){const s=G(n,t),o=Z(s?.properties?.seo);if(o.length>0)return o}return V(t)}function Te(t,e){const n=H(t,e),s=n.find(o=>o.resolveType===D);return s?s.resolveType:n[0]?.resolveType??q(t)}function xe(t,e){const n=e?.__resolveType;return typeof n=="string"&&n.length>0?n:q(t)}function _e(t,e,n){const s=n.__resolveType;return typeof s=="string"&&L(s)?s:Te(t,e)}const Re=new Set(["website/pages/Page.tsx","$live/pages/LivePage.tsx"]),D="website/sections/Seo/SeoV2.tsx",Ee=["title","titleTemplate","description","descriptionTemplate","image","favicon","type","noIndexing"];function K(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function je(t){return typeof t.__resolveType=="string"&&L(t.__resolveType)?!0:Ee.some(e=>e in t)}function Ce(t,e){for(const[n,s]of Object.entries(t)){if(!K(s))continue;const o=s,i=o.__resolveType;if(typeof i=="string"&&Re.has(i))continue;const r=o.seo;if(K(r)){const c=r;if(je(c))return{blockKey:n,kind:"nested",seoData:c,blockData:o,seoResolveType:e?_e(e,o,c):typeof c.__resolveType=="string"&&L(c.__resolveType)?c.__resolveType:D}}}for(const[n,s]of Object.entries(t)){if(!K(s))continue;const o=s;if(typeof o.__resolveType=="string"&&L(o.__resolveType))return{blockKey:n,kind:"block",seoData:o,blockData:o,seoResolveType:o.__resolveType}}return null}function De(t,e){return t.kind==="block"?e:{...t.blockData,seo:e}}function qe(t,e,n){if(e.kind==="site"){const l=Ce(t,n);return l?{blockKey:l.blockKey,seoData:l.seoData,seoResolveType:l.seoResolveType,siteKind:l.kind,seoTypeOptions:n?H(n,l.blockData):void 0,build:h=>De(l,h)}:null}const s=t[e.pageKey];if(!K(s))return null;const o=s,i=o.seo,r=w(i),c=r&&K(r)?r:void 0;return{blockKey:e.pageKey,seoData:c,rawSeoData:i,seoResolveType:n?xe(n,c):typeof c?.__resolveType=="string"?c.__resolveType:D,seoTypeOptions:n?V(n):void 0,build:l=>({...o,seo:l===null?null:Q(l,i)})}}function I(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function Pe(t,e,n,s){if(t.kind==="page"){if(!I(n))return null;const o=n.seo!==void 0?n.seo:e.rawSeoData;return{...n,seo:s===null?null:Q(s,o)}}return I(n)?e.siteKind==="block"?s:{...n,seo:s}:null}function He(t,e){const n=t.__resolveType;return typeof n=="string"&&n.length>0?n:e.seoResolveType}function Je(t){const e=F.c(23),{orgSlug:n,virtualMcpId:s,branch:o,target:i,resolved:r,onSaved:c}=t,l=ne(),h=`${n}/${s}/${o}`;let p;e[0]!==o||e[1]!==n||e[2]!==s?(p={orgSlug:n,virtualMcpId:s,branch:o},e[0]=o,e[1]=n,e[2]=s,e[3]=p):p=e[3];let u;e[4]!==c?(u={onSaved:c},e[4]=c,e[5]=u):u=e[5];const{save:a,flush:S,isPending:d}=ce(p,u);let m;e[6]!==h||e[7]!==l||e[8]!==r||e[9]!==a||e[10]!==i?(m=E=>{r&&a(r.blockKey,()=>{const b=l.getQueryData(U.decofile(h))?.[r.blockKey];return Pe(i,r,b,E)})},e[6]=h,e[7]=l,e[8]=r,e[9]=a,e[10]=i,e[11]=m):m=e[11];const g=m;let v;e[12]!==h||e[13]!==l||e[14]!==r||e[15]!==a||e[16]!==i?(v=E=>{!r||i.kind!=="page"||a(r.blockKey,()=>{const b=l.getQueryData(U.decofile(h))?.[r.blockKey];return I(b)?{...b,seo:E}:null})},e[12]=h,e[13]=l,e[14]=r,e[15]=a,e[16]=i,e[17]=v):v=e[17];const R=v;let x;return e[18]!==S||e[19]!==d||e[20]!==R||e[21]!==g?(x={persistSeo:g,persistRawSeo:R,flush:S,isPending:d},e[18]=S,e[19]=d,e[20]=R,e[21]=g,e[22]=x):x=e[22],x}const Le="https://deco.cx/docs/en/performance/edge-async-render";function Fe(t){const e=F.c(23),{rawSeo:n,onEnableChange:s,onAsyncRenderChange:o,children:i}=t,r=z();let c;e[0]!==n?(c=k(n),e[0]=n,e[1]=c):c=e[1];const l=c;let h;e[2]!==n?(h=N(n),e[2]=n,e[3]=h):h=e[3];const p=h;let u;e[4]!==r?(u=r("sectionsEditor.seoFormChrome.enableLabel"),e[4]=r,e[5]=u):u=e[5];let a;e[6]!==u?(a=f.jsx(Y,{htmlFor:"seo-enable",className:"text-sm font-medium",children:u}),e[6]=u,e[7]=a):a=e[7];let S;e[8]!==l||e[9]!==s?(S=f.jsx(A,{id:"seo-enable",checked:l,onCheckedChange:s}),e[8]=l,e[9]=s,e[10]=S):S=e[10];let d;e[11]!==a||e[12]!==S?(d=f.jsxs("div",{className:"flex items-center justify-between gap-3",children:[a,S]}),e[11]=a,e[12]=S,e[13]=d):d=e[13];let m;e[14]!==p||e[15]!==i||e[16]!==l||e[17]!==o||e[18]!==r?(m=l&&f.jsxs(f.Fragment,{children:[i,f.jsxs("div",{className:"flex items-start justify-between gap-3 border-t pt-4",children:[f.jsxs("div",{className:"min-w-0 space-y-1",children:[f.jsx("p",{className:"text-sm font-medium",children:r("sectionsEditor.seoFormChrome.asyncRenderLabel")}),f.jsxs("p",{className:"text-xs leading-normal text-muted-foreground",children:["Render SEO asynchronously with edge caching. Learn more in our"," ",f.jsx("a",{href:Le,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline-offset-4 hover:underline",children:r("sectionsEditor.seoFormChrome.documentationLinkText")}),"."]})]}),f.jsx(A,{id:"seo-async-render",checked:p,onCheckedChange:o,className:"shrink-0"})]})]}),e[14]=p,e[15]=i,e[16]=l,e[17]=o,e[18]=r,e[19]=m):m=e[19];let g;return e[20]!==d||e[21]!==m?(g=f.jsxs("div",{className:"space-y-4",children:[d,m]}),e[20]=d,e[21]=m,e[22]=g):g=e[22],g}const B=["type","title","description","canonical","favicon","image","themeColor"],Ke=["jsonLD","omitVariants","title","description","noIndexing","ignoreStructuredData"],Oe=["jsonLD","title","description","noIndexing","configJsonLD"];function J(t){return t===D||/\/Seo\/SeoV2\.tsx$/i.test(t)?"general":/\/Seo\/SeoPDP/i.test(t)?"pdp":/\/Seo\/SeoPLP/i.test(t)?"plp":"full"}function ke(t){switch(t){case"general":return B;case"pdp":return Ke;case"plp":return Oe;default:return null}}function X(t,e){const n=ke(J(e));if(!n||!t.properties)return t;const s={};for(const o of n){const i=t.properties[o];i&&(s[o]=i)}return{...t,properties:s}}function Ne(){return B.filter(t=>t!=="type")}function $e(t){return t.replace(/([A-Z])/g," $1").replace(/^./,e=>e.toUpperCase()).trim()}function Ae(t,e){return t[e]===void 0}function we(t){const e=F.c(13),{schema:n,value:s,onChange:o,siteDefaultSeo:i,formResetKey:r}=t,l=X(n,D).properties??{},h=Ne();let p;e[0]!==i?(p=!!i&&Object.keys(i).length>0,e[0]=i,e[1]=p):p=e[1];const u=p,[a,S]=M.useState(r);let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d={},e[2]=d):d=e[2];const[m,g]=M.useState(d);a!==r&&(S(r),g({}));let v;e[3]!==m||e[4]!==s?(v=y=>m[y]!==void 0?m[y]:Ae(s,y),e[3]=m,e[4]=s,e[5]=v):v=e[5];const R=v;let x;e[6]!==o||e[7]!==i||e[8]!==s?(x=(y,T)=>{g(C=>({...C,[y]:T}));const j={...s};if(T)delete j[y];else{const C=i?.[y];j[y]=C??(y==="type"?"website":"")}o(j)},e[6]=o,e[7]=i,e[8]=s,e[9]=x):x=e[9];const E=x,P="min-w-0 space-y-6",b=B.map(y=>{const T=l[y];if(!T)return null;const j=u&&h.includes(y),C=j&&R(y),ee=C?i?.[y]??s[y]:s[y],te=T.title??$e(y);return f.jsxs("div",{className:"space-y-2",children:[f.jsx("div",{className:se(C&&"pointer-events-none opacity-60"),children:ae({schema:T,value:ee,onChange:$=>{C||o({...s,[y]:$})},path:y,label:te,breadcrumbPath:[],onBreadcrumbChange:Ie})}),j&&f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx(A,{id:`seo-use-default-${y}`,checked:C,onCheckedChange:$=>E(y,$)}),f.jsx(Y,{htmlFor:`seo-use-default-${y}`,className:"text-xs font-normal text-muted-foreground",children:"Use default"})]})]},y)});let _;return e[10]!==r||e[11]!==b?(_=f.jsx("div",{className:P,children:b},r),e[10]=r,e[11]=b,e[12]=_):_=e[12],_}function Ie(){}function Ye(t){const e=F.c(18),{schema:n,resolveType:s,value:o,formResetKey:i,onChange:r,onBreadcrumbChange:c,siteDefaultSeo:l}=t;if(J(s)==="general"){let m;e[0]!==r?(m=v=>r(v),e[0]=r,e[1]=m):m=e[1];let g;return e[2]!==i||e[3]!==n||e[4]!==l||e[5]!==m||e[6]!==o?(g=f.jsx(we,{schema:n,value:o,onChange:m,siteDefaultSeo:l,formResetKey:i}),e[2]=i,e[3]=n,e[4]=l,e[5]=m,e[6]=o,e[7]=g):g=e[7],g}let p;e[8]!==s||e[9]!==n?(p=X(n,s),e[8]=s,e[9]=n,e[10]=p):p=e[10];const u=p;let a;e[11]===Symbol.for("react.memo_cache_sentinel")?(a=[],e[11]=a):a=e[11];const S=c??Ve;let d;return e[12]!==u||e[13]!==i||e[14]!==r||e[15]!==S||e[16]!==o?(d=f.jsx(ue,{schema:u,value:o,onChange:r,basePath:"",breadcrumbPath:a,onBreadcrumbChange:S},i),e[12]=u,e[13]=i,e[14]=r,e[15]=S,e[16]=o,e[17]=d):d=e[17],d}function Ve(){}function Be(t){const e=F.c(20),{options:n,value:s,onChange:o}=t,i=z();if(n.length<=1)return null;let r;e[0]!==i?(r=i("sectionsEditor.seoTypeSelect.label"),e[0]=i,e[1]=r):r=e[1];let c;e[2]!==r?(c=f.jsx(Y,{className:"text-xs text-muted-foreground",children:r}),e[2]=r,e[3]=c):c=e[3];let l;e[4]!==i?(l=i("sectionsEditor.seoTypeSelect.placeholder"),e[4]=i,e[5]=l):l=e[5];let h;e[6]!==l?(h=f.jsx(pe,{className:"w-full",children:f.jsx(de,{placeholder:l})}),e[6]=l,e[7]=h):h=e[7];let p;e[8]!==n?(p=n.filter(Me).map(Ue),e[8]=n,e[9]=p):p=e[9];let u;e[10]!==p?(u=f.jsx(ye,{children:p}),e[10]=p,e[11]=u):u=e[11];let a;e[12]!==o||e[13]!==h||e[14]!==u||e[15]!==s?(a=f.jsxs(he,{value:s,onValueChange:o,children:[h,u]}),e[12]=o,e[13]=h,e[14]=u,e[15]=s,e[16]=a):a=e[16];let S;return e[17]!==c||e[18]!==a?(S=f.jsxs("div",{className:"mb-4 flex flex-col gap-1.5",children:[c,a]}),e[17]=c,e[18]=a,e[19]=S):S=e[19],S}function Ue(t){return f.jsx(fe,{value:t.resolveType,children:t.title},t.resolveType)}function Me(t){return t.resolveType.length>0}function Xe(t){const e=F.c(33),{rawSeo:n,innerSeo:s,defaultResolveType:o,seoSchema:i,activeResolveType:r,seoTypeOptions:c,formResetKey:l,siteDefaultSeo:h,onBreadcrumbChange:p,onPersistRaw:u,onInnerChange:a,onClearForm:S,onBumpFormKey:d,beforeFields:m}=t;let g;e[0]!==o||e[1]!==d||e[2]!==S||e[3]!==u?(g=T=>{if(T){const j=Se(o);u(j),S(),d();return}u(null),S(),d()},e[0]=o,e[1]=d,e[2]=S,e[3]=u,e[4]=g):g=e[4];const v=g;let R;e[5]!==u||e[6]!==n?(R=T=>{const j=ge(T,n);u(j)},e[5]=u,e[6]=n,e[7]=R):R=e[7];const x=R;let E;e[8]!==d||e[9]!==a?(E=T=>{a({__resolveType:T}),d()},e[8]=d,e[9]=a,e[10]=E):E=e[10];const P=E;let b;e[11]!==r||e[12]!==P||e[13]!==n||e[14]!==i||e[15]!==c?(b=k(n)&&i&&r&&c&&c.length>0&&f.jsx(Be,{options:c,value:r,onChange:P}),e[11]=r,e[12]=P,e[13]=n,e[14]=i,e[15]=c,e[16]=b):b=e[16];let _;e[17]!==r||e[18]!==l||e[19]!==s||e[20]!==p||e[21]!==a||e[22]!==n||e[23]!==i||e[24]!==h?(_=k(n)&&i&&r&&f.jsx(Ye,{schema:i,resolveType:r,value:s,formResetKey:l,onChange:T=>a(T),onBreadcrumbChange:p,siteDefaultSeo:h}),e[17]=r,e[18]=l,e[19]=s,e[20]=p,e[21]=a,e[22]=n,e[23]=i,e[24]=h,e[25]=_):_=e[25];let y;return e[26]!==m||e[27]!==x||e[28]!==v||e[29]!==n||e[30]!==b||e[31]!==_?(y=f.jsxs(Fe,{rawSeo:n,onEnableChange:v,onAsyncRenderChange:x,children:[m,b,_]}),e[26]=m,e[27]=x,e[28]=v,e[29]=n,e[30]=b,e[31]=_,e[32]=y):y=e[32],y}export{Xe as P,Ye as S,He as a,Pe as b,Je as c,q as d,Ce as f,k as i,qe as r,w as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,aB as $,j as c,cO as L,aF as z,aC as A,ay as _,aE as P,cP as E,bD as j,cQ as G,cR as w,cX as H,cZ as K,aA as V,c$ as Z,cY as B,c_ as Q,cS as U,cT as W,cV as X,c as R,m as Y}from"./index-
|
|
1
|
+
import{r as i,aB as $,j as c,cO as L,aF as z,aC as A,ay as _,aE as P,cP as E,bD as j,cQ as G,cR as w,cX as H,cZ as K,aA as V,c$ as Z,cY as B,c_ as Q,cS as U,cT as W,cV as X,c as R,m as Y}from"./index-C0OZZLFB.js";var C="Popover",[b]=V(C,[w]),g=w(),[q,d]=b(C),N=t=>{const{__scopePopover:e,children:o,open:r,defaultOpen:n,onOpenChange:s,modal:a=!1}=t,p=g(e),l=i.useRef(null),[u,h]=i.useState(!1),[x,f]=$({prop:r,defaultProp:n??!1,onChange:s,caller:C});return c.jsx(L,{...p,children:c.jsx(q,{scope:e,contentId:z(),triggerRef:l,open:x,onOpenChange:f,onOpenToggle:i.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:u,onCustomAnchorAdd:i.useCallback(()=>h(!0),[]),onCustomAnchorRemove:i.useCallback(()=>h(!1),[]),modal:a,children:o})})};N.displayName=C;var F="PopoverAnchor",J=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(F,o),s=g(o),{onCustomAnchorAdd:a,onCustomAnchorRemove:p}=n;return i.useEffect(()=>(a(),()=>p()),[a,p]),c.jsx(E,{...s,...r,ref:e})});J.displayName=F;var S="PopoverTrigger",y=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(S,o),s=g(o),a=A(e,n.triggerRef),p=c.jsx(_.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":I(n.open),...r,ref:a,onClick:P(t.onClick,n.onOpenToggle)});return n.hasCustomAnchor?p:c.jsx(E,{asChild:!0,...s,children:p})});y.displayName=S;var O="PopoverPortal",[ee,oe]=b(O,{forceMount:void 0}),D=t=>{const{__scopePopover:e,forceMount:o,children:r,container:n}=t,s=d(O,e);return c.jsx(ee,{scope:e,forceMount:o,children:c.jsx(j,{present:o||s.open,children:c.jsx(G,{asChild:!0,container:n,children:r})})})};D.displayName=O;var v="PopoverContent",M=i.forwardRef((t,e)=>{const o=oe(v,t.__scopePopover),{forceMount:r=o.forceMount,...n}=t,s=d(v,t.__scopePopover);return c.jsx(j,{present:r||s.open,children:s.modal?c.jsx(re,{...n,ref:e}):c.jsx(ne,{...n,ref:e})})});M.displayName=v;var te=Z("PopoverContent.RemoveScroll"),re=i.forwardRef((t,e)=>{const o=d(v,t.__scopePopover),r=i.useRef(null),n=A(e,r),s=i.useRef(!1);return i.useEffect(()=>{const a=r.current;if(a)return H(a)},[]),c.jsx(K,{as:te,allowPinchZoom:!0,children:c.jsx(T,{...t,ref:n,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:P(t.onCloseAutoFocus,a=>{a.preventDefault(),s.current||o.triggerRef.current?.focus()}),onPointerDownOutside:P(t.onPointerDownOutside,a=>{const p=a.detail.originalEvent,l=p.button===0&&p.ctrlKey===!0,u=p.button===2||l;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:P(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),ne=i.forwardRef((t,e)=>{const o=d(v,t.__scopePopover),r=i.useRef(!1),n=i.useRef(!1);return c.jsx(T,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||o.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const a=s.target;o.triggerRef.current?.contains(a)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&n.current&&s.preventDefault()}})}),T=i.forwardRef((t,e)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:h,...x}=t,f=d(v,o),m=g(o);return B(),c.jsx(Q,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:s,children:c.jsx(U,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:p,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1),children:c.jsx(W,{"data-state":I(f.open),role:"dialog",id:f.contentId,...m,...x,ref:e,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),k="PopoverClose",se=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=d(k,o);return c.jsx(_.button,{type:"button",...r,ref:e,onClick:P(t.onClick,()=>n.onOpenChange(!1))})});se.displayName=k;var ae="PopoverArrow",ce=i.forwardRef((t,e)=>{const{__scopePopover:o,...r}=t,n=g(o);return c.jsx(X,{...n,...r,ref:e})});ce.displayName=ae;function I(t){return t?"open":"closed"}var ie=N,pe=y,le=D,ue=M;function fe(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(ie,{"data-slot":"popover",...o}),e[2]=o,e[3]=r):r=e[3],r}function ve(t){const e=R.c(4);let o;e[0]!==t?({...o}=t,e[0]=t,e[1]=o):o=e[1];let r;return e[2]!==o?(r=c.jsx(pe,{"data-slot":"popover-trigger",...o}),e[2]=o,e[3]=r):r=e[3],r}function Pe(t){const e=R.c(12);let o,r,n,s;e[0]!==t?({className:o,align:n,sideOffset:s,...r}=t,e[0]=t,e[1]=o,e[2]=r,e[3]=n,e[4]=s):(o=e[1],r=e[2],n=e[3],s=e[4]);const a=n===void 0?"center":n,p=s===void 0?4:s;let l;e[5]!==o?(l=Y("notranslate bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg overflow-hidden border p-4 shadow-md outline-hidden",o),e[5]=o,e[6]=l):l=e[6];let u;return e[7]!==a||e[8]!==r||e[9]!==p||e[10]!==l?(u=c.jsx(le,{children:c.jsx(ue,{"data-slot":"popover-content",align:a,sideOffset:p,translate:"no",className:l,...r})}),e[7]=a,e[8]=r,e[9]=p,e[10]=l,e[11]=u):u=e[11],u}export{fe as P,ve as a,Pe as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as me,b as ne,j as t,B as ge}from"./index-CfFL-KGG.js";import{i as he}from"./AlertCircle-DXiAboeQ.js";import{n as be}from"./LinkExternal01-sLJg6CYJ.js";import{b2 as je,m as ve}from"./agent-icon-C_G4rRk_.js";import{I as de}from"./input-B3Dt0BFc.js";import{L as pe}from"./label-CVhXL2_0.js";import{M as Ee}from"./multi-select-b2cAfezm.js";import{b as ce,c as Pe,T as fe,a as ye}from"./tabs-BtIZ-nCd.js";import{T as Ce}from"./textarea-DBClykee.js";import{O as ke,P as Ne,Q as Te,R as we,I as Be,T as Le,U as Se,V as Fe,W as Re,X as Ae,Y as Ie}from"./index-DFfptVvh.js";import{c as _e,T as Me,a as Ve}from"./tooltip-DuiTY0o9.js";import{b as $e,a as Ue,B as Ye}from"./block-document-tBGlWeQO.js";import{u as ze}from"./use-autosave-DZY7rK5N.js";import{s as z,E as qe,R as De,A as Ke}from"./primitives-BLtFER4M.js";import"./Tool01-BYzVaWgp.js";import"./ArrowUp-C0oORBX1.js";import"./Settings02-CJv_RTnn.js";import"./Tool02-DmtjItpT.js";import"./ArrowRight-Deq6po1a.js";import"./ArrowUpRight-BKQoGrRD.js";import"./TrendUp01-DdWJ6MzK.js";import"./ZapSquare-DtDHfAVH.js";import"./Users03-CDBTZXSd.js";import"./CheckCircle-D9nx_HJU.js";import"./Check-zqFoKy_c.js";import"./ChevronDown-oqZ9p_45.js";import"./ChevronRight-KWTBCov4.js";import"./ChevronUp-BActoOls.js";import"./DotsVertical-DlDKY1-u.js";import"./Stars02-BXrLzCaT.js";import"./Copy01-DKAJS4p5.js";import"./Eye-CjtpBZiI.js";import"./FilterLines-BbPKu1cQ.js";import"./Star01-DdTRwTZx.js";import"./Palette-BFB7Q44T.js";import"./SwitchHorizontal01-IjeRwE5I.js";import"./HardDrive-DHvfre2Q.js";import"./Key01-Dzk3aS6E.js";import"./LayoutLeft-BZaLssVb.js";import"./XCircle-uYeZYbpv.js";import"./LogOut01-DyFeyyni.js";import"./Monitor01-LshHcoqv.js";import"./Sun-eHvz_Tki.js";import"./Play-p7DPiiIM.js";import"./Plus-DRzeM1A2.js";import"./SearchLg-qKEHyyHs.js";import"./SearchMd-BliBUWoX.js";import"./Shield01-C56cKJuG.js";import"./Stars01-DehrNeE8.js";import"./Trash01-DNG17WhY.js";import"./Upload01-BYbjmcL0.js";import"./User01-8iKcnb50.js";import"./Users01-DblVL75v.js";import"./XClose-D7vZnvjm.js";import"./X-BJwjqkUy.js";import"./Zap-Bp2XrAL0.js";import"./badge-DUoOWhZ7.js";import"./checkbox-CqXxXRpt.js";import"./command-CylERf9L.js";import"./index-DoJ1Im6q.js";import"./dialog-CB6gA5c8.js";import"./popover-DjVVPtIl.js";import"./chat-context-CCXAG-1P.js";import"./tab-id-BiUJXvIQ.js";import"./hooks-DTImC-ND.js";import"./use-mcp-client-PyiD5o0t.js";import"./auth-Bj9BoTbj.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-B3yoZtVX.js";import"./studio-tools-klkPqqrC.js";import"./use-virtual-mcp-Dqjjhab9.js";import"./use-ai-providers-DQA5GgCv.js";import"./use-decopilot-events-DRgpVSYL.js";import"./use-organization-settings-DLISUOnV.js";import"./automation-runs-HlMIT8Bw.js";import"./select-D4H00H7x.js";import"./useInfiniteQuery-vPJtf8GD.js";import"./use-infinite-scroll-Bg7gy_gm.js";import"./use-connection-BnA6d1Ni.js";import"./card-BN05K1zd.js";import"./sidebar-C4odovf2.js";import"./use-mobile-KlJFg_qr.js";import"./table-DYey6IKT.js";import"./empty-state-BDi87Qng.js";import"./use-members-RxiZxyO0.js";import"./use-org-auth-client-BVXoUa1e.js";import"./use-clock-tick-CcFkN4LK.js";import"./use-automations-BtCZgBn6.js";import"./useSuspenseInfiniteQuery-BjX-kPGz.js";import"./avatar-CCn63Xa7.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-C3t8REUw.js";import"./monaco-editor-BgF19LTP.js";import"./index-BggVpqkV.js";import"./calendar-BegAE1vZ.js";import"./shell-layout-CqOuOd1h.js";import"./required-auth-layout-CnqRulIu.js";import"./use-org-sso-mExEAM7e.js";import"./integration-icon-WQ7FRKP-.js";import"./use-navigate-to-agent-UYAYZIg_.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DhfI1YJj.js";import"./form-DxzXsRTn.js";import"./drawer-BbaKPMRO.js";import"./collection-search-DBoLEXpv.js";import"./index-C73JsG_B.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-mgOc2xSW.js";import"./use-mcp-tools-CjU41wHq.js";import"./github-repo-scope-CKSTLD3W.js";import"./authenticate-and-persist-oauth-3-cyYa_s.js";import"./mcp-oauth-DSWXWtuI.js";import"./extract-connection-data-DNUVBN6a.js";import"./metadata-dUsYcpuu.js";import"./dropdown-menu-C64Ntp2r.js";import"./companions-core-B72WVoHr.js";import"./toggle-group-B1HDWUZB.js";import"./use-deco-credits-kP32aBxc.js";import"./alert-dialog-C2muXlL-.js";import"./toolbar-p14r49Fn.js";import"./skeleton-xE3oCbm_.js";import"./github-repo-picker-D67NbZOh.js";import"./use-debounced-value-BqSBuhGt.js";import"./provision-repo-scoped-github-connection-Dp638N7g.js";import"./connection-card-DjABeNEp.js";import"./use-registry-connections-Cl5wbMvo.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-BLcYFjnz.js";import"./collection-tabs-BHILs6rA.js";import"./connect-desktop-dialog-DX5XubA7.js";import"./select-model-Bs9ES5FJ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-DM0USFfa.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-C1OdUZlw.js";import"./deco-site-production-url-CaKZ7xBn.js";import"./use-capability-BT-CuG62.js";import"./pt-BR-CLy76QW2.js";import"./use-mcp-auth-status-Dy9fP3wm.js";import"./use-debounced-autosave-DgyQozTA.js";import"./index-DWv0TWTe.js";import"./search-input-BXsIyCGs.js";import"./switch-C7k_-apD.js";import"./use-secrets-8hoY11qt.js";import"./useQueries-B7WFhx3W.js";import"./use-file-configs-3P-hFGAE.js";import"./automation-list-row-CUqR409h.js";function Oe(C){return Array.isArray(C)?C.map(e=>({key:z(e?.key),value:z(e?.value)})):[]}function Uo(C){const e=me.c(111),{orgSlug:r,virtualMcpId:a,branch:s,blockKey:i,block:x,decofile:p,meta:u,previewBaseUrl:m}=C,o=ne(),f=ke(a);let b;e[0]!==s||e[1]!==r||e[2]!==f||e[3]!==a?(b={orgSlug:r,virtualMcpId:a,branch:s,packagePath:f},e[0]=s,e[1]=r,e[2]=f,e[3]=a,e[4]=b):b=e[4];const n=Ne(b);let d;e[5]!==x?(d=Te(x,"posts"),e[5]=x,e[6]=d):d=e[6];const y=d;let c;e[7]!==i||e[8]!==n?(c=D=>{n.mutate({blockKey:i,data:Le(i,"posts",Se(D))})},e[7]=i,e[8]=n,e[9]=c):c=e[9];const[l,g]=ze(y,c);let E;e[10]!==l||e[11]!==g?(E=(D,ue)=>g({...l,[D]:ue}),e[10]=l,e[11]=g,e[12]=E):E=e[12];const h=E;let N;e[13]!==p||e[14]!==l||e[15]!==m?(N=$e({decofile:p,post:l,previewBaseUrl:m}),e[13]=p,e[14]=l,e[15]=m,e[16]=N):N=e[16];const k=N;let j,P,V;e[17]!==l||e[18]!==o?(P=we(l),j=P.length>0,V=P.length===1?o("sandbox.postEditor.missingFieldSingular",{fields:P.join(", ")}):o("sandbox.postEditor.missingFieldPlural",{fields:P.join(", ")}),e[17]=l,e[18]=o,e[19]=j,e[20]=P,e[21]=V):(j=e[19],P=e[20],V=e[21]);const T=V;let w;e[22]!==l.title||e[23]!==o?(w=z(l.title)||o("sandbox.postEditor.untitledPost"),e[22]=l.title,e[23]=o,e[24]=w):w=e[24];let q;e[25]!==w?(q=t.jsx("span",{className:"truncate text-sm font-medium",children:w}),e[25]=w,e[26]=q):q=e[26];let B;e[27]!==j||e[28]!==P||e[29]!==T||e[30]!==o?(B=j&&t.jsxs(_e,{children:[t.jsx(Me,{asChild:!0,children:t.jsxs("span",{className:"flex items-center gap-1.5 text-xs font-medium text-destructive",children:[t.jsx(he,{size:14}),P.length," ",P.length===1?o("sandbox.postEditor.issueSingular"):o("sandbox.postEditor.issuePlural")]})}),t.jsx(Ve,{side:"bottom",children:T})]}),e[27]=j,e[28]=P,e[29]=T,e[30]=o,e[31]=B):B=e[31];let L;e[32]!==n.isError||e[33]!==n.isPending?(L=t.jsx(Be,{isPending:n.isPending,isError:n.isError}),e[32]=n.isError,e[33]=n.isPending,e[34]=L):L=e[34];const Y=!k||j;let S;e[35]!==j||e[36]!==T||e[37]!==k||e[38]!==o?(S=j?T:o(k?"sandbox.postEditor.previewTooltip":"sandbox.postEditor.previewRequiresSlugAndCategory"),e[35]=j,e[36]=T,e[37]=k,e[38]=o,e[39]=S):S=e[39];let F;e[40]!==j||e[41]!==k?(F=()=>{k&&!j&&window.open(k,"_blank","noopener,noreferrer")},e[40]=j,e[41]=k,e[42]=F):F=e[42];let $;e[43]===Symbol.for("react.memo_cache_sentinel")?($=t.jsx(be,{size:14}),e[43]=$):$=e[43];let R;e[44]!==o?(R=o("sandbox.postEditor.seePreview"),e[44]=o,e[45]=R):R=e[45];let A;e[46]!==Y||e[47]!==S||e[48]!==F||e[49]!==R?(A=t.jsxs(ge,{type:"button",variant:"outline",size:"sm",disabled:Y,title:S,onClick:F,children:[$,R]}),e[46]=Y,e[47]=S,e[48]=F,e[49]=R,e[50]=A):A=e[50];let I;e[51]!==B||e[52]!==L||e[53]!==A?(I=t.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[B,L,A]}),e[51]=B,e[52]=L,e[53]=A,e[54]=I):I=e[54];let _;e[55]!==I||e[56]!==q?(_=t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[q,I]}),e[55]=I,e[56]=q,e[57]=_):_=e[57];let M;e[58]!==l.title?(M=z(l.title),e[58]=l.title,e[59]=M):M=e[59];let U;e[60]!==h?(U=D=>h("title",D),e[60]=h,e[61]=U):U=e[61];let v;e[62]!==o?(v=o("sandbox.postEditor.postTitlePlaceholder"),e[62]=o,e[63]=v):v=e[63];let K;e[64]!==M||e[65]!==U||e[66]!==v?(K=t.jsx(qe,{value:M,onChange:U,placeholder:v,className:"py-1 text-4xl font-bold text-foreground"}),e[64]=M,e[65]=U,e[66]=v,e[67]=K):K=e[67];let le;e[68]===Symbol.for("react.memo_cache_sentinel")?(le=t.jsx(je,{}),e[68]=le):le=e[68];let O;e[69]!==o?(O=o("sandbox.postEditor.contentTab"),e[69]=o,e[70]=O):O=e[70];let Q;e[71]!==O?(Q=t.jsxs(ce,{value:"content",children:[le,O]}),e[71]=O,e[72]=Q):Q=e[72];let re;e[73]===Symbol.for("react.memo_cache_sentinel")?(re=t.jsx(ve,{}),e[73]=re):re=e[73];let W;e[74]!==o?(W=o("sandbox.postEditor.settingsTab"),e[74]=o,e[75]=W):W=e[75];let X;e[76]!==W?(X=t.jsxs(ce,{value:"settings",children:[re,W]}),e[76]=W,e[77]=X):X=e[77];let G;e[78]!==Q||e[79]!==X?(G=t.jsxs(Pe,{children:[Q,X]}),e[78]=Q,e[79]=X,e[80]=G):G=e[80];let H;e[81]!==l.sections?(H=Ue(l.sections),e[81]=l.sections,e[82]=H):H=e[82];let J;e[83]!==h?(J=D=>h("sections",D),e[83]=h,e[84]=J):J=e[84];let Z;e[85]!==s||e[86]!==r||e[87]!==a?(Z={orgSlug:r,virtualMcpId:a,branch:s},e[85]=s,e[86]=r,e[87]=a,e[88]=Z):Z=e[88];let ee;e[89]!==o?(ee=o("sandbox.postEditor.noContentYet"),e[89]=o,e[90]=ee):ee=e[90];let te;e[91]!==u||e[92]!==H||e[93]!==J||e[94]!==Z||e[95]!==ee?(te=t.jsx(fe,{value:"content",children:t.jsx("div",{className:"rounded-xl border bg-card p-8 shadow-sm",children:t.jsx(Ye,{value:H,onChange:J,meta:u,sandboxRef:Z,emptyMessage:ee})})}),e[91]=u,e[92]=H,e[93]=J,e[94]=Z,e[95]=ee,e[96]=te):te=e[96];let se;e[97]!==p||e[98]!==l||e[99]!==h?(se=t.jsx(fe,{value:"settings",children:t.jsx("div",{className:"rounded-xl border bg-card p-6 shadow-sm",children:t.jsx(Qe,{post:l,decofile:p,onChange:h})})}),e[97]=p,e[98]=l,e[99]=h,e[100]=se):se=e[100];let oe;e[101]!==G||e[102]!==te||e[103]!==se?(oe=t.jsxs(ye,{defaultValue:"content",className:"mt-6 gap-4",children:[G,te,se]}),e[101]=G,e[102]=te,e[103]=se,e[104]=oe):oe=e[104];let ie;e[105]!==K||e[106]!==oe?(ie=t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto",children:t.jsxs("div",{className:"mx-auto max-w-4xl px-8 py-8",children:[K,oe]})}),e[105]=K,e[106]=oe,e[107]=ie):ie=e[107];let ae;return e[108]!==_||e[109]!==ie?(ae=t.jsxs("div",{className:"flex h-full flex-col",children:[_,ie]}),e[108]=_,e[109]=ie,e[110]=ae):ae=e[110],ae}function Qe(C){const e=me.c(92),{post:r,decofile:a,onChange:s}=C,i=ne();let x;e[0]!==i?(x=i("sandbox.postEditor.excerptLabel"),e[0]=i,e[1]=x):x=e[1];let p;e[2]!==x?(p=t.jsx(pe,{htmlFor:"post-excerpt",children:x}),e[2]=x,e[3]=p):p=e[3];let u;e[4]!==r.excerpt?(u=z(r.excerpt),e[4]=r.excerpt,e[5]=u):u=e[5];let m;e[6]!==s?(m=v=>s("excerpt",v.target.value),e[6]=s,e[7]=m):m=e[7];let o;e[8]!==u||e[9]!==m?(o=t.jsx(Ce,{id:"post-excerpt",value:u,onChange:m,rows:2}),e[8]=u,e[9]=m,e[10]=o):o=e[10];let f;e[11]!==p||e[12]!==o?(f=t.jsxs("div",{className:"space-y-2",children:[p,o]}),e[11]=p,e[12]=o,e[13]=f):f=e[13];let b;e[14]!==i?(b=i("sandbox.postEditor.slugLabel"),e[14]=i,e[15]=b):b=e[15];let n;e[16]!==b?(n=t.jsx(pe,{htmlFor:"post-slug",children:b}),e[16]=b,e[17]=n):n=e[17];let d;e[18]!==r.slug?(d=z(r.slug),e[18]=r.slug,e[19]=d):d=e[19];let y;e[20]!==s?(y=v=>s("slug",v.target.value),e[20]=s,e[21]=y):y=e[21];let c;e[22]!==i?(c=i("sandbox.postEditor.slugPlaceholder"),e[22]=i,e[23]=c):c=e[23];let l;e[24]!==y||e[25]!==c||e[26]!==d?(l=t.jsx(de,{id:"post-slug",value:d,onChange:y,placeholder:c,className:"h-10"}),e[24]=y,e[25]=c,e[26]=d,e[27]=l):l=e[27];let g;e[28]!==l||e[29]!==n?(g=t.jsxs("div",{className:"space-y-2",children:[n,l]}),e[28]=l,e[29]=n,e[30]=g):g=e[30];let E;e[31]!==i?(E=i("sandbox.postEditor.dateLabel"),e[31]=i,e[32]=E):E=e[32];let h;e[33]!==E?(h={type:"string",format:"date",title:E},e[33]=E,e[34]=h):h=e[34];let N;e[35]!==r.date?(N=z(r.date),e[35]=r.date,e[36]=N):N=e[36];let k;e[37]!==s?(k=v=>s("date",v),e[37]=s,e[38]=k):k=e[38];let j;e[39]!==i?(j=i("sandbox.postEditor.dateLabel"),e[39]=i,e[40]=j):j=e[40];let P;e[41]!==h||e[42]!==N||e[43]!==k||e[44]!==j?(P=t.jsx(Ae,{schema:h,value:N,onChange:k,path:"post-date",label:j}),e[41]=h,e[42]=N,e[43]=k,e[44]=j,e[45]=P):P=e[45];let V;e[46]!==g||e[47]!==P?(V=t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[g,P]}),e[46]=g,e[47]=P,e[48]=V):V=e[48];let T;e[49]!==i?(T=i("sandbox.postEditor.coverImageLabel"),e[49]=i,e[50]=T):T=e[50];let w;e[51]!==T?(w={type:"string",format:"image-uri",title:T},e[51]=T,e[52]=w):w=e[52];const q=r.image;let B;e[53]!==s?(B=v=>s("image",v),e[53]=s,e[54]=B):B=e[54];let L;e[55]!==i?(L=i("sandbox.postEditor.coverImageLabel"),e[55]=i,e[56]=L):L=e[56];let Y;e[57]!==r.image||e[58]!==w||e[59]!==B||e[60]!==L?(Y=t.jsx(Ie,{schema:w,value:q,onChange:B,path:"post-image",label:L}),e[57]=r.image,e[58]=w,e[59]=B,e[60]=L,e[61]=Y):Y=e[61];let S;e[62]!==i?(S=i("sandbox.postEditor.authorsLabel"),e[62]=i,e[63]=S):S=e[63];let F;e[64]!==s?(F=v=>s("authors",v),e[64]=s,e[65]=F):F=e[65];let $;e[66]!==a||e[67]!==r.authors||e[68]!==S||e[69]!==F?($=t.jsx(xe,{label:S,decofile:a,kind:"authors",valueField:"email",toRef:Xe,selected:r.authors,onChange:F}),e[66]=a,e[67]=r.authors,e[68]=S,e[69]=F,e[70]=$):$=e[70];let R;e[71]!==i?(R=i("sandbox.postEditor.categoriesLabel"),e[71]=i,e[72]=R):R=e[72];let A;e[73]!==s?(A=v=>s("categories",v),e[73]=s,e[74]=A):A=e[74];let I;e[75]!==a||e[76]!==r.categories||e[77]!==R||e[78]!==A?(I=t.jsx(xe,{label:R,decofile:a,kind:"categories",valueField:"slug",toRef:We,selected:r.categories,onChange:A}),e[75]=a,e[76]=r.categories,e[77]=R,e[78]=A,e[79]=I):I=e[79];let _;e[80]!==s?(_=v=>s("extraProps",v),e[80]=s,e[81]=_):_=e[81];let M;e[82]!==r.extraProps||e[83]!==_?(M=t.jsx(Ge,{value:r.extraProps,onChange:_}),e[82]=r.extraProps,e[83]=_,e[84]=M):M=e[84];let U;return e[85]!==V||e[86]!==Y||e[87]!==$||e[88]!==I||e[89]!==M||e[90]!==f?(U=t.jsxs("div",{className:"space-y-5",children:[f,V,Y,$,I,M]}),e[85]=V,e[86]=Y,e[87]=$,e[88]=I,e[89]=M,e[90]=f,e[91]=U):U=e[91],U}function We(C){return{name:z(C.name),slug:z(C.slug)}}function Xe(C){return{...C}}function Ge(C){const e=me.c(24),{value:r,onChange:a}=C,s=ne();let i,x,p,u;if(e[0]!==a||e[1]!==s||e[2]!==r){i=Oe(r);const n=(y,c)=>a(i.map((l,g)=>g===y?{...l,...c}:l));x="space-y-2";let d;e[7]!==s?(d=s("sandbox.postEditor.extraPropsLabel"),e[7]=s,e[8]=d):d=e[8],e[9]!==d?(p=t.jsx(pe,{children:d}),e[9]=d,e[10]=p):p=e[10],u=i.length>0&&t.jsx("ul",{className:"space-y-2",children:i.map((y,c)=>t.jsxs("li",{className:"group/item flex items-center gap-2",children:[t.jsx(de,{value:y.key,onChange:l=>n(c,{key:l.target.value}),placeholder:s("sandbox.postEditor.keyPlaceholder"),className:"h-9 flex-1"}),t.jsx(de,{value:y.value,onChange:l=>n(c,{value:l.target.value}),placeholder:s("sandbox.postEditor.valuePlaceholder"),className:"h-9 flex-1"}),t.jsx(De,{label:s("sandbox.postEditor.removePropLabel"),onClick:()=>a(i.filter((l,g)=>g!==c))})]},c))}),e[0]=a,e[1]=s,e[2]=r,e[3]=i,e[4]=x,e[5]=p,e[6]=u}else i=e[3],x=e[4],p=e[5],u=e[6];let m;e[11]!==s?(m=s("sandbox.postEditor.addPropLabel"),e[11]=s,e[12]=m):m=e[12];let o;e[13]!==i||e[14]!==a?(o=()=>a([...i,{key:"",value:""}]),e[13]=i,e[14]=a,e[15]=o):o=e[15];let f;e[16]!==m||e[17]!==o?(f=t.jsx(Ke,{label:m,onClick:o}),e[16]=m,e[17]=o,e[18]=f):f=e[18];let b;return e[19]!==x||e[20]!==p||e[21]!==u||e[22]!==f?(b=t.jsxs("div",{className:x,children:[p,u,f]}),e[19]=x,e[20]=p,e[21]=u,e[22]=f,e[23]=b):b=e[23],b}function xe(C){const e=me.c(24),{label:r,decofile:a,kind:s,valueField:i,toRef:x,selected:p,onChange:u}=C,m=ne();let o;e[0]!==a||e[1]!==s||e[2]!==p||e[3]!==x||e[4]!==i?(o=Fe({records:Re(a,s),selected:p,valueField:i,toRef:x}),e[0]=a,e[1]=s,e[2]=p,e[3]=x,e[4]=i,e[5]=o):o=e[5];const{options:f,selectedValues:b,refsForValues:n}=o;let d;e[6]!==s||e[7]!==m?(d=m(s==="authors"?"sandbox.postEditor.noAuthorsYet":"sandbox.postEditor.noCategoriesYet"),e[6]=s,e[7]=m,e[8]=d):d=e[8];const y=d;let c;e[9]!==s||e[10]!==m?(c=m(s==="authors"?"sandbox.postEditor.selectAuthorsPlaceholder":"sandbox.postEditor.selectCategoriesPlaceholder"),e[9]=s,e[10]=m,e[11]=c):c=e[11];const l=c;let g;e[12]!==r?(g=t.jsx(pe,{children:r}),e[12]=r,e[13]=g):g=e[13];let E;e[14]!==y||e[15]!==u||e[16]!==f||e[17]!==n||e[18]!==l||e[19]!==b?(E=f.length===0?t.jsx("p",{className:"text-xs text-muted-foreground",children:y}):t.jsx(Ee,{options:f,defaultValue:b,onValueChange:N=>u(n(N)),placeholder:l,maxCount:4}),e[14]=y,e[15]=u,e[16]=f,e[17]=n,e[18]=l,e[19]=b,e[20]=E):E=e[20];let h;return e[21]!==g||e[22]!==E?(h=t.jsxs("div",{className:"space-y-2",children:[g,E]}),e[21]=g,e[22]=E,e[23]=h):h=e[23],h}export{Uo as PostEditor};
|
|
1
|
+
import{c as me,b as ne,j as t,B as ge}from"./index-C0OZZLFB.js";import{i as he}from"./AlertCircle-DRO0C63y.js";import{n as be}from"./LinkExternal01-B37_DeVq.js";import{b2 as je,m as ve}from"./agent-icon-BkCnlGeP.js";import{I as de}from"./input-uPFsSc9f.js";import{L as pe}from"./label-IsSjBTBZ.js";import{M as Ee}from"./multi-select-Uwt-NxPK.js";import{b as ce,c as Pe,T as fe,a as ye}from"./tabs-miIq202h.js";import{T as Ce}from"./textarea-D01yPMam.js";import{O as ke,P as Ne,Q as Te,R as we,I as Be,T as Le,U as Se,V as Fe,W as Re,X as Ae,Y as Ie}from"./index-CUfVwH9-.js";import{c as _e,T as Me,a as Ve}from"./tooltip-m4eG9P-e.js";import{b as $e,a as Ue,B as Ye}from"./block-document-DetZyiAG.js";import{u as ze}from"./use-autosave-Be04nCGc.js";import{s as z,E as qe,R as De,A as Ke}from"./primitives-DGzn3Tdf.js";import"./Tool01-CryzALFU.js";import"./ArrowUp-D1uEbZ6m.js";import"./Settings02-Dn7n72YT.js";import"./Tool02-j7a1fbiU.js";import"./ArrowRight-QhuneIw3.js";import"./ArrowUpRight-CvaOB9fb.js";import"./TrendUp01-pReoWaDd.js";import"./ZapSquare-ny8XWErX.js";import"./Users03-DzCuhC1B.js";import"./CheckCircle-CMSb-Ufg.js";import"./Check-D5mSFNOJ.js";import"./ChevronDown-DWEJMoJH.js";import"./ChevronRight-BucKd4vs.js";import"./ChevronUp-DJngwrAz.js";import"./DotsVertical-CmCVGsua.js";import"./Stars02-Dl9X8T4c.js";import"./Copy01-C3uari6d.js";import"./Eye-Up5_0s8y.js";import"./FilterLines-BPQ0S9Wc.js";import"./Star01-DO8uKQUW.js";import"./Palette-Dron8fSh.js";import"./SwitchHorizontal01-BV6HyfEe.js";import"./HardDrive-DESP12mY.js";import"./Key01-DYkkEvXE.js";import"./LayoutLeft-BQSVLYMa.js";import"./XCircle-vLo3SWzM.js";import"./LogOut01-CRncusV9.js";import"./Monitor01-CD9v9l_d.js";import"./Sun-FlbYzQoj.js";import"./Play-BW5PWOTU.js";import"./Plus-D2G-ZUsM.js";import"./SearchLg-D7QDvNSA.js";import"./SearchMd-DgBF3pC6.js";import"./Shield01-DzntegDN.js";import"./Stars01-DqP-rnPF.js";import"./Trash01-BtMZ5VGa.js";import"./Upload01-Dts1hUbd.js";import"./User01-BY33IVC_.js";import"./Users01-DQwIJ5ND.js";import"./XClose-B2uTWIxR.js";import"./X-CUxMuZ8q.js";import"./Zap-KXmoroYg.js";import"./badge-Jypo6hHK.js";import"./checkbox-BlHvEC-r.js";import"./command-ZG-i4G49.js";import"./index-DDW-Xzs6.js";import"./dialog-Bq1bzF7J.js";import"./popover-wCpfL9Xg.js";import"./chat-context-CJi7-1nM.js";import"./tab-id-CKBFmCGM.js";import"./hooks-C0cHNE0b.js";import"./use-mcp-client-BlKKV1Up.js";import"./auth-BNaGycMo.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-BE_B1lqx.js";import"./studio-tools-CPXDuQEI.js";import"./use-virtual-mcp-Dxo3FMQn.js";import"./use-ai-providers-FXveoQZ7.js";import"./use-decopilot-events-DbgOATmJ.js";import"./use-organization-settings-DH9NkvyU.js";import"./automation-runs-D_nSiH5I.js";import"./select-CQsSZAeB.js";import"./useInfiniteQuery-DJ6QbQsy.js";import"./use-infinite-scroll-B4doGVNW.js";import"./use-connection-CXVgYxpF.js";import"./card-D-sxw87W.js";import"./sidebar-DKy5IhKS.js";import"./use-mobile-C4Pwc0jU.js";import"./table-CDqai6IN.js";import"./empty-state-BsmNIaU5.js";import"./use-members-B-KQ_R3U.js";import"./use-org-auth-client-B44RiYOM.js";import"./use-clock-tick-c_ux9QvV.js";import"./use-automations-CNfqkB0m.js";import"./useSuspenseInfiniteQuery-Dkm2M6Op.js";import"./avatar-DqSS5jTC.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CaH1-5AH.js";import"./monaco-editor-0z2tX0LF.js";import"./index-CfJpV5Ma.js";import"./calendar-Cmitf2cx.js";import"./shell-layout-DhvGv6C0.js";import"./required-auth-layout-CviSU51B.js";import"./use-org-sso-DS_NLhEx.js";import"./integration-icon-B5c7VKfx.js";import"./use-navigate-to-agent-DKAN-J9H.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-kZq7PZPX.js";import"./form-e8U7zFxn.js";import"./drawer-CUPXEGAd.js";import"./collection-search-BpN3s91o.js";import"./index-Cpi3QKTc.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-BWOs5R0g.js";import"./use-mcp-tools-ChP6PgCo.js";import"./github-repo-scope-CKSTLD3W.js";import"./authenticate-and-persist-oauth-prvdoPGr.js";import"./mcp-oauth-B2tg8JB_.js";import"./extract-connection-data-D_DPgz4m.js";import"./metadata-dUsYcpuu.js";import"./dropdown-menu-7EE8Ay1M.js";import"./companions-core-CsbRnlKj.js";import"./toggle-group-DDFaTBbN.js";import"./use-deco-credits-9VzQZRFo.js";import"./alert-dialog-CnJXtW38.js";import"./toolbar-CfzCof_O.js";import"./skeleton-79DUTJFV.js";import"./github-repo-picker-D7oPbnSw.js";import"./use-debounced-value-w9NnEnSq.js";import"./provision-repo-scoped-github-connection-Dp638N7g.js";import"./connection-card-KGYYyIRz.js";import"./use-registry-connections-GudNq97X.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-DVVuF5si.js";import"./collection-tabs-CG77op9x.js";import"./connect-desktop-dialog-Cy4YmtSo.js";import"./select-model-Bbf5fM4j.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Cx_fZb-m.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-C_Yqxuc3.js";import"./deco-site-production-url-CaKZ7xBn.js";import"./use-capability-vRhGM1yw.js";import"./pt-BR-CLy76QW2.js";import"./use-mcp-auth-status-DE1Zn8js.js";import"./use-debounced-autosave-4kpLHHY2.js";import"./index-BW4QX3uc.js";import"./search-input-dXbIuasP.js";import"./switch-C1BC0Sj-.js";import"./use-secrets-U9bmBrBv.js";import"./useQueries-D6TFDK-r.js";import"./use-file-configs-uAwgkxbf.js";import"./automation-list-row-BLxHb1Cn.js";function Oe(C){return Array.isArray(C)?C.map(e=>({key:z(e?.key),value:z(e?.value)})):[]}function Uo(C){const e=me.c(111),{orgSlug:r,virtualMcpId:a,branch:s,blockKey:i,block:x,decofile:p,meta:u,previewBaseUrl:m}=C,o=ne(),f=ke(a);let b;e[0]!==s||e[1]!==r||e[2]!==f||e[3]!==a?(b={orgSlug:r,virtualMcpId:a,branch:s,packagePath:f},e[0]=s,e[1]=r,e[2]=f,e[3]=a,e[4]=b):b=e[4];const n=Ne(b);let d;e[5]!==x?(d=Te(x,"posts"),e[5]=x,e[6]=d):d=e[6];const y=d;let c;e[7]!==i||e[8]!==n?(c=D=>{n.mutate({blockKey:i,data:Le(i,"posts",Se(D))})},e[7]=i,e[8]=n,e[9]=c):c=e[9];const[l,g]=ze(y,c);let E;e[10]!==l||e[11]!==g?(E=(D,ue)=>g({...l,[D]:ue}),e[10]=l,e[11]=g,e[12]=E):E=e[12];const h=E;let N;e[13]!==p||e[14]!==l||e[15]!==m?(N=$e({decofile:p,post:l,previewBaseUrl:m}),e[13]=p,e[14]=l,e[15]=m,e[16]=N):N=e[16];const k=N;let j,P,V;e[17]!==l||e[18]!==o?(P=we(l),j=P.length>0,V=P.length===1?o("sandbox.postEditor.missingFieldSingular",{fields:P.join(", ")}):o("sandbox.postEditor.missingFieldPlural",{fields:P.join(", ")}),e[17]=l,e[18]=o,e[19]=j,e[20]=P,e[21]=V):(j=e[19],P=e[20],V=e[21]);const T=V;let w;e[22]!==l.title||e[23]!==o?(w=z(l.title)||o("sandbox.postEditor.untitledPost"),e[22]=l.title,e[23]=o,e[24]=w):w=e[24];let q;e[25]!==w?(q=t.jsx("span",{className:"truncate text-sm font-medium",children:w}),e[25]=w,e[26]=q):q=e[26];let B;e[27]!==j||e[28]!==P||e[29]!==T||e[30]!==o?(B=j&&t.jsxs(_e,{children:[t.jsx(Me,{asChild:!0,children:t.jsxs("span",{className:"flex items-center gap-1.5 text-xs font-medium text-destructive",children:[t.jsx(he,{size:14}),P.length," ",P.length===1?o("sandbox.postEditor.issueSingular"):o("sandbox.postEditor.issuePlural")]})}),t.jsx(Ve,{side:"bottom",children:T})]}),e[27]=j,e[28]=P,e[29]=T,e[30]=o,e[31]=B):B=e[31];let L;e[32]!==n.isError||e[33]!==n.isPending?(L=t.jsx(Be,{isPending:n.isPending,isError:n.isError}),e[32]=n.isError,e[33]=n.isPending,e[34]=L):L=e[34];const Y=!k||j;let S;e[35]!==j||e[36]!==T||e[37]!==k||e[38]!==o?(S=j?T:o(k?"sandbox.postEditor.previewTooltip":"sandbox.postEditor.previewRequiresSlugAndCategory"),e[35]=j,e[36]=T,e[37]=k,e[38]=o,e[39]=S):S=e[39];let F;e[40]!==j||e[41]!==k?(F=()=>{k&&!j&&window.open(k,"_blank","noopener,noreferrer")},e[40]=j,e[41]=k,e[42]=F):F=e[42];let $;e[43]===Symbol.for("react.memo_cache_sentinel")?($=t.jsx(be,{size:14}),e[43]=$):$=e[43];let R;e[44]!==o?(R=o("sandbox.postEditor.seePreview"),e[44]=o,e[45]=R):R=e[45];let A;e[46]!==Y||e[47]!==S||e[48]!==F||e[49]!==R?(A=t.jsxs(ge,{type:"button",variant:"outline",size:"sm",disabled:Y,title:S,onClick:F,children:[$,R]}),e[46]=Y,e[47]=S,e[48]=F,e[49]=R,e[50]=A):A=e[50];let I;e[51]!==B||e[52]!==L||e[53]!==A?(I=t.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[B,L,A]}),e[51]=B,e[52]=L,e[53]=A,e[54]=I):I=e[54];let _;e[55]!==I||e[56]!==q?(_=t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[q,I]}),e[55]=I,e[56]=q,e[57]=_):_=e[57];let M;e[58]!==l.title?(M=z(l.title),e[58]=l.title,e[59]=M):M=e[59];let U;e[60]!==h?(U=D=>h("title",D),e[60]=h,e[61]=U):U=e[61];let v;e[62]!==o?(v=o("sandbox.postEditor.postTitlePlaceholder"),e[62]=o,e[63]=v):v=e[63];let K;e[64]!==M||e[65]!==U||e[66]!==v?(K=t.jsx(qe,{value:M,onChange:U,placeholder:v,className:"py-1 text-4xl font-bold text-foreground"}),e[64]=M,e[65]=U,e[66]=v,e[67]=K):K=e[67];let le;e[68]===Symbol.for("react.memo_cache_sentinel")?(le=t.jsx(je,{}),e[68]=le):le=e[68];let O;e[69]!==o?(O=o("sandbox.postEditor.contentTab"),e[69]=o,e[70]=O):O=e[70];let Q;e[71]!==O?(Q=t.jsxs(ce,{value:"content",children:[le,O]}),e[71]=O,e[72]=Q):Q=e[72];let re;e[73]===Symbol.for("react.memo_cache_sentinel")?(re=t.jsx(ve,{}),e[73]=re):re=e[73];let W;e[74]!==o?(W=o("sandbox.postEditor.settingsTab"),e[74]=o,e[75]=W):W=e[75];let X;e[76]!==W?(X=t.jsxs(ce,{value:"settings",children:[re,W]}),e[76]=W,e[77]=X):X=e[77];let G;e[78]!==Q||e[79]!==X?(G=t.jsxs(Pe,{children:[Q,X]}),e[78]=Q,e[79]=X,e[80]=G):G=e[80];let H;e[81]!==l.sections?(H=Ue(l.sections),e[81]=l.sections,e[82]=H):H=e[82];let J;e[83]!==h?(J=D=>h("sections",D),e[83]=h,e[84]=J):J=e[84];let Z;e[85]!==s||e[86]!==r||e[87]!==a?(Z={orgSlug:r,virtualMcpId:a,branch:s},e[85]=s,e[86]=r,e[87]=a,e[88]=Z):Z=e[88];let ee;e[89]!==o?(ee=o("sandbox.postEditor.noContentYet"),e[89]=o,e[90]=ee):ee=e[90];let te;e[91]!==u||e[92]!==H||e[93]!==J||e[94]!==Z||e[95]!==ee?(te=t.jsx(fe,{value:"content",children:t.jsx("div",{className:"rounded-xl border bg-card p-8 shadow-sm",children:t.jsx(Ye,{value:H,onChange:J,meta:u,sandboxRef:Z,emptyMessage:ee})})}),e[91]=u,e[92]=H,e[93]=J,e[94]=Z,e[95]=ee,e[96]=te):te=e[96];let se;e[97]!==p||e[98]!==l||e[99]!==h?(se=t.jsx(fe,{value:"settings",children:t.jsx("div",{className:"rounded-xl border bg-card p-6 shadow-sm",children:t.jsx(Qe,{post:l,decofile:p,onChange:h})})}),e[97]=p,e[98]=l,e[99]=h,e[100]=se):se=e[100];let oe;e[101]!==G||e[102]!==te||e[103]!==se?(oe=t.jsxs(ye,{defaultValue:"content",className:"mt-6 gap-4",children:[G,te,se]}),e[101]=G,e[102]=te,e[103]=se,e[104]=oe):oe=e[104];let ie;e[105]!==K||e[106]!==oe?(ie=t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto",children:t.jsxs("div",{className:"mx-auto max-w-4xl px-8 py-8",children:[K,oe]})}),e[105]=K,e[106]=oe,e[107]=ie):ie=e[107];let ae;return e[108]!==_||e[109]!==ie?(ae=t.jsxs("div",{className:"flex h-full flex-col",children:[_,ie]}),e[108]=_,e[109]=ie,e[110]=ae):ae=e[110],ae}function Qe(C){const e=me.c(92),{post:r,decofile:a,onChange:s}=C,i=ne();let x;e[0]!==i?(x=i("sandbox.postEditor.excerptLabel"),e[0]=i,e[1]=x):x=e[1];let p;e[2]!==x?(p=t.jsx(pe,{htmlFor:"post-excerpt",children:x}),e[2]=x,e[3]=p):p=e[3];let u;e[4]!==r.excerpt?(u=z(r.excerpt),e[4]=r.excerpt,e[5]=u):u=e[5];let m;e[6]!==s?(m=v=>s("excerpt",v.target.value),e[6]=s,e[7]=m):m=e[7];let o;e[8]!==u||e[9]!==m?(o=t.jsx(Ce,{id:"post-excerpt",value:u,onChange:m,rows:2}),e[8]=u,e[9]=m,e[10]=o):o=e[10];let f;e[11]!==p||e[12]!==o?(f=t.jsxs("div",{className:"space-y-2",children:[p,o]}),e[11]=p,e[12]=o,e[13]=f):f=e[13];let b;e[14]!==i?(b=i("sandbox.postEditor.slugLabel"),e[14]=i,e[15]=b):b=e[15];let n;e[16]!==b?(n=t.jsx(pe,{htmlFor:"post-slug",children:b}),e[16]=b,e[17]=n):n=e[17];let d;e[18]!==r.slug?(d=z(r.slug),e[18]=r.slug,e[19]=d):d=e[19];let y;e[20]!==s?(y=v=>s("slug",v.target.value),e[20]=s,e[21]=y):y=e[21];let c;e[22]!==i?(c=i("sandbox.postEditor.slugPlaceholder"),e[22]=i,e[23]=c):c=e[23];let l;e[24]!==y||e[25]!==c||e[26]!==d?(l=t.jsx(de,{id:"post-slug",value:d,onChange:y,placeholder:c,className:"h-10"}),e[24]=y,e[25]=c,e[26]=d,e[27]=l):l=e[27];let g;e[28]!==l||e[29]!==n?(g=t.jsxs("div",{className:"space-y-2",children:[n,l]}),e[28]=l,e[29]=n,e[30]=g):g=e[30];let E;e[31]!==i?(E=i("sandbox.postEditor.dateLabel"),e[31]=i,e[32]=E):E=e[32];let h;e[33]!==E?(h={type:"string",format:"date",title:E},e[33]=E,e[34]=h):h=e[34];let N;e[35]!==r.date?(N=z(r.date),e[35]=r.date,e[36]=N):N=e[36];let k;e[37]!==s?(k=v=>s("date",v),e[37]=s,e[38]=k):k=e[38];let j;e[39]!==i?(j=i("sandbox.postEditor.dateLabel"),e[39]=i,e[40]=j):j=e[40];let P;e[41]!==h||e[42]!==N||e[43]!==k||e[44]!==j?(P=t.jsx(Ae,{schema:h,value:N,onChange:k,path:"post-date",label:j}),e[41]=h,e[42]=N,e[43]=k,e[44]=j,e[45]=P):P=e[45];let V;e[46]!==g||e[47]!==P?(V=t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[g,P]}),e[46]=g,e[47]=P,e[48]=V):V=e[48];let T;e[49]!==i?(T=i("sandbox.postEditor.coverImageLabel"),e[49]=i,e[50]=T):T=e[50];let w;e[51]!==T?(w={type:"string",format:"image-uri",title:T},e[51]=T,e[52]=w):w=e[52];const q=r.image;let B;e[53]!==s?(B=v=>s("image",v),e[53]=s,e[54]=B):B=e[54];let L;e[55]!==i?(L=i("sandbox.postEditor.coverImageLabel"),e[55]=i,e[56]=L):L=e[56];let Y;e[57]!==r.image||e[58]!==w||e[59]!==B||e[60]!==L?(Y=t.jsx(Ie,{schema:w,value:q,onChange:B,path:"post-image",label:L}),e[57]=r.image,e[58]=w,e[59]=B,e[60]=L,e[61]=Y):Y=e[61];let S;e[62]!==i?(S=i("sandbox.postEditor.authorsLabel"),e[62]=i,e[63]=S):S=e[63];let F;e[64]!==s?(F=v=>s("authors",v),e[64]=s,e[65]=F):F=e[65];let $;e[66]!==a||e[67]!==r.authors||e[68]!==S||e[69]!==F?($=t.jsx(xe,{label:S,decofile:a,kind:"authors",valueField:"email",toRef:Xe,selected:r.authors,onChange:F}),e[66]=a,e[67]=r.authors,e[68]=S,e[69]=F,e[70]=$):$=e[70];let R;e[71]!==i?(R=i("sandbox.postEditor.categoriesLabel"),e[71]=i,e[72]=R):R=e[72];let A;e[73]!==s?(A=v=>s("categories",v),e[73]=s,e[74]=A):A=e[74];let I;e[75]!==a||e[76]!==r.categories||e[77]!==R||e[78]!==A?(I=t.jsx(xe,{label:R,decofile:a,kind:"categories",valueField:"slug",toRef:We,selected:r.categories,onChange:A}),e[75]=a,e[76]=r.categories,e[77]=R,e[78]=A,e[79]=I):I=e[79];let _;e[80]!==s?(_=v=>s("extraProps",v),e[80]=s,e[81]=_):_=e[81];let M;e[82]!==r.extraProps||e[83]!==_?(M=t.jsx(Ge,{value:r.extraProps,onChange:_}),e[82]=r.extraProps,e[83]=_,e[84]=M):M=e[84];let U;return e[85]!==V||e[86]!==Y||e[87]!==$||e[88]!==I||e[89]!==M||e[90]!==f?(U=t.jsxs("div",{className:"space-y-5",children:[f,V,Y,$,I,M]}),e[85]=V,e[86]=Y,e[87]=$,e[88]=I,e[89]=M,e[90]=f,e[91]=U):U=e[91],U}function We(C){return{name:z(C.name),slug:z(C.slug)}}function Xe(C){return{...C}}function Ge(C){const e=me.c(24),{value:r,onChange:a}=C,s=ne();let i,x,p,u;if(e[0]!==a||e[1]!==s||e[2]!==r){i=Oe(r);const n=(y,c)=>a(i.map((l,g)=>g===y?{...l,...c}:l));x="space-y-2";let d;e[7]!==s?(d=s("sandbox.postEditor.extraPropsLabel"),e[7]=s,e[8]=d):d=e[8],e[9]!==d?(p=t.jsx(pe,{children:d}),e[9]=d,e[10]=p):p=e[10],u=i.length>0&&t.jsx("ul",{className:"space-y-2",children:i.map((y,c)=>t.jsxs("li",{className:"group/item flex items-center gap-2",children:[t.jsx(de,{value:y.key,onChange:l=>n(c,{key:l.target.value}),placeholder:s("sandbox.postEditor.keyPlaceholder"),className:"h-9 flex-1"}),t.jsx(de,{value:y.value,onChange:l=>n(c,{value:l.target.value}),placeholder:s("sandbox.postEditor.valuePlaceholder"),className:"h-9 flex-1"}),t.jsx(De,{label:s("sandbox.postEditor.removePropLabel"),onClick:()=>a(i.filter((l,g)=>g!==c))})]},c))}),e[0]=a,e[1]=s,e[2]=r,e[3]=i,e[4]=x,e[5]=p,e[6]=u}else i=e[3],x=e[4],p=e[5],u=e[6];let m;e[11]!==s?(m=s("sandbox.postEditor.addPropLabel"),e[11]=s,e[12]=m):m=e[12];let o;e[13]!==i||e[14]!==a?(o=()=>a([...i,{key:"",value:""}]),e[13]=i,e[14]=a,e[15]=o):o=e[15];let f;e[16]!==m||e[17]!==o?(f=t.jsx(Ke,{label:m,onClick:o}),e[16]=m,e[17]=o,e[18]=f):f=e[18];let b;return e[19]!==x||e[20]!==p||e[21]!==u||e[22]!==f?(b=t.jsxs("div",{className:x,children:[p,u,f]}),e[19]=x,e[20]=p,e[21]=u,e[22]=f,e[23]=b):b=e[23],b}function xe(C){const e=me.c(24),{label:r,decofile:a,kind:s,valueField:i,toRef:x,selected:p,onChange:u}=C,m=ne();let o;e[0]!==a||e[1]!==s||e[2]!==p||e[3]!==x||e[4]!==i?(o=Fe({records:Re(a,s),selected:p,valueField:i,toRef:x}),e[0]=a,e[1]=s,e[2]=p,e[3]=x,e[4]=i,e[5]=o):o=e[5];const{options:f,selectedValues:b,refsForValues:n}=o;let d;e[6]!==s||e[7]!==m?(d=m(s==="authors"?"sandbox.postEditor.noAuthorsYet":"sandbox.postEditor.noCategoriesYet"),e[6]=s,e[7]=m,e[8]=d):d=e[8];const y=d;let c;e[9]!==s||e[10]!==m?(c=m(s==="authors"?"sandbox.postEditor.selectAuthorsPlaceholder":"sandbox.postEditor.selectCategoriesPlaceholder"),e[9]=s,e[10]=m,e[11]=c):c=e[11];const l=c;let g;e[12]!==r?(g=t.jsx(pe,{children:r}),e[12]=r,e[13]=g):g=e[13];let E;e[14]!==y||e[15]!==u||e[16]!==f||e[17]!==n||e[18]!==l||e[19]!==b?(E=f.length===0?t.jsx("p",{className:"text-xs text-muted-foreground",children:y}):t.jsx(Ee,{options:f,defaultValue:b,onValueChange:N=>u(n(N)),placeholder:l,maxCount:4}),e[14]=y,e[15]=u,e[16]=f,e[17]=n,e[18]=l,e[19]=b,e[20]=E):E=e[20];let h;return e[21]!==g||e[22]!==E?(h=t.jsxs("div",{className:"space-y-2",children:[g,E]}),e[21]=g,e[22]=E,e[23]=h):h=e[23],h}export{Uo as PostEditor};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as f,m as h,j as a}from"./index-
|
|
1
|
+
import{c as f,m as h,j as a}from"./index-C0OZZLFB.js";import{p as y}from"./agent-icon-BkCnlGeP.js";import{s as v}from"./Plus-D2G-ZUsM.js";import{s as j}from"./Trash01-BtMZ5VGa.js";function N(o){const e=f.c(14),{value:t,onChange:r,placeholder:s,className:n,onFocus:i,onBlur:l,onKeyDown:c,spellCheck:b,inputRef:p}=o,x=b===void 0?!0:b;let u;e[0]!==r?(u=g=>r(g.target.value),e[0]=r,e[1]=u):u=e[1];let d;e[2]!==n?(d=h("w-full resize-none border-0 bg-transparent p-0 outline-none [field-sizing:content] placeholder:text-muted-foreground/50 focus:ring-0",n),e[2]=n,e[3]=d):d=e[3];let m;return e[4]!==p||e[5]!==l||e[6]!==i||e[7]!==c||e[8]!==s||e[9]!==x||e[10]!==u||e[11]!==d||e[12]!==t?(m=a.jsx("textarea",{ref:p,value:t,onChange:u,onInput:w,onFocus:i,onBlur:l,onKeyDown:c,placeholder:s,spellCheck:x,rows:1,className:d}),e[4]=p,e[5]=l,e[6]=i,e[7]=c,e[8]=s,e[9]=x,e[10]=u,e[11]=d,e[12]=t,e[13]=m):m=e[13],m}function w(o){const e=o.currentTarget;e.style.height="auto",e.style.height=`${e.scrollHeight}px`}function z(o){return typeof o=="string"?o:""}function T(o){const e=f.c(11);let t,r;e[0]!==o?({className:t,...r}=o,e[0]=o,e[1]=t,e[2]=r):(t=e[1],r=e[2]);let s;e[3]!==t?(s=h(t,"pr-9"),e[3]=t,e[4]=s):s=e[4];let n;e[5]!==r||e[6]!==s?(n=a.jsx(N,{...r,className:s}),e[5]=r,e[6]=s,e[7]=n):n=e[7];let i;e[8]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(y,{size:18,"aria-hidden":!0,className:"pointer-events-none absolute right-2 top-3 text-muted-foreground/40 transition-opacity group-hover/editable:text-muted-foreground group-focus-within/editable:text-muted-foreground"}),e[8]=i):i=e[8];let l;return e[9]!==n?(l=a.jsxs("div",{className:"group/editable relative -mx-2 rounded-md px-2 transition-colors hover:bg-muted/50 focus-within:bg-muted/50",children:[n,i]}),e[9]=n,e[10]=l):l=e[10],l}function R(o){const e=f.c(5),{label:t,onClick:r,disabled:s}=o;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(v,{size:13}),e[0]=n):n=e[0];let i;return e[1]!==s||e[2]!==t||e[3]!==r?(i=a.jsxs("button",{type:"button",onClick:r,disabled:s,className:"flex items-center gap-1.5 rounded-md border border-dashed px-2.5 py-1.5 text-xs text-muted-foreground transition-colors hover:border-foreground/30 hover:text-foreground disabled:opacity-40 disabled:hover:border-dashed disabled:hover:text-muted-foreground cursor-pointer",children:[n,t]}),e[1]=s,e[2]=t,e[3]=r,e[4]=i):i=e[4],i}function B(o){const e=f.c(4),{label:t,onClick:r}=o;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(j,{size:13}),e[0]=s):s=e[0];let n;return e[1]!==t||e[2]!==r?(n=a.jsx("button",{type:"button","aria-label":t,onClick:r,className:"flex h-6 w-6 shrink-0 items-center justify-center rounded text-muted-foreground/60 opacity-0 transition-opacity hover:text-destructive group-hover/item:opacity-100 cursor-pointer",children:s}),e[1]=t,e[2]=r,e[3]=n):n=e[3],n}function E(o){const e=f.c(2),{children:t}=o;let r;return e[0]!==t?(r=a.jsx("div",{className:"absolute -top-9 left-0 z-10 flex items-center gap-0.5 rounded-md border bg-popover p-0.5 shadow-md",children:t}),e[0]=t,e[1]=r):r=e[1],r}function S(o){const e=f.c(8),{active:t,label:r,onClick:s,children:n}=o,i=t?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground";let l;e[0]!==i?(l=h("flex h-7 min-w-7 items-center justify-center rounded px-1.5 text-sm transition-colors cursor-pointer",i),e[0]=i,e[1]=l):l=e[1];let c;return e[2]!==t||e[3]!==n||e[4]!==r||e[5]!==s||e[6]!==l?(c=a.jsx("button",{type:"button","aria-label":r,"aria-pressed":t,onMouseDown:_,onClick:s,className:l,children:n}),e[2]=t,e[3]=n,e[4]=r,e[5]=s,e[6]=l,e[7]=c):c=e[7],c}function _(o){return o.preventDefault()}function D(o){if(Array.isArray(o))return o;if(typeof o!="string"||o.trim()==="")return[];try{const e=JSON.parse(o);return Array.isArray(e)?e:[]}catch{return[]}}export{R as A,T as E,E as F,N as I,B as R,S as T,D as p,z as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as Se,b as Ne,j as s,a as Ce,Z as Te,a5 as Ee,v as $e,p as V,t as Ae}from"./index-CfFL-KGG.js";import{P as be}from"./index-DWv0TWTe.js";import{A as Be}from"./avatar-CCn63Xa7.js";import{S as ke}from"./switch-C7k_-apD.js";import{c as Pe,S as De,d as ye,a as Ve}from"./select-D4H00H7x.js";import{T as _e,a as Ge}from"./toggle-group-B1HDWUZB.js";import{I as Re}from"./input-B3Dt0BFc.js";import{i as Ue}from"./Monitor01-LshHcoqv.js";import{n as qe,a as Fe}from"./Sun-eHvz_Tki.js";import{i as Oe}from"./Play-p7DPiiIM.js";import{u as Ke}from"./use-debounced-autosave-DgyQozTA.js";import{p as Ze,q as He}from"./question-004-sINsf4GQ.js";import"./index-qnFeYZet.js";import{c as Je,b as w,S as Le,a as ze}from"./settings-section-DM0USFfa.js";import"./sidebar-C4odovf2.js";import"./LayoutLeft-BZaLssVb.js";import"./use-mobile-KlJFg_qr.js";import"./X-BJwjqkUy.js";import"./tooltip-DuiTY0o9.js";import"./User01-8iKcnb50.js";import"./Check-zqFoKy_c.js";import"./ChevronDown-oqZ9p_45.js";import"./ChevronUp-BActoOls.js";import"./card-BN05K1zd.js";import"./ArrowUpRight-BKQoGrRD.js";const we=[{value:"en",label:"English"},{value:"pt-BR",label:"Português (Brasil)"}];function Me(){const e=Se.c(36),t=Ne(),{data:l,isPending:i}=Ce.useSession(),c=l?.user,r=c?.image,a=c?.name??"";let v;e[0]!==a?(v={values:{name:a}},e[0]=a,e[1]=v):v=e[1];const o=Te(v);let L;e[2]!==o||e[3]!==t?(L={save:async()=>{const k=o.control._formState.dirtyFields;if(Object.keys(k).length===0)return;const x=o.getValues(),P=o.control._defaultValues;o.reset(x,{keepValues:!0});try{await Ce.updateUser({name:x.name}),V("profile_updated",{fields:["name"]}),Ae.success(t("settings.profile.updateSuccess"))}catch{o.reset(P,{keepValues:!0}),Ae.error(t("settings.profile.updateError"))}}},e[2]=o,e[3]=t,e[4]=L):L=e[4];const{schedule:y,flush:j}=Ke(L);if(i)return null;let b;e[5]!==t?(b=t("settings.profile.avatar"),e[5]=t,e[6]=b):b=e[6];const N=c?.name??"U";let f;e[7]!==N||e[8]!==r?(f=s.jsx(Be,{url:r,fallback:N,shape:"circle",size:"base"}),e[7]=N,e[8]=r,e[9]=f):f=e[9];let S;e[10]!==b||e[11]!==f?(S=s.jsx(w,{title:b,action:f}),e[10]=b,e[11]=f,e[12]=S):S=e[12];let p;e[13]!==t?(p=t("settings.profile.displayName"),e[13]=t,e[14]=p):p=e[14];let u;e[15]!==j||e[16]!==y||e[17]!==t?(u=k=>{const{field:x}=k;return s.jsx(Re,{id:"display-name",...x,onChange:P=>{x.onChange(P),y()},onBlur:()=>{x.onBlur(),j()},onKeyDown:P=>{P.key==="Enter"&&j()},placeholder:t("settings.profile.displayNamePlaceholder"),className:"w-[280px]"})},e[15]=j,e[16]=y,e[17]=t,e[18]=u):u=e[18];let _;e[19]!==o.control||e[20]!==u?(_=s.jsx(Ee,{control:o.control,name:"name",render:u}),e[19]=o.control,e[20]=u,e[21]=_):_=e[21];let d;e[22]!==p||e[23]!==_?(d=s.jsx(w,{title:p,action:_}),e[22]=p,e[23]=_,e[24]=d):d=e[24];let m;e[25]!==t?(m=t("settings.profile.email"),e[25]=t,e[26]=m):m=e[26];const C=c?.email;let g;e[27]!==C?(g=s.jsx("span",{className:"text-sm text-muted-foreground",children:C}),e[27]=C,e[28]=g):g=e[28];let h;e[29]!==m||e[30]!==g?(h=s.jsx(w,{title:m,action:g}),e[29]=m,e[30]=g,e[31]=h):h=e[31];let A;return e[32]!==d||e[33]!==h||e[34]!==S?(A=s.jsx(Le,{children:s.jsxs(ze,{children:[S,d,h]})}),e[32]=d,e[33]=h,e[34]=S,e[35]=A):A=e[35],A}function Qe(){const e=Se.c(159),t=Ne(),[l,i]=$e();let c;e[0]!==i||e[1]!==t?(c=async n=>{if(n&&await Notification.requestPermission()!=="granted"){V("preferences_notifications_permission_denied"),Ae.error(t("settings.preferences.notificationsDenied")),i(tt);return}V("preferences_notifications_toggled",{enabled:n}),i(D=>({...D,enableNotifications:n}))},e[0]=i,e[1]=t,e[2]=c):c=e[2];const r=c;let a;e[3]!==t?(a=t("settings.preferences.title"),e[3]=t,e[4]=a):a=e[4];let v;e[5]!==t?(v=t("settings.preferences.theme"),e[5]=t,e[6]=v):v=e[6];let o;e[7]!==t?(o=t("settings.preferences.themeDescription"),e[7]=t,e[8]=o):o=e[8];const L=l.theme;let y;e[9]!==i?(y=n=>{n&&(V("preferences_theme_changed",{to_value:n}),i(D=>({...D,theme:n})))},e[9]=i,e[10]=y):y=e[10];let j;e[11]!==t?(j=t("settings.preferences.themeLight"),e[11]=t,e[12]=j):j=e[12];let b;e[13]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(qe,{size:14}),e[13]=b):b=e[13];let N;e[14]!==j?(N=s.jsx(_e,{value:"light","aria-label":j,children:b}),e[14]=j,e[15]=N):N=e[15];let f;e[16]!==t?(f=t("settings.preferences.themeDark"),e[16]=t,e[17]=f):f=e[17];let S;e[18]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Fe,{size:14}),e[18]=S):S=e[18];let p;e[19]!==f?(p=s.jsx(_e,{value:"dark","aria-label":f,children:S}),e[19]=f,e[20]=p):p=e[20];let u;e[21]!==t?(u=t("settings.preferences.themeSystem"),e[21]=t,e[22]=u):u=e[22];let _;e[23]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(Ue,{size:14}),e[23]=_):_=e[23];let d;e[24]!==u?(d=s.jsx(_e,{value:"system","aria-label":u,children:_}),e[24]=u,e[25]=d):d=e[25];let m;e[26]!==l.theme||e[27]!==p||e[28]!==d||e[29]!==y||e[30]!==N?(m=s.jsxs(Ge,{type:"single",size:"sm",variant:"outline",value:L,onValueChange:y,children:[N,p,d]}),e[26]=l.theme,e[27]=p,e[28]=d,e[29]=y,e[30]=N,e[31]=m):m=e[31];let C;e[32]!==m||e[33]!==v||e[34]!==o?(C=s.jsx(w,{title:v,description:o,action:m}),e[32]=m,e[33]=v,e[34]=o,e[35]=C):C=e[35];let g;e[36]!==t?(g=t("settings.preferences.language"),e[36]=t,e[37]=g):g=e[37];let h;e[38]!==t?(h=t("settings.preferences.languageDescription"),e[38]=t,e[39]=h):h=e[39];let A;e[40]!==i?(A=n=>{V("preferences_language_changed",{to_value:n}),i(D=>({...D,language:n}))},e[40]=i,e[41]=A):A=e[41];let k;e[42]!==l.language?(k=we.find(n=>n.value===l.language)?.label,e[42]=l.language,e[43]=k):k=e[43];let x;e[44]!==k?(x=s.jsx(Ve,{className:"w-44 h-7 text-xs",children:s.jsx("span",{children:k})}),e[44]=k,e[45]=x):x=e[45];let P;e[46]===Symbol.for("react.memo_cache_sentinel")?(P=s.jsx(Pe,{children:we.map(et)}),e[46]=P):P=e[46];let z;e[47]!==l.language||e[48]!==A||e[49]!==x?(z=s.jsxs(De,{value:l.language,onValueChange:A,children:[x,P]}),e[47]=l.language,e[48]=A,e[49]=x,e[50]=z):z=e[50];let I;e[51]!==g||e[52]!==h||e[53]!==z?(I=s.jsx(w,{title:g,description:h,action:z}),e[51]=g,e[52]=h,e[53]=z,e[54]=I):I=e[54];let T;e[55]!==t?(T=t("settings.preferences.notifications"),e[55]=t,e[56]=T):T=e[56];let E;e[57]!==t?(E=t("settings.preferences.notificationsDescription"),e[57]=t,e[58]=E):E=e[58];let $;e[59]!==r||e[60]!==l.enableNotifications?($=typeof Notification<"u"?()=>r(!l.enableNotifications):void 0,e[59]=r,e[60]=l.enableNotifications,e[61]=$):$=e[61];let B;e[62]!==r||e[63]!==l.enableNotifications?(B=s.jsx(ke,{disabled:typeof Notification>"u",checked:l.enableNotifications,onCheckedChange:r}),e[62]=r,e[63]=l.enableNotifications,e[64]=B):B=e[64];let G;e[65]!==T||e[66]!==E||e[67]!==$||e[68]!==B?(G=s.jsx(w,{title:T,description:E,onClick:$,action:B}),e[65]=T,e[66]=E,e[67]=$,e[68]=B,e[69]=G):G=e[69];let R;e[70]!==t?(R=t("settings.preferences.sounds"),e[70]=t,e[71]=R):R=e[71];let U;e[72]!==t?(U=t("settings.preferences.soundsDescription"),e[72]=t,e[73]=U):U=e[73];let q;e[74]!==l.enableSounds||e[75]!==i?(q=()=>{V("preferences_sounds_toggled",{enabled:!l.enableSounds}),i(Ye)},e[74]=l.enableSounds,e[75]=i,e[76]=q):q=e[76];let F;e[77]!==t?(F=t("settings.preferences.soundsPreview"),e[77]=t,e[78]=F):F=e[78];let ve;e[79]===Symbol.for("react.memo_cache_sentinel")?(ve=s.jsx(Oe,{size:11}),e[79]=ve):ve=e[79];let O;e[80]!==F?(O=s.jsx("button",{type:"button","aria-label":F,onClick:We,className:"size-6 rounded flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent/50 transition-colors cursor-pointer",children:ve}),e[80]=F,e[81]=O):O=e[81];let K;e[82]!==i?(K=n=>{V("preferences_sounds_toggled",{enabled:n}),i(D=>({...D,enableSounds:n}))},e[82]=i,e[83]=K):K=e[83];let Z;e[84]!==l.enableSounds||e[85]!==K?(Z=s.jsx(ke,{checked:l.enableSounds,onCheckedChange:K}),e[84]=l.enableSounds,e[85]=K,e[86]=Z):Z=e[86];let H;e[87]!==O||e[88]!==Z?(H=s.jsxs("div",{className:"flex items-center gap-2",children:[O,Z]}),e[87]=O,e[88]=Z,e[89]=H):H=e[89];let J;e[90]!==R||e[91]!==U||e[92]!==q||e[93]!==H?(J=s.jsx(w,{title:R,description:U,onClick:q,action:H}),e[90]=R,e[91]=U,e[92]=q,e[93]=H,e[94]=J):J=e[94];let M;e[95]!==t?(M=t("settings.preferences.toolApproval"),e[95]=t,e[96]=M):M=e[96];let Q;e[97]!==t?(Q=t("settings.preferences.toolApprovalDescription"),e[97]=t,e[98]=Q):Q=e[98];const Ie=l.toolApprovalLevel;let W;e[99]!==i?(W=n=>{V("preferences_tool_approval_changed",{to_value:n}),i(D=>({...D,toolApprovalLevel:n}))},e[99]=i,e[100]=W):W=e[100];let X;e[101]!==l.toolApprovalLevel||e[102]!==t?(X={readonly:t("settings.preferences.toolApprovalAsk"),auto:t("settings.preferences.toolApprovalAuto")}[l.toolApprovalLevel]??t("settings.preferences.toolApprovalAsk"),e[101]=l.toolApprovalLevel,e[102]=t,e[103]=X):X=e[103];let Y;e[104]!==X?(Y=s.jsx(Ve,{className:"w-36 h-7 text-xs",children:s.jsx("span",{children:X})}),e[104]=X,e[105]=Y):Y=e[105];let ee;e[106]!==t?(ee=t("settings.preferences.toolApprovalAsk"),e[106]=t,e[107]=ee):ee=e[107];let te;e[108]!==t?(te=t("settings.preferences.toolApprovalAsk"),e[108]=t,e[109]=te):te=e[109];let se;e[110]!==te?(se=s.jsx("span",{className:"font-medium",children:te}),e[110]=te,e[111]=se):se=e[111];let le;e[112]!==t?(le=t("settings.preferences.toolApprovalAskDescription"),e[112]=t,e[113]=le):le=e[113];let ie;e[114]!==le?(ie=s.jsx("span",{className:"text-xs text-muted-foreground",children:le}),e[114]=le,e[115]=ie):ie=e[115];let ne;e[116]!==se||e[117]!==ie?(ne=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[se,ie]}),e[116]=se,e[117]=ie,e[118]=ne):ne=e[118];let oe;e[119]!==ee||e[120]!==ne?(oe=s.jsx(ye,{value:"readonly",textValue:ee,children:ne}),e[119]=ee,e[120]=ne,e[121]=oe):oe=e[121];let re;e[122]!==t?(re=t("settings.preferences.toolApprovalAuto"),e[122]=t,e[123]=re):re=e[123];let ae;e[124]!==t?(ae=t("settings.preferences.toolApprovalAuto"),e[124]=t,e[125]=ae):ae=e[125];let ce;e[126]!==ae?(ce=s.jsx("span",{className:"font-medium",children:ae}),e[126]=ae,e[127]=ce):ce=e[127];let fe;e[128]!==t?(fe=t("settings.preferences.toolApprovalAutoDescription"),e[128]=t,e[129]=fe):fe=e[129];let pe;e[130]!==fe?(pe=s.jsx("span",{className:"text-xs text-muted-foreground",children:fe}),e[130]=fe,e[131]=pe):pe=e[131];let ue;e[132]!==ce||e[133]!==pe?(ue=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[ce,pe]}),e[132]=ce,e[133]=pe,e[134]=ue):ue=e[134];let de;e[135]!==re||e[136]!==ue?(de=s.jsx(ye,{value:"auto",textValue:re,children:ue}),e[135]=re,e[136]=ue,e[137]=de):de=e[137];let me;e[138]!==oe||e[139]!==de?(me=s.jsxs(Pe,{children:[oe,de]}),e[138]=oe,e[139]=de,e[140]=me):me=e[140];let ge;e[141]!==l.toolApprovalLevel||e[142]!==W||e[143]!==Y||e[144]!==me?(ge=s.jsxs(De,{value:Ie,onValueChange:W,children:[Y,me]}),e[141]=l.toolApprovalLevel,e[142]=W,e[143]=Y,e[144]=me,e[145]=ge):ge=e[145];let he;e[146]!==M||e[147]!==Q||e[148]!==ge?(he=s.jsx(w,{title:M,description:Q,action:ge}),e[146]=M,e[147]=Q,e[148]=ge,e[149]=he):he=e[149];let xe;e[150]!==C||e[151]!==I||e[152]!==G||e[153]!==J||e[154]!==he?(xe=s.jsxs(ze,{children:[C,I,G,J,he]}),e[150]=C,e[151]=I,e[152]=G,e[153]=J,e[154]=he,e[155]=xe):xe=e[155];let je;return e[156]!==a||e[157]!==xe?(je=s.jsx(Le,{title:a,children:xe}),e[156]=a,e[157]=xe,e[158]=je):je=e[158],je}function We(){V("preferences_sounds_previewed"),Ze(He.dataUri).catch(Xe)}function Xe(){}function Ye(e){return{...e,enableSounds:!e.enableSounds}}function et(e){return s.jsx(ye,{value:e.value,textValue:e.label,children:e.label},e.value)}function tt(e){return{...e,enableNotifications:!1}}function st(){const e=Se.c(8),t=Ne();let l;e[0]!==t?(l=t("settings.title"),e[0]=t,e[1]=l):l=e[1];let i;e[2]!==l?(i=s.jsx(be.Title,{children:l}),e[2]=l,e[3]=i):i=e[3];let c,r;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(Me,{}),r=s.jsx(Qe,{}),e[4]=c,e[5]=r):(c=e[4],r=e[5]);let a;return e[6]!==i?(a=s.jsx(be,{children:s.jsx(be.Content,{children:s.jsx(be.Body,{children:s.jsxs(Je,{children:[i,c,r]})})})}),e[6]=i,e[7]=a):a=e[7],a}function Pt(){const e=Se.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(st,{}),e[0]=t):t=e[0],t}export{Pt as default};
|
|
1
|
+
import{c as Se,b as Ne,j as s,a as Ce,Z as Te,a5 as Ee,v as $e,p as V,t as Ae}from"./index-C0OZZLFB.js";import{P as be}from"./index-BW4QX3uc.js";import{A as Be}from"./avatar-DqSS5jTC.js";import{S as ke}from"./switch-C1BC0Sj-.js";import{c as Pe,S as De,d as ye,a as Ve}from"./select-CQsSZAeB.js";import{T as _e,a as Ge}from"./toggle-group-DDFaTBbN.js";import{I as Re}from"./input-uPFsSc9f.js";import{i as Ue}from"./Monitor01-CD9v9l_d.js";import{n as qe,a as Fe}from"./Sun-FlbYzQoj.js";import{i as Oe}from"./Play-BW5PWOTU.js";import{u as Ke}from"./use-debounced-autosave-4kpLHHY2.js";import{p as Ze,q as He}from"./question-004-sINsf4GQ.js";import"./index-BDusD45D.js";import{c as Je,b as w,S as Le,a as ze}from"./settings-section-Cx_fZb-m.js";import"./sidebar-DKy5IhKS.js";import"./LayoutLeft-BQSVLYMa.js";import"./use-mobile-C4Pwc0jU.js";import"./X-CUxMuZ8q.js";import"./tooltip-m4eG9P-e.js";import"./User01-BY33IVC_.js";import"./Check-D5mSFNOJ.js";import"./ChevronDown-DWEJMoJH.js";import"./ChevronUp-DJngwrAz.js";import"./card-D-sxw87W.js";import"./ArrowUpRight-CvaOB9fb.js";const we=[{value:"en",label:"English"},{value:"pt-BR",label:"Português (Brasil)"}];function Me(){const e=Se.c(36),t=Ne(),{data:l,isPending:i}=Ce.useSession(),c=l?.user,r=c?.image,a=c?.name??"";let v;e[0]!==a?(v={values:{name:a}},e[0]=a,e[1]=v):v=e[1];const o=Te(v);let L;e[2]!==o||e[3]!==t?(L={save:async()=>{const k=o.control._formState.dirtyFields;if(Object.keys(k).length===0)return;const x=o.getValues(),P=o.control._defaultValues;o.reset(x,{keepValues:!0});try{await Ce.updateUser({name:x.name}),V("profile_updated",{fields:["name"]}),Ae.success(t("settings.profile.updateSuccess"))}catch{o.reset(P,{keepValues:!0}),Ae.error(t("settings.profile.updateError"))}}},e[2]=o,e[3]=t,e[4]=L):L=e[4];const{schedule:y,flush:j}=Ke(L);if(i)return null;let b;e[5]!==t?(b=t("settings.profile.avatar"),e[5]=t,e[6]=b):b=e[6];const N=c?.name??"U";let f;e[7]!==N||e[8]!==r?(f=s.jsx(Be,{url:r,fallback:N,shape:"circle",size:"base"}),e[7]=N,e[8]=r,e[9]=f):f=e[9];let S;e[10]!==b||e[11]!==f?(S=s.jsx(w,{title:b,action:f}),e[10]=b,e[11]=f,e[12]=S):S=e[12];let p;e[13]!==t?(p=t("settings.profile.displayName"),e[13]=t,e[14]=p):p=e[14];let u;e[15]!==j||e[16]!==y||e[17]!==t?(u=k=>{const{field:x}=k;return s.jsx(Re,{id:"display-name",...x,onChange:P=>{x.onChange(P),y()},onBlur:()=>{x.onBlur(),j()},onKeyDown:P=>{P.key==="Enter"&&j()},placeholder:t("settings.profile.displayNamePlaceholder"),className:"w-[280px]"})},e[15]=j,e[16]=y,e[17]=t,e[18]=u):u=e[18];let _;e[19]!==o.control||e[20]!==u?(_=s.jsx(Ee,{control:o.control,name:"name",render:u}),e[19]=o.control,e[20]=u,e[21]=_):_=e[21];let d;e[22]!==p||e[23]!==_?(d=s.jsx(w,{title:p,action:_}),e[22]=p,e[23]=_,e[24]=d):d=e[24];let m;e[25]!==t?(m=t("settings.profile.email"),e[25]=t,e[26]=m):m=e[26];const C=c?.email;let g;e[27]!==C?(g=s.jsx("span",{className:"text-sm text-muted-foreground",children:C}),e[27]=C,e[28]=g):g=e[28];let h;e[29]!==m||e[30]!==g?(h=s.jsx(w,{title:m,action:g}),e[29]=m,e[30]=g,e[31]=h):h=e[31];let A;return e[32]!==d||e[33]!==h||e[34]!==S?(A=s.jsx(Le,{children:s.jsxs(ze,{children:[S,d,h]})}),e[32]=d,e[33]=h,e[34]=S,e[35]=A):A=e[35],A}function Qe(){const e=Se.c(159),t=Ne(),[l,i]=$e();let c;e[0]!==i||e[1]!==t?(c=async n=>{if(n&&await Notification.requestPermission()!=="granted"){V("preferences_notifications_permission_denied"),Ae.error(t("settings.preferences.notificationsDenied")),i(tt);return}V("preferences_notifications_toggled",{enabled:n}),i(D=>({...D,enableNotifications:n}))},e[0]=i,e[1]=t,e[2]=c):c=e[2];const r=c;let a;e[3]!==t?(a=t("settings.preferences.title"),e[3]=t,e[4]=a):a=e[4];let v;e[5]!==t?(v=t("settings.preferences.theme"),e[5]=t,e[6]=v):v=e[6];let o;e[7]!==t?(o=t("settings.preferences.themeDescription"),e[7]=t,e[8]=o):o=e[8];const L=l.theme;let y;e[9]!==i?(y=n=>{n&&(V("preferences_theme_changed",{to_value:n}),i(D=>({...D,theme:n})))},e[9]=i,e[10]=y):y=e[10];let j;e[11]!==t?(j=t("settings.preferences.themeLight"),e[11]=t,e[12]=j):j=e[12];let b;e[13]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(qe,{size:14}),e[13]=b):b=e[13];let N;e[14]!==j?(N=s.jsx(_e,{value:"light","aria-label":j,children:b}),e[14]=j,e[15]=N):N=e[15];let f;e[16]!==t?(f=t("settings.preferences.themeDark"),e[16]=t,e[17]=f):f=e[17];let S;e[18]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Fe,{size:14}),e[18]=S):S=e[18];let p;e[19]!==f?(p=s.jsx(_e,{value:"dark","aria-label":f,children:S}),e[19]=f,e[20]=p):p=e[20];let u;e[21]!==t?(u=t("settings.preferences.themeSystem"),e[21]=t,e[22]=u):u=e[22];let _;e[23]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(Ue,{size:14}),e[23]=_):_=e[23];let d;e[24]!==u?(d=s.jsx(_e,{value:"system","aria-label":u,children:_}),e[24]=u,e[25]=d):d=e[25];let m;e[26]!==l.theme||e[27]!==p||e[28]!==d||e[29]!==y||e[30]!==N?(m=s.jsxs(Ge,{type:"single",size:"sm",variant:"outline",value:L,onValueChange:y,children:[N,p,d]}),e[26]=l.theme,e[27]=p,e[28]=d,e[29]=y,e[30]=N,e[31]=m):m=e[31];let C;e[32]!==m||e[33]!==v||e[34]!==o?(C=s.jsx(w,{title:v,description:o,action:m}),e[32]=m,e[33]=v,e[34]=o,e[35]=C):C=e[35];let g;e[36]!==t?(g=t("settings.preferences.language"),e[36]=t,e[37]=g):g=e[37];let h;e[38]!==t?(h=t("settings.preferences.languageDescription"),e[38]=t,e[39]=h):h=e[39];let A;e[40]!==i?(A=n=>{V("preferences_language_changed",{to_value:n}),i(D=>({...D,language:n}))},e[40]=i,e[41]=A):A=e[41];let k;e[42]!==l.language?(k=we.find(n=>n.value===l.language)?.label,e[42]=l.language,e[43]=k):k=e[43];let x;e[44]!==k?(x=s.jsx(Ve,{className:"w-44 h-7 text-xs",children:s.jsx("span",{children:k})}),e[44]=k,e[45]=x):x=e[45];let P;e[46]===Symbol.for("react.memo_cache_sentinel")?(P=s.jsx(Pe,{children:we.map(et)}),e[46]=P):P=e[46];let z;e[47]!==l.language||e[48]!==A||e[49]!==x?(z=s.jsxs(De,{value:l.language,onValueChange:A,children:[x,P]}),e[47]=l.language,e[48]=A,e[49]=x,e[50]=z):z=e[50];let I;e[51]!==g||e[52]!==h||e[53]!==z?(I=s.jsx(w,{title:g,description:h,action:z}),e[51]=g,e[52]=h,e[53]=z,e[54]=I):I=e[54];let T;e[55]!==t?(T=t("settings.preferences.notifications"),e[55]=t,e[56]=T):T=e[56];let E;e[57]!==t?(E=t("settings.preferences.notificationsDescription"),e[57]=t,e[58]=E):E=e[58];let $;e[59]!==r||e[60]!==l.enableNotifications?($=typeof Notification<"u"?()=>r(!l.enableNotifications):void 0,e[59]=r,e[60]=l.enableNotifications,e[61]=$):$=e[61];let B;e[62]!==r||e[63]!==l.enableNotifications?(B=s.jsx(ke,{disabled:typeof Notification>"u",checked:l.enableNotifications,onCheckedChange:r}),e[62]=r,e[63]=l.enableNotifications,e[64]=B):B=e[64];let G;e[65]!==T||e[66]!==E||e[67]!==$||e[68]!==B?(G=s.jsx(w,{title:T,description:E,onClick:$,action:B}),e[65]=T,e[66]=E,e[67]=$,e[68]=B,e[69]=G):G=e[69];let R;e[70]!==t?(R=t("settings.preferences.sounds"),e[70]=t,e[71]=R):R=e[71];let U;e[72]!==t?(U=t("settings.preferences.soundsDescription"),e[72]=t,e[73]=U):U=e[73];let q;e[74]!==l.enableSounds||e[75]!==i?(q=()=>{V("preferences_sounds_toggled",{enabled:!l.enableSounds}),i(Ye)},e[74]=l.enableSounds,e[75]=i,e[76]=q):q=e[76];let F;e[77]!==t?(F=t("settings.preferences.soundsPreview"),e[77]=t,e[78]=F):F=e[78];let ve;e[79]===Symbol.for("react.memo_cache_sentinel")?(ve=s.jsx(Oe,{size:11}),e[79]=ve):ve=e[79];let O;e[80]!==F?(O=s.jsx("button",{type:"button","aria-label":F,onClick:We,className:"size-6 rounded flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent/50 transition-colors cursor-pointer",children:ve}),e[80]=F,e[81]=O):O=e[81];let K;e[82]!==i?(K=n=>{V("preferences_sounds_toggled",{enabled:n}),i(D=>({...D,enableSounds:n}))},e[82]=i,e[83]=K):K=e[83];let Z;e[84]!==l.enableSounds||e[85]!==K?(Z=s.jsx(ke,{checked:l.enableSounds,onCheckedChange:K}),e[84]=l.enableSounds,e[85]=K,e[86]=Z):Z=e[86];let H;e[87]!==O||e[88]!==Z?(H=s.jsxs("div",{className:"flex items-center gap-2",children:[O,Z]}),e[87]=O,e[88]=Z,e[89]=H):H=e[89];let J;e[90]!==R||e[91]!==U||e[92]!==q||e[93]!==H?(J=s.jsx(w,{title:R,description:U,onClick:q,action:H}),e[90]=R,e[91]=U,e[92]=q,e[93]=H,e[94]=J):J=e[94];let M;e[95]!==t?(M=t("settings.preferences.toolApproval"),e[95]=t,e[96]=M):M=e[96];let Q;e[97]!==t?(Q=t("settings.preferences.toolApprovalDescription"),e[97]=t,e[98]=Q):Q=e[98];const Ie=l.toolApprovalLevel;let W;e[99]!==i?(W=n=>{V("preferences_tool_approval_changed",{to_value:n}),i(D=>({...D,toolApprovalLevel:n}))},e[99]=i,e[100]=W):W=e[100];let X;e[101]!==l.toolApprovalLevel||e[102]!==t?(X={readonly:t("settings.preferences.toolApprovalAsk"),auto:t("settings.preferences.toolApprovalAuto")}[l.toolApprovalLevel]??t("settings.preferences.toolApprovalAsk"),e[101]=l.toolApprovalLevel,e[102]=t,e[103]=X):X=e[103];let Y;e[104]!==X?(Y=s.jsx(Ve,{className:"w-36 h-7 text-xs",children:s.jsx("span",{children:X})}),e[104]=X,e[105]=Y):Y=e[105];let ee;e[106]!==t?(ee=t("settings.preferences.toolApprovalAsk"),e[106]=t,e[107]=ee):ee=e[107];let te;e[108]!==t?(te=t("settings.preferences.toolApprovalAsk"),e[108]=t,e[109]=te):te=e[109];let se;e[110]!==te?(se=s.jsx("span",{className:"font-medium",children:te}),e[110]=te,e[111]=se):se=e[111];let le;e[112]!==t?(le=t("settings.preferences.toolApprovalAskDescription"),e[112]=t,e[113]=le):le=e[113];let ie;e[114]!==le?(ie=s.jsx("span",{className:"text-xs text-muted-foreground",children:le}),e[114]=le,e[115]=ie):ie=e[115];let ne;e[116]!==se||e[117]!==ie?(ne=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[se,ie]}),e[116]=se,e[117]=ie,e[118]=ne):ne=e[118];let oe;e[119]!==ee||e[120]!==ne?(oe=s.jsx(ye,{value:"readonly",textValue:ee,children:ne}),e[119]=ee,e[120]=ne,e[121]=oe):oe=e[121];let re;e[122]!==t?(re=t("settings.preferences.toolApprovalAuto"),e[122]=t,e[123]=re):re=e[123];let ae;e[124]!==t?(ae=t("settings.preferences.toolApprovalAuto"),e[124]=t,e[125]=ae):ae=e[125];let ce;e[126]!==ae?(ce=s.jsx("span",{className:"font-medium",children:ae}),e[126]=ae,e[127]=ce):ce=e[127];let fe;e[128]!==t?(fe=t("settings.preferences.toolApprovalAutoDescription"),e[128]=t,e[129]=fe):fe=e[129];let pe;e[130]!==fe?(pe=s.jsx("span",{className:"text-xs text-muted-foreground",children:fe}),e[130]=fe,e[131]=pe):pe=e[131];let ue;e[132]!==ce||e[133]!==pe?(ue=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[ce,pe]}),e[132]=ce,e[133]=pe,e[134]=ue):ue=e[134];let de;e[135]!==re||e[136]!==ue?(de=s.jsx(ye,{value:"auto",textValue:re,children:ue}),e[135]=re,e[136]=ue,e[137]=de):de=e[137];let me;e[138]!==oe||e[139]!==de?(me=s.jsxs(Pe,{children:[oe,de]}),e[138]=oe,e[139]=de,e[140]=me):me=e[140];let ge;e[141]!==l.toolApprovalLevel||e[142]!==W||e[143]!==Y||e[144]!==me?(ge=s.jsxs(De,{value:Ie,onValueChange:W,children:[Y,me]}),e[141]=l.toolApprovalLevel,e[142]=W,e[143]=Y,e[144]=me,e[145]=ge):ge=e[145];let he;e[146]!==M||e[147]!==Q||e[148]!==ge?(he=s.jsx(w,{title:M,description:Q,action:ge}),e[146]=M,e[147]=Q,e[148]=ge,e[149]=he):he=e[149];let xe;e[150]!==C||e[151]!==I||e[152]!==G||e[153]!==J||e[154]!==he?(xe=s.jsxs(ze,{children:[C,I,G,J,he]}),e[150]=C,e[151]=I,e[152]=G,e[153]=J,e[154]=he,e[155]=xe):xe=e[155];let je;return e[156]!==a||e[157]!==xe?(je=s.jsx(Le,{title:a,children:xe}),e[156]=a,e[157]=xe,e[158]=je):je=e[158],je}function We(){V("preferences_sounds_previewed"),Ze(He.dataUri).catch(Xe)}function Xe(){}function Ye(e){return{...e,enableSounds:!e.enableSounds}}function et(e){return s.jsx(ye,{value:e.value,textValue:e.label,children:e.label},e.value)}function tt(e){return{...e,enableNotifications:!1}}function st(){const e=Se.c(8),t=Ne();let l;e[0]!==t?(l=t("settings.title"),e[0]=t,e[1]=l):l=e[1];let i;e[2]!==l?(i=s.jsx(be.Title,{children:l}),e[2]=l,e[3]=i):i=e[3];let c,r;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(Me,{}),r=s.jsx(Qe,{}),e[4]=c,e[5]=r):(c=e[4],r=e[5]);let a;return e[6]!==i?(a=s.jsx(be,{children:s.jsx(be.Content,{children:s.jsx(be.Body,{children:s.jsxs(Je,{children:[i,c,r]})})})}),e[6]=i,e[7]=a):a=e[7],a}function Pt(){const e=Se.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(st,{}),e[0]=t):t=e[0],t}export{Pt as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as L,F as H,j as U}from"./index-C0OZZLFB.js";import{a as O,g as $,s as E}from"./automation-runs-D_nSiH5I.js";import{r as k,u as B}from"./use-mcp-client-BlKKV1Up.js";import{b as V,c as Y}from"./use-mcp-tools-ChP6PgCo.js";import{u as q}from"./index-CUfVwH9-.js";import{c as G}from"./monaco-editor-0z2tX0LF.js";import{g as F,M as K,a as D}from"./index-CfJpV5Ma.js";import{b as W,a as z}from"./chat-context-CJi7-1nM.js";import{u as J}from"./shell-layout-DhvGv6C0.js";import{O as Q}from"./tab-id-CKBFmCGM.js";import"./select-CQsSZAeB.js";import"./tooltip-m4eG9P-e.js";import"./Check-D5mSFNOJ.js";import"./ChevronDown-DWEJMoJH.js";import"./ChevronUp-DJngwrAz.js";import"./useInfiniteQuery-DJ6QbQsy.js";import"./use-infinite-scroll-B4doGVNW.js";import"./use-connection-CXVgYxpF.js";import"./use-virtual-mcp-Dxo3FMQn.js";import"./card-D-sxw87W.js";import"./sidebar-DKy5IhKS.js";import"./LayoutLeft-BQSVLYMa.js";import"./use-mobile-C4Pwc0jU.js";import"./X-CUxMuZ8q.js";import"./table-CDqai6IN.js";import"./empty-state-BsmNIaU5.js";import"./use-members-B-KQ_R3U.js";import"./use-org-auth-client-B44RiYOM.js";import"./use-clock-tick-c_ux9QvV.js";import"./AlertCircle-DRO0C63y.js";import"./CheckCircle-CMSb-Ufg.js";import"./DotsVertical-CmCVGsua.js";import"./agent-icon-BkCnlGeP.js";import"./Tool01-CryzALFU.js";import"./ArrowUp-D1uEbZ6m.js";import"./Settings02-Dn7n72YT.js";import"./Tool02-j7a1fbiU.js";import"./ArrowRight-QhuneIw3.js";import"./ArrowUpRight-CvaOB9fb.js";import"./TrendUp01-pReoWaDd.js";import"./ZapSquare-ny8XWErX.js";import"./Users03-DzCuhC1B.js";import"./ChevronRight-BucKd4vs.js";import"./Stars02-Dl9X8T4c.js";import"./Copy01-C3uari6d.js";import"./Eye-Up5_0s8y.js";import"./FilterLines-BPQ0S9Wc.js";import"./Star01-DO8uKQUW.js";import"./Palette-Dron8fSh.js";import"./SwitchHorizontal01-BV6HyfEe.js";import"./HardDrive-DESP12mY.js";import"./Key01-DYkkEvXE.js";import"./XCircle-vLo3SWzM.js";import"./LinkExternal01-B37_DeVq.js";import"./LogOut01-CRncusV9.js";import"./Monitor01-CD9v9l_d.js";import"./Sun-FlbYzQoj.js";import"./Play-BW5PWOTU.js";import"./Plus-D2G-ZUsM.js";import"./SearchLg-D7QDvNSA.js";import"./SearchMd-DgBF3pC6.js";import"./Shield01-DzntegDN.js";import"./Stars01-DqP-rnPF.js";import"./Trash01-BtMZ5VGa.js";import"./Upload01-Dts1hUbd.js";import"./User01-BY33IVC_.js";import"./Users01-DQwIJ5ND.js";import"./XClose-B2uTWIxR.js";import"./Zap-KXmoroYg.js";import"./use-automations-CNfqkB0m.js";import"./studio-tools-CPXDuQEI.js";import"./useSuspenseInfiniteQuery-Dkm2M6Op.js";import"./avatar-DqSS5jTC.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CaH1-5AH.js";import"./dialog-Bq1bzF7J.js";import"./hooks-C0cHNE0b.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-BE_B1lqx.js";import"./calendar-Cmitf2cx.js";import"./integration-icon-B5c7VKfx.js";import"./use-navigate-to-agent-DKAN-J9H.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-kZq7PZPX.js";import"./form-e8U7zFxn.js";import"./label-IsSjBTBZ.js";import"./input-uPFsSc9f.js";import"./auth-BNaGycMo.js";import"./drawer-CUPXEGAd.js";import"./collection-search-BpN3s91o.js";import"./index-Cpi3QKTc.js";import"./get-initials-D-f_fDFw.js";import"./popover-wCpfL9Xg.js";import"./use-registry-app-BWOs5R0g.js";import"./github-repo-scope-CKSTLD3W.js";import"./authenticate-and-persist-oauth-prvdoPGr.js";import"./mcp-oauth-B2tg8JB_.js";import"./extract-connection-data-D_DPgz4m.js";import"./metadata-dUsYcpuu.js";import"./use-decopilot-events-DbgOATmJ.js";import"./dropdown-menu-7EE8Ay1M.js";import"./command-ZG-i4G49.js";import"./index-DDW-Xzs6.js";import"./use-organization-settings-DH9NkvyU.js";import"./companions-core-CsbRnlKj.js";import"./tabs-miIq202h.js";import"./toggle-group-DDFaTBbN.js";import"./use-deco-credits-9VzQZRFo.js";import"./alert-dialog-CnJXtW38.js";import"./toolbar-CfzCof_O.js";import"./skeleton-79DUTJFV.js";import"./github-repo-picker-D7oPbnSw.js";import"./use-debounced-value-w9NnEnSq.js";import"./provision-repo-scoped-github-connection-Dp638N7g.js";import"./connection-card-KGYYyIRz.js";import"./use-registry-connections-GudNq97X.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-D01yPMam.js";import"./connection-form-helpers-DVVuF5si.js";import"./collection-tabs-CG77op9x.js";import"./badge-Jypo6hHK.js";import"./use-ai-providers-FXveoQZ7.js";import"./connect-desktop-dialog-Cy4YmtSo.js";import"./select-model-Bbf5fM4j.js";import"./checkbox-BlHvEC-r.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Cx_fZb-m.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-C_Yqxuc3.js";import"./deco-site-production-url-CaKZ7xBn.js";import"./use-capability-vRhGM1yw.js";import"./pt-BR-CLy76QW2.js";import"./use-mcp-auth-status-DE1Zn8js.js";import"./use-debounced-autosave-4kpLHHY2.js";import"./index-BW4QX3uc.js";import"./search-input-dXbIuasP.js";import"./switch-C1BC0Sj-.js";import"./use-secrets-U9bmBrBv.js";import"./useQueries-D6TFDK-r.js";import"./use-file-configs-uAwgkxbf.js";import"./automation-list-row-BLxHb1Cn.js";import"./required-auth-layout-CviSU51B.js";import"./use-org-sso-DS_NLhEx.js";const X="studio://navigate";function Z(M){const[t]=M;if(M.length!==1||t?.type!=="resource_link"||!t.uri.startsWith(X))return{isNavigate:!1};let o=null;try{o=new URL(t.uri).searchParams.get("main")}catch{}return{isNavigate:!0,tab:o&&Q.has(o)?o:null}}const tt={};function ot(M){const t=L.c(38),{client:o,resourceURI:I,tool:e,connectionId:p,orgId:a,args:v}=M,{sendMessage:C}=W(),{setAppContext:f,clearAppContext:l}=z(),{openSidePanel:g,openTab:s}=J(),i=`${p}:${e.name}`;let c;t[0]!==s?(c=x=>x==="inline"?(s("0"),"inline"):"fullscreen",t[0]=s,t[1]=c):c=t[1];const m=c,n=v??tt;let u;t[2]!==o||t[3]!==e.name||t[4]!==n?(u={client:o,toolName:e.name,toolArguments:n},t[2]=o,t[3]=e.name,t[4]=n,t[5]=u):u=t[5];const{data:r}=Y(u);let h;if(t[6]!==e._meta||t[7]!==e.name){const x=$(e._meta);h=E(e.name,x),t[6]=e._meta,t[7]=e.name,t[8]=h}else h=t[8];const A=h;let d;t[9]!==e.inputSchema?(d=e.inputSchema??{type:"object"},t[9]=e.inputSchema,t[10]=d):d=t[10];let R;t[11]!==A||t[12]!==d||t[13]!==e?(R={...e,name:A,inputSchema:d},t[11]=A,t[12]=d,t[13]=e,t[14]=R):R=t[14];const b=R;let _;t[15]!==g||t[16]!==s||t[17]!==C?(_=x=>{const j=Z(x.content);if(j.isNavigate){j.tab&&s(j.tab);return}const w=G(x.content);w.content.length>0&&(g("chat"),C({tiptapDoc:w}))},t[15]=g,t[16]=s,t[17]=C,t[18]=_):_=t[18];const y=_;let P;t[19]!==b?(P={tool:b},t[19]=b,t[20]=P):P=t[20];let N;t[21]!==f||t[22]!==i?(N=x=>f(i,x),t[21]=f,t[22]=i,t[23]=N):N=t[23];let T;t[24]!==l||t[25]!==i?(T=()=>l(i),t[24]=l,t[25]=i,t[26]=T):T=t[26];let S;return t[27]!==o||t[28]!==y||t[29]!==m||t[30]!==a||t[31]!==I||t[32]!==P||t[33]!==N||t[34]!==T||t[35]!==n||t[36]!==r?(S=U.jsx(K,{resourceURI:I,orgId:a,toolInfo:P,toolInput:n,toolResult:r,displayMode:"fullscreen",minHeight:D.fullscreen.minHeight,maxHeight:D.fullscreen.maxHeight,client:o,onMessage:y,onUpdateModelContext:N,onTeardown:T,onRequestDisplayMode:m,className:"h-full"}),t[27]=o,t[28]=y,t[29]=m,t[30]=a,t[31]=I,t[32]=P,t[33]=N,t[34]=T,t[35]=n,t[36]=r,t[37]=S):S=t[37],S}function Be(M){const t=L.c(24),{connectionId:o,toolName:I,args:e}=M,{org:p}=H(),a=q();let v;t[0]!==o||t[1]!==a?(v=k(o)&&a.vmEntry?.sandboxProviderKind==="user-desktop"&&a.previewUrl?`${a.previewUrl.replace(/\/+$/,"")}/api/mcp`:void 0,t[0]=o,t[1]=a,t[2]=v):v=t[2];const C=v;let f;t[3]!==o||t[4]!==C||t[5]!==p.id||t[6]!==p.slug?(f={connectionId:o,orgId:p.id,orgSlug:p.slug,mcpUrl:C},t[3]=o,t[4]=C,t[5]=p.id,t[6]=p.slug,t[7]=f):f=t[7];const l=B(f);let g;t[8]!==l?(g={client:l},t[8]=l,t[9]=g):g=t[9];const{data:s}=V(g);let i,c,m;t[10]!==I||t[11]!==s.tools?(i=O(decodeURIComponent(I)),m=s.tools.find(r=>r.name===i)??s.tools.find(r=>{const h=$(r._meta);if(!h)return!1;if(E(r.name,h)===i)return!0;const d=E(i,h);return d!==i&&r.name===d}),c=m?._meta?F(m._meta):void 0,t[10]=I,t[11]=s.tools,t[12]=i,t[13]=c,t[14]=m):(i=t[12],c=t[13],m=t[14]);const n=c;if(!m||!n){let r;return t[15]!==i?(r=U.jsx("div",{className:"flex items-center justify-center h-full w-full",children:U.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',i,'" not found or has no UI']})}),t[15]=i,t[16]=r):r=t[16],r}let u;return t[17]!==e||t[18]!==l||t[19]!==o||t[20]!==p.id||t[21]!==n||t[22]!==m?(u=U.jsx(ot,{client:l,resourceURI:n,tool:m,connectionId:o,orgId:p.id,args:e}),t[17]=e,t[18]=l,t[19]=o,t[20]=p.id,t[21]=n,t[22]=m,t[23]=u):u=t[23],u}export{Be as AppViewContent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as L,b as A,j as r}from"./index-C0OZZLFB.js";import{I as O}from"./input-uPFsSc9f.js";import{L as F}from"./label-IsSjBTBZ.js";import{S as R,a as z,b as V,c as D,d as J}from"./select-CQsSZAeB.js";import{T as M}from"./textarea-D01yPMam.js";import{O as Q,P as Y,Q as $,I as q,T as G,Y as H}from"./index-CUfVwH9-.js";import{s as I}from"./primitives-DGzn3Tdf.js";import{u as U}from"./use-autosave-Be04nCGc.js";import"./tooltip-m4eG9P-e.js";import"./Check-D5mSFNOJ.js";import"./ChevronDown-DWEJMoJH.js";import"./ChevronUp-DJngwrAz.js";import"./ArrowUp-D1uEbZ6m.js";import"./chat-context-CJi7-1nM.js";import"./tab-id-CKBFmCGM.js";import"./hooks-C0cHNE0b.js";import"./use-mcp-client-BlKKV1Up.js";import"./auth-BNaGycMo.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-BE_B1lqx.js";import"./studio-tools-CPXDuQEI.js";import"./use-virtual-mcp-Dxo3FMQn.js";import"./use-ai-providers-FXveoQZ7.js";import"./use-decopilot-events-DbgOATmJ.js";import"./use-organization-settings-DH9NkvyU.js";import"./automation-runs-D_nSiH5I.js";import"./useInfiniteQuery-DJ6QbQsy.js";import"./use-infinite-scroll-B4doGVNW.js";import"./use-connection-CXVgYxpF.js";import"./card-D-sxw87W.js";import"./sidebar-DKy5IhKS.js";import"./LayoutLeft-BQSVLYMa.js";import"./use-mobile-C4Pwc0jU.js";import"./X-CUxMuZ8q.js";import"./table-CDqai6IN.js";import"./empty-state-BsmNIaU5.js";import"./use-members-B-KQ_R3U.js";import"./use-org-auth-client-B44RiYOM.js";import"./use-clock-tick-c_ux9QvV.js";import"./AlertCircle-DRO0C63y.js";import"./CheckCircle-CMSb-Ufg.js";import"./DotsVertical-CmCVGsua.js";import"./agent-icon-BkCnlGeP.js";import"./Tool01-CryzALFU.js";import"./Settings02-Dn7n72YT.js";import"./Tool02-j7a1fbiU.js";import"./ArrowRight-QhuneIw3.js";import"./ArrowUpRight-CvaOB9fb.js";import"./TrendUp01-pReoWaDd.js";import"./ZapSquare-ny8XWErX.js";import"./Users03-DzCuhC1B.js";import"./ChevronRight-BucKd4vs.js";import"./Stars02-Dl9X8T4c.js";import"./Copy01-C3uari6d.js";import"./Eye-Up5_0s8y.js";import"./FilterLines-BPQ0S9Wc.js";import"./Star01-DO8uKQUW.js";import"./Palette-Dron8fSh.js";import"./SwitchHorizontal01-BV6HyfEe.js";import"./HardDrive-DESP12mY.js";import"./Key01-DYkkEvXE.js";import"./XCircle-vLo3SWzM.js";import"./LinkExternal01-B37_DeVq.js";import"./LogOut01-CRncusV9.js";import"./Monitor01-CD9v9l_d.js";import"./Sun-FlbYzQoj.js";import"./Play-BW5PWOTU.js";import"./Plus-D2G-ZUsM.js";import"./SearchLg-D7QDvNSA.js";import"./SearchMd-DgBF3pC6.js";import"./Shield01-DzntegDN.js";import"./Stars01-DqP-rnPF.js";import"./Trash01-BtMZ5VGa.js";import"./Upload01-Dts1hUbd.js";import"./User01-BY33IVC_.js";import"./Users01-DQwIJ5ND.js";import"./XClose-B2uTWIxR.js";import"./Zap-KXmoroYg.js";import"./use-automations-CNfqkB0m.js";import"./useSuspenseInfiniteQuery-Dkm2M6Op.js";import"./avatar-DqSS5jTC.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CaH1-5AH.js";import"./dialog-Bq1bzF7J.js";import"./monaco-editor-0z2tX0LF.js";import"./index-CfJpV5Ma.js";import"./calendar-Cmitf2cx.js";import"./shell-layout-DhvGv6C0.js";import"./required-auth-layout-CviSU51B.js";import"./use-org-sso-DS_NLhEx.js";import"./integration-icon-B5c7VKfx.js";import"./use-navigate-to-agent-DKAN-J9H.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-kZq7PZPX.js";import"./form-e8U7zFxn.js";import"./drawer-CUPXEGAd.js";import"./collection-search-BpN3s91o.js";import"./index-Cpi3QKTc.js";import"./get-initials-D-f_fDFw.js";import"./popover-wCpfL9Xg.js";import"./use-registry-app-BWOs5R0g.js";import"./use-mcp-tools-ChP6PgCo.js";import"./github-repo-scope-CKSTLD3W.js";import"./authenticate-and-persist-oauth-prvdoPGr.js";import"./mcp-oauth-B2tg8JB_.js";import"./extract-connection-data-D_DPgz4m.js";import"./metadata-dUsYcpuu.js";import"./dropdown-menu-7EE8Ay1M.js";import"./command-ZG-i4G49.js";import"./index-DDW-Xzs6.js";import"./companions-core-CsbRnlKj.js";import"./tabs-miIq202h.js";import"./toggle-group-DDFaTBbN.js";import"./use-deco-credits-9VzQZRFo.js";import"./alert-dialog-CnJXtW38.js";import"./toolbar-CfzCof_O.js";import"./skeleton-79DUTJFV.js";import"./github-repo-picker-D7oPbnSw.js";import"./use-debounced-value-w9NnEnSq.js";import"./provision-repo-scoped-github-connection-Dp638N7g.js";import"./connection-card-KGYYyIRz.js";import"./use-registry-connections-GudNq97X.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-DVVuF5si.js";import"./collection-tabs-CG77op9x.js";import"./badge-Jypo6hHK.js";import"./connect-desktop-dialog-Cy4YmtSo.js";import"./select-model-Bbf5fM4j.js";import"./checkbox-BlHvEC-r.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Cx_fZb-m.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-C_Yqxuc3.js";import"./deco-site-production-url-CaKZ7xBn.js";import"./use-capability-vRhGM1yw.js";import"./pt-BR-CLy76QW2.js";import"./use-mcp-auth-status-DE1Zn8js.js";import"./use-debounced-autosave-4kpLHHY2.js";import"./index-BW4QX3uc.js";import"./search-input-dXbIuasP.js";import"./switch-C1BC0Sj-.js";import"./use-secrets-U9bmBrBv.js";import"./useQueries-D6TFDK-r.js";import"./use-file-configs-uAwgkxbf.js";import"./automation-list-row-BLxHb1Cn.js";const W={authors:[{key:"name",labelKey:"sandbox.recordEditor.fieldName",widget:"text"},{key:"type",labelKey:"sandbox.recordEditor.fieldType",widget:"select",options:[{value:"Person",labelKey:"sandbox.recordEditor.optionPerson"},{value:"Organization",labelKey:"sandbox.recordEditor.optionOrganization"}]},{key:"email",labelKey:"sandbox.recordEditor.fieldEmail",widget:"text",placeholderKey:"sandbox.recordEditor.placeholderEmail"},{key:"jobTitle",labelKey:"sandbox.recordEditor.fieldJobTitle",widget:"text"},{key:"company",labelKey:"sandbox.recordEditor.fieldCompany",widget:"text"},{key:"avatar",labelKey:"sandbox.recordEditor.fieldAvatar",widget:"image"}]},X={authors:"sandbox.recordEditor.titleAuthor"};function Vr(C){const t=L.c(40),{orgSlug:K,virtualMcpId:h,branch:w,kind:a,blockKey:g,block:P}=C,i=A(),f=Q(h);let b;t[0]!==w||t[1]!==K||t[2]!==f||t[3]!==h?(b={orgSlug:K,virtualMcpId:h,branch:w,packagePath:f},t[0]=w,t[1]=K,t[2]=f,t[3]=h,t[4]=b):b=t[4];const p=Y(b);let k;t[5]!==P||t[6]!==a?(k=$(P,a),t[5]=P,t[6]=a,t[7]=k):k=t[7];const B=k;let v;t[8]!==g||t[9]!==a||t[10]!==p?(v=l=>{p.mutate({blockKey:g,data:G(g,a,l)})},t[8]=g,t[9]=a,t[10]=p,t[11]=v):v=t[11];const[e,S]=U(B,v);let j;t[12]!==e||t[13]!==S?(j=(l,o)=>S({...e,[l]:o}),t[12]=e,t[13]=S,t[14]=j):j=t[14];const s=j,T=X[a];let n;t[15]!==i||t[16]!==T?(n=i(T),t[15]=i,t[16]=T,t[17]=n):n=t[17];let c;t[18]!==n?(c=r.jsx("span",{className:"text-sm font-medium",children:n}),t[18]=n,t[19]=c):c=t[19];let d;t[20]!==p.isError||t[21]!==p.isPending?(d=r.jsx(q,{isPending:p.isPending,isError:p.isError}),t[20]=p.isError,t[21]=p.isPending,t[22]=d):d=t[22];let y;t[23]!==c||t[24]!==d?(y=r.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[c,d]}),t[23]=c,t[24]=d,t[25]=y):y=t[25];const N=W[a];let x;if(t[26]!==e||t[27]!==s||t[28]!==i||t[29]!==N){let l;t[31]!==e||t[32]!==s||t[33]!==i?(l=o=>r.jsx("div",{className:"space-y-2",children:o.widget==="image"?r.jsx(H,{schema:{type:"string",format:"image-uri",title:i(o.labelKey)},value:e[o.key],onChange:m=>s(o.key,m),path:o.key,label:i(o.labelKey)}):o.widget==="select"?r.jsxs(r.Fragment,{children:[r.jsx(F,{htmlFor:o.key,children:i(o.labelKey)}),r.jsxs(R,{value:I(e[o.key])||o.options?.[0]?.value,onValueChange:m=>s(o.key,m),children:[r.jsx(z,{id:o.key,className:"h-10 w-full",children:r.jsx(V,{placeholder:i(o.labelKey)})}),r.jsx(D,{children:(o.options??[]).map(m=>r.jsx(J,{value:m.value,children:i(m.labelKey)},m.value))})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(F,{htmlFor:o.key,children:i(o.labelKey)}),o.widget==="textarea"?r.jsx(M,{id:o.key,value:I(e[o.key]),onChange:m=>s(o.key,m.target.value),rows:3}):r.jsx(O,{id:o.key,value:I(e[o.key]),placeholder:o.placeholderKey?i(o.placeholderKey):void 0,onChange:m=>s(o.key,m.target.value),className:"h-10"})]})},o.key),t[31]=e,t[32]=s,t[33]=i,t[34]=l):l=t[34],x=N.map(l),t[26]=e,t[27]=s,t[28]=i,t[29]=N,t[30]=x}else x=t[30];let u;t[35]!==x?(u=r.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:r.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:x})}),t[35]=x,t[36]=u):u=t[36];let E;return t[37]!==y||t[38]!==u?(E=r.jsxs("div",{className:"flex h-full flex-col",children:[y,u]}),t[37]=y,t[38]=u,t[39]=E):E=t[39],E}export{Vr as RecordEditor};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as pt,b as at,j as r}from"./index-CfFL-KGG.js";import{C as ct}from"./checkbox-CqXxXRpt.js";import{I as rt}from"./input-B3Dt0BFc.js";import{L as et}from"./label-CVhXL2_0.js";import{d as dt,a as nt,b as ft,c as xt,S as ht}from"./select-D4H00H7x.js";import{F as ut,bq as bt,I as yt,br as jt,bs as vt}from"./index-DFfptVvh.js";import{u as gt}from"./use-autosave-DZY7rK5N.js";import"./Check-zqFoKy_c.js";import"./tooltip-DuiTY0o9.js";import"./ChevronDown-oqZ9p_45.js";import"./ChevronUp-BActoOls.js";import"./ArrowUp-C0oORBX1.js";import"./chat-context-CCXAG-1P.js";import"./tab-id-BiUJXvIQ.js";import"./hooks-DTImC-ND.js";import"./use-mcp-client-PyiD5o0t.js";import"./auth-Bj9BoTbj.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-B3yoZtVX.js";import"./studio-tools-klkPqqrC.js";import"./use-virtual-mcp-Dqjjhab9.js";import"./use-ai-providers-DQA5GgCv.js";import"./use-decopilot-events-DRgpVSYL.js";import"./use-organization-settings-DLISUOnV.js";import"./automation-runs-HlMIT8Bw.js";import"./useInfiniteQuery-vPJtf8GD.js";import"./use-infinite-scroll-Bg7gy_gm.js";import"./use-connection-BnA6d1Ni.js";import"./card-BN05K1zd.js";import"./sidebar-C4odovf2.js";import"./LayoutLeft-BZaLssVb.js";import"./use-mobile-KlJFg_qr.js";import"./X-BJwjqkUy.js";import"./table-DYey6IKT.js";import"./empty-state-BDi87Qng.js";import"./use-members-RxiZxyO0.js";import"./use-org-auth-client-BVXoUa1e.js";import"./use-clock-tick-CcFkN4LK.js";import"./AlertCircle-DXiAboeQ.js";import"./CheckCircle-D9nx_HJU.js";import"./DotsVertical-DlDKY1-u.js";import"./agent-icon-C_G4rRk_.js";import"./Tool01-BYzVaWgp.js";import"./Settings02-CJv_RTnn.js";import"./Tool02-DmtjItpT.js";import"./ArrowRight-Deq6po1a.js";import"./ArrowUpRight-BKQoGrRD.js";import"./TrendUp01-DdWJ6MzK.js";import"./ZapSquare-DtDHfAVH.js";import"./Users03-CDBTZXSd.js";import"./ChevronRight-KWTBCov4.js";import"./Stars02-BXrLzCaT.js";import"./Copy01-DKAJS4p5.js";import"./Eye-CjtpBZiI.js";import"./FilterLines-BbPKu1cQ.js";import"./Star01-DdTRwTZx.js";import"./Palette-BFB7Q44T.js";import"./SwitchHorizontal01-IjeRwE5I.js";import"./HardDrive-DHvfre2Q.js";import"./Key01-Dzk3aS6E.js";import"./XCircle-uYeZYbpv.js";import"./LinkExternal01-sLJg6CYJ.js";import"./LogOut01-DyFeyyni.js";import"./Monitor01-LshHcoqv.js";import"./Sun-eHvz_Tki.js";import"./Play-p7DPiiIM.js";import"./Plus-DRzeM1A2.js";import"./SearchLg-qKEHyyHs.js";import"./SearchMd-BliBUWoX.js";import"./Shield01-C56cKJuG.js";import"./Stars01-DehrNeE8.js";import"./Trash01-DNG17WhY.js";import"./Upload01-BYbjmcL0.js";import"./User01-8iKcnb50.js";import"./Users01-DblVL75v.js";import"./XClose-D7vZnvjm.js";import"./Zap-Bp2XrAL0.js";import"./use-automations-BtCZgBn6.js";import"./useSuspenseInfiniteQuery-BjX-kPGz.js";import"./avatar-CCn63Xa7.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-C3t8REUw.js";import"./dialog-CB6gA5c8.js";import"./monaco-editor-BgF19LTP.js";import"./index-BggVpqkV.js";import"./calendar-BegAE1vZ.js";import"./shell-layout-CqOuOd1h.js";import"./required-auth-layout-CnqRulIu.js";import"./use-org-sso-mExEAM7e.js";import"./integration-icon-WQ7FRKP-.js";import"./use-navigate-to-agent-UYAYZIg_.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DhfI1YJj.js";import"./form-DxzXsRTn.js";import"./drawer-BbaKPMRO.js";import"./collection-search-DBoLEXpv.js";import"./index-C73JsG_B.js";import"./get-initials-D-f_fDFw.js";import"./popover-DjVVPtIl.js";import"./use-registry-app-mgOc2xSW.js";import"./use-mcp-tools-CjU41wHq.js";import"./github-repo-scope-CKSTLD3W.js";import"./authenticate-and-persist-oauth-3-cyYa_s.js";import"./mcp-oauth-DSWXWtuI.js";import"./extract-connection-data-DNUVBN6a.js";import"./metadata-dUsYcpuu.js";import"./dropdown-menu-C64Ntp2r.js";import"./command-CylERf9L.js";import"./index-DoJ1Im6q.js";import"./companions-core-B72WVoHr.js";import"./tabs-BtIZ-nCd.js";import"./toggle-group-B1HDWUZB.js";import"./use-deco-credits-kP32aBxc.js";import"./alert-dialog-C2muXlL-.js";import"./toolbar-p14r49Fn.js";import"./skeleton-xE3oCbm_.js";import"./github-repo-picker-D67NbZOh.js";import"./use-debounced-value-BqSBuhGt.js";import"./provision-repo-scoped-github-connection-Dp638N7g.js";import"./connection-card-DjABeNEp.js";import"./use-registry-connections-Cl5wbMvo.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-DBClykee.js";import"./connection-form-helpers-BLcYFjnz.js";import"./collection-tabs-BHILs6rA.js";import"./badge-DUoOWhZ7.js";import"./connect-desktop-dialog-DX5XubA7.js";import"./select-model-Bs9ES5FJ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-DM0USFfa.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-C1OdUZlw.js";import"./deco-site-production-url-CaKZ7xBn.js";import"./use-capability-BT-CuG62.js";import"./pt-BR-CLy76QW2.js";import"./use-mcp-auth-status-Dy9fP3wm.js";import"./use-debounced-autosave-DgyQozTA.js";import"./index-DWv0TWTe.js";import"./search-input-BXsIyCGs.js";import"./switch-C7k_-apD.js";import"./use-secrets-8hoY11qt.js";import"./useQueries-B7WFhx3W.js";import"./use-file-configs-3P-hFGAE.js";import"./automation-list-row-CUqR409h.js";const Et=[{value:"temporary",labelKey:"sandbox.redirectEditor.typeTemporary"},{value:"permanent",labelKey:"sandbox.redirectEditor.typePermanent"}];function pi(it){const t=pt.c(106),{orgSlug:H,virtualMcpId:J,branch:W,blockKey:X,block:Z}=it,e=at();let V;t[0]!==W||t[1]!==H||t[2]!==J?(V={orgSlug:H,virtualMcpId:J,branch:W},t[0]=W,t[1]=H,t[2]=J,t[3]=V):V=t[3];const s=ut(V);let q;t[4]!==Z?(q=bt(Z),t[4]=Z,t[5]=q):q=t[5];const ot=q;let M;t[6]!==X||t[7]!==s?(M=i=>{s.mutate({blockKey:X,data:vt(i)})},t[6]=X,t[7]=s,t[8]=M):M=t[8];const[o,tt]=gt(ot,M);let Y;t[9]!==o||t[10]!==tt?(Y=i=>tt({...o,...i}),t[9]=o,t[10]=tt,t[11]=Y):Y=t[11];const m=Y;let l;t[12]!==e?(l=e("sandbox.redirectEditor.title"),t[12]=e,t[13]=l):l=t[13];let p;t[14]!==l?(p=r.jsx("span",{className:"text-sm font-medium",children:l}),t[14]=l,t[15]=p):p=t[15];let a;t[16]!==s.isError||t[17]!==s.isPending?(a=r.jsx(yt,{isPending:s.isPending,isError:s.isError}),t[16]=s.isError,t[17]=s.isPending,t[18]=a):a=t[18];let c;t[19]!==p||t[20]!==a?(c=r.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[p,a]}),t[19]=p,t[20]=a,t[21]=c):c=t[21];let d;t[22]!==e?(d=e("sandbox.redirectEditor.fromLabel"),t[22]=e,t[23]=d):d=t[23];let n;t[24]!==d?(n=r.jsx(et,{htmlFor:"redirect-from",children:d}),t[24]=d,t[25]=n):n=t[25];const mt=o.from;let f;t[26]!==e?(f=e("sandbox.redirectEditor.fromPlaceholder"),t[26]=e,t[27]=f):f=t[27];let x;t[28]!==m?(x=i=>m({from:i.target.value}),t[28]=m,t[29]=x):x=t[29];let h;t[30]!==o.from||t[31]!==f||t[32]!==x?(h=r.jsx(rt,{id:"redirect-from",value:mt,placeholder:f,onChange:x,className:"h-10"}),t[30]=o.from,t[31]=f,t[32]=x,t[33]=h):h=t[33];let u;t[34]!==e?(u=e("sandbox.redirectEditor.fromDescription"),t[34]=e,t[35]=u):u=t[35];let b;t[36]!==u?(b=r.jsx("p",{className:"text-xs text-muted-foreground",children:u}),t[36]=u,t[37]=b):b=t[37];let y;t[38]!==n||t[39]!==h||t[40]!==b?(y=r.jsxs("div",{className:"space-y-2",children:[n,h,b]}),t[38]=n,t[39]=h,t[40]=b,t[41]=y):y=t[41];let j;t[42]!==e?(j=e("sandbox.redirectEditor.toLabel"),t[42]=e,t[43]=j):j=t[43];let v;t[44]!==j?(v=r.jsx(et,{htmlFor:"redirect-to",children:j}),t[44]=j,t[45]=v):v=t[45];const st=o.to;let g;t[46]!==e?(g=e("sandbox.redirectEditor.toPlaceholder"),t[46]=e,t[47]=g):g=t[47];let E;t[48]!==m?(E=i=>m({to:i.target.value}),t[48]=m,t[49]=E):E=t[49];let P;t[50]!==o.to||t[51]!==g||t[52]!==E?(P=r.jsx(rt,{id:"redirect-to",value:st,placeholder:g,onChange:E,className:"h-10"}),t[50]=o.to,t[51]=g,t[52]=E,t[53]=P):P=t[53];let N;t[54]!==e?(N=e("sandbox.redirectEditor.toDescription"),t[54]=e,t[55]=N):N=t[55];let S;t[56]!==N?(S=r.jsx("p",{className:"text-xs text-muted-foreground",children:N}),t[56]=N,t[57]=S):S=t[57];let C;t[58]!==v||t[59]!==P||t[60]!==S?(C=r.jsxs("div",{className:"space-y-2",children:[v,P,S]}),t[58]=v,t[59]=P,t[60]=S,t[61]=C):C=t[61];let T;t[62]!==e?(T=e("sandbox.redirectEditor.typeLabel"),t[62]=e,t[63]=T):T=t[63];let k;t[64]!==T?(k=r.jsx(et,{htmlFor:"redirect-type",children:T}),t[64]=T,t[65]=k):k=t[65];const lt=o.type;let w;t[66]!==m?(w=i=>m({type:i}),t[66]=m,t[67]=w):w=t[67];let I;t[68]!==e?(I=e("sandbox.redirectEditor.typePlaceholder"),t[68]=e,t[69]=I):I=t[69];let R;t[70]!==I?(R=r.jsx(nt,{id:"redirect-type",className:"h-10 w-full",children:r.jsx(ft,{placeholder:I})}),t[70]=I,t[71]=R):R=t[71];let _;t[72]!==e?(_=Et.map(i=>r.jsx(dt,{value:i.value,children:e(i.labelKey,{status:jt[i.value]})},i.value)),t[72]=e,t[73]=_):_=t[73];let F;t[74]!==_?(F=r.jsx(xt,{children:_}),t[74]=_,t[75]=F):F=t[75];let L;t[76]!==o.type||t[77]!==w||t[78]!==R||t[79]!==F?(L=r.jsxs(ht,{value:lt,onValueChange:w,children:[R,F]}),t[76]=o.type,t[77]=w,t[78]=R,t[79]=F,t[80]=L):L=t[80];let $;t[81]===Symbol.for("react.memo_cache_sentinel")?($=r.jsx("strong",{children:"Temporary"}),t[81]=$):$=t[81];let z;t[82]===Symbol.for("react.memo_cache_sentinel")?(z=r.jsxs("p",{className:"text-xs text-muted-foreground",children:["Use ",$," when the redirect may change;"," ",r.jsx("strong",{children:"Permanent"})," lets browsers cache it."]}),t[82]=z):z=t[82];let Q;t[83]!==k||t[84]!==L?(Q=r.jsxs("div",{className:"space-y-2",children:[k,L,z]}),t[83]=k,t[84]=L,t[85]=Q):Q=t[85];let K;t[86]!==m?(K=i=>m({discardQueryParameters:i===!0}),t[86]=m,t[87]=K):K=t[87];let D;t[88]!==o.discardQueryParameters||t[89]!==K?(D=r.jsx(ct,{checked:o.discardQueryParameters,onCheckedChange:K}),t[88]=o.discardQueryParameters,t[89]=K,t[90]=D):D=t[90];let A;t[91]!==e?(A=e("sandbox.redirectEditor.discardQueryParameters"),t[91]=e,t[92]=A):A=t[92];let B;t[93]!==A?(B=r.jsx("span",{className:"text-sm",children:A}),t[93]=A,t[94]=B):B=t[94];let O;t[95]!==D||t[96]!==B?(O=r.jsxs("label",{className:"flex cursor-pointer items-center gap-2.5",children:[D,B]}),t[95]=D,t[96]=B,t[97]=O):O=t[97];let U;t[98]!==y||t[99]!==C||t[100]!==Q||t[101]!==O?(U=r.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:r.jsxs("div",{className:"mx-auto max-w-xl space-y-6",children:[y,C,Q,O]})}),t[98]=y,t[99]=C,t[100]=Q,t[101]=O,t[102]=U):U=t[102];let G;return t[103]!==U||t[104]!==c?(G=r.jsxs("div",{className:"flex h-full flex-col",children:[c,U]}),t[103]=U,t[104]=c,t[105]=G):G=t[105],G}export{pi as RedirectEditor};
|
|
1
|
+
import{c as pt,b as at,j as r}from"./index-C0OZZLFB.js";import{C as ct}from"./checkbox-BlHvEC-r.js";import{I as rt}from"./input-uPFsSc9f.js";import{L as et}from"./label-IsSjBTBZ.js";import{d as dt,a as nt,b as ft,c as xt,S as ht}from"./select-CQsSZAeB.js";import{F as ut,bq as bt,I as yt,br as jt,bs as vt}from"./index-CUfVwH9-.js";import{u as gt}from"./use-autosave-Be04nCGc.js";import"./Check-D5mSFNOJ.js";import"./tooltip-m4eG9P-e.js";import"./ChevronDown-DWEJMoJH.js";import"./ChevronUp-DJngwrAz.js";import"./ArrowUp-D1uEbZ6m.js";import"./chat-context-CJi7-1nM.js";import"./tab-id-CKBFmCGM.js";import"./hooks-C0cHNE0b.js";import"./use-mcp-client-BlKKV1Up.js";import"./auth-BNaGycMo.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-BE_B1lqx.js";import"./studio-tools-CPXDuQEI.js";import"./use-virtual-mcp-Dxo3FMQn.js";import"./use-ai-providers-FXveoQZ7.js";import"./use-decopilot-events-DbgOATmJ.js";import"./use-organization-settings-DH9NkvyU.js";import"./automation-runs-D_nSiH5I.js";import"./useInfiniteQuery-DJ6QbQsy.js";import"./use-infinite-scroll-B4doGVNW.js";import"./use-connection-CXVgYxpF.js";import"./card-D-sxw87W.js";import"./sidebar-DKy5IhKS.js";import"./LayoutLeft-BQSVLYMa.js";import"./use-mobile-C4Pwc0jU.js";import"./X-CUxMuZ8q.js";import"./table-CDqai6IN.js";import"./empty-state-BsmNIaU5.js";import"./use-members-B-KQ_R3U.js";import"./use-org-auth-client-B44RiYOM.js";import"./use-clock-tick-c_ux9QvV.js";import"./AlertCircle-DRO0C63y.js";import"./CheckCircle-CMSb-Ufg.js";import"./DotsVertical-CmCVGsua.js";import"./agent-icon-BkCnlGeP.js";import"./Tool01-CryzALFU.js";import"./Settings02-Dn7n72YT.js";import"./Tool02-j7a1fbiU.js";import"./ArrowRight-QhuneIw3.js";import"./ArrowUpRight-CvaOB9fb.js";import"./TrendUp01-pReoWaDd.js";import"./ZapSquare-ny8XWErX.js";import"./Users03-DzCuhC1B.js";import"./ChevronRight-BucKd4vs.js";import"./Stars02-Dl9X8T4c.js";import"./Copy01-C3uari6d.js";import"./Eye-Up5_0s8y.js";import"./FilterLines-BPQ0S9Wc.js";import"./Star01-DO8uKQUW.js";import"./Palette-Dron8fSh.js";import"./SwitchHorizontal01-BV6HyfEe.js";import"./HardDrive-DESP12mY.js";import"./Key01-DYkkEvXE.js";import"./XCircle-vLo3SWzM.js";import"./LinkExternal01-B37_DeVq.js";import"./LogOut01-CRncusV9.js";import"./Monitor01-CD9v9l_d.js";import"./Sun-FlbYzQoj.js";import"./Play-BW5PWOTU.js";import"./Plus-D2G-ZUsM.js";import"./SearchLg-D7QDvNSA.js";import"./SearchMd-DgBF3pC6.js";import"./Shield01-DzntegDN.js";import"./Stars01-DqP-rnPF.js";import"./Trash01-BtMZ5VGa.js";import"./Upload01-Dts1hUbd.js";import"./User01-BY33IVC_.js";import"./Users01-DQwIJ5ND.js";import"./XClose-B2uTWIxR.js";import"./Zap-KXmoroYg.js";import"./use-automations-CNfqkB0m.js";import"./useSuspenseInfiniteQuery-Dkm2M6Op.js";import"./avatar-DqSS5jTC.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CaH1-5AH.js";import"./dialog-Bq1bzF7J.js";import"./monaco-editor-0z2tX0LF.js";import"./index-CfJpV5Ma.js";import"./calendar-Cmitf2cx.js";import"./shell-layout-DhvGv6C0.js";import"./required-auth-layout-CviSU51B.js";import"./use-org-sso-DS_NLhEx.js";import"./integration-icon-B5c7VKfx.js";import"./use-navigate-to-agent-DKAN-J9H.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-kZq7PZPX.js";import"./form-e8U7zFxn.js";import"./drawer-CUPXEGAd.js";import"./collection-search-BpN3s91o.js";import"./index-Cpi3QKTc.js";import"./get-initials-D-f_fDFw.js";import"./popover-wCpfL9Xg.js";import"./use-registry-app-BWOs5R0g.js";import"./use-mcp-tools-ChP6PgCo.js";import"./github-repo-scope-CKSTLD3W.js";import"./authenticate-and-persist-oauth-prvdoPGr.js";import"./mcp-oauth-B2tg8JB_.js";import"./extract-connection-data-D_DPgz4m.js";import"./metadata-dUsYcpuu.js";import"./dropdown-menu-7EE8Ay1M.js";import"./command-ZG-i4G49.js";import"./index-DDW-Xzs6.js";import"./companions-core-CsbRnlKj.js";import"./tabs-miIq202h.js";import"./toggle-group-DDFaTBbN.js";import"./use-deco-credits-9VzQZRFo.js";import"./alert-dialog-CnJXtW38.js";import"./toolbar-CfzCof_O.js";import"./skeleton-79DUTJFV.js";import"./github-repo-picker-D7oPbnSw.js";import"./use-debounced-value-w9NnEnSq.js";import"./provision-repo-scoped-github-connection-Dp638N7g.js";import"./connection-card-KGYYyIRz.js";import"./use-registry-connections-GudNq97X.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-D01yPMam.js";import"./connection-form-helpers-DVVuF5si.js";import"./collection-tabs-CG77op9x.js";import"./badge-Jypo6hHK.js";import"./connect-desktop-dialog-Cy4YmtSo.js";import"./select-model-Bbf5fM4j.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Cx_fZb-m.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-C_Yqxuc3.js";import"./deco-site-production-url-CaKZ7xBn.js";import"./use-capability-vRhGM1yw.js";import"./pt-BR-CLy76QW2.js";import"./use-mcp-auth-status-DE1Zn8js.js";import"./use-debounced-autosave-4kpLHHY2.js";import"./index-BW4QX3uc.js";import"./search-input-dXbIuasP.js";import"./switch-C1BC0Sj-.js";import"./use-secrets-U9bmBrBv.js";import"./useQueries-D6TFDK-r.js";import"./use-file-configs-uAwgkxbf.js";import"./automation-list-row-BLxHb1Cn.js";const Et=[{value:"temporary",labelKey:"sandbox.redirectEditor.typeTemporary"},{value:"permanent",labelKey:"sandbox.redirectEditor.typePermanent"}];function pi(it){const t=pt.c(106),{orgSlug:H,virtualMcpId:J,branch:W,blockKey:X,block:Z}=it,e=at();let V;t[0]!==W||t[1]!==H||t[2]!==J?(V={orgSlug:H,virtualMcpId:J,branch:W},t[0]=W,t[1]=H,t[2]=J,t[3]=V):V=t[3];const s=ut(V);let q;t[4]!==Z?(q=bt(Z),t[4]=Z,t[5]=q):q=t[5];const ot=q;let M;t[6]!==X||t[7]!==s?(M=i=>{s.mutate({blockKey:X,data:vt(i)})},t[6]=X,t[7]=s,t[8]=M):M=t[8];const[o,tt]=gt(ot,M);let Y;t[9]!==o||t[10]!==tt?(Y=i=>tt({...o,...i}),t[9]=o,t[10]=tt,t[11]=Y):Y=t[11];const m=Y;let l;t[12]!==e?(l=e("sandbox.redirectEditor.title"),t[12]=e,t[13]=l):l=t[13];let p;t[14]!==l?(p=r.jsx("span",{className:"text-sm font-medium",children:l}),t[14]=l,t[15]=p):p=t[15];let a;t[16]!==s.isError||t[17]!==s.isPending?(a=r.jsx(yt,{isPending:s.isPending,isError:s.isError}),t[16]=s.isError,t[17]=s.isPending,t[18]=a):a=t[18];let c;t[19]!==p||t[20]!==a?(c=r.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[p,a]}),t[19]=p,t[20]=a,t[21]=c):c=t[21];let d;t[22]!==e?(d=e("sandbox.redirectEditor.fromLabel"),t[22]=e,t[23]=d):d=t[23];let n;t[24]!==d?(n=r.jsx(et,{htmlFor:"redirect-from",children:d}),t[24]=d,t[25]=n):n=t[25];const mt=o.from;let f;t[26]!==e?(f=e("sandbox.redirectEditor.fromPlaceholder"),t[26]=e,t[27]=f):f=t[27];let x;t[28]!==m?(x=i=>m({from:i.target.value}),t[28]=m,t[29]=x):x=t[29];let h;t[30]!==o.from||t[31]!==f||t[32]!==x?(h=r.jsx(rt,{id:"redirect-from",value:mt,placeholder:f,onChange:x,className:"h-10"}),t[30]=o.from,t[31]=f,t[32]=x,t[33]=h):h=t[33];let u;t[34]!==e?(u=e("sandbox.redirectEditor.fromDescription"),t[34]=e,t[35]=u):u=t[35];let b;t[36]!==u?(b=r.jsx("p",{className:"text-xs text-muted-foreground",children:u}),t[36]=u,t[37]=b):b=t[37];let y;t[38]!==n||t[39]!==h||t[40]!==b?(y=r.jsxs("div",{className:"space-y-2",children:[n,h,b]}),t[38]=n,t[39]=h,t[40]=b,t[41]=y):y=t[41];let j;t[42]!==e?(j=e("sandbox.redirectEditor.toLabel"),t[42]=e,t[43]=j):j=t[43];let v;t[44]!==j?(v=r.jsx(et,{htmlFor:"redirect-to",children:j}),t[44]=j,t[45]=v):v=t[45];const st=o.to;let g;t[46]!==e?(g=e("sandbox.redirectEditor.toPlaceholder"),t[46]=e,t[47]=g):g=t[47];let E;t[48]!==m?(E=i=>m({to:i.target.value}),t[48]=m,t[49]=E):E=t[49];let P;t[50]!==o.to||t[51]!==g||t[52]!==E?(P=r.jsx(rt,{id:"redirect-to",value:st,placeholder:g,onChange:E,className:"h-10"}),t[50]=o.to,t[51]=g,t[52]=E,t[53]=P):P=t[53];let N;t[54]!==e?(N=e("sandbox.redirectEditor.toDescription"),t[54]=e,t[55]=N):N=t[55];let S;t[56]!==N?(S=r.jsx("p",{className:"text-xs text-muted-foreground",children:N}),t[56]=N,t[57]=S):S=t[57];let C;t[58]!==v||t[59]!==P||t[60]!==S?(C=r.jsxs("div",{className:"space-y-2",children:[v,P,S]}),t[58]=v,t[59]=P,t[60]=S,t[61]=C):C=t[61];let T;t[62]!==e?(T=e("sandbox.redirectEditor.typeLabel"),t[62]=e,t[63]=T):T=t[63];let k;t[64]!==T?(k=r.jsx(et,{htmlFor:"redirect-type",children:T}),t[64]=T,t[65]=k):k=t[65];const lt=o.type;let w;t[66]!==m?(w=i=>m({type:i}),t[66]=m,t[67]=w):w=t[67];let I;t[68]!==e?(I=e("sandbox.redirectEditor.typePlaceholder"),t[68]=e,t[69]=I):I=t[69];let R;t[70]!==I?(R=r.jsx(nt,{id:"redirect-type",className:"h-10 w-full",children:r.jsx(ft,{placeholder:I})}),t[70]=I,t[71]=R):R=t[71];let _;t[72]!==e?(_=Et.map(i=>r.jsx(dt,{value:i.value,children:e(i.labelKey,{status:jt[i.value]})},i.value)),t[72]=e,t[73]=_):_=t[73];let F;t[74]!==_?(F=r.jsx(xt,{children:_}),t[74]=_,t[75]=F):F=t[75];let L;t[76]!==o.type||t[77]!==w||t[78]!==R||t[79]!==F?(L=r.jsxs(ht,{value:lt,onValueChange:w,children:[R,F]}),t[76]=o.type,t[77]=w,t[78]=R,t[79]=F,t[80]=L):L=t[80];let $;t[81]===Symbol.for("react.memo_cache_sentinel")?($=r.jsx("strong",{children:"Temporary"}),t[81]=$):$=t[81];let z;t[82]===Symbol.for("react.memo_cache_sentinel")?(z=r.jsxs("p",{className:"text-xs text-muted-foreground",children:["Use ",$," when the redirect may change;"," ",r.jsx("strong",{children:"Permanent"})," lets browsers cache it."]}),t[82]=z):z=t[82];let Q;t[83]!==k||t[84]!==L?(Q=r.jsxs("div",{className:"space-y-2",children:[k,L,z]}),t[83]=k,t[84]=L,t[85]=Q):Q=t[85];let K;t[86]!==m?(K=i=>m({discardQueryParameters:i===!0}),t[86]=m,t[87]=K):K=t[87];let D;t[88]!==o.discardQueryParameters||t[89]!==K?(D=r.jsx(ct,{checked:o.discardQueryParameters,onCheckedChange:K}),t[88]=o.discardQueryParameters,t[89]=K,t[90]=D):D=t[90];let A;t[91]!==e?(A=e("sandbox.redirectEditor.discardQueryParameters"),t[91]=e,t[92]=A):A=t[92];let B;t[93]!==A?(B=r.jsx("span",{className:"text-sm",children:A}),t[93]=A,t[94]=B):B=t[94];let O;t[95]!==D||t[96]!==B?(O=r.jsxs("label",{className:"flex cursor-pointer items-center gap-2.5",children:[D,B]}),t[95]=D,t[96]=B,t[97]=O):O=t[97];let U;t[98]!==y||t[99]!==C||t[100]!==Q||t[101]!==O?(U=r.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:r.jsxs("div",{className:"mx-auto max-w-xl space-y-6",children:[y,C,Q,O]})}),t[98]=y,t[99]=C,t[100]=Q,t[101]=O,t[102]=U):U=t[102];let G;return t[103]!==U||t[104]!==c?(G=r.jsxs("div",{className:"flex h-full flex-col",children:[c,U]}),t[103]=U,t[104]=c,t[105]=G):G=t[105],G}export{pi as RedirectEditor};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-zJwBtTZ5.js","assets/index-C0OZZLFB.js","assets/index-5Y7z9AvW.css","assets/Tool02-j7a1fbiU.js","assets/CheckCircle-CMSb-Ufg.js","assets/Settings02-Dn7n72YT.js","assets/use-mcp-client-BlKKV1Up.js","assets/auth-BNaGycMo.js","assets/useInfiniteQuery-DJ6QbQsy.js","assets/use-infinite-scroll-B4doGVNW.js","assets/studio-tools-CPXDuQEI.js","assets/badge-Jypo6hHK.js","assets/input-uPFsSc9f.js","assets/dropdown-menu-7EE8Ay1M.js","assets/Check-D5mSFNOJ.js","assets/ChevronRight-BucKd4vs.js","assets/DotsVertical-CmCVGsua.js","assets/table-CDqai6IN.js","assets/toggle-group-DDFaTBbN.js","assets/use-view-mode-j_5O4nxZ.js","assets/use-mobile-C4Pwc0jU.js","assets/FilterLines-BPQ0S9Wc.js","assets/SearchMd-DgBF3pC6.js","assets/dialog-Bq1bzF7J.js","assets/X-CUxMuZ8q.js","assets/AlertCircle-DRO0C63y.js","assets/Upload01-Dts1hUbd.js","assets/metadata-dUsYcpuu.js","assets/alert-dialog-CnJXtW38.js","assets/card-D-sxw87W.js","assets/Trash01-BtMZ5VGa.js","assets/label-IsSjBTBZ.js","assets/select-CQsSZAeB.js","assets/tooltip-m4eG9P-e.js","assets/ChevronDown-DWEJMoJH.js","assets/ChevronUp-DJngwrAz.js","assets/switch-C1BC0Sj-.js","assets/textarea-D01yPMam.js","assets/ArrowRight-QhuneIw3.js","assets/XCircle-vLo3SWzM.js","assets/checkbox-BlHvEC-r.js","assets/Eye-Up5_0s8y.js","assets/LinkExternal01-B37_DeVq.js","assets/use-copy-CaH1-5AH.js","assets/Copy01-C3uari6d.js","assets/Key01-DYkkEvXE.js","assets/Plus-D2G-ZUsM.js","assets/mcp-oauth-B2tg8JB_.js","assets/Play-BW5PWOTU.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{c as i,j as e,r as s,k as a,aG as o}from"./index-C0OZZLFB.js";import{R as m}from"./require-capability-GbHhIhad.js";import"./use-capability-vRhGM1yw.js";import"./access-gate-BbLDUiFo.js";import"./capability-load-error-BrobKHDT.js";const n=s.lazy(()=>o(()=>import("./registry-layout-zJwBtTZ5.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48])));function f(){const r=i.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(m,{capability:"registry:manage",area:"the registry",children:e.jsx(s.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(a,{size:20,className:"animate-spin text-muted-foreground"})}),children:e.jsx(n,{})})}),r[0]=t):t=r[0],t}export{f as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as Z,F as Ne,n as Ae,o as Ue,e as Pe,t as V,b as de,r as q,j as t,B as Q,k as Ye,m as te,b1 as Gs,b2 as Qs}from"./index-
|
|
1
|
+
import{c as Z,F as Ne,n as Ae,o as Ue,e as Pe,t as V,b as de,r as q,j as t,B as Q,k as Ye,m as te,b1 as Gs,b2 as Qs}from"./index-C0OZZLFB.js";import{n as Ys,i as ps,b as ss,c as hs,t as Ws,e as Js,a as Zs,d as Xs}from"./Tool02-j7a1fbiU.js";import{i as We}from"./CheckCircle-CMSb-Ufg.js";import{s as Ft,c as er,b as tr,i as sr,a as rr}from"./Settings02-Dn7n72YT.js";import{S as Oe,u as Fe,W as ir}from"./use-mcp-client-BlKKV1Up.js";import{u as fs}from"./useInfiniteQuery-DJ6QbQsy.js";import{u as Me}from"./studio-tools-CPXDuQEI.js";import{B as H}from"./badge-Jypo6hHK.js";import{I as je}from"./input-uPFsSc9f.js";import{D as ft,a as ke,b as yt,c as jt,j as rs,k as is,i as nr}from"./dropdown-menu-7EE8Ay1M.js";import{c as $t,e as zt,a as Je,d as he,b as Ot,T as fe}from"./table-CDqai6IN.js";import{a as or,T as ns}from"./toggle-group-DDFaTBbN.js";import{u as ar}from"./use-view-mode-j_5O4nxZ.js";import{a as Bt}from"./DotsVertical-CmCVGsua.js";import{i as lr}from"./FilterLines-BPQ0S9Wc.js";import{i as cr}from"./SearchMd-DgBF3pC6.js";import{e as vt,d as bt,b as Nt,h as Ct,a as wt,c as _t}from"./dialog-Bq1bzF7J.js";import{i as st}from"./AlertCircle-DRO0C63y.js";import{i as os}from"./Upload01-Dts1hUbd.js";import{g as Ie,w as Pt}from"./metadata-dUsYcpuu.js";import{c as rt,d as it,b as nt,f as ot,g as at,e as lt,a as ct,A as dt}from"./alert-dialog-CnJXtW38.js";import{C as ge}from"./card-D-sxw87W.js";import{s as ut}from"./Trash01-BtMZ5VGa.js";import{L as ae}from"./label-IsSjBTBZ.js";import{S as dr,a as ur,b as mr,c as gr,d as qt}from"./select-CQsSZAeB.js";import{S as Ge}from"./switch-C1BC0Sj-.js";import{T as Rt}from"./textarea-D01yPMam.js";import{i as xr}from"./ArrowRight-QhuneIw3.js";import{i as pr}from"./X-CUxMuZ8q.js";import{a as hr,i as fr}from"./XCircle-vLo3SWzM.js";import{t as yr}from"./ChevronDown-DWEJMoJH.js";import{n as jr}from"./ChevronUp-DJngwrAz.js";import{C as as}from"./checkbox-BlHvEC-r.js";import{s as ys}from"./Eye-Up5_0s8y.js";import{n as vr}from"./LinkExternal01-B37_DeVq.js";import{u as br}from"./use-infinite-scroll-B4doGVNW.js";import{u as Et}from"./use-copy-CaH1-5AH.js";import{i as Lt}from"./Check-D5mSFNOJ.js";import{a as At}from"./Copy01-C3uari6d.js";import{i as Nr}from"./Key01-DYkkEvXE.js";import{s as Cr}from"./Plus-D2G-ZUsM.js";import{T as wr,a as _r,c as Pr}from"./tooltip-m4eG9P-e.js";import{i as Rr,a as Ir}from"./mcp-oauth-B2tg8JB_.js";import{i as kr}from"./Play-BW5PWOTU.js";import"./auth-BNaGycMo.js";import"./ChevronRight-BucKd4vs.js";import"./use-mobile-C4Pwc0jU.js";const Ve="private-registry",Sr=`
|
|
2
2
|
You are an MCP tool tester running automated integration checks.
|
|
3
3
|
|
|
4
4
|
Goal:
|