decocms 4.521.0 → 4.523.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{ActiveShapeUtils-NiXAWNnI.js → ActiveShapeUtils-DFQm8e1Y.js} +1 -1
- package/dist/client/assets/{AlertCircle-DGVmeswV.js → AlertCircle-BA2QScAs.js} +1 -1
- package/dist/client/assets/{AreaChart-DL7RX4W6.js → AreaChart-ClrQt6jf.js} +1 -1
- package/dist/client/assets/{ArrowLeft-DDWHto_R.js → ArrowLeft-_xxDQTdX.js} +1 -1
- package/dist/client/assets/{ArrowUp-bm_9Fp5i.js → ArrowUp-DmTmdisJ.js} +1 -1
- package/dist/client/assets/{BarChart-DmTON82J.js → BarChart-CA5rp-M1.js} +1 -1
- package/dist/client/assets/{Building02-p3_mZ-E2.js → Building02-B6-7Dcc4.js} +1 -1
- package/dist/client/assets/{CartesianChart-oH_IqMjj.js → CartesianChart-C28Ew3_Y.js} +1 -1
- package/dist/client/assets/{CategoricalChart-Dy74bBD9.js → CategoricalChart-BhrWWlP9.js} +1 -1
- package/dist/client/assets/{CheckCircle-Bx5iI6Lz.js → CheckCircle-DhEJCbmL.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-CtVpNCaH.js → ChevronSelectorVertical-jTXK7pCA.js} +1 -1
- package/dist/client/assets/{ChevronUp-ojSOtVX2.js → ChevronUp-TdPYqe3f.js} +1 -1
- package/dist/client/assets/{Copy01-CixCoZek.js → Copy01-7T2u11TN.js} +1 -1
- package/dist/client/assets/{CreditCard01-D0K-VlXU.js → CreditCard01-Bh4Xntzj.js} +1 -1
- package/dist/client/assets/{DotsVertical-DzE0Ijkk.js → DotsVertical-BSltXJxd.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-DRS3e7xk.js → ErrorBarContext-C8fMO8MO.js} +1 -1
- package/dist/client/assets/{Globe04-CE15ScrO.js → Globe04-ZetgXMJl.js} +1 -1
- package/dist/client/assets/{Image01-Bks737AT.js → Image01-Ck0HrQIi.js} +1 -1
- package/dist/client/assets/{Key01-CxbATohw.js → Key01-CiAU22Ss.js} +1 -1
- package/dist/client/assets/{Link01-DCdDhO7H.js → Link01-DByQNRHy.js} +1 -1
- package/dist/client/assets/{LinkBroken01-ZF7OlrXq.js → LinkBroken01-CHqvYaqa.js} +1 -1
- package/dist/client/assets/{Minus-DqMKpYLh.js → Minus-oTJkI1L_.js} +1 -1
- package/dist/client/assets/{Monitor01-B-_Pl3qs.js → Monitor01-CSVPDFy2.js} +1 -1
- package/dist/client/assets/{Play-B6eaz3Uv.js → Play-BnvS6etf.js} +1 -1
- package/dist/client/assets/{Plus-B28tKNm1.js → Plus-hR9qqg7F.js} +1 -1
- package/dist/client/assets/{ReferenceLine-C5aqWs1r.js → ReferenceLine-C1OFxgQn.js} +1 -1
- package/dist/client/assets/{SearchMd-OCyidoZI.js → SearchMd-CipODP3M.js} +1 -1
- package/dist/client/assets/{Sector-CtNXSnWN.js → Sector-TDWn4NBe.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-DHyiQNjO.js → ShoppingBag01-C6zQQ-g_.js} +1 -1
- package/dist/client/assets/{Sun-BUl5hUgs.js → Sun-fxjuDx85.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-BKu4aB4V.js → SwitchHorizontal01-qZTU6RHM.js} +1 -1
- package/dist/client/assets/{Tool01-CnZckhqi.js → Tool01-CZyq1C-m.js} +1 -1
- package/dist/client/assets/{Trash01-C34kFeWG.js → Trash01-kzymRLEh.js} +1 -1
- package/dist/client/assets/{Upload01-sDXthFWJ.js → Upload01-aGlTSryk.js} +1 -1
- package/dist/client/assets/{User01-2Hx1yZRb.js → User01-B_8hWFtQ.js} +1 -1
- package/dist/client/assets/{UserSquare-UeuSXkL4.js → UserSquare-C-ypPx1C.js} +1 -1
- package/dist/client/assets/{Users01-D78JG135.js → Users01-u8O34kVf.js} +1 -1
- package/dist/client/assets/{XClose-BbuvN9Qp.js → XClose-Ct2xtw32.js} +1 -1
- package/dist/client/assets/{ZoomOut-DnRMz8gp.js → ZoomOut-HEpqy_Rp.js} +1 -1
- package/dist/client/assets/{access-gate-B-XccyUi.js → access-gate-DW2Edo-Q.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-3BCYyOlq.js → add-connection-dialog-BReu9nVa.js} +1 -1
- package/dist/client/assets/agent-analytics-B2ZbF2AM.js +1 -0
- package/dist/client/assets/agent-app-QifMzTD_.js +1 -0
- package/dist/client/assets/{agent-assets-BX70IHOT.js → agent-assets-D5cDJYp0.js} +1 -1
- package/dist/client/assets/{agent-automation-DSOT91yw.js → agent-automation-B-E62t6B.js} +1 -1
- package/dist/client/assets/{agent-automations-DELrtNmQ.js → agent-automations-BL2C9TJL.js} +1 -1
- package/dist/client/assets/agent-calendar-CQld1sbX.js +1 -0
- package/dist/client/assets/{agent-connect-sources-EYRSBit6.js → agent-connect-sources-qn3tzZdI.js} +1 -1
- package/dist/client/assets/agent-deck-fozZKigY.js +1 -0
- package/dist/client/assets/{agent-e2e-DgDrdrOU.js → agent-e2e-Bf8zroDu.js} +1 -1
- package/dist/client/assets/agent-experiments-QiLJ_N-u.js +1 -0
- package/dist/client/assets/agent-file-BY1HvP3E.js +1 -0
- package/dist/client/assets/{agent-hosting-COv9KqxJ.js → agent-hosting-CcFwtsum.js} +1 -1
- package/dist/client/assets/{agent-icon-2Sd6TPJR.js → agent-icon-BA86cT1F.js} +1 -1
- package/dist/client/assets/agent-library-5o95T8yf.js +1 -0
- package/dist/client/assets/agent-library-file-idrkATAh.js +1 -0
- package/dist/client/assets/agent-monitor-DJgUYxeE.js +1 -0
- package/dist/client/assets/{agent-overview-jQR56ImR.js → agent-overview-DevZ1Jrh.js} +1 -1
- package/dist/client/assets/{agent-releases-1LcFLBWb.js → agent-releases-BUHCKd6G.js} +1 -1
- package/dist/client/assets/agent-settings-Pbf2Mc2F.js +1 -0
- package/dist/client/assets/{agent-site-editor-FH5rkph4.js → agent-site-editor-BW85UVF0.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-CZeHtQ74.js +2 -0
- package/dist/client/assets/agent-site-editor-content-n5wHkwXf.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-B0ciYMqr.js +1 -0
- package/dist/client/assets/agent-view-BpG9TuQz.js +1 -0
- package/dist/client/assets/{agent-view-guard-BtSTYr3f.js → agent-view-guard-2TzKbzeA.js} +1 -1
- package/dist/client/assets/{agents-list-BciltAjT.js → agents-list-BwXuDqFm.js} +1 -1
- package/dist/client/assets/{ai-providers-1_g2-YFO.js → ai-providers-nhDcrO0Z.js} +1 -1
- package/dist/client/assets/{alert-B6jt7ehz.js → alert-DSxecoEb.js} +1 -1
- package/dist/client/assets/{alert-dialog-C6IuYhIc.js → alert-dialog-CoKTwgLR.js} +1 -1
- package/dist/client/assets/{analytics-sections-CMbHJdjJ.js → analytics-sections-C6zIWiEG.js} +1 -1
- package/dist/client/assets/{analytics-tab-BptBREH9.js → analytics-tab-BhckQtVJ.js} +1 -1
- package/dist/client/assets/api-keys-DIDWd1pe.js +1 -0
- package/dist/client/assets/{api-keys-DNoVGHBL.js → api-keys-DkqXMpCO.js} +1 -1
- package/dist/client/assets/{app-editor-DIGpXnGi.js → app-editor-BMl1vUHn.js} +1 -1
- package/dist/client/assets/app-preview-url-9Od4s8Sz.js +1 -0
- package/dist/client/assets/{asset-utils-BaoKrfcS.js → asset-utils-DpcfUfN3.js} +1 -1
- package/dist/client/assets/{auth-MbbNpK0f.js → auth-BlDoW38W.js} +1 -1
- package/dist/client/assets/{auth-catchall-CQhqMFI7.js → auth-catchall-DR3otXf1.js} +1 -1
- package/dist/client/assets/{auth-entry-BytQWBJH.js → auth-entry-BxpXYhRz.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BLy72f6M.js → auth-split-layout-Fc-cVSGU.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-ChOS0TQ8.js → authenticate-and-persist-oauth-21zrOYvF.js} +1 -1
- package/dist/client/assets/{automation-list-row-CDTQ4wXs.js → automation-list-row-T3iavNt4.js} +1 -1
- package/dist/client/assets/{automation-runs-uGIsi6Hf.js → automation-runs-NtetJ09w.js} +1 -1
- package/dist/client/assets/{automations-CYPV9xM6.js → automations-B_NJD1pO.js} +1 -1
- package/dist/client/assets/{autosend-nr-hPbHj.js → autosend-B6NLiS3O.js} +1 -1
- package/dist/client/assets/{avatar-DarGMVT9.js → avatar-DSM67DGz.js} +1 -1
- package/dist/client/assets/{badge-7nY_ai7T.js → badge-ZmtxdQUh.js} +1 -1
- package/dist/client/assets/{block-document-BFjSBfhL.js → block-document-tsUrGmxY.js} +1 -1
- package/dist/client/assets/{blocks-preview-workspace-context-CPEN608S.js → blocks-preview-workspace-context-BnKyZHKG.js} +1 -1
- package/dist/client/assets/{blocks-tab-states-DEKXC5rW.js → blocks-tab-states-FyWYETtF.js} +1 -1
- package/dist/client/assets/{blog-schema-DXeDEF-x.js → blog-schema-Dk-4n46g.js} +1 -1
- package/dist/client/assets/{buckets-Fnw-QnpR.js → buckets-CSV3bOI_.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-BNyp6j2d.js → build-improve-prompt-doc-Fo2wVAPr.js} +1 -1
- package/dist/client/assets/{calendar-D8eqk8F_.js → calendar-yCl419IQ.js} +1 -1
- package/dist/client/assets/{campaigns-view-DwenRJ4m.js → campaigns-view-C9kIpIu5.js} +1 -1
- package/dist/client/assets/{capability-load-error-DK8yJwbi.js → capability-load-error-8bv2L0sr.js} +1 -1
- package/dist/client/assets/{category-editor-CvvoknG-.js → category-editor-D4LgqAzF.js} +1 -1
- package/dist/client/assets/{cdn-tab-DGngqFre.js → cdn-tab-wHu7QG-h.js} +1 -1
- package/dist/client/assets/{chart-BVOKVwol.js → chart-CPyUT0RR.js} +1 -1
- package/dist/client/assets/{chat-context-4LDKQ9-8.js → chat-context-Dc5oH6pi.js} +1 -1
- package/dist/client/assets/{chat-draft-DtnFj70R.js → chat-draft-C9nL8Pk0.js} +1 -1
- package/dist/client/assets/{checkbox--QGg9JL6.js → checkbox-DbbYgeFA.js} +1 -1
- package/dist/client/assets/{choose-editor-Co3gZPYu.js → choose-editor-UJ-gtxPM.js} +1 -1
- package/dist/client/assets/{cli-auth-success-PhyGH5OW.js → cli-auth-success-iEdPT4UY.js} +1 -1
- package/dist/client/assets/{client-icons-C_ct3pd0.js → client-icons-DL--j1Qy.js} +1 -1
- package/dist/client/assets/cms-settings-editor-C9_tmAy_.js +1 -0
- package/dist/client/assets/{collapsible-DGVOZrNj.js → collapsible-BUE85wJF.js} +1 -1
- package/dist/client/assets/{collection-detail-BAmfEJxU.js → collection-detail-DWaZ_g9N.js} +1 -1
- package/dist/client/assets/{collection-display-button-ClKK9pYP.js → collection-display-button-Bkr-LiZM.js} +1 -1
- package/dist/client/assets/{collection-search-DRo1WmLT.js → collection-search-Cx9S1oXM.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Dgqpnsq8.js → collection-table-wrapper-YMAxzRT1.js} +1 -1
- package/dist/client/assets/{collection-tabs-Dc2dImyc.js → collection-tabs-BnuQtSEJ.js} +1 -1
- package/dist/client/assets/{column-rules-DiqfCnEN.js → column-rules-DMBckJ6i.js} +1 -1
- package/dist/client/assets/{combobox-DZgmK343.js → combobox-DcCEsf4T.js} +1 -1
- package/dist/client/assets/{command-CPx9UwtG.js → command-BMeHNtVi.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-CLb76BIo.js → companion-mcps-section-BiitCmdB.js} +1 -1
- package/dist/client/assets/{config-CxVvKo3A.js → config-D648BlRF.js} +1 -1
- package/dist/client/assets/{connect-A3Avs8Pl.js → connect-CuE4jRCA.js} +1 -1
- package/dist/client/assets/{connect-layout-BksXTmdN.js → connect-layout-CC4cWnyH.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-DSaPW3-r.js → connect-source-dialog-BiGD6DO5.js} +1 -1
- package/dist/client/assets/{connection-GML1C2tu.js → connection-B2tV09M0.js} +1 -1
- package/dist/client/assets/{connection-card-ZvVd_UVc.js → connection-card-CHjef_mF.js} +1 -1
- package/dist/client/assets/{connection-detail-DtbzbTIM.js → connection-detail-DJhbdGg7.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CGyT85pi.js → connection-form-helpers-Clo6EVG8.js} +1 -1
- package/dist/client/assets/{connections-D4x-lAFA.js → connections-CBPCozbq.js} +1 -1
- package/dist/client/assets/{content-tab-DgdEt3c6.js → content-tab-Dr4AuU0k.js} +3 -3
- package/dist/client/assets/{context-BcuOiE0n.js → context-kzIuWQxd.js} +1 -1
- package/dist/client/assets/{context-menu-BPat3chT.js → context-menu-C3zBSIII.js} +1 -1
- package/dist/client/assets/{context-shell-BpD_TiZV.js → context-shell-BvowvaCU.js} +3 -3
- package/dist/client/assets/{core.esm-CumN7OYl.js → core.esm-CNaSMIsh.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-C7cTp33N.js → create-organization-dialog-DjXlvOd0.js} +1 -1
- package/dist/client/assets/{daily-pulse-DIdfLtIG.js → daily-pulse-BEsurtoW.js} +1 -1
- package/dist/client/assets/{discover-CG4C5Odc.js → discover-CShJ8r_Z.js} +1 -1
- package/dist/client/assets/{domain-settings-DkAHUlQw.js → domain-settings-BoC_8zZq.js} +1 -1
- package/dist/client/assets/{drawer-Bp7WNOCz.js → drawer-CEu4XYUC.js} +1 -1
- package/dist/client/assets/{editor-CmZJbc4Z.js → editor-DXW7e4iJ.js} +1 -1
- package/dist/client/assets/{editor-classes-DYddjmhz.js → editor-classes-BdNlvhC1.js} +1 -1
- package/dist/client/assets/{empty-state-vh9cmtA2.js → empty-state-Bn_4dokb.js} +1 -1
- package/dist/client/assets/{empty-state-DBHadTD8.js → empty-state-C-YNJpvC.js} +1 -1
- package/dist/client/assets/{experiments-tab-BaB_Zi0V.js → experiments-tab-ITpv3Hb7.js} +1 -1
- package/dist/client/assets/{experiments-tab-choice-p3E1pILX.js → experiments-tab-choice-CzMyCRWv.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C2lA8ZOm.js → extract-connection-data-BSmELWAh.js} +1 -1
- package/dist/client/assets/{feature-gate-D8HHU_kV.js → feature-gate-Dbk02DlS.js} +1 -1
- package/dist/client/assets/{feature-paywall-CRRIPYfS.js → feature-paywall-C0BZtk6d.js} +1 -1
- package/dist/client/assets/{file-explorer-BTIbvupP.js → file-explorer-C8AgRGWc.js} +1 -1
- package/dist/client/assets/{file-preview-CsDpTAv6.js → file-preview-B-P1RNv6.js} +1 -1
- package/dist/client/assets/{file-share-button-BmWv4msr.js → file-share-button-B_h1cOOn.js} +1 -1
- package/dist/client/assets/{file-type-icon-Ixvc6_bA.js → file-type-icon-BhPSNmF1.js} +1 -1
- package/dist/client/assets/{folder-icon-ByIjnQde.js → folder-icon-CveQvMDR.js} +1 -1
- package/dist/client/assets/{form-CIAWZjuP.js → form-BNjCXF3D.js} +1 -1
- package/dist/client/assets/{general-DEusZ5JT.js → general-CCTHK69K.js} +1 -1
- package/dist/client/assets/{home-B9bSA6tC.js → home-BTMqJc9f.js} +1 -1
- package/dist/client/assets/{icon-button-7F5Toil2.js → icon-button-CmGsKWR5.js} +1 -1
- package/dist/client/assets/{index-CYGV5ggz.js → index-6y1Sf6ES.js} +1 -1
- package/dist/client/assets/{index-MrGr5MGL.js → index-8bVudnk7.js} +1 -1
- package/dist/client/assets/{index-BZ3kN-UW.js → index-BDRbBnqE.js} +1 -1
- package/dist/client/assets/{index-CRYNJjMc.js → index-BdqusYnn.js} +1 -1
- package/dist/client/assets/{index-B0ZOlWzX.js → index-BqRVXKOo.js} +1 -1
- package/dist/client/assets/{index-xD4K2nG7.js → index-C2bPHVSX.js} +1 -1
- package/dist/client/assets/{index-CblLVDuN.js → index-CvmAn50Q.js} +1 -1
- package/dist/client/assets/{index-DrxFcbdt.js → index-DEf6PGup.js} +1 -1
- package/dist/client/assets/{index-BEqT-aNW.js → index-DVz4glXO.js} +1 -1
- package/dist/client/assets/{index-DiKBQ93t.js → index-DXiTALSr.js} +1 -1
- package/dist/client/assets/{index-CfHLnaAs.js → index-IJ0i3_Bq.js} +1 -1
- package/dist/client/assets/{index-DxIuEmxM.js → index-SlwW1O22.js} +1 -1
- package/dist/client/assets/{index-B1T14RYF.js → index-dHHL3Zav.js} +1 -1
- package/dist/client/assets/{index-DJCD1T3p.js → index-q-618IQ-.js} +5 -5
- package/dist/client/assets/{index-4NUDq9UX.js → index-qMO1DbDN.js} +1 -1
- package/dist/client/assets/{index-redirect-BSxSh5S-.js → index-redirect-DHg2Wh6I.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-5dM4o4Hf.js → infiniteQueryObserver-BxhHPCd6.js} +1 -1
- package/dist/client/assets/{infra-billing-BW0f21OW.js → infra-billing-D46exrRI.js} +1 -1
- package/dist/client/assets/{input-2QjNp7qX.js → input-BAfAmphP.js} +1 -1
- package/dist/client/assets/{input-Di5PUIe8.js → input-BCOWi0dj.js} +3 -3
- package/dist/client/assets/{integration-icon-CMGBZM9F.js → integration-icon-Etc4pEBG.js} +1 -1
- package/dist/client/assets/{jira-icon-DZrAPkCR.js → jira-icon-Dq_9ZKBF.js} +1 -1
- package/dist/client/assets/{label-CBlQ82Fk.js → label-BYq7iTEq.js} +1 -1
- package/dist/client/assets/{layout-jno9iSY1.js → layout-B-gUqpwn.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-C-JHuDVd.js → legacy-agents-deep-BXEfwbcO.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-BjKbMolf.js → legacy-main-redirect-wl2gQaaJ.js} +1 -1
- package/dist/client/assets/library-B0c3-Omq.js +1 -0
- package/dist/client/assets/{login-DrbMDqlp.js → login-BpxtJGt9.js} +1 -1
- package/dist/client/assets/{markdown-BU6g98sq.js → markdown-QKXgHF9A.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-B6MBkXrw.js → mcp-app-renderer-Cj3lXdns.js} +1 -1
- package/dist/client/assets/{mcp-oauth-CFQzR34b.js → mcp-oauth-DLAsSQZT.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DHXkg8Ce.js → mcp-oauth-DLUSwNvb.js} +1 -1
- package/dist/client/assets/{members-D1907SI-.js → members-D8Jt2YCt.js} +1 -1
- package/dist/client/assets/{memory-CaQIwNtK.js → memory-CdGwc3Jm.js} +1 -1
- package/dist/client/assets/{mini-report-page-5Lry2_1Y.js → mini-report-page-D0MzG6Lw.js} +1 -1
- package/dist/client/assets/{mock-board-Dfc7Zn2k.js → mock-board-D4mCZyM7.js} +3 -3
- package/dist/client/assets/{monaco-editor-D1yDvJd3.js → monaco-editor-Ck-_LV7G.js} +1 -1
- package/dist/client/assets/{monitoring-CvGmGp-w.js → monitoring-DZd5tupQ.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-C-A-doof.js → monitoring-stats-row-lenFv4lK.js} +1 -1
- package/dist/client/assets/{multi-select-BNUkLp8H.js → multi-select-DgItXuuD.js} +1 -1
- package/dist/client/assets/{mustache-CksHv2Dr.js → mustache-Cv4rYUlz.js} +1 -1
- package/dist/client/assets/{named-rule-uses-BBl065fe.js → named-rule-uses-CD6nIT9T.js} +1 -1
- package/dist/client/assets/{named-rule-view-BXK5sJ8X.js → named-rule-view-DNNA5f8j.js} +1 -1
- package/dist/client/assets/{new-project-dialog-CYkF5k4O.js → new-project-dialog-C-7bvRFw.js} +1 -1
- package/dist/client/assets/{oauth-callback-BPlDpCVw.js → oauth-callback-B34YZeGD.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-C-kNRGr2.js → oauth-callback-ai-provider-DDdZWy16.js} +1 -1
- package/dist/client/assets/{onboarding-81KXiaqI.js → onboarding-DySq8aiN.js} +1 -1
- package/dist/client/assets/{openai-conversation-Bi9e1sKc.js → openai-conversation-BktR2-O4.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-CVVwXn2X.js → optimistic-project-sidebar-views-B1Cqr4Oo.js} +1 -1
- package/dist/client/assets/{order-monitor-day-BVSLADXz.js → order-monitor-day-DWMNtj3h.js} +1 -1
- package/dist/client/assets/{organization-choice-DmteYBAc.js → organization-choice-BGlktHCU.js} +1 -1
- package/dist/client/assets/{orgs-BFPSbb2q.js → orgs-BqBzB2uK.js} +1 -1
- package/dist/client/assets/{page-seo-form-VA7wIeJU.js → page-seo-form-TsVrH-qQ.js} +1 -1
- package/dist/client/assets/{pair-Cjnol9_x.js → pair-dxV6ej0q.js} +1 -1
- package/dist/client/assets/{parse-sections-7Tm_vjpy.js → parse-sections-Do5UnsNt.js} +1 -1
- package/dist/client/assets/{plan-KARVWZDV.js → plan-CJ_SMMMJ.js} +1 -1
- package/dist/client/assets/{plan-ladder-C-o1aFSi.js → plan-ladder-B4h2BKGq.js} +1 -1
- package/dist/client/assets/{popover-BsX8gIsV.js → popover-C6au3PKl.js} +1 -1
- package/dist/client/assets/{post-calendar-B6fP7Sp3.js → post-calendar-B8zpuWko.js} +1 -1
- package/dist/client/assets/{post-editor-B530kxYZ.js → post-editor--_oa7-Gu.js} +1 -1
- package/dist/client/assets/{preview-content-IEhLMW40.js → preview-content-06JKPfni.js} +1 -1
- package/dist/client/assets/{preview-dialog-B8MUF8yg.js → preview-dialog-DHb11A8X.js} +1 -1
- package/dist/client/assets/{preview-panel-C3yGSsCn.js → preview-panel-BWkvRuKu.js} +1 -1
- package/dist/client/assets/preview-tab-DEHoNKX9.js +551 -0
- package/dist/client/assets/{product-picker-dialog-Duu5EFXJ.js → product-picker-dialog-eLnaDTe5.js} +1 -1
- package/dist/client/assets/{profile-SgKnnlOX.js → profile-DAulvU2z.js} +1 -1
- package/dist/client/assets/{project-app-view-69GUddZy.js → project-app-view-BVbqeA4W.js} +1 -1
- package/dist/client/assets/{project-apps-DxvrGikA.js → project-apps-411o8qLo.js} +1 -1
- package/dist/client/assets/{project-feed-Dkn186cj.js → project-feed-B9dkJKJr.js} +1 -1
- package/dist/client/assets/{project-icon-DozUqz8V.js → project-icon-C3Ox6Caa.js} +1 -1
- package/dist/client/assets/project-reports-98lKoGNz.js +1 -0
- package/dist/client/assets/project-tasks-CI7fz9Zv.js +1 -0
- package/dist/client/assets/{projects-BvtnS4il.js → projects-D1GqaIOa.js} +1 -1
- package/dist/client/assets/{projects-empty-state-Bd8sqs2o.js → projects-empty-state-C9Ik6rSd.js} +1 -1
- package/dist/client/assets/{prompts-CfiuzCI2.js → prompts-DyBUJdlu.js} +1 -1
- package/dist/client/assets/record-editor-CIgydw17.js +1 -0
- package/dist/client/assets/{redirect-editor-Cq58-dw7.js → redirect-editor-BHdXK0mw.js} +1 -1
- package/dist/client/assets/{releases-api-toiaosbq.js → releases-api-DrtmjXFf.js} +1 -1
- package/dist/client/assets/reports-B8rc0QMx.js +1 -0
- package/dist/client/assets/{reports-X-r24zwl.js → reports-CXTTxiAH.js} +1 -1
- package/dist/client/assets/{reports-onboarding-B1eQP37P.js → reports-onboarding-DHBp3ggN.js} +1 -1
- package/dist/client/assets/{reports-tab-BqceAQel.js → reports-tab-z4I8GWDf.js} +2 -2
- package/dist/client/assets/repositories-B6WldW36.js +1 -0
- package/dist/client/assets/{repositories-CkzQSY8F.js → repositories-Cy9cJgcq.js} +1 -1
- package/dist/client/assets/{repository-binding-CiDG0Cr0.js → repository-binding-C0A3g3ic.js} +1 -1
- package/dist/client/assets/{repository-import-picker-TlIvK00I.js → repository-import-picker-BVv_4ssq.js} +1 -1
- package/dist/client/assets/{repository-picker-BrjMgENb.js → repository-picker-CbquvVC4.js} +1 -1
- package/dist/client/assets/{require-capability-D5vaDJ6i.js → require-capability-BbJ_zgSQ.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CLsGddT6.js → required-auth-layout-aFnMpQjr.js} +1 -1
- package/dist/client/assets/{reset-password-BDTPUkZZ.js → reset-password-BptB3qlu.js} +1 -1
- package/dist/client/assets/{resizable-LNv9WlFU.js → resizable-De_LCGFM.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-DDEl8WpS.js → resolve-tab-icon-DbyMzKPR.js} +1 -1
- package/dist/client/assets/{review-settings-CR1udLwz.js → review-settings-DdjxqsNj.js} +1 -1
- package/dist/client/assets/roles-YWuESZ7D.js +1 -0
- package/dist/client/assets/{route-DiDqKVTg.js → route-BNtBEGPf.js} +1 -1
- package/dist/client/assets/route-BX1QTCGi.js +1 -0
- package/dist/client/assets/{route-CwE5K4wd.js → route-BdCXGQeQ.js} +1 -1
- package/dist/client/assets/{runnable-block-editor-D9HAcpIU.js → runnable-block-editor-ctOq1VIZ.js} +3 -3
- package/dist/client/assets/{sandbox-lifecycle-context-BKUYq7kP.js → sandbox-lifecycle-context-f2cAubPM.js} +1 -1
- package/dist/client/assets/{schema-BbiQjr1e.js → schema-B25S-GgM.js} +1 -1
- package/dist/client/assets/{schema-6JU3flf4.js → schema-C32lanR6.js} +1 -1
- package/dist/client/assets/{scroll-area-CCVLtkoB.js → scroll-area-CXwhuGwJ.js} +1 -1
- package/dist/client/assets/{search-input-43leKkGn.js → search-input-BvAvpDoX.js} +1 -1
- package/dist/client/assets/{search-toggle-Ds25LhLA.js → search-toggle-PtT_W_SW.js} +1 -1
- package/dist/client/assets/{secret-ciphertext-BrIiDgyd.js → secret-ciphertext-CNTEN9F7.js} +1 -1
- package/dist/client/assets/{secret-picker-aJPnp_F5.js → secret-picker-CdSEx4gG.js} +1 -1
- package/dist/client/assets/{secrets-CfWgVKjc.js → secrets-A7z68vj3.js} +1 -1
- package/dist/client/assets/{sections-Dvgo02ra.js → sections-ZYU9dCBO.js} +1 -1
- package/dist/client/assets/{sections-editor-BSfFPyUU.js → sections-editor-BIWCjEN3.js} +1 -1
- package/dist/client/assets/{select-CHmq3OGd.js → select-Krip_YcH.js} +1 -1
- package/dist/client/assets/{select-model-CvpLn49w.js → select-model-CQ8IaTVI.js} +1 -1
- package/dist/client/assets/{seo-editor-BQ3pdKQv.js → seo-editor-BlWlYV77.js} +1 -1
- package/dist/client/assets/{separator-vkFvxZ8m.js → separator-__N3AJ1s.js} +1 -1
- package/dist/client/assets/settings-tab-BrLSePO_.js +1 -0
- package/dist/client/assets/{sheet-C_qetF7d.js → sheet-B77hAbHG.js} +1 -1
- package/dist/client/assets/{shell-layout-Bb-Bk8Da.js → shell-layout-Bk5zjsiR.js} +1 -1
- package/dist/client/assets/{site-draft-actions-GBt56z1o.js → site-draft-actions-dFxJSGuI.js} +1 -1
- package/dist/client/assets/site-draft-view-BLdO4Cur.js +2 -0
- package/dist/client/assets/site-editor-SoxoEuqd.js +1 -0
- package/dist/client/assets/{site-editor-toast-Dvaha1qd.js → site-editor-toast-x2o25PRm.js} +1 -1
- package/dist/client/assets/{skills-CNP2yKUA.js → skills-CusI0mca.js} +1 -1
- package/dist/client/assets/{slider-Dt2pZuy0.js → slider-DQgWIvSM.js} +1 -1
- package/dist/client/assets/{sortable.esm-Dgy_5_Gq.js → sortable.esm-DC3R5oj8.js} +1 -1
- package/dist/client/assets/{sso-BwMXXLZ-.js → sso-C_Z9cuaX.js} +1 -1
- package/dist/client/assets/{suggestion-DUWht7S9.js → suggestion-Dk6VaiUy.js} +1 -1
- package/dist/client/assets/{switch-BKqScyl8.js → switch-CHl68DVL.js} +1 -1
- package/dist/client/assets/{symbol-Bw5pneOj.js → symbol-XOtEOrCL.js} +1 -1
- package/dist/client/assets/{synced-repos-DhRHDr6D.js → synced-repos-C6zBMFU3.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-ALHCeulj.js → tab-icon-glyph-D5slU1rC.js} +1 -1
- package/dist/client/assets/{table-DSiO4Kq6.js → table-D3cFFE4t.js} +1 -1
- package/dist/client/assets/{tabs-BcHqdI-j.js → tabs-C2JmAUZB.js} +1 -1
- package/dist/client/assets/{task-assignee-avatar-CwyY8xOb.js → task-assignee-avatar-I4RHFl4r.js} +1 -1
- package/dist/client/assets/{task-board-ICmHlMKj.js → task-board-D4Nw_s8-.js} +1 -1
- package/dist/client/assets/{task-route-SvQTR3TJ.js → task-route-CKBAWEoL.js} +1 -1
- package/dist/client/assets/{task-status-Dk0B9E0G.js → task-status-k0tSKBnY.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-vr9mjCEM.js → taskboard-analytics-BHESe3UM.js} +1 -1
- package/dist/client/assets/tasks-B8afabsQ.js +1 -0
- package/dist/client/assets/{tasks-DUtkLCHD.js → tasks-DsF_igJL.js} +1 -1
- package/dist/client/assets/{textarea-CTbC00Fo.js → textarea-CHun69Fm.js} +1 -1
- package/dist/client/assets/{thread-analytics-CYtiXz-Q.js → thread-analytics-gZ_8g-EI.js} +1 -1
- package/dist/client/assets/{thread-intent-DcKV1aEK.js → thread-intent-c_70Hol6.js} +1 -1
- package/dist/client/assets/{thread-route-DlbP9X8e.js → thread-route-D2eectVN.js} +1 -1
- package/dist/client/assets/{thread-route-D05ck8nv.js → thread-route-RbgOHi54.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-DXSUCFvU.js → thread-sheet-body-DrHlHlId.js} +1 -1
- package/dist/client/assets/{time-range-picker-cljXExVl.js → time-range-picker-CcaY-BqG.js} +1 -1
- package/dist/client/assets/{toggle-group-cK7x-LaG.js → toggle-group-D7gKDBgo.js} +1 -1
- package/dist/client/assets/{tool-namespace-CFMdc33T.js → tool-namespace-B9K08vIi.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-AJC8O64v.js → toolbar-icon-button-BjvueZkG.js} +1 -1
- package/dist/client/assets/{tooltip-oRr5C_aw.js → tooltip-CDMB2U3c.js} +1 -1
- package/dist/client/assets/{tooltipContext-DBLuHkF3.js → tooltipContext-Rp5AgmYK.js} +1 -1
- package/dist/client/assets/{track-D3xYnfew.js → track-BZwcQJ9f.js} +1 -1
- package/dist/client/assets/{types-BnGn2ply.js → types-BnCWAkPU.js} +1 -1
- package/dist/client/assets/{url-slug-CiQKnf5R.js → url-slug-BM2dtTs_.js} +1 -1
- package/dist/client/assets/{usage-stats-BFNP5B9b.js → usage-stats-D6hkaKnz.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DB7Q0SBY.js → use-ai-providers-kjmCQIF8.js} +1 -1
- package/dist/client/assets/{use-apply-named-rule-DW6Wbxy3.js → use-apply-named-rule-O_s41mZX.js} +1 -1
- package/dist/client/assets/{use-automations-BXbY6ysU.js → use-automations-B-OfkKhy.js} +1 -1
- package/dist/client/assets/{use-autosave-BB3cf8aT.js → use-autosave-i-hbQ7zh.js} +1 -1
- package/dist/client/assets/{use-chat-layout-state-KA32sUXt.js → use-chat-layout-state-D3dQifRA.js} +1 -1
- package/dist/client/assets/{use-clock-tick-CmSlUOB2.js → use-clock-tick-CYRwHcOP.js} +1 -1
- package/dist/client/assets/{use-connect-companion-Dzb46un3.js → use-connect-companion-7hf1GqJL.js} +1 -1
- package/dist/client/assets/{use-connection-PJ_l98GU.js → use-connection-B6jt9ZtX.js} +1 -1
- package/dist/client/assets/{use-content-sync-9tvG-lut.js → use-content-sync-BZIxiJbA.js} +1 -1
- package/dist/client/assets/{use-copy-D4R9cJ_t.js → use-copy-0Bo2EjeH.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-cYnUmw5j.js → use-create-virtual-mcp-DE5IoEeB.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-BgdR-wYC.js → use-date-fns-locale-DFriUkVE.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-CL6P-Lri.js → use-debounced-autosave-CVAuV3Go.js} +1 -1
- package/dist/client/assets/{use-debounced-value-BdOjhsVi.js → use-debounced-value-BC-umw0u.js} +1 -1
- package/dist/client/assets/{use-deco-credits-DHNd5iXt.js → use-deco-credits-CW8U1zhz.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CDLwP1Su.js → use-decopilot-events-D6QOvaPg.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CkSINryc.js → use-delete-connection-CjQOlFH6.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-BZATCf2q.js → use-deployment-admin-DoXzo53F.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-CGwz_fku.js → use-fast-preview-draft-url-6Fk4iZHx.js} +1 -1
- package/dist/client/assets/{use-file-configs-nRV9S9D0.js → use-file-configs-xW5CmWH8.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-CMEIMGZ6.js → use-inbox-feed-Bp0ORJQm.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CNz9_Nor.js → use-infinite-scroll-C7iujdXv.js} +1 -1
- package/dist/client/assets/{use-join-requests-oCznfTNy.js → use-join-requests-iA4ohlH6.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-BKmILeUa.js → use-main-panel-tabs-FHHySOWP.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-BlkUCjXO.js → use-mcp-auth-status-CT2aMdu8.js} +1 -1
- package/dist/client/assets/{use-mcp-client-DKIfKwpJ.js → use-mcp-client-D_XhrMKB.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-MhXPkujh.js → use-mcp-prompts-DGRKWbH1.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CTl2xkGk.js → use-mcp-tools-CQtzcVcJ.js} +1 -1
- package/dist/client/assets/{use-members-BiXVclqd.js → use-members-BQDwvEcY.js} +1 -1
- package/dist/client/assets/{use-mobile-CCkX9zL-.js → use-mobile-60icaV9O.js} +1 -1
- package/dist/client/assets/{use-move-blocks-C6LWTkiD.js → use-move-blocks-dSB4cF-o.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CEb5-IwU.js → use-navigate-to-agent-CrdmIeWG.js} +1 -1
- package/dist/client/assets/{use-open-billing-url-D-NQ16Mb.js → use-open-billing-url-FMYdcOAg.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-xXOFDOL1.js → use-org-auth-client-B0mhbcn1.js} +1 -1
- package/dist/client/assets/{use-org-fs-DRaVeNa6.js → use-org-fs-BI5EkFW5.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-LHzk4Keo.js → use-org-repo-syncs-CrMnx8ds.js} +1 -1
- package/dist/client/assets/{use-org-sso-Bx0Susbk.js → use-org-sso-BfTdIXeQ.js} +1 -1
- package/dist/client/assets/{use-organization-roles-CbO1bQ_O.js → use-organization-roles-K9hfseDL.js} +1 -1
- package/dist/client/assets/{use-organization-settings-Bf2WDJz9.js → use-organization-settings-B89O37Zo.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-CYYYdsdC.js → use-panel-navigate-Dk9O7v3V.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-B2rH_d27.js → use-project-native-view-presence-DSxdwR_K.js} +1 -1
- package/dist/client/assets/{use-project-scope-C66L_LKx.js → use-project-scope-DhFriM2O.js} +1 -1
- package/dist/client/assets/{use-recent-apps-DaFNVa3y.js → use-recent-apps-CtmPlnH5.js} +1 -1
- package/dist/client/assets/{use-releases-DwpIDRIp.js → use-releases-B53xPFCZ.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-DnLCgooz.js → use-reports-diagnostic-DkoqzAqJ.js} +1 -1
- package/dist/client/assets/{use-sandbox-events-CioHBl5Q.js → use-sandbox-events-CClTu039.js} +1 -1
- package/dist/client/assets/{use-secrets-BrDaOgAh.js → use-secrets-Dp3EZ-32.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-DxyD_MVI.js → use-section-preview-base-jc6NIC2s.js} +1 -1
- package/dist/client/assets/{use-session-runtime-DgSb1tZ1.js → use-session-runtime-Uk5CLXJw.js} +1 -1
- package/dist/client/assets/{use-sidebar-collapsed-Lbn9i3wJ.js → use-sidebar-collapsed-Dp50DVIA.js} +1 -1
- package/dist/client/assets/{use-tags-DxXXXYXQ.js → use-tags-0MkABi9W.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-B_lpE6sk.js → use-task-board-analytics-CQ0ct8Qs.js} +1 -1
- package/dist/client/assets/{use-task-board-events-Ciu9fgM5.js → use-task-board-events-CImsNTAg.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-BXiZI60U.js → use-task-board-item-prs-BCIts_7I.js} +1 -1
- package/dist/client/assets/{use-task-metadata-DXSFycil.js → use-task-metadata-Mhw6b7vU.js} +1 -1
- package/dist/client/assets/{use-thread-analytics-BBBfMO-x.js → use-thread-analytics-Cy9BBC3-.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-Be0M4DCF.js → use-thread-outputs-BA_xcVxX.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-bzHYf-E2.js +1 -0
- package/dist/client/assets/{useQueries-CjLpsE8j.js → useQueries-Do7etGHx.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CzPa8eFg.js +1 -0
- package/dist/client/assets/{users-DhWYm0Ur.js → users-C8yi0-T5.js} +1 -1
- package/dist/client/assets/{utils-BlqF72Vj.js → utils-C46I50E5.js} +1 -1
- package/dist/client/assets/{variant-calendar-Z__DuHea.js → variant-calendar-CWGAaAhj.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-BcEAaLIA.js → variant-matcher-override-CUQbYeZI.js} +1 -1
- package/dist/client/assets/virtual-mcp-XnXLGU30.js +1 -0
- package/dist/client/assets/{watch-sse-pool-9GQSHr-W.js → watch-sse-pool-CtzlXHKJ.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/server.js +741 -741
- package/package.json +1 -1
- package/dist/client/assets/agent-analytics-CwuUduKr.js +0 -1
- package/dist/client/assets/agent-app-Dd83t7Jr.js +0 -1
- package/dist/client/assets/agent-calendar-DAFHiZ7t.js +0 -1
- package/dist/client/assets/agent-deck-19EIpeOv.js +0 -1
- package/dist/client/assets/agent-experiments-CDIR-vBl.js +0 -1
- package/dist/client/assets/agent-file-Crkwe1n0.js +0 -1
- package/dist/client/assets/agent-library-6vXi0pmB.js +0 -1
- package/dist/client/assets/agent-library-file-D_31XTpy.js +0 -1
- package/dist/client/assets/agent-monitor-DZGhzZ5b.js +0 -1
- package/dist/client/assets/agent-settings-BJW57Xya.js +0 -1
- package/dist/client/assets/agent-site-editor-code-Dp5l17ta.js +0 -2
- package/dist/client/assets/agent-site-editor-content-BIwmC0as.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-DJt8FppE.js +0 -1
- package/dist/client/assets/agent-view-DuXo8UyN.js +0 -1
- package/dist/client/assets/api-keys-YdF23sAO.js +0 -1
- package/dist/client/assets/app-preview-url-DmK5uokM.js +0 -1
- package/dist/client/assets/cms-settings-editor-VrhsAjtC.js +0 -1
- package/dist/client/assets/library-DC_yyIum.js +0 -1
- package/dist/client/assets/preview-tab-DZ2jzEbi.js +0 -551
- package/dist/client/assets/project-reports-6uzfgJoN.js +0 -1
- package/dist/client/assets/project-tasks-BLcB7Cwc.js +0 -1
- package/dist/client/assets/record-editor-DD-1yqpv.js +0 -1
- package/dist/client/assets/reports-VJqlTUDX.js +0 -1
- package/dist/client/assets/repositories-DRGtDHym.js +0 -1
- package/dist/client/assets/roles-DIBxviRh.js +0 -1
- package/dist/client/assets/route-CMp29IPi.js +0 -1
- package/dist/client/assets/settings-tab-B_bx6QgP.js +0 -1
- package/dist/client/assets/site-draft-view-CZq-6QXP.js +0 -2
- package/dist/client/assets/site-editor-Dw86EYnX.js +0 -1
- package/dist/client/assets/tasks-DzLAZqT6.js +0 -1
- package/dist/client/assets/useInfiniteQuery-C9OOM3iT.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DC4aZJSW.js +0 -1
- package/dist/client/assets/virtual-mcp-DQmDpfRM.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-DrbMDqlp.js","assets/auth-entry-BytQWBJH.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-BLy72f6M.js","assets/cli-auth-success-PhyGH5OW.js","assets/oauth-callback-BPlDpCVw.js","assets/mcp-oauth-DHXkg8Ce.js","assets/auth-MbbNpK0f.js","assets/layout-jno9iSY1.js","assets/required-auth-layout-CLsGddT6.js","assets/use-deployment-admin-BZATCf2q.js","assets/users-DhWYm0Ur.js","assets/collection-table-wrapper-Dgqpnsq8.js","assets/table-DSiO4Kq6.js","assets/ArrowUp-bm_9Fp5i.js","assets/empty-state-vh9cmtA2.js","assets/search-input-43leKkGn.js","assets/SearchMd-OCyidoZI.js","assets/avatar-DarGMVT9.js","assets/User01-2Hx1yZRb.js","assets/badge-7nY_ai7T.js","assets/use-debounced-value-BdOjhsVi.js","assets/admin-fetch-BhTJlAsX.js","assets/format-time-Cq80KKvY.js","assets/differenceInSeconds-C3x8sHUj.js","assets/orgs-BFPSbb2q.js","assets/label-CBlQ82Fk.js","assets/select-CHmq3OGd.js","assets/index-BdQq_4o_.js","assets/index-CRYNJjMc.js","assets/ChevronUp-ojSOtVX2.js","assets/switch-BKqScyl8.js","assets/textarea-CTbC00Fo.js","assets/schema-BbiQjr1e.js","assets/site-slug-DebpOoQq.js","assets/prompts-CfiuzCI2.js","assets/shell-layout-Bb-Bk8Da.js","assets/Building02-p3_mZ-E2.js","assets/UserSquare-UeuSXkL4.js","assets/agent-icon-2Sd6TPJR.js","assets/AlertCircle-DGVmeswV.js","assets/Tool01-CnZckhqi.js","assets/ArrowLeft-DDWHto_R.js","assets/LinkBroken01-ZF7OlrXq.js","assets/ShoppingBag01-DHyiQNjO.js","assets/ZoomOut-DnRMz8gp.js","assets/CheckCircle-Bx5iI6Lz.js","assets/ChevronSelectorVertical-CtVpNCaH.js","assets/Copy01-CixCoZek.js","assets/CreditCard01-D0K-VlXU.js","assets/DotsVertical-DzE0Ijkk.js","assets/Image01-Bks737AT.js","assets/Globe04-CE15ScrO.js","assets/SwitchHorizontal01-BKu4aB4V.js","assets/Key01-CxbATohw.js","assets/Link01-DCdDhO7H.js","assets/Minus-DqMKpYLh.js","assets/Monitor01-B-_Pl3qs.js","assets/Sun-BUl5hUgs.js","assets/Play-B6eaz3Uv.js","assets/Plus-B28tKNm1.js","assets/Trash01-C34kFeWG.js","assets/Upload01-sDXthFWJ.js","assets/Users01-D78JG135.js","assets/XClose-BbuvN9Qp.js","assets/use-project-scope-C66L_LKx.js","assets/repository-binding-CiDG0Cr0.js","assets/use-mcp-client-DKIfKwpJ.js","assets/use-panel-navigate-CYYYdsdC.js","assets/thread-route-D05ck8nv.js","assets/use-clock-tick-CmSlUOB2.js","assets/command-CPx9UwtG.js","assets/index-MrGr5MGL.js","assets/integration-icon-CMGBZM9F.js","assets/project-icon-DozUqz8V.js","assets/new-project-dialog-CYkF5k4O.js","assets/repository-import-picker-TlIvK00I.js","assets/use-navigate-to-agent-CEb5-IwU.js","assets/thread-intent-DcKV1aEK.js","assets/watch-sse-pool-9GQSHr-W.js","assets/task-board-ICmHlMKj.js","assets/slugify-CEUa2lfQ.js","assets/repository-picker-BrjMgENb.js","assets/tooltip-oRr5C_aw.js","assets/useInfiniteQuery-C9OOM3iT.js","assets/infiniteQueryObserver-5dM4o4Hf.js","assets/collection-search-DRo1WmLT.js","assets/use-organization-settings-Bf2WDJz9.js","assets/autosend-nr-hPbHj.js","assets/use-org-sso-Bx0Susbk.js","assets/shell-layout-CE2Eihra.css","assets/onboarding-81KXiaqI.js","assets/organization-choice-DmteYBAc.js","assets/reports-onboarding-B1eQP37P.js","assets/site-url-en5df9c-.js","assets/create-organization-dialog-C7cTp33N.js","assets/alert-dialog-C6IuYhIc.js","assets/form-CIAWZjuP.js","assets/companion-mcps-section-CLb76BIo.js","assets/use-connect-companion-Dzb46un3.js","assets/companions-core-DzyeM-yJ.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-ByTYKy_L.js","assets/icon-button-7F5Toil2.js","assets/provision-repo-scoped-github-connection-lckxpDHD.js","assets/useQueries-CjLpsE8j.js","assets/authenticate-and-persist-oauth-ChOS0TQ8.js","assets/mcp-oauth-CFQzR34b.js","assets/track-D3xYnfew.js","assets/extract-connection-data-C2lA8ZOm.js","assets/connection-GML1C2tu.js","assets/url-slug-CiQKnf5R.js","assets/self-tool-result-8OxPN9Nm.js","assets/site-error-Da6iapvu.js","assets/choose-editor-Co3gZPYu.js","assets/site-editor-Dw86EYnX.js","assets/chat-context-4LDKQ9-8.js","assets/use-decopilot-events-CDLwP1Su.js","assets/use-ai-providers-DB7Q0SBY.js","assets/location-V0VwTJTt.js","assets/index-CfHLnaAs.js","assets/use-mobile-CCkX9zL-.js","assets/use-sidebar-collapsed-Lbn9i3wJ.js","assets/use-chat-layout-state-KA32sUXt.js","assets/toolbar-icon-button-AJC8O64v.js","assets/sheet-C_qetF7d.js","assets/resizable-LNv9WlFU.js","assets/index-DxIuEmxM.js","assets/core.esm-CumN7OYl.js","assets/sortable.esm-Dgy_5_Gq.js","assets/context-menu-BPat3chT.js","assets/project-apps-DxvrGikA.js","assets/use-recent-apps-DaFNVa3y.js","assets/blocks-preview-workspace-context-CPEN608S.js","assets/site-editor-toast-Dvaha1qd.js","assets/use-session-runtime-DgSb1tZ1.js","assets/experiments-tab-choice-p3E1pILX.js","assets/sandbox-url-D3mC8qhT.js","assets/utils-BlqF72Vj.js","assets/use-sandbox-events-CioHBl5Q.js","assets/sandbox-git-api-CH_-QFpD.js","assets/preview-tab-DZ2jzEbi.js","assets/runnable-block-editor-D9HAcpIU.js","assets/sandbox-start-errors-BK_aDCyt.js","assets/pair-Cjnol9_x.js","assets/collapsible-DGVOZrNj.js","assets/use-copy-D4R9cJ_t.js","assets/usage-stats-BFNP5B9b.js","assets/tool-namespace-CFMdc33T.js","assets/utils-CVEq3hMx.js","assets/markdown-BU6g98sq.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-B6MBkXrw.js","assets/types-BnGn2ply.js","assets/omit-sandbox-map-jj4lCB2U.js","assets/use-connection-PJ_l98GU.js","assets/use-mcp-prompts-MhXPkujh.js","assets/use-thread-outputs-Be0M4DCF.js","assets/file-type-icon-Ixvc6_bA.js","assets/secret-ciphertext-BrIiDgyd.js","assets/alert-B6jt7ehz.js","assets/parse-sections-7Tm_vjpy.js","assets/popover-BsX8gIsV.js","assets/blocks-tab-states-DEKXC5rW.js","assets/slider-Dt2pZuy0.js","assets/index-BZ3kN-UW.js","assets/tooltipContext-DBLuHkF3.js","assets/CategoricalChart-Dy74bBD9.js","assets/index-xD4K2nG7.js","assets/ActiveShapeUtils-NiXAWNnI.js","assets/Sector-CtNXSnWN.js","assets/symbol-Bw5pneOj.js","assets/scroll-area-CCVLtkoB.js","assets/monaco-editor-D1yDvJd3.js","assets/editor-CmZJbc4Z.js","assets/calendar-D8eqk8F_.js","assets/editor-classes-DYddjmhz.js","assets/toggle-group-cK7x-LaG.js","assets/active-indicator-CCMhAsc_.js","assets/combobox-DZgmK343.js","assets/tabs-BcHqdI-j.js","assets/use-file-configs-nRV9S9D0.js","assets/asset-utils-BaoKrfcS.js","assets/match-site-slug-config-D3fUJ6vX.js","assets/sandbox-lifecycle-context-BKUYq7kP.js","assets/variant-matcher-override-BcEAaLIA.js","assets/variant-draft-pointer-BeAKcq_c.js","assets/section-preview-url-7zfngvgW.js","assets/use-fast-preview-draft-url-CGwz_fku.js","assets/preview-link-C762yHOt.js","assets/device-hint-SeLRi17j.js","assets/virtual-mcp-DQmDpfRM.js","assets/app-preview-url-DmK5uokM.js","assets/preview-source-BsRLGWUP.js","assets/use-task-metadata-DXSFycil.js","assets/content-tab-DgdEt3c6.js","assets/mustache-CksHv2Dr.js","assets/use-content-sync-9tvG-lut.js","assets/checkbox--QGg9JL6.js","assets/date-utils-CrvIKg-s.js","assets/use-move-blocks-C6LWTkiD.js","assets/empty-state-DBHadTD8.js","assets/tab-icon-glyph-ALHCeulj.js","assets/resolve-tab-icon-DDEl8WpS.js","assets/agent-site-editor-FH5rkph4.js","assets/site-draft-actions-GBt56z1o.js","assets/separator-vkFvxZ8m.js","assets/use-releases-DwpIDRIp.js","assets/serial-task-queue-CGOeQgpr.js","assets/use-members-BiXVclqd.js","assets/use-org-auth-client-xXOFDOL1.js","assets/index-BEqT-aNW.js","assets/drawer-Bp7WNOCz.js","assets/input-Di5PUIe8.js","assets/chat-draft-DtnFj70R.js","assets/use-deco-credits-DHNd5iXt.js","assets/use-open-billing-url-D-NQ16Mb.js","assets/index-4NUDq9UX.js","assets/ai-providers-logos-DD3qZ33J.js","assets/input-2QjNp7qX.js","assets/suggestion-DUWht7S9.js","assets/use-org-fs-DRaVeNa6.js","assets/question-004-sINsf4GQ.js","assets/feature-paywall-CRRIPYfS.js","assets/plan-ladder-C-o1aFSi.js","assets/add-connection-dialog-3BCYyOlq.js","assets/connection-card-ZvVd_UVc.js","assets/connection-slug-CITJ0kGN.js","assets/schema-6JU3flf4.js","assets/connection-form-helpers-CGyT85pi.js","assets/collection-tabs-Dc2dImyc.js","assets/use-infinite-scroll-CNz9_Nor.js","assets/useSuspenseInfiniteQuery-DC4aZJSW.js","assets/use-task-board-events-Ciu9fgM5.js","assets/input-Bwd_JSM8.css","assets/named-rule-uses-BBl065fe.js","assets/releases-api-toiaosbq.js","assets/save-changes-debug-nBi-n9eV.js","assets/agent-site-editor-DDGTF8rc.css","assets/reports-X-r24zwl.js","assets/reports-Dl0n8WK0.css","assets/route-DiDqKVTg.js","assets/use-join-requests-oCznfTNy.js","assets/use-organization-roles-CbO1bQ_O.js","assets/use-inbox-feed-CMEIMGZ6.js","assets/task-key-BCHdFiOO.js","assets/daily-pulse-DIdfLtIG.js","assets/config-CxVvKo3A.js","assets/use-thread-analytics-BBBfMO-x.js","assets/project-profile-Cc4MG3QN.js","assets/use-project-native-view-presence-B2rH_d27.js","assets/optimistic-project-sidebar-views-CVVwXn2X.js","assets/task-route-SvQTR3TJ.js","assets/thread-route-DlbP9X8e.js","assets/use-reports-diagnostic-DnLCgooz.js","assets/connect-layout-BksXTmdN.js","assets/route-CwE5K4wd.js","assets/task-status-Dk0B9E0G.js","assets/use-main-panel-tabs-BKmILeUa.js","assets/use-mcp-tools-CTl2xkGk.js","assets/legacy-main-redirect-BjKbMolf.js","assets/preview-dialog-B8MUF8yg.js","assets/preview-content-IEhLMW40.js","assets/file-share-button-BmWv4msr.js","assets/file-preview-CsDpTAv6.js","assets/home-B9bSA6tC.js","assets/project-feed-Dkn186cj.js","assets/client-icons-C_ct3pd0.js","assets/chart-BVOKVwol.js","assets/ReferenceLine-C5aqWs1r.js","assets/CartesianChart-oH_IqMjj.js","assets/BarChart-DmTON82J.js","assets/ErrorBarContext-DRS3e7xk.js","assets/task-assignee-avatar-CwyY8xOb.js","assets/projects-empty-state-Bd8sqs2o.js","assets/agent-overview-jQR56ImR.js","assets/mini-report-page-5Lry2_1Y.js","assets/project-tasks-BLcB7Cwc.js","assets/mock-board-Dfc7Zn2k.js","assets/use-task-board-analytics-B_lpE6sk.js","assets/column-rules-DiqfCnEN.js","assets/use-automations-BXbY6ysU.js","assets/search-toggle-Ds25LhLA.js","assets/use-tags-DxXXXYXQ.js","assets/index-CYGV5ggz.js","assets/index-B1T14RYF.js","assets/use-task-board-item-prs-BXiZI60U.js","assets/thread-sheet-body-DXSUCFvU.js","assets/feature-gate-D8HHU_kV.js","assets/project-reports-6uzfgJoN.js","assets/reports-tab-BqceAQel.js","assets/agent-site-editor-preview-DJt8FppE.js","assets/agent-view-guard-BtSTYr3f.js","assets/agent-site-editor-content-BIwmC0as.js","assets/agent-site-editor-code-Dp5l17ta.js","assets/agent-automations-DELrtNmQ.js","assets/automation-list-row-CDTQ4wXs.js","assets/agent-automation-DSOT91yw.js","assets/select-model-CvpLn49w.js","assets/build-improve-prompt-doc-BNyp6j2d.js","assets/use-debounced-autosave-CL6P-Lri.js","assets/jira-icon-DZrAPkCR.js","assets/multi-select-BNUkLp8H.js","assets/automation-runs-uGIsi6Hf.js","assets/agent-settings-BJW57Xya.js","assets/settings-tab-B_bx6QgP.js","assets/index-DrxFcbdt.js","assets/use-date-fns-locale-BgdR-wYC.js","assets/use-mcp-auth-status-BlkUCjXO.js","assets/sections-Dvgo02ra.js","assets/secret-picker-aJPnp_F5.js","assets/use-secrets-BrDaOgAh.js","assets/agent-library-6vXi0pmB.js","assets/context-shell-BpD_TiZV.js","assets/use-org-repo-syncs-LHzk4Keo.js","assets/folder-icon-ByIjnQde.js","assets/require-capability-D5vaDJ6i.js","assets/access-gate-B-XccyUi.js","assets/capability-load-error-DK8yJwbi.js","assets/agent-assets-BX70IHOT.js","assets/agent-releases-1LcFLBWb.js","assets/agent-hosting-COv9KqxJ.js","assets/agent-e2e-DgDrdrOU.js","assets/agent-analytics-CwuUduKr.js","assets/analytics-tab-BptBREH9.js","assets/AreaChart-DL7RX4W6.js","assets/taskboard-analytics-vr9mjCEM.js","assets/time-range-picker-cljXExVl.js","assets/analytics-sections-CMbHJdjJ.js","assets/agent-experiments-CDIR-vBl.js","assets/experiments-tab-BaB_Zi0V.js","assets/named-rule-view-BXK5sJ8X.js","assets/use-apply-named-rule-DW6Wbxy3.js","assets/site-draft-view-CZq-6QXP.js","assets/agent-calendar-DAFHiZ7t.js","assets/campaigns-view-DwenRJ4m.js","assets/agent-monitor-DZGhzZ5b.js","assets/cdn-tab-DGngqFre.js","assets/order-monitor-day-BVSLADXz.js","assets/agent-app-Dd83t7Jr.js","assets/project-app-view-69GUddZy.js","assets/connect-source-dialog-DSaPW3-r.js","assets/agent-view-DuXo8UyN.js","assets/agent-file-Crkwe1n0.js","assets/agent-deck-19EIpeOv.js","assets/agent-library-file-D_31XTpy.js","assets/preview-panel-C3yGSsCn.js","assets/agent-connect-sources-EYRSBit6.js","assets/legacy-agents-deep-C-JHuDVd.js","assets/tasks-DzLAZqT6.js","assets/thread-analytics-CYtiXz-Q.js","assets/reports-VJqlTUDX.js","assets/library-DC_yyIum.js","assets/plan-KARVWZDV.js","assets/monitoring-CvGmGp-w.js","assets/discover-CG4C5Odc.js","assets/index-CblLVDuN.js","assets/route-CMp29IPi.js","assets/index-redirect-BSxSh5S-.js","assets/connections-D4x-lAFA.js","assets/collection-display-button-ClKK9pYP.js","assets/use-delete-connection-CkSINryc.js","assets/connection-detail-DtbzbTIM.js","assets/index-DiKBQ93t.js","assets/use-create-virtual-mcp-cYnUmw5j.js","assets/monitoring-stats-row-C-A-doof.js","assets/collection-detail-BAmfEJxU.js","assets/index-B0ZOlWzX.js","assets/general-DEusZ5JT.js","assets/review-settings-CR1udLwz.js","assets/domain-settings-DkAHUlQw.js","assets/connect-A3Avs8Pl.js","assets/api-keys-DNoVGHBL.js","assets/ai-providers-1_g2-YFO.js","assets/infra-billing-BW0f21OW.js","assets/secrets-CfWgVKjc.js","assets/api-keys-YdF23sAO.js","assets/buckets-Fnw-QnpR.js","assets/repositories-DRGtDHym.js","assets/repositories-CkzQSY8F.js","assets/synced-repos-DhRHDr6D.js","assets/tasks-DUtkLCHD.js","assets/projects-BvtnS4il.js","assets/members-D1907SI-.js","assets/role-color-Dn2tXDDF.js","assets/roles-DIBxviRh.js","assets/sso-BwMXXLZ-.js","assets/profile-SgKnnlOX.js","assets/agents-list-BciltAjT.js","assets/automations-CYPV9xM6.js","assets/skills-CNP2yKUA.js","assets/memory-CaQIwNtK.js"])))=>i.map(i=>d[i]);
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-BpxtJGt9.js","assets/auth-entry-BxpXYhRz.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-Fc-cVSGU.js","assets/cli-auth-success-iEdPT4UY.js","assets/oauth-callback-B34YZeGD.js","assets/mcp-oauth-DLUSwNvb.js","assets/auth-BlDoW38W.js","assets/layout-B-gUqpwn.js","assets/required-auth-layout-aFnMpQjr.js","assets/use-deployment-admin-DoXzo53F.js","assets/users-C8yi0-T5.js","assets/collection-table-wrapper-YMAxzRT1.js","assets/table-D3cFFE4t.js","assets/ArrowUp-DmTmdisJ.js","assets/empty-state-Bn_4dokb.js","assets/search-input-BvAvpDoX.js","assets/SearchMd-CipODP3M.js","assets/avatar-DSM67DGz.js","assets/User01-B_8hWFtQ.js","assets/badge-ZmtxdQUh.js","assets/use-debounced-value-BC-umw0u.js","assets/admin-fetch-BhTJlAsX.js","assets/format-time-Cq80KKvY.js","assets/differenceInSeconds-C3x8sHUj.js","assets/orgs-BqBzB2uK.js","assets/label-BYq7iTEq.js","assets/select-Krip_YcH.js","assets/index-BdQq_4o_.js","assets/index-BdqusYnn.js","assets/ChevronUp-TdPYqe3f.js","assets/switch-CHl68DVL.js","assets/textarea-CHun69Fm.js","assets/schema-B25S-GgM.js","assets/site-slug-DebpOoQq.js","assets/prompts-DyBUJdlu.js","assets/shell-layout-Bk5zjsiR.js","assets/Building02-B6-7Dcc4.js","assets/UserSquare-C-ypPx1C.js","assets/agent-icon-BA86cT1F.js","assets/AlertCircle-BA2QScAs.js","assets/Tool01-CZyq1C-m.js","assets/ArrowLeft-_xxDQTdX.js","assets/LinkBroken01-CHqvYaqa.js","assets/ShoppingBag01-C6zQQ-g_.js","assets/ZoomOut-HEpqy_Rp.js","assets/CheckCircle-DhEJCbmL.js","assets/ChevronSelectorVertical-jTXK7pCA.js","assets/Copy01-7T2u11TN.js","assets/CreditCard01-Bh4Xntzj.js","assets/DotsVertical-BSltXJxd.js","assets/Image01-Ck0HrQIi.js","assets/Globe04-ZetgXMJl.js","assets/SwitchHorizontal01-qZTU6RHM.js","assets/Key01-CiAU22Ss.js","assets/Link01-DByQNRHy.js","assets/Minus-oTJkI1L_.js","assets/Monitor01-CSVPDFy2.js","assets/Sun-fxjuDx85.js","assets/Play-BnvS6etf.js","assets/Plus-hR9qqg7F.js","assets/Trash01-kzymRLEh.js","assets/Upload01-aGlTSryk.js","assets/Users01-u8O34kVf.js","assets/XClose-Ct2xtw32.js","assets/use-project-scope-DhFriM2O.js","assets/repository-binding-C0A3g3ic.js","assets/use-mcp-client-D_XhrMKB.js","assets/use-panel-navigate-Dk9O7v3V.js","assets/thread-route-RbgOHi54.js","assets/use-clock-tick-CYRwHcOP.js","assets/command-BMeHNtVi.js","assets/index-8bVudnk7.js","assets/integration-icon-Etc4pEBG.js","assets/project-icon-C3Ox6Caa.js","assets/new-project-dialog-C-7bvRFw.js","assets/repository-import-picker-BVv_4ssq.js","assets/use-navigate-to-agent-CrdmIeWG.js","assets/thread-intent-c_70Hol6.js","assets/watch-sse-pool-CtzlXHKJ.js","assets/task-board-D4Nw_s8-.js","assets/slugify-CEUa2lfQ.js","assets/repository-picker-CbquvVC4.js","assets/tooltip-CDMB2U3c.js","assets/useInfiniteQuery-bzHYf-E2.js","assets/infiniteQueryObserver-BxhHPCd6.js","assets/collection-search-Cx9S1oXM.js","assets/use-organization-settings-B89O37Zo.js","assets/autosend-B6NLiS3O.js","assets/use-org-sso-BfTdIXeQ.js","assets/shell-layout-CE2Eihra.css","assets/onboarding-DySq8aiN.js","assets/organization-choice-BGlktHCU.js","assets/reports-onboarding-DHBp3ggN.js","assets/site-url-en5df9c-.js","assets/create-organization-dialog-DjXlvOd0.js","assets/alert-dialog-CoKTwgLR.js","assets/form-BNjCXF3D.js","assets/companion-mcps-section-BiitCmdB.js","assets/use-connect-companion-7hf1GqJL.js","assets/companions-core-DzyeM-yJ.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-ByTYKy_L.js","assets/icon-button-CmGsKWR5.js","assets/provision-repo-scoped-github-connection-lckxpDHD.js","assets/useQueries-Do7etGHx.js","assets/authenticate-and-persist-oauth-21zrOYvF.js","assets/mcp-oauth-DLAsSQZT.js","assets/track-BZwcQJ9f.js","assets/extract-connection-data-BSmELWAh.js","assets/connection-B2tV09M0.js","assets/url-slug-BM2dtTs_.js","assets/self-tool-result-8OxPN9Nm.js","assets/site-error-Da6iapvu.js","assets/choose-editor-UJ-gtxPM.js","assets/site-editor-SoxoEuqd.js","assets/chat-context-Dc5oH6pi.js","assets/use-decopilot-events-D6QOvaPg.js","assets/use-ai-providers-kjmCQIF8.js","assets/location-V0VwTJTt.js","assets/index-IJ0i3_Bq.js","assets/use-mobile-60icaV9O.js","assets/use-sidebar-collapsed-Dp50DVIA.js","assets/use-chat-layout-state-D3dQifRA.js","assets/toolbar-icon-button-BjvueZkG.js","assets/sheet-B77hAbHG.js","assets/resizable-De_LCGFM.js","assets/index-SlwW1O22.js","assets/core.esm-CNaSMIsh.js","assets/sortable.esm-DC3R5oj8.js","assets/context-menu-C3zBSIII.js","assets/project-apps-411o8qLo.js","assets/use-recent-apps-CtmPlnH5.js","assets/blocks-preview-workspace-context-BnKyZHKG.js","assets/site-editor-toast-x2o25PRm.js","assets/use-session-runtime-Uk5CLXJw.js","assets/experiments-tab-choice-CzMyCRWv.js","assets/sandbox-url-D3mC8qhT.js","assets/utils-C46I50E5.js","assets/use-sandbox-events-CClTu039.js","assets/sandbox-git-api-CH_-QFpD.js","assets/preview-tab-DEHoNKX9.js","assets/runnable-block-editor-ctOq1VIZ.js","assets/sandbox-start-errors-BK_aDCyt.js","assets/pair-dxV6ej0q.js","assets/collapsible-BUE85wJF.js","assets/use-copy-0Bo2EjeH.js","assets/usage-stats-D6hkaKnz.js","assets/tool-namespace-B9K08vIi.js","assets/utils-CVEq3hMx.js","assets/markdown-QKXgHF9A.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-Cj3lXdns.js","assets/types-BnCWAkPU.js","assets/omit-sandbox-map-jj4lCB2U.js","assets/use-connection-B6jt9ZtX.js","assets/use-mcp-prompts-DGRKWbH1.js","assets/use-thread-outputs-BA_xcVxX.js","assets/file-type-icon-BhPSNmF1.js","assets/secret-ciphertext-CNTEN9F7.js","assets/alert-DSxecoEb.js","assets/parse-sections-Do5UnsNt.js","assets/popover-C6au3PKl.js","assets/blocks-tab-states-FyWYETtF.js","assets/slider-DQgWIvSM.js","assets/index-BDRbBnqE.js","assets/tooltipContext-Rp5AgmYK.js","assets/CategoricalChart-BhrWWlP9.js","assets/index-C2bPHVSX.js","assets/ActiveShapeUtils-DFQm8e1Y.js","assets/Sector-TDWn4NBe.js","assets/symbol-XOtEOrCL.js","assets/scroll-area-CXwhuGwJ.js","assets/monaco-editor-Ck-_LV7G.js","assets/editor-DXW7e4iJ.js","assets/calendar-yCl419IQ.js","assets/editor-classes-BdNlvhC1.js","assets/toggle-group-D7gKDBgo.js","assets/active-indicator-CCMhAsc_.js","assets/combobox-DcCEsf4T.js","assets/tabs-C2JmAUZB.js","assets/use-file-configs-xW5CmWH8.js","assets/asset-utils-DpcfUfN3.js","assets/match-site-slug-config-D3fUJ6vX.js","assets/sandbox-lifecycle-context-f2cAubPM.js","assets/variant-matcher-override-CUQbYeZI.js","assets/variant-draft-pointer-BeAKcq_c.js","assets/section-preview-url-7zfngvgW.js","assets/use-fast-preview-draft-url-6Fk4iZHx.js","assets/preview-link-C762yHOt.js","assets/device-hint-SeLRi17j.js","assets/virtual-mcp-XnXLGU30.js","assets/app-preview-url-9Od4s8Sz.js","assets/preview-source-BsRLGWUP.js","assets/use-task-metadata-Mhw6b7vU.js","assets/content-tab-Dr4AuU0k.js","assets/mustache-Cv4rYUlz.js","assets/use-content-sync-BZIxiJbA.js","assets/checkbox-DbbYgeFA.js","assets/date-utils-CrvIKg-s.js","assets/use-move-blocks-dSB4cF-o.js","assets/empty-state-C-YNJpvC.js","assets/tab-icon-glyph-D5slU1rC.js","assets/resolve-tab-icon-DbyMzKPR.js","assets/agent-site-editor-BW85UVF0.js","assets/site-draft-actions-dFxJSGuI.js","assets/separator-__N3AJ1s.js","assets/use-releases-B53xPFCZ.js","assets/serial-task-queue-CGOeQgpr.js","assets/use-members-BQDwvEcY.js","assets/use-org-auth-client-B0mhbcn1.js","assets/index-DVz4glXO.js","assets/drawer-CEu4XYUC.js","assets/input-BCOWi0dj.js","assets/chat-draft-C9nL8Pk0.js","assets/use-deco-credits-CW8U1zhz.js","assets/use-open-billing-url-FMYdcOAg.js","assets/index-qMO1DbDN.js","assets/ai-providers-logos-DD3qZ33J.js","assets/input-BAfAmphP.js","assets/suggestion-Dk6VaiUy.js","assets/use-org-fs-BI5EkFW5.js","assets/question-004-sINsf4GQ.js","assets/feature-paywall-C0BZtk6d.js","assets/plan-ladder-B4h2BKGq.js","assets/add-connection-dialog-BReu9nVa.js","assets/connection-card-CHjef_mF.js","assets/connection-slug-CITJ0kGN.js","assets/schema-C32lanR6.js","assets/connection-form-helpers-Clo6EVG8.js","assets/collection-tabs-BnuQtSEJ.js","assets/use-infinite-scroll-C7iujdXv.js","assets/useSuspenseInfiniteQuery-CzPa8eFg.js","assets/use-task-board-events-CImsNTAg.js","assets/input-Bwd_JSM8.css","assets/named-rule-uses-CD6nIT9T.js","assets/releases-api-DrtmjXFf.js","assets/save-changes-debug-nBi-n9eV.js","assets/agent-site-editor-DDGTF8rc.css","assets/reports-CXTTxiAH.js","assets/reports-Dl0n8WK0.css","assets/route-BNtBEGPf.js","assets/use-join-requests-iA4ohlH6.js","assets/use-organization-roles-K9hfseDL.js","assets/use-inbox-feed-Bp0ORJQm.js","assets/task-key-BCHdFiOO.js","assets/daily-pulse-BEsurtoW.js","assets/config-D648BlRF.js","assets/use-thread-analytics-Cy9BBC3-.js","assets/project-profile-Cc4MG3QN.js","assets/use-project-native-view-presence-DSxdwR_K.js","assets/optimistic-project-sidebar-views-B1Cqr4Oo.js","assets/task-route-CKBAWEoL.js","assets/thread-route-D2eectVN.js","assets/use-reports-diagnostic-DkoqzAqJ.js","assets/connect-layout-CC4cWnyH.js","assets/route-BdCXGQeQ.js","assets/task-status-k0tSKBnY.js","assets/use-main-panel-tabs-FHHySOWP.js","assets/use-mcp-tools-CQtzcVcJ.js","assets/legacy-main-redirect-wl2gQaaJ.js","assets/preview-dialog-DHb11A8X.js","assets/preview-content-06JKPfni.js","assets/file-share-button-B_h1cOOn.js","assets/file-preview-B-P1RNv6.js","assets/home-BTMqJc9f.js","assets/project-feed-B9dkJKJr.js","assets/client-icons-DL--j1Qy.js","assets/chart-CPyUT0RR.js","assets/ReferenceLine-C1OFxgQn.js","assets/CartesianChart-C28Ew3_Y.js","assets/BarChart-CA5rp-M1.js","assets/ErrorBarContext-C8fMO8MO.js","assets/task-assignee-avatar-I4RHFl4r.js","assets/projects-empty-state-C9Ik6rSd.js","assets/agent-overview-DevZ1Jrh.js","assets/mini-report-page-D0MzG6Lw.js","assets/project-tasks-CI7fz9Zv.js","assets/mock-board-D4mCZyM7.js","assets/use-task-board-analytics-CQ0ct8Qs.js","assets/column-rules-DMBckJ6i.js","assets/use-automations-B-OfkKhy.js","assets/search-toggle-PtT_W_SW.js","assets/use-tags-0MkABi9W.js","assets/index-6y1Sf6ES.js","assets/index-dHHL3Zav.js","assets/use-task-board-item-prs-BCIts_7I.js","assets/thread-sheet-body-DrHlHlId.js","assets/feature-gate-Dbk02DlS.js","assets/project-reports-98lKoGNz.js","assets/reports-tab-z4I8GWDf.js","assets/agent-site-editor-preview-B0ciYMqr.js","assets/agent-view-guard-2TzKbzeA.js","assets/agent-site-editor-content-n5wHkwXf.js","assets/agent-site-editor-code-CZeHtQ74.js","assets/agent-automations-BL2C9TJL.js","assets/automation-list-row-T3iavNt4.js","assets/agent-automation-B-E62t6B.js","assets/select-model-CQ8IaTVI.js","assets/build-improve-prompt-doc-Fo2wVAPr.js","assets/use-debounced-autosave-CVAuV3Go.js","assets/jira-icon-Dq_9ZKBF.js","assets/multi-select-DgItXuuD.js","assets/automation-runs-NtetJ09w.js","assets/agent-settings-Pbf2Mc2F.js","assets/settings-tab-BrLSePO_.js","assets/index-DEf6PGup.js","assets/use-date-fns-locale-DFriUkVE.js","assets/use-mcp-auth-status-CT2aMdu8.js","assets/sections-ZYU9dCBO.js","assets/secret-picker-CdSEx4gG.js","assets/use-secrets-Dp3EZ-32.js","assets/agent-library-5o95T8yf.js","assets/context-shell-BvowvaCU.js","assets/use-org-repo-syncs-CrMnx8ds.js","assets/folder-icon-CveQvMDR.js","assets/require-capability-BbJ_zgSQ.js","assets/access-gate-DW2Edo-Q.js","assets/capability-load-error-8bv2L0sr.js","assets/agent-assets-D5cDJYp0.js","assets/agent-releases-BUHCKd6G.js","assets/agent-hosting-CcFwtsum.js","assets/agent-e2e-Bf8zroDu.js","assets/agent-analytics-B2ZbF2AM.js","assets/analytics-tab-BhckQtVJ.js","assets/AreaChart-ClrQt6jf.js","assets/taskboard-analytics-BHESe3UM.js","assets/time-range-picker-CcaY-BqG.js","assets/analytics-sections-C6zIWiEG.js","assets/agent-experiments-QiLJ_N-u.js","assets/experiments-tab-ITpv3Hb7.js","assets/named-rule-view-DNNA5f8j.js","assets/use-apply-named-rule-O_s41mZX.js","assets/site-draft-view-BLdO4Cur.js","assets/agent-calendar-CQld1sbX.js","assets/campaigns-view-C9kIpIu5.js","assets/agent-monitor-DJgUYxeE.js","assets/cdn-tab-wHu7QG-h.js","assets/order-monitor-day-DWMNtj3h.js","assets/agent-app-QifMzTD_.js","assets/project-app-view-BVbqeA4W.js","assets/connect-source-dialog-BiGD6DO5.js","assets/agent-view-BpG9TuQz.js","assets/agent-file-BY1HvP3E.js","assets/agent-deck-fozZKigY.js","assets/agent-library-file-idrkATAh.js","assets/preview-panel-BWkvRuKu.js","assets/agent-connect-sources-qn3tzZdI.js","assets/legacy-agents-deep-BXEfwbcO.js","assets/tasks-B8afabsQ.js","assets/thread-analytics-gZ_8g-EI.js","assets/reports-B8rc0QMx.js","assets/library-B0c3-Omq.js","assets/plan-CJ_SMMMJ.js","assets/monitoring-DZd5tupQ.js","assets/discover-CShJ8r_Z.js","assets/index-CvmAn50Q.js","assets/route-BX1QTCGi.js","assets/index-redirect-DHg2Wh6I.js","assets/connections-CBPCozbq.js","assets/collection-display-button-Bkr-LiZM.js","assets/use-delete-connection-CjQOlFH6.js","assets/connection-detail-DJhbdGg7.js","assets/index-DXiTALSr.js","assets/use-create-virtual-mcp-DE5IoEeB.js","assets/monitoring-stats-row-lenFv4lK.js","assets/collection-detail-DWaZ_g9N.js","assets/index-BqRVXKOo.js","assets/general-CCTHK69K.js","assets/review-settings-DdjxqsNj.js","assets/domain-settings-BoC_8zZq.js","assets/connect-CuE4jRCA.js","assets/api-keys-DkqXMpCO.js","assets/ai-providers-nhDcrO0Z.js","assets/infra-billing-D46exrRI.js","assets/secrets-A7z68vj3.js","assets/api-keys-DIDWd1pe.js","assets/buckets-CSV3bOI_.js","assets/repositories-B6WldW36.js","assets/repositories-Cy9cJgcq.js","assets/synced-repos-C6zBMFU3.js","assets/tasks-DsF_igJL.js","assets/projects-D1GqaIOa.js","assets/members-D8Jt2YCt.js","assets/role-color-Dn2tXDDF.js","assets/roles-YWuESZ7D.js","assets/sso-C_Z9cuaX.js","assets/profile-DAulvU2z.js","assets/agents-list-BwXuDqFm.js","assets/automations-B_NJD1pO.js","assets/skills-CusI0mca.js","assets/memory-CdGwc3Jm.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
function Yz(e,t){for(var o=0;o<t.length;o++){const a=t[o];if(typeof a!="string"&&!Array.isArray(a)){for(const n in a)if(n!=="default"&&!(n in e)){const i=Object.getOwnPropertyDescriptor(a,n);i&&Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>a[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"]'))a(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function o(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(n){if(n.ep)return;n.ep=!0;const i=o(n);fetch(n.href,i)}})();var Qfe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yS={exports:{}},Cu={};var T1;function Zz(){if(T1)return Cu;T1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function o(a,n,i){var l=null;if(i!==void 0&&(l=""+i),n.key!==void 0&&(l=""+n.key),"key"in n){i={};for(var c in n)c!=="key"&&(i[c]=n[c])}else i=n;return n=i.ref,{$$typeof:e,type:a,key:l,ref:n!==void 0?n:null,props:i}}return Cu.Fragment=t,Cu.jsx=o,Cu.jsxs=o,Cu}var k1;function Qz(){return k1||(k1=1,yS.exports=Zz()),yS.exports}var w=Qz(),SS={exports:{}},ct={};var _1;function Jz(){if(_1)return ct;_1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),f=Symbol.iterator;function v(N){return N===null||typeof N!="object"?null:(N=f&&N[f]||N["@@iterator"],typeof N=="function"?N:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,k={};function x(N,G,V){this.props=N,this.context=G,this.refs=k,this.updater=V||b}x.prototype.isReactComponent={},x.prototype.setState=function(N,G){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,G,"setState")},x.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function T(){}T.prototype=x.prototype;function P(N,G,V){this.props=N,this.context=G,this.refs=k,this.updater=V||b}var C=P.prototype=new T;C.constructor=P,S(C,x.prototype),C.isPureReactComponent=!0;var E=Array.isArray;function R(){}var D={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function L(N,G,V){var I=V.ref;return{$$typeof:e,type:N,key:G,ref:I!==void 0?I:null,props:V}}function $(N,G){return L(N.type,G,N.props)}function B(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function U(N){var G={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(V){return G[V]})}var F=/\/+/g;function W(N,G){return typeof N=="object"&&N!==null&&N.key!=null?U(""+N.key):G.toString(36)}function ae(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(R,R):(N.status="pending",N.then(function(G){N.status==="pending"&&(N.status="fulfilled",N.value=G)},function(G){N.status==="pending"&&(N.status="rejected",N.reason=G)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function H(N,G,V,I,z){var X=typeof N;(X==="undefined"||X==="boolean")&&(N=null);var pe=!1;if(N===null)pe=!0;else switch(X){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(N.$$typeof){case e:case t:pe=!0;break;case m:return pe=N._init,H(pe(N._payload),G,V,I,z)}}if(pe)return z=z(N),pe=I===""?"."+W(N,0):I,E(z)?(V="",pe!=null&&(V=pe.replace(F,"$&/")+"/"),H(z,G,V,"",function(qe){return qe})):z!=null&&(B(z)&&(z=$(z,V+(z.key==null||N&&N.key===z.key?"":(""+z.key).replace(F,"$&/")+"/")+pe)),G.push(z)),1;pe=0;var he=I===""?".":I+":";if(E(N))for(var ke=0;ke<N.length;ke++)I=N[ke],X=he+W(I,ke),pe+=H(I,G,V,X,z);else if(ke=v(N),typeof ke=="function")for(N=ke.call(N),ke=0;!(I=N.next()).done;)I=I.value,X=he+W(I,ke++),pe+=H(I,G,V,X,z);else if(X==="object"){if(typeof N.then=="function")return H(ae(N),G,V,I,z);throw G=String(N),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return pe}function K(N,G,V){if(N==null)return N;var I=[],z=0;return H(N,I,"","",function(X){return G.call(V,X,z++)}),I}function J(N){if(N._status===-1){var G=N._result;G=G(),G.then(function(V){(N._status===0||N._status===-1)&&(N._status=1,N._result=V)},function(V){(N._status===0||N._status===-1)&&(N._status=2,N._result=V)}),N._status===-1&&(N._status=0,N._result=G)}if(N._status===1)return N._result.default;throw N._result}var le=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},Q={map:K,forEach:function(N,G,V){K(N,function(){G.apply(this,arguments)},V)},count:function(N){var G=0;return K(N,function(){G++}),G},toArray:function(N){return K(N,function(G){return G})||[]},only:function(N){if(!B(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};return ct.Activity=h,ct.Children=Q,ct.Component=x,ct.Fragment=o,ct.Profiler=n,ct.PureComponent=P,ct.StrictMode=a,ct.Suspense=d,ct.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,ct.__COMPILER_RUNTIME={__proto__:null,c:function(N){return D.H.useMemoCache(N)}},ct.cache=function(N){return function(){return N.apply(null,arguments)}},ct.cacheSignal=function(){return null},ct.cloneElement=function(N,G,V){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var I=S({},N.props),z=N.key;if(G!=null)for(X in G.key!==void 0&&(z=""+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 pe=Array(X),he=0;he<X;he++)pe[he]=arguments[he+2];I.children=pe}return L(N.type,z,I)},ct.createContext=function(N){return N={$$typeof:l,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:i,_context:N},N},ct.createElement=function(N,G,V){var I,z={},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"&&(z[I]=G[I]);var pe=arguments.length-2;if(pe===1)z.children=V;else if(1<pe){for(var he=Array(pe),ke=0;ke<pe;ke++)he[ke]=arguments[ke+2];z.children=he}if(N&&N.defaultProps)for(I in pe=N.defaultProps,pe)z[I]===void 0&&(z[I]=pe[I]);return L(N,X,z)},ct.createRef=function(){return{current:null}},ct.forwardRef=function(N){return{$$typeof:c,render:N}},ct.isValidElement=B,ct.lazy=function(N){return{$$typeof:m,_payload:{_status:-1,_result:N},_init:J}},ct.memo=function(N,G){return{$$typeof:p,type:N,compare:G===void 0?null:G}},ct.startTransition=function(N){var G=D.T,V={};D.T=V;try{var I=N(),z=D.S;z!==null&&z(V,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(R,le)}catch(X){le(X)}finally{G!==null&&V.types!==null&&(G.types=V.types),D.T=G}},ct.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},ct.use=function(N){return D.H.use(N)},ct.useActionState=function(N,G,V){return D.H.useActionState(N,G,V)},ct.useCallback=function(N,G){return D.H.useCallback(N,G)},ct.useContext=function(N){return D.H.useContext(N)},ct.useDebugValue=function(){},ct.useDeferredValue=function(N,G){return D.H.useDeferredValue(N,G)},ct.useEffect=function(N,G){return D.H.useEffect(N,G)},ct.useEffectEvent=function(N){return D.H.useEffectEvent(N)},ct.useId=function(){return D.H.useId()},ct.useImperativeHandle=function(N,G,V){return D.H.useImperativeHandle(N,G,V)},ct.useInsertionEffect=function(N,G){return D.H.useInsertionEffect(N,G)},ct.useLayoutEffect=function(N,G){return D.H.useLayoutEffect(N,G)},ct.useMemo=function(N,G){return D.H.useMemo(N,G)},ct.useOptimistic=function(N,G){return D.H.useOptimistic(N,G)},ct.useReducer=function(N,G,V){return D.H.useReducer(N,G,V)},ct.useRef=function(N){return D.H.useRef(N)},ct.useState=function(N){return D.H.useState(N)},ct.useSyncExternalStore=function(N,G,V){return D.H.useSyncExternalStore(N,G,V)},ct.useTransition=function(){return D.H.useTransition()},ct.version="19.2.6",ct}var C1;function Is(){return C1||(C1=1,SS.exports=Jz()),SS.exports}var A=Is();const ee=Nl(A),TT=Yz({__proto__:null,default:ee},[A]);var wS={exports:{}},Eu={},xS={exports:{}},TS={};var E1;function Xz(){return E1||(E1=1,(function(e){function t(H,K){var J=H.length;H.push(K);e:for(;0<J;){var le=J-1>>>1,Q=H[le];if(0<n(Q,K))H[le]=K,H[J]=Q,J=le;else break e}}function o(H){return H.length===0?null:H[0]}function a(H){if(H.length===0)return null;var K=H[0],J=H.pop();if(J!==K){H[0]=J;e:for(var le=0,Q=H.length,N=Q>>>1;le<N;){var G=2*(le+1)-1,V=H[G],I=G+1,z=H[I];if(0>n(V,J))I<Q&&0>n(z,V)?(H[le]=z,H[I]=J,le=I):(H[le]=V,H[G]=J,le=G);else if(I<Q&&0>n(z,J))H[le]=z,H[I]=J,le=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 i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var d=[],p=[],m=1,h=null,f=3,v=!1,b=!1,S=!1,k=!1,x=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function C(H){for(var K=o(p);K!==null;){if(K.callback===null)a(p);else if(K.startTime<=H)a(p),K.sortIndex=K.expirationTime,t(d,K);else break;K=o(p)}}function E(H){if(S=!1,C(H),!b)if(o(d)!==null)b=!0,R||(R=!0,U());else{var K=o(p);K!==null&&ae(E,K.startTime-H)}}var R=!1,D=-1,O=5,L=-1;function $(){return k?!0:!(e.unstable_now()-L<O)}function B(){if(k=!1,R){var H=e.unstable_now();L=H;var K=!0;try{e:{b=!1,S&&(S=!1,T(D),D=-1),v=!0;var J=f;try{t:{for(C(H),h=o(d);h!==null&&!(h.expirationTime>H&&$());){var le=h.callback;if(typeof le=="function"){h.callback=null,f=h.priorityLevel;var Q=le(h.expirationTime<=H);if(H=e.unstable_now(),typeof Q=="function"){h.callback=Q,C(H),K=!0;break t}h===o(d)&&a(d),C(H)}else a(d);h=o(d)}if(h!==null)K=!0;else{var N=o(p);N!==null&&ae(E,N.startTime-H),K=!1}}break e}finally{h=null,f=J,v=!1}K=void 0}}finally{K?U():R=!1}}}var U;if(typeof P=="function")U=function(){P(B)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,W=F.port2;F.port1.onmessage=B,U=function(){W.postMessage(null)}}else U=function(){x(B,0)};function ae(H,K){D=x(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(){k=!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 le=e.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?le+J:le):J=le,H){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=J+Q,H={id:m++,callback:K,priorityLevel:H,startTime:J,expirationTime:Q,sortIndex:-1},J>le?(H.sortIndex=J,t(p,H),o(d)===null&&H===o(p)&&(S?(T(D),D=-1):S=!0,ae(E,J-le))):(H.sortIndex=Q,t(d,H),b||v||(b=!0,R||(R=!0,U()))),H},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(H){var K=f;return function(){var J=f;f=K;try{return H.apply(this,arguments)}finally{f=J}}}})(TS)),TS}var P1;function eU(){return P1||(P1=1,xS.exports=Xz()),xS.exports}var kS={exports:{}},Da={};var A1;function tU(){if(A1)return Da;A1=1;var e=Is();function t(d){var p="https://react.dev/errors/"+d;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var a={d:{f:o,r:function(){throw Error(t(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},n=Symbol.for("react.portal");function i(d,p,m){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:n,key:h==null?null:""+h,children:d,containerInfo:p,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,p){if(d==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Da.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Da.createPortal=function(d,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return i(d,p,null,m)},Da.flushSync=function(d){var p=l.T,m=a.p;try{if(l.T=null,a.p=2,d)return d()}finally{l.T=p,a.p=m,a.d.f()}},Da.preconnect=function(d,p){typeof d=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(d,p))},Da.prefetchDNS=function(d){typeof d=="string"&&a.d.D(d)},Da.preinit=function(d,p){if(typeof d=="string"&&p&&typeof p.as=="string"){var m=p.as,h=c(m,p.crossOrigin),f=typeof p.integrity=="string"?p.integrity:void 0,v=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?a.d.S(d,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:h,integrity:f,fetchPriority:v}):m==="script"&&a.d.X(d,{crossOrigin:h,integrity:f,fetchPriority:v,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Da.preinitModule=function(d,p){if(typeof d=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=c(p.as,p.crossOrigin);a.d.M(d,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(d)},Da.preload=function(d,p){if(typeof d=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,h=c(m,p.crossOrigin);a.d.L(d,m,{crossOrigin:h,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Da.preloadModule=function(d,p){if(typeof d=="string")if(p){var m=c(p.as,p.crossOrigin);a.d.m(d,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(d)},Da.requestFormReset=function(d){a.d.r(d)},Da.unstable_batchedUpdates=function(d,p){return d(p)},Da.useFormState=function(d,p,m){return l.H.useFormState(d,p,m)},Da.useFormStatus=function(){return l.H.useHostTransitionStatus()},Da.version="19.2.6",Da}var R1;function iM(){if(R1)return kS.exports;R1=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(),kS.exports=tU(),kS.exports}var D1;function oU(){if(D1)return Eu;D1=1;var e=eU(),t=Is(),o=iM();function a(r){var s="https://react.dev/errors/"+r;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)s+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function i(r){var s=r,u=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(u=s.return),r=s.return;while(r)}return s.tag===3?u:null}function l(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function c(r){if(r.tag===31){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function d(r){if(i(r)!==r)throw Error(a(188))}function p(r){var s=r.alternate;if(!s){if(s=i(r),s===null)throw Error(a(188));return s!==r?null:r}for(var u=r,g=s;;){var y=u.return;if(y===null)break;var _=y.alternate;if(_===null){if(g=y.return,g!==null){u=g;continue}break}if(y.child===_.child){for(_=y.child;_;){if(_===u)return d(y),r;if(_===g)return d(y),s;_=_.sibling}throw Error(a(188))}if(u.return!==g.return)u=y,g=_;else{for(var M=!1,j=y.child;j;){if(j===u){M=!0,u=y,g=_;break}if(j===g){M=!0,g=y,u=_;break}j=j.sibling}if(!M){for(j=_.child;j;){if(j===u){M=!0,u=_,g=y;break}if(j===g){M=!0,g=_,u=y;break}j=j.sibling}if(!M)throw Error(a(189))}}if(u.alternate!==g)throw Error(a(190))}if(u.tag!==3)throw Error(a(188));return u.stateNode.current===u?r:s}function m(r){var s=r.tag;if(s===5||s===26||s===27||s===6)return r;for(r=r.child;r!==null;){if(s=m(r),s!==null)return s;r=r.sibling}return null}var h=Object.assign,f=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),P=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),B=Symbol.iterator;function U(r){return r===null||typeof r!="object"?null:(r=B&&r[B]||r["@@iterator"],typeof r=="function"?r:null)}var F=Symbol.for("react.client.reference");function W(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===F?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case S:return"Fragment";case x:return"Profiler";case k:return"StrictMode";case E:return"Suspense";case R:return"SuspenseList";case L:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case b:return"Portal";case P:return r.displayName||"Context";case T:return(r._context.displayName||"Context")+".Consumer";case C:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case D:return s=r.displayName||null,s!==null?s:W(r.type)||"Memo";case O:s=r._payload,r=r._init;try{return W(r(s))}catch{}}return null}var ae=Array.isArray,H=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},le=[],Q=-1;function N(r){return{current:r}}function G(r){0>Q||(r.current=le[Q],le[Q]=null,Q--)}function V(r,s){Q++,le[Q]=r.current,r.current=s}var I=N(null),z=N(null),X=N(null),pe=N(null);function he(r,s){switch(V(X,s),V(z,r),V(I,null),s.nodeType){case 9:case 11:r=(r=s.documentElement)&&(r=r.namespaceURI)?GP(r):0;break;default:if(r=s.tagName,s=s.namespaceURI)s=GP(s),r=WP(s,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}G(I),V(I,r)}function ke(){G(I),G(z),G(X)}function qe(r){r.memoizedState!==null&&V(pe,r);var s=I.current,u=WP(s,r.type);s!==u&&(V(z,r),V(I,u))}function Z(r){z.current===r&&(G(I),G(z)),pe.current===r&&(G(pe),xu._currentValue=J)}var ne,ve;function ie(r){if(ne===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);ne=s&&s[1]||"",ve=-1<u.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+ne+r+ve}var xe=!1;function Ee(r,s){if(!r||xe)return"";xe=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var g={DetermineComponentFrameRoot:function(){try{if(s){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(fe){var me=fe}Reflect.construct(r,[],Te)}else{try{Te.call()}catch(fe){me=fe}r.call(Te.prototype)}}else{try{throw Error()}catch(fe){me=fe}(Te=r())&&typeof Te.catch=="function"&&Te.catch(function(){})}}catch(fe){if(fe&&me&&typeof fe.stack=="string")return[fe.stack,me.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var _=g.DetermineComponentFrameRoot(),M=_[0],j=_[1];if(M&&j){var te=M.split(`
|
|
@@ -52,7 +52,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
52
52
|
|| ${O} === "boolean" || ${R} === null`).assign(L,(0,a._)`[${R}]`)}}}function f({gen:T,parentData:P,parentDataProperty:C},E){T.if((0,a._)`${P} !== undefined`,()=>T.assign((0,a._)`${P}[${C}]`,E))}function v(T,P,C,E=i.Correct){const R=E===i.Correct?a.operators.EQ:a.operators.NEQ;let D;switch(T){case"null":return(0,a._)`${P} ${R} null`;case"array":D=(0,a._)`Array.isArray(${P})`;break;case"object":D=(0,a._)`${P} && typeof ${P} == "object" && !Array.isArray(${P})`;break;case"integer":D=O((0,a._)`!(${P} % 1) && !isNaN(${P})`);break;case"number":D=O();break;default:return(0,a._)`typeof ${P} ${R} ${T}`}return E===i.Correct?D:(0,a.not)(D);function O(L=a.nil){return(0,a.and)((0,a._)`typeof ${P} == "number"`,L,C?(0,a._)`isFinite(${P})`:a.nil)}}ya.checkDataType=v;function b(T,P,C,E){if(T.length===1)return v(T[0],P,C,E);let R;const D=(0,n.toHash)(T);if(D.array&&D.object){const O=(0,a._)`typeof ${P} != "object"`;R=D.null?O:(0,a._)`!${P} || ${O}`,delete D.null,delete D.array,delete D.object}else R=a.nil;D.number&&delete D.integer;for(const O in D)R=(0,a.and)(R,v(O,P,C,E));return R}ya.checkDataTypes=b;const S={message:({schema:T})=>`must be ${T}`,params:({schema:T,schemaValue:P})=>typeof T=="string"?(0,a._)`{type: ${T}}`:(0,a._)`{type: ${P}}`};function k(T){const P=x(T);(0,o.reportError)(P,S)}ya.reportTypeError=k;function x(T){const{gen:P,data:C,schema:E}=T,R=(0,n.schemaRefOrVal)(T,E,"type");return{gen:P,keyword:"type",data:C,schema:E.type,schemaCode:R,schemaValue:R,parentSchema:E,params:{},it:T}}return ya}var Ou={},QA;function yK(){if(QA)return Ou;QA=1,Object.defineProperty(Ou,"__esModule",{value:!0}),Ou.assignDefaults=void 0;const e=St(),t=Ft();function o(n,i){const{properties:l,items:c}=n.schema;if(i==="object"&&l)for(const d in l)a(n,d,l[d].default);else i==="array"&&Array.isArray(c)&&c.forEach((d,p)=>a(n,p,d.default))}Ou.assignDefaults=o;function a(n,i,l){const{gen:c,compositeRule:d,data:p,opts:m}=n;if(l===void 0)return;const h=(0,e._)`${p}${(0,e.getProperty)(i)}`;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)(l)}`)}return Ou}var cr={},Zt={},JA;function _r(){if(JA)return Zt;JA=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.validateUnion=Zt.validateArray=Zt.usePattern=Zt.callValidateCode=Zt.schemaProperties=Zt.allSchemaProperties=Zt.noPropertyInData=Zt.propertyInData=Zt.isOwnProperty=Zt.hasPropFunc=Zt.reportMissingProp=Zt.checkMissingProp=Zt.checkReportMissingProp=void 0;const e=St(),t=Ft(),o=Fs(),a=Ft();function n(T,P){const{gen:C,data:E,it:R}=T;C.if(m(C,E,P,R.opts.ownProperties),()=>{T.setParams({missingProperty:(0,e._)`${P}`},!0),T.error()})}Zt.checkReportMissingProp=n;function i({gen:T,data:P,it:{opts:C}},E,R){return(0,e.or)(...E.map(D=>(0,e.and)(m(T,P,D,C.ownProperties),(0,e._)`${R} = ${D}`)))}Zt.checkMissingProp=i;function l(T,P){T.setParams({missingProperty:P},!0),T.error()}Zt.reportMissingProp=l;function c(T){return T.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}Zt.hasPropFunc=c;function d(T,P,C){return(0,e._)`${c(T)}.call(${P}, ${C})`}Zt.isOwnProperty=d;function p(T,P,C,E){const R=(0,e._)`${P}${(0,e.getProperty)(C)} !== undefined`;return E?(0,e._)`${R} && ${d(T,P,C)}`:R}Zt.propertyInData=p;function m(T,P,C,E){const R=(0,e._)`${P}${(0,e.getProperty)(C)} === undefined`;return E?(0,e.or)(R,(0,e.not)(d(T,P,C))):R}Zt.noPropertyInData=m;function h(T){return T?Object.keys(T).filter(P=>P!=="__proto__"):[]}Zt.allSchemaProperties=h;function f(T,P){return h(P).filter(C=>!(0,t.alwaysValidSchema)(T,P[C]))}Zt.schemaProperties=f;function v({schemaCode:T,data:P,it:{gen:C,topSchemaRef:E,schemaPath:R,errorPath:D},it:O},L,$,B){const U=B?(0,e._)`${T}, ${P}, ${E}${R}`:P,F=[[o.default.instancePath,(0,e.strConcat)(o.default.instancePath,D)],[o.default.parentData,O.parentData],[o.default.parentDataProperty,O.parentDataProperty],[o.default.rootData,o.default.rootData]];O.opts.dynamicRef&&F.push([o.default.dynamicAnchors,o.default.dynamicAnchors]);const W=(0,e._)`${U}, ${C.object(...F)}`;return $!==e.nil?(0,e._)`${L}.call(${$}, ${W})`:(0,e._)`${L}(${W})`}Zt.callValidateCode=v;const b=(0,e._)`new RegExp`;function S({gen:T,it:{opts:P}},C){const E=P.unicodeRegExp?"u":"",{regExp:R}=P.code,D=R(C,E);return T.scopeValue("pattern",{key:D.toString(),ref:D,code:(0,e._)`${R.code==="new RegExp"?b:(0,a.useFunc)(T,R)}(${C}, ${E})`})}Zt.usePattern=S;function k(T){const{gen:P,data:C,keyword:E,it:R}=T,D=P.name("valid");if(R.allErrors){const L=P.let("valid",!0);return O(()=>P.assign(L,!1)),L}return P.var(D,!0),O(()=>P.break()),D;function O(L){const $=P.const("len",(0,e._)`${C}.length`);P.forRange("i",0,$,B=>{T.subschema({keyword:E,dataProp:B,dataPropType:t.Type.Num},D),P.if((0,e.not)(D),L)})}}Zt.validateArray=k;function x(T){const{gen:P,schema:C,keyword:E,it:R}=T;if(!Array.isArray(C))throw new Error("ajv implementation error");if(C.some($=>(0,t.alwaysValidSchema)(R,$))&&!R.opts.unevaluated)return;const O=P.let("valid",!1),L=P.name("_valid");P.block(()=>C.forEach(($,B)=>{const U=T.subschema({keyword:E,schemaProp:B,compositeRule:!0},L);P.assign(O,(0,e._)`${O} || ${L}`),T.mergeValidEvaluated(U,L)||P.if((0,e.not)(O))})),T.result(O,()=>T.reset(),()=>T.error(!0))}return Zt.validateUnion=x,Zt}var XA;function SK(){if(XA)return cr;XA=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.validateKeywordUsage=cr.validSchemaType=cr.funcKeywordCode=cr.macroKeywordCode=void 0;const e=St(),t=Fs(),o=_r(),a=Rv();function n(f,v){const{gen:b,keyword:S,schema:k,parentSchema:x,it:T}=f,P=v.macro.call(T.self,k,x,T),C=p(b,S,P);T.opts.validateSchema!==!1&&T.self.validateSchema(P,!0);const E=b.name("valid");f.subschema({schema:P,schemaPath:e.nil,errSchemaPath:`${T.errSchemaPath}/${S}`,topSchemaRef:C,compositeRule:!0},E),f.pass(E,()=>f.error(!0))}cr.macroKeywordCode=n;function i(f,v){var b;const{gen:S,keyword:k,schema:x,parentSchema:T,$data:P,it:C}=f;d(C,v);const E=!P&&v.compile?v.compile.call(C.self,x,T,C):v.validate,R=p(S,k,E),D=S.let("valid");f.block$data(D,O),f.ok((b=v.valid)!==null&&b!==void 0?b:D);function O(){if(v.errors===!1)B(),v.modifying&&l(f),U(()=>f.error());else{const F=v.async?L():$();v.modifying&&l(f),U(()=>c(f,F))}}function L(){const F=S.let("ruleErrs",null);return S.try(()=>B((0,e._)`await `),W=>S.assign(D,!1).if((0,e._)`${W} instanceof ${C.ValidationError}`,()=>S.assign(F,(0,e._)`${W}.errors`),()=>S.throw(W))),F}function $(){const F=(0,e._)`${R}.errors`;return S.assign(F,null),B(e.nil),F}function B(F=v.async?(0,e._)`await `:e.nil){const W=C.opts.passContext?t.default.this:t.default.self,ae=!("compile"in v&&!P||v.schema===!1);S.assign(D,(0,e._)`${F}${(0,o.callValidateCode)(f,R,W,ae)}`,v.modifying)}function U(F){var W;S.if((0,e.not)((W=v.valid)!==null&&W!==void 0?W:D),F)}}cr.funcKeywordCode=i;function l(f){const{gen:v,data:b,it:S}=f;v.if(S.parentData,()=>v.assign(b,(0,e._)`${S.parentData}[${S.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,a.extendErrors)(f)},()=>f.error())}function d({schemaEnv:f},v){if(v.async&&!f.$async)throw new Error("async keyword in sync schema")}function p(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(S=>S==="array"?Array.isArray(f):S==="object"?f&&typeof f=="object"&&!Array.isArray(f):typeof f==S||b&&typeof f>"u")}cr.validSchemaType=m;function h({schema:f,opts:v,self:b,errSchemaPath:S},k,x){if(Array.isArray(k.keyword)?!k.keyword.includes(x):k.keyword!==x)throw new Error("ajv implementation error");const T=k.dependencies;if(T?.some(P=>!Object.prototype.hasOwnProperty.call(f,P)))throw new Error(`parent schema must have dependencies of ${x}: ${T.join(",")}`);if(k.validateSchema&&!k.validateSchema(f[x])){const C=`keyword "${x}" value is invalid at path "${S}": `+b.errorsText(k.validateSchema.errors);if(v.validateSchema==="log")b.logger.error(C);else throw new Error(C)}}return cr.validateKeywordUsage=h,cr}var bi={},eR;function wK(){if(eR)return bi;eR=1,Object.defineProperty(bi,"__esModule",{value:!0}),bi.extendSubschemaMode=bi.extendSubschemaData=bi.getSubschema=void 0;const e=St(),t=Ft();function o(i,{keyword:l,schemaProp:c,schema:d,schemaPath:p,errSchemaPath:m,topSchemaRef:h}){if(l!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(l!==void 0){const f=i.schema[l];return c===void 0?{schema:f,schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(l)}`,errSchemaPath:`${i.errSchemaPath}/${l}`}:{schema:f[c],schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(l)}${(0,e.getProperty)(c)}`,errSchemaPath:`${i.errSchemaPath}/${l}/${(0,t.escapeFragment)(c)}`}}if(d!==void 0){if(p===void 0||m===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:p,topSchemaRef:h,errSchemaPath:m}}throw new Error('either "keyword" or "schema" must be passed')}bi.getSubschema=o;function a(i,l,{dataProp:c,dataPropType:d,data:p,dataTypes:m,propertyName:h}){if(p!==void 0&&c!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:f}=l;if(c!==void 0){const{errorPath:b,dataPathArr:S,opts:k}=l,x=f.let("data",(0,e._)`${l.data}${(0,e.getProperty)(c)}`,!0);v(x),i.errorPath=(0,e.str)`${b}${(0,t.getErrorPath)(c,d,k.jsPropertySyntax)}`,i.parentDataProperty=(0,e._)`${c}`,i.dataPathArr=[...S,i.parentDataProperty]}if(p!==void 0){const b=p instanceof e.Name?p:f.let("data",p,!0);v(b),h!==void 0&&(i.propertyName=h)}m&&(i.dataTypes=m);function v(b){i.data=b,i.dataLevel=l.dataLevel+1,i.dataTypes=[],l.definedProperties=new Set,i.parentData=l.data,i.dataNames=[...l.dataNames,b]}}bi.extendSubschemaData=a;function n(i,{jtdDiscriminator:l,jtdMetadata:c,compositeRule:d,createErrors:p,allErrors:m}){d!==void 0&&(i.compositeRule=d),p!==void 0&&(i.createErrors=p),m!==void 0&&(i.allErrors=m),i.jtdDiscriminator=l,i.jtdMetadata=c}return bi.extendSubschemaMode=n,bi}var qa={},GS,tR;function UI(){return tR||(tR=1,GS=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var a,n,i;if(Array.isArray(t)){if(a=t.length,a!=o.length)return!1;for(n=a;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),a=i.length,a!==Object.keys(o).length)return!1;for(n=a;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=a;n--!==0;){var l=i[n];if(!e(t[l],o[l]))return!1}return!0}return t!==t&&o!==o}),GS}var WS={exports:{}},oR;function xK(){if(oR)return WS.exports;oR=1;var e=WS.exports=function(a,n,i){typeof n=="function"&&(i=n,n={}),i=n.cb||i;var l=typeof i=="function"?i:i.pre||function(){},c=i.post||function(){};t(n,l,c,a,"",a)};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(a,n,i,l,c,d,p,m,h,f){if(l&&typeof l=="object"&&!Array.isArray(l)){n(l,c,d,p,m,h,f);for(var v in l){var b=l[v];if(Array.isArray(b)){if(v in e.arrayKeywords)for(var S=0;S<b.length;S++)t(a,n,i,b[S],c+"/"+v+"/"+S,d,c,v,l,S)}else if(v in e.propsKeywords){if(b&&typeof b=="object")for(var k in b)t(a,n,i,b[k],c+"/"+v+"/"+o(k),d,c,v,l,k)}else(v in e.keywords||a.allKeys&&!(v in e.skipKeywords))&&t(a,n,i,b,c+"/"+v,d,c,v,l)}i(l,c,d,p,m,h,f)}}function o(a){return a.replace(/~/g,"~0").replace(/\//g,"~1")}return WS.exports}var aR;function Dv(){if(aR)return qa;aR=1,Object.defineProperty(qa,"__esModule",{value:!0}),qa.getSchemaRefs=qa.resolveUrl=qa.normalizeId=qa._getFullPath=qa.getFullPath=qa.inlineRef=void 0;const e=Ft(),t=UI(),o=xK(),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function n(S,k=!0){return typeof S=="boolean"?!0:k===!0?!l(S):k?c(S)<=k:!1}qa.inlineRef=n;const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(S){for(const k in S){if(i.has(k))return!0;const x=S[k];if(Array.isArray(x)&&x.some(l)||typeof x=="object"&&l(x))return!0}return!1}function c(S){let k=0;for(const x in S){if(x==="$ref")return 1/0;if(k++,!a.has(x)&&(typeof S[x]=="object"&&(0,e.eachItem)(S[x],T=>k+=c(T)),k===1/0))return 1/0}return k}function d(S,k="",x){x!==!1&&(k=h(k));const T=S.parse(k);return p(S,T)}qa.getFullPath=d;function p(S,k){return S.serialize(k).split("#")[0]+"#"}qa._getFullPath=p;const m=/#\/?$/;function h(S){return S?S.replace(m,""):""}qa.normalizeId=h;function f(S,k,x){return x=h(x),S.resolve(k,x)}qa.resolveUrl=f;const v=/^[a-z_][-a-z0-9._]*$/i;function b(S,k){if(typeof S=="boolean")return{};const{schemaId:x,uriResolver:T}=this.opts,P=h(S[x]||k),C={"":P},E=d(T,P,!1),R={},D=new Set;return o(S,{allKeys:!0},($,B,U,F)=>{if(F===void 0)return;const W=E+B;let ae=C[F];typeof $[x]=="string"&&(ae=H.call(this,$[x])),K.call(this,$.$anchor),K.call(this,$.$dynamicAnchor),C[B]=ae;function H(J){const le=this.opts.uriResolver.resolve;if(J=h(ae?le(ae,J):J),D.has(J))throw L(J);D.add(J);let Q=this.refs[J];return typeof Q=="string"&&(Q=this.refs[Q]),typeof Q=="object"?O($,Q.schema,J):J!==h(W)&&(J[0]==="#"?(O($,R[J],J),R[J]=$):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}`)}}}),R;function O($,B,U){if(B!==void 0&&!t($,B))throw L(U)}function L($){return new Error(`reference "${$}" resolves to more than one schema`)}}return qa.getSchemaRefs=b,qa}var nR;function Ov(){if(nR)return fi;nR=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.getData=fi.KeywordCxt=fi.validateFunctionCode=void 0;const e=bK(),t=Pf(),o=zI(),a=Pf(),n=yK(),i=SK(),l=wK(),c=St(),d=Fs(),p=Dv(),m=Ft(),h=Rv();function f(Z){if(E(Z)&&(D(Z),C(Z))){k(Z);return}v(Z,()=>(0,e.topBoolOrEmptySchema)(Z))}fi.validateFunctionCode=f;function v({gen:Z,validateName:ne,schema:ve,schemaEnv:ie,opts:xe},Ee){xe.code.es5?Z.func(ne,(0,c._)`${d.default.data}, ${d.default.valCxt}`,ie.$async,()=>{Z.code((0,c._)`"use strict"; ${T(ve,xe)}`),S(Z,xe),Z.code(Ee)}):Z.func(ne,(0,c._)`${d.default.data}, ${b(xe)}`,ie.$async,()=>Z.code(T(ve,xe)).code(Ee))}function b(Z){return(0,c._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${Z.dynamicRef?(0,c._)`, ${d.default.dynamicAnchors}={}`:c.nil}}={}`}function S(Z,ne){Z.if(d.default.valCxt,()=>{Z.var(d.default.instancePath,(0,c._)`${d.default.valCxt}.${d.default.instancePath}`),Z.var(d.default.parentData,(0,c._)`${d.default.valCxt}.${d.default.parentData}`),Z.var(d.default.parentDataProperty,(0,c._)`${d.default.valCxt}.${d.default.parentDataProperty}`),Z.var(d.default.rootData,(0,c._)`${d.default.valCxt}.${d.default.rootData}`),ne.dynamicRef&&Z.var(d.default.dynamicAnchors,(0,c._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{Z.var(d.default.instancePath,(0,c._)`""`),Z.var(d.default.parentData,(0,c._)`undefined`),Z.var(d.default.parentDataProperty,(0,c._)`undefined`),Z.var(d.default.rootData,d.default.data),ne.dynamicRef&&Z.var(d.default.dynamicAnchors,(0,c._)`{}`)})}function k(Z){const{schema:ne,opts:ve,gen:ie}=Z;v(Z,()=>{ve.$comment&&ne.$comment&&F(Z),$(Z),ie.let(d.default.vErrors,null),ie.let(d.default.errors,0),ve.unevaluated&&x(Z),O(Z),W(Z)})}function x(Z){const{gen:ne,validateName:ve}=Z;Z.evaluated=ne.const("evaluated",(0,c._)`${ve}.evaluated`),ne.if((0,c._)`${Z.evaluated}.dynamicProps`,()=>ne.assign((0,c._)`${Z.evaluated}.props`,(0,c._)`undefined`)),ne.if((0,c._)`${Z.evaluated}.dynamicItems`,()=>ne.assign((0,c._)`${Z.evaluated}.items`,(0,c._)`undefined`))}function T(Z,ne){const ve=typeof Z=="object"&&Z[ne.schemaId];return ve&&(ne.code.source||ne.code.process)?(0,c._)`/*# sourceURL=${ve} */`:c.nil}function P(Z,ne){if(E(Z)&&(D(Z),C(Z))){R(Z,ne);return}(0,e.boolOrEmptySchema)(Z,ne)}function C({schema:Z,self:ne}){if(typeof Z=="boolean")return!Z;for(const ve in Z)if(ne.RULES.all[ve])return!0;return!1}function E(Z){return typeof Z.schema!="boolean"}function R(Z,ne){const{schema:ve,gen:ie,opts:xe}=Z;xe.$comment&&ve.$comment&&F(Z),B(Z),U(Z);const Ee=ie.const("_errs",d.default.errors);O(Z,Ee),ie.var(ne,(0,c._)`${Ee} === ${d.default.errors}`)}function D(Z){(0,m.checkUnknownRules)(Z),L(Z)}function O(Z,ne){if(Z.opts.jtd)return H(Z,[],!1,ne);const ve=(0,t.getSchemaTypes)(Z.schema),ie=(0,t.coerceAndCheckDataType)(Z,ve);H(Z,ve,!ie,ne)}function L(Z){const{schema:ne,errSchemaPath:ve,opts:ie,self:xe}=Z;ne.$ref&&ie.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(ne,xe.RULES)&&xe.logger.warn(`$ref: keywords ignored in schema at path "${ve}"`)}function $(Z){const{schema:ne,opts:ve}=Z;ne.default!==void 0&&ve.useDefaults&&ve.strictSchema&&(0,m.checkStrictMode)(Z,"default is ignored in the schema root")}function B(Z){const ne=Z.schema[Z.opts.schemaId];ne&&(Z.baseId=(0,p.resolveUrl)(Z.opts.uriResolver,Z.baseId,ne))}function U(Z){if(Z.schema.$async&&!Z.schemaEnv.$async)throw new Error("async schema in sync schema")}function F({gen:Z,schemaEnv:ne,schema:ve,errSchemaPath:ie,opts:xe}){const Ee=ve.$comment;if(xe.$comment===!0)Z.code((0,c._)`${d.default.self}.logger.log(${Ee})`);else if(typeof xe.$comment=="function"){const it=(0,c.str)`${ie}/$comment`,lt=Z.scopeValue("root",{ref:ne.root});Z.code((0,c._)`${d.default.self}.opts.$comment(${Ee}, ${it}, ${lt}.schema)`)}}function W(Z){const{gen:ne,schemaEnv:ve,validateName:ie,ValidationError:xe,opts:Ee}=Z;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),Ee.unevaluated&&ae(Z),ne.return((0,c._)`${d.default.errors} === 0`))}function ae({gen:Z,evaluated:ne,props:ve,items:ie}){ve instanceof c.Name&&Z.assign((0,c._)`${ne}.props`,ve),ie instanceof c.Name&&Z.assign((0,c._)`${ne}.items`,ie)}function H(Z,ne,ve,ie){const{gen:xe,schema:Ee,data:it,allErrors:lt,opts:Ge,self:ot}=Z,{RULES:Me}=ot;if(Ee.$ref&&(Ge.ignoreKeywordsWithRef||!(0,m.schemaHasRulesButRef)(Ee,Me))){xe.block(()=>pe(Z,"$ref",Me.all.$ref.definition));return}Ge.jtd||J(Z,ne),xe.block(()=>{for(const He of Me.rules)Oe(He);Oe(Me.post)});function Oe(He){(0,o.shouldUseGroup)(Ee,He)&&(He.type?(xe.if((0,a.checkDataType)(He.type,it,Ge.strictNumbers)),K(Z,He),ne.length===1&&ne[0]===He.type&&ve&&(xe.else(),(0,a.reportTypeError)(Z)),xe.endIf()):K(Z,He),lt||xe.if((0,c._)`${d.default.errors} === ${ie||0}`))}}function K(Z,ne){const{gen:ve,schema:ie,opts:{useDefaults:xe}}=Z;xe&&(0,n.assignDefaults)(Z,ne.type),ve.block(()=>{for(const Ee of ne.rules)(0,o.shouldUseRule)(ie,Ee)&&pe(Z,Ee.keyword,Ee.definition,ne.type)})}function J(Z,ne){Z.schemaEnv.meta||!Z.opts.strictTypes||(le(Z,ne),Z.opts.allowUnionTypes||Q(Z,ne),N(Z,Z.dataTypes))}function le(Z,ne){if(ne.length){if(!Z.dataTypes.length){Z.dataTypes=ne;return}ne.forEach(ve=>{V(Z.dataTypes,ve)||z(Z,`type "${ve}" not allowed by context "${Z.dataTypes.join(",")}"`)}),I(Z,ne)}}function Q(Z,ne){ne.length>1&&!(ne.length===2&&ne.includes("null"))&&z(Z,"use allowUnionTypes to allow union type keyword")}function N(Z,ne){const ve=Z.self.RULES.all;for(const ie in ve){const xe=ve[ie];if(typeof xe=="object"&&(0,o.shouldUseRule)(Z.schema,xe)){const{type:Ee}=xe.definition;Ee.length&&!Ee.some(it=>G(ne,it))&&z(Z,`missing type "${Ee.join(",")}" for keyword "${ie}"`)}}}function G(Z,ne){return Z.includes(ne)||ne==="number"&&Z.includes("integer")}function V(Z,ne){return Z.includes(ne)||ne==="integer"&&Z.includes("number")}function I(Z,ne){const ve=[];for(const ie of Z.dataTypes)V(ne,ie)?ve.push(ie):ne.includes("integer")&&ie==="number"&&ve.push("integer");Z.dataTypes=ve}function z(Z,ne){const ve=Z.schemaEnv.baseId+Z.errSchemaPath;ne+=` at "${ve}" (strictTypes)`,(0,m.checkStrictMode)(Z,ne,Z.opts.strictTypes)}class X{constructor(ne,ve,ie){if((0,i.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,i.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:Ee,def:it}=this;ie.if((0,c.or)((0,c._)`${xe} === undefined`,ve)),ne!==c.nil&&ie.assign(ne,!0),(Ee.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:Ee}=this;return(0,c.or)(it(),lt());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,a.checkDataTypes)(Ge,ve,Ee.opts.strictNumbers,a.DataType.Wrong)}`}return c.nil}function lt(){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,l.getSubschema)(this.it,ne);(0,l.extendSubschemaData)(ie,this.it,ne),(0,l.extendSubschemaMode)(ie,ne);const xe={...this.it,...ie,items:void 0,props:void 0};return P(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}}fi.KeywordCxt=X;function pe(Z,ne,ve,ie){const xe=new X(Z,ve,ne);"code"in ve?ve.code(xe,ie):xe.$data&&ve.validate?(0,i.funcKeywordCode)(xe,ve):"macro"in ve?(0,i.macroKeywordCode)(xe,ve):(ve.compile||ve.validate)&&(0,i.funcKeywordCode)(xe,ve)}const he=/^\/(?:[^~]|~0|~1)*$/,ke=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function qe(Z,{dataLevel:ne,dataNames:ve,dataPathArr:ie}){let xe,Ee;if(Z==="")return d.default.rootData;if(Z[0]==="/"){if(!he.test(Z))throw new Error(`Invalid JSON-pointer: ${Z}`);xe=Z,Ee=d.default.rootData}else{const ot=ke.exec(Z);if(!ot)throw new Error(`Invalid JSON-pointer: ${Z}`);const Me=+ot[1];if(xe=ot[2],xe==="#"){if(Me>=ne)throw new Error(Ge("property/index",Me));return ie[ne-Me]}if(Me>ne)throw new Error(Ge("data",Me));if(Ee=ve[ne-Me],!xe)return Ee}let it=Ee;const lt=xe.split("/");for(const ot of lt)ot&&(Ee=(0,c._)`${Ee}${(0,c.getProperty)((0,m.unescapeJsonPointer)(ot))}`,it=(0,c._)`${it} && ${Ee}`);return it;function Ge(ot,Me){return`Cannot access ${ot} ${Me} levels up, current level is ${ne}`}}return fi.getData=qe,fi}var Bh={},rR;function rk(){if(rR)return Bh;rR=1,Object.defineProperty(Bh,"__esModule",{value:!0});class e extends Error{constructor(o){super("validation failed"),this.errors=o,this.ajv=this.validation=!0}}return Bh.default=e,Bh}var Fh={},iR;function Mv(){if(iR)return Fh;iR=1,Object.defineProperty(Fh,"__esModule",{value:!0});const e=Dv();class t extends Error{constructor(a,n,i,l){super(l||`can't resolve reference ${i} from id ${n}`),this.missingRef=(0,e.resolveUrl)(a,n,i),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(a,this.missingRef))}}return Fh.default=t,Fh}var xn={},sR;function ik(){if(sR)return xn;sR=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.resolveSchema=xn.getCompilingSchema=xn.resolveRef=xn.compileSchema=xn.SchemaEnv=void 0;const e=St(),t=rk(),o=Fs(),a=Dv(),n=Ft(),i=Ov();class l{constructor(x){var T;this.refs={},this.dynamicAnchors={};let P;typeof x.schema=="object"&&(P=x.schema),this.schema=x.schema,this.schemaId=x.schemaId,this.root=x.root||this,this.baseId=(T=x.baseId)!==null&&T!==void 0?T:(0,a.normalizeId)(P?.[x.schemaId||"$id"]),this.schemaPath=x.schemaPath,this.localRefs=x.localRefs,this.meta=x.meta,this.$async=P?.$async,this.refs={}}}xn.SchemaEnv=l;function c(k){const x=m.call(this,k);if(x)return x;const T=(0,a.getFullPath)(this.opts.uriResolver,k.root.baseId),{es5:P,lines:C}=this.opts.code,{ownProperties:E}=this.opts,R=new e.CodeGen(this.scope,{es5:P,lines:C,ownProperties:E});let D;k.$async&&(D=R.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const O=R.scopeName("validate");k.validateName=O;const L={gen:R,allErrors:this.opts.allErrors,data:o.default.data,parentData:o.default.parentData,parentDataProperty:o.default.parentDataProperty,dataNames:[o.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:R.scopeValue("schema",this.opts.code.source===!0?{ref:k.schema,code:(0,e.stringify)(k.schema)}:{ref:k.schema}),validateName:O,ValidationError:D,schema:k.schema,schemaEnv:k,rootId:T,baseId:k.baseId||T,schemaPath:e.nil,errSchemaPath:k.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let $;try{this._compilations.add(k),(0,i.validateFunctionCode)(L),R.optimize(this.opts.code.optimize);const B=R.toString();$=`${R.scopeRefs(o.default.scope)}return ${B}`,this.opts.code.process&&($=this.opts.code.process($,k));const F=new Function(`${o.default.self}`,`${o.default.scope}`,$)(this,this.scope.get());if(this.scope.value(O,{ref:F}),F.errors=null,F.schema=k.schema,F.schemaEnv=k,k.$async&&(F.$async=!0),this.opts.code.source===!0&&(F.source={validateName:O,validateCode:B,scopeValues:R._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 k.validate=F,k}catch(B){throw delete k.validate,delete k.validateName,$&&this.logger.error("Error compiling schema, function code:",$),B}finally{this._compilations.delete(k)}}xn.compileSchema=c;function d(k,x,T){var P;T=(0,a.resolveUrl)(this.opts.uriResolver,x,T);const C=k.refs[T];if(C)return C;let E=f.call(this,k,T);if(E===void 0){const R=(P=k.localRefs)===null||P===void 0?void 0:P[T],{schemaId:D}=this.opts;R&&(E=new l({schema:R,schemaId:D,root:k,baseId:x}))}if(E!==void 0)return k.refs[T]=p.call(this,E)}xn.resolveRef=d;function p(k){return(0,a.inlineRef)(k.schema,this.opts.inlineRefs)?k.schema:k.validate?k:c.call(this,k)}function m(k){for(const x of this._compilations)if(h(x,k))return x}xn.getCompilingSchema=m;function h(k,x){return k.schema===x.schema&&k.root===x.root&&k.baseId===x.baseId}function f(k,x){let T;for(;typeof(T=this.refs[x])=="string";)x=T;return T||this.schemas[x]||v.call(this,k,x)}function v(k,x){const T=this.opts.uriResolver.parse(x),P=(0,a._getFullPath)(this.opts.uriResolver,T);let C=(0,a.getFullPath)(this.opts.uriResolver,k.baseId,void 0);if(Object.keys(k.schema).length>0&&P===C)return S.call(this,T,k);const E=(0,a.normalizeId)(P),R=this.refs[E]||this.schemas[E];if(typeof R=="string"){const D=v.call(this,k,R);return typeof D?.schema!="object"?void 0:S.call(this,T,D)}if(typeof R?.schema=="object"){if(R.validate||c.call(this,R),E===(0,a.normalizeId)(x)){const{schema:D}=R,{schemaId:O}=this.opts,L=D[O];return L&&(C=(0,a.resolveUrl)(this.opts.uriResolver,C,L)),new l({schema:D,schemaId:O,root:k,baseId:C})}return S.call(this,T,R)}}xn.resolveSchema=v;const b=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function S(k,{baseId:x,schema:T,root:P}){var C;if(((C=k.fragment)===null||C===void 0?void 0:C[0])!=="/")return;for(const D of k.fragment.slice(1).split("/")){if(typeof T=="boolean")return;const O=T[(0,n.unescapeFragment)(D)];if(O===void 0)return;T=O;const L=typeof T=="object"&&T[this.opts.schemaId];!b.has(D)&&L&&(x=(0,a.resolveUrl)(this.opts.uriResolver,x,L))}let E;if(typeof T!="boolean"&&T.$ref&&!(0,n.schemaHasRulesButRef)(T,this.RULES)){const D=(0,a.resolveUrl)(this.opts.uriResolver,x,T.$ref);E=v.call(this,P,D)}const{schemaId:R}=this.opts;if(E=E||new l({schema:T,schemaId:R,root:P,baseId:x}),E.schema!==E.root.schema)return E}return xn}const TK="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",kK="Meta-schema for $data reference (JSON AnySchema extension proposal)",_K="object",CK=["$data"],EK={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},PK=!1,AK={$id:TK,description:kK,type:_K,required:CK,properties:EK,additionalProperties:PK};var jh={},Mu={exports:{}},KS,lR;function qI(){if(lR)return KS;lR=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 o(f){let v="",b=0,S=0;for(S=0;S<f.length;S++)if(b=f[S].charCodeAt(0),b!==48){if(!(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102))return"";v+=f[S];break}for(S+=1;S<f.length;S++){if(b=f[S].charCodeAt(0),!(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102))return"";v+=f[S]}return v}const a=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function n(f){return f.length=0,!0}function i(f,v,b){if(f.length){const S=o(f);if(S!=="")v.push(S);else return b.error=!0,!1;f.length=0}return!0}function l(f){let v=0;const b={error:!1,address:"",zone:""},S=[],k=[];let x=!1,T=!1,P=i;for(let C=0;C<f.length;C++){const E=f[C];if(!(E==="["||E==="]"))if(E===":"){if(x===!0&&(T=!0),!P(k,S,b))break;if(++v>7){b.error=!0;break}C>0&&f[C-1]===":"&&(x=!0),S.push(":");continue}else if(E==="%"){if(!P(k,S,b))break;P=n}else{k.push(E);continue}}return k.length&&(P===n?b.zone=k.join(""):T?S.push(k.join("")):S.push(o(k))),b.address=S.join(""),b}function c(f){if(d(f,":")<2)return{host:f,isIPV6:!1};const v=l(f);if(v.error)return{host:f,isIPV6:!1};{let b=v.address,S=v.address;return v.zone&&(b+="%"+v.zone,S+="%25"+v.zone),{host:b,isIPV6:!0,escapedHost:S}}}function d(f,v){let b=0;for(let S=0;S<f.length;S++)f[S]===v&&b++;return b}function p(f){let v=f;const b=[];let S=-1,k=0;for(;k=v.length;){if(k===1){if(v===".")break;if(v==="/"){b.push("/");break}else{b.push(v);break}}else if(k===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(k===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((S=v.indexOf("/",1))===-1){b.push(v);break}else b.push(v.slice(0,S)),v=v.slice(S)}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 S=c(b);S.isIPV6===!0?b=`[${S.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:a,recomposeAuthority:h,normalizeComponentEncoding:m,removeDotSegments:p,isIPv4:t,isUUID:e,normalizeIPv6:c,stringArrayToHexStripped:o},KS}var YS,cR;function RK(){if(cR)return YS;cR=1;const{isUUID:e}=qI(),t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,o=["http","https","ws","wss","urn","urn:uuid"];function a(E){return o.indexOf(E)!==-1}function n(E){return E.secure===!0?!0:E.secure===!1?!1:E.scheme?E.scheme.length===3&&(E.scheme[0]==="w"||E.scheme[0]==="W")&&(E.scheme[1]==="s"||E.scheme[1]==="S")&&(E.scheme[2]==="s"||E.scheme[2]==="S"):!1}function i(E){return E.host||(E.error=E.error||"HTTP URIs must have a host."),E}function l(E){const R=String(E.scheme).toLowerCase()==="https";return(E.port===(R?443:80)||E.port==="")&&(E.port=void 0),E.path||(E.path="/"),E}function c(E){return E.secure=n(E),E.resourceName=(E.path||"/")+(E.query?"?"+E.query:""),E.path=void 0,E.query=void 0,E}function d(E){if((E.port===(n(E)?443:80)||E.port==="")&&(E.port=void 0),typeof E.secure=="boolean"&&(E.scheme=E.secure?"wss":"ws",E.secure=void 0),E.resourceName){const[R,D]=E.resourceName.split("?");E.path=R&&R!=="/"?R:void 0,E.query=D,E.resourceName=void 0}return E.fragment=void 0,E}function p(E,R){if(!E.path)return E.error="URN can not be parsed",E;const D=E.path.match(t);if(D){const O=R.scheme||E.scheme||"urn";E.nid=D[1].toLowerCase(),E.nss=D[2];const L=`${O}:${R.nid||E.nid}`,$=C(L);E.path=void 0,$&&(E=$.parse(E,R))}else E.error=E.error||"URN can not be parsed.";return E}function m(E,R){if(E.nid===void 0)throw new Error("URN without nid cannot be serialized");const D=R.scheme||E.scheme||"urn",O=E.nid.toLowerCase(),L=`${D}:${R.nid||O}`,$=C(L);$&&(E=$.serialize(E,R));const B=E,U=E.nss;return B.path=`${O||R.nid}:${U}`,R.skipEscape=!0,B}function h(E,R){const D=E;return D.uuid=D.nss,D.nss=void 0,!R.tolerant&&(!D.uuid||!e(D.uuid))&&(D.error=D.error||"UUID is not valid."),D}function f(E){const R=E;return R.nss=(E.uuid||"").toLowerCase(),R}const v={scheme:"http",domainHost:!0,parse:i,serialize:l},b={scheme:"https",domainHost:v.domainHost,parse:i,serialize:l},S={scheme:"ws",domainHost:!0,parse:c,serialize:d},k={scheme:"wss",domainHost:S.domainHost,parse:S.parse,serialize:S.serialize},P={http:v,https:b,ws:S,wss:k,urn:{scheme:"urn",parse:p,serialize:m,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:h,serialize:f,skipNormalize:!0}};Object.setPrototypeOf(P,null);function C(E){return E&&(P[E]||P[E.toLowerCase()])||void 0}return YS={wsIsSecure:n,SCHEMES:P,isValidSchemeName:a,getSchemeHandler:C},YS}var dR;function DK(){if(dR)return Mu.exports;dR=1;const{normalizeIPv6:e,removeDotSegments:t,recomposeAuthority:o,normalizeComponentEncoding:a,isIPv4:n,nonSimpleDomain:i}=qI(),{SCHEMES:l,getSchemeHandler:c}=RK();function d(k,x){return typeof k=="string"?k=f(b(k,x),x):typeof k=="object"&&(k=b(f(k,x),x)),k}function p(k,x,T){const P=T?Object.assign({scheme:"null"},T):{scheme:"null"},C=m(b(k,P),b(x,P),P,!0);return P.skipEscape=!0,f(C,P)}function m(k,x,T,P){const C={};return P||(k=b(f(k,T),T),x=b(f(x,T),T)),T=T||{},!T.tolerant&&x.scheme?(C.scheme=x.scheme,C.userinfo=x.userinfo,C.host=x.host,C.port=x.port,C.path=t(x.path||""),C.query=x.query):(x.userinfo!==void 0||x.host!==void 0||x.port!==void 0?(C.userinfo=x.userinfo,C.host=x.host,C.port=x.port,C.path=t(x.path||""),C.query=x.query):(x.path?(x.path[0]==="/"?C.path=t(x.path):((k.userinfo!==void 0||k.host!==void 0||k.port!==void 0)&&!k.path?C.path="/"+x.path:k.path?C.path=k.path.slice(0,k.path.lastIndexOf("/")+1)+x.path:C.path=x.path,C.path=t(C.path)),C.query=x.query):(C.path=k.path,x.query!==void 0?C.query=x.query:C.query=k.query),C.userinfo=k.userinfo,C.host=k.host,C.port=k.port),C.scheme=k.scheme),C.fragment=x.fragment,C}function h(k,x,T){return typeof k=="string"?(k=unescape(k),k=f(a(b(k,T),!0),{...T,skipEscape:!0})):typeof k=="object"&&(k=f(a(k,!0),{...T,skipEscape:!0})),typeof x=="string"?(x=unescape(x),x=f(a(b(x,T),!0),{...T,skipEscape:!0})):typeof x=="object"&&(x=f(a(x,!0),{...T,skipEscape:!0})),k.toLowerCase()===x.toLowerCase()}function f(k,x){const T={host:k.host,scheme:k.scheme,userinfo:k.userinfo,port:k.port,path:k.path,query:k.query,nid:k.nid,nss:k.nss,uuid:k.uuid,fragment:k.fragment,reference:k.reference,resourceName:k.resourceName,secure:k.secure,error:""},P=Object.assign({},x),C=[],E=c(P.scheme||T.scheme);E&&E.serialize&&E.serialize(T,P),T.path!==void 0&&(P.skipEscape?T.path=unescape(T.path):(T.path=escape(T.path),T.scheme!==void 0&&(T.path=T.path.split("%3A").join(":")))),P.reference!=="suffix"&&T.scheme&&C.push(T.scheme,":");const R=o(T);if(R!==void 0&&(P.reference!=="suffix"&&C.push("//"),C.push(R),T.path&&T.path[0]!=="/"&&C.push("/")),T.path!==void 0){let D=T.path;!P.absolutePath&&(!E||!E.absolutePath)&&(D=t(D)),R===void 0&&D[0]==="/"&&D[1]==="/"&&(D="/%2F"+D.slice(2)),C.push(D)}return T.query!==void 0&&C.push("?",T.query),T.fragment!==void 0&&C.push("#",T.fragment),C.join("")}const v=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function b(k,x){const T=Object.assign({},x),P={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let C=!1;T.reference==="suffix"&&(T.scheme?k=T.scheme+":"+k:k="//"+k);const E=k.match(v);if(E){if(P.scheme=E[1],P.userinfo=E[3],P.host=E[4],P.port=parseInt(E[5],10),P.path=E[6]||"",P.query=E[7],P.fragment=E[8],isNaN(P.port)&&(P.port=E[5]),P.host)if(n(P.host)===!1){const O=e(P.host);P.host=O.host.toLowerCase(),C=O.isIPV6}else C=!0;P.scheme===void 0&&P.userinfo===void 0&&P.host===void 0&&P.port===void 0&&P.query===void 0&&!P.path?P.reference="same-document":P.scheme===void 0?P.reference="relative":P.fragment===void 0?P.reference="absolute":P.reference="uri",T.reference&&T.reference!=="suffix"&&T.reference!==P.reference&&(P.error=P.error||"URI is not a "+T.reference+" reference.");const R=c(T.scheme||P.scheme);if(!T.unicodeSupport&&(!R||!R.unicodeSupport)&&P.host&&(T.domainHost||R&&R.domainHost)&&C===!1&&i(P.host))try{P.host=URL.domainToASCII(P.host.toLowerCase())}catch(D){P.error=P.error||"Host's domain name can not be converted to ASCII: "+D}(!R||R&&!R.skipNormalize)&&(k.indexOf("%")!==-1&&(P.scheme!==void 0&&(P.scheme=unescape(P.scheme)),P.host!==void 0&&(P.host=unescape(P.host))),P.path&&(P.path=escape(unescape(P.path))),P.fragment&&(P.fragment=encodeURI(decodeURIComponent(P.fragment)))),R&&R.parse&&R.parse(P,T)}else P.error=P.error||"URI can not be parsed.";return P}const S={SCHEMES:l,normalize:d,resolve:p,resolveComponent:m,equal:h,serialize:f,parse:b};return Mu.exports=S,Mu.exports.default=S,Mu.exports.fastUri=S,Mu.exports}var uR;function OK(){if(uR)return jh;uR=1,Object.defineProperty(jh,"__esModule",{value:!0});const e=DK();return e.code='require("ajv/dist/runtime/uri").default',jh.default=e,jh}var pR;function MK(){return pR||(pR=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=Ov();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var o=St();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const a=rk(),n=Mv(),i=jI(),l=ik(),c=St(),d=Dv(),p=Pf(),m=Ft(),h=AK,f=OK(),v=(Q,N)=>new RegExp(Q,N);v.code="new RegExp";const b=["removeAdditional","useDefaults","coerceTypes"],S=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),k={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."},x={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},T=200;function P(Q){var N,G,V,I,z,X,pe,he,ke,qe,Z,ne,ve,ie,xe,Ee,it,lt,Ge,ot,Me,Oe,He,Y,oe;const se=Q.strict,_e=(N=Q.code)===null||N===void 0?void 0:N.optimize,Ae=_e===!0||_e===void 0?1:_e||0,Re=(V=(G=Q.code)===null||G===void 0?void 0:G.regExp)!==null&&V!==void 0?V:v,Be=(I=Q.uriResolver)!==null&&I!==void 0?I:f.default;return{strictSchema:(X=(z=Q.strictSchema)!==null&&z!==void 0?z:se)!==null&&X!==void 0?X:!0,strictNumbers:(he=(pe=Q.strictNumbers)!==null&&pe!==void 0?pe:se)!==null&&he!==void 0?he:!0,strictTypes:(qe=(ke=Q.strictTypes)!==null&&ke!==void 0?ke:se)!==null&&qe!==void 0?qe:"log",strictTuples:(ne=(Z=Q.strictTuples)!==null&&Z!==void 0?Z:se)!==null&&ne!==void 0?ne:"log",strictRequired:(ie=(ve=Q.strictRequired)!==null&&ve!==void 0?ve:se)!==null&&ie!==void 0?ie:!1,code:Q.code?{...Q.code,optimize:Ae,regExp:Re}:{optimize:Ae,regExp:Re},loopRequired:(xe=Q.loopRequired)!==null&&xe!==void 0?xe:T,loopEnum:(Ee=Q.loopEnum)!==null&&Ee!==void 0?Ee:T,meta:(it=Q.meta)!==null&&it!==void 0?it:!0,messages:(lt=Q.messages)!==null&<!==void 0?lt:!0,inlineRefs:(Ge=Q.inlineRefs)!==null&&Ge!==void 0?Ge:!0,schemaId:(ot=Q.schemaId)!==null&&ot!==void 0?ot:"$id",addUsedSchema:(Me=Q.addUsedSchema)!==null&&Me!==void 0?Me:!0,validateSchema:(Oe=Q.validateSchema)!==null&&Oe!==void 0?Oe:!0,validateFormats:(He=Q.validateFormats)!==null&&He!==void 0?He:!0,unicodeRegExp:(Y=Q.unicodeRegExp)!==null&&Y!==void 0?Y:!0,int32range:(oe=Q.int32range)!==null&&oe!==void 0?oe:!0,uriResolver:Be}}class C{constructor(N={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,N=this.opts={...N,...P(N)};const{es5:G,lines:V}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:S,es5:G,lines:V}),this.logger=U(N.logger);const I=N.validateFormats;N.validateFormats=!1,this.RULES=(0,i.getRules)(),E.call(this,k,N,"NOT SUPPORTED"),E.call(this,x,N,"DEPRECATED","warn"),this._metaOpts=$.call(this),N.formats&&O.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),N.keywords&&L.call(this,N.keywords),typeof N.meta=="object"&&this.addMetaSchema(N.meta),D.call(this),N.validateFormats=I}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:N,meta:G,schemaId:V}=this.opts;let I=h;V==="id"&&(I={...h},I.id=I.$id,delete I.$id),G&&N&&this.addMetaSchema(I,I[V],!1)}defaultMeta(){const{meta:N,schemaId:G}=this.opts;return this.opts.defaultMeta=typeof N=="object"?N[G]||N:void 0}validate(N,G){let V;if(typeof N=="string"){if(V=this.getSchema(N),!V)throw new Error(`no schema with key or ref "${N}"`)}else V=this.compile(N);const I=V(G);return"$async"in V||(this.errors=V.errors),I}compile(N,G){const V=this._addSchema(N,G);return V.validate||this._compileSchemaEnv(V)}compileAsync(N,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,N,G);async function I(qe,Z){await z.call(this,qe.$schema);const ne=this._addSchema(qe,Z);return ne.validate||X.call(this,ne)}async function z(qe){qe&&!this.getSchema(qe)&&await I.call(this,{$ref:qe},!0)}async function X(qe){try{return this._compileSchemaEnv(qe)}catch(Z){if(!(Z instanceof n.default))throw Z;return pe.call(this,Z),await he.call(this,Z.missingSchema),X.call(this,qe)}}function pe({missingSchema:qe,missingRef:Z}){if(this.refs[qe])throw new Error(`AnySchema ${qe} is loaded but ${Z} cannot be resolved`)}async function he(qe){const Z=await ke.call(this,qe);this.refs[qe]||await z.call(this,Z.$schema),this.refs[qe]||this.addSchema(Z,qe,G)}async function ke(qe){const Z=this._loading[qe];if(Z)return Z;try{return await(this._loading[qe]=V(qe))}finally{delete this._loading[qe]}}}addSchema(N,G,V,I=this.opts.validateSchema){if(Array.isArray(N)){for(const X of N)this.addSchema(X,void 0,V,I);return this}let z;if(typeof N=="object"){const{schemaId:X}=this.opts;if(z=N[X],z!==void 0&&typeof z!="string")throw new Error(`schema ${X} must be string`)}return G=(0,d.normalizeId)(G||z),this._checkUnique(G),this.schemas[G]=this._addSchema(N,V,G,I,!0),this}addMetaSchema(N,G,V=this.opts.validateSchema){return this.addSchema(N,G,!0,V),this}validateSchema(N,G){if(typeof N=="boolean")return!0;let V;if(V=N.$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,N);if(!I&&G){const z="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(z);else throw new Error(z)}return I}getSchema(N){let G;for(;typeof(G=R.call(this,N))=="string";)N=G;if(G===void 0){const{schemaId:V}=this.opts,I=new l.SchemaEnv({schema:{},schemaId:V});if(G=l.resolveSchema.call(this,I,N),!G)return;this.refs[N]=G}return G.validate||this._compileSchemaEnv(G)}removeSchema(N){if(N instanceof RegExp)return this._removeAllSchemas(this.schemas,N),this._removeAllSchemas(this.refs,N),this;switch(typeof N){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const G=R.call(this,N);return typeof G=="object"&&this._cache.delete(G.schema),delete this.schemas[N],delete this.refs[N],this}case"object":{const G=N;this._cache.delete(G);let V=N[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(N){for(const G of N)this.addKeyword(G);return this}addKeyword(N,G){let V;if(typeof N=="string")V=N,typeof G=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),G.keyword=V);else if(typeof N=="object"&&G===void 0){if(G=N,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,z=>ae.call(this,z)),this;K.call(this,G);const I={...G,type:(0,p.getJSONTypes)(G.type),schemaType:(0,p.getJSONTypes)(G.schemaType)};return(0,m.eachItem)(V,I.type.length===0?z=>ae.call(this,z,I):z=>I.type.forEach(X=>ae.call(this,z,I,X))),this}getKeyword(N){const G=this.RULES.all[N];return typeof G=="object"?G.definition:!!G}removeKeyword(N){const{RULES:G}=this;delete G.keywords[N],delete G.all[N];for(const V of G.rules){const I=V.rules.findIndex(z=>z.keyword===N);I>=0&&V.rules.splice(I,1)}return this}addFormat(N,G){return typeof G=="string"&&(G=new RegExp(G)),this.formats[N]=G,this}errorsText(N=this.errors,{separator:G=", ",dataVar:V="data"}={}){return!N||N.length===0?"No errors":N.map(I=>`${V}${I.instancePath} ${I.message}`).reduce((I,z)=>I+G+z)}$dataMetaSchema(N,G){const V=this.RULES.all;N=JSON.parse(JSON.stringify(N));for(const I of G){const z=I.split("/").slice(1);let X=N;for(const pe of z)X=X[pe];for(const pe in V){const he=V[pe];if(typeof he!="object")continue;const{$data:ke}=he.definition,qe=X[pe];ke&&qe&&(X[pe]=le(qe))}}return N}_removeAllSchemas(N,G){for(const V in N){const I=N[V];(!G||G.test(V))&&(typeof I=="string"?delete N[V]:I&&!I.meta&&(this._cache.delete(I.schema),delete N[V]))}}_addSchema(N,G,V,I=this.opts.validateSchema,z=this.opts.addUsedSchema){let X;const{schemaId:pe}=this.opts;if(typeof N=="object")X=N[pe];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof N!="boolean")throw new Error("schema must be object or boolean")}let he=this._cache.get(N);if(he!==void 0)return he;V=(0,d.normalizeId)(X||V);const ke=d.getSchemaRefs.call(this,N,V);return he=new l.SchemaEnv({schema:N,schemaId:pe,meta:G,baseId:V,localRefs:ke}),this._cache.set(he.schema,he),z&&!V.startsWith("#")&&(V&&this._checkUnique(V),this.refs[V]=he),I&&this.validateSchema(N,!0),he}_checkUnique(N){if(this.schemas[N]||this.refs[N])throw new Error(`schema with key or id "${N}" already exists`)}_compileSchemaEnv(N){if(N.meta?this._compileMetaSchema(N):l.compileSchema.call(this,N),!N.validate)throw new Error("ajv implementation error");return N.validate}_compileMetaSchema(N){const G=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,N)}finally{this.opts=G}}}C.ValidationError=a.default,C.MissingRefError=n.default,e.default=C;function E(Q,N,G,V="error"){for(const I in Q){const z=I;z in N&&this.logger[V](`${G}: option ${I}. ${Q[z]}`)}}function R(Q){return Q=(0,d.normalizeId)(Q),this.schemas[Q]||this.refs[Q]}function D(){const Q=this.opts.schemas;if(Q)if(Array.isArray(Q))this.addSchema(Q);else for(const N in Q)this.addSchema(Q[N],N)}function O(){for(const Q in this.opts.formats){const N=this.opts.formats[Q];N&&this.addFormat(Q,N)}}function L(Q){if(Array.isArray(Q)){this.addVocabulary(Q);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const N in Q){const G=Q[N];G.keyword||(G.keyword=N),this.addKeyword(G)}}function $(){const Q={...this.opts};for(const N of b)delete Q[N];return Q}const B={log(){},warn(){},error(){}};function U(Q){if(Q===!1)return B;if(Q===void 0)return console;if(Q.log&&Q.warn&&Q.error)return Q;throw new Error("logger must implement log, warn and error methods")}const F=/^[a-z_$][a-z0-9_$:-]*$/i;function W(Q,N){const{RULES:G}=this;if((0,m.eachItem)(Q,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`)}),!!N&&N.$data&&!("code"in N||"validate"in N))throw new Error('$data keyword must have "code" or "validate" function')}function ae(Q,N,G){var V;const I=N?.post;if(G&&I)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:z}=this;let X=I?z.post:z.rules.find(({type:he})=>he===G);if(X||(X={type:G,rules:[]},z.rules.push(X)),z.keywords[Q]=!0,!N)return;const pe={keyword:Q,definition:{...N,type:(0,p.getJSONTypes)(N.type),schemaType:(0,p.getJSONTypes)(N.schemaType)}};N.before?H.call(this,X,pe,N.before):X.rules.push(pe),z.all[Q]=pe,(V=N.implements)===null||V===void 0||V.forEach(he=>this.addKeyword(he))}function H(Q,N,G){const V=Q.rules.findIndex(I=>I.keyword===G);V>=0?Q.rules.splice(V,0,N):(Q.rules.push(N),this.logger.warn(`rule ${G} is not defined`))}function K(Q){let{metaSchema:N}=Q;N!==void 0&&(Q.$data&&this.opts.$data&&(N=le(N)),Q.validateSchema=this.compile(N,!0))}const J={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function le(Q){return{anyOf:[Q,J]}}})(US)),US}var zh={},Uh={},qh={},mR;function NK(){if(mR)return qh;mR=1,Object.defineProperty(qh,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return qh.default=e,qh}var ls={},hR;function IK(){if(hR)return ls;hR=1,Object.defineProperty(ls,"__esModule",{value:!0}),ls.callRef=ls.getValidate=void 0;const e=Mv(),t=_r(),o=St(),a=Fs(),n=ik(),i=Ft(),l={keyword:"$ref",schemaType:"string",code(p){const{gen:m,schema:h,it:f}=p,{baseId:v,schemaEnv:b,validateName:S,opts:k,self:x}=f,{root:T}=b;if((h==="#"||h==="#/")&&v===T.baseId)return C();const P=n.resolveRef.call(x,T,v,h);if(P===void 0)throw new e.default(f.opts.uriResolver,v,h);if(P instanceof n.SchemaEnv)return E(P);return R(P);function C(){if(b===T)return d(p,S,b,b.$async);const D=m.scopeValue("root",{ref:T});return d(p,(0,o._)`${D}.validate`,T,T.$async)}function E(D){const O=c(p,D);d(p,O,D,D.$async)}function R(D){const O=m.scopeValue("schema",k.code.source===!0?{ref:D,code:(0,o.stringify)(D)}:{ref:D}),L=m.name("valid"),$=p.subschema({schema:D,dataTypes:[],schemaPath:o.nil,topSchemaRef:O,errSchemaPath:h},L);p.mergeEvaluated($),p.ok(L)}}};function c(p,m){const{gen:h}=p;return m.validate?h.scopeValue("validate",{ref:m.validate}):(0,o._)`${h.scopeValue("wrapper",{ref:m})}.validate`}ls.getValidate=c;function d(p,m,h,f){const{gen:v,it:b}=p,{allErrors:S,schemaEnv:k,opts:x}=b,T=x.passContext?a.default.this:o.nil;f?P():C();function P(){if(!k.$async)throw new Error("async schema referenced by sync schema");const D=v.let("valid");v.try(()=>{v.code((0,o._)`await ${(0,t.callValidateCode)(p,m,T)}`),R(m),S||v.assign(D,!0)},O=>{v.if((0,o._)`!(${O} instanceof ${b.ValidationError})`,()=>v.throw(O)),E(O),S||v.assign(D,!1)}),p.ok(D)}function C(){p.result((0,t.callValidateCode)(p,m,T),()=>R(m),()=>E(m))}function E(D){const O=(0,o._)`${D}.errors`;v.assign(a.default.vErrors,(0,o._)`${a.default.vErrors} === null ? ${O} : ${a.default.vErrors}.concat(${O})`),v.assign(a.default.errors,(0,o._)`${a.default.vErrors}.length`)}function R(D){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=i.mergeEvaluated.props(v,L.props,b.props));else{const $=v.var("props",(0,o._)`${D}.evaluated.props`);b.props=i.mergeEvaluated.props(v,$,b.props,o.Name)}if(b.items!==!0)if(L&&!L.dynamicItems)L.items!==void 0&&(b.items=i.mergeEvaluated.items(v,L.items,b.items));else{const $=v.var("items",(0,o._)`${D}.evaluated.items`);b.items=i.mergeEvaluated.items(v,$,b.items,o.Name)}}}return ls.callRef=d,ls.default=l,ls}var gR;function LK(){if(gR)return Uh;gR=1,Object.defineProperty(Uh,"__esModule",{value:!0});const e=NK(),t=IK(),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return Uh.default=o,Uh}var $h={},Vh={},fR;function BK(){if(fR)return Vh;fR=1,Object.defineProperty(Vh,"__esModule",{value:!0});const e=St(),t=e.operators,o={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}},a={message:({keyword:i,schemaCode:l})=>(0,e.str)`must be ${o[i].okStr} ${l}`,params:({keyword:i,schemaCode:l})=>(0,e._)`{comparison: ${o[i].okStr}, limit: ${l}}`},n={keyword:Object.keys(o),type:"number",schemaType:"number",$data:!0,error:a,code(i){const{keyword:l,data:c,schemaCode:d}=i;i.fail$data((0,e._)`${c} ${o[l].fail} ${d} || isNaN(${c})`)}};return Vh.default=n,Vh}var Hh={},vR;function FK(){if(vR)return Hh;vR=1,Object.defineProperty(Hh,"__esModule",{value:!0});const e=St(),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:a})=>(0,e.str)`must be multiple of ${a}`,params:({schemaCode:a})=>(0,e._)`{multipleOf: ${a}}`},code(a){const{gen:n,data:i,schemaCode:l,it:c}=a,d=c.opts.multipleOfPrecision,p=n.let("res"),m=d?(0,e._)`Math.abs(Math.round(${p}) - ${p}) > 1e-${d}`:(0,e._)`${p} !== parseInt(${p})`;a.fail$data((0,e._)`(${l} === 0 || (${p} = ${i}/${l}, ${m}))`)}};return Hh.default=o,Hh}var Gh={},Wh={},bR;function jK(){if(bR)return Wh;bR=1,Object.defineProperty(Wh,"__esModule",{value:!0});function e(t){const o=t.length;let a=0,n=0,i;for(;n<o;)a++,i=t.charCodeAt(n++),i>=55296&&i<=56319&&n<o&&(i=t.charCodeAt(n),(i&64512)===56320&&n++);return a}return Wh.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',Wh}var yR;function zK(){if(yR)return Gh;yR=1,Object.defineProperty(Gh,"__esModule",{value:!0});const e=St(),t=Ft(),o=jK(),n={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:i,schemaCode:l}){const c=i==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${c} than ${l} characters`},params:({schemaCode:i})=>(0,e._)`{limit: ${i}}`},code(i){const{keyword:l,data:c,schemaCode:d,it:p}=i,m=l==="maxLength"?e.operators.GT:e.operators.LT,h=p.opts.unicode===!1?(0,e._)`${c}.length`:(0,e._)`${(0,t.useFunc)(i.gen,o.default)}(${c})`;i.fail$data((0,e._)`${h} ${m} ${d}`)}};return Gh.default=n,Gh}var Kh={},SR;function UK(){if(SR)return Kh;SR=1,Object.defineProperty(Kh,"__esModule",{value:!0});const e=_r(),t=Ft(),o=St(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:i})=>(0,o.str)`must match pattern "${i}"`,params:({schemaCode:i})=>(0,o._)`{pattern: ${i}}`},code(i){const{gen:l,data:c,$data:d,schema:p,schemaCode:m,it:h}=i,f=h.opts.unicodeRegExp?"u":"";if(d){const{regExp:v}=h.opts.code,b=v.code==="new RegExp"?(0,o._)`new RegExp`:(0,t.useFunc)(l,v),S=l.let("valid");l.try(()=>l.assign(S,(0,o._)`${b}(${m}, ${f}).test(${c})`),()=>l.assign(S,!1)),i.fail$data((0,o._)`!${S}`)}else{const v=(0,e.usePattern)(i,p);i.fail$data((0,o._)`!${v}.test(${c})`)}}};return Kh.default=n,Kh}var Yh={},wR;function qK(){if(wR)return Yh;wR=1,Object.defineProperty(Yh,"__esModule",{value:!0});const e=St(),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:a,schemaCode:n}){const i=a==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${i} than ${n} properties`},params:({schemaCode:a})=>(0,e._)`{limit: ${a}}`},code(a){const{keyword:n,data:i,schemaCode:l}=a,c=n==="maxProperties"?e.operators.GT:e.operators.LT;a.fail$data((0,e._)`Object.keys(${i}).length ${c} ${l}`)}};return Yh.default=o,Yh}var Zh={},xR;function $K(){if(xR)return Zh;xR=1,Object.defineProperty(Zh,"__esModule",{value:!0});const e=_r(),t=St(),o=Ft(),n={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:i}})=>(0,t.str)`must have required property '${i}'`,params:({params:{missingProperty:i}})=>(0,t._)`{missingProperty: ${i}}`},code(i){const{gen:l,schema:c,schemaCode:d,data:p,$data:m,it:h}=i,{opts:f}=h;if(!m&&c.length===0)return;const v=c.length>=f.loopRequired;if(h.allErrors?b():S(),f.strictRequired){const T=i.parentSchema.properties,{definedProperties:P}=i.it;for(const C of c)if(T?.[C]===void 0&&!P.has(C)){const E=h.schemaEnv.baseId+h.errSchemaPath,R=`required property "${C}" is not defined at "${E}" (strictRequired)`;(0,o.checkStrictMode)(h,R,h.opts.strictRequired)}}function b(){if(v||m)i.block$data(t.nil,k);else for(const T of c)(0,e.checkReportMissingProp)(i,T)}function S(){const T=l.let("missing");if(v||m){const P=l.let("valid",!0);i.block$data(P,()=>x(T,P)),i.ok(P)}else l.if((0,e.checkMissingProp)(i,c,T)),(0,e.reportMissingProp)(i,T),l.else()}function k(){l.forOf("prop",d,T=>{i.setParams({missingProperty:T}),l.if((0,e.noPropertyInData)(l,p,T,f.ownProperties),()=>i.error())})}function x(T,P){i.setParams({missingProperty:T}),l.forOf(T,d,()=>{l.assign(P,(0,e.propertyInData)(l,p,T,f.ownProperties)),l.if((0,t.not)(P),()=>{i.error(),l.break()})},t.nil)}}};return Zh.default=n,Zh}var Qh={},TR;function VK(){if(TR)return Qh;TR=1,Object.defineProperty(Qh,"__esModule",{value:!0});const e=St(),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:a,schemaCode:n}){const i=a==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${i} than ${n} items`},params:({schemaCode:a})=>(0,e._)`{limit: ${a}}`},code(a){const{keyword:n,data:i,schemaCode:l}=a,c=n==="maxItems"?e.operators.GT:e.operators.LT;a.fail$data((0,e._)`${i}.length ${c} ${l}`)}};return Qh.default=o,Qh}var Jh={},Xh={},kR;function sk(){if(kR)return Xh;kR=1,Object.defineProperty(Xh,"__esModule",{value:!0});const e=UI();return e.code='require("ajv/dist/runtime/equal").default',Xh.default=e,Xh}var _R;function HK(){if(_R)return Jh;_R=1,Object.defineProperty(Jh,"__esModule",{value:!0});const e=Pf(),t=St(),o=Ft(),a=sk(),i={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:l,j:c}})=>(0,t.str)`must NOT have duplicate items (items ## ${c} and ${l} are identical)`,params:({params:{i:l,j:c}})=>(0,t._)`{i: ${l}, j: ${c}}`},code(l){const{gen:c,data:d,$data:p,schema:m,parentSchema:h,schemaCode:f,it:v}=l;if(!p&&!m)return;const b=c.let("valid"),S=h.items?(0,e.getSchemaTypes)(h.items):[];l.block$data(b,k,(0,t._)`${f} === false`),l.ok(b);function k(){const C=c.let("i",(0,t._)`${d}.length`),E=c.let("j");l.setParams({i:C,j:E}),c.assign(b,!0),c.if((0,t._)`${C} > 1`,()=>(x()?T:P)(C,E))}function x(){return S.length>0&&!S.some(C=>C==="object"||C==="array")}function T(C,E){const R=c.name("item"),D=(0,e.checkDataTypes)(S,R,v.opts.strictNumbers,e.DataType.Wrong),O=c.const("indices",(0,t._)`{}`);c.for((0,t._)`;${C}--;`,()=>{c.let(R,(0,t._)`${d}[${C}]`),c.if(D,(0,t._)`continue`),S.length>1&&c.if((0,t._)`typeof ${R} == "string"`,(0,t._)`${R} += "_"`),c.if((0,t._)`typeof ${O}[${R}] == "number"`,()=>{c.assign(E,(0,t._)`${O}[${R}]`),l.error(),c.assign(b,!1).break()}).code((0,t._)`${O}[${R}] = ${C}`)})}function P(C,E){const R=(0,o.useFunc)(c,a.default),D=c.name("outer");c.label(D).for((0,t._)`;${C}--;`,()=>c.for((0,t._)`${E} = ${C}; ${E}--;`,()=>c.if((0,t._)`${R}(${d}[${C}], ${d}[${E}])`,()=>{l.error(),c.assign(b,!1).break(D)})))}}};return Jh.default=i,Jh}var eg={},CR;function GK(){if(CR)return eg;CR=1,Object.defineProperty(eg,"__esModule",{value:!0});const e=St(),t=Ft(),o=sk(),n={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:i})=>(0,e._)`{allowedValue: ${i}}`},code(i){const{gen:l,data:c,$data:d,schemaCode:p,schema:m}=i;d||m&&typeof m=="object"?i.fail$data((0,e._)`!${(0,t.useFunc)(l,o.default)}(${c}, ${p})`):i.fail((0,e._)`${m} !== ${c}`)}};return eg.default=n,eg}var tg={},ER;function WK(){if(ER)return tg;ER=1,Object.defineProperty(tg,"__esModule",{value:!0});const e=St(),t=Ft(),o=sk(),n={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:i})=>(0,e._)`{allowedValues: ${i}}`},code(i){const{gen:l,data:c,$data:d,schema:p,schemaCode:m,it:h}=i;if(!d&&p.length===0)throw new Error("enum must have non-empty array");const f=p.length>=h.opts.loopEnum;let v;const b=()=>v??(v=(0,t.useFunc)(l,o.default));let S;if(f||d)S=l.let("valid"),i.block$data(S,k);else{if(!Array.isArray(p))throw new Error("ajv implementation error");const T=l.const("vSchema",m);S=(0,e.or)(...p.map((P,C)=>x(T,C)))}i.pass(S);function k(){l.assign(S,!1),l.forOf("v",m,T=>l.if((0,e._)`${b()}(${c}, ${T})`,()=>l.assign(S,!0).break()))}function x(T,P){const C=p[P];return typeof C=="object"&&C!==null?(0,e._)`${b()}(${c}, ${T}[${P}])`:(0,e._)`${c} === ${C}`}}};return tg.default=n,tg}var PR;function KK(){if(PR)return $h;PR=1,Object.defineProperty($h,"__esModule",{value:!0});const e=BK(),t=FK(),o=zK(),a=UK(),n=qK(),i=$K(),l=VK(),c=HK(),d=GK(),p=WK(),m=[e.default,t.default,o.default,a.default,n.default,i.default,l.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,p.default];return $h.default=m,$h}var og={},Ac={},AR;function $I(){if(AR)return Ac;AR=1,Object.defineProperty(Ac,"__esModule",{value:!0}),Ac.validateAdditionalItems=void 0;const e=St(),t=Ft(),a={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],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{parentSchema:l,it:c}=i,{items:d}=l;if(!Array.isArray(d)){(0,t.checkStrictMode)(c,'"additionalItems" is ignored when "items" is not an array of schemas');return}n(i,d)}};function n(i,l){const{gen:c,schema:d,data:p,keyword:m,it:h}=i;h.items=!0;const f=c.const("len",(0,e._)`${p}.length`);if(d===!1)i.setParams({len:l.length}),i.pass((0,e._)`${f} <= ${l.length}`);else if(typeof d=="object"&&!(0,t.alwaysValidSchema)(h,d)){const b=c.var("valid",(0,e._)`${f} <= ${l.length}`);c.if((0,e.not)(b),()=>v(b)),i.ok(b)}function v(b){c.forRange("i",l.length,f,S=>{i.subschema({keyword:m,dataProp:S,dataPropType:t.Type.Num},b),h.allErrors||c.if((0,e.not)(b),()=>c.break())})}}return Ac.validateAdditionalItems=n,Ac.default=a,Ac}var ag={},Rc={},RR;function VI(){if(RR)return Rc;RR=1,Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.validateTuple=void 0;const e=St(),t=Ft(),o=_r(),a={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(i){const{schema:l,it:c}=i;if(Array.isArray(l))return n(i,"additionalItems",l);c.items=!0,!(0,t.alwaysValidSchema)(c,l)&&i.ok((0,o.validateArray)(i))}};function n(i,l,c=i.schema){const{gen:d,parentSchema:p,data:m,keyword:h,it:f}=i;S(p),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((k,x)=>{(0,t.alwaysValidSchema)(f,k)||(d.if((0,e._)`${b} > ${x}`,()=>i.subschema({keyword:h,schemaProp:x,dataProp:x},v)),i.ok(v))});function S(k){const{opts:x,errSchemaPath:T}=f,P=c.length,C=P===k.minItems&&(P===k.maxItems||k[l]===!1);if(x.strictTuples&&!C){const E=`"${h}" is ${P}-tuple, but minItems or maxItems/${l} are not specified or different at path "${T}"`;(0,t.checkStrictMode)(f,E,x.strictTuples)}}}return Rc.validateTuple=n,Rc.default=a,Rc}var DR;function YK(){if(DR)return ag;DR=1,Object.defineProperty(ag,"__esModule",{value:!0});const e=VI(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:o=>(0,e.validateTuple)(o,"items")};return ag.default=t,ag}var ng={},OR;function ZK(){if(OR)return ng;OR=1,Object.defineProperty(ng,"__esModule",{value:!0});const e=St(),t=Ft(),o=_r(),a=$I(),i={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:l}})=>(0,e.str)`must NOT have more than ${l} items`,params:({params:{len:l}})=>(0,e._)`{limit: ${l}}`},code(l){const{schema:c,parentSchema:d,it:p}=l,{prefixItems:m}=d;p.items=!0,!(0,t.alwaysValidSchema)(p,c)&&(m?(0,a.validateAdditionalItems)(l,m):l.ok((0,o.validateArray)(l)))}};return ng.default=i,ng}var rg={},MR;function QK(){if(MR)return rg;MR=1,Object.defineProperty(rg,"__esModule",{value:!0});const e=St(),t=Ft(),a={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:n,max:i}})=>i===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 ${i} valid item(s)`,params:({params:{min:n,max:i}})=>i===void 0?(0,e._)`{minContains: ${n}}`:(0,e._)`{minContains: ${n}, maxContains: ${i}}`},code(n){const{gen:i,schema:l,parentSchema:c,data:d,it:p}=n;let m,h;const{minContains:f,maxContains:v}=c;p.opts.next?(m=f===void 0?1:f,h=v):m=1;const b=i.const("len",(0,e._)`${d}.length`);if(n.setParams({min:m,max:h}),h===void 0&&m===0){(0,t.checkStrictMode)(p,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(h!==void 0&&m>h){(0,t.checkStrictMode)(p,'"minContains" > "maxContains" is always invalid'),n.fail();return}if((0,t.alwaysValidSchema)(p,l)){let P=(0,e._)`${b} >= ${m}`;h!==void 0&&(P=(0,e._)`${P} && ${b} <= ${h}`),n.pass(P);return}p.items=!0;const S=i.name("valid");h===void 0&&m===1?x(S,()=>i.if(S,()=>i.break())):m===0?(i.let(S,!0),h!==void 0&&i.if((0,e._)`${d}.length > 0`,k)):(i.let(S,!1),k()),n.result(S,()=>n.reset());function k(){const P=i.name("_valid"),C=i.let("count",0);x(P,()=>i.if(P,()=>T(C)))}function x(P,C){i.forRange("i",0,b,E=>{n.subschema({keyword:"contains",dataProp:E,dataPropType:t.Type.Num,compositeRule:!0},P),C()})}function T(P){i.code((0,e._)`${P}++`),h===void 0?i.if((0,e._)`${P} >= ${m}`,()=>i.assign(S,!0).break()):(i.if((0,e._)`${P} > ${h}`,()=>i.assign(S,!1).break()),m===1?i.assign(S,!0):i.if((0,e._)`${P} >= ${m}`,()=>i.assign(S,!0)))}}};return rg.default=a,rg}var ZS={},NR;function JK(){return NR||(NR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=St(),o=Ft(),a=_r();e.error={message:({params:{property:d,depsCount:p,deps:m}})=>{const h=p===1?"property":"properties";return(0,t.str)`must have ${h} ${m} when property ${d} is present`},params:({params:{property:d,depsCount:p,deps:m,missingProperty:h}})=>(0,t._)`{property: ${d},
|
|
53
53
|
missingProperty: ${h},
|
|
54
54
|
depsCount: ${p},
|
|
55
|
-
deps: ${m}}`};const n={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[p,m]=i(d);l(d,p),c(d,m)}};function i({schema:d}){const p={},m={};for(const h in d){if(h==="__proto__")continue;const f=Array.isArray(d[h])?p:m;f[h]=d[h]}return[p,m]}function l(d,p=d.schema){const{gen:m,data:h,it:f}=d;if(Object.keys(p).length===0)return;const v=m.let("missing");for(const b in p){const S=p[b];if(S.length===0)continue;const k=(0,a.propertyInData)(m,h,b,f.opts.ownProperties);d.setParams({property:b,depsCount:S.length,deps:S.join(", ")}),f.allErrors?m.if(k,()=>{for(const x of S)(0,a.checkReportMissingProp)(d,x)}):(m.if((0,t._)`${k} && (${(0,a.checkMissingProp)(d,S,v)})`),(0,a.reportMissingProp)(d,v),m.else())}}e.validatePropertyDeps=l;function c(d,p=d.schema){const{gen:m,data:h,keyword:f,it:v}=d,b=m.name("valid");for(const S in p)(0,o.alwaysValidSchema)(v,p[S])||(m.if((0,a.propertyInData)(m,h,S,v.opts.ownProperties),()=>{const k=d.subschema({keyword:f,schemaProp:S},b);d.mergeValidEvaluated(k,b)},()=>m.var(b,!0)),d.ok(b))}e.validateSchemaDeps=c,e.default=n})(ZS)),ZS}var ig={},IR;function XK(){if(IR)return ig;IR=1,Object.defineProperty(ig,"__esModule",{value:!0});const e=St(),t=Ft(),a={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:i,schema:l,data:c,it:d}=n;if((0,t.alwaysValidSchema)(d,l))return;const p=i.name("valid");i.forIn("key",c,m=>{n.setParams({propertyName:m}),n.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},p),i.if((0,e.not)(p),()=>{n.error(!0),d.allErrors||i.break()})}),n.ok(p)}};return ig.default=a,ig}var sg={},LR;function HI(){if(LR)return sg;LR=1,Object.defineProperty(sg,"__esModule",{value:!0});const e=_r(),t=St(),o=Fs(),a=Ft(),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:l})=>(0,t._)`{additionalProperty: ${l.additionalProperty}}`},code(l){const{gen:c,schema:d,parentSchema:p,data:m,errsCount:h,it:f}=l;if(!h)throw new Error("ajv implementation error");const{allErrors:v,opts:b}=f;if(f.props=!0,b.removeAdditional!=="all"&&(0,a.alwaysValidSchema)(f,d))return;const S=(0,e.allSchemaProperties)(p.properties),k=(0,e.allSchemaProperties)(p.patternProperties);x(),l.ok((0,t._)`${h} === ${o.default.errors}`);function x(){c.forIn("key",m,R=>{!S.length&&!k.length?C(R):c.if(T(R),()=>C(R))})}function T(R){let D;if(S.length>8){const O=(0,a.schemaRefOrVal)(f,p.properties,"properties");D=(0,e.isOwnProperty)(c,O,R)}else S.length?D=(0,t.or)(...S.map(O=>(0,t._)`${R} === ${O}`)):D=t.nil;return k.length&&(D=(0,t.or)(D,...k.map(O=>(0,t._)`${(0,e.usePattern)(l,O)}.test(${R})`))),(0,t.not)(D)}function P(R){c.code((0,t._)`delete ${m}[${R}]`)}function C(R){if(b.removeAdditional==="all"||b.removeAdditional&&d===!1){P(R);return}if(d===!1){l.setParams({additionalProperty:R}),l.error(),v||c.break();return}if(typeof d=="object"&&!(0,a.alwaysValidSchema)(f,d)){const D=c.name("valid");b.removeAdditional==="failing"?(E(R,D,!1),c.if((0,t.not)(D),()=>{l.reset(),P(R)})):(E(R,D),v||c.if((0,t.not)(D),()=>c.break()))}}function E(R,D,O){const L={keyword:"additionalProperties",dataProp:R,dataPropType:a.Type.Str};O===!1&&Object.assign(L,{compositeRule:!0,createErrors:!1,allErrors:!1}),l.subschema(L,D)}}};return sg.default=i,sg}var lg={},BR;function eY(){if(BR)return lg;BR=1,Object.defineProperty(lg,"__esModule",{value:!0});const e=Ov(),t=_r(),o=Ft(),a=HI(),n={keyword:"properties",type:"object",schemaType:"object",code(i){const{gen:l,schema:c,parentSchema:d,data:p,it:m}=i;m.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&a.default.code(new e.KeywordCxt(m,a.default,"additionalProperties"));const h=(0,t.allSchemaProperties)(c);for(const k of h)m.definedProperties.add(k);m.opts.unevaluated&&h.length&&m.props!==!0&&(m.props=o.mergeEvaluated.props(l,(0,o.toHash)(h),m.props));const f=h.filter(k=>!(0,o.alwaysValidSchema)(m,c[k]));if(f.length===0)return;const v=l.name("valid");for(const k of f)b(k)?S(k):(l.if((0,t.propertyInData)(l,p,k,m.opts.ownProperties)),S(k),m.allErrors||l.else().var(v,!0),l.endIf()),i.it.definedProperties.add(k),i.ok(v);function b(k){return m.opts.useDefaults&&!m.compositeRule&&c[k].default!==void 0}function S(k){i.subschema({keyword:"properties",schemaProp:k,dataProp:k},v)}}};return lg.default=n,lg}var cg={},FR;function tY(){if(FR)return cg;FR=1,Object.defineProperty(cg,"__esModule",{value:!0});const e=_r(),t=St(),o=Ft(),a=Ft(),n={keyword:"patternProperties",type:"object",schemaType:"object",code(i){const{gen:l,schema:c,data:d,parentSchema:p,it:m}=i,{opts:h}=m,f=(0,e.allSchemaProperties)(c),v=f.filter(C=>(0,o.alwaysValidSchema)(m,c[C]));if(f.length===0||v.length===f.length&&(!m.opts.unevaluated||m.props===!0))return;const b=h.strictSchema&&!h.allowMatchingProperties&&p.properties,S=l.name("valid");m.props!==!0&&!(m.props instanceof t.Name)&&(m.props=(0,a.evaluatedPropsToName)(l,m.props));const{props:k}=m;x();function x(){for(const C of f)b&&T(C),m.allErrors?P(C):(l.var(S,!0),P(C),l.if(S))}function T(C){for(const E in b)new RegExp(C).test(E)&&(0,o.checkStrictMode)(m,`property ${E} matches pattern ${C} (use allowMatchingProperties)`)}function P(C){l.forIn("key",d,E=>{l.if((0,t._)`${(0,e.usePattern)(i,C)}.test(${E})`,()=>{const R=v.includes(C);R||i.subschema({keyword:"patternProperties",schemaProp:C,dataProp:E,dataPropType:a.Type.Str},S),m.opts.unevaluated&&k!==!0?l.assign((0,t._)`${k}[${E}]`,!0):!R&&!m.allErrors&&l.if((0,t.not)(S),()=>l.break())})})}}};return cg.default=n,cg}var dg={},jR;function oY(){if(jR)return dg;jR=1,Object.defineProperty(dg,"__esModule",{value:!0});const e=Ft(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(o){const{gen:a,schema:n,it:i}=o;if((0,e.alwaysValidSchema)(i,n)){o.fail();return}const l=a.name("valid");o.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},l),o.failResult(l,()=>o.reset(),()=>o.error())},error:{message:"must NOT be valid"}};return dg.default=t,dg}var ug={},zR;function aY(){if(zR)return ug;zR=1,Object.defineProperty(ug,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:_r().validateUnion,error:{message:"must match a schema in anyOf"}};return ug.default=t,ug}var pg={},UR;function nY(){if(UR)return pg;UR=1,Object.defineProperty(pg,"__esModule",{value:!0});const e=St(),t=Ft(),a={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:i,schema:l,parentSchema:c,it:d}=n;if(!Array.isArray(l))throw new Error("ajv implementation error");if(d.opts.discriminator&&c.discriminator)return;const p=l,m=i.let("valid",!1),h=i.let("passing",null),f=i.name("_valid");n.setParams({passing:h}),i.block(v),n.result(m,()=>n.reset(),()=>n.error(!0));function v(){p.forEach((b,S)=>{let k;(0,t.alwaysValidSchema)(d,b)?i.var(f,!0):k=n.subschema({keyword:"oneOf",schemaProp:S,compositeRule:!0},f),S>0&&i.if((0,e._)`${f} && ${m}`).assign(m,!1).assign(h,(0,e._)`[${h}, ${S}]`).else(),i.if(f,()=>{i.assign(m,!0),i.assign(h,S),k&&n.mergeEvaluated(k,e.Name)})})}}};return pg.default=a,pg}var mg={},qR;function rY(){if(qR)return mg;qR=1,Object.defineProperty(mg,"__esModule",{value:!0});const e=Ft(),t={keyword:"allOf",schemaType:"array",code(o){const{gen:a,schema:n,it:i}=o;if(!Array.isArray(n))throw new Error("ajv implementation error");const l=a.name("valid");n.forEach((c,d)=>{if((0,e.alwaysValidSchema)(i,c))return;const p=o.subschema({keyword:"allOf",schemaProp:d},l);o.ok(l),o.mergeEvaluated(p)})}};return mg.default=t,mg}var hg={},$R;function iY(){if($R)return hg;$R=1,Object.defineProperty(hg,"__esModule",{value:!0});const e=St(),t=Ft(),a={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:i})=>(0,e.str)`must match "${i.ifClause}" schema`,params:({params:i})=>(0,e._)`{failingKeyword: ${i.ifClause}}`},code(i){const{gen:l,parentSchema:c,it:d}=i;c.then===void 0&&c.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const p=n(d,"then"),m=n(d,"else");if(!p&&!m)return;const h=l.let("valid",!0),f=l.name("_valid");if(v(),i.reset(),p&&m){const S=l.let("ifClause");i.setParams({ifClause:S}),l.if(f,b("then",S),b("else",S))}else p?l.if(f,b("then")):l.if((0,e.not)(f),b("else"));i.pass(h,()=>i.error(!0));function v(){const S=i.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);i.mergeEvaluated(S)}function b(S,k){return()=>{const x=i.subschema({keyword:S},f);l.assign(h,f),i.mergeValidEvaluated(x,h),k?l.assign(k,(0,e._)`${S}`):i.setParams({ifClause:S})}}}};function n(i,l){const c=i.schema[l];return c!==void 0&&!(0,t.alwaysValidSchema)(i,c)}return hg.default=a,hg}var gg={},VR;function sY(){if(VR)return gg;VR=1,Object.defineProperty(gg,"__esModule",{value:!0});const e=Ft(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:o,parentSchema:a,it:n}){a.if===void 0&&(0,e.checkStrictMode)(n,`"${o}" without "if" is ignored`)}};return gg.default=t,gg}var HR;function lY(){if(HR)return og;HR=1,Object.defineProperty(og,"__esModule",{value:!0});const e=$I(),t=YK(),o=VI(),a=ZK(),n=QK(),i=JK(),l=XK(),c=HI(),d=eY(),p=tY(),m=oY(),h=aY(),f=nY(),v=rY(),b=iY(),S=sY();function k(x=!1){const T=[m.default,h.default,f.default,v.default,b.default,S.default,l.default,c.default,i.default,d.default,p.default];return x?T.push(t.default,a.default):T.push(e.default,o.default),T.push(n.default),T}return og.default=k,og}var fg={},vg={},GR;function cY(){if(GR)return vg;GR=1,Object.defineProperty(vg,"__esModule",{value:!0});const e=St(),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:a})=>(0,e.str)`must match format "${a}"`,params:({schemaCode:a})=>(0,e._)`{format: ${a}}`},code(a,n){const{gen:i,data:l,$data:c,schema:d,schemaCode:p,it:m}=a,{opts:h,errSchemaPath:f,schemaEnv:v,self:b}=m;if(!h.validateFormats)return;c?S():k();function S(){const x=i.scopeValue("formats",{ref:b.formats,code:h.code.formats}),T=i.const("fDef",(0,e._)`${x}[${p}]`),P=i.let("fType"),C=i.let("format");i.if((0,e._)`typeof ${T} == "object" && !(${T} instanceof RegExp)`,()=>i.assign(P,(0,e._)`${T}.type || "string"`).assign(C,(0,e._)`${T}.validate`),()=>i.assign(P,(0,e._)`"string"`).assign(C,T)),a.fail$data((0,e.or)(E(),R()));function E(){return h.strictSchema===!1?e.nil:(0,e._)`${p} && !${C}`}function R(){const D=v.$async?(0,e._)`(${T}.async ? await ${C}(${l}) : ${C}(${l}))`:(0,e._)`${C}(${l})`,O=(0,e._)`(typeof ${C} == "function" ? ${D} : ${C}.test(${l}))`;return(0,e._)`${C} && ${C} !== true && ${P} === ${n} && !${O}`}}function k(){const x=b.formats[d];if(!x){E();return}if(x===!0)return;const[T,P,C]=R(x);T===n&&a.pass(D());function E(){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 R(O){const L=O instanceof RegExp?(0,e.regexpCode)(O):h.code.formats?(0,e._)`${h.code.formats}${(0,e.getProperty)(d)}`:void 0,$=i.scopeValue("formats",{key:d,ref:O,code:L});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,e._)`${$}.validate`]:["string",O,$]}function D(){if(typeof x=="object"&&!(x instanceof RegExp)&&x.async){if(!v.$async)throw new Error("async format in sync schema");return(0,e._)`await ${C}(${l})`}return typeof P=="function"?(0,e._)`${C}(${l})`:(0,e._)`${C}.test(${l})`}}}};return vg.default=o,vg}var WR;function dY(){if(WR)return fg;WR=1,Object.defineProperty(fg,"__esModule",{value:!0});const t=[cY().default];return fg.default=t,fg}var cl={},KR;function uY(){return KR||(KR=1,Object.defineProperty(cl,"__esModule",{value:!0}),cl.contentVocabulary=cl.metadataVocabulary=void 0,cl.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],cl.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),cl}var YR;function pY(){if(YR)return zh;YR=1,Object.defineProperty(zh,"__esModule",{value:!0});const e=LK(),t=KK(),o=lY(),a=dY(),n=uY(),i=[e.default,t.default,(0,o.default)(),a.default,n.metadataVocabulary,n.contentVocabulary];return zh.default=i,zh}var bg={},Nu={},ZR;function mY(){if(ZR)return Nu;ZR=1,Object.defineProperty(Nu,"__esModule",{value:!0}),Nu.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(Nu.DiscrError=e={})),Nu}var QR;function hY(){if(QR)return bg;QR=1,Object.defineProperty(bg,"__esModule",{value:!0});const e=St(),t=mY(),o=ik(),a=Mv(),n=Ft(),l={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:p}})=>(0,e._)`{error: ${c}, tag: ${p}, tagValue: ${d}}`},code(c){const{gen:d,data:p,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 S=d.let("valid",!1),k=d.const("tag",(0,e._)`${p}${(0,e.getProperty)(b)}`);d.if((0,e._)`typeof ${k} == "string"`,()=>x(),()=>c.error(!1,{discrError:t.DiscrError.Tag,tag:k,tagName:b})),c.ok(S);function x(){const C=P();d.if(!1);for(const E in C)d.elseIf((0,e._)`${k} === ${E}`),d.assign(S,T(C[E]));d.else(),c.error(!1,{discrError:t.DiscrError.Mapping,tag:k,tagName:b}),d.endIf()}function T(C){const E=d.name("valid"),R=c.subschema({keyword:"oneOf",schemaProp:C},E);return c.mergeEvaluated(R,e.Name),E}function P(){var C;const E={},R=O(h);let D=!0;for(let B=0;B<v.length;B++){let U=v[B];if(U?.$ref&&!(0,n.schemaHasRulesButRef)(U,f.self.RULES)){const W=U.$ref;if(U=o.resolveRef.call(f.self,f.schemaEnv.root,f.baseId,W),U instanceof o.SchemaEnv&&(U=U.schema),U===void 0)throw new a.default(f.opts.uriResolver,f.baseId,W)}const F=(C=U?.properties)===null||C===void 0?void 0:C[b];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${b}"`);D=D&&(R||O(U)),L(F,B)}if(!D)throw new Error(`discriminator: "${b}" must be required`);return E;function O({required:B}){return Array.isArray(B)&&B.includes(b)}function L(B,U){if(B.const)$(B.const,U);else if(B.enum)for(const F of B.enum)$(F,U);else throw new Error(`discriminator: "properties/${b}" must have "const" or "enum"`)}function $(B,U){if(typeof B!="string"||B in E)throw new Error(`discriminator: "${b}" values must be unique strings`);E[B]=U}}}};return bg.default=l,bg}const gY="http://json-schema.org/draft-07/schema#",fY="http://json-schema.org/draft-07/schema#",vY="Core schema meta-schema",bY={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:[]}},yY=["object","boolean"],SY={$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:"#"}},wY={$schema:gY,$id:fY,title:vY,definitions:bY,type:yY,properties:SY,default:!0};var JR;function xY(){return JR||(JR=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 o=MK(),a=pY(),n=hY(),i=wY,l=["/properties"],c="http://json-schema.org/draft-07/schema";class d extends o.default{_addVocabularies(){super._addVocabularies(),a.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(i,l):i;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 p=Ov();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return p.KeywordCxt}});var m=St();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=rk();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=Mv();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})})(Ih,Ih.exports)),Ih.exports}var yg={exports:{}},QS={},XR;function TY(){return XR||(XR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(B,U){return{validate:B,compare:U}}e.fullFormats={date:t(i,l),time:t(d(!0),p),"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:x,"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:$,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:P,int32:{type:"number",validate:R},int64:{type:"number",validate:D},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$/,l),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),"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 o(B){return B%4===0&&(B%100!==0||B%400===0)}const a=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function i(B){const U=a.exec(B);if(!U)return!1;const F=+U[1],W=+U[2],ae=+U[3];return W>=1&&W<=12&&ae>=1&&ae<=(W===2&&o(F)?29:n[W])}function l(B,U){if(B&&U)return B>U?1:B<U?-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],le=W[5]==="-"?-1:1,Q=+(W[6]||0),N=+(W[7]||0);if(Q>23||N>59||B&&!J)return!1;if(ae<=23&&H<=59&&K<60)return!0;const G=H-N*le,V=ae-Q*le-(G<0?1:0);return(V===23||V===-1)&&(G===59||G===-1)&&K<61}}function p(B,U){if(!(B&&U))return;const F=new Date("2020-01-01T"+B).valueOf(),W=new Date("2020-01-01T"+U).valueOf();if(F&&W)return F-W}function m(B,U){if(!(B&&U))return;const F=c.exec(B),W=c.exec(U);if(F&&W)return B=F[1]+F[2]+F[3],U=W[1]+W[2]+W[3],B>U?1:B<U?-1:0}const h=/t|\s/i;function f(B){const U=d(B);return function(W){const ae=W.split(h);return ae.length===2&&i(ae[0])&&U(ae[1])}}function v(B,U){if(!(B&&U))return;const F=new Date(B).valueOf(),W=new Date(U).valueOf();if(F&&W)return F-W}function b(B,U){if(!(B&&U))return;const[F,W]=B.split(h),[ae,H]=U.split(h),K=l(F,ae);if(K!==void 0)return K||p(W,H)}const S=/\/|:/,k=/^(?:[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 x(B){return S.test(B)&&k.test(B)}const T=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function P(B){return T.lastIndex=0,T.test(B)}const C=-2147483648,E=2**31-1;function R(B){return Number.isInteger(B)&&B<=E&&B>=C}function D(B){return Number.isInteger(B)}function O(){return!0}const L=/[^\\]\\Z/;function $(B){if(L.test(B))return!1;try{return new RegExp(B),!0}catch{return!1}}})(QS)),QS}var JS={},eD;function kY(){return eD||(eD=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=xY(),o=St(),a=o.operators,n={formatMaximum:{okStr:"<=",ok:a.LTE,fail:a.GT},formatMinimum:{okStr:">=",ok:a.GTE,fail:a.LT},formatExclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},formatExclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}},i={message:({keyword:c,schemaCode:d})=>(0,o.str)`should be ${n[c].okStr} ${d}`,params:({keyword:c,schemaCode:d})=>(0,o._)`{comparison: ${n[c].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:i,code(c){const{gen:d,data:p,schemaCode:m,keyword:h,it:f}=c,{opts:v,self:b}=f;if(!v.validateFormats)return;const S=new t.KeywordCxt(f,b.RULES.all.format.definition,"format");S.$data?k():x();function k(){const P=d.scopeValue("formats",{ref:b.formats,code:v.code.formats}),C=d.const("fmt",(0,o._)`${P}[${S.schemaCode}]`);c.fail$data((0,o.or)((0,o._)`typeof ${C} != "object"`,(0,o._)`${C} instanceof RegExp`,(0,o._)`typeof ${C}.compare != "function"`,T(C)))}function x(){const P=S.schema,C=b.formats[P];if(!C||C===!0)return;if(typeof C!="object"||C instanceof RegExp||typeof C.compare!="function")throw new Error(`"${h}": format "${P}" does not define "compare" function`);const E=d.scopeValue("formats",{key:P,ref:C,code:v.code.formats?(0,o._)`${v.code.formats}${(0,o.getProperty)(P)}`:void 0});c.fail$data(T(E))}function T(P){return(0,o._)`${P}.compare(${p}, ${m}) ${n[h].fail} 0`}},dependencies:["format"]};const l=c=>(c.addKeyword(e.formatLimitDefinition),c);e.default=l})(JS)),JS}var tD;function _Y(){return tD||(tD=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const o=TY(),a=kY(),n=St(),i=new n.Name("fullFormats"),l=new n.Name("fastFormats"),c=(p,m={keywords:!0})=>{if(Array.isArray(m))return d(p,m,o.fullFormats,i),p;const[h,f]=m.mode==="fast"?[o.fastFormats,l]:[o.fullFormats,i],v=m.formats||o.formatNames;return d(p,v,h,f),m.keywords&&(0,a.default)(p),p};c.get=(p,m="full")=>{const f=(m==="fast"?o.fastFormats:o.fullFormats)[p];if(!f)throw new Error(`Unknown format "${p}"`);return f};function d(p,m,h,f){var v,b;(v=(b=p.opts.code).formats)!==null&&v!==void 0||(b.formats=(0,n._)`require("ajv-formats/dist/formats").${f}`);for(const S of m)p.addFormat(S,h[S])}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c})(yg,yg.exports)),yg.exports}var CY=_Y();const Uve=Nl(CY);function EY({studioUrl:e,meshUrl:t},o){return e??t??o}let lk;lk=globalThis.crypto;async function PY(e){return(await lk).getRandomValues(new Uint8Array(e))}async function AY(e){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~",o=Math.pow(2,8)-Math.pow(2,8)%t.length;let a="";for(;a.length<e;){const n=await PY(e-a.length);for(const i of n)i<o&&(a+=t[i%t.length])}return a}async function RY(e){return await AY(e)}async function DY(e){const t=await(await lk).subtle.digest("SHA-256",new TextEncoder().encode(e));return btoa(String.fromCharCode(...new Uint8Array(t))).replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}async function qve(e){if(e||(e=43),e<43||e>128)throw`Expected a length between 43 and 128. Received ${e}.`;const t=await RY(e),o=await DY(t);return{code_verifier:t,code_challenge:o}}const Ta=QN().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:NH.custom,message:"URL must be parseable",fatal:!0}),zq}).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"}),$ve=ka({resource:q().url(),authorization_servers:je(Ta).optional(),jwks_uri:q().url().optional(),scopes_supported:je(q()).optional(),bearer_methods_supported:je(q()).optional(),resource_signing_alg_values_supported:je(q()).optional(),resource_name:q().optional(),resource_documentation:q().optional(),resource_policy_uri:q().url().optional(),resource_tos_uri:q().url().optional(),tls_client_certificate_bound_access_tokens:Vt().optional(),authorization_details_types_supported:je(q()).optional(),dpop_signing_alg_values_supported:je(q()).optional(),dpop_bound_access_tokens_required:Vt().optional()}),OY=ka({issuer:q(),authorization_endpoint:Ta,token_endpoint:Ta,registration_endpoint:Ta.optional(),scopes_supported:je(q()).optional(),response_types_supported:je(q()),response_modes_supported:je(q()).optional(),grant_types_supported:je(q()).optional(),token_endpoint_auth_methods_supported:je(q()).optional(),token_endpoint_auth_signing_alg_values_supported:je(q()).optional(),service_documentation:Ta.optional(),revocation_endpoint:Ta.optional(),revocation_endpoint_auth_methods_supported:je(q()).optional(),revocation_endpoint_auth_signing_alg_values_supported:je(q()).optional(),introspection_endpoint:q().optional(),introspection_endpoint_auth_methods_supported:je(q()).optional(),introspection_endpoint_auth_signing_alg_values_supported:je(q()).optional(),code_challenge_methods_supported:je(q()).optional(),client_id_metadata_document_supported:Vt().optional()}),MY=ka({issuer:q(),authorization_endpoint:Ta,token_endpoint:Ta,userinfo_endpoint:Ta.optional(),jwks_uri:Ta,registration_endpoint:Ta.optional(),scopes_supported:je(q()).optional(),response_types_supported:je(q()),response_modes_supported:je(q()).optional(),grant_types_supported:je(q()).optional(),acr_values_supported:je(q()).optional(),subject_types_supported:je(q()),id_token_signing_alg_values_supported:je(q()),id_token_encryption_alg_values_supported:je(q()).optional(),id_token_encryption_enc_values_supported:je(q()).optional(),userinfo_signing_alg_values_supported:je(q()).optional(),userinfo_encryption_alg_values_supported:je(q()).optional(),userinfo_encryption_enc_values_supported:je(q()).optional(),request_object_signing_alg_values_supported:je(q()).optional(),request_object_encryption_alg_values_supported:je(q()).optional(),request_object_encryption_enc_values_supported:je(q()).optional(),token_endpoint_auth_methods_supported:je(q()).optional(),token_endpoint_auth_signing_alg_values_supported:je(q()).optional(),display_values_supported:je(q()).optional(),claim_types_supported:je(q()).optional(),claims_supported:je(q()).optional(),service_documentation:q().optional(),claims_locales_supported:je(q()).optional(),ui_locales_supported:je(q()).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:Ta.optional(),op_tos_uri:Ta.optional(),client_id_metadata_document_supported:Vt().optional()}),Vve=Se({...MY.shape,...OY.pick({code_challenge_methods_supported:!0}).shape}),Hve=Se({access_token:q(),id_token:q().optional(),token_type:q(),expires_in:iI().optional(),scope:q().optional(),refresh_token:q().optional()}).strip(),Gve=Se({error:q(),error_description:q().optional(),error_uri:q().optional()}),oD=Ta.optional().or(Ze("").transform(()=>{})),NY=Se({redirect_uris:je(Ta),token_endpoint_auth_method:q().optional(),grant_types:je(q()).optional(),response_types:je(q()).optional(),client_name:q().optional(),client_uri:Ta.optional(),logo_uri:oD,scope:q().optional(),contacts:je(q()).optional(),tos_uri:oD,policy_uri:q().optional(),jwks_uri:Ta.optional(),jwks:iH().optional(),software_id:q().optional(),software_version:q().optional(),software_statement:q().optional()}).strip(),IY=Se({client_id:q(),client_secret:q().optional(),client_id_issued_at:Rt().optional(),client_secret_expires_at:Rt().optional()}).strip(),Wve=NY.merge(IY);Se({error:q(),error_description:q().optional()}).strip();Se({token:q(),token_type_hint:q().optional()}).strip();class Aa extends Error{constructor(t,o){super(t),this.errorUri=o,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 j0 extends Aa{}j0.errorCode="invalid_request";class z0 extends Aa{}z0.errorCode="invalid_client";class U0 extends Aa{}U0.errorCode="invalid_grant";class q0 extends Aa{}q0.errorCode="unauthorized_client";class $0 extends Aa{}$0.errorCode="unsupported_grant_type";class V0 extends Aa{}V0.errorCode="invalid_scope";class H0 extends Aa{}H0.errorCode="access_denied";class G0 extends Aa{}G0.errorCode="server_error";class W0 extends Aa{}W0.errorCode="temporarily_unavailable";class K0 extends Aa{}K0.errorCode="unsupported_response_type";class Y0 extends Aa{}Y0.errorCode="unsupported_token_type";class Z0 extends Aa{}Z0.errorCode="invalid_token";class Q0 extends Aa{}Q0.errorCode="method_not_allowed";class J0 extends Aa{}J0.errorCode="too_many_requests";class X0 extends Aa{}X0.errorCode="invalid_client_metadata";class ex extends Aa{}ex.errorCode="insufficient_scope";class tx extends Aa{}tx.errorCode="invalid_target";const Kve={[j0.errorCode]:j0,[z0.errorCode]:z0,[U0.errorCode]:U0,[q0.errorCode]:q0,[$0.errorCode]:$0,[V0.errorCode]:V0,[H0.errorCode]:H0,[G0.errorCode]:G0,[W0.errorCode]:W0,[K0.errorCode]:K0,[Y0.errorCode]:Y0,[Z0.errorCode]:Z0,[Q0.errorCode]:Q0,[J0.errorCode]:J0,[X0.errorCode]:X0,[ex.errorCode]:ex,[tx.errorCode]:tx};async function GI(e){if(!e.getServerCapabilities()?.resources)return{resources:[]};try{return await e.listResources()}catch(o){if(o instanceof Av&&o.code===Cp.MethodNotFound)return{resources:[]};throw o}}async function LY(e,t){return await e.readResource({uri:t})}function Yve(e){const t=Ce.c(12);let o,a;t[0]!==e?({client:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=hn.mcpResourcesList(o),t[3]=o,t[4]=n):n=t[4];let i;t[5]!==o?(i=()=>GI(o),t[5]=o,t[6]=i):i=t[6];const l=a.staleTime??3e4;let c;return t[7]!==a||t[8]!==n||t[9]!==i||t[10]!==l?(c={...a,queryKey:n,queryFn:i,staleTime:l,retry:!1},t[7]=a,t[8]=n,t[9]=i,t[10]=l,t[11]=c):c=t[11],Ll(c)}function Zve(e){const t=Ce.c(12);let o,a;t[0]!==e?({client:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=hn.mcpResourcesList(o),t[3]=o,t[4]=n):n=t[4];let i;t[5]!==o?(i=()=>GI(o),t[5]=o,t[6]=i):i=t[6];const l=a.staleTime??3e4;let c;return t[7]!==a||t[8]!==n||t[9]!==i||t[10]!==l?(c={...a,queryKey:n,queryFn:i,staleTime:l,retry:!1},t[7]=a,t[8]=n,t[9]=i,t[10]=l,t[11]=c):c=t[11],Dd(c)}function Qve(e){const t=Ce.c(15);let o,a,n;t[0]!==e?({client:o,uri:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);let i;t[4]!==o||t[5]!==n?(i=hn.mcpReadResource(o,n),t[4]=o,t[5]=n,t[6]=i):i=t[6];let l;t[7]!==o||t[8]!==n?(l=()=>LY(o,n),t[7]=o,t[8]=n,t[9]=l):l=t[9];const c=a.staleTime??3e4;let d;return t[10]!==a||t[11]!==i||t[12]!==l||t[13]!==c?(d={...a,queryKey:i,queryFn:l,staleTime:c,retry:!1},t[10]=a,t[11]=i,t[12]=l,t[13]=c,t[14]=d):d=t[14],Ll(d)}const WI="ui-resource-html";function Jve(e){const t=Ce.c(22);let o,a,n,i,l,c;t[0]!==e?({orgSlug:n,connectionId:o,uri:c,studioUrl:l,meshUrl:a,...i}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i,t[5]=l,t[6]=c):(o=t[1],a=t[2],n=t[3],i=t[4],l=t[5],c=t[6]);let d;t[7]!==o||t[8]!==n||t[9]!==c?(d=hn.mcpUiResourceHtml(n,o,c),t[7]=o,t[8]=n,t[9]=c,t[10]=d):d=t[10];let p;t[11]!==o||t[12]!==a||t[13]!==n||t[14]!==l||t[15]!==c?(p=async()=>{const v=`${EY({studioUrl:l,meshUrl:a},typeof window<"u"?window.location.origin:"")}/api/${encodeURIComponent(n)}/mcp/${encodeURIComponent(o)}/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]=o,t[12]=a,t[13]=n,t[14]=l,t[15]=c,t[16]=p):p=t[16];const m=i.staleTime??3e4;let h;return t[17]!==i||t[18]!==d||t[19]!==p||t[20]!==m?(h={...i,queryKey:d,queryFn:p,staleTime:m,retry:!1},t[17]=i,t[18]=d,t[19]=p,t[20]=m,t[21]=h):h=t[21],Ll(h)}const KI={featureNotInPlan:"feature_not_in_plan",aiBudgetExhausted:"ai_budget_exhausted"};class ox extends Error{constructor(t,o,a){super(t),this.status=o,this.code=a,this.name="StudioToolError"}status;code}function YI(e){return e instanceof ox&&Object.values(KI).includes(e.code??"")?e.code:null}async function BY(e,t,o){const a=await fetch(`/api/${encodeURIComponent(e)}/tools/${encodeURIComponent(t)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o??{})});if(!a.ok){let n=`${t} failed (${a.status})`,i;try{const l=await a.json();l?.error&&(n=l.error),typeof l?.code=="string"&&(i=l.code)}catch{}throw new ox(n,a.status,i)}try{return await a.json()}catch{throw new ox(`${t} returned a non-JSON response`,a.status)}}function ck(){const e=Ce.c(5),{org:t}=Qp(),o=t.slug;let a;e[0]!==o?(a=(i,l)=>BY(o,i,l),e[0]=o,e[1]=a):a=e[1];let n;return e[2]!==o||e[3]!==a?(n={orgSlug:o,call:a},e[2]=o,e[3]=a,e[4]=n):n=e[4],n}const FY="studio-ui-resources",Af="html",jY=10080*60*1e3,zY=50,UY=16*1024*1024;function qY(e){return e[0]==="mcp"&&e[1]===WI}function Nv(){return new Promise((e,t)=>{const o=indexedDB.open(FY,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(Af)||o.result.createObjectStore(Af)},o.onsuccess=()=>e(o.result),o.onerror=()=>t(o.error)})}function Sd(e,t){return e.transaction(Af,t).objectStore(Af)}function ax(e){return new Promise((t,o)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>o(e.error)})}async function $Y(e){if(!(typeof indexedDB>"u"))try{const t=await Nv(),o=Sd(t,"readonly"),a=await ax(o.getAllKeys()),n=await ax(o.getAll()),i=Date.now(),l=a.map((p,m)=>({key:p,value:n[m]})).sort((p,m)=>(m.value?.updatedAt??0)-(p.value?.updatedAt??0)),c=[];let d=0;for(const{key:p,value:m}of l){if(!m||i-m.updatedAt>jY||d>=zY){c.push(p);continue}d++;try{const f=JSON.parse(String(p));e.getQueryData(f)===void 0&&e.setQueryData(f,m.html,{updatedAt:0})}catch{c.push(p)}}if(c.length>0){const p=Sd(t,"readwrite");for(const m of c)p.delete(m)}}catch{}}function VY(e){if(typeof indexedDB>"u")return()=>{};const t=Nv().catch(()=>null);return e.getQueryCache().subscribe(o=>{const a=o.query;if(!Array.isArray(a.queryKey)||!qY(a.queryKey)||a.state.status!=="success")return;const n=a.state.data;typeof n!="string"||n.length>UY||t.then(i=>{if(i)try{Sd(i,"readwrite").put({html:n,updatedAt:Date.now()},JSON.stringify(a.queryKey))}catch{}})})}function HY(){typeof indexedDB>"u"||Nv().then(e=>Sd(e,"readwrite").clear()).catch(()=>{})}async function Xve(e){if(!(typeof indexedDB>"u"))try{const t=await Nv(),o=await ax(Sd(t,"readonly").getAllKeys()),a=Sd(t,"readwrite");for(const n of o)try{const i=JSON.parse(String(n));i[1]===WI&&i[3]===e&&a.delete(n)}catch{}}catch{}}const Rf="studio:rq-cache",dk=1440*60*1e3,GY=1e3,WY=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions","order-monitor"]),KY=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let ZI=!1,QI=!1;function YY(e){const t=e[0];return typeof t=="string"&&WY.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&KY.has(e[4])}function ZY(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(Rf);if(!t)return;const o=JSON.parse(t),a=!o.timestamp||Date.now()-o.timestamp>dk;if(o.buster!=="4.521.0"||a||!o.state){window.localStorage.removeItem(Rf);return}bq(e,o.state),e.invalidateQueries({queryKey:hn.publicConfig(),refetchType:"none"}),ZI=!0}catch{oZ()}}function QY(e){if(typeof window>"u")return()=>{};let t=null;const o=()=>{t=null;try{const i=vq(e,{shouldDehydrateQuery:l=>l.state.status==="success"&&YY(l.queryKey)});window.localStorage.setItem(Rf,JSON.stringify({buster:"4.521.0",timestamp:Date.now(),state:i}))}catch{}},a=e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(o,GY))}),n=()=>{t!=null&&(clearTimeout(t),o())};return window.addEventListener("pagehide",n),()=>{t!=null&&clearTimeout(t),window.removeEventListener("pagehide",n),a()}}const JI="studio:org-cache:",JY=20;function XY(e){const t=Date.now(),o=Object.entries(e).filter(([,a])=>t-a.updatedAt<=dk);for(o.sort(([,a],[,n])=>a.updatedAt-n.updatedAt);o.length>JY;)o.shift();return Object.fromEntries(o)}function XI(e){return`${JI}${e}`}function eZ(e,t){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(XI(e));if(!o)return null;const a=JSON.parse(o)[t];return!a||Date.now()-a.updatedAt>dk?null:(QI=!0,a)}catch{return null}}function tZ(e,t,o){if(!(typeof window>"u"))try{const a=XI(e),n=window.localStorage.getItem(a),i=n?JSON.parse(n):{};i[t]={data:o,updatedAt:Date.now()},window.localStorage.setItem(a,JSON.stringify(XY(i)))}catch{}}function oZ(){if(HY(),!(typeof window>"u"))try{window.localStorage.removeItem(Rf);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(JI)&&window.localStorage.removeItem(t)}}catch{}}function aZ(){return ZI}function nZ(){return QI}function aD(e){const t=YI(e);if(!t)return;const o=t===KI.aiBudgetExhausted?Df.budget||"This organization's AI allowance is used up.":Df.feature||"This organization's plan does not include that.";yd.error(o,{id:`plan-refusal:${t}`})}const Df={feature:"",budget:""},Nd=new Aq({queryCache:new VM({onError:aD}),mutationCache:new $M({onError:aD}),defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:(e,t)=>YI(t)===null&&e<1,gcTime:300*1e3}}});ZY(Nd);QY(Nd);$Y(Nd);VY(Nd);const uk=5*6e4;async function eL(){return(await(await fetch("/api/config")).json()).config}function tL(){const e=Ce.c(1);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:hn.publicConfig(),queryFn:eL,staleTime:uk},e[0]=t):t=e[0];const{data:o}=Ll(t);return o}function ebe(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:hn.publicConfig(),queryFn:eL,staleTime:uk},e[0]=t):t=e[0],Dd(t).data}const oL=A.createContext(void 0);function rZ(e){const t=Ce.c(3),{children:o}=e,a=tL();let n;return t[0]!==o||t[1]!==a.auth?(n=w.jsx(oL.Provider,{value:a.auth,children:o}),t[0]=o,t[1]=a.auth,t[2]=n):n=t[2],n}function tbe(){const e=A.useContext(oL);if(e===void 0)throw new Error("useAuthConfig must be used within AuthConfigProvider");return e}var iZ={},nD={};const Jg=Object.create(null),Iu=e=>iZ||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?Jg:globalThis),Wn=new Proxy(Jg,{get(e,t){return Iu()[t]??Jg[t]},has(e,t){return t in Iu()||t in Jg},set(e,t,o){const a=Iu(!0);return a[t]=o,!0},deleteProperty(e,t){if(!t)return!1;const o=Iu(!0);return delete o[t],!0},ownKeys(){const e=Iu(!0);return Object.keys(e)}});function Ko(e,t){return typeof process<"u"&&nD?nD[e]??t:typeof Deno<"u"?Deno.env.get(e)??t:typeof Bun<"u"?Bun.env[e]??t:t}const Lu=1,ua=4,Fr=8,Pn=24,rD={eterm:ua,cons25:ua,console:ua,cygwin:ua,dtterm:ua,gnome:ua,hurd:ua,jfbterm:ua,konsole:ua,kterm:ua,mlterm:ua,mosh:Pn,putty:ua,st:ua,"rxvt-unicode-24bit":Pn,terminator:Pn,"xterm-kitty":Pn},sZ=new Map(Object.entries({APPVEYOR:Fr,BUILDKITE:Fr,CIRCLECI:Pn,DRONE:Fr,GITEA_ACTIONS:Pn,GITHUB_ACTIONS:Pn,GITLAB_CI:Fr,TRAVIS:Fr})),lZ=[/ansi/,/color/,/linux/,/direct/,/^con[0-9]*x[0-9]/,/^rxvt/,/^screen/,/^xterm/,/^vt100/,/^vt220/];function cZ(){if(Ko("FORCE_COLOR")!==void 0)switch(Ko("FORCE_COLOR")){case"":case"1":case"true":return ua;case"2":return Fr;case"3":return Pn;default:return Lu}if(Ko("NODE_DISABLE_COLORS")!==void 0&&Ko("NODE_DISABLE_COLORS")!==""||Ko("NO_COLOR")!==void 0&&Ko("NO_COLOR")!==""||Ko("TERM")==="dumb")return Lu;if(Ko("TMUX"))return Pn;if("TF_BUILD"in Wn&&"AGENT_NAME"in Wn)return ua;if("CI"in Wn){for(const{0:e,1:t}of sZ)if(e in Wn)return t;return Ko("CI_NAME")==="codeship"?Fr:Lu}if("TEAMCITY_VERSION"in Wn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.exec(Ko("TEAMCITY_VERSION"))!==null?ua:Lu;switch(Ko("TERM_PROGRAM")){case"iTerm.app":return!Ko("TERM_PROGRAM_VERSION")||/^[0-2]\./.exec(Ko("TERM_PROGRAM_VERSION"))!==null?Fr:Pn;case"HyperTerm":case"MacTerm":return Pn;case"Apple_Terminal":return Fr}if(Ko("COLORTERM")==="truecolor"||Ko("COLORTERM")==="24bit")return Pn;if(Ko("TERM")){if(/truecolor/.exec(Ko("TERM"))!==null)return Pn;if(/^xterm-256/.exec(Ko("TERM"))!==null)return Fr;const e=Ko("TERM").toLowerCase();if(rD[e])return rD[e];if(lZ.some(t=>t.exec(e)!==null))return ua}return Ko("COLORTERM")?ua:Lu}const jr={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"}},nx=["debug","info","success","warn","error"];function dZ(e,t){return nx.indexOf(t)>=nx.indexOf(e)}const uZ={info:jr.fg.blue,success:jr.fg.green,warn:jr.fg.yellow,error:jr.fg.red,debug:jr.fg.magenta},pZ=(e,t,o)=>{const a=new Date().toISOString();return o?`${jr.dim}${a}${jr.reset} ${uZ[e]}${e.toUpperCase()}${jr.reset} ${jr.bright}[Better Auth]:${jr.reset} ${t}`:`${a} ${e.toUpperCase()} [Better Auth]: ${t}`},mZ=e=>{const t="warn",o=cZ()!==1,a=(n,i,l=[])=>{if(!dZ(t,n))return;const c=pZ(n,i,o);{n==="error"?console.error(c,...l):n==="warn"?console.warn(c,...l):console.log(c,...l);return}};return{...Object.fromEntries(nx.map(n=>[n,(...[i,...l])=>a(n,i,l)])),get level(){return t}}};mZ();function hZ(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 gZ(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new cp(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function fZ(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 XS(e,t="/api/auth"){if(fZ(e),gZ(e))return e;const o=e.replace(/\/+$/,"");return!t||t==="/"?o:(t=t.startsWith("/")?t:`/${t}`,`${o}${t}`)}function vZ(e,t,o,a,n){if(e)return XS(e,t);{const i=Wn.BETTER_AUTH_URL||Wn.NEXT_PUBLIC_BETTER_AUTH_URL||Wn.PUBLIC_BETTER_AUTH_URL||Wn.NUXT_PUBLIC_BETTER_AUTH_URL||Wn.NUXT_PUBLIC_AUTH_URL||(Wn.BASE_URL!=="/"?Wn.BASE_URL:void 0);if(i)return XS(i,t)}if(typeof window<"u"&&window.location)return XS(window.location.origin,t)}const bZ={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{}}}},yZ={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*:/},SZ=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,iD={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},wZ=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function xZ(e){return e instanceof Date&&!isNaN(e.getTime())}function TZ(e){const t=wZ.exec(e);if(!t)return null;const[,o,a,n,i,l,c,d,p,m,h]=t,f=new Date(Date.UTC(parseInt(o,10),parseInt(a,10)-1,parseInt(n,10),parseInt(i,10),parseInt(l,10),parseInt(c,10),d?parseInt(d.padEnd(3,"0"),10):0));if(p){const v=(parseInt(m,10)*60+parseInt(h,10))*(p==="+"?-1:1);f.setUTCMinutes(f.getUTCMinutes()+v)}return xZ(f)?f:null}function kZ(e,t={}){const{strict:o=!1,warnings:a=!1,reviver:n,parseDates:i=!0}=t;if(typeof e!="string")return e;const l=e.trim();if(l.length>0&&l[0]==='"'&&l.endsWith('"')&&!l.slice(1,-1).includes('"'))return l.slice(1,-1);const c=l.toLowerCase();if(c.length<=9&&c in iD)return iD[c];if(!SZ.test(l)){if(o)throw new SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(yZ).some(([d,p])=>{const m=p.test(l);return m&&a&&console.warn(`[better-json] Detected potential prototype pollution attempt using ${d} pattern`),m})&&o)throw new Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(l,(p,m)=>{if(p==="__proto__"||p==="constructor"&&m&&typeof m=="object"&&"prototype"in m){a&&console.warn(`[better-json] Dropping "${p}" key to prevent prototype pollution`);return}if(i&&typeof m=="string"){const h=TZ(m);if(h)return h}return n?n(p,m):m})}catch(d){if(o)throw d;return e}}function _Z(e,t={strict:!0}){return kZ(e,t)}let dr=[],cs=0;const Sg=4,CZ=globalThis.nanostoresGlobal||={epoch:0},Xc=e=>{let t=[],o={get(){return o.lc||o.listen(()=>{})(),o.value},init:e,lc:0,listen(a){return o.lc=t.push(a),()=>{for(let i=cs+Sg;i<dr.length;)dr[i]===a?dr.splice(i,Sg):i+=Sg;let n=t.indexOf(a);~n&&(t.splice(n,1),--o.lc||o.off())}},notify(a,n){CZ.epoch++;let i=!dr.length;for(let l of t)dr.push(l,o.value,a,n);if(i){for(cs=0;cs<dr.length;cs+=Sg)dr[cs](dr[cs+1],dr[cs+2],dr[cs+3]);dr.length=0}},off(){},set(a){let n=o.value;n!==a&&(o.value=a,o.notify(n))},subscribe(a){let n=o.listen(a);return a(o.value),n},value:e};return o},EZ=5,wg=6,xg=10;let PZ=(e,t,o,a)=>(e.events=e.events||{},e.events[o+xg]||(e.events[o+xg]=a(n=>{e.events[o].reduceRight((i,l)=>(l(i),i),{shared:{},...n})})),e.events[o]=e.events[o]||[],e.events[o].push(t),()=>{let n=e.events[o],i=n.indexOf(t);n.splice(i,1),n.length||(delete e.events[o],e.events[o+xg](),delete e.events[o+xg])});const AZ=1e3;let aL=(e,t)=>PZ(e,a=>{let n=t(a);n&&e.events[wg].push(n)},EZ,a=>{let n=e.listen;e.listen=(...l)=>(!e.lc&&!e.active&&(e.active=!0,a()),n(...l));let i=e.off;return e.events[wg]=[],e.off=()=>{i(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let l of e.events[wg])l();e.events[wg]=[]}},AZ)},()=>{e.listen=n,e.off=i}});function RZ(e,t,o){let a=new Set(t).add(void 0);return e.listen((n,i,l)=>{a.has(l)&&o(n,i,l)})}const DZ=()=>typeof window>"u",Ju=(e,t,o,a)=>{const n=Xc({data:null,error:null,isPending:!0,isRefetching:!1,refetch:c=>i(c)}),i=async c=>new Promise(d=>{const p=typeof a=="function"?a({data:n.get().data,error:n.get().error,isPending:n.get().isPending}):a;o(t,{...p,query:{...p?.query,...c?.query},async onSuccess(m){n.set({data:m.data,error:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await p?.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 p?.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 p?.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 l=!1;for(const c of e)c.subscribe(async()=>{DZ()||(l?await i():aL(n,()=>{const d=setTimeout(async()=>{l||(await i(),l=!0)},0);return()=>{n.off(),c.off(),clearTimeout(d)}}))});return n},ew=Symbol.for("better-auth:broadcast-channel"),OZ=()=>Math.floor(Date.now()/1e3);var MZ=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:OZ()}))}catch{}}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const e=t=>{if(t.key!==this.name)return;const o=JSON.parse(t.newValue??"{}");o?.event!=="session"||!o?.data||this.listeners.forEach(a=>a(o))};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}}};function tw(e="better-auth.message"){return globalThis[ew]||(globalThis[ew]=new MZ(e)),globalThis[ew]}const ow=Symbol.for("better-auth:focus-manager");var NZ=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 sD(){return globalThis[ow]||(globalThis[ow]=new NZ),globalThis[ow]}const aw=Symbol.for("better-auth:online-manager");var IZ=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 nw(){return globalThis[aw]||(globalThis[aw]=new IZ),globalThis[aw]}const Dc=()=>Math.floor(Date.now()/1e3),LZ=5;function BZ(e){const{sessionAtom:t,sessionSignal:o,$fetch:a,options:n={}}=e,i=n.sessionOptions?.refetchInterval??0,l=n.sessionOptions?.refetchOnWindowFocus??!0,c=n.sessionOptions?.refetchWhenOffline??!1,d={lastSync:0,lastSessionRequest:0,cachedSession:void 0},p=()=>c||nw().isOnline,m=T=>{if(!p())return;if(T?.event==="storage"){d.lastSync=Dc(),o.set(!o.get());return}const P=t.get();if(T?.event==="poll"){d.lastSessionRequest=Dc(),a("/get-session").then(C=>{C.error?t.set({...P,data:null,error:C.error}):t.set({...P,data:C.data,error:null}),d.lastSync=Dc(),o.set(!o.get())}).catch(()=>{});return}if(T?.event==="visibilitychange"){if(Dc()-d.lastSessionRequest<LZ)return;d.lastSessionRequest=Dc()}(P?.data===null||P?.data===void 0||T?.event==="visibilitychange")&&(d.lastSync=Dc(),o.set(!o.get()))},h=T=>{tw().post({event:"session",data:{trigger:T},clientId:Math.random().toString(36).substring(7)})},f=()=>{i&&i>0&&(d.pollInterval=setInterval(()=>{t.get()?.data&&m({event:"poll"})},i*1e3))},v=()=>{d.unsubscribeBroadcast=tw().subscribe(()=>{m({event:"storage"})})},b=()=>{l&&(d.unsubscribeFocus=sD().subscribe(()=>{m({event:"visibilitychange"})}))},S=()=>{d.unsubscribeOnline=nw().subscribe(T=>{T&&m({event:"visibilitychange"})})};return{init:()=>{f(),v(),b(),S(),tw().setup(),sD().setup(),nw().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 FZ(e,t){const o=Xc(!1),a=Ju(o,"/get-session",e,{method:"GET"});return aL(a,()=>{const n=BZ({sessionAtom:a,sessionSignal:o,$fetch:e,options:t});return n.init(),()=>{n.cleanup()}}),{session:a,$sessionSignal:o}}function rw(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 rx(e,t,o=".",a){if(!rw(t))return rx(e,{},o,a);const n={...t};for(const i of Object.keys(e)){if(i==="__proto__"||i==="constructor")continue;const l=e[i];l!=null&&(a&&a(n,i,l,o)||(Array.isArray(l)&&Array.isArray(n[i])?n[i]=[...l,...n[i]]:rw(l)&&rw(n[i])?n[i]=rx(l,n[i],(o?`${o}.`:"")+i.toString(),a):n[i]=l))}return n}function jZ(e){return(...t)=>t.reduce((o,a)=>rx(o,a,"",e),{})}const zZ=jZ();var UZ=Object.defineProperty,qZ=Object.defineProperties,$Z=Object.getOwnPropertyDescriptors,lD=Object.getOwnPropertySymbols,VZ=Object.prototype.hasOwnProperty,HZ=Object.prototype.propertyIsEnumerable,cD=(e,t,o)=>t in e?UZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,hr=(e,t)=>{for(var o in t||(t={}))VZ.call(t,o)&&cD(e,o,t[o]);if(lD)for(var o of lD(t))HZ.call(t,o)&&cD(e,o,t[o]);return e},Ir=(e,t)=>qZ(e,$Z(t)),GZ=class extends Error{constructor(e,t,o){super(t||e.toString(),{cause:o}),this.status=e,this.statusText=t,this.error=o,Error.captureStackTrace(this,this.constructor)}},WZ=async(e,t)=>{var o,a,n,i,l,c;let d=t||{};const p={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:p};for(const m of t?.plugins||[]){if(m.init){const h=await((o=m.init)==null?void 0:o.call(m,e.toString(),t));d=h.options||d,e=h.url}p.onRequest.push((a=m.hooks)==null?void 0:a.onRequest),p.onResponse.push((n=m.hooks)==null?void 0:n.onResponse),p.onSuccess.push((i=m.hooks)==null?void 0:i.onSuccess),p.onError.push((l=m.hooks)==null?void 0:l.onError),p.onRetry.push((c=m.hooks)==null?void 0:c.onRetry)}return{url:e,options:d,hooks:p}},dD=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}},KZ=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 YZ(e){if(typeof e=="number")return new dD({type:"linear",attempts:e,delay:1e3});switch(e.type){case"linear":return new dD(e);case"exponential":return new KZ(e);default:throw new Error("Invalid retry strategy")}}var ZZ=async e=>{const t={},o=async a=>typeof a=="function"?await a():a;if(e?.auth){if(e.auth.type==="Bearer"){const a=await o(e.auth.token);if(!a)return t;t.authorization=`Bearer ${a}`}else if(e.auth.type==="Basic"){const[a,n]=await Promise.all([o(e.auth.username),o(e.auth.password)]);if(!a||!n)return t;t.authorization=`Basic ${btoa(`${a}:${n}`)}`}else if(e.auth.type==="Custom"){const[a,n]=await Promise.all([o(e.auth.prefix),o(e.auth.value)]);if(!n)return t;t.authorization=`${a??""} ${n}`}}return t},QZ=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function JZ(e){const t=e.headers.get("content-type"),o=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!t)return"json";const a=t.split(";").shift()||"";return QZ.test(a)?"json":o.has(a)||a.startsWith("text/")?"text":"blob"}function XZ(e){try{return JSON.parse(e),!0}catch{return!1}}function ix(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 uD(e){try{return JSON.parse(e)}catch{return e}}function pD(e){return typeof e=="function"}function eQ(e){if(e?.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&pD(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&pD(window.fetch))return window.fetch;throw new Error("No fetch implementation found")}async function tQ(e){const t=new Headers(e?.headers),o=await ZZ(e);for(const[a,n]of Object.entries(o||{}))t.set(a,n);if(!t.has("content-type")){const a=oQ(e?.body);a&&t.set("content-type",a)}return t}function oQ(e){return ix(e)?"application/json":null}function aQ(e){if(!e?.body)return null;const t=new Headers(e?.headers);if(ix(e.body)&&!t.has("content-type")){for(const[o,a]of Object.entries(e?.body))a instanceof Date&&(e.body[o]=a.toISOString());return JSON.stringify(e.body)}return t.has("content-type")&&t.get("content-type")==="application/x-www-form-urlencoded"&&ix(e.body)?new URLSearchParams(e.body).toString():e.body}function nQ(e,t){var o;if(t?.method)return t.method.toUpperCase();if(e.startsWith("@")){const a=(o=e.split("@")[1])==null?void 0:o.split("/")[0];return rL.includes(a)?a.toUpperCase():t?.body?"POST":"GET"}return t?.body?"POST":"GET"}function rQ(e,t){let o;return!e?.signal&&e?.timeout&&(o=setTimeout(()=>t?.abort(),e?.timeout)),{abortTimeout:o,clearTimeout:()=>{o&&clearTimeout(o)}}}var iQ=class nL extends Error{constructor(t,o){super(o||JSON.stringify(t,null,2)),this.issues=t,Object.setPrototypeOf(this,nL.prototype)}};async function Xg(e,t){const o=await e["~standard"].validate(t);if(o.issues)throw new iQ(o.issues);return o.value}var rL=["get","post","put","patch","delete"],sQ=e=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(t,o){var a,n,i,l;const c=((n=(a=e.plugins)==null?void 0:a.find(d=>{var p;return(p=d.schema)!=null&&p.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;(i=c.config)!=null&&i.prefix&&d.startsWith(c.config.prefix)&&(d=d.replace(c.config.prefix,""),c.config.baseURL&&(t=t.replace(c.config.prefix,c.config.baseURL))),(l=c.config)!=null&&l.baseURL&&d.startsWith(c.config.baseURL)&&(d=d.replace(c.config.baseURL,""));const p=c.schema[d];if(p){let m=Ir(hr({},o),{method:p.method,output:p.output});return o?.disableValidation||(m=Ir(hr({},m),{body:p.input?await Xg(p.input,o?.body):o?.body,params:p.params?await Xg(p.params,o?.params):o?.params,query:p.query?await Xg(p.query,o?.query):o?.query})),{url:t,options:m}}}return{url:t,options:o}}}),lQ=e=>{async function t(o,a){const n=Ir(hr(hr({},e),a),{plugins:[...e?.plugins||[],sQ(e||{}),...a?.plugins||[]]});if(e?.catchAllError)try{return await sx(o,n)}catch(i){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:i}}}return await sx(o,n)}return t};function cQ(e,t){const{baseURL:o,params:a,query:n}=t||{query:{},params:{},baseURL:""};let i=e.startsWith("http")?e.split("/").slice(0,3).join("/"):o||"";if(e.startsWith("@")){const h=e.toString().split("@")[1].split("/")[0];rL.includes(h)&&(e=e.replace(`@${h}/`,"/"))}i.endsWith("/")||(i+="/");let[l,c]=e.replace(i,"").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(a)if(Array.isArray(a)){const h=l.split("/").filter(f=>f.startsWith(":"));for(const[f,v]of h.entries()){const b=a[f];l=l.replace(v,b)}}else for(const[h,f]of Object.entries(a))l=l.replace(`:${h}`,String(f));l=l.split("/").map(encodeURIComponent).join("/"),l.startsWith("/")&&(l=l.slice(1));let p=d.toString();return p=p.length>0?`?${p}`.replace(/\+/g,"%20"):"",i.startsWith("http")?new URL(`${l}${p}`,i):`${i}${l}${p}`}var sx=async(e,t)=>{var o,a,n,i,l,c,d,p;const{hooks:m,url:h,options:f}=await WZ(e,t),v=eQ(f),b=new AbortController,S=(o=f.signal)!=null?o:b.signal,k=cQ(h,f),x=aQ(f),T=await tQ(f),P=nQ(h,f);let C=Ir(hr({},f),{url:k,headers:T,body:x,method:P,signal:S});for(const F of m.onRequest)if(F){const W=await F(C);typeof W=="object"&&W!==null&&(C=W)}("pipeTo"in C&&typeof C.pipeTo=="function"||typeof((a=t?.body)==null?void 0:a.pipe)=="function")&&("duplex"in C||(C.duplex="half"));const{clearTimeout:E}=rQ(f,b);let R=await v(C.url,C);E();const D={response:R,request:C};for(const F of m.onResponse)if(F){const W=await F(Ir(hr({},D),{response:(n=t?.hookOptions)!=null&&n.cloneResponse?R.clone():R}));W instanceof Response?R=W:typeof W=="object"&&W!==null&&(R=W.response)}if(R.ok){if(!(C.method!=="HEAD"))return{data:"",error:null};const W=JZ(R),ae={data:null,response:R,request:C};if(W==="json"||W==="text"){const H=await R.text(),K=(i=C.jsonParser)!=null?i:uD;ae.data=await K(H)}else ae.data=await R[W]();C?.output&&C.output&&!C.disableValidation&&(ae.data=await Xg(C.output,ae.data));for(const H of m.onSuccess)H&&await H(Ir(hr({},ae),{response:(l=t?.hookOptions)!=null&&l.cloneResponse?R.clone():R}));return t?.throw?ae.data:{data:ae.data,error:null}}const O=(c=t?.jsonParser)!=null?c:uD,L=await R.text(),$=XZ(L),B=$?await O(L):null,U={response:R,responseText:L,request:C,error:Ir(hr({},B),{status:R.status,statusText:R.statusText})};for(const F of m.onError)F&&await F(Ir(hr({},U),{response:(d=t?.hookOptions)!=null&&d.cloneResponse?R.clone():R}));if(t?.retry){const F=YZ(t.retry),W=(p=t.retryAttempt)!=null?p:0;if(await F.shouldAttemptRetry(W,R)){for(const H of m.onRetry)H&&await H(D);const ae=F.getDelay(W);return await new Promise(H=>setTimeout(H,ae)),await sx(e,Ir(hr({},t),{retryAttempt:W+1}))}}if(t?.throw)throw new GZ(R.status,R.statusText,$?B:L);return{data:null,error:Ir(hr({},B),{status:R.status,statusText:R.statusText})}};const dQ=(e,t)=>{const o="credentials"in Request.prototype,a=vZ(e?.baseURL,e?.basePath)??"/api/auth",n=e?.plugins?.flatMap(C=>C.fetchPlugins).filter(C=>C!==void 0)||[],i={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:l,onError:c,onRequest:d,onResponse:p,...m}=e?.fetchOptions||{},h=lQ({baseURL:a,...o?{credentials:"include"}:{},method:"GET",jsonParser(C){return C?_Z(C,{strict:!1}):null},customFetchImpl:fetch,...m,plugins:[i,...m.plugins||[],...e?.disableDefaultFetchPlugins?[]:[bZ],...n]}),{$sessionSignal:f,session:v}=FZ(h,e),b=e?.plugins||[];let S={};const k={$sessionSignal:f,session:v},x={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},T=[{signal:"$sessionSignal",matcher(C){return C==="/sign-out"||C==="/update-user"||C==="/sign-up/email"||C==="/sign-in/email"||C==="/delete-user"||C==="/verify-email"||C==="/revoke-sessions"||C==="/revoke-session"||C==="/change-email"}}];for(const C of b)C.getAtoms&&Object.assign(k,C.getAtoms?.(h)),C.pathMethods&&Object.assign(x,C.pathMethods),C.atomListeners&&T.push(...C.atomListeners);const P={notify:C=>{k[C].set(!k[C].get())},listen:(C,E)=>{k[C].subscribe(E)},atoms:k};for(const C of b)C.getActions&&(S=zZ(C.getActions?.(h,P,e)??{},S));return{get baseURL(){return a},pluginsActions:S,pluginsAtoms:k,pluginPathMethods:x,atomListeners:T,$fetch:h,$store:P}};function uQ(e){return typeof e=="object"&&e!==null&&"get"in e&&typeof e.get=="function"&&"lc"in e&&typeof e.lc=="number"}function pQ(e,t,o){const a=t[e],{fetchOptions:n,query:i,...l}=o||{};return a||(n?.method?n.method:l&&Object.keys(l).length>0?"POST":"GET")}function mQ(e,t,o,a,n){function i(l=[]){return new Proxy(function(){},{get(c,d){if(typeof d!="string"||d==="then"||d==="catch"||d==="finally")return;const p=[...l,d];let m=e;for(const h of p)if(m&&typeof m=="object"&&h in m)m=m[h];else{m=void 0;break}return typeof m=="function"||uQ(m)?m:i(p)},apply:async(c,d,p)=>{const m="/"+l.map(T=>T.replace(/[A-Z]/g,P=>`-${P.toLowerCase()}`)).join("/"),h=p[0]||{},f=p[1]||{},{query:v,fetchOptions:b,...S}=h,k={...f,...b},x=pQ(m,o,h);return await t(m,{...k,body:x==="GET"?void 0:{...S,...k?.body||{}},query:v||k?.query,method:x,async onSuccess(T){if(await k?.onSuccess?.(T),!n||k.disableSignal)return;const P=n.filter(E=>E.matcher(m));if(!P.length)return;const C=new Set;for(const E of P){const R=a[E.signal];if(!R)return;if(C.has(E.signal))continue;C.add(E.signal);const D=R.get();setTimeout(()=>{R.set(!D)},10)}}})}})}return i()}function hQ(e,t={}){const o=A.useRef(e.get()),{keys:a,deps:n=[e,a]}=t,i=A.useCallback(c=>{const d=p=>{o.current!==p&&(o.current=p,c())};return d(e.value),a?.length?RZ(e,a,d):e.listen(d)},n),l=()=>o.current;return A.useSyncExternalStore(i,l,l)}function gQ(e){return`use${hZ(e)}`}function fQ(e){const{pluginPathMethods:t,pluginsActions:o,pluginsAtoms:a,$fetch:n,$store:i,atomListeners:l}=dQ(e),c={};for(const[d,p]of Object.entries(a))c[gQ(d)]=()=>hQ(p);return mQ({...o,...c,$fetch:n,$store:i},n,t,a,l)}function vQ(e){return{authorize(t,o="AND"){let a=!1;for(const[n,i]of Object.entries(t)){const l=e[n];if(!l)return{success:!1,error:`You are not allowed to access resource: ${n}`};if(Array.isArray(i))a=i.every(c=>l.includes(c));else if(typeof i=="object"){const c=i;c.connector==="OR"?a=c.actions.some(d=>l.includes(d)):a=c.actions.every(d=>l.includes(d))}else throw new cp("Invalid access control request");if(a&&o==="OR")return{success:a};if(!a&&o==="AND")return{success:!1,error:`unauthorized to access resource "${n}"`}}return a?{success:a}:{success:!1,error:"Not authorized"}},statements:e}}function iL(e){return{newRole(t){return vQ(t)},statements:e}}const bQ={user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]},sL=iL(bQ),lL=sL.newRole({user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]}),cL=sL.newRole({user:[],session:[]}),yQ={admin:lL,user:cL},SQ=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(","),o=e.options?.roles||yQ;for(const a of t)if(o[a]?.authorize(e.permission??e.permissions)?.success)return!0;return!1},wQ=e=>{const t={admin:lL,user:cL,...e?.roles};return{id:"admin-client",$InferServerPlugin:{},getActions:()=>({admin:{checkRolePermission:o=>SQ({role:o.role,options:{ac:e?.ac,roles:t},permissions:o.permissions??o.permission})}}),pathMethods:{"/admin/list-users":"GET","/admin/stop-impersonating":"POST"}}},xQ=()=>({id:"email-otp",$InferServerPlugin:{},atomListeners:[{matcher:e=>e==="/email-otp/verify-email"||e==="/sign-in/email-otp",signal:"$sessionSignal"}]}),TQ=()=>({id:"magic-link",$InferServerPlugin:{}}),kQ={organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]},pk=iL(kQ),dL=pk.newRole({organization:["update"],invitation:["create","cancel"],member:["create","update","delete"],team:["create","update","delete"],ac:["create","read","update","delete"]}),uL=pk.newRole({organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]}),pL=pk.newRole({organization:[],member:[],invitation:[],team:[],ac:["read"]}),_Q={admin:dL,owner:uL,member:pL},CQ=(e,t)=>{if(!e.permissions&&!e.permission)return!1;const o=e.role.split(","),a=e.options.creatorRole||"owner",n=o.includes(a),i=e.allowCreatorAllPermissions||!1;if(n&&i)return!0;for(const l of o)if(t[l]?.authorize(e.permissions??e.permission)?.success)return!0;return!1},EQ=e=>CQ(e,e.options.roles||_Q),PQ=e=>{const t=Xc(!1),o=Xc(!1),a=Xc(!1),n=Xc(!1),i={admin:dL,member:pL,owner:uL,...e?.roles};return{id:"organization",$InferServerPlugin:{},getActions:(l,c,d)=>({$Infer:{ActiveOrganization:{},Organization:{},Invitation:{},Member:{},Team:{}},organization:{checkRolePermission:p=>EQ({role:p.role,options:{ac:e?.ac,roles:i},permissions:p.permissions??p.permission})}}),getAtoms:l=>{const c=Ju(t,"/organization/list",l,{method:"GET"});return{$listOrg:t,$activeOrgSignal:o,$activeMemberSignal:a,$activeMemberRoleSignal:n,activeOrganization:Ju([o],"/organization/get-full-organization",l,()=>({method:"GET"})),listOrganizations:c,activeMember:Ju([a],"/organization/get-active-member",l,{method:"GET"}),activeMemberRole:Ju([n],"/organization/get-active-member-role",l,{method:"GET"})}},pathMethods:{"/organization/get-full-organization":"GET","/organization/list-user-teams":"GET"},atomListeners:[{matcher(l){return l==="/organization/create"||l==="/organization/delete"||l==="/organization/update"},signal:"$listOrg"},{matcher(l){return l.startsWith("/organization")},signal:"$activeOrgSignal"},{matcher(l){return l.startsWith("/organization/set-active")},signal:"$sessionSignal"},{matcher(l){return l.includes("/organization/update-member-role")},signal:"$activeMemberSignal"},{matcher(l){return l.includes("/organization/update-member-role")},signal:"$activeMemberRoleSignal"}]}},AQ="1.6.11",RQ=e=>({id:"sso-client",version:AQ,$InferServerPlugin:{},pathMethods:{"/sso/providers":"GET","/sso/get-provider":"GET"}});function DQ(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 mL(e){return DQ(e?.metadata).archived===!0}function hL(e){const t=new Set;return e.filter(o=>mL(o)||t.has(o.id)?!1:(t.add(o.id),!0))}const OQ="Organization is archived",js=fQ({plugins:[PQ({}),wQ(),RQ(),TQ(),xQ()]}),MQ=8e3;let mD;function gL(){return mD??=new Promise(e=>{const t=setTimeout(e,MQ);js.$store.listen("session",o=>{o&&typeof o=="object"&&"isPending"in o&&(o.isPending||(clearTimeout(t),e()))})}),mD}const NQ=Se({data:Se({user:Se({id:q()})}).nullish()});function IQ(){const e=NQ.safeParse(js.$store.atoms.session?.get());return e.success?e.data.data?.user.id:void 0}const LQ=3e4;let Xu=null,Tg=null;function fL(){if(Xu&&Xu.expiresAt>Date.now())return Promise.resolve(Xu.result);if(Tg)return Tg;const e=js.organization.list().then(t=>{const o=t.data?{...t,data:hL(t.data)}:t;return o.data&&(Xu={result:o,expiresAt:Date.now()+LQ}),o}).finally(()=>{Tg=null});return Tg=e,e}function obe(){const e=js.useListOrganizations(),t=e.data?hL(e.data):void 0;return{...e,data:t}}function abe(){Xu=null}const BQ="modulepreload",FQ=function(e){return"/"+e},hD={},Le=function(t,o,a){let n=Promise.resolve();if(o&&o.length>0){let l=function(p){return Promise.all(p.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=l(o.map(p=>{if(p=FQ(p),p in hD)return;hD[p]=!0;const m=p.endsWith(".css"),h=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${h}`))return;const f=document.createElement("link");if(f.rel=m?"stylesheet":BQ,m||(f.as="script"),f.crossOrigin="",f.href=p,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 ${p}`)))})}))}function i(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return n.then(l=>{for(const c of l||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})};function jQ(e){try{return JSON.parse(e)}catch{return}}function gD(e,t){if(typeof localStorage>"u")return typeof t=="function"?t(void 0):t;const o=localStorage.getItem(e),a=o?jQ(o):void 0,n=typeof t=="function"?t(a):a??t;if(a===void 0||n!==a)try{const i=JSON.stringify(n);localStorage.setItem(e,i)}catch{}return n}function zQ(e,t){const o=Ce.c(17),a=bv();let n;o[0]!==e?(n=["localStorage",e],o[0]=e,o[1]=n):n=o[1];const i=n;let l,c;o[2]!==t||o[3]!==e?(l=()=>gD(e,t),c=()=>gD(e,t),o[2]=t,o[3]=e,o[4]=l,o[5]=c):(l=o[4],c=o[5]);let d;o[6]!==i||o[7]!==l||o[8]!==c?(d={queryKey:i,queryFn:l,initialData:c,staleTime:1/0,gcTime:1/0},o[6]=i,o[7]=l,o[8]=c,o[9]=d):d=o[9];const{data:p}=Dd(d);let m;o[10]!==e||o[11]!==a||o[12]!==i?(m=b=>{const S=a.getQueryData(i),k=typeof b=="function"?b(S):b;typeof localStorage<"u"&&localStorage.setItem(e,JSON.stringify(k)),a.setQueryData(i,k)},o[10]=e,o[11]=a,o[12]=i,o[13]=m):m=o[13];const h=m,f=p;let v;return o[14]!==h||o[15]!==f?(v=[f,h],o[14]=h,o[15]=f,o[16]=v):v=o[16],v}const zs={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}`,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}`},vL=["en","pt-BR"];function mk(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const UQ={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:mk(),taskBoardLaneVisibility:{},collapsedTaskBoardLanes:[]},bL=["auto","readonly"],nbe=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],qQ=["light","dark","system"];function rbe(){try{const e=JSON.parse(localStorage.getItem(zs.preferences())??"{}");if(bL.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function $Q(){try{const e=JSON.parse(localStorage.getItem(zs.preferences())??"{}");if(vL.includes(e.language))return e.language}catch{}return mk()}function VQ(e){const t={};if(Array.isArray(e.shownTaskBoardLanes))for(const a of e.shownTaskBoardLanes)typeof a=="string"&&(t[a]=!0);const o=e.taskBoardLaneVisibility;if(o&&typeof o=="object"&&!Array.isArray(o))for(const[a,n]of Object.entries(o))typeof n=="boolean"&&(t[a]=n);return t}function hk(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=zs.preferences(),e[0]=t):t=e[0],zQ(t,HQ)}function HQ(e){const t={...UQ,...e};return"showProjectSettingsGear"in t&&delete t.showProjectSettingsGear,"compactPageLayout"in t&&delete t.compactPageLayout,bL.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),qQ.includes(t.theme)||(t.theme="system"),vL.includes(t.language)||(t.language=mk()),t.taskBoardLaneVisibility=VQ(t),"shownTaskBoardLanes"in t&&delete t.shownTaskBoardLanes,Array.isArray(t.collapsedTaskBoardLanes)||(t.collapsedTaskBoardLanes=[]),typeof t.projectFirstNav!="boolean"&&delete t.projectFirstNav,t}const GQ=A.createContext(!1),WQ=Date.parse("2026-10-22T00:00:00Z");function KQ(e,t){if(e!==void 0)return e;const o=t instanceof Date?t.getTime():typeof t=="string"||typeof t=="number"?new Date(t).getTime():Number.NaN;return Number.isFinite(o)&&o>=WQ}function ibe(){const e=Ce.c(4),t=A.use(GQ),[o]=hk(),{data:a}=js.useSession();let n;return e[0]!==t||e[1]!==o||e[2]!==a?.user?.createdAt?(n=t||KQ(o.projectFirstNav,a?.user?.createdAt),e[0]=t,e[1]=o,e[2]=a?.user?.createdAt,e[3]=n):n=e[3],n}const YQ={"page.overview":"Overview","page.app":"App","page.view":"View","page.file":"File","page.document":"Document","page.item":"Item","page.breadcrumbs":"Breadcrumbs","page.breadcrumbMenu":"Show navigation path","page.views":"Page views","page.openThread":"Open chat","page.closeThread":"Close chat","page.collapseSidebar":"Collapse sidebar","page.expandSidebar":"Expand sidebar"},ZQ={"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.siteEditor":"Site editor","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"End-to-end tests","projects.apps.analytics":"Analytics","projects.apps.cdn":"Monitor","projects.apps.automations":"Automations","projects.apps.experiments":"Experiments","projects.apps.calendar":"Calendar"},QQ={"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.general.title":"General","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site and sandbox","virtualMcp.settings.groups.advanced":"Advanced","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.subAgentsSection.addSubAgent":"Add sub-project","virtualMcp.subAgentsSection.anyAgent":"Any project","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Can delegate to any project in the organization.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Can only delegate to a fresh copy of itself, no other projects.","virtualMcp.subAgentsSection.emptyStateMessage":"No sub-projects selected yet. Add one — until then this project can only delegate to itself.","virtualMcp.subAgentsSection.noAgentsFound":"No projects found.","virtualMcp.subAgentsSection.onlyItself":"Only itself","virtualMcp.subAgentsSection.searchPlaceholder":"Search projects...","virtualMcp.subAgentsSection.specificAgents":"Specific projects","virtualMcp.subAgentsSection.title":"Sub-projects","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.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.lastUsed":"Last used {time}","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>
|
|
55
|
+
deps: ${m}}`};const n={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[p,m]=i(d);l(d,p),c(d,m)}};function i({schema:d}){const p={},m={};for(const h in d){if(h==="__proto__")continue;const f=Array.isArray(d[h])?p:m;f[h]=d[h]}return[p,m]}function l(d,p=d.schema){const{gen:m,data:h,it:f}=d;if(Object.keys(p).length===0)return;const v=m.let("missing");for(const b in p){const S=p[b];if(S.length===0)continue;const k=(0,a.propertyInData)(m,h,b,f.opts.ownProperties);d.setParams({property:b,depsCount:S.length,deps:S.join(", ")}),f.allErrors?m.if(k,()=>{for(const x of S)(0,a.checkReportMissingProp)(d,x)}):(m.if((0,t._)`${k} && (${(0,a.checkMissingProp)(d,S,v)})`),(0,a.reportMissingProp)(d,v),m.else())}}e.validatePropertyDeps=l;function c(d,p=d.schema){const{gen:m,data:h,keyword:f,it:v}=d,b=m.name("valid");for(const S in p)(0,o.alwaysValidSchema)(v,p[S])||(m.if((0,a.propertyInData)(m,h,S,v.opts.ownProperties),()=>{const k=d.subschema({keyword:f,schemaProp:S},b);d.mergeValidEvaluated(k,b)},()=>m.var(b,!0)),d.ok(b))}e.validateSchemaDeps=c,e.default=n})(ZS)),ZS}var ig={},IR;function XK(){if(IR)return ig;IR=1,Object.defineProperty(ig,"__esModule",{value:!0});const e=St(),t=Ft(),a={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:i,schema:l,data:c,it:d}=n;if((0,t.alwaysValidSchema)(d,l))return;const p=i.name("valid");i.forIn("key",c,m=>{n.setParams({propertyName:m}),n.subschema({keyword:"propertyNames",data:m,dataTypes:["string"],propertyName:m,compositeRule:!0},p),i.if((0,e.not)(p),()=>{n.error(!0),d.allErrors||i.break()})}),n.ok(p)}};return ig.default=a,ig}var sg={},LR;function HI(){if(LR)return sg;LR=1,Object.defineProperty(sg,"__esModule",{value:!0});const e=_r(),t=St(),o=Fs(),a=Ft(),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:l})=>(0,t._)`{additionalProperty: ${l.additionalProperty}}`},code(l){const{gen:c,schema:d,parentSchema:p,data:m,errsCount:h,it:f}=l;if(!h)throw new Error("ajv implementation error");const{allErrors:v,opts:b}=f;if(f.props=!0,b.removeAdditional!=="all"&&(0,a.alwaysValidSchema)(f,d))return;const S=(0,e.allSchemaProperties)(p.properties),k=(0,e.allSchemaProperties)(p.patternProperties);x(),l.ok((0,t._)`${h} === ${o.default.errors}`);function x(){c.forIn("key",m,R=>{!S.length&&!k.length?C(R):c.if(T(R),()=>C(R))})}function T(R){let D;if(S.length>8){const O=(0,a.schemaRefOrVal)(f,p.properties,"properties");D=(0,e.isOwnProperty)(c,O,R)}else S.length?D=(0,t.or)(...S.map(O=>(0,t._)`${R} === ${O}`)):D=t.nil;return k.length&&(D=(0,t.or)(D,...k.map(O=>(0,t._)`${(0,e.usePattern)(l,O)}.test(${R})`))),(0,t.not)(D)}function P(R){c.code((0,t._)`delete ${m}[${R}]`)}function C(R){if(b.removeAdditional==="all"||b.removeAdditional&&d===!1){P(R);return}if(d===!1){l.setParams({additionalProperty:R}),l.error(),v||c.break();return}if(typeof d=="object"&&!(0,a.alwaysValidSchema)(f,d)){const D=c.name("valid");b.removeAdditional==="failing"?(E(R,D,!1),c.if((0,t.not)(D),()=>{l.reset(),P(R)})):(E(R,D),v||c.if((0,t.not)(D),()=>c.break()))}}function E(R,D,O){const L={keyword:"additionalProperties",dataProp:R,dataPropType:a.Type.Str};O===!1&&Object.assign(L,{compositeRule:!0,createErrors:!1,allErrors:!1}),l.subschema(L,D)}}};return sg.default=i,sg}var lg={},BR;function eY(){if(BR)return lg;BR=1,Object.defineProperty(lg,"__esModule",{value:!0});const e=Ov(),t=_r(),o=Ft(),a=HI(),n={keyword:"properties",type:"object",schemaType:"object",code(i){const{gen:l,schema:c,parentSchema:d,data:p,it:m}=i;m.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&a.default.code(new e.KeywordCxt(m,a.default,"additionalProperties"));const h=(0,t.allSchemaProperties)(c);for(const k of h)m.definedProperties.add(k);m.opts.unevaluated&&h.length&&m.props!==!0&&(m.props=o.mergeEvaluated.props(l,(0,o.toHash)(h),m.props));const f=h.filter(k=>!(0,o.alwaysValidSchema)(m,c[k]));if(f.length===0)return;const v=l.name("valid");for(const k of f)b(k)?S(k):(l.if((0,t.propertyInData)(l,p,k,m.opts.ownProperties)),S(k),m.allErrors||l.else().var(v,!0),l.endIf()),i.it.definedProperties.add(k),i.ok(v);function b(k){return m.opts.useDefaults&&!m.compositeRule&&c[k].default!==void 0}function S(k){i.subschema({keyword:"properties",schemaProp:k,dataProp:k},v)}}};return lg.default=n,lg}var cg={},FR;function tY(){if(FR)return cg;FR=1,Object.defineProperty(cg,"__esModule",{value:!0});const e=_r(),t=St(),o=Ft(),a=Ft(),n={keyword:"patternProperties",type:"object",schemaType:"object",code(i){const{gen:l,schema:c,data:d,parentSchema:p,it:m}=i,{opts:h}=m,f=(0,e.allSchemaProperties)(c),v=f.filter(C=>(0,o.alwaysValidSchema)(m,c[C]));if(f.length===0||v.length===f.length&&(!m.opts.unevaluated||m.props===!0))return;const b=h.strictSchema&&!h.allowMatchingProperties&&p.properties,S=l.name("valid");m.props!==!0&&!(m.props instanceof t.Name)&&(m.props=(0,a.evaluatedPropsToName)(l,m.props));const{props:k}=m;x();function x(){for(const C of f)b&&T(C),m.allErrors?P(C):(l.var(S,!0),P(C),l.if(S))}function T(C){for(const E in b)new RegExp(C).test(E)&&(0,o.checkStrictMode)(m,`property ${E} matches pattern ${C} (use allowMatchingProperties)`)}function P(C){l.forIn("key",d,E=>{l.if((0,t._)`${(0,e.usePattern)(i,C)}.test(${E})`,()=>{const R=v.includes(C);R||i.subschema({keyword:"patternProperties",schemaProp:C,dataProp:E,dataPropType:a.Type.Str},S),m.opts.unevaluated&&k!==!0?l.assign((0,t._)`${k}[${E}]`,!0):!R&&!m.allErrors&&l.if((0,t.not)(S),()=>l.break())})})}}};return cg.default=n,cg}var dg={},jR;function oY(){if(jR)return dg;jR=1,Object.defineProperty(dg,"__esModule",{value:!0});const e=Ft(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(o){const{gen:a,schema:n,it:i}=o;if((0,e.alwaysValidSchema)(i,n)){o.fail();return}const l=a.name("valid");o.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},l),o.failResult(l,()=>o.reset(),()=>o.error())},error:{message:"must NOT be valid"}};return dg.default=t,dg}var ug={},zR;function aY(){if(zR)return ug;zR=1,Object.defineProperty(ug,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:_r().validateUnion,error:{message:"must match a schema in anyOf"}};return ug.default=t,ug}var pg={},UR;function nY(){if(UR)return pg;UR=1,Object.defineProperty(pg,"__esModule",{value:!0});const e=St(),t=Ft(),a={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:i,schema:l,parentSchema:c,it:d}=n;if(!Array.isArray(l))throw new Error("ajv implementation error");if(d.opts.discriminator&&c.discriminator)return;const p=l,m=i.let("valid",!1),h=i.let("passing",null),f=i.name("_valid");n.setParams({passing:h}),i.block(v),n.result(m,()=>n.reset(),()=>n.error(!0));function v(){p.forEach((b,S)=>{let k;(0,t.alwaysValidSchema)(d,b)?i.var(f,!0):k=n.subschema({keyword:"oneOf",schemaProp:S,compositeRule:!0},f),S>0&&i.if((0,e._)`${f} && ${m}`).assign(m,!1).assign(h,(0,e._)`[${h}, ${S}]`).else(),i.if(f,()=>{i.assign(m,!0),i.assign(h,S),k&&n.mergeEvaluated(k,e.Name)})})}}};return pg.default=a,pg}var mg={},qR;function rY(){if(qR)return mg;qR=1,Object.defineProperty(mg,"__esModule",{value:!0});const e=Ft(),t={keyword:"allOf",schemaType:"array",code(o){const{gen:a,schema:n,it:i}=o;if(!Array.isArray(n))throw new Error("ajv implementation error");const l=a.name("valid");n.forEach((c,d)=>{if((0,e.alwaysValidSchema)(i,c))return;const p=o.subschema({keyword:"allOf",schemaProp:d},l);o.ok(l),o.mergeEvaluated(p)})}};return mg.default=t,mg}var hg={},$R;function iY(){if($R)return hg;$R=1,Object.defineProperty(hg,"__esModule",{value:!0});const e=St(),t=Ft(),a={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:i})=>(0,e.str)`must match "${i.ifClause}" schema`,params:({params:i})=>(0,e._)`{failingKeyword: ${i.ifClause}}`},code(i){const{gen:l,parentSchema:c,it:d}=i;c.then===void 0&&c.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const p=n(d,"then"),m=n(d,"else");if(!p&&!m)return;const h=l.let("valid",!0),f=l.name("_valid");if(v(),i.reset(),p&&m){const S=l.let("ifClause");i.setParams({ifClause:S}),l.if(f,b("then",S),b("else",S))}else p?l.if(f,b("then")):l.if((0,e.not)(f),b("else"));i.pass(h,()=>i.error(!0));function v(){const S=i.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},f);i.mergeEvaluated(S)}function b(S,k){return()=>{const x=i.subschema({keyword:S},f);l.assign(h,f),i.mergeValidEvaluated(x,h),k?l.assign(k,(0,e._)`${S}`):i.setParams({ifClause:S})}}}};function n(i,l){const c=i.schema[l];return c!==void 0&&!(0,t.alwaysValidSchema)(i,c)}return hg.default=a,hg}var gg={},VR;function sY(){if(VR)return gg;VR=1,Object.defineProperty(gg,"__esModule",{value:!0});const e=Ft(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:o,parentSchema:a,it:n}){a.if===void 0&&(0,e.checkStrictMode)(n,`"${o}" without "if" is ignored`)}};return gg.default=t,gg}var HR;function lY(){if(HR)return og;HR=1,Object.defineProperty(og,"__esModule",{value:!0});const e=$I(),t=YK(),o=VI(),a=ZK(),n=QK(),i=JK(),l=XK(),c=HI(),d=eY(),p=tY(),m=oY(),h=aY(),f=nY(),v=rY(),b=iY(),S=sY();function k(x=!1){const T=[m.default,h.default,f.default,v.default,b.default,S.default,l.default,c.default,i.default,d.default,p.default];return x?T.push(t.default,a.default):T.push(e.default,o.default),T.push(n.default),T}return og.default=k,og}var fg={},vg={},GR;function cY(){if(GR)return vg;GR=1,Object.defineProperty(vg,"__esModule",{value:!0});const e=St(),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:a})=>(0,e.str)`must match format "${a}"`,params:({schemaCode:a})=>(0,e._)`{format: ${a}}`},code(a,n){const{gen:i,data:l,$data:c,schema:d,schemaCode:p,it:m}=a,{opts:h,errSchemaPath:f,schemaEnv:v,self:b}=m;if(!h.validateFormats)return;c?S():k();function S(){const x=i.scopeValue("formats",{ref:b.formats,code:h.code.formats}),T=i.const("fDef",(0,e._)`${x}[${p}]`),P=i.let("fType"),C=i.let("format");i.if((0,e._)`typeof ${T} == "object" && !(${T} instanceof RegExp)`,()=>i.assign(P,(0,e._)`${T}.type || "string"`).assign(C,(0,e._)`${T}.validate`),()=>i.assign(P,(0,e._)`"string"`).assign(C,T)),a.fail$data((0,e.or)(E(),R()));function E(){return h.strictSchema===!1?e.nil:(0,e._)`${p} && !${C}`}function R(){const D=v.$async?(0,e._)`(${T}.async ? await ${C}(${l}) : ${C}(${l}))`:(0,e._)`${C}(${l})`,O=(0,e._)`(typeof ${C} == "function" ? ${D} : ${C}.test(${l}))`;return(0,e._)`${C} && ${C} !== true && ${P} === ${n} && !${O}`}}function k(){const x=b.formats[d];if(!x){E();return}if(x===!0)return;const[T,P,C]=R(x);T===n&&a.pass(D());function E(){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 R(O){const L=O instanceof RegExp?(0,e.regexpCode)(O):h.code.formats?(0,e._)`${h.code.formats}${(0,e.getProperty)(d)}`:void 0,$=i.scopeValue("formats",{key:d,ref:O,code:L});return typeof O=="object"&&!(O instanceof RegExp)?[O.type||"string",O.validate,(0,e._)`${$}.validate`]:["string",O,$]}function D(){if(typeof x=="object"&&!(x instanceof RegExp)&&x.async){if(!v.$async)throw new Error("async format in sync schema");return(0,e._)`await ${C}(${l})`}return typeof P=="function"?(0,e._)`${C}(${l})`:(0,e._)`${C}.test(${l})`}}}};return vg.default=o,vg}var WR;function dY(){if(WR)return fg;WR=1,Object.defineProperty(fg,"__esModule",{value:!0});const t=[cY().default];return fg.default=t,fg}var cl={},KR;function uY(){return KR||(KR=1,Object.defineProperty(cl,"__esModule",{value:!0}),cl.contentVocabulary=cl.metadataVocabulary=void 0,cl.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],cl.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),cl}var YR;function pY(){if(YR)return zh;YR=1,Object.defineProperty(zh,"__esModule",{value:!0});const e=LK(),t=KK(),o=lY(),a=dY(),n=uY(),i=[e.default,t.default,(0,o.default)(),a.default,n.metadataVocabulary,n.contentVocabulary];return zh.default=i,zh}var bg={},Nu={},ZR;function mY(){if(ZR)return Nu;ZR=1,Object.defineProperty(Nu,"__esModule",{value:!0}),Nu.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(Nu.DiscrError=e={})),Nu}var QR;function hY(){if(QR)return bg;QR=1,Object.defineProperty(bg,"__esModule",{value:!0});const e=St(),t=mY(),o=ik(),a=Mv(),n=Ft(),l={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:p}})=>(0,e._)`{error: ${c}, tag: ${p}, tagValue: ${d}}`},code(c){const{gen:d,data:p,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 S=d.let("valid",!1),k=d.const("tag",(0,e._)`${p}${(0,e.getProperty)(b)}`);d.if((0,e._)`typeof ${k} == "string"`,()=>x(),()=>c.error(!1,{discrError:t.DiscrError.Tag,tag:k,tagName:b})),c.ok(S);function x(){const C=P();d.if(!1);for(const E in C)d.elseIf((0,e._)`${k} === ${E}`),d.assign(S,T(C[E]));d.else(),c.error(!1,{discrError:t.DiscrError.Mapping,tag:k,tagName:b}),d.endIf()}function T(C){const E=d.name("valid"),R=c.subschema({keyword:"oneOf",schemaProp:C},E);return c.mergeEvaluated(R,e.Name),E}function P(){var C;const E={},R=O(h);let D=!0;for(let B=0;B<v.length;B++){let U=v[B];if(U?.$ref&&!(0,n.schemaHasRulesButRef)(U,f.self.RULES)){const W=U.$ref;if(U=o.resolveRef.call(f.self,f.schemaEnv.root,f.baseId,W),U instanceof o.SchemaEnv&&(U=U.schema),U===void 0)throw new a.default(f.opts.uriResolver,f.baseId,W)}const F=(C=U?.properties)===null||C===void 0?void 0:C[b];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${b}"`);D=D&&(R||O(U)),L(F,B)}if(!D)throw new Error(`discriminator: "${b}" must be required`);return E;function O({required:B}){return Array.isArray(B)&&B.includes(b)}function L(B,U){if(B.const)$(B.const,U);else if(B.enum)for(const F of B.enum)$(F,U);else throw new Error(`discriminator: "properties/${b}" must have "const" or "enum"`)}function $(B,U){if(typeof B!="string"||B in E)throw new Error(`discriminator: "${b}" values must be unique strings`);E[B]=U}}}};return bg.default=l,bg}const gY="http://json-schema.org/draft-07/schema#",fY="http://json-schema.org/draft-07/schema#",vY="Core schema meta-schema",bY={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:[]}},yY=["object","boolean"],SY={$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:"#"}},wY={$schema:gY,$id:fY,title:vY,definitions:bY,type:yY,properties:SY,default:!0};var JR;function xY(){return JR||(JR=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 o=MK(),a=pY(),n=hY(),i=wY,l=["/properties"],c="http://json-schema.org/draft-07/schema";class d extends o.default{_addVocabularies(){super._addVocabularies(),a.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(i,l):i;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 p=Ov();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return p.KeywordCxt}});var m=St();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=rk();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var f=Mv();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})})(Ih,Ih.exports)),Ih.exports}var yg={exports:{}},QS={},XR;function TY(){return XR||(XR=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(B,U){return{validate:B,compare:U}}e.fullFormats={date:t(i,l),time:t(d(!0),p),"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:x,"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:$,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:P,int32:{type:"number",validate:R},int64:{type:"number",validate:D},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$/,l),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),"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 o(B){return B%4===0&&(B%100!==0||B%400===0)}const a=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,n=[0,31,28,31,30,31,30,31,31,30,31,30,31];function i(B){const U=a.exec(B);if(!U)return!1;const F=+U[1],W=+U[2],ae=+U[3];return W>=1&&W<=12&&ae>=1&&ae<=(W===2&&o(F)?29:n[W])}function l(B,U){if(B&&U)return B>U?1:B<U?-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],le=W[5]==="-"?-1:1,Q=+(W[6]||0),N=+(W[7]||0);if(Q>23||N>59||B&&!J)return!1;if(ae<=23&&H<=59&&K<60)return!0;const G=H-N*le,V=ae-Q*le-(G<0?1:0);return(V===23||V===-1)&&(G===59||G===-1)&&K<61}}function p(B,U){if(!(B&&U))return;const F=new Date("2020-01-01T"+B).valueOf(),W=new Date("2020-01-01T"+U).valueOf();if(F&&W)return F-W}function m(B,U){if(!(B&&U))return;const F=c.exec(B),W=c.exec(U);if(F&&W)return B=F[1]+F[2]+F[3],U=W[1]+W[2]+W[3],B>U?1:B<U?-1:0}const h=/t|\s/i;function f(B){const U=d(B);return function(W){const ae=W.split(h);return ae.length===2&&i(ae[0])&&U(ae[1])}}function v(B,U){if(!(B&&U))return;const F=new Date(B).valueOf(),W=new Date(U).valueOf();if(F&&W)return F-W}function b(B,U){if(!(B&&U))return;const[F,W]=B.split(h),[ae,H]=U.split(h),K=l(F,ae);if(K!==void 0)return K||p(W,H)}const S=/\/|:/,k=/^(?:[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 x(B){return S.test(B)&&k.test(B)}const T=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function P(B){return T.lastIndex=0,T.test(B)}const C=-2147483648,E=2**31-1;function R(B){return Number.isInteger(B)&&B<=E&&B>=C}function D(B){return Number.isInteger(B)}function O(){return!0}const L=/[^\\]\\Z/;function $(B){if(L.test(B))return!1;try{return new RegExp(B),!0}catch{return!1}}})(QS)),QS}var JS={},eD;function kY(){return eD||(eD=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=xY(),o=St(),a=o.operators,n={formatMaximum:{okStr:"<=",ok:a.LTE,fail:a.GT},formatMinimum:{okStr:">=",ok:a.GTE,fail:a.LT},formatExclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},formatExclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}},i={message:({keyword:c,schemaCode:d})=>(0,o.str)`should be ${n[c].okStr} ${d}`,params:({keyword:c,schemaCode:d})=>(0,o._)`{comparison: ${n[c].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(n),type:"string",schemaType:"string",$data:!0,error:i,code(c){const{gen:d,data:p,schemaCode:m,keyword:h,it:f}=c,{opts:v,self:b}=f;if(!v.validateFormats)return;const S=new t.KeywordCxt(f,b.RULES.all.format.definition,"format");S.$data?k():x();function k(){const P=d.scopeValue("formats",{ref:b.formats,code:v.code.formats}),C=d.const("fmt",(0,o._)`${P}[${S.schemaCode}]`);c.fail$data((0,o.or)((0,o._)`typeof ${C} != "object"`,(0,o._)`${C} instanceof RegExp`,(0,o._)`typeof ${C}.compare != "function"`,T(C)))}function x(){const P=S.schema,C=b.formats[P];if(!C||C===!0)return;if(typeof C!="object"||C instanceof RegExp||typeof C.compare!="function")throw new Error(`"${h}": format "${P}" does not define "compare" function`);const E=d.scopeValue("formats",{key:P,ref:C,code:v.code.formats?(0,o._)`${v.code.formats}${(0,o.getProperty)(P)}`:void 0});c.fail$data(T(E))}function T(P){return(0,o._)`${P}.compare(${p}, ${m}) ${n[h].fail} 0`}},dependencies:["format"]};const l=c=>(c.addKeyword(e.formatLimitDefinition),c);e.default=l})(JS)),JS}var tD;function _Y(){return tD||(tD=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const o=TY(),a=kY(),n=St(),i=new n.Name("fullFormats"),l=new n.Name("fastFormats"),c=(p,m={keywords:!0})=>{if(Array.isArray(m))return d(p,m,o.fullFormats,i),p;const[h,f]=m.mode==="fast"?[o.fastFormats,l]:[o.fullFormats,i],v=m.formats||o.formatNames;return d(p,v,h,f),m.keywords&&(0,a.default)(p),p};c.get=(p,m="full")=>{const f=(m==="fast"?o.fastFormats:o.fullFormats)[p];if(!f)throw new Error(`Unknown format "${p}"`);return f};function d(p,m,h,f){var v,b;(v=(b=p.opts.code).formats)!==null&&v!==void 0||(b.formats=(0,n._)`require("ajv-formats/dist/formats").${f}`);for(const S of m)p.addFormat(S,h[S])}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c})(yg,yg.exports)),yg.exports}var CY=_Y();const Uve=Nl(CY);function EY({studioUrl:e,meshUrl:t},o){return e??t??o}let lk;lk=globalThis.crypto;async function PY(e){return(await lk).getRandomValues(new Uint8Array(e))}async function AY(e){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~",o=Math.pow(2,8)-Math.pow(2,8)%t.length;let a="";for(;a.length<e;){const n=await PY(e-a.length);for(const i of n)i<o&&(a+=t[i%t.length])}return a}async function RY(e){return await AY(e)}async function DY(e){const t=await(await lk).subtle.digest("SHA-256",new TextEncoder().encode(e));return btoa(String.fromCharCode(...new Uint8Array(t))).replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}async function qve(e){if(e||(e=43),e<43||e>128)throw`Expected a length between 43 and 128. Received ${e}.`;const t=await RY(e),o=await DY(t);return{code_verifier:t,code_challenge:o}}const Ta=QN().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:NH.custom,message:"URL must be parseable",fatal:!0}),zq}).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"}),$ve=ka({resource:q().url(),authorization_servers:je(Ta).optional(),jwks_uri:q().url().optional(),scopes_supported:je(q()).optional(),bearer_methods_supported:je(q()).optional(),resource_signing_alg_values_supported:je(q()).optional(),resource_name:q().optional(),resource_documentation:q().optional(),resource_policy_uri:q().url().optional(),resource_tos_uri:q().url().optional(),tls_client_certificate_bound_access_tokens:Vt().optional(),authorization_details_types_supported:je(q()).optional(),dpop_signing_alg_values_supported:je(q()).optional(),dpop_bound_access_tokens_required:Vt().optional()}),OY=ka({issuer:q(),authorization_endpoint:Ta,token_endpoint:Ta,registration_endpoint:Ta.optional(),scopes_supported:je(q()).optional(),response_types_supported:je(q()),response_modes_supported:je(q()).optional(),grant_types_supported:je(q()).optional(),token_endpoint_auth_methods_supported:je(q()).optional(),token_endpoint_auth_signing_alg_values_supported:je(q()).optional(),service_documentation:Ta.optional(),revocation_endpoint:Ta.optional(),revocation_endpoint_auth_methods_supported:je(q()).optional(),revocation_endpoint_auth_signing_alg_values_supported:je(q()).optional(),introspection_endpoint:q().optional(),introspection_endpoint_auth_methods_supported:je(q()).optional(),introspection_endpoint_auth_signing_alg_values_supported:je(q()).optional(),code_challenge_methods_supported:je(q()).optional(),client_id_metadata_document_supported:Vt().optional()}),MY=ka({issuer:q(),authorization_endpoint:Ta,token_endpoint:Ta,userinfo_endpoint:Ta.optional(),jwks_uri:Ta,registration_endpoint:Ta.optional(),scopes_supported:je(q()).optional(),response_types_supported:je(q()),response_modes_supported:je(q()).optional(),grant_types_supported:je(q()).optional(),acr_values_supported:je(q()).optional(),subject_types_supported:je(q()),id_token_signing_alg_values_supported:je(q()),id_token_encryption_alg_values_supported:je(q()).optional(),id_token_encryption_enc_values_supported:je(q()).optional(),userinfo_signing_alg_values_supported:je(q()).optional(),userinfo_encryption_alg_values_supported:je(q()).optional(),userinfo_encryption_enc_values_supported:je(q()).optional(),request_object_signing_alg_values_supported:je(q()).optional(),request_object_encryption_alg_values_supported:je(q()).optional(),request_object_encryption_enc_values_supported:je(q()).optional(),token_endpoint_auth_methods_supported:je(q()).optional(),token_endpoint_auth_signing_alg_values_supported:je(q()).optional(),display_values_supported:je(q()).optional(),claim_types_supported:je(q()).optional(),claims_supported:je(q()).optional(),service_documentation:q().optional(),claims_locales_supported:je(q()).optional(),ui_locales_supported:je(q()).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:Ta.optional(),op_tos_uri:Ta.optional(),client_id_metadata_document_supported:Vt().optional()}),Vve=Se({...MY.shape,...OY.pick({code_challenge_methods_supported:!0}).shape}),Hve=Se({access_token:q(),id_token:q().optional(),token_type:q(),expires_in:iI().optional(),scope:q().optional(),refresh_token:q().optional()}).strip(),Gve=Se({error:q(),error_description:q().optional(),error_uri:q().optional()}),oD=Ta.optional().or(Ze("").transform(()=>{})),NY=Se({redirect_uris:je(Ta),token_endpoint_auth_method:q().optional(),grant_types:je(q()).optional(),response_types:je(q()).optional(),client_name:q().optional(),client_uri:Ta.optional(),logo_uri:oD,scope:q().optional(),contacts:je(q()).optional(),tos_uri:oD,policy_uri:q().optional(),jwks_uri:Ta.optional(),jwks:iH().optional(),software_id:q().optional(),software_version:q().optional(),software_statement:q().optional()}).strip(),IY=Se({client_id:q(),client_secret:q().optional(),client_id_issued_at:Rt().optional(),client_secret_expires_at:Rt().optional()}).strip(),Wve=NY.merge(IY);Se({error:q(),error_description:q().optional()}).strip();Se({token:q(),token_type_hint:q().optional()}).strip();class Aa extends Error{constructor(t,o){super(t),this.errorUri=o,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 j0 extends Aa{}j0.errorCode="invalid_request";class z0 extends Aa{}z0.errorCode="invalid_client";class U0 extends Aa{}U0.errorCode="invalid_grant";class q0 extends Aa{}q0.errorCode="unauthorized_client";class $0 extends Aa{}$0.errorCode="unsupported_grant_type";class V0 extends Aa{}V0.errorCode="invalid_scope";class H0 extends Aa{}H0.errorCode="access_denied";class G0 extends Aa{}G0.errorCode="server_error";class W0 extends Aa{}W0.errorCode="temporarily_unavailable";class K0 extends Aa{}K0.errorCode="unsupported_response_type";class Y0 extends Aa{}Y0.errorCode="unsupported_token_type";class Z0 extends Aa{}Z0.errorCode="invalid_token";class Q0 extends Aa{}Q0.errorCode="method_not_allowed";class J0 extends Aa{}J0.errorCode="too_many_requests";class X0 extends Aa{}X0.errorCode="invalid_client_metadata";class ex extends Aa{}ex.errorCode="insufficient_scope";class tx extends Aa{}tx.errorCode="invalid_target";const Kve={[j0.errorCode]:j0,[z0.errorCode]:z0,[U0.errorCode]:U0,[q0.errorCode]:q0,[$0.errorCode]:$0,[V0.errorCode]:V0,[H0.errorCode]:H0,[G0.errorCode]:G0,[W0.errorCode]:W0,[K0.errorCode]:K0,[Y0.errorCode]:Y0,[Z0.errorCode]:Z0,[Q0.errorCode]:Q0,[J0.errorCode]:J0,[X0.errorCode]:X0,[ex.errorCode]:ex,[tx.errorCode]:tx};async function GI(e){if(!e.getServerCapabilities()?.resources)return{resources:[]};try{return await e.listResources()}catch(o){if(o instanceof Av&&o.code===Cp.MethodNotFound)return{resources:[]};throw o}}async function LY(e,t){return await e.readResource({uri:t})}function Yve(e){const t=Ce.c(12);let o,a;t[0]!==e?({client:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=hn.mcpResourcesList(o),t[3]=o,t[4]=n):n=t[4];let i;t[5]!==o?(i=()=>GI(o),t[5]=o,t[6]=i):i=t[6];const l=a.staleTime??3e4;let c;return t[7]!==a||t[8]!==n||t[9]!==i||t[10]!==l?(c={...a,queryKey:n,queryFn:i,staleTime:l,retry:!1},t[7]=a,t[8]=n,t[9]=i,t[10]=l,t[11]=c):c=t[11],Ll(c)}function Zve(e){const t=Ce.c(12);let o,a;t[0]!==e?({client:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=hn.mcpResourcesList(o),t[3]=o,t[4]=n):n=t[4];let i;t[5]!==o?(i=()=>GI(o),t[5]=o,t[6]=i):i=t[6];const l=a.staleTime??3e4;let c;return t[7]!==a||t[8]!==n||t[9]!==i||t[10]!==l?(c={...a,queryKey:n,queryFn:i,staleTime:l,retry:!1},t[7]=a,t[8]=n,t[9]=i,t[10]=l,t[11]=c):c=t[11],Dd(c)}function Qve(e){const t=Ce.c(15);let o,a,n;t[0]!==e?({client:o,uri:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);let i;t[4]!==o||t[5]!==n?(i=hn.mcpReadResource(o,n),t[4]=o,t[5]=n,t[6]=i):i=t[6];let l;t[7]!==o||t[8]!==n?(l=()=>LY(o,n),t[7]=o,t[8]=n,t[9]=l):l=t[9];const c=a.staleTime??3e4;let d;return t[10]!==a||t[11]!==i||t[12]!==l||t[13]!==c?(d={...a,queryKey:i,queryFn:l,staleTime:c,retry:!1},t[10]=a,t[11]=i,t[12]=l,t[13]=c,t[14]=d):d=t[14],Ll(d)}const WI="ui-resource-html";function Jve(e){const t=Ce.c(22);let o,a,n,i,l,c;t[0]!==e?({orgSlug:n,connectionId:o,uri:c,studioUrl:l,meshUrl:a,...i}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i,t[5]=l,t[6]=c):(o=t[1],a=t[2],n=t[3],i=t[4],l=t[5],c=t[6]);let d;t[7]!==o||t[8]!==n||t[9]!==c?(d=hn.mcpUiResourceHtml(n,o,c),t[7]=o,t[8]=n,t[9]=c,t[10]=d):d=t[10];let p;t[11]!==o||t[12]!==a||t[13]!==n||t[14]!==l||t[15]!==c?(p=async()=>{const v=`${EY({studioUrl:l,meshUrl:a},typeof window<"u"?window.location.origin:"")}/api/${encodeURIComponent(n)}/mcp/${encodeURIComponent(o)}/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]=o,t[12]=a,t[13]=n,t[14]=l,t[15]=c,t[16]=p):p=t[16];const m=i.staleTime??3e4;let h;return t[17]!==i||t[18]!==d||t[19]!==p||t[20]!==m?(h={...i,queryKey:d,queryFn:p,staleTime:m,retry:!1},t[17]=i,t[18]=d,t[19]=p,t[20]=m,t[21]=h):h=t[21],Ll(h)}const KI={featureNotInPlan:"feature_not_in_plan",aiBudgetExhausted:"ai_budget_exhausted"};class ox extends Error{constructor(t,o,a){super(t),this.status=o,this.code=a,this.name="StudioToolError"}status;code}function YI(e){return e instanceof ox&&Object.values(KI).includes(e.code??"")?e.code:null}async function BY(e,t,o){const a=await fetch(`/api/${encodeURIComponent(e)}/tools/${encodeURIComponent(t)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o??{})});if(!a.ok){let n=`${t} failed (${a.status})`,i;try{const l=await a.json();l?.error&&(n=l.error),typeof l?.code=="string"&&(i=l.code)}catch{}throw new ox(n,a.status,i)}try{return await a.json()}catch{throw new ox(`${t} returned a non-JSON response`,a.status)}}function ck(){const e=Ce.c(5),{org:t}=Qp(),o=t.slug;let a;e[0]!==o?(a=(i,l)=>BY(o,i,l),e[0]=o,e[1]=a):a=e[1];let n;return e[2]!==o||e[3]!==a?(n={orgSlug:o,call:a},e[2]=o,e[3]=a,e[4]=n):n=e[4],n}const FY="studio-ui-resources",Af="html",jY=10080*60*1e3,zY=50,UY=16*1024*1024;function qY(e){return e[0]==="mcp"&&e[1]===WI}function Nv(){return new Promise((e,t)=>{const o=indexedDB.open(FY,1);o.onupgradeneeded=()=>{o.result.objectStoreNames.contains(Af)||o.result.createObjectStore(Af)},o.onsuccess=()=>e(o.result),o.onerror=()=>t(o.error)})}function Sd(e,t){return e.transaction(Af,t).objectStore(Af)}function ax(e){return new Promise((t,o)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>o(e.error)})}async function $Y(e){if(!(typeof indexedDB>"u"))try{const t=await Nv(),o=Sd(t,"readonly"),a=await ax(o.getAllKeys()),n=await ax(o.getAll()),i=Date.now(),l=a.map((p,m)=>({key:p,value:n[m]})).sort((p,m)=>(m.value?.updatedAt??0)-(p.value?.updatedAt??0)),c=[];let d=0;for(const{key:p,value:m}of l){if(!m||i-m.updatedAt>jY||d>=zY){c.push(p);continue}d++;try{const f=JSON.parse(String(p));e.getQueryData(f)===void 0&&e.setQueryData(f,m.html,{updatedAt:0})}catch{c.push(p)}}if(c.length>0){const p=Sd(t,"readwrite");for(const m of c)p.delete(m)}}catch{}}function VY(e){if(typeof indexedDB>"u")return()=>{};const t=Nv().catch(()=>null);return e.getQueryCache().subscribe(o=>{const a=o.query;if(!Array.isArray(a.queryKey)||!qY(a.queryKey)||a.state.status!=="success")return;const n=a.state.data;typeof n!="string"||n.length>UY||t.then(i=>{if(i)try{Sd(i,"readwrite").put({html:n,updatedAt:Date.now()},JSON.stringify(a.queryKey))}catch{}})})}function HY(){typeof indexedDB>"u"||Nv().then(e=>Sd(e,"readwrite").clear()).catch(()=>{})}async function Xve(e){if(!(typeof indexedDB>"u"))try{const t=await Nv(),o=await ax(Sd(t,"readonly").getAllKeys()),a=Sd(t,"readwrite");for(const n of o)try{const i=JSON.parse(String(n));i[1]===WI&&i[3]===e&&a.delete(n)}catch{}}catch{}}const Rf="studio:rq-cache",dk=1440*60*1e3,GY=1e3,WY=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions","order-monitor"]),KY=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let ZI=!1,QI=!1;function YY(e){const t=e[0];return typeof t=="string"&&WY.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&KY.has(e[4])}function ZY(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(Rf);if(!t)return;const o=JSON.parse(t),a=!o.timestamp||Date.now()-o.timestamp>dk;if(o.buster!=="4.523.0"||a||!o.state){window.localStorage.removeItem(Rf);return}bq(e,o.state),e.invalidateQueries({queryKey:hn.publicConfig(),refetchType:"none"}),ZI=!0}catch{oZ()}}function QY(e){if(typeof window>"u")return()=>{};let t=null;const o=()=>{t=null;try{const i=vq(e,{shouldDehydrateQuery:l=>l.state.status==="success"&&YY(l.queryKey)});window.localStorage.setItem(Rf,JSON.stringify({buster:"4.523.0",timestamp:Date.now(),state:i}))}catch{}},a=e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(o,GY))}),n=()=>{t!=null&&(clearTimeout(t),o())};return window.addEventListener("pagehide",n),()=>{t!=null&&clearTimeout(t),window.removeEventListener("pagehide",n),a()}}const JI="studio:org-cache:",JY=20;function XY(e){const t=Date.now(),o=Object.entries(e).filter(([,a])=>t-a.updatedAt<=dk);for(o.sort(([,a],[,n])=>a.updatedAt-n.updatedAt);o.length>JY;)o.shift();return Object.fromEntries(o)}function XI(e){return`${JI}${e}`}function eZ(e,t){if(typeof window>"u")return null;try{const o=window.localStorage.getItem(XI(e));if(!o)return null;const a=JSON.parse(o)[t];return!a||Date.now()-a.updatedAt>dk?null:(QI=!0,a)}catch{return null}}function tZ(e,t,o){if(!(typeof window>"u"))try{const a=XI(e),n=window.localStorage.getItem(a),i=n?JSON.parse(n):{};i[t]={data:o,updatedAt:Date.now()},window.localStorage.setItem(a,JSON.stringify(XY(i)))}catch{}}function oZ(){if(HY(),!(typeof window>"u"))try{window.localStorage.removeItem(Rf);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(JI)&&window.localStorage.removeItem(t)}}catch{}}function aZ(){return ZI}function nZ(){return QI}function aD(e){const t=YI(e);if(!t)return;const o=t===KI.aiBudgetExhausted?Df.budget||"This organization's AI allowance is used up.":Df.feature||"This organization's plan does not include that.";yd.error(o,{id:`plan-refusal:${t}`})}const Df={feature:"",budget:""},Nd=new Aq({queryCache:new VM({onError:aD}),mutationCache:new $M({onError:aD}),defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:(e,t)=>YI(t)===null&&e<1,gcTime:300*1e3}}});ZY(Nd);QY(Nd);$Y(Nd);VY(Nd);const uk=5*6e4;async function eL(){return(await(await fetch("/api/config")).json()).config}function tL(){const e=Ce.c(1);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:hn.publicConfig(),queryFn:eL,staleTime:uk},e[0]=t):t=e[0];const{data:o}=Ll(t);return o}function ebe(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={queryKey:hn.publicConfig(),queryFn:eL,staleTime:uk},e[0]=t):t=e[0],Dd(t).data}const oL=A.createContext(void 0);function rZ(e){const t=Ce.c(3),{children:o}=e,a=tL();let n;return t[0]!==o||t[1]!==a.auth?(n=w.jsx(oL.Provider,{value:a.auth,children:o}),t[0]=o,t[1]=a.auth,t[2]=n):n=t[2],n}function tbe(){const e=A.useContext(oL);if(e===void 0)throw new Error("useAuthConfig must be used within AuthConfigProvider");return e}var iZ={},nD={};const Jg=Object.create(null),Iu=e=>iZ||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?Jg:globalThis),Wn=new Proxy(Jg,{get(e,t){return Iu()[t]??Jg[t]},has(e,t){return t in Iu()||t in Jg},set(e,t,o){const a=Iu(!0);return a[t]=o,!0},deleteProperty(e,t){if(!t)return!1;const o=Iu(!0);return delete o[t],!0},ownKeys(){const e=Iu(!0);return Object.keys(e)}});function Ko(e,t){return typeof process<"u"&&nD?nD[e]??t:typeof Deno<"u"?Deno.env.get(e)??t:typeof Bun<"u"?Bun.env[e]??t:t}const Lu=1,ua=4,Fr=8,Pn=24,rD={eterm:ua,cons25:ua,console:ua,cygwin:ua,dtterm:ua,gnome:ua,hurd:ua,jfbterm:ua,konsole:ua,kterm:ua,mlterm:ua,mosh:Pn,putty:ua,st:ua,"rxvt-unicode-24bit":Pn,terminator:Pn,"xterm-kitty":Pn},sZ=new Map(Object.entries({APPVEYOR:Fr,BUILDKITE:Fr,CIRCLECI:Pn,DRONE:Fr,GITEA_ACTIONS:Pn,GITHUB_ACTIONS:Pn,GITLAB_CI:Fr,TRAVIS:Fr})),lZ=[/ansi/,/color/,/linux/,/direct/,/^con[0-9]*x[0-9]/,/^rxvt/,/^screen/,/^xterm/,/^vt100/,/^vt220/];function cZ(){if(Ko("FORCE_COLOR")!==void 0)switch(Ko("FORCE_COLOR")){case"":case"1":case"true":return ua;case"2":return Fr;case"3":return Pn;default:return Lu}if(Ko("NODE_DISABLE_COLORS")!==void 0&&Ko("NODE_DISABLE_COLORS")!==""||Ko("NO_COLOR")!==void 0&&Ko("NO_COLOR")!==""||Ko("TERM")==="dumb")return Lu;if(Ko("TMUX"))return Pn;if("TF_BUILD"in Wn&&"AGENT_NAME"in Wn)return ua;if("CI"in Wn){for(const{0:e,1:t}of sZ)if(e in Wn)return t;return Ko("CI_NAME")==="codeship"?Fr:Lu}if("TEAMCITY_VERSION"in Wn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.exec(Ko("TEAMCITY_VERSION"))!==null?ua:Lu;switch(Ko("TERM_PROGRAM")){case"iTerm.app":return!Ko("TERM_PROGRAM_VERSION")||/^[0-2]\./.exec(Ko("TERM_PROGRAM_VERSION"))!==null?Fr:Pn;case"HyperTerm":case"MacTerm":return Pn;case"Apple_Terminal":return Fr}if(Ko("COLORTERM")==="truecolor"||Ko("COLORTERM")==="24bit")return Pn;if(Ko("TERM")){if(/truecolor/.exec(Ko("TERM"))!==null)return Pn;if(/^xterm-256/.exec(Ko("TERM"))!==null)return Fr;const e=Ko("TERM").toLowerCase();if(rD[e])return rD[e];if(lZ.some(t=>t.exec(e)!==null))return ua}return Ko("COLORTERM")?ua:Lu}const jr={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"}},nx=["debug","info","success","warn","error"];function dZ(e,t){return nx.indexOf(t)>=nx.indexOf(e)}const uZ={info:jr.fg.blue,success:jr.fg.green,warn:jr.fg.yellow,error:jr.fg.red,debug:jr.fg.magenta},pZ=(e,t,o)=>{const a=new Date().toISOString();return o?`${jr.dim}${a}${jr.reset} ${uZ[e]}${e.toUpperCase()}${jr.reset} ${jr.bright}[Better Auth]:${jr.reset} ${t}`:`${a} ${e.toUpperCase()} [Better Auth]: ${t}`},mZ=e=>{const t="warn",o=cZ()!==1,a=(n,i,l=[])=>{if(!dZ(t,n))return;const c=pZ(n,i,o);{n==="error"?console.error(c,...l):n==="warn"?console.warn(c,...l):console.log(c,...l);return}};return{...Object.fromEntries(nx.map(n=>[n,(...[i,...l])=>a(n,i,l)])),get level(){return t}}};mZ();function hZ(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 gZ(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new cp(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function fZ(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 XS(e,t="/api/auth"){if(fZ(e),gZ(e))return e;const o=e.replace(/\/+$/,"");return!t||t==="/"?o:(t=t.startsWith("/")?t:`/${t}`,`${o}${t}`)}function vZ(e,t,o,a,n){if(e)return XS(e,t);{const i=Wn.BETTER_AUTH_URL||Wn.NEXT_PUBLIC_BETTER_AUTH_URL||Wn.PUBLIC_BETTER_AUTH_URL||Wn.NUXT_PUBLIC_BETTER_AUTH_URL||Wn.NUXT_PUBLIC_AUTH_URL||(Wn.BASE_URL!=="/"?Wn.BASE_URL:void 0);if(i)return XS(i,t)}if(typeof window<"u"&&window.location)return XS(window.location.origin,t)}const bZ={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{}}}},yZ={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*:/},SZ=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,iD={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},wZ=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function xZ(e){return e instanceof Date&&!isNaN(e.getTime())}function TZ(e){const t=wZ.exec(e);if(!t)return null;const[,o,a,n,i,l,c,d,p,m,h]=t,f=new Date(Date.UTC(parseInt(o,10),parseInt(a,10)-1,parseInt(n,10),parseInt(i,10),parseInt(l,10),parseInt(c,10),d?parseInt(d.padEnd(3,"0"),10):0));if(p){const v=(parseInt(m,10)*60+parseInt(h,10))*(p==="+"?-1:1);f.setUTCMinutes(f.getUTCMinutes()+v)}return xZ(f)?f:null}function kZ(e,t={}){const{strict:o=!1,warnings:a=!1,reviver:n,parseDates:i=!0}=t;if(typeof e!="string")return e;const l=e.trim();if(l.length>0&&l[0]==='"'&&l.endsWith('"')&&!l.slice(1,-1).includes('"'))return l.slice(1,-1);const c=l.toLowerCase();if(c.length<=9&&c in iD)return iD[c];if(!SZ.test(l)){if(o)throw new SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(yZ).some(([d,p])=>{const m=p.test(l);return m&&a&&console.warn(`[better-json] Detected potential prototype pollution attempt using ${d} pattern`),m})&&o)throw new Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(l,(p,m)=>{if(p==="__proto__"||p==="constructor"&&m&&typeof m=="object"&&"prototype"in m){a&&console.warn(`[better-json] Dropping "${p}" key to prevent prototype pollution`);return}if(i&&typeof m=="string"){const h=TZ(m);if(h)return h}return n?n(p,m):m})}catch(d){if(o)throw d;return e}}function _Z(e,t={strict:!0}){return kZ(e,t)}let dr=[],cs=0;const Sg=4,CZ=globalThis.nanostoresGlobal||={epoch:0},Xc=e=>{let t=[],o={get(){return o.lc||o.listen(()=>{})(),o.value},init:e,lc:0,listen(a){return o.lc=t.push(a),()=>{for(let i=cs+Sg;i<dr.length;)dr[i]===a?dr.splice(i,Sg):i+=Sg;let n=t.indexOf(a);~n&&(t.splice(n,1),--o.lc||o.off())}},notify(a,n){CZ.epoch++;let i=!dr.length;for(let l of t)dr.push(l,o.value,a,n);if(i){for(cs=0;cs<dr.length;cs+=Sg)dr[cs](dr[cs+1],dr[cs+2],dr[cs+3]);dr.length=0}},off(){},set(a){let n=o.value;n!==a&&(o.value=a,o.notify(n))},subscribe(a){let n=o.listen(a);return a(o.value),n},value:e};return o},EZ=5,wg=6,xg=10;let PZ=(e,t,o,a)=>(e.events=e.events||{},e.events[o+xg]||(e.events[o+xg]=a(n=>{e.events[o].reduceRight((i,l)=>(l(i),i),{shared:{},...n})})),e.events[o]=e.events[o]||[],e.events[o].push(t),()=>{let n=e.events[o],i=n.indexOf(t);n.splice(i,1),n.length||(delete e.events[o],e.events[o+xg](),delete e.events[o+xg])});const AZ=1e3;let aL=(e,t)=>PZ(e,a=>{let n=t(a);n&&e.events[wg].push(n)},EZ,a=>{let n=e.listen;e.listen=(...l)=>(!e.lc&&!e.active&&(e.active=!0,a()),n(...l));let i=e.off;return e.events[wg]=[],e.off=()=>{i(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let l of e.events[wg])l();e.events[wg]=[]}},AZ)},()=>{e.listen=n,e.off=i}});function RZ(e,t,o){let a=new Set(t).add(void 0);return e.listen((n,i,l)=>{a.has(l)&&o(n,i,l)})}const DZ=()=>typeof window>"u",Ju=(e,t,o,a)=>{const n=Xc({data:null,error:null,isPending:!0,isRefetching:!1,refetch:c=>i(c)}),i=async c=>new Promise(d=>{const p=typeof a=="function"?a({data:n.get().data,error:n.get().error,isPending:n.get().isPending}):a;o(t,{...p,query:{...p?.query,...c?.query},async onSuccess(m){n.set({data:m.data,error:null,isPending:!1,isRefetching:!1,refetch:n.value.refetch}),await p?.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 p?.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 p?.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 l=!1;for(const c of e)c.subscribe(async()=>{DZ()||(l?await i():aL(n,()=>{const d=setTimeout(async()=>{l||(await i(),l=!0)},0);return()=>{n.off(),c.off(),clearTimeout(d)}}))});return n},ew=Symbol.for("better-auth:broadcast-channel"),OZ=()=>Math.floor(Date.now()/1e3);var MZ=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:OZ()}))}catch{}}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};const e=t=>{if(t.key!==this.name)return;const o=JSON.parse(t.newValue??"{}");o?.event!=="session"||!o?.data||this.listeners.forEach(a=>a(o))};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}}};function tw(e="better-auth.message"){return globalThis[ew]||(globalThis[ew]=new MZ(e)),globalThis[ew]}const ow=Symbol.for("better-auth:focus-manager");var NZ=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 sD(){return globalThis[ow]||(globalThis[ow]=new NZ),globalThis[ow]}const aw=Symbol.for("better-auth:online-manager");var IZ=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 nw(){return globalThis[aw]||(globalThis[aw]=new IZ),globalThis[aw]}const Dc=()=>Math.floor(Date.now()/1e3),LZ=5;function BZ(e){const{sessionAtom:t,sessionSignal:o,$fetch:a,options:n={}}=e,i=n.sessionOptions?.refetchInterval??0,l=n.sessionOptions?.refetchOnWindowFocus??!0,c=n.sessionOptions?.refetchWhenOffline??!1,d={lastSync:0,lastSessionRequest:0,cachedSession:void 0},p=()=>c||nw().isOnline,m=T=>{if(!p())return;if(T?.event==="storage"){d.lastSync=Dc(),o.set(!o.get());return}const P=t.get();if(T?.event==="poll"){d.lastSessionRequest=Dc(),a("/get-session").then(C=>{C.error?t.set({...P,data:null,error:C.error}):t.set({...P,data:C.data,error:null}),d.lastSync=Dc(),o.set(!o.get())}).catch(()=>{});return}if(T?.event==="visibilitychange"){if(Dc()-d.lastSessionRequest<LZ)return;d.lastSessionRequest=Dc()}(P?.data===null||P?.data===void 0||T?.event==="visibilitychange")&&(d.lastSync=Dc(),o.set(!o.get()))},h=T=>{tw().post({event:"session",data:{trigger:T},clientId:Math.random().toString(36).substring(7)})},f=()=>{i&&i>0&&(d.pollInterval=setInterval(()=>{t.get()?.data&&m({event:"poll"})},i*1e3))},v=()=>{d.unsubscribeBroadcast=tw().subscribe(()=>{m({event:"storage"})})},b=()=>{l&&(d.unsubscribeFocus=sD().subscribe(()=>{m({event:"visibilitychange"})}))},S=()=>{d.unsubscribeOnline=nw().subscribe(T=>{T&&m({event:"visibilitychange"})})};return{init:()=>{f(),v(),b(),S(),tw().setup(),sD().setup(),nw().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 FZ(e,t){const o=Xc(!1),a=Ju(o,"/get-session",e,{method:"GET"});return aL(a,()=>{const n=BZ({sessionAtom:a,sessionSignal:o,$fetch:e,options:t});return n.init(),()=>{n.cleanup()}}),{session:a,$sessionSignal:o}}function rw(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 rx(e,t,o=".",a){if(!rw(t))return rx(e,{},o,a);const n={...t};for(const i of Object.keys(e)){if(i==="__proto__"||i==="constructor")continue;const l=e[i];l!=null&&(a&&a(n,i,l,o)||(Array.isArray(l)&&Array.isArray(n[i])?n[i]=[...l,...n[i]]:rw(l)&&rw(n[i])?n[i]=rx(l,n[i],(o?`${o}.`:"")+i.toString(),a):n[i]=l))}return n}function jZ(e){return(...t)=>t.reduce((o,a)=>rx(o,a,"",e),{})}const zZ=jZ();var UZ=Object.defineProperty,qZ=Object.defineProperties,$Z=Object.getOwnPropertyDescriptors,lD=Object.getOwnPropertySymbols,VZ=Object.prototype.hasOwnProperty,HZ=Object.prototype.propertyIsEnumerable,cD=(e,t,o)=>t in e?UZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,hr=(e,t)=>{for(var o in t||(t={}))VZ.call(t,o)&&cD(e,o,t[o]);if(lD)for(var o of lD(t))HZ.call(t,o)&&cD(e,o,t[o]);return e},Ir=(e,t)=>qZ(e,$Z(t)),GZ=class extends Error{constructor(e,t,o){super(t||e.toString(),{cause:o}),this.status=e,this.statusText=t,this.error=o,Error.captureStackTrace(this,this.constructor)}},WZ=async(e,t)=>{var o,a,n,i,l,c;let d=t||{};const p={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:p};for(const m of t?.plugins||[]){if(m.init){const h=await((o=m.init)==null?void 0:o.call(m,e.toString(),t));d=h.options||d,e=h.url}p.onRequest.push((a=m.hooks)==null?void 0:a.onRequest),p.onResponse.push((n=m.hooks)==null?void 0:n.onResponse),p.onSuccess.push((i=m.hooks)==null?void 0:i.onSuccess),p.onError.push((l=m.hooks)==null?void 0:l.onError),p.onRetry.push((c=m.hooks)==null?void 0:c.onRetry)}return{url:e,options:d,hooks:p}},dD=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}},KZ=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 YZ(e){if(typeof e=="number")return new dD({type:"linear",attempts:e,delay:1e3});switch(e.type){case"linear":return new dD(e);case"exponential":return new KZ(e);default:throw new Error("Invalid retry strategy")}}var ZZ=async e=>{const t={},o=async a=>typeof a=="function"?await a():a;if(e?.auth){if(e.auth.type==="Bearer"){const a=await o(e.auth.token);if(!a)return t;t.authorization=`Bearer ${a}`}else if(e.auth.type==="Basic"){const[a,n]=await Promise.all([o(e.auth.username),o(e.auth.password)]);if(!a||!n)return t;t.authorization=`Basic ${btoa(`${a}:${n}`)}`}else if(e.auth.type==="Custom"){const[a,n]=await Promise.all([o(e.auth.prefix),o(e.auth.value)]);if(!n)return t;t.authorization=`${a??""} ${n}`}}return t},QZ=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function JZ(e){const t=e.headers.get("content-type"),o=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!t)return"json";const a=t.split(";").shift()||"";return QZ.test(a)?"json":o.has(a)||a.startsWith("text/")?"text":"blob"}function XZ(e){try{return JSON.parse(e),!0}catch{return!1}}function ix(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 uD(e){try{return JSON.parse(e)}catch{return e}}function pD(e){return typeof e=="function"}function eQ(e){if(e?.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&pD(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&pD(window.fetch))return window.fetch;throw new Error("No fetch implementation found")}async function tQ(e){const t=new Headers(e?.headers),o=await ZZ(e);for(const[a,n]of Object.entries(o||{}))t.set(a,n);if(!t.has("content-type")){const a=oQ(e?.body);a&&t.set("content-type",a)}return t}function oQ(e){return ix(e)?"application/json":null}function aQ(e){if(!e?.body)return null;const t=new Headers(e?.headers);if(ix(e.body)&&!t.has("content-type")){for(const[o,a]of Object.entries(e?.body))a instanceof Date&&(e.body[o]=a.toISOString());return JSON.stringify(e.body)}return t.has("content-type")&&t.get("content-type")==="application/x-www-form-urlencoded"&&ix(e.body)?new URLSearchParams(e.body).toString():e.body}function nQ(e,t){var o;if(t?.method)return t.method.toUpperCase();if(e.startsWith("@")){const a=(o=e.split("@")[1])==null?void 0:o.split("/")[0];return rL.includes(a)?a.toUpperCase():t?.body?"POST":"GET"}return t?.body?"POST":"GET"}function rQ(e,t){let o;return!e?.signal&&e?.timeout&&(o=setTimeout(()=>t?.abort(),e?.timeout)),{abortTimeout:o,clearTimeout:()=>{o&&clearTimeout(o)}}}var iQ=class nL extends Error{constructor(t,o){super(o||JSON.stringify(t,null,2)),this.issues=t,Object.setPrototypeOf(this,nL.prototype)}};async function Xg(e,t){const o=await e["~standard"].validate(t);if(o.issues)throw new iQ(o.issues);return o.value}var rL=["get","post","put","patch","delete"],sQ=e=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(t,o){var a,n,i,l;const c=((n=(a=e.plugins)==null?void 0:a.find(d=>{var p;return(p=d.schema)!=null&&p.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;(i=c.config)!=null&&i.prefix&&d.startsWith(c.config.prefix)&&(d=d.replace(c.config.prefix,""),c.config.baseURL&&(t=t.replace(c.config.prefix,c.config.baseURL))),(l=c.config)!=null&&l.baseURL&&d.startsWith(c.config.baseURL)&&(d=d.replace(c.config.baseURL,""));const p=c.schema[d];if(p){let m=Ir(hr({},o),{method:p.method,output:p.output});return o?.disableValidation||(m=Ir(hr({},m),{body:p.input?await Xg(p.input,o?.body):o?.body,params:p.params?await Xg(p.params,o?.params):o?.params,query:p.query?await Xg(p.query,o?.query):o?.query})),{url:t,options:m}}}return{url:t,options:o}}}),lQ=e=>{async function t(o,a){const n=Ir(hr(hr({},e),a),{plugins:[...e?.plugins||[],sQ(e||{}),...a?.plugins||[]]});if(e?.catchAllError)try{return await sx(o,n)}catch(i){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:i}}}return await sx(o,n)}return t};function cQ(e,t){const{baseURL:o,params:a,query:n}=t||{query:{},params:{},baseURL:""};let i=e.startsWith("http")?e.split("/").slice(0,3).join("/"):o||"";if(e.startsWith("@")){const h=e.toString().split("@")[1].split("/")[0];rL.includes(h)&&(e=e.replace(`@${h}/`,"/"))}i.endsWith("/")||(i+="/");let[l,c]=e.replace(i,"").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(a)if(Array.isArray(a)){const h=l.split("/").filter(f=>f.startsWith(":"));for(const[f,v]of h.entries()){const b=a[f];l=l.replace(v,b)}}else for(const[h,f]of Object.entries(a))l=l.replace(`:${h}`,String(f));l=l.split("/").map(encodeURIComponent).join("/"),l.startsWith("/")&&(l=l.slice(1));let p=d.toString();return p=p.length>0?`?${p}`.replace(/\+/g,"%20"):"",i.startsWith("http")?new URL(`${l}${p}`,i):`${i}${l}${p}`}var sx=async(e,t)=>{var o,a,n,i,l,c,d,p;const{hooks:m,url:h,options:f}=await WZ(e,t),v=eQ(f),b=new AbortController,S=(o=f.signal)!=null?o:b.signal,k=cQ(h,f),x=aQ(f),T=await tQ(f),P=nQ(h,f);let C=Ir(hr({},f),{url:k,headers:T,body:x,method:P,signal:S});for(const F of m.onRequest)if(F){const W=await F(C);typeof W=="object"&&W!==null&&(C=W)}("pipeTo"in C&&typeof C.pipeTo=="function"||typeof((a=t?.body)==null?void 0:a.pipe)=="function")&&("duplex"in C||(C.duplex="half"));const{clearTimeout:E}=rQ(f,b);let R=await v(C.url,C);E();const D={response:R,request:C};for(const F of m.onResponse)if(F){const W=await F(Ir(hr({},D),{response:(n=t?.hookOptions)!=null&&n.cloneResponse?R.clone():R}));W instanceof Response?R=W:typeof W=="object"&&W!==null&&(R=W.response)}if(R.ok){if(!(C.method!=="HEAD"))return{data:"",error:null};const W=JZ(R),ae={data:null,response:R,request:C};if(W==="json"||W==="text"){const H=await R.text(),K=(i=C.jsonParser)!=null?i:uD;ae.data=await K(H)}else ae.data=await R[W]();C?.output&&C.output&&!C.disableValidation&&(ae.data=await Xg(C.output,ae.data));for(const H of m.onSuccess)H&&await H(Ir(hr({},ae),{response:(l=t?.hookOptions)!=null&&l.cloneResponse?R.clone():R}));return t?.throw?ae.data:{data:ae.data,error:null}}const O=(c=t?.jsonParser)!=null?c:uD,L=await R.text(),$=XZ(L),B=$?await O(L):null,U={response:R,responseText:L,request:C,error:Ir(hr({},B),{status:R.status,statusText:R.statusText})};for(const F of m.onError)F&&await F(Ir(hr({},U),{response:(d=t?.hookOptions)!=null&&d.cloneResponse?R.clone():R}));if(t?.retry){const F=YZ(t.retry),W=(p=t.retryAttempt)!=null?p:0;if(await F.shouldAttemptRetry(W,R)){for(const H of m.onRetry)H&&await H(D);const ae=F.getDelay(W);return await new Promise(H=>setTimeout(H,ae)),await sx(e,Ir(hr({},t),{retryAttempt:W+1}))}}if(t?.throw)throw new GZ(R.status,R.statusText,$?B:L);return{data:null,error:Ir(hr({},B),{status:R.status,statusText:R.statusText})}};const dQ=(e,t)=>{const o="credentials"in Request.prototype,a=vZ(e?.baseURL,e?.basePath)??"/api/auth",n=e?.plugins?.flatMap(C=>C.fetchPlugins).filter(C=>C!==void 0)||[],i={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:l,onError:c,onRequest:d,onResponse:p,...m}=e?.fetchOptions||{},h=lQ({baseURL:a,...o?{credentials:"include"}:{},method:"GET",jsonParser(C){return C?_Z(C,{strict:!1}):null},customFetchImpl:fetch,...m,plugins:[i,...m.plugins||[],...e?.disableDefaultFetchPlugins?[]:[bZ],...n]}),{$sessionSignal:f,session:v}=FZ(h,e),b=e?.plugins||[];let S={};const k={$sessionSignal:f,session:v},x={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},T=[{signal:"$sessionSignal",matcher(C){return C==="/sign-out"||C==="/update-user"||C==="/sign-up/email"||C==="/sign-in/email"||C==="/delete-user"||C==="/verify-email"||C==="/revoke-sessions"||C==="/revoke-session"||C==="/change-email"}}];for(const C of b)C.getAtoms&&Object.assign(k,C.getAtoms?.(h)),C.pathMethods&&Object.assign(x,C.pathMethods),C.atomListeners&&T.push(...C.atomListeners);const P={notify:C=>{k[C].set(!k[C].get())},listen:(C,E)=>{k[C].subscribe(E)},atoms:k};for(const C of b)C.getActions&&(S=zZ(C.getActions?.(h,P,e)??{},S));return{get baseURL(){return a},pluginsActions:S,pluginsAtoms:k,pluginPathMethods:x,atomListeners:T,$fetch:h,$store:P}};function uQ(e){return typeof e=="object"&&e!==null&&"get"in e&&typeof e.get=="function"&&"lc"in e&&typeof e.lc=="number"}function pQ(e,t,o){const a=t[e],{fetchOptions:n,query:i,...l}=o||{};return a||(n?.method?n.method:l&&Object.keys(l).length>0?"POST":"GET")}function mQ(e,t,o,a,n){function i(l=[]){return new Proxy(function(){},{get(c,d){if(typeof d!="string"||d==="then"||d==="catch"||d==="finally")return;const p=[...l,d];let m=e;for(const h of p)if(m&&typeof m=="object"&&h in m)m=m[h];else{m=void 0;break}return typeof m=="function"||uQ(m)?m:i(p)},apply:async(c,d,p)=>{const m="/"+l.map(T=>T.replace(/[A-Z]/g,P=>`-${P.toLowerCase()}`)).join("/"),h=p[0]||{},f=p[1]||{},{query:v,fetchOptions:b,...S}=h,k={...f,...b},x=pQ(m,o,h);return await t(m,{...k,body:x==="GET"?void 0:{...S,...k?.body||{}},query:v||k?.query,method:x,async onSuccess(T){if(await k?.onSuccess?.(T),!n||k.disableSignal)return;const P=n.filter(E=>E.matcher(m));if(!P.length)return;const C=new Set;for(const E of P){const R=a[E.signal];if(!R)return;if(C.has(E.signal))continue;C.add(E.signal);const D=R.get();setTimeout(()=>{R.set(!D)},10)}}})}})}return i()}function hQ(e,t={}){const o=A.useRef(e.get()),{keys:a,deps:n=[e,a]}=t,i=A.useCallback(c=>{const d=p=>{o.current!==p&&(o.current=p,c())};return d(e.value),a?.length?RZ(e,a,d):e.listen(d)},n),l=()=>o.current;return A.useSyncExternalStore(i,l,l)}function gQ(e){return`use${hZ(e)}`}function fQ(e){const{pluginPathMethods:t,pluginsActions:o,pluginsAtoms:a,$fetch:n,$store:i,atomListeners:l}=dQ(e),c={};for(const[d,p]of Object.entries(a))c[gQ(d)]=()=>hQ(p);return mQ({...o,...c,$fetch:n,$store:i},n,t,a,l)}function vQ(e){return{authorize(t,o="AND"){let a=!1;for(const[n,i]of Object.entries(t)){const l=e[n];if(!l)return{success:!1,error:`You are not allowed to access resource: ${n}`};if(Array.isArray(i))a=i.every(c=>l.includes(c));else if(typeof i=="object"){const c=i;c.connector==="OR"?a=c.actions.some(d=>l.includes(d)):a=c.actions.every(d=>l.includes(d))}else throw new cp("Invalid access control request");if(a&&o==="OR")return{success:a};if(!a&&o==="AND")return{success:!1,error:`unauthorized to access resource "${n}"`}}return a?{success:a}:{success:!1,error:"Not authorized"}},statements:e}}function iL(e){return{newRole(t){return vQ(t)},statements:e}}const bQ={user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]},sL=iL(bQ),lL=sL.newRole({user:["create","list","set-role","ban","impersonate","delete","set-password","get","update"],session:["list","revoke","delete"]}),cL=sL.newRole({user:[],session:[]}),yQ={admin:lL,user:cL},SQ=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(","),o=e.options?.roles||yQ;for(const a of t)if(o[a]?.authorize(e.permission??e.permissions)?.success)return!0;return!1},wQ=e=>{const t={admin:lL,user:cL,...e?.roles};return{id:"admin-client",$InferServerPlugin:{},getActions:()=>({admin:{checkRolePermission:o=>SQ({role:o.role,options:{ac:e?.ac,roles:t},permissions:o.permissions??o.permission})}}),pathMethods:{"/admin/list-users":"GET","/admin/stop-impersonating":"POST"}}},xQ=()=>({id:"email-otp",$InferServerPlugin:{},atomListeners:[{matcher:e=>e==="/email-otp/verify-email"||e==="/sign-in/email-otp",signal:"$sessionSignal"}]}),TQ=()=>({id:"magic-link",$InferServerPlugin:{}}),kQ={organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]},pk=iL(kQ),dL=pk.newRole({organization:["update"],invitation:["create","cancel"],member:["create","update","delete"],team:["create","update","delete"],ac:["create","read","update","delete"]}),uL=pk.newRole({organization:["update","delete"],member:["create","update","delete"],invitation:["create","cancel"],team:["create","update","delete"],ac:["create","read","update","delete"]}),pL=pk.newRole({organization:[],member:[],invitation:[],team:[],ac:["read"]}),_Q={admin:dL,owner:uL,member:pL},CQ=(e,t)=>{if(!e.permissions&&!e.permission)return!1;const o=e.role.split(","),a=e.options.creatorRole||"owner",n=o.includes(a),i=e.allowCreatorAllPermissions||!1;if(n&&i)return!0;for(const l of o)if(t[l]?.authorize(e.permissions??e.permission)?.success)return!0;return!1},EQ=e=>CQ(e,e.options.roles||_Q),PQ=e=>{const t=Xc(!1),o=Xc(!1),a=Xc(!1),n=Xc(!1),i={admin:dL,member:pL,owner:uL,...e?.roles};return{id:"organization",$InferServerPlugin:{},getActions:(l,c,d)=>({$Infer:{ActiveOrganization:{},Organization:{},Invitation:{},Member:{},Team:{}},organization:{checkRolePermission:p=>EQ({role:p.role,options:{ac:e?.ac,roles:i},permissions:p.permissions??p.permission})}}),getAtoms:l=>{const c=Ju(t,"/organization/list",l,{method:"GET"});return{$listOrg:t,$activeOrgSignal:o,$activeMemberSignal:a,$activeMemberRoleSignal:n,activeOrganization:Ju([o],"/organization/get-full-organization",l,()=>({method:"GET"})),listOrganizations:c,activeMember:Ju([a],"/organization/get-active-member",l,{method:"GET"}),activeMemberRole:Ju([n],"/organization/get-active-member-role",l,{method:"GET"})}},pathMethods:{"/organization/get-full-organization":"GET","/organization/list-user-teams":"GET"},atomListeners:[{matcher(l){return l==="/organization/create"||l==="/organization/delete"||l==="/organization/update"},signal:"$listOrg"},{matcher(l){return l.startsWith("/organization")},signal:"$activeOrgSignal"},{matcher(l){return l.startsWith("/organization/set-active")},signal:"$sessionSignal"},{matcher(l){return l.includes("/organization/update-member-role")},signal:"$activeMemberSignal"},{matcher(l){return l.includes("/organization/update-member-role")},signal:"$activeMemberRoleSignal"}]}},AQ="1.6.11",RQ=e=>({id:"sso-client",version:AQ,$InferServerPlugin:{},pathMethods:{"/sso/providers":"GET","/sso/get-provider":"GET"}});function DQ(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 mL(e){return DQ(e?.metadata).archived===!0}function hL(e){const t=new Set;return e.filter(o=>mL(o)||t.has(o.id)?!1:(t.add(o.id),!0))}const OQ="Organization is archived",js=fQ({plugins:[PQ({}),wQ(),RQ(),TQ(),xQ()]}),MQ=8e3;let mD;function gL(){return mD??=new Promise(e=>{const t=setTimeout(e,MQ);js.$store.listen("session",o=>{o&&typeof o=="object"&&"isPending"in o&&(o.isPending||(clearTimeout(t),e()))})}),mD}const NQ=Se({data:Se({user:Se({id:q()})}).nullish()});function IQ(){const e=NQ.safeParse(js.$store.atoms.session?.get());return e.success?e.data.data?.user.id:void 0}const LQ=3e4;let Xu=null,Tg=null;function fL(){if(Xu&&Xu.expiresAt>Date.now())return Promise.resolve(Xu.result);if(Tg)return Tg;const e=js.organization.list().then(t=>{const o=t.data?{...t,data:hL(t.data)}:t;return o.data&&(Xu={result:o,expiresAt:Date.now()+LQ}),o}).finally(()=>{Tg=null});return Tg=e,e}function obe(){const e=js.useListOrganizations(),t=e.data?hL(e.data):void 0;return{...e,data:t}}function abe(){Xu=null}const BQ="modulepreload",FQ=function(e){return"/"+e},hD={},Le=function(t,o,a){let n=Promise.resolve();if(o&&o.length>0){let l=function(p){return Promise.all(p.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=l(o.map(p=>{if(p=FQ(p),p in hD)return;hD[p]=!0;const m=p.endsWith(".css"),h=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${h}`))return;const f=document.createElement("link");if(f.rel=m?"stylesheet":BQ,m||(f.as="script"),f.crossOrigin="",f.href=p,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 ${p}`)))})}))}function i(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return n.then(l=>{for(const c of l||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})};function jQ(e){try{return JSON.parse(e)}catch{return}}function gD(e,t){if(typeof localStorage>"u")return typeof t=="function"?t(void 0):t;const o=localStorage.getItem(e),a=o?jQ(o):void 0,n=typeof t=="function"?t(a):a??t;if(a===void 0||n!==a)try{const i=JSON.stringify(n);localStorage.setItem(e,i)}catch{}return n}function zQ(e,t){const o=Ce.c(17),a=bv();let n;o[0]!==e?(n=["localStorage",e],o[0]=e,o[1]=n):n=o[1];const i=n;let l,c;o[2]!==t||o[3]!==e?(l=()=>gD(e,t),c=()=>gD(e,t),o[2]=t,o[3]=e,o[4]=l,o[5]=c):(l=o[4],c=o[5]);let d;o[6]!==i||o[7]!==l||o[8]!==c?(d={queryKey:i,queryFn:l,initialData:c,staleTime:1/0,gcTime:1/0},o[6]=i,o[7]=l,o[8]=c,o[9]=d):d=o[9];const{data:p}=Dd(d);let m;o[10]!==e||o[11]!==a||o[12]!==i?(m=b=>{const S=a.getQueryData(i),k=typeof b=="function"?b(S):b;typeof localStorage<"u"&&localStorage.setItem(e,JSON.stringify(k)),a.setQueryData(i,k)},o[10]=e,o[11]=a,o[12]=i,o[13]=m):m=o[13];const h=m,f=p;let v;return o[14]!==h||o[15]!==f?(v=[f,h],o[14]=h,o[15]=f,o[16]=v):v=o[16],v}const zs={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}`,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}`},vL=["en","pt-BR"];function mk(){return typeof navigator<"u"&&navigator.language?.toLowerCase().startsWith("pt")?"pt-BR":"en"}const UQ={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system",language:mk(),taskBoardLaneVisibility:{},collapsedTaskBoardLanes:[]},bL=["auto","readonly"],nbe=[{value:"readonly",labelKey:"settings.preferences.toolApprovalAsk",shortKey:"settings.preferences.toolApprovalAskShort"},{value:"auto",labelKey:"settings.preferences.toolApprovalAuto",shortKey:"settings.preferences.toolApprovalAutoShort"}],qQ=["light","dark","system"];function rbe(){try{const e=JSON.parse(localStorage.getItem(zs.preferences())??"{}");if(bL.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function $Q(){try{const e=JSON.parse(localStorage.getItem(zs.preferences())??"{}");if(vL.includes(e.language))return e.language}catch{}return mk()}function VQ(e){const t={};if(Array.isArray(e.shownTaskBoardLanes))for(const a of e.shownTaskBoardLanes)typeof a=="string"&&(t[a]=!0);const o=e.taskBoardLaneVisibility;if(o&&typeof o=="object"&&!Array.isArray(o))for(const[a,n]of Object.entries(o))typeof n=="boolean"&&(t[a]=n);return t}function hk(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=zs.preferences(),e[0]=t):t=e[0],zQ(t,HQ)}function HQ(e){const t={...UQ,...e};return"showProjectSettingsGear"in t&&delete t.showProjectSettingsGear,"compactPageLayout"in t&&delete t.compactPageLayout,bL.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),qQ.includes(t.theme)||(t.theme="system"),vL.includes(t.language)||(t.language=mk()),t.taskBoardLaneVisibility=VQ(t),"shownTaskBoardLanes"in t&&delete t.shownTaskBoardLanes,Array.isArray(t.collapsedTaskBoardLanes)||(t.collapsedTaskBoardLanes=[]),typeof t.projectFirstNav!="boolean"&&delete t.projectFirstNav,t}const GQ=A.createContext(!1),WQ=Date.parse("2026-10-22T00:00:00Z");function KQ(e,t){if(e!==void 0)return e;const o=t instanceof Date?t.getTime():typeof t=="string"||typeof t=="number"?new Date(t).getTime():Number.NaN;return Number.isFinite(o)&&o>=WQ}function ibe(){const e=Ce.c(4),t=A.use(GQ),[o]=hk(),{data:a}=js.useSession();let n;return e[0]!==t||e[1]!==o||e[2]!==a?.user?.createdAt?(n=t||KQ(o.projectFirstNav,a?.user?.createdAt),e[0]=t,e[1]=o,e[2]=a?.user?.createdAt,e[3]=n):n=e[3],n}const YQ={"page.overview":"Overview","page.app":"App","page.view":"View","page.file":"File","page.document":"Document","page.item":"Item","page.breadcrumbs":"Breadcrumbs","page.breadcrumbMenu":"Show navigation path","page.views":"Page views","page.openThread":"Open chat","page.closeThread":"Close chat","page.collapseSidebar":"Collapse sidebar","page.expandSidebar":"Expand sidebar"},ZQ={"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.siteEditor":"Site editor","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"End-to-end tests","projects.apps.analytics":"Analytics","projects.apps.cdn":"Monitor","projects.apps.automations":"Automations","projects.apps.experiments":"Experiments","projects.apps.calendar":"Calendar"},QQ={"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.general.title":"General","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site and sandbox","virtualMcp.settings.groups.advanced":"Advanced","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.subAgentsSection.addSubAgent":"Add sub-project","virtualMcp.subAgentsSection.anyAgent":"Any project","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Can delegate to any project in the organization.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Can only delegate to a fresh copy of itself, no other projects.","virtualMcp.subAgentsSection.emptyStateMessage":"No sub-projects selected yet. Add one — until then this project can only delegate to itself.","virtualMcp.subAgentsSection.noAgentsFound":"No projects found.","virtualMcp.subAgentsSection.onlyItself":"Only itself","virtualMcp.subAgentsSection.searchPlaceholder":"Search projects...","virtualMcp.subAgentsSection.specificAgents":"Specific projects","virtualMcp.subAgentsSection.title":"Sub-projects","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.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.lastUsed":"Last used {time}","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>
|
|
56
56
|
Define who this agent is and what it specializes in.
|
|
57
57
|
Example: You are a support triage agent for B2B merchants.
|
|
58
58
|
</role>
|
|
@@ -88,7 +88,7 @@ or one per line`,"common.inviteMemberDialog.errorFailedInvite":"Failed to invite
|
|
|
88
88
|
|
|
89
89
|
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.
|
|
90
90
|
|
|
91
|
-
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.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.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.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.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.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.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.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.repoRow.label":"Repository","sandbox.repoRow.noRepositoryConnected":"No repository connected","sandbox.repoRow.tooltipContent":"The connected GitHub repository for this project. Manage in Connections.","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.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.back":"All blocks","sandbox.schemaless.bannerBody":"Until then, each block opens with plain fields built from its saved values, and saving keeps every other value as it is. Generate the schema in your site's folder; this page picks it up on its own.","sandbox.schemaless.bannerTitle":"Forms get proper fields once the schema exists","sandbox.schemaless.docsLink":"About deco schema","sandbox.schemaless.empty":"Empty","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.searchPlaceholder":"Search blocks","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.collectionsSidebar.campaigns":"Calendar","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":"Every date on your site is a campaign: a variant with the rule “Campaign” shows while its campaign runs. Changes are saved in your draft and go live when you publish.","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.listMode":"List","sandbox.dateCampaigns.timelineMode":"Timeline","sandbox.dateCampaigns.status.running":"Running","sandbox.dateCampaigns.status.upcoming":"Upcoming","sandbox.dateCampaigns.status.ended":"Ended","sandbox.dateCampaigns.status.always":"Always on","sandbox.dateCampaigns.status.unreadable":"Dates can't be read","sandbox.dateCampaigns.usedBy":"Used by {count}","sandbox.dateCampaigns.notUsed":"Not used yet","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.renameHint":"Every variant that uses this campaign is updated in the same change.","sandbox.dateCampaigns.renameWholeHint":"Sections that read every campaign in their own code still look for the old name. Update them in the site editor.","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.renamed":"Campaign renamed to “{name}”","sandbox.dateCampaigns.allCampaigns":"All campaigns","sandbox.dateCampaigns.today":"Today","sandbox.dateCampaigns.previous":"Earlier","sandbox.dateCampaigns.next":"Later","sandbox.dateCampaigns.nothingInRange":"No campaign runs in these months.","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.off":"Off","sandbox.previewAs.on":"On","sandbox.previewAs.reset":"Show as it is now"},UJ={"settings.subscriptionUsage.title":"Plan usage","settings.subscriptionUsage.refresh":"Refresh","settings.subscriptionUsage.loading":"Loading usage limits…","settings.subscriptionUsage.fiveHour":"5-hour window","settings.subscriptionUsage.weekly":"Weekly limit","settings.subscriptionUsage.sonnet":"Sonnet · weekly","settings.subscriptionUsage.opus":"Opus · weekly","settings.subscriptionUsage.codeReview":"Code review","settings.subscriptionUsage.hours":"{hours}-hour window","settings.subscriptionUsage.primary":"Primary limit","settings.subscriptionUsage.secondary":"Secondary limit","settings.subscriptionUsage.used":"{percent}% used","settings.subscriptionUsage.resets":"Resets {date}","settings.subscriptionUsage.resetUnknown":"Reset time not provided","settings.subscriptionUsage.limitReached":"Limit reached","settings.subscriptionUsage.permission":"This token cannot read usage limits. Check usage on the provider’s website.","settings.subscriptionUsage.authorization":"The provider could not authorize this usage request. Relink your subscription to refresh its credentials.","settings.subscriptionUsage.rateLimited":"The provider is limiting usage checks. Try again after the time below.","settings.subscriptionUsage.disconnected":"Link your subscription to view usage limits.","settings.subscriptionUsage.unavailable":"Usage limits are unavailable right now. Check the provider for the latest status.","settings.subscriptionUsage.retryAt":"Try again {date}","settings.subscriptionUsage.checkedAt":"Checked {date}","settings.subscriptionUsage.sharedUsage":"Includes usage outside Studio. These limits belong to your personal plan.","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.agents":"Projects","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.preferences.title":"Preferences","settings.blog.sectionTitle":"Blog","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.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. Preview only for now: extra apps don't start in the sandbox yet.","settings.preferences.projectFirstNav":"Project-first navigation","settings.preferences.projectFirstNavDescription":"Try the org rail, project launcher and the Today/Agents home.","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.pageTitle":"Skills","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.pageTitle":"Memory","settings.memory.tabOrg":"Organization","settings.memory.tabUser":"Just you","settings.memory.orgHeading":"Shared with everyone in {org}","settings.memory.orgDescription":"Deco reads this at the start of every chat and adds to it as it learns. Fix anything wrong or out of date.","settings.memory.userHeading":"Your personal memory","settings.memory.userDescription":"Loaded only into your chats. Good for how you like to work, what you own and what to skip.","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":"Connect an AI provider","settings.connectProviderDialog.gridDescription":"Pick a provider — we'll handle the rest.","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.connectedProvidersSection.connectButton":"Connect provider","settings.connectedProvidersSection.emptyState":"Bring your own keys to use specific models alongside Deco's gateway.","settings.connectedProvidersSection.sectionTitle":"Connected providers","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.active":"Your Codex runs use your ChatGPT subscription. Credentials refresh automatically.","settings.codexSubscription.connect":"Link","settings.codexSubscription.connected":"ChatGPT subscription linked","settings.codexSubscription.description":"Use your ChatGPT subscription for Codex sandbox chats. Credentials belong to you and are stored encrypted.","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":"Your ChatGPT subscription for Codex","settings.codexSubscription.tokenPlaceholder":"Paste the contents of auth.json","settings.claudeSubscription.active":"Your Claude plan is running these coding tasks.","settings.claudeSubscription.connect":"Link","settings.claudeSubscription.connected":"Claude subscription linked","settings.claudeSubscription.description":"Run coding tasks on your own Claude Pro or Max plan instead of the organization's AI credit.","settings.claudeSubscription.disconnect":"Disconnect","settings.claudeSubscription.disconnected":"Claude subscription unlinked","settings.claudeSubscription.expired":"Anthropic no longer accepts your token. Generate a new one to keep using your plan.","settings.claudeSubscription.howTo":"Generate a token on your own machine with","settings.claudeSubscription.title":"Your Claude subscription","settings.claudeSubscription.tokenPlaceholder":"Paste your token","settings.githubCopilot.active":"Your GitHub Copilot plan is running these coding tasks.","settings.githubCopilot.connect":"Link","settings.githubCopilot.connected":"GitHub Copilot linked","settings.githubCopilot.description":"Run coding tasks on Claude through your own GitHub Copilot plan instead of the organization's AI credit.","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":"Every run in this organization uses {name}'s shared GitHub Copilot plan.","settings.githubCopilot.shareTitle":"Share with the organization","settings.githubCopilot.shareDescription":"Every chat and task in this organization runs on your Copilot plan, ahead of members' own plans and the organization's AI providers.","settings.githubCopilot.title":"Your GitHub Copilot plan","settings.githubCopilot.tokenPlaceholder":"Paste your github_pat_… token","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.noPlan":"No active plan","settings.planUsage.noPlanDescription":"This organization has no active plan. Pick one below — Starter's first month is free.","settings.planUsage.creditsLeft":"left","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.decoNudgeCard.connectDeco":"Connect Deco","settings.decoNudgeCard.connecting":"Connecting…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ models, one connection — pay as you go, no API keys to juggle.","settings.decoNudgeCard.recommended":"Recommended","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.deleteProviderKey":"Delete provider key","settings.providerKeyRow.editProviderKey":"Edit provider 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.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 a name so you can recognize it later.","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.modelsPowerDescription":"These models power chat, automations, and tools across your organization.","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.tierDeepResearchDesc":"In-depth, multi-source research reports","settings.simpleModeSection.tierFast":"Fast","settings.simpleModeSection.tierFastDesc":"Fastest responses, best for quick tasks","settings.simpleModeSection.tierImage":"Image","settings.simpleModeSection.tierImageDesc":"Image generation","settings.simpleModeSection.tierSmart":"Smart","settings.simpleModeSection.tierSmartDesc":"Balanced speed and capability","settings.simpleModeSection.tierThinking":"Thinking","settings.simpleModeSection.tierThinkingDesc":"Most capable, best for complex tasks","settings.simpleModeSection.tierWebSearch":"Web search","settings.simpleModeSection.tierWebSearchDesc":"Quick, up-to-date answers from the web","settings.aiProviders.recommended":"Recommended — 100+ models, pay as you go","settings.aiProviders.customOpenAiCompatible":"Custom OpenAI-compatible","settings.aiProviders.customOpenAiDescription":"Bring your own model server (advanced)","settings.aiProviders.moreProvidersSingular":"{count} more provider","settings.aiProviders.moreProvidersPlural":"{count} more providers","settings.aiProviders.decoConnectSuccess":"Deco AI Gateway connected successfully","settings.aiProviders.decoConnectError":"Failed to connect Deco AI Gateway: {error}","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"},qJ={"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.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"},$J={"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"},VJ={...QQ,...JQ,...XQ,...eJ,...tJ,...oJ,...aJ,...nJ,...rJ,...iJ,...sJ,...lJ,...cJ,...dJ,...uJ,...pJ,...CJ,...EJ,...PJ,...mJ,...hJ,...gJ,...fJ,...vJ,...bJ,...yJ,...SJ,...wJ,...xJ,...TJ,...kJ,..._J,...AJ,...RJ,...DJ,...OJ,...MJ,...NJ,...IJ,...LJ,...BJ,...FJ,...jJ,...zJ,...UJ,...qJ,...$J,...ZQ,...YQ};function yL(e,t){return t?e.replace(/\{(\w+)\}/g,(o,a)=>Object.hasOwn(t,a)?String(t[a]):o):e}const HJ={"page.overview":"Visão geral","page.app":"App","page.view":"Visualização","page.file":"Arquivo","page.document":"Documento","page.item":"Item","page.breadcrumbs":"Navegação estrutural","page.breadcrumbMenu":"Mostrar caminho de navegação","page.views":"Visualizações da página","page.openThread":"Abrir chat","page.closeThread":"Fechar chat","page.collapseSidebar":"Recolher barra lateral","page.expandSidebar":"Expandir barra lateral"},GJ={"projects.overview.metrics":"Métricas","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":"Novo projeto","projects.card.updated":"Atualizado {time}","projects.empty.title":"Seu comércio, um projeto por vez","projects.empty.description":"Um site, um app, uma loja. Cada um com suas conexões, seu relatório e seu quadro.","projects.empty.readOnly":"Peça a um admin para criar o primeiro projeto.","projects.new.title":"Novo projeto","projects.new.subtitle":"O que você vai configurar?","projects.new.back":"Voltar","projects.new.create":"Criar projeto","projects.new.creating":"Criando…","projects.new.nameLabel":"Nome do projeto","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Dê um nome ao projeto","projects.new.failed":"Não foi possível criar o projeto","projects.new.created":"{title} está pronto","projects.new.path.repository":"Importar um código","projects.new.path.repository.hint":"Traga o código de um site ou app","projects.new.path.folder":"Nova pasta de projeto","projects.new.path.folder.hint":"Dê o nome agora, conecte depois","projects.new.step.folder.title":"Dê nome ao seu projeto","projects.reports.chooserTitle":"Continuar para Relatórios","projects.reports.chooserSubtitle":"Escolha um projeto para continuar","projects.reports.chooserSearch":"Buscar projeto…","projects.reports.chooserEmpty":"Nenhum projeto com esse nome.","projects.reports.status.ready":"Pronto","projects.reports.status.running":"Rodando","projects.reports.status.none":"Não rodou","projects.reports.status.locked":"Bloqueado","projects.connections.orgWide":"Toda a organização","projects.connections.usedBy":"{count} projetos","projects.settings.title":"Projetos","projects.settings.searchPlaceholder":"Buscar projetos…","projects.settings.open":"Abrir","projects.settings.openSettings":"Configurações","projects.settings.noResults":"Nenhum projeto corresponde a “{search}”","projects.identity.storeUrlLabel":"URL da loja","projects.identity.storeUrlDescription":"A loja no ar. Os relatórios rodam contra este endereço.","projects.apps.reports":"Relatório","projects.apps.siteEditor":"Editor de site","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"Testes ponta a ponta","projects.apps.analytics":"Analytics","projects.apps.cdn":"Monitor","projects.apps.automations":"Automações","projects.apps.experiments":"Experimentos","projects.apps.calendar":"Calendário"},WJ={"virtualMcp.addConnectionDialog.addConnectionTitle":"Adicionar Conexão","virtualMcp.addConnectionDialog.authenticationFailedError":"Autenticação falhou: {error}","virtualMcp.addConnectionDialog.connected":"Conectado","virtualMcp.addConnectionDialog.connectedAuthenticated":"Conectado e autenticado","virtualMcp.addConnectionDialog.connectionsTitle":"Conexões","virtualMcp.addConnectionDialog.failedToAddConnection":"Falha ao adicionar conexão","virtualMcp.addConnectionDialog.failedToConnect":"Falha ao conectar","virtualMcp.addConnectionDialog.mcpServerConnectionError":"Este servidor MCP não pode ser conectado: nenhum método de conexão disponível","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Pesquisar conexões...","virtualMcp.addConnectionDialog.signInFailedDescription":"Foi adicionada ao seu projeto, mas sua configuração de login parece estar errada. Você pode tentar autenticar novamente mais tarde nas configurações da conexão. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Não foi possível fazer login nesta conexão","virtualMcp.connectionDialogContent.add":"Adicionar","virtualMcp.connectionDialogContent.added":"Adicionado","virtualMcp.connectionDialogContent.builtByDeco":"Construído e mantido pela Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Construído e mantido pelo fornecedor oficial","virtualMcp.connectionDialogContent.connect":"Conectar","virtualMcp.connectionDialogContent.connected":"Conectado","virtualMcp.connectionDialogContent.customConnection":"Conexão Personalizada","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"Nenhuma conexão disponível","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"Nenhuma conexão ainda","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'Nenhuma conexão corresponde a "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Feito por Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"Todas as conexões","virtualMcp.connectionDialogContent.sectionVerified":"Verificado","virtualMcp.connectionDialogContent.tabAll":"Todos","virtualMcp.connectionDialogContent.tabConnected":"Conectados","virtualMcp.connectionDialogContent.verifiedByDeco":"Verificado pelo time da Deco","virtualMcp.connectionItem.authorize":"Autorizar","virtualMcp.connectionItem.configureResources":"Configurar recursos","virtualMcp.connectionItem.connectionDisabled":"Conexão desativada","virtualMcp.connectionItem.connectionEnabled":"Conexão ativada","virtualMcp.connectionItem.connectionNotFound":"Conexão não encontrada","virtualMcp.connectionItem.connectionSettings":"Configurações de conexão","virtualMcp.connectionItem.disable":"Desativar","virtualMcp.connectionItem.disableConnection":"Desativar conexão","virtualMcp.connectionItem.disabled":"Desativada","virtualMcp.connectionItem.disabledError":"Desativada (erro)","virtualMcp.connectionItem.enable":"Ativar","virtualMcp.connectionItem.failedToUpdateConnection":"Falha ao atualizar a conexão","virtualMcp.connectionItem.needsAuthorization":"Requer autorização","virtualMcp.connectionItem.newInstance":"Nova instância","virtualMcp.connectionItem.remove":"Remover","virtualMcp.connectionItem.removeConnection":"Remover conexão","virtualMcp.dependencySelectionDialog.authorizationDescription":"Esta conexão deve ser autorizada antes de você poder configurar suas ferramentas e recursos.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Autorização obrigatória","virtualMcp.dependencySelectionDialog.authorize":"Autorizar","virtualMcp.dependencySelectionDialog.deselectAll":"Desselecionar tudo","virtualMcp.dependencySelectionDialog.done":"Concluído","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"Nenhuma ferramenta ativa selecionada","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"Nenhum prompt disponível","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"Nenhum recurso disponível","virtualMcp.dependencySelectionDialog.noToolsAvailable":"Nenhuma ferramenta disponível","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts não são suportados por este servidor","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Recursos não são suportados por este servidor","virtualMcp.dependencySelectionDialog.selectAll":"Selecionar tudo","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Algo deu errado","virtualMcp.dependencySelectionDialog.tabActive":"Ativas","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Recursos","virtualMcp.dependencySelectionDialog.tabTools":"Ferramentas","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Ferramentas não são suportadas por este servidor","virtualMcp.dependencySelectionDialog.unexpectedError":"Erro inesperado","virtualMcp.filesSection.add":"Adicionar","virtualMcp.filesSection.description":"Anexe arquivos e skills que o projeto sempre pode consultar.","virtualMcp.filesSection.failedUploadFile":"Falha ao enviar arquivo.","virtualMcp.filesSection.fileTooLargeDescription":"Excede o limite de 25MB, não enviado: {names}","virtualMcp.filesSection.fileTooLargeTitle":"Arquivo muito grande","virtualMcp.filesSection.filesAndSkills":"Arquivos e skills","virtualMcp.filesSection.kindFile":"Arquivo","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"Nenhum arquivo encontrado.","virtualMcp.filesSection.noFilesOrSkillsYet":"Nenhum arquivo ou skill ainda. Adicione um ou arraste e solte aqui.","virtualMcp.filesSection.noSkillsFound":"Nenhum skill encontrado.","virtualMcp.filesSection.removeAriaLabel":"Remover {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Pesquisar arquivos...","virtualMcp.filesSection.searchSkillsPlaceholder":"Pesquisar skills...","virtualMcp.filesSection.selectFileOrFolder":"Selecionar arquivo ou pasta","virtualMcp.filesSection.selectSkill":"Selecionar skill","virtualMcp.filesSection.uploadFile":"Enviar arquivo","virtualMcp.layoutTabContent.noMainView":"Sem visão principal","virtualMcp.layoutTabContent.automations":"Automações","virtualMcp.layoutTabContent.chatAlwaysShown":"O Chat sempre aparece quando é a visualização padrão","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Visualização principal","virtualMcp.layoutTabContent.mainViewDescription":"O que os usuários veem quando abrem este projeto pela primeira vez.","virtualMcp.layoutTabContent.settings":"Configurações","virtualMcp.layoutTabContent.showChat":"Mostrar chat","virtualMcp.layoutTabContent.showChatDescription":"Exibir Chat no painel lateral junto com a visualização principal.","virtualMcp.layoutTabContent.siteEditor":"Editor do site","virtualMcp.settings.title":"Configurações do projeto","virtualMcp.settings.navigation":"Seções das configurações do projeto","virtualMcp.settings.identity.icon":"Ícone do projeto","virtualMcp.settings.identity.iconDescription":"Como seu projeto aparece na barra lateral e no Studio.","virtualMcp.settings.identity.name":"Nome do projeto","virtualMcp.settings.identity.description":"Descrição","virtualMcp.settings.general.title":"Geral","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site e sandbox","virtualMcp.settings.groups.advanced":"Avançado","virtualMcp.settings.connections.title":"Conexões","virtualMcp.settings.views.defaults":"Layout padrão","virtualMcp.settings.views.sidebar":"Visualizações","virtualMcp.settings.views.open":"Abrir","virtualMcp.settings.views.pin":"Fixar na barra lateral","virtualMcp.settings.views.unpin":"Remover da barra lateral","virtualMcp.settings.views.setMainView":"Definir como visualização principal","virtualMcp.settings.views.rowActions":"Opções da visualização","virtualMcp.subAgentsSection.addSubAgent":"Adicionar sub-projeto","virtualMcp.subAgentsSection.anyAgent":"Qualquer projeto","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Pode delegar para qualquer projeto na organização.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Pode delegar apenas para uma cópia fresca de si mesmo, nenhum outro projeto.","virtualMcp.subAgentsSection.emptyStateMessage":"Nenhum sub-projeto selecionado ainda. Adicione um — até então, este projeto pode delegar apenas para si mesmo.","virtualMcp.subAgentsSection.noAgentsFound":"Nenhum projeto encontrado.","virtualMcp.subAgentsSection.onlyItself":"Apenas si mesmo","virtualMcp.subAgentsSection.searchPlaceholder":"Pesquisar projetos...","virtualMcp.subAgentsSection.specificAgents":"Projetos específicos","virtualMcp.subAgentsSection.title":"Sub-projetos","virtualMcp.virtualMcp.addConnection":"Adicionar conexão","virtualMcp.virtualMcp.agentDeleted":'Excluído "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agente","virtualMcp.virtualMcp.agentNamePlaceholder":"Nome do projeto","virtualMcp.virtualMcp.authenticationFailed":"Falha na autenticação: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Autenticação bem-sucedida","virtualMcp.virtualMcp.backToSpaces":"Voltar aos espaços","virtualMcp.virtualMcp.cancel":"Cancelar","virtualMcp.virtualMcp.connect":"Conectar","virtualMcp.virtualMcp.connections":"Conexões","virtualMcp.virtualMcp.created":"Criado em","virtualMcp.virtualMcp.delete":"Excluir","virtualMcp.virtualMcp.deleteAgent":"Excluir projeto","virtualMcp.virtualMcp.deleteAgentConfirm":"Excluir Projeto?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"Esta ação não pode ser desfeita. Isto excluirá permanentemente {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Exclua permanentemente este projeto e todos os seus dados.","virtualMcp.virtualMcp.descriptionPlaceholder":"Adicionar uma descrição...","virtualMcp.virtualMcp.failedToCreateInstance":"Falha ao criar instância","virtualMcp.virtualMcp.fullscreen":"Tela cheia","virtualMcp.virtualMcp.improve":"Melhorar","virtualMcp.virtualMcp.instanceAlreadyAdded":"Esta instância já foi adicionada ao projeto","virtualMcp.virtualMcp.instructions":"Instruções","virtualMcp.virtualMcp.instructionsPlaceholder":"Defina como este agente deve se comportar, qual tom usar, qualquer restrição ou diretriz...","virtualMcp.virtualMcp.lastUsed":"Último uso {time}","virtualMcp.virtualMcp.neverUsed":"Nunca foi usado","virtualMcp.virtualMcp.newInstanceCreated":"Nova instância criada","virtualMcp.virtualMcp.noConnectionsYet":"Nenhuma conexão ainda. Adicione uma para começar.","virtualMcp.virtualMcp.openFullscreenEditor":"Abrir editor em tela cheia","virtualMcp.virtualMcp.promptTemplate":"+ Modelo de prompt","virtualMcp.virtualMcp.promptTemplateContent":`<role>
|
|
91
|
+
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.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.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.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.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.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.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.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.repoRow.label":"Repository","sandbox.repoRow.noRepositoryConnected":"No repository connected","sandbox.repoRow.tooltipContent":"The connected GitHub repository for this project. Manage in Connections.","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.back":"All blocks","sandbox.schemaless.bannerBody":"Until then, each block opens with plain fields built from its saved values, and saving keeps every other value as it is. Generate the schema in your site's folder; this page picks it up on its own.","sandbox.schemaless.bannerTitle":"Forms get proper fields once the schema exists","sandbox.schemaless.docsLink":"About deco schema","sandbox.schemaless.empty":"Empty","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.searchPlaceholder":"Search blocks","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.collectionsSidebar.campaigns":"Calendar","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":"Every date on your site is a campaign: a variant with the rule “Campaign” shows while its campaign runs. Changes are saved in your draft and go live when you publish.","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.listMode":"List","sandbox.dateCampaigns.timelineMode":"Timeline","sandbox.dateCampaigns.status.running":"Running","sandbox.dateCampaigns.status.upcoming":"Upcoming","sandbox.dateCampaigns.status.ended":"Ended","sandbox.dateCampaigns.status.always":"Always on","sandbox.dateCampaigns.status.unreadable":"Dates can't be read","sandbox.dateCampaigns.usedBy":"Used by {count}","sandbox.dateCampaigns.notUsed":"Not used yet","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.renameHint":"Every variant that uses this campaign is updated in the same change.","sandbox.dateCampaigns.renameWholeHint":"Sections that read every campaign in their own code still look for the old name. Update them in the site editor.","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.renamed":"Campaign renamed to “{name}”","sandbox.dateCampaigns.allCampaigns":"All campaigns","sandbox.dateCampaigns.today":"Today","sandbox.dateCampaigns.previous":"Earlier","sandbox.dateCampaigns.next":"Later","sandbox.dateCampaigns.nothingInRange":"No campaign runs in these months.","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.off":"Off","sandbox.previewAs.on":"On","sandbox.previewAs.reset":"Show as it is now"},UJ={"settings.subscriptionUsage.title":"Plan usage","settings.subscriptionUsage.refresh":"Refresh","settings.subscriptionUsage.loading":"Loading usage limits…","settings.subscriptionUsage.fiveHour":"5-hour window","settings.subscriptionUsage.weekly":"Weekly limit","settings.subscriptionUsage.sonnet":"Sonnet · weekly","settings.subscriptionUsage.opus":"Opus · weekly","settings.subscriptionUsage.codeReview":"Code review","settings.subscriptionUsage.hours":"{hours}-hour window","settings.subscriptionUsage.primary":"Primary limit","settings.subscriptionUsage.secondary":"Secondary limit","settings.subscriptionUsage.used":"{percent}% used","settings.subscriptionUsage.resets":"Resets {date}","settings.subscriptionUsage.resetUnknown":"Reset time not provided","settings.subscriptionUsage.limitReached":"Limit reached","settings.subscriptionUsage.permission":"This token cannot read usage limits. Check usage on the provider’s website.","settings.subscriptionUsage.authorization":"The provider could not authorize this usage request. Relink your subscription to refresh its credentials.","settings.subscriptionUsage.rateLimited":"The provider is limiting usage checks. Try again after the time below.","settings.subscriptionUsage.disconnected":"Link your subscription to view usage limits.","settings.subscriptionUsage.unavailable":"Usage limits are unavailable right now. Check the provider for the latest status.","settings.subscriptionUsage.retryAt":"Try again {date}","settings.subscriptionUsage.checkedAt":"Checked {date}","settings.subscriptionUsage.sharedUsage":"Includes usage outside Studio. These limits belong to your personal plan.","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.agents":"Projects","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.preferences.title":"Preferences","settings.blog.sectionTitle":"Blog","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.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.preferences.projectFirstNav":"Project-first navigation","settings.preferences.projectFirstNavDescription":"Try the org rail, project launcher and the Today/Agents home.","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.pageTitle":"Skills","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.pageTitle":"Memory","settings.memory.tabOrg":"Organization","settings.memory.tabUser":"Just you","settings.memory.orgHeading":"Shared with everyone in {org}","settings.memory.orgDescription":"Deco reads this at the start of every chat and adds to it as it learns. Fix anything wrong or out of date.","settings.memory.userHeading":"Your personal memory","settings.memory.userDescription":"Loaded only into your chats. Good for how you like to work, what you own and what to skip.","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":"Connect an AI provider","settings.connectProviderDialog.gridDescription":"Pick a provider — we'll handle the rest.","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.connectedProvidersSection.connectButton":"Connect provider","settings.connectedProvidersSection.emptyState":"Bring your own keys to use specific models alongside Deco's gateway.","settings.connectedProvidersSection.sectionTitle":"Connected providers","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.active":"Your Codex runs use your ChatGPT subscription. Credentials refresh automatically.","settings.codexSubscription.connect":"Link","settings.codexSubscription.connected":"ChatGPT subscription linked","settings.codexSubscription.description":"Use your ChatGPT subscription for Codex sandbox chats. Credentials belong to you and are stored encrypted.","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":"Your ChatGPT subscription for Codex","settings.codexSubscription.tokenPlaceholder":"Paste the contents of auth.json","settings.claudeSubscription.active":"Your Claude plan is running these coding tasks.","settings.claudeSubscription.connect":"Link","settings.claudeSubscription.connected":"Claude subscription linked","settings.claudeSubscription.description":"Run coding tasks on your own Claude Pro or Max plan instead of the organization's AI credit.","settings.claudeSubscription.disconnect":"Disconnect","settings.claudeSubscription.disconnected":"Claude subscription unlinked","settings.claudeSubscription.expired":"Anthropic no longer accepts your token. Generate a new one to keep using your plan.","settings.claudeSubscription.howTo":"Generate a token on your own machine with","settings.claudeSubscription.title":"Your Claude subscription","settings.claudeSubscription.tokenPlaceholder":"Paste your token","settings.githubCopilot.active":"Your GitHub Copilot plan is running these coding tasks.","settings.githubCopilot.connect":"Link","settings.githubCopilot.connected":"GitHub Copilot linked","settings.githubCopilot.description":"Run coding tasks on Claude through your own GitHub Copilot plan instead of the organization's AI credit.","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":"Every run in this organization uses {name}'s shared GitHub Copilot plan.","settings.githubCopilot.shareTitle":"Share with the organization","settings.githubCopilot.shareDescription":"Every chat and task in this organization runs on your Copilot plan, ahead of members' own plans and the organization's AI providers.","settings.githubCopilot.title":"Your GitHub Copilot plan","settings.githubCopilot.tokenPlaceholder":"Paste your github_pat_… token","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.noPlan":"No active plan","settings.planUsage.noPlanDescription":"This organization has no active plan. Pick one below — Starter's first month is free.","settings.planUsage.creditsLeft":"left","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.decoNudgeCard.connectDeco":"Connect Deco","settings.decoNudgeCard.connecting":"Connecting…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ models, one connection — pay as you go, no API keys to juggle.","settings.decoNudgeCard.recommended":"Recommended","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.deleteProviderKey":"Delete provider key","settings.providerKeyRow.editProviderKey":"Edit provider 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.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 a name so you can recognize it later.","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.modelsPowerDescription":"These models power chat, automations, and tools across your organization.","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.tierDeepResearchDesc":"In-depth, multi-source research reports","settings.simpleModeSection.tierFast":"Fast","settings.simpleModeSection.tierFastDesc":"Fastest responses, best for quick tasks","settings.simpleModeSection.tierImage":"Image","settings.simpleModeSection.tierImageDesc":"Image generation","settings.simpleModeSection.tierSmart":"Smart","settings.simpleModeSection.tierSmartDesc":"Balanced speed and capability","settings.simpleModeSection.tierThinking":"Thinking","settings.simpleModeSection.tierThinkingDesc":"Most capable, best for complex tasks","settings.simpleModeSection.tierWebSearch":"Web search","settings.simpleModeSection.tierWebSearchDesc":"Quick, up-to-date answers from the web","settings.aiProviders.recommended":"Recommended — 100+ models, pay as you go","settings.aiProviders.customOpenAiCompatible":"Custom OpenAI-compatible","settings.aiProviders.customOpenAiDescription":"Bring your own model server (advanced)","settings.aiProviders.moreProvidersSingular":"{count} more provider","settings.aiProviders.moreProvidersPlural":"{count} more providers","settings.aiProviders.decoConnectSuccess":"Deco AI Gateway connected successfully","settings.aiProviders.decoConnectError":"Failed to connect Deco AI Gateway: {error}","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"},qJ={"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.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"},$J={"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"},VJ={...QQ,...JQ,...XQ,...eJ,...tJ,...oJ,...aJ,...nJ,...rJ,...iJ,...sJ,...lJ,...cJ,...dJ,...uJ,...pJ,...CJ,...EJ,...PJ,...mJ,...hJ,...gJ,...fJ,...vJ,...bJ,...yJ,...SJ,...wJ,...xJ,...TJ,...kJ,..._J,...AJ,...RJ,...DJ,...OJ,...MJ,...NJ,...IJ,...LJ,...BJ,...FJ,...jJ,...zJ,...UJ,...qJ,...$J,...ZQ,...YQ};function yL(e,t){return t?e.replace(/\{(\w+)\}/g,(o,a)=>Object.hasOwn(t,a)?String(t[a]):o):e}const HJ={"page.overview":"Visão geral","page.app":"App","page.view":"Visualização","page.file":"Arquivo","page.document":"Documento","page.item":"Item","page.breadcrumbs":"Navegação estrutural","page.breadcrumbMenu":"Mostrar caminho de navegação","page.views":"Visualizações da página","page.openThread":"Abrir chat","page.closeThread":"Fechar chat","page.collapseSidebar":"Recolher barra lateral","page.expandSidebar":"Expandir barra lateral"},GJ={"projects.overview.metrics":"Métricas","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":"Novo projeto","projects.card.updated":"Atualizado {time}","projects.empty.title":"Seu comércio, um projeto por vez","projects.empty.description":"Um site, um app, uma loja. Cada um com suas conexões, seu relatório e seu quadro.","projects.empty.readOnly":"Peça a um admin para criar o primeiro projeto.","projects.new.title":"Novo projeto","projects.new.subtitle":"O que você vai configurar?","projects.new.back":"Voltar","projects.new.create":"Criar projeto","projects.new.creating":"Criando…","projects.new.nameLabel":"Nome do projeto","projects.new.namePlaceholder":"Farm web","projects.new.nameRequired":"Dê um nome ao projeto","projects.new.failed":"Não foi possível criar o projeto","projects.new.created":"{title} está pronto","projects.new.path.repository":"Importar um código","projects.new.path.repository.hint":"Traga o código de um site ou app","projects.new.path.folder":"Nova pasta de projeto","projects.new.path.folder.hint":"Dê o nome agora, conecte depois","projects.new.step.folder.title":"Dê nome ao seu projeto","projects.reports.chooserTitle":"Continuar para Relatórios","projects.reports.chooserSubtitle":"Escolha um projeto para continuar","projects.reports.chooserSearch":"Buscar projeto…","projects.reports.chooserEmpty":"Nenhum projeto com esse nome.","projects.reports.status.ready":"Pronto","projects.reports.status.running":"Rodando","projects.reports.status.none":"Não rodou","projects.reports.status.locked":"Bloqueado","projects.connections.orgWide":"Toda a organização","projects.connections.usedBy":"{count} projetos","projects.settings.title":"Projetos","projects.settings.searchPlaceholder":"Buscar projetos…","projects.settings.open":"Abrir","projects.settings.openSettings":"Configurações","projects.settings.noResults":"Nenhum projeto corresponde a “{search}”","projects.identity.storeUrlLabel":"URL da loja","projects.identity.storeUrlDescription":"A loja no ar. Os relatórios rodam contra este endereço.","projects.apps.reports":"Relatório","projects.apps.siteEditor":"Editor de site","projects.apps.assets":"Assets","projects.apps.releases":"Releases","projects.apps.hosting":"Hosting","projects.apps.e2e":"Testes ponta a ponta","projects.apps.analytics":"Analytics","projects.apps.cdn":"Monitor","projects.apps.automations":"Automações","projects.apps.experiments":"Experimentos","projects.apps.calendar":"Calendário"},WJ={"virtualMcp.addConnectionDialog.addConnectionTitle":"Adicionar Conexão","virtualMcp.addConnectionDialog.authenticationFailedError":"Autenticação falhou: {error}","virtualMcp.addConnectionDialog.connected":"Conectado","virtualMcp.addConnectionDialog.connectedAuthenticated":"Conectado e autenticado","virtualMcp.addConnectionDialog.connectionsTitle":"Conexões","virtualMcp.addConnectionDialog.failedToAddConnection":"Falha ao adicionar conexão","virtualMcp.addConnectionDialog.failedToConnect":"Falha ao conectar","virtualMcp.addConnectionDialog.mcpServerConnectionError":"Este servidor MCP não pode ser conectado: nenhum método de conexão disponível","virtualMcp.addConnectionDialog.searchConnectionsPlaceholder":"Pesquisar conexões...","virtualMcp.addConnectionDialog.signInFailedDescription":"Foi adicionada ao seu projeto, mas sua configuração de login parece estar errada. Você pode tentar autenticar novamente mais tarde nas configurações da conexão. ({error})","virtualMcp.addConnectionDialog.signInFailedTitle":"Não foi possível fazer login nesta conexão","virtualMcp.connectionDialogContent.add":"Adicionar","virtualMcp.connectionDialogContent.added":"Adicionado","virtualMcp.connectionDialogContent.builtByDeco":"Construído e mantido pela Deco","virtualMcp.connectionDialogContent.builtByOfficial":"Construído e mantido pelo fornecedor oficial","virtualMcp.connectionDialogContent.connect":"Conectar","virtualMcp.connectionDialogContent.connected":"Conectado","virtualMcp.connectionDialogContent.customConnection":"Conexão Personalizada","virtualMcp.connectionDialogContent.emptyStateNoConnectionsAvailable":"Nenhuma conexão disponível","virtualMcp.connectionDialogContent.emptyStateNoConnectionsYet":"Nenhuma conexão ainda","virtualMcp.connectionDialogContent.emptyStateSearchNoMatch":'Nenhuma conexão corresponde a "{search}"',"virtualMcp.connectionDialogContent.madeByDeco":"Feito por Deco","virtualMcp.connectionDialogContent.sectionAllConnections":"Todas as conexões","virtualMcp.connectionDialogContent.sectionVerified":"Verificado","virtualMcp.connectionDialogContent.tabAll":"Todos","virtualMcp.connectionDialogContent.tabConnected":"Conectados","virtualMcp.connectionDialogContent.verifiedByDeco":"Verificado pelo time da Deco","virtualMcp.connectionItem.authorize":"Autorizar","virtualMcp.connectionItem.configureResources":"Configurar recursos","virtualMcp.connectionItem.connectionDisabled":"Conexão desativada","virtualMcp.connectionItem.connectionEnabled":"Conexão ativada","virtualMcp.connectionItem.connectionNotFound":"Conexão não encontrada","virtualMcp.connectionItem.connectionSettings":"Configurações de conexão","virtualMcp.connectionItem.disable":"Desativar","virtualMcp.connectionItem.disableConnection":"Desativar conexão","virtualMcp.connectionItem.disabled":"Desativada","virtualMcp.connectionItem.disabledError":"Desativada (erro)","virtualMcp.connectionItem.enable":"Ativar","virtualMcp.connectionItem.failedToUpdateConnection":"Falha ao atualizar a conexão","virtualMcp.connectionItem.needsAuthorization":"Requer autorização","virtualMcp.connectionItem.newInstance":"Nova instância","virtualMcp.connectionItem.remove":"Remover","virtualMcp.connectionItem.removeConnection":"Remover conexão","virtualMcp.dependencySelectionDialog.authorizationDescription":"Esta conexão deve ser autorizada antes de você poder configurar suas ferramentas e recursos.","virtualMcp.dependencySelectionDialog.authorizationRequired":"Autorização obrigatória","virtualMcp.dependencySelectionDialog.authorize":"Autorizar","virtualMcp.dependencySelectionDialog.deselectAll":"Desselecionar tudo","virtualMcp.dependencySelectionDialog.done":"Concluído","virtualMcp.dependencySelectionDialog.noActiveToolsSelected":"Nenhuma ferramenta ativa selecionada","virtualMcp.dependencySelectionDialog.noPromptsAvailable":"Nenhum prompt disponível","virtualMcp.dependencySelectionDialog.noResourcesAvailable":"Nenhum recurso disponível","virtualMcp.dependencySelectionDialog.noToolsAvailable":"Nenhuma ferramenta disponível","virtualMcp.dependencySelectionDialog.promptsNotSupported":"Prompts não são suportados por este servidor","virtualMcp.dependencySelectionDialog.resourcesNotSupported":"Recursos não são suportados por este servidor","virtualMcp.dependencySelectionDialog.selectAll":"Selecionar tudo","virtualMcp.dependencySelectionDialog.somethingWentWrong":"Algo deu errado","virtualMcp.dependencySelectionDialog.tabActive":"Ativas","virtualMcp.dependencySelectionDialog.tabPrompts":"Prompts","virtualMcp.dependencySelectionDialog.tabResources":"Recursos","virtualMcp.dependencySelectionDialog.tabTools":"Ferramentas","virtualMcp.dependencySelectionDialog.toolsNotSupported":"Ferramentas não são suportadas por este servidor","virtualMcp.dependencySelectionDialog.unexpectedError":"Erro inesperado","virtualMcp.filesSection.add":"Adicionar","virtualMcp.filesSection.description":"Anexe arquivos e skills que o projeto sempre pode consultar.","virtualMcp.filesSection.failedUploadFile":"Falha ao enviar arquivo.","virtualMcp.filesSection.fileTooLargeDescription":"Excede o limite de 25MB, não enviado: {names}","virtualMcp.filesSection.fileTooLargeTitle":"Arquivo muito grande","virtualMcp.filesSection.filesAndSkills":"Arquivos e skills","virtualMcp.filesSection.kindFile":"Arquivo","virtualMcp.filesSection.kindSkill":"Skill","virtualMcp.filesSection.noFilesFound":"Nenhum arquivo encontrado.","virtualMcp.filesSection.noFilesOrSkillsYet":"Nenhum arquivo ou skill ainda. Adicione um ou arraste e solte aqui.","virtualMcp.filesSection.noSkillsFound":"Nenhum skill encontrado.","virtualMcp.filesSection.removeAriaLabel":"Remover {name}","virtualMcp.filesSection.searchFilesPlaceholder":"Pesquisar arquivos...","virtualMcp.filesSection.searchSkillsPlaceholder":"Pesquisar skills...","virtualMcp.filesSection.selectFileOrFolder":"Selecionar arquivo ou pasta","virtualMcp.filesSection.selectSkill":"Selecionar skill","virtualMcp.filesSection.uploadFile":"Enviar arquivo","virtualMcp.layoutTabContent.noMainView":"Sem visão principal","virtualMcp.layoutTabContent.automations":"Automações","virtualMcp.layoutTabContent.chatAlwaysShown":"O Chat sempre aparece quando é a visualização padrão","virtualMcp.layoutTabContent.layout":"Layout","virtualMcp.layoutTabContent.mainView":"Visualização principal","virtualMcp.layoutTabContent.mainViewDescription":"O que os usuários veem quando abrem este projeto pela primeira vez.","virtualMcp.layoutTabContent.settings":"Configurações","virtualMcp.layoutTabContent.showChat":"Mostrar chat","virtualMcp.layoutTabContent.showChatDescription":"Exibir Chat no painel lateral junto com a visualização principal.","virtualMcp.layoutTabContent.siteEditor":"Editor do site","virtualMcp.settings.title":"Configurações do projeto","virtualMcp.settings.navigation":"Seções das configurações do projeto","virtualMcp.settings.identity.icon":"Ícone do projeto","virtualMcp.settings.identity.iconDescription":"Como seu projeto aparece na barra lateral e no Studio.","virtualMcp.settings.identity.name":"Nome do projeto","virtualMcp.settings.identity.description":"Descrição","virtualMcp.settings.general.title":"Geral","virtualMcp.settings.site.title":"CMS","virtualMcp.settings.site.classicTitle":"Site e sandbox","virtualMcp.settings.groups.advanced":"Avançado","virtualMcp.settings.connections.title":"Conexões","virtualMcp.settings.views.defaults":"Layout padrão","virtualMcp.settings.views.sidebar":"Visualizações","virtualMcp.settings.views.open":"Abrir","virtualMcp.settings.views.pin":"Fixar na barra lateral","virtualMcp.settings.views.unpin":"Remover da barra lateral","virtualMcp.settings.views.setMainView":"Definir como visualização principal","virtualMcp.settings.views.rowActions":"Opções da visualização","virtualMcp.subAgentsSection.addSubAgent":"Adicionar sub-projeto","virtualMcp.subAgentsSection.anyAgent":"Qualquer projeto","virtualMcp.subAgentsSection.canDelegateToAnyAgent":"Pode delegar para qualquer projeto na organização.","virtualMcp.subAgentsSection.canOnlyDelegateToItself":"Pode delegar apenas para uma cópia fresca de si mesmo, nenhum outro projeto.","virtualMcp.subAgentsSection.emptyStateMessage":"Nenhum sub-projeto selecionado ainda. Adicione um — até então, este projeto pode delegar apenas para si mesmo.","virtualMcp.subAgentsSection.noAgentsFound":"Nenhum projeto encontrado.","virtualMcp.subAgentsSection.onlyItself":"Apenas si mesmo","virtualMcp.subAgentsSection.searchPlaceholder":"Pesquisar projetos...","virtualMcp.subAgentsSection.specificAgents":"Projetos específicos","virtualMcp.subAgentsSection.title":"Sub-projetos","virtualMcp.virtualMcp.addConnection":"Adicionar conexão","virtualMcp.virtualMcp.agentDeleted":'Excluído "{title}"',"virtualMcp.virtualMcp.agentNameFallback":"Agente","virtualMcp.virtualMcp.agentNamePlaceholder":"Nome do projeto","virtualMcp.virtualMcp.authenticationFailed":"Falha na autenticação: {error}","virtualMcp.virtualMcp.authenticationSuccessful":"Autenticação bem-sucedida","virtualMcp.virtualMcp.backToSpaces":"Voltar aos espaços","virtualMcp.virtualMcp.cancel":"Cancelar","virtualMcp.virtualMcp.connect":"Conectar","virtualMcp.virtualMcp.connections":"Conexões","virtualMcp.virtualMcp.created":"Criado em","virtualMcp.virtualMcp.delete":"Excluir","virtualMcp.virtualMcp.deleteAgent":"Excluir projeto","virtualMcp.virtualMcp.deleteAgentConfirm":"Excluir Projeto?","virtualMcp.virtualMcp.deleteAgentConfirmDescription":"Esta ação não pode ser desfeita. Isto excluirá permanentemente {title}.","virtualMcp.virtualMcp.deleteAgentDescription":"Exclua permanentemente este projeto e todos os seus dados.","virtualMcp.virtualMcp.descriptionPlaceholder":"Adicionar uma descrição...","virtualMcp.virtualMcp.failedToCreateInstance":"Falha ao criar instância","virtualMcp.virtualMcp.fullscreen":"Tela cheia","virtualMcp.virtualMcp.improve":"Melhorar","virtualMcp.virtualMcp.instanceAlreadyAdded":"Esta instância já foi adicionada ao projeto","virtualMcp.virtualMcp.instructions":"Instruções","virtualMcp.virtualMcp.instructionsPlaceholder":"Defina como este agente deve se comportar, qual tom usar, qualquer restrição ou diretriz...","virtualMcp.virtualMcp.lastUsed":"Último uso {time}","virtualMcp.virtualMcp.neverUsed":"Nunca foi usado","virtualMcp.virtualMcp.newInstanceCreated":"Nova instância criada","virtualMcp.virtualMcp.noConnectionsYet":"Nenhuma conexão ainda. Adicione uma para começar.","virtualMcp.virtualMcp.openFullscreenEditor":"Abrir editor em tela cheia","virtualMcp.virtualMcp.promptTemplate":"+ Modelo de prompt","virtualMcp.virtualMcp.promptTemplateContent":`<role>
|
|
92
92
|
Defina quem é este agente e em que ele é especializado.
|
|
93
93
|
Exemplo: Você é um agente de triagem de suporte para comerciantes B2B.
|
|
94
94
|
</role>
|
|
@@ -124,7 +124,7 @@ ou um por linha`,"common.inviteMemberDialog.errorFailedInvite":"Falha ao convida
|
|
|
124
124
|
|
|
125
125
|
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.
|
|
126
126
|
|
|
127
|
-
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.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.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.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.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.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.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.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.repoRow.label":"Repositório","sandbox.repoRow.noRepositoryConnected":"Nenhum repositório conectado","sandbox.repoRow.tooltipContent":"O repositório GitHub conectado para este projeto. Gerencie em Conexões.","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.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.back":"Todos os blocos","sandbox.schemaless.bannerBody":"Até lá, cada bloco abre com campos simples criados a partir dos valores salvos, e salvar mantém todos os outros valores como estão. Gere o schema na pasta do seu site; esta página o detecta sozinha.","sandbox.schemaless.bannerTitle":"Os formulários ganham os campos certos assim que o schema existir","sandbox.schemaless.docsLink":"Sobre o deco schema","sandbox.schemaless.empty":"Vazio","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.searchPlaceholder":"Buscar blocos","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.collectionsSidebar.campaigns":"Calendário","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":"Toda data do seu site é uma campanha: uma variante com a regra “Campanha” aparece enquanto a campanha dela está rodando. As mudanças ficam salvas no seu rascunho e vão ao ar quando você publica.","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.listMode":"Lista","sandbox.dateCampaigns.timelineMode":"Linha do tempo","sandbox.dateCampaigns.status.running":"Rodando","sandbox.dateCampaigns.status.upcoming":"Em breve","sandbox.dateCampaigns.status.ended":"Encerrada","sandbox.dateCampaigns.status.always":"Sempre ativa","sandbox.dateCampaigns.status.unreadable":"Datas ilegíveis","sandbox.dateCampaigns.usedBy":"Usada em {count}","sandbox.dateCampaigns.notUsed":"Ainda não usada","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.renameHint":"Toda variante que usa esta campanha é atualizada na mesma mudança.","sandbox.dateCampaigns.renameWholeHint":"Seções que leem todas as campanhas no próprio código continuam procurando o nome antigo. Atualize-as no editor do site.","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.renamed":"Campanha renomeada para “{name}”","sandbox.dateCampaigns.allCampaigns":"Todas as campanhas","sandbox.dateCampaigns.today":"Hoje","sandbox.dateCampaigns.previous":"Antes","sandbox.dateCampaigns.next":"Depois","sandbox.dateCampaigns.nothingInRange":"Nenhuma campanha roda nestes meses.","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.off":"Desligado","sandbox.previewAs.on":"Ligado","sandbox.previewAs.reset":"Mostrar como está agora"},BX={"settings.subscriptionUsage.title":"Uso do plano","settings.subscriptionUsage.refresh":"Atualizar","settings.subscriptionUsage.loading":"Carregando limites de uso…","settings.subscriptionUsage.fiveHour":"Janela de 5 horas","settings.subscriptionUsage.weekly":"Limite semanal","settings.subscriptionUsage.sonnet":"Sonnet · semanal","settings.subscriptionUsage.opus":"Opus · semanal","settings.subscriptionUsage.codeReview":"Revisão de código","settings.subscriptionUsage.hours":"Janela de {hours} horas","settings.subscriptionUsage.primary":"Limite principal","settings.subscriptionUsage.secondary":"Limite secundário","settings.subscriptionUsage.used":"{percent}% usado","settings.subscriptionUsage.resets":"Renova em {date}","settings.subscriptionUsage.resetUnknown":"Horário de renovação não informado","settings.subscriptionUsage.limitReached":"Limite atingido","settings.subscriptionUsage.permission":"Este token não permite consultar limites. Veja o uso no site do provedor.","settings.subscriptionUsage.authorization":"O provedor não autorizou a consulta. Vincule seu plano novamente para atualizar as credenciais.","settings.subscriptionUsage.rateLimited":"O provedor está limitando as consultas. Tente novamente após o horário abaixo.","settings.subscriptionUsage.disconnected":"Vincule seu plano para consultar os limites.","settings.subscriptionUsage.unavailable":"Os limites estão indisponíveis agora. Consulte o provedor para ver o status atual.","settings.subscriptionUsage.retryAt":"Tente novamente em {date}","settings.subscriptionUsage.checkedAt":"Consultado em {date}","settings.subscriptionUsage.sharedUsage":"Inclui uso fora do Studio. Estes limites pertencem ao seu plano pessoal.","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.agents":"Projetos","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.preferences.title":"Preferências","settings.blog.sectionTitle":"Blog","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.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. Por enquanto só a interface: os apps extras ainda não sobem na sandbox.","settings.preferences.projectFirstNav":"Navegação centrada em projetos","settings.preferences.projectFirstNavDescription":"Experimente o trilho de organizações, o launcher de projetos e a home Hoje/Agentes.","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.pageTitle":"Skills","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.pageTitle":"Memória","settings.memory.tabOrg":"Organização","settings.memory.tabUser":"Só você","settings.memory.orgHeading":"Compartilhada com todo mundo em {org}","settings.memory.orgDescription":"O Deco lê isto no começo de cada chat e acrescenta o que aprende. Corrija o que estiver errado ou desatualizado.","settings.memory.userHeading":"Sua memória pessoal","settings.memory.userDescription":"Carregada só nos seus chats. Boa para como você gosta de trabalhar, o que é seu e o que pular.","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":"Conectar um provedor de IA","settings.connectProviderDialog.gridDescription":"Escolha um provedor — o resto a gente resolve.","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.connectedProvidersSection.connectButton":"Conectar provedor","settings.connectedProvidersSection.emptyState":"Traga suas próprias chaves para usar modelos específicos junto com o gateway da Deco.","settings.connectedProvidersSection.sectionTitle":"Provedores conectados","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.active":"Suas execuções do Codex usam sua assinatura do ChatGPT. As credenciais são renovadas automaticamente.","settings.codexSubscription.connect":"Vincular","settings.codexSubscription.connected":"Assinatura do ChatGPT vinculada","settings.codexSubscription.description":"Use sua assinatura do ChatGPT nos chats com Codex no sandbox. As credenciais pertencem a você e ficam criptografadas.","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":"Sua assinatura do ChatGPT para Codex","settings.codexSubscription.tokenPlaceholder":"Cole o conteúdo de auth.json","settings.claudeSubscription.active":"Seu plano Claude está executando estas tarefas de código.","settings.claudeSubscription.connect":"Vincular","settings.claudeSubscription.connected":"Assinatura Claude conectada","settings.claudeSubscription.description":"Execute tarefas de código no seu próprio plano Claude Pro ou Max, em vez do crédito de IA da organização.","settings.claudeSubscription.disconnect":"Desconectar","settings.claudeSubscription.disconnected":"Assinatura Claude desconectada","settings.claudeSubscription.expired":"A Anthropic não aceita mais seu token. Gere um novo para continuar usando seu plano.","settings.claudeSubscription.howTo":"Gere um token na sua própria máquina com","settings.claudeSubscription.title":"Sua assinatura Claude","settings.claudeSubscription.tokenPlaceholder":"Cole seu token","settings.githubCopilot.active":"Seu plano GitHub Copilot está executando estas tarefas de código.","settings.githubCopilot.connect":"Vincular","settings.githubCopilot.connected":"GitHub Copilot conectado","settings.githubCopilot.description":"Execute tarefas de código no Claude pelo seu próprio plano GitHub Copilot, em vez do crédito de IA da organização.","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":"Toda execução nesta organização usa o plano GitHub Copilot compartilhado por {name}.","settings.githubCopilot.shareTitle":"Compartilhar com a organização","settings.githubCopilot.shareDescription":"Todo chat e tarefa nesta organização roda no seu plano Copilot, antes dos planos dos membros e dos provedores de IA da organização.","settings.githubCopilot.title":"Seu plano GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Cole seu token github_pat_…","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.noPlan":"Nenhum plano ativo","settings.planUsage.noPlanDescription":"Esta organização não tem um plano ativo. Escolha um abaixo — o primeiro mês do Starter é grátis.","settings.planUsage.creditsLeft":"restantes","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.decoNudgeCard.connectDeco":"Conectar Deco","settings.decoNudgeCard.connecting":"Conectando…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ modelos, uma conexão — pague conforme usa, sem APIs para gerenciar.","settings.decoNudgeCard.recommended":"Recomendado","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.deleteProviderKey":"Excluir chave do provedor","settings.providerKeyRow.editProviderKey":"Editar chave do provedor","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.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ê um nome à chave para reconhecê-la depois.","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.modelsPowerDescription":"Estes modelos alimentam chat, automações e ferramentas em toda a sua organização.","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.tierDeepResearchDesc":"Relatórios de pesquisa aprofundados e multi-fonte","settings.simpleModeSection.tierFast":"Rápido","settings.simpleModeSection.tierFastDesc":"Respostas mais rápidas, ideal para tarefas rápidas","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierImageDesc":"Geração de imagens","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierSmartDesc":"Equilíbrio entre velocidade e capacidade","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierThinkingDesc":"Mais capaz, ideal para tarefas complexas","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.simpleModeSection.tierWebSearchDesc":"Respostas rápidas e atualizadas da web","settings.aiProviders.recommended":"Recomendado — 100+ modelos, pague conforme usa","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.aiProviders.moreProvidersSingular":"{count} provedor adicional","settings.aiProviders.moreProvidersPlural":"{count} provedores adicionais","settings.aiProviders.decoConnectSuccess":"Deco AI Gateway conectado com sucesso","settings.aiProviders.decoConnectError":"Falha ao conectar o Deco AI Gateway: {error}","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"},FX={"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.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"},jX={"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"},zX={...WJ,...KJ,...YJ,...ZJ,...QJ,...JJ,...XJ,...eX,...tX,...oX,...aX,...nX,...rX,...iX,...sX,...lX,...xX,...TX,...kX,...cX,...dX,...uX,...pX,...mX,...hX,...gX,...fX,...vX,...bX,...yX,...SX,...wX,..._X,...CX,...EX,...PX,...AX,...RX,...DX,...OX,...MX,...NX,...IX,...LX,...BX,...FX,...jX,...GJ,...HJ},SL={en:VJ,"pt-BR":zX};function sbe(e,t){return yL(SL[$Q()][e],t)}function ar(){const e=Ce.c(2),[t]=hk(),o=SL[t.language];let a;return e[0]!==o?(a=(n,i)=>yL(o[n],i),e[0]=o,e[1]=a):a=e[1],a}function wL(e){var t,o,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=wL(e[t]))&&(a&&(a+=" "),a+=o)}else for(o in e)e[o]&&(a&&(a+=" "),a+=o);return a}function gk(){for(var e,t,o=0,a="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=wL(e))&&(a&&(a+=" "),a+=t);return a}const fD=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,vD=gk,Jp=(e,t)=>o=>{var a;if(t?.variants==null)return vD(e,o?.class,o?.className);const{variants:n,defaultVariants:i}=t,l=Object.keys(n).map(p=>{const m=o?.[p],h=i?.[p];if(m===null)return null;const f=fD(m)||fD(h);return n[p][f]}),c=o&&Object.entries(o).reduce((p,m)=>{let[h,f]=m;return f===void 0||(p[h]=f),p},{}),d=t==null||(a=t.compoundVariants)===null||a===void 0?void 0:a.reduce((p,m)=>{let{class:h,className:f,...v}=m;return Object.entries(v).every(b=>{let[S,k]=b;return Array.isArray(k)?k.includes({...i,...c}[S]):{...i,...c}[S]===k})?[...p,h,f]:p},[]);return vD(e,l,d,o?.class,o?.className)},UX=(e,t)=>{const o=new Array(e.length+t.length);for(let a=0;a<e.length;a++)o[a]=e[a];for(let a=0;a<t.length;a++)o[e.length+a]=t[a];return o},qX=(e,t)=>({classGroupId:e,validator:t}),xL=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),Of="-",bD=[],$X="arbitrary..",VX=e=>{const t=GX(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return HX(l);const c=l.split(Of),d=c[0]===""&&c.length>1?1:0;return TL(c,d,t)},getConflictingClassGroupIds:(l,c)=>{if(c){const d=a[l],p=o[l];return d?p?UX(p,d):d:p||bD}return o[l]||bD}}},TL=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const n=e[t],i=o.nextPart.get(n);if(i){const p=TL(e,t+1,i);if(p)return p}const l=o.validators;if(l===null)return;const c=t===0?e.join(Of):e.slice(t).join(Of),d=l.length;for(let p=0;p<d;p++){const m=l[p];if(m.validator(c))return m.classGroupId}},HX=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),a=t.slice(0,o);return a?$X+a:void 0})(),GX=e=>{const{theme:t,classGroups:o}=e;return WX(o,t)},WX=(e,t)=>{const o=xL();for(const a in e){const n=e[a];fk(n,o,a,t)}return o},fk=(e,t,o,a)=>{const n=e.length;for(let i=0;i<n;i++){const l=e[i];KX(l,t,o,a)}},KX=(e,t,o,a)=>{if(typeof e=="string"){YX(e,t,o);return}if(typeof e=="function"){ZX(e,t,o,a);return}QX(e,t,o,a)},YX=(e,t,o)=>{const a=e===""?t:kL(t,e);a.classGroupId=o},ZX=(e,t,o,a)=>{if(JX(e)){fk(e(a),t,o,a);return}t.validators===null&&(t.validators=[]),t.validators.push(qX(o,e))},QX=(e,t,o,a)=>{const n=Object.entries(e),i=n.length;for(let l=0;l<i;l++){const[c,d]=n[l];fk(d,kL(t,c),o,a)}},kL=(e,t)=>{let o=e;const a=t.split(Of),n=a.length;for(let i=0;i<n;i++){const l=a[i];let c=o.nextPart.get(l);c||(c=xL(),o.nextPart.set(l,c)),o=c}return o},JX=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,XX=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),a=Object.create(null);const n=(i,l)=>{o[i]=l,t++,t>e&&(t=0,a=o,o=Object.create(null))};return{get(i){let l=o[i];if(l!==void 0)return l;if((l=a[i])!==void 0)return n(i,l),l},set(i,l){i in o?o[i]=l:n(i,l)}}},lx="!",yD=":",eee=[],SD=(e,t,o,a,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:a,isExternal:n}),tee=e=>{const{prefix:t,experimentalParseClassName:o}=e;let a=n=>{const i=[];let l=0,c=0,d=0,p;const m=n.length;for(let S=0;S<m;S++){const k=n[S];if(l===0&&c===0){if(k===yD){i.push(n.slice(d,S)),d=S+1;continue}if(k==="/"){p=S;continue}}k==="["?l++:k==="]"?l--:k==="("?c++:k===")"&&c--}const h=i.length===0?n:n.slice(d);let f=h,v=!1;h.endsWith(lx)?(f=h.slice(0,-1),v=!0):h.startsWith(lx)&&(f=h.slice(1),v=!0);const b=p&&p>d?p-d:void 0;return SD(i,v,f,b)};if(t){const n=t+yD,i=a;a=l=>l.startsWith(n)?i(l.slice(n.length)):SD(eee,!1,l,void 0,!0)}if(o){const n=a;a=i=>o({className:i,parseClassName:n})}return a},oee=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,a)=>{t.set(o,1e6+a)}),o=>{const a=[];let n=[];for(let i=0;i<o.length;i++){const l=o[i],c=l[0]==="[",d=t.has(l);c||d?(n.length>0&&(n.sort(),a.push(...n),n=[]),a.push(l)):n.push(l)}return n.length>0&&(n.sort(),a.push(...n)),a}},aee=e=>({cache:XX(e.cacheSize),parseClassName:tee(e),sortModifiers:oee(e),postfixLookupClassGroupIds:nee(e),...VX(e)}),nee=e=>{const t=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let a=0;a<o.length;a++)t[o[a]]=!0;return t},ree=/\s+/,iee=(e,t)=>{const{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n,sortModifiers:i,postfixLookupClassGroupIds:l}=t,c=[],d=e.trim().split(ree);let p="";for(let m=d.length-1;m>=0;m-=1){const h=d[m],{isExternal:f,modifiers:v,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:k}=o(h);if(f){p=h+(p.length>0?" "+p:p);continue}let x=!!k,T;if(x){const D=S.substring(0,k);T=a(D);const O=T&&l[T]?a(S):void 0;O&&O!==T&&(T=O,x=!1)}else T=a(S);if(!T){if(!x){p=h+(p.length>0?" "+p:p);continue}if(T=a(S),!T){p=h+(p.length>0?" "+p:p);continue}x=!1}const P=v.length===0?"":v.length===1?v[0]:i(v).join(":"),C=b?P+lx:P,E=C+T;if(c.indexOf(E)>-1)continue;c.push(E);const R=n(T,x);for(let D=0;D<R.length;++D){const O=R[D];c.push(C+O)}p=h+(p.length>0?" "+p:p)}return p},see=(...e)=>{let t=0,o,a,n="";for(;t<e.length;)(o=e[t++])&&(a=_L(o))&&(n&&(n+=" "),n+=a);return n},_L=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=_L(e[a]))&&(o&&(o+=" "),o+=t);return o},lee=(e,...t)=>{let o,a,n,i;const l=d=>{const p=t.reduce((m,h)=>h(m),e());return o=aee(p),a=o.cache.get,n=o.cache.set,i=c,c(d)},c=d=>{const p=a(d);if(p)return p;const m=iee(d,o);return n(d,m),m};return i=l,(...d)=>i(see(...d))},cee=[],ea=e=>{const t=o=>o[e]||cee;return t.isThemeGetter=!0,t},CL=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,EL=/^\((?:(\w[\w-]*):)?(.+)\)$/i,dee=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,mee=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,hee=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gee=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ds=e=>dee.test(e),yt=e=>!!e&&!Number.isNaN(Number(e)),Or=e=>!!e&&Number.isInteger(Number(e)),iw=e=>e.endsWith("%")&&yt(e.slice(0,-1)),yi=e=>uee.test(e),PL=()=>!0,fee=e=>pee.test(e)&&!mee.test(e),vk=()=>!1,vee=e=>hee.test(e),bee=e=>gee.test(e),yee=e=>!We(e)&&!Ke(e),See=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),wee=e=>Us(e,DL,vk),We=e=>CL.test(e),dl=e=>Us(e,OL,fee),wD=e=>Us(e,Aee,yt),xee=e=>Us(e,NL,PL),Tee=e=>Us(e,ML,vk),xD=e=>Us(e,AL,vk),kee=e=>Us(e,RL,bee),kg=e=>Us(e,IL,vee),Ke=e=>EL.test(e),Bu=e=>Fl(e,OL),_ee=e=>Fl(e,ML),TD=e=>Fl(e,AL),Cee=e=>Fl(e,DL),Eee=e=>Fl(e,RL),_g=e=>Fl(e,IL,!0),Pee=e=>Fl(e,NL,!0),Us=(e,t,o)=>{const a=CL.exec(e);return a?a[1]?t(a[1]):o(a[2]):!1},Fl=(e,t,o=!1)=>{const a=EL.exec(e);return a?a[1]?t(a[1]):o:!1},AL=e=>e==="position"||e==="percentage",RL=e=>e==="image"||e==="url",DL=e=>e==="length"||e==="size"||e==="bg-size",OL=e=>e==="length",Aee=e=>e==="number",ML=e=>e==="family-name",NL=e=>e==="number"||e==="weight",IL=e=>e==="shadow",Ree=()=>{const e=ea("color"),t=ea("font"),o=ea("text"),a=ea("font-weight"),n=ea("tracking"),i=ea("leading"),l=ea("breakpoint"),c=ea("container"),d=ea("spacing"),p=ea("radius"),m=ea("shadow"),h=ea("inset-shadow"),f=ea("text-shadow"),v=ea("drop-shadow"),b=ea("blur"),S=ea("perspective"),k=ea("aspect"),x=ea("ease"),T=ea("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...C(),Ke,We],R=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto","contain","none"],O=()=>[Ke,We,d],L=()=>[ds,"full","auto",...O()],$=()=>[Or,"none","subgrid",Ke,We],B=()=>["auto",{span:["full",Or,Ke,We]},Or,Ke,We],U=()=>[Or,"auto",Ke,We],F=()=>["auto","min","max","fr",Ke,We],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...O()],K=()=>[ds,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],J=()=>[ds,"screen","full","dvw","lvw","svw","min","max","fit",...O()],le=()=>[ds,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],Q=()=>[e,Ke,We],N=()=>[...C(),TD,xD,{position:[Ke,We]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],V=()=>["auto","cover","contain",Cee,wee,{size:[Ke,We]}],I=()=>[iw,Bu,dl],z=()=>["","none","full",p,Ke,We],X=()=>["",yt,Bu,dl],pe=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>[yt,iw,TD,xD],qe=()=>["","none",b,Ke,We],Z=()=>["none",yt,Ke,We],ne=()=>["none",yt,Ke,We],ve=()=>[yt,Ke,We],ie=()=>[ds,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[yi],breakpoint:[yi],color:[PL],container:[yi],"drop-shadow":[yi],ease:["in","out","in-out"],font:[yee],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[yi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[yi],shadow:[yi],spacing:["px",yt],text:[yi],"text-shadow":[yi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ds,We,Ke,k]}],container:["container"],"container-type":[{"@container":["","normal","size",Ke,We]}],"container-named":[See],columns:[{columns:[yt,We,Ke,c]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{"inset-s":L(),start:L()}],end:[{"inset-e":L(),end:L()}],"inset-bs":[{"inset-bs":L()}],"inset-be":[{"inset-be":L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[Or,"auto",Ke,We]}],basis:[{basis:[ds,"full","auto",c,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[yt,ds,"auto","initial","none",We]}],grow:[{grow:["",yt,Ke,We]}],shrink:[{shrink:["",yt,Ke,We]}],order:[{order:[Or,"first","last","none",Ke,We]}],"grid-cols":[{"grid-cols":$()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":$()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...le()]}],"min-block-size":[{"min-block":["auto",...le()]}],"max-block-size":[{"max-block":["none",...le()]}],w:[{w:[c,"screen",...K()]}],"min-w":[{"min-w":[c,"screen","none",...K()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",o,Bu,dl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,Pee,xee]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",iw,We]}],"font-family":[{font:[_ee,Tee,t]}],"font-features":[{"font-features":[We]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Ke,We]}],"line-clamp":[{"line-clamp":[yt,"none",Ke,wD]}],leading:[{leading:[i,...O()]}],"list-image":[{"list-image":["none",Ke,We]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ke,We]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[yt,"from-font","auto",Ke,dl]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[yt,"auto",Ke,We]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[Or,Ke,We]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ke,We]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ke,We]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Or,Ke,We],radial:["",Ke,We],conic:[Or,Ke,We]},Eee,kee]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[yt,Ke,We]}],"outline-w":[{outline:["",yt,Bu,dl]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",m,_g,kg]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",h,_g,kg]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[yt,dl]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",f,_g,kg]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[yt,Ke,We]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[yt]}],"mask-image-linear-from-pos":[{"mask-linear-from":ke()}],"mask-image-linear-to-pos":[{"mask-linear-to":ke()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":ke()}],"mask-image-t-to-pos":[{"mask-t-to":ke()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":ke()}],"mask-image-r-to-pos":[{"mask-r-to":ke()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":ke()}],"mask-image-b-to-pos":[{"mask-b-to":ke()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":ke()}],"mask-image-l-to-pos":[{"mask-l-to":ke()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":ke()}],"mask-image-x-to-pos":[{"mask-x-to":ke()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":ke()}],"mask-image-y-to-pos":[{"mask-y-to":ke()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[Ke,We]}],"mask-image-radial-from-pos":[{"mask-radial-from":ke()}],"mask-image-radial-to-pos":[{"mask-radial-to":ke()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[yt]}],"mask-image-conic-from-pos":[{"mask-conic-from":ke()}],"mask-image-conic-to-pos":[{"mask-conic-to":ke()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ke,We]}],filter:[{filter:["","none",Ke,We]}],blur:[{blur:qe()}],brightness:[{brightness:[yt,Ke,We]}],contrast:[{contrast:[yt,Ke,We]}],"drop-shadow":[{"drop-shadow":["","none",v,_g,kg]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",yt,Ke,We]}],"hue-rotate":[{"hue-rotate":[yt,Ke,We]}],invert:[{invert:["",yt,Ke,We]}],saturate:[{saturate:[yt,Ke,We]}],sepia:[{sepia:["",yt,Ke,We]}],"backdrop-filter":[{"backdrop-filter":["","none",Ke,We]}],"backdrop-blur":[{"backdrop-blur":qe()}],"backdrop-brightness":[{"backdrop-brightness":[yt,Ke,We]}],"backdrop-contrast":[{"backdrop-contrast":[yt,Ke,We]}],"backdrop-grayscale":[{"backdrop-grayscale":["",yt,Ke,We]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[yt,Ke,We]}],"backdrop-invert":[{"backdrop-invert":["",yt,Ke,We]}],"backdrop-opacity":[{"backdrop-opacity":[yt,Ke,We]}],"backdrop-saturate":[{"backdrop-saturate":[yt,Ke,We]}],"backdrop-sepia":[{"backdrop-sepia":["",yt,Ke,We]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ke,We]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[yt,"initial",Ke,We]}],ease:[{ease:["linear","initial",x,Ke,We]}],delay:[{delay:[yt,Ke,We]}],animate:[{animate:["none",T,Ke,We]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,Ke,We]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[Ke,We,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],zoom:[{zoom:[Or,Ke,We]}],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ke,We]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":Q()}],"scrollbar-track-color":[{"scrollbar-track":Q()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ke,We]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[yt,Bu,dl,wD]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},LL=lee(Ree);function ut(...e){return LL(gk(e))}const Dee=Jp("animate-spin shrink-0",{variants:{size:{"2xs":"size-3",xs:"size-4",sm:"size-6",default:"size-7",lg:"size-8",icon:"size-6"}},defaultVariants:{size:"default"}});function Oee(e){const t=Ce.c(11),{size:o,className:a,style:n,label:i}=e;let l;t[0]!==i?(l=i?{role:"status","aria-label":i}:{"aria-hidden":!0},t[0]=i,t[1]=l):l=t[1];let c;t[2]!==a||t[3]!==o?(c=ut(Dee({size:o}),a),t[2]=a,t[3]=o,t[4]=c):c=t[4];let d,p;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=w.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor",opacity:"0.2"}),p=w.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentColor"}),t[5]=d,t[6]=p):(d=t[5],p=t[6]);let m;return t[7]!==n||t[8]!==l||t[9]!==c?(m=w.jsxs("svg",{...l,className:c,style:n,viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d,p]}),t[7]=n,t[8]=l,t[9]=c,t[10]=m):m=t[10],m}function Id(){const e=Ce.c(4),t=ar();let o;e[0]!==t?(o=t("common.loading"),e[0]=t,e[1]=o):o=e[1];let a;return e[2]!==o?(a=w.jsx("div",{"data-testid":"panel-loading",className:"flex flex-1 h-full w-full items-center justify-center",children:w.jsx(Oee,{className:"size-5 text-muted-foreground",label:o})}),e[2]=o,e[3]=a):a=e[3],a}function lbe(e){const t=Ce.c(3),{children:o}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=w.jsx(Id,{}),t[0]=a):a=t[0];let n;return t[1]!==o?(n=w.jsx(A.Suspense,{fallback:a,children:o}),t[1]=o,t[2]=n):n=t[2],n}const BL=so([Vt(),Ze("chat"),Ze(0)]).optional().transform(e=>e===void 0?void 0:e===!0||e==="chat").catch(void 0),FL=Vt().optional().catch(void 0);function kD(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("bg-secondary-hover animate-pulse rounded-md",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{"data-slot":"skeleton",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function _D(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Xp(...e){return t=>{let o=!1;const a=e.map(n=>{const i=_D(n,t);return!o&&typeof i=="function"&&(o=!0),i});if(o)return()=>{for(let n=0;n<a.length;n++){const i=a[n];typeof i=="function"?i():_D(e[n],null)}}}}function sa(...e){return A.useCallback(Xp(...e),e)}var Mee=Symbol.for("react.lazy"),Mf=TT[" use ".trim().toString()];function Nee(e){return typeof e=="object"&&e!==null&&"then"in e}function jL(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Mee&&"_payload"in e&&Nee(e._payload)}function zL(e){const t=Iee(e),o=A.forwardRef((a,n)=>{let{children:i,...l}=a;jL(i)&&typeof Mf=="function"&&(i=Mf(i._payload));const c=A.Children.toArray(i),d=c.find(Bee);if(d){const p=d.props.children,m=c.map(h=>h===d?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:h);return w.jsx(t,{...l,ref:n,children:A.isValidElement(p)?A.cloneElement(p,void 0,m):null})}return w.jsx(t,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}var Iv=zL("Slot");function Iee(e){const t=A.forwardRef((o,a)=>{let{children:n,...i}=o;if(jL(n)&&typeof Mf=="function"&&(n=Mf(n._payload)),A.isValidElement(n)){const l=jee(n),c=Fee(i,n.props);return n.type!==A.Fragment&&(c.ref=a?Xp(a,l):l),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var UL=Symbol("radix.slottable");function Lee(e){const t=({children:o})=>w.jsx(w.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=UL,t}var cbe=Lee("Slottable");function Bee(e){return A.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===UL}function Fee(e,t){const o={...t};for(const a in t){const n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?o[a]=(...c)=>{const d=i(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...i}:a==="className"&&(o[a]=[n,i].filter(Boolean).join(" "))}return{...e,...o}}function jee(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}const zee="bg-[var(--studio-secondary-background)] text-[color:var(--studio-secondary-foreground)] shadow-[var(--studio-secondary-shadow)] hover:bg-[var(--studio-secondary-hover-background)] hover:text-[color:var(--studio-secondary-hover-foreground)]",Uee=Jp(["relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap","rounded-[var(--studio-button-radius)] text-sm font-medium","transition-[background-color,box-shadow,color,opacity] duration-150 ease-[var(--ease-out-cubic)]","active:translate-y-px active:transition-none motion-reduce:active:translate-y-0","focus-ring","disabled:pointer-events-none disabled:opacity-40","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","aria-invalid:outline-destructive"],{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary-hover",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/85 dark:bg-destructive/70",secondary:zee,outline:"bg-card text-[color:var(--studio-outline-foreground)] shadow-edge hover:bg-[var(--studio-outline-hover-background)] hover:text-accent-foreground aria-pressed:bg-accent aria-pressed:text-accent-foreground data-[state=open]:bg-accent",success:"bg-success text-success-foreground hover:bg-success/90",warning:"bg-warning text-warning-foreground hover:bg-warning/90",brand:"bg-brand text-brand-foreground hover:bg-brand/85",special:"bg-special text-special-foreground hover:bg-special/90",ghost:"hover:bg-accent hover:text-accent-foreground","ghost-destructive":"text-muted-foreground hover:bg-accent hover:text-destructive",agent:"bg-card text-card-foreground shadow-edge hover:bg-accent has-[>[data-slot=agent-avatar]]:pl-[3px]",sidebar:"text-sidebar-foreground hover:bg-sidebar-accent aria-pressed:bg-sidebar-accent [&_svg:not([class*='text-'])]:text-muted-foreground hover:[&_svg:not([class*='text-'])]:text-sidebar-foreground",link:"text-foreground/80 hover:text-foreground",tab:"text-muted-foreground hover:bg-accent hover:text-foreground aria-pressed:bg-card aria-pressed:text-card-foreground aria-pressed:shadow-edge aria-[current=page]:bg-card aria-[current=page]:text-card-foreground aria-[current=page]:shadow-edge",menu:"w-full justify-start font-normal hover:bg-accent hover:text-accent-foreground"},size:{default:"h-8 px-3.5 has-[>svg]:px-3",sm:"h-7 gap-1.5 px-3 has-[>svg]:px-2.5",xs:"h-6 gap-1 px-2.5 text-xs has-[>svg]:px-2",lg:"h-10 px-4.5 has-[>svg]:px-4",xl:"h-12 px-6 text-base has-[>svg]:px-5",icon:"size-8","icon-sm":"size-7","icon-xs":"size-6"}},defaultVariants:{variant:"default",size:"default"}});function Ai(e){const t=Ce.c(14);let o,a,n,i,l;t[0]!==e?({className:o,variant:l,size:n,asChild:i,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i,t[5]=l):(o=t[1],a=t[2],n=t[3],i=t[4],l=t[5]);const d=(i===void 0?!1:i)?Iv:"button";let p;t[6]!==o||t[7]!==n||t[8]!==l?(p=ut(Uee({variant:l,size:n,className:o})),t[6]=o,t[7]=n,t[8]=l,t[9]=p):p=t[9];let m;return t[10]!==d||t[11]!==a||t[12]!==p?(m=w.jsx(d,{"data-slot":"button",className:p,...a}),t[10]=d,t[11]=a,t[12]=p,t[13]=m):m=t[13],m}const Ep=A.createContext(null);function qee(e){const t=Ce.c(18);let o,a,n,i;t[0]!==e?({children:o,className:a,variant:i,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);const l=i===void 0?"card":i;let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c={left:null,center:null,right:null,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},t[5]=c):c=t[5];const[d,p]=A.useState(c);let m;t[6]!==d?(m={targets:d,setTargets:p},t[6]=d,t[7]=m):m=t[7];const h=l==="card"&&"rounded-xl shadow-edge [transform:translateZ(0)]";let f;t[8]!==a||t[9]!==h?(f=ut("flex h-full min-h-0 min-w-0 flex-col overflow-hidden bg-background",h,a),t[8]=a,t[9]=h,t[10]=f):f=t[10];let v;t[11]!==o||t[12]!==n||t[13]!==f?(v=w.jsx("div",{...n,"data-slot":"panel",className:f,children:o}),t[11]=o,t[12]=n,t[13]=f,t[14]=v):v=t[14];let b;return t[15]!==m||t[16]!==v?(b=w.jsx(Ep,{value:m,children:v}),t[15]=m,t[16]=v,t[17]=b):b=t[17],b}function $ee(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("@container/panel-header relative z-10 flex h-12 shrink-0 items-center justify-between gap-2 px-1.5",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("header",{...a,"data-slot":"panel-topbar",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function Oc(e,t){const o=e.startsWith("toolbar-")?`panel-${e}`:`panel-topbar-${e}`;function a(l){const c=Ce.c(8);let d,p;c[0]!==l?({className:d,...p}=l,c[0]=l,c[1]=d,c[2]=p):(d=c[1],p=c[2]);let m;c[3]!==d?(m=ut("flex min-w-0 items-center gap-1",t,d),c[3]=d,c[4]=m):m=c[4];let h;return c[5]!==p||c[6]!==m?(h=w.jsx("div",{...p,"data-slot":o,className:m}),c[5]=p,c[6]=m,c[7]=h):h=c[7],h}function n(l){const c=Ce.c(16);let d,p,m;c[0]!==l?({className:d,fallback:p,...m}=l,c[0]=l,c[1]=d,c[2]=p,c[3]=m):(d=c[1],p=c[2],m=c[3]);const h=A.use(Ep);if(!h)throw new Error("Panel targets require a Panel");const{setTargets:f}=h;let v;c[4]!==f?(v=()=>P=>{if(P)return f(C=>{if(C[e]&&C[e]!==P)throw new Error(`Panel has two targets for ${e}`);return C[e]===P?C:{...C,[e]:P}}),()=>{f(C=>C[e]===P?{...C,[e]:null}:C)}},c[4]=f,c[5]=v):v=c[5];const[b]=A.useState(v);let S;c[6]!==d?(S=ut("peer contents empty:hidden",d),c[6]=d,c[7]=S):S=c[7];let k;c[8]!==m||c[9]!==S?(k=w.jsx("div",{"data-toolbar-content":e.startsWith("toolbar-")?"":void 0,...m,ref:b,"data-slot":`${o}-target`,className:S}),c[8]=m,c[9]=S,c[10]=k):k=c[10];let x;c[11]!==p?(x=p&&w.jsx("div",{className:"hidden peer-empty:contents",children:p}),c[11]=p,c[12]=x):x=c[12];let T;return c[13]!==k||c[14]!==x?(T=w.jsxs(w.Fragment,{children:[k,x]}),c[13]=k,c[14]=x,c[15]=T):T=c[15],T}function i({children:l,fallback:c=null}){const p=A.use(Ep)?.targets[e];return p?$p.createPortal(l,p):c}return Object.assign(a,{Target:n,Portal:i})}function Vee(e){const t=Ce.c(12),{children:o}=e,a=A.use(Ep);if(!a)throw new Error("A toolbar scope requires a Panel");let n;t[0]!==a.targets?(n={...a.targets,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},t[0]=a.targets,t[1]=n):n=t[1];const[i,l]=A.useState(n),c=i["toolbar-left"],d=i["toolbar-center"],p=i["toolbar-right"];let m;t[2]!==a.targets||t[3]!==c||t[4]!==d||t[5]!==p?(m={...a.targets,"toolbar-left":c,"toolbar-center":d,"toolbar-right":p},t[2]=a.targets,t[3]=c,t[4]=d,t[5]=p,t[6]=m):m=t[6];const h=m;let f;t[7]!==h?(f={targets:h,setTargets:l},t[7]=h,t[8]=f):f=t[8];let v;return t[9]!==o||t[10]!==f?(v=w.jsx(Ep,{value:f,children:o}),t[9]=o,t[10]=f,t[11]=v):v=t[11],v}function Hee(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("@container/panel-toolbar relative z-10 flex min-h-11 shrink-0 flex-wrap items-center gap-x-2 gap-y-1 px-3 py-1.5 [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{...a,"data-slot":"panel-toolbar",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function Gee(e){const t=Ce.c(11);let o,a,n;t[0]!==e?({className:o,mode:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);const i=n===void 0?"canvas":n,l=i==="scroll"?"overflow-auto":"overflow-hidden";let c;t[4]!==o||t[5]!==l?(c=ut("flex min-h-0 min-w-0 flex-1 flex-col",l,o),t[4]=o,t[5]=l,t[6]=c):c=t[6];let d;return t[7]!==i||t[8]!==a||t[9]!==c?(d=w.jsx("div",{...a,"data-slot":"panel-content","data-mode":i,className:c}),t[7]=i,t[8]=a,t[9]=c,t[10]=d):d=t[10],d}const ln=Object.assign(qee,{Topbar:Object.assign($ee,{Left:Oc("left","shrink overflow-hidden"),Center:Oc("center","flex-1 justify-center"),Right:Oc("right","shrink justify-end")}),Toolbar:Object.assign(Hee,{Scope:Vee,Left:Oc("toolbar-left","shrink"),Center:Oc("toolbar-center","flex-1 justify-center"),Right:Oc("toolbar-right","ml-auto shrink-0 justify-end")}),Content:Gee});function ht(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e?.(n),o===!1||!n.defaultPrevented)return t?.(n)}}function Wee(e,t){const o=A.createContext(t),a=i=>{const{children:l,...c}=i,d=A.useMemo(()=>c,Object.values(c));return w.jsx(o.Provider,{value:d,children:l})};a.displayName=e+"Provider";function n(i){const l=A.useContext(o);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[a,n]}function jl(e,t=[]){let o=[];function a(i,l){const c=A.createContext(l),d=o.length;o=[...o,l];const p=h=>{const{scope:f,children:v,...b}=h,S=f?.[e]?.[d]||c,k=A.useMemo(()=>b,Object.values(b));return w.jsx(S.Provider,{value:k,children:v})};p.displayName=i+"Provider";function m(h,f){const v=f?.[e]?.[d]||c,b=A.useContext(v);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[p,m]}const n=()=>{const i=o.map(l=>A.createContext(l));return function(c){const d=c?.[e]||i;return A.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return n.scopeName=e,[a,Kee(n,...t)]}function Kee(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const a=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(i){const l=a.reduce((c,{useScope:d,scopeName:p})=>{const h=d(i)[`__scope${p}`];return{...c,...h}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return o.scopeName=t.scopeName,o}var yr=globalThis?.document?A.useLayoutEffect:()=>{},Yee=TT[" useInsertionEffect ".trim().toString()]||yr;function em({prop:e,defaultProp:t,onChange:o=()=>{},caller:a}){const[n,i,l]=Zee({defaultProp:t,onChange:o}),c=e!==void 0,d=c?e:n;{const m=A.useRef(e!==void 0);A.useEffect(()=>{const h=m.current;h!==c&&console.warn(`${a} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,a])}const p=A.useCallback(m=>{if(c){const h=Qee(m)?m(e):m;h!==e&&l.current?.(h)}else i(m)},[c,e,i,l]);return[d,p]}function Zee({defaultProp:e,onChange:t}){const[o,a]=A.useState(e),n=A.useRef(o),i=A.useRef(t);return Yee(()=>{i.current=t},[t]),A.useEffect(()=>{n.current!==o&&(i.current?.(o),n.current=o)},[o,n]),[o,a,i]}function Qee(e){return typeof e=="function"}function Pp(e){const t=Jee(e),o=A.forwardRef((a,n)=>{const{children:i,...l}=a,c=A.Children.toArray(i),d=c.find(Xee);if(d){const p=d.props.children,m=c.map(h=>h===d?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:h);return w.jsx(t,{...l,ref:n,children:A.isValidElement(p)?A.cloneElement(p,void 0,m):null})}return w.jsx(t,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}function Jee(e){const t=A.forwardRef((o,a)=>{const{children:n,...i}=o;if(A.isValidElement(n)){const l=tte(n),c=ete(i,n.props);return n.type!==A.Fragment&&(c.ref=a?Xp(a,l):l),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qL=Symbol("radix.slottable");function dbe(e){const t=({children:o})=>w.jsx(w.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=qL,t}function Xee(e){return A.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qL}function ete(e,t){const o={...t};for(const a in t){const n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?o[a]=(...c)=>{const d=i(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...i}:a==="className"&&(o[a]=[n,i].filter(Boolean).join(" "))}return{...e,...o}}function tte(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var ote=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ro=ote.reduce((e,t)=>{const o=Pp(`Primitive.${t}`),a=A.forwardRef((n,i)=>{const{asChild:l,...c}=n,d=l?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(d,{...c,ref:i})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function $L(e,t){e&&$p.flushSync(()=>e.dispatchEvent(t))}function VL(e){const t=e+"CollectionProvider",[o,a]=jl(t),[n,i]=o(t,{collectionRef:{current:null},itemMap:new Map}),l=S=>{const{scope:k,children:x}=S,T=ee.useRef(null),P=ee.useRef(new Map).current;return w.jsx(n,{scope:k,itemMap:P,collectionRef:T,children:x})};l.displayName=t;const c=e+"CollectionSlot",d=Pp(c),p=ee.forwardRef((S,k)=>{const{scope:x,children:T}=S,P=i(c,x),C=sa(k,P.collectionRef);return w.jsx(d,{ref:C,children:T})});p.displayName=c;const m=e+"CollectionItemSlot",h="data-radix-collection-item",f=Pp(m),v=ee.forwardRef((S,k)=>{const{scope:x,children:T,...P}=S,C=ee.useRef(null),E=sa(k,C),R=i(m,x);return ee.useEffect(()=>(R.itemMap.set(C,{ref:C,...P}),()=>{R.itemMap.delete(C)})),w.jsx(f,{[h]:"",ref:E,children:T})});v.displayName=m;function b(S){const k=i(e+"CollectionConsumer",S);return ee.useCallback(()=>{const T=k.collectionRef.current;if(!T)return[];const P=Array.from(T.querySelectorAll(`[${h}]`));return Array.from(k.itemMap.values()).sort((R,D)=>P.indexOf(R.ref.current)-P.indexOf(D.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:l,Slot:p,ItemSlot:v},b,a]}var ate=A.createContext(void 0);function HL(e){const t=A.useContext(ate);return e||t||"ltr"}function Sr(e){const t=A.useRef(e);return A.useEffect(()=>{t.current=e}),A.useMemo(()=>(...o)=>t.current?.(...o),[])}function nte(e,t=globalThis?.document){const o=Sr(e);A.useEffect(()=>{const a=n=>{n.key==="Escape"&&o(n)};return t.addEventListener("keydown",a,{capture:!0}),()=>t.removeEventListener("keydown",a,{capture:!0})},[o,t])}var rte="DismissableLayer",cx="dismissableLayer.update",ite="dismissableLayer.pointerDownOutside",ste="dismissableLayer.focusOutside",CD,GL=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bk=A.forwardRef((e,t)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:l,onDismiss:c,...d}=e,p=A.useContext(GL),[m,h]=A.useState(null),f=m?.ownerDocument??globalThis?.document,[,v]=A.useState({}),b=sa(t,D=>h(D)),S=Array.from(p.layers),[k]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),x=S.indexOf(k),T=m?S.indexOf(m):-1,P=p.layersWithOutsidePointerEventsDisabled.size>0,C=T>=x,E=dte(D=>{const O=D.target,L=[...p.branches].some($=>$.contains(O));!C||L||(n?.(D),l?.(D),D.defaultPrevented||c?.())},f),R=ute(D=>{const O=D.target;[...p.branches].some($=>$.contains(O))||(i?.(D),l?.(D),D.defaultPrevented||c?.())},f);return nte(D=>{T===p.layers.size-1&&(a?.(D),!D.defaultPrevented&&c&&(D.preventDefault(),c()))},f),A.useEffect(()=>{if(m)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(CD=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),ED(),()=>{o&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=CD)}},[m,f,o,p]),A.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),ED())},[m,p]),A.useEffect(()=>{const D=()=>v({});return document.addEventListener(cx,D),()=>document.removeEventListener(cx,D)},[]),w.jsx(Ro.div,{...d,ref:b,style:{pointerEvents:P?C?"auto":"none":void 0,...e.style},onFocusCapture:ht(e.onFocusCapture,R.onFocusCapture),onBlurCapture:ht(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:ht(e.onPointerDownCapture,E.onPointerDownCapture)})});bk.displayName=rte;var lte="DismissableLayerBranch",cte=A.forwardRef((e,t)=>{const o=A.useContext(GL),a=A.useRef(null),n=sa(t,a);return A.useEffect(()=>{const i=a.current;if(i)return o.branches.add(i),()=>{o.branches.delete(i)}},[o.branches]),w.jsx(Ro.div,{...e,ref:n})});cte.displayName=lte;function dte(e,t=globalThis?.document){const o=Sr(e),a=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const i=c=>{if(c.target&&!a.current){let d=function(){WL(ite,o,p,{discrete:!0})};const p={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=d,t.addEventListener("click",n.current,{once:!0})):d()}else t.removeEventListener("click",n.current);a.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,o]),{onPointerDownCapture:()=>a.current=!0}}function ute(e,t=globalThis?.document){const o=Sr(e),a=A.useRef(!1);return A.useEffect(()=>{const n=i=>{i.target&&!a.current&&WL(ste,o,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,o]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function ED(){const e=new CustomEvent(cx);document.dispatchEvent(e)}function WL(e,t,o,{discrete:a}){const n=o.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});t&&n.addEventListener(e,t,{once:!0}),a?$L(n,i):n.dispatchEvent(i)}var sw=0;function KL(){A.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??PD()),document.body.insertAdjacentElement("beforeend",e[1]??PD()),sw++,()=>{sw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),sw--}},[])}function PD(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var lw="focusScope.autoFocusOnMount",cw="focusScope.autoFocusOnUnmount",AD={bubbles:!1,cancelable:!0},pte="FocusScope",yk=A.forwardRef((e,t)=>{const{loop:o=!1,trapped:a=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...l}=e,[c,d]=A.useState(null),p=Sr(n),m=Sr(i),h=A.useRef(null),f=sa(t,S=>d(S)),v=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(a){let S=function(P){if(v.paused||!c)return;const C=P.target;c.contains(C)?h.current=C:vs(h.current,{select:!0})},k=function(P){if(v.paused||!c)return;const C=P.relatedTarget;C!==null&&(c.contains(C)||vs(h.current,{select:!0}))},x=function(P){if(document.activeElement===document.body)for(const E of P)E.removedNodes.length>0&&vs(c)};document.addEventListener("focusin",S),document.addEventListener("focusout",k);const T=new MutationObserver(x);return c&&T.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k),T.disconnect()}}},[a,c,v.paused]),A.useEffect(()=>{if(c){DD.add(v);const S=document.activeElement;if(!c.contains(S)){const x=new CustomEvent(lw,AD);c.addEventListener(lw,p),c.dispatchEvent(x),x.defaultPrevented||(mte(bte(YL(c)),{select:!0}),document.activeElement===S&&vs(c))}return()=>{c.removeEventListener(lw,p),setTimeout(()=>{const x=new CustomEvent(cw,AD);c.addEventListener(cw,m),c.dispatchEvent(x),x.defaultPrevented||vs(S??document.body,{select:!0}),c.removeEventListener(cw,m),DD.remove(v)},0)}}},[c,p,m,v]);const b=A.useCallback(S=>{if(!o&&!a||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,x=document.activeElement;if(k&&x){const T=S.currentTarget,[P,C]=hte(T);P&&C?!S.shiftKey&&x===C?(S.preventDefault(),o&&vs(P,{select:!0})):S.shiftKey&&x===P&&(S.preventDefault(),o&&vs(C,{select:!0})):x===T&&S.preventDefault()}},[o,a,v.paused]);return w.jsx(Ro.div,{tabIndex:-1,...l,ref:f,onKeyDown:b})});yk.displayName=pte;function mte(e,{select:t=!1}={}){const o=document.activeElement;for(const a of e)if(vs(a,{select:t}),document.activeElement!==o)return}function hte(e){const t=YL(e),o=RD(t,e),a=RD(t.reverse(),e);return[o,a]}function YL(e){const t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const n=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||n?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)t.push(o.currentNode);return t}function RD(e,t){for(const o of e)if(!gte(o,{upTo:t}))return o}function gte(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function fte(e){return e instanceof HTMLInputElement&&"select"in e}function vs(e,{select:t=!1}={}){if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&fte(e)&&t&&e.select()}}var DD=vte();function vte(){let e=[];return{add(t){const o=e[0];t!==o&&o?.pause(),e=OD(e,t),e.unshift(t)},remove(t){e=OD(e,t),e[0]?.resume()}}}function OD(e,t){const o=[...e],a=o.indexOf(t);return a!==-1&&o.splice(a,1),o}function bte(e){return e.filter(t=>t.tagName!=="A")}var yte=TT[" useId ".trim().toString()]||(()=>{}),Ste=0;function As(e){const[t,o]=A.useState(yte());return yr(()=>{o(a=>a??String(Ste++))},[e]),t?`radix-${t}`:""}const ZL=["top","right","bottom","left"],MD=["start","end"],ND=ZL.reduce((e,t)=>e.concat(t,t+"-"+MD[0],t+"-"+MD[1]),[]),wr=Math.min,Na=Math.max,Nf=Math.round,Cg=Math.floor,Vr=e=>({x:e,y:e}),wte={left:"right",right:"left",bottom:"top",top:"bottom"};function dx(e,t,o){return Na(e,wr(t,o))}function xr(e,t){return typeof e=="function"?e(t):e}function On(e){return e.split("-")[0]}function vr(e){return e.split("-")[1]}function Sk(e){return e==="x"?"y":"x"}function wk(e){return e==="y"?"height":"width"}function fr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function xk(e){return Sk(fr(e))}function QL(e,t,o){o===void 0&&(o=!1);const a=vr(e),n=xk(e),i=wk(n);let l=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Lf(l)),[l,Lf(l)]}function xte(e){const t=Lf(e);return[If(e),t,If(t)]}function If(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ID=["left","right"],LD=["right","left"],Tte=["top","bottom"],kte=["bottom","top"];function _te(e,t,o){switch(e){case"top":case"bottom":return o?t?LD:ID:t?ID:LD;case"left":case"right":return t?Tte:kte;default:return[]}}function Cte(e,t,o,a){const n=vr(e);let i=_te(On(e),o==="start",a);return n&&(i=i.map(l=>l+"-"+n),t&&(i=i.concat(i.map(If)))),i}function Lf(e){const t=On(e);return wte[t]+e.slice(t.length)}function Ete(e){return{top:0,right:0,bottom:0,left:0,...e}}function Tk(e){return typeof e!="number"?Ete(e):{top:e,right:e,bottom:e,left:e}}function wd(e){const{x:t,y:o,width:a,height:n}=e;return{width:a,height:n,top:o,left:t,right:t+a,bottom:o+n,x:t,y:o}}function BD(e,t,o){let{reference:a,floating:n}=e;const i=fr(t),l=xk(t),c=wk(l),d=On(t),p=i==="y",m=a.x+a.width/2-n.width/2,h=a.y+a.height/2-n.height/2,f=a[c]/2-n[c]/2;let v;switch(d){case"top":v={x:m,y:a.y-n.height};break;case"bottom":v={x:m,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:h};break;case"left":v={x:a.x-n.width,y:h};break;default:v={x:a.x,y:a.y}}switch(vr(t)){case"start":v[l]-=f*(o&&p?-1:1);break;case"end":v[l]+=f*(o&&p?-1:1);break}return v}async function Pte(e,t){var o;t===void 0&&(t={});const{x:a,y:n,platform:i,rects:l,elements:c,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:f=!1,padding:v=0}=xr(t,e),b=Tk(v),k=c[f?h==="floating"?"reference":"floating":h],x=wd(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(k)))==null||o?k:k.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:p,rootBoundary:m,strategy:d})),T=h==="floating"?{x:a,y:n,width:l.floating.width,height:l.floating.height}:l.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},E=wd(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:T,offsetParent:P,strategy:d}):T);return{top:(x.top-E.top+b.top)/C.y,bottom:(E.bottom-x.bottom+b.bottom)/C.y,left:(x.left-E.left+b.left)/C.x,right:(E.right-x.right+b.right)/C.x}}const Ate=50,Rte=async(e,t,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:i=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:Pte},d=await(l.isRTL==null?void 0:l.isRTL(t));let p=await l.getElementRects({reference:e,floating:t,strategy:n}),{x:m,y:h}=BD(p,a,d),f=a,v=0;const b={};for(let S=0;S<i.length;S++){const k=i[S];if(!k)continue;const{name:x,fn:T}=k,{x:P,y:C,data:E,reset:R}=await T({x:m,y:h,initialPlacement:a,placement:f,strategy:n,middlewareData:b,rects:p,platform:c,elements:{reference:e,floating:t}});m=P??m,h=C??h,b[x]={...b[x],...E},R&&v<Ate&&(v++,typeof R=="object"&&(R.placement&&(f=R.placement),R.rects&&(p=R.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:n}):R.rects),{x:m,y:h}=BD(p,f,d)),S=-1)}return{x:m,y:h,placement:f,strategy:n,middlewareData:b}},Dte=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:a,placement:n,rects:i,platform:l,elements:c,middlewareData:d}=t,{element:p,padding:m=0}=xr(e,t)||{};if(p==null)return{};const h=Tk(m),f={x:o,y:a},v=xk(n),b=wk(v),S=await l.getDimensions(p),k=v==="y",x=k?"top":"left",T=k?"bottom":"right",P=k?"clientHeight":"clientWidth",C=i.reference[b]+i.reference[v]-f[v]-i.floating[b],E=f[v]-i.reference[v],R=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p));let D=R?R[P]:0;(!D||!await(l.isElement==null?void 0:l.isElement(R)))&&(D=c.floating[P]||i.floating[b]);const O=C/2-E/2,L=D/2-S[b]/2-1,$=wr(h[x],L),B=wr(h[T],L),U=$,F=D-S[b]-B,W=D/2-S[b]/2+O,ae=dx(U,W,F),H=!d.arrow&&vr(n)!=null&&W!==ae&&i.reference[b]/2-(W<U?$:B)-S[b]/2<0,K=H?W<U?W-U:W-F:0;return{[v]:f[v]+K,data:{[v]:ae,centerOffset:W-ae-K,...H&&{alignmentOffset:K}},reset:H}}});function Ote(e,t,o){return(e?[...o.filter(n=>vr(n)===e),...o.filter(n=>vr(n)!==e)]:o.filter(n=>On(n)===n)).filter(n=>e?vr(n)===e||(t?If(n)!==n:!1):!0)}const Mte=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,a,n;const{rects:i,middlewareData:l,placement:c,platform:d,elements:p}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:f=ND,autoAlignment:v=!0,...b}=xr(e,t),S=h!==void 0||f===ND?Ote(h||null,v,f):f,k=await d.detectOverflow(t,b),x=((o=l.autoPlacement)==null?void 0:o.index)||0,T=S[x];if(T==null)return{};const P=QL(T,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==T)return{reset:{placement:S[0]}};const C=[k[On(T)],k[P[0]],k[P[1]]],E=[...((a=l.autoPlacement)==null?void 0:a.overflows)||[],{placement:T,overflows:C}],R=S[x+1];if(R)return{data:{index:x+1,overflows:E},reset:{placement:R}};const D=E.map($=>{const B=vr($.placement);return[$.placement,B&&m?$.overflows.slice(0,2).reduce((U,F)=>U+F,0):$.overflows[0],$.overflows]}).sort(($,B)=>$[1]-B[1]),L=((n=D.filter($=>$[2].slice(0,vr($[0])?2:3).every(B=>B<=0))[0])==null?void 0:n[0])||D[0][0];return L!==c?{data:{index:x+1,overflows:E},reset:{placement:L}}:{}}}},Nte=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,a;const{placement:n,middlewareData:i,rects:l,initialPlacement:c,platform:d,elements:p}=t,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...k}=xr(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};const x=On(n),T=fr(c),P=On(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),E=f||(P||!S?[Lf(c)]:xte(c)),R=b!=="none";!f&&R&&E.push(...Cte(c,S,b,C));const D=[c,...E],O=await d.detectOverflow(t,k),L=[];let $=((a=i.flip)==null?void 0:a.overflows)||[];if(m&&L.push(O[x]),h){const W=QL(n,l,C);L.push(O[W[0]],O[W[1]])}if($=[...$,{placement:n,overflows:L}],!L.every(W=>W<=0)){var B,U;const W=(((B=i.flip)==null?void 0:B.index)||0)+1,ae=D[W];if(ae&&(!(h==="alignment"?T!==fr(ae):!1)||$.every(J=>fr(J.placement)===T?J.overflows[0]>0:!0)))return{data:{index:W,overflows:$},reset:{placement:ae}};let H=(U=$.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:U.placement;if(!H)switch(v){case"bestFit":{var F;const K=(F=$.filter(J=>{if(R){const le=fr(J.placement);return le===T||le==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(le=>le>0).reduce((le,Q)=>le+Q,0)]).sort((J,le)=>J[1]-le[1])[0])==null?void 0:F[0];K&&(H=K);break}case"initialPlacement":H=c;break}if(n!==H)return{reset:{placement:H}}}return{}}}};function FD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function jD(e){return ZL.some(t=>e[t]>=0)}const Ite=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:o,platform:a}=t,{strategy:n="referenceHidden",...i}=xr(e,t);switch(n){case"referenceHidden":{const l=await a.detectOverflow(t,{...i,elementContext:"reference"}),c=FD(l,o.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:jD(c)}}}case"escaped":{const l=await a.detectOverflow(t,{...i,altBoundary:!0}),c=FD(l,o.floating);return{data:{escapedOffsets:c,escaped:jD(c)}}}default:return{}}}}};function JL(e){const t=wr(...e.map(i=>i.left)),o=wr(...e.map(i=>i.top)),a=Na(...e.map(i=>i.right)),n=Na(...e.map(i=>i.bottom));return{x:t,y:o,width:a-t,height:n-o}}function Lte(e){const t=e.slice().sort((n,i)=>n.y-i.y),o=[];let a=null;for(let n=0;n<t.length;n++){const i=t[n];!a||i.y-a.y>a.height/2?o.push([i]):o[o.length-1].push(i),a=i}return o.map(n=>wd(JL(n)))}const Bte=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:o,elements:a,rects:n,platform:i,strategy:l}=t,{padding:c=2,x:d,y:p}=xr(e,t),m=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(a.reference))||[]),h=Lte(m),f=wd(JL(m)),v=Tk(c);function b(){if(h.length===2&&h[0].left>h[1].right&&d!=null&&p!=null)return h.find(k=>d>k.left-v.left&&d<k.right+v.right&&p>k.top-v.top&&p<k.bottom+v.bottom)||f;if(h.length>=2){if(fr(o)==="y"){const $=h[0],B=h[h.length-1],U=On(o)==="top",F=$.top,W=B.bottom,ae=U?$.left:B.left,H=U?$.right:B.right,K=H-ae,J=W-F;return{top:F,bottom:W,left:ae,right:H,width:K,height:J,x:ae,y:F}}const k=On(o)==="left",x=Na(...h.map($=>$.right)),T=wr(...h.map($=>$.left)),P=h.filter($=>k?$.left===T:$.right===x),C=P[0].top,E=P[P.length-1].bottom,R=T,D=x,O=D-R,L=E-C;return{top:C,bottom:E,left:R,right:D,width:O,height:L,x:R,y:C}}return f}const S=await i.getElementRects({reference:{getBoundingClientRect:b},floating:a.floating,strategy:l});return n.reference.x!==S.reference.x||n.reference.y!==S.reference.y||n.reference.width!==S.reference.width||n.reference.height!==S.reference.height?{reset:{rects:S}}:{}}}},XL=new Set(["left","top"]);async function Fte(e,t){const{placement:o,platform:a,elements:n}=e,i=await(a.isRTL==null?void 0:a.isRTL(n.floating)),l=On(o),c=vr(o),d=fr(o)==="y",p=XL.has(l)?-1:1,m=i&&d?-1:1,h=xr(t,e);let{mainAxis:f,crossAxis:v,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof b=="number"&&(v=c==="end"?b*-1:b),d?{x:v*m,y:f*p}:{x:f*p,y:v*m}}const jte=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,a;const{x:n,y:i,placement:l,middlewareData:c}=t,d=await Fte(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(a=c.arrow)!=null&&a.alignmentOffset?{}:{x:n+d.x,y:i+d.y,data:{...d,placement:l}}}}},zte=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:a,placement:n,platform:i}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:d={fn:x=>{let{x:T,y:P}=x;return{x:T,y:P}}},...p}=xr(e,t),m={x:o,y:a},h=await i.detectOverflow(t,p),f=fr(On(n)),v=Sk(f);let b=m[v],S=m[f];if(l){const x=v==="y"?"top":"left",T=v==="y"?"bottom":"right",P=b+h[x],C=b-h[T];b=dx(P,b,C)}if(c){const x=f==="y"?"top":"left",T=f==="y"?"bottom":"right",P=S+h[x],C=S-h[T];S=dx(P,S,C)}const k=d.fn({...t,[v]:b,[f]:S});return{...k,data:{x:k.x-o,y:k.y-a,enabled:{[v]:l,[f]:c}}}}}},Ute=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:o,y:a,placement:n,rects:i,middlewareData:l}=t,{offset:c=0,mainAxis:d=!0,crossAxis:p=!0}=xr(e,t),m={x:o,y:a},h=fr(n),f=Sk(h);let v=m[f],b=m[h];const S=xr(c,t),k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(d){const P=f==="y"?"height":"width",C=i.reference[f]-i.floating[P]+k.mainAxis,E=i.reference[f]+i.reference[P]-k.mainAxis;v<C?v=C:v>E&&(v=E)}if(p){var x,T;const P=f==="y"?"width":"height",C=XL.has(On(n)),E=i.reference[h]-i.floating[P]+(C&&((x=l.offset)==null?void 0:x[h])||0)+(C?0:k.crossAxis),R=i.reference[h]+i.reference[P]+(C?0:((T=l.offset)==null?void 0:T[h])||0)-(C?k.crossAxis:0);b<E?b=E:b>R&&(b=R)}return{[f]:v,[h]:b}}}},qte=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,a;const{placement:n,rects:i,platform:l,elements:c}=t,{apply:d=()=>{},...p}=xr(e,t),m=await l.detectOverflow(t,p),h=On(n),f=vr(n),v=fr(n)==="y",{width:b,height:S}=i.floating;let k,x;h==="top"||h==="bottom"?(k=h,x=f===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(x=h,k=f==="end"?"top":"bottom");const T=S-m.top-m.bottom,P=b-m.left-m.right,C=wr(S-m[k],T),E=wr(b-m[x],P),R=!t.middlewareData.shift;let D=C,O=E;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(O=P),(a=t.middlewareData.shift)!=null&&a.enabled.y&&(D=T),R&&!f){const $=Na(m.left,0),B=Na(m.right,0),U=Na(m.top,0),F=Na(m.bottom,0);v?O=b-2*($!==0||B!==0?$+B:Na(m.left,m.right)):D=S-2*(U!==0||F!==0?U+F:Na(m.top,m.bottom))}await d({...t,availableWidth:O,availableHeight:D});const L=await l.getDimensions(c.floating);return b!==L.width||S!==L.height?{reset:{rects:!0}}:{}}}};function Lv(){return typeof window<"u"}function Ld(e){return eB(e)?(e.nodeName||"").toLowerCase():"#document"}function Rn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gr(e){var t;return(t=(eB(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function eB(e){return Lv()?e instanceof Node||e instanceof Rn(e).Node:!1}function Tr(e){return Lv()?e instanceof Element||e instanceof Rn(e).Element:!1}function Oi(e){return Lv()?e instanceof HTMLElement||e instanceof Rn(e).HTMLElement:!1}function zD(e){return!Lv()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rn(e).ShadowRoot}function tm(e){const{overflow:t,overflowX:o,overflowY:a,display:n}=kr(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+o)&&n!=="inline"&&n!=="contents"}function $te(e){return/^(table|td|th)$/.test(Ld(e))}function Bv(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Vte=/transform|translate|scale|rotate|perspective|filter/,Hte=/paint|layout|strict|content/,ul=e=>!!e&&e!=="none";let dw;function kk(e){const t=Tr(e)?kr(e):e;return ul(t.transform)||ul(t.translate)||ul(t.scale)||ul(t.rotate)||ul(t.perspective)||!_k()&&(ul(t.backdropFilter)||ul(t.filter))||Vte.test(t.willChange||"")||Hte.test(t.contain||"")}function Gte(e){let t=Ns(e);for(;Oi(t)&&!xd(t);){if(kk(t))return t;if(Bv(t))return null;t=Ns(t)}return null}function _k(){return dw==null&&(dw=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),dw}function xd(e){return/^(html|body|#document)$/.test(Ld(e))}function kr(e){return Rn(e).getComputedStyle(e)}function Fv(e){return Tr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ns(e){if(Ld(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zD(e)&&e.host||Gr(e);return zD(t)?t.host:t}function tB(e){const t=Ns(e);return xd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Oi(t)&&tm(t)?t:tB(t)}function Ap(e,t,o){var a;t===void 0&&(t=[]),o===void 0&&(o=!0);const n=tB(e),i=n===((a=e.ownerDocument)==null?void 0:a.body),l=Rn(n);if(i){const c=ux(l);return t.concat(l,l.visualViewport||[],tm(n)?n:[],c&&o?Ap(c):[])}else return t.concat(n,Ap(n,[],o))}function ux(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function oB(e){const t=kr(e);let o=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const n=Oi(e),i=n?e.offsetWidth:o,l=n?e.offsetHeight:a,c=Nf(o)!==i||Nf(a)!==l;return c&&(o=i,a=l),{width:o,height:a,$:c}}function Ck(e){return Tr(e)?e:e.contextElement}function id(e){const t=Ck(e);if(!Oi(t))return Vr(1);const o=t.getBoundingClientRect(),{width:a,height:n,$:i}=oB(t);let l=(i?Nf(o.width):o.width)/a,c=(i?Nf(o.height):o.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const Wte=Vr(0);function aB(e){const t=Rn(e);return!_k()||!t.visualViewport?Wte:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Kte(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Rn(e)?!1:t}function Rl(e,t,o,a){t===void 0&&(t=!1),o===void 0&&(o=!1);const n=e.getBoundingClientRect(),i=Ck(e);let l=Vr(1);t&&(a?Tr(a)&&(l=id(a)):l=id(e));const c=Kte(i,o,a)?aB(i):Vr(0);let d=(n.left+c.x)/l.x,p=(n.top+c.y)/l.y,m=n.width/l.x,h=n.height/l.y;if(i){const f=Rn(i),v=a&&Tr(a)?Rn(a):a;let b=f,S=ux(b);for(;S&&a&&v!==b;){const k=id(S),x=S.getBoundingClientRect(),T=kr(S),P=x.left+(S.clientLeft+parseFloat(T.paddingLeft))*k.x,C=x.top+(S.clientTop+parseFloat(T.paddingTop))*k.y;d*=k.x,p*=k.y,m*=k.x,h*=k.y,d+=P,p+=C,b=Rn(S),S=ux(b)}}return wd({width:m,height:h,x:d,y:p})}function jv(e,t){const o=Fv(e).scrollLeft;return t?t.left+o:Rl(Gr(e)).left+o}function nB(e,t){const o=e.getBoundingClientRect(),a=o.left+t.scrollLeft-jv(e,o),n=o.top+t.scrollTop;return{x:a,y:n}}function Yte(e){let{elements:t,rect:o,offsetParent:a,strategy:n}=e;const i=n==="fixed",l=Gr(a),c=t?Bv(t.floating):!1;if(a===l||c&&i)return o;let d={scrollLeft:0,scrollTop:0},p=Vr(1);const m=Vr(0),h=Oi(a);if((h||!h&&!i)&&((Ld(a)!=="body"||tm(l))&&(d=Fv(a)),h)){const v=Rl(a);p=id(a),m.x=v.x+a.clientLeft,m.y=v.y+a.clientTop}const f=l&&!h&&!i?nB(l,d):Vr(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+m.x+f.x,y:o.y*p.y-d.scrollTop*p.y+m.y+f.y}}function Zte(e){return Array.from(e.getClientRects())}function Qte(e){const t=Gr(e),o=Fv(e),a=e.ownerDocument.body,n=Na(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),i=Na(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let l=-o.scrollLeft+jv(e);const c=-o.scrollTop;return kr(a).direction==="rtl"&&(l+=Na(t.clientWidth,a.clientWidth)-n),{width:n,height:i,x:l,y:c}}const UD=25;function Jte(e,t){const o=Rn(e),a=Gr(e),n=o.visualViewport;let i=a.clientWidth,l=a.clientHeight,c=0,d=0;if(n){i=n.width,l=n.height;const m=_k();(!m||m&&t==="fixed")&&(c=n.offsetLeft,d=n.offsetTop)}const p=jv(a);if(p<=0){const m=a.ownerDocument,h=m.body,f=getComputedStyle(h),v=m.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(a.clientWidth-h.clientWidth-v);b<=UD&&(i-=b)}else p<=UD&&(i+=p);return{width:i,height:l,x:c,y:d}}function Xte(e,t){const o=Rl(e,!0,t==="fixed"),a=o.top+e.clientTop,n=o.left+e.clientLeft,i=Oi(e)?id(e):Vr(1),l=e.clientWidth*i.x,c=e.clientHeight*i.y,d=n*i.x,p=a*i.y;return{width:l,height:c,x:d,y:p}}function qD(e,t,o){let a;if(t==="viewport")a=Jte(e,o);else if(t==="document")a=Qte(Gr(e));else if(Tr(t))a=Xte(t,o);else{const n=aB(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return wd(a)}function rB(e,t){const o=Ns(e);return o===t||!Tr(o)||xd(o)?!1:kr(o).position==="fixed"||rB(o,t)}function eoe(e,t){const o=t.get(e);if(o)return o;let a=Ap(e,[],!1).filter(c=>Tr(c)&&Ld(c)!=="body"),n=null;const i=kr(e).position==="fixed";let l=i?Ns(e):e;for(;Tr(l)&&!xd(l);){const c=kr(l),d=kk(l);!d&&c.position==="fixed"&&(n=null),(i?!d&&!n:!d&&c.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||tm(l)&&!d&&rB(e,l))?a=a.filter(m=>m!==l):n=c,l=Ns(l)}return t.set(e,a),a}function toe(e){let{element:t,boundary:o,rootBoundary:a,strategy:n}=e;const l=[...o==="clippingAncestors"?Bv(t)?[]:eoe(t,this._c):[].concat(o),a],c=qD(t,l[0],n);let d=c.top,p=c.right,m=c.bottom,h=c.left;for(let f=1;f<l.length;f++){const v=qD(t,l[f],n);d=Na(v.top,d),p=wr(v.right,p),m=wr(v.bottom,m),h=Na(v.left,h)}return{width:p-h,height:m-d,x:h,y:d}}function ooe(e){const{width:t,height:o}=oB(e);return{width:t,height:o}}function aoe(e,t,o){const a=Oi(t),n=Gr(t),i=o==="fixed",l=Rl(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=Vr(0);function p(){d.x=jv(n)}if(a||!a&&!i)if((Ld(t)!=="body"||tm(n))&&(c=Fv(t)),a){const v=Rl(t,!0,i,t);d.x=v.x+t.clientLeft,d.y=v.y+t.clientTop}else n&&p();i&&!a&&n&&p();const m=n&&!a&&!i?nB(n,c):Vr(0),h=l.left+c.scrollLeft-d.x-m.x,f=l.top+c.scrollTop-d.y-m.y;return{x:h,y:f,width:l.width,height:l.height}}function uw(e){return kr(e).position==="static"}function $D(e,t){if(!Oi(e)||kr(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Gr(e)===o&&(o=o.ownerDocument.body),o}function iB(e,t){const o=Rn(e);if(Bv(e))return o;if(!Oi(e)){let n=Ns(e);for(;n&&!xd(n);){if(Tr(n)&&!uw(n))return n;n=Ns(n)}return o}let a=$D(e,t);for(;a&&$te(a)&&uw(a);)a=$D(a,t);return a&&xd(a)&&uw(a)&&!kk(a)?o:a||Gte(e)||o}const noe=async function(e){const t=this.getOffsetParent||iB,o=this.getDimensions,a=await o(e.floating);return{reference:aoe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function roe(e){return kr(e).direction==="rtl"}const ioe={convertOffsetParentRelativeRectToViewportRelativeRect:Yte,getDocumentElement:Gr,getClippingRect:toe,getOffsetParent:iB,getElementRects:noe,getClientRects:Zte,getDimensions:ooe,getScale:id,isElement:Tr,isRTL:roe};function sB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function soe(e,t){let o=null,a;const n=Gr(e);function i(){var c;clearTimeout(a),(c=o)==null||c.disconnect(),o=null}function l(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const p=e.getBoundingClientRect(),{left:m,top:h,width:f,height:v}=p;if(c||t(),!f||!v)return;const b=Cg(h),S=Cg(n.clientWidth-(m+f)),k=Cg(n.clientHeight-(h+v)),x=Cg(m),P={rootMargin:-b+"px "+-S+"px "+-k+"px "+-x+"px",threshold:Na(0,wr(1,d))||1};let C=!0;function E(R){const D=R[0].intersectionRatio;if(D!==d){if(!C)return l();D?l(!1,D):a=setTimeout(()=>{l(!1,1e-7)},1e3)}D===1&&!sB(p,e.getBoundingClientRect())&&l(),C=!1}try{o=new IntersectionObserver(E,{...P,root:n.ownerDocument})}catch{o=new IntersectionObserver(E,P)}o.observe(e)}return l(!0),i}function loe(e,t,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=a,p=Ck(e),m=n||i?[...p?Ap(p):[],...t?Ap(t):[]]:[];m.forEach(x=>{n&&x.addEventListener("scroll",o,{passive:!0}),i&&x.addEventListener("resize",o)});const h=p&&c?soe(p,o):null;let f=-1,v=null;l&&(v=new ResizeObserver(x=>{let[T]=x;T&&T.target===p&&v&&t&&(v.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var P;(P=v)==null||P.observe(t)})),o()}),p&&!d&&v.observe(p),t&&v.observe(t));let b,S=d?Rl(e):null;d&&k();function k(){const x=Rl(e);S&&!sB(S,x)&&o(),S=x,b=requestAnimationFrame(k)}return o(),()=>{var x;m.forEach(T=>{n&&T.removeEventListener("scroll",o),i&&T.removeEventListener("resize",o)}),h?.(),(x=v)==null||x.disconnect(),v=null,d&&cancelAnimationFrame(b)}}const coe=jte,ube=Mte,doe=zte,uoe=Nte,poe=qte,moe=Ite,VD=Dte,pbe=Bte,hoe=Ute,goe=(e,t,o)=>{const a=new Map,n={platform:ioe,...o},i={...n.platform,_c:a};return Rte(e,t,{...n,platform:i})};var foe=typeof document<"u",voe=function(){},ef=foe?A.useLayoutEffect:voe;function Bf(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let o,a,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==t.length)return!1;for(a=o;a--!==0;)if(!Bf(e[a],t[a]))return!1;return!0}if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(a=o;a--!==0;)if(!{}.hasOwnProperty.call(t,n[a]))return!1;for(a=o;a--!==0;){const i=n[a];if(!(i==="_owner"&&e.$$typeof)&&!Bf(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function lB(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function HD(e,t){const o=lB(e);return Math.round(t*o)/o}function pw(e){const t=A.useRef(e);return ef(()=>{t.current=e}),t}function boe(e){e===void 0&&(e={});const{placement:t="bottom",strategy:o="absolute",middleware:a=[],platform:n,elements:{reference:i,floating:l}={},transform:c=!0,whileElementsMounted:d,open:p}=e,[m,h]=A.useState({x:0,y:0,strategy:o,placement:t,middlewareData:{},isPositioned:!1}),[f,v]=A.useState(a);Bf(f,a)||v(a);const[b,S]=A.useState(null),[k,x]=A.useState(null),T=A.useCallback(J=>{J!==R.current&&(R.current=J,S(J))},[]),P=A.useCallback(J=>{J!==D.current&&(D.current=J,x(J))},[]),C=i||b,E=l||k,R=A.useRef(null),D=A.useRef(null),O=A.useRef(m),L=d!=null,$=pw(d),B=pw(n),U=pw(p),F=A.useCallback(()=>{if(!R.current||!D.current)return;const J={placement:t,strategy:o,middleware:f};B.current&&(J.platform=B.current),goe(R.current,D.current,J).then(le=>{const Q={...le,isPositioned:U.current!==!1};W.current&&!Bf(O.current,Q)&&(O.current=Q,$p.flushSync(()=>{h(Q)}))})},[f,t,o,B,U]);ef(()=>{p===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,h(J=>({...J,isPositioned:!1})))},[p]);const W=A.useRef(!1);ef(()=>(W.current=!0,()=>{W.current=!1}),[]),ef(()=>{if(C&&(R.current=C),E&&(D.current=E),C&&E){if($.current)return $.current(C,E,F);F()}},[C,E,F,$,L]);const ae=A.useMemo(()=>({reference:R,floating:D,setReference:T,setFloating:P}),[T,P]),H=A.useMemo(()=>({reference:C,floating:E}),[C,E]),K=A.useMemo(()=>{const J={position:o,left:0,top:0};if(!H.floating)return J;const le=HD(H.floating,m.x),Q=HD(H.floating,m.y);return c?{...J,transform:"translate("+le+"px, "+Q+"px)",...lB(H.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:le,top:Q}},[o,c,H.floating,m.x,m.y]);return A.useMemo(()=>({...m,update:F,refs:ae,elements:H,floatingStyles:K}),[m,F,ae,H,K])}const yoe=e=>{function t(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){const{element:a,padding:n}=typeof e=="function"?e(o):e;return a&&t(a)?a.current!=null?VD({element:a.current,padding:n}).fn(o):{}:a?VD({element:a,padding:n}).fn(o):{}}}},Soe=(e,t)=>{const o=coe(e);return{name:o.name,fn:o.fn,options:[e,t]}},woe=(e,t)=>{const o=doe(e);return{name:o.name,fn:o.fn,options:[e,t]}},xoe=(e,t)=>({fn:hoe(e).fn,options:[e,t]}),Toe=(e,t)=>{const o=uoe(e);return{name:o.name,fn:o.fn,options:[e,t]}},koe=(e,t)=>{const o=poe(e);return{name:o.name,fn:o.fn,options:[e,t]}},_oe=(e,t)=>{const o=moe(e);return{name:o.name,fn:o.fn,options:[e,t]}},Coe=(e,t)=>{const o=yoe(e);return{name:o.name,fn:o.fn,options:[e,t]}};var Eoe="Arrow",cB=A.forwardRef((e,t)=>{const{children:o,width:a=10,height:n=5,...i}=e;return w.jsx(Ro.svg,{...i,ref:t,width:a,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});cB.displayName=Eoe;var Poe=cB;function dB(e){const[t,o]=A.useState(void 0);return yr(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});const a=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let l,c;if("borderBoxSize"in i){const d=i.borderBoxSize,p=Array.isArray(d)?d[0]:d;l=p.inlineSize,c=p.blockSize}else l=e.offsetWidth,c=e.offsetHeight;o({width:l,height:c})});return a.observe(e,{box:"border-box"}),()=>a.unobserve(e)}else o(void 0)},[e]),t}var Ek="Popper",[uB,pB]=jl(Ek),[Aoe,mB]=uB(Ek),hB=e=>{const{__scopePopper:t,children:o}=e,[a,n]=A.useState(null);return w.jsx(Aoe,{scope:t,anchor:a,onAnchorChange:n,children:o})};hB.displayName=Ek;var gB="PopperAnchor",fB=A.forwardRef((e,t)=>{const{__scopePopper:o,virtualRef:a,...n}=e,i=mB(gB,o),l=A.useRef(null),c=sa(t,l),d=A.useRef(null);return A.useEffect(()=>{const p=d.current;d.current=a?.current||l.current,p!==d.current&&i.onAnchorChange(d.current)}),a?null:w.jsx(Ro.div,{...n,ref:c})});fB.displayName=gB;var Pk="PopperContent",[Roe,Doe]=uB(Pk),vB=A.forwardRef((e,t)=>{const{__scopePopper:o,side:a="bottom",sideOffset:n=0,align:i="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:p=[],collisionPadding:m=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:v="optimized",onPlaced:b,...S}=e,k=mB(Pk,o),[x,T]=A.useState(null),P=sa(t,pe=>T(pe)),[C,E]=A.useState(null),R=dB(C),D=R?.width??0,O=R?.height??0,L=a+(i!=="center"?"-"+i:""),$=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(p)?p:[p],U=B.length>0,F={padding:$,boundary:B.filter(Moe),altBoundary:U},{refs:W,floatingStyles:ae,placement:H,isPositioned:K,middlewareData:J}=boe({strategy:"fixed",placement:L,whileElementsMounted:(...pe)=>loe(...pe,{animationFrame:v==="always"}),elements:{reference:k.anchor},middleware:[Soe({mainAxis:n+O,alignmentAxis:l}),d&&woe({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?xoe():void 0,...F}),d&&Toe({...F}),koe({...F,apply:({elements:pe,rects:he,availableWidth:ke,availableHeight:qe})=>{const{width:Z,height:ne}=he.reference,ve=pe.floating.style;ve.setProperty("--radix-popper-available-width",`${ke}px`),ve.setProperty("--radix-popper-available-height",`${qe}px`),ve.setProperty("--radix-popper-anchor-width",`${Z}px`),ve.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),C&&Coe({element:C,padding:c}),Noe({arrowWidth:D,arrowHeight:O}),f&&_oe({strategy:"referenceHidden",...F})]}),[le,Q]=SB(H),N=Sr(b);yr(()=>{K&&N?.()},[K,N]);const G=J.arrow?.x,V=J.arrow?.y,I=J.arrow?.centerOffset!==0,[z,X]=A.useState();return yr(()=>{x&&X(window.getComputedStyle(x).zIndex)},[x]),w.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...ae,transform:K?ae.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(Roe,{scope:o,placedSide:le,onArrowChange:E,arrowX:G,arrowY:V,shouldHideArrow:I,children:w.jsx(Ro.div,{"data-side":le,"data-align":Q,...S,ref:P,style:{...S.style,animation:K?void 0:"none"}})})})});vB.displayName=Pk;var bB="PopperArrow",Ooe={top:"bottom",right:"left",bottom:"top",left:"right"},yB=A.forwardRef(function(t,o){const{__scopePopper:a,...n}=t,i=Doe(bB,a),l=Ooe[i.placedSide];return w.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:w.jsx(Poe,{...n,ref:o,style:{...n.style,display:"block"}})})});yB.displayName=bB;function Moe(e){return e!==null}var Noe=e=>({name:"transformOrigin",options:e,fn(t){const{placement:o,rects:a,middlewareData:n}=t,l=n.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[p,m]=SB(o),h={start:"0%",center:"50%",end:"100%"}[m],f=(n.arrow?.x??0)+c/2,v=(n.arrow?.y??0)+d/2;let b="",S="";return p==="bottom"?(b=l?h:`${f}px`,S=`${-d}px`):p==="top"?(b=l?h:`${f}px`,S=`${a.floating.height+d}px`):p==="right"?(b=`${-d}px`,S=l?h:`${v}px`):p==="left"&&(b=`${a.floating.width+d}px`,S=l?h:`${v}px`),{data:{x:b,y:S}}}});function SB(e){const[t,o="center"]=e.split("-");return[t,o]}var wB=hB,Ioe=fB,Loe=vB,Boe=yB,Foe="Portal",Ak=A.forwardRef((e,t)=>{const{container:o,...a}=e,[n,i]=A.useState(!1);yr(()=>i(!0),[]);const l=o||n&&globalThis?.document?.body;return l?AM.createPortal(w.jsx(Ro.div,{...a,ref:t}),l):null});Ak.displayName=Foe;function joe(e,t){return A.useReducer((o,a)=>t[o][a]??o,e)}var Mi=e=>{const{present:t,children:o}=e,a=zoe(t),n=typeof o=="function"?o({present:a.isPresent}):A.Children.only(o),i=sa(a.ref,Uoe(n));return typeof o=="function"||a.isPresent?A.cloneElement(n,{ref:i}):null};Mi.displayName="Presence";function zoe(e){const[t,o]=A.useState(),a=A.useRef(null),n=A.useRef(e),i=A.useRef("none"),l=e?"mounted":"unmounted",[c,d]=joe(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const p=Eg(a.current);i.current=c==="mounted"?p:"none"},[c]),yr(()=>{const p=a.current,m=n.current;if(m!==e){const f=i.current,v=Eg(p);e?d("MOUNT"):v==="none"||p?.display==="none"?d("UNMOUNT"):d(m&&f!==v?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,d]),yr(()=>{if(t){let p;const m=t.ownerDocument.defaultView??window,h=v=>{const S=Eg(a.current).includes(CSS.escape(v.animationName));if(v.target===t&&S&&(d("ANIMATION_END"),!n.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",p=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},f=v=>{v.target===t&&(i.current=Eg(a.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{m.clearTimeout(p),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:A.useCallback(p=>{a.current=p?getComputedStyle(p):null,o(p)},[])}}function Eg(e){return e?.animationName||"none"}function Uoe(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var mw="rovingFocusGroup.onEntryFocus",qoe={bubbles:!1,cancelable:!0},om="RovingFocusGroup",[px,xB,$oe]=VL(om),[Voe,TB]=jl(om,[$oe]),[Hoe,Goe]=Voe(om),kB=A.forwardRef((e,t)=>w.jsx(px.Provider,{scope:e.__scopeRovingFocusGroup,children:w.jsx(px.Slot,{scope:e.__scopeRovingFocusGroup,children:w.jsx(Woe,{...e,ref:t})})}));kB.displayName=om;var Woe=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,orientation:a,loop:n=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:p,preventScrollOnEntryFocus:m=!1,...h}=e,f=A.useRef(null),v=sa(t,f),b=HL(i),[S,k]=em({prop:l,defaultProp:c??null,onChange:d,caller:om}),[x,T]=A.useState(!1),P=Sr(p),C=xB(o),E=A.useRef(!1),[R,D]=A.useState(0);return A.useEffect(()=>{const O=f.current;if(O)return O.addEventListener(mw,P),()=>O.removeEventListener(mw,P)},[P]),w.jsx(Hoe,{scope:o,orientation:a,dir:b,loop:n,currentTabStopId:S,onItemFocus:A.useCallback(O=>k(O),[k]),onItemShiftTab:A.useCallback(()=>T(!0),[]),onFocusableItemAdd:A.useCallback(()=>D(O=>O+1),[]),onFocusableItemRemove:A.useCallback(()=>D(O=>O-1),[]),children:w.jsx(Ro.div,{tabIndex:x||R===0?-1:0,"data-orientation":a,...h,ref:v,style:{outline:"none",...e.style},onMouseDown:ht(e.onMouseDown,()=>{E.current=!0}),onFocus:ht(e.onFocus,O=>{const L=!E.current;if(O.target===O.currentTarget&&L&&!x){const $=new CustomEvent(mw,qoe);if(O.currentTarget.dispatchEvent($),!$.defaultPrevented){const B=C().filter(H=>H.focusable),U=B.find(H=>H.active),F=B.find(H=>H.id===S),ae=[U,F,...B].filter(Boolean).map(H=>H.ref.current);EB(ae,m)}}E.current=!1}),onBlur:ht(e.onBlur,()=>T(!1))})})}),_B="RovingFocusGroupItem",CB=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,focusable:a=!0,active:n=!1,tabStopId:i,children:l,...c}=e,d=As(),p=i||d,m=Goe(_B,o),h=m.currentTabStopId===p,f=xB(o),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:S}=m;return A.useEffect(()=>{if(a)return v(),()=>b()},[a,v,b]),w.jsx(px.ItemSlot,{scope:o,id:p,focusable:a,active:n,children:w.jsx(Ro.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:ht(e.onMouseDown,k=>{a?m.onItemFocus(p):k.preventDefault()}),onFocus:ht(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:ht(e.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){m.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const x=Zoe(k,m.orientation,m.dir);if(x!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let P=f().filter(C=>C.focusable).map(C=>C.ref.current);if(x==="last")P.reverse();else if(x==="prev"||x==="next"){x==="prev"&&P.reverse();const C=P.indexOf(k.currentTarget);P=m.loop?Qoe(P,C+1):P.slice(C+1)}setTimeout(()=>EB(P))}}),children:typeof l=="function"?l({isCurrentTabStop:h,hasTabStop:S!=null}):l})})});CB.displayName=_B;var Koe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Yoe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Zoe(e,t,o){const a=Yoe(e.key,o);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return Koe[a]}function EB(e,t=!1){const o=document.activeElement;for(const a of e)if(a===o||(a.focus({preventScroll:t}),document.activeElement!==o))return}function Qoe(e,t){return e.map((o,a)=>e[(t+a)%e.length])}var Joe=kB,Xoe=CB,eae=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Mc=new WeakMap,Pg=new WeakMap,Ag={},hw=0,PB=function(e){return e&&(e.host||PB(e.parentNode))},tae=function(e,t){return t.map(function(o){if(e.contains(o))return o;var a=PB(o);return a&&e.contains(a)?a:(console.error("aria-hidden",o,"in not contained inside",e,". Doing nothing"),null)}).filter(function(o){return!!o})},oae=function(e,t,o,a){var n=tae(t,Array.isArray(e)?e:[e]);Ag[o]||(Ag[o]=new WeakMap);var i=Ag[o],l=[],c=new Set,d=new Set(n),p=function(h){!h||c.has(h)||(c.add(h),p(h.parentNode))};n.forEach(p);var m=function(h){!h||d.has(h)||Array.prototype.forEach.call(h.children,function(f){if(c.has(f))m(f);else try{var v=f.getAttribute(a),b=v!==null&&v!=="false",S=(Mc.get(f)||0)+1,k=(i.get(f)||0)+1;Mc.set(f,S),i.set(f,k),l.push(f),S===1&&b&&Pg.set(f,!0),k===1&&f.setAttribute(o,"true"),b||f.setAttribute(a,"true")}catch(x){console.error("aria-hidden: cannot operate on ",f,x)}})};return m(t),c.clear(),hw++,function(){l.forEach(function(h){var f=Mc.get(h)-1,v=i.get(h)-1;Mc.set(h,f),i.set(h,v),f||(Pg.has(h)||h.removeAttribute(a),Pg.delete(h)),v||h.removeAttribute(o)}),hw--,hw||(Mc=new WeakMap,Mc=new WeakMap,Pg=new WeakMap,Ag={})}},AB=function(e,t,o){o===void 0&&(o="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),n=eae(e);return n?(a.push.apply(a,Array.from(n.querySelectorAll("[aria-live], script"))),oae(a,n,o,"aria-hidden")):function(){return null}},zr=function(){return zr=Object.assign||function(t){for(var o,a=1,n=arguments.length;a<n;a++){o=arguments[a];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},zr.apply(this,arguments)};function RB(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]]);return o}function aae(e,t,o){if(o||arguments.length===2)for(var a=0,n=t.length,i;a<n;a++)(i||!(a in t))&&(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}var tf="right-scroll-bar-position",of="width-before-scroll-bar",nae="with-scroll-bars-hidden",rae="--removed-body-scroll-bar-size";function gw(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function iae(e,t){var o=A.useState(function(){return{value:e,callback:t,facade:{get current(){return o.value},set current(a){var n=o.value;n!==a&&(o.value=a,o.callback(a,n))}}}})[0];return o.callback=t,o.facade}var sae=typeof window<"u"?A.useLayoutEffect:A.useEffect,GD=new WeakMap;function lae(e,t){var o=iae(null,function(a){return e.forEach(function(n){return gw(n,a)})});return sae(function(){var a=GD.get(o);if(a){var n=new Set(a),i=new Set(e),l=o.current;n.forEach(function(c){i.has(c)||gw(c,null)}),i.forEach(function(c){n.has(c)||gw(c,l)})}GD.set(o,e)},[e]),o}function cae(e){return e}function dae(e,t){t===void 0&&(t=cae);var o=[],a=!1,n={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:e},useMedium:function(i){var l=t(i,a);return o.push(l),function(){o=o.filter(function(c){return c!==l})}},assignSyncMedium:function(i){for(a=!0;o.length;){var l=o;o=[],l.forEach(i)}o={push:function(c){return i(c)},filter:function(){return o}}},assignMedium:function(i){a=!0;var l=[];if(o.length){var c=o;o=[],c.forEach(i),l=o}var d=function(){var m=l;l=[],m.forEach(i)},p=function(){return Promise.resolve().then(d)};p(),o={push:function(m){l.push(m),p()},filter:function(m){return l=l.filter(m),o}}}};return n}function uae(e){e===void 0&&(e={});var t=dae(null);return t.options=zr({async:!0,ssr:!1},e),t}var DB=function(e){var t=e.sideCar,o=RB(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return A.createElement(a,zr({},o))};DB.isSideCarExport=!0;function pae(e,t){return e.useMedium(t),DB}var OB=uae(),fw=function(){},zv=A.forwardRef(function(e,t){var o=A.useRef(null),a=A.useState({onScrollCapture:fw,onWheelCapture:fw,onTouchMoveCapture:fw}),n=a[0],i=a[1],l=e.forwardProps,c=e.children,d=e.className,p=e.removeScrollBar,m=e.enabled,h=e.shards,f=e.sideCar,v=e.noRelative,b=e.noIsolation,S=e.inert,k=e.allowPinchZoom,x=e.as,T=x===void 0?"div":x,P=e.gapMode,C=RB(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=f,R=lae([o,t]),D=zr(zr({},C),n);return A.createElement(A.Fragment,null,m&&A.createElement(E,{sideCar:OB,removeScrollBar:p,shards:h,noRelative:v,noIsolation:b,inert:S,setCallbacks:i,allowPinchZoom:!!k,lockRef:o,gapMode:P}),l?A.cloneElement(A.Children.only(c),zr(zr({},D),{ref:R})):A.createElement(T,zr({},D,{className:d,ref:R}),c))});zv.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};zv.classNames={fullWidth:of,zeroRight:tf};var mae=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function hae(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mae();return t&&e.setAttribute("nonce",t),e}function gae(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function fae(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vae=function(){var e=0,t=null;return{add:function(o){e==0&&(t=hae())&&(gae(t,o),fae(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},bae=function(){var e=vae();return function(t,o){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&o])}},MB=function(){var e=bae(),t=function(o){var a=o.styles,n=o.dynamic;return e(a,n),null};return t},yae={left:0,top:0,right:0,gap:0},vw=function(e){return parseInt(e||"",10)||0},Sae=function(e){var t=window.getComputedStyle(document.body),o=t[e==="padding"?"paddingLeft":"marginLeft"],a=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[vw(o),vw(a),vw(n)]},wae=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yae;var t=Sae(e),o=document.documentElement.clientWidth,a=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,a-o+t[2]-t[0])}},xae=MB(),sd="data-scroll-locked",Tae=function(e,t,o,a){var n=e.left,i=e.top,l=e.right,c=e.gap;return o===void 0&&(o="margin"),`
|
|
127
|
+
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.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.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.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.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.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.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.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.repoRow.label":"Repositório","sandbox.repoRow.noRepositoryConnected":"Nenhum repositório conectado","sandbox.repoRow.tooltipContent":"O repositório GitHub conectado para este projeto. Gerencie em Conexões.","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.back":"Todos os blocos","sandbox.schemaless.bannerBody":"Até lá, cada bloco abre com campos simples criados a partir dos valores salvos, e salvar mantém todos os outros valores como estão. Gere o schema na pasta do seu site; esta página o detecta sozinha.","sandbox.schemaless.bannerTitle":"Os formulários ganham os campos certos assim que o schema existir","sandbox.schemaless.docsLink":"Sobre o deco schema","sandbox.schemaless.empty":"Vazio","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.searchPlaceholder":"Buscar blocos","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.collectionsSidebar.campaigns":"Calendário","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":"Toda data do seu site é uma campanha: uma variante com a regra “Campanha” aparece enquanto a campanha dela está rodando. As mudanças ficam salvas no seu rascunho e vão ao ar quando você publica.","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.listMode":"Lista","sandbox.dateCampaigns.timelineMode":"Linha do tempo","sandbox.dateCampaigns.status.running":"Rodando","sandbox.dateCampaigns.status.upcoming":"Em breve","sandbox.dateCampaigns.status.ended":"Encerrada","sandbox.dateCampaigns.status.always":"Sempre ativa","sandbox.dateCampaigns.status.unreadable":"Datas ilegíveis","sandbox.dateCampaigns.usedBy":"Usada em {count}","sandbox.dateCampaigns.notUsed":"Ainda não usada","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.renameHint":"Toda variante que usa esta campanha é atualizada na mesma mudança.","sandbox.dateCampaigns.renameWholeHint":"Seções que leem todas as campanhas no próprio código continuam procurando o nome antigo. Atualize-as no editor do site.","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.renamed":"Campanha renomeada para “{name}”","sandbox.dateCampaigns.allCampaigns":"Todas as campanhas","sandbox.dateCampaigns.today":"Hoje","sandbox.dateCampaigns.previous":"Antes","sandbox.dateCampaigns.next":"Depois","sandbox.dateCampaigns.nothingInRange":"Nenhuma campanha roda nestes meses.","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.off":"Desligado","sandbox.previewAs.on":"Ligado","sandbox.previewAs.reset":"Mostrar como está agora"},BX={"settings.subscriptionUsage.title":"Uso do plano","settings.subscriptionUsage.refresh":"Atualizar","settings.subscriptionUsage.loading":"Carregando limites de uso…","settings.subscriptionUsage.fiveHour":"Janela de 5 horas","settings.subscriptionUsage.weekly":"Limite semanal","settings.subscriptionUsage.sonnet":"Sonnet · semanal","settings.subscriptionUsage.opus":"Opus · semanal","settings.subscriptionUsage.codeReview":"Revisão de código","settings.subscriptionUsage.hours":"Janela de {hours} horas","settings.subscriptionUsage.primary":"Limite principal","settings.subscriptionUsage.secondary":"Limite secundário","settings.subscriptionUsage.used":"{percent}% usado","settings.subscriptionUsage.resets":"Renova em {date}","settings.subscriptionUsage.resetUnknown":"Horário de renovação não informado","settings.subscriptionUsage.limitReached":"Limite atingido","settings.subscriptionUsage.permission":"Este token não permite consultar limites. Veja o uso no site do provedor.","settings.subscriptionUsage.authorization":"O provedor não autorizou a consulta. Vincule seu plano novamente para atualizar as credenciais.","settings.subscriptionUsage.rateLimited":"O provedor está limitando as consultas. Tente novamente após o horário abaixo.","settings.subscriptionUsage.disconnected":"Vincule seu plano para consultar os limites.","settings.subscriptionUsage.unavailable":"Os limites estão indisponíveis agora. Consulte o provedor para ver o status atual.","settings.subscriptionUsage.retryAt":"Tente novamente em {date}","settings.subscriptionUsage.checkedAt":"Consultado em {date}","settings.subscriptionUsage.sharedUsage":"Inclui uso fora do Studio. Estes limites pertencem ao seu plano pessoal.","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.agents":"Projetos","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.preferences.title":"Preferências","settings.blog.sectionTitle":"Blog","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.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.preferences.projectFirstNav":"Navegação centrada em projetos","settings.preferences.projectFirstNavDescription":"Experimente o trilho de organizações, o launcher de projetos e a home Hoje/Agentes.","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.pageTitle":"Skills","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.pageTitle":"Memória","settings.memory.tabOrg":"Organização","settings.memory.tabUser":"Só você","settings.memory.orgHeading":"Compartilhada com todo mundo em {org}","settings.memory.orgDescription":"O Deco lê isto no começo de cada chat e acrescenta o que aprende. Corrija o que estiver errado ou desatualizado.","settings.memory.userHeading":"Sua memória pessoal","settings.memory.userDescription":"Carregada só nos seus chats. Boa para como você gosta de trabalhar, o que é seu e o que pular.","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":"Conectar um provedor de IA","settings.connectProviderDialog.gridDescription":"Escolha um provedor — o resto a gente resolve.","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.connectedProvidersSection.connectButton":"Conectar provedor","settings.connectedProvidersSection.emptyState":"Traga suas próprias chaves para usar modelos específicos junto com o gateway da Deco.","settings.connectedProvidersSection.sectionTitle":"Provedores conectados","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.active":"Suas execuções do Codex usam sua assinatura do ChatGPT. As credenciais são renovadas automaticamente.","settings.codexSubscription.connect":"Vincular","settings.codexSubscription.connected":"Assinatura do ChatGPT vinculada","settings.codexSubscription.description":"Use sua assinatura do ChatGPT nos chats com Codex no sandbox. As credenciais pertencem a você e ficam criptografadas.","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":"Sua assinatura do ChatGPT para Codex","settings.codexSubscription.tokenPlaceholder":"Cole o conteúdo de auth.json","settings.claudeSubscription.active":"Seu plano Claude está executando estas tarefas de código.","settings.claudeSubscription.connect":"Vincular","settings.claudeSubscription.connected":"Assinatura Claude conectada","settings.claudeSubscription.description":"Execute tarefas de código no seu próprio plano Claude Pro ou Max, em vez do crédito de IA da organização.","settings.claudeSubscription.disconnect":"Desconectar","settings.claudeSubscription.disconnected":"Assinatura Claude desconectada","settings.claudeSubscription.expired":"A Anthropic não aceita mais seu token. Gere um novo para continuar usando seu plano.","settings.claudeSubscription.howTo":"Gere um token na sua própria máquina com","settings.claudeSubscription.title":"Sua assinatura Claude","settings.claudeSubscription.tokenPlaceholder":"Cole seu token","settings.githubCopilot.active":"Seu plano GitHub Copilot está executando estas tarefas de código.","settings.githubCopilot.connect":"Vincular","settings.githubCopilot.connected":"GitHub Copilot conectado","settings.githubCopilot.description":"Execute tarefas de código no Claude pelo seu próprio plano GitHub Copilot, em vez do crédito de IA da organização.","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":"Toda execução nesta organização usa o plano GitHub Copilot compartilhado por {name}.","settings.githubCopilot.shareTitle":"Compartilhar com a organização","settings.githubCopilot.shareDescription":"Todo chat e tarefa nesta organização roda no seu plano Copilot, antes dos planos dos membros e dos provedores de IA da organização.","settings.githubCopilot.title":"Seu plano GitHub Copilot","settings.githubCopilot.tokenPlaceholder":"Cole seu token github_pat_…","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.noPlan":"Nenhum plano ativo","settings.planUsage.noPlanDescription":"Esta organização não tem um plano ativo. Escolha um abaixo — o primeiro mês do Starter é grátis.","settings.planUsage.creditsLeft":"restantes","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.decoNudgeCard.connectDeco":"Conectar Deco","settings.decoNudgeCard.connecting":"Conectando…","settings.decoNudgeCard.decoAiGateway":"Deco AI Gateway","settings.decoNudgeCard.description":"100+ modelos, uma conexão — pague conforme usa, sem APIs para gerenciar.","settings.decoNudgeCard.recommended":"Recomendado","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.deleteProviderKey":"Excluir chave do provedor","settings.providerKeyRow.editProviderKey":"Editar chave do provedor","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.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ê um nome à chave para reconhecê-la depois.","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.modelsPowerDescription":"Estes modelos alimentam chat, automações e ferramentas em toda a sua organização.","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.tierDeepResearchDesc":"Relatórios de pesquisa aprofundados e multi-fonte","settings.simpleModeSection.tierFast":"Rápido","settings.simpleModeSection.tierFastDesc":"Respostas mais rápidas, ideal para tarefas rápidas","settings.simpleModeSection.tierImage":"Imagem","settings.simpleModeSection.tierImageDesc":"Geração de imagens","settings.simpleModeSection.tierSmart":"Inteligente","settings.simpleModeSection.tierSmartDesc":"Equilíbrio entre velocidade e capacidade","settings.simpleModeSection.tierThinking":"Reflexivo","settings.simpleModeSection.tierThinkingDesc":"Mais capaz, ideal para tarefas complexas","settings.simpleModeSection.tierWebSearch":"Busca na web","settings.simpleModeSection.tierWebSearchDesc":"Respostas rápidas e atualizadas da web","settings.aiProviders.recommended":"Recomendado — 100+ modelos, pague conforme usa","settings.aiProviders.customOpenAiCompatible":"OpenAI-compatível personalizado","settings.aiProviders.customOpenAiDescription":"Traga seu próprio servidor de modelos (avançado)","settings.aiProviders.moreProvidersSingular":"{count} provedor adicional","settings.aiProviders.moreProvidersPlural":"{count} provedores adicionais","settings.aiProviders.decoConnectSuccess":"Deco AI Gateway conectado com sucesso","settings.aiProviders.decoConnectError":"Falha ao conectar o Deco AI Gateway: {error}","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"},FX={"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.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"},jX={"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"},zX={...WJ,...KJ,...YJ,...ZJ,...QJ,...JJ,...XJ,...eX,...tX,...oX,...aX,...nX,...rX,...iX,...sX,...lX,...xX,...TX,...kX,...cX,...dX,...uX,...pX,...mX,...hX,...gX,...fX,...vX,...bX,...yX,...SX,...wX,..._X,...CX,...EX,...PX,...AX,...RX,...DX,...OX,...MX,...NX,...IX,...LX,...BX,...FX,...jX,...GJ,...HJ},SL={en:VJ,"pt-BR":zX};function sbe(e,t){return yL(SL[$Q()][e],t)}function ar(){const e=Ce.c(2),[t]=hk(),o=SL[t.language];let a;return e[0]!==o?(a=(n,i)=>yL(o[n],i),e[0]=o,e[1]=a):a=e[1],a}function wL(e){var t,o,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=wL(e[t]))&&(a&&(a+=" "),a+=o)}else for(o in e)e[o]&&(a&&(a+=" "),a+=o);return a}function gk(){for(var e,t,o=0,a="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=wL(e))&&(a&&(a+=" "),a+=t);return a}const fD=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,vD=gk,Jp=(e,t)=>o=>{var a;if(t?.variants==null)return vD(e,o?.class,o?.className);const{variants:n,defaultVariants:i}=t,l=Object.keys(n).map(p=>{const m=o?.[p],h=i?.[p];if(m===null)return null;const f=fD(m)||fD(h);return n[p][f]}),c=o&&Object.entries(o).reduce((p,m)=>{let[h,f]=m;return f===void 0||(p[h]=f),p},{}),d=t==null||(a=t.compoundVariants)===null||a===void 0?void 0:a.reduce((p,m)=>{let{class:h,className:f,...v}=m;return Object.entries(v).every(b=>{let[S,k]=b;return Array.isArray(k)?k.includes({...i,...c}[S]):{...i,...c}[S]===k})?[...p,h,f]:p},[]);return vD(e,l,d,o?.class,o?.className)},UX=(e,t)=>{const o=new Array(e.length+t.length);for(let a=0;a<e.length;a++)o[a]=e[a];for(let a=0;a<t.length;a++)o[e.length+a]=t[a];return o},qX=(e,t)=>({classGroupId:e,validator:t}),xL=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),Of="-",bD=[],$X="arbitrary..",VX=e=>{const t=GX(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return HX(l);const c=l.split(Of),d=c[0]===""&&c.length>1?1:0;return TL(c,d,t)},getConflictingClassGroupIds:(l,c)=>{if(c){const d=a[l],p=o[l];return d?p?UX(p,d):d:p||bD}return o[l]||bD}}},TL=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const n=e[t],i=o.nextPart.get(n);if(i){const p=TL(e,t+1,i);if(p)return p}const l=o.validators;if(l===null)return;const c=t===0?e.join(Of):e.slice(t).join(Of),d=l.length;for(let p=0;p<d;p++){const m=l[p];if(m.validator(c))return m.classGroupId}},HX=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),a=t.slice(0,o);return a?$X+a:void 0})(),GX=e=>{const{theme:t,classGroups:o}=e;return WX(o,t)},WX=(e,t)=>{const o=xL();for(const a in e){const n=e[a];fk(n,o,a,t)}return o},fk=(e,t,o,a)=>{const n=e.length;for(let i=0;i<n;i++){const l=e[i];KX(l,t,o,a)}},KX=(e,t,o,a)=>{if(typeof e=="string"){YX(e,t,o);return}if(typeof e=="function"){ZX(e,t,o,a);return}QX(e,t,o,a)},YX=(e,t,o)=>{const a=e===""?t:kL(t,e);a.classGroupId=o},ZX=(e,t,o,a)=>{if(JX(e)){fk(e(a),t,o,a);return}t.validators===null&&(t.validators=[]),t.validators.push(qX(o,e))},QX=(e,t,o,a)=>{const n=Object.entries(e),i=n.length;for(let l=0;l<i;l++){const[c,d]=n[l];fk(d,kL(t,c),o,a)}},kL=(e,t)=>{let o=e;const a=t.split(Of),n=a.length;for(let i=0;i<n;i++){const l=a[i];let c=o.nextPart.get(l);c||(c=xL(),o.nextPart.set(l,c)),o=c}return o},JX=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,XX=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),a=Object.create(null);const n=(i,l)=>{o[i]=l,t++,t>e&&(t=0,a=o,o=Object.create(null))};return{get(i){let l=o[i];if(l!==void 0)return l;if((l=a[i])!==void 0)return n(i,l),l},set(i,l){i in o?o[i]=l:n(i,l)}}},lx="!",yD=":",eee=[],SD=(e,t,o,a,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:a,isExternal:n}),tee=e=>{const{prefix:t,experimentalParseClassName:o}=e;let a=n=>{const i=[];let l=0,c=0,d=0,p;const m=n.length;for(let S=0;S<m;S++){const k=n[S];if(l===0&&c===0){if(k===yD){i.push(n.slice(d,S)),d=S+1;continue}if(k==="/"){p=S;continue}}k==="["?l++:k==="]"?l--:k==="("?c++:k===")"&&c--}const h=i.length===0?n:n.slice(d);let f=h,v=!1;h.endsWith(lx)?(f=h.slice(0,-1),v=!0):h.startsWith(lx)&&(f=h.slice(1),v=!0);const b=p&&p>d?p-d:void 0;return SD(i,v,f,b)};if(t){const n=t+yD,i=a;a=l=>l.startsWith(n)?i(l.slice(n.length)):SD(eee,!1,l,void 0,!0)}if(o){const n=a;a=i=>o({className:i,parseClassName:n})}return a},oee=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,a)=>{t.set(o,1e6+a)}),o=>{const a=[];let n=[];for(let i=0;i<o.length;i++){const l=o[i],c=l[0]==="[",d=t.has(l);c||d?(n.length>0&&(n.sort(),a.push(...n),n=[]),a.push(l)):n.push(l)}return n.length>0&&(n.sort(),a.push(...n)),a}},aee=e=>({cache:XX(e.cacheSize),parseClassName:tee(e),sortModifiers:oee(e),postfixLookupClassGroupIds:nee(e),...VX(e)}),nee=e=>{const t=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let a=0;a<o.length;a++)t[o[a]]=!0;return t},ree=/\s+/,iee=(e,t)=>{const{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:n,sortModifiers:i,postfixLookupClassGroupIds:l}=t,c=[],d=e.trim().split(ree);let p="";for(let m=d.length-1;m>=0;m-=1){const h=d[m],{isExternal:f,modifiers:v,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:k}=o(h);if(f){p=h+(p.length>0?" "+p:p);continue}let x=!!k,T;if(x){const D=S.substring(0,k);T=a(D);const O=T&&l[T]?a(S):void 0;O&&O!==T&&(T=O,x=!1)}else T=a(S);if(!T){if(!x){p=h+(p.length>0?" "+p:p);continue}if(T=a(S),!T){p=h+(p.length>0?" "+p:p);continue}x=!1}const P=v.length===0?"":v.length===1?v[0]:i(v).join(":"),C=b?P+lx:P,E=C+T;if(c.indexOf(E)>-1)continue;c.push(E);const R=n(T,x);for(let D=0;D<R.length;++D){const O=R[D];c.push(C+O)}p=h+(p.length>0?" "+p:p)}return p},see=(...e)=>{let t=0,o,a,n="";for(;t<e.length;)(o=e[t++])&&(a=_L(o))&&(n&&(n+=" "),n+=a);return n},_L=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=_L(e[a]))&&(o&&(o+=" "),o+=t);return o},lee=(e,...t)=>{let o,a,n,i;const l=d=>{const p=t.reduce((m,h)=>h(m),e());return o=aee(p),a=o.cache.get,n=o.cache.set,i=c,c(d)},c=d=>{const p=a(d);if(p)return p;const m=iee(d,o);return n(d,m),m};return i=l,(...d)=>i(see(...d))},cee=[],ea=e=>{const t=o=>o[e]||cee;return t.isThemeGetter=!0,t},CL=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,EL=/^\((?:(\w[\w-]*):)?(.+)\)$/i,dee=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,mee=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,hee=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gee=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ds=e=>dee.test(e),yt=e=>!!e&&!Number.isNaN(Number(e)),Or=e=>!!e&&Number.isInteger(Number(e)),iw=e=>e.endsWith("%")&&yt(e.slice(0,-1)),yi=e=>uee.test(e),PL=()=>!0,fee=e=>pee.test(e)&&!mee.test(e),vk=()=>!1,vee=e=>hee.test(e),bee=e=>gee.test(e),yee=e=>!We(e)&&!Ke(e),See=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),wee=e=>Us(e,DL,vk),We=e=>CL.test(e),dl=e=>Us(e,OL,fee),wD=e=>Us(e,Aee,yt),xee=e=>Us(e,NL,PL),Tee=e=>Us(e,ML,vk),xD=e=>Us(e,AL,vk),kee=e=>Us(e,RL,bee),kg=e=>Us(e,IL,vee),Ke=e=>EL.test(e),Bu=e=>Fl(e,OL),_ee=e=>Fl(e,ML),TD=e=>Fl(e,AL),Cee=e=>Fl(e,DL),Eee=e=>Fl(e,RL),_g=e=>Fl(e,IL,!0),Pee=e=>Fl(e,NL,!0),Us=(e,t,o)=>{const a=CL.exec(e);return a?a[1]?t(a[1]):o(a[2]):!1},Fl=(e,t,o=!1)=>{const a=EL.exec(e);return a?a[1]?t(a[1]):o:!1},AL=e=>e==="position"||e==="percentage",RL=e=>e==="image"||e==="url",DL=e=>e==="length"||e==="size"||e==="bg-size",OL=e=>e==="length",Aee=e=>e==="number",ML=e=>e==="family-name",NL=e=>e==="number"||e==="weight",IL=e=>e==="shadow",Ree=()=>{const e=ea("color"),t=ea("font"),o=ea("text"),a=ea("font-weight"),n=ea("tracking"),i=ea("leading"),l=ea("breakpoint"),c=ea("container"),d=ea("spacing"),p=ea("radius"),m=ea("shadow"),h=ea("inset-shadow"),f=ea("text-shadow"),v=ea("drop-shadow"),b=ea("blur"),S=ea("perspective"),k=ea("aspect"),x=ea("ease"),T=ea("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...C(),Ke,We],R=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto","contain","none"],O=()=>[Ke,We,d],L=()=>[ds,"full","auto",...O()],$=()=>[Or,"none","subgrid",Ke,We],B=()=>["auto",{span:["full",Or,Ke,We]},Or,Ke,We],U=()=>[Or,"auto",Ke,We],F=()=>["auto","min","max","fr",Ke,We],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...O()],K=()=>[ds,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],J=()=>[ds,"screen","full","dvw","lvw","svw","min","max","fit",...O()],le=()=>[ds,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],Q=()=>[e,Ke,We],N=()=>[...C(),TD,xD,{position:[Ke,We]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],V=()=>["auto","cover","contain",Cee,wee,{size:[Ke,We]}],I=()=>[iw,Bu,dl],z=()=>["","none","full",p,Ke,We],X=()=>["",yt,Bu,dl],pe=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>[yt,iw,TD,xD],qe=()=>["","none",b,Ke,We],Z=()=>["none",yt,Ke,We],ne=()=>["none",yt,Ke,We],ve=()=>[yt,Ke,We],ie=()=>[ds,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[yi],breakpoint:[yi],color:[PL],container:[yi],"drop-shadow":[yi],ease:["in","out","in-out"],font:[yee],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[yi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[yi],shadow:[yi],spacing:["px",yt],text:[yi],"text-shadow":[yi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ds,We,Ke,k]}],container:["container"],"container-type":[{"@container":["","normal","size",Ke,We]}],"container-named":[See],columns:[{columns:[yt,We,Ke,c]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{"inset-s":L(),start:L()}],end:[{"inset-e":L(),end:L()}],"inset-bs":[{"inset-bs":L()}],"inset-be":[{"inset-be":L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[Or,"auto",Ke,We]}],basis:[{basis:[ds,"full","auto",c,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[yt,ds,"auto","initial","none",We]}],grow:[{grow:["",yt,Ke,We]}],shrink:[{shrink:["",yt,Ke,We]}],order:[{order:[Or,"first","last","none",Ke,We]}],"grid-cols":[{"grid-cols":$()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":$()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mbs:[{mbs:H()}],mbe:[{mbe:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...le()]}],"min-block-size":[{"min-block":["auto",...le()]}],"max-block-size":[{"max-block":["none",...le()]}],w:[{w:[c,"screen",...K()]}],"min-w":[{"min-w":[c,"screen","none",...K()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",o,Bu,dl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,Pee,xee]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",iw,We]}],"font-family":[{font:[_ee,Tee,t]}],"font-features":[{"font-features":[We]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Ke,We]}],"line-clamp":[{"line-clamp":[yt,"none",Ke,wD]}],leading:[{leading:[i,...O()]}],"list-image":[{"list-image":["none",Ke,We]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ke,We]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[yt,"from-font","auto",Ke,dl]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[yt,"auto",Ke,We]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[Or,Ke,We]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ke,We]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ke,We]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:V()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Or,Ke,We],radial:["",Ke,We],conic:[Or,Ke,We]},Eee,kee]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[yt,Ke,We]}],"outline-w":[{outline:["",yt,Bu,dl]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",m,_g,kg]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",h,_g,kg]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[yt,dl]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",f,_g,kg]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[yt,Ke,We]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[yt]}],"mask-image-linear-from-pos":[{"mask-linear-from":ke()}],"mask-image-linear-to-pos":[{"mask-linear-to":ke()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":ke()}],"mask-image-t-to-pos":[{"mask-t-to":ke()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":ke()}],"mask-image-r-to-pos":[{"mask-r-to":ke()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":ke()}],"mask-image-b-to-pos":[{"mask-b-to":ke()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":ke()}],"mask-image-l-to-pos":[{"mask-l-to":ke()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":ke()}],"mask-image-x-to-pos":[{"mask-x-to":ke()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":ke()}],"mask-image-y-to-pos":[{"mask-y-to":ke()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[Ke,We]}],"mask-image-radial-from-pos":[{"mask-radial-from":ke()}],"mask-image-radial-to-pos":[{"mask-radial-to":ke()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[yt]}],"mask-image-conic-from-pos":[{"mask-conic-from":ke()}],"mask-image-conic-to-pos":[{"mask-conic-to":ke()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:V()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ke,We]}],filter:[{filter:["","none",Ke,We]}],blur:[{blur:qe()}],brightness:[{brightness:[yt,Ke,We]}],contrast:[{contrast:[yt,Ke,We]}],"drop-shadow":[{"drop-shadow":["","none",v,_g,kg]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",yt,Ke,We]}],"hue-rotate":[{"hue-rotate":[yt,Ke,We]}],invert:[{invert:["",yt,Ke,We]}],saturate:[{saturate:[yt,Ke,We]}],sepia:[{sepia:["",yt,Ke,We]}],"backdrop-filter":[{"backdrop-filter":["","none",Ke,We]}],"backdrop-blur":[{"backdrop-blur":qe()}],"backdrop-brightness":[{"backdrop-brightness":[yt,Ke,We]}],"backdrop-contrast":[{"backdrop-contrast":[yt,Ke,We]}],"backdrop-grayscale":[{"backdrop-grayscale":["",yt,Ke,We]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[yt,Ke,We]}],"backdrop-invert":[{"backdrop-invert":["",yt,Ke,We]}],"backdrop-opacity":[{"backdrop-opacity":[yt,Ke,We]}],"backdrop-saturate":[{"backdrop-saturate":[yt,Ke,We]}],"backdrop-sepia":[{"backdrop-sepia":["",yt,Ke,We]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ke,We]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[yt,"initial",Ke,We]}],ease:[{ease:["linear","initial",x,Ke,We]}],delay:[{delay:[yt,Ke,We]}],animate:[{animate:["none",T,Ke,We]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,Ke,We]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:Z()}],"rotate-x":[{"rotate-x":Z()}],"rotate-y":[{"rotate-y":Z()}],"rotate-z":[{"rotate-z":Z()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:ve()}],"skew-x":[{"skew-x":ve()}],"skew-y":[{"skew-y":ve()}],transform:[{transform:[Ke,We,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],zoom:[{zoom:[Or,Ke,We]}],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ke,We]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":Q()}],"scrollbar-track-color":[{"scrollbar-track":Q()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ke,We]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[yt,Bu,dl,wD]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},LL=lee(Ree);function ut(...e){return LL(gk(e))}const Dee=Jp("animate-spin shrink-0",{variants:{size:{"2xs":"size-3",xs:"size-4",sm:"size-6",default:"size-7",lg:"size-8",icon:"size-6"}},defaultVariants:{size:"default"}});function Oee(e){const t=Ce.c(11),{size:o,className:a,style:n,label:i}=e;let l;t[0]!==i?(l=i?{role:"status","aria-label":i}:{"aria-hidden":!0},t[0]=i,t[1]=l):l=t[1];let c;t[2]!==a||t[3]!==o?(c=ut(Dee({size:o}),a),t[2]=a,t[3]=o,t[4]=c):c=t[4];let d,p;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=w.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor",opacity:"0.2"}),p=w.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentColor"}),t[5]=d,t[6]=p):(d=t[5],p=t[6]);let m;return t[7]!==n||t[8]!==l||t[9]!==c?(m=w.jsxs("svg",{...l,className:c,style:n,viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d,p]}),t[7]=n,t[8]=l,t[9]=c,t[10]=m):m=t[10],m}function Id(){const e=Ce.c(4),t=ar();let o;e[0]!==t?(o=t("common.loading"),e[0]=t,e[1]=o):o=e[1];let a;return e[2]!==o?(a=w.jsx("div",{"data-testid":"panel-loading",className:"flex flex-1 h-full w-full items-center justify-center",children:w.jsx(Oee,{className:"size-5 text-muted-foreground",label:o})}),e[2]=o,e[3]=a):a=e[3],a}function lbe(e){const t=Ce.c(3),{children:o}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=w.jsx(Id,{}),t[0]=a):a=t[0];let n;return t[1]!==o?(n=w.jsx(A.Suspense,{fallback:a,children:o}),t[1]=o,t[2]=n):n=t[2],n}const BL=so([Vt(),Ze("chat"),Ze(0)]).optional().transform(e=>e===void 0?void 0:e===!0||e==="chat").catch(void 0),FL=Vt().optional().catch(void 0);function kD(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("bg-secondary-hover animate-pulse rounded-md",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{"data-slot":"skeleton",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function _D(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Xp(...e){return t=>{let o=!1;const a=e.map(n=>{const i=_D(n,t);return!o&&typeof i=="function"&&(o=!0),i});if(o)return()=>{for(let n=0;n<a.length;n++){const i=a[n];typeof i=="function"?i():_D(e[n],null)}}}}function sa(...e){return A.useCallback(Xp(...e),e)}var Mee=Symbol.for("react.lazy"),Mf=TT[" use ".trim().toString()];function Nee(e){return typeof e=="object"&&e!==null&&"then"in e}function jL(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Mee&&"_payload"in e&&Nee(e._payload)}function zL(e){const t=Iee(e),o=A.forwardRef((a,n)=>{let{children:i,...l}=a;jL(i)&&typeof Mf=="function"&&(i=Mf(i._payload));const c=A.Children.toArray(i),d=c.find(Bee);if(d){const p=d.props.children,m=c.map(h=>h===d?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:h);return w.jsx(t,{...l,ref:n,children:A.isValidElement(p)?A.cloneElement(p,void 0,m):null})}return w.jsx(t,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}var Iv=zL("Slot");function Iee(e){const t=A.forwardRef((o,a)=>{let{children:n,...i}=o;if(jL(n)&&typeof Mf=="function"&&(n=Mf(n._payload)),A.isValidElement(n)){const l=jee(n),c=Fee(i,n.props);return n.type!==A.Fragment&&(c.ref=a?Xp(a,l):l),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var UL=Symbol("radix.slottable");function Lee(e){const t=({children:o})=>w.jsx(w.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=UL,t}var cbe=Lee("Slottable");function Bee(e){return A.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===UL}function Fee(e,t){const o={...t};for(const a in t){const n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?o[a]=(...c)=>{const d=i(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...i}:a==="className"&&(o[a]=[n,i].filter(Boolean).join(" "))}return{...e,...o}}function jee(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}const zee="bg-[var(--studio-secondary-background)] text-[color:var(--studio-secondary-foreground)] shadow-[var(--studio-secondary-shadow)] hover:bg-[var(--studio-secondary-hover-background)] hover:text-[color:var(--studio-secondary-hover-foreground)]",Uee=Jp(["relative inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap","rounded-[var(--studio-button-radius)] text-sm font-medium","transition-[background-color,box-shadow,color,opacity] duration-150 ease-[var(--ease-out-cubic)]","active:translate-y-px active:transition-none motion-reduce:active:translate-y-0","focus-ring","disabled:pointer-events-none disabled:opacity-40","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","aria-invalid:outline-destructive"],{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary-hover",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/85 dark:bg-destructive/70",secondary:zee,outline:"bg-card text-[color:var(--studio-outline-foreground)] shadow-edge hover:bg-[var(--studio-outline-hover-background)] hover:text-accent-foreground aria-pressed:bg-accent aria-pressed:text-accent-foreground data-[state=open]:bg-accent",success:"bg-success text-success-foreground hover:bg-success/90",warning:"bg-warning text-warning-foreground hover:bg-warning/90",brand:"bg-brand text-brand-foreground hover:bg-brand/85",special:"bg-special text-special-foreground hover:bg-special/90",ghost:"hover:bg-accent hover:text-accent-foreground","ghost-destructive":"text-muted-foreground hover:bg-accent hover:text-destructive",agent:"bg-card text-card-foreground shadow-edge hover:bg-accent has-[>[data-slot=agent-avatar]]:pl-[3px]",sidebar:"text-sidebar-foreground hover:bg-sidebar-accent aria-pressed:bg-sidebar-accent [&_svg:not([class*='text-'])]:text-muted-foreground hover:[&_svg:not([class*='text-'])]:text-sidebar-foreground",link:"text-foreground/80 hover:text-foreground",tab:"text-muted-foreground hover:bg-accent hover:text-foreground aria-pressed:bg-card aria-pressed:text-card-foreground aria-pressed:shadow-edge aria-[current=page]:bg-card aria-[current=page]:text-card-foreground aria-[current=page]:shadow-edge",menu:"w-full justify-start font-normal hover:bg-accent hover:text-accent-foreground"},size:{default:"h-8 px-3.5 has-[>svg]:px-3",sm:"h-7 gap-1.5 px-3 has-[>svg]:px-2.5",xs:"h-6 gap-1 px-2.5 text-xs has-[>svg]:px-2",lg:"h-10 px-4.5 has-[>svg]:px-4",xl:"h-12 px-6 text-base has-[>svg]:px-5",icon:"size-8","icon-sm":"size-7","icon-xs":"size-6"}},defaultVariants:{variant:"default",size:"default"}});function Ai(e){const t=Ce.c(14);let o,a,n,i,l;t[0]!==e?({className:o,variant:l,size:n,asChild:i,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i,t[5]=l):(o=t[1],a=t[2],n=t[3],i=t[4],l=t[5]);const d=(i===void 0?!1:i)?Iv:"button";let p;t[6]!==o||t[7]!==n||t[8]!==l?(p=ut(Uee({variant:l,size:n,className:o})),t[6]=o,t[7]=n,t[8]=l,t[9]=p):p=t[9];let m;return t[10]!==d||t[11]!==a||t[12]!==p?(m=w.jsx(d,{"data-slot":"button",className:p,...a}),t[10]=d,t[11]=a,t[12]=p,t[13]=m):m=t[13],m}const Ep=A.createContext(null);function qee(e){const t=Ce.c(18);let o,a,n,i;t[0]!==e?({children:o,className:a,variant:i,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);const l=i===void 0?"card":i;let c;t[5]===Symbol.for("react.memo_cache_sentinel")?(c={left:null,center:null,right:null,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},t[5]=c):c=t[5];const[d,p]=A.useState(c);let m;t[6]!==d?(m={targets:d,setTargets:p},t[6]=d,t[7]=m):m=t[7];const h=l==="card"&&"rounded-xl shadow-edge [transform:translateZ(0)]";let f;t[8]!==a||t[9]!==h?(f=ut("flex h-full min-h-0 min-w-0 flex-col overflow-hidden bg-background",h,a),t[8]=a,t[9]=h,t[10]=f):f=t[10];let v;t[11]!==o||t[12]!==n||t[13]!==f?(v=w.jsx("div",{...n,"data-slot":"panel",className:f,children:o}),t[11]=o,t[12]=n,t[13]=f,t[14]=v):v=t[14];let b;return t[15]!==m||t[16]!==v?(b=w.jsx(Ep,{value:m,children:v}),t[15]=m,t[16]=v,t[17]=b):b=t[17],b}function $ee(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("@container/panel-header relative z-10 flex h-12 shrink-0 items-center justify-between gap-2 px-1.5",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("header",{...a,"data-slot":"panel-topbar",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function Oc(e,t){const o=e.startsWith("toolbar-")?`panel-${e}`:`panel-topbar-${e}`;function a(l){const c=Ce.c(8);let d,p;c[0]!==l?({className:d,...p}=l,c[0]=l,c[1]=d,c[2]=p):(d=c[1],p=c[2]);let m;c[3]!==d?(m=ut("flex min-w-0 items-center gap-1",t,d),c[3]=d,c[4]=m):m=c[4];let h;return c[5]!==p||c[6]!==m?(h=w.jsx("div",{...p,"data-slot":o,className:m}),c[5]=p,c[6]=m,c[7]=h):h=c[7],h}function n(l){const c=Ce.c(16);let d,p,m;c[0]!==l?({className:d,fallback:p,...m}=l,c[0]=l,c[1]=d,c[2]=p,c[3]=m):(d=c[1],p=c[2],m=c[3]);const h=A.use(Ep);if(!h)throw new Error("Panel targets require a Panel");const{setTargets:f}=h;let v;c[4]!==f?(v=()=>P=>{if(P)return f(C=>{if(C[e]&&C[e]!==P)throw new Error(`Panel has two targets for ${e}`);return C[e]===P?C:{...C,[e]:P}}),()=>{f(C=>C[e]===P?{...C,[e]:null}:C)}},c[4]=f,c[5]=v):v=c[5];const[b]=A.useState(v);let S;c[6]!==d?(S=ut("peer contents empty:hidden",d),c[6]=d,c[7]=S):S=c[7];let k;c[8]!==m||c[9]!==S?(k=w.jsx("div",{"data-toolbar-content":e.startsWith("toolbar-")?"":void 0,...m,ref:b,"data-slot":`${o}-target`,className:S}),c[8]=m,c[9]=S,c[10]=k):k=c[10];let x;c[11]!==p?(x=p&&w.jsx("div",{className:"hidden peer-empty:contents",children:p}),c[11]=p,c[12]=x):x=c[12];let T;return c[13]!==k||c[14]!==x?(T=w.jsxs(w.Fragment,{children:[k,x]}),c[13]=k,c[14]=x,c[15]=T):T=c[15],T}function i({children:l,fallback:c=null}){const p=A.use(Ep)?.targets[e];return p?$p.createPortal(l,p):c}return Object.assign(a,{Target:n,Portal:i})}function Vee(e){const t=Ce.c(12),{children:o}=e,a=A.use(Ep);if(!a)throw new Error("A toolbar scope requires a Panel");let n;t[0]!==a.targets?(n={...a.targets,"toolbar-left":null,"toolbar-center":null,"toolbar-right":null},t[0]=a.targets,t[1]=n):n=t[1];const[i,l]=A.useState(n),c=i["toolbar-left"],d=i["toolbar-center"],p=i["toolbar-right"];let m;t[2]!==a.targets||t[3]!==c||t[4]!==d||t[5]!==p?(m={...a.targets,"toolbar-left":c,"toolbar-center":d,"toolbar-right":p},t[2]=a.targets,t[3]=c,t[4]=d,t[5]=p,t[6]=m):m=t[6];const h=m;let f;t[7]!==h?(f={targets:h,setTargets:l},t[7]=h,t[8]=f):f=t[8];let v;return t[9]!==o||t[10]!==f?(v=w.jsx(Ep,{value:f,children:o}),t[9]=o,t[10]=f,t[11]=v):v=t[11],v}function Hee(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("@container/panel-toolbar relative z-10 flex min-h-11 shrink-0 flex-wrap items-center gap-x-2 gap-y-1 px-3 py-1.5 [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{...a,"data-slot":"panel-toolbar",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function Gee(e){const t=Ce.c(11);let o,a,n;t[0]!==e?({className:o,mode:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);const i=n===void 0?"canvas":n,l=i==="scroll"?"overflow-auto":"overflow-hidden";let c;t[4]!==o||t[5]!==l?(c=ut("flex min-h-0 min-w-0 flex-1 flex-col",l,o),t[4]=o,t[5]=l,t[6]=c):c=t[6];let d;return t[7]!==i||t[8]!==a||t[9]!==c?(d=w.jsx("div",{...a,"data-slot":"panel-content","data-mode":i,className:c}),t[7]=i,t[8]=a,t[9]=c,t[10]=d):d=t[10],d}const ln=Object.assign(qee,{Topbar:Object.assign($ee,{Left:Oc("left","shrink overflow-hidden"),Center:Oc("center","flex-1 justify-center"),Right:Oc("right","shrink justify-end")}),Toolbar:Object.assign(Hee,{Scope:Vee,Left:Oc("toolbar-left","shrink"),Center:Oc("toolbar-center","flex-1 justify-center"),Right:Oc("toolbar-right","ml-auto shrink-0 justify-end")}),Content:Gee});function ht(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e?.(n),o===!1||!n.defaultPrevented)return t?.(n)}}function Wee(e,t){const o=A.createContext(t),a=i=>{const{children:l,...c}=i,d=A.useMemo(()=>c,Object.values(c));return w.jsx(o.Provider,{value:d,children:l})};a.displayName=e+"Provider";function n(i){const l=A.useContext(o);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[a,n]}function jl(e,t=[]){let o=[];function a(i,l){const c=A.createContext(l),d=o.length;o=[...o,l];const p=h=>{const{scope:f,children:v,...b}=h,S=f?.[e]?.[d]||c,k=A.useMemo(()=>b,Object.values(b));return w.jsx(S.Provider,{value:k,children:v})};p.displayName=i+"Provider";function m(h,f){const v=f?.[e]?.[d]||c,b=A.useContext(v);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[p,m]}const n=()=>{const i=o.map(l=>A.createContext(l));return function(c){const d=c?.[e]||i;return A.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return n.scopeName=e,[a,Kee(n,...t)]}function Kee(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const a=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(i){const l=a.reduce((c,{useScope:d,scopeName:p})=>{const h=d(i)[`__scope${p}`];return{...c,...h}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return o.scopeName=t.scopeName,o}var yr=globalThis?.document?A.useLayoutEffect:()=>{},Yee=TT[" useInsertionEffect ".trim().toString()]||yr;function em({prop:e,defaultProp:t,onChange:o=()=>{},caller:a}){const[n,i,l]=Zee({defaultProp:t,onChange:o}),c=e!==void 0,d=c?e:n;{const m=A.useRef(e!==void 0);A.useEffect(()=>{const h=m.current;h!==c&&console.warn(`${a} is changing from ${h?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,a])}const p=A.useCallback(m=>{if(c){const h=Qee(m)?m(e):m;h!==e&&l.current?.(h)}else i(m)},[c,e,i,l]);return[d,p]}function Zee({defaultProp:e,onChange:t}){const[o,a]=A.useState(e),n=A.useRef(o),i=A.useRef(t);return Yee(()=>{i.current=t},[t]),A.useEffect(()=>{n.current!==o&&(i.current?.(o),n.current=o)},[o,n]),[o,a,i]}function Qee(e){return typeof e=="function"}function Pp(e){const t=Jee(e),o=A.forwardRef((a,n)=>{const{children:i,...l}=a,c=A.Children.toArray(i),d=c.find(Xee);if(d){const p=d.props.children,m=c.map(h=>h===d?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:h);return w.jsx(t,{...l,ref:n,children:A.isValidElement(p)?A.cloneElement(p,void 0,m):null})}return w.jsx(t,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}function Jee(e){const t=A.forwardRef((o,a)=>{const{children:n,...i}=o;if(A.isValidElement(n)){const l=tte(n),c=ete(i,n.props);return n.type!==A.Fragment&&(c.ref=a?Xp(a,l):l),A.cloneElement(n,c)}return A.Children.count(n)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qL=Symbol("radix.slottable");function dbe(e){const t=({children:o})=>w.jsx(w.Fragment,{children:o});return t.displayName=`${e}.Slottable`,t.__radixId=qL,t}function Xee(e){return A.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qL}function ete(e,t){const o={...t};for(const a in t){const n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?o[a]=(...c)=>{const d=i(...c);return n(...c),d}:n&&(o[a]=n):a==="style"?o[a]={...n,...i}:a==="className"&&(o[a]=[n,i].filter(Boolean).join(" "))}return{...e,...o}}function tte(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var ote=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ro=ote.reduce((e,t)=>{const o=Pp(`Primitive.${t}`),a=A.forwardRef((n,i)=>{const{asChild:l,...c}=n,d=l?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(d,{...c,ref:i})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function $L(e,t){e&&$p.flushSync(()=>e.dispatchEvent(t))}function VL(e){const t=e+"CollectionProvider",[o,a]=jl(t),[n,i]=o(t,{collectionRef:{current:null},itemMap:new Map}),l=S=>{const{scope:k,children:x}=S,T=ee.useRef(null),P=ee.useRef(new Map).current;return w.jsx(n,{scope:k,itemMap:P,collectionRef:T,children:x})};l.displayName=t;const c=e+"CollectionSlot",d=Pp(c),p=ee.forwardRef((S,k)=>{const{scope:x,children:T}=S,P=i(c,x),C=sa(k,P.collectionRef);return w.jsx(d,{ref:C,children:T})});p.displayName=c;const m=e+"CollectionItemSlot",h="data-radix-collection-item",f=Pp(m),v=ee.forwardRef((S,k)=>{const{scope:x,children:T,...P}=S,C=ee.useRef(null),E=sa(k,C),R=i(m,x);return ee.useEffect(()=>(R.itemMap.set(C,{ref:C,...P}),()=>{R.itemMap.delete(C)})),w.jsx(f,{[h]:"",ref:E,children:T})});v.displayName=m;function b(S){const k=i(e+"CollectionConsumer",S);return ee.useCallback(()=>{const T=k.collectionRef.current;if(!T)return[];const P=Array.from(T.querySelectorAll(`[${h}]`));return Array.from(k.itemMap.values()).sort((R,D)=>P.indexOf(R.ref.current)-P.indexOf(D.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:l,Slot:p,ItemSlot:v},b,a]}var ate=A.createContext(void 0);function HL(e){const t=A.useContext(ate);return e||t||"ltr"}function Sr(e){const t=A.useRef(e);return A.useEffect(()=>{t.current=e}),A.useMemo(()=>(...o)=>t.current?.(...o),[])}function nte(e,t=globalThis?.document){const o=Sr(e);A.useEffect(()=>{const a=n=>{n.key==="Escape"&&o(n)};return t.addEventListener("keydown",a,{capture:!0}),()=>t.removeEventListener("keydown",a,{capture:!0})},[o,t])}var rte="DismissableLayer",cx="dismissableLayer.update",ite="dismissableLayer.pointerDownOutside",ste="dismissableLayer.focusOutside",CD,GL=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bk=A.forwardRef((e,t)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:n,onFocusOutside:i,onInteractOutside:l,onDismiss:c,...d}=e,p=A.useContext(GL),[m,h]=A.useState(null),f=m?.ownerDocument??globalThis?.document,[,v]=A.useState({}),b=sa(t,D=>h(D)),S=Array.from(p.layers),[k]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),x=S.indexOf(k),T=m?S.indexOf(m):-1,P=p.layersWithOutsidePointerEventsDisabled.size>0,C=T>=x,E=dte(D=>{const O=D.target,L=[...p.branches].some($=>$.contains(O));!C||L||(n?.(D),l?.(D),D.defaultPrevented||c?.())},f),R=ute(D=>{const O=D.target;[...p.branches].some($=>$.contains(O))||(i?.(D),l?.(D),D.defaultPrevented||c?.())},f);return nte(D=>{T===p.layers.size-1&&(a?.(D),!D.defaultPrevented&&c&&(D.preventDefault(),c()))},f),A.useEffect(()=>{if(m)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(CD=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),ED(),()=>{o&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=CD)}},[m,f,o,p]),A.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),ED())},[m,p]),A.useEffect(()=>{const D=()=>v({});return document.addEventListener(cx,D),()=>document.removeEventListener(cx,D)},[]),w.jsx(Ro.div,{...d,ref:b,style:{pointerEvents:P?C?"auto":"none":void 0,...e.style},onFocusCapture:ht(e.onFocusCapture,R.onFocusCapture),onBlurCapture:ht(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:ht(e.onPointerDownCapture,E.onPointerDownCapture)})});bk.displayName=rte;var lte="DismissableLayerBranch",cte=A.forwardRef((e,t)=>{const o=A.useContext(GL),a=A.useRef(null),n=sa(t,a);return A.useEffect(()=>{const i=a.current;if(i)return o.branches.add(i),()=>{o.branches.delete(i)}},[o.branches]),w.jsx(Ro.div,{...e,ref:n})});cte.displayName=lte;function dte(e,t=globalThis?.document){const o=Sr(e),a=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const i=c=>{if(c.target&&!a.current){let d=function(){WL(ite,o,p,{discrete:!0})};const p={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=d,t.addEventListener("click",n.current,{once:!0})):d()}else t.removeEventListener("click",n.current);a.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",n.current)}},[t,o]),{onPointerDownCapture:()=>a.current=!0}}function ute(e,t=globalThis?.document){const o=Sr(e),a=A.useRef(!1);return A.useEffect(()=>{const n=i=>{i.target&&!a.current&&WL(ste,o,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,o]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function ED(){const e=new CustomEvent(cx);document.dispatchEvent(e)}function WL(e,t,o,{discrete:a}){const n=o.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});t&&n.addEventListener(e,t,{once:!0}),a?$L(n,i):n.dispatchEvent(i)}var sw=0;function KL(){A.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??PD()),document.body.insertAdjacentElement("beforeend",e[1]??PD()),sw++,()=>{sw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),sw--}},[])}function PD(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var lw="focusScope.autoFocusOnMount",cw="focusScope.autoFocusOnUnmount",AD={bubbles:!1,cancelable:!0},pte="FocusScope",yk=A.forwardRef((e,t)=>{const{loop:o=!1,trapped:a=!1,onMountAutoFocus:n,onUnmountAutoFocus:i,...l}=e,[c,d]=A.useState(null),p=Sr(n),m=Sr(i),h=A.useRef(null),f=sa(t,S=>d(S)),v=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(a){let S=function(P){if(v.paused||!c)return;const C=P.target;c.contains(C)?h.current=C:vs(h.current,{select:!0})},k=function(P){if(v.paused||!c)return;const C=P.relatedTarget;C!==null&&(c.contains(C)||vs(h.current,{select:!0}))},x=function(P){if(document.activeElement===document.body)for(const E of P)E.removedNodes.length>0&&vs(c)};document.addEventListener("focusin",S),document.addEventListener("focusout",k);const T=new MutationObserver(x);return c&&T.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",k),T.disconnect()}}},[a,c,v.paused]),A.useEffect(()=>{if(c){DD.add(v);const S=document.activeElement;if(!c.contains(S)){const x=new CustomEvent(lw,AD);c.addEventListener(lw,p),c.dispatchEvent(x),x.defaultPrevented||(mte(bte(YL(c)),{select:!0}),document.activeElement===S&&vs(c))}return()=>{c.removeEventListener(lw,p),setTimeout(()=>{const x=new CustomEvent(cw,AD);c.addEventListener(cw,m),c.dispatchEvent(x),x.defaultPrevented||vs(S??document.body,{select:!0}),c.removeEventListener(cw,m),DD.remove(v)},0)}}},[c,p,m,v]);const b=A.useCallback(S=>{if(!o&&!a||v.paused)return;const k=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,x=document.activeElement;if(k&&x){const T=S.currentTarget,[P,C]=hte(T);P&&C?!S.shiftKey&&x===C?(S.preventDefault(),o&&vs(P,{select:!0})):S.shiftKey&&x===P&&(S.preventDefault(),o&&vs(C,{select:!0})):x===T&&S.preventDefault()}},[o,a,v.paused]);return w.jsx(Ro.div,{tabIndex:-1,...l,ref:f,onKeyDown:b})});yk.displayName=pte;function mte(e,{select:t=!1}={}){const o=document.activeElement;for(const a of e)if(vs(a,{select:t}),document.activeElement!==o)return}function hte(e){const t=YL(e),o=RD(t,e),a=RD(t.reverse(),e);return[o,a]}function YL(e){const t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const n=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||n?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)t.push(o.currentNode);return t}function RD(e,t){for(const o of e)if(!gte(o,{upTo:t}))return o}function gte(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function fte(e){return e instanceof HTMLInputElement&&"select"in e}function vs(e,{select:t=!1}={}){if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&fte(e)&&t&&e.select()}}var DD=vte();function vte(){let e=[];return{add(t){const o=e[0];t!==o&&o?.pause(),e=OD(e,t),e.unshift(t)},remove(t){e=OD(e,t),e[0]?.resume()}}}function OD(e,t){const o=[...e],a=o.indexOf(t);return a!==-1&&o.splice(a,1),o}function bte(e){return e.filter(t=>t.tagName!=="A")}var yte=TT[" useId ".trim().toString()]||(()=>{}),Ste=0;function As(e){const[t,o]=A.useState(yte());return yr(()=>{o(a=>a??String(Ste++))},[e]),t?`radix-${t}`:""}const ZL=["top","right","bottom","left"],MD=["start","end"],ND=ZL.reduce((e,t)=>e.concat(t,t+"-"+MD[0],t+"-"+MD[1]),[]),wr=Math.min,Na=Math.max,Nf=Math.round,Cg=Math.floor,Vr=e=>({x:e,y:e}),wte={left:"right",right:"left",bottom:"top",top:"bottom"};function dx(e,t,o){return Na(e,wr(t,o))}function xr(e,t){return typeof e=="function"?e(t):e}function On(e){return e.split("-")[0]}function vr(e){return e.split("-")[1]}function Sk(e){return e==="x"?"y":"x"}function wk(e){return e==="y"?"height":"width"}function fr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function xk(e){return Sk(fr(e))}function QL(e,t,o){o===void 0&&(o=!1);const a=vr(e),n=xk(e),i=wk(n);let l=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Lf(l)),[l,Lf(l)]}function xte(e){const t=Lf(e);return[If(e),t,If(t)]}function If(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ID=["left","right"],LD=["right","left"],Tte=["top","bottom"],kte=["bottom","top"];function _te(e,t,o){switch(e){case"top":case"bottom":return o?t?LD:ID:t?ID:LD;case"left":case"right":return t?Tte:kte;default:return[]}}function Cte(e,t,o,a){const n=vr(e);let i=_te(On(e),o==="start",a);return n&&(i=i.map(l=>l+"-"+n),t&&(i=i.concat(i.map(If)))),i}function Lf(e){const t=On(e);return wte[t]+e.slice(t.length)}function Ete(e){return{top:0,right:0,bottom:0,left:0,...e}}function Tk(e){return typeof e!="number"?Ete(e):{top:e,right:e,bottom:e,left:e}}function wd(e){const{x:t,y:o,width:a,height:n}=e;return{width:a,height:n,top:o,left:t,right:t+a,bottom:o+n,x:t,y:o}}function BD(e,t,o){let{reference:a,floating:n}=e;const i=fr(t),l=xk(t),c=wk(l),d=On(t),p=i==="y",m=a.x+a.width/2-n.width/2,h=a.y+a.height/2-n.height/2,f=a[c]/2-n[c]/2;let v;switch(d){case"top":v={x:m,y:a.y-n.height};break;case"bottom":v={x:m,y:a.y+a.height};break;case"right":v={x:a.x+a.width,y:h};break;case"left":v={x:a.x-n.width,y:h};break;default:v={x:a.x,y:a.y}}switch(vr(t)){case"start":v[l]-=f*(o&&p?-1:1);break;case"end":v[l]+=f*(o&&p?-1:1);break}return v}async function Pte(e,t){var o;t===void 0&&(t={});const{x:a,y:n,platform:i,rects:l,elements:c,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:f=!1,padding:v=0}=xr(t,e),b=Tk(v),k=c[f?h==="floating"?"reference":"floating":h],x=wd(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(k)))==null||o?k:k.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:p,rootBoundary:m,strategy:d})),T=h==="floating"?{x:a,y:n,width:l.floating.width,height:l.floating.height}:l.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},E=wd(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:T,offsetParent:P,strategy:d}):T);return{top:(x.top-E.top+b.top)/C.y,bottom:(E.bottom-x.bottom+b.bottom)/C.y,left:(x.left-E.left+b.left)/C.x,right:(E.right-x.right+b.right)/C.x}}const Ate=50,Rte=async(e,t,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:i=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:Pte},d=await(l.isRTL==null?void 0:l.isRTL(t));let p=await l.getElementRects({reference:e,floating:t,strategy:n}),{x:m,y:h}=BD(p,a,d),f=a,v=0;const b={};for(let S=0;S<i.length;S++){const k=i[S];if(!k)continue;const{name:x,fn:T}=k,{x:P,y:C,data:E,reset:R}=await T({x:m,y:h,initialPlacement:a,placement:f,strategy:n,middlewareData:b,rects:p,platform:c,elements:{reference:e,floating:t}});m=P??m,h=C??h,b[x]={...b[x],...E},R&&v<Ate&&(v++,typeof R=="object"&&(R.placement&&(f=R.placement),R.rects&&(p=R.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:n}):R.rects),{x:m,y:h}=BD(p,f,d)),S=-1)}return{x:m,y:h,placement:f,strategy:n,middlewareData:b}},Dte=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:a,placement:n,rects:i,platform:l,elements:c,middlewareData:d}=t,{element:p,padding:m=0}=xr(e,t)||{};if(p==null)return{};const h=Tk(m),f={x:o,y:a},v=xk(n),b=wk(v),S=await l.getDimensions(p),k=v==="y",x=k?"top":"left",T=k?"bottom":"right",P=k?"clientHeight":"clientWidth",C=i.reference[b]+i.reference[v]-f[v]-i.floating[b],E=f[v]-i.reference[v],R=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p));let D=R?R[P]:0;(!D||!await(l.isElement==null?void 0:l.isElement(R)))&&(D=c.floating[P]||i.floating[b]);const O=C/2-E/2,L=D/2-S[b]/2-1,$=wr(h[x],L),B=wr(h[T],L),U=$,F=D-S[b]-B,W=D/2-S[b]/2+O,ae=dx(U,W,F),H=!d.arrow&&vr(n)!=null&&W!==ae&&i.reference[b]/2-(W<U?$:B)-S[b]/2<0,K=H?W<U?W-U:W-F:0;return{[v]:f[v]+K,data:{[v]:ae,centerOffset:W-ae-K,...H&&{alignmentOffset:K}},reset:H}}});function Ote(e,t,o){return(e?[...o.filter(n=>vr(n)===e),...o.filter(n=>vr(n)!==e)]:o.filter(n=>On(n)===n)).filter(n=>e?vr(n)===e||(t?If(n)!==n:!1):!0)}const Mte=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,a,n;const{rects:i,middlewareData:l,placement:c,platform:d,elements:p}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:f=ND,autoAlignment:v=!0,...b}=xr(e,t),S=h!==void 0||f===ND?Ote(h||null,v,f):f,k=await d.detectOverflow(t,b),x=((o=l.autoPlacement)==null?void 0:o.index)||0,T=S[x];if(T==null)return{};const P=QL(T,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==T)return{reset:{placement:S[0]}};const C=[k[On(T)],k[P[0]],k[P[1]]],E=[...((a=l.autoPlacement)==null?void 0:a.overflows)||[],{placement:T,overflows:C}],R=S[x+1];if(R)return{data:{index:x+1,overflows:E},reset:{placement:R}};const D=E.map($=>{const B=vr($.placement);return[$.placement,B&&m?$.overflows.slice(0,2).reduce((U,F)=>U+F,0):$.overflows[0],$.overflows]}).sort(($,B)=>$[1]-B[1]),L=((n=D.filter($=>$[2].slice(0,vr($[0])?2:3).every(B=>B<=0))[0])==null?void 0:n[0])||D[0][0];return L!==c?{data:{index:x+1,overflows:E},reset:{placement:L}}:{}}}},Nte=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,a;const{placement:n,middlewareData:i,rects:l,initialPlacement:c,platform:d,elements:p}=t,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...k}=xr(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};const x=On(n),T=fr(c),P=On(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),E=f||(P||!S?[Lf(c)]:xte(c)),R=b!=="none";!f&&R&&E.push(...Cte(c,S,b,C));const D=[c,...E],O=await d.detectOverflow(t,k),L=[];let $=((a=i.flip)==null?void 0:a.overflows)||[];if(m&&L.push(O[x]),h){const W=QL(n,l,C);L.push(O[W[0]],O[W[1]])}if($=[...$,{placement:n,overflows:L}],!L.every(W=>W<=0)){var B,U;const W=(((B=i.flip)==null?void 0:B.index)||0)+1,ae=D[W];if(ae&&(!(h==="alignment"?T!==fr(ae):!1)||$.every(J=>fr(J.placement)===T?J.overflows[0]>0:!0)))return{data:{index:W,overflows:$},reset:{placement:ae}};let H=(U=$.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:U.placement;if(!H)switch(v){case"bestFit":{var F;const K=(F=$.filter(J=>{if(R){const le=fr(J.placement);return le===T||le==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(le=>le>0).reduce((le,Q)=>le+Q,0)]).sort((J,le)=>J[1]-le[1])[0])==null?void 0:F[0];K&&(H=K);break}case"initialPlacement":H=c;break}if(n!==H)return{reset:{placement:H}}}return{}}}};function FD(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function jD(e){return ZL.some(t=>e[t]>=0)}const Ite=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:o,platform:a}=t,{strategy:n="referenceHidden",...i}=xr(e,t);switch(n){case"referenceHidden":{const l=await a.detectOverflow(t,{...i,elementContext:"reference"}),c=FD(l,o.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:jD(c)}}}case"escaped":{const l=await a.detectOverflow(t,{...i,altBoundary:!0}),c=FD(l,o.floating);return{data:{escapedOffsets:c,escaped:jD(c)}}}default:return{}}}}};function JL(e){const t=wr(...e.map(i=>i.left)),o=wr(...e.map(i=>i.top)),a=Na(...e.map(i=>i.right)),n=Na(...e.map(i=>i.bottom));return{x:t,y:o,width:a-t,height:n-o}}function Lte(e){const t=e.slice().sort((n,i)=>n.y-i.y),o=[];let a=null;for(let n=0;n<t.length;n++){const i=t[n];!a||i.y-a.y>a.height/2?o.push([i]):o[o.length-1].push(i),a=i}return o.map(n=>wd(JL(n)))}const Bte=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:o,elements:a,rects:n,platform:i,strategy:l}=t,{padding:c=2,x:d,y:p}=xr(e,t),m=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(a.reference))||[]),h=Lte(m),f=wd(JL(m)),v=Tk(c);function b(){if(h.length===2&&h[0].left>h[1].right&&d!=null&&p!=null)return h.find(k=>d>k.left-v.left&&d<k.right+v.right&&p>k.top-v.top&&p<k.bottom+v.bottom)||f;if(h.length>=2){if(fr(o)==="y"){const $=h[0],B=h[h.length-1],U=On(o)==="top",F=$.top,W=B.bottom,ae=U?$.left:B.left,H=U?$.right:B.right,K=H-ae,J=W-F;return{top:F,bottom:W,left:ae,right:H,width:K,height:J,x:ae,y:F}}const k=On(o)==="left",x=Na(...h.map($=>$.right)),T=wr(...h.map($=>$.left)),P=h.filter($=>k?$.left===T:$.right===x),C=P[0].top,E=P[P.length-1].bottom,R=T,D=x,O=D-R,L=E-C;return{top:C,bottom:E,left:R,right:D,width:O,height:L,x:R,y:C}}return f}const S=await i.getElementRects({reference:{getBoundingClientRect:b},floating:a.floating,strategy:l});return n.reference.x!==S.reference.x||n.reference.y!==S.reference.y||n.reference.width!==S.reference.width||n.reference.height!==S.reference.height?{reset:{rects:S}}:{}}}},XL=new Set(["left","top"]);async function Fte(e,t){const{placement:o,platform:a,elements:n}=e,i=await(a.isRTL==null?void 0:a.isRTL(n.floating)),l=On(o),c=vr(o),d=fr(o)==="y",p=XL.has(l)?-1:1,m=i&&d?-1:1,h=xr(t,e);let{mainAxis:f,crossAxis:v,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof b=="number"&&(v=c==="end"?b*-1:b),d?{x:v*m,y:f*p}:{x:f*p,y:v*m}}const jte=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,a;const{x:n,y:i,placement:l,middlewareData:c}=t,d=await Fte(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(a=c.arrow)!=null&&a.alignmentOffset?{}:{x:n+d.x,y:i+d.y,data:{...d,placement:l}}}}},zte=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:a,placement:n,platform:i}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:d={fn:x=>{let{x:T,y:P}=x;return{x:T,y:P}}},...p}=xr(e,t),m={x:o,y:a},h=await i.detectOverflow(t,p),f=fr(On(n)),v=Sk(f);let b=m[v],S=m[f];if(l){const x=v==="y"?"top":"left",T=v==="y"?"bottom":"right",P=b+h[x],C=b-h[T];b=dx(P,b,C)}if(c){const x=f==="y"?"top":"left",T=f==="y"?"bottom":"right",P=S+h[x],C=S-h[T];S=dx(P,S,C)}const k=d.fn({...t,[v]:b,[f]:S});return{...k,data:{x:k.x-o,y:k.y-a,enabled:{[v]:l,[f]:c}}}}}},Ute=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:o,y:a,placement:n,rects:i,middlewareData:l}=t,{offset:c=0,mainAxis:d=!0,crossAxis:p=!0}=xr(e,t),m={x:o,y:a},h=fr(n),f=Sk(h);let v=m[f],b=m[h];const S=xr(c,t),k=typeof S=="number"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(d){const P=f==="y"?"height":"width",C=i.reference[f]-i.floating[P]+k.mainAxis,E=i.reference[f]+i.reference[P]-k.mainAxis;v<C?v=C:v>E&&(v=E)}if(p){var x,T;const P=f==="y"?"width":"height",C=XL.has(On(n)),E=i.reference[h]-i.floating[P]+(C&&((x=l.offset)==null?void 0:x[h])||0)+(C?0:k.crossAxis),R=i.reference[h]+i.reference[P]+(C?0:((T=l.offset)==null?void 0:T[h])||0)-(C?k.crossAxis:0);b<E?b=E:b>R&&(b=R)}return{[f]:v,[h]:b}}}},qte=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,a;const{placement:n,rects:i,platform:l,elements:c}=t,{apply:d=()=>{},...p}=xr(e,t),m=await l.detectOverflow(t,p),h=On(n),f=vr(n),v=fr(n)==="y",{width:b,height:S}=i.floating;let k,x;h==="top"||h==="bottom"?(k=h,x=f===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(x=h,k=f==="end"?"top":"bottom");const T=S-m.top-m.bottom,P=b-m.left-m.right,C=wr(S-m[k],T),E=wr(b-m[x],P),R=!t.middlewareData.shift;let D=C,O=E;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(O=P),(a=t.middlewareData.shift)!=null&&a.enabled.y&&(D=T),R&&!f){const $=Na(m.left,0),B=Na(m.right,0),U=Na(m.top,0),F=Na(m.bottom,0);v?O=b-2*($!==0||B!==0?$+B:Na(m.left,m.right)):D=S-2*(U!==0||F!==0?U+F:Na(m.top,m.bottom))}await d({...t,availableWidth:O,availableHeight:D});const L=await l.getDimensions(c.floating);return b!==L.width||S!==L.height?{reset:{rects:!0}}:{}}}};function Lv(){return typeof window<"u"}function Ld(e){return eB(e)?(e.nodeName||"").toLowerCase():"#document"}function Rn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gr(e){var t;return(t=(eB(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function eB(e){return Lv()?e instanceof Node||e instanceof Rn(e).Node:!1}function Tr(e){return Lv()?e instanceof Element||e instanceof Rn(e).Element:!1}function Oi(e){return Lv()?e instanceof HTMLElement||e instanceof Rn(e).HTMLElement:!1}function zD(e){return!Lv()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rn(e).ShadowRoot}function tm(e){const{overflow:t,overflowX:o,overflowY:a,display:n}=kr(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+o)&&n!=="inline"&&n!=="contents"}function $te(e){return/^(table|td|th)$/.test(Ld(e))}function Bv(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Vte=/transform|translate|scale|rotate|perspective|filter/,Hte=/paint|layout|strict|content/,ul=e=>!!e&&e!=="none";let dw;function kk(e){const t=Tr(e)?kr(e):e;return ul(t.transform)||ul(t.translate)||ul(t.scale)||ul(t.rotate)||ul(t.perspective)||!_k()&&(ul(t.backdropFilter)||ul(t.filter))||Vte.test(t.willChange||"")||Hte.test(t.contain||"")}function Gte(e){let t=Ns(e);for(;Oi(t)&&!xd(t);){if(kk(t))return t;if(Bv(t))return null;t=Ns(t)}return null}function _k(){return dw==null&&(dw=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),dw}function xd(e){return/^(html|body|#document)$/.test(Ld(e))}function kr(e){return Rn(e).getComputedStyle(e)}function Fv(e){return Tr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ns(e){if(Ld(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zD(e)&&e.host||Gr(e);return zD(t)?t.host:t}function tB(e){const t=Ns(e);return xd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Oi(t)&&tm(t)?t:tB(t)}function Ap(e,t,o){var a;t===void 0&&(t=[]),o===void 0&&(o=!0);const n=tB(e),i=n===((a=e.ownerDocument)==null?void 0:a.body),l=Rn(n);if(i){const c=ux(l);return t.concat(l,l.visualViewport||[],tm(n)?n:[],c&&o?Ap(c):[])}else return t.concat(n,Ap(n,[],o))}function ux(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function oB(e){const t=kr(e);let o=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const n=Oi(e),i=n?e.offsetWidth:o,l=n?e.offsetHeight:a,c=Nf(o)!==i||Nf(a)!==l;return c&&(o=i,a=l),{width:o,height:a,$:c}}function Ck(e){return Tr(e)?e:e.contextElement}function id(e){const t=Ck(e);if(!Oi(t))return Vr(1);const o=t.getBoundingClientRect(),{width:a,height:n,$:i}=oB(t);let l=(i?Nf(o.width):o.width)/a,c=(i?Nf(o.height):o.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const Wte=Vr(0);function aB(e){const t=Rn(e);return!_k()||!t.visualViewport?Wte:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Kte(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Rn(e)?!1:t}function Rl(e,t,o,a){t===void 0&&(t=!1),o===void 0&&(o=!1);const n=e.getBoundingClientRect(),i=Ck(e);let l=Vr(1);t&&(a?Tr(a)&&(l=id(a)):l=id(e));const c=Kte(i,o,a)?aB(i):Vr(0);let d=(n.left+c.x)/l.x,p=(n.top+c.y)/l.y,m=n.width/l.x,h=n.height/l.y;if(i){const f=Rn(i),v=a&&Tr(a)?Rn(a):a;let b=f,S=ux(b);for(;S&&a&&v!==b;){const k=id(S),x=S.getBoundingClientRect(),T=kr(S),P=x.left+(S.clientLeft+parseFloat(T.paddingLeft))*k.x,C=x.top+(S.clientTop+parseFloat(T.paddingTop))*k.y;d*=k.x,p*=k.y,m*=k.x,h*=k.y,d+=P,p+=C,b=Rn(S),S=ux(b)}}return wd({width:m,height:h,x:d,y:p})}function jv(e,t){const o=Fv(e).scrollLeft;return t?t.left+o:Rl(Gr(e)).left+o}function nB(e,t){const o=e.getBoundingClientRect(),a=o.left+t.scrollLeft-jv(e,o),n=o.top+t.scrollTop;return{x:a,y:n}}function Yte(e){let{elements:t,rect:o,offsetParent:a,strategy:n}=e;const i=n==="fixed",l=Gr(a),c=t?Bv(t.floating):!1;if(a===l||c&&i)return o;let d={scrollLeft:0,scrollTop:0},p=Vr(1);const m=Vr(0),h=Oi(a);if((h||!h&&!i)&&((Ld(a)!=="body"||tm(l))&&(d=Fv(a)),h)){const v=Rl(a);p=id(a),m.x=v.x+a.clientLeft,m.y=v.y+a.clientTop}const f=l&&!h&&!i?nB(l,d):Vr(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+m.x+f.x,y:o.y*p.y-d.scrollTop*p.y+m.y+f.y}}function Zte(e){return Array.from(e.getClientRects())}function Qte(e){const t=Gr(e),o=Fv(e),a=e.ownerDocument.body,n=Na(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),i=Na(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let l=-o.scrollLeft+jv(e);const c=-o.scrollTop;return kr(a).direction==="rtl"&&(l+=Na(t.clientWidth,a.clientWidth)-n),{width:n,height:i,x:l,y:c}}const UD=25;function Jte(e,t){const o=Rn(e),a=Gr(e),n=o.visualViewport;let i=a.clientWidth,l=a.clientHeight,c=0,d=0;if(n){i=n.width,l=n.height;const m=_k();(!m||m&&t==="fixed")&&(c=n.offsetLeft,d=n.offsetTop)}const p=jv(a);if(p<=0){const m=a.ownerDocument,h=m.body,f=getComputedStyle(h),v=m.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,b=Math.abs(a.clientWidth-h.clientWidth-v);b<=UD&&(i-=b)}else p<=UD&&(i+=p);return{width:i,height:l,x:c,y:d}}function Xte(e,t){const o=Rl(e,!0,t==="fixed"),a=o.top+e.clientTop,n=o.left+e.clientLeft,i=Oi(e)?id(e):Vr(1),l=e.clientWidth*i.x,c=e.clientHeight*i.y,d=n*i.x,p=a*i.y;return{width:l,height:c,x:d,y:p}}function qD(e,t,o){let a;if(t==="viewport")a=Jte(e,o);else if(t==="document")a=Qte(Gr(e));else if(Tr(t))a=Xte(t,o);else{const n=aB(e);a={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return wd(a)}function rB(e,t){const o=Ns(e);return o===t||!Tr(o)||xd(o)?!1:kr(o).position==="fixed"||rB(o,t)}function eoe(e,t){const o=t.get(e);if(o)return o;let a=Ap(e,[],!1).filter(c=>Tr(c)&&Ld(c)!=="body"),n=null;const i=kr(e).position==="fixed";let l=i?Ns(e):e;for(;Tr(l)&&!xd(l);){const c=kr(l),d=kk(l);!d&&c.position==="fixed"&&(n=null),(i?!d&&!n:!d&&c.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||tm(l)&&!d&&rB(e,l))?a=a.filter(m=>m!==l):n=c,l=Ns(l)}return t.set(e,a),a}function toe(e){let{element:t,boundary:o,rootBoundary:a,strategy:n}=e;const l=[...o==="clippingAncestors"?Bv(t)?[]:eoe(t,this._c):[].concat(o),a],c=qD(t,l[0],n);let d=c.top,p=c.right,m=c.bottom,h=c.left;for(let f=1;f<l.length;f++){const v=qD(t,l[f],n);d=Na(v.top,d),p=wr(v.right,p),m=wr(v.bottom,m),h=Na(v.left,h)}return{width:p-h,height:m-d,x:h,y:d}}function ooe(e){const{width:t,height:o}=oB(e);return{width:t,height:o}}function aoe(e,t,o){const a=Oi(t),n=Gr(t),i=o==="fixed",l=Rl(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const d=Vr(0);function p(){d.x=jv(n)}if(a||!a&&!i)if((Ld(t)!=="body"||tm(n))&&(c=Fv(t)),a){const v=Rl(t,!0,i,t);d.x=v.x+t.clientLeft,d.y=v.y+t.clientTop}else n&&p();i&&!a&&n&&p();const m=n&&!a&&!i?nB(n,c):Vr(0),h=l.left+c.scrollLeft-d.x-m.x,f=l.top+c.scrollTop-d.y-m.y;return{x:h,y:f,width:l.width,height:l.height}}function uw(e){return kr(e).position==="static"}function $D(e,t){if(!Oi(e)||kr(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Gr(e)===o&&(o=o.ownerDocument.body),o}function iB(e,t){const o=Rn(e);if(Bv(e))return o;if(!Oi(e)){let n=Ns(e);for(;n&&!xd(n);){if(Tr(n)&&!uw(n))return n;n=Ns(n)}return o}let a=$D(e,t);for(;a&&$te(a)&&uw(a);)a=$D(a,t);return a&&xd(a)&&uw(a)&&!kk(a)?o:a||Gte(e)||o}const noe=async function(e){const t=this.getOffsetParent||iB,o=this.getDimensions,a=await o(e.floating);return{reference:aoe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function roe(e){return kr(e).direction==="rtl"}const ioe={convertOffsetParentRelativeRectToViewportRelativeRect:Yte,getDocumentElement:Gr,getClippingRect:toe,getOffsetParent:iB,getElementRects:noe,getClientRects:Zte,getDimensions:ooe,getScale:id,isElement:Tr,isRTL:roe};function sB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function soe(e,t){let o=null,a;const n=Gr(e);function i(){var c;clearTimeout(a),(c=o)==null||c.disconnect(),o=null}function l(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const p=e.getBoundingClientRect(),{left:m,top:h,width:f,height:v}=p;if(c||t(),!f||!v)return;const b=Cg(h),S=Cg(n.clientWidth-(m+f)),k=Cg(n.clientHeight-(h+v)),x=Cg(m),P={rootMargin:-b+"px "+-S+"px "+-k+"px "+-x+"px",threshold:Na(0,wr(1,d))||1};let C=!0;function E(R){const D=R[0].intersectionRatio;if(D!==d){if(!C)return l();D?l(!1,D):a=setTimeout(()=>{l(!1,1e-7)},1e3)}D===1&&!sB(p,e.getBoundingClientRect())&&l(),C=!1}try{o=new IntersectionObserver(E,{...P,root:n.ownerDocument})}catch{o=new IntersectionObserver(E,P)}o.observe(e)}return l(!0),i}function loe(e,t,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=a,p=Ck(e),m=n||i?[...p?Ap(p):[],...t?Ap(t):[]]:[];m.forEach(x=>{n&&x.addEventListener("scroll",o,{passive:!0}),i&&x.addEventListener("resize",o)});const h=p&&c?soe(p,o):null;let f=-1,v=null;l&&(v=new ResizeObserver(x=>{let[T]=x;T&&T.target===p&&v&&t&&(v.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var P;(P=v)==null||P.observe(t)})),o()}),p&&!d&&v.observe(p),t&&v.observe(t));let b,S=d?Rl(e):null;d&&k();function k(){const x=Rl(e);S&&!sB(S,x)&&o(),S=x,b=requestAnimationFrame(k)}return o(),()=>{var x;m.forEach(T=>{n&&T.removeEventListener("scroll",o),i&&T.removeEventListener("resize",o)}),h?.(),(x=v)==null||x.disconnect(),v=null,d&&cancelAnimationFrame(b)}}const coe=jte,ube=Mte,doe=zte,uoe=Nte,poe=qte,moe=Ite,VD=Dte,pbe=Bte,hoe=Ute,goe=(e,t,o)=>{const a=new Map,n={platform:ioe,...o},i={...n.platform,_c:a};return Rte(e,t,{...n,platform:i})};var foe=typeof document<"u",voe=function(){},ef=foe?A.useLayoutEffect:voe;function Bf(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let o,a,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==t.length)return!1;for(a=o;a--!==0;)if(!Bf(e[a],t[a]))return!1;return!0}if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(a=o;a--!==0;)if(!{}.hasOwnProperty.call(t,n[a]))return!1;for(a=o;a--!==0;){const i=n[a];if(!(i==="_owner"&&e.$$typeof)&&!Bf(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function lB(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function HD(e,t){const o=lB(e);return Math.round(t*o)/o}function pw(e){const t=A.useRef(e);return ef(()=>{t.current=e}),t}function boe(e){e===void 0&&(e={});const{placement:t="bottom",strategy:o="absolute",middleware:a=[],platform:n,elements:{reference:i,floating:l}={},transform:c=!0,whileElementsMounted:d,open:p}=e,[m,h]=A.useState({x:0,y:0,strategy:o,placement:t,middlewareData:{},isPositioned:!1}),[f,v]=A.useState(a);Bf(f,a)||v(a);const[b,S]=A.useState(null),[k,x]=A.useState(null),T=A.useCallback(J=>{J!==R.current&&(R.current=J,S(J))},[]),P=A.useCallback(J=>{J!==D.current&&(D.current=J,x(J))},[]),C=i||b,E=l||k,R=A.useRef(null),D=A.useRef(null),O=A.useRef(m),L=d!=null,$=pw(d),B=pw(n),U=pw(p),F=A.useCallback(()=>{if(!R.current||!D.current)return;const J={placement:t,strategy:o,middleware:f};B.current&&(J.platform=B.current),goe(R.current,D.current,J).then(le=>{const Q={...le,isPositioned:U.current!==!1};W.current&&!Bf(O.current,Q)&&(O.current=Q,$p.flushSync(()=>{h(Q)}))})},[f,t,o,B,U]);ef(()=>{p===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,h(J=>({...J,isPositioned:!1})))},[p]);const W=A.useRef(!1);ef(()=>(W.current=!0,()=>{W.current=!1}),[]),ef(()=>{if(C&&(R.current=C),E&&(D.current=E),C&&E){if($.current)return $.current(C,E,F);F()}},[C,E,F,$,L]);const ae=A.useMemo(()=>({reference:R,floating:D,setReference:T,setFloating:P}),[T,P]),H=A.useMemo(()=>({reference:C,floating:E}),[C,E]),K=A.useMemo(()=>{const J={position:o,left:0,top:0};if(!H.floating)return J;const le=HD(H.floating,m.x),Q=HD(H.floating,m.y);return c?{...J,transform:"translate("+le+"px, "+Q+"px)",...lB(H.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:le,top:Q}},[o,c,H.floating,m.x,m.y]);return A.useMemo(()=>({...m,update:F,refs:ae,elements:H,floatingStyles:K}),[m,F,ae,H,K])}const yoe=e=>{function t(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){const{element:a,padding:n}=typeof e=="function"?e(o):e;return a&&t(a)?a.current!=null?VD({element:a.current,padding:n}).fn(o):{}:a?VD({element:a,padding:n}).fn(o):{}}}},Soe=(e,t)=>{const o=coe(e);return{name:o.name,fn:o.fn,options:[e,t]}},woe=(e,t)=>{const o=doe(e);return{name:o.name,fn:o.fn,options:[e,t]}},xoe=(e,t)=>({fn:hoe(e).fn,options:[e,t]}),Toe=(e,t)=>{const o=uoe(e);return{name:o.name,fn:o.fn,options:[e,t]}},koe=(e,t)=>{const o=poe(e);return{name:o.name,fn:o.fn,options:[e,t]}},_oe=(e,t)=>{const o=moe(e);return{name:o.name,fn:o.fn,options:[e,t]}},Coe=(e,t)=>{const o=yoe(e);return{name:o.name,fn:o.fn,options:[e,t]}};var Eoe="Arrow",cB=A.forwardRef((e,t)=>{const{children:o,width:a=10,height:n=5,...i}=e;return w.jsx(Ro.svg,{...i,ref:t,width:a,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});cB.displayName=Eoe;var Poe=cB;function dB(e){const[t,o]=A.useState(void 0);return yr(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});const a=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const i=n[0];let l,c;if("borderBoxSize"in i){const d=i.borderBoxSize,p=Array.isArray(d)?d[0]:d;l=p.inlineSize,c=p.blockSize}else l=e.offsetWidth,c=e.offsetHeight;o({width:l,height:c})});return a.observe(e,{box:"border-box"}),()=>a.unobserve(e)}else o(void 0)},[e]),t}var Ek="Popper",[uB,pB]=jl(Ek),[Aoe,mB]=uB(Ek),hB=e=>{const{__scopePopper:t,children:o}=e,[a,n]=A.useState(null);return w.jsx(Aoe,{scope:t,anchor:a,onAnchorChange:n,children:o})};hB.displayName=Ek;var gB="PopperAnchor",fB=A.forwardRef((e,t)=>{const{__scopePopper:o,virtualRef:a,...n}=e,i=mB(gB,o),l=A.useRef(null),c=sa(t,l),d=A.useRef(null);return A.useEffect(()=>{const p=d.current;d.current=a?.current||l.current,p!==d.current&&i.onAnchorChange(d.current)}),a?null:w.jsx(Ro.div,{...n,ref:c})});fB.displayName=gB;var Pk="PopperContent",[Roe,Doe]=uB(Pk),vB=A.forwardRef((e,t)=>{const{__scopePopper:o,side:a="bottom",sideOffset:n=0,align:i="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:p=[],collisionPadding:m=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:v="optimized",onPlaced:b,...S}=e,k=mB(Pk,o),[x,T]=A.useState(null),P=sa(t,pe=>T(pe)),[C,E]=A.useState(null),R=dB(C),D=R?.width??0,O=R?.height??0,L=a+(i!=="center"?"-"+i:""),$=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(p)?p:[p],U=B.length>0,F={padding:$,boundary:B.filter(Moe),altBoundary:U},{refs:W,floatingStyles:ae,placement:H,isPositioned:K,middlewareData:J}=boe({strategy:"fixed",placement:L,whileElementsMounted:(...pe)=>loe(...pe,{animationFrame:v==="always"}),elements:{reference:k.anchor},middleware:[Soe({mainAxis:n+O,alignmentAxis:l}),d&&woe({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?xoe():void 0,...F}),d&&Toe({...F}),koe({...F,apply:({elements:pe,rects:he,availableWidth:ke,availableHeight:qe})=>{const{width:Z,height:ne}=he.reference,ve=pe.floating.style;ve.setProperty("--radix-popper-available-width",`${ke}px`),ve.setProperty("--radix-popper-available-height",`${qe}px`),ve.setProperty("--radix-popper-anchor-width",`${Z}px`),ve.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),C&&Coe({element:C,padding:c}),Noe({arrowWidth:D,arrowHeight:O}),f&&_oe({strategy:"referenceHidden",...F})]}),[le,Q]=SB(H),N=Sr(b);yr(()=>{K&&N?.()},[K,N]);const G=J.arrow?.x,V=J.arrow?.y,I=J.arrow?.centerOffset!==0,[z,X]=A.useState();return yr(()=>{x&&X(window.getComputedStyle(x).zIndex)},[x]),w.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...ae,transform:K?ae.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:z,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(Roe,{scope:o,placedSide:le,onArrowChange:E,arrowX:G,arrowY:V,shouldHideArrow:I,children:w.jsx(Ro.div,{"data-side":le,"data-align":Q,...S,ref:P,style:{...S.style,animation:K?void 0:"none"}})})})});vB.displayName=Pk;var bB="PopperArrow",Ooe={top:"bottom",right:"left",bottom:"top",left:"right"},yB=A.forwardRef(function(t,o){const{__scopePopper:a,...n}=t,i=Doe(bB,a),l=Ooe[i.placedSide];return w.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:w.jsx(Poe,{...n,ref:o,style:{...n.style,display:"block"}})})});yB.displayName=bB;function Moe(e){return e!==null}var Noe=e=>({name:"transformOrigin",options:e,fn(t){const{placement:o,rects:a,middlewareData:n}=t,l=n.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[p,m]=SB(o),h={start:"0%",center:"50%",end:"100%"}[m],f=(n.arrow?.x??0)+c/2,v=(n.arrow?.y??0)+d/2;let b="",S="";return p==="bottom"?(b=l?h:`${f}px`,S=`${-d}px`):p==="top"?(b=l?h:`${f}px`,S=`${a.floating.height+d}px`):p==="right"?(b=`${-d}px`,S=l?h:`${v}px`):p==="left"&&(b=`${a.floating.width+d}px`,S=l?h:`${v}px`),{data:{x:b,y:S}}}});function SB(e){const[t,o="center"]=e.split("-");return[t,o]}var wB=hB,Ioe=fB,Loe=vB,Boe=yB,Foe="Portal",Ak=A.forwardRef((e,t)=>{const{container:o,...a}=e,[n,i]=A.useState(!1);yr(()=>i(!0),[]);const l=o||n&&globalThis?.document?.body;return l?AM.createPortal(w.jsx(Ro.div,{...a,ref:t}),l):null});Ak.displayName=Foe;function joe(e,t){return A.useReducer((o,a)=>t[o][a]??o,e)}var Mi=e=>{const{present:t,children:o}=e,a=zoe(t),n=typeof o=="function"?o({present:a.isPresent}):A.Children.only(o),i=sa(a.ref,Uoe(n));return typeof o=="function"||a.isPresent?A.cloneElement(n,{ref:i}):null};Mi.displayName="Presence";function zoe(e){const[t,o]=A.useState(),a=A.useRef(null),n=A.useRef(e),i=A.useRef("none"),l=e?"mounted":"unmounted",[c,d]=joe(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const p=Eg(a.current);i.current=c==="mounted"?p:"none"},[c]),yr(()=>{const p=a.current,m=n.current;if(m!==e){const f=i.current,v=Eg(p);e?d("MOUNT"):v==="none"||p?.display==="none"?d("UNMOUNT"):d(m&&f!==v?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,d]),yr(()=>{if(t){let p;const m=t.ownerDocument.defaultView??window,h=v=>{const S=Eg(a.current).includes(CSS.escape(v.animationName));if(v.target===t&&S&&(d("ANIMATION_END"),!n.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",p=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},f=v=>{v.target===t&&(i.current=Eg(a.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{m.clearTimeout(p),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:A.useCallback(p=>{a.current=p?getComputedStyle(p):null,o(p)},[])}}function Eg(e){return e?.animationName||"none"}function Uoe(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var mw="rovingFocusGroup.onEntryFocus",qoe={bubbles:!1,cancelable:!0},om="RovingFocusGroup",[px,xB,$oe]=VL(om),[Voe,TB]=jl(om,[$oe]),[Hoe,Goe]=Voe(om),kB=A.forwardRef((e,t)=>w.jsx(px.Provider,{scope:e.__scopeRovingFocusGroup,children:w.jsx(px.Slot,{scope:e.__scopeRovingFocusGroup,children:w.jsx(Woe,{...e,ref:t})})}));kB.displayName=om;var Woe=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,orientation:a,loop:n=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:p,preventScrollOnEntryFocus:m=!1,...h}=e,f=A.useRef(null),v=sa(t,f),b=HL(i),[S,k]=em({prop:l,defaultProp:c??null,onChange:d,caller:om}),[x,T]=A.useState(!1),P=Sr(p),C=xB(o),E=A.useRef(!1),[R,D]=A.useState(0);return A.useEffect(()=>{const O=f.current;if(O)return O.addEventListener(mw,P),()=>O.removeEventListener(mw,P)},[P]),w.jsx(Hoe,{scope:o,orientation:a,dir:b,loop:n,currentTabStopId:S,onItemFocus:A.useCallback(O=>k(O),[k]),onItemShiftTab:A.useCallback(()=>T(!0),[]),onFocusableItemAdd:A.useCallback(()=>D(O=>O+1),[]),onFocusableItemRemove:A.useCallback(()=>D(O=>O-1),[]),children:w.jsx(Ro.div,{tabIndex:x||R===0?-1:0,"data-orientation":a,...h,ref:v,style:{outline:"none",...e.style},onMouseDown:ht(e.onMouseDown,()=>{E.current=!0}),onFocus:ht(e.onFocus,O=>{const L=!E.current;if(O.target===O.currentTarget&&L&&!x){const $=new CustomEvent(mw,qoe);if(O.currentTarget.dispatchEvent($),!$.defaultPrevented){const B=C().filter(H=>H.focusable),U=B.find(H=>H.active),F=B.find(H=>H.id===S),ae=[U,F,...B].filter(Boolean).map(H=>H.ref.current);EB(ae,m)}}E.current=!1}),onBlur:ht(e.onBlur,()=>T(!1))})})}),_B="RovingFocusGroupItem",CB=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:o,focusable:a=!0,active:n=!1,tabStopId:i,children:l,...c}=e,d=As(),p=i||d,m=Goe(_B,o),h=m.currentTabStopId===p,f=xB(o),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:S}=m;return A.useEffect(()=>{if(a)return v(),()=>b()},[a,v,b]),w.jsx(px.ItemSlot,{scope:o,id:p,focusable:a,active:n,children:w.jsx(Ro.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:t,onMouseDown:ht(e.onMouseDown,k=>{a?m.onItemFocus(p):k.preventDefault()}),onFocus:ht(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:ht(e.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){m.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const x=Zoe(k,m.orientation,m.dir);if(x!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let P=f().filter(C=>C.focusable).map(C=>C.ref.current);if(x==="last")P.reverse();else if(x==="prev"||x==="next"){x==="prev"&&P.reverse();const C=P.indexOf(k.currentTarget);P=m.loop?Qoe(P,C+1):P.slice(C+1)}setTimeout(()=>EB(P))}}),children:typeof l=="function"?l({isCurrentTabStop:h,hasTabStop:S!=null}):l})})});CB.displayName=_B;var Koe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Yoe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Zoe(e,t,o){const a=Yoe(e.key,o);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return Koe[a]}function EB(e,t=!1){const o=document.activeElement;for(const a of e)if(a===o||(a.focus({preventScroll:t}),document.activeElement!==o))return}function Qoe(e,t){return e.map((o,a)=>e[(t+a)%e.length])}var Joe=kB,Xoe=CB,eae=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Mc=new WeakMap,Pg=new WeakMap,Ag={},hw=0,PB=function(e){return e&&(e.host||PB(e.parentNode))},tae=function(e,t){return t.map(function(o){if(e.contains(o))return o;var a=PB(o);return a&&e.contains(a)?a:(console.error("aria-hidden",o,"in not contained inside",e,". Doing nothing"),null)}).filter(function(o){return!!o})},oae=function(e,t,o,a){var n=tae(t,Array.isArray(e)?e:[e]);Ag[o]||(Ag[o]=new WeakMap);var i=Ag[o],l=[],c=new Set,d=new Set(n),p=function(h){!h||c.has(h)||(c.add(h),p(h.parentNode))};n.forEach(p);var m=function(h){!h||d.has(h)||Array.prototype.forEach.call(h.children,function(f){if(c.has(f))m(f);else try{var v=f.getAttribute(a),b=v!==null&&v!=="false",S=(Mc.get(f)||0)+1,k=(i.get(f)||0)+1;Mc.set(f,S),i.set(f,k),l.push(f),S===1&&b&&Pg.set(f,!0),k===1&&f.setAttribute(o,"true"),b||f.setAttribute(a,"true")}catch(x){console.error("aria-hidden: cannot operate on ",f,x)}})};return m(t),c.clear(),hw++,function(){l.forEach(function(h){var f=Mc.get(h)-1,v=i.get(h)-1;Mc.set(h,f),i.set(h,v),f||(Pg.has(h)||h.removeAttribute(a),Pg.delete(h)),v||h.removeAttribute(o)}),hw--,hw||(Mc=new WeakMap,Mc=new WeakMap,Pg=new WeakMap,Ag={})}},AB=function(e,t,o){o===void 0&&(o="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),n=eae(e);return n?(a.push.apply(a,Array.from(n.querySelectorAll("[aria-live], script"))),oae(a,n,o,"aria-hidden")):function(){return null}},zr=function(){return zr=Object.assign||function(t){for(var o,a=1,n=arguments.length;a<n;a++){o=arguments[a];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},zr.apply(this,arguments)};function RB(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]]);return o}function aae(e,t,o){if(o||arguments.length===2)for(var a=0,n=t.length,i;a<n;a++)(i||!(a in t))&&(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}var tf="right-scroll-bar-position",of="width-before-scroll-bar",nae="with-scroll-bars-hidden",rae="--removed-body-scroll-bar-size";function gw(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function iae(e,t){var o=A.useState(function(){return{value:e,callback:t,facade:{get current(){return o.value},set current(a){var n=o.value;n!==a&&(o.value=a,o.callback(a,n))}}}})[0];return o.callback=t,o.facade}var sae=typeof window<"u"?A.useLayoutEffect:A.useEffect,GD=new WeakMap;function lae(e,t){var o=iae(null,function(a){return e.forEach(function(n){return gw(n,a)})});return sae(function(){var a=GD.get(o);if(a){var n=new Set(a),i=new Set(e),l=o.current;n.forEach(function(c){i.has(c)||gw(c,null)}),i.forEach(function(c){n.has(c)||gw(c,l)})}GD.set(o,e)},[e]),o}function cae(e){return e}function dae(e,t){t===void 0&&(t=cae);var o=[],a=!1,n={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:e},useMedium:function(i){var l=t(i,a);return o.push(l),function(){o=o.filter(function(c){return c!==l})}},assignSyncMedium:function(i){for(a=!0;o.length;){var l=o;o=[],l.forEach(i)}o={push:function(c){return i(c)},filter:function(){return o}}},assignMedium:function(i){a=!0;var l=[];if(o.length){var c=o;o=[],c.forEach(i),l=o}var d=function(){var m=l;l=[],m.forEach(i)},p=function(){return Promise.resolve().then(d)};p(),o={push:function(m){l.push(m),p()},filter:function(m){return l=l.filter(m),o}}}};return n}function uae(e){e===void 0&&(e={});var t=dae(null);return t.options=zr({async:!0,ssr:!1},e),t}var DB=function(e){var t=e.sideCar,o=RB(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return A.createElement(a,zr({},o))};DB.isSideCarExport=!0;function pae(e,t){return e.useMedium(t),DB}var OB=uae(),fw=function(){},zv=A.forwardRef(function(e,t){var o=A.useRef(null),a=A.useState({onScrollCapture:fw,onWheelCapture:fw,onTouchMoveCapture:fw}),n=a[0],i=a[1],l=e.forwardProps,c=e.children,d=e.className,p=e.removeScrollBar,m=e.enabled,h=e.shards,f=e.sideCar,v=e.noRelative,b=e.noIsolation,S=e.inert,k=e.allowPinchZoom,x=e.as,T=x===void 0?"div":x,P=e.gapMode,C=RB(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=f,R=lae([o,t]),D=zr(zr({},C),n);return A.createElement(A.Fragment,null,m&&A.createElement(E,{sideCar:OB,removeScrollBar:p,shards:h,noRelative:v,noIsolation:b,inert:S,setCallbacks:i,allowPinchZoom:!!k,lockRef:o,gapMode:P}),l?A.cloneElement(A.Children.only(c),zr(zr({},D),{ref:R})):A.createElement(T,zr({},D,{className:d,ref:R}),c))});zv.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};zv.classNames={fullWidth:of,zeroRight:tf};var mae=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function hae(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mae();return t&&e.setAttribute("nonce",t),e}function gae(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function fae(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vae=function(){var e=0,t=null;return{add:function(o){e==0&&(t=hae())&&(gae(t,o),fae(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},bae=function(){var e=vae();return function(t,o){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&o])}},MB=function(){var e=bae(),t=function(o){var a=o.styles,n=o.dynamic;return e(a,n),null};return t},yae={left:0,top:0,right:0,gap:0},vw=function(e){return parseInt(e||"",10)||0},Sae=function(e){var t=window.getComputedStyle(document.body),o=t[e==="padding"?"paddingLeft":"marginLeft"],a=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[vw(o),vw(a),vw(n)]},wae=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yae;var t=Sae(e),o=document.documentElement.clientWidth,a=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,a-o+t[2]-t[0])}},xae=MB(),sd="data-scroll-locked",Tae=function(e,t,o,a){var n=e.left,i=e.top,l=e.right,c=e.gap;return o===void 0&&(o="margin"),`
|
|
128
128
|
.`.concat(nae,` {
|
|
129
129
|
overflow: hidden `).concat(a,`;
|
|
130
130
|
padding-right: `).concat(c,"px ").concat(a,`;
|
|
@@ -165,7 +165,7 @@ Este site ainda não reporta sections de post — quando reportar, cite elas aqu
|
|
|
165
165
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
166
166
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
167
167
|
`)},Iae=0,Ic=[];function Lae(e){var t=A.useRef([]),o=A.useRef([0,0]),a=A.useRef(),n=A.useState(Iae++)[0],i=A.useState(MB)[0],l=A.useRef(e);A.useEffect(function(){l.current=e},[e]),A.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(n));var S=aae([e.lockRef.current],(e.shards||[]).map(ZD),!0).filter(Boolean);return S.forEach(function(k){return k.classList.add("allow-interactivity-".concat(n))}),function(){document.body.classList.remove("block-interactivity-".concat(n)),S.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(n))})}}},[e.inert,e.lockRef.current,e.shards]);var c=A.useCallback(function(S,k){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!l.current.allowPinchZoom;var x=Dg(S),T=o.current,P="deltaX"in S?S.deltaX:T[0]-x[0],C="deltaY"in S?S.deltaY:T[1]-x[1],E,R=S.target,D=Math.abs(P)>Math.abs(C)?"h":"v";if("touches"in S&&D==="h"&&R.type==="range")return!1;var O=window.getSelection(),L=O&&O.anchorNode,$=L?L===R||L.contains(R):!1;if($)return!1;var B=KD(D,R);if(!B)return!0;if(B?E=D:(E=D==="v"?"h":"v",B=KD(D,R)),!B)return!1;if(!a.current&&"changedTouches"in S&&(P||C)&&(a.current=E),!E)return!0;var U=a.current||E;return Oae(U,k,S,U==="h"?P:C)},[]),d=A.useCallback(function(S){var k=S;if(!(!Ic.length||Ic[Ic.length-1]!==i)){var x="deltaY"in k?YD(k):Dg(k),T=t.current.filter(function(E){return E.name===k.type&&(E.target===k.target||k.target===E.shadowParent)&&Mae(E.delta,x)})[0];if(T&&T.should){k.cancelable&&k.preventDefault();return}if(!T){var P=(l.current.shards||[]).map(ZD).filter(Boolean).filter(function(E){return E.contains(k.target)}),C=P.length>0?c(k,P[0]):!l.current.noIsolation;C&&k.cancelable&&k.preventDefault()}}},[]),p=A.useCallback(function(S,k,x,T){var P={name:S,delta:k,target:x,should:T,shadowParent:Bae(x)};t.current.push(P),setTimeout(function(){t.current=t.current.filter(function(C){return C!==P})},1)},[]),m=A.useCallback(function(S){o.current=Dg(S),a.current=void 0},[]),h=A.useCallback(function(S){p(S.type,YD(S),S.target,c(S,e.lockRef.current))},[]),f=A.useCallback(function(S){p(S.type,Dg(S),S.target,c(S,e.lockRef.current))},[]);A.useEffect(function(){return Ic.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",d,Nc),document.addEventListener("touchmove",d,Nc),document.addEventListener("touchstart",m,Nc),function(){Ic=Ic.filter(function(S){return S!==i}),document.removeEventListener("wheel",d,Nc),document.removeEventListener("touchmove",d,Nc),document.removeEventListener("touchstart",m,Nc)}},[]);var v=e.removeScrollBar,b=e.inert;return A.createElement(A.Fragment,null,b?A.createElement(i,{styles:Nae(n)}):null,v?A.createElement(_ae,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Bae(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Fae=pae(OB,Lae);var Rk=A.forwardRef(function(e,t){return A.createElement(zv,zr({},e,{ref:t,sideCar:Fae}))});Rk.classNames=zv.classNames;var hx=["Enter"," "],jae=["ArrowDown","PageUp","Home"],BB=["ArrowUp","PageDown","End"],zae=[...jae,...BB],Uae={ltr:[...hx,"ArrowRight"],rtl:[...hx,"ArrowLeft"]},qae={ltr:["ArrowLeft"],rtl:["ArrowRight"]},am="Menu",[Rp,$ae,Vae]=VL(am),[zl,FB]=jl(am,[Vae,pB,TB]),nm=pB(),jB=TB(),[zB,qs]=zl(am),[Hae,rm]=zl(am),UB=e=>{const{__scopeMenu:t,open:o=!1,children:a,dir:n,onOpenChange:i,modal:l=!0}=e,c=nm(t),[d,p]=A.useState(null),m=A.useRef(!1),h=Sr(i),f=HL(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})}},[]),w.jsx(wB,{...c,children:w.jsx(zB,{scope:t,open:o,onOpenChange:h,content:d,onContentChange:p,children:w.jsx(Hae,{scope:t,onClose:A.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:m,dir:f,modal:l,children:a})})})};UB.displayName=am;var Gae="MenuAnchor",Dk=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e,n=nm(o);return w.jsx(Ioe,{...n,...a,ref:t})});Dk.displayName=Gae;var Ok="MenuPortal",[Wae,qB]=zl(Ok,{forceMount:void 0}),$B=e=>{const{__scopeMenu:t,forceMount:o,children:a,container:n}=e,i=qs(Ok,t);return w.jsx(Wae,{scope:t,forceMount:o,children:w.jsx(Mi,{present:o||i.open,children:w.jsx(Ak,{asChild:!0,container:n,children:a})})})};$B.displayName=Ok;var Qn="MenuContent",[Kae,Mk]=zl(Qn),VB=A.forwardRef((e,t)=>{const o=qB(Qn,e.__scopeMenu),{forceMount:a=o.forceMount,...n}=e,i=qs(Qn,e.__scopeMenu),l=rm(Qn,e.__scopeMenu);return w.jsx(Rp.Provider,{scope:e.__scopeMenu,children:w.jsx(Mi,{present:a||i.open,children:w.jsx(Rp.Slot,{scope:e.__scopeMenu,children:l.modal?w.jsx(Yae,{...n,ref:t}):w.jsx(Zae,{...n,ref:t})})})})}),Yae=A.forwardRef((e,t)=>{const o=qs(Qn,e.__scopeMenu),a=A.useRef(null),n=sa(t,a);return A.useEffect(()=>{const i=a.current;if(i)return AB(i)},[]),w.jsx(Nk,{...e,ref:n,trapFocus:o.open,disableOutsidePointerEvents:o.open,disableOutsideScroll:!0,onFocusOutside:ht(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>o.onOpenChange(!1)})}),Zae=A.forwardRef((e,t)=>{const o=qs(Qn,e.__scopeMenu);return w.jsx(Nk,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>o.onOpenChange(!1)})}),Qae=Pp("MenuContent.ScrollLock"),Nk=A.forwardRef((e,t)=>{const{__scopeMenu:o,loop:a=!1,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEntryFocus:d,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:f,onDismiss:v,disableOutsideScroll:b,...S}=e,k=qs(Qn,o),x=rm(Qn,o),T=nm(o),P=jB(o),C=$ae(o),[E,R]=A.useState(null),D=A.useRef(null),O=sa(t,D,k.onContentChange),L=A.useRef(0),$=A.useRef(""),B=A.useRef(0),U=A.useRef(null),F=A.useRef("right"),W=A.useRef(0),ae=b?Rk:A.Fragment,H=b?{as:Qae,allowPinchZoom:!0}:void 0,K=le=>{const Q=$.current+le,N=C().filter(pe=>!pe.disabled),G=document.activeElement,V=N.find(pe=>pe.ref.current===G)?.textValue,I=N.map(pe=>pe.textValue),z=cne(I,Q,V),X=N.find(pe=>pe.textValue===z)?.ref.current;(function pe(he){$.current=he,window.clearTimeout(L.current),he!==""&&(L.current=window.setTimeout(()=>pe(""),1e3))})(Q),X&&setTimeout(()=>X.focus())};A.useEffect(()=>()=>window.clearTimeout(L.current),[]),KL();const J=A.useCallback(le=>F.current===U.current?.side&&une(le,U.current?.area),[]);return w.jsx(Kae,{scope:o,searchRef:$,onItemEnter:A.useCallback(le=>{J(le)&&le.preventDefault()},[J]),onItemLeave:A.useCallback(le=>{J(le)||(D.current?.focus(),R(null))},[J]),onTriggerLeave:A.useCallback(le=>{J(le)&&le.preventDefault()},[J]),pointerGraceTimerRef:B,onPointerGraceIntentChange:A.useCallback(le=>{U.current=le},[]),children:w.jsx(ae,{...H,children:w.jsx(yk,{asChild:!0,trapped:n,onMountAutoFocus:ht(i,le=>{le.preventDefault(),D.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:w.jsx(bk,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:f,onDismiss:v,children:w.jsx(Joe,{asChild:!0,...P,dir:x.dir,orientation:"vertical",loop:a,currentTabStopId:E,onCurrentTabStopIdChange:R,onEntryFocus:ht(d,le=>{x.isUsingKeyboardRef.current||le.preventDefault()}),preventScrollOnEntryFocus:!0,children:w.jsx(Loe,{role:"menu","aria-orientation":"vertical","data-state":sF(k.open),"data-radix-menu-content":"",dir:x.dir,...T,...S,ref:O,style:{outline:"none",...S.style},onKeyDown:ht(S.onKeyDown,le=>{const N=le.target.closest("[data-radix-menu-content]")===le.currentTarget,G=le.ctrlKey||le.altKey||le.metaKey,V=le.key.length===1;N&&(le.key==="Tab"&&le.preventDefault(),!G&&V&&K(le.key));const I=D.current;if(le.target!==I||!zae.includes(le.key))return;le.preventDefault();const X=C().filter(pe=>!pe.disabled).map(pe=>pe.ref.current);BB.includes(le.key)&&X.reverse(),sne(X)}),onBlur:ht(e.onBlur,le=>{le.currentTarget.contains(le.target)||(window.clearTimeout(L.current),$.current="")}),onPointerMove:ht(e.onPointerMove,Dp(le=>{const Q=le.target,N=W.current!==le.clientX;if(le.currentTarget.contains(Q)&&N){const G=le.clientX>W.current?"right":"left";F.current=G,W.current=le.clientX}}))})})})})})})});VB.displayName=Qn;var Jae="MenuGroup",Ik=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e;return w.jsx(Ro.div,{role:"group",...a,ref:t})});Ik.displayName=Jae;var Xae="MenuLabel",HB=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e;return w.jsx(Ro.div,{...a,ref:t})});HB.displayName=Xae;var Ff="MenuItem",QD="menu.itemSelect",Uv=A.forwardRef((e,t)=>{const{disabled:o=!1,onSelect:a,...n}=e,i=A.useRef(null),l=rm(Ff,e.__scopeMenu),c=Mk(Ff,e.__scopeMenu),d=sa(t,i),p=A.useRef(!1),m=()=>{const h=i.current;if(!o&&h){const f=new CustomEvent(QD,{bubbles:!0,cancelable:!0});h.addEventListener(QD,v=>a?.(v),{once:!0}),$L(h,f),f.defaultPrevented?p.current=!1:l.onClose()}};return w.jsx(GB,{...n,ref:d,disabled:o,onClick:ht(e.onClick,m),onPointerDown:h=>{e.onPointerDown?.(h),p.current=!0},onPointerUp:ht(e.onPointerUp,h=>{p.current||h.currentTarget?.click()}),onKeyDown:ht(e.onKeyDown,h=>{const f=c.searchRef.current!=="";o||f&&h.key===" "||hx.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});Uv.displayName=Ff;var GB=A.forwardRef((e,t)=>{const{__scopeMenu:o,disabled:a=!1,textValue:n,...i}=e,l=Mk(Ff,o),c=jB(o),d=A.useRef(null),p=sa(t,d),[m,h]=A.useState(!1),[f,v]=A.useState("");return A.useEffect(()=>{const b=d.current;b&&v((b.textContent??"").trim())},[i.children]),w.jsx(Rp.ItemSlot,{scope:o,disabled:a,textValue:n??f,children:w.jsx(Xoe,{asChild:!0,...c,focusable:!a,children:w.jsx(Ro.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...i,ref:p,onPointerMove:ht(e.onPointerMove,Dp(b=>{a?l.onItemLeave(b):(l.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ht(e.onPointerLeave,Dp(b=>l.onItemLeave(b))),onFocus:ht(e.onFocus,()=>h(!0)),onBlur:ht(e.onBlur,()=>h(!1))})})})}),ene="MenuCheckboxItem",WB=A.forwardRef((e,t)=>{const{checked:o=!1,onCheckedChange:a,...n}=e;return w.jsx(JB,{scope:e.__scopeMenu,checked:o,children:w.jsx(Uv,{role:"menuitemcheckbox","aria-checked":jf(o)?"mixed":o,...n,ref:t,"data-state":Fk(o),onSelect:ht(n.onSelect,()=>a?.(jf(o)?!0:!o),{checkForDefaultPrevented:!1})})})});WB.displayName=ene;var KB="MenuRadioGroup",[tne,one]=zl(KB,{value:void 0,onValueChange:()=>{}}),YB=A.forwardRef((e,t)=>{const{value:o,onValueChange:a,...n}=e,i=Sr(a);return w.jsx(tne,{scope:e.__scopeMenu,value:o,onValueChange:i,children:w.jsx(Ik,{...n,ref:t})})});YB.displayName=KB;var ZB="MenuRadioItem",QB=A.forwardRef((e,t)=>{const{value:o,...a}=e,n=one(ZB,e.__scopeMenu),i=o===n.value;return w.jsx(JB,{scope:e.__scopeMenu,checked:i,children:w.jsx(Uv,{role:"menuitemradio","aria-checked":i,...a,ref:t,"data-state":Fk(i),onSelect:ht(a.onSelect,()=>n.onValueChange?.(o),{checkForDefaultPrevented:!1})})})});QB.displayName=ZB;var Lk="MenuItemIndicator",[JB,ane]=zl(Lk,{checked:!1}),XB=A.forwardRef((e,t)=>{const{__scopeMenu:o,forceMount:a,...n}=e,i=ane(Lk,o);return w.jsx(Mi,{present:a||jf(i.checked)||i.checked===!0,children:w.jsx(Ro.span,{...n,ref:t,"data-state":Fk(i.checked)})})});XB.displayName=Lk;var nne="MenuSeparator",eF=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e;return w.jsx(Ro.div,{role:"separator","aria-orientation":"horizontal",...a,ref:t})});eF.displayName=nne;var rne="MenuArrow",tF=A.forwardRef((e,t)=>{const{__scopeMenu:o,...a}=e,n=nm(o);return w.jsx(Boe,{...n,...a,ref:t})});tF.displayName=rne;var Bk="MenuSub",[ine,oF]=zl(Bk),aF=e=>{const{__scopeMenu:t,children:o,open:a=!1,onOpenChange:n}=e,i=qs(Bk,t),l=nm(t),[c,d]=A.useState(null),[p,m]=A.useState(null),h=Sr(n);return A.useEffect(()=>(i.open===!1&&h(!1),()=>h(!1)),[i.open,h]),w.jsx(wB,{...l,children:w.jsx(zB,{scope:t,open:a,onOpenChange:h,content:p,onContentChange:m,children:w.jsx(ine,{scope:t,contentId:As(),triggerId:As(),trigger:c,onTriggerChange:d,children:o})})})};aF.displayName=Bk;var ep="MenuSubTrigger",nF=A.forwardRef((e,t)=>{const o=qs(ep,e.__scopeMenu),a=rm(ep,e.__scopeMenu),n=oF(ep,e.__scopeMenu),i=Mk(ep,e.__scopeMenu),l=A.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=i,p={__scopeMenu:e.__scopeMenu},m=A.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return A.useEffect(()=>m,[m]),A.useEffect(()=>{const h=c.current;return()=>{window.clearTimeout(h),d(null)}},[c,d]),w.jsx(Dk,{asChild:!0,...p,children:w.jsx(GB,{id:n.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":n.contentId,"data-state":sF(o.open),...e,ref:Xp(t,n.onTriggerChange),onClick:h=>{e.onClick?.(h),!(e.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),o.open||o.onOpenChange(!0))},onPointerMove:ht(e.onPointerMove,Dp(h=>{i.onItemEnter(h),!h.defaultPrevented&&!e.disabled&&!o.open&&!l.current&&(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{o.onOpenChange(!0),m()},100))})),onPointerLeave:ht(e.onPointerLeave,Dp(h=>{m();const f=o.content?.getBoundingClientRect();if(f){const v=o.content?.dataset.side,b=v==="right",S=b?-5:5,k=f[b?"left":"right"],x=f[b?"right":"left"];i.onPointerGraceIntentChange({area:[{x:h.clientX+S,y:h.clientY},{x:k,y:f.top},{x,y:f.top},{x,y:f.bottom},{x:k,y:f.bottom}],side:v}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(h),h.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:ht(e.onKeyDown,h=>{const f=i.searchRef.current!=="";e.disabled||f&&h.key===" "||Uae[a.dir].includes(h.key)&&(o.onOpenChange(!0),o.content?.focus(),h.preventDefault())})})})});nF.displayName=ep;var rF="MenuSubContent",iF=A.forwardRef((e,t)=>{const o=qB(Qn,e.__scopeMenu),{forceMount:a=o.forceMount,...n}=e,i=qs(Qn,e.__scopeMenu),l=rm(Qn,e.__scopeMenu),c=oF(rF,e.__scopeMenu),d=A.useRef(null),p=sa(t,d);return w.jsx(Rp.Provider,{scope:e.__scopeMenu,children:w.jsx(Mi,{present:a||i.open,children:w.jsx(Rp.Slot,{scope:e.__scopeMenu,children:w.jsx(Nk,{id:c.contentId,"aria-labelledby":c.triggerId,...n,ref:p,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:m=>{l.isUsingKeyboardRef.current&&d.current?.focus(),m.preventDefault()},onCloseAutoFocus:m=>m.preventDefault(),onFocusOutside:ht(e.onFocusOutside,m=>{m.target!==c.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:ht(e.onEscapeKeyDown,m=>{l.onClose(),m.preventDefault()}),onKeyDown:ht(e.onKeyDown,m=>{const h=m.currentTarget.contains(m.target),f=qae[l.dir].includes(m.key);h&&f&&(i.onOpenChange(!1),c.trigger?.focus(),m.preventDefault())})})})})})});iF.displayName=rF;function sF(e){return e?"open":"closed"}function jf(e){return e==="indeterminate"}function Fk(e){return jf(e)?"indeterminate":e?"checked":"unchecked"}function sne(e){const t=document.activeElement;for(const o of e)if(o===t||(o.focus(),document.activeElement!==t))return}function lne(e,t){return e.map((o,a)=>e[(t+a)%e.length])}function cne(e,t,o){const n=t.length>1&&Array.from(t).every(p=>p===t[0])?t[0]:t,i=o?e.indexOf(o):-1;let l=lne(e,Math.max(i,0));n.length===1&&(l=l.filter(p=>p!==o));const d=l.find(p=>p.toLowerCase().startsWith(n.toLowerCase()));return d!==o?d:void 0}function dne(e,t){const{x:o,y:a}=e;let n=!1;for(let i=0,l=t.length-1;i<t.length;l=i++){const c=t[i],d=t[l],p=c.x,m=c.y,h=d.x,f=d.y;m>a!=f>a&&o<(h-p)*(a-m)/(f-m)+p&&(n=!n)}return n}function une(e,t){if(!t)return!1;const o={x:e.clientX,y:e.clientY};return dne(o,t)}function Dp(e){return t=>t.pointerType==="mouse"?e(t):void 0}var pne=UB,mne=Dk,hne=$B,gne=VB,fne=Ik,vne=HB,bne=Uv,yne=WB,Sne=YB,wne=QB,xne=XB,Tne=eF,kne=tF,_ne=aF,Cne=nF,Ene=iF,qv="DropdownMenu",[Pne]=jl(qv,[FB]),ja=FB(),[Ane,lF]=Pne(qv),cF=e=>{const{__scopeDropdownMenu:t,children:o,dir:a,open:n,defaultOpen:i,onOpenChange:l,modal:c=!0}=e,d=ja(t),p=A.useRef(null),[m,h]=em({prop:n,defaultProp:i??!1,onChange:l,caller:qv});return w.jsx(Ane,{scope:t,triggerId:As(),triggerRef:p,contentId:As(),open:m,onOpenChange:h,onOpenToggle:A.useCallback(()=>h(f=>!f),[h]),modal:c,children:w.jsx(pne,{...d,open:m,onOpenChange:h,dir:a,modal:c,children:o})})};cF.displayName=qv;var dF="DropdownMenuTrigger",uF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,disabled:a=!1,...n}=e,i=lF(dF,o),l=ja(o);return w.jsx(mne,{asChild:!0,...l,children:w.jsx(Ro.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...n,ref:Xp(t,i.triggerRef),onPointerDown:ht(e.onPointerDown,c=>{!a&&c.button===0&&c.ctrlKey===!1&&(i.onOpenToggle(),i.open||c.preventDefault())}),onKeyDown:ht(e.onKeyDown,c=>{a||(["Enter"," "].includes(c.key)&&i.onOpenToggle(),c.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});uF.displayName=dF;var Rne="DropdownMenuPortal",pF=e=>{const{__scopeDropdownMenu:t,...o}=e,a=ja(t);return w.jsx(hne,{...a,...o})};pF.displayName=Rne;var mF="DropdownMenuContent",hF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=lF(mF,o),i=ja(o),l=A.useRef(!1);return w.jsx(gne,{id:n.contentId,"aria-labelledby":n.triggerId,...i,...a,ref:t,onCloseAutoFocus:ht(e.onCloseAutoFocus,c=>{l.current||n.triggerRef.current?.focus(),l.current=!1,c.preventDefault()}),onInteractOutside:ht(e.onInteractOutside,c=>{const d=c.detail.originalEvent,p=d.button===0&&d.ctrlKey===!0,m=d.button===2||p;(!n.modal||m)&&(l.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)"}})});hF.displayName=mF;var Dne="DropdownMenuGroup",One=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(fne,{...n,...a,ref:t})});One.displayName=Dne;var Mne="DropdownMenuLabel",gF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(vne,{...n,...a,ref:t})});gF.displayName=Mne;var Nne="DropdownMenuItem",fF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(bne,{...n,...a,ref:t})});fF.displayName=Nne;var Ine="DropdownMenuCheckboxItem",vF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(yne,{...n,...a,ref:t})});vF.displayName=Ine;var Lne="DropdownMenuRadioGroup",bF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Sne,{...n,...a,ref:t})});bF.displayName=Lne;var Bne="DropdownMenuRadioItem",yF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(wne,{...n,...a,ref:t})});yF.displayName=Bne;var Fne="DropdownMenuItemIndicator",SF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(xne,{...n,...a,ref:t})});SF.displayName=Fne;var jne="DropdownMenuSeparator",wF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Tne,{...n,...a,ref:t})});wF.displayName=jne;var zne="DropdownMenuArrow",Une=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(kne,{...n,...a,ref:t})});Une.displayName=zne;var qne=e=>{const{__scopeDropdownMenu:t,children:o,open:a,onOpenChange:n,defaultOpen:i}=e,l=ja(t),[c,d]=em({prop:a,defaultProp:i??!1,onChange:n,caller:"DropdownMenuSub"});return w.jsx(_ne,{...l,open:c,onOpenChange:d,children:o})},$ne="DropdownMenuSubTrigger",xF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Cne,{...n,...a,ref:t})});xF.displayName=$ne;var Vne="DropdownMenuSubContent",TF=A.forwardRef((e,t)=>{const{__scopeDropdownMenu:o,...a}=e,n=ja(o);return w.jsx(Ene,{...n,...a,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)"}})});TF.displayName=Vne;var kF=cF,_F=uF,CF=pF,EF=hF,Hne=gF,PF=fF,Gne=vF,Wne=bF,Kne=yF,AF=SF,Yne=wF,Zne=qne,Qne=xF,Jne=TF;const jk=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));jk.displayName="AlertTriangle";const RF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));RF.displayName="Archive";const DF=({size:e=24,color:t="currentColor",...o})=>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",...o},A.createElement("path",{d:"M7 17 17 7m0 0H7m10 0v10"}));DF.displayName="ArrowUpRight";const OF=({size:e=24,color:t="currentColor",...o})=>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",...o},A.createElement("path",{d:"M20 6 9 17l-5-5"}));OF.displayName="Check";const zk=({size:e=24,color:t="currentColor",...o})=>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",...o},A.createElement("path",{d:"m9 18 6-6-6-6"}));zk.displayName="ChevronRight";const MF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));MF.displayName="Circle";const NF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));NF.displayName="CpuChip01";const IF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));IF.displayName="DotsHorizontal";const LF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));LF.displayName="GitBranch01";const BF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));BF.displayName="HardDrive";const FF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));FF.displayName="LinkExternal01";const jF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));jF.displayName="Lock01";const zF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));zF.displayName="RefreshCw01";const UF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));UF.displayName="Server01";const qF=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));qF.displayName="Shield01";const $F=({size:e=24,color:t="currentColor",...o})=>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",...o},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"}));$F.displayName="Users03";const VF=({size:e=24,color:t="currentColor",...o})=>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",...o},A.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));VF.displayName="X";function Xne(e){const t=Ce.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx(kF,{"data-slot":"dropdown-menu",...o}),t[2]=o,t[3]=a):a=t[3],a}function ere(e){const t=Ce.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx(_F,{"data-slot":"dropdown-menu-trigger",...o}),t[2]=o,t[3]=a):a=t[3],a}function tre(e){const t=Ce.c(10);let o,a,n;t[0]!==e?({className:o,sideOffset:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);const i=n===void 0?4:n;let l;t[4]!==o?(l=ut("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",o),t[4]=o,t[5]=l):l=t[5];let c;return t[6]!==a||t[7]!==i||t[8]!==l?(c=w.jsx(CF,{children:w.jsx(EF,{"data-slot":"dropdown-menu-content",sideOffset:i,translate:"no",className:l,...a})}),t[6]=a,t[7]=i,t[8]=l,t[9]=c):c=t[9],c}function ore(e){const t=Ce.c(12);let o,a,n,i;t[0]!==e?({className:o,inset:a,variant:i,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);const l=i===void 0?"default":i;let c;t[5]!==o?(c=ut("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",o),t[5]=o,t[6]=c):c=t[6];let d;return t[7]!==a||t[8]!==n||t[9]!==c||t[10]!==l?(d=w.jsx(PF,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":l,className:c,...n}),t[7]=a,t[8]=n,t[9]=c,t[10]=l,t[11]=d):d=t[11],d}function mbe(e){const t=Ce.c(13);let o,a,n,i;t[0]!==e?({className:n,children:a,checked:o,...i}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);let l;t[5]!==n?(l=ut("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]=l):l=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=w.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:w.jsx(AF,{children:w.jsx(OF,{className:"size-4"})})}),t[7]=c):c=t[7];let d;return t[8]!==o||t[9]!==a||t[10]!==i||t[11]!==l?(d=w.jsxs(Gne,{"data-slot":"dropdown-menu-checkbox-item",className:l,checked:o,...i,children:[c,a]}),t[8]=o,t[9]=a,t[10]=i,t[11]=l,t[12]=d):d=t[12],d}function hbe(e){const t=Ce.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx(Wne,{"data-slot":"dropdown-menu-radio-group",...o}),t[2]=o,t[3]=a):a=t[3],a}function gbe(e){const t=Ce.c(11);let o,a,n;t[0]!==e?({className:a,children:o,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);let i;t[4]!==a?(i=ut("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",a),t[4]=a,t[5]=i):i=t[5];let l;t[6]===Symbol.for("react.memo_cache_sentinel")?(l=w.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:w.jsx(AF,{children:w.jsx(MF,{className:"size-2 fill-current"})})}),t[6]=l):l=t[6];let c;return t[7]!==o||t[8]!==n||t[9]!==i?(c=w.jsxs(Kne,{"data-slot":"dropdown-menu-radio-item",className:i,...n,children:[l,o]}),t[7]=o,t[8]=n,t[9]=i,t[10]=c):c=t[10],c}function fbe(e){const t=Ce.c(10);let o,a,n;t[0]!==e?({className:o,inset:a,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);let i;t[4]!==o?(i=ut("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",o),t[4]=o,t[5]=i):i=t[5];let l;return t[6]!==a||t[7]!==n||t[8]!==i?(l=w.jsx(Hne,{"data-slot":"dropdown-menu-label","data-inset":a,className:i,...n}),t[6]=a,t[7]=n,t[8]=i,t[9]=l):l=t[9],l}function vbe(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("bg-border -mx-1 my-1 h-px",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx(Yne,{"data-slot":"dropdown-menu-separator",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function bbe(e){const t=Ce.c(4);let o;t[0]!==e?({...o}=e,t[0]=e,t[1]=o):o=t[1];let a;return t[2]!==o?(a=w.jsx(Zne,{"data-slot":"dropdown-menu-sub",...o}),t[2]=o,t[3]=a):a=t[3],a}function ybe(e){const t=Ce.c(13);let o,a,n,i;t[0]!==e?({className:a,inset:n,children:o,...i}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);let l;t[5]!==a?(l=ut("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",a),t[5]=a,t[6]=l):l=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=w.jsx(zk,{className:"ml-auto size-4"}),t[7]=c):c=t[7];let d;return t[8]!==o||t[9]!==n||t[10]!==i||t[11]!==l?(d=w.jsxs(Qne,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:l,...i,children:[o,c]}),t[8]=o,t[9]=n,t[10]=i,t[11]=l,t[12]=d):d=t[12],d}function Sbe(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("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",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx(Jne,{"data-slot":"dropdown-menu-sub-content",translate:"no",className:n,...a}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function are(){const e=Ce.c(3),[t,o]=A.useState(-1);let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=l=>{if(!l)return;const c=()=>o(l.clientWidth);c();const d=new ResizeObserver(c);return d.observe(l),()=>d.disconnect()},e[0]=a):a=e[0];const n=a;let i;return e[1]!==t?(i=[t,n],e[1]=t,e[2]=i):i=e[2],i}function nre(){let e=new Map;const t=new Set,o=()=>t.forEach(a=>a());return{getSnapshot:()=>e,subscribe(a){return t.add(a),()=>{t.delete(a)}},register(a){if(e.has(a.after))throw new Error(`Two components extend breadcrumb: ${a.after}`);return e=new Map(e).set(a.after,a),o(),()=>{if(e.get(a.after)!==a)return;const n=new Map(e);n.delete(a.after),e=n,o()}}}}const Uk=A.createContext(null);function rre(e){const t=Ce.c(3),{children:o}=e,[a]=A.useState(nre);let n;return t[0]!==o||t[1]!==a?(n=w.jsx(Uk,{value:a,children:o}),t[0]=o,t[1]=a,t[2]=n):n=t[2],n}function ire(e){const t=Ce.c(2),{children:o}=e;let a;return t[0]!==o?(a=w.jsx(Uk,{value:null,children:o}),t[0]=o,t[1]=a):a=t[1],a}function $v(){return A.use(Uk)}function HF(e){const t=Ce.c(3),o=$v();if(!o)throw new Error("Breadcrumb contributions require Page.Breadcrumbs.Provider");let a;return t[0]!==e||t[1]!==o?(a=w.jsx("span",{hidden:!0,ref:n=>n?o.register(e):void 0}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}function sre(e,t){const o=new Set,a=n=>{if(o.has(n.key))throw new Error(`Duplicate breadcrumb key: ${n.key}`);o.add(n.key);const i=t.get(n.key);return[{...n,...i?.parent},...i?.items?.flatMap(a)??[]]};return e.flatMap(a)}function lre(e,t){const o=e.map(a=>a.label).filter(a=>typeof a=="string").reverse();return t&&o.push(t),o.map(a=>a.trim()).filter(Boolean).join(" · ")}const GF=5;function cre(e,t=!1,o=GF){const a=e.map(l=>({type:"item",item:l}));if(e.length<=(t?1:o))return a;const n=t?0:1,i=e.length-(t?1:2);return a.splice(n,i-n,{type:"menu",items:e.slice(n,i)}),a}const WF=O8(function(t){return w.jsx("a",{...t,"aria-current":void 0})});function dre(e){const t=Ce.c(12),{items:o}=e,a=ar();let n;t[0]!==a?(n=a("page.breadcrumbMenu"),t[0]=a,t[1]=n):n=t[1];let i;t[2]===Symbol.for("react.memo_cache_sentinel")?(i=w.jsx(IF,{"aria-hidden":"true",className:"size-4"}),t[2]=i):i=t[2];let l;t[3]!==n?(l=w.jsx(ere,{asChild:!0,children:w.jsx(Ai,{variant:"ghost",size:"icon-xs",className:"shrink-0","aria-label":n,children:i})}),t[3]=n,t[4]=l):l=t[4];let c;t[5]!==o?(c=o.map(ure),t[5]=o,t[6]=c):c=t[6];let d;t[7]!==c?(d=w.jsx(tre,{align:"start",children:c}),t[7]=c,t[8]=d):d=t[8];let p;return t[9]!==l||t[10]!==d?(p=w.jsxs(Xne,{children:[l,d]}),t[9]=l,t[10]=d,t[11]=p):p=t[11],p}function ure(e){const t=w.jsx("span",{className:"max-w-64 truncate",title:typeof e.label=="string"?e.label:void 0,children:e.label});return w.jsx(ore,{asChild:!!e.link&&!e.onSelect,onSelect:e.onSelect,disabled:!e.onSelect&&!e.link,children:e.link&&!e.onSelect?w.jsx(WF,{...e.link,children:t}):t},e.key)}function pre(e){const t=Ce.c(14),{item:o,current:a}=e,n=typeof o.label=="string"?o.label:void 0;if(a){let l;return t[0]!==o.label||t[1]!==n?(l=w.jsx("h1",{"data-slot":"page-title","aria-current":"page",title:n,className:"truncate text-sm font-medium text-foreground",children:o.label}),t[0]=o.label,t[1]=n,t[2]=l):l=t[2],l}if(o.onSelect){let l;return t[3]!==o.label||t[4]!==o.onSelect||t[5]!==n?(l=w.jsx("button",{type:"button",onClick:o.onSelect,title:n,className:"block max-w-48 truncate rounded-lg hover:text-foreground focus-ring",children:o.label}),t[3]=o.label,t[4]=o.onSelect,t[5]=n,t[6]=l):l=t[6],l}if(o.link){let l;return t[7]!==o.label||t[8]!==o.link||t[9]!==n?(l=w.jsx(WF,{...o.link,title:n,className:"block max-w-48 truncate rounded-lg hover:text-foreground focus-ring",children:o.label}),t[7]=o.label,t[8]=o.link,t[9]=n,t[10]=l):l=t[10],l}let i;return t[11]!==o.label||t[12]!==n?(i=w.jsx("span",{title:n,className:"block max-w-48 truncate",children:o.label}),t[11]=o.label,t[12]=n,t[13]=i):i=t[13],i}function KF(e){const t=Ce.c(21),{items:o}=e,a=ar(),[n,i]=are();let l,c,d,p,m,h;if(t[0]!==o||t[1]!==i||t[2]!==a||t[3]!==n){const b=cre(o,n>=0&&n<320,GF);p=i,t[10]!==a?(m=a("page.breadcrumbs"),t[10]=a,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',l="page-breadcrumbs",c="flex min-w-0 items-center gap-2 text-sm text-muted-foreground",d=b.map((S,k)=>w.jsxs("li",{className:ut("flex min-w-0 items-center gap-2",k>0&&"min-w-5",S.type==="item"?"last:min-w-16 last:flex-[1_1_auto]":"shrink-0"),children:[k>0&&w.jsx(zk,{"aria-hidden":"true",className:"size-3 shrink-0 text-muted-foreground/60"}),S.type==="item"?w.jsx(pre,{item:S.item,current:k===b.length-1}):w.jsx(dre,{items:S.items})]},S.type==="item"?`item:${S.item.key}`:"menu")),t[0]=o,t[1]=i,t[2]=a,t[3]=n,t[4]=l,t[5]=c,t[6]=d,t[7]=p,t[8]=m,t[9]=h}else l=t[4],c=t[5],d=t[6],p=t[7],m=t[8],h=t[9];let f;t[12]!==l||t[13]!==c||t[14]!==d?(f=w.jsx("ol",{"data-slot":l,className:c,children:d}),t[12]=l,t[13]=c,t[14]=d,t[15]=f):f=t[15];let v;return t[16]!==p||t[17]!==m||t[18]!==h||t[19]!==f?(v=w.jsx("nav",{ref:p,"aria-label":m,className:h,children:f}),t[16]=p,t[17]=m,t[18]=h,t[19]=f,t[20]=v):v=t[20],v}function mre(e){const t=Ce.c(12),{items:o,scope:a}=e,n=$v();if(!n)throw new Error("Page.Header requires Page.Breadcrumbs.Provider");const i=A.useSyncExternalStore(n.subscribe,n.getSnapshot,n.getSnapshot);let l,c;t[0]!==i||t[1]!==o||t[2]!==a?(l=sre(o,i),c=lre(l,a),t[0]=i,t[1]=o,t[2]=a,t[3]=l,t[4]=c):(l=t[3],c=t[4]);const d=c;let p;t[5]!==d?(p=d&&w.jsx("title",{children:d}),t[5]=d,t[6]=p):p=t[6];let m;t[7]!==l?(m=w.jsx(KF,{items:l}),t[7]=l,t[8]=m):m=t[8];let h;return t[9]!==p||t[10]!==m?(h=w.jsxs(w.Fragment,{children:[p,m]}),t[9]=p,t[10]=m,t[11]=h):h=t[11],h}function hre(e){const t=Ce.c(3),o=$v();let a;return t[0]!==e||t[1]!==o?(a=o?w.jsx(HF,{...e}):w.jsx("div",{className:"min-w-0 shrink-0 border-b px-3 py-2",children:w.jsx(KF,{items:e.items??[]})}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}const gre=Object.assign(hre,{Provider:rre,Detached:ire});function fre(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("flex h-full min-h-0 min-w-0 w-full flex-col overflow-hidden",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{...a,"data-slot":"page",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}function vre(e){const t=Ce.c(8);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);let n;t[3]!==o?(n=ut("min-h-0 min-w-0 flex-1 overflow-auto",o),t[3]=o,t[4]=n):n=t[4];let i;return t[5]!==a||t[6]!==n?(i=w.jsx("div",{...a,"data-slot":"page-content",className:n}),t[5]=a,t[6]=n,t[7]=i):i=t[7],i}const bre={reading:"max-w-[720px]",standard:"max-w-5xl",wide:"max-w-[1200px]",fluid:"max-w-none"},yre="px-4 md:pl-6 md:pr-8",YF=A.createContext(!1);function Sre(e){const t=Ce.c(12);let o,a,n;t[0]!==e?({className:o,width:n,...a}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n):(o=t[1],a=t[2],n=t[3]);const i=n===void 0?"wide":n,l=A.use(YF);let c;t[4]!==o||t[5]!==l||t[6]!==i?(c=ut("w-full",l?ut(yre,"pt-4 pb-8"):"mx-auto px-4 py-6 md:px-8 md:py-8",bre[i],o),t[4]=o,t[5]=l,t[6]=i,t[7]=c):c=t[7];let d;return t[8]!==a||t[9]!==c||t[10]!==i?(d=w.jsx("div",{...a,"data-slot":"page-container","data-width":i,className:c}),t[8]=a,t[9]=c,t[10]=i,t[11]=d):d=t[11],d}function wre(e){const t=Ce.c(9),{children:o,actions:a,className:n}=e,i=$v();let l;t[0]!==o||t[1]!==n||t[2]!==i?(l=i?w.jsx(HF,{after:"page",parent:{label:o}}):w.jsx("div",{"data-slot":"page-title",className:ut("flex flex-wrap items-center justify-between gap-3",n),children:w.jsx("h1",{className:"min-w-0 text-xl font-medium",children:o})}),t[0]=o,t[1]=n,t[2]=i,t[3]=l):l=t[3];let c;t[4]!==a?(c=a&&w.jsx(ZF,{children:a}),t[4]=a,t[5]=c):c=t[5];let d;return t[6]!==l||t[7]!==c?(d=w.jsxs(w.Fragment,{children:[l,c]}),t[6]=l,t[7]=c,t[8]=d):d=t[8],d}function ZF(e){const t=Ce.c(3),{children:o,secondary:a}=e;let n;if(t[0]!==o||t[1]!==a){const i=w.jsxs("div",{"data-slot":"page-actions",className:"flex shrink-0 items-center gap-2",children:[a,o]});n=w.jsx(ln.Topbar.Right.Portal,{fallback:i,children:i}),t[0]=o,t[1]=a,t[2]=n}else n=t[2];return n}function xre(e){const t=Ce.c(28),{breadcrumbs:o,scope:a,leading:n,actions:i,navigation:l,trailingActions:c}=e;let d;t[0]!==o||t[1]!==a?(d=w.jsx(mre,{items:o,scope:a}),t[0]=o,t[1]=a,t[2]=d):d=t[2];let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p=w.jsx(ln.Topbar.Left.Target,{}),t[3]=p):p=t[3];let m;t[4]!==n||t[5]!==d?(m=w.jsxs(ln.Topbar.Left,{className:"flex-1 gap-2",children:[n,d,p]}),t[4]=n,t[5]=d,t[6]=m):m=t[6];let h;t[7]!==i?(h=w.jsx("div",{className:"peer flex min-w-0 items-center gap-2 empty:hidden",children:i}),t[7]=i,t[8]=h):h=t[8];let f;t[9]===Symbol.for("react.memo_cache_sentinel")?(f=w.jsx(ln.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=w.jsxs(ln.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=w.jsxs(ln.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 S;t[16]!==l?(S=w.jsx("div",{"data-toolbar-content":"",className:"min-w-0 empty:hidden",children:l}),t[16]=l,t[17]=S):S=t[17];let k;t[18]===Symbol.for("react.memo_cache_sentinel")?(k=w.jsx(ln.Toolbar.Left.Target,{}),t[18]=k):k=t[18];let x;t[19]!==S?(x=w.jsxs(ln.Toolbar.Left,{children:[S,k]}),t[19]=S,t[20]=x):x=t[20];let T;t[21]===Symbol.for("react.memo_cache_sentinel")?(T=w.jsx(ln.Toolbar.Center,{className:"@max-xl/panel-toolbar:order-last @max-xl/panel-toolbar:basis-full [&:not(:has([data-toolbar-content]:not(:empty)))]:hidden",children:w.jsx(ln.Toolbar.Center.Target,{})}),t[21]=T):T=t[21];let P;t[22]===Symbol.for("react.memo_cache_sentinel")?(P=w.jsx(ln.Toolbar.Right,{children:w.jsx(ln.Toolbar.Right.Target,{})}),t[22]=P):P=t[22];let C;t[23]!==x?(C=w.jsxs(ln.Toolbar,{children:[x,T,P]}),t[23]=x,t[24]=C):C=t[24];let E;return t[25]!==C||t[26]!==b?(E=w.jsxs(w.Fragment,{children:[b,C]}),t[25]=C,t[26]=b,t[27]=E):E=t[27],E}function Tre(e){const t=Ce.c(11);let o,a;t[0]!==e?({className:o,...a}=e,t[0]=e,t[1]=o,t[2]=a):(o=t[1],a=t[2]);const n=ar();let i;t[3]!==n?(i=n("page.views"),t[3]=n,t[4]=i):i=t[4];let l;t[5]!==o?(l=ut("-m-2 flex min-w-0 items-center gap-1 overflow-x-auto p-2 no-scrollbar",o),t[5]=o,t[6]=l):l=t[6];let c;return t[7]!==a||t[8]!==i||t[9]!==l?(c=w.jsx("nav",{"aria-label":i,...a,"data-slot":"page-tabs",className:l}),t[7]=a,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}function kre(e){const t=Ce.c(14);let o,a,n,i;t[0]!==e?({active:o,asChild:i,className:a,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i):(o=t[1],a=t[2],n=t[3],i=t[4]);const l=i===void 0?!1:i,c=l?void 0:"button",d=l&&o?"page":void 0,p=l?void 0:o;let m;t[5]!==a?(m=ut("shrink-0",a),t[5]=a,t[6]=m):m=t[6];let h;return t[7]!==l||t[8]!==n||t[9]!==c||t[10]!==d||t[11]!==p||t[12]!==m?(h=w.jsx(Ai,{asChild:l,variant:"tab",size:"sm",...n,type:c,"aria-current":d,"aria-pressed":p,"data-slot":"page-tab",className:m}),t[7]=l,t[8]=n,t[9]=c,t[10]=d,t[11]=p,t[12]=m,t[13]=h):h=t[13],h}const ld=Object.assign(fre,{Header:xre,Tabs:Tre,Tab:kre,Actions:ZF,Content:vre,Container:Object.assign(Sre,{Inset:YF}),Title:wre,Breadcrumbs:gre});var ge=typeof window<"u"?window:void 0,ia=typeof globalThis<"u"?globalThis:ge;typeof self>"u"&&(ia.self=ia),typeof File>"u"&&(ia.File=function(){});var An=ia?.navigator,ze=ia?.document,wa=ia?.location,gx=ia?.fetch,fx=ia!=null&&ia.XMLHttpRequest&&"withCredentials"in new ia.XMLHttpRequest?ia.XMLHttpRequest:void 0,JD=ia?.AbortController,_re=ia?.CompressionStream,cn=An?.userAgent,tt=ge??{},XD="1.372.3",Ga={DEBUG:!1,LIB_VERSION:XD,LIB_NAME:"web",JS_SDK_VERSION:XD};function eO(e,t,o,a,n,i,l){try{var c=e[i](l),d=c.value}catch(p){return void o(p)}c.done?t(d):Promise.resolve(d).then(a,n)}function Kn(e){return function(){var t=this,o=arguments;return new Promise((function(a,n){var i=e.apply(t,o);function l(d){eO(i,a,n,l,c,"next",d)}function c(d){eO(i,a,n,l,c,"throw",d)}l(void 0)}))}}function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var o=arguments[t];for(var a in o)({}).hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},Ne.apply(null,arguments)}function QF(e,t){if(e==null)return{};var o={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;o[a]=e[a]}return o}function vx(){return vx=Kn((function*(e,t,o){t===void 0&&(t=!0);try{var a=new CompressionStream("gzip"),n=a.writable.getWriter(),i=n.write(new TextEncoder().encode(e)).then((()=>n.close())).catch((function(){var d=Kn((function*(p){try{yield n.abort(p)}catch{}throw p}));return function(p){return d.apply(this,arguments)}})()),l=new Response(a.readable).blob(),[c]=yield Promise.all([l,i]);return c}catch(d){if(o!=null&&o.rethrow)throw d;return t&&console.error("Failed to gzip compress data",d),null}})),vx.apply(this,arguments)}var Cre=["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"],tO=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var o=e.toLowerCase();return Cre.concat(t).some((a=>{var n=a.toLowerCase();return o.indexOf(n)!==-1}))},Ere=["$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 Ct(e,t){return e.indexOf(t)!==-1}var Vv=function(e){return e.trim()},bx=function(e){return e.replace(/^\$/,"")},JF=Object.prototype,XF=JF.hasOwnProperty,Hv=JF.toString,Bt=Array.isArray||function(e){return Hv.call(e)==="[object Array]"},Ti=e=>typeof e=="function",Bo=e=>e===Object(e)&&!Bt(e),ed=e=>{if(Bo(e)){for(var t in e)if(XF.call(e,t))return!1;return!0}return!1},$e=e=>e===void 0,Co=e=>Hv.call(e)=="[object String]",af=e=>Co(e)&&e.trim().length===0,Ni=e=>e===null,Et=e=>$e(e)||Ni(e),Xn=e=>Hv.call(e)=="[object Number]"&&e==e,Wc=e=>Xn(e)&&e>0,qr=e=>Hv.call(e)==="[object Boolean]",Pre=e=>e instanceof FormData,Are=e=>Ct(Ere,e);function ej(e){return e===null||typeof e!="object"}function zf(e,t){return{}.toString.call(e)==="[object "+t+"]"}function qk(e){return typeof Event<"u"&&(function(t,o){try{return t instanceof o}catch{return!1}})(e,Event)}var Rre=[!0,"true",1,"1","yes"],bw=e=>Ct(Rre,e),Dre=[!1,"false",0,"0","no"];function $r(e,t,o,a,n){return t>o&&(a.warn("min cannot be greater than max."),t=o),Xn(e)?e>o?(a.warn(" cannot be greater than max: "+o+". Using max value instead."),o):t>e?(a.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(a.warn(" must be a number. using max or fallback. max: "+o+", fallback: "+n),$r(n||o,t,o,a))}let Ore=class{constructor(t){this.$t={},this.zt=t.zt,this.Ut=$r(t.bucketSize,0,100,t.Gt),this.Wt=$r(t.refillRate,0,this.Ut,t.Gt),this.Xt=$r(t.refillInterval,0,864e5,t.Gt)}Jt(t,o){var a=Math.floor((o-t.lastAccess)/this.Xt);a>0&&(t.tokens=Math.min(t.tokens+a*this.Wt,this.Ut),t.lastAccess=t.lastAccess+a*this.Xt)}consumeRateLimit(t){var o,a=Date.now(),n=String(t),i=this.$t[n];return i?this.Jt(i,a):this.$t[n]=i={tokens:this.Ut,lastAccess:a},i.tokens===0||(i.tokens--,i.tokens===0&&((o=this.zt)==null||o.call(this,t)),i.tokens===0)}stop(){this.$t={}}};var Og,oO,yw,Dn="Mobile",Uf="iOS",Ei="Android",Td="Tablet",tj=Ei+" "+Td,oj="iPad",aj="Apple",nj=aj+" Watch",dp="Safari",kd="BlackBerry",rj="Samsung",ij=rj+"Browser",sj=rj+" Internet",El="Chrome",Mre=El+" OS",lj=El+" "+Uf,$k="Internet Explorer",cj=$k+" "+Dn,Vk="Opera",Nre=Vk+" Mini",Hk="Edge",dj="Microsoft "+Hk,cd="Firefox",uj=cd+" "+Uf,Op="Nintendo",Mp="PlayStation",dd="Xbox",pj=Ei+" "+Dn,mj=Dn+" "+dp,tp="Windows",yx=tp+" Phone",aO="Nokia",Sx="Ouya",hj="Generic",Ire=hj+" "+Dn.toLowerCase(),gj=hj+" "+Td.toLowerCase(),wx="Konqueror",Ha="(\\d+(\\.\\d+)?)",Sw=new RegExp("Version/"+Ha),Lre=new RegExp(dd,"i"),Bre=new RegExp(Mp+" \\w+","i"),Fre=new RegExp(Op+" \\w+","i"),Gk=new RegExp(kd+"|PlayBook|BB10","i"),jre={"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"},fj=function(e,t){return t=t||"",Ct(e," OPR/")&&Ct(e,"Mini")?Nre:Ct(e," OPR/")?Vk:Gk.test(e)?kd:Ct(e,"IE"+Dn)||Ct(e,"WPDesktop")?cj:Ct(e,ij)?sj:Ct(e,Hk)||Ct(e,"Edg/")?dj:Ct(e,"FBIOS")?"Facebook "+Dn:Ct(e,"UCWEB")||Ct(e,"UCBrowser")?"UC Browser":Ct(e,"CriOS")?lj:Ct(e,"CrMo")||Ct(e,El)?El:Ct(e,Ei)&&Ct(e,dp)?pj:Ct(e,"FxiOS")?uj:Ct(e.toLowerCase(),wx.toLowerCase())?wx:((o,a)=>a&&Ct(a,aj)||(function(n){return Ct(n,dp)&&!Ct(n,El)&&!Ct(n,Ei)})(o))(e,t)?Ct(e,Dn)?mj:dp:Ct(e,cd)?cd:Ct(e,"MSIE")||Ct(e,"Trident/")?$k:Ct(e,"Gecko")?cd:""},zre={[cj]:[new RegExp("rv:"+Ha)],[dj]:[new RegExp(Hk+"?\\/"+Ha)],[El]:[new RegExp("("+El+"|CrMo)\\/"+Ha)],[lj]:[new RegExp("CriOS\\/"+Ha)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Ha)],[dp]:[Sw],[mj]:[Sw],[Vk]:[new RegExp("(Opera|OPR)\\/"+Ha)],[cd]:[new RegExp(cd+"\\/"+Ha)],[uj]:[new RegExp("FxiOS\\/"+Ha)],[wx]:[new RegExp("Konqueror[:/]?"+Ha,"i")],[kd]:[new RegExp(kd+" "+Ha),Sw],[pj]:[new RegExp("android\\s"+Ha,"i")],[sj]:[new RegExp(ij+"\\/"+Ha)],[$k]:[new RegExp("(rv:|MSIE )"+Ha)],Mozilla:[new RegExp("rv:"+Ha)]},Ure=function(e,t){var o=fj(e,t),a=zre[o];if($e(a))return null;for(var n=0;a.length>n;n++){var i=e.match(a[n]);if(i)return parseFloat(i[i.length-2])}return null},nO=[[new RegExp(dd+"; "+dd+" (.*?)[);]","i"),e=>[dd,e&&e[1]||""]],[new RegExp(Op,"i"),[Op,""]],[new RegExp(Mp,"i"),[Mp,""]],[Gk,[kd,""]],[new RegExp(tp,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[yx,""];if(new RegExp(Dn).test(t)&&!/IEMobile\b/.test(t))return[tp+" "+Dn,""];var o=/Windows NT ([0-9.]+)/i.exec(t);if(o&&o[1]){var a=jre[o[1]]||"";return/arm/i.test(t)&&(a="RT"),[tp,a]}return[tp,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[Uf,[e[3],e[4],e[5]||"0"].join(".")]:[Uf,""]],[/(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("("+Ei+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Ei+")","i"),e=>e&&e[2]?[Ei,[e[2],e[3],e[4]||"0"].join(".")]:[Ei,""]],[/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/,[Mre,""]],[/Linux|debian/i,["Linux",""]]],rO=function(e){return Fre.test(e)?Op:Bre.test(e)?Mp:Lre.test(e)?dd:new RegExp(Sx,"i").test(e)?Sx:new RegExp("("+yx+"|WPDesktop)","i").test(e)?yx:/iPad/.test(e)?oj:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?nj:Gk.test(e)?kd:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(aO,"i").test(e)?aO:/(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(Dn).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)?Ei:tj:new RegExp("(pda|"+Dn+")","i").test(e)?Ire:new RegExp(Td,"i").test(e)&&!new RegExp(Td+" pc","i").test(e)?gj:""},qre=e=>e instanceof Error,vj={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}},$re=vj.info;function bj(e){if(qr(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=>bj(t)))}};try{return{stringValue:JSON.stringify(e)}}catch{return{stringValue:String(e)}}}function iO(e){var t=[];for(var o in e){var a=e[o];Ni(a)||$e(a)||t.push({key:o,value:bj(a)})}return t}function Vre(e){var t=globalThis._posthogChunkIds;if(t){var o=Object.keys(t);return yw&&o.length===oO||(oO=o.length,yw=o.reduce(((a,n)=>{Og||(Og={});var i=Og[n];if(i)a[i[0]]=i[1];else for(var l=e(n),c=l.length-1;c>=0;c--){var d=l[c],p=d?.filename,m=t[n];if(p&&m){a[p]=m,Og[n]=[p,m];break}}return a}),{})),yw}}class Hre{constructor(t,o,a){a===void 0&&(a=[]),this.coercers=t,this.stackParser=o,this.modifiers=a}buildFromUnknown(t,o){o===void 0&&(o={});var a=o&&o.mechanism||{handled:!0,type:"generic"},n=this.buildCoercingContext(a,o,0).apply(t),i=this.buildParsingContext(o),l=this.parseStacktrace(n,i);return{$exception_list:this.convertToExceptionList(l,a),$exception_level:"error"}}modifyFrames(t){var o=this;return Kn((function*(){for(var a of t)a.stacktrace&&a.stacktrace.frames&&Bt(a.stacktrace.frames)&&(a.stacktrace.frames=yield o.applyModifiers(a.stacktrace.frames));return t}))()}coerceFallback(t){var o;return{type:"Error",value:"Unknown error",stack:(o=t.syntheticException)==null?void 0:o.stack,synthetic:!0}}parseStacktrace(t,o){var a,n;return t.cause!=null&&(a=this.parseStacktrace(t.cause,o)),t.stack!=""&&t.stack!=null&&(n=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?o.skipFirstLines:0),o.chunkIdMap)),Ne({},t,{cause:a,stack:n})}applyChunkIds(t,o){return t.map((a=>(a.filename&&o&&(a.chunk_id=o[a.filename]),a)))}applyCoercers(t,o){for(var a of this.coercers)if(a.match(t))return a.coerce(t,o);return this.coerceFallback(o)}applyModifiers(t){var o=this;return Kn((function*(){var a=t;for(var n of o.modifiers)a=yield n(a);return a}))()}convertToExceptionList(t,o){var a,n,i,l={type:t.type,value:t.value,mechanism:{type:(a=o.type)!==null&&a!==void 0?a:"generic",handled:(n=o.handled)===null||n===void 0||n,synthetic:(i=t.synthetic)!==null&&i!==void 0&&i}};t.stack&&(l.stacktrace={type:"raw",frames:t.stack});var c=[l];return t.cause!=null&&c.push(...this.convertToExceptionList(t.cause,Ne({},o,{handled:!0}))),c}buildParsingContext(t){var o;return{chunkIdMap:Vre(this.stackParser),skipFirstLines:(o=t.skipFirstLines)!==null&&o!==void 0?o:1}}buildCoercingContext(t,o,a){a===void 0&&(a=0);var n=(i,l)=>{if(4>=l){var c=this.buildCoercingContext(t,o,l);return this.applyCoercers(i,c)}};return Ne({},o,{syntheticException:a==0?o.syntheticException:void 0,mechanism:t,apply:i=>n(i,a),next:i=>n(i,a+1)})}}var _d="?";function xx(e,t,o,a,n){var i={platform:e,filename:t,function:o==="<anonymous>"?_d:o,in_app:!0};return $e(a)||(i.lineno=a),$e(n)||(i.colno=n),i}var yj=(e,t)=>{var o=e.indexOf("safari-extension")!==-1,a=e.indexOf("safari-web-extension")!==-1;return o||a?[e.indexOf("@")!==-1?e.split("@")[0]:_d,o?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},Gre=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Wre=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Kre=/\((\S*)(?::(\d+))(?::(\d+))\)/,Yre=(e,t)=>{var o=Gre.exec(e);if(o){var[,a,n,i]=o;return xx(t,a,_d,+n,+i)}var l=Wre.exec(e);if(l){if(l[2]&&l[2].indexOf("eval")===0){var c=Kre.exec(l[2]);c&&(l[2]=c[1],l[3]=c[2],l[4]=c[3])}var[d,p]=yj(l[1]||_d,l[2]);return xx(t,p,d,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},Zre=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Qre=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Jre=(e,t)=>{var o=Zre.exec(e);if(o){if(o[3]&&o[3].indexOf(" > eval")>-1){var a=Qre.exec(o[3]);a&&(o[1]=o[1]||"eval",o[3]=a[1],o[4]=a[2],o[5]="")}var n=o[3],i=o[1]||_d;return[i,n]=yj(i,n),xx(t,n,i,o[4]?+o[4]:void 0,o[5]?+o[5]:void 0)}},sO=/\(error: (.*)\)/;let Xre=class{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,o){var a=Co(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:a?t.stack:void 0,cause:t.cause?o.next(t.cause):void 0,synthetic:!1}}getType(t){return this.isDOMError(t)?"DOMError":"DOMException"}getValue(t){var o=t.name||(this.isDOMError(t)?"DOMError":"DOMException");return t.message?o+": "+t.message:o}isDOMException(t){return zf(t,"DOMException")}isDOMError(t){return zf(t,"DOMError")}};class eie{match(t){return(o=>o instanceof Error)(t)}coerce(t,o){return{type:this.getType(t),value:this.getMessage(t,o),stack:this.getStack(t),cause:t.cause?o.next(t.cause):void 0,synthetic:!1}}getType(t){return t.name||t.constructor.name}getMessage(t,o){var a=t.message;return String(a.error&&typeof a.error.message=="string"?a.error.message:a)}getStack(t){return t.stacktrace||t.stack||void 0}}let tie=class{constructor(){}match(t){return zf(t,"ErrorEvent")&&t.error!=null}coerce(t,o){var a;return o.apply(t.error)||{type:"ErrorEvent",value:t.message,stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}};var oie=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let aie=class{match(t){return typeof t=="string"}coerce(t,o){var a,[n,i]=this.getInfos(t);return{type:n??"Error",value:i??t,stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}getInfos(t){var o="Error",a=t,n=t.match(oie);return n&&(o=n[1],a=n[2]),[o,a]}};var nie=["fatal","error","warning","log","info","debug"];function Sj(e,t){t===void 0&&(t=40);var o=Object.keys(e);if(o.sort(),!o.length)return"[object has no keys]";for(var a=o.length;a>0;a--){var n=o.slice(0,a).join(", ");if(t>=n.length)return a===o.length?n:n.length>t?n.slice(0,t)+"...":n}return""}let rie=class{match(t){return typeof t=="object"&&t!==null}coerce(t,o){var a,n=this.getErrorPropertyFromObject(t);return n?o.apply(n):{type:this.getType(t),value:this.getValue(t),stack:(a=o.syntheticException)==null?void 0:a.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return qk(t)?t.constructor.name:"Error"}getValue(t){if("name"in t&&typeof t.name=="string"){var o="'"+t.name+"' captured as exception";return"message"in t&&typeof t.message=="string"&&(o+=" with message: '"+t.message+"'"),o}if("message"in t&&typeof t.message=="string")return t.message;var a=this.getObjectClassName(t);return(a&&a!=="Object"?"'"+a+"'":"Object")+" captured as exception with keys: "+Sj(t)}isSeverityLevel(t){return Co(t)&&!af(t)&&nie.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var o in t)if({}.hasOwnProperty.call(t,o)){var a=t[o];if(qre(a))return a}}getObjectClassName(t){try{var o=Object.getPrototypeOf(t);return o?o.constructor.name:void 0}catch{return}}},iie=class{match(t){return qk(t)}coerce(t,o){var a,n=t.constructor.name;return{type:n,value:n+" captured as exception with keys: "+Sj(t),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}},sie=class{match(t){return ej(t)}coerce(t,o){var a;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}}},lie=class{match(t){return zf(t,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(t)}isCustomEventWrappingRejection(t){if(!qk(t))return!1;try{var o=t.detail;return o!=null&&typeof o=="object"&&"reason"in o}catch{return!1}}coerce(t,o){var a,n=this.getUnhandledRejectionReason(t);return ej(n)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(n),stack:(a=o.syntheticException)==null?void 0:a.stack,synthetic:!0}:o.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 qf="$message",$f="$timestamp",cie=new Set([qf,$f]),ww={enabled:!0,max_bytes:32768};function Vf(e){var t;return e?{enabled:(t=e.enabled)!==null&&t!==void 0?t:ww.enabled,max_bytes:uie(e.max_bytes,ww.max_bytes)}:Ne({},ww)}let die=class{constructor(t){this.Kt=[],this.Qt=0,this.Bt=Vf(t)}setConfig(t){this.Bt=Vf(t),this.er()}add(t){var o=(function(n){var i=(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(i)try{var l=JSON.parse(i);if(!Bo(l))return;var c=l,d=c[qf],p=c[$f];return!Co(d)||d.trim().length===0||!Co(p)&&!Xn(p)?void 0:{step:c,json:i}}catch{return}})(t);if(o){var a=(function(n){if(typeof TextEncoder<"u")return new TextEncoder().encode(n).length;for(var i=encodeURIComponent(n),l=0,c=0;i.length>c;c++)i[c]==="%"?(l+=1,c+=2):l+=1;return l})(o.json);a>this.Bt.max_bytes||(this.Kt.push({step:o.step,bytes:a}),this.Qt+=a,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 uie(e,t){if(!Xn(e)||e===1/0||e===-1/0)return t;var o=Math.floor(e);return 0>o?t:o}var wj=function(e,t){var{debugEnabled:o}=t===void 0?{}:t,a={C(n){if(ge&&(Ga.DEBUG||tt.POSTHOG_DEBUG||o)&&!$e(ge.console)&&ge.console){for(var i=("__rrweb_original__"in ge.console[n])?ge.console[n].__rrweb_original__:ge.console[n],l=arguments.length,c=new Array(l>1?l-1:0),d=1;l>d;d++)c[d-1]=arguments[d];i(e,...c)}},info(){for(var n=arguments.length,i=new Array(n),l=0;n>l;l++)i[l]=arguments[l];a.C("log",...i)},warn(){for(var n=arguments.length,i=new Array(n),l=0;n>l;l++)i[l]=arguments[l];a.C("warn",...i)},error(){for(var n=arguments.length,i=new Array(n),l=0;n>l;l++)i[l]=arguments[l];a.C("error",...i)},critical(){for(var n=arguments.length,i=new Array(n),l=0;n>l;l++)i[l]=arguments[l];console.error(e,...i)},uninitializedWarning(n){a.error("You must initialize PostHog before calling "+n)},createLogger:(n,i)=>wj(e+" "+n,i)};return a},Ue=wj("[PostHog.js]"),xo=Ue.createLogger,pie=xo("[ExternalScriptsLoader]"),xw=(e,t,o)=>{if(e.config.disable_external_dependency_loading)return pie.warn(t+" was requested but loading of external scripts is disabled."),o("Loading of external scripts is disabled");var a=ze?.querySelectorAll("script");if(a){for(var n,i=function(){if(a[l].src===t){var d=a[l];return d.__posthog_loading_callback_fired?{v:o()}:(d.addEventListener("load",(p=>{d.__posthog_loading_callback_fired=!0,o(void 0,p)})),d.onerror=p=>o(p),{v:void 0})}},l=0;a.length>l;l++)if(n=i())return n.v}var c=()=>{if(!ze)return o("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,o(void 0,h)},d.onerror=h=>o(h),e.config.prepare_external_dependency_script&&(d=e.config.prepare_external_dependency_script(d)),!d)return o("prepare_external_dependency_script returned null");if(e.config.external_scripts_inject_target==="head")ze.head.appendChild(d);else{var p,m=ze.querySelectorAll("body > script");m.length>0?(p=m[0].parentNode)==null||p.insertBefore(d,m[0]):ze.body.appendChild(d)}};ze!=null&&ze.body?c():ze?.addEventListener("DOMContentLoaded",c)};tt.__PosthogExtensions__=tt.__PosthogExtensions__||{},tt.__PosthogExtensions__.loadExternalDependency=(e,t,o)=>{if(t!=="remote-config"){var a;if(e.config.__preview_external_dependency_versioned_paths)a=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var n="/static/"+t+".js?v="+e.version;if(t==="toolbar"){var i=3e5;n=n+"&t="+Math.floor(Date.now()/i)*i}a=e.requestRouter.endpointFor("assets",n)}xw(e,a,o)}else{var l=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");xw(e,l,o)}},tt.__PosthogExtensions__.loadSiteApp=(e,t,o)=>{var a=e.requestRouter.endpointFor("api",t);xw(e,a,o)};var xj="$people_distinct_id",Hf="$device_id",op="__alias",ap="__timers",Tx="$autocapture_disabled_server_side",kx="$heatmaps_enabled_server_side",_x="$exception_capture_enabled_server_side",Cx="$error_tracking_suppression_rules",Ex="$error_tracking_capture_extension_exceptions",Px="$web_vitals_enabled_server_side",Wk="$dead_clicks_enabled_server_side",Ax="$product_tours_enabled_server_side",Rx="$web_vitals_allowed_metrics",np="$session_recording_remote_config",Tj="$replay_override_sampling",kj="$replay_override_linked_flag",_j="$replay_override_url_trigger",Cj="$replay_override_event_trigger",Gf="$sesid",Kk="$session_is_sampled",td="$enabled_feature_flags",nf="$active_feature_flags",rp="$early_access_features",Dx="$feature_flag_details",Ox="$feature_flag_payloads",Mx="$feature_flag_request_id",xi="$override_feature_flags",Kc="$override_feature_flag_payloads",ip="$stored_person_properties",vl="$stored_group_properties",Nx="$surveys",Ix="$surveys_activated",rf="ph_product_tours",up="$flag_call_reported",Lx="$flag_call_reported_session_id",Bx="$feature_flag_errors",Wf="$feature_flag_evaluated_at",pr="$user_state",Fx="$client_session_props",jx="$capture_rate_limit",zx="$initial_campaign_params",Ux="$initial_referrer_info",Kf="$initial_person_info",Yf="$epp",Ej="__POSTHOG_TOOLBAR__",Mg="$posthog_cookieless",Pj="$sdk_debug_extensions_init_method",Aj="$sdk_debug_extensions_init_time_ms",Rj="$sdk_debug_recording_script_not_loaded",Yk="PostHog loadExternalDependency extension not found.",bl="on_reject",ki="always",Lc="anonymous",Bc="identified",qx="identified_only",Zf="visibilitychange",Qf="beforeunload",Yc="$pageview",Tw="$pageleave",kw="$identify",lO="$groupidentify";function Ng(e,t){Bt(e)&&e.forEach(t)}function vo(e,t){if(!Et(e))if(Bt(e))e.forEach(t);else if(Pre(e))e.forEach(((a,n)=>t(a,n)));else for(var o in e)XF.call(e,o)&&t(e[o],o)}var Mo=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),a=1;t>a;a++)o[a-1]=arguments[a];for(var n of o)for(var i in n)n[i]!==void 0&&(e[i]=n[i]);return e};function sf(e){for(var t=Object.keys(e),o=t.length,a=new Array(o);o--;)a[o]=[t[o],e[t[o]]];return a}var cO=function(e){try{return e()}catch{return}},mie=function(e){return function(){try{for(var t=arguments.length,o=new Array(t),a=0;t>a;a++)o[a]=arguments[a];return e.apply(this,o)}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)}}},Zk=function(e){var t={};return vo(e,(function(o,a){(Co(o)&&o.length>0||Xn(o))&&(t[a]=o)})),t},hie=["herokuapp.com","vercel.app","netlify.app"];function gie(e){var t=e?.hostname;if(!Co(t))return!1;var o=t.split(".").slice(-2).join(".");for(var a of hie)if(o===a)return!1;return!0}function Zo(e,t,o,a){var{capture:n=!1,passive:i=!0}=a??{};e?.addEventListener(t,o,{capture:n,passive:i})}function Dj(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 Xn(e)&&isFinite(e)&&Math.floor(e)===e});class Jf{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,o,a,n){if(!Number.isInteger(t)||!Number.isInteger(o)||!Number.isInteger(a)||!Number.isInteger(n)||0>t||0>o||0>a||0>n||t>0xffffffffffff||o>4095||a>1073741823||n>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=t/Math.pow(2,40),i[1]=t/Math.pow(2,32),i[2]=t/Math.pow(2,24),i[3]=t/Math.pow(2,16),i[4]=t/Math.pow(2,8),i[5]=t,i[6]=112|o>>>8,i[7]=o,i[8]=128|a>>>24,i[9]=a>>>16,i[10]=a>>>8,i[11]=a,i[12]=n>>>24,i[13]=n>>>16,i[14]=n>>>8,i[15]=n,new Jf(i)}toString(){for(var t="",o=0;this.bytes.length>o;o++)t=t+(this.bytes[o]>>>4).toString(16)+(15&this.bytes[o]).toString(16),o!==3&&o!==5&&o!==7&&o!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new Jf(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var o=0;16>o;o++){var a=this.bytes[o]-t.bytes[o];if(a!==0)return Math.sign(a)}return 0}}class fie{constructor(){this.I=0,this.S=0,this.k=new vie}generate(){var t=this.generateOrAbort();if($e(t)){this.I=0;var o=this.generateOrAbort();if($e(o))throw new Error("Could not generate UUID after timestamp reset");return o}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 Jf.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 dO,Oj=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&&(Oj=e=>crypto.getRandomValues(e));class vie{constructor(){this.T=new Uint32Array(8),this.N=1/0}nextUint32(){return this.T.length>this.N||(Oj(this.T),this.N=0),this.T[this.N++]}}var ws=()=>bie().toString(),bie=()=>(dO||(dO=new fie)).generate(),Fu="",yie=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,Ur={R:()=>!!ze,B(e){Ue.error("cookieStore error: "+e)},O(e){if(ze){try{for(var t=e+"=",o=ze.cookie.split(";").filter((i=>i.length)),a=0;o.length>a;a++){for(var n=o[a];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(Ur.O(e))||{}}catch{}return t},M(e,t,o,a,n){if(ze)try{var i="",l="",c=(function(m,h){if(h){var f=(function(b,S){if(S===void 0&&(S=ze),Fu)return Fu;if(!S||["localhost","127.0.0.1"].includes(b))return"";for(var k=b.split("."),x=Math.min(k.length,8),T="dmn_chk_"+ws();!Fu&&x--;){var P=k.slice(x).join("."),C=T+"=1;domain=."+P+";path=/";S.cookie=C+";max-age=3",S.cookie.includes(T)&&(S.cookie=C+";max-age=0",Fu=P)}return Fu})(m);if(!f){var v=(b=>{var S=b.match(yie);return S?S[0]:""})(m);v!==f&&Ue.info("Warning: cookie subdomain discovery mismatch",v,f),f=v}return f?"; domain=."+f:""}return""})(ze.location.hostname,a);if(o){var d=new Date;d.setTime(d.getTime()+864e5*o),i="; expires="+d.toUTCString()}n&&(l="; secure");var p=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+c+l;return p.length>3686.4&&Ue.warn("cookieStore warning: large cookie, len="+p.length),ze.cookie=p,p}catch{return}},F(e,t){if(ze!=null&&ze.cookie)try{Ur.M(e,"",-1,t)}catch{return}}},_w=null,_o={R(){if(!Ni(_w))return _w;var e=!0;if($e(ge))e=!1;else try{var t="__mplssupport__";_o.M(t,"xyz"),_o.O(t)!=='"xyz"'&&(e=!1),_o.F(t)}catch{e=!1}return e||Ue.error("localStorage unsupported; falling back to cookie store"),_w=e,e},B(e){Ue.error("localStorage error: "+e)},O(e){try{return ge?.localStorage.getItem(e)}catch(t){_o.B(t)}return null},Z(e){try{return JSON.parse(_o.O(e))||{}}catch{}return null},M(e,t){try{ge?.localStorage.setItem(e,JSON.stringify(t))}catch(o){_o.B(o)}},F(e){try{ge?.localStorage.removeItem(e)}catch(t){_o.B(t)}}},Sie=[Hf,"distinct_id",Gf,Kk,Yf,Kf,pr],Ig={},wie={R:()=>!0,B(e){Ue.error("memoryStorage error: "+e)},O:e=>Ig[e]||null,Z:e=>Ig[e]||null,M(e,t){Ig[e]=t},F(e){delete Ig[e]}},pl=null,xa={R(){if(!Ni(pl))return pl;if(pl=!0,$e(ge))pl=!1;else try{var e="__support__";xa.M(e,"xyz"),xa.O(e)!=='"xyz"'&&(pl=!1),xa.F(e)}catch{pl=!1}return pl},B(e){Ue.error("sessionStorage error: ",e)},O(e){try{return ge?.sessionStorage.getItem(e)}catch(t){xa.B(t)}return null},Z(e){try{return JSON.parse(xa.O(e))||null}catch{}return null},M(e,t){try{ge?.sessionStorage.setItem(e,JSON.stringify(t))}catch(o){xa.B(o)}},F(e){try{ge?.sessionStorage.removeItem(e)}catch(t){xa.B(t)}}};class xie{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===ki||this.isRejected()||this.consent===-1&&this.Bt.cookieless_mode===bl}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:o,consent_persistence_name:a}=this._instance.config;return a||(o?o+t:"__ph_opt_in_out_"+t)}get ir(){var t=this.nr.O(this.sr);return bw(t)?1:Ct(Dre,t)?0:-1}get nr(){var t=this.Bt.opt_out_capturing_persistence_type,o=t==="localStorage"?_o:Ur;if(!this.ar||this.ar!==o){this.ar=o;var a=t==="localStorage"?Ur:_o;a.O(this.sr)&&(this.ar.O(this.sr)||this.optInOut(bw(a.O(this.sr))),a.F(this.sr,this.Bt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.Bt.respect_dnt&&[An?.doNotTrack,An?.msDoNotTrack,tt.doNotTrack].some((t=>bw(t)))}}var Lg=xo("[Dead Clicks]"),Tie=()=>!0,kie=e=>{var t,o=!((t=e.instance.persistence)==null||!t.get_property(Wk)),a=e.instance.config.capture_dead_clicks;return qr(a)?a:!!Bo(a)||o};class uO{get lazyLoadedDeadClicksAutocapture(){return this.lr}constructor(t,o,a){this.instance=t,this.isEnabled=o,this.onCapture=a,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[Wk]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.ur((()=>{this.hr()})):this.stop()}ur(t){var o,a;(o=tt.__PosthogExtensions__)!=null&&o.initDeadClicksAutocapture&&t(),(a=tt.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this.instance,"dead-clicks-autocapture",(n=>{n?Lg.error("failed to load script",n):t()}))}hr(){var t;if(ze){if(!this.lr&&(t=tt.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var o=Bo(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};o.__onCapture=this.onCapture,this.lr=tt.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,o),this.lr.start(ze),Lg.info("starting...")}}else Lg.error("`document` not found. Cannot start.")}stop(){this.lr&&(this.lr.stop(),this.lr=void 0,Lg.info("stopping..."))}}var Cw=xo("[SegmentIntegration]"),Mj="posthog-js";function Nj(e,t){var{organization:o,projectId:a,prefix:n,severityAllowList:i=["error"],sendExceptionsToPostHog:l=!0}=t===void 0?{}:t;return c=>{var d,p,m,h,f;if(i!=="*"&&!i.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,S=((d=c.exception)==null?void 0:d.values)||[],k=S.map((T=>Ne({},T,{stacktrace:T.stacktrace?Ne({},T.stacktrace,{type:"raw",frames:(T.stacktrace.frames||[]).map((P=>Ne({},P,{platform:"web:javascript"})))}):void 0}))),x={$exception_message:((p=S[0])==null?void 0:p.value)||c.message,$exception_type:(m=S[0])==null?void 0:m.type,$exception_level:c.level,$exception_list:k,$sentry_event_id:c.event_id,$sentry_exception:c.exception,$sentry_exception_message:((h=S[0])==null?void 0:h.value)||c.message,$sentry_exception_type:(f=S[0])==null?void 0:f.type,$sentry_tags:c.tags};return o&&a&&(x.$sentry_url=(n||"https://sentry.io/organizations/")+o+"/issues/?project="+a+"&query="+c.event_id),l&&((b=e.exceptions)==null||b.sendExceptionEvent(x)),c}}class _ie{constructor(t,o,a,n,i,l){this.name=Mj,this.setupOnce=function(c){c(Nj(t,{organization:o,projectId:a,prefix:n,severityAllowList:i,sendExceptionsToPostHog:l==null||l}))}}}class pO{constructor(t){this.cr=(o,a,n)=>{n&&(n.noSessionId||n.activityTimeout||n.sessionPastMaximumLength)&&(Ue.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:o,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,o){var a,n=this.gr(t,o);return this.dr={pathname:(a=ge?.location.pathname)!==null&&a!==void 0?a:"",pageViewId:o,timestamp:t},this._instance.scrollManager.resetContext(),n}doPageLeave(t){var o;return this.gr(t,(o=this.dr)==null?void 0:o.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.dr)==null?void 0:t.pageViewId}}gr(t,o){var a=this.dr;if(!a)return{$pageview_id:o};var n={$pageview_id:o,$prev_pageview_id:a.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:l,lastScrollY:c,maxScrollY:d,maxContentHeight:p,lastContentY:m,maxContentY:h}=i;if(!($e(l)||$e(c)||$e(d)||$e(p)||$e(m)||$e(h))){l=Math.ceil(l),c=Math.ceil(c),d=Math.ceil(d),p=Math.ceil(p),m=Math.ceil(m),h=Math.ceil(h);var f=l>1?$r(c/l,0,1,Ue):1,v=l>1?$r(d/l,0,1,Ue):1,b=p>1?$r(m/p,0,1,Ue):1,S=p>1?$r(h/p,0,1,Ue):1;n=Mo(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:S})}}return a.pathname&&(n.$prev_pageview_pathname=a.pathname),a.timestamp&&(n.$prev_pageview_duration=(t.getTime()-a.timestamp.getTime())/1e3),n}}var Cie={[xj]:{exposure:"hidden"},[op]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[ap]:{exposure:"hidden"},[Tx]:{exposure:"event"},[kx]:{exposure:"hidden"},[_x]:{exposure:"event"},[Cx]:{exposure:"hidden"},[Ex]:{exposure:"event"},[Px]:{exposure:"event"},[Wk]:{exposure:"event"},[Ax]:{exposure:"hidden"},[Rx]:{exposure:"event"},[np]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[Gf]:{exposure:"hidden"},[Kk]:{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"},[td]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!Bo(e))return{};for(var t={},o=Object.keys(e),a=0;o.length>a;a++)t["$feature/"+o[a]]=e[o[a]];return t}},[nf]:{exposure:"event"},[rp]:{exposure:"hidden"},[Dx]:{exposure:"hidden"},[Ox]:{exposure:"event"},[Mx]:{exposure:"event"},[xi]:{exposure:"event"},[Kc]:{exposure:"hidden"},[ip]:{exposure:"hidden"},[vl]:{exposure:"hidden"},[Nx]:{exposure:"hidden"},[Ix]:{exposure:"event"},[rf]:{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"},[up]:{exposure:"hidden"},[Lx]:{exposure:"hidden"},[Bx]:{exposure:"hidden"},[Wf]:{exposure:"hidden"},[pr]:{exposure:"hidden"},[Fx]:{exposure:"hidden"},[jx]:{exposure:"hidden"},[zx]:{exposure:"hidden"},[Ux]:{exposure:"hidden"},[Kf]:{exposure:"hidden"},[Yf]:{exposure:"hidden"},[Tj]:{exposure:"event"},[kj]:{exposure:"event"},[_j]:{exposure:"event"},[Cj]:{exposure:"event"},[Pj]:{exposure:"event"},[Aj]:{exposure:"event"},[Rj]:{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"}},Eie=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],Xf=e=>{var t=ze?.createElement("a");return $e(t)?null:(t.href=e,t)},ev=function(e,t){for(var o,a=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),n=0;a.length>n;n++){var i=a[n].split("=");if(i[0]===t){o=i;break}}if(!Bt(o)||2>o.length)return"";var l=o[1];try{l=decodeURIComponent(l)}catch{Ue.error("Skipping decoding for malformed query param: "+l)}return l.replace(/\+/g," ")},Np=function(e,t,o){if(!e||!t||!t.length)return e;for(var a=e.split("#"),n=a[1],i=(a[0]||"").split("?"),l=i[1],c=i[0],d=(l||"").split("&"),p=[],m=0;d.length>m;m++){var h=d[m].split("=");Bt(h)&&(t.includes(h[0])?p.push(h[0]+"="+o):p.push(d[m]))}var f=c;return l!=null&&(f+="?"+p.join("&")),n!=null&&(f+="#"+n),f},tv=function(e,t){var o=e.match(new RegExp(t+"=([^&]*)"));return o?o[1]:null},Bg="https?://(.*)",Cd=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],Pie=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...Cd],Ip="<masked>",Aie=["li_fat_id"];function Ij(e,t,o){if(!ze)return{};var a,n=t?[...Cd,...o||[]]:[],i=Lj(Np(ze.URL,n,Ip),e),l=(a={},vo(Aie,(function(c){var d=Ur.O(c);a[c]=d||null})),a);return Mo(l,i)}function Lj(e,t){var o=Pie.concat(t||[]),a={};return vo(o,(function(n){var i=ev(e,n);a[n]=i||null})),a}function Bj(e){var t=(function(i){return i?i.search(Bg+"google.([^/?]*)")===0?"google":i.search(Bg+"bing.com")===0?"bing":i.search(Bg+"yahoo.com")===0?"yahoo":i.search(Bg+"duckduckgo.com")===0?"duckduckgo":null:null})(e),o=t!="yahoo"?"q":"p",a={};if(!Ni(t)){a.$search_engine=t;var n=ze?ev(ze.referrer,o):"";n.length&&(a.ph_keyword=n)}return a}function mO(){return navigator.language||navigator.userLanguage}var ov="$direct";function Fj(){return ze?.referrer||ov}function jj(e,t){var o=e?[...Cd,...t||[]]:[],a=wa?.href.substring(0,1e3);return{r:Fj().substring(0,1e3),u:a?Np(a,o,Ip):void 0}}function zj(e){var t,{r:o,u:a}=e,n={$referrer:o,$referring_domain:o==null?void 0:o==ov?ov:(t=Xf(o))==null?void 0:t.host};if(a){n.$current_url=a;var i=Xf(a);n.$host=i?.host,n.$pathname=i?.pathname;var l=Lj(a);Mo(n,l)}if(o){var c=Bj(o);Mo(n,c)}return n}function Uj(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function Rie(){try{return new Date().getTimezoneOffset()}catch{return}}var Die=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class Ew{constructor(t,o){this.Bt=t,this.props={},this.mr=!1,this.yr=(a=>{var n="";return a.token&&(n=a.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),a.persistence_name?"ph_"+a.persistence_name:"ph_"+n+"_posthog"})(t),this.nr=this.br(t),this.load(),t.debug&&Ue.info("Persistence loaded",t.persistence,Ne({},this.props)),this.update_config(t,t,o),this.save()}isDisabled(){return!!this._r}br(t){Die.indexOf(t.persistence.toLowerCase())===-1&&(Ue.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var o=(function(n){n===void 0&&(n=[]);var i=[...Sie,...n];return Ne({},_o,{Z(l){try{var c={};try{c=Ur.Z(l)||{}}catch{}var d=Mo(c,JSON.parse(_o.O(l)||"{}"));return _o.M(l,d),d}catch{}return null},M(l,c,d,p,m,h){try{_o.M(l,c,void 0,void 0,h);var f={};i.forEach((v=>{c[v]&&(f[v]=c[v])})),Object.keys(f).length&&Ur.M(l,f,d,p,m,h)}catch(v){_o.B(v)}},F(l,c){try{ge?.localStorage.removeItem(l),Ur.F(l,c)}catch(d){_o.B(d)}}})})(t.cookie_persisted_properties||[]),a=t.persistence.toLowerCase();return a==="localstorage"&&_o.R()?_o:a==="localstorage+cookie"&&o.R()?o:a==="sessionstorage"&&xa.R()?xa:a==="memory"?wie:a==="cookie"?Ur:o.R()?o:Ur}wr(t){var o=t??this.Bt.feature_flag_cache_ttl_ms;if(!o||0>=o)return!1;var a=this.props[Wf];return!a||typeof a!="number"||Date.now()-a>o}properties(){var t={};return vo(this.props,((o,a)=>{var n=(i=>{var l=Cie[i];if(l)return l;for(var[c,d]of Eie)if(i.indexOf(c)===0)return d})(a);if(n?.exposure==="derived"){if(n.shouldSkipFromEventProperties!=null&&n.shouldSkipFromEventProperties(o,a===td?()=>this.wr():()=>!1))return;n.transformToEventProperties&&Mo(t,n.transformToEventProperties(o))}else n&&n.exposure!=="event"||(t[a]=o)})),t}load(){if(!this._r){var t=this.nr.Z(this.yr);t&&(this.props=Mo({},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,o,a){if(Bo(t)){$e(o)&&(o="None"),this.Ir=$e(a)?this.kr:a;var n=!1;if(vo(t,((i,l)=>{this.props.hasOwnProperty(l)&&this.props[l]!==o||(this.Tr(l,i),n=!0)})),n)return this.save(),!0}return!1}register(t,o){if(Bo(t)){this.Ir=$e(o)?this.kr:o;var a=!1;if(vo(t,((n,i)=>{t.hasOwnProperty(i)&&this.props[i]!==n&&(this.Tr(i,n),a=!0)})),a)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=Ij(this.Bt.custom_campaign_params,this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties);ed(Zk(t))||this.register(t),this.mr=!0}}update_search_keyword(){var t;this.register((t=ze?.referrer)?Bj(t):{})}update_referrer_info(){var t;this.register_once({$referrer:Fj(),$referring_domain:ze!=null&&ze.referrer&&((t=Xf(ze.referrer))==null?void 0:t.host)||ov},void 0)}set_initial_person_info(){this.props[zx]||this.props[Ux]||this.register_once({[Kf]:jj(this.Bt.mask_personal_data_properties,this.Bt.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};vo([Ux,zx],(l=>{var c=this.props[l];c&&vo(c,(function(d,p){t["$initial_"+bx(p)]=d}))}));var o,a,n=this.props[Kf];if(n){var i=(o=zj(n),a={},vo(o,(function(l,c){a["$initial_"+bx(c)]=l})),a);Mo(t,i)}return t}safe_merge(t){return vo(this.props,(function(o,a){a in t||(t[a]=o)})),t}update_config(t,o,a){if(this.kr=this.Ir=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!a),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==o.persistence||!((l,c)=>{if(l.length!==c.length)return!1;var d=[...l].sort(),p=[...c].sort();return d.every(((m,h)=>m===p[h]))})(t.cookie_persisted_properties||[],o.cookie_persisted_properties||[])){var n=this.br(t),i=this.props;this.clear(),this.nr=n,this.props=i,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,o){var a=this.props[ap]||{};a[t]=o,this.Tr(ap,a),this.save()}remove_event_timer(t){var o=this.props[ap]||{},a=o[t];return $e(a)||(delete o[t],this.Tr(ap,o),this.save()),a}get_property(t){return this.props[t]}set_property(t,o){this.Tr(t,o),this.save()}Tr(t,o){this.props[t]=o}Ar(t){delete this.props[t]}}var ju={Activation:"events",Cancellation:"cancelEvents"},Pw={Popover:"popover",API:"api",Widget:"widget"},sp={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},Aw={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},$x={Popover:"popover",Inline:"inline"},Oie={SHOWN:"product tour shown"},hO={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},gO=xo("[RateLimiter]");class Mie{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=o=>{var a=o.text;if(a&&a.length)try{(JSON.parse(a).quota_limited||[]).forEach((n=>{gO.info((n||"events")+" is quota limited."),this.serverLimits[n]=new Date().getTime()+6e4}))}catch(n){return void gO.warn('could not rate limit - continuing. Error: "'+n?.message+'"',{text:a})}},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 o,a,n;t===void 0&&(t=!1);var{captureEventsBurstLimit:i,captureEventsPerSecond:l}=this,c=new Date().getTime(),d=(o=(a=this.instance.persistence)==null?void 0:a.get_property(jx))!==null&&o!==void 0?o:{tokens:i,last:c};d.tokens+=(c-d.last)/1e3*l,d.last=c,d.tokens>i&&(d.tokens=i);var p=1>d.tokens;return p||t||(d.tokens=Math.max(0,d.tokens-1)),!p||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+l+" events per second and "+i+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=p,(n=this.instance.persistence)==null||n.set_property(jx,d),{isRateLimited:p,remainingTokens:d.tokens}}isServerRateLimited(t){var o=this.serverLimits[t||"events"]||!1;return o!==!1&&new Date().getTime()<o}}var zu=xo("[RemoteConfig]");class qj{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=tt._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}Er(t){var o,a;(o=tt.__PosthogExtensions__)!=null&&o.loadExternalDependency?(a=tt.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.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(o){t(o.json)}})}load(){try{if(this.remoteConfig)return zu.info("Using preloaded remote config",this.remoteConfig),this.Nr(this.remoteConfig),void this.Mr();if(this._instance.Fr())return void zu.warn("Remote config is disabled. Falling back to local config.");this.Er((t=>{if(!t)return zu.info("No config found after loading remote JS config. Falling back to JSON."),void this.Rr((o=>{this.Nr(o),this.Mr()}));this.Nr(t),this.Mr()}))}catch(t){zu.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 o=(t=this._instance.config.remote_config_refresh_interval_ms)!==null&&t!==void 0?t:3e5;o!==0&&(this.Or=setInterval((()=>{this.refresh()}),o))}}Nr(t){var o;t||zu.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||(o=this._instance.featureFlags)==null||o.ensureFlagsLoaded())}}var Lr={GZipJS:"gzip-js",Base64:"base64"},Jn=Uint8Array,pn=Uint16Array,Ed=Uint32Array,Qk=new Jn([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]),Jk=new Jn([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]),fO=new Jn([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),$j=function(e,t){for(var o=new pn(31),a=0;31>a;++a)o[a]=t+=1<<e[a-1];var n=new Ed(o[30]);for(a=1;30>a;++a)for(var i=o[a];o[a+1]>i;++i)n[i]=i-o[a]<<5|a;return[o,n]},Vj=$j(Qk,2),Vx=Vj[1];Vj[0][28]=258,Vx[258]=28;for(var vO=$j(Jk,0)[1],Hj=new pn(32768),bo=0;32768>bo;++bo){var Fc=(43690&bo)>>>1|(21845&bo)<<1;Hj[bo]=((65280&(Fc=(61680&(Fc=(52428&Fc)>>>2|(13107&Fc)<<2))>>>4|(3855&Fc)<<4))>>>8|(255&Fc)<<8)>>>1}var pp=function(e,t,o){for(var a=e.length,n=0,i=new pn(t);a>n;++n)++i[e[n]-1];var l,c=new pn(t);for(n=0;t>n;++n)c[n]=c[n-1]+i[n-1]<<1;for(l=new pn(a),n=0;a>n;++n)l[n]=Hj[c[e[n]-1]++]>>>15-e[n];return l},Dl=new Jn(288);for(bo=0;144>bo;++bo)Dl[bo]=8;for(bo=144;256>bo;++bo)Dl[bo]=9;for(bo=256;280>bo;++bo)Dl[bo]=7;for(bo=280;288>bo;++bo)Dl[bo]=8;var av=new Jn(32);for(bo=0;32>bo;++bo)av[bo]=5;var Nie=pp(Dl,9),Iie=pp(av,5),Gj=function(e){return(e/8>>0)+(7&e&&1)},Wj=function(e,t,o){(o==null||o>e.length)&&(o=e.length);var a=new(e instanceof pn?pn:e instanceof Ed?Ed:Jn)(o-t);return a.set(e.subarray(t,o)),a},Si=function(e,t,o){var a=t/8>>0;e[a]|=o<<=7&t,e[a+1]|=o>>>8},Uu=function(e,t,o){var a=t/8>>0;e[a]|=o<<=7&t,e[a+1]|=o>>>8,e[a+2]|=o>>>16},Rw=function(e,t){for(var o=[],a=0;e.length>a;++a)e[a]&&o.push({s:a,f:e[a]});var n=o.length,i=o.slice();if(!n)return[new Jn(0),0];if(n==1){var l=new Jn(o[0].s+1);return l[o[0].s]=1,[l,1]}o.sort((function(E,R){return E.f-R.f})),o.push({s:-1,f:25001});var c=o[0],d=o[1],p=0,m=1,h=2;for(o[0]={s:-1,f:c.f+d.f,l:c,r:d};m!=n-1;)c=o[o[h].f>o[p].f?p++:h++],d=o[p!=m&&o[h].f>o[p].f?p++:h++],o[m++]={s:-1,f:c.f+d.f,l:c,r:d};var f=i[0].s;for(a=1;n>a;++a)i[a].s>f&&(f=i[a].s);var v=new pn(f+1),b=Hx(o[m-1],v,0);if(b>t){a=0;var S=0,k=b-t,x=1<<k;for(i.sort((function(E,R){return v[R.s]-v[E.s]||E.f-R.f}));n>a;++a){var T=i[a].s;if(t>=v[T])break;S+=x-(1<<b-v[T]),v[T]=t}for(S>>>=k;S>0;){var P=i[a].s;t>v[P]?S-=1<<t-v[P]++-1:++a}for(;a>=0&&S;--a){var C=i[a].s;v[C]==t&&(--v[C],++S)}b=t}return[new Jn(v),b]},Hx=function(e,t,o){return e.s==-1?Math.max(Hx(e.l,t,o+1),Hx(e.r,t,o+1)):t[e.s]=o},bO=function(e){for(var t=e.length;t&&!e[--t];);for(var o=new pn(++t),a=0,n=e[0],i=1,l=function(d){o[a++]=d},c=1;t>=c;++c)if(e[c]==n&&c!=t)++i;else{if(!n&&i>2){for(;i>138;i-=138)l(32754);i>2&&(l(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(l(n),--i;i>6;i-=6)l(8304);i>2&&(l(i-3<<5|8208),i=0)}for(;i--;)l(n);i=1,n=e[c]}return[o.subarray(0,a),t]},qu=function(e,t){for(var o=0,a=0;t.length>a;++a)o+=e[a]*t[a];return o},Gx=function(e,t,o){var a=o.length,n=Gj(t+2);e[n]=255&a,e[n+1]=a>>>8,e[n+2]=255^e[n],e[n+3]=255^e[n+1];for(var i=0;a>i;++i)e[n+i+4]=o[i];return 8*(n+4+a)},yO=function(e,t,o,a,n,i,l,c,d,p,m){Si(t,m++,o),++n[256];for(var h=Rw(n,15),f=h[0],v=h[1],b=Rw(i,15),S=b[0],k=b[1],x=bO(f),T=x[0],P=x[1],C=bO(S),E=C[0],R=C[1],D=new pn(19),O=0;T.length>O;++O)D[31&T[O]]++;for(O=0;E.length>O;++O)D[31&E[O]]++;for(var L=Rw(D,7),$=L[0],B=L[1],U=19;U>4&&!$[fO[U-1]];--U);var F,W,ae,H,K=p+5<<3,J=qu(n,Dl)+qu(i,av)+l,le=qu(n,f)+qu(i,S)+l+14+3*U+qu(D,$)+(2*D[16]+3*D[17]+7*D[18]);if(J>=K&&le>=K)return Gx(t,m,e.subarray(d,d+p));if(Si(t,m,1+(J>le)),m+=2,J>le){F=pp(f,v),W=f,ae=pp(S,k),H=S;var Q=pp($,B);for(Si(t,m,P-257),Si(t,m+5,R-1),Si(t,m+10,U-4),m+=14,O=0;U>O;++O)Si(t,m+3*O,$[fO[O]]);m+=3*U;for(var N=[T,E],G=0;2>G;++G){var V=N[G];for(O=0;V.length>O;++O)Si(t,m,Q[I=31&V[O]]),m+=$[I],I>15&&(Si(t,m,V[O]>>>5&127),m+=V[O]>>>12)}}else F=Nie,W=Dl,ae=Iie,H=av;for(O=0;c>O;++O)if(a[O]>255){var I;Uu(t,m,F[257+(I=a[O]>>>18&31)]),m+=W[I+257],I>7&&(Si(t,m,a[O]>>>23&31),m+=Qk[I]);var z=31&a[O];Uu(t,m,ae[z]),m+=H[z],z>3&&(Uu(t,m,a[O]>>>5&8191),m+=Jk[z])}else Uu(t,m,F[a[O]]),m+=W[a[O]];return Uu(t,m,F[256]),m+W[256]},Lie=new Ed([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Bie=(function(){for(var e=new Ed(256),t=0;256>t;++t){for(var o=t,a=9;--a;)o=(1&o&&3988292384)^o>>>1;e[t]=o}return e})(),Dw=function(e,t,o){for(;o;++t)e[t]=o,o>>>=8};function Fie(e,t){t===void 0&&(t={});var o=(function(){var h=4294967295;return{p(f){for(var v=h,b=0;f.length>b;++b)v=Bie[255&v^f[b]]^v>>>8;h=v},d(){return 4294967295^h}}})(),a=e.length;o.p(e);var n,i,l,c,d,p=(c=10+((n=t).filename&&n.filename.length+1||0),d=8,(function(h,f,v,b,S,k){var x=h.length,T=new Jn(b+x+5*(1+Math.floor(x/7e3))+S),P=T.subarray(b,T.length-S),C=0;if(!f||8>x)for(var E=0;x>=E;E+=65535){var R=E+65535;x>R?C=Gx(P,C,h.subarray(E,R)):(P[E]=!0,C=Gx(P,C,h.subarray(E,x)))}else{for(var D=Lie[f-1],O=D>>>13,L=8191&D,$=(1<<v)-1,B=new pn(32768),U=new pn($+1),F=Math.ceil(v/3),W=2*F,ae=function(He){return(h[He]^h[He+1]<<F^h[He+2]<<W)&$},H=new Ed(25e3),K=new pn(288),J=new pn(32),le=0,Q=0,N=(E=0,0),G=0,V=0;x>E;++E){var I=ae(E),z=32767&E,X=U[I];if(B[z]=X,U[I]=z,E>=G){var pe=x-E;if((le>7e3||N>24576)&&pe>423){C=yO(h,P,0,H,K,J,Q,N,V,E-V,C),N=le=Q=0,V=E;for(var he=0;286>he;++he)K[he]=0;for(he=0;30>he;++he)J[he]=0}var ke=2,qe=0,Z=L,ne=z-X&32767;if(pe>2&&I==ae(E-ne))for(var ve=Math.min(O,pe)-1,ie=Math.min(32767,E),xe=Math.min(258,pe);ie>=ne&&--Z&&z!=X;){if(h[E+ke]==h[E+ke-ne]){for(var Ee=0;xe>Ee&&h[E+Ee]==h[E+Ee-ne];++Ee);if(Ee>ke){if(ke=Ee,qe=ne,Ee>ve)break;var it=Math.min(ne,Ee-2),lt=0;for(he=0;it>he;++he){var Ge=E-ne+he+32768&32767,ot=Ge-B[Ge]+32768&32767;ot>lt&&(lt=ot,X=Ge)}}}ne+=(z=X)-(X=B[z])+32768&32767}if(qe){H[N++]=268435456|Vx[ke]<<18|vO[qe];var Me=31&Vx[ke],Oe=31&vO[qe];Q+=Qk[Me]+Jk[Oe],++K[257+Me],++J[Oe],G=E+ke,++le}else H[N++]=h[E],++K[h[E]]}}C=yO(h,P,!0,H,K,J,Q,N,V,E-V,C)}return Wj(T,0,b+Gj(C)+S)})(i=e,(l=t).level==null?6:l.level,l.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(i.length)))):12+l.mem,c,d)),m=p.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&&Dw(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)}})(p,t),Dw(p,m-8,o.d()),Dw(p,m-4,a),p}var jie=!!fx||!!gx,Kj="text/plain",SO=!1,Gv=function(e,t,o){var a;o===void 0&&(o=!0);var[n,i]=e.split("?"),l=Ne({},t),c=(a=i?.split("&").map((p=>{var m,[h,f]=p.split("="),v=o&&(m=l[h])!==null&&m!==void 0?m:f;return delete l[h],h+"="+v})))!==null&&a!==void 0?a:[],d=(function(p,m){var h,f;m===void 0&&(m="&");var v=[];return vo(p,(function(b,S){$e(b)||$e(S)||S==="undefined"||(h=encodeURIComponent((k=>k instanceof File)(b)?b.name:b.toString()),f=encodeURIComponent(S),v[v.length]=f+"="+h)})),v.join(m)})(l);return d&&c.push(d),n+"?"+c.join("&")},od=(e,t)=>JSON.stringify(e,((o,a)=>typeof a=="bigint"?a.toString():a),t),Ow=e=>{if(e.tr)return e.tr;var{data:t,compression:o}=e;if(t){if(o===Lr.GZipJS){var a=Fie((function(c,d){var p=c.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(c);for(var m=new Jn(c.length+(c.length>>>1)),h=0,f=function(k){m[h++]=k},v=0;p>v;++v){if(h+5>m.length){var b=new Jn(h+8+(p-v<<1));b.set(m),m=b}var S=c.charCodeAt(v);128>S?f(S):2048>S?(f(192|S>>>6),f(128|63&S)):S>55295&&57344>S?(f(240|(S=65536+(1047552&S)|1023&c.charCodeAt(++v))>>>18),f(128|S>>>12&63),f(128|S>>>6&63),f(128|63&S)):(f(224|S>>>12),f(128|S>>>6&63),f(128|63&S))}return Wj(m,0,h)})(od(t)),{mtime:0});return{contentType:Kj,body:a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength),estimatedSize:a.byteLength}}if(o===Lr.Base64){var n=(function(c){return c&&btoa(encodeURIComponent(c).replace(/%([0-9A-F]{2})/g,((d,p)=>String.fromCharCode(parseInt(p,16)))))})(od(t)),i=(c=>"data="+encodeURIComponent(typeof c=="string"?c:od(c)))(n);return{contentType:"application/x-www-form-urlencoded",body:i,estimatedSize:new Blob([i]).size}}var l=od(t);return{contentType:"application/json",body:l,estimatedSize:new Blob([l]).size}}},zie=(function(){var e=Kn((function*(t){var o=od(t.data),a=yield(function(i,l,c){return vx.apply(this,arguments)})(o,Ga.DEBUG,{rethrow:!0});if(!a)return t;var n=yield a.arrayBuffer();return Ne({},t,{tr:{contentType:Kj,body:n,estimatedSize:n.byteLength}})}));return function(t){return e.apply(this,arguments)}})(),wO=(e,t)=>Gv(e,{_:new Date().getTime().toString(),ver:Ga.JS_SDK_VERSION,compression:t}),lf=[];gx&&lf.push({transport:"fetch",method(e){var t,o,{contentType:a,body:n,estimatedSize:i}=(t=Ow(e))!==null&&t!==void 0?t:{},l=new Headers;vo(e.headers,(function(m,h){l.append(h,m)})),a&&l.append("Content-Type",a);var c=e.url,d=null;if(JD){var p=new JD;d={signal:p.signal,timeout:setTimeout((()=>p.abort()),e.timeout)}}gx(c,Ne({method:e?.method||"GET",headers:l,keepalive:e.method==="POST"&&52428.8>(i||0),body:n,signal:(o=d)==null?void 0:o.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))}}),fx&&lf.push({transport:"XHR",method(e){var t,o=new fx;o.open(e.method||"GET",e.url,!0);var{contentType:a,body:n}=(t=Ow(e))!==null&&t!==void 0?t:{};vo(e.headers,(function(i,l){o.setRequestHeader(l,i)})),a&&o.setRequestHeader("Content-Type",a),e.timeout&&(o.timeout=e.timeout),e.disableXHRCredentials||(o.withCredentials=!0),o.onreadystatechange=()=>{if(o.readyState===4){var i={statusCode:o.status,text:o.responseText};if(o.status===200)try{i.json=JSON.parse(o.responseText)}catch{}e.callback==null||e.callback(i)}},o.send(n)}}),An!=null&&An.sendBeacon&&lf.push({transport:"sendBeacon",method(e){var t=Gv(e.url,{beacon:"1"});try{var o,{contentType:a,body:n}=(o=Ow(e))!==null&&o!==void 0?o:{};if(!n)return;var i=n instanceof Blob?n:new Blob([n],{type:a});An.sendBeacon(t,i)}catch{}}});var Wx=3e3;class Uie{constructor(t,o){this.Pr=!0,this.Lr=[],this.Dr=$r(o?.flush_interval_ms||Wx,250,5e3,Ue.createLogger("flush interval"),Wx),this.Br=t}enqueue(t){this.Lr.push(t),this.jr||this.$r()}unload(){this.qr();var t=this.Lr.length>0?this.Zr():{},o=Object.values(t);[...o.filter((a=>a.url.indexOf("/e")===0)),...o.filter((a=>a.url.indexOf("/e")!==0))].map((a=>{this.Br(Ne({},a,{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 o=this.Zr(),a=function(){var i=o[n],l=new Date().getTime();i.data&&Bt(i.data)&&vo(i.data,(c=>{c.offset=Math.abs(c.timestamp-l),delete c.timestamp})),t.Br(i)};for(var n in o)a()}}),this.Dr))}qr(){clearTimeout(this.jr),this.jr=void 0}Zr(){var t={};return vo(this.Lr,(o=>{var a,n=o,i=(n?n.batchKey:null)||n.url;$e(t[i])&&(t[i]=Ne({},n,{data:[]})),(a=t[i].data)==null||a.push(n.data)})),this.Lr=[],t}}var qie=["retriesPerformedSoFar"];class $ie{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},Zo(ge,"online",this.Ur),Zo(ge,"offline",this.Gr))}get length(){return this.Lr.length}retriableRequest(t){var{retriesPerformedSoFar:o}=t,a=QF(t,qie);Wc(o)&&(a.url=Gv(a.url,{retry_count:o})),this._instance._send_request(Ne({},a,{callback:n=>{n.statusCode===200||n.statusCode>=400&&500>n.statusCode||(o??0)>=10?a.callback==null||a.callback(n):this.Wr(Ne({retriesPerformedSoFar:o},a))}}))}Wr(t){var o=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=o+1;var a=(function(l){var c=3e3*Math.pow(2,l),d=c/2,p=Math.min(18e5,c),m=Math.random()-.5;return Math.ceil(p+m*(p-d))})(o),n=Date.now()+a;this.Lr.push({retryAt:n,requestOptions:t});var i="Enqueued failed request for retry in "+a;navigator.onLine||(i+=" (Browser is offline)"),Ue.warn(i),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(),o=[],a=this.Lr.filter((i=>t>i.retryAt||(o.push(i),!1)));if(this.Lr=o,a.length>0)for(var{requestOptions:n}of a)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(Ne({},t,{transport:"sendBeacon"}))}catch(o){Ue.error(o)}this.Lr=[]}}class Vie{constructor(t){this.Kr=()=>{var o,a,n,i;this.Qr||(this.Qr={});var l=this.scrollElement(),c=this.scrollY(),d=l?Math.max(0,l.scrollHeight-l.clientHeight):0,p=c+(l?.clientHeight||0),m=l?.scrollHeight||0;this.Qr.lastScrollY=Math.ceil(c),this.Qr.maxScrollY=Math.max(c,(o=this.Qr.maxScrollY)!==null&&o!==void 0?o:0),this.Qr.maxScrollHeight=Math.max(d,(a=this.Qr.maxScrollHeight)!==null&&a!==void 0?a:0),this.Qr.lastContentY=p,this.Qr.maxContentY=Math.max(p,(n=this.Qr.maxContentY)!==null&&n!==void 0?n:0),this.Qr.maxContentHeight=Math.max(m,(i=this.Qr.maxContentHeight)!==null&&i!==void 0?i: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(){Zo(ge,"scroll",this.Kr,{capture:!0}),Zo(ge,"scrollend",this.Kr,{capture:!0}),Zo(ge,"resize",this.Kr)}scrollElement(){if(!this.ei)return ge?.document.documentElement;var t=Bt(this.ei)?this.ei:[this.ei];for(var o of t){var a=ge?.document.querySelector(o);if(a)return a}}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 Hie=e=>jj(e?.config.mask_personal_data_properties,e?.config.custom_personal_data_properties);class xO{constructor(t,o,a,n){this.ti=i=>{var l=this.ri();if(!l||l.sessionId!==i){var c={sessionId:i,props:this.ii(this._instance)};this.ni.register({[Fx]:c})}},this._instance=t,this.si=o,this.ni=a,this.ii=n||Hie,this.si.onSessionId(this.ti)}ri(){return this.ni.props[Fx]}getSetOnceProps(){var t,o=(t=this.ri())==null?void 0:t.props;return o?"r"in o?zj(o):{$referring_domain:o.referringDomain,$pathname:o.initialPathName,utm_source:o.utm_source,utm_campaign:o.utm_campaign,utm_medium:o.utm_medium,utm_content:o.utm_content,utm_term:o.utm_term}:{}}getSessionProps(){var t={};return vo(Zk(this.getSetOnceProps()),((o,a)=>{a==="$current_url"&&(a="url"),t["$session_entry_"+bx(a)]=o})),t}}class Xk{constructor(){this.oi={}}on(t,o){return this.oi[t]||(this.oi[t]=[]),this.oi[t].push(o),()=>{this.oi[t]=this.oi[t].filter((a=>a!==o))}}emit(t,o){for(var a of this.oi[t]||[])a(o);for(var n of this.oi["*"]||[])n(t,o)}}var Mw=xo("[SessionId]");class TO{on(t,o){return this.ai.on(t,o)}constructor(t,o,a){var n;if(this.li=[],this.ui=void 0,this.ai=new Xk,this.hi=(p,m)=>!(!Wc(p)||!Wc(m))&&Math.abs(p-m)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode===ki)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=o||ws,this.fi=a||ws;var i=this.Bt.persistence_name||this.Bt.token;if(this._sessionTimeoutMs=1e3*$r(this.Bt.session_idle_timeout_seconds||1800,60,36e3,Mw.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.pi(),this.gi="ph_"+i+"_window_id",this.mi="ph_"+i+"_primary_window_exists",this.yi()){var l=xa.Z(this.gi),c=xa.Z(this.mi);l&&!c?this.ci=l:xa.F(this.gi),xa.M(this.mi,!0)}if((n=this.Bt.bootstrap)!=null&&n.sessionID)try{var d=(p=>{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(p){Mw.error("Invalid sessionID in bootstrap",p)}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((o=>o!==t))}}yi(){return this.Bt.persistence!=="memory"&&!this.ni._r&&xa.R()}Ii(t){t!==this.ci&&(this.ci=t,this.yi()&&xa.M(this.gi,t))}Ci(){return this.ci?this.ci:this.yi()?xa.Z(this.gi):null}bi(t,o,a){t===this.di&&o===this._sessionActivityTimestamp&&a===this._sessionStartTimestamp||(this._sessionStartTimestamp=a,this._sessionActivityTimestamp=o,this.di=t,this.ni.register({[Gf]:[o,t,a]}))}Si(){var t=this.ni.props[Gf];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(Qf,this.ui,{capture:!1}),this.ui=void 0),this.li=[]}wi(){this.ui=()=>{this.yi()&&xa.F(this.mi)},Zo(ge,Qf,this.ui,{capture:!1})}checkAndGetSessionAndWindowId(t,o){if(t===void 0&&(t=!1),o===void 0&&(o=null),this.Bt.cookieless_mode===ki)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var a=o||new Date().getTime(),[n,i,l]=this.Si(),c=this.Ci(),d=Wc(l)&&Math.abs(a-l)>864e5,p=!1,m=!i,h=!m&&!t&&this.hi(a,n);m||h||d?(i=this.vi(),c=this.fi(),Mw.info("new session ID generated",{sessionId:i,windowId:c,changeReason:{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}}),l=a,p=!0):c||(c=this.fi(),p=!0);var f=Wc(n)&&t&&!d?n:a,v=Wc(l)?l:new Date().getTime();return this.Ii(c),this.bi(i,f,v),t||this.pi(),p&&this.li.forEach((b=>b(i,c,p?{noSessionId:m,activityTimeout:h,sessionPastMaximumLength:d}:void 0))),{sessionId:i,windowId:c,sessionStartTimestamp:v,changeReason:p?{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 o=this.di;this.resetSessionId(),this.ai.emit("forcedIdleReset",{idleSessionId:o})}}),1.1*this.sessionTimeoutMs)}}var Yj=function(e,t){if(!e)return!1;var o=e.userAgent;if(o&&tO(o,t))return!0;try{var a=e?.userAgentData;if(a!=null&&a.brands&&a.brands.some((n=>tO(n?.brand,t))))return!0}catch{}return!!e.webdriver},nv=function(e,t){if(!(function(o){try{new RegExp(o)}catch{return!1}return!0})(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function kO(e,t,o){return od({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:o})}var Zj={exact:(e,t)=>t.some((o=>e.some((a=>o===a)))),is_not:(e,t)=>t.every((o=>e.every((a=>o!==a)))),regex:(e,t)=>t.some((o=>e.some((a=>nv(o,a))))),not_regex:(e,t)=>t.every((o=>e.every((a=>!nv(o,a))))),icontains:(e,t)=>t.map(Fg).some((o=>e.map(Fg).some((a=>o.includes(a))))),not_icontains:(e,t)=>t.map(Fg).every((o=>e.map(Fg).every((a=>!o.includes(a))))),gt:(e,t)=>t.some((o=>{var a=parseFloat(o);return!isNaN(a)&&e.some((n=>a>parseFloat(n)))})),lt:(e,t)=>t.some((o=>{var a=parseFloat(o);return!isNaN(a)&&e.some((n=>a<parseFloat(n)))}))},Fg=e=>e.toLowerCase();function Qj(e,t){return!e||Object.entries(e).every((o=>{var[a,n]=o,i=t?.[a];if($e(i)||Ni(i))return!1;var l=[String(i)],c=Zj[n.operator];return!!c&&c(n.values,l)}))}var Kx="custom",_O="i.posthog.com",Gie=/^\/static\//;class Wie{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,o=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return o||(o=this.apiHost.replace("."+_O,".posthog.com")),o==="https://app.posthog.com"?"https://us.posthog.com":o}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":Kx),this.ki[this.apiHost]}Ti(t){var o=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof o=="string"&&Gie.test(t))return o.trim().replace(/\/$/,"")||void 0}endpointFor(t,o){if(o===void 0&&(o=""),o&&(o=o[0]==="/"?o:"/"+o),t==="ui")return this.uiHost+o;if(t==="flags")return this.flagsApiHost+o;if(t==="assets"){var a=this.Ti(o);if(a)return""+a+o}if(this.region===Kx)return this.apiHost+o;var n=_O+o;switch(t){case"assets":return"https://"+this.region+"-assets."+n;case"api":return"https://"+this.region+"."+n}}}var oo=xo("[Surveys]"),Yx="seenSurvey_",Kie=[Pw.Popover,Pw.Widget,Pw.API],Yie={ignoreConditions:!1,ignoreDelay:!1,displayType:$x.Popover},Zie=xo("[PostHog ExternalIntegrations]"),Qie={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class Jie{constructor(t){this._instance=t}ur(t,o){var a;(a=tt.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,t,(n=>{if(n)return Zie.error("failed to load script",n);o()}))}startIfEnabledOrStop(){var t=this,o=function(l){var c,d,p;!n||(c=tt.__PosthogExtensions__)!=null&&(c=c.integrations)!=null&&c[l]||t.ur(Qie[l],(()=>{var m;(m=tt.__PosthogExtensions__)==null||(m=m.integrations)==null||(m=m[l])==null||m.start(t._instance)})),!n&&(d=tt.__PosthogExtensions__)!=null&&(d=d.integrations)!=null&&d[l]&&((p=tt.__PosthogExtensions__)==null||(p=p.integrations)==null||(p=p[l])==null||p.stop())};for(var[a,n]of Object.entries((i=this._instance.config.integrations)!==null&&i!==void 0?i:{})){var i;o(a)}}}var jc,mp={},Nw=0,Zx=()=>{},CO='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',$u="Surveys module not available",EO="sanitize_properties is deprecated. Use before_send instead",Jj="Invalid value for property_denylist config: ",Zc="posthog",Xj=!jie&&cn?.indexOf("MSIE")===-1&&cn?.indexOf("Mozilla")===-1,PO=e=>{var t;return Ne({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:gie(ze?.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:Zx,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:wa&&Co(wa?.search)&&wa.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(o){Ue.error("Bad HTTP status: "+o.statusCode+" "+o.text)},get_device_id:o=>o,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:qx,before_send:void 0,request_queue_config:{flush_interval_ms:Wx},error_tracking:{},_onCapture:Zx,__preview_eager_load_replay:!1},(o=>({rageclick:!o||"2025-11-30">o||{content_ignorelist:!0},capture_pageview:!o||"2025-05-24">o||"history_change",session_recording:o&&o>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:o&&o>="2026-01-30"?"head":"body",internal_or_test_user_hostname:o&&o>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},Xie=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],AO=e=>{var t={};for(var[o,a]of Xie)$e(e[o])||(t[a]=e[o]);var n=Mo({},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(Jj+e.property_denylist)),n};class ese{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 Yn{Ei(t,o){if(t){var a=this.Ri.indexOf(t);a!==-1&&this.Ri.splice(a,1)}return this.Ri.push(o),o.initialize==null||o.initialize(),o}Ni(){return this.config.cookieless_mode===ki||this.config.cookieless_mode===bl&&this.consent.isRejected()}get decideEndpointWasHit(){var t,o;return(t=(o=this.featureFlags)==null?void 0:o.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,o;return(t=(o=this.featureFlags)==null?void 0:o.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){var t;this.webPerformance=new ese,this.Mi=!1,this.version=Ga.LIB_VERSION,this.Fi=new Xk,this.Ri=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=PO(),this.SentryIntegration=_ie,this.sentryIntegration=a=>(function(n,i){var l=Nj(n,i);return{name:Mj,processEvent:c=>l(c)}})(this,a),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Oi=!1,this.Pi=null,this.Li=null,this.Di=null,this.scrollManager=new Vie(this),this.pageViewManager=new pO(this),this.rateLimiter=new Mie(this),this.requestRouter=new Wie(this),this.consent=new xie(this),this.externalIntegrations=new Jie(this);var o=(t=Yn.__defaultExtensionClasses)!==null&&t!==void 0?t:{};this.featureFlags=o.featureFlags&&new o.featureFlags(this),this.toolbar=o.toolbar&&new o.toolbar(this),this.surveys=o.surveys&&new o.surveys(this),this.conversations=o.conversations&&new o.conversations(this),this.logs=o.logs&&new o.logs(this),this.experiments=o.experiments&&new o.experiments(this),this.exceptions=o.exceptions&&new o.exceptions(this),this.people={set:(a,n,i)=>{var l=Co(a)?{[a]:n}:a;this.setPersonProperties(l),i?.({})},set_once:(a,n,i)=>{var l=Co(a)?{[a]:n}:a;this.setPersonProperties(void 0,l),i?.({})}},this.on("eventCaptured",(a=>Ue.info('send "'+a?.event+'"',a)))}init(t,o,a){if(a&&a!==Zc){var n,i=(n=mp[a])!==null&&n!==void 0?n:new Yn;return i._init(t,o,a),mp[a]=i,mp[Zc][a]=i,i}return this._init(t,o,a)}_init(t,o,a){var n,i;if(o===void 0&&(o={}),$e(t)||af(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={},o.debug=this.Bi(o.debug),this.ji=o,this.$i=[],o.person_profiles?this.Li=o.person_profiles:o.process_person&&(this.Li=o.process_person),this.set_config(Mo({},PO(o.defaults),AO(o),{name:a,token:t})),this.config.on_xhr_error&&Ue.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=o.disable_compression?void 0:Lr.GZipJS;var l=this.qi();this.persistence=new Ew(this.config,l),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new Ew(Ne({},this.config,{persistence:"sessionStorage"}),l);var c=Ne({},this.persistence.props),d=Ne({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Zi=new Uie((k=>this.Vi(k)),this.config.request_queue_config),this.Hi=new $ie(this),this.__request_queue=[];var p=this.Ni();if(p||(this.sessionManager=new TO(this),this.sessionPropsManager=new xO(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(Ue.info("Deferring extension initialization to improve startup performance"),setTimeout((()=>{this.zi(p)}),0)):(Ue.info("Initializing extensions synchronously"),this.zi(p)),Ga.DEBUG=Ga.DEBUG||this.config.debug,Ga.DEBUG&&Ue.info("Starting in debug mode",{this:this,config:o,thisC:Ne({},this.config),p:c,s:d}),!this.config.identity_distinct_id||(n=o.bootstrap)!=null&&n.distinctID||(o.bootstrap=Ne({},o.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((i=o.bootstrap)==null?void 0:i.distinctID)!==void 0){var m=o.bootstrap.distinctID,h=this.get_distinct_id(),f=this.persistence.get_property(pr);if(o.bootstrap.isIdentifiedID&&h!=null&&h!==m&&f===Lc)this.identify(m);else if(o.bootstrap.isIdentifiedID&&h!=null&&h!==m&&f===Bc)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(ws()),b=o.bootstrap.isIdentifiedID?v:m;this.persistence.set_property(pr,o.bootstrap.isIdentifiedID?Bc:Lc),this.register({distinct_id:m,$device_id:b})}}if(p)this.register_once({distinct_id:Mg,$device_id:null},"");else if(!this.get_distinct_id()){var S=this.config.get_device_id(ws());this.register_once({distinct_id:S,$device_id:S},""),this.persistence.set_property(pr,Lc)}return Zo(ge,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),o.segment?(function(k,x){var T=k.config.segment;if(!T)return x();(function(P,C){var E=P.config.segment;if(!E)return C();var R=O=>{var L=()=>O.anonymousId()||ws();P.config.get_device_id=L,O.id()&&(P.register({distinct_id:O.id(),$device_id:L()}),P.persistence.set_property(pr,Bc)),C()},D=E.user();"then"in D&&Ti(D.then)?D.then(R):R(D)})(k,(()=>{T.register((P=>{Promise&&Promise.resolve||Cw.warn("This browser does not have Promise support, and can not use the segment integration");var C=(E,R)=>{if(!R)return E;E.event.userId||E.event.anonymousId===P.get_distinct_id()||(Cw.info("No userId set, resetting PostHog"),P.reset()),E.event.userId&&E.event.userId!==P.get_distinct_id()&&(Cw.info("UserId set, identifying with PostHog"),P.identify(E.event.userId));var D=P.calculateEventProperties(R,E.event.properties);return E.event.properties=Object.assign({},D,E.event.properties),E};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:E=>C(E,E.event.event),page:E=>C(E,Yc),identify:E=>C(E,kw),screen:E=>C(E,"$screen")}})(k)).then((()=>{x()}))}))})(this,(()=>this.Ui())):this.Ui(),Ti(this.config._onCapture)&&this.config._onCapture!==Zx&&(Ue.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(k=>this.config._onCapture(k.event,k)))),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 o,a,n,i,l,c,d,p=performance.now(),m=Ne({},Yn.__defaultExtensionClasses,this.config.__extensionClasses),h=[];m.featureFlags&&this.Ri.push(this.featureFlags=(o=this.featureFlags)!==null&&o!==void 0?o:new m.featureFlags(this)),m.exceptions&&this.Ri.push(this.exceptions=(a=this.exceptions)!==null&&a!==void 0?a: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=(i=this.logs)!==null&&i!==void 0?i:new m.logs(this)),m.conversations&&this.Ri.push(this.conversations=(l=this.conversations)!==null&&l!==void 0?l: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,kie)),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,p)}Gi(t,o){for(;t.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-o>=30&&t.length>0)return void setTimeout((()=>{this.Gi(t,o)}),0);var a=t.shift();if(a)try{a()}catch(i){Ue.error("Error initializing extension:",i)}}var n=Math.round(performance.now()-o);this.register_for_session({[Pj]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[Aj]:n}),this.config.__preview_deferred_init_extensions&&Ue.info("PostHog extensions initialized ("+n+"ms)")}Nr(t){var o;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=Ct(t.supportedCompression,Lr.GZipJS)?Lr.GZipJS:Ct(t.supportedCompression,Lr.Base64)?Lr.Base64:void 0),(o=t.analytics)!=null&&o.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Li?this.Li:qx}),this.Ri.forEach((a=>a.onRemoteConfig==null?void 0:a.onRemoteConfig(t)))}Ui(){try{this.config.loaded(this)}catch(a){Ue.critical("`loaded` function failed",a)}if(this.Xi(),this.config.internal_or_test_user_hostname&&wa!=null&&wa.hostname){var t=wa.hostname,o=this.config.internal_or_test_user_hostname;(typeof o=="string"?t===o:o.test(t))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout((()=>{(this.consent.isOptedIn()||this.Ni())&&this.Ji()}),1),this.Ki=new qj(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()&&Ng(this.__request_queue,(t=>this.Vi(t))),this.__request_queue=[],this.Xi()}_handle_unload(){var t,o,a,n;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Qi()&&this.capture(Tw),(o=this.logs)==null||o.flushLogs("sendBeacon"),(a=this.Zi)==null||a.unload(),(n=this.Hi)==null||n.unload()):this.Qi()&&this.capture(Tw,null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&(Xj?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=Gv(t.url,{ip:this.config.ip?1:0}),t.headers=Ne({},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,(o=>{var a,n,i,l=Ne({},o);l.timeout=l.timeout||6e4,l.url=wO(l.url,l.compression);var c=(a=l.transport)!==null&&a!==void 0?a:"fetch",d=lf.filter((m=>!l.disableTransport||!m.transport||!l.disableTransport.includes(m.transport))),p=(n=(i=(function(m,h){for(var f=0;m.length>f;f++)if(m[f].transport===c)return m[f]})(d))==null?void 0:i.method)!==null&&n!==void 0?n:d[0].method;if(!p)throw new Error("No available transport method");c!=="sendBeacon"&&l.data&&l.compression===Lr.GZipJS&&_re&&!SO?zie(l).then((m=>{p(m)})).catch((m=>{if((h=>!(!h||typeof h!="object")&&("name"in h?String(h.name):"")==="NotReadableError")(m))return SO=!0,void p(Ne({},l,{compression:void 0,url:wO(o.url,void 0)}));p(l)})):p(l)})(Ne({},t,{callback:o=>{var a,n;this.rateLimiter.checkForLimiting(o),400>o.statusCode||(a=(n=this.config).on_request_error)==null||a.call(n,o),t.callback==null||t.callback(o)}}))))}Vi(t){this.Hi?this.Hi.retriableRequest(t):this._send_request(t)}_execute_array(t){Nw++;try{var o,a=[],n=[],i=[];Ng(t,(c=>{c&&(Bt(o=c[0])?i.push(c):Ti(c)?c.call(this):Bt(c)&&o==="alias"?a.push(c):Bt(c)&&o.indexOf("capture")!==-1&&Ti(this[o])?i.push(c):n.push(c))}));var l=function(c,d){Ng(c,(function(p){if(Bt(p[0])){var m=d;vo(p,(function(h){m=m[h[0]].apply(m,h.slice(1))}))}else d[p[0]].apply(d,p.slice(1))}))};l(a,this),l(n,this),l(i,this)}finally{Nw--}}push(t){if(Nw>0&&Bt(t)&&Co(t[0])){var o=Yn.prototype[t[0]];Ti(o)&&o.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,o,a){var n,i,l,c,d;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Zi){if(this.is_capturing())if(!$e(t)&&Co(t)){var p=!this.config.opt_out_useragent_filter&&this._is_bot();if(!p||this.config.__preview_capture_bot_pageviews){var m=a!=null&&a.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(m==null||!m.isRateLimited){o!=null&&o.$current_url&&!Co(o?.$current_url)&&(Ue.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),o==null||delete o.$current_url),t!=="$exception"||a!=null&&a.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=a?.timestamp||h,v=ws(),b={uuid:v,event:t,properties:this.calculateEventProperties(t,o||{},f,v)};t===Yc&&this.config.__preview_capture_bot_pageviews&&p&&(b.event="$bot_pageview",b.properties.$browser_type="bot"),m&&(b.properties.$lib_rate_limit_remaining_tokens=m.remainingTokens),a?.$set&&(b.$set=a?.$set);var S,k,x,T=this.tn(a?.$set_once,t!==lO,t===kw);if(T&&(b.$set_once=T),a!=null&&a._noTruncate||(i=this.config.properties_string_max_length,l=b,c=L=>Co(L)?L.slice(0,i):L,d=new Set,b=(function L($,B){return $!==Object($)?c?c($):$:d.has($)?void 0:(d.add($),Bt($)?(U=[],Ng($,(F=>{U.push(L(F))}))):(U={},vo($,((F,W)=>{d.has(F)||(U[W]=L(F))}))),U);var U})(l)),b.timestamp=f,$e(a?.timestamp)||(b.properties.$event_time_override_provided=!0,b.properties.$event_time_override_system_time=h),t===sp.DISMISSED||t===sp.SENT){var P=o?.[Aw.SURVEY_ID],C=o?.[Aw.SURVEY_ITERATION];(L=>{try{var $=(B=>((U,F)=>{var W=""+Yx+F.id;return F.current_iteration&&F.current_iteration>0&&(W=""+Yx+F.id+"_"+F.current_iteration),W})(0,B))(L);if(localStorage.getItem($))return;localStorage.setItem($,"true")}catch(B){oo.error("Failed to persist survey seen state",B)}})({id:P,current_iteration:C}),b.$set=Ne({},b.$set,{[(S={id:P,current_iteration:C},k=t===sp.SENT?"responded":"dismissed",x="$survey_"+k+"/"+S.id,S.current_iteration&&S.current_iteration>0&&(x="$survey_"+k+"/"+S.id+"/"+S.current_iteration),x)]:!0})}else t===sp.SHOWN&&(b.$set=Ne({},b.$set,{[Aw.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===Oie.SHOWN){var E=o?.[hO.TOUR_TYPE];E&&(b.$set=Ne({},b.$set,{[hO.TOUR_LAST_SEEN_DATE+"/"+E]:new Date().toISOString()}))}var R=Ne({},b.properties.$set,b.$set);if(ed(R)||this.setPersonPropertiesForFlags(R),!Et(this.config.before_send)){var D=this.rn(b);if(!D)return;b=D}this.Fi.emit("eventCaptured",b);var O={method:"POST",url:(n=a?._url)!==null&&n!==void 0?n:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:b,compression:"best-available",batchKey:a?._batchKey};return!this.config.request_batching||a&&(a==null||!a._batchKey)||a!=null&&a.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",(o=>t(o.event,o)))}calculateEventProperties(t,o,a,n,i){if(a=a||new Date,!this.persistence||!this.sessionPersistence)return o;var l=i?void 0:this.persistence.remove_event_timer(t),c=Ne({},o);if(c.token=this.config.token,c.$config_defaults=this.config.defaults,this.Ni()&&(c.$cookieless_mode=!0),t==="$snapshot"){var d=Ne({},this.persistence.properties(),this.sessionPersistence.properties());return c.distinct_id=d.distinct_id,(!Co(c.distinct_id)&&!Xn(c.distinct_id)||af(c.distinct_id))&&Ue.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),c}var p,m=(function(x,T){var P,C,E,R;if(!cn)return{};var D,O,L,$,B,U,F,W,ae=x?[...Cd,...T||[]]:[],[H,K]=(function(J){for(var le=0;nO.length>le;le++){var[Q,N]=nO[le],G=Q.exec(J),V=G&&(Ti(N)?N(G,J):N);if(V)return V}return["",""]})(cn);return Mo(Zk({$os:H,$os_version:K,$browser:fj(cn,navigator.vendor),$device:rO(cn),$device_type:(O=cn,L={userAgentDataPlatform:(P=navigator)==null||(P=P.userAgentData)==null?void 0:P.platform,maxTouchPoints:(C=navigator)==null?void 0:C.maxTouchPoints,screenWidth:ge==null||(E=ge.screen)==null?void 0:E.width,screenHeight:ge==null||(R=ge.screen)==null?void 0:R.height,devicePixelRatio:ge?.devicePixelRatio},W=rO(O),W===oj||W===tj||W==="Kobo"||W==="Kindle Fire"||W===gj?Td:W===Op||W===dd||W===Mp||W===Sx?"Console":W===nj?"Wearable":W?Dn:L?.userAgentDataPlatform==="Android"&&(($=L?.maxTouchPoints)!==null&&$!==void 0?$:0)>0?600>Math.min((B=L?.screenWidth)!==null&&B!==void 0?B:0,(U=L?.screenHeight)!==null&&U!==void 0?U:0)/((F=L?.devicePixelRatio)!==null&&F!==void 0?F:1)?Dn:Td:"Desktop"),$timezone:Uj(),$timezone_offset:Rie()}),{$current_url:Np(wa?.href,ae,Ip),$host:wa?.host,$pathname:wa?.pathname,$raw_user_agent:cn.length>1e3?cn.substring(0,997)+"...":cn,$browser_version:Ure(cn,navigator.vendor),$browser_language:mO(),$browser_language_prefix:(D=mO(),typeof D=="string"?D.split("-")[0]:void 0),$screen_height:ge?.screen.height,$screen_width:ge?.screen.width,$viewport_height:ge?.innerHeight,$viewport_width:ge?.innerWidth,$lib:Ga.LIB_NAME,$lib_version:Ga.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(i,a.getTime());c.$session_id=h,c.$window_id=f}this.sessionPropsManager&&Mo(c,this.sessionPropsManager.getSessionProps());try{var v;this.sessionRecording&&Mo(c,this.sessionRecording.sdkDebugProperties),c.$sdk_debug_retry_queue_size=(v=this.Hi)==null?void 0:v.length}catch(x){c.$sdk_debug_error_capturing_properties=String(x)}if(this.requestRouter.region===Kx&&(c.$lib_custom_api_host=this.config.api_host),p=t!==Yc||i?t!==Tw||i?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(a):this.pageViewManager.doPageView(a,n),c=Mo(c,p),t===Yc&&ze&&(c.title=ze.title),!$e(l)){var b=a.getTime()-l;c.$duration=parseFloat((b/1e3).toFixed(3))}cn&&this.config.opt_out_useragent_filter&&(c.$browser_type=this._is_bot()?"bot":"browser"),(c=Mo({},m,this.persistence.properties(),this.sessionPersistence.properties(),c)).$is_identified=this._isIdentified(),Bt(this.config.property_denylist)?vo(this.config.property_denylist,(function(x){delete c[x]})):Ue.error(Jj+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var S=this.config.sanitize_properties;S&&(Ue.error(EO),c=S(c,t));var k=this.nn();return c.$process_person_profile=k,k&&!i&&this.sn("_calculate_event_properties"),c}tn(t,o,a){var n;if(o===void 0&&(o=!0),a===void 0&&(a=!1),!this.persistence||!this.nn()||this.Mi&&!a)return t;var i=this.persistence.get_initial_props(),l=(n=this.sessionPropsManager)==null?void 0:n.getSetOnceProps(),c=Mo({},i,l||{},t||{}),d=this.config.sanitize_properties;return d&&(Ue.error(EO),c=d(c,"$set_once")),o&&(this.Mi=!0),ed(c)?void 0:c}register(t,o){var a;(a=this.persistence)==null||a.register(t,o)}register_once(t,o,a){var n;(n=this.persistence)==null||n.register_once(t,o,a)}register_for_session(t){var o;(o=this.sessionPersistence)==null||o.register(t)}unregister(t){var o;(o=this.persistence)==null||o.unregister(t)}unregister_for_session(t){var o;(o=this.sessionPersistence)==null||o.unregister(t)}an(t,o){this.register({[t]:o})}getFeatureFlag(t,o){var a;return(a=this.featureFlags)==null?void 0:a.getFeatureFlag(t,o)}getFeatureFlagPayload(t){var o;return(o=this.featureFlags)==null?void 0:o.getFeatureFlagPayload(t)}getFeatureFlagResult(t,o){var a;return(a=this.featureFlags)==null?void 0:a.getFeatureFlagResult(t,o)}isFeatureEnabled(t,o){var a;return(a=this.featureFlags)==null?void 0:a.isFeatureEnabled(t,o)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,o,a){var n;(n=this.featureFlags)==null||n.updateFlags(t,o,a)}updateEarlyAccessFeatureEnrollment(t,o,a){var n;(n=this.featureFlags)==null||n.updateEarlyAccessFeatureEnrollment(t,o,a)}getEarlyAccessFeatures(t,o,a){var n;return o===void 0&&(o=!1),(n=this.featureFlags)==null?void 0:n.getEarlyAccessFeatures(t,o,a)}on(t,o){return this.Fi.on(t,o)}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:$u}),()=>{})}onSessionId(t){var o,a;return(o=(a=this.sessionManager)==null?void 0:a.onSessionId(t))!==null&&o!==void 0?o:()=>{}}getSurveys(t,o){o===void 0&&(o=!1),this.surveys?this.surveys.getSurveys(t,o):t([],{isLoaded:!1,error:$u})}getActiveMatchingSurveys(t,o){o===void 0&&(o=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,o):t([],{isLoaded:!1,error:$u})}renderSurvey(t,o){var a;(a=this.surveys)==null||a.renderSurvey(t,o)}displaySurvey(t,o){var a;o===void 0&&(o=Yie),(a=this.surveys)==null||a.displaySurvey(t,o)}cancelPendingSurvey(t){var o;(o=this.surveys)==null||o.cancelPendingSurvey(t)}canRenderSurvey(t){var o,a;return(o=(a=this.surveys)==null?void 0:a.canRenderSurvey(t))!==null&&o!==void 0?o:{visible:!1,disabledReason:$u}}canRenderSurveyAsync(t,o){var a,n;return o===void 0&&(o=!1),(a=(n=this.surveys)==null?void 0:n.canRenderSurveyAsync(t,o))!==null&&a!==void 0?a:Promise.resolve({visible:!1,disabledReason:$u})}ln(t){return!t||af(t)?(Ue.critical("Unique user id has not been set in posthog.identify"),!1):t===Mg?(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,o,a){if(!this.__loaded||!this.persistence)return Ue.uninitializedWarning("posthog.identify");if(Xn(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(Hf)||this.register_once({$had_persisted_distinct_id:!0,$device_id:n},""),t!==n&&t!==this.get_property(op)&&(this.unregister(op),this.register({distinct_id:t}));var i,l=(this.persistence.get_property(pr)||Lc)===Lc;t!==n&&l?(this.persistence.set_property(pr,Bc),this.setPersonPropertiesForFlags({$set:o||{},$set_once:a||{}},!1),this.capture(kw,{distinct_id:t,$anon_distinct_id:n},{$set:o||{},$set_once:a||{}}),this.Di=kO(t,o,a),(i=this.featureFlags)==null||i.setAnonymousDistinctId(n)):(o||a)&&this.setPersonProperties(o,a),t!==n&&(this.reloadFeatureFlags(),this.unregister(up))}}setPersonProperties(t,o){if((t||o)&&this.sn("posthog.setPersonProperties")){var a=kO(this.get_distinct_id(),t,o);this.Di!==a?(this.setPersonPropertiesForFlags({$set:t||{},$set_once:o||{}},!0),this.capture("$set",{$set:t||{},$set_once:o||{}}),this.Di=a):Ue.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,o,a){if(t&&o){var n=this.getGroups(),i=n[t]!==o;if(i&&this.resetGroupPropertiesForFlags(t),this.register({$groups:Ne({},n,{[t]:o})}),i||a){var l={$group_type:t,$group_key:o};a&&(l.$group_set=a),this.capture(lO,l)}a&&this.setGroupPropertiesForFlags({[t]:a}),i&&!a&&this.reloadFeatureFlags()}else Ue.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,o){var a;o===void 0&&(o=!0),(a=this.featureFlags)==null||a.setPersonPropertiesForFlags(t,o)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,o){var a;o===void 0&&(o=!0),this.sn("posthog.setGroupPropertiesForFlags")&&((a=this.featureFlags)==null||a.setGroupPropertiesForFlags(t,o))}resetGroupPropertiesForFlags(t){var o;(o=this.featureFlags)==null||o.resetGroupPropertiesForFlags(t)}reset(t){var o,a,n,i,l,c,d,p;if(Ue.info("reset"),!this.__loaded)return Ue.uninitializedWarning("posthog.reset");var m=this.get_property(Hf);if(this.consent.reset(),(o=this.persistence)==null||o.clear(),(a=this.sessionPersistence)==null||a.clear(),(n=this.surveys)==null||n.reset(),(i=this.Ki)==null||i.stop(),(l=this.featureFlags)==null||l.reset(),(c=this.conversations)==null||c.reset(),(d=this.persistence)==null||d.set_property(pr,Lc),(p=this.sessionManager)==null||p.resetSessionId(),this.Di=null,this.config.cookieless_mode===ki)this.register_once({distinct_id:Mg,$device_id:null},"");else{var h=this.config.get_device_id(ws());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,o){var a;this.config.identity_distinct_id=t,this.config.identity_hash=o,this.alias(t),(a=this.conversations)==null||a.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,o;return(t=(o=this.sessionManager)==null?void 0:o.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:o,sessionStartTimestamp:a}=this.sessionManager.checkAndGetSessionAndWindowId(!0),n=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+o);if(t!=null&&t.withTimestamp&&a){var i,l=(i=t.timestampLookBack)!==null&&i!==void 0?i:10;if(!a)return n;n+="?t="+Math.max(Math.floor((new Date().getTime()-a)/1e3)-l,0)}return n}alias(t,o){return t===this.get_property(xj)?(Ue.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?($e(o)&&(o=this.get_distinct_id()),t!==o?(this.an(op,t),this.capture("$create_alias",{alias:t,distinct_id:o})):(Ue.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var o=Ne({},this.config);if(Bo(t)){var a,n,i,l,c,d,p,m,h,f;Mo(this.config,AO(t));var v=this.qi();(a=this.persistence)==null||a.update_config(this.config,o,v),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new Ew(Ne({},this.config,{persistence:"sessionStorage"}),v);var b=this.Bi(this.config.debug);qr(b)&&(this.config.debug=b),qr(this.config.debug)&&(this.config.debug?(Ga.DEBUG=!0,_o.R()&&_o.M("ph_debug",!0),Ue.info("set_config",{config:t,oldConfig:o,newConfig:Ne({},this.config)})):(Ga.DEBUG=!1,_o.R()&&_o.F("ph_debug"))),(n=this.exceptionObserver)==null||n.onConfigChange(),(i=this.exceptions)==null||i.onConfigChange(),(l=this.sessionRecording)==null||l.startIfEnabledOrStop(),(c=this.autocapture)==null||c.startIfEnabled(),(d=this.heatmaps)==null||d.startIfEnabled(),(p=this.exceptionObserver)==null||p.startIfEnabledOrStop(),(m=this.deadClicksAutocapture)==null||m.startIfEnabledOrStop(),(h=this.surveys)==null||h.loadIfEnabled(),this.cn(),(f=this.externalIntegrations)==null||f.startIfEnabledOrStop()}}_overrideSDKInfo(t,o){Ga.LIB_NAME=t,Ga.LIB_VERSION=o}startSessionRecording(t){var o,a,n,i,l,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)&&((o=this.sessionManager)==null||o.checkAndGetSessionAndWindowId(),d.sampling&&((a=this.sessionRecording)==null||a.overrideSampling()),d.linked_flag&&((n=this.sessionRecording)==null||n.overrideLinkedFlag()),d.url_trigger&&((i=this.sessionRecording)==null||i.overrideTrigger("url")),d.event_trigger&&((l=this.sessionRecording)==null||l.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,o){if(this.exceptions){var a=new Error("PostHog syntheticException"),n=this.exceptions.buildProperties(t,{handled:!0,syntheticException:a});return this.exceptions.sendExceptionEvent(Ne({},n,o))}}addExceptionStep(t,o){var a;(a=this.exceptions)==null||a.addExceptionStep(t,o)}captureLog(t){var o;(o=this.logs)==null||o.captureLog(t)}get logger(){var t,o;return(t=(o=this.logs)==null?void 0:o.logger)!==null&&t!==void 0?t:Yn.dn}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var o,a;return(o=(a=this.toolbar)==null?void 0:a.loadToolbar(t))!==null&&o!==void 0&&o}get_property(t){var o;return(o=this.persistence)==null?void 0:o.props[t]}getSessionProperty(t){var o;return(o=this.sessionPersistence)==null?void 0:o.props[t]}toString(){var t,o=(t=this.config.name)!==null&&t!==void 0?t:Zc;return o!==Zc&&(o=Zc+"."+o),o}_isIdentified(){var t,o;return((t=this.persistence)==null?void 0:t.get_property(pr))===Bc||((o=this.sessionPersistence)==null?void 0:o.get_property(pr))===Bc}nn(){var t,o;return!(this.config.person_profiles==="never"||this.config.person_profiles===qx&&!this._isIdentified()&&ed(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[op])&&((o=this.persistence)==null||(o=o.props)==null||!o[Yf]))}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(Yf,!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!==bl)}cn(){var t,o,a,n,i=this.qi();return((t=this.persistence)==null?void 0:t._r)!==i&&((a=this.persistence)==null||a.set_disabled(i)),((o=this.sessionPersistence)==null?void 0:o._r)!==i&&((n=this.sessionPersistence)==null||n.set_disabled(i)),i}opt_in_capturing(t){var o;if(this.config.cookieless_mode!==ki){if(this.Ni()){var a,n,i,l,c;this.reset(!0),(a=this.sessionManager)==null||a.destroy(),(n=this.pageViewManager)==null||n.destroy(),this.sessionManager=new TO(this),this.pageViewManager=new pO(this),this.persistence&&(this.sessionPropsManager=new xO(this,this.sessionManager,this.persistence));var d,p=(i=(l=this.config.__extensionClasses)==null?void 0:l.sessionRecording)!==null&&i!==void 0?i:(c=Yn.__defaultExtensionClasses)==null?void 0:c.sessionRecording;p&&(this.sessionRecording=this.Ei(this.sessionRecording,new p(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(),(o=this.sessionRecording)==null||o.startIfEnabledOrStop(),this.config.cookieless_mode==bl&&((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(CO)}opt_out_capturing(){var t,o,a;this.config.cookieless_mode!==ki?(this.config.cookieless_mode===bl&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===bl&&(this.register({distinct_id:Mg,$device_id:null}),(t=this.sessionManager)==null||t.destroy(),(o=this.pageViewManager)==null||o.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,(a=this.sessionRecording)==null||a.stopRecording(),this.sessionRecording=void 0,this.Ji())):Ue.warn(CO)}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===ki||(this.config.cookieless_mode===bl?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return An?Yj(An,this.config.custom_blocked_useragents):void 0}Ji(){ze&&(ze.visibilityState==="visible"?this.Oi||(this.Oi=!0,this.capture(Yc,{title:ze.title},{send_instantly:!0}),this.Pi&&(ze.removeEventListener(Zf,this.Pi),this.Pi=null)):this.Pi||(this.Pi=this.Ji.bind(this),Zo(ze,Zf,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,o,a,n,i,l,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):(a="advanced_disable_decide",n=Ue,i=(o="advanced_disable_flags")in(t=c)&&!Et(t[o]),l=a in t&&!Et(t[a]),i?t[o]:!!l&&(n&&n.warn("Config field '"+a+"' is deprecated. Please use '"+o+"' instead. The old field will be removed in a future major version."),t[a]))}rn(t){if(Et(this.config.before_send))return t;var o=Bt(this.config.before_send)?this.config.before_send:[this.config.before_send],a=t;for(var n of o){if(a=n(a),Et(a)){var i="Event '"+t.event+"' was rejected in beforeSend function";return Are(t.event)?Ue.warn(i+". This can cause unexpected behavior."):Ue.info(i),null}a.properties&&!ed(a.properties)||Ue.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return a}getPageViewId(){var t;return(t=this.pageViewManager.dr)==null?void 0:t.pageViewId}captureTraceFeedback(t,o){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:o})}captureTraceMetric(t,o,a){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:o,$ai_metric_value:String(a)})}Bi(t){var o=qr(t)&&!t,a=_o.R()&&_o.O("ph_debug")==="true";return!o&&(!!a||t)}}function RO(e){return e instanceof Element&&(e.id===Ej||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function Wv(e){return!!e&&e.nodeType===1}function Rs(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function e3(e){return!!e&&e.nodeType===3}function t3(e){return!!e&&e.nodeType===11}function e_(e){return e?Vv(e).split(/\s+/):[]}function DO(e){var t=ge?.location.href;return!!(t&&e&&e.some((o=>t.match(o))))}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 e_(t)}function o3(e){return Et(e)?null:Vv(e).split(/(\s+)/).filter((t=>hp(t))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Lp(e){var t="";return Jx(e)&&!n3(e)&&e.childNodes&&e.childNodes.length&&vo(e.childNodes,(function(o){var a;e3(o)&&o.textContent&&(t+=(a=o3(o.textContent))!==null&&a!==void 0?a:"")})),Vv(t)}function OO(e){return $e(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}Yn.__defaultExtensionClasses={},Yn.dn={trace:jc=()=>{},debug:jc,info:jc,warn:jc,error:jc,fatal:jc},(function(e,t){for(var o=0;t.length>o;o++)e.prototype[t[o]]=mie(e.prototype[t[o]])})(Yn,["identify"]);var t_=["a","button","form","input","select","textarea","label"];function MO(e,t){if($e(t))return!0;var o,a=function(i){if(t.some((l=>i.matches(l))))return{v:!0}};for(var n of e)if(o=a(n))return o.v;return!1}function a3(e){var t=e.parentNode;return!(!t||!Wv(t))&&t}var tse=["next","previous","prev",">","<"],NO=[".ph-no-rageclick",".ph-no-capture"],Qx=e=>!e||Rs(e,"html")||!Wv(e),IO=(e,t)=>{if(!ge||Qx(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var o=!1,a=[e],n=e;n.parentNode&&!Rs(n,"body");)if(t3(n.parentNode))a.push(n.parentNode.host),n=n.parentNode.host;else{var i=a3(n);if(!i)break;if(t||t_.indexOf(i.tagName.toLowerCase())>-1)o=!0;else{var l=ge.getComputedStyle(i);l&&l.getPropertyValue("cursor")==="pointer"&&(o=!0)}a.push(i),n=i}return{parentIsUsefulElement:o,targetElementList:a}};function Jx(e){for(var t=e;t.parentNode&&!Rs(t,"body");t=t.parentNode){var o=rv(t);if(Ct(o,"ph-sensitive")||Ct(o,"ph-no-capture"))return!1}if(Ct(rv(e),"ph-include"))return!0;var a=e.type||"";if(Co(a))switch(a.toLowerCase()){case"hidden":case"password":return!1}var n=e.name||e.id||"";return!Co(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 n3(e){return!!(Rs(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||Rs(e,"select")||Rs(e,"textarea")||e.getAttribute("contenteditable")==="true")}var r3="(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})",ose=new RegExp("^(?:"+r3+")$"),ase=new RegExp(r3),i3="\\d{3}-?\\d{2}-?\\d{4}",nse=new RegExp("^("+i3+")$"),rse=new RegExp("("+i3+")");function hp(e,t){return t===void 0&&(t=!0),!(Et(e)||Co(e)&&(e=Vv(e),(t?ose:ase).test((e||"").replace(/[- ]/g,""))||(t?nse:rse).test(e)))}function LO(e){var t=Lp(e);return hp(t=(t+" "+s3(e)).trim())?t:""}function s3(e){var t="";return e&&e.childNodes&&e.childNodes.length&&vo(e.childNodes,(function(o){var a;if(o&&((a=o.tagName)==null?void 0:a.toLowerCase())==="span")try{var n=Lp(o);t=(t+" "+n).trim(),o.childNodes&&o.childNodes.length&&(t=(t+" "+s3(o)).trim())}catch(i){Ue.error("[AutoCapture]",i)}})),t}function BO(e){return e.replace(/"|\\"/g,'\\"')}function ise(e){var t=e.attr__class;return t?Bt(t)?t:e_(t):void 0}class FO{constructor(t){this.disabled=t===!1;var o=Bo(t)?t:{};this.thresholdPx=o.threshold_px||30,this.timeoutMs=o.timeout_ms||1e3,this.clickCount=o.click_count||3,this.clicks=[]}isRageClick(t,o,a){if(this.disabled)return!1;var n=this.clicks[this.clicks.length-1];if(n&&Math.abs(t-n.x)+Math.abs(o-n.y)<this.thresholdPx&&this.timeoutMs>a-n.timestamp){if(this.clicks.push({x:t,y:o,timestamp:a}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:o,timestamp:a}];return!1}}var Iw="$copy_autocapture",jO=xo("[AutoCapture]");function Lw(e,t){return t.length>e?t.slice(0,e)+"...":t}function sse(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!Wv(t));return t}function lse(e,t){for(var o,a,{e:n,maskAllElementAttributes:i,maskAllText:l,elementAttributeIgnoreList:c,elementsChainAsString:d}=t,p=[e],m=e;m.parentNode&&!Rs(m,"body");)t3(m.parentNode)?(p.push(m.parentNode.host),m=m.parentNode.host):(p.push(m.parentNode),m=m.parentNode);var h,f,v=[],b={},S=!1,k=!1;if(vo(p,(E=>{var R=Jx(E);E.tagName.toLowerCase()==="a"&&(S=E.getAttribute("href"),S=R&&S&&hp(S)&&S),Ct(rv(E),"ph-no-capture")&&(k=!0),v.push((function(O,L,$,B){var U=O.tagName.toLowerCase(),F={tag_name:U};t_.indexOf(U)>-1&&!$&&(F.$el_text=U.toLowerCase()==="a"||U.toLowerCase()==="button"?Lw(1024,LO(O)):Lw(1024,Lp(O)));var W=rv(O);W.length>0&&(F.classes=W.filter((function(J){return J!==""}))),vo(O.attributes,(function(J){var le;if((!n3(O)||["name","id","class","aria-label"].indexOf(J.name)!==-1)&&(B==null||!B.includes(J.name))&&!L&&hp(J.value)&&(!Co(le=J.name)||le.substring(0,10)!=="_ngcontent"&&le.substring(0,7)!=="_nghost")){var Q=J.value;J.name==="class"&&(Q=e_(Q).join(" ")),F["attr__"+J.name]=Lw(1024,Q)}}));for(var ae=1,H=1,K=O;K=sse(K);)ae++,K.tagName===O.tagName&&H++;return F.nth_child=ae,F.nth_of_type=H,F})(E,i,l,c));var D=(function(O){if(!Jx(O))return{};var L={};return vo(O.attributes,(function($){if($.name&&$.name.indexOf("data-ph-capture-attribute")===0){var B=$.name.replace("data-ph-capture-attribute-",""),U=$.value;B&&U&&hp(U)&&(L[B]=U)}})),L})(E);Mo(b,D)})),k)return{props:{},explicitNoCapture:k};if(l||(v[0].$el_text=e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?LO(e):Lp(e)),S){var x,T;v[0].attr__href=S;var P=(x=Xf(S))==null?void 0:x.host,C=ge==null||(T=ge.location)==null?void 0:T.host;P&&C&&P!==C&&(h=S)}return{props:Mo({$event_type:n.type,$ce_version:1},d?{}:{$elements:v},{$elements_chain:(f=v,(function(E){return E.map((R=>{var D,O,L="";if(R.tag_name&&(L+=R.tag_name),R.attr_class)for(var $ of(R.attr_class.sort(),R.attr_class))L+="."+$.replace(/"/g,"");var B=Ne({},R.text?{text:R.text}:{},{"nth-child":(D=R.nth_child)!==null&&D!==void 0?D:0,"nth-of-type":(O=R.nth_of_type)!==null&&O!==void 0?O:0},R.href?{href:R.href}:{},R.attr_id?{attr_id:R.attr_id}:{},R.attributes),U={};return sf(B).sort(((F,W)=>{var[ae]=F,[H]=W;return ae.localeCompare(H)})).forEach((F=>{var[W,ae]=F;return U[BO(W.toString())]=BO(ae.toString())})),(L+=":")+sf(U).map((F=>{var[W,ae]=F;return W+'="'+ae+'"'})).join("")})).join(";")})((function(E){return E.map((R=>{var D,O,L={text:(D=R.$el_text)==null?void 0:D.slice(0,400),tag_name:R.tag_name,href:(O=R.attr__href)==null?void 0:O.slice(0,2048),attr_class:ise(R),attr_id:R.attr__id,nth_child:R.nth_child,nth_of_type:R.nth_of_type,attributes:{}};return sf(R).filter(($=>{var[B]=$;return B.indexOf("attr__")===0})).forEach(($=>{var[B,U]=$;return L.attributes[B]=U})),L}))})(f)))},(o=v[0])!=null&&o.$el_text?{$el_text:(a=v[0])==null?void 0:a.$el_text}:{},h&&n.type==="click"?{$external_click_url:h}:{},b)}}var Vu=xo("[ExceptionAutocapture]");function zO(e,t,o){try{if(!(t in e))return()=>{};var a=e[t],n=o(a);return Ti(n)&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=n,()=>{e[t]=a}}catch{return()=>{}}}var cse=xo("[TracingHeaders]"),us=xo("[Web Vitals]"),UO=9e5,qO="disabled",$O="lazy_loading",Hu="awaiting_config",jg="missing_config";xo("[SessionRecording]"),xo("[SessionRecording]");var Xx="[SessionRecording]",ps=xo(Xx),dse=xo("[Heatmaps]");function VO(e){return Bo(e)&&"clientX"in e&&"clientY"in e&&Xn(e.clientX)&&Xn(e.clientY)}var HO=xo("[Product Tours]"),use=["$set_once","$set"],ms=xo("[SiteApps]"),GO="Error while initializing PostHog app with config id ";function zc(e,t,o){if(Et(e))return!1;switch(o){case"exact":return e===t;case"contains":var a=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(a,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class pse{constructor(t){this.vn=new Xk,this.fn=(o,a)=>this.pn(o,a)&&this.gn(o,a)&&this.mn(o,a)&&this.yn(o,a),this.pn=(o,a)=>a==null||!a.event||o?.event===a?.event,this._instance=t,this.bn=new Set,this._n=new Set}init(){var t,o;$e((t=this._instance)==null?void 0:t._addCaptureHook)||(o=this._instance)==null||o._addCaptureHook(((a,n)=>{this.on(a,n)}))}register(t){var o,a;if(!$e((o=this._instance)==null?void 0:o._addCaptureHook)&&(t.forEach((l=>{var c,d;(c=this._n)==null||c.add(l),(d=l.steps)==null||d.forEach((p=>{var m;(m=this.bn)==null||m.add(p?.event||"")}))})),(a=this._instance)!=null&&a.autocapture)){var n,i=new Set;t.forEach((l=>{var c;(c=l.steps)==null||c.forEach((d=>{d!=null&&d.selector&&i.add(d?.selector)}))})),(n=this._instance)==null||n.autocapture.setElementSelectors(i)}}on(t,o){var a;o!=null&&t.length!=0&&(this.bn.has(t)||this.bn.has(o?.event))&&this._n&&((a=this._n)==null?void 0:a.size)>0&&this._n.forEach((n=>{this.wn(o,n)&&this.vn.emit("actionCaptured",n.name)}))}In(t){this.onAction("actionCaptured",(o=>t(o)))}wn(t,o){if(o?.steps==null)return!1;for(var a of o.steps)if(this.fn(t,a))return!0;return!1}onAction(t,o){return this.vn.on(t,o)}gn(t,o){if(o!=null&&o.url){var a,n=t==null||(a=t.properties)==null?void 0:a.$current_url;if(!n||typeof n!="string"||!zc(n,o.url,o.url_matching||"contains"))return!1}return!0}mn(t,o){return!!this.Cn(t,o)&&!!this.Sn(t,o)&&!!this.xn(t,o)}Cn(t,o){var a;if(o==null||!o.href)return!0;var n=this.kn(t);if(n.length>0)return n.some((c=>zc(c.href,o.href,o.href_matching||"exact")));var i,l=(t==null||(a=t.properties)==null?void 0:a.$elements_chain)||"";return!!l&&zc((i=l.match(/(?::|")href="(.*?)"/))?i[1]:"",o.href,o.href_matching||"exact")}Sn(t,o){var a;if(o==null||!o.text)return!0;var n=this.kn(t);if(n.length>0)return n.some((p=>zc(p.text,o.text,o.text_matching||"exact")||zc(p.$el_text,o.text,o.text_matching||"exact")));var i,l,c,d=(t==null||(a=t.properties)==null?void 0:a.$elements_chain)||"";return!!d&&(i=(function(p){for(var m,h=[],f=/(?::|")text="(.*?)"/g;!Et(m=f.exec(p));)h.includes(m[1])||h.push(m[1]);return h})(d),l=o.text,c=o.text_matching||"exact",i.some((p=>zc(p,l,c))))}xn(t,o){var a,n;if(o==null||!o.selector)return!0;var i=t==null||(a=t.properties)==null?void 0:a.$element_selectors;if(i!=null&&i.includes(o.selector))return!0;var l=(t==null||(n=t.properties)==null?void 0:n.$elements_chain)||"";if(o.selector_regex&&l)try{return new RegExp(o.selector_regex).test(l)}catch{return!1}return!1}kn(t){var o;return(t==null||(o=t.properties)==null?void 0:o.$elements)==null?[]:t?.properties.$elements}yn(t,o){return o==null||!o.properties||o.properties.length===0||Qj(o.properties.reduce(((a,n)=>{var i=Bt(n.value)?n.value.map(String):n.value!=null?[String(n.value)]:[];return a[n.key]={values:i,operator:n.operator||"exact"},a}),{}),t?.properties)}}class mse{constructor(t){this._instance=t,this.Tn=new Map,this.An=new Map,this.En=new Map}Rn(t,o){return!!t&&Qj(t.propertyFilters,o?.properties)}Nn(t,o){var a=new Map;return t.forEach((n=>{var i;(i=n.conditions)==null||(i=i[o])==null||(i=i.values)==null||i.forEach((l=>{if(l!=null&&l.name){var c=a.get(l.name)||[];c.push(n.id),a.set(l.name,c)}}))})),a}Mn(t,o,a){var n=(a===ju.Activation?this.Tn:this.An).get(t),i=[];return this.Fn((l=>{i=l.filter((c=>n?.includes(c.id)))})),i.filter((l=>{var c,d=(c=l.conditions)==null||(c=c[a])==null||(c=c.values)==null?void 0:c.find((p=>p.name===t));return this.Rn(d,o)}))}register(t){var o;$e((o=this._instance)==null?void 0:o._addCaptureHook)||(this.On(t),this.Pn(t))}Pn(t){var o=t.filter((a=>{var n,i;return((n=a.conditions)==null?void 0:n.actions)&&((i=a.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0}));o.length!==0&&(this.Ln==null&&(this.Ln=new pse(this._instance),this.Ln.init(),this.Ln.In((a=>{this.onAction(a)}))),o.forEach((a=>{var n,i,l,c,d;a.conditions&&(n=a.conditions)!=null&&n.actions&&(i=a.conditions)!=null&&(i=i.actions)!=null&&i.values&&((l=a.conditions)==null||(l=l.actions)==null||(l=l.values)==null?void 0:l.length)>0&&((c=this.Ln)==null||c.register(a.conditions.actions.values),(d=a.conditions)==null||(d=d.actions)==null||(d=d.values)==null||d.forEach((p=>{if(p&&p.name){var m=this.En.get(p.name);m&&m.push(a.id),this.En.set(p.name,m||[a.id])}})))})))}On(t){var o,a=t.filter((i=>{var l,c;return((l=i.conditions)==null?void 0:l.events)&&((c=i.conditions)==null||(c=c.events)==null||(c=c.values)==null?void 0:c.length)>0})),n=t.filter((i=>{var l,c;return((l=i.conditions)==null?void 0:l.cancelEvents)&&((c=i.conditions)==null||(c=c.cancelEvents)==null||(c=c.values)==null?void 0:c.length)>0}));a.length===0&&n.length===0||((o=this._instance)==null||o._addCaptureHook(((i,l)=>{this.onEvent(i,l)})),this.Tn=this.Nn(t,ju.Activation),this.An=this.Nn(t,ju.Cancellation))}onEvent(t,o){var a,n=this.le(),i=this.Dn(),l=this.Bn(),c=((a=this._instance)==null||(a=a.persistence)==null?void 0:a.props[i])||[];if(l===t&&o&&c.length>0){var d,p;n.info("event matched, removing item from activated items",{event:t,eventPayload:o,existingActivatedItems:c});var m=(o==null||(d=o.properties)==null?void 0:d.$survey_id)||(o==null||(p=o.properties)==null?void 0:p.$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,o,ju.Cancellation);f.length>0&&(n.info("cancel event matched, cancelling items",{event:t,itemsToCancel:f.map((b=>b.id))}),f.forEach((b=>{var S=c.indexOf(b.id);0>S||c.splice(S,1),this.$n(b.id)})),this.jn(c))}if(this.Tn.has(t)){n.info("event name matched",{event:t,eventPayload:o,items:this.Tn.get(t)});var v=this.Mn(t,o,ju.Activation);this.jn(c.concat(v.map((b=>b.id))||[]))}}}onAction(t){var o,a=this.Dn(),n=((o=this._instance)==null||(o=o.persistence)==null?void 0:o.props[a])||[];this.En.has(t)&&this.jn(n.concat(this.En.get(t)||[]))}jn(t){var o=this.le(),a=[...new Set(t)].filter((n=>!this.qn(n)));o.info("updating activated items",{activatedItems:a}),this.Zn(a)}getActivatedIds(){var t,o=this.Dn();return((t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[o])||[]}getEventToItemsMap(){return this.Tn}Vn(){return this.Ln}}class hse extends mse{constructor(t){super(t)}Dn(){return Ix}Bn(){return sp.SHOWN}Fn(t){var o;(o=this._instance)==null||o.getSurveys(t)}$n(t){var o;(o=this._instance)==null||o.cancelPendingSurvey(t)}le(){return oo}Zn(t){var o;(o=this._instance)==null||(o=o.persistence)==null||o.register({[Ix]:t})}qn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var Bw="SDK is not enabled or survey functionality is not yet loaded",WO="Disabled. Not loading surveys.",gse=ge!=null&&ge.location?tv(ge.location.hash,"__posthog")||tv(location.hash,"state"):null,KO="_postHogToolbarParams",YO=xo("[Toolbar]"),$a=xo("[FeatureFlags]"),ml=xo("[FeatureFlags]",{debugEnabled:!0}),Fw=`" failed. Feature flags didn't load in time.`,ZO=e=>{for(var t={},o=0;e.length>o;o++)t[e[o]]=!0;return t},QO=e=>{var t={};for(var[o,a]of sf(e||{}))a&&(t[o]=a);return t},wi=xo("[Error tracking]"),JO="Refusing to render web experiment since the viewer is a likely bot",fse={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&&nv(t.href,e),not_regex:(e,t)=>!!ge&&!nv(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class Ma{get Bt(){return this._instance.config}constructor(t){var o=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(a){a===void 0&&(a=!1),o.getWebExperiments((n=>{Ma.Hn("retrieved web experiments from the server"),o.zn=new Map,n.forEach((i=>{if(i.feature_flag_key){var l;o.zn&&(Ma.Hn("setting flag key ",i.feature_flag_key," to web experiment ",i),(l=o.zn)==null||l.set(i.feature_flag_key,i));var c=o._instance.getFeatureFlag(i.feature_flag_key);Co(c)&&i.variants[c]&&o.Un(i.name,c,i.variants[c].transforms)}else if(i.variants)for(var d in i.variants){var p=i.variants[d];Ma.Yn(p)&&o.Un(i.name,d,p.transforms)}}))}),a)},this._instance=t,this._instance.onFeatureFlags((a=>{this.onFeatureFlags(a)}))}initialize(){}onFeatureFlags(t){if(this._is_bot())Ma.Hn(JO);else if(!this.Bt.disable_web_experiments){if(Et(this.zn))return this.zn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();Ma.Hn("applying feature flags",t),t.forEach((o=>{var a;if(this.zn&&(a=this.zn)!=null&&a.has(o)){var n,i=this._instance.getFeatureFlag(o),l=(n=this.zn)==null?void 0:n.get(o);i&&l!=null&&l.variants[i]&&this.Un(l.name,i,l.variants[i].transforms)}}))}}previewWebExperiment(){var t=Ma.getWindowLocation();if(t!=null&&t.search){var o=ev(t?.search,"__experiment_id"),a=ev(t?.search,"__experiment_variant");o&&a&&(Ma.Hn("previewing web experiments "+o+" && "+a),this.getWebExperiments((n=>{this.Gn(parseInt(o),a,n)}),!1,!0))}}loadIfEnabled(){this.Bt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,o,a){if(this.Bt.disable_web_experiments&&!a)return t([]);var n=this._instance.get_property("$web_experiments");if(n&&!o)return t(n);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Bt.token),method:"GET",callback:i=>t(i.statusCode===200&&i.json&&i.json.experiments||[])})}Gn(t,o,a){var n=a.filter((i=>i.id===t));n&&n.length>0&&(Ma.Hn("Previewing web experiment ["+n[0].name+"] with variant ["+o+"]"),this.Un(n[0].name,o,n[0].variants[o].transforms))}static Yn(t){return!Et(t.conditions)&&Ma.Wn(t)&&Ma.Xn(t)}static Wn(t){var o;if(Et(t.conditions)||Et((o=t.conditions)==null?void 0:o.url))return!0;var a,n,i,l=Ma.getWindowLocation();return!!l&&((a=t.conditions)==null||!a.url||fse[(n=(i=t.conditions)==null?void 0:i.urlMatchType)!==null&&n!==void 0?n:"icontains"](t.conditions.url,l))}static getWindowLocation(){return ge?.location}static Xn(t){var o;if(Et(t.conditions)||Et((o=t.conditions)==null?void 0:o.utm))return!0;var a=Ij();if(a.utm_source){var n,i,l,c,d,p,m,h,f=(n=t.conditions)==null||(n=n.utm)==null||!n.utm_campaign||((i=t.conditions)==null||(i=i.utm)==null?void 0:i.utm_campaign)==a.utm_campaign,v=(l=t.conditions)==null||(l=l.utm)==null||!l.utm_source||((c=t.conditions)==null||(c=c.utm)==null?void 0:c.utm_source)==a.utm_source,b=(d=t.conditions)==null||(d=d.utm)==null||!d.utm_medium||((p=t.conditions)==null||(p=p.utm)==null?void 0:p.utm_medium)==a.utm_medium,S=(m=t.conditions)==null||(m=m.utm)==null||!m.utm_term||((h=t.conditions)==null||(h=h.utm)==null?void 0:h.utm_term)==a.utm_term;return f&&b&&S&&v}return!1}static Hn(t){for(var o=arguments.length,a=new Array(o>1?o-1:0),n=1;o>n;n++)a[n-1]=arguments[n];Ue.info("[WebExperiments] "+t,a)}Un(t,o,a){this._is_bot()?Ma.Hn(JO):o!=="control"?a.forEach((n=>{if(n.selector){var i;Ma.Hn("applying transform of variant "+o+" for experiment "+t+" ",n);var l=(i=document)==null?void 0:i.querySelectorAll(n.selector);l?.forEach((c=>{var d=c;n.html&&(d.innerHTML=n.html),n.css&&d.setAttribute("style",n.css)}))}})):Ma.Hn("Control variants leave the page unmodified.")}_is_bot(){return An&&this._instance?Yj(An,this.Bt.custom_blocked_useragents):void 0}}var Hn=xo("[Conversations]"),hl="Conversations not available yet.",Kv={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,$a.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||($a.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((o=>{var a=o&&typeof o=="string"&&o.trim().length>0;return a||$a.error("Invalid evaluation context found:",o,"Expected non-empty string"),a})):[]}cs(){return this.hs().length>0}initialize(){var e,t,{config:o}=this._instance,a=(e=(t=o.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(a).length){var n,i,l=(n=(i=o.bootstrap)==null?void 0:i.featureFlagPayloads)!==null&&n!==void 0?n:{},c=Object.keys(a).filter((p=>!!a[p])).reduce(((p,m)=>(p[m]=a[m]||!1,p)),{}),d=Object.keys(l).filter((p=>c[p])).reduce(((p,m)=>(l[m]&&(p[m]=l[m]),p)),{});this.receivedFeatureFlags({featureFlags:c,featureFlagPayloads:d})}}updateFlags(e,t,o){var a=o!=null&&o.merge?this.getFlagVariants():{},n=o!=null&&o.merge?this.getFlagPayloads():{},i=Ne({},a,e),l=Ne({},n,t),c={};for(var[d,p]of Object.entries(i)){var m=typeof p=="string";c[d]={key:d,enabled:!!m||!!p,variant:m?p:void 0,reason:void 0,metadata:$e(l?.[d])?void 0:{id:0,version:void 0,description:void 0,payload:l[d]}}}this.receivedFeatureFlags({flags:c})}get hasLoadedFlags(){return this.Kn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.os(Dx),t=this.os(xi),o=this.os(Kc);if(!o&&!t)return e||{};var a=Mo({},e||{}),n=[...new Set([...Object.keys(o||{}),...Object.keys(t||{})])];for(var i of n){var l,c,d=a[i],p=t?.[i],m=$e(p)?(l=d?.enabled)!==null&&l!==void 0&&l:!!p,h=$e(p)?d.variant:typeof p=="string"?p:void 0,f=o?.[i],v=Ne({},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=Ne({},d?.metadata,{payload:f,original_payload:d==null||(c=d.metadata)==null?void 0:c.payload})),a[i]=v}return this.Jn||($a.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:o,finalDetails:a}),this.Jn=!0),a}getFlagVariants(){var e=this.os(td),t=this.os(xi);if(!t)return e||{};for(var o=Mo({},e),a=Object.keys(t),n=0;a.length>n;n++)o[a[n]]=t[a[n]];return this.Jn||($a.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:o}),this.Jn=!0),o}getFlagPayloads(){var e=this.os(Ox),t=this.os(Kc);if(!t)return e||{};for(var o=Mo({},e||{}),a=Object.keys(t),n=0;a.length>n;n++)o[a[n]]=t[a[n]];return this.Jn||($a.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:o}),this.Jn=!0),o}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 o=this.Bt.token,a=this.os(Hf),n={token:o,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:Ne({},((t=this.ni)==null?void 0:t.get_initial_props())||{},this.os(ip)||{}),group_properties:this.os(vl),timezone:Uj()};Ni(a)||$e(a)||(n.$device_id=a),(e!=null&&e.disableFlags||this.Bt.advanced_disable_feature_flags)&&(n.disable_flags=!0),this.cs()&&(n.evaluation_contexts=this.hs());var i=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:i,data:n,compression:this.Bt.disable_compression?void 0:Lr.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback:l=>{var c,d,p,m=!0;if(l.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=[];l.error?l.error instanceof Error?h.push(l.error.name==="AbortError"?"timeout":"connection_error"):h.push("unknown_error"):l.statusCode!==200&&h.push("api_error_"+l.statusCode),(c=l.json)!=null&&c.errorsWhileComputingFlags&&h.push("errors_while_computing_flags");var f,v=!((d=l.json)==null||(d=d.quotaLimited)==null||!d.includes("feature_flags"));v&&h.push("quota_limited"),(p=this.ni)==null||p.register({[Bx]:h}),v?$a.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=l.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 o;if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Kn||this.getFlags()&&this.getFlags().length>0){if(!this.us()){var a=this.getFeatureFlagResult(e,t);return(o=a?.variant)!==null&&o!==void 0?o:a?.enabled}}else $a.warn('getFeatureFlag for key "'+e+Fw)}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 o=this.getFlagVariants(),a=e in o,n=o[e],i=this.getFlagPayloads()[e],l=String(n),c=this.os(Mx)||void 0,d=this.os(Wf)||void 0,p=this.os(up)||{};if(this.Bt.advanced_feature_flags_dedup_per_session){var m,h=this._instance.get_session_id(),f=this.os(Lx);h&&h!==f&&(p={},(m=this.ni)==null||m.register({[up]:p,[Lx]:h}))}if((t.send_event||!("send_event"in t))&&(!(e in p)||!p[e].includes(l))){var v,b,S,k,x,T,P,C,E,R;Bt(p[e])?p[e].push(l):p[e]=[l],(v=this.ni)==null||v.register({[up]:p});var D=this.getFeatureFlagDetails(e),O=[...(b=this.os(Bx))!==null&&b!==void 0?b:[]];$e(n)&&O.push("flag_missing");var L={$feature_flag:e,$feature_flag_response:n,$feature_flag_payload:i||null,$feature_flag_request_id:c,$feature_flag_evaluated_at:d,$feature_flag_bootstrapped_response:((S=this.Bt.bootstrap)==null||(S=S.featureFlags)==null?void 0:S[e])||null,$feature_flag_bootstrapped_payload:((k=this.Bt.bootstrap)==null||(k=k.featureFlagPayloads)==null?void 0:k[e])||null,$used_bootstrap_value:!this.rs};$e(D==null||(x=D.metadata)==null?void 0:x.version)||(L.$feature_flag_version=D.metadata.version);var $,B=(T=D==null||(P=D.reason)==null?void 0:P.description)!==null&&T!==void 0?T:D==null||(C=D.reason)==null?void 0:C.code;B&&(L.$feature_flag_reason=B),D!=null&&(E=D.metadata)!=null&&E.id&&(L.$feature_flag_id=D.metadata.id),$e(D?.original_variant)&&$e(D?.original_enabled)||(L.$feature_flag_original_response=$e(D.original_variant)?D.original_enabled:D.original_variant),D!=null&&(R=D.metadata)!=null&&R.original_payload&&(L.$feature_flag_original_payload=D==null||($=D.metadata)==null?void 0:$.original_payload),O.length&&(L.$feature_flag_error=O.join(",")),this._instance.capture("$feature_flag_called",L)}if(a){var U=i;if(!$e(i))try{U=JSON.parse(i)}catch{}return{key:e,enabled:!!n,variant:typeof n=="string"?n:void 0,payload:U}}}}else $a.warn('getFeatureFlagResult for key "'+e+Fw)}getRemoteConfigPayload(e,t){var o=this.Bt.token,a={distinct_id:this._instance.get_distinct_id(),token:o};this.cs()&&(a.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:a,compression:this.Bt.disable_compression?void 0:Lr.Base64,timeout:this.Bt.feature_flag_request_timeout_ms,callback(n){var i,l=(i=n.json)==null?void 0:i.featureFlagPayloads;t(l?.[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 o=this.getFeatureFlag(e,t);return $e(o)?void 0:!!o}$a.warn('isFeatureEnabled for key "'+e+Fw)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((t=>t!==e))}receivedFeatureFlags(e,t,o){if(this.ni){this.Kn=!0;var a=this.getFlagVariants(),n=this.getFlagPayloads(),i=this.getFlagsWithDetails();(function(l,c,d,p,m,h){d===void 0&&(d={}),p===void 0&&(p={}),m===void 0&&(m={});var f=(O=>{var L=O.flags;return L?(O.featureFlags=Object.fromEntries(Object.keys(L).map(($=>{var B;return[$,(B=L[$].variant)!==null&&B!==void 0?B:L[$].enabled]}))),O.featureFlagPayloads=Object.fromEntries(Object.keys(L).filter(($=>L[$].enabled)).filter(($=>{var B;return(B=L[$].metadata)==null?void 0:B.payload})).map(($=>{var B;return[$,(B=L[$].metadata)==null?void 0:B.payload]})))):$a.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),O})(l),v=f.flags,b=f.featureFlags,S=f.featureFlagPayloads;if(b){var k=l.requestId,x=l.evaluatedAt;if(Bt(b)){$a.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var T={};if(b)for(var P=0;b.length>P;P++)T[b[P]]=!0;c&&c.register({[nf]:b,[td]:T})}else{var C=b,E=S,R=v;if(h!=null&&h.partialResponse)C=Ne({},d,C),E=Ne({},p,E),R=Ne({},m,R);else if(l.errorsWhileComputingFlags)if(v){var D=new Set(Object.keys(v).filter((O=>{var L;return!((L=v[O])!=null&&L.failed)})));C=Ne({},d,Object.fromEntries(Object.entries(C).filter((O=>{var[L]=O;return D.has(L)})))),E=Ne({},p,Object.fromEntries(Object.entries(E||{}).filter((O=>{var[L]=O;return D.has(L)})))),R=Ne({},m,Object.fromEntries(Object.entries(R||{}).filter((O=>{var[L]=O;return D.has(L)}))))}else C=Ne({},d,C),E=Ne({},p,E),R=Ne({},m,R);c&&c.register(Ne({[nf]:Object.keys(QO(C)),[td]:C||{},[Ox]:E||{},[Dx]:R||{}},k?{[Mx]:k}:{},x?{[Wf]:x}:{}))}}})(e,this.ni,a,n,i,o),t||(this.ss=!1),this.ps(t)}}override(e,t){t===void 0&&(t=!1),$a.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ni)return $a.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this.ni.unregister(xi),this.ni.unregister(Kc),this.ps(),ml.info("All overrides cleared");if(Bt(e)){var t=ZO(e);return this.ni.register({[xi]:t}),this.ps(),ml.info("Flag overrides set",{flags:e})}if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var o,a=e;if(this.Jn=!!((o=a.suppressWarning)!==null&&o!==void 0&&o),"flags"in a){if(a.flags===!1)this.ni.unregister(xi),ml.info("Flag overrides cleared");else if(a.flags){if(Bt(a.flags)){var n=ZO(a.flags);this.ni.register({[xi]:n})}else this.ni.register({[xi]:a.flags});ml.info("Flag overrides set",{flags:a.flags})}}return"payloads"in a&&(a.payloads===!1?(this.ni.unregister(Kc),ml.info("Payload overrides cleared")):a.payloads&&(this.ni.register({[Kc]:a.payloads}),ml.info("Payload overrides set",{payloads:a.payloads}))),void this.ps()}if(e&&typeof e=="object")return this.ni.register({[xi]:e}),this.ps(),ml.info("Flag overrides set",{flags:e});$a.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Kn){var{flags:t,flagVariants:o}=this.gs();e(t,o)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,o){var a,n=(this.os(rp)||[]).find((d=>d.flagKey===e)),i={["$feature_enrollment/"+e]:t},l={$feature_flag:e,$feature_enrollment:t,$set:i};n&&(l.$early_access_feature_name=n.name),o&&(l.$feature_enrollment_stage=o),this._instance.capture("$feature_enrollment_update",l),this.setPersonPropertiesForFlags(i,!1);var c=Ne({},this.getFlagVariants(),{[e]:t});(a=this.ni)==null||a.register({[nf]:Object.keys(QO(c)),[td]:c}),this.ps()}getEarlyAccessFeatures(e,t,o){t===void 0&&(t=!1);var a=this.os(rp),n=o?"&"+o.map((i=>"stage="+i)).join("&"):"";if(a&&!t)return e(a);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Bt.token+n),method:"GET",callback:i=>{var l,c;if(i.json){var d=i.json.earlyAccessFeatures;return(l=this.ni)==null||l.unregister(rp),(c=this.ni)==null||c.register({[rp]:d}),e(d)}}})}gs(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter((o=>t[o])),flagVariants:Object.keys(t).filter((o=>t[o])).reduce(((o,a)=>(o[a]=t[a],o)),{})}}ps(e){var{flags:t,flagVariants:o}=this.gs();this.featureFlagEventHandlers.forEach((a=>a(t,o,{errorsLoading:e})))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var o=this.os(ip)||{},a=e?.$set||(e!=null&&e.$set_once?{}:e),n=e?.$set_once,i={};if(n)for(var l in n)({}).hasOwnProperty.call(n,l)&&(l in o||(i[l]=n[l]));this._instance.register({[ip]:Ne({},o,i,a)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(ip)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var o=this.os(vl)||{};Object.keys(o).length!==0&&Object.keys(o).forEach((a=>{o[a]=Ne({},o[a],e[a]),delete e[a]})),this._instance.register({[vl]:Ne({},o,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.os(vl)||{};this._instance.register({[vl]:Ne({},t,{[e]:{}})})}else this._instance.unregister(vl)}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}}},vse={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===Hu||this.bs===jg?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=qO,this._s=void 0,this._instance=e,!this._instance.sessionManager)throw ps.error("started without valid sessionManager"),new Error(Xx+" started without valid sessionManager. This is a bug.");if(this.Bt.cookieless_mode===ki)throw new Error(Xx+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var e,t=!((e=this._instance.get_property(np))==null||!e.enabled),o=!this.Bt.disable_session_recording,a=this.Bt.disable_session_recording||this._instance.consent.isOptedOut();return ge&&t&&o&&!a}startIfEnabledOrStop(e){var t;if(!this.ws||(t=this.ys)==null||!t.isStarted){var o=!$e(Object.assign)&&!$e(Array.from);this.ws&&o?(this.Is(e),ps.info("starting")):(this.bs=qO,this.stopRecording())}}Is(e){var t,o,a;this.ws&&(this.bs!==Hu&&this.bs!==jg&&(this.bs=$O),tt!=null&&(t=tt.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(o=tt.__PosthogExtensions__)!=null&&o.initSessionRecording?this.Cs(e):(a=tt.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this._instance,this.Ss,(n=>{if(n)return ps.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(Kk)}Ts(e,t){if(Et(e))return null;var o,a=Xn(e)?e:parseFloat(e);return typeof(o=a)!="number"||!Number.isFinite(o)||0>o||o>1?(ps.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):a}As(e){if(this.ni){var t,o,a=this.ni,n=()=>{var i,l=e.sessionRecording===!1?void 0:e.sessionRecording,c=this.Ts((i=this.Bt.session_recording)==null?void 0:i.sampleRate,"session_recording.sampleRate"),d=this.Ts(l?.sampleRate,"remote config sampleRate"),p=c??d;Et(p)&&this.ks();var m=l?.minimumDurationMilliseconds;a.register({[np]:Ne({cache_timestamp:Date.now(),enabled:!!l},l,{networkPayloadCapture:Ne({capturePerformance:e.capturePerformance},l?.networkPayloadCapture),canvasRecording:{enabled:l?.recordCanvas,fps:l?.canvasFps,quality:l?.canvasQuality},sampleRate:p,minimumDurationMilliseconds:$e(m)?null:m,endpoint:l?.endpoint,triggerMatchType:l?.triggerMatchType,masking:l?.masking,urlTriggers:l?.urlTriggers,version:l?.version,triggerGroups:l?.triggerGroups})})};n(),(t=this._s)==null||t.call(this),this._s=(o=this._instance.sessionManager)==null?void 0:o.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===Hu&&(this.bs=jg,ps.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var o;t===void 0&&(t="log"),(o=this.ys)!=null&&o.log?this.ys.log(e,t):ps.warn("log called before recorder was ready")}get Ss(){var e,t,o=(e=this._instance)==null||(e=e.persistence)==null?void 0:e.get_property(np);return(o==null||(t=o.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}Es(){var e,t=this._instance.get_property(np);if(!t)return!1;var o=(e=(typeof t=="object"?t:JSON.parse(t)).cache_timestamp)!==null&&e!==void 0?e:Date.now();return 36e5>=Date.now()-o}Cs(e){var t,o;if((t=tt.__PosthogExtensions__)==null||!t.initSessionRecording)return ps.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[Rj]:!0});if(this.ys||(this.ys=(o=tt.__PosthogExtensions__)==null?void 0:o.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Es())return this.bs===jg||this.bs===Hu?void 0:(this.bs=Hu,ps.info("persisted remote config is stale, requesting fresh config before starting"),void new qj(this._instance).load());this.bs=$O,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({[kj]:!0}),(e=this.ys)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.ys||(t=this.ni)==null||t.register({[Tj]:!0}),(e=this.ys)==null||e.overrideSampling()}overrideTrigger(e){var t,o;this.ys||(o=this.ni)==null||o.register({[e==="url"?_j:Cj]:!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 o;return!((o=this.ys)==null||!o.tryAddCustomEvent(e,t))}}},bse={autocapture:class{constructor(e){this.Rs=!1,this.Ns=null,this.Ms=!1,this.instance=e,this.rageclicks=new FO(e.config.rageclick),this.Fs=null}initialize(){this.startIfEnabled()}get Bt(){var e,t,o=Bo(this.instance.config.autocapture)?this.instance.config.autocapture:{};return o.url_allowlist=(e=o.url_allowlist)==null?void 0:e.map((a=>new RegExp(a))),o.url_ignorelist=(t=o.url_ignorelist)==null?void 0:t.map((a=>new RegExp(a))),o}Os(){if(this.isBrowserSupported()){if(ge&&ze){var e=o=>{o=o||ge?.event;try{this.Ps(o)}catch(a){jO.error("Failed to capture event",a)}};if(Zo(ze,"submit",e,{capture:!0}),Zo(ze,"change",e,{capture:!0}),Zo(ze,"click",e,{capture:!0}),this.Bt.capture_copied_text){var t=o=>{this.Ps(o=o||ge?.event,Iw)};Zo(ze,"copy",t,{capture:!0}),Zo(ze,"cut",t,{capture:!0})}}}else jO.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({[Tx]:!!e.autocapture_opt_out}),this.Ns=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Fs=e}getElementSelectors(e){var t,o=[];return(t=this.Fs)==null||t.forEach((a=>{var n=ze?.querySelectorAll(a);n?.forEach((i=>{e===i&&o.push(a)}))})),o}get isEnabled(){var e,t,o=(e=this.instance.persistence)==null?void 0:e.props[Tx];if(Ni(this.Ns)&&!qr(o)&&!this.instance.Fr())return!1;var a=(t=this.Ns)!==null&&t!==void 0?t:!!o;return!!this.instance.config.autocapture&&!a}Ps(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var o,a=OO(e);e3(a)&&(a=a.parentNode||null),t==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(o=this.rageclicks)!=null&&o.isRageClick(e.clientX,e.clientY,e.timeStamp||new Date().getTime())&&(function(h,f){if(!ge||Qx(h))return!1;var v,b,S;if(qr(f)?(v=!!f&&NO,b=void 0):(v=(S=f?.css_selector_ignorelist)!==null&&S!==void 0?S:NO,b=f?.content_ignorelist),v===!1)return!1;var{targetElementList:k}=IO(h,!1);return!(function(x,T){if(x===!1||$e(x))return!1;var P;if(x===!0)P=tse;else{if(!Bt(x))return!1;if(x.length>10)return Ue.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;P=x.map((C=>C.toLowerCase()))}return T.some((C=>{var{safeText:E,ariaLabel:R}=C;return P.some((D=>E.includes(D)||R.includes(D)))}))})(b,k.map((x=>{var T;return{safeText:Lp(x).toLowerCase(),ariaLabel:((T=x.getAttribute("aria-label"))==null?void 0:T.toLowerCase().trim())||""}})))&&!MO(k,v)})(a,this.instance.config.rageclick)&&this.Ps(e,"$rageclick");var n=t===Iw;if(a&&(function(h,f,v,b,S){var k,x,T,P;if(v===void 0&&(v=void 0),!ge||Qx(h)||(k=v)!=null&&k.url_allowlist&&!DO(v.url_allowlist)||(x=v)!=null&&x.url_ignorelist&&DO(v.url_ignorelist))return!1;if((T=v)!=null&&T.dom_event_allowlist){var C=v.dom_event_allowlist;if(C&&!C.some((L=>f.type===L)))return!1}var{parentIsUsefulElement:E,targetElementList:R}=IO(h,b);if(!(function(L,$){var B=$?.element_allowlist;if($e(B))return!0;var U,F=function(ae){if(B.some((H=>ae.tagName.toLowerCase()===H)))return{v:!0}};for(var W of L)if(U=F(W))return U.v;return!1})(R,v)||!MO(R,(P=v)==null?void 0:P.css_selector_allowlist))return!1;var D=ge.getComputedStyle(h);if(D&&D.getPropertyValue("cursor")==="pointer"&&f.type==="click")return!0;var O=h.tagName.toLowerCase();switch(O){case"html":return!1;case"form":return(S||["submit"]).indexOf(f.type)>=0;case"input":case"select":case"textarea":return(S||["change","click"]).indexOf(f.type)>=0;default:return E?(S||["click"]).indexOf(f.type)>=0:(S||["click"]).indexOf(f.type)>=0&&(t_.indexOf(O)>-1||h.getAttribute("contenteditable")==="true")}})(a,e,this.Bt,n,n?["copy","cut"]:void 0)){var{props:i,explicitNoCapture:l}=lse(a,{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(l)return!1;var c=this.getElementSelectors(a);if(c&&c.length>0&&(i.$element_selectors=c),t===Iw){var d,p=o3(ge==null||(d=ge.getSelection())==null?void 0:d.toString()),m=e.type||"clipboard";if(!p)return!1;i.$selected_content=p,i.$copy_type=m}return this.instance.capture(t,i),!0}}}isBrowserSupported(){return Ti(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 o=this;(e=ge.history.pushState)!=null&&e.__posthog_wrapped__||zO(ge.history,"pushState",(a=>function(n,i,l){a.call(this,n,i,l),o.Bs("pushState")})),(t=ge.history.replaceState)!=null&&t.__posthog_wrapped__||zO(ge.history,"replaceState",(a=>function(n,i,l){a.call(this,n,i,l),o.Bs("replaceState")})),this.js()}}Bs(e){try{var t,o=ge==null||(t=ge.location)==null?void 0:t.pathname;if(!o)return;o!==this.Ls&&this.isEnabled&&this._instance.capture(Yc,{navigation_type:e}),this.Ls=o}catch(a){Ue.error("Error capturing "+e+" pageview",a)}}js(){if(!this.Ds){var e=()=>{this.Bs("popstate")};Zo(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[kx]),this.rageclicks=new FO(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Bo(this.Bt.capture_heatmaps)&&this.Bt.capture_heatmaps.flush_interval_milliseconds&&(e=this.Bt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return Et(this.Bt.capture_heatmaps)?Et(this.Bt.enable_heatmaps)?this.$s:this.Bt.enable_heatmaps:this.Bt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Rs)return;dse.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({[kx]: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),Zo(ge,Qf,this.zs),this.Us=e=>this.Tt(e||ge?.event),Zo(ze,"click",this.Us,{capture:!0}),this.Ys=e=>this.Gs(e||ge?.event),Zo(ze,"mousemove",this.Ys,{capture:!0}),this.Ws=new uO(this.instance,Tie,this.Hs.bind(this)),this.Ws.startIfEnabledOrStop(),this.Xs=this.Ft.bind(this),Zo(ze,Zf,this.Xs),this.Rs=!0)}Vs(){var e;ge&&ze&&(this.zs&&ge.removeEventListener(Qf,this.zs),this.Us&&ze.removeEventListener("click",this.Us,{capture:!0}),this.Ys&&ze.removeEventListener("mousemove",this.Ys,{capture:!0}),this.Xs&&ze.removeEventListener(Zf,this.Xs),clearTimeout(this.Js),(e=this.Ws)==null||e.stop(),this.Rs=!1)}Ks(e,t){var o=this.instance.scrollManager.scrollY(),a=this.instance.scrollManager.scrollX(),n=this.instance.scrollManager.scrollElement(),i=(function(l,c,d){for(var p=l;p&&Wv(p)&&!Rs(p,"body");){if(p===d)return!1;if(Ct(c,ge?.getComputedStyle(p).position))return!0;p=a3(p)}return!1})(OO(e),["fixed","sticky"],n);return{x:e.clientX+(i?0:a),y:e.clientY+(i?0:o),target_fixed:i,type:t}}Tt(e,t){var o;if(t===void 0&&(t="click"),!RO(e.target)&&VO(e)){var a=this.Ks(e,t);(o=this.rageclicks)!=null&&o.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Qs(Ne({},a,{type:"rageclick"})),this.Qs(a)}}Gs(e){!RO(e.target)&&VO(e)&&(clearTimeout(this.Js),this.Js=setTimeout((()=>{this.Qs(this.Ks(e,"mousemove"))}),500))}Qs(e){if(ge){var t=ge.location.href,o=this.Bt.custom_personal_data_properties,a=this.Bt.mask_personal_data_properties?[...Cd,...o||[]]:[],n=Np(t,a,Ip);this.T=this.T||{},this.T[n]||(this.T[n]=[]),this.T[n].push(e)}}Yr(){this.T&&!ed(this.T)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:uO,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(((o,a)=>Ne({},o,{["$web_vitals_"+a.name+"_event"]:Ne({},a),["$web_vitals_"+a.name+"_value"]:a.value})),{})),this.T={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=o=>{var a,n=(a=this._instance.sessionManager)==null?void 0:a.checkAndGetSessionAndWindowId(!0);if($e(n))us.error("Could not read session ID. Dropping metrics!");else{this.T=this.T||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var i=this.io();$e(i)||(Et(o?.name)||Et(o?.value)?us.error("Invalid metric received",o):!this.no||this.no>o.value?(this.T.url!==i&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),$e(this.T.url)&&(this.T.url=i),this.T.firstMetricTimestamp=$e(this.T.firstMetricTimestamp)?Date.now():this.T.firstMetricTimestamp,o.attribution&&o.attribution.interactionTargetElement&&(o.attribution.interactionTargetElement=void 0),this.T.metrics.push(Ne({},o,{$current_url:i,$session_id:n.sessionId,$window_id:n.windowId,timestamp:Date.now()})),this.T.metrics.length===this.allowedMetrics.length&&this.eo()):us.error("Ignoring metric with value >= "+this.no,o))}},this.so=()=>{if(!this.Rs){var o,a,n,i,l=tt.__PosthogExtensions__;$e(l)||$e(l.postHogWebVitalsCallbacks)||({onLCP:o,onCLS:a,onFCP:n,onINP:i}=l.postHogWebVitalsCallbacks),o&&a&&n&&i?(this.allowedMetrics.indexOf("LCP")>-1&&o(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&a(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&n(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&i(this.ht.bind(this)),this.Rs=!0):us.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.$s=!((t=this._instance.persistence)==null||!t.props[Px]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,o=Bo(this.oo)?(e=this.oo)==null?void 0:e.web_vitals_allowed_metrics:void 0;return Et(o)?((t=this._instance.persistence)==null?void 0:t.props[Rx])||["CLS","FCP","INP","LCP"]:o}get flushToCaptureTimeoutMs(){return(Bo(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Bo(this.oo)?this.oo.web_vitals_attribution:void 0;return e!=null&&e}get no(){var e=Bo(this.oo)&&Xn(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:UO;return e>0&&6e4>=e?UO:e}get isEnabled(){var e=wa?.protocol;if(e!=="http:"&&e!=="https:")return us.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Bo(this.oo)?this.oo.web_vitals:qr(this.oo)?this.oo:void 0;return qr(t)?t:this.$s}startIfEnabled(){this.isEnabled&&!this.Rs&&(us.info("enabled, starting..."),this.ur(this.so))}onRemoteConfig(e){if("capturePerformance"in e){var t=Bo(e.capturePerformance)&&!!e.capturePerformance.web_vitals,o=Bo(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[Px]:t}),this._instance.persistence.register({[Rx]:o})),this.$s=t,this.startIfEnabled()}}ur(e){var t,o;(t=tt.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks?e():(o=tt.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",(a=>{a?us.error("failed to load script",a):e()}))}io(){var e=ge?ge.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties,o=this._instance.config.mask_personal_data_properties?[...Cd,...t||[]]:[];return Np(e,o,Ip)}us.error("Could not determine current URL")}}},yse={exceptionObserver:class{constructor(e){var t,o,a;this.so=()=>{var n;if(ge&&this.isEnabled&&(n=tt.__PosthogExtensions__)!=null&&n.errorWrappingFunctions){var i=tt.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,l=tt.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,c=tt.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ao&&this.Bt.capture_unhandled_errors&&(this.ao=i(this.captureException.bind(this))),!this.lo&&this.Bt.capture_unhandled_rejections&&(this.lo=l(this.captureException.bind(this))),!this.uo&&this.Bt.capture_console_errors&&(this.uo=c(this.captureException.bind(this)))}catch(d){Vu.error("failed to start",d),this.ho()}}},this._instance=e,this.co=!((t=this._instance.persistence)==null||!t.props[_x]),this.do=new Ore({refillRate:(o=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&o!==void 0?o:1,bucketSize:(a=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&a!==void 0?a:10,refillInterval:1e4,Gt:Vu}),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 Bo(e)?t=Ne({},t,e):($e(e)?this.co:e)&&(t=Ne({},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?(Vu.info("enabled"),this.ho(),this.ur(this.so)):this.ho()}ur(e){var t,o;(t=tt.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(o=tt.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"exception-autocapture",(a=>{if(a)return Vu.error("failed to load script",a);e()}))}ho(){var e,t,o;(e=this.ao)==null||e.call(this),this.ao=void 0,(t=this.lo)==null||t.call(this),this.lo=void 0,(o=this.uo)==null||o.call(this),this.uo=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.co=!!e.autocaptureExceptions||!1,this._instance.persistence&&this._instance.persistence.register({[_x]:this.co}),this.Bt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.Bt=this.vo()}captureException(e){var t,o,a,n=(t=e==null||(o=e.$exception_list)==null||(o=o[0])==null?void 0:o.type)!==null&&t!==void 0?t:"Exception";this.do.consumeRateLimit(n)?Vu.info("Skipping exception capture because of client rate limiting.",{exception:n}):(a=this._instance.exceptions)==null||a.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,o;this.fo=[],this.po=new Hre([new Xre,new lie,new tie,new eie,new iie,new rie,new aie,new sie],(function(a){for(var n=arguments.length,i=new Array(n>1?n-1:0),l=1;n>l;l++)i[l-1]=arguments[l];return function(c,d){d===void 0&&(d=0);for(var p=[],m=c.split(`
|
|
168
|
-
`),h=d;m.length>h;h++){var f=m[h];if(1024>=f.length){var v=sO.test(f)?f.replace(sO,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of i){var S=b(v,a);if(S){p.push(S);break}}if(p.length>=50)break}}}return(function(k){if(!k.length)return[];var x=Array.from(k);return x.reverse(),x.slice(0,50).map((T=>{return Ne({},T,{filename:T.filename||(P=x,P[P.length-1]||{}).filename,function:T.function||_d});var P}))})(p)}})("web:javascript",Yre,Jre)),this._instance=e,this.fo=(t=(o=this._instance.persistence)==null?void 0:o.get_property(Cx))!==null&&t!==void 0?t:[],this.mo=Vf(this.yo()),this.bo=new die(this.mo)}onConfigChange(){this.mo=Vf(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,o,a;if("errorTracking"in e){var n=(t=(o=e.errorTracking)==null?void 0:o.suppressionRules)!==null&&t!==void 0?t:[],i=(a=e.errorTracking)==null?void 0:a.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[Cx]:this.fo,[Ex]:i})}}get _o(){var e,t=!!this._instance.get_property(Ex),o=this._instance.config.error_tracking.captureExtensionExceptions;return(e=o??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(!Co(e)||e.trim().length===0)return void wi.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(t),{sanitizedProperties:a,droppedKeys:n}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var l=[];return{sanitizedProperties:Object.keys(i).reduce(((c,d)=>cie.has(d)?(l.push(d),c):(c[d]=i[d],c)),{}),droppedKeys:l}})(o);n.length>0&&wi.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(Ne({[qf]:e,[$f]:new Date().toISOString()},a))}catch(i){wi.error("Failed to add exception step. Ignoring breadcrumb.",i)}}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 wi.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 wi.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 wi.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&Et(e.$exception_steps)?this.To(e):e;try{var a=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return a&&this.bo.clear(),a}catch(n){return wi.error("Failed to capture exception event. Dropping this exception.",n),void this.bo.clear()}}catch(n){return void wi.error("Failed to process exception event. Ignoring this exception.",n)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Ne({},e,{$exception_steps:t})}catch(o){return wi.error("Failed to read buffered exception steps. Capturing exception without steps.",o),e}}So(e){this.mo.enabled&&this.bo.add({[qf]:e,[$f]:new Date().toISOString()})}wo(e){return Bo(e)?Ne({},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(((o,a)=>{var{type:n,value:i}=a;return Co(n)&&n.length>0&&o.$exception_types.push(n),Co(i)&&i.length>0&&o.$exception_values.push(i),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var a=o.values.map((n=>{var i,l=Zj[n.operator],c=Bt(n.value)?n.value:[n.value],d=(i=t[n.key])!==null&&i!==void 0?i:[];return c.length>0&&l(c,d)}));return o.type==="OR"?a.some(Boolean):a.every(Boolean)}))}xo(e){return e.flatMap((t=>{var o,a;return(o=(a=t.stacktrace)==null?void 0:a.frames)!==null&&o!==void 0?o:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,o,a,n,i=(t=(o=e[0].stacktrace)==null?void 0:o.frames)!==null&&t!==void 0?t:[],l=i[i.length-1];return(a=l==null||(n=l.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&a!==void 0&&a}return!1}Io(e){return!Et(e)&&Bt(e)}}},Sse=Ne({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({[Ax]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(Ax)||this.ur((()=>this.Ro()))}ur(e){var t,o;(t=tt.__PosthogExtensions__)!=null&&t.generateProductTours?e():(o=tt.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(a=>{a?HO.error("Could not load product tours script",a):e()}))}Ro(){var e;!this.Ao&&(e=tt.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=tt.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!Bt(this.Eo)||t){var o=this.ni;if(o){var a=o.props[rf];if(Bt(a)&&!t)return this.Eo=a,void e(a,{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 i=n.statusCode;if(i!==200||!n.json){var l="Product Tours API could not be loaded, status: "+i;return HO.error(l),void e([],{isLoaded:!1,error:l})}var c=Bt(n.json.product_tours)?n.json.product_tours:[];this.Eo=c,o&&o.register({[rf]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){Et(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(rf)}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)}}},Kv),wse={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 o=this.globalsForEvent(t);this.No.push(o),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return(e=tt._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,o,a,n,i,l,c;if(!e)throw new Error("Event payload is required");var d={},p=this._instance.get_property("$groups")||[],m=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(m))d[h]={id:p[h],type:h,properties:f};var{$set_once:v,$set:b}=e;return{event:Ne({},QF(e,use),{properties:Ne({},e.properties,b?{$set:Ne({},(t=(o=e.properties)==null?void 0:o.$set)!==null&&t!==void 0?t:{},b)}:{},v?{$set_once:Ne({},(a=(n=e.properties)==null?void 0:n.$set_once)!==null&&a!==void 0?a:{},v)}:{}),elements_chain:(i=(l=e.properties)==null?void 0:l.$elements_chain)!==null&&i!==void 0?i:"",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],o=()=>{var l;!t.errored&&this.No.length&&(ms.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))&&((l=this.Fo)==null||l.call(this))},a=!1,n=l=>{t.errored=!l,t.loaded=!0,ms.info("Site app with id "+e.id+" "+(l?"loaded":"errored")),a&&o()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(l){n(l)}});i&&(t.processEvent=i),a=!0}catch(l){ms.error(GO+e.id,l),n(!1)}if(a&&t.loaded)try{o()}catch(l){ms.error("Error while processing buffered events PostHog app with config id "+e.id,l),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 o of e)this.setupSiteApp(o)}Po(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var o of Object.values(this.apps))try{o.processEvent==null||o.processEvent(t)}catch(a){ms.error("Error while processing event "+e.event+" for site app "+o.id,a)}}}onRemoteConfig(e){var t,o,a,n=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void ms.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(a=e.siteApps)!=null&&a.length)if(this.isEnabled){var i=function(d){var p;tt["__$$ph_site_app_"+d]=n._instance,(p=tt.__PosthogExtensions__)==null||p.loadSiteApp==null||p.loadSiteApp(n._instance,c,(m=>{if(m)return ms.error(GO+d,m)}))};for(var{id:l,url:c}of e.siteApps)i(l)}else ms.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},xse={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,o,a=this.Bo()||[];$e(this.Lo)&&((t=tt.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(a,this._instance.get_distinct_id(),this._instance.sessionManager)),$e(this.Do)&&((o=tt.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(a,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,o;(t=tt.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(o=tt.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(a=>{if(a)return cse.error("failed to load script",a);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)}}},Tse=Ne({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(Et(t))return oo.warn("Flags not loaded yet. Not loading surveys.");var o=Bt(t);this.jo=o?t.length>0:t,oo.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var o=localStorage.key(t);(o!=null&&o.startsWith(Yx)||o!=null&&o.startsWith("inProgressSurvey_"))&&e.push(o)}e.forEach((a=>localStorage.removeItem(a)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)oo.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)oo.info(WO);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())oo.info("Not loading surveys in cookieless mode without consent.");else{var e=tt?.__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 o=e.generateSurveys;if(o)return void this.Vo(o,t);var a=e.loadExternalDependency;if(!a)return void this.Ho(Yk);a(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 oo.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new hse(this._instance),oo.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){oo.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 oo.info(WO),e([]);var o,a=this._instance.get_property(Nx);if(a&&!t)return e(a,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((n=>{var{surveys:i,context:l}=n;return e(i,l)})):(typeof Promise<"u"&&(this.Zo=new Promise((n=>{o=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 i;this.Zo=null;var l=n.statusCode;if(l!==200||!n.json){var c="Surveys API could not be loaded, status: "+l;oo.error(c);var d={isLoaded:!1,error:c};return e([],d),void(o==null||o({surveys:[],context:d}))}var p,m=n.json.surveys||[],h=m.filter((v=>(function(b){return!(!b.start_date||b.end_date)})(v)&&((function(b){var S;return!((S=b.conditions)==null||(S=S.events)==null||(S=S.values)==null||!S.length)})(v)||(function(b){var S;return!((S=b.conditions)==null||(S=S.actions)==null||(S=S.values)==null||!S.length)})(v))));h.length>0&&((p=this._surveyEventReceiver)==null||p.register(h)),(i=this._instance.persistence)==null||i.register({[Nx]:m});var f={isLoaded:!0};e(m,f),o?.({surveys:m,context:f})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(o){oo.error("Error in survey callback",o)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Et(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);oo.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((o=>{var a;t=(a=o.find((n=>n.id===e)))!==null&&a!==void 0?a:null})),t}Yo(e){if(Et(this._surveyManager))return{eligible:!1,reason:Bw};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Et(this._surveyManager))return oo.warn("init was not called"),{visible:!1,disabledReason:Bw};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Et(this._surveyManager)?(oo.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:Bw})):new Promise((o=>{this.getSurveys((a=>{var n,i=(n=a.find((c=>c.id===e)))!==null&&n!==void 0?n:null;if(i){var l=this.Yo(i);o({visible:l.eligible,disabledReason:l.reason})}else o({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,o){var a;if(Et(this._surveyManager))oo.warn("init was not called");else{var n=typeof e=="string"?this.Uo(e):e;if(n!=null&&n.id)if(Kie.includes(n.type)){var i=ze?.querySelector(t);if(i)return(a=n.appearance)!=null&&a.surveyPopupDelaySeconds?(oo.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var l,c;oo.info("Rendering survey "+n.id+" with delay of "+((l=n.appearance)==null?void 0:l.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(n,i,o),oo.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,i,o);oo.warn("Survey element not found")}else oo.warn("Surveys of type "+n.type+" cannot be rendered in the app");else oo.warn("Survey not found")}}displaySurvey(e,t){var o;if(Et(this._surveyManager))oo.warn("init was not called");else{var a=this.Uo(e);if(a){var n=a;if((o=a.appearance)!=null&&o.surveyPopupDelaySeconds&&t.ignoreDelay&&(n=Ne({},a,{appearance:Ne({},a.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==$x.Popover&&t.initialResponses&&oo.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(a);if(!i.visible)return void oo.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==$x.Inline?this._surveyManager.handlePopoverSurvey(n,t):this.renderSurvey(n,t.selector,t.properties)}else oo.warn("Survey not found")}}cancelPendingSurvey(e){Et(this._surveyManager)?oo.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Kv),kse={toolbar:class{constructor(e){this.instance=e}Go(e){tt.ph_toolbar_state=e}Wo(){var e;return(e=tt.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,o){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),Dj(this.instance.config)||!ge||!ze)return!1;e=e??ge.location,o=o??ge.history;try{if(!t){try{ge.localStorage.setItem("test","test"),ge.localStorage.removeItem("test")}catch{return!1}t=ge?.localStorage}var a,n=gse||tv(e.hash,"__posthog")||tv(e.hash,"state"),i=n?cO((()=>JSON.parse(atob(decodeURIComponent(n)))))||cO((()=>JSON.parse(decodeURIComponent(n)))):null;return i&&i.action==="ph_authorize"?((a=i).source="url",a&&Object.keys(a).length>0&&(i.desiredHash?e.hash=i.desiredHash:o?o.replaceState(o.state,"",e.pathname+e.search):e.hash="")):((a=JSON.parse(t.getItem(KO)||"{}")).source="localstorage",delete a.userIntent),!(!a.token||this.instance.config.token!==a.token||(this.loadToolbar(a),0))}catch{return!1}}Xo(e){var t=tt.ph_load_toolbar||tt.ph_load_editor;!Et(t)&&Ti(t)?t(e,this.instance):YO.warn("No toolbar load function found")}loadToolbar(e){var t=!(ze==null||!ze.getElementById(Ej));if(!ge||t)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,a=Ne({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(ge.localStorage.setItem(KO,JSON.stringify(Ne({},a,{source:void 0}))),this.Wo()===2)this.Xo(a);else if(this.Wo()===0){var n;this.Go(1),(n=tt.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return YO.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Xo(a)})),Zo(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(a)}))}return!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,o){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),this.maybeLoadToolbar(e,t,o)}}},_se=Ne({experiments:Ma},Kv),Cse={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;Et(t)||(qr(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||Dj(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=tt?.__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 o=e.loadExternalDependency;if(!o)return void this.ra(Yk);o(this._instance,"conversations",(a=>{a||!e.initConversations?this.ra("Could not load conversations script",a):this.ta(e.initConversations),this.Qo=!1}))}catch(a){this.ra("Error initializing conversations",a),this.Qo=!1}}else Hn.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Hn.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Hn.error("Cannot complete initialization: remote config is null")}ra(e,t){Hn.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Hn.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!Ni(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,o){var a=this;return Kn((function*(){return a._conversationsManager?a._conversationsManager.sendMessage(e,t,o):(Hn.warn(hl),null)}))()}getMessages(e,t){var o=this;return Kn((function*(){return o._conversationsManager?o._conversationsManager.getMessages(e,t):(Hn.warn(hl),null)}))()}markAsRead(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Hn.warn(hl),null)}))()}getTickets(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Hn.warn(hl),null)}))()}requestRestoreLink(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Hn.warn(hl),null)}))()}restoreFromToken(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Hn.warn(hl),null)}))()}restoreFromUrlToken(){var e=this;return Kn((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Hn.warn(hl),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()}}},Ese={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=xo("[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,o=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Et(o)&&o&&(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=tt?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(o=>{var a;o||(a=e.logs)==null||!a.initializeLogs?this.Gt.error("Could not load logs script",o):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(Yk)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,o,a,n,i,l;if(this._instance.is_capturing())if(e&&e.body){var c=(t=(o=this._instance.config.logs)==null?void 0:o.flushIntervalMs)!==null&&t!==void 0?t:3e3,d=(a=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&a!==void 0?a:1e3,p=Date.now();if(c>p-this.aa||(this.aa=p,this.oa=0,this.la=!1),d>this.oa){this.oa++;var m=(function(h,f){var v=h.level||"info",{text:b,number:S}=vj[v]||$re,k=String(Date.now())+"000000",x={};f.distinctId&&(x.posthogDistinctId=f.distinctId),f.sessionId&&(x.sessionId=f.sessionId),f.currentUrl&&(x["url.full"]=f.currentUrl),f.screenName&&(x["screen.name"]=f.screenName),f.appState&&(x["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(x.feature_flags=f.activeFeatureFlags);var T=Ne({},x,h.attributes||{}),P={timeUnixNano:k,observedTimeUnixNano:k,severityNumber:S,severityText:b,body:{stringValue:h.body},attributes:iO(T)};return h.trace_id&&(P.traceId=h.trace_id),h.span_id&&(P.spanId=h.span_id),$e(h.trace_flags)||(P.flags=h.trace_flags),P})(e,this.ua());this.sa.push({record:m}),((i=(l=this._instance.config.logs)==null?void 0:l.maxBufferSize)!==null&&i!==void 0?i: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 o=this._instance.config.logs,a=Ne({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),n=(function(l,c,d,p){return{resourceLogs:[{resource:{attributes:iO(c)},scopeLogs:[{scope:{name:d,version:p},logRecords:l}]}]}})(t.map((l=>l.record)),a,Ga.LIB_NAME,Ga.LIB_VERSION),i=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:i,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:o}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=o}if(tt!=null&&(e=tt.location)!=null&&e.href&&(t.currentUrl=tt.location.href),this._instance.featureFlags){var a=this._instance.featureFlags.getFlags();a&&a.length>0&&(t.activeFeatureFlags=a)}return t}}},Pse=Ne({},Kv,vse,bse,yse,Sse,wse,Tse,xse,kse,_se,Cse,Ese);Yn.__defaultExtensionClasses=Ne({},Pse);var XO,Ii=(XO=mp[Zc]=new Yn,(function(){function e(){e.done||(e.done=!0,Xj=!1,vo(mp,(function(t){t._dom_loaded()})))}ze!=null&&ze.addEventListener?ze.readyState==="complete"?e():Zo(ze,"DOMContentLoaded",e,{capture:!1}):ge&&Ue.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),XO);let Ri=!1,eT=null,e2=!1;const o_="studio:lp-distinct-id",l3="mesh:lp-distinct-id",jw="/api/_reports/link-token/",Ase=1440*60*1e3;function c3(e){const t="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(e),a=e.startsWith("//");try{const n=new URL(e,t);let i=!1;for(const l of["key","d"])n.searchParams.has(l)&&(n.searchParams.delete(l),i=!0);return n.pathname.startsWith(jw)&&n.pathname!==jw&&(n.pathname=`${jw}redacted`,i=!0),i?o?n.toString():a?`//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`:e}catch{return e}}function zw(e){return Object.fromEntries(Object.entries(e).map(([t,o])=>[t,typeof o=="string"?c3(o):o]))}const Rse=e=>e?(e.properties=zw(e.properties),e.$set&&(e.$set=zw(e.$set)),e.$set_once&&(e.$set_once=zw(e.$set_once)),e):null;function d3(){try{const e=window.localStorage.getItem(o_)??window.localStorage.getItem(l3);if(!e)return;const{id:t,ts:o}=JSON.parse(e);return typeof t!="string"||!t||typeof o!="number"?void 0:Date.now()-o<=Ase?t:void 0}catch{return}}function Dse(){try{window.localStorage.removeItem(o_),window.localStorage.removeItem(l3)}catch{}}function Ose(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(o_,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const o=t??d3();return o?Object.keys(window.localStorage).some(n=>n.startsWith("ph_")&&n.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function Mse(e){const t=d3();if(t&&(Dse(),t!==e))try{Ii.alias(t)}catch{}}function Nse(e,t){if(Ri||typeof window>"u")return;const o=Ose();Ii.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...o?{bootstrap:{distinctID:o}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:Rse,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:a=>({...a,...typeof a.name=="string"?{name:c3(a.name)}:{}})},person_profiles:"identified_only"}),Ri=!0}function Ise(e,t){Ri&&(Ii.identify(e,t),Mse(e))}function Lse(){Ri&&(Ii.reset(),eT=null)}function u3(e,t){Ri&&Ii.capture(e,t)}function Rbe(){return Ri}function Dbe(){if(!Ri||e2||typeof performance>"u")return;e2=!0;const e=performance.getEntriesByType("navigation")[0],t=o=>{const a=performance.getEntriesByName(o,"measure")[0];return a?Math.round(a.duration):void 0};u3("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:aZ(),org_cache_restored:nZ()})}function Obe(e,t){Ri&&e!==eT&&(Ii.group("organization",e,t),eT=e)}function p3(e,t){if(Ri)try{Ii.captureException(e,t)}catch{}}const Bse=["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 Fse(e){const t=Ce.c(3),{children:o}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=w.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Bse}}),t[0]=a):a=t[0];let n;return t[1]!==o?(n=w.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[a,w.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:o})]}),t[1]=o,t[2]=n):n=t[2],n}function m3(e){const t=Ce.c(20),{orgName:o}=e,a=ar(),n=jse;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=w.jsx("div",{className:"bg-muted p-3 rounded-full","aria-hidden":"true",children:w.jsx(RF,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=i):i=t[0];let l;t[1]!==a?(l=a("common.archivedOrgScreen.orgUnavailable"),t[1]=a,t[2]=l):l=t[2];let c;t[3]!==l?(c=w.jsx("h3",{className:"text-lg font-medium",children:l}),t[3]=l,t[4]=c):c=t[4];let d;t[5]!==o||t[6]!==a?(d=o?a("common.archivedOrgScreen.deletedWithName",{orgName:o}):a("common.archivedOrgScreen.deletedGeneric"),t[5]=o,t[6]=a,t[7]=d):d=t[7];let p;t[8]!==d?(p=w.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=p):p=t[9];let m;t[10]!==c||t[11]!==p?(m=w.jsxs("div",{className:"space-y-2",children:[c,p]}),t[10]=c,t[11]=p,t[12]=m):m=t[12];let h;t[13]!==a?(h=a("common.goHome"),t[13]=a,t[14]=h):h=t[14];let f;t[15]!==h?(f=w.jsx(Ai,{onClick:n,children:h}),t[15]=h,t[16]=f):f=t[16];let v;return t[17]!==m||t[18]!==f?(v=w.jsxs(Fse,{children:[i,m,f]}),t[17]=m,t[18]=f,t[19]=v):v=t[19],v}function jse(){window.location.href="/"}function zse(){const e=Ce.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:o}=qp(t);let a;return e[1]!==o?(a=w.jsx(Ai,{variant:"outline",size:"sm",asChild:!0,children:w.jsx(Il,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),e[1]=o,e[2]=a):a=e[2],a}function Use(e){const t=Ce.c(13),{area:o,description:a,action:n}=e,i=o?`No access to ${o}`:"No access",l=a??"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=w.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:w.jsx(jF,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==i?(d=w.jsx("h3",{className:"text-lg font-medium",children:i}),t[1]=i,t[2]=d):d=t[2];let p;t[3]!==l?(p=w.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=p):p=t[4];let m;t[5]!==d||t[6]!==p?(m=w.jsxs("div",{className:"space-y-1",children:[d,p]}),t[5]=d,t[6]=p,t[7]=m):m=t[7];let h;t[8]!==n?(h=n??w.jsx(zse,{}),t[8]=n,t[9]=h):h=t[9];let f;return t[10]!==m||t[11]!==h?(f=w.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 t2="__studio_chunk_reload_ts";function h3(e){return e?.message===OQ}function qse(e){return!!e?.message?.includes("Access denied")}function o2(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 $se extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o),p3(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:o.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:o}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:h3(this.state.error)?w.jsx(m3,{}):qse(this.state.error)?w.jsx(Use,{}):w.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:w.jsx(jk,{className:"h-6 w-6 text-destructive"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),w.jsx(Ai,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function Vse(e){const t=Ce.c(3),o=ar();let a;return t[0]!==e||t[1]!==o?(a=w.jsx($se,{...e,t:o}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}class Hse extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o);const a=o2(t);if(p3(t,{boundary:"chunk_root",is_chunk_load_error:a,error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!a)return;const n=sessionStorage.getItem(t2),i=Date.now();(!n||i-Number(n)>1e4)&&(sessionStorage.setItem(t2,String(i)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&o2(this.state.error)?w.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:w.jsx(zF,{className:"h-6 w-6 text-primary"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),w.jsx(Ai,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?h3(this.state.error)?w.jsx(m3,{}):w.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:w.jsx(jk,{className:"h-6 w-6 text-destructive"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),w.jsx(Ai,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function Gse(e){const t=Ce.c(3),o=ar();let a;return t[0]!==e||t[1]!==o?(a=w.jsx(Hse,{...e,t:o}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}const Wse=Jp("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 Kse(e){const t=Ce.c(14);let o,a,n,i,l;t[0]!==e?({className:o,size:i,interactive:a,asChild:l,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i,t[5]=l):(o=t[1],a=t[2],n=t[3],i=t[4],l=t[5]);const d=(l===void 0?!1:l)?Iv:"div";let p;t[6]!==o||t[7]!==a||t[8]!==i?(p=ut(Wse({size:i,interactive:a}),o),t[6]=o,t[7]=a,t[8]=i,t[9]=p):p=t[9];let m;return t[10]!==d||t[11]!==n||t[12]!==p?(m=w.jsx(d,{"data-slot":"card",className:p,...n}),t[10]=d,t[11]=n,t[12]=p,t[13]=m):m=t[13],m}function Mbe(e){const t=Ce.c(11),{title:o,description:a,docsHref:n,actions:i,className:l,children:c}=e;let d;t[0]!==l?(d=ut("flex flex-col gap-3",l),t[0]=l,t[1]=d):d=t[1];let p;t[2]!==i||t[3]!==a||t[4]!==n||t[5]!==o?(p=(o||a||n||i)&&w.jsxs("div",{className:"flex items-center justify-between gap-3 px-4",children:[w.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[o&&w.jsx("h2",{className:"text-base font-medium leading-tight",children:o}),(a||n)&&w.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[a,n&&w.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",w.jsx(DF,{size:12})]})]})]}),i&&w.jsx("div",{className:"shrink-0",children:i})]}),t[2]=i,t[3]=a,t[4]=n,t[5]=o,t[6]=p):p=t[6];let m;return t[7]!==c||t[8]!==d||t[9]!==p?(m=w.jsxs("section",{className:d,children:[p,c]}),t[7]=c,t[8]=d,t[9]=p,t[10]=m):m=t[10],m}function Nbe(e){const t=Ce.c(11),{className:o,children:a}=e;let n,i,l;if(t[0]!==a||t[1]!==o){const d=A.Children.toArray(a).filter(A.isValidElement);n=Kse,t[5]!==o?(i=ut("p-0 gap-0 overflow-hidden",o),t[5]=o,t[6]=i):i=t[6],l=d.map(Yse),t[0]=a,t[1]=o,t[2]=n,t[3]=i,t[4]=l}else n=t[2],i=t[3],l=t[4];let c;return t[7]!==n||t[8]!==i||t[9]!==l?(c=w.jsx(n,{className:i,children:l}),t[7]=n,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}function Yse(e,t){return w.jsxs("div",{children:[t>0&&w.jsx("div",{className:"h-px bg-border mx-5"}),e]},t)}function Ibe(e){const t=Ce.c(27),{icon:o,title:a,description:n,action:i,onClick:l,className:c,children:d}=e,p=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",m=l&&"hover:bg-accent cursor-pointer";let h;t[0]!==c||t[1]!==p||t[2]!==m?(h=ut(p,m,c),t[0]=c,t[1]=p,t[2]=m,t[3]=h):h=t[3];const f=l?"button":void 0,v=l?0:void 0;let b;t[4]!==l?(b=l?E=>{E.target===E.currentTarget&&(E.key==="Enter"||E.key===" ")&&(E.preventDefault(),l())}:void 0,t[4]=l,t[5]=b):b=t[5];let S;t[6]!==o?(S=o&&w.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:o}),t[6]=o,t[7]=S):S=t[7];let k;t[8]!==a?(k=w.jsx("div",{className:"text-sm font-medium",children:a}),t[8]=a,t[9]=k):k=t[9];let x;t[10]!==n?(x=n&&w.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:n}),t[10]=n,t[11]=x):x=t[11];let T;t[12]!==d||t[13]!==k||t[14]!==x?(T=w.jsxs("div",{className:"flex-1 min-w-0",children:[k,x,d]}),t[12]=d,t[13]=k,t[14]=x,t[15]=T):T=t[15];let P;t[16]!==i?(P=i&&w.jsx("div",{className:"shrink-0",onClick:Zse,children:i}),t[16]=i,t[17]=P):P=t[17];let C;return t[18]!==l||t[19]!==T||t[20]!==P||t[21]!==h||t[22]!==f||t[23]!==v||t[24]!==b||t[25]!==S?(C=w.jsxs("div",{className:h,onClick:l,role:f,tabIndex:v,onKeyDown:b,children:[S,T,P]}),t[18]=l,t[19]=T,t[20]=P,t[21]=h,t[22]=f,t[23]=v,t[24]=b,t[25]=S,t[26]=C):C=t[26],C}function Zse(e){return e.stopPropagation()}function Lbe(e){const t=Ce.c(5),{className:o,children:a}=e;let n;t[0]!==o?(n=ut("px-4 py-4",o),t[0]=o,t[1]=n):n=t[1];let i;return t[2]!==a||t[3]!==n?(i=w.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=i):i=t[4],i}function Bbe(e){const t=Ce.c(5),{children:o,className:a}=e;let n;t[0]!==a?(n=ut("flex items-center justify-end gap-2 px-4 py-4",a),t[0]=a,t[1]=n):n=t[1];let i;return t[2]!==o||t[3]!==n?(i=w.jsx("div",{className:n,children:o}),t[2]=o,t[3]=n,t[4]=i):i=t[4],i}function Qse(e){const t=Ce.c(5),{className:o,children:a}=e;let n;t[0]!==o?(n=ut("flex flex-col gap-10",o),t[0]=o,t[1]=n):n=t[1];let i;return t[2]!==a||t[3]!==n?(i=w.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=i):i=t[4],i}const Yv={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[],ownedRoutes:["/$org/settings/api-keys"]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",icon:$F,labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",icon:qF,labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",icon:NF,labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",icon:UF,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:BF,labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",icon:LF,labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function Fbe(e){const t=Yv[e];return[...t.tabs.map(o=>o.to),...t.ownedRoutes??[]]}function jbe(e){return Yv[e].tabs.length>0}const Jse=new Set(["owner","admin"]);function g3(){const e=Ce.c(11),{org:t,locator:o}=Qp();let a;e[0]!==o?(a=hn.myCapabilities(o),e[0]=o,e[1]=a):a=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 i;e[4]!==a||e[5]!==n?(i={queryKey:a,queryFn:n,staleTime:3e4,retry:2},e[4]=a,e[5]=n,e[6]=i):i=e[6];const{data:l,isLoading:c,isError:d}=Dd(i);let p;return e[7]!==l||e[8]!==d||e[9]!==c?(p={data:l,loading:c,error:d},e[7]=l,e[8]=d,e[9]=c,e[10]=p):p=e[10],p}function zbe(e){const t=Ce.c(8),{data:o,loading:a,error:n}=g3();if(a){let p;return t[0]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!0,error:!1,reason:"loading"},t[0]=p):p=t[0],p}if(n){let p;return t[1]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!1,error:!0,reason:"error"},t[1]=p):p=t[1],p}const i=o?.role??null;if(!i){let p;return t[2]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!1,error:!1,reason:"denied"},t[2]=p):p=t[2],p}if(i==="owner"){let p;return t[3]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!0,loading:!1,error:!1,reason:"owner"},t[3]=p):p=t[3],p}if(i==="admin"){let p;return t[4]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!0,loading:!1,error:!1,reason:"admin"},t[4]=p):p=t[4],p}const l=o?.capabilities?.[e]===!0,c=l?"role":"denied";let d;return t[5]!==l||t[6]!==c?(d={granted:l,loading:!1,error:!1,reason:c},t[5]=l,t[6]=c,t[7]=d):d=t[7],d}function f3(){const e=Ce.c(10),{data:t,loading:o,error:a}=g3(),n=t?.role??void 0;let i;e[0]!==n?(i=n?Jse.has(n):!1,e[0]=n,e[1]=i):i=e[1];const l=i;let c;e[2]!==t?.capabilities?(c=t?.capabilities??{},e[2]=t?.capabilities,e[3]=c):c=e[3];const d=c;let p;return e[4]!==a||e[5]!==l||e[6]!==o||e[7]!==n||e[8]!==d?(p={capabilities:d,loading:o,error:a,isPrivileged:l,roleSlug:n},e[4]=a,e[5]=l,e[6]=o,e[7]=n,e[8]=d,e[9]=p):p=e[9],p}function Xse(){const e=Ce.c(13),{org:t}=Qp(),o=ck(),{capabilities:a,isPrivileged:n}=f3(),i=n||!!a["members:manage"];let l;e[0]!==t.id?(l=hn.infraBillingSites(t.id),e[0]=t.id,e[1]=l):l=e[1];const c=!!t.id&&i;let d;e[2]!==o?(d=()=>o.call("INFRA_BILLING_SITES_LIST",{}),e[2]=o,e[3]=d):d=e[3];let p;e[4]!==l||e[5]!==c||e[6]!==d?(p={queryKey:l,staleTime:3e5,enabled:c,queryFn:d},e[4]=l,e[5]=c,e[6]=d,e[7]=p):p=e[7];const{data:m,isLoading:h}=Dd(p);let f;e[8]!==m?.sites?(f=m?.sites.map(ele)??[],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 ele(e){return e.slug}function Ube(){const e=Ce.c(7),t=ck(),o=ar();let a;e[0]!==t?(a=l=>t.call("INFRA_BILLING_PORTAL",{siteSlugs:l}),e[0]=t,e[1]=a):a=e[1];let n;e[2]!==o?(n=l=>yd.error(o("settings.infraBilling.portalError",{message:l.message})),e[2]=o,e[3]=n):n=e[3];let i;return e[4]!==a||e[5]!==n?(i={mutationFn:a,onSuccess:tle,onError:n},e[4]=a,e[5]=n,e[6]=i):i=e[6],Qg(i)}function tle(e){const{url:t}=e;return window.open(t,"_blank","noopener,noreferrer")}function qbe(e,t){const o=Ce.c(14),{org:a}=Qp(),n=ck();let i,l,c;o[0]!==a.id||o[1]!==t||o[2]!==e?(i=[...e].sort(),c=Dd,l=hn.infraBilling(a.id,i.join(","),t),o[0]=a.id,o[1]=t,o[2]=e,o[3]=i,o[4]=l,o[5]=c):(i=o[3],l=o[4],c=o[5]);const d=i.length>0;let p;o[6]!==t||o[7]!==i||o[8]!==n?(p=()=>n.call("INFRA_BILLING_GET",{siteSlugs:i,period:t}),o[6]=t,o[7]=i,o[8]=n,o[9]=p):p=o[9];let m;return o[10]!==l||o[11]!==d||o[12]!==p?(m={queryKey:l,enabled:d,staleTime:6e4,queryFn:p},o[10]=l,o[11]=d,o[12]=p,o[13]=m):m=o[13],c(m)}function ole(){const e=Ce.c(7),{capabilities:t,isPrivileged:o,loading:a,error:n}=f3(),{sites:i,isLoading:l}=Xse(),c=i.length>0;let d;if(e[0]!==t||e[1]!==n||e[2]!==o||e[3]!==a||e[4]!==c||e[5]!==l){const p=m=>m.requiresOwnedSites&&!c&&!l?!1:a||n?!0:m.privilegedOnly?o:m.requires?o||t[m.requires]:!0;d=Object.fromEntries(Object.values(Yv).map(m=>[m.key,m.tabs.filter(p)])),e[0]=t,e[1]=n,e[2]=o,e[3]=a,e[4]=c,e[5]=l,e[6]=d}else d=e[6];return d}function ale(e){const t=Ce.c(16),{group:o}=e,a=ar();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},t[0]=n):n=t[0];const{org:i}=qp(n);let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l={select:nle},t[1]=l):l=t[1];const c=NT(l),d=ole()[o],{titleKey:p}=Yv[o];let m;t[2]!==a||t[3]!==p?(m=a(p),t[2]=a,t[3]=p,t[4]=m):m=t[4];let h;t[5]!==m?(h=w.jsx(ld.Title,{children:m}),t[5]=m,t[6]=h):h=t[6];let f;t[7]!==o||t[8]!==i||t[9]!==c||t[10]!==a||t[11]!==d?(f=d.length>1&&w.jsx(ln.Toolbar.Left.Portal,{children:w.jsx(ld.Tabs,{"data-testid":"settings-subnav","aria-label":a("settings.subnav.ariaLabel"),children:d.map(b=>{const S=b.to.replace("$org",i),k=c===S||c.startsWith(`${S}/`);return w.jsx(ld.Tab,{active:k,asChild:!0,children:w.jsx(Il,{to:b.to,params:{org:i},onClick:()=>u3("settings_subnav_clicked",{group_key:o,tab_key:b.key}),children:a(b.labelKey)})},b.key)})})}),t[7]=o,t[8]=i,t[9]=c,t[10]=a,t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==h||t[14]!==f?(v=w.jsxs(w.Fragment,{children:[h,f]}),t[13]=h,t[14]=f,t[15]=v):v=t[15],v}function nle(e){return e.location.pathname}function v3(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=w.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[w.jsx(kD,{className:"h-32 w-full"}),w.jsx(kD,{className:"h-32 w-full"})]}),e[0]=t):t=e[0],t}function rle(e){const t=Ce.c(14),{group:o,fallback:a,errorFallback:n,className:i,children:l}=e;let c;t[0]!==o?(c=w.jsx(ale,{group:o}),t[0]=o,t[1]=c):c=t[1];let d;t[2]!==a?(d=a??w.jsx(v3,{}),t[2]=a,t[3]=d):d=t[3];let p;t[4]!==l||t[5]!==d?(p=w.jsx(A.Suspense,{fallback:d,children:l}),t[4]=l,t[5]=d,t[6]=p):p=t[6];let m;t[7]!==n||t[8]!==p?(m=w.jsx(Vse,{fallback:n,children:p}),t[7]=n,t[8]=p,t[9]=m):m=t[9];let h;return t[10]!==i||t[11]!==c||t[12]!==m?(h=w.jsx(ld,{children:w.jsx(ld.Content,{children:w.jsx(ld.Container,{children:w.jsxs(Qse,{className:i,children:[c,m]})})})}),t[10]=i,t[11]=c,t[12]=m,t[13]=h):h=t[13],h}function Li(e){return function(){return w.jsx(rle,{group:e,children:w.jsx(v3,{})})}}function ile(e,t){const o=e&&t?eZ(t,e):null;return{queryKey:hn.activeOrganization(e),queryFn:async()=>{if(!e)return null;const a={organizationSlug:e};performance.mark("mesh:active-org-fetch:start");const{data:n}=await js.organization.getFullOrganization({query:a}).finally(()=>{performance.mark("mesh:active-org-fetch:end"),performance.measure("mesh:active-org-fetch","mesh:active-org-fetch:start","mesh:active-org-fetch:end")}),i=mL(n);return n&&!i&&localStorage.setItem(zs.lastOrgSlug(),e),t&&n&&tZ(t,e,n),n},initialData:o?o.data:void 0,initialDataUpdatedAt:o?.updatedAt,gcTime:1/0,refetchOnWindowFocus:!1}}async function sle(e){await gL();const t=IQ();t&&await Nd.ensureQueryData(ile(e,t)).catch(()=>{})}function lle(e){try{localStorage.setItem(zs.lastLocation(),JSON.stringify(e))}catch{}}function cle(){try{const e=localStorage.getItem(zs.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org}}catch{}return null}function $be(){try{localStorage.removeItem(zs.lastLocation())}catch{}}const ft={home:"/$org/home",projects:"/$org/projects/$agentId",tasks:"/$org/tasks/{-$taskKey}",reports:"/$org/reports",library:"/$org/library",threadAnalytics:"/$org/thread-analytics",discover:"/$org/discover",plan:"/$org/plan",monitoring:"/$org/monitoring",orgIndex:"/$org/"},et={root:ft.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",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",analytics:"/$org/projects/$agentId/analytics",experiments:"/$org/projects/$agentId/experiments",calendar:"/$org/projects/$agentId/calendar",monitor:"/$org/projects/$agentId/cdn",plan:"/$org/projects/$agentId/plan",monitoring:"/$org/projects/$agentId/monitoring"};function Vbe(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:dle},e[0]=t):t=e[0],NT(t)}function dle(e){return e.matches.at(-1)?.fullPath??""}const ule=new Map([[ft.reports,"project-only"],[ft.library,"org-only"],[ft.threadAnalytics,"org-only"]]);function Hbe(e,t){const o=ule.get(e);return o===void 0?!0:o==="project-only"?t!==null:t===null}function Gbe(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:ple},e[0]=t):t=e[0],NT(t)}function ple(e){return e.matches.findLast(mle)?.staticData.mainView}function mle(e){return e.staticData.mainView}function cf(e){return`agent-view:${encodeURIComponent(e)}`}function hle(e){if(!e?.startsWith("agent-view:"))return null;const t=e.slice(11);if(!t)return null;try{const o=decodeURIComponent(t);return o?{id:o}:null}catch{return null}}function b3(e){if(!e||!e.startsWith("automation:"))return null;const t=e.slice(11);return t?{id:t}:null}function a_(e,t){return`app:${e}:${t}`}function gle(e){if(!e||!e.startsWith("app:"))return null;const t=e.slice(4),o=t.indexOf(":");if(o<=0)return null;const a=t.slice(0,o),n=t.slice(o+1);return!a||!n?null:{connectionId:a,toolName:n}}function y3(e){return`deck:${encodeURIComponent(e)}`}function fle(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 S3(e){return`file:${encodeURIComponent(e)}`}function vle(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 w3(e){return`library-file:${encodeURIComponent(e)}`}function ble(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 x3(e){return`code:${encodeURIComponent(e)}`}function yle(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 T3=["overview","settings","automations","site-editor","code","content","assets","hosting","e2e","analytics","cdn"],Sle=new Set(T3),k3=new Set(["hosting","e2e","analytics","cdn"]),wle=new Set(["board","files","connect-sources","reports"]);function Wbe(e){return e.startsWith("app:")||e.startsWith("automation:")||e.startsWith("file:")||e.startsWith("deck:")||e.startsWith("library-file:")||e.startsWith("code:")}const xle=new Map([["preview","site-editor"],["git","site-editor"]]);function Zv(e){return xle.get(e)??e}const n_=new Set(["instructions","connections","layout","settings"]);function Tle(e){return!!e&&n_.has(e)}const kle=new Set(["overview","board","reports"]);function Kbe(e){const t=e?.defaultMainView??null;if(!(!t||t.type==="chat"))return _3(e??null)}function _3(e){const t=e?.defaultMainView??null;if(!t)return"settings";const o=Zv(t.type);if(n_.has(o))return"settings";if(Sle.has(o)||kle.has(o))return o;if(o==="ext-app"||o==="ext-apps"){if(t.id&&t.toolName)return a_(t.id,t.toolName);const n=e?.tabs?.map(i=>i.id)??[];return t.id&&n.includes(t.id)?cf(t.id):n[0]?cf(n[0]):"settings"}const a=e?.tabs?.[0]?.id;return a?cf(a):"settings"}function Ybe(e){const t=e.routeDefaultMain||_3(e.metadata),o=e.panelTabId&&n_.has(e.panelTabId)?"settings":e.panelTabId?Zv(e.panelTabId):e.panelTabId,a=e.metadata?.defaultMainView??null,n=a==null||a.type==="chat";return{mainOpen:e.mainPanelParam??(!!o||!!e.routeDefaultMain||!n),activeTab:o??t}}function Zbe(e){return e.mainOpen&&e.clickedId===e.activeTab?{close:!0}:{tabId:e.clickedId}}function Qbe(e){return e.mainOpen?e.activeTab==="automations"?!0:b3(e.activeTab)!==null:!1}const _le=new Set([...T3.filter(e=>!k3.has(e)),...wle,"app","file","deck","library-file","connect-sources","instructions","connections","layout","preview","discover"]);function Cle(e){return!!e&&_le.has(e)}function Ele(e,t){if(e)switch(e){case"app":return t.connection&&t.tool?a_(t.connection,t.tool):void 0;case"automations":return t.automation?`automation:${t.automation}`:"automations";case"file":return t.key?S3(t.key):void 0;case"deck":return t.deck?y3(t.deck):void 0;case"library-file":return t.path?w3(t.path):void 0;case"code":return t.file?x3(t.file):"code";default:{const o=Zv(e);return o==="site-editor"&&t.main==="content"?"content":o}}}function Jbe(e){const t=e.params??{},o=e.search??{};if(e.siteEditorView==="content")return"content";if(e.siteEditorView==="code")return o.file?x3(o.file):"code";if(e.siteEditorView==="preview")return"site-editor";switch(e.mainView){case"automation":return t.automationId?`automation:${t.automationId}`:"automations";case"app":return t.connectionId&&t.toolName?a_(t.connectionId,t.toolName):void 0;case"view":return t.viewId?cf(t.viewId):void 0;case"file":return o.key?S3(o.key):void 0;case"deck":return o.path?y3(o.path):void 0;case"library-file":return o.path?w3(o.path):void 0;default:return e.mainView}}const Ple={files:"library",discover:"discover"},Ale={board:"tasks",reports:"reports",plan:"plan",monitoring:"monitoring"},Rle={settings:"settings",assets:"assets",releases:"releases",hosting:"hosting",e2e:"e2e",analytics:"analytics",experiments:"experiments",calendar:"calendar",cdn:"monitor"};function C3(e){const t=hle(e);if(t)return{kind:"agent-view",viewId:t.id};const o=gle(e);if(o)return{kind:"app",connectionId:o.connectionId,toolName:o.toolName};const a=b3(e);if(a)return{kind:"automations",automationId:a.id};const n=vle(e);if(n)return{kind:"output-file",key:n.key};const i=fle(e);if(i)return{kind:"output-deck",path:i.path};const l=ble(e);if(l)return{kind:"library-file",path:l.path};const c=yle(e);if(c)return{kind:"site-editor",view:"code",...c.path?{file:c.path}:{}};if(Tle(e))return{kind:"agent-section",section:"settings"};const d=Zv(e);if(d==="overview")return{kind:"agent-overview"};if(d==="site-editor")return{kind:"site-editor",view:"preview"};if(d==="content")return{kind:"site-editor",view:"content"};if(d==="automations")return{kind:"automations"};if(d==="connect-sources")return{kind:"connect-sources"};const p=Ale[d];if(p)return{kind:"project-destination",destination:p};const m=Ple[d];if(m)return{kind:"org-destination",destination:m};const h=Rle[d];return h?{kind:"agent-section",section:h}:{kind:"agent-view",viewId:d}}function Ol(e){const{org:t,agentId:o}=e,a={org:t,agentId:o},n=C3(e.tabId);switch(n.kind){case"project-destination":{const i=e.destinationScope==="organization";switch(n.destination){case"tasks":return i?{to:ft.tasks,params:{org:t,taskKey:e.taskKey},search:{}}:{to:et.tasks,params:{...a,taskKey:e.taskKey},search:{}};case"reports":return i?{to:ft.reports,params:{org:t},search:{}}:{to:et.reports,params:a,search:{}};case"plan":return i?{to:ft.plan,params:{org:t},search:{}}:{to:et.plan,params:a,search:{}};case"monitoring":return i?{to:ft.monitoring,params:{org:t},search:{}}:{to:et.monitoring,params:a,search:{}}}}case"org-destination":switch(n.destination){case"home":return{to:ft.home,params:{org:t},search:{}};case"discover":return{to:ft.discover,params:{org:t},search:{}};case"library":return{to:ft.library,params:{org:t},search:{}}}case"agent-overview":return{to:et.root,params:a,search:{}};case"site-editor":return n.view==="content"?{to:et.siteEditorContent,params:a,search:{}}:n.view==="code"?{to:et.siteEditorCode,params:a,search:{file:n.file}}:{to:et.siteEditor,params:a,search:{}};case"agent-section":return{to:et[n.section],params:a,search:{}};case"automations":return n.automationId?{to:et.automation,params:{...a,automationId:n.automationId},search:{}}:{to:et.automations,params:a,search:{}};case"app":return{to:et.app,params:{...a,connectionId:n.connectionId,toolName:n.toolName},search:{}};case"agent-view":return{to:et.view,params:{...a,viewId:n.viewId},search:{}};case"output-file":return{to:et.outputFile,params:a,search:{key:n.key}};case"output-deck":return{to:et.outputDeck,params:a,search:{path:n.path}};case"library-file":return{to:et.libraryFile,params:a,search:{path:n.path}};case"connect-sources":return{to:et.connectSources,params:a,search:{}}}}function Xbe(e){if(!e.agentId||e.agentId===e.superAgentId&&(e.tabId===void 0||e.tabId==="overview"))return{to:ft.home,params:{org:e.org},search:{}};const t=e.tabId??"overview",o=e.agentId!==e.superAgentId&&C3(t).kind==="org-destination"?"overview":t;return Ol({org:e.org,agentId:e.agentId,tabId:o,destinationScope:e.agentId===e.superAgentId?"organization":"project"})}function Dle(e,t,o={}){const a=i=>({...o.search?.(i)??{},...t.search}),n=o.replace??!0;switch(t.to){case ft.tasks:e({to:ft.tasks,params:t.params,search:a,replace:n});return;case ft.home:e({to:ft.home,params:t.params,search:a,replace:n});return;case ft.reports:e({to:ft.reports,params:t.params,search:a,replace:n});return;case ft.discover:e({to:ft.discover,params:t.params,search:a,replace:n});return;case ft.plan:e({to:ft.plan,params:t.params,search:a,replace:n});return;case ft.monitoring:e({to:ft.monitoring,params:t.params,search:a,replace:n});return;case ft.library:e({to:ft.library,params:t.params,search:a,replace:n});return;case et.root:e({to:et.root,params:t.params,search:a,replace:n});return;case et.tasks:e({to:et.tasks,params:t.params,search:a,replace:n});return;case et.reports:e({to:et.reports,params:t.params,search:a,replace:n});return;case et.plan:e({to:et.plan,params:t.params,search:a,replace:n});return;case et.monitoring:e({to:et.monitoring,params:t.params,search:a,replace:n});return;case et.siteEditor:e({to:et.siteEditor,params:t.params,search:a,replace:n});return;case et.siteEditorContent:e({to:et.siteEditorContent,params:t.params,search:a,replace:n});return;case et.siteEditorCode:e({to:et.siteEditorCode,params:t.params,search:a,replace:n});return;case et.automations:e({to:et.automations,params:t.params,search:a,replace:n});return;case et.automation:e({to:et.automation,params:t.params,search:a,replace:n});return;case et.app:e({to:et.app,params:t.params,search:a,replace:n});return;case et.view:e({to:et.view,params:t.params,search:a,replace:n});return;case et.outputFile:e({to:et.outputFile,params:t.params,search:a,replace:n});return;case et.outputDeck:e({to:et.outputDeck,params:t.params,search:a,replace:n});return;case et.libraryFile:e({to:et.libraryFile,params:t.params,search:a,replace:n});return;case et.connectSources:e({to:et.connectSources,params:t.params,search:a,replace:n});return;case et.settings:case et.assets:case et.releases:case et.hosting:case et.e2e:case et.analytics:case et.experiments:case et.calendar:case et.monitor:e({to:t.to,params:t.params,search:a,replace:n})}}function eye(e,t){Dle(e,Ol(t),t)}function Ole(e){const t=/^(\/[^/]+)\/agents(?=\/|$)/.exec(e);return t?.[1]?`${t[1]}/projects${e.slice(t[0].length)}`:null}function Mle(e){const t=e.split("/").filter(Boolean);return(t[1]==="projects"||t[1]==="agents")&&t.length>3}const Nle=new Set(["main","virtualmcpid","file","key","deck","path","connection","tool","automation"]),E3=new Set(["main"]),Ile=new Set(["virtualmcpid"]);function Qv(e,t){return Object.fromEntries(Object.entries(e).filter(([o])=>!t.has(o)))}function Pl(e,t){return{...Qv(e,Nle),...t.search}}function Lle(e){return Qv(e,Ile)}function tye(e){if(e.search.virtualmcpid===void 0)return null;const t=br(e.search.virtualmcpid);if(t){const o=e.routePath===ft.tasks?"board":e.routePath===ft.reports?"reports":null;if(e.routePath===ft.home||o){const a=o?Ol({org:e.org,agentId:t,tabId:o}):Pd(e.org,t);return{kind:"canonical",route:a,search:Pl(e.search,a)}}}return e.routePath===ft.home||e.routePath===ft.tasks||e.routePath===ft.reports||e.routePath===ft.library?{kind:"same-route",search:Lle(e.search)}:null}function br(e){return e?.trim()||void 0}function P3(e){return Cle(e)||e!==void 0&&k3.has(e)}function A3(e){const t=br(e);return t?t.startsWith("vir_")&&t.length>4||MI(t)!==null||RW(t)!==null||DW(t)!==null||II(t)||LI(t):!1}function Ble(e){const t=br(e.agentIdParam),o=P3(t);return t&&!o?t:br(e.virtualMcpIdSearch)??br(e.fallbackAgentId)}function oye(e){const t=e.pathAgentId;if(t&&e.pathLegacyView){const l=tT({org:e.org,agentId:t,panel:e.pathLegacyView,source:"project-first",search:e.search});return l?.kind==="canonical"?{route:l.route,search:l.search}:null}if(!t||Mle(e.pathname))return null;const o=e.search.virtualmcpid!==void 0&&!A3(t);if(!(P3(t)||o))return null;const n=Ble({agentIdParam:o?void 0:t,virtualMcpIdSearch:e.search.virtualmcpid,fallbackAgentId:e.fallbackAgentId}),i=tT({org:e.org,agentId:n,panel:t,source:"view-first",search:e.search});return i?.kind==="canonical"?{route:i.route,search:i.search}:null}function Fle(e,t,o,a){const n=br(a);switch(e){case"board":return n?Ol({org:t,agentId:n,tabId:"board"}):{to:ft.tasks,params:{org:t,taskKey:void 0},search:{}};case"files":{const i=bs(o.path);return{to:ft.library,params:{org:t},search:i?{path:i}:{}}}case"reports":return n?Ol({org:t,agentId:n,tabId:"reports"}):{to:ft.reports,params:{org:t},search:{}};case"overview":return{to:ft.home,params:{org:t},search:{}};case"discover":return{to:ft.discover,params:{org:t},search:{}};default:return null}}function Bp(e){const t=Fle(e.tabId,e.org,e.search,e.agentId);if(t)return t;if(e.tabId==="chat")return Pd(e.org,e.agentId);const o=br(e.agentId);return o?e.tabId==="app"||e.tabId==="file"||e.tabId==="deck"||e.tabId==="library-file"||e.tabId.trim()===""?{to:et.root,params:{org:e.org,agentId:o},search:{}}:Ol({org:e.org,agentId:o,tabId:e.tabId}):null}function Pd(e,t){const o=br(t);return o?{to:et.root,params:{org:e,agentId:o},search:{}}:{to:ft.home,params:{org:e},search:{}}}function jle(e){const{main:t}=e;if(t===void 0)return null;const o=e.search??{};if(t===0||t==="0")return{kind:"same-route",search:{...Qv(o,E3),mainpanel:!1}};if(t==="chat"){const n=Pd(e.org,e.agentId);return{kind:"canonical",route:n,search:{...Pl(o,n),sidepanel:!0,mainpanel:!1}}}const a=Bp({org:e.org,agentId:e.agentId,tabId:t,search:o});return a?{kind:"canonical",route:a,search:Pl(o,a)}:null}function bs(e){return typeof e=="string"&&e.length>0?e:void 0}function tT(e){const t=e.search??{};if((t.main===0||t.main==="0")&&e.panel){const l=tT({...e,search:Qv(t,E3)});return l?.kind!=="canonical"?l:{...l,search:{...l.search,mainpanel:!1}}}if(t.main!==void 0)return jle({org:e.org,agentId:e.agentId,main:t.main,search:t});const o=br(e.agentId),a=e.panel;if(!a){const l=Pd(e.org,o);return{kind:"canonical",route:l,search:Pl(t,l)}}const n=Ele(a,{file:bs(t.file),key:bs(t.key),deck:bs(t.deck),path:bs(t.path),connection:bs(t.connection),tool:bs(t.tool),automation:bs(t.automation)}),i=n?e.source==="project-first"&&n==="overview"&&o?Ol({org:e.org,agentId:o,tabId:n}):Bp({org:e.org,agentId:o,tabId:n,search:t}):Bp({org:e.org,agentId:o,tabId:"",search:t});return i?{kind:"canonical",route:i,search:n==="chat"?{...Pl(t,i),sidepanel:!0,mainpanel:!1}:Pl(t,i)}:null}function aye(e){const t=e.search??{},o=br(t.virtualmcpid),a=br(e.fallbackAgentId),n=t.main;let i;if(n==="chat")i=Pd(e.org,o);else if(n!==void 0&&n!==0&&n!=="0"){const l=Bp({org:e.org,agentId:o,tabId:n,search:t}),c=!l&&n.trim().length>0&&a?Bp({org:e.org,agentId:a,tabId:n,search:t}):null;i=l??c??{to:ft.home,params:{org:e.org},search:{}}}else i=Pd(e.org,o);return{route:i,search:{...Pl(t,i),...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 R3(e,t){if(t.task===void 0)return null;const{task:o,...a}=t;return{taskKey:e??(o.trim()||void 0),search:a}}const Uw=Rt().int().nonnegative().optional().catch(void 0),zle={contentPageId:q().optional(),contentPath:q().optional(),contentPathTemplate:q().optional(),contentCollection:q().optional(),contentItem:q().optional(),contentPageVariant:Uw,contentSection:Uw,contentVariant:Uw};function nye(e){const t={};return e.contentPageVariant!==void 0&&(t.pageVariant=e.contentPageVariant),e.contentSection!==void 0&&(t.section=e.contentSection),e.contentVariant!==void 0&&(t.variant=e.contentVariant),Object.keys(t).length>0?t:null}const D3=zle,r_={view:q().optional(),group:q().optional(),subgroup:q().optional(),sort:q().optional(),dir:q().optional(),q:q().optional(),assignee:q().optional(),priority:q().optional(),due:q().optional(),tags:q().optional(),repo:q().optional(),sprint:q().optional(),boardOrg:q().optional()},Ule=["files","brand","connections","repositories","skills","memory","instructions","general","site"],iv={fileView:io(["all","documents","media"]).catch("all").optional(),modified:io(["any","today","week","month"]).catch("any").optional(),layout:io(["list","grid"]).catch("list").optional(),sort:io(["name","updated","size"]).catch("name").optional(),path:q().optional(),preview:q().optional(),expanded:B0().optional().catch(void 0),skill:q().optional(),brand:q().optional(),section:io(Ule).catch("files").optional(),scope:io(["user"]).optional().catch(void 0),action:io(["create"]).optional().catch(void 0)},qle={file:q().optional(),key:q().optional(),deck:q().optional(),path:q().optional(),connection:q().optional(),tool:q().optional(),automation:q().optional(),section:q().optional(),preview:q().optional(),autosend:q().optional(),connect:Cv().optional(),siteUrl:q().optional(),...D3},O3={...qle,task:q().optional(),project:q().optional(),...r_,skill:iv.skill,brand:iv.brand},im=Se(O3),Ya=B8({component:()=>w.jsx(Gse,{children:w.jsx(MT,{})})}),$le=De({getParentRoute:()=>Ya,path:"/login",component:Ie(()=>Le(()=>import("./login-DrbMDqlp.js"),__vite__mapDeps([0,1,2,3,4]))),validateSearch:Hr(()=>Se({next:q().optional(),client_id:q().optional(),redirect_uri:q().optional(),response_type:q().optional(),state:q().optional(),scope:q().optional(),code_challenge:q().optional(),code_challenge_method:q().optional(),src:q().optional(),ref:q().optional()}))}),Vle=De({getParentRoute:()=>Ya,path:"/cli/auth-success",component:Ie(()=>Le(()=>import("./cli-auth-success-PhyGH5OW.js"),__vite__mapDeps([5,4])))}),Hle=De({getParentRoute:()=>Ya,path:"/reset-password",component:Ie(()=>Le(()=>import("./reset-password-BDTPUkZZ.js"),[])),validateSearch:Hr(()=>Se({token:q().optional(),error:q().optional()}))}),Gle=De({getParentRoute:()=>Ya,path:"/auth/$pathname",component:Ie(()=>Le(()=>import("./auth-catchall-CQhqMFI7.js"),[]))}),Wle=De({getParentRoute:()=>Ya,path:"/oauth/callback",component:Ie(()=>Le(()=>import("./oauth-callback-BPlDpCVw.js"),__vite__mapDeps([6,7,8])))}),Kle=De({getParentRoute:()=>Ya,path:"/oauth/callback/ai-provider",component:Ie(()=>Le(()=>import("./oauth-callback-ai-provider-C-kNRGr2.js"),[]))}),sm=De({getParentRoute:()=>Ya,path:"/_admin",component:Ie(()=>Le(()=>import("./layout-jno9iSY1.js"),__vite__mapDeps([9,10,11])))}),Yle=De({getParentRoute:()=>sm,path:"/",beforeLoad:()=>{throw Jo({to:"/_admin/users"})}}),Zle=De({getParentRoute:()=>sm,path:"/users",component:Ie(()=>Le(()=>import("./users-DhWYm0Ur.js"),__vite__mapDeps([12,13,14,15,16,17,18,19,20,21,22,23,24,25])))}),Qle=De({getParentRoute:()=>sm,path:"/orgs",component:Ie(()=>Le(()=>import("./orgs-BFPSbb2q.js"),__vite__mapDeps([26,13,14,15,16,17,18,27,22,28,29,30,31,32,33,21,34,35,23,24,25])))}),Jle=De({getParentRoute:()=>sm,path:"/prompts",component:Ie(()=>Le(()=>import("./prompts-CfiuzCI2.js"),__vite__mapDeps([36,16,27,33,23])))}),Xle=sm.addChildren([Yle,Zle,Qle,Jle]),i_=De({getParentRoute:()=>Ya,id:"shell",component:Ie(()=>Le(()=>import("./shell-layout-Bb-Bk8Da.js").then(e=>e.g),__vite__mapDeps([37,19,20,38,39,40,41,42,15,43,44,45,46,47,31,48,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,64,65,66,67,68,8,69,70,71,72,73,74,75,76,27,77,78,79,3,2,80,81,34,82,83,84,30,85,86,87,22,88,10,89,90,91])))}),ece=De({getParentRoute:()=>i_,path:"/",beforeLoad:async()=>{const e=cle();if(e)throw Jo({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(zs.lastOrgSlug());if(t)throw Jo({to:"/$org",params:{org:t}});const{data:o}=await fL();if(!o)return;const a=o[0];throw Jo(a?{to:"/$org",params:{org:a.slug}}:{to:"/onboarding"})}}),tce=De({getParentRoute:()=>Ya,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await fL();if(e&&e.length>0)throw Jo({to:"/"})},component:Ie(()=>Le(()=>import("./onboarding-81KXiaqI.js"),__vite__mapDeps([92,10,4,93,19,20,61,27,32,38,47,53,63])))}),M3=Hr(()=>Se({org:q().optional(),siteUrl:q().optional(),fix:q().optional()})),oce=De({getParentRoute:()=>Ya,path:"/reports-onboarding",component:Ie(()=>Le(()=>import("./reports-onboarding-B1eQP37P.js"),__vite__mapDeps([94,95,1,2,3,4,93,19,20,61,96,97,98,27,99,68,8,100,74,44,40,41,42,15,43,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,18,62,63,64,65,84,30,101,102,103,104,22,105,106,107,108,7,109,110,111,112,113,114]))),validateSearch:M3}),ace=De({getParentRoute:()=>Ya,path:"/commerce-onboarding",validateSearch:M3,beforeLoad:({search:e})=>{throw Jo({to:"/reports-onboarding",search:e})}}),nce=De({getParentRoute:()=>Ya,path:"/choose-editor",component:Ie(()=>Le(()=>import("./choose-editor-Co3gZPYu.js"),__vite__mapDeps([115,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,10]))),validateSearch:Hr(()=>Se({site:q().optional(),domain:q().optional(),pageId:q().optional(),path:q().optional(),pathTemplate:q().optional()}))}),s_=De({getParentRoute:()=>Ya,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor"},component:Ie(()=>Le(()=>import("./site-editor-Dw86EYnX.js"),__vite__mapDeps([116,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,121,122,123,124,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,10,90,91,126,127,128,129,130,131,96,97,98,132,133,134,135,136,137,138,139,140,141,142,143,144,145,24,25,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,32,33,163,164,165,166,29,167,168,169,170,171,172,16,173,174,175,176,28,177,178,179,180,17,181,182,183,184,185,186,187,188,189,190,106,191,192,112,193,194,195,196,197,198,199,200,201,21,202,203,204,205,206,207,208,209,210,211,212,213,214,104,215,216,217,218,219,220,221,222,223,224,225,226,110,102,111,227,228,229,230,107,108,7,231,232,233,234,235,236,237,238,239])))}),rce=De({getParentRoute:()=>s_,path:"/",staticData:{mainView:"site-editor",siteEditorView:"preview",local:!0},component:Ie(()=>Le(()=>import("./site-editor-Dw86EYnX.js"),__vite__mapDeps([116,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,121,122,123,124,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,10,90,91,126,127,128,129,130,131,96,97,98,132,133,134,135,136,137,138,139,140,141,142,143,144,145,24,25,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,32,33,163,164,165,166,29,167,168,169,170,171,172,16,173,174,175,176,28,177,178,179,180,17,181,182,183,184,185,186,187,188,189,190,106,191,192,112,193,194,195,196,197,198,199,200,201,21,202,203,204,205,206,207,208,209,210,211,212,213,214,104,215,216,217,218,219,220,221,222,223,224,225,226,110,102,111,227,228,229,230,107,108,7,231,232,233,234,235,236,237,238,239])),"SiteEditorPreview")}),ice=De({getParentRoute:()=>s_,path:"/content",staticData:{mainView:"content",siteEditorView:"content",local:!0},component:Ie(()=>Le(()=>import("./site-editor-Dw86EYnX.js"),__vite__mapDeps([116,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,121,122,123,124,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,10,90,91,126,127,128,129,130,131,96,97,98,132,133,134,135,136,137,138,139,140,141,142,143,144,145,24,25,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,32,33,163,164,165,166,29,167,168,169,170,171,172,16,173,174,175,176,28,177,178,179,180,17,181,182,183,184,185,186,187,188,189,190,106,191,192,112,193,194,195,196,197,198,199,200,201,21,202,203,204,205,206,207,208,209,210,211,212,213,214,104,215,216,217,218,219,220,221,222,223,224,225,226,110,102,111,227,228,229,230,107,108,7,231,232,233,234,235,236,237,238,239])),"SiteEditorContent")}),sce=De({getParentRoute:()=>Ya,path:"/report/$domain",component:Ie(()=>Le(()=>import("./reports-X-r24zwl.js"),__vite__mapDeps([240,109,3,1,2,241])))}),Jv=De({getParentRoute:()=>i_,path:"/$org",beforeLoad:({params:e})=>{lle({org:e.org})},loader:({params:e})=>sle(e.org),pendingMs:1/0,component:Ie(()=>Le(()=>import("./route-DiDqKVTg.js"),__vite__mapDeps([242,128,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,122,126,129,130,131,96,97,98,132,133,163,213,11,243,28,29,33,211,244,216,119,118,225,173,245,246,247,234,248,24,25,21,249,137,250,251,184,182,35,252,204,203,253,199,104,32,223])))}),Xv=De({getParentRoute:()=>Jv,id:"org-shell",pendingComponent:Id,component:Ie(()=>Le(()=>import("./thread-route-DlbP9X8e.js"),__vite__mapDeps([254,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,95,255,101,102,103,44,99,100,74,40,41,42,15,43,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,98,27,104,22,105,106,107,108,7,109,110,111,112,256,113])))}),lce=Se({sidepanel:BL,mainpanel:FL,main:so([q(),Ze(0)]).optional(),thread:q().optional(),autosend:q().optional(),preview:q().optional(),virtualmcpid:q().optional()}),Za=De({getParentRoute:()=>Xv,id:"agent-shell",validateSearch:lce,search:{middlewares:[s8(["sidepanel"])]},pendingComponent:Id,component:Ie(()=>Le(()=>import("./route-CwE5K4wd.js"),__vite__mapDeps([257,41,40,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,122,126,212,117,118,119,120,149,213,157,148,98,150,151,147,24,25,214,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,154,155,158,137,208,209,185,140,138,144,16,121,127,258,259,260,204,195,194,251,184,182,35,192,203,132,261,262,263,264,265,139,175,134])))}),cce=im.extend({virtualmcpid:q().optional()}),dce=De({getParentRoute:()=>Za,path:"/$taskId",validateSearch:cce,component:()=>null}),It=Ie(()=>Le(()=>import("./index-CfHLnaAs.js").then(e=>e.i),__vite__mapDeps([121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127])),"ChatLayoutPending"),Lt=Ie(()=>Le(()=>import("./index-CfHLnaAs.js").then(e=>e.i),__vite__mapDeps([121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127])),"ChatLayoutError"),uce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/home",staticData:{pageTitle:"sidebar.navDestinations.home",defaultMain:"overview",mainView:"overview"},validateSearch:Se({connect:Cv().optional(),siteUrl:q().optional()}),component:Ie(()=>Le(()=>import("./home-B9bSA6tC.js"),__vite__mapDeps([266,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,214,148,149,98,150,151,147,120,24,25,118,117,119,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,213,220,221,157,222,223,210,211,224,225,226,110,102,111,112,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,267,268,247,248,129,269,169,172,168,132,253,246,270,271,272,167,170,171,273,274,275,245,133,16,250])))}),pce=De({getParentRoute:()=>Za,path:"/projects",validateSearch:im,beforeLoad:({params:e,search:t})=>{const o=(t.project??t.virtualmcpid)?.trim(),a=i=>({...i,virtualmcpid:void 0,project:void 0,task:void 0});if(!o)throw Jo({to:"/$org/home",params:{org:e.org},search:a,hash:!0,replace:!0});const n=t.task?.trim();throw Jo(n?{to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:o,taskKey:n},search:a,hash:!0,replace:!0}:{to:"/$org/projects/$agentId",params:{org:e.org,agentId:o},search:a,hash:!0,replace:!0})}}),lo=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/projects/$agentId",validateSearch:im,component:MT}),mce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/",staticData:{pageTitle:"page.overview",defaultMain:"overview",mainView:"overview"},component:Ie(()=>Le(()=>import("./agent-overview-jQR56ImR.js"),__vite__mapDeps([276,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,117,118,119,120,214,148,149,98,150,151,147,24,25,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,213,220,221,157,222,223,210,211,224,225,226,110,102,111,112,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,267,268,247,248,129,269,169,172,168,132,253,246,270,271,272,167,170,171,273,274,245,255,101,103,277])))}),hce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:Se({task:q().optional(),...r_}),beforeLoad:({params:e,search:t})=>{const o=R3(e.taskKey,t);if(o)throw Jo({to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:e.agentId,taskKey:o?.taskKey??e.taskKey},search:o.search,hash:!0,replace:!0})},component:Ie(()=>Le(()=>import("./project-tasks-BLcB7Cwc.js"),__vite__mapDeps([278,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,279,129,130,280,180,163,148,149,98,150,151,147,120,24,25,118,117,119,221,281,21,104,32,33,222,282,283,131,247,234,248,210,211,28,29,253,246,274,284,176,161,146,285,177,286,144,287,156,103,288,233,145,152,153,154,155,157,158,159,232,258,217,215,207,289,224,225])))}),gce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:Se({connect:Cv().optional(),siteUrl:q().optional()}),component:Ie(()=>Le(()=>import("./project-reports-6uzfgJoN.js"),__vite__mapDeps([290,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,291,95,255,101,102,103,277,113,114,275,250])))}),eb=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor",defaultMain:"site-editor",mainView:"site-editor"},validateSearch:Se({autosend:q().optional(),...D3}),component:Ie(()=>Le(()=>import("./agent-site-editor-FH5rkph4.js"),__vite__mapDeps([205,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,206,207,135,136,137,138,139,46,52,140,141,37,19,20,38,39,40,41,42,15,43,44,45,47,31,48,49,50,51,53,54,55,56,57,58,59,60,61,18,62,63,64,65,71,72,73,74,75,76,27,77,78,83,84,30,85,86,87,22,10,90,91,125,163,97,181,179,208,209,210,211,192,112,189,188,190,187,162,212,149,213,122,157,148,98,150,151,147,24,25,214,104,159,215,28,29,216,178,217,218,199,219,220,221,222,223,224,225,226,110,102,111,227,228,33,156,229,230,107,108,7,231,21,232,233,234,124,235,145,146,152,153,154,155,126,158,236,160,161,191,175,198,237,238,185,144,121,123,127,239])))}),fce=De({getParentRoute:()=>eb,path:"/",staticData:{defaultMain:"site-editor",mainView:"site-editor",siteEditorView:"preview"},component:Ie(()=>Le(()=>import("./agent-site-editor-preview-DJt8FppE.js"),__vite__mapDeps([292,293,259,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,156,260,154,150,137,212,117,89,118,119,120,88,149,84,30,213,87,122,157,148,98,27,151,147,24,25,214,104,159,37,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,126,158,140,138,204,195,194,251,184,182,35,192,289,142,143,139,144,160,161,162,32,135,141,164,165,166,167,168,169,170,171,172,16,173,174,175,176,177,129,130,180,97,17,183,185,125,186,187,188,189,190,106,134,127,191,193])))}),vce=De({getParentRoute:()=>eb,path:"/content",staticData:{defaultMain:"content",mainView:"content",siteEditorView:"content"},component:Ie(()=>Le(()=>import("./agent-site-editor-content-BIwmC0as.js"),__vite__mapDeps([294,293,259,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,156,260,154,150,137,212,117,89,118,119,120,88,149,84,30,213,87,122,157,148,98,27,151,147,24,25,214,104,159,37,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,126,158,140,138,204,195,194,251,184,182,35,192,289,196,164,165,166,167,168,169,170,171,172,162,135,139,141,16,143,144,160,161,32,173,174,175,176,177,129,130,180,97,17,183,197,198,185,200,201,202])))}),bce=De({getParentRoute:()=>eb,path:"/code",staticData:{defaultMain:"code",mainView:"code",siteEditorView:"code"},validateSearch:Se({file:q().optional()}),component:Ie(()=>Le(()=>import("./agent-site-editor-code-Dp5l17ta.js"),__vite__mapDeps([295,293,259,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,156,260,154,150,137,212,117,89,118,119,120,88,149,84,30,213,87,122,157,148,98,27,151,147,24,25,214,104,159,37,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,126,158,140,138,204,195,194,251,184,182,35,192,289,16])))}),yce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/automations",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automations"},beforeLoad:({params:e,search:t})=>{const o=t.automation;if(o)throw Jo({to:"/$org/projects/$agentId/automations/$automationId",params:{org:e.org,agentId:e.agentId,automationId:o},search:a=>({...a,automation:void 0}),hash:!0,replace:!0})},component:Ie(()=>Le(()=>import("./agent-automations-DELrtNmQ.js"),__vite__mapDeps([296,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,17,16,282,297,21,97])))}),Sce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/automations/$automationId",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automation"},validateSearch:Se({automationView:io(["settings","runs"]).optional()}),component:Ie(()=>Le(()=>import("./agent-automation-DSOT91yw.js"),__vite__mapDeps([298,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21,199,32,163,149,156,260,299,213,117,118,119,120,218,28,29,219,300,282,146,301,220,221,148,98,150,151,147,24,25,157,222,302,248,129,303,181,179,174,175,97,304,14,16,232,210,211,258,288,233,145,152,153,154,155,158,159,231])))}),wce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/settings",staticData:{pageTitle:"sidebar.navDestinations.settings",defaultMain:"settings",mainView:"settings"},component:Ie(()=>Le(()=>import("./agent-settings-BJW57Xya.js"),__vite__mapDeps([305,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,159,222,199,17,309,154,260,157,150,32,163,173,137,251,184,182,35,252,310,24,147,192,138,311,312,155,193,209])))}),xce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:Se(iv),component:Ie(()=>Le(()=>import("./agent-library-6vXi0pmB.js"),__vite__mapDeps([313,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,314,104,17,283,97,120,117,118,119,222,315,33,151,147,264,163,262,263,265,139,175,159,316,202,178,179,24,25,14,210,211,317,318,319,310,16,307,110,102,111,112,300,308,108,7,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,199,309,154,260,157,150,32,173,137,251,184,182,35,252,192,138,311,312,155,193,209])))}),Tce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/assets",staticData:{pageTitle:"common.mainPanelTabs.assets",defaultMain:"assets",mainView:"assets"},component:Ie(()=>Le(()=>import("./agent-assets-BX70IHOT.js"),__vite__mapDeps([320,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,293,259,156,260,154,150,137,212,117,118,119,120,149,213,157,148,98,151,147,24,25,214,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,158,140,138,204,195,194,251,184,182,35,192,97,17,183])))}),kce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/releases",staticData:{pageTitle:"common.mainPanelTabs.releases",defaultMain:"releases",mainView:"releases"},component:Ie(()=>Le(()=>import("./agent-releases-1LcFLBWb.js"),__vite__mapDeps([321,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,293,259,156,260,154,150,137,212,117,118,119,120,149,213,157,148,98,151,147,24,25,214,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,158,140,138,204,195,194,251,184,182,35,192,97,135,139,141,237,198,190])))}),_ce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/hosting",staticData:{pageTitle:"common.mainPanelTabs.hosting",defaultMain:"hosting",mainView:"hosting"},component:Ie(()=>Le(()=>import("./agent-hosting-COv9KqxJ.js"),__vite__mapDeps([322,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21,202,35,97,104,14,146,28,29,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,33,156,301,226,227,228,213,98,229,230,107,231,232,233,159,222,199,17,309,154,260,157,150,32,163,173,137,251,184,182,252,310,24,147,192,138,311,312,155,193,209])))}),Cce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/e2e",staticData:{pageTitle:"common.mainPanelTabs.e2e",defaultMain:"e2e",mainView:"e2e"},component:Ie(()=>Le(()=>import("./agent-e2e-DgDrdrOU.js"),__vite__mapDeps([323,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21,97,28,29,14,202,35,146,181,179,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,33,156,301,226,227,228,213,98,229,230,107,231,232,233,159,222,199,17,309,154,260,157,150,32,163,173,137,251,184,182,252,310,24,147,192,138,311,312,155,193,209])))}),Ece=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/analytics",staticData:{pageTitle:"common.mainPanelTabs.analytics",defaultMain:"analytics",mainView:"analytics"},validateSearch:Se({view:q().optional()}),component:Ie(()=>Le(()=>import("./agent-analytics-CwuUduKr.js"),__vite__mapDeps([324,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,325,21,199,14,269,169,172,168,97,202,35,326,271,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,33,156,301,226,227,228,213,98,28,29,229,230,107,231,232,233,159,222,17,309,154,260,157,150,32,163,173,137,251,184,182,252,310,24,147,192,138,311,312,155,193,209])))}),Pce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/taskboard-analytics",staticData:{pageTitle:"taskBoard.analytics.title",defaultMain:"board",mainView:"board"},component:Ie(()=>Le(()=>import("./taskboard-analytics-vr9mjCEM.js"),__vite__mapDeps([327,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,231,21,280,328,163,173,29,176,329,269,169,172,168,14,178,179,24,25,248,129,272,167,170,171,273,271,326,253,246,180])))}),Ace=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/experiments",staticData:{pageTitle:"common.mainPanelTabs.experiments",defaultMain:"experiments",mainView:"experiments"},validateSearch:Se({ui:Ze("legacy").optional()}),component:Ie(()=>Le(()=>import("./agent-experiments-CDIR-vBl.js"),__vite__mapDeps([330,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,206,207,117,118,119,120,135,136,137,138,139,140,141,163,97,181,179,208,209,210,211,192,112,189,188,190,187,162,212,149,213,157,148,98,150,151,147,24,25,214,104,159,215,28,29,216,178,217,218,199,219,220,221,222,223,224,225,226,110,102,111,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,154,155,158,236,160,161,191,175,198,237,238,185,144,331,14,202,35,164,165,166,167,168,169,170,171,172,16,332,333,201,334,283,287,306,307,300,308,301,17,309,260,32,173,251,184,182,252,310,311,312,193])))}),Rce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/calendar",staticData:{pageTitle:"common.mainPanelTabs.calendar",defaultMain:"calendar",mainView:"calendar"},component:Ie(()=>Le(()=>import("./agent-calendar-DAFHiZ7t.js"),__vite__mapDeps([335,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,206,207,117,118,119,120,135,136,137,138,139,140,141,163,97,181,179,208,209,210,211,192,112,189,188,190,187,162,212,149,213,157,148,98,150,151,147,24,25,214,104,159,215,28,29,216,178,217,218,199,219,220,221,222,223,224,225,226,110,102,111,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,154,155,158,236,160,161,191,175,198,237,238,185,144,336,173,332,164,165,166,167,168,169,170,171,172,16,333,201,200,334,202,306,307,300,308,301,17,309,260,32,251,184,182,35,252,310,311,312,193])))}),Dce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/cdn",staticData:{pageTitle:"common.mainPanelTabs.cdn",defaultMain:"cdn",mainView:"cdn"},component:Ie(()=>Le(()=>import("./agent-monitor-DZGhzZ5b.js"),__vite__mapDeps([337,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,338,269,169,172,168,202,163,28,29,35,137,326,271,270,339,21,176,106,273,170,171,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,229,230,107,231,232,233,159,222,199,17,309,154,260,157,150,32,173,251,184,182,252,310,24,147,192,138,311,312,155,193,209,289,224,225])))}),N3=Se({args:q().optional()}),Oce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/apps/$connectionId/$toolName",validateSearch:N3,staticData:{pageTitle:"page.app",defaultMain:"app",mainView:"app"},component:Ie(()=>Le(()=>import("./agent-app-Dd83t7Jr.js"),__vite__mapDeps([340,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,195,341,149,260,152,153,154,117,118,119,120,253,246,129,342,95,100,101,102,103,98,104,105,106,107,108,7,109,110,111,112])))}),Mce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/views/$viewId",validateSearch:N3,staticData:{pageTitle:"page.view",defaultMain:"view",mainView:"view"},component:Ie(()=>Le(()=>import("./agent-view-DuXo8UyN.js"),__vite__mapDeps([343,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,341,149,260,152,153,154,117,118,119,120,253,246,129,342,95,100,101,102,103,98,104,105,106,107,108,7,109,110,111,112,306,307,300,16,308,25,97,33,156,301,226,227,228,213,28,29,229,230,231,21,232,233,159,222,199,17,309,157,150,32,163,173,137,251,184,182,35,252,310,24,147,192,138,311,312,155,193,209])))}),Nce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/outputs/file",staticData:{pageTitle:"page.file",defaultMain:"file",mainView:"file"},validateSearch:Se({key:q().optional()}),component:Ie(()=>Le(()=>import("./agent-file-Crkwe1n0.js"),__vite__mapDeps([344,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,159,265,222,139,175,151,147,120,158,117,118,119,306,307,110,102,111,112,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,199,17,309,154,260,157,150,32,163,173,137,251,184,182,35,252,310,24,192,138,311,312,155,193,209])))}),Ice=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/outputs/deck",staticData:{pageTitle:"page.document",defaultMain:"deck",mainView:"deck"},validateSearch:Se({path:q().optional()}),component:Ie(()=>Le(()=>import("./agent-deck-19EIpeOv.js"),__vite__mapDeps([345,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,264,222,163,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,159,199,17,309,154,260,157,150,32,173,137,251,184,182,35,252,310,24,147,192,138,311,312,155,193,209])))}),Lce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/library/file",staticData:{pageTitle:"page.file",defaultMain:"library-file",mainView:"library-file"},validateSearch:Se({path:q().optional()}),component:Ie(()=>Le(()=>import("./agent-library-file-D_31XTpy.js"),__vite__mapDeps([346,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,347,263,104,264,222,163,265,139,175,159,151,147,120,306,307,110,102,111,112,117,118,119,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,199,17,309,154,260,157,150,32,173,137,251,184,182,35,252,310,24,192,138,311,312,155,193,209])))}),Bce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/connect-sources",staticData:{pageTitle:"settings.nav.connect",defaultMain:"connect-sources",mainView:"connect-sources"},component:Ie(()=>Le(()=>import("./agent-connect-sources-EYRSBit6.js"),__vite__mapDeps([348,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,99,95,100,101,102,103,98,104,105,106,107,108,7,109,110,111,112,256,113])))}),Fce=De({getParentRoute:()=>lo,path:"/$legacyView",component:()=>null}),jce=De({getParentRoute:()=>Za,path:"/agents",validateSearch:im,beforeLoad:({params:e,search:t})=>{const o=t.virtualmcpid?.trim();throw Jo(o?{to:"/$org/projects/$agentId",params:{org:e.org,agentId:o},search:a=>a,hash:!0,replace:!0}:{to:"/$org/projects",params:{org:e.org},search:a=>a,hash:!0,replace:!0})}}),zce=De({getParentRoute:()=>Za,path:"/agents/$",validateSearch:im,beforeLoad:({params:e,location:t})=>{const o=e._splat?.split("/").find(Boolean);if(!A3(o))return;const a=Ole(t.pathname);if(!a)return;const n=t.hash?`#${t.hash}`:"";throw Jo({href:`${a}${t.searchStr}${n}`,replace:!0})},component:Ie(()=>Le(()=>import("./legacy-agents-deep-C-JHuDVd.js"),__vite__mapDeps([349,261,70])))}),Uce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:Se({task:q().optional(),...r_}),beforeLoad:({params:e,search:t})=>{const o=R3(e.taskKey,t);if(o)throw Jo({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:o.taskKey},search:o.search,hash:!0,replace:!0})},component:Ie(()=>Le(()=>import("./tasks-DzLAZqT6.js"),__vite__mapDeps([350,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,279,129,130,280,180,163,148,149,98,150,151,147,120,24,25,118,117,119,221,281,21,104,32,33,222,282,283,131,247,234,248,210,211,28,29,253,246,274,284,176,161,146,285,177,286,144,287,156,103,288,233,145,152,153,154,155,157,158,159,232,258,217,215,207,289,224,225])))}),qce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/taskboard-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Ie(()=>Le(()=>import("./taskboard-analytics-vr9mjCEM.js"),__vite__mapDeps([327,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,231,21,280,328,163,173,29,176,329,269,169,172,168,14,178,179,24,25,248,129,272,167,170,171,273,271,326,253,246,180])))}),$ce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/thread-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Ie(()=>Le(()=>import("./thread-analytics-CYtiXz-Q.js"),__vite__mapDeps([351,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,329,269,169,172,168,14,178,179,24,25,21,248,129,272,167,170,171,273,271,326,249,180,163,28,29,181,288,233,145,146,147,148,149,98,150,151,120,118,117,119,152,153,154,155,156,157,158,159,232,258])))}),Vce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:Se({connect:Cv().optional(),siteUrl:q().optional()}),component:Ie(()=>Le(()=>import("./reports-VJqlTUDX.js"),__vite__mapDeps([352,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,291,95,255,101,102,103,277,113,114,275,250])))}),Hce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:Se(iv),component:Ie(()=>Le(()=>import("./library-DC_yyIum.js"),__vite__mapDeps([353,120,122,121,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,314,104,17,283,97,117,118,119,222,315,33,151,147,264,163,262,263,265,139,175,159,316,202,178,179,24,25,14,210,211,317,318,319,310,16,347])))}),Gce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Ie(()=>Le(()=>import("./plan-KARVWZDV.js"),__vite__mapDeps([354,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21])))}),I3=Se({view:io(["metrics","deploys","experiments","analytics"]).optional(),date:WN().optional().catch(void 0),store:q().optional(),at:q().optional()}),Wce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:I3,component:Ie(()=>Le(()=>import("./monitoring-CvGmGp-w.js"),__vite__mapDeps([355,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,202,163,32,339,269,169,172,168,21,176,106,326,271,273,170,171,270,338,28,29,35,137,329,14,178,179,24,25,248,129,272,167,325,199,97,342,95,100,101,102,103,98,104,105,107,108,7,109,110,111,112,156,331,164,165,166,162,135,136,117,118,119,120,138,139,140,141,16,332,236,333,201,334,33,283,287,246])))}),Kce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Ie(()=>Le(()=>import("./plan-KARVWZDV.js"),__vite__mapDeps([354,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21])))}),Yce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:I3,component:Ie(()=>Le(()=>import("./monitoring-CvGmGp-w.js"),__vite__mapDeps([355,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,202,163,32,339,269,169,172,168,21,176,106,326,271,273,170,171,270,338,28,29,35,137,329,14,178,179,24,25,248,129,272,167,325,199,97,342,95,100,101,102,103,98,104,105,107,108,7,109,110,111,112,156,331,164,165,166,162,135,136,117,118,119,120,138,139,140,141,16,332,236,333,201,334,33,283,287,246])))}),Zce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/discover",staticData:{pageTitle:"sidebar.navDestinations.discover",defaultMain:"discover",mainView:"discover"},component:Ie(()=>Le(()=>import("./discover-CG4C5Odc.js"),__vite__mapDeps([356,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,156,210,211,182,184,35,192,112])))}),Qce=De({getParentRoute:()=>Jv,path:"/members",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/members",params:{org:e.org}})}}),Jce=Se({main:so([q(),Ze(0)]).optional(),virtualmcpid:q().optional(),...O3,sidepanel:BL,mainpanel:FL,thread:q().optional()}),Xce=De({getParentRoute:()=>Xv,path:"/",validateSearch:Jce,pendingComponent:Id,component:Ie(()=>Le(()=>import("./index-CblLVDuN.js"),__vite__mapDeps([357,261,70])))}),ede=De({getParentRoute:()=>Xv,path:"/t/$taskKey",beforeLoad:({params:e})=>{throw Jo({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:e.taskKey},search:t=>t,hash:!0,replace:!0})}}),co=De({staticData:{pageTitle:"sidebar.navDestinations.settings"},getParentRoute:()=>Jv,path:"/settings",pendingComponent:Id,component:Ie(()=>Le(()=>import("./route-CMp29IPi.js"),__vite__mapDeps([358,122,121,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127])))}),tde=De({getParentRoute:()=>co,path:"/",component:Ie(()=>Le(()=>import("./index-redirect-BSxSh5S-.js"),__vite__mapDeps([359,319])))}),ode=De({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>co,path:"/connections",component:Ie(()=>Le(()=>import("./connections-D4x-lAFA.js"),__vite__mapDeps([360,110,102,111,112,361,15,54,84,30,178,179,21,17,18,283,104,231,227,85,86,228,82,74,44,40,41,42,43,45,46,38,47,31,48,39,49,50,51,52,53,55,56,57,58,59,60,61,62,63,20,64,65,16,362,97,232,122,213,98,27,28,29,33,156,68,8,67,154,66,229,230,107,108,7,199]))),validateSearch:Hr(()=>Se({action:io(["create"]).optional(),tab:io(["all","connected"]).optional()}))}),ade=De({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>co,path:"/connections/$appSlug",component:Ie(()=>Le(()=>import("./connection-detail-DtbzbTIM.js"),__vite__mapDeps([363,110,102,111,112,16,230,61,62,364,68,8,260,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,18,63,20,64,65,156,28,29,30,169,166,73,163,84,67,122,365,78,79,3,2,80,81,34,82,229,309,21,154,7,210,211,19,108,74,126,98,27,157,362,97,366,269,172,168,271,326,167,272,170,171,273,181,179,228,153,87]))),validateSearch:Hr(()=>Se({tab:q().optional()}))}),nde=De({staticData:{pageTitle:"page.item"},getParentRoute:()=>co,path:"/connections/$appSlug/$collectionName/$itemId",component:Ie(()=>Le(()=>import("./collection-detail-BAmfEJxU.js"),__vite__mapDeps([367,16,68,8,98,27,33,364,260,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,156,110,102,111,112,28,29,30,169,166,73,163,84,67,122,365,78,79,3,2,80,81,34,82,229,153,154,161,228,309,21,7,152,74,117,69,70,66,89,118,119,120,88,37,19,71,72,75,76,77,83,85,86,87,22,10,90,91,174,175,202]))),validateSearch:Hr(()=>Se({replayId:q().optional()}))}),rde=De({staticData:{pageTitle:"orgs.monitoring.title"},getParentRoute:()=>co,path:"/monitor",component:Ie(()=>Le(()=>import("./index-B0ZOlWzX.js"),__vite__mapDeps([368,17,18,16,317,318,319,145,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,20,64,65,24,25,146,147,148,149,98,27,150,151,120,122,69,70,66,67,68,8,84,30,118,79,3,2,80,81,34,82,117,89,119,88,71,152,153,154,155,37,19,72,73,74,75,76,77,78,83,85,86,87,22,10,90,91,126,156,157,158,159,228,21,163,174,175,210,211,303,199,28,29,328,173,176,33,231,32,161,366,269,169,172,168,271,326,167,272,170,171,273,288,233,232,258,14,304,282,202,246,339,106,270,289,224,225]))),validateSearch:Hr(()=>Se({tab:io(["overview","audit","dashboards","threads","automations","stores"]).default("threads"),store:q().optional(),at:q().optional(),from:q().default("now-24h"),to:q().default("now"),connectionId:je(q()).optional().default([]),virtualMcpId:je(q()).optional().default([]),tool:q().default(""),status:io(["all","success","errors"]).default("all"),search:q().default(""),page:Rt().optional(),streaming:Vt().default(!0),propertyFilters:q().default(""),hideSystem:Vt().default(!1)}))}),ide=De({staticData:{pageTitle:"settings.nav.general"},getParentRoute:()=>co,path:"/general",component:Ie(()=>Le(()=>import("./general-DEusZ5JT.js"),__vite__mapDeps([369,211,301,19,20,370,32,39,88,34,81,156,68,8,371,21,28,29,30,31,97,319])))}),sde=De({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>co,path:"/connect",pendingComponent:Li("connect"),component:Ie(()=>Le(()=>import("./connect-A3Avs8Pl.js"),__vite__mapDeps([372,161,21,28,29,30,31,181,179,147,49,55,56,268,373,41,61,62,202,97,27,68,8,317,318,319])))}),lde=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>co,path:"/ai-providers",pendingComponent:Li("billing"),component:Ie(()=>Le(()=>import("./ai-providers-1_g2-YFO.js"),__vite__mapDeps([374,41,119,47,88,34,81,299,213,122,117,69,70,66,67,68,8,89,79,3,2,80,82,118,120,218,199,57,28,29,30,31,43,48,55,42,18,219,58,19,20,52,301,178,179,84,97,217,225,61,62,308,25,32,317,318,319])))}),cde=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>co,path:"/billing",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/ai-providers",params:{org:e.org}})}}),dde=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>co,path:"/infra-billing",pendingComponent:Li("billing"),component:Ie(()=>Le(()=>import("./infra-billing-BW0f21OW.js"),__vite__mapDeps([375,50,21,303,199,57,31,72,73,18,163,28,29,30,14,271,168,169,171,326,317,318,319])))}),ude=De({staticData:{pageTitle:"settings.nav.secrets"},getParentRoute:()=>co,path:"/secrets",component:Ie(()=>Le(()=>import("./secrets-CfWgVKjc.js"),__vite__mapDeps([376,41,61,20,64,202,27,28,29,30,31,33,312,317,318,319])))}),pde=De({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>co,path:"/api-keys",pendingComponent:Li("connect"),component:Ie(()=>Le(()=>import("./api-keys-YdF23sAO.js"),__vite__mapDeps([377,373,41,49,55,61,62,202,97,27,68,8,317,318,319])))}),mde=De({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>co,path:"/buckets",pendingComponent:Li("storage"),component:Ie(()=>Le(()=>import("./buckets-Fnw-QnpR.js"),__vite__mapDeps([378,41,61,62,21,202,97,27,28,29,30,31,32,33,182,317,318,319])))}),hde=De({staticData:{pageTitle:"settings.nav.repositories"},getParentRoute:()=>co,path:"/repositories",validateSearch:Se({git_error:q().optional().catch(void 0),git_flow:q().uuid().optional().catch(void 0),git_installation:Rt().int().positive().safe().optional().catch(void 0),git_return:Vt().optional().catch(void 0)}),pendingComponent:Li("repositories"),component:Ie(()=>Le(()=>import("./repositories-DRGtDHym.js"),__vite__mapDeps([379,380,83,43,61,84,30,27,85,86,87,18,45,19,20,22,88,34,81,44,199,57,64,97,202,21,161,104,146,28,29,31,33,62,311,312,317,318,319])))}),gde=De({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>co,path:"/synced-repos",pendingComponent:Li("storage"),component:Ie(()=>Le(()=>import("./synced-repos-DhRHDr6D.js"),__vite__mapDeps([381,61,202,97,83,43,84,30,27,85,86,87,18,45,19,20,22,88,34,81,315,24,25,317,318,319])))}),fde=De({staticData:{pageTitle:"settings.nav.tasks"},getParentRoute:()=>co,path:"/task-board",component:Ie(()=>Le(()=>import("./tasks-DUtkLCHD.js"),__vite__mapDeps([382,199,57,33,48,60,61,180,72,73,18,163,303,21,31,28,29,30,32,97,302,370,39,88,34,81,156,68,8,22,282,281,65,104,84,126,222,85,86,80,2,317,318,319])))}),vde=De({getParentRoute:()=>co,path:"/tasks",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/task-board",params:{org:e.org}})}}),bde=De({staticData:{pageTitle:"projects.settings.title"},getParentRoute:()=>co,path:"/projects",component:Ie(()=>Le(()=>import("./projects-BvtnS4il.js"),__vite__mapDeps([383,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,21,17,76,27,77,68,8,78,67,79,3,2,80,81,34,82,83,84,30,85,86,87,19,22,88,275,308,25,255,101,102,103,250,66,156])))}),yde=De({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>co,path:"/members",pendingComponent:Li("members"),component:Ie(()=>Le(()=>import("./members-D1907SI-.js"),__vite__mapDeps([384,361,15,54,84,30,178,179,21,17,18,13,14,16,243,98,27,28,29,31,33,211,244,19,20,24,25,210,385,97,51,55,62,65,199,57,72,73,163,61,284,317,318,319])))}),Sde=De({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>co,path:"/roles",pendingComponent:Li("members"),component:Ie(()=>Le(()=>import("./roles-DIBxviRh.js"),__vite__mapDeps([386,244,211,385,21,97,51,61,62,13,14,15,16,17,18,219,74,44,40,41,42,43,45,46,38,47,31,48,39,49,50,52,53,54,55,56,57,58,59,60,63,20,64,65,232,199,233,86,68,8,87,111,112,210,156,67,119,19,32,84,30,75,66,318,319]))),validateSearch:Hr(()=>Se({role:q().optional()}))}),wde=De({staticData:{pageTitle:"settings.nav.security"},getParentRoute:()=>co,path:"/sso",component:Ie(()=>Le(()=>import("./sso-BwMXXLZ-.js"),__vite__mapDeps([387,371,21,28,29,30,31,97,32,90,62,317,318,319])))}),xde=De({staticData:{pageTitle:"settings.nav.profile"},getParentRoute:()=>co,path:"/profile",component:Ie(()=>Le(()=>import("./profile-SgKnnlOX.js"),__vite__mapDeps([388,19,20,165,166,29,62,63,32,28,30,31,178,179,84,58,59,60,301,223])))}),Tde=De({staticData:{pageTitle:"settings.nav.agents"},getParentRoute:()=>co,path:"/agents",component:Ie(()=>Le(()=>import("./agents-list-BciltAjT.js"),__vite__mapDeps([389,67,68,8,51,42,62,40,41,15,43,44,45,46,38,47,31,48,39,49,50,52,53,54,55,56,57,58,59,60,61,18,63,20,64,65,308,25,78,79,3,2,80,81,34,82,88,16,365,156,107,108,7,110,102,111,112,83,84,30,27,85,86,87,19,22,103,105,97,17,77])))}),kde=De({staticData:{pageTitle:"settings.nav.automations"},getParentRoute:()=>co,path:"/automations",component:Ie(()=>Le(()=>import("./automations-CYPV9xM6.js"),__vite__mapDeps([390,61,46,17,18,16,282,68,8,78,67,79,3,2,80,81,34,82,297,21,97,40,41,42,15,43,44,45,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,62,63,20,64,65,317,318,319])))}),_de=De({staticData:{pageTitle:"settings.nav.skills"},getParentRoute:()=>co,path:"/skills",component:Ie(()=>Le(()=>import("./skills-CNP2yKUA.js"),__vite__mapDeps([391,51,46,62,63,17,18,283,104,84,30,97,16,231,21,316,151,147,49,120,122,69,70,66,67,68,8,265,222,85,86,139,52,175,159])))}),Cde=De({staticData:{pageTitle:"settings.nav.memory"},getParentRoute:()=>co,path:"/memory",component:Ie(()=>Le(()=>import("./memory-CaQIwNtK.js"),__vite__mapDeps([392,38,20,161,84,30,231,21,16,71,222,85,86]))),validateSearch:Hr(()=>Se({scope:io(["user"]).optional()}))}),Ede=co.addChildren([tde,ode,ade,nde,Tde,kde,_de,Cde,rde,ide,sde,lde,cde,dde,ude,pde,mde,hde,gde,fde,vde,bde,yde,Sde,wde,xde]),Pde=eb.addChildren([fce,vce,bce]),Ade=lo.addChildren([mce,hce,gce,Pde,yce,Sce,wce,xce,Tce,kce,_ce,Cce,Ece,Pce,Ace,Rce,Dce,Oce,Mce,Nce,Ice,Lce,Bce,Fce,Kce,Yce]),Rde=Za.addChildren([dce,uce,pce,Ade,jce,zce,Uce,qce,$ce,Vce,Hce,Zce,Gce,Wce]),Dde=Xv.addChildren([Xce,ede,Rde]),Ode=Jv.addChildren([Dde,Qce,Ede]),Mde=i_.addChildren([ece,Ode]),Nde=Ya.addChildren([Mde,Xle,tce,oce,ace,nce,s_.addChildren([rce,ice]),sce,$le,Vle,Hle,Gle,Wle,Kle]);function Ide(){const e=Ce.c(16),t=ar();let o;e[0]!==t?(o=t("common.index.pageNotFound"),e[0]=t,e[1]=o):o=e[1];let a;e[2]!==o?(a=w.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),e[2]=o,e[3]=a):a=e[3];let n;e[4]!==t?(n=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=n):n=e[5];let i;e[6]!==n?(i=w.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:n}),e[6]=n,e[7]=i):i=e[7];let l;e[8]!==t?(l=t("common.goBack"),e[8]=t,e[9]=l):l=e[9];let c;e[10]!==l?(c=w.jsx("button",{type:"button",onClick:Lde,className:"text-sm text-primary hover:underline",children:l}),e[10]=l,e[11]=c):c=e[11];let d;return e[12]!==a||e[13]!==i||e[14]!==c?(d=w.jsx("div",{className:"flex h-full items-center justify-center",children:w.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[a,i,c]})}),e[12]=a,e[13]=i,e[14]=c,e[15]=d):d=e[15],d}function Lde(){return window.history.back()}const tb=K8({routeTree:Nde,defaultPendingComponent:Id,defaultPendingMs:200,defaultPendingMinMs:500,defaultNotFoundComponent:Ide});function Pe(...e){return LL(gk(e))}function Bde(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function qo({error:e,localization:t,localizeErrors:o=!0}){var a;const n="Request failed";if(!o)return e?.message?e.message:(a=e?.error)!=null&&a.message?e.error.message:n;if(typeof e=="string"&&t?.[e])return t[e];if(e?.error){if(e.error.code){const i=e.error.code;if(t?.[i])return t[i]}return e.error.message||e.error.code||e.error.statusText||t?.REQUEST_FAILED}return e?.message||t?.REQUEST_FAILED||n}function Ul(e){return typeof window<"u"?new URLSearchParams(window.location.search).get(e):null}function oT(e,t){for(const o in e)if(e[o]===t)return o}function Fp(e,t){let o=q().min(1,{message:t?.PASSWORD_REQUIRED});return e?.minLength&&(o=o.min(e.minLength,{message:t?.PASSWORD_TOO_SHORT})),e?.maxLength&&(o=o.max(e.maxLength,{message:t?.PASSWORD_TOO_LONG})),e?.regex&&(o=o.regex(e.regex,{message:t?.INVALID_PASSWORD})),o}var Fde={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"},jde={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"},zde={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."},Ude={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."},qde={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},$de={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},Vde={...qde,...$de},Hde={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},Gde={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},Wde={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},Kde={INVALID_SESSION_TOKEN:"Invalid session token"},Yde={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"},Zde={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"},Qde={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"},Jde={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"},Xde={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"},eue={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"},tue={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"},oue={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",...Ude,...Fde,...jde,...zde,...Vde,...Hde,...Gde,...Wde,...Kde,...Yde,...Zde,...Qde,...Jde,...Xde,...eue,...tue},aue={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"},a2={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},n2={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const L3=A.createContext({});function B3(){return A.useContext(L3)}var qw,r2;function nue(){if(r2)return qw;r2=1;var e=function(){};return qw=e,qw}var rue=nue();const iue=Nl(rue);function sue({async:e,appendTo:t,defer:o,id:a,nonce:n,src:i}){const l=document.createElement("script");e!==void 0&&(l.async=e),o!==void 0&&(l.defer=o),a&&(l.id=a),n&&l.setAttribute("nonce",n),l.src=i,(t==="head"?document.head:document.body).appendChild(l)}var lue=function(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]]);return o};let gp=null,jp=!1;const sv=new Set,lv=new Set,cue=typeof window<"u",ud="___grecaptcha_cfg",F3=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function due(){if(!cue)return;function e(o){if(jp)o();else{window[ud]||(window[ud]={});const a=window[ud];a.fns||(a.fns=[]),a.fns.push(o)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=e,window.grecaptcha.enterprise.ready=e;function t(){jp=!0;for(const o of lv)o();lv.clear()}window[F3]=t}function uue({language:e,onLoadCallbackName:t,render:o,useEnterprise:a=!1,useRecaptchaNet:n=!1}){const i=n?"recaptcha.net":"google.com",l=a?"enterprise.js":"api.js",c=new URLSearchParams({render:o});return t&&c.set("onload",t),e&&c.set("hl",e),`https://www.${i}/recaptcha/${l}?${c.toString()}`}function pue({language:e,render:t,scriptProps:o,useEnterprise:a,useRecaptchaNet:n}){const i={id:"google-recaptcha-v3"},l=uue({language:e,onLoadCallbackName:F3,render:t,useEnterprise:a,useRecaptchaNet:n});if(gp){if(gp!==l)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}gp=l,sue(Object.assign(Object.assign(Object.assign({},i),o),{src:l}))}function mue(e){if(!window[ud])return;const t=window[ud];t.clients&&delete t.clients[e]}function hue(e,t){var{onLoadCallback:o,onLoadCallbackName:a}=t,n=lue(t,["onLoadCallback","onLoadCallbackName"]);if(sv.size===0&&due(),pue(n),sv.add(e),o&&(jp?o():lv.add(o)),a){let i=function(){if(!a)return;const l=window[a];typeof l=="function"&&l()};jp?i():lv.add(i)}}function gue(e){var t,o,a;sv.delete(e),sv.size===0&&(window.grecaptcha=void 0,window[ud]=void 0,(t=document.querySelector(".grecaptcha-badge"))===null||t===void 0||t.remove(),(o=document.querySelector(`script[src="${gp}"]`))===null||o===void 0||o.remove(),(a=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||a===void 0||a.remove(),gp=null,jp=!1)}let i2=!1;function fue({container:e,children:t,language:o,reCaptchaKey:a,scriptProps:n,useEnterprise:i,useRecaptchaNet:l}){var c,d,p,m,h,f,v;const b=A.useId(),[S,k]=A.useState(null),[x,T]=A.useState(null),P=A.useRef(!1);A.useEffect(()=>{function D(){var O;const L=i?(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(()=>{k(L)})}return hue(b,{language:o,onLoadCallback:D,onLoadCallbackName:n?.onLoadCallbackName,render:e?.element?"explicit":a,scriptProps:{appendTo:n?.appendTo,async:n?.async,defer:n?.defer,id:n?.id,nonce:n?.nonce},useEnterprise:i,useRecaptchaNet:l}),()=>{gue(b),k(null)}},[e?.element,b,o,a,n?.appendTo,n?.async,n?.defer,n?.id,n?.nonce,n?.onLoadCallbackName,i,l]),A.useEffect(()=>{var D,O,L;if(!e?.element||!S?.render)return;const $={"error-callback":e.parameters.errorCallback,"expired-callback":e.parameters.expiredCallback,badge:((D=e.parameters)===null||D===void 0?void 0:D.badge)||"inline",callback:e.parameters.callback,sitekey:a,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 U=S.render(B,$);return!((O=e?.parameters)===null||O===void 0)&&O.hidden&&(i2||(iue(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),i2=!0),(L=B.querySelector(".grecaptcha-badge"))===null||L===void 0||L.style.setProperty("display","none")),T(U),P.current=!0,()=>{T(null),P.current=!1,mue(U),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,(p=e?.parameters)===null||p===void 0?void 0:p.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,S,a]);const C=!!e?.element,E=C?x:a,R=A.useMemo(()=>E!==null&&S?.execute?D=>{if(E===null||!S?.execute)throw new Error("reCAPTCHA has not been loaded");return C&&!P.current?(console.warn("Client ID not mounted"),null):S.execute(E,{action:D})}:void 0,[E,S,C]);return w.jsx(L3.Provider,{value:{container:e?.element,executeRecaptcha:R,reCaptchaInstance:S},children:t})}var vue=class{cache=new Map;listeners=new Map;inFlightRequests=new Map;get(e){return this.cache.get(e)}set(e,t){const o={data:t,timestamp:Date.now(),isRefetching:!1};this.cache.set(e,o),this.notify(e)}setRefetching(e,t){const o=this.cache.get(e);o&&(o.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 o of t)this.notify(o)}}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 o=this.listeners.get(e);o&&(o.delete(t),o.size===0&&this.listeners.delete(e))}}notify(e){const t=this.listeners.get(e);if(t){const o=Array.from(t);for(const a of o)a()}}},Gn=new vue;function bue(){return()=>{}}function Bi(){return A.useSyncExternalStore(bue,()=>!0,()=>!1)}function j3(){const[e,t]=A.useState();return A.useEffect(()=>{const o=()=>{const n=document.documentElement.getAttribute("lang");t(n??void 0)};o();const a=new MutationObserver(n=>{for(const i of n)i.attributeName==="lang"&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{lang:e}}function l_(){const[e,t]=A.useState("light");return A.useEffect(()=>{const o=()=>{var n;const i=document.documentElement.classList.contains("dark")||((n=document.documentElement.getAttribute("style"))==null?void 0:n.includes("color-scheme: dark"));t(i?"dark":"light")};o();const a=new MutationObserver(n=>{for(const i of n)(i.attributeName==="style"||i.attributeName==="class")&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{theme:e}}function yue({children:e}){const t=Bi(),{captcha:o}=A.useContext(wt);return o?.provider!=="google-recaptcha-v3"?e:w.jsxs(fue,{reCaptchaKey:o.siteKey,useEnterprise:o.enterprise,useRecaptchaNet:o.recaptchaNet,children:[t&&w.jsx("style",{children:`
|
|
168
|
+
`),h=d;m.length>h;h++){var f=m[h];if(1024>=f.length){var v=sO.test(f)?f.replace(sO,"$1"):f;if(!v.match(/\S*Error: /)){for(var b of i){var S=b(v,a);if(S){p.push(S);break}}if(p.length>=50)break}}}return(function(k){if(!k.length)return[];var x=Array.from(k);return x.reverse(),x.slice(0,50).map((T=>{return Ne({},T,{filename:T.filename||(P=x,P[P.length-1]||{}).filename,function:T.function||_d});var P}))})(p)}})("web:javascript",Yre,Jre)),this._instance=e,this.fo=(t=(o=this._instance.persistence)==null?void 0:o.get_property(Cx))!==null&&t!==void 0?t:[],this.mo=Vf(this.yo()),this.bo=new die(this.mo)}onConfigChange(){this.mo=Vf(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,o,a;if("errorTracking"in e){var n=(t=(o=e.errorTracking)==null?void 0:o.suppressionRules)!==null&&t!==void 0?t:[],i=(a=e.errorTracking)==null?void 0:a.captureExtensionExceptions;this.fo=n,this._instance.persistence&&this._instance.persistence.register({[Cx]:this.fo,[Ex]:i})}}get _o(){var e,t=!!this._instance.get_property(Ex),o=this._instance.config.error_tracking.captureExtensionExceptions;return(e=o??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(!Co(e)||e.trim().length===0)return void wi.warn("Ignoring exception step because message must be a non-empty string");var o=this.wo(t),{sanitizedProperties:a,droppedKeys:n}=(function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var l=[];return{sanitizedProperties:Object.keys(i).reduce(((c,d)=>cie.has(d)?(l.push(d),c):(c[d]=i[d],c)),{}),droppedKeys:l}})(o);n.length>0&&wi.warn("Ignoring reserved exception step fields",{droppedKeys:n}),this.bo.add(Ne({[qf]:e,[$f]:new Date().toISOString()},a))}catch(i){wi.error("Failed to add exception step. Ignoring breadcrumb.",i)}}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 wi.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 wi.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 wi.info("Skipping exception capture because it was thrown by the PostHog SDK")}var o=this.mo.enabled&&Et(e.$exception_steps)?this.To(e):e;try{var a=this._instance.capture("$exception",o,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return a&&this.bo.clear(),a}catch(n){return wi.error("Failed to capture exception event. Dropping this exception.",n),void this.bo.clear()}}catch(n){return void wi.error("Failed to process exception event. Ignoring this exception.",n)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:Ne({},e,{$exception_steps:t})}catch(o){return wi.error("Failed to read buffered exception steps. Capturing exception without steps.",o),e}}So(e){this.mo.enabled&&this.bo.add({[qf]:e,[$f]:new Date().toISOString()})}wo(e){return Bo(e)?Ne({},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(((o,a)=>{var{type:n,value:i}=a;return Co(n)&&n.length>0&&o.$exception_types.push(n),Co(i)&&i.length>0&&o.$exception_values.push(i),o}),{$exception_types:[],$exception_values:[]});return this.fo.some((o=>{var a=o.values.map((n=>{var i,l=Zj[n.operator],c=Bt(n.value)?n.value:[n.value],d=(i=t[n.key])!==null&&i!==void 0?i:[];return c.length>0&&l(c,d)}));return o.type==="OR"?a.some(Boolean):a.every(Boolean)}))}xo(e){return e.flatMap((t=>{var o,a;return(o=(a=t.stacktrace)==null?void 0:a.frames)!==null&&o!==void 0?o:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}ko(e){if(e.length>0){var t,o,a,n,i=(t=(o=e[0].stacktrace)==null?void 0:o.frames)!==null&&t!==void 0?t:[],l=i[i.length-1];return(a=l==null||(n=l.filename)==null?void 0:n.includes("posthog.com/static"))!==null&&a!==void 0&&a}return!1}Io(e){return!Et(e)&&Bt(e)}}},Sse=Ne({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({[Ax]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Ao||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(Ax)||this.ur((()=>this.Ro()))}ur(e){var t,o;(t=tt.__PosthogExtensions__)!=null&&t.generateProductTours?e():(o=tt.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"product-tours",(a=>{a?HO.error("Could not load product tours script",a):e()}))}Ro(){var e;!this.Ao&&(e=tt.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Ao=tt.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!Bt(this.Eo)||t){var o=this.ni;if(o){var a=o.props[rf];if(Bt(a)&&!t)return this.Eo=a,void e(a,{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 i=n.statusCode;if(i!==200||!n.json){var l="Product Tours API could not be loaded, status: "+i;return HO.error(l),void e([],{isLoaded:!1,error:l})}var c=Bt(n.json.product_tours)?n.json.product_tours:[];this.Eo=c,o&&o.register({[rf]:c}),e(c,{isLoaded:!0})}})}else e(this.Eo,{isLoaded:!0})}getActiveProductTours(e){Et(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(rf)}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)}}},Kv),wse={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 o=this.globalsForEvent(t);this.No.push(o),this.No.length>1e3&&(this.No=this.No.slice(10))}}get siteAppLoaders(){var e;return(e=tt._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,o,a,n,i,l,c;if(!e)throw new Error("Event payload is required");var d={},p=this._instance.get_property("$groups")||[],m=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(m))d[h]={id:p[h],type:h,properties:f};var{$set_once:v,$set:b}=e;return{event:Ne({},QF(e,use),{properties:Ne({},e.properties,b?{$set:Ne({},(t=(o=e.properties)==null?void 0:o.$set)!==null&&t!==void 0?t:{},b)}:{},v?{$set_once:Ne({},(a=(n=e.properties)==null?void 0:n.$set_once)!==null&&a!==void 0?a:{},v)}:{}),elements_chain:(i=(l=e.properties)==null?void 0:l.$elements_chain)!==null&&i!==void 0?i:"",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],o=()=>{var l;!t.errored&&this.No.length&&(ms.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))&&((l=this.Fo)==null||l.call(this))},a=!1,n=l=>{t.errored=!l,t.loaded=!0,ms.info("Site app with id "+e.id+" "+(l?"loaded":"errored")),a&&o()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(l){n(l)}});i&&(t.processEvent=i),a=!0}catch(l){ms.error(GO+e.id,l),n(!1)}if(a&&t.loaded)try{o()}catch(l){ms.error("Error while processing buffered events PostHog app with config id "+e.id,l),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 o of e)this.setupSiteApp(o)}Po(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var o of Object.values(this.apps))try{o.processEvent==null||o.processEvent(t)}catch(a){ms.error("Error while processing event "+e.event+" for site app "+o.id,a)}}}onRemoteConfig(e){var t,o,a,n=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Oo(),void this._instance.on("eventCaptured",(d=>this.Po(d)))):void ms.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((o=this.Fo)==null||o.call(this),(a=e.siteApps)!=null&&a.length)if(this.isEnabled){var i=function(d){var p;tt["__$$ph_site_app_"+d]=n._instance,(p=tt.__PosthogExtensions__)==null||p.loadSiteApp==null||p.loadSiteApp(n._instance,c,(m=>{if(m)return ms.error(GO+d,m)}))};for(var{id:l,url:c}of e.siteApps)i(l)}else ms.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},xse={tracingHeaders:class{constructor(e){this.Lo=void 0,this.Do=void 0,this.so=()=>{var t,o,a=this.Bo()||[];$e(this.Lo)&&((t=tt.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(a,this._instance.get_distinct_id(),this._instance.sessionManager)),$e(this.Do)&&((o=tt.__PosthogExtensions__)==null||(o=o.tracingHeadersPatchFns)==null||o._patchFetch(a,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}ur(e){var t,o;(t=tt.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(o=tt.__PosthogExtensions__)==null||o.loadExternalDependency==null||o.loadExternalDependency(this._instance,"tracing-headers",(a=>{if(a)return cse.error("failed to load script",a);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)}}},Tse=Ne({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(Et(t))return oo.warn("Flags not loaded yet. Not loading surveys.");var o=Bt(t);this.jo=o?t.length>0:t,oo.info("flags response received, isSurveysEnabled: "+this.jo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var o=localStorage.key(t);(o!=null&&o.startsWith(Yx)||o!=null&&o.startsWith("inProgressSurvey_"))&&e.push(o)}e.forEach((a=>localStorage.removeItem(a)))}loadIfEnabled(){if(!this._surveyManager)if(this.$o)oo.info("Already initializing surveys, skipping...");else if(this.Bt.disable_surveys)oo.info(WO);else if(this.Bt.cookieless_mode&&this._instance.consent.isOptedOut())oo.info("Not loading surveys in cookieless mode without consent.");else{var e=tt?.__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 o=e.generateSurveys;if(o)return void this.Vo(o,t);var a=e.loadExternalDependency;if(!a)return void this.Ho(Yk);a(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 oo.error("PostHog Extensions not found.")}}Vo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new hse(this._instance),oo.info("Surveys loaded successfully"),this.zo({isLoaded:!0})}Ho(e,t){oo.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 oo.info(WO),e([]);var o,a=this._instance.get_property(Nx);if(a&&!t)return e(a,{isLoaded:!0});typeof Promise<"u"&&this.Zo?this.Zo.then((n=>{var{surveys:i,context:l}=n;return e(i,l)})):(typeof Promise<"u"&&(this.Zo=new Promise((n=>{o=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 i;this.Zo=null;var l=n.statusCode;if(l!==200||!n.json){var c="Surveys API could not be loaded, status: "+l;oo.error(c);var d={isLoaded:!1,error:c};return e([],d),void(o==null||o({surveys:[],context:d}))}var p,m=n.json.surveys||[],h=m.filter((v=>(function(b){return!(!b.start_date||b.end_date)})(v)&&((function(b){var S;return!((S=b.conditions)==null||(S=S.events)==null||(S=S.values)==null||!S.length)})(v)||(function(b){var S;return!((S=b.conditions)==null||(S=S.actions)==null||(S=S.values)==null||!S.length)})(v))));h.length>0&&((p=this._surveyEventReceiver)==null||p.register(h)),(i=this._instance.persistence)==null||i.register({[Nx]:m});var f={isLoaded:!0};e(m,f),o?.({surveys:m,context:f})}}))}zo(e){for(var t of this.qo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(o){oo.error("Error in survey callback",o)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Et(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);oo.warn("init was not called")}Uo(e){var t=null;return this.getSurveys((o=>{var a;t=(a=o.find((n=>n.id===e)))!==null&&a!==void 0?a:null})),t}Yo(e){if(Et(this._surveyManager))return{eligible:!1,reason:Bw};var t=typeof e=="string"?this.Uo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Et(this._surveyManager))return oo.warn("init was not called"),{visible:!1,disabledReason:Bw};var t=this.Yo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Et(this._surveyManager)?(oo.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:Bw})):new Promise((o=>{this.getSurveys((a=>{var n,i=(n=a.find((c=>c.id===e)))!==null&&n!==void 0?n:null;if(i){var l=this.Yo(i);o({visible:l.eligible,disabledReason:l.reason})}else o({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,o){var a;if(Et(this._surveyManager))oo.warn("init was not called");else{var n=typeof e=="string"?this.Uo(e):e;if(n!=null&&n.id)if(Kie.includes(n.type)){var i=ze?.querySelector(t);if(i)return(a=n.appearance)!=null&&a.surveyPopupDelaySeconds?(oo.info("Rendering survey "+n.id+" with delay of "+n.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var l,c;oo.info("Rendering survey "+n.id+" with delay of "+((l=n.appearance)==null?void 0:l.surveyPopupDelaySeconds)+" seconds"),(c=this._surveyManager)==null||c.renderSurvey(n,i,o),oo.info("Survey "+n.id+" rendered")}),1e3*n.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(n,i,o);oo.warn("Survey element not found")}else oo.warn("Surveys of type "+n.type+" cannot be rendered in the app");else oo.warn("Survey not found")}}displaySurvey(e,t){var o;if(Et(this._surveyManager))oo.warn("init was not called");else{var a=this.Uo(e);if(a){var n=a;if((o=a.appearance)!=null&&o.surveyPopupDelaySeconds&&t.ignoreDelay&&(n=Ne({},a,{appearance:Ne({},a.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==$x.Popover&&t.initialResponses&&oo.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(a);if(!i.visible)return void oo.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==$x.Inline?this._surveyManager.handlePopoverSurvey(n,t):this.renderSurvey(n,t.selector,t.properties)}else oo.warn("Survey not found")}}cancelPendingSurvey(e){Et(this._surveyManager)?oo.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Kv),kse={toolbar:class{constructor(e){this.instance=e}Go(e){tt.ph_toolbar_state=e}Wo(){var e;return(e=tt.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,o){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),Dj(this.instance.config)||!ge||!ze)return!1;e=e??ge.location,o=o??ge.history;try{if(!t){try{ge.localStorage.setItem("test","test"),ge.localStorage.removeItem("test")}catch{return!1}t=ge?.localStorage}var a,n=gse||tv(e.hash,"__posthog")||tv(e.hash,"state"),i=n?cO((()=>JSON.parse(atob(decodeURIComponent(n)))))||cO((()=>JSON.parse(decodeURIComponent(n)))):null;return i&&i.action==="ph_authorize"?((a=i).source="url",a&&Object.keys(a).length>0&&(i.desiredHash?e.hash=i.desiredHash:o?o.replaceState(o.state,"",e.pathname+e.search):e.hash="")):((a=JSON.parse(t.getItem(KO)||"{}")).source="localstorage",delete a.userIntent),!(!a.token||this.instance.config.token!==a.token||(this.loadToolbar(a),0))}catch{return!1}}Xo(e){var t=tt.ph_load_toolbar||tt.ph_load_editor;!Et(t)&&Ti(t)?t(e,this.instance):YO.warn("No toolbar load function found")}loadToolbar(e){var t=!(ze==null||!ze.getElementById(Ej));if(!ge||t)return!1;var o=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,a=Ne({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},o?{instrument:!1}:{});if(ge.localStorage.setItem(KO,JSON.stringify(Ne({},a,{source:void 0}))),this.Wo()===2)this.Xo(a);else if(this.Wo()===0){var n;this.Go(1),(n=tt.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return YO.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Xo(a)})),Zo(ge,"turbolinks:load",(()=>{this.Go(0),this.loadToolbar(a)}))}return!0}Jo(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,o){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),o===void 0&&(o=void 0),this.maybeLoadToolbar(e,t,o)}}},_se=Ne({experiments:Ma},Kv),Cse={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;Et(t)||(qr(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||Dj(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=tt?.__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 o=e.loadExternalDependency;if(!o)return void this.ra(Yk);o(this._instance,"conversations",(a=>{a||!e.initConversations?this.ra("Could not load conversations script",a):this.ta(e.initConversations),this.Qo=!1}))}catch(a){this.ra("Error initializing conversations",a),this.Qo=!1}}else Hn.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Hn.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Hn.error("Cannot complete initialization: remote config is null")}ra(e,t){Hn.error(e,t),this._conversationsManager=null,this.Qo=!1}show(){this._conversationsManager?this._conversationsManager.show():Hn.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Ko===!0&&!Ni(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,o){var a=this;return Kn((function*(){return a._conversationsManager?a._conversationsManager.sendMessage(e,t,o):(Hn.warn(hl),null)}))()}getMessages(e,t){var o=this;return Kn((function*(){return o._conversationsManager?o._conversationsManager.getMessages(e,t):(Hn.warn(hl),null)}))()}markAsRead(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Hn.warn(hl),null)}))()}getTickets(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Hn.warn(hl),null)}))()}requestRestoreLink(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Hn.warn(hl),null)}))()}restoreFromToken(e){var t=this;return Kn((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Hn.warn(hl),null)}))()}restoreFromUrlToken(){var e=this;return Kn((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Hn.warn(hl),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()}}},Ese={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=xo("[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,o=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Et(o)&&o&&(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=tt?.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",(o=>{var a;o||(a=e.logs)==null||!a.initializeLogs?this.Gt.error("Could not load logs script",o):(e.logs.initializeLogs(this._instance),this.na=!0)})):this.Gt.error(Yk)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,o,a,n,i,l;if(this._instance.is_capturing())if(e&&e.body){var c=(t=(o=this._instance.config.logs)==null?void 0:o.flushIntervalMs)!==null&&t!==void 0?t:3e3,d=(a=(n=this._instance.config.logs)==null?void 0:n.maxLogsPerInterval)!==null&&a!==void 0?a:1e3,p=Date.now();if(c>p-this.aa||(this.aa=p,this.oa=0,this.la=!1),d>this.oa){this.oa++;var m=(function(h,f){var v=h.level||"info",{text:b,number:S}=vj[v]||$re,k=String(Date.now())+"000000",x={};f.distinctId&&(x.posthogDistinctId=f.distinctId),f.sessionId&&(x.sessionId=f.sessionId),f.currentUrl&&(x["url.full"]=f.currentUrl),f.screenName&&(x["screen.name"]=f.screenName),f.appState&&(x["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(x.feature_flags=f.activeFeatureFlags);var T=Ne({},x,h.attributes||{}),P={timeUnixNano:k,observedTimeUnixNano:k,severityNumber:S,severityText:b,body:{stringValue:h.body},attributes:iO(T)};return h.trace_id&&(P.traceId=h.trace_id),h.span_id&&(P.spanId=h.span_id),$e(h.trace_flags)||(P.flags=h.trace_flags),P})(e,this.ua());this.sa.push({record:m}),((i=(l=this._instance.config.logs)==null?void 0:l.maxBufferSize)!==null&&i!==void 0?i: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 o=this._instance.config.logs,a=Ne({"service.name":o?.serviceName||"unknown_service"},o?.environment&&{"deployment.environment":o.environment},o?.serviceVersion&&{"service.version":o.serviceVersion},o?.resourceAttributes),n=(function(l,c,d,p){return{resourceLogs:[{resource:{attributes:iO(c)},scopeLogs:[{scope:{name:d,version:p},logRecords:l}]}]}})(t.map((l=>l.record)),a,Ga.LIB_NAME,Ga.LIB_VERSION),i=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Vi({method:"POST",url:i,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:o}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=o}if(tt!=null&&(e=tt.location)!=null&&e.href&&(t.currentUrl=tt.location.href),this._instance.featureFlags){var a=this._instance.featureFlags.getFlags();a&&a.length>0&&(t.activeFeatureFlags=a)}return t}}},Pse=Ne({},Kv,vse,bse,yse,Sse,wse,Tse,xse,kse,_se,Cse,Ese);Yn.__defaultExtensionClasses=Ne({},Pse);var XO,Ii=(XO=mp[Zc]=new Yn,(function(){function e(){e.done||(e.done=!0,Xj=!1,vo(mp,(function(t){t._dom_loaded()})))}ze!=null&&ze.addEventListener?ze.readyState==="complete"?e():Zo(ze,"DOMContentLoaded",e,{capture:!1}):ge&&Ue.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),XO);let Ri=!1,eT=null,e2=!1;const o_="studio:lp-distinct-id",l3="mesh:lp-distinct-id",jw="/api/_reports/link-token/",Ase=1440*60*1e3;function c3(e){const t="https://analytics.invalid",o=/^[a-z][a-z\d+.-]*:\/\//i.test(e),a=e.startsWith("//");try{const n=new URL(e,t);let i=!1;for(const l of["key","d"])n.searchParams.has(l)&&(n.searchParams.delete(l),i=!0);return n.pathname.startsWith(jw)&&n.pathname!==jw&&(n.pathname=`${jw}redacted`,i=!0),i?o?n.toString():a?`//${n.host}${n.pathname}${n.search}${n.hash}`:`${n.pathname}${n.search}${n.hash}`:e}catch{return e}}function zw(e){return Object.fromEntries(Object.entries(e).map(([t,o])=>[t,typeof o=="string"?c3(o):o]))}const Rse=e=>e?(e.properties=zw(e.properties),e.$set&&(e.$set=zw(e.$set)),e.$set_once&&(e.$set_once=zw(e.$set_once)),e):null;function d3(){try{const e=window.localStorage.getItem(o_)??window.localStorage.getItem(l3);if(!e)return;const{id:t,ts:o}=JSON.parse(e);return typeof t!="string"||!t||typeof o!="number"?void 0:Date.now()-o<=Ase?t:void 0}catch{return}}function Dse(){try{window.localStorage.removeItem(o_),window.localStorage.removeItem(l3)}catch{}}function Ose(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(o_,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const o=t??d3();return o?Object.keys(window.localStorage).some(n=>n.startsWith("ph_")&&n.endsWith("_posthog"))?void 0:o:void 0}catch{return}}function Mse(e){const t=d3();if(t&&(Dse(),t!==e))try{Ii.alias(t)}catch{}}function Nse(e,t){if(Ri||typeof window>"u")return;const o=Ose();Ii.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...o?{bootstrap:{distinctID:o}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:Rse,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:a=>({...a,...typeof a.name=="string"?{name:c3(a.name)}:{}})},person_profiles:"identified_only"}),Ri=!0}function Ise(e,t){Ri&&(Ii.identify(e,t),Mse(e))}function Lse(){Ri&&(Ii.reset(),eT=null)}function u3(e,t){Ri&&Ii.capture(e,t)}function Rbe(){return Ri}function Dbe(){if(!Ri||e2||typeof performance>"u")return;e2=!0;const e=performance.getEntriesByType("navigation")[0],t=o=>{const a=performance.getEntriesByName(o,"measure")[0];return a?Math.round(a.duration):void 0};u3("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:aZ(),org_cache_restored:nZ()})}function Obe(e,t){Ri&&e!==eT&&(Ii.group("organization",e,t),eT=e)}function p3(e,t){if(Ri)try{Ii.captureException(e,t)}catch{}}const Bse=["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 Fse(e){const t=Ce.c(3),{children:o}=e;let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=w.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:Bse}}),t[0]=a):a=t[0];let n;return t[1]!==o?(n=w.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[a,w.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:o})]}),t[1]=o,t[2]=n):n=t[2],n}function m3(e){const t=Ce.c(20),{orgName:o}=e,a=ar(),n=jse;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=w.jsx("div",{className:"bg-muted p-3 rounded-full","aria-hidden":"true",children:w.jsx(RF,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=i):i=t[0];let l;t[1]!==a?(l=a("common.archivedOrgScreen.orgUnavailable"),t[1]=a,t[2]=l):l=t[2];let c;t[3]!==l?(c=w.jsx("h3",{className:"text-lg font-medium",children:l}),t[3]=l,t[4]=c):c=t[4];let d;t[5]!==o||t[6]!==a?(d=o?a("common.archivedOrgScreen.deletedWithName",{orgName:o}):a("common.archivedOrgScreen.deletedGeneric"),t[5]=o,t[6]=a,t[7]=d):d=t[7];let p;t[8]!==d?(p=w.jsx("p",{className:"text-sm text-muted-foreground",children:d}),t[8]=d,t[9]=p):p=t[9];let m;t[10]!==c||t[11]!==p?(m=w.jsxs("div",{className:"space-y-2",children:[c,p]}),t[10]=c,t[11]=p,t[12]=m):m=t[12];let h;t[13]!==a?(h=a("common.goHome"),t[13]=a,t[14]=h):h=t[14];let f;t[15]!==h?(f=w.jsx(Ai,{onClick:n,children:h}),t[15]=h,t[16]=f):f=t[16];let v;return t[17]!==m||t[18]!==f?(v=w.jsxs(Fse,{children:[i,m,f]}),t[17]=m,t[18]=f,t[19]=v):v=t[19],v}function jse(){window.location.href="/"}function zse(){const e=Ce.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:o}=qp(t);let a;return e[1]!==o?(a=w.jsx(Ai,{variant:"outline",size:"sm",asChild:!0,children:w.jsx(Il,{to:"/$org/settings/profile",params:{org:o},children:"Go to your profile"})}),e[1]=o,e[2]=a):a=e[2],a}function Use(e){const t=Ce.c(13),{area:o,description:a,action:n}=e,i=o?`No access to ${o}`:"No access",l=a??"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=w.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:w.jsx(jF,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==i?(d=w.jsx("h3",{className:"text-lg font-medium",children:i}),t[1]=i,t[2]=d):d=t[2];let p;t[3]!==l?(p=w.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=p):p=t[4];let m;t[5]!==d||t[6]!==p?(m=w.jsxs("div",{className:"space-y-1",children:[d,p]}),t[5]=d,t[6]=p,t[7]=m):m=t[7];let h;t[8]!==n?(h=n??w.jsx(zse,{}),t[8]=n,t[9]=h):h=t[9];let f;return t[10]!==m||t[11]!==h?(f=w.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 t2="__studio_chunk_reload_ts";function h3(e){return e?.message===OQ}function qse(e){return!!e?.message?.includes("Access denied")}function o2(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 $se extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o),p3(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:o.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:o}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:h3(this.state.error)?w.jsx(m3,{}):qse(this.state.error)?w.jsx(Use,{}):w.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:w.jsx(jk,{className:"h-6 w-6 text-destructive"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:o("common.errorBoundary.somethingWentWrong")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||o("common.errorBoundary.unexpectedError")})]}),w.jsx(Ai,{variant:"outline",onClick:this.resetError,children:o("common.errorBoundary.tryAgain")})]})}return this.props.children}}function Vse(e){const t=Ce.c(3),o=ar();let a;return t[0]!==e||t[1]!==o?(a=w.jsx($se,{...e,t:o}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}class Hse extends A.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,o){console.error("Uncaught error:",t,o);const a=o2(t);if(p3(t,{boundary:"chunk_root",is_chunk_load_error:a,error_name:t.name,error_message:t.message,component_stack:o.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!a)return;const n=sessionStorage.getItem(t2),i=Date.now();(!n||i-Number(n)>1e4)&&(sessionStorage.setItem(t2,String(i)),window.location.reload())}render(){const{t}=this.props;return this.state.hasError&&o2(this.state.error)?w.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:w.jsx(zF,{className:"h-6 w-6 text-primary"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.newVersionAvailable")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:t("common.errorBoundary.newVersionDeployed")})]}),w.jsx(Ai,{onClick:()=>window.location.reload(),children:t("common.errorBoundary.refresh")})]}):this.state.hasError?h3(this.state.error)?w.jsx(m3,{}):w.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[w.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:w.jsx(jk,{className:"h-6 w-6 text-destructive"})}),w.jsxs("div",{className:"space-y-2",children:[w.jsx("h3",{className:"text-lg font-medium",children:t("common.errorBoundary.somethingWentWrong")}),w.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||t("common.errorBoundary.unexpectedError")})]}),w.jsx(Ai,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:t("common.errorBoundary.tryAgain")})]}):this.props.children}}function Gse(e){const t=Ce.c(3),o=ar();let a;return t[0]!==e||t[1]!==o?(a=w.jsx(Hse,{...e,t:o}),t[0]=e,t[1]=o,t[2]=a):a=t[2],a}const Wse=Jp("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 Kse(e){const t=Ce.c(14);let o,a,n,i,l;t[0]!==e?({className:o,size:i,interactive:a,asChild:l,...n}=e,t[0]=e,t[1]=o,t[2]=a,t[3]=n,t[4]=i,t[5]=l):(o=t[1],a=t[2],n=t[3],i=t[4],l=t[5]);const d=(l===void 0?!1:l)?Iv:"div";let p;t[6]!==o||t[7]!==a||t[8]!==i?(p=ut(Wse({size:i,interactive:a}),o),t[6]=o,t[7]=a,t[8]=i,t[9]=p):p=t[9];let m;return t[10]!==d||t[11]!==n||t[12]!==p?(m=w.jsx(d,{"data-slot":"card",className:p,...n}),t[10]=d,t[11]=n,t[12]=p,t[13]=m):m=t[13],m}function Mbe(e){const t=Ce.c(11),{title:o,description:a,docsHref:n,actions:i,className:l,children:c}=e;let d;t[0]!==l?(d=ut("flex flex-col gap-3",l),t[0]=l,t[1]=d):d=t[1];let p;t[2]!==i||t[3]!==a||t[4]!==n||t[5]!==o?(p=(o||a||n||i)&&w.jsxs("div",{className:"flex items-center justify-between gap-3 px-4",children:[w.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[o&&w.jsx("h2",{className:"text-base font-medium leading-tight",children:o}),(a||n)&&w.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[a,n&&w.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",w.jsx(DF,{size:12})]})]})]}),i&&w.jsx("div",{className:"shrink-0",children:i})]}),t[2]=i,t[3]=a,t[4]=n,t[5]=o,t[6]=p):p=t[6];let m;return t[7]!==c||t[8]!==d||t[9]!==p?(m=w.jsxs("section",{className:d,children:[p,c]}),t[7]=c,t[8]=d,t[9]=p,t[10]=m):m=t[10],m}function Nbe(e){const t=Ce.c(11),{className:o,children:a}=e;let n,i,l;if(t[0]!==a||t[1]!==o){const d=A.Children.toArray(a).filter(A.isValidElement);n=Kse,t[5]!==o?(i=ut("p-0 gap-0 overflow-hidden",o),t[5]=o,t[6]=i):i=t[6],l=d.map(Yse),t[0]=a,t[1]=o,t[2]=n,t[3]=i,t[4]=l}else n=t[2],i=t[3],l=t[4];let c;return t[7]!==n||t[8]!==i||t[9]!==l?(c=w.jsx(n,{className:i,children:l}),t[7]=n,t[8]=i,t[9]=l,t[10]=c):c=t[10],c}function Yse(e,t){return w.jsxs("div",{children:[t>0&&w.jsx("div",{className:"h-px bg-border mx-5"}),e]},t)}function Ibe(e){const t=Ce.c(27),{icon:o,title:a,description:n,action:i,onClick:l,className:c,children:d}=e,p=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",m=l&&"hover:bg-accent cursor-pointer";let h;t[0]!==c||t[1]!==p||t[2]!==m?(h=ut(p,m,c),t[0]=c,t[1]=p,t[2]=m,t[3]=h):h=t[3];const f=l?"button":void 0,v=l?0:void 0;let b;t[4]!==l?(b=l?E=>{E.target===E.currentTarget&&(E.key==="Enter"||E.key===" ")&&(E.preventDefault(),l())}:void 0,t[4]=l,t[5]=b):b=t[5];let S;t[6]!==o?(S=o&&w.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:o}),t[6]=o,t[7]=S):S=t[7];let k;t[8]!==a?(k=w.jsx("div",{className:"text-sm font-medium",children:a}),t[8]=a,t[9]=k):k=t[9];let x;t[10]!==n?(x=n&&w.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:n}),t[10]=n,t[11]=x):x=t[11];let T;t[12]!==d||t[13]!==k||t[14]!==x?(T=w.jsxs("div",{className:"flex-1 min-w-0",children:[k,x,d]}),t[12]=d,t[13]=k,t[14]=x,t[15]=T):T=t[15];let P;t[16]!==i?(P=i&&w.jsx("div",{className:"shrink-0",onClick:Zse,children:i}),t[16]=i,t[17]=P):P=t[17];let C;return t[18]!==l||t[19]!==T||t[20]!==P||t[21]!==h||t[22]!==f||t[23]!==v||t[24]!==b||t[25]!==S?(C=w.jsxs("div",{className:h,onClick:l,role:f,tabIndex:v,onKeyDown:b,children:[S,T,P]}),t[18]=l,t[19]=T,t[20]=P,t[21]=h,t[22]=f,t[23]=v,t[24]=b,t[25]=S,t[26]=C):C=t[26],C}function Zse(e){return e.stopPropagation()}function Lbe(e){const t=Ce.c(5),{className:o,children:a}=e;let n;t[0]!==o?(n=ut("px-4 py-4",o),t[0]=o,t[1]=n):n=t[1];let i;return t[2]!==a||t[3]!==n?(i=w.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=i):i=t[4],i}function Bbe(e){const t=Ce.c(5),{children:o,className:a}=e;let n;t[0]!==a?(n=ut("flex items-center justify-end gap-2 px-4 py-4",a),t[0]=a,t[1]=n):n=t[1];let i;return t[2]!==o||t[3]!==n?(i=w.jsx("div",{className:n,children:o}),t[2]=o,t[3]=n,t[4]=i):i=t[4],i}function Qse(e){const t=Ce.c(5),{className:o,children:a}=e;let n;t[0]!==o?(n=ut("flex flex-col gap-10",o),t[0]=o,t[1]=n):n=t[1];let i;return t[2]!==a||t[3]!==n?(i=w.jsx("div",{className:n,children:a}),t[2]=a,t[3]=n,t[4]=i):i=t[4],i}const Yv={connect:{key:"connect",titleKey:"settings.connectClients.pageTitle",tabs:[],ownedRoutes:["/$org/settings/api-keys"]},members:{key:"members",titleKey:"orgs.members.title",tabs:[{key:"members",icon:$F,labelKey:"orgs.members.title",to:"/$org/settings/members",requires:"members:manage"},{key:"roles",icon:qF,labelKey:"settings.roles.pageTitle",to:"/$org/settings/roles",privilegedOnly:!0}]},billing:{key:"billing",titleKey:"settings.nav.billing",tabs:[{key:"ai-providers",icon:NF,labelKey:"settings.nav.aiProviders",to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"infra",icon:UF,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:BF,labelKey:"settings.nav.buckets",to:"/$org/settings/buckets",requires:"file-configs:manage"},{key:"synced-repos",icon:LF,labelKey:"settings.nav.syncedRepos",to:"/$org/settings/synced-repos",requires:"file-configs:manage"}]}};function Fbe(e){const t=Yv[e];return[...t.tabs.map(o=>o.to),...t.ownedRoutes??[]]}function jbe(e){return Yv[e].tabs.length>0}const Jse=new Set(["owner","admin"]);function g3(){const e=Ce.c(11),{org:t,locator:o}=Qp();let a;e[0]!==o?(a=hn.myCapabilities(o),e[0]=o,e[1]=a):a=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 i;e[4]!==a||e[5]!==n?(i={queryKey:a,queryFn:n,staleTime:3e4,retry:2},e[4]=a,e[5]=n,e[6]=i):i=e[6];const{data:l,isLoading:c,isError:d}=Dd(i);let p;return e[7]!==l||e[8]!==d||e[9]!==c?(p={data:l,loading:c,error:d},e[7]=l,e[8]=d,e[9]=c,e[10]=p):p=e[10],p}function zbe(e){const t=Ce.c(8),{data:o,loading:a,error:n}=g3();if(a){let p;return t[0]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!0,error:!1,reason:"loading"},t[0]=p):p=t[0],p}if(n){let p;return t[1]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!1,error:!0,reason:"error"},t[1]=p):p=t[1],p}const i=o?.role??null;if(!i){let p;return t[2]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!1,loading:!1,error:!1,reason:"denied"},t[2]=p):p=t[2],p}if(i==="owner"){let p;return t[3]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!0,loading:!1,error:!1,reason:"owner"},t[3]=p):p=t[3],p}if(i==="admin"){let p;return t[4]===Symbol.for("react.memo_cache_sentinel")?(p={granted:!0,loading:!1,error:!1,reason:"admin"},t[4]=p):p=t[4],p}const l=o?.capabilities?.[e]===!0,c=l?"role":"denied";let d;return t[5]!==l||t[6]!==c?(d={granted:l,loading:!1,error:!1,reason:c},t[5]=l,t[6]=c,t[7]=d):d=t[7],d}function f3(){const e=Ce.c(10),{data:t,loading:o,error:a}=g3(),n=t?.role??void 0;let i;e[0]!==n?(i=n?Jse.has(n):!1,e[0]=n,e[1]=i):i=e[1];const l=i;let c;e[2]!==t?.capabilities?(c=t?.capabilities??{},e[2]=t?.capabilities,e[3]=c):c=e[3];const d=c;let p;return e[4]!==a||e[5]!==l||e[6]!==o||e[7]!==n||e[8]!==d?(p={capabilities:d,loading:o,error:a,isPrivileged:l,roleSlug:n},e[4]=a,e[5]=l,e[6]=o,e[7]=n,e[8]=d,e[9]=p):p=e[9],p}function Xse(){const e=Ce.c(13),{org:t}=Qp(),o=ck(),{capabilities:a,isPrivileged:n}=f3(),i=n||!!a["members:manage"];let l;e[0]!==t.id?(l=hn.infraBillingSites(t.id),e[0]=t.id,e[1]=l):l=e[1];const c=!!t.id&&i;let d;e[2]!==o?(d=()=>o.call("INFRA_BILLING_SITES_LIST",{}),e[2]=o,e[3]=d):d=e[3];let p;e[4]!==l||e[5]!==c||e[6]!==d?(p={queryKey:l,staleTime:3e5,enabled:c,queryFn:d},e[4]=l,e[5]=c,e[6]=d,e[7]=p):p=e[7];const{data:m,isLoading:h}=Dd(p);let f;e[8]!==m?.sites?(f=m?.sites.map(ele)??[],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 ele(e){return e.slug}function Ube(){const e=Ce.c(7),t=ck(),o=ar();let a;e[0]!==t?(a=l=>t.call("INFRA_BILLING_PORTAL",{siteSlugs:l}),e[0]=t,e[1]=a):a=e[1];let n;e[2]!==o?(n=l=>yd.error(o("settings.infraBilling.portalError",{message:l.message})),e[2]=o,e[3]=n):n=e[3];let i;return e[4]!==a||e[5]!==n?(i={mutationFn:a,onSuccess:tle,onError:n},e[4]=a,e[5]=n,e[6]=i):i=e[6],Qg(i)}function tle(e){const{url:t}=e;return window.open(t,"_blank","noopener,noreferrer")}function qbe(e,t){const o=Ce.c(14),{org:a}=Qp(),n=ck();let i,l,c;o[0]!==a.id||o[1]!==t||o[2]!==e?(i=[...e].sort(),c=Dd,l=hn.infraBilling(a.id,i.join(","),t),o[0]=a.id,o[1]=t,o[2]=e,o[3]=i,o[4]=l,o[5]=c):(i=o[3],l=o[4],c=o[5]);const d=i.length>0;let p;o[6]!==t||o[7]!==i||o[8]!==n?(p=()=>n.call("INFRA_BILLING_GET",{siteSlugs:i,period:t}),o[6]=t,o[7]=i,o[8]=n,o[9]=p):p=o[9];let m;return o[10]!==l||o[11]!==d||o[12]!==p?(m={queryKey:l,enabled:d,staleTime:6e4,queryFn:p},o[10]=l,o[11]=d,o[12]=p,o[13]=m):m=o[13],c(m)}function ole(){const e=Ce.c(7),{capabilities:t,isPrivileged:o,loading:a,error:n}=f3(),{sites:i,isLoading:l}=Xse(),c=i.length>0;let d;if(e[0]!==t||e[1]!==n||e[2]!==o||e[3]!==a||e[4]!==c||e[5]!==l){const p=m=>m.requiresOwnedSites&&!c&&!l?!1:a||n?!0:m.privilegedOnly?o:m.requires?o||t[m.requires]:!0;d=Object.fromEntries(Object.values(Yv).map(m=>[m.key,m.tabs.filter(p)])),e[0]=t,e[1]=n,e[2]=o,e[3]=a,e[4]=c,e[5]=l,e[6]=d}else d=e[6];return d}function ale(e){const t=Ce.c(16),{group:o}=e,a=ar();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},t[0]=n):n=t[0];const{org:i}=qp(n);let l;t[1]===Symbol.for("react.memo_cache_sentinel")?(l={select:nle},t[1]=l):l=t[1];const c=NT(l),d=ole()[o],{titleKey:p}=Yv[o];let m;t[2]!==a||t[3]!==p?(m=a(p),t[2]=a,t[3]=p,t[4]=m):m=t[4];let h;t[5]!==m?(h=w.jsx(ld.Title,{children:m}),t[5]=m,t[6]=h):h=t[6];let f;t[7]!==o||t[8]!==i||t[9]!==c||t[10]!==a||t[11]!==d?(f=d.length>1&&w.jsx(ln.Toolbar.Left.Portal,{children:w.jsx(ld.Tabs,{"data-testid":"settings-subnav","aria-label":a("settings.subnav.ariaLabel"),children:d.map(b=>{const S=b.to.replace("$org",i),k=c===S||c.startsWith(`${S}/`);return w.jsx(ld.Tab,{active:k,asChild:!0,children:w.jsx(Il,{to:b.to,params:{org:i},onClick:()=>u3("settings_subnav_clicked",{group_key:o,tab_key:b.key}),children:a(b.labelKey)})},b.key)})})}),t[7]=o,t[8]=i,t[9]=c,t[10]=a,t[11]=d,t[12]=f):f=t[12];let v;return t[13]!==h||t[14]!==f?(v=w.jsxs(w.Fragment,{children:[h,f]}),t[13]=h,t[14]=f,t[15]=v):v=t[15],v}function nle(e){return e.location.pathname}function v3(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=w.jsxs("div",{"data-testid":"settings-content-loading",className:"flex flex-col gap-4",children:[w.jsx(kD,{className:"h-32 w-full"}),w.jsx(kD,{className:"h-32 w-full"})]}),e[0]=t):t=e[0],t}function rle(e){const t=Ce.c(14),{group:o,fallback:a,errorFallback:n,className:i,children:l}=e;let c;t[0]!==o?(c=w.jsx(ale,{group:o}),t[0]=o,t[1]=c):c=t[1];let d;t[2]!==a?(d=a??w.jsx(v3,{}),t[2]=a,t[3]=d):d=t[3];let p;t[4]!==l||t[5]!==d?(p=w.jsx(A.Suspense,{fallback:d,children:l}),t[4]=l,t[5]=d,t[6]=p):p=t[6];let m;t[7]!==n||t[8]!==p?(m=w.jsx(Vse,{fallback:n,children:p}),t[7]=n,t[8]=p,t[9]=m):m=t[9];let h;return t[10]!==i||t[11]!==c||t[12]!==m?(h=w.jsx(ld,{children:w.jsx(ld.Content,{children:w.jsx(ld.Container,{children:w.jsxs(Qse,{className:i,children:[c,m]})})})}),t[10]=i,t[11]=c,t[12]=m,t[13]=h):h=t[13],h}function Li(e){return function(){return w.jsx(rle,{group:e,children:w.jsx(v3,{})})}}function ile(e,t){const o=e&&t?eZ(t,e):null;return{queryKey:hn.activeOrganization(e),queryFn:async()=>{if(!e)return null;const a={organizationSlug:e};performance.mark("mesh:active-org-fetch:start");const{data:n}=await js.organization.getFullOrganization({query:a}).finally(()=>{performance.mark("mesh:active-org-fetch:end"),performance.measure("mesh:active-org-fetch","mesh:active-org-fetch:start","mesh:active-org-fetch:end")}),i=mL(n);return n&&!i&&localStorage.setItem(zs.lastOrgSlug(),e),t&&n&&tZ(t,e,n),n},initialData:o?o.data:void 0,initialDataUpdatedAt:o?.updatedAt,gcTime:1/0,refetchOnWindowFocus:!1}}async function sle(e){await gL();const t=IQ();t&&await Nd.ensureQueryData(ile(e,t)).catch(()=>{})}function lle(e){try{localStorage.setItem(zs.lastLocation(),JSON.stringify(e))}catch{}}function cle(){try{const e=localStorage.getItem(zs.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org}}catch{}return null}function $be(){try{localStorage.removeItem(zs.lastLocation())}catch{}}const ft={home:"/$org/home",projects:"/$org/projects/$agentId",tasks:"/$org/tasks/{-$taskKey}",reports:"/$org/reports",library:"/$org/library",threadAnalytics:"/$org/thread-analytics",discover:"/$org/discover",plan:"/$org/plan",monitoring:"/$org/monitoring",orgIndex:"/$org/"},et={root:ft.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",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",analytics:"/$org/projects/$agentId/analytics",experiments:"/$org/projects/$agentId/experiments",calendar:"/$org/projects/$agentId/calendar",monitor:"/$org/projects/$agentId/cdn",plan:"/$org/projects/$agentId/plan",monitoring:"/$org/projects/$agentId/monitoring"};function Vbe(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:dle},e[0]=t):t=e[0],NT(t)}function dle(e){return e.matches.at(-1)?.fullPath??""}const ule=new Map([[ft.reports,"project-only"],[ft.library,"org-only"],[ft.threadAnalytics,"org-only"]]);function Hbe(e,t){const o=ule.get(e);return o===void 0?!0:o==="project-only"?t!==null:t===null}function Gbe(){const e=Ce.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:ple},e[0]=t):t=e[0],NT(t)}function ple(e){return e.matches.findLast(mle)?.staticData.mainView}function mle(e){return e.staticData.mainView}function cf(e){return`agent-view:${encodeURIComponent(e)}`}function hle(e){if(!e?.startsWith("agent-view:"))return null;const t=e.slice(11);if(!t)return null;try{const o=decodeURIComponent(t);return o?{id:o}:null}catch{return null}}function b3(e){if(!e||!e.startsWith("automation:"))return null;const t=e.slice(11);return t?{id:t}:null}function a_(e,t){return`app:${e}:${t}`}function gle(e){if(!e||!e.startsWith("app:"))return null;const t=e.slice(4),o=t.indexOf(":");if(o<=0)return null;const a=t.slice(0,o),n=t.slice(o+1);return!a||!n?null:{connectionId:a,toolName:n}}function y3(e){return`deck:${encodeURIComponent(e)}`}function fle(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 S3(e){return`file:${encodeURIComponent(e)}`}function vle(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 w3(e){return`library-file:${encodeURIComponent(e)}`}function ble(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 x3(e){return`code:${encodeURIComponent(e)}`}function yle(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 T3=["overview","settings","automations","site-editor","code","content","assets","hosting","e2e","analytics","cdn"],Sle=new Set(T3),k3=new Set(["hosting","e2e","analytics","cdn"]),wle=new Set(["board","files","connect-sources","reports"]);function Wbe(e){return e.startsWith("app:")||e.startsWith("automation:")||e.startsWith("file:")||e.startsWith("deck:")||e.startsWith("library-file:")||e.startsWith("code:")}const xle=new Map([["preview","site-editor"],["git","site-editor"]]);function Zv(e){return xle.get(e)??e}const n_=new Set(["instructions","connections","layout","settings"]);function Tle(e){return!!e&&n_.has(e)}const kle=new Set(["overview","board","reports"]);function Kbe(e){const t=e?.defaultMainView??null;if(!(!t||t.type==="chat"))return _3(e??null)}function _3(e){const t=e?.defaultMainView??null;if(!t)return"settings";const o=Zv(t.type);if(n_.has(o))return"settings";if(Sle.has(o)||kle.has(o))return o;if(o==="ext-app"||o==="ext-apps"){if(t.id&&t.toolName)return a_(t.id,t.toolName);const n=e?.tabs?.map(i=>i.id)??[];return t.id&&n.includes(t.id)?cf(t.id):n[0]?cf(n[0]):"settings"}const a=e?.tabs?.[0]?.id;return a?cf(a):"settings"}function Ybe(e){const t=e.routeDefaultMain||_3(e.metadata),o=e.panelTabId&&n_.has(e.panelTabId)?"settings":e.panelTabId?Zv(e.panelTabId):e.panelTabId,a=e.metadata?.defaultMainView??null,n=a==null||a.type==="chat";return{mainOpen:e.mainPanelParam??(!!o||!!e.routeDefaultMain||!n),activeTab:o??t}}function Zbe(e){return e.mainOpen&&e.clickedId===e.activeTab?{close:!0}:{tabId:e.clickedId}}function Qbe(e){return e.mainOpen?e.activeTab==="automations"?!0:b3(e.activeTab)!==null:!1}const _le=new Set([...T3.filter(e=>!k3.has(e)),...wle,"app","file","deck","library-file","connect-sources","instructions","connections","layout","preview","discover"]);function Cle(e){return!!e&&_le.has(e)}function Ele(e,t){if(e)switch(e){case"app":return t.connection&&t.tool?a_(t.connection,t.tool):void 0;case"automations":return t.automation?`automation:${t.automation}`:"automations";case"file":return t.key?S3(t.key):void 0;case"deck":return t.deck?y3(t.deck):void 0;case"library-file":return t.path?w3(t.path):void 0;case"code":return t.file?x3(t.file):"code";default:{const o=Zv(e);return o==="site-editor"&&t.main==="content"?"content":o}}}function Jbe(e){const t=e.params??{},o=e.search??{};if(e.siteEditorView==="content")return"content";if(e.siteEditorView==="code")return o.file?x3(o.file):"code";if(e.siteEditorView==="preview")return"site-editor";switch(e.mainView){case"automation":return t.automationId?`automation:${t.automationId}`:"automations";case"app":return t.connectionId&&t.toolName?a_(t.connectionId,t.toolName):void 0;case"view":return t.viewId?cf(t.viewId):void 0;case"file":return o.key?S3(o.key):void 0;case"deck":return o.path?y3(o.path):void 0;case"library-file":return o.path?w3(o.path):void 0;default:return e.mainView}}const Ple={files:"library",discover:"discover"},Ale={board:"tasks",reports:"reports",plan:"plan",monitoring:"monitoring"},Rle={settings:"settings",assets:"assets",releases:"releases",hosting:"hosting",e2e:"e2e",analytics:"analytics",experiments:"experiments",calendar:"calendar",cdn:"monitor"};function C3(e){const t=hle(e);if(t)return{kind:"agent-view",viewId:t.id};const o=gle(e);if(o)return{kind:"app",connectionId:o.connectionId,toolName:o.toolName};const a=b3(e);if(a)return{kind:"automations",automationId:a.id};const n=vle(e);if(n)return{kind:"output-file",key:n.key};const i=fle(e);if(i)return{kind:"output-deck",path:i.path};const l=ble(e);if(l)return{kind:"library-file",path:l.path};const c=yle(e);if(c)return{kind:"site-editor",view:"code",...c.path?{file:c.path}:{}};if(Tle(e))return{kind:"agent-section",section:"settings"};const d=Zv(e);if(d==="overview")return{kind:"agent-overview"};if(d==="site-editor")return{kind:"site-editor",view:"preview"};if(d==="content")return{kind:"site-editor",view:"content"};if(d==="automations")return{kind:"automations"};if(d==="connect-sources")return{kind:"connect-sources"};const p=Ale[d];if(p)return{kind:"project-destination",destination:p};const m=Ple[d];if(m)return{kind:"org-destination",destination:m};const h=Rle[d];return h?{kind:"agent-section",section:h}:{kind:"agent-view",viewId:d}}function Ol(e){const{org:t,agentId:o}=e,a={org:t,agentId:o},n=C3(e.tabId);switch(n.kind){case"project-destination":{const i=e.destinationScope==="organization";switch(n.destination){case"tasks":return i?{to:ft.tasks,params:{org:t,taskKey:e.taskKey},search:{}}:{to:et.tasks,params:{...a,taskKey:e.taskKey},search:{}};case"reports":return i?{to:ft.reports,params:{org:t},search:{}}:{to:et.reports,params:a,search:{}};case"plan":return i?{to:ft.plan,params:{org:t},search:{}}:{to:et.plan,params:a,search:{}};case"monitoring":return i?{to:ft.monitoring,params:{org:t},search:{}}:{to:et.monitoring,params:a,search:{}}}}case"org-destination":switch(n.destination){case"home":return{to:ft.home,params:{org:t},search:{}};case"discover":return{to:ft.discover,params:{org:t},search:{}};case"library":return{to:ft.library,params:{org:t},search:{}}}case"agent-overview":return{to:et.root,params:a,search:{}};case"site-editor":return n.view==="content"?{to:et.siteEditorContent,params:a,search:{}}:n.view==="code"?{to:et.siteEditorCode,params:a,search:{file:n.file}}:{to:et.siteEditor,params:a,search:{}};case"agent-section":return{to:et[n.section],params:a,search:{}};case"automations":return n.automationId?{to:et.automation,params:{...a,automationId:n.automationId},search:{}}:{to:et.automations,params:a,search:{}};case"app":return{to:et.app,params:{...a,connectionId:n.connectionId,toolName:n.toolName},search:{}};case"agent-view":return{to:et.view,params:{...a,viewId:n.viewId},search:{}};case"output-file":return{to:et.outputFile,params:a,search:{key:n.key}};case"output-deck":return{to:et.outputDeck,params:a,search:{path:n.path}};case"library-file":return{to:et.libraryFile,params:a,search:{path:n.path}};case"connect-sources":return{to:et.connectSources,params:a,search:{}}}}function Xbe(e){if(!e.agentId||e.agentId===e.superAgentId&&(e.tabId===void 0||e.tabId==="overview"))return{to:ft.home,params:{org:e.org},search:{}};const t=e.tabId??"overview",o=e.agentId!==e.superAgentId&&C3(t).kind==="org-destination"?"overview":t;return Ol({org:e.org,agentId:e.agentId,tabId:o,destinationScope:e.agentId===e.superAgentId?"organization":"project"})}function Dle(e,t,o={}){const a=i=>({...o.search?.(i)??{},...t.search}),n=o.replace??!0;switch(t.to){case ft.tasks:e({to:ft.tasks,params:t.params,search:a,replace:n});return;case ft.home:e({to:ft.home,params:t.params,search:a,replace:n});return;case ft.reports:e({to:ft.reports,params:t.params,search:a,replace:n});return;case ft.discover:e({to:ft.discover,params:t.params,search:a,replace:n});return;case ft.plan:e({to:ft.plan,params:t.params,search:a,replace:n});return;case ft.monitoring:e({to:ft.monitoring,params:t.params,search:a,replace:n});return;case ft.library:e({to:ft.library,params:t.params,search:a,replace:n});return;case et.root:e({to:et.root,params:t.params,search:a,replace:n});return;case et.tasks:e({to:et.tasks,params:t.params,search:a,replace:n});return;case et.reports:e({to:et.reports,params:t.params,search:a,replace:n});return;case et.plan:e({to:et.plan,params:t.params,search:a,replace:n});return;case et.monitoring:e({to:et.monitoring,params:t.params,search:a,replace:n});return;case et.siteEditor:e({to:et.siteEditor,params:t.params,search:a,replace:n});return;case et.siteEditorContent:e({to:et.siteEditorContent,params:t.params,search:a,replace:n});return;case et.siteEditorCode:e({to:et.siteEditorCode,params:t.params,search:a,replace:n});return;case et.automations:e({to:et.automations,params:t.params,search:a,replace:n});return;case et.automation:e({to:et.automation,params:t.params,search:a,replace:n});return;case et.app:e({to:et.app,params:t.params,search:a,replace:n});return;case et.view:e({to:et.view,params:t.params,search:a,replace:n});return;case et.outputFile:e({to:et.outputFile,params:t.params,search:a,replace:n});return;case et.outputDeck:e({to:et.outputDeck,params:t.params,search:a,replace:n});return;case et.libraryFile:e({to:et.libraryFile,params:t.params,search:a,replace:n});return;case et.connectSources:e({to:et.connectSources,params:t.params,search:a,replace:n});return;case et.settings:case et.assets:case et.releases:case et.hosting:case et.e2e:case et.analytics:case et.experiments:case et.calendar:case et.monitor:e({to:t.to,params:t.params,search:a,replace:n})}}function eye(e,t){Dle(e,Ol(t),t)}function Ole(e){const t=/^(\/[^/]+)\/agents(?=\/|$)/.exec(e);return t?.[1]?`${t[1]}/projects${e.slice(t[0].length)}`:null}function Mle(e){const t=e.split("/").filter(Boolean);return(t[1]==="projects"||t[1]==="agents")&&t.length>3}const Nle=new Set(["main","virtualmcpid","file","key","deck","path","connection","tool","automation"]),E3=new Set(["main"]),Ile=new Set(["virtualmcpid"]);function Qv(e,t){return Object.fromEntries(Object.entries(e).filter(([o])=>!t.has(o)))}function Pl(e,t){return{...Qv(e,Nle),...t.search}}function Lle(e){return Qv(e,Ile)}function tye(e){if(e.search.virtualmcpid===void 0)return null;const t=br(e.search.virtualmcpid);if(t){const o=e.routePath===ft.tasks?"board":e.routePath===ft.reports?"reports":null;if(e.routePath===ft.home||o){const a=o?Ol({org:e.org,agentId:t,tabId:o}):Pd(e.org,t);return{kind:"canonical",route:a,search:Pl(e.search,a)}}}return e.routePath===ft.home||e.routePath===ft.tasks||e.routePath===ft.reports||e.routePath===ft.library?{kind:"same-route",search:Lle(e.search)}:null}function br(e){return e?.trim()||void 0}function P3(e){return Cle(e)||e!==void 0&&k3.has(e)}function A3(e){const t=br(e);return t?t.startsWith("vir_")&&t.length>4||MI(t)!==null||RW(t)!==null||DW(t)!==null||II(t)||LI(t):!1}function Ble(e){const t=br(e.agentIdParam),o=P3(t);return t&&!o?t:br(e.virtualMcpIdSearch)??br(e.fallbackAgentId)}function oye(e){const t=e.pathAgentId;if(t&&e.pathLegacyView){const l=tT({org:e.org,agentId:t,panel:e.pathLegacyView,source:"project-first",search:e.search});return l?.kind==="canonical"?{route:l.route,search:l.search}:null}if(!t||Mle(e.pathname))return null;const o=e.search.virtualmcpid!==void 0&&!A3(t);if(!(P3(t)||o))return null;const n=Ble({agentIdParam:o?void 0:t,virtualMcpIdSearch:e.search.virtualmcpid,fallbackAgentId:e.fallbackAgentId}),i=tT({org:e.org,agentId:n,panel:t,source:"view-first",search:e.search});return i?.kind==="canonical"?{route:i.route,search:i.search}:null}function Fle(e,t,o,a){const n=br(a);switch(e){case"board":return n?Ol({org:t,agentId:n,tabId:"board"}):{to:ft.tasks,params:{org:t,taskKey:void 0},search:{}};case"files":{const i=bs(o.path);return{to:ft.library,params:{org:t},search:i?{path:i}:{}}}case"reports":return n?Ol({org:t,agentId:n,tabId:"reports"}):{to:ft.reports,params:{org:t},search:{}};case"overview":return{to:ft.home,params:{org:t},search:{}};case"discover":return{to:ft.discover,params:{org:t},search:{}};default:return null}}function Bp(e){const t=Fle(e.tabId,e.org,e.search,e.agentId);if(t)return t;if(e.tabId==="chat")return Pd(e.org,e.agentId);const o=br(e.agentId);return o?e.tabId==="app"||e.tabId==="file"||e.tabId==="deck"||e.tabId==="library-file"||e.tabId.trim()===""?{to:et.root,params:{org:e.org,agentId:o},search:{}}:Ol({org:e.org,agentId:o,tabId:e.tabId}):null}function Pd(e,t){const o=br(t);return o?{to:et.root,params:{org:e,agentId:o},search:{}}:{to:ft.home,params:{org:e},search:{}}}function jle(e){const{main:t}=e;if(t===void 0)return null;const o=e.search??{};if(t===0||t==="0")return{kind:"same-route",search:{...Qv(o,E3),mainpanel:!1}};if(t==="chat"){const n=Pd(e.org,e.agentId);return{kind:"canonical",route:n,search:{...Pl(o,n),sidepanel:!0,mainpanel:!1}}}const a=Bp({org:e.org,agentId:e.agentId,tabId:t,search:o});return a?{kind:"canonical",route:a,search:Pl(o,a)}:null}function bs(e){return typeof e=="string"&&e.length>0?e:void 0}function tT(e){const t=e.search??{};if((t.main===0||t.main==="0")&&e.panel){const l=tT({...e,search:Qv(t,E3)});return l?.kind!=="canonical"?l:{...l,search:{...l.search,mainpanel:!1}}}if(t.main!==void 0)return jle({org:e.org,agentId:e.agentId,main:t.main,search:t});const o=br(e.agentId),a=e.panel;if(!a){const l=Pd(e.org,o);return{kind:"canonical",route:l,search:Pl(t,l)}}const n=Ele(a,{file:bs(t.file),key:bs(t.key),deck:bs(t.deck),path:bs(t.path),connection:bs(t.connection),tool:bs(t.tool),automation:bs(t.automation)}),i=n?e.source==="project-first"&&n==="overview"&&o?Ol({org:e.org,agentId:o,tabId:n}):Bp({org:e.org,agentId:o,tabId:n,search:t}):Bp({org:e.org,agentId:o,tabId:"",search:t});return i?{kind:"canonical",route:i,search:n==="chat"?{...Pl(t,i),sidepanel:!0,mainpanel:!1}:Pl(t,i)}:null}function aye(e){const t=e.search??{},o=br(t.virtualmcpid),a=br(e.fallbackAgentId),n=t.main;let i;if(n==="chat")i=Pd(e.org,o);else if(n!==void 0&&n!==0&&n!=="0"){const l=Bp({org:e.org,agentId:o,tabId:n,search:t}),c=!l&&n.trim().length>0&&a?Bp({org:e.org,agentId:a,tabId:n,search:t}):null;i=l??c??{to:ft.home,params:{org:e.org},search:{}}}else i=Pd(e.org,o);return{route:i,search:{...Pl(t,i),...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 R3(e,t){if(t.task===void 0)return null;const{task:o,...a}=t;return{taskKey:e??(o.trim()||void 0),search:a}}const Uw=Rt().int().nonnegative().optional().catch(void 0),zle={contentPageId:q().optional(),contentPath:q().optional(),contentPathTemplate:q().optional(),contentCollection:q().optional(),contentItem:q().optional(),contentPageVariant:Uw,contentSection:Uw,contentVariant:Uw};function nye(e){const t={};return e.contentPageVariant!==void 0&&(t.pageVariant=e.contentPageVariant),e.contentSection!==void 0&&(t.section=e.contentSection),e.contentVariant!==void 0&&(t.variant=e.contentVariant),Object.keys(t).length>0?t:null}const D3=zle,r_={view:q().optional(),group:q().optional(),subgroup:q().optional(),sort:q().optional(),dir:q().optional(),q:q().optional(),assignee:q().optional(),priority:q().optional(),due:q().optional(),tags:q().optional(),repo:q().optional(),sprint:q().optional(),boardOrg:q().optional()},Ule=["files","brand","connections","repositories","skills","memory","instructions","general","site"],iv={fileView:io(["all","documents","media"]).catch("all").optional(),modified:io(["any","today","week","month"]).catch("any").optional(),layout:io(["list","grid"]).catch("list").optional(),sort:io(["name","updated","size"]).catch("name").optional(),path:q().optional(),preview:q().optional(),expanded:B0().optional().catch(void 0),skill:q().optional(),brand:q().optional(),section:io(Ule).catch("files").optional(),scope:io(["user"]).optional().catch(void 0),action:io(["create"]).optional().catch(void 0)},qle={file:q().optional(),key:q().optional(),deck:q().optional(),path:q().optional(),connection:q().optional(),tool:q().optional(),automation:q().optional(),section:q().optional(),preview:q().optional(),autosend:q().optional(),connect:Cv().optional(),siteUrl:q().optional(),...D3},O3={...qle,task:q().optional(),project:q().optional(),...r_,skill:iv.skill,brand:iv.brand},im=Se(O3),Ya=B8({component:()=>w.jsx(Gse,{children:w.jsx(MT,{})})}),$le=De({getParentRoute:()=>Ya,path:"/login",component:Ie(()=>Le(()=>import("./login-BpxtJGt9.js"),__vite__mapDeps([0,1,2,3,4]))),validateSearch:Hr(()=>Se({next:q().optional(),client_id:q().optional(),redirect_uri:q().optional(),response_type:q().optional(),state:q().optional(),scope:q().optional(),code_challenge:q().optional(),code_challenge_method:q().optional(),src:q().optional(),ref:q().optional()}))}),Vle=De({getParentRoute:()=>Ya,path:"/cli/auth-success",component:Ie(()=>Le(()=>import("./cli-auth-success-iEdPT4UY.js"),__vite__mapDeps([5,4])))}),Hle=De({getParentRoute:()=>Ya,path:"/reset-password",component:Ie(()=>Le(()=>import("./reset-password-BptB3qlu.js"),[])),validateSearch:Hr(()=>Se({token:q().optional(),error:q().optional()}))}),Gle=De({getParentRoute:()=>Ya,path:"/auth/$pathname",component:Ie(()=>Le(()=>import("./auth-catchall-DR3otXf1.js"),[]))}),Wle=De({getParentRoute:()=>Ya,path:"/oauth/callback",component:Ie(()=>Le(()=>import("./oauth-callback-B34YZeGD.js"),__vite__mapDeps([6,7,8])))}),Kle=De({getParentRoute:()=>Ya,path:"/oauth/callback/ai-provider",component:Ie(()=>Le(()=>import("./oauth-callback-ai-provider-DDdZWy16.js"),[]))}),sm=De({getParentRoute:()=>Ya,path:"/_admin",component:Ie(()=>Le(()=>import("./layout-B-gUqpwn.js"),__vite__mapDeps([9,10,11])))}),Yle=De({getParentRoute:()=>sm,path:"/",beforeLoad:()=>{throw Jo({to:"/_admin/users"})}}),Zle=De({getParentRoute:()=>sm,path:"/users",component:Ie(()=>Le(()=>import("./users-C8yi0-T5.js"),__vite__mapDeps([12,13,14,15,16,17,18,19,20,21,22,23,24,25])))}),Qle=De({getParentRoute:()=>sm,path:"/orgs",component:Ie(()=>Le(()=>import("./orgs-BqBzB2uK.js"),__vite__mapDeps([26,13,14,15,16,17,18,27,22,28,29,30,31,32,33,21,34,35,23,24,25])))}),Jle=De({getParentRoute:()=>sm,path:"/prompts",component:Ie(()=>Le(()=>import("./prompts-DyBUJdlu.js"),__vite__mapDeps([36,16,27,33,23])))}),Xle=sm.addChildren([Yle,Zle,Qle,Jle]),i_=De({getParentRoute:()=>Ya,id:"shell",component:Ie(()=>Le(()=>import("./shell-layout-Bk5zjsiR.js").then(e=>e.g),__vite__mapDeps([37,19,20,38,39,40,41,42,15,43,44,45,46,47,31,48,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,64,65,66,67,68,8,69,70,71,72,73,74,75,76,27,77,78,79,3,2,80,81,34,82,83,84,30,85,86,87,22,88,10,89,90,91])))}),ece=De({getParentRoute:()=>i_,path:"/",beforeLoad:async()=>{const e=cle();if(e)throw Jo({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(zs.lastOrgSlug());if(t)throw Jo({to:"/$org",params:{org:t}});const{data:o}=await fL();if(!o)return;const a=o[0];throw Jo(a?{to:"/$org",params:{org:a.slug}}:{to:"/onboarding"})}}),tce=De({getParentRoute:()=>Ya,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await fL();if(e&&e.length>0)throw Jo({to:"/"})},component:Ie(()=>Le(()=>import("./onboarding-DySq8aiN.js"),__vite__mapDeps([92,10,4,93,19,20,61,27,32,38,47,53,63])))}),M3=Hr(()=>Se({org:q().optional(),siteUrl:q().optional(),fix:q().optional()})),oce=De({getParentRoute:()=>Ya,path:"/reports-onboarding",component:Ie(()=>Le(()=>import("./reports-onboarding-DHBp3ggN.js"),__vite__mapDeps([94,95,1,2,3,4,93,19,20,61,96,97,98,27,99,68,8,100,74,44,40,41,42,15,43,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,18,62,63,64,65,84,30,101,102,103,104,22,105,106,107,108,7,109,110,111,112,113,114]))),validateSearch:M3}),ace=De({getParentRoute:()=>Ya,path:"/commerce-onboarding",validateSearch:M3,beforeLoad:({search:e})=>{throw Jo({to:"/reports-onboarding",search:e})}}),nce=De({getParentRoute:()=>Ya,path:"/choose-editor",component:Ie(()=>Le(()=>import("./choose-editor-UJ-gtxPM.js"),__vite__mapDeps([115,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,10]))),validateSearch:Hr(()=>Se({site:q().optional(),domain:q().optional(),pageId:q().optional(),path:q().optional(),pathTemplate:q().optional()}))}),s_=De({getParentRoute:()=>Ya,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor"},component:Ie(()=>Le(()=>import("./site-editor-SoxoEuqd.js"),__vite__mapDeps([116,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,121,122,123,124,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,10,90,91,126,127,128,129,130,131,96,97,98,132,133,134,135,136,137,138,139,140,141,142,143,144,145,24,25,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,32,33,163,164,165,166,29,167,168,169,170,171,172,16,173,174,175,176,28,177,178,179,180,17,181,182,183,184,185,186,187,188,189,190,106,191,192,112,193,194,195,196,197,198,199,200,201,21,202,203,204,205,206,207,208,209,210,211,212,213,214,104,215,216,217,218,219,220,221,222,223,224,225,226,110,102,111,227,228,229,230,107,108,7,231,232,233,234,235,236,237,238,239])))}),rce=De({getParentRoute:()=>s_,path:"/",staticData:{mainView:"site-editor",siteEditorView:"preview",local:!0},component:Ie(()=>Le(()=>import("./site-editor-SoxoEuqd.js"),__vite__mapDeps([116,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,121,122,123,124,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,10,90,91,126,127,128,129,130,131,96,97,98,132,133,134,135,136,137,138,139,140,141,142,143,144,145,24,25,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,32,33,163,164,165,166,29,167,168,169,170,171,172,16,173,174,175,176,28,177,178,179,180,17,181,182,183,184,185,186,187,188,189,190,106,191,192,112,193,194,195,196,197,198,199,200,201,21,202,203,204,205,206,207,208,209,210,211,212,213,214,104,215,216,217,218,219,220,221,222,223,224,225,226,110,102,111,227,228,229,230,107,108,7,231,232,233,234,235,236,237,238,239])),"SiteEditorPreview")}),ice=De({getParentRoute:()=>s_,path:"/content",staticData:{mainView:"content",siteEditorView:"content",local:!0},component:Ie(()=>Le(()=>import("./site-editor-SoxoEuqd.js"),__vite__mapDeps([116,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,121,122,123,124,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,10,90,91,126,127,128,129,130,131,96,97,98,132,133,134,135,136,137,138,139,140,141,142,143,144,145,24,25,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,32,33,163,164,165,166,29,167,168,169,170,171,172,16,173,174,175,176,28,177,178,179,180,17,181,182,183,184,185,186,187,188,189,190,106,191,192,112,193,194,195,196,197,198,199,200,201,21,202,203,204,205,206,207,208,209,210,211,212,213,214,104,215,216,217,218,219,220,221,222,223,224,225,226,110,102,111,227,228,229,230,107,108,7,231,232,233,234,235,236,237,238,239])),"SiteEditorContent")}),sce=De({getParentRoute:()=>Ya,path:"/report/$domain",component:Ie(()=>Le(()=>import("./reports-CXTTxiAH.js"),__vite__mapDeps([240,109,3,1,2,241])))}),Jv=De({getParentRoute:()=>i_,path:"/$org",beforeLoad:({params:e})=>{lle({org:e.org})},loader:({params:e})=>sle(e.org),pendingMs:1/0,component:Ie(()=>Le(()=>import("./route-BNtBEGPf.js"),__vite__mapDeps([242,128,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,122,126,129,130,131,96,97,98,132,133,163,213,11,243,28,29,33,211,244,216,119,118,225,173,245,246,247,234,248,24,25,21,249,137,250,251,184,182,35,252,204,203,253,199,104,32,223])))}),Xv=De({getParentRoute:()=>Jv,id:"org-shell",pendingComponent:Id,component:Ie(()=>Le(()=>import("./thread-route-D2eectVN.js"),__vite__mapDeps([254,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,95,255,101,102,103,44,99,100,74,40,41,42,15,43,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,98,27,104,22,105,106,107,108,7,109,110,111,112,256,113])))}),lce=Se({sidepanel:BL,mainpanel:FL,main:so([q(),Ze(0)]).optional(),thread:q().optional(),autosend:q().optional(),preview:q().optional(),virtualmcpid:q().optional()}),Za=De({getParentRoute:()=>Xv,id:"agent-shell",validateSearch:lce,search:{middlewares:[s8(["sidepanel"])]},pendingComponent:Id,component:Ie(()=>Le(()=>import("./route-BdCXGQeQ.js"),__vite__mapDeps([257,41,40,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,122,126,212,117,118,119,120,149,213,157,148,98,150,151,147,24,25,214,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,154,155,158,137,208,209,185,140,138,144,16,121,127,258,259,260,204,195,194,251,184,182,35,192,203,132,261,262,263,264,265,139,175,134])))}),cce=im.extend({virtualmcpid:q().optional()}),dce=De({getParentRoute:()=>Za,path:"/$taskId",validateSearch:cce,component:()=>null}),It=Ie(()=>Le(()=>import("./index-IJ0i3_Bq.js").then(e=>e.i),__vite__mapDeps([121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127])),"ChatLayoutPending"),Lt=Ie(()=>Le(()=>import("./index-IJ0i3_Bq.js").then(e=>e.i),__vite__mapDeps([121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127])),"ChatLayoutError"),uce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/home",staticData:{pageTitle:"sidebar.navDestinations.home",defaultMain:"overview",mainView:"overview"},validateSearch:Se({connect:Cv().optional(),siteUrl:q().optional()}),component:Ie(()=>Le(()=>import("./home-BTMqJc9f.js"),__vite__mapDeps([266,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,214,148,149,98,150,151,147,120,24,25,118,117,119,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,213,220,221,157,222,223,210,211,224,225,226,110,102,111,112,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,267,268,247,248,129,269,169,172,168,132,253,246,270,271,272,167,170,171,273,274,275,245,133,16,250])))}),pce=De({getParentRoute:()=>Za,path:"/projects",validateSearch:im,beforeLoad:({params:e,search:t})=>{const o=(t.project??t.virtualmcpid)?.trim(),a=i=>({...i,virtualmcpid:void 0,project:void 0,task:void 0});if(!o)throw Jo({to:"/$org/home",params:{org:e.org},search:a,hash:!0,replace:!0});const n=t.task?.trim();throw Jo(n?{to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:o,taskKey:n},search:a,hash:!0,replace:!0}:{to:"/$org/projects/$agentId",params:{org:e.org,agentId:o},search:a,hash:!0,replace:!0})}}),lo=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/projects/$agentId",validateSearch:im,component:MT}),mce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/",staticData:{pageTitle:"page.overview",defaultMain:"overview",mainView:"overview"},component:Ie(()=>Le(()=>import("./agent-overview-DevZ1Jrh.js"),__vite__mapDeps([276,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,117,118,119,120,214,148,149,98,150,151,147,24,25,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,213,220,221,157,222,223,210,211,224,225,226,110,102,111,112,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,267,268,247,248,129,269,169,172,168,132,253,246,270,271,272,167,170,171,273,274,245,255,101,103,277])))}),hce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:Se({task:q().optional(),...r_}),beforeLoad:({params:e,search:t})=>{const o=R3(e.taskKey,t);if(o)throw Jo({to:"/$org/projects/$agentId/tasks/{-$taskKey}",params:{org:e.org,agentId:e.agentId,taskKey:o?.taskKey??e.taskKey},search:o.search,hash:!0,replace:!0})},component:Ie(()=>Le(()=>import("./project-tasks-CI7fz9Zv.js"),__vite__mapDeps([278,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,279,129,130,280,180,163,148,149,98,150,151,147,120,24,25,118,117,119,221,281,21,104,32,33,222,282,283,131,247,234,248,210,211,28,29,253,246,274,284,176,161,146,285,177,286,144,287,156,103,288,233,145,152,153,154,155,157,158,159,232,258,217,215,207,289,224,225])))}),gce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:Se({connect:Cv().optional(),siteUrl:q().optional()}),component:Ie(()=>Le(()=>import("./project-reports-98lKoGNz.js"),__vite__mapDeps([290,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,291,95,255,101,102,103,277,113,114,275,250])))}),eb=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/site-editor",staticData:{pageTitle:"sidebar.projectNav.siteEditor",defaultMain:"site-editor",mainView:"site-editor"},validateSearch:Se({autosend:q().optional(),...D3}),component:Ie(()=>Le(()=>import("./agent-site-editor-BW85UVF0.js"),__vite__mapDeps([205,117,69,70,66,67,68,8,89,79,3,2,80,81,34,82,118,119,120,88,206,207,135,136,137,138,139,46,52,140,141,37,19,20,38,39,40,41,42,15,43,44,45,47,31,48,49,50,51,53,54,55,56,57,58,59,60,61,18,62,63,64,65,71,72,73,74,75,76,27,77,78,83,84,30,85,86,87,22,10,90,91,125,163,97,181,179,208,209,210,211,192,112,189,188,190,187,162,212,149,213,122,157,148,98,150,151,147,24,25,214,104,159,215,28,29,216,178,217,218,199,219,220,221,222,223,224,225,226,110,102,111,227,228,33,156,229,230,107,108,7,231,21,232,233,234,124,235,145,146,152,153,154,155,126,158,236,160,161,191,175,198,237,238,185,144,121,123,127,239])))}),fce=De({getParentRoute:()=>eb,path:"/",staticData:{defaultMain:"site-editor",mainView:"site-editor",siteEditorView:"preview"},component:Ie(()=>Le(()=>import("./agent-site-editor-preview-B0ciYMqr.js"),__vite__mapDeps([292,293,259,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,156,260,154,150,137,212,117,89,118,119,120,88,149,84,30,213,87,122,157,148,98,27,151,147,24,25,214,104,159,37,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,126,158,140,138,204,195,194,251,184,182,35,192,289,142,143,139,144,160,161,162,32,135,141,164,165,166,167,168,169,170,171,172,16,173,174,175,176,177,129,130,180,97,17,183,185,125,186,187,188,189,190,106,134,127,191,193])))}),vce=De({getParentRoute:()=>eb,path:"/content",staticData:{defaultMain:"content",mainView:"content",siteEditorView:"content"},component:Ie(()=>Le(()=>import("./agent-site-editor-content-n5wHkwXf.js"),__vite__mapDeps([294,293,259,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,156,260,154,150,137,212,117,89,118,119,120,88,149,84,30,213,87,122,157,148,98,27,151,147,24,25,214,104,159,37,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,126,158,140,138,204,195,194,251,184,182,35,192,289,196,164,165,166,167,168,169,170,171,172,162,135,139,141,16,143,144,160,161,32,173,174,175,176,177,129,130,180,97,17,183,197,198,185,200,201,202])))}),bce=De({getParentRoute:()=>eb,path:"/code",staticData:{defaultMain:"code",mainView:"code",siteEditorView:"code"},validateSearch:Se({file:q().optional()}),component:Ie(()=>Le(()=>import("./agent-site-editor-code-CZeHtQ74.js"),__vite__mapDeps([295,293,259,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,156,260,154,150,137,212,117,89,118,119,120,88,149,84,30,213,87,122,157,148,98,27,151,147,24,25,214,104,159,37,19,71,72,73,74,75,76,77,78,83,85,86,22,10,90,91,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,126,158,140,138,204,195,194,251,184,182,35,192,289,16])))}),yce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/automations",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automations"},beforeLoad:({params:e,search:t})=>{const o=t.automation;if(o)throw Jo({to:"/$org/projects/$agentId/automations/$automationId",params:{org:e.org,agentId:e.agentId,automationId:o},search:a=>({...a,automation:void 0}),hash:!0,replace:!0})},component:Ie(()=>Le(()=>import("./agent-automations-BL2C9TJL.js"),__vite__mapDeps([296,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,17,16,282,297,21,97])))}),Sce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/automations/$automationId",staticData:{pageTitle:"settings.nav.automations",defaultMain:"automations",mainView:"automation"},validateSearch:Se({automationView:io(["settings","runs"]).optional()}),component:Ie(()=>Le(()=>import("./agent-automation-B-E62t6B.js"),__vite__mapDeps([298,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21,199,32,163,149,156,260,299,213,117,118,119,120,218,28,29,219,300,282,146,301,220,221,148,98,150,151,147,24,25,157,222,302,248,129,303,181,179,174,175,97,304,14,16,232,210,211,258,288,233,145,152,153,154,155,158,159,231])))}),wce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/settings",staticData:{pageTitle:"sidebar.navDestinations.settings",defaultMain:"settings",mainView:"settings"},component:Ie(()=>Le(()=>import("./agent-settings-Pbf2Mc2F.js"),__vite__mapDeps([305,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,159,222,199,17,309,154,260,157,150,32,163,173,137,251,184,182,35,252,310,24,147,192,138,311,312,155,193,209])))}),xce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:Se(iv),component:Ie(()=>Le(()=>import("./agent-library-5o95T8yf.js"),__vite__mapDeps([313,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,314,104,17,283,97,120,117,118,119,222,315,33,151,147,264,163,262,263,265,139,175,159,316,202,178,179,24,25,14,210,211,317,318,319,310,16,307,110,102,111,112,300,308,108,7,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,199,309,154,260,157,150,32,173,137,251,184,182,35,252,192,138,311,312,155,193,209])))}),Tce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/assets",staticData:{pageTitle:"common.mainPanelTabs.assets",defaultMain:"assets",mainView:"assets"},component:Ie(()=>Le(()=>import("./agent-assets-D5cDJYp0.js"),__vite__mapDeps([320,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,293,259,156,260,154,150,137,212,117,118,119,120,149,213,157,148,98,151,147,24,25,214,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,158,140,138,204,195,194,251,184,182,35,192,97,17,183])))}),kce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/releases",staticData:{pageTitle:"common.mainPanelTabs.releases",defaultMain:"releases",mainView:"releases"},component:Ie(()=>Le(()=>import("./agent-releases-BUHCKd6G.js"),__vite__mapDeps([321,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,293,259,156,260,154,150,137,212,117,118,119,120,149,213,157,148,98,151,147,24,25,214,104,159,215,136,28,29,181,179,216,178,217,218,199,219,163,220,221,222,223,210,211,224,225,226,110,102,111,112,227,228,33,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,155,158,140,138,204,195,194,251,184,182,35,192,97,135,139,141,237,198,190])))}),_ce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/hosting",staticData:{pageTitle:"common.mainPanelTabs.hosting",defaultMain:"hosting",mainView:"hosting"},component:Ie(()=>Le(()=>import("./agent-hosting-CcFwtsum.js"),__vite__mapDeps([322,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21,202,35,97,104,14,146,28,29,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,33,156,301,226,227,228,213,98,229,230,107,231,232,233,159,222,199,17,309,154,260,157,150,32,163,173,137,251,184,182,252,310,24,147,192,138,311,312,155,193,209])))}),Cce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/e2e",staticData:{pageTitle:"common.mainPanelTabs.e2e",defaultMain:"e2e",mainView:"e2e"},component:Ie(()=>Le(()=>import("./agent-e2e-Bf8zroDu.js"),__vite__mapDeps([323,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21,97,28,29,14,202,35,146,181,179,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,33,156,301,226,227,228,213,98,229,230,107,231,232,233,159,222,199,17,309,154,260,157,150,32,163,173,137,251,184,182,252,310,24,147,192,138,311,312,155,193,209])))}),Ece=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/analytics",staticData:{pageTitle:"common.mainPanelTabs.analytics",defaultMain:"analytics",mainView:"analytics"},validateSearch:Se({view:q().optional()}),component:Ie(()=>Le(()=>import("./agent-analytics-B2ZbF2AM.js"),__vite__mapDeps([324,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,325,21,199,14,269,169,172,168,97,202,35,326,271,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,33,156,301,226,227,228,213,98,28,29,229,230,107,231,232,233,159,222,17,309,154,260,157,150,32,163,173,137,251,184,182,252,310,24,147,192,138,311,312,155,193,209])))}),Pce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/taskboard-analytics",staticData:{pageTitle:"taskBoard.analytics.title",defaultMain:"board",mainView:"board"},component:Ie(()=>Le(()=>import("./taskboard-analytics-BHESe3UM.js"),__vite__mapDeps([327,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,231,21,280,328,163,173,29,176,329,269,169,172,168,14,178,179,24,25,248,129,272,167,170,171,273,271,326,253,246,180])))}),Ace=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/experiments",staticData:{pageTitle:"common.mainPanelTabs.experiments",defaultMain:"experiments",mainView:"experiments"},validateSearch:Se({ui:Ze("legacy").optional()}),component:Ie(()=>Le(()=>import("./agent-experiments-QiLJ_N-u.js"),__vite__mapDeps([330,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,206,207,117,118,119,120,135,136,137,138,139,140,141,163,97,181,179,208,209,210,211,192,112,189,188,190,187,162,212,149,213,157,148,98,150,151,147,24,25,214,104,159,215,28,29,216,178,217,218,199,219,220,221,222,223,224,225,226,110,102,111,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,154,155,158,236,160,161,191,175,198,237,238,185,144,331,14,202,35,164,165,166,167,168,169,170,171,172,16,332,333,201,334,283,287,306,307,300,308,301,17,309,260,32,173,251,184,182,252,310,311,312,193])))}),Rce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/calendar",staticData:{pageTitle:"common.mainPanelTabs.calendar",defaultMain:"calendar",mainView:"calendar"},component:Ie(()=>Le(()=>import("./agent-calendar-CQld1sbX.js"),__vite__mapDeps([335,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,206,207,117,118,119,120,135,136,137,138,139,140,141,163,97,181,179,208,209,210,211,192,112,189,188,190,187,162,212,149,213,157,148,98,150,151,147,24,25,214,104,159,215,28,29,216,178,217,218,199,219,220,221,222,223,224,225,226,110,102,111,227,228,33,156,229,230,107,108,7,231,21,232,233,234,235,145,146,152,153,154,155,158,236,160,161,191,175,198,237,238,185,144,336,173,332,164,165,166,167,168,169,170,171,172,16,333,201,200,334,202,306,307,300,308,301,17,309,260,32,251,184,182,35,252,310,311,312,193])))}),Dce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/cdn",staticData:{pageTitle:"common.mainPanelTabs.cdn",defaultMain:"cdn",mainView:"cdn"},component:Ie(()=>Le(()=>import("./agent-monitor-DJgUYxeE.js"),__vite__mapDeps([337,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,338,269,169,172,168,202,163,28,29,35,137,326,271,270,339,21,176,106,273,170,171,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,229,230,107,231,232,233,159,222,199,17,309,154,260,157,150,32,173,251,184,182,252,310,24,147,192,138,311,312,155,193,209,289,224,225])))}),N3=Se({args:q().optional()}),Oce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/apps/$connectionId/$toolName",validateSearch:N3,staticData:{pageTitle:"page.app",defaultMain:"app",mainView:"app"},component:Ie(()=>Le(()=>import("./agent-app-QifMzTD_.js"),__vite__mapDeps([340,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,195,341,149,260,152,153,154,117,118,119,120,253,246,129,342,95,100,101,102,103,98,104,105,106,107,108,7,109,110,111,112])))}),Mce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/views/$viewId",validateSearch:N3,staticData:{pageTitle:"page.view",defaultMain:"view",mainView:"view"},component:Ie(()=>Le(()=>import("./agent-view-BpG9TuQz.js"),__vite__mapDeps([343,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,341,149,260,152,153,154,117,118,119,120,253,246,129,342,95,100,101,102,103,98,104,105,106,107,108,7,109,110,111,112,306,307,300,16,308,25,97,33,156,301,226,227,228,213,28,29,229,230,231,21,232,233,159,222,199,17,309,157,150,32,163,173,137,251,184,182,35,252,310,24,147,192,138,311,312,155,193,209])))}),Nce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/outputs/file",staticData:{pageTitle:"page.file",defaultMain:"file",mainView:"file"},validateSearch:Se({key:q().optional()}),component:Ie(()=>Le(()=>import("./agent-file-BY1HvP3E.js"),__vite__mapDeps([344,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,159,265,222,139,175,151,147,120,158,117,118,119,306,307,110,102,111,112,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,199,17,309,154,260,157,150,32,163,173,137,251,184,182,35,252,310,24,192,138,311,312,155,193,209])))}),Ice=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/outputs/deck",staticData:{pageTitle:"page.document",defaultMain:"deck",mainView:"deck"},validateSearch:Se({path:q().optional()}),component:Ie(()=>Le(()=>import("./agent-deck-fozZKigY.js"),__vite__mapDeps([345,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,264,222,163,306,307,110,102,111,112,117,118,119,120,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,159,199,17,309,154,260,157,150,32,173,137,251,184,182,35,252,310,24,147,192,138,311,312,155,193,209])))}),Lce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/library/file",staticData:{pageTitle:"page.file",defaultMain:"library-file",mainView:"library-file"},validateSearch:Se({path:q().optional()}),component:Ie(()=>Le(()=>import("./agent-library-file-idrkATAh.js"),__vite__mapDeps([346,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,347,263,104,264,222,163,265,139,175,159,151,147,120,306,307,110,102,111,112,117,118,119,300,16,308,25,108,7,97,33,156,301,226,227,228,213,98,28,29,229,230,107,231,21,232,233,199,17,309,154,260,157,150,32,173,137,251,184,182,35,252,310,24,192,138,311,312,155,193,209])))}),Bce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/connect-sources",staticData:{pageTitle:"settings.nav.connect",defaultMain:"connect-sources",mainView:"connect-sources"},component:Ie(()=>Le(()=>import("./agent-connect-sources-qn3tzZdI.js"),__vite__mapDeps([348,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,99,95,100,101,102,103,98,104,105,106,107,108,7,109,110,111,112,256,113])))}),Fce=De({getParentRoute:()=>lo,path:"/$legacyView",component:()=>null}),jce=De({getParentRoute:()=>Za,path:"/agents",validateSearch:im,beforeLoad:({params:e,search:t})=>{const o=t.virtualmcpid?.trim();throw Jo(o?{to:"/$org/projects/$agentId",params:{org:e.org,agentId:o},search:a=>a,hash:!0,replace:!0}:{to:"/$org/projects",params:{org:e.org},search:a=>a,hash:!0,replace:!0})}}),zce=De({getParentRoute:()=>Za,path:"/agents/$",validateSearch:im,beforeLoad:({params:e,location:t})=>{const o=e._splat?.split("/").find(Boolean);if(!A3(o))return;const a=Ole(t.pathname);if(!a)return;const n=t.hash?`#${t.hash}`:"";throw Jo({href:`${a}${t.searchStr}${n}`,replace:!0})},component:Ie(()=>Le(()=>import("./legacy-agents-deep-BXEfwbcO.js"),__vite__mapDeps([349,261,70])))}),Uce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/tasks/{-$taskKey}",staticData:{pageTitle:"sidebar.navDestinations.tasks",defaultMain:"board",mainView:"board"},validateSearch:Se({task:q().optional(),...r_}),beforeLoad:({params:e,search:t})=>{const o=R3(e.taskKey,t);if(o)throw Jo({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:o.taskKey},search:o.search,hash:!0,replace:!0})},component:Ie(()=>Le(()=>import("./tasks-B8afabsQ.js"),__vite__mapDeps([350,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,279,129,130,280,180,163,148,149,98,150,151,147,120,24,25,118,117,119,221,281,21,104,32,33,222,282,283,131,247,234,248,210,211,28,29,253,246,274,284,176,161,146,285,177,286,144,287,156,103,288,233,145,152,153,154,155,157,158,159,232,258,217,215,207,289,224,225])))}),qce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/taskboard-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Ie(()=>Le(()=>import("./taskboard-analytics-BHESe3UM.js"),__vite__mapDeps([327,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,231,21,280,328,163,173,29,176,329,269,169,172,168,14,178,179,24,25,248,129,272,167,170,171,273,271,326,253,246,180])))}),$ce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/thread-analytics",staticData:{defaultMain:"board",mainView:"board"},component:Ie(()=>Le(()=>import("./thread-analytics-gZ_8g-EI.js"),__vite__mapDeps([351,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,329,269,169,172,168,14,178,179,24,25,21,248,129,272,167,170,171,273,271,326,249,180,163,28,29,181,288,233,145,146,147,148,149,98,150,151,120,118,117,119,152,153,154,155,156,157,158,159,232,258])))}),Vce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/reports",staticData:{pageTitle:"sidebar.navDestinations.reports",defaultMain:"reports",mainView:"reports"},validateSearch:Se({connect:Cv().optional(),siteUrl:q().optional()}),component:Ie(()=>Le(()=>import("./reports-B8rc0QMx.js"),__vite__mapDeps([352,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,291,95,255,101,102,103,277,113,114,275,250])))}),Hce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/library",staticData:{pageTitle:"sidebar.navDestinations.library",defaultMain:"files",mainView:"files"},validateSearch:Se(iv),component:Ie(()=>Le(()=>import("./library-B0c3-Omq.js"),__vite__mapDeps([353,120,122,121,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,314,104,17,283,97,117,118,119,222,315,33,151,147,264,163,262,263,265,139,175,159,316,202,178,179,24,25,14,210,211,317,318,319,310,16,347])))}),Gce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Ie(()=>Le(()=>import("./plan-CJ_SMMMJ.js"),__vite__mapDeps([354,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21])))}),I3=Se({view:io(["metrics","deploys","experiments","analytics"]).optional(),date:WN().optional().catch(void 0),store:q().optional(),at:q().optional()}),Wce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:I3,component:Ie(()=>Le(()=>import("./monitoring-DZd5tupQ.js"),__vite__mapDeps([355,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,202,163,32,339,269,169,172,168,21,176,106,326,271,273,170,171,270,338,28,29,35,137,329,14,178,179,24,25,248,129,272,167,325,199,97,342,95,100,101,102,103,98,104,105,107,108,7,109,110,111,112,156,331,164,165,166,162,135,136,117,118,119,120,138,139,140,141,16,332,236,333,201,334,33,283,287,246])))}),Kce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/plan",staticData:{pageTitle:"sidebar.navDestinations.plan",defaultMain:"plan",mainView:"plan"},component:Ie(()=>Le(()=>import("./plan-CJ_SMMMJ.js"),__vite__mapDeps([354,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,21])))}),Yce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>lo,path:"/monitoring",staticData:{pageTitle:"sidebar.navDestinations.monitor",defaultMain:"monitoring",mainView:"monitoring"},validateSearch:I3,component:Ie(()=>Le(()=>import("./monitoring-DZd5tupQ.js"),__vite__mapDeps([355,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,202,163,32,339,269,169,172,168,21,176,106,326,271,273,170,171,270,338,28,29,35,137,329,14,178,179,24,25,248,129,272,167,325,199,97,342,95,100,101,102,103,98,104,105,107,108,7,109,110,111,112,156,331,164,165,166,162,135,136,117,118,119,120,138,139,140,141,16,332,236,333,201,334,33,283,287,246])))}),Zce=De({pendingComponent:It,errorComponent:Lt,getParentRoute:()=>Za,path:"/discover",staticData:{pageTitle:"sidebar.navDestinations.discover",defaultMain:"discover",mainView:"discover"},component:Ie(()=>Le(()=>import("./discover-CShJ8r_Z.js"),__vite__mapDeps([356,121,122,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127,156,210,211,182,184,35,192,112])))}),Qce=De({getParentRoute:()=>Jv,path:"/members",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/members",params:{org:e.org}})}}),Jce=Se({main:so([q(),Ze(0)]).optional(),virtualmcpid:q().optional(),...O3,sidepanel:BL,mainpanel:FL,thread:q().optional()}),Xce=De({getParentRoute:()=>Xv,path:"/",validateSearch:Jce,pendingComponent:Id,component:Ie(()=>Le(()=>import("./index-CvmAn50Q.js"),__vite__mapDeps([357,261,70])))}),ede=De({getParentRoute:()=>Xv,path:"/t/$taskKey",beforeLoad:({params:e})=>{throw Jo({to:"/$org/tasks/{-$taskKey}",params:{org:e.org,taskKey:e.taskKey},search:t=>t,hash:!0,replace:!0})}}),co=De({staticData:{pageTitle:"sidebar.navDestinations.settings"},getParentRoute:()=>Jv,path:"/settings",pendingComponent:Id,component:Ie(()=>Le(()=>import("./route-BX1QTCGi.js"),__vite__mapDeps([358,122,121,123,124,70,69,66,67,68,8,79,3,2,80,81,34,82,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,84,30,125,37,19,71,72,73,74,75,76,27,77,78,83,85,86,87,22,88,10,89,90,91,126,127])))}),tde=De({getParentRoute:()=>co,path:"/",component:Ie(()=>Le(()=>import("./index-redirect-DHg2Wh6I.js"),__vite__mapDeps([359,319])))}),ode=De({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>co,path:"/connections",component:Ie(()=>Le(()=>import("./connections-CBPCozbq.js"),__vite__mapDeps([360,110,102,111,112,361,15,54,84,30,178,179,21,17,18,283,104,231,227,85,86,228,82,74,44,40,41,42,43,45,46,38,47,31,48,39,49,50,51,52,53,55,56,57,58,59,60,61,62,63,20,64,65,16,362,97,232,122,213,98,27,28,29,33,156,68,8,67,154,66,229,230,107,108,7,199]))),validateSearch:Hr(()=>Se({action:io(["create"]).optional(),tab:io(["all","connected"]).optional()}))}),ade=De({staticData:{pageTitle:"settings.nav.connections"},getParentRoute:()=>co,path:"/connections/$appSlug",component:Ie(()=>Le(()=>import("./connection-detail-DJhbdGg7.js"),__vite__mapDeps([363,110,102,111,112,16,230,61,62,364,68,8,260,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,18,63,20,64,65,156,28,29,30,169,166,73,163,84,67,122,365,78,79,3,2,80,81,34,82,229,309,21,154,7,210,211,19,108,74,126,98,27,157,362,97,366,269,172,168,271,326,167,272,170,171,273,181,179,228,153,87]))),validateSearch:Hr(()=>Se({tab:q().optional()}))}),nde=De({staticData:{pageTitle:"page.item"},getParentRoute:()=>co,path:"/connections/$appSlug/$collectionName/$itemId",component:Ie(()=>Le(()=>import("./collection-detail-DWaZ_g9N.js"),__vite__mapDeps([367,16,68,8,98,27,33,364,260,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,156,110,102,111,112,28,29,30,169,166,73,163,84,67,122,365,78,79,3,2,80,81,34,82,229,153,154,161,228,309,21,7,152,74,117,69,70,66,89,118,119,120,88,37,19,71,72,75,76,77,83,85,86,87,22,10,90,91,174,175,202]))),validateSearch:Hr(()=>Se({replayId:q().optional()}))}),rde=De({staticData:{pageTitle:"orgs.monitoring.title"},getParentRoute:()=>co,path:"/monitor",component:Ie(()=>Le(()=>import("./index-BqRVXKOo.js"),__vite__mapDeps([368,17,18,16,317,318,319,145,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,20,64,65,24,25,146,147,148,149,98,27,150,151,120,122,69,70,66,67,68,8,84,30,118,79,3,2,80,81,34,82,117,89,119,88,71,152,153,154,155,37,19,72,73,74,75,76,77,78,83,85,86,87,22,10,90,91,126,156,157,158,159,228,21,163,174,175,210,211,303,199,28,29,328,173,176,33,231,32,161,366,269,169,172,168,271,326,167,272,170,171,273,288,233,232,258,14,304,282,202,246,339,106,270,289,224,225]))),validateSearch:Hr(()=>Se({tab:io(["overview","audit","dashboards","threads","automations","stores"]).default("threads"),store:q().optional(),at:q().optional(),from:q().default("now-24h"),to:q().default("now"),connectionId:je(q()).optional().default([]),virtualMcpId:je(q()).optional().default([]),tool:q().default(""),status:io(["all","success","errors"]).default("all"),search:q().default(""),page:Rt().optional(),streaming:Vt().default(!0),propertyFilters:q().default(""),hideSystem:Vt().default(!1)}))}),ide=De({staticData:{pageTitle:"settings.nav.general"},getParentRoute:()=>co,path:"/general",component:Ie(()=>Le(()=>import("./general-CCTHK69K.js"),__vite__mapDeps([369,211,301,19,20,370,32,39,88,34,81,156,68,8,371,21,28,29,30,31,97,319])))}),sde=De({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>co,path:"/connect",pendingComponent:Li("connect"),component:Ie(()=>Le(()=>import("./connect-CuE4jRCA.js"),__vite__mapDeps([372,161,21,28,29,30,31,181,179,147,49,55,56,268,373,41,61,62,202,97,27,68,8,317,318,319])))}),lde=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>co,path:"/ai-providers",pendingComponent:Li("billing"),component:Ie(()=>Le(()=>import("./ai-providers-nhDcrO0Z.js"),__vite__mapDeps([374,41,119,47,88,34,81,299,213,122,117,69,70,66,67,68,8,89,79,3,2,80,82,118,120,218,199,57,28,29,30,31,43,48,55,42,18,219,58,19,20,52,301,178,179,84,97,217,225,61,62,308,25,32,317,318,319])))}),cde=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>co,path:"/billing",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/ai-providers",params:{org:e.org}})}}),dde=De({staticData:{pageTitle:"settings.nav.billing"},getParentRoute:()=>co,path:"/infra-billing",pendingComponent:Li("billing"),component:Ie(()=>Le(()=>import("./infra-billing-D46exrRI.js"),__vite__mapDeps([375,50,21,303,199,57,31,72,73,18,163,28,29,30,14,271,168,169,171,326,317,318,319])))}),ude=De({staticData:{pageTitle:"settings.nav.secrets"},getParentRoute:()=>co,path:"/secrets",component:Ie(()=>Le(()=>import("./secrets-A7z68vj3.js"),__vite__mapDeps([376,41,61,20,64,202,27,28,29,30,31,33,312,317,318,319])))}),pde=De({staticData:{pageTitle:"settings.nav.connect"},getParentRoute:()=>co,path:"/api-keys",pendingComponent:Li("connect"),component:Ie(()=>Le(()=>import("./api-keys-DIDWd1pe.js"),__vite__mapDeps([377,373,41,49,55,61,62,202,97,27,68,8,317,318,319])))}),mde=De({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>co,path:"/buckets",pendingComponent:Li("storage"),component:Ie(()=>Le(()=>import("./buckets-CSV3bOI_.js"),__vite__mapDeps([378,41,61,62,21,202,97,27,28,29,30,31,32,33,182,317,318,319])))}),hde=De({staticData:{pageTitle:"settings.nav.repositories"},getParentRoute:()=>co,path:"/repositories",validateSearch:Se({git_error:q().optional().catch(void 0),git_flow:q().uuid().optional().catch(void 0),git_installation:Rt().int().positive().safe().optional().catch(void 0),git_return:Vt().optional().catch(void 0)}),pendingComponent:Li("repositories"),component:Ie(()=>Le(()=>import("./repositories-B6WldW36.js"),__vite__mapDeps([379,380,83,43,61,84,30,27,85,86,87,18,45,19,20,22,88,34,81,44,199,57,64,97,202,21,161,104,146,28,29,31,33,62,311,312,317,318,319])))}),gde=De({staticData:{pageTitle:"settings.nav.storage"},getParentRoute:()=>co,path:"/synced-repos",pendingComponent:Li("storage"),component:Ie(()=>Le(()=>import("./synced-repos-C6zBMFU3.js"),__vite__mapDeps([381,61,202,97,83,43,84,30,27,85,86,87,18,45,19,20,22,88,34,81,315,24,25,317,318,319])))}),fde=De({staticData:{pageTitle:"settings.nav.tasks"},getParentRoute:()=>co,path:"/task-board",component:Ie(()=>Le(()=>import("./tasks-DsF_igJL.js"),__vite__mapDeps([382,199,57,33,48,60,61,180,72,73,18,163,303,21,31,28,29,30,32,97,302,370,39,88,34,81,156,68,8,22,282,281,65,104,84,126,222,85,86,80,2,317,318,319])))}),vde=De({getParentRoute:()=>co,path:"/tasks",beforeLoad:({params:e})=>{throw Jo({to:"/$org/settings/task-board",params:{org:e.org}})}}),bde=De({staticData:{pageTitle:"projects.settings.title"},getParentRoute:()=>co,path:"/projects",component:Ie(()=>Le(()=>import("./projects-D1GqaIOa.js"),__vite__mapDeps([383,40,41,42,15,43,44,45,46,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,61,18,62,63,20,64,65,21,17,76,27,77,68,8,78,67,79,3,2,80,81,34,82,83,84,30,85,86,87,19,22,88,275,308,25,255,101,102,103,250,66,156])))}),yde=De({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>co,path:"/members",pendingComponent:Li("members"),component:Ie(()=>Le(()=>import("./members-D8Jt2YCt.js"),__vite__mapDeps([384,361,15,54,84,30,178,179,21,17,18,13,14,16,243,98,27,28,29,31,33,211,244,19,20,24,25,210,385,97,51,55,62,65,199,57,72,73,163,61,284,317,318,319])))}),Sde=De({staticData:{pageTitle:"settings.nav.members"},getParentRoute:()=>co,path:"/roles",pendingComponent:Li("members"),component:Ie(()=>Le(()=>import("./roles-YWuESZ7D.js"),__vite__mapDeps([386,244,211,385,21,97,51,61,62,13,14,15,16,17,18,219,74,44,40,41,42,43,45,46,38,47,31,48,39,49,50,52,53,54,55,56,57,58,59,60,63,20,64,65,232,199,233,86,68,8,87,111,112,210,156,67,119,19,32,84,30,75,66,318,319]))),validateSearch:Hr(()=>Se({role:q().optional()}))}),wde=De({staticData:{pageTitle:"settings.nav.security"},getParentRoute:()=>co,path:"/sso",component:Ie(()=>Le(()=>import("./sso-C_Z9cuaX.js"),__vite__mapDeps([387,371,21,28,29,30,31,97,32,90,62,317,318,319])))}),xde=De({staticData:{pageTitle:"settings.nav.profile"},getParentRoute:()=>co,path:"/profile",component:Ie(()=>Le(()=>import("./profile-DAulvU2z.js"),__vite__mapDeps([388,19,20,165,166,29,62,63,32,28,30,31,178,179,84,58,59,60,301,223])))}),Tde=De({staticData:{pageTitle:"settings.nav.agents"},getParentRoute:()=>co,path:"/agents",component:Ie(()=>Le(()=>import("./agents-list-BwXuDqFm.js"),__vite__mapDeps([389,67,68,8,51,42,62,40,41,15,43,44,45,46,38,47,31,48,39,49,50,52,53,54,55,56,57,58,59,60,61,18,63,20,64,65,308,25,78,79,3,2,80,81,34,82,88,16,365,156,107,108,7,110,102,111,112,83,84,30,27,85,86,87,19,22,103,105,97,17,77])))}),kde=De({staticData:{pageTitle:"settings.nav.automations"},getParentRoute:()=>co,path:"/automations",component:Ie(()=>Le(()=>import("./automations-B_NJD1pO.js"),__vite__mapDeps([390,61,46,17,18,16,282,68,8,78,67,79,3,2,80,81,34,82,297,21,97,40,41,42,15,43,44,45,38,47,31,48,39,49,50,51,52,53,54,55,56,57,58,59,60,62,63,20,64,65,317,318,319])))}),_de=De({staticData:{pageTitle:"settings.nav.skills"},getParentRoute:()=>co,path:"/skills",component:Ie(()=>Le(()=>import("./skills-CusI0mca.js"),__vite__mapDeps([391,51,46,62,63,17,18,283,104,84,30,97,16,231,21,316,151,147,49,120,122,69,70,66,67,68,8,265,222,85,86,139,52,175,159])))}),Cde=De({staticData:{pageTitle:"settings.nav.memory"},getParentRoute:()=>co,path:"/memory",component:Ie(()=>Le(()=>import("./memory-CdGwc3Jm.js"),__vite__mapDeps([392,38,20,161,84,30,231,21,16,71,222,85,86]))),validateSearch:Hr(()=>Se({scope:io(["user"]).optional()}))}),Ede=co.addChildren([tde,ode,ade,nde,Tde,kde,_de,Cde,rde,ide,sde,lde,cde,dde,ude,pde,mde,hde,gde,fde,vde,bde,yde,Sde,wde,xde]),Pde=eb.addChildren([fce,vce,bce]),Ade=lo.addChildren([mce,hce,gce,Pde,yce,Sce,wce,xce,Tce,kce,_ce,Cce,Ece,Pce,Ace,Rce,Dce,Oce,Mce,Nce,Ice,Lce,Bce,Fce,Kce,Yce]),Rde=Za.addChildren([dce,uce,pce,Ade,jce,zce,Uce,qce,$ce,Vce,Hce,Zce,Gce,Wce]),Dde=Xv.addChildren([Xce,ede,Rde]),Ode=Jv.addChildren([Dde,Qce,Ede]),Mde=i_.addChildren([ece,Ode]),Nde=Ya.addChildren([Mde,Xle,tce,oce,ace,nce,s_.addChildren([rce,ice]),sce,$le,Vle,Hle,Gle,Wle,Kle]);function Ide(){const e=Ce.c(16),t=ar();let o;e[0]!==t?(o=t("common.index.pageNotFound"),e[0]=t,e[1]=o):o=e[1];let a;e[2]!==o?(a=w.jsx("h3",{className:"text-lg font-medium text-foreground",children:o}),e[2]=o,e[3]=a):a=e[3];let n;e[4]!==t?(n=t("common.index.pageNotFoundDescription"),e[4]=t,e[5]=n):n=e[5];let i;e[6]!==n?(i=w.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:n}),e[6]=n,e[7]=i):i=e[7];let l;e[8]!==t?(l=t("common.goBack"),e[8]=t,e[9]=l):l=e[9];let c;e[10]!==l?(c=w.jsx("button",{type:"button",onClick:Lde,className:"text-sm text-primary hover:underline",children:l}),e[10]=l,e[11]=c):c=e[11];let d;return e[12]!==a||e[13]!==i||e[14]!==c?(d=w.jsx("div",{className:"flex h-full items-center justify-center",children:w.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[a,i,c]})}),e[12]=a,e[13]=i,e[14]=c,e[15]=d):d=e[15],d}function Lde(){return window.history.back()}const tb=K8({routeTree:Nde,defaultPendingComponent:Id,defaultPendingMs:200,defaultPendingMinMs:500,defaultNotFoundComponent:Ide});function Pe(...e){return LL(gk(e))}function Bde(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function qo({error:e,localization:t,localizeErrors:o=!0}){var a;const n="Request failed";if(!o)return e?.message?e.message:(a=e?.error)!=null&&a.message?e.error.message:n;if(typeof e=="string"&&t?.[e])return t[e];if(e?.error){if(e.error.code){const i=e.error.code;if(t?.[i])return t[i]}return e.error.message||e.error.code||e.error.statusText||t?.REQUEST_FAILED}return e?.message||t?.REQUEST_FAILED||n}function Ul(e){return typeof window<"u"?new URLSearchParams(window.location.search).get(e):null}function oT(e,t){for(const o in e)if(e[o]===t)return o}function Fp(e,t){let o=q().min(1,{message:t?.PASSWORD_REQUIRED});return e?.minLength&&(o=o.min(e.minLength,{message:t?.PASSWORD_TOO_SHORT})),e?.maxLength&&(o=o.max(e.maxLength,{message:t?.PASSWORD_TOO_LONG})),e?.regex&&(o=o.regex(e.regex,{message:t?.INVALID_PASSWORD})),o}var Fde={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"},jde={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"},zde={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."},Ude={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."},qde={VERIFICATION_FAILED:"Captcha verification failed",MISSING_RESPONSE:"Missing CAPTCHA response",UNKNOWN_ERROR:"Something went wrong"},$de={MISSING_SECRET_KEY:"Missing secret key",SERVICE_UNAVAILABLE:"CAPTCHA service unavailable"},Vde={...qde,...$de},Hde={OTP_EXPIRED:"otp expired",INVALID_OTP:"Invalid OTP",INVALID_EMAIL:"Invalid email",USER_NOT_FOUND:"User not found",TOO_MANY_ATTEMPTS:"Too many attempts"},Gde={INVALID_OAUTH_CONFIGURATION:"Invalid OAuth configuration"},Wde={PASSWORD_COMPROMISED:"The password you entered has been compromised. Please choose a different password."},Kde={INVALID_SESSION_TOKEN:"Invalid session token"},Yde={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"},Zde={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"},Qde={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"},Jde={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"},Xde={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"},eue={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"},tue={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"},oue={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",...Ude,...Fde,...jde,...zde,...Vde,...Hde,...Gde,...Wde,...Kde,...Yde,...Zde,...Qde,...Jde,...Xde,...eue,...tue},aue={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"},a2={SETTINGS:"settings",SECURITY:"security",TEAMS:"teams",API_KEYS:"api-keys",ORGANIZATIONS:"organizations"},n2={SETTINGS:"settings",MEMBERS:"members",TEAMS:"teams",API_KEYS:"api-keys"};const L3=A.createContext({});function B3(){return A.useContext(L3)}var qw,r2;function nue(){if(r2)return qw;r2=1;var e=function(){};return qw=e,qw}var rue=nue();const iue=Nl(rue);function sue({async:e,appendTo:t,defer:o,id:a,nonce:n,src:i}){const l=document.createElement("script");e!==void 0&&(l.async=e),o!==void 0&&(l.defer=o),a&&(l.id=a),n&&l.setAttribute("nonce",n),l.src=i,(t==="head"?document.head:document.body).appendChild(l)}var lue=function(e,t){var o={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(o[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(o[a[n]]=e[a[n]]);return o};let gp=null,jp=!1;const sv=new Set,lv=new Set,cue=typeof window<"u",ud="___grecaptcha_cfg",F3=`onLoadCallback_${Math.random().toString(36).slice(2)}`;function due(){if(!cue)return;function e(o){if(jp)o();else{window[ud]||(window[ud]={});const a=window[ud];a.fns||(a.fns=[]),a.fns.push(o)}}window.grecaptcha||(window.grecaptcha={}),window.grecaptcha.enterprise||(window.grecaptcha.enterprise={}),window.grecaptcha.ready=e,window.grecaptcha.enterprise.ready=e;function t(){jp=!0;for(const o of lv)o();lv.clear()}window[F3]=t}function uue({language:e,onLoadCallbackName:t,render:o,useEnterprise:a=!1,useRecaptchaNet:n=!1}){const i=n?"recaptcha.net":"google.com",l=a?"enterprise.js":"api.js",c=new URLSearchParams({render:o});return t&&c.set("onload",t),e&&c.set("hl",e),`https://www.${i}/recaptcha/${l}?${c.toString()}`}function pue({language:e,render:t,scriptProps:o,useEnterprise:a,useRecaptchaNet:n}){const i={id:"google-recaptcha-v3"},l=uue({language:e,onLoadCallbackName:F3,render:t,useEnterprise:a,useRecaptchaNet:n});if(gp){if(gp!==l)throw new Error("reCAPTCHA has already been loaded with different parameters. Remove the existing script and load it again.");return}gp=l,sue(Object.assign(Object.assign(Object.assign({},i),o),{src:l}))}function mue(e){if(!window[ud])return;const t=window[ud];t.clients&&delete t.clients[e]}function hue(e,t){var{onLoadCallback:o,onLoadCallbackName:a}=t,n=lue(t,["onLoadCallback","onLoadCallbackName"]);if(sv.size===0&&due(),pue(n),sv.add(e),o&&(jp?o():lv.add(o)),a){let i=function(){if(!a)return;const l=window[a];typeof l=="function"&&l()};jp?i():lv.add(i)}}function gue(e){var t,o,a;sv.delete(e),sv.size===0&&(window.grecaptcha=void 0,window[ud]=void 0,(t=document.querySelector(".grecaptcha-badge"))===null||t===void 0||t.remove(),(o=document.querySelector(`script[src="${gp}"]`))===null||o===void 0||o.remove(),(a=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))===null||a===void 0||a.remove(),gp=null,jp=!1)}let i2=!1;function fue({container:e,children:t,language:o,reCaptchaKey:a,scriptProps:n,useEnterprise:i,useRecaptchaNet:l}){var c,d,p,m,h,f,v;const b=A.useId(),[S,k]=A.useState(null),[x,T]=A.useState(null),P=A.useRef(!1);A.useEffect(()=>{function D(){var O;const L=i?(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(()=>{k(L)})}return hue(b,{language:o,onLoadCallback:D,onLoadCallbackName:n?.onLoadCallbackName,render:e?.element?"explicit":a,scriptProps:{appendTo:n?.appendTo,async:n?.async,defer:n?.defer,id:n?.id,nonce:n?.nonce},useEnterprise:i,useRecaptchaNet:l}),()=>{gue(b),k(null)}},[e?.element,b,o,a,n?.appendTo,n?.async,n?.defer,n?.id,n?.nonce,n?.onLoadCallbackName,i,l]),A.useEffect(()=>{var D,O,L;if(!e?.element||!S?.render)return;const $={"error-callback":e.parameters.errorCallback,"expired-callback":e.parameters.expiredCallback,badge:((D=e.parameters)===null||D===void 0?void 0:D.badge)||"inline",callback:e.parameters.callback,sitekey:a,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 U=S.render(B,$);return!((O=e?.parameters)===null||O===void 0)&&O.hidden&&(i2||(iue(!1,"reCAPTCHA badge hidden. See https://cloud.google.com/recaptcha/docs/faq#id_like_to_hide_the_badge_what_is_allowed for more information."),i2=!0),(L=B.querySelector(".grecaptcha-badge"))===null||L===void 0||L.style.setProperty("display","none")),T(U),P.current=!0,()=>{T(null),P.current=!1,mue(U),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,(p=e?.parameters)===null||p===void 0?void 0:p.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,S,a]);const C=!!e?.element,E=C?x:a,R=A.useMemo(()=>E!==null&&S?.execute?D=>{if(E===null||!S?.execute)throw new Error("reCAPTCHA has not been loaded");return C&&!P.current?(console.warn("Client ID not mounted"),null):S.execute(E,{action:D})}:void 0,[E,S,C]);return w.jsx(L3.Provider,{value:{container:e?.element,executeRecaptcha:R,reCaptchaInstance:S},children:t})}var vue=class{cache=new Map;listeners=new Map;inFlightRequests=new Map;get(e){return this.cache.get(e)}set(e,t){const o={data:t,timestamp:Date.now(),isRefetching:!1};this.cache.set(e,o),this.notify(e)}setRefetching(e,t){const o=this.cache.get(e);o&&(o.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 o of t)this.notify(o)}}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 o=this.listeners.get(e);o&&(o.delete(t),o.size===0&&this.listeners.delete(e))}}notify(e){const t=this.listeners.get(e);if(t){const o=Array.from(t);for(const a of o)a()}}},Gn=new vue;function bue(){return()=>{}}function Bi(){return A.useSyncExternalStore(bue,()=>!0,()=>!1)}function j3(){const[e,t]=A.useState();return A.useEffect(()=>{const o=()=>{const n=document.documentElement.getAttribute("lang");t(n??void 0)};o();const a=new MutationObserver(n=>{for(const i of n)i.attributeName==="lang"&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{lang:e}}function l_(){const[e,t]=A.useState("light");return A.useEffect(()=>{const o=()=>{var n;const i=document.documentElement.classList.contains("dark")||((n=document.documentElement.getAttribute("style"))==null?void 0:n.includes("color-scheme: dark"));t(i?"dark":"light")};o();const a=new MutationObserver(n=>{for(const i of n)(i.attributeName==="style"||i.attributeName==="class")&&o()});return a.observe(document.documentElement,{attributes:!0}),()=>{a.disconnect()}},[]),{theme:e}}function yue({children:e}){const t=Bi(),{captcha:o}=A.useContext(wt);return o?.provider!=="google-recaptcha-v3"?e:w.jsxs(fue,{reCaptchaKey:o.siteKey,useEnterprise:o.enterprise,useRecaptchaNet:o.recaptchaNet,children:[t&&w.jsx("style",{children:`
|
|
169
169
|
.grecaptcha-badge {
|
|
170
170
|
visibility: hidden;
|
|
171
171
|
border-radius: var(--radius) !important;
|