decocms 4.618.0 → 4.619.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-BYyFOifG.js → AlertCircle-CS5y5cdF.js} +1 -1
- package/dist/client/assets/{AreaChart-D6tyN032.js → AreaChart-6i9ddKAo.js} +1 -1
- package/dist/client/assets/{ArrowLeft-BQKI9I0k.js → ArrowLeft-CnpYebJt.js} +1 -1
- package/dist/client/assets/{ArrowRight-B21E_uc5.js → ArrowRight-CTIzvrRD.js} +1 -1
- package/dist/client/assets/{ArrowUp-BbdlU24N.js → ArrowUp-B_rPxUl3.js} +1 -1
- package/dist/client/assets/{BookOpen01-BUy5CVjC.js → BookOpen01-0vmOJP7K.js} +1 -1
- package/dist/client/assets/{CartesianChart-DDuspEUo.js → CartesianChart-BLh4dFJB.js} +1 -1
- package/dist/client/assets/{CategoricalChart-CclXOr_i.js → CategoricalChart-CwzUkCwO.js} +1 -1
- package/dist/client/assets/{CheckCircle-DtUq_uxu.js → CheckCircle-CVSsEuJs.js} +1 -1
- package/dist/client/assets/{ChevronDown-C0rME5fU.js → ChevronDown-BkddO6nk.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-BCjXLDN_.js → ChevronSelectorVertical-B_EPXu-J.js} +1 -1
- package/dist/client/assets/{ChevronUp-CIqW-9_W.js → ChevronUp-hmtO7NfN.js} +1 -1
- package/dist/client/assets/{CreditCard01-BGMvQi86.js → CreditCard01-CYAMo28t.js} +1 -1
- package/dist/client/assets/{Eye-DvysNEeS.js → Eye-NyWbd_Et.js} +1 -1
- package/dist/client/assets/{File02-Nky5bxni.js → File02-B0o8Z6Rd.js} +1 -1
- package/dist/client/assets/{Fingerprint04-DNoiAgrN.js → Fingerprint04-DFly9X11.js} +1 -1
- package/dist/client/assets/{Globe04--1ycu_yQ.js → Globe04-Bu51hlDK.js} +1 -1
- package/dist/client/assets/{Image01-BGZNkNVE.js → Image01-Xgs_5RZR.js} +1 -1
- package/dist/client/assets/{Key01-B7vuN73N.js → Key01-B6wydByr.js} +1 -1
- package/dist/client/assets/{LayoutLeft-DTjvUEMi.js → LayoutLeft-ww8XIIKY.js} +1 -1
- package/dist/client/assets/{LinkBroken01-w2HNuUHo.js → LinkBroken01-CothmVOv.js} +1 -1
- package/dist/client/assets/{MessageCircle01-BUz5eIR5.js → MessageCircle01-BoiiT0Ka.js} +1 -1
- package/dist/client/assets/{Minus-DhX2EjkJ.js → Minus-DjGZhteG.js} +1 -1
- package/dist/client/assets/{Monitor01-Dv4dKtFe.js → Monitor01-BnNa35fy.js} +1 -1
- package/dist/client/assets/{Play-BcRuLGoC.js → Play-DYcX2TsV.js} +1 -1
- package/dist/client/assets/{Plus-Bd_Azs6t.js → Plus-BlCDSK3_.js} +1 -1
- package/dist/client/assets/{ReferenceLine-B5a2JVy9.js → ReferenceLine-ysfQtWpe.js} +1 -1
- package/dist/client/assets/{SearchMd-DoUjFKDV.js → SearchMd-B2ZqlWzx.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-DsiPVRC3.js → ShoppingBag01-CO-Ik7_a.js} +1 -1
- package/dist/client/assets/{Sun-bgIMzv-s.js → Sun-C31h0XVy.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-BZWsjo2g.js → SwitchHorizontal01-B9krqVlE.js} +1 -1
- package/dist/client/assets/{Tool01-JC0jUvnM.js → Tool01-D_bTJJvK.js} +1 -1
- package/dist/client/assets/{Tooltip-DmnEut8_.js → Tooltip-BDg85pZn.js} +1 -1
- package/dist/client/assets/{Trash01-DUjxO1Dn.js → Trash01-CvVvZjMc.js} +1 -1
- package/dist/client/assets/{Upload01-BcZgaIHQ.js → Upload01-DAa882sM.js} +1 -1
- package/dist/client/assets/{UserCheck01-CHkzczFI.js → UserCheck01-B7Ux1cXt.js} +1 -1
- package/dist/client/assets/{UserSquare-D6ubIo4l.js → UserSquare-fSKR9s5Z.js} +1 -1
- package/dist/client/assets/{Users01-DOgFV3e5.js → Users01-CYXQ60-Z.js} +1 -1
- package/dist/client/assets/{XClose-CHJIrn3i.js → XClose-BvzwUB-E.js} +1 -1
- package/dist/client/assets/{Zap-6gSNYeqn.js → Zap-BALSokOc.js} +1 -1
- package/dist/client/assets/{access-gate-B30zL1q2.js → access-gate-JiR82oco.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-DgKMGv-9.js → add-connection-dialog-DYa3N2eg.js} +1 -1
- package/dist/client/assets/agent-app-Ccrencfm.js +1 -0
- package/dist/client/assets/{agent-assets-CamOcpgT.js → agent-assets-DThFx4M4.js} +1 -1
- package/dist/client/assets/{agent-automation-BfbO9Khi.js → agent-automation-BNyRdPpc.js} +1 -1
- package/dist/client/assets/{agent-automations-B4IdsMR9.js → agent-automations-DJGo3Vpm.js} +1 -1
- package/dist/client/assets/{agent-blog-Cafvmf-h.js → agent-blog-SWKAlIDs.js} +2 -2
- package/dist/client/assets/{agent-blog-post-Dqts0p9T.js → agent-blog-post-BMj1nG5H.js} +2 -2
- package/dist/client/assets/{agent-business-case-BhUa4Myx.js → agent-business-case-DWa8MdFx.js} +1 -1
- package/dist/client/assets/{agent-calendar-yZ-kBQTO.js → agent-calendar-Dc34MYin.js} +1 -1
- package/dist/client/assets/{agent-capabilities-CWtYqnIq.js → agent-capabilities-B0JydJjP.js} +1 -1
- package/dist/client/assets/{agent-connect-sources-D6NBeEEC.js → agent-connect-sources-BzvV2s_2.js} +1 -1
- package/dist/client/assets/agent-deck-t8ah4YL3.js +1 -0
- package/dist/client/assets/{agent-e2e-WoNG4ZEl.js → agent-e2e-CVKnE_cq.js} +1 -1
- package/dist/client/assets/agent-experiments-B6WL8a55.js +1 -0
- package/dist/client/assets/agent-file-DzOVJ5jJ.js +1 -0
- package/dist/client/assets/{agent-hosting-nth6pteI.js → agent-hosting-CzWiy0GX.js} +1 -1
- package/dist/client/assets/{agent-icon-zKGrqypc.js → agent-icon-qKbICqBE.js} +1 -1
- package/dist/client/assets/agent-library-CkWv-QK0.js +1 -0
- package/dist/client/assets/agent-library-file-BeuXNSru.js +1 -0
- package/dist/client/assets/agent-overview-vn0B99S2.js +1 -0
- package/dist/client/assets/{agent-releases-Bf5mW-Cb.js → agent-releases-DVlreX78.js} +1 -1
- package/dist/client/assets/agent-settings-C8Vbd4tx.js +1 -0
- package/dist/client/assets/{agent-site-editor-Cs2byz0P.js → agent-site-editor-BscJQYUu.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-znS9yeFa.js +2 -0
- package/dist/client/assets/agent-site-editor-content-DFaZauTr.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-Bshkv5l8.js +1 -0
- package/dist/client/assets/agent-view-DbsCo68i.js +1 -0
- package/dist/client/assets/{agent-view-guard-BlaaF4Tt.js → agent-view-guard-2l72ULUX.js} +1 -1
- package/dist/client/assets/ai-providers-BuJXSSAm.js +1 -0
- package/dist/client/assets/{alert-Bv1HVos8.js → alert-pq0Y8AC8.js} +1 -1
- package/dist/client/assets/{analytics-sections-BszcYb0J.js → analytics-sections-BcskhJEQ.js} +1 -1
- package/dist/client/assets/api-keys-C3uBLxjm.js +1 -0
- package/dist/client/assets/{api-keys-omOxFywl.js → api-keys-SpdE7FiC.js} +1 -1
- package/dist/client/assets/{app-editor-CrhcliiJ.js → app-editor-1yI1PePZ.js} +1 -1
- package/dist/client/assets/{asset-utils-C40NGt6S.js → asset-utils-tz_LHKas.js} +1 -1
- package/dist/client/assets/{auth-BbyP7Mh4.js → auth-AT-S53oU.js} +1 -1
- package/dist/client/assets/{auth-catchall-DC_pvXWR.js → auth-catchall-CFacQ3p_.js} +1 -1
- package/dist/client/assets/{auth-entry-DTt6oF6n.js → auth-entry-BuYf9qZf.js} +1 -1
- package/dist/client/assets/{auth-split-layout-D6lmqNl3.js → auth-split-layout-Bdnex8hf.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-Dv5K3sbt.js → authenticate-and-persist-oauth-BOJ6RO7H.js} +1 -1
- package/dist/client/assets/{automation-list-row-CVyxW8bA.js → automation-list-row-Du2hwkkk.js} +1 -1
- package/dist/client/assets/{automation-runs-DxzIf484.js → automation-runs-Bg2KLqhb.js} +1 -1
- package/dist/client/assets/{automations-D6gxCniS.js → automations-BJ-1CA9i.js} +1 -1
- package/dist/client/assets/{badge-DhCDyINb.js → badge-CFiK0EOx.js} +1 -1
- package/dist/client/assets/{block-document-DhUbHSJu.js → block-document-DUVkY9ea.js} +1 -1
- package/dist/client/assets/{blocks-preview-workspace-context-Bmn4QW94.js → blocks-preview-workspace-context-B9duZzas.js} +1 -1
- package/dist/client/assets/{blocks-tab-states-CtDx-TXT.js → blocks-tab-states-DC7kOtf6.js} +1 -1
- package/dist/client/assets/{blog-preview-url-C8ne1zjD.js → blog-preview-url-sQQ4EaTX.js} +1 -1
- package/dist/client/assets/{blog-schema-XbxpqD7n.js → blog-schema-jwHNvUT9.js} +1 -1
- package/dist/client/assets/{blog-source-gate--8e6WU5f.js → blog-source-gate-CdJyl3s4.js} +1 -1
- package/dist/client/assets/{blog-view-gate-5YPkAPHi.js → blog-view-gate-CH_KIbwu.js} +1 -1
- package/dist/client/assets/{buckets-mVuz76PR.js → buckets-B4_-T0ED.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-YaUfgVXc.js → build-improve-prompt-doc-BviIkkQs.js} +1 -1
- package/dist/client/assets/{calendar-BDRihgLI.js → calendar-C02ezVcS.js} +1 -1
- package/dist/client/assets/{capability-load-error-BUXjQvww.js → capability-load-error-C7VfNWgD.js} +1 -1
- package/dist/client/assets/{category-editor-DAZ1WajU.js → category-editor-DqRDNx2v.js} +1 -1
- package/dist/client/assets/{category-tree-9o5eAqGF.js → category-tree-dngYOFzN.js} +1 -1
- package/dist/client/assets/{chart-BD1DM8Vo.js → chart-D2etphpL.js} +1 -1
- package/dist/client/assets/chat-context-CvQ-sM5v.js +43 -0
- package/dist/client/assets/{chat-draft-BwCJJBjY.js → chat-draft-CPECGWWa.js} +1 -1
- package/dist/client/assets/{checkbox-BK5KAA6g.js → checkbox-DR7-Iy_E.js} +1 -1
- package/dist/client/assets/{choose-editor-Xa2hczm2.js → choose-editor-C-XxlJ7G.js} +1 -1
- package/dist/client/assets/{cli-auth-success-4m_qDet6.js → cli-auth-success-BvJuyvyk.js} +1 -1
- package/dist/client/assets/{cms-settings-editor-CT9mj3NU.js → cms-settings-editor-CTMXFNOv.js} +1 -1
- package/dist/client/assets/{cms-store-drafts-BZtc347l.js → cms-store-drafts-q3yACtXx.js} +1 -1
- package/dist/client/assets/{collapsible-Ff_HBxQZ.js → collapsible-BKxoPjIN.js} +1 -1
- package/dist/client/assets/{collection-detail-Da5T5FHc.js → collection-detail-iP9tRfV6.js} +1 -1
- package/dist/client/assets/{collection-display-button-Dsc8IsyJ.js → collection-display-button-BVsx6EDz.js} +1 -1
- package/dist/client/assets/{collection-search-C3yL3Si4.js → collection-search-CphnxlYD.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CC70QIiG.js → collection-table-wrapper-BfQjodPV.js} +1 -1
- package/dist/client/assets/{collection-tabs-Bw8ZEjbc.js → collection-tabs-C9T1HZQP.js} +1 -1
- package/dist/client/assets/{combobox-DhzcDPGN.js → combobox-BTP9T0Pc.js} +1 -1
- package/dist/client/assets/{command-C04_rx60.js → command-Cqqhh_W6.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-Cyom-mwN.js → companion-mcps-section-SEt2U7bz.js} +1 -1
- package/dist/client/assets/{config-CTUwx0E7.js → config-DGvqEncS.js} +1 -1
- package/dist/client/assets/{connect-key-x35pzj1P.js → connect-key-DVNtQy7y.js} +1 -1
- package/dist/client/assets/{connect-layout-CYxI3Ix2.js → connect-layout-sx7G_FMd.js} +1 -1
- package/dist/client/assets/{connect-BFJ96IAv.js → connect-obEE-StP.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-DW2Q7-Vc.js → connect-source-dialog-DnCXZ3Bm.js} +1 -1
- package/dist/client/assets/{connection-OrxsAVXu.js → connection-BZJlBrLd.js} +1 -1
- package/dist/client/assets/{connection-card-JSblTqum.js → connection-card-B8Lj_r0P.js} +1 -1
- package/dist/client/assets/{connection-detail-BDZh3nKl.js → connection-detail-CVYzedpa.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-D-61dVx3.js → connection-form-helpers-veDVCb9w.js} +1 -1
- package/dist/client/assets/{connection-slug-BxAeiVuI.js → connection-slug-DOi8cWyk.js} +1 -1
- package/dist/client/assets/{connections-Cm49J0DF.js → connections-k9zhxlcM.js} +1 -1
- package/dist/client/assets/{content-changes-Sy14c4Sj.js → content-changes-CFJfbWRJ.js} +1 -1
- package/dist/client/assets/{content-tab-B08qF9Ws.js → content-tab-Cq6li-sw.js} +3 -3
- package/dist/client/assets/{context-DWbB1_E6.js → context-DCQPaz03.js} +1 -1
- package/dist/client/assets/{context-menu-2WNbt8mp.js → context-menu-BfINdeF4.js} +1 -1
- package/dist/client/assets/{context-shell-CsxbLyhW.js → context-shell-DkTSiVhx.js} +3 -3
- package/dist/client/assets/{create-organization-dialog-Cmj0uZ47.js → create-organization-dialog-pttnLi8P.js} +1 -1
- package/dist/client/assets/{daily-pulse-C2a7jj6_.js → daily-pulse-BMeIrOO8.js} +1 -1
- package/dist/client/assets/{delete-copy-B_bYyZez.js → delete-copy-BI2Sd04D.js} +1 -1
- package/dist/client/assets/{device-hint-BT8_DhB_.js → device-hint-XFntojbN.js} +1 -1
- package/dist/client/assets/{discover-DqSkXP2Q.js → discover-DCJNP2ov.js} +1 -1
- package/dist/client/assets/{domain-settings-Cyu0iMV3.js → domain-settings-C369ETrU.js} +1 -1
- package/dist/client/assets/{drawer-BdL5OKVC.js → drawer-DtT_qu3U.js} +1 -1
- package/dist/client/assets/{editor-CUzd1SE7.js → editor-DpPPqPRR.js} +1 -1
- package/dist/client/assets/{editor-classes-1dg1pjaK.js → editor-classes-Bw4_cV_9.js} +1 -1
- package/dist/client/assets/{empty-state-9tWEtAox.js → empty-state-CWawuVzh.js} +1 -1
- package/dist/client/assets/{empty-state-CCe_gxuj.js → empty-state-l9Tatoxd.js} +1 -1
- package/dist/client/assets/{experiments-tab-choice-CvZgfB88.js → experiments-tab-choice-DLka__Fj.js} +1 -1
- package/dist/client/assets/{extract-connection-data-0MTwkkap.js → extract-connection-data-DjE1yVUY.js} +1 -1
- package/dist/client/assets/{feature-gate-BoNGlq-b.js → feature-gate-wF4resWq.js} +1 -1
- package/dist/client/assets/{feature-paywall-Bg-PT-Nn.js → feature-paywall-DF7aqMQM.js} +1 -1
- package/dist/client/assets/{file-explorer-DQI3RjrR.js → file-explorer-Bm3jEOW7.js} +1 -1
- package/dist/client/assets/{file-preview-pAXtoXVY.js → file-preview-p0rGgJtU.js} +1 -1
- package/dist/client/assets/{file-share-button-BpR0pG7Z.js → file-share-button-BAJCRraz.js} +1 -1
- package/dist/client/assets/{file-type-icon-BINq6pAJ.js → file-type-icon-CEKCIITa.js} +1 -1
- package/dist/client/assets/{folder-icon-JauS1zcB.js → folder-icon-DCqfnk5g.js} +1 -1
- package/dist/client/assets/{form-DINHcU5h.js → form-eUXxZ5Qg.js} +1 -1
- package/dist/client/assets/{frame-navigation-bHiDiNE9.js → frame-navigation-DlTZKvqt.js} +1 -1
- package/dist/client/assets/{gateway-client-BXoRIC2f.js → gateway-client-BYWq7W1f.js} +1 -1
- package/dist/client/assets/{general-KZQuDKZq.js → general-dOdvSQ1l.js} +1 -1
- package/dist/client/assets/{github-icon-DeI0LVM6.js → github-icon-PNZqrJY6.js} +1 -1
- package/dist/client/assets/{held-block-view-BplchR69.js → held-block-view-CPPtRU-n.js} +1 -1
- package/dist/client/assets/{home-BM2M0ir_.js → home-B2gF0aRT.js} +1 -1
- package/dist/client/assets/{home-overview-C7_beN9y.js → home-overview-DkyPJx_z.js} +1 -1
- package/dist/client/assets/{hosted-reconcile-zJ_hLbuq.js → hosted-reconcile-DEHcrXPf.js} +1 -1
- package/dist/client/assets/{icon-button-DTvCNNgw.js → icon-button-CfgrKbmG.js} +1 -1
- package/dist/client/assets/{index-C1HmbFkP.js → index-B1yf8QQv.js} +1 -1
- package/dist/client/assets/{index-DkgRE7a8.js → index-BHLuDBD-.js} +1 -1
- package/dist/client/assets/{index-cHqyigDN.js → index-BUHQM-fc.js} +1 -1
- package/dist/client/assets/{index-gkLejYlX.js → index-Bp_BkLlL.js} +1 -1
- package/dist/client/assets/{index-BE5pN4ch.js → index-CEoORQx_.js} +1 -1
- package/dist/client/assets/{index-DGzcH4Vq.js → index-CdR9qfQl.js} +1 -1
- package/dist/client/assets/{index-DpsRmOqH.js → index-CePbUNpp.js} +1 -1
- package/dist/client/assets/{index-Ctcj_Ic4.js → index-CorQG-PM.js} +1 -1
- package/dist/client/assets/{index-D4Cq4uu-.js → index-D9pnpNHk.js} +1 -1
- package/dist/client/assets/{index-KT7S-wXA.js → index-DQFWZMPO.js} +1 -1
- package/dist/client/assets/{index-B7VjCiRT.js → index-DYf9rJn2.js} +1 -1
- package/dist/client/assets/{index-DNY1LCEV.js → index-FRxLT_js.js} +5 -5
- package/dist/client/assets/{index-CxRoy25G.js → index-K-FtkPVI.js} +1 -1
- package/dist/client/assets/{index-BYAVvzAx.js → index-UwOo6lse.js} +1 -1
- package/dist/client/assets/{index-DOAcfhWB.js → index-VEcIOiWN.js} +1 -1
- package/dist/client/assets/{index-BpSAkv2Q.js → index-oOJhkPK6.js} +1 -1
- package/dist/client/assets/{index-redirect-D7g6EvmF.js → index-redirect-DVZANI8q.js} +1 -1
- package/dist/client/assets/{index-WY5skHFQ.js → index-xNvvPF5K.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-C58dnOYG.js → infiniteQueryObserver-CZ7GCbwa.js} +1 -1
- package/dist/client/assets/{infra-billing-PmBjX27u.js → infra-billing-CBaX0rFG.js} +1 -1
- package/dist/client/assets/{input-Biz1-kQq.js → input-B0jMF0e_.js} +1 -1
- package/dist/client/assets/{input-DW2VJfvP.js → input-DS1fkrsU.js} +3 -3
- package/dist/client/assets/{integration-icon-B7GQGDoQ.js → integration-icon-BTN_yWEk.js} +1 -1
- package/dist/client/assets/{item-actions-CigQSqIo.js → item-actions-iEQmPVrr.js} +1 -1
- package/dist/client/assets/{jira-icon-CNLkC5R4.js → jira-icon-DXOB8Lmw.js} +1 -1
- package/dist/client/assets/{label-BleuytxV.js → label-DKoCaul6.js} +1 -1
- package/dist/client/assets/{layout-BCbrxcxs.js → layout-DbhvOsyV.js} +1 -1
- package/dist/client/assets/{legacy-admin-welcome-dialog-B_mFKFt0.js → legacy-admin-welcome-dialog-B3iJcsKr.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-suvWZq4w.js → legacy-agents-deep-em6yOC_F.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-CqfpK3yi.js → legacy-main-redirect-CehX4Bni.js} +1 -1
- package/dist/client/assets/library-Dly_OLLg.js +1 -0
- package/dist/client/assets/{library-tab-B6-1oo-4.js → library-tab-ekrJ9bue.js} +1 -1
- package/dist/client/assets/{login-CIC76liy.js → login-DJDyJ1ju.js} +1 -1
- package/dist/client/assets/{markdown-D7s3zZ1r.js → markdown-we-cHxXq.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-xoRmsbxJ.js → mcp-app-renderer-BAfMgB1Z.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Bm9eowFy.js → mcp-oauth-Ci6yqFTl.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DdZ5iqUI.js → mcp-oauth-Ds0j31F2.js} +1 -1
- package/dist/client/assets/{members-BVDYMl5s.js → members-BcSHOsjX.js} +1 -1
- package/dist/client/assets/{memory-OIMax3Mf.js → memory-BowPTmEv.js} +1 -1
- package/dist/client/assets/{mock-board-DcJ7MEwz.js → mock-board-CW6QKw2v.js} +3 -3
- package/dist/client/assets/{monaco-editor-wJhgDEpd.js → monaco-editor-B5PTOxIz.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-BGw1gEqW.js → monitoring-stats-row-DJXMqCN0.js} +1 -1
- package/dist/client/assets/{monitoring-Dhz_4NNt.js → monitoring-xIY_IPi8.js} +1 -1
- package/dist/client/assets/{multi-select-j_cBBkSq.js → multi-select-DuNPPMuZ.js} +1 -1
- package/dist/client/assets/{mustache-ByNI-hYL.js → mustache-Bwl2DYO1.js} +1 -1
- package/dist/client/assets/{named-rule-step-CIgwVXN9.js → named-rule-step-DS5kGuIs.js} +1 -1
- package/dist/client/assets/{named-rule-view-QjZFYuFQ.js → named-rule-view-Z5BTjESF.js} +1 -1
- package/dist/client/assets/{new-project-dialog-B8SVDcTm.js → new-project-dialog-HgjtDq4l.js} +1 -1
- package/dist/client/assets/{new-project-store-rLMUNU2t.js → new-project-store-CKvMs4hG.js} +1 -1
- package/dist/client/assets/{oauth-callback-BCJ9lzNV.js → oauth-callback-DmgNmP6n.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DUTt9OdA.js → oauth-callback-ai-provider-CSpD6uGn.js} +1 -1
- package/dist/client/assets/{oauth-consent-aERAtVyD.js → oauth-consent-Cr-15ieV.js} +1 -1
- package/dist/client/assets/{onboarding-BEeDAE1n.js → onboarding-Ete3lfiA.js} +1 -1
- package/dist/client/assets/{openai-conversation-CalrcjOi.js → openai-conversation-BCGRvpnO.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-gHKEu9Pp.js → optimistic-project-sidebar-views-B_55Z4kz.js} +1 -1
- package/dist/client/assets/{order-monitor-day-BMsq7ZVq.js → order-monitor-day-Clbe0SA4.js} +1 -1
- package/dist/client/assets/{organization-choice-Dumfb2MT.js → organization-choice-B_iJSsFB.js} +1 -1
- package/dist/client/assets/{orgs-BaQBoOtD.js → orgs-BFePKqBY.js} +1 -1
- package/dist/client/assets/{own-accounts-section-CYaA86cP.js → own-accounts-section-CSwSnoe4.js} +1 -1
- package/dist/client/assets/{pair-Bb6oWjIQ.js → pair-DhT-6yBR.js} +1 -1
- package/dist/client/assets/{parse-sections-Dru7Bhw3.js → parse-sections-BZeGOsxE.js} +2 -2
- package/dist/client/assets/plan-BO0tgjWI.js +1 -0
- package/dist/client/assets/{plan-ladder-DCMpCI9t.js → plan-ladder-aYguFL8S.js} +1 -1
- package/dist/client/assets/{plan-page-DhlVp1jr.js → plan-page-B07fHd07.js} +1 -1
- package/dist/client/assets/{plan-usage-card-b1xfvJA5.js → plan-usage-card-D_4-ZHg-.js} +1 -1
- package/dist/client/assets/{popover-O0--zxB3.js → popover-BI-lpUhu.js} +1 -1
- package/dist/client/assets/{post-calendar-TZVPBEms.js → post-calendar-Bh8YSwE0.js} +1 -1
- package/dist/client/assets/{post-editor-CjdfbpGv.js → post-editor-BbMWUU2h.js} +1 -1
- package/dist/client/assets/{preview-content-Cb6-Hnk_.js → preview-content-c-gz2Si_.js} +1 -1
- package/dist/client/assets/{preview-dialog-CeEvmRUv.js → preview-dialog-BFH4K3zp.js} +1 -1
- package/dist/client/assets/{preview-panel-DLXxpwqH.js → preview-panel-5axMxyLP.js} +1 -1
- package/dist/client/assets/{preview-tab-h0moNltj.js → preview-tab-DrWOVhIi.js} +3 -3
- package/dist/client/assets/{primitives-B_wOu0KD.js → primitives-phHVGNAI.js} +1 -1
- package/dist/client/assets/{product-picker-dialog-BBGqgaUN.js → product-picker-dialog-BJO35u0n.js} +1 -1
- package/dist/client/assets/{profile-DXP_cVu3.js → profile-1_I-_x94.js} +1 -1
- package/dist/client/assets/{project-app-view-Df72eQDp.js → project-app-view-TcCrX4oT.js} +1 -1
- package/dist/client/assets/{project-apps-D0yVssTS.js → project-apps-55s0I8iz.js} +1 -1
- package/dist/client/assets/{project-icon-Bys_QVfz.js → project-icon-piFAIvmP.js} +1 -1
- package/dist/client/assets/{project-index-D8QhEEmc.js → project-index-C209sCKL.js} +1 -1
- package/dist/client/assets/project-reports-_pvoxKuL.js +1 -0
- package/dist/client/assets/project-tasks-TZDHHmpj.js +1 -0
- package/dist/client/assets/{projects-DLDVeooh.js → projects-DJz5LDl0.js} +1 -1
- package/dist/client/assets/{projects-empty-state-BYfzt1p6.js → projects-empty-state-Bjbej4Jx.js} +1 -1
- package/dist/client/assets/{prompts-RK2BST5w.js → prompts-C3wMciT-.js} +1 -1
- package/dist/client/assets/record-editor-CEpespPR.js +1 -0
- package/dist/client/assets/{redirect-editor-CvpFIhP3.js → redirect-editor-CXYG17gC.js} +1 -1
- package/dist/client/assets/{reports-DiiYMFp7.js → reports-BAWCIXn8.js} +1 -1
- package/dist/client/assets/reports-CPxs2BgN.js +1 -0
- package/dist/client/assets/{reports-onboarding-CoRYS8wo.js → reports-onboarding-B3L3kaVX.js} +1 -1
- package/dist/client/assets/{reports-tab-BoI6tcUT.js → reports-tab-UTeYJ_79.js} +2 -2
- package/dist/client/assets/repositories-Bj1ogpqH.js +1 -0
- package/dist/client/assets/{repositories-dckrDwEU.js → repositories-Dj3HbYDX.js} +1 -1
- package/dist/client/assets/{repository-binding-0rqv5CYu.js → repository-binding-DjFY5b0y.js} +1 -1
- package/dist/client/assets/{repository-picker-8sFtA2jE.js → repository-picker-BHJB5432.js} +1 -1
- package/dist/client/assets/{require-capability-GB4QCUSY.js → require-capability-BtI4Tyqp.js} +1 -1
- package/dist/client/assets/{required-auth-layout-9Vw9oHyS.js → required-auth-layout-ChAYpVpn.js} +1 -1
- package/dist/client/assets/{reset-password-Bkf_fwQB.js → reset-password-CtG7aWDw.js} +1 -1
- package/dist/client/assets/{resizable-BycP7e00.js → resizable-BL8CU-aJ.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-B49st38Z.js → resolve-tab-icon-Ds9JNWyg.js} +1 -1
- package/dist/client/assets/{review-settings-AaM16RjA.js → review-settings-DNfSW4xg.js} +1 -1
- package/dist/client/assets/{role-color-CilFDy12.js → role-color-Kmb8GwCh.js} +1 -1
- package/dist/client/assets/{roles-BN919U7y.js → roles-DXacyEKl.js} +1 -1
- package/dist/client/assets/route-ChWaxiqL.js +1 -0
- package/dist/client/assets/{route-CH_5nuP_.js → route-CvOWJgQ8.js} +1 -1
- package/dist/client/assets/{route-BcZK3YCw.js → route-DhGhu9Ec.js} +1 -1
- package/dist/client/assets/{route-page-header-DpWJFSUF.js → route-page-header-D4_8Ct3f.js} +1 -1
- package/dist/client/assets/{sandbox-git-api-CG9RWp1R.js → sandbox-git-api-CuR5rUpq.js} +1 -1
- package/dist/client/assets/{sandbox-lifecycle-context-B2ggxGXu.js → sandbox-lifecycle-context-Bt4OsDeb.js} +1 -1
- package/dist/client/assets/{save-status-BQkBpUbv.js → save-status-DbwiLwGt.js} +1 -1
- package/dist/client/assets/{schema-JoNeetSU.js → schema-D1mfj_VD.js} +1 -1
- package/dist/client/assets/{schema-UfVOE_vK.js → schema-DFMNr5Cf.js} +1 -1
- package/dist/client/assets/{scroll-area-vXLoyQQw.js → scroll-area-BBpO5xX_.js} +1 -1
- package/dist/client/assets/{search-input-CazoQHCn.js → search-input-Dij8WCfy.js} +1 -1
- package/dist/client/assets/{search-toggle-om107pCr.js → search-toggle-BJsu_1mi.js} +1 -1
- package/dist/client/assets/{secret-picker-BUV633yj.js → secret-picker-D6eOapYQ.js} +1 -1
- package/dist/client/assets/{secrets-DGpgtf7U.js → secrets-ctTTJkDR.js} +1 -1
- package/dist/client/assets/{section-array-field-B5wOOl5Q.js → section-array-field-D4XW_wJ4.js} +1 -1
- package/dist/client/assets/{sections-BuMIRgN_.js → sections-B5mL2aQs.js} +1 -1
- package/dist/client/assets/{sections-editor-JNsgN9Jp.js → sections-editor-Dx_9N0tS.js} +1 -1
- package/dist/client/assets/{select-BtuZ1_PE.js → select-D5aPAOxI.js} +1 -1
- package/dist/client/assets/{select-model-D2eRzxwR.js → select-model-3J7FOs0F.js} +1 -1
- package/dist/client/assets/{seo-editor-CnvOLI1T.js → seo-editor-DP1v2Hug.js} +1 -1
- package/dist/client/assets/{separator-CDpQOaDp.js → separator-Dy_gHFOY.js} +1 -1
- package/dist/client/assets/{session-runtime-C9K2fhXt.js → session-runtime-CVF2LvNW.js} +1 -1
- package/dist/client/assets/settings-tab-BI3y61p6.js +1 -0
- package/dist/client/assets/{sheet-BclrNEHN.js → sheet-Dps_OtzY.js} +1 -1
- package/dist/client/assets/{shell-layout-B0CrobX4.js → shell-layout-B7ONrK1S.js} +1 -1
- package/dist/client/assets/{site-draft-actions-CKyxePcd.js → site-draft-actions-DhANjN0X.js} +1 -1
- package/dist/client/assets/{site-draft-view-DITfvlDo.js → site-draft-view-BYqJs7J2.js} +1 -1
- package/dist/client/assets/site-editor-0AMhqN9R.js +1 -0
- package/dist/client/assets/{site-editor-toast-ByfMLHrL.js → site-editor-toast-D2oMdvIY.js} +1 -1
- package/dist/client/assets/{skills-UpHMjGzP.js → skills-DxDybFRs.js} +1 -1
- package/dist/client/assets/{slider-BccigXwM.js → slider-w4rF_qju.js} +1 -1
- package/dist/client/assets/{sortable.esm-LMzGz7vy.js → sortable.esm-MHH13t78.js} +1 -1
- package/dist/client/assets/{sso-BOXfHaVK.js → sso-Dl9I7AOe.js} +1 -1
- package/dist/client/assets/{suggestion-6kwzt7Yb.js → suggestion-SjSKJeBU.js} +1 -1
- package/dist/client/assets/{super-agent-icon-z6Ee2KPL.js → super-agent-icon-Cc4Ciwsy.js} +1 -1
- package/dist/client/assets/{switch-DVmURNlF.js → switch-CEzsWFkp.js} +1 -1
- package/dist/client/assets/{synced-repos-J7N806y3.js → synced-repos-CNS7qyVv.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-D6HWUMfv.js → tab-icon-glyph-BJZJf5lc.js} +1 -1
- package/dist/client/assets/{table-Dfn_tXRY.js → table-DdZpQzqo.js} +1 -1
- package/dist/client/assets/{tabs-DzZuOsBG.js → tabs-JKAPr-O4.js} +1 -1
- package/dist/client/assets/{task-board-B6w6sUwb.js → task-board-B_oKjzEP.js} +1 -1
- package/dist/client/assets/{task-key-DwKgVgaG.js → task-key-BWDMUi9g.js} +1 -1
- package/dist/client/assets/{task-route-DILYUxw7.js → task-route-Cr6uckKl.js} +1 -1
- package/dist/client/assets/{task-status-CWjPA6gQ.js → task-status-BkYGOB1i.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-D8X9MO7l.js → taskboard-analytics-nugCG6C8.js} +1 -1
- package/dist/client/assets/tasks-9sGiiD4G.js +1 -0
- package/dist/client/assets/{tasks-BWMxQc4P.js → tasks-DGRvo6F8.js} +1 -1
- package/dist/client/assets/{textarea-BS-fwvE3.js → textarea-Cipr2aDL.js} +1 -1
- package/dist/client/assets/{thread-analytics-BEFAIWhI.js → thread-analytics-CUyAWSkz.js} +1 -1
- package/dist/client/assets/{thread-button-CCXdzpOs.js → thread-button-DEmMau3d.js} +1 -1
- package/dist/client/assets/{thread-intent-Dmqjim4G.js → thread-intent-CoFgTbor.js} +1 -1
- package/dist/client/assets/{thread-route-DFPY6b9-.js → thread-route-BRmRa2CS.js} +1 -1
- package/dist/client/assets/{thread-route-BMQ7FfFy.js → thread-route-TTLcBPLy.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-D_58wlnB.js → thread-sheet-body-DU2O97KV.js} +1 -1
- package/dist/client/assets/{time-range-picker-DVPzF6pR.js → time-range-picker-CBoxldZD.js} +1 -1
- package/dist/client/assets/{toggle-group-BSOB6hW8.js → toggle-group-4Uqc6vzQ.js} +1 -1
- package/dist/client/assets/{tool-set-selector-D9iHbEUH.js → tool-set-selector-DoFKwoWc.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-B2FJhjHB.js → toolbar-icon-button-DnvtDhiO.js} +1 -1
- package/dist/client/assets/{tooltip-DEqrMv7W.js → tooltip-C6OYlSV-.js} +1 -1
- package/dist/client/assets/{tooltipContext-BbljAPKp.js → tooltipContext-D2O58pOO.js} +1 -1
- package/dist/client/assets/{track-Bp6zOhD6.js → track-D2uS6dpC.js} +1 -1
- package/dist/client/assets/{types-mnHt7RAy.js → types-cOzCnmYI.js} +1 -1
- package/dist/client/assets/{url-slug-BNPYObW-.js → url-slug-DgA17VrJ.js} +1 -1
- package/dist/client/assets/{usage-stats-PE4G0CeB.js → usage-stats-X4jMwPwX.js} +1 -1
- package/dist/client/assets/use-ai-providers-BDyMN-N5.js +1 -0
- package/dist/client/assets/{use-api-keys-C3mHEKzm.js → use-api-keys-CsFZ7MWC.js} +1 -1
- package/dist/client/assets/{use-apply-named-rule-C6ts9bt2.js → use-apply-named-rule-CnSwu1YP.js} +1 -1
- package/dist/client/assets/use-ask-in-chat-C_ce63qF.js +1 -0
- package/dist/client/assets/{use-automations-LOYHDjb3.js → use-automations-DGxEZMH1.js} +1 -1
- package/dist/client/assets/{use-autosave-CLPruo2u.js → use-autosave-JaDxGSls.js} +1 -1
- package/dist/client/assets/use-blocks-v8-project-DA-pr0Uy.js +1 -0
- package/dist/client/assets/use-blog-view-DhODFkA8.js +1 -0
- package/dist/client/assets/{use-chat-layout-state-Dx_P1Xmx.js → use-chat-layout-state-D4d4l3oL.js} +1 -1
- package/dist/client/assets/{use-cms-publish-actions-_ZdSdw_1.js → use-cms-publish-actions-CdubuGTA.js} +1 -1
- package/dist/client/assets/{use-connect-companion-DQq6EgX3.js → use-connect-companion-DCQqrJld.js} +1 -1
- package/dist/client/assets/{use-connection-DW1VkUDp.js → use-connection-DoUaPNkI.js} +1 -1
- package/dist/client/assets/{use-content-sync-DadcVTeN.js → use-content-sync-Cxyhqioh.js} +1 -1
- package/dist/client/assets/{use-copy-D1Ps751Y.js → use-copy-nYlH4I4g.js} +1 -1
- package/dist/client/assets/{use-current-view-DTeimNo3.js → use-current-view-1HEoI3qR.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-D0UHCWV7.js → use-date-fns-locale-DxgiZ7Lq.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DYsdj7A1.js → use-debounced-autosave-Bi5JPKsx.js} +1 -1
- package/dist/client/assets/{use-debounced-value-Cj3YP2Ju.js → use-debounced-value-ZpPSvQwP.js} +1 -1
- package/dist/client/assets/{use-deco-credits-1ccyr4DS.js → use-deco-credits-DcRWtP9o.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-qTcqpluN.js → use-decopilot-events-B-T0Hrvx.js} +1 -1
- package/dist/client/assets/{use-delete-block-DeCae--m.js → use-delete-block-DP79Au-4.js} +1 -1
- package/dist/client/assets/{use-delete-connection-Ddr1KxTc.js → use-delete-connection-4Fx-JLmK.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-CmLloBgI.js → use-deployment-admin-BmC0uFFM.js} +1 -1
- package/dist/client/assets/{use-entitlements-BaQvjR8x.js → use-entitlements-CmxoG1H2.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-Bx6WUO99.js → use-fast-preview-draft-url-DXFM6T8R.js} +1 -1
- package/dist/client/assets/{use-file-configs-J6V_3k5a.js → use-file-configs-Wy-M6u4j.js} +1 -1
- package/dist/client/assets/{use-id-selection-DKtNLyFh.js → use-id-selection-65R8Y0Rr.js} +1 -1
- package/dist/client/assets/{use-in-settings-WKil-W1U.js → use-in-settings-CG5n8E8Q.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-BHASI7cE.js → use-inbox-feed-DxcWHUtc.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BCAJFUTI.js → use-infinite-scroll-DxkQp5Qv.js} +1 -1
- package/dist/client/assets/{use-join-requests-BVkKaLgc.js → use-join-requests-CyJQy1RH.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-BmS9u6Cm.js → use-main-panel-tabs-DJGu6nFZ.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-WaulxB9m.js → use-mcp-auth-status-BabDSoXH.js} +1 -1
- package/dist/client/assets/{use-mcp-client-XSpKurXu.js → use-mcp-client-rOHZbD3Y.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-Bs2ZYPMm.js → use-mcp-prompts-Cq6mpthN.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-C_TsO2I8.js → use-mcp-tools-DfFo5hFt.js} +1 -1
- package/dist/client/assets/{use-mobile-BxcOWRrF.js → use-mobile-eRuVOAzy.js} +1 -1
- package/dist/client/assets/{use-move-blocks-B_TQedwE.js → use-move-blocks-DWNb-nFG.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-D9QHHZbU.js → use-navigate-to-agent-CoxxT5G0.js} +1 -1
- package/dist/client/assets/{use-never-published-CchQezqP.js → use-never-published-ZzuVsx8k.js} +1 -1
- package/dist/client/assets/{use-org-fs-B4WWFHbJ.js → use-org-fs-Bjw5czAm.js} +1 -1
- package/dist/client/assets/{use-org-notice-CuExaYhO.js → use-org-notice-QAyxiINx.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-KiPPmYc8.js → use-org-repo-syncs-CvKMwzFX.js} +1 -1
- package/dist/client/assets/{use-org-sso-BU8x_N9w.js → use-org-sso-CFsTaV-A.js} +1 -1
- package/dist/client/assets/{use-organization-settings-BCnB7DAB.js → use-organization-settings-BQz13Hmn.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-CRTRFR_W.js → use-panel-navigate-DRtgWUMv.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-DNQAebLP.js → use-project-native-view-presence-BIFke35D.js} +1 -1
- package/dist/client/assets/{use-project-scope-AQre_lGB.js → use-project-scope-BEEh5L8P.js} +1 -1
- package/dist/client/assets/{use-recent-apps-TNv8uCPr.js → use-recent-apps-DnI5Ea5w.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-BblOLKh2.js → use-reports-diagnostic-KjDTU46X.js} +1 -1
- package/dist/client/assets/{use-sandbox-events-CDzu8MpI.js → use-sandbox-events-B1e4GG__.js} +1 -1
- package/dist/client/assets/{use-secrets-BS48xwT8.js → use-secrets-DG4KpaBa.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-DKzaRrN2.js → use-section-preview-base-CTUunTIy.js} +1 -1
- package/dist/client/assets/{use-sidebar-collapsed-DhXPD56p.js → use-sidebar-collapsed-Cvh_KEOx.js} +1 -1
- package/dist/client/assets/{use-tags-DZB3cOG6.js → use-tags-oUXL8Eao.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-BJUgitsX.js → use-task-board-analytics-CY3DJsc5.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-BRhTw2_C.js → use-task-board-item-prs-DSrWn6bY.js} +1 -1
- package/dist/client/assets/{use-task-board-items-ClS47WXt.js → use-task-board-items-BbyDm5G0.js} +1 -1
- package/dist/client/assets/{use-task-board-prompts-CLIPLPO_.js → use-task-board-prompts-CqjpsSVo.js} +1 -1
- package/dist/client/assets/{use-task-metadata-D_A2WmqA.js → use-task-metadata-BYbicOrw.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-DqTcUmJ7.js → use-thread-outputs-OIyH_XWf.js} +1 -1
- package/dist/client/assets/{use-view-draft-kind-BtTSFIlo.js → use-view-draft-kind-BaIs6zLO.js} +1 -1
- package/dist/client/assets/use-voice-input-IeU241I1.js +1 -0
- package/dist/client/assets/useInfiniteQuery-D_gObArx.js +1 -0
- package/dist/client/assets/{useQueries-CY78CcHi.js → useQueries-D35FEy3E.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DTGymExJ.js +1 -0
- package/dist/client/assets/{users-B7RH0HPb.js → users-D7EeASCC.js} +1 -1
- package/dist/client/assets/{utils-CeyBwb4E.js → utils-CfyLtUqt.js} +1 -1
- package/dist/client/assets/{variant-calendar-CbNvuhgP.js → variant-calendar-C6gDTqNE.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-WW9vsYwt.js → variant-matcher-override-BugDO5Is.js} +1 -1
- package/dist/client/assets/{view-header-D-W3mMsY.js → view-header-BpDzpk8m.js} +1 -1
- package/dist/client/assets/{virtual-mcp-DFMEmmYR.js → virtual-mcp-DFw2lKMC.js} +1 -1
- package/dist/client/assets/{watch-sse-pool-CLN8yu6T.js → watch-sse-pool-DGsiEkeQ.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/server.js +651 -651
- package/package.json +1 -1
- package/dist/client/assets/agent-app-BVo-JN5-.js +0 -1
- package/dist/client/assets/agent-deck-BV2v1bg2.js +0 -1
- package/dist/client/assets/agent-experiments-Dn6ATqm3.js +0 -1
- package/dist/client/assets/agent-file-BdlM9DC-.js +0 -1
- package/dist/client/assets/agent-library-CRndyLSN.js +0 -1
- package/dist/client/assets/agent-library-file-CHMBjLP9.js +0 -1
- package/dist/client/assets/agent-overview-0qKuyyc3.js +0 -1
- package/dist/client/assets/agent-settings-BhODPzv3.js +0 -1
- package/dist/client/assets/agent-site-editor-code-Cf9FJAgn.js +0 -2
- package/dist/client/assets/agent-site-editor-content-CBrR-oWD.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-DKqXk_Fc.js +0 -1
- package/dist/client/assets/agent-view-B6-XGf3q.js +0 -1
- package/dist/client/assets/ai-providers-DtnDf2l2.js +0 -1
- package/dist/client/assets/api-keys-BWBRmUoJ.js +0 -1
- package/dist/client/assets/chat-context-DHSww0cO.js +0 -43
- package/dist/client/assets/library-Dp3HrH7T.js +0 -1
- package/dist/client/assets/plan-CEsNJEgV.js +0 -1
- package/dist/client/assets/project-reports-DF_CqS1r.js +0 -1
- package/dist/client/assets/project-tasks-BiRpzten.js +0 -1
- package/dist/client/assets/record-editor-D7wKjKze.js +0 -1
- package/dist/client/assets/reports-CAZ7fJej.js +0 -1
- package/dist/client/assets/repositories-DhWmEVga.js +0 -1
- package/dist/client/assets/route-ZfCX71Dd.js +0 -1
- package/dist/client/assets/settings-tab-DXCgvlZo.js +0 -1
- package/dist/client/assets/site-editor-CRBSEbgW.js +0 -1
- package/dist/client/assets/tasks-B5T10R9U.js +0 -1
- package/dist/client/assets/use-ai-providers-DuE4C2Wp.js +0 -1
- package/dist/client/assets/use-ask-in-chat-ClsOxWIw.js +0 -1
- package/dist/client/assets/use-blocks-v8-project-GPjsiHKH.js +0 -1
- package/dist/client/assets/use-blog-view-BjBkHa1n.js +0 -1
- package/dist/client/assets/use-voice-input-BXFfCREB.js +0 -1
- package/dist/client/assets/useInfiniteQuery-jSvPkUAC.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DQoY99kG.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-CIC76liy.js","assets/auth-entry-DTt6oF6n.js","assets/Fingerprint04-DNoiAgrN.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-D6lmqNl3.js","assets/legacy-admin-welcome-dialog-B_mFKFt0.js","assets/drawer-BdL5OKVC.js","assets/use-mobile-BxcOWRrF.js","assets/cli-auth-success-4m_qDet6.js","assets/oauth-callback-BCJ9lzNV.js","assets/mcp-oauth-Bm9eowFy.js","assets/auth-BbyP7Mh4.js","assets/oauth-consent-aERAtVyD.js","assets/layout-BCbrxcxs.js","assets/required-auth-layout-9Vw9oHyS.js","assets/use-deployment-admin-CmLloBgI.js","assets/users-B7RH0HPb.js","assets/collection-table-wrapper-CC70QIiG.js","assets/table-Dfn_tXRY.js","assets/ArrowUp-BbdlU24N.js","assets/empty-state-CCe_gxuj.js","assets/search-input-CazoQHCn.js","assets/SearchMd-DoUjFKDV.js","assets/badge-DhCDyINb.js","assets/use-debounced-value-Cj3YP2Ju.js","assets/admin-fetch-BhTJlAsX.js","assets/orgs-BaQBoOtD.js","assets/label-BleuytxV.js","assets/select-BtuZ1_PE.js","assets/index-BdQq_4o_.js","assets/index-D4Cq4uu-.js","assets/ChevronDown-C0rME5fU.js","assets/ChevronUp-CIqW-9_W.js","assets/switch-DVmURNlF.js","assets/textarea-BS-fwvE3.js","assets/roles-DW32thi2.js","assets/schema-UfVOE_vK.js","assets/prompts-RK2BST5w.js","assets/shell-layout-B0CrobX4.js","assets/Globe04--1ycu_yQ.js","assets/UserSquare-D6ubIo4l.js","assets/agent-icon-zKGrqypc.js","assets/AlertCircle-BYyFOifG.js","assets/UserCheck01-CHkzczFI.js","assets/Tool01-JC0jUvnM.js","assets/ArrowLeft-BQKI9I0k.js","assets/ArrowRight-B21E_uc5.js","assets/BookOpen01-BUy5CVjC.js","assets/CheckCircle-DtUq_uxu.js","assets/ChevronSelectorVertical-BCjXLDN_.js","assets/LinkBroken01-w2HNuUHo.js","assets/CreditCard01-BGMvQi86.js","assets/File02-Nky5bxni.js","assets/MessageCircle01-BUz5eIR5.js","assets/SwitchHorizontal01-BZWsjo2g.js","assets/Eye-DvysNEeS.js","assets/Image01-BGZNkNVE.js","assets/Key01-B7vuN73N.js","assets/LayoutLeft-DTjvUEMi.js","assets/Minus-DhX2EjkJ.js","assets/Monitor01-Dv4dKtFe.js","assets/Sun-bgIMzv-s.js","assets/Play-BcRuLGoC.js","assets/Plus-Bd_Azs6t.js","assets/ShoppingBag01-DsiPVRC3.js","assets/Trash01-DUjxO1Dn.js","assets/Upload01-BcZgaIHQ.js","assets/Users01-DOgFV3e5.js","assets/XClose-CHJIrn3i.js","assets/Zap-6gSNYeqn.js","assets/use-org-notice-CuExaYhO.js","assets/thread-intent-Dmqjim4G.js","assets/use-mcp-client-XSpKurXu.js","assets/watch-sse-pool-CLN8yu6T.js","assets/task-board-B6w6sUwb.js","assets/session-runtime-C9K2fhXt.js","assets/use-project-scope-AQre_lGB.js","assets/repository-binding-0rqv5CYu.js","assets/use-panel-navigate-CRTRFR_W.js","assets/thread-route-BMQ7FfFy.js","assets/command-C04_rx60.js","assets/index-DGzcH4Vq.js","assets/integration-icon-B7GQGDoQ.js","assets/project-icon-Bys_QVfz.js","assets/use-navigate-to-agent-D9QHHZbU.js","assets/new-project-dialog-B8SVDcTm.js","assets/repository-picker-8sFtA2jE.js","assets/tooltip-DEqrMv7W.js","assets/github-icon-DeI0LVM6.js","assets/useInfiniteQuery-jSvPkUAC.js","assets/infiniteQueryObserver-C58dnOYG.js","assets/collection-search-C3yL3Si4.js","assets/use-organization-settings-BCnB7DAB.js","assets/new-project-store-rLMUNU2t.js","assets/use-view-draft-kind-BtTSFIlo.js","assets/use-blog-view-BjBkHa1n.js","assets/use-org-sso-BU8x_N9w.js","assets/shell-layout-CE2Eihra.css","assets/onboarding-BEeDAE1n.js","assets/organization-choice-Dumfb2MT.js","assets/reports-onboarding-CoRYS8wo.js","assets/site-url-en5df9c-.js","assets/create-organization-dialog-Cmj0uZ47.js","assets/form-DINHcU5h.js","assets/companion-mcps-section-Cyom-mwN.js","assets/use-connect-companion-DQq6EgX3.js","assets/companions-core-DhUD88pR.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-C58hYmYC.js","assets/icon-button-DTvCNNgw.js","assets/useQueries-CY78CcHi.js","assets/authenticate-and-persist-oauth-Dv5K3sbt.js","assets/mcp-oauth-DdZ5iqUI.js","assets/track-Bp6zOhD6.js","assets/extract-connection-data-0MTwkkap.js","assets/connection-OrxsAVXu.js","assets/url-slug-BNPYObW-.js","assets/self-tool-result-8OxPN9Nm.js","assets/site-error-Da6iapvu.js","assets/choose-editor-Xa2hczm2.js","assets/site-editor-CRBSEbgW.js","assets/chat-context-DHSww0cO.js","assets/use-entitlements-BaQvjR8x.js","assets/use-ai-providers-DuE4C2Wp.js","assets/use-current-view-DTeimNo3.js","assets/use-in-settings-WKil-W1U.js","assets/use-decopilot-events-qTcqpluN.js","assets/use-org-fs-B4WWFHbJ.js","assets/index-BpSAkv2Q.js","assets/thread-button-CCXdzpOs.js","assets/use-sidebar-collapsed-DhXPD56p.js","assets/sheet-BclrNEHN.js","assets/use-chat-layout-state-Dx_P1Xmx.js","assets/toolbar-icon-button-B2FJhjHB.js","assets/resizable-BycP7e00.js","assets/route-page-header-DpWJFSUF.js","assets/index-DpsRmOqH.js","assets/task-key-DwKgVgaG.js","assets/sortable.esm-LMzGz7vy.js","assets/context-menu-2WNbt8mp.js","assets/project-apps-D0yVssTS.js","assets/use-recent-apps-TNv8uCPr.js","assets/feedback-BqoIMOg7.js","assets/blocks-preview-workspace-context-Bmn4QW94.js","assets/site-editor-toast-ByfMLHrL.js","assets/content-changes-Sy14c4Sj.js","assets/sandbox-url-D3mC8qhT.js","assets/use-sandbox-events-CDzu8MpI.js","assets/use-blocks-v8-project-GPjsiHKH.js","assets/use-voice-input-BXFfCREB.js","assets/popover-O0--zxB3.js","assets/index-cHqyigDN.js","assets/checkbox-BK5KAA6g.js","assets/ai-providers-logos-DD3qZ33J.js","assets/openai-compatible-presets-BKGfVqEx.js","assets/utils-CeyBwb4E.js","assets/sandbox-git-api-CG9RWp1R.js","assets/preview-tab-h0moNltj.js","assets/save-status-BQkBpUbv.js","assets/use-never-published-CchQezqP.js","assets/hosted-reconcile-zJ_hLbuq.js","assets/blocks-tab-states-CtDx-TXT.js","assets/tabs-DzZuOsBG.js","assets/active-indicator-CCMhAsc_.js","assets/use-file-configs-J6V_3k5a.js","assets/asset-utils-C40NGt6S.js","assets/usage-stats-PE4G0CeB.js","assets/utils-CVEq3hMx.js","assets/markdown-D7s3zZ1r.js","assets/use-copy-D1Ps751Y.js","assets/gateway-client-BXoRIC2f.js","assets/toggle-group-BSOB6hW8.js","assets/match-site-slug-config-B47_xZCi.js","assets/sandbox-lifecycle-context-B2ggxGXu.js","assets/sandbox-start-errors-BK_aDCyt.js","assets/frame-navigation-bHiDiNE9.js","assets/variant-matcher-override-WW9vsYwt.js","assets/section-array-field-B5wOOl5Q.js","assets/use-fast-preview-draft-url-Bx6WUO99.js","assets/parse-sections-Dru7Bhw3.js","assets/held-block-view-BplchR69.js","assets/calendar-BDRihgLI.js","assets/editor-classes-1dg1pjaK.js","assets/category-tree-9o5eAqGF.js","assets/pair-Bb6oWjIQ.js","assets/collapsible-Ff_HBxQZ.js","assets/use-task-board-items-ClS47WXt.js","assets/config-CTUwx0E7.js","assets/task-route-DILYUxw7.js","assets/project-index-D8QhEEmc.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-xoRmsbxJ.js","assets/types-mnHt7RAy.js","assets/omit-server-managed-metadata-L5IhjRZB.js","assets/use-connection-DW1VkUDp.js","assets/use-mcp-prompts-Bs2ZYPMm.js","assets/use-thread-outputs-DqTcUmJ7.js","assets/file-type-icon-BINq6pAJ.js","assets/named-rule-step-CIgwVXN9.js","assets/slider-BccigXwM.js","assets/index-CxRoy25G.js","assets/tooltipContext-BbljAPKp.js","assets/CategoricalChart-CclXOr_i.js","assets/index-WY5skHFQ.js","assets/combobox-DhzcDPGN.js","assets/scroll-area-vXLoyQQw.js","assets/monaco-editor-wJhgDEpd.js","assets/editor-CUzd1SE7.js","assets/blog-preview-url-C8ne1zjD.js","assets/device-hint-BT8_DhB_.js","assets/alert-Bv1HVos8.js","assets/virtual-mcp-DFMEmmYR.js","assets/app-preview-url-9Od4s8Sz.js","assets/agent-capabilities-CWtYqnIq.js","assets/preview-source-BsRLGWUP.js","assets/use-task-metadata-D_A2WmqA.js","assets/content-tab-B08qF9Ws.js","assets/delete-copy-B_bYyZez.js","assets/index-DkgRE7a8.js","assets/view-header-D-W3mMsY.js","assets/use-cms-publish-actions-_ZdSdw_1.js","assets/use-content-sync-DadcVTeN.js","assets/use-delete-block-DeCae--m.js","assets/item-actions-CigQSqIo.js","assets/date-utils-CrvIKg-s.js","assets/empty-state-9tWEtAox.js","assets/primitives-B_wOu0KD.js","assets/use-move-blocks-B_TQedwE.js","assets/mustache-ByNI-hYL.js","assets/tab-icon-glyph-D6HWUMfv.js","assets/resolve-tab-icon-B49st38Z.js","assets/agent-site-editor-Cs2byz0P.js","assets/site-draft-actions-CKyxePcd.js","assets/separator-CDpQOaDp.js","assets/cms-store-drafts-BZtc347l.js","assets/serial-task-queue-CGOeQgpr.js","assets/index-BYAVvzAx.js","assets/input-DW2VJfvP.js","assets/chat-draft-BwCJJBjY.js","assets/use-deco-credits-1ccyr4DS.js","assets/input-Biz1-kQq.js","assets/suggestion-6kwzt7Yb.js","assets/question-004-sINsf4GQ.js","assets/feature-paywall-Bg-PT-Nn.js","assets/plan-ladder-DCMpCI9t.js","assets/add-connection-dialog-DgKMGv-9.js","assets/connection-card-JSblTqum.js","assets/connection-slug-BxAeiVuI.js","assets/schema-JoNeetSU.js","assets/connection-form-helpers-D-61dVx3.js","assets/collection-tabs-Bw8ZEjbc.js","assets/use-infinite-scroll-BCAJFUTI.js","assets/useSuspenseInfiniteQuery-DQoY99kG.js","assets/input-Bwd_JSM8.css","assets/save-changes-debug-nBi-n9eV.js","assets/site-draft-view-DITfvlDo.js","assets/blog-view-gate-5YPkAPHi.js","assets/agent-site-editor-DDGTF8rc.css","assets/reports-DiiYMFp7.js","assets/reports-Dl0n8WK0.css","assets/route-BcZK3YCw.js","assets/use-inbox-feed-BHASI7cE.js","assets/super-agent-icon-z6Ee2KPL.js","assets/optimistic-project-sidebar-views-gHKEu9Pp.js","assets/use-project-native-view-presence-DNQAebLP.js","assets/own-accounts-section-CYaA86cP.js","assets/use-date-fns-locale-D0UHCWV7.js","assets/daily-pulse-C2a7jj6_.js","assets/use-join-requests-BVkKaLgc.js","assets/thread-route-DFPY6b9-.js","assets/use-reports-diagnostic-BblOLKh2.js","assets/connect-layout-CYxI3Ix2.js","assets/route-CH_5nuP_.js","assets/task-status-CWjPA6gQ.js","assets/use-main-panel-tabs-BmS9u6Cm.js","assets/use-mcp-tools-C_TsO2I8.js","assets/legacy-main-redirect-CqfpK3yi.js","assets/preview-dialog-CeEvmRUv.js","assets/preview-content-Cb6-Hnk_.js","assets/file-share-button-BpR0pG7Z.js","assets/file-preview-pAXtoXVY.js","assets/home-BM2M0ir_.js","assets/home-overview-C7_beN9y.js","assets/connect-key-x35pzj1P.js","assets/use-api-keys-C3mHEKzm.js","assets/chart-BD1DM8Vo.js","assets/CartesianChart-DDuspEUo.js","assets/ReferenceLine-B5a2JVy9.js","assets/sprints-C1z9xhcL.js","assets/projects-empty-state-BYfzt1p6.js","assets/agent-overview-0qKuyyc3.js","assets/project-tasks-BiRpzten.js","assets/mock-board-DcJ7MEwz.js","assets/use-task-board-analytics-BJUgitsX.js","assets/use-task-board-prompts-CLIPLPO_.js","assets/use-automations-LOYHDjb3.js","assets/search-toggle-om107pCr.js","assets/use-tags-DZB3cOG6.js","assets/index-BE5pN4ch.js","assets/index-gkLejYlX.js","assets/use-task-board-item-prs-BRhTw2_C.js","assets/thread-sheet-body-D_58wlnB.js","assets/feature-gate-BoNGlq-b.js","assets/project-reports-DF_CqS1r.js","assets/reports-tab-BoI6tcUT.js","assets/project-profile-dMAv1_XF.js","assets/agent-blog-Cafvmf-h.js","assets/blog-source-gate--8e6WU5f.js","assets/agent-view-guard-BlaaF4Tt.js","assets/agent-blog-post-Dqts0p9T.js","assets/agent-site-editor-preview-DKqXk_Fc.js","assets/agent-site-editor-content-CBrR-oWD.js","assets/agent-site-editor-code-Cf9FJAgn.js","assets/agent-automations-B4IdsMR9.js","assets/automation-list-row-CVyxW8bA.js","assets/agent-automation-BfbO9Khi.js","assets/select-model-D2eRzxwR.js","assets/build-improve-prompt-doc-YaUfgVXc.js","assets/use-debounced-autosave-DYsdj7A1.js","assets/jira-icon-CNLkC5R4.js","assets/multi-select-j_cBBkSq.js","assets/automation-runs-DxzIf484.js","assets/use-id-selection-DKtNLyFh.js","assets/agent-settings-BhODPzv3.js","assets/context-shell-CsxbLyhW.js","assets/require-capability-GB4QCUSY.js","assets/access-gate-B30zL1q2.js","assets/capability-load-error-BUXjQvww.js","assets/sections-BuMIRgN_.js","assets/use-ask-in-chat-ClsOxWIw.js","assets/index-KT7S-wXA.js","assets/use-mcp-auth-status-WaulxB9m.js","assets/secret-picker-BUV633yj.js","assets/use-secrets-BS48xwT8.js","assets/agent-library-CRndyLSN.js","assets/library-tab-B6-1oo-4.js","assets/use-org-repo-syncs-KiPPmYc8.js","assets/folder-icon-JauS1zcB.js","assets/agent-assets-CamOcpgT.js","assets/agent-releases-Bf5mW-Cb.js","assets/agent-hosting-nth6pteI.js","assets/settings-tab-DXCgvlZo.js","assets/agent-e2e-WoNG4ZEl.js","assets/taskboard-analytics-D8X9MO7l.js","assets/time-range-picker-DVPzF6pR.js","assets/analytics-sections-BszcYb0J.js","assets/AreaChart-D6tyN032.js","assets/agent-experiments-Dn6ATqm3.js","assets/experiments-tab-choice-CvZgfB88.js","assets/named-rule-view-QjZFYuFQ.js","assets/use-apply-named-rule-C6ts9bt2.js","assets/agent-calendar-yZ-kBQTO.js","assets/agent-app-BVo-JN5-.js","assets/project-app-view-Df72eQDp.js","assets/connect-source-dialog-DW2Q7-Vc.js","assets/agent-view-B6-XGf3q.js","assets/agent-file-BdlM9DC-.js","assets/agent-deck-BV2v1bg2.js","assets/agent-library-file-CHMBjLP9.js","assets/preview-panel-DLXxpwqH.js","assets/agent-connect-sources-D6NBeEEC.js","assets/legacy-agents-deep-suvWZq4w.js","assets/tasks-B5T10R9U.js","assets/thread-analytics-BEFAIWhI.js","assets/reports-CAZ7fJej.js","assets/library-Dp3HrH7T.js","assets/plan-CEsNJEgV.js","assets/plan-page-DhlVp1jr.js","assets/plan-page-VVoBqnO4.css","assets/monitoring-Dhz_4NNt.js","assets/order-monitor-day-BMsq7ZVq.js","assets/Tooltip-DmnEut8_.js","assets/monitoring-D_tSeZWt.css","assets/agent-business-case-BhUa4Myx.js","assets/discover-DqSkXP2Q.js","assets/index-DOAcfhWB.js","assets/route-ZfCX71Dd.js","assets/plan-usage-card-b1xfvJA5.js","assets/index-redirect-D7g6EvmF.js","assets/connection-detail-BDZh3nKl.js","assets/index-Ctcj_Ic4.js","assets/index-C1HmbFkP.js","assets/use-delete-connection-Ddr1KxTc.js","assets/monitoring-stats-row-BGw1gEqW.js","assets/collection-detail-Da5T5FHc.js","assets/index-B7VjCiRT.js","assets/general-KZQuDKZq.js","assets/review-settings-AaM16RjA.js","assets/domain-settings-Cyu0iMV3.js","assets/connect-BFJ96IAv.js","assets/api-keys-omOxFywl.js","assets/tool-set-selector-D9iHbEUH.js","assets/ai-providers-DtnDf2l2.js","assets/infra-billing-PmBjX27u.js","assets/secrets-DGpgtf7U.js","assets/api-keys-BWBRmUoJ.js","assets/buckets-mVuz76PR.js","assets/repositories-DhWmEVga.js","assets/repositories-dckrDwEU.js","assets/synced-repos-J7N806y3.js","assets/tasks-BWMxQc4P.js","assets/projects-DLDVeooh.js","assets/members-BVDYMl5s.js","assets/collection-display-button-Dsc8IsyJ.js","assets/role-color-CilFDy12.js","assets/roles-BN919U7y.js","assets/sso-BOXfHaVK.js","assets/profile-DXP_cVu3.js","assets/automations-D6gxCniS.js"])))=>i.map(i=>d[i]);
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-DJDyJ1ju.js","assets/auth-entry-BuYf9qZf.js","assets/Fingerprint04-DFly9X11.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-Bdnex8hf.js","assets/legacy-admin-welcome-dialog-B3iJcsKr.js","assets/drawer-DtT_qu3U.js","assets/use-mobile-eRuVOAzy.js","assets/cli-auth-success-BvJuyvyk.js","assets/oauth-callback-DmgNmP6n.js","assets/mcp-oauth-Ci6yqFTl.js","assets/auth-AT-S53oU.js","assets/oauth-consent-Cr-15ieV.js","assets/layout-DbhvOsyV.js","assets/required-auth-layout-ChAYpVpn.js","assets/use-deployment-admin-BmC0uFFM.js","assets/users-D7EeASCC.js","assets/collection-table-wrapper-BfQjodPV.js","assets/table-DdZpQzqo.js","assets/ArrowUp-B_rPxUl3.js","assets/empty-state-l9Tatoxd.js","assets/search-input-Dij8WCfy.js","assets/SearchMd-B2ZqlWzx.js","assets/badge-CFiK0EOx.js","assets/use-debounced-value-ZpPSvQwP.js","assets/admin-fetch-BhTJlAsX.js","assets/orgs-BFePKqBY.js","assets/label-DKoCaul6.js","assets/select-D5aPAOxI.js","assets/index-BdQq_4o_.js","assets/index-D9pnpNHk.js","assets/ChevronDown-BkddO6nk.js","assets/ChevronUp-hmtO7NfN.js","assets/switch-CEzsWFkp.js","assets/textarea-Cipr2aDL.js","assets/roles-DW32thi2.js","assets/schema-DFMNr5Cf.js","assets/prompts-C3wMciT-.js","assets/shell-layout-B7ONrK1S.js","assets/Globe04-Bu51hlDK.js","assets/UserSquare-fSKR9s5Z.js","assets/agent-icon-qKbICqBE.js","assets/AlertCircle-CS5y5cdF.js","assets/UserCheck01-B7Ux1cXt.js","assets/Tool01-D_bTJJvK.js","assets/ArrowLeft-CnpYebJt.js","assets/ArrowRight-CTIzvrRD.js","assets/BookOpen01-0vmOJP7K.js","assets/CheckCircle-CVSsEuJs.js","assets/ChevronSelectorVertical-B_EPXu-J.js","assets/LinkBroken01-CothmVOv.js","assets/CreditCard01-CYAMo28t.js","assets/File02-B0o8Z6Rd.js","assets/MessageCircle01-BoiiT0Ka.js","assets/SwitchHorizontal01-B9krqVlE.js","assets/Eye-NyWbd_Et.js","assets/Image01-Xgs_5RZR.js","assets/Key01-B6wydByr.js","assets/LayoutLeft-ww8XIIKY.js","assets/Minus-DjGZhteG.js","assets/Monitor01-BnNa35fy.js","assets/Sun-C31h0XVy.js","assets/Play-DYcX2TsV.js","assets/Plus-BlCDSK3_.js","assets/ShoppingBag01-CO-Ik7_a.js","assets/Trash01-CvVvZjMc.js","assets/Upload01-DAa882sM.js","assets/Users01-CYXQ60-Z.js","assets/XClose-BvzwUB-E.js","assets/Zap-BALSokOc.js","assets/use-org-notice-QAyxiINx.js","assets/thread-intent-CoFgTbor.js","assets/use-mcp-client-rOHZbD3Y.js","assets/watch-sse-pool-DGsiEkeQ.js","assets/task-board-B_oKjzEP.js","assets/session-runtime-CVF2LvNW.js","assets/use-project-scope-BEEh5L8P.js","assets/repository-binding-DjFY5b0y.js","assets/use-panel-navigate-DRtgWUMv.js","assets/thread-route-TTLcBPLy.js","assets/command-Cqqhh_W6.js","assets/index-CdR9qfQl.js","assets/integration-icon-BTN_yWEk.js","assets/project-icon-piFAIvmP.js","assets/use-navigate-to-agent-CoxxT5G0.js","assets/new-project-dialog-HgjtDq4l.js","assets/repository-picker-BHJB5432.js","assets/tooltip-C6OYlSV-.js","assets/github-icon-PNZqrJY6.js","assets/useInfiniteQuery-D_gObArx.js","assets/infiniteQueryObserver-CZ7GCbwa.js","assets/collection-search-CphnxlYD.js","assets/use-organization-settings-BQz13Hmn.js","assets/new-project-store-CKvMs4hG.js","assets/use-view-draft-kind-BaIs6zLO.js","assets/use-blog-view-DhODFkA8.js","assets/use-org-sso-CFsTaV-A.js","assets/shell-layout-CE2Eihra.css","assets/onboarding-Ete3lfiA.js","assets/organization-choice-B_iJSsFB.js","assets/reports-onboarding-B3L3kaVX.js","assets/site-url-en5df9c-.js","assets/create-organization-dialog-pttnLi8P.js","assets/form-eUXxZ5Qg.js","assets/companion-mcps-section-SEt2U7bz.js","assets/use-connect-companion-DCQqrJld.js","assets/companions-core-DhUD88pR.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-C58hYmYC.js","assets/icon-button-CfgrKbmG.js","assets/useQueries-D35FEy3E.js","assets/authenticate-and-persist-oauth-BOJ6RO7H.js","assets/mcp-oauth-Ds0j31F2.js","assets/track-D2uS6dpC.js","assets/extract-connection-data-DjE1yVUY.js","assets/connection-BZJlBrLd.js","assets/url-slug-DgA17VrJ.js","assets/self-tool-result-8OxPN9Nm.js","assets/site-error-Da6iapvu.js","assets/choose-editor-C-XxlJ7G.js","assets/site-editor-0AMhqN9R.js","assets/chat-context-CvQ-sM5v.js","assets/use-entitlements-CmxoG1H2.js","assets/use-ai-providers-BDyMN-N5.js","assets/use-current-view-1HEoI3qR.js","assets/use-in-settings-CG5n8E8Q.js","assets/use-decopilot-events-B-T0Hrvx.js","assets/use-org-fs-Bjw5czAm.js","assets/index-oOJhkPK6.js","assets/thread-button-DEmMau3d.js","assets/use-sidebar-collapsed-Cvh_KEOx.js","assets/sheet-Dps_OtzY.js","assets/use-chat-layout-state-D4d4l3oL.js","assets/toolbar-icon-button-DnvtDhiO.js","assets/resizable-BL8CU-aJ.js","assets/route-page-header-D4_8Ct3f.js","assets/index-CePbUNpp.js","assets/task-key-BWDMUi9g.js","assets/sortable.esm-MHH13t78.js","assets/context-menu-BfINdeF4.js","assets/project-apps-55s0I8iz.js","assets/use-recent-apps-DnI5Ea5w.js","assets/feedback-BqoIMOg7.js","assets/blocks-preview-workspace-context-B9duZzas.js","assets/site-editor-toast-D2oMdvIY.js","assets/content-changes-CFJfbWRJ.js","assets/sandbox-url-D3mC8qhT.js","assets/use-sandbox-events-B1e4GG__.js","assets/use-blocks-v8-project-DA-pr0Uy.js","assets/use-voice-input-IeU241I1.js","assets/popover-BI-lpUhu.js","assets/index-BUHQM-fc.js","assets/checkbox-DR7-Iy_E.js","assets/ai-providers-logos-DD3qZ33J.js","assets/openai-compatible-presets-BKGfVqEx.js","assets/utils-CfyLtUqt.js","assets/sandbox-git-api-CuR5rUpq.js","assets/preview-tab-DrWOVhIi.js","assets/save-status-DbwiLwGt.js","assets/use-never-published-ZzuVsx8k.js","assets/hosted-reconcile-DEHcrXPf.js","assets/blocks-tab-states-DC7kOtf6.js","assets/tabs-JKAPr-O4.js","assets/active-indicator-CCMhAsc_.js","assets/use-file-configs-Wy-M6u4j.js","assets/asset-utils-tz_LHKas.js","assets/usage-stats-X4jMwPwX.js","assets/utils-CVEq3hMx.js","assets/markdown-we-cHxXq.js","assets/use-copy-nYlH4I4g.js","assets/gateway-client-BYWq7W1f.js","assets/toggle-group-4Uqc6vzQ.js","assets/match-site-slug-config-B47_xZCi.js","assets/sandbox-lifecycle-context-Bt4OsDeb.js","assets/sandbox-start-errors-BK_aDCyt.js","assets/frame-navigation-DlTZKvqt.js","assets/variant-matcher-override-BugDO5Is.js","assets/section-array-field-D4XW_wJ4.js","assets/use-fast-preview-draft-url-DXFM6T8R.js","assets/parse-sections-BZeGOsxE.js","assets/held-block-view-CPPtRU-n.js","assets/calendar-C02ezVcS.js","assets/editor-classes-Bw4_cV_9.js","assets/category-tree-dngYOFzN.js","assets/pair-DhT-6yBR.js","assets/collapsible-BKxoPjIN.js","assets/use-task-board-items-BbyDm5G0.js","assets/config-DGvqEncS.js","assets/task-route-Cr6uckKl.js","assets/project-index-C209sCKL.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-BAfMgB1Z.js","assets/types-cOzCnmYI.js","assets/omit-server-managed-metadata-L5IhjRZB.js","assets/use-connection-DoUaPNkI.js","assets/use-mcp-prompts-Cq6mpthN.js","assets/use-thread-outputs-OIyH_XWf.js","assets/file-type-icon-CEKCIITa.js","assets/named-rule-step-DS5kGuIs.js","assets/slider-w4rF_qju.js","assets/index-K-FtkPVI.js","assets/tooltipContext-D2O58pOO.js","assets/CategoricalChart-CwzUkCwO.js","assets/index-xNvvPF5K.js","assets/combobox-BTP9T0Pc.js","assets/scroll-area-BBpO5xX_.js","assets/monaco-editor-B5PTOxIz.js","assets/editor-DpPPqPRR.js","assets/blog-preview-url-sQQ4EaTX.js","assets/device-hint-XFntojbN.js","assets/alert-pq0Y8AC8.js","assets/virtual-mcp-DFw2lKMC.js","assets/app-preview-url-9Od4s8Sz.js","assets/agent-capabilities-B0JydJjP.js","assets/preview-source-BsRLGWUP.js","assets/use-task-metadata-BYbicOrw.js","assets/content-tab-Cq6li-sw.js","assets/delete-copy-BI2Sd04D.js","assets/index-BHLuDBD-.js","assets/view-header-BpDzpk8m.js","assets/use-cms-publish-actions-CdubuGTA.js","assets/use-content-sync-Cxyhqioh.js","assets/use-delete-block-DP79Au-4.js","assets/item-actions-iEQmPVrr.js","assets/date-utils-CrvIKg-s.js","assets/empty-state-CWawuVzh.js","assets/primitives-phHVGNAI.js","assets/use-move-blocks-DWNb-nFG.js","assets/mustache-Bwl2DYO1.js","assets/tab-icon-glyph-BJZJf5lc.js","assets/resolve-tab-icon-Ds9JNWyg.js","assets/agent-site-editor-BscJQYUu.js","assets/site-draft-actions-DhANjN0X.js","assets/separator-Dy_gHFOY.js","assets/cms-store-drafts-q3yACtXx.js","assets/serial-task-queue-CGOeQgpr.js","assets/index-UwOo6lse.js","assets/input-DS1fkrsU.js","assets/chat-draft-CPECGWWa.js","assets/use-deco-credits-DcRWtP9o.js","assets/input-B0jMF0e_.js","assets/suggestion-SjSKJeBU.js","assets/question-004-sINsf4GQ.js","assets/feature-paywall-DF7aqMQM.js","assets/plan-ladder-aYguFL8S.js","assets/add-connection-dialog-DYa3N2eg.js","assets/connection-card-B8Lj_r0P.js","assets/connection-slug-DOi8cWyk.js","assets/schema-D1mfj_VD.js","assets/connection-form-helpers-veDVCb9w.js","assets/collection-tabs-C9T1HZQP.js","assets/use-infinite-scroll-DxkQp5Qv.js","assets/useSuspenseInfiniteQuery-DTGymExJ.js","assets/input-Bwd_JSM8.css","assets/save-changes-debug-nBi-n9eV.js","assets/site-draft-view-BYqJs7J2.js","assets/blog-view-gate-CH_KIbwu.js","assets/agent-site-editor-DDGTF8rc.css","assets/reports-BAWCIXn8.js","assets/reports-Dl0n8WK0.css","assets/route-DhGhu9Ec.js","assets/use-inbox-feed-DxcWHUtc.js","assets/super-agent-icon-Cc4Ciwsy.js","assets/optimistic-project-sidebar-views-B_55Z4kz.js","assets/use-project-native-view-presence-BIFke35D.js","assets/own-accounts-section-CSwSnoe4.js","assets/use-date-fns-locale-DxgiZ7Lq.js","assets/daily-pulse-BMeIrOO8.js","assets/use-join-requests-CyJQy1RH.js","assets/thread-route-BRmRa2CS.js","assets/use-reports-diagnostic-KjDTU46X.js","assets/connect-layout-sx7G_FMd.js","assets/route-CvOWJgQ8.js","assets/task-status-BkYGOB1i.js","assets/use-main-panel-tabs-DJGu6nFZ.js","assets/use-mcp-tools-DfFo5hFt.js","assets/legacy-main-redirect-CehX4Bni.js","assets/preview-dialog-BFH4K3zp.js","assets/preview-content-c-gz2Si_.js","assets/file-share-button-BAJCRraz.js","assets/file-preview-p0rGgJtU.js","assets/home-B2gF0aRT.js","assets/home-overview-DkyPJx_z.js","assets/connect-key-DVNtQy7y.js","assets/use-api-keys-CsFZ7MWC.js","assets/chart-D2etphpL.js","assets/CartesianChart-BLh4dFJB.js","assets/ReferenceLine-ysfQtWpe.js","assets/sprints-C1z9xhcL.js","assets/projects-empty-state-Bjbej4Jx.js","assets/agent-overview-vn0B99S2.js","assets/project-tasks-TZDHHmpj.js","assets/mock-board-CW6QKw2v.js","assets/use-task-board-analytics-CY3DJsc5.js","assets/use-task-board-prompts-CqjpsSVo.js","assets/use-automations-DGxEZMH1.js","assets/search-toggle-BJsu_1mi.js","assets/use-tags-oUXL8Eao.js","assets/index-CEoORQx_.js","assets/index-Bp_BkLlL.js","assets/use-task-board-item-prs-DSrWn6bY.js","assets/thread-sheet-body-DU2O97KV.js","assets/feature-gate-wF4resWq.js","assets/project-reports-_pvoxKuL.js","assets/reports-tab-UTeYJ_79.js","assets/project-profile-dMAv1_XF.js","assets/agent-blog-SWKAlIDs.js","assets/blog-source-gate-CdJyl3s4.js","assets/agent-view-guard-2l72ULUX.js","assets/agent-blog-post-BMj1nG5H.js","assets/agent-site-editor-preview-Bshkv5l8.js","assets/agent-site-editor-content-DFaZauTr.js","assets/agent-site-editor-code-znS9yeFa.js","assets/agent-automations-DJGo3Vpm.js","assets/automation-list-row-Du2hwkkk.js","assets/agent-automation-BNyRdPpc.js","assets/select-model-3J7FOs0F.js","assets/build-improve-prompt-doc-BviIkkQs.js","assets/use-debounced-autosave-Bi5JPKsx.js","assets/jira-icon-DXOB8Lmw.js","assets/multi-select-DuNPPMuZ.js","assets/automation-runs-Bg2KLqhb.js","assets/use-id-selection-65R8Y0Rr.js","assets/agent-settings-C8Vbd4tx.js","assets/context-shell-DkTSiVhx.js","assets/require-capability-BtI4Tyqp.js","assets/access-gate-JiR82oco.js","assets/capability-load-error-C7VfNWgD.js","assets/sections-B5mL2aQs.js","assets/use-ask-in-chat-C_ce63qF.js","assets/index-DQFWZMPO.js","assets/use-mcp-auth-status-BabDSoXH.js","assets/secret-picker-D6eOapYQ.js","assets/use-secrets-DG4KpaBa.js","assets/agent-library-CkWv-QK0.js","assets/library-tab-ekrJ9bue.js","assets/use-org-repo-syncs-CvKMwzFX.js","assets/folder-icon-DCqfnk5g.js","assets/agent-assets-DThFx4M4.js","assets/agent-releases-DVlreX78.js","assets/agent-hosting-CzWiy0GX.js","assets/settings-tab-BI3y61p6.js","assets/agent-e2e-CVKnE_cq.js","assets/taskboard-analytics-nugCG6C8.js","assets/time-range-picker-CBoxldZD.js","assets/analytics-sections-BcskhJEQ.js","assets/AreaChart-6i9ddKAo.js","assets/agent-experiments-B6WL8a55.js","assets/experiments-tab-choice-DLka__Fj.js","assets/named-rule-view-Z5BTjESF.js","assets/use-apply-named-rule-CnSwu1YP.js","assets/agent-calendar-Dc34MYin.js","assets/agent-app-Ccrencfm.js","assets/project-app-view-TcCrX4oT.js","assets/connect-source-dialog-DnCXZ3Bm.js","assets/agent-view-DbsCo68i.js","assets/agent-file-DzOVJ5jJ.js","assets/agent-deck-t8ah4YL3.js","assets/agent-library-file-BeuXNSru.js","assets/preview-panel-5axMxyLP.js","assets/agent-connect-sources-BzvV2s_2.js","assets/legacy-agents-deep-em6yOC_F.js","assets/tasks-9sGiiD4G.js","assets/thread-analytics-CUyAWSkz.js","assets/reports-CPxs2BgN.js","assets/library-Dly_OLLg.js","assets/plan-BO0tgjWI.js","assets/plan-page-B07fHd07.js","assets/plan-page-VVoBqnO4.css","assets/monitoring-xIY_IPi8.js","assets/order-monitor-day-Clbe0SA4.js","assets/Tooltip-BDg85pZn.js","assets/monitoring-D_tSeZWt.css","assets/agent-business-case-DWa8MdFx.js","assets/discover-DCJNP2ov.js","assets/index-VEcIOiWN.js","assets/route-ChWaxiqL.js","assets/plan-usage-card-D_4-ZHg-.js","assets/index-redirect-DVZANI8q.js","assets/connection-detail-CVYzedpa.js","assets/index-CorQG-PM.js","assets/index-B1yf8QQv.js","assets/use-delete-connection-4Fx-JLmK.js","assets/monitoring-stats-row-DJXMqCN0.js","assets/collection-detail-iP9tRfV6.js","assets/index-DYf9rJn2.js","assets/general-dOdvSQ1l.js","assets/review-settings-DNfSW4xg.js","assets/domain-settings-C369ETrU.js","assets/connect-obEE-StP.js","assets/api-keys-SpdE7FiC.js","assets/tool-set-selector-DoFKwoWc.js","assets/ai-providers-BuJXSSAm.js","assets/infra-billing-CBaX0rFG.js","assets/secrets-ctTTJkDR.js","assets/api-keys-C3uBLxjm.js","assets/buckets-B4_-T0ED.js","assets/repositories-Bj1ogpqH.js","assets/repositories-Dj3HbYDX.js","assets/synced-repos-CNS7qyVv.js","assets/tasks-DGRvo6F8.js","assets/projects-DJz5LDl0.js","assets/members-BcSHOsjX.js","assets/collection-display-button-BVsx6EDz.js","assets/role-color-Kmb8GwCh.js","assets/roles-DXacyEKl.js","assets/sso-Dl9I7AOe.js","assets/profile-1_I-_x94.js","assets/automations-BJ-1CA9i.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
function wU(e,t){for(var a=0;a<t.length;a++){const o=t[a];if(typeof o!="string"&&!Array.isArray(o)){for(const n in o)if(n!=="default"&&!(n in e)){const r=Object.getOwnPropertyDescriptor(o,n);r&&Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>o[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))o(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function a(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(n){if(n.ep)return;n.ep=!0;const r=a(n);fetch(n.href,r)}})();var BTe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yw={exports:{}},Vu={};var AA;function SU(){if(AA)return Vu;AA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(o,n,r){var i=null;if(r!==void 0&&(i=""+r),n.key!==void 0&&(i=""+n.key),"key"in n){r={};for(var c in n)c!=="key"&&(r[c]=n[c])}else r=n;return n=r.ref,{$$typeof:e,type:o,key:i,ref:n!==void 0?n:null,props:r}}return Vu.Fragment=t,Vu.jsx=a,Vu.jsxs=a,Vu}var RA;function TU(){return RA||(RA=1,Yw.exports=SU()),Yw.exports}var y=TU(),Qw={exports:{}},dt={};var DA;function xU(){if(DA)return dt;DA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),i=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),f=Symbol.iterator;function v(M){return M===null||typeof M!="object"?null:(M=f&&M[f]||M["@@iterator"],typeof M=="function"?M:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,x={};function T(M,G,V){this.props=M,this.context=G,this.refs=x,this.updater=V||b}T.prototype.isReactComponent={},T.prototype.setState=function(M,G){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,G,"setState")},T.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function k(){}k.prototype=T.prototype;function C(M,G,V){this.props=M,this.context=G,this.refs=x,this.updater=V||b}var E=C.prototype=new k;E.constructor=C,w(E,T.prototype),E.isPureReactComponent=!0;var _=Array.isArray;function D(){}var R={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function L(M,G,V){var I=V.ref;return{$$typeof:e,type:M,key:G,ref:I!==void 0?I:null,props:V}}function U(M,G){return L(M.type,G,M.props)}function B(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function z(M){var G={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(V){return G[V]})}var F=/\/+/g;function W(M,G){return typeof M=="object"&&M!==null&&M.key!=null?z(""+M.key):G.toString(36)}function ae(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(D,D):(M.status="pending",M.then(function(G){M.status==="pending"&&(M.status="fulfilled",M.value=G)},function(G){M.status==="pending"&&(M.status="rejected",M.reason=G)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function H(M,G,V,I,j){var X=typeof M;(X==="undefined"||X==="boolean")&&(M=null);var de=!1;if(M===null)de=!0;else switch(X){case"bigint":case"string":case"number":de=!0;break;case"object":switch(M.$$typeof){case e:case t:de=!0;break;case m:return de=M._init,H(de(M._payload),G,V,I,j)}}if(de)return j=j(M),de=I===""?"."+W(M,0):I,_(j)?(V="",de!=null&&(V=de.replace(F,"$&/")+"/"),H(j,G,V,"",function(qe){return qe})):j!=null&&(B(j)&&(j=U(j,V+(j.key==null||M&&M.key===j.key?"":(""+j.key).replace(F,"$&/")+"/")+de)),G.push(j)),1;de=0;var ue=I===""?".":I+":";if(_(M))for(var Ee=0;Ee<M.length;Ee++)I=M[Ee],X=ue+W(I,Ee),de+=H(I,G,V,X,j);else if(Ee=v(M),typeof Ee=="function")for(M=Ee.call(M),Ee=0;!(I=M.next()).done;)I=I.value,X=ue+W(I,Ee++),de+=H(I,G,V,X,j);else if(X==="object"){if(typeof M.then=="function")return H(ae(M),G,V,I,j);throw G=String(M),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return de}function K(M,G,V){if(M==null)return M;var I=[],j=0;return H(M,I,"","",function(X){return G.call(V,X,j++)}),I}function J(M){if(M._status===-1){var G=M._result;G=G(),G.then(function(V){(M._status===0||M._status===-1)&&(M._status=1,M._result=V)},function(V){(M._status===0||M._status===-1)&&(M._status=2,M._result=V)}),M._status===-1&&(M._status=0,M._result=G)}if(M._status===1)return M._result.default;throw M._result}var se=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)},Z={map:K,forEach:function(M,G,V){K(M,function(){G.apply(this,arguments)},V)},count:function(M){var G=0;return K(M,function(){G++}),G},toArray:function(M){return K(M,function(G){return G})||[]},only:function(M){if(!B(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return dt.Activity=h,dt.Children=Z,dt.Component=T,dt.Fragment=a,dt.Profiler=n,dt.PureComponent=C,dt.StrictMode=o,dt.Suspense=d,dt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,dt.__COMPILER_RUNTIME={__proto__:null,c:function(M){return R.H.useMemoCache(M)}},dt.cache=function(M){return function(){return M.apply(null,arguments)}},dt.cacheSignal=function(){return null},dt.cloneElement=function(M,G,V){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var I=w({},M.props),j=M.key;if(G!=null)for(X in G.key!==void 0&&(j=""+G.key),G)!O.call(G,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&G.ref===void 0||(I[X]=G[X]);var X=arguments.length-2;if(X===1)I.children=V;else if(1<X){for(var de=Array(X),ue=0;ue<X;ue++)de[ue]=arguments[ue+2];I.children=de}return L(M.type,j,I)},dt.createContext=function(M){return M={$$typeof:i,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:r,_context:M},M},dt.createElement=function(M,G,V){var I,j={},X=null;if(G!=null)for(I in G.key!==void 0&&(X=""+G.key),G)O.call(G,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(j[I]=G[I]);var de=arguments.length-2;if(de===1)j.children=V;else if(1<de){for(var ue=Array(de),Ee=0;Ee<de;Ee++)ue[Ee]=arguments[Ee+2];j.children=ue}if(M&&M.defaultProps)for(I in de=M.defaultProps,de)j[I]===void 0&&(j[I]=de[I]);return L(M,X,j)},dt.createRef=function(){return{current:null}},dt.forwardRef=function(M){return{$$typeof:c,render:M}},dt.isValidElement=B,dt.lazy=function(M){return{$$typeof:m,_payload:{_status:-1,_result:M},_init:J}},dt.memo=function(M,G){return{$$typeof:u,type:M,compare:G===void 0?null:G}},dt.startTransition=function(M){var G=R.T,V={};R.T=V;try{var I=M(),j=R.S;j!==null&&j(V,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(D,se)}catch(X){se(X)}finally{G!==null&&V.types!==null&&(G.types=V.types),R.T=G}},dt.unstable_useCacheRefresh=function(){return R.H.useCacheRefresh()},dt.use=function(M){return R.H.use(M)},dt.useActionState=function(M,G,V){return R.H.useActionState(M,G,V)},dt.useCallback=function(M,G){return R.H.useCallback(M,G)},dt.useContext=function(M){return R.H.useContext(M)},dt.useDebugValue=function(){},dt.useDeferredValue=function(M,G){return R.H.useDeferredValue(M,G)},dt.useEffect=function(M,G){return R.H.useEffect(M,G)},dt.useEffectEvent=function(M){return R.H.useEffectEvent(M)},dt.useId=function(){return R.H.useId()},dt.useImperativeHandle=function(M,G,V){return R.H.useImperativeHandle(M,G,V)},dt.useInsertionEffect=function(M,G){return R.H.useInsertionEffect(M,G)},dt.useLayoutEffect=function(M,G){return R.H.useLayoutEffect(M,G)},dt.useMemo=function(M,G){return R.H.useMemo(M,G)},dt.useOptimistic=function(M,G){return R.H.useOptimistic(M,G)},dt.useReducer=function(M,G,V){return R.H.useReducer(M,G,V)},dt.useRef=function(M){return R.H.useRef(M)},dt.useState=function(M){return R.H.useState(M)},dt.useSyncExternalStore=function(M,G,V){return R.H.useSyncExternalStore(M,G,V)},dt.useTransition=function(){return R.H.useTransition()},dt.version="19.2.6",dt}var OA;function Gi(){return OA||(OA=1,Qw.exports=xU()),Qw.exports}var A=Gi();const ee=Yl(A),uk=wU({__proto__:null,default:ee},[A]);var Zw={exports:{}},Hu={},Jw={exports:{}},Xw={};var NA;function kU(){return NA||(NA=1,(function(e){function t(H,K){var J=H.length;H.push(K);e:for(;0<J;){var se=J-1>>>1,Z=H[se];if(0<n(Z,K))H[se]=K,H[J]=Z,J=se;else break e}}function a(H){return H.length===0?null:H[0]}function o(H){if(H.length===0)return null;var K=H[0],J=H.pop();if(J!==K){H[0]=J;e:for(var se=0,Z=H.length,M=Z>>>1;se<M;){var G=2*(se+1)-1,V=H[G],I=G+1,j=H[I];if(0>n(V,J))I<Z&&0>n(j,V)?(H[se]=j,H[I]=J,se=I):(H[se]=V,H[G]=J,se=G);else if(I<Z&&0>n(j,J))H[se]=j,H[I]=J,se=I;else break e}}return K}function n(H,K){var J=H.sortIndex-K.sortIndex;return J!==0?J:H.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var r=performance;e.unstable_now=function(){return r.now()}}else{var i=Date,c=i.now();e.unstable_now=function(){return i.now()-c}}var d=[],u=[],m=1,h=null,f=3,v=!1,b=!1,w=!1,x=!1,T=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function E(H){for(var K=a(u);K!==null;){if(K.callback===null)o(u);else if(K.startTime<=H)o(u),K.sortIndex=K.expirationTime,t(d,K);else break;K=a(u)}}function _(H){if(w=!1,E(H),!b)if(a(d)!==null)b=!0,D||(D=!0,z());else{var K=a(u);K!==null&&ae(_,K.startTime-H)}}var D=!1,R=-1,O=5,L=-1;function U(){return x?!0:!(e.unstable_now()-L<O)}function B(){if(x=!1,D){var H=e.unstable_now();L=H;var K=!0;try{e:{b=!1,w&&(w=!1,k(R),R=-1),v=!0;var J=f;try{t:{for(E(H),h=a(d);h!==null&&!(h.expirationTime>H&&U());){var se=h.callback;if(typeof se=="function"){h.callback=null,f=h.priorityLevel;var Z=se(h.expirationTime<=H);if(H=e.unstable_now(),typeof Z=="function"){h.callback=Z,E(H),K=!0;break t}h===a(d)&&o(d),E(H)}else o(d);h=a(d)}if(h!==null)K=!0;else{var M=a(u);M!==null&&ae(_,M.startTime-H),K=!1}}break e}finally{h=null,f=J,v=!1}K=void 0}}finally{K?z():D=!1}}}var z;if(typeof C=="function")z=function(){C(B)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,W=F.port2;F.port1.onmessage=B,z=function(){W.postMessage(null)}}else z=function(){T(B,0)};function ae(H,K){R=T(function(){H(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(H){H.callback=null},e.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<H?Math.floor(1e3/H):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(H){switch(f){case 1:case 2:case 3:var K=3;break;default:K=f}var J=f;f=K;try{return H()}finally{f=J}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(H,K){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var J=f;f=H;try{return K()}finally{f=J}},e.unstable_scheduleCallback=function(H,K,J){var se=e.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?se+J:se):J=se,H){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=J+Z,H={id:m++,callback:K,priorityLevel:H,startTime:J,expirationTime:Z,sortIndex:-1},J>se?(H.sortIndex=J,t(u,H),a(d)===null&&H===a(u)&&(w?(k(R),R=-1):w=!0,ae(_,J-se))):(H.sortIndex=Z,t(d,H),b||v||(b=!0,D||(D=!0,z()))),H},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(H){var K=f;return function(){var J=f;f=K;try{return H.apply(this,arguments)}finally{f=J}}}})(Xw)),Xw}var MA;function EU(){return MA||(MA=1,Jw.exports=kU()),Jw.exports}var eS={exports:{}},Io={};var IA;function CU(){if(IA)return Io;IA=1;var e=Gi();function t(d){var u="https://react.dev/errors/"+d;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)u+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var o={d:{f:a,r:function(){throw Error(t(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},n=Symbol.for("react.portal");function r(d,u,m){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:n,key:h==null?null:""+h,children:d,containerInfo:u,implementation:m}}var i=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,u){if(d==="font")return"";if(typeof u=="string")return u==="use-credentials"?u:""}return Io.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Io.createPortal=function(d,u){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)throw Error(t(299));return r(d,u,null,m)},Io.flushSync=function(d){var u=i.T,m=o.p;try{if(i.T=null,o.p=2,d)return d()}finally{i.T=u,o.p=m,o.d.f()}},Io.preconnect=function(d,u){typeof d=="string"&&(u?(u=u.crossOrigin,u=typeof u=="string"?u==="use-credentials"?u:"":void 0):u=null,o.d.C(d,u))},Io.prefetchDNS=function(d){typeof d=="string"&&o.d.D(d)},Io.preinit=function(d,u){if(typeof d=="string"&&u&&typeof u.as=="string"){var m=u.as,h=c(m,u.crossOrigin),f=typeof u.integrity=="string"?u.integrity:void 0,v=typeof u.fetchPriority=="string"?u.fetchPriority:void 0;m==="style"?o.d.S(d,typeof u.precedence=="string"?u.precedence:void 0,{crossOrigin:h,integrity:f,fetchPriority:v}):m==="script"&&o.d.X(d,{crossOrigin:h,integrity:f,fetchPriority:v,nonce:typeof u.nonce=="string"?u.nonce:void 0})}},Io.preinitModule=function(d,u){if(typeof d=="string")if(typeof u=="object"&&u!==null){if(u.as==null||u.as==="script"){var m=c(u.as,u.crossOrigin);o.d.M(d,{crossOrigin:m,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0})}}else u==null&&o.d.M(d)},Io.preload=function(d,u){if(typeof d=="string"&&typeof u=="object"&&u!==null&&typeof u.as=="string"){var m=u.as,h=c(m,u.crossOrigin);o.d.L(d,m,{crossOrigin:h,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0,type:typeof u.type=="string"?u.type:void 0,fetchPriority:typeof u.fetchPriority=="string"?u.fetchPriority:void 0,referrerPolicy:typeof u.referrerPolicy=="string"?u.referrerPolicy:void 0,imageSrcSet:typeof u.imageSrcSet=="string"?u.imageSrcSet:void 0,imageSizes:typeof u.imageSizes=="string"?u.imageSizes:void 0,media:typeof u.media=="string"?u.media:void 0})}},Io.preloadModule=function(d,u){if(typeof d=="string")if(u){var m=c(u.as,u.crossOrigin);o.d.m(d,{as:typeof u.as=="string"&&u.as!=="script"?u.as:void 0,crossOrigin:m,integrity:typeof u.integrity=="string"?u.integrity:void 0})}else o.d.m(d)},Io.requestFormReset=function(d){o.d.r(d)},Io.unstable_batchedUpdates=function(d,u){return d(u)},Io.useFormState=function(d,u,m){return i.H.useFormState(d,u,m)},Io.useFormStatus=function(){return i.H.useHostTransitionStatus()},Io.version="19.2.6",Io}var LA;function _M(){if(LA)return eS.exports;LA=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),eS.exports=CU(),eS.exports}var BA;function PU(){if(BA)return Hu;BA=1;var e=EU(),t=Gi(),a=_M();function o(s){var l="https://react.dev/errors/"+s;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)l+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+s+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function r(s){var l=s,p=s;if(s.alternate)for(;l.return;)l=l.return;else{s=l;do l=s,(l.flags&4098)!==0&&(p=l.return),s=l.return;while(s)}return l.tag===3?p:null}function i(s){if(s.tag===13){var l=s.memoizedState;if(l===null&&(s=s.alternate,s!==null&&(l=s.memoizedState)),l!==null)return l.dehydrated}return null}function c(s){if(s.tag===31){var l=s.memoizedState;if(l===null&&(s=s.alternate,s!==null&&(l=s.memoizedState)),l!==null)return l.dehydrated}return null}function d(s){if(r(s)!==s)throw Error(o(188))}function u(s){var l=s.alternate;if(!l){if(l=r(s),l===null)throw Error(o(188));return l!==s?null:s}for(var p=s,g=l;;){var S=p.return;if(S===null)break;var P=S.alternate;if(P===null){if(g=S.return,g!==null){p=g;continue}break}if(S.child===P.child){for(P=S.child;P;){if(P===p)return d(S),s;if(P===g)return d(S),l;P=P.sibling}throw Error(o(188))}if(p.return!==g.return)p=S,g=P;else{for(var N=!1,q=S.child;q;){if(q===p){N=!0,p=S,g=P;break}if(q===g){N=!0,g=S,p=P;break}q=q.sibling}if(!N){for(q=P.child;q;){if(q===p){N=!0,p=P,g=S;break}if(q===g){N=!0,g=P,p=S;break}q=q.sibling}if(!N)throw Error(o(189))}}if(p.alternate!==g)throw Error(o(190))}if(p.tag!==3)throw Error(o(188));return p.stateNode.current===p?s:l}function m(s){var l=s.tag;if(l===5||l===26||l===27||l===6)return s;for(s=s.child;s!==null;){if(l=m(s),l!==null)return l;s=s.sibling}return null}var h=Object.assign,f=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),C=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),B=Symbol.iterator;function z(s){return s===null||typeof s!="object"?null:(s=B&&s[B]||s["@@iterator"],typeof s=="function"?s:null)}var F=Symbol.for("react.client.reference");function W(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===F?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case w:return"Fragment";case T:return"Profiler";case x:return"StrictMode";case _:return"Suspense";case D:return"SuspenseList";case L:return"Activity"}if(typeof s=="object")switch(s.$$typeof){case b:return"Portal";case C:return s.displayName||"Context";case k:return(s._context.displayName||"Context")+".Consumer";case E:var l=s.render;return s=s.displayName,s||(s=l.displayName||l.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case R:return l=s.displayName||null,l!==null?l:W(s.type)||"Memo";case O:l=s._payload,s=s._init;try{return W(s(l))}catch{}}return null}var ae=Array.isArray,H=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},se=[],Z=-1;function M(s){return{current:s}}function G(s){0>Z||(s.current=se[Z],se[Z]=null,Z--)}function V(s,l){Z++,se[Z]=s.current,s.current=l}var I=M(null),j=M(null),X=M(null),de=M(null);function ue(s,l){switch(V(X,l),V(j,s),V(I,null),l.nodeType){case 9:case 11:s=(s=l.documentElement)&&(s=s.namespaceURI)?J1(s):0;break;default:if(s=l.tagName,l=l.namespaceURI)l=J1(l),s=X1(l,s);else switch(s){case"svg":s=1;break;case"math":s=2;break;default:s=0}}G(I),V(I,s)}function Ee(){G(I),G(j),G(X)}function qe(s){s.memoizedState!==null&&V(de,s);var l=I.current,p=X1(l,s.type);l!==p&&(V(j,s),V(I,p))}function Q(s){j.current===s&&(G(I),G(j)),de.current===s&&(G(de),zu._currentValue=J)}var ne,ve;function ie(s){if(ne===void 0)try{throw Error()}catch(p){var l=p.stack.trim().match(/\n( *(at )?)/);ne=l&&l[1]||"",ve=-1<p.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<p.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+ne+s+ve}var xe=!1;function Pe(s,l){if(!s||xe)return"";xe=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var g={DetermineComponentFrameRoot:function(){try{if(l){var ke=function(){throw Error()};if(Object.defineProperty(ke.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ke,[])}catch(fe){var he=fe}Reflect.construct(s,[],ke)}else{try{ke.call()}catch(fe){he=fe}s.call(ke.prototype)}}else{try{throw Error()}catch(fe){he=fe}(ke=s())&&typeof ke.catch=="function"&&ke.catch(function(){})}}catch(fe){if(fe&&he&&typeof fe.stack=="string")return[fe.stack,he.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var S=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");S&&S.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var P=g.DetermineComponentFrameRoot(),N=P[0],q=P[1];if(N&&q){var te=N.split(`
|
|
@@ -52,7 +52,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
52
52
|
|| ${O} === "boolean" || ${D} === null`).assign(L,(0,o._)`[${D}]`)}}}function f({gen:k,parentData:C,parentDataProperty:E},_){k.if((0,o._)`${C} !== undefined`,()=>k.assign((0,o._)`${C}[${E}]`,_))}function v(k,C,E,_=r.Correct){const D=_===r.Correct?o.operators.EQ:o.operators.NEQ;let R;switch(k){case"null":return(0,o._)`${C} ${D} null`;case"array":R=(0,o._)`Array.isArray(${C})`;break;case"object":R=(0,o._)`${C} && typeof ${C} == "object" && !Array.isArray(${C})`;break;case"integer":R=O((0,o._)`!(${C} % 1) && !isNaN(${C})`);break;case"number":R=O();break;default:return(0,o._)`typeof ${C} ${D} ${k}`}return _===r.Correct?R:(0,o.not)(R);function O(L=o.nil){return(0,o.and)((0,o._)`typeof ${C} == "number"`,L,E?(0,o._)`isFinite(${C})`:o.nil)}}xo.checkDataType=v;function b(k,C,E,_){if(k.length===1)return v(k[0],C,E,_);let D;const R=(0,n.toHash)(k);if(R.array&&R.object){const O=(0,o._)`typeof ${C} != "object"`;D=R.null?O:(0,o._)`!${C} || ${O}`,delete R.null,delete R.array,delete R.object}else D=o.nil;R.number&&delete R.integer;for(const O in R)D=(0,o.and)(D,v(O,C,E,_));return D}xo.checkDataTypes=b;const w={message:({schema:k})=>`must be ${k}`,params:({schema:k,schemaValue:C})=>typeof k=="string"?(0,o._)`{type: ${k}}`:(0,o._)`{type: ${C}}`};function x(k){const C=T(k);(0,a.reportError)(C,w)}xo.reportTypeError=x;function T(k){const{gen:C,data:E,schema:_}=k,D=(0,n.schemaRefOrVal)(k,_,"type");return{gen:C,keyword:"type",data:E,schema:_.type,schemaCode:D,schemaValue:D,parentSchema:_,params:{},it:k}}return xo}var Qu={},oD;function KQ(){if(oD)return Qu;oD=1,Object.defineProperty(Qu,"__esModule",{value:!0}),Qu.assignDefaults=void 0;const e=yt(),t=Ft();function a(n,r){const{properties:i,items:c}=n.schema;if(r==="object"&&i)for(const d in i)o(n,d,i[d].default);else r==="array"&&Array.isArray(c)&&c.forEach((d,u)=>o(n,u,d.default))}Qu.assignDefaults=a;function o(n,r,i){const{gen:c,compositeRule:d,data:u,opts:m}=n;if(i===void 0)return;const h=(0,e._)`${u}${(0,e.getProperty)(r)}`;if(d){(0,t.checkStrictMode)(n,`default is ignored for: ${h}`);return}let f=(0,e._)`${h} === undefined`;m.useDefaults==="empty"&&(f=(0,e._)`${f} || ${h} === null || ${h} === ""`),c.if(f,(0,e._)`${h} = ${(0,e.stringify)(i)}`)}return Qu}var fr={},Jt={},nD;function Or(){if(nD)return Jt;nD=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.validateUnion=Jt.validateArray=Jt.usePattern=Jt.callValidateCode=Jt.schemaProperties=Jt.allSchemaProperties=Jt.noPropertyInData=Jt.propertyInData=Jt.isOwnProperty=Jt.hasPropFunc=Jt.reportMissingProp=Jt.checkMissingProp=Jt.checkReportMissingProp=void 0;const e=yt(),t=Ft(),a=Ji(),o=Ft();function n(k,C){const{gen:E,data:_,it:D}=k;E.if(m(E,_,C,D.opts.ownProperties),()=>{k.setParams({missingProperty:(0,e._)`${C}`},!0),k.error()})}Jt.checkReportMissingProp=n;function r({gen:k,data:C,it:{opts:E}},_,D){return(0,e.or)(..._.map(R=>(0,e.and)(m(k,C,R,E.ownProperties),(0,e._)`${D} = ${R}`)))}Jt.checkMissingProp=r;function i(k,C){k.setParams({missingProperty:C},!0),k.error()}Jt.reportMissingProp=i;function c(k){return k.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}Jt.hasPropFunc=c;function d(k,C,E){return(0,e._)`${c(k)}.call(${C}, ${E})`}Jt.isOwnProperty=d;function u(k,C,E,_){const D=(0,e._)`${C}${(0,e.getProperty)(E)} !== undefined`;return _?(0,e._)`${D} && ${d(k,C,E)}`:D}Jt.propertyInData=u;function m(k,C,E,_){const D=(0,e._)`${C}${(0,e.getProperty)(E)} === undefined`;return _?(0,e.or)(D,(0,e.not)(d(k,C,E))):D}Jt.noPropertyInData=m;function h(k){return k?Object.keys(k).filter(C=>C!=="__proto__"):[]}Jt.allSchemaProperties=h;function f(k,C){return h(C).filter(E=>!(0,t.alwaysValidSchema)(k,C[E]))}Jt.schemaProperties=f;function v({schemaCode:k,data:C,it:{gen:E,topSchemaRef:_,schemaPath:D,errorPath:R},it:O},L,U,B){const z=B?(0,e._)`${k}, ${C}, ${_}${D}`:C,F=[[a.default.instancePath,(0,e.strConcat)(a.default.instancePath,R)],[a.default.parentData,O.parentData],[a.default.parentDataProperty,O.parentDataProperty],[a.default.rootData,a.default.rootData]];O.opts.dynamicRef&&F.push([a.default.dynamicAnchors,a.default.dynamicAnchors]);const W=(0,e._)`${z}, ${E.object(...F)}`;return U!==e.nil?(0,e._)`${L}.call(${U}, ${W})`:(0,e._)`${L}(${W})`}Jt.callValidateCode=v;const b=(0,e._)`new RegExp`;function w({gen:k,it:{opts:C}},E){const _=C.unicodeRegExp?"u":"",{regExp:D}=C.code,R=D(E,_);return k.scopeValue("pattern",{key:R.toString(),ref:R,code:(0,e._)`${D.code==="new RegExp"?b:(0,o.useFunc)(k,D)}(${E}, ${_})`})}Jt.usePattern=w;function x(k){const{gen:C,data:E,keyword:_,it:D}=k,R=C.name("valid");if(D.allErrors){const L=C.let("valid",!0);return O(()=>C.assign(L,!1)),L}return C.var(R,!0),O(()=>C.break()),R;function O(L){const U=C.const("len",(0,e._)`${E}.length`);C.forRange("i",0,U,B=>{k.subschema({keyword:_,dataProp:B,dataPropType:t.Type.Num},R),C.if((0,e.not)(R),L)})}}Jt.validateArray=x;function T(k){const{gen:C,schema:E,keyword:_,it:D}=k;if(!Array.isArray(E))throw new Error("ajv implementation error");if(E.some(U=>(0,t.alwaysValidSchema)(D,U))&&!D.opts.unevaluated)return;const O=C.let("valid",!1),L=C.name("_valid");C.block(()=>E.forEach((U,B)=>{const z=k.subschema({keyword:_,schemaProp:B,compositeRule:!0},L);C.assign(O,(0,e._)`${O} || ${L}`),k.mergeValidEvaluated(z,L)||C.if((0,e.not)(O))})),k.result(O,()=>k.reset(),()=>k.error(!0))}return Jt.validateUnion=T,Jt}var rD;function YQ(){if(rD)return fr;rD=1,Object.defineProperty(fr,"__esModule",{value:!0}),fr.validateKeywordUsage=fr.validSchemaType=fr.funcKeywordCode=fr.macroKeywordCode=void 0;const e=yt(),t=Ji(),a=Or(),o=nb();function n(f,v){const{gen:b,keyword:w,schema:x,parentSchema:T,it:k}=f,C=v.macro.call(k.self,x,T,k),E=u(b,w,C);k.opts.validateSchema!==!1&&k.self.validateSchema(C,!0);const _=b.name("valid");f.subschema({schema:C,schemaPath:e.nil,errSchemaPath:`${k.errSchemaPath}/${w}`,topSchemaRef:E,compositeRule:!0},_),f.pass(_,()=>f.error(!0))}fr.macroKeywordCode=n;function r(f,v){var b;const{gen:w,keyword:x,schema:T,parentSchema:k,$data:C,it:E}=f;d(E,v);const _=!C&&v.compile?v.compile.call(E.self,T,k,E):v.validate,D=u(w,x,_),R=w.let("valid");f.block$data(R,O),f.ok((b=v.valid)!==null&&b!==void 0?b:R);function O(){if(v.errors===!1)B(),v.modifying&&i(f),z(()=>f.error());else{const F=v.async?L():U();v.modifying&&i(f),z(()=>c(f,F))}}function L(){const F=w.let("ruleErrs",null);return w.try(()=>B((0,e._)`await `),W=>w.assign(R,!1).if((0,e._)`${W} instanceof ${E.ValidationError}`,()=>w.assign(F,(0,e._)`${W}.errors`),()=>w.throw(W))),F}function U(){const F=(0,e._)`${D}.errors`;return w.assign(F,null),B(e.nil),F}function B(F=v.async?(0,e._)`await `:e.nil){const W=E.opts.passContext?t.default.this:t.default.self,ae=!("compile"in v&&!C||v.schema===!1);w.assign(R,(0,e._)`${F}${(0,a.callValidateCode)(f,D,W,ae)}`,v.modifying)}function z(F){var W;w.if((0,e.not)((W=v.valid)!==null&&W!==void 0?W:R),F)}}fr.funcKeywordCode=r;function i(f){const{gen:v,data:b,it:w}=f;v.if(w.parentData,()=>v.assign(b,(0,e._)`${w.parentData}[${w.parentDataProperty}]`))}function c(f,v){const{gen:b}=f;b.if((0,e._)`Array.isArray(${v})`,()=>{b.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${v} : ${t.default.vErrors}.concat(${v})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,o.extendErrors)(f)},()=>f.error())}function d({schemaEnv:f},v){if(v.async&&!f.$async)throw new Error("async keyword in sync schema")}function u(f,v,b){if(b===void 0)throw new Error(`keyword "${v}" failed to compile`);return f.scopeValue("keyword",typeof b=="function"?{ref:b}:{ref:b,code:(0,e.stringify)(b)})}function m(f,v,b=!1){return!v.length||v.some(w=>w==="array"?Array.isArray(f):w==="object"?f&&typeof f=="object"&&!Array.isArray(f):typeof f==w||b&&typeof f>"u")}fr.validSchemaType=m;function h({schema:f,opts:v,self:b,errSchemaPath:w},x,T){if(Array.isArray(x.keyword)?!x.keyword.includes(T):x.keyword!==T)throw new Error("ajv implementation error");const k=x.dependencies;if(k?.some(C=>!Object.prototype.hasOwnProperty.call(f,C)))throw new Error(`parent schema must have dependencies of ${T}: ${k.join(",")}`);if(x.validateSchema&&!x.validateSchema(f[T])){const E=`keyword "${T}" value is invalid at path "${w}": `+b.errorsText(x.validateSchema.errors);if(v.validateSchema==="log")b.logger.error(E);else throw new Error(E)}}return fr.validateKeywordUsage=h,fr}var Ps={},sD;function QQ(){if(sD)return Ps;sD=1,Object.defineProperty(Ps,"__esModule",{value:!0}),Ps.extendSubschemaMode=Ps.extendSubschemaData=Ps.getSubschema=void 0;const e=yt(),t=Ft();function a(r,{keyword:i,schemaProp:c,schema:d,schemaPath:u,errSchemaPath:m,topSchemaRef:h}){if(i!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(i!==void 0){const f=r.schema[i];return c===void 0?{schema:f,schemaPath:(0,e._)`${r.schemaPath}${(0,e.getProperty)(i)}`,errSchemaPath:`${r.errSchemaPath}/${i}`}:{schema:f[c],schemaPath:(0,e._)`${r.schemaPath}${(0,e.getProperty)(i)}${(0,e.getProperty)(c)}`,errSchemaPath:`${r.errSchemaPath}/${i}/${(0,t.escapeFragment)(c)}`}}if(d!==void 0){if(u===void 0||m===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:u,topSchemaRef:h,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}Ps.getSubschema=a;function o(r,i,{dataProp:c,dataPropType:d,data:u,dataTypes:m,propertyName:h}){if(u!==void 0&&c!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:f}=i;if(c!==void 0){const{errorPath:b,dataPathArr:w,opts:x}=i,T=f.let("data",(0,e._)`${i.data}${(0,e.getProperty)(c)}`,!0);v(T),r.errorPath=(0,e.str)`${b}${(0,t.getErrorPath)(c,d,x.jsPropertySyntax)}`,r.parentDataProperty=(0,e._)`${c}`,r.dataPathArr=[...w,r.parentDataProperty]}if(u!==void 0){const b=u instanceof e.Name?u:f.let("data",u,!0);v(b),h!==void 0&&(r.propertyName=h)}m&&(r.dataTypes=m);function v(b){r.data=b,r.dataLevel=i.dataLevel+1,r.dataTypes=[],i.definedProperties=new Set,r.parentData=i.data,r.dataNames=[...i.dataNames,b]}}Ps.extendSubschemaData=o;function n(r,{jtdDiscriminator:i,jtdMetadata:c,compositeRule:d,createErrors:u,allErrors:m}){d!==void 0&&(r.compositeRule=d),u!==void 0&&(r.createErrors=u),m!==void 0&&(r.allErrors=m),r.jtdDiscriminator=i,r.jtdMetadata=c}return Ps.extendSubschemaMode=n,Ps}var Ko={},TS,iD;function lB(){return iD||(iD=1,TS=function e(t,a){if(t===a)return!0;if(t&&a&&typeof t=="object"&&typeof a=="object"){if(t.constructor!==a.constructor)return!1;var o,n,r;if(Array.isArray(t)){if(o=t.length,o!=a.length)return!1;for(n=o;n--!==0;)if(!e(t[n],a[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if(r=Object.keys(t),o=r.length,o!==Object.keys(a).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(a,r[n]))return!1;for(n=o;n--!==0;){var i=r[n];if(!e(t[i],a[i]))return!1}return!0}return t!==t&&a!==a}),TS}var xS={exports:{}},lD;function ZQ(){if(lD)return xS.exports;lD=1;var e=xS.exports=function(o,n,r){typeof n=="function"&&(r=n,n={}),r=n.cb||r;var i=typeof r=="function"?r:r.pre||function(){},c=r.post||function(){};t(n,i,c,o,"",o)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(o,n,r,i,c,d,u,m,h,f){if(i&&typeof i=="object"&&!Array.isArray(i)){n(i,c,d,u,m,h,f);for(var v in i){var b=i[v];if(Array.isArray(b)){if(v in e.arrayKeywords)for(var w=0;w<b.length;w++)t(o,n,r,b[w],c+"/"+v+"/"+w,d,c,v,i,w)}else if(v in e.propsKeywords){if(b&&typeof b=="object")for(var x in b)t(o,n,r,b[x],c+"/"+v+"/"+a(x),d,c,v,i,x)}else(v in e.keywords||o.allKeys&&!(v in e.skipKeywords))&&t(o,n,r,b,c+"/"+v,d,c,v,i)}r(i,c,d,u,m,h,f)}}function a(o){return o.replace(/~/g,"~0").replace(/\//g,"~1")}return xS.exports}var cD;function rb(){if(cD)return Ko;cD=1,Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.getSchemaRefs=Ko.resolveUrl=Ko.normalizeId=Ko._getFullPath=Ko.getFullPath=Ko.inlineRef=void 0;const e=Ft(),t=lB(),a=ZQ(),o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function n(w,x=!0){return typeof w=="boolean"?!0:x===!0?!i(w):x?c(w)<=x:!1}Ko.inlineRef=n;const r=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function i(w){for(const x in w){if(r.has(x))return!0;const T=w[x];if(Array.isArray(T)&&T.some(i)||typeof T=="object"&&i(T))return!0}return!1}function c(w){let x=0;for(const T in w){if(T==="$ref")return 1/0;if(x++,!o.has(T)&&(typeof w[T]=="object"&&(0,e.eachItem)(w[T],k=>x+=c(k)),x===1/0))return 1/0}return x}function d(w,x="",T){T!==!1&&(x=h(x));const k=w.parse(x);return u(w,k)}Ko.getFullPath=d;function u(w,x){return w.serialize(x).split("#")[0]+"#"}Ko._getFullPath=u;const m=/#\/?$/;function h(w){return w?w.replace(m,""):""}Ko.normalizeId=h;function f(w,x,T){return T=h(T),w.resolve(x,T)}Ko.resolveUrl=f;const v=/^[a-z_][-a-z0-9._]*$/i;function b(w,x){if(typeof w=="boolean")return{};const{schemaId:T,uriResolver:k}=this.opts,C=h(w[T]||x),E={"":C},_=d(k,C,!1),D={},R=new Set;return a(w,{allKeys:!0},(U,B,z,F)=>{if(F===void 0)return;const W=_+B;let ae=E[F];typeof U[T]=="string"&&(ae=H.call(this,U[T])),K.call(this,U.$anchor),K.call(this,U.$dynamicAnchor),E[B]=ae;function H(J){const se=this.opts.uriResolver.resolve;if(J=h(ae?se(ae,J):J),R.has(J))throw L(J);R.add(J);let Z=this.refs[J];return typeof Z=="string"&&(Z=this.refs[Z]),typeof Z=="object"?O(U,Z.schema,J):J!==h(W)&&(J[0]==="#"?(O(U,D[J],J),D[J]=U):this.refs[J]=W),J}function K(J){if(typeof J=="string"){if(!v.test(J))throw new Error(`invalid anchor "${J}"`);H.call(this,`#${J}`)}}}),D;function O(U,B,z){if(B!==void 0&&!t(U,B))throw L(z)}function L(U){return new Error(`reference "${U}" resolves to more than one schema`)}}return Ko.getSchemaRefs=b,Ko}var dD;function sb(){if(dD)return Es;dD=1,Object.defineProperty(Es,"__esModule",{value:!0}),Es.getData=Es.KeywordCxt=Es.validateFunctionCode=void 0;const e=WQ(),t=Zf(),a=iB(),o=Zf(),n=KQ(),r=YQ(),i=QQ(),c=yt(),d=Ji(),u=rb(),m=Ft(),h=nb();function f(Q){if(_(Q)&&(R(Q),E(Q))){x(Q);return}v(Q,()=>(0,e.topBoolOrEmptySchema)(Q))}Es.validateFunctionCode=f;function v({gen:Q,validateName:ne,schema:ve,schemaEnv:ie,opts:xe},Pe){xe.code.es5?Q.func(ne,(0,c._)`${d.default.data}, ${d.default.valCxt}`,ie.$async,()=>{Q.code((0,c._)`"use strict"; ${k(ve,xe)}`),w(Q,xe),Q.code(Pe)}):Q.func(ne,(0,c._)`${d.default.data}, ${b(xe)}`,ie.$async,()=>Q.code(k(ve,xe)).code(Pe))}function b(Q){return(0,c._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${Q.dynamicRef?(0,c._)`, ${d.default.dynamicAnchors}={}`:c.nil}}={}`}function w(Q,ne){Q.if(d.default.valCxt,()=>{Q.var(d.default.instancePath,(0,c._)`${d.default.valCxt}.${d.default.instancePath}`),Q.var(d.default.parentData,(0,c._)`${d.default.valCxt}.${d.default.parentData}`),Q.var(d.default.parentDataProperty,(0,c._)`${d.default.valCxt}.${d.default.parentDataProperty}`),Q.var(d.default.rootData,(0,c._)`${d.default.valCxt}.${d.default.rootData}`),ne.dynamicRef&&Q.var(d.default.dynamicAnchors,(0,c._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{Q.var(d.default.instancePath,(0,c._)`""`),Q.var(d.default.parentData,(0,c._)`undefined`),Q.var(d.default.parentDataProperty,(0,c._)`undefined`),Q.var(d.default.rootData,d.default.data),ne.dynamicRef&&Q.var(d.default.dynamicAnchors,(0,c._)`{}`)})}function x(Q){const{schema:ne,opts:ve,gen:ie}=Q;v(Q,()=>{ve.$comment&&ne.$comment&&F(Q),U(Q),ie.let(d.default.vErrors,null),ie.let(d.default.errors,0),ve.unevaluated&&T(Q),O(Q),W(Q)})}function T(Q){const{gen:ne,validateName:ve}=Q;Q.evaluated=ne.const("evaluated",(0,c._)`${ve}.evaluated`),ne.if((0,c._)`${Q.evaluated}.dynamicProps`,()=>ne.assign((0,c._)`${Q.evaluated}.props`,(0,c._)`undefined`)),ne.if((0,c._)`${Q.evaluated}.dynamicItems`,()=>ne.assign((0,c._)`${Q.evaluated}.items`,(0,c._)`undefined`))}function k(Q,ne){const ve=typeof Q=="object"&&Q[ne.schemaId];return ve&&(ne.code.source||ne.code.process)?(0,c._)`/*# sourceURL=${ve} */`:c.nil}function C(Q,ne){if(_(Q)&&(R(Q),E(Q))){D(Q,ne);return}(0,e.boolOrEmptySchema)(Q,ne)}function E({schema:Q,self:ne}){if(typeof Q=="boolean")return!Q;for(const ve in Q)if(ne.RULES.all[ve])return!0;return!1}function _(Q){return typeof Q.schema!="boolean"}function D(Q,ne){const{schema:ve,gen:ie,opts:xe}=Q;xe.$comment&&ve.$comment&&F(Q),B(Q),z(Q);const Pe=ie.const("_errs",d.default.errors);O(Q,Pe),ie.var(ne,(0,c._)`${Pe} === ${d.default.errors}`)}function R(Q){(0,m.checkUnknownRules)(Q),L(Q)}function O(Q,ne){if(Q.opts.jtd)return H(Q,[],!1,ne);const ve=(0,t.getSchemaTypes)(Q.schema),ie=(0,t.coerceAndCheckDataType)(Q,ve);H(Q,ve,!ie,ne)}function L(Q){const{schema:ne,errSchemaPath:ve,opts:ie,self:xe}=Q;ne.$ref&&ie.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(ne,xe.RULES)&&xe.logger.warn(`$ref: keywords ignored in schema at path "${ve}"`)}function U(Q){const{schema:ne,opts:ve}=Q;ne.default!==void 0&&ve.useDefaults&&ve.strictSchema&&(0,m.checkStrictMode)(Q,"default is ignored in the schema root")}function B(Q){const ne=Q.schema[Q.opts.schemaId];ne&&(Q.baseId=(0,u.resolveUrl)(Q.opts.uriResolver,Q.baseId,ne))}function z(Q){if(Q.schema.$async&&!Q.schemaEnv.$async)throw new Error("async schema in sync schema")}function F({gen:Q,schemaEnv:ne,schema:ve,errSchemaPath:ie,opts:xe}){const Pe=ve.$comment;if(xe.$comment===!0)Q.code((0,c._)`${d.default.self}.logger.log(${Pe})`);else if(typeof xe.$comment=="function"){const it=(0,c.str)`${ie}/$comment`,ct=Q.scopeValue("root",{ref:ne.root});Q.code((0,c._)`${d.default.self}.opts.$comment(${Pe}, ${it}, ${ct}.schema)`)}}function W(Q){const{gen:ne,schemaEnv:ve,validateName:ie,ValidationError:xe,opts:Pe}=Q;ve.$async?ne.if((0,c._)`${d.default.errors} === 0`,()=>ne.return(d.default.data),()=>ne.throw((0,c._)`new ${xe}(${d.default.vErrors})`)):(ne.assign((0,c._)`${ie}.errors`,d.default.vErrors),Pe.unevaluated&&ae(Q),ne.return((0,c._)`${d.default.errors} === 0`))}function ae({gen:Q,evaluated:ne,props:ve,items:ie}){ve instanceof c.Name&&Q.assign((0,c._)`${ne}.props`,ve),ie instanceof c.Name&&Q.assign((0,c._)`${ne}.items`,ie)}function H(Q,ne,ve,ie){const{gen:xe,schema:Pe,data:it,allErrors:ct,opts:Ge,self:ot}=Q,{RULES:Ne}=ot;if(Pe.$ref&&(Ge.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(Pe,Ne))){xe.block(()=>de(Q,"$ref",Ne.all.$ref.definition));return}Ge.jtd||J(Q,ne),xe.block(()=>{for(const He of Ne.rules)Oe(He);Oe(Ne.post)});function Oe(He){(0,a.shouldUseGroup)(Pe,He)&&(He.type?(xe.if((0,o.checkDataType)(He.type,it,Ge.strictNumbers)),K(Q,He),ne.length===1&&ne[0]===He.type&&ve&&(xe.else(),(0,o.reportTypeError)(Q)),xe.endIf()):K(Q,He),ct||xe.if((0,c._)`${d.default.errors} === ${ie||0}`))}}function K(Q,ne){const{gen:ve,schema:ie,opts:{useDefaults:xe}}=Q;xe&&(0,n.assignDefaults)(Q,ne.type),ve.block(()=>{for(const Pe of ne.rules)(0,a.shouldUseRule)(ie,Pe)&&de(Q,Pe.keyword,Pe.definition,ne.type)})}function J(Q,ne){Q.schemaEnv.meta||!Q.opts.strictTypes||(se(Q,ne),Q.opts.allowUnionTypes||Z(Q,ne),M(Q,Q.dataTypes))}function se(Q,ne){if(ne.length){if(!Q.dataTypes.length){Q.dataTypes=ne;return}ne.forEach(ve=>{V(Q.dataTypes,ve)||j(Q,`type "${ve}" not allowed by context "${Q.dataTypes.join(",")}"`)}),I(Q,ne)}}function Z(Q,ne){ne.length>1&&!(ne.length===2&&ne.includes("null"))&&j(Q,"use allowUnionTypes to allow union type keyword")}function M(Q,ne){const ve=Q.self.RULES.all;for(const ie in ve){const xe=ve[ie];if(typeof xe=="object"&&(0,a.shouldUseRule)(Q.schema,xe)){const{type:Pe}=xe.definition;Pe.length&&!Pe.some(it=>G(ne,it))&&j(Q,`missing type "${Pe.join(",")}" for keyword "${ie}"`)}}}function G(Q,ne){return Q.includes(ne)||ne==="number"&&Q.includes("integer")}function V(Q,ne){return Q.includes(ne)||ne==="integer"&&Q.includes("number")}function I(Q,ne){const ve=[];for(const ie of Q.dataTypes)V(ne,ie)?ve.push(ie):ne.includes("integer")&&ie==="number"&&ve.push("integer");Q.dataTypes=ve}function j(Q,ne){const ve=Q.schemaEnv.baseId+Q.errSchemaPath;ne+=` at "${ve}" (strictTypes)`,(0,m.checkStrictMode)(Q,ne,Q.opts.strictTypes)}class X{constructor(ne,ve,ie){if((0,r.validateKeywordUsage)(ne,ve,ie),this.gen=ne.gen,this.allErrors=ne.allErrors,this.keyword=ie,this.data=ne.data,this.schema=ne.schema[ie],this.$data=ve.$data&&ne.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(ne,this.schema,ie,this.$data),this.schemaType=ve.schemaType,this.parentSchema=ne.schema,this.params={},this.it=ne,this.def=ve,this.$data)this.schemaCode=ne.gen.const("vSchema",qe(this.$data,ne));else if(this.schemaCode=this.schemaValue,!(0,r.validSchemaType)(this.schema,ve.schemaType,ve.allowUndefined))throw new Error(`${ie} value must be ${JSON.stringify(ve.schemaType)}`);("code"in ve?ve.trackErrors:ve.errors!==!1)&&(this.errsCount=ne.gen.const("_errs",d.default.errors))}result(ne,ve,ie){this.failResult((0,c.not)(ne),ve,ie)}failResult(ne,ve,ie){this.gen.if(ne),ie?ie():this.error(),ve?(this.gen.else(),ve(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(ne,ve){this.failResult((0,c.not)(ne),void 0,ve)}fail(ne){if(ne===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(ne),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(ne){if(!this.$data)return this.fail(ne);const{schemaCode:ve}=this;this.fail((0,c._)`${ve} !== undefined && (${(0,c.or)(this.invalid$data(),ne)})`)}error(ne,ve,ie){if(ve){this.setParams(ve),this._error(ne,ie),this.setParams({});return}this._error(ne,ie)}_error(ne,ve){(ne?h.reportExtraError:h.reportError)(this,this.def.error,ve)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(ne){this.allErrors||this.gen.if(ne)}setParams(ne,ve){ve?Object.assign(this.params,ne):this.params=ne}block$data(ne,ve,ie=c.nil){this.gen.block(()=>{this.check$data(ne,ie),ve()})}check$data(ne=c.nil,ve=c.nil){if(!this.$data)return;const{gen:ie,schemaCode:xe,schemaType:Pe,def:it}=this;ie.if((0,c.or)((0,c._)`${xe} === undefined`,ve)),ne!==c.nil&&ie.assign(ne,!0),(Pe.length||it.validateSchema)&&(ie.elseIf(this.invalid$data()),this.$dataError(),ne!==c.nil&&ie.assign(ne,!1)),ie.else()}invalid$data(){const{gen:ne,schemaCode:ve,schemaType:ie,def:xe,it:Pe}=this;return(0,c.or)(it(),ct());function it(){if(ie.length){if(!(ve instanceof c.Name))throw new Error("ajv implementation error");const Ge=Array.isArray(ie)?ie:[ie];return(0,c._)`${(0,o.checkDataTypes)(Ge,ve,Pe.opts.strictNumbers,o.DataType.Wrong)}`}return c.nil}function ct(){if(xe.validateSchema){const Ge=ne.scopeValue("validate$data",{ref:xe.validateSchema});return(0,c._)`!${Ge}(${ve})`}return c.nil}}subschema(ne,ve){const ie=(0,i.getSubschema)(this.it,ne);(0,i.extendSubschemaData)(ie,this.it,ne),(0,i.extendSubschemaMode)(ie,ne);const xe={...this.it,...ie,items:void 0,props:void 0};return C(xe,ve),xe}mergeEvaluated(ne,ve){const{it:ie,gen:xe}=this;ie.opts.unevaluated&&(ie.props!==!0&&ne.props!==void 0&&(ie.props=m.mergeEvaluated.props(xe,ne.props,ie.props,ve)),ie.items!==!0&&ne.items!==void 0&&(ie.items=m.mergeEvaluated.items(xe,ne.items,ie.items,ve)))}mergeValidEvaluated(ne,ve){const{it:ie,gen:xe}=this;if(ie.opts.unevaluated&&(ie.props!==!0||ie.items!==!0))return xe.if(ve,()=>this.mergeEvaluated(ne,c.Name)),!0}}Es.KeywordCxt=X;function de(Q,ne,ve,ie){const xe=new X(Q,ve,ne);"code"in ve?ve.code(xe,ie):xe.$data&&ve.validate?(0,r.funcKeywordCode)(xe,ve):"macro"in ve?(0,r.macroKeywordCode)(xe,ve):(ve.compile||ve.validate)&&(0,r.funcKeywordCode)(xe,ve)}const ue=/^\/(?:[^~]|~0|~1)*$/,Ee=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function qe(Q,{dataLevel:ne,dataNames:ve,dataPathArr:ie}){let xe,Pe;if(Q==="")return d.default.rootData;if(Q[0]==="/"){if(!ue.test(Q))throw new Error(`Invalid JSON-pointer: ${Q}`);xe=Q,Pe=d.default.rootData}else{const ot=Ee.exec(Q);if(!ot)throw new Error(`Invalid JSON-pointer: ${Q}`);const Ne=+ot[1];if(xe=ot[2],xe==="#"){if(Ne>=ne)throw new Error(Ge("property/index",Ne));return ie[ne-Ne]}if(Ne>ne)throw new Error(Ge("data",Ne));if(Pe=ve[ne-Ne],!xe)return Pe}let it=Pe;const ct=xe.split("/");for(const ot of ct)ot&&(Pe=(0,c._)`${Pe}${(0,c.getProperty)((0,m.unescapeJsonPointer)(ot))}`,it=(0,c._)`${it} && ${Pe}`);return it;function Ge(ot,Ne){return`Cannot access ${ot} ${Ne} levels up, current level is ${ne}`}}return Es.getData=qe,Es}var ag={},uD;function Kk(){if(uD)return ag;uD=1,Object.defineProperty(ag,"__esModule",{value:!0});class e extends Error{constructor(a){super("validation failed"),this.errors=a,this.ajv=this.validation=!0}}return ag.default=e,ag}var og={},pD;function ib(){if(pD)return og;pD=1,Object.defineProperty(og,"__esModule",{value:!0});const e=rb();class t extends Error{constructor(o,n,r,i){super(i||`can't resolve reference ${r} from id ${n}`),this.missingRef=(0,e.resolveUrl)(o,n,r),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(o,this.missingRef))}}return og.default=t,og}var _n={},mD;function Yk(){if(mD)return _n;mD=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.resolveSchema=_n.getCompilingSchema=_n.resolveRef=_n.compileSchema=_n.SchemaEnv=void 0;const e=yt(),t=Kk(),a=Ji(),o=rb(),n=Ft(),r=sb();class i{constructor(T){var k;this.refs={},this.dynamicAnchors={};let C;typeof T.schema=="object"&&(C=T.schema),this.schema=T.schema,this.schemaId=T.schemaId,this.root=T.root||this,this.baseId=(k=T.baseId)!==null&&k!==void 0?k:(0,o.normalizeId)(C?.[T.schemaId||"$id"]),this.schemaPath=T.schemaPath,this.localRefs=T.localRefs,this.meta=T.meta,this.$async=C?.$async,this.refs={}}}_n.SchemaEnv=i;function c(x){const T=m.call(this,x);if(T)return T;const k=(0,o.getFullPath)(this.opts.uriResolver,x.root.baseId),{es5:C,lines:E}=this.opts.code,{ownProperties:_}=this.opts,D=new e.CodeGen(this.scope,{es5:C,lines:E,ownProperties:_});let R;x.$async&&(R=D.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const O=D.scopeName("validate");x.validateName=O;const L={gen:D,allErrors:this.opts.allErrors,data:a.default.data,parentData:a.default.parentData,parentDataProperty:a.default.parentDataProperty,dataNames:[a.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:D.scopeValue("schema",this.opts.code.source===!0?{ref:x.schema,code:(0,e.stringify)(x.schema)}:{ref:x.schema}),validateName:O,ValidationError:R,schema:x.schema,schemaEnv:x,rootId:k,baseId:x.baseId||k,schemaPath:e.nil,errSchemaPath:x.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let U;try{this._compilations.add(x),(0,r.validateFunctionCode)(L),D.optimize(this.opts.code.optimize);const B=D.toString();U=`${D.scopeRefs(a.default.scope)}return ${B}`,this.opts.code.process&&(U=this.opts.code.process(U,x));const F=new Function(`${a.default.self}`,`${a.default.scope}`,U)(this,this.scope.get());if(this.scope.value(O,{ref:F}),F.errors=null,F.schema=x.schema,F.schemaEnv=x,x.$async&&(F.$async=!0),this.opts.code.source===!0&&(F.source={validateName:O,validateCode:B,scopeValues:D._values}),this.opts.unevaluated){const{props:W,items:ae}=L;F.evaluated={props:W instanceof e.Name?void 0:W,items:ae instanceof e.Name?void 0:ae,dynamicProps:W instanceof e.Name,dynamicItems:ae instanceof e.Name},F.source&&(F.source.evaluated=(0,e.stringify)(F.evaluated))}return x.validate=F,x}catch(B){throw delete x.validate,delete x.validateName,U&&this.logger.error("Error compiling schema, function code:",U),B}finally{this._compilations.delete(x)}}_n.compileSchema=c;function d(x,T,k){var C;k=(0,o.resolveUrl)(this.opts.uriResolver,T,k);const E=x.refs[k];if(E)return E;let _=f.call(this,x,k);if(_===void 0){const D=(C=x.localRefs)===null||C===void 0?void 0:C[k],{schemaId:R}=this.opts;D&&(_=new i({schema:D,schemaId:R,root:x,baseId:T}))}if(_!==void 0)return x.refs[k]=u.call(this,_)}_n.resolveRef=d;function u(x){return(0,o.inlineRef)(x.schema,this.opts.inlineRefs)?x.schema:x.validate?x:c.call(this,x)}function m(x){for(const T of this._compilations)if(h(T,x))return T}_n.getCompilingSchema=m;function h(x,T){return x.schema===T.schema&&x.root===T.root&&x.baseId===T.baseId}function f(x,T){let k;for(;typeof(k=this.refs[T])=="string";)T=k;return k||this.schemas[T]||v.call(this,x,T)}function v(x,T){const k=this.opts.uriResolver.parse(T),C=(0,o._getFullPath)(this.opts.uriResolver,k);let E=(0,o.getFullPath)(this.opts.uriResolver,x.baseId,void 0);if(Object.keys(x.schema).length>0&&C===E)return w.call(this,k,x);const _=(0,o.normalizeId)(C),D=this.refs[_]||this.schemas[_];if(typeof D=="string"){const R=v.call(this,x,D);return typeof R?.schema!="object"?void 0:w.call(this,k,R)}if(typeof D?.schema=="object"){if(D.validate||c.call(this,D),_===(0,o.normalizeId)(T)){const{schema:R}=D,{schemaId:O}=this.opts,L=R[O];return L&&(E=(0,o.resolveUrl)(this.opts.uriResolver,E,L)),new i({schema:R,schemaId:O,root:x,baseId:E})}return w.call(this,k,D)}}_n.resolveSchema=v;const b=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function w(x,{baseId:T,schema:k,root:C}){var E;if(((E=x.fragment)===null||E===void 0?void 0:E[0])!=="/")return;for(const R of x.fragment.slice(1).split("/")){if(typeof k=="boolean")return;const O=k[(0,n.unescapeFragment)(R)];if(O===void 0)return;k=O;const L=typeof k=="object"&&k[this.opts.schemaId];!b.has(R)&&L&&(T=(0,o.resolveUrl)(this.opts.uriResolver,T,L))}let _;if(typeof k!="boolean"&&k.$ref&&!(0,n.schemaHasRulesButRef)(k,this.RULES)){const R=(0,o.resolveUrl)(this.opts.uriResolver,T,k.$ref);_=v.call(this,C,R)}const{schemaId:D}=this.opts;if(_=_||new i({schema:k,schemaId:D,root:C,baseId:T}),_.schema!==_.root.schema)return _}return _n}const JQ="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",XQ="Meta-schema for $data reference (JSON AnySchema extension proposal)",eZ="object",tZ=["$data"],aZ={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},oZ=!1,nZ={$id:JQ,description:XQ,type:eZ,required:tZ,properties:aZ,additionalProperties:oZ};var ng={},Zu={exports:{}},kS,hD;function cB(){if(hD)return kS;hD=1;const e=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),t=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function a(f){let v="",b=0,w=0;for(w=0;w<f.length;w++)if(b=f[w].charCodeAt(0),b!==48){if(!(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102))return"";v+=f[w];break}for(w+=1;w<f.length;w++){if(b=f[w].charCodeAt(0),!(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102))return"";v+=f[w]}return v}const o=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function n(f){return f.length=0,!0}function r(f,v,b){if(f.length){const w=a(f);if(w!=="")v.push(w);else return b.error=!0,!1;f.length=0}return!0}function i(f){let v=0;const b={error:!1,address:"",zone:""},w=[],x=[];let T=!1,k=!1,C=r;for(let E=0;E<f.length;E++){const _=f[E];if(!(_==="["||_==="]"))if(_===":"){if(T===!0&&(k=!0),!C(x,w,b))break;if(++v>7){b.error=!0;break}E>0&&f[E-1]===":"&&(T=!0),w.push(":");continue}else if(_==="%"){if(!C(x,w,b))break;C=n}else{x.push(_);continue}}return x.length&&(C===n?b.zone=x.join(""):k?w.push(x.join("")):w.push(a(x))),b.address=w.join(""),b}function c(f){if(d(f,":")<2)return{host:f,isIPV6:!1};const v=i(f);if(v.error)return{host:f,isIPV6:!1};{let b=v.address,w=v.address;return v.zone&&(b+="%"+v.zone,w+="%25"+v.zone),{host:b,isIPV6:!0,escapedHost:w}}}function d(f,v){let b=0;for(let w=0;w<f.length;w++)f[w]===v&&b++;return b}function u(f){let v=f;const b=[];let w=-1,x=0;for(;x=v.length;){if(x===1){if(v===".")break;if(v==="/"){b.push("/");break}else{b.push(v);break}}else if(x===2){if(v[0]==="."){if(v[1]===".")break;if(v[1]==="/"){v=v.slice(2);continue}}else if(v[0]==="/"&&(v[1]==="."||v[1]==="/")){b.push("/");break}}else if(x===3&&v==="/.."){b.length!==0&&b.pop(),b.push("/");break}if(v[0]==="."){if(v[1]==="."){if(v[2]==="/"){v=v.slice(3);continue}}else if(v[1]==="/"){v=v.slice(2);continue}}else if(v[0]==="/"&&v[1]==="."){if(v[2]==="/"){v=v.slice(2);continue}else if(v[2]==="."&&v[3]==="/"){v=v.slice(3),b.length!==0&&b.pop();continue}}if((w=v.indexOf("/",1))===-1){b.push(v);break}else b.push(v.slice(0,w)),v=v.slice(w)}return b.join("")}function m(f,v){const b=v!==!0?escape:unescape;return f.scheme!==void 0&&(f.scheme=b(f.scheme)),f.userinfo!==void 0&&(f.userinfo=b(f.userinfo)),f.host!==void 0&&(f.host=b(f.host)),f.path!==void 0&&(f.path=b(f.path)),f.query!==void 0&&(f.query=b(f.query)),f.fragment!==void 0&&(f.fragment=b(f.fragment)),f}function h(f){const v=[];if(f.userinfo!==void 0&&(v.push(f.userinfo),v.push("@")),f.host!==void 0){let b=unescape(f.host);if(!t(b)){const w=c(b);w.isIPV6===!0?b=`[${w.escapedHost}]`:b=f.host}v.push(b)}return(typeof f.port=="number"||typeof f.port=="string")&&(v.push(":"),v.push(String(f.port))),v.length?v.join(""):void 0}return kS={nonSimpleDomain:o,recomposeAuthority:h,normalizeComponentEncoding:m,removeDotSegments:u,isIPv4:t,isUUID:e,normalizeIPv6:c,stringArrayToHexStripped:a},kS}var ES,gD;function rZ(){if(gD)return ES;gD=1;const{isUUID:e}=cB(),t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,a=["http","https","ws","wss","urn","urn:uuid"];function o(_){return a.indexOf(_)!==-1}function n(_){return _.secure===!0?!0:_.secure===!1?!1:_.scheme?_.scheme.length===3&&(_.scheme[0]==="w"||_.scheme[0]==="W")&&(_.scheme[1]==="s"||_.scheme[1]==="S")&&(_.scheme[2]==="s"||_.scheme[2]==="S"):!1}function r(_){return _.host||(_.error=_.error||"HTTP URIs must have a host."),_}function i(_){const D=String(_.scheme).toLowerCase()==="https";return(_.port===(D?443:80)||_.port==="")&&(_.port=void 0),_.path||(_.path="/"),_}function c(_){return _.secure=n(_),_.resourceName=(_.path||"/")+(_.query?"?"+_.query:""),_.path=void 0,_.query=void 0,_}function d(_){if((_.port===(n(_)?443:80)||_.port==="")&&(_.port=void 0),typeof _.secure=="boolean"&&(_.scheme=_.secure?"wss":"ws",_.secure=void 0),_.resourceName){const[D,R]=_.resourceName.split("?");_.path=D&&D!=="/"?D:void 0,_.query=R,_.resourceName=void 0}return _.fragment=void 0,_}function u(_,D){if(!_.path)return _.error="URN can not be parsed",_;const R=_.path.match(t);if(R){const O=D.scheme||_.scheme||"urn";_.nid=R[1].toLowerCase(),_.nss=R[2];const L=`${O}:${D.nid||_.nid}`,U=E(L);_.path=void 0,U&&(_=U.parse(_,D))}else _.error=_.error||"URN can not be parsed.";return _}function m(_,D){if(_.nid===void 0)throw new Error("URN without nid cannot be serialized");const R=D.scheme||_.scheme||"urn",O=_.nid.toLowerCase(),L=`${R}:${D.nid||O}`,U=E(L);U&&(_=U.serialize(_,D));const B=_,z=_.nss;return B.path=`${O||D.nid}:${z}`,D.skipEscape=!0,B}function h(_,D){const R=_;return R.uuid=R.nss,R.nss=void 0,!D.tolerant&&(!R.uuid||!e(R.uuid))&&(R.error=R.error||"UUID is not valid."),R}function f(_){const D=_;return D.nss=(_.uuid||"").toLowerCase(),D}const v={scheme:"http",domainHost:!0,parse:r,serialize:i},b={scheme:"https",domainHost:v.domainHost,parse:r,serialize:i},w={scheme:"ws",domainHost:!0,parse:c,serialize:d},x={scheme:"wss",domainHost:w.domainHost,parse:w.parse,serialize:w.serialize},C={http:v,https:b,ws:w,wss:x,urn:{scheme:"urn",parse:u,serialize:m,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:h,serialize:f,skipNormalize:!0}};Object.setPrototypeOf(C,null);function E(_){return _&&(C[_]||C[_.toLowerCase()])||void 0}return ES={wsIsSecure:n,SCHEMES:C,isValidSchemeName:o,getSchemeHandler:E},ES}var fD;function sZ(){if(fD)return Zu.exports;fD=1;const{normalizeIPv6:e,removeDotSegments:t,recomposeAuthority:a,normalizeComponentEncoding:o,isIPv4:n,nonSimpleDomain:r}=cB(),{SCHEMES:i,getSchemeHandler:c}=rZ();function d(x,T){return typeof x=="string"?x=f(b(x,T),T):typeof x=="object"&&(x=b(f(x,T),T)),x}function u(x,T,k){const C=k?Object.assign({scheme:"null"},k):{scheme:"null"},E=m(b(x,C),b(T,C),C,!0);return C.skipEscape=!0,f(E,C)}function m(x,T,k,C){const E={};return C||(x=b(f(x,k),k),T=b(f(T,k),k)),k=k||{},!k.tolerant&&T.scheme?(E.scheme=T.scheme,E.userinfo=T.userinfo,E.host=T.host,E.port=T.port,E.path=t(T.path||""),E.query=T.query):(T.userinfo!==void 0||T.host!==void 0||T.port!==void 0?(E.userinfo=T.userinfo,E.host=T.host,E.port=T.port,E.path=t(T.path||""),E.query=T.query):(T.path?(T.path[0]==="/"?E.path=t(T.path):((x.userinfo!==void 0||x.host!==void 0||x.port!==void 0)&&!x.path?E.path="/"+T.path:x.path?E.path=x.path.slice(0,x.path.lastIndexOf("/")+1)+T.path:E.path=T.path,E.path=t(E.path)),E.query=T.query):(E.path=x.path,T.query!==void 0?E.query=T.query:E.query=x.query),E.userinfo=x.userinfo,E.host=x.host,E.port=x.port),E.scheme=x.scheme),E.fragment=T.fragment,E}function h(x,T,k){return typeof x=="string"?(x=unescape(x),x=f(o(b(x,k),!0),{...k,skipEscape:!0})):typeof x=="object"&&(x=f(o(x,!0),{...k,skipEscape:!0})),typeof T=="string"?(T=unescape(T),T=f(o(b(T,k),!0),{...k,skipEscape:!0})):typeof T=="object"&&(T=f(o(T,!0),{...k,skipEscape:!0})),x.toLowerCase()===T.toLowerCase()}function f(x,T){const k={host:x.host,scheme:x.scheme,userinfo:x.userinfo,port:x.port,path:x.path,query:x.query,nid:x.nid,nss:x.nss,uuid:x.uuid,fragment:x.fragment,reference:x.reference,resourceName:x.resourceName,secure:x.secure,error:""},C=Object.assign({},T),E=[],_=c(C.scheme||k.scheme);_&&_.serialize&&_.serialize(k,C),k.path!==void 0&&(C.skipEscape?k.path=unescape(k.path):(k.path=escape(k.path),k.scheme!==void 0&&(k.path=k.path.split("%3A").join(":")))),C.reference!=="suffix"&&k.scheme&&E.push(k.scheme,":");const D=a(k);if(D!==void 0&&(C.reference!=="suffix"&&E.push("//"),E.push(D),k.path&&k.path[0]!=="/"&&E.push("/")),k.path!==void 0){let R=k.path;!C.absolutePath&&(!_||!_.absolutePath)&&(R=t(R)),D===void 0&&R[0]==="/"&&R[1]==="/"&&(R="/%2F"+R.slice(2)),E.push(R)}return k.query!==void 0&&E.push("?",k.query),k.fragment!==void 0&&E.push("#",k.fragment),E.join("")}const v=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function b(x,T){const k=Object.assign({},T),C={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let E=!1;k.reference==="suffix"&&(k.scheme?x=k.scheme+":"+x:x="//"+x);const _=x.match(v);if(_){if(C.scheme=_[1],C.userinfo=_[3],C.host=_[4],C.port=parseInt(_[5],10),C.path=_[6]||"",C.query=_[7],C.fragment=_[8],isNaN(C.port)&&(C.port=_[5]),C.host)if(n(C.host)===!1){const O=e(C.host);C.host=O.host.toLowerCase(),E=O.isIPV6}else E=!0;C.scheme===void 0&&C.userinfo===void 0&&C.host===void 0&&C.port===void 0&&C.query===void 0&&!C.path?C.reference="same-document":C.scheme===void 0?C.reference="relative":C.fragment===void 0?C.reference="absolute":C.reference="uri",k.reference&&k.reference!=="suffix"&&k.reference!==C.reference&&(C.error=C.error||"URI is not a "+k.reference+" reference.");const D=c(k.scheme||C.scheme);if(!k.unicodeSupport&&(!D||!D.unicodeSupport)&&C.host&&(k.domainHost||D&&D.domainHost)&&E===!1&&r(C.host))try{C.host=URL.domainToASCII(C.host.toLowerCase())}catch(R){C.error=C.error||"Host's domain name can not be converted to ASCII: "+R}(!D||D&&!D.skipNormalize)&&(x.indexOf("%")!==-1&&(C.scheme!==void 0&&(C.scheme=unescape(C.scheme)),C.host!==void 0&&(C.host=unescape(C.host))),C.path&&(C.path=escape(unescape(C.path))),C.fragment&&(C.fragment=encodeURI(decodeURIComponent(C.fragment)))),D&&D.parse&&D.parse(C,k)}else C.error=C.error||"URI can not be parsed.";return C}const w={SCHEMES:i,normalize:d,resolve:u,resolveComponent:m,equal:h,serialize:f,parse:b};return Zu.exports=w,Zu.exports.default=w,Zu.exports.fastUri=w,Zu.exports}var vD;function iZ(){if(vD)return ng;vD=1,Object.defineProperty(ng,"__esModule",{value:!0});const e=sZ();return e.code='require("ajv/dist/runtime/uri").default',ng.default=e,ng}var bD;function lZ(){return bD||(bD=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=sb();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var a=yt();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}});const o=Kk(),n=ib(),r=sB(),i=Yk(),c=yt(),d=rb(),u=Zf(),m=Ft(),h=nZ,f=iZ(),v=(Z,M)=>new RegExp(Z,M);v.code="new RegExp";const b=["removeAdditional","useDefaults","coerceTypes"],w=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),x={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},T={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},k=200;function C(Z){var M,G,V,I,j,X,de,ue,Ee,qe,Q,ne,ve,ie,xe,Pe,it,ct,Ge,ot,Ne,Oe,He,Y,oe;const le=Z.strict,Ce=(M=Z.code)===null||M===void 0?void 0:M.optimize,Re=Ce===!0||Ce===void 0?1:Ce||0,De=(V=(G=Z.code)===null||G===void 0?void 0:G.regExp)!==null&&V!==void 0?V:v,Ie=(I=Z.uriResolver)!==null&&I!==void 0?I:f.default;return{strictSchema:(X=(j=Z.strictSchema)!==null&&j!==void 0?j:le)!==null&&X!==void 0?X:!0,strictNumbers:(ue=(de=Z.strictNumbers)!==null&&de!==void 0?de:le)!==null&&ue!==void 0?ue:!0,strictTypes:(qe=(Ee=Z.strictTypes)!==null&&Ee!==void 0?Ee:le)!==null&&qe!==void 0?qe:"log",strictTuples:(ne=(Q=Z.strictTuples)!==null&&Q!==void 0?Q:le)!==null&&ne!==void 0?ne:"log",strictRequired:(ie=(ve=Z.strictRequired)!==null&&ve!==void 0?ve:le)!==null&&ie!==void 0?ie:!1,code:Z.code?{...Z.code,optimize:Re,regExp:De}:{optimize:Re,regExp:De},loopRequired:(xe=Z.loopRequired)!==null&&xe!==void 0?xe:k,loopEnum:(Pe=Z.loopEnum)!==null&&Pe!==void 0?Pe:k,meta:(it=Z.meta)!==null&&it!==void 0?it:!0,messages:(ct=Z.messages)!==null&&ct!==void 0?ct:!0,inlineRefs:(Ge=Z.inlineRefs)!==null&&Ge!==void 0?Ge:!0,schemaId:(ot=Z.schemaId)!==null&&ot!==void 0?ot:"$id",addUsedSchema:(Ne=Z.addUsedSchema)!==null&&Ne!==void 0?Ne:!0,validateSchema:(Oe=Z.validateSchema)!==null&&Oe!==void 0?Oe:!0,validateFormats:(He=Z.validateFormats)!==null&&He!==void 0?He:!0,unicodeRegExp:(Y=Z.unicodeRegExp)!==null&&Y!==void 0?Y:!0,int32range:(oe=Z.int32range)!==null&&oe!==void 0?oe:!0,uriResolver:Ie}}class E{constructor(M={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,M=this.opts={...M,...C(M)};const{es5:G,lines:V}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:w,es5:G,lines:V}),this.logger=z(M.logger);const I=M.validateFormats;M.validateFormats=!1,this.RULES=(0,r.getRules)(),_.call(this,x,M,"NOT SUPPORTED"),_.call(this,T,M,"DEPRECATED","warn"),this._metaOpts=U.call(this),M.formats&&O.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),M.keywords&&L.call(this,M.keywords),typeof M.meta=="object"&&this.addMetaSchema(M.meta),R.call(this),M.validateFormats=I}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:M,meta:G,schemaId:V}=this.opts;let I=h;V==="id"&&(I={...h},I.id=I.$id,delete I.$id),G&&M&&this.addMetaSchema(I,I[V],!1)}defaultMeta(){const{meta:M,schemaId:G}=this.opts;return this.opts.defaultMeta=typeof M=="object"?M[G]||M:void 0}validate(M,G){let V;if(typeof M=="string"){if(V=this.getSchema(M),!V)throw new Error(`no schema with key or ref "${M}"`)}else V=this.compile(M);const I=V(G);return"$async"in V||(this.errors=V.errors),I}compile(M,G){const V=this._addSchema(M,G);return V.validate||this._compileSchemaEnv(V)}compileAsync(M,G){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:V}=this.opts;return I.call(this,M,G);async function I(qe,Q){await j.call(this,qe.$schema);const ne=this._addSchema(qe,Q);return ne.validate||X.call(this,ne)}async function j(qe){qe&&!this.getSchema(qe)&&await I.call(this,{$ref:qe},!0)}async function X(qe){try{return this._compileSchemaEnv(qe)}catch(Q){if(!(Q instanceof n.default))throw Q;return de.call(this,Q),await ue.call(this,Q.missingSchema),X.call(this,qe)}}function de({missingSchema:qe,missingRef:Q}){if(this.refs[qe])throw new Error(`AnySchema ${qe} is loaded but ${Q} cannot be resolved`)}async function ue(qe){const Q=await Ee.call(this,qe);this.refs[qe]||await j.call(this,Q.$schema),this.refs[qe]||this.addSchema(Q,qe,G)}async function Ee(qe){const Q=this._loading[qe];if(Q)return Q;try{return await(this._loading[qe]=V(qe))}finally{delete this._loading[qe]}}}addSchema(M,G,V,I=this.opts.validateSchema){if(Array.isArray(M)){for(const X of M)this.addSchema(X,void 0,V,I);return this}let j;if(typeof M=="object"){const{schemaId:X}=this.opts;if(j=M[X],j!==void 0&&typeof j!="string")throw new Error(`schema ${X} must be string`)}return G=(0,d.normalizeId)(G||j),this._checkUnique(G),this.schemas[G]=this._addSchema(M,V,G,I,!0),this}addMetaSchema(M,G,V=this.opts.validateSchema){return this.addSchema(M,G,!0,V),this}validateSchema(M,G){if(typeof M=="boolean")return!0;let V;if(V=M.$schema,V!==void 0&&typeof V!="string")throw new Error("$schema must be a string");if(V=V||this.opts.defaultMeta||this.defaultMeta(),!V)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const I=this.validate(V,M);if(!I&&G){const j="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(j);else throw new Error(j)}return I}getSchema(M){let G;for(;typeof(G=D.call(this,M))=="string";)M=G;if(G===void 0){const{schemaId:V}=this.opts,I=new i.SchemaEnv({schema:{},schemaId:V});if(G=i.resolveSchema.call(this,I,M),!G)return;this.refs[M]=G}return G.validate||this._compileSchemaEnv(G)}removeSchema(M){if(M instanceof RegExp)return this._removeAllSchemas(this.schemas,M),this._removeAllSchemas(this.refs,M),this;switch(typeof M){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const G=D.call(this,M);return typeof G=="object"&&this._cache.delete(G.schema),delete this.schemas[M],delete this.refs[M],this}case"object":{const G=M;this._cache.delete(G);let V=M[this.opts.schemaId];return V&&(V=(0,d.normalizeId)(V),delete this.schemas[V],delete this.refs[V]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(M){for(const G of M)this.addKeyword(G);return this}addKeyword(M,G){let V;if(typeof M=="string")V=M,typeof G=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),G.keyword=V);else if(typeof M=="object"&&G===void 0){if(G=M,V=G.keyword,Array.isArray(V)&&!V.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(W.call(this,V,G),!G)return(0,m.eachItem)(V,j=>ae.call(this,j)),this;K.call(this,G);const I={...G,type:(0,u.getJSONTypes)(G.type),schemaType:(0,u.getJSONTypes)(G.schemaType)};return(0,m.eachItem)(V,I.type.length===0?j=>ae.call(this,j,I):j=>I.type.forEach(X=>ae.call(this,j,I,X))),this}getKeyword(M){const G=this.RULES.all[M];return typeof G=="object"?G.definition:!!G}removeKeyword(M){const{RULES:G}=this;delete G.keywords[M],delete G.all[M];for(const V of G.rules){const I=V.rules.findIndex(j=>j.keyword===M);I>=0&&V.rules.splice(I,1)}return this}addFormat(M,G){return typeof G=="string"&&(G=new RegExp(G)),this.formats[M]=G,this}errorsText(M=this.errors,{separator:G=", ",dataVar:V="data"}={}){return!M||M.length===0?"No errors":M.map(I=>`${V}${I.instancePath} ${I.message}`).reduce((I,j)=>I+G+j)}$dataMetaSchema(M,G){const V=this.RULES.all;M=JSON.parse(JSON.stringify(M));for(const I of G){const j=I.split("/").slice(1);let X=M;for(const de of j)X=X[de];for(const de in V){const ue=V[de];if(typeof ue!="object")continue;const{$data:Ee}=ue.definition,qe=X[de];Ee&&qe&&(X[de]=se(qe))}}return M}_removeAllSchemas(M,G){for(const V in M){const I=M[V];(!G||G.test(V))&&(typeof I=="string"?delete M[V]:I&&!I.meta&&(this._cache.delete(I.schema),delete M[V]))}}_addSchema(M,G,V,I=this.opts.validateSchema,j=this.opts.addUsedSchema){let X;const{schemaId:de}=this.opts;if(typeof M=="object")X=M[de];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof M!="boolean")throw new Error("schema must be object or boolean")}let ue=this._cache.get(M);if(ue!==void 0)return ue;V=(0,d.normalizeId)(X||V);const Ee=d.getSchemaRefs.call(this,M,V);return ue=new i.SchemaEnv({schema:M,schemaId:de,meta:G,baseId:V,localRefs:Ee}),this._cache.set(ue.schema,ue),j&&!V.startsWith("#")&&(V&&this._checkUnique(V),this.refs[V]=ue),I&&this.validateSchema(M,!0),ue}_checkUnique(M){if(this.schemas[M]||this.refs[M])throw new Error(`schema with key or id "${M}" already exists`)}_compileSchemaEnv(M){if(M.meta?this._compileMetaSchema(M):i.compileSchema.call(this,M),!M.validate)throw new Error("ajv implementation error");return M.validate}_compileMetaSchema(M){const G=this.opts;this.opts=this._metaOpts;try{i.compileSchema.call(this,M)}finally{this.opts=G}}}E.ValidationError=o.default,E.MissingRefError=n.default,e.default=E;function _(Z,M,G,V="error"){for(const I in Z){const j=I;j in M&&this.logger[V](`${G}: option ${I}. ${Z[j]}`)}}function D(Z){return Z=(0,d.normalizeId)(Z),this.schemas[Z]||this.refs[Z]}function R(){const Z=this.opts.schemas;if(Z)if(Array.isArray(Z))this.addSchema(Z);else for(const M in Z)this.addSchema(Z[M],M)}function O(){for(const Z in this.opts.formats){const M=this.opts.formats[Z];M&&this.addFormat(Z,M)}}function L(Z){if(Array.isArray(Z)){this.addVocabulary(Z);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const M in Z){const G=Z[M];G.keyword||(G.keyword=M),this.addKeyword(G)}}function U(){const Z={...this.opts};for(const M of b)delete Z[M];return Z}const B={log(){},warn(){},error(){}};function z(Z){if(Z===!1)return B;if(Z===void 0)return console;if(Z.log&&Z.warn&&Z.error)return Z;throw new Error("logger must implement log, warn and error methods")}const F=/^[a-z_$][a-z0-9_$:-]*$/i;function W(Z,M){const{RULES:G}=this;if((0,m.eachItem)(Z,V=>{if(G.keywords[V])throw new Error(`Keyword ${V} is already defined`);if(!F.test(V))throw new Error(`Keyword ${V} has invalid name`)}),!!M&&M.$data&&!("code"in M||"validate"in M))throw new Error('$data keyword must have "code" or "validate" function')}function ae(Z,M,G){var V;const I=M?.post;if(G&&I)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:j}=this;let X=I?j.post:j.rules.find(({type:ue})=>ue===G);if(X||(X={type:G,rules:[]},j.rules.push(X)),j.keywords[Z]=!0,!M)return;const de={keyword:Z,definition:{...M,type:(0,u.getJSONTypes)(M.type),schemaType:(0,u.getJSONTypes)(M.schemaType)}};M.before?H.call(this,X,de,M.before):X.rules.push(de),j.all[Z]=de,(V=M.implements)===null||V===void 0||V.forEach(ue=>this.addKeyword(ue))}function H(Z,M,G){const V=Z.rules.findIndex(I=>I.keyword===G);V>=0?Z.rules.splice(V,0,M):(Z.rules.push(M),this.logger.warn(`rule ${G} is not defined`))}function K(Z){let{metaSchema:M}=Z;M!==void 0&&(Z.$data&&this.opts.$data&&(M=se(M)),Z.validateSchema=this.compile(M,!0))}const J={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function se(Z){return{anyOf:[Z,J]}}})(vS)),vS}var rg={},sg={},ig={},yD;function cZ(){if(yD)return ig;yD=1,Object.defineProperty(ig,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return ig.default=e,ig}var vi={},wD;function dZ(){if(wD)return vi;wD=1,Object.defineProperty(vi,"__esModule",{value:!0}),vi.callRef=vi.getValidate=void 0;const e=ib(),t=Or(),a=yt(),o=Ji(),n=Yk(),r=Ft(),i={keyword:"$ref",schemaType:"string",code(u){const{gen:m,schema:h,it:f}=u,{baseId:v,schemaEnv:b,validateName:w,opts:x,self:T}=f,{root:k}=b;if((h==="#"||h==="#/")&&v===k.baseId)return E();const C=n.resolveRef.call(T,k,v,h);if(C===void 0)throw new e.default(f.opts.uriResolver,v,h);if(C instanceof n.SchemaEnv)return _(C);return D(C);function E(){if(b===k)return d(u,w,b,b.$async);const R=m.scopeValue("root",{ref:k});return d(u,(0,a._)`${R}.validate`,k,k.$async)}function _(R){const O=c(u,R);d(u,O,R,R.$async)}function D(R){const O=m.scopeValue("schema",x.code.source===!0?{ref:R,code:(0,a.stringify)(R)}:{ref:R}),L=m.name("valid"),U=u.subschema({schema:R,dataTypes:[],schemaPath:a.nil,topSchemaRef:O,errSchemaPath:h},L);u.mergeEvaluated(U),u.ok(L)}}};function c(u,m){const{gen:h}=u;return m.validate?h.scopeValue("validate",{ref:m.validate}):(0,a._)`${h.scopeValue("wrapper",{ref:m})}.validate`}vi.getValidate=c;function d(u,m,h,f){const{gen:v,it:b}=u,{allErrors:w,schemaEnv:x,opts:T}=b,k=T.passContext?o.default.this:a.nil;f?C():E();function C(){if(!x.$async)throw new Error("async schema referenced by sync schema");const R=v.let("valid");v.try(()=>{v.code((0,a._)`await ${(0,t.callValidateCode)(u,m,k)}`),D(m),w||v.assign(R,!0)},O=>{v.if((0,a._)`!(${O} instanceof ${b.ValidationError})`,()=>v.throw(O)),_(O),w||v.assign(R,!1)}),u.ok(R)}function E(){u.result((0,t.callValidateCode)(u,m,k),()=>D(m),()=>_(m))}function _(R){const O=(0,a._)`${R}.errors`;v.assign(o.default.vErrors,(0,a._)`${o.default.vErrors} === null ? ${O} : ${o.default.vErrors}.concat(${O})`),v.assign(o.default.errors,(0,a._)`${o.default.vErrors}.length`)}function D(R){var O;if(!b.opts.unevaluated)return;const L=(O=h?.validate)===null||O===void 0?void 0:O.evaluated;if(b.props!==!0)if(L&&!L.dynamicProps)L.props!==void 0&&(b.props=r.mergeEvaluated.props(v,L.props,b.props));else{const U=v.var("props",(0,a._)`${R}.evaluated.props`);b.props=r.mergeEvaluated.props(v,U,b.props,a.Name)}if(b.items!==!0)if(L&&!L.dynamicItems)L.items!==void 0&&(b.items=r.mergeEvaluated.items(v,L.items,b.items));else{const U=v.var("items",(0,a._)`${R}.evaluated.items`);b.items=r.mergeEvaluated.items(v,U,b.items,a.Name)}}}return vi.callRef=d,vi.default=i,vi}var SD;function uZ(){if(SD)return sg;SD=1,Object.defineProperty(sg,"__esModule",{value:!0});const e=cZ(),t=dZ(),a=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return sg.default=a,sg}var lg={},cg={},TD;function pZ(){if(TD)return cg;TD=1,Object.defineProperty(cg,"__esModule",{value:!0});const e=yt(),t=e.operators,a={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},o={message:({keyword:r,schemaCode:i})=>(0,e.str)`must be ${a[r].okStr} ${i}`,params:({keyword:r,schemaCode:i})=>(0,e._)`{comparison: ${a[r].okStr}, limit: ${i}}`},n={keyword:Object.keys(a),type:"number",schemaType:"number",$data:!0,error:o,code(r){const{keyword:i,data:c,schemaCode:d}=r;r.fail$data((0,e._)`${c} ${a[i].fail} ${d} || isNaN(${c})`)}};return cg.default=n,cg}var dg={},xD;function mZ(){if(xD)return dg;xD=1,Object.defineProperty(dg,"__esModule",{value:!0});const e=yt(),a={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:o})=>(0,e.str)`must be multiple of ${o}`,params:({schemaCode:o})=>(0,e._)`{multipleOf: ${o}}`},code(o){const{gen:n,data:r,schemaCode:i,it:c}=o,d=c.opts.multipleOfPrecision,u=n.let("res"),m=d?(0,e._)`Math.abs(Math.round(${u}) - ${u}) > 1e-${d}`:(0,e._)`${u} !== parseInt(${u})`;o.fail$data((0,e._)`(${i} === 0 || (${u} = ${r}/${i}, ${m}))`)}};return dg.default=a,dg}var ug={},pg={},kD;function hZ(){if(kD)return pg;kD=1,Object.defineProperty(pg,"__esModule",{value:!0});function e(t){const a=t.length;let o=0,n=0,r;for(;n<a;)o++,r=t.charCodeAt(n++),r>=55296&&r<=56319&&n<a&&(r=t.charCodeAt(n),(r&64512)===56320&&n++);return o}return pg.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',pg}var ED;function gZ(){if(ED)return ug;ED=1,Object.defineProperty(ug,"__esModule",{value:!0});const e=yt(),t=Ft(),a=hZ(),n={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:i}){const c=r==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${c} than ${i} characters`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:i,data:c,schemaCode:d,it:u}=r,m=i==="maxLength"?e.operators.GT:e.operators.LT,h=u.opts.unicode===!1?(0,e._)`${c}.length`:(0,e._)`${(0,t.useFunc)(r.gen,a.default)}(${c})`;r.fail$data((0,e._)`${h} ${m} ${d}`)}};return ug.default=n,ug}var mg={},CD;function fZ(){if(CD)return mg;CD=1,Object.defineProperty(mg,"__esModule",{value:!0});const e=Or(),t=Ft(),a=yt(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,a.str)`must match pattern "${r}"`,params:({schemaCode:r})=>(0,a._)`{pattern: ${r}}`},code(r){const{gen:i,data:c,$data:d,schema:u,schemaCode:m,it:h}=r,f=h.opts.unicodeRegExp?"u":"";if(d){const{regExp:v}=h.opts.code,b=v.code==="new RegExp"?(0,a._)`new RegExp`:(0,t.useFunc)(i,v),w=i.let("valid");i.try(()=>i.assign(w,(0,a._)`${b}(${m}, ${f}).test(${c})`),()=>i.assign(w,!1)),r.fail$data((0,a._)`!${w}`)}else{const v=(0,e.usePattern)(r,u);r.fail$data((0,a._)`!${v}.test(${c})`)}}};return mg.default=n,mg}var hg={},PD;function vZ(){if(PD)return hg;PD=1,Object.defineProperty(hg,"__esModule",{value:!0});const e=yt(),a={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:o,schemaCode:n}){const r=o==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${r} than ${n} properties`},params:({schemaCode:o})=>(0,e._)`{limit: ${o}}`},code(o){const{keyword:n,data:r,schemaCode:i}=o,c=n==="maxProperties"?e.operators.GT:e.operators.LT;o.fail$data((0,e._)`Object.keys(${r}).length ${c} ${i}`)}};return hg.default=a,hg}var gg={},_D;function bZ(){if(_D)return gg;_D=1,Object.defineProperty(gg,"__esModule",{value:!0});const e=Or(),t=yt(),a=Ft(),n={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:r}})=>(0,t.str)`must have required property '${r}'`,params:({params:{missingProperty:r}})=>(0,t._)`{missingProperty: ${r}}`},code(r){const{gen:i,schema:c,schemaCode:d,data:u,$data:m,it:h}=r,{opts:f}=h;if(!m&&c.length===0)return;const v=c.length>=f.loopRequired;if(h.allErrors?b():w(),f.strictRequired){const k=r.parentSchema.properties,{definedProperties:C}=r.it;for(const E of c)if(k?.[E]===void 0&&!C.has(E)){const _=h.schemaEnv.baseId+h.errSchemaPath,D=`required property "${E}" is not defined at "${_}" (strictRequired)`;(0,a.checkStrictMode)(h,D,h.opts.strictRequired)}}function b(){if(v||m)r.block$data(t.nil,x);else for(const k of c)(0,e.checkReportMissingProp)(r,k)}function w(){const k=i.let("missing");if(v||m){const C=i.let("valid",!0);r.block$data(C,()=>T(k,C)),r.ok(C)}else i.if((0,e.checkMissingProp)(r,c,k)),(0,e.reportMissingProp)(r,k),i.else()}function x(){i.forOf("prop",d,k=>{r.setParams({missingProperty:k}),i.if((0,e.noPropertyInData)(i,u,k,f.ownProperties),()=>r.error())})}function T(k,C){r.setParams({missingProperty:k}),i.forOf(k,d,()=>{i.assign(C,(0,e.propertyInData)(i,u,k,f.ownProperties)),i.if((0,t.not)(C),()=>{r.error(),i.break()})},t.nil)}}};return gg.default=n,gg}var fg={},AD;function yZ(){if(AD)return fg;AD=1,Object.defineProperty(fg,"__esModule",{value:!0});const e=yt(),a={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:o,schemaCode:n}){const r=o==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${r} than ${n} items`},params:({schemaCode:o})=>(0,e._)`{limit: ${o}}`},code(o){const{keyword:n,data:r,schemaCode:i}=o,c=n==="maxItems"?e.operators.GT:e.operators.LT;o.fail$data((0,e._)`${r}.length ${c} ${i}`)}};return fg.default=a,fg}var vg={},bg={},RD;function Qk(){if(RD)return bg;RD=1,Object.defineProperty(bg,"__esModule",{value:!0});const e=lB();return e.code='require("ajv/dist/runtime/equal").default',bg.default=e,bg}var DD;function wZ(){if(DD)return vg;DD=1,Object.defineProperty(vg,"__esModule",{value:!0});const e=Zf(),t=yt(),a=Ft(),o=Qk(),r={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i,j:c}})=>(0,t.str)`must NOT have duplicate items (items ## ${c} and ${i} are identical)`,params:({params:{i,j:c}})=>(0,t._)`{i: ${i}, j: ${c}}`},code(i){const{gen:c,data:d,$data:u,schema:m,parentSchema:h,schemaCode:f,it:v}=i;if(!u&&!m)return;const b=c.let("valid"),w=h.items?(0,e.getSchemaTypes)(h.items):[];i.block$data(b,x,(0,t._)`${f} === false`),i.ok(b);function x(){const E=c.let("i",(0,t._)`${d}.length`),_=c.let("j");i.setParams({i:E,j:_}),c.assign(b,!0),c.if((0,t._)`${E} > 1`,()=>(T()?k:C)(E,_))}function T(){return w.length>0&&!w.some(E=>E==="object"||E==="array")}function k(E,_){const D=c.name("item"),R=(0,e.checkDataTypes)(w,D,v.opts.strictNumbers,e.DataType.Wrong),O=c.const("indices",(0,t._)`{}`);c.for((0,t._)`;${E}--;`,()=>{c.let(D,(0,t._)`${d}[${E}]`),c.if(R,(0,t._)`continue`),w.length>1&&c.if((0,t._)`typeof ${D} == "string"`,(0,t._)`${D} += "_"`),c.if((0,t._)`typeof ${O}[${D}] == "number"`,()=>{c.assign(_,(0,t._)`${O}[${D}]`),i.error(),c.assign(b,!1).break()}).code((0,t._)`${O}[${D}] = ${E}`)})}function C(E,_){const D=(0,a.useFunc)(c,o.default),R=c.name("outer");c.label(R).for((0,t._)`;${E}--;`,()=>c.for((0,t._)`${_} = ${E}; ${_}--;`,()=>c.if((0,t._)`${D}(${d}[${E}], ${d}[${_}])`,()=>{i.error(),c.assign(b,!1).break(R)})))}}};return vg.default=r,vg}var yg={},OD;function SZ(){if(OD)return yg;OD=1,Object.defineProperty(yg,"__esModule",{value:!0});const e=yt(),t=Ft(),a=Qk(),n={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:r})=>(0,e._)`{allowedValue: ${r}}`},code(r){const{gen:i,data:c,$data:d,schemaCode:u,schema:m}=r;d||m&&typeof m=="object"?r.fail$data((0,e._)`!${(0,t.useFunc)(i,a.default)}(${c}, ${u})`):r.fail((0,e._)`${m} !== ${c}`)}};return yg.default=n,yg}var wg={},ND;function TZ(){if(ND)return wg;ND=1,Object.defineProperty(wg,"__esModule",{value:!0});const e=yt(),t=Ft(),a=Qk(),n={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:r})=>(0,e._)`{allowedValues: ${r}}`},code(r){const{gen:i,data:c,$data:d,schema:u,schemaCode:m,it:h}=r;if(!d&&u.length===0)throw new Error("enum must have non-empty array");const f=u.length>=h.opts.loopEnum;let v;const b=()=>v??(v=(0,t.useFunc)(i,a.default));let w;if(f||d)w=i.let("valid"),r.block$data(w,x);else{if(!Array.isArray(u))throw new Error("ajv implementation error");const k=i.const("vSchema",m);w=(0,e.or)(...u.map((C,E)=>T(k,E)))}r.pass(w);function x(){i.assign(w,!1),i.forOf("v",m,k=>i.if((0,e._)`${b()}(${c}, ${k})`,()=>i.assign(w,!0).break()))}function T(k,C){const E=u[C];return typeof E=="object"&&E!==null?(0,e._)`${b()}(${c}, ${k}[${C}])`:(0,e._)`${c} === ${E}`}}};return wg.default=n,wg}var MD;function xZ(){if(MD)return lg;MD=1,Object.defineProperty(lg,"__esModule",{value:!0});const e=pZ(),t=mZ(),a=gZ(),o=fZ(),n=vZ(),r=bZ(),i=yZ(),c=wZ(),d=SZ(),u=TZ(),m=[e.default,t.default,a.default,o.default,n.default,r.default,i.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,u.default];return lg.default=m,lg}var Sg={},Hc={},ID;function dB(){if(ID)return Hc;ID=1,Object.defineProperty(Hc,"__esModule",{value:!0}),Hc.validateAdditionalItems=void 0;const e=yt(),t=Ft(),o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:r}})=>(0,e.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,e._)`{limit: ${r}}`},code(r){const{parentSchema:i,it:c}=r,{items:d}=i;if(!Array.isArray(d)){(0,t.checkStrictMode)(c,'"additionalItems" is ignored when "items" is not an array of schemas');return}n(r,d)}};function n(r,i){const{gen:c,schema:d,data:u,keyword:m,it:h}=r;h.items=!0;const f=c.const("len",(0,e._)`${u}.length`);if(d===!1)r.setParams({len:i.length}),r.pass((0,e._)`${f} <= ${i.length}`);else if(typeof d=="object"&&!(0,t.alwaysValidSchema)(h,d)){const b=c.var("valid",(0,e._)`${f} <= ${i.length}`);c.if((0,e.not)(b),()=>v(b)),r.ok(b)}function v(b){c.forRange("i",i.length,f,w=>{r.subschema({keyword:m,dataProp:w,dataPropType:t.Type.Num},b),h.allErrors||c.if((0,e.not)(b),()=>c.break())})}}return Hc.validateAdditionalItems=n,Hc.default=o,Hc}var Tg={},Gc={},LD;function uB(){if(LD)return Gc;LD=1,Object.defineProperty(Gc,"__esModule",{value:!0}),Gc.validateTuple=void 0;const e=yt(),t=Ft(),a=Or(),o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(r){const{schema:i,it:c}=r;if(Array.isArray(i))return n(r,"additionalItems",i);c.items=!0,!(0,t.alwaysValidSchema)(c,i)&&r.ok((0,a.validateArray)(r))}};function n(r,i,c=r.schema){const{gen:d,parentSchema:u,data:m,keyword:h,it:f}=r;w(u),f.opts.unevaluated&&c.length&&f.items!==!0&&(f.items=t.mergeEvaluated.items(d,c.length,f.items));const v=d.name("valid"),b=d.const("len",(0,e._)`${m}.length`);c.forEach((x,T)=>{(0,t.alwaysValidSchema)(f,x)||(d.if((0,e._)`${b} > ${T}`,()=>r.subschema({keyword:h,schemaProp:T,dataProp:T},v)),r.ok(v))});function w(x){const{opts:T,errSchemaPath:k}=f,C=c.length,E=C===x.minItems&&(C===x.maxItems||x[i]===!1);if(T.strictTuples&&!E){const _=`"${h}" is ${C}-tuple, but minItems or maxItems/${i} are not specified or different at path "${k}"`;(0,t.checkStrictMode)(f,_,T.strictTuples)}}}return Gc.validateTuple=n,Gc.default=o,Gc}var BD;function kZ(){if(BD)return Tg;BD=1,Object.defineProperty(Tg,"__esModule",{value:!0});const e=uB(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:a=>(0,e.validateTuple)(a,"items")};return Tg.default=t,Tg}var xg={},FD;function EZ(){if(FD)return xg;FD=1,Object.defineProperty(xg,"__esModule",{value:!0});const e=yt(),t=Ft(),a=Or(),o=dB(),r={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:i}})=>(0,e.str)`must NOT have more than ${i} items`,params:({params:{len:i}})=>(0,e._)`{limit: ${i}}`},code(i){const{schema:c,parentSchema:d,it:u}=i,{prefixItems:m}=d;u.items=!0,!(0,t.alwaysValidSchema)(u,c)&&(m?(0,o.validateAdditionalItems)(i,m):i.ok((0,a.validateArray)(i)))}};return xg.default=r,xg}var kg={},jD;function CZ(){if(jD)return kg;jD=1,Object.defineProperty(kg,"__esModule",{value:!0});const e=yt(),t=Ft(),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:n,max:r}})=>r===void 0?(0,e.str)`must contain at least ${n} valid item(s)`:(0,e.str)`must contain at least ${n} and no more than ${r} valid item(s)`,params:({params:{min:n,max:r}})=>r===void 0?(0,e._)`{minContains: ${n}}`:(0,e._)`{minContains: ${n}, maxContains: ${r}}`},code(n){const{gen:r,schema:i,parentSchema:c,data:d,it:u}=n;let m,h;const{minContains:f,maxContains:v}=c;u.opts.next?(m=f===void 0?1:f,h=v):m=1;const b=r.const("len",(0,e._)`${d}.length`);if(n.setParams({min:m,max:h}),h===void 0&&m===0){(0,t.checkStrictMode)(u,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(h!==void 0&&m>h){(0,t.checkStrictMode)(u,'"minContains" > "maxContains" is always invalid'),n.fail();return}if((0,t.alwaysValidSchema)(u,i)){let C=(0,e._)`${b} >= ${m}`;h!==void 0&&(C=(0,e._)`${C} && ${b} <= ${h}`),n.pass(C);return}u.items=!0;const w=r.name("valid");h===void 0&&m===1?T(w,()=>r.if(w,()=>r.break())):m===0?(r.let(w,!0),h!==void 0&&r.if((0,e._)`${d}.length > 0`,x)):(r.let(w,!1),x()),n.result(w,()=>n.reset());function x(){const C=r.name("_valid"),E=r.let("count",0);T(C,()=>r.if(C,()=>k(E)))}function T(C,E){r.forRange("i",0,b,_=>{n.subschema({keyword:"contains",dataProp:_,dataPropType:t.Type.Num,compositeRule:!0},C),E()})}function k(C){r.code((0,e._)`${C}++`),h===void 0?r.if((0,e._)`${C} >= ${m}`,()=>r.assign(w,!0).break()):(r.if((0,e._)`${C} > ${h}`,()=>r.assign(w,!1).break()),m===1?r.assign(w,!0):r.if((0,e._)`${C} >= ${m}`,()=>r.assign(w,!0)))}}};return kg.default=o,kg}var CS={},zD;function PZ(){return zD||(zD=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=yt(),a=Ft(),o=Or();e.error={message:({params:{property:d,depsCount:u,deps:m}})=>{const h=u===1?"property":"properties";return(0,t.str)`must have ${h} ${m} when property ${d} is present`},params:({params:{property:d,depsCount:u,deps:m,missingProperty:h}})=>(0,t._)`{property: ${d},
|
|
53
53
|
missingProperty: ${h},
|
|
54
54
|
depsCount: ${u},
|
|
55
|
-
deps: ${m}}`};const n={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[u,m]=r(d);i(d,u),c(d,m)}};function r({schema:d}){const u={},m={};for(const h in d){if(h==="__proto__")continue;const f=Array.isArray(d[h])?u:m;f[h]=d[h]}return[u,m]}function i(d,u=d.schema){const{gen:m,data:h,it:f}=d;if(Object.keys(u).length===0)return;const v=m.let("missing");for(const b in u){const w=u[b];if(w.length===0)continue;const x=(0,o.propertyInData)(m,h,b,f.opts.ownProperties);d.setParams({property:b,depsCount:w.length,deps:w.join(", ")}),f.allErrors?m.if(x,()=>{for(const T of w)(0,o.checkReportMissingProp)(d,T)}):(m.if((0,t._)`${x} && (${(0,o.checkMissingProp)(d,w,v)})`),(0,o.reportMissingProp)(d,v),m.else())}}e.validatePropertyDeps=i;function c(d,u=d.schema){const{gen:m,data:h,keyword:f,it:v}=d,b=m.name("valid");for(const w in u)(0,a.alwaysValidSchema)(v,u[w])||(m.if((0,o.propertyInData)(m,h,w,v.opts.ownProperties),()=>{const x=d.subschema({keyword:f,schemaProp:w},b);d.mergeValidEvaluated(x,b)},()=>m.var(b,!0)),d.ok(b))}e.validateSchemaDeps=c,e.default=n})(CS)),CS}var Eg={},qD;function _Z(){if(qD)return Eg;qD=1,Object.defineProperty(Eg,"__esModule",{value:!0});const e=yt(),t=Ft(),o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:n})=>(0,e._)`{propertyName: ${n.propertyName}}`},code(n){const{gen:r,schema:i,data:c,it:d}=n;if((0,t.alwaysValidSchema)(d,i))return;const u=r.name("valid");r.forIn("key",c,m=>{n.setParams({propertyName:m}),n.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},u),r.if((0,e.not)(u),()=>{n.error(!0),d.allErrors||r.break()})}),n.ok(u)}};return Eg.default=o,Eg}var Cg={},UD;function pB(){if(UD)return Cg;UD=1,Object.defineProperty(Cg,"__esModule",{value:!0});const e=Or(),t=yt(),a=Ji(),o=Ft(),r={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:i})=>(0,t._)`{additionalProperty: ${i.additionalProperty}}`},code(i){const{gen:c,schema:d,parentSchema:u,data:m,errsCount:h,it:f}=i;if(!h)throw new Error("ajv implementation error");const{allErrors:v,opts:b}=f;if(f.props=!0,b.removeAdditional!=="all"&&(0,o.alwaysValidSchema)(f,d))return;const w=(0,e.allSchemaProperties)(u.properties),x=(0,e.allSchemaProperties)(u.patternProperties);T(),i.ok((0,t._)`${h} === ${a.default.errors}`);function T(){c.forIn("key",m,D=>{!w.length&&!x.length?E(D):c.if(k(D),()=>E(D))})}function k(D){let R;if(w.length>8){const O=(0,o.schemaRefOrVal)(f,u.properties,"properties");R=(0,e.isOwnProperty)(c,O,D)}else w.length?R=(0,t.or)(...w.map(O=>(0,t._)`${D} === ${O}`)):R=t.nil;return x.length&&(R=(0,t.or)(R,...x.map(O=>(0,t._)`${(0,e.usePattern)(i,O)}.test(${D})`))),(0,t.not)(R)}function C(D){c.code((0,t._)`delete ${m}[${D}]`)}function E(D){if(b.removeAdditional==="all"||b.removeAdditional&&d===!1){C(D);return}if(d===!1){i.setParams({additionalProperty:D}),i.error(),v||c.break();return}if(typeof d=="object"&&!(0,o.alwaysValidSchema)(f,d)){const R=c.name("valid");b.removeAdditional==="failing"?(_(D,R,!1),c.if((0,t.not)(R),()=>{i.reset(),C(D)})):(_(D,R),v||c.if((0,t.not)(R),()=>c.break()))}}function _(D,R,O){const L={keyword:"additionalProperties",dataProp:D,dataPropType:o.Type.Str};O===!1&&Object.assign(L,{compositeRule:!0,createErrors:!1,allErrors:!1}),i.subschema(L,R)}}};return Cg.default=r,Cg}var Pg={},$D;function AZ(){if($D)return Pg;$D=1,Object.defineProperty(Pg,"__esModule",{value:!0});const e=sb(),t=Or(),a=Ft(),o=pB(),n={keyword:"properties",type:"object",schemaType:"object",code(r){const{gen:i,schema:c,parentSchema:d,data:u,it:m}=r;m.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&o.default.code(new e.KeywordCxt(m,o.default,"additionalProperties"));const h=(0,t.allSchemaProperties)(c);for(const x of h)m.definedProperties.add(x);m.opts.unevaluated&&h.length&&m.props!==!0&&(m.props=a.mergeEvaluated.props(i,(0,a.toHash)(h),m.props));const f=h.filter(x=>!(0,a.alwaysValidSchema)(m,c[x]));if(f.length===0)return;const v=i.name("valid");for(const x of f)b(x)?w(x):(i.if((0,t.propertyInData)(i,u,x,m.opts.ownProperties)),w(x),m.allErrors||i.else().var(v,!0),i.endIf()),r.it.definedProperties.add(x),r.ok(v);function b(x){return m.opts.useDefaults&&!m.compositeRule&&c[x].default!==void 0}function w(x){r.subschema({keyword:"properties",schemaProp:x,dataProp:x},v)}}};return Pg.default=n,Pg}var _g={},VD;function RZ(){if(VD)return _g;VD=1,Object.defineProperty(_g,"__esModule",{value:!0});const e=Or(),t=yt(),a=Ft(),o=Ft(),n={keyword:"patternProperties",type:"object",schemaType:"object",code(r){const{gen:i,schema:c,data:d,parentSchema:u,it:m}=r,{opts:h}=m,f=(0,e.allSchemaProperties)(c),v=f.filter(E=>(0,a.alwaysValidSchema)(m,c[E]));if(f.length===0||v.length===f.length&&(!m.opts.unevaluated||m.props===!0))return;const b=h.strictSchema&&!h.allowMatchingProperties&&u.properties,w=i.name("valid");m.props!==!0&&!(m.props instanceof t.Name)&&(m.props=(0,o.evaluatedPropsToName)(i,m.props));const{props:x}=m;T();function T(){for(const E of f)b&&k(E),m.allErrors?C(E):(i.var(w,!0),C(E),i.if(w))}function k(E){for(const _ in b)new RegExp(E).test(_)&&(0,a.checkStrictMode)(m,`property ${_} matches pattern ${E} (use allowMatchingProperties)`)}function C(E){i.forIn("key",d,_=>{i.if((0,t._)`${(0,e.usePattern)(r,E)}.test(${_})`,()=>{const D=v.includes(E);D||r.subschema({keyword:"patternProperties",schemaProp:E,dataProp:_,dataPropType:o.Type.Str},w),m.opts.unevaluated&&x!==!0?i.assign((0,t._)`${x}[${_}]`,!0):!D&&!m.allErrors&&i.if((0,t.not)(w),()=>i.break())})})}}};return _g.default=n,_g}var Ag={},HD;function DZ(){if(HD)return Ag;HD=1,Object.defineProperty(Ag,"__esModule",{value:!0});const e=Ft(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(a){const{gen:o,schema:n,it:r}=a;if((0,e.alwaysValidSchema)(r,n)){a.fail();return}const i=o.name("valid");a.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),a.failResult(i,()=>a.reset(),()=>a.error())},error:{message:"must NOT be valid"}};return Ag.default=t,Ag}var Rg={},GD;function OZ(){if(GD)return Rg;GD=1,Object.defineProperty(Rg,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Or().validateUnion,error:{message:"must match a schema in anyOf"}};return Rg.default=t,Rg}var Dg={},WD;function NZ(){if(WD)return Dg;WD=1,Object.defineProperty(Dg,"__esModule",{value:!0});const e=yt(),t=Ft(),o={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:n})=>(0,e._)`{passingSchemas: ${n.passing}}`},code(n){const{gen:r,schema:i,parentSchema:c,it:d}=n;if(!Array.isArray(i))throw new Error("ajv implementation error");if(d.opts.discriminator&&c.discriminator)return;const u=i,m=r.let("valid",!1),h=r.let("passing",null),f=r.name("_valid");n.setParams({passing:h}),r.block(v),n.result(m,()=>n.reset(),()=>n.error(!0));function v(){u.forEach((b,w)=>{let x;(0,t.alwaysValidSchema)(d,b)?r.var(f,!0):x=n.subschema({keyword:"oneOf",schemaProp:w,compositeRule:!0},f),w>0&&r.if((0,e._)`${f} && ${m}`).assign(m,!1).assign(h,(0,e._)`[${h}, ${w}]`).else(),r.if(f,()=>{r.assign(m,!0),r.assign(h,w),x&&n.mergeEvaluated(x,e.Name)})})}}};return Dg.default=o,Dg}var Og={},KD;function MZ(){if(KD)return Og;KD=1,Object.defineProperty(Og,"__esModule",{value:!0});const e=Ft(),t={keyword:"allOf",schemaType:"array",code(a){const{gen:o,schema:n,it:r}=a;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=o.name("valid");n.forEach((c,d)=>{if((0,e.alwaysValidSchema)(r,c))return;const u=a.subschema({keyword:"allOf",schemaProp:d},i);a.ok(i),a.mergeEvaluated(u)})}};return Og.default=t,Og}var Ng={},YD;function IZ(){if(YD)return Ng;YD=1,Object.defineProperty(Ng,"__esModule",{value:!0});const e=yt(),t=Ft(),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:r})=>(0,e.str)`must match "${r.ifClause}" schema`,params:({params:r})=>(0,e._)`{failingKeyword: ${r.ifClause}}`},code(r){const{gen:i,parentSchema:c,it:d}=r;c.then===void 0&&c.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const u=n(d,"then"),m=n(d,"else");if(!u&&!m)return;const h=i.let("valid",!0),f=i.name("_valid");if(v(),r.reset(),u&&m){const w=i.let("ifClause");r.setParams({ifClause:w}),i.if(f,b("then",w),b("else",w))}else u?i.if(f,b("then")):i.if((0,e.not)(f),b("else"));r.pass(h,()=>r.error(!0));function v(){const w=r.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);r.mergeEvaluated(w)}function b(w,x){return()=>{const T=r.subschema({keyword:w},f);i.assign(h,f),r.mergeValidEvaluated(T,h),x?i.assign(x,(0,e._)`${w}`):r.setParams({ifClause:w})}}}};function n(r,i){const c=r.schema[i];return c!==void 0&&!(0,t.alwaysValidSchema)(r,c)}return Ng.default=o,Ng}var Mg={},QD;function LZ(){if(QD)return Mg;QD=1,Object.defineProperty(Mg,"__esModule",{value:!0});const e=Ft(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:a,parentSchema:o,it:n}){o.if===void 0&&(0,e.checkStrictMode)(n,`"${a}" without "if" is ignored`)}};return Mg.default=t,Mg}var ZD;function BZ(){if(ZD)return Sg;ZD=1,Object.defineProperty(Sg,"__esModule",{value:!0});const e=dB(),t=kZ(),a=uB(),o=EZ(),n=CZ(),r=PZ(),i=_Z(),c=pB(),d=AZ(),u=RZ(),m=DZ(),h=OZ(),f=NZ(),v=MZ(),b=IZ(),w=LZ();function x(T=!1){const k=[m.default,h.default,f.default,v.default,b.default,w.default,i.default,c.default,r.default,d.default,u.default];return T?k.push(t.default,o.default):k.push(e.default,a.default),k.push(n.default),k}return Sg.default=x,Sg}var Ig={},Lg={},JD;function FZ(){if(JD)return Lg;JD=1,Object.defineProperty(Lg,"__esModule",{value:!0});const e=yt(),a={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:o})=>(0,e.str)`must match format "${o}"`,params:({schemaCode:o})=>(0,e._)`{format: ${o}}`},code(o,n){const{gen:r,data:i,$data:c,schema:d,schemaCode:u,it:m}=o,{opts:h,errSchemaPath:f,schemaEnv:v,self:b}=m;if(!h.validateFormats)return;c?w():x();function w(){const T=r.scopeValue("formats",{ref:b.formats,code:h.code.formats}),k=r.const("fDef",(0,e._)`${T}[${u}]`),C=r.let("fType"),E=r.let("format");r.if((0,e._)`typeof ${k} == "object" && !(${k} instanceof RegExp)`,()=>r.assign(C,(0,e._)`${k}.type || "string"`).assign(E,(0,e._)`${k}.validate`),()=>r.assign(C,(0,e._)`"string"`).assign(E,k)),o.fail$data((0,e.or)(_(),D()));function _(){return h.strictSchema===!1?e.nil:(0,e._)`${u} && !${E}`}function D(){const R=v.$async?(0,e._)`(${k}.async ? await ${E}(${i}) : ${E}(${i}))`:(0,e._)`${E}(${i})`,O=(0,e._)`(typeof ${E} == "function" ? ${R} : ${E}.test(${i}))`;return(0,e._)`${E} && ${E} !== true && ${C} === ${n} && !${O}`}}function x(){const T=b.formats[d];if(!T){_();return}if(T===!0)return;const[k,C,E]=D(T);k===n&&o.pass(R());function _(){if(h.strictSchema===!1){b.logger.warn(O());return}throw new Error(O());function O(){return`unknown format "${d}" ignored in schema at path "${f}"`}}function D(O){const L=O instanceof RegExp?(0,e.regexpCode)(O):h.code.formats?(0,e._)`${h.code.formats}${(0,e.getProperty)(d)}`:void 0,U=r.scopeValue("formats",{key:d,ref:O,code:L});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,e._)`${U}.validate`]:["string",O,U]}function R(){if(typeof T=="object"&&!(T instanceof RegExp)&&T.async){if(!v.$async)throw new Error("async format in sync schema");return(0,e._)`await ${E}(${i})`}return typeof C=="function"?(0,e._)`${E}(${i})`:(0,e._)`${E}.test(${i})`}}}};return Lg.default=a,Lg}var XD;function jZ(){if(XD)return Ig;XD=1,Object.defineProperty(Ig,"__esModule",{value:!0});const t=[FZ().default];return Ig.default=t,Ig}var Tl={},eO;function zZ(){return eO||(eO=1,Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.contentVocabulary=Tl.metadataVocabulary=void 0,Tl.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Tl.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Tl}var tO;function qZ(){if(tO)return rg;tO=1,Object.defineProperty(rg,"__esModule",{value:!0});const e=uZ(),t=xZ(),a=BZ(),o=jZ(),n=zZ(),r=[e.default,t.default,(0,a.default)(),o.default,n.metadataVocabulary,n.contentVocabulary];return rg.default=r,rg}var Bg={},Ju={},aO;function UZ(){if(aO)return Ju;aO=1,Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(Ju.DiscrError=e={})),Ju}var oO;function $Z(){if(oO)return Bg;oO=1,Object.defineProperty(Bg,"__esModule",{value:!0});const e=yt(),t=UZ(),a=Yk(),o=ib(),n=Ft(),i={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:c,tagName:d}})=>c===t.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:c,tag:d,tagName:u}})=>(0,e._)`{error: ${c}, tag: ${u}, tagValue: ${d}}`},code(c){const{gen:d,data:u,schema:m,parentSchema:h,it:f}=c,{oneOf:v}=h;if(!f.opts.discriminator)throw new Error("discriminator: requires discriminator option");const b=m.propertyName;if(typeof b!="string")throw new Error("discriminator: requires propertyName");if(m.mapping)throw new Error("discriminator: mapping is not supported");if(!v)throw new Error("discriminator: requires oneOf keyword");const w=d.let("valid",!1),x=d.const("tag",(0,e._)`${u}${(0,e.getProperty)(b)}`);d.if((0,e._)`typeof ${x} == "string"`,()=>T(),()=>c.error(!1,{discrError:t.DiscrError.Tag,tag:x,tagName:b})),c.ok(w);function T(){const E=C();d.if(!1);for(const _ in E)d.elseIf((0,e._)`${x} === ${_}`),d.assign(w,k(E[_]));d.else(),c.error(!1,{discrError:t.DiscrError.Mapping,tag:x,tagName:b}),d.endIf()}function k(E){const _=d.name("valid"),D=c.subschema({keyword:"oneOf",schemaProp:E},_);return c.mergeEvaluated(D,e.Name),_}function C(){var E;const _={},D=O(h);let R=!0;for(let B=0;B<v.length;B++){let z=v[B];if(z?.$ref&&!(0,n.schemaHasRulesButRef)(z,f.self.RULES)){const W=z.$ref;if(z=a.resolveRef.call(f.self,f.schemaEnv.root,f.baseId,W),z instanceof a.SchemaEnv&&(z=z.schema),z===void 0)throw new o.default(f.opts.uriResolver,f.baseId,W)}const F=(E=z?.properties)===null||E===void 0?void 0:E[b];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${b}"`);R=R&&(D||O(z)),L(F,B)}if(!R)throw new Error(`discriminator: "${b}" must be required`);return _;function O({required:B}){return Array.isArray(B)&&B.includes(b)}function L(B,z){if(B.const)U(B.const,z);else if(B.enum)for(const F of B.enum)U(F,z);else throw new Error(`discriminator: "properties/${b}" must have "const" or "enum"`)}function U(B,z){if(typeof B!="string"||B in _)throw new Error(`discriminator: "${b}" values must be unique strings`);_[B]=z}}}};return Bg.default=i,Bg}const VZ="http://json-schema.org/draft-07/schema#",HZ="http://json-schema.org/draft-07/schema#",GZ="Core schema meta-schema",WZ={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},KZ=["object","boolean"],YZ={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},QZ={$schema:VZ,$id:HZ,title:GZ,definitions:WZ,type:KZ,properties:YZ,default:!0};var nO;function ZZ(){return nO||(nO=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const a=lZ(),o=qZ(),n=$Z(),r=QZ,i=["/properties"],c="http://json-schema.org/draft-07/schema";class d extends a.default{_addVocabularies(){super._addVocabularies(),o.default.forEach(b=>this.addVocabulary(b)),this.opts.discriminator&&this.addKeyword(n.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const b=this.opts.$data?this.$dataMetaSchema(r,i):r;this.addMetaSchema(b,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var u=sb();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var m=yt();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return m._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return m.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return m.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return m.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return m.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return m.CodeGen}});var h=Kk();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=ib();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})})(eg,eg.exports)),eg.exports}var Fg={exports:{}},PS={},rO;function JZ(){return rO||(rO=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(B,z){return{validate:B,compare:z}}e.fullFormats={date:t(r,i),time:t(d(!0),u),"date-time":t(f(!0),v),"iso-time":t(d(),m),"iso-date-time":t(f(),b),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:T,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:U,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:C,int32:{type:"number",validate:D},int64:{type:"number",validate:R},float:{type:"number",validate:O},double:{type:"number",validate:O},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,i),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,u),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,m),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,b),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function a(B){return B%4===0&&(B%100!==0||B%400===0)}const o=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function r(B){const z=o.exec(B);if(!z)return!1;const F=+z[1],W=+z[2],ae=+z[3];return W>=1&&W<=12&&ae>=1&&ae<=(W===2&&a(F)?29:n[W])}function i(B,z){if(B&&z)return B>z?1:B<z?-1:0}const c=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(B){return function(F){const W=c.exec(F);if(!W)return!1;const ae=+W[1],H=+W[2],K=+W[3],J=W[4],se=W[5]==="-"?-1:1,Z=+(W[6]||0),M=+(W[7]||0);if(Z>23||M>59||B&&!J)return!1;if(ae<=23&&H<=59&&K<60)return!0;const G=H-M*se,V=ae-Z*se-(G<0?1:0);return(V===23||V===-1)&&(G===59||G===-1)&&K<61}}function u(B,z){if(!(B&&z))return;const F=new Date("2020-01-01T"+B).valueOf(),W=new Date("2020-01-01T"+z).valueOf();if(F&&W)return F-W}function m(B,z){if(!(B&&z))return;const F=c.exec(B),W=c.exec(z);if(F&&W)return B=F[1]+F[2]+F[3],z=W[1]+W[2]+W[3],B>z?1:B<z?-1:0}const h=/t|\s/i;function f(B){const z=d(B);return function(W){const ae=W.split(h);return ae.length===2&&r(ae[0])&&z(ae[1])}}function v(B,z){if(!(B&&z))return;const F=new Date(B).valueOf(),W=new Date(z).valueOf();if(F&&W)return F-W}function b(B,z){if(!(B&&z))return;const[F,W]=B.split(h),[ae,H]=z.split(h),K=i(F,ae);if(K!==void 0)return K||u(W,H)}const w=/\/|:/,x=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function T(B){return w.test(B)&&x.test(B)}const k=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function C(B){return k.lastIndex=0,k.test(B)}const E=-2147483648,_=2**31-1;function D(B){return Number.isInteger(B)&&B<=_&&B>=E}function R(B){return Number.isInteger(B)}function O(){return!0}const L=/[^\\]\\Z/;function U(B){if(L.test(B))return!1;try{return new RegExp(B),!0}catch{return!1}}})(PS)),PS}var _S={},sO;function XZ(){return sO||(sO=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=ZZ(),a=yt(),o=a.operators,n={formatMaximum:{okStr:"<=",ok:o.LTE,fail:o.GT},formatMinimum:{okStr:">=",ok:o.GTE,fail:o.LT},formatExclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},formatExclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},r={message:({keyword:c,schemaCode:d})=>(0,a.str)`should be ${n[c].okStr} ${d}`,params:({keyword:c,schemaCode:d})=>(0,a._)`{comparison: ${n[c].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:r,code(c){const{gen:d,data:u,schemaCode:m,keyword:h,it:f}=c,{opts:v,self:b}=f;if(!v.validateFormats)return;const w=new t.KeywordCxt(f,b.RULES.all.format.definition,"format");w.$data?x():T();function x(){const C=d.scopeValue("formats",{ref:b.formats,code:v.code.formats}),E=d.const("fmt",(0,a._)`${C}[${w.schemaCode}]`);c.fail$data((0,a.or)((0,a._)`typeof ${E} != "object"`,(0,a._)`${E} instanceof RegExp`,(0,a._)`typeof ${E}.compare != "function"`,k(E)))}function T(){const C=w.schema,E=b.formats[C];if(!E||E===!0)return;if(typeof E!="object"||E instanceof RegExp||typeof E.compare!="function")throw new Error(`"${h}": format "${C}" does not define "compare" function`);const _=d.scopeValue("formats",{key:C,ref:E,code:v.code.formats?(0,a._)`${v.code.formats}${(0,a.getProperty)(C)}`:void 0});c.fail$data(k(_))}function k(C){return(0,a._)`${C}.compare(${u}, ${m}) ${n[h].fail} 0`}},dependencies:["format"]};const i=c=>(c.addKeyword(e.formatLimitDefinition),c);e.default=i})(_S)),_S}var iO;function eJ(){return iO||(iO=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const a=JZ(),o=XZ(),n=yt(),r=new n.Name("fullFormats"),i=new n.Name("fastFormats"),c=(u,m={keywords:!0})=>{if(Array.isArray(m))return d(u,m,a.fullFormats,r),u;const[h,f]=m.mode==="fast"?[a.fastFormats,i]:[a.fullFormats,r],v=m.formats||a.formatNames;return d(u,v,h,f),m.keywords&&(0,o.default)(u),u};c.get=(u,m="full")=>{const f=(m==="fast"?a.fastFormats:a.fullFormats)[u];if(!f)throw new Error(`Unknown format "${u}"`);return f};function d(u,m,h,f){var v,b;(v=(b=u.opts.code).formats)!==null&&v!==void 0||(b.formats=(0,n._)`require("ajv-formats/dist/formats").${f}`);for(const w of m)u.addFormat(w,h[w])}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c})(Fg,Fg.exports)),Fg.exports}var tJ=eJ();const _xe=Yl(tJ);function aJ({studioUrl:e,meshUrl:t},a){return e??t??a}let Zk;Zk=globalThis.crypto;async function oJ(e){return(await Zk).getRandomValues(new Uint8Array(e))}async function nJ(e){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~",a=Math.pow(2,8)-Math.pow(2,8)%t.length;let o="";for(;o.length<e;){const n=await oJ(e-o.length);for(const r of n)r<a&&(o+=t[r%t.length])}return o}async function rJ(e){return await nJ(e)}async function sJ(e){const t=await(await Zk).subtle.digest("SHA-256",new TextEncoder().encode(e));return btoa(String.fromCharCode(...new Uint8Array(t))).replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}async function Axe(e){if(e||(e=43),e<43||e>128)throw`Expected a length between 43 and 128. Received ${e}.`;const t=await rJ(e),a=await sJ(t);return{code_verifier:t,code_challenge:a}}const Po=yL().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:sK.custom,message:"URL must be parseable",fatal:!0}),p7}).refine(e=>{const t=new URL(e);return t.protocol!=="javascript:"&&t.protocol!=="data:"&&t.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),Rxe=_o({resource:$().url(),authorization_servers:je(Po).optional(),jwks_uri:$().url().optional(),scopes_supported:je($()).optional(),bearer_methods_supported:je($()).optional(),resource_signing_alg_values_supported:je($()).optional(),resource_name:$().optional(),resource_documentation:$().optional(),resource_policy_uri:$().url().optional(),resource_tos_uri:$().url().optional(),tls_client_certificate_bound_access_tokens:Vt().optional(),authorization_details_types_supported:je($()).optional(),dpop_signing_alg_values_supported:je($()).optional(),dpop_bound_access_tokens_required:Vt().optional()}),iJ=_o({issuer:$(),authorization_endpoint:Po,token_endpoint:Po,registration_endpoint:Po.optional(),scopes_supported:je($()).optional(),response_types_supported:je($()),response_modes_supported:je($()).optional(),grant_types_supported:je($()).optional(),token_endpoint_auth_methods_supported:je($()).optional(),token_endpoint_auth_signing_alg_values_supported:je($()).optional(),service_documentation:Po.optional(),revocation_endpoint:Po.optional(),revocation_endpoint_auth_methods_supported:je($()).optional(),revocation_endpoint_auth_signing_alg_values_supported:je($()).optional(),introspection_endpoint:$().optional(),introspection_endpoint_auth_methods_supported:je($()).optional(),introspection_endpoint_auth_signing_alg_values_supported:je($()).optional(),code_challenge_methods_supported:je($()).optional(),client_id_metadata_document_supported:Vt().optional()}),lJ=_o({issuer:$(),authorization_endpoint:Po,token_endpoint:Po,userinfo_endpoint:Po.optional(),jwks_uri:Po,registration_endpoint:Po.optional(),scopes_supported:je($()).optional(),response_types_supported:je($()),response_modes_supported:je($()).optional(),grant_types_supported:je($()).optional(),acr_values_supported:je($()).optional(),subject_types_supported:je($()),id_token_signing_alg_values_supported:je($()),id_token_encryption_alg_values_supported:je($()).optional(),id_token_encryption_enc_values_supported:je($()).optional(),userinfo_signing_alg_values_supported:je($()).optional(),userinfo_encryption_alg_values_supported:je($()).optional(),userinfo_encryption_enc_values_supported:je($()).optional(),request_object_signing_alg_values_supported:je($()).optional(),request_object_encryption_alg_values_supported:je($()).optional(),request_object_encryption_enc_values_supported:je($()).optional(),token_endpoint_auth_methods_supported:je($()).optional(),token_endpoint_auth_signing_alg_values_supported:je($()).optional(),display_values_supported:je($()).optional(),claim_types_supported:je($()).optional(),claims_supported:je($()).optional(),service_documentation:$().optional(),claims_locales_supported:je($()).optional(),ui_locales_supported:je($()).optional(),claims_parameter_supported:Vt().optional(),request_parameter_supported:Vt().optional(),request_uri_parameter_supported:Vt().optional(),require_request_uri_registration:Vt().optional(),op_policy_uri:Po.optional(),op_tos_uri:Po.optional(),client_id_metadata_document_supported:Vt().optional()}),Dxe=Se({...lJ.shape,...iJ.pick({code_challenge_methods_supported:!0}).shape}),Oxe=Se({access_token:$(),id_token:$().optional(),token_type:$(),expires_in:PL().optional(),scope:$().optional(),refresh_token:$().optional()}).strip(),Nxe=Se({error:$(),error_description:$().optional(),error_uri:$().optional()}),lO=Po.optional().or(Ze("").transform(()=>{})),cJ=Se({redirect_uris:je(Po),token_endpoint_auth_method:$().optional(),grant_types:je($()).optional(),response_types:je($()).optional(),client_name:$().optional(),client_uri:Po.optional(),logo_uri:lO,scope:$().optional(),contacts:je($()).optional(),tos_uri:lO,policy_uri:$().optional(),jwks_uri:Po.optional(),jwks:OW().optional(),software_id:$().optional(),software_version:$().optional(),software_statement:$().optional()}).strip(),dJ=Se({client_id:$(),client_secret:$().optional(),client_id_issued_at:Lt().optional(),client_secret_expires_at:Lt().optional()}).strip(),Mxe=cJ.merge(dJ);Se({error:$(),error_description:$().optional()}).strip();Se({token:$(),token_type_hint:$().optional()}).strip();class No extends Error{constructor(t,a){super(t),this.errorUri=a,this.name=this.constructor.name}toResponseObject(){const t={error:this.errorCode,error_description:this.message};return this.errorUri&&(t.error_uri=this.errorUri),t}get errorCode(){return this.constructor.errorCode}}class bx extends No{}bx.errorCode="invalid_request";class yx extends No{}yx.errorCode="invalid_client";class wx extends No{}wx.errorCode="invalid_grant";class Sx extends No{}Sx.errorCode="unauthorized_client";class Tx extends No{}Tx.errorCode="unsupported_grant_type";class xx extends No{}xx.errorCode="invalid_scope";class kx extends No{}kx.errorCode="access_denied";class Ex extends No{}Ex.errorCode="server_error";class Cx extends No{}Cx.errorCode="temporarily_unavailable";class Px extends No{}Px.errorCode="unsupported_response_type";class _x extends No{}_x.errorCode="unsupported_token_type";class Ax extends No{}Ax.errorCode="invalid_token";class Rx extends No{}Rx.errorCode="method_not_allowed";class Dx extends No{}Dx.errorCode="too_many_requests";class Ox extends No{}Ox.errorCode="invalid_client_metadata";class Nx extends No{}Nx.errorCode="insufficient_scope";class Mx extends No{}Mx.errorCode="invalid_target";const Ixe={[bx.errorCode]:bx,[yx.errorCode]:yx,[wx.errorCode]:wx,[Sx.errorCode]:Sx,[Tx.errorCode]:Tx,[xx.errorCode]:xx,[kx.errorCode]:kx,[Ex.errorCode]:Ex,[Cx.errorCode]:Cx,[Px.errorCode]:Px,[_x.errorCode]:_x,[Ax.errorCode]:Ax,[Rx.errorCode]:Rx,[Dx.errorCode]:Dx,[Ox.errorCode]:Ox,[Nx.errorCode]:Nx,[Mx.errorCode]:Mx};async function mB(e){if(!e.getServerCapabilities()?.resources)return{resources:[]};try{return await e.listResources()}catch(a){if(a instanceof ob&&a.code===$p.MethodNotFound)return{resources:[]};throw a}}async function uJ(e,t){return await e.readResource({uri:t})}function Lxe(e){const t=ye.c(12);let a,o;t[0]!==e?({client:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);let n;t[3]!==a?(n=lo.mcpResourcesList(a),t[3]=a,t[4]=n):n=t[4];let r;t[5]!==a?(r=()=>mB(a),t[5]=a,t[6]=r):r=t[6];const i=o.staleTime??3e4;let c;return t[7]!==o||t[8]!==n||t[9]!==r||t[10]!==i?(c={...o,queryKey:n,queryFn:r,staleTime:i,retry:!1},t[7]=o,t[8]=n,t[9]=r,t[10]=i,t[11]=c):c=t[11],Yi(c)}function Bxe(e){const t=ye.c(12);let a,o;t[0]!==e?({client:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);let n;t[3]!==a?(n=lo.mcpResourcesList(a),t[3]=a,t[4]=n):n=t[4];let r;t[5]!==a?(r=()=>mB(a),t[5]=a,t[6]=r):r=t[6];const i=o.staleTime??3e4;let c;return t[7]!==o||t[8]!==n||t[9]!==r||t[10]!==i?(c={...o,queryKey:n,queryFn:r,staleTime:i,retry:!1},t[7]=o,t[8]=n,t[9]=r,t[10]=i,t[11]=c):c=t[11],Ki(c)}function Fxe(e){const t=ye.c(15);let a,o,n;t[0]!==e?({client:a,uri:n,...o}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n):(a=t[1],o=t[2],n=t[3]);let r;t[4]!==a||t[5]!==n?(r=lo.mcpReadResource(a,n),t[4]=a,t[5]=n,t[6]=r):r=t[6];let i;t[7]!==a||t[8]!==n?(i=()=>uJ(a,n),t[7]=a,t[8]=n,t[9]=i):i=t[9];const c=o.staleTime??3e4;let d;return t[10]!==o||t[11]!==r||t[12]!==i||t[13]!==c?(d={...o,queryKey:r,queryFn:i,staleTime:c,retry:!1},t[10]=o,t[11]=r,t[12]=i,t[13]=c,t[14]=d):d=t[14],Yi(d)}const hB="ui-resource-html";function jxe(e){const t=ye.c(22);let a,o,n,r,i,c;t[0]!==e?({orgSlug:n,connectionId:a,uri:c,studioUrl:i,meshUrl:o,...r}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=c):(a=t[1],o=t[2],n=t[3],r=t[4],i=t[5],c=t[6]);let d;t[7]!==a||t[8]!==n||t[9]!==c?(d=lo.mcpUiResourceHtml(n,a,c),t[7]=a,t[8]=n,t[9]=c,t[10]=d):d=t[10];let u;t[11]!==a||t[12]!==o||t[13]!==n||t[14]!==i||t[15]!==c?(u=async()=>{const v=`${aJ({studioUrl:i,meshUrl:o},typeof window<"u"?window.location.origin:"")}/api/${encodeURIComponent(n)}/mcp/${encodeURIComponent(a)}/ui-resource?uri=${encodeURIComponent(c)}`,b=await fetch(v,{credentials:"include"});if(!b.ok)throw new Error(`Failed to read UI resource (${b.status})`);return b.text()},t[11]=a,t[12]=o,t[13]=n,t[14]=i,t[15]=c,t[16]=u):u=t[16];const m=r.staleTime??3e4;let h;return t[17]!==r||t[18]!==d||t[19]!==u||t[20]!==m?(h={...r,queryKey:d,queryFn:u,staleTime:m,retry:!1},t[17]=r,t[18]=d,t[19]=u,t[20]=m,t[21]=h):h=t[21],Yi(h)}const gB={featureNotInPlan:"feature_not_in_plan",aiBudgetExhausted:"ai_budget_exhausted"};class Jf extends Error{constructor(t,a,o,n){super(t),this.status=a,this.code=o,this.retryAfterMs=n,this.name="StudioToolError"}status;code;retryAfterMs}function fB(e){return e instanceof Jf&&Object.values(gB).includes(e.code??"")?e.code:null}const pJ=6e4;function mJ(e){return!(e instanceof Jf)||e.status!==429?null:e.retryAfterMs??pJ}function hJ(e,t){if(typeof t=="object"&&t!==null&&"retryAfterMs"in t&&typeof t.retryAfterMs=="number"&&Number.isFinite(t.retryAfterMs))return Math.max(0,t.retryAfterMs);const a=e.headers.get("retry-after"),o=a?Number(a):Number.NaN;return Number.isFinite(o)?Math.max(0,o*1e3):void 0}async function gJ(e,t,a){const o=await fetch(`/api/${encodeURIComponent(e)}/tools/${encodeURIComponent(t)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a??{})});if(!o.ok){let n=`${t} failed (${o.status})`,r,i=null;try{i=await o.json();const c=i;c?.error&&(n=c.error),typeof c?.code=="string"&&(r=c.code)}catch{}throw new Jf(n,o.status,r,o.status===429?hJ(o,i):void 0)}try{return await o.json()}catch{throw new Jf(`${t} returned a non-JSON response`,o.status)}}function Jk(){const e=ye.c(5),{org:t}=Zi(),a=t.slug;let o;e[0]!==a?(o=(r,i)=>gJ(a,r,i),e[0]=a,e[1]=o):o=e[1];let n;return e[2]!==a||e[3]!==o?(n={orgSlug:a,call:o},e[2]=a,e[3]=o,e[4]=n):n=e[4],n}function fJ(e){for(const t of["content-revision","content-versions","content-changes","content-draft-tombstones","content-index"])e.getQueryDefaults([t]).gcTime!==1/0&&e.setQueryDefaults([t],{gcTime:1/0})}const vJ="studio-ui-resources",Xf="html",bJ=10080*60*1e3,yJ=50,wJ=16*1024*1024;function SJ(e){return e[0]==="mcp"&&e[1]===hB}function lb(){return new Promise((e,t)=>{const a=indexedDB.open(vJ,1);a.onupgradeneeded=()=>{a.result.objectStoreNames.contains(Xf)||a.result.createObjectStore(Xf)},a.onsuccess=()=>e(a.result),a.onerror=()=>t(a.error)})}function jd(e,t){return e.transaction(Xf,t).objectStore(Xf)}function Ix(e){return new Promise((t,a)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>a(e.error)})}async function TJ(e){if(!(typeof indexedDB>"u"))try{const t=await lb(),a=jd(t,"readonly"),o=await Ix(a.getAllKeys()),n=await Ix(a.getAll()),r=Date.now(),i=o.map((u,m)=>({key:u,value:n[m]})).sort((u,m)=>(m.value?.updatedAt??0)-(u.value?.updatedAt??0)),c=[];let d=0;for(const{key:u,value:m}of i){if(!m||r-m.updatedAt>bJ||d>=yJ){c.push(u);continue}d++;try{const f=JSON.parse(String(u));e.getQueryData(f)===void 0&&e.setQueryData(f,m.html,{updatedAt:0})}catch{c.push(u)}}if(c.length>0){const u=jd(t,"readwrite");for(const m of c)u.delete(m)}}catch{}}function xJ(e){if(typeof indexedDB>"u")return()=>{};const t=lb().catch(()=>null);return e.getQueryCache().subscribe(a=>{const o=a.query;if(!Array.isArray(o.queryKey)||!SJ(o.queryKey)||o.state.status!=="success")return;const n=o.state.data;typeof n!="string"||n.length>wJ||t.then(r=>{if(r)try{jd(r,"readwrite").put({html:n,updatedAt:Date.now()},JSON.stringify(o.queryKey))}catch{}})})}function kJ(){typeof indexedDB>"u"||lb().then(e=>jd(e,"readwrite").clear()).catch(()=>{})}async function zxe(e){if(!(typeof indexedDB>"u"))try{const t=await lb(),a=await Ix(jd(t,"readonly").getAllKeys()),o=jd(t,"readwrite");for(const n of a)try{const r=JSON.parse(String(n));r[1]===hB&&r[3]===e&&o.delete(n)}catch{}}catch{}}const ev="studio:rq-cache",Xk=1440*60*1e3,EJ=1e3,CJ=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions","order-monitor"]),PJ=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let vB=!1,bB=!1;function _J(e){const t=e[0];return typeof t=="string"&&CJ.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&PJ.has(e[4])}function AJ(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(ev);if(!t)return;const a=JSON.parse(t),o=!a.timestamp||Date.now()-a.timestamp>Xk;if(a.buster!=="4.618.0"||o||!a.state){window.localStorage.removeItem(ev);return}$V(e,a.state),e.invalidateQueries({queryKey:lo.publicConfig(),refetchType:"none"}),vB=!0}catch{IJ()}}function RJ(e){if(typeof window>"u")return()=>{};let t=null;const a=()=>{t=null;try{const r=UV(e,{shouldDehydrateQuery:i=>i.state.status==="success"&&_J(i.queryKey)});window.localStorage.setItem(ev,JSON.stringify({buster:"4.618.0",timestamp:Date.now(),state:r}))}catch{}},o=e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(a,EJ))}),n=()=>{t!=null&&(clearTimeout(t),a())};return window.addEventListener("pagehide",n),()=>{t!=null&&clearTimeout(t),window.removeEventListener("pagehide",n),o()}}const yB="studio:org-cache:",DJ=20;function OJ(e){const t=Date.now(),a=Object.entries(e).filter(([,o])=>t-o.updatedAt<=Xk);for(a.sort(([,o],[,n])=>o.updatedAt-n.updatedAt);a.length>DJ;)a.shift();return Object.fromEntries(a)}function wB(e){return`${yB}${e}`}function NJ(e,t){if(typeof window>"u")return null;try{const a=window.localStorage.getItem(wB(e));if(!a)return null;const o=JSON.parse(a)[t];return!o||Date.now()-o.updatedAt>Xk?null:(bB=!0,o)}catch{return null}}function MJ(e,t,a){if(!(typeof window>"u"))try{const o=wB(e),n=window.localStorage.getItem(o),r=n?JSON.parse(n):{};r[t]={data:a,updatedAt:Date.now()},window.localStorage.setItem(o,JSON.stringify(OJ(r)))}catch{}}function IJ(){if(kJ(),!(typeof window>"u"))try{window.localStorage.removeItem(ev);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(yB)&&window.localStorage.removeItem(t)}}catch{}}function LJ(){return vB}function BJ(){return bB}function cO(e){const t=fB(e);if(!t)return;const a=t===gB.aiBudgetExhausted?tv.budget||"This organization's AI allowance is used up.":tv.feature||"This organization's plan does not include that.";Fd.error(a,{id:`plan-refusal:${t}`})}const tv={feature:"",budget:""},Jl=new e7({queryCache:new pI({onError:cO}),mutationCache:new uI({onError:cO}),defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:(e,t)=>fB(t)===null&&mJ(t)===null&&e<1,gcTime:300*1e3}}});fJ(Jl);AJ(Jl);RJ(Jl);TJ(Jl);xJ(Jl);const eE=5*6e4;async function SB(){return(await(await fetch("/api/config")).json()).config}function TB(){const e=ye.c(1);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:lo.publicConfig(),queryFn:SB,staleTime:eE},e[0]=t):t=e[0];const{data:a}=Yi(t);return a}function qxe(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:lo.publicConfig(),queryFn:SB,staleTime:eE},e[0]=t):t=e[0],Ki(t).data}const xB=A.createContext(void 0);function FJ(e){const t=ye.c(3),{children:a}=e,o=TB();let n;return t[0]!==a||t[1]!==o.auth?(n=y.jsx(xB.Provider,{value:o.auth,children:a}),t[0]=a,t[1]=o.auth,t[2]=n):n=t[2],n}function Uxe(){const e=A.useContext(xB);if(e===void 0)throw new Error("useAuthConfig must be used within AuthConfigProvider");return e}var jJ={},dO={};const wf=Object.create(null),Xu=e=>jJ||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?wf:globalThis),er=new Proxy(wf,{get(e,t){return Xu()[t]??wf[t]},has(e,t){return t in Xu()||t in wf},set(e,t,a){const o=Xu(!0);return o[t]=a,!0},deleteProperty(e,t){if(!t)return!1;const a=Xu(!0);return delete a[t],!0},ownKeys(){const e=Xu(!0);return Object.keys(e)}});function Ya(e,t){return typeof process<"u"&&dO?dO[e]??t:typeof Deno<"u"?Deno.env.get(e)??t:typeof Bun<"u"?Bun.env[e]??t:t}const ep=1,mo=4,Gr=8,Mn=24,uO={eterm:mo,cons25:mo,console:mo,cygwin:mo,dtterm:mo,gnome:mo,hurd:mo,jfbterm:mo,konsole:mo,kterm:mo,mlterm:mo,mosh:Mn,putty:mo,st:mo,"rxvt-unicode-24bit":Mn,terminator:Mn,"xterm-kitty":Mn},zJ=new Map(Object.entries({APPVEYOR:Gr,BUILDKITE:Gr,CIRCLECI:Mn,DRONE:Gr,GITEA_ACTIONS:Mn,GITHUB_ACTIONS:Mn,GITLAB_CI:Gr,TRAVIS:Gr})),qJ=[/ansi/,/color/,/linux/,/direct/,/^con[0-9]*x[0-9]/,/^rxvt/,/^screen/,/^xterm/,/^vt100/,/^vt220/];function UJ(){if(Ya("FORCE_COLOR")!==void 0)switch(Ya("FORCE_COLOR")){case"":case"1":case"true":return mo;case"2":return Gr;case"3":return Mn;default:return ep}if(Ya("NODE_DISABLE_COLORS")!==void 0&&Ya("NODE_DISABLE_COLORS")!==""||Ya("NO_COLOR")!==void 0&&Ya("NO_COLOR")!==""||Ya("TERM")==="dumb")return ep;if(Ya("TMUX"))return Mn;if("TF_BUILD"in er&&"AGENT_NAME"in er)return mo;if("CI"in er){for(const{0:e,1:t}of zJ)if(e in er)return t;return Ya("CI_NAME")==="codeship"?Gr:ep}if("TEAMCITY_VERSION"in er)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.exec(Ya("TEAMCITY_VERSION"))!==null?mo:ep;switch(Ya("TERM_PROGRAM")){case"iTerm.app":return!Ya("TERM_PROGRAM_VERSION")||/^[0-2]\./.exec(Ya("TERM_PROGRAM_VERSION"))!==null?Gr:Mn;case"HyperTerm":case"MacTerm":return Mn;case"Apple_Terminal":return Gr}if(Ya("COLORTERM")==="truecolor"||Ya("COLORTERM")==="24bit")return Mn;if(Ya("TERM")){if(/truecolor/.exec(Ya("TERM"))!==null)return Mn;if(/^xterm-256/.exec(Ya("TERM"))!==null)return Gr;const e=Ya("TERM").toLowerCase();if(uO[e])return uO[e];if(qJ.some(t=>t.exec(e)!==null))return mo}return Ya("COLORTERM")?mo:ep}const Wr={reset:"\x1B[0m",bright:"\x1B[1m",dim:"\x1B[2m",fg:{red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m"}},Lx=["debug","info","success","warn","error"];function $J(e,t){return Lx.indexOf(t)>=Lx.indexOf(e)}const VJ={info:Wr.fg.blue,success:Wr.fg.green,warn:Wr.fg.yellow,error:Wr.fg.red,debug:Wr.fg.magenta},HJ=(e,t,a)=>{const o=new Date().toISOString();return a?`${Wr.dim}${o}${Wr.reset} ${VJ[e]}${e.toUpperCase()}${Wr.reset} ${Wr.bright}[Better Auth]:${Wr.reset} ${t}`:`${o} ${e.toUpperCase()} [Better Auth]: ${t}`},GJ=e=>{const t="warn",a=UJ()!==1,o=(n,r,i=[])=>{if(!$J(t,n))return;const c=HJ(n,r,a);{n==="error"?console.error(c,...i):n==="warn"?console.warn(c,...i):console.log(c,...i);return}};return{...Object.fromEntries(Lx.map(n=>[n,(...[r,...i])=>o(n,r,i)])),get level(){return t}}};GJ();function WJ(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Cp=class extends Error{constructor(e,t){super(e,t),this.name="BetterAuthError",this.message=e,this.stack=""}};function KJ(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new Cp(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function YJ(e){try{const t=new URL(e);if(t.protocol!=="http:"&&t.protocol!=="https:")throw new Cp(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(t){throw t instanceof Cp?t:new Cp(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:t})}}function AS(e,t="/api/auth"){if(YJ(e),KJ(e))return e;const a=e.replace(/\/+$/,"");return!t||t==="/"?a:(t=t.startsWith("/")?t:`/${t}`,`${a}${t}`)}function QJ(e,t,a,o,n){if(e)return AS(e,t);{const r=er.BETTER_AUTH_URL||er.NEXT_PUBLIC_BETTER_AUTH_URL||er.PUBLIC_BETTER_AUTH_URL||er.NUXT_PUBLIC_BETTER_AUTH_URL||er.NUXT_PUBLIC_AUTH_URL||(er.BASE_URL!=="/"?er.BASE_URL:void 0);if(r)return AS(r,t)}if(typeof window<"u"&&window.location)return AS(window.location.origin,t)}const ZJ={id:"redirect",name:"Redirect",hooks:{onSuccess(e){if(e.data?.url&&e.data?.redirect&&typeof window<"u"&&window.location&&window.location)try{window.location.href=e.data.url}catch{}}}},JJ={proto:/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,constructor:/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,protoShort:/"__proto__"\s*:/,constructorShort:/"constructor"\s*:/},XJ=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,pO={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},eX=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function tX(e){return e instanceof Date&&!isNaN(e.getTime())}function aX(e){const t=eX.exec(e);if(!t)return null;const[,a,o,n,r,i,c,d,u,m,h]=t,f=new Date(Date.UTC(parseInt(a,10),parseInt(o,10)-1,parseInt(n,10),parseInt(r,10),parseInt(i,10),parseInt(c,10),d?parseInt(d.padEnd(3,"0"),10):0));if(u){const v=(parseInt(m,10)*60+parseInt(h,10))*(u==="+"?-1:1);f.setUTCMinutes(f.getUTCMinutes()+v)}return tX(f)?f:null}function oX(e,t={}){const{strict:a=!1,warnings:o=!1,reviver:n,parseDates:r=!0}=t;if(typeof e!="string")return e;const i=e.trim();if(i.length>0&&i[0]==='"'&&i.endsWith('"')&&!i.slice(1,-1).includes('"'))return i.slice(1,-1);const c=i.toLowerCase();if(c.length<=9&&c in pO)return pO[c];if(!XJ.test(i)){if(a)throw new SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(JJ).some(([d,u])=>{const m=u.test(i);return m&&o&&console.warn(`[better-json] Detected potential prototype pollution attempt using ${d} pattern`),m})&&a)throw new Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(i,(u,m)=>{if(u==="__proto__"||u==="constructor"&&m&&typeof m=="object"&&"prototype"in m){o&&console.warn(`[better-json] Dropping "${u}" key to prevent prototype pollution`);return}if(r&&typeof m=="string"){const h=aX(m);if(h)return h}return n?n(u,m):m})}catch(d){if(a)throw d;return e}}function nX(e,t={strict:!0}){return oX(e,t)}let vr=[],bi=0;const jg=4,rX=globalThis.nanostoresGlobal||={epoch:0},Il=e=>{let t=[],a={get(){return a.lc||a.listen(()=>{})(),a.value},init:e,lc:0,listen(o){return a.lc=t.push(o),()=>{for(let r=bi+jg;r<vr.length;)vr[r]===o?vr.splice(r,jg):r+=jg;let n=t.indexOf(o);~n&&(t.splice(n,1),--a.lc||a.off())}},notify(o,n){rX.epoch++;let r=!vr.length;for(let i of t)vr.push(i,a.value,o,n);if(r){for(bi=0;bi<vr.length;bi+=jg)vr[bi](vr[bi+1],vr[bi+2],vr[bi+3]);vr.length=0}},off(){},set(o){let n=a.value;n!==o&&(a.value=o,a.notify(n))},subscribe(o){let n=a.listen(o);return o(a.value),n},value:e};return a},sX=5,zg=6,qg=10;let iX=(e,t,a,o)=>(e.events=e.events||{},e.events[a+qg]||(e.events[a+qg]=o(n=>{e.events[a].reduceRight((r,i)=>(i(r),r),{shared:{},...n})})),e.events[a]=e.events[a]||[],e.events[a].push(t),()=>{let n=e.events[a],r=n.indexOf(t);n.splice(r,1),n.length||(delete e.events[a],e.events[a+qg](),delete e.events[a+qg])});const lX=1e3;let kB=(e,t)=>iX(e,o=>{let n=t(o);n&&e.events[zg].push(n)},sX,o=>{let n=e.listen;e.listen=(...i)=>(!e.lc&&!e.active&&(e.active=!0,o()),n(...i));let r=e.off;return e.events[zg]=[],e.off=()=>{r(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let i of e.events[zg])i();e.events[zg]=[]}},lX)},()=>{e.listen=n,e.off=r}});function cX(e,t,a){let o=new Set(t).add(void 0);return e.listen((n,r,i)=>{o.has(i)&&a(n,r,i)})}const dX=()=>typeof window>"u",fd=(e,t,a,o)=>{const n=Il({data:null,error:null,isPending:!0,isRefetching:!1,refetch:c=>r(c)}),r=async c=>new Promise(d=>{const u=typeof o=="function"?o({data:n.get().data,error:n.get().error,isPending:n.get().isPending}):o;a(t,{...u,query:{...u?.query,...c?.query},async onSuccess(m){n.set({data:m.data,error:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await u?.onSuccess?.(m)},async onError(m){const{request:h}=m,f=typeof h.retry=="number"?h.retry:h.retry?.attempts,v=h.retryAttempt||0;f&&v<f||(n.set({error:m.error,data:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await u?.onError?.(m))},async onRequest(m){const h=n.get();n.set({isPending:h.data===null,data:h.data,error:null,isRefetching:!0,refetch:n.value.refetch}),await u?.onRequest?.(m)}}).catch(m=>{n.set({error:m,data:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch})}).finally(()=>{d(void 0)})});e=Array.isArray(e)?e:[e];let i=!1;for(const c of e)c.subscribe(async()=>{dX()||(i?await r():kB(n,()=>{const d=setTimeout(async()=>{i||(await r(),i=!0)},0);return()=>{n.off(),c.off(),clearTimeout(d)}}))});return n},RS=Symbol.for("better-auth:broadcast-channel"),uX=()=>Math.floor(Date.now()/1e3);var pX=class{listeners=new Set;name;constructor(e="better-auth.message"){this.name=e}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}post(e){if(!(typeof window>"u"))try{localStorage.setItem(this.name,JSON.stringify({...e,timestamp:uX()}))}catch{}}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const e=t=>{if(t.key!==this.name)return;const a=JSON.parse(t.newValue??"{}");a?.event!=="session"||!a?.data||this.listeners.forEach(o=>o(a))};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}}};function DS(e="better-auth.message"){return globalThis[RS]||(globalThis[RS]=new pX(e)),globalThis[RS]}const OS=Symbol.for("better-auth:focus-manager");var mX=class{listeners=new Set;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setFocused(e){this.listeners.forEach(t=>t(e))}setup(){if(typeof window>"u"||typeof document>"u"||typeof window.addEventListener>"u")return()=>{};const e=()=>{document.visibilityState==="visible"&&this.setFocused(!0)};return document.addEventListener("visibilitychange",e,!1),()=>{document.removeEventListener("visibilitychange",e,!1)}}};function mO(){return globalThis[OS]||(globalThis[OS]=new mX),globalThis[OS]}const NS=Symbol.for("better-auth:online-manager");var hX=class{listeners=new Set;isOnline=typeof navigator<"u"?navigator.onLine:!0;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setOnline(e){this.isOnline=e,this.listeners.forEach(t=>t(e))}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const e=()=>this.setOnline(!0),t=()=>this.setOnline(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",e,!1),window.removeEventListener("offline",t,!1)}}};function MS(){return globalThis[NS]||(globalThis[NS]=new hX),globalThis[NS]}const Wc=()=>Math.floor(Date.now()/1e3),gX=5;function fX(e){const{sessionAtom:t,sessionSignal:a,$fetch:o,options:n={}}=e,r=n.sessionOptions?.refetchInterval??0,i=n.sessionOptions?.refetchOnWindowFocus??!0,c=n.sessionOptions?.refetchWhenOffline??!1,d={lastSync:0,lastSessionRequest:0,cachedSession:void 0},u=()=>c||MS().isOnline,m=k=>{if(!u())return;if(k?.event==="storage"){d.lastSync=Wc(),a.set(!a.get());return}const C=t.get();if(k?.event==="poll"){d.lastSessionRequest=Wc(),o("/get-session").then(E=>{E.error?t.set({...C,data:null,error:E.error}):t.set({...C,data:E.data,error:null}),d.lastSync=Wc(),a.set(!a.get())}).catch(()=>{});return}if(k?.event==="visibilitychange"){if(Wc()-d.lastSessionRequest<gX)return;d.lastSessionRequest=Wc()}(C?.data===null||C?.data===void 0||k?.event==="visibilitychange")&&(d.lastSync=Wc(),a.set(!a.get()))},h=k=>{DS().post({event:"session",data:{trigger:k},clientId:Math.random().toString(36).substring(7)})},f=()=>{r&&r>0&&(d.pollInterval=setInterval(()=>{t.get()?.data&&m({event:"poll"})},r*1e3))},v=()=>{d.unsubscribeBroadcast=DS().subscribe(()=>{m({event:"storage"})})},b=()=>{i&&(d.unsubscribeFocus=mO().subscribe(()=>{m({event:"visibilitychange"})}))},w=()=>{d.unsubscribeOnline=MS().subscribe(k=>{k&&m({event:"visibilitychange"})})};return{init:()=>{f(),v(),b(),w(),DS().setup(),mO().setup(),MS().setup()},cleanup:()=>{d.pollInterval&&(clearInterval(d.pollInterval),d.pollInterval=void 0),d.unsubscribeBroadcast&&(d.unsubscribeBroadcast(),d.unsubscribeBroadcast=void 0),d.unsubscribeFocus&&(d.unsubscribeFocus(),d.unsubscribeFocus=void 0),d.unsubscribeOnline&&(d.unsubscribeOnline(),d.unsubscribeOnline=void 0),d.lastSync=0,d.lastSessionRequest=0,d.cachedSession=void 0},triggerRefetch:m,broadcastSessionUpdate:h}}function vX(e,t){const a=Il(!1),o=fd(a,"/get-session",e,{method:"GET"});return kB(o,()=>{const n=fX({sessionAtom:o,sessionSignal:a,$fetch:e,options:t});return n.init(),()=>{n.cleanup()}}),{session:o,$sessionSignal:a}}function IS(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Bx(e,t,a=".",o){if(!IS(t))return Bx(e,{},a,o);const n={...t};for(const r of Object.keys(e)){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(o&&o(n,r,i,a)||(Array.isArray(i)&&Array.isArray(n[r])?n[r]=[...i,...n[r]]:IS(i)&&IS(n[r])?n[r]=Bx(i,n[r],(a?`${a}.`:"")+r.toString(),o):n[r]=i))}return n}function bX(e){return(...t)=>t.reduce((a,o)=>Bx(a,o,"",e),{})}const yX=bX();var wX=Object.defineProperty,SX=Object.defineProperties,TX=Object.getOwnPropertyDescriptors,hO=Object.getOwnPropertySymbols,xX=Object.prototype.hasOwnProperty,kX=Object.prototype.propertyIsEnumerable,gO=(e,t,a)=>t in e?wX(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Sr=(e,t)=>{for(var a in t||(t={}))xX.call(t,a)&&gO(e,a,t[a]);if(hO)for(var a of hO(t))kX.call(t,a)&&gO(e,a,t[a]);return e},$r=(e,t)=>SX(e,TX(t)),EX=class extends Error{constructor(e,t,a){super(t||e.toString(),{cause:a}),this.status=e,this.statusText=t,this.error=a,Error.captureStackTrace(this,this.constructor)}},CX=async(e,t)=>{var a,o,n,r,i,c;let d=t||{};const u={onRequest:[t?.onRequest],onResponse:[t?.onResponse],onSuccess:[t?.onSuccess],onError:[t?.onError],onRetry:[t?.onRetry]};if(!t||!t?.plugins)return{url:e,options:d,hooks:u};for(const m of t?.plugins||[]){if(m.init){const h=await((a=m.init)==null?void 0:a.call(m,e.toString(),t));d=h.options||d,e=h.url}u.onRequest.push((o=m.hooks)==null?void 0:o.onRequest),u.onResponse.push((n=m.hooks)==null?void 0:n.onResponse),u.onSuccess.push((r=m.hooks)==null?void 0:r.onSuccess),u.onError.push((i=m.hooks)==null?void 0:i.onError),u.onRetry.push((c=m.hooks)==null?void 0:c.onRetry)}return{url:e,options:d,hooks:u}},fO=class{constructor(e){this.options=e}shouldAttemptRetry(e,t){return this.options.shouldRetry?Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(t)):Promise.resolve(e<this.options.attempts)}getDelay(){return this.options.delay}},PX=class{constructor(e){this.options=e}shouldAttemptRetry(e,t){return this.options.shouldRetry?Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(t)):Promise.resolve(e<this.options.attempts)}getDelay(e){return Math.min(this.options.maxDelay,this.options.baseDelay*2**e)}};function _X(e){if(typeof e=="number")return new fO({type:"linear",attempts:e,delay:1e3});switch(e.type){case"linear":return new fO(e);case"exponential":return new PX(e);default:throw new Error("Invalid retry strategy")}}var AX=async e=>{const t={},a=async o=>typeof o=="function"?await o():o;if(e?.auth){if(e.auth.type==="Bearer"){const o=await a(e.auth.token);if(!o)return t;t.authorization=`Bearer ${o}`}else if(e.auth.type==="Basic"){const[o,n]=await Promise.all([a(e.auth.username),a(e.auth.password)]);if(!o||!n)return t;t.authorization=`Basic ${btoa(`${o}:${n}`)}`}else if(e.auth.type==="Custom"){const[o,n]=await Promise.all([a(e.auth.prefix),a(e.auth.value)]);if(!n)return t;t.authorization=`${o??""} ${n}`}}return t},RX=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function DX(e){const t=e.headers.get("content-type"),a=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!t)return"json";const o=t.split(";").shift()||"";return RX.test(o)?"json":a.has(o)||o.startsWith("text/")?"text":"blob"}function OX(e){try{return JSON.parse(e),!0}catch{return!1}}function Fx(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}function vO(e){try{return JSON.parse(e)}catch{return e}}function bO(e){return typeof e=="function"}function NX(e){if(e?.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&bO(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&bO(window.fetch))return window.fetch;throw new Error("No fetch implementation found")}async function MX(e){const t=new Headers(e?.headers),a=await AX(e);for(const[o,n]of Object.entries(a||{}))t.set(o,n);if(!t.has("content-type")){const o=IX(e?.body);o&&t.set("content-type",o)}return t}function IX(e){return Fx(e)?"application/json":null}function LX(e){if(!e?.body)return null;const t=new Headers(e?.headers);if(Fx(e.body)&&!t.has("content-type")){for(const[a,o]of Object.entries(e?.body))o instanceof Date&&(e.body[a]=o.toISOString());return JSON.stringify(e.body)}return t.has("content-type")&&t.get("content-type")==="application/x-www-form-urlencoded"&&Fx(e.body)?new URLSearchParams(e.body).toString():e.body}function BX(e,t){var a;if(t?.method)return t.method.toUpperCase();if(e.startsWith("@")){const o=(a=e.split("@")[1])==null?void 0:a.split("/")[0];return CB.includes(o)?o.toUpperCase():t?.body?"POST":"GET"}return t?.body?"POST":"GET"}function FX(e,t){let a;return!e?.signal&&e?.timeout&&(a=setTimeout(()=>t?.abort(),e?.timeout)),{abortTimeout:a,clearTimeout:()=>{a&&clearTimeout(a)}}}var jX=class EB extends Error{constructor(t,a){super(a||JSON.stringify(t,null,2)),this.issues=t,Object.setPrototypeOf(this,EB.prototype)}};async function Sf(e,t){const a=await e["~standard"].validate(t);if(a.issues)throw new jX(a.issues);return a.value}var CB=["get","post","put","patch","delete"],zX=e=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(t,a){var o,n,r,i;const c=((n=(o=e.plugins)==null?void 0:o.find(d=>{var u;return(u=d.schema)!=null&&u.config?t.startsWith(d.schema.config.baseURL||"")||t.startsWith(d.schema.config.prefix||""):!1}))==null?void 0:n.schema)||e.schema;if(c){let d=t;(r=c.config)!=null&&r.prefix&&d.startsWith(c.config.prefix)&&(d=d.replace(c.config.prefix,""),c.config.baseURL&&(t=t.replace(c.config.prefix,c.config.baseURL))),(i=c.config)!=null&&i.baseURL&&d.startsWith(c.config.baseURL)&&(d=d.replace(c.config.baseURL,""));const u=c.schema[d];if(u){let m=$r(Sr({},a),{method:u.method,output:u.output});return a?.disableValidation||(m=$r(Sr({},m),{body:u.input?await Sf(u.input,a?.body):a?.body,params:u.params?await Sf(u.params,a?.params):a?.params,query:u.query?await Sf(u.query,a?.query):a?.query})),{url:t,options:m}}}return{url:t,options:a}}}),qX=e=>{async function t(a,o){const n=$r(Sr(Sr({},e),o),{plugins:[...e?.plugins||[],zX(e||{}),...o?.plugins||[]]});if(e?.catchAllError)try{return await jx(a,n)}catch(r){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:r}}}return await jx(a,n)}return t};function UX(e,t){const{baseURL:a,params:o,query:n}=t||{query:{},params:{},baseURL:""};let r=e.startsWith("http")?e.split("/").slice(0,3).join("/"):a||"";if(e.startsWith("@")){const h=e.toString().split("@")[1].split("/")[0];CB.includes(h)&&(e=e.replace(`@${h}/`,"/"))}r.endsWith("/")||(r+="/");let[i,c]=e.replace(r,"").split("?");const d=new URLSearchParams(c);for(const[h,f]of Object.entries(n||{})){if(f==null)continue;let v;if(typeof f=="string")v=f;else if(Array.isArray(f)){for(const b of f)d.append(h,b);continue}else v=JSON.stringify(f);d.set(h,v)}if(o)if(Array.isArray(o)){const h=i.split("/").filter(f=>f.startsWith(":"));for(const[f,v]of h.entries()){const b=o[f];i=i.replace(v,b)}}else for(const[h,f]of Object.entries(o))i=i.replace(`:${h}`,String(f));i=i.split("/").map(encodeURIComponent).join("/"),i.startsWith("/")&&(i=i.slice(1));let u=d.toString();return u=u.length>0?`?${u}`.replace(/\+/g,"%20"):"",r.startsWith("http")?new URL(`${i}${u}`,r):`${r}${i}${u}`}var jx=async(e,t)=>{var a,o,n,r,i,c,d,u;const{hooks:m,url:h,options:f}=await CX(e,t),v=NX(f),b=new AbortController,w=(a=f.signal)!=null?a:b.signal,x=UX(h,f),T=LX(f),k=await MX(f),C=BX(h,f);let E=$r(Sr({},f),{url:x,headers:k,body:T,method:C,signal:w});for(const F of m.onRequest)if(F){const W=await F(E);typeof W=="object"&&W!==null&&(E=W)}("pipeTo"in E&&typeof E.pipeTo=="function"||typeof((o=t?.body)==null?void 0:o.pipe)=="function")&&("duplex"in E||(E.duplex="half"));const{clearTimeout:_}=FX(f,b);let D=await v(E.url,E);_();const R={response:D,request:E};for(const F of m.onResponse)if(F){const W=await F($r(Sr({},R),{response:(n=t?.hookOptions)!=null&&n.cloneResponse?D.clone():D}));W instanceof Response?D=W:typeof W=="object"&&W!==null&&(D=W.response)}if(D.ok){if(!(E.method!=="HEAD"))return{data:"",error:null};const W=DX(D),ae={data:null,response:D,request:E};if(W==="json"||W==="text"){const H=await D.text(),K=(r=E.jsonParser)!=null?r:vO;ae.data=await K(H)}else ae.data=await D[W]();E?.output&&E.output&&!E.disableValidation&&(ae.data=await Sf(E.output,ae.data));for(const H of m.onSuccess)H&&await H($r(Sr({},ae),{response:(i=t?.hookOptions)!=null&&i.cloneResponse?D.clone():D}));return t?.throw?ae.data:{data:ae.data,error:null}}const O=(c=t?.jsonParser)!=null?c:vO,L=await D.text(),U=OX(L),B=U?await O(L):null,z={response:D,responseText:L,request:E,error:$r(Sr({},B),{status:D.status,statusText:D.statusText})};for(const F of m.onError)F&&await F($r(Sr({},z),{response:(d=t?.hookOptions)!=null&&d.cloneResponse?D.clone():D}));if(t?.retry){const F=_X(t.retry),W=(u=t.retryAttempt)!=null?u:0;if(await F.shouldAttemptRetry(W,D)){for(const H of m.onRetry)H&&await H(R);const ae=F.getDelay(W);return await new Promise(H=>setTimeout(H,ae)),await jx(e,$r(Sr({},t),{retryAttempt:W+1}))}}if(t?.throw)throw new EX(D.status,D.statusText,U?B:L);return{data:null,error:$r(Sr({},B),{status:D.status,statusText:D.statusText})}};const $X=(e,t)=>{const a="credentials"in Request.prototype,o=QJ(e?.baseURL,e?.basePath)??"/api/auth",n=e?.plugins?.flatMap(E=>E.fetchPlugins).filter(E=>E!==void 0)||[],r={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:i,onError:c,onRequest:d,onResponse:u,...m}=e?.fetchOptions||{},h=qX({baseURL:o,...a?{credentials:"include"}:{},method:"GET",jsonParser(E){return E?nX(E,{strict:!1}):null},customFetchImpl:fetch,...m,plugins:[r,...m.plugins||[],...e?.disableDefaultFetchPlugins?[]:[ZJ],...n]}),{$sessionSignal:f,session:v}=vX(h,e),b=e?.plugins||[];let w={};const x={$sessionSignal:f,session:v},T={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},k=[{signal:"$sessionSignal",matcher(E){return E==="/sign-out"||E==="/update-user"||E==="/sign-up/email"||E==="/sign-in/email"||E==="/delete-user"||E==="/verify-email"||E==="/revoke-sessions"||E==="/revoke-session"||E==="/change-email"}}];for(const E of b)E.getAtoms&&Object.assign(x,E.getAtoms?.(h)),E.pathMethods&&Object.assign(T,E.pathMethods),E.atomListeners&&k.push(...E.atomListeners);const C={notify:E=>{x[E].set(!x[E].get())},listen:(E,_)=>{x[E].subscribe(_)},atoms:x};for(const E of b)E.getActions&&(w=yX(E.getActions?.(h,C,e)??{},w));return{get baseURL(){return o},pluginsActions:w,pluginsAtoms:x,pluginPathMethods:T,atomListeners:k,$fetch:h,$store:C}};function VX(e){return typeof e=="object"&&e!==null&&"get"in e&&typeof e.get=="function"&&"lc"in e&&typeof e.lc=="number"}function HX(e,t,a){const o=t[e],{fetchOptions:n,query:r,...i}=a||{};return o||(n?.method?n.method:i&&Object.keys(i).length>0?"POST":"GET")}function GX(e,t,a,o,n){function r(i=[]){return new Proxy(function(){},{get(c,d){if(typeof d!="string"||d==="then"||d==="catch"||d==="finally")return;const u=[...i,d];let m=e;for(const h of u)if(m&&typeof m=="object"&&h in m)m=m[h];else{m=void 0;break}return typeof m=="function"||VX(m)?m:r(u)},apply:async(c,d,u)=>{const m="/"+i.map(k=>k.replace(/[A-Z]/g,C=>`-${C.toLowerCase()}`)).join("/"),h=u[0]||{},f=u[1]||{},{query:v,fetchOptions:b,...w}=h,x={...f,...b},T=HX(m,a,h);return await t(m,{...x,body:T==="GET"?void 0:{...w,...x?.body||{}},query:v||x?.query,method:T,async onSuccess(k){if(await x?.onSuccess?.(k),!n||x.disableSignal)return;const C=n.filter(_=>_.matcher(m));if(!C.length)return;const E=new Set;for(const _ of C){const D=o[_.signal];if(!D)return;if(E.has(_.signal))continue;E.add(_.signal);const R=D.get();setTimeout(()=>{D.set(!R)},10)}}})}})}return r()}function WX(e,t={}){const a=A.useRef(e.get()),{keys:o,deps:n=[e,o]}=t,r=A.useCallback(c=>{const d=u=>{a.current!==u&&(a.current=u,c())};return d(e.value),o?.length?cX(e,o,d):e.listen(d)},n),i=()=>a.current;return A.useSyncExternalStore(r,i,i)}function KX(e){return`use${WJ(e)}`}function YX(e){const{pluginPathMethods:t,pluginsActions:a,pluginsAtoms:o,$fetch:n,$store:r,atomListeners:i}=$X(e),c={};for(const[d,u]of Object.entries(o))c[KX(d)]=()=>WX(u);return GX({...a,...c,$fetch:n,$store:r},n,t,o,i)}function QX(e){return{authorize(t,a="AND"){let o=!1;for(const[n,r]of Object.entries(t)){const i=e[n];if(!i)return{success:!1,error:`You are not allowed to access resource: ${n}`};if(Array.isArray(r))o=r.every(c=>i.includes(c));else if(typeof r=="object"){const c=r;c.connector==="OR"?o=c.actions.some(d=>i.includes(d)):o=c.actions.every(d=>i.includes(d))}else throw new Cp("Invalid access control request");if(o&&a==="OR")return{success:o};if(!o&&a==="AND")return{success:!1,error:`unauthorized to access resource "${n}"`}}return o?{success:o}:{success:!1,error:"Not authorized"}},statements:e}}function PB(e){return{newRole(t){return QX(t)},statements:e}}const ZX={user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]},_B=PB(ZX),AB=_B.newRole({user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]}),RB=_B.newRole({user:[],session:[]}),JX={admin:AB,user:RB},XX=e=>{if(e.userId&&e.options?.adminUserIds?.includes(e.userId))return!0;if(!e.permissions&&!e.permission)return!1;const t=(e.role||e.options?.defaultRole||"user").split(","),a=e.options?.roles||JX;for(const o of t)if(a[o]?.authorize(e.permission??e.permissions)?.success)return!0;return!1},eee=e=>{const t={admin:AB,user:RB,...e?.roles};return{id:"admin-client",$InferServerPlugin:{},getActions:()=>({admin:{checkRolePermission:a=>XX({role:a.role,options:{ac:e?.ac,roles:t},permissions:a.permissions??a.permission})}}),pathMethods:{"/admin/list-users":"GET","/admin/stop-impersonating":"POST"}}},tee=()=>({id:"email-otp",$InferServerPlugin:{},atomListeners:[{matcher:e=>e==="/email-otp/verify-email"||e==="/sign-in/email-otp",signal:"$sessionSignal"}]}),aee=()=>({id:"magic-link",$InferServerPlugin:{}}),oee={organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]},tE=PB(oee),DB=tE.newRole({organization:["update"],invitation:["create","cancel"],member:["create","update","delete"],team:["create","update","delete"],ac:["create","read","update","delete"]}),OB=tE.newRole({organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]}),NB=tE.newRole({organization:[],member:[],invitation:[],team:[],ac:["read"]}),nee={admin:DB,owner:OB,member:NB},ree=(e,t)=>{if(!e.permissions&&!e.permission)return!1;const a=e.role.split(","),o=e.options.creatorRole||"owner",n=a.includes(o),r=e.allowCreatorAllPermissions||!1;if(n&&r)return!0;for(const i of a)if(t[i]?.authorize(e.permissions??e.permission)?.success)return!0;return!1},see=e=>ree(e,e.options.roles||nee),iee=e=>{const t=Il(!1),a=Il(!1),o=Il(!1),n=Il(!1),r={admin:DB,member:NB,owner:OB,...e?.roles};return{id:"organization",$InferServerPlugin:{},getActions:(i,c,d)=>({$Infer:{ActiveOrganization:{},Organization:{},Invitation:{},Member:{},Team:{}},organization:{checkRolePermission:u=>see({role:u.role,options:{ac:e?.ac,roles:r},permissions:u.permissions??u.permission})}}),getAtoms:i=>{const c=fd(t,"/organization/list",i,{method:"GET"});return{$listOrg:t,$activeOrgSignal:a,$activeMemberSignal:o,$activeMemberRoleSignal:n,activeOrganization:fd([a],"/organization/get-full-organization",i,()=>({method:"GET"})),listOrganizations:c,activeMember:fd([o],"/organization/get-active-member",i,{method:"GET"}),activeMemberRole:fd([n],"/organization/get-active-member-role",i,{method:"GET"})}},pathMethods:{"/organization/get-full-organization":"GET","/organization/list-user-teams":"GET"},atomListeners:[{matcher(i){return i==="/organization/create"||i==="/organization/delete"||i==="/organization/update"},signal:"$listOrg"},{matcher(i){return i.startsWith("/organization")},signal:"$activeOrgSignal"},{matcher(i){return i.startsWith("/organization/set-active")},signal:"$sessionSignal"},{matcher(i){return i.includes("/organization/update-member-role")},signal:"$activeMemberSignal"},{matcher(i){return i.includes("/organization/update-member-role")},signal:"$activeMemberRoleSignal"}]}},lee="1.6.11",cee=e=>({id:"sso-client",version:lee,$InferServerPlugin:{},pathMethods:{"/sso/providers":"GET","/sso/get-provider":"GET"}});function Kr(e){const t=new Uint8Array(e);let a="";for(const n of t)a+=String.fromCharCode(n);return btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function av(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),a=(4-t.length%4)%4,o=t.padEnd(t.length+a,"="),n=atob(o),r=new ArrayBuffer(n.length),i=new Uint8Array(r);for(let c=0;c<n.length;c++)i[c]=n.charCodeAt(c);return r}function aE(){return dee.stubThis(globalThis?.PublicKeyCredential!==void 0&&typeof globalThis.PublicKeyCredential=="function")}const dee={stubThis:e=>e};function MB(e){const{id:t}=e;return{...e,id:av(t),transports:e.transports}}function IB(e){return e==="localhost"||/^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(e)}class ho extends Error{constructor({message:t,code:a,cause:o,name:n}){super(t,{cause:o}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=n??o.name,this.code=a}}function uee({error:e,options:t}){const{publicKey:a}=t;if(!a)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new ho({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(a.authenticatorSelection?.requireResidentKey===!0)return new ho({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&a.authenticatorSelection?.userVerification==="required")return new ho({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(a.authenticatorSelection?.userVerification==="required")return new ho({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new ho({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new ho({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return a.pubKeyCredParams.filter(n=>n.type==="public-key").length===0?new ho({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new ho({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const o=globalThis.location.hostname;if(IB(o)){if(a.rp.id!==o)return new ho({message:`The RP ID "${a.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new ho({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(a.user.id.byteLength<1||a.user.id.byteLength>64)return new ho({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new ho({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}class pee{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){const a=new Error("Cancelling existing WebAuthn API call for new one");a.name="AbortError",this.controller.abort(a)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const LB=new pee,mee=["cross-platform","platform"];function BB(e){if(e&&!(mee.indexOf(e)<0))return e}async function hee(e){!e.optionsJSON&&e.challenge&&(console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:t,useAutoRegister:a=!1}=e;if(!aE())throw new Error("WebAuthn is not supported in this browser");const o={...t,challenge:av(t.challenge),user:{...t.user,id:av(t.user.id)},excludeCredentials:t.excludeCredentials?.map(MB)},n={};a&&(n.mediation="conditional"),n.publicKey=o,n.signal=LB.createNewAbortSignal();let r;try{r=await navigator.credentials.create(n)}catch(b){throw uee({error:b,options:n})}if(!r)throw new Error("Registration was not completed");const{id:i,rawId:c,response:d,type:u}=r;let m;typeof d.getTransports=="function"&&(m=d.getTransports());let h;if(typeof d.getPublicKeyAlgorithm=="function")try{h=d.getPublicKeyAlgorithm()}catch(b){LS("getPublicKeyAlgorithm()",b)}let f;if(typeof d.getPublicKey=="function")try{const b=d.getPublicKey();b!==null&&(f=Kr(b))}catch(b){LS("getPublicKey()",b)}let v;if(typeof d.getAuthenticatorData=="function")try{v=Kr(d.getAuthenticatorData())}catch(b){LS("getAuthenticatorData()",b)}return{id:i,rawId:Kr(c),response:{attestationObject:Kr(d.attestationObject),clientDataJSON:Kr(d.clientDataJSON),transports:m,publicKeyAlgorithm:h,publicKey:f,authenticatorData:v},type:u,clientExtensionResults:r.getClientExtensionResults(),authenticatorAttachment:BB(r.authenticatorAttachment)}}function LS(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
|
|
55
|
+
deps: ${m}}`};const n={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[u,m]=r(d);i(d,u),c(d,m)}};function r({schema:d}){const u={},m={};for(const h in d){if(h==="__proto__")continue;const f=Array.isArray(d[h])?u:m;f[h]=d[h]}return[u,m]}function i(d,u=d.schema){const{gen:m,data:h,it:f}=d;if(Object.keys(u).length===0)return;const v=m.let("missing");for(const b in u){const w=u[b];if(w.length===0)continue;const x=(0,o.propertyInData)(m,h,b,f.opts.ownProperties);d.setParams({property:b,depsCount:w.length,deps:w.join(", ")}),f.allErrors?m.if(x,()=>{for(const T of w)(0,o.checkReportMissingProp)(d,T)}):(m.if((0,t._)`${x} && (${(0,o.checkMissingProp)(d,w,v)})`),(0,o.reportMissingProp)(d,v),m.else())}}e.validatePropertyDeps=i;function c(d,u=d.schema){const{gen:m,data:h,keyword:f,it:v}=d,b=m.name("valid");for(const w in u)(0,a.alwaysValidSchema)(v,u[w])||(m.if((0,o.propertyInData)(m,h,w,v.opts.ownProperties),()=>{const x=d.subschema({keyword:f,schemaProp:w},b);d.mergeValidEvaluated(x,b)},()=>m.var(b,!0)),d.ok(b))}e.validateSchemaDeps=c,e.default=n})(CS)),CS}var Eg={},qD;function _Z(){if(qD)return Eg;qD=1,Object.defineProperty(Eg,"__esModule",{value:!0});const e=yt(),t=Ft(),o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:n})=>(0,e._)`{propertyName: ${n.propertyName}}`},code(n){const{gen:r,schema:i,data:c,it:d}=n;if((0,t.alwaysValidSchema)(d,i))return;const u=r.name("valid");r.forIn("key",c,m=>{n.setParams({propertyName:m}),n.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},u),r.if((0,e.not)(u),()=>{n.error(!0),d.allErrors||r.break()})}),n.ok(u)}};return Eg.default=o,Eg}var Cg={},UD;function pB(){if(UD)return Cg;UD=1,Object.defineProperty(Cg,"__esModule",{value:!0});const e=Or(),t=yt(),a=Ji(),o=Ft(),r={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:i})=>(0,t._)`{additionalProperty: ${i.additionalProperty}}`},code(i){const{gen:c,schema:d,parentSchema:u,data:m,errsCount:h,it:f}=i;if(!h)throw new Error("ajv implementation error");const{allErrors:v,opts:b}=f;if(f.props=!0,b.removeAdditional!=="all"&&(0,o.alwaysValidSchema)(f,d))return;const w=(0,e.allSchemaProperties)(u.properties),x=(0,e.allSchemaProperties)(u.patternProperties);T(),i.ok((0,t._)`${h} === ${a.default.errors}`);function T(){c.forIn("key",m,D=>{!w.length&&!x.length?E(D):c.if(k(D),()=>E(D))})}function k(D){let R;if(w.length>8){const O=(0,o.schemaRefOrVal)(f,u.properties,"properties");R=(0,e.isOwnProperty)(c,O,D)}else w.length?R=(0,t.or)(...w.map(O=>(0,t._)`${D} === ${O}`)):R=t.nil;return x.length&&(R=(0,t.or)(R,...x.map(O=>(0,t._)`${(0,e.usePattern)(i,O)}.test(${D})`))),(0,t.not)(R)}function C(D){c.code((0,t._)`delete ${m}[${D}]`)}function E(D){if(b.removeAdditional==="all"||b.removeAdditional&&d===!1){C(D);return}if(d===!1){i.setParams({additionalProperty:D}),i.error(),v||c.break();return}if(typeof d=="object"&&!(0,o.alwaysValidSchema)(f,d)){const R=c.name("valid");b.removeAdditional==="failing"?(_(D,R,!1),c.if((0,t.not)(R),()=>{i.reset(),C(D)})):(_(D,R),v||c.if((0,t.not)(R),()=>c.break()))}}function _(D,R,O){const L={keyword:"additionalProperties",dataProp:D,dataPropType:o.Type.Str};O===!1&&Object.assign(L,{compositeRule:!0,createErrors:!1,allErrors:!1}),i.subschema(L,R)}}};return Cg.default=r,Cg}var Pg={},$D;function AZ(){if($D)return Pg;$D=1,Object.defineProperty(Pg,"__esModule",{value:!0});const e=sb(),t=Or(),a=Ft(),o=pB(),n={keyword:"properties",type:"object",schemaType:"object",code(r){const{gen:i,schema:c,parentSchema:d,data:u,it:m}=r;m.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&o.default.code(new e.KeywordCxt(m,o.default,"additionalProperties"));const h=(0,t.allSchemaProperties)(c);for(const x of h)m.definedProperties.add(x);m.opts.unevaluated&&h.length&&m.props!==!0&&(m.props=a.mergeEvaluated.props(i,(0,a.toHash)(h),m.props));const f=h.filter(x=>!(0,a.alwaysValidSchema)(m,c[x]));if(f.length===0)return;const v=i.name("valid");for(const x of f)b(x)?w(x):(i.if((0,t.propertyInData)(i,u,x,m.opts.ownProperties)),w(x),m.allErrors||i.else().var(v,!0),i.endIf()),r.it.definedProperties.add(x),r.ok(v);function b(x){return m.opts.useDefaults&&!m.compositeRule&&c[x].default!==void 0}function w(x){r.subschema({keyword:"properties",schemaProp:x,dataProp:x},v)}}};return Pg.default=n,Pg}var _g={},VD;function RZ(){if(VD)return _g;VD=1,Object.defineProperty(_g,"__esModule",{value:!0});const e=Or(),t=yt(),a=Ft(),o=Ft(),n={keyword:"patternProperties",type:"object",schemaType:"object",code(r){const{gen:i,schema:c,data:d,parentSchema:u,it:m}=r,{opts:h}=m,f=(0,e.allSchemaProperties)(c),v=f.filter(E=>(0,a.alwaysValidSchema)(m,c[E]));if(f.length===0||v.length===f.length&&(!m.opts.unevaluated||m.props===!0))return;const b=h.strictSchema&&!h.allowMatchingProperties&&u.properties,w=i.name("valid");m.props!==!0&&!(m.props instanceof t.Name)&&(m.props=(0,o.evaluatedPropsToName)(i,m.props));const{props:x}=m;T();function T(){for(const E of f)b&&k(E),m.allErrors?C(E):(i.var(w,!0),C(E),i.if(w))}function k(E){for(const _ in b)new RegExp(E).test(_)&&(0,a.checkStrictMode)(m,`property ${_} matches pattern ${E} (use allowMatchingProperties)`)}function C(E){i.forIn("key",d,_=>{i.if((0,t._)`${(0,e.usePattern)(r,E)}.test(${_})`,()=>{const D=v.includes(E);D||r.subschema({keyword:"patternProperties",schemaProp:E,dataProp:_,dataPropType:o.Type.Str},w),m.opts.unevaluated&&x!==!0?i.assign((0,t._)`${x}[${_}]`,!0):!D&&!m.allErrors&&i.if((0,t.not)(w),()=>i.break())})})}}};return _g.default=n,_g}var Ag={},HD;function DZ(){if(HD)return Ag;HD=1,Object.defineProperty(Ag,"__esModule",{value:!0});const e=Ft(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(a){const{gen:o,schema:n,it:r}=a;if((0,e.alwaysValidSchema)(r,n)){a.fail();return}const i=o.name("valid");a.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),a.failResult(i,()=>a.reset(),()=>a.error())},error:{message:"must NOT be valid"}};return Ag.default=t,Ag}var Rg={},GD;function OZ(){if(GD)return Rg;GD=1,Object.defineProperty(Rg,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Or().validateUnion,error:{message:"must match a schema in anyOf"}};return Rg.default=t,Rg}var Dg={},WD;function NZ(){if(WD)return Dg;WD=1,Object.defineProperty(Dg,"__esModule",{value:!0});const e=yt(),t=Ft(),o={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:n})=>(0,e._)`{passingSchemas: ${n.passing}}`},code(n){const{gen:r,schema:i,parentSchema:c,it:d}=n;if(!Array.isArray(i))throw new Error("ajv implementation error");if(d.opts.discriminator&&c.discriminator)return;const u=i,m=r.let("valid",!1),h=r.let("passing",null),f=r.name("_valid");n.setParams({passing:h}),r.block(v),n.result(m,()=>n.reset(),()=>n.error(!0));function v(){u.forEach((b,w)=>{let x;(0,t.alwaysValidSchema)(d,b)?r.var(f,!0):x=n.subschema({keyword:"oneOf",schemaProp:w,compositeRule:!0},f),w>0&&r.if((0,e._)`${f} && ${m}`).assign(m,!1).assign(h,(0,e._)`[${h}, ${w}]`).else(),r.if(f,()=>{r.assign(m,!0),r.assign(h,w),x&&n.mergeEvaluated(x,e.Name)})})}}};return Dg.default=o,Dg}var Og={},KD;function MZ(){if(KD)return Og;KD=1,Object.defineProperty(Og,"__esModule",{value:!0});const e=Ft(),t={keyword:"allOf",schemaType:"array",code(a){const{gen:o,schema:n,it:r}=a;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=o.name("valid");n.forEach((c,d)=>{if((0,e.alwaysValidSchema)(r,c))return;const u=a.subschema({keyword:"allOf",schemaProp:d},i);a.ok(i),a.mergeEvaluated(u)})}};return Og.default=t,Og}var Ng={},YD;function IZ(){if(YD)return Ng;YD=1,Object.defineProperty(Ng,"__esModule",{value:!0});const e=yt(),t=Ft(),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:r})=>(0,e.str)`must match "${r.ifClause}" schema`,params:({params:r})=>(0,e._)`{failingKeyword: ${r.ifClause}}`},code(r){const{gen:i,parentSchema:c,it:d}=r;c.then===void 0&&c.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const u=n(d,"then"),m=n(d,"else");if(!u&&!m)return;const h=i.let("valid",!0),f=i.name("_valid");if(v(),r.reset(),u&&m){const w=i.let("ifClause");r.setParams({ifClause:w}),i.if(f,b("then",w),b("else",w))}else u?i.if(f,b("then")):i.if((0,e.not)(f),b("else"));r.pass(h,()=>r.error(!0));function v(){const w=r.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);r.mergeEvaluated(w)}function b(w,x){return()=>{const T=r.subschema({keyword:w},f);i.assign(h,f),r.mergeValidEvaluated(T,h),x?i.assign(x,(0,e._)`${w}`):r.setParams({ifClause:w})}}}};function n(r,i){const c=r.schema[i];return c!==void 0&&!(0,t.alwaysValidSchema)(r,c)}return Ng.default=o,Ng}var Mg={},QD;function LZ(){if(QD)return Mg;QD=1,Object.defineProperty(Mg,"__esModule",{value:!0});const e=Ft(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:a,parentSchema:o,it:n}){o.if===void 0&&(0,e.checkStrictMode)(n,`"${a}" without "if" is ignored`)}};return Mg.default=t,Mg}var ZD;function BZ(){if(ZD)return Sg;ZD=1,Object.defineProperty(Sg,"__esModule",{value:!0});const e=dB(),t=kZ(),a=uB(),o=EZ(),n=CZ(),r=PZ(),i=_Z(),c=pB(),d=AZ(),u=RZ(),m=DZ(),h=OZ(),f=NZ(),v=MZ(),b=IZ(),w=LZ();function x(T=!1){const k=[m.default,h.default,f.default,v.default,b.default,w.default,i.default,c.default,r.default,d.default,u.default];return T?k.push(t.default,o.default):k.push(e.default,a.default),k.push(n.default),k}return Sg.default=x,Sg}var Ig={},Lg={},JD;function FZ(){if(JD)return Lg;JD=1,Object.defineProperty(Lg,"__esModule",{value:!0});const e=yt(),a={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:o})=>(0,e.str)`must match format "${o}"`,params:({schemaCode:o})=>(0,e._)`{format: ${o}}`},code(o,n){const{gen:r,data:i,$data:c,schema:d,schemaCode:u,it:m}=o,{opts:h,errSchemaPath:f,schemaEnv:v,self:b}=m;if(!h.validateFormats)return;c?w():x();function w(){const T=r.scopeValue("formats",{ref:b.formats,code:h.code.formats}),k=r.const("fDef",(0,e._)`${T}[${u}]`),C=r.let("fType"),E=r.let("format");r.if((0,e._)`typeof ${k} == "object" && !(${k} instanceof RegExp)`,()=>r.assign(C,(0,e._)`${k}.type || "string"`).assign(E,(0,e._)`${k}.validate`),()=>r.assign(C,(0,e._)`"string"`).assign(E,k)),o.fail$data((0,e.or)(_(),D()));function _(){return h.strictSchema===!1?e.nil:(0,e._)`${u} && !${E}`}function D(){const R=v.$async?(0,e._)`(${k}.async ? await ${E}(${i}) : ${E}(${i}))`:(0,e._)`${E}(${i})`,O=(0,e._)`(typeof ${E} == "function" ? ${R} : ${E}.test(${i}))`;return(0,e._)`${E} && ${E} !== true && ${C} === ${n} && !${O}`}}function x(){const T=b.formats[d];if(!T){_();return}if(T===!0)return;const[k,C,E]=D(T);k===n&&o.pass(R());function _(){if(h.strictSchema===!1){b.logger.warn(O());return}throw new Error(O());function O(){return`unknown format "${d}" ignored in schema at path "${f}"`}}function D(O){const L=O instanceof RegExp?(0,e.regexpCode)(O):h.code.formats?(0,e._)`${h.code.formats}${(0,e.getProperty)(d)}`:void 0,U=r.scopeValue("formats",{key:d,ref:O,code:L});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,e._)`${U}.validate`]:["string",O,U]}function R(){if(typeof T=="object"&&!(T instanceof RegExp)&&T.async){if(!v.$async)throw new Error("async format in sync schema");return(0,e._)`await ${E}(${i})`}return typeof C=="function"?(0,e._)`${E}(${i})`:(0,e._)`${E}.test(${i})`}}}};return Lg.default=a,Lg}var XD;function jZ(){if(XD)return Ig;XD=1,Object.defineProperty(Ig,"__esModule",{value:!0});const t=[FZ().default];return Ig.default=t,Ig}var Tl={},eO;function zZ(){return eO||(eO=1,Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.contentVocabulary=Tl.metadataVocabulary=void 0,Tl.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Tl.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Tl}var tO;function qZ(){if(tO)return rg;tO=1,Object.defineProperty(rg,"__esModule",{value:!0});const e=uZ(),t=xZ(),a=BZ(),o=jZ(),n=zZ(),r=[e.default,t.default,(0,a.default)(),o.default,n.metadataVocabulary,n.contentVocabulary];return rg.default=r,rg}var Bg={},Ju={},aO;function UZ(){if(aO)return Ju;aO=1,Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(Ju.DiscrError=e={})),Ju}var oO;function $Z(){if(oO)return Bg;oO=1,Object.defineProperty(Bg,"__esModule",{value:!0});const e=yt(),t=UZ(),a=Yk(),o=ib(),n=Ft(),i={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:c,tagName:d}})=>c===t.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:c,tag:d,tagName:u}})=>(0,e._)`{error: ${c}, tag: ${u}, tagValue: ${d}}`},code(c){const{gen:d,data:u,schema:m,parentSchema:h,it:f}=c,{oneOf:v}=h;if(!f.opts.discriminator)throw new Error("discriminator: requires discriminator option");const b=m.propertyName;if(typeof b!="string")throw new Error("discriminator: requires propertyName");if(m.mapping)throw new Error("discriminator: mapping is not supported");if(!v)throw new Error("discriminator: requires oneOf keyword");const w=d.let("valid",!1),x=d.const("tag",(0,e._)`${u}${(0,e.getProperty)(b)}`);d.if((0,e._)`typeof ${x} == "string"`,()=>T(),()=>c.error(!1,{discrError:t.DiscrError.Tag,tag:x,tagName:b})),c.ok(w);function T(){const E=C();d.if(!1);for(const _ in E)d.elseIf((0,e._)`${x} === ${_}`),d.assign(w,k(E[_]));d.else(),c.error(!1,{discrError:t.DiscrError.Mapping,tag:x,tagName:b}),d.endIf()}function k(E){const _=d.name("valid"),D=c.subschema({keyword:"oneOf",schemaProp:E},_);return c.mergeEvaluated(D,e.Name),_}function C(){var E;const _={},D=O(h);let R=!0;for(let B=0;B<v.length;B++){let z=v[B];if(z?.$ref&&!(0,n.schemaHasRulesButRef)(z,f.self.RULES)){const W=z.$ref;if(z=a.resolveRef.call(f.self,f.schemaEnv.root,f.baseId,W),z instanceof a.SchemaEnv&&(z=z.schema),z===void 0)throw new o.default(f.opts.uriResolver,f.baseId,W)}const F=(E=z?.properties)===null||E===void 0?void 0:E[b];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${b}"`);R=R&&(D||O(z)),L(F,B)}if(!R)throw new Error(`discriminator: "${b}" must be required`);return _;function O({required:B}){return Array.isArray(B)&&B.includes(b)}function L(B,z){if(B.const)U(B.const,z);else if(B.enum)for(const F of B.enum)U(F,z);else throw new Error(`discriminator: "properties/${b}" must have "const" or "enum"`)}function U(B,z){if(typeof B!="string"||B in _)throw new Error(`discriminator: "${b}" values must be unique strings`);_[B]=z}}}};return Bg.default=i,Bg}const VZ="http://json-schema.org/draft-07/schema#",HZ="http://json-schema.org/draft-07/schema#",GZ="Core schema meta-schema",WZ={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},KZ=["object","boolean"],YZ={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},QZ={$schema:VZ,$id:HZ,title:GZ,definitions:WZ,type:KZ,properties:YZ,default:!0};var nO;function ZZ(){return nO||(nO=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const a=lZ(),o=qZ(),n=$Z(),r=QZ,i=["/properties"],c="http://json-schema.org/draft-07/schema";class d extends a.default{_addVocabularies(){super._addVocabularies(),o.default.forEach(b=>this.addVocabulary(b)),this.opts.discriminator&&this.addKeyword(n.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const b=this.opts.$data?this.$dataMetaSchema(r,i):r;this.addMetaSchema(b,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var u=sb();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var m=yt();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return m._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return m.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return m.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return m.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return m.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return m.CodeGen}});var h=Kk();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=ib();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})})(eg,eg.exports)),eg.exports}var Fg={exports:{}},PS={},rO;function JZ(){return rO||(rO=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(B,z){return{validate:B,compare:z}}e.fullFormats={date:t(r,i),time:t(d(!0),u),"date-time":t(f(!0),v),"iso-time":t(d(),m),"iso-date-time":t(f(),b),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:T,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:U,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:C,int32:{type:"number",validate:D},int64:{type:"number",validate:R},float:{type:"number",validate:O},double:{type:"number",validate:O},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,i),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,u),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,m),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,b),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function a(B){return B%4===0&&(B%100!==0||B%400===0)}const o=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function r(B){const z=o.exec(B);if(!z)return!1;const F=+z[1],W=+z[2],ae=+z[3];return W>=1&&W<=12&&ae>=1&&ae<=(W===2&&a(F)?29:n[W])}function i(B,z){if(B&&z)return B>z?1:B<z?-1:0}const c=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(B){return function(F){const W=c.exec(F);if(!W)return!1;const ae=+W[1],H=+W[2],K=+W[3],J=W[4],se=W[5]==="-"?-1:1,Z=+(W[6]||0),M=+(W[7]||0);if(Z>23||M>59||B&&!J)return!1;if(ae<=23&&H<=59&&K<60)return!0;const G=H-M*se,V=ae-Z*se-(G<0?1:0);return(V===23||V===-1)&&(G===59||G===-1)&&K<61}}function u(B,z){if(!(B&&z))return;const F=new Date("2020-01-01T"+B).valueOf(),W=new Date("2020-01-01T"+z).valueOf();if(F&&W)return F-W}function m(B,z){if(!(B&&z))return;const F=c.exec(B),W=c.exec(z);if(F&&W)return B=F[1]+F[2]+F[3],z=W[1]+W[2]+W[3],B>z?1:B<z?-1:0}const h=/t|\s/i;function f(B){const z=d(B);return function(W){const ae=W.split(h);return ae.length===2&&r(ae[0])&&z(ae[1])}}function v(B,z){if(!(B&&z))return;const F=new Date(B).valueOf(),W=new Date(z).valueOf();if(F&&W)return F-W}function b(B,z){if(!(B&&z))return;const[F,W]=B.split(h),[ae,H]=z.split(h),K=i(F,ae);if(K!==void 0)return K||u(W,H)}const w=/\/|:/,x=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function T(B){return w.test(B)&&x.test(B)}const k=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function C(B){return k.lastIndex=0,k.test(B)}const E=-2147483648,_=2**31-1;function D(B){return Number.isInteger(B)&&B<=_&&B>=E}function R(B){return Number.isInteger(B)}function O(){return!0}const L=/[^\\]\\Z/;function U(B){if(L.test(B))return!1;try{return new RegExp(B),!0}catch{return!1}}})(PS)),PS}var _S={},sO;function XZ(){return sO||(sO=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=ZZ(),a=yt(),o=a.operators,n={formatMaximum:{okStr:"<=",ok:o.LTE,fail:o.GT},formatMinimum:{okStr:">=",ok:o.GTE,fail:o.LT},formatExclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},formatExclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},r={message:({keyword:c,schemaCode:d})=>(0,a.str)`should be ${n[c].okStr} ${d}`,params:({keyword:c,schemaCode:d})=>(0,a._)`{comparison: ${n[c].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:r,code(c){const{gen:d,data:u,schemaCode:m,keyword:h,it:f}=c,{opts:v,self:b}=f;if(!v.validateFormats)return;const w=new t.KeywordCxt(f,b.RULES.all.format.definition,"format");w.$data?x():T();function x(){const C=d.scopeValue("formats",{ref:b.formats,code:v.code.formats}),E=d.const("fmt",(0,a._)`${C}[${w.schemaCode}]`);c.fail$data((0,a.or)((0,a._)`typeof ${E} != "object"`,(0,a._)`${E} instanceof RegExp`,(0,a._)`typeof ${E}.compare != "function"`,k(E)))}function T(){const C=w.schema,E=b.formats[C];if(!E||E===!0)return;if(typeof E!="object"||E instanceof RegExp||typeof E.compare!="function")throw new Error(`"${h}": format "${C}" does not define "compare" function`);const _=d.scopeValue("formats",{key:C,ref:E,code:v.code.formats?(0,a._)`${v.code.formats}${(0,a.getProperty)(C)}`:void 0});c.fail$data(k(_))}function k(C){return(0,a._)`${C}.compare(${u}, ${m}) ${n[h].fail} 0`}},dependencies:["format"]};const i=c=>(c.addKeyword(e.formatLimitDefinition),c);e.default=i})(_S)),_S}var iO;function eJ(){return iO||(iO=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const a=JZ(),o=XZ(),n=yt(),r=new n.Name("fullFormats"),i=new n.Name("fastFormats"),c=(u,m={keywords:!0})=>{if(Array.isArray(m))return d(u,m,a.fullFormats,r),u;const[h,f]=m.mode==="fast"?[a.fastFormats,i]:[a.fullFormats,r],v=m.formats||a.formatNames;return d(u,v,h,f),m.keywords&&(0,o.default)(u),u};c.get=(u,m="full")=>{const f=(m==="fast"?a.fastFormats:a.fullFormats)[u];if(!f)throw new Error(`Unknown format "${u}"`);return f};function d(u,m,h,f){var v,b;(v=(b=u.opts.code).formats)!==null&&v!==void 0||(b.formats=(0,n._)`require("ajv-formats/dist/formats").${f}`);for(const w of m)u.addFormat(w,h[w])}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c})(Fg,Fg.exports)),Fg.exports}var tJ=eJ();const _xe=Yl(tJ);function aJ({studioUrl:e,meshUrl:t},a){return e??t??a}let Zk;Zk=globalThis.crypto;async function oJ(e){return(await Zk).getRandomValues(new Uint8Array(e))}async function nJ(e){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~",a=Math.pow(2,8)-Math.pow(2,8)%t.length;let o="";for(;o.length<e;){const n=await oJ(e-o.length);for(const r of n)r<a&&(o+=t[r%t.length])}return o}async function rJ(e){return await nJ(e)}async function sJ(e){const t=await(await Zk).subtle.digest("SHA-256",new TextEncoder().encode(e));return btoa(String.fromCharCode(...new Uint8Array(t))).replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}async function Axe(e){if(e||(e=43),e<43||e>128)throw`Expected a length between 43 and 128. Received ${e}.`;const t=await rJ(e),a=await sJ(t);return{code_verifier:t,code_challenge:a}}const Po=yL().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:sK.custom,message:"URL must be parseable",fatal:!0}),p7}).refine(e=>{const t=new URL(e);return t.protocol!=="javascript:"&&t.protocol!=="data:"&&t.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),Rxe=_o({resource:$().url(),authorization_servers:je(Po).optional(),jwks_uri:$().url().optional(),scopes_supported:je($()).optional(),bearer_methods_supported:je($()).optional(),resource_signing_alg_values_supported:je($()).optional(),resource_name:$().optional(),resource_documentation:$().optional(),resource_policy_uri:$().url().optional(),resource_tos_uri:$().url().optional(),tls_client_certificate_bound_access_tokens:Vt().optional(),authorization_details_types_supported:je($()).optional(),dpop_signing_alg_values_supported:je($()).optional(),dpop_bound_access_tokens_required:Vt().optional()}),iJ=_o({issuer:$(),authorization_endpoint:Po,token_endpoint:Po,registration_endpoint:Po.optional(),scopes_supported:je($()).optional(),response_types_supported:je($()),response_modes_supported:je($()).optional(),grant_types_supported:je($()).optional(),token_endpoint_auth_methods_supported:je($()).optional(),token_endpoint_auth_signing_alg_values_supported:je($()).optional(),service_documentation:Po.optional(),revocation_endpoint:Po.optional(),revocation_endpoint_auth_methods_supported:je($()).optional(),revocation_endpoint_auth_signing_alg_values_supported:je($()).optional(),introspection_endpoint:$().optional(),introspection_endpoint_auth_methods_supported:je($()).optional(),introspection_endpoint_auth_signing_alg_values_supported:je($()).optional(),code_challenge_methods_supported:je($()).optional(),client_id_metadata_document_supported:Vt().optional()}),lJ=_o({issuer:$(),authorization_endpoint:Po,token_endpoint:Po,userinfo_endpoint:Po.optional(),jwks_uri:Po,registration_endpoint:Po.optional(),scopes_supported:je($()).optional(),response_types_supported:je($()),response_modes_supported:je($()).optional(),grant_types_supported:je($()).optional(),acr_values_supported:je($()).optional(),subject_types_supported:je($()),id_token_signing_alg_values_supported:je($()),id_token_encryption_alg_values_supported:je($()).optional(),id_token_encryption_enc_values_supported:je($()).optional(),userinfo_signing_alg_values_supported:je($()).optional(),userinfo_encryption_alg_values_supported:je($()).optional(),userinfo_encryption_enc_values_supported:je($()).optional(),request_object_signing_alg_values_supported:je($()).optional(),request_object_encryption_alg_values_supported:je($()).optional(),request_object_encryption_enc_values_supported:je($()).optional(),token_endpoint_auth_methods_supported:je($()).optional(),token_endpoint_auth_signing_alg_values_supported:je($()).optional(),display_values_supported:je($()).optional(),claim_types_supported:je($()).optional(),claims_supported:je($()).optional(),service_documentation:$().optional(),claims_locales_supported:je($()).optional(),ui_locales_supported:je($()).optional(),claims_parameter_supported:Vt().optional(),request_parameter_supported:Vt().optional(),request_uri_parameter_supported:Vt().optional(),require_request_uri_registration:Vt().optional(),op_policy_uri:Po.optional(),op_tos_uri:Po.optional(),client_id_metadata_document_supported:Vt().optional()}),Dxe=Se({...lJ.shape,...iJ.pick({code_challenge_methods_supported:!0}).shape}),Oxe=Se({access_token:$(),id_token:$().optional(),token_type:$(),expires_in:PL().optional(),scope:$().optional(),refresh_token:$().optional()}).strip(),Nxe=Se({error:$(),error_description:$().optional(),error_uri:$().optional()}),lO=Po.optional().or(Ze("").transform(()=>{})),cJ=Se({redirect_uris:je(Po),token_endpoint_auth_method:$().optional(),grant_types:je($()).optional(),response_types:je($()).optional(),client_name:$().optional(),client_uri:Po.optional(),logo_uri:lO,scope:$().optional(),contacts:je($()).optional(),tos_uri:lO,policy_uri:$().optional(),jwks_uri:Po.optional(),jwks:OW().optional(),software_id:$().optional(),software_version:$().optional(),software_statement:$().optional()}).strip(),dJ=Se({client_id:$(),client_secret:$().optional(),client_id_issued_at:Lt().optional(),client_secret_expires_at:Lt().optional()}).strip(),Mxe=cJ.merge(dJ);Se({error:$(),error_description:$().optional()}).strip();Se({token:$(),token_type_hint:$().optional()}).strip();class No extends Error{constructor(t,a){super(t),this.errorUri=a,this.name=this.constructor.name}toResponseObject(){const t={error:this.errorCode,error_description:this.message};return this.errorUri&&(t.error_uri=this.errorUri),t}get errorCode(){return this.constructor.errorCode}}class bx extends No{}bx.errorCode="invalid_request";class yx extends No{}yx.errorCode="invalid_client";class wx extends No{}wx.errorCode="invalid_grant";class Sx extends No{}Sx.errorCode="unauthorized_client";class Tx extends No{}Tx.errorCode="unsupported_grant_type";class xx extends No{}xx.errorCode="invalid_scope";class kx extends No{}kx.errorCode="access_denied";class Ex extends No{}Ex.errorCode="server_error";class Cx extends No{}Cx.errorCode="temporarily_unavailable";class Px extends No{}Px.errorCode="unsupported_response_type";class _x extends No{}_x.errorCode="unsupported_token_type";class Ax extends No{}Ax.errorCode="invalid_token";class Rx extends No{}Rx.errorCode="method_not_allowed";class Dx extends No{}Dx.errorCode="too_many_requests";class Ox extends No{}Ox.errorCode="invalid_client_metadata";class Nx extends No{}Nx.errorCode="insufficient_scope";class Mx extends No{}Mx.errorCode="invalid_target";const Ixe={[bx.errorCode]:bx,[yx.errorCode]:yx,[wx.errorCode]:wx,[Sx.errorCode]:Sx,[Tx.errorCode]:Tx,[xx.errorCode]:xx,[kx.errorCode]:kx,[Ex.errorCode]:Ex,[Cx.errorCode]:Cx,[Px.errorCode]:Px,[_x.errorCode]:_x,[Ax.errorCode]:Ax,[Rx.errorCode]:Rx,[Dx.errorCode]:Dx,[Ox.errorCode]:Ox,[Nx.errorCode]:Nx,[Mx.errorCode]:Mx};async function mB(e){if(!e.getServerCapabilities()?.resources)return{resources:[]};try{return await e.listResources()}catch(a){if(a instanceof ob&&a.code===$p.MethodNotFound)return{resources:[]};throw a}}async function uJ(e,t){return await e.readResource({uri:t})}function Lxe(e){const t=ye.c(12);let a,o;t[0]!==e?({client:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);let n;t[3]!==a?(n=lo.mcpResourcesList(a),t[3]=a,t[4]=n):n=t[4];let r;t[5]!==a?(r=()=>mB(a),t[5]=a,t[6]=r):r=t[6];const i=o.staleTime??3e4;let c;return t[7]!==o||t[8]!==n||t[9]!==r||t[10]!==i?(c={...o,queryKey:n,queryFn:r,staleTime:i,retry:!1},t[7]=o,t[8]=n,t[9]=r,t[10]=i,t[11]=c):c=t[11],Yi(c)}function Bxe(e){const t=ye.c(12);let a,o;t[0]!==e?({client:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);let n;t[3]!==a?(n=lo.mcpResourcesList(a),t[3]=a,t[4]=n):n=t[4];let r;t[5]!==a?(r=()=>mB(a),t[5]=a,t[6]=r):r=t[6];const i=o.staleTime??3e4;let c;return t[7]!==o||t[8]!==n||t[9]!==r||t[10]!==i?(c={...o,queryKey:n,queryFn:r,staleTime:i,retry:!1},t[7]=o,t[8]=n,t[9]=r,t[10]=i,t[11]=c):c=t[11],Ki(c)}function Fxe(e){const t=ye.c(15);let a,o,n;t[0]!==e?({client:a,uri:n,...o}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n):(a=t[1],o=t[2],n=t[3]);let r;t[4]!==a||t[5]!==n?(r=lo.mcpReadResource(a,n),t[4]=a,t[5]=n,t[6]=r):r=t[6];let i;t[7]!==a||t[8]!==n?(i=()=>uJ(a,n),t[7]=a,t[8]=n,t[9]=i):i=t[9];const c=o.staleTime??3e4;let d;return t[10]!==o||t[11]!==r||t[12]!==i||t[13]!==c?(d={...o,queryKey:r,queryFn:i,staleTime:c,retry:!1},t[10]=o,t[11]=r,t[12]=i,t[13]=c,t[14]=d):d=t[14],Yi(d)}const hB="ui-resource-html";function jxe(e){const t=ye.c(22);let a,o,n,r,i,c;t[0]!==e?({orgSlug:n,connectionId:a,uri:c,studioUrl:i,meshUrl:o,...r}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n,t[4]=r,t[5]=i,t[6]=c):(a=t[1],o=t[2],n=t[3],r=t[4],i=t[5],c=t[6]);let d;t[7]!==a||t[8]!==n||t[9]!==c?(d=lo.mcpUiResourceHtml(n,a,c),t[7]=a,t[8]=n,t[9]=c,t[10]=d):d=t[10];let u;t[11]!==a||t[12]!==o||t[13]!==n||t[14]!==i||t[15]!==c?(u=async()=>{const v=`${aJ({studioUrl:i,meshUrl:o},typeof window<"u"?window.location.origin:"")}/api/${encodeURIComponent(n)}/mcp/${encodeURIComponent(a)}/ui-resource?uri=${encodeURIComponent(c)}`,b=await fetch(v,{credentials:"include"});if(!b.ok)throw new Error(`Failed to read UI resource (${b.status})`);return b.text()},t[11]=a,t[12]=o,t[13]=n,t[14]=i,t[15]=c,t[16]=u):u=t[16];const m=r.staleTime??3e4;let h;return t[17]!==r||t[18]!==d||t[19]!==u||t[20]!==m?(h={...r,queryKey:d,queryFn:u,staleTime:m,retry:!1},t[17]=r,t[18]=d,t[19]=u,t[20]=m,t[21]=h):h=t[21],Yi(h)}const gB={featureNotInPlan:"feature_not_in_plan",aiBudgetExhausted:"ai_budget_exhausted"};class Jf extends Error{constructor(t,a,o,n){super(t),this.status=a,this.code=o,this.retryAfterMs=n,this.name="StudioToolError"}status;code;retryAfterMs}function fB(e){return e instanceof Jf&&Object.values(gB).includes(e.code??"")?e.code:null}const pJ=6e4;function mJ(e){return!(e instanceof Jf)||e.status!==429?null:e.retryAfterMs??pJ}function hJ(e,t){if(typeof t=="object"&&t!==null&&"retryAfterMs"in t&&typeof t.retryAfterMs=="number"&&Number.isFinite(t.retryAfterMs))return Math.max(0,t.retryAfterMs);const a=e.headers.get("retry-after"),o=a?Number(a):Number.NaN;return Number.isFinite(o)?Math.max(0,o*1e3):void 0}async function gJ(e,t,a){const o=await fetch(`/api/${encodeURIComponent(e)}/tools/${encodeURIComponent(t)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a??{})});if(!o.ok){let n=`${t} failed (${o.status})`,r,i=null;try{i=await o.json();const c=i;c?.error&&(n=c.error),typeof c?.code=="string"&&(r=c.code)}catch{}throw new Jf(n,o.status,r,o.status===429?hJ(o,i):void 0)}try{return await o.json()}catch{throw new Jf(`${t} returned a non-JSON response`,o.status)}}function Jk(){const e=ye.c(5),{org:t}=Zi(),a=t.slug;let o;e[0]!==a?(o=(r,i)=>gJ(a,r,i),e[0]=a,e[1]=o):o=e[1];let n;return e[2]!==a||e[3]!==o?(n={orgSlug:a,call:o},e[2]=a,e[3]=o,e[4]=n):n=e[4],n}function fJ(e){for(const t of["content-revision","content-versions","content-changes","content-draft-tombstones","content-index"])e.getQueryDefaults([t]).gcTime!==1/0&&e.setQueryDefaults([t],{gcTime:1/0})}const vJ="studio-ui-resources",Xf="html",bJ=10080*60*1e3,yJ=50,wJ=16*1024*1024;function SJ(e){return e[0]==="mcp"&&e[1]===hB}function lb(){return new Promise((e,t)=>{const a=indexedDB.open(vJ,1);a.onupgradeneeded=()=>{a.result.objectStoreNames.contains(Xf)||a.result.createObjectStore(Xf)},a.onsuccess=()=>e(a.result),a.onerror=()=>t(a.error)})}function jd(e,t){return e.transaction(Xf,t).objectStore(Xf)}function Ix(e){return new Promise((t,a)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>a(e.error)})}async function TJ(e){if(!(typeof indexedDB>"u"))try{const t=await lb(),a=jd(t,"readonly"),o=await Ix(a.getAllKeys()),n=await Ix(a.getAll()),r=Date.now(),i=o.map((u,m)=>({key:u,value:n[m]})).sort((u,m)=>(m.value?.updatedAt??0)-(u.value?.updatedAt??0)),c=[];let d=0;for(const{key:u,value:m}of i){if(!m||r-m.updatedAt>bJ||d>=yJ){c.push(u);continue}d++;try{const f=JSON.parse(String(u));e.getQueryData(f)===void 0&&e.setQueryData(f,m.html,{updatedAt:0})}catch{c.push(u)}}if(c.length>0){const u=jd(t,"readwrite");for(const m of c)u.delete(m)}}catch{}}function xJ(e){if(typeof indexedDB>"u")return()=>{};const t=lb().catch(()=>null);return e.getQueryCache().subscribe(a=>{const o=a.query;if(!Array.isArray(o.queryKey)||!SJ(o.queryKey)||o.state.status!=="success")return;const n=o.state.data;typeof n!="string"||n.length>wJ||t.then(r=>{if(r)try{jd(r,"readwrite").put({html:n,updatedAt:Date.now()},JSON.stringify(o.queryKey))}catch{}})})}function kJ(){typeof indexedDB>"u"||lb().then(e=>jd(e,"readwrite").clear()).catch(()=>{})}async function zxe(e){if(!(typeof indexedDB>"u"))try{const t=await lb(),a=await Ix(jd(t,"readonly").getAllKeys()),o=jd(t,"readwrite");for(const n of a)try{const r=JSON.parse(String(n));r[1]===hB&&r[3]===e&&o.delete(n)}catch{}}catch{}}const ev="studio:rq-cache",Xk=1440*60*1e3,EJ=1e3,CJ=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions","order-monitor"]),PJ=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let vB=!1,bB=!1;function _J(e){const t=e[0];return typeof t=="string"&&CJ.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&PJ.has(e[4])}function AJ(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(ev);if(!t)return;const a=JSON.parse(t),o=!a.timestamp||Date.now()-a.timestamp>Xk;if(a.buster!=="4.619.0"||o||!a.state){window.localStorage.removeItem(ev);return}$V(e,a.state),e.invalidateQueries({queryKey:lo.publicConfig(),refetchType:"none"}),vB=!0}catch{IJ()}}function RJ(e){if(typeof window>"u")return()=>{};let t=null;const a=()=>{t=null;try{const r=UV(e,{shouldDehydrateQuery:i=>i.state.status==="success"&&_J(i.queryKey)});window.localStorage.setItem(ev,JSON.stringify({buster:"4.619.0",timestamp:Date.now(),state:r}))}catch{}},o=e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(a,EJ))}),n=()=>{t!=null&&(clearTimeout(t),a())};return window.addEventListener("pagehide",n),()=>{t!=null&&clearTimeout(t),window.removeEventListener("pagehide",n),o()}}const yB="studio:org-cache:",DJ=20;function OJ(e){const t=Date.now(),a=Object.entries(e).filter(([,o])=>t-o.updatedAt<=Xk);for(a.sort(([,o],[,n])=>o.updatedAt-n.updatedAt);a.length>DJ;)a.shift();return Object.fromEntries(a)}function wB(e){return`${yB}${e}`}function NJ(e,t){if(typeof window>"u")return null;try{const a=window.localStorage.getItem(wB(e));if(!a)return null;const o=JSON.parse(a)[t];return!o||Date.now()-o.updatedAt>Xk?null:(bB=!0,o)}catch{return null}}function MJ(e,t,a){if(!(typeof window>"u"))try{const o=wB(e),n=window.localStorage.getItem(o),r=n?JSON.parse(n):{};r[t]={data:a,updatedAt:Date.now()},window.localStorage.setItem(o,JSON.stringify(OJ(r)))}catch{}}function IJ(){if(kJ(),!(typeof window>"u"))try{window.localStorage.removeItem(ev);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(yB)&&window.localStorage.removeItem(t)}}catch{}}function LJ(){return vB}function BJ(){return bB}function cO(e){const t=fB(e);if(!t)return;const a=t===gB.aiBudgetExhausted?tv.budget||"This organization's AI allowance is used up.":tv.feature||"This organization's plan does not include that.";Fd.error(a,{id:`plan-refusal:${t}`})}const tv={feature:"",budget:""},Jl=new e7({queryCache:new pI({onError:cO}),mutationCache:new uI({onError:cO}),defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:(e,t)=>fB(t)===null&&mJ(t)===null&&e<1,gcTime:300*1e3}}});fJ(Jl);AJ(Jl);RJ(Jl);TJ(Jl);xJ(Jl);const eE=5*6e4;async function SB(){return(await(await fetch("/api/config")).json()).config}function TB(){const e=ye.c(1);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:lo.publicConfig(),queryFn:SB,staleTime:eE},e[0]=t):t=e[0];const{data:a}=Yi(t);return a}function qxe(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:lo.publicConfig(),queryFn:SB,staleTime:eE},e[0]=t):t=e[0],Ki(t).data}const xB=A.createContext(void 0);function FJ(e){const t=ye.c(3),{children:a}=e,o=TB();let n;return t[0]!==a||t[1]!==o.auth?(n=y.jsx(xB.Provider,{value:o.auth,children:a}),t[0]=a,t[1]=o.auth,t[2]=n):n=t[2],n}function Uxe(){const e=A.useContext(xB);if(e===void 0)throw new Error("useAuthConfig must be used within AuthConfigProvider");return e}var jJ={},dO={};const wf=Object.create(null),Xu=e=>jJ||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?wf:globalThis),er=new Proxy(wf,{get(e,t){return Xu()[t]??wf[t]},has(e,t){return t in Xu()||t in wf},set(e,t,a){const o=Xu(!0);return o[t]=a,!0},deleteProperty(e,t){if(!t)return!1;const a=Xu(!0);return delete a[t],!0},ownKeys(){const e=Xu(!0);return Object.keys(e)}});function Ya(e,t){return typeof process<"u"&&dO?dO[e]??t:typeof Deno<"u"?Deno.env.get(e)??t:typeof Bun<"u"?Bun.env[e]??t:t}const ep=1,mo=4,Gr=8,Mn=24,uO={eterm:mo,cons25:mo,console:mo,cygwin:mo,dtterm:mo,gnome:mo,hurd:mo,jfbterm:mo,konsole:mo,kterm:mo,mlterm:mo,mosh:Mn,putty:mo,st:mo,"rxvt-unicode-24bit":Mn,terminator:Mn,"xterm-kitty":Mn},zJ=new Map(Object.entries({APPVEYOR:Gr,BUILDKITE:Gr,CIRCLECI:Mn,DRONE:Gr,GITEA_ACTIONS:Mn,GITHUB_ACTIONS:Mn,GITLAB_CI:Gr,TRAVIS:Gr})),qJ=[/ansi/,/color/,/linux/,/direct/,/^con[0-9]*x[0-9]/,/^rxvt/,/^screen/,/^xterm/,/^vt100/,/^vt220/];function UJ(){if(Ya("FORCE_COLOR")!==void 0)switch(Ya("FORCE_COLOR")){case"":case"1":case"true":return mo;case"2":return Gr;case"3":return Mn;default:return ep}if(Ya("NODE_DISABLE_COLORS")!==void 0&&Ya("NODE_DISABLE_COLORS")!==""||Ya("NO_COLOR")!==void 0&&Ya("NO_COLOR")!==""||Ya("TERM")==="dumb")return ep;if(Ya("TMUX"))return Mn;if("TF_BUILD"in er&&"AGENT_NAME"in er)return mo;if("CI"in er){for(const{0:e,1:t}of zJ)if(e in er)return t;return Ya("CI_NAME")==="codeship"?Gr:ep}if("TEAMCITY_VERSION"in er)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.exec(Ya("TEAMCITY_VERSION"))!==null?mo:ep;switch(Ya("TERM_PROGRAM")){case"iTerm.app":return!Ya("TERM_PROGRAM_VERSION")||/^[0-2]\./.exec(Ya("TERM_PROGRAM_VERSION"))!==null?Gr:Mn;case"HyperTerm":case"MacTerm":return Mn;case"Apple_Terminal":return Gr}if(Ya("COLORTERM")==="truecolor"||Ya("COLORTERM")==="24bit")return Mn;if(Ya("TERM")){if(/truecolor/.exec(Ya("TERM"))!==null)return Mn;if(/^xterm-256/.exec(Ya("TERM"))!==null)return Gr;const e=Ya("TERM").toLowerCase();if(uO[e])return uO[e];if(qJ.some(t=>t.exec(e)!==null))return mo}return Ya("COLORTERM")?mo:ep}const Wr={reset:"\x1B[0m",bright:"\x1B[1m",dim:"\x1B[2m",fg:{red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m"}},Lx=["debug","info","success","warn","error"];function $J(e,t){return Lx.indexOf(t)>=Lx.indexOf(e)}const VJ={info:Wr.fg.blue,success:Wr.fg.green,warn:Wr.fg.yellow,error:Wr.fg.red,debug:Wr.fg.magenta},HJ=(e,t,a)=>{const o=new Date().toISOString();return a?`${Wr.dim}${o}${Wr.reset} ${VJ[e]}${e.toUpperCase()}${Wr.reset} ${Wr.bright}[Better Auth]:${Wr.reset} ${t}`:`${o} ${e.toUpperCase()} [Better Auth]: ${t}`},GJ=e=>{const t="warn",a=UJ()!==1,o=(n,r,i=[])=>{if(!$J(t,n))return;const c=HJ(n,r,a);{n==="error"?console.error(c,...i):n==="warn"?console.warn(c,...i):console.log(c,...i);return}};return{...Object.fromEntries(Lx.map(n=>[n,(...[r,...i])=>o(n,r,i)])),get level(){return t}}};GJ();function WJ(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Cp=class extends Error{constructor(e,t){super(e,t),this.name="BetterAuthError",this.message=e,this.stack=""}};function KJ(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new Cp(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function YJ(e){try{const t=new URL(e);if(t.protocol!=="http:"&&t.protocol!=="https:")throw new Cp(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(t){throw t instanceof Cp?t:new Cp(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:t})}}function AS(e,t="/api/auth"){if(YJ(e),KJ(e))return e;const a=e.replace(/\/+$/,"");return!t||t==="/"?a:(t=t.startsWith("/")?t:`/${t}`,`${a}${t}`)}function QJ(e,t,a,o,n){if(e)return AS(e,t);{const r=er.BETTER_AUTH_URL||er.NEXT_PUBLIC_BETTER_AUTH_URL||er.PUBLIC_BETTER_AUTH_URL||er.NUXT_PUBLIC_BETTER_AUTH_URL||er.NUXT_PUBLIC_AUTH_URL||(er.BASE_URL!=="/"?er.BASE_URL:void 0);if(r)return AS(r,t)}if(typeof window<"u"&&window.location)return AS(window.location.origin,t)}const ZJ={id:"redirect",name:"Redirect",hooks:{onSuccess(e){if(e.data?.url&&e.data?.redirect&&typeof window<"u"&&window.location&&window.location)try{window.location.href=e.data.url}catch{}}}},JJ={proto:/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,constructor:/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,protoShort:/"__proto__"\s*:/,constructorShort:/"constructor"\s*:/},XJ=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,pO={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},eX=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function tX(e){return e instanceof Date&&!isNaN(e.getTime())}function aX(e){const t=eX.exec(e);if(!t)return null;const[,a,o,n,r,i,c,d,u,m,h]=t,f=new Date(Date.UTC(parseInt(a,10),parseInt(o,10)-1,parseInt(n,10),parseInt(r,10),parseInt(i,10),parseInt(c,10),d?parseInt(d.padEnd(3,"0"),10):0));if(u){const v=(parseInt(m,10)*60+parseInt(h,10))*(u==="+"?-1:1);f.setUTCMinutes(f.getUTCMinutes()+v)}return tX(f)?f:null}function oX(e,t={}){const{strict:a=!1,warnings:o=!1,reviver:n,parseDates:r=!0}=t;if(typeof e!="string")return e;const i=e.trim();if(i.length>0&&i[0]==='"'&&i.endsWith('"')&&!i.slice(1,-1).includes('"'))return i.slice(1,-1);const c=i.toLowerCase();if(c.length<=9&&c in pO)return pO[c];if(!XJ.test(i)){if(a)throw new SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(JJ).some(([d,u])=>{const m=u.test(i);return m&&o&&console.warn(`[better-json] Detected potential prototype pollution attempt using ${d} pattern`),m})&&a)throw new Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(i,(u,m)=>{if(u==="__proto__"||u==="constructor"&&m&&typeof m=="object"&&"prototype"in m){o&&console.warn(`[better-json] Dropping "${u}" key to prevent prototype pollution`);return}if(r&&typeof m=="string"){const h=aX(m);if(h)return h}return n?n(u,m):m})}catch(d){if(a)throw d;return e}}function nX(e,t={strict:!0}){return oX(e,t)}let vr=[],bi=0;const jg=4,rX=globalThis.nanostoresGlobal||={epoch:0},Il=e=>{let t=[],a={get(){return a.lc||a.listen(()=>{})(),a.value},init:e,lc:0,listen(o){return a.lc=t.push(o),()=>{for(let r=bi+jg;r<vr.length;)vr[r]===o?vr.splice(r,jg):r+=jg;let n=t.indexOf(o);~n&&(t.splice(n,1),--a.lc||a.off())}},notify(o,n){rX.epoch++;let r=!vr.length;for(let i of t)vr.push(i,a.value,o,n);if(r){for(bi=0;bi<vr.length;bi+=jg)vr[bi](vr[bi+1],vr[bi+2],vr[bi+3]);vr.length=0}},off(){},set(o){let n=a.value;n!==o&&(a.value=o,a.notify(n))},subscribe(o){let n=a.listen(o);return o(a.value),n},value:e};return a},sX=5,zg=6,qg=10;let iX=(e,t,a,o)=>(e.events=e.events||{},e.events[a+qg]||(e.events[a+qg]=o(n=>{e.events[a].reduceRight((r,i)=>(i(r),r),{shared:{},...n})})),e.events[a]=e.events[a]||[],e.events[a].push(t),()=>{let n=e.events[a],r=n.indexOf(t);n.splice(r,1),n.length||(delete e.events[a],e.events[a+qg](),delete e.events[a+qg])});const lX=1e3;let kB=(e,t)=>iX(e,o=>{let n=t(o);n&&e.events[zg].push(n)},sX,o=>{let n=e.listen;e.listen=(...i)=>(!e.lc&&!e.active&&(e.active=!0,o()),n(...i));let r=e.off;return e.events[zg]=[],e.off=()=>{r(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let i of e.events[zg])i();e.events[zg]=[]}},lX)},()=>{e.listen=n,e.off=r}});function cX(e,t,a){let o=new Set(t).add(void 0);return e.listen((n,r,i)=>{o.has(i)&&a(n,r,i)})}const dX=()=>typeof window>"u",fd=(e,t,a,o)=>{const n=Il({data:null,error:null,isPending:!0,isRefetching:!1,refetch:c=>r(c)}),r=async c=>new Promise(d=>{const u=typeof o=="function"?o({data:n.get().data,error:n.get().error,isPending:n.get().isPending}):o;a(t,{...u,query:{...u?.query,...c?.query},async onSuccess(m){n.set({data:m.data,error:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await u?.onSuccess?.(m)},async onError(m){const{request:h}=m,f=typeof h.retry=="number"?h.retry:h.retry?.attempts,v=h.retryAttempt||0;f&&v<f||(n.set({error:m.error,data:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await u?.onError?.(m))},async onRequest(m){const h=n.get();n.set({isPending:h.data===null,data:h.data,error:null,isRefetching:!0,refetch:n.value.refetch}),await u?.onRequest?.(m)}}).catch(m=>{n.set({error:m,data:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch})}).finally(()=>{d(void 0)})});e=Array.isArray(e)?e:[e];let i=!1;for(const c of e)c.subscribe(async()=>{dX()||(i?await r():kB(n,()=>{const d=setTimeout(async()=>{i||(await r(),i=!0)},0);return()=>{n.off(),c.off(),clearTimeout(d)}}))});return n},RS=Symbol.for("better-auth:broadcast-channel"),uX=()=>Math.floor(Date.now()/1e3);var pX=class{listeners=new Set;name;constructor(e="better-auth.message"){this.name=e}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}post(e){if(!(typeof window>"u"))try{localStorage.setItem(this.name,JSON.stringify({...e,timestamp:uX()}))}catch{}}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const e=t=>{if(t.key!==this.name)return;const a=JSON.parse(t.newValue??"{}");a?.event!=="session"||!a?.data||this.listeners.forEach(o=>o(a))};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}}};function DS(e="better-auth.message"){return globalThis[RS]||(globalThis[RS]=new pX(e)),globalThis[RS]}const OS=Symbol.for("better-auth:focus-manager");var mX=class{listeners=new Set;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setFocused(e){this.listeners.forEach(t=>t(e))}setup(){if(typeof window>"u"||typeof document>"u"||typeof window.addEventListener>"u")return()=>{};const e=()=>{document.visibilityState==="visible"&&this.setFocused(!0)};return document.addEventListener("visibilitychange",e,!1),()=>{document.removeEventListener("visibilitychange",e,!1)}}};function mO(){return globalThis[OS]||(globalThis[OS]=new mX),globalThis[OS]}const NS=Symbol.for("better-auth:online-manager");var hX=class{listeners=new Set;isOnline=typeof navigator<"u"?navigator.onLine:!0;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setOnline(e){this.isOnline=e,this.listeners.forEach(t=>t(e))}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const e=()=>this.setOnline(!0),t=()=>this.setOnline(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",e,!1),window.removeEventListener("offline",t,!1)}}};function MS(){return globalThis[NS]||(globalThis[NS]=new hX),globalThis[NS]}const Wc=()=>Math.floor(Date.now()/1e3),gX=5;function fX(e){const{sessionAtom:t,sessionSignal:a,$fetch:o,options:n={}}=e,r=n.sessionOptions?.refetchInterval??0,i=n.sessionOptions?.refetchOnWindowFocus??!0,c=n.sessionOptions?.refetchWhenOffline??!1,d={lastSync:0,lastSessionRequest:0,cachedSession:void 0},u=()=>c||MS().isOnline,m=k=>{if(!u())return;if(k?.event==="storage"){d.lastSync=Wc(),a.set(!a.get());return}const C=t.get();if(k?.event==="poll"){d.lastSessionRequest=Wc(),o("/get-session").then(E=>{E.error?t.set({...C,data:null,error:E.error}):t.set({...C,data:E.data,error:null}),d.lastSync=Wc(),a.set(!a.get())}).catch(()=>{});return}if(k?.event==="visibilitychange"){if(Wc()-d.lastSessionRequest<gX)return;d.lastSessionRequest=Wc()}(C?.data===null||C?.data===void 0||k?.event==="visibilitychange")&&(d.lastSync=Wc(),a.set(!a.get()))},h=k=>{DS().post({event:"session",data:{trigger:k},clientId:Math.random().toString(36).substring(7)})},f=()=>{r&&r>0&&(d.pollInterval=setInterval(()=>{t.get()?.data&&m({event:"poll"})},r*1e3))},v=()=>{d.unsubscribeBroadcast=DS().subscribe(()=>{m({event:"storage"})})},b=()=>{i&&(d.unsubscribeFocus=mO().subscribe(()=>{m({event:"visibilitychange"})}))},w=()=>{d.unsubscribeOnline=MS().subscribe(k=>{k&&m({event:"visibilitychange"})})};return{init:()=>{f(),v(),b(),w(),DS().setup(),mO().setup(),MS().setup()},cleanup:()=>{d.pollInterval&&(clearInterval(d.pollInterval),d.pollInterval=void 0),d.unsubscribeBroadcast&&(d.unsubscribeBroadcast(),d.unsubscribeBroadcast=void 0),d.unsubscribeFocus&&(d.unsubscribeFocus(),d.unsubscribeFocus=void 0),d.unsubscribeOnline&&(d.unsubscribeOnline(),d.unsubscribeOnline=void 0),d.lastSync=0,d.lastSessionRequest=0,d.cachedSession=void 0},triggerRefetch:m,broadcastSessionUpdate:h}}function vX(e,t){const a=Il(!1),o=fd(a,"/get-session",e,{method:"GET"});return kB(o,()=>{const n=fX({sessionAtom:o,sessionSignal:a,$fetch:e,options:t});return n.init(),()=>{n.cleanup()}}),{session:o,$sessionSignal:a}}function IS(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Bx(e,t,a=".",o){if(!IS(t))return Bx(e,{},a,o);const n={...t};for(const r of Object.keys(e)){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(o&&o(n,r,i,a)||(Array.isArray(i)&&Array.isArray(n[r])?n[r]=[...i,...n[r]]:IS(i)&&IS(n[r])?n[r]=Bx(i,n[r],(a?`${a}.`:"")+r.toString(),o):n[r]=i))}return n}function bX(e){return(...t)=>t.reduce((a,o)=>Bx(a,o,"",e),{})}const yX=bX();var wX=Object.defineProperty,SX=Object.defineProperties,TX=Object.getOwnPropertyDescriptors,hO=Object.getOwnPropertySymbols,xX=Object.prototype.hasOwnProperty,kX=Object.prototype.propertyIsEnumerable,gO=(e,t,a)=>t in e?wX(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Sr=(e,t)=>{for(var a in t||(t={}))xX.call(t,a)&&gO(e,a,t[a]);if(hO)for(var a of hO(t))kX.call(t,a)&&gO(e,a,t[a]);return e},$r=(e,t)=>SX(e,TX(t)),EX=class extends Error{constructor(e,t,a){super(t||e.toString(),{cause:a}),this.status=e,this.statusText=t,this.error=a,Error.captureStackTrace(this,this.constructor)}},CX=async(e,t)=>{var a,o,n,r,i,c;let d=t||{};const u={onRequest:[t?.onRequest],onResponse:[t?.onResponse],onSuccess:[t?.onSuccess],onError:[t?.onError],onRetry:[t?.onRetry]};if(!t||!t?.plugins)return{url:e,options:d,hooks:u};for(const m of t?.plugins||[]){if(m.init){const h=await((a=m.init)==null?void 0:a.call(m,e.toString(),t));d=h.options||d,e=h.url}u.onRequest.push((o=m.hooks)==null?void 0:o.onRequest),u.onResponse.push((n=m.hooks)==null?void 0:n.onResponse),u.onSuccess.push((r=m.hooks)==null?void 0:r.onSuccess),u.onError.push((i=m.hooks)==null?void 0:i.onError),u.onRetry.push((c=m.hooks)==null?void 0:c.onRetry)}return{url:e,options:d,hooks:u}},fO=class{constructor(e){this.options=e}shouldAttemptRetry(e,t){return this.options.shouldRetry?Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(t)):Promise.resolve(e<this.options.attempts)}getDelay(){return this.options.delay}},PX=class{constructor(e){this.options=e}shouldAttemptRetry(e,t){return this.options.shouldRetry?Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(t)):Promise.resolve(e<this.options.attempts)}getDelay(e){return Math.min(this.options.maxDelay,this.options.baseDelay*2**e)}};function _X(e){if(typeof e=="number")return new fO({type:"linear",attempts:e,delay:1e3});switch(e.type){case"linear":return new fO(e);case"exponential":return new PX(e);default:throw new Error("Invalid retry strategy")}}var AX=async e=>{const t={},a=async o=>typeof o=="function"?await o():o;if(e?.auth){if(e.auth.type==="Bearer"){const o=await a(e.auth.token);if(!o)return t;t.authorization=`Bearer ${o}`}else if(e.auth.type==="Basic"){const[o,n]=await Promise.all([a(e.auth.username),a(e.auth.password)]);if(!o||!n)return t;t.authorization=`Basic ${btoa(`${o}:${n}`)}`}else if(e.auth.type==="Custom"){const[o,n]=await Promise.all([a(e.auth.prefix),a(e.auth.value)]);if(!n)return t;t.authorization=`${o??""} ${n}`}}return t},RX=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function DX(e){const t=e.headers.get("content-type"),a=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!t)return"json";const o=t.split(";").shift()||"";return RX.test(o)?"json":a.has(o)||o.startsWith("text/")?"text":"blob"}function OX(e){try{return JSON.parse(e),!0}catch{return!1}}function Fx(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}function vO(e){try{return JSON.parse(e)}catch{return e}}function bO(e){return typeof e=="function"}function NX(e){if(e?.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&bO(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&bO(window.fetch))return window.fetch;throw new Error("No fetch implementation found")}async function MX(e){const t=new Headers(e?.headers),a=await AX(e);for(const[o,n]of Object.entries(a||{}))t.set(o,n);if(!t.has("content-type")){const o=IX(e?.body);o&&t.set("content-type",o)}return t}function IX(e){return Fx(e)?"application/json":null}function LX(e){if(!e?.body)return null;const t=new Headers(e?.headers);if(Fx(e.body)&&!t.has("content-type")){for(const[a,o]of Object.entries(e?.body))o instanceof Date&&(e.body[a]=o.toISOString());return JSON.stringify(e.body)}return t.has("content-type")&&t.get("content-type")==="application/x-www-form-urlencoded"&&Fx(e.body)?new URLSearchParams(e.body).toString():e.body}function BX(e,t){var a;if(t?.method)return t.method.toUpperCase();if(e.startsWith("@")){const o=(a=e.split("@")[1])==null?void 0:a.split("/")[0];return CB.includes(o)?o.toUpperCase():t?.body?"POST":"GET"}return t?.body?"POST":"GET"}function FX(e,t){let a;return!e?.signal&&e?.timeout&&(a=setTimeout(()=>t?.abort(),e?.timeout)),{abortTimeout:a,clearTimeout:()=>{a&&clearTimeout(a)}}}var jX=class EB extends Error{constructor(t,a){super(a||JSON.stringify(t,null,2)),this.issues=t,Object.setPrototypeOf(this,EB.prototype)}};async function Sf(e,t){const a=await e["~standard"].validate(t);if(a.issues)throw new jX(a.issues);return a.value}var CB=["get","post","put","patch","delete"],zX=e=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(t,a){var o,n,r,i;const c=((n=(o=e.plugins)==null?void 0:o.find(d=>{var u;return(u=d.schema)!=null&&u.config?t.startsWith(d.schema.config.baseURL||"")||t.startsWith(d.schema.config.prefix||""):!1}))==null?void 0:n.schema)||e.schema;if(c){let d=t;(r=c.config)!=null&&r.prefix&&d.startsWith(c.config.prefix)&&(d=d.replace(c.config.prefix,""),c.config.baseURL&&(t=t.replace(c.config.prefix,c.config.baseURL))),(i=c.config)!=null&&i.baseURL&&d.startsWith(c.config.baseURL)&&(d=d.replace(c.config.baseURL,""));const u=c.schema[d];if(u){let m=$r(Sr({},a),{method:u.method,output:u.output});return a?.disableValidation||(m=$r(Sr({},m),{body:u.input?await Sf(u.input,a?.body):a?.body,params:u.params?await Sf(u.params,a?.params):a?.params,query:u.query?await Sf(u.query,a?.query):a?.query})),{url:t,options:m}}}return{url:t,options:a}}}),qX=e=>{async function t(a,o){const n=$r(Sr(Sr({},e),o),{plugins:[...e?.plugins||[],zX(e||{}),...o?.plugins||[]]});if(e?.catchAllError)try{return await jx(a,n)}catch(r){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:r}}}return await jx(a,n)}return t};function UX(e,t){const{baseURL:a,params:o,query:n}=t||{query:{},params:{},baseURL:""};let r=e.startsWith("http")?e.split("/").slice(0,3).join("/"):a||"";if(e.startsWith("@")){const h=e.toString().split("@")[1].split("/")[0];CB.includes(h)&&(e=e.replace(`@${h}/`,"/"))}r.endsWith("/")||(r+="/");let[i,c]=e.replace(r,"").split("?");const d=new URLSearchParams(c);for(const[h,f]of Object.entries(n||{})){if(f==null)continue;let v;if(typeof f=="string")v=f;else if(Array.isArray(f)){for(const b of f)d.append(h,b);continue}else v=JSON.stringify(f);d.set(h,v)}if(o)if(Array.isArray(o)){const h=i.split("/").filter(f=>f.startsWith(":"));for(const[f,v]of h.entries()){const b=o[f];i=i.replace(v,b)}}else for(const[h,f]of Object.entries(o))i=i.replace(`:${h}`,String(f));i=i.split("/").map(encodeURIComponent).join("/"),i.startsWith("/")&&(i=i.slice(1));let u=d.toString();return u=u.length>0?`?${u}`.replace(/\+/g,"%20"):"",r.startsWith("http")?new URL(`${i}${u}`,r):`${r}${i}${u}`}var jx=async(e,t)=>{var a,o,n,r,i,c,d,u;const{hooks:m,url:h,options:f}=await CX(e,t),v=NX(f),b=new AbortController,w=(a=f.signal)!=null?a:b.signal,x=UX(h,f),T=LX(f),k=await MX(f),C=BX(h,f);let E=$r(Sr({},f),{url:x,headers:k,body:T,method:C,signal:w});for(const F of m.onRequest)if(F){const W=await F(E);typeof W=="object"&&W!==null&&(E=W)}("pipeTo"in E&&typeof E.pipeTo=="function"||typeof((o=t?.body)==null?void 0:o.pipe)=="function")&&("duplex"in E||(E.duplex="half"));const{clearTimeout:_}=FX(f,b);let D=await v(E.url,E);_();const R={response:D,request:E};for(const F of m.onResponse)if(F){const W=await F($r(Sr({},R),{response:(n=t?.hookOptions)!=null&&n.cloneResponse?D.clone():D}));W instanceof Response?D=W:typeof W=="object"&&W!==null&&(D=W.response)}if(D.ok){if(!(E.method!=="HEAD"))return{data:"",error:null};const W=DX(D),ae={data:null,response:D,request:E};if(W==="json"||W==="text"){const H=await D.text(),K=(r=E.jsonParser)!=null?r:vO;ae.data=await K(H)}else ae.data=await D[W]();E?.output&&E.output&&!E.disableValidation&&(ae.data=await Sf(E.output,ae.data));for(const H of m.onSuccess)H&&await H($r(Sr({},ae),{response:(i=t?.hookOptions)!=null&&i.cloneResponse?D.clone():D}));return t?.throw?ae.data:{data:ae.data,error:null}}const O=(c=t?.jsonParser)!=null?c:vO,L=await D.text(),U=OX(L),B=U?await O(L):null,z={response:D,responseText:L,request:E,error:$r(Sr({},B),{status:D.status,statusText:D.statusText})};for(const F of m.onError)F&&await F($r(Sr({},z),{response:(d=t?.hookOptions)!=null&&d.cloneResponse?D.clone():D}));if(t?.retry){const F=_X(t.retry),W=(u=t.retryAttempt)!=null?u:0;if(await F.shouldAttemptRetry(W,D)){for(const H of m.onRetry)H&&await H(R);const ae=F.getDelay(W);return await new Promise(H=>setTimeout(H,ae)),await jx(e,$r(Sr({},t),{retryAttempt:W+1}))}}if(t?.throw)throw new EX(D.status,D.statusText,U?B:L);return{data:null,error:$r(Sr({},B),{status:D.status,statusText:D.statusText})}};const $X=(e,t)=>{const a="credentials"in Request.prototype,o=QJ(e?.baseURL,e?.basePath)??"/api/auth",n=e?.plugins?.flatMap(E=>E.fetchPlugins).filter(E=>E!==void 0)||[],r={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:i,onError:c,onRequest:d,onResponse:u,...m}=e?.fetchOptions||{},h=qX({baseURL:o,...a?{credentials:"include"}:{},method:"GET",jsonParser(E){return E?nX(E,{strict:!1}):null},customFetchImpl:fetch,...m,plugins:[r,...m.plugins||[],...e?.disableDefaultFetchPlugins?[]:[ZJ],...n]}),{$sessionSignal:f,session:v}=vX(h,e),b=e?.plugins||[];let w={};const x={$sessionSignal:f,session:v},T={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},k=[{signal:"$sessionSignal",matcher(E){return E==="/sign-out"||E==="/update-user"||E==="/sign-up/email"||E==="/sign-in/email"||E==="/delete-user"||E==="/verify-email"||E==="/revoke-sessions"||E==="/revoke-session"||E==="/change-email"}}];for(const E of b)E.getAtoms&&Object.assign(x,E.getAtoms?.(h)),E.pathMethods&&Object.assign(T,E.pathMethods),E.atomListeners&&k.push(...E.atomListeners);const C={notify:E=>{x[E].set(!x[E].get())},listen:(E,_)=>{x[E].subscribe(_)},atoms:x};for(const E of b)E.getActions&&(w=yX(E.getActions?.(h,C,e)??{},w));return{get baseURL(){return o},pluginsActions:w,pluginsAtoms:x,pluginPathMethods:T,atomListeners:k,$fetch:h,$store:C}};function VX(e){return typeof e=="object"&&e!==null&&"get"in e&&typeof e.get=="function"&&"lc"in e&&typeof e.lc=="number"}function HX(e,t,a){const o=t[e],{fetchOptions:n,query:r,...i}=a||{};return o||(n?.method?n.method:i&&Object.keys(i).length>0?"POST":"GET")}function GX(e,t,a,o,n){function r(i=[]){return new Proxy(function(){},{get(c,d){if(typeof d!="string"||d==="then"||d==="catch"||d==="finally")return;const u=[...i,d];let m=e;for(const h of u)if(m&&typeof m=="object"&&h in m)m=m[h];else{m=void 0;break}return typeof m=="function"||VX(m)?m:r(u)},apply:async(c,d,u)=>{const m="/"+i.map(k=>k.replace(/[A-Z]/g,C=>`-${C.toLowerCase()}`)).join("/"),h=u[0]||{},f=u[1]||{},{query:v,fetchOptions:b,...w}=h,x={...f,...b},T=HX(m,a,h);return await t(m,{...x,body:T==="GET"?void 0:{...w,...x?.body||{}},query:v||x?.query,method:T,async onSuccess(k){if(await x?.onSuccess?.(k),!n||x.disableSignal)return;const C=n.filter(_=>_.matcher(m));if(!C.length)return;const E=new Set;for(const _ of C){const D=o[_.signal];if(!D)return;if(E.has(_.signal))continue;E.add(_.signal);const R=D.get();setTimeout(()=>{D.set(!R)},10)}}})}})}return r()}function WX(e,t={}){const a=A.useRef(e.get()),{keys:o,deps:n=[e,o]}=t,r=A.useCallback(c=>{const d=u=>{a.current!==u&&(a.current=u,c())};return d(e.value),o?.length?cX(e,o,d):e.listen(d)},n),i=()=>a.current;return A.useSyncExternalStore(r,i,i)}function KX(e){return`use${WJ(e)}`}function YX(e){const{pluginPathMethods:t,pluginsActions:a,pluginsAtoms:o,$fetch:n,$store:r,atomListeners:i}=$X(e),c={};for(const[d,u]of Object.entries(o))c[KX(d)]=()=>WX(u);return GX({...a,...c,$fetch:n,$store:r},n,t,o,i)}function QX(e){return{authorize(t,a="AND"){let o=!1;for(const[n,r]of Object.entries(t)){const i=e[n];if(!i)return{success:!1,error:`You are not allowed to access resource: ${n}`};if(Array.isArray(r))o=r.every(c=>i.includes(c));else if(typeof r=="object"){const c=r;c.connector==="OR"?o=c.actions.some(d=>i.includes(d)):o=c.actions.every(d=>i.includes(d))}else throw new Cp("Invalid access control request");if(o&&a==="OR")return{success:o};if(!o&&a==="AND")return{success:!1,error:`unauthorized to access resource "${n}"`}}return o?{success:o}:{success:!1,error:"Not authorized"}},statements:e}}function PB(e){return{newRole(t){return QX(t)},statements:e}}const ZX={user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]},_B=PB(ZX),AB=_B.newRole({user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]}),RB=_B.newRole({user:[],session:[]}),JX={admin:AB,user:RB},XX=e=>{if(e.userId&&e.options?.adminUserIds?.includes(e.userId))return!0;if(!e.permissions&&!e.permission)return!1;const t=(e.role||e.options?.defaultRole||"user").split(","),a=e.options?.roles||JX;for(const o of t)if(a[o]?.authorize(e.permission??e.permissions)?.success)return!0;return!1},eee=e=>{const t={admin:AB,user:RB,...e?.roles};return{id:"admin-client",$InferServerPlugin:{},getActions:()=>({admin:{checkRolePermission:a=>XX({role:a.role,options:{ac:e?.ac,roles:t},permissions:a.permissions??a.permission})}}),pathMethods:{"/admin/list-users":"GET","/admin/stop-impersonating":"POST"}}},tee=()=>({id:"email-otp",$InferServerPlugin:{},atomListeners:[{matcher:e=>e==="/email-otp/verify-email"||e==="/sign-in/email-otp",signal:"$sessionSignal"}]}),aee=()=>({id:"magic-link",$InferServerPlugin:{}}),oee={organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]},tE=PB(oee),DB=tE.newRole({organization:["update"],invitation:["create","cancel"],member:["create","update","delete"],team:["create","update","delete"],ac:["create","read","update","delete"]}),OB=tE.newRole({organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]}),NB=tE.newRole({organization:[],member:[],invitation:[],team:[],ac:["read"]}),nee={admin:DB,owner:OB,member:NB},ree=(e,t)=>{if(!e.permissions&&!e.permission)return!1;const a=e.role.split(","),o=e.options.creatorRole||"owner",n=a.includes(o),r=e.allowCreatorAllPermissions||!1;if(n&&r)return!0;for(const i of a)if(t[i]?.authorize(e.permissions??e.permission)?.success)return!0;return!1},see=e=>ree(e,e.options.roles||nee),iee=e=>{const t=Il(!1),a=Il(!1),o=Il(!1),n=Il(!1),r={admin:DB,member:NB,owner:OB,...e?.roles};return{id:"organization",$InferServerPlugin:{},getActions:(i,c,d)=>({$Infer:{ActiveOrganization:{},Organization:{},Invitation:{},Member:{},Team:{}},organization:{checkRolePermission:u=>see({role:u.role,options:{ac:e?.ac,roles:r},permissions:u.permissions??u.permission})}}),getAtoms:i=>{const c=fd(t,"/organization/list",i,{method:"GET"});return{$listOrg:t,$activeOrgSignal:a,$activeMemberSignal:o,$activeMemberRoleSignal:n,activeOrganization:fd([a],"/organization/get-full-organization",i,()=>({method:"GET"})),listOrganizations:c,activeMember:fd([o],"/organization/get-active-member",i,{method:"GET"}),activeMemberRole:fd([n],"/organization/get-active-member-role",i,{method:"GET"})}},pathMethods:{"/organization/get-full-organization":"GET","/organization/list-user-teams":"GET"},atomListeners:[{matcher(i){return i==="/organization/create"||i==="/organization/delete"||i==="/organization/update"},signal:"$listOrg"},{matcher(i){return i.startsWith("/organization")},signal:"$activeOrgSignal"},{matcher(i){return i.startsWith("/organization/set-active")},signal:"$sessionSignal"},{matcher(i){return i.includes("/organization/update-member-role")},signal:"$activeMemberSignal"},{matcher(i){return i.includes("/organization/update-member-role")},signal:"$activeMemberRoleSignal"}]}},lee="1.6.11",cee=e=>({id:"sso-client",version:lee,$InferServerPlugin:{},pathMethods:{"/sso/providers":"GET","/sso/get-provider":"GET"}});function Kr(e){const t=new Uint8Array(e);let a="";for(const n of t)a+=String.fromCharCode(n);return btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function av(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),a=(4-t.length%4)%4,o=t.padEnd(t.length+a,"="),n=atob(o),r=new ArrayBuffer(n.length),i=new Uint8Array(r);for(let c=0;c<n.length;c++)i[c]=n.charCodeAt(c);return r}function aE(){return dee.stubThis(globalThis?.PublicKeyCredential!==void 0&&typeof globalThis.PublicKeyCredential=="function")}const dee={stubThis:e=>e};function MB(e){const{id:t}=e;return{...e,id:av(t),transports:e.transports}}function IB(e){return e==="localhost"||/^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(e)}class ho extends Error{constructor({message:t,code:a,cause:o,name:n}){super(t,{cause:o}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=n??o.name,this.code=a}}function uee({error:e,options:t}){const{publicKey:a}=t;if(!a)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new ho({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(a.authenticatorSelection?.requireResidentKey===!0)return new ho({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&a.authenticatorSelection?.userVerification==="required")return new ho({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(a.authenticatorSelection?.userVerification==="required")return new ho({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new ho({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new ho({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return a.pubKeyCredParams.filter(n=>n.type==="public-key").length===0?new ho({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new ho({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const o=globalThis.location.hostname;if(IB(o)){if(a.rp.id!==o)return new ho({message:`The RP ID "${a.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new ho({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(a.user.id.byteLength<1||a.user.id.byteLength>64)return new ho({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new ho({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}class pee{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){const a=new Error("Cancelling existing WebAuthn API call for new one");a.name="AbortError",this.controller.abort(a)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const LB=new pee,mee=["cross-platform","platform"];function BB(e){if(e&&!(mee.indexOf(e)<0))return e}async function hee(e){!e.optionsJSON&&e.challenge&&(console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:t,useAutoRegister:a=!1}=e;if(!aE())throw new Error("WebAuthn is not supported in this browser");const o={...t,challenge:av(t.challenge),user:{...t.user,id:av(t.user.id)},excludeCredentials:t.excludeCredentials?.map(MB)},n={};a&&(n.mediation="conditional"),n.publicKey=o,n.signal=LB.createNewAbortSignal();let r;try{r=await navigator.credentials.create(n)}catch(b){throw uee({error:b,options:n})}if(!r)throw new Error("Registration was not completed");const{id:i,rawId:c,response:d,type:u}=r;let m;typeof d.getTransports=="function"&&(m=d.getTransports());let h;if(typeof d.getPublicKeyAlgorithm=="function")try{h=d.getPublicKeyAlgorithm()}catch(b){LS("getPublicKeyAlgorithm()",b)}let f;if(typeof d.getPublicKey=="function")try{const b=d.getPublicKey();b!==null&&(f=Kr(b))}catch(b){LS("getPublicKey()",b)}let v;if(typeof d.getAuthenticatorData=="function")try{v=Kr(d.getAuthenticatorData())}catch(b){LS("getAuthenticatorData()",b)}return{id:i,rawId:Kr(c),response:{attestationObject:Kr(d.attestationObject),clientDataJSON:Kr(d.clientDataJSON),transports:m,publicKeyAlgorithm:h,publicKey:f,authenticatorData:v},type:u,clientExtensionResults:r.getClientExtensionResults(),authenticatorAttachment:BB(r.authenticatorAttachment)}}function LS(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
|
|
56
56
|
`,t)}function gee(){if(!aE())return BS.stubThis(new Promise(t=>t(!1)));const e=globalThis.PublicKeyCredential;return e?.isConditionalMediationAvailable===void 0?BS.stubThis(new Promise(t=>t(!1))):BS.stubThis(e.isConditionalMediationAvailable())}const BS={stubThis:e=>e};function fee({error:e,options:t}){const{publicKey:a}=t;if(!a)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new ho({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new ho({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const o=globalThis.location.hostname;if(IB(o)){if(a.rpId!==o)return new ho({message:`The RP ID "${a.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new ho({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new ho({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}async function vee(e){!e.optionsJSON&&e.challenge&&(console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:t,useBrowserAutofill:a=!1,verifyBrowserAutofillInput:o=!0}=e;if(!aE())throw new Error("WebAuthn is not supported in this browser");let n;t.allowCredentials?.length!==0&&(n=t.allowCredentials?.map(MB));const r={...t,challenge:av(t.challenge),allowCredentials:n},i={};if(a){if(!await gee())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&o)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');i.mediation="conditional",r.allowCredentials=[]}i.publicKey=r,i.signal=LB.createNewAbortSignal();let c;try{c=await navigator.credentials.get(i)}catch(v){throw fee({error:v,options:i})}if(!c)throw new Error("Authentication was not completed");const{id:d,rawId:u,response:m,type:h}=c;let f;return m.userHandle&&(f=Kr(m.userHandle)),{id:d,rawId:Kr(u),response:{authenticatorData:Kr(m.authenticatorData),clientDataJSON:Kr(m.clientDataJSON),signature:Kr(m.signature),userHandle:f},type:h,clientExtensionResults:c.getClientExtensionResults(),authenticatorAttachment:BB(c.authenticatorAttachment)}}const bee=(e,{$listPasskeys:t,$store:a})=>({signIn:{passkey:async(r,i)=>{const c=await e("/passkey/generate-authenticate-options",{method:"GET",throw:!1});if(!c.data)return c;try{const d=await e("/passkey/verify-authentication",{body:{response:await vee({optionsJSON:c.data,useBrowserAutofill:r?.autoFill})},...r?.fetchOptions,...i,method:"POST",throw:!1});return t.set(Math.random()),a.notify("$sessionSignal"),d}catch(d){return console.error("[Better Auth] Error verifying passkey",d),{data:null,error:{code:"AUTH_CANCELLED",message:"auth cancelled",status:400,statusText:"BAD_REQUEST"}}}}},passkey:{addPasskey:async(r,i)=>{const c=await e("/passkey/generate-register-options",{method:"GET",query:{...r?.authenticatorAttachment&&{authenticatorAttachment:r.authenticatorAttachment},...r?.name&&{name:r.name}},throw:!1});if(!c.data)return c;try{const d=await hee({optionsJSON:c.data,useAutoRegister:r?.useAutoRegister}),u=await e("/passkey/verify-registration",{...r?.fetchOptions,...i,body:{response:d,name:r?.name},method:"POST",throw:!1});return u.data&&t.set(Math.random()),u}catch(d){return d instanceof ho?d.code==="ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED"?{data:null,error:{code:d.code,message:"previously registered",status:400,statusText:"BAD_REQUEST"}}:d.code==="ERROR_CEREMONY_ABORTED"?{data:null,error:{code:d.code,message:"registration cancelled",status:400,statusText:"BAD_REQUEST"}}:{data:null,error:{code:d.code,message:d.message,status:400,statusText:"BAD_REQUEST"}}:{data:null,error:{code:"UNKNOWN_ERROR",message:d instanceof Error?d.message:"unknown error",status:500,statusText:"INTERNAL_SERVER_ERROR"}}}}},$Infer:{}}),yee=()=>{const e=Il();return{id:"passkey",$InferServerPlugin:{},getActions:(t,a)=>bee(t,{$listPasskeys:e,$store:a}),getAtoms(t){return{listPasskeys:fd(e,"/passkey/list-user-passkeys",t,{method:"GET"}),$listPasskeys:e}},pathMethods:{"/passkey/register":"POST","/passkey/authenticate":"POST"},atomListeners:[{matcher(t){return t==="/passkey/verify-registration"||t==="/passkey/delete-passkey"||t==="/passkey/update-passkey"||t==="/sign-out"},signal:"$listPasskeys"},{matcher:t=>t==="/passkey/verify-authentication",signal:"$sessionSignal"}]}};function wee(e){let t=e;if(typeof e=="string")try{t=JSON.parse(e)}catch{return{}}return t&&typeof t=="object"&&!Array.isArray(t)?Object.fromEntries(Object.entries(t)):{}}function oE(e){return wee(e?.metadata).archived===!0}function FB(e){const t=new Set;return e.filter(a=>oE(a)||t.has(a.id)?!1:(t.add(a.id),!0))}const See="Organization is archived",fo=YX({plugins:[iee({}),eee(),cee(),aee(),tee(),yee()]}),Tee=8e3;let yO;function jB(){return yO??=new Promise(e=>{const t=setTimeout(e,Tee);fo.$store.listen("session",a=>{a&&typeof a=="object"&&"isPending"in a&&(a.isPending||(clearTimeout(t),e()))})}),yO}const xee=Se({data:Se({user:Se({id:$()})}).nullish()});function kee(){const e=xee.safeParse(fo.$store.atoms.session?.get());return e.success?e.data.data?.user.id:void 0}const Eee=3e4;let fp=null,Ug=null;function zB(){if(fp&&fp.expiresAt>Date.now())return Promise.resolve(fp.result);if(Ug)return Ug;const e=fo.organization.list().then(t=>{const a=t.data?{...t,data:FB(t.data)}:t;return a.data&&(fp={result:a,expiresAt:Date.now()+Eee}),a}).finally(()=>{Ug=null});return Ug=e,e}function $xe(){const e=fo.useListOrganizations(),t=e.data?FB(e.data):void 0;return{...e,data:t}}function Vxe(){fp=null}const Cee="modulepreload",Pee=function(e){return"/"+e},wO={},Fe=function(t,a,o){let n=Promise.resolve();if(a&&a.length>0){let i=function(u){return Promise.all(u.map(m=>Promise.resolve(m).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");n=i(a.map(u=>{if(u=Pee(u),u in wO)return;wO[u]=!0;const m=u.endsWith(".css"),h=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const f=document.createElement("link");if(f.rel=m?"stylesheet":Cee,m||(f.as="script"),f.crossOrigin="",f.href=u,d&&f.setAttribute("nonce",d),document.head.appendChild(f),m)return new Promise((v,b)=>{f.addEventListener("load",v),f.addEventListener("error",()=>b(Error(`Unable to preload CSS for ${u}`)))})}))}function r(i){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=i,window.dispatchEvent(c),!c.defaultPrevented)throw i}return n.then(i=>{for(const c of i||[])c.status==="rejected"&&r(c.reason);return t().catch(r)})};function _ee(e){try{return JSON.parse(e)}catch{return}}function SO(e,t){if(typeof localStorage>"u")return typeof t=="function"?t(void 0):t;const a=localStorage.getItem(e),o=a?_ee(a):void 0,n=typeof t=="function"?t(o):o??t;if(o===void 0||n!==o)try{const r=JSON.stringify(n);localStorage.setItem(e,r)}catch{}return n}function Aee(e,t){const a=ye.c(17),o=Qd();let n;a[0]!==e?(n=["localStorage",e],a[0]=e,a[1]=n):n=a[1];const r=n;let i,c;a[2]!==t||a[3]!==e?(i=()=>SO(e,t),c=()=>SO(e,t),a[2]=t,a[3]=e,a[4]=i,a[5]=c):(i=a[4],c=a[5]);let d;a[6]!==r||a[7]!==i||a[8]!==c?(d={queryKey:r,queryFn:i,initialData:c,staleTime:1/0,gcTime:1/0},a[6]=r,a[7]=i,a[8]=c,a[9]=d):d=a[9];const{data:u}=Ki(d);let m;a[10]!==e||a[11]!==o||a[12]!==r?(m=b=>{const w=o.getQueryData(r),x=typeof b=="function"?b(w):b;if(typeof localStorage<"u")try{localStorage.setItem(e,JSON.stringify(x))}catch{}o.setQueryData(r,x)},a[10]=e,a[11]=o,a[12]=r,a[13]=m):m=a[13];const h=m,f=u;let v;return a[14]!==h||a[15]!==f?(v=[f,h],a[14]=h,a[15]=f,a[16]=v):v=a[16],v}const Nr={chatSelectedImageModel:e=>`studio:chat:selectedImageModel:${e}`,chatSelectedWebSearchModel:e=>`studio:chat:selectedWebSearchModel:${e}`,chatSelectedDeepResearchModel:e=>`studio:chat:selectedDeepResearchModel:${e}`,chatSimpleModeTier:e=>`studio:chat:simpleModeTier:${e}`,chatAutosend:(e,t)=>`studio:chat:autosend:${e}:${t}`,chatThreadIntent:(e,t)=>`studio:chat:threadIntent:${e}:${t}`,homeTaskMode:e=>`home-task-mode:${e}`,chatDraft:(e,t)=>`studio:chat:draft:${e}:${t}`,taskBoardPrs:e=>`studio:task-board-prs:${e}`,taskFeedBehindTheScenes:()=>"studio:task-feed:behind-the-scenes",taskBoardAssignee:(e,t)=>`studio:task-board-assignee:${e}:${t}`,recentApps:e=>`studio:recent-apps:${e}`,recentProjects:e=>`studio:recent-projects:${e}`,recentOrgs:()=>"studio:recent-orgs",railOrgPrefs:()=>"studio:rail-org-prefs",sidePanelWidth:()=>"studio:side-panel:width",sidebarOpen:()=>"studio:sidebar-open",preferences:()=>"studio:user:preferences",lastOrgSlug:()=>"studio:last-org-slug",lastLocation:()=>"studio:last-location",connectionsTab:e=>`studio:connections:tab:${e}`,taskLastViewed:e=>`studio:chat:task-last-viewed:${e}`,sidebarSectionOpen:(e,t)=>`studio:sidebar:section-open:${e}:${t}`,ptBrAnnouncementSeen:e=>`studio:announcement:pt-br:${e}`,legacyAdminArrival:()=>"studio:legacy-admin-arrival",localPreviewUrl:e=>`studio:local-preview-url:${e}`,previewDeviceSize:e=>`studio:preview:device-size:${e}`,previewEditingMode:e=>`studio:preview:editing-mode:${e}`,previewAppLayout:e=>`studio:preview:app-layout:${e}`,arrayFieldLayout:()=>"studio:cms:array-field-layout",decoServeConnection:(e,t)=>`studio:deco-serve-connection:${e}:${t}`,decoServeEndpoint:(e,t)=>`studio:deco-serve-endpoint:${e}:${t}`},qB=["en","pt-BR"],Hxe={en:"en-US","pt-BR":"pt-BR"};function nE(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const Ree={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:nE(),taskBoardLaneVisibility:{},collapsedTaskBoardLanes:[],contentFullscreen:!1},UB=["auto","readonly"],Gxe=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],Dee=["light","dark","system"];function Wxe(){try{const e=JSON.parse(localStorage.getItem(Nr.preferences())??"{}");if(UB.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function cb(){try{const e=JSON.parse(localStorage.getItem(Nr.preferences())??"{}");if(qB.includes(e.language))return e.language}catch{}return nE()}function Oee(e){const t={};if(Array.isArray(e.shownTaskBoardLanes))for(const o of e.shownTaskBoardLanes)typeof o=="string"&&(t[o]=!0);const a=e.taskBoardLaneVisibility;if(a&&typeof a=="object"&&!Array.isArray(a))for(const[o,n]of Object.entries(a))typeof n=="boolean"&&(t[o]=n);return t}function rE(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=Nr.preferences(),e[0]=t):t=e[0],Aee(t,Nee)}function Nee(e){const t={...Ree,...e};return"showProjectSettingsGear"in t&&delete t.showProjectSettingsGear,"compactPageLayout"in t&&delete t.compactPageLayout,"projectFirstNav"in t&&delete t.projectFirstNav,UB.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),Dee.includes(t.theme)||(t.theme="system"),qB.includes(t.language)||(t.language=nE()),t.taskBoardLaneVisibility=Oee(t),"shownTaskBoardLanes"in t&&delete t.shownTaskBoardLanes,Array.isArray(t.collapsedTaskBoardLanes)||(t.collapsedTaskBoardLanes=[]),typeof t.contentFullscreen!="boolean"&&(t.contentFullscreen=!1),t}const Mee={"page.overview":"Overview","page.app":"App","page.view":"View","page.file":"File","page.document":"Document","page.businessCase":"Business case","page.item":"Item","page.breadcrumbs":"Breadcrumbs","page.breadcrumbMenu":"Show navigation path","page.views":"Page views","page.openThread":"Open chat","page.closeThread":"Close chat","page.enterFullscreen":"Expand","page.exitFullscreen":"Show chat","page.openMainPanel":"Open panel","page.closeMainPanel":"Close","page.collapseSidebar":"Collapse sidebar","page.expandSidebar":"Expand sidebar"},Iee={"projects.overview.metrics":"Metrics","projects.platform.vtex":"VTEX","projects.platform.shopify":"Shopify","projects.platform.wake":"Wake","projects.platform.nuvemshop":"Nuvemshop","projects.platform.linx":"Linx","projects.platform.vnda":"VNDA","projects.home.newProject":"New project","projects.card.updated":"Updated {time}","projects.empty.title":"Your commerce, one project at a time","projects.empty.description":"A site, an app, a store. Each one keeps its own connections, report and board.","projects.empty.readOnly":"Ask an admin to create the first project.","projects.new.title":"New project","projects.new.subtitle":"What are you setting up?","projects.new.back":"Back","projects.new.create":"Create project","projects.new.creating":"Creating…","projects.new.nameLabel":"Project name","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Give the project a name","projects.new.failed":"Couldn't create the project","projects.new.created":"{title} is ready","projects.new.path.repository":"Import a codebase","projects.new.path.repository.hint":"Bring a storefront or app codebase in","projects.new.path.folder":"New project folder","projects.new.path.folder.hint":"Name it now, connect it later","projects.new.step.folder.title":"Name your project","projects.reports.chooserTitle":"Continue to Reports","projects.reports.chooserSubtitle":"Choose a project to continue","projects.reports.chooserSearch":"Find project…","projects.reports.chooserEmpty":"No project by that name.","projects.reports.status.ready":"Ready","projects.reports.status.running":"Running","projects.reports.status.none":"Not run","projects.reports.status.locked":"Locked","projects.connections.orgWide":"Organization-wide","projects.connections.usedBy":"{count} projects","projects.settings.title":"Projects","projects.settings.searchPlaceholder":"Search projects…","projects.settings.open":"Open","projects.settings.openSettings":"Settings","projects.settings.noResults":"No projects match “{search}”","projects.identity.storeUrlLabel":"Store URL","projects.identity.storeUrlDescription":"The live storefront. Reports run against this address.","projects.apps.reports":"Report","projects.apps.blog":"Blog","projects.apps.siteEditor":"Site editor","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"End-to-end tests","projects.apps.automations":"Automations","projects.apps.calendar":"Calendar","projects.apps.experiments":"Experiments"},Lee={"virtualMcp.settings.assetStorage.label":"CMS Asset Storage","virtualMcp.settings.assetStorage.description":"Choose where this project browses and uploads images and files. Existing content URLs stay unchanged.","virtualMcp.settings.assetStorage.automatic":"Automatic (match the site)","virtualMcp.settings.assetStorage.missing":"The selected asset storage is unavailable. Choose another storage in project settings.","virtualMcp.settings.assetStorage.loading":"Loading storage configurations…","virtualMcp.settings.assetStorage.loadError":"Could not load storage configurations.","virtualMcp.addConnectionDialog.addConnectionTitle":"Add Connection","virtualMcp.addConnectionDialog.authenticationFailedError":"Authentication failed: {error}","virtualMcp.addConnectionDialog.connected":"Connected","virtualMcp.addConnectionDialog.connectedAuthenticated":"Connected and authenticated","virtualMcp.addConnectionDialog.connectionsTitle":"Connections","virtualMcp.addConnectionDialog.failedToAddConnection":"Failed to add connection","virtualMcp.addConnectionDialog.failedToConnect":"Failed to connect","virtualMcp.addConnectionDialog.mcpServerConnectionError":"This MCP Server cannot be connected: no connection method available","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Search connections...","virtualMcp.addConnectionDialog.signInFailedDescription":"It was added to your project, but its sign-in setup looks off. You can try authenticating again later from the connection's settings. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Couldn't sign in to this connection","virtualMcp.connectionDialogContent.add":"Add","virtualMcp.connectionDialogContent.added":"Added","virtualMcp.connectionDialogContent.builtByDeco":"Built and maintained by Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Built and maintained by the official vendor","virtualMcp.connectionDialogContent.connect":"Connect","virtualMcp.connectionDialogContent.connected":"Connected","virtualMcp.connectionDialogContent.customConnection":"Custom Connection","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"No connections available","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"No connections yet","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'No connections match "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Made by Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"All connections","virtualMcp.connectionDialogContent.sectionVerified":"Verified","virtualMcp.connectionDialogContent.tabAll":"All","virtualMcp.connectionDialogContent.tabConnected":"Connected","virtualMcp.connectionDialogContent.verifiedByDeco":"Verified by the Deco team","virtualMcp.connectionItem.authorize":"Authorize","virtualMcp.connectionItem.configureResources":"Configure resources","virtualMcp.connectionItem.connectionDisabled":"Connection disabled","virtualMcp.connectionItem.connectionEnabled":"Connection enabled","virtualMcp.connectionItem.connectionNotFound":"Connection not found","virtualMcp.connectionItem.connectionSettings":"Connection settings","virtualMcp.connectionItem.disable":"Disable","virtualMcp.connectionItem.disableConnection":"Disable connection","virtualMcp.connectionItem.disabled":"Disabled","virtualMcp.connectionItem.disabledError":"Disabled (error)","virtualMcp.connectionItem.enable":"Enable","virtualMcp.connectionItem.failedToUpdateConnection":"Failed to update connection","virtualMcp.connectionItem.needsAuthorization":"Needs authorization","virtualMcp.connectionItem.newInstance":"New instance","virtualMcp.connectionItem.remove":"Remove","virtualMcp.connectionItem.removeConnection":"Remove connection","virtualMcp.dependencySelectionDialog.authorizationDescription":"This connection needs to be authorized before you can configure its tools and resources.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Authorization required","virtualMcp.dependencySelectionDialog.authorize":"Authorize","virtualMcp.dependencySelectionDialog.deselectAll":"Deselect all","virtualMcp.dependencySelectionDialog.done":"Done","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"No active tools selected","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"No prompts available","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"No resources available","virtualMcp.dependencySelectionDialog.noToolsAvailable":"No tools available","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts not supported by this server","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Resources not supported by this server","virtualMcp.dependencySelectionDialog.selectAll":"Select all","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Something went wrong","virtualMcp.dependencySelectionDialog.tabActive":"Active","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Resources","virtualMcp.dependencySelectionDialog.tabTools":"Tools","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Tools not supported by this server","virtualMcp.dependencySelectionDialog.unexpectedError":"An unexpected error occurred","virtualMcp.filesSection.add":"Add","virtualMcp.filesSection.description":"Attach files and skills the project can always reference.","virtualMcp.filesSection.failedUploadFile":"Failed to upload file.","virtualMcp.filesSection.fileTooLargeDescription":"Exceeds the 25MB limit, not uploaded: {names}","virtualMcp.filesSection.fileTooLargeTitle":"File too large","virtualMcp.filesSection.filesAndSkills":"Files and skills","virtualMcp.filesSection.kindFile":"File","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"No files found.","virtualMcp.filesSection.noFilesOrSkillsYet":"No files or skills yet. Add one or drag and drop here.","virtualMcp.filesSection.noSkillsFound":"No skills found.","virtualMcp.filesSection.removeAriaLabel":"Remove {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Search files...","virtualMcp.filesSection.searchSkillsPlaceholder":"Search skills...","virtualMcp.filesSection.selectFileOrFolder":"Select file or folder","virtualMcp.filesSection.selectSkill":"Select skill","virtualMcp.filesSection.uploadFile":"Upload file","virtualMcp.layoutTabContent.noMainView":"No main view","virtualMcp.layoutTabContent.automations":"Automations","virtualMcp.layoutTabContent.chatAlwaysShown":"Chat is always shown when it is the default view","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Main view","virtualMcp.layoutTabContent.mainViewDescription":"What users see when they first open this project.","virtualMcp.layoutTabContent.settings":"Settings","virtualMcp.layoutTabContent.showChat":"Show chat","virtualMcp.layoutTabContent.showChatDescription":"Display Chat in the side panel alongside the main view.","virtualMcp.layoutTabContent.siteEditor":"Site Editor","virtualMcp.settings.title":"Project settings","virtualMcp.settings.navigation":"Project settings sections","virtualMcp.settings.identity.icon":"Project icon","virtualMcp.settings.identity.iconDescription":"How your project appears in the sidebar and across Studio.","virtualMcp.settings.identity.name":"Project name","virtualMcp.settings.identity.description":"Description","virtualMcp.settings.repository.title":"Repository","virtualMcp.settings.repository.description":"The code this project is, and how its sandbox runs it.","virtualMcp.settings.repository.repoTitle":"Repository","virtualMcp.settings.repository.runtimeTitle":"How it runs","virtualMcp.settings.repository.runtimeDescription":"What the sandbox installs and starts to preview this project.","virtualMcp.settings.pageTitle":"Project settings","virtualMcp.settings.views.title":"Views","virtualMcp.settings.views.description":"What opens first, and which views the sidebar shows.","virtualMcp.settings.cmsEmptyTitle":"No site content yet","virtualMcp.settings.repository.open":"Go to Repository","virtualMcp.settings.repository.none":"No repository connected","virtualMcp.settings.repository.noneDescription":"Connect a GitHub repository to edit and preview this project's site.","virtualMcp.settings.repository.connect":"Connect repository","virtualMcp.settings.repository.change":"Change","virtualMcp.settings.repository.connected":"Connected {name}","virtualMcp.settings.cmsEmpty":"Connect the site's repository to turn the CMS on.","virtualMcp.settings.general.title":"General","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site and sandbox","virtualMcp.settings.blocksV8Site.label":"Blocks v8 site","virtualMcp.settings.blocksV8Site.description":"Edit this site with the Blocks v8 editor and hosted CMS. Off: v7, git-backed.","virtualMcp.settings.groups.advanced":"Advanced","virtualMcp.settings.groups.details":"Details","virtualMcp.settings.connections.title":"Connections","virtualMcp.settings.views.defaults":"Default layout","virtualMcp.settings.views.sidebar":"Views","virtualMcp.settings.views.open":"Open","virtualMcp.settings.views.pin":"Pin to sidebar","virtualMcp.settings.views.unpin":"Remove from sidebar","virtualMcp.settings.views.setMainView":"Set as main view","virtualMcp.settings.views.rowActions":"View options","virtualMcp.virtualMcp.addConnection":"Add connection","virtualMcp.virtualMcp.agentDeleted":'Deleted "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agent","virtualMcp.virtualMcp.agentNamePlaceholder":"Project name","virtualMcp.virtualMcp.authenticationFailed":"Authentication failed: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Authentication successful","virtualMcp.virtualMcp.backToSpaces":"Back to spaces","virtualMcp.virtualMcp.cancel":"Cancel","virtualMcp.virtualMcp.connect":"Connect","virtualMcp.virtualMcp.connections":"Connections","virtualMcp.virtualMcp.created":"Created","virtualMcp.virtualMcp.createdBy":"Created by","virtualMcp.virtualMcp.delete":"Delete","virtualMcp.virtualMcp.deleteAgent":"Delete project","virtualMcp.virtualMcp.deleteAgentConfirm":"Delete Project?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"This action cannot be undone. This will permanently delete {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Permanently delete this project and all its data.","virtualMcp.virtualMcp.descriptionPlaceholder":"Add a description...","virtualMcp.virtualMcp.failedToCreateInstance":"Failed to create instance","virtualMcp.virtualMcp.fullscreen":"Fullscreen","virtualMcp.virtualMcp.improve":"Improve","virtualMcp.virtualMcp.instanceAlreadyAdded":"This instance is already added to the project","virtualMcp.virtualMcp.instructions":"Instructions","virtualMcp.virtualMcp.instructionsPlaceholder":"Define how this agent should behave, what tone to use, any constraints or guidelines...","virtualMcp.virtualMcp.lastUsedLabel":"Last used","virtualMcp.virtualMcp.neverUsed":"Never used","virtualMcp.virtualMcp.newInstanceCreated":"New instance created","virtualMcp.virtualMcp.noConnectionsYet":"No connections yet. Add one to get started.","virtualMcp.virtualMcp.openFullscreenEditor":"Open fullscreen editor","virtualMcp.virtualMcp.promptTemplate":"+ Prompt template","virtualMcp.virtualMcp.promptTemplateContent":`<role>
|
|
57
57
|
Define who this agent is and what it specializes in.
|
|
58
58
|
Example: You are a support triage agent for B2B merchants.
|
|
@@ -89,7 +89,7 @@ or one per line`,"common.inviteMemberDialog.errorAlreadyInvited":"{email} alread
|
|
|
89
89
|
|
|
90
90
|
Sections that carry it: {sections}. How many of each, and in what order, depends on the theme.`,"sandbox.formats.starterBodyNoSections":`Use this for a straightforward post: open with the subject and why it matters to the reader, develop it in a few short passages, and close with what to do next.
|
|
91
91
|
|
|
92
|
-
This site reports no post sections yet — once it does, cite them here with @.`,"sandbox.formats.starterName":"Standard post","sandbox.formats.suggestButton":"Suggest formats","sandbox.formats.suggestFailed":"Couldn't suggest formats","sandbox.formats.suggestHint":"Name the formats this blog already writes in, from how its posts are built","sandbox.formats.suggested":"{count} format(s) added","sandbox.formats.unknownCitations":"This format cites sections the site doesn't have: {names}","sandbox.generatePost.stepCampaign":"Campaign","sandbox.generatePost.campaignHint":"A post is written for a campaign: it carries the moment, the products it may name and the links to them.","sandbox.generatePost.noCampaigns":"No campaign to write for yet. Create one under Context → Campaigns.","sandbox.generatePost.campaignProducts":"{count} product(s)","sandbox.generatePost.campaignNoProducts":"No products","sandbox.generatePost.formatBlocksHint":"The blocks this format cites are the only ones a post may be built from, and each is filled to its own schema.","sandbox.generatePost.countLabel":"How many drafts","sandbox.generatePost.countHint":"Each takes a different angle on the same campaign. They land as separate cards.","sandbox.generatePost.coverHint":"Every draft gets a cover image, generated and uploaded to your bucket.","sandbox.generatePost.gapNoStoreData":"No connected system answered, so nothing in these posts was checked against the store.","sandbox.generatePost.gapSectionsDropped":"{count} section(s) were dropped: their props did not match the block that renders them.","sandbox.generatePost.gapNoBucket":"No bucket to upload images to, so the posts have no cover. Configure one under Settings → Buckets.","sandbox.generatePost.gapNoImageModel":"This organization has no image model configured, so the posts have no cover.","sandbox.generatePost.gapImagesFailed":"The cover images could not be generated. The posts are otherwise complete.","sandbox.generatePost.gapDraftsFailed":"{count} draft(s) could not be written and their cards were left empty.","sandbox.generatePost.back":"Back","sandbox.generatePost.blockedBrand":"Fill in {fields} on the Brand tab first — a post written without them reads like any other brand's.","sandbox.generatePost.done":"Wrote {count} draft(s) — ready for review","sandbox.generatePost.extraLabel":"Anything else?","sandbox.generatePost.extraPlaceholder":"What you want on top of everything else, in your words.","sandbox.generatePost.failed":"Could not write these posts","sandbox.generatePost.formatHint":"Pick a format this brand already uses, or describe a new one.","sandbox.generatePost.formatNameLabel":"Format name","sandbox.generatePost.formatNamePlaceholder":"The format, named by the job it does","sandbox.generatePost.formatValueLabel":"How a post like this is built","sandbox.generatePost.formatValuePlaceholder":"How it opens, develops and closes.","sandbox.generatePost.generate":"Generate {count} draft(s)","sandbox.generatePost.next":"Next","sandbox.generatePost.stepExtra":"Instructions","sandbox.generatePost.stepFormat":"Format","sandbox.generatePost.subtitle":"Pick the campaign and the format. The posts land on the board as drafts.","sandbox.generatePost.title":"Generate posts","sandbox.itemActions.addVariant":"Add variant","sandbox.itemActions.delete":"Delete","sandbox.itemActions.discardChanges":"Discard changes","sandbox.itemActions.duplicate":"Duplicate","sandbox.itemActions.editSeo":"Edit SEO","sandbox.itemActions.moreActions":"More actions","sandbox.itemActions.rename":"Rename","sandbox.itemActions.viewJson":"View JSON","sandbox.itemRow.duplicateName":"Another record uses this name","sandbox.itemRow.missingFields":"Missing: {fields}","sandbox.itemRow.selectItem":"Select {title}","sandbox.itemRow.variantCount":"{count} variants","sandbox.listBlocks.addCard":"Add card","sandbox.listBlocks.addItem":"Add item","sandbox.listBlocks.addStat":"Add stat","sandbox.listBlocks.addStep":"Add step","sandbox.listBlocks.cardBody":"Card body","sandbox.listBlocks.cardTitle":"Card title","sandbox.listBlocks.checklistItem":"Checklist item","sandbox.listBlocks.checklistTitle":"Checklist title (optional)","sandbox.listBlocks.columnTitle":"Column title","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Label","sandbox.listBlocks.optionA":"Option A","sandbox.listBlocks.optionB":"Option B","sandbox.listBlocks.removeCard":"Remove card","sandbox.listBlocks.removeItem":"Remove item","sandbox.listBlocks.removeStat":"Remove stat","sandbox.listBlocks.removeStep":"Remove step","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Step description","sandbox.listBlocks.stepTitle":"Step title","sandbox.listBlocks.stepsTitle":"Steps title (optional)","sandbox.mediaBlocks.addCaption":"Add a caption…","sandbox.mediaBlocks.altText":"Alt text (accessibility)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Button label","sandbox.mediaBlocks.calloutText":"Callout text…","sandbox.mediaBlocks.calloutTitle":"Callout title","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://destination-url.com","sandbox.linkSuggest.button":"Suggest links","sandbox.linkSuggest.hint":"Find phrases to link to your other posts (uses AI credits)","sandbox.linkSuggest.noCandidates":"No other posts to link to yet","sandbox.linkSuggest.title":"Suggested internal links","sandbox.linkSuggest.description":"Pick which phrases to link to your other posts. Nothing changes until you apply.","sandbox.linkSuggest.none":"No internal links to suggest.","sandbox.linkSuggest.apply":"Apply {count}","sandbox.linkSuggest.applied":"Applied {count} link(s)","sandbox.linkSuggest.failed":"Could not suggest links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Product","sandbox.linkPicker.searchPosts":"Search your posts…","sandbox.linkPicker.noPosts":"No matching posts","sandbox.linkPicker.searchProducts":"Search your catalog…","sandbox.linkPicker.searching":"Searching…","sandbox.linkPicker.noProducts":"No matching products","sandbox.mediaBlocks.divider":"Divider","sandbox.mediaBlocks.fullWidth":"Full width","sandbox.mediaBlocks.highPriority":"Priority","sandbox.mediaBlocks.highPriorityHint":"Loads eagerly with high fetch priority. Use for images above the fold.","sandbox.mediaBlocks.label":"Label","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Optional description","sandbox.mediaBlocks.pasteVideoUrl":"Paste a YouTube or Vimeo URL to preview","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Video","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancel","sandbox.pageFormDialog.labelName":"Name","sandbox.pageFormDialog.labelPath":"Path","sandbox.pageFormDialog.labelTemplate":"Template","sandbox.pageFormDialog.pendingCreate":"Creating…","sandbox.pageFormDialog.pendingDuplicate":"Duplicating…","sandbox.pageFormDialog.pendingSave":"Saving…","sandbox.pageFormDialog.placeholderName":"My page","sandbox.pageFormDialog.placeholderPath":"/example","sandbox.pageFormDialog.submitCreate":"Create","sandbox.pageFormDialog.submitDuplicate":"Duplicate","sandbox.pageFormDialog.submitSave":"Save","sandbox.pageFormDialog.titleCreate":"Create new page","sandbox.pageFormDialog.titleDuplicate":"Duplicate page","sandbox.pageFormDialog.titleRename":"Rename page","sandbox.pathParamPickerChip.buttonTitle":"Value for {paramLabel} — click to pick","sandbox.pathParamPickerChip.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categories","sandbox.pathParamPickerChip.kindCategoryNoun":"category","sandbox.pathParamPickerChip.kindProductHeading":"Products","sandbox.pathParamPickerChip.kindProductNoun":"product","sandbox.pathParamPickerChip.loading":"Loading {noun}…","sandbox.pathParamPickerChip.noResults":"No results.","sandbox.pathParamPickerChip.pickValueHeading":"Pick a value for","sandbox.pathParamPickerChip.pickValueTitle":"Pick a value for {paramLabel}","sandbox.pathParamPickerChip.searchBlogPlaceholder":"Search posts, categories or authors, or enter a value…","sandbox.pathParamPickerChip.searchPlaceholder":"Search {options} or enter a value…","sandbox.pathParamPickerChip.useRawValue":'Use "{rawTerm}" as {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Bulleted","sandbox.plainBlocks.codePlaceholder":"Code","sandbox.plainBlocks.headingLevel1":"Heading 1","sandbox.plainBlocks.headingLevel2":"Heading 2","sandbox.plainBlocks.headingLevel3":"Heading 3","sandbox.plainBlocks.headingLevel4":"Heading 4","sandbox.plainBlocks.headingPlaceholder":"Heading","sandbox.plainBlocks.languagePlaceholder":"language","sandbox.plainBlocks.listItemPlaceholder":"List item","sandbox.plainBlocks.numberedLabel":"Numbered","sandbox.plainBlocks.quotePlaceholder":"Quote","sandbox.postBoard.close":"Close","sandbox.postBoard.archived":"Moved to Archived","sandbox.postBoard.collapse":"Collapse to panel","sandbox.postBoard.collapseLane":"Collapse {lane}","sandbox.postBoard.delete":"Delete","sandbox.postBoard.emptyDescription":"Generate a few ideas and shape them into published posts.","sandbox.postBoard.emptyTitle":"No posts yet","sandbox.postBoard.duplicateTitle":"Duplicate title","sandbox.postBoard.expand":"Expand to full page","sandbox.postBoard.expandLane":"Expand {lane}","sandbox.postBoard.laneEmpty":"Nothing here yet","sandbox.postBoard.laneArchived":"Archived","sandbox.postBoard.laneGenerating":"Generating","sandbox.postBoard.laneDraft":"Draft","sandbox.postBoard.laneAwaitingReview":"Awaiting review","sandbox.postBoard.lanePublished":"Published","sandbox.postBoard.laneScheduled":"Scheduled","sandbox.postBoard.moveBlocked":"This post is missing required fields — open it to finish before scheduling.","sandbox.postBoard.moveFailed":"Could not move this post","sandbox.postBoard.moveInFlight":"Still moving this post…","sandbox.postBoard.moveNotATarget":"Generating is set by the generation run, not by hand.","sandbox.postBoard.nIssues":"{count} to fix before scheduling","sandbox.postBoard.newPost":"New post","sandbox.postBoard.newPostGenerate":"Generate","sandbox.postBoard.newPostGenerateHint":"Write it with AI, from your context","sandbox.postBoard.newPostWrite":"Write","sandbox.postBoard.newPostWriteHint":"Start an empty draft yourself","sandbox.postBoard.importContent":"Import content","sandbox.postBoard.importContentHint":"Bring in HTML or Markdown you already wrote","sandbox.postBoard.importTitle":"Import content","sandbox.postBoard.importDescription":"Paste HTML or Markdown you already wrote. It becomes an editable draft in your design system — no AI, no credits.","sandbox.postBoard.importUpload":"Upload a file","sandbox.postBoard.importRun":"Import","sandbox.postBoard.importEmpty":"Nothing to import — the content was empty.","sandbox.postBoard.imported":"Imported — review and publish.","sandbox.postBoard.readyToSchedule":"Ready to schedule","sandbox.postBoard.selectPrompt":"Select a post to view it here.","sandbox.postBoard.untitled":"Untitled post","sandbox.postBoard.generatingLabel":"Generating…","sandbox.postBoard.usesCredits":"Uses AI credits","sandbox.postBoard.viewBoard":"Board","sandbox.postBoard.viewList":"List","sandbox.postCalendar.couldNotCreate":"Could not create","sandbox.postCalendar.couldNotReschedule":"Could not reschedule","sandbox.postCalendar.createdScheduledPost":"Created scheduled post","sandbox.postCalendar.legendScheduled":"Scheduled","sandbox.postCalendar.legendUnscheduled":"Not scheduled","sandbox.postCalendar.next":"Next month","sandbox.postCalendar.onlyScheduledCanMove":"Only scheduled posts can be moved.","sandbox.postCalendar.previous":"Previous month","sandbox.postCalendar.schedulePostOn":"Schedule a post on {date}","sandbox.postCalendar.today":"Today","sandbox.postCalendar.unscheduledHint":"Dashed posts aren't scheduled — they sit on their display date, and nothing will publish them.","sandbox.postCalendar.undatedEmpty":"Every post has a date.","sandbox.postCalendar.undatedLabel":"No date · {count}","sandbox.postEditor.addPropLabel":"Add prop","sandbox.postEditor.authorsLabel":"Authors","sandbox.postEditor.categoriesLabel":"Categories","sandbox.postEditor.contentTab":"Content","sandbox.postEditor.coverAltDescription":"Describes the image for screen readers and when it fails to load. Empty: the post title is used.","sandbox.postEditor.coverAltLabel":"Cover image alt text","sandbox.postEditor.coverImageLabel":"Cover image","sandbox.postEditor.dateLabel":"Date","sandbox.postEditor.deletePost":"Delete post","sandbox.postEditor.deletePostCancel":"Cancel","sandbox.postEditor.deletePostConfirmBody":`"{title}" will be removed permanently. This can't be undone.`,"sandbox.postEditor.deletePostConfirmBodyDraft":'"{title}" will be removed from your draft. Nothing goes live until you publish, and until then you can bring it back by discarding this change in Publish.',"sandbox.postEditor.deletePostConfirmBodyNeverPublished":`"{title}" will be removed from your draft. It was never published, so nothing changes on the live site, and once removed it can't be brought back.`,"sandbox.postEditor.deletePostConfirmTitle":"Delete this post?","sandbox.postEditor.deletePostFailed":"Delete failed","sandbox.postEditor.deletePostSuccess":'Deleted "{title}"',"sandbox.postEditor.deletingPost":"Deleting…","sandbox.postEditor.duplicateTitleWarning":"Another post already uses this title. Duplicate titles compete with each other in search.","sandbox.postEditor.excerptLabel":"Excerpt","sandbox.postEditor.extraPropsLabel":"Extra props","sandbox.postEditor.issuePlural":"issues","sandbox.postEditor.issueSingular":"issue","sandbox.postEditor.keyPlaceholder":"key","sandbox.postEditor.legacyCodeBlock":"Code block","sandbox.postEditor.legacyContentPlaceholder":"Write the post…","sandbox.postEditor.legacyImageDataUrl":"Pasted image data isn't kept in the post. Upload the image or use its address.","sandbox.postEditor.legacyInsertImage":"Insert image from the library","sandbox.postEditor.legacyInsertImageUrl":"Insert image from a URL","sandbox.postEditor.legacySectionsNotice":"This post also has {count} blocks from the block editor. They are kept as they are; this editor only changes the HTML body.","sandbox.postEditor.missingFieldPlural":"Missing required fields: {fields}","sandbox.postEditor.missingFieldSingular":"Missing required field: {fields}","sandbox.postEditor.noAuthorsYet":"No authors yet — create some in the authors collection.","sandbox.postEditor.noCategoriesYet":"No categories yet — create some in the categories collection.","sandbox.postEditor.noContentYet":"This post has no content yet. Use ⊕ to add your first block.","sandbox.postEditScreen.notFound":"This post no longer exists","sandbox.postEditScreen.notFoundHint":"It may have been deleted, or the link points at an id this site does not have.","sandbox.postEditScreen.edit":"Edit","sandbox.postEditScreen.preview":"Preview","sandbox.postEditScreen.resizeSplit":"Resize the editor and the preview","sandbox.postEditScreen.resizeSplitHint":"Drag to resize. Double-click to reset.","sandbox.postPreview.desktop":"Desktop","sandbox.postPreview.frameTitle":"Post preview","sandbox.postPreview.missingParams":"Not enough to build the URL","sandbox.postPreview.missingParamsHint":"Set the post's slug, and its category when the blog route uses one.","sandbox.postPreview.mobile":"Mobile","sandbox.postPreview.noOrigin":"Waiting for the site","sandbox.postPreview.noOriginHint":"The preview appears once this project's site is serving.","sandbox.postPreview.noRoute":"This site has no blog post page","sandbox.postPreview.noRouteHint":"Add a page with the blog post section, or set the blog app's pageSlug, and the preview can render.","sandbox.postPreview.openInNewTab":"Open in new tab","sandbox.postPreview.refresh":"Refresh","sandbox.postEditor.postTitlePlaceholder":"Post title","sandbox.postEditor.readTimeLabel":"Read time (minutes)","sandbox.postEditor.previewRequiresSlugAndCategory":"Set the post slug (and its category) plus the blog app's pageSlug to preview","sandbox.postEditor.previewTooltip":"Open the post preview in a new tab","sandbox.postEditor.scheduledDatetimeDescription":"When this post goes live. The site publishes it on its own once this moment passes.","sandbox.postEditor.scheduledDatetimeLabel":"Goes live at","sandbox.postEditor.removePropLabel":"Remove prop","sandbox.postEditor.seePreview":"See preview","sandbox.postEditor.selectAuthorsPlaceholder":"Select authors","sandbox.postEditor.selectCategoriesPlaceholder":"Select categories","sandbox.postEditor.seoCanonicalLabel":"Canonical URL","sandbox.postEditor.seoCanonicalPlaceholder":"https://example.com/blog/my-post","sandbox.postEditor.seoDescriptionLabel":"SEO description","sandbox.postEditor.seoImageLabel":"SEO image","sandbox.postEditor.seoNoIndexingLabel":"Hide from search engines (noindex)","sandbox.postEditor.seoSectionHint":"Overrides how this post appears in search engines. Empty fields fall back to the post's title, excerpt and cover image.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"SEO title","sandbox.postEditor.settingsTab":"Settings","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"That slug was already taken — saved as “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"my-post","sandbox.postEditor.valuePlaceholder":"value","sandbox.postList.noMatches":"No posts match your search or filters.","sandbox.postToolbar.allPosts":"All posts","sandbox.postToolbar.archiveSelected":"Archive selected","sandbox.postToolbar.archiveSelectedPosts":"Archive selected posts","sandbox.postToolbar.authorLabel":"Author","sandbox.postToolbar.categoryLabel":"Category","sandbox.postToolbar.clearFilter":"Clear filter","sandbox.postToolbar.deselectAll":"Deselect all","sandbox.postToolbar.deselectAllPosts":"Deselect all posts","sandbox.postToolbar.exitSelection":"Exit selection","sandbox.postToolbar.filterBy":"Filter by","sandbox.postToolbar.filterLabel":"Filter","sandbox.postToolbar.itemsSelected":"{count} selected","sandbox.postToolbar.clearSearch":"Clear search","sandbox.postToolbar.searchAriaLabel":"Search posts","sandbox.postToolbar.searchPlaceholder":"Search posts","sandbox.postToolbar.selectAll":"Select all","sandbox.postToolbar.selectAllPosts":"Select all posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Sort by","sandbox.postToolbar.sortNewest":"Newest","sandbox.postToolbar.sortNewestFirst":"Newest first","sandbox.postToolbar.sortOldest":"Oldest","sandbox.postToolbar.sortOldestFirst":"Oldest first","sandbox.postToolbar.sortTitleAZ":"Title A–Z","sandbox.postToolbar.sortTitleZA":"Title Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"path","sandbox.preview.choosePage":"Choose page","sandbox.preview.clickElementToAsk":"Click any element to ask the AI","sandbox.preview.collapseTerminal":"Collapse terminal","sandbox.preview.expandTerminal":"Expand terminal","sandbox.preview.resizeTerminal":"Resize terminal","sandbox.preview.createNewPage":"Create new page","sandbox.preview.devServerPreviewTitle":"Dev Server Preview","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Mobile (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter to go","sandbox.preview.failedToCreatePage":"Failed to create page","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Global components","sandbox.preview.globalLoaders":"Global loaders","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"This loader no longer exists.","sandbox.preview.noPagesFound":"No pages found in this site.","sandbox.preview.noSearchResults":"No results match your search.","sandbox.preview.siteRoutes":"Site routes","sandbox.preview.noServerRunning":"No server running","sandbox.preview.openInNewTab":"Open in new tab","sandbox.preview.pageAlreadyExists":'A page with path "{path}" already exists.',"sandbox.preview.pageCreated":'Page "{name}" created',"sandbox.preview.blockOnNoPage":"This block isn't used on any page, so there's nothing to preview.","sandbox.preview.previewMetadataNotReady":"Preview metadata not ready yet","sandbox.preview.pageSchemaNotReady":"The site is still loading. Try again in a moment.","sandbox.preview.searchPagesAndComponents":"Search pages and components...","sandbox.preview.startingPreview":"Starting your preview","sandbox.preview.startingPreviewHint":"Showing your published site. You can make changes now — they'll appear once the preview is ready.","sandbox.preview.templateNoLongerExists":"Selected template no longer exists.","sandbox.preview.valueForParam":"Value for {label}","sandbox.preview.blocksEditor":"Blocks editor","sandbox.preview.visualEditor":"Visual editor","sandbox.productBlocks.addProductIdButton":"Add product ID","sandbox.productBlocks.addProductsButton":"Add products","sandbox.productBlocks.addProductsDescription":"Search VTEX products, or pick a category or cluster","sandbox.productBlocks.browseProductsButton":"Browse products","sandbox.productBlocks.changeButton":"Change","sandbox.productBlocks.chooseProductButton":"Choose a product","sandbox.productBlocks.ctaLabelField":"CTA label","sandbox.productBlocks.ctaLabelPlaceholder":"View product","sandbox.productBlocks.dragToReorderLabel":"Drag to reorder","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Loading…","sandbox.productBlocks.productCardLabel":"Product card","sandbox.productBlocks.productField":"Product","sandbox.productBlocks.productPlural":"products","sandbox.productBlocks.productSingular":"product","sandbox.productBlocks.productSlugField":"Product slug","sandbox.productBlocks.productSlugPlaceholder":"product-slug","sandbox.productBlocks.productWithId":"Product {id}","sandbox.productBlocks.removeProductButton":"Remove product","sandbox.productBlocks.removeProductIdButton":"Remove product ID","sandbox.productBlocks.removeProductLabel":"Remove product","sandbox.productBlocks.shelfTitlePlaceholder":"Shelf title","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Start the dev server to browse products, or add SKU ids below.","sandbox.productBlocks.vtexProductIdPlaceholder":"VTEX product ID (e.g. 151331)","sandbox.productBlocks.vtexProductIds":"VTEX product IDs","sandbox.productPickerDialog.addProducts":"Add products","sandbox.productPickerDialog.categoryLabel":"Category: ","sandbox.productPickerDialog.change":" — change","sandbox.productPickerDialog.chooseProduct":"Choose a product","sandbox.productPickerDialog.clusterIdPlaceholder":"Collection / cluster ID (e.g. 2140)","sandbox.productPickerDialog.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.productPickerDialog.done":"Done","sandbox.productPickerDialog.enterClusterPrompt":"Enter a collection or cluster ID.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filter categories…","sandbox.productPickerDialog.loadingCategories":"Loading categories…","sandbox.productPickerDialog.loadingProducts":"Loading products…","sandbox.productPickerDialog.modeCategory":"Category","sandbox.productPickerDialog.modeClusterId":"Cluster ID","sandbox.productPickerDialog.modeSearch":"Search","sandbox.productPickerDialog.noCategories":"No categories.","sandbox.productPickerDialog.noProductsFound":"No products found.","sandbox.productPickerDialog.noneSelected":"None selected","sandbox.productPickerDialog.pickCategoryPrompt":"Pick a category to see its products.","sandbox.productPickerDialog.searchProductsPlaceholder":"Search products by name or ID…","sandbox.productPickerDialog.selectedCount":"{count} selected","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Company","sandbox.recordEditor.fieldEmail":"Email","sandbox.recordEditor.fieldJobTitle":"Job title","sandbox.recordEditor.fieldName":"Name","sandbox.recordEditor.fieldType":"Type","sandbox.recordEditor.fieldUrl":"Website","sandbox.recordEditor.optionOrganization":"Organization","sandbox.recordEditor.optionPerson":"Person","sandbox.recordEditor.placeholderEmail":"author@example.com","sandbox.recordEditor.placeholderUrl":"https://example.com","sandbox.recordEditor.titleAuthor":"Author","sandbox.redirectFormDialog.title":"Create redirect","sandbox.redirectFormDialog.submit":"Create","sandbox.redirectFormDialog.pending":"Creating…","sandbox.redirectFormDialog.cancel":"Cancel","sandbox.redirectFormDialog.errorRequired":"From and To are required.","sandbox.redirectEditor.discardQueryParameters":"Discard query parameters","sandbox.redirectEditor.fromDescription":"The source path to match. Supports URLPattern syntax (e.g. /product/:slug).","sandbox.redirectEditor.fromLabel":"From","sandbox.redirectEditor.fromPlaceholder":"/old-path","sandbox.redirectEditor.statusDescription":"An explicit status code wins over the type.","sandbox.redirectEditor.statusFromType":"Follow the type ({status})","sandbox.redirectEditor.statusLabel":"Status code","sandbox.redirectEditor.typeHint":"Use **Temporary** when the redirect may change; **Permanent** lets browsers cache it.","sandbox.redirectEditor.title":"Redirect","sandbox.redirectEditor.toDescription":"The destination — a relative path or an absolute URL.","sandbox.redirectEditor.toLabel":"To","sandbox.redirectEditor.toPlaceholder":"/new-path","sandbox.redirectEditor.typeLabel":"Type","sandbox.redirectEditor.typePermanent":"Permanent ({status})","sandbox.redirectEditor.typePlaceholder":"Type","sandbox.redirectEditor.typeTemporary":"Temporary ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"See your changes before they go live.","sandbox.cmsSettings.fastPreview.label":"Fast Preview","sandbox.cmsSettings.fastPreview.description":"New chats start as CMS sessions, previewed on your preview server instead of a sandbox. Existing chats keep the mode they were created with.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Set a preview server above to enable Fast Preview.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Add your site's address above to preview drafts. Until then, new chats start a coding session.","sandbox.cmsSettings.fastPreviewInPlace.label":"Instant preview (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Refresh edits in place, without waiting for a save — much faster, but only works on websites that have /live/previews route.","sandbox.cmsSettings.contentEditing.on":"Enabled","sandbox.cmsSettings.contentEditing.onDescription":"The Site Editor offers Content and opens Blocks beside Preview on desktop.","sandbox.cmsUnavailable.noPreviewServer":"It's a CMS session, but this project has no preview server configured.","sandbox.cmsUnavailable.noRepo":"It's a CMS session, but this project has no GitHub repository to save to.","sandbox.cmsUnavailable.startCodingSession":"Continue this branch in a coding session","sandbox.previewServerUrlField.description":"Your live server's address, used to preview content. Required for Fast Preview.","sandbox.previewServerUrlField.descriptionBlocksV8":"Your live site's address. Studio shows your drafts on it before you publish. A new address shows drafts after your next publish.","sandbox.previewServerUrlField.label":"Preview server","sandbox.previewServerUrlField.placeholder":"https://example.com","sandbox.fieldDescriptionTooltipsField.label":"Compact descriptions","sandbox.fieldDescriptionTooltipsField.description":"In the blocks form, show a field's description as a hover tooltip on its title instead of text below the title.","sandbox.legacyBlogPostFormatField.label":"Legacy blog post editor","sandbox.legacyBlogPostFormatField.description":"Edit a blog post's body via HTML, in one rich-text editor saved to its content field, the format older blog templates read, instead of as blocks.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edits stay local until you save this as a global {singular}. Run to invoke it against the live preview.","sandbox.runnableBlockEditor.closeJsonEditor":"Close JSON editor","sandbox.runnableBlockEditor.closeResult":"Close result","sandbox.runnableBlockEditor.collapse":"Collapse","sandbox.runnableBlockEditor.collapseResult":"Collapse result","sandbox.runnableBlockEditor.editAsJson":"Edit as JSON","sandbox.runnableBlockEditor.expand":"Expand","sandbox.runnableBlockEditor.expandResult":"Expand result","sandbox.runnableBlockEditor.failedToRun":"Failed to run {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"This {singular} doesn't publish a props schema. Edit its props as JSON, then run it.","sandbox.runnableBlockEditor.inferredSchemaNotice":"This {singular} doesn't publish a props schema — fields below are inferred from its saved values. Use the JSON editor to add props not shown here.","sandbox.runnableBlockEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.runnableBlockEditor.noInputEmptyState":"This {singular} takes no configurable input. Run it to see its output.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Open in new tab (re-runs the {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Open result in new tab","sandbox.runnableBlockEditor.pressRunToInvoke":"Press Run to invoke this {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Result","sandbox.runnableBlockEditor.run":"Run","sandbox.runnableBlockEditor.runAriaLabel":"Run {singular}","sandbox.runnableBlockEditor.running":"Running {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Save as global {singular}","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Save as global {singular}","sandbox.runnableBlockEditor.savedModeDescription":"Global {singular} — changes save automatically. Run to invoke it against the live preview.","sandbox.runnableBlocksBrowser.emptyFolder":"This folder is empty.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Start the preview dev server so its manifest loads.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"No {kind} here","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Folder breadcrumb","sandbox.runnableBlocksBrowser.hideSaved":"Hide saved","sandbox.runnableBlocksBrowser.noSearchResults":'No {kind} match "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"Search covers every folder — try a different term.","sandbox.runnableBlocksBrowser.savedBlockToast":'Saved {singular} "{blockId}"',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} saved","sandbox.runnableBlocksBrowser.searchAriaLabel":"Search all {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Search all {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"See saved","sandbox.runtimeFields.auto":"Auto","sandbox.runtimeFields.autoDetect":"Auto-detect","sandbox.runtimeFields.devServerPort":"Dev server port","sandbox.runtimeFields.devServerPortDescription":"Leave blank to let the runner pick.","sandbox.runtimeFields.packageManager":"Package manager","sandbox.runtimeFields.packagePath":"Package path","sandbox.runtimeFields.packagePathDescription":"Path (relative to repo root) to the directory containing package.json. Leave blank for the repo root.","sandbox.runtimeApps.title":"Other apps","sandbox.runtimeApps.description":"Other apps of this repository to preview beside the main one, up to {max}. Each runs its own dev server.","sandbox.runtimeApps.add":"Add app","sandbox.runtimeApps.remove":"Remove {path}","sandbox.runtimeApps.duplicate":"This app is already in the list.","sandbox.appTabs.label":"Apps","sandbox.appTabs.root":"root","sandbox.appTabs.main":"Main","sandbox.appTabs.remove":"Remove {app}","sandbox.appTabs.add":"Add another app from this repository","sandbox.appTabs.pathLabel":"Path of the app in the repository, like apps/checkout","sandbox.appTabs.mainHint":"The chat and the editor work on this app.","sandbox.appTabs.extraHint":"Preview only. The chat keeps working on {app}.","sandbox.appPane.previewOnly":"Preview only. The chat and the editor keep working on {app}.","sandbox.appTabs.saveError":"Couldn't save the project's apps.","sandbox.appTabs.split":"View side by side","sandbox.appTabs.single":"View one app","sandbox.appPane.path":"Path in {app}","sandbox.appPane.reload":"Reload {app}","sandbox.appPane.openInNewTab":"Open {app} in a new tab","sandbox.appPane.close":"Close {app}","sandbox.appPane.failed":"The sandbox couldn't start. Retry from {app}.","sandbox.appPane.waiting":"Starting the sandbox…","sandbox.appPane.noUrl":"This app has no preview address.","sandbox.appPane.notStarted":"{app} isn't running yet: the sandbox started before it was added.","sandbox.appPane.start":"Start {app}","sandbox.savedSectionEditor.closeJsonEditor":"Close JSON editor","sandbox.saveStatus.failed":"Couldn't save","sandbox.saveStatus.saved":"Saved","sandbox.saveStatus.saving":"Saving…","sandbox.savedSectionEditor.editAsJson":"Edit as JSON","sandbox.savedSectionEditor.globalSectionDescription":"Global section — changes save automatically and apply everywhere it's used.","sandbox.savedSectionEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.savedSectionEditor.noEditableFields":"No editable fields for this section.","sandbox.schemaless.agentPrompt":"This site's content is edited in deco Studio, but Studio hasn't received the site's schema yet, so its content forms show raw fields. Please set that up in this repository:\n\n1. Make sure @decocms/blocks is 8.11.0 or newer (upgrade it if not), then run `npx deco skills install` to add the deco framework skills to this repository.\n2. Load the deco-site-workflow skill and follow its references/schema.md: generate the schema with `npx deco schema` and commit .deco/schema.gen.json; make DECO_SITE resolve to the Studio site {site}; send the schema to Studio with `npx deco schema push`; and wire `npx deco schema push` into the production deploy (after the deploy succeeds, with a Studio API key in the DECO_TOKEN secret) so every deploy sends it.\n3. Run `npx deco check` and report back: what you changed, and what each command printed.","sandbox.schemaless.agentPromptSiteUnknown":"this project uses (ask me for its name if you can't find it)","sandbox.schemaless.back":"All blocks","sandbox.schemaless.bannerBody":"This site hasn't sent Studio its schema yet (the description of each form's fields), so every block opens with plain fields built from its saved values. Saving still keeps everything else as it is. Ask the coding agent working on your site to set it up: copy the prompt and paste it into the agent. It takes one deploy, and the forms here update on their own.","sandbox.schemaless.bannerTitle":"Content forms are showing raw fields","sandbox.schemaless.copyPrompt":"Copy prompt for your agent","sandbox.schemaless.copyPromptFailed":"Couldn't copy the prompt. Check that this page may use the clipboard, then try again.","sandbox.schemaless.empty":"Empty","sandbox.schemaless.installSkill":"Install skill","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} items","sandbox.schemaless.listLabel":"Saved blocks","sandbox.schemaless.noBlocks":"No saved blocks yet.","sandbox.schemaless.noMatches":"No blocks match your search.","sandbox.schemaless.noType":"Without a type","sandbox.schemaless.notANumber":"Enter a number. The saved value stays until you do.","sandbox.schemaless.notSet":"Not set","sandbox.schemaless.pickBlock":"Pick a block to see its content.","sandbox.schemaless.promptCopied":"Copied","sandbox.schemaless.promptCopiedAnnouncement":"Prompt copied to the clipboard","sandbox.schemaless.searchPlaceholder":"Search blocks","sandbox.schemaless.usesSkill":"Uses the deco-site-workflow skill","sandbox.sectionRenameDialog.cancel":"Cancel","sandbox.sectionRenameDialog.description":"Updates the display name. The internal key stays the same so pages referencing this section keep working.","sandbox.sectionRenameDialog.keyLabel":"Key","sandbox.sectionRenameDialog.nameLabel":"Name","sandbox.sectionRenameDialog.save":"Save","sandbox.sectionRenameDialog.saving":"Saving…","sandbox.sectionRenameDialog.title":"Rename section","sandbox.sectionsRightPane.selectSectionDescription":"Pick a saved section to edit it, or an available one to customize and save as global.","sandbox.sectionsRightPane.selectSectionTitle":"Select a section to edit","sandbox.stateCard.erroredHeadline":"Couldn't start the sandbox","sandbox.stateCard.githubConnectionMissingMessage":"The GitHub connection this chat used was removed. Link the repository again to start the sandbox.","sandbox.stateCard.linkRepoAgain":"Link repository","sandbox.stateCard.githubNotAuthenticatedMessage":"This project's GitHub repo isn't authenticated. Reconnect it in Connections, then retry.","sandbox.stateCard.reconnectGithub":"Reconnect GitHub","sandbox.stateCard.resume":"Resume","sandbox.stateCard.suspendedHeadline":"Sandbox is paused","sandbox.stateCard.resumeToContinue":"Resume to continue.","sandbox.stateCard.retry":"Retry","sandbox.tableBlock.addColumn":"Add column","sandbox.tableBlock.addRow":"Add row","sandbox.tableBlock.headerPlaceholder":"Header {n}","sandbox.tableBlock.noRowsYet":"No rows yet — add one below.","sandbox.tableBlock.removeColumn":"Remove column {n}","sandbox.tableBlock.removeRow":"Remove row {n}","sandbox.toolbar.closeTab":"Close {tab}","sandbox.toolbar.moreActions":"More actions","sandbox.toolbar.noScriptsFound":"No scripts found","sandbox.toolbar.restart":"Restart","sandbox.toolbar.resume":"Resume","sandbox.toolbar.retry":"Retry","sandbox.toolbar.run":"Run","sandbox.toolbar.runAScript":"run a script","sandbox.toolbar.runScript":"Run script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Start","sandbox.toolbar.startProcess":"Start process","sandbox.toolbar.stop":"Stop","sandbox.toolbar.stopProcess":"Stop process","sandbox.toolbar.stopSandboxTooltip":"Stop sandbox","sandbox.toolbar.stopping":"Stopping…","sandbox.variantCalendar.always":"Always","sandbox.variantCalendar.calendarMode":"Calendar","sandbox.variantCalendar.dateMatcherInfo":"Variants gated by a date matcher appear here.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} ongoing variant(s) hidden — enable "Show ongoing" to view.',"sandbox.variantCalendar.next":"Next","sandbox.variantCalendar.noDatedVariants":"No dated variants in view.","sandbox.variantCalendar.noScheduledVariants":"No scheduled variants.","sandbox.variantCalendar.ongoing":"Ongoing","sandbox.variantCalendar.previous":"Previous","sandbox.variantCalendar.showOngoing":"Show ongoing ({count})","sandbox.variantCalendar.timelineMode":"Timeline","sandbox.variantCalendar.today":"Today","sandbox.variantCalendar.todayLabel":"Today","sandbox.variantCalendar.variantBlock":"Variant / Block","sandbox.visualEditorPrompt.inputPlaceholder":"Ask the AI...","sandbox.visualEditorPrompt.sendButton":"Send","sandbox.calendarView.noDraft.title":"Pick a draft to plan your campaigns","sandbox.calendarView.noDraft.desc":"Your campaigns are saved in a draft, like any other edit. Pick a draft in the bar above, or open the site editor to start one.","sandbox.calendarView.loadFailed":"Couldn't load your campaigns.","sandbox.calendarView.loadFailedHint":"Nothing was changed. Try again in a moment.","sandbox.dateCampaigns.intro":"Campaigns change your site within a window of dates. Changes go live when you publish.","sandbox.dateCampaigns.tabsLabel":"Campaigns to show","sandbox.dateCampaigns.tabCurrent":"Campaigns","sandbox.dateCampaigns.tabEnded":"Ended","sandbox.dateCampaigns.colCampaign":"Campaign","sandbox.dateCampaigns.today":"Today","sandbox.dateCampaigns.colStatus":"Status","sandbox.dateCampaigns.noneCurrent":"No campaign is live or scheduled.","sandbox.dateCampaigns.noneEnded":"No campaign has ended yet.","sandbox.dateCampaigns.edit":"Edit","sandbox.dateCampaigns.editNamed":"Edit {name}","sandbox.dateCampaigns.new":"New campaign","sandbox.dateCampaigns.empty.title":"No campaigns yet","sandbox.dateCampaigns.empty.desc":"Create one here, or from a variant in the site editor: choose the rule “Campaign” and type a name.","sandbox.dateCampaigns.status.running":"Live","sandbox.dateCampaigns.status.upcoming":"Scheduled","sandbox.dateCampaigns.status.ended":"Ended","sandbox.dateCampaigns.status.always":"Always on","sandbox.dateCampaigns.status.unreadable":"Dates can't be read","sandbox.dateCampaigns.state.new":"Not published yet","sandbox.dateCampaigns.state.changed":"Changed in your draft","sandbox.dateCampaigns.removedTitle":"Removed in your draft","sandbox.dateCampaigns.removedHint":"These campaigns stop when you publish. To keep one, create it again with the same name.","sandbox.dateCampaigns.unreadableHint":"One of its dates can't be read, so its variants don't show. Pick new dates and save.","sandbox.dateCampaigns.publishedWindow":"Published: {window}","sandbox.dateCampaigns.saveDates":"Save dates","sandbox.dateCampaigns.delete":"Delete campaign","sandbox.dateCampaigns.deleted":"Campaign “{name}” deleted from your draft","sandbox.dateCampaigns.deletedHint":"It leaves the site when you publish. Undo brings it back.","sandbox.dateCampaigns.missing.title":"Your site needs an update for campaigns","sandbox.dateCampaigns.missing.desc":"Ask your developer to update the site to the latest version of Blocks and publish it. Your campaigns will show up here.","sandbox.dateCampaigns.replaced.title":"Your site handles campaigns in its own code","sandbox.dateCampaigns.replaced.desc":"Its developers defined their own campaigns, so they can't be changed here. Ask them how to change one.","sandbox.dateCampaigns.conflict.title":"Your site already has a block named “campaigns”","sandbox.dateCampaigns.conflict.desc":"It isn't a list of campaigns, so campaigns can't be added yet. Rename that block, then come back here.","sandbox.previewAs.label":"Preview as","sandbox.previewAs.intro":"Only this preview changes. Your visitors keep seeing the site as it is.","sandbox.previewAs.unavailable":"Make a change or publish your site first; then the preview can show another moment or force a test.","sandbox.previewAs.momentLabel":"Preview as of","sandbox.previewAs.momentHint":"Campaigns show as they will at this moment. Times are in your computer's time zone.","sandbox.previewAs.now":"Now","sandbox.previewAs.testsLabel":"A/B tests","sandbox.previewAs.testsHint":"Not set: you see the side your own visit got.","sandbox.previewAs.noTests":"No A/B tests yet.","sandbox.previewAs.testsLoadFailed":"Couldn't load your tests.","sandbox.previewAs.tryAgain":"Try again","sandbox.previewAs.off":"Off","sandbox.previewAs.on":"On","sandbox.previewAs.reset":"Show as it is now"},Ate={"settings.subscriptionUsage.refresh":"Refresh","settings.subscriptionUsage.codeReview":"Code review","settings.subscriptionUsage.primary":"Primary limit","settings.subscriptionUsage.secondary":"Secondary limit","settings.subscriptionUsage.resets":"Resets {date}","settings.subscriptionUsage.limitReached":"Limit reached","settings.subscriptionUsage.viewUsage":"View usage","settings.subscriptionUsage.openProvider":"View on provider","settings.voice.title":"Voice mode","settings.voice.description":"Let members talk to agents by voice. Needs ElevenLabs set up on this deployment.","settings.title":"Profile & Preferences","settings.nav.organization":"Organization","settings.nav.build":"Build","settings.nav.manage":"Manage","settings.nav.general":"General","settings.nav.connect":"Connect","settings.nav.aiProviders":"AI Providers","settings.nav.secrets":"Secrets","settings.nav.billing":"Billing & AI","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Synced repos","settings.nav.repositories":"Repositories","settings.nav.storage":"Storage","settings.nav.advanced":"Advanced","settings.subnav.ariaLabel":"Settings sections","settings.subnav.infrastructure":"Infrastructure","settings.nav.tasks":"Board","settings.jira.sectionTitle":"Jira","settings.jira.connectTitle":"Connect Jira","settings.jira.connectDescription":"Use a Jira Cloud site and an API token, ideally from a service account with access to the project.","settings.jira.siteLabel":"Jira site","settings.jira.sitePlaceholder":"yourcompany.atlassian.net","settings.jira.emailLabel":"Atlassian account email","settings.jira.emailPlaceholder":"you@company.com","settings.jira.tokenLabel":"API token","settings.jira.tokenPlaceholder":"Paste your token","settings.jira.connect":"Connect","settings.jira.connecting":"Connecting…","settings.jira.connected":"Jira connected","settings.jira.connectFailed":"Could not connect to Jira","settings.jira.disconnect":"Disconnect","settings.jira.disconnected":"Jira disconnected","settings.jira.disconnectTitle":"Disconnect Jira?","settings.jira.disconnectDescription":"The sync stops and the credentials are deleted. Cards already on the board stay, but stop updating.","settings.jira.cancel":"Cancel","settings.jira.boardLabel":"Jira board","settings.jira.boardDescription":"Studio acts when a card enters one of this board's columns.","settings.jira.boardPlaceholder":"Select a board","settings.jira.boardSearchPlaceholder":"Search boards…","settings.jira.noBoardsMatch":"No board matches that search","settings.jira.loadingBoards":"Loading boards…","settings.jira.enabledLabel":"Integration enabled","settings.jira.enabledDescription":"While off, cards moving on the board are ignored.","settings.jira.enableRequirements":"Pick a board before enabling the integration","settings.jira.saveFailed":"Could not save the Jira settings","settings.jira.createTokenLink":"Create an API token","settings.jira.webhookTitle":"Instant updates (webhook)","settings.jira.webhookDescription":"Optional. Without it, an issue entering an automated status is picked up on the next 5-minute check; with it, the run starts once the card has stayed put for 20 seconds.","settings.jira.webhookCopy":"Copy","settings.jira.webhookCopied":"Webhook URL copied","settings.jira.webhookStep1":"In Jira, open Settings (gear icon) → System → Webhooks. This requires a Jira admin.","settings.jira.webhookStep2":"Click “Create a webhook” and paste the URL above.","settings.jira.webhookStep3":"Under Events, check Issue: created and Issue: updated.","settings.jira.webhookStep4":"Optionally scope it with a JQL filter, e.g. project = <your project key>.","settings.jira.webhookStep5":"Save. An issue entering an automated status now starts its run once it has stayed there for 20 seconds.","settings.jira.automationsLabel":"Run the agent when an issue enters…","settings.jira.automationsDescription":"The automations that run when an issue enters one of these statuses and stays there for 20 seconds. Open one to change its prompt, or give any automation a “When a Jira issue enters a status” starter. A card dragged through a status, or into the wrong one and straight back, starts nothing. An issue that links an open pull request has it continued. The agent reads the issue and updates it in Jira; nothing is copied to the board.","settings.jira.toggleAutomation":"Turn {name} on or off","settings.jira.addAutomation":"Add automation","settings.jira.fromAny":"From any column","settings.jira.fromEarlier":"From an earlier column","settings.jira.fromLater":"From a later column (sent back)","settings.jira.fromStatuses":"From {statuses}","settings.jira.originLabel":"When the card comes from","settings.jira.originStatusesPlaceholder":"Pick statuses","settings.jira.originHelp":"A move starts one rule: the one naming where the card came from, else the one for its direction on the board, else the one for any column. Where it came from is the status it last stayed in, not one it was dragged through.","settings.jira.createRule":"Create automation","settings.jira.cancelRule":"Cancel","settings.jira.noColumnsYet":"No columns on this board yet","settings.jira.columnsFailed":"Could not load this board's columns","settings.jira.testRunLabel":"Run it by hand","settings.jira.testRunDescription":"Run an automation on one issue or a batch now, without enabling the integration, to see what its prompt does.","settings.jira.issueKeysPlaceholder":"ABC-123 or a link, one per line or comma-separated","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"could not read: {items}","settings.jira.testRunIssueAriaLabel":"Jira issue key or link","settings.jira.testRun":"Run agent {count}","settings.jira.testRunRunning":"Starting…","settings.jira.testRunStarted":"Started on","settings.jira.testRunFailed":"Could not start the run","settings.jira.testRunHelp":"This is a real run: the agent reads the actual issue, comments on it, and may move it. Running it again stops whatever run is still working that issue, and an issue that links an open pull request has it continued.","settings.jira.testRunAutomation":"Automation to run","settings.jira.testRunNoAutomations":"Add an automation above first: running by hand fires one of them.","settings.jira.together":"One run for all of them, so the agent works the issues as a batch","settings.jira.togetherStarted":"Started one run on","settings.jira.testRunWatch":"Watch runs in Monitor","settings.syncedRepos.addRepo":"Add repo","settings.syncedRepos.cancel":"Cancel","settings.syncedRepos.create":"Create","settings.syncedRepos.creating":"Creating…","settings.syncedRepos.created":'Sync created — syncing into "{volume}" in the background',"settings.syncedRepos.emptyTitle":"No synced repos yet","settings.syncedRepos.emptyDescription":"Pick a repository and it will appear in the library as a read-only folder, kept in sync automatically.","settings.syncedRepos.failed":"Something went wrong","settings.syncedRepos.nameDialogDescription":"{repo} will be kept in sync into this read-only library folder.","settings.syncedRepos.nameDialogTitle":"Name the synced folder","settings.syncedRepos.namePlaceholder":"folder-name","settings.syncedRepos.pickerTitle":"Sync a repo into the library","settings.syncedRepos.remove":"Stop syncing","settings.syncedRepos.removeDescription":"The already-synced files stay in the library; only the sync stops. You can delete the folder afterwards if you don't need it.","settings.syncedRepos.removeTitle":'Stop syncing "{volume}"?',"settings.syncedRepos.removed":"Sync removed","settings.syncedRepos.rowSubtitle":"Library folder: {volume}","settings.repositories.accountsTitle":"Connected accounts","settings.repositories.accountsEmptyTitle":"No accounts connected","settings.repositories.accountsEmptyDescription":"Connect a GitHub, GitLab or Bitbucket account to browse your repositories and link private ones.","settings.repositories.noProvidersTitle":"No git provider configured","settings.repositories.noProvidersDescription":"Signing in with GitHub, GitLab or Bitbucket needs provider credentials an administrator configures for this deployment. You can still connect a GitLab or Bitbucket account with an access token.","settings.repositories.githubUnavailable":"Ask an administrator to enable GitHub.","settings.repositories.connectGithubCli":"Connect with GitHub CLI","settings.repositories.githubCliHint":"Use your local gh login to browse and import repositories.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Add GitHub account or organization","settings.repositories.githubSelectTitle":"Select repositories","settings.repositories.githubSelectedShareHint":"Members with repository permissions in {organization} can use the repositories you authorize here.","settings.repositories.githubPreselectedHint":"Previously authorized or linked repositories are already selected when you have permission to authorize them. Review the selection before saving.","settings.repositories.githubReplaceHint":"Saving replaces this account’s existing workspace access with your selection. Removed repositories stop receiving new credentials. Previously issued credentials may work until they expire.","settings.repositories.githubFilterRepos":"Search repositories","settings.repositories.githubNoRepos":"No repositories available to authorize.","settings.repositories.githubSearchNoMatches":"No repositories match your search.","settings.repositories.githubAccessChanged":"Someone changed this account’s access. Go back and review the repositories again before saving.","settings.repositories.githubMoreRepos":"Load more repositories","settings.repositories.githubBack":"Back to accounts","settings.repositories.githubSaveOneRepo":"Authorize 1 repository","settings.repositories.githubSaveRepos":"Authorize {count} repositories","settings.repositories.githubEditWorkspaceAccess":"Change workspace access","settings.repositories.githubShareHint":"Choose your personal GitHub account, or an organization where you administer repositories, to share with {organization}. Members with repository permissions in Studio can use this connection.","settings.repositories.githubInstallHint":"Nothing here is yours to share yet. Install the GitHub App on your personal account or on repositories you administer, or ask an account owner to connect it to Studio. A repository you only collaborate on is not yours to share.","settings.repositories.installGithubAccount":"Install on another account","settings.repositories.checkGithubAccess":"Check access","settings.repositories.switchGithubUser":"Use another GitHub login","settings.repositories.githubReturnHint":"GitHub opens in a new tab. After saving access, return here to choose the account. If it does not appear, use Check access.","settings.repositories.githubRefreshFailed":"Could not check GitHub access. Try again without leaving this dialog.","settings.repositories.githubConnected":"GitHub account connected","settings.repositories.manageRepositoryAccess":"Manage repository access","settings.repositories.connectedBy":"Connected by {name}","settings.repositories.connectedByUnknown":"Connected by an unavailable user","settings.repositories.dismiss":"Dismiss","settings.repositories.tryAgain":"Try again","settings.repositories.oauthNoInstallations":"GitHub authorization succeeded, but no app installations are available to this user. Add a GitHub account or organization to finish setup.","settings.repositories.oauthDenied":"Authorization was cancelled. Connect again when you are ready.","settings.repositories.oauthExpired":"This connection attempt expired or belongs to another session. Start again from this page.","settings.repositories.oauthNotConfigured":"This git provider is not configured. Ask an administrator to enable it.","settings.repositories.oauthFailed":"Could not connect your git account. Try again. If it keeps failing, contact an administrator.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Personal token","settings.repositories.accessUnavailable":"Access unavailable","settings.repositories.accessUnavailableHint":"Studio cannot access this account. Authorize it again to continue using its repositories.","settings.repositories.githubReconnect":"Reconnect GitHub","settings.repositories.authorizeWorkspaceAccess":"Authorize workspace access","settings.repositories.selectRepositories":"Select repositories","settings.repositories.authorizationRequired":"Workspace authorization required","settings.repositories.authorizationRequiredHint":"Studio has a GitHub App installation recorded for {login}, but this workspace has no authorization to use it. Sign in to GitHub and choose the repositories to share with this workspace.","settings.repositories.accessRevoked":"Access revoked","settings.repositories.accessRevokedHint":"Access to this account was revoked. Authorize it again to restore repository access.","settings.repositories.noAuthorizedRepositories":"No repositories authorized","settings.repositories.noAuthorizedRepositoriesHint":"This workspace has no repositories authorized through {login}. Select which repositories it can use.","settings.repositories.providerUnavailable":"Provider unavailable","settings.repositories.providerUnavailableHint":"This deployment is not configured to access this account. Ask an administrator to enable the provider.","settings.repositories.installationMissing":"GitHub connection incomplete","settings.repositories.installationMissingHint":"Studio has no GitHub App installation linked to this account. Connect GitHub and select the installation for {login}.","settings.repositories.githubReconnectUnavailable":"GitHub reconnection is unavailable on this deployment. Ask an administrator to configure the GitHub App, then authorize workspace access.","settings.repositories.disconnect":"Disconnect","settings.repositories.disconnectTitle":'Disconnect "{login}"?',"settings.repositories.disconnectDescription":"Repositories linked through this account stay listed, but become anonymous public clones — private ones will stop working.","settings.repositories.disconnected":"Account disconnected","settings.repositories.tokenDialogTitle":"Connect GitLab with a token","settings.repositories.tokenDialogDescription":"Use a personal, project or group access token with the api scope — agents push branches and open merge requests with it. Stored encrypted and never shown again.","settings.repositories.tokenDialogTitleBitbucket":"Connect Bitbucket with a token","settings.repositories.tokenDialogDescriptionBitbucket":"Use a workspace, project or repository access token that can write repositories and pull requests — agents push branches and open pull requests with it. Bitbucket Cloud only. Stored encrypted and never shown again.","settings.repositories.addAccount":"Add account","settings.repositories.addAccountTitle":"Connect a git account","settings.repositories.addAccountDescription":"Choose where your repositories live.","settings.repositories.chooseMethodDescription":"Pick how Studio should connect to this provider.","settings.repositories.back":"Back","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Install the Studio app and pick the repositories to share.","settings.repositories.providerTokenOrOauthHint":"Connect with an access token, or authorize with OAuth.","settings.repositories.providerTokenOnlyHint":"Connect with an access token.","settings.repositories.methodToken":"Use an access token","settings.repositories.methodTokenHint":"The provider limits the token to the repositories you scope it to.","settings.repositories.methodOauth":"Authorize with OAuth","settings.repositories.methodOauthHint":"Sign in and authorize Studio in your browser.","settings.repositories.methodOauthScopeNote":"Reaches every repository this account can see; it cannot be narrowed to a subset.","settings.repositories.methodApp":"Install the GitHub app","settings.repositories.methodAppHint":"Choose exactly which repositories Studio may use.","settings.repositories.tokenStepsTitle":"Creating the token","settings.repositories.openProvider":"Open provider","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"your-workspace","settings.repositories.tokenWorkspaceHint":"The slug in your Bitbucket URL. An access token cannot name its own workspace, so Studio verifies it against this one.","settings.repositories.tokenProjectLabel":"Project path (optional)","settings.repositories.tokenProjectPlaceholder":"group/project","settings.repositories.tokenProjectHint":"Fill this in to jump straight to that project’s token page.","settings.repositories.bitbucketStep1":"Open the repository you want Studio to reach, or the project that groups them.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Grant Repositories read and write, and Pull requests read and write.","settings.repositories.bitbucketStep4":"Paste the token below. Bitbucket keeps it to what you scoped it to.","settings.repositories.gitlabStep1":"Open the project or group you want Studio to reach.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Role: Developer or above. Scope: api.","settings.repositories.gitlabStep4":"Paste the token below. A project token only reaches that project.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Access token","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Connect","settings.repositories.connecting":"Connecting…","settings.repositories.connected":'Connected as "{login}"',"settings.repositories.reposTitle":"Repositories","settings.repositories.reposEmptyTitle":"No repositories yet","settings.repositories.reposEmptyDescription":"Choose a repository from a connected GitHub, GitLab or Bitbucket account.","settings.repositories.addRepository":"Add repository","settings.repositories.moreActions":"More actions","settings.repositories.repoAccountNeedsAttention":"Connected through {login}, which needs attention in Connected accounts.","settings.repositories.unlink":"Unlink","settings.repositories.unlinkTitle":'Unlink "{path}"?',"settings.repositories.unlinkDescription":"The repository is removed from this organization. Nothing is deleted on the provider.","settings.repositories.unlinked":"Repository unlinked","settings.repositories.openInProvider":"Open repository","settings.repositories.visibilityPublic":"Public","settings.repositories.visibilityPrivate":"Private","settings.repositories.visibilityInternal":"Internal","settings.repositories.anonymousClone":"Anonymous clone","settings.repositories.sandboxImageLabel":"Sandbox image","settings.repositories.sandboxImageDefault":"Default image","settings.repositories.sandboxImageAndroid":"Android emulator","settings.repositories.sandboxImageError":"Could not change the sandbox image","settings.repositories.monitorDeploys":"Show deploys on Monitor","settings.repositories.monitorDeploysError":"Could not change whether Monitor shows this repository","settings.repositories.addDialogTitle":"Add repository","settings.repositories.cancel":"Cancel","settings.repositories.failed":"Something went wrong","settings.nav.connections":"Connections","settings.nav.automations":"Automations","settings.nav.skills":"Skills","settings.nav.memory":"Memory","settings.nav.monitor":"Monitor","settings.nav.members":"Members","settings.nav.security":"Security","settings.nav.profile":"Profile & Preferences","settings.nav.backToHome":"Back to home","settings.nav.signOut":"Sign Out","settings.profile.avatar":"Avatar","settings.profile.displayName":"Display name","settings.profile.displayNamePlaceholder":"Your name","settings.profile.email":"Email","settings.profile.avatarUpload":"Change your picture","settings.profile.avatarDialogTitle":"Profile picture","settings.profile.avatarDialogDescription":"Drag to reposition and scroll to zoom. Only the picture you are using is visible to other people.","settings.profile.avatarDeleted":"Picture deleted","settings.profile.avatarRemove":"Remove","settings.profile.avatarRemoved":"Picture removed","settings.profile.avatarUpdated":"Picture updated","settings.profile.avatarUploadError":"Failed to update the picture","settings.profile.updateSuccess":"Profile updated successfully","settings.profile.updateError":"Failed to update profile","settings.passkeys.title":"Passkeys","settings.passkeys.description":"Sign in with your fingerprint, face or device screen lock instead of an emailed code.","settings.passkeys.add":"Add passkey","settings.passkeys.added":"Passkey added","settings.passkeys.addError":"Failed to add passkey","settings.passkeys.alreadyRegistered":"This device already has a passkey for your account","settings.passkeys.empty":"No passkeys yet.","settings.passkeys.unsupported":"This browser does not support passkeys.","settings.passkeys.unnamed":"Passkey","settings.passkeys.createdAt":"Added {date}","settings.passkeys.delete":"Remove passkey","settings.passkeys.deleted":"Passkey removed","settings.passkeys.deleteError":"Failed to remove passkey","settings.passkeys.deleteTitle":"Remove {name}?","settings.passkeys.deleteDescription":"You will no longer be able to sign in with this passkey. The credential stays on your device until you delete it there.","settings.passkeys.cancel":"Cancel","settings.preferences.title":"Preferences","settings.plan.sectionTitle":"Plan","settings.plan.pageTitle":"Plan page","settings.plan.pageDescription":"Show the store goal and turn ideas into business cases on the Plan page. Off, Plan stays a coming-soon page.","settings.blog.sectionTitle":"Blog","settings.blogView.title":"Blog view","settings.blogView.description":"Blog as its own project view, with each post beside the site's render of it. When off, the blog is edited in the Site Editor's Content tab.","settings.blog.aiTitle":"AI blog","settings.blog.aiDescription":"Brand context, campaigns and post generation. When off, posts are written by hand.","settings.blogBlocks.title":"Hide the default blog blocks","settings.blogBlocks.description":"Only this site's own post blocks are offered when writing or importing a post. Existing posts are unaffected.","settings.blocksEditor.title":"New blocks editor","settings.blocksEditor.description":"Applies to everyone in this organization. The rest of Studio always uses the new layout.","settings.siteAppsInstall.title":"Install apps from the catalogue","settings.siteAppsInstall.description":"Let the Apps tab install an app into the site: it writes the app's module and its registration to the branch, adds the dependency, and restarts the sandbox's dev server so the app's settings form appears. With it off the catalogue stays browsable and nothing is installable.","settings.multiAppPreview.title":"Preview several apps of a monorepo","settings.multiAppPreview.description":"Add other apps of a project's repository and view them side by side in the preview. Each one runs its own dev server in the sandbox.","settings.cmsAutoCommit.title":"Commit each save to the branch","settings.cmsAutoCommit.description":"In Fast Preview, every save becomes a commit on the branch being edited. Turned off, saves stay in Studio: the editor and the preview show them, but they reach the branch only when someone publishes or submits for review, as a single commit. Until then they are not in the repository, so a pull request, a deploy preview, or anyone working on the branch outside Studio won't see them.","settings.preferences.theme":"Theme","settings.preferences.themeLight":"Light theme","settings.preferences.themeDark":"Dark theme","settings.preferences.themeSystem":"System theme","settings.preferences.language":"Language","settings.preferences.notifications":"Notifications","settings.preferences.notificationsDescription":"Browser notifications for important events.","settings.preferences.notificationsDenied":"Notifications denied. Please enable them in your browser settings.","settings.preferences.sounds":"Sounds","settings.preferences.soundsDescription":"Sounds for agent actions and notifications.","settings.preferences.soundsPreview":"Preview notification sound","settings.preferences.toolApproval":"Tool approval","settings.preferences.toolApprovalDescription":"Which tools need your approval before they run.","settings.preferences.toolApprovalAsk":"Ask before edit","settings.preferences.toolApprovalAskShort":"Ask","settings.preferences.toolApprovalAskDescription":"Auto-approve read-only tools","settings.preferences.toolApprovalAuto":"Auto approve","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Execute all without approval","settings.automations.browseAgentsButton":"Browse projects","settings.automations.emptyDescription":"Automations are created per agent. Open an agent and add one from its Automations tab.","settings.automations.emptyTitle":"No automations yet","settings.automations.noResultsDescription":'No automations match "{search}"',"settings.automations.noResultsTitle":"No automations found","settings.automations.pageTitle":"Automations","settings.automations.searchPlaceholder":"Search automations...","settings.skills.importButton":"Import skill","settings.skills.importing":"Importing…","settings.skills.importSuccess":'Imported "{name}"',"settings.skills.importError":"Failed to import skill","settings.skills.importMissingSkillMd":"That folder has no SKILL.md at its root. Pick the skill's own folder.","settings.skills.importNeedsFolder":"Pick a folder, not individual files — this browser may not support folder upload.","settings.skills.searchPlaceholder":"Search skills...","settings.skills.noDescription":"No description","settings.skills.filterAll":"All","settings.skills.emptyTitle":"No skills yet","settings.skills.emptyDescription":"Import a folder with a SKILL.md to give your agents reusable instructions they can load on demand.","settings.skills.noResultsTitle":"No skills found","settings.skills.noResultsDescription":'No skills match "{search}"',"settings.skills.cancel":"Cancel","settings.skills.deleteButton":"Delete","settings.skills.deleteDialogTitle":"Delete this skill?","settings.skills.deleteDialogDescription":`This removes "{name}" and its files. This can't be undone.`,"settings.skills.deleteSuccess":"Skill deleted","settings.skills.deleteError":"Failed to delete skill","settings.skills.importTooManyFiles":"That folder has {count} files (limit {max}). Import a folder with just the skill's own files.","settings.skills.importSlugTaken":'A skill named "{slug}" already exists. Delete it first to re-import.',"settings.skills.errorTitle":"Couldn't load skills","settings.skills.errorDescription":"The skill catalog could not be loaded. You may not have access to this org's files.","settings.skills.retry":"Try again","settings.memory.tabOrg":"Organization","settings.memory.tabUser":"Just you","settings.memory.orgHeading":"Shared with everyone in {org}","settings.memory.userHeading":"Your personal memory","settings.memory.orgPlaceholder":"Facts everyone's chats should know. For example: we ship on Thursdays, prices are in BRL, the brand voice is informal.","settings.memory.userPlaceholder":"Things Deco should remember about you. For example: reply in Portuguese, I own the checkout, keep summaries short.","settings.memory.saving":"Saving…","settings.memory.saved":"Saved","settings.memory.notSaved":"Not saved","settings.memory.saveError":"Couldn't save. Keep typing to retry.","settings.memory.readOnly":"You can read this memory but not change it.","settings.memory.updated":"Updated {time}","settings.memory.notStarted":"Nothing remembered yet","settings.memory.conflict":"This memory changed while you were editing.","settings.memory.loadLatest":"Load latest","settings.memory.keepMine":"Keep my version","settings.memory.budget":"{percent}% of what chats read","settings.memory.budgetOver":"Chats only read the beginning","settings.memory.budgetHint":"Chats load the first 16,000 characters. Keep this a short index and move details into separate notes.","settings.memory.errorTitle":"Couldn't load memory","settings.memory.errorDescription":"The organization's files couldn't be loaded. You may not have access to them.","settings.memory.retry":"Try again","settings.buckets.accessKeyIdLabel":"Access key ID","settings.buckets.addBucket":"Add bucket","settings.buckets.addBucketButton":"Add bucket","settings.buckets.addS3Bucket":"Add S3 bucket","settings.buckets.addingButton":"Adding…","settings.buckets.apiKeyHelperText":"Sent as the x-api-key header on each refresh call.","settings.buckets.apiKeyLabel":"API key","settings.buckets.bucketAdded":'Bucket "{name}" added',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"my-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removed',"settings.buckets.bucketsConfigured":"{count} bucket(s) configured","settings.buckets.cancelButton":"Cancel","settings.buckets.credentialsEncryptedDescription":"Credentials are encrypted at rest and never returned over the API. For Cloudflare R2, Google Cloud Storage, or MinIO, set a custom endpoint.","settings.buckets.credentialsLabel":"Credentials","settings.buckets.deleteButton":"Delete {name}","settings.buckets.descriptionLabel":"Description (optional)","settings.buckets.descriptionPlaceholder":"What is this bucket used for?","settings.buckets.emptyStateDescription":"Add an S3-compatible bucket (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). Access keys are encrypted at rest and never returned over the API.","settings.buckets.endpointHelperText":"Required for non-AWS providers (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (optional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Failed to add bucket","settings.buckets.failedToLoadConfigs":"Failed to load file configurations: {error}","settings.buckets.failedToLoadConfigsFallback":"Failed to load file configs","settings.buckets.failedToRemoveBucket":"Failed to remove bucket","settings.buckets.forcePathStyleHelperText":"Required for Google Cloud Storage and most MinIO setups.","settings.buckets.forcePathStyleLabel":"Force path-style URLs","settings.buckets.managed":"Managed","settings.buckets.nameHelperText":"Letters, digits, underscore, dot, hyphen. Unique within the organization.","settings.buckets.nameLabel":"Name","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"No buckets yet","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefix: {prefix}","settings.buckets.prefixHelperText":"All object keys are written under this prefix. Useful for multi-tenant buckets or credentials scoped to a sub-path. A trailing slash is added automatically.","settings.buckets.prefixLabel":"Key prefix (optional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"public: {url}","settings.buckets.publicUrlBaseHelperText":"Host used to build public URLs returned by the picker (R2 dev domain, CDN, custom host). Leave blank to use the bucket's S3 host (AWS default).","settings.buckets.publicUrlBaseLabel":"Public URL base (optional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev or https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint POSTed (with the API key below) to vend temporary credentials. Must return accessKeyId, secretAccessKey, sessionToken, and expiration.","settings.buckets.refreshUrlLabel":"Refresh URL","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Region","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"This deletes the encrypted credentials for {name}. The bucket itself is not affected. This cannot be undone.","settings.buckets.removeBucketTitle":"Remove bucket configuration?","settings.buckets.removeButton":"Remove","settings.buckets.removingButton":"Removing…","settings.buckets.secretAccessKeyLabel":"Secret access key","settings.buckets.staticKeyHelperText":"A long-lived access key ID and secret, used as-is.","settings.buckets.staticKeyOption":"Static key pair (long-lived)","settings.buckets.stsSessionHelperText":"Stores only a refresh endpoint + API key; short-lived credentials are fetched on demand and refreshed automatically.","settings.buckets.temporarySessionOption":"Temporary session (STS, auto-refreshed)","settings.connectClients.anyOtherClientDescription":"Any other MCP client: paste this endpoint into it to give that runtime every connection enabled in this org, governed by your Decopilot rules.","settings.connectClients.apiKeyOption":"API key","settings.connectClients.copy":"Copy","settings.connectClients.doneHideKey":"Done, hide key","settings.connectClients.generateKey":"Generate key","settings.connectClients.generateKeyFor":"Generate key for {client}","settings.connectClients.generatingKey":"Generating…","settings.connectClients.headlessKeyHint":"For CI, Conductor, or headless agents that can't open a browser.","settings.connectClients.installMethod":"Installation method","settings.connectClients.keyCreated":"Key created","settings.connectClients.mcpDescription":"For clients without a shell. Sharing Library files and messaging agents need the CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"OAuth discovery details","settings.connectClients.oauthKeyHint":"Recommended for your laptop. A browser opens on first use to sign in, with no token to manage.","settings.connectClients.oauthMetadataHint":"OAuth 2.1 Protected Resource Metadata is advertised on 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Other","settings.connectClients.pageTitle":"Connect","settings.connectClients.recommended":"Recommended","settings.connectClients.skillDescription":"Install the Studio skill and log in once. Your agent can then use this org's chats, agents, tasks and Library files through the decocms CLI.","settings.connectClients.skillInstallStep":"1. Install the skill","settings.connectClients.skillLoginHint":"A browser opens to approve the login. The session renews itself.","settings.connectClients.skillLoginStep":"2. Log in","settings.connectClients.skillNeedsBun":"Needs Bun.","settings.connectClients.skillOtherAgentsHint":"The installer asks which agents to add the skill to.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Connect your agent","settings.connectClients.snippetOneTimeWarning":"Copy this snippet now. The key won't be shown again, and you can revoke it from the list below.","settings.connectForms.apiKeyField":"API Key","settings.connectForms.apiKeyRequired":"API key is required","settings.connectForms.baseUrlField":"Base URL","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.baseUrlRequired":"Base URL is required","settings.connectForms.cancel":"Cancel","settings.connectForms.connectionSavedSuccess":"Connection saved successfully","settings.connectForms.defaultKeyLabel":"Personal key","settings.connectForms.failedSaveConnection":"Failed to save connection: {error}","settings.connectForms.failedSaveKey":"Failed to save key: {error}","settings.connectForms.hideApiKey":"Hide API key","settings.connectForms.keySavedSuccess":"Key saved successfully","settings.connectForms.labelField":"Label","settings.connectForms.labelPlaceholder":"e.g. Personal key","settings.connectForms.labelPlaceholderOpenAiCompatible":"e.g. My OpenAI-compatible server","settings.connectForms.labelPlaceholderPreset":"e.g. {name} prod, {name} dev","settings.connectForms.optional":"optional","settings.connectForms.recommended":"recommended","settings.connectForms.saveConnection":"Save Connection","settings.connectForms.saveKey":"Save Key","settings.connectForms.saving":"Saving...","settings.connectForms.showApiKey":"Show API key","settings.connectProviderDialog.backButton":"Back","settings.connectProviderDialog.backButtonLabel":"Back","settings.connectProviderDialog.connectionTimedOutMessage":"Connection timed out","settings.connectProviderDialog.defaultProviderName":"Provider","settings.connectProviderDialog.defaultTitle":"Add API key","settings.connectProviderDialog.oauthFailedMessage":"OAuth connection failed: {error}","settings.connectProviderDialog.oauthPendingMessage":"Authorize the connection in the popup window. This dialog will close once authorization completes.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} connected successfully","settings.connectProviderDialog.provisionPendingMessage":"Connecting…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} connected successfully","settings.connectProviderDialog.retryButton":"Retry","settings.connectProviderDialog.securityCheckFailedMessage":"Security check failed: State token mismatch","settings.connectProviderDialog.startOAuthFailedMessage":"Failed to start OAuth: {error}","settings.agentTools.chatHarnessCodexTitle":"Use Codex for new sandbox chats","settings.agentTools.chatHarnessCodexDescription":"Runs new sandbox chats with Codex. Link your ChatGPT subscription in AI Providers or connect a Responses API provider. Existing chats keep their runtime.","settings.codexSubscription.setupHeading":"Connect Codex","settings.codexSubscription.setupDescription":"Link your ChatGPT subscription in Settings → AI Providers, or connect a provider with an OpenAI Responses API endpoint.","settings.codexSubscription.connect":"Link","settings.codexSubscription.connected":"ChatGPT subscription linked","settings.codexSubscription.disconnect":"Disconnect","settings.codexSubscription.disconnected":"ChatGPT subscription unlinked","settings.codexSubscription.howTo":"Run this command locally, sign in with ChatGPT, then paste the contents of ~/.codex/auth.json:","settings.codexSubscription.title":"ChatGPT for Codex","settings.codexSubscription.tokenPlaceholder":"Paste the contents of auth.json","settings.claudeSubscription.connect":"Link","settings.claudeSubscription.connected":"Claude subscription linked","settings.claudeSubscription.disconnect":"Disconnect","settings.claudeSubscription.disconnected":"Claude subscription unlinked","settings.claudeSubscription.howTo":"Generate a token on your own machine with","settings.claudeSubscription.title":"Claude Pro or Max","settings.claudeSubscription.tokenPlaceholder":"Paste your token","settings.githubCopilot.connect":"Link","settings.githubCopilot.connected":"GitHub Copilot linked","settings.githubCopilot.disconnect":"Disconnect","settings.githubCopilot.disconnected":"GitHub Copilot unlinked","settings.githubCopilot.howTo":"Create a fine-grained GitHub token with the Copilot Requests permission","settings.githubCopilot.sharedBy":"You're using the organization's GitHub Copilot plan, shared by {name}.","settings.githubCopilot.ownPlanUsed":"Your runs use your own plan. {name}'s shared plan only covers members who haven't linked one.","settings.githubCopilot.shareTitle":"Share with org","settings.githubCopilot.shareDescription":"Sharing only applies to members of this organization who haven't linked their own GitHub Copilot plan.","settings.githubCopilot.shareTaken":"{name} already shares a plan. To share yours, ask {name} to stop sharing first.","settings.githubCopilot.title":"GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Paste your github_pat_… token","settings.ownAccounts.more":"More actions","settings.providerKeyRow.edit":"Edit","settings.ownAccounts.title":"Your own accounts","settings.ownAccounts.cancel":"Cancel","settings.ownAccounts.addApiKey":"Add API key","settings.ownAccounts.linked":"Linked","settings.ownAccounts.expired":"Expired","settings.decoCreditsHero.add":"Add","settings.decoCreditsHero.addCredits":"Add credits","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Available credit balance","settings.decoCreditsHero.cancel":"Cancel","settings.decoCreditsHero.cancelButton":"Cancel","settings.decoCreditsHero.custom":"Custom","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Disconnect","settings.decoCreditsHero.disconnectButton":"Disconnect","settings.decoCreditsHero.disconnectDescription":"This will remove the Deco AI Gateway from this workspace. Your credit balance is preserved and will be available if you reconnect.","settings.decoCreditsHero.disconnectError":"Failed to disconnect: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway disconnected","settings.decoCreditsHero.disconnectTitle":"Disconnect Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Refresh balance","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plan","settings.planUsage.loadFailed":"Couldn't read this organization's plan.","settings.planUsage.retry":"Retry","settings.planUsage.aiUsage":"AI usage","settings.planUsage.usageUnavailable":"Unavailable","settings.planUsage.used":"used","settings.plans.perMonth":"/ month","settings.planUsage.periodHint":"Resets at the start of each billing period.","settings.planUsage.noAiIncluded":"No AI usage included.","settings.planUsage.included":"Included in plan","settings.planUsage.credits":"Added credits","settings.planUsage.creditsInUse":"In use","settings.planUsage.manageBilling":"Manage billing","settings.planUsage.portalFailed":"Couldn't open billing: {message}","settings.planUsage.subscribe":"Subscribe","settings.planUsage.changePlan":"Change plan","settings.planUsage.changed":"Plan updated","settings.planUsage.changeFailed":"Couldn't change plan: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Superagent chat","settings.planUsage.feature.monitoring":"Site analytics","settings.planUsage.feature.kanban":"Agentic Kanban","settings.planUsage.feature.model_choice":"Choose your model","settings.planUsage.feature.credits":"Extra credits","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Enriched Deco Score","settings.plans.title":"Plans","settings.plans.loadFailed":"Couldn't load the plans.","settings.plans.currentPlan":"Current plan","settings.plans.firstMonthFree":"1st month free","settings.plans.startTrial":"Start free trial","settings.plans.custom.name":"Custom","settings.plans.custom.description":"For large teams with their own contract","settings.plans.custom.cta":"Talk to us","settings.plans.managed":"Your plan: {plan}. Contact us to change it.","settings.plans.invoice.cta":"Add to my invoice","settings.plans.invoice.confirm":"{plan} will be added to your next invoice. Switch now?","settings.plans.invoice.cancel":"Cancel","settings.plans.invoice.switch":"Switch plan","settings.paywall.bullets.kanban.1":"Agents that do the work and move the cards","settings.paywall.bullets.kanban.2":"A board the whole team shares","settings.paywall.bullets.kanban.3":"Columns, tags and priorities","settings.paywall.bullets.allowance.1":"A monthly allowance that resets","settings.paywall.bullets.allowance.2":"Top up with extra credits any time","settings.paywall.bullets.allowance.3":"Your message stays in the composer","settings.paywall.bullets.cms.1":"Edit content and layout","settings.paywall.bullets.cms.2":"Live preview as you go","settings.paywall.bullets.cms.3":"Publish when it looks right","settings.paywall.bullets.monitoring.1":"Pageviews, visitors and sources","settings.paywall.bullets.monitoring.2":"Cache hit rate, latency and errors","settings.paywall.bullets.monitoring.3":"Traffic by country and device","settings.paywall.upgradeTitle":"{feature} comes with {plan}","settings.paywall.upgradeDescription":"Unlocks it for everyone in the organization.","settings.paywall.description":"This organization's plan doesn't include {feature}. Change the plan to unlock it for everyone in the org.","settings.paywall.seePlans":"See plans","settings.paywall.dismiss":"Not now","settings.paywall.serverRefusedFeature":"Your plan does not include this. Ask an owner to upgrade, or see plans.","settings.paywall.serverRefusedBudget":"This organization has used its monthly AI allowance. Chat and tasks pause until you upgrade or top up.","settings.decoCreditsHero.topUpFailed":"Top-up failed: {message}","settings.deleteOrganizationSection.cancel":"Cancel","settings.deleteOrganizationSection.dangerZone":"Danger zone","settings.deleteOrganizationSection.deleteButton":"Delete","settings.deleteOrganizationSection.deleteOrganizationAction":"Delete organization","settings.deleteOrganizationSection.deleteOrganizationDescription":"Permanently delete this organization and all of its data.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Delete organization?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Delete organization","settings.deleteOrganizationSection.deleteWarning":"This will permanently delete all data associated with {organizationName}. This action cannot be undone.","settings.deleteOrganizationSection.deleting":"Deleting…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Failed to delete organization","settings.deleteOrganizationSection.organizationDeleted":"Organization deleted","settings.deleteOrganizationSection.typeToConfirm":"Type {organizationName} to confirm:","settings.domainSettings.addDnsRecordInstruction":"Add the DNS record below, then verify.","settings.domainSettings.addDomain":"Add domain","settings.domainSettings.adding":"Adding…","settings.domainSettings.copied":"Copied","settings.domainSettings.dnsInstructions":"Add this TXT record at your DNS provider, then click Verify:","settings.domainSettings.domainAdded":"Domain added","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domain removed","settings.domainSettings.domainVerified":"Domain verified","settings.domainSettings.emailDomains":"Email domains","settings.domainSettings.emailDomainsDescription":"Let people with a matching email domain discover and join this organization.","settings.domainSettings.failedAddDomain":"Failed to add domain","settings.domainSettings.failedRemove":"Failed to remove","settings.domainSettings.failedUpdate":"Failed to update","settings.domainSettings.failedVerify":"Failed to verify","settings.domainSettings.joinMode":"Join mode","settings.domainSettings.joinModeAuto":"Auto-join","settings.domainSettings.joinModeHelpAuto":"Anyone with a verified @{domain} email joins automatically.","settings.domainSettings.joinModeHelpOff":"Not discoverable — no one can find or join through this domain.","settings.domainSettings.joinModeHelpRequest":"People with a verified @{domain} email can request to join; an admin approves.","settings.domainSettings.joinModeOff":"Off","settings.domainSettings.joinModeRequest":"Require approval","settings.domainSettings.joinModeUpdated":"Join mode updated","settings.domainSettings.pending":"Pending","settings.domainSettings.remove":"Remove","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"TXT record not found yet — DNS can take a few minutes.","settings.domainSettings.value":"value","settings.domainSettings.verified":"Verified","settings.domainSettings.verify":"Verify","settings.editProviderDialog.apiKey":"API key","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Enter the API key again to confirm changing the base URL","settings.editProviderDialog.baseUrl":"Base URL","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancel","settings.editProviderDialog.editTitle":"Edit {name}","settings.editProviderDialog.failedToUpdate":"Failed to update: {error}","settings.editProviderDialog.hideApiKey":"Hide API key","settings.editProviderDialog.label":"Label","settings.editProviderDialog.labelPlaceholder":"e.g. Personal key","settings.editProviderDialog.labelRequired":"Label is required","settings.editProviderDialog.leaveBlankHint":"leave blank to keep current","settings.editProviderDialog.providerUpdated":"Provider updated","settings.editProviderDialog.save":"Save","settings.editProviderDialog.saving":"Saving...","settings.editProviderDialog.showApiKey":"Show API key","settings.joinRequestsSection.approve":"Approve","settings.joinRequestsSection.approveFailed":"Failed to approve","settings.joinRequestsSection.approved":"Request approved","settings.joinRequestsSection.deny":"Deny","settings.joinRequestsSection.denied":"Request denied","settings.joinRequestsSection.denyFailed":"Failed to deny","settings.joinRequestsSection.description":"People who requested to join via a domain in approval mode.","settings.joinRequestsSection.title":"Join requests","settings.review.title":"Reviewers & merge","settings.review.description":"The Reviewer runs on a task's pull request when its card reaches In Review.","settings.review.reviewerTitle":"Reviewer","settings.review.reviewerDescription":"Reviews the code with the repo's own review skills, fixes what it finds and tests the change on the deploy preview. An approval moves the card to QA; anything it can't settle comes back to you.","settings.review.cheapReviewerModelTitle":"Run reviewers on a cheaper model","settings.review.cheapReviewerModelDescription":"Uses a smaller model than the Super Agent. Cheaper, possibly less thorough.","settings.review.autoMergeTitle":"Auto-merge","settings.review.autoMergeDescription":"Merge the pull request when its card reaches Ready for Deployment, without waiting for Ship.","settings.review.autoResolveConflictsTitle":"Auto-resolve merge conflicts","settings.review.autoResolveConflictsDescription":"When a pull request in Ready for Deployment conflicts with its base, the Super Agent merges the base and pushes. Follows Auto-merge unless set here.","settings.review.autoAssignReportTasksTitle":"Assign Deco Score tasks to the Super Agent","settings.review.autoAssignReportTasksDescription":"Tasks created from the Deco Score go to the Super Agent instead of staying unassigned.","settings.review.updateError":"Couldn't update the setting","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instructions","settings.taskPrompt.placeholder":"e.g. Use pnpm, never npm. Never edit files under src/generated/.","settings.taskPrompt.save":"Save","settings.taskPrompt.saved":"System prompt saved","settings.taskPrompt.failed":"Couldn't save the system prompt","settings.taskPrompt.skillsLabel":"Skills on every column","settings.agentTools.title":"Agent tools","settings.agentTools.description":"What coding-agent runs can reach beyond their repository.","settings.agentTools.orgMcpsTitle":"Give runs this org's MCP connections","settings.agentTools.orgMcpsDescription":"The Super Agent and reviewers get every connected MCP. Tools load only when needed, so more connections don't crowd the context.","settings.agentTools.orgMcpsPickTitle":"Connections runs can reach","settings.agentTools.orgMcpsPickDescription":"Turn one off to keep it out of runs, for example an MCP for the tracker a run already reports to. New connections start on.","settings.agentTools.orgMcpsPickAriaLabel":"Let runs reach {name}","settings.agentTools.orgMcpsPickEmpty":"This organization has no MCP connections yet","settings.agentTools.orgMcpsPickFailed":"Could not save which connections runs can reach","settings.agentTools.orgMcpsPickLoadFailed":"Could not load MCP connections","settings.agentTools.orgMcpsPickSearch":"Search connections…","settings.agentTools.orgMcpsPickEnableAll":"Enable all","settings.agentTools.orgMcpsPickDisableAll":"Disable all","settings.agentTools.orgMcpsPickNoMatch":"No connection matches that search","settings.agentTools.orgMcpsPickSave":"Save","settings.agentTools.orgMcpsPickSaving":"Saving…","settings.agentTools.orgMcpsPickDiscard":"Discard","settings.agentTools.orgMcpsPickSaved":"Saved which connections runs can reach","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Run chats with Claude Code in a sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Each chat gets its own sandbox instead of running on Decopilot. The first message waits for the sandbox to start. Needs an Anthropic, OpenRouter or deco AI gateway key, or a Claude subscription.","settings.agentTools.codingAgentsClaudeCodeTitle":"Run Code Agent chats with Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats on an agent imported from GitHub run in that agent's sandbox, next to the code. Replies arrive a whole turn at a time. Applies to new chats only.","settings.orgRoleDetail.addMember":"Add Member","settings.orgRoleDetail.addMembersToGrantPermissions":"Add members to grant them the configured permissions.","settings.orgRoleDetail.addMembersToRole":"Add Members to Role","settings.orgRoleDetail.addWithCount":"Add ({count})","settings.orgRoleDetail.added":"Added","settings.orgRoleDetail.allConnections":"All connections","settings.orgRoleDetail.allConnectionsDescription":"Every tool on every connection, including ones added later. Uncheck a connection to leave it out.","settings.orgRoleDetail.allModels":"All models","settings.orgRoleDetail.allOrgPermissions":"All organization permissions","settings.orgRoleDetail.allProjects":"All projects","settings.orgRoleDetail.allProjectsDescription":"This role can access every project, including ones created later. Uncheck a project to hide it from this role, or turn off to pick specific projects.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Built-in role permissions cannot be changed","settings.orgRoleDetail.cancel":"Cancel","settings.orgRoleDetail.createRole":"Create role","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} enabled","settings.orgRoleDetail.failedToSaveRole":"Failed to save role","settings.orgRoleDetail.general":"General","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Grant full access to all features below","settings.orgRoleDetail.loadingModels":"Loading models...","settings.orgRoleDetail.mcpPermissions":"MCP Permissions","settings.orgRoleDetail.members":"Members","settings.orgRoleDetail.membersUpdatedSuccessfully":"Members updated successfully!","settings.orgRoleDetail.models":"Models","settings.orgRoleDetail.noLlmConnectionsConfigured":"No LLM connections configured","settings.orgRoleDetail.noMembers":"No members","settings.orgRoleDetail.noMembersAvailable":"No members available","settings.orgRoleDetail.noMembersFound":"No members found","settings.orgRoleDetail.noMembersMatch":'No members match "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'No permissions match "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"No projects available","settings.orgRoleDetail.noProjectsMatch":'No projects match "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Organization Permissions","settings.orgRoleDetail.owner":"Owner","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"Owner membership cannot be changed","settings.orgRoleDetail.projects":"Projects","settings.orgRoleDetail.removeMember":"Remove {name} from role","settings.orgRoleDetail.roleCreatedSuccessfully":"Role created successfully!","settings.orgRoleDetail.roleName":"Role name","settings.orgRoleDetail.roleNameIsRequired":"Role name is required","settings.orgRoleDetail.roleUpdatedSuccessfully":"Role updated successfully!","settings.orgRoleDetail.saveChanges":"Save Changes","settings.orgRoleDetail.saving":"Saving...","settings.orgRoleDetail.searchMcpServers":"Search MCP servers...","settings.orgRoleDetail.searchMembers":"Search members...","settings.orgRoleDetail.searchModels":"Search models...","settings.orgRoleDetail.searchPermissions":"Search permissions...","settings.orgRoleDetail.searchProjects":"Search projects...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Select members to add to this role.","settings.orgRoleDetail.showMore":"Show more ({remaining} remaining)","settings.orgRoleDetail.somethingWentWrong":"Something went wrong","settings.orgRoleDetail.unknown":"Unknown","settings.orgRoleDetail.userIsDefaultRoleMessage":"User is the default role — members can't be removed from it; assign another role to change their access","settings.orgSso.cancelButton":"Cancel","settings.orgSso.clientIdLabel":"Client ID","settings.orgSso.clientIdPlaceholder":"your-client-id","settings.orgSso.clientSecretEditDescription":"Leave empty to keep current","settings.orgSso.clientSecretLabel":"Client secret","settings.orgSso.clientSecretPlaceholder":"your-client-secret","settings.orgSso.clientSecretRequiredError":"Client secret is required for the first setup","settings.orgSso.configurationRemovedSuccess":"SSO configuration removed","settings.orgSso.configurationSavedSuccess":"SSO configuration saved","settings.orgSso.configureSsoButton":"Configure SSO","settings.orgSso.discoveryEndpointDescription":"Optional. Detected from the issuer when empty.","settings.orgSso.discoveryEndpointLabel":"Discovery endpoint","settings.orgSso.discoveryEndpointPlaceholder":"Auto-detected from issuer","settings.orgSso.domainLabel":"Domain","settings.orgSso.editConfigButton":"Edit configuration","settings.orgSso.emailDomainDescription":"The email domain this provider covers.","settings.orgSso.emailDomainLabel":"Email domain","settings.orgSso.emailDomainPlaceholder":"company.com","settings.orgSso.enforceSsoDescription":"Require all members to authenticate via SSO","settings.orgSso.enforceSsoLabel":"Enforce SSO","settings.orgSso.enforcementDisabledSuccess":"SSO enforcement disabled","settings.orgSso.enforcementEnabledSuccess":"SSO enforcement enabled","settings.orgSso.issuerUrlDescription":"Your identity provider's OIDC issuer URL.","settings.orgSso.issuerUrlLabel":"Issuer URL","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Loading...","settings.orgSso.providerLabel":"Provider","settings.orgSso.removeButton":"Remove","settings.orgSso.removeConfirmation":"Are you sure you want to remove SSO configuration?","settings.orgSso.removeSsoConfigError":"Failed to remove SSO config","settings.orgSso.requiredFieldsError":"Issuer, Client ID, and Domain are required","settings.orgSso.saveSsoConfigError":"Failed to save SSO config","settings.orgSso.savingButton":"Saving...","settings.orgSso.scopesLabel":"Scopes","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single sign-on","settings.orgSso.securityTitle":"Security","settings.orgSso.testSsoButton":"Test SSO","settings.orgSso.toggleEnforcementError":"Failed to toggle SSO enforcement","settings.orgSso.updateButton":"Update","settings.organizationForm.failedToReadImage":"Failed to read image","settings.organizationForm.failedToUpdateOrg":"Failed to update organization","settings.organizationForm.imageTooLarge":"Image must be smaller than 2MB","settings.organizationForm.logoDescription":"256×256px recommended.","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Organization name","settings.organizationForm.nameRequired":"Name is required","settings.organizationForm.nameTitle":"Name","settings.organizationForm.nameTooLong":"Name is too long","settings.organizationForm.updateSuccess":"Organization updated successfully","settings.organizationForm.uploadLogoLabel":"Upload organization logo","settings.organizationForm.urlDescription":"Used in links and API integrations, so it can't be changed.","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · added {time} ago","settings.providerKeyRow.cancel":"Cancel","settings.providerKeyRow.claudeCode":"Claude Code","settings.providerKeyRow.codex":"Codex","settings.providerKeyRow.delete":"Delete","settings.providerKeyRow.deleteApiKey":"Delete API key","settings.providerKeyRow.failedToDeleteKey":"Failed to delete key: {error}","settings.providerKeyRow.keyDeleted":"Key deleted","settings.roles.allConnections":"All connections","settings.roles.basicAccess":"Basic access","settings.roles.builtIn":"Built-in","settings.roles.cancel":"Cancel","settings.roles.columnMembers":"Members","settings.roles.columnPermissions":"Permissions","settings.roles.columnRole":"Role","settings.roles.columnType":"Type","settings.roles.connectionCount":"{count} connection(s)","settings.roles.createRole":"New role","settings.roles.createRoleGetStarted":"Create a role to get started.","settings.roles.custom":"Custom","settings.roles.delete":"Delete","settings.roles.deleteRoleConfirm":'Are you sure you want to delete the "{role}" role? This action cannot be undone.',"settings.roles.deleteRoleTitle":"Delete Role","settings.roles.deletedSuccessfully":"Role deleted successfully!","settings.roles.failedToLoad":"Failed to load roles","settings.roles.fullAccess":"Full access","settings.roles.fullOrgAccess":"Full org access","settings.roles.noPermissions":"No permissions","settings.roles.noRoles":"No roles","settings.roles.noRolesFound":"No roles found","settings.roles.noRolesMatchSearch":'No roles match "{search}"',"settings.roles.orgPermsCount":"{count} org perm(s)","settings.roles.pageTitle":"Roles","settings.roles.roleAdmin":"Admin","settings.roles.roleOwner":"Owner","settings.roles.roleUser":"User","settings.roles.searchPlaceholder":"Search roles...","settings.apiKeys.accessLabel":"Access","settings.apiKeys.accessReadOnly":"Read only","settings.apiKeys.accessReadOnlyDescription":"The {count} Studio tools that never change data. Tools added later stay out.","settings.apiKeys.accessCustom":"Choose tools","settings.apiKeys.accessCustomDescription":"Only the Studio and connection tools you pick. Tools added later stay out.","settings.apiKeys.accessFull":"Full access","settings.apiKeys.accessFullDescription":"Every tool, including ones that delete data and ones added later.","settings.apiKeys.expired":"Expired","settings.apiKeys.expiredOn":"Expired {date}","settings.apiKeys.expiresOn":"Expires {date}","settings.apiKeys.expiryDays":"{days} days","settings.apiKeys.expiryLabel":"Expires after","settings.apiKeys.expiryNever":"Never","settings.apiKeys.expiryYear":"1 year","settings.apiKeys.neverExpires":"Never expires","settings.apiKeys.readOnlyBadge":"Read only","settings.apiKeys.toolCount":"{count} tools","settings.apiKeys.studioTools":"Studio","settings.apiKeys.toolsGroupCount":"{count}/{total}","settings.apiKeys.toolsNone":"No tools","settings.apiKeys.toolsSelectGroup":"Select every tool in {name}","settings.apiKeys.toolsSelected":"{count} selected","settings.apiKeys.toolsLoadFailed":"Couldn't load the tool list. Close and try again.","settings.apiKeys.toolsSearch":"Search tools…","settings.apiKeys.cancelButton":"Cancel","settings.apiKeys.copied":"Copied to clipboard","settings.apiKeys.copyKey":"Copy key","settings.apiKeys.createButton":"Create key","settings.apiKeys.createdAt":"Created {date}","settings.apiKeys.createdDescription":"Copy this key now — it won't be shown again.","settings.apiKeys.createdTitle":"API key created","settings.apiKeys.creatingButton":"Creating…","settings.apiKeys.deleteDescription":"Any application using this key will immediately lose access. This cannot be undone.","settings.apiKeys.deleteKey":"Delete key","settings.apiKeys.deleteTitle":'Delete "{name}"?',"settings.apiKeys.done":"Done","settings.apiKeys.emptyDescription":"Create a key to authenticate external applications with this organization.","settings.apiKeys.emptyTitle":"No API keys yet","settings.apiKeys.failedToCreateKey":"Failed to create API key","settings.apiKeys.failedToDeleteKey":"Failed to delete API key","settings.apiKeys.failedToLoadError":"Failed to load API keys: {error}","settings.apiKeys.keyDeleted":'API key "{name}" deleted',"settings.apiKeys.loading":"Loading API keys…","settings.apiKeys.nameLabel":"Name","settings.apiKeys.namePlaceholder":"My integration","settings.apiKeys.newKey":"New key","settings.apiKeys.newKeyDescription":"Give the key only the tools it needs. Whoever holds the key can use them, even if it leaks.","settings.apiKeys.newKeyTitle":"New API key","settings.apiKeys.sectionDescription":"For scripts and clients that can't sign in through a browser.","settings.apiKeys.sectionTitle":"API keys","settings.secrets.cancelButton":"Cancel","settings.secrets.createButton":"Create secret","settings.secrets.creatingButton":"Creating…","settings.secrets.descriptionLabel":"Description (optional)","settings.secrets.descriptionPlaceholder":"What is this secret used for?","settings.secrets.emptyDescription":"Store API keys, tokens, and other sensitive values. Values are encrypted at rest and never returned over the API.","settings.secrets.emptyTitle":"No secrets yet","settings.secrets.failedToCreateSecret":"Failed to create secret","settings.secrets.failedToLoadError":"Failed to load secrets: {error}","settings.secrets.nameHelp":"Letters, digits, underscore, dot, hyphen. Case-insensitive within its scope.","settings.secrets.nameLabel":"Name","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"New secret","settings.secrets.newSecretDescription":"Stored encrypted in the credential vault. Choose who can read it.","settings.secrets.newSecretTitle":"New secret","settings.secrets.scopeLabel":"Scope","settings.secrets.scopeOrganization":"Organization","settings.secrets.scopeOrganizationDescription":"Organization — visible to all members","settings.secrets.scopePrivate":"Private","settings.secrets.scopePrivateDescription":"Private — only visible to me","settings.secrets.secretCreated":'Secret "{name}" created',"settings.secrets.secretsCountSingular":"{count} secret stored","settings.secrets.secretsCountPlural":"{count} secrets stored","settings.secrets.sectionOrganization":"Organization","settings.secrets.sectionPrivate":"Private to me","settings.secrets.valueLabel":"Value","settings.simpleModeSection.defaultModels":"Default models","settings.simpleModeSection.failedToSave":"Failed to save: {error}","settings.simpleModeSection.notAvailableWithCurrentProvider":"Not available with current provider","settings.simpleModeSection.pickModel":"Pick model","settings.simpleModeSection.saved":"Saved","settings.simpleModeSection.saving":"Saving…","settings.simpleModeSection.tierDeepResearch":"Deep research","settings.simpleModeSection.tierFast":"Fast","settings.simpleModeSection.tierImage":"Image","settings.simpleModeSection.tierSmart":"Smart","settings.simpleModeSection.tierThinking":"Thinking","settings.simpleModeSection.tierWebSearch":"Web search","settings.aiProviders.groupChat":"Chat and tasks","settings.aiProviders.groupMedia":"Images and web search only","settings.aiProviders.customOpenAiCompatible":"Custom OpenAI-compatible","settings.aiProviders.customOpenAiDescription":"Bring your own model server (advanced)","settings.infraBilling.noSites":"This organization doesn't own any deco.cx site yet.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Select at least one site.","settings.infraBilling.tooManySites":"Showing the first {count} sites. Select specific sites to see the rest.","settings.infraBilling.multipleTeams":"These sites are billed by {count} legacy teams. Each team's plan and invoices are listed under Invoices.","settings.infraBilling.noTeam":"These sites aren't linked to a legacy billing team.","settings.infraBilling.partialTeam":"This site's legacy team also bills sites outside this organization, so its plan and invoices aren't shown here.","settings.infraBilling.billingUnavailable":"Plan and invoices are temporarily unavailable.","settings.infraBilling.monthLabel":"Month","settings.infraBilling.warehouseUnavailable":"Usage data couldn't be read, so the figures below are incomplete.","settings.infraBilling.summaryTitle":"Summary","settings.infraBilling.metricsTitle":"Metrics","settings.infraBilling.invoicesTitle":"Invoices","settings.infraBilling.detailsTitle":"Billing details","settings.infraBilling.currentPlan":"Current plan","settings.infraBilling.nextBilling":"Next billing","settings.infraBilling.manageButton":"Manage","settings.infraBilling.portalError":"Couldn't open billing portal: {message}","settings.infraBilling.requestsPerPageview":"Requests per pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Pages served to visitors this month.","settings.infraBilling.requests":"Requests","settings.infraBilling.requestsDescription":"CDN and shared infrastructure requests.","settings.infraBilling.dataTransfer":"Data transfer","settings.infraBilling.dataTransferDescription":"Bandwidth served from the edge and the origin.","settings.infraBilling.noInvoices":"No invoices issued for this team.","settings.infraBilling.invoiceReference":"Reference","settings.infraBilling.invoiceDue":"Due date","settings.infraBilling.invoiceAmount":"Amount","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documents","settings.infraBilling.invoiceNf":"Invoice","settings.infraBilling.invoiceBankSlip":"Bank slip","settings.infraBilling.invoiceBankTransfer":"Bank transfer","settings.infraBilling.statusPaid":"Paid","settings.infraBilling.statusOverdue":"Overdue","settings.infraBilling.statusPending":"Pending","settings.gitCredentials.title":"Git credentials","settings.gitCredentials.description":"Tokens that let sandboxes pull private repos and dependencies, like submodules or private npm, go, pub or cargo packages. Pick a secret per host.","settings.gitCredentials.addCredential":"Add credential","settings.gitCredentials.cancel":"Cancel","settings.gitCredentials.createNewSecret":"Create new secret","settings.gitCredentials.createNewSecretAriaLabel":"Create new secret","settings.gitCredentials.createNewSecretDescription":"Stored encrypted. The credential references the secret by id, and its value never leaves the server.","settings.gitCredentials.createNewSecretTitle":"Create new secret","settings.gitCredentials.descriptionLabel":"Description (optional)","settings.gitCredentials.descriptionPlaceholder":"What is this token used for?","settings.gitCredentials.failedToLoadSecrets":"Failed to load secrets","settings.gitCredentials.failedToSave":"Failed to save git credentials","settings.gitCredentials.failedToSaveSecret":"Failed to save","settings.gitCredentials.hostAriaLabel":"Git credential {index} host","settings.gitCredentials.hostInvalidMessage":"Bare hostname, e.g. github.com (no scheme or path).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"You've reached the limit of {max} git credentials. Remove one to add another.","settings.gitCredentials.nameLabel":"Name","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letters, digits, underscore, dot, hyphen.","settings.gitCredentials.noSecretsYet":'No secrets yet. Use the "+" to create one.',"settings.gitCredentials.pickSecretPlaceholder":"Pick a secret…","settings.gitCredentials.remove":"Remove","settings.gitCredentials.removeAriaLabel":"Remove git credential","settings.gitCredentials.saveSecret":"Save secret","settings.gitCredentials.saving":"Saving…","settings.gitCredentials.secretAriaLabel":"Git credential {index} secret","settings.gitCredentials.scopeLabel":"Scope","settings.gitCredentials.scopeOrganization":"Organization, visible to all members","settings.gitCredentials.scopePrivate":"Private, only visible to me","settings.gitCredentials.secretSaved":'Saved secret "{name}"',"settings.gitCredentials.tokenExposureWarning":"The token is installed in the sandbox's git config for the session, so commands and agents running there can use it. Scope it to the repositories it needs.","settings.gitCredentials.tokenLabel":"Personal access token","settings.gitCredentials.tokenPlaceholder":"Paste your token"},Rte={"announcements.ptBr.title":"Studio is now in Portuguese","announcements.ptBr.description":"We noticed your browser is set to Portuguese, so we switched Studio to Portuguese (Brazil) for you. You can switch back to English anytime in settings.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Switch back to English","announcements.legacyAdmin.title":"Welcome to Deco Studio","announcements.legacyAdmin.description":"We've retired the legacy admin. Everything for your store now lives in Studio.","announcements.legacyAdmin.benefitPreview":"Edit pages next to a live preview of your site.","announcements.legacyAdmin.benefitCompare":"See the before and after before you publish.","announcements.legacyAdmin.benefitAgent":"Ask the agent in chat to make changes for you.","announcements.legacyAdmin.continue":"Continue","announcements.legacyAdmin.questions":"Questions?","announcements.release.ariaLabel":"Release announcement","announcements.release.dismiss":"Dismiss release announcement","announcements.release.learnMore":"Learn more","announcements.version.ariaLabel":"Studio update","announcements.version.dismiss":"Dismiss Studio update","announcements.version.eyebrow":"Studio update","announcements.version.title":"A new version is ready","announcements.version.description":"Refresh to load the latest Studio updates.","announcements.version.currentSession":"Current session · {version}","announcements.version.refresh":"Refresh now"},Dte={"assets.browser.title":"Assets","assets.browser.bucketLabel":"Bucket: {name}","assets.browser.noBucketTitle":"No assets bucket for this site","assets.browser.noBucketDescription":"Configure and associate an S3-compatible bucket with this site to browse and upload assets here.","assets.browser.deleteAction":"Delete","assets.browser.deleteConfirmTitle":"Delete file?","assets.browser.deleteConfirmDescription":'Permanently delete "{name}" from the bucket? This cannot be undone.',"assets.browser.deleteCancel":"Cancel","assets.browser.deleteConfirm":"Delete","assets.browser.deleted":"File deleted","assets.browser.deleteFailed":"Failed to delete file","assets.browser.filterLabel":"Filter by type","assets.browser.filterAll":"All","assets.browser.filterImages":"Images","assets.browser.filterVideos":"Videos","assets.browser.filterDocuments":"Documents","assets.browser.emptyFilterTitle":"No files of this type","assets.browser.emptyFilterDescription":"Pick another filter or load more files.","assets.browser.selectAsset":"Show details for {name}","assets.browser.uploadBarHint":"Drag files here or click to upload","assets.browser.upload":"Upload","assets.browser.dropToUpload":"Drop to upload","assets.details.close":"Close details","assets.details.type":"Type","assets.details.size":"Size","assets.details.dimensions":"Dimensions","assets.details.uploaded":"Uploaded","assets.details.url":"URL","assets.details.copy":"Copy","assets.details.copied":"Copied","assets.details.open":"Open","assets.details.replace":"Replace","assets.replace.title":"Replace {name}","assets.replace.description":"The URL stays the same: wherever this file appears, the new one appears instead.","assets.replace.before":"Before","assets.replace.after":"After","assets.replace.dropHint":"Drag the new file here","assets.replace.choose":"Choose file","assets.replace.chooseAnother":"Choose another","assets.replace.noFile":"No file yet","assets.replace.sameFormatHint":"Use the same format ({format}) and proportion","assets.replace.wrongFormat":"Choose a {format} file to keep the same format.","assets.replace.ratioWarning":"Different proportion: it may look cropped or stretched where it appears.","assets.replace.compareHint":"Choose the new file to compare.","assets.replace.cacheNote":"Pages may show the old file until their cache expires.","assets.replace.cancel":"Cancel","assets.replace.confirm":"Replace","assets.replace.replacing":"Replacing…","assets.replace.done":"File replaced","assets.replace.failed":"Failed to replace the file: {error}"},Ote={"plan.objective.eyebrow":"Your store goal","plan.objective.empty":"Write in one sentence where the brand is heading. Every plan starts from it.","plan.objective.edit":"Edit","plan.objective.label":"Store goal","plan.objective.placeholder":"E.g. Make the app our main sales channel in 2027.","plan.objective.hint":"One sentence, the way you would say it to your team. The agents take it into every plan.","plan.objective.save":"Save","plan.objective.cancel":"Cancel","plan.objective.clear":"Clear goal","plan.objective.find":"Find with AI","plan.objective.finding":"Reading the brand's files, meetings and messages…","plan.objective.found":"Found in {source}: “{quote}”","plan.objective.notFound":"I could not tell the brand's goal from its files and conversations. Write it here the way your team would say it.","plan.objective.findUnavailable":"The AI could not look for the goal right now. Try again later, or write it here.","plan.objective.read":"I read: {sources}.","plan.objective.readNothing":"I found nothing to read about the brand's plans.","plan.objective.unread":"I could not read: {files}.","plan.objective.connectHint":"Connect meetings or messages, like Grain or WhatsApp, so I can find it next time.","plan.objective.saveError":"Could not save the goal. Try again.","plan.idea.heading":"What do you want to improve in the store?","plan.idea.description":"Say it however it comes to you, even vaguely. A few quick questions fill in what only you know, then the agent builds the case: the problem in numbers, who already does it, the money at stake, effort and the A/B test.","plan.idea.label":"Your idea","plan.idea.placeholder":"E.g. I want to improve search. Or: a fit guide on the product page would raise conversion.","plan.idea.submit":"Build the business case","plan.idea.startWith":"Start with","plan.idea.topic.shipping":"Shipping","plan.idea.topic.shippingPrompt":"Shipping: ","plan.idea.topic.pdp":"Product page","plan.idea.topic.pdpPrompt":"On the product page, ","plan.idea.topic.checkout":"Checkout","plan.idea.topic.checkoutPrompt":"In the checkout, ","plan.idea.topic.search":"Search","plan.idea.topic.searchPrompt":"In the search, ","plan.idea.topic.performance":"Performance","plan.idea.topic.performancePrompt":"To make the store faster, ","plan.idea.topic.paidMedia":"Paid media","plan.idea.topic.paidMediaPrompt":"For people coming from paid media, ","plan.prompt.withObjective":`Let's build a business case for this request together. Follow the business-case skill (read /app/org/public/core/business-case/SKILL.md). The canvas for this case is {casePath}: run init now, before anything else, and fill the cards as we go. If the request does not say where and what, ask me one thing at a time, with options.
|
|
92
|
+
This site reports no post sections yet — once it does, cite them here with @.`,"sandbox.formats.starterName":"Standard post","sandbox.formats.suggestButton":"Suggest formats","sandbox.formats.suggestFailed":"Couldn't suggest formats","sandbox.formats.suggestHint":"Name the formats this blog already writes in, from how its posts are built","sandbox.formats.suggested":"{count} format(s) added","sandbox.formats.unknownCitations":"This format cites sections the site doesn't have: {names}","sandbox.generatePost.stepCampaign":"Campaign","sandbox.generatePost.campaignHint":"A post is written for a campaign: it carries the moment, the products it may name and the links to them.","sandbox.generatePost.noCampaigns":"No campaign to write for yet. Create one under Context → Campaigns.","sandbox.generatePost.campaignProducts":"{count} product(s)","sandbox.generatePost.campaignNoProducts":"No products","sandbox.generatePost.formatBlocksHint":"The blocks this format cites are the only ones a post may be built from, and each is filled to its own schema.","sandbox.generatePost.countLabel":"How many drafts","sandbox.generatePost.countHint":"Each takes a different angle on the same campaign. They land as separate cards.","sandbox.generatePost.coverHint":"Every draft gets a cover image, generated and uploaded to your bucket.","sandbox.generatePost.gapNoStoreData":"No connected system answered, so nothing in these posts was checked against the store.","sandbox.generatePost.gapSectionsDropped":"{count} section(s) were dropped: their props did not match the block that renders them.","sandbox.generatePost.gapNoBucket":"No bucket to upload images to, so the posts have no cover. Configure one under Settings → Buckets.","sandbox.generatePost.gapNoImageModel":"This organization has no image model configured, so the posts have no cover.","sandbox.generatePost.gapImagesFailed":"The cover images could not be generated. The posts are otherwise complete.","sandbox.generatePost.gapDraftsFailed":"{count} draft(s) could not be written and their cards were left empty.","sandbox.generatePost.back":"Back","sandbox.generatePost.blockedBrand":"Fill in {fields} on the Brand tab first — a post written without them reads like any other brand's.","sandbox.generatePost.done":"Wrote {count} draft(s) — ready for review","sandbox.generatePost.extraLabel":"Anything else?","sandbox.generatePost.extraPlaceholder":"What you want on top of everything else, in your words.","sandbox.generatePost.failed":"Could not write these posts","sandbox.generatePost.formatHint":"Pick a format this brand already uses, or describe a new one.","sandbox.generatePost.formatNameLabel":"Format name","sandbox.generatePost.formatNamePlaceholder":"The format, named by the job it does","sandbox.generatePost.formatValueLabel":"How a post like this is built","sandbox.generatePost.formatValuePlaceholder":"How it opens, develops and closes.","sandbox.generatePost.generate":"Generate {count} draft(s)","sandbox.generatePost.next":"Next","sandbox.generatePost.stepExtra":"Instructions","sandbox.generatePost.stepFormat":"Format","sandbox.generatePost.subtitle":"Pick the campaign and the format. The posts land on the board as drafts.","sandbox.generatePost.title":"Generate posts","sandbox.itemActions.addVariant":"Add variant","sandbox.itemActions.delete":"Delete","sandbox.itemActions.discardChanges":"Discard changes","sandbox.itemActions.duplicate":"Duplicate","sandbox.itemActions.editSeo":"Edit SEO","sandbox.itemActions.moreActions":"More actions","sandbox.itemActions.rename":"Rename","sandbox.itemActions.viewJson":"View JSON","sandbox.itemRow.duplicateName":"Another record uses this name","sandbox.itemRow.missingFields":"Missing: {fields}","sandbox.itemRow.selectItem":"Select {title}","sandbox.itemRow.variantCount":"{count} variants","sandbox.listBlocks.addCard":"Add card","sandbox.listBlocks.addItem":"Add item","sandbox.listBlocks.addStat":"Add stat","sandbox.listBlocks.addStep":"Add step","sandbox.listBlocks.cardBody":"Card body","sandbox.listBlocks.cardTitle":"Card title","sandbox.listBlocks.checklistItem":"Checklist item","sandbox.listBlocks.checklistTitle":"Checklist title (optional)","sandbox.listBlocks.columnTitle":"Column title","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Label","sandbox.listBlocks.optionA":"Option A","sandbox.listBlocks.optionB":"Option B","sandbox.listBlocks.removeCard":"Remove card","sandbox.listBlocks.removeItem":"Remove item","sandbox.listBlocks.removeStat":"Remove stat","sandbox.listBlocks.removeStep":"Remove step","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Step description","sandbox.listBlocks.stepTitle":"Step title","sandbox.listBlocks.stepsTitle":"Steps title (optional)","sandbox.mediaBlocks.addCaption":"Add a caption…","sandbox.mediaBlocks.altText":"Alt text (accessibility)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Button label","sandbox.mediaBlocks.calloutText":"Callout text…","sandbox.mediaBlocks.calloutTitle":"Callout title","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://destination-url.com","sandbox.linkSuggest.button":"Suggest links","sandbox.linkSuggest.hint":"Find phrases to link to your other posts (uses AI credits)","sandbox.linkSuggest.noCandidates":"No other posts to link to yet","sandbox.linkSuggest.title":"Suggested internal links","sandbox.linkSuggest.description":"Pick which phrases to link to your other posts. Nothing changes until you apply.","sandbox.linkSuggest.none":"No internal links to suggest.","sandbox.linkSuggest.apply":"Apply {count}","sandbox.linkSuggest.applied":"Applied {count} link(s)","sandbox.linkSuggest.failed":"Could not suggest links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Product","sandbox.linkPicker.searchPosts":"Search your posts…","sandbox.linkPicker.noPosts":"No matching posts","sandbox.linkPicker.searchProducts":"Search your catalog…","sandbox.linkPicker.searching":"Searching…","sandbox.linkPicker.noProducts":"No matching products","sandbox.mediaBlocks.divider":"Divider","sandbox.mediaBlocks.fullWidth":"Full width","sandbox.mediaBlocks.highPriority":"Priority","sandbox.mediaBlocks.highPriorityHint":"Loads eagerly with high fetch priority. Use for images above the fold.","sandbox.mediaBlocks.label":"Label","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Optional description","sandbox.mediaBlocks.pasteVideoUrl":"Paste a YouTube or Vimeo URL to preview","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Video","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancel","sandbox.pageFormDialog.labelName":"Name","sandbox.pageFormDialog.labelPath":"Path","sandbox.pageFormDialog.labelTemplate":"Template","sandbox.pageFormDialog.pendingCreate":"Creating…","sandbox.pageFormDialog.pendingDuplicate":"Duplicating…","sandbox.pageFormDialog.pendingSave":"Saving…","sandbox.pageFormDialog.placeholderName":"My page","sandbox.pageFormDialog.placeholderPath":"/example","sandbox.pageFormDialog.submitCreate":"Create","sandbox.pageFormDialog.submitDuplicate":"Duplicate","sandbox.pageFormDialog.submitSave":"Save","sandbox.pageFormDialog.titleCreate":"Create new page","sandbox.pageFormDialog.titleDuplicate":"Duplicate page","sandbox.pageFormDialog.titleRename":"Rename page","sandbox.pathParamPickerChip.buttonTitle":"Value for {paramLabel} — click to pick","sandbox.pathParamPickerChip.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categories","sandbox.pathParamPickerChip.kindCategoryNoun":"category","sandbox.pathParamPickerChip.kindProductHeading":"Products","sandbox.pathParamPickerChip.kindProductNoun":"product","sandbox.pathParamPickerChip.loading":"Loading {noun}…","sandbox.pathParamPickerChip.noResults":"No results.","sandbox.pathParamPickerChip.pickValueHeading":"Pick a value for","sandbox.pathParamPickerChip.pickValueTitle":"Pick a value for {paramLabel}","sandbox.pathParamPickerChip.searchBlogPlaceholder":"Search posts, categories or authors, or enter a value…","sandbox.pathParamPickerChip.searchPlaceholder":"Search {options} or enter a value…","sandbox.pathParamPickerChip.useRawValue":'Use "{rawTerm}" as {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Bulleted","sandbox.plainBlocks.codePlaceholder":"Code","sandbox.plainBlocks.headingLevel1":"Heading 1","sandbox.plainBlocks.headingLevel2":"Heading 2","sandbox.plainBlocks.headingLevel3":"Heading 3","sandbox.plainBlocks.headingLevel4":"Heading 4","sandbox.plainBlocks.headingPlaceholder":"Heading","sandbox.plainBlocks.languagePlaceholder":"language","sandbox.plainBlocks.listItemPlaceholder":"List item","sandbox.plainBlocks.numberedLabel":"Numbered","sandbox.plainBlocks.quotePlaceholder":"Quote","sandbox.postBoard.close":"Close","sandbox.postBoard.archived":"Moved to Archived","sandbox.postBoard.collapse":"Collapse to panel","sandbox.postBoard.collapseLane":"Collapse {lane}","sandbox.postBoard.delete":"Delete","sandbox.postBoard.emptyDescription":"Generate a few ideas and shape them into published posts.","sandbox.postBoard.emptyTitle":"No posts yet","sandbox.postBoard.duplicateTitle":"Duplicate title","sandbox.postBoard.expand":"Expand to full page","sandbox.postBoard.expandLane":"Expand {lane}","sandbox.postBoard.laneEmpty":"Nothing here yet","sandbox.postBoard.laneArchived":"Archived","sandbox.postBoard.laneGenerating":"Generating","sandbox.postBoard.laneDraft":"Draft","sandbox.postBoard.laneAwaitingReview":"Awaiting review","sandbox.postBoard.lanePublished":"Published","sandbox.postBoard.laneScheduled":"Scheduled","sandbox.postBoard.moveBlocked":"This post is missing required fields — open it to finish before scheduling.","sandbox.postBoard.moveFailed":"Could not move this post","sandbox.postBoard.moveInFlight":"Still moving this post…","sandbox.postBoard.moveNotATarget":"Generating is set by the generation run, not by hand.","sandbox.postBoard.nIssues":"{count} to fix before scheduling","sandbox.postBoard.newPost":"New post","sandbox.postBoard.newPostGenerate":"Generate","sandbox.postBoard.newPostGenerateHint":"Write it with AI, from your context","sandbox.postBoard.newPostWrite":"Write","sandbox.postBoard.newPostWriteHint":"Start an empty draft yourself","sandbox.postBoard.importContent":"Import content","sandbox.postBoard.importContentHint":"Bring in HTML or Markdown you already wrote","sandbox.postBoard.importTitle":"Import content","sandbox.postBoard.importDescription":"Paste HTML or Markdown you already wrote. It becomes an editable draft in your design system — no AI, no credits.","sandbox.postBoard.importUpload":"Upload a file","sandbox.postBoard.importRun":"Import","sandbox.postBoard.importEmpty":"Nothing to import — the content was empty.","sandbox.postBoard.imported":"Imported — review and publish.","sandbox.postBoard.readyToSchedule":"Ready to schedule","sandbox.postBoard.selectPrompt":"Select a post to view it here.","sandbox.postBoard.untitled":"Untitled post","sandbox.postBoard.generatingLabel":"Generating…","sandbox.postBoard.usesCredits":"Uses AI credits","sandbox.postBoard.viewBoard":"Board","sandbox.postBoard.viewList":"List","sandbox.postCalendar.couldNotCreate":"Could not create","sandbox.postCalendar.couldNotReschedule":"Could not reschedule","sandbox.postCalendar.createdScheduledPost":"Created scheduled post","sandbox.postCalendar.legendScheduled":"Scheduled","sandbox.postCalendar.legendUnscheduled":"Not scheduled","sandbox.postCalendar.next":"Next month","sandbox.postCalendar.onlyScheduledCanMove":"Only scheduled posts can be moved.","sandbox.postCalendar.previous":"Previous month","sandbox.postCalendar.schedulePostOn":"Schedule a post on {date}","sandbox.postCalendar.today":"Today","sandbox.postCalendar.unscheduledHint":"Dashed posts aren't scheduled — they sit on their display date, and nothing will publish them.","sandbox.postCalendar.undatedEmpty":"Every post has a date.","sandbox.postCalendar.undatedLabel":"No date · {count}","sandbox.postEditor.addPropLabel":"Add prop","sandbox.postEditor.authorsLabel":"Authors","sandbox.postEditor.categoriesLabel":"Categories","sandbox.postEditor.contentTab":"Content","sandbox.postEditor.coverAltDescription":"Describes the image for screen readers and when it fails to load. Empty: the post title is used.","sandbox.postEditor.coverAltLabel":"Cover image alt text","sandbox.postEditor.coverImageLabel":"Cover image","sandbox.postEditor.dateLabel":"Date","sandbox.postEditor.deletePost":"Delete post","sandbox.postEditor.deletePostCancel":"Cancel","sandbox.postEditor.deletePostConfirmBody":`"{title}" will be removed permanently. This can't be undone.`,"sandbox.postEditor.deletePostConfirmBodyDraft":'"{title}" will be removed from your draft. Nothing goes live until you publish, and until then you can bring it back by discarding this change in Publish.',"sandbox.postEditor.deletePostConfirmBodyNeverPublished":`"{title}" will be removed from your draft. It was never published, so nothing changes on the live site, and once removed it can't be brought back.`,"sandbox.postEditor.deletePostConfirmTitle":"Delete this post?","sandbox.postEditor.deletePostFailed":"Delete failed","sandbox.postEditor.deletePostSuccess":'Deleted "{title}"',"sandbox.postEditor.deletingPost":"Deleting…","sandbox.postEditor.duplicateTitleWarning":"Another post already uses this title. Duplicate titles compete with each other in search.","sandbox.postEditor.excerptLabel":"Excerpt","sandbox.postEditor.extraPropsLabel":"Extra props","sandbox.postEditor.issuePlural":"issues","sandbox.postEditor.issueSingular":"issue","sandbox.postEditor.keyPlaceholder":"key","sandbox.postEditor.legacyCodeBlock":"Code block","sandbox.postEditor.legacyContentPlaceholder":"Write the post…","sandbox.postEditor.legacyImageDataUrl":"Pasted image data isn't kept in the post. Upload the image or use its address.","sandbox.postEditor.legacyInsertImage":"Insert image from the library","sandbox.postEditor.legacyInsertImageUrl":"Insert image from a URL","sandbox.postEditor.legacySectionsNotice":"This post also has {count} blocks from the block editor. They are kept as they are; this editor only changes the HTML body.","sandbox.postEditor.missingFieldPlural":"Missing required fields: {fields}","sandbox.postEditor.missingFieldSingular":"Missing required field: {fields}","sandbox.postEditor.noAuthorsYet":"No authors yet — create some in the authors collection.","sandbox.postEditor.noCategoriesYet":"No categories yet — create some in the categories collection.","sandbox.postEditor.noContentYet":"This post has no content yet. Use ⊕ to add your first block.","sandbox.postEditScreen.notFound":"This post no longer exists","sandbox.postEditScreen.notFoundHint":"It may have been deleted, or the link points at an id this site does not have.","sandbox.postEditScreen.edit":"Edit","sandbox.postEditScreen.preview":"Preview","sandbox.postEditScreen.resizeSplit":"Resize the editor and the preview","sandbox.postEditScreen.resizeSplitHint":"Drag to resize. Double-click to reset.","sandbox.postPreview.desktop":"Desktop","sandbox.postPreview.frameTitle":"Post preview","sandbox.postPreview.missingParams":"Not enough to build the URL","sandbox.postPreview.missingParamsHint":"Set the post's slug, and its category when the blog route uses one.","sandbox.postPreview.mobile":"Mobile","sandbox.postPreview.noOrigin":"Waiting for the site","sandbox.postPreview.noOriginHint":"The preview appears once this project's site is serving.","sandbox.postPreview.noRoute":"This site has no blog post page","sandbox.postPreview.noRouteHint":"Add a page with the blog post section, or set the blog app's pageSlug, and the preview can render.","sandbox.postPreview.openInNewTab":"Open in new tab","sandbox.postPreview.refresh":"Refresh","sandbox.postEditor.postTitlePlaceholder":"Post title","sandbox.postEditor.readTimeLabel":"Read time (minutes)","sandbox.postEditor.previewRequiresSlugAndCategory":"Set the post slug (and its category) plus the blog app's pageSlug to preview","sandbox.postEditor.previewTooltip":"Open the post preview in a new tab","sandbox.postEditor.scheduledDatetimeDescription":"When this post goes live. The site publishes it on its own once this moment passes.","sandbox.postEditor.scheduledDatetimeLabel":"Goes live at","sandbox.postEditor.removePropLabel":"Remove prop","sandbox.postEditor.seePreview":"See preview","sandbox.postEditor.selectAuthorsPlaceholder":"Select authors","sandbox.postEditor.selectCategoriesPlaceholder":"Select categories","sandbox.postEditor.seoCanonicalLabel":"Canonical URL","sandbox.postEditor.seoCanonicalPlaceholder":"https://example.com/blog/my-post","sandbox.postEditor.seoDescriptionLabel":"SEO description","sandbox.postEditor.seoImageLabel":"SEO image","sandbox.postEditor.seoNoIndexingLabel":"Hide from search engines (noindex)","sandbox.postEditor.seoSectionHint":"Overrides how this post appears in search engines. Empty fields fall back to the post's title, excerpt and cover image.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"SEO title","sandbox.postEditor.settingsTab":"Settings","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"That slug was already taken — saved as “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"my-post","sandbox.postEditor.valuePlaceholder":"value","sandbox.postList.noMatches":"No posts match your search or filters.","sandbox.postToolbar.allPosts":"All posts","sandbox.postToolbar.archiveSelected":"Archive selected","sandbox.postToolbar.archiveSelectedPosts":"Archive selected posts","sandbox.postToolbar.authorLabel":"Author","sandbox.postToolbar.categoryLabel":"Category","sandbox.postToolbar.clearFilter":"Clear filter","sandbox.postToolbar.deselectAll":"Deselect all","sandbox.postToolbar.deselectAllPosts":"Deselect all posts","sandbox.postToolbar.exitSelection":"Exit selection","sandbox.postToolbar.filterBy":"Filter by","sandbox.postToolbar.filterLabel":"Filter","sandbox.postToolbar.itemsSelected":"{count} selected","sandbox.postToolbar.clearSearch":"Clear search","sandbox.postToolbar.searchAriaLabel":"Search posts","sandbox.postToolbar.searchPlaceholder":"Search posts","sandbox.postToolbar.selectAll":"Select all","sandbox.postToolbar.selectAllPosts":"Select all posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Sort by","sandbox.postToolbar.sortNewest":"Newest","sandbox.postToolbar.sortNewestFirst":"Newest first","sandbox.postToolbar.sortOldest":"Oldest","sandbox.postToolbar.sortOldestFirst":"Oldest first","sandbox.postToolbar.sortTitleAZ":"Title A–Z","sandbox.postToolbar.sortTitleZA":"Title Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"path","sandbox.preview.choosePage":"Choose page","sandbox.preview.clickElementToAsk":"Click any element to ask the AI","sandbox.preview.collapseTerminal":"Collapse terminal","sandbox.preview.expandTerminal":"Expand terminal","sandbox.preview.resizeTerminal":"Resize terminal","sandbox.preview.createNewPage":"Create new page","sandbox.preview.devServerPreviewTitle":"Dev Server Preview","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Mobile (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter to go","sandbox.preview.failedToCreatePage":"Failed to create page","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Global components","sandbox.preview.globalLoaders":"Global loaders","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"This loader no longer exists.","sandbox.preview.noPagesFound":"No pages found in this site.","sandbox.preview.noSearchResults":"No results match your search.","sandbox.preview.siteRoutes":"Site routes","sandbox.preview.noServerRunning":"No server running","sandbox.preview.openInNewTab":"Open in new tab","sandbox.preview.pageAlreadyExists":'A page with path "{path}" already exists.',"sandbox.preview.pageCreated":'Page "{name}" created',"sandbox.preview.blockOnNoPage":"This block isn't used on any page, so there's nothing to preview.","sandbox.preview.previewMetadataNotReady":"Preview metadata not ready yet","sandbox.preview.pageSchemaNotReady":"The site is still loading. Try again in a moment.","sandbox.preview.searchPagesAndComponents":"Search pages and components...","sandbox.preview.startingPreview":"Starting your preview","sandbox.preview.startingPreviewHint":"Showing your published site. You can make changes now — they'll appear once the preview is ready.","sandbox.preview.templateNoLongerExists":"Selected template no longer exists.","sandbox.preview.valueForParam":"Value for {label}","sandbox.preview.blocksEditor":"Blocks editor","sandbox.preview.visualEditor":"Visual editor","sandbox.productBlocks.addProductIdButton":"Add product ID","sandbox.productBlocks.addProductsButton":"Add products","sandbox.productBlocks.addProductsDescription":"Search VTEX products, or pick a category or cluster","sandbox.productBlocks.browseProductsButton":"Browse products","sandbox.productBlocks.changeButton":"Change","sandbox.productBlocks.chooseProductButton":"Choose a product","sandbox.productBlocks.ctaLabelField":"CTA label","sandbox.productBlocks.ctaLabelPlaceholder":"View product","sandbox.productBlocks.dragToReorderLabel":"Drag to reorder","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Loading…","sandbox.productBlocks.productCardLabel":"Product card","sandbox.productBlocks.productField":"Product","sandbox.productBlocks.productPlural":"products","sandbox.productBlocks.productSingular":"product","sandbox.productBlocks.productSlugField":"Product slug","sandbox.productBlocks.productSlugPlaceholder":"product-slug","sandbox.productBlocks.productWithId":"Product {id}","sandbox.productBlocks.removeProductButton":"Remove product","sandbox.productBlocks.removeProductIdButton":"Remove product ID","sandbox.productBlocks.removeProductLabel":"Remove product","sandbox.productBlocks.shelfTitlePlaceholder":"Shelf title","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Start the dev server to browse products, or add SKU ids below.","sandbox.productBlocks.vtexProductIdPlaceholder":"VTEX product ID (e.g. 151331)","sandbox.productBlocks.vtexProductIds":"VTEX product IDs","sandbox.productPickerDialog.addProducts":"Add products","sandbox.productPickerDialog.categoryLabel":"Category: ","sandbox.productPickerDialog.change":" — change","sandbox.productPickerDialog.chooseProduct":"Choose a product","sandbox.productPickerDialog.clusterIdPlaceholder":"Collection / cluster ID (e.g. 2140)","sandbox.productPickerDialog.couldNotLoad":"Couldn't load — is the dev server running?","sandbox.productPickerDialog.done":"Done","sandbox.productPickerDialog.enterClusterPrompt":"Enter a collection or cluster ID.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filter categories…","sandbox.productPickerDialog.loadingCategories":"Loading categories…","sandbox.productPickerDialog.loadingProducts":"Loading products…","sandbox.productPickerDialog.modeCategory":"Category","sandbox.productPickerDialog.modeClusterId":"Cluster ID","sandbox.productPickerDialog.modeSearch":"Search","sandbox.productPickerDialog.noCategories":"No categories.","sandbox.productPickerDialog.noProductsFound":"No products found.","sandbox.productPickerDialog.noneSelected":"None selected","sandbox.productPickerDialog.pickCategoryPrompt":"Pick a category to see its products.","sandbox.productPickerDialog.searchProductsPlaceholder":"Search products by name or ID…","sandbox.productPickerDialog.selectedCount":"{count} selected","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Company","sandbox.recordEditor.fieldEmail":"Email","sandbox.recordEditor.fieldJobTitle":"Job title","sandbox.recordEditor.fieldName":"Name","sandbox.recordEditor.fieldType":"Type","sandbox.recordEditor.fieldUrl":"Website","sandbox.recordEditor.optionOrganization":"Organization","sandbox.recordEditor.optionPerson":"Person","sandbox.recordEditor.placeholderEmail":"author@example.com","sandbox.recordEditor.placeholderUrl":"https://example.com","sandbox.recordEditor.titleAuthor":"Author","sandbox.redirectFormDialog.title":"Create redirect","sandbox.redirectFormDialog.submit":"Create","sandbox.redirectFormDialog.pending":"Creating…","sandbox.redirectFormDialog.cancel":"Cancel","sandbox.redirectFormDialog.errorRequired":"From and To are required.","sandbox.redirectEditor.discardQueryParameters":"Discard query parameters","sandbox.redirectEditor.fromDescription":"The source path to match. Supports URLPattern syntax (e.g. /product/:slug).","sandbox.redirectEditor.fromLabel":"From","sandbox.redirectEditor.fromPlaceholder":"/old-path","sandbox.redirectEditor.statusDescription":"An explicit status code wins over the type.","sandbox.redirectEditor.statusFromType":"Follow the type ({status})","sandbox.redirectEditor.statusLabel":"Status code","sandbox.redirectEditor.typeHint":"Use **Temporary** when the redirect may change; **Permanent** lets browsers cache it.","sandbox.redirectEditor.title":"Redirect","sandbox.redirectEditor.toDescription":"The destination — a relative path or an absolute URL.","sandbox.redirectEditor.toLabel":"To","sandbox.redirectEditor.toPlaceholder":"/new-path","sandbox.redirectEditor.typeLabel":"Type","sandbox.redirectEditor.typePermanent":"Permanent ({status})","sandbox.redirectEditor.typePlaceholder":"Type","sandbox.redirectEditor.typeTemporary":"Temporary ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"See your changes before they go live.","sandbox.cmsSettings.fastPreview.label":"Fast Preview","sandbox.cmsSettings.fastPreview.description":"New chats start as CMS sessions, previewed on your preview server instead of a sandbox. Existing chats keep the mode they were created with.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Set a preview server above to enable Fast Preview.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Add your site's address above to preview drafts. Until then, new chats start a coding session.","sandbox.cmsSettings.fastPreviewInPlace.label":"Instant preview (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Refresh edits in place, without waiting for a save — much faster, but only works on websites that have /live/previews route.","sandbox.cmsSettings.contentEditing.on":"Enabled","sandbox.cmsSettings.contentEditing.onDescription":"The Site Editor offers Content and opens Blocks beside Preview on desktop.","sandbox.cmsUnavailable.noPreviewServer":"It's a CMS session, but this project has no preview server configured.","sandbox.cmsUnavailable.noRepo":"It's a CMS session, but this project has no GitHub repository to save to.","sandbox.cmsUnavailable.startCodingSession":"Continue this branch in a coding session","sandbox.previewServerUrlField.description":"Your live server's address, used to preview content. Required for Fast Preview.","sandbox.previewServerUrlField.descriptionBlocksV8":"Your live site's address. Studio shows your drafts on it before you publish. A new address shows drafts after your next publish.","sandbox.previewServerUrlField.label":"Preview server","sandbox.previewServerUrlField.placeholder":"https://example.com","sandbox.fieldDescriptionTooltipsField.label":"Compact descriptions","sandbox.fieldDescriptionTooltipsField.description":"In the blocks form, show a field's description as a hover tooltip on its title instead of text below the title.","sandbox.legacyBlogPostFormatField.label":"Legacy blog post editor","sandbox.legacyBlogPostFormatField.description":"Edit a blog post's body via HTML, in one rich-text editor saved to its content field, the format older blog templates read, instead of as blocks.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edits stay local until you save this as a global {singular}. Run to invoke it against the live preview.","sandbox.runnableBlockEditor.closeJsonEditor":"Close JSON editor","sandbox.runnableBlockEditor.closeResult":"Close result","sandbox.runnableBlockEditor.collapse":"Collapse","sandbox.runnableBlockEditor.collapseResult":"Collapse result","sandbox.runnableBlockEditor.editAsJson":"Edit as JSON","sandbox.runnableBlockEditor.expand":"Expand","sandbox.runnableBlockEditor.expandResult":"Expand result","sandbox.runnableBlockEditor.failedToRun":"Failed to run {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"This {singular} doesn't publish a props schema. Edit its props as JSON, then run it.","sandbox.runnableBlockEditor.inferredSchemaNotice":"This {singular} doesn't publish a props schema — fields below are inferred from its saved values. Use the JSON editor to add props not shown here.","sandbox.runnableBlockEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.runnableBlockEditor.noInputEmptyState":"This {singular} takes no configurable input. Run it to see its output.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Open in new tab (re-runs the {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Open result in new tab","sandbox.runnableBlockEditor.pressRunToInvoke":"Press Run to invoke this {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Result","sandbox.runnableBlockEditor.run":"Run","sandbox.runnableBlockEditor.runAriaLabel":"Run {singular}","sandbox.runnableBlockEditor.running":"Running {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Save as global {singular}","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Save as global {singular}","sandbox.runnableBlockEditor.savedModeDescription":"Global {singular} — changes save automatically. Run to invoke it against the live preview.","sandbox.runnableBlocksBrowser.emptyFolder":"This folder is empty.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Start the preview dev server so its manifest loads.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"No {kind} here","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Folder breadcrumb","sandbox.runnableBlocksBrowser.hideSaved":"Hide saved","sandbox.runnableBlocksBrowser.noSearchResults":'No {kind} match "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"Search covers every folder — try a different term.","sandbox.runnableBlocksBrowser.savedBlockToast":'Saved {singular} "{blockId}"',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} saved","sandbox.runnableBlocksBrowser.searchAriaLabel":"Search all {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Search all {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"See saved","sandbox.runtimeFields.auto":"Auto","sandbox.runtimeFields.autoDetect":"Auto-detect","sandbox.runtimeFields.devServerPort":"Dev server port","sandbox.runtimeFields.devServerPortDescription":"Leave blank to let the runner pick.","sandbox.runtimeFields.packageManager":"Package manager","sandbox.runtimeFields.packagePath":"Package path","sandbox.runtimeFields.packagePathDescription":"Path (relative to repo root) to the directory containing package.json. Leave blank for the repo root.","sandbox.runtimeApps.title":"Other apps","sandbox.runtimeApps.description":"Other apps of this repository to preview beside the main one, up to {max}. Each runs its own dev server.","sandbox.runtimeApps.add":"Add app","sandbox.runtimeApps.remove":"Remove {path}","sandbox.runtimeApps.duplicate":"This app is already in the list.","sandbox.appTabs.label":"Apps","sandbox.appTabs.root":"root","sandbox.appTabs.main":"Main","sandbox.appTabs.remove":"Remove {app}","sandbox.appTabs.add":"Add another app from this repository","sandbox.appTabs.pathLabel":"Path of the app in the repository, like apps/checkout","sandbox.appTabs.mainHint":"The chat and the editor work on this app.","sandbox.appTabs.extraHint":"Preview only. The chat keeps working on {app}.","sandbox.appPane.previewOnly":"Preview only. The chat and the editor keep working on {app}.","sandbox.appTabs.saveError":"Couldn't save the project's apps.","sandbox.appTabs.split":"View side by side","sandbox.appTabs.single":"View one app","sandbox.appPane.path":"Path in {app}","sandbox.appPane.reload":"Reload {app}","sandbox.appPane.openInNewTab":"Open {app} in a new tab","sandbox.appPane.close":"Close {app}","sandbox.appPane.failed":"The sandbox couldn't start. Retry from {app}.","sandbox.appPane.waiting":"Starting the sandbox…","sandbox.appPane.noUrl":"This app has no preview address.","sandbox.appPane.notStarted":"{app} isn't running yet: the sandbox started before it was added.","sandbox.appPane.start":"Start {app}","sandbox.savedSectionEditor.closeJsonEditor":"Close JSON editor","sandbox.saveStatus.failed":"Couldn't save","sandbox.saveStatus.saved":"Saved","sandbox.saveStatus.saving":"Saving…","sandbox.savedSectionEditor.editAsJson":"Edit as JSON","sandbox.savedSectionEditor.globalSectionDescription":"Global section — changes save automatically and apply everywhere it's used.","sandbox.savedSectionEditor.invalidJsonError":"Invalid JSON — changes aren't saved until it parses.","sandbox.savedSectionEditor.noEditableFields":"No editable fields for this section.","sandbox.schemaless.agentPrompt":"This site's content is edited in deco Studio, but Studio hasn't received the site's schema yet, so its content forms show raw fields. Please set that up in this repository:\n\n1. Make sure @decocms/blocks is 8.11.0 or newer (upgrade it if not), then run `npx deco skills install` to add the deco framework skills to this repository.\n2. Load the deco-site-workflow skill and follow its references/schema.md: generate the schema with `npx deco schema` and commit .deco/schema.gen.json; make DECO_SITE resolve to the Studio site {site}; send the schema to Studio with `npx deco schema push`; and wire `npx deco schema push` into the production deploy (after the deploy succeeds, with a Studio API key in the DECO_TOKEN secret) so every deploy sends it.\n3. Run `npx deco check` and report back: what you changed, and what each command printed.","sandbox.schemaless.agentPromptSiteUnknown":"this project uses (ask me for its name if you can't find it)","sandbox.schemaless.back":"All blocks","sandbox.schemaless.bannerBody":"This site hasn't sent Studio its schema yet (the description of each form's fields), so every block opens with plain fields built from its saved values. Saving still keeps everything else as it is. Ask the coding agent working on your site to set it up: copy the prompt and paste it into the agent. It takes one deploy, and the forms here update on their own.","sandbox.schemaless.bannerTitle":"Content forms are showing raw fields","sandbox.schemaless.copyPrompt":"Copy prompt for your agent","sandbox.schemaless.copyPromptFailed":"Couldn't copy the prompt. Check that this page may use the clipboard, then try again.","sandbox.schemaless.empty":"Empty","sandbox.schemaless.installSkill":"Install skill","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} items","sandbox.schemaless.listLabel":"Saved blocks","sandbox.schemaless.noBlocks":"No saved blocks yet.","sandbox.schemaless.noMatches":"No blocks match your search.","sandbox.schemaless.noType":"Without a type","sandbox.schemaless.notANumber":"Enter a number. The saved value stays until you do.","sandbox.schemaless.notSet":"Not set","sandbox.schemaless.pickBlock":"Pick a block to see its content.","sandbox.schemaless.promptCopied":"Copied","sandbox.schemaless.promptCopiedAnnouncement":"Prompt copied to the clipboard","sandbox.schemaless.searchPlaceholder":"Search blocks","sandbox.schemaless.usesSkill":"Uses the deco-site-workflow skill","sandbox.sectionRenameDialog.cancel":"Cancel","sandbox.sectionRenameDialog.description":"Updates the display name. The internal key stays the same so pages referencing this section keep working.","sandbox.sectionRenameDialog.keyLabel":"Key","sandbox.sectionRenameDialog.nameLabel":"Name","sandbox.sectionRenameDialog.save":"Save","sandbox.sectionRenameDialog.saving":"Saving…","sandbox.sectionRenameDialog.title":"Rename section","sandbox.sectionsRightPane.selectSectionDescription":"Pick a saved section to edit it, or an available one to customize and save as global.","sandbox.sectionsRightPane.selectSectionTitle":"Select a section to edit","sandbox.stateCard.erroredHeadline":"Couldn't start the sandbox","sandbox.stateCard.githubConnectionMissingMessage":"The GitHub connection this chat used was removed. Link the repository again to start the sandbox.","sandbox.stateCard.linkRepoAgain":"Link repository","sandbox.stateCard.githubNotAuthenticatedMessage":"This project's GitHub repo isn't authenticated. Reconnect it in Connections, then retry.","sandbox.stateCard.reconnectGithub":"Reconnect GitHub","sandbox.stateCard.resume":"Resume","sandbox.stateCard.suspendedHeadline":"Sandbox is paused","sandbox.stateCard.resumeToContinue":"Resume to continue.","sandbox.stateCard.retry":"Retry","sandbox.tableBlock.addColumn":"Add column","sandbox.tableBlock.addRow":"Add row","sandbox.tableBlock.headerPlaceholder":"Header {n}","sandbox.tableBlock.noRowsYet":"No rows yet — add one below.","sandbox.tableBlock.removeColumn":"Remove column {n}","sandbox.tableBlock.removeRow":"Remove row {n}","sandbox.toolbar.closeTab":"Close {tab}","sandbox.toolbar.moreActions":"More actions","sandbox.toolbar.noScriptsFound":"No scripts found","sandbox.toolbar.restart":"Restart","sandbox.toolbar.resume":"Resume","sandbox.toolbar.retry":"Retry","sandbox.toolbar.run":"Run","sandbox.toolbar.runAScript":"run a script","sandbox.toolbar.runScript":"Run script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Start","sandbox.toolbar.startProcess":"Start process","sandbox.toolbar.stop":"Stop","sandbox.toolbar.stopProcess":"Stop process","sandbox.toolbar.stopSandboxTooltip":"Stop sandbox","sandbox.toolbar.stopping":"Stopping…","sandbox.variantCalendar.always":"Always","sandbox.variantCalendar.calendarMode":"Calendar","sandbox.variantCalendar.dateMatcherInfo":"Variants gated by a date matcher appear here.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} ongoing variant(s) hidden — enable "Show ongoing" to view.',"sandbox.variantCalendar.next":"Next","sandbox.variantCalendar.noDatedVariants":"No dated variants in view.","sandbox.variantCalendar.noScheduledVariants":"No scheduled variants.","sandbox.variantCalendar.ongoing":"Ongoing","sandbox.variantCalendar.previous":"Previous","sandbox.variantCalendar.showOngoing":"Show ongoing ({count})","sandbox.variantCalendar.timelineMode":"Timeline","sandbox.variantCalendar.today":"Today","sandbox.variantCalendar.todayLabel":"Today","sandbox.variantCalendar.variantBlock":"Variant / Block","sandbox.visualEditorPrompt.inputPlaceholder":"Ask the AI...","sandbox.visualEditorPrompt.sendButton":"Send","sandbox.calendarView.noDraft.title":"Pick a draft to plan your campaigns","sandbox.calendarView.noDraft.desc":"Your campaigns are saved in a draft, like any other edit. Pick a draft in the bar above, or open the site editor to start one.","sandbox.calendarView.loadFailed":"Couldn't load your campaigns.","sandbox.calendarView.loadFailedHint":"Nothing was changed. Try again in a moment.","sandbox.dateCampaigns.intro":"Campaigns change your site within a window of dates. Changes go live when you publish.","sandbox.dateCampaigns.tabsLabel":"Campaigns to show","sandbox.dateCampaigns.tabCurrent":"Campaigns","sandbox.dateCampaigns.tabEnded":"Ended","sandbox.dateCampaigns.colCampaign":"Campaign","sandbox.dateCampaigns.today":"Today","sandbox.dateCampaigns.colStatus":"Status","sandbox.dateCampaigns.noneCurrent":"No campaign is live or scheduled.","sandbox.dateCampaigns.noneEnded":"No campaign has ended yet.","sandbox.dateCampaigns.edit":"Edit","sandbox.dateCampaigns.editNamed":"Edit {name}","sandbox.dateCampaigns.new":"New campaign","sandbox.dateCampaigns.empty.title":"No campaigns yet","sandbox.dateCampaigns.empty.desc":"Create one here, or from a variant in the site editor: choose the rule “Campaign” and type a name.","sandbox.dateCampaigns.status.running":"Live","sandbox.dateCampaigns.status.upcoming":"Scheduled","sandbox.dateCampaigns.status.ended":"Ended","sandbox.dateCampaigns.status.always":"Always on","sandbox.dateCampaigns.status.unreadable":"Dates can't be read","sandbox.dateCampaigns.state.new":"Not published yet","sandbox.dateCampaigns.state.changed":"Changed in your draft","sandbox.dateCampaigns.removedTitle":"Removed in your draft","sandbox.dateCampaigns.removedHint":"These campaigns stop when you publish. To keep one, create it again with the same name.","sandbox.dateCampaigns.unreadableHint":"One of its dates can't be read, so its variants don't show. Pick new dates and save.","sandbox.dateCampaigns.publishedWindow":"Published: {window}","sandbox.dateCampaigns.saveDates":"Save dates","sandbox.dateCampaigns.delete":"Delete campaign","sandbox.dateCampaigns.deleted":"Campaign “{name}” deleted from your draft","sandbox.dateCampaigns.deletedHint":"It leaves the site when you publish. Undo brings it back.","sandbox.dateCampaigns.missing.title":"Your site needs an update for campaigns","sandbox.dateCampaigns.missing.desc":"Ask your developer to update the site to the latest version of Blocks and publish it. Your campaigns will show up here.","sandbox.dateCampaigns.replaced.title":"Your site handles campaigns in its own code","sandbox.dateCampaigns.replaced.desc":"Its developers defined their own campaigns, so they can't be changed here. Ask them how to change one.","sandbox.dateCampaigns.conflict.title":"Your site already has a block named “campaigns”","sandbox.dateCampaigns.conflict.desc":"It isn't a list of campaigns, so campaigns can't be added yet. Rename that block, then come back here.","sandbox.previewAs.label":"Preview as","sandbox.previewAs.intro":"Only this preview changes. Your visitors keep seeing the site as it is.","sandbox.previewAs.unavailable":"Make a change or publish your site first; then the preview can show another moment or force a test.","sandbox.previewAs.momentLabel":"Preview as of","sandbox.previewAs.momentHint":"Campaigns show as they will at this moment. Times are in your computer's time zone.","sandbox.previewAs.now":"Now","sandbox.previewAs.testsLabel":"A/B tests","sandbox.previewAs.testsHint":"Not set: you see the side your own visit got.","sandbox.previewAs.noTests":"No A/B tests yet.","sandbox.previewAs.testsLoadFailed":"Couldn't load your tests.","sandbox.previewAs.tryAgain":"Try again","sandbox.previewAs.off":"Off","sandbox.previewAs.on":"On","sandbox.previewAs.reset":"Show as it is now"},Ate={"settings.subscriptionUsage.refresh":"Refresh","settings.subscriptionUsage.codeReview":"Code review","settings.subscriptionUsage.primary":"Primary limit","settings.subscriptionUsage.secondary":"Secondary limit","settings.subscriptionUsage.resets":"Resets {date}","settings.subscriptionUsage.limitReached":"Limit reached","settings.subscriptionUsage.viewUsage":"View usage","settings.subscriptionUsage.openProvider":"View on provider","settings.voice.title":"Voice mode","settings.voice.description":"Let members talk to agents by voice. Needs ElevenLabs set up on this deployment.","settings.title":"Profile & Preferences","settings.nav.organization":"Organization","settings.nav.build":"Build","settings.nav.manage":"Manage","settings.nav.general":"General","settings.nav.connect":"Connect","settings.nav.aiProviders":"AI Providers","settings.nav.secrets":"Secrets","settings.nav.billing":"Billing & AI","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Synced repos","settings.nav.repositories":"Repositories","settings.nav.storage":"Storage","settings.nav.advanced":"Advanced","settings.subnav.ariaLabel":"Settings sections","settings.subnav.infrastructure":"Infrastructure","settings.nav.tasks":"Board","settings.jira.sectionTitle":"Jira","settings.jira.connectTitle":"Connect Jira","settings.jira.connectDescription":"Use a Jira Cloud site and an API token, ideally from a service account with access to the project.","settings.jira.siteLabel":"Jira site","settings.jira.sitePlaceholder":"yourcompany.atlassian.net","settings.jira.emailLabel":"Atlassian account email","settings.jira.emailPlaceholder":"you@company.com","settings.jira.tokenLabel":"API token","settings.jira.tokenPlaceholder":"Paste your token","settings.jira.connect":"Connect","settings.jira.connecting":"Connecting…","settings.jira.connected":"Jira connected","settings.jira.connectFailed":"Could not connect to Jira","settings.jira.disconnect":"Disconnect","settings.jira.disconnected":"Jira disconnected","settings.jira.disconnectTitle":"Disconnect Jira?","settings.jira.disconnectDescription":"The sync stops and the credentials are deleted. Cards already on the board stay, but stop updating.","settings.jira.cancel":"Cancel","settings.jira.boardLabel":"Jira board","settings.jira.boardDescription":"Studio acts when a card enters one of this board's columns.","settings.jira.boardPlaceholder":"Select a board","settings.jira.boardSearchPlaceholder":"Search boards…","settings.jira.noBoardsMatch":"No board matches that search","settings.jira.loadingBoards":"Loading boards…","settings.jira.enabledLabel":"Integration enabled","settings.jira.enabledDescription":"While off, cards moving on the board are ignored.","settings.jira.enableRequirements":"Pick a board before enabling the integration","settings.jira.saveFailed":"Could not save the Jira settings","settings.jira.createTokenLink":"Create an API token","settings.jira.webhookTitle":"Instant updates (webhook)","settings.jira.webhookDescription":"Optional. Without it, an issue entering an automated status is picked up on the next 5-minute check; with it, the run starts once the card has stayed put for 20 seconds.","settings.jira.webhookCopy":"Copy","settings.jira.webhookCopied":"Webhook URL copied","settings.jira.webhookStep1":"In Jira, open Settings (gear icon) → System → Webhooks. This requires a Jira admin.","settings.jira.webhookStep2":"Click “Create a webhook” and paste the URL above.","settings.jira.webhookStep3":"Under Events, check Issue: created and Issue: updated.","settings.jira.webhookStep4":"Optionally scope it with a JQL filter, e.g. project = <your project key>.","settings.jira.webhookStep5":"Save. An issue entering an automated status now starts its run once it has stayed there for 20 seconds.","settings.jira.automationsLabel":"Run the agent when an issue enters…","settings.jira.automationsDescription":"The automations that run when an issue enters one of these statuses and stays there for 20 seconds. Open one to change its prompt, or give any automation a “When a Jira issue enters a status” starter. A card dragged through a status, or into the wrong one and straight back, starts nothing. An issue that links an open pull request has it continued. The agent reads the issue and updates it in Jira; nothing is copied to the board.","settings.jira.toggleAutomation":"Turn {name} on or off","settings.jira.addAutomation":"Add automation","settings.jira.fromAny":"From any column","settings.jira.fromEarlier":"From an earlier column","settings.jira.fromLater":"From a later column (sent back)","settings.jira.fromStatuses":"From {statuses}","settings.jira.originLabel":"When the card comes from","settings.jira.originStatusesPlaceholder":"Pick statuses","settings.jira.originHelp":"A move starts one rule: the one naming where the card came from, else the one for its direction on the board, else the one for any column. Where it came from is the status it last stayed in, not one it was dragged through.","settings.jira.createRule":"Create automation","settings.jira.cancelRule":"Cancel","settings.jira.noColumnsYet":"No columns on this board yet","settings.jira.columnsFailed":"Could not load this board's columns","settings.jira.testRunLabel":"Run it by hand","settings.jira.testRunDescription":"Run an automation on one issue or a batch now, without enabling the integration, to see what its prompt does.","settings.jira.issueKeysPlaceholder":"ABC-123 or a link, one per line or comma-separated","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"could not read: {items}","settings.jira.testRunIssueAriaLabel":"Jira issue key or link","settings.jira.testRun":"Run agent {count}","settings.jira.testRunRunning":"Starting…","settings.jira.testRunStarted":"Started on","settings.jira.testRunFailed":"Could not start the run","settings.jira.testRunHelp":"This is a real run: the agent reads the actual issue, comments on it, and may move it. Running it again stops whatever run is still working that issue, and an issue that links an open pull request has it continued.","settings.jira.testRunAutomation":"Automation to run","settings.jira.testRunNoAutomations":"Add an automation above first: running by hand fires one of them.","settings.jira.together":"One run for all of them, so the agent works the issues as a batch","settings.jira.togetherStarted":"Started one run on","settings.jira.testRunWatch":"Watch runs in Monitor","settings.syncedRepos.addRepo":"Add repo","settings.syncedRepos.cancel":"Cancel","settings.syncedRepos.create":"Create","settings.syncedRepos.creating":"Creating…","settings.syncedRepos.created":'Sync created — syncing into "{volume}" in the background',"settings.syncedRepos.emptyTitle":"No synced repos yet","settings.syncedRepos.emptyDescription":"Pick a repository and it will appear in the library as a read-only folder, kept in sync automatically.","settings.syncedRepos.failed":"Something went wrong","settings.syncedRepos.nameDialogDescription":"{repo} will be kept in sync into this read-only library folder.","settings.syncedRepos.nameDialogTitle":"Name the synced folder","settings.syncedRepos.namePlaceholder":"folder-name","settings.syncedRepos.pickerTitle":"Sync a repo into the library","settings.syncedRepos.remove":"Stop syncing","settings.syncedRepos.removeDescription":"The already-synced files stay in the library; only the sync stops. You can delete the folder afterwards if you don't need it.","settings.syncedRepos.removeTitle":'Stop syncing "{volume}"?',"settings.syncedRepos.removed":"Sync removed","settings.syncedRepos.rowSubtitle":"Library folder: {volume}","settings.repositories.accountsTitle":"Connected accounts","settings.repositories.accountsEmptyTitle":"No accounts connected","settings.repositories.accountsEmptyDescription":"Connect a GitHub, GitLab or Bitbucket account to browse your repositories and link private ones.","settings.repositories.noProvidersTitle":"No git provider configured","settings.repositories.noProvidersDescription":"Signing in with GitHub, GitLab or Bitbucket needs provider credentials an administrator configures for this deployment. You can still connect a GitLab or Bitbucket account with an access token.","settings.repositories.githubUnavailable":"Ask an administrator to enable GitHub.","settings.repositories.connectGithubCli":"Connect with GitHub CLI","settings.repositories.githubCliHint":"Use your local gh login to browse and import repositories.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Add GitHub account or organization","settings.repositories.githubSelectTitle":"Select repositories","settings.repositories.githubSelectedShareHint":"Members with repository permissions in {organization} can use the repositories you authorize here.","settings.repositories.githubPreselectedHint":"Previously authorized or linked repositories are already selected when you have permission to authorize them. Review the selection before saving.","settings.repositories.githubReplaceHint":"Saving replaces this account’s existing workspace access with your selection. Removed repositories stop receiving new credentials. Previously issued credentials may work until they expire.","settings.repositories.githubFilterRepos":"Search repositories","settings.repositories.githubNoRepos":"No repositories available to authorize.","settings.repositories.githubSearchNoMatches":"No repositories match your search.","settings.repositories.githubAccessChanged":"Someone changed this account’s access. Go back and review the repositories again before saving.","settings.repositories.githubMoreRepos":"Load more repositories","settings.repositories.githubBack":"Back to accounts","settings.repositories.githubSaveOneRepo":"Authorize 1 repository","settings.repositories.githubSaveRepos":"Authorize {count} repositories","settings.repositories.githubEditWorkspaceAccess":"Change workspace access","settings.repositories.githubShareHint":"Choose your personal GitHub account, or an organization where you administer repositories, to share with {organization}. Members with repository permissions in Studio can use this connection.","settings.repositories.githubInstallHint":"Nothing here is yours to share yet. Install the GitHub App on your personal account or on repositories you administer, or ask an account owner to connect it to Studio. A repository you only collaborate on is not yours to share.","settings.repositories.installGithubAccount":"Install on another account","settings.repositories.checkGithubAccess":"Check access","settings.repositories.switchGithubUser":"Use another GitHub login","settings.repositories.githubReturnHint":"GitHub opens in a new tab. After saving access, return here to choose the account. If it does not appear, use Check access.","settings.repositories.githubRefreshFailed":"Could not check GitHub access. Try again without leaving this dialog.","settings.repositories.githubConnected":"GitHub account connected","settings.repositories.manageRepositoryAccess":"Manage repository access","settings.repositories.connectedBy":"Connected by {name}","settings.repositories.connectedByUnknown":"Connected by an unavailable user","settings.repositories.dismiss":"Dismiss","settings.repositories.tryAgain":"Try again","settings.repositories.oauthNoInstallations":"GitHub authorization succeeded, but no app installations are available to this user. Add a GitHub account or organization to finish setup.","settings.repositories.oauthDenied":"Authorization was cancelled. Connect again when you are ready.","settings.repositories.oauthExpired":"This connection attempt expired or belongs to another session. Start again from this page.","settings.repositories.oauthNotConfigured":"This git provider is not configured. Ask an administrator to enable it.","settings.repositories.oauthFailed":"Could not connect your git account. Try again. If it keeps failing, contact an administrator.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Personal token","settings.repositories.accessUnavailable":"Access unavailable","settings.repositories.accessUnavailableHint":"Studio cannot access this account. Authorize it again to continue using its repositories.","settings.repositories.githubReconnect":"Reconnect GitHub","settings.repositories.authorizeWorkspaceAccess":"Authorize workspace access","settings.repositories.selectRepositories":"Select repositories","settings.repositories.authorizationRequired":"Workspace authorization required","settings.repositories.authorizationRequiredHint":"Studio has a GitHub App installation recorded for {login}, but this workspace has no authorization to use it. Sign in to GitHub and choose the repositories to share with this workspace.","settings.repositories.accessRevoked":"Access revoked","settings.repositories.accessRevokedHint":"Access to this account was revoked. Authorize it again to restore repository access.","settings.repositories.noAuthorizedRepositories":"No repositories authorized","settings.repositories.noAuthorizedRepositoriesHint":"This workspace has no repositories authorized through {login}. Select which repositories it can use.","settings.repositories.providerUnavailable":"Provider unavailable","settings.repositories.providerUnavailableHint":"This deployment is not configured to access this account. Ask an administrator to enable the provider.","settings.repositories.installationMissing":"GitHub connection incomplete","settings.repositories.installationMissingHint":"Studio has no GitHub App installation linked to this account. Connect GitHub and select the installation for {login}.","settings.repositories.githubReconnectUnavailable":"GitHub reconnection is unavailable on this deployment. Ask an administrator to configure the GitHub App, then authorize workspace access.","settings.repositories.disconnect":"Disconnect","settings.repositories.disconnectTitle":'Disconnect "{login}"?',"settings.repositories.disconnectDescription":"Repositories linked through this account stay listed, but become anonymous public clones — private ones will stop working.","settings.repositories.disconnected":"Account disconnected","settings.repositories.tokenDialogTitle":"Connect GitLab with a token","settings.repositories.tokenDialogDescription":"Use a personal, project or group access token with the api scope — agents push branches and open merge requests with it. Stored encrypted and never shown again.","settings.repositories.tokenDialogTitleBitbucket":"Connect Bitbucket with a token","settings.repositories.tokenDialogDescriptionBitbucket":"Use a workspace, project or repository access token that can write repositories and pull requests — agents push branches and open pull requests with it. Bitbucket Cloud only. Stored encrypted and never shown again.","settings.repositories.addAccount":"Add account","settings.repositories.addAccountTitle":"Connect a git account","settings.repositories.addAccountDescription":"Choose where your repositories live.","settings.repositories.chooseMethodDescription":"Pick how Studio should connect to this provider.","settings.repositories.back":"Back","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Install the Studio app and pick the repositories to share.","settings.repositories.providerTokenOrOauthHint":"Connect with an access token, or authorize with OAuth.","settings.repositories.providerTokenOnlyHint":"Connect with an access token.","settings.repositories.methodToken":"Use an access token","settings.repositories.methodTokenHint":"The provider limits the token to the repositories you scope it to.","settings.repositories.methodOauth":"Authorize with OAuth","settings.repositories.methodOauthHint":"Sign in and authorize Studio in your browser.","settings.repositories.methodOauthScopeNote":"Reaches every repository this account can see; it cannot be narrowed to a subset.","settings.repositories.methodApp":"Install the GitHub app","settings.repositories.methodAppHint":"Choose exactly which repositories Studio may use.","settings.repositories.tokenStepsTitle":"Creating the token","settings.repositories.openProvider":"Open provider","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"your-workspace","settings.repositories.tokenWorkspaceHint":"The slug in your Bitbucket URL. An access token cannot name its own workspace, so Studio verifies it against this one.","settings.repositories.tokenProjectLabel":"Project path (optional)","settings.repositories.tokenProjectPlaceholder":"group/project","settings.repositories.tokenProjectHint":"Fill this in to jump straight to that project’s token page.","settings.repositories.bitbucketStep1":"Open the repository you want Studio to reach, or the project that groups them.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Grant Repositories read and write, and Pull requests read and write.","settings.repositories.bitbucketStep4":"Paste the token below. Bitbucket keeps it to what you scoped it to.","settings.repositories.gitlabStep1":"Open the project or group you want Studio to reach.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Role: Developer or above. Scope: api.","settings.repositories.gitlabStep4":"Paste the token below. A project token only reaches that project.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Access token","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Connect","settings.repositories.connecting":"Connecting…","settings.repositories.connected":'Connected as "{login}"',"settings.repositories.reposTitle":"Repositories","settings.repositories.reposEmptyTitle":"No repositories yet","settings.repositories.reposEmptyDescription":"Choose a repository from a connected GitHub, GitLab or Bitbucket account.","settings.repositories.addRepository":"Add repository","settings.repositories.moreActions":"More actions","settings.repositories.repoAccountNeedsAttention":"Connected through {login}, which needs attention in Connected accounts.","settings.repositories.unlink":"Unlink","settings.repositories.unlinkTitle":'Unlink "{path}"?',"settings.repositories.unlinkDescription":"The repository is removed from this organization. Nothing is deleted on the provider.","settings.repositories.unlinked":"Repository unlinked","settings.repositories.openInProvider":"Open repository","settings.repositories.visibilityPublic":"Public","settings.repositories.visibilityPrivate":"Private","settings.repositories.visibilityInternal":"Internal","settings.repositories.anonymousClone":"Anonymous clone","settings.repositories.sandboxImageLabel":"Sandbox image","settings.repositories.sandboxImageDefault":"Default image","settings.repositories.sandboxImageAndroid":"Android emulator","settings.repositories.sandboxImageError":"Could not change the sandbox image","settings.repositories.monitorDeploys":"Show deploys on Monitor","settings.repositories.monitorDeploysError":"Could not change whether Monitor shows this repository","settings.repositories.addDialogTitle":"Add repository","settings.repositories.cancel":"Cancel","settings.repositories.failed":"Something went wrong","settings.nav.connections":"Connections","settings.nav.automations":"Automations","settings.nav.skills":"Skills","settings.nav.memory":"Memory","settings.nav.monitor":"Monitor","settings.nav.members":"Members","settings.nav.security":"Security","settings.nav.profile":"Profile & Preferences","settings.nav.backToHome":"Back to home","settings.nav.signOut":"Sign Out","settings.profile.avatar":"Avatar","settings.profile.displayName":"Display name","settings.profile.displayNamePlaceholder":"Your name","settings.profile.email":"Email","settings.profile.avatarUpload":"Change your picture","settings.profile.avatarDialogTitle":"Profile picture","settings.profile.avatarDialogDescription":"Drag to reposition and scroll to zoom. Only the picture you are using is visible to other people.","settings.profile.avatarDeleted":"Picture deleted","settings.profile.avatarRemove":"Remove","settings.profile.avatarRemoved":"Picture removed","settings.profile.avatarUpdated":"Picture updated","settings.profile.avatarUploadError":"Failed to update the picture","settings.profile.updateSuccess":"Profile updated successfully","settings.profile.updateError":"Failed to update profile","settings.passkeys.title":"Passkeys","settings.passkeys.description":"Sign in with your fingerprint, face or device screen lock instead of an emailed code.","settings.passkeys.add":"Add passkey","settings.passkeys.added":"Passkey added","settings.passkeys.addError":"Failed to add passkey","settings.passkeys.alreadyRegistered":"This device already has a passkey for your account","settings.passkeys.empty":"No passkeys yet.","settings.passkeys.unsupported":"This browser does not support passkeys.","settings.passkeys.unnamed":"Passkey","settings.passkeys.createdAt":"Added {date}","settings.passkeys.delete":"Remove passkey","settings.passkeys.deleted":"Passkey removed","settings.passkeys.deleteError":"Failed to remove passkey","settings.passkeys.deleteTitle":"Remove {name}?","settings.passkeys.deleteDescription":"You will no longer be able to sign in with this passkey. The credential stays on your device until you delete it there.","settings.passkeys.cancel":"Cancel","settings.preferences.title":"Preferences","settings.plan.sectionTitle":"Plan","settings.plan.pageTitle":"Plan page","settings.plan.pageDescription":"Show the store goal and turn ideas into business cases on the Plan page. Off, Plan stays a coming-soon page.","settings.blog.sectionTitle":"Blog","settings.blogView.title":"Blog view","settings.blogView.description":"Blog as its own project view, with each post beside the site's render of it. When off, the blog is edited in the Site Editor's Content tab.","settings.blog.aiTitle":"AI blog","settings.blog.aiDescription":"Brand context, campaigns and post generation. When off, posts are written by hand.","settings.blogBlocks.title":"Hide the default blog blocks","settings.blogBlocks.description":"Only this site's own post blocks are offered when writing or importing a post. Existing posts are unaffected.","settings.blocksEditor.title":"New blocks editor","settings.blocksEditor.description":"Applies to everyone in this organization. The rest of Studio always uses the new layout.","settings.siteAppsInstall.title":"Install apps from the catalogue","settings.siteAppsInstall.description":"Let the Apps tab install an app into the site: it writes the app's module and its registration to the branch, adds the dependency, and restarts the sandbox's dev server so the app's settings form appears. With it off the catalogue stays browsable and nothing is installable.","settings.multiAppPreview.title":"Preview several apps of a monorepo","settings.multiAppPreview.description":"Add other apps of a project's repository and view them side by side in the preview. Each one runs its own dev server in the sandbox.","settings.cmsAutoCommit.title":"Commit each save to the branch","settings.cmsAutoCommit.description":"In Fast Preview, every save becomes a commit on the branch being edited. Turned off, saves stay in Studio: the editor and the preview show them, but they reach the branch only when someone publishes or submits for review, as a single commit. Until then they are not in the repository, so a pull request, a deploy preview, or anyone working on the branch outside Studio won't see them.","settings.preferences.theme":"Theme","settings.preferences.themeLight":"Light theme","settings.preferences.themeDark":"Dark theme","settings.preferences.themeSystem":"System theme","settings.preferences.language":"Language","settings.preferences.notifications":"Notifications","settings.preferences.notificationsDescription":"Browser notifications for important events.","settings.preferences.notificationsDenied":"Notifications denied. Please enable them in your browser settings.","settings.preferences.sounds":"Sounds","settings.preferences.soundsDescription":"Sounds for agent actions and notifications.","settings.preferences.soundsPreview":"Preview notification sound","settings.preferences.toolApproval":"Tool approval","settings.preferences.toolApprovalDescription":"Which tools need your approval before they run.","settings.preferences.toolApprovalAsk":"Ask before edit","settings.preferences.toolApprovalAskShort":"Ask","settings.preferences.toolApprovalAskDescription":"Auto-approve read-only tools","settings.preferences.toolApprovalAuto":"Auto approve","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Execute all without approval","settings.automations.browseAgentsButton":"Browse projects","settings.automations.emptyDescription":"Automations are created per agent. Open an agent and add one from its Automations tab.","settings.automations.emptyTitle":"No automations yet","settings.automations.noResultsDescription":'No automations match "{search}"',"settings.automations.noResultsTitle":"No automations found","settings.automations.pageTitle":"Automations","settings.automations.searchPlaceholder":"Search automations...","settings.skills.importButton":"Import skill","settings.skills.importing":"Importing…","settings.skills.importSuccess":'Imported "{name}"',"settings.skills.importError":"Failed to import skill","settings.skills.importMissingSkillMd":"That folder has no SKILL.md at its root. Pick the skill's own folder.","settings.skills.importNeedsFolder":"Pick a folder, not individual files — this browser may not support folder upload.","settings.skills.searchPlaceholder":"Search skills...","settings.skills.noDescription":"No description","settings.skills.filterAll":"All","settings.skills.emptyTitle":"No skills yet","settings.skills.emptyDescription":"Import a folder with a SKILL.md to give your agents reusable instructions they can load on demand.","settings.skills.noResultsTitle":"No skills found","settings.skills.noResultsDescription":'No skills match "{search}"',"settings.skills.cancel":"Cancel","settings.skills.deleteButton":"Delete","settings.skills.deleteDialogTitle":"Delete this skill?","settings.skills.deleteDialogDescription":`This removes "{name}" and its files. This can't be undone.`,"settings.skills.deleteSuccess":"Skill deleted","settings.skills.deleteError":"Failed to delete skill","settings.skills.importTooManyFiles":"That folder has {count} files (limit {max}). Import a folder with just the skill's own files.","settings.skills.importSlugTaken":'A skill named "{slug}" already exists. Delete it first to re-import.',"settings.skills.errorTitle":"Couldn't load skills","settings.skills.errorDescription":"The skill catalog could not be loaded. You may not have access to this org's files.","settings.skills.retry":"Try again","settings.memory.tabOrg":"Organization","settings.memory.tabUser":"Just you","settings.memory.orgHeading":"Shared with everyone in {org}","settings.memory.userHeading":"Your personal memory","settings.memory.orgPlaceholder":"Facts everyone's chats should know. For example: we ship on Thursdays, prices are in BRL, the brand voice is informal.","settings.memory.userPlaceholder":"Things Deco should remember about you. For example: reply in Portuguese, I own the checkout, keep summaries short.","settings.memory.saving":"Saving…","settings.memory.saved":"Saved","settings.memory.notSaved":"Not saved","settings.memory.saveError":"Couldn't save. Keep typing to retry.","settings.memory.readOnly":"You can read this memory but not change it.","settings.memory.updated":"Updated {time}","settings.memory.notStarted":"Nothing remembered yet","settings.memory.conflict":"This memory changed while you were editing.","settings.memory.loadLatest":"Load latest","settings.memory.keepMine":"Keep my version","settings.memory.budget":"{percent}% of what chats read","settings.memory.budgetOver":"Chats only read the beginning","settings.memory.budgetHint":"Chats load the first 16,000 characters. Keep this a short index and move details into separate notes.","settings.memory.errorTitle":"Couldn't load memory","settings.memory.errorDescription":"The organization's files couldn't be loaded. You may not have access to them.","settings.memory.retry":"Try again","settings.buckets.accessKeyIdLabel":"Access key ID","settings.buckets.addBucket":"Add bucket","settings.buckets.addBucketButton":"Add bucket","settings.buckets.addS3Bucket":"Add S3 bucket","settings.buckets.addingButton":"Adding…","settings.buckets.apiKeyHelperText":"Sent as the x-api-key header on each refresh call.","settings.buckets.apiKeyLabel":"API key","settings.buckets.bucketAdded":'Bucket "{name}" added',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"my-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removed',"settings.buckets.bucketsConfigured":"{count} bucket(s) configured","settings.buckets.cancelButton":"Cancel","settings.buckets.credentialsEncryptedDescription":"Credentials are encrypted at rest and never returned over the API. For Cloudflare R2, Google Cloud Storage, or MinIO, set a custom endpoint.","settings.buckets.credentialsLabel":"Credentials","settings.buckets.deleteButton":"Delete {name}","settings.buckets.descriptionLabel":"Description (optional)","settings.buckets.descriptionPlaceholder":"What is this bucket used for?","settings.buckets.emptyStateDescription":"Add an S3-compatible bucket (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). Access keys are encrypted at rest and never returned over the API.","settings.buckets.endpointHelperText":"Required for non-AWS providers (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (optional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Failed to add bucket","settings.buckets.failedToLoadConfigs":"Failed to load file configurations: {error}","settings.buckets.failedToLoadConfigsFallback":"Failed to load file configs","settings.buckets.failedToRemoveBucket":"Failed to remove bucket","settings.buckets.forcePathStyleHelperText":"Required for Google Cloud Storage and most MinIO setups.","settings.buckets.forcePathStyleLabel":"Force path-style URLs","settings.buckets.managed":"Managed","settings.buckets.nameHelperText":"Letters, digits, underscore, dot, hyphen. Unique within the organization.","settings.buckets.nameLabel":"Name","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"No buckets yet","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefix: {prefix}","settings.buckets.prefixHelperText":"All object keys are written under this prefix. Useful for multi-tenant buckets or credentials scoped to a sub-path. A trailing slash is added automatically.","settings.buckets.prefixLabel":"Key prefix (optional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"public: {url}","settings.buckets.publicUrlBaseHelperText":"Host used to build public URLs returned by the picker (R2 dev domain, CDN, custom host). Leave blank to use the bucket's S3 host (AWS default).","settings.buckets.publicUrlBaseLabel":"Public URL base (optional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev or https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint POSTed (with the API key below) to vend temporary credentials. Must return accessKeyId, secretAccessKey, sessionToken, and expiration.","settings.buckets.refreshUrlLabel":"Refresh URL","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Region","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"This deletes the encrypted credentials for {name}. The bucket itself is not affected. This cannot be undone.","settings.buckets.removeBucketTitle":"Remove bucket configuration?","settings.buckets.removeButton":"Remove","settings.buckets.removingButton":"Removing…","settings.buckets.secretAccessKeyLabel":"Secret access key","settings.buckets.staticKeyHelperText":"A long-lived access key ID and secret, used as-is.","settings.buckets.staticKeyOption":"Static key pair (long-lived)","settings.buckets.stsSessionHelperText":"Stores only a refresh endpoint + API key; short-lived credentials are fetched on demand and refreshed automatically.","settings.buckets.temporarySessionOption":"Temporary session (STS, auto-refreshed)","settings.connectClients.anyOtherClientDescription":"Any other MCP client: paste this endpoint into it to give that runtime every connection enabled in this org, governed by your Decopilot rules.","settings.connectClients.apiKeyOption":"API key","settings.connectClients.copy":"Copy","settings.connectClients.doneHideKey":"Done, hide key","settings.connectClients.generateKey":"Generate key","settings.connectClients.generateKeyFor":"Generate key for {client}","settings.connectClients.generatingKey":"Generating…","settings.connectClients.headlessKeyHint":"For CI, Conductor, or headless agents that can't open a browser.","settings.connectClients.installMethod":"Installation method","settings.connectClients.keyCreated":"Key created","settings.connectClients.mcpDescription":"For clients without a shell. Sharing Library files and messaging agents need the CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"OAuth discovery details","settings.connectClients.oauthKeyHint":"Recommended for your laptop. A browser opens on first use to sign in, with no token to manage.","settings.connectClients.oauthMetadataHint":"OAuth 2.1 Protected Resource Metadata is advertised on 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Other","settings.connectClients.pageTitle":"Connect","settings.connectClients.recommended":"Recommended","settings.connectClients.skillDescription":"Install the Studio skill and log in once. Your agent can then use this org's chats, agents, tasks and Library files through the decocms CLI.","settings.connectClients.skillInstallStep":"1. Install the skill","settings.connectClients.skillLoginHint":"A browser opens to approve the login. The session renews itself.","settings.connectClients.skillLoginStep":"2. Log in","settings.connectClients.skillNeedsBun":"Needs Bun.","settings.connectClients.skillOtherAgentsHint":"The installer asks which agents to add the skill to.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Connect your agent","settings.connectClients.snippetOneTimeWarning":"Copy this snippet now. The key won't be shown again, and you can revoke it from the list below.","settings.connectForms.apiKeyField":"API Key","settings.connectForms.apiKeyRequired":"API key is required","settings.connectForms.baseUrlField":"Base URL","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.baseUrlRequired":"Base URL is required","settings.connectForms.cancel":"Cancel","settings.connectForms.connectionSavedSuccess":"Connection saved successfully","settings.connectForms.defaultKeyLabel":"Personal key","settings.connectForms.failedSaveConnection":"Failed to save connection: {error}","settings.connectForms.failedSaveKey":"Failed to save key: {error}","settings.connectForms.hideApiKey":"Hide API key","settings.connectForms.keySavedSuccess":"Key saved successfully","settings.connectForms.labelField":"Label","settings.connectForms.labelPlaceholder":"e.g. Personal key","settings.connectForms.labelPlaceholderOpenAiCompatible":"e.g. My OpenAI-compatible server","settings.connectForms.labelPlaceholderPreset":"e.g. {name} prod, {name} dev","settings.connectForms.optional":"optional","settings.connectForms.recommended":"recommended","settings.connectForms.saveConnection":"Save Connection","settings.connectForms.saveKey":"Save Key","settings.connectForms.saving":"Saving...","settings.connectForms.showApiKey":"Show API key","settings.connectProviderDialog.backButton":"Back","settings.connectProviderDialog.backButtonLabel":"Back","settings.connectProviderDialog.connectionTimedOutMessage":"Connection timed out","settings.connectProviderDialog.defaultProviderName":"Provider","settings.connectProviderDialog.defaultTitle":"Add API key","settings.connectProviderDialog.oauthFailedMessage":"OAuth connection failed: {error}","settings.connectProviderDialog.oauthPendingMessage":"Authorize the connection in the popup window. This dialog will close once authorization completes.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} connected successfully","settings.connectProviderDialog.provisionPendingMessage":"Connecting…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} connected successfully","settings.connectProviderDialog.retryButton":"Retry","settings.connectProviderDialog.securityCheckFailedMessage":"Security check failed: State token mismatch","settings.connectProviderDialog.startOAuthFailedMessage":"Failed to start OAuth: {error}","settings.agentTools.chatHarnessCodexTitle":"Use Codex for new sandbox chats","settings.agentTools.chatHarnessCodexDescription":"Runs new sandbox chats with Codex. Link your ChatGPT subscription in AI Providers or connect a Responses API provider. Existing chats keep their runtime.","settings.codexSubscription.setupHeading":"Connect Codex","settings.codexSubscription.setupDescription":"Link your ChatGPT subscription in Settings → AI Providers, or connect a provider with an OpenAI Responses API endpoint.","settings.codexSubscription.connect":"Link","settings.codexSubscription.connected":"ChatGPT subscription linked","settings.codexSubscription.disconnect":"Disconnect","settings.codexSubscription.disconnected":"ChatGPT subscription unlinked","settings.codexSubscription.howTo":"Run this command locally, sign in with ChatGPT, then paste the contents of ~/.codex/auth.json:","settings.codexSubscription.title":"ChatGPT for Codex","settings.codexSubscription.tokenPlaceholder":"Paste the contents of auth.json","settings.claudeSubscription.connect":"Link","settings.claudeSubscription.connected":"Claude subscription linked","settings.claudeSubscription.disconnect":"Disconnect","settings.claudeSubscription.disconnected":"Claude subscription unlinked","settings.claudeSubscription.howTo":"Generate a token on your own machine with","settings.claudeSubscription.title":"Claude Pro or Max","settings.claudeSubscription.tokenPlaceholder":"Paste your token","settings.githubCopilot.connect":"Link","settings.githubCopilot.connected":"GitHub Copilot linked","settings.githubCopilot.disconnect":"Disconnect","settings.githubCopilot.disconnected":"GitHub Copilot unlinked","settings.githubCopilot.howTo":"Create a fine-grained GitHub token with the Copilot Requests permission","settings.githubCopilot.sharedBy":"You're using the organization's GitHub Copilot plan, shared by {name}.","settings.githubCopilot.ownPlanUsed":"Your runs use your own plan. {name}'s shared plan only covers members who haven't linked one.","settings.githubCopilot.shareTitle":"Share with org","settings.githubCopilot.shareDescription":"Sharing only applies to members of this organization who haven't linked their own GitHub Copilot plan.","settings.githubCopilot.shareTaken":"{name} already shares a plan. To share yours, ask {name} to stop sharing first.","settings.githubCopilot.title":"GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Paste your github_pat_… token","settings.ownAccounts.more":"More actions","settings.providerKeyRow.edit":"Edit","settings.ownAccounts.title":"Your own accounts","settings.ownAccounts.cancel":"Cancel","settings.ownAccounts.addApiKey":"Add API key","settings.ownAccounts.linked":"Linked","settings.ownAccounts.expired":"Expired","settings.decoCreditsHero.add":"Add","settings.decoCreditsHero.addCredits":"Add credits","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Available credit balance","settings.decoCreditsHero.cancel":"Cancel","settings.decoCreditsHero.cancelButton":"Cancel","settings.decoCreditsHero.custom":"Custom","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Disconnect","settings.decoCreditsHero.disconnectButton":"Disconnect","settings.decoCreditsHero.disconnectDescription":"This will remove the Deco AI Gateway from this workspace. Your credit balance is preserved and will be available if you reconnect.","settings.decoCreditsHero.disconnectError":"Failed to disconnect: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway disconnected","settings.decoCreditsHero.disconnectTitle":"Disconnect Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Refresh balance","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plan","settings.planUsage.loadFailed":"Couldn't read this organization's plan.","settings.planUsage.retry":"Retry","settings.planUsage.aiUsage":"AI usage","settings.planUsage.usageUnavailable":"Unavailable","settings.planUsage.used":"used","settings.plans.perMonth":"/ month","settings.planUsage.periodHint":"Resets at the start of each billing period.","settings.planUsage.noAiIncluded":"No AI usage included.","settings.planUsage.included":"Included in plan","settings.planUsage.credits":"Added credits","settings.planUsage.creditsInUse":"In use","settings.planUsage.manageBilling":"Manage billing","settings.planUsage.portalFailed":"Couldn't open billing: {message}","settings.planUsage.subscribe":"Subscribe","settings.planUsage.changePlan":"Change plan","settings.planUsage.changed":"Plan updated","settings.planUsage.changeFailed":"Couldn't change plan: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Superagent chat","settings.planUsage.feature.monitoring":"Site analytics","settings.planUsage.feature.kanban":"Agentic Kanban","settings.planUsage.feature.model_choice":"Choose your model","settings.planUsage.feature.credits":"Extra credits","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Enriched Deco Score","settings.plans.title":"Plans","settings.plans.loadFailed":"Couldn't load the plans.","settings.plans.currentPlan":"Current plan","settings.plans.firstMonthFree":"1st month free","settings.plans.startTrial":"Start free trial","settings.plans.custom.name":"Custom","settings.plans.custom.description":"For large teams with their own contract","settings.plans.custom.cta":"Talk to us","settings.plans.managed":"Your plan: {plan}. Contact us to change it.","settings.plans.invoice.cta":"Add to my invoice","settings.plans.invoice.confirm":"{plan} will be added to your next invoice. Switch now?","settings.plans.invoice.cancel":"Cancel","settings.plans.invoice.switch":"Switch plan","settings.paywall.bullets.kanban.1":"Agents that do the work and move the cards","settings.paywall.bullets.kanban.2":"A board the whole team shares","settings.paywall.bullets.kanban.3":"Columns, tags and priorities","settings.paywall.bullets.allowance.1":"A monthly allowance that resets","settings.paywall.bullets.allowance.2":"Top up with extra credits any time","settings.paywall.bullets.allowance.3":"Your message stays in the composer","settings.paywall.bullets.cms.1":"Edit content and layout","settings.paywall.bullets.cms.2":"Live preview as you go","settings.paywall.bullets.cms.3":"Publish when it looks right","settings.paywall.bullets.monitoring.1":"Pageviews, visitors and sources","settings.paywall.bullets.monitoring.2":"Cache hit rate, latency and errors","settings.paywall.bullets.monitoring.3":"Traffic by country and device","settings.paywall.upgradeTitle":"{feature} comes with {plan}","settings.paywall.upgradeDescription":"Unlocks it for everyone in the organization.","settings.paywall.description":"This organization's plan doesn't include {feature}. Change the plan to unlock it for everyone in the org.","settings.paywall.seePlans":"See plans","settings.paywall.dismiss":"Not now","settings.paywall.serverRefusedFeature":"Your plan does not include this. Ask an owner to upgrade, or see plans.","settings.paywall.serverRefusedBudget":"This organization has used its monthly AI allowance. Chat and tasks pause until you upgrade or top up.","settings.decoCreditsHero.topUpFailed":"Top-up failed: {message}","settings.deleteOrganizationSection.cancel":"Cancel","settings.deleteOrganizationSection.dangerZone":"Danger zone","settings.deleteOrganizationSection.deleteButton":"Delete","settings.deleteOrganizationSection.deleteOrganizationAction":"Delete organization","settings.deleteOrganizationSection.deleteOrganizationDescription":"Permanently delete this organization and all of its data.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Delete organization?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Delete organization","settings.deleteOrganizationSection.deleteWarning":"This will permanently delete all data associated with {organizationName}. This action cannot be undone.","settings.deleteOrganizationSection.deleting":"Deleting…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Failed to delete organization","settings.deleteOrganizationSection.organizationDeleted":"Organization deleted","settings.deleteOrganizationSection.typeToConfirm":"Type {organizationName} to confirm:","settings.domainSettings.addDnsRecordInstruction":"Add the DNS record below, then verify.","settings.domainSettings.addDomain":"Add domain","settings.domainSettings.adding":"Adding…","settings.domainSettings.copied":"Copied","settings.domainSettings.dnsInstructions":"Add this TXT record at your DNS provider, then click Verify:","settings.domainSettings.domainAdded":"Domain added","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domain removed","settings.domainSettings.domainVerified":"Domain verified","settings.domainSettings.emailDomains":"Email domains","settings.domainSettings.emailDomainsDescription":"Let people with a matching email domain discover and join this organization.","settings.domainSettings.failedAddDomain":"Failed to add domain","settings.domainSettings.failedRemove":"Failed to remove","settings.domainSettings.failedUpdate":"Failed to update","settings.domainSettings.failedVerify":"Failed to verify","settings.domainSettings.joinMode":"Join mode","settings.domainSettings.joinModeAuto":"Auto-join","settings.domainSettings.joinModeHelpAuto":"Anyone with a verified @{domain} email joins automatically.","settings.domainSettings.joinModeHelpOff":"Not discoverable — no one can find or join through this domain.","settings.domainSettings.joinModeHelpRequest":"People with a verified @{domain} email can request to join; an admin approves.","settings.domainSettings.joinModeOff":"Off","settings.domainSettings.joinModeRequest":"Require approval","settings.domainSettings.joinModeUpdated":"Join mode updated","settings.domainSettings.pending":"Pending","settings.domainSettings.remove":"Remove","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"TXT record not found yet — DNS can take a few minutes.","settings.domainSettings.value":"value","settings.domainSettings.verified":"Verified","settings.domainSettings.verify":"Verify","settings.editProviderDialog.apiKey":"API key","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Enter the API key again to confirm changing the base URL","settings.editProviderDialog.baseUrl":"Base URL","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancel","settings.editProviderDialog.editTitle":"Edit {name}","settings.editProviderDialog.failedToUpdate":"Failed to update: {error}","settings.editProviderDialog.hideApiKey":"Hide API key","settings.editProviderDialog.label":"Label","settings.editProviderDialog.labelPlaceholder":"e.g. Personal key","settings.editProviderDialog.labelRequired":"Label is required","settings.editProviderDialog.leaveBlankHint":"leave blank to keep current","settings.editProviderDialog.providerUpdated":"Provider updated","settings.editProviderDialog.save":"Save","settings.editProviderDialog.saving":"Saving...","settings.editProviderDialog.showApiKey":"Show API key","settings.joinRequestsSection.approve":"Approve","settings.joinRequestsSection.approveFailed":"Failed to approve","settings.joinRequestsSection.approved":"Request approved","settings.joinRequestsSection.deny":"Deny","settings.joinRequestsSection.denied":"Request denied","settings.joinRequestsSection.denyFailed":"Failed to deny","settings.joinRequestsSection.description":"People who requested to join via a domain in approval mode.","settings.joinRequestsSection.title":"Join requests","settings.review.title":"Reviewers & merge","settings.review.description":"The Reviewer runs on a task's pull request when its card reaches In Review.","settings.review.reviewerTitle":"Reviewer","settings.review.reviewerDescription":"Reviews the code with the repo's own review skills, fixes what it finds and tests the change on the deploy preview. An approval moves the card to QA; anything it can't settle comes back to you.","settings.review.cheapReviewerModelTitle":"Run reviewers on a cheaper model","settings.review.cheapReviewerModelDescription":"Uses a smaller model than the Super Agent. Cheaper, possibly less thorough.","settings.review.autoMergeTitle":"Auto-merge","settings.review.autoMergeDescription":"Merge the pull request when its card reaches Ready for Deployment, without waiting for Ship.","settings.review.autoResolveConflictsTitle":"Auto-resolve merge conflicts","settings.review.autoResolveConflictsDescription":"When a pull request in Ready for Deployment conflicts with its base, the Super Agent merges the base and pushes. Follows Auto-merge unless set here.","settings.review.autoAssignReportTasksTitle":"Assign Deco Score tasks to the Super Agent","settings.review.autoAssignReportTasksDescription":"Tasks created from the Deco Score go to the Super Agent instead of staying unassigned.","settings.review.updateError":"Couldn't update the setting","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instructions","settings.taskPrompt.placeholder":"e.g. Use pnpm, never npm. Never edit files under src/generated/.","settings.taskPrompt.save":"Save","settings.taskPrompt.saved":"System prompt saved","settings.taskPrompt.failed":"Couldn't save the system prompt","settings.taskPrompt.skillsLabel":"Skills on every column","settings.agentTools.title":"Agent tools","settings.agentTools.description":"What coding-agent runs can reach beyond their repository.","settings.agentTools.orgMcpsTitle":"Give runs this org's MCP connections","settings.agentTools.orgMcpsDescription":"The Super Agent and reviewers get every connected MCP. Tools load only when needed, so more connections don't crowd the context.","settings.agentTools.orgMcpsPickTitle":"Connections runs can reach","settings.agentTools.orgMcpsPickDescription":"Turn one off to keep it out of runs, for example an MCP for the tracker a run already reports to. New connections start on.","settings.agentTools.orgMcpsPickAriaLabel":"Let runs reach {name}","settings.agentTools.orgMcpsPickEmpty":"This organization has no MCP connections yet","settings.agentTools.orgMcpsPickFailed":"Could not save which connections runs can reach","settings.agentTools.orgMcpsPickLoadFailed":"Could not load MCP connections","settings.agentTools.orgMcpsPickSearch":"Search connections…","settings.agentTools.orgMcpsPickEnableAll":"Enable all","settings.agentTools.orgMcpsPickDisableAll":"Disable all","settings.agentTools.orgMcpsPickNoMatch":"No connection matches that search","settings.agentTools.orgMcpsPickSave":"Save","settings.agentTools.orgMcpsPickSaving":"Saving…","settings.agentTools.orgMcpsPickDiscard":"Discard","settings.agentTools.orgMcpsPickSaved":"Saved which connections runs can reach","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Run chats with Claude Code in a sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Each chat gets its own sandbox instead of running on Decopilot. The first message waits for the sandbox to start. Needs an Anthropic, OpenRouter or deco AI gateway key, or a Claude subscription.","settings.agentTools.codingAgentsClaudeCodeTitle":"Run Code Agent chats with Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats on an agent imported from GitHub run in that agent's sandbox, next to the code. Replies arrive a whole turn at a time. Applies to new chats only.","settings.orgRoleDetail.addMember":"Add Member","settings.orgRoleDetail.addMembersToGrantPermissions":"Add members to grant them the configured permissions.","settings.orgRoleDetail.addMembersToRole":"Add Members to Role","settings.orgRoleDetail.addWithCount":"Add ({count})","settings.orgRoleDetail.added":"Added","settings.orgRoleDetail.allConnections":"All connections","settings.orgRoleDetail.allConnectionsDescription":"Every tool on every connection, including ones added later. Uncheck a connection to leave it out.","settings.orgRoleDetail.allModels":"All models","settings.orgRoleDetail.allOrgPermissions":"All organization permissions","settings.orgRoleDetail.allProjects":"All projects","settings.orgRoleDetail.allProjectsDescription":"This role can access every project, including ones created later. Uncheck a project to hide it from this role, or turn off to pick specific projects.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Built-in role permissions cannot be changed","settings.orgRoleDetail.cancel":"Cancel","settings.orgRoleDetail.createRole":"Create role","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} enabled","settings.orgRoleDetail.failedToSaveRole":"Failed to save role","settings.orgRoleDetail.general":"General","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Grant full access to all features below","settings.orgRoleDetail.loadingModels":"Loading models...","settings.orgRoleDetail.mcpPermissions":"MCP Permissions","settings.orgRoleDetail.members":"Members","settings.orgRoleDetail.membersUpdatedSuccessfully":"Members updated successfully!","settings.orgRoleDetail.models":"Models","settings.orgRoleDetail.noLlmConnectionsConfigured":"No LLM connections configured","settings.orgRoleDetail.noMembers":"No members","settings.orgRoleDetail.noMembersAvailable":"No members available","settings.orgRoleDetail.noMembersFound":"No members found","settings.orgRoleDetail.noMembersMatch":'No members match "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'No permissions match "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"No projects available","settings.orgRoleDetail.noProjectsMatch":'No projects match "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Organization Permissions","settings.orgRoleDetail.owner":"Owner","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"Owner membership cannot be changed","settings.orgRoleDetail.projects":"Projects","settings.orgRoleDetail.removeMember":"Remove {name} from role","settings.orgRoleDetail.roleCreatedSuccessfully":"Role created successfully!","settings.orgRoleDetail.roleName":"Role name","settings.orgRoleDetail.roleNameIsRequired":"Role name is required","settings.orgRoleDetail.roleUpdatedSuccessfully":"Role updated successfully!","settings.orgRoleDetail.saveChanges":"Save Changes","settings.orgRoleDetail.saving":"Saving...","settings.orgRoleDetail.searchMcpServers":"Search MCP servers...","settings.orgRoleDetail.searchMembers":"Search members...","settings.orgRoleDetail.searchModels":"Search models...","settings.orgRoleDetail.searchPermissions":"Search permissions...","settings.orgRoleDetail.searchProjects":"Search projects...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Select members to add to this role.","settings.orgRoleDetail.showMore":"Show more ({remaining} remaining)","settings.orgRoleDetail.somethingWentWrong":"Something went wrong","settings.orgRoleDetail.unknown":"Unknown","settings.orgRoleDetail.userIsDefaultRoleMessage":"User is the default role — members can't be removed from it; assign another role to change their access","settings.orgSso.cancelButton":"Cancel","settings.orgSso.clientIdLabel":"Client ID","settings.orgSso.clientIdPlaceholder":"your-client-id","settings.orgSso.clientSecretEditDescription":"Leave empty to keep current","settings.orgSso.clientSecretLabel":"Client secret","settings.orgSso.clientSecretPlaceholder":"your-client-secret","settings.orgSso.clientSecretRequiredError":"Client secret is required for the first setup","settings.orgSso.configurationRemovedSuccess":"SSO configuration removed","settings.orgSso.configurationSavedSuccess":"SSO configuration saved","settings.orgSso.configureSsoButton":"Configure SSO","settings.orgSso.discoveryEndpointDescription":"Optional. Detected from the issuer when empty.","settings.orgSso.discoveryEndpointLabel":"Discovery endpoint","settings.orgSso.discoveryEndpointPlaceholder":"Auto-detected from issuer","settings.orgSso.domainLabel":"Domain","settings.orgSso.editConfigButton":"Edit configuration","settings.orgSso.emailDomainDescription":"The email domain this provider covers.","settings.orgSso.emailDomainLabel":"Email domain","settings.orgSso.emailDomainPlaceholder":"company.com","settings.orgSso.enforceSsoDescription":"Require all members to authenticate via SSO","settings.orgSso.enforceSsoLabel":"Enforce SSO","settings.orgSso.enforcementDisabledSuccess":"SSO enforcement disabled","settings.orgSso.enforcementEnabledSuccess":"SSO enforcement enabled","settings.orgSso.issuerUrlDescription":"Your identity provider's OIDC issuer URL.","settings.orgSso.issuerUrlLabel":"Issuer URL","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Loading...","settings.orgSso.providerLabel":"Provider","settings.orgSso.removeButton":"Remove","settings.orgSso.removeConfirmation":"Are you sure you want to remove SSO configuration?","settings.orgSso.removeSsoConfigError":"Failed to remove SSO config","settings.orgSso.requiredFieldsError":"Issuer, Client ID, and Domain are required","settings.orgSso.saveSsoConfigError":"Failed to save SSO config","settings.orgSso.savingButton":"Saving...","settings.orgSso.scopesLabel":"Scopes","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single sign-on","settings.orgSso.securityTitle":"Security","settings.orgSso.testSsoButton":"Test SSO","settings.orgSso.toggleEnforcementError":"Failed to toggle SSO enforcement","settings.orgSso.updateButton":"Update","settings.organizationForm.failedToReadImage":"Failed to read image","settings.organizationForm.failedToUpdateOrg":"Failed to update organization","settings.organizationForm.imageTooLarge":"Image must be smaller than 2MB","settings.organizationForm.logoDescription":"256×256px recommended.","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Organization name","settings.organizationForm.nameRequired":"Name is required","settings.organizationForm.nameTitle":"Name","settings.organizationForm.nameTooLong":"Name is too long","settings.organizationForm.updateSuccess":"Organization updated successfully","settings.organizationForm.uploadLogoLabel":"Upload organization logo","settings.organizationForm.urlDescription":"Used in links and API integrations, so it can't be changed.","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · added {time} ago","settings.providerKeyRow.cancel":"Cancel","settings.providerKeyRow.claudeCode":"Claude Code","settings.providerKeyRow.codex":"Codex","settings.providerKeyRow.delete":"Delete","settings.providerKeyRow.deleteApiKey":"Delete API key","settings.providerKeyRow.failedToDeleteKey":"Failed to delete key: {error}","settings.providerKeyRow.keyDeleted":"Key deleted","settings.roles.allConnections":"All connections","settings.roles.basicAccess":"Basic access","settings.roles.builtIn":"Built-in","settings.roles.cancel":"Cancel","settings.roles.columnMembers":"Members","settings.roles.columnPermissions":"Permissions","settings.roles.columnRole":"Role","settings.roles.columnType":"Type","settings.roles.connectionCount":"{count} connection(s)","settings.roles.createRole":"New role","settings.roles.createRoleGetStarted":"Create a role to get started.","settings.roles.custom":"Custom","settings.roles.delete":"Delete","settings.roles.deleteRoleConfirm":'Are you sure you want to delete the "{role}" role? This action cannot be undone.',"settings.roles.deleteRoleTitle":"Delete Role","settings.roles.deletedSuccessfully":"Role deleted successfully!","settings.roles.failedToLoad":"Failed to load roles","settings.roles.fullAccess":"Full access","settings.roles.fullOrgAccess":"Full org access","settings.roles.noPermissions":"No permissions","settings.roles.noRoles":"No roles","settings.roles.noRolesFound":"No roles found","settings.roles.noRolesMatchSearch":'No roles match "{search}"',"settings.roles.orgPermsCount":"{count} org perm(s)","settings.roles.pageTitle":"Roles","settings.roles.roleAdmin":"Admin","settings.roles.roleOwner":"Owner","settings.roles.roleUser":"User","settings.roles.searchPlaceholder":"Search roles...","settings.apiKeys.accessLabel":"Access","settings.apiKeys.accessReadOnly":"Read only","settings.apiKeys.accessReadOnlyDescription":"The {count} Studio tools that never change data. Tools added later stay out.","settings.apiKeys.accessCustom":"Choose tools","settings.apiKeys.accessCustomDescription":"Only the Studio and connection tools you pick. Tools added later stay out.","settings.apiKeys.accessFull":"Full access","settings.apiKeys.accessFullDescription":"Every tool, including ones that delete data and ones added later.","settings.apiKeys.expired":"Expired","settings.apiKeys.expiredOn":"Expired {date}","settings.apiKeys.expiresOn":"Expires {date}","settings.apiKeys.expiryDays":"{days} days","settings.apiKeys.expiryLabel":"Expires after","settings.apiKeys.expiryNever":"Never","settings.apiKeys.expiryYear":"1 year","settings.apiKeys.neverExpires":"Never expires","settings.apiKeys.readOnlyBadge":"Read only","settings.apiKeys.toolCount":"{count} tools","settings.apiKeys.studioTools":"Studio","settings.apiKeys.toolsGroupCount":"{count}/{total}","settings.apiKeys.toolsNone":"No tools","settings.apiKeys.toolsSelectGroup":"Select every tool in {name}","settings.apiKeys.toolsSelected":"{count} selected","settings.apiKeys.toolsLoadFailed":"Couldn't load the tool list. Close and try again.","settings.apiKeys.toolsSearch":"Search tools…","settings.apiKeys.cancelButton":"Cancel","settings.apiKeys.copied":"Copied to clipboard","settings.apiKeys.copyKey":"Copy key","settings.apiKeys.createButton":"Create key","settings.apiKeys.createdAt":"Created {date}","settings.apiKeys.createdDescription":"Copy this key now — it won't be shown again.","settings.apiKeys.createdTitle":"API key created","settings.apiKeys.creatingButton":"Creating…","settings.apiKeys.deleteDescription":"Any application using this key will immediately lose access. This cannot be undone.","settings.apiKeys.deleteKey":"Delete key","settings.apiKeys.deleteTitle":'Delete "{name}"?',"settings.apiKeys.done":"Done","settings.apiKeys.emptyDescription":"Create a key to authenticate external applications with this organization.","settings.apiKeys.emptyTitle":"No API keys yet","settings.apiKeys.failedToCreateKey":"Failed to create API key","settings.apiKeys.failedToDeleteKey":"Failed to delete API key","settings.apiKeys.failedToLoadError":"Failed to load API keys: {error}","settings.apiKeys.keyDeleted":'API key "{name}" deleted',"settings.apiKeys.loading":"Loading API keys…","settings.apiKeys.nameLabel":"Name","settings.apiKeys.namePlaceholder":"My integration","settings.apiKeys.newKey":"New key","settings.apiKeys.newKeyDescription":"Give the key only the tools it needs. Whoever holds the key can use them, even if it leaks.","settings.apiKeys.newKeyTitle":"New API key","settings.apiKeys.sectionDescription":"For scripts and clients that can't sign in through a browser.","settings.apiKeys.sectionTitle":"API keys","settings.secrets.cancelButton":"Cancel","settings.secrets.createButton":"Create secret","settings.secrets.creatingButton":"Creating…","settings.secrets.descriptionLabel":"Description (optional)","settings.secrets.descriptionPlaceholder":"What is this secret used for?","settings.secrets.emptyDescription":"Store API keys, tokens, and other sensitive values. Values are encrypted at rest and never returned over the API.","settings.secrets.emptyTitle":"No secrets yet","settings.secrets.failedToCreateSecret":"Failed to create secret","settings.secrets.failedToLoadError":"Failed to load secrets: {error}","settings.secrets.nameHelp":"Letters, digits, underscore, dot, hyphen. Case-insensitive within its scope.","settings.secrets.nameLabel":"Name","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"New secret","settings.secrets.newSecretDescription":"Stored encrypted in the credential vault. Choose who can read it.","settings.secrets.newSecretTitle":"New secret","settings.secrets.scopeLabel":"Scope","settings.secrets.scopeOrganization":"Organization","settings.secrets.scopeOrganizationDescription":"Organization — visible to all members","settings.secrets.scopePrivate":"Private","settings.secrets.scopePrivateDescription":"Private — only visible to me","settings.secrets.secretCreated":'Secret "{name}" created',"settings.secrets.secretsCountSingular":"{count} secret stored","settings.secrets.secretsCountPlural":"{count} secrets stored","settings.secrets.sectionOrganization":"Organization","settings.secrets.sectionPrivate":"Private to me","settings.secrets.valueLabel":"Value","settings.simpleModeSection.defaultBadge":"Default","settings.simpleModeSection.defaultModels":"Default models","settings.simpleModeSection.description":"Models marked Default are the recommended picks and change when the recommendation does. Pick a model to keep it.","settings.simpleModeSection.failedToSave":"Failed to save: {error}","settings.simpleModeSection.notAvailableWithCurrentProvider":"Not available with current provider","settings.simpleModeSection.pickModel":"Pick model","settings.simpleModeSection.saved":"Saved","settings.simpleModeSection.saving":"Saving…","settings.simpleModeSection.tierDeepResearch":"Deep research","settings.simpleModeSection.tierFast":"Fast","settings.simpleModeSection.tierImage":"Image","settings.simpleModeSection.tierSmart":"Smart","settings.simpleModeSection.tierThinking":"Thinking","settings.simpleModeSection.tierWebSearch":"Web search","settings.simpleModeSection.useDefault":"Use default","settings.aiProviders.groupChat":"Chat and tasks","settings.aiProviders.groupMedia":"Images and web search only","settings.aiProviders.customOpenAiCompatible":"Custom OpenAI-compatible","settings.aiProviders.customOpenAiDescription":"Bring your own model server (advanced)","settings.infraBilling.noSites":"This organization doesn't own any deco.cx site yet.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Select at least one site.","settings.infraBilling.tooManySites":"Showing the first {count} sites. Select specific sites to see the rest.","settings.infraBilling.multipleTeams":"These sites are billed by {count} legacy teams. Each team's plan and invoices are listed under Invoices.","settings.infraBilling.noTeam":"These sites aren't linked to a legacy billing team.","settings.infraBilling.partialTeam":"This site's legacy team also bills sites outside this organization, so its plan and invoices aren't shown here.","settings.infraBilling.billingUnavailable":"Plan and invoices are temporarily unavailable.","settings.infraBilling.monthLabel":"Month","settings.infraBilling.warehouseUnavailable":"Usage data couldn't be read, so the figures below are incomplete.","settings.infraBilling.summaryTitle":"Summary","settings.infraBilling.metricsTitle":"Metrics","settings.infraBilling.invoicesTitle":"Invoices","settings.infraBilling.detailsTitle":"Billing details","settings.infraBilling.currentPlan":"Current plan","settings.infraBilling.nextBilling":"Next billing","settings.infraBilling.manageButton":"Manage","settings.infraBilling.portalError":"Couldn't open billing portal: {message}","settings.infraBilling.requestsPerPageview":"Requests per pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Pages served to visitors this month.","settings.infraBilling.requests":"Requests","settings.infraBilling.requestsDescription":"CDN and shared infrastructure requests.","settings.infraBilling.dataTransfer":"Data transfer","settings.infraBilling.dataTransferDescription":"Bandwidth served from the edge and the origin.","settings.infraBilling.noInvoices":"No invoices issued for this team.","settings.infraBilling.invoiceReference":"Reference","settings.infraBilling.invoiceDue":"Due date","settings.infraBilling.invoiceAmount":"Amount","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documents","settings.infraBilling.invoiceNf":"Invoice","settings.infraBilling.invoiceBankSlip":"Bank slip","settings.infraBilling.invoiceBankTransfer":"Bank transfer","settings.infraBilling.statusPaid":"Paid","settings.infraBilling.statusOverdue":"Overdue","settings.infraBilling.statusPending":"Pending","settings.gitCredentials.title":"Git credentials","settings.gitCredentials.description":"Tokens that let sandboxes pull private repos and dependencies, like submodules or private npm, go, pub or cargo packages. Pick a secret per host.","settings.gitCredentials.addCredential":"Add credential","settings.gitCredentials.cancel":"Cancel","settings.gitCredentials.createNewSecret":"Create new secret","settings.gitCredentials.createNewSecretAriaLabel":"Create new secret","settings.gitCredentials.createNewSecretDescription":"Stored encrypted. The credential references the secret by id, and its value never leaves the server.","settings.gitCredentials.createNewSecretTitle":"Create new secret","settings.gitCredentials.descriptionLabel":"Description (optional)","settings.gitCredentials.descriptionPlaceholder":"What is this token used for?","settings.gitCredentials.failedToLoadSecrets":"Failed to load secrets","settings.gitCredentials.failedToSave":"Failed to save git credentials","settings.gitCredentials.failedToSaveSecret":"Failed to save","settings.gitCredentials.hostAriaLabel":"Git credential {index} host","settings.gitCredentials.hostInvalidMessage":"Bare hostname, e.g. github.com (no scheme or path).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"You've reached the limit of {max} git credentials. Remove one to add another.","settings.gitCredentials.nameLabel":"Name","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letters, digits, underscore, dot, hyphen.","settings.gitCredentials.noSecretsYet":'No secrets yet. Use the "+" to create one.',"settings.gitCredentials.pickSecretPlaceholder":"Pick a secret…","settings.gitCredentials.remove":"Remove","settings.gitCredentials.removeAriaLabel":"Remove git credential","settings.gitCredentials.saveSecret":"Save secret","settings.gitCredentials.saving":"Saving…","settings.gitCredentials.secretAriaLabel":"Git credential {index} secret","settings.gitCredentials.scopeLabel":"Scope","settings.gitCredentials.scopeOrganization":"Organization, visible to all members","settings.gitCredentials.scopePrivate":"Private, only visible to me","settings.gitCredentials.secretSaved":'Saved secret "{name}"',"settings.gitCredentials.tokenExposureWarning":"The token is installed in the sandbox's git config for the session, so commands and agents running there can use it. Scope it to the repositories it needs.","settings.gitCredentials.tokenLabel":"Personal access token","settings.gitCredentials.tokenPlaceholder":"Paste your token"},Rte={"announcements.ptBr.title":"Studio is now in Portuguese","announcements.ptBr.description":"We noticed your browser is set to Portuguese, so we switched Studio to Portuguese (Brazil) for you. You can switch back to English anytime in settings.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Switch back to English","announcements.legacyAdmin.title":"Welcome to Deco Studio","announcements.legacyAdmin.description":"We've retired the legacy admin. Everything for your store now lives in Studio.","announcements.legacyAdmin.benefitPreview":"Edit pages next to a live preview of your site.","announcements.legacyAdmin.benefitCompare":"See the before and after before you publish.","announcements.legacyAdmin.benefitAgent":"Ask the agent in chat to make changes for you.","announcements.legacyAdmin.continue":"Continue","announcements.legacyAdmin.questions":"Questions?","announcements.release.ariaLabel":"Release announcement","announcements.release.dismiss":"Dismiss release announcement","announcements.release.learnMore":"Learn more","announcements.version.ariaLabel":"Studio update","announcements.version.dismiss":"Dismiss Studio update","announcements.version.eyebrow":"Studio update","announcements.version.title":"A new version is ready","announcements.version.description":"Refresh to load the latest Studio updates.","announcements.version.currentSession":"Current session · {version}","announcements.version.refresh":"Refresh now"},Dte={"assets.browser.title":"Assets","assets.browser.bucketLabel":"Bucket: {name}","assets.browser.noBucketTitle":"No assets bucket for this site","assets.browser.noBucketDescription":"Configure and associate an S3-compatible bucket with this site to browse and upload assets here.","assets.browser.deleteAction":"Delete","assets.browser.deleteConfirmTitle":"Delete file?","assets.browser.deleteConfirmDescription":'Permanently delete "{name}" from the bucket? This cannot be undone.',"assets.browser.deleteCancel":"Cancel","assets.browser.deleteConfirm":"Delete","assets.browser.deleted":"File deleted","assets.browser.deleteFailed":"Failed to delete file","assets.browser.filterLabel":"Filter by type","assets.browser.filterAll":"All","assets.browser.filterImages":"Images","assets.browser.filterVideos":"Videos","assets.browser.filterDocuments":"Documents","assets.browser.emptyFilterTitle":"No files of this type","assets.browser.emptyFilterDescription":"Pick another filter or load more files.","assets.browser.selectAsset":"Show details for {name}","assets.browser.uploadBarHint":"Drag files here or click to upload","assets.browser.upload":"Upload","assets.browser.dropToUpload":"Drop to upload","assets.details.close":"Close details","assets.details.type":"Type","assets.details.size":"Size","assets.details.dimensions":"Dimensions","assets.details.uploaded":"Uploaded","assets.details.url":"URL","assets.details.copy":"Copy","assets.details.copied":"Copied","assets.details.open":"Open","assets.details.replace":"Replace","assets.replace.title":"Replace {name}","assets.replace.description":"The URL stays the same: wherever this file appears, the new one appears instead.","assets.replace.before":"Before","assets.replace.after":"After","assets.replace.dropHint":"Drag the new file here","assets.replace.choose":"Choose file","assets.replace.chooseAnother":"Choose another","assets.replace.noFile":"No file yet","assets.replace.sameFormatHint":"Use the same format ({format}) and proportion","assets.replace.wrongFormat":"Choose a {format} file to keep the same format.","assets.replace.ratioWarning":"Different proportion: it may look cropped or stretched where it appears.","assets.replace.compareHint":"Choose the new file to compare.","assets.replace.cacheNote":"Pages may show the old file until their cache expires.","assets.replace.cancel":"Cancel","assets.replace.confirm":"Replace","assets.replace.replacing":"Replacing…","assets.replace.done":"File replaced","assets.replace.failed":"Failed to replace the file: {error}"},Ote={"plan.objective.eyebrow":"Your store goal","plan.objective.empty":"Write in one sentence where the brand is heading. Every plan starts from it.","plan.objective.edit":"Edit","plan.objective.label":"Store goal","plan.objective.placeholder":"E.g. Make the app our main sales channel in 2027.","plan.objective.hint":"One sentence, the way you would say it to your team. The agents take it into every plan.","plan.objective.save":"Save","plan.objective.cancel":"Cancel","plan.objective.clear":"Clear goal","plan.objective.find":"Find with AI","plan.objective.finding":"Reading the brand's files, meetings and messages…","plan.objective.found":"Found in {source}: “{quote}”","plan.objective.notFound":"I could not tell the brand's goal from its files and conversations. Write it here the way your team would say it.","plan.objective.findUnavailable":"The AI could not look for the goal right now. Try again later, or write it here.","plan.objective.read":"I read: {sources}.","plan.objective.readNothing":"I found nothing to read about the brand's plans.","plan.objective.unread":"I could not read: {files}.","plan.objective.connectHint":"Connect meetings or messages, like Grain or WhatsApp, so I can find it next time.","plan.objective.saveError":"Could not save the goal. Try again.","plan.idea.heading":"What do you want to improve in the store?","plan.idea.description":"Say it however it comes to you, even vaguely. A few quick questions fill in what only you know, then the agent builds the case: the problem in numbers, who already does it, the money at stake, effort and the A/B test.","plan.idea.label":"Your idea","plan.idea.placeholder":"E.g. I want to improve search. Or: a fit guide on the product page would raise conversion.","plan.idea.submit":"Build the business case","plan.idea.startWith":"Start with","plan.idea.topic.shipping":"Shipping","plan.idea.topic.shippingPrompt":"Shipping: ","plan.idea.topic.pdp":"Product page","plan.idea.topic.pdpPrompt":"On the product page, ","plan.idea.topic.checkout":"Checkout","plan.idea.topic.checkoutPrompt":"In the checkout, ","plan.idea.topic.search":"Search","plan.idea.topic.searchPrompt":"In the search, ","plan.idea.topic.performance":"Performance","plan.idea.topic.performancePrompt":"To make the store faster, ","plan.idea.topic.paidMedia":"Paid media","plan.idea.topic.paidMediaPrompt":"For people coming from paid media, ","plan.prompt.withObjective":`Let's build a business case for this request together. Follow the business-case skill (read /app/org/public/core/business-case/SKILL.md). The canvas for this case is {casePath}: run init now, before anything else, and fill the cards as we go. If the request does not say where and what, ask me one thing at a time, with options.
|
|
93
93
|
|
|
94
94
|
Store goal: {objective}
|
|
95
95
|
|
|
@@ -135,7 +135,7 @@ ou um por linha`,"common.inviteMemberDialog.errorAlreadyInvited":"{email} já te
|
|
|
135
135
|
|
|
136
136
|
Sections que sustentam ele: {sections}. Quantas de cada, e em que ordem, depende do tema.`,"sandbox.formats.starterBodyNoSections":`Use para um post direto: abra com o assunto e por que ele importa para quem lê, desenvolva em algumas passagens curtas, e feche com o próximo passo.
|
|
137
137
|
|
|
138
|
-
Este site ainda não reporta sections de post — quando reportar, cite elas aqui com @.`,"sandbox.formats.starterName":"Post padrão","sandbox.formats.suggestButton":"Sugerir formatos","sandbox.formats.suggestFailed":"Não foi possível sugerir formatos","sandbox.formats.suggestHint":"Nomear os formatos em que este blog já escreve, a partir de como os posts são montados","sandbox.formats.suggested":"{count} formato(s) adicionado(s)","sandbox.formats.unknownCitations":"Este formato cita sections que o site não tem: {names}","sandbox.generatePost.stepCampaign":"Campanha","sandbox.generatePost.campaignHint":"Um post é escrito para uma campanha: é ela que carrega o momento, os produtos que podem ser citados e os links deles.","sandbox.generatePost.noCampaigns":"Nenhuma campanha para escrever ainda. Crie uma em Contexto → Campanhas.","sandbox.generatePost.campaignProducts":"{count} produto(s)","sandbox.generatePost.campaignNoProducts":"Sem produtos","sandbox.generatePost.formatBlocksHint":"Os blocos que este formato cita são os únicos que o post pode usar, e cada um é preenchido conforme o schema dele.","sandbox.generatePost.countLabel":"Quantos rascunhos","sandbox.generatePost.countHint":"Cada um pega um ângulo diferente da mesma campanha. Caem como cartões separados.","sandbox.generatePost.coverHint":"Todo rascunho ganha uma imagem de capa, gerada e enviada para o seu bucket.","sandbox.generatePost.gapNoStoreData":"Nenhum sistema conectado respondeu, então nada nestes posts foi conferido com a loja.","sandbox.generatePost.gapSectionsDropped":"{count} seção(ões) foram descartadas: os props não bateram com o bloco que as renderiza.","sandbox.generatePost.gapNoBucket":"Nenhum bucket para enviar imagens, então os posts estão sem capa. Configure um em Configurações → Buckets.","sandbox.generatePost.gapNoImageModel":"Esta organização não tem modelo de imagem configurado, então os posts estão sem capa.","sandbox.generatePost.gapImagesFailed":"As imagens de capa não puderam ser geradas. Os posts estão completos no resto.","sandbox.generatePost.gapDraftsFailed":"{count} rascunho(s) não puderam ser escritos e os cartões ficaram vazios.","sandbox.generatePost.back":"Voltar","sandbox.generatePost.blockedBrand":"Preencha {fields} na aba Marca primeiro — um post escrito sem isso parece o de qualquer outra marca.","sandbox.generatePost.done":"Escrevi {count} rascunho(s) — prontos para revisão","sandbox.generatePost.extraLabel":"Mais alguma coisa?","sandbox.generatePost.extraPlaceholder":"O que você quer além de tudo isso, nas suas palavras.","sandbox.generatePost.failed":"Não consegui escrever estes posts","sandbox.generatePost.formatHint":"Escolha um formato que a marca já usa, ou descreva um novo.","sandbox.generatePost.formatNameLabel":"Nome do formato","sandbox.generatePost.formatNamePlaceholder":"O formato, nomeado pelo trabalho que faz","sandbox.generatePost.formatValueLabel":"Como um post assim é construído","sandbox.generatePost.formatValuePlaceholder":"Como ele abre, desenvolve e fecha.","sandbox.generatePost.generate":"Gerar {count} rascunho(s)","sandbox.generatePost.next":"Avançar","sandbox.generatePost.stepExtra":"Instruções","sandbox.generatePost.stepFormat":"Formato","sandbox.generatePost.subtitle":"Escolha a campanha e o formato. Os posts caem no quadro como rascunhos.","sandbox.generatePost.title":"Gerar posts","sandbox.itemActions.addVariant":"Adicionar variante","sandbox.itemActions.delete":"Excluir","sandbox.itemActions.discardChanges":"Descartar alterações","sandbox.itemActions.duplicate":"Duplicar","sandbox.itemActions.editSeo":"Editar SEO","sandbox.itemActions.moreActions":"Mais ações","sandbox.itemActions.rename":"Renomear","sandbox.itemActions.viewJson":"Visualizar JSON","sandbox.itemRow.duplicateName":"Outro registro usa esse nome","sandbox.itemRow.missingFields":"Faltando: {fields}","sandbox.itemRow.selectItem":"Selecionar {title}","sandbox.itemRow.variantCount":"{count} variantes","sandbox.listBlocks.addCard":"Adicionar card","sandbox.listBlocks.addItem":"Adicionar item","sandbox.listBlocks.addStat":"Adicionar estatística","sandbox.listBlocks.addStep":"Adicionar passo","sandbox.listBlocks.cardBody":"Corpo do card","sandbox.listBlocks.cardTitle":"Título do card","sandbox.listBlocks.checklistItem":"Item da checklist","sandbox.listBlocks.checklistTitle":"Título da checklist (opcional)","sandbox.listBlocks.columnTitle":"Título da coluna","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Rótulo","sandbox.listBlocks.optionA":"Opção A","sandbox.listBlocks.optionB":"Opção B","sandbox.listBlocks.removeCard":"Remover card","sandbox.listBlocks.removeItem":"Remover item","sandbox.listBlocks.removeStat":"Remover estatística","sandbox.listBlocks.removeStep":"Remover passo","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Descrição do passo","sandbox.listBlocks.stepTitle":"Título do passo","sandbox.listBlocks.stepsTitle":"Título dos passos (opcional)","sandbox.mediaBlocks.addCaption":"Adicione uma legenda…","sandbox.mediaBlocks.altText":"Texto alternativo (acessibilidade)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Rótulo do botão","sandbox.mediaBlocks.calloutText":"Texto do destaque…","sandbox.mediaBlocks.calloutTitle":"Título do destaque","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://url-de-destino.com","sandbox.linkSuggest.button":"Sugerir links","sandbox.linkSuggest.hint":"Encontrar trechos para linkar com seus outros posts (usa créditos de IA)","sandbox.linkSuggest.noCandidates":"Ainda não há outros posts para linkar","sandbox.linkSuggest.title":"Links internos sugeridos","sandbox.linkSuggest.description":"Escolha quais trechos linkar com seus outros posts. Nada muda até você aplicar.","sandbox.linkSuggest.none":"Nenhum link interno para sugerir.","sandbox.linkSuggest.apply":"Aplicar {count}","sandbox.linkSuggest.applied":"{count} link(s) aplicado(s)","sandbox.linkSuggest.failed":"Não foi possível sugerir links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Produto","sandbox.linkPicker.searchPosts":"Buscar seus posts…","sandbox.linkPicker.noPosts":"Nenhum post encontrado","sandbox.linkPicker.searchProducts":"Buscar no seu catálogo…","sandbox.linkPicker.searching":"Buscando…","sandbox.linkPicker.noProducts":"Nenhum produto encontrado","sandbox.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.highPriority":"Prioridade","sandbox.mediaBlocks.highPriorityHint":"Carrega de imediato e com prioridade alta. Use em imagens acima da dobra.","sandbox.mediaBlocks.label":"Rótulo","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Descrição opcional","sandbox.mediaBlocks.pasteVideoUrl":"Cole uma URL do YouTube ou Vimeo para visualizar","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Vídeo","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancelar","sandbox.pageFormDialog.labelName":"Nome","sandbox.pageFormDialog.labelPath":"Caminho","sandbox.pageFormDialog.labelTemplate":"Modelo","sandbox.pageFormDialog.pendingCreate":"Criando…","sandbox.pageFormDialog.pendingDuplicate":"Duplicando…","sandbox.pageFormDialog.pendingSave":"Salvando…","sandbox.pageFormDialog.placeholderName":"Minha página","sandbox.pageFormDialog.placeholderPath":"/exemplo","sandbox.pageFormDialog.submitCreate":"Criar","sandbox.pageFormDialog.submitDuplicate":"Duplicar","sandbox.pageFormDialog.submitSave":"Salvar","sandbox.pageFormDialog.titleCreate":"Criar nova página","sandbox.pageFormDialog.titleDuplicate":"Duplicar página","sandbox.pageFormDialog.titleRename":"Renomear página","sandbox.pathParamPickerChip.buttonTitle":"Valor para {paramLabel} — clique para escolher","sandbox.pathParamPickerChip.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está rodando?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categorias","sandbox.pathParamPickerChip.kindCategoryNoun":"categoria","sandbox.pathParamPickerChip.kindProductHeading":"Produtos","sandbox.pathParamPickerChip.kindProductNoun":"produto","sandbox.pathParamPickerChip.loading":"Carregando {noun}…","sandbox.pathParamPickerChip.noResults":"Nenhum resultado.","sandbox.pathParamPickerChip.pickValueHeading":"Escolha um valor para","sandbox.pathParamPickerChip.pickValueTitle":"Escolha um valor para {paramLabel}","sandbox.pathParamPickerChip.searchBlogPlaceholder":"Busque posts, categorias ou autores, ou digite um valor…","sandbox.pathParamPickerChip.searchPlaceholder":"Procurar {options} ou digite um valor…","sandbox.pathParamPickerChip.useRawValue":'Usar "{rawTerm}" como {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Com marcadores","sandbox.plainBlocks.codePlaceholder":"Código","sandbox.plainBlocks.headingLevel1":"Título 1","sandbox.plainBlocks.headingLevel2":"Título 2","sandbox.plainBlocks.headingLevel3":"Título 3","sandbox.plainBlocks.headingLevel4":"Título 4","sandbox.plainBlocks.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","sandbox.postBoard.close":"Fechar","sandbox.postBoard.archived":"Movido para Arquivado","sandbox.postBoard.collapse":"Recolher para o painel","sandbox.postBoard.collapseLane":"Recolher {lane}","sandbox.postBoard.delete":"Excluir","sandbox.postBoard.emptyDescription":"Gere algumas ideias e transforme-as em posts publicados.","sandbox.postBoard.emptyTitle":"Nenhum post ainda","sandbox.postBoard.duplicateTitle":"Título duplicado","sandbox.postBoard.expand":"Expandir para página inteira","sandbox.postBoard.expandLane":"Expandir {lane}","sandbox.postBoard.laneEmpty":"Nada aqui ainda","sandbox.postBoard.laneArchived":"Arquivado","sandbox.postBoard.laneGenerating":"Gerando","sandbox.postBoard.laneDraft":"Rascunho","sandbox.postBoard.laneAwaitingReview":"Aguardando revisão","sandbox.postBoard.lanePublished":"Publicado","sandbox.postBoard.laneScheduled":"Agendado","sandbox.postBoard.moveBlocked":"Este post está sem campos obrigatórios — abra-o para concluir antes de agendar.","sandbox.postBoard.moveFailed":"Não foi possível mover este post","sandbox.postBoard.moveInFlight":"Ainda movendo este post…","sandbox.postBoard.moveNotATarget":"Gerando é definido pela geração, não à mão.","sandbox.postBoard.nIssues":"{count} a corrigir antes de agendar","sandbox.postBoard.newPost":"Novo post","sandbox.postBoard.newPostGenerate":"Gerar","sandbox.postBoard.newPostGenerateHint":"Escrever com IA, a partir do seu contexto","sandbox.postBoard.newPostWrite":"Escrever","sandbox.postBoard.newPostWriteHint":"Começar um rascunho vazio você mesmo","sandbox.postBoard.importContent":"Importar conteúdo","sandbox.postBoard.importContentHint":"Traga o HTML ou Markdown que você já escreveu","sandbox.postBoard.importTitle":"Importar conteúdo","sandbox.postBoard.importDescription":"Cole o HTML ou Markdown que você já escreveu. Vira um rascunho editável no seu design system — sem IA, sem créditos.","sandbox.postBoard.importUpload":"Enviar um arquivo","sandbox.postBoard.importRun":"Importar","sandbox.postBoard.importEmpty":"Nada para importar — o conteúdo estava vazio.","sandbox.postBoard.imported":"Importado — revise e publique.","sandbox.postBoard.readyToSchedule":"Pronto para agendar","sandbox.postBoard.selectPrompt":"Selecione um post para vê-lo aqui.","sandbox.postBoard.untitled":"Post sem título","sandbox.postBoard.generatingLabel":"Gerando…","sandbox.postBoard.usesCredits":"Usa créditos de IA","sandbox.postBoard.viewBoard":"Quadro","sandbox.postBoard.viewList":"Lista","sandbox.postCalendar.couldNotCreate":"Não foi possível criar","sandbox.postCalendar.couldNotReschedule":"Não foi possível reagendar","sandbox.postCalendar.createdScheduledPost":"Post agendado criado","sandbox.postCalendar.legendScheduled":"Agendado","sandbox.postCalendar.legendUnscheduled":"Não agendado","sandbox.postCalendar.next":"Próximo mês","sandbox.postCalendar.onlyScheduledCanMove":"Apenas posts agendados podem ser movidos.","sandbox.postCalendar.previous":"Mês anterior","sandbox.postCalendar.schedulePostOn":"Agendar um post em {date}","sandbox.postCalendar.today":"Hoje","sandbox.postCalendar.unscheduledHint":"Posts tracejados não estão agendados — estão na data de exibição deles, e nada vai publicá-los.","sandbox.postCalendar.undatedEmpty":"Todos os posts têm data.","sandbox.postCalendar.undatedLabel":"Sem data · {count}","sandbox.postEditor.addPropLabel":"Adicionar propriedade","sandbox.postEditor.authorsLabel":"Autores","sandbox.postEditor.categoriesLabel":"Categorias","sandbox.postEditor.contentTab":"Conteúdo","sandbox.postEditor.coverAltDescription":"Descreve a imagem para leitores de tela e para quando ela não carrega. Vazio: o título do post é usado.","sandbox.postEditor.coverAltLabel":"Texto alternativo da capa","sandbox.postEditor.coverImageLabel":"Imagem de capa","sandbox.postEditor.dateLabel":"Data","sandbox.postEditor.deletePost":"Excluir post","sandbox.postEditor.deletePostCancel":"Cancelar","sandbox.postEditor.deletePostConfirmBody":'"{title}" será removido permanentemente. Isso não pode ser desfeito.',"sandbox.postEditor.deletePostConfirmBodyDraft":'"{title}" será removido do seu rascunho. Nada vai ao ar até você publicar, e até lá você pode trazê-lo de volta descartando esta alteração em Publicar.',"sandbox.postEditor.deletePostConfirmBodyNeverPublished":'"{title}" será removido do seu rascunho. Ele nunca foi publicado, então nada muda no site no ar, e depois de removido não dá para trazer de volta.',"sandbox.postEditor.deletePostConfirmTitle":"Excluir este post?","sandbox.postEditor.deletePostFailed":"Falha ao excluir","sandbox.postEditor.deletePostSuccess":'"{title}" excluído',"sandbox.postEditor.deletingPost":"Excluindo…","sandbox.postEditor.duplicateTitleWarning":"Já existe outro post com esse título. Títulos duplicados competem entre si na busca.","sandbox.postEditor.excerptLabel":"Resumo","sandbox.postEditor.extraPropsLabel":"Propriedades extras","sandbox.postEditor.issuePlural":"problemas","sandbox.postEditor.issueSingular":"problema","sandbox.postEditor.keyPlaceholder":"chave","sandbox.postEditor.legacyCodeBlock":"Bloco de código","sandbox.postEditor.legacyContentPlaceholder":"Escreva o post…","sandbox.postEditor.legacyImageDataUrl":"Dados de imagem colados não ficam no post. Envie a imagem ou use o endereço dela.","sandbox.postEditor.legacyInsertImage":"Inserir imagem da biblioteca","sandbox.postEditor.legacyInsertImageUrl":"Inserir imagem por URL","sandbox.postEditor.legacySectionsNotice":"Este post também tem {count} blocos do editor de blocos. Eles são mantidos como estão; este editor só altera o corpo em HTML.","sandbox.postEditor.missingFieldPlural":"Campos obrigatórios faltando: {fields}","sandbox.postEditor.missingFieldSingular":"Campo obrigatório faltando: {fields}","sandbox.postEditor.noAuthorsYet":"Nenhum autor ainda — crie alguns na coleção de autores.","sandbox.postEditor.noCategoriesYet":"Nenhuma categoria ainda — crie algumas na coleção de categorias.","sandbox.postEditor.noContentYet":"Este post ainda não tem conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.postEditScreen.notFound":"Este post não existe mais","sandbox.postEditScreen.notFoundHint":"Ele pode ter sido excluído, ou o link aponta para um id que este site não tem.","sandbox.postEditScreen.edit":"Editar","sandbox.postEditScreen.preview":"Visualizar","sandbox.postEditScreen.resizeSplit":"Redimensionar o editor e a visualização","sandbox.postEditScreen.resizeSplitHint":"Arraste para redimensionar. Clique duas vezes para voltar ao padrão.","sandbox.postPreview.desktop":"Desktop","sandbox.postPreview.frameTitle":"Visualização do post","sandbox.postPreview.missingParams":"Falta dado para montar a URL","sandbox.postPreview.missingParamsHint":"Defina o slug do post e, quando a rota do blog usa uma, a categoria.","sandbox.postPreview.mobile":"Celular","sandbox.postPreview.noOrigin":"Esperando o site","sandbox.postPreview.noOriginHint":"A visualização aparece assim que o site deste projeto estiver no ar.","sandbox.postPreview.noRoute":"Este site não tem página de post","sandbox.postPreview.noRouteHint":"Crie uma página com a seção de post do blog, ou defina o pageSlug do app de blog, e a visualização passa a renderizar.","sandbox.postPreview.openInNewTab":"Abrir em nova aba","sandbox.postPreview.refresh":"Atualizar","sandbox.postEditor.postTitlePlaceholder":"Título do post","sandbox.postEditor.readTimeLabel":"Tempo de leitura (minutos)","sandbox.postEditor.previewRequiresSlugAndCategory":"Defina o slug do post (e sua categoria) mais o pageSlug do aplicativo de blog para visualizar","sandbox.postEditor.previewTooltip":"Abrir visualização do post em uma nova aba","sandbox.postEditor.scheduledDatetimeDescription":"Quando este post entra no ar. O site publica sozinho depois que esse momento passa.","sandbox.postEditor.scheduledDatetimeLabel":"Entra no ar em","sandbox.postEditor.removePropLabel":"Remover propriedade","sandbox.postEditor.seePreview":"Ver visualização","sandbox.postEditor.selectAuthorsPlaceholder":"Selecionar autores","sandbox.postEditor.selectCategoriesPlaceholder":"Selecionar categorias","sandbox.postEditor.seoCanonicalLabel":"URL canônica","sandbox.postEditor.seoCanonicalPlaceholder":"https://exemplo.com/blog/meu-post","sandbox.postEditor.seoDescriptionLabel":"Descrição de SEO","sandbox.postEditor.seoImageLabel":"Imagem de SEO","sandbox.postEditor.seoNoIndexingLabel":"Ocultar dos mecanismos de busca (noindex)","sandbox.postEditor.seoSectionHint":"Sobrescreve como este post aparece nos mecanismos de busca. Campos vazios usam o título, resumo e imagem de capa do post.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"Título de SEO","sandbox.postEditor.settingsTab":"Configurações","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"Esse slug já estava em uso — salvamos como “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postList.noMatches":"Nenhum post corresponde à busca ou aos filtros.","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.archiveSelected":"Arquivar selecionados","sandbox.postToolbar.archiveSelectedPosts":"Arquivar posts selecionados","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deselectAll":"Desselecionar tudo","sandbox.postToolbar.deselectAllPosts":"Desselecionar todos os posts","sandbox.postToolbar.exitSelection":"Sair da seleção","sandbox.postToolbar.filterBy":"Filtrar por","sandbox.postToolbar.filterLabel":"Filtro","sandbox.postToolbar.itemsSelected":"Selecionados: {count}","sandbox.postToolbar.clearSearch":"Limpar busca","sandbox.postToolbar.searchAriaLabel":"Buscar posts","sandbox.postToolbar.searchPlaceholder":"Buscar posts","sandbox.postToolbar.selectAll":"Selecionar tudo","sandbox.postToolbar.selectAllPosts":"Selecionar todos os posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Ordenar por","sandbox.postToolbar.sortNewest":"Recentes","sandbox.postToolbar.sortNewestFirst":"Mais recentes primeiro","sandbox.postToolbar.sortOldest":"Antigas","sandbox.postToolbar.sortOldestFirst":"Mais antigas primeiro","sandbox.postToolbar.sortTitleAZ":"Título A–Z","sandbox.postToolbar.sortTitleZA":"Título Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.resizeTerminal":"Redimensionar terminal","sandbox.preview.createNewPage":"Criar nova página","sandbox.preview.devServerPreviewTitle":"Visualização do servidor de desenvolvimento","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Celular (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.globalLoaders":"Loaders globais","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"Este loader não existe mais.","sandbox.preview.noPagesFound":"Nenhuma página encontrada neste site.","sandbox.preview.noSearchResults":"Nenhum resultado corresponde à sua pesquisa.","sandbox.preview.siteRoutes":"Rotas do site","sandbox.preview.noServerRunning":"Nenhum servidor em execução","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.blockOnNoPage":"Este bloco não é usado em nenhuma página, então não há o que visualizar.","sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.pageSchemaNotReady":"O site ainda está carregando. Tente de novo em instantes.","sandbox.preview.searchPagesAndComponents":"Procurar páginas e componentes...","sandbox.preview.startingPreview":"Iniciando seu preview","sandbox.preview.startingPreviewHint":"Mostrando seu site publicado. Você já pode fazer alterações — elas aparecem quando o preview estiver pronto.","sandbox.preview.templateNoLongerExists":"O modelo selecionado não existe mais.","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.blocksEditor":"Editor de blocos","sandbox.preview.visualEditor":"Editor visual","sandbox.productBlocks.addProductIdButton":"Adicionar ID do produto","sandbox.productBlocks.addProductsButton":"Adicionar produtos","sandbox.productBlocks.addProductsDescription":"Pesquise produtos VTEX ou escolha uma categoria ou cluster","sandbox.productBlocks.browseProductsButton":"Procurar produtos","sandbox.productBlocks.changeButton":"Alterar","sandbox.productBlocks.chooseProductButton":"Escolher um produto","sandbox.productBlocks.ctaLabelField":"Rótulo de CTA","sandbox.productBlocks.ctaLabelPlaceholder":"Ver produto","sandbox.productBlocks.dragToReorderLabel":"Arraste para reordenar","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Carregando…","sandbox.productBlocks.productCardLabel":"Cartão de produto","sandbox.productBlocks.productField":"Produto","sandbox.productBlocks.productPlural":"produtos","sandbox.productBlocks.productSingular":"produto","sandbox.productBlocks.productSlugField":"Slug do produto","sandbox.productBlocks.productSlugPlaceholder":"slug-do-produto","sandbox.productBlocks.productWithId":"Produto {id}","sandbox.productBlocks.removeProductButton":"Remover produto","sandbox.productBlocks.removeProductIdButton":"Remover ID do produto","sandbox.productBlocks.removeProductLabel":"Remover produto","sandbox.productBlocks.shelfTitlePlaceholder":"Título da prateleira","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Inicie o servidor de desenvolvimento para procurar produtos ou adicione IDs de SKU abaixo.","sandbox.productBlocks.vtexProductIdPlaceholder":"ID de produto VTEX (ex. 151331)","sandbox.productBlocks.vtexProductIds":"IDs de produtos VTEX","sandbox.productPickerDialog.addProducts":"Adicionar produtos","sandbox.productPickerDialog.categoryLabel":"Categoria: ","sandbox.productPickerDialog.change":" — alterar","sandbox.productPickerDialog.chooseProduct":"Escolher um produto","sandbox.productPickerDialog.clusterIdPlaceholder":"ID da coleção / cluster (ex.: 2140)","sandbox.productPickerDialog.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está em execução?","sandbox.productPickerDialog.done":"Concluído","sandbox.productPickerDialog.enterClusterPrompt":"Digite um ID de coleção ou cluster.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filtrar categorias…","sandbox.productPickerDialog.loadingCategories":"Carregando categorias…","sandbox.productPickerDialog.loadingProducts":"Carregando produtos…","sandbox.productPickerDialog.modeCategory":"Categoria","sandbox.productPickerDialog.modeClusterId":"ID do cluster","sandbox.productPickerDialog.modeSearch":"Busca","sandbox.productPickerDialog.noCategories":"Nenhuma categoria.","sandbox.productPickerDialog.noProductsFound":"Nenhum produto encontrado.","sandbox.productPickerDialog.noneSelected":"Nenhum selecionado","sandbox.productPickerDialog.pickCategoryPrompt":"Escolha uma categoria para ver seus produtos.","sandbox.productPickerDialog.searchProductsPlaceholder":"Buscar produtos por nome ou ID…","sandbox.productPickerDialog.selectedCount":"{count} selecionado(s)","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Empresa","sandbox.recordEditor.fieldEmail":"E-mail","sandbox.recordEditor.fieldJobTitle":"Cargo","sandbox.recordEditor.fieldName":"Nome","sandbox.recordEditor.fieldType":"Tipo","sandbox.recordEditor.fieldUrl":"Site","sandbox.recordEditor.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.placeholderUrl":"https://exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","sandbox.redirectFormDialog.title":"Criar redirecionamento","sandbox.redirectFormDialog.submit":"Criar","sandbox.redirectFormDialog.pending":"Criando…","sandbox.redirectFormDialog.cancel":"Cancelar","sandbox.redirectFormDialog.errorRequired":"De e Para são obrigatórios.","sandbox.redirectEditor.discardQueryParameters":"Descartar parâmetros de consulta","sandbox.redirectEditor.fromDescription":"O caminho de origem a corresponder. Suporta sintaxe URLPattern (ex. /produto/:slug).","sandbox.redirectEditor.fromLabel":"De","sandbox.redirectEditor.fromPlaceholder":"/caminho-antigo","sandbox.redirectEditor.statusDescription":"Um código de status explícito prevalece sobre o tipo.","sandbox.redirectEditor.statusFromType":"Seguir o tipo ({status})","sandbox.redirectEditor.statusLabel":"Código de status","sandbox.redirectEditor.typeHint":"Use **Temporário** quando o redirecionamento pode mudar; **Permanente** permite que os navegadores façam cache.","sandbox.redirectEditor.title":"Redirecionamento","sandbox.redirectEditor.toDescription":"O destino — um caminho relativo ou uma URL absoluta.","sandbox.redirectEditor.toLabel":"Para","sandbox.redirectEditor.toPlaceholder":"/caminho-novo","sandbox.redirectEditor.typeLabel":"Tipo","sandbox.redirectEditor.typePermanent":"Permanente ({status})","sandbox.redirectEditor.typePlaceholder":"Tipo","sandbox.redirectEditor.typeTemporary":"Temporário ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"Veja suas alterações antes de publicá-las.","sandbox.cmsSettings.fastPreview.label":"Preview Rápido","sandbox.cmsSettings.fastPreview.description":"Novos chats começam como sessões de CMS, pré-visualizadas no seu servidor de preview em vez de um sandbox. Chats existentes mantêm o modo com que foram criados.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Defina um servidor de preview acima para ativar o Preview Rápido.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Adicione o endereço do seu site acima para visualizar rascunhos. Até lá, novos chats começam uma sessão de código.","sandbox.cmsSettings.fastPreviewInPlace.label":"Preview instantâneo (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Atualiza as edições no lugar, sem esperar o salvamento — bem mais rápido, mas só funciona em sites que têm a rota /live/previews.","sandbox.cmsSettings.contentEditing.on":"Ativado","sandbox.cmsSettings.contentEditing.onDescription":"O Editor do Site oferece Conteúdo e abre Blocos ao lado do Preview no desktop.","sandbox.cmsUnavailable.noPreviewServer":"É uma sessão de CMS, mas este projeto não tem servidor de preview configurado.","sandbox.cmsUnavailable.noRepo":"É uma sessão de CMS, mas este projeto não tem repositório do GitHub para salvar.","sandbox.cmsUnavailable.startCodingSession":"Continuar esta branch em uma sessão de código","sandbox.previewServerUrlField.description":"O endereço do seu servidor ativo, usado para pré-visualizar conteúdo. Necessário para o Preview Rápido.","sandbox.previewServerUrlField.descriptionBlocksV8":"O endereço do seu site no ar. O Studio mostra seus rascunhos nele antes de você publicar. Um endereço novo mostra rascunhos após a próxima publicação.","sandbox.previewServerUrlField.label":"Servidor de preview","sandbox.previewServerUrlField.placeholder":"https://exemplo.com","sandbox.fieldDescriptionTooltipsField.label":"Descrições compactas","sandbox.fieldDescriptionTooltipsField.description":"No formulário de blocos, exibe a descrição do campo como um tooltip ao passar o mouse sobre o título, em vez de texto abaixo do título.","sandbox.legacyBlogPostFormatField.label":"Editor de blogpost legado","sandbox.legacyBlogPostFormatField.description":"Edita o corpo do post via HTML, num único editor de texto rico salvo no campo content, o formato que templates de blog mais antigos leem, em vez de em blocos.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edições permanecem locais até que você salve como um {singular} global. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlockEditor.closeJsonEditor":"Fechar editor JSON","sandbox.runnableBlockEditor.closeResult":"Fechar resultado","sandbox.runnableBlockEditor.collapse":"Recolher","sandbox.runnableBlockEditor.collapseResult":"Recolher resultado","sandbox.runnableBlockEditor.editAsJson":"Editar como JSON","sandbox.runnableBlockEditor.expand":"Expandir","sandbox.runnableBlockEditor.expandResult":"Expandir resultado","sandbox.runnableBlockEditor.failedToRun":"Falha ao executar {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"Este {singular} não publica um esquema de props. Edite suas props como JSON e execute.","sandbox.runnableBlockEditor.inferredSchemaNotice":"Este {singular} não publica um esquema de props — os campos abaixo são inferidos de seus valores salvos. Use o editor JSON para adicionar props não mostrados aqui.","sandbox.runnableBlockEditor.invalidJsonError":"JSON inválido — mudanças não são salvas até que seja analisado.","sandbox.runnableBlockEditor.noInputEmptyState":"Este {singular} não aceita entrada configurável. Execute para ver seu resultado.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Abrir em nova aba (executa novamente o {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Abrir resultado em nova aba","sandbox.runnableBlockEditor.pressRunToInvoke":"Pressione Executar para invocar este {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Resultado","sandbox.runnableBlockEditor.run":"Executar","sandbox.runnableBlockEditor.runAriaLabel":"Executar {singular}","sandbox.runnableBlockEditor.running":"Executando {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Salvar como {singular} global","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Salvar como {singular} global","sandbox.runnableBlockEditor.savedModeDescription":"{singular} global — mudanças são salvas automaticamente. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlocksBrowser.emptyFolder":"Esta pasta está vazia.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Inicie o servidor de desenvolvimento de pré-visualização para que o manifest seja carregado.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"Nenhum {kind} aqui","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Navegação de pastas","sandbox.runnableBlocksBrowser.hideSaved":"Ocultar salvos","sandbox.runnableBlocksBrowser.noSearchResults":'Nenhum {kind} corresponde a "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"A pesquisa abrange todas as pastas — tente um termo diferente.","sandbox.runnableBlocksBrowser.savedBlockToast":'{singular} "{blockId}" salvo(a)',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} salvo(s)","sandbox.runnableBlocksBrowser.searchAriaLabel":"Pesquisar todos os {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Pesquisar todos os {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"Ver salvos","sandbox.runtimeFields.auto":"Automático","sandbox.runtimeFields.autoDetect":"Auto-detectar","sandbox.runtimeFields.devServerPort":"Porta do servidor de desenvolvimento","sandbox.runtimeFields.devServerPortDescription":"Deixe em branco para deixar o executor escolher.","sandbox.runtimeFields.packageManager":"Gerenciador de pacotes","sandbox.runtimeFields.packagePath":"Caminho do pacote","sandbox.runtimeFields.packagePathDescription":"Caminho (relativo à raiz do repositório) do diretório que contém package.json. Deixe em branco para a raiz do repositório.","sandbox.runtimeApps.title":"Outros apps","sandbox.runtimeApps.description":"Outros apps deste repositório para ver ao lado do principal, até {max}. Cada um roda o próprio servidor de desenvolvimento.","sandbox.runtimeApps.add":"Adicionar app","sandbox.runtimeApps.remove":"Remover {path}","sandbox.runtimeApps.duplicate":"Este app já está na lista.","sandbox.appTabs.label":"Apps","sandbox.appTabs.root":"raiz","sandbox.appTabs.main":"Principal","sandbox.appTabs.remove":"Remover {app}","sandbox.appTabs.add":"Adicionar outro app deste repositório","sandbox.appTabs.pathLabel":"Caminho do app no repositório, como apps/checkout","sandbox.appTabs.mainHint":"O chat e o editor trabalham neste app.","sandbox.appTabs.extraHint":"Só preview. O chat continua trabalhando em {app}.","sandbox.appPane.previewOnly":"Só preview. O chat e o editor continuam em {app}.","sandbox.appTabs.saveError":"Não foi possível salvar os apps do projeto.","sandbox.appTabs.split":"Ver lado a lado","sandbox.appTabs.single":"Ver um app","sandbox.appPane.path":"Caminho em {app}","sandbox.appPane.reload":"Recarregar {app}","sandbox.appPane.openInNewTab":"Abrir {app} em nova aba","sandbox.appPane.close":"Fechar {app}","sandbox.appPane.failed":"A sandbox não conseguiu iniciar. Tente de novo em {app}.","sandbox.appPane.waiting":"Iniciando a sandbox…","sandbox.appPane.noUrl":"Este app não tem endereço de preview.","sandbox.appPane.notStarted":"{app} ainda não está rodando: a sandbox subiu antes de ele ser adicionado.","sandbox.appPane.start":"Iniciar {app}","sandbox.savedSectionEditor.closeJsonEditor":"Fechar editor JSON","sandbox.saveStatus.failed":"Não foi possível salvar","sandbox.saveStatus.saved":"Salvo","sandbox.saveStatus.saving":"Salvando…","sandbox.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.globalSectionDescription":"Seção global — alterações são salvas automaticamente e aplicadas em todos os locais onde é usada.","sandbox.savedSectionEditor.invalidJsonError":"JSON inválido — as alterações não serão salvas até que seja processado.","sandbox.savedSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.schemaless.agentPrompt":"O conteúdo deste site é editado no deco Studio, mas o Studio ainda não recebeu o schema do site, então os formulários de conteúdo mostram campos crus. Configure isso neste repositório:\n\n1. Garanta que o @decocms/blocks está na versão 8.11.0 ou mais nova (atualize se não estiver) e rode `npx deco skills install` para adicionar as skills do framework deco a este repositório.\n2. Carregue a skill deco-site-workflow e siga o references/schema.md dela: gere o schema com `npx deco schema` e faça commit de .deco/schema.gen.json; faça o DECO_SITE apontar para o site {site} do Studio; envie o schema ao Studio com `npx deco schema push`; e inclua `npx deco schema push` no deploy de produção (depois que o deploy der certo, com uma chave de API do Studio no secret DECO_TOKEN) para que todo deploy o envie.\n3. Rode `npx deco check` e me conte o que você mudou e o que cada comando imprimiu.","sandbox.schemaless.agentPromptSiteUnknown":"que este projeto usa (me pergunte o nome se não encontrar)","sandbox.schemaless.back":"Todos os blocos","sandbox.schemaless.bannerBody":"Este site ainda não enviou ao Studio o schema dele (a descrição dos campos de cada formulário), então cada bloco abre com campos simples criados a partir dos valores salvos. Salvar continua mantendo todo o resto como está. Peça ao agente de código que trabalha no seu site para configurar isso: copie o prompt e cole no agente. Leva um deploy, e os formulários aqui se atualizam sozinhos.","sandbox.schemaless.bannerTitle":"Os formulários de conteúdo estão mostrando campos crus","sandbox.schemaless.copyPrompt":"Copiar prompt para o seu agente","sandbox.schemaless.copyPromptFailed":"Não foi possível copiar o prompt. Verifique se esta página pode usar a área de transferência e tente de novo.","sandbox.schemaless.empty":"Vazio","sandbox.schemaless.installSkill":"Instalar a skill","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} itens","sandbox.schemaless.listLabel":"Blocos salvos","sandbox.schemaless.noBlocks":"Nenhum bloco salvo ainda.","sandbox.schemaless.noMatches":"Nenhum bloco corresponde à busca.","sandbox.schemaless.noType":"Sem tipo","sandbox.schemaless.notANumber":"Digite um número. O valor salvo continua até você digitar.","sandbox.schemaless.notSet":"Sem valor","sandbox.schemaless.pickBlock":"Escolha um bloco para ver o conteúdo.","sandbox.schemaless.promptCopied":"Copiado","sandbox.schemaless.promptCopiedAnnouncement":"Prompt copiado para a área de transferência","sandbox.schemaless.searchPlaceholder":"Buscar blocos","sandbox.schemaless.usesSkill":"Usa a skill deco-site-workflow","sandbox.sectionRenameDialog.cancel":"Cancelar","sandbox.sectionRenameDialog.description":"Atualiza o nome de exibição. A chave interna permanece a mesma para que as páginas que referem esta seção continuem funcionando.","sandbox.sectionRenameDialog.keyLabel":"Chave","sandbox.sectionRenameDialog.nameLabel":"Nome","sandbox.sectionRenameDialog.save":"Salvar","sandbox.sectionRenameDialog.saving":"Salvando…","sandbox.sectionRenameDialog.title":"Renomear seção","sandbox.sectionsRightPane.selectSectionDescription":"Escolha uma seção salva para editar, ou uma disponível para personalizar e salvar como global.","sandbox.sectionsRightPane.selectSectionTitle":"Selecione uma seção para editar","sandbox.stateCard.erroredHeadline":"Não foi possível iniciar o sandbox","sandbox.stateCard.githubConnectionMissingMessage":"A conexão do GitHub usada neste chat foi removida. Vincule o repositório novamente para iniciar o sandbox.","sandbox.stateCard.linkRepoAgain":"Vincular repositório","sandbox.stateCard.githubNotAuthenticatedMessage":"O repositório GitHub deste projeto não está autenticado. Reconecte em Conexões e tente novamente.","sandbox.stateCard.reconnectGithub":"Reconectar GitHub","sandbox.stateCard.resume":"Retomar","sandbox.stateCard.resumeToContinue":"Retome para continuar.","sandbox.stateCard.retry":"Tentar Novamente","sandbox.stateCard.suspendedHeadline":"O sandbox está pausado","sandbox.tableBlock.addColumn":"Adicionar coluna","sandbox.tableBlock.addRow":"Adicionar linha","sandbox.tableBlock.headerPlaceholder":"Cabeçalho {n}","sandbox.tableBlock.noRowsYet":"Nenhuma linha ainda — adicione uma abaixo.","sandbox.tableBlock.removeColumn":"Remover coluna {n}","sandbox.tableBlock.removeRow":"Remover linha {n}","sandbox.toolbar.closeTab":"Fechar {tab}","sandbox.toolbar.moreActions":"Mais ações","sandbox.toolbar.noScriptsFound":"Nenhum script encontrado","sandbox.toolbar.restart":"Reiniciar","sandbox.toolbar.resume":"Retomar","sandbox.toolbar.retry":"Tentar Novamente","sandbox.toolbar.run":"Executar","sandbox.toolbar.runAScript":"executar um script","sandbox.toolbar.runScript":"Executar script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Iniciar","sandbox.toolbar.startProcess":"Iniciar processo","sandbox.toolbar.stop":"Parar","sandbox.toolbar.stopProcess":"Parar processo","sandbox.toolbar.stopSandboxTooltip":"Parar sandbox","sandbox.toolbar.stopping":"Parando…","sandbox.variantCalendar.always":"Sempre","sandbox.variantCalendar.calendarMode":"Calendário","sandbox.variantCalendar.dateMatcherInfo":"Variantes condicionadas a um critério de data aparecem aqui.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} variante(s) em andamento oculta(s) — ative "Mostrar em andamento" para visualizar.',"sandbox.variantCalendar.next":"Próximo","sandbox.variantCalendar.noDatedVariants":"Nenhuma variante com data à vista.","sandbox.variantCalendar.noScheduledVariants":"Nenhuma variante agendada.","sandbox.variantCalendar.ongoing":"Em andamento","sandbox.variantCalendar.previous":"Anterior","sandbox.variantCalendar.showOngoing":"Mostrar em andamento ({count})","sandbox.variantCalendar.timelineMode":"Linha do tempo","sandbox.variantCalendar.today":"Hoje","sandbox.variantCalendar.todayLabel":"Hoje","sandbox.variantCalendar.variantBlock":"Variante / Bloco","sandbox.visualEditorPrompt.inputPlaceholder":"Pergunte à IA...","sandbox.visualEditorPrompt.sendButton":"Enviar","sandbox.calendarView.noDraft.title":"Escolha um rascunho para planejar suas campanhas","sandbox.calendarView.noDraft.desc":"Suas campanhas ficam salvas em um rascunho, como qualquer outra edição. Escolha um rascunho na barra acima ou abra o editor do site para começar um.","sandbox.calendarView.loadFailed":"Não foi possível carregar suas campanhas.","sandbox.calendarView.loadFailedHint":"Nada foi alterado. Tente de novo em instantes.","sandbox.dateCampaigns.intro":"Campanhas mudam o site numa janela de datas. As mudanças vão ao ar quando você publica.","sandbox.dateCampaigns.tabsLabel":"Campanhas a mostrar","sandbox.dateCampaigns.tabCurrent":"Campanhas","sandbox.dateCampaigns.tabEnded":"Encerradas","sandbox.dateCampaigns.colCampaign":"Campanha","sandbox.dateCampaigns.today":"Hoje","sandbox.dateCampaigns.colStatus":"Status","sandbox.dateCampaigns.noneCurrent":"Nenhuma campanha no ar ou agendada.","sandbox.dateCampaigns.noneEnded":"Nenhuma campanha encerrada ainda.","sandbox.dateCampaigns.edit":"Editar","sandbox.dateCampaigns.editNamed":"Editar {name}","sandbox.dateCampaigns.new":"Nova campanha","sandbox.dateCampaigns.empty.title":"Nenhuma campanha ainda","sandbox.dateCampaigns.empty.desc":"Crie uma aqui ou a partir de uma variante no editor do site: escolha a regra “Campanha” e digite um nome.","sandbox.dateCampaigns.status.running":"No ar","sandbox.dateCampaigns.status.upcoming":"Agendada","sandbox.dateCampaigns.status.ended":"Encerrada","sandbox.dateCampaigns.status.always":"Sempre ativa","sandbox.dateCampaigns.status.unreadable":"Datas ilegíveis","sandbox.dateCampaigns.state.new":"Ainda não publicada","sandbox.dateCampaigns.state.changed":"Alterada no seu rascunho","sandbox.dateCampaigns.removedTitle":"Removidas no seu rascunho","sandbox.dateCampaigns.removedHint":"Estas campanhas param quando você publicar. Para manter uma, crie-a de novo com o mesmo nome.","sandbox.dateCampaigns.unreadableHint":"Uma das datas não pode ser lida, então as variantes dela não aparecem. Escolha novas datas e salve.","sandbox.dateCampaigns.publishedWindow":"Publicado: {window}","sandbox.dateCampaigns.saveDates":"Salvar datas","sandbox.dateCampaigns.delete":"Excluir campanha","sandbox.dateCampaigns.deleted":"Campanha “{name}” excluída do seu rascunho","sandbox.dateCampaigns.deletedHint":"Ela sai do site quando você publicar. Desfazer traz ela de volta.","sandbox.dateCampaigns.missing.title":"Seu site precisa de uma atualização para campanhas","sandbox.dateCampaigns.missing.desc":"Peça ao seu desenvolvedor para atualizar o site para a versão mais recente do Blocks e publicá-lo. Suas campanhas vão aparecer aqui.","sandbox.dateCampaigns.replaced.title":"Seu site cuida das campanhas no próprio código","sandbox.dateCampaigns.replaced.desc":"Os desenvolvedores definiram as próprias campanhas, então elas não podem ser alteradas aqui. Pergunte a eles como mudar uma.","sandbox.dateCampaigns.conflict.title":"Seu site já tem um bloco chamado “campaigns”","sandbox.dateCampaigns.conflict.desc":"Ele não é uma lista de campanhas, então ainda não dá para adicionar campanhas. Renomeie esse bloco e volte aqui.","sandbox.previewAs.label":"Visualizar como","sandbox.previewAs.intro":"Só esta pré-visualização muda. Seus visitantes continuam vendo o site como ele está.","sandbox.previewAs.unavailable":"Faça uma mudança ou publique o site primeiro; depois a pré-visualização pode mostrar outro momento ou forçar um teste.","sandbox.previewAs.momentLabel":"Visualizar em","sandbox.previewAs.momentHint":"As campanhas aparecem como vão estar neste momento. Os horários estão no fuso do seu computador.","sandbox.previewAs.now":"Agora","sandbox.previewAs.testsLabel":"Testes A/B","sandbox.previewAs.testsHint":"Sem escolha: você vê o lado que a sua própria visita recebeu.","sandbox.previewAs.noTests":"Nenhum teste A/B ainda.","sandbox.previewAs.testsLoadFailed":"Não foi possível carregar seus testes.","sandbox.previewAs.tryAgain":"Tentar de novo","sandbox.previewAs.off":"Desligado","sandbox.previewAs.on":"Ligado","sandbox.previewAs.reset":"Mostrar como está agora"},Aae={"settings.subscriptionUsage.refresh":"Atualizar","settings.subscriptionUsage.codeReview":"Revisão de código","settings.subscriptionUsage.primary":"Limite principal","settings.subscriptionUsage.secondary":"Limite secundário","settings.subscriptionUsage.resets":"Renova em {date}","settings.subscriptionUsage.limitReached":"Limite atingido","settings.subscriptionUsage.viewUsage":"Ver uso","settings.subscriptionUsage.openProvider":"Ver no provedor","settings.voice.title":"Modo voz","settings.voice.description":"Permite falar com os agentes por voz. Requer a ElevenLabs configurada nesta instalação.","settings.title":"Perfil e preferências","settings.nav.organization":"Organização","settings.nav.build":"Construir","settings.nav.manage":"Gerenciar","settings.nav.general":"Geral","settings.nav.connect":"Conectar","settings.nav.aiProviders":"Provedores de IA","settings.nav.secrets":"Segredos","settings.nav.billing":"Cobrança e IA","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Repos sincronizados","settings.nav.repositories":"Repositórios","settings.nav.storage":"Armazenamento","settings.nav.advanced":"Avançado","settings.subnav.ariaLabel":"Seções de configurações","settings.subnav.infrastructure":"Infraestrutura","settings.nav.tasks":"Quadro","settings.jira.sectionTitle":"Jira","settings.jira.connectTitle":"Conectar Jira","settings.jira.connectDescription":"Use um site do Jira Cloud e um API token, de preferência de uma conta de serviço com acesso ao projeto.","settings.jira.siteLabel":"Site do Jira","settings.jira.sitePlaceholder":"suaempresa.atlassian.net","settings.jira.emailLabel":"E-mail da conta Atlassian","settings.jira.emailPlaceholder":"voce@empresa.com","settings.jira.tokenLabel":"API token","settings.jira.tokenPlaceholder":"Cole seu token","settings.jira.connect":"Conectar","settings.jira.connecting":"Conectando…","settings.jira.connected":"Jira conectado","settings.jira.connectFailed":"Não foi possível conectar ao Jira","settings.jira.disconnect":"Desconectar","settings.jira.disconnected":"Jira desconectado","settings.jira.disconnectTitle":"Desconectar o Jira?","settings.jira.disconnectDescription":"A sincronização para e as credenciais são apagadas. Os cards que já estão no quadro ficam, mas deixam de atualizar.","settings.jira.cancel":"Cancelar","settings.jira.boardLabel":"Board do Jira","settings.jira.boardDescription":"O Studio age quando um card entra numa coluna deste board.","settings.jira.boardPlaceholder":"Selecione um board","settings.jira.boardSearchPlaceholder":"Buscar boards…","settings.jira.noBoardsMatch":"Nenhum board corresponde à busca","settings.jira.loadingBoards":"Carregando boards…","settings.jira.enabledLabel":"Integração ativa","settings.jira.enabledDescription":"Enquanto desativada, os cards que se movem no board são ignorados.","settings.jira.enableRequirements":"Escolha um board antes de ativar a integração","settings.jira.saveFailed":"Não foi possível salvar as configurações do Jira","settings.jira.createTokenLink":"Criar um API token","settings.jira.webhookTitle":"Atualizações instantâneas (webhook)","settings.jira.webhookDescription":"Opcional. Sem ele, uma issue que entra num status automatizado é detectada na próxima verificação de 5 minutos; com ele, a run começa quando o card fica 20 segundos parado.","settings.jira.webhookCopy":"Copiar","settings.jira.webhookCopied":"URL do webhook copiada","settings.jira.webhookStep1":"No Jira, abra Settings (ícone de engrenagem) → System → Webhooks. Requer um admin do Jira.","settings.jira.webhookStep2":"Clique em “Create a webhook” e cole a URL acima.","settings.jira.webhookStep3":"Em Events, marque Issue: created e Issue: updated.","settings.jira.webhookStep4":"Opcionalmente restrinja com um filtro JQL, ex.: project = <chave do projeto>.","settings.jira.webhookStep5":"Salve. Uma issue que entra num status automatizado passa a iniciar sua run depois de ficar 20 segundos nele.","settings.jira.automationsLabel":"Rodar o agente quando uma issue entrar em…","settings.jira.automationsDescription":"As automações que rodam quando uma issue entra num destes status e fica nele por 20 segundos. Abra uma para mudar o prompt, ou dê a qualquer automação um gatilho “Quando uma issue do Jira entra num status”. Um card arrastado por um status, ou para o errado e de volta, não inicia nada. Uma issue que tem um pull request aberto linkado continua nele. O agente lê a issue e a atualiza no Jira; nada é copiado para o quadro.","settings.jira.toggleAutomation":"Ligar ou desligar {name}","settings.jira.addAutomation":"Adicionar automação","settings.jira.fromAny":"Vindo de qualquer coluna","settings.jira.fromEarlier":"Vindo de uma coluna anterior","settings.jira.fromLater":"Vindo de uma coluna posterior (devolvido)","settings.jira.fromStatuses":"Vindo de {statuses}","settings.jira.originLabel":"Quando o card vem de","settings.jira.originStatusesPlaceholder":"Escolha os status","settings.jira.originHelp":"Um movimento inicia uma regra só: a que nomeia de onde o card veio, senão a da direção dele no board, senão a de qualquer coluna. De onde ele veio é o último status em que ficou parado, não um pelo qual foi arrastado.","settings.jira.createRule":"Criar automação","settings.jira.cancelRule":"Cancelar","settings.jira.noColumnsYet":"Este board ainda não tem colunas","settings.jira.columnsFailed":"Não foi possível carregar as colunas do board","settings.jira.testRunLabel":"Rodar na mão","settings.jira.testRunDescription":"Rode uma automação numa issue ou num lote agora, sem ativar a integração, para ver o que o prompt faz.","settings.jira.issueKeysPlaceholder":"ABC-123 ou um link, um por linha ou separados por vírgula","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"não consegui ler: {items}","settings.jira.testRunIssueAriaLabel":"Chave ou link da issue do Jira","settings.jira.testRun":"Rodar agente {count}","settings.jira.testRunRunning":"Iniciando…","settings.jira.testRunStarted":"Iniciado em","settings.jira.testRunFailed":"Não foi possível iniciar o run","settings.jira.testRunHelp":"Este é um run de verdade: o agente lê a issue real, comenta nela e pode movê-la. Rodar de novo interrompe o run que ainda estiver trabalhando nessa issue, e uma issue com um pull request aberto linkado continua nele.","settings.jira.testRunAutomation":"Automação a rodar","settings.jira.testRunNoAutomations":"Adicione uma automação acima primeiro: rodar à mão dispara uma delas.","settings.jira.together":"Um run só para todas, e o agente trabalha nas issues como um lote","settings.jira.togetherStarted":"Iniciado um run em","settings.jira.testRunWatch":"Ver os runs no Monitor","settings.syncedRepos.addRepo":"Adicionar repo","settings.syncedRepos.cancel":"Cancelar","settings.syncedRepos.create":"Criar","settings.syncedRepos.creating":"Criando…","settings.syncedRepos.created":'Sincronização criada — sincronizando em "{volume}" em segundo plano',"settings.syncedRepos.emptyTitle":"Nenhum repo sincronizado ainda","settings.syncedRepos.emptyDescription":"Escolha um repositório e ele aparecerá na biblioteca como uma pasta somente leitura, sincronizada automaticamente.","settings.syncedRepos.failed":"Algo deu errado","settings.syncedRepos.nameDialogDescription":"{repo} será mantido em sincronia nesta pasta somente leitura da biblioteca.","settings.syncedRepos.nameDialogTitle":"Nomeie a pasta sincronizada","settings.syncedRepos.namePlaceholder":"nome-da-pasta","settings.syncedRepos.pickerTitle":"Sincronizar um repo na biblioteca","settings.syncedRepos.remove":"Parar de sincronizar","settings.syncedRepos.removeDescription":"Os arquivos já sincronizados continuam na biblioteca; só a sincronização para. Você pode apagar a pasta depois, se não precisar dela.","settings.syncedRepos.removeTitle":'Parar de sincronizar "{volume}"?',"settings.syncedRepos.removed":"Sincronização removida","settings.syncedRepos.rowSubtitle":"Pasta da biblioteca: {volume}","settings.repositories.accountsTitle":"Contas conectadas","settings.repositories.accountsEmptyTitle":"Nenhuma conta conectada","settings.repositories.accountsEmptyDescription":"Conecte uma conta do GitHub, GitLab ou Bitbucket para navegar pelos seus repositórios e vincular os privados.","settings.repositories.noProvidersTitle":"Nenhum provedor git configurado","settings.repositories.noProvidersDescription":"Entrar com GitHub, GitLab ou Bitbucket depende de credenciais do provedor que um administrador configura nesta instalação. Você ainda pode conectar uma conta do GitLab ou do Bitbucket com um token de acesso.","settings.repositories.githubUnavailable":"Peça a um administrador para habilitar o GitHub.","settings.repositories.connectGithubCli":"Conectar com GitHub CLI","settings.repositories.githubCliHint":"Use seu login local do gh para buscar e importar repositórios.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Adicionar conta ou organização do GitHub","settings.repositories.githubSelectTitle":"Selecionar repositórios","settings.repositories.githubSelectedShareHint":"Membros com permissão de repositórios em {organization} poderão usar os repositórios que você autorizar aqui.","settings.repositories.githubPreselectedHint":"Os repositórios já autorizados ou vinculados estão selecionados quando você tem permissão para autorizá-los. Revise a seleção antes de salvar.","settings.repositories.githubReplaceHint":"Salvar substitui o acesso atual desta conta no workspace pela sua seleção. Repositórios removidos deixam de receber novas credenciais. Credenciais já emitidas podem funcionar até expirarem.","settings.repositories.githubFilterRepos":"Buscar repositórios","settings.repositories.githubNoRepos":"Nenhum repositório disponível para autorizar.","settings.repositories.githubSearchNoMatches":"Nenhum repositório corresponde à sua busca.","settings.repositories.githubAccessChanged":"Alguém alterou o acesso desta conta. Volte e revise os repositórios antes de salvar.","settings.repositories.githubMoreRepos":"Carregar mais repositórios","settings.repositories.githubBack":"Voltar às contas","settings.repositories.githubSaveOneRepo":"Autorizar 1 repositório","settings.repositories.githubSaveRepos":"Autorizar {count} repositórios","settings.repositories.githubEditWorkspaceAccess":"Alterar acesso do workspace","settings.repositories.githubShareHint":"Escolha sua conta pessoal do GitHub, ou uma organização onde você administra repositórios, para compartilhar com {organization}. Membros com permissão para repositórios no Studio podem usar esta conexão.","settings.repositories.githubInstallHint":"Ainda não há nada seu para compartilhar. Instale o app do GitHub na sua conta pessoal ou nos repositórios que você administra, ou peça ao dono da conta para conectá-la ao Studio. Um repositório em que você só colabora não é seu para compartilhar.","settings.repositories.installGithubAccount":"Instalar em outra conta","settings.repositories.checkGithubAccess":"Verificar acesso","settings.repositories.switchGithubUser":"Usar outro login do GitHub","settings.repositories.githubReturnHint":"O GitHub abre em uma nova aba. Depois de salvar o acesso, volte aqui para escolher a conta. Se ela não aparecer, use Verificar acesso.","settings.repositories.githubRefreshFailed":"Não foi possível verificar o acesso no GitHub. Tente novamente sem sair desta janela.","settings.repositories.githubConnected":"Conta do GitHub conectada","settings.repositories.manageRepositoryAccess":"Gerenciar acesso aos repositórios","settings.repositories.connectedBy":"Conectado por {name}","settings.repositories.connectedByUnknown":"Conectado por um usuário indisponível","settings.repositories.dismiss":"Dispensar","settings.repositories.tryAgain":"Tentar novamente","settings.repositories.oauthNoInstallations":"A autorização no GitHub foi concluída, mas nenhuma instalação do app está disponível para este usuário. Adicione uma conta ou organização do GitHub para concluir a configuração.","settings.repositories.oauthDenied":"A autorização foi cancelada. Conecte novamente quando quiser.","settings.repositories.oauthExpired":"Esta tentativa de conexão expirou ou pertence a outra sessão. Comece novamente por esta página.","settings.repositories.oauthNotConfigured":"Este provedor git não está configurado. Peça a um administrador para habilitá-lo.","settings.repositories.oauthFailed":"Não foi possível conectar sua conta git. Tente novamente. Se o erro persistir, entre em contato com um administrador.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Token pessoal","settings.repositories.accessUnavailable":"Acesso indisponível","settings.repositories.accessUnavailableHint":"O Studio não consegue acessar esta conta. Autorize-a novamente para continuar usando seus repositórios.","settings.repositories.githubReconnect":"Reconectar GitHub","settings.repositories.authorizeWorkspaceAccess":"Autorizar acesso do workspace","settings.repositories.selectRepositories":"Selecionar repositórios","settings.repositories.authorizationRequired":"Falta autorizar este workspace","settings.repositories.authorizationRequiredHint":"O Studio tem uma instalação do GitHub App registrada para {login}, mas este workspace ainda não tem autorização para usá-la. Entre no GitHub e escolha os repositórios que quer compartilhar com este workspace.","settings.repositories.accessRevoked":"Acesso revogado","settings.repositories.accessRevokedHint":"O acesso a esta conta foi revogado. Autorize-a novamente para restaurar o acesso aos repositórios.","settings.repositories.noAuthorizedRepositories":"Nenhum repositório autorizado","settings.repositories.noAuthorizedRepositoriesHint":"Este workspace não tem repositórios autorizados por {login}. Selecione quais repositórios ele pode usar.","settings.repositories.providerUnavailable":"Provedor indisponível","settings.repositories.providerUnavailableHint":"Esta instalação não está configurada para acessar esta conta. Peça a um administrador para habilitar o provedor.","settings.repositories.installationMissing":"Conexão com o GitHub incompleta","settings.repositories.installationMissingHint":"O Studio não tem uma instalação do GitHub App vinculada a esta conta. Conecte o GitHub e selecione a instalação de {login}.","settings.repositories.githubReconnectUnavailable":"A reconexão com o GitHub não está disponível nesta instalação. Peça a um administrador para configurar o GitHub App e depois autorize o acesso do workspace.","settings.repositories.disconnect":"Desconectar","settings.repositories.disconnectTitle":'Desconectar "{login}"?',"settings.repositories.disconnectDescription":"Os repositórios vinculados por esta conta continuam na lista, mas viram clones públicos anônimos — os privados deixarão de funcionar.","settings.repositories.disconnected":"Conta desconectada","settings.repositories.tokenDialogTitle":"Conectar o GitLab com um token","settings.repositories.tokenDialogDescription":"Use um token de acesso pessoal, de projeto ou de grupo com o escopo api — os agentes usam ele para dar push e abrir merge requests. É guardado criptografado e não é exibido novamente.","settings.repositories.tokenDialogTitleBitbucket":"Conectar o Bitbucket com um token","settings.repositories.tokenDialogDescriptionBitbucket":"Use um token de acesso de workspace, de projeto ou de repositório com permissão de escrita em repositórios e pull requests — os agentes usam ele para dar push e abrir pull requests. Somente Bitbucket Cloud. É guardado criptografado e não é exibido novamente.","settings.repositories.addAccount":"Adicionar conta","settings.repositories.addAccountTitle":"Conectar uma conta git","settings.repositories.addAccountDescription":"Escolha onde seus repositórios ficam.","settings.repositories.chooseMethodDescription":"Escolha como o Studio deve se conectar a este provedor.","settings.repositories.back":"Voltar","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Instale o app do Studio e escolha os repositórios a compartilhar.","settings.repositories.providerTokenOrOauthHint":"Conecte com um token de acesso, ou autorize via OAuth.","settings.repositories.providerTokenOnlyHint":"Conecte com um token de acesso.","settings.repositories.methodToken":"Usar um token de acesso","settings.repositories.methodTokenHint":"O provedor limita o token aos repositórios para os quais você o criou.","settings.repositories.methodOauth":"Autorizar via OAuth","settings.repositories.methodOauthHint":"Entre e autorize o Studio no seu navegador.","settings.repositories.methodOauthScopeNote":"Alcança todos os repositórios que esta conta enxerga; não dá para restringir a um subconjunto.","settings.repositories.methodApp":"Instalar o app do GitHub","settings.repositories.methodAppHint":"Escolha exatamente quais repositórios o Studio pode usar.","settings.repositories.tokenStepsTitle":"Como criar o token","settings.repositories.openProvider":"Abrir provedor","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"sua-workspace","settings.repositories.tokenWorkspaceHint":"O slug na URL do Bitbucket. Um token de acesso não consegue dizer a que workspace pertence, então o Studio o verifica contra esta.","settings.repositories.tokenProjectLabel":"Caminho do projeto (opcional)","settings.repositories.tokenProjectPlaceholder":"grupo/projeto","settings.repositories.tokenProjectHint":"Preencha para ir direto à página de tokens desse projeto.","settings.repositories.bitbucketStep1":"Abra o repositório que o Studio deve alcançar, ou o projeto que os agrupa.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Conceda Repositories read e write, e Pull requests read e write.","settings.repositories.bitbucketStep4":"Cole o token abaixo. O Bitbucket o mantém restrito ao escopo que você deu.","settings.repositories.gitlabStep1":"Abra o projeto ou grupo que o Studio deve alcançar.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Papel: Developer ou acima. Escopo: api.","settings.repositories.gitlabStep4":"Cole o token abaixo. Um token de projeto só alcança aquele projeto.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Token de acesso","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Conectar","settings.repositories.connecting":"Conectando…","settings.repositories.connected":'Conectado como "{login}"',"settings.repositories.reposTitle":"Repositórios","settings.repositories.reposEmptyTitle":"Nenhum repositório ainda","settings.repositories.reposEmptyDescription":"Escolha um repositório de uma conta conectada do GitHub, GitLab ou Bitbucket.","settings.repositories.addRepository":"Adicionar repositório","settings.repositories.moreActions":"Mais ações","settings.repositories.repoAccountNeedsAttention":"Conectado por {login}, que precisa de atenção em Contas conectadas.","settings.repositories.unlink":"Desvincular","settings.repositories.unlinkTitle":'Desvincular "{path}"?',"settings.repositories.unlinkDescription":"O repositório é removido desta organização. Nada é apagado no provedor.","settings.repositories.unlinked":"Repositório desvinculado","settings.repositories.openInProvider":"Abrir repositório","settings.repositories.visibilityPublic":"Público","settings.repositories.visibilityPrivate":"Privado","settings.repositories.visibilityInternal":"Interno","settings.repositories.anonymousClone":"Clone anônimo","settings.repositories.sandboxImageLabel":"Imagem do sandbox","settings.repositories.sandboxImageDefault":"Imagem padrão","settings.repositories.sandboxImageAndroid":"Emulador Android","settings.repositories.sandboxImageError":"Não foi possível alterar a imagem do sandbox","settings.repositories.monitorDeploys":"Mostrar deploys no Monitor","settings.repositories.monitorDeploysError":"Não foi possível alterar se o Monitor mostra este repositório","settings.repositories.addDialogTitle":"Adicionar repositório","settings.repositories.cancel":"Cancelar","settings.repositories.failed":"Algo deu errado","settings.nav.connections":"Conexões","settings.nav.automations":"Automações","settings.nav.skills":"Skills","settings.nav.memory":"Memória","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.security":"Segurança","settings.nav.profile":"Perfil e preferências","settings.nav.backToHome":"Voltar para o início","settings.nav.signOut":"Sair","settings.profile.avatar":"Avatar","settings.profile.displayName":"Nome de exibição","settings.profile.displayNamePlaceholder":"Seu nome","settings.profile.email":"E-mail","settings.profile.avatarUpload":"Trocar sua foto","settings.profile.avatarDialogTitle":"Foto de perfil","settings.profile.avatarDialogDescription":"Arraste para reposicionar e role para dar zoom. Só a foto em uso fica visível para outras pessoas.","settings.profile.avatarDeleted":"Foto excluída","settings.profile.avatarRemove":"Remover","settings.profile.avatarRemoved":"Foto removida","settings.profile.avatarUpdated":"Foto atualizada","settings.profile.avatarUploadError":"Falha ao atualizar a foto","settings.profile.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.passkeys.title":"Passkeys","settings.passkeys.description":"Entre com sua digital, rosto ou bloqueio de tela do dispositivo em vez de um código por e-mail.","settings.passkeys.add":"Adicionar passkey","settings.passkeys.added":"Passkey adicionada","settings.passkeys.addError":"Falha ao adicionar passkey","settings.passkeys.alreadyRegistered":"Este dispositivo já tem uma passkey para sua conta","settings.passkeys.empty":"Nenhuma passkey ainda.","settings.passkeys.unsupported":"Este navegador não suporta passkeys.","settings.passkeys.unnamed":"Passkey","settings.passkeys.createdAt":"Adicionada em {date}","settings.passkeys.delete":"Remover passkey","settings.passkeys.deleted":"Passkey removida","settings.passkeys.deleteError":"Falha ao remover passkey","settings.passkeys.deleteTitle":"Remover {name}?","settings.passkeys.deleteDescription":"Você não vai mais conseguir entrar com esta passkey. A credencial continua no seu dispositivo até você apagá-la lá.","settings.passkeys.cancel":"Cancelar","settings.preferences.title":"Preferências","settings.plan.sectionTitle":"Planejar","settings.plan.pageTitle":"Página Planejar","settings.plan.pageDescription":'Mostra o objetivo da loja e transforma ideias em business cases na página Planejar. Desligada, a página continua como "em breve".',"settings.blog.sectionTitle":"Blog","settings.blogView.title":"View Blog","settings.blogView.description":"O Blog como uma view própria do projeto, com cada post ao lado de como o site o mostra. Desligado, o blog é editado na aba Conteúdo do Site Editor.","settings.blog.aiTitle":"Blog com IA","settings.blog.aiDescription":"Contexto da marca, campanhas e geração de posts. Desligado, os posts são escritos à mão.","settings.blogBlocks.title":"Esconder os blocos de blog padrão","settings.blogBlocks.description":"Só os blocos de post do próprio site aparecem ao escrever ou importar um post. Posts existentes não mudam.","settings.blocksEditor.title":"Novo editor de blocos","settings.blocksEditor.description":"Vale para todos desta organização. O restante do Studio sempre usa o novo layout.","settings.siteAppsInstall.title":"Instalar apps do catálogo","settings.siteAppsInstall.description":"Permite que a aba Apps instale um app no site: escreve o módulo do app e o registro dele na branch, adiciona a dependência e reinicia o dev server da sandbox para o formulário de configuração aparecer. Com isso desligado o catálogo continua navegável e nada é instalável.","settings.multiAppPreview.title":"Ver vários apps de um monorepo","settings.multiAppPreview.description":"Adicione outros apps do repositório de um projeto e veja lado a lado no preview. Cada um roda o próprio servidor de desenvolvimento na sandbox.","settings.cmsAutoCommit.title":"Commitar cada salvamento na branch","settings.cmsAutoCommit.description":"No Fast Preview, cada salvamento vira um commit na branch em edição. Desligado, os salvamentos ficam no Studio: o editor e o preview mostram as mudanças, mas elas só chegam na branch quando alguém publica ou envia para revisão, em um único commit. Até lá elas não estão no repositório, então um pull request, um deploy preview ou quem trabalha na branch fora do Studio não as vê.","settings.preferences.theme":"Tema","settings.preferences.themeLight":"Tema claro","settings.preferences.themeDark":"Tema escuro","settings.preferences.themeSystem":"Tema do sistema","settings.preferences.language":"Idioma","settings.preferences.notifications":"Notificações","settings.preferences.notificationsDescription":"Notificações do navegador para eventos importantes.","settings.preferences.notificationsDenied":"Notificações negadas. Habilite-as nas configurações do seu navegador.","settings.preferences.sounds":"Sons","settings.preferences.soundsDescription":"Sons para ações dos agentes e notificações.","settings.preferences.soundsPreview":"Ouvir som de notificação","settings.preferences.toolApproval":"Aprovação de ferramentas","settings.preferences.toolApprovalDescription":"Quais ferramentas precisam da sua aprovação antes de rodar.","settings.preferences.toolApprovalAsk":"Perguntar antes de editar","settings.preferences.toolApprovalAskShort":"Perguntar","settings.preferences.toolApprovalAskDescription":"Aprova automaticamente ferramentas somente leitura","settings.preferences.toolApprovalAuto":"Aprovar automaticamente","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Executa tudo sem aprovação","settings.automations.browseAgentsButton":"Procurar projetos","settings.automations.emptyDescription":"As automações são criadas por agente. Abra um agente e adicione uma na aba de Automações.","settings.automations.emptyTitle":"Nenhuma automação ainda","settings.automations.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"settings.automations.noResultsTitle":"Nenhuma automação encontrada","settings.automations.pageTitle":"Automações","settings.automations.searchPlaceholder":"Pesquisar automações...","settings.skills.importButton":"Importar skill","settings.skills.importing":"Importando…","settings.skills.importSuccess":'"{name}" importada',"settings.skills.importError":"Falha ao importar a skill","settings.skills.importMissingSkillMd":"Essa pasta não tem um SKILL.md na raiz. Selecione a pasta da própria skill.","settings.skills.importNeedsFolder":"Selecione uma pasta, não arquivos individuais — este navegador pode não suportar upload de pastas.","settings.skills.searchPlaceholder":"Pesquisar skills...","settings.skills.noDescription":"Sem descrição","settings.skills.filterAll":"Todas","settings.skills.emptyTitle":"Nenhuma skill ainda","settings.skills.emptyDescription":"Importe uma pasta com um SKILL.md para dar aos seus agentes instruções reutilizáveis que eles podem carregar sob demanda.","settings.skills.noResultsTitle":"Nenhuma skill encontrada","settings.skills.noResultsDescription":'Nenhuma skill corresponde a "{search}"',"settings.skills.cancel":"Cancelar","settings.skills.deleteButton":"Excluir","settings.skills.deleteDialogTitle":"Excluir esta skill?","settings.skills.deleteDialogDescription":'Isso remove "{name}" e seus arquivos. Essa ação não pode ser desfeita.',"settings.skills.deleteSuccess":"Skill excluída","settings.skills.deleteError":"Falha ao excluir a skill","settings.skills.importTooManyFiles":"Essa pasta tem {count} arquivos (limite {max}). Importe uma pasta com apenas os arquivos da skill.","settings.skills.importSlugTaken":'Já existe uma skill chamada "{slug}". Exclua-a antes de reimportar.',"settings.skills.errorTitle":"Não foi possível carregar as skills","settings.skills.errorDescription":"O catálogo de skills não pôde ser carregado. Você pode não ter acesso aos arquivos desta organização.","settings.skills.retry":"Tentar novamente","settings.memory.tabOrg":"Organização","settings.memory.tabUser":"Só você","settings.memory.orgHeading":"Compartilhada com todo mundo em {org}","settings.memory.userHeading":"Sua memória pessoal","settings.memory.orgPlaceholder":"Fatos que todos os chats devem saber. Por exemplo: a gente sobe na quinta, preços em BRL, o tom da marca é informal.","settings.memory.userPlaceholder":"Coisas que o Deco deve lembrar sobre você. Por exemplo: responda em português, cuido do checkout, resumos curtos.","settings.memory.saving":"Salvando…","settings.memory.saved":"Salvo","settings.memory.notSaved":"Não salvo","settings.memory.saveError":"Não deu para salvar. Continue digitando para tentar de novo.","settings.memory.readOnly":"Você pode ler esta memória, mas não alterá-la.","settings.memory.updated":"Atualizada {time}","settings.memory.notStarted":"Nada lembrado ainda","settings.memory.conflict":"Esta memória mudou enquanto você editava.","settings.memory.loadLatest":"Carregar a mais recente","settings.memory.keepMine":"Manter a minha","settings.memory.budget":"{percent}% do que os chats leem","settings.memory.budgetOver":"Os chats só leem o começo","settings.memory.budgetHint":"Os chats carregam os primeiros 16.000 caracteres. Mantenha isto como um índice curto e leve os detalhes para notas separadas.","settings.memory.errorTitle":"Não deu para carregar a memória","settings.memory.errorDescription":"Não deu para carregar os arquivos da organização. Talvez você não tenha acesso a eles.","settings.memory.retry":"Tentar novamente","settings.buckets.accessKeyIdLabel":"ID de chave de acesso","settings.buckets.addBucket":"Adicionar bucket","settings.buckets.addBucketButton":"Adicionar bucket","settings.buckets.addS3Bucket":"Adicionar bucket S3","settings.buckets.addingButton":"Adicionando…","settings.buckets.apiKeyHelperText":"Enviado como header x-api-key em cada chamada de atualização.","settings.buckets.apiKeyLabel":"Chave API","settings.buckets.bucketAdded":'Bucket "{name}" adicionado',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"meu-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removido',"settings.buckets.bucketsConfigured":"{count} bucket(s) configurado(s)","settings.buckets.cancelButton":"Cancelar","settings.buckets.credentialsEncryptedDescription":"As credenciais são criptografadas em repouso e nunca retornadas pela API. Para Cloudflare R2, Google Cloud Storage ou MinIO, defina um endpoint personalizado.","settings.buckets.credentialsLabel":"Credenciais","settings.buckets.deleteButton":"Deletar {name}","settings.buckets.descriptionLabel":"Descrição (opcional)","settings.buckets.descriptionPlaceholder":"Para que este bucket é usado?","settings.buckets.emptyStateDescription":"Adicione um bucket compatível com S3 (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). As chaves de acesso são criptografadas em repouso e nunca retornadas pela API.","settings.buckets.endpointHelperText":"Obrigatório para provedores que não são AWS (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (opcional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Falha ao adicionar bucket","settings.buckets.failedToLoadConfigs":"Falha ao carregar configurações de arquivo: {error}","settings.buckets.failedToLoadConfigsFallback":"Falha ao carregar configurações de arquivo","settings.buckets.failedToRemoveBucket":"Falha ao remover bucket","settings.buckets.forcePathStyleHelperText":"Obrigatório para Google Cloud Storage e a maioria das configurações do MinIO.","settings.buckets.forcePathStyleLabel":"Forçar URLs path-style","settings.buckets.managed":"Gerenciado","settings.buckets.nameHelperText":"Letras, dígitos, underscore, ponto, hífen. Único dentro da organização.","settings.buckets.nameLabel":"Nome","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"Nenhum bucket ainda","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefixo: {prefix}","settings.buckets.prefixHelperText":"Todas as chaves de objeto são escritas sob este prefixo. Útil para buckets multi-tenant ou credenciais escopo de um sub-path. Uma barra à direita é adicionada automaticamente.","settings.buckets.prefixLabel":"Prefixo de chave (opcional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"público: {url}","settings.buckets.publicUrlBaseHelperText":"Host usado para construir URLs públicas retornadas pelo seletor (domínio dev do R2, CDN, host personalizado). Deixe em branco para usar o host S3 do bucket (padrão da AWS).","settings.buckets.publicUrlBaseLabel":"Base de URL pública (opcional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev ou https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint para o qual é feito POST (com a chave API abaixo) para fornecer credenciais temporárias. Deve retornar accessKeyId, secretAccessKey, sessionToken e expiration.","settings.buckets.refreshUrlLabel":"URL de atualização","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Região","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"Isto exclui as credenciais criptografadas para {name}. O bucket em si não é afetado. Isto não pode ser desfeito.","settings.buckets.removeBucketTitle":"Remover configuração do bucket?","settings.buckets.removeButton":"Remover","settings.buckets.removingButton":"Removendo…","settings.buckets.secretAccessKeyLabel":"Chave de acesso secreta","settings.buckets.staticKeyHelperText":"Um ID de chave de acesso de longa duração e segredo, usados conforme fornecidos.","settings.buckets.staticKeyOption":"Par de chave estática (longa duração)","settings.buckets.stsSessionHelperText":"Armazena apenas um endpoint de atualização + chave API; credenciais de curta duração são buscadas sob demanda e atualizadas automaticamente.","settings.buckets.temporarySessionOption":"Sessão temporária (STS, auto-atualizada)","settings.connectClients.anyOtherClientDescription":"Qualquer outro cliente MCP: cole este endpoint nele para dar a esse runtime toda conexão habilitada nesta org, governada pelas suas regras do Decopilot.","settings.connectClients.apiKeyOption":"Chave API","settings.connectClients.copy":"Copiar","settings.connectClients.doneHideKey":"Concluído, ocultar chave","settings.connectClients.generateKey":"Gerar chave","settings.connectClients.generateKeyFor":"Gerar chave para {client}","settings.connectClients.generatingKey":"Gerando…","settings.connectClients.headlessKeyHint":"Para CI, Conductor, ou agentes headless que não conseguem abrir um navegador.","settings.connectClients.installMethod":"Método de instalação","settings.connectClients.keyCreated":"Chave criada","settings.connectClients.mcpDescription":"Para clientes sem shell. Compartilhar arquivos da Library e mandar mensagem para agentes exige a CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"Detalhes de descoberta OAuth","settings.connectClients.oauthKeyHint":"Recomendado para o seu laptop. Um navegador abre no primeiro uso para você entrar, sem token para gerenciar.","settings.connectClients.oauthMetadataHint":"Os metadados do OAuth 2.1 Protected Resource são anunciados no 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Outro","settings.connectClients.pageTitle":"Conectar","settings.connectClients.recommended":"Recomendado","settings.connectClients.skillDescription":"Instale a skill do Studio e faça login uma vez. Depois, seu agente usa os chats, agentes, tarefas e arquivos da Library desta org pela CLI decocms.","settings.connectClients.skillInstallStep":"1. Instale a skill","settings.connectClients.skillLoginHint":"Um navegador abre para aprovar o login. A sessão se renova sozinha.","settings.connectClients.skillLoginStep":"2. Faça login","settings.connectClients.skillNeedsBun":"Precisa do Bun.","settings.connectClients.skillOtherAgentsHint":"O instalador pergunta em quais agentes adicionar a skill.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Conectar seu agente","settings.connectClients.snippetOneTimeWarning":"Copie este snippet agora. A chave não será exibida de novo, e você pode revogá-la na lista abaixo.","settings.connectForms.apiKeyField":"Chave API","settings.connectForms.apiKeyRequired":"A chave API é obrigatória","settings.connectForms.baseUrlField":"URL Base","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.baseUrlRequired":"A URL base é obrigatória","settings.connectForms.cancel":"Cancelar","settings.connectForms.connectionSavedSuccess":"Conexão salva com sucesso","settings.connectForms.defaultKeyLabel":"Chave pessoal","settings.connectForms.failedSaveConnection":"Falha ao salvar conexão: {error}","settings.connectForms.failedSaveKey":"Falha ao salvar chave: {error}","settings.connectForms.hideApiKey":"Ocultar chave API","settings.connectForms.keySavedSuccess":"Chave salva com sucesso","settings.connectForms.labelField":"Rótulo","settings.connectForms.labelPlaceholder":"Ex: Chave pessoal","settings.connectForms.labelPlaceholderOpenAiCompatible":"Ex: Meu servidor compatível com OpenAI","settings.connectForms.labelPlaceholderPreset":"Ex: {name} prod, {name} dev","settings.connectForms.optional":"opcional","settings.connectForms.recommended":"recomendado","settings.connectForms.saveConnection":"Salvar Conexão","settings.connectForms.saveKey":"Salvar Chave","settings.connectForms.saving":"Salvando...","settings.connectForms.showApiKey":"Mostrar chave API","settings.connectProviderDialog.backButton":"Voltar","settings.connectProviderDialog.backButtonLabel":"Voltar","settings.connectProviderDialog.connectionTimedOutMessage":"Conexão expirou","settings.connectProviderDialog.defaultProviderName":"Provedor","settings.connectProviderDialog.defaultTitle":"Adicionar chave de API","settings.connectProviderDialog.oauthFailedMessage":"Falha na conexão OAuth: {error}","settings.connectProviderDialog.oauthPendingMessage":"Autorize a conexão na janela de pop-up. Este chat será fechado quando a autorização for concluída.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.provisionPendingMessage":"Conectando…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.retryButton":"Tentar novamente","settings.connectProviderDialog.securityCheckFailedMessage":"Falha na verificação de segurança: Token de estado não corresponde","settings.connectProviderDialog.startOAuthFailedMessage":"Falha ao iniciar OAuth: {error}","settings.agentTools.chatHarnessCodexTitle":"Usar Codex em novos chats no sandbox","settings.agentTools.chatHarnessCodexDescription":"Executa novos chats no sandbox com Codex. Vincule sua assinatura do ChatGPT em Provedores de IA ou conecte um provedor da API Responses. Os chats existentes mantêm seu runtime.","settings.codexSubscription.setupHeading":"Conecte o Codex","settings.codexSubscription.setupDescription":"Vincule sua assinatura do ChatGPT em Configurações → Provedores de IA ou conecte um provedor com um endpoint da API Responses da OpenAI.","settings.codexSubscription.connect":"Vincular","settings.codexSubscription.connected":"Assinatura do ChatGPT vinculada","settings.codexSubscription.disconnect":"Desconectar","settings.codexSubscription.disconnected":"Assinatura do ChatGPT desconectada","settings.codexSubscription.howTo":"Execute este comando na sua máquina, entre com o ChatGPT e cole o conteúdo de ~/.codex/auth.json:","settings.codexSubscription.title":"ChatGPT para Codex","settings.codexSubscription.tokenPlaceholder":"Cole o conteúdo de auth.json","settings.claudeSubscription.connect":"Vincular","settings.claudeSubscription.connected":"Assinatura Claude conectada","settings.claudeSubscription.disconnect":"Desconectar","settings.claudeSubscription.disconnected":"Assinatura Claude desconectada","settings.claudeSubscription.howTo":"Gere um token na sua própria máquina com","settings.claudeSubscription.title":"Claude Pro ou Max","settings.claudeSubscription.tokenPlaceholder":"Cole seu token","settings.githubCopilot.connect":"Vincular","settings.githubCopilot.connected":"GitHub Copilot conectado","settings.githubCopilot.disconnect":"Desconectar","settings.githubCopilot.disconnected":"GitHub Copilot desconectado","settings.githubCopilot.howTo":"Crie um token fine-grained do GitHub com a permissão Copilot Requests","settings.githubCopilot.sharedBy":"Você está usando o plano GitHub Copilot da organização, compartilhado por {name}.","settings.githubCopilot.ownPlanUsed":"Suas execuções usam o seu próprio plano. O plano compartilhado por {name} só vale para quem não vinculou um.","settings.githubCopilot.shareTitle":"Compartilhar com a org","settings.githubCopilot.shareDescription":"O compartilhamento só vale para os membros desta organização que não vincularam o próprio plano GitHub Copilot.","settings.githubCopilot.shareTaken":"{name} já compartilha um plano. Para compartilhar o seu, peça que {name} pare de compartilhar primeiro.","settings.githubCopilot.title":"GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Cole seu token github_pat_…","settings.ownAccounts.more":"Mais ações","settings.providerKeyRow.edit":"Editar","settings.ownAccounts.title":"Suas contas","settings.ownAccounts.cancel":"Cancelar","settings.ownAccounts.addApiKey":"Adicionar chave de API","settings.ownAccounts.linked":"Vinculado","settings.ownAccounts.expired":"Expirado","settings.decoCreditsHero.add":"Adicionar","settings.decoCreditsHero.addCredits":"Adicionar créditos","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Saldo de crédito disponível","settings.decoCreditsHero.cancel":"Cancelar","settings.decoCreditsHero.cancelButton":"Cancelar","settings.decoCreditsHero.custom":"Personalizado","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Desconectar","settings.decoCreditsHero.disconnectButton":"Desconectar","settings.decoCreditsHero.disconnectDescription":"Isso removerá o Deco AI Gateway deste espaço de trabalho. Seu saldo de crédito é preservado e estará disponível se você se reconectar.","settings.decoCreditsHero.disconnectError":"Falha ao desconectar: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway desconectado","settings.decoCreditsHero.disconnectTitle":"Desconectar Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Atualizar saldo","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plano","settings.planUsage.loadFailed":"Não foi possível ler o plano desta organização.","settings.planUsage.retry":"Tentar novamente","settings.planUsage.aiUsage":"Uso de IA","settings.planUsage.usageUnavailable":"Indisponível","settings.planUsage.used":"usado","settings.plans.perMonth":"/ mês","settings.planUsage.periodHint":"Reinicia no começo de cada ciclo de cobrança.","settings.planUsage.noAiIncluded":"Sem uso de IA incluído.","settings.planUsage.included":"Incluído no plano","settings.planUsage.credits":"Créditos adicionados","settings.planUsage.creditsInUse":"Em uso","settings.planUsage.manageBilling":"Gerenciar cobrança","settings.planUsage.portalFailed":"Não foi possível abrir a cobrança: {message}","settings.planUsage.subscribe":"Assinar","settings.planUsage.changePlan":"Mudar de plano","settings.planUsage.changed":"Plano atualizado","settings.planUsage.changeFailed":"Não foi possível trocar o plano: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Chat superagent","settings.planUsage.feature.monitoring":"Analytics do site","settings.planUsage.feature.kanban":"Kanban agêntico","settings.planUsage.feature.model_choice":"Escolher o modelo","settings.planUsage.feature.credits":"Créditos extras","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Deco Score enriquecido","settings.plans.title":"Planos","settings.plans.loadFailed":"Não foi possível carregar os planos.","settings.plans.currentPlan":"Plano atual","settings.plans.firstMonthFree":"1º mês grátis","settings.plans.startTrial":"Começar teste grátis","settings.plans.custom.name":"Custom","settings.plans.custom.description":"Para grandes times com contrato próprio","settings.plans.custom.cta":"Fale com a gente","settings.plans.managed":"Seu plano: {plan}. Fale com a gente para mudá-lo.","settings.plans.invoice.cta":"Adicionar à minha fatura","settings.plans.invoice.confirm":"O plano {plan} será adicionado à sua próxima fatura. Mudar agora?","settings.plans.invoice.cancel":"Cancelar","settings.plans.invoice.switch":"Mudar de plano","settings.paywall.bullets.kanban.1":"Agentes que fazem o trabalho e movem os cards","settings.paywall.bullets.kanban.2":"Um board que o time inteiro compartilha","settings.paywall.bullets.kanban.3":"Colunas, tags e prioridades","settings.paywall.bullets.allowance.1":"Uma franquia mensal que reinicia","settings.paywall.bullets.allowance.2":"Compre créditos extras quando quiser","settings.paywall.bullets.allowance.3":"Sua mensagem fica no composer","settings.paywall.bullets.cms.1":"Edite conteúdo e layout","settings.paywall.bullets.cms.2":"Preview ao vivo enquanto edita","settings.paywall.bullets.cms.3":"Publique quando estiver do jeito certo","settings.paywall.bullets.monitoring.1":"Pageviews, visitantes e origens","settings.paywall.bullets.monitoring.2":"Taxa de cache, latência e erros","settings.paywall.bullets.monitoring.3":"Tráfego por país e dispositivo","settings.paywall.upgradeTitle":"{feature} vem com o {plan}","settings.paywall.upgradeDescription":"Libera para todo mundo na organização.","settings.paywall.description":"O plano desta organização não inclui {feature}. Troque de plano para liberar para todo mundo na org.","settings.paywall.seePlans":"Ver planos","settings.paywall.dismiss":"Agora não","settings.paywall.serverRefusedFeature":"Seu plano não inclui este recurso. Peça a um owner para fazer upgrade, ou veja os planos.","settings.paywall.serverRefusedBudget":"Esta organização usou todo o limite mensal de IA. O chat e as tarefas ficam pausados até fazer upgrade ou adicionar créditos.","settings.decoCreditsHero.topUpFailed":"Recarga falhou: {message}","settings.deleteOrganizationSection.cancel":"Cancelar","settings.deleteOrganizationSection.dangerZone":"Zona de risco","settings.deleteOrganizationSection.deleteButton":"Deletar","settings.deleteOrganizationSection.deleteOrganizationAction":"Deletar organização","settings.deleteOrganizationSection.deleteOrganizationDescription":"Apaga esta organização e todos os seus dados, para sempre.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Deletar organização?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Deletar organização","settings.deleteOrganizationSection.deleteWarning":"Isto irá deletar permanentemente todos os dados associados com {organizationName}. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleting":"Deletando…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Falha ao deletar organização","settings.deleteOrganizationSection.organizationDeleted":"Organização deletada","settings.deleteOrganizationSection.typeToConfirm":"Digite {organizationName} para confirmar:","settings.domainSettings.addDnsRecordInstruction":"Adicione o registro DNS abaixo e verifique.","settings.domainSettings.addDomain":"Adicionar domínio","settings.domainSettings.adding":"Adicionando…","settings.domainSettings.copied":"Copiado","settings.domainSettings.dnsInstructions":"Adicione este registro TXT no seu provedor de DNS e clique em Verificar:","settings.domainSettings.domainAdded":"Domínio adicionado","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domínio removido","settings.domainSettings.domainVerified":"Domínio verificado","settings.domainSettings.emailDomains":"Domínios de e-mail","settings.domainSettings.emailDomainsDescription":"Permita que pessoas com um domínio de e-mail correspondente descubram e se juntem a esta organização.","settings.domainSettings.failedAddDomain":"Falha ao adicionar domínio","settings.domainSettings.failedRemove":"Falha ao remover","settings.domainSettings.failedUpdate":"Falha ao atualizar","settings.domainSettings.failedVerify":"Falha ao verificar","settings.domainSettings.joinMode":"Modo de entrada","settings.domainSettings.joinModeAuto":"Entrada automática","settings.domainSettings.joinModeHelpAuto":"Qualquer pessoa com um e-mail @{domain} verificado entra automaticamente.","settings.domainSettings.joinModeHelpOff":"Não detectável — ninguém pode encontrar ou se juntar através deste domínio.","settings.domainSettings.joinModeHelpRequest":"Pessoas com um e-mail @{domain} verificado podem solicitar entrada; um administrador aprova.","settings.domainSettings.joinModeOff":"Desativado","settings.domainSettings.joinModeRequest":"Requer aprovação","settings.domainSettings.joinModeUpdated":"Modo de entrada atualizado","settings.domainSettings.pending":"Pendente","settings.domainSettings.remove":"Remover","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"Registro TXT não encontrado ainda — o DNS pode levar alguns minutos.","settings.domainSettings.value":"valor","settings.domainSettings.verified":"Verificado","settings.domainSettings.verify":"Verificar","settings.editProviderDialog.apiKey":"Chave de API","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Informe a chave de API novamente para confirmar a mudança da URL base","settings.editProviderDialog.baseUrl":"URL base","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancelar","settings.editProviderDialog.editTitle":"Editar {name}","settings.editProviderDialog.failedToUpdate":"Falha ao atualizar: {error}","settings.editProviderDialog.hideApiKey":"Ocultar chave de API","settings.editProviderDialog.label":"Rótulo","settings.editProviderDialog.labelPlaceholder":"p.ex. Chave pessoal","settings.editProviderDialog.labelRequired":"Rótulo é obrigatório","settings.editProviderDialog.leaveBlankHint":"deixe em branco para manter atual","settings.editProviderDialog.providerUpdated":"Provedor atualizado","settings.editProviderDialog.save":"Salvar","settings.editProviderDialog.saving":"Salvando...","settings.editProviderDialog.showApiKey":"Mostrar chave de API","settings.joinRequestsSection.approve":"Aprovar","settings.joinRequestsSection.approveFailed":"Falha ao aprovar","settings.joinRequestsSection.approved":"Solicitação aprovada","settings.joinRequestsSection.deny":"Recusar","settings.joinRequestsSection.denied":"Solicitação recusada","settings.joinRequestsSection.denyFailed":"Falha ao recusar","settings.joinRequestsSection.description":"Pessoas que solicitaram entrada por um domínio em modo de aprovação.","settings.joinRequestsSection.title":"Solicitações de entrada","settings.review.title":"Revisores e merge","settings.review.description":"O Reviewer roda no pull request de uma tarefa quando o card chega em Em Revisão.","settings.review.reviewerTitle":"Reviewer","settings.review.reviewerDescription":"Revisa o código com as skills de review do repositório, corrige o que encontra e testa a mudança no preview do deploy. Uma aprovação move o card para QA; o que não conseguir resolver volta para você.","settings.review.cheapReviewerModelTitle":"Rodar os revisores em um modelo mais barato","settings.review.cheapReviewerModelDescription":"Usa um modelo menor que o do Super Agent. Mais barato, talvez menos profundo.","settings.review.autoMergeTitle":"Auto-merge","settings.review.autoMergeDescription":"Mescla o pull request quando o card chega em Pronto para Deploy, sem esperar alguém clicar em Subir para produção.","settings.review.autoResolveConflictsTitle":"Resolver conflitos de merge automaticamente","settings.review.autoResolveConflictsDescription":"Quando um pull request em Pronto para Deploy conflita com a base, o Super Agent mescla a base e dá push. Segue o Auto-merge, a menos que você ajuste aqui.","settings.review.autoAssignReportTasksTitle":"Atribuir tarefas do Deco Score ao Super Agent","settings.review.autoAssignReportTasksDescription":"Tarefas criadas pelo Deco Score vão para o Super Agent em vez de ficarem sem responsável.","settings.review.updateError":"Não foi possível atualizar a configuração","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instruções","settings.taskPrompt.placeholder":"ex.: Use pnpm, nunca npm. Nunca edite arquivos em src/generated/.","settings.taskPrompt.save":"Salvar","settings.taskPrompt.saved":"System prompt salvo","settings.taskPrompt.failed":"Não foi possível salvar o system prompt","settings.taskPrompt.skillsLabel":"Skills em todas as colunas","settings.agentTools.title":"Ferramentas do agente","settings.agentTools.description":"O que os runs de agente de código alcançam além do repositório.","settings.agentTools.orgMcpsTitle":"Dar aos runs as conexões MCP desta organização","settings.agentTools.orgMcpsDescription":"O Super Agent e os revisores recebem todo MCP conectado. As ferramentas só carregam quando necessário, então mais conexões não ocupam o contexto.","settings.agentTools.orgMcpsPickTitle":"Conexões que os runs alcançam","settings.agentTools.orgMcpsPickDescription":"Desligue uma para deixá-la fora dos runs, por exemplo um MCP do tracker em que o run já reporta. Conexões novas começam ligadas.","settings.agentTools.orgMcpsPickAriaLabel":"Deixar os runs alcançarem {name}","settings.agentTools.orgMcpsPickEmpty":"Esta organização ainda não tem conexões MCP","settings.agentTools.orgMcpsPickFailed":"Não foi possível salvar quais conexões os runs alcançam","settings.agentTools.orgMcpsPickSearch":"Buscar conexões…","settings.agentTools.orgMcpsPickLoadFailed":"Não foi possível carregar as conexões MCP","settings.agentTools.orgMcpsPickEnableAll":"Ligar todas","settings.agentTools.orgMcpsPickDisableAll":"Desligar todas","settings.agentTools.orgMcpsPickNoMatch":"Nenhuma conexão corresponde a essa busca","settings.agentTools.orgMcpsPickSave":"Salvar","settings.agentTools.orgMcpsPickSaving":"Salvando…","settings.agentTools.orgMcpsPickDiscard":"Descartar","settings.agentTools.orgMcpsPickSaved":"Conexões que os runs alcançam salvas","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Rodar chats com o Claude Code em um sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Cada chat ganha um sandbox próprio em vez de rodar no Decopilot. A primeira mensagem espera o sandbox iniciar. Requer uma chave da Anthropic, OpenRouter ou do gateway de IA da deco, ou uma assinatura do Claude.","settings.agentTools.codingAgentsClaudeCodeTitle":"Rodar chats de Code Agent com o Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats em um agente importado do GitHub rodam no sandbox desse agente, junto do código. As respostas chegam de turno inteiro. Vale só para chats novos.","settings.orgRoleDetail.addMember":"Adicionar Membro","settings.orgRoleDetail.addMembersToGrantPermissions":"Adicione membros para conceder as permissões configuradas.","settings.orgRoleDetail.addMembersToRole":"Adicionar Membros ao Papel","settings.orgRoleDetail.addWithCount":"Adicionar ({count})","settings.orgRoleDetail.added":"Adicionado","settings.orgRoleDetail.allConnections":"Todas as conexões","settings.orgRoleDetail.allConnectionsDescription":"Todas as ferramentas de todas as conexões, inclusive as adicionadas depois. Desmarque uma conexão para deixá-la de fora.","settings.orgRoleDetail.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","settings.orgRoleDetail.allProjects":"Todos os projetos","settings.orgRoleDetail.allProjectsDescription":"Este papel pode acessar todos os projetos, inclusive os criados depois. Desmarque um projeto para escondê-lo deste papel, ou desative para escolher projetos específicos.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Permissões de papel integrado não podem ser alteradas","settings.orgRoleDetail.cancel":"Cancelar","settings.orgRoleDetail.createRole":"Criar função","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} ativados","settings.orgRoleDetail.failedToSaveRole":"Falha ao salvar papel","settings.orgRoleDetail.general":"Geral","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Conceder acesso completo a todos os recursos abaixo","settings.orgRoleDetail.loadingModels":"Carregando modelos...","settings.orgRoleDetail.mcpPermissions":"Permissões MCP","settings.orgRoleDetail.members":"Membros","settings.orgRoleDetail.membersUpdatedSuccessfully":"Membros atualizados com sucesso!","settings.orgRoleDetail.models":"Modelos","settings.orgRoleDetail.noLlmConnectionsConfigured":"Nenhuma conexão LLM configurada","settings.orgRoleDetail.noMembers":"Sem membros","settings.orgRoleDetail.noMembersAvailable":"Nenhum membro disponível","settings.orgRoleDetail.noMembersFound":"Nenhum membro encontrado","settings.orgRoleDetail.noMembersMatch":'Nenhum membro corresponde a "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'Nenhuma permissão corresponde a "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"Nenhum projeto disponível","settings.orgRoleDetail.noProjectsMatch":'Nenhum projeto corresponde a "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Permissões da Organização","settings.orgRoleDetail.owner":"Proprietário","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"A associação de proprietário não pode ser alterada","settings.orgRoleDetail.projects":"Projetos","settings.orgRoleDetail.removeMember":"Remover {name} do papel","settings.orgRoleDetail.roleCreatedSuccessfully":"Papel criado com sucesso!","settings.orgRoleDetail.roleName":"Nome do papel","settings.orgRoleDetail.roleNameIsRequired":"Nome do papel é obrigatório","settings.orgRoleDetail.roleUpdatedSuccessfully":"Papel atualizado com sucesso!","settings.orgRoleDetail.saveChanges":"Salvar Alterações","settings.orgRoleDetail.saving":"Salvando...","settings.orgRoleDetail.searchMcpServers":"Procurar servidores MCP...","settings.orgRoleDetail.searchMembers":"Procurar membros...","settings.orgRoleDetail.searchModels":"Procurar modelos...","settings.orgRoleDetail.searchPermissions":"Procurar permissões...","settings.orgRoleDetail.searchProjects":"Procurar projetos...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Selecione membros para adicionar a este papel.","settings.orgRoleDetail.showMore":"Mostrar mais ({remaining} restantes)","settings.orgRoleDetail.somethingWentWrong":"Algo deu errado","settings.orgRoleDetail.unknown":"Desconhecido","settings.orgRoleDetail.userIsDefaultRoleMessage":"Usuário é o papel padrão — membros não podem ser removidos dele; atribua outro papel para alterar seu acesso","settings.orgSso.cancelButton":"Cancelar","settings.orgSso.clientIdLabel":"ID do cliente","settings.orgSso.clientIdPlaceholder":"seu-id-cliente","settings.orgSso.clientSecretEditDescription":"Deixe em branco para manter atual","settings.orgSso.clientSecretLabel":"Segredo do cliente","settings.orgSso.clientSecretPlaceholder":"seu-segredo-cliente","settings.orgSso.clientSecretRequiredError":"O segredo do cliente é obrigatório na primeira configuração","settings.orgSso.configurationRemovedSuccess":"Configuração SSO removida","settings.orgSso.configurationSavedSuccess":"Configuração SSO salva","settings.orgSso.configureSsoButton":"Configurar SSO","settings.orgSso.discoveryEndpointDescription":"Opcional. Detectado pelo issuer quando vazio.","settings.orgSso.discoveryEndpointLabel":"Endpoint de descoberta","settings.orgSso.discoveryEndpointPlaceholder":"Detectado automaticamente do issuer","settings.orgSso.domainLabel":"Domínio","settings.orgSso.editConfigButton":"Editar configuração","settings.orgSso.emailDomainDescription":"O domínio de e-mail que este provedor cobre.","settings.orgSso.emailDomainLabel":"Domínio de e-mail","settings.orgSso.emailDomainPlaceholder":"empresa.com","settings.orgSso.enforceSsoDescription":"Exigir que todos os membros se autentiquem via SSO","settings.orgSso.enforceSsoLabel":"Forçar SSO","settings.orgSso.enforcementDisabledSuccess":"Aplicação de SSO desativada","settings.orgSso.enforcementEnabledSuccess":"Aplicação de SSO ativada","settings.orgSso.issuerUrlDescription":"A URL do issuer OIDC do seu provedor de identidade.","settings.orgSso.issuerUrlLabel":"URL do issuer","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Carregando...","settings.orgSso.providerLabel":"Provedor","settings.orgSso.removeButton":"Remover","settings.orgSso.removeConfirmation":"Tem certeza de que deseja remover a configuração SSO?","settings.orgSso.removeSsoConfigError":"Falha ao remover configuração SSO","settings.orgSso.requiredFieldsError":"Issuer, ID do Cliente e Domínio são obrigatórios","settings.orgSso.saveSsoConfigError":"Falha ao salvar configuração SSO","settings.orgSso.savingButton":"Salvando...","settings.orgSso.scopesLabel":"Escopos","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single sign-on","settings.orgSso.securityTitle":"Segurança","settings.orgSso.testSsoButton":"Testar SSO","settings.orgSso.toggleEnforcementError":"Falha ao alternar aplicação de SSO","settings.orgSso.updateButton":"Atualizar","settings.organizationForm.failedToReadImage":"Falha ao ler imagem","settings.organizationForm.failedToUpdateOrg":"Falha ao atualizar organização","settings.organizationForm.imageTooLarge":"Imagem deve ser menor que 2MB","settings.organizationForm.logoDescription":"Recomendado: 256×256px.","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Nome da organização","settings.organizationForm.nameRequired":"O nome é obrigatório","settings.organizationForm.nameTitle":"Nome","settings.organizationForm.nameTooLong":"O nome é muito longo","settings.organizationForm.updateSuccess":"Organização atualizada com sucesso","settings.organizationForm.uploadLogoLabel":"Enviar logo da organização","settings.organizationForm.urlDescription":"Usada em links e integrações de API, por isso não pode ser alterada.","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · adicionada há {time}","settings.providerKeyRow.cancel":"Cancelar","settings.providerKeyRow.claudeCode":"Claude Code","settings.providerKeyRow.codex":"Codex","settings.providerKeyRow.delete":"Excluir","settings.providerKeyRow.deleteApiKey":"Excluir chave de API","settings.providerKeyRow.failedToDeleteKey":"Falha ao excluir chave: {error}","settings.providerKeyRow.keyDeleted":"Chave excluída","settings.roles.allConnections":"Todas as conexões","settings.roles.basicAccess":"Acesso básico","settings.roles.builtIn":"Integrada","settings.roles.cancel":"Cancelar","settings.roles.columnMembers":"Membros","settings.roles.columnPermissions":"Permissões","settings.roles.columnRole":"Função","settings.roles.columnType":"Tipo","settings.roles.connectionCount":"{count} conexão(ões)","settings.roles.createRole":"Nova função","settings.roles.createRoleGetStarted":"Crie uma função para começar.","settings.roles.custom":"Personalizada","settings.roles.delete":"Excluir","settings.roles.deleteRoleConfirm":'Tem certeza que deseja excluir a função "{role}"? Esta ação não pode ser desfeita.',"settings.roles.deleteRoleTitle":"Excluir Função","settings.roles.deletedSuccessfully":"Função excluída com sucesso!","settings.roles.failedToLoad":"Falha ao carregar funções","settings.roles.fullAccess":"Acesso completo","settings.roles.fullOrgAccess":"Acesso completo da organização","settings.roles.noPermissions":"Sem permissões","settings.roles.noRoles":"Sem funções","settings.roles.noRolesFound":"Nenhuma função encontrada","settings.roles.noRolesMatchSearch":'Nenhuma função corresponde a "{search}"',"settings.roles.orgPermsCount":"{count} permissão(ões) da org","settings.roles.pageTitle":"Funções","settings.roles.roleAdmin":"Administrador","settings.roles.roleOwner":"Proprietário","settings.roles.roleUser":"Usuário","settings.roles.searchPlaceholder":"Pesquisar funções...","settings.apiKeys.accessLabel":"Acesso","settings.apiKeys.accessReadOnly":"Somente leitura","settings.apiKeys.accessReadOnlyDescription":"As {count} ferramentas do Studio que nunca alteram dados. Ferramentas novas ficam de fora.","settings.apiKeys.accessCustom":"Escolher ferramentas","settings.apiKeys.accessCustomDescription":"Só as ferramentas do Studio e das conexões que você marcar. Ferramentas novas ficam de fora.","settings.apiKeys.accessFull":"Acesso total","settings.apiKeys.accessFullDescription":"Todas as ferramentas, inclusive as que apagam dados e as que forem lançadas depois.","settings.apiKeys.expired":"Expirada","settings.apiKeys.expiredOn":"Expirou em {date}","settings.apiKeys.expiresOn":"Expira em {date}","settings.apiKeys.expiryDays":"{days} dias","settings.apiKeys.expiryLabel":"Validade","settings.apiKeys.expiryNever":"Sem validade","settings.apiKeys.expiryYear":"1 ano","settings.apiKeys.neverExpires":"Sem validade","settings.apiKeys.readOnlyBadge":"Leitura","settings.apiKeys.toolCount":"{count} ferramentas","settings.apiKeys.studioTools":"Studio","settings.apiKeys.toolsGroupCount":"{count}/{total}","settings.apiKeys.toolsNone":"Nenhuma ferramenta","settings.apiKeys.toolsSelectGroup":"Selecionar todas as ferramentas de {name}","settings.apiKeys.toolsSelected":"{count} selecionadas","settings.apiKeys.toolsLoadFailed":"Não foi possível carregar a lista de ferramentas. Feche e tente de novo.","settings.apiKeys.toolsSearch":"Buscar ferramentas…","settings.apiKeys.cancelButton":"Cancelar","settings.apiKeys.copied":"Copiado para a área de transferência","settings.apiKeys.copyKey":"Copiar chave","settings.apiKeys.createButton":"Criar chave","settings.apiKeys.createdAt":"Criada em {date}","settings.apiKeys.createdDescription":"Copie esta chave agora — ela não será mostrada novamente.","settings.apiKeys.createdTitle":"Chave de API criada","settings.apiKeys.creatingButton":"Criando…","settings.apiKeys.deleteDescription":"Qualquer aplicação usando esta chave perderá acesso imediatamente. Isso não pode ser desfeito.","settings.apiKeys.deleteKey":"Excluir chave","settings.apiKeys.deleteTitle":'Excluir "{name}"?',"settings.apiKeys.done":"Concluído","settings.apiKeys.emptyDescription":"Crie uma chave para autenticar aplicações externas nesta organização.","settings.apiKeys.emptyTitle":"Nenhuma chave de API ainda","settings.apiKeys.failedToCreateKey":"Falha ao criar chave de API","settings.apiKeys.failedToDeleteKey":"Falha ao excluir chave de API","settings.apiKeys.failedToLoadError":"Falha ao carregar chaves de API: {error}","settings.apiKeys.keyDeleted":'Chave de API "{name}" excluída',"settings.apiKeys.loading":"Carregando chaves de API…","settings.apiKeys.nameLabel":"Nome","settings.apiKeys.namePlaceholder":"Minha integração","settings.apiKeys.newKey":"Nova chave","settings.apiKeys.newKeyDescription":"Dê à chave só as ferramentas de que ela precisa. Quem tiver a chave pode usá-las, mesmo se ela vazar.","settings.apiKeys.newKeyTitle":"Nova chave de API","settings.apiKeys.sectionDescription":"Para scripts e clientes que não conseguem entrar pelo navegador.","settings.apiKeys.sectionTitle":"Chaves de API","settings.secrets.cancelButton":"Cancelar","settings.secrets.createButton":"Criar segredo","settings.secrets.creatingButton":"Criando…","settings.secrets.descriptionLabel":"Descrição (opcional)","settings.secrets.descriptionPlaceholder":"Para que é usado este segredo?","settings.secrets.emptyDescription":"Armazene chaves de API, tokens e outros valores sensíveis. Os valores são criptografados em repouso e nunca retornados pela API.","settings.secrets.emptyTitle":"Nenhum segredo ainda","settings.secrets.failedToCreateSecret":"Falha ao criar segredo","settings.secrets.failedToLoadError":"Falha ao carregar segredos: {error}","settings.secrets.nameHelp":"Letras, dígitos, sublinhado, ponto, hífen. Sem distinção entre maiúsculas e minúsculas dentro do seu escopo.","settings.secrets.nameLabel":"Nome","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"Novo segredo","settings.secrets.newSecretDescription":"Armazenado criptografado no cofre de credenciais. Escolha quem pode lê-lo.","settings.secrets.newSecretTitle":"Novo segredo","settings.secrets.scopeLabel":"Escopo","settings.secrets.scopeOrganization":"Organização","settings.secrets.scopeOrganizationDescription":"Organização — visível para todos os membros","settings.secrets.scopePrivate":"Privado","settings.secrets.scopePrivateDescription":"Privado — visível apenas para mim","settings.secrets.secretCreated":'Segredo "{name}" criado',"settings.secrets.secretsCountSingular":"{count} segredo armazenado","settings.secrets.secretsCountPlural":"{count} segredos armazenados","settings.secrets.sectionOrganization":"Organização","settings.secrets.sectionPrivate":"Privado para mim","settings.secrets.valueLabel":"Valor","settings.simpleModeSection.defaultModels":"Modelos padrão","settings.simpleModeSection.failedToSave":"Falha ao salvar: {error}","settings.simpleModeSection.notAvailableWithCurrentProvider":"Não disponível com o provedor atual","settings.simpleModeSection.pickModel":"Escolher modelo","settings.simpleModeSection.saved":"Salvo","settings.simpleModeSection.saving":"Salvando…","settings.simpleModeSection.tierDeepResearch":"Pesquisa aprofundada","settings.simpleModeSection.tierFast":"Rápido","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.aiProviders.groupChat":"Chat e tarefas","settings.aiProviders.groupMedia":"Só imagens e busca na web","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.infraBilling.noSites":"Esta organização ainda não é dona de nenhum site deco.cx.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Selecione ao menos um site.","settings.infraBilling.tooManySites":"Mostrando os primeiros {count} sites. Selecione sites específicos para ver os demais.","settings.infraBilling.multipleTeams":"Estes sites são cobrados por {count} times legados. O plano e as faturas de cada time estão em Faturas.","settings.infraBilling.noTeam":"Estes sites não estão vinculados a um time de cobrança legado.","settings.infraBilling.partialTeam":"O time legado deste site também cobra sites fora desta organização, então o plano e as faturas não aparecem aqui.","settings.infraBilling.billingUnavailable":"Plano e faturas estão temporariamente indisponíveis.","settings.infraBilling.monthLabel":"Mês","settings.infraBilling.warehouseUnavailable":"Não foi possível ler os dados de uso, então os números abaixo estão incompletos.","settings.infraBilling.summaryTitle":"Resumo","settings.infraBilling.metricsTitle":"Métricas","settings.infraBilling.invoicesTitle":"Faturas","settings.infraBilling.detailsTitle":"Detalhes de cobrança","settings.infraBilling.currentPlan":"Plano atual","settings.infraBilling.nextBilling":"Próxima cobrança","settings.infraBilling.manageButton":"Gerenciar","settings.infraBilling.portalError":"Não foi possível abrir o portal de cobrança: {message}","settings.infraBilling.requestsPerPageview":"Requisições por pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Páginas entregues a visitantes neste mês.","settings.infraBilling.requests":"Requisições","settings.infraBilling.requestsDescription":"Requisições de CDN e da infraestrutura compartilhada.","settings.infraBilling.dataTransfer":"Transferência de dados","settings.infraBilling.dataTransferDescription":"Banda entregue pela edge e pela origem.","settings.infraBilling.noInvoices":"Nenhuma fatura emitida para este time.","settings.infraBilling.invoiceReference":"Referência","settings.infraBilling.invoiceDue":"Vencimento","settings.infraBilling.invoiceAmount":"Valor","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documentos","settings.infraBilling.invoiceNf":"Nota fiscal","settings.infraBilling.invoiceBankSlip":"Boleto","settings.infraBilling.invoiceBankTransfer":"Transferência","settings.infraBilling.statusPaid":"Paga","settings.infraBilling.statusOverdue":"Vencida","settings.infraBilling.statusPending":"Pendente","settings.gitCredentials.title":"Credenciais git","settings.gitCredentials.description":"Tokens que deixam os sandboxes baixarem repositórios e dependências privadas, como submódulos ou pacotes privados de npm, go, pub ou cargo. Escolha um segredo por host.","settings.gitCredentials.addCredential":"Adicionar credencial","settings.gitCredentials.cancel":"Cancelar","settings.gitCredentials.createNewSecret":"Criar novo segredo","settings.gitCredentials.createNewSecretAriaLabel":"Criar novo segredo","settings.gitCredentials.createNewSecretDescription":"Armazenado criptografado. A credencial referencia o segredo pelo id, e o valor nunca sai do servidor.","settings.gitCredentials.createNewSecretTitle":"Criar novo segredo","settings.gitCredentials.descriptionLabel":"Descrição (opcional)","settings.gitCredentials.descriptionPlaceholder":"Para que este token é usado?","settings.gitCredentials.failedToLoadSecrets":"Falha ao carregar segredos","settings.gitCredentials.failedToSave":"Falha ao salvar as credenciais git","settings.gitCredentials.failedToSaveSecret":"Falha ao salvar","settings.gitCredentials.hostAriaLabel":"Host da credencial git {index}","settings.gitCredentials.hostInvalidMessage":"Nome de host simples, ex.: github.com (sem esquema ou caminho).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"Você atingiu o limite de {max} credenciais git. Remova uma para adicionar outra.","settings.gitCredentials.nameLabel":"Nome","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letras, dígitos, underscore, ponto, hífen.","settings.gitCredentials.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"settings.gitCredentials.pickSecretPlaceholder":"Escolha um segredo…","settings.gitCredentials.remove":"Remover","settings.gitCredentials.removeAriaLabel":"Remover credencial git","settings.gitCredentials.saveSecret":"Salvar segredo","settings.gitCredentials.saving":"Salvando…","settings.gitCredentials.secretAriaLabel":"Segredo da credencial git {index}","settings.gitCredentials.scopeLabel":"Escopo","settings.gitCredentials.scopeOrganization":"Organização, visível para todos os membros","settings.gitCredentials.scopePrivate":"Privado, visível só para mim","settings.gitCredentials.secretSaved":'Segredo "{name}" salvo',"settings.gitCredentials.tokenExposureWarning":"O token é instalado na configuração git do sandbox durante a sessão, então comandos e agentes executados lá podem usá-lo. Restrinja-o aos repositórios necessários.","settings.gitCredentials.tokenLabel":"Token de acesso pessoal","settings.gitCredentials.tokenPlaceholder":"Cole seu token"},Rae={"announcements.ptBr.title":"O Studio agora está em português","announcements.ptBr.description":"Notamos que seu navegador está em português, então mudamos o Studio para português (Brasil). Você pode voltar para o inglês quando quiser nas configurações.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Voltar para o inglês","announcements.legacyAdmin.title":"Boas-vindas ao Deco Studio","announcements.legacyAdmin.description":"Desativamos o admin legado. Tudo da sua loja agora fica no Studio.","announcements.legacyAdmin.benefitPreview":"Edite as páginas vendo o site de verdade ao lado.","announcements.legacyAdmin.benefitCompare":"Compare o antes e o depois antes de publicar.","announcements.legacyAdmin.benefitAgent":"Peça mudanças ao agente no chat.","announcements.legacyAdmin.continue":"Continuar","announcements.legacyAdmin.questions":"Dúvidas?","announcements.release.ariaLabel":"Anúncio de lançamento","announcements.release.dismiss":"Dispensar anúncio de lançamento","announcements.release.learnMore":"Saiba mais","announcements.version.ariaLabel":"Atualização do Studio","announcements.version.dismiss":"Dispensar atualização do Studio","announcements.version.eyebrow":"Atualização do Studio","announcements.version.title":"Uma nova versão está pronta","announcements.version.description":"Atualize a página para carregar as novidades do Studio.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora"},Dae={"assets.browser.title":"Assets","assets.browser.bucketLabel":"Bucket: {name}","assets.browser.noBucketTitle":"Nenhum bucket de assets para este site","assets.browser.noBucketDescription":"Configure e associe um bucket compatível com S3 a este site para navegar e enviar assets aqui.","assets.browser.deleteAction":"Excluir","assets.browser.deleteConfirmTitle":"Excluir arquivo?","assets.browser.deleteConfirmDescription":'Excluir permanentemente "{name}" do bucket? Isso não pode ser desfeito.',"assets.browser.deleteCancel":"Cancelar","assets.browser.deleteConfirm":"Excluir","assets.browser.deleted":"Arquivo excluído","assets.browser.deleteFailed":"Falha ao excluir o arquivo","assets.browser.filterLabel":"Filtrar por tipo","assets.browser.filterAll":"Todos","assets.browser.filterImages":"Imagens","assets.browser.filterVideos":"Vídeos","assets.browser.filterDocuments":"Documentos","assets.browser.emptyFilterTitle":"Nenhum arquivo deste tipo","assets.browser.emptyFilterDescription":"Escolha outro filtro ou carregue mais arquivos.","assets.browser.selectAsset":"Ver detalhes de {name}","assets.browser.uploadBarHint":"Arraste arquivos aqui ou clique para enviar","assets.browser.upload":"Enviar","assets.browser.dropToUpload":"Solte para enviar","assets.details.close":"Fechar detalhes","assets.details.type":"Tipo","assets.details.size":"Tamanho","assets.details.dimensions":"Dimensões","assets.details.uploaded":"Enviado em","assets.details.url":"URL","assets.details.copy":"Copiar","assets.details.copied":"Copiada","assets.details.open":"Abrir","assets.details.replace":"Substituir","assets.replace.title":"Substituir {name}","assets.replace.description":"A URL continua a mesma: onde esse arquivo aparece, passa a aparecer o novo.","assets.replace.before":"Antes","assets.replace.after":"Depois","assets.replace.dropHint":"Arraste o novo arquivo aqui","assets.replace.choose":"Escolher arquivo","assets.replace.chooseAnother":"Escolher outro","assets.replace.noFile":"Nenhum arquivo ainda","assets.replace.sameFormatHint":"Use o mesmo formato ({format}) e proporção","assets.replace.wrongFormat":"Escolha um arquivo {format} para manter o mesmo formato.","assets.replace.ratioWarning":"Proporção diferente: pode aparecer cortado ou esticado onde é usado.","assets.replace.compareHint":"Escolha o arquivo novo para comparar.","assets.replace.cacheNote":"As páginas podem mostrar o arquivo antigo até o cache expirar.","assets.replace.cancel":"Cancelar","assets.replace.confirm":"Substituir","assets.replace.replacing":"Substituindo…","assets.replace.done":"Arquivo substituído","assets.replace.failed":"Falha ao substituir o arquivo: {error}"},Oae={"plan.objective.eyebrow":"Seu objetivo na loja","plan.objective.empty":"Escreva em uma frase para onde a marca está indo. Todo plano parte daí.","plan.objective.edit":"Editar","plan.objective.label":"Objetivo da loja","plan.objective.placeholder":"Ex.: Fazer do app o nosso principal canal de vendas em 2027.","plan.objective.hint":"Uma frase, do jeito que você diria ao time. Os agentes levam isso para todo plano.","plan.objective.save":"Salvar","plan.objective.cancel":"Cancelar","plan.objective.clear":"Apagar objetivo","plan.objective.find":"Buscar com IA","plan.objective.finding":"Lendo arquivos, reuniões e conversas da marca…","plan.objective.found":"Encontrei em {source}: “{quote}”","plan.objective.notFound":"Não consegui identificar o objetivo da marca nos arquivos e conversas. Escreva aqui do jeito que o time de vocês falaria.","plan.objective.findUnavailable":"A IA não conseguiu buscar o objetivo agora. Tente de novo mais tarde, ou escreva aqui.","plan.objective.read":"Li: {sources}.","plan.objective.readNothing":"Não encontrei nada para ler sobre os planos da marca.","plan.objective.unread":"Não consegui ler: {files}.","plan.objective.connectHint":"Conecte reuniões ou conversas, como Grain ou WhatsApp, para eu encontrar da próxima vez.","plan.objective.saveError":"Não deu para salvar o objetivo. Tente de novo.","plan.idea.heading":"O que você quer melhorar na loja?","plan.idea.description":"Fale do jeito que vier, mesmo vago. Algumas perguntas rápidas completam o que só você sabe, e o agente monta o case: o problema em números, quem já faz, o dinheiro em jogo, o esforço e o teste A/B.","plan.idea.label":"Sua ideia","plan.idea.placeholder":"Ex.: Quero mexer na busca. Ou: um guia de vestibilidade na página de produto aumentaria a conversão.","plan.idea.submit":"Montar o business case","plan.idea.startWith":"Comece por","plan.idea.topic.shipping":"Frete","plan.idea.topic.shippingPrompt":"No frete, ","plan.idea.topic.pdp":"Página de produto","plan.idea.topic.pdpPrompt":"Na página de produto, ","plan.idea.topic.checkout":"Checkout","plan.idea.topic.checkoutPrompt":"No checkout, ","plan.idea.topic.search":"Busca","plan.idea.topic.searchPrompt":"Na busca, ","plan.idea.topic.performance":"Performance","plan.idea.topic.performancePrompt":"Para deixar a loja mais rápida, ","plan.idea.topic.paidMedia":"Mídia paga","plan.idea.topic.paidMediaPrompt":"Para quem chega pela mídia paga, ","plan.prompt.withObjective":`Vamos montar juntos um business case para este pedido. Siga a skill business-case (leia /app/org/public/core/business-case/SKILL.md). O canvas deste case é {casePath}: rode o init agora, antes de qualquer coisa, e preencha os cards conforme a conversa avança. Se o pedido não diz onde e o quê, me pergunte uma coisa por vez, com opções.
|
|
138
|
+
Este site ainda não reporta sections de post — quando reportar, cite elas aqui com @.`,"sandbox.formats.starterName":"Post padrão","sandbox.formats.suggestButton":"Sugerir formatos","sandbox.formats.suggestFailed":"Não foi possível sugerir formatos","sandbox.formats.suggestHint":"Nomear os formatos em que este blog já escreve, a partir de como os posts são montados","sandbox.formats.suggested":"{count} formato(s) adicionado(s)","sandbox.formats.unknownCitations":"Este formato cita sections que o site não tem: {names}","sandbox.generatePost.stepCampaign":"Campanha","sandbox.generatePost.campaignHint":"Um post é escrito para uma campanha: é ela que carrega o momento, os produtos que podem ser citados e os links deles.","sandbox.generatePost.noCampaigns":"Nenhuma campanha para escrever ainda. Crie uma em Contexto → Campanhas.","sandbox.generatePost.campaignProducts":"{count} produto(s)","sandbox.generatePost.campaignNoProducts":"Sem produtos","sandbox.generatePost.formatBlocksHint":"Os blocos que este formato cita são os únicos que o post pode usar, e cada um é preenchido conforme o schema dele.","sandbox.generatePost.countLabel":"Quantos rascunhos","sandbox.generatePost.countHint":"Cada um pega um ângulo diferente da mesma campanha. Caem como cartões separados.","sandbox.generatePost.coverHint":"Todo rascunho ganha uma imagem de capa, gerada e enviada para o seu bucket.","sandbox.generatePost.gapNoStoreData":"Nenhum sistema conectado respondeu, então nada nestes posts foi conferido com a loja.","sandbox.generatePost.gapSectionsDropped":"{count} seção(ões) foram descartadas: os props não bateram com o bloco que as renderiza.","sandbox.generatePost.gapNoBucket":"Nenhum bucket para enviar imagens, então os posts estão sem capa. Configure um em Configurações → Buckets.","sandbox.generatePost.gapNoImageModel":"Esta organização não tem modelo de imagem configurado, então os posts estão sem capa.","sandbox.generatePost.gapImagesFailed":"As imagens de capa não puderam ser geradas. Os posts estão completos no resto.","sandbox.generatePost.gapDraftsFailed":"{count} rascunho(s) não puderam ser escritos e os cartões ficaram vazios.","sandbox.generatePost.back":"Voltar","sandbox.generatePost.blockedBrand":"Preencha {fields} na aba Marca primeiro — um post escrito sem isso parece o de qualquer outra marca.","sandbox.generatePost.done":"Escrevi {count} rascunho(s) — prontos para revisão","sandbox.generatePost.extraLabel":"Mais alguma coisa?","sandbox.generatePost.extraPlaceholder":"O que você quer além de tudo isso, nas suas palavras.","sandbox.generatePost.failed":"Não consegui escrever estes posts","sandbox.generatePost.formatHint":"Escolha um formato que a marca já usa, ou descreva um novo.","sandbox.generatePost.formatNameLabel":"Nome do formato","sandbox.generatePost.formatNamePlaceholder":"O formato, nomeado pelo trabalho que faz","sandbox.generatePost.formatValueLabel":"Como um post assim é construído","sandbox.generatePost.formatValuePlaceholder":"Como ele abre, desenvolve e fecha.","sandbox.generatePost.generate":"Gerar {count} rascunho(s)","sandbox.generatePost.next":"Avançar","sandbox.generatePost.stepExtra":"Instruções","sandbox.generatePost.stepFormat":"Formato","sandbox.generatePost.subtitle":"Escolha a campanha e o formato. Os posts caem no quadro como rascunhos.","sandbox.generatePost.title":"Gerar posts","sandbox.itemActions.addVariant":"Adicionar variante","sandbox.itemActions.delete":"Excluir","sandbox.itemActions.discardChanges":"Descartar alterações","sandbox.itemActions.duplicate":"Duplicar","sandbox.itemActions.editSeo":"Editar SEO","sandbox.itemActions.moreActions":"Mais ações","sandbox.itemActions.rename":"Renomear","sandbox.itemActions.viewJson":"Visualizar JSON","sandbox.itemRow.duplicateName":"Outro registro usa esse nome","sandbox.itemRow.missingFields":"Faltando: {fields}","sandbox.itemRow.selectItem":"Selecionar {title}","sandbox.itemRow.variantCount":"{count} variantes","sandbox.listBlocks.addCard":"Adicionar card","sandbox.listBlocks.addItem":"Adicionar item","sandbox.listBlocks.addStat":"Adicionar estatística","sandbox.listBlocks.addStep":"Adicionar passo","sandbox.listBlocks.cardBody":"Corpo do card","sandbox.listBlocks.cardTitle":"Título do card","sandbox.listBlocks.checklistItem":"Item da checklist","sandbox.listBlocks.checklistTitle":"Título da checklist (opcional)","sandbox.listBlocks.columnTitle":"Título da coluna","sandbox.listBlocks.item":"Item","sandbox.listBlocks.label":"Rótulo","sandbox.listBlocks.optionA":"Opção A","sandbox.listBlocks.optionB":"Opção B","sandbox.listBlocks.removeCard":"Remover card","sandbox.listBlocks.removeItem":"Remover item","sandbox.listBlocks.removeStat":"Remover estatística","sandbox.listBlocks.removeStep":"Remover passo","sandbox.listBlocks.statValuePlaceholder":"99%","sandbox.listBlocks.stepDescription":"Descrição do passo","sandbox.listBlocks.stepTitle":"Título do passo","sandbox.listBlocks.stepsTitle":"Título dos passos (opcional)","sandbox.mediaBlocks.addCaption":"Adicione uma legenda…","sandbox.mediaBlocks.altText":"Texto alternativo (acessibilidade)","sandbox.mediaBlocks.altLabel":"Alt","sandbox.mediaBlocks.buttonLabel":"Rótulo do botão","sandbox.mediaBlocks.calloutText":"Texto do destaque…","sandbox.mediaBlocks.calloutTitle":"Título do destaque","sandbox.mediaBlocks.destinationUrlPlaceholder":"https://url-de-destino.com","sandbox.linkSuggest.button":"Sugerir links","sandbox.linkSuggest.hint":"Encontrar trechos para linkar com seus outros posts (usa créditos de IA)","sandbox.linkSuggest.noCandidates":"Ainda não há outros posts para linkar","sandbox.linkSuggest.title":"Links internos sugeridos","sandbox.linkSuggest.description":"Escolha quais trechos linkar com seus outros posts. Nada muda até você aplicar.","sandbox.linkSuggest.none":"Nenhum link interno para sugerir.","sandbox.linkSuggest.apply":"Aplicar {count}","sandbox.linkSuggest.applied":"{count} link(s) aplicado(s)","sandbox.linkSuggest.failed":"Não foi possível sugerir links","sandbox.linkPicker.tabPost":"Post","sandbox.linkPicker.tabProduct":"Produto","sandbox.linkPicker.searchPosts":"Buscar seus posts…","sandbox.linkPicker.noPosts":"Nenhum post encontrado","sandbox.linkPicker.searchProducts":"Buscar no seu catálogo…","sandbox.linkPicker.searching":"Buscando…","sandbox.linkPicker.noProducts":"Nenhum produto encontrado","sandbox.mediaBlocks.divider":"Divisor","sandbox.mediaBlocks.fullWidth":"Largura total","sandbox.mediaBlocks.highPriority":"Prioridade","sandbox.mediaBlocks.highPriorityHint":"Carrega de imediato e com prioridade alta. Use em imagens acima da dobra.","sandbox.mediaBlocks.label":"Rótulo","sandbox.mediaBlocks.normal":"Normal","sandbox.mediaBlocks.optionalDescription":"Descrição opcional","sandbox.mediaBlocks.pasteVideoUrl":"Cole uma URL do YouTube ou Vimeo para visualizar","sandbox.mediaBlocks.statValuePlaceholder":"42%","sandbox.mediaBlocks.video":"Vídeo","sandbox.mediaBlocks.videoUrlPlaceholder":"https://youtube.com/watch?v=…","sandbox.pageFormDialog.buttonCancel":"Cancelar","sandbox.pageFormDialog.labelName":"Nome","sandbox.pageFormDialog.labelPath":"Caminho","sandbox.pageFormDialog.labelTemplate":"Modelo","sandbox.pageFormDialog.pendingCreate":"Criando…","sandbox.pageFormDialog.pendingDuplicate":"Duplicando…","sandbox.pageFormDialog.pendingSave":"Salvando…","sandbox.pageFormDialog.placeholderName":"Minha página","sandbox.pageFormDialog.placeholderPath":"/exemplo","sandbox.pageFormDialog.submitCreate":"Criar","sandbox.pageFormDialog.submitDuplicate":"Duplicar","sandbox.pageFormDialog.submitSave":"Salvar","sandbox.pageFormDialog.titleCreate":"Criar nova página","sandbox.pageFormDialog.titleDuplicate":"Duplicar página","sandbox.pageFormDialog.titleRename":"Renomear página","sandbox.pathParamPickerChip.buttonTitle":"Valor para {paramLabel} — clique para escolher","sandbox.pathParamPickerChip.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está rodando?","sandbox.pathParamPickerChip.kindCategoryHeading":"Categorias","sandbox.pathParamPickerChip.kindCategoryNoun":"categoria","sandbox.pathParamPickerChip.kindProductHeading":"Produtos","sandbox.pathParamPickerChip.kindProductNoun":"produto","sandbox.pathParamPickerChip.loading":"Carregando {noun}…","sandbox.pathParamPickerChip.noResults":"Nenhum resultado.","sandbox.pathParamPickerChip.pickValueHeading":"Escolha um valor para","sandbox.pathParamPickerChip.pickValueTitle":"Escolha um valor para {paramLabel}","sandbox.pathParamPickerChip.searchBlogPlaceholder":"Busque posts, categorias ou autores, ou digite um valor…","sandbox.pathParamPickerChip.searchPlaceholder":"Procurar {options} ou digite um valor…","sandbox.pathParamPickerChip.useRawValue":'Usar "{rawTerm}" como {paramLabel}',"sandbox.plainBlocks.bulletedLabel":"Com marcadores","sandbox.plainBlocks.codePlaceholder":"Código","sandbox.plainBlocks.headingLevel1":"Título 1","sandbox.plainBlocks.headingLevel2":"Título 2","sandbox.plainBlocks.headingLevel3":"Título 3","sandbox.plainBlocks.headingLevel4":"Título 4","sandbox.plainBlocks.headingPlaceholder":"Título","sandbox.plainBlocks.languagePlaceholder":"linguagem","sandbox.plainBlocks.listItemPlaceholder":"Item de lista","sandbox.plainBlocks.numberedLabel":"Numerada","sandbox.plainBlocks.quotePlaceholder":"Citação","sandbox.postBoard.close":"Fechar","sandbox.postBoard.archived":"Movido para Arquivado","sandbox.postBoard.collapse":"Recolher para o painel","sandbox.postBoard.collapseLane":"Recolher {lane}","sandbox.postBoard.delete":"Excluir","sandbox.postBoard.emptyDescription":"Gere algumas ideias e transforme-as em posts publicados.","sandbox.postBoard.emptyTitle":"Nenhum post ainda","sandbox.postBoard.duplicateTitle":"Título duplicado","sandbox.postBoard.expand":"Expandir para página inteira","sandbox.postBoard.expandLane":"Expandir {lane}","sandbox.postBoard.laneEmpty":"Nada aqui ainda","sandbox.postBoard.laneArchived":"Arquivado","sandbox.postBoard.laneGenerating":"Gerando","sandbox.postBoard.laneDraft":"Rascunho","sandbox.postBoard.laneAwaitingReview":"Aguardando revisão","sandbox.postBoard.lanePublished":"Publicado","sandbox.postBoard.laneScheduled":"Agendado","sandbox.postBoard.moveBlocked":"Este post está sem campos obrigatórios — abra-o para concluir antes de agendar.","sandbox.postBoard.moveFailed":"Não foi possível mover este post","sandbox.postBoard.moveInFlight":"Ainda movendo este post…","sandbox.postBoard.moveNotATarget":"Gerando é definido pela geração, não à mão.","sandbox.postBoard.nIssues":"{count} a corrigir antes de agendar","sandbox.postBoard.newPost":"Novo post","sandbox.postBoard.newPostGenerate":"Gerar","sandbox.postBoard.newPostGenerateHint":"Escrever com IA, a partir do seu contexto","sandbox.postBoard.newPostWrite":"Escrever","sandbox.postBoard.newPostWriteHint":"Começar um rascunho vazio você mesmo","sandbox.postBoard.importContent":"Importar conteúdo","sandbox.postBoard.importContentHint":"Traga o HTML ou Markdown que você já escreveu","sandbox.postBoard.importTitle":"Importar conteúdo","sandbox.postBoard.importDescription":"Cole o HTML ou Markdown que você já escreveu. Vira um rascunho editável no seu design system — sem IA, sem créditos.","sandbox.postBoard.importUpload":"Enviar um arquivo","sandbox.postBoard.importRun":"Importar","sandbox.postBoard.importEmpty":"Nada para importar — o conteúdo estava vazio.","sandbox.postBoard.imported":"Importado — revise e publique.","sandbox.postBoard.readyToSchedule":"Pronto para agendar","sandbox.postBoard.selectPrompt":"Selecione um post para vê-lo aqui.","sandbox.postBoard.untitled":"Post sem título","sandbox.postBoard.generatingLabel":"Gerando…","sandbox.postBoard.usesCredits":"Usa créditos de IA","sandbox.postBoard.viewBoard":"Quadro","sandbox.postBoard.viewList":"Lista","sandbox.postCalendar.couldNotCreate":"Não foi possível criar","sandbox.postCalendar.couldNotReschedule":"Não foi possível reagendar","sandbox.postCalendar.createdScheduledPost":"Post agendado criado","sandbox.postCalendar.legendScheduled":"Agendado","sandbox.postCalendar.legendUnscheduled":"Não agendado","sandbox.postCalendar.next":"Próximo mês","sandbox.postCalendar.onlyScheduledCanMove":"Apenas posts agendados podem ser movidos.","sandbox.postCalendar.previous":"Mês anterior","sandbox.postCalendar.schedulePostOn":"Agendar um post em {date}","sandbox.postCalendar.today":"Hoje","sandbox.postCalendar.unscheduledHint":"Posts tracejados não estão agendados — estão na data de exibição deles, e nada vai publicá-los.","sandbox.postCalendar.undatedEmpty":"Todos os posts têm data.","sandbox.postCalendar.undatedLabel":"Sem data · {count}","sandbox.postEditor.addPropLabel":"Adicionar propriedade","sandbox.postEditor.authorsLabel":"Autores","sandbox.postEditor.categoriesLabel":"Categorias","sandbox.postEditor.contentTab":"Conteúdo","sandbox.postEditor.coverAltDescription":"Descreve a imagem para leitores de tela e para quando ela não carrega. Vazio: o título do post é usado.","sandbox.postEditor.coverAltLabel":"Texto alternativo da capa","sandbox.postEditor.coverImageLabel":"Imagem de capa","sandbox.postEditor.dateLabel":"Data","sandbox.postEditor.deletePost":"Excluir post","sandbox.postEditor.deletePostCancel":"Cancelar","sandbox.postEditor.deletePostConfirmBody":'"{title}" será removido permanentemente. Isso não pode ser desfeito.',"sandbox.postEditor.deletePostConfirmBodyDraft":'"{title}" será removido do seu rascunho. Nada vai ao ar até você publicar, e até lá você pode trazê-lo de volta descartando esta alteração em Publicar.',"sandbox.postEditor.deletePostConfirmBodyNeverPublished":'"{title}" será removido do seu rascunho. Ele nunca foi publicado, então nada muda no site no ar, e depois de removido não dá para trazer de volta.',"sandbox.postEditor.deletePostConfirmTitle":"Excluir este post?","sandbox.postEditor.deletePostFailed":"Falha ao excluir","sandbox.postEditor.deletePostSuccess":'"{title}" excluído',"sandbox.postEditor.deletingPost":"Excluindo…","sandbox.postEditor.duplicateTitleWarning":"Já existe outro post com esse título. Títulos duplicados competem entre si na busca.","sandbox.postEditor.excerptLabel":"Resumo","sandbox.postEditor.extraPropsLabel":"Propriedades extras","sandbox.postEditor.issuePlural":"problemas","sandbox.postEditor.issueSingular":"problema","sandbox.postEditor.keyPlaceholder":"chave","sandbox.postEditor.legacyCodeBlock":"Bloco de código","sandbox.postEditor.legacyContentPlaceholder":"Escreva o post…","sandbox.postEditor.legacyImageDataUrl":"Dados de imagem colados não ficam no post. Envie a imagem ou use o endereço dela.","sandbox.postEditor.legacyInsertImage":"Inserir imagem da biblioteca","sandbox.postEditor.legacyInsertImageUrl":"Inserir imagem por URL","sandbox.postEditor.legacySectionsNotice":"Este post também tem {count} blocos do editor de blocos. Eles são mantidos como estão; este editor só altera o corpo em HTML.","sandbox.postEditor.missingFieldPlural":"Campos obrigatórios faltando: {fields}","sandbox.postEditor.missingFieldSingular":"Campo obrigatório faltando: {fields}","sandbox.postEditor.noAuthorsYet":"Nenhum autor ainda — crie alguns na coleção de autores.","sandbox.postEditor.noCategoriesYet":"Nenhuma categoria ainda — crie algumas na coleção de categorias.","sandbox.postEditor.noContentYet":"Este post ainda não tem conteúdo. Use ⊕ para adicionar seu primeiro bloco.","sandbox.postEditScreen.notFound":"Este post não existe mais","sandbox.postEditScreen.notFoundHint":"Ele pode ter sido excluído, ou o link aponta para um id que este site não tem.","sandbox.postEditScreen.edit":"Editar","sandbox.postEditScreen.preview":"Visualizar","sandbox.postEditScreen.resizeSplit":"Redimensionar o editor e a visualização","sandbox.postEditScreen.resizeSplitHint":"Arraste para redimensionar. Clique duas vezes para voltar ao padrão.","sandbox.postPreview.desktop":"Desktop","sandbox.postPreview.frameTitle":"Visualização do post","sandbox.postPreview.missingParams":"Falta dado para montar a URL","sandbox.postPreview.missingParamsHint":"Defina o slug do post e, quando a rota do blog usa uma, a categoria.","sandbox.postPreview.mobile":"Celular","sandbox.postPreview.noOrigin":"Esperando o site","sandbox.postPreview.noOriginHint":"A visualização aparece assim que o site deste projeto estiver no ar.","sandbox.postPreview.noRoute":"Este site não tem página de post","sandbox.postPreview.noRouteHint":"Crie uma página com a seção de post do blog, ou defina o pageSlug do app de blog, e a visualização passa a renderizar.","sandbox.postPreview.openInNewTab":"Abrir em nova aba","sandbox.postPreview.refresh":"Atualizar","sandbox.postEditor.postTitlePlaceholder":"Título do post","sandbox.postEditor.readTimeLabel":"Tempo de leitura (minutos)","sandbox.postEditor.previewRequiresSlugAndCategory":"Defina o slug do post (e sua categoria) mais o pageSlug do aplicativo de blog para visualizar","sandbox.postEditor.previewTooltip":"Abrir visualização do post em uma nova aba","sandbox.postEditor.scheduledDatetimeDescription":"Quando este post entra no ar. O site publica sozinho depois que esse momento passa.","sandbox.postEditor.scheduledDatetimeLabel":"Entra no ar em","sandbox.postEditor.removePropLabel":"Remover propriedade","sandbox.postEditor.seePreview":"Ver visualização","sandbox.postEditor.selectAuthorsPlaceholder":"Selecionar autores","sandbox.postEditor.selectCategoriesPlaceholder":"Selecionar categorias","sandbox.postEditor.seoCanonicalLabel":"URL canônica","sandbox.postEditor.seoCanonicalPlaceholder":"https://exemplo.com/blog/meu-post","sandbox.postEditor.seoDescriptionLabel":"Descrição de SEO","sandbox.postEditor.seoImageLabel":"Imagem de SEO","sandbox.postEditor.seoNoIndexingLabel":"Ocultar dos mecanismos de busca (noindex)","sandbox.postEditor.seoSectionHint":"Sobrescreve como este post aparece nos mecanismos de busca. Campos vazios usam o título, resumo e imagem de capa do post.","sandbox.postEditor.seoSectionLabel":"SEO","sandbox.postEditor.seoTitleLabel":"Título de SEO","sandbox.postEditor.settingsTab":"Configurações","sandbox.postEditor.statusLabel":"Status","sandbox.postEditor.slugDeduped":"Esse slug já estava em uso — salvamos como “{slug}”.","sandbox.postEditor.slugLabel":"Slug","sandbox.postEditor.slugPlaceholder":"meu-post","sandbox.postEditor.valuePlaceholder":"valor","sandbox.postList.noMatches":"Nenhum post corresponde à busca ou aos filtros.","sandbox.postToolbar.allPosts":"Todos os posts","sandbox.postToolbar.archiveSelected":"Arquivar selecionados","sandbox.postToolbar.archiveSelectedPosts":"Arquivar posts selecionados","sandbox.postToolbar.authorLabel":"Autor","sandbox.postToolbar.categoryLabel":"Categoria","sandbox.postToolbar.clearFilter":"Limpar filtro","sandbox.postToolbar.deselectAll":"Desselecionar tudo","sandbox.postToolbar.deselectAllPosts":"Desselecionar todos os posts","sandbox.postToolbar.exitSelection":"Sair da seleção","sandbox.postToolbar.filterBy":"Filtrar por","sandbox.postToolbar.filterLabel":"Filtro","sandbox.postToolbar.itemsSelected":"Selecionados: {count}","sandbox.postToolbar.clearSearch":"Limpar busca","sandbox.postToolbar.searchAriaLabel":"Buscar posts","sandbox.postToolbar.searchPlaceholder":"Buscar posts","sandbox.postToolbar.selectAll":"Selecionar tudo","sandbox.postToolbar.selectAllPosts":"Selecionar todos os posts","sandbox.postToolbar.sortAZ":"A–Z","sandbox.postToolbar.sortBy":"Ordenar por","sandbox.postToolbar.sortNewest":"Recentes","sandbox.postToolbar.sortNewestFirst":"Mais recentes primeiro","sandbox.postToolbar.sortOldest":"Antigas","sandbox.postToolbar.sortOldestFirst":"Mais antigas primeiro","sandbox.postToolbar.sortTitleAZ":"Título A–Z","sandbox.postToolbar.sortTitleZA":"Título Z–A","sandbox.postToolbar.sortZA":"Z–A","sandbox.postToolbar.statusLabel":"Status","sandbox.preview.catchAllParamLabel":"caminho","sandbox.preview.choosePage":"Escolher página","sandbox.preview.clickElementToAsk":"Clique em qualquer elemento para perguntar à IA","sandbox.preview.collapseTerminal":"Recolher terminal","sandbox.preview.expandTerminal":"Expandir terminal","sandbox.preview.resizeTerminal":"Redimensionar terminal","sandbox.preview.createNewPage":"Criar nova página","sandbox.preview.devServerPreviewTitle":"Visualização do servidor de desenvolvimento","sandbox.preview.deviceDesktop":"Desktop","sandbox.preview.deviceMobile":"Celular (375px)","sandbox.preview.deviceTablet":"Tablet (768px)","sandbox.preview.enterToGo":"Enter para ir","sandbox.preview.failedToCreatePage":"Falha ao criar página","sandbox.preview.globalBadge":"Global","sandbox.preview.globalComponents":"Componentes globais","sandbox.preview.globalLoaders":"Loaders globais","sandbox.preview.loaderBadge":"Loader","sandbox.preview.loaderNoLongerExists":"Este loader não existe mais.","sandbox.preview.noPagesFound":"Nenhuma página encontrada neste site.","sandbox.preview.noSearchResults":"Nenhum resultado corresponde à sua pesquisa.","sandbox.preview.siteRoutes":"Rotas do site","sandbox.preview.noServerRunning":"Nenhum servidor em execução","sandbox.preview.openInNewTab":"Abrir em nova aba","sandbox.preview.pageAlreadyExists":'Uma página com o caminho "{path}" já existe.',"sandbox.preview.pageCreated":'Página "{name}" criada',"sandbox.preview.blockOnNoPage":"Este bloco não é usado em nenhuma página, então não há o que visualizar.","sandbox.preview.previewMetadataNotReady":"Metadados de visualização não estão prontos ainda","sandbox.preview.pageSchemaNotReady":"O site ainda está carregando. Tente de novo em instantes.","sandbox.preview.searchPagesAndComponents":"Procurar páginas e componentes...","sandbox.preview.startingPreview":"Iniciando seu preview","sandbox.preview.startingPreviewHint":"Mostrando seu site publicado. Você já pode fazer alterações — elas aparecem quando o preview estiver pronto.","sandbox.preview.templateNoLongerExists":"O modelo selecionado não existe mais.","sandbox.preview.valueForParam":"Valor de {label}","sandbox.preview.blocksEditor":"Editor de blocos","sandbox.preview.visualEditor":"Editor visual","sandbox.productBlocks.addProductIdButton":"Adicionar ID do produto","sandbox.productBlocks.addProductsButton":"Adicionar produtos","sandbox.productBlocks.addProductsDescription":"Pesquise produtos VTEX ou escolha uma categoria ou cluster","sandbox.productBlocks.browseProductsButton":"Procurar produtos","sandbox.productBlocks.changeButton":"Alterar","sandbox.productBlocks.chooseProductButton":"Escolher um produto","sandbox.productBlocks.ctaLabelField":"Rótulo de CTA","sandbox.productBlocks.ctaLabelPlaceholder":"Ver produto","sandbox.productBlocks.dragToReorderLabel":"Arraste para reordenar","sandbox.productBlocks.headingH1":"H1","sandbox.productBlocks.headingH2":"H2","sandbox.productBlocks.headingH3":"H3","sandbox.productBlocks.headingNormal":"Normal","sandbox.productBlocks.idLabel":"ID {id}","sandbox.productBlocks.loadingEllipsis":"Carregando…","sandbox.productBlocks.productCardLabel":"Cartão de produto","sandbox.productBlocks.productField":"Produto","sandbox.productBlocks.productPlural":"produtos","sandbox.productBlocks.productSingular":"produto","sandbox.productBlocks.productSlugField":"Slug do produto","sandbox.productBlocks.productSlugPlaceholder":"slug-do-produto","sandbox.productBlocks.productWithId":"Produto {id}","sandbox.productBlocks.removeProductButton":"Remover produto","sandbox.productBlocks.removeProductIdButton":"Remover ID do produto","sandbox.productBlocks.removeProductLabel":"Remover produto","sandbox.productBlocks.shelfTitlePlaceholder":"Título da prateleira","sandbox.productBlocks.skuIdPlaceholder":"151331","sandbox.productBlocks.startDevServerDescription":"Inicie o servidor de desenvolvimento para procurar produtos ou adicione IDs de SKU abaixo.","sandbox.productBlocks.vtexProductIdPlaceholder":"ID de produto VTEX (ex. 151331)","sandbox.productBlocks.vtexProductIds":"IDs de produtos VTEX","sandbox.productPickerDialog.addProducts":"Adicionar produtos","sandbox.productPickerDialog.categoryLabel":"Categoria: ","sandbox.productPickerDialog.change":" — alterar","sandbox.productPickerDialog.chooseProduct":"Escolher um produto","sandbox.productPickerDialog.clusterIdPlaceholder":"ID da coleção / cluster (ex.: 2140)","sandbox.productPickerDialog.couldNotLoad":"Não foi possível carregar — o servidor de desenvolvimento está em execução?","sandbox.productPickerDialog.done":"Concluído","sandbox.productPickerDialog.enterClusterPrompt":"Digite um ID de coleção ou cluster.","sandbox.productPickerDialog.filterCategoriesPlaceholder":"Filtrar categorias…","sandbox.productPickerDialog.loadingCategories":"Carregando categorias…","sandbox.productPickerDialog.loadingProducts":"Carregando produtos…","sandbox.productPickerDialog.modeCategory":"Categoria","sandbox.productPickerDialog.modeClusterId":"ID do cluster","sandbox.productPickerDialog.modeSearch":"Busca","sandbox.productPickerDialog.noCategories":"Nenhuma categoria.","sandbox.productPickerDialog.noProductsFound":"Nenhum produto encontrado.","sandbox.productPickerDialog.noneSelected":"Nenhum selecionado","sandbox.productPickerDialog.pickCategoryPrompt":"Escolha uma categoria para ver seus produtos.","sandbox.productPickerDialog.searchProductsPlaceholder":"Buscar produtos por nome ou ID…","sandbox.productPickerDialog.selectedCount":"{count} selecionado(s)","sandbox.recordEditor.fieldAvatar":"Avatar","sandbox.recordEditor.fieldCompany":"Empresa","sandbox.recordEditor.fieldEmail":"E-mail","sandbox.recordEditor.fieldJobTitle":"Cargo","sandbox.recordEditor.fieldName":"Nome","sandbox.recordEditor.fieldType":"Tipo","sandbox.recordEditor.fieldUrl":"Site","sandbox.recordEditor.optionOrganization":"Organização","sandbox.recordEditor.optionPerson":"Pessoa","sandbox.recordEditor.placeholderEmail":"autor@exemplo.com","sandbox.recordEditor.placeholderUrl":"https://exemplo.com","sandbox.recordEditor.titleAuthor":"Autor","sandbox.redirectFormDialog.title":"Criar redirecionamento","sandbox.redirectFormDialog.submit":"Criar","sandbox.redirectFormDialog.pending":"Criando…","sandbox.redirectFormDialog.cancel":"Cancelar","sandbox.redirectFormDialog.errorRequired":"De e Para são obrigatórios.","sandbox.redirectEditor.discardQueryParameters":"Descartar parâmetros de consulta","sandbox.redirectEditor.fromDescription":"O caminho de origem a corresponder. Suporta sintaxe URLPattern (ex. /produto/:slug).","sandbox.redirectEditor.fromLabel":"De","sandbox.redirectEditor.fromPlaceholder":"/caminho-antigo","sandbox.redirectEditor.statusDescription":"Um código de status explícito prevalece sobre o tipo.","sandbox.redirectEditor.statusFromType":"Seguir o tipo ({status})","sandbox.redirectEditor.statusLabel":"Código de status","sandbox.redirectEditor.typeHint":"Use **Temporário** quando o redirecionamento pode mudar; **Permanente** permite que os navegadores façam cache.","sandbox.redirectEditor.title":"Redirecionamento","sandbox.redirectEditor.toDescription":"O destino — um caminho relativo ou uma URL absoluta.","sandbox.redirectEditor.toLabel":"Para","sandbox.redirectEditor.toPlaceholder":"/caminho-novo","sandbox.redirectEditor.typeLabel":"Tipo","sandbox.redirectEditor.typePermanent":"Permanente ({status})","sandbox.redirectEditor.typePlaceholder":"Tipo","sandbox.redirectEditor.typeTemporary":"Temporário ({status})","sandbox.cmsSettings.title":"CMS","sandbox.cmsSettings.preview.title":"Preview","sandbox.cmsSettings.preview.description":"Veja suas alterações antes de publicá-las.","sandbox.cmsSettings.fastPreview.label":"Preview Rápido","sandbox.cmsSettings.fastPreview.description":"Novos chats começam como sessões de CMS, pré-visualizadas no seu servidor de preview em vez de um sandbox. Chats existentes mantêm o modo com que foram criados.","sandbox.cmsSettings.fastPreview.needsPreviewServerUrl":"Defina um servidor de preview acima para ativar o Preview Rápido.","sandbox.cmsSettings.blocksV8.needsPreviewServerUrl":"Adicione o endereço do seu site acima para visualizar rascunhos. Até lá, novos chats começam uma sessão de código.","sandbox.cmsSettings.fastPreviewInPlace.label":"Preview instantâneo (experimental)","sandbox.cmsSettings.fastPreviewInPlace.description":"Atualiza as edições no lugar, sem esperar o salvamento — bem mais rápido, mas só funciona em sites que têm a rota /live/previews.","sandbox.cmsSettings.contentEditing.on":"Ativado","sandbox.cmsSettings.contentEditing.onDescription":"O Editor do Site oferece Conteúdo e abre Blocos ao lado do Preview no desktop.","sandbox.cmsUnavailable.noPreviewServer":"É uma sessão de CMS, mas este projeto não tem servidor de preview configurado.","sandbox.cmsUnavailable.noRepo":"É uma sessão de CMS, mas este projeto não tem repositório do GitHub para salvar.","sandbox.cmsUnavailable.startCodingSession":"Continuar esta branch em uma sessão de código","sandbox.previewServerUrlField.description":"O endereço do seu servidor ativo, usado para pré-visualizar conteúdo. Necessário para o Preview Rápido.","sandbox.previewServerUrlField.descriptionBlocksV8":"O endereço do seu site no ar. O Studio mostra seus rascunhos nele antes de você publicar. Um endereço novo mostra rascunhos após a próxima publicação.","sandbox.previewServerUrlField.label":"Servidor de preview","sandbox.previewServerUrlField.placeholder":"https://exemplo.com","sandbox.fieldDescriptionTooltipsField.label":"Descrições compactas","sandbox.fieldDescriptionTooltipsField.description":"No formulário de blocos, exibe a descrição do campo como um tooltip ao passar o mouse sobre o título, em vez de texto abaixo do título.","sandbox.legacyBlogPostFormatField.label":"Editor de blogpost legado","sandbox.legacyBlogPostFormatField.description":"Edita o corpo do post via HTML, num único editor de texto rico salvo no campo content, o formato que templates de blog mais antigos leem, em vez de em blocos.","sandbox.runnableBlockEditor.availableModeDescription":"{typeLabel} — edições permanecem locais até que você salve como um {singular} global. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlockEditor.closeJsonEditor":"Fechar editor JSON","sandbox.runnableBlockEditor.closeResult":"Fechar resultado","sandbox.runnableBlockEditor.collapse":"Recolher","sandbox.runnableBlockEditor.collapseResult":"Recolher resultado","sandbox.runnableBlockEditor.editAsJson":"Editar como JSON","sandbox.runnableBlockEditor.expand":"Expandir","sandbox.runnableBlockEditor.expandResult":"Expandir resultado","sandbox.runnableBlockEditor.failedToRun":"Falha ao executar {singular}","sandbox.runnableBlockEditor.freeformPropsEmptyState":"Este {singular} não publica um esquema de props. Edite suas props como JSON e execute.","sandbox.runnableBlockEditor.inferredSchemaNotice":"Este {singular} não publica um esquema de props — os campos abaixo são inferidos de seus valores salvos. Use o editor JSON para adicionar props não mostrados aqui.","sandbox.runnableBlockEditor.invalidJsonError":"JSON inválido — mudanças não são salvas até que seja analisado.","sandbox.runnableBlockEditor.noInputEmptyState":"Este {singular} não aceita entrada configurável. Execute para ver seu resultado.","sandbox.runnableBlockEditor.openInNewTabTooltip":"Abrir em nova aba (executa novamente o {singular})","sandbox.runnableBlockEditor.openResultInNewTabAriaLabel":"Abrir resultado em nova aba","sandbox.runnableBlockEditor.pressRunToInvoke":"Pressione Executar para invocar este {singular}.","sandbox.runnableBlockEditor.resultPanelTitle":"Resultado","sandbox.runnableBlockEditor.run":"Executar","sandbox.runnableBlockEditor.runAriaLabel":"Executar {singular}","sandbox.runnableBlockEditor.running":"Executando {singular}…","sandbox.runnableBlockEditor.saveAsGlobal":"Salvar como {singular} global","sandbox.runnableBlockEditor.saveAsGlobalAriaLabel":"Salvar como {singular} global","sandbox.runnableBlockEditor.savedModeDescription":"{singular} global — mudanças são salvas automaticamente. Execute para invocar contra a visualização em tempo real.","sandbox.runnableBlocksBrowser.emptyFolder":"Esta pasta está vazia.","sandbox.runnableBlocksBrowser.emptyFolderNoManifest":"Inicie o servidor de desenvolvimento de pré-visualização para que o manifest seja carregado.","sandbox.runnableBlocksBrowser.emptyFolderTitle":"Nenhum {kind} aqui","sandbox.runnableBlocksBrowser.folderBreadcrumb":"Navegação de pastas","sandbox.runnableBlocksBrowser.hideSaved":"Ocultar salvos","sandbox.runnableBlocksBrowser.noSearchResults":'Nenhum {kind} corresponde a "{query}"',"sandbox.runnableBlocksBrowser.noSearchResultsDescription":"A pesquisa abrange todas as pastas — tente um termo diferente.","sandbox.runnableBlocksBrowser.savedBlockToast":'{singular} "{blockId}" salvo(a)',"sandbox.runnableBlocksBrowser.savedCountLabel":"{count} salvo(s)","sandbox.runnableBlocksBrowser.searchAriaLabel":"Pesquisar todos os {kind}","sandbox.runnableBlocksBrowser.searchPlaceholder":"Pesquisar todos os {kind}…","sandbox.runnableBlocksBrowser.seeSaved":"Ver salvos","sandbox.runtimeFields.auto":"Automático","sandbox.runtimeFields.autoDetect":"Auto-detectar","sandbox.runtimeFields.devServerPort":"Porta do servidor de desenvolvimento","sandbox.runtimeFields.devServerPortDescription":"Deixe em branco para deixar o executor escolher.","sandbox.runtimeFields.packageManager":"Gerenciador de pacotes","sandbox.runtimeFields.packagePath":"Caminho do pacote","sandbox.runtimeFields.packagePathDescription":"Caminho (relativo à raiz do repositório) do diretório que contém package.json. Deixe em branco para a raiz do repositório.","sandbox.runtimeApps.title":"Outros apps","sandbox.runtimeApps.description":"Outros apps deste repositório para ver ao lado do principal, até {max}. Cada um roda o próprio servidor de desenvolvimento.","sandbox.runtimeApps.add":"Adicionar app","sandbox.runtimeApps.remove":"Remover {path}","sandbox.runtimeApps.duplicate":"Este app já está na lista.","sandbox.appTabs.label":"Apps","sandbox.appTabs.root":"raiz","sandbox.appTabs.main":"Principal","sandbox.appTabs.remove":"Remover {app}","sandbox.appTabs.add":"Adicionar outro app deste repositório","sandbox.appTabs.pathLabel":"Caminho do app no repositório, como apps/checkout","sandbox.appTabs.mainHint":"O chat e o editor trabalham neste app.","sandbox.appTabs.extraHint":"Só preview. O chat continua trabalhando em {app}.","sandbox.appPane.previewOnly":"Só preview. O chat e o editor continuam em {app}.","sandbox.appTabs.saveError":"Não foi possível salvar os apps do projeto.","sandbox.appTabs.split":"Ver lado a lado","sandbox.appTabs.single":"Ver um app","sandbox.appPane.path":"Caminho em {app}","sandbox.appPane.reload":"Recarregar {app}","sandbox.appPane.openInNewTab":"Abrir {app} em nova aba","sandbox.appPane.close":"Fechar {app}","sandbox.appPane.failed":"A sandbox não conseguiu iniciar. Tente de novo em {app}.","sandbox.appPane.waiting":"Iniciando a sandbox…","sandbox.appPane.noUrl":"Este app não tem endereço de preview.","sandbox.appPane.notStarted":"{app} ainda não está rodando: a sandbox subiu antes de ele ser adicionado.","sandbox.appPane.start":"Iniciar {app}","sandbox.savedSectionEditor.closeJsonEditor":"Fechar editor JSON","sandbox.saveStatus.failed":"Não foi possível salvar","sandbox.saveStatus.saved":"Salvo","sandbox.saveStatus.saving":"Salvando…","sandbox.savedSectionEditor.editAsJson":"Editar como JSON","sandbox.savedSectionEditor.globalSectionDescription":"Seção global — alterações são salvas automaticamente e aplicadas em todos os locais onde é usada.","sandbox.savedSectionEditor.invalidJsonError":"JSON inválido — as alterações não serão salvas até que seja processado.","sandbox.savedSectionEditor.noEditableFields":"Nenhum campo editável para esta seção.","sandbox.schemaless.agentPrompt":"O conteúdo deste site é editado no deco Studio, mas o Studio ainda não recebeu o schema do site, então os formulários de conteúdo mostram campos crus. Configure isso neste repositório:\n\n1. Garanta que o @decocms/blocks está na versão 8.11.0 ou mais nova (atualize se não estiver) e rode `npx deco skills install` para adicionar as skills do framework deco a este repositório.\n2. Carregue a skill deco-site-workflow e siga o references/schema.md dela: gere o schema com `npx deco schema` e faça commit de .deco/schema.gen.json; faça o DECO_SITE apontar para o site {site} do Studio; envie o schema ao Studio com `npx deco schema push`; e inclua `npx deco schema push` no deploy de produção (depois que o deploy der certo, com uma chave de API do Studio no secret DECO_TOKEN) para que todo deploy o envie.\n3. Rode `npx deco check` e me conte o que você mudou e o que cada comando imprimiu.","sandbox.schemaless.agentPromptSiteUnknown":"que este projeto usa (me pergunte o nome se não encontrar)","sandbox.schemaless.back":"Todos os blocos","sandbox.schemaless.bannerBody":"Este site ainda não enviou ao Studio o schema dele (a descrição dos campos de cada formulário), então cada bloco abre com campos simples criados a partir dos valores salvos. Salvar continua mantendo todo o resto como está. Peça ao agente de código que trabalha no seu site para configurar isso: copie o prompt e cole no agente. Leva um deploy, e os formulários aqui se atualizam sozinhos.","sandbox.schemaless.bannerTitle":"Os formulários de conteúdo estão mostrando campos crus","sandbox.schemaless.copyPrompt":"Copiar prompt para o seu agente","sandbox.schemaless.copyPromptFailed":"Não foi possível copiar o prompt. Verifique se esta página pode usar a área de transferência e tente de novo.","sandbox.schemaless.empty":"Vazio","sandbox.schemaless.installSkill":"Instalar a skill","sandbox.schemaless.item":"Item {n}","sandbox.schemaless.itemCount":"{count} itens","sandbox.schemaless.listLabel":"Blocos salvos","sandbox.schemaless.noBlocks":"Nenhum bloco salvo ainda.","sandbox.schemaless.noMatches":"Nenhum bloco corresponde à busca.","sandbox.schemaless.noType":"Sem tipo","sandbox.schemaless.notANumber":"Digite um número. O valor salvo continua até você digitar.","sandbox.schemaless.notSet":"Sem valor","sandbox.schemaless.pickBlock":"Escolha um bloco para ver o conteúdo.","sandbox.schemaless.promptCopied":"Copiado","sandbox.schemaless.promptCopiedAnnouncement":"Prompt copiado para a área de transferência","sandbox.schemaless.searchPlaceholder":"Buscar blocos","sandbox.schemaless.usesSkill":"Usa a skill deco-site-workflow","sandbox.sectionRenameDialog.cancel":"Cancelar","sandbox.sectionRenameDialog.description":"Atualiza o nome de exibição. A chave interna permanece a mesma para que as páginas que referem esta seção continuem funcionando.","sandbox.sectionRenameDialog.keyLabel":"Chave","sandbox.sectionRenameDialog.nameLabel":"Nome","sandbox.sectionRenameDialog.save":"Salvar","sandbox.sectionRenameDialog.saving":"Salvando…","sandbox.sectionRenameDialog.title":"Renomear seção","sandbox.sectionsRightPane.selectSectionDescription":"Escolha uma seção salva para editar, ou uma disponível para personalizar e salvar como global.","sandbox.sectionsRightPane.selectSectionTitle":"Selecione uma seção para editar","sandbox.stateCard.erroredHeadline":"Não foi possível iniciar o sandbox","sandbox.stateCard.githubConnectionMissingMessage":"A conexão do GitHub usada neste chat foi removida. Vincule o repositório novamente para iniciar o sandbox.","sandbox.stateCard.linkRepoAgain":"Vincular repositório","sandbox.stateCard.githubNotAuthenticatedMessage":"O repositório GitHub deste projeto não está autenticado. Reconecte em Conexões e tente novamente.","sandbox.stateCard.reconnectGithub":"Reconectar GitHub","sandbox.stateCard.resume":"Retomar","sandbox.stateCard.resumeToContinue":"Retome para continuar.","sandbox.stateCard.retry":"Tentar Novamente","sandbox.stateCard.suspendedHeadline":"O sandbox está pausado","sandbox.tableBlock.addColumn":"Adicionar coluna","sandbox.tableBlock.addRow":"Adicionar linha","sandbox.tableBlock.headerPlaceholder":"Cabeçalho {n}","sandbox.tableBlock.noRowsYet":"Nenhuma linha ainda — adicione uma abaixo.","sandbox.tableBlock.removeColumn":"Remover coluna {n}","sandbox.tableBlock.removeRow":"Remover linha {n}","sandbox.toolbar.closeTab":"Fechar {tab}","sandbox.toolbar.moreActions":"Mais ações","sandbox.toolbar.noScriptsFound":"Nenhum script encontrado","sandbox.toolbar.restart":"Reiniciar","sandbox.toolbar.resume":"Retomar","sandbox.toolbar.retry":"Tentar Novamente","sandbox.toolbar.run":"Executar","sandbox.toolbar.runAScript":"executar um script","sandbox.toolbar.runScript":"Executar script","sandbox.toolbar.setupTab":"sandbox","sandbox.toolbar.start":"Iniciar","sandbox.toolbar.startProcess":"Iniciar processo","sandbox.toolbar.stop":"Parar","sandbox.toolbar.stopProcess":"Parar processo","sandbox.toolbar.stopSandboxTooltip":"Parar sandbox","sandbox.toolbar.stopping":"Parando…","sandbox.variantCalendar.always":"Sempre","sandbox.variantCalendar.calendarMode":"Calendário","sandbox.variantCalendar.dateMatcherInfo":"Variantes condicionadas a um critério de data aparecem aqui.","sandbox.variantCalendar.hiddenOngoingVariants":'{count} variante(s) em andamento oculta(s) — ative "Mostrar em andamento" para visualizar.',"sandbox.variantCalendar.next":"Próximo","sandbox.variantCalendar.noDatedVariants":"Nenhuma variante com data à vista.","sandbox.variantCalendar.noScheduledVariants":"Nenhuma variante agendada.","sandbox.variantCalendar.ongoing":"Em andamento","sandbox.variantCalendar.previous":"Anterior","sandbox.variantCalendar.showOngoing":"Mostrar em andamento ({count})","sandbox.variantCalendar.timelineMode":"Linha do tempo","sandbox.variantCalendar.today":"Hoje","sandbox.variantCalendar.todayLabel":"Hoje","sandbox.variantCalendar.variantBlock":"Variante / Bloco","sandbox.visualEditorPrompt.inputPlaceholder":"Pergunte à IA...","sandbox.visualEditorPrompt.sendButton":"Enviar","sandbox.calendarView.noDraft.title":"Escolha um rascunho para planejar suas campanhas","sandbox.calendarView.noDraft.desc":"Suas campanhas ficam salvas em um rascunho, como qualquer outra edição. Escolha um rascunho na barra acima ou abra o editor do site para começar um.","sandbox.calendarView.loadFailed":"Não foi possível carregar suas campanhas.","sandbox.calendarView.loadFailedHint":"Nada foi alterado. Tente de novo em instantes.","sandbox.dateCampaigns.intro":"Campanhas mudam o site numa janela de datas. As mudanças vão ao ar quando você publica.","sandbox.dateCampaigns.tabsLabel":"Campanhas a mostrar","sandbox.dateCampaigns.tabCurrent":"Campanhas","sandbox.dateCampaigns.tabEnded":"Encerradas","sandbox.dateCampaigns.colCampaign":"Campanha","sandbox.dateCampaigns.today":"Hoje","sandbox.dateCampaigns.colStatus":"Status","sandbox.dateCampaigns.noneCurrent":"Nenhuma campanha no ar ou agendada.","sandbox.dateCampaigns.noneEnded":"Nenhuma campanha encerrada ainda.","sandbox.dateCampaigns.edit":"Editar","sandbox.dateCampaigns.editNamed":"Editar {name}","sandbox.dateCampaigns.new":"Nova campanha","sandbox.dateCampaigns.empty.title":"Nenhuma campanha ainda","sandbox.dateCampaigns.empty.desc":"Crie uma aqui ou a partir de uma variante no editor do site: escolha a regra “Campanha” e digite um nome.","sandbox.dateCampaigns.status.running":"No ar","sandbox.dateCampaigns.status.upcoming":"Agendada","sandbox.dateCampaigns.status.ended":"Encerrada","sandbox.dateCampaigns.status.always":"Sempre ativa","sandbox.dateCampaigns.status.unreadable":"Datas ilegíveis","sandbox.dateCampaigns.state.new":"Ainda não publicada","sandbox.dateCampaigns.state.changed":"Alterada no seu rascunho","sandbox.dateCampaigns.removedTitle":"Removidas no seu rascunho","sandbox.dateCampaigns.removedHint":"Estas campanhas param quando você publicar. Para manter uma, crie-a de novo com o mesmo nome.","sandbox.dateCampaigns.unreadableHint":"Uma das datas não pode ser lida, então as variantes dela não aparecem. Escolha novas datas e salve.","sandbox.dateCampaigns.publishedWindow":"Publicado: {window}","sandbox.dateCampaigns.saveDates":"Salvar datas","sandbox.dateCampaigns.delete":"Excluir campanha","sandbox.dateCampaigns.deleted":"Campanha “{name}” excluída do seu rascunho","sandbox.dateCampaigns.deletedHint":"Ela sai do site quando você publicar. Desfazer traz ela de volta.","sandbox.dateCampaigns.missing.title":"Seu site precisa de uma atualização para campanhas","sandbox.dateCampaigns.missing.desc":"Peça ao seu desenvolvedor para atualizar o site para a versão mais recente do Blocks e publicá-lo. Suas campanhas vão aparecer aqui.","sandbox.dateCampaigns.replaced.title":"Seu site cuida das campanhas no próprio código","sandbox.dateCampaigns.replaced.desc":"Os desenvolvedores definiram as próprias campanhas, então elas não podem ser alteradas aqui. Pergunte a eles como mudar uma.","sandbox.dateCampaigns.conflict.title":"Seu site já tem um bloco chamado “campaigns”","sandbox.dateCampaigns.conflict.desc":"Ele não é uma lista de campanhas, então ainda não dá para adicionar campanhas. Renomeie esse bloco e volte aqui.","sandbox.previewAs.label":"Visualizar como","sandbox.previewAs.intro":"Só esta pré-visualização muda. Seus visitantes continuam vendo o site como ele está.","sandbox.previewAs.unavailable":"Faça uma mudança ou publique o site primeiro; depois a pré-visualização pode mostrar outro momento ou forçar um teste.","sandbox.previewAs.momentLabel":"Visualizar em","sandbox.previewAs.momentHint":"As campanhas aparecem como vão estar neste momento. Os horários estão no fuso do seu computador.","sandbox.previewAs.now":"Agora","sandbox.previewAs.testsLabel":"Testes A/B","sandbox.previewAs.testsHint":"Sem escolha: você vê o lado que a sua própria visita recebeu.","sandbox.previewAs.noTests":"Nenhum teste A/B ainda.","sandbox.previewAs.testsLoadFailed":"Não foi possível carregar seus testes.","sandbox.previewAs.tryAgain":"Tentar de novo","sandbox.previewAs.off":"Desligado","sandbox.previewAs.on":"Ligado","sandbox.previewAs.reset":"Mostrar como está agora"},Aae={"settings.subscriptionUsage.refresh":"Atualizar","settings.subscriptionUsage.codeReview":"Revisão de código","settings.subscriptionUsage.primary":"Limite principal","settings.subscriptionUsage.secondary":"Limite secundário","settings.subscriptionUsage.resets":"Renova em {date}","settings.subscriptionUsage.limitReached":"Limite atingido","settings.subscriptionUsage.viewUsage":"Ver uso","settings.subscriptionUsage.openProvider":"Ver no provedor","settings.voice.title":"Modo voz","settings.voice.description":"Permite falar com os agentes por voz. Requer a ElevenLabs configurada nesta instalação.","settings.title":"Perfil e preferências","settings.nav.organization":"Organização","settings.nav.build":"Construir","settings.nav.manage":"Gerenciar","settings.nav.general":"Geral","settings.nav.connect":"Conectar","settings.nav.aiProviders":"Provedores de IA","settings.nav.secrets":"Segredos","settings.nav.billing":"Cobrança e IA","settings.nav.buckets":"Buckets","settings.nav.syncedRepos":"Repos sincronizados","settings.nav.repositories":"Repositórios","settings.nav.storage":"Armazenamento","settings.nav.advanced":"Avançado","settings.subnav.ariaLabel":"Seções de configurações","settings.subnav.infrastructure":"Infraestrutura","settings.nav.tasks":"Quadro","settings.jira.sectionTitle":"Jira","settings.jira.connectTitle":"Conectar Jira","settings.jira.connectDescription":"Use um site do Jira Cloud e um API token, de preferência de uma conta de serviço com acesso ao projeto.","settings.jira.siteLabel":"Site do Jira","settings.jira.sitePlaceholder":"suaempresa.atlassian.net","settings.jira.emailLabel":"E-mail da conta Atlassian","settings.jira.emailPlaceholder":"voce@empresa.com","settings.jira.tokenLabel":"API token","settings.jira.tokenPlaceholder":"Cole seu token","settings.jira.connect":"Conectar","settings.jira.connecting":"Conectando…","settings.jira.connected":"Jira conectado","settings.jira.connectFailed":"Não foi possível conectar ao Jira","settings.jira.disconnect":"Desconectar","settings.jira.disconnected":"Jira desconectado","settings.jira.disconnectTitle":"Desconectar o Jira?","settings.jira.disconnectDescription":"A sincronização para e as credenciais são apagadas. Os cards que já estão no quadro ficam, mas deixam de atualizar.","settings.jira.cancel":"Cancelar","settings.jira.boardLabel":"Board do Jira","settings.jira.boardDescription":"O Studio age quando um card entra numa coluna deste board.","settings.jira.boardPlaceholder":"Selecione um board","settings.jira.boardSearchPlaceholder":"Buscar boards…","settings.jira.noBoardsMatch":"Nenhum board corresponde à busca","settings.jira.loadingBoards":"Carregando boards…","settings.jira.enabledLabel":"Integração ativa","settings.jira.enabledDescription":"Enquanto desativada, os cards que se movem no board são ignorados.","settings.jira.enableRequirements":"Escolha um board antes de ativar a integração","settings.jira.saveFailed":"Não foi possível salvar as configurações do Jira","settings.jira.createTokenLink":"Criar um API token","settings.jira.webhookTitle":"Atualizações instantâneas (webhook)","settings.jira.webhookDescription":"Opcional. Sem ele, uma issue que entra num status automatizado é detectada na próxima verificação de 5 minutos; com ele, a run começa quando o card fica 20 segundos parado.","settings.jira.webhookCopy":"Copiar","settings.jira.webhookCopied":"URL do webhook copiada","settings.jira.webhookStep1":"No Jira, abra Settings (ícone de engrenagem) → System → Webhooks. Requer um admin do Jira.","settings.jira.webhookStep2":"Clique em “Create a webhook” e cole a URL acima.","settings.jira.webhookStep3":"Em Events, marque Issue: created e Issue: updated.","settings.jira.webhookStep4":"Opcionalmente restrinja com um filtro JQL, ex.: project = <chave do projeto>.","settings.jira.webhookStep5":"Salve. Uma issue que entra num status automatizado passa a iniciar sua run depois de ficar 20 segundos nele.","settings.jira.automationsLabel":"Rodar o agente quando uma issue entrar em…","settings.jira.automationsDescription":"As automações que rodam quando uma issue entra num destes status e fica nele por 20 segundos. Abra uma para mudar o prompt, ou dê a qualquer automação um gatilho “Quando uma issue do Jira entra num status”. Um card arrastado por um status, ou para o errado e de volta, não inicia nada. Uma issue que tem um pull request aberto linkado continua nele. O agente lê a issue e a atualiza no Jira; nada é copiado para o quadro.","settings.jira.toggleAutomation":"Ligar ou desligar {name}","settings.jira.addAutomation":"Adicionar automação","settings.jira.fromAny":"Vindo de qualquer coluna","settings.jira.fromEarlier":"Vindo de uma coluna anterior","settings.jira.fromLater":"Vindo de uma coluna posterior (devolvido)","settings.jira.fromStatuses":"Vindo de {statuses}","settings.jira.originLabel":"Quando o card vem de","settings.jira.originStatusesPlaceholder":"Escolha os status","settings.jira.originHelp":"Um movimento inicia uma regra só: a que nomeia de onde o card veio, senão a da direção dele no board, senão a de qualquer coluna. De onde ele veio é o último status em que ficou parado, não um pelo qual foi arrastado.","settings.jira.createRule":"Criar automação","settings.jira.cancelRule":"Cancelar","settings.jira.noColumnsYet":"Este board ainda não tem colunas","settings.jira.columnsFailed":"Não foi possível carregar as colunas do board","settings.jira.testRunLabel":"Rodar na mão","settings.jira.testRunDescription":"Rode uma automação numa issue ou num lote agora, sem ativar a integração, para ver o que o prompt faz.","settings.jira.issueKeysPlaceholder":"ABC-123 ou um link, um por linha ou separados por vírgula","settings.jira.issueKeysCount":"{count} issue(s)","settings.jira.issueKeysUnreadable":"não consegui ler: {items}","settings.jira.testRunIssueAriaLabel":"Chave ou link da issue do Jira","settings.jira.testRun":"Rodar agente {count}","settings.jira.testRunRunning":"Iniciando…","settings.jira.testRunStarted":"Iniciado em","settings.jira.testRunFailed":"Não foi possível iniciar o run","settings.jira.testRunHelp":"Este é um run de verdade: o agente lê a issue real, comenta nela e pode movê-la. Rodar de novo interrompe o run que ainda estiver trabalhando nessa issue, e uma issue com um pull request aberto linkado continua nele.","settings.jira.testRunAutomation":"Automação a rodar","settings.jira.testRunNoAutomations":"Adicione uma automação acima primeiro: rodar à mão dispara uma delas.","settings.jira.together":"Um run só para todas, e o agente trabalha nas issues como um lote","settings.jira.togetherStarted":"Iniciado um run em","settings.jira.testRunWatch":"Ver os runs no Monitor","settings.syncedRepos.addRepo":"Adicionar repo","settings.syncedRepos.cancel":"Cancelar","settings.syncedRepos.create":"Criar","settings.syncedRepos.creating":"Criando…","settings.syncedRepos.created":'Sincronização criada — sincronizando em "{volume}" em segundo plano',"settings.syncedRepos.emptyTitle":"Nenhum repo sincronizado ainda","settings.syncedRepos.emptyDescription":"Escolha um repositório e ele aparecerá na biblioteca como uma pasta somente leitura, sincronizada automaticamente.","settings.syncedRepos.failed":"Algo deu errado","settings.syncedRepos.nameDialogDescription":"{repo} será mantido em sincronia nesta pasta somente leitura da biblioteca.","settings.syncedRepos.nameDialogTitle":"Nomeie a pasta sincronizada","settings.syncedRepos.namePlaceholder":"nome-da-pasta","settings.syncedRepos.pickerTitle":"Sincronizar um repo na biblioteca","settings.syncedRepos.remove":"Parar de sincronizar","settings.syncedRepos.removeDescription":"Os arquivos já sincronizados continuam na biblioteca; só a sincronização para. Você pode apagar a pasta depois, se não precisar dela.","settings.syncedRepos.removeTitle":'Parar de sincronizar "{volume}"?',"settings.syncedRepos.removed":"Sincronização removida","settings.syncedRepos.rowSubtitle":"Pasta da biblioteca: {volume}","settings.repositories.accountsTitle":"Contas conectadas","settings.repositories.accountsEmptyTitle":"Nenhuma conta conectada","settings.repositories.accountsEmptyDescription":"Conecte uma conta do GitHub, GitLab ou Bitbucket para navegar pelos seus repositórios e vincular os privados.","settings.repositories.noProvidersTitle":"Nenhum provedor git configurado","settings.repositories.noProvidersDescription":"Entrar com GitHub, GitLab ou Bitbucket depende de credenciais do provedor que um administrador configura nesta instalação. Você ainda pode conectar uma conta do GitLab ou do Bitbucket com um token de acesso.","settings.repositories.githubUnavailable":"Peça a um administrador para habilitar o GitHub.","settings.repositories.connectGithubCli":"Conectar com GitHub CLI","settings.repositories.githubCliHint":"Use seu login local do gh para buscar e importar repositórios.","settings.repositories.authKindGithubCli":"GitHub CLI","settings.repositories.addGithubAccount":"Adicionar conta ou organização do GitHub","settings.repositories.githubSelectTitle":"Selecionar repositórios","settings.repositories.githubSelectedShareHint":"Membros com permissão de repositórios em {organization} poderão usar os repositórios que você autorizar aqui.","settings.repositories.githubPreselectedHint":"Os repositórios já autorizados ou vinculados estão selecionados quando você tem permissão para autorizá-los. Revise a seleção antes de salvar.","settings.repositories.githubReplaceHint":"Salvar substitui o acesso atual desta conta no workspace pela sua seleção. Repositórios removidos deixam de receber novas credenciais. Credenciais já emitidas podem funcionar até expirarem.","settings.repositories.githubFilterRepos":"Buscar repositórios","settings.repositories.githubNoRepos":"Nenhum repositório disponível para autorizar.","settings.repositories.githubSearchNoMatches":"Nenhum repositório corresponde à sua busca.","settings.repositories.githubAccessChanged":"Alguém alterou o acesso desta conta. Volte e revise os repositórios antes de salvar.","settings.repositories.githubMoreRepos":"Carregar mais repositórios","settings.repositories.githubBack":"Voltar às contas","settings.repositories.githubSaveOneRepo":"Autorizar 1 repositório","settings.repositories.githubSaveRepos":"Autorizar {count} repositórios","settings.repositories.githubEditWorkspaceAccess":"Alterar acesso do workspace","settings.repositories.githubShareHint":"Escolha sua conta pessoal do GitHub, ou uma organização onde você administra repositórios, para compartilhar com {organization}. Membros com permissão para repositórios no Studio podem usar esta conexão.","settings.repositories.githubInstallHint":"Ainda não há nada seu para compartilhar. Instale o app do GitHub na sua conta pessoal ou nos repositórios que você administra, ou peça ao dono da conta para conectá-la ao Studio. Um repositório em que você só colabora não é seu para compartilhar.","settings.repositories.installGithubAccount":"Instalar em outra conta","settings.repositories.checkGithubAccess":"Verificar acesso","settings.repositories.switchGithubUser":"Usar outro login do GitHub","settings.repositories.githubReturnHint":"O GitHub abre em uma nova aba. Depois de salvar o acesso, volte aqui para escolher a conta. Se ela não aparecer, use Verificar acesso.","settings.repositories.githubRefreshFailed":"Não foi possível verificar o acesso no GitHub. Tente novamente sem sair desta janela.","settings.repositories.githubConnected":"Conta do GitHub conectada","settings.repositories.manageRepositoryAccess":"Gerenciar acesso aos repositórios","settings.repositories.connectedBy":"Conectado por {name}","settings.repositories.connectedByUnknown":"Conectado por um usuário indisponível","settings.repositories.dismiss":"Dispensar","settings.repositories.tryAgain":"Tentar novamente","settings.repositories.oauthNoInstallations":"A autorização no GitHub foi concluída, mas nenhuma instalação do app está disponível para este usuário. Adicione uma conta ou organização do GitHub para concluir a configuração.","settings.repositories.oauthDenied":"A autorização foi cancelada. Conecte novamente quando quiser.","settings.repositories.oauthExpired":"Esta tentativa de conexão expirou ou pertence a outra sessão. Comece novamente por esta página.","settings.repositories.oauthNotConfigured":"Este provedor git não está configurado. Peça a um administrador para habilitá-lo.","settings.repositories.oauthFailed":"Não foi possível conectar sua conta git. Tente novamente. Se o erro persistir, entre em contato com um administrador.","settings.repositories.authKindGithubApp":"GitHub App","settings.repositories.authKindOauth":"OAuth","settings.repositories.authKindToken":"Token pessoal","settings.repositories.accessUnavailable":"Acesso indisponível","settings.repositories.accessUnavailableHint":"O Studio não consegue acessar esta conta. Autorize-a novamente para continuar usando seus repositórios.","settings.repositories.githubReconnect":"Reconectar GitHub","settings.repositories.authorizeWorkspaceAccess":"Autorizar acesso do workspace","settings.repositories.selectRepositories":"Selecionar repositórios","settings.repositories.authorizationRequired":"Falta autorizar este workspace","settings.repositories.authorizationRequiredHint":"O Studio tem uma instalação do GitHub App registrada para {login}, mas este workspace ainda não tem autorização para usá-la. Entre no GitHub e escolha os repositórios que quer compartilhar com este workspace.","settings.repositories.accessRevoked":"Acesso revogado","settings.repositories.accessRevokedHint":"O acesso a esta conta foi revogado. Autorize-a novamente para restaurar o acesso aos repositórios.","settings.repositories.noAuthorizedRepositories":"Nenhum repositório autorizado","settings.repositories.noAuthorizedRepositoriesHint":"Este workspace não tem repositórios autorizados por {login}. Selecione quais repositórios ele pode usar.","settings.repositories.providerUnavailable":"Provedor indisponível","settings.repositories.providerUnavailableHint":"Esta instalação não está configurada para acessar esta conta. Peça a um administrador para habilitar o provedor.","settings.repositories.installationMissing":"Conexão com o GitHub incompleta","settings.repositories.installationMissingHint":"O Studio não tem uma instalação do GitHub App vinculada a esta conta. Conecte o GitHub e selecione a instalação de {login}.","settings.repositories.githubReconnectUnavailable":"A reconexão com o GitHub não está disponível nesta instalação. Peça a um administrador para configurar o GitHub App e depois autorize o acesso do workspace.","settings.repositories.disconnect":"Desconectar","settings.repositories.disconnectTitle":'Desconectar "{login}"?',"settings.repositories.disconnectDescription":"Os repositórios vinculados por esta conta continuam na lista, mas viram clones públicos anônimos — os privados deixarão de funcionar.","settings.repositories.disconnected":"Conta desconectada","settings.repositories.tokenDialogTitle":"Conectar o GitLab com um token","settings.repositories.tokenDialogDescription":"Use um token de acesso pessoal, de projeto ou de grupo com o escopo api — os agentes usam ele para dar push e abrir merge requests. É guardado criptografado e não é exibido novamente.","settings.repositories.tokenDialogTitleBitbucket":"Conectar o Bitbucket com um token","settings.repositories.tokenDialogDescriptionBitbucket":"Use um token de acesso de workspace, de projeto ou de repositório com permissão de escrita em repositórios e pull requests — os agentes usam ele para dar push e abrir pull requests. Somente Bitbucket Cloud. É guardado criptografado e não é exibido novamente.","settings.repositories.addAccount":"Adicionar conta","settings.repositories.addAccountTitle":"Conectar uma conta git","settings.repositories.addAccountDescription":"Escolha onde seus repositórios ficam.","settings.repositories.chooseMethodDescription":"Escolha como o Studio deve se conectar a este provedor.","settings.repositories.back":"Voltar","settings.repositories.providerGithub":"GitHub","settings.repositories.providerGitlab":"GitLab","settings.repositories.providerBitbucket":"Bitbucket","settings.repositories.providerGithubHint":"Instale o app do Studio e escolha os repositórios a compartilhar.","settings.repositories.providerTokenOrOauthHint":"Conecte com um token de acesso, ou autorize via OAuth.","settings.repositories.providerTokenOnlyHint":"Conecte com um token de acesso.","settings.repositories.methodToken":"Usar um token de acesso","settings.repositories.methodTokenHint":"O provedor limita o token aos repositórios para os quais você o criou.","settings.repositories.methodOauth":"Autorizar via OAuth","settings.repositories.methodOauthHint":"Entre e autorize o Studio no seu navegador.","settings.repositories.methodOauthScopeNote":"Alcança todos os repositórios que esta conta enxerga; não dá para restringir a um subconjunto.","settings.repositories.methodApp":"Instalar o app do GitHub","settings.repositories.methodAppHint":"Escolha exatamente quais repositórios o Studio pode usar.","settings.repositories.tokenStepsTitle":"Como criar o token","settings.repositories.openProvider":"Abrir provedor","settings.repositories.tokenWorkspaceLabel":"Workspace","settings.repositories.tokenWorkspacePlaceholder":"sua-workspace","settings.repositories.tokenWorkspaceHint":"O slug na URL do Bitbucket. Um token de acesso não consegue dizer a que workspace pertence, então o Studio o verifica contra esta.","settings.repositories.tokenProjectLabel":"Caminho do projeto (opcional)","settings.repositories.tokenProjectPlaceholder":"grupo/projeto","settings.repositories.tokenProjectHint":"Preencha para ir direto à página de tokens desse projeto.","settings.repositories.bitbucketStep1":"Abra o repositório que o Studio deve alcançar, ou o projeto que os agrupa.","settings.repositories.bitbucketStep2":"Settings → Security → Access tokens → Create token.","settings.repositories.bitbucketStep3":"Conceda Repositories read e write, e Pull requests read e write.","settings.repositories.bitbucketStep4":"Cole o token abaixo. O Bitbucket o mantém restrito ao escopo que você deu.","settings.repositories.gitlabStep1":"Abra o projeto ou grupo que o Studio deve alcançar.","settings.repositories.gitlabStep2":"Settings → Access tokens → Add new token.","settings.repositories.gitlabStep3":"Papel: Developer ou acima. Escopo: api.","settings.repositories.gitlabStep4":"Cole o token abaixo. Um token de projeto só alcança aquele projeto.","settings.repositories.tokenHostLabel":"Host","settings.repositories.tokenHostPlaceholder":"gitlab.com","settings.repositories.tokenLabel":"Token de acesso","settings.repositories.tokenPlaceholder":"glpat-…","settings.repositories.tokenPlaceholderBitbucket":"ATCTT…","settings.repositories.connect":"Conectar","settings.repositories.connecting":"Conectando…","settings.repositories.connected":'Conectado como "{login}"',"settings.repositories.reposTitle":"Repositórios","settings.repositories.reposEmptyTitle":"Nenhum repositório ainda","settings.repositories.reposEmptyDescription":"Escolha um repositório de uma conta conectada do GitHub, GitLab ou Bitbucket.","settings.repositories.addRepository":"Adicionar repositório","settings.repositories.moreActions":"Mais ações","settings.repositories.repoAccountNeedsAttention":"Conectado por {login}, que precisa de atenção em Contas conectadas.","settings.repositories.unlink":"Desvincular","settings.repositories.unlinkTitle":'Desvincular "{path}"?',"settings.repositories.unlinkDescription":"O repositório é removido desta organização. Nada é apagado no provedor.","settings.repositories.unlinked":"Repositório desvinculado","settings.repositories.openInProvider":"Abrir repositório","settings.repositories.visibilityPublic":"Público","settings.repositories.visibilityPrivate":"Privado","settings.repositories.visibilityInternal":"Interno","settings.repositories.anonymousClone":"Clone anônimo","settings.repositories.sandboxImageLabel":"Imagem do sandbox","settings.repositories.sandboxImageDefault":"Imagem padrão","settings.repositories.sandboxImageAndroid":"Emulador Android","settings.repositories.sandboxImageError":"Não foi possível alterar a imagem do sandbox","settings.repositories.monitorDeploys":"Mostrar deploys no Monitor","settings.repositories.monitorDeploysError":"Não foi possível alterar se o Monitor mostra este repositório","settings.repositories.addDialogTitle":"Adicionar repositório","settings.repositories.cancel":"Cancelar","settings.repositories.failed":"Algo deu errado","settings.nav.connections":"Conexões","settings.nav.automations":"Automações","settings.nav.skills":"Skills","settings.nav.memory":"Memória","settings.nav.monitor":"Monitoramento","settings.nav.members":"Membros","settings.nav.security":"Segurança","settings.nav.profile":"Perfil e preferências","settings.nav.backToHome":"Voltar para o início","settings.nav.signOut":"Sair","settings.profile.avatar":"Avatar","settings.profile.displayName":"Nome de exibição","settings.profile.displayNamePlaceholder":"Seu nome","settings.profile.email":"E-mail","settings.profile.avatarUpload":"Trocar sua foto","settings.profile.avatarDialogTitle":"Foto de perfil","settings.profile.avatarDialogDescription":"Arraste para reposicionar e role para dar zoom. Só a foto em uso fica visível para outras pessoas.","settings.profile.avatarDeleted":"Foto excluída","settings.profile.avatarRemove":"Remover","settings.profile.avatarRemoved":"Foto removida","settings.profile.avatarUpdated":"Foto atualizada","settings.profile.avatarUploadError":"Falha ao atualizar a foto","settings.profile.updateSuccess":"Perfil atualizado com sucesso","settings.profile.updateError":"Falha ao atualizar o perfil","settings.passkeys.title":"Passkeys","settings.passkeys.description":"Entre com sua digital, rosto ou bloqueio de tela do dispositivo em vez de um código por e-mail.","settings.passkeys.add":"Adicionar passkey","settings.passkeys.added":"Passkey adicionada","settings.passkeys.addError":"Falha ao adicionar passkey","settings.passkeys.alreadyRegistered":"Este dispositivo já tem uma passkey para sua conta","settings.passkeys.empty":"Nenhuma passkey ainda.","settings.passkeys.unsupported":"Este navegador não suporta passkeys.","settings.passkeys.unnamed":"Passkey","settings.passkeys.createdAt":"Adicionada em {date}","settings.passkeys.delete":"Remover passkey","settings.passkeys.deleted":"Passkey removida","settings.passkeys.deleteError":"Falha ao remover passkey","settings.passkeys.deleteTitle":"Remover {name}?","settings.passkeys.deleteDescription":"Você não vai mais conseguir entrar com esta passkey. A credencial continua no seu dispositivo até você apagá-la lá.","settings.passkeys.cancel":"Cancelar","settings.preferences.title":"Preferências","settings.plan.sectionTitle":"Planejar","settings.plan.pageTitle":"Página Planejar","settings.plan.pageDescription":'Mostra o objetivo da loja e transforma ideias em business cases na página Planejar. Desligada, a página continua como "em breve".',"settings.blog.sectionTitle":"Blog","settings.blogView.title":"View Blog","settings.blogView.description":"O Blog como uma view própria do projeto, com cada post ao lado de como o site o mostra. Desligado, o blog é editado na aba Conteúdo do Site Editor.","settings.blog.aiTitle":"Blog com IA","settings.blog.aiDescription":"Contexto da marca, campanhas e geração de posts. Desligado, os posts são escritos à mão.","settings.blogBlocks.title":"Esconder os blocos de blog padrão","settings.blogBlocks.description":"Só os blocos de post do próprio site aparecem ao escrever ou importar um post. Posts existentes não mudam.","settings.blocksEditor.title":"Novo editor de blocos","settings.blocksEditor.description":"Vale para todos desta organização. O restante do Studio sempre usa o novo layout.","settings.siteAppsInstall.title":"Instalar apps do catálogo","settings.siteAppsInstall.description":"Permite que a aba Apps instale um app no site: escreve o módulo do app e o registro dele na branch, adiciona a dependência e reinicia o dev server da sandbox para o formulário de configuração aparecer. Com isso desligado o catálogo continua navegável e nada é instalável.","settings.multiAppPreview.title":"Ver vários apps de um monorepo","settings.multiAppPreview.description":"Adicione outros apps do repositório de um projeto e veja lado a lado no preview. Cada um roda o próprio servidor de desenvolvimento na sandbox.","settings.cmsAutoCommit.title":"Commitar cada salvamento na branch","settings.cmsAutoCommit.description":"No Fast Preview, cada salvamento vira um commit na branch em edição. Desligado, os salvamentos ficam no Studio: o editor e o preview mostram as mudanças, mas elas só chegam na branch quando alguém publica ou envia para revisão, em um único commit. Até lá elas não estão no repositório, então um pull request, um deploy preview ou quem trabalha na branch fora do Studio não as vê.","settings.preferences.theme":"Tema","settings.preferences.themeLight":"Tema claro","settings.preferences.themeDark":"Tema escuro","settings.preferences.themeSystem":"Tema do sistema","settings.preferences.language":"Idioma","settings.preferences.notifications":"Notificações","settings.preferences.notificationsDescription":"Notificações do navegador para eventos importantes.","settings.preferences.notificationsDenied":"Notificações negadas. Habilite-as nas configurações do seu navegador.","settings.preferences.sounds":"Sons","settings.preferences.soundsDescription":"Sons para ações dos agentes e notificações.","settings.preferences.soundsPreview":"Ouvir som de notificação","settings.preferences.toolApproval":"Aprovação de ferramentas","settings.preferences.toolApprovalDescription":"Quais ferramentas precisam da sua aprovação antes de rodar.","settings.preferences.toolApprovalAsk":"Perguntar antes de editar","settings.preferences.toolApprovalAskShort":"Perguntar","settings.preferences.toolApprovalAskDescription":"Aprova automaticamente ferramentas somente leitura","settings.preferences.toolApprovalAuto":"Aprovar automaticamente","settings.preferences.toolApprovalAutoShort":"Auto","settings.preferences.toolApprovalAutoDescription":"Executa tudo sem aprovação","settings.automations.browseAgentsButton":"Procurar projetos","settings.automations.emptyDescription":"As automações são criadas por agente. Abra um agente e adicione uma na aba de Automações.","settings.automations.emptyTitle":"Nenhuma automação ainda","settings.automations.noResultsDescription":'Nenhuma automação corresponde a "{search}"',"settings.automations.noResultsTitle":"Nenhuma automação encontrada","settings.automations.pageTitle":"Automações","settings.automations.searchPlaceholder":"Pesquisar automações...","settings.skills.importButton":"Importar skill","settings.skills.importing":"Importando…","settings.skills.importSuccess":'"{name}" importada',"settings.skills.importError":"Falha ao importar a skill","settings.skills.importMissingSkillMd":"Essa pasta não tem um SKILL.md na raiz. Selecione a pasta da própria skill.","settings.skills.importNeedsFolder":"Selecione uma pasta, não arquivos individuais — este navegador pode não suportar upload de pastas.","settings.skills.searchPlaceholder":"Pesquisar skills...","settings.skills.noDescription":"Sem descrição","settings.skills.filterAll":"Todas","settings.skills.emptyTitle":"Nenhuma skill ainda","settings.skills.emptyDescription":"Importe uma pasta com um SKILL.md para dar aos seus agentes instruções reutilizáveis que eles podem carregar sob demanda.","settings.skills.noResultsTitle":"Nenhuma skill encontrada","settings.skills.noResultsDescription":'Nenhuma skill corresponde a "{search}"',"settings.skills.cancel":"Cancelar","settings.skills.deleteButton":"Excluir","settings.skills.deleteDialogTitle":"Excluir esta skill?","settings.skills.deleteDialogDescription":'Isso remove "{name}" e seus arquivos. Essa ação não pode ser desfeita.',"settings.skills.deleteSuccess":"Skill excluída","settings.skills.deleteError":"Falha ao excluir a skill","settings.skills.importTooManyFiles":"Essa pasta tem {count} arquivos (limite {max}). Importe uma pasta com apenas os arquivos da skill.","settings.skills.importSlugTaken":'Já existe uma skill chamada "{slug}". Exclua-a antes de reimportar.',"settings.skills.errorTitle":"Não foi possível carregar as skills","settings.skills.errorDescription":"O catálogo de skills não pôde ser carregado. Você pode não ter acesso aos arquivos desta organização.","settings.skills.retry":"Tentar novamente","settings.memory.tabOrg":"Organização","settings.memory.tabUser":"Só você","settings.memory.orgHeading":"Compartilhada com todo mundo em {org}","settings.memory.userHeading":"Sua memória pessoal","settings.memory.orgPlaceholder":"Fatos que todos os chats devem saber. Por exemplo: a gente sobe na quinta, preços em BRL, o tom da marca é informal.","settings.memory.userPlaceholder":"Coisas que o Deco deve lembrar sobre você. Por exemplo: responda em português, cuido do checkout, resumos curtos.","settings.memory.saving":"Salvando…","settings.memory.saved":"Salvo","settings.memory.notSaved":"Não salvo","settings.memory.saveError":"Não deu para salvar. Continue digitando para tentar de novo.","settings.memory.readOnly":"Você pode ler esta memória, mas não alterá-la.","settings.memory.updated":"Atualizada {time}","settings.memory.notStarted":"Nada lembrado ainda","settings.memory.conflict":"Esta memória mudou enquanto você editava.","settings.memory.loadLatest":"Carregar a mais recente","settings.memory.keepMine":"Manter a minha","settings.memory.budget":"{percent}% do que os chats leem","settings.memory.budgetOver":"Os chats só leem o começo","settings.memory.budgetHint":"Os chats carregam os primeiros 16.000 caracteres. Mantenha isto como um índice curto e leve os detalhes para notas separadas.","settings.memory.errorTitle":"Não deu para carregar a memória","settings.memory.errorDescription":"Não deu para carregar os arquivos da organização. Talvez você não tenha acesso a eles.","settings.memory.retry":"Tentar novamente","settings.buckets.accessKeyIdLabel":"ID de chave de acesso","settings.buckets.addBucket":"Adicionar bucket","settings.buckets.addBucketButton":"Adicionar bucket","settings.buckets.addS3Bucket":"Adicionar bucket S3","settings.buckets.addingButton":"Adicionando…","settings.buckets.apiKeyHelperText":"Enviado como header x-api-key em cada chamada de atualização.","settings.buckets.apiKeyLabel":"Chave API","settings.buckets.bucketAdded":'Bucket "{name}" adicionado',"settings.buckets.bucketLabel":"Bucket","settings.buckets.bucketPlaceholder":"meu-bucket","settings.buckets.bucketRemoved":'Bucket "{name}" removido',"settings.buckets.bucketsConfigured":"{count} bucket(s) configurado(s)","settings.buckets.cancelButton":"Cancelar","settings.buckets.credentialsEncryptedDescription":"As credenciais são criptografadas em repouso e nunca retornadas pela API. Para Cloudflare R2, Google Cloud Storage ou MinIO, defina um endpoint personalizado.","settings.buckets.credentialsLabel":"Credenciais","settings.buckets.deleteButton":"Deletar {name}","settings.buckets.descriptionLabel":"Descrição (opcional)","settings.buckets.descriptionPlaceholder":"Para que este bucket é usado?","settings.buckets.emptyStateDescription":"Adicione um bucket compatível com S3 (AWS S3, Cloudflare R2, Google Cloud Storage, MinIO). As chaves de acesso são criptografadas em repouso e nunca retornadas pela API.","settings.buckets.endpointHelperText":"Obrigatório para provedores que não são AWS (R2, GCS, MinIO).","settings.buckets.endpointLabel":"Endpoint (opcional)","settings.buckets.endpointPlaceholder":"https://<account>.r2.cloudflarestorage.com","settings.buckets.failedToAddBucket":"Falha ao adicionar bucket","settings.buckets.failedToLoadConfigs":"Falha ao carregar configurações de arquivo: {error}","settings.buckets.failedToLoadConfigsFallback":"Falha ao carregar configurações de arquivo","settings.buckets.failedToRemoveBucket":"Falha ao remover bucket","settings.buckets.forcePathStyleHelperText":"Obrigatório para Google Cloud Storage e a maioria das configurações do MinIO.","settings.buckets.forcePathStyleLabel":"Forçar URLs path-style","settings.buckets.managed":"Gerenciado","settings.buckets.nameHelperText":"Letras, dígitos, underscore, ponto, hífen. Único dentro da organização.","settings.buckets.nameLabel":"Nome","settings.buckets.namePlaceholder":"production-uploads","settings.buckets.noBucketsConfigured":"Nenhum bucket ainda","settings.buckets.pathStyle":"path-style","settings.buckets.prefix":"prefixo: {prefix}","settings.buckets.prefixHelperText":"Todas as chaves de objeto são escritas sob este prefixo. Útil para buckets multi-tenant ou credenciais escopo de um sub-path. Uma barra à direita é adicionada automaticamente.","settings.buckets.prefixLabel":"Prefixo de chave (opcional)","settings.buckets.prefixPlaceholder":"tenants/acme/","settings.buckets.public":"público: {url}","settings.buckets.publicUrlBaseHelperText":"Host usado para construir URLs públicas retornadas pelo seletor (domínio dev do R2, CDN, host personalizado). Deixe em branco para usar o host S3 do bucket (padrão da AWS).","settings.buckets.publicUrlBaseLabel":"Base de URL pública (opcional)","settings.buckets.publicUrlBasePlaceholder":"https://pub-xxxx.r2.dev ou https://cdn.example.com","settings.buckets.refreshUrlHelperText":"Endpoint para o qual é feito POST (com a chave API abaixo) para fornecer credenciais temporárias. Deve retornar accessKeyId, secretAccessKey, sessionToken e expiration.","settings.buckets.refreshUrlLabel":"URL de atualização","settings.buckets.refreshUrlPlaceholder":"https://admin.example.com/api/acme/s3-credentials","settings.buckets.regionLabel":"Região","settings.buckets.regionPlaceholder":"us-east-1","settings.buckets.removeBucketDescription":"Isto exclui as credenciais criptografadas para {name}. O bucket em si não é afetado. Isto não pode ser desfeito.","settings.buckets.removeBucketTitle":"Remover configuração do bucket?","settings.buckets.removeButton":"Remover","settings.buckets.removingButton":"Removendo…","settings.buckets.secretAccessKeyLabel":"Chave de acesso secreta","settings.buckets.staticKeyHelperText":"Um ID de chave de acesso de longa duração e segredo, usados conforme fornecidos.","settings.buckets.staticKeyOption":"Par de chave estática (longa duração)","settings.buckets.stsSessionHelperText":"Armazena apenas um endpoint de atualização + chave API; credenciais de curta duração são buscadas sob demanda e atualizadas automaticamente.","settings.buckets.temporarySessionOption":"Sessão temporária (STS, auto-atualizada)","settings.connectClients.anyOtherClientDescription":"Qualquer outro cliente MCP: cole este endpoint nele para dar a esse runtime toda conexão habilitada nesta org, governada pelas suas regras do Decopilot.","settings.connectClients.apiKeyOption":"Chave API","settings.connectClients.copy":"Copiar","settings.connectClients.doneHideKey":"Concluído, ocultar chave","settings.connectClients.generateKey":"Gerar chave","settings.connectClients.generateKeyFor":"Gerar chave para {client}","settings.connectClients.generatingKey":"Gerando…","settings.connectClients.headlessKeyHint":"Para CI, Conductor, ou agentes headless que não conseguem abrir um navegador.","settings.connectClients.installMethod":"Método de instalação","settings.connectClients.keyCreated":"Chave criada","settings.connectClients.mcpDescription":"Para clientes sem shell. Compartilhar arquivos da Library e mandar mensagem para agentes exige a CLI + skill.","settings.connectClients.oauthDiscoveryDetails":"Detalhes de descoberta OAuth","settings.connectClients.oauthKeyHint":"Recomendado para o seu laptop. Um navegador abre no primeiro uso para você entrar, sem token para gerenciar.","settings.connectClients.oauthMetadataHint":"Os metadados do OAuth 2.1 Protected Resource são anunciados no 401:","settings.connectClients.oauthOption":"OAuth","settings.connectClients.otherClient":"Outro","settings.connectClients.pageTitle":"Conectar","settings.connectClients.recommended":"Recomendado","settings.connectClients.skillDescription":"Instale a skill do Studio e faça login uma vez. Depois, seu agente usa os chats, agentes, tarefas e arquivos da Library desta org pela CLI decocms.","settings.connectClients.skillInstallStep":"1. Instale a skill","settings.connectClients.skillLoginHint":"Um navegador abre para aprovar o login. A sessão se renova sozinha.","settings.connectClients.skillLoginStep":"2. Faça login","settings.connectClients.skillNeedsBun":"Precisa do Bun.","settings.connectClients.skillOtherAgentsHint":"O instalador pergunta em quais agentes adicionar a skill.","settings.connectClients.skillTab":"CLI + skill","settings.connectClients.skillTitle":"Conectar seu agente","settings.connectClients.snippetOneTimeWarning":"Copie este snippet agora. A chave não será exibida de novo, e você pode revogá-la na lista abaixo.","settings.connectForms.apiKeyField":"Chave API","settings.connectForms.apiKeyRequired":"A chave API é obrigatória","settings.connectForms.baseUrlField":"URL Base","settings.connectForms.baseUrlPlaceholder":"http://localhost:4000/v1","settings.connectForms.baseUrlRequired":"A URL base é obrigatória","settings.connectForms.cancel":"Cancelar","settings.connectForms.connectionSavedSuccess":"Conexão salva com sucesso","settings.connectForms.defaultKeyLabel":"Chave pessoal","settings.connectForms.failedSaveConnection":"Falha ao salvar conexão: {error}","settings.connectForms.failedSaveKey":"Falha ao salvar chave: {error}","settings.connectForms.hideApiKey":"Ocultar chave API","settings.connectForms.keySavedSuccess":"Chave salva com sucesso","settings.connectForms.labelField":"Rótulo","settings.connectForms.labelPlaceholder":"Ex: Chave pessoal","settings.connectForms.labelPlaceholderOpenAiCompatible":"Ex: Meu servidor compatível com OpenAI","settings.connectForms.labelPlaceholderPreset":"Ex: {name} prod, {name} dev","settings.connectForms.optional":"opcional","settings.connectForms.recommended":"recomendado","settings.connectForms.saveConnection":"Salvar Conexão","settings.connectForms.saveKey":"Salvar Chave","settings.connectForms.saving":"Salvando...","settings.connectForms.showApiKey":"Mostrar chave API","settings.connectProviderDialog.backButton":"Voltar","settings.connectProviderDialog.backButtonLabel":"Voltar","settings.connectProviderDialog.connectionTimedOutMessage":"Conexão expirou","settings.connectProviderDialog.defaultProviderName":"Provedor","settings.connectProviderDialog.defaultTitle":"Adicionar chave de API","settings.connectProviderDialog.oauthFailedMessage":"Falha na conexão OAuth: {error}","settings.connectProviderDialog.oauthPendingMessage":"Autorize a conexão na janela de pop-up. Este chat será fechado quando a autorização for concluída.","settings.connectProviderDialog.oauthSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.provisionPendingMessage":"Conectando…","settings.connectProviderDialog.provisionSuccessMessage":"{provider} conectado com sucesso","settings.connectProviderDialog.retryButton":"Tentar novamente","settings.connectProviderDialog.securityCheckFailedMessage":"Falha na verificação de segurança: Token de estado não corresponde","settings.connectProviderDialog.startOAuthFailedMessage":"Falha ao iniciar OAuth: {error}","settings.agentTools.chatHarnessCodexTitle":"Usar Codex em novos chats no sandbox","settings.agentTools.chatHarnessCodexDescription":"Executa novos chats no sandbox com Codex. Vincule sua assinatura do ChatGPT em Provedores de IA ou conecte um provedor da API Responses. Os chats existentes mantêm seu runtime.","settings.codexSubscription.setupHeading":"Conecte o Codex","settings.codexSubscription.setupDescription":"Vincule sua assinatura do ChatGPT em Configurações → Provedores de IA ou conecte um provedor com um endpoint da API Responses da OpenAI.","settings.codexSubscription.connect":"Vincular","settings.codexSubscription.connected":"Assinatura do ChatGPT vinculada","settings.codexSubscription.disconnect":"Desconectar","settings.codexSubscription.disconnected":"Assinatura do ChatGPT desconectada","settings.codexSubscription.howTo":"Execute este comando na sua máquina, entre com o ChatGPT e cole o conteúdo de ~/.codex/auth.json:","settings.codexSubscription.title":"ChatGPT para Codex","settings.codexSubscription.tokenPlaceholder":"Cole o conteúdo de auth.json","settings.claudeSubscription.connect":"Vincular","settings.claudeSubscription.connected":"Assinatura Claude conectada","settings.claudeSubscription.disconnect":"Desconectar","settings.claudeSubscription.disconnected":"Assinatura Claude desconectada","settings.claudeSubscription.howTo":"Gere um token na sua própria máquina com","settings.claudeSubscription.title":"Claude Pro ou Max","settings.claudeSubscription.tokenPlaceholder":"Cole seu token","settings.githubCopilot.connect":"Vincular","settings.githubCopilot.connected":"GitHub Copilot conectado","settings.githubCopilot.disconnect":"Desconectar","settings.githubCopilot.disconnected":"GitHub Copilot desconectado","settings.githubCopilot.howTo":"Crie um token fine-grained do GitHub com a permissão Copilot Requests","settings.githubCopilot.sharedBy":"Você está usando o plano GitHub Copilot da organização, compartilhado por {name}.","settings.githubCopilot.ownPlanUsed":"Suas execuções usam o seu próprio plano. O plano compartilhado por {name} só vale para quem não vinculou um.","settings.githubCopilot.shareTitle":"Compartilhar com a org","settings.githubCopilot.shareDescription":"O compartilhamento só vale para os membros desta organização que não vincularam o próprio plano GitHub Copilot.","settings.githubCopilot.shareTaken":"{name} já compartilha um plano. Para compartilhar o seu, peça que {name} pare de compartilhar primeiro.","settings.githubCopilot.title":"GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Cole seu token github_pat_…","settings.ownAccounts.more":"Mais ações","settings.providerKeyRow.edit":"Editar","settings.ownAccounts.title":"Suas contas","settings.ownAccounts.cancel":"Cancelar","settings.ownAccounts.addApiKey":"Adicionar chave de API","settings.ownAccounts.linked":"Vinculado","settings.ownAccounts.expired":"Expirado","settings.decoCreditsHero.add":"Adicionar","settings.decoCreditsHero.addCredits":"Adicionar créditos","settings.decoCreditsHero.amountPlaceholder":"50","settings.decoCreditsHero.availableBalance":"Saldo de crédito disponível","settings.decoCreditsHero.cancel":"Cancelar","settings.decoCreditsHero.cancelButton":"Cancelar","settings.decoCreditsHero.custom":"Personalizado","settings.decoCreditsHero.decoAiGatewayAlt":"Deco AI Gateway","settings.decoCreditsHero.disconnect":"Desconectar","settings.decoCreditsHero.disconnectButton":"Desconectar","settings.decoCreditsHero.disconnectDescription":"Isso removerá o Deco AI Gateway deste espaço de trabalho. Seu saldo de crédito é preservado e estará disponível se você se reconectar.","settings.decoCreditsHero.disconnectError":"Falha ao desconectar: {message}","settings.decoCreditsHero.disconnectSuccess":"Deco AI Gateway desconectado","settings.decoCreditsHero.disconnectTitle":"Desconectar Deco AI Gateway","settings.decoCreditsHero.refreshBalance":"Atualizar saldo","settings.decoCreditsHero.title":"Deco AI Gateway","settings.planUsage.title":"Plano","settings.planUsage.loadFailed":"Não foi possível ler o plano desta organização.","settings.planUsage.retry":"Tentar novamente","settings.planUsage.aiUsage":"Uso de IA","settings.planUsage.usageUnavailable":"Indisponível","settings.planUsage.used":"usado","settings.plans.perMonth":"/ mês","settings.planUsage.periodHint":"Reinicia no começo de cada ciclo de cobrança.","settings.planUsage.noAiIncluded":"Sem uso de IA incluído.","settings.planUsage.included":"Incluído no plano","settings.planUsage.credits":"Créditos adicionados","settings.planUsage.creditsInUse":"Em uso","settings.planUsage.manageBilling":"Gerenciar cobrança","settings.planUsage.portalFailed":"Não foi possível abrir a cobrança: {message}","settings.planUsage.subscribe":"Assinar","settings.planUsage.changePlan":"Mudar de plano","settings.planUsage.changed":"Plano atualizado","settings.planUsage.changeFailed":"Não foi possível trocar o plano: {message}","settings.planUsage.feature.cms":"CMS","settings.planUsage.feature.chat":"Chat superagent","settings.planUsage.feature.monitoring":"Analytics do site","settings.planUsage.feature.kanban":"Kanban agêntico","settings.planUsage.feature.model_choice":"Escolher o modelo","settings.planUsage.feature.credits":"Créditos extras","settings.planUsage.feature.diagnostic":"Deco Score","settings.planUsage.feature.diagnostic_enriched":"Deco Score enriquecido","settings.plans.title":"Planos","settings.plans.loadFailed":"Não foi possível carregar os planos.","settings.plans.currentPlan":"Plano atual","settings.plans.firstMonthFree":"1º mês grátis","settings.plans.startTrial":"Começar teste grátis","settings.plans.custom.name":"Custom","settings.plans.custom.description":"Para grandes times com contrato próprio","settings.plans.custom.cta":"Fale com a gente","settings.plans.managed":"Seu plano: {plan}. Fale com a gente para mudá-lo.","settings.plans.invoice.cta":"Adicionar à minha fatura","settings.plans.invoice.confirm":"O plano {plan} será adicionado à sua próxima fatura. Mudar agora?","settings.plans.invoice.cancel":"Cancelar","settings.plans.invoice.switch":"Mudar de plano","settings.paywall.bullets.kanban.1":"Agentes que fazem o trabalho e movem os cards","settings.paywall.bullets.kanban.2":"Um board que o time inteiro compartilha","settings.paywall.bullets.kanban.3":"Colunas, tags e prioridades","settings.paywall.bullets.allowance.1":"Uma franquia mensal que reinicia","settings.paywall.bullets.allowance.2":"Compre créditos extras quando quiser","settings.paywall.bullets.allowance.3":"Sua mensagem fica no composer","settings.paywall.bullets.cms.1":"Edite conteúdo e layout","settings.paywall.bullets.cms.2":"Preview ao vivo enquanto edita","settings.paywall.bullets.cms.3":"Publique quando estiver do jeito certo","settings.paywall.bullets.monitoring.1":"Pageviews, visitantes e origens","settings.paywall.bullets.monitoring.2":"Taxa de cache, latência e erros","settings.paywall.bullets.monitoring.3":"Tráfego por país e dispositivo","settings.paywall.upgradeTitle":"{feature} vem com o {plan}","settings.paywall.upgradeDescription":"Libera para todo mundo na organização.","settings.paywall.description":"O plano desta organização não inclui {feature}. Troque de plano para liberar para todo mundo na org.","settings.paywall.seePlans":"Ver planos","settings.paywall.dismiss":"Agora não","settings.paywall.serverRefusedFeature":"Seu plano não inclui este recurso. Peça a um owner para fazer upgrade, ou veja os planos.","settings.paywall.serverRefusedBudget":"Esta organização usou todo o limite mensal de IA. O chat e as tarefas ficam pausados até fazer upgrade ou adicionar créditos.","settings.decoCreditsHero.topUpFailed":"Recarga falhou: {message}","settings.deleteOrganizationSection.cancel":"Cancelar","settings.deleteOrganizationSection.dangerZone":"Zona de risco","settings.deleteOrganizationSection.deleteButton":"Deletar","settings.deleteOrganizationSection.deleteOrganizationAction":"Deletar organização","settings.deleteOrganizationSection.deleteOrganizationDescription":"Apaga esta organização e todos os seus dados, para sempre.","settings.deleteOrganizationSection.deleteOrganizationQuestion":"Deletar organização?","settings.deleteOrganizationSection.deleteOrganizationTitle":"Deletar organização","settings.deleteOrganizationSection.deleteWarning":"Isto irá deletar permanentemente todos os dados associados com {organizationName}. Esta ação não pode ser desfeita.","settings.deleteOrganizationSection.deleting":"Deletando…","settings.deleteOrganizationSection.failedToDeleteOrganization":"Falha ao deletar organização","settings.deleteOrganizationSection.organizationDeleted":"Organização deletada","settings.deleteOrganizationSection.typeToConfirm":"Digite {organizationName} para confirmar:","settings.domainSettings.addDnsRecordInstruction":"Adicione o registro DNS abaixo e verifique.","settings.domainSettings.addDomain":"Adicionar domínio","settings.domainSettings.adding":"Adicionando…","settings.domainSettings.copied":"Copiado","settings.domainSettings.dnsInstructions":"Adicione este registro TXT no seu provedor de DNS e clique em Verificar:","settings.domainSettings.domainAdded":"Domínio adicionado","settings.domainSettings.domainPlaceholder":"acme.com","settings.domainSettings.domainRemoved":"Domínio removido","settings.domainSettings.domainVerified":"Domínio verificado","settings.domainSettings.emailDomains":"Domínios de e-mail","settings.domainSettings.emailDomainsDescription":"Permita que pessoas com um domínio de e-mail correspondente descubram e se juntem a esta organização.","settings.domainSettings.failedAddDomain":"Falha ao adicionar domínio","settings.domainSettings.failedRemove":"Falha ao remover","settings.domainSettings.failedUpdate":"Falha ao atualizar","settings.domainSettings.failedVerify":"Falha ao verificar","settings.domainSettings.joinMode":"Modo de entrada","settings.domainSettings.joinModeAuto":"Entrada automática","settings.domainSettings.joinModeHelpAuto":"Qualquer pessoa com um e-mail @{domain} verificado entra automaticamente.","settings.domainSettings.joinModeHelpOff":"Não detectável — ninguém pode encontrar ou se juntar através deste domínio.","settings.domainSettings.joinModeHelpRequest":"Pessoas com um e-mail @{domain} verificado podem solicitar entrada; um administrador aprova.","settings.domainSettings.joinModeOff":"Desativado","settings.domainSettings.joinModeRequest":"Requer aprovação","settings.domainSettings.joinModeUpdated":"Modo de entrada atualizado","settings.domainSettings.pending":"Pendente","settings.domainSettings.remove":"Remover","settings.domainSettings.txt":"TXT","settings.domainSettings.txtRecordNotFound":"Registro TXT não encontrado ainda — o DNS pode levar alguns minutos.","settings.domainSettings.value":"valor","settings.domainSettings.verified":"Verificado","settings.domainSettings.verify":"Verificar","settings.editProviderDialog.apiKey":"Chave de API","settings.editProviderDialog.apiKeyRequiredForBaseUrlChange":"Informe a chave de API novamente para confirmar a mudança da URL base","settings.editProviderDialog.baseUrl":"URL base","settings.editProviderDialog.baseUrlPlaceholder":"http://localhost:4000/v1","settings.editProviderDialog.cancel":"Cancelar","settings.editProviderDialog.editTitle":"Editar {name}","settings.editProviderDialog.failedToUpdate":"Falha ao atualizar: {error}","settings.editProviderDialog.hideApiKey":"Ocultar chave de API","settings.editProviderDialog.label":"Rótulo","settings.editProviderDialog.labelPlaceholder":"p.ex. Chave pessoal","settings.editProviderDialog.labelRequired":"Rótulo é obrigatório","settings.editProviderDialog.leaveBlankHint":"deixe em branco para manter atual","settings.editProviderDialog.providerUpdated":"Provedor atualizado","settings.editProviderDialog.save":"Salvar","settings.editProviderDialog.saving":"Salvando...","settings.editProviderDialog.showApiKey":"Mostrar chave de API","settings.joinRequestsSection.approve":"Aprovar","settings.joinRequestsSection.approveFailed":"Falha ao aprovar","settings.joinRequestsSection.approved":"Solicitação aprovada","settings.joinRequestsSection.deny":"Recusar","settings.joinRequestsSection.denied":"Solicitação recusada","settings.joinRequestsSection.denyFailed":"Falha ao recusar","settings.joinRequestsSection.description":"Pessoas que solicitaram entrada por um domínio em modo de aprovação.","settings.joinRequestsSection.title":"Solicitações de entrada","settings.review.title":"Revisores e merge","settings.review.description":"O Reviewer roda no pull request de uma tarefa quando o card chega em Em Revisão.","settings.review.reviewerTitle":"Reviewer","settings.review.reviewerDescription":"Revisa o código com as skills de review do repositório, corrige o que encontra e testa a mudança no preview do deploy. Uma aprovação move o card para QA; o que não conseguir resolver volta para você.","settings.review.cheapReviewerModelTitle":"Rodar os revisores em um modelo mais barato","settings.review.cheapReviewerModelDescription":"Usa um modelo menor que o do Super Agent. Mais barato, talvez menos profundo.","settings.review.autoMergeTitle":"Auto-merge","settings.review.autoMergeDescription":"Mescla o pull request quando o card chega em Pronto para Deploy, sem esperar alguém clicar em Subir para produção.","settings.review.autoResolveConflictsTitle":"Resolver conflitos de merge automaticamente","settings.review.autoResolveConflictsDescription":"Quando um pull request em Pronto para Deploy conflita com a base, o Super Agent mescla a base e dá push. Segue o Auto-merge, a menos que você ajuste aqui.","settings.review.autoAssignReportTasksTitle":"Atribuir tarefas do Deco Score ao Super Agent","settings.review.autoAssignReportTasksDescription":"Tarefas criadas pelo Deco Score vão para o Super Agent em vez de ficarem sem responsável.","settings.review.updateError":"Não foi possível atualizar a configuração","settings.taskPrompt.title":"System prompt","settings.taskPrompt.fieldLabel":"Instruções","settings.taskPrompt.placeholder":"ex.: Use pnpm, nunca npm. Nunca edite arquivos em src/generated/.","settings.taskPrompt.save":"Salvar","settings.taskPrompt.saved":"System prompt salvo","settings.taskPrompt.failed":"Não foi possível salvar o system prompt","settings.taskPrompt.skillsLabel":"Skills em todas as colunas","settings.agentTools.title":"Ferramentas do agente","settings.agentTools.description":"O que os runs de agente de código alcançam além do repositório.","settings.agentTools.orgMcpsTitle":"Dar aos runs as conexões MCP desta organização","settings.agentTools.orgMcpsDescription":"O Super Agent e os revisores recebem todo MCP conectado. As ferramentas só carregam quando necessário, então mais conexões não ocupam o contexto.","settings.agentTools.orgMcpsPickTitle":"Conexões que os runs alcançam","settings.agentTools.orgMcpsPickDescription":"Desligue uma para deixá-la fora dos runs, por exemplo um MCP do tracker em que o run já reporta. Conexões novas começam ligadas.","settings.agentTools.orgMcpsPickAriaLabel":"Deixar os runs alcançarem {name}","settings.agentTools.orgMcpsPickEmpty":"Esta organização ainda não tem conexões MCP","settings.agentTools.orgMcpsPickFailed":"Não foi possível salvar quais conexões os runs alcançam","settings.agentTools.orgMcpsPickSearch":"Buscar conexões…","settings.agentTools.orgMcpsPickLoadFailed":"Não foi possível carregar as conexões MCP","settings.agentTools.orgMcpsPickEnableAll":"Ligar todas","settings.agentTools.orgMcpsPickDisableAll":"Desligar todas","settings.agentTools.orgMcpsPickNoMatch":"Nenhuma conexão corresponde a essa busca","settings.agentTools.orgMcpsPickSave":"Salvar","settings.agentTools.orgMcpsPickSaving":"Salvando…","settings.agentTools.orgMcpsPickDiscard":"Descartar","settings.agentTools.orgMcpsPickSaved":"Conexões que os runs alcançam salvas","settings.agentTools.chatRuntimeSection":"Chats","settings.agentTools.chatHarnessSandboxOnlyTitle":"Rodar chats com o Claude Code em um sandbox","settings.agentTools.chatHarnessSandboxOnlyDescription":"Cada chat ganha um sandbox próprio em vez de rodar no Decopilot. A primeira mensagem espera o sandbox iniciar. Requer uma chave da Anthropic, OpenRouter ou do gateway de IA da deco, ou uma assinatura do Claude.","settings.agentTools.codingAgentsClaudeCodeTitle":"Rodar chats de Code Agent com o Claude Code","settings.agentTools.codingAgentsClaudeCodeDescription":"Chats em um agente importado do GitHub rodam no sandbox desse agente, junto do código. As respostas chegam de turno inteiro. Vale só para chats novos.","settings.orgRoleDetail.addMember":"Adicionar Membro","settings.orgRoleDetail.addMembersToGrantPermissions":"Adicione membros para conceder as permissões configuradas.","settings.orgRoleDetail.addMembersToRole":"Adicionar Membros ao Papel","settings.orgRoleDetail.addWithCount":"Adicionar ({count})","settings.orgRoleDetail.added":"Adicionado","settings.orgRoleDetail.allConnections":"Todas as conexões","settings.orgRoleDetail.allConnectionsDescription":"Todas as ferramentas de todas as conexões, inclusive as adicionadas depois. Desmarque uma conexão para deixá-la de fora.","settings.orgRoleDetail.allModels":"Todos os modelos","settings.orgRoleDetail.allOrgPermissions":"Todas as permissões da organização","settings.orgRoleDetail.allProjects":"Todos os projetos","settings.orgRoleDetail.allProjectsDescription":"Este papel pode acessar todos os projetos, inclusive os criados depois. Desmarque um projeto para escondê-lo deste papel, ou desative para escolher projetos específicos.","settings.orgRoleDetail.builtinRolePermissionsCannotBeChanged":"Permissões de papel integrado não podem ser alteradas","settings.orgRoleDetail.cancel":"Cancelar","settings.orgRoleDetail.createRole":"Criar função","settings.orgRoleDetail.enabledCount":"{enabledCount}/{total} ativados","settings.orgRoleDetail.failedToSaveRole":"Falha ao salvar papel","settings.orgRoleDetail.general":"Geral","settings.orgRoleDetail.grantFullAccessToAllFeaturesBelow":"Conceder acesso completo a todos os recursos abaixo","settings.orgRoleDetail.loadingModels":"Carregando modelos...","settings.orgRoleDetail.mcpPermissions":"Permissões MCP","settings.orgRoleDetail.members":"Membros","settings.orgRoleDetail.membersUpdatedSuccessfully":"Membros atualizados com sucesso!","settings.orgRoleDetail.models":"Modelos","settings.orgRoleDetail.noLlmConnectionsConfigured":"Nenhuma conexão LLM configurada","settings.orgRoleDetail.noMembers":"Sem membros","settings.orgRoleDetail.noMembersAvailable":"Nenhum membro disponível","settings.orgRoleDetail.noMembersFound":"Nenhum membro encontrado","settings.orgRoleDetail.noMembersMatch":'Nenhum membro corresponde a "{searchQuery}"',"settings.orgRoleDetail.noPermissionsMatch":'Nenhuma permissão corresponde a "{searchQuery}"',"settings.orgRoleDetail.noProjectsAvailable":"Nenhum projeto disponível","settings.orgRoleDetail.noProjectsMatch":'Nenhum projeto corresponde a "{searchQuery}"',"settings.orgRoleDetail.organizationPermissions":"Permissões da Organização","settings.orgRoleDetail.owner":"Proprietário","settings.orgRoleDetail.ownerMembershipCannotBeChanged":"A associação de proprietário não pode ser alterada","settings.orgRoleDetail.projects":"Projetos","settings.orgRoleDetail.removeMember":"Remover {name} do papel","settings.orgRoleDetail.roleCreatedSuccessfully":"Papel criado com sucesso!","settings.orgRoleDetail.roleName":"Nome do papel","settings.orgRoleDetail.roleNameIsRequired":"Nome do papel é obrigatório","settings.orgRoleDetail.roleUpdatedSuccessfully":"Papel atualizado com sucesso!","settings.orgRoleDetail.saveChanges":"Salvar Alterações","settings.orgRoleDetail.saving":"Salvando...","settings.orgRoleDetail.searchMcpServers":"Procurar servidores MCP...","settings.orgRoleDetail.searchMembers":"Procurar membros...","settings.orgRoleDetail.searchModels":"Procurar modelos...","settings.orgRoleDetail.searchPermissions":"Procurar permissões...","settings.orgRoleDetail.searchProjects":"Procurar projetos...","settings.orgRoleDetail.selectMembersToAddToThisRole":"Selecione membros para adicionar a este papel.","settings.orgRoleDetail.showMore":"Mostrar mais ({remaining} restantes)","settings.orgRoleDetail.somethingWentWrong":"Algo deu errado","settings.orgRoleDetail.unknown":"Desconhecido","settings.orgRoleDetail.userIsDefaultRoleMessage":"Usuário é o papel padrão — membros não podem ser removidos dele; atribua outro papel para alterar seu acesso","settings.orgSso.cancelButton":"Cancelar","settings.orgSso.clientIdLabel":"ID do cliente","settings.orgSso.clientIdPlaceholder":"seu-id-cliente","settings.orgSso.clientSecretEditDescription":"Deixe em branco para manter atual","settings.orgSso.clientSecretLabel":"Segredo do cliente","settings.orgSso.clientSecretPlaceholder":"seu-segredo-cliente","settings.orgSso.clientSecretRequiredError":"O segredo do cliente é obrigatório na primeira configuração","settings.orgSso.configurationRemovedSuccess":"Configuração SSO removida","settings.orgSso.configurationSavedSuccess":"Configuração SSO salva","settings.orgSso.configureSsoButton":"Configurar SSO","settings.orgSso.discoveryEndpointDescription":"Opcional. Detectado pelo issuer quando vazio.","settings.orgSso.discoveryEndpointLabel":"Endpoint de descoberta","settings.orgSso.discoveryEndpointPlaceholder":"Detectado automaticamente do issuer","settings.orgSso.domainLabel":"Domínio","settings.orgSso.editConfigButton":"Editar configuração","settings.orgSso.emailDomainDescription":"O domínio de e-mail que este provedor cobre.","settings.orgSso.emailDomainLabel":"Domínio de e-mail","settings.orgSso.emailDomainPlaceholder":"empresa.com","settings.orgSso.enforceSsoDescription":"Exigir que todos os membros se autentiquem via SSO","settings.orgSso.enforceSsoLabel":"Forçar SSO","settings.orgSso.enforcementDisabledSuccess":"Aplicação de SSO desativada","settings.orgSso.enforcementEnabledSuccess":"Aplicação de SSO ativada","settings.orgSso.issuerUrlDescription":"A URL do issuer OIDC do seu provedor de identidade.","settings.orgSso.issuerUrlLabel":"URL do issuer","settings.orgSso.issuerUrlPlaceholder":"https://login.microsoftonline.com/{tenant}/v2.0","settings.orgSso.loading":"Carregando...","settings.orgSso.providerLabel":"Provedor","settings.orgSso.removeButton":"Remover","settings.orgSso.removeConfirmation":"Tem certeza de que deseja remover a configuração SSO?","settings.orgSso.removeSsoConfigError":"Falha ao remover configuração SSO","settings.orgSso.requiredFieldsError":"Issuer, ID do Cliente e Domínio são obrigatórios","settings.orgSso.saveSsoConfigError":"Falha ao salvar configuração SSO","settings.orgSso.savingButton":"Salvando...","settings.orgSso.scopesLabel":"Escopos","settings.orgSso.scopesPlaceholder":"openid email profile","settings.orgSso.sectionTitle":"Single sign-on","settings.orgSso.securityTitle":"Segurança","settings.orgSso.testSsoButton":"Testar SSO","settings.orgSso.toggleEnforcementError":"Falha ao alternar aplicação de SSO","settings.orgSso.updateButton":"Atualizar","settings.organizationForm.failedToReadImage":"Falha ao ler imagem","settings.organizationForm.failedToUpdateOrg":"Falha ao atualizar organização","settings.organizationForm.imageTooLarge":"Imagem deve ser menor que 2MB","settings.organizationForm.logoDescription":"Recomendado: 256×256px.","settings.organizationForm.logoTitle":"Logo","settings.organizationForm.namePlaceholder":"Nome da organização","settings.organizationForm.nameRequired":"O nome é obrigatório","settings.organizationForm.nameTitle":"Nome","settings.organizationForm.nameTooLong":"O nome é muito longo","settings.organizationForm.updateSuccess":"Organização atualizada com sucesso","settings.organizationForm.uploadLogoLabel":"Enviar logo da organização","settings.organizationForm.urlDescription":"Usada em links e integrações de API, por isso não pode ser alterada.","settings.organizationForm.urlTitle":"URL","settings.providerKeyRow.addedTimeAgo":"{label} · adicionada há {time}","settings.providerKeyRow.cancel":"Cancelar","settings.providerKeyRow.claudeCode":"Claude Code","settings.providerKeyRow.codex":"Codex","settings.providerKeyRow.delete":"Excluir","settings.providerKeyRow.deleteApiKey":"Excluir chave de API","settings.providerKeyRow.failedToDeleteKey":"Falha ao excluir chave: {error}","settings.providerKeyRow.keyDeleted":"Chave excluída","settings.roles.allConnections":"Todas as conexões","settings.roles.basicAccess":"Acesso básico","settings.roles.builtIn":"Integrada","settings.roles.cancel":"Cancelar","settings.roles.columnMembers":"Membros","settings.roles.columnPermissions":"Permissões","settings.roles.columnRole":"Função","settings.roles.columnType":"Tipo","settings.roles.connectionCount":"{count} conexão(ões)","settings.roles.createRole":"Nova função","settings.roles.createRoleGetStarted":"Crie uma função para começar.","settings.roles.custom":"Personalizada","settings.roles.delete":"Excluir","settings.roles.deleteRoleConfirm":'Tem certeza que deseja excluir a função "{role}"? Esta ação não pode ser desfeita.',"settings.roles.deleteRoleTitle":"Excluir Função","settings.roles.deletedSuccessfully":"Função excluída com sucesso!","settings.roles.failedToLoad":"Falha ao carregar funções","settings.roles.fullAccess":"Acesso completo","settings.roles.fullOrgAccess":"Acesso completo da organização","settings.roles.noPermissions":"Sem permissões","settings.roles.noRoles":"Sem funções","settings.roles.noRolesFound":"Nenhuma função encontrada","settings.roles.noRolesMatchSearch":'Nenhuma função corresponde a "{search}"',"settings.roles.orgPermsCount":"{count} permissão(ões) da org","settings.roles.pageTitle":"Funções","settings.roles.roleAdmin":"Administrador","settings.roles.roleOwner":"Proprietário","settings.roles.roleUser":"Usuário","settings.roles.searchPlaceholder":"Pesquisar funções...","settings.apiKeys.accessLabel":"Acesso","settings.apiKeys.accessReadOnly":"Somente leitura","settings.apiKeys.accessReadOnlyDescription":"As {count} ferramentas do Studio que nunca alteram dados. Ferramentas novas ficam de fora.","settings.apiKeys.accessCustom":"Escolher ferramentas","settings.apiKeys.accessCustomDescription":"Só as ferramentas do Studio e das conexões que você marcar. Ferramentas novas ficam de fora.","settings.apiKeys.accessFull":"Acesso total","settings.apiKeys.accessFullDescription":"Todas as ferramentas, inclusive as que apagam dados e as que forem lançadas depois.","settings.apiKeys.expired":"Expirada","settings.apiKeys.expiredOn":"Expirou em {date}","settings.apiKeys.expiresOn":"Expira em {date}","settings.apiKeys.expiryDays":"{days} dias","settings.apiKeys.expiryLabel":"Validade","settings.apiKeys.expiryNever":"Sem validade","settings.apiKeys.expiryYear":"1 ano","settings.apiKeys.neverExpires":"Sem validade","settings.apiKeys.readOnlyBadge":"Leitura","settings.apiKeys.toolCount":"{count} ferramentas","settings.apiKeys.studioTools":"Studio","settings.apiKeys.toolsGroupCount":"{count}/{total}","settings.apiKeys.toolsNone":"Nenhuma ferramenta","settings.apiKeys.toolsSelectGroup":"Selecionar todas as ferramentas de {name}","settings.apiKeys.toolsSelected":"{count} selecionadas","settings.apiKeys.toolsLoadFailed":"Não foi possível carregar a lista de ferramentas. Feche e tente de novo.","settings.apiKeys.toolsSearch":"Buscar ferramentas…","settings.apiKeys.cancelButton":"Cancelar","settings.apiKeys.copied":"Copiado para a área de transferência","settings.apiKeys.copyKey":"Copiar chave","settings.apiKeys.createButton":"Criar chave","settings.apiKeys.createdAt":"Criada em {date}","settings.apiKeys.createdDescription":"Copie esta chave agora — ela não será mostrada novamente.","settings.apiKeys.createdTitle":"Chave de API criada","settings.apiKeys.creatingButton":"Criando…","settings.apiKeys.deleteDescription":"Qualquer aplicação usando esta chave perderá acesso imediatamente. Isso não pode ser desfeito.","settings.apiKeys.deleteKey":"Excluir chave","settings.apiKeys.deleteTitle":'Excluir "{name}"?',"settings.apiKeys.done":"Concluído","settings.apiKeys.emptyDescription":"Crie uma chave para autenticar aplicações externas nesta organização.","settings.apiKeys.emptyTitle":"Nenhuma chave de API ainda","settings.apiKeys.failedToCreateKey":"Falha ao criar chave de API","settings.apiKeys.failedToDeleteKey":"Falha ao excluir chave de API","settings.apiKeys.failedToLoadError":"Falha ao carregar chaves de API: {error}","settings.apiKeys.keyDeleted":'Chave de API "{name}" excluída',"settings.apiKeys.loading":"Carregando chaves de API…","settings.apiKeys.nameLabel":"Nome","settings.apiKeys.namePlaceholder":"Minha integração","settings.apiKeys.newKey":"Nova chave","settings.apiKeys.newKeyDescription":"Dê à chave só as ferramentas de que ela precisa. Quem tiver a chave pode usá-las, mesmo se ela vazar.","settings.apiKeys.newKeyTitle":"Nova chave de API","settings.apiKeys.sectionDescription":"Para scripts e clientes que não conseguem entrar pelo navegador.","settings.apiKeys.sectionTitle":"Chaves de API","settings.secrets.cancelButton":"Cancelar","settings.secrets.createButton":"Criar segredo","settings.secrets.creatingButton":"Criando…","settings.secrets.descriptionLabel":"Descrição (opcional)","settings.secrets.descriptionPlaceholder":"Para que é usado este segredo?","settings.secrets.emptyDescription":"Armazene chaves de API, tokens e outros valores sensíveis. Os valores são criptografados em repouso e nunca retornados pela API.","settings.secrets.emptyTitle":"Nenhum segredo ainda","settings.secrets.failedToCreateSecret":"Falha ao criar segredo","settings.secrets.failedToLoadError":"Falha ao carregar segredos: {error}","settings.secrets.nameHelp":"Letras, dígitos, sublinhado, ponto, hífen. Sem distinção entre maiúsculas e minúsculas dentro do seu escopo.","settings.secrets.nameLabel":"Nome","settings.secrets.namePlaceholder":"STRIPE_API_KEY","settings.secrets.newSecret":"Novo segredo","settings.secrets.newSecretDescription":"Armazenado criptografado no cofre de credenciais. Escolha quem pode lê-lo.","settings.secrets.newSecretTitle":"Novo segredo","settings.secrets.scopeLabel":"Escopo","settings.secrets.scopeOrganization":"Organização","settings.secrets.scopeOrganizationDescription":"Organização — visível para todos os membros","settings.secrets.scopePrivate":"Privado","settings.secrets.scopePrivateDescription":"Privado — visível apenas para mim","settings.secrets.secretCreated":'Segredo "{name}" criado',"settings.secrets.secretsCountSingular":"{count} segredo armazenado","settings.secrets.secretsCountPlural":"{count} segredos armazenados","settings.secrets.sectionOrganization":"Organização","settings.secrets.sectionPrivate":"Privado para mim","settings.secrets.valueLabel":"Valor","settings.simpleModeSection.defaultBadge":"Padrão","settings.simpleModeSection.defaultModels":"Modelos padrão","settings.simpleModeSection.description":"Os modelos marcados como Padrão são os recomendados e mudam quando a recomendação muda. Escolha um modelo para mantê-lo.","settings.simpleModeSection.failedToSave":"Falha ao salvar: {error}","settings.simpleModeSection.notAvailableWithCurrentProvider":"Não disponível com o provedor atual","settings.simpleModeSection.pickModel":"Escolher modelo","settings.simpleModeSection.saved":"Salvo","settings.simpleModeSection.saving":"Salvando…","settings.simpleModeSection.tierDeepResearch":"Pesquisa aprofundada","settings.simpleModeSection.tierFast":"Rápido","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.simpleModeSection.useDefault":"Usar padrão","settings.aiProviders.groupChat":"Chat e tarefas","settings.aiProviders.groupMedia":"Só imagens e busca na web","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.infraBilling.noSites":"Esta organização ainda não é dona de nenhum site deco.cx.","settings.infraBilling.siteLabel":"Sites","settings.infraBilling.pickASite":"Selecione ao menos um site.","settings.infraBilling.tooManySites":"Mostrando os primeiros {count} sites. Selecione sites específicos para ver os demais.","settings.infraBilling.multipleTeams":"Estes sites são cobrados por {count} times legados. O plano e as faturas de cada time estão em Faturas.","settings.infraBilling.noTeam":"Estes sites não estão vinculados a um time de cobrança legado.","settings.infraBilling.partialTeam":"O time legado deste site também cobra sites fora desta organização, então o plano e as faturas não aparecem aqui.","settings.infraBilling.billingUnavailable":"Plano e faturas estão temporariamente indisponíveis.","settings.infraBilling.monthLabel":"Mês","settings.infraBilling.warehouseUnavailable":"Não foi possível ler os dados de uso, então os números abaixo estão incompletos.","settings.infraBilling.summaryTitle":"Resumo","settings.infraBilling.metricsTitle":"Métricas","settings.infraBilling.invoicesTitle":"Faturas","settings.infraBilling.detailsTitle":"Detalhes de cobrança","settings.infraBilling.currentPlan":"Plano atual","settings.infraBilling.nextBilling":"Próxima cobrança","settings.infraBilling.manageButton":"Gerenciar","settings.infraBilling.portalError":"Não foi possível abrir o portal de cobrança: {message}","settings.infraBilling.requestsPerPageview":"Requisições por pageview","settings.infraBilling.plan.free":"Free","settings.infraBilling.plan.pro":"Pro","settings.infraBilling.plan.enterprise":"Enterprise","settings.infraBilling.pageviews":"Pageviews","settings.infraBilling.pageviewsDescription":"Páginas entregues a visitantes neste mês.","settings.infraBilling.requests":"Requisições","settings.infraBilling.requestsDescription":"Requisições de CDN e da infraestrutura compartilhada.","settings.infraBilling.dataTransfer":"Transferência de dados","settings.infraBilling.dataTransferDescription":"Banda entregue pela edge e pela origem.","settings.infraBilling.noInvoices":"Nenhuma fatura emitida para este time.","settings.infraBilling.invoiceReference":"Referência","settings.infraBilling.invoiceDue":"Vencimento","settings.infraBilling.invoiceAmount":"Valor","settings.infraBilling.invoiceStatus":"Status","settings.infraBilling.invoiceDocuments":"Documentos","settings.infraBilling.invoiceNf":"Nota fiscal","settings.infraBilling.invoiceBankSlip":"Boleto","settings.infraBilling.invoiceBankTransfer":"Transferência","settings.infraBilling.statusPaid":"Paga","settings.infraBilling.statusOverdue":"Vencida","settings.infraBilling.statusPending":"Pendente","settings.gitCredentials.title":"Credenciais git","settings.gitCredentials.description":"Tokens que deixam os sandboxes baixarem repositórios e dependências privadas, como submódulos ou pacotes privados de npm, go, pub ou cargo. Escolha um segredo por host.","settings.gitCredentials.addCredential":"Adicionar credencial","settings.gitCredentials.cancel":"Cancelar","settings.gitCredentials.createNewSecret":"Criar novo segredo","settings.gitCredentials.createNewSecretAriaLabel":"Criar novo segredo","settings.gitCredentials.createNewSecretDescription":"Armazenado criptografado. A credencial referencia o segredo pelo id, e o valor nunca sai do servidor.","settings.gitCredentials.createNewSecretTitle":"Criar novo segredo","settings.gitCredentials.descriptionLabel":"Descrição (opcional)","settings.gitCredentials.descriptionPlaceholder":"Para que este token é usado?","settings.gitCredentials.failedToLoadSecrets":"Falha ao carregar segredos","settings.gitCredentials.failedToSave":"Falha ao salvar as credenciais git","settings.gitCredentials.failedToSaveSecret":"Falha ao salvar","settings.gitCredentials.hostAriaLabel":"Host da credencial git {index}","settings.gitCredentials.hostInvalidMessage":"Nome de host simples, ex.: github.com (sem esquema ou caminho).","settings.gitCredentials.hostPlaceholder":"github.com","settings.gitCredentials.maxReached":"Você atingiu o limite de {max} credenciais git. Remova uma para adicionar outra.","settings.gitCredentials.nameLabel":"Nome","settings.gitCredentials.namePlaceholder":"GITHUB_DEPS_PAT","settings.gitCredentials.nameHelperText":"Letras, dígitos, underscore, ponto, hífen.","settings.gitCredentials.noSecretsYet":'Nenhum segredo ainda. Use o "+" para criar um.',"settings.gitCredentials.pickSecretPlaceholder":"Escolha um segredo…","settings.gitCredentials.remove":"Remover","settings.gitCredentials.removeAriaLabel":"Remover credencial git","settings.gitCredentials.saveSecret":"Salvar segredo","settings.gitCredentials.saving":"Salvando…","settings.gitCredentials.secretAriaLabel":"Segredo da credencial git {index}","settings.gitCredentials.scopeLabel":"Escopo","settings.gitCredentials.scopeOrganization":"Organização, visível para todos os membros","settings.gitCredentials.scopePrivate":"Privado, visível só para mim","settings.gitCredentials.secretSaved":'Segredo "{name}" salvo',"settings.gitCredentials.tokenExposureWarning":"O token é instalado na configuração git do sandbox durante a sessão, então comandos e agentes executados lá podem usá-lo. Restrinja-o aos repositórios necessários.","settings.gitCredentials.tokenLabel":"Token de acesso pessoal","settings.gitCredentials.tokenPlaceholder":"Cole seu token"},Rae={"announcements.ptBr.title":"O Studio agora está em português","announcements.ptBr.description":"Notamos que seu navegador está em português, então mudamos o Studio para português (Brasil). Você pode voltar para o inglês quando quiser nas configurações.","announcements.ptBr.ok":"OK!","announcements.ptBr.switchBack":"Voltar para o inglês","announcements.legacyAdmin.title":"Boas-vindas ao Deco Studio","announcements.legacyAdmin.description":"Desativamos o admin legado. Tudo da sua loja agora fica no Studio.","announcements.legacyAdmin.benefitPreview":"Edite as páginas vendo o site de verdade ao lado.","announcements.legacyAdmin.benefitCompare":"Compare o antes e o depois antes de publicar.","announcements.legacyAdmin.benefitAgent":"Peça mudanças ao agente no chat.","announcements.legacyAdmin.continue":"Continuar","announcements.legacyAdmin.questions":"Dúvidas?","announcements.release.ariaLabel":"Anúncio de lançamento","announcements.release.dismiss":"Dispensar anúncio de lançamento","announcements.release.learnMore":"Saiba mais","announcements.version.ariaLabel":"Atualização do Studio","announcements.version.dismiss":"Dispensar atualização do Studio","announcements.version.eyebrow":"Atualização do Studio","announcements.version.title":"Uma nova versão está pronta","announcements.version.description":"Atualize a página para carregar as novidades do Studio.","announcements.version.currentSession":"Sessão atual · {version}","announcements.version.refresh":"Atualizar agora"},Dae={"assets.browser.title":"Assets","assets.browser.bucketLabel":"Bucket: {name}","assets.browser.noBucketTitle":"Nenhum bucket de assets para este site","assets.browser.noBucketDescription":"Configure e associe um bucket compatível com S3 a este site para navegar e enviar assets aqui.","assets.browser.deleteAction":"Excluir","assets.browser.deleteConfirmTitle":"Excluir arquivo?","assets.browser.deleteConfirmDescription":'Excluir permanentemente "{name}" do bucket? Isso não pode ser desfeito.',"assets.browser.deleteCancel":"Cancelar","assets.browser.deleteConfirm":"Excluir","assets.browser.deleted":"Arquivo excluído","assets.browser.deleteFailed":"Falha ao excluir o arquivo","assets.browser.filterLabel":"Filtrar por tipo","assets.browser.filterAll":"Todos","assets.browser.filterImages":"Imagens","assets.browser.filterVideos":"Vídeos","assets.browser.filterDocuments":"Documentos","assets.browser.emptyFilterTitle":"Nenhum arquivo deste tipo","assets.browser.emptyFilterDescription":"Escolha outro filtro ou carregue mais arquivos.","assets.browser.selectAsset":"Ver detalhes de {name}","assets.browser.uploadBarHint":"Arraste arquivos aqui ou clique para enviar","assets.browser.upload":"Enviar","assets.browser.dropToUpload":"Solte para enviar","assets.details.close":"Fechar detalhes","assets.details.type":"Tipo","assets.details.size":"Tamanho","assets.details.dimensions":"Dimensões","assets.details.uploaded":"Enviado em","assets.details.url":"URL","assets.details.copy":"Copiar","assets.details.copied":"Copiada","assets.details.open":"Abrir","assets.details.replace":"Substituir","assets.replace.title":"Substituir {name}","assets.replace.description":"A URL continua a mesma: onde esse arquivo aparece, passa a aparecer o novo.","assets.replace.before":"Antes","assets.replace.after":"Depois","assets.replace.dropHint":"Arraste o novo arquivo aqui","assets.replace.choose":"Escolher arquivo","assets.replace.chooseAnother":"Escolher outro","assets.replace.noFile":"Nenhum arquivo ainda","assets.replace.sameFormatHint":"Use o mesmo formato ({format}) e proporção","assets.replace.wrongFormat":"Escolha um arquivo {format} para manter o mesmo formato.","assets.replace.ratioWarning":"Proporção diferente: pode aparecer cortado ou esticado onde é usado.","assets.replace.compareHint":"Escolha o arquivo novo para comparar.","assets.replace.cacheNote":"As páginas podem mostrar o arquivo antigo até o cache expirar.","assets.replace.cancel":"Cancelar","assets.replace.confirm":"Substituir","assets.replace.replacing":"Substituindo…","assets.replace.done":"Arquivo substituído","assets.replace.failed":"Falha ao substituir o arquivo: {error}"},Oae={"plan.objective.eyebrow":"Seu objetivo na loja","plan.objective.empty":"Escreva em uma frase para onde a marca está indo. Todo plano parte daí.","plan.objective.edit":"Editar","plan.objective.label":"Objetivo da loja","plan.objective.placeholder":"Ex.: Fazer do app o nosso principal canal de vendas em 2027.","plan.objective.hint":"Uma frase, do jeito que você diria ao time. Os agentes levam isso para todo plano.","plan.objective.save":"Salvar","plan.objective.cancel":"Cancelar","plan.objective.clear":"Apagar objetivo","plan.objective.find":"Buscar com IA","plan.objective.finding":"Lendo arquivos, reuniões e conversas da marca…","plan.objective.found":"Encontrei em {source}: “{quote}”","plan.objective.notFound":"Não consegui identificar o objetivo da marca nos arquivos e conversas. Escreva aqui do jeito que o time de vocês falaria.","plan.objective.findUnavailable":"A IA não conseguiu buscar o objetivo agora. Tente de novo mais tarde, ou escreva aqui.","plan.objective.read":"Li: {sources}.","plan.objective.readNothing":"Não encontrei nada para ler sobre os planos da marca.","plan.objective.unread":"Não consegui ler: {files}.","plan.objective.connectHint":"Conecte reuniões ou conversas, como Grain ou WhatsApp, para eu encontrar da próxima vez.","plan.objective.saveError":"Não deu para salvar o objetivo. Tente de novo.","plan.idea.heading":"O que você quer melhorar na loja?","plan.idea.description":"Fale do jeito que vier, mesmo vago. Algumas perguntas rápidas completam o que só você sabe, e o agente monta o case: o problema em números, quem já faz, o dinheiro em jogo, o esforço e o teste A/B.","plan.idea.label":"Sua ideia","plan.idea.placeholder":"Ex.: Quero mexer na busca. Ou: um guia de vestibilidade na página de produto aumentaria a conversão.","plan.idea.submit":"Montar o business case","plan.idea.startWith":"Comece por","plan.idea.topic.shipping":"Frete","plan.idea.topic.shippingPrompt":"No frete, ","plan.idea.topic.pdp":"Página de produto","plan.idea.topic.pdpPrompt":"Na página de produto, ","plan.idea.topic.checkout":"Checkout","plan.idea.topic.checkoutPrompt":"No checkout, ","plan.idea.topic.search":"Busca","plan.idea.topic.searchPrompt":"Na busca, ","plan.idea.topic.performance":"Performance","plan.idea.topic.performancePrompt":"Para deixar a loja mais rápida, ","plan.idea.topic.paidMedia":"Mídia paga","plan.idea.topic.paidMediaPrompt":"Para quem chega pela mídia paga, ","plan.prompt.withObjective":`Vamos montar juntos um business case para este pedido. Siga a skill business-case (leia /app/org/public/core/business-case/SKILL.md). O canvas deste case é {casePath}: rode o init agora, antes de qualquer coisa, e preencha os cards conforme a conversa avança. Se o pedido não diz onde e o quê, me pergunte uma coisa por vez, com opções.
|
|
139
139
|
|
|
140
140
|
Objetivo da loja: {objective}
|
|
141
141
|
|
|
@@ -186,7 +186,7 @@ Pedido: {idea}`,"plan.case.waiting":"Abrindo o business case…","plan.case.buil
|
|
|
186
186
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
187
187
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
188
188
|
`)},_se=0,Zc=[];function Ase(e){var t=A.useRef([]),a=A.useRef([0,0]),o=A.useRef(),n=A.useState(_se++)[0],r=A.useState(oj)[0],i=A.useRef(e);A.useEffect(function(){i.current=e},[e]),A.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(n));var w=Qre([e.lockRef.current],(e.shards||[]).map(a2),!0).filter(Boolean);return w.forEach(function(x){return x.classList.add("allow-interactivity-".concat(n))}),function(){document.body.classList.remove("block-interactivity-".concat(n)),w.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(n))})}}},[e.inert,e.lockRef.current,e.shards]);var c=A.useCallback(function(w,x){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!i.current.allowPinchZoom;var T=Qg(w),k=a.current,C="deltaX"in w?w.deltaX:k[0]-T[0],E="deltaY"in w?w.deltaY:k[1]-T[1],_,D=w.target,R=Math.abs(C)>Math.abs(E)?"h":"v";if("touches"in w&&R==="h"&&D.type==="range")return!1;var O=window.getSelection(),L=O&&O.anchorNode,U=L?L===D||L.contains(D):!1;if(U)return!1;var B=e2(R,D);if(!B)return!0;if(B?_=R:(_=R==="v"?"h":"v",B=e2(R,D)),!B)return!1;if(!o.current&&"changedTouches"in w&&(C||E)&&(o.current=_),!_)return!0;var z=o.current||_;return Ese(z,x,w,z==="h"?C:E)},[]),d=A.useCallback(function(w){var x=w;if(!(!Zc.length||Zc[Zc.length-1]!==r)){var T="deltaY"in x?t2(x):Qg(x),k=t.current.filter(function(_){return _.name===x.type&&(_.target===x.target||x.target===_.shadowParent)&&Cse(_.delta,T)})[0];if(k&&k.should){x.cancelable&&x.preventDefault();return}if(!k){var C=(i.current.shards||[]).map(a2).filter(Boolean).filter(function(_){return _.contains(x.target)}),E=C.length>0?c(x,C[0]):!i.current.noIsolation;E&&x.cancelable&&x.preventDefault()}}},[]),u=A.useCallback(function(w,x,T,k){var C={name:w,delta:x,target:T,should:k,shadowParent:Rse(T)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(E){return E!==C})},1)},[]),m=A.useCallback(function(w){a.current=Qg(w),o.current=void 0},[]),h=A.useCallback(function(w){u(w.type,t2(w),w.target,c(w,e.lockRef.current))},[]),f=A.useCallback(function(w){u(w.type,Qg(w),w.target,c(w,e.lockRef.current))},[]);A.useEffect(function(){return Zc.push(r),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",d,Qc),document.addEventListener("touchmove",d,Qc),document.addEventListener("touchstart",m,Qc),function(){Zc=Zc.filter(function(w){return w!==r}),document.removeEventListener("wheel",d,Qc),document.removeEventListener("touchmove",d,Qc),document.removeEventListener("touchstart",m,Qc)}},[]);var v=e.removeScrollBar,b=e.inert;return A.createElement(A.Fragment,null,b?A.createElement(r,{styles:Pse(n)}):null,v?A.createElement(bse,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Rse(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Dse=rse(aj,Ase);var TE=A.forwardRef(function(e,t){return A.createElement(gb,Yr({},e,{ref:t,sideCar:Dse}))});TE.classNames=gb.classNames;var Gx=["Enter"," "],Ose=["ArrowDown","PageUp","Home"],ij=["ArrowUp","PageDown","End"],Nse=[...Ose,...ij],Mse={ltr:[...Gx,"ArrowRight"],rtl:[...Gx,"ArrowLeft"]},Ise={ltr:["ArrowLeft"],rtl:["ArrowRight"]},wm="Menu",[Wp,Lse,Bse]=hF(wm),[tc,lj]=el(wm,[Bse,LF,WF]),Sm=LF(),cj=WF(),[dj,tl]=tc(wm),[Fse,Tm]=tc(wm),uj=e=>{const{__scopeMenu:t,open:a=!1,children:o,dir:n,onOpenChange:r,modal:i=!0}=e,c=Sm(t),[d,u]=A.useState(null),m=A.useRef(!1),h=Pr(r),f=gF(n);return A.useEffect(()=>{const v=()=>{m.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>m.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),y.jsx(HF,{...c,children:y.jsx(dj,{scope:t,open:a,onOpenChange:h,content:d,onContentChange:u,children:y.jsx(Fse,{scope:t,onClose:A.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:m,dir:f,modal:i,children:o})})})};uj.displayName=wm;var jse="MenuAnchor",xE=A.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e,n=Sm(a);return y.jsx(_re,{...n,...o,ref:t})});xE.displayName=jse;var kE="MenuPortal",[zse,pj]=tc(kE,{forceMount:void 0}),mj=e=>{const{__scopeMenu:t,forceMount:a,children:o,container:n}=e,r=tl(kE,t);return y.jsx(zse,{scope:t,forceMount:a,children:y.jsx(qs,{present:a||r.open,children:y.jsx(SE,{asChild:!0,container:n,children:o})})})};mj.displayName=kE;var rr="MenuContent",[qse,EE]=tc(rr),hj=A.forwardRef((e,t)=>{const a=pj(rr,e.__scopeMenu),{forceMount:o=a.forceMount,...n}=e,r=tl(rr,e.__scopeMenu),i=Tm(rr,e.__scopeMenu);return y.jsx(Wp.Provider,{scope:e.__scopeMenu,children:y.jsx(qs,{present:o||r.open,children:y.jsx(Wp.Slot,{scope:e.__scopeMenu,children:i.modal?y.jsx(Use,{...n,ref:t}):y.jsx($se,{...n,ref:t})})})})}),Use=A.forwardRef((e,t)=>{const a=tl(rr,e.__scopeMenu),o=A.useRef(null),n=Ua(t,o);return A.useEffect(()=>{const r=o.current;if(r)return XF(r)},[]),y.jsx(CE,{...e,ref:n,trapFocus:a.open,disableOutsidePointerEvents:a.open,disableOutsideScroll:!0,onFocusOutside:mt(e.onFocusOutside,r=>r.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>a.onOpenChange(!1)})}),$se=A.forwardRef((e,t)=>{const a=tl(rr,e.__scopeMenu);return y.jsx(CE,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>a.onOpenChange(!1)})}),Vse=Hp("MenuContent.ScrollLock"),CE=A.forwardRef((e,t)=>{const{__scopeMenu:a,loop:o=!1,trapFocus:n,onOpenAutoFocus:r,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEntryFocus:d,onEscapeKeyDown:u,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:f,onDismiss:v,disableOutsideScroll:b,...w}=e,x=tl(rr,a),T=Tm(rr,a),k=Sm(a),C=cj(a),E=Lse(a),[_,D]=A.useState(null),R=A.useRef(null),O=Ua(t,R,x.onContentChange),L=A.useRef(0),U=A.useRef(""),B=A.useRef(0),z=A.useRef(null),F=A.useRef("right"),W=A.useRef(0),ae=b?TE:A.Fragment,H=b?{as:Vse,allowPinchZoom:!0}:void 0,K=se=>{const Z=U.current+se,M=E().filter(de=>!de.disabled),G=document.activeElement,V=M.find(de=>de.ref.current===G)?.textValue,I=M.map(de=>de.textValue),j=aie(I,Z,V),X=M.find(de=>de.textValue===j)?.ref.current;(function de(ue){U.current=ue,window.clearTimeout(L.current),ue!==""&&(L.current=window.setTimeout(()=>de(""),1e3))})(Z),X&&setTimeout(()=>X.focus())};A.useEffect(()=>()=>window.clearTimeout(L.current),[]),bF();const J=A.useCallback(se=>F.current===z.current?.side&&nie(se,z.current?.area),[]);return y.jsx(qse,{scope:a,searchRef:U,onItemEnter:A.useCallback(se=>{J(se)&&se.preventDefault()},[J]),onItemLeave:A.useCallback(se=>{J(se)||(R.current?.focus(),D(null))},[J]),onTriggerLeave:A.useCallback(se=>{J(se)&&se.preventDefault()},[J]),pointerGraceTimerRef:B,onPointerGraceIntentChange:A.useCallback(se=>{z.current=se},[]),children:y.jsx(ae,{...H,children:y.jsx(uE,{asChild:!0,trapped:n,onMountAutoFocus:mt(r,se=>{se.preventDefault(),R.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:i,children:y.jsx(dE,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:f,onDismiss:v,children:y.jsx(Hre,{asChild:!0,...C,dir:T.dir,orientation:"vertical",loop:o,currentTabStopId:_,onCurrentTabStopIdChange:D,onEntryFocus:mt(d,se=>{T.isUsingKeyboardRef.current||se.preventDefault()}),preventScrollOnEntryFocus:!0,children:y.jsx(Are,{role:"menu","aria-orientation":"vertical","data-state":Dj(x.open),"data-radix-menu-content":"",dir:T.dir,...k,...w,ref:O,style:{outline:"none",...w.style},onKeyDown:mt(w.onKeyDown,se=>{const M=se.target.closest("[data-radix-menu-content]")===se.currentTarget,G=se.ctrlKey||se.altKey||se.metaKey,V=se.key.length===1;M&&(se.key==="Tab"&&se.preventDefault(),!G&&V&&K(se.key));const I=R.current;if(se.target!==I||!Nse.includes(se.key))return;se.preventDefault();const X=E().filter(de=>!de.disabled).map(de=>de.ref.current);ij.includes(se.key)&&X.reverse(),eie(X)}),onBlur:mt(e.onBlur,se=>{se.currentTarget.contains(se.target)||(window.clearTimeout(L.current),U.current="")}),onPointerMove:mt(e.onPointerMove,Kp(se=>{const Z=se.target,M=W.current!==se.clientX;if(se.currentTarget.contains(Z)&&M){const G=se.clientX>W.current?"right":"left";F.current=G,W.current=se.clientX}}))})})})})})})});hj.displayName=rr;var Hse="MenuGroup",PE=A.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return y.jsx(Ra.div,{role:"group",...o,ref:t})});PE.displayName=Hse;var Gse="MenuLabel",gj=A.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return y.jsx(Ra.div,{...o,ref:t})});gj.displayName=Gse;var cv="MenuItem",o2="menu.itemSelect",fb=A.forwardRef((e,t)=>{const{disabled:a=!1,onSelect:o,...n}=e,r=A.useRef(null),i=Tm(cv,e.__scopeMenu),c=EE(cv,e.__scopeMenu),d=Ua(t,r),u=A.useRef(!1),m=()=>{const h=r.current;if(!a&&h){const f=new CustomEvent(o2,{bubbles:!0,cancelable:!0});h.addEventListener(o2,v=>o?.(v),{once:!0}),mF(h,f),f.defaultPrevented?u.current=!1:i.onClose()}};return y.jsx(fj,{...n,ref:d,disabled:a,onClick:mt(e.onClick,m),onPointerDown:h=>{e.onPointerDown?.(h),u.current=!0},onPointerUp:mt(e.onPointerUp,h=>{u.current||h.currentTarget?.click()}),onKeyDown:mt(e.onKeyDown,h=>{const f=c.searchRef.current!=="";a||f&&h.key===" "||Gx.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});fb.displayName=cv;var fj=A.forwardRef((e,t)=>{const{__scopeMenu:a,disabled:o=!1,textValue:n,...r}=e,i=EE(cv,a),c=cj(a),d=A.useRef(null),u=Ua(t,d),[m,h]=A.useState(!1),[f,v]=A.useState("");return A.useEffect(()=>{const b=d.current;b&&v((b.textContent??"").trim())},[r.children]),y.jsx(Wp.ItemSlot,{scope:a,disabled:o,textValue:n??f,children:y.jsx(Gre,{asChild:!0,...c,focusable:!o,children:y.jsx(Ra.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...r,ref:u,onPointerMove:mt(e.onPointerMove,Kp(b=>{o?i.onItemLeave(b):(i.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:mt(e.onPointerLeave,Kp(b=>i.onItemLeave(b))),onFocus:mt(e.onFocus,()=>h(!0)),onBlur:mt(e.onBlur,()=>h(!1))})})})}),Wse="MenuCheckboxItem",vj=A.forwardRef((e,t)=>{const{checked:a=!1,onCheckedChange:o,...n}=e;return y.jsx(Tj,{scope:e.__scopeMenu,checked:a,children:y.jsx(fb,{role:"menuitemcheckbox","aria-checked":dv(a)?"mixed":a,...n,ref:t,"data-state":RE(a),onSelect:mt(n.onSelect,()=>o?.(dv(a)?!0:!a),{checkForDefaultPrevented:!1})})})});vj.displayName=Wse;var bj="MenuRadioGroup",[Kse,Yse]=tc(bj,{value:void 0,onValueChange:()=>{}}),yj=A.forwardRef((e,t)=>{const{value:a,onValueChange:o,...n}=e,r=Pr(o);return y.jsx(Kse,{scope:e.__scopeMenu,value:a,onValueChange:r,children:y.jsx(PE,{...n,ref:t})})});yj.displayName=bj;var wj="MenuRadioItem",Sj=A.forwardRef((e,t)=>{const{value:a,...o}=e,n=Yse(wj,e.__scopeMenu),r=a===n.value;return y.jsx(Tj,{scope:e.__scopeMenu,checked:r,children:y.jsx(fb,{role:"menuitemradio","aria-checked":r,...o,ref:t,"data-state":RE(r),onSelect:mt(o.onSelect,()=>n.onValueChange?.(a),{checkForDefaultPrevented:!1})})})});Sj.displayName=wj;var _E="MenuItemIndicator",[Tj,Qse]=tc(_E,{checked:!1}),xj=A.forwardRef((e,t)=>{const{__scopeMenu:a,forceMount:o,...n}=e,r=Qse(_E,a);return y.jsx(qs,{present:o||dv(r.checked)||r.checked===!0,children:y.jsx(Ra.span,{...n,ref:t,"data-state":RE(r.checked)})})});xj.displayName=_E;var Zse="MenuSeparator",kj=A.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return y.jsx(Ra.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});kj.displayName=Zse;var Jse="MenuArrow",Ej=A.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e,n=Sm(a);return y.jsx(Rre,{...n,...o,ref:t})});Ej.displayName=Jse;var AE="MenuSub",[Xse,Cj]=tc(AE),Pj=e=>{const{__scopeMenu:t,children:a,open:o=!1,onOpenChange:n}=e,r=tl(AE,t),i=Sm(t),[c,d]=A.useState(null),[u,m]=A.useState(null),h=Pr(n);return A.useEffect(()=>(r.open===!1&&h(!1),()=>h(!1)),[r.open,h]),y.jsx(HF,{...i,children:y.jsx(dj,{scope:t,open:o,onOpenChange:h,content:u,onContentChange:m,children:y.jsx(Xse,{scope:t,contentId:zi(),triggerId:zi(),trigger:c,onTriggerChange:d,children:a})})})};Pj.displayName=AE;var vp="MenuSubTrigger",_j=A.forwardRef((e,t)=>{const a=tl(vp,e.__scopeMenu),o=Tm(vp,e.__scopeMenu),n=Cj(vp,e.__scopeMenu),r=EE(vp,e.__scopeMenu),i=A.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=r,u={__scopeMenu:e.__scopeMenu},m=A.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return A.useEffect(()=>m,[m]),A.useEffect(()=>{const h=c.current;return()=>{window.clearTimeout(h),d(null)}},[c,d]),y.jsx(xE,{asChild:!0,...u,children:y.jsx(fj,{id:n.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":n.contentId,"data-state":Dj(a.open),...e,ref:fm(t,n.onTriggerChange),onClick:h=>{e.onClick?.(h),!(e.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),a.open||a.onOpenChange(!0))},onPointerMove:mt(e.onPointerMove,Kp(h=>{r.onItemEnter(h),!h.defaultPrevented&&!e.disabled&&!a.open&&!i.current&&(r.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{a.onOpenChange(!0),m()},100))})),onPointerLeave:mt(e.onPointerLeave,Kp(h=>{m();const f=a.content?.getBoundingClientRect();if(f){const v=a.content?.dataset.side,b=v==="right",w=b?-5:5,x=f[b?"left":"right"],T=f[b?"right":"left"];r.onPointerGraceIntentChange({area:[{x:h.clientX+w,y:h.clientY},{x,y:f.top},{x:T,y:f.top},{x:T,y:f.bottom},{x,y:f.bottom}],side:v}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>r.onPointerGraceIntentChange(null),300)}else{if(r.onTriggerLeave(h),h.defaultPrevented)return;r.onPointerGraceIntentChange(null)}})),onKeyDown:mt(e.onKeyDown,h=>{const f=r.searchRef.current!=="";e.disabled||f&&h.key===" "||Mse[o.dir].includes(h.key)&&(a.onOpenChange(!0),a.content?.focus(),h.preventDefault())})})})});_j.displayName=vp;var Aj="MenuSubContent",Rj=A.forwardRef((e,t)=>{const a=pj(rr,e.__scopeMenu),{forceMount:o=a.forceMount,...n}=e,r=tl(rr,e.__scopeMenu),i=Tm(rr,e.__scopeMenu),c=Cj(Aj,e.__scopeMenu),d=A.useRef(null),u=Ua(t,d);return y.jsx(Wp.Provider,{scope:e.__scopeMenu,children:y.jsx(qs,{present:o||r.open,children:y.jsx(Wp.Slot,{scope:e.__scopeMenu,children:y.jsx(CE,{id:c.contentId,"aria-labelledby":c.triggerId,...n,ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:m=>{i.isUsingKeyboardRef.current&&d.current?.focus(),m.preventDefault()},onCloseAutoFocus:m=>m.preventDefault(),onFocusOutside:mt(e.onFocusOutside,m=>{m.target!==c.trigger&&r.onOpenChange(!1)}),onEscapeKeyDown:mt(e.onEscapeKeyDown,m=>{i.onClose(),m.preventDefault()}),onKeyDown:mt(e.onKeyDown,m=>{const h=m.currentTarget.contains(m.target),f=Ise[i.dir].includes(m.key);h&&f&&(r.onOpenChange(!1),c.trigger?.focus(),m.preventDefault())})})})})})});Rj.displayName=Aj;function Dj(e){return e?"open":"closed"}function dv(e){return e==="indeterminate"}function RE(e){return dv(e)?"indeterminate":e?"checked":"unchecked"}function eie(e){const t=document.activeElement;for(const a of e)if(a===t||(a.focus(),document.activeElement!==t))return}function tie(e,t){return e.map((a,o)=>e[(t+o)%e.length])}function aie(e,t,a){const n=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,r=a?e.indexOf(a):-1;let i=tie(e,Math.max(r,0));n.length===1&&(i=i.filter(u=>u!==a));const d=i.find(u=>u.toLowerCase().startsWith(n.toLowerCase()));return d!==a?d:void 0}function oie(e,t){const{x:a,y:o}=e;let n=!1;for(let r=0,i=t.length-1;r<t.length;i=r++){const c=t[r],d=t[i],u=c.x,m=c.y,h=d.x,f=d.y;m>o!=f>o&&a<(h-u)*(o-m)/(f-m)+u&&(n=!n)}return n}function nie(e,t){if(!t)return!1;const a={x:e.clientX,y:e.clientY};return oie(a,t)}function Kp(e){return t=>t.pointerType==="mouse"?e(t):void 0}var rie=uj,sie=xE,iie=mj,lie=hj,cie=PE,die=gj,uie=fb,pie=vj,mie=yj,hie=Sj,gie=xj,fie=kj,vie=Ej,bie=Pj,yie=_j,wie=Rj,vb="DropdownMenu",[Sie]=el(vb,[lj]),Vo=lj(),[Tie,Oj]=Sie(vb),Nj=e=>{const{__scopeDropdownMenu:t,children:a,dir:o,open:n,defaultOpen:r,onOpenChange:i,modal:c=!0}=e,d=Vo(t),u=A.useRef(null),[m,h]=vm({prop:n,defaultProp:r??!1,onChange:i,caller:vb});return y.jsx(Tie,{scope:t,triggerId:zi(),triggerRef:u,contentId:zi(),open:m,onOpenChange:h,onOpenToggle:A.useCallback(()=>h(f=>!f),[h]),modal:c,children:y.jsx(rie,{...d,open:m,onOpenChange:h,dir:o,modal:c,children:a})})};Nj.displayName=vb;var Mj="DropdownMenuTrigger",Ij=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,disabled:o=!1,...n}=e,r=Oj(Mj,a),i=Vo(a);return y.jsx(sie,{asChild:!0,...i,children:y.jsx(Ra.button,{type:"button",id:r.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":r.open?r.contentId:void 0,"data-state":r.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...n,ref:fm(t,r.triggerRef),onPointerDown:mt(e.onPointerDown,c=>{!o&&c.button===0&&c.ctrlKey===!1&&(r.onOpenToggle(),r.open||c.preventDefault())}),onKeyDown:mt(e.onKeyDown,c=>{o||(["Enter"," "].includes(c.key)&&r.onOpenToggle(),c.key==="ArrowDown"&&r.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});Ij.displayName=Mj;var xie="DropdownMenuPortal",Lj=e=>{const{__scopeDropdownMenu:t,...a}=e,o=Vo(t);return y.jsx(iie,{...o,...a})};Lj.displayName=xie;var Bj="DropdownMenuContent",Fj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Oj(Bj,a),r=Vo(a),i=A.useRef(!1);return y.jsx(lie,{id:n.contentId,"aria-labelledby":n.triggerId,...r,...o,ref:t,onCloseAutoFocus:mt(e.onCloseAutoFocus,c=>{i.current||n.triggerRef.current?.focus(),i.current=!1,c.preventDefault()}),onInteractOutside:mt(e.onInteractOutside,c=>{const d=c.detail.originalEvent,u=d.button===0&&d.ctrlKey===!0,m=d.button===2||u;(!n.modal||m)&&(i.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Fj.displayName=Bj;var kie="DropdownMenuGroup",Eie=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(cie,{...n,...o,ref:t})});Eie.displayName=kie;var Cie="DropdownMenuLabel",jj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(die,{...n,...o,ref:t})});jj.displayName=Cie;var Pie="DropdownMenuItem",zj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(uie,{...n,...o,ref:t})});zj.displayName=Pie;var _ie="DropdownMenuCheckboxItem",qj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(pie,{...n,...o,ref:t})});qj.displayName=_ie;var Aie="DropdownMenuRadioGroup",Uj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(mie,{...n,...o,ref:t})});Uj.displayName=Aie;var Rie="DropdownMenuRadioItem",$j=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(hie,{...n,...o,ref:t})});$j.displayName=Rie;var Die="DropdownMenuItemIndicator",Vj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(gie,{...n,...o,ref:t})});Vj.displayName=Die;var Oie="DropdownMenuSeparator",Hj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(fie,{...n,...o,ref:t})});Hj.displayName=Oie;var Nie="DropdownMenuArrow",Mie=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(vie,{...n,...o,ref:t})});Mie.displayName=Nie;var Iie=e=>{const{__scopeDropdownMenu:t,children:a,open:o,onOpenChange:n,defaultOpen:r}=e,i=Vo(t),[c,d]=vm({prop:o,defaultProp:r??!1,onChange:n,caller:"DropdownMenuSub"});return y.jsx(bie,{...i,open:c,onOpenChange:d,children:a})},Lie="DropdownMenuSubTrigger",Gj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(yie,{...n,...o,ref:t})});Gj.displayName=Lie;var Bie="DropdownMenuSubContent",Wj=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,n=Vo(a);return y.jsx(wie,{...n,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Wj.displayName=Bie;var Kj=Nj,Yj=Ij,Qj=Lj,Zj=Fj,Fie=jj,Jj=zj,jie=qj,zie=Uj,qie=$j,Xj=Vj,Uie=Hj,$ie=Iie,Vie=Gj,Hie=Wj;const DE=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z"}));DE.displayName="AlertTriangle";const e3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M4 7.997a2.295 2.295 0 0 1-.39-.035A2 2 0 0 1 2.038 6.39C2 6.197 2 5.965 2 5.5s0-.697.038-.89A2 2 0 0 1 3.61 3.038C3.803 3 4.035 3 4.5 3h15c.465 0 .697 0 .89.038a2 2 0 0 1 1.572 1.572c.038.193.038.425.038.89s0 .697-.038.89a2 2 0 0 1-1.572 1.572c-.107.02-.226.03-.39.035M10 13h4M4 8h16v8.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 21 16.88 21 15.2 21H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 18.72 4 17.88 4 16.2V8Z"}));e3.displayName="Archive";const t3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M7 17 17 7m0 0H7m10 0v10"}));t3.displayName="ArrowUpRight";const a3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M20 6 9 17l-5-5"}));a3.displayName="Check";const OE=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"m9 18 6-6-6-6"}));OE.displayName="ChevronRight";const o3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z"}));o3.displayName="Circle";const n3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M9 2v2m6-2v2M9 20v2m6-2v2m5-13h2m-2 5h2M2 9h2m-2 5h2m4.8 6h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 17.72 20 16.88 20 15.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 4 16.88 4 15.2 4H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 6.28 4 7.12 4 8.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 20 7.12 20 8.8 20Zm1.8-5h2.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C15 14.24 15 13.96 15 13.4v-2.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C14.24 9 13.96 9 13.4 9h-2.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C9 9.76 9 10.04 9 10.6v2.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C9.76 15 10.04 15 10.6 15Z"}));n3.displayName="CpuChip01";const r3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm7 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));r3.displayName="DotsHorizontal";const s3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M3 3v10.2c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 18 6.12 18 7.8 18H15m0 0a3 3 0 1 0 6 0 3 3 0 0 0-6 0ZM3 8h12m0 0a3 3 0 1 0 6 0 3 3 0 0 0-6 0Z"}));s3.displayName="GitBranch01";const i3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M2.5 12h19M6 16h4M8.967 4h6.066c1.077 0 1.616 0 2.091.164a3 3 0 0 1 1.121.693c.36.352.6.833 1.082 1.796l2.166 4.333c.19.378.284.567.35.765.06.177.102.357.128.541.029.207.029.418.029.841V15.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 20 18.88 20 17.2 20H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.72 2 16.88 2 15.2v-2.067c0-.422 0-.634.029-.84.026-.184.068-.365.128-.541.066-.199.16-.388.35-.766l2.166-4.333c.482-.963.723-1.444 1.082-1.796a3 3 0 0 1 1.12-.693C7.352 4 7.89 4 8.968 4Z"}));i3.displayName="HardDrive";const l3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M21 9V3m0 0h-6m6 0-8 8m-3-6H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 7.28 3 8.12 3 9.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 18.72 19 17.88 19 16.2V14"}));l3.displayName="LinkExternal01";const c3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));c3.displayName="Lock01";const d3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M21 10s-2.005-2.732-3.634-4.362a9 9 0 1 0 2.282 8.862M21 10V4m0 6h-6"}));d3.displayName="RefreshCw01";const u3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M6 6h.01M6 18h.01m-.81-8h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 8.48 22 7.92 22 6.8V5.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 2 19.92 2 18.8 2H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 3.52 2 4.08 2 5.2v1.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 10 4.08 10 5.2 10Zm0 12h13.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-1.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 14 19.92 14 18.8 14H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 15.52 2 16.08 2 17.2v1.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 22 4.08 22 5.2 22Z"}));u3.displayName="Server01";const p3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M11.302 21.615c.221.129.332.194.488.227.122.026.298.026.42 0 .156-.034.267-.098.488-.227C14.646 20.478 20 16.908 20 12V7.217c0-.799 0-1.199-.13-1.542a2 2 0 0 0-.548-.79c-.275-.243-.65-.383-1.398-.664l-5.362-2.01c-.208-.078-.312-.117-.419-.133a1 1 0 0 0-.286 0c-.107.016-.21.055-.419.133L6.076 4.22c-.748.28-1.122.421-1.398.664a2 2 0 0 0-.547.79C4 6.018 4 6.418 4 7.217V12c0 4.908 5.354 8.478 7.302 9.615Z"}));p3.displayName="Shield01";const m3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M20 21c0-1.396 0-2.093-.172-2.661a4 4 0 0 0-2.667-2.667c-.568-.172-1.265-.172-2.661-.172h-5c-1.396 0-2.093 0-2.661.172a4 4 0 0 0-2.667 2.667C4 18.907 4 19.604 4 21M16.5 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"}));m3.displayName="User01";const h3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M18 15.837c1.456.731 2.704 1.905 3.615 3.373.18.29.27.436.302.637.063.409-.216.912-.597 1.073-.188.08-.398.08-.82.08M16 11.532a4.5 4.5 0 0 0 0-8.064M14 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM2.56 18.938C4.153 16.545 6.67 15 9.5 15s5.346 1.545 6.94 3.938c.35.525.525.787.505 1.122-.016.26-.187.58-.396.738-.267.202-.635.202-1.371.202H3.822c-.736 0-1.104 0-1.372-.202a1.109 1.109 0 0 1-.395-.738c-.02-.335.155-.597.504-1.122Z"}));h3.displayName="Users03";const g3=({size:e=24,color:t="currentColor",...a})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},A.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));g3.displayName="X";function Gie(e){const t=ye.c(4);let a;t[0]!==e?({...a}=e,t[0]=e,t[1]=a):a=t[1];let o;return t[2]!==a?(o=y.jsx(Kj,{"data-slot":"dropdown-menu",...a}),t[2]=a,t[3]=o):o=t[3],o}function Wie(e){const t=ye.c(4);let a;t[0]!==e?({...a}=e,t[0]=e,t[1]=a):a=t[1];let o;return t[2]!==a?(o=y.jsx(Yj,{"data-slot":"dropdown-menu-trigger",...a}),t[2]=a,t[3]=o):o=t[3],o}function Kie(e){const t=ye.c(10);let a,o,n;t[0]!==e?({className:a,sideOffset:n,...o}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n):(a=t[1],o=t[2],n=t[3]);const r=n===void 0?4:n;let i;t[4]!==a?(i=Je("notranslate bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border p-1 shadow-md",a),t[4]=a,t[5]=i):i=t[5];let c;return t[6]!==o||t[7]!==r||t[8]!==i?(c=y.jsx(Qj,{children:y.jsx(Zj,{"data-slot":"dropdown-menu-content",sideOffset:r,translate:"no",className:i,...o})}),t[6]=o,t[7]=r,t[8]=i,t[9]=c):c=t[9],c}function Yie(e){const t=ye.c(12);let a,o,n,r;t[0]!==e?({className:a,inset:o,variant:r,...n}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n,t[4]=r):(a=t[1],o=t[2],n=t[3],r=t[4]);const i=r===void 0?"default":r;let c;t[5]!==a?(c=Je("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-lg px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),t[5]=a,t[6]=c):c=t[6];let d;return t[7]!==o||t[8]!==n||t[9]!==c||t[10]!==i?(d=y.jsx(Jj,{"data-slot":"dropdown-menu-item","data-inset":o,"data-variant":i,className:c,...n}),t[7]=o,t[8]=n,t[9]=c,t[10]=i,t[11]=d):d=t[11],d}function Jxe(e){const t=ye.c(13);let a,o,n,r;t[0]!==e?({className:n,children:o,checked:a,...r}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n,t[4]=r):(a=t[1],o=t[2],n=t[3],r=t[4]);let i;t[5]!==n?(i=Je("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-lg py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),t[5]=n,t[6]=i):i=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=y.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:y.jsx(Xj,{children:y.jsx(a3,{className:"size-4"})})}),t[7]=c):c=t[7];let d;return t[8]!==a||t[9]!==o||t[10]!==r||t[11]!==i?(d=y.jsxs(jie,{"data-slot":"dropdown-menu-checkbox-item",className:i,checked:a,...r,children:[c,o]}),t[8]=a,t[9]=o,t[10]=r,t[11]=i,t[12]=d):d=t[12],d}function Xxe(e){const t=ye.c(4);let a;t[0]!==e?({...a}=e,t[0]=e,t[1]=a):a=t[1];let o;return t[2]!==a?(o=y.jsx(zie,{"data-slot":"dropdown-menu-radio-group",...a}),t[2]=a,t[3]=o):o=t[3],o}function e0e(e){const t=ye.c(11);let a,o,n;t[0]!==e?({className:o,children:a,...n}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n):(a=t[1],o=t[2],n=t[3]);let r;t[4]!==o?(r=Je("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-lg py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",o),t[4]=o,t[5]=r):r=t[5];let i;t[6]===Symbol.for("react.memo_cache_sentinel")?(i=y.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:y.jsx(Xj,{children:y.jsx(o3,{className:"size-2 fill-current"})})}),t[6]=i):i=t[6];let c;return t[7]!==a||t[8]!==n||t[9]!==r?(c=y.jsxs(qie,{"data-slot":"dropdown-menu-radio-item",className:r,...n,children:[i,a]}),t[7]=a,t[8]=n,t[9]=r,t[10]=c):c=t[10],c}function t0e(e){const t=ye.c(10);let a,o,n;t[0]!==e?({className:a,inset:o,...n}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n):(a=t[1],o=t[2],n=t[3]);let r;t[4]!==a?(r=Je("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",a),t[4]=a,t[5]=r):r=t[5];let i;return t[6]!==o||t[7]!==n||t[8]!==r?(i=y.jsx(Fie,{"data-slot":"dropdown-menu-label","data-inset":o,className:r,...n}),t[6]=o,t[7]=n,t[8]=r,t[9]=i):i=t[9],i}function a0e(e){const t=ye.c(8);let a,o;t[0]!==e?({className:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);let n;t[3]!==a?(n=Je("bg-border -mx-1 my-1 h-px",a),t[3]=a,t[4]=n):n=t[4];let r;return t[5]!==o||t[6]!==n?(r=y.jsx(Uie,{"data-slot":"dropdown-menu-separator",className:n,...o}),t[5]=o,t[6]=n,t[7]=r):r=t[7],r}function o0e(e){const t=ye.c(4);let a;t[0]!==e?({...a}=e,t[0]=e,t[1]=a):a=t[1];let o;return t[2]!==a?(o=y.jsx($ie,{"data-slot":"dropdown-menu-sub",...a}),t[2]=a,t[3]=o):o=t[3],o}function n0e(e){const t=ye.c(13);let a,o,n,r;t[0]!==e?({className:o,inset:n,children:a,...r}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n,t[4]=r):(a=t[1],o=t[2],n=t[3],r=t[4]);let i;t[5]!==o?(i=Je("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-lg px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",o),t[5]=o,t[6]=i):i=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=y.jsx(OE,{className:"ml-auto size-4"}),t[7]=c):c=t[7];let d;return t[8]!==a||t[9]!==n||t[10]!==r||t[11]!==i?(d=y.jsxs(Vie,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:i,...r,children:[a,c]}),t[8]=a,t[9]=n,t[10]=r,t[11]=i,t[12]=d):d=t[12],d}function r0e(e){const t=ye.c(8);let a,o;t[0]!==e?({className:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);let n;t[3]!==a?(n=Je("notranslate bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",a),t[3]=a,t[4]=n):n=t[4];let r;return t[5]!==o||t[6]!==n?(r=y.jsx(Hie,{"data-slot":"dropdown-menu-sub-content",translate:"no",className:n,...o}),t[5]=o,t[6]=n,t[7]=r):r=t[7],r}function Qie(){const e=ye.c(3),[t,a]=A.useState(-1);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=i=>{if(!i)return;const c=()=>a(i.clientWidth);c();const d=new ResizeObserver(c);return d.observe(i),()=>d.disconnect()},e[0]=o):o=e[0];const n=o;let r;return e[1]!==t?(r=[t,n],e[1]=t,e[2]=r):r=e[2],r}function Zie(){let e=new Map;const t=new Set,a=()=>t.forEach(o=>o());return{getSnapshot:()=>e,subscribe(o){return t.add(o),()=>{t.delete(o)}},register(o){if(e.has(o.after))throw new Error(`Two components extend breadcrumb: ${o.after}`);return e=new Map(e).set(o.after,o),a(),()=>{if(e.get(o.after)!==o)return;const n=new Map(e);n.delete(o.after),e=n,a()}}}}const NE=A.createContext(null);function Jie(e){const t=ye.c(3),{children:a}=e,[o]=A.useState(Zie);let n;return t[0]!==a||t[1]!==o?(n=y.jsx(NE,{value:o,children:a}),t[0]=a,t[1]=o,t[2]=n):n=t[2],n}function Xie(e){const t=ye.c(2),{children:a}=e;let o;return t[0]!==a?(o=y.jsx(NE,{value:null,children:a}),t[0]=a,t[1]=o):o=t[1],o}function bb(){return A.use(NE)}function f3(e){const t=ye.c(3),a=bb();if(!a)throw new Error("Breadcrumb contributions require Page.Breadcrumbs.Provider");let o;return t[0]!==e||t[1]!==a?(o=y.jsx("span",{hidden:!0,ref:n=>n?a.register(e):void 0}),t[0]=e,t[1]=a,t[2]=o):o=t[2],o}function ele(e,t){const a=new Set,o=n=>{if(a.has(n.key))throw new Error(`Duplicate breadcrumb key: ${n.key}`);a.add(n.key);const r=t.get(n.key);return[{...n,...r?.parent},...r?.items?.flatMap(o)??[]]};return e.flatMap(o)}function tle(e,t){const a=e.map(o=>o.label).filter(o=>typeof o=="string").reverse();return t&&a.push(t),a.map(o=>o.trim()).filter(Boolean).join(" · ")}const v3=5;function ale(e,t=!1,a=v3){const o=e.map(i=>({type:"item",item:i}));if(e.length<=(t?1:a))return o;const n=t?0:1,r=e.length-(t?1:2);return o.splice(n,r-n,{type:"menu",items:e.slice(n,r)}),o}const b3=oV(function(t){return y.jsx("a",{...t,"aria-current":void 0})});function ole(e){const t=ye.c(12),{items:a}=e,o=$o();let n;t[0]!==o?(n=o("page.breadcrumbMenu"),t[0]=o,t[1]=n):n=t[1];let r;t[2]===Symbol.for("react.memo_cache_sentinel")?(r=y.jsx(r3,{"aria-hidden":"true",className:"size-4"}),t[2]=r):r=t[2];let i;t[3]!==n?(i=y.jsx(Wie,{asChild:!0,children:y.jsx(yn,{variant:"ghost",size:"icon-xs",className:"shrink-0","aria-label":n,children:r})}),t[3]=n,t[4]=i):i=t[4];let c;t[5]!==a?(c=a.map(nle),t[5]=a,t[6]=c):c=t[6];let d;t[7]!==c?(d=y.jsx(Kie,{align:"start",children:c}),t[7]=c,t[8]=d):d=t[8];let u;return t[9]!==i||t[10]!==d?(u=y.jsxs(Gie,{children:[i,d]}),t[9]=i,t[10]=d,t[11]=u):u=t[11],u}function nle(e){const t=y.jsx("span",{className:"max-w-64 truncate",title:typeof e.label=="string"?e.label:void 0,children:e.label});return y.jsx(Yie,{asChild:!!e.link&&!e.onSelect,onSelect:e.onSelect,disabled:!e.onSelect&&!e.link,children:e.link&&!e.onSelect?y.jsx(b3,{...e.link,children:t}):t},e.key)}function rle(e){const t=ye.c(14),{item:a,current:o}=e,n=typeof a.label=="string"?a.label:void 0;if(o){let i;return t[0]!==a.label||t[1]!==n?(i=y.jsx("h1",{"data-slot":"page-title","aria-current":"page",title:n,className:"truncate text-sm font-medium text-foreground",children:a.label}),t[0]=a.label,t[1]=n,t[2]=i):i=t[2],i}if(a.onSelect){let i;return t[3]!==a.label||t[4]!==a.onSelect||t[5]!==n?(i=y.jsx("button",{type:"button",onClick:a.onSelect,title:n,className:"block max-w-48 truncate rounded-lg hover:text-foreground focus-ring",children:a.label}),t[3]=a.label,t[4]=a.onSelect,t[5]=n,t[6]=i):i=t[6],i}if(a.link){let i;return t[7]!==a.label||t[8]!==a.link||t[9]!==n?(i=y.jsx(b3,{...a.link,title:n,className:"block max-w-48 truncate rounded-lg hover:text-foreground focus-ring",children:a.label}),t[7]=a.label,t[8]=a.link,t[9]=n,t[10]=i):i=t[10],i}let r;return t[11]!==a.label||t[12]!==n?(r=y.jsx("span",{title:n,className:"block max-w-48 truncate",children:a.label}),t[11]=a.label,t[12]=n,t[13]=r):r=t[13],r}function y3(e){const t=ye.c(21),{items:a}=e,o=$o(),[n,r]=Qie();let i,c,d,u,m,h;if(t[0]!==a||t[1]!==r||t[2]!==o||t[3]!==n){const b=ale(a,n>=0&&n<200,v3);u=r,t[10]!==o?(m=o("page.breadcrumbs"),t[10]=o,t[11]=m):m=t[11],h='min-w-0 flex-1 first:pl-3 [&:has(~[data-slot="panel-topbar-left-target"]:not(:empty))]:flex-initial',i="page-breadcrumbs",c="flex min-w-0 items-center gap-2 text-sm text-muted-foreground",d=b.map((w,x)=>y.jsxs("li",{className:Je("flex min-w-0 items-center gap-2",x>0&&"min-w-5",w.type==="item"?"last:min-w-16 last:flex-[1_1_auto]":"shrink-0"),children:[x>0&&y.jsx(OE,{"aria-hidden":"true",className:"size-3 shrink-0 text-muted-foreground/60"}),w.type==="item"?y.jsx(rle,{item:w.item,current:x===b.length-1}):y.jsx(ole,{items:w.items})]},w.type==="item"?`item:${w.item.key}`:"menu")),t[0]=a,t[1]=r,t[2]=o,t[3]=n,t[4]=i,t[5]=c,t[6]=d,t[7]=u,t[8]=m,t[9]=h}else i=t[4],c=t[5],d=t[6],u=t[7],m=t[8],h=t[9];let f;t[12]!==i||t[13]!==c||t[14]!==d?(f=y.jsx("ol",{"data-slot":i,className:c,children:d}),t[12]=i,t[13]=c,t[14]=d,t[15]=f):f=t[15];let v;return t[16]!==u||t[17]!==m||t[18]!==h||t[19]!==f?(v=y.jsx("nav",{ref:u,"aria-label":m,className:h,children:f}),t[16]=u,t[17]=m,t[18]=h,t[19]=f,t[20]=v):v=t[20],v}function sle(e){const t=ye.c(12),{items:a,scope:o}=e,n=bb();if(!n)throw new Error("Page.Header requires Page.Breadcrumbs.Provider");const r=A.useSyncExternalStore(n.subscribe,n.getSnapshot,n.getSnapshot);let i,c;t[0]!==r||t[1]!==a||t[2]!==o?(i=ele(a,r),c=tle(i,o),t[0]=r,t[1]=a,t[2]=o,t[3]=i,t[4]=c):(i=t[3],c=t[4]);const d=c;let u;t[5]!==d?(u=d&&y.jsx("title",{children:d}),t[5]=d,t[6]=u):u=t[6];let m;t[7]!==i?(m=y.jsx(y3,{items:i}),t[7]=i,t[8]=m):m=t[8];let h;return t[9]!==u||t[10]!==m?(h=y.jsxs(y.Fragment,{children:[u,m]}),t[9]=u,t[10]=m,t[11]=h):h=t[11],h}function ile(e){const t=ye.c(3),a=bb();let o;return t[0]!==e||t[1]!==a?(o=a?y.jsx(f3,{...e}):y.jsx("div",{className:"min-w-0 shrink-0 border-b px-3 py-2",children:y.jsx(y3,{items:e.items??[]})}),t[0]=e,t[1]=a,t[2]=o):o=t[2],o}const lle=Object.assign(ile,{Provider:Jie,Detached:Xie});function cle(e){const t=ye.c(8);let a,o;t[0]!==e?({className:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);let n;t[3]!==a?(n=Je("flex h-full min-h-0 min-w-0 w-full flex-col overflow-hidden",a),t[3]=a,t[4]=n):n=t[4];let r;return t[5]!==o||t[6]!==n?(r=y.jsx("div",{...o,"data-slot":"page",className:n}),t[5]=o,t[6]=n,t[7]=r):r=t[7],r}function dle(e){const t=ye.c(8);let a,o;t[0]!==e?({className:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);let n;t[3]!==a?(n=Je("min-h-0 min-w-0 flex-1 overflow-auto",a),t[3]=a,t[4]=n):n=t[4];let r;return t[5]!==o||t[6]!==n?(r=y.jsx("div",{...o,"data-slot":"page-content",className:n}),t[5]=o,t[6]=n,t[7]=r):r=t[7],r}const ule={reading:"max-w-[720px]",standard:"max-w-5xl",wide:"max-w-[1200px]",fluid:"max-w-none"},ple="px-4 md:pl-6 md:pr-8",w3=A.createContext(!1);function mle(e){const t=ye.c(12);let a,o,n;t[0]!==e?({className:a,width:n,...o}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n):(a=t[1],o=t[2],n=t[3]);const r=n===void 0?"wide":n,i=A.use(w3);let c;t[4]!==a||t[5]!==i||t[6]!==r?(c=Je("w-full",i?Je(ple,"pt-4 pb-8"):"mx-auto px-4 py-6 md:px-8 md:py-8",ule[r],a),t[4]=a,t[5]=i,t[6]=r,t[7]=c):c=t[7];let d;return t[8]!==o||t[9]!==c||t[10]!==r?(d=y.jsx("div",{...o,"data-slot":"page-container","data-width":r,className:c}),t[8]=o,t[9]=c,t[10]=r,t[11]=d):d=t[11],d}function hle(e){const t=ye.c(9),{children:a,actions:o,className:n}=e,r=bb();let i;t[0]!==a||t[1]!==n||t[2]!==r?(i=r?y.jsx(f3,{after:"page",parent:{label:a}}):y.jsx("div",{"data-slot":"page-title",className:Je("flex flex-wrap items-center justify-between gap-3",n),children:y.jsx("h1",{className:"min-w-0 text-xl font-medium",children:a})}),t[0]=a,t[1]=n,t[2]=r,t[3]=i):i=t[3];let c;t[4]!==o?(c=o&&y.jsx(S3,{children:o}),t[4]=o,t[5]=c):c=t[5];let d;return t[6]!==i||t[7]!==c?(d=y.jsxs(y.Fragment,{children:[i,c]}),t[6]=i,t[7]=c,t[8]=d):d=t[8],d}function S3(e){const t=ye.c(3),{children:a,secondary:o}=e;let n;if(t[0]!==a||t[1]!==o){const r=y.jsxs("div",{"data-slot":"page-actions",className:"flex shrink-0 items-center gap-2",children:[o,a]});n=y.jsx(mn.Topbar.Right.Portal,{fallback:r,children:r}),t[0]=a,t[1]=o,t[2]=n}else n=t[2];return n}function gle(e){const t=ye.c(28),{breadcrumbs:a,scope:o,leading:n,actions:r,navigation:i,trailingActions:c}=e;let d;t[0]!==a||t[1]!==o?(d=y.jsx(sle,{items:a,scope:o}),t[0]=a,t[1]=o,t[2]=d):d=t[2];let u;t[3]===Symbol.for("react.memo_cache_sentinel")?(u=y.jsx(mn.Topbar.Left.Target,{}),t[3]=u):u=t[3];let m;t[4]!==n||t[5]!==d?(m=y.jsxs(mn.Topbar.Left,{className:"flex-1 gap-2",children:[n,d,u]}),t[4]=n,t[5]=d,t[6]=m):m=t[6];let h;t[7]!==r?(h=y.jsx("div",{className:"peer flex min-w-0 items-center gap-2 empty:hidden",children:r}),t[7]=r,t[8]=h):h=t[8];let f;t[9]===Symbol.for("react.memo_cache_sentinel")?(f=y.jsx(mn.Topbar.Right.Target,{className:"flex items-center gap-2 before:hidden before:h-4 before:w-px before:shrink-0 before:bg-border peer-[:not(:empty)]:before:block"}),t[9]=f):f=t[9];let v;t[10]!==h||t[11]!==c?(v=y.jsxs(mn.Topbar.Right,{className:"shrink-0 gap-2",children:[h,f,c]}),t[10]=h,t[11]=c,t[12]=v):v=t[12];let b;t[13]!==m||t[14]!==v?(b=y.jsxs(mn.Topbar,{className:"gap-3 border-b border-border/60 px-3","data-testid":"page-header",children:[m,v]}),t[13]=m,t[14]=v,t[15]=b):b=t[15];let w;t[16]!==i?(w=y.jsx("div",{"data-toolbar-content":"",className:"min-w-0 empty:hidden",children:i}),t[16]=i,t[17]=w):w=t[17];let x;t[18]===Symbol.for("react.memo_cache_sentinel")?(x=y.jsx(mn.Toolbar.Left.Target,{}),t[18]=x):x=t[18];let T;t[19]!==w?(T=y.jsxs(mn.Toolbar.Left,{children:[w,x]}),t[19]=w,t[20]=T):T=t[20];let k;t[21]===Symbol.for("react.memo_cache_sentinel")?(k=y.jsx(mn.Toolbar.Center,{className:"max-md:@max-xl/panel-toolbar:order-last max-md:@max-xl/panel-toolbar:basis-full md:min-w-48 md:@max-[22rem]/panel-toolbar:order-last md:@max-[22rem]/panel-toolbar:basis-full [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",children:y.jsx(mn.Toolbar.Center.Target,{})}),t[21]=k):k=t[21];let C;t[22]===Symbol.for("react.memo_cache_sentinel")?(C=y.jsx(mn.Toolbar.Right,{children:y.jsx(mn.Toolbar.Right.Target,{})}),t[22]=C):C=t[22];let E;t[23]!==T?(E=y.jsxs(mn.Toolbar,{children:[T,k,C]}),t[23]=T,t[24]=E):E=t[24];let _;return t[25]!==E||t[26]!==b?(_=y.jsxs(y.Fragment,{children:[b,E]}),t[25]=E,t[26]=b,t[27]=_):_=t[27],_}function fle(e){const t=ye.c(11);let a,o;t[0]!==e?({className:a,...o}=e,t[0]=e,t[1]=a,t[2]=o):(a=t[1],o=t[2]);const n=$o();let r;t[3]!==n?(r=n("page.views"),t[3]=n,t[4]=r):r=t[4];let i;t[5]!==a?(i=Je("-m-2 flex min-w-0 items-center gap-1 overflow-x-auto p-2 no-scrollbar",a),t[5]=a,t[6]=i):i=t[6];let c;return t[7]!==o||t[8]!==r||t[9]!==i?(c=y.jsx("nav",{"aria-label":r,...o,"data-slot":"page-tabs",className:i}),t[7]=o,t[8]=r,t[9]=i,t[10]=c):c=t[10],c}function vle(e){const t=ye.c(14);let a,o,n,r;t[0]!==e?({active:a,asChild:r,className:o,...n}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n,t[4]=r):(a=t[1],o=t[2],n=t[3],r=t[4]);const i=r===void 0?!1:r,c=i?void 0:"button",d=i&&a?"page":void 0,u=i?void 0:a;let m;t[5]!==o?(m=Je("shrink-0",o),t[5]=o,t[6]=m):m=t[6];let h;return t[7]!==i||t[8]!==n||t[9]!==c||t[10]!==d||t[11]!==u||t[12]!==m?(h=y.jsx(yn,{asChild:i,variant:"tab",size:"sm",...n,type:c,"aria-current":d,"aria-pressed":u,"data-slot":"page-tab",className:m}),t[7]=i,t[8]=n,t[9]=c,t[10]=d,t[11]=u,t[12]=m,t[13]=h):h=t[13],h}const Cd=Object.assign(cle,{Header:gle,Tabs:fle,Tab:vle,Actions:S3,Content:dle,Container:Object.assign(mle,{Inset:w3}),Title:hle,Breadcrumbs:lle});var ge=typeof window<"u"?window:void 0,so=typeof globalThis<"u"?globalThis:ge;typeof self>"u"&&(so.self=so),typeof File>"u"&&(so.File=function(){});var In=so?.navigator,ze=so?.document,Eo=so?.location,Wx=so?.fetch,Kx=so!=null&&so.XMLHttpRequest&&"withCredentials"in new so.XMLHttpRequest?so.XMLHttpRequest:void 0,n2=so?.AbortController,ble=so?.CompressionStream,hn=In?.userAgent,at=ge??{},r2="1.372.3",Jo={DEBUG:!1,LIB_VERSION:r2,LIB_NAME:"web",JS_SDK_VERSION:r2};function s2(e,t,a,o,n,r,i){try{var c=e[r](i),d=c.value}catch(u){return void a(u)}c.done?t(d):Promise.resolve(d).then(o,n)}function tr(e){return function(){var t=this,a=arguments;return new Promise((function(o,n){var r=e.apply(t,a);function i(d){s2(r,o,n,i,c,"next",d)}function c(d){s2(r,o,n,i,c,"throw",d)}i(void 0)}))}}function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var a=arguments[t];for(var o in a)({}).hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},Me.apply(null,arguments)}function T3(e,t){if(e==null)return{};var a={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;a[o]=e[o]}return a}function Yx(){return Yx=tr((function*(e,t,a){t===void 0&&(t=!0);try{var o=new CompressionStream("gzip"),n=o.writable.getWriter(),r=n.write(new TextEncoder().encode(e)).then((()=>n.close())).catch((function(){var d=tr((function*(u){try{yield n.abort(u)}catch{}throw u}));return function(u){return d.apply(this,arguments)}})()),i=new Response(o.readable).blob(),[c]=yield Promise.all([i,r]);return c}catch(d){if(a!=null&&a.rethrow)throw d;return t&&console.error("Failed to gzip compress data",d),null}})),Yx.apply(this,arguments)}var yle=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],i2=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var a=e.toLowerCase();return yle.concat(t).some((o=>{var n=o.toLowerCase();return a.indexOf(n)!==-1}))},wle=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function Et(e,t){return e.indexOf(t)!==-1}var yb=function(e){return e.trim()},Qx=function(e){return e.replace(/^\$/,"")},x3=Object.prototype,k3=x3.hasOwnProperty,wb=x3.toString,Bt=Array.isArray||function(e){return wb.call(e)==="[object Array]"},Os=e=>typeof e=="function",Ba=e=>e===Object(e)&&!Bt(e),vd=e=>{if(Ba(e)){for(var t in e)if(k3.call(e,t))return!1;return!0}return!1},$e=e=>e===void 0,Ca=e=>wb.call(e)=="[object String]",Ef=e=>Ca(e)&&e.trim().length===0,Us=e=>e===null,Pt=e=>$e(e)||Us(e),ir=e=>wb.call(e)=="[object Number]"&&e==e,cd=e=>ir(e)&&e>0,Zr=e=>wb.call(e)==="[object Boolean]",Sle=e=>e instanceof FormData,Tle=e=>Et(wle,e);function E3(e){return e===null||typeof e!="object"}function uv(e,t){return{}.toString.call(e)==="[object "+t+"]"}function ME(e){return typeof Event<"u"&&(function(t,a){try{return t instanceof a}catch{return!1}})(e,Event)}var xle=[!0,"true",1,"1","yes"],QS=e=>Et(xle,e),kle=[!1,"false",0,"0","no"];function Jr(e,t,a,o,n){return t>a&&(o.warn("min cannot be greater than max."),t=a),ir(e)?e>a?(o.warn(" cannot be greater than max: "+a+". Using max value instead."),a):t>e?(o.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(o.warn(" must be a number. using max or fallback. max: "+a+", fallback: "+n),Jr(n||a,t,a,o))}let Ele=class{constructor(t){this.$t={},this.zt=t.zt,this.Ut=Jr(t.bucketSize,0,100,t.Gt),this.Wt=Jr(t.refillRate,0,this.Ut,t.Gt),this.Xt=Jr(t.refillInterval,0,864e5,t.Gt)}Jt(t,a){var o=Math.floor((a-t.lastAccess)/this.Xt);o>0&&(t.tokens=Math.min(t.tokens+o*this.Wt,this.Ut),t.lastAccess=t.lastAccess+o*this.Xt)}consumeRateLimit(t){var a,o=Date.now(),n=String(t),r=this.$t[n];return r?this.Jt(r,o):this.$t[n]=r={tokens:this.Ut,lastAccess:o},r.tokens===0||(r.tokens--,r.tokens===0&&((a=this.zt)==null||a.call(this,t)),r.tokens===0)}stop(){this.$t={}}};var Zg,l2,ZS,Bn="Mobile",pv="iOS",Ls="Android",Ud="Tablet",C3=Ls+" "+Ud,P3="iPad",_3="Apple",A3=_3+" Watch",Pp="Safari",$d="BlackBerry",R3="Samsung",D3=R3+"Browser",O3=R3+" Internet",zl="Chrome",Cle=zl+" OS",N3=zl+" "+pv,IE="Internet Explorer",M3=IE+" "+Bn,LE="Opera",Ple=LE+" Mini",BE="Edge",I3="Microsoft "+BE,Pd="Firefox",L3=Pd+" "+pv,Yp="Nintendo",Qp="PlayStation",_d="Xbox",B3=Ls+" "+Bn,F3=Bn+" "+Pp,bp="Windows",Zx=bp+" Phone",c2="Nokia",Jx="Ouya",j3="Generic",_le=j3+" "+Bn.toLowerCase(),z3=j3+" "+Ud.toLowerCase(),Xx="Konqueror",Zo="(\\d+(\\.\\d+)?)",JS=new RegExp("Version/"+Zo),Ale=new RegExp(_d,"i"),Rle=new RegExp(Qp+" \\w+","i"),Dle=new RegExp(Yp+" \\w+","i"),FE=new RegExp($d+"|PlayBook|BB10","i"),Ole={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},q3=function(e,t){return t=t||"",Et(e," OPR/")&&Et(e,"Mini")?Ple:Et(e," OPR/")?LE:FE.test(e)?$d:Et(e,"IE"+Bn)||Et(e,"WPDesktop")?M3:Et(e,D3)?O3:Et(e,BE)||Et(e,"Edg/")?I3:Et(e,"FBIOS")?"Facebook "+Bn:Et(e,"UCWEB")||Et(e,"UCBrowser")?"UC Browser":Et(e,"CriOS")?N3:Et(e,"CrMo")||Et(e,zl)?zl:Et(e,Ls)&&Et(e,Pp)?B3:Et(e,"FxiOS")?L3:Et(e.toLowerCase(),Xx.toLowerCase())?Xx:((a,o)=>o&&Et(o,_3)||(function(n){return Et(n,Pp)&&!Et(n,zl)&&!Et(n,Ls)})(a))(e,t)?Et(e,Bn)?F3:Pp:Et(e,Pd)?Pd:Et(e,"MSIE")||Et(e,"Trident/")?IE:Et(e,"Gecko")?Pd:""},Nle={[M3]:[new RegExp("rv:"+Zo)],[I3]:[new RegExp(BE+"?\\/"+Zo)],[zl]:[new RegExp("("+zl+"|CrMo)\\/"+Zo)],[N3]:[new RegExp("CriOS\\/"+Zo)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Zo)],[Pp]:[JS],[F3]:[JS],[LE]:[new RegExp("(Opera|OPR)\\/"+Zo)],[Pd]:[new RegExp(Pd+"\\/"+Zo)],[L3]:[new RegExp("FxiOS\\/"+Zo)],[Xx]:[new RegExp("Konqueror[:/]?"+Zo,"i")],[$d]:[new RegExp($d+" "+Zo),JS],[B3]:[new RegExp("android\\s"+Zo,"i")],[O3]:[new RegExp(D3+"\\/"+Zo)],[IE]:[new RegExp("(rv:|MSIE )"+Zo)],Mozilla:[new RegExp("rv:"+Zo)]},Mle=function(e,t){var a=q3(e,t),o=Nle[a];if($e(o))return null;for(var n=0;o.length>n;n++){var r=e.match(o[n]);if(r)return parseFloat(r[r.length-2])}return null},d2=[[new RegExp(_d+"; "+_d+" (.*?)[);]","i"),e=>[_d,e&&e[1]||""]],[new RegExp(Yp,"i"),[Yp,""]],[new RegExp(Qp,"i"),[Qp,""]],[FE,[$d,""]],[new RegExp(bp,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[Zx,""];if(new RegExp(Bn).test(t)&&!/IEMobile\b/.test(t))return[bp+" "+Bn,""];var a=/Windows NT ([0-9.]+)/i.exec(t);if(a&&a[1]){var o=Ole[a[1]]||"";return/arm/i.test(t)&&(o="RT"),[bp,o]}return[bp,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[pv,[e[3],e[4],e[5]||"0"].join(".")]:[pv,""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=$e(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Ls+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Ls+")","i"),e=>e&&e[2]?[Ls,[e[2],e[3],e[4]||"0"].join(".")]:[Ls,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||"0"].join(".")),t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[Cle,""]],[/Linux|debian/i,["Linux",""]]],u2=function(e){return Dle.test(e)?Yp:Rle.test(e)?Qp:Ale.test(e)?_d:new RegExp(Jx,"i").test(e)?Jx:new RegExp("("+Zx+"|WPDesktop)","i").test(e)?Zx:/iPad/.test(e)?P3:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?A3:FE.test(e)?$d:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(c2,"i").test(e)?c2:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(Bn).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?Ls:C3:new RegExp("(pda|"+Bn+")","i").test(e)?_le:new RegExp(Ud,"i").test(e)&&!new RegExp(Ud+" pc","i").test(e)?z3:""},Ile=e=>e instanceof Error,U3={trace:{text:"TRACE",number:1},debug:{text:"DEBUG",number:5},info:{text:"INFO",number:9},warn:{text:"WARN",number:13},error:{text:"ERROR",number:17},fatal:{text:"FATAL",number:21}},Lle=U3.info;function $3(e){if(Zr(e))return{boolValue:e};if(typeof e=="number")return Number.isFinite(e)?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:{stringValue:String(e)};if(typeof e=="string")return{stringValue:e};if(Bt(e))return{arrayValue:{values:e.map((t=>$3(t)))}};try{return{stringValue:JSON.stringify(e)}}catch{return{stringValue:String(e)}}}function p2(e){var t=[];for(var a in e){var o=e[a];Us(o)||$e(o)||t.push({key:a,value:$3(o)})}return t}function Ble(e){var t=globalThis._posthogChunkIds;if(t){var a=Object.keys(t);return ZS&&a.length===l2||(l2=a.length,ZS=a.reduce(((o,n)=>{Zg||(Zg={});var r=Zg[n];if(r)o[r[0]]=r[1];else for(var i=e(n),c=i.length-1;c>=0;c--){var d=i[c],u=d?.filename,m=t[n];if(u&&m){o[u]=m,Zg[n]=[u,m];break}}return o}),{})),ZS}}class Fle{constructor(t,a,o){o===void 0&&(o=[]),this.coercers=t,this.stackParser=a,this.modifiers=o}buildFromUnknown(t,a){a===void 0&&(a={});var o=a&&a.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(o,a,0).apply(t),r=this.buildParsingContext(a),i=this.parseStacktrace(n,r);return{$exception_list:this.convertToExceptionList(i,o),$exception_level:"error"}}modifyFrames(t){var a=this;return tr((function*(){for(var o of t)o.stacktrace&&o.stacktrace.frames&&Bt(o.stacktrace.frames)&&(o.stacktrace.frames=yield a.applyModifiers(o.stacktrace.frames));return t}))()}coerceFallback(t){var a;return{type:"Error",value:"Unknown error",stack:(a=t.syntheticException)==null?void 0:a.stack,synthetic:!0}}parseStacktrace(t,a){var o,n;return t.cause!=null&&(o=this.parseStacktrace(t.cause,a)),t.stack!=""&&t.stack!=null&&(n=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?a.skipFirstLines:0),a.chunkIdMap)),Me({},t,{cause:o,stack:n})}applyChunkIds(t,a){return t.map((o=>(o.filename&&a&&(o.chunk_id=a[o.filename]),o)))}applyCoercers(t,a){for(var o of this.coercers)if(o.match(t))return o.coerce(t,a);return this.coerceFallback(a)}applyModifiers(t){var a=this;return tr((function*(){var o=t;for(var n of a.modifiers)o=yield n(o);return o}))()}convertToExceptionList(t,a){var o,n,r,i={type:t.type,value:t.value,mechanism:{type:(o=a.type)!==null&&o!==void 0?o:"generic",handled:(n=a.handled)===null||n===void 0||n,synthetic:(r=t.synthetic)!==null&&r!==void 0&&r}};t.stack&&(i.stacktrace={type:"raw",frames:t.stack});var c=[i];return t.cause!=null&&c.push(...this.convertToExceptionList(t.cause,Me({},a,{handled:!0}))),c}buildParsingContext(t){var a;return{chunkIdMap:Ble(this.stackParser),skipFirstLines:(a=t.skipFirstLines)!==null&&a!==void 0?a:1}}buildCoercingContext(t,a,o){o===void 0&&(o=0);var n=(r,i)=>{if(4>=i){var c=this.buildCoercingContext(t,a,i);return this.applyCoercers(r,c)}};return Me({},a,{syntheticException:o==0?a.syntheticException:void 0,mechanism:t,apply:r=>n(r,o),next:r=>n(r,o+1)})}}var Vd="?";function e0(e,t,a,o,n){var r={platform:e,filename:t,function:a==="<anonymous>"?Vd:a,in_app:!0};return $e(o)||(r.lineno=o),$e(n)||(r.colno=n),r}var V3=(e,t)=>{var a=e.indexOf("safari-extension")!==-1,o=e.indexOf("safari-web-extension")!==-1;return a||o?[e.indexOf("@")!==-1?e.split("@")[0]:Vd,a?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},jle=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,zle=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,qle=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ule=(e,t)=>{var a=jle.exec(e);if(a){var[,o,n,r]=a;return e0(t,o,Vd,+n,+r)}var i=zle.exec(e);if(i){if(i[2]&&i[2].indexOf("eval")===0){var c=qle.exec(i[2]);c&&(i[2]=c[1],i[3]=c[2],i[4]=c[3])}var[d,u]=V3(i[1]||Vd,i[2]);return e0(t,u,d,i[3]?+i[3]:void 0,i[4]?+i[4]:void 0)}},$le=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Vle=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Hle=(e,t)=>{var a=$le.exec(e);if(a){if(a[3]&&a[3].indexOf(" > eval")>-1){var o=Vle.exec(a[3]);o&&(a[1]=a[1]||"eval",a[3]=o[1],a[4]=o[2],a[5]="")}var n=a[3],r=a[1]||Vd;return[r,n]=V3(r,n),e0(t,n,r,a[4]?+a[4]:void 0,a[5]?+a[5]:void 0)}},m2=/\(error: (.*)\)/;let Gle=class{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,a){var o=Ca(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:o?t.stack:void 0,cause:t.cause?a.next(t.cause):void 0,synthetic:!1}}getType(t){return this.isDOMError(t)?"DOMError":"DOMException"}getValue(t){var a=t.name||(this.isDOMError(t)?"DOMError":"DOMException");return t.message?a+": "+t.message:a}isDOMException(t){return uv(t,"DOMException")}isDOMError(t){return uv(t,"DOMError")}};class Wle{match(t){return(a=>a instanceof Error)(t)}coerce(t,a){return{type:this.getType(t),value:this.getMessage(t,a),stack:this.getStack(t),cause:t.cause?a.next(t.cause):void 0,synthetic:!1}}getType(t){return t.name||t.constructor.name}getMessage(t,a){var o=t.message;return String(o.error&&typeof o.error.message=="string"?o.error.message:o)}getStack(t){return t.stacktrace||t.stack||void 0}}let Kle=class{constructor(){}match(t){return uv(t,"ErrorEvent")&&t.error!=null}coerce(t,a){var o;return a.apply(t.error)||{type:"ErrorEvent",value:t.message,stack:(o=a.syntheticException)==null?void 0:o.stack,synthetic:!0}}};var Yle=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let Qle=class{match(t){return typeof t=="string"}coerce(t,a){var o,[n,r]=this.getInfos(t);return{type:n??"Error",value:r??t,stack:(o=a.syntheticException)==null?void 0:o.stack,synthetic:!0}}getInfos(t){var a="Error",o=t,n=t.match(Yle);return n&&(a=n[1],o=n[2]),[a,o]}};var Zle=["fatal","error","warning","log","info","debug"];function H3(e,t){t===void 0&&(t=40);var a=Object.keys(e);if(a.sort(),!a.length)return"[object has no keys]";for(var o=a.length;o>0;o--){var n=a.slice(0,o).join(", ");if(t>=n.length)return o===a.length?n:n.length>t?n.slice(0,t)+"...":n}return""}let Jle=class{match(t){return typeof t=="object"&&t!==null}coerce(t,a){var o,n=this.getErrorPropertyFromObject(t);return n?a.apply(n):{type:this.getType(t),value:this.getValue(t),stack:(o=a.syntheticException)==null?void 0:o.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return ME(t)?t.constructor.name:"Error"}getValue(t){if("name"in t&&typeof t.name=="string"){var a="'"+t.name+"' captured as exception";return"message"in t&&typeof t.message=="string"&&(a+=" with message: '"+t.message+"'"),a}if("message"in t&&typeof t.message=="string")return t.message;var o=this.getObjectClassName(t);return(o&&o!=="Object"?"'"+o+"'":"Object")+" captured as exception with keys: "+H3(t)}isSeverityLevel(t){return Ca(t)&&!Ef(t)&&Zle.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var a in t)if({}.hasOwnProperty.call(t,a)){var o=t[a];if(Ile(o))return o}}getObjectClassName(t){try{var a=Object.getPrototypeOf(t);return a?a.constructor.name:void 0}catch{return}}},Xle=class{match(t){return ME(t)}coerce(t,a){var o,n=t.constructor.name;return{type:n,value:n+" captured as exception with keys: "+H3(t),stack:(o=a.syntheticException)==null?void 0:o.stack,synthetic:!0}}},ece=class{match(t){return E3(t)}coerce(t,a){var o;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(o=a.syntheticException)==null?void 0:o.stack,synthetic:!0}}},tce=class{match(t){return uv(t,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(t)}isCustomEventWrappingRejection(t){if(!ME(t))return!1;try{var a=t.detail;return a!=null&&typeof a=="object"&&"reason"in a}catch{return!1}}coerce(t,a){var o,n=this.getUnhandledRejectionReason(t);return E3(n)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(n),stack:(o=a.syntheticException)==null?void 0:o.stack,synthetic:!0}:a.apply(n)}getUnhandledRejectionReason(t){try{if("reason"in t)return t.reason;if("detail"in t&&t.detail!=null&&typeof t.detail=="object"&&"reason"in t.detail)return t.detail.reason}catch{}return t}};var mv="$message",hv="$timestamp",ace=new Set([mv,hv]),XS={enabled:!0,max_bytes:32768};function gv(e){var t;return e?{enabled:(t=e.enabled)!==null&&t!==void 0?t:XS.enabled,max_bytes:nce(e.max_bytes,XS.max_bytes)}:Me({},XS)}let oce=class{constructor(t){this.Kt=[],this.Qt=0,this.Bt=gv(t)}setConfig(t){this.Bt=gv(t),this.er()}add(t){var a=(function(n){var r=(function(m){var h=new WeakSet;try{return JSON.stringify(m,((f,v)=>{if(typeof v=="bigint")return v.toString();if(typeof v!="function"&&typeof v!="symbol"){if(v instanceof Date)return v.toISOString();if(v instanceof Error)return{name:v.name,message:v.message,stack:v.stack};if(v&&typeof v=="object"){if(h.has(v))return"[Circular]";h.add(v)}return v}}))}catch{return}})(n);if(r)try{var i=JSON.parse(r);if(!Ba(i))return;var c=i,d=c[mv],u=c[hv];return!Ca(d)||d.trim().length===0||!Ca(u)&&!ir(u)?void 0:{step:c,json:r}}catch{return}})(t);if(a){var o=(function(n){if(typeof TextEncoder<"u")return new TextEncoder().encode(n).length;for(var r=encodeURIComponent(n),i=0,c=0;r.length>c;c++)r[c]==="%"?(i+=1,c+=2):i+=1;return i})(a.json);o>this.Bt.max_bytes||(this.Kt.push({step:a.step,bytes:o}),this.Qt+=o,this.er())}}getAttachable(){return this.Kt.map((t=>t.step))}clear(){this.Kt=[],this.Qt=0}size(){return this.Kt.length}er(){for(;this.Qt>this.Bt.max_bytes&&this.Kt.length>0;){var t=this.Kt.shift();t&&(this.Qt-=t.bytes)}}};function nce(e,t){if(!ir(e)||e===1/0||e===-1/0)return t;var a=Math.floor(e);return 0>a?t:a}var G3=function(e,t){var{debugEnabled:a}=t===void 0?{}:t,o={C(n){if(ge&&(Jo.DEBUG||at.POSTHOG_DEBUG||a)&&!$e(ge.console)&&ge.console){for(var r=("__rrweb_original__"in ge.console[n])?ge.console[n].__rrweb_original__:ge.console[n],i=arguments.length,c=new Array(i>1?i-1:0),d=1;i>d;d++)c[d-1]=arguments[d];r(e,...c)}},info(){for(var n=arguments.length,r=new Array(n),i=0;n>i;i++)r[i]=arguments[i];o.C("log",...r)},warn(){for(var n=arguments.length,r=new Array(n),i=0;n>i;i++)r[i]=arguments[i];o.C("warn",...r)},error(){for(var n=arguments.length,r=new Array(n),i=0;n>i;i++)r[i]=arguments[i];o.C("error",...r)},critical(){for(var n=arguments.length,r=new Array(n),i=0;n>i;i++)r[i]=arguments[i];console.error(e,...r)},uninitializedWarning(n){o.error("You must initialize PostHog before calling "+n)},createLogger:(n,r)=>G3(e+" "+n,r)};return o},Ue=G3("[PostHog.js]"),Ta=Ue.createLogger,rce=Ta("[ExternalScriptsLoader]"),eT=(e,t,a)=>{if(e.config.disable_external_dependency_loading)return rce.warn(t+" was requested but loading of external scripts is disabled."),a("Loading of external scripts is disabled");var o=ze?.querySelectorAll("script");if(o){for(var n,r=function(){if(o[i].src===t){var d=o[i];return d.__posthog_loading_callback_fired?{v:a()}:(d.addEventListener("load",(u=>{d.__posthog_loading_callback_fired=!0,a(void 0,u)})),d.onerror=u=>a(u),{v:void 0})}},i=0;o.length>i;i++)if(n=r())return n.v}var c=()=>{if(!ze)return a("document not found");var d=ze.createElement("script");if(d.type="text/javascript",d.crossOrigin="anonymous",d.src=t,d.onload=h=>{d.__posthog_loading_callback_fired=!0,a(void 0,h)},d.onerror=h=>a(h),e.config.prepare_external_dependency_script&&(d=e.config.prepare_external_dependency_script(d)),!d)return a("prepare_external_dependency_script returned null");if(e.config.external_scripts_inject_target==="head")ze.head.appendChild(d);else{var u,m=ze.querySelectorAll("body > script");m.length>0?(u=m[0].parentNode)==null||u.insertBefore(d,m[0]):ze.body.appendChild(d)}};ze!=null&&ze.body?c():ze?.addEventListener("DOMContentLoaded",c)};at.__PosthogExtensions__=at.__PosthogExtensions__||{},at.__PosthogExtensions__.loadExternalDependency=(e,t,a)=>{if(t!=="remote-config"){var o;if(e.config.__preview_external_dependency_versioned_paths)o=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var n="/static/"+t+".js?v="+e.version;if(t==="toolbar"){var r=3e5;n=n+"&t="+Math.floor(Date.now()/r)*r}o=e.requestRouter.endpointFor("assets",n)}eT(e,o,a)}else{var i=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");eT(e,i,a)}},at.__PosthogExtensions__.loadSiteApp=(e,t,a)=>{var o=e.requestRouter.endpointFor("api",t);eT(e,o,a)};var W3="$people_distinct_id",fv="$device_id",yp="__alias",wp="__timers",t0="$autocapture_disabled_server_side",a0="$heatmaps_enabled_server_side",o0="$exception_capture_enabled_server_side",n0="$error_tracking_suppression_rules",r0="$error_tracking_capture_extension_exceptions",s0="$web_vitals_enabled_server_side",jE="$dead_clicks_enabled_server_side",i0="$product_tours_enabled_server_side",l0="$web_vitals_allowed_metrics",Sp="$session_recording_remote_config",K3="$replay_override_sampling",Y3="$replay_override_linked_flag",Q3="$replay_override_url_trigger",Z3="$replay_override_event_trigger",vv="$sesid",zE="$session_is_sampled",bd="$enabled_feature_flags",Cf="$active_feature_flags",Tp="$early_access_features",c0="$feature_flag_details",d0="$feature_flag_payloads",u0="$feature_flag_request_id",Ds="$override_feature_flags",dd="$override_feature_flag_payloads",xp="$stored_person_properties",Rl="$stored_group_properties",p0="$surveys",m0="$surveys_activated",Pf="ph_product_tours",_p="$flag_call_reported",h0="$flag_call_reported_session_id",g0="$feature_flag_errors",bv="$feature_flag_evaluated_at",yr="$user_state",f0="$client_session_props",v0="$capture_rate_limit",b0="$initial_campaign_params",y0="$initial_referrer_info",yv="$initial_person_info",wv="$epp",J3="__POSTHOG_TOOLBAR__",Jg="$posthog_cookieless",X3="$sdk_debug_extensions_init_method",e4="$sdk_debug_extensions_init_time_ms",t4="$sdk_debug_recording_script_not_loaded",qE="PostHog loadExternalDependency extension not found.",Dl="on_reject",Ns="always",Jc="anonymous",Xc="identified",w0="identified_only",Sv="visibilitychange",Tv="beforeunload",ud="$pageview",tT="$pageleave",aT="$identify",h2="$groupidentify";function Xg(e,t){Bt(e)&&e.forEach(t)}function va(e,t){if(!Pt(e))if(Bt(e))e.forEach(t);else if(Sle(e))e.forEach(((o,n)=>t(o,n)));else for(var a in e)k3.call(e,a)&&t(e[a],a)}var Na=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;t>o;o++)a[o-1]=arguments[o];for(var n of a)for(var r in n)n[r]!==void 0&&(e[r]=n[r]);return e};function _f(e){for(var t=Object.keys(e),a=t.length,o=new Array(a);a--;)o[a]=[t[a],e[t[a]]];return o}var g2=function(e){try{return e()}catch{return}},sce=function(e){return function(){try{for(var t=arguments.length,a=new Array(t),o=0;t>o;o++)a[o]=arguments[o];return e.apply(this,a)}catch(n){Ue.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),Ue.critical(n)}}},UE=function(e){var t={};return va(e,(function(a,o){(Ca(a)&&a.length>0||ir(a))&&(t[o]=a)})),t},ice=["herokuapp.com","vercel.app","netlify.app"];function lce(e){var t=e?.hostname;if(!Ca(t))return!1;var a=t.split(".").slice(-2).join(".");for(var o of ice)if(a===o)return!1;return!0}function Za(e,t,a,o){var{capture:n=!1,passive:r=!0}=o??{};e?.addEventListener(t,a,{capture:n,passive:r})}function a4(e){return e.name==="ph_toolbar_internal"}Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return ir(e)&&isFinite(e)&&Math.floor(e)===e});class xv{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,a,o,n){if(!Number.isInteger(t)||!Number.isInteger(a)||!Number.isInteger(o)||!Number.isInteger(n)||0>t||0>a||0>o||0>n||t>0xffffffffffff||a>4095||o>1073741823||n>4294967295)throw new RangeError("invalid field value");var r=new Uint8Array(16);return r[0]=t/Math.pow(2,40),r[1]=t/Math.pow(2,32),r[2]=t/Math.pow(2,24),r[3]=t/Math.pow(2,16),r[4]=t/Math.pow(2,8),r[5]=t,r[6]=112|a>>>8,r[7]=a,r[8]=128|o>>>24,r[9]=o>>>16,r[10]=o>>>8,r[11]=o,r[12]=n>>>24,r[13]=n>>>16,r[14]=n>>>8,r[15]=n,new xv(r)}toString(){for(var t="",a=0;this.bytes.length>a;a++)t=t+(this.bytes[a]>>>4).toString(16)+(15&this.bytes[a]).toString(16),a!==3&&a!==5&&a!==7&&a!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new xv(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var a=0;16>a;a++){var o=this.bytes[a]-t.bytes[a];if(o!==0)return Math.sign(o)}return 0}}class cce{constructor(){this.I=0,this.S=0,this.k=new dce}generate(){var t=this.generateOrAbort();if($e(t)){this.I=0;var a=this.generateOrAbort();if($e(a))throw new Error("Could not generate UUID after timestamp reset");return a}return t}generateOrAbort(){var t=Date.now();if(t>this.I)this.I=t,this.A();else{if(this.I>=t+1e4)return;this.S++,this.S>4398046511103&&(this.I++,this.A())}return xv.fromFieldsV7(this.I,Math.trunc(this.S/Math.pow(2,30)),this.S&Math.pow(2,30)-1,this.k.nextUint32())}A(){this.S=1024*this.k.nextUint32()+(1023&this.k.nextUint32())}}var f2,o4=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;e.length>t;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};ge&&!$e(ge.crypto)&&crypto.getRandomValues&&(o4=e=>crypto.getRandomValues(e));class dce{constructor(){this.T=new Uint32Array(8),this.N=1/0}nextUint32(){return this.T.length>this.N||(o4(this.T),this.N=0),this.T[this.N++]}}var Oi=()=>uce().toString(),uce=()=>(f2||(f2=new cce)).generate(),ap="",pce=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,Qr={R:()=>!!ze,B(e){Ue.error("cookieStore error: "+e)},O(e){if(ze){try{for(var t=e+"=",a=ze.cookie.split(";").filter((r=>r.length)),o=0;a.length>o;o++){for(var n=a[o];n.charAt(0)==" ";)n=n.substring(1,n.length);if(n.indexOf(t)===0)return decodeURIComponent(n.substring(t.length,n.length))}}catch{}return null}},Z(e){var t;try{t=JSON.parse(Qr.O(e))||{}}catch{}return t},M(e,t,a,o,n){if(ze)try{var r="",i="",c=(function(m,h){if(h){var f=(function(b,w){if(w===void 0&&(w=ze),ap)return ap;if(!w||["localhost","127.0.0.1"].includes(b))return"";for(var x=b.split("."),T=Math.min(x.length,8),k="dmn_chk_"+Oi();!ap&&T--;){var C=x.slice(T).join("."),E=k+"=1;domain=."+C+";path=/";w.cookie=E+";max-age=3",w.cookie.includes(k)&&(w.cookie=E+";max-age=0",ap=C)}return ap})(m);if(!f){var v=(b=>{var w=b.match(pce);return w?w[0]:""})(m);v!==f&&Ue.info("Warning: cookie subdomain discovery mismatch",v,f),f=v}return f?"; domain=."+f:""}return""})(ze.location.hostname,o);if(a){var d=new Date;d.setTime(d.getTime()+864e5*a),r="; expires="+d.toUTCString()}n&&(i="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+r+"; SameSite=Lax; path=/"+c+i;return u.length>3686.4&&Ue.warn("cookieStore warning: large cookie, len="+u.length),ze.cookie=u,u}catch{return}},F(e,t){if(ze!=null&&ze.cookie)try{Qr.M(e,"",-1,t)}catch{return}}},oT=null,Ea={R(){if(!Us(oT))return oT;var e=!0;if($e(ge))e=!1;else try{var t="__mplssupport__";Ea.M(t,"xyz"),Ea.O(t)!=='"xyz"'&&(e=!1),Ea.F(t)}catch{e=!1}return e||Ue.error("localStorage unsupported; falling back to cookie store"),oT=e,e},B(e){Ue.error("localStorage error: "+e)},O(e){try{return ge?.localStorage.getItem(e)}catch(t){Ea.B(t)}return null},Z(e){try{return JSON.parse(Ea.O(e))||{}}catch{}return null},M(e,t){try{ge?.localStorage.setItem(e,JSON.stringify(t))}catch(a){Ea.B(a)}},F(e){try{ge?.localStorage.removeItem(e)}catch(t){Ea.B(t)}}},mce=[fv,"distinct_id",vv,zE,wv,yv,yr],ef={},hce={R:()=>!0,B(e){Ue.error("memoryStorage error: "+e)},O:e=>ef[e]||null,Z:e=>ef[e]||null,M(e,t){ef[e]=t},F(e){delete ef[e]}},El=null,Co={R(){if(!Us(El))return El;if(El=!0,$e(ge))El=!1;else try{var e="__support__";Co.M(e,"xyz"),Co.O(e)!=='"xyz"'&&(El=!1),Co.F(e)}catch{El=!1}return El},B(e){Ue.error("sessionStorage error: ",e)},O(e){try{return ge?.sessionStorage.getItem(e)}catch(t){Co.B(t)}return null},Z(e){try{return JSON.parse(Co.O(e))||null}catch{}return null},M(e,t){try{ge?.sessionStorage.setItem(e,JSON.stringify(t))}catch(a){Co.B(a)}},F(e){try{ge?.sessionStorage.removeItem(e)}catch(t){Co.B(t)}}};class gce{constructor(t){this._instance=t}get Bt(){return this._instance.config}get consent(){return this.rr()?0:this.ir}isOptedOut(){return this.Bt.cookieless_mode===Ns||this.isRejected()||this.consent===-1&&this.Bt.cookieless_mode===Dl}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===0}isRejected(){return this.consent===0||this.consent===-1&&this.Bt.opt_out_capturing_by_default}optInOut(t){this.nr.M(this.sr,t?1:0,this.Bt.cookie_expiration,this.Bt.cross_subdomain_cookie,this.Bt.secure_cookie)}reset(){this.nr.F(this.sr,this.Bt.cross_subdomain_cookie)}get sr(){var{token:t,opt_out_capturing_cookie_prefix:a,consent_persistence_name:o}=this._instance.config;return o||(a?a+t:"__ph_opt_in_out_"+t)}get ir(){var t=this.nr.O(this.sr);return QS(t)?1:Et(kle,t)?0:-1}get nr(){var t=this.Bt.opt_out_capturing_persistence_type,a=t==="localStorage"?Ea:Qr;if(!this.ar||this.ar!==a){this.ar=a;var o=t==="localStorage"?Qr:Ea;o.O(this.sr)&&(this.ar.O(this.sr)||this.optInOut(QS(o.O(this.sr))),o.F(this.sr,this.Bt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.Bt.respect_dnt&&[In?.doNotTrack,In?.msDoNotTrack,at.doNotTrack].some((t=>QS(t)))}}var tf=Ta("[Dead Clicks]"),fce=()=>!0,vce=e=>{var t,a=!((t=e.instance.persistence)==null||!t.get_property(jE)),o=e.instance.config.capture_dead_clicks;return Zr(o)?o:!!Ba(o)||a};class v2{get lazyLoadedDeadClicksAutocapture(){return this.lr}constructor(t,a,o){this.instance=t,this.isEnabled=a,this.onCapture=o,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[jE]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.ur((()=>{this.hr()})):this.stop()}ur(t){var a,o;(a=at.__PosthogExtensions__)!=null&&a.initDeadClicksAutocapture&&t(),(o=at.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this.instance,"dead-clicks-autocapture",(n=>{n?tf.error("failed to load script",n):t()}))}hr(){var t;if(ze){if(!this.lr&&(t=at.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var a=Ba(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};a.__onCapture=this.onCapture,this.lr=at.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,a),this.lr.start(ze),tf.info("starting...")}}else tf.error("`document` not found. Cannot start.")}stop(){this.lr&&(this.lr.stop(),this.lr=void 0,tf.info("stopping..."))}}var nT=Ta("[SegmentIntegration]"),n4="posthog-js";function r4(e,t){var{organization:a,projectId:o,prefix:n,severityAllowList:r=["error"],sendExceptionsToPostHog:i=!0}=t===void 0?{}:t;return c=>{var d,u,m,h,f;if(r!=="*"&&!r.includes(c.level)||!e.__loaded)return c;c.tags||(c.tags={});var v=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());c.tags["PostHog Person URL"]=v,e.sessionRecordingStarted()&&(c.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var b,w=((d=c.exception)==null?void 0:d.values)||[],x=w.map((k=>Me({},k,{stacktrace:k.stacktrace?Me({},k.stacktrace,{type:"raw",frames:(k.stacktrace.frames||[]).map((C=>Me({},C,{platform:"web:javascript"})))}):void 0}))),T={$exception_message:((u=w[0])==null?void 0:u.value)||c.message,$exception_type:(m=w[0])==null?void 0:m.type,$exception_level:c.level,$exception_list:x,$sentry_event_id:c.event_id,$sentry_exception:c.exception,$sentry_exception_message:((h=w[0])==null?void 0:h.value)||c.message,$sentry_exception_type:(f=w[0])==null?void 0:f.type,$sentry_tags:c.tags};return a&&o&&(T.$sentry_url=(n||"https://sentry.io/organizations/")+a+"/issues/?project="+o+"&query="+c.event_id),i&&((b=e.exceptions)==null||b.sendExceptionEvent(T)),c}}class bce{constructor(t,a,o,n,r,i){this.name=n4,this.setupOnce=function(c){c(r4(t,{organization:a,projectId:o,prefix:n,severityAllowList:r,sendExceptionsToPostHog:i==null||i}))}}}class b2{constructor(t){this.cr=(a,o,n)=>{n&&(n.noSessionId||n.activityTimeout||n.sessionPastMaximumLength)&&(Ue.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:a,changeReason:n}),this.dr=void 0,this._instance.scrollManager.resetContext())},this._instance=t,this.vr()}vr(){var t;this.pr=(t=this._instance.sessionManager)==null?void 0:t.onSessionId(this.cr)}destroy(){var t;(t=this.pr)==null||t.call(this),this.pr=void 0}doPageView(t,a){var o,n=this.gr(t,a);return this.dr={pathname:(o=ge?.location.pathname)!==null&&o!==void 0?o:"",pageViewId:a,timestamp:t},this._instance.scrollManager.resetContext(),n}doPageLeave(t){var a;return this.gr(t,(a=this.dr)==null?void 0:a.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.dr)==null?void 0:t.pageViewId}}gr(t,a){var o=this.dr;if(!o)return{$pageview_id:a};var n={$pageview_id:a,$prev_pageview_id:o.pageViewId},r=this._instance.scrollManager.getContext();if(r&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:i,lastScrollY:c,maxScrollY:d,maxContentHeight:u,lastContentY:m,maxContentY:h}=r;if(!($e(i)||$e(c)||$e(d)||$e(u)||$e(m)||$e(h))){i=Math.ceil(i),c=Math.ceil(c),d=Math.ceil(d),u=Math.ceil(u),m=Math.ceil(m),h=Math.ceil(h);var f=i>1?Jr(c/i,0,1,Ue):1,v=i>1?Jr(d/i,0,1,Ue):1,b=u>1?Jr(m/u,0,1,Ue):1,w=u>1?Jr(h/u,0,1,Ue):1;n=Na(n,{$prev_pageview_last_scroll:c,$prev_pageview_last_scroll_percentage:f,$prev_pageview_max_scroll:d,$prev_pageview_max_scroll_percentage:v,$prev_pageview_last_content:m,$prev_pageview_last_content_percentage:b,$prev_pageview_max_content:h,$prev_pageview_max_content_percentage:w})}}return o.pathname&&(n.$prev_pageview_pathname=o.pathname),o.timestamp&&(n.$prev_pageview_duration=(t.getTime()-o.timestamp.getTime())/1e3),n}}var yce={[W3]:{exposure:"hidden"},[yp]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[wp]:{exposure:"hidden"},[t0]:{exposure:"event"},[a0]:{exposure:"hidden"},[o0]:{exposure:"event"},[n0]:{exposure:"hidden"},[r0]:{exposure:"event"},[s0]:{exposure:"event"},[jE]:{exposure:"event"},[i0]:{exposure:"hidden"},[l0]:{exposure:"event"},[Sp]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[vv]:{exposure:"hidden"},[zE]:{exposure:"event"},$session_past_minimum_duration:{exposure:"event"},$session_recording_url_trigger_activated_session:{exposure:"event"},$session_recording_event_trigger_activated_session:{exposure:"event"},$debug_first_full_snapshot_timestamp:{exposure:"event"},[bd]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!Ba(e))return{};for(var t={},a=Object.keys(e),o=0;a.length>o;o++)t["$feature/"+a[o]]=e[a[o]];return t}},[Cf]:{exposure:"event"},[Tp]:{exposure:"hidden"},[c0]:{exposure:"hidden"},[d0]:{exposure:"event"},[u0]:{exposure:"event"},[Ds]:{exposure:"event"},[dd]:{exposure:"hidden"},[xp]:{exposure:"hidden"},[Rl]:{exposure:"hidden"},[p0]:{exposure:"hidden"},[m0]:{exposure:"event"},[Pf]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"},$conversations_user_traits:{exposure:"event"},[_p]:{exposure:"hidden"},[h0]:{exposure:"hidden"},[g0]:{exposure:"hidden"},[bv]:{exposure:"hidden"},[yr]:{exposure:"hidden"},[f0]:{exposure:"hidden"},[v0]:{exposure:"hidden"},[b0]:{exposure:"hidden"},[y0]:{exposure:"hidden"},[yv]:{exposure:"hidden"},[wv]:{exposure:"hidden"},[K3]:{exposure:"event"},[Y3]:{exposure:"event"},[Q3]:{exposure:"event"},[Z3]:{exposure:"event"},[X3]:{exposure:"event"},[e4]:{exposure:"event"},[t4]:{exposure:"event"},$sdk_debug_replay_event_trigger_status:{exposure:"event"},$sdk_debug_replay_linked_flag_trigger_status:{exposure:"event"},$sdk_debug_replay_matched_recording_trigger_groups:{exposure:"event"},$sdk_debug_replay_remote_trigger_matching_config:{exposure:"event"},$sdk_debug_replay_trigger_groups_count:{exposure:"event"},$sdk_debug_replay_url_trigger_status:{exposure:"event"},$session_recording_start_reason:{exposure:"event"}},wce=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],kv=e=>{var t=ze?.createElement("a");return $e(t)?null:(t.href=e,t)},Ev=function(e,t){for(var a,o=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),n=0;o.length>n;n++){var r=o[n].split("=");if(r[0]===t){a=r;break}}if(!Bt(a)||2>a.length)return"";var i=a[1];try{i=decodeURIComponent(i)}catch{Ue.error("Skipping decoding for malformed query param: "+i)}return i.replace(/\+/g," ")},Zp=function(e,t,a){if(!e||!t||!t.length)return e;for(var o=e.split("#"),n=o[1],r=(o[0]||"").split("?"),i=r[1],c=r[0],d=(i||"").split("&"),u=[],m=0;d.length>m;m++){var h=d[m].split("=");Bt(h)&&(t.includes(h[0])?u.push(h[0]+"="+a):u.push(d[m]))}var f=c;return i!=null&&(f+="?"+u.join("&")),n!=null&&(f+="#"+n),f},Cv=function(e,t){var a=e.match(new RegExp(t+"=([^&]*)"));return a?a[1]:null},af="https?://(.*)",Hd=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],Sce=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...Hd],Jp="<masked>",Tce=["li_fat_id"];function s4(e,t,a){if(!ze)return{};var o,n=t?[...Hd,...a||[]]:[],r=i4(Zp(ze.URL,n,Jp),e),i=(o={},va(Tce,(function(c){var d=Qr.O(c);o[c]=d||null})),o);return Na(i,r)}function i4(e,t){var a=Sce.concat(t||[]),o={};return va(a,(function(n){var r=Ev(e,n);o[n]=r||null})),o}function l4(e){var t=(function(r){return r?r.search(af+"google.([^/?]*)")===0?"google":r.search(af+"bing.com")===0?"bing":r.search(af+"yahoo.com")===0?"yahoo":r.search(af+"duckduckgo.com")===0?"duckduckgo":null:null})(e),a=t!="yahoo"?"q":"p",o={};if(!Us(t)){o.$search_engine=t;var n=ze?Ev(ze.referrer,a):"";n.length&&(o.ph_keyword=n)}return o}function y2(){return navigator.language||navigator.userLanguage}var Pv="$direct";function c4(){return ze?.referrer||Pv}function d4(e,t){var a=e?[...Hd,...t||[]]:[],o=Eo?.href.substring(0,1e3);return{r:c4().substring(0,1e3),u:o?Zp(o,a,Jp):void 0}}function u4(e){var t,{r:a,u:o}=e,n={$referrer:a,$referring_domain:a==null?void 0:a==Pv?Pv:(t=kv(a))==null?void 0:t.host};if(o){n.$current_url=o;var r=kv(o);n.$host=r?.host,n.$pathname=r?.pathname;var i=i4(o);Na(n,i)}if(a){var c=l4(a);Na(n,c)}return n}function p4(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function xce(){try{return new Date().getTimezoneOffset()}catch{return}}var kce=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class rT{constructor(t,a){this.Bt=t,this.props={},this.mr=!1,this.yr=(o=>{var n="";return o.token&&(n=o.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),o.persistence_name?"ph_"+o.persistence_name:"ph_"+n+"_posthog"})(t),this.nr=this.br(t),this.load(),t.debug&&Ue.info("Persistence loaded",t.persistence,Me({},this.props)),this.update_config(t,t,a),this.save()}isDisabled(){return!!this._r}br(t){kce.indexOf(t.persistence.toLowerCase())===-1&&(Ue.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var a=(function(n){n===void 0&&(n=[]);var r=[...mce,...n];return Me({},Ea,{Z(i){try{var c={};try{c=Qr.Z(i)||{}}catch{}var d=Na(c,JSON.parse(Ea.O(i)||"{}"));return Ea.M(i,d),d}catch{}return null},M(i,c,d,u,m,h){try{Ea.M(i,c,void 0,void 0,h);var f={};r.forEach((v=>{c[v]&&(f[v]=c[v])})),Object.keys(f).length&&Qr.M(i,f,d,u,m,h)}catch(v){Ea.B(v)}},F(i,c){try{ge?.localStorage.removeItem(i),Qr.F(i,c)}catch(d){Ea.B(d)}}})})(t.cookie_persisted_properties||[]),o=t.persistence.toLowerCase();return o==="localstorage"&&Ea.R()?Ea:o==="localstorage+cookie"&&a.R()?a:o==="sessionstorage"&&Co.R()?Co:o==="memory"?hce:o==="cookie"?Qr:a.R()?a:Qr}wr(t){var a=t??this.Bt.feature_flag_cache_ttl_ms;if(!a||0>=a)return!1;var o=this.props[bv];return!o||typeof o!="number"||Date.now()-o>a}properties(){var t={};return va(this.props,((a,o)=>{var n=(r=>{var i=yce[r];if(i)return i;for(var[c,d]of wce)if(r.indexOf(c)===0)return d})(o);if(n?.exposure==="derived"){if(n.shouldSkipFromEventProperties!=null&&n.shouldSkipFromEventProperties(a,o===bd?()=>this.wr():()=>!1))return;n.transformToEventProperties&&Na(t,n.transformToEventProperties(a))}else n&&n.exposure!=="event"||(t[o]=a)})),t}load(){if(!this._r){var t=this.nr.Z(this.yr);t&&(this.props=Na({},t))}}save(){this._r||this.nr.M(this.yr,this.props,this.Ir,this.Cr,this.Sr,this.Bt.debug)}remove(){this.nr.F(this.yr,!1),this.nr.F(this.yr,!0)}clear(){this.remove(),this.props={}}register_once(t,a,o){if(Ba(t)){$e(a)&&(a="None"),this.Ir=$e(o)?this.kr:o;var n=!1;if(va(t,((r,i)=>{this.props.hasOwnProperty(i)&&this.props[i]!==a||(this.Tr(i,r),n=!0)})),n)return this.save(),!0}return!1}register(t,a){if(Ba(t)){this.Ir=$e(a)?this.kr:a;var o=!1;if(va(t,((n,r)=>{t.hasOwnProperty(r)&&this.props[r]!==n&&(this.Tr(r,n),o=!0)})),o)return this.save(),!0}return!1}unregister(t){t in this.props&&(this.Ar(t),this.save())}update_campaign_params(){if(!this.mr){var t=s4(this.Bt.custom_campaign_params,this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties);vd(UE(t))||this.register(t),this.mr=!0}}update_search_keyword(){var t;this.register((t=ze?.referrer)?l4(t):{})}update_referrer_info(){var t;this.register_once({$referrer:c4(),$referring_domain:ze!=null&&ze.referrer&&((t=kv(ze.referrer))==null?void 0:t.host)||Pv},void 0)}set_initial_person_info(){this.props[b0]||this.props[y0]||this.register_once({[yv]:d4(this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};va([y0,b0],(i=>{var c=this.props[i];c&&va(c,(function(d,u){t["$initial_"+Qx(u)]=d}))}));var a,o,n=this.props[yv];if(n){var r=(a=u4(n),o={},va(a,(function(i,c){o["$initial_"+Qx(c)]=i})),o);Na(t,r)}return t}safe_merge(t){return va(this.props,(function(a,o){o in t||(t[o]=a)})),t}update_config(t,a,o){if(this.kr=this.Ir=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!o),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==a.persistence||!((i,c)=>{if(i.length!==c.length)return!1;var d=[...i].sort(),u=[...c].sort();return d.every(((m,h)=>m===u[h]))})(t.cookie_persisted_properties||[],a.cookie_persisted_properties||[])){var n=this.br(t),r=this.props;this.clear(),this.nr=n,this.props=r,this.save()}}set_disabled(t){this._r=t,this._r?this.remove():this.save()}set_cross_subdomain(t){t!==this.Cr&&(this.Cr=t,this.remove(),this.save())}set_secure(t){t!==this.Sr&&(this.Sr=t,this.remove(),this.save())}set_event_timer(t,a){var o=this.props[wp]||{};o[t]=a,this.Tr(wp,o),this.save()}remove_event_timer(t){var a=this.props[wp]||{},o=a[t];return $e(o)||(delete a[t],this.Tr(wp,a),this.save()),o}get_property(t){return this.props[t]}set_property(t,a){this.Tr(t,a),this.save()}Tr(t,a){this.props[t]=a}Ar(t){delete this.props[t]}}var op={Activation:"events",Cancellation:"cancelEvents"},sT={Popover:"popover",API:"api",Widget:"widget"},kp={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},iT={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},S0={Popover:"popover",Inline:"inline"},Ece={SHOWN:"product tour shown"},w2={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},S2=Ta("[RateLimiter]");class Cce{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=a=>{var o=a.text;if(o&&o.length)try{(JSON.parse(o).quota_limited||[]).forEach((n=>{S2.info((n||"events")+" is quota limited."),this.serverLimits[n]=new Date().getTime()+6e4}))}catch(n){return void S2.warn('could not rate limit - continuing. Error: "'+n?.message+'"',{text:o})}},this.instance=t,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var t;return((t=this.instance.config.rate_limiting)==null?void 0:t.events_per_second)||10}get captureEventsBurstLimit(){var t;return Math.max(((t=this.instance.config.rate_limiting)==null?void 0:t.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(t){var a,o,n;t===void 0&&(t=!1);var{captureEventsBurstLimit:r,captureEventsPerSecond:i}=this,c=new Date().getTime(),d=(a=(o=this.instance.persistence)==null?void 0:o.get_property(v0))!==null&&a!==void 0?a:{tokens:r,last:c};d.tokens+=(c-d.last)/1e3*i,d.last=c,d.tokens>r&&(d.tokens=r);var u=1>d.tokens;return u||t||(d.tokens=Math.max(0,d.tokens-1)),!u||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+i+" events per second and "+r+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=u,(n=this.instance.persistence)==null||n.set_property(v0,d),{isRateLimited:u,remainingTokens:d.tokens}}isServerRateLimited(t){var a=this.serverLimits[t||"events"]||!1;return a!==!1&&new Date().getTime()<a}}var np=Ta("[RemoteConfig]");class m4{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=at._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}Er(t){var a,o;(a=at.__PosthogExtensions__)!=null&&a.loadExternalDependency?(o=at.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"remote-config",(()=>t(this.remoteConfig))):t()}Rr(t){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(a){t(a.json)}})}load(){try{if(this.remoteConfig)return np.info("Using preloaded remote config",this.remoteConfig),this.Nr(this.remoteConfig),void this.Mr();if(this._instance.Fr())return void np.warn("Remote config is disabled. Falling back to local config.");this.Er((t=>{if(!t)return np.info("No config found after loading remote JS config. Falling back to JSON."),void this.Rr((a=>{this.Nr(a),this.Mr()}));this.Nr(t),this.Mr()}))}catch(t){np.error("Error loading remote config",t)}}stop(){this.Or&&(clearInterval(this.Or),this.Or=void 0)}refresh(){this._instance.Fr()||ze?.visibilityState==="hidden"||this._instance.reloadFeatureFlags()}Mr(){var t;if(!this.Or){var a=(t=this._instance.config.remote_config_refresh_interval_ms)!==null&&t!==void 0?t:3e5;a!==0&&(this.Or=setInterval((()=>{this.refresh()}),a))}}Nr(t){var a;t||np.error("Failed to fetch remote config from PostHog."),this._instance.Nr(t??{}),t?.hasFeatureFlags!==!1&&(this._instance.config.advanced_disable_feature_flags_on_first_load||(a=this._instance.featureFlags)==null||a.ensureFlagsLoaded())}}var Vr={GZipJS:"gzip-js",Base64:"base64"},sr=Uint8Array,vn=Uint16Array,Gd=Uint32Array,$E=new sr([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),VE=new sr([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),T2=new sr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),h4=function(e,t){for(var a=new vn(31),o=0;31>o;++o)a[o]=t+=1<<e[o-1];var n=new Gd(a[30]);for(o=1;30>o;++o)for(var r=a[o];a[o+1]>r;++r)n[r]=r-a[o]<<5|o;return[a,n]},g4=h4($E,2),T0=g4[1];g4[0][28]=258,T0[258]=28;for(var x2=h4(VE,0)[1],f4=new vn(32768),ba=0;32768>ba;++ba){var ed=(43690&ba)>>>1|(21845&ba)<<1;f4[ba]=((65280&(ed=(61680&(ed=(52428&ed)>>>2|(13107&ed)<<2))>>>4|(3855&ed)<<4))>>>8|(255&ed)<<8)>>>1}var Ap=function(e,t,a){for(var o=e.length,n=0,r=new vn(t);o>n;++n)++r[e[n]-1];var i,c=new vn(t);for(n=0;t>n;++n)c[n]=c[n-1]+r[n-1]<<1;for(i=new vn(o),n=0;o>n;++n)i[n]=f4[c[e[n]-1]++]>>>15-e[n];return i},Vl=new sr(288);for(ba=0;144>ba;++ba)Vl[ba]=8;for(ba=144;256>ba;++ba)Vl[ba]=9;for(ba=256;280>ba;++ba)Vl[ba]=7;for(ba=280;288>ba;++ba)Vl[ba]=8;var _v=new sr(32);for(ba=0;32>ba;++ba)_v[ba]=5;var Pce=Ap(Vl,9),_ce=Ap(_v,5),v4=function(e){return(e/8>>0)+(7&e&&1)},b4=function(e,t,a){(a==null||a>e.length)&&(a=e.length);var o=new(e instanceof vn?vn:e instanceof Gd?Gd:sr)(a-t);return o.set(e.subarray(t,a)),o},As=function(e,t,a){var o=t/8>>0;e[o]|=a<<=7&t,e[o+1]|=a>>>8},rp=function(e,t,a){var o=t/8>>0;e[o]|=a<<=7&t,e[o+1]|=a>>>8,e[o+2]|=a>>>16},lT=function(e,t){for(var a=[],o=0;e.length>o;++o)e[o]&&a.push({s:o,f:e[o]});var n=a.length,r=a.slice();if(!n)return[new sr(0),0];if(n==1){var i=new sr(a[0].s+1);return i[a[0].s]=1,[i,1]}a.sort((function(_,D){return _.f-D.f})),a.push({s:-1,f:25001});var c=a[0],d=a[1],u=0,m=1,h=2;for(a[0]={s:-1,f:c.f+d.f,l:c,r:d};m!=n-1;)c=a[a[h].f>a[u].f?u++:h++],d=a[u!=m&&a[h].f>a[u].f?u++:h++],a[m++]={s:-1,f:c.f+d.f,l:c,r:d};var f=r[0].s;for(o=1;n>o;++o)r[o].s>f&&(f=r[o].s);var v=new vn(f+1),b=x0(a[m-1],v,0);if(b>t){o=0;var w=0,x=b-t,T=1<<x;for(r.sort((function(_,D){return v[D.s]-v[_.s]||_.f-D.f}));n>o;++o){var k=r[o].s;if(t>=v[k])break;w+=T-(1<<b-v[k]),v[k]=t}for(w>>>=x;w>0;){var C=r[o].s;t>v[C]?w-=1<<t-v[C]++-1:++o}for(;o>=0&&w;--o){var E=r[o].s;v[E]==t&&(--v[E],++w)}b=t}return[new sr(v),b]},x0=function(e,t,a){return e.s==-1?Math.max(x0(e.l,t,a+1),x0(e.r,t,a+1)):t[e.s]=a},k2=function(e){for(var t=e.length;t&&!e[--t];);for(var a=new vn(++t),o=0,n=e[0],r=1,i=function(d){a[o++]=d},c=1;t>=c;++c)if(e[c]==n&&c!=t)++r;else{if(!n&&r>2){for(;r>138;r-=138)i(32754);r>2&&(i(r>10?r-11<<5|28690:r-3<<5|12305),r=0)}else if(r>3){for(i(n),--r;r>6;r-=6)i(8304);r>2&&(i(r-3<<5|8208),r=0)}for(;r--;)i(n);r=1,n=e[c]}return[a.subarray(0,o),t]},sp=function(e,t){for(var a=0,o=0;t.length>o;++o)a+=e[o]*t[o];return a},k0=function(e,t,a){var o=a.length,n=v4(t+2);e[n]=255&o,e[n+1]=o>>>8,e[n+2]=255^e[n],e[n+3]=255^e[n+1];for(var r=0;o>r;++r)e[n+r+4]=a[r];return 8*(n+4+o)},E2=function(e,t,a,o,n,r,i,c,d,u,m){As(t,m++,a),++n[256];for(var h=lT(n,15),f=h[0],v=h[1],b=lT(r,15),w=b[0],x=b[1],T=k2(f),k=T[0],C=T[1],E=k2(w),_=E[0],D=E[1],R=new vn(19),O=0;k.length>O;++O)R[31&k[O]]++;for(O=0;_.length>O;++O)R[31&_[O]]++;for(var L=lT(R,7),U=L[0],B=L[1],z=19;z>4&&!U[T2[z-1]];--z);var F,W,ae,H,K=u+5<<3,J=sp(n,Vl)+sp(r,_v)+i,se=sp(n,f)+sp(r,w)+i+14+3*z+sp(R,U)+(2*R[16]+3*R[17]+7*R[18]);if(J>=K&&se>=K)return k0(t,m,e.subarray(d,d+u));if(As(t,m,1+(J>se)),m+=2,J>se){F=Ap(f,v),W=f,ae=Ap(w,x),H=w;var Z=Ap(U,B);for(As(t,m,C-257),As(t,m+5,D-1),As(t,m+10,z-4),m+=14,O=0;z>O;++O)As(t,m+3*O,U[T2[O]]);m+=3*z;for(var M=[k,_],G=0;2>G;++G){var V=M[G];for(O=0;V.length>O;++O)As(t,m,Z[I=31&V[O]]),m+=U[I],I>15&&(As(t,m,V[O]>>>5&127),m+=V[O]>>>12)}}else F=Pce,W=Vl,ae=_ce,H=_v;for(O=0;c>O;++O)if(o[O]>255){var I;rp(t,m,F[257+(I=o[O]>>>18&31)]),m+=W[I+257],I>7&&(As(t,m,o[O]>>>23&31),m+=$E[I]);var j=31&o[O];rp(t,m,ae[j]),m+=H[j],j>3&&(rp(t,m,o[O]>>>5&8191),m+=VE[j])}else rp(t,m,F[o[O]]),m+=W[o[O]];return rp(t,m,F[256]),m+W[256]},Ace=new Gd([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Rce=(function(){for(var e=new Gd(256),t=0;256>t;++t){for(var a=t,o=9;--o;)a=(1&a&&3988292384)^a>>>1;e[t]=a}return e})(),cT=function(e,t,a){for(;a;++t)e[t]=a,a>>>=8};function Dce(e,t){t===void 0&&(t={});var a=(function(){var h=4294967295;return{p(f){for(var v=h,b=0;f.length>b;++b)v=Rce[255&v^f[b]]^v>>>8;h=v},d(){return 4294967295^h}}})(),o=e.length;a.p(e);var n,r,i,c,d,u=(c=10+((n=t).filename&&n.filename.length+1||0),d=8,(function(h,f,v,b,w,x){var T=h.length,k=new sr(b+T+5*(1+Math.floor(T/7e3))+w),C=k.subarray(b,k.length-w),E=0;if(!f||8>T)for(var _=0;T>=_;_+=65535){var D=_+65535;T>D?E=k0(C,E,h.subarray(_,D)):(C[_]=!0,E=k0(C,E,h.subarray(_,T)))}else{for(var R=Ace[f-1],O=R>>>13,L=8191&R,U=(1<<v)-1,B=new vn(32768),z=new vn(U+1),F=Math.ceil(v/3),W=2*F,ae=function(He){return(h[He]^h[He+1]<<F^h[He+2]<<W)&U},H=new Gd(25e3),K=new vn(288),J=new vn(32),se=0,Z=0,M=(_=0,0),G=0,V=0;T>_;++_){var I=ae(_),j=32767&_,X=z[I];if(B[j]=X,z[I]=j,_>=G){var de=T-_;if((se>7e3||M>24576)&&de>423){E=E2(h,C,0,H,K,J,Z,M,V,_-V,E),M=se=Z=0,V=_;for(var ue=0;286>ue;++ue)K[ue]=0;for(ue=0;30>ue;++ue)J[ue]=0}var Ee=2,qe=0,Q=L,ne=j-X&32767;if(de>2&&I==ae(_-ne))for(var ve=Math.min(O,de)-1,ie=Math.min(32767,_),xe=Math.min(258,de);ie>=ne&&--Q&&j!=X;){if(h[_+Ee]==h[_+Ee-ne]){for(var Pe=0;xe>Pe&&h[_+Pe]==h[_+Pe-ne];++Pe);if(Pe>Ee){if(Ee=Pe,qe=ne,Pe>ve)break;var it=Math.min(ne,Pe-2),ct=0;for(ue=0;it>ue;++ue){var Ge=_-ne+ue+32768&32767,ot=Ge-B[Ge]+32768&32767;ot>ct&&(ct=ot,X=Ge)}}}ne+=(j=X)-(X=B[j])+32768&32767}if(qe){H[M++]=268435456|T0[Ee]<<18|x2[qe];var Ne=31&T0[Ee],Oe=31&x2[qe];Z+=$E[Ne]+VE[Oe],++K[257+Ne],++J[Oe],G=_+Ee,++se}else H[M++]=h[_],++K[h[_]]}}E=E2(h,C,!0,H,K,J,Z,M,V,_-V,E)}return b4(k,0,b+v4(E)+w)})(r=e,(i=t).level==null?6:i.level,i.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(r.length)))):12+i.mem,c,d)),m=u.length;return(function(h,f){var v=f.filename;if(h[0]=31,h[1]=139,h[2]=8,h[8]=2>f.level?4:f.level==9?2:0,h[9]=3,f.mtime!=0&&cT(h,4,Math.floor(new Date(f.mtime||Date.now())/1e3)),v){h[3]=8;for(var b=0;v.length>=b;++b)h[b+10]=v.charCodeAt(b)}})(u,t),cT(u,m-8,a.d()),cT(u,m-4,o),u}var Oce=!!Kx||!!Wx,y4="text/plain",C2=!1,Sb=function(e,t,a){var o;a===void 0&&(a=!0);var[n,r]=e.split("?"),i=Me({},t),c=(o=r?.split("&").map((u=>{var m,[h,f]=u.split("="),v=a&&(m=i[h])!==null&&m!==void 0?m:f;return delete i[h],h+"="+v})))!==null&&o!==void 0?o:[],d=(function(u,m){var h,f;m===void 0&&(m="&");var v=[];return va(u,(function(b,w){$e(b)||$e(w)||w==="undefined"||(h=encodeURIComponent((x=>x instanceof File)(b)?b.name:b.toString()),f=encodeURIComponent(w),v[v.length]=f+"="+h)})),v.join(m)})(i);return d&&c.push(d),n+"?"+c.join("&")},yd=(e,t)=>JSON.stringify(e,((a,o)=>typeof o=="bigint"?o.toString():o),t),dT=e=>{if(e.tr)return e.tr;var{data:t,compression:a}=e;if(t){if(a===Vr.GZipJS){var o=Dce((function(c,d){var u=c.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(c);for(var m=new sr(c.length+(c.length>>>1)),h=0,f=function(x){m[h++]=x},v=0;u>v;++v){if(h+5>m.length){var b=new sr(h+8+(u-v<<1));b.set(m),m=b}var w=c.charCodeAt(v);128>w?f(w):2048>w?(f(192|w>>>6),f(128|63&w)):w>55295&&57344>w?(f(240|(w=65536+(1047552&w)|1023&c.charCodeAt(++v))>>>18),f(128|w>>>12&63),f(128|w>>>6&63),f(128|63&w)):(f(224|w>>>12),f(128|w>>>6&63),f(128|63&w))}return b4(m,0,h)})(yd(t)),{mtime:0});return{contentType:y4,body:o.buffer.slice(o.byteOffset,o.byteOffset+o.byteLength),estimatedSize:o.byteLength}}if(a===Vr.Base64){var n=(function(c){return c&&btoa(encodeURIComponent(c).replace(/%([0-9A-F]{2})/g,((d,u)=>String.fromCharCode(parseInt(u,16)))))})(yd(t)),r=(c=>"data="+encodeURIComponent(typeof c=="string"?c:yd(c)))(n);return{contentType:"application/x-www-form-urlencoded",body:r,estimatedSize:new Blob([r]).size}}var i=yd(t);return{contentType:"application/json",body:i,estimatedSize:new Blob([i]).size}}},Nce=(function(){var e=tr((function*(t){var a=yd(t.data),o=yield(function(r,i,c){return Yx.apply(this,arguments)})(a,Jo.DEBUG,{rethrow:!0});if(!o)return t;var n=yield o.arrayBuffer();return Me({},t,{tr:{contentType:y4,body:n,estimatedSize:n.byteLength}})}));return function(t){return e.apply(this,arguments)}})(),P2=(e,t)=>Sb(e,{_:new Date().getTime().toString(),ver:Jo.JS_SDK_VERSION,compression:t}),Af=[];Wx&&Af.push({transport:"fetch",method(e){var t,a,{contentType:o,body:n,estimatedSize:r}=(t=dT(e))!==null&&t!==void 0?t:{},i=new Headers;va(e.headers,(function(m,h){i.append(h,m)})),o&&i.append("Content-Type",o);var c=e.url,d=null;if(n2){var u=new n2;d={signal:u.signal,timeout:setTimeout((()=>u.abort()),e.timeout)}}Wx(c,Me({method:e?.method||"GET",headers:i,keepalive:e.method==="POST"&&52428.8>(r||0),body:n,signal:(a=d)==null?void 0:a.signal},e.fetchOptions)).then((m=>m.text().then((h=>{var f={statusCode:m.status,text:h};if(m.status===200)try{f.json=JSON.parse(h)}catch(v){Ue.error(v)}e.callback==null||e.callback(f)})))).catch((m=>{Ue.error(m),e.callback==null||e.callback({statusCode:0,error:m})})).finally((()=>d?clearTimeout(d.timeout):null))}}),Kx&&Af.push({transport:"XHR",method(e){var t,a=new Kx;a.open(e.method||"GET",e.url,!0);var{contentType:o,body:n}=(t=dT(e))!==null&&t!==void 0?t:{};va(e.headers,(function(r,i){a.setRequestHeader(i,r)})),o&&a.setRequestHeader("Content-Type",o),e.timeout&&(a.timeout=e.timeout),e.disableXHRCredentials||(a.withCredentials=!0),a.onreadystatechange=()=>{if(a.readyState===4){var r={statusCode:a.status,text:a.responseText};if(a.status===200)try{r.json=JSON.parse(a.responseText)}catch{}e.callback==null||e.callback(r)}},a.send(n)}}),In!=null&&In.sendBeacon&&Af.push({transport:"sendBeacon",method(e){var t=Sb(e.url,{beacon:"1"});try{var a,{contentType:o,body:n}=(a=dT(e))!==null&&a!==void 0?a:{};if(!n)return;var r=n instanceof Blob?n:new Blob([n],{type:o});In.sendBeacon(t,r)}catch{}}});var E0=3e3;class Mce{constructor(t,a){this.Pr=!0,this.Lr=[],this.Dr=Jr(a?.flush_interval_ms||E0,250,5e3,Ue.createLogger("flush interval"),E0),this.Br=t}enqueue(t){this.Lr.push(t),this.jr||this.$r()}unload(){this.qr();var t=this.Lr.length>0?this.Zr():{},a=Object.values(t);[...a.filter((o=>o.url.indexOf("/e")===0)),...a.filter((o=>o.url.indexOf("/e")!==0))].map((o=>{this.Br(Me({},o,{transport:"sendBeacon"}))}))}enable(){this.Pr=!1,this.$r()}$r(){var t=this;this.Pr||(this.jr=setTimeout((()=>{if(this.qr(),this.Lr.length>0){var a=this.Zr(),o=function(){var r=a[n],i=new Date().getTime();r.data&&Bt(r.data)&&va(r.data,(c=>{c.offset=Math.abs(c.timestamp-i),delete c.timestamp})),t.Br(r)};for(var n in a)o()}}),this.Dr))}qr(){clearTimeout(this.jr),this.jr=void 0}Zr(){var t={};return va(this.Lr,(a=>{var o,n=a,r=(n?n.batchKey:null)||n.url;$e(t[r])&&(t[r]=Me({},n,{data:[]})),(o=t[r].data)==null||o.push(n.data)})),this.Lr=[],t}}var Ice=["retriesPerformedSoFar"];class Lce{constructor(t){this.Vr=!1,this.Hr=3e3,this.Lr=[],this._instance=t,this.Lr=[],this.zr=!0,!$e(ge)&&"onLine"in ge.navigator&&(this.zr=ge.navigator.onLine,this.Ur=()=>{this.zr=!0,this.Yr()},this.Gr=()=>{this.zr=!1},Za(ge,"online",this.Ur),Za(ge,"offline",this.Gr))}get length(){return this.Lr.length}retriableRequest(t){var{retriesPerformedSoFar:a}=t,o=T3(t,Ice);cd(a)&&(o.url=Sb(o.url,{retry_count:a})),this._instance._send_request(Me({},o,{callback:n=>{n.statusCode===200||n.statusCode>=400&&500>n.statusCode||(a??0)>=10?o.callback==null||o.callback(n):this.Wr(Me({retriesPerformedSoFar:a},o))}}))}Wr(t){var a=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=a+1;var o=(function(i){var c=3e3*Math.pow(2,i),d=c/2,u=Math.min(18e5,c),m=Math.random()-.5;return Math.ceil(u+m*(u-d))})(a),n=Date.now()+o;this.Lr.push({retryAt:n,requestOptions:t});var r="Enqueued failed request for retry in "+o;navigator.onLine||(r+=" (Browser is offline)"),Ue.warn(r),this.Vr||(this.Vr=!0,this.Xr())}Xr(){if(this.Jr&&clearTimeout(this.Jr),this.Lr.length===0)return this.Vr=!1,void(this.Jr=void 0);this.Jr=setTimeout((()=>{this.zr&&this.Lr.length>0&&this.Yr(),this.Xr()}),this.Hr)}Yr(){var t=Date.now(),a=[],o=this.Lr.filter((r=>t>r.retryAt||(a.push(r),!1)));if(this.Lr=a,o.length>0)for(var{requestOptions:n}of o)this.retriableRequest(n)}unload(){for(var{requestOptions:t}of(this.Jr&&(clearTimeout(this.Jr),this.Jr=void 0),this.Vr=!1,$e(ge)||(this.Ur&&(ge.removeEventListener("online",this.Ur),this.Ur=void 0),this.Gr&&(ge.removeEventListener("offline",this.Gr),this.Gr=void 0)),this.Lr))try{this._instance._send_request(Me({},t,{transport:"sendBeacon"}))}catch(a){Ue.error(a)}this.Lr=[]}}class Bce{constructor(t){this.Kr=()=>{var a,o,n,r;this.Qr||(this.Qr={});var i=this.scrollElement(),c=this.scrollY(),d=i?Math.max(0,i.scrollHeight-i.clientHeight):0,u=c+(i?.clientHeight||0),m=i?.scrollHeight||0;this.Qr.lastScrollY=Math.ceil(c),this.Qr.maxScrollY=Math.max(c,(a=this.Qr.maxScrollY)!==null&&a!==void 0?a:0),this.Qr.maxScrollHeight=Math.max(d,(o=this.Qr.maxScrollHeight)!==null&&o!==void 0?o:0),this.Qr.lastContentY=u,this.Qr.maxContentY=Math.max(u,(n=this.Qr.maxContentY)!==null&&n!==void 0?n:0),this.Qr.maxContentHeight=Math.max(m,(r=this.Qr.maxContentHeight)!==null&&r!==void 0?r:0)},this._instance=t}get ei(){return this._instance.config.scroll_root_selector}getContext(){return this.Qr}resetContext(){var t=this.Qr;return setTimeout(this.Kr,0),t}startMeasuringScrollPosition(){Za(ge,"scroll",this.Kr,{capture:!0}),Za(ge,"scrollend",this.Kr,{capture:!0}),Za(ge,"resize",this.Kr)}scrollElement(){if(!this.ei)return ge?.document.documentElement;var t=Bt(this.ei)?this.ei:[this.ei];for(var a of t){var o=ge?.document.querySelector(a);if(o)return o}}scrollY(){if(this.ei){var t=this.scrollElement();return t&&t.scrollTop||0}return ge&&(ge.scrollY||ge.pageYOffset||ge.document.documentElement.scrollTop)||0}scrollX(){if(this.ei){var t=this.scrollElement();return t&&t.scrollLeft||0}return ge&&(ge.scrollX||ge.pageXOffset||ge.document.documentElement.scrollLeft)||0}}var Fce=e=>d4(e?.config.mask_personal_data_properties,e?.config.custom_personal_data_properties);class _2{constructor(t,a,o,n){this.ti=r=>{var i=this.ri();if(!i||i.sessionId!==r){var c={sessionId:r,props:this.ii(this._instance)};this.ni.register({[f0]:c})}},this._instance=t,this.si=a,this.ni=o,this.ii=n||Fce,this.si.onSessionId(this.ti)}ri(){return this.ni.props[f0]}getSetOnceProps(){var t,a=(t=this.ri())==null?void 0:t.props;return a?"r"in a?u4(a):{$referring_domain:a.referringDomain,$pathname:a.initialPathName,utm_source:a.utm_source,utm_campaign:a.utm_campaign,utm_medium:a.utm_medium,utm_content:a.utm_content,utm_term:a.utm_term}:{}}getSessionProps(){var t={};return va(UE(this.getSetOnceProps()),((a,o)=>{o==="$current_url"&&(o="url"),t["$session_entry_"+Qx(o)]=a})),t}}class HE{constructor(){this.oi={}}on(t,a){return this.oi[t]||(this.oi[t]=[]),this.oi[t].push(a),()=>{this.oi[t]=this.oi[t].filter((o=>o!==a))}}emit(t,a){for(var o of this.oi[t]||[])o(a);for(var n of this.oi["*"]||[])n(t,a)}}var uT=Ta("[SessionId]");class A2{on(t,a){return this.ai.on(t,a)}constructor(t,a,o){var n;if(this.li=[],this.ui=void 0,this.ai=new HE,this.hi=(u,m)=>!(!cd(u)||!cd(m))&&Math.abs(u-m)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode===Ns)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.Bt=t.config,this.ni=t.persistence,this.ci=void 0,this.di=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.vi=a||Oi,this.fi=o||Oi;var r=this.Bt.persistence_name||this.Bt.token;if(this._sessionTimeoutMs=1e3*Jr(this.Bt.session_idle_timeout_seconds||1800,60,36e3,uT.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.pi(),this.gi="ph_"+r+"_window_id",this.mi="ph_"+r+"_primary_window_exists",this.yi()){var i=Co.Z(this.gi),c=Co.Z(this.mi);i&&!c?this.ci=i:Co.F(this.gi),Co.M(this.mi,!0)}if((n=this.Bt.bootstrap)!=null&&n.sessionID)try{var d=(u=>{var m=this.Bt.bootstrap.sessionID.replace(/-/g,"");if(m.length!==32)throw new Error("Not a valid UUID");if(m[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(m.substring(0,12),16)})();this.bi(this.Bt.bootstrap.sessionID,new Date().getTime(),d)}catch(u){uT.error("Invalid sessionID in bootstrap",u)}this.wi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return $e(this.li)&&(this.li=[]),this.li.push(t),this.di&&t(this.di,this.ci),()=>{this.li=this.li.filter((a=>a!==t))}}yi(){return this.Bt.persistence!=="memory"&&!this.ni._r&&Co.R()}Ii(t){t!==this.ci&&(this.ci=t,this.yi()&&Co.M(this.gi,t))}Ci(){return this.ci?this.ci:this.yi()?Co.Z(this.gi):null}bi(t,a,o){t===this.di&&a===this._sessionActivityTimestamp&&o===this._sessionStartTimestamp||(this._sessionStartTimestamp=o,this._sessionActivityTimestamp=a,this.di=t,this.ni.register({[vv]:[a,t,o]}))}Si(){var t=this.ni.props[vv];return Bt(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.bi(null,null,null)}destroy(){clearTimeout(this.xi),this.xi=void 0,this.ui&&ge&&(ge.removeEventListener(Tv,this.ui,{capture:!1}),this.ui=void 0),this.li=[]}wi(){this.ui=()=>{this.yi()&&Co.F(this.mi)},Za(ge,Tv,this.ui,{capture:!1})}checkAndGetSessionAndWindowId(t,a){if(t===void 0&&(t=!1),a===void 0&&(a=null),this.Bt.cookieless_mode===Ns)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var o=a||new Date().getTime(),[n,r,i]=this.Si(),c=this.Ci(),d=cd(i)&&Math.abs(o-i)>864e5,u=!1,m=!r,h=!m&&!t&&this.hi(o,n);m||h||d?(r=this.vi(),c=this.fi(),uT.info("new session ID generated",{sessionId:r,windowId:c,changeReason:{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}}),i=o,u=!0):c||(c=this.fi(),u=!0);var f=cd(n)&&t&&!d?n:o,v=cd(i)?i:new Date().getTime();return this.Ii(c),this.bi(r,f,v),t||this.pi(),u&&this.li.forEach((b=>b(r,c,u?{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}:void 0))),{sessionId:r,windowId:c,sessionStartTimestamp:v,changeReason:u?{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}:void 0,lastActivityTimestamp:n}}pi(){clearTimeout(this.xi),this.xi=setTimeout((()=>{var[t]=this.Si();if(this.hi(new Date().getTime(),t)){var a=this.di;this.resetSessionId(),this.ai.emit("forcedIdleReset",{idleSessionId:a})}}),1.1*this.sessionTimeoutMs)}}var w4=function(e,t){if(!e)return!1;var a=e.userAgent;if(a&&i2(a,t))return!0;try{var o=e?.userAgentData;if(o!=null&&o.brands&&o.brands.some((n=>i2(n?.brand,t))))return!0}catch{}return!!e.webdriver},Av=function(e,t){if(!(function(a){try{new RegExp(a)}catch{return!1}return!0})(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function R2(e,t,a){return yd({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:a})}var S4={exact:(e,t)=>t.some((a=>e.some((o=>a===o)))),is_not:(e,t)=>t.every((a=>e.every((o=>a!==o)))),regex:(e,t)=>t.some((a=>e.some((o=>Av(a,o))))),not_regex:(e,t)=>t.every((a=>e.every((o=>!Av(a,o))))),icontains:(e,t)=>t.map(of).some((a=>e.map(of).some((o=>a.includes(o))))),not_icontains:(e,t)=>t.map(of).every((a=>e.map(of).every((o=>!a.includes(o))))),gt:(e,t)=>t.some((a=>{var o=parseFloat(a);return!isNaN(o)&&e.some((n=>o>parseFloat(n)))})),lt:(e,t)=>t.some((a=>{var o=parseFloat(a);return!isNaN(o)&&e.some((n=>o<parseFloat(n)))}))},of=e=>e.toLowerCase();function T4(e,t){return!e||Object.entries(e).every((a=>{var[o,n]=a,r=t?.[o];if($e(r)||Us(r))return!1;var i=[String(r)],c=S4[n.operator];return!!c&&c(n.values,i)}))}var C0="custom",D2="i.posthog.com",jce=/^\/static\//;class zce{constructor(t){this.ki={},this.instance=t}get apiHost(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}get flagsApiHost(){var t=this.instance.config.flags_api_host;return t?t.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var t,a=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return a||(a=this.apiHost.replace("."+D2,".posthog.com")),a==="https://app.posthog.com"?"https://us.posthog.com":a}get region(){return this.ki[this.apiHost]||(this.ki[this.apiHost]=/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"us":/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"eu":C0),this.ki[this.apiHost]}Ti(t){var a=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof a=="string"&&jce.test(t))return a.trim().replace(/\/$/,"")||void 0}endpointFor(t,a){if(a===void 0&&(a=""),a&&(a=a[0]==="/"?a:"/"+a),t==="ui")return this.uiHost+a;if(t==="flags")return this.flagsApiHost+a;if(t==="assets"){var o=this.Ti(a);if(o)return""+o+a}if(this.region===C0)return this.apiHost+a;var n=D2+a;switch(t){case"assets":return"https://"+this.region+"-assets."+n;case"api":return"https://"+this.region+"."+n}}}var na=Ta("[Surveys]"),P0="seenSurvey_",qce=[sT.Popover,sT.Widget,sT.API],Uce={ignoreConditions:!1,ignoreDelay:!1,displayType:S0.Popover},$ce=Ta("[PostHog ExternalIntegrations]"),Vce={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class Hce{constructor(t){this._instance=t}ur(t,a){var o;(o=at.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,t,(n=>{if(n)return $ce.error("failed to load script",n);a()}))}startIfEnabledOrStop(){var t=this,a=function(i){var c,d,u;!n||(c=at.__PosthogExtensions__)!=null&&(c=c.integrations)!=null&&c[i]||t.ur(Vce[i],(()=>{var m;(m=at.__PosthogExtensions__)==null||(m=m.integrations)==null||(m=m[i])==null||m.start(t._instance)})),!n&&(d=at.__PosthogExtensions__)!=null&&(d=d.integrations)!=null&&d[i]&&((u=at.__PosthogExtensions__)==null||(u=u.integrations)==null||(u=u[i])==null||u.stop())};for(var[o,n]of Object.entries((r=this._instance.config.integrations)!==null&&r!==void 0?r:{})){var r;a(o)}}}var td,Rp={},pT=0,_0=()=>{},O2='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',ip="Surveys module not available",N2="sanitize_properties is deprecated. Use before_send instead",x4="Invalid value for property_denylist config: ",pd="posthog",k4=!Oce&&hn?.indexOf("MSIE")===-1&&hn?.indexOf("Mozilla")===-1,M2=e=>{var t;return Me({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:lce(ze?.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:_0,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:e??"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,debug:Eo&&Ca(Eo?.search)&&Eo.search.indexOf("__posthog_debug=true")!==-1||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(ge==null||(t=ge.location)==null?void 0:t.protocol)==="https:",ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(a){Ue.error("Bad HTTP status: "+a.statusCode+" "+a.text)},get_device_id:a=>a,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:w0,before_send:void 0,request_queue_config:{flush_interval_ms:E0},error_tracking:{},_onCapture:_0,__preview_eager_load_replay:!1},(a=>({rageclick:!a||"2025-11-30">a||{content_ignorelist:!0},capture_pageview:!a||"2025-05-24">a||"history_change",session_recording:a&&a>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:a&&a>="2026-01-30"?"head":"body",internal_or_test_user_hostname:a&&a>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},Gce=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],I2=e=>{var t={};for(var[a,o]of Gce)$e(e[a])||(t[o]=e[a]);var n=Na({},t,e);return Bt(e.property_blacklist)&&($e(e.property_denylist)?n.property_denylist=e.property_blacklist:Bt(e.property_denylist)?n.property_denylist=[...e.property_blacklist,...e.property_denylist]:Ue.error(x4+e.property_denylist)),n};class Wce{constructor(){this.__forceAllowLocalhost=!1}get Ai(){return this.__forceAllowLocalhost}set Ai(t){Ue.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class ar{Ei(t,a){if(t){var o=this.Ri.indexOf(t);o!==-1&&this.Ri.splice(o,1)}return this.Ri.push(a),a.initialize==null||a.initialize(),a}Ni(){return this.config.cookieless_mode===Ns||this.config.cookieless_mode===Dl&&this.consent.isRejected()}get decideEndpointWasHit(){var t,a;return(t=(a=this.featureFlags)==null?void 0:a.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,a;return(t=(a=this.featureFlags)==null?void 0:a.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){var t;this.webPerformance=new Wce,this.Mi=!1,this.version=Jo.LIB_VERSION,this.Fi=new HE,this.Ri=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=M2(),this.SentryIntegration=bce,this.sentryIntegration=o=>(function(n,r){var i=r4(n,r);return{name:n4,processEvent:c=>i(c)}})(this,o),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Oi=!1,this.Pi=null,this.Li=null,this.Di=null,this.scrollManager=new Bce(this),this.pageViewManager=new b2(this),this.rateLimiter=new Cce(this),this.requestRouter=new zce(this),this.consent=new gce(this),this.externalIntegrations=new Hce(this);var a=(t=ar.__defaultExtensionClasses)!==null&&t!==void 0?t:{};this.featureFlags=a.featureFlags&&new a.featureFlags(this),this.toolbar=a.toolbar&&new a.toolbar(this),this.surveys=a.surveys&&new a.surveys(this),this.conversations=a.conversations&&new a.conversations(this),this.logs=a.logs&&new a.logs(this),this.experiments=a.experiments&&new a.experiments(this),this.exceptions=a.exceptions&&new a.exceptions(this),this.people={set:(o,n,r)=>{var i=Ca(o)?{[o]:n}:o;this.setPersonProperties(i),r?.({})},set_once:(o,n,r)=>{var i=Ca(o)?{[o]:n}:o;this.setPersonProperties(void 0,i),r?.({})}},this.on("eventCaptured",(o=>Ue.info('send "'+o?.event+'"',o)))}init(t,a,o){if(o&&o!==pd){var n,r=(n=Rp[o])!==null&&n!==void 0?n:new ar;return r._init(t,a,o),Rp[o]=r,Rp[pd][o]=r,r}return this._init(t,a,o)}_init(t,a,o){var n,r;if(a===void 0&&(a={}),$e(t)||Ef(t))return Ue.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},a.debug=this.Bi(a.debug),this.ji=a,this.$i=[],a.person_profiles?this.Li=a.person_profiles:a.process_person&&(this.Li=a.process_person),this.set_config(Na({},M2(a.defaults),I2(a),{name:o,token:t})),this.config.on_xhr_error&&Ue.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=a.disable_compression?void 0:Vr.GZipJS;var i=this.qi();this.persistence=new rT(this.config,i),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new rT(Me({},this.config,{persistence:"sessionStorage"}),i);var c=Me({},this.persistence.props),d=Me({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Zi=new Mce((x=>this.Vi(x)),this.config.request_queue_config),this.Hi=new Lce(this),this.__request_queue=[];var u=this.Ni();if(u||(this.sessionManager=new A2(this),this.sessionPropsManager=new _2(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(Ue.info("Deferring extension initialization to improve startup performance"),setTimeout((()=>{this.zi(u)}),0)):(Ue.info("Initializing extensions synchronously"),this.zi(u)),Jo.DEBUG=Jo.DEBUG||this.config.debug,Jo.DEBUG&&Ue.info("Starting in debug mode",{this:this,config:a,thisC:Me({},this.config),p:c,s:d}),!this.config.identity_distinct_id||(n=a.bootstrap)!=null&&n.distinctID||(a.bootstrap=Me({},a.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((r=a.bootstrap)==null?void 0:r.distinctID)!==void 0){var m=a.bootstrap.distinctID,h=this.get_distinct_id(),f=this.persistence.get_property(yr);if(a.bootstrap.isIdentifiedID&&h!=null&&h!==m&&f===Jc)this.identify(m);else if(a.bootstrap.isIdentifiedID&&h!=null&&h!==m&&f===Xc)Ue.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var v=this.config.get_device_id(Oi()),b=a.bootstrap.isIdentifiedID?v:m;this.persistence.set_property(yr,a.bootstrap.isIdentifiedID?Xc:Jc),this.register({distinct_id:m,$device_id:b})}}if(u)this.register_once({distinct_id:Jg,$device_id:null},"");else if(!this.get_distinct_id()){var w=this.config.get_device_id(Oi());this.register_once({distinct_id:w,$device_id:w},""),this.persistence.set_property(yr,Jc)}return Za(ge,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),a.segment?(function(x,T){var k=x.config.segment;if(!k)return T();(function(C,E){var _=C.config.segment;if(!_)return E();var D=O=>{var L=()=>O.anonymousId()||Oi();C.config.get_device_id=L,O.id()&&(C.register({distinct_id:O.id(),$device_id:L()}),C.persistence.set_property(yr,Xc)),E()},R=_.user();"then"in R&&Os(R.then)?R.then(D):D(R)})(x,(()=>{k.register((C=>{Promise&&Promise.resolve||nT.warn("This browser does not have Promise support, and can not use the segment integration");var E=(_,D)=>{if(!D)return _;_.event.userId||_.event.anonymousId===C.get_distinct_id()||(nT.info("No userId set, resetting PostHog"),C.reset()),_.event.userId&&_.event.userId!==C.get_distinct_id()&&(nT.info("UserId set, identifying with PostHog"),C.identify(_.event.userId));var R=C.calculateEventProperties(D,_.event.properties);return _.event.properties=Object.assign({},R,_.event.properties),_};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:_=>E(_,_.event.event),page:_=>E(_,ud),identify:_=>E(_,aT),screen:_=>E(_,"$screen")}})(x)).then((()=>{T()}))}))})(this,(()=>this.Ui())):this.Ui(),Os(this.config._onCapture)&&this.config._onCapture!==_0&&(Ue.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(x=>this.config._onCapture(x.event,x)))),this.config.ip&&Ue.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}zi(t){var a,o,n,r,i,c,d,u=performance.now(),m=Me({},ar.__defaultExtensionClasses,this.config.__extensionClasses),h=[];m.featureFlags&&this.Ri.push(this.featureFlags=(a=this.featureFlags)!==null&&a!==void 0?a:new m.featureFlags(this)),m.exceptions&&this.Ri.push(this.exceptions=(o=this.exceptions)!==null&&o!==void 0?o:new m.exceptions(this)),m.historyAutocapture&&this.Ri.push(this.historyAutocapture=new m.historyAutocapture(this)),m.tracingHeaders&&this.Ri.push(new m.tracingHeaders(this)),m.siteApps&&this.Ri.push(this.siteApps=new m.siteApps(this)),m.sessionRecording&&!t&&this.Ri.push(this.sessionRecording=new m.sessionRecording(this)),this.config.disable_scroll_properties||h.push((()=>{this.scrollManager.startMeasuringScrollPosition()})),m.autocapture&&this.Ri.push(this.autocapture=new m.autocapture(this)),m.surveys&&this.Ri.push(this.surveys=(n=this.surveys)!==null&&n!==void 0?n:new m.surveys(this)),m.logs&&this.Ri.push(this.logs=(r=this.logs)!==null&&r!==void 0?r:new m.logs(this)),m.conversations&&this.Ri.push(this.conversations=(i=this.conversations)!==null&&i!==void 0?i:new m.conversations(this)),m.productTours&&this.Ri.push(this.productTours=new m.productTours(this)),m.heatmaps&&this.Ri.push(this.heatmaps=new m.heatmaps(this)),m.webVitalsAutocapture&&this.Ri.push(this.webVitalsAutocapture=new m.webVitalsAutocapture(this)),m.exceptionObserver&&this.Ri.push(this.exceptionObserver=new m.exceptionObserver(this)),m.deadClicksAutocapture&&this.Ri.push(this.deadClicksAutocapture=new m.deadClicksAutocapture(this,vce)),m.toolbar&&this.Ri.push(this.toolbar=(c=this.toolbar)!==null&&c!==void 0?c:new m.toolbar(this)),m.experiments&&this.Ri.push(this.experiments=(d=this.experiments)!==null&&d!==void 0?d:new m.experiments(this)),this.Ri.forEach((f=>{f.initialize&&h.push((()=>{f.initialize==null||f.initialize()}))})),h.push((()=>{if(this.Yi){var f=this.Yi;this.Yi=void 0,this.Nr(f)}})),this.Gi(h,u)}Gi(t,a){for(;t.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-a>=30&&t.length>0)return void setTimeout((()=>{this.Gi(t,a)}),0);var o=t.shift();if(o)try{o()}catch(r){Ue.error("Error initializing extension:",r)}}var n=Math.round(performance.now()-a);this.register_for_session({[X3]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[e4]:n}),this.config.__preview_deferred_init_extensions&&Ue.info("PostHog extensions initialized ("+n+"ms)")}Nr(t){var a;if(!ze||!ze.body)return Ue.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((()=>{this.Nr(t)}),500);this.config.__preview_deferred_init_extensions&&(this.Yi=t),this.Wi=t,this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=Et(t.supportedCompression,Vr.GZipJS)?Vr.GZipJS:Et(t.supportedCompression,Vr.Base64)?Vr.Base64:void 0),(a=t.analytics)!=null&&a.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Li?this.Li:w0}),this.Ri.forEach((o=>o.onRemoteConfig==null?void 0:o.onRemoteConfig(t)))}Ui(){try{this.config.loaded(this)}catch(o){Ue.critical("`loaded` function failed",o)}if(this.Xi(),this.config.internal_or_test_user_hostname&&Eo!=null&&Eo.hostname){var t=Eo.hostname,a=this.config.internal_or_test_user_hostname;(typeof a=="string"?t===a:a.test(t))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout((()=>{(this.consent.isOptedIn()||this.Ni())&&this.Ji()}),1),this.Ki=new m4(this),this.Ki.load()}Xi(){var t;this.is_capturing()&&this.config.request_batching&&((t=this.Zi)==null||t.enable())}_dom_loaded(){this.is_capturing()&&Xg(this.__request_queue,(t=>this.Vi(t))),this.__request_queue=[],this.Xi()}_handle_unload(){var t,a,o,n;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Qi()&&this.capture(tT),(a=this.logs)==null||a.flushLogs("sendBeacon"),(o=this.Zi)==null||o.unload(),(n=this.Hi)==null||n.unload()):this.Qi()&&this.capture(tT,null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&(k4?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=Sb(t.url,{ip:this.config.ip?1:0}),t.headers=Me({},this.config.request_headers,t.headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(t.disableTransport=["sendBeacon"]),t.fetchOptions=t.fetchOptions||this.config.fetch_options,(a=>{var o,n,r,i=Me({},a);i.timeout=i.timeout||6e4,i.url=P2(i.url,i.compression);var c=(o=i.transport)!==null&&o!==void 0?o:"fetch",d=Af.filter((m=>!i.disableTransport||!m.transport||!i.disableTransport.includes(m.transport))),u=(n=(r=(function(m,h){for(var f=0;m.length>f;f++)if(m[f].transport===c)return m[f]})(d))==null?void 0:r.method)!==null&&n!==void 0?n:d[0].method;if(!u)throw new Error("No available transport method");c!=="sendBeacon"&&i.data&&i.compression===Vr.GZipJS&&ble&&!C2?Nce(i).then((m=>{u(m)})).catch((m=>{if((h=>!(!h||typeof h!="object")&&("name"in h?String(h.name):"")==="NotReadableError")(m))return C2=!0,void u(Me({},i,{compression:void 0,url:P2(a.url,void 0)}));u(i)})):u(i)})(Me({},t,{callback:a=>{var o,n;this.rateLimiter.checkForLimiting(a),400>a.statusCode||(o=(n=this.config).on_request_error)==null||o.call(n,a),t.callback==null||t.callback(a)}}))))}Vi(t){this.Hi?this.Hi.retriableRequest(t):this._send_request(t)}_execute_array(t){pT++;try{var a,o=[],n=[],r=[];Xg(t,(c=>{c&&(Bt(a=c[0])?r.push(c):Os(c)?c.call(this):Bt(c)&&a==="alias"?o.push(c):Bt(c)&&a.indexOf("capture")!==-1&&Os(this[a])?r.push(c):n.push(c))}));var i=function(c,d){Xg(c,(function(u){if(Bt(u[0])){var m=d;va(u,(function(h){m=m[h[0]].apply(m,h.slice(1))}))}else d[u[0]].apply(d,u.slice(1))}))};i(o,this),i(n,this),i(r,this)}finally{pT--}}push(t){if(pT>0&&Bt(t)&&Ca(t[0])){var a=ar.prototype[t[0]];Os(a)&&a.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,a,o){var n,r,i,c,d;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Zi){if(this.is_capturing())if(!$e(t)&&Ca(t)){var u=!this.config.opt_out_useragent_filter&&this._is_bot();if(!u||this.config.__preview_capture_bot_pageviews){var m=o!=null&&o.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(m==null||!m.isRateLimited){a!=null&&a.$current_url&&!Ca(a?.$current_url)&&(Ue.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),a==null||delete a.$current_url),t!=="$exception"||o!=null&&o.en||Ue.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var h=new Date,f=o?.timestamp||h,v=Oi(),b={uuid:v,event:t,properties:this.calculateEventProperties(t,a||{},f,v)};t===ud&&this.config.__preview_capture_bot_pageviews&&u&&(b.event="$bot_pageview",b.properties.$browser_type="bot"),m&&(b.properties.$lib_rate_limit_remaining_tokens=m.remainingTokens),o?.$set&&(b.$set=o?.$set);var w,x,T,k=this.tn(o?.$set_once,t!==h2,t===aT);if(k&&(b.$set_once=k),o!=null&&o._noTruncate||(r=this.config.properties_string_max_length,i=b,c=L=>Ca(L)?L.slice(0,r):L,d=new Set,b=(function L(U,B){return U!==Object(U)?c?c(U):U:d.has(U)?void 0:(d.add(U),Bt(U)?(z=[],Xg(U,(F=>{z.push(L(F))}))):(z={},va(U,((F,W)=>{d.has(F)||(z[W]=L(F))}))),z);var z})(i)),b.timestamp=f,$e(o?.timestamp)||(b.properties.$event_time_override_provided=!0,b.properties.$event_time_override_system_time=h),t===kp.DISMISSED||t===kp.SENT){var C=a?.[iT.SURVEY_ID],E=a?.[iT.SURVEY_ITERATION];(L=>{try{var U=(B=>((z,F)=>{var W=""+P0+F.id;return F.current_iteration&&F.current_iteration>0&&(W=""+P0+F.id+"_"+F.current_iteration),W})(0,B))(L);if(localStorage.getItem(U))return;localStorage.setItem(U,"true")}catch(B){na.error("Failed to persist survey seen state",B)}})({id:C,current_iteration:E}),b.$set=Me({},b.$set,{[(w={id:C,current_iteration:E},x=t===kp.SENT?"responded":"dismissed",T="$survey_"+x+"/"+w.id,w.current_iteration&&w.current_iteration>0&&(T="$survey_"+x+"/"+w.id+"/"+w.current_iteration),T)]:!0})}else t===kp.SHOWN&&(b.$set=Me({},b.$set,{[iT.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===Ece.SHOWN){var _=a?.[w2.TOUR_TYPE];_&&(b.$set=Me({},b.$set,{[w2.TOUR_LAST_SEEN_DATE+"/"+_]:new Date().toISOString()}))}var D=Me({},b.properties.$set,b.$set);if(vd(D)||this.setPersonPropertiesForFlags(D),!Pt(this.config.before_send)){var R=this.rn(b);if(!R)return;b=R}this.Fi.emit("eventCaptured",b);var O={method:"POST",url:(n=o?._url)!==null&&n!==void 0?n:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:b,compression:"best-available",batchKey:o?._batchKey};return!this.config.request_batching||o&&(o==null||!o._batchKey)||o!=null&&o.send_instantly?this.Vi(O):this.Zi.enqueue(O),b}Ue.critical("This capture call is ignored due to client rate limiting.")}}else Ue.error("No event name provided to posthog.capture")}else Ue.uninitializedWarning("posthog.capture")}_addCaptureHook(t){return this.on("eventCaptured",(a=>t(a.event,a)))}calculateEventProperties(t,a,o,n,r){if(o=o||new Date,!this.persistence||!this.sessionPersistence)return a;var i=r?void 0:this.persistence.remove_event_timer(t),c=Me({},a);if(c.token=this.config.token,c.$config_defaults=this.config.defaults,this.Ni()&&(c.$cookieless_mode=!0),t==="$snapshot"){var d=Me({},this.persistence.properties(),this.sessionPersistence.properties());return c.distinct_id=d.distinct_id,(!Ca(c.distinct_id)&&!ir(c.distinct_id)||Ef(c.distinct_id))&&Ue.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),c}var u,m=(function(T,k){var C,E,_,D;if(!hn)return{};var R,O,L,U,B,z,F,W,ae=T?[...Hd,...k||[]]:[],[H,K]=(function(J){for(var se=0;d2.length>se;se++){var[Z,M]=d2[se],G=Z.exec(J),V=G&&(Os(M)?M(G,J):M);if(V)return V}return["",""]})(hn);return Na(UE({$os:H,$os_version:K,$browser:q3(hn,navigator.vendor),$device:u2(hn),$device_type:(O=hn,L={userAgentDataPlatform:(C=navigator)==null||(C=C.userAgentData)==null?void 0:C.platform,maxTouchPoints:(E=navigator)==null?void 0:E.maxTouchPoints,screenWidth:ge==null||(_=ge.screen)==null?void 0:_.width,screenHeight:ge==null||(D=ge.screen)==null?void 0:D.height,devicePixelRatio:ge?.devicePixelRatio},W=u2(O),W===P3||W===C3||W==="Kobo"||W==="Kindle Fire"||W===z3?Ud:W===Yp||W===_d||W===Qp||W===Jx?"Console":W===A3?"Wearable":W?Bn:L?.userAgentDataPlatform==="Android"&&((U=L?.maxTouchPoints)!==null&&U!==void 0?U:0)>0?600>Math.min((B=L?.screenWidth)!==null&&B!==void 0?B:0,(z=L?.screenHeight)!==null&&z!==void 0?z:0)/((F=L?.devicePixelRatio)!==null&&F!==void 0?F:1)?Bn:Ud:"Desktop"),$timezone:p4(),$timezone_offset:xce()}),{$current_url:Zp(Eo?.href,ae,Jp),$host:Eo?.host,$pathname:Eo?.pathname,$raw_user_agent:hn.length>1e3?hn.substring(0,997)+"...":hn,$browser_version:Mle(hn,navigator.vendor),$browser_language:y2(),$browser_language_prefix:(R=y2(),typeof R=="string"?R.split("-")[0]:void 0),$screen_height:ge?.screen.height,$screen_width:ge?.screen.width,$viewport_height:ge?.innerHeight,$viewport_width:ge?.innerWidth,$lib:Jo.LIB_NAME,$lib_version:Jo.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})})(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:h,windowId:f}=this.sessionManager.checkAndGetSessionAndWindowId(r,o.getTime());c.$session_id=h,c.$window_id=f}this.sessionPropsManager&&Na(c,this.sessionPropsManager.getSessionProps());try{var v;this.sessionRecording&&Na(c,this.sessionRecording.sdkDebugProperties),c.$sdk_debug_retry_queue_size=(v=this.Hi)==null?void 0:v.length}catch(T){c.$sdk_debug_error_capturing_properties=String(T)}if(this.requestRouter.region===C0&&(c.$lib_custom_api_host=this.config.api_host),u=t!==ud||r?t!==tT||r?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(o):this.pageViewManager.doPageView(o,n),c=Na(c,u),t===ud&&ze&&(c.title=ze.title),!$e(i)){var b=o.getTime()-i;c.$duration=parseFloat((b/1e3).toFixed(3))}hn&&this.config.opt_out_useragent_filter&&(c.$browser_type=this._is_bot()?"bot":"browser"),(c=Na({},m,this.persistence.properties(),this.sessionPersistence.properties(),c)).$is_identified=this._isIdentified(),Bt(this.config.property_denylist)?va(this.config.property_denylist,(function(T){delete c[T]})):Ue.error(x4+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var w=this.config.sanitize_properties;w&&(Ue.error(N2),c=w(c,t));var x=this.nn();return c.$process_person_profile=x,x&&!r&&this.sn("_calculate_event_properties"),c}tn(t,a,o){var n;if(a===void 0&&(a=!0),o===void 0&&(o=!1),!this.persistence||!this.nn()||this.Mi&&!o)return t;var r=this.persistence.get_initial_props(),i=(n=this.sessionPropsManager)==null?void 0:n.getSetOnceProps(),c=Na({},r,i||{},t||{}),d=this.config.sanitize_properties;return d&&(Ue.error(N2),c=d(c,"$set_once")),a&&(this.Mi=!0),vd(c)?void 0:c}register(t,a){var o;(o=this.persistence)==null||o.register(t,a)}register_once(t,a,o){var n;(n=this.persistence)==null||n.register_once(t,a,o)}register_for_session(t){var a;(a=this.sessionPersistence)==null||a.register(t)}unregister(t){var a;(a=this.persistence)==null||a.unregister(t)}unregister_for_session(t){var a;(a=this.sessionPersistence)==null||a.unregister(t)}an(t,a){this.register({[t]:a})}getFeatureFlag(t,a){var o;return(o=this.featureFlags)==null?void 0:o.getFeatureFlag(t,a)}getFeatureFlagPayload(t){var a;return(a=this.featureFlags)==null?void 0:a.getFeatureFlagPayload(t)}getFeatureFlagResult(t,a){var o;return(o=this.featureFlags)==null?void 0:o.getFeatureFlagResult(t,a)}isFeatureEnabled(t,a){var o;return(o=this.featureFlags)==null?void 0:o.isFeatureEnabled(t,a)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,a,o){var n;(n=this.featureFlags)==null||n.updateFlags(t,a,o)}updateEarlyAccessFeatureEnrollment(t,a,o){var n;(n=this.featureFlags)==null||n.updateEarlyAccessFeatureEnrollment(t,a,o)}getEarlyAccessFeatures(t,a,o){var n;return a===void 0&&(a=!1),(n=this.featureFlags)==null?void 0:n.getEarlyAccessFeatures(t,a,o)}on(t,a){return this.Fi.on(t,a)}onFeatureFlags(t){return this.featureFlags?this.featureFlags.onFeatureFlags(t):(t([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(t){return this.surveys?this.surveys.onSurveysLoaded(t):(t([],{isLoaded:!1,error:ip}),()=>{})}onSessionId(t){var a,o;return(a=(o=this.sessionManager)==null?void 0:o.onSessionId(t))!==null&&a!==void 0?a:()=>{}}getSurveys(t,a){a===void 0&&(a=!1),this.surveys?this.surveys.getSurveys(t,a):t([],{isLoaded:!1,error:ip})}getActiveMatchingSurveys(t,a){a===void 0&&(a=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,a):t([],{isLoaded:!1,error:ip})}renderSurvey(t,a){var o;(o=this.surveys)==null||o.renderSurvey(t,a)}displaySurvey(t,a){var o;a===void 0&&(a=Uce),(o=this.surveys)==null||o.displaySurvey(t,a)}cancelPendingSurvey(t){var a;(a=this.surveys)==null||a.cancelPendingSurvey(t)}canRenderSurvey(t){var a,o;return(a=(o=this.surveys)==null?void 0:o.canRenderSurvey(t))!==null&&a!==void 0?a:{visible:!1,disabledReason:ip}}canRenderSurveyAsync(t,a){var o,n;return a===void 0&&(a=!1),(o=(n=this.surveys)==null?void 0:n.canRenderSurveyAsync(t,a))!==null&&o!==void 0?o:Promise.resolve({visible:!1,disabledReason:ip})}ln(t){return!t||Ef(t)?(Ue.critical("Unique user id has not been set in posthog.identify"),!1):t===Jg?(Ue.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(t.toLowerCase())&&!["undefined","null"].includes(t.toLowerCase())||(Ue.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'),!1)}identify(t,a,o){if(!this.__loaded||!this.persistence)return Ue.uninitializedWarning("posthog.identify");if(ir(t)&&(t=t.toString(),Ue.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.ln(t)&&this.sn("posthog.identify")){var n=this.get_distinct_id();this.register({$user_id:t}),this.get_property(fv)||this.register_once({$had_persisted_distinct_id:!0,$device_id:n},""),t!==n&&t!==this.get_property(yp)&&(this.unregister(yp),this.register({distinct_id:t}));var r,i=(this.persistence.get_property(yr)||Jc)===Jc;t!==n&&i?(this.persistence.set_property(yr,Xc),this.setPersonPropertiesForFlags({$set:a||{},$set_once:o||{}},!1),this.capture(aT,{distinct_id:t,$anon_distinct_id:n},{$set:a||{},$set_once:o||{}}),this.Di=R2(t,a,o),(r=this.featureFlags)==null||r.setAnonymousDistinctId(n)):(a||o)&&this.setPersonProperties(a,o),t!==n&&(this.reloadFeatureFlags(),this.unregister(_p))}}setPersonProperties(t,a){if((t||a)&&this.sn("posthog.setPersonProperties")){var o=R2(this.get_distinct_id(),t,a);this.Di!==o?(this.setPersonPropertiesForFlags({$set:t||{},$set_once:a||{}},!0),this.capture("$set",{$set:t||{},$set_once:a||{}}),this.Di=o):Ue.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,a,o){if(t&&a){var n=this.getGroups(),r=n[t]!==a;if(r&&this.resetGroupPropertiesForFlags(t),this.register({$groups:Me({},n,{[t]:a})}),r||o){var i={$group_type:t,$group_key:a};o&&(i.$group_set=o),this.capture(h2,i)}o&&this.setGroupPropertiesForFlags({[t]:o}),r&&!o&&this.reloadFeatureFlags()}else Ue.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,a){var o;a===void 0&&(a=!0),(o=this.featureFlags)==null||o.setPersonPropertiesForFlags(t,a)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,a){var o;a===void 0&&(a=!0),this.sn("posthog.setGroupPropertiesForFlags")&&((o=this.featureFlags)==null||o.setGroupPropertiesForFlags(t,a))}resetGroupPropertiesForFlags(t){var a;(a=this.featureFlags)==null||a.resetGroupPropertiesForFlags(t)}reset(t){var a,o,n,r,i,c,d,u;if(Ue.info("reset"),!this.__loaded)return Ue.uninitializedWarning("posthog.reset");var m=this.get_property(fv);if(this.consent.reset(),(a=this.persistence)==null||a.clear(),(o=this.sessionPersistence)==null||o.clear(),(n=this.surveys)==null||n.reset(),(r=this.Ki)==null||r.stop(),(i=this.featureFlags)==null||i.reset(),(c=this.conversations)==null||c.reset(),(d=this.persistence)==null||d.set_property(yr,Jc),(u=this.sessionManager)==null||u.resetSessionId(),this.Di=null,this.config.cookieless_mode===Ns)this.register_once({distinct_id:Jg,$device_id:null},"");else{var h=this.config.get_device_id(Oi());this.register_once({distinct_id:h,$device_id:t?h:m},"")}this.register({$last_posthog_reset:new Date().toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}setIdentity(t,a){var o;this.config.identity_distinct_id=t,this.config.identity_hash=a,this.alias(t),(o=this.conversations)==null||o.un()}clearIdentity(){var t;delete this.config.identity_distinct_id,delete this.config.identity_hash,(t=this.conversations)==null||t.hn()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,a;return(t=(a=this.sessionManager)==null?void 0:a.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:a,sessionStartTimestamp:o}=this.sessionManager.checkAndGetSessionAndWindowId(!0),n=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+a);if(t!=null&&t.withTimestamp&&o){var r,i=(r=t.timestampLookBack)!==null&&r!==void 0?r:10;if(!o)return n;n+="?t="+Math.max(Math.floor((new Date().getTime()-o)/1e3)-i,0)}return n}alias(t,a){return t===this.get_property(W3)?(Ue.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?($e(a)&&(a=this.get_distinct_id()),t!==a?(this.an(yp,t),this.capture("$create_alias",{alias:t,distinct_id:a})):(Ue.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var a=Me({},this.config);if(Ba(t)){var o,n,r,i,c,d,u,m,h,f;Na(this.config,I2(t));var v=this.qi();(o=this.persistence)==null||o.update_config(this.config,a,v),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new rT(Me({},this.config,{persistence:"sessionStorage"}),v);var b=this.Bi(this.config.debug);Zr(b)&&(this.config.debug=b),Zr(this.config.debug)&&(this.config.debug?(Jo.DEBUG=!0,Ea.R()&&Ea.M("ph_debug",!0),Ue.info("set_config",{config:t,oldConfig:a,newConfig:Me({},this.config)})):(Jo.DEBUG=!1,Ea.R()&&Ea.F("ph_debug"))),(n=this.exceptionObserver)==null||n.onConfigChange(),(r=this.exceptions)==null||r.onConfigChange(),(i=this.sessionRecording)==null||i.startIfEnabledOrStop(),(c=this.autocapture)==null||c.startIfEnabled(),(d=this.heatmaps)==null||d.startIfEnabled(),(u=this.exceptionObserver)==null||u.startIfEnabledOrStop(),(m=this.deadClicksAutocapture)==null||m.startIfEnabledOrStop(),(h=this.surveys)==null||h.loadIfEnabled(),this.cn(),(f=this.externalIntegrations)==null||f.startIfEnabledOrStop()}}_overrideSDKInfo(t,a){Jo.LIB_NAME=t,Jo.LIB_VERSION=a}startSessionRecording(t){var a,o,n,r,i,c=t===!0,d={sampling:c||!(t==null||!t.sampling),linked_flag:c||!(t==null||!t.linked_flag),url_trigger:c||!(t==null||!t.url_trigger),event_trigger:c||!(t==null||!t.event_trigger)};Object.values(d).some(Boolean)&&((a=this.sessionManager)==null||a.checkAndGetSessionAndWindowId(),d.sampling&&((o=this.sessionRecording)==null||o.overrideSampling()),d.linked_flag&&((n=this.sessionRecording)==null||n.overrideLinkedFlag()),d.url_trigger&&((r=this.sessionRecording)==null||r.overrideTrigger("url")),d.event_trigger&&((i=this.sessionRecording)==null||i.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var t;return!((t=this.sessionRecording)==null||!t.started)}captureException(t,a){if(this.exceptions){var o=new Error("PostHog syntheticException"),n=this.exceptions.buildProperties(t,{handled:!0,syntheticException:o});return this.exceptions.sendExceptionEvent(Me({},n,a))}}addExceptionStep(t,a){var o;(o=this.exceptions)==null||o.addExceptionStep(t,a)}captureLog(t){var a;(a=this.logs)==null||a.captureLog(t)}get logger(){var t,a;return(t=(a=this.logs)==null?void 0:a.logger)!==null&&t!==void 0?t:ar.dn}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var a,o;return(a=(o=this.toolbar)==null?void 0:o.loadToolbar(t))!==null&&a!==void 0&&a}get_property(t){var a;return(a=this.persistence)==null?void 0:a.props[t]}getSessionProperty(t){var a;return(a=this.sessionPersistence)==null?void 0:a.props[t]}toString(){var t,a=(t=this.config.name)!==null&&t!==void 0?t:pd;return a!==pd&&(a=pd+"."+a),a}_isIdentified(){var t,a;return((t=this.persistence)==null?void 0:t.get_property(yr))===Xc||((a=this.sessionPersistence)==null?void 0:a.get_property(yr))===Xc}nn(){var t,a;return!(this.config.person_profiles==="never"||this.config.person_profiles===w0&&!this._isIdentified()&&vd(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[yp])&&((a=this.persistence)==null||(a=a.props)==null||!a[wv]))}Qi(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&(this.config.capture_pageview===!0||this.config.capture_pageview==="history_change")}createPersonProfile(){this.nn()||this.sn("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.sn("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}sn(t){return this.config.person_profiles==="never"?(Ue.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.an(wv,!0),!0)}qi(){if(this.config.cookieless_mode==="always")return!0;var t=this.consent.isOptedOut();return this.config.disable_persistence||t&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==Dl)}cn(){var t,a,o,n,r=this.qi();return((t=this.persistence)==null?void 0:t._r)!==r&&((o=this.persistence)==null||o.set_disabled(r)),((a=this.sessionPersistence)==null?void 0:a._r)!==r&&((n=this.sessionPersistence)==null||n.set_disabled(r)),r}opt_in_capturing(t){var a;if(this.config.cookieless_mode!==Ns){if(this.Ni()){var o,n,r,i,c;this.reset(!0),(o=this.sessionManager)==null||o.destroy(),(n=this.pageViewManager)==null||n.destroy(),this.sessionManager=new A2(this),this.pageViewManager=new b2(this),this.persistence&&(this.sessionPropsManager=new _2(this,this.sessionManager,this.persistence));var d,u=(r=(i=this.config.__extensionClasses)==null?void 0:i.sessionRecording)!==null&&r!==void 0?r:(c=ar.__defaultExtensionClasses)==null?void 0:c.sessionRecording;u&&(this.sessionRecording=this.Ei(this.sessionRecording,new u(this)),this.Wi&&((d=this.sessionRecording)==null||d.onRemoteConfig==null||d.onRemoteConfig(this.Wi)))}var m,h;this.consent.optInOut(!0),this.cn(),this.Xi(),(a=this.sessionRecording)==null||a.startIfEnabledOrStop(),this.config.cookieless_mode==Dl&&((m=this.surveys)==null||m.loadIfEnabled()),($e(t?.captureEventName)||t!=null&&t.captureEventName)&&this.capture((h=t?.captureEventName)!==null&&h!==void 0?h:"$opt_in",t?.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ji()}else Ue.warn(O2)}opt_out_capturing(){var t,a,o;this.config.cookieless_mode!==Ns?(this.config.cookieless_mode===Dl&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===Dl&&(this.register({distinct_id:Jg,$device_id:null}),(t=this.sessionManager)==null||t.destroy(),(a=this.pageViewManager)==null||a.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,(o=this.sessionRecording)==null||o.stopRecording(),this.sessionRecording=void 0,this.Ji())):Ue.warn(O2)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var t=this.consent.consent;return t===1?"granted":t===0?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===Ns||(this.config.cookieless_mode===Dl?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return In?w4(In,this.config.custom_blocked_useragents):void 0}Ji(){ze&&(ze.visibilityState==="visible"?this.Oi||(this.Oi=!0,this.capture(ud,{title:ze.title},{send_instantly:!0}),this.Pi&&(ze.removeEventListener(Sv,this.Pi),this.Pi=null)):this.Pi||(this.Pi=this.Ji.bind(this),Za(ze,Sv,this.Pi)))}debug(t){t===!1?(ge?.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(ge?.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}Fr(){var t,a,o,n,r,i,c=this.ji||{};return"advanced_disable_flags"in c?!!c.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(Ue.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(o="advanced_disable_decide",n=Ue,r=(a="advanced_disable_flags")in(t=c)&&!Pt(t[a]),i=o in t&&!Pt(t[o]),r?t[a]:!!i&&(n&&n.warn("Config field '"+o+"' is deprecated. Please use '"+a+"' instead. The old field will be removed in a future major version."),t[o]))}rn(t){if(Pt(this.config.before_send))return t;var a=Bt(this.config.before_send)?this.config.before_send:[this.config.before_send],o=t;for(var n of a){if(o=n(o),Pt(o)){var r="Event '"+t.event+"' was rejected in beforeSend function";return Tle(t.event)?Ue.warn(r+". This can cause unexpected behavior."):Ue.info(r),null}o.properties&&!vd(o.properties)||Ue.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return o}getPageViewId(){var t;return(t=this.pageViewManager.dr)==null?void 0:t.pageViewId}captureTraceFeedback(t,a){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:a})}captureTraceMetric(t,a,o){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:a,$ai_metric_value:String(o)})}Bi(t){var a=Zr(t)&&!t,o=Ea.R()&&Ea.O("ph_debug")==="true";return!a&&(!!o||t)}}function L2(e){return e instanceof Element&&(e.id===J3||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function Tb(e){return!!e&&e.nodeType===1}function qi(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function E4(e){return!!e&&e.nodeType===3}function C4(e){return!!e&&e.nodeType===11}function GE(e){return e?yb(e).split(/\s+/):[]}function B2(e){var t=ge?.location.href;return!!(t&&e&&e.some((a=>t.match(a))))}function Rv(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return GE(t)}function P4(e){return Pt(e)?null:yb(e).split(/(\s+)/).filter((t=>Dp(t))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Xp(e){var t="";return R0(e)&&!A4(e)&&e.childNodes&&e.childNodes.length&&va(e.childNodes,(function(a){var o;E4(a)&&a.textContent&&(t+=(o=P4(a.textContent))!==null&&o!==void 0?o:"")})),yb(t)}function F2(e){return $e(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}ar.__defaultExtensionClasses={},ar.dn={trace:td=()=>{},debug:td,info:td,warn:td,error:td,fatal:td},(function(e,t){for(var a=0;t.length>a;a++)e.prototype[t[a]]=sce(e.prototype[t[a]])})(ar,["identify"]);var WE=["a","button","form","input","select","textarea","label"];function j2(e,t){if($e(t))return!0;var a,o=function(r){if(t.some((i=>r.matches(i))))return{v:!0}};for(var n of e)if(a=o(n))return a.v;return!1}function _4(e){var t=e.parentNode;return!(!t||!Tb(t))&&t}var Kce=["next","previous","prev",">","<"],z2=[".ph-no-rageclick",".ph-no-capture"],A0=e=>!e||qi(e,"html")||!Tb(e),q2=(e,t)=>{if(!ge||A0(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var a=!1,o=[e],n=e;n.parentNode&&!qi(n,"body");)if(C4(n.parentNode))o.push(n.parentNode.host),n=n.parentNode.host;else{var r=_4(n);if(!r)break;if(t||WE.indexOf(r.tagName.toLowerCase())>-1)a=!0;else{var i=ge.getComputedStyle(r);i&&i.getPropertyValue("cursor")==="pointer"&&(a=!0)}o.push(r),n=r}return{parentIsUsefulElement:a,targetElementList:o}};function R0(e){for(var t=e;t.parentNode&&!qi(t,"body");t=t.parentNode){var a=Rv(t);if(Et(a,"ph-sensitive")||Et(a,"ph-no-capture"))return!1}if(Et(Rv(e),"ph-include"))return!0;var o=e.type||"";if(Ca(o))switch(o.toLowerCase()){case"hidden":case"password":return!1}var n=e.name||e.id||"";return!Ca(n)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(n.replace(/[^a-zA-Z0-9]/g,""))}function A4(e){return!!(qi(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||qi(e,"select")||qi(e,"textarea")||e.getAttribute("contenteditable")==="true")}var R4="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",Yce=new RegExp("^(?:"+R4+")$"),Qce=new RegExp(R4),D4="\\d{3}-?\\d{2}-?\\d{4}",Zce=new RegExp("^("+D4+")$"),Jce=new RegExp("("+D4+")");function Dp(e,t){return t===void 0&&(t=!0),!(Pt(e)||Ca(e)&&(e=yb(e),(t?Yce:Qce).test((e||"").replace(/[- ]/g,""))||(t?Zce:Jce).test(e)))}function U2(e){var t=Xp(e);return Dp(t=(t+" "+O4(e)).trim())?t:""}function O4(e){var t="";return e&&e.childNodes&&e.childNodes.length&&va(e.childNodes,(function(a){var o;if(a&&((o=a.tagName)==null?void 0:o.toLowerCase())==="span")try{var n=Xp(a);t=(t+" "+n).trim(),a.childNodes&&a.childNodes.length&&(t=(t+" "+O4(a)).trim())}catch(r){Ue.error("[AutoCapture]",r)}})),t}function $2(e){return e.replace(/"|\\"/g,'\\"')}function Xce(e){var t=e.attr__class;return t?Bt(t)?t:GE(t):void 0}class V2{constructor(t){this.disabled=t===!1;var a=Ba(t)?t:{};this.thresholdPx=a.threshold_px||30,this.timeoutMs=a.timeout_ms||1e3,this.clickCount=a.click_count||3,this.clicks=[]}isRageClick(t,a,o){if(this.disabled)return!1;var n=this.clicks[this.clicks.length-1];if(n&&Math.abs(t-n.x)+Math.abs(a-n.y)<this.thresholdPx&&this.timeoutMs>o-n.timestamp){if(this.clicks.push({x:t,y:a,timestamp:o}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:a,timestamp:o}];return!1}}var mT="$copy_autocapture",H2=Ta("[AutoCapture]");function hT(e,t){return t.length>e?t.slice(0,e)+"...":t}function ede(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!Tb(t));return t}function tde(e,t){for(var a,o,{e:n,maskAllElementAttributes:r,maskAllText:i,elementAttributeIgnoreList:c,elementsChainAsString:d}=t,u=[e],m=e;m.parentNode&&!qi(m,"body");)C4(m.parentNode)?(u.push(m.parentNode.host),m=m.parentNode.host):(u.push(m.parentNode),m=m.parentNode);var h,f,v=[],b={},w=!1,x=!1;if(va(u,(_=>{var D=R0(_);_.tagName.toLowerCase()==="a"&&(w=_.getAttribute("href"),w=D&&w&&Dp(w)&&w),Et(Rv(_),"ph-no-capture")&&(x=!0),v.push((function(O,L,U,B){var z=O.tagName.toLowerCase(),F={tag_name:z};WE.indexOf(z)>-1&&!U&&(F.$el_text=z.toLowerCase()==="a"||z.toLowerCase()==="button"?hT(1024,U2(O)):hT(1024,Xp(O)));var W=Rv(O);W.length>0&&(F.classes=W.filter((function(J){return J!==""}))),va(O.attributes,(function(J){var se;if((!A4(O)||["name","id","class","aria-label"].indexOf(J.name)!==-1)&&(B==null||!B.includes(J.name))&&!L&&Dp(J.value)&&(!Ca(se=J.name)||se.substring(0,10)!=="_ngcontent"&&se.substring(0,7)!=="_nghost")){var Z=J.value;J.name==="class"&&(Z=GE(Z).join(" ")),F["attr__"+J.name]=hT(1024,Z)}}));for(var ae=1,H=1,K=O;K=ede(K);)ae++,K.tagName===O.tagName&&H++;return F.nth_child=ae,F.nth_of_type=H,F})(_,r,i,c));var R=(function(O){if(!R0(O))return{};var L={};return va(O.attributes,(function(U){if(U.name&&U.name.indexOf("data-ph-capture-attribute")===0){var B=U.name.replace("data-ph-capture-attribute-",""),z=U.value;B&&z&&Dp(z)&&(L[B]=z)}})),L})(_);Na(b,R)})),x)return{props:{},explicitNoCapture:x};if(i||(v[0].$el_text=e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?U2(e):Xp(e)),w){var T,k;v[0].attr__href=w;var C=(T=kv(w))==null?void 0:T.host,E=ge==null||(k=ge.location)==null?void 0:k.host;C&&E&&C!==E&&(h=w)}return{props:Na({$event_type:n.type,$ce_version:1},d?{}:{$elements:v},{$elements_chain:(f=v,(function(_){return _.map((D=>{var R,O,L="";if(D.tag_name&&(L+=D.tag_name),D.attr_class)for(var U of(D.attr_class.sort(),D.attr_class))L+="."+U.replace(/"/g,"");var B=Me({},D.text?{text:D.text}:{},{"nth-child":(R=D.nth_child)!==null&&R!==void 0?R:0,"nth-of-type":(O=D.nth_of_type)!==null&&O!==void 0?O:0},D.href?{href:D.href}:{},D.attr_id?{attr_id:D.attr_id}:{},D.attributes),z={};return _f(B).sort(((F,W)=>{var[ae]=F,[H]=W;return ae.localeCompare(H)})).forEach((F=>{var[W,ae]=F;return z[$2(W.toString())]=$2(ae.toString())})),(L+=":")+_f(z).map((F=>{var[W,ae]=F;return W+'="'+ae+'"'})).join("")})).join(";")})((function(_){return _.map((D=>{var R,O,L={text:(R=D.$el_text)==null?void 0:R.slice(0,400),tag_name:D.tag_name,href:(O=D.attr__href)==null?void 0:O.slice(0,2048),attr_class:Xce(D),attr_id:D.attr__id,nth_child:D.nth_child,nth_of_type:D.nth_of_type,attributes:{}};return _f(D).filter((U=>{var[B]=U;return B.indexOf("attr__")===0})).forEach((U=>{var[B,z]=U;return L.attributes[B]=z})),L}))})(f)))},(a=v[0])!=null&&a.$el_text?{$el_text:(o=v[0])==null?void 0:o.$el_text}:{},h&&n.type==="click"?{$external_click_url:h}:{},b)}}var lp=Ta("[ExceptionAutocapture]");function G2(e,t,a){try{if(!(t in e))return()=>{};var o=e[t],n=a(o);return Os(n)&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=n,()=>{e[t]=o}}catch{return()=>{}}}var ade=Ta("[TracingHeaders]"),wi=Ta("[Web Vitals]"),W2=9e5,K2="disabled",Y2="lazy_loading",cp="awaiting_config",nf="missing_config";Ta("[SessionRecording]"),Ta("[SessionRecording]");var D0="[SessionRecording]",Si=Ta(D0),ode=Ta("[Heatmaps]");function Q2(e){return Ba(e)&&"clientX"in e&&"clientY"in e&&ir(e.clientX)&&ir(e.clientY)}var Z2=Ta("[Product Tours]"),nde=["$set_once","$set"],Ti=Ta("[SiteApps]"),J2="Error while initializing PostHog app with config id ";function ad(e,t,a){if(Pt(e))return!1;switch(a){case"exact":return e===t;case"contains":var o=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(o,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class rde{constructor(t){this.vn=new HE,this.fn=(a,o)=>this.pn(a,o)&&this.gn(a,o)&&this.mn(a,o)&&this.yn(a,o),this.pn=(a,o)=>o==null||!o.event||a?.event===o?.event,this._instance=t,this.bn=new Set,this._n=new Set}init(){var t,a;$e((t=this._instance)==null?void 0:t._addCaptureHook)||(a=this._instance)==null||a._addCaptureHook(((o,n)=>{this.on(o,n)}))}register(t){var a,o;if(!$e((a=this._instance)==null?void 0:a._addCaptureHook)&&(t.forEach((i=>{var c,d;(c=this._n)==null||c.add(i),(d=i.steps)==null||d.forEach((u=>{var m;(m=this.bn)==null||m.add(u?.event||"")}))})),(o=this._instance)!=null&&o.autocapture)){var n,r=new Set;t.forEach((i=>{var c;(c=i.steps)==null||c.forEach((d=>{d!=null&&d.selector&&r.add(d?.selector)}))})),(n=this._instance)==null||n.autocapture.setElementSelectors(r)}}on(t,a){var o;a!=null&&t.length!=0&&(this.bn.has(t)||this.bn.has(a?.event))&&this._n&&((o=this._n)==null?void 0:o.size)>0&&this._n.forEach((n=>{this.wn(a,n)&&this.vn.emit("actionCaptured",n.name)}))}In(t){this.onAction("actionCaptured",(a=>t(a)))}wn(t,a){if(a?.steps==null)return!1;for(var o of a.steps)if(this.fn(t,o))return!0;return!1}onAction(t,a){return this.vn.on(t,a)}gn(t,a){if(a!=null&&a.url){var o,n=t==null||(o=t.properties)==null?void 0:o.$current_url;if(!n||typeof n!="string"||!ad(n,a.url,a.url_matching||"contains"))return!1}return!0}mn(t,a){return!!this.Cn(t,a)&&!!this.Sn(t,a)&&!!this.xn(t,a)}Cn(t,a){var o;if(a==null||!a.href)return!0;var n=this.kn(t);if(n.length>0)return n.some((c=>ad(c.href,a.href,a.href_matching||"exact")));var r,i=(t==null||(o=t.properties)==null?void 0:o.$elements_chain)||"";return!!i&&ad((r=i.match(/(?::|")href="(.*?)"/))?r[1]:"",a.href,a.href_matching||"exact")}Sn(t,a){var o;if(a==null||!a.text)return!0;var n=this.kn(t);if(n.length>0)return n.some((u=>ad(u.text,a.text,a.text_matching||"exact")||ad(u.$el_text,a.text,a.text_matching||"exact")));var r,i,c,d=(t==null||(o=t.properties)==null?void 0:o.$elements_chain)||"";return!!d&&(r=(function(u){for(var m,h=[],f=/(?::|")text="(.*?)"/g;!Pt(m=f.exec(u));)h.includes(m[1])||h.push(m[1]);return h})(d),i=a.text,c=a.text_matching||"exact",r.some((u=>ad(u,i,c))))}xn(t,a){var o,n;if(a==null||!a.selector)return!0;var r=t==null||(o=t.properties)==null?void 0:o.$element_selectors;if(r!=null&&r.includes(a.selector))return!0;var i=(t==null||(n=t.properties)==null?void 0:n.$elements_chain)||"";if(a.selector_regex&&i)try{return new RegExp(a.selector_regex).test(i)}catch{return!1}return!1}kn(t){var a;return(t==null||(a=t.properties)==null?void 0:a.$elements)==null?[]:t?.properties.$elements}yn(t,a){return a==null||!a.properties||a.properties.length===0||T4(a.properties.reduce(((o,n)=>{var r=Bt(n.value)?n.value.map(String):n.value!=null?[String(n.value)]:[];return o[n.key]={values:r,operator:n.operator||"exact"},o}),{}),t?.properties)}}class sde{constructor(t){this._instance=t,this.Tn=new Map,this.An=new Map,this.En=new Map}Rn(t,a){return!!t&&T4(t.propertyFilters,a?.properties)}Nn(t,a){var o=new Map;return t.forEach((n=>{var r;(r=n.conditions)==null||(r=r[a])==null||(r=r.values)==null||r.forEach((i=>{if(i!=null&&i.name){var c=o.get(i.name)||[];c.push(n.id),o.set(i.name,c)}}))})),o}Mn(t,a,o){var n=(o===op.Activation?this.Tn:this.An).get(t),r=[];return this.Fn((i=>{r=i.filter((c=>n?.includes(c.id)))})),r.filter((i=>{var c,d=(c=i.conditions)==null||(c=c[o])==null||(c=c.values)==null?void 0:c.find((u=>u.name===t));return this.Rn(d,a)}))}register(t){var a;$e((a=this._instance)==null?void 0:a._addCaptureHook)||(this.On(t),this.Pn(t))}Pn(t){var a=t.filter((o=>{var n,r;return((n=o.conditions)==null?void 0:n.actions)&&((r=o.conditions)==null||(r=r.actions)==null||(r=r.values)==null?void 0:r.length)>0}));a.length!==0&&(this.Ln==null&&(this.Ln=new rde(this._instance),this.Ln.init(),this.Ln.In((o=>{this.onAction(o)}))),a.forEach((o=>{var n,r,i,c,d;o.conditions&&(n=o.conditions)!=null&&n.actions&&(r=o.conditions)!=null&&(r=r.actions)!=null&&r.values&&((i=o.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0&&((c=this.Ln)==null||c.register(o.conditions.actions.values),(d=o.conditions)==null||(d=d.actions)==null||(d=d.values)==null||d.forEach((u=>{if(u&&u.name){var m=this.En.get(u.name);m&&m.push(o.id),this.En.set(u.name,m||[o.id])}})))})))}On(t){var a,o=t.filter((r=>{var i,c;return((i=r.conditions)==null?void 0:i.events)&&((c=r.conditions)==null||(c=c.events)==null||(c=c.values)==null?void 0:c.length)>0})),n=t.filter((r=>{var i,c;return((i=r.conditions)==null?void 0:i.cancelEvents)&&((c=r.conditions)==null||(c=c.cancelEvents)==null||(c=c.values)==null?void 0:c.length)>0}));o.length===0&&n.length===0||((a=this._instance)==null||a._addCaptureHook(((r,i)=>{this.onEvent(r,i)})),this.Tn=this.Nn(t,op.Activation),this.An=this.Nn(t,op.Cancellation))}onEvent(t,a){var o,n=this.le(),r=this.Dn(),i=this.Bn(),c=((o=this._instance)==null||(o=o.persistence)==null?void 0:o.props[r])||[];if(i===t&&a&&c.length>0){var d,u;n.info("event matched, removing item from activated items",{event:t,eventPayload:a,existingActivatedItems:c});var m=(a==null||(d=a.properties)==null?void 0:d.$survey_id)||(a==null||(u=a.properties)==null?void 0:u.$product_tour_id);if(m){var h=c.indexOf(m);0>h||(c.splice(h,1),this.jn(c))}}else{if(this.An.has(t)){var f=this.Mn(t,a,op.Cancellation);f.length>0&&(n.info("cancel event matched, cancelling items",{event:t,itemsToCancel:f.map((b=>b.id))}),f.forEach((b=>{var w=c.indexOf(b.id);0>w||c.splice(w,1),this.$n(b.id)})),this.jn(c))}if(this.Tn.has(t)){n.info("event name matched",{event:t,eventPayload:a,items:this.Tn.get(t)});var v=this.Mn(t,a,op.Activation);this.jn(c.concat(v.map((b=>b.id))||[]))}}}onAction(t){var a,o=this.Dn(),n=((a=this._instance)==null||(a=a.persistence)==null?void 0:a.props[o])||[];this.En.has(t)&&this.jn(n.concat(this.En.get(t)||[]))}jn(t){var a=this.le(),o=[...new Set(t)].filter((n=>!this.qn(n)));a.info("updating activated items",{activatedItems:o}),this.Zn(o)}getActivatedIds(){var t,a=this.Dn();return((t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[a])||[]}getEventToItemsMap(){return this.Tn}Vn(){return this.Ln}}class ide extends sde{constructor(t){super(t)}Dn(){return m0}Bn(){return kp.SHOWN}Fn(t){var a;(a=this._instance)==null||a.getSurveys(t)}$n(t){var a;(a=this._instance)==null||a.cancelPendingSurvey(t)}le(){return na}Zn(t){var a;(a=this._instance)==null||(a=a.persistence)==null||a.register({[m0]:t})}qn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var gT="SDK is not enabled or survey functionality is not yet loaded",X2="Disabled. Not loading surveys.",lde=ge!=null&&ge.location?Cv(ge.location.hash,"__posthog")||Cv(location.hash,"state"):null,eN="_postHogToolbarParams",tN=Ta("[Toolbar]"),Yo=Ta("[FeatureFlags]"),Cl=Ta("[FeatureFlags]",{debugEnabled:!0}),fT=`" failed. Feature flags didn't load in time.`,aN=e=>{for(var t={},a=0;e.length>a;a++)t[e[a]]=!0;return t},oN=e=>{var t={};for(var[a,o]of _f(e||{}))o&&(t[a]=o);return t},Rs=Ta("[Error tracking]"),nN="Refusing to render web experiment since the viewer is a likely bot",cde={icontains:(e,t)=>!!ge&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!ge&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!ge&&Av(t.href,e),not_regex:(e,t)=>!!ge&&!Av(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class Bo{get Bt(){return this._instance.config}constructor(t){var a=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(o){o===void 0&&(o=!1),a.getWebExperiments((n=>{Bo.Hn("retrieved web experiments from the server"),a.zn=new Map,n.forEach((r=>{if(r.feature_flag_key){var i;a.zn&&(Bo.Hn("setting flag key ",r.feature_flag_key," to web experiment ",r),(i=a.zn)==null||i.set(r.feature_flag_key,r));var c=a._instance.getFeatureFlag(r.feature_flag_key);Ca(c)&&r.variants[c]&&a.Un(r.name,c,r.variants[c].transforms)}else if(r.variants)for(var d in r.variants){var u=r.variants[d];Bo.Yn(u)&&a.Un(r.name,d,u.transforms)}}))}),o)},this._instance=t,this._instance.onFeatureFlags((o=>{this.onFeatureFlags(o)}))}initialize(){}onFeatureFlags(t){if(this._is_bot())Bo.Hn(nN);else if(!this.Bt.disable_web_experiments){if(Pt(this.zn))return this.zn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();Bo.Hn("applying feature flags",t),t.forEach((a=>{var o;if(this.zn&&(o=this.zn)!=null&&o.has(a)){var n,r=this._instance.getFeatureFlag(a),i=(n=this.zn)==null?void 0:n.get(a);r&&i!=null&&i.variants[r]&&this.Un(i.name,r,i.variants[r].transforms)}}))}}previewWebExperiment(){var t=Bo.getWindowLocation();if(t!=null&&t.search){var a=Ev(t?.search,"__experiment_id"),o=Ev(t?.search,"__experiment_variant");a&&o&&(Bo.Hn("previewing web experiments "+a+" && "+o),this.getWebExperiments((n=>{this.Gn(parseInt(a),o,n)}),!1,!0))}}loadIfEnabled(){this.Bt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,a,o){if(this.Bt.disable_web_experiments&&!o)return t([]);var n=this._instance.get_property("$web_experiments");if(n&&!a)return t(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Bt.token),method:"GET",callback:r=>t(r.statusCode===200&&r.json&&r.json.experiments||[])})}Gn(t,a,o){var n=o.filter((r=>r.id===t));n&&n.length>0&&(Bo.Hn("Previewing web experiment ["+n[0].name+"] with variant ["+a+"]"),this.Un(n[0].name,a,n[0].variants[a].transforms))}static Yn(t){return!Pt(t.conditions)&&Bo.Wn(t)&&Bo.Xn(t)}static Wn(t){var a;if(Pt(t.conditions)||Pt((a=t.conditions)==null?void 0:a.url))return!0;var o,n,r,i=Bo.getWindowLocation();return!!i&&((o=t.conditions)==null||!o.url||cde[(n=(r=t.conditions)==null?void 0:r.urlMatchType)!==null&&n!==void 0?n:"icontains"](t.conditions.url,i))}static getWindowLocation(){return ge?.location}static Xn(t){var a;if(Pt(t.conditions)||Pt((a=t.conditions)==null?void 0:a.utm))return!0;var o=s4();if(o.utm_source){var n,r,i,c,d,u,m,h,f=(n=t.conditions)==null||(n=n.utm)==null||!n.utm_campaign||((r=t.conditions)==null||(r=r.utm)==null?void 0:r.utm_campaign)==o.utm_campaign,v=(i=t.conditions)==null||(i=i.utm)==null||!i.utm_source||((c=t.conditions)==null||(c=c.utm)==null?void 0:c.utm_source)==o.utm_source,b=(d=t.conditions)==null||(d=d.utm)==null||!d.utm_medium||((u=t.conditions)==null||(u=u.utm)==null?void 0:u.utm_medium)==o.utm_medium,w=(m=t.conditions)==null||(m=m.utm)==null||!m.utm_term||((h=t.conditions)==null||(h=h.utm)==null?void 0:h.utm_term)==o.utm_term;return f&&b&&w&&v}return!1}static Hn(t){for(var a=arguments.length,o=new Array(a>1?a-1:0),n=1;a>n;n++)o[n-1]=arguments[n];Ue.info("[WebExperiments] "+t,o)}Un(t,a,o){this._is_bot()?Bo.Hn(nN):a!=="control"?o.forEach((n=>{if(n.selector){var r;Bo.Hn("applying transform of variant "+a+" for experiment "+t+" ",n);var i=(r=document)==null?void 0:r.querySelectorAll(n.selector);i?.forEach((c=>{var d=c;n.html&&(d.innerHTML=n.html),n.css&&d.setAttribute("style",n.css)}))}})):Bo.Hn("Control variants leave the page unmodified.")}_is_bot(){return In&&this._instance?w4(In,this.Bt.custom_blocked_useragents):void 0}}var Zn=Ta("[Conversations]"),Pl="Conversations not available yet.",xb={featureFlags:class{constructor(e){this.Jn=!1,this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.ns=!1,this.ss=!1,this._instance=e,this.featureFlagEventHandlers=[]}get Bt(){return this._instance.config}get ni(){return this._instance.persistence}os(e){return this._instance.get_property(e)}ls(){var e,t;return(e=(t=this.ni)==null?void 0:t.wr(this.Bt.feature_flag_cache_ttl_ms))!==null&&e!==void 0&&e}us(){return!!this.ls()&&(this.ss||this.Qn||(this.ss=!0,Yo.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}hs(){var e,t=(e=this.Bt.evaluation_contexts)!==null&&e!==void 0?e:this.Bt.evaluation_environments;return!this.Bt.evaluation_environments||this.Bt.evaluation_contexts||this.ns||(Yo.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.ns=!0),t!=null&&t.length?t.filter((a=>{var o=a&&typeof a=="string"&&a.trim().length>0;return o||Yo.error("Invalid evaluation context found:",a,"Expected non-empty string"),o})):[]}cs(){return this.hs().length>0}initialize(){var e,t,{config:a}=this._instance,o=(e=(t=a.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(o).length){var n,r,i=(n=(r=a.bootstrap)==null?void 0:r.featureFlagPayloads)!==null&&n!==void 0?n:{},c=Object.keys(o).filter((u=>!!o[u])).reduce(((u,m)=>(u[m]=o[m]||!1,u)),{}),d=Object.keys(i).filter((u=>c[u])).reduce(((u,m)=>(i[m]&&(u[m]=i[m]),u)),{});this.receivedFeatureFlags({featureFlags:c,featureFlagPayloads:d})}}updateFlags(e,t,a){var o=a!=null&&a.merge?this.getFlagVariants():{},n=a!=null&&a.merge?this.getFlagPayloads():{},r=Me({},o,e),i=Me({},n,t),c={};for(var[d,u]of Object.entries(r)){var m=typeof u=="string";c[d]={key:d,enabled:!!m||!!u,variant:m?u:void 0,reason:void 0,metadata:$e(i?.[d])?void 0:{id:0,version:void 0,description:void 0,payload:i[d]}}}this.receivedFeatureFlags({flags:c})}get hasLoadedFlags(){return this.Kn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.os(c0),t=this.os(Ds),a=this.os(dd);if(!a&&!t)return e||{};var o=Na({},e||{}),n=[...new Set([...Object.keys(a||{}),...Object.keys(t||{})])];for(var r of n){var i,c,d=o[r],u=t?.[r],m=$e(u)?(i=d?.enabled)!==null&&i!==void 0&&i:!!u,h=$e(u)?d.variant:typeof u=="string"?u:void 0,f=a?.[r],v=Me({},d,{enabled:m,variant:m?h??d?.variant:void 0});m!==d?.enabled&&(v.original_enabled=d?.enabled),h!==d?.variant&&(v.original_variant=d?.variant),f&&(v.metadata=Me({},d?.metadata,{payload:f,original_payload:d==null||(c=d.metadata)==null?void 0:c.payload})),o[r]=v}return this.Jn||(Yo.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:a,finalDetails:o}),this.Jn=!0),o}getFlagVariants(){var e=this.os(bd),t=this.os(Ds);if(!t)return e||{};for(var a=Na({},e),o=Object.keys(t),n=0;o.length>n;n++)a[o[n]]=t[o[n]];return this.Jn||(Yo.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:a}),this.Jn=!0),a}getFlagPayloads(){var e=this.os(d0),t=this.os(dd);if(!t)return e||{};for(var a=Na({},e||{}),o=Object.keys(t),n=0;o.length>n;n++)a[o[n]]=t[o[n]];return this.Jn||(Yo.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:a}),this.Jn=!0),a}reloadFeatureFlags(){this.es||this.Bt.advanced_disable_feature_flags||this.ds||(this._instance.Fi.emit("featureFlagsReloading",!0),this.ds=setTimeout((()=>{this.vs()}),5))}fs(){clearTimeout(this.ds),this.ds=void 0}ensureFlagsLoaded(){this.Kn||this.Qn||this.ds||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.es=e}vs(e){var t;if(this.fs(),!this._instance.Fr())if(this.Qn)this.ts=!0;else{var a=this.Bt.token,o=this.os(fv),n={token:a,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:Me({},((t=this.ni)==null?void 0:t.get_initial_props())||{},this.os(xp)||{}),group_properties:this.os(Rl),timezone:p4()};Us(o)||$e(o)||(n.$device_id=o),(e!=null&&e.disableFlags||this.Bt.advanced_disable_feature_flags)&&(n.disable_flags=!0),this.cs()&&(n.evaluation_contexts=this.hs());var r=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.Bt.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.Qn=!0,this._instance._send_request({method:"POST",url:r,data:n,compression:this.Bt.disable_compression?void 0:Vr.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback:i=>{var c,d,u,m=!0;if(i.statusCode===200&&(this.ts||(this.$anon_distinct_id=void 0),m=!1),this.Qn=!1,!n.disable_flags||this.ts){this.rs=!m;var h=[];i.error?i.error instanceof Error?h.push(i.error.name==="AbortError"?"timeout":"connection_error"):h.push("unknown_error"):i.statusCode!==200&&h.push("api_error_"+i.statusCode),(c=i.json)!=null&&c.errorsWhileComputingFlags&&h.push("errors_while_computing_flags");var f,v=!((d=i.json)==null||(d=d.quotaLimited)==null||!d.includes("feature_flags"));v&&h.push("quota_limited"),(u=this.ni)==null||u.register({[g0]:h}),v?Yo.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(n.disable_flags||this.receivedFeatureFlags((f=i.json)!==null&&f!==void 0?f:{},m,{partialResponse:!!this.Bt.advanced_only_evaluate_survey_feature_flags}),this.ts&&(this.ts=!1,this.vs()))}}})}}getFeatureFlag(e,t){var a;if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var o=this.getFeatureFlagResult(e,t);return(a=o?.variant)!==null&&a!==void 0?a:o?.enabled}}else Yo.warn('getFeatureFlag for key "'+e+fT)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return t?.payload}getFeatureFlagResult(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var a=this.getFlagVariants(),o=e in a,n=a[e],r=this.getFlagPayloads()[e],i=String(n),c=this.os(u0)||void 0,d=this.os(bv)||void 0,u=this.os(_p)||{};if(this.Bt.advanced_feature_flags_dedup_per_session){var m,h=this._instance.get_session_id(),f=this.os(h0);h&&h!==f&&(u={},(m=this.ni)==null||m.register({[_p]:u,[h0]:h}))}if((t.send_event||!("send_event"in t))&&(!(e in u)||!u[e].includes(i))){var v,b,w,x,T,k,C,E,_,D;Bt(u[e])?u[e].push(i):u[e]=[i],(v=this.ni)==null||v.register({[_p]:u});var R=this.getFeatureFlagDetails(e),O=[...(b=this.os(g0))!==null&&b!==void 0?b:[]];$e(n)&&O.push("flag_missing");var L={$feature_flag:e,$feature_flag_response:n,$feature_flag_payload:r||null,$feature_flag_request_id:c,$feature_flag_evaluated_at:d,$feature_flag_bootstrapped_response:((w=this.Bt.bootstrap)==null||(w=w.featureFlags)==null?void 0:w[e])||null,$feature_flag_bootstrapped_payload:((x=this.Bt.bootstrap)==null||(x=x.featureFlagPayloads)==null?void 0:x[e])||null,$used_bootstrap_value:!this.rs};$e(R==null||(T=R.metadata)==null?void 0:T.version)||(L.$feature_flag_version=R.metadata.version);var U,B=(k=R==null||(C=R.reason)==null?void 0:C.description)!==null&&k!==void 0?k:R==null||(E=R.reason)==null?void 0:E.code;B&&(L.$feature_flag_reason=B),R!=null&&(_=R.metadata)!=null&&_.id&&(L.$feature_flag_id=R.metadata.id),$e(R?.original_variant)&&$e(R?.original_enabled)||(L.$feature_flag_original_response=$e(R.original_variant)?R.original_enabled:R.original_variant),R!=null&&(D=R.metadata)!=null&&D.original_payload&&(L.$feature_flag_original_payload=R==null||(U=R.metadata)==null?void 0:U.original_payload),O.length&&(L.$feature_flag_error=O.join(",")),this._instance.capture("$feature_flag_called",L)}if(o){var z=r;if(!$e(r))try{z=JSON.parse(r)}catch{}return{key:e,enabled:!!n,variant:typeof n=="string"?n:void 0,payload:z}}}}else Yo.warn('getFeatureFlagResult for key "'+e+fT)}getRemoteConfigPayload(e,t){var a=this.Bt.token,o={distinct_id:this._instance.get_distinct_id(),token:a};this.cs()&&(o.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:o,compression:this.Bt.disable_compression?void 0:Vr.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback(n){var r,i=(r=n.json)==null?void 0:r.featureFlagPayloads;t(i?.[e]||void 0)}})}isFeatureEnabled(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs){if(this.Kn||this.getFlags()&&this.getFlags().length>0){var a=this.getFeatureFlag(e,t);return $e(a)?void 0:!!a}Yo.warn('isFeatureEnabled for key "'+e+fT)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((t=>t!==e))}receivedFeatureFlags(e,t,a){if(this.ni){this.Kn=!0;var o=this.getFlagVariants(),n=this.getFlagPayloads(),r=this.getFlagsWithDetails();(function(i,c,d,u,m,h){d===void 0&&(d={}),u===void 0&&(u={}),m===void 0&&(m={});var f=(O=>{var L=O.flags;return L?(O.featureFlags=Object.fromEntries(Object.keys(L).map((U=>{var B;return[U,(B=L[U].variant)!==null&&B!==void 0?B:L[U].enabled]}))),O.featureFlagPayloads=Object.fromEntries(Object.keys(L).filter((U=>L[U].enabled)).filter((U=>{var B;return(B=L[U].metadata)==null?void 0:B.payload})).map((U=>{var B;return[U,(B=L[U].metadata)==null?void 0:B.payload]})))):Yo.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),O})(i),v=f.flags,b=f.featureFlags,w=f.featureFlagPayloads;if(b){var x=i.requestId,T=i.evaluatedAt;if(Bt(b)){Yo.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var k={};if(b)for(var C=0;b.length>C;C++)k[b[C]]=!0;c&&c.register({[Cf]:b,[bd]:k})}else{var E=b,_=w,D=v;if(h!=null&&h.partialResponse)E=Me({},d,E),_=Me({},u,_),D=Me({},m,D);else if(i.errorsWhileComputingFlags)if(v){var R=new Set(Object.keys(v).filter((O=>{var L;return!((L=v[O])!=null&&L.failed)})));E=Me({},d,Object.fromEntries(Object.entries(E).filter((O=>{var[L]=O;return R.has(L)})))),_=Me({},u,Object.fromEntries(Object.entries(_||{}).filter((O=>{var[L]=O;return R.has(L)})))),D=Me({},m,Object.fromEntries(Object.entries(D||{}).filter((O=>{var[L]=O;return R.has(L)}))))}else E=Me({},d,E),_=Me({},u,_),D=Me({},m,D);c&&c.register(Me({[Cf]:Object.keys(oN(E)),[bd]:E||{},[d0]:_||{},[c0]:D||{}},x?{[u0]:x}:{},T?{[bv]:T}:{}))}}})(e,this.ni,o,n,r,a),t||(this.ss=!1),this.ps(t)}}override(e,t){t===void 0&&(t=!1),Yo.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ni)return Yo.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this.ni.unregister(Ds),this.ni.unregister(dd),this.ps(),Cl.info("All overrides cleared");if(Bt(e)){var t=aN(e);return this.ni.register({[Ds]:t}),this.ps(),Cl.info("Flag overrides set",{flags:e})}if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var a,o=e;if(this.Jn=!!((a=o.suppressWarning)!==null&&a!==void 0&&a),"flags"in o){if(o.flags===!1)this.ni.unregister(Ds),Cl.info("Flag overrides cleared");else if(o.flags){if(Bt(o.flags)){var n=aN(o.flags);this.ni.register({[Ds]:n})}else this.ni.register({[Ds]:o.flags});Cl.info("Flag overrides set",{flags:o.flags})}}return"payloads"in o&&(o.payloads===!1?(this.ni.unregister(dd),Cl.info("Payload overrides cleared")):o.payloads&&(this.ni.register({[dd]:o.payloads}),Cl.info("Payload overrides set",{payloads:o.payloads}))),void this.ps()}if(e&&typeof e=="object")return this.ni.register({[Ds]:e}),this.ps(),Cl.info("Flag overrides set",{flags:e});Yo.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Kn){var{flags:t,flagVariants:a}=this.gs();e(t,a)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,a){var o,n=(this.os(Tp)||[]).find((d=>d.flagKey===e)),r={["$feature_enrollment/"+e]:t},i={$feature_flag:e,$feature_enrollment:t,$set:r};n&&(i.$early_access_feature_name=n.name),a&&(i.$feature_enrollment_stage=a),this._instance.capture("$feature_enrollment_update",i),this.setPersonPropertiesForFlags(r,!1);var c=Me({},this.getFlagVariants(),{[e]:t});(o=this.ni)==null||o.register({[Cf]:Object.keys(oN(c)),[bd]:c}),this.ps()}getEarlyAccessFeatures(e,t,a){t===void 0&&(t=!1);var o=this.os(Tp),n=a?"&"+a.map((r=>"stage="+r)).join("&"):"";if(o&&!t)return e(o);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Bt.token+n),method:"GET",callback:r=>{var i,c;if(r.json){var d=r.json.earlyAccessFeatures;return(i=this.ni)==null||i.unregister(Tp),(c=this.ni)==null||c.register({[Tp]:d}),e(d)}}})}gs(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter((a=>t[a])),flagVariants:Object.keys(t).filter((a=>t[a])).reduce(((a,o)=>(a[o]=t[o],a)),{})}}ps(e){var{flags:t,flagVariants:a}=this.gs();this.featureFlagEventHandlers.forEach((o=>o(t,a,{errorsLoading:e})))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var a=this.os(xp)||{},o=e?.$set||(e!=null&&e.$set_once?{}:e),n=e?.$set_once,r={};if(n)for(var i in n)({}).hasOwnProperty.call(n,i)&&(i in a||(r[i]=n[i]));this._instance.register({[xp]:Me({},a,r,o)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(xp)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var a=this.os(Rl)||{};Object.keys(a).length!==0&&Object.keys(a).forEach((o=>{a[o]=Me({},a[o],e[o]),delete e[o]})),this._instance.register({[Rl]:Me({},a,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.os(Rl)||{};this._instance.register({[Rl]:Me({},t,{[e]:{}})})}else this._instance.unregister(Rl)}reset(){this.Kn=!1,this.Qn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.$anon_distinct_id=void 0,this.fs(),this.Jn=!1}}},dde={sessionRecording:class{get Bt(){return this._instance.config}get ni(){return this._instance.persistence}get started(){var e;return!((e=this.ys)==null||!e.isStarted)}get status(){var e,t;return this.bs===cp||this.bs===nf?this.bs:(e=(t=this.ys)==null?void 0:t.status)!==null&&e!==void 0?e:this.bs}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.bs=K2,this._s=void 0,this._instance=e,!this._instance.sessionManager)throw Si.error("started without valid sessionManager"),new Error(D0+" started without valid sessionManager. This is a bug.");if(this.Bt.cookieless_mode===Ns)throw new Error(D0+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var e,t=!((e=this._instance.get_property(Sp))==null||!e.enabled),a=!this.Bt.disable_session_recording,o=this.Bt.disable_session_recording||this._instance.consent.isOptedOut();return ge&&t&&a&&!o}startIfEnabledOrStop(e){var t;if(!this.ws||(t=this.ys)==null||!t.isStarted){var a=!$e(Object.assign)&&!$e(Array.from);this.ws&&a?(this.Is(e),Si.info("starting")):(this.bs=K2,this.stopRecording())}}Is(e){var t,a,o;this.ws&&(this.bs!==cp&&this.bs!==nf&&(this.bs=Y2),at!=null&&(t=at.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(a=at.__PosthogExtensions__)!=null&&a.initSessionRecording?this.Cs(e):(o=at.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,this.Ss,(n=>{if(n)return Si.error("could not load recorder",n);this.Cs(e)})))}stopRecording(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.stop()}xs(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.discard()}ks(){var e;(e=this.ni)==null||e.unregister(zE)}Ts(e,t){if(Pt(e))return null;var a,o=ir(e)?e:parseFloat(e);return typeof(a=o)!="number"||!Number.isFinite(a)||0>a||a>1?(Si.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):o}As(e){if(this.ni){var t,a,o=this.ni,n=()=>{var r,i=e.sessionRecording===!1?void 0:e.sessionRecording,c=this.Ts((r=this.Bt.session_recording)==null?void 0:r.sampleRate,"session_recording.sampleRate"),d=this.Ts(i?.sampleRate,"remote config sampleRate"),u=c??d;Pt(u)&&this.ks();var m=i?.minimumDurationMilliseconds;o.register({[Sp]:Me({cache_timestamp:Date.now(),enabled:!!i},i,{networkPayloadCapture:Me({capturePerformance:e.capturePerformance},i?.networkPayloadCapture),canvasRecording:{enabled:i?.recordCanvas,fps:i?.canvasFps,quality:i?.canvasQuality},sampleRate:u,minimumDurationMilliseconds:$e(m)?null:m,endpoint:i?.endpoint,triggerMatchType:i?.triggerMatchType,masking:i?.masking,urlTriggers:i?.urlTriggers,version:i?.version,triggerGroups:i?.triggerGroups})})};n(),(t=this._s)==null||t.call(this),this._s=(a=this._instance.sessionManager)==null?void 0:a.onSessionId(n)}}onRemoteConfig(e){return"sessionRecording"in e?e.sessionRecording===!1?(this.As(e),void this.xs()):(this.As(e),void this.startIfEnabledOrStop()):(this.bs===cp&&(this.bs=nf,Si.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var a;t===void 0&&(t="log"),(a=this.ys)!=null&&a.log?this.ys.log(e,t):Si.warn("log called before recorder was ready")}get Ss(){var e,t,a=(e=this._instance)==null||(e=e.persistence)==null?void 0:e.get_property(Sp);return(a==null||(t=a.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}Es(){var e,t=this._instance.get_property(Sp);if(!t)return!1;var a=(e=(typeof t=="object"?t:JSON.parse(t)).cache_timestamp)!==null&&e!==void 0?e:Date.now();return 36e5>=Date.now()-a}Cs(e){var t,a;if((t=at.__PosthogExtensions__)==null||!t.initSessionRecording)return Si.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[t4]:!0});if(this.ys||(this.ys=(a=at.__PosthogExtensions__)==null?void 0:a.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Es())return this.bs===nf||this.bs===cp?void 0:(this.bs=cp,Si.info("persisted remote config is stale, requesting fresh config before starting"),void new m4(this._instance).load());this.bs=Y2,this.ys.start(e)}onRRwebEmit(e){var t;(t=this.ys)==null||t.onRRwebEmit==null||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.ys||(t=this.ni)==null||t.register({[Y3]:!0}),(e=this.ys)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.ys||(t=this.ni)==null||t.register({[K3]:!0}),(e=this.ys)==null||e.overrideSampling()}overrideTrigger(e){var t,a;this.ys||(a=this.ni)==null||a.register({[e==="url"?Q3:Z3]:!0}),(t=this.ys)==null||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return((e=this.ys)==null?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var a;return!((a=this.ys)==null||!a.tryAddCustomEvent(e,t))}}},ude={autocapture:class{constructor(e){this.Rs=!1,this.Ns=null,this.Ms=!1,this.instance=e,this.rageclicks=new V2(e.config.rageclick),this.Fs=null}initialize(){this.startIfEnabled()}get Bt(){var e,t,a=Ba(this.instance.config.autocapture)?this.instance.config.autocapture:{};return a.url_allowlist=(e=a.url_allowlist)==null?void 0:e.map((o=>new RegExp(o))),a.url_ignorelist=(t=a.url_ignorelist)==null?void 0:t.map((o=>new RegExp(o))),a}Os(){if(this.isBrowserSupported()){if(ge&&ze){var e=a=>{a=a||ge?.event;try{this.Ps(a)}catch(o){H2.error("Failed to capture event",o)}};if(Za(ze,"submit",e,{capture:!0}),Za(ze,"change",e,{capture:!0}),Za(ze,"click",e,{capture:!0}),this.Bt.capture_copied_text){var t=a=>{this.Ps(a=a||ge?.event,mT)};Za(ze,"copy",t,{capture:!0}),Za(ze,"cut",t,{capture:!0})}}}else H2.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Rs&&(this.Os(),this.Rs=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.Ms=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[t0]:!!e.autocapture_opt_out}),this.Ns=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Fs=e}getElementSelectors(e){var t,a=[];return(t=this.Fs)==null||t.forEach((o=>{var n=ze?.querySelectorAll(o);n?.forEach((r=>{e===r&&a.push(o)}))})),a}get isEnabled(){var e,t,a=(e=this.instance.persistence)==null?void 0:e.props[t0];if(Us(this.Ns)&&!Zr(a)&&!this.instance.Fr())return!1;var o=(t=this.Ns)!==null&&t!==void 0?t:!!a;return!!this.instance.config.autocapture&&!o}Ps(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var a,o=F2(e);E4(o)&&(o=o.parentNode||null),t==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(a=this.rageclicks)!=null&&a.isRageClick(e.clientX,e.clientY,e.timeStamp||new Date().getTime())&&(function(h,f){if(!ge||A0(h))return!1;var v,b,w;if(Zr(f)?(v=!!f&&z2,b=void 0):(v=(w=f?.css_selector_ignorelist)!==null&&w!==void 0?w:z2,b=f?.content_ignorelist),v===!1)return!1;var{targetElementList:x}=q2(h,!1);return!(function(T,k){if(T===!1||$e(T))return!1;var C;if(T===!0)C=Kce;else{if(!Bt(T))return!1;if(T.length>10)return Ue.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;C=T.map((E=>E.toLowerCase()))}return k.some((E=>{var{safeText:_,ariaLabel:D}=E;return C.some((R=>_.includes(R)||D.includes(R)))}))})(b,x.map((T=>{var k;return{safeText:Xp(T).toLowerCase(),ariaLabel:((k=T.getAttribute("aria-label"))==null?void 0:k.toLowerCase().trim())||""}})))&&!j2(x,v)})(o,this.instance.config.rageclick)&&this.Ps(e,"$rageclick");var n=t===mT;if(o&&(function(h,f,v,b,w){var x,T,k,C;if(v===void 0&&(v=void 0),!ge||A0(h)||(x=v)!=null&&x.url_allowlist&&!B2(v.url_allowlist)||(T=v)!=null&&T.url_ignorelist&&B2(v.url_ignorelist))return!1;if((k=v)!=null&&k.dom_event_allowlist){var E=v.dom_event_allowlist;if(E&&!E.some((L=>f.type===L)))return!1}var{parentIsUsefulElement:_,targetElementList:D}=q2(h,b);if(!(function(L,U){var B=U?.element_allowlist;if($e(B))return!0;var z,F=function(ae){if(B.some((H=>ae.tagName.toLowerCase()===H)))return{v:!0}};for(var W of L)if(z=F(W))return z.v;return!1})(D,v)||!j2(D,(C=v)==null?void 0:C.css_selector_allowlist))return!1;var R=ge.getComputedStyle(h);if(R&&R.getPropertyValue("cursor")==="pointer"&&f.type==="click")return!0;var O=h.tagName.toLowerCase();switch(O){case"html":return!1;case"form":return(w||["submit"]).indexOf(f.type)>=0;case"input":case"select":case"textarea":return(w||["change","click"]).indexOf(f.type)>=0;default:return _?(w||["click"]).indexOf(f.type)>=0:(w||["click"]).indexOf(f.type)>=0&&(WE.indexOf(O)>-1||h.getAttribute("contenteditable")==="true")}})(o,e,this.Bt,n,n?["copy","cut"]:void 0)){var{props:r,explicitNoCapture:i}=tde(o,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.Bt.element_attribute_ignorelist,elementsChainAsString:this.Ms});if(i)return!1;var c=this.getElementSelectors(o);if(c&&c.length>0&&(r.$element_selectors=c),t===mT){var d,u=P4(ge==null||(d=ge.getSelection())==null?void 0:d.toString()),m=e.type||"clipboard";if(!u)return!1;r.$selected_content=u,r.$copy_type=m}return this.instance.capture(t,r),!0}}}isBrowserSupported(){return Os(ze?.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.Ls=(ge==null||(t=ge.location)==null?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(Ue.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.Ds&&this.Ds(),this.Ds=void 0,Ue.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(ge&&ge.history){var a=this;(e=ge.history.pushState)!=null&&e.__posthog_wrapped__||G2(ge.history,"pushState",(o=>function(n,r,i){o.call(this,n,r,i),a.Bs("pushState")})),(t=ge.history.replaceState)!=null&&t.__posthog_wrapped__||G2(ge.history,"replaceState",(o=>function(n,r,i){o.call(this,n,r,i),a.Bs("replaceState")})),this.js()}}Bs(e){try{var t,a=ge==null||(t=ge.location)==null?void 0:t.pathname;if(!a)return;a!==this.Ls&&this.isEnabled&&this._instance.capture(ud,{navigation_type:e}),this.Ls=a}catch(o){Ue.error("Error capturing "+e+" pageview",o)}}js(){if(!this.Ds){var e=()=>{this.Bs("popstate")};Za(ge,"popstate",e),this.Ds=()=>{ge&&ge.removeEventListener("popstate",e)}}}},heatmaps:class{get Bt(){return this.instance.config}constructor(e){var t;this.$s=!1,this.Rs=!1,this.qs=null,this.instance=e,this.$s=!((t=this.instance.persistence)==null||!t.props[a0]),this.rageclicks=new V2(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Ba(this.Bt.capture_heatmaps)&&this.Bt.capture_heatmaps.flush_interval_milliseconds&&(e=this.Bt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return Pt(this.Bt.capture_heatmaps)?Pt(this.Bt.enable_heatmaps)?this.$s:this.Bt.enable_heatmaps:this.Bt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Rs)return;ode.info("starting..."),this.Zs(),this.Ft()}else{var e;clearInterval((e=this.qs)!==null&&e!==void 0?e:void 0),this.Vs(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[a0]:t}),this.$s=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.T;return this.T=void 0,e}Hs(e){this.Tt(e.originalEvent,"deadclick")}Ft(){this.qs&&clearInterval(this.qs),this.qs=ze?.visibilityState==="visible"?setInterval(this.Yr.bind(this),this.flushIntervalMilliseconds):null}Zs(){ge&&ze&&(this.zs=this.Yr.bind(this),Za(ge,Tv,this.zs),this.Us=e=>this.Tt(e||ge?.event),Za(ze,"click",this.Us,{capture:!0}),this.Ys=e=>this.Gs(e||ge?.event),Za(ze,"mousemove",this.Ys,{capture:!0}),this.Ws=new v2(this.instance,fce,this.Hs.bind(this)),this.Ws.startIfEnabledOrStop(),this.Xs=this.Ft.bind(this),Za(ze,Sv,this.Xs),this.Rs=!0)}Vs(){var e;ge&&ze&&(this.zs&&ge.removeEventListener(Tv,this.zs),this.Us&&ze.removeEventListener("click",this.Us,{capture:!0}),this.Ys&&ze.removeEventListener("mousemove",this.Ys,{capture:!0}),this.Xs&&ze.removeEventListener(Sv,this.Xs),clearTimeout(this.Js),(e=this.Ws)==null||e.stop(),this.Rs=!1)}Ks(e,t){var a=this.instance.scrollManager.scrollY(),o=this.instance.scrollManager.scrollX(),n=this.instance.scrollManager.scrollElement(),r=(function(i,c,d){for(var u=i;u&&Tb(u)&&!qi(u,"body");){if(u===d)return!1;if(Et(c,ge?.getComputedStyle(u).position))return!0;u=_4(u)}return!1})(F2(e),["fixed","sticky"],n);return{x:e.clientX+(r?0:o),y:e.clientY+(r?0:a),target_fixed:r,type:t}}Tt(e,t){var a;if(t===void 0&&(t="click"),!L2(e.target)&&Q2(e)){var o=this.Ks(e,t);(a=this.rageclicks)!=null&&a.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Qs(Me({},o,{type:"rageclick"})),this.Qs(o)}}Gs(e){!L2(e.target)&&Q2(e)&&(clearTimeout(this.Js),this.Js=setTimeout((()=>{this.Qs(this.Ks(e,"mousemove"))}),500))}Qs(e){if(ge){var t=ge.location.href,a=this.Bt.custom_personal_data_properties,o=this.Bt.mask_personal_data_properties?[...Hd,...a||[]]:[],n=Zp(t,o,Jp);this.T=this.T||{},this.T[n]||(this.T[n]=[]),this.T[n].push(e)}}Yr(){this.T&&!vd(this.T)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:v2,webVitalsAutocapture:class{constructor(e){var t;this.$s=!1,this.Rs=!1,this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.eo=()=>{clearTimeout(this.ro),this.T.metrics.length!==0&&(this._instance.capture("$web_vitals",this.T.metrics.reduce(((a,o)=>Me({},a,{["$web_vitals_"+o.name+"_event"]:Me({},o),["$web_vitals_"+o.name+"_value"]:o.value})),{})),this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=a=>{var o,n=(o=this._instance.sessionManager)==null?void 0:o.checkAndGetSessionAndWindowId(!0);if($e(n))wi.error("Could not read session ID. Dropping metrics!");else{this.T=this.T||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var r=this.io();$e(r)||(Pt(a?.name)||Pt(a?.value)?wi.error("Invalid metric received",a):!this.no||this.no>a.value?(this.T.url!==r&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),$e(this.T.url)&&(this.T.url=r),this.T.firstMetricTimestamp=$e(this.T.firstMetricTimestamp)?Date.now():this.T.firstMetricTimestamp,a.attribution&&a.attribution.interactionTargetElement&&(a.attribution.interactionTargetElement=void 0),this.T.metrics.push(Me({},a,{$current_url:r,$session_id:n.sessionId,$window_id:n.windowId,timestamp:Date.now()})),this.T.metrics.length===this.allowedMetrics.length&&this.eo()):wi.error("Ignoring metric with value >= "+this.no,a))}},this.so=()=>{if(!this.Rs){var a,o,n,r,i=at.__PosthogExtensions__;$e(i)||$e(i.postHogWebVitalsCallbacks)||({onLCP:a,onCLS:o,onFCP:n,onINP:r}=i.postHogWebVitalsCallbacks),a&&o&&n&&r?(this.allowedMetrics.indexOf("LCP")>-1&&a(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&o(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&n(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&r(this.ht.bind(this)),this.Rs=!0):wi.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.$s=!((t=this._instance.persistence)==null||!t.props[s0]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,a=Ba(this.oo)?(e=this.oo)==null?void 0:e.web_vitals_allowed_metrics:void 0;return Pt(a)?((t=this._instance.persistence)==null?void 0:t.props[l0])||["CLS","FCP","INP","LCP"]:a}get flushToCaptureTimeoutMs(){return(Ba(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Ba(this.oo)?this.oo.web_vitals_attribution:void 0;return e!=null&&e}get no(){var e=Ba(this.oo)&&ir(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:W2;return e>0&&6e4>=e?W2:e}get isEnabled(){var e=Eo?.protocol;if(e!=="http:"&&e!=="https:")return wi.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Ba(this.oo)?this.oo.web_vitals:Zr(this.oo)?this.oo:void 0;return Zr(t)?t:this.$s}startIfEnabled(){this.isEnabled&&!this.Rs&&(wi.info("enabled, starting..."),this.ur(this.so))}onRemoteConfig(e){if("capturePerformance"in e){var t=Ba(e.capturePerformance)&&!!e.capturePerformance.web_vitals,a=Ba(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[s0]:t}),this._instance.persistence.register({[l0]:a})),this.$s=t,this.startIfEnabled()}}ur(e){var t,a;(t=at.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks?e():(a=at.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",(o=>{o?wi.error("failed to load script",o):e()}))}io(){var e=ge?ge.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties,a=this._instance.config.mask_personal_data_properties?[...Hd,...t||[]]:[];return Zp(e,a,Jp)}wi.error("Could not determine current URL")}}},pde={exceptionObserver:class{constructor(e){var t,a,o;this.so=()=>{var n;if(ge&&this.isEnabled&&(n=at.__PosthogExtensions__)!=null&&n.errorWrappingFunctions){var r=at.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,i=at.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,c=at.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ao&&this.Bt.capture_unhandled_errors&&(this.ao=r(this.captureException.bind(this))),!this.lo&&this.Bt.capture_unhandled_rejections&&(this.lo=i(this.captureException.bind(this))),!this.uo&&this.Bt.capture_console_errors&&(this.uo=c(this.captureException.bind(this)))}catch(d){lp.error("failed to start",d),this.ho()}}},this._instance=e,this.co=!((t=this._instance.persistence)==null||!t.props[o0]),this.do=new Ele({refillRate:(a=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&a!==void 0?a:1,bucketSize:(o=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&o!==void 0?o:10,refillInterval:1e4,Gt:lp}),this.Bt=this.vo(),this.startIfEnabledOrStop()}vo(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return Ba(e)?t=Me({},t,e):($e(e)?this.co:e)&&(t=Me({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.Bt.capture_console_errors||this.Bt.capture_unhandled_errors||this.Bt.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(lp.info("enabled"),this.ho(),this.ur(this.so)):this.ho()}ur(e){var t,a;(t=at.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(a=at.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,"exception-autocapture",(o=>{if(o)return lp.error("failed to load script",o);e()}))}ho(){var e,t,a;(e=this.ao)==null||e.call(this),this.ao=void 0,(t=this.lo)==null||t.call(this),this.lo=void 0,(a=this.uo)==null||a.call(this),this.uo=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.co=!!e.autocaptureExceptions||!1,this._instance.persistence&&this._instance.persistence.register({[o0]:this.co}),this.Bt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.Bt=this.vo()}captureException(e){var t,a,o,n=(t=e==null||(a=e.$exception_list)==null||(a=a[0])==null?void 0:a.type)!==null&&t!==void 0?t:"Exception";this.do.consumeRateLimit(n)?lp.info("Skipping exception capture because of client rate limiting.",{exception:n}):(o=this._instance.exceptions)==null||o.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,a;this.fo=[],this.po=new Fle([new Gle,new tce,new Kle,new Wle,new Xle,new Jle,new Qle,new ece],(function(o){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;n>i;i++)r[i-1]=arguments[i];return function(c,d){d===void 0&&(d=0);for(var u=[],m=c.split(`
|
|
189
|
-
`),h=d;m.length>h;h++){var f=m[h];if(1024>=f.length){var v=m2.test(f)?f.replace(m2,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of r){var w=b(v,o);if(w){u.push(w);break}}if(u.length>=50)break}}}return(function(x){if(!x.length)return[];var T=Array.from(x);return T.reverse(),T.slice(0,50).map((k=>{return Me({},k,{filename:k.filename||(C=T,C[C.length-1]||{}).filename,function:k.function||Vd});var C}))})(u)}})("web:javascript",Ule,Hle)),this._instance=e,this.fo=(t=(a=this._instance.persistence)==null?void 0:a.get_property(n0))!==null&&t!==void 0?t:[],this.mo=gv(this.yo()),this.bo=new oce(this.mo)}onConfigChange(){this.mo=gv(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,a,o;if("errorTracking"in e){var n=(t=(a=e.errorTracking)==null?void 0:a.suppressionRules)!==null&&t!==void 0?t:[],r=(o=e.errorTracking)==null?void 0:o.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[n0]:this.fo,[r0]:r})}}get _o(){var e,t=!!this._instance.get_property(r0),a=this._instance.config.error_tracking.captureExtensionExceptions;return(e=a??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:t?.syntheticException,mechanism:{handled:t?.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!Ca(e)||e.trim().length===0)return void Rs.warn("Ignoring exception step because message must be a non-empty string");var a=this.wo(t),{sanitizedProperties:o,droppedKeys:n}=(function(r){if(!r)return{sanitizedProperties:{},droppedKeys:[]};var i=[];return{sanitizedProperties:Object.keys(r).reduce(((c,d)=>ace.has(d)?(i.push(d),c):(c[d]=r[d],c)),{}),droppedKeys:i}})(a);n.length>0&&Rs.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(Me({[mv]:e,[hv]:new Date().toISOString()},o))}catch(r){Rs.error("Failed to add exception step. Ignoring breadcrumb.",r)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.Io(t)){if(this.Co(t))return this.So("Exception dropped: matched a suppression rule"),void Rs.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(t))return this.So("Exception dropped: thrown by a browser extension"),void Rs.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(t))return this.So("Exception dropped: thrown by the PostHog SDK"),void Rs.info("Skipping exception capture because it was thrown by the PostHog SDK")}var a=this.mo.enabled&&Pt(e.$exception_steps)?this.To(e):e;try{var o=this._instance.capture("$exception",a,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return o&&this.bo.clear(),o}catch(n){return Rs.error("Failed to capture exception event. Dropping this exception.",n),void this.bo.clear()}}catch(n){return void Rs.error("Failed to process exception event. Ignoring this exception.",n)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Me({},e,{$exception_steps:t})}catch(a){return Rs.error("Failed to read buffered exception steps. Capturing exception without steps.",a),e}}So(e){this.mo.enabled&&this.bo.add({[mv]:e,[hv]:new Date().toISOString()})}wo(e){return Ba(e)?Me({},e):{}}yo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}Co(e){if(e.length===0)return!1;var t=e.reduce(((a,o)=>{var{type:n,value:r}=o;return Ca(n)&&n.length>0&&a.$exception_types.push(n),Ca(r)&&r.length>0&&a.$exception_values.push(r),a}),{$exception_types:[],$exception_values:[]});return this.fo.some((a=>{var o=a.values.map((n=>{var r,i=S4[n.operator],c=Bt(n.value)?n.value:[n.value],d=(r=t[n.key])!==null&&r!==void 0?r:[];return c.length>0&&i(c,d)}));return a.type==="OR"?o.some(Boolean):o.every(Boolean)}))}xo(e){return e.flatMap((t=>{var a,o;return(a=(o=t.stacktrace)==null?void 0:o.frames)!==null&&a!==void 0?a:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,a,o,n,r=(t=(a=e[0].stacktrace)==null?void 0:a.frames)!==null&&t!==void 0?t:[],i=r[r.length-1];return(o=i==null||(n=i.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&o!==void 0&&o}return!1}Io(e){return!Pt(e)&&Bt(e)}}},mde=Me({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Ao=null,this.Eo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[i0]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(i0)||this.ur((()=>this.Ro()))}ur(e){var t,a;(t=at.__PosthogExtensions__)!=null&&t.generateProductTours?e():(a=at.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,"product-tours",(o=>{o?Z2.error("Could not load product tours script",o):e()}))}Ro(){var e;!this.Ao&&(e=at.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=at.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!Bt(this.Eo)||t){var a=this.ni;if(a){var o=a.props[Pf];if(Bt(o)&&!t)return this.Eo=o,void e(o,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:n=>{var r=n.statusCode;if(r!==200||!n.json){var i="Product Tours API could not be loaded, status: "+r;return Z2.error(i),void e([],{isLoaded:!1,error:i})}var c=Bt(n.json.product_tours)?n.json.product_tours:[];this.Eo=c,a&&a.register({[Pf]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){Pt(this.Ao)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(e)}showProductTour(e){var t;(t=this.Ao)==null||t.showTourById(e)}previewTour(e){this.Ao?this.Ao.previewTour(e):this.ur((()=>{var t;this.Ro(),(t=this.Ao)==null||t.previewTour(e)}))}dismissProductTour(){var e;(e=this.Ao)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Ao)==null||e.nextStep()}previousStep(){var e;(e=this.Ao)==null||e.previousStep()}clearCache(){var e;this.Eo=null,(e=this.ni)==null||e.unregister(Pf)}resetTour(e){var t;(t=this.Ao)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Ao)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Ao)==null||t.cancelPendingTour(e)}}},xb),hde={siteApps:class{constructor(e){this._instance=e,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(e,t){if(t){var a=this.globalsForEvent(t);this.No.push(a),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return(e=at._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{e(),this.No=[],this.Fo=void 0}}}globalsForEvent(e){var t,a,o,n,r,i,c;if(!e)throw new Error("Event payload is required");var d={},u=this._instance.get_property("$groups")||[],m=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(m))d[h]={id:u[h],type:h,properties:f};var{$set_once:v,$set:b}=e;return{event:Me({},T3(e,nde),{properties:Me({},e.properties,b?{$set:Me({},(t=(a=e.properties)==null?void 0:a.$set)!==null&&t!==void 0?t:{},b)}:{},v?{$set_once:Me({},(o=(n=e.properties)==null?void 0:n.$set_once)!==null&&o!==void 0?o:{},v)}:{}),elements_chain:(r=(i=e.properties)==null?void 0:i.$elements_chain)!==null&&r!==void 0?r:"",distinct_id:(c=e.properties)==null?void 0:c.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:d}}setupSiteApp(e){var t=this.apps[e.id],a=()=>{var i;!t.errored&&this.No.length&&(Ti.info("Processing "+this.No.length+" events for site app with id "+e.id),this.No.forEach((c=>t.processEvent==null?void 0:t.processEvent(c))),t.processedBuffer=!0),Object.values(this.apps).every((c=>c.processedBuffer||c.errored))&&((i=this.Fo)==null||i.call(this))},o=!1,n=i=>{t.errored=!i,t.loaded=!0,Ti.info("Site app with id "+e.id+" "+(i?"loaded":"errored")),o&&a()};try{var{processEvent:r}=e.init({posthog:this._instance,callback(i){n(i)}});r&&(t.processEvent=r),o=!0}catch(i){Ti.error(J2+e.id,i),n(!1)}if(o&&t.loaded)try{a()}catch(i){Ti.error("Error while processing buffered events PostHog app with config id "+e.id,i),t.errored=!0}}Oo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var a of e)this.setupSiteApp(a)}Po(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var a of Object.values(this.apps))try{a.processEvent==null||a.processEvent(t)}catch(o){Ti.error("Error while processing event "+e.event+" for site app "+a.id,o)}}}onRemoteConfig(e){var t,a,o,n=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void Ti.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((a=this.Fo)==null||a.call(this),(o=e.siteApps)!=null&&o.length)if(this.isEnabled){var r=function(d){var u;at["__$$ph_site_app_"+d]=n._instance,(u=at.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(n._instance,c,(m=>{if(m)return Ti.error(J2+d,m)}))};for(var{id:i,url:c}of e.siteApps)r(i)}else Ti.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},gde={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,a,o=this.Bo()||[];$e(this.Lo)&&((t=at.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(o,this._instance.get_distinct_id(),this._instance.sessionManager)),$e(this.Do)&&((a=at.__PosthogExtensions__)==null||(a=a.tracingHeadersPatchFns)==null||a._patchFetch(o,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,a;(t=at.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(a=at.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,"tracing-headers",(o=>{if(o)return ade.error("failed to load script",o);e()}))}Bo(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Bo()?this.ur(this.so):((e=this.Lo)==null||e.call(this),(t=this.Do)==null||t.call(this),this.Lo=void 0,this.Do=void 0)}}},fde=Me({surveys:class{get Bt(){return this._instance.config}constructor(e){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Bt.disable_surveys){var t=e.surveys;if(Pt(t))return na.warn("Flags not loaded yet. Not loading surveys.");var a=Bt(t);this.jo=a?t.length>0:t,na.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var a=localStorage.key(t);(a!=null&&a.startsWith(P0)||a!=null&&a.startsWith("inProgressSurvey_"))&&e.push(a)}e.forEach((o=>localStorage.removeItem(o)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)na.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)na.info(X2);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())na.info("Not loading surveys in cookieless mode without consent.");else{var e=at?.__PosthogExtensions__;if(e){if(!$e(this.jo)||this.Bt.advanced_enable_surveys){var t=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var a=e.generateSurveys;if(a)return void this.Vo(a,t);var o=e.loadExternalDependency;if(!o)return void this.Ho(qE);o(this._instance,"surveys",(n=>{n||!e.generateSurveys?this.Ho("Could not load surveys script",n):this.Vo(e.generateSurveys,t)}))}catch(n){throw this.Ho("Error initializing surveys",n),n}finally{this.$o=!1}}}else na.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new ide(this._instance),na.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){na.error(e,t),this.zo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.qo.push(e),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this.Bt.disable_surveys)return na.info(X2),e([]);var a,o=this._instance.get_property(p0);if(o&&!t)return e(o,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((n=>{var{surveys:r,context:i}=n;return e(r,i)})):(typeof Promise<"u"&&(this.Zo=new Promise((n=>{a=n}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:n=>{var r;this.Zo=null;var i=n.statusCode;if(i!==200||!n.json){var c="Surveys API could not be loaded, status: "+i;na.error(c);var d={isLoaded:!1,error:c};return e([],d),void(a==null||a({surveys:[],context:d}))}var u,m=n.json.surveys||[],h=m.filter((v=>(function(b){return!(!b.start_date||b.end_date)})(v)&&((function(b){var w;return!((w=b.conditions)==null||(w=w.events)==null||(w=w.values)==null||!w.length)})(v)||(function(b){var w;return!((w=b.conditions)==null||(w=w.actions)==null||(w=w.values)==null||!w.length)})(v))));h.length>0&&((u=this._surveyEventReceiver)==null||u.register(h)),(r=this._instance.persistence)==null||r.register({[p0]:m});var f={isLoaded:!0};e(m,f),a?.({surveys:m,context:f})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(a){na.error("Error in survey callback",a)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Pt(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);na.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((a=>{var o;t=(o=a.find((n=>n.id===e)))!==null&&o!==void 0?o:null})),t}Yo(e){if(Pt(this._surveyManager))return{eligible:!1,reason:gT};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Pt(this._surveyManager))return na.warn("init was not called"),{visible:!1,disabledReason:gT};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Pt(this._surveyManager)?(na.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:gT})):new Promise((a=>{this.getSurveys((o=>{var n,r=(n=o.find((c=>c.id===e)))!==null&&n!==void 0?n:null;if(r){var i=this.Yo(r);a({visible:i.eligible,disabledReason:i.reason})}else a({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,a){var o;if(Pt(this._surveyManager))na.warn("init was not called");else{var n=typeof e=="string"?this.Uo(e):e;if(n!=null&&n.id)if(qce.includes(n.type)){var r=ze?.querySelector(t);if(r)return(o=n.appearance)!=null&&o.surveyPopupDelaySeconds?(na.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var i,c;na.info("Rendering survey "+n.id+" with delay of "+((i=n.appearance)==null?void 0:i.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(n,r,a),na.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,r,a);na.warn("Survey element not found")}else na.warn("Surveys of type "+n.type+" cannot be rendered in the app");else na.warn("Survey not found")}}displaySurvey(e,t){var a;if(Pt(this._surveyManager))na.warn("init was not called");else{var o=this.Uo(e);if(o){var n=o;if((a=o.appearance)!=null&&a.surveyPopupDelaySeconds&&t.ignoreDelay&&(n=Me({},o,{appearance:Me({},o.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==S0.Popover&&t.initialResponses&&na.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var r=this.canRenderSurvey(o);if(!r.visible)return void na.warn("Survey is not eligible to be displayed: ",r.disabledReason)}t.displayType!==S0.Inline?this._surveyManager.handlePopoverSurvey(n,t):this.renderSurvey(n,t.selector,t.properties)}else na.warn("Survey not found")}}cancelPendingSurvey(e){Pt(this._surveyManager)?na.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},xb),vde={toolbar:class{constructor(e){this.instance=e}Go(e){at.ph_toolbar_state=e}Wo(){var e;return(e=at.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,a){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),a===void 0&&(a=void 0),a4(this.instance.config)||!ge||!ze)return!1;e=e??ge.location,a=a??ge.history;try{if(!t){try{ge.localStorage.setItem("test","test"),ge.localStorage.removeItem("test")}catch{return!1}t=ge?.localStorage}var o,n=lde||Cv(e.hash,"__posthog")||Cv(e.hash,"state"),r=n?g2((()=>JSON.parse(atob(decodeURIComponent(n)))))||g2((()=>JSON.parse(decodeURIComponent(n)))):null;return r&&r.action==="ph_authorize"?((o=r).source="url",o&&Object.keys(o).length>0&&(r.desiredHash?e.hash=r.desiredHash:a?a.replaceState(a.state,"",e.pathname+e.search):e.hash="")):((o=JSON.parse(t.getItem(eN)||"{}")).source="localstorage",delete o.userIntent),!(!o.token||this.instance.config.token!==o.token||(this.loadToolbar(o),0))}catch{return!1}}Xo(e){var t=at.ph_load_toolbar||at.ph_load_editor;!Pt(t)&&Os(t)?t(e,this.instance):tN.warn("No toolbar load function found")}loadToolbar(e){var t=!(ze==null||!ze.getElementById(J3));if(!ge||t)return!1;var a=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,o=Me({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},a?{instrument:!1}:{});if(ge.localStorage.setItem(eN,JSON.stringify(Me({},o,{source:void 0}))),this.Wo()===2)this.Xo(o);else if(this.Wo()===0){var n;this.Go(1),(n=at.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(r=>{if(r)return tN.error("[Toolbar] Failed to load",r),void this.Go(0);this.Go(2),this.Xo(o)})),Za(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(o)}))}return!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,a){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),a===void 0&&(a=void 0),this.maybeLoadToolbar(e,t,a)}}},bde=Me({experiments:Bo},xb),yde={conversations:class{constructor(e){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;Pt(t)||(Zr(t)?this.Ko=t:(this.Ko=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||a4(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=at?.__PosthogExtensions__;if(e&&!$e(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Qo=!1);var a=e.loadExternalDependency;if(!a)return void this.ra(qE);a(this._instance,"conversations",(o=>{o||!e.initConversations?this.ra("Could not load conversations script",o):this.ta(e.initConversations),this.Qo=!1}))}catch(o){this.ra("Error initializing conversations",o),this.Qo=!1}}else Zn.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Zn.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Zn.error("Cannot complete initialization: remote config is null")}ra(e,t){Zn.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Zn.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!Us(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,a){var o=this;return tr((function*(){return o._conversationsManager?o._conversationsManager.sendMessage(e,t,a):(Zn.warn(Pl),null)}))()}getMessages(e,t){var a=this;return tr((function*(){return a._conversationsManager?a._conversationsManager.getMessages(e,t):(Zn.warn(Pl),null)}))()}markAsRead(e){var t=this;return tr((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Zn.warn(Pl),null)}))()}getTickets(e){var t=this;return tr((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Zn.warn(Pl),null)}))()}requestRestoreLink(e){var t=this;return tr((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Zn.warn(Pl),null)}))()}restoreFromToken(e){var t=this;return tr((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Zn.warn(Pl),null)}))()}restoreFromUrlToken(){var e=this;return tr((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Zn.warn(Pl),null)}))()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}un(){var e;(e=this._conversationsManager)==null||e.setIdentity()}hn(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},wde={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=Ta("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,a=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Pt(a)&&a&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.oa=0,this.aa=0,this.la=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=at?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(a=>{var o;a||(o=e.logs)==null||!o.initializeLogs?this.Gt.error("Could not load logs script",a):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(qE)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,a,o,n,r,i;if(this._instance.is_capturing())if(e&&e.body){var c=(t=(a=this._instance.config.logs)==null?void 0:a.flushIntervalMs)!==null&&t!==void 0?t:3e3,d=(o=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&o!==void 0?o:1e3,u=Date.now();if(c>u-this.aa||(this.aa=u,this.oa=0,this.la=!1),d>this.oa){this.oa++;var m=(function(h,f){var v=h.level||"info",{text:b,number:w}=U3[v]||Lle,x=String(Date.now())+"000000",T={};f.distinctId&&(T.posthogDistinctId=f.distinctId),f.sessionId&&(T.sessionId=f.sessionId),f.currentUrl&&(T["url.full"]=f.currentUrl),f.screenName&&(T["screen.name"]=f.screenName),f.appState&&(T["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(T.feature_flags=f.activeFeatureFlags);var k=Me({},T,h.attributes||{}),C={timeUnixNano:x,observedTimeUnixNano:x,severityNumber:w,severityText:b,body:{stringValue:h.body},attributes:p2(k)};return h.trace_id&&(C.traceId=h.trace_id),h.span_id&&(C.spanId=h.span_id),$e(h.trace_flags)||(C.flags=h.trace_flags),C})(e,this.ua());this.sa.push({record:m}),((r=(i=this._instance.config.logs)==null?void 0:i.maxBufferSize)!==null&&r!==void 0?r:100)>this.sa.length?this.ha():this.flushLogs()}else this.la||(this.Gt.warn("captureLog dropping logs: exceeded "+d+" logs per "+c+"ms"),this.la=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.sa.length!==0){var t=this.sa;this.sa=[];var a=this._instance.config.logs,o=Me({"service.name":a?.serviceName||"unknown_service"},a?.environment&&{"deployment.environment":a.environment},a?.serviceVersion&&{"service.version":a.serviceVersion},a?.resourceAttributes),n=(function(i,c,d,u){return{resourceLogs:[{resource:{attributes:p2(c)},scopeLogs:[{scope:{name:d,version:u},logRecords:i}]}]}})(t.map((i=>i.record)),o,Jo.LIB_NAME,Jo.LIB_VERSION),r=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:r,data:n,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.jr||(this.jr=setTimeout((()=>{this.jr=void 0,this.flushLogs()}),(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}ua(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:a}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=a}if(at!=null&&(e=at.location)!=null&&e.href&&(t.currentUrl=at.location.href),this._instance.featureFlags){var o=this._instance.featureFlags.getFlags();o&&o.length>0&&(t.activeFeatureFlags=o)}return t}}},Sde=Me({},xb,dde,ude,pde,mde,hde,fde,gde,vde,bde,yde,wde);ar.__defaultExtensionClasses=Me({},Sde);var rN,$s=(rN=Rp[pd]=new ar,(function(){function e(){e.done||(e.done=!0,k4=!1,va(Rp,(function(t){t._dom_loaded()})))}ze!=null&&ze.addEventListener?ze.readyState==="complete"?e():Za(ze,"DOMContentLoaded",e,{capture:!1}):ge&&Ue.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),rN);let Fs=!1,O0=null,sN=!1;const KE="studio:lp-distinct-id",N4="mesh:lp-distinct-id",vT="/api/_reports/link-token/",Tde=1440*60*1e3;function M4(e){const t="https://analytics.invalid",a=/^[a-z][a-z\d+.-]*:\/\//i.test(e),o=e.startsWith("//");try{const n=new URL(e,t);let r=!1;for(const i of["key","d"])n.searchParams.has(i)&&(n.searchParams.delete(i),r=!0);return n.pathname.startsWith(vT)&&n.pathname!==vT&&(n.pathname=`${vT}redacted`,r=!0),r?a?n.toString():o?`//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`:e}catch{return e}}function bT(e){return Object.fromEntries(Object.entries(e).map(([t,a])=>[t,typeof a=="string"?M4(a):a]))}const xde=e=>e?(e.properties=bT(e.properties),e.$set&&(e.$set=bT(e.$set)),e.$set_once&&(e.$set_once=bT(e.$set_once)),e):null;function I4(){try{const e=window.localStorage.getItem(KE)??window.localStorage.getItem(N4);if(!e)return;const{id:t,ts:a}=JSON.parse(e);return typeof t!="string"||!t||typeof a!="number"?void 0:Date.now()-a<=Tde?t:void 0}catch{return}}function kde(){try{window.localStorage.removeItem(KE),window.localStorage.removeItem(N4)}catch{}}function Ede(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(KE,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const a=t??I4();return a?Object.keys(window.localStorage).some(n=>n.startsWith("ph_")&&n.endsWith("_posthog"))?void 0:a:void 0}catch{return}}function Cde(e){const t=I4();if(t&&(kde(),t!==e))try{$s.alias(t)}catch{}}function Pde(e,t){if(Fs||typeof window>"u")return;const a=Ede();$s.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...a?{bootstrap:{distinctID:a}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:xde,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:o=>({...o,...typeof o.name=="string"?{name:M4(o.name)}:{}})},person_profiles:"identified_only"}),Fs=!0}function _de(e,t){Fs&&($s.identify(e,t),Cde(e))}function Ade(){Fs&&($s.reset(),O0=null)}function L4(e,t){Fs&&$s.capture(e,t)}function g0e(){return Fs}function f0e(){if(!Fs||sN||typeof performance>"u")return;sN=!0;const e=performance.getEntriesByType("navigation")[0],t=a=>{const o=performance.getEntriesByName(a,"measure")[0];return o?Math.round(o.duration):void 0};L4("perf_app_bootstrap",{nav_type:e?.type,ttfb_ms:e?Math.round(e.responseStart):void 0,dom_interactive_ms:e?Math.round(e.domInteractive):void 0,dom_content_loaded_ms:e?Math.round(e.domContentLoadedEventEnd):void 0,config_fetch_ms:t("studio:config-fetch"),active_org_fetch_ms:t("studio:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:LJ(),org_cache_restored:BJ()})}function v0e(e,t){Fs&&e!==O0&&($s.group("organization",e,t),O0=e)}function B4(e,t){if(Fs)try{$s.captureException(e,t)}catch{}}const Rde=["radial-gradient(ellipse 85% 85% at 0% 0%, rgba(165,149,255,0.6) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 100% 100%, rgba(208,236,26,0.52) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 0% 100%, rgba(255,193,22,0.48) 0%, transparent 72%)"].join(", ");function Dde(e){const t=ye.c(3),{children:a}=e;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Rde}}),t[0]=o):o=t[0];let n;return t[1]!==a?(n=y.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[o,y.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:a})]}),t[1]=a,t[2]=n):n=t[2],n}function F4(e){const t=ye.c(20),{orgName:a}=e,o=$o(),n=Ode;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=y.jsx("div",{className:"bg-muted p-3 rounded-full","aria-hidden":"true",children:y.jsx(e3,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=r):r=t[0];let i;t[1]!==o?(i=o("common.archivedOrgScreen.orgUnavailable"),t[1]=o,t[2]=i):i=t[2];let c;t[3]!==i?(c=y.jsx("h3",{className:"text-lg font-medium",children:i}),t[3]=i,t[4]=c):c=t[4];let d;t[5]!==a||t[6]!==o?(d=a?o("common.archivedOrgScreen.deletedWithName",{orgName:a}):o("common.archivedOrgScreen.deletedGeneric"),t[5]=a,t[6]=o,t[7]=d):d=t[7];let u;t[8]!==d?(u=y.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=u):u=t[9];let m;t[10]!==c||t[11]!==u?(m=y.jsxs("div",{className:"space-y-2",children:[c,u]}),t[10]=c,t[11]=u,t[12]=m):m=t[12];let h;t[13]!==o?(h=o("common.goHome"),t[13]=o,t[14]=h):h=t[14];let f;t[15]!==h?(f=y.jsx(yn,{onClick:n,children:h}),t[15]=h,t[16]=f):f=t[16];let v;return t[17]!==m||t[18]!==f?(v=y.jsxs(Dde,{children:[r,m,f]}),t[17]=m,t[18]=f,t[19]=v):v=t[19],v}function Ode(){window.location.href="/"}function Nde(){const e=ye.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:a}=im(t);let o;return e[1]!==a?(o=y.jsx(yn,{variant:"outline",size:"sm",asChild:!0,children:y.jsx(Ql,{to:"/$org/settings/profile",params:{org:a},children:"Go to your profile"})}),e[1]=a,e[2]=o):o=e[2],o}function Mde(e){const t=ye.c(13),{area:a,description:o,action:n}=e,r=a?`No access to ${a}`:"No access",i=o??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=y.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:y.jsx(c3,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==r?(d=y.jsx("h3",{className:"text-lg font-medium",children:r}),t[1]=r,t[2]=d):d=t[2];let u;t[3]!==i?(u=y.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:i}),t[3]=i,t[4]=u):u=t[4];let m;t[5]!==d||t[6]!==u?(m=y.jsxs("div",{className:"space-y-1",children:[d,u]}),t[5]=d,t[6]=u,t[7]=m):m=t[7];let h;t[8]!==n?(h=n??y.jsx(Nde,{}),t[8]=n,t[9]=h):h=t[9];let f;return t[10]!==m||t[11]!==h?(f=y.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,m,h]}),t[10]=m,t[11]=h,t[12]=f):f=t[12],f}const iN="__studio_chunk_reload_ts";function j4(e){return e?.message===See}function Ide(e){return!!e?.message?.includes("Access denied")}function lN(e){if(!e)return!1;const t=e.message||"";return t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed")||t.includes("error loading dynamically imported module")||t.includes("Failed to fetch")&&e.name==="TypeError"}class Lde extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,a){console.error("Uncaught error:",t,a),B4(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:a.componentStack??null,route:typeof window<"u"?window.location.pathname:null})}resetError=()=>{this.setState({hasError:!1,error:null})};render(){if(this.state.hasError){const{fallback:t,t:a}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:j4(this.state.error)?y.jsx(F4,{}):Ide(this.state.error)?y.jsx(Mde,{}):y.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:y.jsx(DE,{className:"h-6 w-6 text-destructive"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:a("common.errorBoundary.somethingWentWrong")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||a("common.errorBoundary.unexpectedError")})]}),y.jsx(yn,{variant:"outline",onClick:this.resetError,children:a("common.errorBoundary.tryAgain")})]})}return this.props.children}}function Bde(e){const t=ye.c(3),a=$o();let o;return t[0]!==e||t[1]!==a?(o=y.jsx(Lde,{...e,t:a}),t[0]=e,t[1]=a,t[2]=o):o=t[2],o}class Fde extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,a){console.error("Uncaught error:",t,a);const o=lN(t);if(B4(t,{boundary:"chunk_root",is_chunk_load_error:o,error_name:t.name,error_message:t.message,component_stack:a.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!o)return;const n=sessionStorage.getItem(iN),r=Date.now();(!n||r-Number(n)>1e4)&&(sessionStorage.setItem(iN,String(r)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&lN(this.state.error)?y.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:y.jsx(d3,{className:"h-6 w-6 text-primary"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),y.jsx(yn,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?j4(this.state.error)?y.jsx(F4,{}):y.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:y.jsx(DE,{className:"h-6 w-6 text-destructive"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),y.jsx(yn,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function jde(e){const t=ye.c(3),a=$o();let o;return t[0]!==e||t[1]!==a?(o=y.jsx(Fde,{...e,t:a}),t[0]=e,t[1]=a,t[2]=o):o=t[2],o}const zde=Xl("surface flex flex-col gap-4",{variants:{size:{default:"p-5",tile:"gap-3 p-4",flush:"p-0"},interactive:{true:"surface-interactive focus-ring cursor-pointer text-left",false:""}},defaultVariants:{size:"default",interactive:!1}});function qde(e){const t=ye.c(14);let a,o,n,r,i;t[0]!==e?({className:a,size:r,interactive:o,asChild:i,...n}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n,t[4]=r,t[5]=i):(a=t[1],o=t[2],n=t[3],r=t[4],i=t[5]);const d=(i===void 0?!1:i)?db:"div";let u;t[6]!==a||t[7]!==o||t[8]!==r?(u=Je(zde({size:r,interactive:o}),a),t[6]=a,t[7]=o,t[8]=r,t[9]=u):u=t[9];let m;return t[10]!==d||t[11]!==n||t[12]!==u?(m=y.jsx(d,{"data-slot":"card",className:u,...n}),t[10]=d,t[11]=n,t[12]=u,t[13]=m):m=t[13],m}function b0e(e){const t=ye.c(11),{title:a,description:o,docsHref:n,actions:r,className:i,children:c}=e;let d;t[0]!==i?(d=Je("flex flex-col gap-3",i),t[0]=i,t[1]=d):d=t[1];let u;t[2]!==r||t[3]!==o||t[4]!==n||t[5]!==a?(u=(a||o||n||r)&&y.jsxs("div",{className:"flex items-center justify-between gap-3 px-4",children:[y.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[a&&y.jsx("h2",{className:"text-base font-medium leading-tight",children:a}),(o||n)&&y.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[o,n&&y.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",y.jsx(t3,{size:12})]})]})]}),r&&y.jsx("div",{className:"shrink-0",children:r})]}),t[2]=r,t[3]=o,t[4]=n,t[5]=a,t[6]=u):u=t[6];let m;return t[7]!==c||t[8]!==d||t[9]!==u?(m=y.jsxs("section",{className:d,children:[u,c]}),t[7]=c,t[8]=d,t[9]=u,t[10]=m):m=t[10],m}function y0e(e){const t=ye.c(11),{className:a,children:o}=e;let n,r,i;if(t[0]!==o||t[1]!==a){const d=A.Children.toArray(o).filter(A.isValidElement);n=qde,t[5]!==a?(r=Je("p-0 gap-0 overflow-hidden",a),t[5]=a,t[6]=r):r=t[6],i=d.map(Ude),t[0]=o,t[1]=a,t[2]=n,t[3]=r,t[4]=i}else n=t[2],r=t[3],i=t[4];let c;return t[7]!==n||t[8]!==r||t[9]!==i?(c=y.jsx(n,{className:r,children:i}),t[7]=n,t[8]=r,t[9]=i,t[10]=c):c=t[10],c}function Ude(e,t){return y.jsxs("div",{children:[t>0&&y.jsx("div",{className:"h-px bg-border mx-5"}),e]},t)}function w0e(e){const t=ye.c(27),{icon:a,title:o,description:n,action:r,onClick:i,className:c,children:d}=e,u=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",m=i&&"hover:bg-accent cursor-pointer";let h;t[0]!==c||t[1]!==u||t[2]!==m?(h=Je(u,m,c),t[0]=c,t[1]=u,t[2]=m,t[3]=h):h=t[3];const f=i?"button":void 0,v=i?0:void 0;let b;t[4]!==i?(b=i?_=>{_.target===_.currentTarget&&(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),i())}:void 0,t[4]=i,t[5]=b):b=t[5];let w;t[6]!==a?(w=a&&y.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:a}),t[6]=a,t[7]=w):w=t[7];let x;t[8]!==o?(x=y.jsx("div",{className:"text-sm font-medium",children:o}),t[8]=o,t[9]=x):x=t[9];let T;t[10]!==n?(T=n&&y.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:n}),t[10]=n,t[11]=T):T=t[11];let k;t[12]!==d||t[13]!==x||t[14]!==T?(k=y.jsxs("div",{className:"flex-1 min-w-0",children:[x,T,d]}),t[12]=d,t[13]=x,t[14]=T,t[15]=k):k=t[15];let C;t[16]!==r?(C=r&&y.jsx("div",{className:"shrink-0",onClick:$de,children:r}),t[16]=r,t[17]=C):C=t[17];let E;return t[18]!==i||t[19]!==k||t[20]!==C||t[21]!==h||t[22]!==f||t[23]!==v||t[24]!==b||t[25]!==w?(E=y.jsxs("div",{className:h,onClick:i,role:f,tabIndex:v,onKeyDown:b,children:[w,k,C]}),t[18]=i,t[19]=k,t[20]=C,t[21]=h,t[22]=f,t[23]=v,t[24]=b,t[25]=w,t[26]=E):E=t[26],E}function $de(e){return e.stopPropagation()}function S0e(e){const t=ye.c(5),{className:a,children:o}=e;let n;t[0]!==a?(n=Je("px-4 py-4",a),t[0]=a,t[1]=n):n=t[1];let r;return t[2]!==o||t[3]!==n?(r=y.jsx("div",{className:n,children:o}),t[2]=o,t[3]=n,t[4]=r):r=t[4],r}function T0e(e){const t=ye.c(5),{children:a,className:o}=e;let n;t[0]!==o?(n=Je("flex items-center justify-end gap-2 px-4 py-4",o),t[0]=o,t[1]=n):n=t[1];let r;return t[2]!==a||t[3]!==n?(r=y.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=r):r=t[4],r}function Vde(e){const t=ye.c(5),{className:a,children:o}=e;let n;t[0]!==a?(n=Je("flex flex-col gap-10",a),t[0]=a,t[1]=n):n=t[1];let r;return t[2]!==o||t[3]!==n?(r=y.jsx("div",{className:n,children:o}),t[2]=o,t[3]=n,t[4]=r):r=t[4],r}const kb={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[],ownedRoutes:["/$org/settings/api-keys"]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",icon:h3,labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",icon:p3,labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",icon:n3,labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",icon:u3,labelKey:"settings.subnav.infrastructure",to:"/$org/settings/infra-billing",requires:"members:manage",requiresOwnedSites:!0}]},repositories:{key:"repositories",titleKey:"settings.nav.repositories",tabs:[],ownedRoutes:["/$org/settings/repositories"]},storage:{key:"storage",titleKey:"settings.nav.storage",tabs:[{key:"buckets",icon:i3,labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",icon:s3,labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function x0e(e){const t=kb[e];return[...t.tabs.map(a=>a.to),...t.ownedRoutes??[]]}function k0e(e){return kb[e].tabs.length>0}const Hde=new Set(["owner","admin"]);function z4(){const e=ye.c(11),{org:t,locator:a}=Zi();let o;e[0]!==a?(o=lo.myCapabilities(a),e[0]=a,e[1]=o):o=e[1];let n;e[2]!==t?(n=async()=>{const m=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(t.slug)}`,{credentials:"include"});if(!m.ok)throw new Error(`my-capabilities request failed: ${m.status}`);return await m.json()},e[2]=t,e[3]=n):n=e[3];let r;e[4]!==o||e[5]!==n?(r={queryKey:o,queryFn:n,staleTime:3e4,retry:2},e[4]=o,e[5]=n,e[6]=r):r=e[6];const{data:i,isLoading:c,isError:d}=Ki(r);let u;return e[7]!==i||e[8]!==d||e[9]!==c?(u={data:i,loading:c,error:d},e[7]=i,e[8]=d,e[9]=c,e[10]=u):u=e[10],u}function E0e(e){const t=ye.c(8),{data:a,loading:o,error:n}=z4();if(o){let u;return t[0]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!0,error:!1,reason:"loading"},t[0]=u):u=t[0],u}if(n){let u;return t[1]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!1,error:!0,reason:"error"},t[1]=u):u=t[1],u}const r=a?.role??null;if(!r){let u;return t[2]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!1,error:!1,reason:"denied"},t[2]=u):u=t[2],u}if(r==="owner"){let u;return t[3]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!0,loading:!1,error:!1,reason:"owner"},t[3]=u):u=t[3],u}if(r==="admin"){let u;return t[4]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!0,loading:!1,error:!1,reason:"admin"},t[4]=u):u=t[4],u}const i=a?.capabilities?.[e]===!0,c=i?"role":"denied";let d;return t[5]!==i||t[6]!==c?(d={granted:i,loading:!1,error:!1,reason:c},t[5]=i,t[6]=c,t[7]=d):d=t[7],d}function q4(){const e=ye.c(10),{data:t,loading:a,error:o}=z4(),n=t?.role??void 0;let r;e[0]!==n?(r=n?Hde.has(n):!1,e[0]=n,e[1]=r):r=e[1];const i=r;let c;e[2]!==t?.capabilities?(c=t?.capabilities??{},e[2]=t?.capabilities,e[3]=c):c=e[3];const d=c;let u;return e[4]!==o||e[5]!==i||e[6]!==a||e[7]!==n||e[8]!==d?(u={capabilities:d,loading:a,error:o,isPrivileged:i,roleSlug:n},e[4]=o,e[5]=i,e[6]=a,e[7]=n,e[8]=d,e[9]=u):u=e[9],u}function Gde(){const e=ye.c(13),{org:t}=Zi(),a=Jk(),{capabilities:o,isPrivileged:n}=q4(),r=n||!!o["members:manage"];let i;e[0]!==t.id?(i=lo.infraBillingSites(t.id),e[0]=t.id,e[1]=i):i=e[1];const c=!!t.id&&r;let d;e[2]!==a?(d=()=>a.call("INFRA_BILLING_SITES_LIST",{}),e[2]=a,e[3]=d):d=e[3];let u;e[4]!==i||e[5]!==c||e[6]!==d?(u={queryKey:i,staleTime:3e5,enabled:c,queryFn:d},e[4]=i,e[5]=c,e[6]=d,e[7]=u):u=e[7];const{data:m,isLoading:h}=Ki(u);let f;e[8]!==m?.sites?(f=m?.sites.map(Wde)??[],e[8]=m?.sites,e[9]=f):f=e[9];let v;return e[10]!==h||e[11]!==f?(v={sites:f,isLoading:h},e[10]=h,e[11]=f,e[12]=v):v=e[12],v}function Wde(e){return e.slug}function C0e(){const e=ye.c(7),t=Jk(),a=$o();let o;e[0]!==t?(o=i=>t.call("INFRA_BILLING_PORTAL",{siteSlugs:i}),e[0]=t,e[1]=o):o=e[1];let n;e[2]!==a?(n=i=>Fd.error(a("settings.infraBilling.portalError",{message:i.message})),e[2]=a,e[3]=n):n=e[3];let r;return e[4]!==o||e[5]!==n?(r={mutationFn:o,onSuccess:Kde,onError:n},e[4]=o,e[5]=n,e[6]=r):r=e[6],yf(r)}function Kde(e){const{url:t}=e;return window.open(t,"_blank","noopener,noreferrer")}function P0e(e,t){const a=ye.c(14),{org:o}=Zi(),n=Jk();let r,i,c;a[0]!==o.id||a[1]!==t||a[2]!==e?(r=[...e].sort(),c=Ki,i=lo.infraBilling(o.id,r.join(","),t),a[0]=o.id,a[1]=t,a[2]=e,a[3]=r,a[4]=i,a[5]=c):(r=a[3],i=a[4],c=a[5]);const d=r.length>0;let u;a[6]!==t||a[7]!==r||a[8]!==n?(u=()=>n.call("INFRA_BILLING_GET",{siteSlugs:r,period:t}),a[6]=t,a[7]=r,a[8]=n,a[9]=u):u=a[9];let m;return a[10]!==i||a[11]!==d||a[12]!==u?(m={queryKey:i,enabled:d,staleTime:6e4,queryFn:u},a[10]=i,a[11]=d,a[12]=u,a[13]=m):m=a[13],c(m)}function Yde(){const e=ye.c(7),{capabilities:t,isPrivileged:a,loading:o,error:n}=q4(),{sites:r,isLoading:i}=Gde(),c=r.length>0;let d;if(e[0]!==t||e[1]!==n||e[2]!==a||e[3]!==o||e[4]!==c||e[5]!==i){const u=m=>m.requiresOwnedSites&&!c&&!i?!1:o||n?!0:m.privilegedOnly?a:m.requires?a||t[m.requires]:!0;d=Object.fromEntries(Object.values(kb).map(m=>[m.key,m.tabs.filter(u)])),e[0]=t,e[1]=n,e[2]=a,e[3]=o,e[4]=c,e[5]=i,e[6]=d}else d=e[6];return d}function Qde(e){const t=ye.c(16),{group:a}=e,o=$o();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},t[0]=n):n=t[0];const{org:r}=im(n);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i={select:Zde},t[1]=i):i=t[1];const c=Tk(i),d=Yde()[a],{titleKey:u}=kb[a];let m;t[2]!==o||t[3]!==u?(m=o(u),t[2]=o,t[3]=u,t[4]=m):m=t[4];let h;t[5]!==m?(h=y.jsx(Cd.Title,{children:m}),t[5]=m,t[6]=h):h=t[6];let f;t[7]!==a||t[8]!==r||t[9]!==c||t[10]!==o||t[11]!==d?(f=d.length>1&&y.jsx(mn.Toolbar.Left.Portal,{children:y.jsx(Cd.Tabs,{"data-testid":"settings-subnav","aria-label":o("settings.subnav.ariaLabel"),children:d.map(b=>{const w=b.to.replace("$org",r),x=c===w||c.startsWith(`${w}/`);return y.jsx(Cd.Tab,{active:x,asChild:!0,children:y.jsx(Ql,{to:b.to,params:{org:r},onClick:()=>L4("settings_subnav_clicked",{group_key:a,tab_key:b.key}),children:o(b.labelKey)})},b.key)})})}),t[7]=a,t[8]=r,t[9]=c,t[10]=o,t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==h||t[14]!==f?(v=y.jsxs(y.Fragment,{children:[h,f]}),t[13]=h,t[14]=f,t[15]=v):v=t[15],v}function Zde(e){return e.location.pathname}function U4(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=y.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[y.jsx(RO,{className:"h-32 w-full"}),y.jsx(RO,{className:"h-32 w-full"})]}),e[0]=t):t=e[0],t}function Jde(e){const t=ye.c(14),{group:a,fallback:o,errorFallback:n,className:r,children:i}=e;let c;t[0]!==a?(c=y.jsx(Qde,{group:a}),t[0]=a,t[1]=c):c=t[1];let d;t[2]!==o?(d=o??y.jsx(U4,{}),t[2]=o,t[3]=d):d=t[3];let u;t[4]!==i||t[5]!==d?(u=y.jsx(A.Suspense,{fallback:d,children:i}),t[4]=i,t[5]=d,t[6]=u):u=t[6];let m;t[7]!==n||t[8]!==u?(m=y.jsx(Bde,{fallback:n,children:u}),t[7]=n,t[8]=u,t[9]=m):m=t[9];let h;return t[10]!==r||t[11]!==c||t[12]!==m?(h=y.jsx(Cd,{children:y.jsx(Cd.Content,{children:y.jsx(Cd.Container,{children:y.jsxs(Vde,{className:r,children:[c,m]})})})}),t[10]=r,t[11]=c,t[12]=m,t[13]=h):h=t[13],h}function Vs(e){return function(){return y.jsx(Jde,{group:e,children:y.jsx(U4,{})})}}function Xde(e){try{localStorage.setItem(Nr.lastLocation(),JSON.stringify(e))}catch{}}function eue(){try{const e=localStorage.getItem(Nr.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org}}catch{}return null}function _0e(){try{localStorage.removeItem(Nr.lastLocation())}catch{}}function tue(e,t){const a=e&&t?NJ(t,e):null;return{queryKey:lo.activeOrganization(e),queryFn:async()=>{if(!e)return null;const o={organizationSlug:e};performance.mark("mesh:active-org-fetch:start");const{data:n}=await fo.organization.getFullOrganization({query:o}).finally(()=>{performance.mark("mesh:active-org-fetch:end"),performance.measure("mesh:active-org-fetch","mesh:active-org-fetch:start","mesh:active-org-fetch:end")}),r=oE(n);return n&&!r&&localStorage.setItem(Nr.lastOrgSlug(),e),t&&n&&MJ(t,e,n),n},initialData:a?a.data:void 0,initialDataUpdatedAt:a?.updatedAt,gcTime:1/0,refetchOnWindowFocus:!1}}let cN;async function aue(e){cN=e,await jB();const t=kee();if(!t)return;const a=await Jl.ensureQueryData(tue(e,t)).catch(()=>null);a&&!oE(a)&&cN===e&&Xde({org:e})}const Ct={home:"/$org/home",projects:"/$org/projects/$agentId",tasks:"/$org/tasks/{-$taskKey}",reports:"/$org/reports",library:"/$org/library",discover:"/$org/discover",plan:"/$org/plan",monitoring:"/$org/monitoring",orgIndex:"/$org/"},Ke={root:Ct.projects,tasks:"/$org/projects/$agentId/tasks/{-$taskKey}",reports:"/$org/projects/$agentId/reports",siteEditor:"/$org/projects/$agentId/site-editor",siteEditorContent:"/$org/projects/$agentId/site-editor/content",siteEditorCode:"/$org/projects/$agentId/site-editor/code",blog:"/$org/projects/$agentId/blog",blogPost:"/$org/projects/$agentId/blog/posts/$postId",automations:"/$org/projects/$agentId/automations",automation:"/$org/projects/$agentId/automations/$automationId",app:"/$org/projects/$agentId/apps/$connectionId/$toolName",view:"/$org/projects/$agentId/views/$viewId",outputFile:"/$org/projects/$agentId/outputs/file",outputDeck:"/$org/projects/$agentId/outputs/deck",library:"/$org/projects/$agentId/library",libraryFile:"/$org/projects/$agentId/library/file",connectSources:"/$org/projects/$agentId/connect-sources",settings:"/$org/projects/$agentId/settings",assets:"/$org/projects/$agentId/assets",releases:"/$org/projects/$agentId/releases",hosting:"/$org/projects/$agentId/hosting",e2e:"/$org/projects/$agentId/e2e",calendar:"/$org/projects/$agentId/calendar",experiments:"/$org/projects/$agentId/experiments",plan:"/$org/projects/$agentId/plan",businessCase:"/$org/projects/$agentId/plan/case",monitoring:"/$org/projects/$agentId/monitoring"};function A0e(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:oue},e[0]=t):t=e[0],Tk(t)}function oue(e){return e.matches.at(-1)?.fullPath??""}function R0e(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:nue},e[0]=t):t=e[0],Tk(t)}function nue(e){return e.matches.findLast(rue)?.staticData.mainView}function rue(e){return e.staticData.mainView}function Rf(e){return`agent-view:${encodeURIComponent(e)}`}function sue(e){if(!e?.startsWith("agent-view:"))return null;const t=e.slice(11);if(!t)return null;try{const a=decodeURIComponent(t);return a?{id:a}:null}catch{return null}}function $4(e){if(!e||!e.startsWith("automation:"))return null;const t=e.slice(11);return t?{id:t}:null}function iue(e){return`blog-post:${encodeURIComponent(e)}`}function lue(e){if(!e?.startsWith("blog-post:"))return null;const t=e.slice(10);if(!t)return null;try{const a=decodeURIComponent(t);return a?{id:a}:null}catch{return null}}function YE(e,t){return`app:${e}:${t}`}function cue(e){if(!e||!e.startsWith("app:"))return null;const t=e.slice(4),a=t.indexOf(":");if(a<=0)return null;const o=t.slice(0,a),n=t.slice(a+1);return!o||!n?null:{connectionId:o,toolName:n}}function V4(e){return`deck:${encodeURIComponent(e)}`}function due(e){if(!e||!e.startsWith("deck:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function uue(e){return`case:${encodeURIComponent(e)}`}function pue(e){if(!e||!e.startsWith("case:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function H4(e){return`file:${encodeURIComponent(e)}`}function mue(e){if(!e||!e.startsWith("file:"))return null;const t=e.slice(5);if(!t)return null;try{return{key:decodeURIComponent(t)}}catch{return null}}function G4(e){return`library-file:${encodeURIComponent(e)}`}function hue(e){if(!e||!e.startsWith("library-file:"))return null;const t=e.slice(13);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function W4(e){return`code:${encodeURIComponent(e)}`}function gue(e){if(!e)return null;if(e==="code")return{path:null};if(!e.startsWith("code:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}const K4=["overview","settings","automations","site-editor","code","content","blog","assets","hosting","e2e","analytics","cdn"],fue=new Set(K4),Y4=new Set(["hosting","e2e","analytics","cdn"]),vue=new Set(["board","files","connect-sources","reports"]);function D0e(e){return e.startsWith("app:")||e.startsWith("automation:")||e.startsWith("file:")||e.startsWith("deck:")||e.startsWith("case:")||e.startsWith("library-file:")||e.startsWith("code:")}const bue=new Map([["preview","site-editor"],["git","site-editor"]]);function Eb(e){return bue.get(e)??e}const QE=new Set(["instructions","connections","layout","settings"]);function yue(e){return!!e&&QE.has(e)}const wue=new Set(["overview","board","reports"]);function Q4(e){const t=e?.defaultMainView??null;if(!t)return"settings";const a=Eb(t.type);if(QE.has(a))return"settings";if(fue.has(a)||wue.has(a))return a;if(a==="ext-app"||a==="ext-apps"){if(t.id&&t.toolName)return YE(t.id,t.toolName);const n=e?.tabs?.map(r=>r.id)??[];return t.id&&n.includes(t.id)?Rf(t.id):n[0]?Rf(n[0]):"settings"}const o=e?.tabs?.[0]?.id;return o?Rf(o):"settings"}function Z4(e){const t={...e};return Reflect.deleteProperty(t,"projectOverview"),Reflect.deleteProperty(t,"appTakeover"),t}const O0e=e=>({...Z4(e),projectOverview:!0});function Sue(e){return typeof e=="object"&&e!==null&&"projectOverview"in e&&e.projectOverview===!0}const N0e=e=>({...Z4(e),appTakeover:!0});function M0e(e){return typeof e=="object"&&e!==null&&"appTakeover"in e&&e.appTakeover===!0}function I0e(e){const t=e?.defaultMainView?.type;if(!t||t==="chat")return null;const a=Q4(e);return a==="overview"?null:a}function L0e(e){const t=e.routeDefaultMain||Q4(e.metadata),a=e.panelTabId&&QE.has(e.panelTabId)?"settings":e.panelTabId?Eb(e.panelTabId):e.panelTabId,o=e.metadata?.defaultMainView??null,n=o==null||o.type==="chat";return{mainOpen:e.mainPanelParam??(!!a||!!e.routeDefaultMain||!n),activeTab:a??t}}function B0e(e){return e.mainOpen&&e.clickedId===e.activeTab?{close:!0}:{tabId:e.clickedId}}function F0e(e){return e.mainOpen?e.activeTab==="automations"?!0:$4(e.activeTab)!==null:!1}const Tue=new Set([...K4.filter(e=>!Y4.has(e)),...vue,"app","file","deck","library-file","connect-sources","instructions","connections","layout","preview","discover"]);function xue(e){return!!e&&Tue.has(e)}function kue(e,t){if(e)switch(e){case"app":return t.connection&&t.tool?YE(t.connection,t.tool):void 0;case"automations":return t.automation?`automation:${t.automation}`:"automations";case"file":return t.key?H4(t.key):void 0;case"deck":return t.deck?V4(t.deck):void 0;case"library-file":return t.path?G4(t.path):void 0;case"code":return t.file?W4(t.file):"code";default:{const a=Eb(e);return a==="site-editor"&&t.main==="content"?"content":a}}}function j0e(e){const t=e.params??{},a=e.search??{};if(e.siteEditorView==="content")return"content";if(e.siteEditorView==="code")return a.file?W4(a.file):"code";if(e.siteEditorView==="preview")return"site-editor";switch(e.mainView){case"blog-post":return t.postId?iue(t.postId):"blog";case"automation":return t.automationId?`automation:${t.automationId}`:"automations";case"app":return t.connectionId&&t.toolName?YE(t.connectionId,t.toolName):void 0;case"view":return t.viewId?Rf(t.viewId):void 0;case"file":return a.key?H4(a.key):void 0;case"deck":return a.path?V4(a.path):void 0;case"business-case":return a.path?uue(a.path):void 0;case"library-file":return a.path?G4(a.path):void 0;default:return e.mainView}}const Eue={files:"library",discover:"discover"},Cue={board:"tasks",reports:"reports",plan:"plan",monitoring:"monitoring",analytics:"monitoring",cdn:"monitoring"},Pue={analytics:"audience",cdn:"performance"},_ue={settings:"settings",assets:"assets",releases:"releases",hosting:"hosting",e2e:"e2e",calendar:"calendar",experiments:"experiments"};function J4(e){const t=sue(e);if(t)return{kind:"agent-view",viewId:t.id};const a=cue(e);if(a)return{kind:"app",connectionId:a.connectionId,toolName:a.toolName};const o=$4(e);if(o)return{kind:"automations",automationId:o.id};const n=lue(e);if(n)return{kind:"blog",postId:n.id};const r=mue(e);if(r)return{kind:"output-file",key:r.key};const i=due(e);if(i)return{kind:"output-deck",path:i.path};const c=pue(e);if(c)return{kind:"business-case",path:c.path};const d=hue(e);if(d)return{kind:"library-file",path:d.path};const u=gue(e);if(u)return{kind:"site-editor",view:"code",...u.path?{file:u.path}:{}};if(yue(e))return{kind:"agent-section",section:"settings"};const m=Eb(e);if(m==="overview")return{kind:"agent-overview"};if(m==="site-editor")return{kind:"site-editor",view:"preview"};if(m==="content")return{kind:"site-editor",view:"content"};if(m==="blog")return{kind:"blog"};if(m==="automations")return{kind:"automations"};if(m==="connect-sources")return{kind:"connect-sources"};const h=Cue[m];if(h){const b=Pue[m];return{kind:"project-destination",destination:h,...b?{monitorView:b}:{}}}const f=Eue[m];if(f)return{kind:"org-destination",destination:f};const v=_ue[m];return v?{kind:"agent-section",section:v}:{kind:"agent-view",viewId:m}}function Hl(e){const{org:t,agentId:a}=e,o={org:t,agentId:a},n=J4(e.tabId);switch(n.kind){case"project-destination":{const r=e.destinationScope==="organization";switch(n.destination){case"tasks":return r?{to:Ct.tasks,params:{org:t,taskKey:e.taskKey},search:{}}:{to:Ke.tasks,params:{...o,taskKey:e.taskKey},search:{}};case"reports":return r?{to:Ct.reports,params:{org:t},search:{}}:{to:Ke.reports,params:o,search:{}};case"plan":return r?{to:Ct.plan,params:{org:t},search:{}}:{to:Ke.plan,params:o,search:{}};case"monitoring":{const i=n.monitorView?{view:n.monitorView}:{};return r?{to:Ct.monitoring,params:{org:t},search:i}:{to:Ke.monitoring,params:o,search:i}}}}case"org-destination":switch(n.destination){case"home":return{to:Ct.home,params:{org:t},search:{}};case"discover":return{to:Ct.discover,params:{org:t},search:{}};case"library":return{to:Ct.library,params:{org:t},search:{}}}case"agent-overview":return{to:Ke.root,params:o,search:{}};case"site-editor":return n.view==="content"?{to:Ke.siteEditorContent,params:o,search:{}}:n.view==="code"?{to:Ke.siteEditorCode,params:o,search:{file:n.file}}:{to:Ke.siteEditor,params:o,search:{}};case"agent-section":return{to:Ke[n.section],params:o,search:{}};case"blog":return n.postId?{to:Ke.blogPost,params:{...o,postId:n.postId},search:{}}:{to:Ke.blog,params:o,search:{}};case"automations":return n.automationId?{to:Ke.automation,params:{...o,automationId:n.automationId},search:{}}:{to:Ke.automations,params:o,search:{}};case"app":return{to:Ke.app,params:{...o,connectionId:n.connectionId,toolName:n.toolName},search:{}};case"agent-view":return{to:Ke.view,params:{...o,viewId:n.viewId},search:{}};case"output-file":return{to:Ke.outputFile,params:o,search:{key:n.key}};case"output-deck":return{to:Ke.outputDeck,params:o,search:{path:n.path}};case"business-case":return{to:Ke.businessCase,params:o,search:{path:n.path}};case"library-file":return{to:Ke.libraryFile,params:o,search:{path:n.path}};case"connect-sources":return{to:Ke.connectSources,params:o,search:{}}}}function z0e(e){if(!e.agentId||e.agentId===e.superAgentId&&(e.tabId===void 0||e.tabId==="overview"))return{to:Ct.home,params:{org:e.org},search:{}};const t=e.tabId??"overview",a=e.agentId!==e.superAgentId&&J4(t).kind==="org-destination"?"overview":t;return Hl({org:e.org,agentId:e.agentId,tabId:a,destinationScope:e.agentId===e.superAgentId?"organization":"project"})}function Aue(e,t,a={}){const o=r=>({...a.search?.(r)??{},...t.search}),n=a.replace??!0;switch(t.to){case Ct.tasks:e({to:Ct.tasks,params:t.params,search:o,replace:n});return;case Ct.home:e({to:Ct.home,params:t.params,search:o,replace:n});return;case Ct.reports:e({to:Ct.reports,params:t.params,search:o,replace:n});return;case Ct.discover:e({to:Ct.discover,params:t.params,search:o,replace:n});return;case Ct.plan:e({to:Ct.plan,params:t.params,search:o,replace:n});return;case Ct.monitoring:e({to:Ct.monitoring,params:t.params,search:o,replace:n});return;case Ct.library:e({to:Ct.library,params:t.params,search:o,replace:n});return;case Ke.root:e({to:Ke.root,params:t.params,search:o,replace:n});return;case Ke.tasks:e({to:Ke.tasks,params:t.params,search:o,replace:n});return;case Ke.reports:e({to:Ke.reports,params:t.params,search:o,replace:n});return;case Ke.plan:e({to:Ke.plan,params:t.params,search:o,replace:n});return;case Ke.monitoring:e({to:Ke.monitoring,params:t.params,search:o,replace:n});return;case Ke.siteEditor:e({to:Ke.siteEditor,params:t.params,search:o,replace:n});return;case Ke.siteEditorContent:e({to:Ke.siteEditorContent,params:t.params,search:o,replace:n});return;case Ke.siteEditorCode:e({to:Ke.siteEditorCode,params:t.params,search:o,replace:n});return;case Ke.automations:e({to:Ke.automations,params:t.params,search:o,replace:n});return;case Ke.automation:e({to:Ke.automation,params:t.params,search:o,replace:n});return;case Ke.app:e({to:Ke.app,params:t.params,search:o,replace:n});return;case Ke.view:e({to:Ke.view,params:t.params,search:o,replace:n});return;case Ke.outputFile:e({to:Ke.outputFile,params:t.params,search:o,replace:n});return;case Ke.outputDeck:e({to:Ke.outputDeck,params:t.params,search:o,replace:n});return;case Ke.businessCase:e({to:Ke.businessCase,params:t.params,search:o,replace:n});return;case Ke.libraryFile:e({to:Ke.libraryFile,params:t.params,search:o,replace:n});return;case Ke.connectSources:e({to:Ke.connectSources,params:t.params,search:o,replace:n});return;case Ke.blog:e({to:Ke.blog,params:t.params,search:o,replace:n});return;case Ke.blogPost:e({to:Ke.blogPost,params:t.params,search:o,replace:n});return;case Ke.settings:case Ke.assets:case Ke.releases:case Ke.hosting:case Ke.e2e:case Ke.calendar:case Ke.experiments:e({to:t.to,params:t.params,search:o,replace:n});return;default:return Rue(t)}}function Rue(e){throw new Error(`Unhandled tab route target: ${JSON.stringify(e)}`)}function q0e(e,t){Aue(e,Hl(t),t)}function Due(e){const t=/^(\/[^/]+)\/agents(?=\/|$)/.exec(e);return t?.[1]?`${t[1]}/projects${e.slice(t[0].length)}`:null}function Oue(e){const t=e.split("/").filter(Boolean);return(t[1]==="projects"||t[1]==="agents")&&t.length>3}const Nue=new Set(["main","virtualmcpid","file","key","deck","path","connection","tool","automation"]),X4=new Set(["main"]),Mue=new Set(["virtualmcpid"]);function Cb(e,t){return Object.fromEntries(Object.entries(e).filter(([a])=>!t.has(a)))}function ql(e,t){return{...Cb(e,Nue),...t.search}}function Iue(e){return Cb(e,Mue)}function U0e(e){if(e.search.virtualmcpid===void 0)return null;const t=Er(e.search.virtualmcpid);if(t){const a=e.routePath===Ct.tasks?"board":e.routePath===Ct.reports?"reports":null;if(e.routePath===Ct.home||a){const o=a?Hl({org:e.org,agentId:t,tabId:a}):Wd(e.org,t);return{kind:"canonical",route:o,search:ql(e.search,o)}}}return e.routePath===Ct.home||e.routePath===Ct.tasks||e.routePath===Ct.reports||e.routePath===Ct.library?{kind:"same-route",search:Iue(e.search)}:null}function Er(e){return e?.trim()||void 0}function e5(e){return xue(e)||e!==void 0&&Y4.has(e)}function t5(e){const t=Er(e);return t?t.startsWith("vir_")&&t.length>4||tB(t)!==null||nQ(t)!==null||rQ(t)!==null||oB(t)||nB(t):!1}function Lue(e){const t=Er(e.agentIdParam),a=e5(t);return t&&!a?t:Er(e.virtualMcpIdSearch)??Er(e.fallbackAgentId)}function $0e(e){const t=e.pathAgentId;if(t&&e.pathLegacyView){const i=N0({org:e.org,agentId:t,panel:e.pathLegacyView,source:"project-first",search:e.search});return i?.kind==="canonical"?{route:i.route,search:i.search}:null}if(!t||Oue(e.pathname))return null;const a=e.search.virtualmcpid!==void 0&&!t5(t);if(!(e5(t)||a))return null;const n=Lue({agentIdParam:a?void 0:t,virtualMcpIdSearch:e.search.virtualmcpid,fallbackAgentId:e.fallbackAgentId}),r=N0({org:e.org,agentId:n,panel:t,source:"view-first",search:e.search});return r?.kind==="canonical"?{route:r.route,search:r.search}:null}function Bue(e,t,a,o){const n=Er(o);switch(e){case"board":return n?Hl({org:t,agentId:n,tabId:"board"}):{to:Ct.tasks,params:{org:t,taskKey:void 0},search:{}};case"files":{const r=Ai(a.path);return{to:Ct.library,params:{org:t},search:r?{path:r}:{}}}case"reports":return n?Hl({org:t,agentId:n,tabId:"reports"}):{to:Ct.reports,params:{org:t},search:{}};case"overview":return{to:Ct.home,params:{org:t},search:{}};case"discover":return{to:Ct.discover,params:{org:t},search:{}};default:return null}}function em(e){const t=Bue(e.tabId,e.org,e.search,e.agentId);if(t)return t;if(e.tabId==="chat")return Wd(e.org,e.agentId);const a=Er(e.agentId);return a?e.tabId==="app"||e.tabId==="file"||e.tabId==="deck"||e.tabId==="library-file"||e.tabId.trim()===""?{to:Ke.root,params:{org:e.org,agentId:a},search:{}}:Hl({org:e.org,agentId:a,tabId:e.tabId}):null}function Wd(e,t){const a=Er(t);return a?{to:Ke.root,params:{org:e,agentId:a},search:{}}:{to:Ct.home,params:{org:e},search:{}}}function Fue(e){const{main:t}=e;if(t===void 0)return null;const a=e.search??{};if(t===0||t==="0")return{kind:"same-route",search:{...Cb(a,X4),mainpanel:!1}};if(t==="chat"){const n=Wd(e.org,e.agentId);return{kind:"canonical",route:n,search:{...ql(a,n),sidepanel:!0,mainpanel:!1}}}const o=em({org:e.org,agentId:e.agentId,tabId:t,search:a});return o?{kind:"canonical",route:o,search:ql(a,o)}:null}function Ai(e){return typeof e=="string"&&e.length>0?e:void 0}function N0(e){const t=e.search??{};if((t.main===0||t.main==="0")&&e.panel){const i=N0({...e,search:Cb(t,X4)});return i?.kind!=="canonical"?i:{...i,search:{...i.search,mainpanel:!1}}}if(t.main!==void 0)return Fue({org:e.org,agentId:e.agentId,main:t.main,search:t});const a=Er(e.agentId),o=e.panel;if(!o){const i=Wd(e.org,a);return{kind:"canonical",route:i,search:ql(t,i)}}const n=kue(o,{file:Ai(t.file),key:Ai(t.key),deck:Ai(t.deck),path:Ai(t.path),connection:Ai(t.connection),tool:Ai(t.tool),automation:Ai(t.automation)}),r=n?e.source==="project-first"&&n==="overview"&&a?Hl({org:e.org,agentId:a,tabId:n}):em({org:e.org,agentId:a,tabId:n,search:t}):em({org:e.org,agentId:a,tabId:"",search:t});return r?{kind:"canonical",route:r,search:n==="chat"?{...ql(t,r),sidepanel:!0,mainpanel:!1}:ql(t,r)}:null}function V0e(e){const t=e.search??{},a=Er(t.virtualmcpid),o=Er(e.fallbackAgentId),n=t.main;let r;if(n==="chat")r=Wd(e.org,a);else if(n!==void 0&&n!==0&&n!=="0"){const i=em({org:e.org,agentId:a,tabId:n,search:t}),c=!i&&n.trim().length>0&&o?em({org:e.org,agentId:o,tabId:n,search:t}):null;r=i??c??{to:Ct.home,params:{org:e.org},search:{}}}else r=Wd(e.org,a);return{route:r,search:{...ql(t,r),...n===void 0&&t.sidepanel===void 0?{sidepanel:!0}:{},...n===0||n==="0"?{mainpanel:!1}:{},...n==="chat"?{sidepanel:!0,mainpanel:!1}:{},thread:e.taskId}}}function a5(e,t){if(t.task===void 0)return null;const{task:a,...o}=t;return{taskKey:e??(a.trim()||void 0),search:o}}const jue={contentPageId:$().optional(),contentPath:$().optional(),contentPathTemplate:$().optional(),contentCollection:$().optional(),contentItem:$().optional()},o5=jue,ZE={view:$().optional(),group:$().optional(),subgroup:$().optional(),sort:$().optional(),dir:$().optional(),q:$().optional(),assignee:$().optional(),priority:$().optional(),due:$().optional(),tags:$().optional(),repo:$().optional(),sprint:$().optional(),boardOrg:$().optional()},zue=["files","brand","connections","repositories","skills","memory","instructions","general","views","repository","site"],Dv={fileView:Wt(["all","documents","media"]).catch("all").optional(),modified:Wt(["any","today","week","month"]).catch("any").optional(),layout:Wt(["list","grid"]).catch("list").optional(),sort:Wt(["name","updated","size"]).catch("name").optional(),path:$().optional(),preview:$().optional(),expanded:fx().optional().catch(void 0),skill:$().optional(),brand:$().optional(),section:Wt(zue).catch("files").optional(),scope:Wt(["user"]).optional().catch(void 0),action:Wt(["create"]).optional().catch(void 0),tab:Wt(["all","connected"]).optional().catch(void 0)},que={file:$().optional(),key:$().optional(),deck:$().optional(),path:$().optional(),connection:$().optional(),tool:$().optional(),automation:$().optional(),section:$().optional(),preview:$().optional(),autosend:$().optional(),connect:eb().optional(),siteUrl:$().optional(),...o5},n5={...que,task:$().optional(),project:$().optional(),...ZE,skill:Dv.skill,brand:Dv.brand},xm=Se(n5),r5="blog-manager/posts/";function H0e(e){return e.startsWith(r5)}function Uue(e){return e.split("/").pop()??e}function G0e(e){return`${r5}${e}`}function W0e(e){return`collections/blog/posts/${e}`}const $ue=["context","posts","authors","categories","post-schedule"],s5=Wt($ue),Vue={blogCollection:s5.optional(),blogItem:$().optional()};function K0e(e,t){return e==="context"&&!t?"posts":e}const Hue=Wt(["edit","preview"]),Gue={blogView:Hue.optional()};function Y0e(e){const t=s5.safeParse(e.contentCollection);if(!t.success)return null;const a=t.data,o=e.contentItem;return a==="posts"?o?{collection:a,postId:Uue(o)}:{collection:a}:o?{collection:a,item:o}:{collection:a}}function Q0e(e){const t=e.blogCollection;return t==="authors"||t==="categories"?e.blogItem?{contentCollection:t,contentItem:e.blogItem}:{contentCollection:t}:{contentCollection:"posts"}}const Ho=lV({component:()=>y.jsx(jde,{children:y.jsx(Sk,{})})}),Wue=Ae({getParentRoute:()=>Ho,path:"/login",component:Be(()=>Fe(()=>import("./login-CIC76liy.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),validateSearch:es(()=>Se({next:$().optional(),client_id:$().optional(),redirect_uri:$().optional(),response_type:$().optional(),state:$().optional(),scope:$().optional(),code_challenge:$().optional(),code_challenge_method:$().optional(),src:$().optional(),ref:$().optional()}))}),Kue=Ae({getParentRoute:()=>Ho,path:"/cli/auth-success",component:Be(()=>Fe(()=>import("./cli-auth-success-4m_qDet6.js"),__vite__mapDeps([9,5])))}),Yue=Ae({getParentRoute:()=>Ho,path:"/reset-password",component:Be(()=>Fe(()=>import("./reset-password-Bkf_fwQB.js"),[])),validateSearch:es(()=>Se({token:$().optional(),error:$().optional()}))}),Que=Ae({getParentRoute:()=>Ho,path:"/auth/$pathname",component:Be(()=>Fe(()=>import("./auth-catchall-DC_pvXWR.js"),[]))}),Zue=Ae({getParentRoute:()=>Ho,path:"/oauth/callback",component:Be(()=>Fe(()=>import("./oauth-callback-BCJ9lzNV.js"),__vite__mapDeps([10,11,12])))}),Jue=Ae({getParentRoute:()=>Ho,path:"/oauth/consent",component:Be(()=>Fe(()=>import("./oauth-consent-aERAtVyD.js"),__vite__mapDeps([13,5,1,2,3,4])))}),Xue=Ae({getParentRoute:()=>Ho,path:"/oauth/callback/ai-provider",component:Be(()=>Fe(()=>import("./oauth-callback-ai-provider-DUTt9OdA.js"),[]))}),km=Ae({getParentRoute:()=>Ho,path:"/_admin",component:Be(()=>Fe(()=>import("./layout-BCbrxcxs.js"),__vite__mapDeps([14,15,16])))}),epe=Ae({getParentRoute:()=>km,path:"/",beforeLoad:()=>{throw ua({to:"/_admin/users"})}}),tpe=Ae({getParentRoute:()=>km,path:"/users",component:Be(()=>Fe(()=>import("./users-B7RH0HPb.js"),__vite__mapDeps([17,18,19,20,21,22,23,24,25,26])))}),ape=Ae({getParentRoute:()=>km,path:"/orgs",component:Be(()=>Fe(()=>import("./orgs-BaQBoOtD.js"),__vite__mapDeps([27,18,19,20,21,22,23,28,25,29,30,31,32,33,34,35,24,36,37,26])))}),ope=Ae({getParentRoute:()=>km,path:"/prompts",component:Be(()=>Fe(()=>import("./prompts-RK2BST5w.js"),__vite__mapDeps([38,21,28,35,26])))}),npe=km.addChildren([epe,tpe,ape,ope]),JE=Ae({getParentRoute:()=>Ho,id:"shell",component:Be(()=>Fe(()=>import("./shell-layout-B0CrobX4.js").then(e=>e.s),__vite__mapDeps([39,40,41,16,26,42,43,44,45,20,46,47,48,49,32,50,33,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,71,72,73,12,4,3,74,75,37,76,77,78,79,80,81,82,83,84,85,25,86,28,87,88,31,89,90,91,92,93,94,6,7,8,15,95,96,97,98])))}),rpe=Ae({getParentRoute:()=>JE,path:"/",beforeLoad:async()=>{const e=eue();if(e)throw ua({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(Nr.lastOrgSlug());if(t)throw ua({to:"/$org",params:{org:t}});const{data:a}=await zB();if(!a)return;const o=a[0];throw ua(o?{to:"/$org",params:{org:o.slug}}:{to:"/onboarding"})}}),spe=Ae({getParentRoute:()=>Ho,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await zB();if(e&&e.length>0)throw ua({to:"/"})},component:Be(()=>Fe(()=>import("./onboarding-BEeDAE1n.js"),__vite__mapDeps([99,15,5,100,64,28,34,40,49,67])))}),i5=es(()=>Se({org:$().optional(),siteUrl:$().optional(),fix:$().optional()})),ipe=Ae({getParentRoute:()=>Ho,path:"/reports-onboarding",component:Be(()=>Fe(()=>import("./reports-onboarding-CoRYS8wo.js"),__vite__mapDeps([101,102,1,2,3,4,5,100,64,103,104,28,105,73,12,106,83,51,42,43,44,45,20,46,47,48,40,49,32,50,33,41,52,53,54,55,56,57,58,59,60,61,62,63,23,65,66,67,68,69,70,88,31,107,108,109,110,25,111,112,113,11,114,115,116,117,118,119]))),validateSearch:i5}),lpe=Ae({getParentRoute:()=>Ho,path:"/commerce-onboarding",validateSearch:i5,beforeLoad:({search:e})=>{throw ua({to:"/reports-onboarding",search:e})}}),cpe=Ae({getParentRoute:()=>Ho,path:"/choose-editor",component:Be(()=>Fe(()=>import("./choose-editor-Xa2hczm2.js"),__vite__mapDeps([120,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,15]))),validateSearch:es(()=>Se({site:$().optional(),domain:$().optional(),pageId:$().optional(),path:$().optional(),pathTemplate:$().optional()}))}),XE=Ae({getParentRoute:()=>Ho,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor"},component:Be(()=>Fe(()=>import("./site-editor-CRBSEbgW.js"),__vite__mapDeps([121,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,129,8,88,31,54,69,130,131,132,133,134,135,136,59,137,138,139,45,42,43,44,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,140,71,103,104,28,141,142,85,81,82,25,143,35,144,145,146,147,148,149,150,151,7,152,153,29,30,154,155,156,157,158,159,160,161,162,21,22,163,164,165,166,167,168,169,170,171,34,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,39,16,26,83,84,86,87,89,92,94,6,15,97,98,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,111,209,210,211,212,117,213,214,215,216,217,218,219,220,221,222,223,224,225,24,226,227,228,229,18,19,230,231,232,233,234,235,236,237,238,110,239,240,241,242,243,244,245,246,115,108,116,247,248,249,250,112,113,11,251,252,253,254,255,256,257,258])))}),dpe=Ae({getParentRoute:()=>XE,path:"/",staticData:{mainView:"site-editor",siteEditorView:"preview",local:!0},component:Be(()=>Fe(()=>import("./site-editor-CRBSEbgW.js"),__vite__mapDeps([121,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,129,8,88,31,54,69,130,131,132,133,134,135,136,59,137,138,139,45,42,43,44,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,140,71,103,104,28,141,142,85,81,82,25,143,35,144,145,146,147,148,149,150,151,7,152,153,29,30,154,155,156,157,158,159,160,161,162,21,22,163,164,165,166,167,168,169,170,171,34,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,39,16,26,83,84,86,87,89,92,94,6,15,97,98,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,111,209,210,211,212,117,213,214,215,216,217,218,219,220,221,222,223,224,225,24,226,227,228,229,18,19,230,231,232,233,234,235,236,237,238,110,239,240,241,242,243,244,245,246,115,108,116,247,248,249,250,112,113,11,251,252,253,254,255,256,257,258])),"SiteEditorPreview")}),upe=Ae({getParentRoute:()=>XE,path:"/content",staticData:{mainView:"content",siteEditorView:"content",local:!0},component:Be(()=>Fe(()=>import("./site-editor-CRBSEbgW.js"),__vite__mapDeps([121,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,129,8,88,31,54,69,130,131,132,133,134,135,136,59,137,138,139,45,42,43,44,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,140,71,103,104,28,141,142,85,81,82,25,143,35,144,145,146,147,148,149,150,151,7,152,153,29,30,154,155,156,157,158,159,160,161,162,21,22,163,164,165,166,167,168,169,170,171,34,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,39,16,26,83,84,86,87,89,92,94,6,15,97,98,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,111,209,210,211,212,117,213,214,215,216,217,218,219,220,221,222,223,224,225,24,226,227,228,229,18,19,230,231,232,233,234,235,236,237,238,110,239,240,241,242,243,244,245,246,115,108,116,247,248,249,250,112,113,11,251,252,253,254,255,256,257,258])),"SiteEditorContent")}),ppe=Ae({getParentRoute:()=>Ho,path:"/report/$domain",component:Be(()=>Fe(()=>import("./reports-DiiYMFp7.js"),__vite__mapDeps([259,114,4,1,2,3,260])))}),Pb=Ae({getParentRoute:()=>JE,path:"/$org",loader:({params:e})=>aue(e.org),pendingMs:1/0,component:Be(()=>Fe(()=>import("./route-BcZK3YCw.js"),__vite__mapDeps([261,137,131,8,132,88,31,138,139,45,42,43,44,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,140,71,72,73,12,4,3,74,75,37,76,103,104,28,141,142,96,93,78,85,77,81,82,25,143,35,130,133,79,80,134,126,151,7,16,240,124,123,245,206,30,262,90,91,263,24,264,265,173,165,149,154,266,34,89,267,155,214,231,230,268,188,94,84,187,127,190,153,110,269,243])))}),_b=Ae({getParentRoute:()=>Pb,id:"org-shell",pendingComponent:Xd,component:Be(()=>Fe(()=>import("./thread-route-DFPY6b9-.js"),__vite__mapDeps([270,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,102,271,107,108,109,47,105,106,83,51,42,43,44,45,20,46,48,40,49,32,50,33,41,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,88,31,104,28,110,25,111,112,113,11,114,115,116,117,272,118])))}),mpe=Se({sidepanel:iF,mainpanel:lF,main:la([$(),Ze(0)]).optional(),thread:$().optional(),autosend:$().optional(),preview:$().optional(),virtualmcpid:$().optional()}),tn=Ae({getParentRoute:()=>_b,id:"agent-shell",validateSearch:mpe,search:{middlewares:[O$(["sidepanel","thread"])]},pendingComponent:Xd,component:Be(()=>Fe(()=>import("./route-CH_5nuP_.js"),__vite__mapDeps([273,237,20,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,238,167,168,169,170,42,43,44,45,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,8,88,31,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,195,249,250,112,113,11,251,24,252,253,187,133,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,193,194,132,197,146,214,274,174,148,147,175,21,235,236,149,129,130,131,134,135,136,22,275,276,231,216,215,265,173,165,212,230,141,277,278,279,280,281,156,208,144])))}),hpe=xm.extend({virtualmcpid:$().optional()}),gpe=Ae({getParentRoute:()=>tn,path:"/$taskId",validateSearch:hpe,component:()=>null}),Rt=Be(()=>Fe(()=>import("./index-BpSAkv2Q.js"),__vite__mapDeps([129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125])),"ChatLayoutPending"),Dt=Be(()=>Fe(()=>import("./index-BpSAkv2Q.js"),__vite__mapDeps([129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125])),"ChatLayoutError"),fpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/home",staticData:{pageTitle:"sidebar.navDestinations.home",defaultMain:"overview",mainView:"overview"},validateSearch:Se({connect:eb().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./home-BM2M0ir_.js"),__vite__mapDeps([282,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,238,167,168,169,170,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,195,249,250,112,113,11,251,24,252,253,187,254,283,284,285,286,203,204,202,287,84,141,188,138,189,190,268,288,289,281,156,208,278,279,280,86,85,87,89,25,94,290,262,142])))}),vpe=Ae({getParentRoute:()=>tn,path:"/projects",validateSearch:xm,beforeLoad:({params:e,search:t})=>{const a=(t.project??t.virtualmcpid)?.trim(),o=r=>({...r,virtualmcpid:void 0,project:void 0,task:void 0});if(!a)throw ua({to:"/$org/home",params:{org:e.org},search:o,hash:!0,replace:!0});const n=t.task?.trim();throw ua(n?{to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:a,taskKey:n},search:o,hash:!0,replace:!0}:{to:"/$org/projects/$agentId",params:{org:e.org,agentId:a},search:o,hash:!0,replace:!0})}}),Yt=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/projects/$agentId",validateSearch:xm,beforeLoad:({cause:e,location:t})=>({enteredProject:e!=="preload"&&!Sue(t.state)}),component:Sk}),bpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/",staticData:{pageTitle:"page.overview",defaultMain:"overview",mainView:"overview"},component:Be(()=>Fe(()=>import("./agent-overview-0qKuyyc3.js"),__vite__mapDeps([291,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,238,167,168,169,170,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,195,249,250,112,113,11,251,24,252,253,187,254,283,284,285,286,203,204,202,287,84,141,188,138,189,190,268,288,262,277])))}),ype=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:Se({task:$().optional(),...ZE}),beforeLoad:({params:e,search:t})=>{const a=a5(e.taskKey,t);if(a)throw ua({to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:e.agentId,taskKey:a?.taskKey??e.taskKey},search:a.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./project-tasks-BiRpzten.js"),__vite__mapDeps([292,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,293,138,139,294,205,50,81,82,23,151,42,43,44,45,20,46,47,48,40,49,32,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,65,66,67,68,70,295,24,110,128,90,91,296,75,37,74,3,297,140,263,268,188,86,28,85,72,4,76,87,89,92,25,93,94,187,127,289,29,30,298,143,189,190,182,211,186,170,169,122,95,96,123,124,299,167,168,171,104,183,242,300,219,175,301,195,84,109,302,253,185,39,16,26,71,83,6,7,15,97,98,191,192,193,194,196,197,198,252,274,234,239,303,244,245])))}),wpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:Se({connect:eb().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./project-reports-DF_CqS1r.js"),__vite__mapDeps([304,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,305,47,102,271,107,108,109,118,119,42,43,44,45,20,46,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,81,82,94,72,4,3,74,75,37,76,290,86,28,85,87,89,90,91,92,25,93,306])))}),Ab=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor",defaultMain:"site-editor",mainView:"site-editor"},validateSearch:Se({autosend:$().optional(),...o5}),component:Be(()=>Fe(()=>import("./agent-site-editor-Cs2byz0P.js"),__vite__mapDeps([232,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,233,234,145,146,147,148,149,150,151,7,88,31,8,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,152,153,29,30,154,155,156,157,71,134,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,133,254,185,186,138,188,189,190,191,192,193,194,132,197,214,221,222,210,211,178,208,255,174,175,256,226,129,130,131,135,136,257,258])))}),Spe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/blog",staticData:{pageTitle:"sidebar.projectNav.blog",defaultMain:"blog",mainView:"blog"},validateSearch:Se(Vue),component:Be(()=>Fe(()=>import("./agent-blog-Cafvmf-h.js"),__vite__mapDeps([307,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,233,234,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,145,146,147,148,149,150,151,7,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,152,153,29,30,154,155,156,157,71,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,214,221,222,210,211,178,208,255,174,175,303,206,218,160,161,22,165,166,184,219,223,224,225,226,173,227,228,207,308,209,309,275,276,231,216,215,265,257])))}),Tpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/blog/posts/$postId",staticData:{pageTitle:"sidebar.projectNav.blog",defaultMain:"blog",mainView:"blog-post"},validateSearch:Se(Gue),component:Be(()=>Fe(()=>import("./agent-blog-post-Dqts0p9T.js"),__vite__mapDeps([310,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,233,234,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,145,146,147,148,149,150,151,7,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,152,153,29,30,154,155,156,157,71,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,214,221,222,210,211,178,208,255,174,175,303,226,184,227,228,161,176,209,308,257])))}),xpe=Ae({getParentRoute:()=>Ab,path:"/",staticData:{defaultMain:"site-editor",mainView:"site-editor",siteEditorView:"preview"},component:Be(()=>Fe(()=>import("./agent-site-editor-preview-DKqXk_Fc.js"),__vite__mapDeps([311,309,275,133,79,80,77,78,73,12,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,238,167,169,170,8,88,31,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,132,197,146,148,147,231,216,215,265,173,165,149,212,303,158,159,160,145,156,157,161,162,21,22,166,34,174,175,176,134,177,178,179,180,181,182,183,139,184,199,200,201,202,203,204,205,206,207,208,111,209,144,135,210,211,213])))}),kpe=Ae({getParentRoute:()=>Ab,path:"/content",staticData:{defaultMain:"content",mainView:"content",siteEditorView:"content"},component:Be(()=>Fe(()=>import("./agent-site-editor-content-CBrR-oWD.js"),__vite__mapDeps([312,309,275,133,79,80,77,78,73,12,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,238,167,169,170,8,88,31,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,132,197,146,148,147,231,216,215,265,173,165,149,212,303,217,181,160,145,156,157,161,162,21,22,166,159,34,182,183,139,184,175,178,199,200,201,202,203,204,205,206,218,219,220,221,222,223,224,225,226,227,228,207,208,174,180,229,18,19])))}),Epe=Ae({getParentRoute:()=>Ab,path:"/code",staticData:{defaultMain:"code",mainView:"code",siteEditorView:"code"},validateSearch:Se({file:$().optional()}),component:Be(()=>Fe(()=>import("./agent-site-editor-code-Cf9FJAgn.js"),__vite__mapDeps([313,309,275,133,79,80,77,78,73,12,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,238,167,169,170,8,88,31,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,132,197,146,148,147,231,216,215,265,173,165,149,212,303,21])))}),Cpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/automations",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automations"},beforeLoad:({params:e,search:t})=>{const a=t.automation;if(a)throw ua({to:"/$org/projects/$agentId/automations/$automationId",params:{org:e.org,agentId:e.agentId,automationId:a},search:o=>({...o,automation:void 0}),hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./agent-automations-B4IdsMR9.js"),__vite__mapDeps([314,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,64,44,70,22,23,21,296,315,24,55,66,42,43,45,20,46,47,48,40,49,32,50,33,41,51,52,53,56,2,57,58,60,61,62,63,65,67,68])))}),Ppe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/automations/$automationId",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automation"},validateSearch:Se({automationView:Wt(["settings","runs"]).optional()}),component:Be(()=>Fe(()=>import("./agent-automation-BfbO9Khi.js"),__vite__mapDeps([316,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,153,34,151,81,82,171,195,276,83,317,7,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,152,29,30,154,155,318,296,186,39,16,26,71,84,85,25,86,28,87,89,92,94,6,15,97,98,319,241,242,167,168,169,170,104,196,320,188,138,321,163,164,207,208,322,19,21,323,252,274,302,253,185,187,189,190,191,192,193,194,197,198,251])))}),_pe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/settings",staticData:{pageTitle:"sidebar.navDestinations.settings",defaultMain:"settings",mainView:"settings"},component:Be(()=>Fe(()=>import("./agent-settings-BhODPzv3.js"),__vite__mapDeps([324,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,325,48,42,43,44,45,20,46,47,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,326,327,328,329,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,35,21,330,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,331,115,108,116,117,318,267,113,11,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,198,332,193,153,276,196,168,34,151,206,214,265,173,165,149,264,170,36,212,147,333,334,194,213,236])))}),Ape=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:Se(Dv),component:Be(()=>Fe(()=>import("./agent-library-CRndyLSN.js"),__vite__mapDeps([335,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,336,56,64,67,22,23,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,25,337,35,32,33,42,43,44,45,20,46,47,48,40,49,50,41,51,52,53,55,2,57,58,60,61,62,63,65,66,68,70,169,170,325,326,327,328,329,21,330,39,16,26,71,81,82,83,84,85,86,28,87,89,92,94,6,7,15,97,98,280,151,278,279,110,281,156,208,198,338,226,19,331,115,108,116,117,318,267,113,11,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,332,193,153,276,196,168,34,206,214,265,173,165,149,264,36,212,147,333,334,194,213,236])))}),Rpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/assets",staticData:{pageTitle:"common.mainPanelTabs.assets",defaultMain:"assets",mainView:"assets"},component:Be(()=>Fe(()=>import("./agent-assets-CamOcpgT.js"),__vite__mapDeps([339,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,309,275,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,238,167,169,170,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,197,146,148,147,231,216,215,265,173,165,149,212,22,166,226])))}),Dpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/releases",staticData:{pageTitle:"common.mainPanelTabs.releases",defaultMain:"releases",mainView:"releases"},component:Be(()=>Fe(()=>import("./agent-releases-Bf5mW-Cb.js"),__vite__mapDeps([340,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,309,275,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,238,167,169,170,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,197,146,148,147,231,216,215,265,173,165,149,212,226,145,156,157,222])))}),Ope=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/hosting",staticData:{pageTitle:"common.mainPanelTabs.hosting",defaultMain:"hosting",mainView:"hosting"},component:Be(()=>Fe(()=>import("./agent-hosting-nth6pteI.js"),__vite__mapDeps([341,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,24,226,149,43,44,42,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,110,19,186,28,29,30,172,164,342,331,115,108,116,117,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,318,21,39,16,26,71,81,82,83,84,85,25,86,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,249,250,112,251,252,253,198,332,193,153,276,196,168,34,151,206,214,265,173,165,264,329,170,36,212,147,333,334,194,213,236])))}),Npe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/e2e",staticData:{pageTitle:"common.mainPanelTabs.e2e",defaultMain:"e2e",mainView:"e2e"},component:Be(()=>Fe(()=>import("./agent-e2e-WoNG4ZEl.js"),__vite__mapDeps([343,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,28,29,30,19,226,186,163,164,342,331,115,108,116,117,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,318,21,39,16,26,71,81,82,83,84,85,25,86,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,249,250,112,251,252,253,198,332,193,153,276,196,168,34,151,206,214,265,173,165,149,264,329,170,36,212,147,333,334,194,213,236])))}),Mpe=Ae({getParentRoute:()=>Yt,path:"/analytics",validateSearch:Se({view:$().optional()}),beforeLoad:({params:e,search:t})=>{throw ua({to:"/$org/projects/$agentId/monitoring",params:e,search:{view:t.view==="experiments"?"experiments":"audience"},replace:!0})}}),Ipe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/taskboard-analytics",staticData:{pageTitle:"taskBoard.analytics.title",defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-D8X9MO7l.js"),__vite__mapDeps([344,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,251,24,294,345,151,206,30,32,44,182,346,286,203,204,202,287,19,43,20,172,164,188,138,49,56,75,37,347,189,190,205,50,81,82,23])))}),Lpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/experiments",staticData:{pageTitle:"common.mainPanelTabs.experiments",defaultMain:"experiments",mainView:"experiments"},validateSearch:Se({test:$().optional().catch(void 0)}),component:Be(()=>Fe(()=>import("./agent-experiments-Dn6ATqm3.js"),__vite__mapDeps([348,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,233,234,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,145,146,147,148,149,150,151,7,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,152,153,29,30,154,155,156,157,71,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,214,221,222,210,211,178,208,255,174,175,349,226,350,199,200,201,202,203,204,351,161,228,220,256])))}),Bpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/calendar",staticData:{pageTitle:"common.mainPanelTabs.calendar",defaultMain:"calendar",mainView:"calendar"},component:Be(()=>Fe(()=>import("./agent-calendar-yZ-kBQTO.js"),__vite__mapDeps([352,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,233,234,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,145,146,147,148,149,150,151,7,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,152,153,29,30,154,155,156,157,71,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,214,221,222,210,211,178,208,255,174,175,226,206,220,350,199,200,201,202,203,204,351,161,228,225,256,342,331,318,267,319,332,276,34,265,173,165,264,329,36,333,334,213])))}),Fpe=Ae({getParentRoute:()=>Yt,path:"/cdn",beforeLoad:({params:e})=>{throw ua({to:"/$org/projects/$agentId/monitoring",params:e,search:{view:"performance"},replace:!0})}}),l5=Se({args:$().optional()}),jpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/apps/$connectionId/$toolName",validateSearch:l5,staticData:{pageTitle:"page.app",defaultMain:"app",mainView:"app"},component:Be(()=>Fe(()=>import("./agent-app-BVo-JN5-.js"),__vite__mapDeps([353,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,216,72,4,3,74,75,37,76,354,171,276,191,192,193,122,95,96,93,123,124,127,128,90,91,39,40,41,16,26,42,43,44,45,20,46,47,48,49,32,50,33,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,189,138,190,355,102,106,107,108,109,104,110,111,112,113,11,114,115,116,117])))}),zpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/views/$viewId",validateSearch:l5,staticData:{pageTitle:"page.view",defaultMain:"view",mainView:"view"},component:Be(()=>Fe(()=>import("./agent-view-B6-XGf3q.js"),__vite__mapDeps([356,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,354,171,276,191,192,193,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,39,40,41,16,26,42,43,44,45,20,46,47,48,49,32,50,33,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,189,138,190,355,102,106,107,108,109,104,110,111,112,113,11,114,115,116,117,342,331,318,21,267,35,195,319,246,247,248,29,30,249,250,251,24,252,253,198,332,153,196,168,34,151,206,214,265,173,165,149,264,329,170,36,212,147,333,334,194,213,236])))}),qpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/outputs/file",staticData:{pageTitle:"page.file",defaultMain:"file",mainView:"file"},validateSearch:Se({key:$().optional()}),component:Be(()=>Fe(()=>import("./agent-file-BdlM9DC-.js"),__vite__mapDeps([357,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,198,281,128,90,91,156,208,169,170,122,95,96,93,37,75,72,4,3,74,76,123,124,127,197,342,331,115,108,116,117,318,21,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,332,193,153,276,196,168,34,151,206,214,265,173,165,149,264,329,36,212,147,333,334,194,213,236])))}),Upe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/outputs/deck",staticData:{pageTitle:"page.document",defaultMain:"deck",mainView:"deck"},validateSearch:Se({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-deck-BV2v1bg2.js"),__vite__mapDeps([358,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,280,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,128,90,91,151,342,331,115,108,116,117,122,95,96,93,37,75,72,4,3,74,76,123,124,127,318,21,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,198,332,193,153,276,196,168,34,206,214,265,173,165,149,264,329,170,36,212,147,333,334,194,213,236])))}),$pe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/library/file",staticData:{pageTitle:"page.file",defaultMain:"library-file",mainView:"library-file"},validateSearch:Se({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-library-file-CHMBjLP9.js"),__vite__mapDeps([359,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,360,279,110,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,280,128,90,91,151,281,156,208,198,169,170,122,95,96,93,37,75,72,4,3,74,76,123,124,127,342,331,115,108,116,117,318,21,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,332,193,153,276,196,168,34,206,214,265,173,165,149,264,329,36,212,147,333,334,194,213,236])))}),Vpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/connect-sources",staticData:{pageTitle:"settings.nav.connect",defaultMain:"connect-sources",mainView:"connect-sources"},component:Be(()=>Fe(()=>import("./agent-connect-sources-D6NBeEEC.js"),__vite__mapDeps([361,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,105,102,106,83,51,42,43,44,45,20,46,47,48,40,49,32,50,33,41,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,107,108,109,104,28,110,25,111,112,113,11,114,115,116,117,272,118])))}),Hpe=Ae({getParentRoute:()=>Yt,path:"/$legacyView",component:()=>null}),Gpe=Ae({getParentRoute:()=>tn,path:"/agents",validateSearch:xm,beforeLoad:({params:e,search:t})=>{const a=t.virtualmcpid?.trim();throw ua(a?{to:"/$org/projects/$agentId",params:{org:e.org,agentId:a},search:o=>o,hash:!0,replace:!0}:{to:"/$org/projects",params:{org:e.org},search:o=>o,hash:!0,replace:!0})}}),Wpe=Ae({getParentRoute:()=>tn,path:"/agents/$",validateSearch:xm,beforeLoad:({params:e,location:t})=>{const a=e._splat?.split("/").find(Boolean);if(!t5(a))return;const o=Due(t.pathname);if(!o)return;const n=t.hash?`#${t.hash}`:"";throw ua({href:`${o}${t.searchStr}${n}`,replace:!0})},component:Be(()=>Fe(()=>import("./legacy-agents-deep-suvWZq4w.js"),__vite__mapDeps([362,277,80])))}),Kpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:Se({task:$().optional(),...ZE}),beforeLoad:({params:e,search:t})=>{const a=a5(e.taskKey,t);if(a)throw ua({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:a.taskKey},search:a.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./tasks-B5T10R9U.js"),__vite__mapDeps([363,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,293,138,139,294,205,50,81,82,23,151,42,43,44,45,20,46,47,48,40,49,32,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,65,66,67,68,70,295,24,110,128,90,91,296,75,37,74,3,297,140,263,268,188,86,28,85,72,4,76,87,89,92,25,93,94,187,127,289,29,30,298,143,189,190,182,211,186,170,169,122,95,96,123,124,299,167,168,171,104,183,242,300,219,175,301,195,84,109,302,253,185,39,16,26,71,83,6,7,15,97,98,191,192,193,194,196,197,198,252,274,234,239,303,244,245])))}),Ype=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/taskboard-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-D8X9MO7l.js"),__vite__mapDeps([344,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,251,24,294,345,151,206,30,32,44,182,346,286,203,204,202,287,19,43,20,172,164,188,138,49,56,75,37,347,189,190,205,50,81,82,23])))}),Qpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/thread-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./thread-analytics-BEFAIWhI.js"),__vite__mapDeps([364,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,346,286,203,204,202,287,19,43,20,44,172,164,24,188,138,49,56,75,37,347,74,3,205,50,81,82,23,151,29,30,32,33,163,302,253,91,51,185,42,45,46,47,48,40,41,52,53,55,2,57,58,60,61,62,63,64,65,66,67,68,70,186,170,167,168,169,122,95,96,93,72,4,76,123,124,127,128,90,171,104,28,187,189,190,39,16,26,71,83,84,85,25,86,87,89,92,94,6,7,15,97,98,191,192,193,194,195,196,197,198,252,274])))}),Zpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:Se({connect:eb().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./reports-CAZ7fJej.js"),__vite__mapDeps([365,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,305,47,102,271,107,108,109,118,119,42,43,44,45,20,46,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,81,82,94,72,4,3,74,75,37,76,290,86,28,85,87,89,90,91,92,25,93,306])))}),Jpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:Se(Dv),component:Be(()=>Fe(()=>import("./library-Dp3HrH7T.js"),__vite__mapDeps([366,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,8,129,88,31,54,69,130,131,132,133,134,135,136,59,325,48,42,43,44,45,20,46,47,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,326,327,328,329,35,21,330,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,360,279,110,280,151,281,156,208,198,169,170,336,22,337,278,338,226,19])))}),Xpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Be(()=>Fe(()=>import("./plan-CEsNJEgV.js"),__vite__mapDeps([367,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,368,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,35,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,237,238,167,168,169,170,171,104,110,198,239,150,151,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,115,108,116,117,247,248,195,249,250,112,113,11,251,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,146,214,267,369])))}),c5=Se({view:Wt(["metrics","alerts","performance","logs","audience","heatmap","analytics","errors","realtime","pages","events","deploys","experiments"]).optional().catch(void 0),date:gL().optional().catch(void 0),store:$().optional(),at:$().optional(),project:$().optional(),section:$().optional(),customer:$().optional(),test:$().optional().catch(void 0),f:je($()).optional().catch(void 0),currency:$().optional(),prop:$().optional()}),eme=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:c5,component:Be(()=>Fe(()=>import("./monitoring-Dhz_4NNt.js"),__vite__mapDeps([370,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,226,151,371,286,203,204,202,287,24,182,74,75,37,3,111,347,288,138,90,91,122,95,96,93,72,4,76,123,124,127,128,150,7,152,153,29,30,154,155,330,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,15,97,98,346,19,172,164,188,355,102,106,107,108,109,104,110,112,113,11,114,115,116,117,195,205,200,201,163,149,349,350,162,145,146,147,148,156,157,21,199,351,161,228,220,256,372,35,297,301,22,34,323,252,373])))}),tme=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Be(()=>Fe(()=>import("./plan-CEsNJEgV.js"),__vite__mapDeps([367,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,368,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,35,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,237,238,167,168,169,170,171,104,110,198,239,150,151,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,115,108,116,117,247,248,195,249,250,112,113,11,251,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,146,214,267,369])))}),ame=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/plan/case",staticData:{pageTitle:"page.businessCase",defaultMain:"business-case",mainView:"business-case"},validateSearch:Se({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-business-case-BhUa4Myx.js"),__vite__mapDeps([374,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,368,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,35,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,237,238,167,168,169,170,171,104,110,198,239,150,151,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,115,108,116,117,247,248,195,249,250,112,113,11,251,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,146,214,267,369])))}),ome=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:c5,component:Be(()=>Fe(()=>import("./monitoring-Dhz_4NNt.js"),__vite__mapDeps([370,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,226,151,371,286,203,204,202,287,24,182,74,75,37,3,111,347,288,138,90,91,122,95,96,93,72,4,76,123,124,127,128,150,7,152,153,29,30,154,155,330,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,15,97,98,346,19,172,164,188,355,102,106,107,108,109,104,110,112,113,11,114,115,116,117,195,205,200,201,163,149,349,350,162,145,146,147,148,156,157,21,199,351,161,228,220,256,372,35,297,301,22,34,323,252,373])))}),nme=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/discover",staticData:{pageTitle:"sidebar.navDestinations.discover",defaultMain:"discover",mainView:"discover"},component:Be(()=>Fe(()=>import("./discover-DqSkXP2Q.js"),__vite__mapDeps([375,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,47,53,57,64,68,89,195,165,173,212,117,76])))}),rme=Ae({getParentRoute:()=>Pb,path:"/members",beforeLoad:({params:e})=>{throw ua({to:"/$org/settings/members",params:{org:e.org}})}}),sme=Se({main:la([$(),Ze(0)]).optional(),virtualmcpid:$().optional(),...n5,sidepanel:iF,mainpanel:lF,thread:$().optional()}),ime=Ae({getParentRoute:()=>_b,path:"/",validateSearch:sme,pendingComponent:Xd,component:Be(()=>Fe(()=>import("./index-DOAcfhWB.js"),__vite__mapDeps([376,277,80])))}),lme=Ae({getParentRoute:()=>_b,path:"/t/$taskKey",beforeLoad:({params:e})=>{throw ua({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:e.taskKey},search:t=>t,hash:!0,replace:!0})}}),ca=Ae({staticData:{pageTitle:"sidebar.navDestinations.settings"},getParentRoute:()=>Pb,path:"/settings",pendingComponent:Xd,component:Be(()=>Fe(()=>import("./route-ZfCX71Dd.js"),__vite__mapDeps([377,8,136,59,131,132,88,31,134,77,78,73,12,125,126,80,378,64,24,151,172,164,124,123,245])))}),cme=Ae({getParentRoute:()=>ca,path:"/",component:Be(()=>Fe(()=>import("./index-redirect-D7g6EvmF.js"),__vite__mapDeps([379,328])))}),dme=Ae({getParentRoute:()=>ca,path:"/connections",validateSearch:es(()=>Se({action:Wt(["create"]).optional(),tab:Wt(["all","connected"]).optional()})),beforeLoad:({params:e,search:t})=>{throw ua({to:"/$org/library",params:{org:e.org},search:{section:"connections",...t},replace:!0})}}),ume=Ae({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>ca,path:"/connections/$appSlug",component:Be(()=>Fe(()=>import("./connection-detail-BDZh3nKl.js"),__vite__mapDeps([380,115,108,116,117,21,250,64,66,381,73,12,276,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,23,65,67,68,69,70,195,29,30,31,204,382,201,82,151,88,78,8,85,72,4,3,74,75,37,76,249,332,24,193,11,113,83,132,104,28,196,383,384,286,203,202,287,347,163,164,248,192,92]))),validateSearch:es(()=>Se({tab:$().optional()}))}),pme=Ae({staticData:{pageTitle:"page.item"},getParentRoute:()=>ca,path:"/connections/$appSlug/$collectionName/$itemId",component:Be(()=>Fe(()=>import("./collection-detail-Da5T5FHc.js"),__vite__mapDeps([385,21,73,12,104,28,35,381,276,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,195,115,108,116,117,29,30,31,204,382,201,82,151,88,78,8,85,72,4,3,74,75,37,76,249,192,193,211,248,332,24,11,191,83,122,79,80,77,95,96,93,123,124,125,126,127,128,90,91,39,16,26,71,81,84,25,86,87,89,92,94,6,7,15,97,98,207,208,226]))),validateSearch:es(()=>Se({replayId:$().optional()}))}),mme=Ae({staticData:{pageTitle:"orgs.monitoring.title"},getParentRoute:()=>ca,path:"/monitor",component:Be(()=>Fe(()=>import("./index-B7VjCiRT.js"),__vite__mapDeps([386,22,23,21,326,327,328,185,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,65,66,67,68,69,70,186,170,167,168,169,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,8,88,31,171,104,28,138,187,188,189,190,39,16,26,71,81,82,83,84,85,25,86,87,89,92,94,6,7,15,97,98,191,192,193,194,132,195,196,197,198,248,24,151,207,208,321,153,29,30,345,206,182,35,251,34,211,384,286,203,204,202,287,347,302,253,252,274,19,323,296,322,226,371,111,288,303,244,245]))),validateSearch:es(()=>Se({tab:Wt(["overview","audit","dashboards","threads","automations","stores"]).default("threads"),store:$().optional(),at:$().optional(),from:$().default("now-24h"),to:$().default("now"),connectionId:je($()).optional().default([]),virtualMcpId:je($()).optional().default([]),tool:$().default(""),status:Wt(["all","success","errors"]).default("all"),search:$().default(""),page:Lt().optional(),streaming:Vt().default(!0),propertyFilters:$().default(""),hideSystem:Vt().default(!1)}))}),hme=Ae({staticData:{pageTitle:"settings.nav.general"},getParentRoute:()=>ca,path:"/general",component:Be(()=>Fe(()=>import("./general-KZQuDKZq.js"),__vite__mapDeps([387,319,388,34,48,41,93,37,75,195,73,12,389,24,29,30,31,32,33,328])))}),gme=Ae({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>ca,path:"/connect",pendingComponent:Vs("connect"),component:Be(()=>Fe(()=>import("./connect-BFJ96IAv.js"),__vite__mapDeps([390,211,24,29,30,31,32,33,163,164,170,42,43,44,45,20,46,47,48,40,49,50,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,284,285,73,12,326,327,328,391,226,28,382,276,153,22,83,392,252,253,91,92,116,117,195])))}),fme=Ae({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>ca,path:"/ai-providers",pendingComponent:Vs("billing"),component:Be(()=>Fe(()=>import("./ai-providers-DtnDf2l2.js"),__vite__mapDeps([393,43,124,49,93,37,75,317,7,8,122,79,80,77,78,73,12,95,96,72,4,3,74,76,123,125,126,127,128,90,91,152,153,60,29,30,31,32,33,46,50,58,45,23,154,155,61,56,57,319,378,64,24,151,172,164,88,245,266,34,89,66,267,326,327,328])))}),vme=Ae({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>ca,path:"/billing",beforeLoad:({params:e})=>{throw ua({to:"/$org/settings/ai-providers",params:{org:e.org}})}}),bme=Ae({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>ca,path:"/infra-billing",pendingComponent:Vs("billing"),component:Be(()=>Fe(()=>import("./infra-billing-PmBjX27u.js"),__vite__mapDeps([394,52,24,321,153,60,32,81,82,23,151,29,30,31,33,19,287,203,204,372,347,326,327,328])))}),yme=Ae({staticData:{pageTitle:"settings.nav.secrets"},getParentRoute:()=>ca,path:"/secrets",component:Be(()=>Fe(()=>import("./secrets-DGpgtf7U.js"),__vite__mapDeps([395,43,64,68,226,28,29,30,31,32,33,35,334,326,327,328])))}),wme=Ae({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>ca,path:"/api-keys",pendingComponent:Vs("connect"),component:Be(()=>Fe(()=>import("./api-keys-BWBRmUoJ.js"),__vite__mapDeps([396,391,43,42,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,226,28,24,382,29,30,31,73,12,276,153,22,83,392,252,253,91,92,116,117,195,285,326,327,328])))}),Sme=Ae({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>ca,path:"/buckets",pendingComponent:Vs("storage"),component:Be(()=>Fe(()=>import("./buckets-mVuz76PR.js"),__vite__mapDeps([397,43,64,66,24,226,28,29,30,31,32,33,34,35,165,326,327,328])))}),Tme=Ae({staticData:{pageTitle:"settings.nav.repositories"},getParentRoute:()=>ca,path:"/repositories",validateSearch:Se({git_error:$().optional().catch(void 0),git_flow:$().uuid().optional().catch(void 0),git_installation:Lt().int().positive().safe().optional().catch(void 0),git_return:Vt().optional().catch(void 0)}),pendingComponent:Vs("repositories"),component:Be(()=>Fe(()=>import("./repositories-DhWmEVga.js"),__vite__mapDeps([398,399,87,46,64,88,31,28,89,90,91,92,23,48,65,25,93,37,75,47,153,60,51,68,226,24,211,110,186,29,30,32,33,35,66,333,334,326,327,328])))}),xme=Ae({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>ca,path:"/synced-repos",pendingComponent:Vs("storage"),component:Be(()=>Fe(()=>import("./synced-repos-J7N806y3.js"),__vite__mapDeps([400,64,226,87,46,88,31,28,89,90,91,92,23,48,65,25,93,37,75,337,326,327,328])))}),kme=Ae({staticData:{pageTitle:"settings.nav.tasks"},getParentRoute:()=>ca,path:"/task-board",component:Be(()=>Fe(()=>import("./tasks-BWMxQc4P.js"),__vite__mapDeps([401,153,60,35,50,63,64,205,81,82,23,151,321,24,32,29,30,31,33,34,320,388,48,41,93,37,75,195,73,12,25,296,295,69,70,110,88,132,128,90,91,77,78,74,3,326,327,328])))}),Eme=Ae({getParentRoute:()=>ca,path:"/tasks",beforeLoad:({params:e})=>{throw ua({to:"/$org/settings/task-board",params:{org:e.org}})}}),Cme=Ae({staticData:{pageTitle:"projects.settings.title"},getParentRoute:()=>ca,path:"/projects",component:Be(()=>Fe(()=>import("./projects-DLDVeooh.js"),__vite__mapDeps([402,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,24,22,86,28,73,12,85,78,72,4,3,74,75,37,76,87,88,31,89,90,91,92,25,93,94,290,267,271,107,108,109,306,77,195])))}),Pme=Ae({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>ca,path:"/members",pendingComponent:Vs("members"),component:Be(()=>Fe(()=>import("./members-BVDYMl5s.js"),__vite__mapDeps([403,404,20,55,88,31,172,164,24,22,23,18,19,21,104,28,29,30,32,33,35,405,269,58,66,69,153,60,81,82,151,64,298,326,327,328])))}),_me=Ae({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>ca,path:"/roles",pendingComponent:Vs("members"),component:Be(()=>Fe(()=>import("./roles-BN919U7y.js"),__vite__mapDeps([406,405,24,55,64,66,18,19,20,21,22,23,154,392,83,51,42,43,44,45,46,47,48,40,49,32,50,33,41,52,53,54,56,2,57,58,59,60,61,62,63,65,67,68,69,70,252,153,253,91,73,12,92,116,117,195,78,124,34,88,31,84,77,327,328]))),validateSearch:es(()=>Se({role:$().optional()}))}),Ame=Ae({staticData:{pageTitle:"settings.nav.security"},getParentRoute:()=>ca,path:"/sso",component:Be(()=>Fe(()=>import("./sso-BOXfHaVK.js"),__vite__mapDeps([407,389,24,29,30,31,32,33,34,97,66,326,327,328])))}),Rme=Ae({staticData:{pageTitle:"settings.nav.profile"},getParentRoute:()=>ca,path:"/profile",component:Be(()=>Fe(()=>import("./profile-DXP_cVu3.js"),__vite__mapDeps([408,200,201,30,66,67,34,29,31,32,33,172,164,88,61,62,63,319,243,2,64])))}),Dme=Ae({getParentRoute:()=>ca,path:"/agents",beforeLoad:({params:e})=>{throw ua({to:"/$org/settings/projects",params:{org:e.org}})}}),Ome=Ae({staticData:{pageTitle:"settings.nav.automations"},getParentRoute:()=>ca,path:"/automations",component:Be(()=>Fe(()=>import("./automations-D6gxCniS.js"),__vite__mapDeps([409,64,70,22,23,21,296,73,12,85,78,72,4,3,74,75,37,76,315,24,44,55,66,42,43,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,56,2,57,58,59,60,61,62,63,65,67,68,69,326,327,328])))}),Nme=Ae({getParentRoute:()=>ca,path:"/skills",beforeLoad:({params:e})=>{throw ua({to:"/$org/library",params:{org:e.org},search:{section:"skills"},replace:!0})}}),Mme=Ae({getParentRoute:()=>ca,path:"/memory",validateSearch:es(()=>Se({scope:Wt(["user"]).optional()})),beforeLoad:({params:e,search:t})=>{throw ua({to:"/$org/library",params:{org:e.org},search:{section:"memory",...t},replace:!0})}}),Ime=ca.addChildren([cme,dme,ume,pme,Dme,Ome,Nme,Mme,mme,hme,gme,fme,vme,bme,yme,wme,Sme,Tme,xme,kme,Eme,Cme,Pme,_me,Ame,Rme]),Lme=Ab.addChildren([xpe,kpe,Epe]),Bme=Yt.addChildren([bpe,ype,wpe,Lme,Spe,Tpe,Cpe,Ppe,_pe,Ape,Rpe,Dpe,Ope,Npe,Mpe,Ipe,Lpe,Bpe,Fpe,jpe,zpe,qpe,Upe,$pe,Vpe,Hpe,tme,ame,ome]),Fme=tn.addChildren([gpe,fpe,vpe,Bme,Gpe,Wpe,Kpe,Ype,Qpe,Zpe,Jpe,nme,Xpe,eme]),jme=_b.addChildren([ime,lme,Fme]),zme=Pb.addChildren([jme,rme,Ime]),qme=JE.addChildren([rpe,zme]),Ume=Ho.addChildren([qme,npe,spe,ipe,lpe,cpe,XE.addChildren([dpe,upe]),ppe,Wue,Kue,Yue,Que,Zue,Jue,Xue]);function $me(){const e=ye.c(16),t=$o();let a;e[0]!==t?(a=t("common.index.pageNotFound"),e[0]=t,e[1]=a):a=e[1];let o;e[2]!==a?(o=y.jsx("h3",{className:"text-lg font-medium text-foreground",children:a}),e[2]=a,e[3]=o):o=e[3];let n;e[4]!==t?(n=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=n):n=e[5];let r;e[6]!==n?(r=y.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:n}),e[6]=n,e[7]=r):r=e[7];let i;e[8]!==t?(i=t("common.goBack"),e[8]=t,e[9]=i):i=e[9];let c;e[10]!==i?(c=y.jsx("button",{type:"button",onClick:Vme,className:"text-sm text-primary hover:underline",children:i}),e[10]=i,e[11]=c):c=e[11];let d;return e[12]!==o||e[13]!==r||e[14]!==c?(d=y.jsx("div",{className:"flex h-full items-center justify-center",children:y.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[o,r,c]})}),e[12]=o,e[13]=r,e[14]=c,e[15]=d):d=e[15],d}function Vme(){return window.history.back()}const Rb=yV({routeTree:Ume,defaultPendingComponent:Xd,defaultPendingMs:200,defaultPendingMinMs:500,defaultNotFoundComponent:$me});function _e(...e){return sF(sE(e))}function Hme(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function $a({error:e,localization:t,localizeErrors:a=!0}){var o;const n="Request failed";if(!a)return e?.message?e.message:(o=e?.error)!=null&&o.message?e.error.message:n;if(typeof e=="string"&&t?.[e])return t[e];if(e?.error){if(e.error.code){const r=e.error.code;if(t?.[r])return t[r]}return e.error.message||e.error.code||e.error.statusText||t?.REQUEST_FAILED}return e?.message||t?.REQUEST_FAILED||n}function ac(e){return typeof window<"u"?new URLSearchParams(window.location.search).get(e):null}function M0(e,t){for(const a in e)if(e[a]===t)return a}function tm(e,t){let a=$().min(1,{message:t?.PASSWORD_REQUIRED});return e?.minLength&&(a=a.min(e.minLength,{message:t?.PASSWORD_TOO_SHORT})),e?.maxLength&&(a=a.max(e.maxLength,{message:t?.PASSWORD_TOO_LONG})),e?.regex&&(a=a.regex(e.regex,{message:t?.INVALID_PASSWORD})),a}var Gme={FAILED_TO_CREATE_USER:"Failed to create user",USER_ALREADY_EXISTS:"User already exists",YOU_CANNOT_BAN_YOURSELF:"You cannot ban yourself",YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE:"You are not allowed to change users role",YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS:"You are not allowed to create users",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS:"You are not allowed to list users",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS:"You are not allowed to list users sessions",YOU_ARE_NOT_ALLOWED_TO_BAN_USERS:"You are not allowed to ban users",YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS:"You are not allowed to impersonate users",YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS:"You are not allowed to revoke users sessions",YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS:"You are not allowed to delete users",YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD:"You are not allowed to set users password",BANNED_USER:"You have been banned from this application"},Wme={FAILED_TO_CREATE_USER:"Failed to create user",COULD_NOT_CREATE_SESSION:"Could not create session",ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY:"Anonymous users cannot sign in again anonymously"},Kme={INVALID_METADATA_TYPE:"metadata must be an object or undefined",REFILL_AMOUNT_AND_INTERVAL_REQUIRED:"refillAmount is required when refillInterval is provided",REFILL_INTERVAL_AND_AMOUNT_REQUIRED:"refillInterval is required when refillAmount is provided",USER_BANNED:"User is banned",UNAUTHORIZED_SESSION:"Unauthorized or invalid session",KEY_NOT_FOUND:"API Key not found",KEY_DISABLED:"API Key is disabled",KEY_EXPIRED:"API Key has expired",USAGE_EXCEEDED:"API Key has reached its usage limit",KEY_NOT_RECOVERABLE:"API Key is not recoverable",EXPIRES_IN_IS_TOO_SMALL:"The expiresIn is smaller than the predefined minimum value.",EXPIRES_IN_IS_TOO_LARGE:"The expiresIn is larger than the predefined maximum value.",INVALID_REMAINING:"The remaining count is either too large or too small.",INVALID_PREFIX_LENGTH:"The prefix length is either too large or too small.",INVALID_NAME_LENGTH:"The name length is either too large or too small.",METADATA_DISABLED:"Metadata is disabled.",RATE_LIMIT_EXCEEDED:"Rate limit exceeded.",NO_VALUES_TO_UPDATE:"No values to update.",KEY_DISABLED_EXPIRATION:"Custom key expiration values are disabled.",INVALID_API_KEY:"Invalid API key.",INVALID_USER_ID_FROM_API_KEY:"The user id from the API key is invalid.",INVALID_API_KEY_GETTER_RETURN_TYPE:"API Key getter returned an invalid key type. Expected string.",SERVER_ONLY_PROPERTY:"The property you're trying to set can only be set from the server auth instance only."},Yme={USER_NOT_FOUND:"User not found",FAILED_TO_CREATE_USER:"Failed to create user",FAILED_TO_CREATE_SESSION:"Failed to create session",FAILED_TO_UPDATE_USER:"Failed to update user",FAILED_TO_GET_SESSION:"Failed to get session",INVALID_PASSWORD:"Invalid password",INVALID_EMAIL:"Invalid email",INVALID_EMAIL_OR_PASSWORD:"Invalid email or password",SOCIAL_ACCOUNT_ALREADY_LINKED:"Social account already linked",PROVIDER_NOT_FOUND:"Provider not found",INVALID_TOKEN:"Invalid token",ID_TOKEN_NOT_SUPPORTED:"id_token not supported",FAILED_TO_GET_USER_INFO:"Failed to get user info",USER_EMAIL_NOT_FOUND:"User email not found",EMAIL_NOT_VERIFIED:"Email not verified",PASSWORD_TOO_SHORT:"Password too short",PASSWORD_TOO_LONG:"Password too long",USER_ALREADY_EXISTS:"User already exists",EMAIL_CAN_NOT_BE_UPDATED:"Email can not be updated",CREDENTIAL_ACCOUNT_NOT_FOUND:"Credential account not found",SESSION_EXPIRED:"Session expired. Re-authenticate to perform this action.",FAILED_TO_UNLINK_LAST_ACCOUNT:"You can't unlink your last account",ACCOUNT_NOT_FOUND:"Account not found",USER_ALREADY_HAS_PASSWORD:"User already has a password. Provide that to delete the account."},Qme={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},Zme={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},Jme={...Qme,...Zme},Xme={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},ehe={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},the={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},ahe={INVALID_SESSION_TOKEN:"Invalid session token"},ohe={YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION:"You are not allowed to create a new organization",YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS:"You have reached the maximum number of organizations",ORGANIZATION_ALREADY_EXISTS:"Organization already exists",ORGANIZATION_NOT_FOUND:"Organization not found",USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION:"User is not a member of the organization",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION:"You are not allowed to update this organization",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION:"You are not allowed to delete this organization",NO_ACTIVE_ORGANIZATION:"No active organization",USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION:"User is already a member of this organization",MEMBER_NOT_FOUND:"Member not found",ROLE_NOT_FOUND:"Role not found",YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM:"You are not allowed to create a new team",TEAM_ALREADY_EXISTS:"Team already exists",TEAM_NOT_FOUND:"Team not found",YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER:"You cannot leave the organization as the only owner",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER:"You are not allowed to delete this member",YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION:"You are not allowed to invite users to this organization",USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION:"User is already invited to this organization",INVITATION_NOT_FOUND:"Invitation not found",YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION:"You are not the recipient of the invitation",YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION:"You are not allowed to cancel this invitation",INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION:"Inviter is no longer a member of the organization",YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE:"you are not allowed to invite user with this role",FAILED_TO_RETRIEVE_INVITATION:"Failed to retrieve invitation",YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS:"You have reached the maximum number of teams",UNABLE_TO_REMOVE_LAST_TEAM:"Unable to remove last team",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER:"You are not allowed to update this member",ORGANIZATION_MEMBERSHIP_LIMIT_REACHED:"Organization membership limit reached",YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION:"You are not allowed to create teams in this organization",YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION:"You are not allowed to delete teams in this organization",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM:"You are not allowed to update this team",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM:"You are not allowed to delete this team",INVITATION_LIMIT_REACHED:"Invitation limit reached"},nhe={CHALLENGE_NOT_FOUND:"Challenge not found",YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY:"You are not allowed to register this passkey",FAILED_TO_VERIFY_REGISTRATION:"Failed to verify registration",PASSKEY_NOT_FOUND:"Passkey not found",AUTHENTICATION_FAILED:"Authentication failed",UNABLE_TO_CREATE_SESSION:"Unable to create session",FAILED_TO_UPDATE_PASSKEY:"Failed to update passkey"},rhe={INVALID_PHONE_NUMBER:"Invalid phone number",PHONE_NUMBER_EXIST:"Phone number already exists",INVALID_PHONE_NUMBER_OR_PASSWORD:"Invalid phone number or password",UNEXPECTED_ERROR:"Unexpected error",OTP_NOT_FOUND:"OTP not found",OTP_EXPIRED:"OTP expired",INVALID_OTP:"Invalid OTP",PHONE_NUMBER_NOT_VERIFIED:"Phone number not verified"},she={SUBSCRIPTION_NOT_FOUND:"Subscription not found",SUBSCRIPTION_PLAN_NOT_FOUND:"Subscription plan not found",ALREADY_SUBSCRIBED_PLAN:"You're already subscribed to this plan",UNABLE_TO_CREATE_CUSTOMER:"Unable to create customer",FAILED_TO_FETCH_PLANS:"Failed to fetch plans",EMAIL_VERIFICATION_REQUIRED:"Email verification is required before you can subscribe to a plan",SUBSCRIPTION_NOT_ACTIVE:"Subscription is not active",SUBSCRIPTION_NOT_SCHEDULED_FOR_CANCELLATION:"Subscription is not scheduled for cancellation"},ihe={TEAM_LIMIT_REACHED:"Team limit reached for this organization",TEAM_MEMBER_LIMIT_REACHED:"Team member limit reached for this team",TEAM_NOT_FOUND:"Team not found",TEAM_MEMBER_NOT_FOUND:"Team member not found",TEAM_NAME_TOO_LONG:"Team name is too long",CANNOT_REMOVE_LAST_TEAM:"Cannot remove the last team",NOT_ORGANIZATION_MEMBER:"User is not a member of the organization",ALREADY_TEAM_MEMBER:"User is already a member of this team",INSUFFICIENT_TEAM_PERMISSIONS:"Insufficient permissions to perform this action on team"},lhe={OTP_NOT_ENABLED:"OTP not enabled",OTP_HAS_EXPIRED:"OTP has expired",TOTP_NOT_ENABLED:"TOTP not enabled",TWO_FACTOR_NOT_ENABLED:"Two factor isn't enabled",BACKUP_CODES_NOT_ENABLED:"Backup codes aren't enabled",INVALID_BACKUP_CODE:"Invalid backup code",INVALID_CODE:"Invalid code",TOO_MANY_ATTEMPTS_REQUEST_NEW_CODE:"Too many attempts. Please request a new code.",INVALID_TWO_FACTOR_COOKIE:"Invalid two factor cookie"},che={INVALID_USERNAME_OR_PASSWORD:"invalid username or password",EMAIL_NOT_VERIFIED:"email not verified",UNEXPECTED_ERROR:"unexpected error",USERNAME_IS_ALREADY_TAKEN:"username is already taken. please try another.",USERNAME_TOO_SHORT:"username is too short",USERNAME_TOO_LONG:"username is too long",INVALID_USERNAME:"username is invalid"},dhe={APP:"App",ACCOUNT:"Account",ACCOUNTS:"Accounts",ACCOUNTS_DESCRIPTION:"Switch between your currently signed in accounts.",ACCOUNTS_INSTRUCTIONS:"Sign in to an additional account.",ADD_ACCOUNT:"Add Account",ADD_PASSKEY:"Add Passkey",ALREADY_HAVE_AN_ACCOUNT:"Already have an account?",AVATAR:"Avatar",AVATAR_DESCRIPTION:"Click on the avatar to upload a custom one from your files.",AVATAR_INSTRUCTIONS:"An avatar is optional but strongly recommended.",BACKUP_CODE_REQUIRED:"Backup code is required",BACKUP_CODES:"Backup Codes",BACKUP_CODES_DESCRIPTION:"Save these backup codes in a secure place. You can use them to access your account if you lose your two-factor authentication method.",BACKUP_CODE_PLACEHOLDER:"Backup Code",BACKUP_CODE:"Backup Code",CANCEL:"Cancel",CHANGE_PASSWORD:"Change Password",CHANGE_PASSWORD_DESCRIPTION:"Enter your current password and a new password.",CHANGE_PASSWORD_INSTRUCTIONS:"Please use 8 characters at minimum.",CHANGE_PASSWORD_SUCCESS:"Your password has been changed.",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Confirm Password",CONFIRM_PASSWORD_REQUIRED:"Confirm password is required",CONTINUE_WITH_AUTHENTICATOR:"Continue with Authenticator",COPIED_TO_CLIPBOARD:"Copied to clipboard",COPY_TO_CLIPBOARD:"Copy to clipboard",COPY_ALL_CODES:"Copy all codes",CONTINUE:"Continue",CURRENT_PASSWORD:"Current Password",CURRENT_PASSWORD_PLACEHOLDER:"Current Password",CURRENT_SESSION:"Current Session",UPDATE:"Update",DELETE:"Delete",DELETE_AVATAR:"Delete Avatar",DELETE_ACCOUNT:"Delete Account",DELETE_ACCOUNT_DESCRIPTION:"Permanently remove your account and all of its contents. This action is not reversible, so please continue with caution.",DELETE_ACCOUNT_INSTRUCTIONS:"Please confirm the deletion of your account. This action is not reversible, so please continue with caution.",DELETE_ACCOUNT_VERIFY:"Please check your email to verify the deletion of your account.",DELETE_ACCOUNT_SUCCESS:"Your account has been deleted.",DISABLE_TWO_FACTOR:"Disable Two-Factor",DISABLED_CREDENTIALS_DESCRIPTION:"Choose a provider to login to your account",DONT_HAVE_AN_ACCOUNT:"Don't have an account?",DONE:"Done",EMAIL:"Email",EMAIL_DESCRIPTION:"Enter the email address you want to use to log in.",EMAIL_INSTRUCTIONS:"Please enter a valid email address.",EMAIL_IS_THE_SAME:"Email is the same",EMAIL_PLACEHOLDER:"m@example.com",EMAIL_REQUIRED:"Email address is required",EMAIL_VERIFY_CHANGE:"Please check your email to verify the change.",EMAIL_VERIFICATION:"Email Verification",EMAIL_VERIFICATION_DESCRIPTION:"Please check your email for the verification code to complete your registration.",EMAIL_VERIFICATION_SUCCESS:"Email verification successful.",ENABLE_TWO_FACTOR:"Enable Two-Factor",IS_INVALID:"is invalid",IS_REQUIRED:"is required",IS_THE_SAME:"is the same",FORGOT_AUTHENTICATOR:"Forgot authenticator?",FORGOT_PASSWORD:"Forgot Password",FORGOT_PASSWORD_ACTION:"Send reset link",FORGOT_PASSWORD_DESCRIPTION:"Enter your email to reset your password",FORGOT_PASSWORD_EMAIL:"Check your email for the password reset link.",FORGOT_PASSWORD_LINK:"Forgot your password?",LINK:"Link",MAGIC_LINK:"Magic Link",MAGIC_LINK_ACTION:"Send magic link",MAGIC_LINK_DESCRIPTION:"Enter your email to receive a magic link",MAGIC_LINK_EMAIL:"Check your email for the magic link",EMAIL_OTP:"Email Code",EMAIL_OTP_SEND_ACTION:"Send code",EMAIL_OTP_VERIFY_ACTION:"Verify code",EMAIL_OTP_DESCRIPTION:"Enter your email to receive a code",EMAIL_OTP_VERIFICATION_SENT:"Please check your email for the verification code.",NAME:"Name",NAME_DESCRIPTION:"Please enter your full name, or a display name.",NAME_INSTRUCTIONS:"Please use 32 characters at maximum.",NAME_PLACEHOLDER:"Name",NEW_PASSWORD:"New Password",NEW_PASSWORD_PLACEHOLDER:"New Password",NEW_PASSWORD_REQUIRED:"New password is required",ONE_TIME_PASSWORD:"One-Time Password",OR_CONTINUE_WITH:"Or continue with",PASSKEY:"Passkey",PASSKEYS:"Passkeys",PASSKEYS_DESCRIPTION:"Manage your passkeys for secure access.",PASSKEYS_INSTRUCTIONS:"Securely access your account without a password.",PERSONAL_ACCOUNT:"Personal Account",API_KEYS:"API Keys",API_KEYS_DESCRIPTION:"Manage your API keys for secure access.",API_KEYS_INSTRUCTIONS:"Generate API keys to access your account programmatically.",CREATE_API_KEY:"Create API Key",CREATE_API_KEY_DESCRIPTION:"Enter a unique name for your API key to differentiate it from other keys.",API_KEY_NAME_PLACEHOLDER:"New API Key",API_KEY_CREATED:"API Key Created",CREATE_API_KEY_SUCCESS:"Please copy your API key and store it in a safe place. For security reasons we cannot show it again.",NEVER_EXPIRES:"Never Expires",EXPIRES:"Expires",NO_EXPIRATION:"No Expiration",CREATE_ORGANIZATION:"Create Organization",ORGANIZATION:"Organization",ORGANIZATION_NAME:"Name",ORGANIZATION_NAME_PLACEHOLDER:"Acme Inc.",ORGANIZATION_NAME_DESCRIPTION:"This is your organization's visible name.",ORGANIZATION_NAME_INSTRUCTIONS:"Please use 32 characters at maximum.",ORGANIZATION_SLUG:"Slug URL",ORGANIZATION_SLUG_DESCRIPTION:"This is your organization's URL namespace.",ORGANIZATION_SLUG_INSTRUCTIONS:"Please use 48 characters at maximum.",ORGANIZATION_SLUG_PLACEHOLDER:"acme-inc",CREATE_ORGANIZATION_SUCCESS:"Organization created successfully",PASSWORD:"Password",PASSWORD_PLACEHOLDER:"Password",PASSWORD_REQUIRED:"Password is required",PASSWORDS_DO_NOT_MATCH:"Passwords do not match",PROVIDERS:"Providers",PROVIDERS_DESCRIPTION:"Connect your account with a third-party service.",RECOVER_ACCOUNT:"Recover Account",RECOVER_ACCOUNT_ACTION:"Recover account",RECOVER_ACCOUNT_DESCRIPTION:"Please enter a backup code to access your account",REMEMBER_ME:"Remember me",RESEND_CODE:"Resend code",RESEND_VERIFICATION_EMAIL:"Resend Verification Email",RESET_PASSWORD:"Reset Password",RESET_PASSWORD_ACTION:"Save new password",RESET_PASSWORD_DESCRIPTION:"Enter your new password below",RESET_PASSWORD_SUCCESS:"Password reset successfully",REQUEST_FAILED:"Request failed",REVOKE:"Revoke",DELETE_API_KEY:"Delete API Key",DELETE_API_KEY_CONFIRM:"Are you sure you want to delete this API key?",API_KEY:"API Key",SIGN_IN:"Sign In",SIGN_IN_ACTION:"Login",SIGN_IN_DESCRIPTION:"Enter your email below to login to your account",SIGN_IN_USERNAME_DESCRIPTION:"Enter your username or email to login to your account",SIGN_IN_WITH:"Sign in with",SIGN_OUT:"Sign Out",SIGN_UP:"Sign Up",SIGN_UP_ACTION:"Create an account",SIGN_UP_DESCRIPTION:"Enter your information to create an account",SIGN_UP_EMAIL:"Check your email for the verification link.",SESSIONS:"Sessions",SESSIONS_DESCRIPTION:"Manage your active sessions and revoke access.",SET_PASSWORD:"Set Password",SET_PASSWORD_DESCRIPTION:"Click the button below to receive an email to set up a password for your account.",SETTINGS:"Settings",SAVE:"Save",SECURITY:"Security",SWITCH_ACCOUNT:"Switch Account",TRUST_DEVICE:"Trust this device",TWO_FACTOR:"Two-Factor",TWO_FACTOR_ACTION:"Verify code",TWO_FACTOR_DESCRIPTION:"Please enter your one-time password to continue",TWO_FACTOR_CARD_DESCRIPTION:"Add an extra layer of security to your account.",TWO_FACTOR_DISABLE_INSTRUCTIONS:"Please enter your password to disable 2FA.",TWO_FACTOR_ENABLE_INSTRUCTIONS:"Please enter your password to enable 2FA.",TWO_FACTOR_ENABLED:"Two-factor authentication has been enabled",TWO_FACTOR_DISABLED:"Two-Factor Authentication has been disabled",TWO_FACTOR_PROMPT:"Two-Factor Authentication",TWO_FACTOR_TOTP_LABEL:"Scan the QR Code with your Authenticator",SEND_VERIFICATION_CODE:"Send verification code",UNLINK:"Unlink",UPDATED_SUCCESSFULLY:"updated successfully",USERNAME:"Username",USERNAME_DESCRIPTION:"Enter the username you want to use to log in.",USERNAME_INSTRUCTIONS:"Please use 32 characters at maximum.",USERNAME_PLACEHOLDER:"Username",OPTIONAL_BRACKETS:"(Optional)",SIGN_IN_USERNAME_PLACEHOLDER:"Username or email",VERIFY_YOUR_EMAIL:"Verify Your Email",VERIFY_YOUR_EMAIL_DESCRIPTION:"Please verify your email address. Check your inbox for the verification email. If you haven't received the email, click the button below to resend.",GO_BACK:"Go back",SESSION_NOT_FRESH:"Your session is not fresh. Please sign in again.",UPLOAD_AVATAR:"Upload Avatar",LOGO:"Logo",LOGO_DESCRIPTION:"Click on the logo to upload a custom one from your files.",LOGO_INSTRUCTIONS:"A logo is optional but strongly recommended.",UPLOAD:"Upload",UPLOAD_LOGO:"Upload Logo",DELETE_LOGO:"Delete Logo",PRIVACY_POLICY:"Privacy Policy",TERMS_OF_SERVICE:"Terms of Service",PROTECTED_BY_RECAPTCHA:"This site is protected by reCAPTCHA.",BY_CONTINUING_YOU_AGREE:"By continuing, you agree to the",USER:"User",ORGANIZATIONS:"Organizations",ORGANIZATIONS_DESCRIPTION:"Manage your organizations and memberships.",ORGANIZATIONS_INSTRUCTIONS:"Create an organization to collaborate with other users.",LEAVE_ORGANIZATION:"Leave Organization",LEAVE_ORGANIZATION_CONFIRM:"Are you sure you want to leave this organization?",LEAVE_ORGANIZATION_SUCCESS:"You have successfully left the organization.",MANAGE_ORGANIZATION:"Manage Organization",REMOVE_MEMBER:"Remove Member",REMOVE_MEMBER_CONFIRM:"Are you sure you want to remove this member from the organization?",REMOVE_MEMBER_SUCCESS:"Member removed successfully",INVITE_MEMBER:"Invite Member",MEMBERS:"Members",MEMBERS_DESCRIPTION:"Add or remove members and manage their roles.",MEMBERS_INSTRUCTIONS:"Invite new members to your organization.",INVITE_MEMBER_DESCRIPTION:"Send an invitation to add a new member to your organization.",ROLE:"Role",SELECT_ROLE:"Select a role",ADMIN:"Admin",MEMBER:"Member",GUEST:"Guest",OWNER:"Owner",UPDATE_ROLE_DESCRIPTION:"Update the role for this member",UPDATE_ROLE:"Update Role",MEMBER_ROLE_UPDATED:"Member role updated successfully",SEND_INVITATION:"Send Invitation",SEND_INVITATION_SUCCESS:"Invitation sent successfully",PENDING_INVITATIONS:"Pending Invitations",PENDING_INVITATIONS_DESCRIPTION:"Manage pending invitations to your organization.",PENDING_USER_INVITATIONS_DESCRIPTION:"Invitations you've received from organizations.",CANCEL_INVITATION:"Cancel Invitation",INVITATION_CANCELLED:"Invitation cancelled successfully",ACCEPT_INVITATION:"Accept Invitation",ACCEPT_INVITATION_DESCRIPTION:"You have been invited to join an organization.",INVITATION_ACCEPTED:"Invitation accepted successfully",INVITATION_REJECTED:"Invitation rejected successfully",ACCEPT:"Accept",REJECT:"Reject",INVITATION_EXPIRED:"This invitation has expired",DELETE_ORGANIZATION:"Delete Organization",DELETE_ORGANIZATION_DESCRIPTION:"Permanently remove your organization and all of its contents. This action is not reversible — please continue with caution.",DELETE_ORGANIZATION_SUCCESS:"Organization deleted successfully",DELETE_ORGANIZATION_INSTRUCTIONS:"Enter the organization slug to continue:",SLUG_REQUIRED:"Organization slug is required",SLUG_DOES_NOT_MATCH:"The slug does not match",TEAM:"Team",TEAMS:"Teams",TEAM_ACTIVE:"Active",TEAM_SET_ACTIVE:"Set Active",CREATE_TEAM:"Create Team",CREATE_TEAM_SUCCESS:"Team created successfully",UPDATE_TEAM:"Update Team",UPDATE_TEAMS:"Update Teams",SELECT_TEAMS:"Select teams",ADD:"Add",REMOVE:"Remove",UPDATE_TEAM_DESCRIPTION:"Update the name for this team",UPDATE_TEAMS_DESCRIPTION:"Add or remove teams for this member",REMOVE_TEAM_CONFIRM:"Are you sure you want to remove this team from the organization?",CREATE_TEAM_INSTRUCTIONS:"Add new team to your organization.",TEAM_NAME:"Team Name",TEAM_NAME_PLACEHOLDER:"Engineering Team",TEAM_NAME_DESCRIPTION:"This is your team's visible name.",TEAM_NAME_INSTRUCTIONS:"Please use 64 characters at maximum.",TEAMS_DESCRIPTION:"Manage your teams within your organization.",USER_TEAMS_DESCRIPTION:"You are a member of the following teams.",DELETE_TEAM:"Delete Team",DELETE_TEAM_DESCRIPTION:"Permanently remove this team and all of its contents.",DELETE_TEAM_SUCCESS:"Team deleted successfully",DELETE_TEAM_INSTRUCTIONS:"Enter the team name to continue:",TEAM_NAME_REQUIRED:"Team name is required",TEAM_NAME_DOES_NOT_MATCH:"The team name does not match",TEAM_MEMBERS:"Team Members",TEAM_MEMBERS_DESCRIPTION:"Manage your team members and their roles.",ADD_TEAM_MEMBER:"Add Team Member",REMOVE_TEAM_MEMBER:"Remove Team Member",REMOVE_TEAM_MEMBER_CONFIRM:"Are you sure you want to remove this member from the team?",REMOVE_TEAM_MEMBER_SUCCESS:"Team member removed successfully",ADD_TEAM_MEMBER_SUCCESS:"Team member added successfully",UPDATE_TEAM_SUCCESS:"Team updated successfully",MANAGE_TEAM_MEMBERS:"Manage Team Members",MANAGE_TEAM_MEMBERS_DESCRIPTION:"Search and add organization members to this team.",NO_TEAMS_FOUND:"No teams found",MEMBER_SINGULAR:"member",MEMBER_PLURAL:"members",UNKNOWN:"Unknown",...Yme,...Gme,...Wme,...Kme,...Jme,...Xme,...ehe,...the,...ahe,...ohe,...nhe,...rhe,...she,...ihe,...lhe,...che},uhe={CALLBACK:"callback",EMAIL_OTP:"email-otp",EMAIL_VERIFICATION:"email-verification",FORGOT_PASSWORD:"forgot-password",MAGIC_LINK:"magic-link",RECOVER_ACCOUNT:"recover-account",RESET_PASSWORD:"reset-password",SIGN_IN:"sign-in",SIGN_OUT:"sign-out",SIGN_UP:"sign-up",TWO_FACTOR:"two-factor",ACCEPT_INVITATION:"accept-invitation"},dN={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},uN={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const d5=A.createContext({});function u5(){return A.useContext(d5)}var yT,pN;function phe(){if(pN)return yT;pN=1;var e=function(){};return yT=e,yT}var mhe=phe();const hhe=Yl(mhe);function ghe({async:e,appendTo:t,defer:a,id:o,nonce:n,src:r}){const i=document.createElement("script");e!==void 0&&(i.async=e),a!==void 0&&(i.defer=a),o&&(i.id=o),n&&i.setAttribute("nonce",n),i.src=r,(t==="head"?document.head:document.body).appendChild(i)}var fhe=function(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(a[o[n]]=e[o[n]]);return a};let Op=null,am=!1;const Ov=new Set,Nv=new Set,vhe=typeof window<"u",Ad="___grecaptcha_cfg",p5=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function bhe(){if(!vhe)return;function e(a){if(am)a();else{window[Ad]||(window[Ad]={});const o=window[Ad];o.fns||(o.fns=[]),o.fns.push(a)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=e,window.grecaptcha.enterprise.ready=e;function t(){am=!0;for(const a of Nv)a();Nv.clear()}window[p5]=t}function yhe({language:e,onLoadCallbackName:t,render:a,useEnterprise:o=!1,useRecaptchaNet:n=!1}){const r=n?"recaptcha.net":"google.com",i=o?"enterprise.js":"api.js",c=new URLSearchParams({render:a});return t&&c.set("onload",t),e&&c.set("hl",e),`https://www.${r}/recaptcha/${i}?${c.toString()}`}function whe({language:e,render:t,scriptProps:a,useEnterprise:o,useRecaptchaNet:n}){const r={id:"google-recaptcha-v3"},i=yhe({language:e,onLoadCallbackName:p5,render:t,useEnterprise:o,useRecaptchaNet:n});if(Op){if(Op!==i)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}Op=i,ghe(Object.assign(Object.assign(Object.assign({},r),a),{src:i}))}function She(e){if(!window[Ad])return;const t=window[Ad];t.clients&&delete t.clients[e]}function The(e,t){var{onLoadCallback:a,onLoadCallbackName:o}=t,n=fhe(t,["onLoadCallback","onLoadCallbackName"]);if(Ov.size===0&&bhe(),whe(n),Ov.add(e),a&&(am?a():Nv.add(a)),o){let r=function(){if(!o)return;const i=window[o];typeof i=="function"&&i()};am?r():Nv.add(r)}}function xhe(e){var t,a,o;Ov.delete(e),Ov.size===0&&(window.grecaptcha=void 0,window[Ad]=void 0,(t=document.querySelector(".grecaptcha-badge"))===null||t===void 0||t.remove(),(a=document.querySelector(`script[src="${Op}"]`))===null||a===void 0||a.remove(),(o=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||o===void 0||o.remove(),Op=null,am=!1)}let mN=!1;function khe({container:e,children:t,language:a,reCaptchaKey:o,scriptProps:n,useEnterprise:r,useRecaptchaNet:i}){var c,d,u,m,h,f,v;const b=A.useId(),[w,x]=A.useState(null),[T,k]=A.useState(null),C=A.useRef(!1);A.useEffect(()=>{function R(){var O;const L=r?(O=window.grecaptcha)===null||O===void 0?void 0:O.enterprise:window.grecaptcha;if(!L)throw new Error("reCAPTCHA not found");if(!L.ready)throw new Error("reCAPTCHA ready callback not found");L.ready(()=>{x(L)})}return The(b,{language:a,onLoadCallback:R,onLoadCallbackName:n?.onLoadCallbackName,render:e?.element?"explicit":o,scriptProps:{appendTo:n?.appendTo,async:n?.async,defer:n?.defer,id:n?.id,nonce:n?.nonce},useEnterprise:r,useRecaptchaNet:i}),()=>{xhe(b),x(null)}},[e?.element,b,a,o,n?.appendTo,n?.async,n?.defer,n?.id,n?.nonce,n?.onLoadCallbackName,r,i]),A.useEffect(()=>{var R,O,L;if(!e?.element||!w?.render)return;const U={"error-callback":e.parameters.errorCallback,"expired-callback":e.parameters.expiredCallback,badge:((R=e.parameters)===null||R===void 0?void 0:R.badge)||"inline",callback:e.parameters.callback,sitekey:o,size:"invisible",tabindex:e.parameters.tabindex,theme:e.parameters.theme},B=typeof e?.element=="string"?document.getElementById(e.element):e?.element;if(!B)throw new Error("reCAPTCHA container element not found");const z=w.render(B,U);return!((O=e?.parameters)===null||O===void 0)&&O.hidden&&(mN||(hhe(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),mN=!0),(L=B.querySelector(".grecaptcha-badge"))===null||L===void 0||L.style.setProperty("display","none")),k(z),C.current=!0,()=>{k(null),C.current=!1,She(z),B.innerHTML=""}},[e?.element,(c=e?.parameters)===null||c===void 0?void 0:c.badge,(d=e?.parameters)===null||d===void 0?void 0:d.hidden,(u=e?.parameters)===null||u===void 0?void 0:u.callback,(m=e?.parameters)===null||m===void 0?void 0:m.errorCallback,(h=e?.parameters)===null||h===void 0?void 0:h.expiredCallback,(f=e?.parameters)===null||f===void 0?void 0:f.tabindex,(v=e?.parameters)===null||v===void 0?void 0:v.theme,w,o]);const E=!!e?.element,_=E?T:o,D=A.useMemo(()=>_!==null&&w?.execute?R=>{if(_===null||!w?.execute)throw new Error("reCAPTCHA has not been loaded");return E&&!C.current?(console.warn("Client ID not mounted"),null):w.execute(_,{action:R})}:void 0,[_,w,E]);return y.jsx(d5.Provider,{value:{container:e?.element,executeRecaptcha:D,reCaptchaInstance:w},children:t})}var Ehe=class{cache=new Map;listeners=new Map;inFlightRequests=new Map;get(e){return this.cache.get(e)}set(e,t){const a={data:t,timestamp:Date.now(),isRefetching:!1};this.cache.set(e,a),this.notify(e)}setRefetching(e,t){const a=this.cache.get(e);a&&(a.isRefetching=t,this.notify(e))}clear(e){if(e)this.cache.delete(e),this.inFlightRequests.delete(e),this.notify(e);else{this.cache.clear(),this.inFlightRequests.clear();const t=Array.from(this.listeners.keys());for(const a of t)this.notify(a)}}getInFlightRequest(e){return this.inFlightRequests.get(e)}setInFlightRequest(e,t){this.inFlightRequests.set(e,t)}removeInFlightRequest(e){this.inFlightRequests.delete(e)}subscribe(e,t){return this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t),()=>{const a=this.listeners.get(e);a&&(a.delete(t),a.size===0&&this.listeners.delete(e))}}notify(e){const t=this.listeners.get(e);if(t){const a=Array.from(t);for(const o of a)o()}}},Jn=new Ehe;function Che(){return()=>{}}function Hs(){return A.useSyncExternalStore(Che,()=>!0,()=>!1)}function m5(){const[e,t]=A.useState();return A.useEffect(()=>{const a=()=>{const n=document.documentElement.getAttribute("lang");t(n??void 0)};a();const o=new MutationObserver(n=>{for(const r of n)r.attributeName==="lang"&&a()});return o.observe(document.documentElement,{attributes:!0}),()=>{o.disconnect()}},[]),{lang:e}}function eC(){const[e,t]=A.useState("light");return A.useEffect(()=>{const a=()=>{var n;const r=document.documentElement.classList.contains("dark")||((n=document.documentElement.getAttribute("style"))==null?void 0:n.includes("color-scheme: dark"));t(r?"dark":"light")};a();const o=new MutationObserver(n=>{for(const r of n)(r.attributeName==="style"||r.attributeName==="class")&&a()});return o.observe(document.documentElement,{attributes:!0}),()=>{o.disconnect()}},[]),{theme:e}}function Phe({children:e}){const t=Hs(),{captcha:a}=A.useContext(wt);return a?.provider!=="google-recaptcha-v3"?e:y.jsxs(khe,{reCaptchaKey:a.siteKey,useEnterprise:a.enterprise,useRecaptchaNet:a.recaptchaNet,children:[t&&y.jsx("style",{children:`
|
|
189
|
+
`),h=d;m.length>h;h++){var f=m[h];if(1024>=f.length){var v=m2.test(f)?f.replace(m2,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of r){var w=b(v,o);if(w){u.push(w);break}}if(u.length>=50)break}}}return(function(x){if(!x.length)return[];var T=Array.from(x);return T.reverse(),T.slice(0,50).map((k=>{return Me({},k,{filename:k.filename||(C=T,C[C.length-1]||{}).filename,function:k.function||Vd});var C}))})(u)}})("web:javascript",Ule,Hle)),this._instance=e,this.fo=(t=(a=this._instance.persistence)==null?void 0:a.get_property(n0))!==null&&t!==void 0?t:[],this.mo=gv(this.yo()),this.bo=new oce(this.mo)}onConfigChange(){this.mo=gv(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,a,o;if("errorTracking"in e){var n=(t=(a=e.errorTracking)==null?void 0:a.suppressionRules)!==null&&t!==void 0?t:[],r=(o=e.errorTracking)==null?void 0:o.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[n0]:this.fo,[r0]:r})}}get _o(){var e,t=!!this._instance.get_property(r0),a=this._instance.config.error_tracking.captureExtensionExceptions;return(e=a??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:t?.syntheticException,mechanism:{handled:t?.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!Ca(e)||e.trim().length===0)return void Rs.warn("Ignoring exception step because message must be a non-empty string");var a=this.wo(t),{sanitizedProperties:o,droppedKeys:n}=(function(r){if(!r)return{sanitizedProperties:{},droppedKeys:[]};var i=[];return{sanitizedProperties:Object.keys(r).reduce(((c,d)=>ace.has(d)?(i.push(d),c):(c[d]=r[d],c)),{}),droppedKeys:i}})(a);n.length>0&&Rs.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(Me({[mv]:e,[hv]:new Date().toISOString()},o))}catch(r){Rs.error("Failed to add exception step. Ignoring breadcrumb.",r)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.Io(t)){if(this.Co(t))return this.So("Exception dropped: matched a suppression rule"),void Rs.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.xo(t))return this.So("Exception dropped: thrown by a browser extension"),void Rs.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.ko(t))return this.So("Exception dropped: thrown by the PostHog SDK"),void Rs.info("Skipping exception capture because it was thrown by the PostHog SDK")}var a=this.mo.enabled&&Pt(e.$exception_steps)?this.To(e):e;try{var o=this._instance.capture("$exception",a,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return o&&this.bo.clear(),o}catch(n){return Rs.error("Failed to capture exception event. Dropping this exception.",n),void this.bo.clear()}}catch(n){return void Rs.error("Failed to process exception event. Ignoring this exception.",n)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Me({},e,{$exception_steps:t})}catch(a){return Rs.error("Failed to read buffered exception steps. Capturing exception without steps.",a),e}}So(e){this.mo.enabled&&this.bo.add({[mv]:e,[hv]:new Date().toISOString()})}wo(e){return Ba(e)?Me({},e):{}}yo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}Co(e){if(e.length===0)return!1;var t=e.reduce(((a,o)=>{var{type:n,value:r}=o;return Ca(n)&&n.length>0&&a.$exception_types.push(n),Ca(r)&&r.length>0&&a.$exception_values.push(r),a}),{$exception_types:[],$exception_values:[]});return this.fo.some((a=>{var o=a.values.map((n=>{var r,i=S4[n.operator],c=Bt(n.value)?n.value:[n.value],d=(r=t[n.key])!==null&&r!==void 0?r:[];return c.length>0&&i(c,d)}));return a.type==="OR"?o.some(Boolean):o.every(Boolean)}))}xo(e){return e.flatMap((t=>{var a,o;return(a=(o=t.stacktrace)==null?void 0:o.frames)!==null&&a!==void 0?a:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,a,o,n,r=(t=(a=e[0].stacktrace)==null?void 0:a.frames)!==null&&t!==void 0?t:[],i=r[r.length-1];return(o=i==null||(n=i.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&o!==void 0&&o}return!1}Io(e){return!Pt(e)&&Bt(e)}}},mde=Me({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Ao=null,this.Eo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[i0]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(i0)||this.ur((()=>this.Ro()))}ur(e){var t,a;(t=at.__PosthogExtensions__)!=null&&t.generateProductTours?e():(a=at.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,"product-tours",(o=>{o?Z2.error("Could not load product tours script",o):e()}))}Ro(){var e;!this.Ao&&(e=at.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=at.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!Bt(this.Eo)||t){var a=this.ni;if(a){var o=a.props[Pf];if(Bt(o)&&!t)return this.Eo=o,void e(o,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:n=>{var r=n.statusCode;if(r!==200||!n.json){var i="Product Tours API could not be loaded, status: "+r;return Z2.error(i),void e([],{isLoaded:!1,error:i})}var c=Bt(n.json.product_tours)?n.json.product_tours:[];this.Eo=c,a&&a.register({[Pf]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){Pt(this.Ao)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Ao.getActiveProductTours(e)}showProductTour(e){var t;(t=this.Ao)==null||t.showTourById(e)}previewTour(e){this.Ao?this.Ao.previewTour(e):this.ur((()=>{var t;this.Ro(),(t=this.Ao)==null||t.previewTour(e)}))}dismissProductTour(){var e;(e=this.Ao)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Ao)==null||e.nextStep()}previousStep(){var e;(e=this.Ao)==null||e.previousStep()}clearCache(){var e;this.Eo=null,(e=this.ni)==null||e.unregister(Pf)}resetTour(e){var t;(t=this.Ao)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Ao)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Ao)==null||t.cancelPendingTour(e)}}},xb),hde={siteApps:class{constructor(e){this._instance=e,this.No=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Mo(e,t){if(t){var a=this.globalsForEvent(t);this.No.push(a),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return(e=at._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Mo.bind(this));this.Fo=()=>{e(),this.No=[],this.Fo=void 0}}}globalsForEvent(e){var t,a,o,n,r,i,c;if(!e)throw new Error("Event payload is required");var d={},u=this._instance.get_property("$groups")||[],m=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(m))d[h]={id:u[h],type:h,properties:f};var{$set_once:v,$set:b}=e;return{event:Me({},T3(e,nde),{properties:Me({},e.properties,b?{$set:Me({},(t=(a=e.properties)==null?void 0:a.$set)!==null&&t!==void 0?t:{},b)}:{},v?{$set_once:Me({},(o=(n=e.properties)==null?void 0:n.$set_once)!==null&&o!==void 0?o:{},v)}:{}),elements_chain:(r=(i=e.properties)==null?void 0:i.$elements_chain)!==null&&r!==void 0?r:"",distinct_id:(c=e.properties)==null?void 0:c.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:d}}setupSiteApp(e){var t=this.apps[e.id],a=()=>{var i;!t.errored&&this.No.length&&(Ti.info("Processing "+this.No.length+" events for site app with id "+e.id),this.No.forEach((c=>t.processEvent==null?void 0:t.processEvent(c))),t.processedBuffer=!0),Object.values(this.apps).every((c=>c.processedBuffer||c.errored))&&((i=this.Fo)==null||i.call(this))},o=!1,n=i=>{t.errored=!i,t.loaded=!0,Ti.info("Site app with id "+e.id+" "+(i?"loaded":"errored")),o&&a()};try{var{processEvent:r}=e.init({posthog:this._instance,callback(i){n(i)}});r&&(t.processEvent=r),o=!0}catch(i){Ti.error(J2+e.id,i),n(!1)}if(o&&t.loaded)try{a()}catch(i){Ti.error("Error while processing buffered events PostHog app with config id "+e.id,i),t.errored=!0}}Oo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var a of e)this.setupSiteApp(a)}Po(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var a of Object.values(this.apps))try{a.processEvent==null||a.processEvent(t)}catch(o){Ti.error("Error while processing event "+e.event+" for site app "+a.id,o)}}}onRemoteConfig(e){var t,a,o,n=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void Ti.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((a=this.Fo)==null||a.call(this),(o=e.siteApps)!=null&&o.length)if(this.isEnabled){var r=function(d){var u;at["__$$ph_site_app_"+d]=n._instance,(u=at.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(n._instance,c,(m=>{if(m)return Ti.error(J2+d,m)}))};for(var{id:i,url:c}of e.siteApps)r(i)}else Ti.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},gde={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,a,o=this.Bo()||[];$e(this.Lo)&&((t=at.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(o,this._instance.get_distinct_id(),this._instance.sessionManager)),$e(this.Do)&&((a=at.__PosthogExtensions__)==null||(a=a.tracingHeadersPatchFns)==null||a._patchFetch(o,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,a;(t=at.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(a=at.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,"tracing-headers",(o=>{if(o)return ade.error("failed to load script",o);e()}))}Bo(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Bo()?this.ur(this.so):((e=this.Lo)==null||e.call(this),(t=this.Do)==null||t.call(this),this.Lo=void 0,this.Do=void 0)}}},fde=Me({surveys:class{get Bt(){return this._instance.config}constructor(e){this.jo=void 0,this._surveyManager=null,this.$o=!1,this.qo=[],this.Zo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Bt.disable_surveys){var t=e.surveys;if(Pt(t))return na.warn("Flags not loaded yet. Not loading surveys.");var a=Bt(t);this.jo=a?t.length>0:t,na.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var a=localStorage.key(t);(a!=null&&a.startsWith(P0)||a!=null&&a.startsWith("inProgressSurvey_"))&&e.push(a)}e.forEach((o=>localStorage.removeItem(o)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)na.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)na.info(X2);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())na.info("Not loading surveys in cookieless mode without consent.");else{var e=at?.__PosthogExtensions__;if(e){if(!$e(this.jo)||this.Bt.advanced_enable_surveys){var t=this.jo||this.Bt.advanced_enable_surveys;this.$o=!0;try{var a=e.generateSurveys;if(a)return void this.Vo(a,t);var o=e.loadExternalDependency;if(!o)return void this.Ho(qE);o(this._instance,"surveys",(n=>{n||!e.generateSurveys?this.Ho("Could not load surveys script",n):this.Vo(e.generateSurveys,t)}))}catch(n){throw this.Ho("Error initializing surveys",n),n}finally{this.$o=!1}}}else na.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new ide(this._instance),na.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){na.error(e,t),this.zo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.qo.push(e),this._surveyManager&&this.zo({isLoaded:!0}),()=>{this.qo=this.qo.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this.Bt.disable_surveys)return na.info(X2),e([]);var a,o=this._instance.get_property(p0);if(o&&!t)return e(o,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((n=>{var{surveys:r,context:i}=n;return e(r,i)})):(typeof Promise<"u"&&(this.Zo=new Promise((n=>{a=n}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Bt.token),method:"GET",timeout:this.Bt.surveys_request_timeout_ms,callback:n=>{var r;this.Zo=null;var i=n.statusCode;if(i!==200||!n.json){var c="Surveys API could not be loaded, status: "+i;na.error(c);var d={isLoaded:!1,error:c};return e([],d),void(a==null||a({surveys:[],context:d}))}var u,m=n.json.surveys||[],h=m.filter((v=>(function(b){return!(!b.start_date||b.end_date)})(v)&&((function(b){var w;return!((w=b.conditions)==null||(w=w.events)==null||(w=w.values)==null||!w.length)})(v)||(function(b){var w;return!((w=b.conditions)==null||(w=w.actions)==null||(w=w.values)==null||!w.length)})(v))));h.length>0&&((u=this._surveyEventReceiver)==null||u.register(h)),(r=this._instance.persistence)==null||r.register({[p0]:m});var f={isLoaded:!0};e(m,f),a?.({surveys:m,context:f})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(a){na.error("Error in survey callback",a)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Pt(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);na.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((a=>{var o;t=(o=a.find((n=>n.id===e)))!==null&&o!==void 0?o:null})),t}Yo(e){if(Pt(this._surveyManager))return{eligible:!1,reason:gT};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Pt(this._surveyManager))return na.warn("init was not called"),{visible:!1,disabledReason:gT};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Pt(this._surveyManager)?(na.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:gT})):new Promise((a=>{this.getSurveys((o=>{var n,r=(n=o.find((c=>c.id===e)))!==null&&n!==void 0?n:null;if(r){var i=this.Yo(r);a({visible:i.eligible,disabledReason:i.reason})}else a({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,a){var o;if(Pt(this._surveyManager))na.warn("init was not called");else{var n=typeof e=="string"?this.Uo(e):e;if(n!=null&&n.id)if(qce.includes(n.type)){var r=ze?.querySelector(t);if(r)return(o=n.appearance)!=null&&o.surveyPopupDelaySeconds?(na.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var i,c;na.info("Rendering survey "+n.id+" with delay of "+((i=n.appearance)==null?void 0:i.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(n,r,a),na.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,r,a);na.warn("Survey element not found")}else na.warn("Surveys of type "+n.type+" cannot be rendered in the app");else na.warn("Survey not found")}}displaySurvey(e,t){var a;if(Pt(this._surveyManager))na.warn("init was not called");else{var o=this.Uo(e);if(o){var n=o;if((a=o.appearance)!=null&&a.surveyPopupDelaySeconds&&t.ignoreDelay&&(n=Me({},o,{appearance:Me({},o.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==S0.Popover&&t.initialResponses&&na.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var r=this.canRenderSurvey(o);if(!r.visible)return void na.warn("Survey is not eligible to be displayed: ",r.disabledReason)}t.displayType!==S0.Inline?this._surveyManager.handlePopoverSurvey(n,t):this.renderSurvey(n,t.selector,t.properties)}else na.warn("Survey not found")}}cancelPendingSurvey(e){Pt(this._surveyManager)?na.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},xb),vde={toolbar:class{constructor(e){this.instance=e}Go(e){at.ph_toolbar_state=e}Wo(){var e;return(e=at.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,a){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),a===void 0&&(a=void 0),a4(this.instance.config)||!ge||!ze)return!1;e=e??ge.location,a=a??ge.history;try{if(!t){try{ge.localStorage.setItem("test","test"),ge.localStorage.removeItem("test")}catch{return!1}t=ge?.localStorage}var o,n=lde||Cv(e.hash,"__posthog")||Cv(e.hash,"state"),r=n?g2((()=>JSON.parse(atob(decodeURIComponent(n)))))||g2((()=>JSON.parse(decodeURIComponent(n)))):null;return r&&r.action==="ph_authorize"?((o=r).source="url",o&&Object.keys(o).length>0&&(r.desiredHash?e.hash=r.desiredHash:a?a.replaceState(a.state,"",e.pathname+e.search):e.hash="")):((o=JSON.parse(t.getItem(eN)||"{}")).source="localstorage",delete o.userIntent),!(!o.token||this.instance.config.token!==o.token||(this.loadToolbar(o),0))}catch{return!1}}Xo(e){var t=at.ph_load_toolbar||at.ph_load_editor;!Pt(t)&&Os(t)?t(e,this.instance):tN.warn("No toolbar load function found")}loadToolbar(e){var t=!(ze==null||!ze.getElementById(J3));if(!ge||t)return!1;var a=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,o=Me({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},a?{instrument:!1}:{});if(ge.localStorage.setItem(eN,JSON.stringify(Me({},o,{source:void 0}))),this.Wo()===2)this.Xo(o);else if(this.Wo()===0){var n;this.Go(1),(n=at.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(r=>{if(r)return tN.error("[Toolbar] Failed to load",r),void this.Go(0);this.Go(2),this.Xo(o)})),Za(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(o)}))}return!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,a){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),a===void 0&&(a=void 0),this.maybeLoadToolbar(e,t,a)}}},bde=Me({experiments:Bo},xb),yde={conversations:class{constructor(e){this.Ko=void 0,this._conversationsManager=null,this.Qo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;Pt(t)||(Zr(t)?this.Ko=t:(this.Ko=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Ko=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Qo||this._instance.config.disable_conversations||a4(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=at?.__PosthogExtensions__;if(e&&!$e(this.Ko)&&this.Ko)if(this.ea&&this.ea.token){this.Qo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Qo=!1);var a=e.loadExternalDependency;if(!a)return void this.ra(qE);a(this._instance,"conversations",(o=>{o||!e.initConversations?this.ra("Could not load conversations script",o):this.ta(e.initConversations),this.Qo=!1}))}catch(o){this.ra("Error initializing conversations",o),this.Qo=!1}}else Zn.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Zn.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Zn.error("Cannot complete initialization: remote config is null")}ra(e,t){Zn.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Zn.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!Us(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,a){var o=this;return tr((function*(){return o._conversationsManager?o._conversationsManager.sendMessage(e,t,a):(Zn.warn(Pl),null)}))()}getMessages(e,t){var a=this;return tr((function*(){return a._conversationsManager?a._conversationsManager.getMessages(e,t):(Zn.warn(Pl),null)}))()}markAsRead(e){var t=this;return tr((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Zn.warn(Pl),null)}))()}getTickets(e){var t=this;return tr((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Zn.warn(Pl),null)}))()}requestRestoreLink(e){var t=this;return tr((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Zn.warn(Pl),null)}))()}restoreFromToken(e){var t=this;return tr((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Zn.warn(Pl),null)}))()}restoreFromUrlToken(){var e=this;return tr((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Zn.warn(Pl),null)}))()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}un(){var e;(e=this._conversationsManager)==null||e.setIdentity()}hn(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},wde={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=Ta("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.la=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,a=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Pt(a)&&a&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.oa=0,this.aa=0,this.la=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=at?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(a=>{var o;a||(o=e.logs)==null||!o.initializeLogs?this.Gt.error("Could not load logs script",a):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(qE)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,a,o,n,r,i;if(this._instance.is_capturing())if(e&&e.body){var c=(t=(a=this._instance.config.logs)==null?void 0:a.flushIntervalMs)!==null&&t!==void 0?t:3e3,d=(o=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&o!==void 0?o:1e3,u=Date.now();if(c>u-this.aa||(this.aa=u,this.oa=0,this.la=!1),d>this.oa){this.oa++;var m=(function(h,f){var v=h.level||"info",{text:b,number:w}=U3[v]||Lle,x=String(Date.now())+"000000",T={};f.distinctId&&(T.posthogDistinctId=f.distinctId),f.sessionId&&(T.sessionId=f.sessionId),f.currentUrl&&(T["url.full"]=f.currentUrl),f.screenName&&(T["screen.name"]=f.screenName),f.appState&&(T["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(T.feature_flags=f.activeFeatureFlags);var k=Me({},T,h.attributes||{}),C={timeUnixNano:x,observedTimeUnixNano:x,severityNumber:w,severityText:b,body:{stringValue:h.body},attributes:p2(k)};return h.trace_id&&(C.traceId=h.trace_id),h.span_id&&(C.spanId=h.span_id),$e(h.trace_flags)||(C.flags=h.trace_flags),C})(e,this.ua());this.sa.push({record:m}),((r=(i=this._instance.config.logs)==null?void 0:i.maxBufferSize)!==null&&r!==void 0?r:100)>this.sa.length?this.ha():this.flushLogs()}else this.la||(this.Gt.warn("captureLog dropping logs: exceeded "+d+" logs per "+c+"ms"),this.la=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.jr&&(clearTimeout(this.jr),this.jr=void 0),this.sa.length!==0){var t=this.sa;this.sa=[];var a=this._instance.config.logs,o=Me({"service.name":a?.serviceName||"unknown_service"},a?.environment&&{"deployment.environment":a.environment},a?.serviceVersion&&{"service.version":a.serviceVersion},a?.resourceAttributes),n=(function(i,c,d,u){return{resourceLogs:[{resource:{attributes:p2(c)},scopeLogs:[{scope:{name:d,version:u},logRecords:i}]}]}})(t.map((i=>i.record)),o,Jo.LIB_NAME,Jo.LIB_VERSION),r=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:r,data:n,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.jr||(this.jr=setTimeout((()=>{this.jr=void 0,this.flushLogs()}),(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}ua(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:a}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=a}if(at!=null&&(e=at.location)!=null&&e.href&&(t.currentUrl=at.location.href),this._instance.featureFlags){var o=this._instance.featureFlags.getFlags();o&&o.length>0&&(t.activeFeatureFlags=o)}return t}}},Sde=Me({},xb,dde,ude,pde,mde,hde,fde,gde,vde,bde,yde,wde);ar.__defaultExtensionClasses=Me({},Sde);var rN,$s=(rN=Rp[pd]=new ar,(function(){function e(){e.done||(e.done=!0,k4=!1,va(Rp,(function(t){t._dom_loaded()})))}ze!=null&&ze.addEventListener?ze.readyState==="complete"?e():Za(ze,"DOMContentLoaded",e,{capture:!1}):ge&&Ue.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),rN);let Fs=!1,O0=null,sN=!1;const KE="studio:lp-distinct-id",N4="mesh:lp-distinct-id",vT="/api/_reports/link-token/",Tde=1440*60*1e3;function M4(e){const t="https://analytics.invalid",a=/^[a-z][a-z\d+.-]*:\/\//i.test(e),o=e.startsWith("//");try{const n=new URL(e,t);let r=!1;for(const i of["key","d"])n.searchParams.has(i)&&(n.searchParams.delete(i),r=!0);return n.pathname.startsWith(vT)&&n.pathname!==vT&&(n.pathname=`${vT}redacted`,r=!0),r?a?n.toString():o?`//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`:e}catch{return e}}function bT(e){return Object.fromEntries(Object.entries(e).map(([t,a])=>[t,typeof a=="string"?M4(a):a]))}const xde=e=>e?(e.properties=bT(e.properties),e.$set&&(e.$set=bT(e.$set)),e.$set_once&&(e.$set_once=bT(e.$set_once)),e):null;function I4(){try{const e=window.localStorage.getItem(KE)??window.localStorage.getItem(N4);if(!e)return;const{id:t,ts:a}=JSON.parse(e);return typeof t!="string"||!t||typeof a!="number"?void 0:Date.now()-a<=Tde?t:void 0}catch{return}}function kde(){try{window.localStorage.removeItem(KE),window.localStorage.removeItem(N4)}catch{}}function Ede(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(KE,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const a=t??I4();return a?Object.keys(window.localStorage).some(n=>n.startsWith("ph_")&&n.endsWith("_posthog"))?void 0:a:void 0}catch{return}}function Cde(e){const t=I4();if(t&&(kde(),t!==e))try{$s.alias(t)}catch{}}function Pde(e,t){if(Fs||typeof window>"u")return;const a=Ede();$s.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...a?{bootstrap:{distinctID:a}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:xde,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:o=>({...o,...typeof o.name=="string"?{name:M4(o.name)}:{}})},person_profiles:"identified_only"}),Fs=!0}function _de(e,t){Fs&&($s.identify(e,t),Cde(e))}function Ade(){Fs&&($s.reset(),O0=null)}function L4(e,t){Fs&&$s.capture(e,t)}function g0e(){return Fs}function f0e(){if(!Fs||sN||typeof performance>"u")return;sN=!0;const e=performance.getEntriesByType("navigation")[0],t=a=>{const o=performance.getEntriesByName(a,"measure")[0];return o?Math.round(o.duration):void 0};L4("perf_app_bootstrap",{nav_type:e?.type,ttfb_ms:e?Math.round(e.responseStart):void 0,dom_interactive_ms:e?Math.round(e.domInteractive):void 0,dom_content_loaded_ms:e?Math.round(e.domContentLoadedEventEnd):void 0,config_fetch_ms:t("studio:config-fetch"),active_org_fetch_ms:t("studio:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:LJ(),org_cache_restored:BJ()})}function v0e(e,t){Fs&&e!==O0&&($s.group("organization",e,t),O0=e)}function B4(e,t){if(Fs)try{$s.captureException(e,t)}catch{}}const Rde=["radial-gradient(ellipse 85% 85% at 0% 0%, rgba(165,149,255,0.6) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 100% 100%, rgba(208,236,26,0.52) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 0% 100%, rgba(255,193,22,0.48) 0%, transparent 72%)"].join(", ");function Dde(e){const t=ye.c(3),{children:a}=e;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=y.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Rde}}),t[0]=o):o=t[0];let n;return t[1]!==a?(n=y.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[o,y.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:a})]}),t[1]=a,t[2]=n):n=t[2],n}function F4(e){const t=ye.c(20),{orgName:a}=e,o=$o(),n=Ode;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=y.jsx("div",{className:"bg-muted p-3 rounded-full","aria-hidden":"true",children:y.jsx(e3,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=r):r=t[0];let i;t[1]!==o?(i=o("common.archivedOrgScreen.orgUnavailable"),t[1]=o,t[2]=i):i=t[2];let c;t[3]!==i?(c=y.jsx("h3",{className:"text-lg font-medium",children:i}),t[3]=i,t[4]=c):c=t[4];let d;t[5]!==a||t[6]!==o?(d=a?o("common.archivedOrgScreen.deletedWithName",{orgName:a}):o("common.archivedOrgScreen.deletedGeneric"),t[5]=a,t[6]=o,t[7]=d):d=t[7];let u;t[8]!==d?(u=y.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=u):u=t[9];let m;t[10]!==c||t[11]!==u?(m=y.jsxs("div",{className:"space-y-2",children:[c,u]}),t[10]=c,t[11]=u,t[12]=m):m=t[12];let h;t[13]!==o?(h=o("common.goHome"),t[13]=o,t[14]=h):h=t[14];let f;t[15]!==h?(f=y.jsx(yn,{onClick:n,children:h}),t[15]=h,t[16]=f):f=t[16];let v;return t[17]!==m||t[18]!==f?(v=y.jsxs(Dde,{children:[r,m,f]}),t[17]=m,t[18]=f,t[19]=v):v=t[19],v}function Ode(){window.location.href="/"}function Nde(){const e=ye.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:a}=im(t);let o;return e[1]!==a?(o=y.jsx(yn,{variant:"outline",size:"sm",asChild:!0,children:y.jsx(Ql,{to:"/$org/settings/profile",params:{org:a},children:"Go to your profile"})}),e[1]=a,e[2]=o):o=e[2],o}function Mde(e){const t=ye.c(13),{area:a,description:o,action:n}=e,r=a?`No access to ${a}`:"No access",i=o??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=y.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:y.jsx(c3,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==r?(d=y.jsx("h3",{className:"text-lg font-medium",children:r}),t[1]=r,t[2]=d):d=t[2];let u;t[3]!==i?(u=y.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:i}),t[3]=i,t[4]=u):u=t[4];let m;t[5]!==d||t[6]!==u?(m=y.jsxs("div",{className:"space-y-1",children:[d,u]}),t[5]=d,t[6]=u,t[7]=m):m=t[7];let h;t[8]!==n?(h=n??y.jsx(Nde,{}),t[8]=n,t[9]=h):h=t[9];let f;return t[10]!==m||t[11]!==h?(f=y.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,m,h]}),t[10]=m,t[11]=h,t[12]=f):f=t[12],f}const iN="__studio_chunk_reload_ts";function j4(e){return e?.message===See}function Ide(e){return!!e?.message?.includes("Access denied")}function lN(e){if(!e)return!1;const t=e.message||"";return t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed")||t.includes("error loading dynamically imported module")||t.includes("Failed to fetch")&&e.name==="TypeError"}class Lde extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,a){console.error("Uncaught error:",t,a),B4(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:a.componentStack??null,route:typeof window<"u"?window.location.pathname:null})}resetError=()=>{this.setState({hasError:!1,error:null})};render(){if(this.state.hasError){const{fallback:t,t:a}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:j4(this.state.error)?y.jsx(F4,{}):Ide(this.state.error)?y.jsx(Mde,{}):y.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:y.jsx(DE,{className:"h-6 w-6 text-destructive"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:a("common.errorBoundary.somethingWentWrong")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||a("common.errorBoundary.unexpectedError")})]}),y.jsx(yn,{variant:"outline",onClick:this.resetError,children:a("common.errorBoundary.tryAgain")})]})}return this.props.children}}function Bde(e){const t=ye.c(3),a=$o();let o;return t[0]!==e||t[1]!==a?(o=y.jsx(Lde,{...e,t:a}),t[0]=e,t[1]=a,t[2]=o):o=t[2],o}class Fde extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,a){console.error("Uncaught error:",t,a);const o=lN(t);if(B4(t,{boundary:"chunk_root",is_chunk_load_error:o,error_name:t.name,error_message:t.message,component_stack:a.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!o)return;const n=sessionStorage.getItem(iN),r=Date.now();(!n||r-Number(n)>1e4)&&(sessionStorage.setItem(iN,String(r)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&lN(this.state.error)?y.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:y.jsx(d3,{className:"h-6 w-6 text-primary"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),y.jsx(yn,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?j4(this.state.error)?y.jsx(F4,{}):y.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[y.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:y.jsx(DE,{className:"h-6 w-6 text-destructive"})}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),y.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),y.jsx(yn,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function jde(e){const t=ye.c(3),a=$o();let o;return t[0]!==e||t[1]!==a?(o=y.jsx(Fde,{...e,t:a}),t[0]=e,t[1]=a,t[2]=o):o=t[2],o}const zde=Xl("surface flex flex-col gap-4",{variants:{size:{default:"p-5",tile:"gap-3 p-4",flush:"p-0"},interactive:{true:"surface-interactive focus-ring cursor-pointer text-left",false:""}},defaultVariants:{size:"default",interactive:!1}});function qde(e){const t=ye.c(14);let a,o,n,r,i;t[0]!==e?({className:a,size:r,interactive:o,asChild:i,...n}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=n,t[4]=r,t[5]=i):(a=t[1],o=t[2],n=t[3],r=t[4],i=t[5]);const d=(i===void 0?!1:i)?db:"div";let u;t[6]!==a||t[7]!==o||t[8]!==r?(u=Je(zde({size:r,interactive:o}),a),t[6]=a,t[7]=o,t[8]=r,t[9]=u):u=t[9];let m;return t[10]!==d||t[11]!==n||t[12]!==u?(m=y.jsx(d,{"data-slot":"card",className:u,...n}),t[10]=d,t[11]=n,t[12]=u,t[13]=m):m=t[13],m}function b0e(e){const t=ye.c(11),{title:a,description:o,docsHref:n,actions:r,className:i,children:c}=e;let d;t[0]!==i?(d=Je("flex flex-col gap-3",i),t[0]=i,t[1]=d):d=t[1];let u;t[2]!==r||t[3]!==o||t[4]!==n||t[5]!==a?(u=(a||o||n||r)&&y.jsxs("div",{className:"flex items-center justify-between gap-3 px-4",children:[y.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[a&&y.jsx("h2",{className:"text-base font-medium leading-tight",children:a}),(o||n)&&y.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[o,n&&y.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",y.jsx(t3,{size:12})]})]})]}),r&&y.jsx("div",{className:"shrink-0",children:r})]}),t[2]=r,t[3]=o,t[4]=n,t[5]=a,t[6]=u):u=t[6];let m;return t[7]!==c||t[8]!==d||t[9]!==u?(m=y.jsxs("section",{className:d,children:[u,c]}),t[7]=c,t[8]=d,t[9]=u,t[10]=m):m=t[10],m}function y0e(e){const t=ye.c(11),{className:a,children:o}=e;let n,r,i;if(t[0]!==o||t[1]!==a){const d=A.Children.toArray(o).filter(A.isValidElement);n=qde,t[5]!==a?(r=Je("p-0 gap-0 overflow-hidden",a),t[5]=a,t[6]=r):r=t[6],i=d.map(Ude),t[0]=o,t[1]=a,t[2]=n,t[3]=r,t[4]=i}else n=t[2],r=t[3],i=t[4];let c;return t[7]!==n||t[8]!==r||t[9]!==i?(c=y.jsx(n,{className:r,children:i}),t[7]=n,t[8]=r,t[9]=i,t[10]=c):c=t[10],c}function Ude(e,t){return y.jsxs("div",{children:[t>0&&y.jsx("div",{className:"h-px bg-border mx-5"}),e]},t)}function w0e(e){const t=ye.c(27),{icon:a,title:o,description:n,action:r,onClick:i,className:c,children:d}=e,u=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",m=i&&"hover:bg-accent cursor-pointer";let h;t[0]!==c||t[1]!==u||t[2]!==m?(h=Je(u,m,c),t[0]=c,t[1]=u,t[2]=m,t[3]=h):h=t[3];const f=i?"button":void 0,v=i?0:void 0;let b;t[4]!==i?(b=i?_=>{_.target===_.currentTarget&&(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),i())}:void 0,t[4]=i,t[5]=b):b=t[5];let w;t[6]!==a?(w=a&&y.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:a}),t[6]=a,t[7]=w):w=t[7];let x;t[8]!==o?(x=y.jsx("div",{className:"text-sm font-medium",children:o}),t[8]=o,t[9]=x):x=t[9];let T;t[10]!==n?(T=n&&y.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:n}),t[10]=n,t[11]=T):T=t[11];let k;t[12]!==d||t[13]!==x||t[14]!==T?(k=y.jsxs("div",{className:"flex-1 min-w-0",children:[x,T,d]}),t[12]=d,t[13]=x,t[14]=T,t[15]=k):k=t[15];let C;t[16]!==r?(C=r&&y.jsx("div",{className:"shrink-0",onClick:$de,children:r}),t[16]=r,t[17]=C):C=t[17];let E;return t[18]!==i||t[19]!==k||t[20]!==C||t[21]!==h||t[22]!==f||t[23]!==v||t[24]!==b||t[25]!==w?(E=y.jsxs("div",{className:h,onClick:i,role:f,tabIndex:v,onKeyDown:b,children:[w,k,C]}),t[18]=i,t[19]=k,t[20]=C,t[21]=h,t[22]=f,t[23]=v,t[24]=b,t[25]=w,t[26]=E):E=t[26],E}function $de(e){return e.stopPropagation()}function S0e(e){const t=ye.c(5),{className:a,children:o}=e;let n;t[0]!==a?(n=Je("px-4 py-4",a),t[0]=a,t[1]=n):n=t[1];let r;return t[2]!==o||t[3]!==n?(r=y.jsx("div",{className:n,children:o}),t[2]=o,t[3]=n,t[4]=r):r=t[4],r}function T0e(e){const t=ye.c(5),{children:a,className:o}=e;let n;t[0]!==o?(n=Je("flex items-center justify-end gap-2 px-4 py-4",o),t[0]=o,t[1]=n):n=t[1];let r;return t[2]!==a||t[3]!==n?(r=y.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=r):r=t[4],r}function Vde(e){const t=ye.c(5),{className:a,children:o}=e;let n;t[0]!==a?(n=Je("flex flex-col gap-10",a),t[0]=a,t[1]=n):n=t[1];let r;return t[2]!==o||t[3]!==n?(r=y.jsx("div",{className:n,children:o}),t[2]=o,t[3]=n,t[4]=r):r=t[4],r}const kb={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[],ownedRoutes:["/$org/settings/api-keys"]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",icon:h3,labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",icon:p3,labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",icon:n3,labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",icon:u3,labelKey:"settings.subnav.infrastructure",to:"/$org/settings/infra-billing",requires:"members:manage",requiresOwnedSites:!0}]},repositories:{key:"repositories",titleKey:"settings.nav.repositories",tabs:[],ownedRoutes:["/$org/settings/repositories"]},storage:{key:"storage",titleKey:"settings.nav.storage",tabs:[{key:"buckets",icon:i3,labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",icon:s3,labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function x0e(e){const t=kb[e];return[...t.tabs.map(a=>a.to),...t.ownedRoutes??[]]}function k0e(e){return kb[e].tabs.length>0}const Hde=new Set(["owner","admin"]);function z4(){const e=ye.c(11),{org:t,locator:a}=Zi();let o;e[0]!==a?(o=lo.myCapabilities(a),e[0]=a,e[1]=o):o=e[1];let n;e[2]!==t?(n=async()=>{const m=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(t.slug)}`,{credentials:"include"});if(!m.ok)throw new Error(`my-capabilities request failed: ${m.status}`);return await m.json()},e[2]=t,e[3]=n):n=e[3];let r;e[4]!==o||e[5]!==n?(r={queryKey:o,queryFn:n,staleTime:3e4,retry:2},e[4]=o,e[5]=n,e[6]=r):r=e[6];const{data:i,isLoading:c,isError:d}=Ki(r);let u;return e[7]!==i||e[8]!==d||e[9]!==c?(u={data:i,loading:c,error:d},e[7]=i,e[8]=d,e[9]=c,e[10]=u):u=e[10],u}function E0e(e){const t=ye.c(8),{data:a,loading:o,error:n}=z4();if(o){let u;return t[0]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!0,error:!1,reason:"loading"},t[0]=u):u=t[0],u}if(n){let u;return t[1]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!1,error:!0,reason:"error"},t[1]=u):u=t[1],u}const r=a?.role??null;if(!r){let u;return t[2]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!1,loading:!1,error:!1,reason:"denied"},t[2]=u):u=t[2],u}if(r==="owner"){let u;return t[3]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!0,loading:!1,error:!1,reason:"owner"},t[3]=u):u=t[3],u}if(r==="admin"){let u;return t[4]===Symbol.for("react.memo_cache_sentinel")?(u={granted:!0,loading:!1,error:!1,reason:"admin"},t[4]=u):u=t[4],u}const i=a?.capabilities?.[e]===!0,c=i?"role":"denied";let d;return t[5]!==i||t[6]!==c?(d={granted:i,loading:!1,error:!1,reason:c},t[5]=i,t[6]=c,t[7]=d):d=t[7],d}function q4(){const e=ye.c(10),{data:t,loading:a,error:o}=z4(),n=t?.role??void 0;let r;e[0]!==n?(r=n?Hde.has(n):!1,e[0]=n,e[1]=r):r=e[1];const i=r;let c;e[2]!==t?.capabilities?(c=t?.capabilities??{},e[2]=t?.capabilities,e[3]=c):c=e[3];const d=c;let u;return e[4]!==o||e[5]!==i||e[6]!==a||e[7]!==n||e[8]!==d?(u={capabilities:d,loading:a,error:o,isPrivileged:i,roleSlug:n},e[4]=o,e[5]=i,e[6]=a,e[7]=n,e[8]=d,e[9]=u):u=e[9],u}function Gde(){const e=ye.c(13),{org:t}=Zi(),a=Jk(),{capabilities:o,isPrivileged:n}=q4(),r=n||!!o["members:manage"];let i;e[0]!==t.id?(i=lo.infraBillingSites(t.id),e[0]=t.id,e[1]=i):i=e[1];const c=!!t.id&&r;let d;e[2]!==a?(d=()=>a.call("INFRA_BILLING_SITES_LIST",{}),e[2]=a,e[3]=d):d=e[3];let u;e[4]!==i||e[5]!==c||e[6]!==d?(u={queryKey:i,staleTime:3e5,enabled:c,queryFn:d},e[4]=i,e[5]=c,e[6]=d,e[7]=u):u=e[7];const{data:m,isLoading:h}=Ki(u);let f;e[8]!==m?.sites?(f=m?.sites.map(Wde)??[],e[8]=m?.sites,e[9]=f):f=e[9];let v;return e[10]!==h||e[11]!==f?(v={sites:f,isLoading:h},e[10]=h,e[11]=f,e[12]=v):v=e[12],v}function Wde(e){return e.slug}function C0e(){const e=ye.c(7),t=Jk(),a=$o();let o;e[0]!==t?(o=i=>t.call("INFRA_BILLING_PORTAL",{siteSlugs:i}),e[0]=t,e[1]=o):o=e[1];let n;e[2]!==a?(n=i=>Fd.error(a("settings.infraBilling.portalError",{message:i.message})),e[2]=a,e[3]=n):n=e[3];let r;return e[4]!==o||e[5]!==n?(r={mutationFn:o,onSuccess:Kde,onError:n},e[4]=o,e[5]=n,e[6]=r):r=e[6],yf(r)}function Kde(e){const{url:t}=e;return window.open(t,"_blank","noopener,noreferrer")}function P0e(e,t){const a=ye.c(14),{org:o}=Zi(),n=Jk();let r,i,c;a[0]!==o.id||a[1]!==t||a[2]!==e?(r=[...e].sort(),c=Ki,i=lo.infraBilling(o.id,r.join(","),t),a[0]=o.id,a[1]=t,a[2]=e,a[3]=r,a[4]=i,a[5]=c):(r=a[3],i=a[4],c=a[5]);const d=r.length>0;let u;a[6]!==t||a[7]!==r||a[8]!==n?(u=()=>n.call("INFRA_BILLING_GET",{siteSlugs:r,period:t}),a[6]=t,a[7]=r,a[8]=n,a[9]=u):u=a[9];let m;return a[10]!==i||a[11]!==d||a[12]!==u?(m={queryKey:i,enabled:d,staleTime:6e4,queryFn:u},a[10]=i,a[11]=d,a[12]=u,a[13]=m):m=a[13],c(m)}function Yde(){const e=ye.c(7),{capabilities:t,isPrivileged:a,loading:o,error:n}=q4(),{sites:r,isLoading:i}=Gde(),c=r.length>0;let d;if(e[0]!==t||e[1]!==n||e[2]!==a||e[3]!==o||e[4]!==c||e[5]!==i){const u=m=>m.requiresOwnedSites&&!c&&!i?!1:o||n?!0:m.privilegedOnly?a:m.requires?a||t[m.requires]:!0;d=Object.fromEntries(Object.values(kb).map(m=>[m.key,m.tabs.filter(u)])),e[0]=t,e[1]=n,e[2]=a,e[3]=o,e[4]=c,e[5]=i,e[6]=d}else d=e[6];return d}function Qde(e){const t=ye.c(16),{group:a}=e,o=$o();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},t[0]=n):n=t[0];const{org:r}=im(n);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i={select:Zde},t[1]=i):i=t[1];const c=Tk(i),d=Yde()[a],{titleKey:u}=kb[a];let m;t[2]!==o||t[3]!==u?(m=o(u),t[2]=o,t[3]=u,t[4]=m):m=t[4];let h;t[5]!==m?(h=y.jsx(Cd.Title,{children:m}),t[5]=m,t[6]=h):h=t[6];let f;t[7]!==a||t[8]!==r||t[9]!==c||t[10]!==o||t[11]!==d?(f=d.length>1&&y.jsx(mn.Toolbar.Left.Portal,{children:y.jsx(Cd.Tabs,{"data-testid":"settings-subnav","aria-label":o("settings.subnav.ariaLabel"),children:d.map(b=>{const w=b.to.replace("$org",r),x=c===w||c.startsWith(`${w}/`);return y.jsx(Cd.Tab,{active:x,asChild:!0,children:y.jsx(Ql,{to:b.to,params:{org:r},onClick:()=>L4("settings_subnav_clicked",{group_key:a,tab_key:b.key}),children:o(b.labelKey)})},b.key)})})}),t[7]=a,t[8]=r,t[9]=c,t[10]=o,t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==h||t[14]!==f?(v=y.jsxs(y.Fragment,{children:[h,f]}),t[13]=h,t[14]=f,t[15]=v):v=t[15],v}function Zde(e){return e.location.pathname}function U4(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=y.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[y.jsx(RO,{className:"h-32 w-full"}),y.jsx(RO,{className:"h-32 w-full"})]}),e[0]=t):t=e[0],t}function Jde(e){const t=ye.c(14),{group:a,fallback:o,errorFallback:n,className:r,children:i}=e;let c;t[0]!==a?(c=y.jsx(Qde,{group:a}),t[0]=a,t[1]=c):c=t[1];let d;t[2]!==o?(d=o??y.jsx(U4,{}),t[2]=o,t[3]=d):d=t[3];let u;t[4]!==i||t[5]!==d?(u=y.jsx(A.Suspense,{fallback:d,children:i}),t[4]=i,t[5]=d,t[6]=u):u=t[6];let m;t[7]!==n||t[8]!==u?(m=y.jsx(Bde,{fallback:n,children:u}),t[7]=n,t[8]=u,t[9]=m):m=t[9];let h;return t[10]!==r||t[11]!==c||t[12]!==m?(h=y.jsx(Cd,{children:y.jsx(Cd.Content,{children:y.jsx(Cd.Container,{children:y.jsxs(Vde,{className:r,children:[c,m]})})})}),t[10]=r,t[11]=c,t[12]=m,t[13]=h):h=t[13],h}function Vs(e){return function(){return y.jsx(Jde,{group:e,children:y.jsx(U4,{})})}}function Xde(e){try{localStorage.setItem(Nr.lastLocation(),JSON.stringify(e))}catch{}}function eue(){try{const e=localStorage.getItem(Nr.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org}}catch{}return null}function _0e(){try{localStorage.removeItem(Nr.lastLocation())}catch{}}function tue(e,t){const a=e&&t?NJ(t,e):null;return{queryKey:lo.activeOrganization(e),queryFn:async()=>{if(!e)return null;const o={organizationSlug:e};performance.mark("mesh:active-org-fetch:start");const{data:n}=await fo.organization.getFullOrganization({query:o}).finally(()=>{performance.mark("mesh:active-org-fetch:end"),performance.measure("mesh:active-org-fetch","mesh:active-org-fetch:start","mesh:active-org-fetch:end")}),r=oE(n);return n&&!r&&localStorage.setItem(Nr.lastOrgSlug(),e),t&&n&&MJ(t,e,n),n},initialData:a?a.data:void 0,initialDataUpdatedAt:a?.updatedAt,gcTime:1/0,refetchOnWindowFocus:!1}}let cN;async function aue(e){cN=e,await jB();const t=kee();if(!t)return;const a=await Jl.ensureQueryData(tue(e,t)).catch(()=>null);a&&!oE(a)&&cN===e&&Xde({org:e})}const Ct={home:"/$org/home",projects:"/$org/projects/$agentId",tasks:"/$org/tasks/{-$taskKey}",reports:"/$org/reports",library:"/$org/library",discover:"/$org/discover",plan:"/$org/plan",monitoring:"/$org/monitoring",orgIndex:"/$org/"},Ke={root:Ct.projects,tasks:"/$org/projects/$agentId/tasks/{-$taskKey}",reports:"/$org/projects/$agentId/reports",siteEditor:"/$org/projects/$agentId/site-editor",siteEditorContent:"/$org/projects/$agentId/site-editor/content",siteEditorCode:"/$org/projects/$agentId/site-editor/code",blog:"/$org/projects/$agentId/blog",blogPost:"/$org/projects/$agentId/blog/posts/$postId",automations:"/$org/projects/$agentId/automations",automation:"/$org/projects/$agentId/automations/$automationId",app:"/$org/projects/$agentId/apps/$connectionId/$toolName",view:"/$org/projects/$agentId/views/$viewId",outputFile:"/$org/projects/$agentId/outputs/file",outputDeck:"/$org/projects/$agentId/outputs/deck",library:"/$org/projects/$agentId/library",libraryFile:"/$org/projects/$agentId/library/file",connectSources:"/$org/projects/$agentId/connect-sources",settings:"/$org/projects/$agentId/settings",assets:"/$org/projects/$agentId/assets",releases:"/$org/projects/$agentId/releases",hosting:"/$org/projects/$agentId/hosting",e2e:"/$org/projects/$agentId/e2e",calendar:"/$org/projects/$agentId/calendar",experiments:"/$org/projects/$agentId/experiments",plan:"/$org/projects/$agentId/plan",businessCase:"/$org/projects/$agentId/plan/case",monitoring:"/$org/projects/$agentId/monitoring"};function A0e(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:oue},e[0]=t):t=e[0],Tk(t)}function oue(e){return e.matches.at(-1)?.fullPath??""}function R0e(){const e=ye.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:nue},e[0]=t):t=e[0],Tk(t)}function nue(e){return e.matches.findLast(rue)?.staticData.mainView}function rue(e){return e.staticData.mainView}function Rf(e){return`agent-view:${encodeURIComponent(e)}`}function sue(e){if(!e?.startsWith("agent-view:"))return null;const t=e.slice(11);if(!t)return null;try{const a=decodeURIComponent(t);return a?{id:a}:null}catch{return null}}function $4(e){if(!e||!e.startsWith("automation:"))return null;const t=e.slice(11);return t?{id:t}:null}function iue(e){return`blog-post:${encodeURIComponent(e)}`}function lue(e){if(!e?.startsWith("blog-post:"))return null;const t=e.slice(10);if(!t)return null;try{const a=decodeURIComponent(t);return a?{id:a}:null}catch{return null}}function YE(e,t){return`app:${e}:${t}`}function cue(e){if(!e||!e.startsWith("app:"))return null;const t=e.slice(4),a=t.indexOf(":");if(a<=0)return null;const o=t.slice(0,a),n=t.slice(a+1);return!o||!n?null:{connectionId:o,toolName:n}}function V4(e){return`deck:${encodeURIComponent(e)}`}function due(e){if(!e||!e.startsWith("deck:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function uue(e){return`case:${encodeURIComponent(e)}`}function pue(e){if(!e||!e.startsWith("case:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function H4(e){return`file:${encodeURIComponent(e)}`}function mue(e){if(!e||!e.startsWith("file:"))return null;const t=e.slice(5);if(!t)return null;try{return{key:decodeURIComponent(t)}}catch{return null}}function G4(e){return`library-file:${encodeURIComponent(e)}`}function hue(e){if(!e||!e.startsWith("library-file:"))return null;const t=e.slice(13);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}function W4(e){return`code:${encodeURIComponent(e)}`}function gue(e){if(!e)return null;if(e==="code")return{path:null};if(!e.startsWith("code:"))return null;const t=e.slice(5);if(!t)return null;try{return{path:decodeURIComponent(t)}}catch{return null}}const K4=["overview","settings","automations","site-editor","code","content","blog","assets","hosting","e2e","analytics","cdn"],fue=new Set(K4),Y4=new Set(["hosting","e2e","analytics","cdn"]),vue=new Set(["board","files","connect-sources","reports"]);function D0e(e){return e.startsWith("app:")||e.startsWith("automation:")||e.startsWith("file:")||e.startsWith("deck:")||e.startsWith("case:")||e.startsWith("library-file:")||e.startsWith("code:")}const bue=new Map([["preview","site-editor"],["git","site-editor"]]);function Eb(e){return bue.get(e)??e}const QE=new Set(["instructions","connections","layout","settings"]);function yue(e){return!!e&&QE.has(e)}const wue=new Set(["overview","board","reports"]);function Q4(e){const t=e?.defaultMainView??null;if(!t)return"settings";const a=Eb(t.type);if(QE.has(a))return"settings";if(fue.has(a)||wue.has(a))return a;if(a==="ext-app"||a==="ext-apps"){if(t.id&&t.toolName)return YE(t.id,t.toolName);const n=e?.tabs?.map(r=>r.id)??[];return t.id&&n.includes(t.id)?Rf(t.id):n[0]?Rf(n[0]):"settings"}const o=e?.tabs?.[0]?.id;return o?Rf(o):"settings"}function Z4(e){const t={...e};return Reflect.deleteProperty(t,"projectOverview"),Reflect.deleteProperty(t,"appTakeover"),t}const O0e=e=>({...Z4(e),projectOverview:!0});function Sue(e){return typeof e=="object"&&e!==null&&"projectOverview"in e&&e.projectOverview===!0}const N0e=e=>({...Z4(e),appTakeover:!0});function M0e(e){return typeof e=="object"&&e!==null&&"appTakeover"in e&&e.appTakeover===!0}function I0e(e){const t=e?.defaultMainView?.type;if(!t||t==="chat")return null;const a=Q4(e);return a==="overview"?null:a}function L0e(e){const t=e.routeDefaultMain||Q4(e.metadata),a=e.panelTabId&&QE.has(e.panelTabId)?"settings":e.panelTabId?Eb(e.panelTabId):e.panelTabId,o=e.metadata?.defaultMainView??null,n=o==null||o.type==="chat";return{mainOpen:e.mainPanelParam??(!!a||!!e.routeDefaultMain||!n),activeTab:a??t}}function B0e(e){return e.mainOpen&&e.clickedId===e.activeTab?{close:!0}:{tabId:e.clickedId}}function F0e(e){return e.mainOpen?e.activeTab==="automations"?!0:$4(e.activeTab)!==null:!1}const Tue=new Set([...K4.filter(e=>!Y4.has(e)),...vue,"app","file","deck","library-file","connect-sources","instructions","connections","layout","preview","discover"]);function xue(e){return!!e&&Tue.has(e)}function kue(e,t){if(e)switch(e){case"app":return t.connection&&t.tool?YE(t.connection,t.tool):void 0;case"automations":return t.automation?`automation:${t.automation}`:"automations";case"file":return t.key?H4(t.key):void 0;case"deck":return t.deck?V4(t.deck):void 0;case"library-file":return t.path?G4(t.path):void 0;case"code":return t.file?W4(t.file):"code";default:{const a=Eb(e);return a==="site-editor"&&t.main==="content"?"content":a}}}function j0e(e){const t=e.params??{},a=e.search??{};if(e.siteEditorView==="content")return"content";if(e.siteEditorView==="code")return a.file?W4(a.file):"code";if(e.siteEditorView==="preview")return"site-editor";switch(e.mainView){case"blog-post":return t.postId?iue(t.postId):"blog";case"automation":return t.automationId?`automation:${t.automationId}`:"automations";case"app":return t.connectionId&&t.toolName?YE(t.connectionId,t.toolName):void 0;case"view":return t.viewId?Rf(t.viewId):void 0;case"file":return a.key?H4(a.key):void 0;case"deck":return a.path?V4(a.path):void 0;case"business-case":return a.path?uue(a.path):void 0;case"library-file":return a.path?G4(a.path):void 0;default:return e.mainView}}const Eue={files:"library",discover:"discover"},Cue={board:"tasks",reports:"reports",plan:"plan",monitoring:"monitoring",analytics:"monitoring",cdn:"monitoring"},Pue={analytics:"audience",cdn:"performance"},_ue={settings:"settings",assets:"assets",releases:"releases",hosting:"hosting",e2e:"e2e",calendar:"calendar",experiments:"experiments"};function J4(e){const t=sue(e);if(t)return{kind:"agent-view",viewId:t.id};const a=cue(e);if(a)return{kind:"app",connectionId:a.connectionId,toolName:a.toolName};const o=$4(e);if(o)return{kind:"automations",automationId:o.id};const n=lue(e);if(n)return{kind:"blog",postId:n.id};const r=mue(e);if(r)return{kind:"output-file",key:r.key};const i=due(e);if(i)return{kind:"output-deck",path:i.path};const c=pue(e);if(c)return{kind:"business-case",path:c.path};const d=hue(e);if(d)return{kind:"library-file",path:d.path};const u=gue(e);if(u)return{kind:"site-editor",view:"code",...u.path?{file:u.path}:{}};if(yue(e))return{kind:"agent-section",section:"settings"};const m=Eb(e);if(m==="overview")return{kind:"agent-overview"};if(m==="site-editor")return{kind:"site-editor",view:"preview"};if(m==="content")return{kind:"site-editor",view:"content"};if(m==="blog")return{kind:"blog"};if(m==="automations")return{kind:"automations"};if(m==="connect-sources")return{kind:"connect-sources"};const h=Cue[m];if(h){const b=Pue[m];return{kind:"project-destination",destination:h,...b?{monitorView:b}:{}}}const f=Eue[m];if(f)return{kind:"org-destination",destination:f};const v=_ue[m];return v?{kind:"agent-section",section:v}:{kind:"agent-view",viewId:m}}function Hl(e){const{org:t,agentId:a}=e,o={org:t,agentId:a},n=J4(e.tabId);switch(n.kind){case"project-destination":{const r=e.destinationScope==="organization";switch(n.destination){case"tasks":return r?{to:Ct.tasks,params:{org:t,taskKey:e.taskKey},search:{}}:{to:Ke.tasks,params:{...o,taskKey:e.taskKey},search:{}};case"reports":return r?{to:Ct.reports,params:{org:t},search:{}}:{to:Ke.reports,params:o,search:{}};case"plan":return r?{to:Ct.plan,params:{org:t},search:{}}:{to:Ke.plan,params:o,search:{}};case"monitoring":{const i=n.monitorView?{view:n.monitorView}:{};return r?{to:Ct.monitoring,params:{org:t},search:i}:{to:Ke.monitoring,params:o,search:i}}}}case"org-destination":switch(n.destination){case"home":return{to:Ct.home,params:{org:t},search:{}};case"discover":return{to:Ct.discover,params:{org:t},search:{}};case"library":return{to:Ct.library,params:{org:t},search:{}}}case"agent-overview":return{to:Ke.root,params:o,search:{}};case"site-editor":return n.view==="content"?{to:Ke.siteEditorContent,params:o,search:{}}:n.view==="code"?{to:Ke.siteEditorCode,params:o,search:{file:n.file}}:{to:Ke.siteEditor,params:o,search:{}};case"agent-section":return{to:Ke[n.section],params:o,search:{}};case"blog":return n.postId?{to:Ke.blogPost,params:{...o,postId:n.postId},search:{}}:{to:Ke.blog,params:o,search:{}};case"automations":return n.automationId?{to:Ke.automation,params:{...o,automationId:n.automationId},search:{}}:{to:Ke.automations,params:o,search:{}};case"app":return{to:Ke.app,params:{...o,connectionId:n.connectionId,toolName:n.toolName},search:{}};case"agent-view":return{to:Ke.view,params:{...o,viewId:n.viewId},search:{}};case"output-file":return{to:Ke.outputFile,params:o,search:{key:n.key}};case"output-deck":return{to:Ke.outputDeck,params:o,search:{path:n.path}};case"business-case":return{to:Ke.businessCase,params:o,search:{path:n.path}};case"library-file":return{to:Ke.libraryFile,params:o,search:{path:n.path}};case"connect-sources":return{to:Ke.connectSources,params:o,search:{}}}}function z0e(e){if(!e.agentId||e.agentId===e.superAgentId&&(e.tabId===void 0||e.tabId==="overview"))return{to:Ct.home,params:{org:e.org},search:{}};const t=e.tabId??"overview",a=e.agentId!==e.superAgentId&&J4(t).kind==="org-destination"?"overview":t;return Hl({org:e.org,agentId:e.agentId,tabId:a,destinationScope:e.agentId===e.superAgentId?"organization":"project"})}function Aue(e,t,a={}){const o=r=>({...a.search?.(r)??{},...t.search}),n=a.replace??!0;switch(t.to){case Ct.tasks:e({to:Ct.tasks,params:t.params,search:o,replace:n});return;case Ct.home:e({to:Ct.home,params:t.params,search:o,replace:n});return;case Ct.reports:e({to:Ct.reports,params:t.params,search:o,replace:n});return;case Ct.discover:e({to:Ct.discover,params:t.params,search:o,replace:n});return;case Ct.plan:e({to:Ct.plan,params:t.params,search:o,replace:n});return;case Ct.monitoring:e({to:Ct.monitoring,params:t.params,search:o,replace:n});return;case Ct.library:e({to:Ct.library,params:t.params,search:o,replace:n});return;case Ke.root:e({to:Ke.root,params:t.params,search:o,replace:n});return;case Ke.tasks:e({to:Ke.tasks,params:t.params,search:o,replace:n});return;case Ke.reports:e({to:Ke.reports,params:t.params,search:o,replace:n});return;case Ke.plan:e({to:Ke.plan,params:t.params,search:o,replace:n});return;case Ke.monitoring:e({to:Ke.monitoring,params:t.params,search:o,replace:n});return;case Ke.siteEditor:e({to:Ke.siteEditor,params:t.params,search:o,replace:n});return;case Ke.siteEditorContent:e({to:Ke.siteEditorContent,params:t.params,search:o,replace:n});return;case Ke.siteEditorCode:e({to:Ke.siteEditorCode,params:t.params,search:o,replace:n});return;case Ke.automations:e({to:Ke.automations,params:t.params,search:o,replace:n});return;case Ke.automation:e({to:Ke.automation,params:t.params,search:o,replace:n});return;case Ke.app:e({to:Ke.app,params:t.params,search:o,replace:n});return;case Ke.view:e({to:Ke.view,params:t.params,search:o,replace:n});return;case Ke.outputFile:e({to:Ke.outputFile,params:t.params,search:o,replace:n});return;case Ke.outputDeck:e({to:Ke.outputDeck,params:t.params,search:o,replace:n});return;case Ke.businessCase:e({to:Ke.businessCase,params:t.params,search:o,replace:n});return;case Ke.libraryFile:e({to:Ke.libraryFile,params:t.params,search:o,replace:n});return;case Ke.connectSources:e({to:Ke.connectSources,params:t.params,search:o,replace:n});return;case Ke.blog:e({to:Ke.blog,params:t.params,search:o,replace:n});return;case Ke.blogPost:e({to:Ke.blogPost,params:t.params,search:o,replace:n});return;case Ke.settings:case Ke.assets:case Ke.releases:case Ke.hosting:case Ke.e2e:case Ke.calendar:case Ke.experiments:e({to:t.to,params:t.params,search:o,replace:n});return;default:return Rue(t)}}function Rue(e){throw new Error(`Unhandled tab route target: ${JSON.stringify(e)}`)}function q0e(e,t){Aue(e,Hl(t),t)}function Due(e){const t=/^(\/[^/]+)\/agents(?=\/|$)/.exec(e);return t?.[1]?`${t[1]}/projects${e.slice(t[0].length)}`:null}function Oue(e){const t=e.split("/").filter(Boolean);return(t[1]==="projects"||t[1]==="agents")&&t.length>3}const Nue=new Set(["main","virtualmcpid","file","key","deck","path","connection","tool","automation"]),X4=new Set(["main"]),Mue=new Set(["virtualmcpid"]);function Cb(e,t){return Object.fromEntries(Object.entries(e).filter(([a])=>!t.has(a)))}function ql(e,t){return{...Cb(e,Nue),...t.search}}function Iue(e){return Cb(e,Mue)}function U0e(e){if(e.search.virtualmcpid===void 0)return null;const t=Er(e.search.virtualmcpid);if(t){const a=e.routePath===Ct.tasks?"board":e.routePath===Ct.reports?"reports":null;if(e.routePath===Ct.home||a){const o=a?Hl({org:e.org,agentId:t,tabId:a}):Wd(e.org,t);return{kind:"canonical",route:o,search:ql(e.search,o)}}}return e.routePath===Ct.home||e.routePath===Ct.tasks||e.routePath===Ct.reports||e.routePath===Ct.library?{kind:"same-route",search:Iue(e.search)}:null}function Er(e){return e?.trim()||void 0}function e5(e){return xue(e)||e!==void 0&&Y4.has(e)}function t5(e){const t=Er(e);return t?t.startsWith("vir_")&&t.length>4||tB(t)!==null||nQ(t)!==null||rQ(t)!==null||oB(t)||nB(t):!1}function Lue(e){const t=Er(e.agentIdParam),a=e5(t);return t&&!a?t:Er(e.virtualMcpIdSearch)??Er(e.fallbackAgentId)}function $0e(e){const t=e.pathAgentId;if(t&&e.pathLegacyView){const i=N0({org:e.org,agentId:t,panel:e.pathLegacyView,source:"project-first",search:e.search});return i?.kind==="canonical"?{route:i.route,search:i.search}:null}if(!t||Oue(e.pathname))return null;const a=e.search.virtualmcpid!==void 0&&!t5(t);if(!(e5(t)||a))return null;const n=Lue({agentIdParam:a?void 0:t,virtualMcpIdSearch:e.search.virtualmcpid,fallbackAgentId:e.fallbackAgentId}),r=N0({org:e.org,agentId:n,panel:t,source:"view-first",search:e.search});return r?.kind==="canonical"?{route:r.route,search:r.search}:null}function Bue(e,t,a,o){const n=Er(o);switch(e){case"board":return n?Hl({org:t,agentId:n,tabId:"board"}):{to:Ct.tasks,params:{org:t,taskKey:void 0},search:{}};case"files":{const r=Ai(a.path);return{to:Ct.library,params:{org:t},search:r?{path:r}:{}}}case"reports":return n?Hl({org:t,agentId:n,tabId:"reports"}):{to:Ct.reports,params:{org:t},search:{}};case"overview":return{to:Ct.home,params:{org:t},search:{}};case"discover":return{to:Ct.discover,params:{org:t},search:{}};default:return null}}function em(e){const t=Bue(e.tabId,e.org,e.search,e.agentId);if(t)return t;if(e.tabId==="chat")return Wd(e.org,e.agentId);const a=Er(e.agentId);return a?e.tabId==="app"||e.tabId==="file"||e.tabId==="deck"||e.tabId==="library-file"||e.tabId.trim()===""?{to:Ke.root,params:{org:e.org,agentId:a},search:{}}:Hl({org:e.org,agentId:a,tabId:e.tabId}):null}function Wd(e,t){const a=Er(t);return a?{to:Ke.root,params:{org:e,agentId:a},search:{}}:{to:Ct.home,params:{org:e},search:{}}}function Fue(e){const{main:t}=e;if(t===void 0)return null;const a=e.search??{};if(t===0||t==="0")return{kind:"same-route",search:{...Cb(a,X4),mainpanel:!1}};if(t==="chat"){const n=Wd(e.org,e.agentId);return{kind:"canonical",route:n,search:{...ql(a,n),sidepanel:!0,mainpanel:!1}}}const o=em({org:e.org,agentId:e.agentId,tabId:t,search:a});return o?{kind:"canonical",route:o,search:ql(a,o)}:null}function Ai(e){return typeof e=="string"&&e.length>0?e:void 0}function N0(e){const t=e.search??{};if((t.main===0||t.main==="0")&&e.panel){const i=N0({...e,search:Cb(t,X4)});return i?.kind!=="canonical"?i:{...i,search:{...i.search,mainpanel:!1}}}if(t.main!==void 0)return Fue({org:e.org,agentId:e.agentId,main:t.main,search:t});const a=Er(e.agentId),o=e.panel;if(!o){const i=Wd(e.org,a);return{kind:"canonical",route:i,search:ql(t,i)}}const n=kue(o,{file:Ai(t.file),key:Ai(t.key),deck:Ai(t.deck),path:Ai(t.path),connection:Ai(t.connection),tool:Ai(t.tool),automation:Ai(t.automation)}),r=n?e.source==="project-first"&&n==="overview"&&a?Hl({org:e.org,agentId:a,tabId:n}):em({org:e.org,agentId:a,tabId:n,search:t}):em({org:e.org,agentId:a,tabId:"",search:t});return r?{kind:"canonical",route:r,search:n==="chat"?{...ql(t,r),sidepanel:!0,mainpanel:!1}:ql(t,r)}:null}function V0e(e){const t=e.search??{},a=Er(t.virtualmcpid),o=Er(e.fallbackAgentId),n=t.main;let r;if(n==="chat")r=Wd(e.org,a);else if(n!==void 0&&n!==0&&n!=="0"){const i=em({org:e.org,agentId:a,tabId:n,search:t}),c=!i&&n.trim().length>0&&o?em({org:e.org,agentId:o,tabId:n,search:t}):null;r=i??c??{to:Ct.home,params:{org:e.org},search:{}}}else r=Wd(e.org,a);return{route:r,search:{...ql(t,r),...n===void 0&&t.sidepanel===void 0?{sidepanel:!0}:{},...n===0||n==="0"?{mainpanel:!1}:{},...n==="chat"?{sidepanel:!0,mainpanel:!1}:{},thread:e.taskId}}}function a5(e,t){if(t.task===void 0)return null;const{task:a,...o}=t;return{taskKey:e??(a.trim()||void 0),search:o}}const jue={contentPageId:$().optional(),contentPath:$().optional(),contentPathTemplate:$().optional(),contentCollection:$().optional(),contentItem:$().optional()},o5=jue,ZE={view:$().optional(),group:$().optional(),subgroup:$().optional(),sort:$().optional(),dir:$().optional(),q:$().optional(),assignee:$().optional(),priority:$().optional(),due:$().optional(),tags:$().optional(),repo:$().optional(),sprint:$().optional(),boardOrg:$().optional()},zue=["files","brand","connections","repositories","skills","memory","instructions","general","views","repository","site"],Dv={fileView:Wt(["all","documents","media"]).catch("all").optional(),modified:Wt(["any","today","week","month"]).catch("any").optional(),layout:Wt(["list","grid"]).catch("list").optional(),sort:Wt(["name","updated","size"]).catch("name").optional(),path:$().optional(),preview:$().optional(),expanded:fx().optional().catch(void 0),skill:$().optional(),brand:$().optional(),section:Wt(zue).catch("files").optional(),scope:Wt(["user"]).optional().catch(void 0),action:Wt(["create"]).optional().catch(void 0),tab:Wt(["all","connected"]).optional().catch(void 0)},que={file:$().optional(),key:$().optional(),deck:$().optional(),path:$().optional(),connection:$().optional(),tool:$().optional(),automation:$().optional(),section:$().optional(),preview:$().optional(),autosend:$().optional(),connect:eb().optional(),siteUrl:$().optional(),...o5},n5={...que,task:$().optional(),project:$().optional(),...ZE,skill:Dv.skill,brand:Dv.brand},xm=Se(n5),r5="blog-manager/posts/";function H0e(e){return e.startsWith(r5)}function Uue(e){return e.split("/").pop()??e}function G0e(e){return`${r5}${e}`}function W0e(e){return`collections/blog/posts/${e}`}const $ue=["context","posts","authors","categories","post-schedule"],s5=Wt($ue),Vue={blogCollection:s5.optional(),blogItem:$().optional()};function K0e(e,t){return e==="context"&&!t?"posts":e}const Hue=Wt(["edit","preview"]),Gue={blogView:Hue.optional()};function Y0e(e){const t=s5.safeParse(e.contentCollection);if(!t.success)return null;const a=t.data,o=e.contentItem;return a==="posts"?o?{collection:a,postId:Uue(o)}:{collection:a}:o?{collection:a,item:o}:{collection:a}}function Q0e(e){const t=e.blogCollection;return t==="authors"||t==="categories"?e.blogItem?{contentCollection:t,contentItem:e.blogItem}:{contentCollection:t}:{contentCollection:"posts"}}const Ho=lV({component:()=>y.jsx(jde,{children:y.jsx(Sk,{})})}),Wue=Ae({getParentRoute:()=>Ho,path:"/login",component:Be(()=>Fe(()=>import("./login-DJDyJ1ju.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),validateSearch:es(()=>Se({next:$().optional(),client_id:$().optional(),redirect_uri:$().optional(),response_type:$().optional(),state:$().optional(),scope:$().optional(),code_challenge:$().optional(),code_challenge_method:$().optional(),src:$().optional(),ref:$().optional()}))}),Kue=Ae({getParentRoute:()=>Ho,path:"/cli/auth-success",component:Be(()=>Fe(()=>import("./cli-auth-success-BvJuyvyk.js"),__vite__mapDeps([9,5])))}),Yue=Ae({getParentRoute:()=>Ho,path:"/reset-password",component:Be(()=>Fe(()=>import("./reset-password-CtG7aWDw.js"),[])),validateSearch:es(()=>Se({token:$().optional(),error:$().optional()}))}),Que=Ae({getParentRoute:()=>Ho,path:"/auth/$pathname",component:Be(()=>Fe(()=>import("./auth-catchall-CFacQ3p_.js"),[]))}),Zue=Ae({getParentRoute:()=>Ho,path:"/oauth/callback",component:Be(()=>Fe(()=>import("./oauth-callback-DmgNmP6n.js"),__vite__mapDeps([10,11,12])))}),Jue=Ae({getParentRoute:()=>Ho,path:"/oauth/consent",component:Be(()=>Fe(()=>import("./oauth-consent-Cr-15ieV.js"),__vite__mapDeps([13,5,1,2,3,4])))}),Xue=Ae({getParentRoute:()=>Ho,path:"/oauth/callback/ai-provider",component:Be(()=>Fe(()=>import("./oauth-callback-ai-provider-CSpD6uGn.js"),[]))}),km=Ae({getParentRoute:()=>Ho,path:"/_admin",component:Be(()=>Fe(()=>import("./layout-DbhvOsyV.js"),__vite__mapDeps([14,15,16])))}),epe=Ae({getParentRoute:()=>km,path:"/",beforeLoad:()=>{throw ua({to:"/_admin/users"})}}),tpe=Ae({getParentRoute:()=>km,path:"/users",component:Be(()=>Fe(()=>import("./users-D7EeASCC.js"),__vite__mapDeps([17,18,19,20,21,22,23,24,25,26])))}),ape=Ae({getParentRoute:()=>km,path:"/orgs",component:Be(()=>Fe(()=>import("./orgs-BFePKqBY.js"),__vite__mapDeps([27,18,19,20,21,22,23,28,25,29,30,31,32,33,34,35,24,36,37,26])))}),ope=Ae({getParentRoute:()=>km,path:"/prompts",component:Be(()=>Fe(()=>import("./prompts-C3wMciT-.js"),__vite__mapDeps([38,21,28,35,26])))}),npe=km.addChildren([epe,tpe,ape,ope]),JE=Ae({getParentRoute:()=>Ho,id:"shell",component:Be(()=>Fe(()=>import("./shell-layout-B7ONrK1S.js").then(e=>e.s),__vite__mapDeps([39,40,41,16,26,42,43,44,45,20,46,47,48,49,32,50,33,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,71,72,73,12,4,3,74,75,37,76,77,78,79,80,81,82,83,84,85,25,86,28,87,88,31,89,90,91,92,93,94,6,7,8,15,95,96,97,98])))}),rpe=Ae({getParentRoute:()=>JE,path:"/",beforeLoad:async()=>{const e=eue();if(e)throw ua({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(Nr.lastOrgSlug());if(t)throw ua({to:"/$org",params:{org:t}});const{data:a}=await zB();if(!a)return;const o=a[0];throw ua(o?{to:"/$org",params:{org:o.slug}}:{to:"/onboarding"})}}),spe=Ae({getParentRoute:()=>Ho,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await zB();if(e&&e.length>0)throw ua({to:"/"})},component:Be(()=>Fe(()=>import("./onboarding-Ete3lfiA.js"),__vite__mapDeps([99,15,5,100,64,28,34,40,49,67])))}),i5=es(()=>Se({org:$().optional(),siteUrl:$().optional(),fix:$().optional()})),ipe=Ae({getParentRoute:()=>Ho,path:"/reports-onboarding",component:Be(()=>Fe(()=>import("./reports-onboarding-B3L3kaVX.js"),__vite__mapDeps([101,102,1,2,3,4,5,100,64,103,104,28,105,73,12,106,83,51,42,43,44,45,20,46,47,48,40,49,32,50,33,41,52,53,54,55,56,57,58,59,60,61,62,63,23,65,66,67,68,69,70,88,31,107,108,109,110,25,111,112,113,11,114,115,116,117,118,119]))),validateSearch:i5}),lpe=Ae({getParentRoute:()=>Ho,path:"/commerce-onboarding",validateSearch:i5,beforeLoad:({search:e})=>{throw ua({to:"/reports-onboarding",search:e})}}),cpe=Ae({getParentRoute:()=>Ho,path:"/choose-editor",component:Be(()=>Fe(()=>import("./choose-editor-C-XxlJ7G.js"),__vite__mapDeps([120,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,15]))),validateSearch:es(()=>Se({site:$().optional(),domain:$().optional(),pageId:$().optional(),path:$().optional(),pathTemplate:$().optional()}))}),XE=Ae({getParentRoute:()=>Ho,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor"},component:Be(()=>Fe(()=>import("./site-editor-0AMhqN9R.js"),__vite__mapDeps([121,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,129,8,88,31,54,69,130,131,132,133,134,135,136,59,137,138,139,45,42,43,44,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,140,71,103,104,28,141,142,85,81,82,25,143,35,144,145,146,147,148,149,150,151,7,152,153,29,30,154,155,156,157,158,159,160,161,162,21,22,163,164,165,166,167,168,169,170,171,34,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,39,16,26,83,84,86,87,89,92,94,6,15,97,98,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,111,209,210,211,212,117,213,214,215,216,217,218,219,220,221,222,223,224,225,24,226,227,228,229,18,19,230,231,232,233,234,235,236,237,238,110,239,240,241,242,243,244,245,246,115,108,116,247,248,249,250,112,113,11,251,252,253,254,255,256,257,258])))}),dpe=Ae({getParentRoute:()=>XE,path:"/",staticData:{mainView:"site-editor",siteEditorView:"preview",local:!0},component:Be(()=>Fe(()=>import("./site-editor-0AMhqN9R.js"),__vite__mapDeps([121,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,129,8,88,31,54,69,130,131,132,133,134,135,136,59,137,138,139,45,42,43,44,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,140,71,103,104,28,141,142,85,81,82,25,143,35,144,145,146,147,148,149,150,151,7,152,153,29,30,154,155,156,157,158,159,160,161,162,21,22,163,164,165,166,167,168,169,170,171,34,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,39,16,26,83,84,86,87,89,92,94,6,15,97,98,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,111,209,210,211,212,117,213,214,215,216,217,218,219,220,221,222,223,224,225,24,226,227,228,229,18,19,230,231,232,233,234,235,236,237,238,110,239,240,241,242,243,244,245,246,115,108,116,247,248,249,250,112,113,11,251,252,253,254,255,256,257,258])),"SiteEditorPreview")}),upe=Ae({getParentRoute:()=>XE,path:"/content",staticData:{mainView:"content",siteEditorView:"content",local:!0},component:Be(()=>Fe(()=>import("./site-editor-0AMhqN9R.js"),__vite__mapDeps([121,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,129,8,88,31,54,69,130,131,132,133,134,135,136,59,137,138,139,45,42,43,44,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,140,71,103,104,28,141,142,85,81,82,25,143,35,144,145,146,147,148,149,150,151,7,152,153,29,30,154,155,156,157,158,159,160,161,162,21,22,163,164,165,166,167,168,169,170,171,34,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,39,16,26,83,84,86,87,89,92,94,6,15,97,98,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,111,209,210,211,212,117,213,214,215,216,217,218,219,220,221,222,223,224,225,24,226,227,228,229,18,19,230,231,232,233,234,235,236,237,238,110,239,240,241,242,243,244,245,246,115,108,116,247,248,249,250,112,113,11,251,252,253,254,255,256,257,258])),"SiteEditorContent")}),ppe=Ae({getParentRoute:()=>Ho,path:"/report/$domain",component:Be(()=>Fe(()=>import("./reports-BAWCIXn8.js"),__vite__mapDeps([259,114,4,1,2,3,260])))}),Pb=Ae({getParentRoute:()=>JE,path:"/$org",loader:({params:e})=>aue(e.org),pendingMs:1/0,component:Be(()=>Fe(()=>import("./route-DhGhu9Ec.js"),__vite__mapDeps([261,137,131,8,132,88,31,138,139,45,42,43,44,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,140,71,72,73,12,4,3,74,75,37,76,103,104,28,141,142,96,93,78,85,77,81,82,25,143,35,130,133,79,80,134,126,151,7,16,240,124,123,245,206,30,262,90,91,263,24,264,265,173,165,149,154,266,34,89,267,155,214,231,230,268,188,94,84,187,127,190,153,110,269,243])))}),_b=Ae({getParentRoute:()=>Pb,id:"org-shell",pendingComponent:Xd,component:Be(()=>Fe(()=>import("./thread-route-BRmRa2CS.js"),__vite__mapDeps([270,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,102,271,107,108,109,47,105,106,83,51,42,43,44,45,20,46,48,40,49,32,50,33,41,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,88,31,104,28,110,25,111,112,113,11,114,115,116,117,272,118])))}),mpe=Se({sidepanel:iF,mainpanel:lF,main:la([$(),Ze(0)]).optional(),thread:$().optional(),autosend:$().optional(),preview:$().optional(),virtualmcpid:$().optional()}),tn=Ae({getParentRoute:()=>_b,id:"agent-shell",validateSearch:mpe,search:{middlewares:[O$(["sidepanel","thread"])]},pendingComponent:Xd,component:Be(()=>Fe(()=>import("./route-CvOWJgQ8.js"),__vite__mapDeps([273,237,20,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,238,167,168,169,170,42,43,44,45,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,8,88,31,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,195,249,250,112,113,11,251,24,252,253,187,133,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,193,194,132,197,146,214,274,174,148,147,175,21,235,236,149,129,130,131,134,135,136,22,275,276,231,216,215,265,173,165,212,230,141,277,278,279,280,281,156,208,144])))}),hpe=xm.extend({virtualmcpid:$().optional()}),gpe=Ae({getParentRoute:()=>tn,path:"/$taskId",validateSearch:hpe,component:()=>null}),Rt=Be(()=>Fe(()=>import("./index-oOJhkPK6.js"),__vite__mapDeps([129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125])),"ChatLayoutPending"),Dt=Be(()=>Fe(()=>import("./index-oOJhkPK6.js"),__vite__mapDeps([129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125])),"ChatLayoutError"),fpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/home",staticData:{pageTitle:"sidebar.navDestinations.home",defaultMain:"overview",mainView:"overview"},validateSearch:Se({connect:eb().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./home-B2gF0aRT.js"),__vite__mapDeps([282,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,238,167,168,169,170,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,195,249,250,112,113,11,251,24,252,253,187,254,283,284,285,286,203,204,202,287,84,141,188,138,189,190,268,288,289,281,156,208,278,279,280,86,85,87,89,25,94,290,262,142])))}),vpe=Ae({getParentRoute:()=>tn,path:"/projects",validateSearch:xm,beforeLoad:({params:e,search:t})=>{const a=(t.project??t.virtualmcpid)?.trim(),o=r=>({...r,virtualmcpid:void 0,project:void 0,task:void 0});if(!a)throw ua({to:"/$org/home",params:{org:e.org},search:o,hash:!0,replace:!0});const n=t.task?.trim();throw ua(n?{to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:a,taskKey:n},search:o,hash:!0,replace:!0}:{to:"/$org/projects/$agentId",params:{org:e.org,agentId:a},search:o,hash:!0,replace:!0})}}),Yt=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/projects/$agentId",validateSearch:xm,beforeLoad:({cause:e,location:t})=>({enteredProject:e!=="preload"&&!Sue(t.state)}),component:Sk}),bpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/",staticData:{pageTitle:"page.overview",defaultMain:"overview",mainView:"overview"},component:Be(()=>Fe(()=>import("./agent-overview-vn0B99S2.js"),__vite__mapDeps([291,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,238,167,168,169,170,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,195,249,250,112,113,11,251,24,252,253,187,254,283,284,285,286,203,204,202,287,84,141,188,138,189,190,268,288,262,277])))}),ype=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:Se({task:$().optional(),...ZE}),beforeLoad:({params:e,search:t})=>{const a=a5(e.taskKey,t);if(a)throw ua({to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:e.agentId,taskKey:a?.taskKey??e.taskKey},search:a.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./project-tasks-TZDHHmpj.js"),__vite__mapDeps([292,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,293,138,139,294,205,50,81,82,23,151,42,43,44,45,20,46,47,48,40,49,32,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,65,66,67,68,70,295,24,110,128,90,91,296,75,37,74,3,297,140,263,268,188,86,28,85,72,4,76,87,89,92,25,93,94,187,127,289,29,30,298,143,189,190,182,211,186,170,169,122,95,96,123,124,299,167,168,171,104,183,242,300,219,175,301,195,84,109,302,253,185,39,16,26,71,83,6,7,15,97,98,191,192,193,194,196,197,198,252,274,234,239,303,244,245])))}),wpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:Se({connect:eb().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./project-reports-_pvoxKuL.js"),__vite__mapDeps([304,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,305,47,102,271,107,108,109,118,119,42,43,44,45,20,46,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,81,82,94,72,4,3,74,75,37,76,290,86,28,85,87,89,90,91,92,25,93,306])))}),Ab=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor",defaultMain:"site-editor",mainView:"site-editor"},validateSearch:Se({autosend:$().optional(),...o5}),component:Be(()=>Fe(()=>import("./agent-site-editor-BscJQYUu.js"),__vite__mapDeps([232,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,233,234,145,146,147,148,149,150,151,7,88,31,8,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,152,153,29,30,154,155,156,157,71,134,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,133,254,185,186,138,188,189,190,191,192,193,194,132,197,214,221,222,210,211,178,208,255,174,175,256,226,129,130,131,135,136,257,258])))}),Spe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/blog",staticData:{pageTitle:"sidebar.projectNav.blog",defaultMain:"blog",mainView:"blog"},validateSearch:Se(Vue),component:Be(()=>Fe(()=>import("./agent-blog-SWKAlIDs.js"),__vite__mapDeps([307,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,233,234,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,145,146,147,148,149,150,151,7,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,152,153,29,30,154,155,156,157,71,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,214,221,222,210,211,178,208,255,174,175,303,206,218,160,161,22,165,166,184,219,223,224,225,226,173,227,228,207,308,209,309,275,276,231,216,215,265,257])))}),Tpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/blog/posts/$postId",staticData:{pageTitle:"sidebar.projectNav.blog",defaultMain:"blog",mainView:"blog-post"},validateSearch:Se(Gue),component:Be(()=>Fe(()=>import("./agent-blog-post-BMj1nG5H.js"),__vite__mapDeps([310,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,233,234,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,145,146,147,148,149,150,151,7,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,152,153,29,30,154,155,156,157,71,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,214,221,222,210,211,178,208,255,174,175,303,226,184,227,228,161,176,209,308,257])))}),xpe=Ae({getParentRoute:()=>Ab,path:"/",staticData:{defaultMain:"site-editor",mainView:"site-editor",siteEditorView:"preview"},component:Be(()=>Fe(()=>import("./agent-site-editor-preview-Bshkv5l8.js"),__vite__mapDeps([311,309,275,133,79,80,77,78,73,12,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,238,167,169,170,8,88,31,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,132,197,146,148,147,231,216,215,265,173,165,149,212,303,158,159,160,145,156,157,161,162,21,22,166,34,174,175,176,134,177,178,179,180,181,182,183,139,184,199,200,201,202,203,204,205,206,207,208,111,209,144,135,210,211,213])))}),kpe=Ae({getParentRoute:()=>Ab,path:"/content",staticData:{defaultMain:"content",mainView:"content",siteEditorView:"content"},component:Be(()=>Fe(()=>import("./agent-site-editor-content-DFaZauTr.js"),__vite__mapDeps([312,309,275,133,79,80,77,78,73,12,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,238,167,169,170,8,88,31,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,132,197,146,148,147,231,216,215,265,173,165,149,212,303,217,181,160,145,156,157,161,162,21,22,166,159,34,182,183,139,184,175,178,199,200,201,202,203,204,205,206,218,219,220,221,222,223,224,225,226,227,228,207,208,174,180,229,18,19])))}),Epe=Ae({getParentRoute:()=>Ab,path:"/code",staticData:{defaultMain:"code",mainView:"code",siteEditorView:"code"},validateSearch:Se({file:$().optional()}),component:Be(()=>Fe(()=>import("./agent-site-editor-code-znS9yeFa.js"),__vite__mapDeps([313,309,275,133,79,80,77,78,73,12,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,238,167,169,170,8,88,31,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,132,197,146,148,147,231,216,215,265,173,165,149,212,303,21])))}),Cpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/automations",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automations"},beforeLoad:({params:e,search:t})=>{const a=t.automation;if(a)throw ua({to:"/$org/projects/$agentId/automations/$automationId",params:{org:e.org,agentId:e.agentId,automationId:a},search:o=>({...o,automation:void 0}),hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./agent-automations-DJGo3Vpm.js"),__vite__mapDeps([314,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,64,44,70,22,23,21,296,315,24,55,66,42,43,45,20,46,47,48,40,49,32,50,33,41,51,52,53,56,2,57,58,60,61,62,63,65,67,68])))}),Ppe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/automations/$automationId",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automation"},validateSearch:Se({automationView:Wt(["settings","runs"]).optional()}),component:Be(()=>Fe(()=>import("./agent-automation-BNyRdPpc.js"),__vite__mapDeps([316,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,153,34,151,81,82,171,195,276,83,317,7,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,152,29,30,154,155,318,296,186,39,16,26,71,84,85,25,86,28,87,89,92,94,6,15,97,98,319,241,242,167,168,169,170,104,196,320,188,138,321,163,164,207,208,322,19,21,323,252,274,302,253,185,187,189,190,191,192,193,194,197,198,251])))}),_pe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/settings",staticData:{pageTitle:"sidebar.navDestinations.settings",defaultMain:"settings",mainView:"settings"},component:Be(()=>Fe(()=>import("./agent-settings-C8Vbd4tx.js"),__vite__mapDeps([324,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,325,48,42,43,44,45,20,46,47,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,326,327,328,329,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,35,21,330,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,331,115,108,116,117,318,267,113,11,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,198,332,193,153,276,196,168,34,151,206,214,265,173,165,149,264,170,36,212,147,333,334,194,213,236])))}),Ape=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:Se(Dv),component:Be(()=>Fe(()=>import("./agent-library-CkWv-QK0.js"),__vite__mapDeps([335,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,336,56,64,67,22,23,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,25,337,35,32,33,42,43,44,45,20,46,47,48,40,49,50,41,51,52,53,55,2,57,58,60,61,62,63,65,66,68,70,169,170,325,326,327,328,329,21,330,39,16,26,71,81,82,83,84,85,86,28,87,89,92,94,6,7,15,97,98,280,151,278,279,110,281,156,208,198,338,226,19,331,115,108,116,117,318,267,113,11,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,332,193,153,276,196,168,34,206,214,265,173,165,149,264,36,212,147,333,334,194,213,236])))}),Rpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/assets",staticData:{pageTitle:"common.mainPanelTabs.assets",defaultMain:"assets",mainView:"assets"},component:Be(()=>Fe(()=>import("./agent-assets-DThFx4M4.js"),__vite__mapDeps([339,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,309,275,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,238,167,169,170,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,197,146,148,147,231,216,215,265,173,165,149,212,22,166,226])))}),Dpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/releases",staticData:{pageTitle:"common.mainPanelTabs.releases",defaultMain:"releases",mainView:"releases"},component:Be(()=>Fe(()=>import("./agent-releases-DVlreX78.js"),__vite__mapDeps([340,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,309,275,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,195,276,193,168,214,237,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,238,167,169,170,171,104,28,110,198,239,150,151,7,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,92,115,108,116,117,247,248,83,35,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,39,16,26,71,81,82,84,85,25,86,87,89,94,6,15,97,98,191,192,194,197,146,148,147,231,216,215,265,173,165,149,212,226,145,156,157,222])))}),Ope=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/hosting",staticData:{pageTitle:"common.mainPanelTabs.hosting",defaultMain:"hosting",mainView:"hosting"},component:Be(()=>Fe(()=>import("./agent-hosting-CzWiy0GX.js"),__vite__mapDeps([341,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,24,226,149,43,44,42,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,110,19,186,28,29,30,172,164,342,331,115,108,116,117,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,318,21,39,16,26,71,81,82,83,84,85,25,86,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,249,250,112,251,252,253,198,332,193,153,276,196,168,34,151,206,214,265,173,165,264,329,170,36,212,147,333,334,194,213,236])))}),Npe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/e2e",staticData:{pageTitle:"common.mainPanelTabs.e2e",defaultMain:"e2e",mainView:"e2e"},component:Be(()=>Fe(()=>import("./agent-e2e-CVKnE_cq.js"),__vite__mapDeps([343,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,28,29,30,19,226,186,163,164,342,331,115,108,116,117,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,318,21,39,16,26,71,81,82,83,84,85,25,86,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,249,250,112,251,252,253,198,332,193,153,276,196,168,34,151,206,214,265,173,165,149,264,329,170,36,212,147,333,334,194,213,236])))}),Mpe=Ae({getParentRoute:()=>Yt,path:"/analytics",validateSearch:Se({view:$().optional()}),beforeLoad:({params:e,search:t})=>{throw ua({to:"/$org/projects/$agentId/monitoring",params:e,search:{view:t.view==="experiments"?"experiments":"audience"},replace:!0})}}),Ipe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/taskboard-analytics",staticData:{pageTitle:"taskBoard.analytics.title",defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-nugCG6C8.js"),__vite__mapDeps([344,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,251,24,294,345,151,206,30,32,44,182,346,286,203,204,202,287,19,43,20,172,164,188,138,49,56,75,37,347,189,190,205,50,81,82,23])))}),Lpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/experiments",staticData:{pageTitle:"common.mainPanelTabs.experiments",defaultMain:"experiments",mainView:"experiments"},validateSearch:Se({test:$().optional().catch(void 0)}),component:Be(()=>Fe(()=>import("./agent-experiments-B6WL8a55.js"),__vite__mapDeps([348,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,233,234,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,145,146,147,148,149,150,151,7,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,152,153,29,30,154,155,156,157,71,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,214,221,222,210,211,178,208,255,174,175,349,226,350,199,200,201,202,203,204,351,161,228,220,256])))}),Bpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/calendar",staticData:{pageTitle:"common.mainPanelTabs.calendar",defaultMain:"calendar",mainView:"calendar"},component:Be(()=>Fe(()=>import("./agent-calendar-Dc34MYin.js"),__vite__mapDeps([352,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,233,234,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,145,146,147,148,149,150,151,7,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,152,153,29,30,154,155,156,157,71,81,82,163,164,25,39,16,26,83,84,85,86,28,87,89,92,94,6,15,97,98,235,236,212,117,179,162,21,237,238,167,168,169,170,171,104,110,198,239,240,172,241,242,196,243,244,245,246,115,108,116,247,248,35,195,249,250,112,113,11,251,24,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,214,221,222,210,211,178,208,255,174,175,226,206,220,350,199,200,201,202,203,204,351,161,228,225,256,342,331,318,267,319,332,276,34,265,173,165,264,329,36,333,334,213])))}),Fpe=Ae({getParentRoute:()=>Yt,path:"/cdn",beforeLoad:({params:e})=>{throw ua({to:"/$org/projects/$agentId/monitoring",params:e,search:{view:"performance"},replace:!0})}}),l5=Se({args:$().optional()}),jpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/apps/$connectionId/$toolName",validateSearch:l5,staticData:{pageTitle:"page.app",defaultMain:"app",mainView:"app"},component:Be(()=>Fe(()=>import("./agent-app-Ccrencfm.js"),__vite__mapDeps([353,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,216,72,4,3,74,75,37,76,354,171,276,191,192,193,122,95,96,93,123,124,127,128,90,91,39,40,41,16,26,42,43,44,45,20,46,47,48,49,32,50,33,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,189,138,190,355,102,106,107,108,109,104,110,111,112,113,11,114,115,116,117])))}),zpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/views/$viewId",validateSearch:l5,staticData:{pageTitle:"page.view",defaultMain:"view",mainView:"view"},component:Be(()=>Fe(()=>import("./agent-view-DbsCo68i.js"),__vite__mapDeps([356,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,354,171,276,191,192,193,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,39,40,41,16,26,42,43,44,45,20,46,47,48,49,32,50,33,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,189,138,190,355,102,106,107,108,109,104,110,111,112,113,11,114,115,116,117,342,331,318,21,267,35,195,319,246,247,248,29,30,249,250,251,24,252,253,198,332,153,196,168,34,151,206,214,265,173,165,149,264,329,170,36,212,147,333,334,194,213,236])))}),qpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/outputs/file",staticData:{pageTitle:"page.file",defaultMain:"file",mainView:"file"},validateSearch:Se({key:$().optional()}),component:Be(()=>Fe(()=>import("./agent-file-DzOVJ5jJ.js"),__vite__mapDeps([357,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,198,281,128,90,91,156,208,169,170,122,95,96,93,37,75,72,4,3,74,76,123,124,127,197,342,331,115,108,116,117,318,21,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,332,193,153,276,196,168,34,151,206,214,265,173,165,149,264,329,36,212,147,333,334,194,213,236])))}),Upe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/outputs/deck",staticData:{pageTitle:"page.document",defaultMain:"deck",mainView:"deck"},validateSearch:Se({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-deck-t8ah4YL3.js"),__vite__mapDeps([358,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,280,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,128,90,91,151,342,331,115,108,116,117,122,95,96,93,37,75,72,4,3,74,76,123,124,127,318,21,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,198,332,193,153,276,196,168,34,206,214,265,173,165,149,264,329,170,36,212,147,333,334,194,213,236])))}),$pe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/library/file",staticData:{pageTitle:"page.file",defaultMain:"library-file",mainView:"library-file"},validateSearch:Se({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-library-file-BeuXNSru.js"),__vite__mapDeps([359,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,360,279,110,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,280,128,90,91,151,281,156,208,198,169,170,122,95,96,93,37,75,72,4,3,74,76,123,124,127,342,331,115,108,116,117,318,21,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,267,113,11,35,195,319,246,247,248,104,29,30,249,250,112,251,24,252,253,332,193,153,276,196,168,34,206,214,265,173,165,149,264,329,36,212,147,333,334,194,213,236])))}),Vpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/connect-sources",staticData:{pageTitle:"settings.nav.connect",defaultMain:"connect-sources",mainView:"connect-sources"},component:Be(()=>Fe(()=>import("./agent-connect-sources-BzvV2s_2.js"),__vite__mapDeps([361,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,105,102,106,83,51,42,43,44,45,20,46,47,48,40,49,32,50,33,41,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,107,108,109,104,28,110,25,111,112,113,11,114,115,116,117,272,118])))}),Hpe=Ae({getParentRoute:()=>Yt,path:"/$legacyView",component:()=>null}),Gpe=Ae({getParentRoute:()=>tn,path:"/agents",validateSearch:xm,beforeLoad:({params:e,search:t})=>{const a=t.virtualmcpid?.trim();throw ua(a?{to:"/$org/projects/$agentId",params:{org:e.org,agentId:a},search:o=>o,hash:!0,replace:!0}:{to:"/$org/projects",params:{org:e.org},search:o=>o,hash:!0,replace:!0})}}),Wpe=Ae({getParentRoute:()=>tn,path:"/agents/$",validateSearch:xm,beforeLoad:({params:e,location:t})=>{const a=e._splat?.split("/").find(Boolean);if(!t5(a))return;const o=Due(t.pathname);if(!o)return;const n=t.hash?`#${t.hash}`:"";throw ua({href:`${o}${t.searchStr}${n}`,replace:!0})},component:Be(()=>Fe(()=>import("./legacy-agents-deep-em6yOC_F.js"),__vite__mapDeps([362,277,80])))}),Kpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:Se({task:$().optional(),...ZE}),beforeLoad:({params:e,search:t})=>{const a=a5(e.taskKey,t);if(a)throw ua({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:a.taskKey},search:a.search,hash:!0,replace:!0})},component:Be(()=>Fe(()=>import("./tasks-9sGiiD4G.js"),__vite__mapDeps([363,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,293,138,139,294,205,50,81,82,23,151,42,43,44,45,20,46,47,48,40,49,32,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,65,66,67,68,70,295,24,110,128,90,91,296,75,37,74,3,297,140,263,268,188,86,28,85,72,4,76,87,89,92,25,93,94,187,127,289,29,30,298,143,189,190,182,211,186,170,169,122,95,96,123,124,299,167,168,171,104,183,242,300,219,175,301,195,84,109,302,253,185,39,16,26,71,83,6,7,15,97,98,191,192,193,194,196,197,198,252,274,234,239,303,244,245])))}),Ype=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/taskboard-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./taskboard-analytics-nugCG6C8.js"),__vite__mapDeps([344,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,251,24,294,345,151,206,30,32,44,182,346,286,203,204,202,287,19,43,20,172,164,188,138,49,56,75,37,347,189,190,205,50,81,82,23])))}),Qpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/thread-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Be(()=>Fe(()=>import("./thread-analytics-CUyAWSkz.js"),__vite__mapDeps([364,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,346,286,203,204,202,287,19,43,20,44,172,164,24,188,138,49,56,75,37,347,74,3,205,50,81,82,23,151,29,30,32,33,163,302,253,91,51,185,42,45,46,47,48,40,41,52,53,55,2,57,58,60,61,62,63,64,65,66,67,68,70,186,170,167,168,169,122,95,96,93,72,4,76,123,124,127,128,90,171,104,28,187,189,190,39,16,26,71,83,84,85,25,86,87,89,92,94,6,7,15,97,98,191,192,193,194,195,196,197,198,252,274])))}),Zpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:Se({connect:eb().optional(),siteUrl:$().optional()}),component:Be(()=>Fe(()=>import("./reports-CPxs2BgN.js"),__vite__mapDeps([365,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,305,47,102,271,107,108,109,118,119,42,43,44,45,20,46,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,81,82,94,72,4,3,74,75,37,76,290,86,28,85,87,89,90,91,92,25,93,306])))}),Jpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:Se(Dv),component:Be(()=>Fe(()=>import("./library-Dly_OLLg.js"),__vite__mapDeps([366,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,8,129,88,31,54,69,130,131,132,133,134,135,136,59,325,48,42,43,44,45,20,46,47,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,326,327,328,329,35,21,330,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,360,279,110,280,151,281,156,208,198,169,170,336,22,337,278,338,226,19])))}),Xpe=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Be(()=>Fe(()=>import("./plan-BO0tgjWI.js"),__vite__mapDeps([367,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,368,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,35,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,237,238,167,168,169,170,171,104,110,198,239,150,151,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,115,108,116,117,247,248,195,249,250,112,113,11,251,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,146,214,267,369])))}),c5=Se({view:Wt(["metrics","alerts","performance","logs","audience","heatmap","analytics","errors","realtime","pages","events","deploys","experiments"]).optional().catch(void 0),date:gL().optional().catch(void 0),store:$().optional(),at:$().optional(),project:$().optional(),section:$().optional(),customer:$().optional(),test:$().optional().catch(void 0),f:je($()).optional().catch(void 0),currency:$().optional(),prop:$().optional()}),eme=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:c5,component:Be(()=>Fe(()=>import("./monitoring-xIY_IPi8.js"),__vite__mapDeps([370,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,226,151,371,286,203,204,202,287,24,182,74,75,37,3,111,347,288,138,90,91,122,95,96,93,72,4,76,123,124,127,128,150,7,152,153,29,30,154,155,330,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,15,97,98,346,19,172,164,188,355,102,106,107,108,109,104,110,112,113,11,114,115,116,117,195,205,200,201,163,149,349,350,162,145,146,147,148,156,157,21,199,351,161,228,220,256,372,35,297,301,22,34,323,252,373])))}),tme=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Be(()=>Fe(()=>import("./plan-BO0tgjWI.js"),__vite__mapDeps([367,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,368,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,35,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,237,238,167,168,169,170,171,104,110,198,239,150,151,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,115,108,116,117,247,248,195,249,250,112,113,11,251,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,146,214,267,369])))}),ame=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/plan/case",staticData:{pageTitle:"page.businessCase",defaultMain:"business-case",mainView:"business-case"},validateSearch:Se({path:$().optional()}),component:Be(()=>Fe(()=>import("./agent-business-case-DWa8MdFx.js"),__vite__mapDeps([374,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,368,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,24,122,95,96,93,37,75,72,4,3,74,76,123,124,127,128,90,91,35,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,7,15,97,98,237,238,167,168,169,170,171,104,110,198,239,150,151,152,153,29,30,154,155,163,164,240,172,241,242,196,243,244,245,246,115,108,116,117,247,248,195,249,250,112,113,11,251,252,253,187,254,185,186,138,188,189,190,191,192,193,194,197,146,214,267,369])))}),ome=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>Yt,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:c5,component:Be(()=>Fe(()=>import("./monitoring-xIY_IPi8.js"),__vite__mapDeps([370,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,55,56,2,57,58,60,61,62,63,64,23,65,66,67,68,70,226,151,371,286,203,204,202,287,24,182,74,75,37,3,111,347,288,138,90,91,122,95,96,93,72,4,76,123,124,127,128,150,7,152,153,29,30,154,155,330,39,16,26,71,81,82,83,84,85,25,86,28,87,89,92,94,6,15,97,98,346,19,172,164,188,355,102,106,107,108,109,104,110,112,113,11,114,115,116,117,195,205,200,201,163,149,349,350,162,145,146,147,148,156,157,21,199,351,161,228,220,256,372,35,297,301,22,34,323,252,373])))}),nme=Ae({pendingComponent:Rt,errorComponent:Dt,getParentRoute:()=>tn,path:"/discover",staticData:{pageTitle:"sidebar.navDestinations.discover",defaultMain:"discover",mainView:"discover"},component:Be(()=>Fe(()=>import("./discover-DCJNP2ov.js"),__vite__mapDeps([375,129,8,88,31,54,69,130,131,132,133,79,80,77,78,73,12,134,126,135,136,59,125,47,53,57,64,68,89,195,165,173,212,117,76])))}),rme=Ae({getParentRoute:()=>Pb,path:"/members",beforeLoad:({params:e})=>{throw ua({to:"/$org/settings/members",params:{org:e.org}})}}),sme=Se({main:la([$(),Ze(0)]).optional(),virtualmcpid:$().optional(),...n5,sidepanel:iF,mainpanel:lF,thread:$().optional()}),ime=Ae({getParentRoute:()=>_b,path:"/",validateSearch:sme,pendingComponent:Xd,component:Be(()=>Fe(()=>import("./index-VEcIOiWN.js"),__vite__mapDeps([376,277,80])))}),lme=Ae({getParentRoute:()=>_b,path:"/t/$taskKey",beforeLoad:({params:e})=>{throw ua({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:e.taskKey},search:t=>t,hash:!0,replace:!0})}}),ca=Ae({staticData:{pageTitle:"sidebar.navDestinations.settings"},getParentRoute:()=>Pb,path:"/settings",pendingComponent:Xd,component:Be(()=>Fe(()=>import("./route-ChWaxiqL.js"),__vite__mapDeps([377,8,136,59,131,132,88,31,134,77,78,73,12,125,126,80,378,64,24,151,172,164,124,123,245])))}),cme=Ae({getParentRoute:()=>ca,path:"/",component:Be(()=>Fe(()=>import("./index-redirect-DVZANI8q.js"),__vite__mapDeps([379,328])))}),dme=Ae({getParentRoute:()=>ca,path:"/connections",validateSearch:es(()=>Se({action:Wt(["create"]).optional(),tab:Wt(["all","connected"]).optional()})),beforeLoad:({params:e,search:t})=>{throw ua({to:"/$org/library",params:{org:e.org},search:{section:"connections",...t},replace:!0})}}),ume=Ae({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>ca,path:"/connections/$appSlug",component:Be(()=>Fe(()=>import("./connection-detail-CVYzedpa.js"),__vite__mapDeps([380,115,108,116,117,21,250,64,66,381,73,12,276,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,23,65,67,68,69,70,195,29,30,31,204,382,201,82,151,88,78,8,85,72,4,3,74,75,37,76,249,332,24,193,11,113,83,132,104,28,196,383,384,286,203,202,287,347,163,164,248,192,92]))),validateSearch:es(()=>Se({tab:$().optional()}))}),pme=Ae({staticData:{pageTitle:"page.item"},getParentRoute:()=>ca,path:"/connections/$appSlug/$collectionName/$itemId",component:Be(()=>Fe(()=>import("./collection-detail-iP9tRfV6.js"),__vite__mapDeps([385,21,73,12,104,28,35,381,276,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,195,115,108,116,117,29,30,31,204,382,201,82,151,88,78,8,85,72,4,3,74,75,37,76,249,192,193,211,248,332,24,11,191,83,122,79,80,77,95,96,93,123,124,125,126,127,128,90,91,39,16,26,71,81,84,25,86,87,89,92,94,6,7,15,97,98,207,208,226]))),validateSearch:es(()=>Se({replayId:$().optional()}))}),mme=Ae({staticData:{pageTitle:"orgs.monitoring.title"},getParentRoute:()=>ca,path:"/monitor",component:Be(()=>Fe(()=>import("./index-DYf9rJn2.js"),__vite__mapDeps([386,22,23,21,326,327,328,185,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,65,66,67,68,69,70,186,170,167,168,169,122,79,80,77,78,73,12,95,96,93,37,75,72,4,3,74,76,123,124,125,126,127,128,90,91,8,88,31,171,104,28,138,187,188,189,190,39,16,26,71,81,82,83,84,85,25,86,87,89,92,94,6,7,15,97,98,191,192,193,194,132,195,196,197,198,248,24,151,207,208,321,153,29,30,345,206,182,35,251,34,211,384,286,203,204,202,287,347,302,253,252,274,19,323,296,322,226,371,111,288,303,244,245]))),validateSearch:es(()=>Se({tab:Wt(["overview","audit","dashboards","threads","automations","stores"]).default("threads"),store:$().optional(),at:$().optional(),from:$().default("now-24h"),to:$().default("now"),connectionId:je($()).optional().default([]),virtualMcpId:je($()).optional().default([]),tool:$().default(""),status:Wt(["all","success","errors"]).default("all"),search:$().default(""),page:Lt().optional(),streaming:Vt().default(!0),propertyFilters:$().default(""),hideSystem:Vt().default(!1)}))}),hme=Ae({staticData:{pageTitle:"settings.nav.general"},getParentRoute:()=>ca,path:"/general",component:Be(()=>Fe(()=>import("./general-dOdvSQ1l.js"),__vite__mapDeps([387,319,388,34,48,41,93,37,75,195,73,12,389,24,29,30,31,32,33,328])))}),gme=Ae({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>ca,path:"/connect",pendingComponent:Vs("connect"),component:Be(()=>Fe(()=>import("./connect-obEE-StP.js"),__vite__mapDeps([390,211,24,29,30,31,32,33,163,164,170,42,43,44,45,20,46,47,48,40,49,50,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,284,285,73,12,326,327,328,391,226,28,382,276,153,22,83,392,252,253,91,92,116,117,195])))}),fme=Ae({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>ca,path:"/ai-providers",pendingComponent:Vs("billing"),component:Be(()=>Fe(()=>import("./ai-providers-BuJXSSAm.js"),__vite__mapDeps([393,43,124,49,24,93,37,75,317,7,8,122,79,80,77,78,73,12,95,96,72,4,3,74,76,123,125,126,127,128,90,91,152,153,60,29,30,31,32,33,46,50,58,45,23,154,155,61,56,57,319,378,64,151,172,164,88,245,266,34,89,66,267,326,327,328])))}),vme=Ae({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>ca,path:"/billing",beforeLoad:({params:e})=>{throw ua({to:"/$org/settings/ai-providers",params:{org:e.org}})}}),bme=Ae({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>ca,path:"/infra-billing",pendingComponent:Vs("billing"),component:Be(()=>Fe(()=>import("./infra-billing-CBaX0rFG.js"),__vite__mapDeps([394,52,24,321,153,60,32,81,82,23,151,29,30,31,33,19,287,203,204,372,347,326,327,328])))}),yme=Ae({staticData:{pageTitle:"settings.nav.secrets"},getParentRoute:()=>ca,path:"/secrets",component:Be(()=>Fe(()=>import("./secrets-ctTTJkDR.js"),__vite__mapDeps([395,43,64,68,226,28,29,30,31,32,33,35,334,326,327,328])))}),wme=Ae({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>ca,path:"/api-keys",pendingComponent:Vs("connect"),component:Be(()=>Fe(()=>import("./api-keys-C3uBLxjm.js"),__vite__mapDeps([396,391,43,42,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,226,28,24,382,29,30,31,73,12,276,153,22,83,392,252,253,91,92,116,117,195,285,326,327,328])))}),Sme=Ae({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>ca,path:"/buckets",pendingComponent:Vs("storage"),component:Be(()=>Fe(()=>import("./buckets-B4_-T0ED.js"),__vite__mapDeps([397,43,64,66,24,226,28,29,30,31,32,33,34,35,165,326,327,328])))}),Tme=Ae({staticData:{pageTitle:"settings.nav.repositories"},getParentRoute:()=>ca,path:"/repositories",validateSearch:Se({git_error:$().optional().catch(void 0),git_flow:$().uuid().optional().catch(void 0),git_installation:Lt().int().positive().safe().optional().catch(void 0),git_return:Vt().optional().catch(void 0)}),pendingComponent:Vs("repositories"),component:Be(()=>Fe(()=>import("./repositories-Bj1ogpqH.js"),__vite__mapDeps([398,399,87,46,64,88,31,28,89,90,91,92,23,48,65,25,93,37,75,47,153,60,51,68,226,24,211,110,186,29,30,32,33,35,66,333,334,326,327,328])))}),xme=Ae({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>ca,path:"/synced-repos",pendingComponent:Vs("storage"),component:Be(()=>Fe(()=>import("./synced-repos-CNS7qyVv.js"),__vite__mapDeps([400,64,226,87,46,88,31,28,89,90,91,92,23,48,65,25,93,37,75,337,326,327,328])))}),kme=Ae({staticData:{pageTitle:"settings.nav.tasks"},getParentRoute:()=>ca,path:"/task-board",component:Be(()=>Fe(()=>import("./tasks-DGRvo6F8.js"),__vite__mapDeps([401,153,60,35,50,63,64,205,81,82,23,151,321,24,32,29,30,31,33,34,320,388,48,41,93,37,75,195,73,12,25,296,295,69,70,110,88,132,128,90,91,77,78,74,3,326,327,328])))}),Eme=Ae({getParentRoute:()=>ca,path:"/tasks",beforeLoad:({params:e})=>{throw ua({to:"/$org/settings/task-board",params:{org:e.org}})}}),Cme=Ae({staticData:{pageTitle:"projects.settings.title"},getParentRoute:()=>ca,path:"/projects",component:Be(()=>Fe(()=>import("./projects-DJz5LDl0.js"),__vite__mapDeps([402,42,43,44,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,55,56,2,57,58,59,60,61,62,63,64,23,65,66,67,68,69,70,24,22,86,28,73,12,85,78,72,4,3,74,75,37,76,87,88,31,89,90,91,92,25,93,94,290,267,271,107,108,109,306,77,195])))}),Pme=Ae({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>ca,path:"/members",pendingComponent:Vs("members"),component:Be(()=>Fe(()=>import("./members-BcSHOsjX.js"),__vite__mapDeps([403,404,20,55,88,31,172,164,24,22,23,18,19,21,104,28,29,30,32,33,35,405,269,58,66,69,153,60,81,82,151,64,298,326,327,328])))}),_me=Ae({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>ca,path:"/roles",pendingComponent:Vs("members"),component:Be(()=>Fe(()=>import("./roles-DXacyEKl.js"),__vite__mapDeps([406,405,24,55,64,66,18,19,20,21,22,23,154,392,83,51,42,43,44,45,46,47,48,40,49,32,50,33,41,52,53,54,56,2,57,58,59,60,61,62,63,65,67,68,69,70,252,153,253,91,73,12,92,116,117,195,78,124,34,88,31,84,77,327,328]))),validateSearch:es(()=>Se({role:$().optional()}))}),Ame=Ae({staticData:{pageTitle:"settings.nav.security"},getParentRoute:()=>ca,path:"/sso",component:Be(()=>Fe(()=>import("./sso-Dl9I7AOe.js"),__vite__mapDeps([407,389,24,29,30,31,32,33,34,97,66,326,327,328])))}),Rme=Ae({staticData:{pageTitle:"settings.nav.profile"},getParentRoute:()=>ca,path:"/profile",component:Be(()=>Fe(()=>import("./profile-1_I-_x94.js"),__vite__mapDeps([408,200,201,30,66,67,34,29,31,32,33,172,164,88,61,62,63,319,243,2,64])))}),Dme=Ae({getParentRoute:()=>ca,path:"/agents",beforeLoad:({params:e})=>{throw ua({to:"/$org/settings/projects",params:{org:e.org}})}}),Ome=Ae({staticData:{pageTitle:"settings.nav.automations"},getParentRoute:()=>ca,path:"/automations",component:Be(()=>Fe(()=>import("./automations-BJ-1CA9i.js"),__vite__mapDeps([409,64,70,22,23,21,296,73,12,85,78,72,4,3,74,75,37,76,315,24,44,55,66,42,43,45,20,46,47,48,40,49,32,50,33,41,51,52,53,54,56,2,57,58,59,60,61,62,63,65,67,68,69,326,327,328])))}),Nme=Ae({getParentRoute:()=>ca,path:"/skills",beforeLoad:({params:e})=>{throw ua({to:"/$org/library",params:{org:e.org},search:{section:"skills"},replace:!0})}}),Mme=Ae({getParentRoute:()=>ca,path:"/memory",validateSearch:es(()=>Se({scope:Wt(["user"]).optional()})),beforeLoad:({params:e,search:t})=>{throw ua({to:"/$org/library",params:{org:e.org},search:{section:"memory",...t},replace:!0})}}),Ime=ca.addChildren([cme,dme,ume,pme,Dme,Ome,Nme,Mme,mme,hme,gme,fme,vme,bme,yme,wme,Sme,Tme,xme,kme,Eme,Cme,Pme,_me,Ame,Rme]),Lme=Ab.addChildren([xpe,kpe,Epe]),Bme=Yt.addChildren([bpe,ype,wpe,Lme,Spe,Tpe,Cpe,Ppe,_pe,Ape,Rpe,Dpe,Ope,Npe,Mpe,Ipe,Lpe,Bpe,Fpe,jpe,zpe,qpe,Upe,$pe,Vpe,Hpe,tme,ame,ome]),Fme=tn.addChildren([gpe,fpe,vpe,Bme,Gpe,Wpe,Kpe,Ype,Qpe,Zpe,Jpe,nme,Xpe,eme]),jme=_b.addChildren([ime,lme,Fme]),zme=Pb.addChildren([jme,rme,Ime]),qme=JE.addChildren([rpe,zme]),Ume=Ho.addChildren([qme,npe,spe,ipe,lpe,cpe,XE.addChildren([dpe,upe]),ppe,Wue,Kue,Yue,Que,Zue,Jue,Xue]);function $me(){const e=ye.c(16),t=$o();let a;e[0]!==t?(a=t("common.index.pageNotFound"),e[0]=t,e[1]=a):a=e[1];let o;e[2]!==a?(o=y.jsx("h3",{className:"text-lg font-medium text-foreground",children:a}),e[2]=a,e[3]=o):o=e[3];let n;e[4]!==t?(n=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=n):n=e[5];let r;e[6]!==n?(r=y.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:n}),e[6]=n,e[7]=r):r=e[7];let i;e[8]!==t?(i=t("common.goBack"),e[8]=t,e[9]=i):i=e[9];let c;e[10]!==i?(c=y.jsx("button",{type:"button",onClick:Vme,className:"text-sm text-primary hover:underline",children:i}),e[10]=i,e[11]=c):c=e[11];let d;return e[12]!==o||e[13]!==r||e[14]!==c?(d=y.jsx("div",{className:"flex h-full items-center justify-center",children:y.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[o,r,c]})}),e[12]=o,e[13]=r,e[14]=c,e[15]=d):d=e[15],d}function Vme(){return window.history.back()}const Rb=yV({routeTree:Ume,defaultPendingComponent:Xd,defaultPendingMs:200,defaultPendingMinMs:500,defaultNotFoundComponent:$me});function _e(...e){return sF(sE(e))}function Hme(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function $a({error:e,localization:t,localizeErrors:a=!0}){var o;const n="Request failed";if(!a)return e?.message?e.message:(o=e?.error)!=null&&o.message?e.error.message:n;if(typeof e=="string"&&t?.[e])return t[e];if(e?.error){if(e.error.code){const r=e.error.code;if(t?.[r])return t[r]}return e.error.message||e.error.code||e.error.statusText||t?.REQUEST_FAILED}return e?.message||t?.REQUEST_FAILED||n}function ac(e){return typeof window<"u"?new URLSearchParams(window.location.search).get(e):null}function M0(e,t){for(const a in e)if(e[a]===t)return a}function tm(e,t){let a=$().min(1,{message:t?.PASSWORD_REQUIRED});return e?.minLength&&(a=a.min(e.minLength,{message:t?.PASSWORD_TOO_SHORT})),e?.maxLength&&(a=a.max(e.maxLength,{message:t?.PASSWORD_TOO_LONG})),e?.regex&&(a=a.regex(e.regex,{message:t?.INVALID_PASSWORD})),a}var Gme={FAILED_TO_CREATE_USER:"Failed to create user",USER_ALREADY_EXISTS:"User already exists",YOU_CANNOT_BAN_YOURSELF:"You cannot ban yourself",YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE:"You are not allowed to change users role",YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS:"You are not allowed to create users",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS:"You are not allowed to list users",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS:"You are not allowed to list users sessions",YOU_ARE_NOT_ALLOWED_TO_BAN_USERS:"You are not allowed to ban users",YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS:"You are not allowed to impersonate users",YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS:"You are not allowed to revoke users sessions",YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS:"You are not allowed to delete users",YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD:"You are not allowed to set users password",BANNED_USER:"You have been banned from this application"},Wme={FAILED_TO_CREATE_USER:"Failed to create user",COULD_NOT_CREATE_SESSION:"Could not create session",ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY:"Anonymous users cannot sign in again anonymously"},Kme={INVALID_METADATA_TYPE:"metadata must be an object or undefined",REFILL_AMOUNT_AND_INTERVAL_REQUIRED:"refillAmount is required when refillInterval is provided",REFILL_INTERVAL_AND_AMOUNT_REQUIRED:"refillInterval is required when refillAmount is provided",USER_BANNED:"User is banned",UNAUTHORIZED_SESSION:"Unauthorized or invalid session",KEY_NOT_FOUND:"API Key not found",KEY_DISABLED:"API Key is disabled",KEY_EXPIRED:"API Key has expired",USAGE_EXCEEDED:"API Key has reached its usage limit",KEY_NOT_RECOVERABLE:"API Key is not recoverable",EXPIRES_IN_IS_TOO_SMALL:"The expiresIn is smaller than the predefined minimum value.",EXPIRES_IN_IS_TOO_LARGE:"The expiresIn is larger than the predefined maximum value.",INVALID_REMAINING:"The remaining count is either too large or too small.",INVALID_PREFIX_LENGTH:"The prefix length is either too large or too small.",INVALID_NAME_LENGTH:"The name length is either too large or too small.",METADATA_DISABLED:"Metadata is disabled.",RATE_LIMIT_EXCEEDED:"Rate limit exceeded.",NO_VALUES_TO_UPDATE:"No values to update.",KEY_DISABLED_EXPIRATION:"Custom key expiration values are disabled.",INVALID_API_KEY:"Invalid API key.",INVALID_USER_ID_FROM_API_KEY:"The user id from the API key is invalid.",INVALID_API_KEY_GETTER_RETURN_TYPE:"API Key getter returned an invalid key type. Expected string.",SERVER_ONLY_PROPERTY:"The property you're trying to set can only be set from the server auth instance only."},Yme={USER_NOT_FOUND:"User not found",FAILED_TO_CREATE_USER:"Failed to create user",FAILED_TO_CREATE_SESSION:"Failed to create session",FAILED_TO_UPDATE_USER:"Failed to update user",FAILED_TO_GET_SESSION:"Failed to get session",INVALID_PASSWORD:"Invalid password",INVALID_EMAIL:"Invalid email",INVALID_EMAIL_OR_PASSWORD:"Invalid email or password",SOCIAL_ACCOUNT_ALREADY_LINKED:"Social account already linked",PROVIDER_NOT_FOUND:"Provider not found",INVALID_TOKEN:"Invalid token",ID_TOKEN_NOT_SUPPORTED:"id_token not supported",FAILED_TO_GET_USER_INFO:"Failed to get user info",USER_EMAIL_NOT_FOUND:"User email not found",EMAIL_NOT_VERIFIED:"Email not verified",PASSWORD_TOO_SHORT:"Password too short",PASSWORD_TOO_LONG:"Password too long",USER_ALREADY_EXISTS:"User already exists",EMAIL_CAN_NOT_BE_UPDATED:"Email can not be updated",CREDENTIAL_ACCOUNT_NOT_FOUND:"Credential account not found",SESSION_EXPIRED:"Session expired. Re-authenticate to perform this action.",FAILED_TO_UNLINK_LAST_ACCOUNT:"You can't unlink your last account",ACCOUNT_NOT_FOUND:"Account not found",USER_ALREADY_HAS_PASSWORD:"User already has a password. Provide that to delete the account."},Qme={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},Zme={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},Jme={...Qme,...Zme},Xme={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},ehe={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},the={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},ahe={INVALID_SESSION_TOKEN:"Invalid session token"},ohe={YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION:"You are not allowed to create a new organization",YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS:"You have reached the maximum number of organizations",ORGANIZATION_ALREADY_EXISTS:"Organization already exists",ORGANIZATION_NOT_FOUND:"Organization not found",USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION:"User is not a member of the organization",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION:"You are not allowed to update this organization",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION:"You are not allowed to delete this organization",NO_ACTIVE_ORGANIZATION:"No active organization",USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION:"User is already a member of this organization",MEMBER_NOT_FOUND:"Member not found",ROLE_NOT_FOUND:"Role not found",YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM:"You are not allowed to create a new team",TEAM_ALREADY_EXISTS:"Team already exists",TEAM_NOT_FOUND:"Team not found",YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER:"You cannot leave the organization as the only owner",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER:"You are not allowed to delete this member",YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION:"You are not allowed to invite users to this organization",USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION:"User is already invited to this organization",INVITATION_NOT_FOUND:"Invitation not found",YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION:"You are not the recipient of the invitation",YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION:"You are not allowed to cancel this invitation",INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION:"Inviter is no longer a member of the organization",YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE:"you are not allowed to invite user with this role",FAILED_TO_RETRIEVE_INVITATION:"Failed to retrieve invitation",YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS:"You have reached the maximum number of teams",UNABLE_TO_REMOVE_LAST_TEAM:"Unable to remove last team",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER:"You are not allowed to update this member",ORGANIZATION_MEMBERSHIP_LIMIT_REACHED:"Organization membership limit reached",YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION:"You are not allowed to create teams in this organization",YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION:"You are not allowed to delete teams in this organization",YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM:"You are not allowed to update this team",YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM:"You are not allowed to delete this team",INVITATION_LIMIT_REACHED:"Invitation limit reached"},nhe={CHALLENGE_NOT_FOUND:"Challenge not found",YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY:"You are not allowed to register this passkey",FAILED_TO_VERIFY_REGISTRATION:"Failed to verify registration",PASSKEY_NOT_FOUND:"Passkey not found",AUTHENTICATION_FAILED:"Authentication failed",UNABLE_TO_CREATE_SESSION:"Unable to create session",FAILED_TO_UPDATE_PASSKEY:"Failed to update passkey"},rhe={INVALID_PHONE_NUMBER:"Invalid phone number",PHONE_NUMBER_EXIST:"Phone number already exists",INVALID_PHONE_NUMBER_OR_PASSWORD:"Invalid phone number or password",UNEXPECTED_ERROR:"Unexpected error",OTP_NOT_FOUND:"OTP not found",OTP_EXPIRED:"OTP expired",INVALID_OTP:"Invalid OTP",PHONE_NUMBER_NOT_VERIFIED:"Phone number not verified"},she={SUBSCRIPTION_NOT_FOUND:"Subscription not found",SUBSCRIPTION_PLAN_NOT_FOUND:"Subscription plan not found",ALREADY_SUBSCRIBED_PLAN:"You're already subscribed to this plan",UNABLE_TO_CREATE_CUSTOMER:"Unable to create customer",FAILED_TO_FETCH_PLANS:"Failed to fetch plans",EMAIL_VERIFICATION_REQUIRED:"Email verification is required before you can subscribe to a plan",SUBSCRIPTION_NOT_ACTIVE:"Subscription is not active",SUBSCRIPTION_NOT_SCHEDULED_FOR_CANCELLATION:"Subscription is not scheduled for cancellation"},ihe={TEAM_LIMIT_REACHED:"Team limit reached for this organization",TEAM_MEMBER_LIMIT_REACHED:"Team member limit reached for this team",TEAM_NOT_FOUND:"Team not found",TEAM_MEMBER_NOT_FOUND:"Team member not found",TEAM_NAME_TOO_LONG:"Team name is too long",CANNOT_REMOVE_LAST_TEAM:"Cannot remove the last team",NOT_ORGANIZATION_MEMBER:"User is not a member of the organization",ALREADY_TEAM_MEMBER:"User is already a member of this team",INSUFFICIENT_TEAM_PERMISSIONS:"Insufficient permissions to perform this action on team"},lhe={OTP_NOT_ENABLED:"OTP not enabled",OTP_HAS_EXPIRED:"OTP has expired",TOTP_NOT_ENABLED:"TOTP not enabled",TWO_FACTOR_NOT_ENABLED:"Two factor isn't enabled",BACKUP_CODES_NOT_ENABLED:"Backup codes aren't enabled",INVALID_BACKUP_CODE:"Invalid backup code",INVALID_CODE:"Invalid code",TOO_MANY_ATTEMPTS_REQUEST_NEW_CODE:"Too many attempts. Please request a new code.",INVALID_TWO_FACTOR_COOKIE:"Invalid two factor cookie"},che={INVALID_USERNAME_OR_PASSWORD:"invalid username or password",EMAIL_NOT_VERIFIED:"email not verified",UNEXPECTED_ERROR:"unexpected error",USERNAME_IS_ALREADY_TAKEN:"username is already taken. please try another.",USERNAME_TOO_SHORT:"username is too short",USERNAME_TOO_LONG:"username is too long",INVALID_USERNAME:"username is invalid"},dhe={APP:"App",ACCOUNT:"Account",ACCOUNTS:"Accounts",ACCOUNTS_DESCRIPTION:"Switch between your currently signed in accounts.",ACCOUNTS_INSTRUCTIONS:"Sign in to an additional account.",ADD_ACCOUNT:"Add Account",ADD_PASSKEY:"Add Passkey",ALREADY_HAVE_AN_ACCOUNT:"Already have an account?",AVATAR:"Avatar",AVATAR_DESCRIPTION:"Click on the avatar to upload a custom one from your files.",AVATAR_INSTRUCTIONS:"An avatar is optional but strongly recommended.",BACKUP_CODE_REQUIRED:"Backup code is required",BACKUP_CODES:"Backup Codes",BACKUP_CODES_DESCRIPTION:"Save these backup codes in a secure place. You can use them to access your account if you lose your two-factor authentication method.",BACKUP_CODE_PLACEHOLDER:"Backup Code",BACKUP_CODE:"Backup Code",CANCEL:"Cancel",CHANGE_PASSWORD:"Change Password",CHANGE_PASSWORD_DESCRIPTION:"Enter your current password and a new password.",CHANGE_PASSWORD_INSTRUCTIONS:"Please use 8 characters at minimum.",CHANGE_PASSWORD_SUCCESS:"Your password has been changed.",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Confirm Password",CONFIRM_PASSWORD_REQUIRED:"Confirm password is required",CONTINUE_WITH_AUTHENTICATOR:"Continue with Authenticator",COPIED_TO_CLIPBOARD:"Copied to clipboard",COPY_TO_CLIPBOARD:"Copy to clipboard",COPY_ALL_CODES:"Copy all codes",CONTINUE:"Continue",CURRENT_PASSWORD:"Current Password",CURRENT_PASSWORD_PLACEHOLDER:"Current Password",CURRENT_SESSION:"Current Session",UPDATE:"Update",DELETE:"Delete",DELETE_AVATAR:"Delete Avatar",DELETE_ACCOUNT:"Delete Account",DELETE_ACCOUNT_DESCRIPTION:"Permanently remove your account and all of its contents. This action is not reversible, so please continue with caution.",DELETE_ACCOUNT_INSTRUCTIONS:"Please confirm the deletion of your account. This action is not reversible, so please continue with caution.",DELETE_ACCOUNT_VERIFY:"Please check your email to verify the deletion of your account.",DELETE_ACCOUNT_SUCCESS:"Your account has been deleted.",DISABLE_TWO_FACTOR:"Disable Two-Factor",DISABLED_CREDENTIALS_DESCRIPTION:"Choose a provider to login to your account",DONT_HAVE_AN_ACCOUNT:"Don't have an account?",DONE:"Done",EMAIL:"Email",EMAIL_DESCRIPTION:"Enter the email address you want to use to log in.",EMAIL_INSTRUCTIONS:"Please enter a valid email address.",EMAIL_IS_THE_SAME:"Email is the same",EMAIL_PLACEHOLDER:"m@example.com",EMAIL_REQUIRED:"Email address is required",EMAIL_VERIFY_CHANGE:"Please check your email to verify the change.",EMAIL_VERIFICATION:"Email Verification",EMAIL_VERIFICATION_DESCRIPTION:"Please check your email for the verification code to complete your registration.",EMAIL_VERIFICATION_SUCCESS:"Email verification successful.",ENABLE_TWO_FACTOR:"Enable Two-Factor",IS_INVALID:"is invalid",IS_REQUIRED:"is required",IS_THE_SAME:"is the same",FORGOT_AUTHENTICATOR:"Forgot authenticator?",FORGOT_PASSWORD:"Forgot Password",FORGOT_PASSWORD_ACTION:"Send reset link",FORGOT_PASSWORD_DESCRIPTION:"Enter your email to reset your password",FORGOT_PASSWORD_EMAIL:"Check your email for the password reset link.",FORGOT_PASSWORD_LINK:"Forgot your password?",LINK:"Link",MAGIC_LINK:"Magic Link",MAGIC_LINK_ACTION:"Send magic link",MAGIC_LINK_DESCRIPTION:"Enter your email to receive a magic link",MAGIC_LINK_EMAIL:"Check your email for the magic link",EMAIL_OTP:"Email Code",EMAIL_OTP_SEND_ACTION:"Send code",EMAIL_OTP_VERIFY_ACTION:"Verify code",EMAIL_OTP_DESCRIPTION:"Enter your email to receive a code",EMAIL_OTP_VERIFICATION_SENT:"Please check your email for the verification code.",NAME:"Name",NAME_DESCRIPTION:"Please enter your full name, or a display name.",NAME_INSTRUCTIONS:"Please use 32 characters at maximum.",NAME_PLACEHOLDER:"Name",NEW_PASSWORD:"New Password",NEW_PASSWORD_PLACEHOLDER:"New Password",NEW_PASSWORD_REQUIRED:"New password is required",ONE_TIME_PASSWORD:"One-Time Password",OR_CONTINUE_WITH:"Or continue with",PASSKEY:"Passkey",PASSKEYS:"Passkeys",PASSKEYS_DESCRIPTION:"Manage your passkeys for secure access.",PASSKEYS_INSTRUCTIONS:"Securely access your account without a password.",PERSONAL_ACCOUNT:"Personal Account",API_KEYS:"API Keys",API_KEYS_DESCRIPTION:"Manage your API keys for secure access.",API_KEYS_INSTRUCTIONS:"Generate API keys to access your account programmatically.",CREATE_API_KEY:"Create API Key",CREATE_API_KEY_DESCRIPTION:"Enter a unique name for your API key to differentiate it from other keys.",API_KEY_NAME_PLACEHOLDER:"New API Key",API_KEY_CREATED:"API Key Created",CREATE_API_KEY_SUCCESS:"Please copy your API key and store it in a safe place. For security reasons we cannot show it again.",NEVER_EXPIRES:"Never Expires",EXPIRES:"Expires",NO_EXPIRATION:"No Expiration",CREATE_ORGANIZATION:"Create Organization",ORGANIZATION:"Organization",ORGANIZATION_NAME:"Name",ORGANIZATION_NAME_PLACEHOLDER:"Acme Inc.",ORGANIZATION_NAME_DESCRIPTION:"This is your organization's visible name.",ORGANIZATION_NAME_INSTRUCTIONS:"Please use 32 characters at maximum.",ORGANIZATION_SLUG:"Slug URL",ORGANIZATION_SLUG_DESCRIPTION:"This is your organization's URL namespace.",ORGANIZATION_SLUG_INSTRUCTIONS:"Please use 48 characters at maximum.",ORGANIZATION_SLUG_PLACEHOLDER:"acme-inc",CREATE_ORGANIZATION_SUCCESS:"Organization created successfully",PASSWORD:"Password",PASSWORD_PLACEHOLDER:"Password",PASSWORD_REQUIRED:"Password is required",PASSWORDS_DO_NOT_MATCH:"Passwords do not match",PROVIDERS:"Providers",PROVIDERS_DESCRIPTION:"Connect your account with a third-party service.",RECOVER_ACCOUNT:"Recover Account",RECOVER_ACCOUNT_ACTION:"Recover account",RECOVER_ACCOUNT_DESCRIPTION:"Please enter a backup code to access your account",REMEMBER_ME:"Remember me",RESEND_CODE:"Resend code",RESEND_VERIFICATION_EMAIL:"Resend Verification Email",RESET_PASSWORD:"Reset Password",RESET_PASSWORD_ACTION:"Save new password",RESET_PASSWORD_DESCRIPTION:"Enter your new password below",RESET_PASSWORD_SUCCESS:"Password reset successfully",REQUEST_FAILED:"Request failed",REVOKE:"Revoke",DELETE_API_KEY:"Delete API Key",DELETE_API_KEY_CONFIRM:"Are you sure you want to delete this API key?",API_KEY:"API Key",SIGN_IN:"Sign In",SIGN_IN_ACTION:"Login",SIGN_IN_DESCRIPTION:"Enter your email below to login to your account",SIGN_IN_USERNAME_DESCRIPTION:"Enter your username or email to login to your account",SIGN_IN_WITH:"Sign in with",SIGN_OUT:"Sign Out",SIGN_UP:"Sign Up",SIGN_UP_ACTION:"Create an account",SIGN_UP_DESCRIPTION:"Enter your information to create an account",SIGN_UP_EMAIL:"Check your email for the verification link.",SESSIONS:"Sessions",SESSIONS_DESCRIPTION:"Manage your active sessions and revoke access.",SET_PASSWORD:"Set Password",SET_PASSWORD_DESCRIPTION:"Click the button below to receive an email to set up a password for your account.",SETTINGS:"Settings",SAVE:"Save",SECURITY:"Security",SWITCH_ACCOUNT:"Switch Account",TRUST_DEVICE:"Trust this device",TWO_FACTOR:"Two-Factor",TWO_FACTOR_ACTION:"Verify code",TWO_FACTOR_DESCRIPTION:"Please enter your one-time password to continue",TWO_FACTOR_CARD_DESCRIPTION:"Add an extra layer of security to your account.",TWO_FACTOR_DISABLE_INSTRUCTIONS:"Please enter your password to disable 2FA.",TWO_FACTOR_ENABLE_INSTRUCTIONS:"Please enter your password to enable 2FA.",TWO_FACTOR_ENABLED:"Two-factor authentication has been enabled",TWO_FACTOR_DISABLED:"Two-Factor Authentication has been disabled",TWO_FACTOR_PROMPT:"Two-Factor Authentication",TWO_FACTOR_TOTP_LABEL:"Scan the QR Code with your Authenticator",SEND_VERIFICATION_CODE:"Send verification code",UNLINK:"Unlink",UPDATED_SUCCESSFULLY:"updated successfully",USERNAME:"Username",USERNAME_DESCRIPTION:"Enter the username you want to use to log in.",USERNAME_INSTRUCTIONS:"Please use 32 characters at maximum.",USERNAME_PLACEHOLDER:"Username",OPTIONAL_BRACKETS:"(Optional)",SIGN_IN_USERNAME_PLACEHOLDER:"Username or email",VERIFY_YOUR_EMAIL:"Verify Your Email",VERIFY_YOUR_EMAIL_DESCRIPTION:"Please verify your email address. Check your inbox for the verification email. If you haven't received the email, click the button below to resend.",GO_BACK:"Go back",SESSION_NOT_FRESH:"Your session is not fresh. Please sign in again.",UPLOAD_AVATAR:"Upload Avatar",LOGO:"Logo",LOGO_DESCRIPTION:"Click on the logo to upload a custom one from your files.",LOGO_INSTRUCTIONS:"A logo is optional but strongly recommended.",UPLOAD:"Upload",UPLOAD_LOGO:"Upload Logo",DELETE_LOGO:"Delete Logo",PRIVACY_POLICY:"Privacy Policy",TERMS_OF_SERVICE:"Terms of Service",PROTECTED_BY_RECAPTCHA:"This site is protected by reCAPTCHA.",BY_CONTINUING_YOU_AGREE:"By continuing, you agree to the",USER:"User",ORGANIZATIONS:"Organizations",ORGANIZATIONS_DESCRIPTION:"Manage your organizations and memberships.",ORGANIZATIONS_INSTRUCTIONS:"Create an organization to collaborate with other users.",LEAVE_ORGANIZATION:"Leave Organization",LEAVE_ORGANIZATION_CONFIRM:"Are you sure you want to leave this organization?",LEAVE_ORGANIZATION_SUCCESS:"You have successfully left the organization.",MANAGE_ORGANIZATION:"Manage Organization",REMOVE_MEMBER:"Remove Member",REMOVE_MEMBER_CONFIRM:"Are you sure you want to remove this member from the organization?",REMOVE_MEMBER_SUCCESS:"Member removed successfully",INVITE_MEMBER:"Invite Member",MEMBERS:"Members",MEMBERS_DESCRIPTION:"Add or remove members and manage their roles.",MEMBERS_INSTRUCTIONS:"Invite new members to your organization.",INVITE_MEMBER_DESCRIPTION:"Send an invitation to add a new member to your organization.",ROLE:"Role",SELECT_ROLE:"Select a role",ADMIN:"Admin",MEMBER:"Member",GUEST:"Guest",OWNER:"Owner",UPDATE_ROLE_DESCRIPTION:"Update the role for this member",UPDATE_ROLE:"Update Role",MEMBER_ROLE_UPDATED:"Member role updated successfully",SEND_INVITATION:"Send Invitation",SEND_INVITATION_SUCCESS:"Invitation sent successfully",PENDING_INVITATIONS:"Pending Invitations",PENDING_INVITATIONS_DESCRIPTION:"Manage pending invitations to your organization.",PENDING_USER_INVITATIONS_DESCRIPTION:"Invitations you've received from organizations.",CANCEL_INVITATION:"Cancel Invitation",INVITATION_CANCELLED:"Invitation cancelled successfully",ACCEPT_INVITATION:"Accept Invitation",ACCEPT_INVITATION_DESCRIPTION:"You have been invited to join an organization.",INVITATION_ACCEPTED:"Invitation accepted successfully",INVITATION_REJECTED:"Invitation rejected successfully",ACCEPT:"Accept",REJECT:"Reject",INVITATION_EXPIRED:"This invitation has expired",DELETE_ORGANIZATION:"Delete Organization",DELETE_ORGANIZATION_DESCRIPTION:"Permanently remove your organization and all of its contents. This action is not reversible — please continue with caution.",DELETE_ORGANIZATION_SUCCESS:"Organization deleted successfully",DELETE_ORGANIZATION_INSTRUCTIONS:"Enter the organization slug to continue:",SLUG_REQUIRED:"Organization slug is required",SLUG_DOES_NOT_MATCH:"The slug does not match",TEAM:"Team",TEAMS:"Teams",TEAM_ACTIVE:"Active",TEAM_SET_ACTIVE:"Set Active",CREATE_TEAM:"Create Team",CREATE_TEAM_SUCCESS:"Team created successfully",UPDATE_TEAM:"Update Team",UPDATE_TEAMS:"Update Teams",SELECT_TEAMS:"Select teams",ADD:"Add",REMOVE:"Remove",UPDATE_TEAM_DESCRIPTION:"Update the name for this team",UPDATE_TEAMS_DESCRIPTION:"Add or remove teams for this member",REMOVE_TEAM_CONFIRM:"Are you sure you want to remove this team from the organization?",CREATE_TEAM_INSTRUCTIONS:"Add new team to your organization.",TEAM_NAME:"Team Name",TEAM_NAME_PLACEHOLDER:"Engineering Team",TEAM_NAME_DESCRIPTION:"This is your team's visible name.",TEAM_NAME_INSTRUCTIONS:"Please use 64 characters at maximum.",TEAMS_DESCRIPTION:"Manage your teams within your organization.",USER_TEAMS_DESCRIPTION:"You are a member of the following teams.",DELETE_TEAM:"Delete Team",DELETE_TEAM_DESCRIPTION:"Permanently remove this team and all of its contents.",DELETE_TEAM_SUCCESS:"Team deleted successfully",DELETE_TEAM_INSTRUCTIONS:"Enter the team name to continue:",TEAM_NAME_REQUIRED:"Team name is required",TEAM_NAME_DOES_NOT_MATCH:"The team name does not match",TEAM_MEMBERS:"Team Members",TEAM_MEMBERS_DESCRIPTION:"Manage your team members and their roles.",ADD_TEAM_MEMBER:"Add Team Member",REMOVE_TEAM_MEMBER:"Remove Team Member",REMOVE_TEAM_MEMBER_CONFIRM:"Are you sure you want to remove this member from the team?",REMOVE_TEAM_MEMBER_SUCCESS:"Team member removed successfully",ADD_TEAM_MEMBER_SUCCESS:"Team member added successfully",UPDATE_TEAM_SUCCESS:"Team updated successfully",MANAGE_TEAM_MEMBERS:"Manage Team Members",MANAGE_TEAM_MEMBERS_DESCRIPTION:"Search and add organization members to this team.",NO_TEAMS_FOUND:"No teams found",MEMBER_SINGULAR:"member",MEMBER_PLURAL:"members",UNKNOWN:"Unknown",...Yme,...Gme,...Wme,...Kme,...Jme,...Xme,...ehe,...the,...ahe,...ohe,...nhe,...rhe,...she,...ihe,...lhe,...che},uhe={CALLBACK:"callback",EMAIL_OTP:"email-otp",EMAIL_VERIFICATION:"email-verification",FORGOT_PASSWORD:"forgot-password",MAGIC_LINK:"magic-link",RECOVER_ACCOUNT:"recover-account",RESET_PASSWORD:"reset-password",SIGN_IN:"sign-in",SIGN_OUT:"sign-out",SIGN_UP:"sign-up",TWO_FACTOR:"two-factor",ACCEPT_INVITATION:"accept-invitation"},dN={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},uN={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const d5=A.createContext({});function u5(){return A.useContext(d5)}var yT,pN;function phe(){if(pN)return yT;pN=1;var e=function(){};return yT=e,yT}var mhe=phe();const hhe=Yl(mhe);function ghe({async:e,appendTo:t,defer:a,id:o,nonce:n,src:r}){const i=document.createElement("script");e!==void 0&&(i.async=e),a!==void 0&&(i.defer=a),o&&(i.id=o),n&&i.setAttribute("nonce",n),i.src=r,(t==="head"?document.head:document.body).appendChild(i)}var fhe=function(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(a[o[n]]=e[o[n]]);return a};let Op=null,am=!1;const Ov=new Set,Nv=new Set,vhe=typeof window<"u",Ad="___grecaptcha_cfg",p5=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function bhe(){if(!vhe)return;function e(a){if(am)a();else{window[Ad]||(window[Ad]={});const o=window[Ad];o.fns||(o.fns=[]),o.fns.push(a)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=e,window.grecaptcha.enterprise.ready=e;function t(){am=!0;for(const a of Nv)a();Nv.clear()}window[p5]=t}function yhe({language:e,onLoadCallbackName:t,render:a,useEnterprise:o=!1,useRecaptchaNet:n=!1}){const r=n?"recaptcha.net":"google.com",i=o?"enterprise.js":"api.js",c=new URLSearchParams({render:a});return t&&c.set("onload",t),e&&c.set("hl",e),`https://www.${r}/recaptcha/${i}?${c.toString()}`}function whe({language:e,render:t,scriptProps:a,useEnterprise:o,useRecaptchaNet:n}){const r={id:"google-recaptcha-v3"},i=yhe({language:e,onLoadCallbackName:p5,render:t,useEnterprise:o,useRecaptchaNet:n});if(Op){if(Op!==i)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}Op=i,ghe(Object.assign(Object.assign(Object.assign({},r),a),{src:i}))}function She(e){if(!window[Ad])return;const t=window[Ad];t.clients&&delete t.clients[e]}function The(e,t){var{onLoadCallback:a,onLoadCallbackName:o}=t,n=fhe(t,["onLoadCallback","onLoadCallbackName"]);if(Ov.size===0&&bhe(),whe(n),Ov.add(e),a&&(am?a():Nv.add(a)),o){let r=function(){if(!o)return;const i=window[o];typeof i=="function"&&i()};am?r():Nv.add(r)}}function xhe(e){var t,a,o;Ov.delete(e),Ov.size===0&&(window.grecaptcha=void 0,window[Ad]=void 0,(t=document.querySelector(".grecaptcha-badge"))===null||t===void 0||t.remove(),(a=document.querySelector(`script[src="${Op}"]`))===null||a===void 0||a.remove(),(o=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||o===void 0||o.remove(),Op=null,am=!1)}let mN=!1;function khe({container:e,children:t,language:a,reCaptchaKey:o,scriptProps:n,useEnterprise:r,useRecaptchaNet:i}){var c,d,u,m,h,f,v;const b=A.useId(),[w,x]=A.useState(null),[T,k]=A.useState(null),C=A.useRef(!1);A.useEffect(()=>{function R(){var O;const L=r?(O=window.grecaptcha)===null||O===void 0?void 0:O.enterprise:window.grecaptcha;if(!L)throw new Error("reCAPTCHA not found");if(!L.ready)throw new Error("reCAPTCHA ready callback not found");L.ready(()=>{x(L)})}return The(b,{language:a,onLoadCallback:R,onLoadCallbackName:n?.onLoadCallbackName,render:e?.element?"explicit":o,scriptProps:{appendTo:n?.appendTo,async:n?.async,defer:n?.defer,id:n?.id,nonce:n?.nonce},useEnterprise:r,useRecaptchaNet:i}),()=>{xhe(b),x(null)}},[e?.element,b,a,o,n?.appendTo,n?.async,n?.defer,n?.id,n?.nonce,n?.onLoadCallbackName,r,i]),A.useEffect(()=>{var R,O,L;if(!e?.element||!w?.render)return;const U={"error-callback":e.parameters.errorCallback,"expired-callback":e.parameters.expiredCallback,badge:((R=e.parameters)===null||R===void 0?void 0:R.badge)||"inline",callback:e.parameters.callback,sitekey:o,size:"invisible",tabindex:e.parameters.tabindex,theme:e.parameters.theme},B=typeof e?.element=="string"?document.getElementById(e.element):e?.element;if(!B)throw new Error("reCAPTCHA container element not found");const z=w.render(B,U);return!((O=e?.parameters)===null||O===void 0)&&O.hidden&&(mN||(hhe(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),mN=!0),(L=B.querySelector(".grecaptcha-badge"))===null||L===void 0||L.style.setProperty("display","none")),k(z),C.current=!0,()=>{k(null),C.current=!1,She(z),B.innerHTML=""}},[e?.element,(c=e?.parameters)===null||c===void 0?void 0:c.badge,(d=e?.parameters)===null||d===void 0?void 0:d.hidden,(u=e?.parameters)===null||u===void 0?void 0:u.callback,(m=e?.parameters)===null||m===void 0?void 0:m.errorCallback,(h=e?.parameters)===null||h===void 0?void 0:h.expiredCallback,(f=e?.parameters)===null||f===void 0?void 0:f.tabindex,(v=e?.parameters)===null||v===void 0?void 0:v.theme,w,o]);const E=!!e?.element,_=E?T:o,D=A.useMemo(()=>_!==null&&w?.execute?R=>{if(_===null||!w?.execute)throw new Error("reCAPTCHA has not been loaded");return E&&!C.current?(console.warn("Client ID not mounted"),null):w.execute(_,{action:R})}:void 0,[_,w,E]);return y.jsx(d5.Provider,{value:{container:e?.element,executeRecaptcha:D,reCaptchaInstance:w},children:t})}var Ehe=class{cache=new Map;listeners=new Map;inFlightRequests=new Map;get(e){return this.cache.get(e)}set(e,t){const a={data:t,timestamp:Date.now(),isRefetching:!1};this.cache.set(e,a),this.notify(e)}setRefetching(e,t){const a=this.cache.get(e);a&&(a.isRefetching=t,this.notify(e))}clear(e){if(e)this.cache.delete(e),this.inFlightRequests.delete(e),this.notify(e);else{this.cache.clear(),this.inFlightRequests.clear();const t=Array.from(this.listeners.keys());for(const a of t)this.notify(a)}}getInFlightRequest(e){return this.inFlightRequests.get(e)}setInFlightRequest(e,t){this.inFlightRequests.set(e,t)}removeInFlightRequest(e){this.inFlightRequests.delete(e)}subscribe(e,t){return this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t),()=>{const a=this.listeners.get(e);a&&(a.delete(t),a.size===0&&this.listeners.delete(e))}}notify(e){const t=this.listeners.get(e);if(t){const a=Array.from(t);for(const o of a)o()}}},Jn=new Ehe;function Che(){return()=>{}}function Hs(){return A.useSyncExternalStore(Che,()=>!0,()=>!1)}function m5(){const[e,t]=A.useState();return A.useEffect(()=>{const a=()=>{const n=document.documentElement.getAttribute("lang");t(n??void 0)};a();const o=new MutationObserver(n=>{for(const r of n)r.attributeName==="lang"&&a()});return o.observe(document.documentElement,{attributes:!0}),()=>{o.disconnect()}},[]),{lang:e}}function eC(){const[e,t]=A.useState("light");return A.useEffect(()=>{const a=()=>{var n;const r=document.documentElement.classList.contains("dark")||((n=document.documentElement.getAttribute("style"))==null?void 0:n.includes("color-scheme: dark"));t(r?"dark":"light")};a();const o=new MutationObserver(n=>{for(const r of n)(r.attributeName==="style"||r.attributeName==="class")&&a()});return o.observe(document.documentElement,{attributes:!0}),()=>{o.disconnect()}},[]),{theme:e}}function Phe({children:e}){const t=Hs(),{captcha:a}=A.useContext(wt);return a?.provider!=="google-recaptcha-v3"?e:y.jsxs(khe,{reCaptchaKey:a.siteKey,useEnterprise:a.enterprise,useRecaptchaNet:a.recaptchaNet,children:[t&&y.jsx("style",{children:`
|
|
190
190
|
.grecaptcha-badge {
|
|
191
191
|
visibility: hidden;
|
|
192
192
|
border-radius: var(--radius) !important;
|