decocms 4.524.1 → 4.524.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{ActiveShapeUtils-Bp4fmUBo.js → ActiveShapeUtils-CZUL4aQf.js} +1 -1
- package/dist/client/assets/{AlertCircle-Bq5T03B8.js → AlertCircle-CHPvy_VM.js} +1 -1
- package/dist/client/assets/{AreaChart-CCyND0Jp.js → AreaChart-DXZAxruT.js} +1 -1
- package/dist/client/assets/{ArrowLeft-Bwi_Jr7f.js → ArrowLeft-D_5CBumM.js} +1 -1
- package/dist/client/assets/{ArrowUp-CzX0fTk7.js → ArrowUp-DhHGL7HY.js} +1 -1
- package/dist/client/assets/{BarChart-wLDzzyOQ.js → BarChart-D1RHjiDU.js} +1 -1
- package/dist/client/assets/{Building02-A_MT9tNO.js → Building02-Cs-fRF4C.js} +1 -1
- package/dist/client/assets/{CartesianChart-B0qX_dpC.js → CartesianChart-B6XqwP69.js} +1 -1
- package/dist/client/assets/{CategoricalChart-BDZ_2Tmn.js → CategoricalChart-CiyWbCkx.js} +1 -1
- package/dist/client/assets/{CheckCircle-BE1i_X4b.js → CheckCircle-DFdmK-T2.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-DNrt0MHW.js → ChevronSelectorVertical-B7yaofOD.js} +1 -1
- package/dist/client/assets/{ChevronUp-RlBkcpdd.js → ChevronUp-PedQ2gd6.js} +1 -1
- package/dist/client/assets/{Copy01-B9x501ud.js → Copy01-B6cJ_ygs.js} +1 -1
- package/dist/client/assets/{CreditCard01-Bu_qRR36.js → CreditCard01-bH_MgXhH.js} +1 -1
- package/dist/client/assets/{DotsVertical-D9231JAc.js → DotsVertical-B50qkKfK.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-PGp8cmoe.js → ErrorBarContext-D3MOF1QH.js} +1 -1
- package/dist/client/assets/{Globe04-DQlP6Nhr.js → Globe04-BvSQLcQH.js} +1 -1
- package/dist/client/assets/{Image01-ClayPF_a.js → Image01-D6z5fxVv.js} +1 -1
- package/dist/client/assets/{Key01-CxKYO-oQ.js → Key01-DIVY2Gpo.js} +1 -1
- package/dist/client/assets/{Link01-B7BHRxIW.js → Link01-D806UI0V.js} +1 -1
- package/dist/client/assets/{LinkBroken01-XqJUgSE7.js → LinkBroken01-Be879sLY.js} +1 -1
- package/dist/client/assets/{Minus-Bh6ogRng.js → Minus-DVOE0qZc.js} +1 -1
- package/dist/client/assets/{Monitor01-BpzvJnXA.js → Monitor01-CP0zz7rW.js} +1 -1
- package/dist/client/assets/{Play-w4omVTRa.js → Play-DG-gbp_U.js} +1 -1
- package/dist/client/assets/{Plus-CcJNnBya.js → Plus-feGO5xhL.js} +1 -1
- package/dist/client/assets/{ReferenceLine-CI6ZmeJ0.js → ReferenceLine-oNnV1mWS.js} +1 -1
- package/dist/client/assets/{SearchMd-5lGv5a5H.js → SearchMd-OqihyBBE.js} +1 -1
- package/dist/client/assets/{Sector-gkUUnvA4.js → Sector-BH34m5G1.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-C82UeRR9.js → ShoppingBag01-ZgB-qLs9.js} +1 -1
- package/dist/client/assets/{Sun-IvvKZ51n.js → Sun-DQ0xzUJx.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-B1MoYKPo.js → SwitchHorizontal01-Dsf5zpNu.js} +1 -1
- package/dist/client/assets/{Tool01-BvlRH5Ln.js → Tool01-PlDxztWD.js} +1 -1
- package/dist/client/assets/{Trash01-C9E8l_mI.js → Trash01-BqnutNRJ.js} +1 -1
- package/dist/client/assets/{Upload01-mlw10ZK-.js → Upload01-CyyevXMg.js} +1 -1
- package/dist/client/assets/{UserSquare-DwNuAluZ.js → UserSquare-Csbu2VpZ.js} +1 -1
- package/dist/client/assets/{Users01-DcHPIKgH.js → Users01-BSztUOd5.js} +1 -1
- package/dist/client/assets/{XClose-BBReaSBA.js → XClose-CGLyFs-P.js} +1 -1
- package/dist/client/assets/{ZoomOut-CnbxUNSo.js → ZoomOut-DTBYck8o.js} +1 -1
- package/dist/client/assets/{access-gate-BNOWXoYR.js → access-gate-CQo9WEtv.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-CEj8kbGq.js → add-connection-dialog-BXhPQM8W.js} +1 -1
- package/dist/client/assets/agent-analytics-C4isBTY7.js +1 -0
- package/dist/client/assets/agent-app-BakS5Mpg.js +1 -0
- package/dist/client/assets/{agent-assets-CppO2yKd.js → agent-assets-DPXKGmqE.js} +1 -1
- package/dist/client/assets/{agent-automation-BtSTyUKu.js → agent-automation-68EhX00q.js} +1 -1
- package/dist/client/assets/{agent-automations-Bf-0_57T.js → agent-automations-XvbfNN1P.js} +1 -1
- package/dist/client/assets/agent-calendar-rlwx6fiZ.js +1 -0
- package/dist/client/assets/{agent-connect-sources-C_0x6Udu.js → agent-connect-sources-D3zK6Sae.js} +1 -1
- package/dist/client/assets/agent-deck-uq6T-H5n.js +1 -0
- package/dist/client/assets/{agent-e2e-DokyQFgS.js → agent-e2e-DQcmFy3H.js} +1 -1
- package/dist/client/assets/agent-experiments-D3cQ-WP1.js +1 -0
- package/dist/client/assets/{agent-file-B5Z-mSXW.js → agent-file-JtT0MyWr.js} +1 -1
- package/dist/client/assets/{agent-hosting-v3_GHpmO.js → agent-hosting-BxPrxIfg.js} +1 -1
- package/dist/client/assets/{agent-icon-KvVT3fA8.js → agent-icon-CTGtlw1z.js} +1 -1
- package/dist/client/assets/agent-library-C3l8PEn-.js +1 -0
- package/dist/client/assets/agent-library-file-CjRMeR9i.js +1 -0
- package/dist/client/assets/agent-monitor-BfPm0PfR.js +1 -0
- package/dist/client/assets/{agent-overview-9FhsI0nk.js → agent-overview-B9lC95oC.js} +1 -1
- package/dist/client/assets/{agent-releases-CRh6y5DW.js → agent-releases-OHw-HILT.js} +1 -1
- package/dist/client/assets/agent-settings-C3PrzQdK.js +1 -0
- package/dist/client/assets/{agent-site-editor-BALtgla6.js → agent-site-editor-DL4MgFcw.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-CrwcPx-x.js +2 -0
- package/dist/client/assets/agent-site-editor-content-DOS83K5A.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-Cuy-72sw.js +1 -0
- package/dist/client/assets/agent-view-DIoRN3S4.js +1 -0
- package/dist/client/assets/{agent-view-guard-bPXLqLsK.js → agent-view-guard-BrroWBJx.js} +1 -1
- package/dist/client/assets/{agents-list-DrT_0gVh.js → agents-list-DIpYtUlJ.js} +1 -1
- package/dist/client/assets/{ai-providers-DorJXBZe.js → ai-providers-DJSUQnD1.js} +1 -1
- package/dist/client/assets/{alert-DEw5BVAh.js → alert-GbAkes7m.js} +1 -1
- package/dist/client/assets/{analytics-sections-g9foqwY5.js → analytics-sections-Bb2X2x1n.js} +1 -1
- package/dist/client/assets/{analytics-tab-D5KshkAH.js → analytics-tab-BmRbRV7j.js} +1 -1
- package/dist/client/assets/{api-keys-CIPiPSYY.js → api-keys-CUAWVknr.js} +1 -1
- package/dist/client/assets/api-keys-CYNApwkv.js +1 -0
- package/dist/client/assets/{app-editor-ChUXEXt-.js → app-editor-CyjHGv_R.js} +1 -1
- package/dist/client/assets/{asset-utils-DRJP317P.js → asset-utils-cXz86Lc9.js} +1 -1
- package/dist/client/assets/{auth-Dqt9menC.js → auth-Dfomi5JO.js} +1 -1
- package/dist/client/assets/{auth-catchall-B5Em8iaq.js → auth-catchall-CQPN8xxO.js} +1 -1
- package/dist/client/assets/{auth-entry-CNtzQsix.js → auth-entry-CopJeOJe.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BoWG-no5.js → auth-split-layout-DlqDAzsj.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-BziZaG_M.js → authenticate-and-persist-oauth-CIjqyOtu.js} +1 -1
- package/dist/client/assets/{automation-list-row-BRtPLrxX.js → automation-list-row-DjtEQ2qE.js} +1 -1
- package/dist/client/assets/{automation-runs-C0-BhIZn.js → automation-runs-Fh82uxKP.js} +1 -1
- package/dist/client/assets/{automations-CXOQ5gKM.js → automations-v0vsa1w4.js} +1 -1
- package/dist/client/assets/{autosend-BRUzWk70.js → autosend-1kVbs2RQ.js} +1 -1
- package/dist/client/assets/{badge-Ckz5LqgP.js → badge-Cd6N93gT.js} +1 -1
- package/dist/client/assets/{block-document-BPaZQC5L.js → block-document-Eqc7jC1E.js} +1 -1
- package/dist/client/assets/blocks-preview-workspace-context-DmNovEJ2.js +1 -0
- package/dist/client/assets/{blocks-tab-states-BcxrQPOR.js → blocks-tab-states-EZ53-FeU.js} +1 -1
- package/dist/client/assets/{blog-schema-Du7ILh7Q.js → blog-schema-BIlyKinw.js} +1 -1
- package/dist/client/assets/{buckets-CKZYh6Ij.js → buckets-DeThgb1z.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-DJhZN8lj.js → build-improve-prompt-doc-BhOi567C.js} +1 -1
- package/dist/client/assets/{calendar-DkZz5VlH.js → calendar-CZnHQIdE.js} +1 -1
- package/dist/client/assets/{campaigns-view-Dc88Zs16.js → campaigns-view-keHuDNLa.js} +1 -1
- package/dist/client/assets/{capability-load-error-CRB9otZt.js → capability-load-error-BoUVRT1s.js} +1 -1
- package/dist/client/assets/{category-editor-CSPe0t_-.js → category-editor-CRQwImqd.js} +1 -1
- package/dist/client/assets/{cdn-tab-KPAxnC3T.js → cdn-tab-DGJOOmwS.js} +1 -1
- package/dist/client/assets/{chart-Bp6om7lj.js → chart-DIxDpRCA.js} +1 -1
- package/dist/client/assets/chat-context-2letHrEJ.js +39 -0
- package/dist/client/assets/{chat-draft-OR83_S8w.js → chat-draft-BamZUeXG.js} +1 -1
- package/dist/client/assets/{checkbox-BQ7Ebuar.js → checkbox-vkygLbK1.js} +1 -1
- package/dist/client/assets/{choose-editor-CspgtGFS.js → choose-editor-CvBlgOf7.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CGyir_iF.js → cli-auth-success-DbYRVqF9.js} +1 -1
- package/dist/client/assets/{client-icons-BOMFh2QS.js → client-icons-Byj2LmW_.js} +1 -1
- package/dist/client/assets/cms-settings-editor-2-st_NGk.js +1 -0
- package/dist/client/assets/{collapsible-BB8_usPT.js → collapsible-DsyQMORE.js} +1 -1
- package/dist/client/assets/{collection-detail-H-UqYky8.js → collection-detail-DWStyXoZ.js} +1 -1
- package/dist/client/assets/{collection-display-button-CulG1s8m.js → collection-display-button-DxqDuoDs.js} +1 -1
- package/dist/client/assets/{collection-search-Cf4li4kg.js → collection-search-BT_p6pKF.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DnZHa5Lt.js → collection-table-wrapper-Bu9UKC3v.js} +1 -1
- package/dist/client/assets/{collection-tabs-x8ccQUAC.js → collection-tabs-D6nWmqmK.js} +1 -1
- package/dist/client/assets/{column-rules-C_DWUbCh.js → column-rules-1_e0Bdla.js} +1 -1
- package/dist/client/assets/{combobox-BZoZToki.js → combobox-C05HI-BC.js} +1 -1
- package/dist/client/assets/{command-MmMDew8i.js → command-CPzIRDl7.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-By8_AO07.js → companion-mcps-section-8bJuflHh.js} +1 -1
- package/dist/client/assets/{config-DBn3iCC3.js → config-g4_iXJef.js} +1 -1
- package/dist/client/assets/{connect-layout-9tsE00M7.js → connect-layout-B0kvJrgY.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-DqWilbbC.js → connect-source-dialog-Drua8oaC.js} +1 -1
- package/dist/client/assets/{connect-DbK_vN0J.js → connect-uOeiI1CS.js} +1 -1
- package/dist/client/assets/{connection-QGwhnKZn.js → connection-BHsOzStk.js} +1 -1
- package/dist/client/assets/{connection-card-DEMVrMsW.js → connection-card-CYaVyCqL.js} +1 -1
- package/dist/client/assets/{connection-detail-4PyaBO0_.js → connection-detail-C6xJbNuX.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DCRY9s0M.js → connection-form-helpers-D-t8mb0f.js} +1 -1
- package/dist/client/assets/{connections-CpcdB3jc.js → connections-D-CMEpMd.js} +1 -1
- package/dist/client/assets/{content-tab-YME7HMCb.js → content-tab-BplT8Wwk.js} +3 -3
- package/dist/client/assets/{context-oSwYvz9P.js → context-TIPHj43k.js} +1 -1
- package/dist/client/assets/{context-menu-Cpvztbef.js → context-menu-7c-Y-PHB.js} +1 -1
- package/dist/client/assets/{context-shell-BVBpRdKB.js → context-shell-n8IEtxwr.js} +3 -3
- package/dist/client/assets/{core.esm-B2cbbV3O.js → core.esm-Bp5Q1Stg.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-NLldLLor.js → create-organization-dialog-mPrO9oSa.js} +1 -1
- package/dist/client/assets/{daily-pulse-ClSeB_Ta.js → daily-pulse-C7I4Uxdj.js} +1 -1
- package/dist/client/assets/{discover-DmBynuR0.js → discover-7t1pJX8W.js} +1 -1
- package/dist/client/assets/{domain-settings-Cu3Pj63v.js → domain-settings-CXb5s0he.js} +1 -1
- package/dist/client/assets/{drawer-GssD8cb3.js → drawer-CtTfZzW7.js} +1 -1
- package/dist/client/assets/{editor-BTovmEAS.js → editor-BDmCsl05.js} +1 -1
- package/dist/client/assets/{editor-classes-CcPgajKG.js → editor-classes-BJAtiMt8.js} +1 -1
- package/dist/client/assets/{empty-state-DLNzdrwg.js → empty-state-BFtVVtPz.js} +1 -1
- package/dist/client/assets/{empty-state-D86P1Giw.js → empty-state-BpneGtoe.js} +1 -1
- package/dist/client/assets/{experiments-tab-CjpJzYQ9.js → experiments-tab-CLMcteix.js} +1 -1
- package/dist/client/assets/{experiments-tab-choice-pVOiMOWe.js → experiments-tab-choice-vFGVi3bn.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DwkOg2rJ.js → extract-connection-data-CF7y2wEt.js} +1 -1
- package/dist/client/assets/{feature-gate-BIwsQPiQ.js → feature-gate-CM-Nk9xN.js} +1 -1
- package/dist/client/assets/{feature-paywall-DpVlsq5a.js → feature-paywall-CjqBZ6L8.js} +1 -1
- package/dist/client/assets/{file-explorer-B9Wz0lPl.js → file-explorer-BboVEb8_.js} +1 -1
- package/dist/client/assets/{file-preview-CX5xfaHR.js → file-preview-Bvo7zdtc.js} +1 -1
- package/dist/client/assets/{file-share-button-Cx66riM5.js → file-share-button-CXYkYNE_.js} +1 -1
- package/dist/client/assets/{file-type-icon-tAeiI9_2.js → file-type-icon-CjiJpbk5.js} +1 -1
- package/dist/client/assets/{folder-icon-C25vLo5g.js → folder-icon-BZUD34gC.js} +1 -1
- package/dist/client/assets/{form-CKF06Eu0.js → form-DrzlJwQH.js} +1 -1
- package/dist/client/assets/{general-CA7uhFzP.js → general-Cd6mSkL_.js} +1 -1
- package/dist/client/assets/{held-block-view-CU5t1B8c.js → held-block-view-R3GhxO1l.js} +3 -3
- package/dist/client/assets/{home-BuPVKVzx.js → home-CrEXzaHC.js} +1 -1
- package/dist/client/assets/{icon-button-5JlhYc9R.js → icon-button-j3Ikexya.js} +1 -1
- package/dist/client/assets/{index-D8kI0oe2.js → index-6M_m-_Us.js} +1 -1
- package/dist/client/assets/{index-B8bCJ3Gm.js → index-B7a1uePd.js} +1 -1
- package/dist/client/assets/{index-C4tYnNih.js → index-BJ9m9LNK.js} +7 -7
- package/dist/client/assets/{index-BLRFIWph.js → index-BZXHvOuQ.js} +1 -1
- package/dist/client/assets/{index-DQ4MCRAi.js → index-BhEe0I5z.js} +1 -1
- package/dist/client/assets/{index-CJ8-jtJ3.js → index-BjON6Ore.js} +1 -1
- package/dist/client/assets/{index-DG_Aoo8H.js → index-CPP16Pqo.js} +1 -1
- package/dist/client/assets/{index-CDfG-oXn.js → index-Cs2qsEhb.js} +1 -1
- package/dist/client/assets/{index-BerfNxBu.js → index-DEhrG7UG.js} +1 -1
- package/dist/client/assets/{index-DMcUJv3F.js → index-DO1wPTie.js} +1 -1
- package/dist/client/assets/{index-CieIETkx.js → index-DT3sLrgG.js} +1 -1
- package/dist/client/assets/{index-AY0yzUAx.js → index-Da5shA_7.js} +1 -1
- package/dist/client/assets/{index-CMXP-HlZ.js → index-Dj2ac1Ct.js} +1 -1
- package/dist/client/assets/index-DyS4s94t.js +1 -0
- package/dist/client/assets/{index-B0Hb2bUK.js → index-Zaz397OF.js} +1 -1
- package/dist/client/assets/{index-redirect-DSkhUiz1.js → index-redirect-Ch_11yeO.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-CyNcT3qz.js → infiniteQueryObserver-CM3ITLPo.js} +1 -1
- package/dist/client/assets/{infra-billing-OmwhvZsy.js → infra-billing-D_W3RIFV.js} +1 -1
- package/dist/client/assets/input-DTDcy6hY.js +17 -0
- package/dist/client/assets/{input-Drj3v1Rm.js → input-DipMvobq.js} +1 -1
- package/dist/client/assets/{integration-icon-wG7mou98.js → integration-icon-gBiw8y2C.js} +1 -1
- package/dist/client/assets/{jira-icon-Ct9neMH3.js → jira-icon-Cus3NRDL.js} +1 -1
- package/dist/client/assets/{label-Kngegn1Y.js → label-BWO7BDzN.js} +1 -1
- package/dist/client/assets/{layout-D1PXm8wr.js → layout-C4eU6U_z.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-CqqR00U7.js → legacy-agents-deep-CDxdVAmP.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-j5rWQTR7.js → legacy-main-redirect-BTqRcXg6.js} +1 -1
- package/dist/client/assets/library-CRTbwohf.js +1 -0
- package/dist/client/assets/{login-dCZC1OIS.js → login-UOHS7fQN.js} +1 -1
- package/dist/client/assets/{markdown-C-J5-sTt.js → markdown-BG06zpZJ.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-vHEVQIZL.js → mcp-app-renderer-CxONPSoj.js} +1 -1
- package/dist/client/assets/{mcp-oauth-5QMuPFQa.js → mcp-oauth-C_vXn_zS.js} +1 -1
- package/dist/client/assets/{mcp-oauth-CnB7EPe0.js → mcp-oauth-hbfUsWSk.js} +1 -1
- package/dist/client/assets/{members-D62Ns7xb.js → members-DiPd0w69.js} +1 -1
- package/dist/client/assets/{memory-BRnI6IWM.js → memory-D7_gYCf3.js} +1 -1
- package/dist/client/assets/{mini-report-page-RV5HcY13.js → mini-report-page-DudoCNBc.js} +1 -1
- package/dist/client/assets/{mock-board-C5ljPU5m.js → mock-board-COFBA38P.js} +3 -3
- package/dist/client/assets/{monaco-editor-CG1RPml4.js → monaco-editor-Bp87HTy0.js} +1 -1
- package/dist/client/assets/{monitoring-kGWQYp7Z.js → monitoring-KjkBz5Hy.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-BpfaRq5_.js → monitoring-stats-row-DZiWF0MT.js} +1 -1
- package/dist/client/assets/{multi-select-D79TIC6v.js → multi-select-ClUvymCl.js} +1 -1
- package/dist/client/assets/{mustache-BdHuXtQC.js → mustache-SEzsgR-s.js} +1 -1
- package/dist/client/assets/{named-rule-uses-DDsPTKwP.js → named-rule-uses-DBpP8kZW.js} +1 -1
- package/dist/client/assets/{named-rule-view-CelDjugE.js → named-rule-view-CIxMNPIR.js} +1 -1
- package/dist/client/assets/{new-project-dialog-DQPlctqf.js → new-project-dialog-BIxGYry7.js} +1 -1
- package/dist/client/assets/{oauth-callback-ah6cR8xQ.js → oauth-callback-CgnzMW_h.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-C5jhPG9E.js → oauth-callback-ai-provider-CrNuoNuA.js} +1 -1
- package/dist/client/assets/{onboarding-BPgxXbEy.js → onboarding-CPcIJ7Kl.js} +1 -1
- package/dist/client/assets/{openai-conversation-COLqoqqY.js → openai-conversation-BVVfXB0S.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-BXm7Dv06.js → optimistic-project-sidebar-views-CGrVGbzf.js} +1 -1
- package/dist/client/assets/{order-monitor-day-DzTTlxAw.js → order-monitor-day-_COSpI9X.js} +1 -1
- package/dist/client/assets/{organization-choice-CMYQUq77.js → organization-choice-DM-i-ste.js} +1 -1
- package/dist/client/assets/{orgs-Cb-j6SHO.js → orgs-DBGdo2ep.js} +1 -1
- package/dist/client/assets/{page-seo-form-CCa1Xirx.js → page-seo-form-B-bTZXwI.js} +1 -1
- package/dist/client/assets/{pair-CRFLUGB-.js → pair-CeWIXyL1.js} +1 -1
- package/dist/client/assets/{parse-sections-CBOr5TcU.js → parse-sections-CzJo2WgK.js} +1 -1
- package/dist/client/assets/{plan-CZiCKWsL.js → plan-6sf6fzbJ.js} +1 -1
- package/dist/client/assets/{plan-ladder-Clu_D1dM.js → plan-ladder-Co29049V.js} +1 -1
- package/dist/client/assets/{popover-7hw0_Cgu.js → popover-C5Dt3qOY.js} +1 -1
- package/dist/client/assets/{post-calendar-oSfCtk_Z.js → post-calendar-DOKKScLr.js} +1 -1
- package/dist/client/assets/{post-editor-DqdLoENq.js → post-editor-L6XkKTbk.js} +1 -1
- package/dist/client/assets/{preview-content-tpqwn9DV.js → preview-content-CY8QtGeB.js} +1 -1
- package/dist/client/assets/{preview-dialog-DDUA3zbn.js → preview-dialog-SFPfuPhe.js} +1 -1
- package/dist/client/assets/{preview-panel-B7KDfk34.js → preview-panel-DG1XweCF.js} +1 -1
- package/dist/client/assets/{preview-tab-CwHbL-uL.js → preview-tab-CppK1K1V.js} +3 -3
- package/dist/client/assets/{product-picker-dialog-q_j-OMur.js → product-picker-dialog-B-qJRXdq.js} +1 -1
- package/dist/client/assets/{profile--UpTdMEW.js → profile-CogKW0ml.js} +1 -1
- package/dist/client/assets/{project-app-view-BDtUwetx.js → project-app-view-Bg0IXTwt.js} +1 -1
- package/dist/client/assets/{project-apps-M24hPHW2.js → project-apps-BWyBTcjU.js} +1 -1
- package/dist/client/assets/{project-feed-Dm5w30sM.js → project-feed-BbnYaqgF.js} +1 -1
- package/dist/client/assets/{project-icon-BlULUcrw.js → project-icon-OmAeiXOI.js} +1 -1
- package/dist/client/assets/project-reports-C4fNYK5h.js +1 -0
- package/dist/client/assets/project-tasks-CiUIlBvj.js +1 -0
- package/dist/client/assets/{projects-C9fr3jni.js → projects-ScLrP0Sq.js} +1 -1
- package/dist/client/assets/{projects-empty-state-DRas-7X9.js → projects-empty-state-DySkSTbO.js} +1 -1
- package/dist/client/assets/{prompts-CiGgpCOz.js → prompts-fqxplS8t.js} +1 -1
- package/dist/client/assets/record-editor-Cd5kCJv3.js +1 -0
- package/dist/client/assets/{redirect-editor-DbPiIIKk.js → redirect-editor-CiqrxPXo.js} +1 -1
- package/dist/client/assets/{releases-api-DA_Oz9WG.js → releases-api-CughGviB.js} +1 -1
- package/dist/client/assets/reports-D4nL6cfo.js +1 -0
- package/dist/client/assets/{reports-Czva0tSD.js → reports-DoXSUp0p.js} +1 -1
- package/dist/client/assets/{reports-onboarding-BsOWdPaY.js → reports-onboarding-CvtUysYm.js} +1 -1
- package/dist/client/assets/{reports-tab-C2STfD1k.js → reports-tab-DGGd_cJc.js} +2 -2
- package/dist/client/assets/repositories-CX881Zmd.js +1 -0
- package/dist/client/assets/{repositories-Dp2o7kK8.js → repositories-DiF_6MDk.js} +1 -1
- package/dist/client/assets/{repository-binding-C7GXruB1.js → repository-binding-5kMOX4dj.js} +1 -1
- package/dist/client/assets/{repository-import-picker-BIFRKH2H.js → repository-import-picker-Cf-mDDmo.js} +1 -1
- package/dist/client/assets/{repository-picker-D6fEwnOk.js → repository-picker-BN84wENn.js} +1 -1
- package/dist/client/assets/{require-capability-DSeRbn1u.js → require-capability-d9R-dYdO.js} +1 -1
- package/dist/client/assets/{required-auth-layout-D4yn4VOg.js → required-auth-layout-DojZ1KGX.js} +1 -1
- package/dist/client/assets/{reset-password-CLlk4Qyg.js → reset-password-DSQJZEJs.js} +1 -1
- package/dist/client/assets/{resizable-B3zVq59U.js → resizable-DaKs1eh5.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-NGCKQk4u.js → resolve-tab-icon-E0pJTGSy.js} +1 -1
- package/dist/client/assets/{review-settings-ChOJMpqj.js → review-settings-B7m9uNKt.js} +1 -1
- package/dist/client/assets/{roles-034YEIy0.js → roles-sT7X7xzB.js} +1 -1
- package/dist/client/assets/{route-DixoE7S2.js → route-BiPjYs2Q.js} +1 -1
- package/dist/client/assets/{route-D3_kGiYP.js → route-CO4TvlsY.js} +1 -1
- package/dist/client/assets/route-qbvcUo1A.js +1 -0
- package/dist/client/assets/sandbox-lifecycle-context-BdO8UXfQ.js +1 -0
- package/dist/client/assets/{schema-DXQBt-Da.js → schema-Bp5lazAd.js} +1 -1
- package/dist/client/assets/{schema-DIZqRcY2.js → schema-HyTKqr-p.js} +1 -1
- package/dist/client/assets/{scroll-area-BYOXOcFm.js → scroll-area-ButOmQch.js} +1 -1
- package/dist/client/assets/{search-input-CM9T7koR.js → search-input-N6CaOC_1.js} +1 -1
- package/dist/client/assets/{search-toggle-BA_oiAdj.js → search-toggle-hVjf6-kQ.js} +1 -1
- package/dist/client/assets/{secret-picker-D2Cr-oRZ.js → secret-picker-DbQaPqx6.js} +1 -1
- package/dist/client/assets/{secrets-BRbaixQo.js → secrets-CkR4uy6Z.js} +1 -1
- package/dist/client/assets/{section-array-field-TQFJqwVV.js → section-array-field-Lr-feKpQ.js} +1 -1
- package/dist/client/assets/{sections-05hBo9NL.js → sections-BM3hOdfC.js} +1 -1
- package/dist/client/assets/{sections-editor-BR_A8Bqr.js → sections-editor-DLgM9lBb.js} +1 -1
- package/dist/client/assets/{select-BZ2tKCpr.js → select-BwZ3fxwy.js} +1 -1
- package/dist/client/assets/{select-model-DskJe0jJ.js → select-model-B5VqF5aQ.js} +1 -1
- package/dist/client/assets/{seo-editor-DWsRiK1b.js → seo-editor-Bpy9Dzdq.js} +1 -1
- package/dist/client/assets/{separator-DdBbm1xl.js → separator-BJ59N-4S.js} +1 -1
- package/dist/client/assets/settings-tab-CA-W7UU2.js +1 -0
- package/dist/client/assets/{sheet-DYw2VD7L.js → sheet-CFaQrFou.js} +1 -1
- package/dist/client/assets/{shell-layout-DQPoLlFW.js → shell-layout-BmOtysoG.js} +1 -1
- package/dist/client/assets/{site-draft-actions-dD4jyBUz.js → site-draft-actions-DQSFILpp.js} +1 -1
- package/dist/client/assets/site-draft-view-FIwQQWqm.js +2 -0
- package/dist/client/assets/site-editor-pGVB_SVm.js +1 -0
- package/dist/client/assets/{site-editor-toast-gO0geSY6.js → site-editor-toast-Drt9__vU.js} +1 -1
- package/dist/client/assets/{skills-BG0VOLIN.js → skills-CuAtdce2.js} +1 -1
- package/dist/client/assets/{slider-ApiojjsY.js → slider-9xLURN_x.js} +1 -1
- package/dist/client/assets/{sortable.esm-DPfgkRcd.js → sortable.esm-DKvN4I2-.js} +1 -1
- package/dist/client/assets/{sso-CfSDpa9Z.js → sso-Bt0VIDB0.js} +1 -1
- package/dist/client/assets/{suggestion-DTo0Z5su.js → suggestion-B65JiyPM.js} +1 -1
- package/dist/client/assets/{switch-B3v6apDN.js → switch-DAskixZA.js} +1 -1
- package/dist/client/assets/{symbol-pDh9bf5z.js → symbol-DHBzZbeR.js} +1 -1
- package/dist/client/assets/{synced-repos-oiGV5Ihu.js → synced-repos-CE8wN2_N.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-BzFDI553.js → tab-icon-glyph-CpaZMvdV.js} +1 -1
- package/dist/client/assets/{table-CANIhtsr.js → table-gy7RNGr-.js} +1 -1
- package/dist/client/assets/{tabs-B5O9VNwn.js → tabs-BIh8PZDT.js} +1 -1
- package/dist/client/assets/{task-assignee-avatar-BOAf_3H_.js → task-assignee-avatar-T0yhZapD.js} +1 -1
- package/dist/client/assets/{task-board-CBBaN9ua.js → task-board-DDJJrv54.js} +1 -1
- package/dist/client/assets/{task-route-1lojPQeZ.js → task-route-BuxqCGZd.js} +1 -1
- package/dist/client/assets/{task-status-DM1NBqlc.js → task-status-B-hiqAeK.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-DK79qp1-.js → taskboard-analytics-CACHd6vk.js} +1 -1
- package/dist/client/assets/{tasks-Czi5B_ZB.js → tasks-CPyoTCOO.js} +1 -1
- package/dist/client/assets/tasks-CyRF0ujk.js +1 -0
- package/dist/client/assets/{textarea-CAZh8Kr5.js → textarea-B-cDk_e9.js} +1 -1
- package/dist/client/assets/{thread-analytics-K9PkKnHr.js → thread-analytics-DKFvK1DN.js} +1 -1
- package/dist/client/assets/{thread-intent-B9ceQWmI.js → thread-intent-DXpv35UG.js} +1 -1
- package/dist/client/assets/{thread-route-gmMlW4oz.js → thread-route-BZKbOQYe.js} +1 -1
- package/dist/client/assets/{thread-route-_-Jo9yAq.js → thread-route-Dp-aglxM.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-ClyiLZhS.js → thread-sheet-body-CRJRoIwG.js} +1 -1
- package/dist/client/assets/{time-range-picker-m7OMfbU0.js → time-range-picker-B1ueoxPR.js} +1 -1
- package/dist/client/assets/{toggle-group-8XrNtMoS.js → toggle-group-B4WOnAP4.js} +1 -1
- package/dist/client/assets/{tool-namespace-cn6zTT0m.js → tool-namespace-BDVFYO2h.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-fBm5AosV.js → toolbar-icon-button-CsFCKDkl.js} +1 -1
- package/dist/client/assets/{tooltip-B1eS9Khq.js → tooltip-BP50pkvP.js} +1 -1
- package/dist/client/assets/{tooltipContext-DMiC5t9-.js → tooltipContext-C8XbU8o0.js} +1 -1
- package/dist/client/assets/{track-BcscPlt3.js → track-CDPTw9ZB.js} +1 -1
- package/dist/client/assets/{types-C_LaIhQe.js → types-G5N7kkmB.js} +1 -1
- package/dist/client/assets/{url-slug-BEmF9qH1.js → url-slug-D6AdbSqw.js} +1 -1
- package/dist/client/assets/{usage-stats-DtO_zGwF.js → usage-stats-n069Pf6u.js} +1 -1
- package/dist/client/assets/{use-ai-providers-C315xBlf.js → use-ai-providers-BCXdfWt4.js} +1 -1
- package/dist/client/assets/{use-apply-named-rule-9ihG8ELj.js → use-apply-named-rule-2pgSelD5.js} +1 -1
- package/dist/client/assets/{use-automations-BpSvam4M.js → use-automations-Ch5lNT3Y.js} +1 -1
- package/dist/client/assets/{use-autosave-CRCl3eTr.js → use-autosave-DnUFhq5-.js} +1 -1
- package/dist/client/assets/{use-chat-layout-state-ByIICjWr.js → use-chat-layout-state-Boq7M7MG.js} +1 -1
- package/dist/client/assets/{use-clock-tick-QAJndZ00.js → use-clock-tick-C7RLnGnY.js} +1 -1
- package/dist/client/assets/{use-connect-companion-rEYy0Kcd.js → use-connect-companion-w3O3zQJZ.js} +1 -1
- package/dist/client/assets/{use-connection-CBlLT-Gl.js → use-connection-SBf1IMNR.js} +1 -1
- package/dist/client/assets/{use-content-sync-TKItZ8SP.js → use-content-sync-BL9rGIyO.js} +1 -1
- package/dist/client/assets/{use-copy-C9NYM8DB.js → use-copy-Dgppamoo.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DFsMYI92.js → use-create-virtual-mcp-DE2rukKQ.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-bL-I5mOj.js → use-date-fns-locale-MUGqYczL.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DfJudaYl.js → use-debounced-autosave-C_xNyGJY.js} +1 -1
- package/dist/client/assets/{use-debounced-value-DOPKXMfX.js → use-debounced-value-Cf0I7A9v.js} +1 -1
- package/dist/client/assets/{use-deco-credits-DL_DG4I5.js → use-deco-credits-Dna90E4X.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-4yDcDH2I.js → use-decopilot-events-8w_hmlMJ.js} +1 -1
- package/dist/client/assets/{use-delete-connection-3ef0jZgj.js → use-delete-connection-ClNsS7Ho.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-C2GaZpz9.js → use-deployment-admin-4YEWaFep.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-CN-8cYCq.js → use-fast-preview-draft-url-Bc3gs7gV.js} +1 -1
- package/dist/client/assets/{use-file-configs-Dfr8whNN.js → use-file-configs-B-wH52y_.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-UXhkZ9eS.js → use-inbox-feed-Ci3vPrJA.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-WEv8wBk9.js → use-infinite-scroll-BIzBYJCu.js} +1 -1
- package/dist/client/assets/{use-join-requests-Bf1nx4BW.js → use-join-requests-DP8Apzuq.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-CnvhH3AB.js → use-main-panel-tabs-CYcYIai-.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-Dxn8Kcei.js → use-mcp-auth-status-CNLX3LBK.js} +1 -1
- package/dist/client/assets/{use-mcp-client-BkBWhGyj.js → use-mcp-client-Do4_ndrI.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-DWjSk3XQ.js → use-mcp-prompts-BtZywK26.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-Cq-ES3mk.js → use-mcp-tools-D588moK7.js} +1 -1
- package/dist/client/assets/{use-mobile-BADuLdb7.js → use-mobile-CMu6UtqS.js} +1 -1
- package/dist/client/assets/{use-move-blocks-Ds_0OJ4H.js → use-move-blocks-0Xns2gtz.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-B3bMlZK-.js → use-navigate-to-agent-BhR34hZR.js} +1 -1
- package/dist/client/assets/{use-open-billing-url-Dfpg8Tio.js → use-open-billing-url-C2ZKl_OJ.js} +1 -1
- package/dist/client/assets/{use-org-fs-Dt6mQNyr.js → use-org-fs-Bmjx4Cik.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-D2j2_BKY.js → use-org-repo-syncs-BSAcLSvr.js} +1 -1
- package/dist/client/assets/{use-org-sso-CWvWEDQk.js → use-org-sso-C2CyZRUp.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DsjUZx1i.js → use-organization-roles-DSCc1iIP.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DBQ6GIch.js → use-organization-settings-DMgbBKf8.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-DZO4-0o6.js → use-panel-navigate-o6edpcRi.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-Y3Sopx8q.js → use-project-native-view-presence-CiNgXr_r.js} +1 -1
- package/dist/client/assets/{use-project-scope-CKNjz3VB.js → use-project-scope-2Tdoer5a.js} +1 -1
- package/dist/client/assets/{use-recent-apps-TrfPEwKE.js → use-recent-apps-D4vko3CW.js} +1 -1
- package/dist/client/assets/{use-releases-DSFeRsP3.js → use-releases-CZIw49MO.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-YBAEN0Wc.js → use-reports-diagnostic-D1hUsQ-k.js} +1 -1
- package/dist/client/assets/use-sandbox-events-BGso5ik2.js +2 -0
- package/dist/client/assets/{use-secrets-xwuuJgHg.js → use-secrets-B4A-mk96.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-BdMX2uY9.js → use-section-preview-base-7CyzrhDh.js} +1 -1
- package/dist/client/assets/{use-session-runtime-CtTWKH1c.js → use-session-runtime-CbMaO8p7.js} +1 -1
- package/dist/client/assets/{use-sidebar-collapsed-DXyrU3VA.js → use-sidebar-collapsed-CI6KBWLr.js} +1 -1
- package/dist/client/assets/{use-tags-CwZHa3pE.js → use-tags-lzJX123E.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-BzPvlYE9.js → use-task-board-analytics-BzMGYkMt.js} +1 -1
- package/dist/client/assets/{use-task-board-events-qI_skUMm.js → use-task-board-events-DoQeMblf.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-CiXpN6jW.js → use-task-board-item-prs-C1DrMHVS.js} +1 -1
- package/dist/client/assets/{use-task-metadata-E8aNM85o.js → use-task-metadata-DKj0uikU.js} +1 -1
- package/dist/client/assets/{use-thread-analytics-DKupwFaR.js → use-thread-analytics-C147IXlL.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-Di1RSISN.js → use-thread-outputs-sdt1CHHh.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-Cq3QQD7o.js +1 -0
- package/dist/client/assets/{useQueries-BOzKsoXi.js → useQueries-B2KTxxDE.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-jjzI6K-a.js +1 -0
- package/dist/client/assets/{users-Cup6bGNw.js → users-B-OmSt3n.js} +1 -1
- package/dist/client/assets/{utils-wTX1Gyo-.js → utils-muk7Isuo.js} +1 -1
- package/dist/client/assets/{variant-calendar-Doi5lHFb.js → variant-calendar-DE-GxRhT.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-LGFgaSJn.js → variant-matcher-override-CDXRGILn.js} +1 -1
- package/dist/client/assets/{virtual-mcp-DO56RLOP.js → virtual-mcp-C5K9GZ-3.js} +1 -1
- package/dist/client/assets/{watch-sse-pool-BBTCM7MS.js → watch-sse-pool-BzTIkVFy.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/server.js +1102 -1102
- package/package.json +1 -1
- package/dist/client/assets/agent-analytics-DcqQcnI_.js +0 -1
- package/dist/client/assets/agent-app-BWM9EEcJ.js +0 -1
- package/dist/client/assets/agent-calendar-Bp6Y1tPy.js +0 -1
- package/dist/client/assets/agent-deck-BOaej8yV.js +0 -1
- package/dist/client/assets/agent-experiments-7O17P9sC.js +0 -1
- package/dist/client/assets/agent-library-B3W6CGJl.js +0 -1
- package/dist/client/assets/agent-library-file-CHgoG2j3.js +0 -1
- package/dist/client/assets/agent-monitor-C9pMT5KA.js +0 -1
- package/dist/client/assets/agent-settings-CfNarIdW.js +0 -1
- package/dist/client/assets/agent-site-editor-code-D6BBbIl8.js +0 -2
- package/dist/client/assets/agent-site-editor-content-DAMOp9X5.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-B0IbykqU.js +0 -1
- package/dist/client/assets/agent-view-B5q0EqmS.js +0 -1
- package/dist/client/assets/api-keys-B-qwgNok.js +0 -1
- package/dist/client/assets/blocks-preview-workspace-context-C-uj3YG0.js +0 -1
- package/dist/client/assets/chat-context-CIOqAIIy.js +0 -39
- package/dist/client/assets/cms-settings-editor-DbU_3ksB.js +0 -1
- package/dist/client/assets/index-Bz0XRw1e.js +0 -1
- package/dist/client/assets/input-C0IBlV9i.js +0 -17
- package/dist/client/assets/library-BB_eexuL.js +0 -1
- package/dist/client/assets/project-reports-BXESPzCU.js +0 -1
- package/dist/client/assets/project-tasks-CRajXa6Z.js +0 -1
- package/dist/client/assets/record-editor-Dw_A1nYV.js +0 -1
- package/dist/client/assets/reports-I3thcjRj.js +0 -1
- package/dist/client/assets/repositories-B5BeE82u.js +0 -1
- package/dist/client/assets/route-B9sbaFmI.js +0 -1
- package/dist/client/assets/sandbox-lifecycle-context-DS1zxfZb.js +0 -1
- package/dist/client/assets/settings-tab-5QV5D7iT.js +0 -1
- package/dist/client/assets/site-draft-view-Ds5aQAqU.js +0 -2
- package/dist/client/assets/site-editor-D8vmphjE.js +0 -1
- package/dist/client/assets/tasks--LaoDxg8.js +0 -1
- package/dist/client/assets/use-sandbox-events-C6ionJ0p.js +0 -2
- package/dist/client/assets/useInfiniteQuery-CtWUiDbh.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Diw12fEI.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m7.5 12 3 3 6-6m5.5 3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="CheckCircle";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m7 15 5 5 5-5M7 9l5-5 5 5"}));i.displayName="ChevronSelectorVertical";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m6 9 6 6 6-6"}));n.displayName="ChevronDown";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m18 15-6-6-6 6"}));i.displayName="ChevronUp";export{i as n,n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M5 15c-.932 0-1.398 0-1.765-.152a2 2 0 0 1-1.083-1.083C2 13.398 2 12.932 2 12V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2H12c.932 0 1.398 0 1.765.152a2 2 0 0 1 1.083 1.083C15 3.602 15 4.068 15 5m-2.8 17h6.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-6.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 9 19.92 9 18.8 9h-6.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C9 10.52 9 11.08 9 12.2v6.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C10.52 22 11.08 22 12.2 22Z"}));o.displayName="Copy01";export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M22 10H2m0-1.8v7.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 19 4.08 19 5.2 19h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 17.48 22 16.92 22 15.8V8.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 5 19.92 5 18.8 5H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 6.52 2 7.08 2 8.2Z"}));a.displayName="CreditCard01";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0-7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsVertical";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n}from"./index-
|
|
1
|
+
import{r as n}from"./index-BJ9m9LNK.js";var l=["children"];function u(r,o){if(r==null)return{};var t,e,a=c(r,o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(e=0;e<i.length;e++)t=i[e],o.indexOf(t)===-1&&{}.propertyIsEnumerable.call(r,t)&&(a[t]=r[t])}return a}function c(r,o){if(r==null)return{};var t={};for(var e in r)if({}.hasOwnProperty.call(r,e)){if(o.indexOf(e)!==-1)continue;t[e]=r[e]}return t}var x={data:[],xAxisId:"xAxis-0",yAxisId:"yAxis-0",dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0},f=n.createContext(x);function d(r){var{children:o}=r,t=u(r,l);return n.createElement(f.Provider,{value:t},o)}export{d as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c}from"./index-
|
|
1
|
+
import{r as c}from"./index-BJ9m9LNK.js";const a=({size:e=24,color:r="currentColor",...t})=>c.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},c.createElement("path",{d:"m3.076 7.483 4.288 3.063c.223.159.335.239.451.257a.5.5 0 0 0 .301-.046c.106-.053.188-.163.353-.382l.906-1.208c.047-.063.07-.094.097-.12a.5.5 0 0 1 .08-.064c.032-.02.067-.036.138-.068l3.869-1.719c.16-.071.24-.107.3-.162a.5.5 0 0 0 .124-.177c.032-.076.037-.164.05-.339l.282-4.249M13.5 13.5l2.616 1.121c.303.13.455.195.536.303a.5.5 0 0 1 .098.33c-.009.134-.1.271-.284.546l-1.229 1.844c-.086.13-.13.195-.187.242a.5.5 0 0 1-.172.092c-.071.022-.15.022-.306.022h-1.995c-.208 0-.311 0-.4-.035a.5.5 0 0 1-.2-.144c-.061-.073-.094-.171-.16-.368l-.712-2.139a1.07 1.07 0 0 1-.063-.233.5.5 0 0 1 .01-.156c.014-.057.042-.112.096-.221l.542-1.083c.11-.22.165-.33.25-.399a.5.5 0 0 1 .26-.108c.108-.011.225.028.458.105l.842.281ZM22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));a.displayName="Globe04";export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BJ9m9LNK.js";const a=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M2.42 12.713c-.136-.215-.204-.323-.242-.49a1.173 1.173 0 0 1 0-.446c.038-.167.106-.274.242-.49C3.546 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.029.125.029.322 0 .446-.038.167-.106.274-.242.49C20.455 14.495 17.105 19 12 19c-5.106 0-8.455-4.505-9.58-6.287Z"}),t.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}));a.displayName="Eye";const c=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M16.2 21H6.931c-.605 0-.908 0-1.049-.12a.5.5 0 0 1-.173-.42c.014-.183.228-.397.657-.826l8.503-8.503c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L21 15v1.2M16.2 21c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.72 21 17.88 21 16.2M16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4M10.5 8.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}));c.displayName="Image01";export{c as a,a as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 9a1.99 1.99 0 0 0-.586-1.414A1.994 1.994 0 0 0 15 7m0 8a6 6 0 1 0-5.946-5.193c.058.434.087.651.068.789a.853.853 0 0 1-.117.346c-.068.121-.187.24-.426.479l-5.11 5.11c-.173.173-.26.26-.322.36a1 1 0 0 0-.12.29C3 17.296 3 17.418 3 17.663V19.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21H7v-2h2v-2h2l1.58-1.58c.238-.238.357-.357.478-.425a.852.852 0 0 1 .346-.117c.138-.02.355.01.789.068.264.036.533.054.807.054Z"}));a.displayName="Key01";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m12.708 18.364-1.415 1.414a5 5 0 1 1-7.07-7.07l1.413-1.415m12.728 1.414 1.415-1.414a5 5 0 0 0-7.071-7.071l-1.415 1.414M8.5 15.5l7-7"}));i.displayName="Link01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M5 12h14m0 0-7-7m7 7-7 7"}));i.displayName="ArrowRight";const n=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666Z"}));n.displayName="Container";const a=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"m13 7-1.116-2.231c-.32-.642-.481-.963-.72-1.198a2 2 0 0 0-.748-.462C10.1 3 9.74 3 9.022 3H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.52 2 5.08 2 6.2V7m0 0h15.2c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C22 9.28 22 10.12 22 11.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2V7Zm12 9.5 2.5-2.5-2.5-2.5m-4 0L7.5 14l2.5 2.5"}));a.displayName="FolderCode";const c=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M9 4V2m6 18v2M4 9H2m18 6h2M4.914 4.914 3.5 3.5m15.586 15.586L20.5 20.5M12 17.657l-2.121 2.121a4 4 0 1 1-5.657-5.657L6.343 12m11.314 0 2.121-2.121a4 4 0 1 0-5.657-5.657L12 6.343"}));c.displayName="LinkBroken01";export{a,i,n,c as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M5 12h14"}));i.displayName="Minus";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M8 21h8m-4-4v4m-5.2-4h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 14.72 22 13.88 22 12.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 17 5.12 17 6.8 17Z"}));i.displayName="Monitor01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M5 4.99c0-.972 0-1.457.202-1.725a1 1 0 0 1 .738-.395c.335-.02.74.25 1.548.788l10.515 7.01c.668.446 1.002.668 1.118.949a1 1 0 0 1 0 .766c-.116.28-.45.503-1.118.948l-10.515 7.01c-.809.54-1.213.809-1.548.789a1 1 0 0 1-.738-.395C5 20.467 5 19.98 5 19.01V4.99Z"}));a.displayName="Play";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 5v14m-7-7h14"}));i.displayName="Plus";export{i as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,fv as M}from"./index-
|
|
1
|
+
import{r as o,fv as M}from"./index-BJ9m9LNK.js";import{B as C,D,a5 as _,aq as F,ar as W,as as $,at as N,F as y,au as z,av as B,aw as w,ax as V,ai as X,Z as Y,L as Z,ay as H,az as K,aA as v,aB as E}from"./CategoricalChart-CiyWbCkx.js";import{r as q}from"./CartesianChart-B6XqwP69.js";class T{constructor(e){var{x:a,y:n}=e;this.xAxisScale=a,this.yAxisScale=n}map(e,a){var n,t,{position:l}=a;return{x:(n=this.xAxisScale.map(e.x,{position:l}))!==null&&n!==void 0?n:0,y:(t=this.yAxisScale.map(e.y,{position:l}))!==null&&t!==void 0?t:0}}mapWithFallback(e,a){var n,t,{position:l,fallback:s}=a,c,i;return s==="rangeMin"?c=this.yAxisScale.rangeMin():s==="rangeMax"?c=this.yAxisScale.rangeMax():c=0,s==="rangeMin"?i=this.xAxisScale.rangeMin():s==="rangeMax"?i=this.xAxisScale.rangeMax():i=0,{x:(n=this.xAxisScale.map(e.x,{position:l}))!==null&&n!==void 0?n:i,y:(t=this.yAxisScale.map(e.y,{position:l}))!==null&&t!==void 0?t:c}}isInRange(e){var{x:a,y:n}=e,t=a==null||this.xAxisScale.isInRange(a),l=n==null||this.yAxisScale.isInRange(n);return t&&l}}function j(r,e){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),a.push.apply(a,n)}return a}function L(r){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?j(Object(a),!0).forEach(function(n){G(r,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):j(Object(a)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(a,n))})}return r}function G(r,e,a){return(e=J(e))in r?Object.defineProperty(r,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[e]=a,r}function J(r){var e=Q(r,"string");return typeof e=="symbol"?e:e+""}function Q(r,e){if(typeof r!="object"||!r)return r;var a=r[Symbol.toPrimitive];if(a!==void 0){var n=a.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function g(){return g=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)({}).hasOwnProperty.call(a,n)&&(r[n]=a[n])}return r},g.apply(null,arguments)}var U=(r,e)=>{var a;if(o.isValidElement(r))a=o.cloneElement(r,e);else if(typeof r=="function")a=r(e);else{if(!v(e.x1)||!v(e.y1)||!v(e.x2)||!v(e.y2))return null;a=o.createElement("line",g({},e,{className:"recharts-reference-line-line"}))}return a},ee=(r,e,a,n,t,l)=>{var{x:s,width:c}=l,i=t.map(r,{position:a});if(!v(i)||e==="discard"&&!t.isInRange(i))return null;var u=[{x:s+c,y:i},{x:s,y:i}];return n==="left"?u.reverse():u},re=(r,e,a,n,t,l)=>{var{y:s,height:c}=l,i=t.map(r,{position:a});if(!v(i)||e==="discard"&&!t.isInRange(i))return null;var u=[{x:i,y:s+c},{x:i,y:s}];return n==="top"?u.reverse():u},ae=(r,e,a,n)=>{var t=[n.mapWithFallback(r[0],{position:a,fallback:"rangeMin"}),n.mapWithFallback(r[1],{position:a,fallback:"rangeMax"})];return e==="discard"&&t.some(l=>!n.isInRange(l))?null:t},ne=(r,e,a,n,t,l,s)=>{var{x:c,y:i,segment:u,ifOverflow:x}=s,d=E(c),m=E(i);return m?ee(i,x,n,l,e,a):d?re(c,x,n,t,r,a):u!=null&&u.length===2?ae(u,x,n,new T({x:r,y:e})):null};function te(r){var e=_();return o.useEffect(()=>(e(F(r)),()=>{e(W(r))})),null}function ie(r){var{xAxisId:e,yAxisId:a,shape:n,className:t,ifOverflow:l}=r,s=$(),c=N(),i=y(f=>z(f,e)),u=y(f=>B(f,a)),x=y(f=>w(f,"xAxis",e,s)),d=y(f=>w(f,"yAxis",a,s)),m=V();if(!c||!m||i==null||u==null||x==null||d==null)return null;var p=ne(x,d,m,r.position,i.orientation,u.orientation,r);if(!p)return null;var b=p[0],A=p[1];if(b==null||A==null)return null;var{x:P,y:O}=b,{x:I,y:S}=A,R=l==="hidden"?"url(#".concat(c,")"):void 0,k=L(L({clipPath:R},X(r)),{},{x1:P,y1:O,x2:I,y2:S}),h=q({x1:P,y1:O,x2:I,y2:S});return o.createElement(Y,{zIndex:r.zIndex},o.createElement(Z,{className:M("recharts-reference-line",t)},U(n,k),o.createElement(H,g({},h,{lowerWidth:h.width,upperWidth:h.width}),o.createElement(K,{label:r.label}),r.children)))}var le={ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",label:!1,stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle",zIndex:D.line};function se(r){var e=C(r,le);return o.createElement(o.Fragment,null,o.createElement(te,{yAxisId:e.yAxisId,xAxisId:e.xAxisId,ifOverflow:e.ifOverflow,x:e.x,y:e.y,segment:e.segment}),o.createElement(ie,e))}se.displayName="ReferenceLine";export{T as C,se as R};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m21 21-4.35-4.35M19 11a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z"}));i.displayName="SearchMd";export{i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as y,fv as ge}from"./index-
|
|
1
|
+
import{r as y,fv as ge}from"./index-BJ9m9LNK.js";import{B as me,I as Me,ai as $,ak as Ee,J as Te,al as g,M as k,am as M,$ as Le,O as be,a0 as P,an as K}from"./CategoricalChart-CiyWbCkx.js";var Se=["radius"],_e=["radius"],U,V,q,F,G,Q,R,w,ee,re;function te(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);e&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),t.push.apply(t,a)}return t}function ae(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?te(Object(t),!0).forEach(function(a){De(r,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):te(Object(t)).forEach(function(a){Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(t,a))})}return r}function De(r,e,t){return(e=Ie(e))in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Ie(r){var e=ke(r,"string");return typeof e=="symbol"?e:e+""}function ke(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var a=t.call(r,e);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function W(){return W=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var a in t)({}).hasOwnProperty.call(t,a)&&(r[a]=t[a])}return r},W.apply(null,arguments)}function ne(r,e){if(r==null)return{};var t,a,l=Ce(r,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);for(a=0;a<n.length;a++)t=n[a],e.indexOf(t)===-1&&{}.propertyIsEnumerable.call(r,t)&&(l[t]=r[t])}return l}function Ce(r,e){if(r==null)return{};var t={};for(var a in r)if({}.hasOwnProperty.call(r,a)){if(e.indexOf(a)!==-1)continue;t[a]=r[a]}return t}function h(r,e){return e||(e=r.slice(0)),Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(e)}}))}var ce=(r,e,t,a,l)=>{var n=M(t),p=M(a),u=Math.min(Math.abs(n)/2,Math.abs(p)/2),i=p>=0?1:-1,c=n>=0?1:-1,s=p>=0&&n>=0||p<0&&n<0?1:0,v;if(u>0&&Array.isArray(l)){for(var o=[0,0,0,0],m=0,O=4;m<O;m++){var b,A=(b=l[m])!==null&&b!==void 0?b:0;o[m]=A>u?u:A}v=g(U||(U=h(["M",",",""])),r,e+i*o[0]),o[0]>0&&(v+=g(V||(V=h(["A ",",",",0,0,",",",",",""])),o[0],o[0],s,r+c*o[0],e)),v+=g(q||(q=h(["L ",",",""])),r+t-c*o[1],e),o[1]>0&&(v+=g(F||(F=h(["A ",",",",0,0,",`,
|
|
2
2
|
`,",",""])),o[1],o[1],s,r+t,e+i*o[1])),v+=g(G||(G=h(["L ",",",""])),r+t,e+a-i*o[2]),o[2]>0&&(v+=g(Q||(Q=h(["A ",",",",0,0,",`,
|
|
3
3
|
`,",",""])),o[2],o[2],s,r+t-c*o[2],e+a)),v+=g(R||(R=h(["L ",",",""])),r+c*o[3],e+a),o[3]>0&&(v+=g(w||(w=h(["A ",",",",0,0,",`,
|
|
4
4
|
`,",",""])),o[3],o[3],s,r,e+a-i*o[3])),v+="Z"}else if(u>0&&l===+l&&l>0){var f=Math.min(u,l);v=g(ee||(ee=h(["M ",",",`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a}from"./index-
|
|
1
|
+
import{r as a}from"./index-BJ9m9LNK.js";const o=({size:e=24,color:t="currentColor",...r})=>a.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},a.createElement("path",{d:"m12 21-.1-.15c-.695-1.042-1.042-1.563-1.5-1.94a4 4 0 0 0-1.378-.737C8.453 18 7.827 18 6.575 18H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 16.48 2 15.92 2 14.8V6.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 3 4.08 3 5.2 3h.4c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748C12 6.04 12 7.16 12 9.4M12 21V9.4M12 21l.1-.15c.695-1.042 1.042-1.563 1.5-1.94a3.999 3.999 0 0 1 1.378-.737C15.547 18 16.173 18 17.425 18H18.8c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 16.48 22 15.92 22 14.8V6.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 3 19.92 3 18.8 3h-.4c-2.24 0-3.36 0-4.216.436a4 4 0 0 0-1.748 1.748C12 6.04 12 7.16 12 9.4"}));o.displayName="BookOpen01";const c=({size:e=24,color:t="currentColor",...r})=>a.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},a.createElement("path",{d:"M5.52 2.64 3.96 4.72c-.309.412-.463.618-.46.79a.5.5 0 0 0 .192.384C3.828 6 4.085 6 4.6 6h14.8c.515 0 .773 0 .908-.106a.5.5 0 0 0 .192-.384c.003-.172-.151-.378-.46-.79l-1.56-2.08m-12.96 0c.176-.235.264-.352.376-.437a1 1 0 0 1 .33-.165C6.36 2 6.505 2 6.8 2h10.4c.293 0 .44 0 .575.038a1 1 0 0 1 .33.165c.111.085.199.202.375.437m-12.96 0L3.64 5.147c-.237.316-.356.475-.44.649a2 2 0 0 0-.163.487C3 6.473 3 6.671 3 7.067V18.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 22 5.08 22 6.2 22h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 20.48 21 19.92 21 18.8V7.067c0-.396 0-.594-.037-.784a1.998 1.998 0 0 0-.163-.487c-.084-.174-.203-.333-.44-.65L18.48 2.64M16 10a4 4 0 1 1-8 0"}));c.displayName="ShoppingBag01";export{o as n,c as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BJ9m9LNK.js";const n=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M22 15.844a10.424 10.424 0 0 1-4.306.925c-5.779 0-10.463-4.684-10.463-10.462 0-1.536.33-2.994.925-4.307A10.464 10.464 0 0 0 2 11.538C2 17.316 6.684 22 12.462 22c4.243 0 7.896-2.526 9.538-6.156Z"}));n.displayName="Moon01";const i=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M12 2v2m0 16v2M4 12H2m4.314-5.686L4.9 4.9m12.786 1.414L19.1 4.9M6.314 17.69 4.9 19.104m12.786-1.414 1.414 1.414M22 12h-2m-3 0a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"}));i.displayName="Sun";export{n as a,i as n};
|
package/dist/client/assets/{SwitchHorizontal01-B1MoYKPo.js → SwitchHorizontal01-Dsf5zpNu.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BJ9m9LNK.js";const a=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M8.4 3H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 3.76 3 4.04 3 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 10 4.04 10 4.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 9.24 10 8.96 10 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 3 8.96 3 8.4 3Zm11 0h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 3.76 14 4.04 14 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 10 15.04 10 15.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 9.24 21 8.96 21 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 3 19.96 3 19.4 3Zm0 11h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 14.76 14 15.04 14 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 21 15.04 21 15.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 20.24 21 19.96 21 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 14 19.96 14 19.4 14Zm-11 0H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 14.76 3 15.04 3 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 20.24 10 19.96 10 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 14 8.96 14 8.4 14Z"}));a.displayName="Grid01";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M21 12H9m12-6H9m12 12H9m-4-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}));i.displayName="List";const n=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M5 21v-7m0-4V3m7 18v-9m0-4V3m7 18v-5m0-4V3M2 14h6m1-6h6m1 8h6"}));n.displayName="Sliders01";const c=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M20 17H4m0 0 4-4m-4 4 4 4M4 7h16m0 0-4-4m4 4-4 4"}));c.displayName="SwitchHorizontal01";export{n as a,c as b,a as c,i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BJ9m9LNK.js";const r=({size:e=24,color:a="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M16 10H3m17-4H3m17 8H3m13 4H3"}));r.displayName="AlignLeft";const i=({size:e=24,color:a="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M2.876 18.116c.046-.414.069-.62.131-.814a2 2 0 0 1 .234-.485c.111-.17.259-.317.553-.61L17 3a2.828 2.828 0 1 1 4 4L7.794 20.206c-.294.294-.442.442-.611.553a2 2 0 0 1-.485.233c-.193.063-.4.086-.814.132L2.5 21.5l.376-3.384Z"}));i.displayName="Edit01";const n=({size:e=24,color:a="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M10.743 5.092C11.149 5.032 11.569 5 12 5c5.105 0 8.455 4.505 9.58 6.287.137.215.205.323.243.49a1.16 1.16 0 0 1 0 .447c-.038.166-.107.274-.244.492-.3.474-.757 1.141-1.363 1.865M6.724 6.715c-2.162 1.467-3.63 3.504-4.303 4.57-.137.217-.205.325-.243.492a1.173 1.173 0 0 0 0 .446c.038.167.106.274.242.49C3.546 14.495 6.895 19 12 19c2.059 0 3.832-.732 5.289-1.723M3 3l18 18M9.88 9.879a3 3 0 1 0 4.243 4.243"}));n.displayName="EyeOff";const c=({size:e=24,color:a="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M12.5 3H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 5.28 3 6.12 3 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21H17c.93 0 1.395 0 1.776-.102a3 3 0 0 0 2.122-2.122C21 18.395 21 17.93 21 17m-2-9V2m-3 3h6M10.5 8.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4.49 3.418-8.459 7.69c-.476.433-.714.649-.735.836a.5.5 0 0 0 .167.431C6.105 21 6.426 21 7.07 21h9.387c1.44 0 2.159 0 2.724-.242a3 3 0 0 0 1.578-1.578c.242-.565.242-1.285.242-2.724 0-.484 0-.726-.053-.952a2.001 2.001 0 0 0-.374-.778c-.143-.182-.332-.333-.71-.636l-2.797-2.237c-.379-.303-.568-.454-.776-.508a1 1 0 0 0-.557.018c-.205.066-.384.23-.743.555Z"}));c.displayName="ImagePlus";const l=({size:e=24,color:a="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M2 10s2.005-2.732 3.634-4.362A9 9 0 1 1 12 21a9.004 9.004 0 0 1-8.648-6.5M2 10V4m0 6h6"}));l.displayName="RefreshCcw01";const s=({size:e=24,color:a="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"m9.395 19.371.585 1.315a2.212 2.212 0 0 0 4.044 0l.584-1.315a2.426 2.426 0 0 1 2.47-1.423l1.43.152a2.212 2.212 0 0 0 2.023-3.502l-.847-1.164a2.428 2.428 0 0 1-.46-1.434c0-.513.163-1.014.464-1.429l.847-1.163a2.211 2.211 0 0 0-2.022-3.502l-1.43.152a2.433 2.433 0 0 1-1.47-.312 2.426 2.426 0 0 1-1-1.117l-.589-1.315a2.212 2.212 0 0 0-4.044 0L9.395 4.63c-.207.468-.557.86-1 1.117-.445.256-.96.365-1.47.312l-1.434-.152a2.212 2.212 0 0 0-2.023 3.502l.847 1.163a2.43 2.43 0 0 1 0 2.858l-.847 1.163a2.21 2.21 0 0 0 .786 3.273c.382.195.811.274 1.237.23l1.43-.153a2.434 2.434 0 0 1 2.474 1.43Z"}),t.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}));s.displayName="Settings02";const d=({size:e=24,color:a="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"m6.5 13 .784 1.569c.266.53.399.796.576 1.026a3 3 0 0 0 .545.545c.23.177.495.31 1.026.575L11 17.5l-1.569.785c-.53.265-.796.398-1.026.575a3 3 0 0 0-.545.545c-.177.23-.31.495-.576 1.026L6.5 22l-.784-1.569c-.266-.53-.399-.796-.576-1.026a3 3 0 0 0-.545-.545c-.23-.177-.495-.31-1.026-.575L2 17.5l1.569-.785c.53-.265.796-.398 1.026-.575a3 3 0 0 0 .545-.545c.177-.23.31-.495.576-1.026L6.5 13ZM15 2l1.179 3.064c.282.734.423 1.1.642 1.409a3 3 0 0 0 .706.706c.309.22.675.36 1.409.642L22 9l-3.064 1.179c-.734.282-1.1.423-1.409.642a3 3 0 0 0-.706.706c-.22.309-.36.675-.642 1.409L15 16l-1.179-3.064c-.282-.734-.423-1.1-.642-1.409a3 3 0 0 0-.706-.706c-.309-.22-.675-.36-1.409-.642L8 9l3.064-1.179c.734-.282 1.1-.423 1.409-.642a3 3 0 0 0 .706-.706c.22-.309.36-.675.642-1.409L15 2Z"}));d.displayName="Stars01";const h=({size:e=24,color:a="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M15.631 7.631c-.396-.396-.594-.594-.668-.822a1 1 0 0 1 0-.618c.074-.228.272-.426.668-.822L18.47 2.53a6 6 0 0 0-8.3 6.895c.12.49.179.734.168.888a.849.849 0 0 1-.11.392c-.07.138-.207.274-.48.547L3.5 17.5a2.121 2.121 0 0 0 3 3l6.248-6.248c.273-.273.41-.41.547-.48a.849.849 0 0 1 .392-.11c.154-.011.399.049.888.168a6 6 0 0 0 6.895-8.3l-2.84 2.84c-.396.396-.594.594-.822.668a1 1 0 0 1-.618 0c-.228-.074-.426-.272-.822-.668l-.738-.738Z"}));h.displayName="Tool01";export{s as a,i as b,r as c,h as d,c as e,n as i,l as s,d as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M16 6v-.8c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C14.48 2 13.92 2 12.8 2h-1.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C8 3.52 8 4.08 8 5.2V6m2 5.5v5m4-5v5M3 6h18m-2 0v11.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C16.72 22 15.88 22 14.2 22H9.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C5 19.72 5 18.88 5 17.2V6"}));a.displayName="Trash01";export{a as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-7-5-5m0 0L7 8m5-5v12"}));i.displayName="Upload01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M15.938 15.938A7.001 7.001 0 0 0 15 2a7.001 7.001 0 0 0-6.938 6.062M16 15a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"}));i.displayName="Coins01";const a=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M12 3v18M7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3Z"}));a.displayName="Columns02";const n=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666Z"}));n.displayName="Cube01";const c=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M14 11H8m2 4H8m8-8H8m12 3.5V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 2 16.88 2 15.2 2H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.28 4 5.12 4 6.8v10.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 22 7.12 22 8.8 22h2.7M22 22l-1.5-1.5m1-2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z"}));c.displayName="FileSearch02";const s=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M15 18a3 3 0 1 0 6 0 3 3 0 0 0-6 0Zm0 0a9 9 0 0 1-9-9m0 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0 0v12"}));s.displayName="GitMerge";const l=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M3 9h18M9 9v12M7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3Z"}));l.displayName="LayoutAlt01";const d=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M19 10v2a7 7 0 0 1-7 7m-7-9v2a7 7 0 0 0 7 7m0 0v3m-4 0h8m-4-7a3 3 0 0 1-3-3V5a3 3 0 1 1 6 0v7a3 3 0 0 1-3 3Z"}));d.displayName="Microphone01";const h=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M16 4v16m0-16h2m-2 0h-5.5a4.5 4.5 0 0 0 0 9H16V4Zm-2 16h4"}));h.displayName="Pilcrow01";const m=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"m21 21-3.5-3.5m2.5-6a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Z"}));m.displayName="SearchLg";const u=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M4.5 22v-5m0-10V2M2 4.5h5m-5 15h5M13 3l-1.734 4.509c-.282.733-.423 1.1-.643 1.408a3 3 0 0 1-.706.707c-.308.219-.675.36-1.408.642L4 12l4.509 1.734c.733.282 1.1.423 1.408.643.273.194.512.433.707.706.219.308.36.675.642 1.408L13 21l1.734-4.509c.282-.733.423-1.1.643-1.408.194-.273.433-.512.706-.707.308-.219.675-.36 1.408-.642L22 12l-4.509-1.734c-.733-.282-1.1-.423-1.408-.642a3 3 0 0 1-.706-.707c-.22-.308-.36-.675-.643-1.408L13 3Z"}));u.displayName="Stars02";const k=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"m4 17 6-6-6-6m8 14h8"}));k.displayName="Terminal";const p=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M4 21.817C4.603 22 5.416 22 6.8 22h10.4c1.384 0 2.197 0 2.8-.183m-16 0a2.18 2.18 0 0 1-.362-.144 3 3 0 0 1-1.311-1.311C2 19.72 2 18.88 2 17.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C4.28 2 5.12 2 6.8 2h10.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C22 4.28 22 5.12 22 6.8v10.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311 2.18 2.18 0 0 1-.362.144m-16 0c0-.809.005-1.237.077-1.597a4 4 0 0 1 3.143-3.143C7.606 17 8.07 17 9 17h6c.93 0 1.394 0 1.78.077a4 4 0 0 1 3.143 3.143c.072.36.077.788.077 1.597M16 9.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z"}));p.displayName="UserSquare";export{l as a,c as b,k as c,h as d,n as e,i as f,s as g,d as h,m as i,p as j,a as n,u as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M22 21v-2a4.002 4.002 0 0 0-3-3.874M15.5 3.291a4.001 4.001 0 0 1 0 7.418M17 21c0-1.864 0-2.796-.305-3.53a4 4 0 0 0-2.164-2.165C13.796 15 12.864 15 11 15H8c-1.864 0-2.796 0-3.53.305a4 4 0 0 0-2.166 2.164C2 18.204 2 19.136 2 21M13.5 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z"}));a.displayName="Users01";export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 6 6 18M6 6l12 12"}));i.displayName="XClose";export{i as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-BJ9m9LNK.js";const i=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M18.57 20a2.286 2.286 0 0 0 2.287-2.286v-4.571L22 12l-1.143-1.143V6.286A2.285 2.285 0 0 0 18.57 4M5.429 4a2.285 2.285 0 0 0-2.286 2.286v4.571L2 12l1.143 1.143v4.571A2.285 2.285 0 0 0 5.429 20"}));i.displayName="Brackets";const n=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-5-5 5m0 0-5-5m5 5V3"}));n.displayName="Download01";const a=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M14 11H8m2 4H8m8-8H8m12-.2v10.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 22 16.88 22 15.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C6.28 2 7.12 2 8.8 2h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C20 4.28 20 5.12 20 6.8Z"}));a.displayName="File02";const c=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M14 2.27V6.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437c.214.11.494.11 1.054.11h4.13M14 17.5l2.5-2.5-2.5-2.5m-4 0L7.5 15l2.5 2.5m10-7.512V17.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 22 16.88 22 15.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C6.28 2 7.12 2 8.8 2h3.212c.733 0 1.1 0 1.446.083.306.073.598.195.867.36.303.185.562.444 1.08.963l3.19 3.188c.518.519.777.778.963 1.081a3 3 0 0 1 .36.867c.082.346.082.712.082 1.446Z"}));c.displayName="FileCode01";const s=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666ZM16.5 9.5l-9-5"}));s.displayName="Package";const l=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M13 2 4.093 12.688c-.348.418-.523.628-.525.804a.5.5 0 0 0 .185.397c.138.111.41.111.955.111H12l-1 8 8.907-10.688c.348-.418.523-.628.525-.804a.5.5 0 0 0-.185-.397c-.138-.111-.41-.111-.955-.111H12l1-8Z"}));l.displayName="Zap";const d=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"m21 21-4.35-4.35M11 8v6m-3-3h6m5 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z"}));d.displayName="ZoomIn";const h=({size:e=24,color:o="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"m21 21-4.35-4.35M8 11h6m5 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z"}));h.displayName="ZoomOut";export{s as a,a as b,c,d,h as e,l as i,n,i as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,j as r,b2 as f,i as x}from"./index-
|
|
1
|
+
import{c as m,j as r,b2 as f,i as x}from"./index-BJ9m9LNK.js";import{C as p}from"./capability-load-error-BoUVRT1s.js";function d(a){const e=m.c(6),{granted:n,loading:l,error:c,area:o,children:i}=a;if(l){let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=r.jsx(f,{}),e[0]=t):t=e[0],t}if(c){let t;return e[1]===Symbol.for("react.memo_cache_sentinel")?(t=r.jsx(p,{}),e[1]=t):t=e[1],t}if(!n){let t;return e[2]!==o?(t=r.jsx(x,{area:o}),e[2]=o,e[3]=t):t=e[3],t}let s;return e[4]!==i?(s=r.jsx(r.Fragment,{children:i}),e[4]=i,e[5]=s):s=e[5],s}export{d as A};
|
package/dist/client/assets/{add-connection-dialog-CEj8kbGq.js → add-connection-dialog-BXhPQM8W.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as Xe,a4 as Ke,a as Ze,a3 as dn,aJ as un,aI as pn,j as e,I as G,B as Q,D as en,v as nn,w as tn,x as on,aY as mn,y as gn,t as K,c as hn,r as ue,ax as xn,az as fn,R as jn,K as an,l as vn,h as we,C as A,ai as Ye,q as Cn,d as Dn,g3 as yn}from"./index-C4tYnNih.js";import{C as _n}from"./collection-search-Cf4li4kg.js";import{g as Nn,a as bn,e as wn}from"./extract-connection-data-DwkOg2rJ.js";import{u as sn,g as Sn,C as Oe}from"./connection-card-DEMVrMsW.js";import{D as kn,a as In,d as Tn,b as An,e as Pn,f as Mn,g as Fn}from"./drawer-GssD8cb3.js";import{u as Ln}from"./use-mobile-BADuLdb7.js";import{F as B,b as O,c as z,d as E,f as $,a as Ge}from"./form-CKF06Eu0.js";import{S as Vn,b as Bn,a as On,d as zn,c as ge}from"./select-BZ2tKCpr.js";import{T as En}from"./textarea-CAZh8Kr5.js";import{b as cn}from"./use-connection-CBlLT-Gl.js";import{n as Se}from"./LinkBroken01-XqJUgSE7.js";import{v as ze,aX as Ee}from"./agent-icon-KvVT3fA8.js";import{c as $n}from"./UserSquare-DwNuAluZ.js";import{s as Hn}from"./XClose-BBReaSBA.js";import{c as Un}from"./schema-DIZqRcY2.js";import{i as Ne,a as Qe,E as Rn,p as Xn,b as Kn,c as qn}from"./connection-form-helpers-DCRY9s0M.js";import{a as $e}from"./authenticate-and-persist-oauth-BziZaG_M.js";import{g as Wn}from"./connection-slug-CITJ0kGN.js";import{C as Yn}from"./collection-tabs-x8ccQUAC.js";import{u as Je}from"./use-infinite-scroll-WEv8wBk9.js";import{g as ke,a as Gn}from"./metadata-D72DunRR.js";import{B as be}from"./badge-Ckz5LqgP.js";import{c as He,T as Ue,a as Re}from"./tooltip-B1eS9Khq.js";import{u as Qn}from"./useSuspenseInfiniteQuery-Diw12fEI.js";import{u as Jn}from"./use-mcp-client-BkBWhGyj.js";import{s as Zn}from"./Plus-CcJNnBya.js";function et({open:l,onOpenChange:n,onCreated:J}){const i=Xe(),{org:f}=Ke(),{data:h}=Ze.useSession(),{stdioEnabled:H}=dn(),U=Ln(),P=cn(),b=sn("").items,a=un({resolver:pn(Un),defaultValues:{title:"",description:null,icon:null,ui_type:"HTTP",connection_url:"",connection_token:null,npx_package:"",stdio_command:"",stdio_args:"",stdio_cwd:"",env_vars:[]}}),p=a.watch("ui_type"),w=a.watch("connection_url"),R=a.watch("npx_package"),r=Ne({uiType:p,connectionUrl:w??"",npxPackage:R??""})??Qe({uiType:p,connectionUrl:w??"",registryItems:b}),j=t=>{const d=t.trim();if(!d)return;const g=!!a.formState.dirtyFields.title,N=!!a.formState.dirtyFields.description,L=!!a.formState.dirtyFields.env_vars,k=c=>{if(c&&(!g&&!a.getValues("title").trim()&&c.title&&a.setValue("title",c.title,{shouldDirty:!1}),!N&&!(a.getValues("description")??"").trim()&&c.description&&a.setValue("description",c.description,{shouldDirty:!1}),!L&&c.envVarKeys?.length)){const y=a.getValues("env_vars")??[],ee=new Set(y.map(m=>m.key)),_=c.envVarKeys.filter(m=>!ee.has(m));_.length>0&&a.setValue("env_vars",[...y,..._.map(m=>({key:m,value:""}))],{shouldDirty:!0})}},s=Xn(d);if(s&&H){a.setValue("ui_type","NPX",{shouldDirty:!0}),a.setValue("npx_package",s.packageName,{shouldDirty:!0}),a.setValue("connection_url","",{shouldDirty:!0}),a.setValue("connection_token",null,{shouldDirty:!0}),k(Ne({uiType:"NPX",npxPackage:s.packageName}));return}if(d.startsWith("http://")||d.startsWith("https://")){const c=p==="HTTP"||p==="SSE"||p==="Websocket"?p:"HTTP";a.setValue("ui_type",c,{shouldDirty:!0}),a.setValue("connection_url",d,{shouldDirty:!0}),k(Ne({uiType:c,connectionUrl:d})??Qe({uiType:c,connectionUrl:d,registryItems:b}));return}p==="NPX"&&k(Ne({uiType:"NPX",npxPackage:d}))},S=t=>{t||a.reset(),n(t)},Z=async t=>{let d,g=null,N=null,L=null;t.ui_type==="NPX"?(d="STDIO",g="",L=Kn(t.npx_package||"",t.env_vars||[])):t.ui_type==="STDIO"?(d="STDIO",g="",L=qn(t.stdio_command||"",t.stdio_args||"",t.stdio_cwd,t.env_vars||[])):(d=t.ui_type,g=t.connection_url||"",N=t.connection_token||null);const k=Nn("conn");try{await P.create.mutateAsync({id:k,title:t.title,description:t.description||null,connection_type:d,connection_url:g,connection_token:N,created_at:new Date().toISOString(),updated_at:new Date().toISOString(),created_by:h?.user?.id||"system",organization_id:f.id,icon:t.icon??null,app_name:null,app_id:null,connection_headers:L,oauth_config:null,configuration_state:null,metadata:null,tools:null,bindings:null}),a.reset(),n(!1),J?.(k)}catch{K.error(i("connections.createConnectionDialog.failedToCreateConnection"))}},x=i("connections.createConnectionDialog.title"),M=i("connections.createConnectionDialog.description"),D=a.formState.isSubmitting?i("connections.createConnectionDialog.saving"):i("connections.createConnectionDialog.createButton"),v=e.jsxs("div",{className:"grid gap-4",children:[e.jsx(B,{control:a.control,name:"ui_type",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.typeLabel")}),e.jsxs(Vn,{value:t.value,onValueChange:t.onChange,children:[e.jsx(E,{children:e.jsx(Bn,{children:e.jsx(On,{})})}),e.jsxs(zn,{children:[e.jsx(ge,{value:"HTTP",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(ze,{className:"w-4 h-4"}),i("connections.createConnectionDialog.httpType")]})}),e.jsx(ge,{value:"SSE",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(ze,{className:"w-4 h-4"}),i("connections.createConnectionDialog.sseType")]})}),e.jsx(ge,{value:"Websocket",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(ze,{className:"w-4 h-4"}),i("connections.createConnectionDialog.websocketType")]})}),H&&e.jsxs(e.Fragment,{children:[e.jsx(ge,{value:"NPX",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(Se,{className:"w-4 h-4"}),i("connections.createConnectionDialog.npxPackageType")]})}),e.jsx(ge,{value:"STDIO",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx($n,{className:"w-4 h-4"}),i("connections.createConnectionDialog.customCommandType")]})})]})]})]}),e.jsx($,{})]})}),p==="NPX"&&e.jsx(B,{control:a.control,name:"npx_package",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.npmPackageLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.npmPackagePlaceholder"),...t,value:t.value??"",onPaste:d=>{const g=d.clipboardData.getData("text");g&&(d.preventDefault(),a.setValue("npx_package",g.trim(),{shouldDirty:!0}),j(g))},onBlur:d=>{j(d.target.value),t.onBlur()}})}),e.jsx($,{})]})}),p==="STDIO"&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4 items-start",children:[e.jsx(B,{control:a.control,name:"stdio_command",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.commandLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.commandPlaceholder"),...t,value:t.value??""})}),e.jsx($,{})]})}),e.jsx(B,{control:a.control,name:"stdio_args",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.argumentsLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.argumentsPlaceholder"),...t,value:t.value??""})}),e.jsx($,{})]})})]}),e.jsx(B,{control:a.control,name:"stdio_cwd",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.workingDirectoryLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.workingDirectoryPlaceholder"),...t,value:t.value??""})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:i("connections.createConnectionDialog.workingDirectoryDescription")}),e.jsx($,{})]})})]}),(p==="NPX"||p==="STDIO")&&e.jsx(B,{control:a.control,name:"env_vars",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.environmentVariablesLabel")}),e.jsx(E,{children:e.jsx(Rn,{value:t.value??[],onChange:t.onChange})}),e.jsx($,{})]})}),p!=="NPX"&&p!=="STDIO"&&e.jsxs(e.Fragment,{children:[e.jsx(B,{control:a.control,name:"connection_url",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.urlLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.urlPlaceholder"),...t,value:t.value??"",onPaste:d=>{const g=d.clipboardData.getData("text");g&&(d.preventDefault(),a.setValue("connection_url",g.trim(),{shouldDirty:!0}),j(g))},onBlur:d=>{j(d.target.value),t.onBlur()}})}),e.jsx($,{})]})}),e.jsx(B,{control:a.control,name:"connection_token",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:r?.token?.label??i("connections.createConnectionDialog.tokenLabelDefault")}),e.jsx(E,{children:e.jsx(G,{type:"password",placeholder:r?.token?.placeholder??i("connections.createConnectionDialog.tokenPlaceholderDefault"),className:"ph-no-capture",...t,value:t.value??""})}),r?.token?.helperText&&e.jsxs("p",{className:"text-xs text-muted-foreground",children:[r.token.helperText,r.id==="github"&&e.jsxs(e.Fragment,{children:[" ","·"," ",e.jsx("a",{className:"text-foreground underline underline-offset-4 hover:text-foreground/80",href:"https://github.com/settings/personal-access-tokens",target:"_blank",rel:"noreferrer",children:i("connections.createConnectionDialog.openGitHubPatSettings")})]})]}),e.jsx($,{})]})})]}),e.jsx(B,{control:a.control,name:"title",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.nameLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.namePlaceholder"),...t})}),e.jsx($,{})]})}),e.jsx(B,{control:a.control,name:"description",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.descriptionLabel")}),e.jsx(E,{children:e.jsx(En,{placeholder:i("connections.createConnectionDialog.descriptionPlaceholder"),rows:3,...t,value:t.value??""})}),e.jsx($,{})]})})]});return U?e.jsx(kn,{open:l,onOpenChange:S,children:e.jsxs(In,{className:"max-h-[90vh]",children:[e.jsx(Tn,{className:"pb-2",children:e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex-1 text-left",children:[e.jsx(An,{children:x}),e.jsx(Pn,{className:"mt-1",children:M})]}),e.jsx(Mn,{asChild:!0,children:e.jsx(Q,{variant:"ghost",size:"icon",className:"shrink-0 -mt-1","aria-label":i("connections.createConnectionDialog.closeButton"),children:e.jsx(Hn,{size:16})})})]})}),e.jsx(Ge,{...a,children:e.jsxs("form",{onSubmit:a.handleSubmit(Z),children:[e.jsx("div",{className:"overflow-y-auto px-4 pb-4",children:v}),e.jsx(Fn,{children:e.jsx(Q,{type:"submit",disabled:a.formState.isSubmitting,className:"w-full",children:D})})]})})]})}):e.jsx(en,{open:l,onOpenChange:S,children:e.jsxs(nn,{className:"sm:max-w-[525px]",children:[e.jsxs(tn,{children:[e.jsx(on,{children:x}),e.jsx(mn,{children:M})]}),e.jsx(Ge,{...a,children:e.jsxs("form",{onSubmit:a.handleSubmit(Z),children:[e.jsx("div",{className:"py-4",children:v}),e.jsxs(gn,{children:[e.jsx(Q,{type:"button",variant:"outline",onClick:()=>S(!1),children:i("connections.createConnectionDialog.cancelButton")}),e.jsx(Q,{type:"submit",disabled:a.formState.isSubmitting,className:"min-w-40",children:D})]})]})})]})})}function nt(l){const n=hn.c(71),{mode:J,agentId:i,addedConnectionIds:f,onAdd:h,onCloneAndAdd:H,onConnectAndAdd:U,connectingItemId:P,search:C,onCreateConnection:b,onBrowseNavigate:a,defaultTab:p}=l,w=J===void 0?"add":J,R=p===void 0?"connected":p,r=Xe(),{org:j}=Ke(),S=ue.useDeferredValue(C),Z=C!==S;let x;n[0]!==S?(x=S.trim().toLowerCase(),n[0]=S,n[1]=x):x=n[1];const M=x;let D;n[2]!==R?(D=o=>o??R,n[2]=R,n[3]=D):D=n[3];const[v,t]=xn(fn.connectionsTab(j.slug)+(R==="all"?":home-modal":":agent-modal"),D);let d;n[4]!==v||n[5]!==t?(d=o=>{o!==v&&A("connections_dialog_tab_changed",{to_tab:o}),t(o)},n[4]=v,n[5]=t,n[6]=d):d=n[6];const g=d;let N;n[7]!==j.id||n[8]!==j.slug?(N={connectionId:jn,orgId:j.id,orgSlug:j.slug},n[7]=j.id,n[8]=j.slug,n[9]=N):N=n[9];const L=Jn(N),k=S?.trim().split(/\s+/).filter(Boolean)??[],s=k.length>0?{operator:"or",conditions:k.flatMap(lt)}:void 0,c={...s&&{where:s},orderBy:[{field:["updated_at"],direction:"asc"}],limit:100,offset:0},y=JSON.stringify(c),{data:ee,fetchNextPage:_,hasNextPage:m,isFetchingNextPage:I}=Qn({queryKey:an.collectionListInfinite(L,j.id,"","CONNECTIONS",y),queryFn:async o=>{const{pageParam:u}=o,X=u===void 0?0:u;return(await L.callTool({name:"COLLECTION_CONNECTIONS_LIST",arguments:{...s&&{where:s},orderBy:[{field:["updated_at"],direction:"asc"}],limit:100,offset:X}})).structuredContent},initialPageParam:0,getNextPageParam:ct,staleTime:3e4}),he=ee?.pages.flatMap(st)??[],xe=Sn(he),rn=new Set(he.filter(it).map(at)),q=sn(S),Ie=Je(q.loadMore,q.hasMore,q.isLoadingMore),Te=Je(_,m??!1,I),F=v==="all"||!!M,qe=F?q.items.filter(o=>{const u=bn(o);if(u&&rn.has(u))return!1;if(!M)return!0;const X=ke(o._meta),W=[o.title,o.description,o.name,o.server?.title,o.server?.description,o.server?.name,X?.friendly_name,X?.friendlyName].filter(Boolean).join(" ").toLowerCase();return k.some(V=>W.includes(V.toLowerCase()))}):[],pe=qe.filter(ot),me=qe.filter(tt);let fe;n[10]!==f?(fe=o=>o.some(u=>f.has(u.id)),n[10]=f,n[11]=fe):fe=n[11];const Ae=fe;let je;n[12]!==f||n[13]!==i||n[14]!==P||n[15]!==Ae||n[16]!==w||n[17]!==h||n[18]!==a||n[19]!==H||n[20]!==r?(je=(o,u,X,W,V)=>{const _e=Ae(V),de=V.find(Y=>!f.has(Y.id)),T=V[0];if(w==="browse"){const Y=Wn(T);return e.jsx(Oe,{connection:{title:u,icon:X,description:V.length>1?`${V.length} instances`:W??void 0},fallbackIcon:e.jsx(Se,{}),headerActionsAlwaysVisible:!0,headerActions:e.jsxs(be,{variant:"secondary",className:"gap-1 font-normal",children:[e.jsx(Ye,{size:11})," ",r("virtualMcp.connectionDialogContent.connected")]}),onClick:()=>{A("connection_browse_clicked",{app_name:T.app_name??null,connection_id:T.id,instances_count:V.length}),a?.(Y)}},o)}return e.jsx(Oe,{connection:{title:u,icon:X,description:W},fallbackIcon:e.jsx(Se,{}),headerActionsAlwaysVisible:!0,headerActions:e.jsxs("div",{className:"flex items-center gap-1.5",children:[_e&&e.jsxs(be,{variant:"secondary",className:"gap-1 font-normal",children:[e.jsx(Ye,{size:11})," ",r("virtualMcp.connectionDialogContent.added")]}),e.jsx(Q,{variant:"outline",size:"sm",disabled:P!==null,onClick:Y=>{Y.stopPropagation(),de?(A("connection_add_clicked",{action:"use_existing",app_name:T.app_name??null,connection_id:de.id}),i&&A("agent_connection_attached",{agent_id:i,connection_id:de.id,app_name:T.app_name??null,mode:"existing"}),h(de.id)):(A("connection_add_clicked",{action:"clone",app_name:T.app_name??null,base_connection_id:T.id}),H(T))},children:r("virtualMcp.connectionDialogContent.add")})]})},o)},n[12]=f,n[13]=i,n[14]=P,n[15]=Ae,n[16]=w,n[17]=h,n[18]=a,n[19]=H,n[20]=r,n[21]=je):je=n[21];const ve=je;let Ce;n[22]!==P||n[23]!==w||n[24]!==U||n[25]!==r?(Ce=o=>{const u=ke(o._meta),X=u?.friendlyName||u?.friendly_name||o.server?.title||o.title||o.server?.name||o.name||o.id||"",W=o.server?.description||o.description||null,V=o.server?.icons?.[0]?.src||Gn(o.server?.repository)||null,_e=u?.official===!0,de=u?.verified===!0,T=u?.owner==="deco";return e.jsx(Oe,{connection:{title:X,description:W,icon:V},fallbackIcon:e.jsx(Se,{}),headerActionsAlwaysVisible:!0,headerActions:e.jsxs("div",{className:"flex items-center gap-1.5",children:[T&&e.jsxs(He,{children:[e.jsx(Ue,{asChild:!0,children:e.jsx("span",{className:"inline-flex items-center justify-center size-5 rounded-md bg-muted shrink-0",children:e.jsx("img",{src:"/logos/deco logo.svg",alt:r("virtualMcp.connectionDialogContent.madeByDeco"),className:"size-3"})})}),e.jsx(Re,{children:r("virtualMcp.connectionDialogContent.builtByDeco")})]}),!T&&_e&&e.jsxs(He,{children:[e.jsx(Ue,{asChild:!0,children:e.jsx(be,{variant:"outline",size:"icon",children:e.jsx(Ee,{})})}),e.jsx(Re,{children:r("virtualMcp.connectionDialogContent.builtByOfficial")})]}),!T&&!_e&&de&&e.jsxs(He,{children:[e.jsx(Ue,{asChild:!0,children:e.jsx(be,{variant:"outline",size:"icon",children:e.jsx(Ee,{})})}),e.jsx(Re,{children:r("virtualMcp.connectionDialogContent.verifiedByDeco")})]}),e.jsx(Q,{variant:"outline",size:"sm",disabled:P!==null,onClick:Y=>{Y.stopPropagation(),A("connection_add_clicked",{action:"connect_new",registry_item_id:o.id,app_name:u?.friendlyName||o.server?.name||o.name||null}),U(o)},children:P===o.id?e.jsx(we,{className:"size-3.5"}):r(w==="browse"?"virtualMcp.connectionDialogContent.connect":"virtualMcp.connectionDialogContent.add")})]})},`catalog-${o.id}`)},n[22]=P,n[23]=w,n[24]=U,n[25]=r,n[26]=Ce):Ce=n[26];const We=Ce;let ne;n[27]!==v||n[28]!==g||n[29]!==b||n[30]!==M||n[31]!==r?(ne=!M&&e.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-b border-border shrink-0",children:[e.jsx(Yn,{tabs:[{id:"all",label:r("virtualMcp.connectionDialogContent.tabAll")},{id:"connected",label:r("virtualMcp.connectionDialogContent.tabConnected")}],activeTab:v,onTabChange:o=>g(o)}),e.jsxs(Q,{variant:"outline",size:"sm",onClick:()=>{A("connections_dialog_custom_clicked"),b()},children:[e.jsx(Zn,{size:12}),r("virtualMcp.connectionDialogContent.customConnection")]})]}),n[27]=v,n[28]=g,n[29]=b,n[30]=M,n[31]=r,n[32]=ne):ne=n[32];const Pe=Z&&"opacity-50 pointer-events-none";let te;n[33]!==Pe?(te=vn("flex-1 overflow-auto p-5 transition-opacity duration-150",Pe),n[33]=Pe,n[34]=te):te=n[34];const ln="grid grid-cols-[repeat(auto-fill,minmax(260px,1fr))] gap-4";let De;n[35]!==ve?(De=o=>{if(o.type==="group")return ve(o.key,o.title,o.icon,null,o.connections);const u=o.connection;return ve(u.id,u.title,u.icon,u.description??null,[u])},n[35]=ve,n[36]=De):De=n[36];const Me=xe.map(De);let oe;n[37]!==Te?(oe=e.jsx("div",{ref:Te,className:"col-span-full h-1"}),n[37]=Te,n[38]=oe):oe=n[38];let ae;n[39]!==I?(ae=I&&e.jsx("div",{className:"col-span-full flex justify-center py-6",children:e.jsx(we,{className:"size-6 text-muted-foreground"})}),n[39]=I,n[40]=ae):ae=n[40];const Fe=F&&pe.length>0&&e.jsxs("div",{className:"col-span-full flex items-center gap-2 mt-2",children:[e.jsx(Ee,{size:13,className:"text-muted-foreground shrink-0"}),e.jsx("span",{className:"text-sm font-medium text-muted-foreground whitespace-nowrap",children:r("virtualMcp.connectionDialogContent.sectionVerified")}),e.jsx("div",{className:"flex-1 h-px bg-border"})]}),Le=F&&pe.map(We),Ve=F&&me.length>0&&e.jsxs("div",{className:"col-span-full flex items-center gap-2 mt-2",children:[e.jsx("span",{className:"text-sm font-medium text-muted-foreground whitespace-nowrap",children:r("virtualMcp.connectionDialogContent.sectionAllConnections")}),e.jsx("div",{className:"flex-1 h-px bg-border"})]}),Be=F&&me.map(We);let ie;n[41]!==Ie||n[42]!==F?(ie=F&&e.jsx("div",{ref:Ie,className:"col-span-full h-1"}),n[41]=Ie,n[42]=F,n[43]=ie):ie=n[43];let se;n[44]!==q.isLoadingMore||n[45]!==F?(se=F&&q.isLoadingMore&&e.jsx("div",{className:"col-span-full flex justify-center py-6",children:e.jsx(we,{className:"size-6 text-muted-foreground"})}),n[44]=q.isLoadingMore,n[45]=F,n[46]=se):se=n[46];let ce;n[47]!==Me||n[48]!==oe||n[49]!==ae||n[50]!==Fe||n[51]!==Le||n[52]!==Ve||n[53]!==Be||n[54]!==ie||n[55]!==se?(ce=e.jsxs("div",{className:ln,children:[Me,oe,ae,Fe,Le,Ve,Be,ie,se]}),n[47]=Me,n[48]=oe,n[49]=ae,n[50]=Fe,n[51]=Le,n[52]=Ve,n[53]=Be,n[54]=ie,n[55]=se,n[56]=ce):ce=n[56];let re;n[57]!==v||n[58]!==xe.length||n[59]!==me||n[60]!==C||n[61]!==r||n[62]!==pe?(re=xe.length===0&&pe.length===0&&me.length===0&&e.jsx("div",{className:"flex items-center justify-center h-48 text-sm text-muted-foreground",children:C?r("virtualMcp.connectionDialogContent.emptyStateSearchNoMatch",{search:C}):r(v==="connected"?"virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable")}),n[57]=v,n[58]=xe.length,n[59]=me,n[60]=C,n[61]=r,n[62]=pe,n[63]=re):re=n[63];let le;n[64]!==te||n[65]!==ce||n[66]!==re?(le=e.jsxs("div",{className:te,children:[ce,re]}),n[64]=te,n[65]=ce,n[66]=re,n[67]=le):le=n[67];let ye;return n[68]!==ne||n[69]!==le?(ye=e.jsxs(e.Fragment,{children:[ne,le]}),n[68]=ne,n[69]=le,n[70]=ye):ye=n[70],ye}function tt(l){return!l.verified&&!ke(l._meta)?.verified&&!l.meta?.verified}function ot(l){return l.verified||ke(l._meta)?.verified||l.meta?.verified}function at(l){return l.app_name}function it(l){return l.app_name}function st(l){return l?.items??[]}function ct(l,n){if(l?.hasMore)return n.reduce(rt,0)}function rt(l,n){return l+(n?.items?.length??0)}function lt(l){return[{field:["title"],operator:"contains",value:l},{field:["description"],operator:"contains",value:l}]}function Vt({open:l,onOpenChange:n,defaultTab:J,initialSearch:i="",...f}){const h=Xe(),H=f.mode??"add",U="agentId"in f?f.agentId:void 0,P="addedConnectionIds"in f?f.addedConnectionIds??new Set:new Set,C="onAdd"in f&&f.onAdd?f.onAdd:s=>{},b=(s,c,y)=>{U&&A("agent_connection_attached",{agent_id:U,connection_id:s,app_name:c,mode:y})},[a,p]=ue.useState(null),[w,R]=ue.useState(i),[r,j]=ue.useState(!1),[S,Z]=ue.useState(l);l!==S&&(Z(l),l&&R(i));const{org:x}=Ke(),{data:M}=Ze.useSession(),D=cn(),v=Cn(),t=Dn(),d=s=>{n(!1),t({to:"/$org/settings/connections/$appSlug",params:{org:x.slug,appSlug:s}})},g=()=>{yn(v,x.id)},N=async(s,c)=>{A("connection_oauth_succeeded",{connection_id:s,flow:c});const y=new URL(`/api/${x.slug}/mcp/${s}`,window.location.origin);await v.invalidateQueries({queryKey:an.isMCPAuthenticated(y.href,null)}),g()},L=async s=>{p(s.app_name??s.id);try{const y=`${s.title.replace(/\s*\(\d+\)\s*$/,"")} (${Date.now().toString(36).slice(-4)})`,_=(await D.create.mutateAsync({title:y,description:s.description??null,connection_type:s.connection_type,connection_url:s.connection_url??null,connection_token:null,icon:s.icon??null,app_name:s.app_name??null,app_id:s.app_id??null,connection_headers:s.connection_headers??null})).id,m=await $e({connectionId:_,orgId:x.id,orgSlug:x.slug,persistFallback:I=>D.update.mutateAsync({id:_,data:{connection_token:I}}).then(()=>{})});if(m.ran&&!m.ok){A("connection_oauth_failed",{connection_id:_,flow:"clone",error:m.error??"no_token"}),K.error(h("virtualMcp.addConnectionDialog.authenticationFailedError",{error:m.error??"no token received"})),await D.delete.mutateAsync(_);return}m.ran&&await N(_,"clone"),b(_,s.app_name??null,"clone"),C(_)}catch(c){console.error("Failed to add connection:",c),K.error(h("virtualMcp.addConnectionDialog.failedToAddConnection"))}finally{p(null)}},k=async s=>{if(!(!x||!M?.user?.id)){p(s.id);try{const c=wn(s,x.id,M.user.id,{remoteIndex:0}),y=c.connection_type==="STDIO",ee=!!c.connection_url,_=y&&c.connection_headers&&typeof c.connection_headers=="object"&&"command"in c.connection_headers;if(!ee&&!_){K.error(h("virtualMcp.addConnectionDialog.mcpServerConnectionError")),p(null);return}const{id:m}=await D.create.mutateAsync(c),I=await $e({connectionId:m,orgId:x.id,orgSlug:x.slug,persistFallback:he=>D.update.mutateAsync({id:m,data:{connection_token:he}}).then(()=>{})});if(I.ran&&!I.ok){A("connection_oauth_failed",{connection_id:m,flow:"connect_new",error:I.error??"no_token"}),K.warning(h("virtualMcp.addConnectionDialog.signInFailedTitle"),{description:h("virtualMcp.addConnectionDialog.signInFailedDescription",{error:I.error??"no token received"})}),b(m,c.app_name??null,"new"),C(m);return}I.ran?(await N(m,"connect_new"),K.success(h("virtualMcp.addConnectionDialog.connectedAuthenticated"))):K.success(h("virtualMcp.addConnectionDialog.connected")),b(m,c.app_name??null,"new"),C(m)}catch(c){console.error("Failed to connect:",c),K.error(h("virtualMcp.addConnectionDialog.failedToConnect"))}finally{p(null)}}};return e.jsxs(en,{open:l,onOpenChange:n,children:[e.jsxs(nn,{className:"sm:max-w-5xl h-[85vh] max-h-[85vh] flex flex-col p-0 gap-0 overflow-hidden w-[95vw]",children:[e.jsx(tn,{className:"px-6 pt-5 pb-0 shrink-0",children:e.jsx(on,{className:"text-base font-semibold",children:h(H==="browse"?"virtualMcp.addConnectionDialog.connectionsTitle":"virtualMcp.addConnectionDialog.addConnectionTitle")})}),e.jsx("div",{className:"pt-3 shrink-0",children:e.jsx(_n,{value:w,onChange:R,placeholder:h("virtualMcp.addConnectionDialog.searchConnectionsPlaceholder")})}),e.jsx(ue.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(we,{className:"size-6 text-muted-foreground"})}),children:e.jsx(nt,{mode:H,agentId:U,addedConnectionIds:P,onAdd:C,onCloneAndAdd:L,onConnectAndAdd:k,connectingItemId:a,search:w,onCreateConnection:()=>j(!0),onBrowseNavigate:d,defaultTab:J})})]}),e.jsx(et,{open:r,onOpenChange:j,onCreated:async s=>{j(!1);const c=await $e({connectionId:s,orgId:x.id,orgSlug:x.slug,persistFallback:y=>D.update.mutateAsync({id:s,data:{connection_token:y}}).then(()=>{})});if(c.ran&&!c.ok){A("connection_oauth_failed",{connection_id:s,flow:"custom_create",error:c.error??"no_token"}),K.warning(h("virtualMcp.addConnectionDialog.signInFailedTitle"),{description:h("virtualMcp.addConnectionDialog.signInFailedDescription",{error:c.error??"no token received"})}),b(s,null,"custom"),C(s),n(!1);return}c.ran&&await N(s,"custom_create"),b(s,null,"custom"),C(s),n(!1)}})]})}export{Vt as A};
|
|
1
|
+
import{b as Xe,a4 as Ke,a as Ze,a3 as dn,aJ as un,aI as pn,j as e,I as G,B as Q,D as en,v as nn,w as tn,x as on,aY as mn,y as gn,t as K,c as hn,r as ue,ax as xn,az as fn,R as jn,K as an,l as vn,h as we,C as A,ai as Ye,q as Cn,d as Dn,g3 as yn}from"./index-BJ9m9LNK.js";import{C as _n}from"./collection-search-BT_p6pKF.js";import{g as Nn,a as bn,e as wn}from"./extract-connection-data-CF7y2wEt.js";import{u as sn,g as Sn,C as Oe}from"./connection-card-CYaVyCqL.js";import{D as kn,a as In,d as Tn,b as An,e as Pn,f as Mn,g as Fn}from"./drawer-CtTfZzW7.js";import{u as Ln}from"./use-mobile-CMu6UtqS.js";import{F as B,b as O,c as z,d as E,f as $,a as Ge}from"./form-DrzlJwQH.js";import{S as Vn,b as Bn,a as On,d as zn,c as ge}from"./select-BwZ3fxwy.js";import{T as En}from"./textarea-B-cDk_e9.js";import{b as cn}from"./use-connection-SBf1IMNR.js";import{n as Se}from"./LinkBroken01-Be879sLY.js";import{v as ze,aX as Ee}from"./agent-icon-CTGtlw1z.js";import{c as $n}from"./UserSquare-Csbu2VpZ.js";import{s as Hn}from"./XClose-CGLyFs-P.js";import{c as Un}from"./schema-HyTKqr-p.js";import{i as Ne,a as Qe,E as Rn,p as Xn,b as Kn,c as qn}from"./connection-form-helpers-D-t8mb0f.js";import{a as $e}from"./authenticate-and-persist-oauth-CIjqyOtu.js";import{g as Wn}from"./connection-slug-CITJ0kGN.js";import{C as Yn}from"./collection-tabs-D6nWmqmK.js";import{u as Je}from"./use-infinite-scroll-BIzBYJCu.js";import{g as ke,a as Gn}from"./metadata-D72DunRR.js";import{B as be}from"./badge-Cd6N93gT.js";import{c as He,T as Ue,a as Re}from"./tooltip-BP50pkvP.js";import{u as Qn}from"./useSuspenseInfiniteQuery-jjzI6K-a.js";import{u as Jn}from"./use-mcp-client-Do4_ndrI.js";import{s as Zn}from"./Plus-feGO5xhL.js";function et({open:l,onOpenChange:n,onCreated:J}){const i=Xe(),{org:f}=Ke(),{data:h}=Ze.useSession(),{stdioEnabled:H}=dn(),U=Ln(),P=cn(),b=sn("").items,a=un({resolver:pn(Un),defaultValues:{title:"",description:null,icon:null,ui_type:"HTTP",connection_url:"",connection_token:null,npx_package:"",stdio_command:"",stdio_args:"",stdio_cwd:"",env_vars:[]}}),p=a.watch("ui_type"),w=a.watch("connection_url"),R=a.watch("npx_package"),r=Ne({uiType:p,connectionUrl:w??"",npxPackage:R??""})??Qe({uiType:p,connectionUrl:w??"",registryItems:b}),j=t=>{const d=t.trim();if(!d)return;const g=!!a.formState.dirtyFields.title,N=!!a.formState.dirtyFields.description,L=!!a.formState.dirtyFields.env_vars,k=c=>{if(c&&(!g&&!a.getValues("title").trim()&&c.title&&a.setValue("title",c.title,{shouldDirty:!1}),!N&&!(a.getValues("description")??"").trim()&&c.description&&a.setValue("description",c.description,{shouldDirty:!1}),!L&&c.envVarKeys?.length)){const y=a.getValues("env_vars")??[],ee=new Set(y.map(m=>m.key)),_=c.envVarKeys.filter(m=>!ee.has(m));_.length>0&&a.setValue("env_vars",[...y,..._.map(m=>({key:m,value:""}))],{shouldDirty:!0})}},s=Xn(d);if(s&&H){a.setValue("ui_type","NPX",{shouldDirty:!0}),a.setValue("npx_package",s.packageName,{shouldDirty:!0}),a.setValue("connection_url","",{shouldDirty:!0}),a.setValue("connection_token",null,{shouldDirty:!0}),k(Ne({uiType:"NPX",npxPackage:s.packageName}));return}if(d.startsWith("http://")||d.startsWith("https://")){const c=p==="HTTP"||p==="SSE"||p==="Websocket"?p:"HTTP";a.setValue("ui_type",c,{shouldDirty:!0}),a.setValue("connection_url",d,{shouldDirty:!0}),k(Ne({uiType:c,connectionUrl:d})??Qe({uiType:c,connectionUrl:d,registryItems:b}));return}p==="NPX"&&k(Ne({uiType:"NPX",npxPackage:d}))},S=t=>{t||a.reset(),n(t)},Z=async t=>{let d,g=null,N=null,L=null;t.ui_type==="NPX"?(d="STDIO",g="",L=Kn(t.npx_package||"",t.env_vars||[])):t.ui_type==="STDIO"?(d="STDIO",g="",L=qn(t.stdio_command||"",t.stdio_args||"",t.stdio_cwd,t.env_vars||[])):(d=t.ui_type,g=t.connection_url||"",N=t.connection_token||null);const k=Nn("conn");try{await P.create.mutateAsync({id:k,title:t.title,description:t.description||null,connection_type:d,connection_url:g,connection_token:N,created_at:new Date().toISOString(),updated_at:new Date().toISOString(),created_by:h?.user?.id||"system",organization_id:f.id,icon:t.icon??null,app_name:null,app_id:null,connection_headers:L,oauth_config:null,configuration_state:null,metadata:null,tools:null,bindings:null}),a.reset(),n(!1),J?.(k)}catch{K.error(i("connections.createConnectionDialog.failedToCreateConnection"))}},x=i("connections.createConnectionDialog.title"),M=i("connections.createConnectionDialog.description"),D=a.formState.isSubmitting?i("connections.createConnectionDialog.saving"):i("connections.createConnectionDialog.createButton"),v=e.jsxs("div",{className:"grid gap-4",children:[e.jsx(B,{control:a.control,name:"ui_type",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.typeLabel")}),e.jsxs(Vn,{value:t.value,onValueChange:t.onChange,children:[e.jsx(E,{children:e.jsx(Bn,{children:e.jsx(On,{})})}),e.jsxs(zn,{children:[e.jsx(ge,{value:"HTTP",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(ze,{className:"w-4 h-4"}),i("connections.createConnectionDialog.httpType")]})}),e.jsx(ge,{value:"SSE",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(ze,{className:"w-4 h-4"}),i("connections.createConnectionDialog.sseType")]})}),e.jsx(ge,{value:"Websocket",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(ze,{className:"w-4 h-4"}),i("connections.createConnectionDialog.websocketType")]})}),H&&e.jsxs(e.Fragment,{children:[e.jsx(ge,{value:"NPX",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(Se,{className:"w-4 h-4"}),i("connections.createConnectionDialog.npxPackageType")]})}),e.jsx(ge,{value:"STDIO",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx($n,{className:"w-4 h-4"}),i("connections.createConnectionDialog.customCommandType")]})})]})]})]}),e.jsx($,{})]})}),p==="NPX"&&e.jsx(B,{control:a.control,name:"npx_package",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.npmPackageLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.npmPackagePlaceholder"),...t,value:t.value??"",onPaste:d=>{const g=d.clipboardData.getData("text");g&&(d.preventDefault(),a.setValue("npx_package",g.trim(),{shouldDirty:!0}),j(g))},onBlur:d=>{j(d.target.value),t.onBlur()}})}),e.jsx($,{})]})}),p==="STDIO"&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4 items-start",children:[e.jsx(B,{control:a.control,name:"stdio_command",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.commandLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.commandPlaceholder"),...t,value:t.value??""})}),e.jsx($,{})]})}),e.jsx(B,{control:a.control,name:"stdio_args",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.argumentsLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.argumentsPlaceholder"),...t,value:t.value??""})}),e.jsx($,{})]})})]}),e.jsx(B,{control:a.control,name:"stdio_cwd",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.workingDirectoryLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.workingDirectoryPlaceholder"),...t,value:t.value??""})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:i("connections.createConnectionDialog.workingDirectoryDescription")}),e.jsx($,{})]})})]}),(p==="NPX"||p==="STDIO")&&e.jsx(B,{control:a.control,name:"env_vars",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.environmentVariablesLabel")}),e.jsx(E,{children:e.jsx(Rn,{value:t.value??[],onChange:t.onChange})}),e.jsx($,{})]})}),p!=="NPX"&&p!=="STDIO"&&e.jsxs(e.Fragment,{children:[e.jsx(B,{control:a.control,name:"connection_url",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.urlLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.urlPlaceholder"),...t,value:t.value??"",onPaste:d=>{const g=d.clipboardData.getData("text");g&&(d.preventDefault(),a.setValue("connection_url",g.trim(),{shouldDirty:!0}),j(g))},onBlur:d=>{j(d.target.value),t.onBlur()}})}),e.jsx($,{})]})}),e.jsx(B,{control:a.control,name:"connection_token",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:r?.token?.label??i("connections.createConnectionDialog.tokenLabelDefault")}),e.jsx(E,{children:e.jsx(G,{type:"password",placeholder:r?.token?.placeholder??i("connections.createConnectionDialog.tokenPlaceholderDefault"),className:"ph-no-capture",...t,value:t.value??""})}),r?.token?.helperText&&e.jsxs("p",{className:"text-xs text-muted-foreground",children:[r.token.helperText,r.id==="github"&&e.jsxs(e.Fragment,{children:[" ","·"," ",e.jsx("a",{className:"text-foreground underline underline-offset-4 hover:text-foreground/80",href:"https://github.com/settings/personal-access-tokens",target:"_blank",rel:"noreferrer",children:i("connections.createConnectionDialog.openGitHubPatSettings")})]})]}),e.jsx($,{})]})})]}),e.jsx(B,{control:a.control,name:"title",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.nameLabel")}),e.jsx(E,{children:e.jsx(G,{placeholder:i("connections.createConnectionDialog.namePlaceholder"),...t})}),e.jsx($,{})]})}),e.jsx(B,{control:a.control,name:"description",render:({field:t})=>e.jsxs(O,{children:[e.jsx(z,{children:i("connections.createConnectionDialog.descriptionLabel")}),e.jsx(E,{children:e.jsx(En,{placeholder:i("connections.createConnectionDialog.descriptionPlaceholder"),rows:3,...t,value:t.value??""})}),e.jsx($,{})]})})]});return U?e.jsx(kn,{open:l,onOpenChange:S,children:e.jsxs(In,{className:"max-h-[90vh]",children:[e.jsx(Tn,{className:"pb-2",children:e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex-1 text-left",children:[e.jsx(An,{children:x}),e.jsx(Pn,{className:"mt-1",children:M})]}),e.jsx(Mn,{asChild:!0,children:e.jsx(Q,{variant:"ghost",size:"icon",className:"shrink-0 -mt-1","aria-label":i("connections.createConnectionDialog.closeButton"),children:e.jsx(Hn,{size:16})})})]})}),e.jsx(Ge,{...a,children:e.jsxs("form",{onSubmit:a.handleSubmit(Z),children:[e.jsx("div",{className:"overflow-y-auto px-4 pb-4",children:v}),e.jsx(Fn,{children:e.jsx(Q,{type:"submit",disabled:a.formState.isSubmitting,className:"w-full",children:D})})]})})]})}):e.jsx(en,{open:l,onOpenChange:S,children:e.jsxs(nn,{className:"sm:max-w-[525px]",children:[e.jsxs(tn,{children:[e.jsx(on,{children:x}),e.jsx(mn,{children:M})]}),e.jsx(Ge,{...a,children:e.jsxs("form",{onSubmit:a.handleSubmit(Z),children:[e.jsx("div",{className:"py-4",children:v}),e.jsxs(gn,{children:[e.jsx(Q,{type:"button",variant:"outline",onClick:()=>S(!1),children:i("connections.createConnectionDialog.cancelButton")}),e.jsx(Q,{type:"submit",disabled:a.formState.isSubmitting,className:"min-w-40",children:D})]})]})})]})})}function nt(l){const n=hn.c(71),{mode:J,agentId:i,addedConnectionIds:f,onAdd:h,onCloneAndAdd:H,onConnectAndAdd:U,connectingItemId:P,search:C,onCreateConnection:b,onBrowseNavigate:a,defaultTab:p}=l,w=J===void 0?"add":J,R=p===void 0?"connected":p,r=Xe(),{org:j}=Ke(),S=ue.useDeferredValue(C),Z=C!==S;let x;n[0]!==S?(x=S.trim().toLowerCase(),n[0]=S,n[1]=x):x=n[1];const M=x;let D;n[2]!==R?(D=o=>o??R,n[2]=R,n[3]=D):D=n[3];const[v,t]=xn(fn.connectionsTab(j.slug)+(R==="all"?":home-modal":":agent-modal"),D);let d;n[4]!==v||n[5]!==t?(d=o=>{o!==v&&A("connections_dialog_tab_changed",{to_tab:o}),t(o)},n[4]=v,n[5]=t,n[6]=d):d=n[6];const g=d;let N;n[7]!==j.id||n[8]!==j.slug?(N={connectionId:jn,orgId:j.id,orgSlug:j.slug},n[7]=j.id,n[8]=j.slug,n[9]=N):N=n[9];const L=Jn(N),k=S?.trim().split(/\s+/).filter(Boolean)??[],s=k.length>0?{operator:"or",conditions:k.flatMap(lt)}:void 0,c={...s&&{where:s},orderBy:[{field:["updated_at"],direction:"asc"}],limit:100,offset:0},y=JSON.stringify(c),{data:ee,fetchNextPage:_,hasNextPage:m,isFetchingNextPage:I}=Qn({queryKey:an.collectionListInfinite(L,j.id,"","CONNECTIONS",y),queryFn:async o=>{const{pageParam:u}=o,X=u===void 0?0:u;return(await L.callTool({name:"COLLECTION_CONNECTIONS_LIST",arguments:{...s&&{where:s},orderBy:[{field:["updated_at"],direction:"asc"}],limit:100,offset:X}})).structuredContent},initialPageParam:0,getNextPageParam:ct,staleTime:3e4}),he=ee?.pages.flatMap(st)??[],xe=Sn(he),rn=new Set(he.filter(it).map(at)),q=sn(S),Ie=Je(q.loadMore,q.hasMore,q.isLoadingMore),Te=Je(_,m??!1,I),F=v==="all"||!!M,qe=F?q.items.filter(o=>{const u=bn(o);if(u&&rn.has(u))return!1;if(!M)return!0;const X=ke(o._meta),W=[o.title,o.description,o.name,o.server?.title,o.server?.description,o.server?.name,X?.friendly_name,X?.friendlyName].filter(Boolean).join(" ").toLowerCase();return k.some(V=>W.includes(V.toLowerCase()))}):[],pe=qe.filter(ot),me=qe.filter(tt);let fe;n[10]!==f?(fe=o=>o.some(u=>f.has(u.id)),n[10]=f,n[11]=fe):fe=n[11];const Ae=fe;let je;n[12]!==f||n[13]!==i||n[14]!==P||n[15]!==Ae||n[16]!==w||n[17]!==h||n[18]!==a||n[19]!==H||n[20]!==r?(je=(o,u,X,W,V)=>{const _e=Ae(V),de=V.find(Y=>!f.has(Y.id)),T=V[0];if(w==="browse"){const Y=Wn(T);return e.jsx(Oe,{connection:{title:u,icon:X,description:V.length>1?`${V.length} instances`:W??void 0},fallbackIcon:e.jsx(Se,{}),headerActionsAlwaysVisible:!0,headerActions:e.jsxs(be,{variant:"secondary",className:"gap-1 font-normal",children:[e.jsx(Ye,{size:11})," ",r("virtualMcp.connectionDialogContent.connected")]}),onClick:()=>{A("connection_browse_clicked",{app_name:T.app_name??null,connection_id:T.id,instances_count:V.length}),a?.(Y)}},o)}return e.jsx(Oe,{connection:{title:u,icon:X,description:W},fallbackIcon:e.jsx(Se,{}),headerActionsAlwaysVisible:!0,headerActions:e.jsxs("div",{className:"flex items-center gap-1.5",children:[_e&&e.jsxs(be,{variant:"secondary",className:"gap-1 font-normal",children:[e.jsx(Ye,{size:11})," ",r("virtualMcp.connectionDialogContent.added")]}),e.jsx(Q,{variant:"outline",size:"sm",disabled:P!==null,onClick:Y=>{Y.stopPropagation(),de?(A("connection_add_clicked",{action:"use_existing",app_name:T.app_name??null,connection_id:de.id}),i&&A("agent_connection_attached",{agent_id:i,connection_id:de.id,app_name:T.app_name??null,mode:"existing"}),h(de.id)):(A("connection_add_clicked",{action:"clone",app_name:T.app_name??null,base_connection_id:T.id}),H(T))},children:r("virtualMcp.connectionDialogContent.add")})]})},o)},n[12]=f,n[13]=i,n[14]=P,n[15]=Ae,n[16]=w,n[17]=h,n[18]=a,n[19]=H,n[20]=r,n[21]=je):je=n[21];const ve=je;let Ce;n[22]!==P||n[23]!==w||n[24]!==U||n[25]!==r?(Ce=o=>{const u=ke(o._meta),X=u?.friendlyName||u?.friendly_name||o.server?.title||o.title||o.server?.name||o.name||o.id||"",W=o.server?.description||o.description||null,V=o.server?.icons?.[0]?.src||Gn(o.server?.repository)||null,_e=u?.official===!0,de=u?.verified===!0,T=u?.owner==="deco";return e.jsx(Oe,{connection:{title:X,description:W,icon:V},fallbackIcon:e.jsx(Se,{}),headerActionsAlwaysVisible:!0,headerActions:e.jsxs("div",{className:"flex items-center gap-1.5",children:[T&&e.jsxs(He,{children:[e.jsx(Ue,{asChild:!0,children:e.jsx("span",{className:"inline-flex items-center justify-center size-5 rounded-md bg-muted shrink-0",children:e.jsx("img",{src:"/logos/deco logo.svg",alt:r("virtualMcp.connectionDialogContent.madeByDeco"),className:"size-3"})})}),e.jsx(Re,{children:r("virtualMcp.connectionDialogContent.builtByDeco")})]}),!T&&_e&&e.jsxs(He,{children:[e.jsx(Ue,{asChild:!0,children:e.jsx(be,{variant:"outline",size:"icon",children:e.jsx(Ee,{})})}),e.jsx(Re,{children:r("virtualMcp.connectionDialogContent.builtByOfficial")})]}),!T&&!_e&&de&&e.jsxs(He,{children:[e.jsx(Ue,{asChild:!0,children:e.jsx(be,{variant:"outline",size:"icon",children:e.jsx(Ee,{})})}),e.jsx(Re,{children:r("virtualMcp.connectionDialogContent.verifiedByDeco")})]}),e.jsx(Q,{variant:"outline",size:"sm",disabled:P!==null,onClick:Y=>{Y.stopPropagation(),A("connection_add_clicked",{action:"connect_new",registry_item_id:o.id,app_name:u?.friendlyName||o.server?.name||o.name||null}),U(o)},children:P===o.id?e.jsx(we,{className:"size-3.5"}):r(w==="browse"?"virtualMcp.connectionDialogContent.connect":"virtualMcp.connectionDialogContent.add")})]})},`catalog-${o.id}`)},n[22]=P,n[23]=w,n[24]=U,n[25]=r,n[26]=Ce):Ce=n[26];const We=Ce;let ne;n[27]!==v||n[28]!==g||n[29]!==b||n[30]!==M||n[31]!==r?(ne=!M&&e.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-b border-border shrink-0",children:[e.jsx(Yn,{tabs:[{id:"all",label:r("virtualMcp.connectionDialogContent.tabAll")},{id:"connected",label:r("virtualMcp.connectionDialogContent.tabConnected")}],activeTab:v,onTabChange:o=>g(o)}),e.jsxs(Q,{variant:"outline",size:"sm",onClick:()=>{A("connections_dialog_custom_clicked"),b()},children:[e.jsx(Zn,{size:12}),r("virtualMcp.connectionDialogContent.customConnection")]})]}),n[27]=v,n[28]=g,n[29]=b,n[30]=M,n[31]=r,n[32]=ne):ne=n[32];const Pe=Z&&"opacity-50 pointer-events-none";let te;n[33]!==Pe?(te=vn("flex-1 overflow-auto p-5 transition-opacity duration-150",Pe),n[33]=Pe,n[34]=te):te=n[34];const ln="grid grid-cols-[repeat(auto-fill,minmax(260px,1fr))] gap-4";let De;n[35]!==ve?(De=o=>{if(o.type==="group")return ve(o.key,o.title,o.icon,null,o.connections);const u=o.connection;return ve(u.id,u.title,u.icon,u.description??null,[u])},n[35]=ve,n[36]=De):De=n[36];const Me=xe.map(De);let oe;n[37]!==Te?(oe=e.jsx("div",{ref:Te,className:"col-span-full h-1"}),n[37]=Te,n[38]=oe):oe=n[38];let ae;n[39]!==I?(ae=I&&e.jsx("div",{className:"col-span-full flex justify-center py-6",children:e.jsx(we,{className:"size-6 text-muted-foreground"})}),n[39]=I,n[40]=ae):ae=n[40];const Fe=F&&pe.length>0&&e.jsxs("div",{className:"col-span-full flex items-center gap-2 mt-2",children:[e.jsx(Ee,{size:13,className:"text-muted-foreground shrink-0"}),e.jsx("span",{className:"text-sm font-medium text-muted-foreground whitespace-nowrap",children:r("virtualMcp.connectionDialogContent.sectionVerified")}),e.jsx("div",{className:"flex-1 h-px bg-border"})]}),Le=F&&pe.map(We),Ve=F&&me.length>0&&e.jsxs("div",{className:"col-span-full flex items-center gap-2 mt-2",children:[e.jsx("span",{className:"text-sm font-medium text-muted-foreground whitespace-nowrap",children:r("virtualMcp.connectionDialogContent.sectionAllConnections")}),e.jsx("div",{className:"flex-1 h-px bg-border"})]}),Be=F&&me.map(We);let ie;n[41]!==Ie||n[42]!==F?(ie=F&&e.jsx("div",{ref:Ie,className:"col-span-full h-1"}),n[41]=Ie,n[42]=F,n[43]=ie):ie=n[43];let se;n[44]!==q.isLoadingMore||n[45]!==F?(se=F&&q.isLoadingMore&&e.jsx("div",{className:"col-span-full flex justify-center py-6",children:e.jsx(we,{className:"size-6 text-muted-foreground"})}),n[44]=q.isLoadingMore,n[45]=F,n[46]=se):se=n[46];let ce;n[47]!==Me||n[48]!==oe||n[49]!==ae||n[50]!==Fe||n[51]!==Le||n[52]!==Ve||n[53]!==Be||n[54]!==ie||n[55]!==se?(ce=e.jsxs("div",{className:ln,children:[Me,oe,ae,Fe,Le,Ve,Be,ie,se]}),n[47]=Me,n[48]=oe,n[49]=ae,n[50]=Fe,n[51]=Le,n[52]=Ve,n[53]=Be,n[54]=ie,n[55]=se,n[56]=ce):ce=n[56];let re;n[57]!==v||n[58]!==xe.length||n[59]!==me||n[60]!==C||n[61]!==r||n[62]!==pe?(re=xe.length===0&&pe.length===0&&me.length===0&&e.jsx("div",{className:"flex items-center justify-center h-48 text-sm text-muted-foreground",children:C?r("virtualMcp.connectionDialogContent.emptyStateSearchNoMatch",{search:C}):r(v==="connected"?"virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable")}),n[57]=v,n[58]=xe.length,n[59]=me,n[60]=C,n[61]=r,n[62]=pe,n[63]=re):re=n[63];let le;n[64]!==te||n[65]!==ce||n[66]!==re?(le=e.jsxs("div",{className:te,children:[ce,re]}),n[64]=te,n[65]=ce,n[66]=re,n[67]=le):le=n[67];let ye;return n[68]!==ne||n[69]!==le?(ye=e.jsxs(e.Fragment,{children:[ne,le]}),n[68]=ne,n[69]=le,n[70]=ye):ye=n[70],ye}function tt(l){return!l.verified&&!ke(l._meta)?.verified&&!l.meta?.verified}function ot(l){return l.verified||ke(l._meta)?.verified||l.meta?.verified}function at(l){return l.app_name}function it(l){return l.app_name}function st(l){return l?.items??[]}function ct(l,n){if(l?.hasMore)return n.reduce(rt,0)}function rt(l,n){return l+(n?.items?.length??0)}function lt(l){return[{field:["title"],operator:"contains",value:l},{field:["description"],operator:"contains",value:l}]}function Vt({open:l,onOpenChange:n,defaultTab:J,initialSearch:i="",...f}){const h=Xe(),H=f.mode??"add",U="agentId"in f?f.agentId:void 0,P="addedConnectionIds"in f?f.addedConnectionIds??new Set:new Set,C="onAdd"in f&&f.onAdd?f.onAdd:s=>{},b=(s,c,y)=>{U&&A("agent_connection_attached",{agent_id:U,connection_id:s,app_name:c,mode:y})},[a,p]=ue.useState(null),[w,R]=ue.useState(i),[r,j]=ue.useState(!1),[S,Z]=ue.useState(l);l!==S&&(Z(l),l&&R(i));const{org:x}=Ke(),{data:M}=Ze.useSession(),D=cn(),v=Cn(),t=Dn(),d=s=>{n(!1),t({to:"/$org/settings/connections/$appSlug",params:{org:x.slug,appSlug:s}})},g=()=>{yn(v,x.id)},N=async(s,c)=>{A("connection_oauth_succeeded",{connection_id:s,flow:c});const y=new URL(`/api/${x.slug}/mcp/${s}`,window.location.origin);await v.invalidateQueries({queryKey:an.isMCPAuthenticated(y.href,null)}),g()},L=async s=>{p(s.app_name??s.id);try{const y=`${s.title.replace(/\s*\(\d+\)\s*$/,"")} (${Date.now().toString(36).slice(-4)})`,_=(await D.create.mutateAsync({title:y,description:s.description??null,connection_type:s.connection_type,connection_url:s.connection_url??null,connection_token:null,icon:s.icon??null,app_name:s.app_name??null,app_id:s.app_id??null,connection_headers:s.connection_headers??null})).id,m=await $e({connectionId:_,orgId:x.id,orgSlug:x.slug,persistFallback:I=>D.update.mutateAsync({id:_,data:{connection_token:I}}).then(()=>{})});if(m.ran&&!m.ok){A("connection_oauth_failed",{connection_id:_,flow:"clone",error:m.error??"no_token"}),K.error(h("virtualMcp.addConnectionDialog.authenticationFailedError",{error:m.error??"no token received"})),await D.delete.mutateAsync(_);return}m.ran&&await N(_,"clone"),b(_,s.app_name??null,"clone"),C(_)}catch(c){console.error("Failed to add connection:",c),K.error(h("virtualMcp.addConnectionDialog.failedToAddConnection"))}finally{p(null)}},k=async s=>{if(!(!x||!M?.user?.id)){p(s.id);try{const c=wn(s,x.id,M.user.id,{remoteIndex:0}),y=c.connection_type==="STDIO",ee=!!c.connection_url,_=y&&c.connection_headers&&typeof c.connection_headers=="object"&&"command"in c.connection_headers;if(!ee&&!_){K.error(h("virtualMcp.addConnectionDialog.mcpServerConnectionError")),p(null);return}const{id:m}=await D.create.mutateAsync(c),I=await $e({connectionId:m,orgId:x.id,orgSlug:x.slug,persistFallback:he=>D.update.mutateAsync({id:m,data:{connection_token:he}}).then(()=>{})});if(I.ran&&!I.ok){A("connection_oauth_failed",{connection_id:m,flow:"connect_new",error:I.error??"no_token"}),K.warning(h("virtualMcp.addConnectionDialog.signInFailedTitle"),{description:h("virtualMcp.addConnectionDialog.signInFailedDescription",{error:I.error??"no token received"})}),b(m,c.app_name??null,"new"),C(m);return}I.ran?(await N(m,"connect_new"),K.success(h("virtualMcp.addConnectionDialog.connectedAuthenticated"))):K.success(h("virtualMcp.addConnectionDialog.connected")),b(m,c.app_name??null,"new"),C(m)}catch(c){console.error("Failed to connect:",c),K.error(h("virtualMcp.addConnectionDialog.failedToConnect"))}finally{p(null)}}};return e.jsxs(en,{open:l,onOpenChange:n,children:[e.jsxs(nn,{className:"sm:max-w-5xl h-[85vh] max-h-[85vh] flex flex-col p-0 gap-0 overflow-hidden w-[95vw]",children:[e.jsx(tn,{className:"px-6 pt-5 pb-0 shrink-0",children:e.jsx(on,{className:"text-base font-semibold",children:h(H==="browse"?"virtualMcp.addConnectionDialog.connectionsTitle":"virtualMcp.addConnectionDialog.addConnectionTitle")})}),e.jsx("div",{className:"pt-3 shrink-0",children:e.jsx(_n,{value:w,onChange:R,placeholder:h("virtualMcp.addConnectionDialog.searchConnectionsPlaceholder")})}),e.jsx(ue.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(we,{className:"size-6 text-muted-foreground"})}),children:e.jsx(nt,{mode:H,agentId:U,addedConnectionIds:P,onAdd:C,onCloneAndAdd:L,onConnectAndAdd:k,connectingItemId:a,search:w,onCreateConnection:()=>j(!0),onBrowseNavigate:d,defaultTab:J})})]}),e.jsx(et,{open:r,onOpenChange:j,onCreated:async s=>{j(!1);const c=await $e({connectionId:s,orgId:x.id,orgSlug:x.slug,persistFallback:y=>D.update.mutateAsync({id:s,data:{connection_token:y}}).then(()=>{})});if(c.ran&&!c.ok){A("connection_oauth_failed",{connection_id:s,flow:"custom_create",error:c.error??"no_token"}),K.warning(h("virtualMcp.addConnectionDialog.signInFailedTitle"),{description:h("virtualMcp.addConnectionDialog.signInFailedDescription",{error:c.error??"no token received"})}),b(s,null,"custom"),C(s),n(!1);return}c.ran&&await N(s,"custom_create"),b(s,null,"custom"),C(s),n(!1)}})]})}export{Vt as A};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as p,j as r}from"./index-BJ9m9LNK.js";import{C as s}from"./index-Cs2qsEhb.js";import{A as e}from"./analytics-tab-BmRbRV7j.js";import{S as n}from"./settings-tab-CA-W7UU2.js";import{e as a}from"./use-organization-settings-DMgbBKf8.js";import{b as c}from"./thread-route-Dp-aglxM.js";import"./use-mobile-CMu6UtqS.js";import"./use-sidebar-collapsed-CI6KBWLr.js";import"./use-chat-layout-state-Boq7M7MG.js";import"./use-panel-navigate-o6edpcRi.js";import"./use-project-scope-2Tdoer5a.js";import"./repository-binding-5kMOX4dj.js";import"./use-mcp-client-Do4_ndrI.js";import"./auth-Dfomi5JO.js";import"./thread-intent-DXpv35UG.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-BzTIkVFy.js";import"./task-board-DDJJrv54.js";import"./schema-Bp5lazAd.js";import"./slugify-CEUa2lfQ.js";import"./agent-icon-CTGtlw1z.js";import"./AlertCircle-CHPvy_VM.js";import"./Tool01-PlDxztWD.js";import"./ArrowUp-DhHGL7HY.js";import"./ArrowLeft-D_5CBumM.js";import"./LinkBroken01-Be879sLY.js";import"./ShoppingBag01-ZgB-qLs9.js";import"./ZoomOut-DTBYck8o.js";import"./Building02-Cs-fRF4C.js";import"./CheckCircle-DFdmK-T2.js";import"./ChevronUp-PedQ2gd6.js";import"./ChevronSelectorVertical-B7yaofOD.js";import"./UserSquare-Csbu2VpZ.js";import"./Copy01-B6cJ_ygs.js";import"./CreditCard01-bH_MgXhH.js";import"./DotsVertical-B50qkKfK.js";import"./Image01-D6z5fxVv.js";import"./Globe04-BvSQLcQH.js";import"./SwitchHorizontal01-Dsf5zpNu.js";import"./Key01-DIVY2Gpo.js";import"./Link01-D806UI0V.js";import"./Minus-DVOE0qZc.js";import"./Monitor01-CP0zz7rW.js";import"./Sun-DQ0xzUJx.js";import"./Play-DG-gbp_U.js";import"./Plus-feGO5xhL.js";import"./SearchMd-OqihyBBE.js";import"./Trash01-BqnutNRJ.js";import"./Upload01-CyyevXMg.js";import"./Users01-BSztUOd5.js";import"./XClose-CGLyFs-P.js";import"./tooltip-BP50pkvP.js";import"./index-Zaz397OF.js";import"./toolbar-icon-button-CsFCKDkl.js";import"./shell-layout-BmOtysoG.js";import"./use-clock-tick-C7RLnGnY.js";import"./command-CPzIRDl7.js";import"./index-CPP16Pqo.js";import"./integration-icon-gBiw8y2C.js";import"./project-icon-OmAeiXOI.js";import"./new-project-dialog-BIxGYry7.js";import"./label-BWO7BDzN.js";import"./repository-import-picker-Cf-mDDmo.js";import"./use-navigate-to-agent-BhR34hZR.js";import"./repository-picker-BN84wENn.js";import"./useInfiniteQuery-Cq3QQD7o.js";import"./infiniteQueryObserver-CM3ITLPo.js";import"./collection-search-BT_p6pKF.js";import"./use-debounced-value-Cf0I7A9v.js";import"./required-auth-layout-DojZ1KGX.js";import"./autosend-1kVbs2RQ.js";import"./use-org-sso-C2CyZRUp.js";import"./sheet-CFaQrFou.js";import"./resizable-DaKs1eh5.js";import"./badge-Cd6N93gT.js";import"./checkbox-vkygLbK1.js";import"./table-gy7RNGr-.js";import"./chart-DIxDpRCA.js";import"./index-DO1wPTie.js";import"./symbol-DHBzZbeR.js";import"./CategoricalChart-CiyWbCkx.js";import"./empty-state-BFtVVtPz.js";import"./site-slug-DebpOoQq.js";import"./AreaChart-DXZAxruT.js";import"./CartesianChart-B6XqwP69.js";import"./index-DT3sLrgG.js";import"./extract-connection-data-CF7y2wEt.js";import"./metadata-D72DunRR.js";import"./connection-BHsOzStk.js";import"./url-slug-D6AdbSqw.js";import"./chat-context-2letHrEJ.js";import"./use-decopilot-events-8w_hmlMJ.js";import"./use-ai-providers-BCXdfWt4.js";import"./location-V0VwTJTt.js";import"./build-improve-prompt-doc-BhOi567C.js";import"./empty-state-BpneGtoe.js";import"./use-date-fns-locale-MUGqYczL.js";import"./mcp-oauth-hbfUsWSk.js";import"./mcp-oauth-C_vXn_zS.js";import"./textarea-B-cDk_e9.js";import"./use-connection-SBf1IMNR.js";import"./use-debounced-autosave-C_xNyGJY.js";import"./add-connection-dialog-BXhPQM8W.js";import"./connection-card-CYaVyCqL.js";import"./connection-slug-CITJ0kGN.js";import"./drawer-CtTfZzW7.js";import"./form-DrzlJwQH.js";import"./select-BwZ3fxwy.js";import"./index-BdQq_4o_.js";import"./schema-HyTKqr-p.js";import"./connection-form-helpers-D-t8mb0f.js";import"./authenticate-and-persist-oauth-CIjqyOtu.js";import"./collection-tabs-D6nWmqmK.js";import"./use-infinite-scroll-BIzBYJCu.js";import"./useSuspenseInfiniteQuery-jjzI6K-a.js";import"./file-type-icon-CjiJpbk5.js";import"./use-org-fs-Bmjx4Cik.js";import"./search-input-N6CaOC_1.js";import"./use-mcp-auth-status-CNLX3LBK.js";import"./types-G5N7kkmB.js";import"./use-mcp-tools-D588moK7.js";import"./use-mcp-prompts-BtZywK26.js";import"./utils-CVEq3hMx.js";import"./switch-DAskixZA.js";import"./popover-C5Dt3qOY.js";import"./scroll-area-ButOmQch.js";import"./experiments-tab-choice-vFGVi3bn.js";import"./use-project-native-view-presence-CiNgXr_r.js";import"./match-site-slug-config-D3fUJ6vX.js";import"./use-file-configs-B-wH52y_.js";import"./optimistic-project-sidebar-views-CGrVGbzf.js";import"./sections-BM3hOdfC.js";import"./use-copy-Dgppamoo.js";import"./virtual-mcp-C5K9GZ-3.js";import"./sandbox-url-D3mC8qhT.js";import"./secret-picker-DbQaPqx6.js";import"./use-secrets-B4A-mk96.js";import"./omit-sandbox-map-jj4lCB2U.js";import"./app-preview-url-9Od4s8Sz.js";import"./serial-task-queue-CGOeQgpr.js";function l(){const t=p.c(3),o=c(),m=a();let i;return t[0]!==m.analytics||t[1]!==o?(i=m.analytics?r.jsx(e,{virtualMcpId:o}):r.jsx(n,{virtualMcpId:o}),t[0]=m.analytics,t[1]=o,t[2]=i):i=t[2],i}function No(){const t=p.c(1);let o;return t[0]===Symbol.for("react.memo_cache_sentinel")?(o=r.jsx(s.Content,{children:r.jsx(l,{})}),t[0]=o):o=t[0],o}export{No as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as d,j as a,a2 as g}from"./index-BJ9m9LNK.js";import{C as x}from"./index-Cs2qsEhb.js";import{a as h}from"./thread-route-Dp-aglxM.js";import{u as $}from"./use-task-metadata-DKj0uikU.js";import{AppViewContent as A}from"./project-app-view-Bg0IXTwt.js";import"./use-mobile-CMu6UtqS.js";import"./use-sidebar-collapsed-CI6KBWLr.js";import"./use-chat-layout-state-Boq7M7MG.js";import"./use-panel-navigate-o6edpcRi.js";import"./use-project-scope-2Tdoer5a.js";import"./repository-binding-5kMOX4dj.js";import"./use-mcp-client-Do4_ndrI.js";import"./auth-Dfomi5JO.js";import"./thread-intent-DXpv35UG.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-BzTIkVFy.js";import"./task-board-DDJJrv54.js";import"./schema-Bp5lazAd.js";import"./slugify-CEUa2lfQ.js";import"./agent-icon-CTGtlw1z.js";import"./AlertCircle-CHPvy_VM.js";import"./Tool01-PlDxztWD.js";import"./ArrowUp-DhHGL7HY.js";import"./ArrowLeft-D_5CBumM.js";import"./LinkBroken01-Be879sLY.js";import"./ShoppingBag01-ZgB-qLs9.js";import"./ZoomOut-DTBYck8o.js";import"./Building02-Cs-fRF4C.js";import"./CheckCircle-DFdmK-T2.js";import"./ChevronUp-PedQ2gd6.js";import"./ChevronSelectorVertical-B7yaofOD.js";import"./UserSquare-Csbu2VpZ.js";import"./Copy01-B6cJ_ygs.js";import"./CreditCard01-bH_MgXhH.js";import"./DotsVertical-B50qkKfK.js";import"./Image01-D6z5fxVv.js";import"./Globe04-BvSQLcQH.js";import"./SwitchHorizontal01-Dsf5zpNu.js";import"./Key01-DIVY2Gpo.js";import"./Link01-D806UI0V.js";import"./Minus-DVOE0qZc.js";import"./Monitor01-CP0zz7rW.js";import"./Sun-DQ0xzUJx.js";import"./Play-DG-gbp_U.js";import"./Plus-feGO5xhL.js";import"./SearchMd-OqihyBBE.js";import"./Trash01-BqnutNRJ.js";import"./Upload01-CyyevXMg.js";import"./Users01-BSztUOd5.js";import"./XClose-CGLyFs-P.js";import"./tooltip-BP50pkvP.js";import"./index-Zaz397OF.js";import"./toolbar-icon-button-CsFCKDkl.js";import"./shell-layout-BmOtysoG.js";import"./use-clock-tick-C7RLnGnY.js";import"./command-CPzIRDl7.js";import"./index-CPP16Pqo.js";import"./integration-icon-gBiw8y2C.js";import"./project-icon-OmAeiXOI.js";import"./new-project-dialog-BIxGYry7.js";import"./label-BWO7BDzN.js";import"./repository-import-picker-Cf-mDDmo.js";import"./use-navigate-to-agent-BhR34hZR.js";import"./repository-picker-BN84wENn.js";import"./useInfiniteQuery-Cq3QQD7o.js";import"./infiniteQueryObserver-CM3ITLPo.js";import"./collection-search-BT_p6pKF.js";import"./use-debounced-value-Cf0I7A9v.js";import"./use-organization-settings-DMgbBKf8.js";import"./required-auth-layout-DojZ1KGX.js";import"./autosend-1kVbs2RQ.js";import"./use-org-sso-C2CyZRUp.js";import"./sheet-CFaQrFou.js";import"./resizable-DaKs1eh5.js";import"./tool-namespace-BDVFYO2h.js";import"./use-mcp-tools-D588moK7.js";import"./content-blocks-o63cs2vh.js";import"./mcp-app-renderer-CxONPSoj.js";import"./types-G5N7kkmB.js";import"./chat-context-2letHrEJ.js";import"./use-decopilot-events-8w_hmlMJ.js";import"./use-ai-providers-BCXdfWt4.js";import"./location-V0VwTJTt.js";import"./task-route-BuxqCGZd.js";import"./task-key-BCHdFiOO.js";import"./core.esm-Bp5Q1Stg.js";import"./connect-source-dialog-Drua8oaC.js";import"./site-url-en5df9c-.js";import"./use-connect-companion-w3O3zQJZ.js";import"./companions-core-DzyeM-yJ.js";import"./metadata-D72DunRR.js";import"./github-repo-scope-ByTYKy_L.js";import"./form-DrzlJwQH.js";import"./icon-button-j3Ikexya.js";import"./provision-repo-scoped-github-connection-lckxpDHD.js";import"./useQueries-B2KTxxDE.js";import"./authenticate-and-persist-oauth-CIjqyOtu.js";import"./mcp-oauth-hbfUsWSk.js";import"./mcp-oauth-C_vXn_zS.js";import"./track-CDPTw9ZB.js";import"./extract-connection-data-CF7y2wEt.js";import"./connection-BHsOzStk.js";import"./url-slug-D6AdbSqw.js";const l=g("/shell/$org/org-shell/agent-shell/projects/$agentId/apps/$connectionId/$toolName");function j(){const t=d.c(10),{connectionId:o,toolName:r}=l.useParams(),{args:i}=l.useSearch(),u=h(),e=$(u);let p;t[0]!==o||t[1]!==e?.expanded_tools||t[2]!==r?(p=e?.expanded_tools?.find(c=>c.appId===o&&c.toolName===r),t[0]=o,t[1]=e?.expanded_tools,t[2]=r,t[3]=p):p=t[3];const f=p,s=`${o}:${r}`,n=f?.args;let m;return t[4]!==i||t[5]!==o||t[6]!==s||t[7]!==n||t[8]!==r?(m=a.jsx(A,{connectionId:o,toolName:r,args:n,searchArgs:i},s),t[4]=i,t[5]=o,t[6]=s,t[7]=n,t[8]=r,t[9]=m):m=t[9],m}function $o(){const t=d.c(1);let o;return t[0]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(x.Content,{children:a.jsx(j,{})}),t[0]=o):o=t[0],o}export{$o as default};
|