decocms 4.84.2 → 4.84.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/{AlertCircle-D-N2zo0t.js → AlertCircle-C5oYI4HJ.js} +1 -1
- package/dist/client/assets/{AreaChart-Dr8apG2o.js → AreaChart-h32jSrWe.js} +1 -1
- package/dist/client/assets/{ArrowUp-CbFM-kat.js → ArrowUp-DFJMdP7L.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-B3juowcn.js → ArrowUpRight-2vxY4Qdy.js} +1 -1
- package/dist/client/assets/{CheckCircle-COZrjV2D.js → CheckCircle-BpW-GNB-.js} +1 -1
- package/dist/client/assets/{ChevronDown-DB-nMQrk.js → ChevronDown-r-_rh5EY.js} +1 -1
- package/dist/client/assets/{ChevronRight-Bx5egFn0.js → ChevronRight-u7xgpYrW.js} +1 -1
- package/dist/client/assets/{ChevronUp-D80f0FTg.js → ChevronUp-Bw0ymM9W.js} +1 -1
- package/dist/client/assets/{Copy01-BqsecaGs.js → Copy01-hSZZYKG1.js} +1 -1
- package/dist/client/assets/{DotsVertical-C0wpBby-.js → DotsVertical-B0JjGCi3.js} +1 -1
- package/dist/client/assets/{Eye-BAfEF8fF.js → Eye-BaRLBEn3.js} +1 -1
- package/dist/client/assets/{FilterLines-B-9Tqd7m.js → FilterLines-C3sUXVMn.js} +1 -1
- package/dist/client/assets/{Globe01-DmADoGPI.js → Globe01-C61HP1tI.js} +1 -1
- package/dist/client/assets/{Globe04-w8mYPfRz.js → Globe04-B8-Xh0JM.js} +1 -1
- package/dist/client/assets/{HardDrive--s3dp5HX.js → HardDrive-CxF9Spzl.js} +1 -1
- package/dist/client/assets/{Image01-BawkYWiW.js → Image01-pHDGsVL2.js} +1 -1
- package/dist/client/assets/{Key01-B7WRTr_v.js → Key01-CbbQm-Sw.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BykCJohu.js → LayoutLeft-4JMUy8vk.js} +1 -1
- package/dist/client/assets/{LinkExternal01-Di0_qTZx.js → LinkExternal01-C1NU5pfm.js} +1 -1
- package/dist/client/assets/{Monitor01-DVl9ktwW.js → Monitor01-BxTuXOOp.js} +1 -1
- package/dist/client/assets/{Package-C9K3k9W0.js → Package-BkECyMbs.js} +1 -1
- package/dist/client/assets/{Palette-BksDGTkK.js → Palette-Sm9M4nVN.js} +1 -1
- package/dist/client/assets/{Play-CV7tfmkl.js → Play-DayjM7Kd.js} +1 -1
- package/dist/client/assets/{Plus-DXkuTrJe.js → Plus-Ci7K4Ct_.js} +1 -1
- package/dist/client/assets/{SearchLg-CY-S3YHF.js → SearchLg-CtM9p2dR.js} +1 -1
- package/dist/client/assets/{SearchMd-Q_sOOlOx.js → SearchMd-CPkaKF5i.js} +1 -1
- package/dist/client/assets/{Settings02-ClmBsuLw.js → Settings02-CWJz4nAO.js} +1 -1
- package/dist/client/assets/{Shield01-sbh3mCf9.js → Shield01-39s6HRtv.js} +1 -1
- package/dist/client/assets/{Star01-NP90SIIV.js → Star01-BE9ERhe_.js} +1 -1
- package/dist/client/assets/{Stars01-BDpjTrRF.js → Stars01-DBWFZ5hV.js} +1 -1
- package/dist/client/assets/{Stars02-CxStza3y.js → Stars02-Dgtkk5Y-.js} +1 -1
- package/dist/client/assets/{Sun-DikBiI37.js → Sun-C89FtXYW.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-C_C-ncG2.js → SwitchHorizontal01-5-1OAjem.js} +1 -1
- package/dist/client/assets/{Tool01-B1Bx5MP5.js → Tool01-xoOv4_7Y.js} +1 -1
- package/dist/client/assets/{Tool02-CdRpz1ks.js → Tool02-DrpXqZ3Z.js} +1 -1
- package/dist/client/assets/{Trash01-Dids5Odl.js → Trash01-D4uxHMnz.js} +1 -1
- package/dist/client/assets/{TrendUp01-DNBXzGjW.js → TrendUp01-DJSEsaa4.js} +1 -1
- package/dist/client/assets/{Upload01-iEqn2jOl.js → Upload01-C0m7KK_e.js} +1 -1
- package/dist/client/assets/{User01-8Z9pGyaU.js → User01-CL8Lqoqa.js} +1 -1
- package/dist/client/assets/{Users01-CBJblExt.js → Users01-C8GYGUG1.js} +1 -1
- package/dist/client/assets/{Users03-C7jw3CTG.js → Users03-C11myK4v.js} +1 -1
- package/dist/client/assets/{X-pkqCD6UJ.js → X-FfTODUnY.js} +1 -1
- package/dist/client/assets/{XCircle-CLiB0gTf.js → XCircle-eSQqLKYa.js} +1 -1
- package/dist/client/assets/{XClose-DTJCOkfy.js → XClose-B3-TWCDz.js} +1 -1
- package/dist/client/assets/{Zap-DWQIGw09.js → Zap-BoFXRgmU.js} +1 -1
- package/dist/client/assets/{ZapSquare-Dmu-LhOR.js → ZapSquare-DhJf-bn6.js} +1 -1
- package/dist/client/assets/{ZoomOut-iy3hLtzE.js → ZoomOut-D4ZRPuxd.js} +1 -1
- package/dist/client/assets/{access-gate-DOjseIrY.js → access-gate-kTO9SnvL.js} +1 -1
- package/dist/client/assets/{add-section-modal-Cg59aAQa.js → add-section-modal-CEyQogiS.js} +1 -1
- package/dist/client/assets/{agent-icon-DAlT66eM.js → agent-icon-CB_-JSjj.js} +1 -1
- package/dist/client/assets/{agents-list-PZAOhJyz.js → agents-list-BRsTaG9z.js} +1 -1
- package/dist/client/assets/{ai-providers-BuqwTGiq.js → ai-providers-Bz8XwABe.js} +1 -1
- package/dist/client/assets/{alert-Byyfs8Va.js → alert-Fjjng6hL.js} +1 -1
- package/dist/client/assets/{alert-dialog-CCrCAp3W.js → alert-dialog-BmRsNwN9.js} +1 -1
- package/dist/client/assets/{app-editor-CLVZtIeX.js → app-editor-BEjeG945.js} +1 -1
- package/dist/client/assets/{auth-BacK4a-e.js → auth-B54kii7x.js} +1 -1
- package/dist/client/assets/{auth-catchall-CK6fTAjS.js → auth-catchall-B3UfVpFT.js} +1 -1
- package/dist/client/assets/{auth-entry-DrC66VU5.js → auth-entry-C5JdYt8L.js} +1 -1
- package/dist/client/assets/{auth-split-layout-K6aCRANc.js → auth-split-layout-CUHd8r6T.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-C-TnzHrX.js → authenticate-and-persist-oauth-CJok6jUd.js} +1 -1
- package/dist/client/assets/{automation-list-row-BPhHE9s6.js → automation-list-row-Dh102Lw3.js} +1 -1
- package/dist/client/assets/{automation-runs-DxF85IV8.js → automation-runs-D_QDuFCw.js} +1 -1
- package/dist/client/assets/{automations-Bi-A1X9A.js → automations-DzYrMSmv.js} +1 -1
- package/dist/client/assets/{autosend-B0R-Ptqb.js → autosend-CkIV8p4Q.js} +1 -1
- package/dist/client/assets/{avatar-CplMWphM.js → avatar-BazXLkz7.js} +1 -1
- package/dist/client/assets/{badge-jIl8YgDk.js → badge-DNd7ajkN.js} +1 -1
- package/dist/client/assets/{block-document-Cw5Ea9-e.js → block-document-BPqUAW97.js} +1 -1
- package/dist/client/assets/{brand-context-DN6co5BO.js → brand-context-DswG1e_y.js} +1 -1
- package/dist/client/assets/{buckets-CoX68l6Q.js → buckets-CXh4_2nv.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-6DdTtg9N.js → bulk-category-panel-CwIMxHwL.js} +1 -1
- package/dist/client/assets/{calendar-ANB8ZB6P.js → calendar-E0PNlIgV.js} +1 -1
- package/dist/client/assets/{capability-load-error-be5cMIr1.js → capability-load-error-CVIIPd0O.js} +1 -1
- package/dist/client/assets/{card-Bf5hIqR-.js → card-D8J7Ri-1.js} +1 -1
- package/dist/client/assets/{category-editor-abtpUFAS.js → category-editor-DTIOnuPB.js} +1 -1
- package/dist/client/assets/{chat-context-cAuhh1bq.js → chat-context-BUbzUhOw.js} +1 -1
- package/dist/client/assets/{checkbox-CrwWp9mY.js → checkbox-TB3JO09j.js} +1 -1
- package/dist/client/assets/{cli-auth-success-B6-RbWjM.js → cli-auth-success-DSI2Uch8.js} +1 -1
- package/dist/client/assets/{collection-detail-BItZpfZ6.js → collection-detail-DPD8UtGx.js} +1 -1
- package/dist/client/assets/{collection-display-button-R7ABciZu.js → collection-display-button-fzDrGsXO.js} +1 -1
- package/dist/client/assets/{collection-search-_tE5WTnF.js → collection-search-CSoSzgWh.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DSXrYyrO.js → collection-table-wrapper-DDxYCHhc.js} +1 -1
- package/dist/client/assets/{collection-tabs-BrNwinEF.js → collection-tabs-CDruT76J.js} +1 -1
- package/dist/client/assets/{command-DO1ZDzTT.js → command-Bj2qn6yr.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-CGGuxa43.js → commerce-onboarding-Dbl4XVgW.js} +1 -1
- package/dist/client/assets/{companions-core-eXjmPSzw.js → companions-core-BH0fr5JT.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-BYiTlLLa.js → connect-desktop-dialog-B5qEVpzb.js} +1 -1
- package/dist/client/assets/{connection-card-B0P0Mlp0.js → connection-card-UBiS44sg.js} +1 -1
- package/dist/client/assets/{connection-detail-3BQFhnUn.js → connection-detail-BouIw1xA.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-B90djqcF.js → connection-form-helpers-DPhduFQi.js} +1 -1
- package/dist/client/assets/{connections-H21ZTvTf.js → connections-DcGm9lo8.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-DhSLHuvP.js → decopilot-sse-pool-3tG4lnzy.js} +1 -1
- package/dist/client/assets/{dialog-BAajFxgb.js → dialog-DWi0JlTh.js} +1 -1
- package/dist/client/assets/{domain-settings-uh6_I1rx.js → domain-settings-CZXBbiGA.js} +1 -1
- package/dist/client/assets/{drawer-DnACySRD.js → drawer-BLFVbiL_.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DH5kQn8D.js → dropdown-menu-C1VVmRJP.js} +1 -1
- package/dist/client/assets/{empty-state-1onECIW_.js → empty-state-CwKWqf4t.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CVdsdS6x.js → extract-connection-data-DW5nl8RN.js} +1 -1
- package/dist/client/assets/{file-explorer-Cl02qrK4.js → file-explorer-Ctzeeunw.js} +1 -1
- package/dist/client/assets/{file-type-icon-B4D4xZ16.js → file-type-icon-JSO6qaid.js} +1 -1
- package/dist/client/assets/{files-D4mr26Ep.js → files-DpWF2qYk.js} +1 -1
- package/dist/client/assets/{form-gXVysHyg.js → form-Dh4tluSC.js} +1 -1
- package/dist/client/assets/{general-BVIXl5aR.js → general-Byw8_9hg.js} +1 -1
- package/dist/client/assets/{github-repo-picker-D7dnKNbV.js → github-repo-picker-DkcIZtn-.js} +1 -1
- package/dist/client/assets/{hooks-CFU5t0uY.js → hooks-BPppL9UW.js} +1 -1
- package/dist/client/assets/{index-CNxmDBOM.js → index-AQIh7ZmC.js} +1 -1
- package/dist/client/assets/{index-Ca5hVpRS.js → index-BMnoeLAK.js} +1 -1
- package/dist/client/assets/{index-C5EWLDtX.js → index-BOo29nkh.js} +1 -1
- package/dist/client/assets/{index-Dq2w61kp.js → index-BZRnn28t.js} +3 -3
- package/dist/client/assets/{index-Cu7BulT0.js → index-Bpp38t32.js} +1 -1
- package/dist/client/assets/{index-DoeTN8dG.js → index-CRlTKiBF.js} +1 -1
- package/dist/client/assets/{index-C2CoDb5Q.js → index-CRzftGrP.js} +1 -1
- package/dist/client/assets/{index-DfmK1Hb7.js → index-CbUefO5d.js} +1 -1
- package/dist/client/assets/{index-DWzwfSlq.js → index-Ch7cVlJo.js} +1 -1
- package/dist/client/assets/{index-CmvC1D_3.js → index-DU2vtCjc.js} +1 -1
- package/dist/client/assets/{index-Bs33RUxr.js → index-DYsXJQBT.js} +6 -6
- package/dist/client/assets/{index-B_5nj9O3.js → index-Db_vIyP1.js} +2 -2
- package/dist/client/assets/{index-Cs78FSkl.js → index-DgPXCSqH.js} +1 -1
- package/dist/client/assets/{index-redirect-B4Oxi7pk.js → index-redirect-DSrU5uu8.js} +1 -1
- package/dist/client/assets/{index-CgiZT2_5.js → index-tIwFyQlt.js} +1 -1
- package/dist/client/assets/{input-C9lf6RHW.js → input-BsGAL_rg.js} +1 -1
- package/dist/client/assets/{integration-icon-Dt8c_xDl.js → integration-icon-CGJHKREq.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-Dk_aEZP3.js → invite-member-dialog-H38CIaX1.js} +1 -1
- package/dist/client/assets/{label-TC44lPSR.js → label-DbY0_RCi.js} +1 -1
- package/dist/client/assets/{layout-BCVQijWF.js → layout-Cpp71r3-.js} +1 -1
- package/dist/client/assets/{login-Dtv3DTON.js → login-CiKw7P11.js} +1 -1
- package/dist/client/assets/{mcp-oauth-BccHUoE7.js → mcp-oauth-D700t2XZ.js} +1 -1
- package/dist/client/assets/{members-DjsTKjwO.js → members-D-a3VkwI.js} +1 -1
- package/dist/client/assets/{monaco-editor-araxZLbA.js → monaco-editor-BX8ARTuF.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CSgNIGfs.js → monitoring-stats-row-BO3FkcsX.js} +1 -1
- package/dist/client/assets/{multi-select-BJkQ67Qr.js → multi-select-BlGwy_5n.js} +1 -1
- package/dist/client/assets/{oauth-callback-BtFIKOtO.js → oauth-callback-DQJPsP1g.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-2Ld6qUNB.js → oauth-callback-ai-provider-BinjbB99.js} +1 -1
- package/dist/client/assets/{onboarding-BLadlWp4.js → onboarding-AmIgMaGl.js} +1 -1
- package/dist/client/assets/{org-install-2j7rBKfx.js → org-install-D4eWyomM.js} +1 -1
- package/dist/client/assets/{org-layout-C-fu_skT.js → org-layout-DUXHS5IG.js} +1 -1
- package/dist/client/assets/{organization-choice-DUbZG9_A.js → organization-choice-CtODp9lF.js} +1 -1
- package/dist/client/assets/{orgs-Y8EnH_si.js → orgs-CMlgiNDj.js} +1 -1
- package/dist/client/assets/{page-seo-form-Ul03RbrF.js → page-seo-form-BSHsNdod.js} +1 -1
- package/dist/client/assets/page-seo-sheet-CCadS2Br.js +1 -0
- package/dist/client/assets/{popover-DwCKPV_t.js → popover-Cnsk2Qp7.js} +1 -1
- package/dist/client/assets/{post-editor-FL4mLEh-.js → post-editor-CFu__7Gx.js} +1 -1
- package/dist/client/assets/{primitives-DSYHc53L.js → primitives-CKEeazKH.js} +1 -1
- package/dist/client/assets/{profile-MkmJEoUL.js → profile-BoTwXvPX.js} +1 -1
- package/dist/client/assets/project-app-view-DUt4n_TC.js +1 -0
- package/dist/client/assets/record-editor-a-hGS4ui.js +1 -0
- package/dist/client/assets/redirect-editor-Q0cXs5Tr.js +1 -0
- package/dist/client/assets/registry-DsiCnQK6.js +2 -0
- package/dist/client/assets/{registry-layout-R1Ywv9AF.js → registry-layout-D8e1_YTK.js} +1 -1
- package/dist/client/assets/{reports-C2ABtWgo.js → reports-ByJ3Qvyy.js} +1 -1
- package/dist/client/assets/{require-capability-DKCGamzx.js → require-capability-BlRAXRCN.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CeDo_fHK.js → required-auth-layout-BVAnajeN.js} +1 -1
- package/dist/client/assets/{reset-password-Cwb1jHH1.js → reset-password-BnnT_f-_.js} +1 -1
- package/dist/client/assets/{roles-D0_E3cEA.js → roles-CHNzch6D.js} +1 -1
- package/dist/client/assets/{search-input-uqn8CBGQ.js → search-input-6ZHO1XcX.js} +1 -1
- package/dist/client/assets/{secrets-fEvWYkCG.js → secrets-BVZgca_M.js} +1 -1
- package/dist/client/assets/sections-editor-DQqEVuE1.js +2 -0
- package/dist/client/assets/{select-DkGjfHIq.js → select-lfM4Lwzr.js} +1 -1
- package/dist/client/assets/{select-model-CokxJg0w.js → select-model-CtXSPQFB.js} +1 -1
- package/dist/client/assets/{self-tool-result-BiNutjqZ.js → self-tool-result-rA0VOMZb.js} +1 -1
- package/dist/client/assets/{seo-editor-BVIJxdug.js → seo-editor-CtXfyhqT.js} +1 -1
- package/dist/client/assets/{settings-layout--KWgb6Np.js → settings-layout-Cx392WJ8.js} +1 -1
- package/dist/client/assets/{settings-section-CCdyPa0C.js → settings-section-B87HV-a9.js} +1 -1
- package/dist/client/assets/{shell-controls-BpEiuvTA.js → shell-controls-jANBMyCl.js} +1 -1
- package/dist/client/assets/{shell-layout-BqfsjVl_.js → shell-layout-BD6vqj7S.js} +1 -1
- package/dist/client/assets/{sidebar-B4fG5ofy.js → sidebar-D4fUdPe4.js} +1 -1
- package/dist/client/assets/{skeleton-BD7-PLEJ.js → skeleton-TuoSjBy9.js} +1 -1
- package/dist/client/assets/{sso-CQyVIQzG.js → sso-kY7wPx_9.js} +1 -1
- package/dist/client/assets/{store-CCjzmtt7.js → store-Dva1x9Kg.js} +1 -1
- package/dist/client/assets/store-registry-Dyc0TfkF.js +2 -0
- package/dist/client/assets/{studio-tools-CLtpdtPp.js → studio-tools-golej29y.js} +1 -1
- package/dist/client/assets/{switch-Bdw-skzX.js → switch-nIBx4J9q.js} +1 -1
- package/dist/client/assets/{table-DS5JGldL.js → table-BcHiNdGb.js} +1 -1
- package/dist/client/assets/{tabs-Bx4-LRsx.js → tabs-6GAFTC_y.js} +1 -1
- package/dist/client/assets/{textarea-DVwdpBob.js → textarea-DP8OZ3qJ.js} +1 -1
- package/dist/client/assets/{toggle-group-CE1dW64g.js → toggle-group-BSH8KQA-.js} +1 -1
- package/dist/client/assets/{toolbar-CzEj_RW_.js → toolbar-B_Q1qPs6.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-DUT1W08N.js → toolbar-icon-button-BEczZJQm.js} +1 -1
- package/dist/client/assets/{tooltip-BchavdQC.js → tooltip-CSoIf1Gs.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BBuUcz2r.js → use-ai-providers-DBQVAoIe.js} +1 -1
- package/dist/client/assets/{use-automations-D3QFWgnR.js → use-automations-2-PZs3p0.js} +1 -1
- package/dist/client/assets/{use-autosave-BcTqb8g8.js → use-autosave-BFlJDBXr.js} +1 -1
- package/dist/client/assets/{use-capability-BPLt9L0U.js → use-capability-BXzerJwY.js} +1 -1
- package/dist/client/assets/{use-clock-tick-BYKRfxr_.js → use-clock-tick-D1puefsG.js} +1 -1
- package/dist/client/assets/{use-collections-DJ2RC7yo.js → use-collections-DIkw9r9e.js} +1 -1
- package/dist/client/assets/{use-connection-BnBlMOuO.js → use-connection-RTnczTQK.js} +1 -1
- package/dist/client/assets/{use-copy-Bt4sB3j7.js → use-copy-CVTt9IJU.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Jorv_qS7.js → use-create-virtual-mcp-C8VqBj08.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DBwlbCt1.js → use-debounced-autosave-CsDyPqsy.js} +1 -1
- package/dist/client/assets/{use-debounced-value-CD7BkKdl.js → use-debounced-value-BuM9rzzK.js} +1 -1
- package/dist/client/assets/{use-deco-credits-BR8sQTGv.js → use-deco-credits-Bb7OVBAv.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-BYghM__V.js → use-decopilot-events-BEpCD1C0.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BNshNXL9.js → use-delete-connection-DZ9-Zx9f.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-Bdd3faVY.js → use-deployment-admin-Byw4hBEw.js} +1 -1
- package/dist/client/assets/{use-file-configs-BVoGCgiS.js → use-file-configs-i87gxX6o.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-LuK278-n.js → use-infinite-scroll-TDMfqV2g.js} +1 -1
- package/dist/client/assets/{use-join-requests-CQxjjDxb.js → use-join-requests-C5Rp8M-O.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-C1Lj91HG.js → use-mcp-auth-status-DkXX0hZv.js} +1 -1
- package/dist/client/assets/{use-mcp-client-B7FFuYvl.js → use-mcp-client-Dh6o9WX9.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-wclqBnqX.js → use-mcp-tools-CKIdVct5.js} +1 -1
- package/dist/client/assets/{use-members-DDi0QlY3.js → use-members-Bp2qK5jv.js} +1 -1
- package/dist/client/assets/{use-mobile-BkH8q52P.js → use-mobile-B1WZXmvP.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DcZXQgvu.js → use-navigate-to-agent-eAYZfmSG.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-CHx6afFP.js → use-org-auth-client-C2iy2Xil.js} +1 -1
- package/dist/client/assets/{use-org-sso-Bo2xQ2X9.js → use-org-sso-DHHmUCXe.js} +1 -1
- package/dist/client/assets/{use-organization-roles-Cwo_cZiu.js → use-organization-roles-CHkQ1Wa0.js} +1 -1
- package/dist/client/assets/{use-organization-settings-CpEpmpcK.js → use-organization-settings-C0wRGLWg.js} +1 -1
- package/dist/client/assets/{use-registry-app-CwiK5Z0B.js → use-registry-app-Y2QR0Yv5.js} +1 -1
- package/dist/client/assets/{use-registry-connections-ByaFhGED.js → use-registry-connections-Cg8olX4z.js} +1 -1
- package/dist/client/assets/{use-secrets-Bza3Sx_r.js → use-secrets-C3iR1Q_U.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BEcwK-z_.js → use-status-sounds-HNftVODV.js} +1 -1
- package/dist/client/assets/{use-view-mode-BCr-fyRr.js → use-view-mode-C3eM3uQ1.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Cicr-hYo.js → use-virtual-mcp-T5LZEHOm.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-5k36gfAQ.js +1 -0
- package/dist/client/assets/{useRouterState-CEPagBC5.js → useRouterState-DAE3RGs1.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-mfBchPKj.js +1 -0
- package/dist/client/assets/{users-Cq3cOSfR.js → users-xtgr8V4o.js} +1 -1
- package/dist/client/assets/{variant-calendar-D9kMRCsv.js → variant-calendar-vajrwOVy.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-86cnBlNn.js → view-mode-toggle-BpdyGEJn.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/page-seo-sheet-rwidY7xh.js +0 -1
- package/dist/client/assets/project-app-view-DH33byyA.js +0 -1
- package/dist/client/assets/record-editor-DPRpkaaW.js +0 -1
- package/dist/client/assets/redirect-editor-CUXi3DXm.js +0 -1
- package/dist/client/assets/registry-DVFoiUHE.js +0 -2
- package/dist/client/assets/sections-editor-DwZGJ1xQ.js +0 -2
- package/dist/client/assets/store-registry-DYH6eOJ2.js +0 -2
- package/dist/client/assets/useInfiniteQuery-CSqMgqdm.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-dyHoJqEo.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as C,j as o}from"./index-Dq2w61kp.js";import{I as B}from"./input-C9lf6RHW.js";import{L as T}from"./label-TC44lPSR.js";import{S as L,a as A,b as R,c as z,d as O}from"./select-DkGjfHIq.js";import{T as V}from"./textarea-DVwdpBob.js";import{v as D,w as J,o as K,y as M,I as _}from"./index-Bs33RUxr.js";import{s as F}from"./primitives-DSYHc53L.js";import{u as $}from"./use-autosave-BcTqb8g8.js";import"./tooltip-BchavdQC.js";import"./ChevronUp-D80f0FTg.js";import"./ChevronDown-DB-nMQrk.js";import"./ArrowUp-CbFM-kat.js";import"./chat-context-cAuhh1bq.js";import"./autosend-B0R-Ptqb.js";import"./hooks-CFU5t0uY.js";import"./use-mcp-client-B7FFuYvl.js";import"./auth-BacK4a-e.js";import"./decopilot-sse-pool-DhSLHuvP.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-CLtpdtPp.js";import"./use-virtual-mcp-Cicr-hYo.js";import"./use-collections-DJ2RC7yo.js";import"./use-ai-providers-BBuUcz2r.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-BYghM__V.js";import"./use-organization-settings-CpEpmpcK.js";import"./automation-runs-DxF85IV8.js";import"./useInfiniteQuery-CSqMgqdm.js";import"./use-infinite-scroll-LuK278-n.js";import"./use-connection-BnBlMOuO.js";import"./card-Bf5hIqR-.js";import"./sidebar-B4fG5ofy.js";import"./LayoutLeft-BykCJohu.js";import"./use-mobile-BkH8q52P.js";import"./X-pkqCD6UJ.js";import"./table-DS5JGldL.js";import"./empty-state-1onECIW_.js";import"./use-members-DDi0QlY3.js";import"./use-org-auth-client-CHx6afFP.js";import"./use-clock-tick-BYKRfxr_.js";import"./AlertCircle-D-N2zo0t.js";import"./CheckCircle-COZrjV2D.js";import"./DotsVertical-C0wpBby-.js";import"./agent-icon-DAlT66eM.js";import"./Tool01-B1Bx5MP5.js";import"./Settings02-ClmBsuLw.js";import"./Tool02-CdRpz1ks.js";import"./XCircle-CLiB0gTf.js";import"./ArrowUpRight-B3juowcn.js";import"./TrendUp01-DNBXzGjW.js";import"./ZapSquare-Dmu-LhOR.js";import"./ZoomOut-iy3hLtzE.js";import"./Users03-C7jw3CTG.js";import"./ChevronRight-Bx5egFn0.js";import"./Stars02-CxStza3y.js";import"./Copy01-BqsecaGs.js";import"./Globe01-DmADoGPI.js";import"./Eye-BAfEF8fF.js";import"./FilterLines-B-9Tqd7m.js";import"./Star01-NP90SIIV.js";import"./Globe04-w8mYPfRz.js";import"./SwitchHorizontal01-C_C-ncG2.js";import"./HardDrive--s3dp5HX.js";import"./Image01-BawkYWiW.js";import"./Key01-B7WRTr_v.js";import"./LinkExternal01-Di0_qTZx.js";import"./Monitor01-DVl9ktwW.js";import"./Sun-DikBiI37.js";import"./Package-C9K3k9W0.js";import"./Palette-BksDGTkK.js";import"./Play-CV7tfmkl.js";import"./Plus-DXkuTrJe.js";import"./SearchLg-CY-S3YHF.js";import"./SearchMd-Q_sOOlOx.js";import"./Shield01-sbh3mCf9.js";import"./Stars01-BDpjTrRF.js";import"./Trash01-Dids5Odl.js";import"./Upload01-iEqn2jOl.js";import"./User01-8Z9pGyaU.js";import"./Users01-CBJblExt.js";import"./XClose-DTJCOkfy.js";import"./Zap-DWQIGw09.js";import"./use-automations-D3QFWgnR.js";import"./useSuspenseInfiniteQuery-dyHoJqEo.js";import"./avatar-CplMWphM.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-Bt4sB3j7.js";import"./file-type-icon-B4D4xZ16.js";import"./dialog-BAajFxgb.js";import"./monaco-editor-araxZLbA.js";import"./index-Cu7BulT0.js";import"./index-CNxmDBOM.js";import"./calendar-ANB8ZB6P.js";import"./shell-layout-BqfsjVl_.js";import"./required-auth-layout-CeDo_fHK.js";import"./use-org-sso-Bo2xQ2X9.js";import"./integration-icon-Dt8c_xDl.js";import"./use-navigate-to-agent-DcZXQgvu.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Dr8apG2o.js";import"./form-gXVysHyg.js";import"./drawer-DnACySRD.js";import"./collection-search-_tE5WTnF.js";import"./index-B_5nj9O3.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-CwiK5Z0B.js";import"./use-mcp-tools-wclqBnqX.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-C-TnzHrX.js";import"./mcp-oauth-BccHUoE7.js";import"./extract-connection-data-CVdsdS6x.js";import"./dropdown-menu-DH5kQn8D.js";import"./popover-DwCKPV_t.js";import"./command-DO1ZDzTT.js";import"./index-C5EWLDtX.js";import"./tabs-Bx4-LRsx.js";import"./toggle-group-CE1dW64g.js";import"./use-deco-credits-BR8sQTGv.js";import"./connection-card-B0P0Mlp0.js";import"./use-registry-connections-ByaFhGED.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-B90djqcF.js";import"./collection-tabs-BrNwinEF.js";import"./badge-jIl8YgDk.js";import"./connect-desktop-dialog-BYiTlLLa.js";import"./select-model-CokxJg0w.js";import"./checkbox-CrwWp9mY.js";import"./skeleton-BD7-PLEJ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CCdyPa0C.js";import"./index-CmvC1D_3.js";import"./alert-dialog-CCrCAp3W.js";import"./toolbar-CzEj_RW_.js";import"./use-debounced-value-CD7BkKdl.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BEcwK-z_.js";import"./use-capability-BPLt9L0U.js";import"./toolbar-icon-button-DUT1W08N.js";import"./use-debounced-autosave-DBwlbCt1.js";import"./index-Ca5hVpRS.js";import"./search-input-uqn8CBGQ.js";import"./use-mcp-auth-status-C1Lj91HG.js";import"./switch-Bdw-skzX.js";import"./github-repo-picker-D7dnKNbV.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-Bza3Sx_r.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-eXjmPSzw.js";import"./use-file-configs-BVoGCgiS.js";import"./automation-list-row-BPhHE9s6.js";const q={authors:[{key:"name",label:"Name",widget:"text"},{key:"type",label:"Type",widget:"select",options:[{value:"Person",label:"Person"},{value:"Organization",label:"Organization"}]},{key:"email",label:"Email",widget:"text",placeholder:"author@example.com"},{key:"jobTitle",label:"Job title",widget:"text"},{key:"company",label:"Company",widget:"text"},{key:"avatar",label:"Avatar",widget:"image"}]},G={authors:"Author"};function Ko(g){const t=C.c(34),{orgSlug:j,virtualMcpId:w,branch:S,kind:e,blockKey:h,block:E}=g;let y;t[0]!==S||t[1]!==j||t[2]!==w?(y={orgSlug:j,virtualMcpId:w,branch:S},t[0]=S,t[1]=j,t[2]=w,t[3]=y):y=t[3];const m=D(y);let d;t[4]!==E||t[5]!==e?(d=J(E,e),t[4]=E,t[5]=e,t[6]=d):d=t[6];const f=d;let k;t[7]!==h||t[8]!==e||t[9]!==m?(k=a=>{m.mutate({blockKey:h,data:M(h,e,a)})},t[7]=h,t[8]=e,t[9]=m,t[10]=k):k=t[10];const[i,N]=$(f,k);let b;t[11]!==i||t[12]!==N?(b=(a,r)=>N({...i,[a]:r}),t[11]=i,t[12]=N,t[13]=b):b=t[13];const p=b,I=G[e];let l;t[14]!==I?(l=o.jsx("span",{className:"text-sm font-medium",children:I}),t[14]=I,t[15]=l):l=t[15];let n;t[16]!==m.isError||t[17]!==m.isPending?(n=o.jsx(K,{isPending:m.isPending,isError:m.isError}),t[16]=m.isError,t[17]=m.isPending,t[18]=n):n=t[18];let c;t[19]!==l||t[20]!==n?(c=o.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[l,n]}),t[19]=l,t[20]=n,t[21]=c):c=t[21];const P=q[e];let u;if(t[22]!==i||t[23]!==p||t[24]!==P){let a;t[26]!==i||t[27]!==p?(a=r=>o.jsx("div",{className:"space-y-2",children:r.widget==="image"?o.jsx(_,{schema:{type:"string",format:"image-uri",title:r.label},value:i[r.key],onChange:s=>p(r.key,s),path:r.key,label:r.label}):r.widget==="select"?o.jsxs(o.Fragment,{children:[o.jsx(T,{htmlFor:r.key,children:r.label}),o.jsxs(L,{value:F(i[r.key])||r.options?.[0]?.value,onValueChange:s=>p(r.key,s),children:[o.jsx(A,{id:r.key,className:"h-10 w-full",children:o.jsx(R,{placeholder:r.label})}),o.jsx(z,{children:(r.options??[]).map(H)})]})]}):o.jsxs(o.Fragment,{children:[o.jsx(T,{htmlFor:r.key,children:r.label}),r.widget==="textarea"?o.jsx(V,{id:r.key,value:F(i[r.key]),onChange:s=>p(r.key,s.target.value),rows:3}):o.jsx(B,{id:r.key,value:F(i[r.key]),placeholder:r.placeholder,onChange:s=>p(r.key,s.target.value),className:"h-10"})]})},r.key),t[26]=i,t[27]=p,t[28]=a):a=t[28],u=P.map(a),t[22]=i,t[23]=p,t[24]=P,t[25]=u}else u=t[25];let x;t[29]!==u?(x=o.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:o.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:u})}),t[29]=u,t[30]=x):x=t[30];let v;return t[31]!==x||t[32]!==c?(v=o.jsxs("div",{className:"flex h-full flex-col",children:[c,x]}),t[31]=x,t[32]=c,t[33]=v):v=t[33],v}function H(g){return o.jsx(O,{value:g.value,children:g.label},g.value)}export{Ko as RecordEditor};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as z,j as t}from"./index-Dq2w61kp.js";import{C as G}from"./checkbox-CrwWp9mY.js";import{I as K}from"./input-C9lf6RHW.js";import{L as q}from"./label-TC44lPSR.js";import{c as H,S as J,d as W,a as X,b as Z}from"./select-DkGjfHIq.js";import{k as ee,a_ as te,o as re,a$ as M,b0 as ie}from"./index-Bs33RUxr.js";import{u as oe}from"./use-autosave-BcTqb8g8.js";import"./ChevronUp-D80f0FTg.js";import"./tooltip-BchavdQC.js";import"./ChevronDown-DB-nMQrk.js";import"./ArrowUp-CbFM-kat.js";import"./chat-context-cAuhh1bq.js";import"./autosend-B0R-Ptqb.js";import"./hooks-CFU5t0uY.js";import"./use-mcp-client-B7FFuYvl.js";import"./auth-BacK4a-e.js";import"./decopilot-sse-pool-DhSLHuvP.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-CLtpdtPp.js";import"./use-virtual-mcp-Cicr-hYo.js";import"./use-collections-DJ2RC7yo.js";import"./use-ai-providers-BBuUcz2r.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-BYghM__V.js";import"./use-organization-settings-CpEpmpcK.js";import"./automation-runs-DxF85IV8.js";import"./useInfiniteQuery-CSqMgqdm.js";import"./use-infinite-scroll-LuK278-n.js";import"./use-connection-BnBlMOuO.js";import"./card-Bf5hIqR-.js";import"./sidebar-B4fG5ofy.js";import"./LayoutLeft-BykCJohu.js";import"./use-mobile-BkH8q52P.js";import"./X-pkqCD6UJ.js";import"./table-DS5JGldL.js";import"./empty-state-1onECIW_.js";import"./use-members-DDi0QlY3.js";import"./use-org-auth-client-CHx6afFP.js";import"./use-clock-tick-BYKRfxr_.js";import"./AlertCircle-D-N2zo0t.js";import"./CheckCircle-COZrjV2D.js";import"./DotsVertical-C0wpBby-.js";import"./agent-icon-DAlT66eM.js";import"./Tool01-B1Bx5MP5.js";import"./Settings02-ClmBsuLw.js";import"./Tool02-CdRpz1ks.js";import"./XCircle-CLiB0gTf.js";import"./ArrowUpRight-B3juowcn.js";import"./TrendUp01-DNBXzGjW.js";import"./ZapSquare-Dmu-LhOR.js";import"./ZoomOut-iy3hLtzE.js";import"./Users03-C7jw3CTG.js";import"./ChevronRight-Bx5egFn0.js";import"./Stars02-CxStza3y.js";import"./Copy01-BqsecaGs.js";import"./Globe01-DmADoGPI.js";import"./Eye-BAfEF8fF.js";import"./FilterLines-B-9Tqd7m.js";import"./Star01-NP90SIIV.js";import"./Globe04-w8mYPfRz.js";import"./SwitchHorizontal01-C_C-ncG2.js";import"./HardDrive--s3dp5HX.js";import"./Image01-BawkYWiW.js";import"./Key01-B7WRTr_v.js";import"./LinkExternal01-Di0_qTZx.js";import"./Monitor01-DVl9ktwW.js";import"./Sun-DikBiI37.js";import"./Package-C9K3k9W0.js";import"./Palette-BksDGTkK.js";import"./Play-CV7tfmkl.js";import"./Plus-DXkuTrJe.js";import"./SearchLg-CY-S3YHF.js";import"./SearchMd-Q_sOOlOx.js";import"./Shield01-sbh3mCf9.js";import"./Stars01-BDpjTrRF.js";import"./Trash01-Dids5Odl.js";import"./Upload01-iEqn2jOl.js";import"./User01-8Z9pGyaU.js";import"./Users01-CBJblExt.js";import"./XClose-DTJCOkfy.js";import"./Zap-DWQIGw09.js";import"./use-automations-D3QFWgnR.js";import"./useSuspenseInfiniteQuery-dyHoJqEo.js";import"./avatar-CplMWphM.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-Bt4sB3j7.js";import"./file-type-icon-B4D4xZ16.js";import"./dialog-BAajFxgb.js";import"./monaco-editor-araxZLbA.js";import"./index-Cu7BulT0.js";import"./index-CNxmDBOM.js";import"./calendar-ANB8ZB6P.js";import"./shell-layout-BqfsjVl_.js";import"./required-auth-layout-CeDo_fHK.js";import"./use-org-sso-Bo2xQ2X9.js";import"./integration-icon-Dt8c_xDl.js";import"./use-navigate-to-agent-DcZXQgvu.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Dr8apG2o.js";import"./form-gXVysHyg.js";import"./drawer-DnACySRD.js";import"./collection-search-_tE5WTnF.js";import"./index-B_5nj9O3.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-CwiK5Z0B.js";import"./use-mcp-tools-wclqBnqX.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-C-TnzHrX.js";import"./mcp-oauth-BccHUoE7.js";import"./extract-connection-data-CVdsdS6x.js";import"./dropdown-menu-DH5kQn8D.js";import"./popover-DwCKPV_t.js";import"./command-DO1ZDzTT.js";import"./index-C5EWLDtX.js";import"./tabs-Bx4-LRsx.js";import"./toggle-group-CE1dW64g.js";import"./use-deco-credits-BR8sQTGv.js";import"./connection-card-B0P0Mlp0.js";import"./use-registry-connections-ByaFhGED.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-DVwdpBob.js";import"./connection-form-helpers-B90djqcF.js";import"./collection-tabs-BrNwinEF.js";import"./badge-jIl8YgDk.js";import"./connect-desktop-dialog-BYiTlLLa.js";import"./select-model-CokxJg0w.js";import"./skeleton-BD7-PLEJ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CCdyPa0C.js";import"./index-CmvC1D_3.js";import"./alert-dialog-CCrCAp3W.js";import"./toolbar-CzEj_RW_.js";import"./use-debounced-value-CD7BkKdl.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BEcwK-z_.js";import"./use-capability-BPLt9L0U.js";import"./toolbar-icon-button-DUT1W08N.js";import"./use-debounced-autosave-DBwlbCt1.js";import"./index-Ca5hVpRS.js";import"./search-input-uqn8CBGQ.js";import"./use-mcp-auth-status-C1Lj91HG.js";import"./switch-Bdw-skzX.js";import"./github-repo-picker-D7dnKNbV.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-Bza3Sx_r.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-eXjmPSzw.js";import"./use-file-configs-BVoGCgiS.js";import"./automation-list-row-BPhHE9s6.js";const me=[{value:"temporary",label:`Temporary (${M.temporary})`},{value:"permanent",label:`Permanent (${M.permanent})`}];function Xr(_){const e=z.c(62),{orgSlug:$,virtualMcpId:A,branch:B,blockKey:D,block:O}=_;let S;e[0]!==B||e[1]!==$||e[2]!==A?(S={orgSlug:$,virtualMcpId:A,branch:B},e[0]=B,e[1]=$,e[2]=A,e[3]=S):S=e[3];const m=ee(S);let g;e[4]!==O?(g=te(O),e[4]=O,e[5]=g):g=e[5];const Y=g;let v;e[6]!==D||e[7]!==m?(v=o=>{m.mutate({blockKey:D,data:ie(o)})},e[6]=D,e[7]=m,e[8]=v):v=e[8];const[r,V]=oe(Y,v);let N;e[9]!==r||e[10]!==V?(N=o=>V({...r,...o}),e[9]=r,e[10]=V,e[11]=N):N=e[11];const i=N;let P;e[12]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx("span",{className:"text-sm font-medium",children:"Redirect"}),e[12]=P):P=e[12];let p;e[13]!==m.isError||e[14]!==m.isPending?(p=t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[P,t.jsx(re,{isPending:m.isPending,isError:m.isError})]}),e[13]=m.isError,e[14]=m.isPending,e[15]=p):p=e[15];let T;e[16]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx(q,{htmlFor:"redirect-from",children:"From"}),e[16]=T):T=e[16];let s;e[17]!==i?(s=o=>i({from:o.target.value}),e[17]=i,e[18]=s):s=e[18];let l;e[19]!==r.from||e[20]!==s?(l=t.jsx(K,{id:"redirect-from",value:r.from,placeholder:"/old-path",onChange:s,className:"h-10"}),e[19]=r.from,e[20]=s,e[21]=l):l=e[21];let E;e[22]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsxs("p",{className:"text-xs text-muted-foreground",children:["The source path to match. Supports URLPattern syntax (e.g."," ",t.jsx("code",{children:"/product/:slug"}),")."]}),e[22]=E):E=e[22];let a;e[23]!==l?(a=t.jsxs("div",{className:"space-y-2",children:[T,l,E]}),e[23]=l,e[24]=a):a=e[24];let R;e[25]===Symbol.for("react.memo_cache_sentinel")?(R=t.jsx(q,{htmlFor:"redirect-to",children:"To"}),e[25]=R):R=e[25];let c;e[26]!==i?(c=o=>i({to:o.target.value}),e[26]=i,e[27]=c):c=e[27];let n;e[28]!==r.to||e[29]!==c?(n=t.jsx(K,{id:"redirect-to",value:r.to,placeholder:"/new-path",onChange:c,className:"h-10"}),e[28]=r.to,e[29]=c,e[30]=n):n=e[30];let k;e[31]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("p",{className:"text-xs text-muted-foreground",children:"The destination — a relative path or an absolute URL."}),e[31]=k):k=e[31];let d;e[32]!==n?(d=t.jsxs("div",{className:"space-y-2",children:[R,n,k]}),e[32]=n,e[33]=d):d=e[33];let C;e[34]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(q,{htmlFor:"redirect-type",children:"Type"}),e[34]=C):C=e[34];let f;e[35]!==i?(f=o=>i({type:o}),e[35]=i,e[36]=f):f=e[36];let w;e[37]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx(X,{id:"redirect-type",className:"h-10 w-full",children:t.jsx(Z,{placeholder:"Type"})}),e[37]=w):w=e[37];let I;e[38]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(H,{children:me.map(pe)}),e[38]=I):I=e[38];let h;e[39]!==r.type||e[40]!==f?(h=t.jsxs(J,{value:r.type,onValueChange:f,children:[w,I]}),e[39]=r.type,e[40]=f,e[41]=h):h=e[41];let F;e[42]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx("strong",{children:"Temporary"}),e[42]=F):F=e[42];let L;e[43]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsxs("p",{className:"text-xs text-muted-foreground",children:["Use ",F," when the redirect may change;"," ",t.jsx("strong",{children:"Permanent"})," lets browsers cache it."]}),e[43]=L):L=e[43];let x;e[44]!==h?(x=t.jsxs("div",{className:"space-y-2",children:[C,h,L]}),e[44]=h,e[45]=x):x=e[45];let u;e[46]!==i?(u=o=>i({discardQueryParameters:o===!0}),e[46]=i,e[47]=u):u=e[47];let y;e[48]!==r.discardQueryParameters||e[49]!==u?(y=t.jsx(G,{checked:r.discardQueryParameters,onCheckedChange:u}),e[48]=r.discardQueryParameters,e[49]=u,e[50]=y):y=e[50];let Q;e[51]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsx("span",{className:"text-sm",children:"Discard query parameters"}),e[51]=Q):Q=e[51];let j;e[52]!==y?(j=t.jsxs("label",{className:"flex cursor-pointer items-center gap-2.5",children:[y,Q]}),e[52]=y,e[53]=j):j=e[53];let b;e[54]!==a||e[55]!==d||e[56]!==x||e[57]!==j?(b=t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:t.jsxs("div",{className:"mx-auto max-w-xl space-y-6",children:[a,d,x,j]})}),e[54]=a,e[55]=d,e[56]=x,e[57]=j,e[58]=b):b=e[58];let U;return e[59]!==b||e[60]!==p?(U=t.jsxs("div",{className:"flex h-full flex-col",children:[p,b]}),e[59]=b,e[60]=p,e[61]=U):U=e[61],U}function pe(_){return t.jsx(W,{value:_.value,children:_.label},_.value)}export{Xr as RedirectEditor};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-R1Ywv9AF.js","assets/index-Dq2w61kp.js","assets/index-uQHpzHcR.css","assets/Tool02-CdRpz1ks.js","assets/CheckCircle-COZrjV2D.js","assets/Settings02-ClmBsuLw.js","assets/use-mcp-client-B7FFuYvl.js","assets/auth-BacK4a-e.js","assets/useInfiniteQuery-CSqMgqdm.js","assets/use-infinite-scroll-LuK278-n.js","assets/studio-tools-CLtpdtPp.js","assets/badge-jIl8YgDk.js","assets/input-C9lf6RHW.js","assets/dropdown-menu-DH5kQn8D.js","assets/ChevronUp-D80f0FTg.js","assets/ChevronRight-Bx5egFn0.js","assets/DotsVertical-C0wpBby-.js","assets/table-DS5JGldL.js","assets/toggle-group-CE1dW64g.js","assets/use-view-mode-BCr-fyRr.js","assets/use-mobile-BkH8q52P.js","assets/FilterLines-B-9Tqd7m.js","assets/Globe01-DmADoGPI.js","assets/SearchMd-Q_sOOlOx.js","assets/dialog-BAajFxgb.js","assets/X-pkqCD6UJ.js","assets/AlertCircle-D-N2zo0t.js","assets/Upload01-iEqn2jOl.js","assets/alert-dialog-CCrCAp3W.js","assets/card-Bf5hIqR-.js","assets/Trash01-Dids5Odl.js","assets/label-TC44lPSR.js","assets/select-DkGjfHIq.js","assets/tooltip-BchavdQC.js","assets/ChevronDown-DB-nMQrk.js","assets/switch-Bdw-skzX.js","assets/textarea-DVwdpBob.js","assets/XCircle-CLiB0gTf.js","assets/checkbox-CrwWp9mY.js","assets/Eye-BAfEF8fF.js","assets/LinkExternal01-Di0_qTZx.js","assets/use-copy-Bt4sB3j7.js","assets/Copy01-BqsecaGs.js","assets/Key01-B7WRTr_v.js","assets/Plus-DXkuTrJe.js","assets/mcp-oauth-BccHUoE7.js","assets/Play-CV7tfmkl.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as s,j as e,r as i,i as a,aX as o}from"./index-Dq2w61kp.js";import{R as m}from"./require-capability-DKCGamzx.js";import"./use-capability-BPLt9L0U.js";import"./access-gate-DOjseIrY.js";import"./capability-load-error-be5cMIr1.js";const n=i.lazy(()=>o(()=>import("./registry-layout-R1Ywv9AF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46])));function f(){const r=s.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(m,{capability:"registry:manage",area:"the registry",children:e.jsx(i.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(a,{size:20,className:"animate-spin text-muted-foreground"})}),children:e.jsx(n,{})})}),r[0]=t):t=r[0],t}export{f as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{c as He,r as w,l as Ee,j as n,B as Ge,i as Hn,n as Ss,t as W,K as xs}from"./index-Dq2w61kp.js";import{a0 as ys,a1 as bs,a2 as _s,F as Un,H as zt,K as Wn,P as Gn,i as Yn,a3 as js,U as qn,V as Jn,a4 as ks,G as ws,a5 as Rs,J as Qn,L as Rt,O as Zn,Q as Xn,M as ea,Z as ta,a6 as na,a7 as Ds,a8 as Dt,a9 as Ns,S as aa,aa as tt,ab as Vs,ac as Cs,ad as Ps,e as Ts,k as As,ae as Ms,af as Es,ag as Ks,ah as $s,r as Ot,ai as Bt,aj as Os,ak as ut,al as jt,am as Bs,an as Ls,ao as Je,ap as Cn,aq as Fs,ar as Pn,as as kt,at as Lt,au as Is,av as sn,aw as zs,ax as xt,ay as Hs,az as Us,aA as Ws,aB as Gs,aC as Ys,aD as dt,aE as qs,aF as Js,aG as Qs,aH as Tn,aI as wt,m as Zs,aJ as Xs,aK as er,aL as tr,aM as nr,aN as rn,aO as An,aP as Mn,aQ as yt,aR as Ft,aS as En,aT as ar,aU as sr,aV as on,aW as rr,aX as or,aY as Kn,aZ as ir}from"./index-Bs33RUxr.js";import{t as lr}from"./ChevronDown-DB-nMQrk.js";import{X as cn,Q as sa,C as cr,w as ra,Y as ur,Z as dr}from"./agent-icon-DAlT66eM.js";import{i as oa}from"./ChevronRight-Bx5egFn0.js";import{n as mr}from"./ChevronUp-D80f0FTg.js";import{i as fr}from"./Globe01-DmADoGPI.js";import{m as It}from"./automation-runs-DxF85IV8.js";import{b as mt,T as ft,a as pt}from"./tooltip-BchavdQC.js";import{a as pr,D as hr,h as gr,c as vr,d as Sr,e as xr}from"./dialog-BAajFxgb.js";import{I as yr}from"./input-C9lf6RHW.js";import{a as ia}from"./Copy01-BqsecaGs.js";import{b as br}from"./ZoomOut-iy3hLtzE.js";import{i as _r}from"./Settings02-ClmBsuLw.js";import{s as jr}from"./Eye-BAfEF8fF.js";import{s as la}from"./TrendUp01-DNBXzGjW.js";import{s as un}from"./Plus-DXkuTrJe.js";import{s as ca}from"./Trash01-Dids5Odl.js";import{i as kr}from"./Zap-DWQIGw09.js";import{d as it,a as ua,D as da,c as ma,j as wr}from"./dropdown-menu-DH5kQn8D.js";import{S as Rr,r as $n,a as Dr,d as Nr,b as Vr,i as Cr,f as Pr,P as Tr,c as Ar}from"./page-seo-form-Ul03RbrF.js";import{b as Mr}from"./Tool01-B1Bx5MP5.js";import{A as Er}from"./add-section-modal-Cg59aAQa.js";import"./ArrowUp-CbFM-kat.js";import"./chat-context-cAuhh1bq.js";import"./autosend-B0R-Ptqb.js";import"./hooks-CFU5t0uY.js";import"./use-mcp-client-B7FFuYvl.js";import"./auth-BacK4a-e.js";import"./decopilot-sse-pool-DhSLHuvP.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-CLtpdtPp.js";import"./use-virtual-mcp-Cicr-hYo.js";import"./use-collections-DJ2RC7yo.js";import"./use-ai-providers-BBuUcz2r.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-BYghM__V.js";import"./use-organization-settings-CpEpmpcK.js";import"./drawer-DnACySRD.js";import"./collection-search-_tE5WTnF.js";import"./SearchMd-Q_sOOlOx.js";import"./use-mobile-BkH8q52P.js";import"./AreaChart-Dr8apG2o.js";import"./index-CNxmDBOM.js";import"./calendar-ANB8ZB6P.js";import"./X-pkqCD6UJ.js";import"./shell-layout-BqfsjVl_.js";import"./avatar-CplMWphM.js";import"./User01-8Z9pGyaU.js";import"./Users03-C7jw3CTG.js";import"./SearchLg-CY-S3YHF.js";import"./Stars02-CxStza3y.js";import"./XClose-DTJCOkfy.js";import"./CheckCircle-COZrjV2D.js";import"./FilterLines-B-9Tqd7m.js";import"./required-auth-layout-CeDo_fHK.js";import"./use-org-sso-Bo2xQ2X9.js";import"./index-B_5nj9O3.js";import"./get-initials-D-f_fDFw.js";import"./SwitchHorizontal01-C_C-ncG2.js";import"./use-registry-app-CwiK5Z0B.js";import"./use-mcp-tools-wclqBnqX.js";import"./use-connection-BnBlMOuO.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-C-TnzHrX.js";import"./mcp-oauth-BccHUoE7.js";import"./extract-connection-data-CVdsdS6x.js";import"./use-members-DDi0QlY3.js";import"./use-org-auth-client-CHx6afFP.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./AlertCircle-D-N2zo0t.js";import"./DotsVertical-C0wpBby-.js";import"./popover-DwCKPV_t.js";import"./command-DO1ZDzTT.js";import"./index-C5EWLDtX.js";import"./use-copy-Bt4sB3j7.js";import"./LinkExternal01-Di0_qTZx.js";import"./ZapSquare-Dmu-LhOR.js";import"./Star01-NP90SIIV.js";import"./Image01-BawkYWiW.js";import"./Upload01-iEqn2jOl.js";import"./form-gXVysHyg.js";import"./label-TC44lPSR.js";import"./select-DkGjfHIq.js";import"./XCircle-CLiB0gTf.js";import"./tabs-Bx4-LRsx.js";import"./Tool02-CdRpz1ks.js";import"./toggle-group-CE1dW64g.js";import"./use-deco-credits-BR8sQTGv.js";import"./connection-card-B0P0Mlp0.js";import"./use-registry-connections-ByaFhGED.js";import"./useInfiniteQuery-CSqMgqdm.js";import"./use-infinite-scroll-LuK278-n.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./card-Bf5hIqR-.js";import"./integration-icon-Dt8c_xDl.js";import"./textarea-DVwdpBob.js";import"./connection-form-helpers-B90djqcF.js";import"./collection-tabs-BrNwinEF.js";import"./badge-jIl8YgDk.js";import"./useSuspenseInfiniteQuery-dyHoJqEo.js";import"./Monitor01-DVl9ktwW.js";import"./connect-desktop-dialog-BYiTlLLa.js";import"./select-model-CokxJg0w.js";import"./checkbox-CrwWp9mY.js";import"./skeleton-BD7-PLEJ.js";import"./Key01-B7WRTr_v.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CCdyPa0C.js";import"./ArrowUpRight-B3juowcn.js";import"./Stars01-BDpjTrRF.js";import"./index-CmvC1D_3.js";import"./Palette-BksDGTkK.js";import"./alert-dialog-CCrCAp3W.js";import"./file-type-icon-B4D4xZ16.js";import"./toolbar-CzEj_RW_.js";import"./Package-C9K3k9W0.js";import"./use-debounced-value-CD7BkKdl.js";import"./index-Cu7BulT0.js";import"./LayoutLeft-BykCJohu.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BEcwK-z_.js";import"./empty-state-1onECIW_.js";import"./use-capability-BPLt9L0U.js";import"./toolbar-icon-button-DUT1W08N.js";import"./Play-CV7tfmkl.js";import"./use-debounced-autosave-DBwlbCt1.js";import"./index-Ca5hVpRS.js";import"./sidebar-B4fG5ofy.js";import"./search-input-uqn8CBGQ.js";import"./use-mcp-auth-status-C1Lj91HG.js";import"./switch-Bdw-skzX.js";import"./github-repo-picker-D7dnKNbV.js";import"./use-navigate-to-agent-DcZXQgvu.js";import"./reusable-new-chat-CouMjkYR.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./Users01-CBJblExt.js";import"./use-secrets-Bza3Sx_r.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./companions-core-eXjmPSzw.js";import"./monaco-editor-araxZLbA.js";import"./use-file-configs-BVoGCgiS.js";import"./use-automations-D3QFWgnR.js";import"./automation-list-row-BPhHE9s6.js";import"./Globe04-w8mYPfRz.js";import"./HardDrive--s3dp5HX.js";import"./Sun-DikBiI37.js";import"./Shield01-sbh3mCf9.js";import"./table-DS5JGldL.js";import"./use-clock-tick-BYKRfxr_.js";function Kr(m){return m.schema?.definitions??m.schema?.$defs??{}}function $r(m,e){const r=Kr(e),c=r[btoa(m)];if(!c)return;let d=typeof c.image=="string"?c.image:void 0;if(!d&&Array.isArray(c.allOf)){const h=c.allOf.find(S=>typeof S.$ref=="string")?.$ref;if(typeof h=="string"){const S=h.replace("#/definitions/",""),p=r[S];d=typeof p?.image=="string"?p.image:void 0}}if(d?.includes("{{{"))return d}function Or(m,e){if(!e)return;const r=ys(m);if(!r)return;const c=$r(r.resolveType,e);if(!c)return;const d=bs(c,r.data);if(d)return _s(d)}const Br="text-global-section-fg hover:bg-global-section/12 dark:text-global-section-fg-dark dark:hover:bg-global-section/15",Lr="text-global-section-fg focus:bg-global-section/12 focus:text-global-section-fg dark:text-global-section-fg-dark dark:focus:bg-global-section/15 dark:focus:text-global-section-fg-dark [&_svg]:!text-global-section";function On(m){return Array.from({length:m},(e,r)=>({id:crypto.randomUUID(),index:r}))}function fa(m){return m.map((e,r)=>({...e,index:r}))}function Fr(m,e){if(e===m.length)return m;if(e<m.length)return fa(m.slice(0,e));const r=Array.from({length:e-m.length},(c,d)=>({id:crypto.randomUUID(),index:m.length+d}));return[...m,...r]}function pa(m){const e=He.c(20),{section:r,raw:c,meta:d}=m,h=r.isSavedBlock===!0,S=r.isMultivariate===!0;let p;e[0]!==d||e[1]!==c?(p=c&&d?Or(c,d):void 0,e[0]=d,e[1]=c,e[2]=p):p=e[2];const v=p;let g;e[3]===Symbol.for("react.memo_cache_sentinel")?(g=n.jsx(br,{className:"h-4 w-4 shrink-0 text-muted-foreground/40"}),e[3]=g):g=e[3];let b;e[4]!==v?(b=v&&n.jsx("img",{src:v,alt:"",referrerPolicy:"no-referrer",className:"h-12 max-w-[100px] shrink-0 rounded object-cover"}),e[4]=v,e[5]=b):b=e[5];let C;e[6]!==S||e[7]!==h?(C=h?{color:ws}:S?{color:"oklch(0.65 0.15 160)"}:void 0,e[6]=S,e[7]=h,e[8]=C):C=e[8];let R;e[9]!==C?(R=n.jsx(cn,{className:"h-4 w-4 shrink-0",style:C}),e[9]=C,e[10]=R):R=e[10];const _=r.isHidden&&"line-through opacity-50";let k;e[11]!==_?(k=Ee("min-w-0 flex-1 truncate text-sm font-medium",_),e[11]=_,e[12]=k):k=e[12];let o;e[13]!==r.label||e[14]!==k?(o=n.jsx("span",{className:k,children:r.label}),e[13]=r.label,e[14]=k,e[15]=o):o=e[15];let D;return e[16]!==b||e[17]!==R||e[18]!==o?(D=n.jsxs(n.Fragment,{children:[g,b,R,o]}),e[16]=b,e[17]=R,e[18]=o,e[19]=D):D=e[19],D}function ha(m,e){const r=m.isSavedBlock===!0,c=m.isMultivariate===!0;return Ee("group flex select-none items-center gap-2 rounded-md px-2 py-2.5",e?"bg-accent text-accent-foreground":r?Br:c?"text-[oklch(0.45_0.15_160)] hover:bg-[oklch(0.65_0.15_160/0.12)] dark:text-[oklch(0.78_0.15_160)] dark:hover:bg-[oklch(0.65_0.15_160/0.15)]":"text-foreground/80 hover:bg-accent hover:text-accent-foreground")}function Ir(m){const e=He.c(64),{section:r,raw:c,meta:d,sortableId:h,selected:S,onSelect:p,onDelete:v,onDuplicate:g,onMakeReusable:b,onToggleHidden:C,onToggleLazy:R,onAddVariant:_,onDetach:k}=m,o=c?Yn(c.__resolveType??""):!1;let D;e[0]!==r?(D=js(r),e[0]=r,e[1]=D):D=e[1];const l=D;let J;e[2]!==h?(J={id:h,animateLayoutChanges:Gr},e[2]=h,e[3]=J):J=e[3];const{attributes:H,listeners:K,setNodeRef:u,transform:P,isDragging:se}=qn(J);let T;e[4]!==P?(T=Jn.Transform.toString(P?{...P,x:0}:null),e[4]=P,e[5]=T):T=e[5];const pe=se?0:void 0;let N;e[6]!==T||e[7]!==pe?(N={transform:T,opacity:pe},e[6]=T,e[7]=pe,e[8]=N):N=e[8];const ce=N;let B;e[9]!==r?(B=ks(r),e[9]=r,e[10]=B):B=e[10];const te=B,oe="button",Ce=0;let E;e[11]!==p?(E=$=>{($.key==="Enter"||$.key===" ")&&($.preventDefault(),p())},e[11]=p,e[12]=E):E=e[12];const ue=se?"cursor-grabbing":"cursor-pointer";let ie;e[13]!==r||e[14]!==S||e[15]!==ue?(ie=Ee("touch-none transition-colors",ue,ha(r,S)),e[13]=r,e[14]=S,e[15]=ue,e[16]=ie):ie=e[16];let je;e[17]!==d||e[18]!==c||e[19]!==r?(je=n.jsx(pa,{section:r,raw:c,meta:d}),e[17]=d,e[18]=c,e[19]=r,e[20]=je):je=e[20];const M=!r.isMultivariate&&n.jsxs(mt,{children:[n.jsx(ft,{asChild:!0,children:n.jsx(Ge,{type:"button",variant:"ghost",size:"icon","aria-label":o?"Disable async render":"Enable async render",className:Ee("h-7 w-7 shrink-0",o?"":"opacity-0 group-hover:opacity-100"),onClick:$=>{$.stopPropagation(),R()},onPointerDown:Wr,children:n.jsx(kr,{className:Ee("h-3.5 w-3.5",o&&"text-yellow-500")})})}),n.jsx(pt,{side:"bottom",children:o?"Disable async render":"Enable async render"})]});let Ae;e[21]!==C||e[22]!==r.isHidden||e[23]!==r.isMultivariate?(Ae=!r.isMultivariate&&n.jsxs(mt,{children:[n.jsx(ft,{asChild:!0,children:n.jsx(Ge,{type:"button",variant:"ghost",size:"icon","aria-label":r.isHidden?"Show section":"Hide section",className:Ee("h-7 w-7 shrink-0",r.isHidden?"opacity-100":"opacity-0 group-hover:opacity-100"),onClick:$=>{$.stopPropagation(),C()},onPointerDown:Ur,children:r.isHidden?n.jsx(_r,{className:"h-3.5 w-3.5"}):n.jsx(jr,{className:"h-3.5 w-3.5"})})}),n.jsx(pt,{side:"bottom",children:r.isHidden?"Show section":"Hide section"})]}),e[21]=C,e[22]=r.isHidden,e[23]=r.isMultivariate,e[24]=Ae):Ae=e[24];let Z;e[25]===Symbol.for("react.memo_cache_sentinel")?(Z=n.jsx(ua,{asChild:!0,children:n.jsx(Ge,{type:"button",variant:"ghost",size:"icon","aria-label":"Section actions",className:"h-7 w-7 shrink-0 opacity-0 group-hover:opacity-100",onClick:Hr,onPointerDown:zr,children:n.jsx(sa,{className:"h-3.5 w-3.5"})})}),e[25]=Z):Z=e[25];let Ne;e[26]!==g?(Ne=$=>{$.stopPropagation(),g()},e[26]=g,e[27]=Ne):Ne=e[27];let ve;e[28]===Symbol.for("react.memo_cache_sentinel")?(ve=n.jsx(ia,{className:"h-4 w-4"}),e[28]=ve):ve=e[28];let re;e[29]!==Ne?(re=n.jsxs(it,{onClick:Ne,children:[ve,"Duplicate"]}),e[29]=Ne,e[30]=re):re=e[30];let G;e[31]!==l||e[32]!==_?(G=l&&n.jsxs(it,{className:Rs,onClick:$=>{$.stopPropagation(),_()},children:[n.jsx(la,{className:"h-4 w-4"}),"Add variant"]}),e[31]=l,e[32]=_,e[33]=G):G=e[33];let Y;e[34]!==te||e[35]!==b?(Y=te&&n.jsxs(it,{className:Lr,onClick:$=>{$.stopPropagation(),b()},children:[n.jsx(cn,{className:"h-4 w-4"}),"Make reusable"]}),e[34]=te,e[35]=b,e[36]=Y):Y=e[36];let ne;e[37]!==k||e[38]!==r.isMultivariate||e[39]!==r.isSavedBlock?(ne=r.isSavedBlock===!0&&!r.isMultivariate&&n.jsxs(it,{onClick:$=>{$.stopPropagation(),k()},children:[n.jsx(cn,{className:"h-4 w-4"}),"Detach"]}),e[37]=k,e[38]=r.isMultivariate,e[39]=r.isSavedBlock,e[40]=ne):ne=e[40];let le;e[41]!==v?(le=$=>{$.stopPropagation(),v()},e[41]=v,e[42]=le):le=e[42];let ke;e[43]===Symbol.for("react.memo_cache_sentinel")?(ke=n.jsx(ca,{className:"h-4 w-4"}),e[43]=ke):ke=e[43];let Se;e[44]!==le?(Se=n.jsxs(it,{className:"text-destructive focus:text-destructive",onClick:le,children:[ke,"Delete"]}),e[44]=le,e[45]=Se):Se=e[45];let de;e[46]!==re||e[47]!==G||e[48]!==Y||e[49]!==ne||e[50]!==Se?(de=n.jsxs(da,{children:[Z,n.jsxs(ma,{align:"end",className:"w-44",children:[re,G,Y,ne,Se]})]}),e[46]=re,e[47]=G,e[48]=Y,e[49]=ne,e[50]=Se,e[51]=de):de=e[51];let be;return e[52]!==H||e[53]!==K||e[54]!==p||e[55]!==u||e[56]!==ce||e[57]!==ie||e[58]!==je||e[59]!==M||e[60]!==Ae||e[61]!==de||e[62]!==E?(be=n.jsxs("div",{ref:u,style:ce,...H,...K,role:oe,tabIndex:Ce,onClick:p,onKeyDown:E,className:ie,children:[je,M,Ae,de]}),e[52]=H,e[53]=K,e[54]=p,e[55]=u,e[56]=ce,e[57]=ie,e[58]=je,e[59]=M,e[60]=Ae,e[61]=de,e[62]=E,e[63]=be):be=e[63],be}function zr(m){return m.stopPropagation()}function Hr(m){return m.stopPropagation()}function Ur(m){return m.stopPropagation()}function Wr(m){return m.stopPropagation()}function Gr(){return!1}function Yr(m){const e=He.c(90),{listKey:r,rawSections:c,sections:d,meta:h,selectedIndex:S,onSelect:p,onReorder:v,onDelete:g,onDuplicate:b,onMakeReusable:C,onToggleHidden:R,onToggleLazy:_,onAddVariant:k,onDetach:o,onAddSection:D,canAddSection:l}=m,J=l===void 0?!0:l;let H;e[0]!==d.length?(H=()=>On(d.length),e[0]=d.length,e[1]=H):H=e[1];const[K,u]=w.useState(H),[P,se]=w.useState(null),[T,pe]=w.useState(r),[N,ce]=w.useState(d.length),B=w.useRef(!1);T!==r?(pe(r),ce(d.length),u(On(d.length))):N!==d.length&&(ce(d.length),u(L=>Fr(L,d.length)));let te;e[2]===Symbol.for("react.memo_cache_sentinel")?(te={activationConstraint:{distance:8}},e[2]=te):te=e[2];let oe;e[3]===Symbol.for("react.memo_cache_sentinel")?(oe={coordinateGetter:Qn},e[3]=oe):oe=e[3];const Ce=Un(zt(Gn,te),zt(Wn,oe));let E;e[4]!==K?(E=K.map(qr),e[4]=K,e[5]=E):E=e[5];const ue=E;let ie;e[6]===Symbol.for("react.memo_cache_sentinel")?(ie=L=>{se(String(L.active.id))},e[6]=ie):ie=e[6];const je=ie;let M;e[7]!==ue||e[8]!==v?(M=L=>{se(null);const{active:ae,over:Q}=L;if(!Q||ae.id===Q.id)return;const Ie=ue.indexOf(String(ae.id)),he=ue.indexOf(String(Q.id));Ie===-1||he===-1||(u(Qe=>fa(Rt([...Qe],Ie,he))),B.current=!0,requestAnimationFrame(()=>{B.current=!1}),v?.(Ie,he))},e[7]=ue,e[8]=v,e[9]=M):M=e[9];const Ae=M;let Z;e[10]===Symbol.for("react.memo_cache_sentinel")?(Z=()=>{se(null)},e[10]=Z):Z=e[10];const Ne=Z;let ve,re,G,Y,ne,le,ke,Se,de,be,$,X,we,Ke,$e;if(e[11]!==P||e[12]!==J||e[13]!==K||e[14]!==ue||e[15]!==Ae||e[16]!==h||e[17]!==D||e[18]!==k||e[19]!==g||e[20]!==o||e[21]!==b||e[22]!==C||e[23]!==p||e[24]!==R||e[25]!==_||e[26]!==c||e[27]!==d||e[28]!==S||e[29]!==Ce){Ke=Symbol.for("react.early_return_sentinel");e:{const L=ae=>{B.current||p(ae)};if(e[45]!==P||e[46]!==J||e[47]!==K||e[48]!==D||e[49]!==c||e[50]!==d){const ae=P?K.find(Q=>Q.id===P):null;if(Y=ae!=null?d[ae.index]:null,G=ae!=null?c[ae.index]:void 0,K.length===0){let Q;e[54]===Symbol.for("react.memo_cache_sentinel")?(Q=n.jsx("p",{className:"px-2 py-3 text-xs text-muted-foreground",children:"No sections in this page."}),e[54]=Q):Q=e[54];const Ie=!J;let he;e[55]===Symbol.for("react.memo_cache_sentinel")?(he=n.jsx(un,{size:14}),e[55]=he):he=e[55];let Qe;e[56]!==D||e[57]!==Ie?(Qe=n.jsxs("div",{className:"space-y-2",children:[Q,n.jsxs(Ge,{type:"button",variant:"outline",size:"sm",className:"w-full",disabled:Ie,onClick:D,children:[he,"Add section"]})]}),e[56]=D,e[57]=Ie,e[58]=Qe):Qe=e[58],Ke=Qe;break e}we=Ee(ae&&"cursor-grabbing"),e[45]=P,e[46]=J,e[47]=K,e[48]=D,e[49]=c,e[50]=d,e[51]=G,e[52]=Y,e[53]=we}else G=e[51],Y=e[52],we=e[53];re=Zn,Se=Ce,de=Xn,be=je,$=Ae,X=Ne,ve=ea,le=ue,ke=ta,$e="space-y-1",ne=K.map(ae=>{const Q=d[ae.index];return Q?n.jsx(Ir,{sortableId:ae.id,section:Q,raw:c[ae.index],meta:h,selected:S===ae.index,onSelect:()=>L(ae.index),onDelete:()=>g(ae.index),onDuplicate:()=>b(ae.index),onMakeReusable:()=>C(ae.index),onToggleHidden:()=>R(ae.index),onToggleLazy:()=>_(ae.index),onAddVariant:()=>k(ae.index),onDetach:()=>o(ae.index)},ae.id):null})}e[11]=P,e[12]=J,e[13]=K,e[14]=ue,e[15]=Ae,e[16]=h,e[17]=D,e[18]=k,e[19]=g,e[20]=o,e[21]=b,e[22]=C,e[23]=p,e[24]=R,e[25]=_,e[26]=c,e[27]=d,e[28]=S,e[29]=Ce,e[30]=ve,e[31]=re,e[32]=G,e[33]=Y,e[34]=ne,e[35]=le,e[36]=ke,e[37]=Se,e[38]=de,e[39]=be,e[40]=$,e[41]=X,e[42]=we,e[43]=Ke,e[44]=$e}else ve=e[30],re=e[31],G=e[32],Y=e[33],ne=e[34],le=e[35],ke=e[36],Se=e[37],de=e[38],be=e[39],$=e[40],X=e[41],we=e[42],Ke=e[43],$e=e[44];if(Ke!==Symbol.for("react.early_return_sentinel"))return Ke;let Le;e[59]!==ne||e[60]!==$e?(Le=n.jsx("div",{className:$e,children:ne}),e[59]=ne,e[60]=$e,e[61]=Le):Le=e[61];let Pe;e[62]!==ve||e[63]!==le||e[64]!==ke||e[65]!==Le?(Pe=n.jsx(ve,{items:le,strategy:ke,children:Le}),e[62]=ve,e[63]=le,e[64]=ke,e[65]=Le,e[66]=Pe):Pe=e[66];let Oe;e[67]!==G||e[68]!==Y||e[69]!==h?(Oe=Y?n.jsx("div",{className:Ee("cursor-grabbing shadow-lg ring-1 ring-border/60",ha(Y,!1)),children:n.jsx(pa,{section:Y,raw:G,meta:h})}):null,e[67]=G,e[68]=Y,e[69]=h,e[70]=Oe):Oe=e[70];let Fe;e[71]!==Oe?(Fe=n.jsx(na,{dropAnimation:null,children:Oe}),e[71]=Oe,e[72]=Fe):Fe=e[72];let Me;e[73]!==re||e[74]!==Se||e[75]!==de||e[76]!==be||e[77]!==$||e[78]!==X||e[79]!==Pe||e[80]!==Fe?(Me=n.jsxs(re,{sensors:Se,collisionDetection:de,onDragStart:be,onDragEnd:$,onDragCancel:X,children:[Pe,Fe]}),e[73]=re,e[74]=Se,e[75]=de,e[76]=be,e[77]=$,e[78]=X,e[79]=Pe,e[80]=Fe,e[81]=Me):Me=e[81];const xe=!J;let Re;e[82]===Symbol.for("react.memo_cache_sentinel")?(Re=n.jsx(un,{size:14}),e[82]=Re):Re=e[82];let me;e[83]!==D||e[84]!==xe?(me=n.jsxs(Ge,{type:"button",variant:"outline",size:"sm",className:"mt-2 w-full",disabled:xe,onClick:D,children:[Re,"Add section"]}),e[83]=D,e[84]=xe,e[85]=me):me=e[85];let ee;return e[86]!==we||e[87]!==Me||e[88]!==me?(ee=n.jsxs("div",{className:we,children:[Me,me]}),e[86]=we,e[87]=Me,e[88]=me,e[89]=ee):ee=e[89],ee}function qr(m){return m.id}function Bn(m){const e=He.c(38),{open:r,initialName:c,autoLabel:d,isPending:h,onSubmit:S,onOpenChange:p}=m,v=h===void 0?!1:h,[g,b]=w.useState(c),[C,R]=w.useState(r);r!==C&&(R(r),r&&b(c));let _;e[0]!==v||e[1]!==p?(_=oe=>{!oe&&!v&&p(!1)},e[0]=v,e[1]=p,e[2]=_):_=e[2];const k=_;let o;e[3]!==v||e[4]!==g||e[5]!==S?(o=async oe=>{oe.preventDefault(),!v&&await S(g.trim())},e[3]=v,e[4]=g,e[5]=S,e[6]=o):o=e[6];const D=o;let l;e[7]===Symbol.for("react.memo_cache_sentinel")?(l=n.jsx(pr,{children:"Rename variant"}),e[7]=l):l=e[7];const J=d||"the rule";let H;e[8]!==J?(H=n.jsxs(hr,{children:[l,n.jsxs(gr,{children:["Save this matcher as a global block with a custom label. Leave empty to inline the matcher again and fall back to"," ",n.jsx("span",{className:"font-medium",children:J}),"."]})]}),e[8]=J,e[9]=H):H=e[9];let K;e[10]===Symbol.for("react.memo_cache_sentinel")?(K=n.jsx("label",{htmlFor:"variant-rename-name",className:"text-xs font-medium text-muted-foreground",children:"Name"}),e[10]=K):K=e[10];let u;e[11]===Symbol.for("react.memo_cache_sentinel")?(u=oe=>b(oe.target.value),e[11]=u):u=e[11];let P;e[12]!==d||e[13]!==v||e[14]!==g?(P=n.jsxs("div",{className:"space-y-1.5 py-4",children:[K,n.jsx(yr,{id:"variant-rename-name",value:g,onChange:u,placeholder:d,autoFocus:!0,disabled:v})]}),e[12]=d,e[13]=v,e[14]=g,e[15]=P):P=e[15];let se;e[16]!==p?(se=()=>p(!1),e[16]=p,e[17]=se):se=e[17];let T;e[18]!==v||e[19]!==se?(T=n.jsx(Ge,{type:"button",variant:"outline",onClick:se,disabled:v,children:"Cancel"}),e[18]=v,e[19]=se,e[20]=T):T=e[20];let pe;e[21]!==v?(pe=v?n.jsxs(n.Fragment,{children:[n.jsx(Hn,{size:14,className:"animate-spin"}),"Saving…"]}):"Save",e[21]=v,e[22]=pe):pe=e[22];let N;e[23]!==v||e[24]!==pe?(N=n.jsx(Ge,{type:"submit",disabled:v,children:pe}),e[23]=v,e[24]=pe,e[25]=N):N=e[25];let ce;e[26]!==T||e[27]!==N?(ce=n.jsxs(vr,{children:[T,N]}),e[26]=T,e[27]=N,e[28]=ce):ce=e[28];let B;e[29]!==D||e[30]!==ce||e[31]!==H||e[32]!==P?(B=n.jsx(Sr,{className:"sm:max-w-md",children:n.jsxs("form",{onSubmit:D,children:[H,P,ce]})}),e[29]=D,e[30]=ce,e[31]=H,e[32]=P,e[33]=B):B=e[33];let te;return e[34]!==k||e[35]!==r||e[36]!==B?(te=n.jsx(xr,{open:r,onOpenChange:k,children:B}),e[34]=k,e[35]=r,e[36]=B,e[37]=te):te=e[37],te}const Jr="text-[oklch(0.45_0.15_160)] hover:bg-[oklch(0.65_0.15_160/0.12)] dark:text-[oklch(0.78_0.15_160)] dark:hover:bg-[oklch(0.65_0.15_160/0.15)]",ga="text-[oklch(0.45_0.15_160)] bg-[oklch(0.65_0.15_160/0.18)] dark:text-[oklch(0.78_0.15_160)] dark:bg-[oklch(0.65_0.15_160/0.2)]";function va(m){const e=He.c(5),{rule:r,matchers:c}=m,d=r?.__resolveType??"";let h;if(e[0]!==c||e[1]!==d){const g=c.find(b=>b.resolveType===d)?.iconName??Ds(d);h=cr(g),e[0]=c,e[1]=d,e[2]=h}else h=e[2];const S=h;if(!S)return null;let p;return e[3]!==S?(p=n.jsx(S,{size:14,className:"shrink-0"}),e[3]=S,e[4]=p):p=e[4],p}function Ln(m){return m.map(e=>`${e.label}|${e.rule?.__resolveType??""}`).join(`
|
|
2
|
-
`)}function ln(m){return m.map((e,r)=>({id:crypto.randomUUID(),index:r,variant:e}))}function Qr(m){return m.map((e,r)=>({...e,index:r}))}function Sa(m){const e=He.c(16),{label:r,effectiveRule:c,matchers:d,canDelete:h,dragging:S,onRename:p,onDuplicate:v,onDelete:g}=m;let b;e[0]!==c||e[1]!==d?(b=n.jsx(va,{rule:c,matchers:d}),e[0]=c,e[1]=d,e[2]=b):b=e[2];let C;e[3]!==r?(C=n.jsx("span",{className:"min-w-0 flex-1 truncate text-sm font-medium",children:r}),e[3]=r,e[4]=C):C=e[4];let R;e[5]!==h||e[6]!==S||e[7]!==r||e[8]!==g||e[9]!==v||e[10]!==p?(R=!S&&n.jsxs(da,{children:[n.jsx(ua,{asChild:!0,children:n.jsx(Ge,{type:"button",variant:"ghost",size:"icon","aria-label":`Actions for ${r}`,className:"size-6 shrink-0 opacity-0 transition-opacity group-hover:opacity-100 data-[state=open]:opacity-100",onClick:Xr,onPointerDown:Zr,children:n.jsx(sa,{size:14})})}),n.jsxs(ma,{align:"end",className:"w-36",children:[n.jsxs(it,{onClick:k=>{k.stopPropagation(),p?.()},children:[n.jsx(Mr,{size:14}),"Rename"]}),n.jsxs(it,{onClick:k=>{k.stopPropagation(),v?.()},children:[n.jsx(ia,{size:14}),"Duplicate"]}),n.jsx(wr,{}),n.jsxs(it,{variant:"destructive",disabled:!h,onClick:k=>{k.stopPropagation(),g?.()},children:[n.jsx(ca,{size:14}),"Delete"]})]})]}),e[5]=h,e[6]=S,e[7]=r,e[8]=g,e[9]=v,e[10]=p,e[11]=R):R=e[11];let _;return e[12]!==b||e[13]!==C||e[14]!==R?(_=n.jsxs(n.Fragment,{children:[b,C,R]}),e[12]=b,e[13]=C,e[14]=R,e[15]=_):_=e[15],_}function Zr(m){return m.stopPropagation()}function Xr(m){return m.stopPropagation()}function eo(m){const e=He.c(33),{entry:r,sortableId:c,isActive:d,canDelete:h,decofile:S,meta:p,matchers:v,onSelect:g,onRename:b,onDuplicate:C,onDelete:R}=m;let _;e[0]!==c?(_={id:c,animateLayoutChanges:to},e[0]=c,e[1]=_):_=e[1];const{attributes:k,listeners:o,setNodeRef:D,transform:l,isDragging:J}=qn(_);let H;e[2]!==l?(H=Jn.Transform.toString(l?{...l,x:0}:null),e[2]=l,e[3]=H):H=e[3];const K=J?0:void 0;let u;e[4]!==H||e[5]!==K?(u={transform:H,opacity:K},e[4]=H,e[5]=K,e[6]=u):u=e[6];const P=u,se=p??void 0;let T;e[7]!==S||e[8]!==r.variant.rule||e[9]!==se?(T=Dt(r.variant.rule,S,se),e[7]=S,e[8]=r.variant.rule,e[9]=se,e[10]=T):T=e[10];const pe=T;let N;e[11]!==g?(N=E=>{E.target===E.currentTarget&&(E.key==="Enter"||E.key===" ")&&(E.preventDefault(),g())},e[11]=g,e[12]=N):N=e[12];const ce=J?"cursor-grabbing":"cursor-pointer active:cursor-grabbing",B=d?ga:Jr;let te;e[13]!==ce||e[14]!==B?(te=Ee("group flex select-none items-center gap-2 rounded-md px-2 py-2.5 transition-colors touch-none",ce,B),e[13]=ce,e[14]=B,e[15]=te):te=e[15];let oe;e[16]!==h||e[17]!==pe||e[18]!==r.variant.label||e[19]!==v||e[20]!==R||e[21]!==C||e[22]!==b?(oe=n.jsx(Sa,{label:r.variant.label,effectiveRule:pe,matchers:v,canDelete:h,onRename:b,onDuplicate:C,onDelete:R}),e[16]=h,e[17]=pe,e[18]=r.variant.label,e[19]=v,e[20]=R,e[21]=C,e[22]=b,e[23]=oe):oe=e[23];let Ce;return e[24]!==k||e[25]!==o||e[26]!==g||e[27]!==D||e[28]!==P||e[29]!==te||e[30]!==oe||e[31]!==N?(Ce=n.jsx("div",{ref:D,style:P,...k,...o,onClick:g,onKeyDown:N,className:te,children:oe}),e[24]=k,e[25]=o,e[26]=g,e[27]=D,e[28]=P,e[29]=te,e[30]=oe,e[31]=N,e[32]=Ce):Ce=e[32],Ce}function to(){return!1}function no(m){const e=He.c(9),{variant:r,decofile:c,meta:d,matchers:h}=m,S=d??void 0;let p;e[0]!==c||e[1]!==S||e[2]!==r.rule?(p=Dt(r.rule,c,S),e[0]=c,e[1]=S,e[2]=r.rule,e[3]=p):p=e[3];const v=p;let g;e[4]===Symbol.for("react.memo_cache_sentinel")?(g=Ee("flex items-center gap-2 rounded-md px-2 py-2.5 shadow-lg ring-1 ring-border/60 cursor-grabbing",ga),e[4]=g):g=e[4];let b;return e[5]!==v||e[6]!==h||e[7]!==r.label?(b=n.jsx("div",{className:g,children:n.jsx(Sa,{label:r.label,effectiveRule:v,matchers:h,canDelete:!1,dragging:!0})}),e[5]=v,e[6]=h,e[7]=r.label,e[8]=b):b=e[8],b}function ao(m){const e=He.c(77),{listKey:r,variants:c,activeIndex:d,decofile:h,meta:S,matchers:p,onSelect:v,onReorder:g,onRename:b,onDuplicate:C,onDelete:R,onAdd:_}=m;let k;e[0]!==c?(k=()=>ln(c),e[0]=c,e[1]=k):k=e[1];const[o,D]=w.useState(k),[l,J]=w.useState(null),[H,K]=w.useState(r),[u,P]=w.useState(c.length);let se;e[2]!==c?(se=()=>Ln(c),e[2]=c,e[3]=se):se=e[3];const[T,pe]=w.useState(se),N=w.useRef(!1),ce=Ln(c);H!==r?(K(r),P(c.length),pe(ce),D(ln(c))):u!==c.length?(P(c.length),pe(ce),D(ln(c))):T!==ce&&(pe(ce),D(Me=>c.map((xe,Re)=>({id:Me[Re]?.id??crypto.randomUUID(),index:Re,variant:xe}))));let B;e[4]===Symbol.for("react.memo_cache_sentinel")?(B={activationConstraint:{distance:8}},e[4]=B):B=e[4];let te;e[5]===Symbol.for("react.memo_cache_sentinel")?(te={coordinateGetter:Qn},e[5]=te):te=e[5];const oe=Un(zt(Gn,B),zt(Wn,te));let Ce;e[6]!==o?(Ce=o.map(so),e[6]=o,e[7]=Ce):Ce=e[7];const E=Ce,ue=c.length>1;let ie;e[8]!==o?(ie=Me=>{const xe=String(Me.active.id);J(o.find(Re=>Re.id===xe)??null)},e[8]=o,e[9]=ie):ie=e[9];const je=ie;let M;e[10]!==E||e[11]!==g?(M=Me=>{J(null);const{active:xe,over:Re}=Me;if(!Re||xe.id===Re.id)return;const me=E.indexOf(String(xe.id)),ee=E.indexOf(String(Re.id));me===-1||ee===-1||(D(L=>Qr(Rt([...L],me,ee))),N.current=!0,requestAnimationFrame(()=>{N.current=!1}),g(me,ee))},e[10]=E,e[11]=g,e[12]=M):M=e[12];const Ae=M;let Z;e[13]===Symbol.for("react.memo_cache_sentinel")?(Z=()=>{J(null)},e[13]=Z):Z=e[13];const Ne=Z;let ve,re,G,Y,ne,le,ke,Se,de,be,$,X,we;if(e[14]!==d||e[15]!==ue||e[16]!==h||e[17]!==o||e[18]!==E||e[19]!==Ae||e[20]!==je||e[21]!==p||e[22]!==S||e[23]!==_||e[24]!==R||e[25]!==C||e[26]!==b||e[27]!==v||e[28]!==oe){const Me=L=>{N.current||v(L)};$="space-y-1 border-b p-2";let xe;e[42]===Symbol.for("react.memo_cache_sentinel")?(xe=n.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:"Variants"}),e[42]=xe):xe=e[42];let Re;e[43]===Symbol.for("react.memo_cache_sentinel")?(Re=n.jsx(un,{size:14}),e[43]=Re):Re=e[43];let me;e[44]!==_?(me=n.jsx(ft,{asChild:!0,children:n.jsx(Ge,{type:"button",variant:"ghost",size:"icon","aria-label":"Add variant",className:"size-6",onClick:_,children:Re})}),e[44]=_,e[45]=me):me=e[45];let ee;e[46]===Symbol.for("react.memo_cache_sentinel")?(ee=n.jsx(pt,{children:"Add variant"}),e[46]=ee):ee=e[46],e[47]!==me?(X=n.jsxs("div",{className:"flex items-center justify-between",children:[xe,n.jsxs(mt,{children:[me,ee]})]}),e[47]=me,e[48]=X):X=e[48],re=Zn,le=oe,ke=Xn,Se=je,de=Ae,be=Ne,ve=ea,Y=E,ne=ta,we="space-y-0.5",G=o.map(L=>n.jsx(eo,{sortableId:L.id,entry:L,isActive:L.index===d,canDelete:ue,decofile:h,meta:S,matchers:p,onSelect:()=>Me(L.index),onRename:()=>b(L.index),onDuplicate:()=>C(L.index),onDelete:()=>R(L.index)},L.id)),e[14]=d,e[15]=ue,e[16]=h,e[17]=o,e[18]=E,e[19]=Ae,e[20]=je,e[21]=p,e[22]=S,e[23]=_,e[24]=R,e[25]=C,e[26]=b,e[27]=v,e[28]=oe,e[29]=ve,e[30]=re,e[31]=G,e[32]=Y,e[33]=ne,e[34]=le,e[35]=ke,e[36]=Se,e[37]=de,e[38]=be,e[39]=$,e[40]=X,e[41]=we}else ve=e[29],re=e[30],G=e[31],Y=e[32],ne=e[33],le=e[34],ke=e[35],Se=e[36],de=e[37],be=e[38],$=e[39],X=e[40],we=e[41];let Ke;e[49]!==G||e[50]!==we?(Ke=n.jsx("div",{className:we,children:G}),e[49]=G,e[50]=we,e[51]=Ke):Ke=e[51];let $e;e[52]!==ve||e[53]!==Y||e[54]!==ne||e[55]!==Ke?($e=n.jsx(ve,{items:Y,strategy:ne,children:Ke}),e[52]=ve,e[53]=Y,e[54]=ne,e[55]=Ke,e[56]=$e):$e=e[56];let Le;e[57]!==l||e[58]!==h||e[59]!==p||e[60]!==S?(Le=l?n.jsx(no,{variant:l.variant,decofile:h,meta:S,matchers:p}):null,e[57]=l,e[58]=h,e[59]=p,e[60]=S,e[61]=Le):Le=e[61];let Pe;e[62]!==Le?(Pe=n.jsx(na,{dropAnimation:null,children:Le}),e[62]=Le,e[63]=Pe):Pe=e[63];let Oe;e[64]!==re||e[65]!==le||e[66]!==ke||e[67]!==Se||e[68]!==de||e[69]!==be||e[70]!==$e||e[71]!==Pe?(Oe=n.jsxs(re,{sensors:le,collisionDetection:ke,onDragStart:Se,onDragEnd:de,onDragCancel:be,children:[$e,Pe]}),e[64]=re,e[65]=le,e[66]=ke,e[67]=Se,e[68]=de,e[69]=be,e[70]=$e,e[71]=Pe,e[72]=Oe):Oe=e[72];let Fe;return e[73]!==$||e[74]!==X||e[75]!==Oe?(Fe=n.jsxs("div",{className:$,children:[X,Oe]}),e[73]=$,e[74]=X,e[75]=Oe,e[76]=Fe):Fe=e[76],Fe}function so(m){return m.id}function Fn(m){const e=He.c(15),{schema:r,value:c,onChange:d,meta:h,decofile:S,onSaveReferencedBlock:p,sandbox:v}=m;let g;e[0]===Symbol.for("react.memo_cache_sentinel")?(g=[],e[0]=g):g=e[0];const[b,C]=w.useState(g);let R;e[1]!==b?(R=b.length>0&&n.jsxs("nav",{"aria-label":"Variant rule breadcrumb",className:"flex min-w-0 items-center gap-1 overflow-hidden text-xs",children:[n.jsx("button",{type:"button",onClick:()=>C([]),className:"flex shrink-0 items-center gap-0.5 rounded-md px-1 py-0.5 text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground",title:"Back to rule",children:n.jsx(ra,{className:"size-3.5"})}),b.map((o,D)=>{const l=D===b.length-1;return n.jsxs("span",{className:"flex min-w-0 items-center gap-1 overflow-hidden",children:[D>0&&n.jsx(oa,{className:"size-3 shrink-0 text-muted-foreground/60"}),n.jsx("button",{type:"button",onClick:()=>C(b.slice(0,D+1)),title:o,className:Ee("min-w-0 truncate rounded-md px-1 py-0.5 text-left transition-colors hover:bg-accent hover:text-accent-foreground",l?"font-medium text-foreground":"text-muted-foreground"),children:o})]},`${o}-${D}`)})]}),e[1]=b,e[2]=R):R=e[2];let _;e[3]!==b||e[4]!==S||e[5]!==h||e[6]!==d||e[7]!==p||e[8]!==v||e[9]!==r||e[10]!==c?(_=n.jsx(aa,{schema:r,value:c,onChange:d,basePath:"",breadcrumbPath:b,onBreadcrumbChange:C,meta:h,decofile:S,onSaveReferencedBlock:p,sandbox:v}),e[3]=b,e[4]=S,e[5]=h,e[6]=d,e[7]=p,e[8]=v,e[9]=r,e[10]=c,e[11]=_):_=e[11];let k;return e[12]!==R||e[13]!==_?(k=n.jsxs("div",{className:"space-y-2",children:[R,_]}),e[12]=R,e[13]=_,e[14]=k):k=e[14],k}function In(m){const e=He.c(21),{activeSchema:r,formValue:c,formResetKey:d,onFormChange:h,onBreadcrumbChange:S,breadcrumbPath:p,emptyMessage:v,beforeForm:g,seoResolveType:b,siteDefaultSeo:C,meta:R,decofile:_,onSaveReferencedBlock:k,sandbox:o}=m;let D;e[0]!==p?(D=p===void 0?[]:p,e[0]=p,e[1]=D):D=e[1];const l=D;let J;e[2]!==r||e[3]!==l||e[4]!==_||e[5]!==d||e[6]!==c||e[7]!==R||e[8]!==S||e[9]!==h||e[10]!==k||e[11]!==o||e[12]!==b||e[13]!==C?(J=r&&c?b?n.jsx(Rr,{schema:r,resolveType:b,value:c,formResetKey:d,onChange:h,onBreadcrumbChange:S,siteDefaultSeo:C}):n.jsx(aa,{schema:r,value:c,onChange:h,basePath:"",breadcrumbPath:l,onBreadcrumbChange:S,meta:R,decofile:_,onSaveReferencedBlock:k,sandbox:o},d):null,e[2]=r,e[3]=l,e[4]=_,e[5]=d,e[6]=c,e[7]=R,e[8]=S,e[9]=h,e[10]=k,e[11]=o,e[12]=b,e[13]=C,e[14]=J):J=e[14];const H=J;let K;e[15]!==v||e[16]!==H?(K=H??n.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:v}),e[15]=v,e[16]=H,e[17]=K):K=e[17];let u;return e[18]!==g||e[19]!==K?(u=n.jsx("div",{className:"min-w-0 max-w-full overflow-x-hidden px-6 py-4",children:n.jsxs("div",{className:"mx-auto max-w-2xl",children:[g,K]})}),e[18]=g,e[19]=K,e[20]=u):u=e[20],u}const ro="text-[oklch(0.45_0.15_160)] bg-[oklch(0.65_0.15_160/0.18)] dark:text-[oklch(0.78_0.15_160)] dark:bg-[oklch(0.65_0.15_160/0.22)]";function oo(m,e){return Ns(m,e,tt)}function io(m){const e=He.c(13),{pageKey:r,initialName:c,initialPath:d,onFieldChange:h}=m,[S,p]=w.useState(c),[v,g]=w.useState(d),[b,C]=w.useState(r);b!==r&&(C(r),p(c),g(d));let R;e[0]!==h?(R=l=>{p(l.target.value),h("name",l.target.value)},e[0]=h,e[1]=R):R=e[1];let _;e[2]!==S||e[3]!==R?(_=n.jsx("input",{type:"text",value:S,onChange:R,className:"w-full bg-transparent text-sm font-semibold truncate outline-none border-none p-0 focus:ring-0 placeholder:text-muted-foreground",placeholder:"Page name"}),e[2]=S,e[3]=R,e[4]=_):_=e[4];let k;e[5]!==h?(k=l=>{g(l.target.value),h("path",l.target.value)},e[5]=h,e[6]=k):k=e[6];let o;e[7]!==v||e[8]!==k?(o=n.jsx("input",{type:"text",value:v,onChange:k,className:"w-full bg-transparent text-xs text-muted-foreground truncate outline-none border-none p-0 focus:ring-0 placeholder:text-muted-foreground",placeholder:"/path"}),e[7]=v,e[8]=k,e[9]=o):o=e[9];let D;return e[10]!==_||e[11]!==o?(D=n.jsxs("div",{className:"space-y-1",children:[_,o]}),e[10]=_,e[11]=o,e[12]=D):D=e[12],D}function zn(m){const e=He.c(6),{onClick:r}=m;let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx(la,{size:14}),e[0]=c):c=e[0];let d;e[1]!==r?(d=n.jsx(ft,{asChild:!0,children:n.jsx(Ge,{type:"button",variant:"ghost",size:"icon","aria-label":"Add variant",className:"size-7 shrink-0 text-[oklch(0.65_0.15_160)]",onClick:r,children:c})}),e[1]=r,e[2]=d):d=e[2];let h;e[3]===Symbol.for("react.memo_cache_sentinel")?(h=n.jsx(pt,{side:"bottom",children:"Add variant"}),e[3]=h):h=e[3];let S;return e[4]!==d?(S=n.jsxs(mt,{children:[d,h]}),e[4]=d,e[5]=S):S=e[5],S}function tc({orgSlug:m,virtualMcpId:e,branch:r,previewReady:c=!0,previewUrl:d,currentPath:h,activePageBlockKey:S=null,activeGlobalBlockKey:p=null,externalSelectedIndex:v,onSaved:g,initialEditSeo:b=!1,onExitSeo:C,onViewJsonFile:R,onVariantPreviewOverride:_}){const k=c?{orgSlug:m,virtualMcpId:e,branch:r,previewUrl:d}:null,{data:o,isLoading:D}=Vs(k),{data:l,isLoading:J}=Cs(k),H=Ps(),K=H?.entity?.id===e?H.entity.metadata?.siteSlug??null:null,[u,P]=w.useState(null),[se,T]=w.useState(null),[pe,N]=w.useState(null),[ce,B]=w.useState(0),[te,oe]=w.useState(void 0),[Ce,E]=w.useState(null),[ue,ie]=w.useState(null),[je,M]=w.useState([]),[Ae,Z]=w.useState(0),[Ne,ve]=w.useState(null),[re,G]=w.useState(null),[Y,ne]=w.useState(null),[le,ke]=w.useState(!0),[Se,de]=w.useState(!1),[be,$]=w.useState(!1),[X,we]=w.useState(b),[Ke,$e]=w.useState(b);b&&!Ke&&($e(!0),we(!0),P(null),T(null),N(null),M([])),!b&&Ke&&$e(!1);const[Le,Pe]=w.useState(null),[Oe,Fe]=w.useState(void 0),[Me,xe]=w.useState([]),[Re,me]=w.useState(0),[ee,L]=w.useState(0),[ae,Q]=w.useState(null),[Ie,he]=w.useState(null),[Qe,dn]=w.useState(null),xa=Ss(),ya=`${m}/${e}/${r}`,Ht=Ts({orgSlug:m,virtualMcpId:e,branch:r}),[ba,_a]=w.useState(h),[ja,ka]=w.useState(S),[wa,Ra]=w.useState(p);(ba!==h||ja!==S||wa!==p)&&(queueMicrotask(()=>Ht.flush()),_a(h),ka(S),Ra(p),P(null),T(null),N(null),B(0),E(null),ie(null),L(0),Q(null),he(null),M([]),Z(t=>t+1),we(!1),Pe(null),Fe(void 0),xe([]),me(t=>t+1));const ye=As({orgSlug:m,virtualMcpId:e,branch:r}),Nt=Zs((t,a)=>{ye.mutate({blockKey:t,data:a},{onSuccess:()=>g?.(),onError:s=>W.error(`Save failed: ${s.message}`)})}),Ut=Ms({orgSlug:m,virtualMcpId:e,branch:r}),[bt,Vt]=w.useState(!1),Wt=w.useRef(null),ht=w.useRef(null),gt=w.useRef(null),Gt=w.useRef({}),Ye=w.useRef({rawSections:[],parsedSections:[],decofile:{},activePageKey:null,pageVariants:[],variantIndex:0,sectionVariantIndex:0,selectedSectionIndex:null});if(!c||D||J)return n.jsx("div",{className:"h-full w-full flex items-center justify-center",children:n.jsx(Hn,{size:20,className:"animate-spin text-muted-foreground"})});if(!o||!l)return n.jsx("div",{className:"h-full w-full flex items-center justify-center text-sm text-muted-foreground",children:"Could not load site data."});const Da=Es(o),_e=!!p,ze=_e?null:Ks(Da,h,S),j=_e?p:ze?.key??null,Yt=_e&&p?o[p]:void 0,mn=_e&&p&&Yt?$s(p,Yt):_e&&p?p:"",Ct=!_e&&j&&o[j]?o[j]:null,qt=X&&o&&l&&j&&ze?$n(o,{kind:"page",pageKey:j,pageName:String(ze.name??""),path:String(ze.path??"")},l):null,Na=X?Ct?.seo:void 0,Jt=Oe!==void 0?Oe:Na,Va=X?Dr(Jt):void 0,Ca=qt?.seoTypeOptions??[],Pa=X&&l?Nr(l):"",fn=Le??Va??{},Qt=X&&qt?Vr(fn,qt):null,Ta=X&&Qt&&Cr(Jt)?Ot(Qt,l):null,Aa=X?Pr(o,l)?.seoData:void 0,Be=_e?[{label:"Default",sections:[{__resolveType:p}]}]:oo(Ct?.sections,o??{}),Pt=Be.length>1,Ve=Math.min(ce,Be.length-1),nt=Be[Ve],I=nt?.sections??[],Te=Bt(I,o),pn=!_e&&Os(Ct?.sections);if(_e&&p&&Qe!==p){dn(p);const t=I[0],a=Te[0];if(t&&a){P(0),L(0),M([]);const s=ut(t,a,o);s&&(T(s.data),N(s.resolveType),he(null),Q(null))}}!_e&&Qe!==null&&dn(null),Ye.current={rawSections:I,parsedSections:Te,decofile:o??{},activePageKey:j,pageVariants:Be,variantIndex:Ve,sectionVariantIndex:ee,selectedSectionIndex:u};const Ma=()=>({multivariate:pn,index:Ve,variants:Be.map(t=>({rule:t.rule}))}),hn=(t,a)=>{if(!_)return;if(!j||!pn||t.length<=1){_(null);return}const s=En(j,{multivariate:!0,index:a,variants:t},o,l);_(s.length>0?s:null)},vt=(t,a,s)=>{if(!_)return;if(!j){_(null);return}const i=Ma(),f=En(j,i,o,l);if(!t||a<0){_(f.length>0?f:null);return}const y=ar({pageKey:j,page:i,sectionIndex:a,sectionLazy:Te[a]?.isLazy??!1,mvObj:t,selectedVariantIndex:s,decofile:o,meta:l}),x=[...f,...y];_(x.length>0?x:null)},at=(t,a,s,i=u??-1,f=!1)=>{const y=Je(t,a);if(!y){T(null),N(null),he(null),Q(null),f&&vt(null,i,s);return}const V=Cn(y,tt)[s];if(!V){T(null),N(null),he(null),Q(null),f&&vt(null,i,s);return}const q=Hs(V.value,o);T(q?.data??null),N(q?.resolveType??null);const{resolveType:A,formValue:O}=jt(V.rule,o,l??void 0);he(A),Q(O),f&&vt(y,i,s)};if(v!==void 0&&v!==te&&(oe(v??null),typeof v=="number")){const t=I[v],a=Te[v];if(t&&a)if(P(v),L(0),M([]),Z(s=>s+1),a.isMultivariate)at(t,a,0,v);else{const s=ut(t,a,o);s?(T(s.data),N(s.resolveType)):(T(null),N(null)),he(null),Q(null)}}const Tt={orgSlug:m,virtualMcpId:e,branch:r,previewUrl:d??void 0,siteSlug:K},Zt=pe&&l?Ot(pe,l):null,Ue=(t,a)=>{if(!j)return;const s=wt(o,j,t,Ve,Be);ye.mutate({blockKey:j,data:s},{onSuccess:()=>a?.onSuccess?.()??g?.(),onError:i=>W.error(`Save failed: ${i.message}`)})},St=()=>{P(null),T(null),N(null),L(0),Q(null),he(null),M([]),Z(t=>t+1)},Ea=(t,a)=>{Wt.current&&clearTimeout(Wt.current);const s=Ye.current.sectionVariantIndex;Wt.current=setTimeout(()=>{const{rawSections:i,parsedSections:f,decofile:y,activePageKey:x,pageVariants:V,variantIndex:q}=Ye.current,A=i[a];if(!A)return;const O=f[a];if(!O)return;if(O.isSavedBlock){const z=O.isLazy?A.section?.__resolveType??A.__resolveType:A.__resolveType;ye.mutate({blockKey:z,data:t},{onSuccess:()=>g?.(),onError:U=>W.error(`Save failed: ${U.message}`)});return}if(!x)return;const F={...y[x]},ge=[...i];if(O.isMultivariate){const z=Je(A,O);if(!z||!x)return;const U=rr(z,s,t);ge[a]=dt(A,O,U)}else if(O.isHidden){const z=Yn(A.__resolveType),U=z?{...A.section}:{...A},De=Array.isArray(U.variants)?[...U.variants]:[];De[0]&&(De[0]={...De[0],value:t}),U.variants=De,z?ge[a]={...A,section:U}:ge[a]=U}else O.isLazy?ge[a]={...A,section:t}:ge[a]=t;if(V.length>1){const z=F.sections,U=[...z?.variants??[]];U[q]&&(U[q]={...U[q],value:ge}),F.sections={...z,variants:U}}else F.sections=ge;ye.mutate({blockKey:x,data:F},{onSuccess:()=>g?.(),onError:z=>W.error(`Save failed: ${z.message}`)})},on)},Ka=t=>{P(t),L(0),M([]),Z(f=>f+1);const a=I[t],s=Te[t];if(!a||!s)return;if(s.isMultivariate){at(a,s,0,t);return}const i=ut(a,s,o);if(!i){T(null),N(null),he(null),Q(null),vt(null,t,0);return}T(i.data),N(i.resolveType),he(null),Q(null),vt(null,t,0)},gn=t=>{const a=t;T(a),u!==null&&Ea(a,u)},Xt=t=>{if(!j||!o||!l||!ze)return;const a={kind:"page",pageKey:j,pageName:String(ze.name??""),path:String(ze.path??"")},s=$n(o,a,l);s&&Ht.save(j,()=>{const i=xa.getQueryData(xs.decofile(ya))?.[j];if(!i||typeof i!="object"||i===null||Array.isArray(i))return null;const f={...i,...Gt.current};return Gt.current={},t?.raw!==void 0?{...f,seo:t.raw}:t?.inner!==void 0?Ar(a,s,f,t.inner):f})},$a=(t,a)=>{j&&(Gt.current[t]=a,Xt())},Oa=(t,a)=>{if(!j)return;const s=Rt([...I],t,a);u!==null&&(u===t?P(a):t<u&&a>=u?P(u-1):t>u&&a<=u&&P(u+1)),Ue(s)},Ba=t=>{if(!j)return;const a=I.filter((s,i)=>i!==t);u===t?St():u!==null&&u>t&&P(u-1),Ue(a)},La=t=>{if(!j)return;const a=I[t];if(!a)return;const s=[...I];s.splice(t+1,0,nr(a)),u!==null&&u>t&&P(u+1),Ue(s)},Fa=t=>{if(!j)return;const a=I[t],s=Te[t];if(!a||!s||s.isMultivariate)return;const i=s.isHidden?er(a):tr(a);if(!i)return;const f=[...I];f[t]=i,u===t&&St(),Ue(f)},Ia=t=>{if(!j)return;const a=I[t],s=Te[t];if(!a||!s||s.isMultivariate)return;const i=Xs(a);if(!i)return;const f=[...I];f[t]=i,u===t&&St(),Ue(f)},za=t=>{if(!j)return;const a=I[t],s=Te[t];if(!a||!s?.isSavedBlock)return;const i=ut(a,s,o);if(!i?.data)return;const{name:f,...y}=i.data,x=[...I];s.isLazy?x[t]={...a,section:y}:x[t]=y,u===t&&St(),Ue(x)},Ha=t=>{if(!j)return;const a=[...I,{__resolveType:t.resolveType}],s=a.length-1;Ue(a,{onSuccess:()=>{de(!1),P(s),L(0),M([]),Z(x=>x+1);const i=a[s],f=Bt(a,o)[s];if(!i||!f)return;if(f.isMultivariate){at(i,f,0);return}const y=ut(i,f,o);if(!y){T(null),N(null),he(null),Q(null);return}T(y.data),N(y.resolveType),he(null),Q(null)}})},Ua=t=>{if(u===null)return;const a=I[u],s=Te[u];!a||!s?.isMultivariate||(L(t),M([]),Z(i=>i+1),at(a,s,t,u,!0))},Wa=t=>{if(u===null||!j)return;const a=I[u],s=Te[u];if(!a||!s?.isMultivariate)return;const i=Je(a,s);if(!i)return;const f=Js(i,t);if(!f){W.error("Cannot delete the only variant.");return}const y=[...I];y[u]=dt(a,s,f);const x=f.variants;let V=ee;t===ee?V=Math.min(t,x.length-1):t<ee&&(V=ee-1),L(V),M([]),Z(q=>q+1),at(y[u],s,V),Ue(y)},Ga=t=>{if(u===null||!j)return;const a=I[u],s=Te[u];if(!a||!s?.isMultivariate)return;const i=Je(a,s);if(!i)return;const f=Qs(i,t),y=[...I];y[u]=dt(a,s,f);const x=t+1;L(x),M([]),Z(V=>V+1),at(y[u],s,x),Ue(y)},Ya=(t,a)=>{if(u===null||!j||t===a)return;const s=I[u],i=Te[u];if(!s||!i?.isMultivariate)return;const f=Je(s,i);if(!f)return;const y=Ys(f,t,a),x=[...I];x[u]=dt(s,i,y);let V=ee;ee===t?V=a:t<ee&&a>=ee?V=ee-1:t>ee&&a<=ee&&(V=ee+1),L(V),at(x[u],i,V),Ue(x)},en=t=>{const a=t??u;if(a===null||!j)return;const s=I[a],i=Te[a];if(!s||!i)return;const f=Us(s,i);if(!f){W.error("This section cannot have variants.");return}const y=[...I];y[a]=f.section;const x=Bt(y,o)[a];if(!x?.isMultivariate){W.error("Could not add variant.");return}P(a),L(f.newVariantIndex),M([]),Z(V=>V+1),at(f.section,x,f.newVariantIndex,a),Ue(y)},qa=()=>{if(u===null||!j)return;const t=I[u],a=Te[u];if(!t||!a?.isMultivariate)return;const s=Je(t,a);if(!s)return;const i=qs(t,a,s);if(!i){W.error("Could not remove variants.");return}const f=[...I];f[u]=i;const y=Bt(f,o)[u];if(!y)return;L(0),he(null),Q(null),M([]),Z(V=>V+1);const x=ut(i,y,o);x?(T(x.data),N(x.resolveType)):(T(null),N(null)),vt(null,u,0),Ue(f)},Ja=async t=>{if(Ne===null||!j)return;const a=rn(t,o);if(a){W.error(a);return}const s=I[Ne],i=Te[Ne];if(!s||!i)return;const f=ut(s,i,o);if(!f){W.error("This section cannot be saved as global.");return}const y={...f.data,name:t};try{await ye.mutateAsync({blockKey:t,data:y});const x=[...I];x[Ne]={__resolveType:t},await ye.mutateAsync({blockKey:j,data:wt(o,j,x,Ve,Be)}),u===Ne&&St(),ve(null),W.success(`Saved global block "${t}"`),g?.()}catch(x){W.error(x instanceof Error?x.message:"Failed to save global block")}},vn=nt?.rule;if(Pt&&u===null&&ue===null&&vn){const{resolveType:t,formValue:a}=jt(vn,o??{},l??void 0);ie(t),E(a)}const At=l?Bs(l):[],Sn=l&&o?Ls(l,o):[],Qa=!_e&&!!(d&&l&&o),xn=ue&&l?Ot(ue,l):null,Mt=()=>{ht.current&&(clearTimeout(ht.current),ht.current=null),gt.current&&(clearTimeout(gt.current),gt.current=null)},_t=async(t,a)=>{if(!(sr(a,t,l)>0))try{await Ut.mutateAsync({blockKey:t})}catch(s){W.error(s instanceof Error?s.message:"Could not delete matcher block")}},yn=t=>{ht.current&&clearTimeout(ht.current),ht.current=setTimeout(()=>{const{activePageKey:a,decofile:s,variantIndex:i}=Ye.current;if(!a)return;const f={...s[a]},y={...f.sections},x=[...y.variants??[]],V=x[i],q=V?.rule;if(xt(q,s,l)){const A=q?.__resolveType??"",O=s[A],F=typeof O?.name=="string"?O.name:A,{__resolveType:ge,...z}=t;ye.mutate({blockKey:A,data:yt(ge??"",z,F)},{onSuccess:()=>g?.(),onError:U=>W.error(`Save failed: ${U.message}`)});return}V&&(x[i]={...V,rule:t}),f.sections={...y,variants:x},ye.mutate({blockKey:a,data:f},{onSuccess:()=>g?.(),onError:A=>W.error(`Save failed: ${A.message}`)})},on)},Za=t=>{ie(t);const a=t?{__resolveType:t}:{__resolveType:Kn};E({}),yn(a)},Xa=t=>{const a=t;E(a);const s=ue?{__resolveType:ue,...a}:{...a};yn(s)},es=async t=>{Mt();const{activePageKey:a,decofile:s,variantIndex:i}=Ye.current;if(!a)return;const f=s[a],y=f?.sections;if(!y||typeof y!="object"||Array.isArray(y))return;const x=y;if(!Array.isArray(x.variants))return;const V=[...x.variants],q=V[i];if(!q)return;const A=kt(q.rule,s,l),O=Ft(t);V[i]={...q,rule:O};const F={...s,[a]:{...f,sections:{...x,variants:V}}},{resolveType:ge,formValue:z}=jt(O,F,l??void 0);ie(ge),E(z);try{await ye.mutateAsync({blockKey:a,data:F[a]}),A&&A!==t&&await _t(A,F),g?.()}catch(U){W.error(U instanceof Error?U.message:"Could not apply saved rule")}},bn=t=>{gt.current&&clearTimeout(gt.current);const{selectedSectionIndex:a,sectionVariantIndex:s}=Ye.current;a!==null&&(gt.current=setTimeout(()=>{const{rawSections:i,parsedSections:f,decofile:y,activePageKey:x,pageVariants:V,variantIndex:q}=Ye.current;if(!x)return;const A=i[a],O=f[a];if(!A||!O?.isMultivariate)return;const F=Je(A,O);if(!F)return;const z=(F.variants??[])[s]?.rule;if(xt(z,y,l)){const fe=z?.__resolveType??"",We=y[fe],Xe=typeof We?.name=="string"?We.name:fe,{__resolveType:rt,...et}=t;ye.mutate({blockKey:fe,data:yt(rt??"",et,Xe)},{onSuccess:()=>g?.(),onError:ot=>W.error(`Save failed: ${ot.message}`)});return}const U=Tn(F,s,t),De=[...i];De[a]=dt(A,O,U);const qe=wt(y,x,De,q,V);ye.mutate({blockKey:x,data:qe},{onSuccess:()=>g?.(),onError:fe=>W.error(`Save failed: ${fe.message}`)})},on))},ts=t=>{he(t),Q({}),bn(t?{__resolveType:t}:{__resolveType:Kn})},ns=t=>{const a=t;Q(a);const s=Ie?{__resolveType:Ie,...a}:{...a};bn(s)},as=async t=>{Mt();const{selectedSectionIndex:a,sectionVariantIndex:s,rawSections:i,parsedSections:f,decofile:y,activePageKey:x,pageVariants:V,variantIndex:q}=Ye.current;if(a===null||!x)return;const A=i[a],O=f[a];if(!A||!O?.isMultivariate)return;const F=Je(A,O);if(!F)return;const ge=F.variants??[],z=kt(ge[s]?.rule,y,l),U=Ft(t),De=Tn(F,s,U),qe=[...i];qe[a]=dt(A,O,De);const fe=wt(y,x,qe,q,V),We={...y,[x]:fe},{resolveType:Xe,formValue:rt}=jt(U,We,l??void 0);he(Xe),Q(rt);try{await ye.mutateAsync({blockKey:x,data:fe}),z&&z!==t&&await _t(z,We),g?.()}catch(et){W.error(et instanceof Error?et.message:"Could not apply saved rule")}};if(!_e&&!ze)return n.jsxs("div",{className:"h-full w-full flex items-center justify-center text-sm text-muted-foreground",children:["No page found for ",h]});if(_e&&!Yt)return n.jsx("div",{className:"h-full w-full flex items-center justify-center text-sm text-muted-foreground",children:"Global block not found"});const st=u!==null?Te[u]??null:null,_n=u!==null?I[u]:null,jn=_n&&st?.isMultivariate?Je(_n,st):null,lt=jn?Cn(jn,tt):[],tn=Math.min(ee,Math.max(lt.length-1,0)),Et=lt[tn]??null,ct=st?.isMultivariate===!0,kn=u!==null&&st!==null,Kt=kn&&(ct||!!(Zt&&se)),ss=Kt&&!_e&&st?.isSavedBlock===!0,Ze=_e||ss,rs=_e?mn:st?.label??"",wn=Ie&&l?Ot(Ie,l):null,nn=Kt&&(!_e||je.length>0)?_e?[mn,...je]:[ze.name,st.label,...ct&&Et?[Et.label]:[],...je]:[],os=X&&ze?[ze.name,"SEO",...Me]:[],$t=X?os:Ze?nn.length>0?nn:[rs]:nn,Rn=()=>{if(!j)return;const t=o[j],a=Ws(t.sections,I);if(!a)return;const s=Gs(a);ye.mutate({blockKey:j,data:{...t,sections:a}},{onSuccess:()=>{B(s),P(null),T(null),N(null),M([]),E(null),ie(null)},onError:i=>W.error(`Save failed: ${i.message}`)})},an=(t,a,s)=>{if(!j)return;const i=o[j],f=i.sections;if(!f||typeof f!="object"||Array.isArray(f))return;const y=f;if(!Array.isArray(y.variants))return;const x=t([...y.variants]);if(!x)return;const V=or(y,x),q={...o,[j]:{...i,sections:V}};ye.mutate({blockKey:j,data:q[j]},{onSuccess:()=>{a?.(),s&&_t(s,q)},onError:A=>W.error(`Save failed: ${A.message}`)})},is=t=>{G(null),B(t),P(null),T(null),N(null),M([]);const a=Be[t]?.rule,{resolveType:s,formValue:i}=jt(a,o??{},l??void 0);ie(s),E(i),hn(Be.map(f=>({rule:f.rule})),t)},ls=(t,a)=>{if(t===a)return;let s=Ve;Ve===t?s=a:t<Ve&&a>=Ve?s=Ve-1:t>Ve&&a<=Ve&&(s=Ve+1),B(s);const i=Rt(Be.map(f=>({rule:f.rule})),t,a);hn(i,s),an(f=>Rt(f,t,a))},cs=t=>{const a=Be[t]?.rule,s=kt(a,o??{},l??void 0);an(i=>i.length<=1?null:(i.splice(t,1),i),()=>{Be.length-1===1?B(0):t<Ve?B(Ve-1):t===Ve&&B(Math.max(0,t-1)),P(null),T(null),N(null),M([]),E(null),ie(null)},s)},us=t=>{an(a=>ir(a,t),()=>{B(t+1),P(null),T(null),N(null),M([]),E(null),ie(null)})},ds=async(t,a)=>{Mt();const s=Ye.current.activePageKey,i=Ye.current.decofile;if(!s)return;const f=i[s],y=f.sections;if(!y||typeof y!="object"||Array.isArray(y))return;const x=y;if(!Array.isArray(x.variants))return;const V=[...x.variants],q=V[t];if(!q?.rule||typeof q.rule!="object"){W.error("This variant has no matcher rule to rename.");return}const A=q.rule,O=a.trim();Vt(!0);try{if(!O){if(!xt(A,i,l)){G(null);return}const qe=A.__resolveType??"";V[t]={...q,rule:An(A,i,l)};const fe={...i,[s]:{...f,sections:{...x,variants:V}}};await ye.mutateAsync({blockKey:s,data:fe[s]}),await _t(qe,fe),G(null),g?.();return}const F=Mn(A,i,l);if(!F){W.error("Could not read this variant's matcher rule.");return}if(F.blockKey){await ye.mutateAsync({blockKey:F.blockKey,data:yt(F.resolveType,F.data,O)}),G(null),g?.();return}const ge=sn(O),z=rn(ge,i);if(z){W.error(z);return}const U=yt(F.resolveType,F.data,O);let De=null;try{await ye.mutateAsync({blockKey:ge,data:U}),De=ge,V[t]={...q,rule:Ft(ge)},await ye.mutateAsync({blockKey:s,data:{...f,sections:{...x,variants:V}}}),De=null}catch(qe){throw De&&await Ut.mutateAsync({blockKey:De}).catch(()=>{}),qe}G(null),W.success(`Saved matcher as global block "${O}"`),g?.()}catch(F){W.error(F instanceof Error?F.message:"Failed to rename variant")}finally{Vt(!1)}},ms=async(t,a)=>{Mt();const{selectedSectionIndex:s,rawSections:i,parsedSections:f,decofile:y,activePageKey:x,pageVariants:V,variantIndex:q}=Ye.current;if(s===null||!x)return;const A=i[s],O=f[s];if(!A||!O?.isMultivariate)return;const F=Je(A,O);if(!F)return;const ge=F.variants??[],z=ge[t];if(!z?.rule||typeof z.rule!="object"){W.error("This variant has no matcher rule to rename.");return}const U=z.rule,De=a.trim();Vt(!0);const qe=async fe=>{const We={...F,variants:fe},Xe=[...i];Xe[s]=dt(A,O,We);const rt=wt(y,x,Xe,q,V);return await ye.mutateAsync({blockKey:x,data:rt}),{...y,[x]:rt}};try{if(!De){if(!xt(U,y,l)){ne(null);return}const ot=U.__resolveType??"",Vn=[...ge];Vn[t]={...z,rule:An(U,y,l)};const vs=await qe(Vn);await _t(ot,vs),ne(null),g?.();return}const fe=Mn(U,y,l);if(!fe){W.error("Could not read this variant's matcher rule.");return}if(fe.blockKey){await ye.mutateAsync({blockKey:fe.blockKey,data:yt(fe.resolveType,fe.data,De)}),ne(null),g?.();return}const We=sn(De),Xe=rn(We,y);if(Xe){W.error(Xe);return}const rt=yt(fe.resolveType,fe.data,De);let et=null;try{await ye.mutateAsync({blockKey:We,data:rt}),et=We;const ot=[...ge];ot[t]={...z,rule:Ft(We)},await qe(ot),et=null}catch(ot){throw et&&await Ut.mutateAsync({blockKey:et}).catch(()=>{}),ot}ne(null),W.success(`Saved matcher as global block "${De}"`),g?.()}catch(fe){W.error(fe instanceof Error?fe.message:"Failed to rename variant")}finally{Vt(!1)}},Dn=()=>{St()},fs=t=>{Pe(t),Xt({inner:t})},ps=t=>{Fe(t),Xt({raw:t})},hs=()=>{Pe(null),xe([])},gs=()=>me(t=>t+1),Nn=t=>{if(X){if(t===0){Ht.flush(),we(!1),Pe(null),Fe(void 0),xe([]),me(s=>s+1),C?.();return}if(t===1){xe([]),me(s=>s+1);return}xe(Me.slice(0,t-1)),me(s=>s+1);return}if(_e){M(je.slice(0,t)),Z(s=>s+1);return}if(t===0){Dn();return}if(t===1){M([]),Z(s=>s+1);return}if(ct&&t===2){M([]),Z(s=>s+1);return}const a=ct?2:1;M(je.slice(0,t-a))};return n.jsxs("div",{className:"flex h-full min-w-0 w-full flex-col",children:[n.jsx("div",{className:"shrink-0",children:Ze||Kt||X?n.jsxs("div",{className:Ee("border-b px-3 py-2.5",Ze&&"border-global-section/22 bg-global-section/12 dark:bg-global-section/16"),children:[n.jsxs("div",{className:"flex min-w-0 items-center gap-2 overflow-hidden",children:[$t.length>1&&n.jsx("button",{type:"button",onClick:()=>Nn($t.length-2),title:"Back","aria-label":"Back",className:Ee("shrink-0 inline-flex size-6 items-center justify-center rounded-md transition-colors",Ze?"text-foreground/80 hover:bg-global-section/15":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"),children:n.jsx(ra,{className:"size-4"})}),!_e&&Pt&&nt&&n.jsxs("button",{type:"button",onClick:Dn,title:`Editing in variant: ${nt.label}`,className:Ee("shrink-0 inline-flex items-center gap-1 rounded-md h-6 px-1.5 text-xs font-medium cursor-pointer transition-opacity hover:opacity-80",ro),children:[n.jsx(va,{rule:Dt(nt.rule,o??{},l??void 0),matchers:At}),n.jsx("span",{className:"max-w-[160px] truncate",children:nt.label})]}),n.jsx("nav",{"aria-label":"Editing breadcrumb",className:"flex min-w-0 flex-1 items-center gap-1 overflow-hidden text-sm",children:$t.map((t,a)=>{const s=a===$t.length-1;return n.jsxs("span",{className:"flex min-w-0 items-center gap-1 overflow-hidden",children:[a>0&&n.jsx(oa,{className:"size-3 shrink-0 text-muted-foreground/60"}),n.jsx("button",{type:"button",onClick:()=>Nn(a),title:t,className:Ee("min-w-0 truncate rounded-md px-1 py-0.5 text-left transition-colors",s?Ze?"font-semibold text-global-section-fg dark:text-global-section-fg-dark":"font-medium text-foreground":Ze?"text-foreground/80":"text-muted-foreground",Ze?"hover:bg-global-section/15":"hover:bg-accent hover:text-accent-foreground"),children:t})]},`${t}-${a}`)})}),Ze&&n.jsxs(mt,{children:[n.jsx(ft,{asChild:!0,children:n.jsx("span",{className:"shrink-0 cursor-help",children:n.jsx(fr,{className:"size-4 text-global-section-fg dark:text-global-section-fg-dark"})})}),n.jsx(pt,{side:"bottom",className:"max-w-[260px]",children:"A global section is a reusable block shared across your site. Editing it here updates it everywhere it's used."})]}),kn&&!ct&&!st?.isHidden&&j&&n.jsx(zn,{onClick:()=>en()})]}),Ze&&n.jsx("p",{className:"mt-1.5 py-1.5 pl-1 text-sm leading-snug text-foreground",children:"This is a global section. Changes apply everywhere this section is used across your site."})]}):n.jsxs("div",{className:"flex items-center gap-2 border-b px-3 py-2.5",children:[n.jsx("div",{className:"flex-1 min-w-0",children:n.jsx(io,{pageKey:j,initialName:ze.name,initialPath:ze.path,onFieldChange:$a})}),n.jsxs(mt,{children:[n.jsx(ft,{asChild:!0,children:n.jsx(Ge,{type:"button",variant:"ghost",size:"icon","aria-label":"Edit SEO",className:"size-7 shrink-0",onClick:()=>we(!0),children:n.jsx(ur,{size:14})})}),n.jsx(pt,{side:"bottom",children:"Edit SEO"})]}),n.jsxs(mt,{children:[n.jsx(ft,{asChild:!0,children:n.jsx(Ge,{type:"button",variant:"ghost",size:"icon","aria-label":"View JSON",className:"size-7 shrink-0",onClick:()=>R&&j?R(j):$(!0),children:n.jsx(dr,{size:14})})}),n.jsx(pt,{side:"bottom",children:"View JSON"})]}),n.jsx(zn,{onClick:Rn})]})}),X?n.jsx(It,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:n.jsx("div",{className:"min-w-0 max-w-full overflow-x-hidden px-6 py-4",children:n.jsx("div",{className:"mx-auto max-w-2xl",children:Ct&&j?n.jsx(Tr,{rawSeo:Jt,innerSeo:fn,defaultResolveType:Pa,seoSchema:Ta,activeResolveType:Qt,seoTypeOptions:Ca,formResetKey:Re,siteDefaultSeo:Aa,onBreadcrumbChange:xe,onPersistRaw:ps,onInnerChange:fs,onClearForm:hs,onBumpFormKey:gs}):n.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:"SEO schema not found for this site."})})})}):Kt?n.jsxs(It,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:[ct&<.length>0&&n.jsxs(n.Fragment,{children:[n.jsx(Fs,{listKey:`${j??""}:${u??""}`,variants:lt.map((t,a)=>({index:a,label:t.label})),selectedIndex:tn,onSelect:Ua,onRename:ne,onDuplicate:Ga,onDelete:Wa,onRemoveAll:qa,onReorder:Ya,onAdd:()=>en()}),ct&&n.jsxs("div",{className:"px-3 py-3 border-b space-y-2",children:[n.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:"Variant rule"}),n.jsx(Pn,{currentRt:Ie??"",currentLabel:Lt(Et?.rule,o??{},tt,l??void 0),currentGlobalKey:kt(Et?.rule,o??{},l??void 0)??void 0,matchers:At,globals:Sn,onSelect:ts,onSelectGlobal:as}),wn&&ae&&n.jsx("div",{className:"pt-1",children:n.jsx(Fn,{schema:wn,value:ae,onChange:ns,meta:l??void 0,decofile:o,onSaveReferencedBlock:Nt,sandbox:Tt},`${u??"none"}:${tn}:${Ie??""}`)})]})]}),n.jsx(In,{activeSchema:Zt,formValue:se,formResetKey:Ae,onFormChange:gn,onBreadcrumbChange:M,breadcrumbPath:je,emptyMessage:"No editable fields for this variant.",meta:l,decofile:o,onSaveReferencedBlock:Nt,sandbox:Tt})]}):_e?n.jsx(It,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:n.jsx(In,{activeSchema:Zt,formValue:se,formResetKey:Ae,onFormChange:gn,onBreadcrumbChange:M,breadcrumbPath:je,emptyMessage:"No editable fields for this global block.",meta:l,decofile:o,onSaveReferencedBlock:Nt,sandbox:Tt})}):n.jsxs(It,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:[Pt&&j&&n.jsx(ao,{listKey:j,variants:Be,activeIndex:Ve,decofile:o??{},meta:l,matchers:At,onSelect:is,onReorder:ls,onRename:G,onDuplicate:us,onDelete:cs,onAdd:Rn}),Pt&&ue!==null&&n.jsxs("div",{className:Ee("px-3 border-b",le?"pt-3 pb-5 space-y-3":"py-2"),children:[n.jsxs("button",{type:"button",onClick:()=>ke(t=>!t),className:"flex w-full items-center justify-between gap-2 text-left cursor-pointer rounded-sm py-0.5 hover:bg-muted/40","aria-expanded":le,children:[n.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:"Variant rule"}),le?n.jsx(mr,{className:"size-3.5 shrink-0 text-muted-foreground"}):n.jsx(lr,{className:"size-3.5 shrink-0 text-muted-foreground"})]}),le&&n.jsxs("div",{className:Ee("space-y-3",bt&&"pointer-events-none opacity-50"),children:[n.jsx(Pn,{currentRt:ue,currentLabel:Lt(nt?.rule,o??{},tt,l??void 0),currentGlobalKey:kt(nt?.rule,o??{},l??void 0)??void 0,matchers:At,globals:Sn,onSelect:Za,onSelectGlobal:es}),xn&&Ce&&n.jsx("div",{className:"space-y-3",children:n.jsx(Fn,{schema:xn,value:Ce,onChange:Xa,meta:l??void 0,decofile:o,onSaveReferencedBlock:Nt,sandbox:Tt},`${Ve}:${ue??""}`)})]})]}),n.jsx("div",{className:"p-2 pt-3",children:n.jsx(Yr,{listKey:`${j??""}-${Ve}`,rawSections:I,sections:Te,meta:l,selectedIndex:u,onSelect:Ka,onReorder:Oa,onDelete:Ba,onDuplicate:La,onMakeReusable:ve,onToggleHidden:Fa,onToggleLazy:Ia,onAddVariant:en,onDetach:za,onAddSection:()=>de(!0),canAddSection:Qa})})]}),n.jsx(Is,{open:Ne!==null,onOpenChange:t=>{t||ve(null)},defaultBlockId:Ne!==null?sn(Te[Ne]?.label??""):"",isPending:ye.isPending,onSubmit:Ja}),d&&n.jsx(Er,{open:Se,onOpenChange:de,meta:l,decofile:o,previewBaseUrl:d,onSelect:Ha}),be&&j&&o&&n.jsx(zs,{open:be,onOpenChange:$,pageKey:j,decofile:o}),re!==null&&n.jsx(Bn,{open:!0,initialName:xt(Be[re]?.rule,o??{},l??void 0)?Lt(Be[re]?.rule,o??{},tt,l??void 0):"",autoLabel:tt(Dt(Be[re]?.rule,o??{},l??void 0)),isPending:bt,onSubmit:async t=>{await ds(re,t)},onOpenChange:t=>{!t&&!bt&&G(null)}}),Y!==null&&n.jsx(Bn,{open:!0,initialName:xt(lt[Y]?.rule,o??{},l??void 0)?Lt(lt[Y]?.rule,o??{},tt,l??void 0):"",autoLabel:tt(Dt(lt[Y]?.rule,o??{},l??void 0)),isPending:bt,onSubmit:async t=>{await ms(Y,t)},onOpenChange:t=>{!t&&!bt&&ne(null)}})]})}export{tc as SectionsEditor};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-R1Ywv9AF.js","assets/index-Dq2w61kp.js","assets/index-uQHpzHcR.css","assets/Tool02-CdRpz1ks.js","assets/CheckCircle-COZrjV2D.js","assets/Settings02-ClmBsuLw.js","assets/use-mcp-client-B7FFuYvl.js","assets/auth-BacK4a-e.js","assets/useInfiniteQuery-CSqMgqdm.js","assets/use-infinite-scroll-LuK278-n.js","assets/studio-tools-CLtpdtPp.js","assets/badge-jIl8YgDk.js","assets/input-C9lf6RHW.js","assets/dropdown-menu-DH5kQn8D.js","assets/ChevronUp-D80f0FTg.js","assets/ChevronRight-Bx5egFn0.js","assets/DotsVertical-C0wpBby-.js","assets/table-DS5JGldL.js","assets/toggle-group-CE1dW64g.js","assets/use-view-mode-BCr-fyRr.js","assets/use-mobile-BkH8q52P.js","assets/FilterLines-B-9Tqd7m.js","assets/Globe01-DmADoGPI.js","assets/SearchMd-Q_sOOlOx.js","assets/dialog-BAajFxgb.js","assets/X-pkqCD6UJ.js","assets/AlertCircle-D-N2zo0t.js","assets/Upload01-iEqn2jOl.js","assets/alert-dialog-CCrCAp3W.js","assets/card-Bf5hIqR-.js","assets/Trash01-Dids5Odl.js","assets/label-TC44lPSR.js","assets/select-DkGjfHIq.js","assets/tooltip-BchavdQC.js","assets/ChevronDown-DB-nMQrk.js","assets/switch-Bdw-skzX.js","assets/textarea-DVwdpBob.js","assets/XCircle-CLiB0gTf.js","assets/checkbox-CrwWp9mY.js","assets/Eye-BAfEF8fF.js","assets/LinkExternal01-Di0_qTZx.js","assets/use-copy-Bt4sB3j7.js","assets/Copy01-BqsecaGs.js","assets/Key01-B7WRTr_v.js","assets/Plus-DXkuTrJe.js","assets/mcp-oauth-BccHUoE7.js","assets/Play-CV7tfmkl.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as m,b as n,e as c,j as t,i as p,r as l,aX as f}from"./index-Dq2w61kp.js";import{R as u}from"./require-capability-DKCGamzx.js";import"./use-capability-BPLt9L0U.js";import"./access-gate-DOjseIrY.js";import"./capability-load-error-be5cMIr1.js";const g=l.lazy(()=>f(()=>import("./registry-layout-R1Ywv9AF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46])));function j(){const e=m.c(5),i=n();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org"},e[0]=s):s=e[0];const{org:o}=c(s);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("div",{className:"h-full flex items-center justify-center",children:t.jsx(p,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=r):r=e[1];let a;return e[2]!==i||e[3]!==o?(a=t.jsx(u,{capability:"registry:manage",area:"the registry",children:t.jsx(l.Suspense,{fallback:r,children:t.jsx(g,{onBack:()=>i({to:"/$org/settings/store",params:{org:o}})})})}),e[2]=i,e[3]=o,e[4]=a):a=e[4],a}export{j as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./use-infinite-scroll-LuK278-n.js";import{dK as i}from"./index-Dq2w61kp.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./use-infinite-scroll-LuK278-n.js";import{dK as u,ab as n}from"./index-Dq2w61kp.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|