decocms 4.594.0 → 4.596.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-kHXzu73r.js → AlertCircle-AllCHsc-.js} +1 -1
- package/dist/client/assets/{AreaChart-CJxx8aiG.js → AreaChart-C6w_b9ET.js} +1 -1
- package/dist/client/assets/{ArrowLeft-DcKid1bz.js → ArrowLeft-CRw3W_qh.js} +1 -1
- package/dist/client/assets/{ArrowRight-ajc9j6D-.js → ArrowRight-DSFHA030.js} +1 -1
- package/dist/client/assets/{ArrowUp-CjAvmMLL.js → ArrowUp-D_GhkPcm.js} +1 -1
- package/dist/client/assets/{BookOpen01-CdH9hkvz.js → BookOpen01-lNQqqERm.js} +1 -1
- package/dist/client/assets/{CartesianChart-BRKqG5iH.js → CartesianChart-DPVXkgL4.js} +1 -1
- package/dist/client/assets/{CategoricalChart-DW_7VziR.js → CategoricalChart-DRsmm3_a.js} +1 -1
- package/dist/client/assets/{CheckCircle-DG9pUM8a.js → CheckCircle-D_eJlHYl.js} +1 -1
- package/dist/client/assets/{ChevronDown-CWnE_Wmz.js → ChevronDown-C0tAiNqc.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-ByCpNum0.js → ChevronSelectorVertical-oMR2kCqB.js} +1 -1
- package/dist/client/assets/{ChevronUp-C_rAiuf1.js → ChevronUp-CLxsyktD.js} +1 -1
- package/dist/client/assets/{CreditCard01-C6eDo3p0.js → CreditCard01-DfogeJXR.js} +1 -1
- package/dist/client/assets/{Eye-DFeDq2Hx.js → Eye-IB81hGdK.js} +1 -1
- package/dist/client/assets/{File02-R0RW2VCN.js → File02-C5RfRHg9.js} +1 -1
- package/dist/client/assets/{Fingerprint04-D-EFj_6a.js → Fingerprint04-d20CepTC.js} +1 -1
- package/dist/client/assets/{Globe04-DudUQgTy.js → Globe04-Cffx8Biv.js} +1 -1
- package/dist/client/assets/{Image01-Dfaw0Ysf.js → Image01-C3Wojgfs.js} +1 -1
- package/dist/client/assets/{Key01-9JQCF719.js → Key01-UGh5N-kc.js} +1 -1
- package/dist/client/assets/{LayoutLeft-B-cVGLzN.js → LayoutLeft-DtDmaSrQ.js} +1 -1
- package/dist/client/assets/{LinkBroken01-CpDM6pG5.js → LinkBroken01-CG6bLE37.js} +1 -1
- package/dist/client/assets/{MessageCircle01-44De_8cO.js → MessageCircle01-MLX2eDnv.js} +1 -1
- package/dist/client/assets/{Minus-09UkIbMe.js → Minus-DUjfsLQY.js} +1 -1
- package/dist/client/assets/{Monitor01-BPQw3JGv.js → Monitor01-DKJLays1.js} +1 -1
- package/dist/client/assets/{Play-BRDYCYl7.js → Play-BkcMWNbk.js} +1 -1
- package/dist/client/assets/{Plus-BJfG2DpW.js → Plus-D84NDH53.js} +1 -1
- package/dist/client/assets/{ReferenceLine-KUFosDOj.js → ReferenceLine-qG6ZRY0w.js} +1 -1
- package/dist/client/assets/{SearchMd-DioGBYbO.js → SearchMd-lt6LFgc6.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-CdQhBv_H.js → ShoppingBag01-BswoJp3c.js} +1 -1
- package/dist/client/assets/{Sun-U7FHkItb.js → Sun-C0_F0NYL.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-sPBj-OL8.js → SwitchHorizontal01-DX564T5r.js} +1 -1
- package/dist/client/assets/{Tool01-BEo5XKkS.js → Tool01-C5c4fHOY.js} +1 -1
- package/dist/client/assets/{Tooltip-2A3BALIx.js → Tooltip-C4Wh1SAv.js} +1 -1
- package/dist/client/assets/{Trash01-l4iOtEBN.js → Trash01-CFKOdFdJ.js} +1 -1
- package/dist/client/assets/{TrendUp01-aviiZW6M.js → TrendUp01-Me2ucQTV.js} +1 -1
- package/dist/client/assets/{Upload01-BhvyPM8u.js → Upload01-A4xsFQc7.js} +1 -1
- package/dist/client/assets/{UserCheck01-B1rJ65So.js → UserCheck01-CLDfWEEJ.js} +1 -1
- package/dist/client/assets/{UserSquare-D44lppb_.js → UserSquare-bg0CCGVi.js} +1 -1
- package/dist/client/assets/{Users01-CxQycal6.js → Users01-CCleMxbO.js} +1 -1
- package/dist/client/assets/{XClose-BwokcWjs.js → XClose-DNnGTtOa.js} +1 -1
- package/dist/client/assets/{Zap-DoXbwvKP.js → Zap-DS2xaVCg.js} +1 -1
- package/dist/client/assets/{access-gate-Cb6wrWbo.js → access-gate-52qvSzpx.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-AJ93ohYz.js → add-connection-dialog-D3rS-xq2.js} +1 -1
- package/dist/client/assets/agent-app-CEj8SI4b.js +1 -0
- package/dist/client/assets/{agent-assets-BjERacII.js → agent-assets-CLgcJh-a.js} +1 -1
- package/dist/client/assets/{agent-automation-lPIiQ1-S.js → agent-automation-Asj6Mdk8.js} +1 -1
- package/dist/client/assets/{agent-automations-DChAwthU.js → agent-automations-DpoiR-xj.js} +1 -1
- package/dist/client/assets/agent-blog-D5adgi1l.js +2 -0
- package/dist/client/assets/agent-blog-post-DD7TPgaA.js +2 -0
- package/dist/client/assets/{agent-calendar-DVTbFVx4.js → agent-calendar-p4pBUNRv.js} +1 -1
- package/dist/client/assets/{agent-capabilities-CJLhsDjp.js → agent-capabilities-DX42M_HX.js} +1 -1
- package/dist/client/assets/{agent-connect-sources-BUkRDeee.js → agent-connect-sources-BuuNPgeS.js} +1 -1
- package/dist/client/assets/agent-deck-Dtfd3CpA.js +1 -0
- package/dist/client/assets/{agent-e2e-DBAmX-ay.js → agent-e2e-CrXJS3S8.js} +1 -1
- package/dist/client/assets/agent-experiments-BdbuSony.js +1 -0
- package/dist/client/assets/agent-file-DyBlPMUW.js +1 -0
- package/dist/client/assets/{agent-hosting-KJs4AVma.js → agent-hosting-DJ4qshnA.js} +1 -1
- package/dist/client/assets/{agent-icon-BS6RPQ_A.js → agent-icon-m6DF-jGw.js} +1 -1
- package/dist/client/assets/agent-library-CfpThBWc.js +1 -0
- package/dist/client/assets/agent-library-file-CUOBgwAH.js +1 -0
- package/dist/client/assets/agent-overview-D-zPptb2.js +1 -0
- package/dist/client/assets/{agent-releases-BwIrRp2G.js → agent-releases-C0fErCE1.js} +1 -1
- package/dist/client/assets/agent-settings-CdKoAPBN.js +1 -0
- package/dist/client/assets/{agent-site-editor-CyUzqfPD.js → agent-site-editor-B4mZ_3uO.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-l_JomA6X.js +2 -0
- package/dist/client/assets/agent-site-editor-content-349ebUkh.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-86h2RYbj.js +1 -0
- package/dist/client/assets/agent-view-BNcVDHOV.js +1 -0
- package/dist/client/assets/{agent-view-guard-dXJW4cSq.js → agent-view-guard-1CRBHJVM.js} +1 -1
- package/dist/client/assets/{ai-providers-CoJXv_AA.js → ai-providers-DxMPTF-k.js} +1 -1
- package/dist/client/assets/{alert-hKxZXEZZ.js → alert-Dt-QBVYu.js} +1 -1
- package/dist/client/assets/{analytics-sections-D8qsQ7bM.js → analytics-sections-CULzJT-Z.js} +1 -1
- package/dist/client/assets/api-keys-D9RiubWH.js +1 -0
- package/dist/client/assets/{api-keys-BpcBSUmB.js → api-keys-DRuBz837.js} +1 -1
- package/dist/client/assets/app-editor-hPksTJHj.js +1 -0
- package/dist/client/assets/{asset-utils-CdU3Ttfs.js → asset-utils-Wh7PCoXS.js} +1 -1
- package/dist/client/assets/{auth-C3yWOKhG.js → auth-DTCWUZG7.js} +1 -1
- package/dist/client/assets/{auth-catchall-DheSxLuf.js → auth-catchall-DpL2hlxq.js} +1 -1
- package/dist/client/assets/{auth-entry-C5exDM0H.js → auth-entry-Df1KBDSc.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Hg6hlPX8.js → auth-split-layout-CY_uRTFl.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-CIyQIb0N.js → authenticate-and-persist-oauth-CxIxVe3C.js} +1 -1
- package/dist/client/assets/{automation-list-row-BYtaYJm7.js → automation-list-row-CtlM_d9l.js} +1 -1
- package/dist/client/assets/{automation-runs-DvuKFaor.js → automation-runs-CUFatpqX.js} +1 -1
- package/dist/client/assets/{automations-D70iF6cO.js → automations-DJcRHo1X.js} +1 -1
- package/dist/client/assets/{badge-wWozseh3.js → badge-BMdL2EZN.js} +1 -1
- package/dist/client/assets/{block-document-CQOXOWIP.js → block-document-xUve5SNT.js} +3 -3
- package/dist/client/assets/{blocks-preview-workspace-context-BmhSK0mg.js → blocks-preview-workspace-context-DF85bSj9.js} +1 -1
- package/dist/client/assets/{blocks-tab-states-CDYT4Ypi.js → blocks-tab-states-Cw0RWK3h.js} +1 -1
- package/dist/client/assets/blog-preview-url-Cxts0MFJ.js +1 -0
- package/dist/client/assets/blog-schema-7GeVkqmc.js +1 -0
- package/dist/client/assets/blog-source-gate-DHJ3KgAL.js +1 -0
- package/dist/client/assets/{blog-view-gate-WETs9z4-.js → blog-view-gate-D2wthXO5.js} +1 -1
- package/dist/client/assets/{buckets-BcxYNwzK.js → buckets-Budfl0cb.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-BpGLSKmi.js → build-improve-prompt-doc-CvGA95vT.js} +1 -1
- package/dist/client/assets/{calendar-Sr3cNZGh.js → calendar-CWY9RcGt.js} +1 -1
- package/dist/client/assets/{capability-load-error-Cwe4uK-x.js → capability-load-error-Cpo9EAh2.js} +1 -1
- package/dist/client/assets/category-editor-Djma6ffb.js +1 -0
- package/dist/client/assets/category-tree-CwYyvh-H.js +18 -0
- package/dist/client/assets/{chart-D0It11Pz.js → chart-J7juGn_W.js} +1 -1
- package/dist/client/assets/{chat-context-B6UvvRRf.js → chat-context-BW-slB_k.js} +1 -1
- package/dist/client/assets/{chat-draft-D0WJnhz_.js → chat-draft-D3TYZAMx.js} +1 -1
- package/dist/client/assets/{checkbox-Cs2Li62P.js → checkbox-DyPy5TYa.js} +1 -1
- package/dist/client/assets/{choose-editor-Cwvr5cPX.js → choose-editor-Bxibi_V8.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DjQMGZUD.js → cli-auth-success-BZdMcx2v.js} +1 -1
- package/dist/client/assets/cms-settings-editor-CEMWX5NG.js +1 -0
- package/dist/client/assets/{cms-store-drafts-DDk2L1_s.js → cms-store-drafts-D_M6m3uA.js} +1 -1
- package/dist/client/assets/{collapsible-D4n-ssmc.js → collapsible-RVJX7MiV.js} +1 -1
- package/dist/client/assets/{collection-detail-CWZme-FJ.js → collection-detail-Du67mRiO.js} +1 -1
- package/dist/client/assets/{collection-display-button--oxelZ8R.js → collection-display-button-BNBHMUXK.js} +1 -1
- package/dist/client/assets/{collection-search-CDDauqCr.js → collection-search-0Y7SoOe-.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-B8osPBIm.js → collection-table-wrapper-Cuy0AVX7.js} +1 -1
- package/dist/client/assets/{collection-tabs-B1EmRyNS.js → collection-tabs-CaUB-XIg.js} +1 -1
- package/dist/client/assets/{combobox-LL4GsRoi.js → combobox-BU7hsWmk.js} +1 -1
- package/dist/client/assets/{command-DQwD4jPt.js → command-D0_H05ec.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-aZ0yAV9m.js → companion-mcps-section-BzJEcjRJ.js} +1 -1
- package/dist/client/assets/{config-zmlExYow.js → config-XJHmvtsd.js} +1 -1
- package/dist/client/assets/{connect-C2FkNxOj.js → connect-CC6AcPLN.js} +1 -1
- package/dist/client/assets/{connect-key-MUQgzDUZ.js → connect-key-BpMVre0r.js} +1 -1
- package/dist/client/assets/{connect-layout-C10vBM31.js → connect-layout-BNX1pnZc.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-DZFw66w3.js → connect-source-dialog-BhW7w8Tz.js} +1 -1
- package/dist/client/assets/{connection-card-DqrVYaVF.js → connection-card-h1GpQqz7.js} +1 -1
- package/dist/client/assets/{connection-detail-BhmikSW0.js → connection-detail-w5Ybk1Ow.js} +1 -1
- package/dist/client/assets/{connection-B7vXPxEB.js → connection-e0YK2xiz.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CipIPASt.js → connection-form-helpers-ee1lsDjo.js} +1 -1
- package/dist/client/assets/{connection-slug-DgGnB6qk.js → connection-slug-pVnJQqDL.js} +1 -1
- package/dist/client/assets/{connections-BH6dclGQ.js → connections-ClU5q4ro.js} +1 -1
- package/dist/client/assets/{content-tab-CMouaD3S.js → content-tab-BbCE8gow.js} +4 -4
- package/dist/client/assets/{context-BXIwVeKt.js → context-BE0varMc.js} +1 -1
- package/dist/client/assets/{context-menu-BTcjoIYF.js → context-menu-sx0q9-17.js} +1 -1
- package/dist/client/assets/{context-shell-Bh2U1zxs.js → context-shell-D7PccH2n.js} +3 -3
- package/dist/client/assets/{create-organization-dialog-Dbp2Y7NH.js → create-organization-dialog-BcfxwKOk.js} +1 -1
- package/dist/client/assets/{daily-pulse-BiRUE30R.js → daily-pulse-BQDk63PY.js} +1 -1
- package/dist/client/assets/{delete-copy-BH5xrx9H.js → delete-copy-UCaGT3P5.js} +2 -2
- package/dist/client/assets/{device-hint-CMC1mr9e.js → device-hint-Dzp4aTKL.js} +1 -1
- package/dist/client/assets/{discover-DN_s50Be.js → discover-BulaXBT4.js} +1 -1
- package/dist/client/assets/{domain-settings-DBexbsXu.js → domain-settings-k3Y2Q4CL.js} +1 -1
- package/dist/client/assets/{drawer-BMY0wk6r.js → drawer-cDJNr0UL.js} +1 -1
- package/dist/client/assets/{editor-C6mSxTrt.js → editor-D_TP8Zgm.js} +1 -1
- package/dist/client/assets/{editor-classes-BygI_Lvg.js → editor-classes-0NCpfosP.js} +1 -1
- package/dist/client/assets/{empty-state-hp9a4BQn.js → empty-state-BQLWtNQT.js} +1 -1
- package/dist/client/assets/{empty-state-C4vGG4yC.js → empty-state-Oh19ZuqH.js} +1 -1
- package/dist/client/assets/{experiments-tab-choice-a808JseX.js → experiments-tab-choice-Bo6k5V9E.js} +1 -1
- package/dist/client/assets/{extract-connection-data-B_eUCQ7e.js → extract-connection-data-Dcybc2XD.js} +1 -1
- package/dist/client/assets/{feature-gate-DtqeHOu4.js → feature-gate-VZsia_Hs.js} +1 -1
- package/dist/client/assets/{feature-paywall-BGOy9Z00.js → feature-paywall-DR7Clo4c.js} +1 -1
- package/dist/client/assets/{file-explorer-q1C_0Dfl.js → file-explorer-81aDQUj9.js} +1 -1
- package/dist/client/assets/{file-preview-Cid_-Y34.js → file-preview-X_NFkOVD.js} +1 -1
- package/dist/client/assets/{file-share-button-eK3lxbyf.js → file-share-button-DOAhwfe0.js} +1 -1
- package/dist/client/assets/{file-type-icon-DOJ02s9h.js → file-type-icon-DR-V5GzT.js} +1 -1
- package/dist/client/assets/{folder-icon-4Pb3O8qn.js → folder-icon-BEMnD9Mo.js} +1 -1
- package/dist/client/assets/{form-BZ2nSi_9.js → form-C_3vsTjd.js} +1 -1
- package/dist/client/assets/{frame-navigation-C3j5rPCM.js → frame-navigation-B6xzv3L_.js} +1 -1
- package/dist/client/assets/{gateway-client-8UpI_Rdq.js → gateway-client-CwKPU6S4.js} +1 -1
- package/dist/client/assets/{general-bkCbo1TA.js → general-BfGOnQz-.js} +1 -1
- package/dist/client/assets/{github-icon-C-V2EETw.js → github-icon-mqy7WjXH.js} +1 -1
- package/dist/client/assets/{held-block-view-xCVzC3Lr.js → held-block-view-8Ktr6QKV.js} +1 -1
- package/dist/client/assets/{home-Dgh1Wb3u.js → home-CoqulptE.js} +1 -1
- package/dist/client/assets/{home-overview-CzbNLHJq.js → home-overview-Cqkq8Gda.js} +1 -1
- package/dist/client/assets/{hosted-reconcile-DS6ZmO5s.js → hosted-reconcile-BfDZiVDB.js} +1 -1
- package/dist/client/assets/{icon-button-CFamiizZ.js → icon-button-BZNuDXN_.js} +1 -1
- package/dist/client/assets/{index-BVZH8mqe.js → index-6k36ehsW.js} +9 -9
- package/dist/client/assets/{index-cjnTxfp5.js → index-BNMtwLGo.js} +1 -1
- package/dist/client/assets/{index-B-PIhH8l.js → index-BOcJIVCK.js} +1 -1
- package/dist/client/assets/{index-B9tCllzH.js → index-BZvJPANC.js} +1 -1
- package/dist/client/assets/{index-B4YS6GMo.js → index-C4RiD3F4.js} +1 -1
- package/dist/client/assets/{index-GMDFirHC.js → index-CGp5e78v.js} +1 -1
- package/dist/client/assets/{index-6V91lP75.js → index-CHcZo0sN.js} +1 -1
- package/dist/client/assets/{index-BFjuxezw.js → index-CbxeeWwk.js} +1 -1
- package/dist/client/assets/{index-D9WtqDmJ.js → index-Ccjzy_Yg.js} +1 -1
- package/dist/client/assets/{index-CJQHYkKb.js → index-DYr4DM-_.js} +1 -1
- package/dist/client/assets/{index--r4E_gW7.js → index-DbcKAUw4.js} +1 -1
- package/dist/client/assets/index-NYmpejop.js +5 -0
- package/dist/client/assets/{index-BesTmknq.js → index-Pt2Dg3Hd.js} +1 -1
- package/dist/client/assets/{index-BYQu9U5P.js → index-WlTKCESy.js} +1 -1
- package/dist/client/assets/{index-BeSn1lKu.js → index-_N6kCtM_.js} +1 -1
- package/dist/client/assets/{index-D_u7RJfU.js → index-gxh0eyFF.js} +1 -1
- package/dist/client/assets/{index-redirect-BMGe_utm.js → index-redirect-BKO9Og1V.js} +1 -1
- package/dist/client/assets/{index-CqlRRF6p.js → index-unMd35fT.js} +1 -1
- package/dist/client/assets/index-yFD0_BNc.css +1 -0
- package/dist/client/assets/{infiniteQueryObserver-f5kG4cIT.js → infiniteQueryObserver-BU4GB00s.js} +1 -1
- package/dist/client/assets/{infra-billing-DaAfhBWg.js → infra-billing-Dp0t1IaK.js} +1 -1
- package/dist/client/assets/{input-o0eNZBV4.js → input-CH4Gjy3Z.js} +3 -3
- package/dist/client/assets/{input-A20A_mwu.js → input-DAb55cm0.js} +1 -1
- package/dist/client/assets/{integration-icon-CcV5frEs.js → integration-icon-CThPNDLT.js} +1 -1
- package/dist/client/assets/item-actions-Cd5OpKeM.js +1 -0
- package/dist/client/assets/{jira-icon-DlgPbK3F.js → jira-icon-C-P_hNAy.js} +1 -1
- package/dist/client/assets/{label-Dc_tSb6f.js → label-B05fQV9w.js} +1 -1
- package/dist/client/assets/{layout-514nGx9I.js → layout-D62GW4Xy.js} +1 -1
- package/dist/client/assets/{legacy-admin-welcome-dialog-DtYrilLw.js → legacy-admin-welcome-dialog-BOk_1MDr.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-DS7wnjib.js → legacy-agents-deep-CwnshL_u.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-BQ-dfJNU.js → legacy-main-redirect-B9wSse7w.js} +1 -1
- package/dist/client/assets/library-CE-7zswq.js +1 -0
- package/dist/client/assets/{library-tab-CZB0EHNl.js → library-tab-6C3BHzqG.js} +1 -1
- package/dist/client/assets/{login-BVGV6SaO.js → login-De-omavu.js} +1 -1
- package/dist/client/assets/{markdown-DvUyMKlV.js → markdown-B2-eb-Eh.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-CRu4PbUr.js → mcp-app-renderer-Bj6Yqj6W.js} +1 -1
- package/dist/client/assets/{mcp-oauth-NdGb5Zj9.js → mcp-oauth-CBgv_I8z.js} +1 -1
- package/dist/client/assets/{mcp-oauth-CIY9YLWi.js → mcp-oauth-DsdWz5k5.js} +1 -1
- package/dist/client/assets/{members-CgoGmOSR.js → members-ai18MRiF.js} +1 -1
- package/dist/client/assets/{memory-BfzundeZ.js → memory-lLPqtjY5.js} +1 -1
- package/dist/client/assets/{mock-board-D8DOoo_p.js → mock-board-DUqjanpY.js} +3 -3
- package/dist/client/assets/{monaco-editor-C3D0iT4a.js → monaco-editor-C4oSGu0z.js} +1 -1
- package/dist/client/assets/monitoring-DHvjzxYU.js +2 -0
- package/dist/client/assets/{monitoring-stats-row-By2SXcyl.js → monitoring-stats-row-C3be9geZ.js} +1 -1
- package/dist/client/assets/{multi-select-Dak9eW6K.js → multi-select-UQ5zKqaL.js} +1 -1
- package/dist/client/assets/{mustache-CMgVEDUc.js → mustache-zZXkHC_L.js} +1 -1
- package/dist/client/assets/{named-rule-step-BnN-hlGb.js → named-rule-step-CrcD_duq.js} +1 -1
- package/dist/client/assets/{named-rule-view-hUwolemN.js → named-rule-view--duBjHJb.js} +1 -1
- package/dist/client/assets/{new-project-dialog-BeD2i_Hm.js → new-project-dialog-C8GsS3yA.js} +1 -1
- package/dist/client/assets/{new-project-store-BfrY24D-.js → new-project-store-DIzzNFh1.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-0KF_xg3k.js → oauth-callback-ai-provider-B-5nafY2.js} +1 -1
- package/dist/client/assets/{oauth-callback-CNqxDLu3.js → oauth-callback-oqd3bXUP.js} +1 -1
- package/dist/client/assets/{oauth-consent-li4JOhlZ.js → oauth-consent-K2APicmR.js} +1 -1
- package/dist/client/assets/{onboarding-CzP4oXTn.js → onboarding-o9kHZxKA.js} +1 -1
- package/dist/client/assets/{openai-conversation-BMsTp1zg.js → openai-conversation-BZLoClec.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-C29BxST1.js → optimistic-project-sidebar-views-pk8rg5oK.js} +1 -1
- package/dist/client/assets/order-monitor-day-wSsYm9_l.js +1 -0
- package/dist/client/assets/{organization-choice-BhMXPFKX.js → organization-choice-BUBhZfiC.js} +1 -1
- package/dist/client/assets/{orgs-ZZqk-o74.js → orgs-DB1GWwYI.js} +1 -1
- package/dist/client/assets/{own-accounts-section-4_Hp7fJv.js → own-accounts-section-DPjhNkN7.js} +1 -1
- package/dist/client/assets/{pair-C4tumP78.js → pair-D_71JV_h.js} +1 -1
- package/dist/client/assets/{parse-sections-B5REiM5j.js → parse-sections-Ck3UjwM8.js} +3 -3
- package/dist/client/assets/{plan-vUNQzJtH.js → plan-ClnTFbh5.js} +1 -1
- package/dist/client/assets/{plan-ladder-BlcJL4hV.js → plan-ladder-C-nHzfvE.js} +1 -1
- package/dist/client/assets/{plan-usage-card-DW3wLLQF.js → plan-usage-card-DX0TEH1I.js} +1 -1
- package/dist/client/assets/{popover-9q-VKuQx.js → popover-CH9oXjqN.js} +1 -1
- package/dist/client/assets/post-calendar-Nt_O_Z94.js +1 -0
- package/dist/client/assets/{post-editor-BUxXB6Uz.js → post-editor-TZTGdKmL.js} +2 -2
- package/dist/client/assets/{preview-content-aN9ghsH_.js → preview-content-C_30wxn1.js} +1 -1
- package/dist/client/assets/{preview-dialog-DqNYRBay.js → preview-dialog-C2Vuh1sp.js} +1 -1
- package/dist/client/assets/{preview-panel-DV1FaRUZ.js → preview-panel-S5oFn61k.js} +1 -1
- package/dist/client/assets/preview-tab-ClSpAkmV.js +557 -0
- package/dist/client/assets/primitives-CrCuT0LR.js +1 -0
- package/dist/client/assets/{product-picker-dialog-DVs_Kuee.js → product-picker-dialog-mmy97YMY.js} +1 -1
- package/dist/client/assets/{profile-DbdvfkDI.js → profile-dIGLO0tj.js} +1 -1
- package/dist/client/assets/{project-app-view-Cfrp6muY.js → project-app-view-CL2brGAW.js} +1 -1
- package/dist/client/assets/{project-apps-z0dBtbP_.js → project-apps-BPLYxsdb.js} +1 -1
- package/dist/client/assets/{project-icon-C8Sq9Uyo.js → project-icon-BwoqBozX.js} +1 -1
- package/dist/client/assets/{project-index-BOyydKXT.js → project-index-Cb0knzOx.js} +1 -1
- package/dist/client/assets/project-reports-Es3eodEf.js +1 -0
- package/dist/client/assets/project-tasks-BObhyp-g.js +1 -0
- package/dist/client/assets/{projects-B5BvS56N.js → projects-AVd6wnYc.js} +1 -1
- package/dist/client/assets/{projects-empty-state-CDTj5tcd.js → projects-empty-state-C7JwlwFZ.js} +1 -1
- package/dist/client/assets/{prompts-DfS9pOYH.js → prompts-CYDVxedF.js} +1 -1
- package/dist/client/assets/record-editor-C24399Kq.js +1 -0
- package/dist/client/assets/redirect-editor-Buclfl6T.js +1 -0
- package/dist/client/assets/{reports-C624VFLj.js → reports-D5WruuUL.js} +1 -1
- package/dist/client/assets/reports-DwRlsCV2.js +1 -0
- package/dist/client/assets/{reports-onboarding-_pxt1WkF.js → reports-onboarding-CFJe1Yh6.js} +1 -1
- package/dist/client/assets/{reports-tab-BBmHq9vJ.js → reports-tab-BEIeHpqv.js} +2 -2
- package/dist/client/assets/repositories-BCW1MaJF.js +1 -0
- package/dist/client/assets/{repositories-B7d9yCxo.js → repositories-DWThiX2p.js} +1 -1
- package/dist/client/assets/{repository-binding-BIfwJXBl.js → repository-binding--4TzKXBA.js} +1 -1
- package/dist/client/assets/{repository-picker-vN0XhyKR.js → repository-picker-v7iVCEUT.js} +1 -1
- package/dist/client/assets/{require-capability-B6_v4BKo.js → require-capability-CAcEc9hc.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BXbkUsYd.js → required-auth-layout-B8y_MNr7.js} +1 -1
- package/dist/client/assets/{reset-password-DPvgQ5Qd.js → reset-password-ClGMHHI7.js} +1 -1
- package/dist/client/assets/{resizable-AytQ6SyX.js → resizable-COGor2Ly.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-BzV0wsYq.js → resolve-tab-icon-kXOqF-K7.js} +1 -1
- package/dist/client/assets/{review-settings-BTg5QElS.js → review-settings-BvN5yP9q.js} +1 -1
- package/dist/client/assets/{role-color-CNGxunw8.js → role-color-BqI6S_sH.js} +1 -1
- package/dist/client/assets/roles-DiINUuVU.js +1 -0
- package/dist/client/assets/{route-BX1VK4D8.js → route-BZ58rj3h.js} +1 -1
- package/dist/client/assets/{route-IYkPM4iL.js → route-Do9iV-Fa.js} +1 -1
- package/dist/client/assets/route-DvsPl2dV.js +1 -0
- package/dist/client/assets/{route-page-header-DnxbH76I.js → route-page-header-ZxjL9WRx.js} +1 -1
- package/dist/client/assets/{sandbox-git-api-CvJPOlyv.js → sandbox-git-api-BySMpBzA.js} +1 -1
- package/dist/client/assets/{sandbox-lifecycle-context-CO9pd80k.js → sandbox-lifecycle-context-D7Mo6SMT.js} +1 -1
- package/dist/client/assets/{save-status-eUv6TQpr.js → save-status-DUiju85M.js} +1 -1
- package/dist/client/assets/{schema-C2ft4i4u.js → schema-DcMtzh-L.js} +1 -1
- package/dist/client/assets/{schema-CATZG76m.js → schema-DzB5MtLQ.js} +1 -1
- package/dist/client/assets/{scroll-area-w9_Bvwmf.js → scroll-area-CT5pMPAI.js} +1 -1
- package/dist/client/assets/{search-input-D3b0Dc5Y.js → search-input-B5JIa11y.js} +1 -1
- package/dist/client/assets/{search-toggle-DBEAkZhz.js → search-toggle-B8OLzvCM.js} +1 -1
- package/dist/client/assets/{secret-picker-CVfi84wZ.js → secret-picker-DQnzetrk.js} +1 -1
- package/dist/client/assets/{secrets-Bxh8ZQN1.js → secrets-CohVPhQA.js} +1 -1
- package/dist/client/assets/section-array-field-BmxRdqC1.js +1 -0
- package/dist/client/assets/{sections-BS4WKjIk.js → sections-4E-Bc25K.js} +1 -1
- package/dist/client/assets/sections-editor-DdYFn1-8.js +1 -0
- package/dist/client/assets/{select-BJ7g3jt1.js → select-BzOd4QV1.js} +1 -1
- package/dist/client/assets/{select-model-CIoiyBbQ.js → select-model-9pBB2Ftb.js} +1 -1
- package/dist/client/assets/seo-editor-D0KLiDO0.js +1 -0
- package/dist/client/assets/{separator-DUnD5wBI.js → separator-DpCH28os.js} +1 -1
- package/dist/client/assets/{session-runtime-CRv5j4jh.js → session-runtime-fnzDQ8ba.js} +1 -1
- package/dist/client/assets/settings-tab-C7l6cj8f.js +1 -0
- package/dist/client/assets/{sheet-B1zTFenO.js → sheet-D0InrjqO.js} +1 -1
- package/dist/client/assets/{shell-layout-BT6RZJ9X.js → shell-layout-D8-R0sqM.js} +1 -1
- package/dist/client/assets/{site-draft-actions-BhvNLFOt.js → site-draft-actions-tjwxcrrz.js} +1 -1
- package/dist/client/assets/{site-draft-view-D89p35uK.js → site-draft-view-DY3MROcG.js} +1 -1
- package/dist/client/assets/site-editor-TTvFFMn0.js +1 -0
- package/dist/client/assets/{site-editor-toast-vvVLBG6s.js → site-editor-toast-BfB5E3lf.js} +1 -1
- package/dist/client/assets/{skills-C22XOkU8.js → skills-BgqMrKh3.js} +1 -1
- package/dist/client/assets/{slider-46E0vJw8.js → slider-CiWmLveF.js} +1 -1
- package/dist/client/assets/{sortable.esm-BzU9NXcP.js → sortable.esm-BnSJzMhQ.js} +1 -1
- package/dist/client/assets/{sso-zNrVMXEh.js → sso-C44FERRz.js} +1 -1
- package/dist/client/assets/{suggestion-B9N6oqkG.js → suggestion-Bnw1hfqZ.js} +1 -1
- package/dist/client/assets/{super-agent-icon-AyK0wzxQ.js → super-agent-icon-C6LdYrGo.js} +1 -1
- package/dist/client/assets/{switch-BX8b8tB6.js → switch-C9KE8PCO.js} +1 -1
- package/dist/client/assets/{synced-repos-DS_Rsdst.js → synced-repos-CZPSEENY.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-DpR7ri7q.js → tab-icon-glyph-CWJ_EMCz.js} +1 -1
- package/dist/client/assets/{table-DNvSx4nT.js → table-BabWDHl3.js} +1 -1
- package/dist/client/assets/{tabs-ClkuSww4.js → tabs-CLDwlIBj.js} +1 -1
- package/dist/client/assets/{task-board-DLNmAHmR.js → task-board-D-EY7IDb.js} +1 -1
- package/dist/client/assets/{task-key-BjUMQvHV.js → task-key-Bf-5jxEO.js} +1 -1
- package/dist/client/assets/{task-route-B6gZ9LxC.js → task-route-C5TECNuR.js} +1 -1
- package/dist/client/assets/{task-status-CvKutQFi.js → task-status-GtZc7DUE.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-BgegxTfw.js → taskboard-analytics-Bgm_SXDy.js} +1 -1
- package/dist/client/assets/tasks-C_2YCqC5.js +1 -0
- package/dist/client/assets/{tasks-VtqJyf5J.js → tasks-fCd-XF0B.js} +1 -1
- package/dist/client/assets/{textarea-BnYcD_gb.js → textarea-zXJwvg1C.js} +1 -1
- package/dist/client/assets/{thread-analytics-CHgBpfHv.js → thread-analytics-CToiKm9y.js} +1 -1
- package/dist/client/assets/{thread-button-Cra7mRSW.js → thread-button-D0_qm01C.js} +1 -1
- package/dist/client/assets/{thread-intent-CYNXEfHP.js → thread-intent-HcaWskQl.js} +1 -1
- package/dist/client/assets/{thread-route-muzc431X.js → thread-route-DISRw9NA.js} +1 -1
- package/dist/client/assets/{thread-route-D00Shirq.js → thread-route-DkHlrR6F.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-B4d3KSH7.js → thread-sheet-body-BwoNg8G-.js} +1 -1
- package/dist/client/assets/{time-range-picker-BzLGuV9Q.js → time-range-picker-BJLph571.js} +1 -1
- package/dist/client/assets/{toggle-group-Cu3LE1oL.js → toggle-group--KiJldtG.js} +1 -1
- package/dist/client/assets/{tool-set-selector-DpIP2fev.js → tool-set-selector-DigSDBNa.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-Bo8OSaqx.js → toolbar-icon-button-Cl7Yg4qZ.js} +1 -1
- package/dist/client/assets/{tooltip-CfeBMv8z.js → tooltip-CpNT29Lg.js} +1 -1
- package/dist/client/assets/{tooltipContext-BMU8k-Rs.js → tooltipContext-HwIIkoOx.js} +1 -1
- package/dist/client/assets/{track-DWmwuKVj.js → track-CnwyZ_-v.js} +1 -1
- package/dist/client/assets/{types-D_vNw-3-.js → types-U1xib9QI.js} +1 -1
- package/dist/client/assets/{url-slug-BOPVIawN.js → url-slug-o-5lOvNU.js} +1 -1
- package/dist/client/assets/{usage-stats-Dzci2XGy.js → usage-stats-BpSzWrpu.js} +1 -1
- package/dist/client/assets/{use-ai-providers-C30oeluP.js → use-ai-providers-CL55euJG.js} +1 -1
- package/dist/client/assets/{use-api-keys-CK1ZH-th.js → use-api-keys-DJl2frpX.js} +1 -1
- package/dist/client/assets/{use-apply-named-rule-DGYGOn-1.js → use-apply-named-rule-Sto1nxzx.js} +1 -1
- package/dist/client/assets/use-ask-in-chat-CT64oCbR.js +1 -0
- package/dist/client/assets/{use-automations-CtbjaE6m.js → use-automations-DC0esRjE.js} +1 -1
- package/dist/client/assets/{use-autosave-Bpr4B2YO.js → use-autosave-C-v37PG8.js} +1 -1
- package/dist/client/assets/use-blocks-v8-project-CHvN3d67.js +1 -0
- package/dist/client/assets/use-blog-view-CVo7QYbd.js +1 -0
- package/dist/client/assets/{use-chat-layout-state-DBVzfsNg.js → use-chat-layout-state-DuyGxNZ8.js} +1 -1
- package/dist/client/assets/{use-cms-publish-actions-CWkUAckV.js → use-cms-publish-actions-Cef_LTMV.js} +1 -1
- package/dist/client/assets/{use-connect-companion-iGJRty2G.js → use-connect-companion-BaxDHT_c.js} +1 -1
- package/dist/client/assets/{use-connection-C-m8b2Fk.js → use-connection-BrUoHInG.js} +1 -1
- package/dist/client/assets/{use-content-sync-BJ7PE3PC.js → use-content-sync-C-N3pUjd.js} +1 -1
- package/dist/client/assets/{use-copy-BHPkBnZF.js → use-copy-BosHh8hs.js} +1 -1
- package/dist/client/assets/{use-current-view-CHhVzMwk.js → use-current-view-CQkQuEPS.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-Cn791fqZ.js → use-date-fns-locale-CL5KHXt3.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-C6OCZte6.js → use-debounced-autosave-Dd0HvZCV.js} +1 -1
- package/dist/client/assets/{use-debounced-value-By7KggQt.js → use-debounced-value-D92V-nO1.js} +1 -1
- package/dist/client/assets/{use-deco-credits-19cW8oHb.js → use-deco-credits-BbacUwGD.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-BxfGa0_j.js → use-decopilot-events-CXr5p6cn.js} +1 -1
- package/dist/client/assets/{use-delete-block-3AD9rKWc.js → use-delete-block-CcnRhYow.js} +1 -1
- package/dist/client/assets/{use-delete-connection-Cma0d5Z7.js → use-delete-connection-C5CW1TMU.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-COmgwPUq.js → use-deployment-admin-CrPYh0iy.js} +1 -1
- package/dist/client/assets/{use-entitlements-B8D7pawV.js → use-entitlements-CtKDjSCc.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-BQhDGlp9.js → use-fast-preview-draft-url-oDvx6qNG.js} +1 -1
- package/dist/client/assets/{use-file-configs-CCo70YSN.js → use-file-configs-d8oveZti.js} +1 -1
- package/dist/client/assets/{use-id-selection-BOT74h8X.js → use-id-selection-YDCUJkW7.js} +1 -1
- package/dist/client/assets/{use-in-settings-qQ2sbeu5.js → use-in-settings-CSXNVGfX.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-CIBoyRh8.js → use-inbox-feed-BmDqTf6H.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-Ct_PbHT3.js → use-infinite-scroll-Bk9vcUF2.js} +1 -1
- package/dist/client/assets/{use-join-requests-CbaI0xCz.js → use-join-requests-C1GX0oi8.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-CPcNwsEn.js → use-main-panel-tabs-D6PrQKj_.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-BfHI4tpd.js → use-mcp-auth-status-BXEHX9A9.js} +1 -1
- package/dist/client/assets/{use-mcp-client-7NPwItGN.js → use-mcp-client-Dn7GJEfR.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-C7QHdaI_.js → use-mcp-prompts-BMSkxk3j.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DqnFukoV.js → use-mcp-tools-BNwnVHgE.js} +1 -1
- package/dist/client/assets/{use-mobile-5e0sSd3X.js → use-mobile-Bwg13Khk.js} +1 -1
- package/dist/client/assets/{use-move-blocks-Cqt9Q8CZ.js → use-move-blocks-sK7PvIYV.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CtsEyeFb.js → use-navigate-to-agent-CzSAlpxn.js} +1 -1
- package/dist/client/assets/{use-never-published-BK3TeRer.js → use-never-published-DAOoxMmV.js} +1 -1
- package/dist/client/assets/{use-org-fs-Cq9dcDh3.js → use-org-fs-ISEYfoeP.js} +1 -1
- package/dist/client/assets/{use-org-notice-Dvph2j3S.js → use-org-notice-BTIpWL_p.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-CCuZhNZU.js → use-org-repo-syncs-BPpDk25r.js} +1 -1
- package/dist/client/assets/{use-org-sso-BKXSOEb_.js → use-org-sso-BZklGZ0G.js} +1 -1
- package/dist/client/assets/{use-organization-settings-BoOQOwrg.js → use-organization-settings-CYN_vYgA.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-DPGDB1T1.js → use-panel-navigate-BAJB306G.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-SSp2DD_u.js → use-project-native-view-presence-D1vQT4ZH.js} +1 -1
- package/dist/client/assets/{use-project-scope-BIucgFKc.js → use-project-scope-DVgj2Lmp.js} +1 -1
- package/dist/client/assets/{use-recent-apps-4zSmjU-Q.js → use-recent-apps-DV9D4KSi.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-DWL8tyP6.js → use-reports-diagnostic-CxJVNJu1.js} +1 -1
- package/dist/client/assets/{use-sandbox-events-TxpzU2Iw.js → use-sandbox-events-BqtbFabs.js} +1 -1
- package/dist/client/assets/{use-secrets-CsCKmxLc.js → use-secrets-BZGVO7wb.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-BxFRvYUl.js → use-section-preview-base-_QoALJol.js} +1 -1
- package/dist/client/assets/{use-sidebar-collapsed-DHFFs76T.js → use-sidebar-collapsed-UNm7xHPV.js} +1 -1
- package/dist/client/assets/{use-tags-aDaEeB96.js → use-tags-DHI_FfeM.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-XXuDuH8s.js → use-task-board-analytics-BWCmk6Id.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-CLDgREI3.js → use-task-board-item-prs-CNeKRqLE.js} +1 -1
- package/dist/client/assets/{use-task-board-items-D4fdH47R.js → use-task-board-items-VCVSuTG_.js} +1 -1
- package/dist/client/assets/{use-task-board-prompts-DRYQb2DR.js → use-task-board-prompts-Cym2n16B.js} +1 -1
- package/dist/client/assets/{use-task-metadata-CSvrbSt0.js → use-task-metadata-DF5Dujx5.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-CrNLjxTt.js → use-thread-outputs-y7iH8wUp.js} +1 -1
- package/dist/client/assets/{use-view-draft-kind-BG3Ihm6n.js → use-view-draft-kind-CofWB4b8.js} +1 -1
- package/dist/client/assets/{use-voice-input-BspgCDOI.js → use-voice-input-DuTeTois.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-AR0nCC2r.js +1 -0
- package/dist/client/assets/{useQueries-DGhxO9Ry.js → useQueries-D5FTElAG.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CcdFZ__h.js +1 -0
- package/dist/client/assets/{users-CC1uXfIH.js → users-9DnwrQDD.js} +1 -1
- package/dist/client/assets/{utils-JVZxV40b.js → utils-B6aCtHUu.js} +1 -1
- package/dist/client/assets/{variant-calendar-COAsXla8.js → variant-calendar-BnXhZ8PW.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-Dm9kjKRy.js → variant-matcher-override-BH-xFtlD.js} +1 -1
- package/dist/client/assets/{view-header-d4Obd__T.js → view-header-mqw-cAVS.js} +1 -1
- package/dist/client/assets/{virtual-mcp-TQWeP4ry.js → virtual-mcp-sCTq7xTd.js} +1 -1
- package/dist/client/assets/watch-sse-pool-cOL-0uUN.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/migrate-dbos.js +2 -2
- package/dist/server/migrate.js +211 -211
- package/dist/server/server.js +841 -845
- package/package.json +1 -1
- package/dist/client/assets/agent-app-BwabK-EN.js +0 -1
- package/dist/client/assets/agent-blog-BAFEHC3F.js +0 -2
- package/dist/client/assets/agent-blog-post-BfZLJHCc.js +0 -2
- package/dist/client/assets/agent-deck-FkIcljPu.js +0 -1
- package/dist/client/assets/agent-experiments-DDePdz1s.js +0 -1
- package/dist/client/assets/agent-file-Dq7RwOoN.js +0 -1
- package/dist/client/assets/agent-library-C06De_Om.js +0 -1
- package/dist/client/assets/agent-library-file-DZtwB2bP.js +0 -1
- package/dist/client/assets/agent-overview-3kq8I1YX.js +0 -1
- package/dist/client/assets/agent-settings-CQxH-SU4.js +0 -1
- package/dist/client/assets/agent-site-editor-code-lMnnKFV4.js +0 -2
- package/dist/client/assets/agent-site-editor-content-BQ-pFVV_.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-Dipnwf9A.js +0 -1
- package/dist/client/assets/agent-view-D74Nsx4n.js +0 -1
- package/dist/client/assets/api-keys-B9w3P2co.js +0 -1
- package/dist/client/assets/app-editor-DLwnlaqE.js +0 -1
- package/dist/client/assets/blog-preview-url-D1Gi50Jy.js +0 -1
- package/dist/client/assets/blog-schema-G_pvuSAo.js +0 -1
- package/dist/client/assets/blog-source-gate-Z08IMogx.js +0 -1
- package/dist/client/assets/category-editor-DZLdQENU.js +0 -1
- package/dist/client/assets/category-tree-oBVfCVRR.js +0 -4
- package/dist/client/assets/cms-settings-editor-h4wDmiSv.js +0 -1
- package/dist/client/assets/empty-message-B3ykEghT.js +0 -15
- package/dist/client/assets/index-CFbcObvG.css +0 -1
- package/dist/client/assets/index-DwIomefI.js +0 -5
- package/dist/client/assets/item-actions-CZD9JeRy.js +0 -1
- package/dist/client/assets/library-Cy3CmAZa.js +0 -1
- package/dist/client/assets/monitoring-BvN0RJq0.js +0 -2
- package/dist/client/assets/order-monitor-day-D910WxJ3.js +0 -1
- package/dist/client/assets/post-calendar-Cw6GB31X.js +0 -1
- package/dist/client/assets/preview-tab-CNYeoSqY.js +0 -557
- package/dist/client/assets/project-reports-CN1JvK97.js +0 -1
- package/dist/client/assets/project-tasks-Cimkg6Js.js +0 -1
- package/dist/client/assets/record-editor-BC_pgxjj.js +0 -1
- package/dist/client/assets/redirect-editor-CJJivlqw.js +0 -1
- package/dist/client/assets/reports-BU9i6BvT.js +0 -1
- package/dist/client/assets/repositories-D-ngJeYU.js +0 -1
- package/dist/client/assets/roles-DrWSfOhb.js +0 -1
- package/dist/client/assets/route-DxNP7FKc.js +0 -1
- package/dist/client/assets/section-array-field-CkDPdYBe.js +0 -1
- package/dist/client/assets/sections-editor-CLaZ0j6X.js +0 -1
- package/dist/client/assets/seo-editor-C5CvtZIp.js +0 -1
- package/dist/client/assets/settings-tab-k_yzR7TC.js +0 -1
- package/dist/client/assets/site-editor-DO2-FIjd.js +0 -1
- package/dist/client/assets/tasks-BZlAEaTY.js +0 -1
- package/dist/client/assets/use-ask-in-chat-Cp6wJI2T.js +0 -1
- package/dist/client/assets/use-blocks-v8-project-DUe21BCo.js +0 -1
- package/dist/client/assets/use-blog-view-D_--u8j_.js +0 -1
- package/dist/client/assets/useInfiniteQuery-BJoJv4VQ.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BFQG7J82.js +0 -1
- package/dist/client/assets/watch-sse-pool-CWcYbOm5.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as u,r as D,c as ht,m as H,ba as Pe,au as mt}from"./index-BVZH8mqe.js";import{b as vt}from"./UserCheck01-B1rJ65So.js";function w(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function S(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function C(e,t){const n=w(e);return isNaN(t)?S(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function j(e,t){const n=w(e);if(isNaN(t))return S(e,NaN);if(!t)return n;const a=n.getDate(),r=S(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);const o=r.getDate();return a>=o?r:(n.setFullYear(r.getFullYear(),r.getMonth(),a),n)}const ye=6048e5,yt=864e5;let gt={};function z(){return gt}function Y(e,t){const n=z(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=w(e),o=r.getDay(),i=(o<a?7:0)+o-a;return r.setDate(r.getDate()-i),r.setHours(0,0,0,0),r}function I(e){return Y(e,{weekStartsOn:1})}function Ie(e){const t=w(e),n=t.getFullYear(),a=S(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const r=I(a),o=S(e,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const i=I(o);return t.getTime()>=r.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function A(e){const t=w(e);return t.setHours(0,0,0,0),t}function Z(e){const t=w(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function T(e,t){const n=A(e),a=A(t),r=+n-Z(n),o=+a-Z(a);return Math.round((r-o)/yt)}function bt(e){const t=Ie(e),n=S(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),I(n)}function me(e,t){const n=t*7;return C(e,n)}function pt(e,t){return j(e,t*12)}function wt(e){let t;return e.forEach(function(n){const a=w(n);(t===void 0||t<a||isNaN(Number(a)))&&(t=a)}),t||new Date(NaN)}function xt(e){let t;return e.forEach(n=>{const a=w(n);(!t||t>a||isNaN(+a))&&(t=a)}),t||new Date(NaN)}function P(e,t){const n=A(e),a=A(t);return+n==+a}function ge(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function _t(e){if(!ge(e)&&typeof e!="number")return!1;const t=w(e);return!isNaN(Number(t))}function G(e,t){const n=w(e),a=w(t),r=n.getFullYear()-a.getFullYear(),o=n.getMonth()-a.getMonth();return r*12+o}function Dt(e,t,n){const a=Y(e,n),r=Y(t,n),o=+a-Z(a),i=+r-Z(r);return Math.round((o-i)/ye)}function be(e){const t=w(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function O(e){const t=w(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Re(e){const t=w(e),n=S(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function pe(e,t){const n=z(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=w(e),o=r.getDay(),i=(o<a?-7:0)+6-(o-a);return r.setDate(r.getDate()+i),r.setHours(23,59,59,999),r}function Be(e){return pe(e,{weekStartsOn:1})}const Mt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kt=(e,t,n)=>{let a;const r=Mt[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function se(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Nt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ct={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ot={date:se({formats:Nt,defaultWidth:"full"}),time:se({formats:Ct,defaultWidth:"full"}),dateTime:se({formats:Pt,defaultWidth:"full"})},St={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},jt=(e,t,n,a)=>St[e];function X(e){return(t,n)=>{const a=n?.context?String(n.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n?.width?String(n.width):i;r=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n?.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}const Wt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Tt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Yt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ft={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Et={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Lt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},It=(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Rt={ordinalNumber:It,era:X({values:Wt,defaultWidth:"wide"}),quarter:X({values:Tt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:X({values:Yt,defaultWidth:"wide"}),day:X({values:Ft,defaultWidth:"wide"}),dayPeriod:X({values:Et,defaultWidth:"wide",formattingValues:Lt,defaultFormattingWidth:"wide"})};function V(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;const i=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?Ht(s,f=>f.test(i)):Bt(s,f=>f.test(i));let d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;const l=t.slice(i.length);return{value:d,rest:l}}}function Bt(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Ht(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function At(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(r.length);return{value:i,rest:s}}}const qt=/^(\d+)(th|st|nd|rd)?/i,Qt=/\d+/i,Xt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vt={any:[/^b/i,/^(a|c)/i]},Gt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zt={any:[/1/i,/2/i,/3/i,/4/i]},Ut={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Jt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$t={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Zt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},en={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},tn={ordinalNumber:At({matchPattern:qt,parsePattern:Qt,valueCallback:e=>parseInt(e,10)}),era:V({matchPatterns:Xt,defaultMatchWidth:"wide",parsePatterns:Vt,defaultParseWidth:"any"}),quarter:V({matchPatterns:Gt,defaultMatchWidth:"wide",parsePatterns:zt,defaultParseWidth:"any",valueCallback:e=>e+1}),month:V({matchPatterns:Ut,defaultMatchWidth:"wide",parsePatterns:Jt,defaultParseWidth:"any"}),day:V({matchPatterns:Kt,defaultMatchWidth:"wide",parsePatterns:$t,defaultParseWidth:"any"}),dayPeriod:V({matchPatterns:Zt,defaultMatchWidth:"any",parsePatterns:en,defaultParseWidth:"any"})},He={code:"en-US",formatDistance:kt,formatLong:Ot,formatRelative:jt,localize:Rt,match:tn,options:{weekStartsOn:0,firstWeekContainsDate:1}};function nn(e){const t=w(e);return T(t,Re(t))+1}function Ae(e){const t=w(e),n=+I(t)-+bt(t);return Math.round(n/ye)+1}function qe(e,t){const n=w(e),a=n.getFullYear(),r=z(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=S(e,0);i.setFullYear(a+1,0,o),i.setHours(0,0,0,0);const s=Y(i,t),c=S(e,0);c.setFullYear(a,0,o),c.setHours(0,0,0,0);const d=Y(c,t);return n.getTime()>=s.getTime()?a+1:n.getTime()>=d.getTime()?a:a-1}function an(e,t){const n=z(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=qe(e,t),o=S(e,0);return o.setFullYear(r,0,a),o.setHours(0,0,0,0),Y(o,t)}function Qe(e,t){const n=w(e),a=+Y(n,t)-+an(n,t);return Math.round(a/ye)+1}function _(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const E={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return _(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):_(n+1,2)},d(e,t){return _(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return _(e.getHours()%12||12,t.length)},H(e,t){return _(e.getHours(),t.length)},m(e,t){return _(e.getMinutes(),t.length)},s(e,t){return _(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return _(r,t.length)}},B={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oe={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return E.y(e,t)},Y:function(e,t,n,a){const r=qe(e,a),o=r>0?r:1-r;if(t==="YY"){const i=o%100;return _(i,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):_(o,t.length)},R:function(e,t){const n=Ie(e);return _(n,t.length)},u:function(e,t){const n=e.getFullYear();return _(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return _(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return _(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return E.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return _(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=Qe(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):_(r,t.length)},I:function(e,t,n){const a=Ae(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):_(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):E.d(e,t)},D:function(e,t,n){const a=nn(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):_(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return _(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return _(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return _(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(a===12?r=B.noon:a===0?r=B.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(a>=17?r=B.evening:a>=12?r=B.afternoon:a>=4?r=B.morning:r=B.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return E.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):E.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):_(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):_(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):E.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):E.s(e,t)},S:function(e,t){return E.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return je(a);case"XXXX":case"XX":return L(a);default:return L(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return je(a);case"xxxx":case"xx":return L(a);default:return L(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Se(a,":");default:return"GMT"+L(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Se(a,":");default:return"GMT"+L(a,":")}},t:function(e,t,n){const a=Math.trunc(e.getTime()/1e3);return _(a,t.length)},T:function(e,t,n){const a=e.getTime();return _(a,t.length)}};function Se(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),o=a%60;return o===0?n+String(r):n+String(r)+t+_(o,2)}function je(e,t){return e%60===0?(e>0?"-":"+")+_(Math.abs(e)/60,2):L(e,t)}function L(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=_(Math.trunc(a/60),2),o=_(a%60,2);return n+r+t+o}const We=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Xe=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},rn=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return We(e,t);let o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",We(a,t)).replace("{{time}}",Xe(r,t))},on={p:Xe,P:rn},sn=/^D+$/,un=/^Y+$/,ln=["D","DD","YY","YYYY"];function cn(e){return sn.test(e)}function dn(e){return un.test(e)}function fn(e,t,n){const a=hn(e,t,n);if(console.warn(a),ln.includes(e))throw new RangeError(a)}function hn(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const mn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yn=/^'([^]*?)'?$/,gn=/''/g,bn=/[a-zA-Z]/;function R(e,t,n){const a=z(),r=n?.locale??a.locale??He,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=w(e);if(!_t(s))throw new RangeError("Invalid time value");let c=t.match(vn).map(l=>{const f=l[0];if(f==="p"||f==="P"){const h=on[f];return h(l,r.formatLong)}return l}).join("").match(mn).map(l=>{if(l==="''")return{isToken:!1,value:"'"};const f=l[0];if(f==="'")return{isToken:!1,value:pn(l)};if(Oe[f])return{isToken:!0,value:l};if(f.match(bn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:l}});r.localize.preprocessor&&(c=r.localize.preprocessor(s,c));const d={firstWeekContainsDate:o,weekStartsOn:i,locale:r};return c.map(l=>{if(!l.isToken)return l.value;const f=l.value;(!n?.useAdditionalWeekYearTokens&&dn(f)||!n?.useAdditionalDayOfYearTokens&&cn(f))&&fn(f,t,String(e));const h=Oe[f[0]];return h(s,f,r.localize,d)}).join("")}function pn(e){const t=e.match(yn);return t?t[1].replace(gn,"'"):e}function wn(e){const t=w(e),n=t.getFullYear(),a=t.getMonth(),r=S(e,0);return r.setFullYear(n,a+1,0),r.setHours(0,0,0,0),r.getDate()}function xn(e){return Math.trunc(+w(e)/1e3)}function _n(e){const t=w(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function Dn(e,t){return Dt(_n(e),O(e),t)+1}function ve(e,t){const n=w(e),a=w(t);return n.getTime()>a.getTime()}function Ve(e,t){const n=w(e),a=w(t);return+n<+a}function we(e,t){const n=w(e),a=w(t);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function Mn(e,t){const n=w(e),a=w(t);return n.getFullYear()===a.getFullYear()}function ue(e,t){return C(e,-t)}function le(e,t){const n=w(e),a=n.getFullYear(),r=n.getDate(),o=S(e,0);o.setFullYear(a,t,15),o.setHours(0,0,0,0);const i=wn(o);return n.setMonth(t,Math.min(r,i)),n}function Te(e,t){const n=w(e);return isNaN(+n)?S(e,NaN):(n.setFullYear(t),n)}var g=function(){return g=Object.assign||function(t){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},g.apply(this,arguments)};function kn(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}function Ge(e,t,n){for(var a=0,r=t.length,o;a<r;a++)(o||!(a in t))&&(o||(o=Array.prototype.slice.call(t,0,a)),o[a]=t[a]);return e.concat(o||Array.prototype.slice.call(t))}function U(e){return e.mode==="multiple"}function J(e){return e.mode==="range"}function te(e){return e.mode==="single"}var Nn={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function Cn(e,t){return R(e,"LLLL y",t)}function Pn(e,t){return R(e,"d",t)}function On(e,t){return R(e,"LLLL",t)}function Sn(e){return"".concat(e)}function jn(e,t){return R(e,"cccccc",t)}function Wn(e,t){return R(e,"yyyy",t)}var Tn=Object.freeze({__proto__:null,formatCaption:Cn,formatDay:Pn,formatMonthCaption:On,formatWeekNumber:Sn,formatWeekdayName:jn,formatYearCaption:Wn}),Yn=function(e,t,n){return R(e,"do MMMM (EEEE)",n)},Fn=function(){return"Month: "},En=function(){return"Go to next month"},Ln=function(){return"Go to previous month"},In=function(e,t){return R(e,"cccc",t)},Rn=function(e){return"Week n. ".concat(e)},Bn=function(){return"Year: "},Hn=Object.freeze({__proto__:null,labelDay:Yn,labelMonthDropdown:Fn,labelNext:En,labelPrevious:Ln,labelWeekNumber:Rn,labelWeekday:In,labelYearDropdown:Bn});function An(){var e="buttons",t=Nn,n=He,a={},r={},o=1,i={},s=new Date;return{captionLayout:e,classNames:t,formatters:Tn,labels:Hn,locale:n,modifiersClassNames:a,modifiers:r,numberOfMonths:o,styles:i,today:s,mode:"default"}}function qn(e){var t=e.fromYear,n=e.toYear,a=e.fromMonth,r=e.toMonth,o=e.fromDate,i=e.toDate;return a?o=O(a):t&&(o=new Date(t,0,1)),r?i=be(r):n&&(i=new Date(n,11,31)),{fromDate:o?A(o):void 0,toDate:i?A(i):void 0}}var ze=D.createContext(void 0);function Qn(e){var t,n=e.initialProps,a=An(),r=qn(n),o=r.fromDate,i=r.toDate,s=(t=n.captionLayout)!==null&&t!==void 0?t:a.captionLayout;s!=="buttons"&&(!o||!i)&&(s="buttons");var c;(te(n)||U(n)||J(n))&&(c=n.onSelect);var d=g(g(g({},a),n),{captionLayout:s,classNames:g(g({},a.classNames),n.classNames),components:g({},n.components),formatters:g(g({},a.formatters),n.formatters),fromDate:o,labels:g(g({},a.labels),n.labels),mode:n.mode||a.mode,modifiers:g(g({},a.modifiers),n.modifiers),modifiersClassNames:g(g({},a.modifiersClassNames),n.modifiersClassNames),onSelect:c,styles:g(g({},a.styles),n.styles),toDate:i});return u.jsx(ze.Provider,{value:d,children:e.children})}function M(){var e=D.useContext(ze);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function Ue(e){var t=M(),n=t.locale,a=t.classNames,r=t.styles,o=t.formatters.formatCaption;return u.jsx("div",{className:a.caption_label,style:r.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:o(e.displayMonth,{locale:n})})}function Xn(e){return u.jsx("svg",g({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:u.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Je(e){var t,n,a=e.onChange,r=e.value,o=e.children,i=e.caption,s=e.className,c=e.style,d=M(),l=(n=(t=d.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:Xn;return u.jsxs("div",{className:s,style:c,children:[u.jsx("span",{className:d.classNames.vhidden,children:e["aria-label"]}),u.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:d.classNames.dropdown,style:d.styles.dropdown,value:r,onChange:a,children:o}),u.jsxs("div",{className:d.classNames.caption_label,style:d.styles.caption_label,"aria-hidden":"true",children:[i,u.jsx(l,{className:d.classNames.dropdown_icon,style:d.styles.dropdown_icon})]})]})}function Vn(e){var t,n=M(),a=n.fromDate,r=n.toDate,o=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,c=n.classNames,d=n.components,l=n.labels.labelMonthDropdown;if(!a)return u.jsx(u.Fragment,{});if(!r)return u.jsx(u.Fragment,{});var f=[];if(Mn(a,r))for(var h=O(a),m=a.getMonth();m<=r.getMonth();m++)f.push(le(h,m));else for(var h=O(new Date),m=0;m<=11;m++)f.push(le(h,m));var y=function(p){var N=Number(p.target.value),k=le(O(e.displayMonth),N);e.onChange(k)},x=(t=d?.Dropdown)!==null&&t!==void 0?t:Je;return u.jsx(x,{name:"months","aria-label":l(),className:c.dropdown_month,style:o.dropdown_month,onChange:y,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:i}),children:f.map(function(p){return u.jsx("option",{value:p.getMonth(),children:s(p,{locale:i})},p.getMonth())})})}function Gn(e){var t,n=e.displayMonth,a=M(),r=a.fromDate,o=a.toDate,i=a.locale,s=a.styles,c=a.classNames,d=a.components,l=a.formatters.formatYearCaption,f=a.labels.labelYearDropdown,h=[];if(!r)return u.jsx(u.Fragment,{});if(!o)return u.jsx(u.Fragment,{});for(var m=r.getFullYear(),y=o.getFullYear(),x=m;x<=y;x++)h.push(Te(Re(new Date),x));var p=function(k){var q=Te(O(n),Number(k.target.value));e.onChange(q)},N=(t=d?.Dropdown)!==null&&t!==void 0?t:Je;return u.jsx(N,{name:"years","aria-label":f(),className:c.dropdown_year,style:s.dropdown_year,onChange:p,value:n.getFullYear(),caption:l(n,{locale:i}),children:h.map(function(k){return u.jsx("option",{value:k.getFullYear(),children:l(k,{locale:i})},k.getFullYear())})})}function zn(e,t){var n=D.useState(e),a=n[0],r=n[1],o=t===void 0?a:t;return[o,r]}function Un(e){var t=e.month,n=e.defaultMonth,a=e.today,r=t||n||a||new Date,o=e.toDate,i=e.fromDate,s=e.numberOfMonths,c=s===void 0?1:s;if(o&&G(o,r)<0){var d=-1*(c-1);r=j(o,d)}return i&&G(r,i)<0&&(r=i),O(r)}function Jn(){var e=M(),t=Un(e),n=zn(t,e.month),a=n[0],r=n[1],o=function(i){var s;if(!e.disableNavigation){var c=O(i);r(c),(s=e.onMonthChange)===null||s===void 0||s.call(e,c)}};return[a,o]}function Kn(e,t){for(var n=t.reverseMonths,a=t.numberOfMonths,r=O(e),o=O(j(r,a)),i=G(o,r),s=[],c=0;c<i;c++){var d=j(r,c);s.push(d)}return n&&(s=s.reverse()),s}function $n(e,t){if(!t.disableNavigation){var n=t.toDate,a=t.pagedNavigation,r=t.numberOfMonths,o=r===void 0?1:r,i=a?o:1,s=O(e);if(!n)return j(s,i);var c=G(n,e);if(!(c<o))return j(s,i)}}function Zn(e,t){if(!t.disableNavigation){var n=t.fromDate,a=t.pagedNavigation,r=t.numberOfMonths,o=r===void 0?1:r,i=a?o:1,s=O(e);if(!n)return j(s,-i);var c=G(s,n);if(!(c<=0))return j(s,-i)}}var Ke=D.createContext(void 0);function ea(e){var t=M(),n=Jn(),a=n[0],r=n[1],o=Kn(a,t),i=$n(a,t),s=Zn(a,t),c=function(f){return o.some(function(h){return we(f,h)})},d=function(f,h){c(f)||(h&&Ve(f,h)?r(j(f,1+t.numberOfMonths*-1)):r(f))},l={currentMonth:a,displayMonths:o,goToMonth:r,goToDate:d,previousMonth:s,nextMonth:i,isDateDisplayed:c};return u.jsx(Ke.Provider,{value:l,children:e.children})}function K(){var e=D.useContext(Ke);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Ye(e){var t,n=M(),a=n.classNames,r=n.styles,o=n.components,i=K().goToMonth,s=function(l){i(j(l,e.displayIndex?-e.displayIndex:0))},c=(t=o?.CaptionLabel)!==null&&t!==void 0?t:Ue,d=u.jsx(c,{id:e.id,displayMonth:e.displayMonth});return u.jsxs("div",{className:a.caption_dropdowns,style:r.caption_dropdowns,children:[u.jsx("div",{className:a.vhidden,children:d}),u.jsx(Vn,{onChange:s,displayMonth:e.displayMonth}),u.jsx(Gn,{onChange:s,displayMonth:e.displayMonth})]})}function ta(e){return u.jsx("svg",g({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:u.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function na(e){return u.jsx("svg",g({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:u.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var ee=D.forwardRef(function(e,t){var n=M(),a=n.classNames,r=n.styles,o=[a.button_reset,a.button];e.className&&o.push(e.className);var i=o.join(" "),s=g(g({},r.button_reset),r.button);return e.style&&Object.assign(s,e.style),u.jsx("button",g({},e,{ref:t,type:"button",className:i,style:s}))});function aa(e){var t,n,a=M(),r=a.dir,o=a.locale,i=a.classNames,s=a.styles,c=a.labels,d=c.labelPrevious,l=c.labelNext,f=a.components;if(!e.nextMonth&&!e.previousMonth)return u.jsx(u.Fragment,{});var h=d(e.previousMonth,{locale:o}),m=[i.nav_button,i.nav_button_previous].join(" "),y=l(e.nextMonth,{locale:o}),x=[i.nav_button,i.nav_button_next].join(" "),p=(t=f?.IconRight)!==null&&t!==void 0?t:na,N=(n=f?.IconLeft)!==null&&n!==void 0?n:ta;return u.jsxs("div",{className:i.nav,style:s.nav,children:[!e.hidePrevious&&u.jsx(ee,{name:"previous-month","aria-label":h,className:m,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:r==="rtl"?u.jsx(p,{className:i.nav_icon,style:s.nav_icon}):u.jsx(N,{className:i.nav_icon,style:s.nav_icon})}),!e.hideNext&&u.jsx(ee,{name:"next-month","aria-label":y,className:x,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:r==="rtl"?u.jsx(N,{className:i.nav_icon,style:s.nav_icon}):u.jsx(p,{className:i.nav_icon,style:s.nav_icon})})]})}function Fe(e){var t=M().numberOfMonths,n=K(),a=n.previousMonth,r=n.nextMonth,o=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(y){return we(e.displayMonth,y)}),c=s===0,d=s===i.length-1,l=t>1&&(c||!d),f=t>1&&(d||!c),h=function(){a&&o(a)},m=function(){r&&o(r)};return u.jsx(aa,{displayMonth:e.displayMonth,hideNext:l,hidePrevious:f,nextMonth:r,previousMonth:a,onPreviousClick:h,onNextClick:m})}function ra(e){var t,n=M(),a=n.classNames,r=n.disableNavigation,o=n.styles,i=n.captionLayout,s=n.components,c=(t=s?.CaptionLabel)!==null&&t!==void 0?t:Ue,d;return r?d=u.jsx(c,{id:e.id,displayMonth:e.displayMonth}):i==="dropdown"?d=u.jsx(Ye,{displayMonth:e.displayMonth,id:e.id}):i==="dropdown-buttons"?d=u.jsxs(u.Fragment,{children:[u.jsx(Ye,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),u.jsx(Fe,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):d=u.jsxs(u.Fragment,{children:[u.jsx(c,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),u.jsx(Fe,{displayMonth:e.displayMonth,id:e.id})]}),u.jsx("div",{className:a.caption,style:o.caption,children:d})}function oa(e){var t=M(),n=t.footer,a=t.styles,r=t.classNames.tfoot;return n?u.jsx("tfoot",{className:r,style:a.tfoot,children:u.jsx("tr",{children:u.jsx("td",{colSpan:8,children:n})})}):u.jsx(u.Fragment,{})}function ia(e,t,n){for(var a=n?I(new Date):Y(new Date,{locale:e,weekStartsOn:t}),r=[],o=0;o<7;o++){var i=C(a,o);r.push(i)}return r}function sa(){var e=M(),t=e.classNames,n=e.styles,a=e.showWeekNumber,r=e.locale,o=e.weekStartsOn,i=e.ISOWeek,s=e.formatters.formatWeekdayName,c=e.labels.labelWeekday,d=ia(r,o,i);return u.jsxs("tr",{style:n.head_row,className:t.head_row,children:[a&&u.jsx("td",{style:n.head_cell,className:t.head_cell}),d.map(function(l,f){return u.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":c(l,{locale:r}),children:s(l,{locale:r})},f)})]})}function ua(){var e,t=M(),n=t.classNames,a=t.styles,r=t.components,o=(e=r?.HeadRow)!==null&&e!==void 0?e:sa;return u.jsx("thead",{style:a.head,className:n.head,children:u.jsx(o,{})})}function la(e){var t=M(),n=t.locale,a=t.formatters.formatDay;return u.jsx(u.Fragment,{children:a(e.date,{locale:n})})}var xe=D.createContext(void 0);function ca(e){if(!U(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return u.jsx(xe.Provider,{value:t,children:e.children})}return u.jsx(da,{initialProps:e.initialProps,children:e.children})}function da(e){var t=e.initialProps,n=e.children,a=t.selected,r=t.min,o=t.max,i=function(d,l,f){var h,m;(h=t.onDayClick)===null||h===void 0||h.call(t,d,l,f);var y=!!(l.selected&&r&&a?.length===r);if(!y){var x=!!(!l.selected&&o&&a?.length===o);if(!x){var p=a?Ge([],a):[];if(l.selected){var N=p.findIndex(function(k){return P(d,k)});p.splice(N,1)}else p.push(d);(m=t.onSelect)===null||m===void 0||m.call(t,p,d,l,f)}}},s={disabled:[]};a&&s.disabled.push(function(d){var l=o&&a.length>o-1,f=a.some(function(h){return P(h,d)});return!!(l&&!f)});var c={selected:a,onDayClick:i,modifiers:s};return u.jsx(xe.Provider,{value:c,children:n})}function _e(){var e=D.useContext(xe);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function fa(e,t){var n=t||{},a=n.from,r=n.to;return a&&r?P(r,e)&&P(a,e)?void 0:P(r,e)?{from:r,to:void 0}:P(a,e)?void 0:ve(a,e)?{from:e,to:r}:{from:a,to:e}:r?ve(e,r)?{from:r,to:e}:{from:e,to:r}:a?Ve(e,a)?{from:e,to:a}:{from:a,to:e}:{from:e,to:void 0}}var De=D.createContext(void 0);function ha(e){if(!J(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return u.jsx(De.Provider,{value:t,children:e.children})}return u.jsx(ma,{initialProps:e.initialProps,children:e.children})}function ma(e){var t=e.initialProps,n=e.children,a=t.selected,r=a||{},o=r.from,i=r.to,s=t.min,c=t.max,d=function(m,y,x){var p,N;(p=t.onDayClick)===null||p===void 0||p.call(t,m,y,x);var k=fa(m,a);(N=t.onSelect)===null||N===void 0||N.call(t,k,m,y,x)},l={range_start:[],range_end:[],range_middle:[],disabled:[]};if(o?(l.range_start=[o],i?(l.range_end=[i],P(o,i)||(l.range_middle=[{after:o,before:i}])):l.range_end=[o]):i&&(l.range_start=[i],l.range_end=[i]),s&&(o&&!i&&l.disabled.push({after:ue(o,s-1),before:C(o,s-1)}),o&&i&&l.disabled.push({after:o,before:C(o,s-1)}),!o&&i&&l.disabled.push({after:ue(i,s-1),before:C(i,s-1)})),c){if(o&&!i&&(l.disabled.push({before:C(o,-c+1)}),l.disabled.push({after:C(o,c-1)})),o&&i){var f=T(i,o)+1,h=c-f;l.disabled.push({before:ue(o,h)}),l.disabled.push({after:C(i,h)})}!o&&i&&(l.disabled.push({before:C(i,-c+1)}),l.disabled.push({after:C(i,c-1)}))}return u.jsx(De.Provider,{value:{selected:a,onDayClick:d,modifiers:l},children:n})}function Me(){var e=D.useContext(De);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function $(e){return Array.isArray(e)?Ge([],e):e!==void 0?[e]:[]}function va(e){var t={};return Object.entries(e).forEach(function(n){var a=n[0],r=n[1];t[a]=$(r)}),t}var W;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(W||(W={}));var ya=W.Selected,F=W.Disabled,ga=W.Hidden,ba=W.Today,ce=W.RangeEnd,de=W.RangeMiddle,fe=W.RangeStart,pa=W.Outside;function wa(e,t,n){var a,r=(a={},a[ya]=$(e.selected),a[F]=$(e.disabled),a[ga]=$(e.hidden),a[ba]=[e.today],a[ce]=[],a[de]=[],a[fe]=[],a[pa]=[],a);return e.fromDate&&r[F].push({before:e.fromDate}),e.toDate&&r[F].push({after:e.toDate}),U(e)?r[F]=r[F].concat(t.modifiers[F]):J(e)&&(r[F]=r[F].concat(n.modifiers[F]),r[fe]=n.modifiers[fe],r[de]=n.modifiers[de],r[ce]=n.modifiers[ce]),r}var $e=D.createContext(void 0);function xa(e){var t=M(),n=_e(),a=Me(),r=wa(t,n,a),o=va(t.modifiers),i=g(g({},r),o);return u.jsx($e.Provider,{value:i,children:e.children})}function Ze(){var e=D.useContext($e);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function _a(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Da(e){return!!(e&&typeof e=="object"&&"from"in e)}function Ma(e){return!!(e&&typeof e=="object"&&"after"in e)}function ka(e){return!!(e&&typeof e=="object"&&"before"in e)}function Na(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Ca(e,t){var n,a=t.from,r=t.to;if(a&&r){var o=T(r,a)<0;o&&(n=[r,a],a=n[0],r=n[1]);var i=T(e,a)>=0&&T(r,e)>=0;return i}return r?P(r,e):a?P(a,e):!1}function Pa(e){return ge(e)}function Oa(e){return Array.isArray(e)&&e.every(ge)}function Sa(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(Pa(n))return P(e,n);if(Oa(n))return n.includes(e);if(Da(n))return Ca(e,n);if(Na(n))return n.dayOfWeek.includes(e.getDay());if(_a(n)){var a=T(n.before,e),r=T(n.after,e),o=a>0,i=r<0,s=ve(n.before,n.after);return s?i&&o:o||i}return Ma(n)?T(e,n.after)>0:ka(n)?T(n.before,e)>0:typeof n=="function"?n(e):!1})}function ke(e,t,n){var a=Object.keys(t).reduce(function(o,i){var s=t[i];return Sa(e,s)&&o.push(i),o},[]),r={};return a.forEach(function(o){return r[o]=!0}),n&&!we(e,n)&&(r.outside=!0),r}function ja(e,t){for(var n=O(e[0]),a=be(e[e.length-1]),r,o,i=n;i<=a;){var s=ke(i,t),c=!s.disabled&&!s.hidden;if(!c){i=C(i,1);continue}if(s.selected)return i;s.today&&!o&&(o=i),r||(r=i),i=C(i,1)}return o||r}var Wa=365;function et(e,t){var n=t.moveBy,a=t.direction,r=t.context,o=t.modifiers,i=t.retry,s=i===void 0?{count:0,lastFocused:e}:i,c=r.weekStartsOn,d=r.fromDate,l=r.toDate,f=r.locale,h={day:C,week:me,month:j,year:pt,startOfWeek:function(p){return r.ISOWeek?I(p):Y(p,{locale:f,weekStartsOn:c})},endOfWeek:function(p){return r.ISOWeek?Be(p):pe(p,{locale:f,weekStartsOn:c})}},m=h[n](e,a==="after"?1:-1);a==="before"&&d?m=wt([d,m]):a==="after"&&l&&(m=xt([l,m]));var y=!0;if(o){var x=ke(m,o);y=!x.disabled&&!x.hidden}return y?m:s.count>Wa?s.lastFocused:et(m,{moveBy:n,direction:a,context:r,modifiers:o,retry:g(g({},s),{count:s.count+1})})}var tt=D.createContext(void 0);function Ta(e){var t=K(),n=Ze(),a=D.useState(),r=a[0],o=a[1],i=D.useState(),s=i[0],c=i[1],d=ja(t.displayMonths,n),l=r??(s&&t.isDateDisplayed(s))?s:d,f=function(){c(r),o(void 0)},h=function(p){o(p)},m=M(),y=function(p,N){if(r){var k=et(r,{moveBy:p,direction:N,context:m,modifiers:n});P(r,k)||(t.goToDate(k,r),h(k))}},x={focusedDay:r,focusTarget:l,blur:f,focus:h,focusDayAfter:function(){return y("day","after")},focusDayBefore:function(){return y("day","before")},focusWeekAfter:function(){return y("week","after")},focusWeekBefore:function(){return y("week","before")},focusMonthBefore:function(){return y("month","before")},focusMonthAfter:function(){return y("month","after")},focusYearBefore:function(){return y("year","before")},focusYearAfter:function(){return y("year","after")},focusStartOfWeek:function(){return y("startOfWeek","before")},focusEndOfWeek:function(){return y("endOfWeek","after")}};return u.jsx(tt.Provider,{value:x,children:e.children})}function Ne(){var e=D.useContext(tt);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Ya(e,t){var n=Ze(),a=ke(e,n,t);return a}var Ce=D.createContext(void 0);function Fa(e){if(!te(e.initialProps)){var t={selected:void 0};return u.jsx(Ce.Provider,{value:t,children:e.children})}return u.jsx(Ea,{initialProps:e.initialProps,children:e.children})}function Ea(e){var t=e.initialProps,n=e.children,a=function(o,i,s){var c,d,l;if((c=t.onDayClick)===null||c===void 0||c.call(t,o,i,s),i.selected&&!t.required){(d=t.onSelect)===null||d===void 0||d.call(t,void 0,o,i,s);return}(l=t.onSelect)===null||l===void 0||l.call(t,o,o,i,s)},r={selected:t.selected,onDayClick:a};return u.jsx(Ce.Provider,{value:r,children:n})}function nt(){var e=D.useContext(Ce);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function La(e,t){var n=M(),a=nt(),r=_e(),o=Me(),i=Ne(),s=i.focusDayAfter,c=i.focusDayBefore,d=i.focusWeekAfter,l=i.focusWeekBefore,f=i.blur,h=i.focus,m=i.focusMonthBefore,y=i.focusMonthAfter,x=i.focusYearBefore,p=i.focusYearAfter,N=i.focusStartOfWeek,k=i.focusEndOfWeek,q=function(b){var v,re,oe,ie;te(n)?(v=a.onDayClick)===null||v===void 0||v.call(a,e,t,b):U(n)?(re=r.onDayClick)===null||re===void 0||re.call(r,e,t,b):J(n)?(oe=o.onDayClick)===null||oe===void 0||oe.call(o,e,t,b):(ie=n.onDayClick)===null||ie===void 0||ie.call(n,e,t,b)},ne=function(b){var v;h(e),(v=n.onDayFocus)===null||v===void 0||v.call(n,e,t,b)},ae=function(b){var v;f(),(v=n.onDayBlur)===null||v===void 0||v.call(n,e,t,b)},Q=function(b){var v;(v=n.onDayMouseEnter)===null||v===void 0||v.call(n,e,t,b)},at=function(b){var v;(v=n.onDayMouseLeave)===null||v===void 0||v.call(n,e,t,b)},rt=function(b){var v;(v=n.onDayPointerEnter)===null||v===void 0||v.call(n,e,t,b)},ot=function(b){var v;(v=n.onDayPointerLeave)===null||v===void 0||v.call(n,e,t,b)},it=function(b){var v;(v=n.onDayTouchCancel)===null||v===void 0||v.call(n,e,t,b)},st=function(b){var v;(v=n.onDayTouchEnd)===null||v===void 0||v.call(n,e,t,b)},ut=function(b){var v;(v=n.onDayTouchMove)===null||v===void 0||v.call(n,e,t,b)},lt=function(b){var v;(v=n.onDayTouchStart)===null||v===void 0||v.call(n,e,t,b)},ct=function(b){var v;(v=n.onDayKeyUp)===null||v===void 0||v.call(n,e,t,b)},dt=function(b){var v;switch(b.key){case"ArrowLeft":b.preventDefault(),b.stopPropagation(),n.dir==="rtl"?s():c();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),n.dir==="rtl"?c():s();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),d();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),l();break;case"PageUp":b.preventDefault(),b.stopPropagation(),b.shiftKey?x():m();break;case"PageDown":b.preventDefault(),b.stopPropagation(),b.shiftKey?p():y();break;case"Home":b.preventDefault(),b.stopPropagation(),N();break;case"End":b.preventDefault(),b.stopPropagation(),k();break}(v=n.onDayKeyDown)===null||v===void 0||v.call(n,e,t,b)},ft={onClick:q,onFocus:ne,onBlur:ae,onKeyDown:dt,onKeyUp:ct,onMouseEnter:Q,onMouseLeave:at,onPointerEnter:rt,onPointerLeave:ot,onTouchCancel:it,onTouchEnd:st,onTouchMove:ut,onTouchStart:lt};return ft}function Ia(){var e=M(),t=nt(),n=_e(),a=Me(),r=te(e)?t.selected:U(e)?n.selected:J(e)?a.selected:void 0;return r}function Ra(e){return Object.values(W).includes(e)}function Ba(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(a){var r=e.modifiersClassNames[a];if(r)n.push(r);else if(Ra(a)){var o=e.classNames["day_".concat(a)];o&&n.push(o)}}),n}function Ha(e,t){var n=g({},e.styles.day);return Object.keys(t).forEach(function(a){var r;n=g(g({},n),(r=e.modifiersStyles)===null||r===void 0?void 0:r[a])}),n}function Aa(e,t,n){var a,r,o,i=M(),s=Ne(),c=Ya(e,t),d=La(e,c),l=Ia(),f=!!(i.onDayClick||i.mode!=="default");D.useEffect(function(){var Q;c.outside||s.focusedDay&&f&&P(s.focusedDay,e)&&((Q=n.current)===null||Q===void 0||Q.focus())},[s.focusedDay,e,n,f,c.outside]);var h=Ba(i,c).join(" "),m=Ha(i,c),y=!!(c.outside&&!i.showOutsideDays||c.hidden),x=(o=(r=i.components)===null||r===void 0?void 0:r.DayContent)!==null&&o!==void 0?o:la,p=u.jsx(x,{date:e,displayMonth:t,activeModifiers:c}),N={style:m,className:h,children:p,role:"gridcell"},k=s.focusTarget&&P(s.focusTarget,e)&&!c.outside,q=s.focusedDay&&P(s.focusedDay,e),ne=g(g(g({},N),(a={disabled:c.disabled,role:"gridcell"},a["aria-selected"]=c.selected,a.tabIndex=q||k?0:-1,a)),d),ae={isButton:f,isHidden:y,activeModifiers:c,selectedDays:l,buttonProps:ne,divProps:N};return ae}function qa(e){var t=D.useRef(null),n=Aa(e.date,e.displayMonth,t);return n.isHidden?u.jsx("div",{role:"gridcell"}):n.isButton?u.jsx(ee,g({name:"day",ref:t},n.buttonProps)):u.jsx("div",g({},n.divProps))}function Qa(e){var t=e.number,n=e.dates,a=M(),r=a.onWeekNumberClick,o=a.styles,i=a.classNames,s=a.locale,c=a.labels.labelWeekNumber,d=a.formatters.formatWeekNumber,l=d(Number(t),{locale:s});if(!r)return u.jsx("span",{className:i.weeknumber,style:o.weeknumber,children:l});var f=c(Number(t),{locale:s}),h=function(m){r(t,n,m)};return u.jsx(ee,{name:"week-number","aria-label":f,className:i.weeknumber,style:o.weeknumber,onClick:h,children:l})}function Xa(e){var t,n,a=M(),r=a.styles,o=a.classNames,i=a.showWeekNumber,s=a.components,c=(t=s?.Day)!==null&&t!==void 0?t:qa,d=(n=s?.WeekNumber)!==null&&n!==void 0?n:Qa,l;return i&&(l=u.jsx("td",{className:o.cell,style:r.cell,children:u.jsx(d,{number:e.weekNumber,dates:e.dates})})),u.jsxs("tr",{className:o.row,style:r.row,children:[l,e.dates.map(function(f){return u.jsx("td",{className:o.cell,style:r.cell,role:"presentation",children:u.jsx(c,{displayMonth:e.displayMonth,date:f})},xn(f))})]})}function Ee(e,t,n){for(var a=n?.ISOWeek?Be(t):pe(t,n),r=n?.ISOWeek?I(e):Y(e,n),o=T(a,r),i=[],s=0;s<=o;s++)i.push(C(r,s));var c=i.reduce(function(d,l){var f=n?.ISOWeek?Ae(l):Qe(l,n),h=d.find(function(m){return m.weekNumber===f});return h?(h.dates.push(l),d):(d.push({weekNumber:f,dates:[l]}),d)},[]);return c}function Va(e,t){var n=Ee(O(e),be(e),t);if(t?.useFixedWeeks){var a=Dn(e,t);if(a<6){var r=n[n.length-1],o=r.dates[r.dates.length-1],i=me(o,6-a),s=Ee(me(o,1),i,t);n.push.apply(n,s)}}return n}function Ga(e){var t,n,a,r=M(),o=r.locale,i=r.classNames,s=r.styles,c=r.hideHead,d=r.fixedWeeks,l=r.components,f=r.weekStartsOn,h=r.firstWeekContainsDate,m=r.ISOWeek,y=Va(e.displayMonth,{useFixedWeeks:!!d,ISOWeek:m,locale:o,weekStartsOn:f,firstWeekContainsDate:h}),x=(t=l?.Head)!==null&&t!==void 0?t:ua,p=(n=l?.Row)!==null&&n!==void 0?n:Xa,N=(a=l?.Footer)!==null&&a!==void 0?a:oa;return u.jsxs("table",{id:e.id,className:i.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!c&&u.jsx(x,{}),u.jsx("tbody",{className:i.tbody,style:s.tbody,children:y.map(function(k){return u.jsx(p,{displayMonth:e.displayMonth,dates:k.dates,weekNumber:k.weekNumber},k.weekNumber)})}),u.jsx(N,{displayMonth:e.displayMonth})]})}function za(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ua=za()?D.useLayoutEffect:D.useEffect,he=!1,Ja=0;function Le(){return"react-day-picker-".concat(++Ja)}function Ka(e){var t,n=e??(he?Le():null),a=D.useState(n),r=a[0],o=a[1];return Ua(function(){r===null&&o(Le())},[]),D.useEffect(function(){he===!1&&(he=!0)},[]),(t=e??r)!==null&&t!==void 0?t:void 0}function $a(e){var t,n,a=M(),r=a.dir,o=a.classNames,i=a.styles,s=a.components,c=K().displayMonths,d=Ka(a.id?"".concat(a.id,"-").concat(e.displayIndex):void 0),l=a.id?"".concat(a.id,"-grid-").concat(e.displayIndex):void 0,f=[o.month],h=i.month,m=e.displayIndex===0,y=e.displayIndex===c.length-1,x=!m&&!y;r==="rtl"&&(t=[m,y],y=t[0],m=t[1]),m&&(f.push(o.caption_start),h=g(g({},h),i.caption_start)),y&&(f.push(o.caption_end),h=g(g({},h),i.caption_end)),x&&(f.push(o.caption_between),h=g(g({},h),i.caption_between));var p=(n=s?.Caption)!==null&&n!==void 0?n:ra;return u.jsxs("div",{className:f.join(" "),style:h,children:[u.jsx(p,{id:d,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),u.jsx(Ga,{id:l,"aria-labelledby":d,displayMonth:e.displayMonth})]},e.displayIndex)}function Za(e){var t=M(),n=t.classNames,a=t.styles;return u.jsx("div",{className:n.months,style:a.months,children:e.children})}function er(e){var t,n,a=e.initialProps,r=M(),o=Ne(),i=K(),s=D.useState(!1),c=s[0],d=s[1];D.useEffect(function(){r.initialFocus&&o.focusTarget&&(c||(o.focus(o.focusTarget),d(!0)))},[r.initialFocus,c,o.focus,o.focusTarget,o]);var l=[r.classNames.root,r.className];r.numberOfMonths>1&&l.push(r.classNames.multiple_months),r.showWeekNumber&&l.push(r.classNames.with_weeknumber);var f=g(g({},r.styles.root),r.style),h=Object.keys(a).filter(function(y){return y.startsWith("data-")}).reduce(function(y,x){var p;return g(g({},y),(p={},p[x]=a[x],p))},{}),m=(n=(t=a.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:Za;return u.jsx("div",g({className:l.join(" "),style:f,dir:r.dir,id:r.id,nonce:a.nonce,title:a.title,lang:a.lang},h,{children:u.jsx(m,{children:i.displayMonths.map(function(y,x){return u.jsx($a,{displayIndex:x,displayMonth:y},x)})})}))}function tr(e){var t=e.children,n=kn(e,["children"]);return u.jsx(Qn,{initialProps:n,children:u.jsx(ea,{children:u.jsx(Fa,{initialProps:n,children:u.jsx(ca,{initialProps:n,children:u.jsx(ha,{initialProps:n,children:u.jsx(xa,{children:u.jsx(Ta,{children:t})})})})})})})}function nr(e){return u.jsx(tr,g({},e,{children:u.jsx(er,{initialProps:e})}))}function sr(e){const t=ht.c(20);let n,a,r,o;t[0]!==e?({className:n,classNames:a,showOutsideDays:o,...r}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=r,t[4]=o):(n=t[1],a=t[2],r=t[3],o=t[4]);const i=o===void 0?!0:o;let s;t[5]!==n?(s=H("p-3",n),t[5]=n,t[6]=s):s=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=H(Pe({variant:"outline"}),"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),t[7]=c):c=t[7];const d=r.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md";let l;t[8]!==d?(l=H("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",d),t[8]=d,t[9]=l):l=t[9];let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=H(Pe({variant:"ghost"}),"size-8 p-0 font-normal aria-selected:opacity-100"),t[10]=f):f=t[10];let h;t[11]!==a||t[12]!==l?(h={months:"flex flex-col sm:flex-row gap-2",month:"flex flex-col gap-4",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-sm font-medium",nav:"flex items-center gap-1",nav_button:c,nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:l,day:f,day_range_start:"day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",day_range_end:"day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...a},t[11]=a,t[12]=l,t[13]=h):h=t[13];let m;t[14]===Symbol.for("react.memo_cache_sentinel")?(m={IconLeft:rr,IconRight:ar},t[14]=m):m=t[14];let y;return t[15]!==r||t[16]!==i||t[17]!==s||t[18]!==h?(y=u.jsx(nr,{showOutsideDays:i,className:s,classNames:h,components:m,...r}),t[15]=r,t[16]=i,t[17]=s,t[18]=h,t[19]=y):y=t[19],y}function ar(e){const{className:t,...n}=e;return u.jsx(mt,{className:H("size-4",t),...n})}function rr(e){const{className:t,...n}=e;return u.jsx(vt,{className:H("size-4",t),...n})}export{sr as C};
|
|
1
|
+
import{j as u,r as D,c as ht,m as H,ba as Pe,au as mt}from"./index-6k36ehsW.js";import{b as vt}from"./UserCheck01-CLDfWEEJ.js";function w(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function S(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function C(e,t){const n=w(e);return isNaN(t)?S(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function j(e,t){const n=w(e);if(isNaN(t))return S(e,NaN);if(!t)return n;const a=n.getDate(),r=S(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);const o=r.getDate();return a>=o?r:(n.setFullYear(r.getFullYear(),r.getMonth(),a),n)}const ye=6048e5,yt=864e5;let gt={};function z(){return gt}function Y(e,t){const n=z(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=w(e),o=r.getDay(),i=(o<a?7:0)+o-a;return r.setDate(r.getDate()-i),r.setHours(0,0,0,0),r}function I(e){return Y(e,{weekStartsOn:1})}function Ie(e){const t=w(e),n=t.getFullYear(),a=S(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const r=I(a),o=S(e,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const i=I(o);return t.getTime()>=r.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function A(e){const t=w(e);return t.setHours(0,0,0,0),t}function Z(e){const t=w(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function T(e,t){const n=A(e),a=A(t),r=+n-Z(n),o=+a-Z(a);return Math.round((r-o)/yt)}function bt(e){const t=Ie(e),n=S(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),I(n)}function me(e,t){const n=t*7;return C(e,n)}function pt(e,t){return j(e,t*12)}function wt(e){let t;return e.forEach(function(n){const a=w(n);(t===void 0||t<a||isNaN(Number(a)))&&(t=a)}),t||new Date(NaN)}function xt(e){let t;return e.forEach(n=>{const a=w(n);(!t||t>a||isNaN(+a))&&(t=a)}),t||new Date(NaN)}function P(e,t){const n=A(e),a=A(t);return+n==+a}function ge(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function _t(e){if(!ge(e)&&typeof e!="number")return!1;const t=w(e);return!isNaN(Number(t))}function G(e,t){const n=w(e),a=w(t),r=n.getFullYear()-a.getFullYear(),o=n.getMonth()-a.getMonth();return r*12+o}function Dt(e,t,n){const a=Y(e,n),r=Y(t,n),o=+a-Z(a),i=+r-Z(r);return Math.round((o-i)/ye)}function be(e){const t=w(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function O(e){const t=w(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Re(e){const t=w(e),n=S(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function pe(e,t){const n=z(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=w(e),o=r.getDay(),i=(o<a?-7:0)+6-(o-a);return r.setDate(r.getDate()+i),r.setHours(23,59,59,999),r}function Be(e){return pe(e,{weekStartsOn:1})}const Mt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kt=(e,t,n)=>{let a;const r=Mt[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function se(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Nt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ct={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ot={date:se({formats:Nt,defaultWidth:"full"}),time:se({formats:Ct,defaultWidth:"full"}),dateTime:se({formats:Pt,defaultWidth:"full"})},St={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},jt=(e,t,n,a)=>St[e];function X(e){return(t,n)=>{const a=n?.context?String(n.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,s=n?.width?String(n.width):i;r=e.formattingValues[s]||e.formattingValues[i]}else{const i=e.defaultWidth,s=n?.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[i]}const o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}const Wt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Tt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Yt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ft={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Et={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Lt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},It=(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Rt={ordinalNumber:It,era:X({values:Wt,defaultWidth:"wide"}),quarter:X({values:Tt,defaultWidth:"wide",argumentCallback:e=>e-1}),month:X({values:Yt,defaultWidth:"wide"}),day:X({values:Ft,defaultWidth:"wide"}),dayPeriod:X({values:Et,defaultWidth:"wide",formattingValues:Lt,defaultFormattingWidth:"wide"})};function V(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;const i=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?Ht(s,f=>f.test(i)):Bt(s,f=>f.test(i));let d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;const l=t.slice(i.length);return{value:d,rest:l}}}function Bt(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Ht(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function At(e){return(t,n={})=>{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;const s=t.slice(r.length);return{value:i,rest:s}}}const qt=/^(\d+)(th|st|nd|rd)?/i,Qt=/\d+/i,Xt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Vt={any:[/^b/i,/^(a|c)/i]},Gt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zt={any:[/1/i,/2/i,/3/i,/4/i]},Ut={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Jt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$t={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Zt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},en={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},tn={ordinalNumber:At({matchPattern:qt,parsePattern:Qt,valueCallback:e=>parseInt(e,10)}),era:V({matchPatterns:Xt,defaultMatchWidth:"wide",parsePatterns:Vt,defaultParseWidth:"any"}),quarter:V({matchPatterns:Gt,defaultMatchWidth:"wide",parsePatterns:zt,defaultParseWidth:"any",valueCallback:e=>e+1}),month:V({matchPatterns:Ut,defaultMatchWidth:"wide",parsePatterns:Jt,defaultParseWidth:"any"}),day:V({matchPatterns:Kt,defaultMatchWidth:"wide",parsePatterns:$t,defaultParseWidth:"any"}),dayPeriod:V({matchPatterns:Zt,defaultMatchWidth:"any",parsePatterns:en,defaultParseWidth:"any"})},He={code:"en-US",formatDistance:kt,formatLong:Ot,formatRelative:jt,localize:Rt,match:tn,options:{weekStartsOn:0,firstWeekContainsDate:1}};function nn(e){const t=w(e);return T(t,Re(t))+1}function Ae(e){const t=w(e),n=+I(t)-+bt(t);return Math.round(n/ye)+1}function qe(e,t){const n=w(e),a=n.getFullYear(),r=z(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=S(e,0);i.setFullYear(a+1,0,o),i.setHours(0,0,0,0);const s=Y(i,t),c=S(e,0);c.setFullYear(a,0,o),c.setHours(0,0,0,0);const d=Y(c,t);return n.getTime()>=s.getTime()?a+1:n.getTime()>=d.getTime()?a:a-1}function an(e,t){const n=z(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=qe(e,t),o=S(e,0);return o.setFullYear(r,0,a),o.setHours(0,0,0,0),Y(o,t)}function Qe(e,t){const n=w(e),a=+Y(n,t)-+an(n,t);return Math.round(a/ye)+1}function _(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const E={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return _(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):_(n+1,2)},d(e,t){return _(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return _(e.getHours()%12||12,t.length)},H(e,t){return _(e.getHours(),t.length)},m(e,t){return _(e.getMinutes(),t.length)},s(e,t){return _(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return _(r,t.length)}},B={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Oe={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return E.y(e,t)},Y:function(e,t,n,a){const r=qe(e,a),o=r>0?r:1-r;if(t==="YY"){const i=o%100;return _(i,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):_(o,t.length)},R:function(e,t){const n=Ie(e);return _(n,t.length)},u:function(e,t){const n=e.getFullYear();return _(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return _(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return _(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return E.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return _(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=Qe(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):_(r,t.length)},I:function(e,t,n){const a=Ae(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):_(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):E.d(e,t)},D:function(e,t,n){const a=nn(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):_(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return _(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return _(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return _(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(a===12?r=B.noon:a===0?r=B.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(a>=17?r=B.evening:a>=12?r=B.afternoon:a>=4?r=B.morning:r=B.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return E.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):E.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):_(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):_(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):E.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):E.s(e,t)},S:function(e,t){return E.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return je(a);case"XXXX":case"XX":return L(a);default:return L(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return je(a);case"xxxx":case"xx":return L(a);default:return L(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Se(a,":");default:return"GMT"+L(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Se(a,":");default:return"GMT"+L(a,":")}},t:function(e,t,n){const a=Math.trunc(e.getTime()/1e3);return _(a,t.length)},T:function(e,t,n){const a=e.getTime();return _(a,t.length)}};function Se(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),o=a%60;return o===0?n+String(r):n+String(r)+t+_(o,2)}function je(e,t){return e%60===0?(e>0?"-":"+")+_(Math.abs(e)/60,2):L(e,t)}function L(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=_(Math.trunc(a/60),2),o=_(a%60,2);return n+r+t+o}const We=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Xe=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},rn=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return We(e,t);let o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",We(a,t)).replace("{{time}}",Xe(r,t))},on={p:Xe,P:rn},sn=/^D+$/,un=/^Y+$/,ln=["D","DD","YY","YYYY"];function cn(e){return sn.test(e)}function dn(e){return un.test(e)}function fn(e,t,n){const a=hn(e,t,n);if(console.warn(a),ln.includes(e))throw new RangeError(a)}function hn(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const mn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,vn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yn=/^'([^]*?)'?$/,gn=/''/g,bn=/[a-zA-Z]/;function R(e,t,n){const a=z(),r=n?.locale??a.locale??He,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=w(e);if(!_t(s))throw new RangeError("Invalid time value");let c=t.match(vn).map(l=>{const f=l[0];if(f==="p"||f==="P"){const h=on[f];return h(l,r.formatLong)}return l}).join("").match(mn).map(l=>{if(l==="''")return{isToken:!1,value:"'"};const f=l[0];if(f==="'")return{isToken:!1,value:pn(l)};if(Oe[f])return{isToken:!0,value:l};if(f.match(bn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:l}});r.localize.preprocessor&&(c=r.localize.preprocessor(s,c));const d={firstWeekContainsDate:o,weekStartsOn:i,locale:r};return c.map(l=>{if(!l.isToken)return l.value;const f=l.value;(!n?.useAdditionalWeekYearTokens&&dn(f)||!n?.useAdditionalDayOfYearTokens&&cn(f))&&fn(f,t,String(e));const h=Oe[f[0]];return h(s,f,r.localize,d)}).join("")}function pn(e){const t=e.match(yn);return t?t[1].replace(gn,"'"):e}function wn(e){const t=w(e),n=t.getFullYear(),a=t.getMonth(),r=S(e,0);return r.setFullYear(n,a+1,0),r.setHours(0,0,0,0),r.getDate()}function xn(e){return Math.trunc(+w(e)/1e3)}function _n(e){const t=w(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function Dn(e,t){return Dt(_n(e),O(e),t)+1}function ve(e,t){const n=w(e),a=w(t);return n.getTime()>a.getTime()}function Ve(e,t){const n=w(e),a=w(t);return+n<+a}function we(e,t){const n=w(e),a=w(t);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function Mn(e,t){const n=w(e),a=w(t);return n.getFullYear()===a.getFullYear()}function ue(e,t){return C(e,-t)}function le(e,t){const n=w(e),a=n.getFullYear(),r=n.getDate(),o=S(e,0);o.setFullYear(a,t,15),o.setHours(0,0,0,0);const i=wn(o);return n.setMonth(t,Math.min(r,i)),n}function Te(e,t){const n=w(e);return isNaN(+n)?S(e,NaN):(n.setFullYear(t),n)}var g=function(){return g=Object.assign||function(t){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},g.apply(this,arguments)};function kn(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}function Ge(e,t,n){for(var a=0,r=t.length,o;a<r;a++)(o||!(a in t))&&(o||(o=Array.prototype.slice.call(t,0,a)),o[a]=t[a]);return e.concat(o||Array.prototype.slice.call(t))}function U(e){return e.mode==="multiple"}function J(e){return e.mode==="range"}function te(e){return e.mode==="single"}var Nn={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function Cn(e,t){return R(e,"LLLL y",t)}function Pn(e,t){return R(e,"d",t)}function On(e,t){return R(e,"LLLL",t)}function Sn(e){return"".concat(e)}function jn(e,t){return R(e,"cccccc",t)}function Wn(e,t){return R(e,"yyyy",t)}var Tn=Object.freeze({__proto__:null,formatCaption:Cn,formatDay:Pn,formatMonthCaption:On,formatWeekNumber:Sn,formatWeekdayName:jn,formatYearCaption:Wn}),Yn=function(e,t,n){return R(e,"do MMMM (EEEE)",n)},Fn=function(){return"Month: "},En=function(){return"Go to next month"},Ln=function(){return"Go to previous month"},In=function(e,t){return R(e,"cccc",t)},Rn=function(e){return"Week n. ".concat(e)},Bn=function(){return"Year: "},Hn=Object.freeze({__proto__:null,labelDay:Yn,labelMonthDropdown:Fn,labelNext:En,labelPrevious:Ln,labelWeekNumber:Rn,labelWeekday:In,labelYearDropdown:Bn});function An(){var e="buttons",t=Nn,n=He,a={},r={},o=1,i={},s=new Date;return{captionLayout:e,classNames:t,formatters:Tn,labels:Hn,locale:n,modifiersClassNames:a,modifiers:r,numberOfMonths:o,styles:i,today:s,mode:"default"}}function qn(e){var t=e.fromYear,n=e.toYear,a=e.fromMonth,r=e.toMonth,o=e.fromDate,i=e.toDate;return a?o=O(a):t&&(o=new Date(t,0,1)),r?i=be(r):n&&(i=new Date(n,11,31)),{fromDate:o?A(o):void 0,toDate:i?A(i):void 0}}var ze=D.createContext(void 0);function Qn(e){var t,n=e.initialProps,a=An(),r=qn(n),o=r.fromDate,i=r.toDate,s=(t=n.captionLayout)!==null&&t!==void 0?t:a.captionLayout;s!=="buttons"&&(!o||!i)&&(s="buttons");var c;(te(n)||U(n)||J(n))&&(c=n.onSelect);var d=g(g(g({},a),n),{captionLayout:s,classNames:g(g({},a.classNames),n.classNames),components:g({},n.components),formatters:g(g({},a.formatters),n.formatters),fromDate:o,labels:g(g({},a.labels),n.labels),mode:n.mode||a.mode,modifiers:g(g({},a.modifiers),n.modifiers),modifiersClassNames:g(g({},a.modifiersClassNames),n.modifiersClassNames),onSelect:c,styles:g(g({},a.styles),n.styles),toDate:i});return u.jsx(ze.Provider,{value:d,children:e.children})}function M(){var e=D.useContext(ze);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function Ue(e){var t=M(),n=t.locale,a=t.classNames,r=t.styles,o=t.formatters.formatCaption;return u.jsx("div",{className:a.caption_label,style:r.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:o(e.displayMonth,{locale:n})})}function Xn(e){return u.jsx("svg",g({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:u.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Je(e){var t,n,a=e.onChange,r=e.value,o=e.children,i=e.caption,s=e.className,c=e.style,d=M(),l=(n=(t=d.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:Xn;return u.jsxs("div",{className:s,style:c,children:[u.jsx("span",{className:d.classNames.vhidden,children:e["aria-label"]}),u.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:d.classNames.dropdown,style:d.styles.dropdown,value:r,onChange:a,children:o}),u.jsxs("div",{className:d.classNames.caption_label,style:d.styles.caption_label,"aria-hidden":"true",children:[i,u.jsx(l,{className:d.classNames.dropdown_icon,style:d.styles.dropdown_icon})]})]})}function Vn(e){var t,n=M(),a=n.fromDate,r=n.toDate,o=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,c=n.classNames,d=n.components,l=n.labels.labelMonthDropdown;if(!a)return u.jsx(u.Fragment,{});if(!r)return u.jsx(u.Fragment,{});var f=[];if(Mn(a,r))for(var h=O(a),m=a.getMonth();m<=r.getMonth();m++)f.push(le(h,m));else for(var h=O(new Date),m=0;m<=11;m++)f.push(le(h,m));var y=function(p){var N=Number(p.target.value),k=le(O(e.displayMonth),N);e.onChange(k)},x=(t=d?.Dropdown)!==null&&t!==void 0?t:Je;return u.jsx(x,{name:"months","aria-label":l(),className:c.dropdown_month,style:o.dropdown_month,onChange:y,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:i}),children:f.map(function(p){return u.jsx("option",{value:p.getMonth(),children:s(p,{locale:i})},p.getMonth())})})}function Gn(e){var t,n=e.displayMonth,a=M(),r=a.fromDate,o=a.toDate,i=a.locale,s=a.styles,c=a.classNames,d=a.components,l=a.formatters.formatYearCaption,f=a.labels.labelYearDropdown,h=[];if(!r)return u.jsx(u.Fragment,{});if(!o)return u.jsx(u.Fragment,{});for(var m=r.getFullYear(),y=o.getFullYear(),x=m;x<=y;x++)h.push(Te(Re(new Date),x));var p=function(k){var q=Te(O(n),Number(k.target.value));e.onChange(q)},N=(t=d?.Dropdown)!==null&&t!==void 0?t:Je;return u.jsx(N,{name:"years","aria-label":f(),className:c.dropdown_year,style:s.dropdown_year,onChange:p,value:n.getFullYear(),caption:l(n,{locale:i}),children:h.map(function(k){return u.jsx("option",{value:k.getFullYear(),children:l(k,{locale:i})},k.getFullYear())})})}function zn(e,t){var n=D.useState(e),a=n[0],r=n[1],o=t===void 0?a:t;return[o,r]}function Un(e){var t=e.month,n=e.defaultMonth,a=e.today,r=t||n||a||new Date,o=e.toDate,i=e.fromDate,s=e.numberOfMonths,c=s===void 0?1:s;if(o&&G(o,r)<0){var d=-1*(c-1);r=j(o,d)}return i&&G(r,i)<0&&(r=i),O(r)}function Jn(){var e=M(),t=Un(e),n=zn(t,e.month),a=n[0],r=n[1],o=function(i){var s;if(!e.disableNavigation){var c=O(i);r(c),(s=e.onMonthChange)===null||s===void 0||s.call(e,c)}};return[a,o]}function Kn(e,t){for(var n=t.reverseMonths,a=t.numberOfMonths,r=O(e),o=O(j(r,a)),i=G(o,r),s=[],c=0;c<i;c++){var d=j(r,c);s.push(d)}return n&&(s=s.reverse()),s}function $n(e,t){if(!t.disableNavigation){var n=t.toDate,a=t.pagedNavigation,r=t.numberOfMonths,o=r===void 0?1:r,i=a?o:1,s=O(e);if(!n)return j(s,i);var c=G(n,e);if(!(c<o))return j(s,i)}}function Zn(e,t){if(!t.disableNavigation){var n=t.fromDate,a=t.pagedNavigation,r=t.numberOfMonths,o=r===void 0?1:r,i=a?o:1,s=O(e);if(!n)return j(s,-i);var c=G(s,n);if(!(c<=0))return j(s,-i)}}var Ke=D.createContext(void 0);function ea(e){var t=M(),n=Jn(),a=n[0],r=n[1],o=Kn(a,t),i=$n(a,t),s=Zn(a,t),c=function(f){return o.some(function(h){return we(f,h)})},d=function(f,h){c(f)||(h&&Ve(f,h)?r(j(f,1+t.numberOfMonths*-1)):r(f))},l={currentMonth:a,displayMonths:o,goToMonth:r,goToDate:d,previousMonth:s,nextMonth:i,isDateDisplayed:c};return u.jsx(Ke.Provider,{value:l,children:e.children})}function K(){var e=D.useContext(Ke);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Ye(e){var t,n=M(),a=n.classNames,r=n.styles,o=n.components,i=K().goToMonth,s=function(l){i(j(l,e.displayIndex?-e.displayIndex:0))},c=(t=o?.CaptionLabel)!==null&&t!==void 0?t:Ue,d=u.jsx(c,{id:e.id,displayMonth:e.displayMonth});return u.jsxs("div",{className:a.caption_dropdowns,style:r.caption_dropdowns,children:[u.jsx("div",{className:a.vhidden,children:d}),u.jsx(Vn,{onChange:s,displayMonth:e.displayMonth}),u.jsx(Gn,{onChange:s,displayMonth:e.displayMonth})]})}function ta(e){return u.jsx("svg",g({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:u.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function na(e){return u.jsx("svg",g({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:u.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var ee=D.forwardRef(function(e,t){var n=M(),a=n.classNames,r=n.styles,o=[a.button_reset,a.button];e.className&&o.push(e.className);var i=o.join(" "),s=g(g({},r.button_reset),r.button);return e.style&&Object.assign(s,e.style),u.jsx("button",g({},e,{ref:t,type:"button",className:i,style:s}))});function aa(e){var t,n,a=M(),r=a.dir,o=a.locale,i=a.classNames,s=a.styles,c=a.labels,d=c.labelPrevious,l=c.labelNext,f=a.components;if(!e.nextMonth&&!e.previousMonth)return u.jsx(u.Fragment,{});var h=d(e.previousMonth,{locale:o}),m=[i.nav_button,i.nav_button_previous].join(" "),y=l(e.nextMonth,{locale:o}),x=[i.nav_button,i.nav_button_next].join(" "),p=(t=f?.IconRight)!==null&&t!==void 0?t:na,N=(n=f?.IconLeft)!==null&&n!==void 0?n:ta;return u.jsxs("div",{className:i.nav,style:s.nav,children:[!e.hidePrevious&&u.jsx(ee,{name:"previous-month","aria-label":h,className:m,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:r==="rtl"?u.jsx(p,{className:i.nav_icon,style:s.nav_icon}):u.jsx(N,{className:i.nav_icon,style:s.nav_icon})}),!e.hideNext&&u.jsx(ee,{name:"next-month","aria-label":y,className:x,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:r==="rtl"?u.jsx(N,{className:i.nav_icon,style:s.nav_icon}):u.jsx(p,{className:i.nav_icon,style:s.nav_icon})})]})}function Fe(e){var t=M().numberOfMonths,n=K(),a=n.previousMonth,r=n.nextMonth,o=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(y){return we(e.displayMonth,y)}),c=s===0,d=s===i.length-1,l=t>1&&(c||!d),f=t>1&&(d||!c),h=function(){a&&o(a)},m=function(){r&&o(r)};return u.jsx(aa,{displayMonth:e.displayMonth,hideNext:l,hidePrevious:f,nextMonth:r,previousMonth:a,onPreviousClick:h,onNextClick:m})}function ra(e){var t,n=M(),a=n.classNames,r=n.disableNavigation,o=n.styles,i=n.captionLayout,s=n.components,c=(t=s?.CaptionLabel)!==null&&t!==void 0?t:Ue,d;return r?d=u.jsx(c,{id:e.id,displayMonth:e.displayMonth}):i==="dropdown"?d=u.jsx(Ye,{displayMonth:e.displayMonth,id:e.id}):i==="dropdown-buttons"?d=u.jsxs(u.Fragment,{children:[u.jsx(Ye,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),u.jsx(Fe,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):d=u.jsxs(u.Fragment,{children:[u.jsx(c,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),u.jsx(Fe,{displayMonth:e.displayMonth,id:e.id})]}),u.jsx("div",{className:a.caption,style:o.caption,children:d})}function oa(e){var t=M(),n=t.footer,a=t.styles,r=t.classNames.tfoot;return n?u.jsx("tfoot",{className:r,style:a.tfoot,children:u.jsx("tr",{children:u.jsx("td",{colSpan:8,children:n})})}):u.jsx(u.Fragment,{})}function ia(e,t,n){for(var a=n?I(new Date):Y(new Date,{locale:e,weekStartsOn:t}),r=[],o=0;o<7;o++){var i=C(a,o);r.push(i)}return r}function sa(){var e=M(),t=e.classNames,n=e.styles,a=e.showWeekNumber,r=e.locale,o=e.weekStartsOn,i=e.ISOWeek,s=e.formatters.formatWeekdayName,c=e.labels.labelWeekday,d=ia(r,o,i);return u.jsxs("tr",{style:n.head_row,className:t.head_row,children:[a&&u.jsx("td",{style:n.head_cell,className:t.head_cell}),d.map(function(l,f){return u.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":c(l,{locale:r}),children:s(l,{locale:r})},f)})]})}function ua(){var e,t=M(),n=t.classNames,a=t.styles,r=t.components,o=(e=r?.HeadRow)!==null&&e!==void 0?e:sa;return u.jsx("thead",{style:a.head,className:n.head,children:u.jsx(o,{})})}function la(e){var t=M(),n=t.locale,a=t.formatters.formatDay;return u.jsx(u.Fragment,{children:a(e.date,{locale:n})})}var xe=D.createContext(void 0);function ca(e){if(!U(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return u.jsx(xe.Provider,{value:t,children:e.children})}return u.jsx(da,{initialProps:e.initialProps,children:e.children})}function da(e){var t=e.initialProps,n=e.children,a=t.selected,r=t.min,o=t.max,i=function(d,l,f){var h,m;(h=t.onDayClick)===null||h===void 0||h.call(t,d,l,f);var y=!!(l.selected&&r&&a?.length===r);if(!y){var x=!!(!l.selected&&o&&a?.length===o);if(!x){var p=a?Ge([],a):[];if(l.selected){var N=p.findIndex(function(k){return P(d,k)});p.splice(N,1)}else p.push(d);(m=t.onSelect)===null||m===void 0||m.call(t,p,d,l,f)}}},s={disabled:[]};a&&s.disabled.push(function(d){var l=o&&a.length>o-1,f=a.some(function(h){return P(h,d)});return!!(l&&!f)});var c={selected:a,onDayClick:i,modifiers:s};return u.jsx(xe.Provider,{value:c,children:n})}function _e(){var e=D.useContext(xe);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function fa(e,t){var n=t||{},a=n.from,r=n.to;return a&&r?P(r,e)&&P(a,e)?void 0:P(r,e)?{from:r,to:void 0}:P(a,e)?void 0:ve(a,e)?{from:e,to:r}:{from:a,to:e}:r?ve(e,r)?{from:r,to:e}:{from:e,to:r}:a?Ve(e,a)?{from:e,to:a}:{from:a,to:e}:{from:e,to:void 0}}var De=D.createContext(void 0);function ha(e){if(!J(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return u.jsx(De.Provider,{value:t,children:e.children})}return u.jsx(ma,{initialProps:e.initialProps,children:e.children})}function ma(e){var t=e.initialProps,n=e.children,a=t.selected,r=a||{},o=r.from,i=r.to,s=t.min,c=t.max,d=function(m,y,x){var p,N;(p=t.onDayClick)===null||p===void 0||p.call(t,m,y,x);var k=fa(m,a);(N=t.onSelect)===null||N===void 0||N.call(t,k,m,y,x)},l={range_start:[],range_end:[],range_middle:[],disabled:[]};if(o?(l.range_start=[o],i?(l.range_end=[i],P(o,i)||(l.range_middle=[{after:o,before:i}])):l.range_end=[o]):i&&(l.range_start=[i],l.range_end=[i]),s&&(o&&!i&&l.disabled.push({after:ue(o,s-1),before:C(o,s-1)}),o&&i&&l.disabled.push({after:o,before:C(o,s-1)}),!o&&i&&l.disabled.push({after:ue(i,s-1),before:C(i,s-1)})),c){if(o&&!i&&(l.disabled.push({before:C(o,-c+1)}),l.disabled.push({after:C(o,c-1)})),o&&i){var f=T(i,o)+1,h=c-f;l.disabled.push({before:ue(o,h)}),l.disabled.push({after:C(i,h)})}!o&&i&&(l.disabled.push({before:C(i,-c+1)}),l.disabled.push({after:C(i,c-1)}))}return u.jsx(De.Provider,{value:{selected:a,onDayClick:d,modifiers:l},children:n})}function Me(){var e=D.useContext(De);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function $(e){return Array.isArray(e)?Ge([],e):e!==void 0?[e]:[]}function va(e){var t={};return Object.entries(e).forEach(function(n){var a=n[0],r=n[1];t[a]=$(r)}),t}var W;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(W||(W={}));var ya=W.Selected,F=W.Disabled,ga=W.Hidden,ba=W.Today,ce=W.RangeEnd,de=W.RangeMiddle,fe=W.RangeStart,pa=W.Outside;function wa(e,t,n){var a,r=(a={},a[ya]=$(e.selected),a[F]=$(e.disabled),a[ga]=$(e.hidden),a[ba]=[e.today],a[ce]=[],a[de]=[],a[fe]=[],a[pa]=[],a);return e.fromDate&&r[F].push({before:e.fromDate}),e.toDate&&r[F].push({after:e.toDate}),U(e)?r[F]=r[F].concat(t.modifiers[F]):J(e)&&(r[F]=r[F].concat(n.modifiers[F]),r[fe]=n.modifiers[fe],r[de]=n.modifiers[de],r[ce]=n.modifiers[ce]),r}var $e=D.createContext(void 0);function xa(e){var t=M(),n=_e(),a=Me(),r=wa(t,n,a),o=va(t.modifiers),i=g(g({},r),o);return u.jsx($e.Provider,{value:i,children:e.children})}function Ze(){var e=D.useContext($e);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function _a(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Da(e){return!!(e&&typeof e=="object"&&"from"in e)}function Ma(e){return!!(e&&typeof e=="object"&&"after"in e)}function ka(e){return!!(e&&typeof e=="object"&&"before"in e)}function Na(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Ca(e,t){var n,a=t.from,r=t.to;if(a&&r){var o=T(r,a)<0;o&&(n=[r,a],a=n[0],r=n[1]);var i=T(e,a)>=0&&T(r,e)>=0;return i}return r?P(r,e):a?P(a,e):!1}function Pa(e){return ge(e)}function Oa(e){return Array.isArray(e)&&e.every(ge)}function Sa(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(Pa(n))return P(e,n);if(Oa(n))return n.includes(e);if(Da(n))return Ca(e,n);if(Na(n))return n.dayOfWeek.includes(e.getDay());if(_a(n)){var a=T(n.before,e),r=T(n.after,e),o=a>0,i=r<0,s=ve(n.before,n.after);return s?i&&o:o||i}return Ma(n)?T(e,n.after)>0:ka(n)?T(n.before,e)>0:typeof n=="function"?n(e):!1})}function ke(e,t,n){var a=Object.keys(t).reduce(function(o,i){var s=t[i];return Sa(e,s)&&o.push(i),o},[]),r={};return a.forEach(function(o){return r[o]=!0}),n&&!we(e,n)&&(r.outside=!0),r}function ja(e,t){for(var n=O(e[0]),a=be(e[e.length-1]),r,o,i=n;i<=a;){var s=ke(i,t),c=!s.disabled&&!s.hidden;if(!c){i=C(i,1);continue}if(s.selected)return i;s.today&&!o&&(o=i),r||(r=i),i=C(i,1)}return o||r}var Wa=365;function et(e,t){var n=t.moveBy,a=t.direction,r=t.context,o=t.modifiers,i=t.retry,s=i===void 0?{count:0,lastFocused:e}:i,c=r.weekStartsOn,d=r.fromDate,l=r.toDate,f=r.locale,h={day:C,week:me,month:j,year:pt,startOfWeek:function(p){return r.ISOWeek?I(p):Y(p,{locale:f,weekStartsOn:c})},endOfWeek:function(p){return r.ISOWeek?Be(p):pe(p,{locale:f,weekStartsOn:c})}},m=h[n](e,a==="after"?1:-1);a==="before"&&d?m=wt([d,m]):a==="after"&&l&&(m=xt([l,m]));var y=!0;if(o){var x=ke(m,o);y=!x.disabled&&!x.hidden}return y?m:s.count>Wa?s.lastFocused:et(m,{moveBy:n,direction:a,context:r,modifiers:o,retry:g(g({},s),{count:s.count+1})})}var tt=D.createContext(void 0);function Ta(e){var t=K(),n=Ze(),a=D.useState(),r=a[0],o=a[1],i=D.useState(),s=i[0],c=i[1],d=ja(t.displayMonths,n),l=r??(s&&t.isDateDisplayed(s))?s:d,f=function(){c(r),o(void 0)},h=function(p){o(p)},m=M(),y=function(p,N){if(r){var k=et(r,{moveBy:p,direction:N,context:m,modifiers:n});P(r,k)||(t.goToDate(k,r),h(k))}},x={focusedDay:r,focusTarget:l,blur:f,focus:h,focusDayAfter:function(){return y("day","after")},focusDayBefore:function(){return y("day","before")},focusWeekAfter:function(){return y("week","after")},focusWeekBefore:function(){return y("week","before")},focusMonthBefore:function(){return y("month","before")},focusMonthAfter:function(){return y("month","after")},focusYearBefore:function(){return y("year","before")},focusYearAfter:function(){return y("year","after")},focusStartOfWeek:function(){return y("startOfWeek","before")},focusEndOfWeek:function(){return y("endOfWeek","after")}};return u.jsx(tt.Provider,{value:x,children:e.children})}function Ne(){var e=D.useContext(tt);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Ya(e,t){var n=Ze(),a=ke(e,n,t);return a}var Ce=D.createContext(void 0);function Fa(e){if(!te(e.initialProps)){var t={selected:void 0};return u.jsx(Ce.Provider,{value:t,children:e.children})}return u.jsx(Ea,{initialProps:e.initialProps,children:e.children})}function Ea(e){var t=e.initialProps,n=e.children,a=function(o,i,s){var c,d,l;if((c=t.onDayClick)===null||c===void 0||c.call(t,o,i,s),i.selected&&!t.required){(d=t.onSelect)===null||d===void 0||d.call(t,void 0,o,i,s);return}(l=t.onSelect)===null||l===void 0||l.call(t,o,o,i,s)},r={selected:t.selected,onDayClick:a};return u.jsx(Ce.Provider,{value:r,children:n})}function nt(){var e=D.useContext(Ce);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function La(e,t){var n=M(),a=nt(),r=_e(),o=Me(),i=Ne(),s=i.focusDayAfter,c=i.focusDayBefore,d=i.focusWeekAfter,l=i.focusWeekBefore,f=i.blur,h=i.focus,m=i.focusMonthBefore,y=i.focusMonthAfter,x=i.focusYearBefore,p=i.focusYearAfter,N=i.focusStartOfWeek,k=i.focusEndOfWeek,q=function(b){var v,re,oe,ie;te(n)?(v=a.onDayClick)===null||v===void 0||v.call(a,e,t,b):U(n)?(re=r.onDayClick)===null||re===void 0||re.call(r,e,t,b):J(n)?(oe=o.onDayClick)===null||oe===void 0||oe.call(o,e,t,b):(ie=n.onDayClick)===null||ie===void 0||ie.call(n,e,t,b)},ne=function(b){var v;h(e),(v=n.onDayFocus)===null||v===void 0||v.call(n,e,t,b)},ae=function(b){var v;f(),(v=n.onDayBlur)===null||v===void 0||v.call(n,e,t,b)},Q=function(b){var v;(v=n.onDayMouseEnter)===null||v===void 0||v.call(n,e,t,b)},at=function(b){var v;(v=n.onDayMouseLeave)===null||v===void 0||v.call(n,e,t,b)},rt=function(b){var v;(v=n.onDayPointerEnter)===null||v===void 0||v.call(n,e,t,b)},ot=function(b){var v;(v=n.onDayPointerLeave)===null||v===void 0||v.call(n,e,t,b)},it=function(b){var v;(v=n.onDayTouchCancel)===null||v===void 0||v.call(n,e,t,b)},st=function(b){var v;(v=n.onDayTouchEnd)===null||v===void 0||v.call(n,e,t,b)},ut=function(b){var v;(v=n.onDayTouchMove)===null||v===void 0||v.call(n,e,t,b)},lt=function(b){var v;(v=n.onDayTouchStart)===null||v===void 0||v.call(n,e,t,b)},ct=function(b){var v;(v=n.onDayKeyUp)===null||v===void 0||v.call(n,e,t,b)},dt=function(b){var v;switch(b.key){case"ArrowLeft":b.preventDefault(),b.stopPropagation(),n.dir==="rtl"?s():c();break;case"ArrowRight":b.preventDefault(),b.stopPropagation(),n.dir==="rtl"?c():s();break;case"ArrowDown":b.preventDefault(),b.stopPropagation(),d();break;case"ArrowUp":b.preventDefault(),b.stopPropagation(),l();break;case"PageUp":b.preventDefault(),b.stopPropagation(),b.shiftKey?x():m();break;case"PageDown":b.preventDefault(),b.stopPropagation(),b.shiftKey?p():y();break;case"Home":b.preventDefault(),b.stopPropagation(),N();break;case"End":b.preventDefault(),b.stopPropagation(),k();break}(v=n.onDayKeyDown)===null||v===void 0||v.call(n,e,t,b)},ft={onClick:q,onFocus:ne,onBlur:ae,onKeyDown:dt,onKeyUp:ct,onMouseEnter:Q,onMouseLeave:at,onPointerEnter:rt,onPointerLeave:ot,onTouchCancel:it,onTouchEnd:st,onTouchMove:ut,onTouchStart:lt};return ft}function Ia(){var e=M(),t=nt(),n=_e(),a=Me(),r=te(e)?t.selected:U(e)?n.selected:J(e)?a.selected:void 0;return r}function Ra(e){return Object.values(W).includes(e)}function Ba(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(a){var r=e.modifiersClassNames[a];if(r)n.push(r);else if(Ra(a)){var o=e.classNames["day_".concat(a)];o&&n.push(o)}}),n}function Ha(e,t){var n=g({},e.styles.day);return Object.keys(t).forEach(function(a){var r;n=g(g({},n),(r=e.modifiersStyles)===null||r===void 0?void 0:r[a])}),n}function Aa(e,t,n){var a,r,o,i=M(),s=Ne(),c=Ya(e,t),d=La(e,c),l=Ia(),f=!!(i.onDayClick||i.mode!=="default");D.useEffect(function(){var Q;c.outside||s.focusedDay&&f&&P(s.focusedDay,e)&&((Q=n.current)===null||Q===void 0||Q.focus())},[s.focusedDay,e,n,f,c.outside]);var h=Ba(i,c).join(" "),m=Ha(i,c),y=!!(c.outside&&!i.showOutsideDays||c.hidden),x=(o=(r=i.components)===null||r===void 0?void 0:r.DayContent)!==null&&o!==void 0?o:la,p=u.jsx(x,{date:e,displayMonth:t,activeModifiers:c}),N={style:m,className:h,children:p,role:"gridcell"},k=s.focusTarget&&P(s.focusTarget,e)&&!c.outside,q=s.focusedDay&&P(s.focusedDay,e),ne=g(g(g({},N),(a={disabled:c.disabled,role:"gridcell"},a["aria-selected"]=c.selected,a.tabIndex=q||k?0:-1,a)),d),ae={isButton:f,isHidden:y,activeModifiers:c,selectedDays:l,buttonProps:ne,divProps:N};return ae}function qa(e){var t=D.useRef(null),n=Aa(e.date,e.displayMonth,t);return n.isHidden?u.jsx("div",{role:"gridcell"}):n.isButton?u.jsx(ee,g({name:"day",ref:t},n.buttonProps)):u.jsx("div",g({},n.divProps))}function Qa(e){var t=e.number,n=e.dates,a=M(),r=a.onWeekNumberClick,o=a.styles,i=a.classNames,s=a.locale,c=a.labels.labelWeekNumber,d=a.formatters.formatWeekNumber,l=d(Number(t),{locale:s});if(!r)return u.jsx("span",{className:i.weeknumber,style:o.weeknumber,children:l});var f=c(Number(t),{locale:s}),h=function(m){r(t,n,m)};return u.jsx(ee,{name:"week-number","aria-label":f,className:i.weeknumber,style:o.weeknumber,onClick:h,children:l})}function Xa(e){var t,n,a=M(),r=a.styles,o=a.classNames,i=a.showWeekNumber,s=a.components,c=(t=s?.Day)!==null&&t!==void 0?t:qa,d=(n=s?.WeekNumber)!==null&&n!==void 0?n:Qa,l;return i&&(l=u.jsx("td",{className:o.cell,style:r.cell,children:u.jsx(d,{number:e.weekNumber,dates:e.dates})})),u.jsxs("tr",{className:o.row,style:r.row,children:[l,e.dates.map(function(f){return u.jsx("td",{className:o.cell,style:r.cell,role:"presentation",children:u.jsx(c,{displayMonth:e.displayMonth,date:f})},xn(f))})]})}function Ee(e,t,n){for(var a=n?.ISOWeek?Be(t):pe(t,n),r=n?.ISOWeek?I(e):Y(e,n),o=T(a,r),i=[],s=0;s<=o;s++)i.push(C(r,s));var c=i.reduce(function(d,l){var f=n?.ISOWeek?Ae(l):Qe(l,n),h=d.find(function(m){return m.weekNumber===f});return h?(h.dates.push(l),d):(d.push({weekNumber:f,dates:[l]}),d)},[]);return c}function Va(e,t){var n=Ee(O(e),be(e),t);if(t?.useFixedWeeks){var a=Dn(e,t);if(a<6){var r=n[n.length-1],o=r.dates[r.dates.length-1],i=me(o,6-a),s=Ee(me(o,1),i,t);n.push.apply(n,s)}}return n}function Ga(e){var t,n,a,r=M(),o=r.locale,i=r.classNames,s=r.styles,c=r.hideHead,d=r.fixedWeeks,l=r.components,f=r.weekStartsOn,h=r.firstWeekContainsDate,m=r.ISOWeek,y=Va(e.displayMonth,{useFixedWeeks:!!d,ISOWeek:m,locale:o,weekStartsOn:f,firstWeekContainsDate:h}),x=(t=l?.Head)!==null&&t!==void 0?t:ua,p=(n=l?.Row)!==null&&n!==void 0?n:Xa,N=(a=l?.Footer)!==null&&a!==void 0?a:oa;return u.jsxs("table",{id:e.id,className:i.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!c&&u.jsx(x,{}),u.jsx("tbody",{className:i.tbody,style:s.tbody,children:y.map(function(k){return u.jsx(p,{displayMonth:e.displayMonth,dates:k.dates,weekNumber:k.weekNumber},k.weekNumber)})}),u.jsx(N,{displayMonth:e.displayMonth})]})}function za(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ua=za()?D.useLayoutEffect:D.useEffect,he=!1,Ja=0;function Le(){return"react-day-picker-".concat(++Ja)}function Ka(e){var t,n=e??(he?Le():null),a=D.useState(n),r=a[0],o=a[1];return Ua(function(){r===null&&o(Le())},[]),D.useEffect(function(){he===!1&&(he=!0)},[]),(t=e??r)!==null&&t!==void 0?t:void 0}function $a(e){var t,n,a=M(),r=a.dir,o=a.classNames,i=a.styles,s=a.components,c=K().displayMonths,d=Ka(a.id?"".concat(a.id,"-").concat(e.displayIndex):void 0),l=a.id?"".concat(a.id,"-grid-").concat(e.displayIndex):void 0,f=[o.month],h=i.month,m=e.displayIndex===0,y=e.displayIndex===c.length-1,x=!m&&!y;r==="rtl"&&(t=[m,y],y=t[0],m=t[1]),m&&(f.push(o.caption_start),h=g(g({},h),i.caption_start)),y&&(f.push(o.caption_end),h=g(g({},h),i.caption_end)),x&&(f.push(o.caption_between),h=g(g({},h),i.caption_between));var p=(n=s?.Caption)!==null&&n!==void 0?n:ra;return u.jsxs("div",{className:f.join(" "),style:h,children:[u.jsx(p,{id:d,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),u.jsx(Ga,{id:l,"aria-labelledby":d,displayMonth:e.displayMonth})]},e.displayIndex)}function Za(e){var t=M(),n=t.classNames,a=t.styles;return u.jsx("div",{className:n.months,style:a.months,children:e.children})}function er(e){var t,n,a=e.initialProps,r=M(),o=Ne(),i=K(),s=D.useState(!1),c=s[0],d=s[1];D.useEffect(function(){r.initialFocus&&o.focusTarget&&(c||(o.focus(o.focusTarget),d(!0)))},[r.initialFocus,c,o.focus,o.focusTarget,o]);var l=[r.classNames.root,r.className];r.numberOfMonths>1&&l.push(r.classNames.multiple_months),r.showWeekNumber&&l.push(r.classNames.with_weeknumber);var f=g(g({},r.styles.root),r.style),h=Object.keys(a).filter(function(y){return y.startsWith("data-")}).reduce(function(y,x){var p;return g(g({},y),(p={},p[x]=a[x],p))},{}),m=(n=(t=a.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:Za;return u.jsx("div",g({className:l.join(" "),style:f,dir:r.dir,id:r.id,nonce:a.nonce,title:a.title,lang:a.lang},h,{children:u.jsx(m,{children:i.displayMonths.map(function(y,x){return u.jsx($a,{displayIndex:x,displayMonth:y},x)})})}))}function tr(e){var t=e.children,n=kn(e,["children"]);return u.jsx(Qn,{initialProps:n,children:u.jsx(ea,{children:u.jsx(Fa,{initialProps:n,children:u.jsx(ca,{initialProps:n,children:u.jsx(ha,{initialProps:n,children:u.jsx(xa,{children:u.jsx(Ta,{children:t})})})})})})})}function nr(e){return u.jsx(tr,g({},e,{children:u.jsx(er,{initialProps:e})}))}function sr(e){const t=ht.c(20);let n,a,r,o;t[0]!==e?({className:n,classNames:a,showOutsideDays:o,...r}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=r,t[4]=o):(n=t[1],a=t[2],r=t[3],o=t[4]);const i=o===void 0?!0:o;let s;t[5]!==n?(s=H("p-3",n),t[5]=n,t[6]=s):s=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=H(Pe({variant:"outline"}),"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),t[7]=c):c=t[7];const d=r.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md";let l;t[8]!==d?(l=H("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",d),t[8]=d,t[9]=l):l=t[9];let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=H(Pe({variant:"ghost"}),"size-8 p-0 font-normal aria-selected:opacity-100"),t[10]=f):f=t[10];let h;t[11]!==a||t[12]!==l?(h={months:"flex flex-col sm:flex-row gap-2",month:"flex flex-col gap-4",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-sm font-medium",nav:"flex items-center gap-1",nav_button:c,nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:l,day:f,day_range_start:"day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",day_range_end:"day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...a},t[11]=a,t[12]=l,t[13]=h):h=t[13];let m;t[14]===Symbol.for("react.memo_cache_sentinel")?(m={IconLeft:rr,IconRight:ar},t[14]=m):m=t[14];let y;return t[15]!==r||t[16]!==i||t[17]!==s||t[18]!==h?(y=u.jsx(nr,{showOutsideDays:i,className:s,classNames:h,components:m,...r}),t[15]=r,t[16]=i,t[17]=s,t[18]=h,t[19]=y):y=t[19],y}function ar(e){const{className:t,...n}=e;return u.jsx(mt,{className:H("size-4",t),...n})}function rr(e){const{className:t,...n}=e;return u.jsx(vt,{className:H("size-4",t),...n})}export{sr as C};
|
package/dist/client/assets/{capability-load-error-Cwe4uK-x.js → capability-load-error-Cpo9EAh2.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,b as y,q as h,a6 as j,j as s,a7 as b,K as C,B as E}from"./index-
|
|
1
|
+
import{c as p,b as y,q as h,a6 as j,j as s,a7 as b,K as C,B as E}from"./index-6k36ehsW.js";function v(){const e=p.c(23),t=y(),d=h(),{locator:x}=j();let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:s.jsx(b,{size:28})}),e[0]=u):u=e[0];let i;e[1]!==t?(i=t("common.capabilityLoadError.title"),e[1]=t,e[2]=i):i=e[2];let l;e[3]!==i?(l=s.jsx("h3",{className:"text-lg font-medium",children:i}),e[3]=i,e[4]=l):l=e[4];let a;e[5]!==t?(a=t("common.capabilityLoadError.description"),e[5]=t,e[6]=a):a=e[6];let r;e[7]!==a?(r=s.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:a}),e[7]=a,e[8]=r):r=e[8];let o;e[9]!==l||e[10]!==r?(o=s.jsxs("div",{className:"space-y-1",children:[l,r]}),e[9]=l,e[10]=r,e[11]=o):o=e[11];let n;e[12]!==x||e[13]!==d?(n=()=>d.invalidateQueries({queryKey:C.myCapabilities(x)}),e[12]=x,e[13]=d,e[14]=n):n=e[14];let c;e[15]!==t?(c=t("common.capabilityLoadError.tryAgain"),e[15]=t,e[16]=c):c=e[16];let m;e[17]!==n||e[18]!==c?(m=s.jsx(E,{variant:"outline",size:"sm",onClick:n,children:c}),e[17]=n,e[18]=c,e[19]=m):m=e[19];let f;return e[20]!==o||e[21]!==m?(f=s.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[u,o,m]}),e[20]=o,e[21]=m,e[22]=f):f=e[22],f}export{v as C};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as jt,j as t,b as St,r as k,B as et,a9 as Et,I as ot,aP as vt,aO as Nt,aL as Ct,aJ as wt,aK as Pt,aN as kt,aM as Bt,b9 as Dt,h as Tt,t as B}from"./index-6k36ehsW.js";import{u as Ft}from"./chat-context-BW-slB_k.js";import{i as L}from"./AlertCircle-AllCHsc-.js";import{i as At}from"./ArrowRight-DSFHA030.js";import{i as st}from"./File02-C5RfRHg9.js";import{d as _t}from"./UserSquare-bg0CCGVi.js";import{L as O}from"./label-B05fQV9w.js";import{S as Rt,b as Lt,a as Ot,d as zt,c as z}from"./select-BzOd4QV1.js";import{b as It,C as Ht,a as Mt,c as $t}from"./blog-schema-7GeVkqmc.js";import{H as Wt,u as Vt}from"./held-block-view-8Ktr6QKV.js";import{a as Gt,b as I,R as Yt,s as qt,aM as Jt,o as Qt,aN as Ut,a7 as Xt,aO as Zt,m as rt,ab as Kt,a3 as te,u as ee,l as oe,aP as se,d as re,f as ie,I as ae,aQ as ne}from"./category-tree-CwYyvh-H.js";import{e as le}from"./blog-preview-url-Cxts0MFJ.js";import{u as me}from"./use-never-published-DAOoxMmV.js";import{u as ce}from"./use-move-blocks-sK7PvIYV.js";import{H as it}from"./hosted-reconcile-BfDZiVDB.js";import{u as de}from"./use-fast-preview-draft-url-oDvx6qNG.js";import{u as pe}from"./use-autosave-C-v37PG8.js";import{S as ue}from"./save-status-DUiju85M.js";import{B as ge,a as xe}from"./block-document-xUve5SNT.js";import{s as p,E as he}from"./primitives-CrCuT0LR.js";import{c as fe,T as ye,a as be}from"./tooltip-CpNT29Lg.js";import"./use-panel-navigate-BAJB306G.js";import"./thread-route-DISRw9NA.js";import"./use-project-scope-DVgj2Lmp.js";import"./repository-binding--4TzKXBA.js";import"./use-mcp-client-Dn7GJEfR.js";import"./auth-DTCWUZG7.js";import"./use-view-draft-kind-CofWB4b8.js";import"./use-blog-view-CVo7QYbd.js";import"./use-organization-settings-CYN_vYgA.js";import"./schema-DcMtzh-L.js";import"./task-board-D-EY7IDb.js";import"./thread-intent-HcaWskQl.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./watch-sse-pool-cOL-0uUN.js";import"./session-runtime-fnzDQ8ba.js";import"./use-entitlements-CtKDjSCc.js";import"./use-ai-providers-CL55euJG.js";import"./use-current-view-CQkQuEPS.js";import"./use-in-settings-CSXNVGfX.js";import"./use-decopilot-events-CXr5p6cn.js";import"./index-BdQq_4o_.js";import"./index-CbxeeWwk.js";import"./ChevronDown-C0tAiNqc.js";import"./ChevronUp-CLxsyktD.js";import"./UserCheck01-CLDfWEEJ.js";import"./collapsible-RVJX7MiV.js";import"./utils-B6aCtHUu.js";import"./agent-icon-m6DF-jGw.js";import"./Tool01-C5c4fHOY.js";import"./ArrowUp-D_GhkPcm.js";import"./ArrowLeft-CRw3W_qh.js";import"./BookOpen01-lNQqqERm.js";import"./Globe04-Cffx8Biv.js";import"./CheckCircle-D_eJlHYl.js";import"./TrendUp01-Me2ucQTV.js";import"./ChevronSelectorVertical-oMR2kCqB.js";import"./LinkBroken01-CG6bLE37.js";import"./CreditCard01-DfogeJXR.js";import"./MessageCircle01-MLX2eDnv.js";import"./SwitchHorizontal01-DX564T5r.js";import"./Eye-IB81hGdK.js";import"./Fingerprint04-d20CepTC.js";import"./Image01-C3Wojgfs.js";import"./Key01-UGh5N-kc.js";import"./LayoutLeft-DtDmaSrQ.js";import"./Minus-DUjfsLQY.js";import"./Monitor01-DKJLays1.js";import"./Sun-C0_F0NYL.js";import"./Play-BkcMWNbk.js";import"./Plus-D84NDH53.js";import"./SearchMd-lt6LFgc6.js";import"./ShoppingBag01-BswoJp3c.js";import"./Trash01-CFKOdFdJ.js";import"./Upload01-A4xsFQc7.js";import"./Users01-CCleMxbO.js";import"./XClose-DNnGTtOa.js";import"./Zap-DS2xaVCg.js";import"./blocks-tab-states-Cw0RWK3h.js";import"./site-editor-toast-BfB5E3lf.js";import"./use-sandbox-events-BqtbFabs.js";import"./sandbox-url-D3mC8qhT.js";import"./use-blocks-v8-project-CHvN3d67.js";import"./use-voice-input-DuTeTois.js";import"./popover-CH9oXjqN.js";import"./drawer-cDJNr0UL.js";import"./use-mobile-Bwg13Khk.js";import"./index-CGp5e78v.js";import"./checkbox-DyPy5TYa.js";import"./ai-providers-logos-DD3qZ33J.js";import"./openai-compatible-presets-BKGfVqEx.js";import"./sandbox-git-api-BySMpBzA.js";import"./empty-state-BQLWtNQT.js";import"./calendar-CWY9RcGt.js";import"./textarea-zXJwvg1C.js";import"./usage-stats-BpSzWrpu.js";import"./utils-CVEq3hMx.js";import"./markdown-B2-eb-Eh.js";import"./use-copy-BosHh8hs.js";import"./gateway-client-CwKPU6S4.js";import"./form-C_3vsTjd.js";import"./editor-classes-0NCpfosP.js";import"./switch-C9KE8PCO.js";import"./task-key-Bf-5jxEO.js";import"./sortable.esm-BnSJzMhQ.js";import"./toggle-group--KiJldtG.js";import"./active-indicator-CCMhAsc_.js";import"./section-array-field-BmxRdqC1.js";import"./command-D0_H05ec.js";import"./index-BOcJIVCK.js";import"./named-rule-step-CrcD_duq.js";import"./slider-CiWmLveF.js";import"./index-DbcKAUw4.js";import"./tooltipContext-HwIIkoOx.js";import"./CategoricalChart-DRsmm3_a.js";import"./index-WlTKCESy.js";import"./combobox-BU7hsWmk.js";import"./scroll-area-CT5pMPAI.js";import"./match-site-slug-config-B47_xZCi.js";import"./use-file-configs-d8oveZti.js";import"./asset-utils-Wh7PCoXS.js";import"./useInfiniteQuery-AR0nCC2r.js";import"./infiniteQueryObserver-BU4GB00s.js";import"./sandbox-start-errors-BK_aDCyt.js";import"./pair-D_71JV_h.js";import"./use-task-board-items-VCVSuTG_.js";import"./config-XJHmvtsd.js";import"./task-route-C5TECNuR.js";import"./project-index-Cb0knzOx.js";import"./shell-layout-D8-R0sqM.js";import"./use-deployment-admin-CrPYh0iy.js";import"./admin-fetch-BhTJlAsX.js";import"./use-org-notice-BTIpWL_p.js";import"./integration-icon-CThPNDLT.js";import"./project-icon-BwoqBozX.js";import"./use-navigate-to-agent-CzSAlpxn.js";import"./use-debounced-value-D92V-nO1.js";import"./new-project-dialog-C8GsS3yA.js";import"./repository-picker-v7iVCEUT.js";import"./github-icon-mqy7WjXH.js";import"./collection-search-0Y7SoOe-.js";import"./new-project-store-DIzzNFh1.js";import"./legacy-admin-welcome-dialog-BOk_1MDr.js";import"./required-auth-layout-B8y_MNr7.js";import"./use-org-sso-BZklGZ0G.js";import"./content-blocks-o63cs2vh.js";import"./mcp-app-renderer-Bj6Yqj6W.js";import"./types-U1xib9QI.js";import"./omit-server-managed-metadata-L5IhjRZB.js";import"./sheet-D0InrjqO.js";import"./use-connection-BrUoHInG.js";import"./use-mcp-prompts-BMSkxk3j.js";import"./use-thread-outputs-y7iH8wUp.js";import"./file-type-icon-DR-V5GzT.js";import"./search-input-B5JIa11y.js";import"./tabs-CLDwlIBj.js";import"./delete-copy-UCaGT3P5.js";import"./index-C4RiD3F4.js";import"./suggestion-Bnw1hfqZ.js";import"./product-picker-dialog-mmy97YMY.js";import"./index-CHcZo0sN.js";const H="__none__";function je({orgSlug:r,virtualMcpId:s,branch:u,blockKey:n,block:y,decofile:x,meta:D,onManagePosts:at,onOpenPost:nt,previewBaseUrl:M,fastPreviewActive:lt=!0}){const o=St(),$=Ft()?.taskId??null,b=me({orgSlug:r,virtualMcpId:s,branch:u},{holdsCopy:!0}),v=ce({orgSlug:r,virtualMcpId:s,branch:u}),mt=de({orgSlug:r,virtualMcpId:s,branch:u}),W=Gt(y,"categories"),V=e=>{const a=b.shown(e);return a?{[e]:a}:{}},[m,G,Y]=pe(W,e=>{b.mutate({blockKey:n,data:I(n,"categories",e)})},{isSaving:b.isPending||v.isPending,onSeed:()=>b.hold(n)}),N=(e,a)=>G({...m,[e]:a}),ct=It("categories",D,$t),R=Vt({orgSlug:r,virtualMcpId:s,branch:u},x),q=R.save,J=le({decofile:x,category:m,previewBaseUrl:M,draftPointer:lt?mt:null,meta:D}),i=p(m.slug),[Q,f]=k.useState(i),[U,j]=k.useState(null),[dt,pt]=k.useState(i);dt!==i&&(pt(i),f(i));const[d,T]=k.useState(null),[S,F]=k.useState(!1),X=i?Yt(x).filter(e=>e.categorySlugs.includes(i)):[],A=X.length,_=qt(x).categories,Z=(i?_.filter(e=>e.parentSlug===i):[]).length,ut=i?Jt(i,_).add(i):new Set,K=Qt(_).filter(({entry:e,depth:a})=>e.slug&&!ut.has(e.slug)&&a+1<Ut).map(({entry:e,depth:a})=>({slug:e.slug,label:e.label,depth:a})),C=p(m.parentSlug),gt=Xt(x,"categories",n,p(m.name)),E=Zt(m),xt=E.length===1?o("sandbox.postEditor.missingFieldSingular",{fields:rt(E,o)}):o("sandbox.postEditor.missingFieldPlural",{fields:rt(E,o)}),ht=e=>N("slug",e),tt=(e,a)=>{const c={name:p(a.name),slug:p(a.slug)},l={[n]:I(n,"categories",a)};let h=0;for(const{key:g,payload:w}of oe(x)){const P=se(w,e,c);P!==w&&(l[g]=re(g,ie(P)),h+=1)}if(e!==c.slug)for(const{key:g,payload:w}of ae(x,"categories")){if(g===n)continue;const P=ne(w,e,c.slug);P!==w&&(l[g]=I(g,"categories",P))}return{writes:l,posts:h}},ft=async()=>{if(!i||S)return;const e=p(m.name),a={...m,name:e},{writes:c,posts:l}=tt(i,a);if(!(l===0&&e===p(W.name))){F(!0);try{Y(a),await v.move({writes:c,deletes:[]},{shown:()=>V(n)}),l>0&&B.success(o("sandbox.categoryEditor.renameNameSuccess",{count:String(l)}))}catch(h){if(h instanceof it)return;B.error(h instanceof Error?h.message:o("sandbox.categoryEditor.renameFailed"))}finally{F(!1)}}},yt=async(e,a)=>{const c={...m,slug:a},{writes:l,posts:h}=tt(e,c);F(!0);try{Y(c),await v.move({writes:l,deletes:[]},{shown:()=>V(n)}),B.success(h>0?o("sandbox.categoryEditor.renameSuccessWithPosts",{count:String(h)}):o("sandbox.categoryEditor.renameSuccessNoPosts")),T(null)}catch(g){if(f(e),j(null),T(null),g instanceof it)return;B.error(g instanceof Error?g.message:o("sandbox.categoryEditor.renameFailed"))}finally{F(!1)}},bt=()=>{const e=te(Q);if(f(e),e===i)return;if(!e){f(i),j(null);return}const a=_.filter(l=>l.key!==n).map(l=>p(l.slug)).filter(Boolean);let c=e;if(a.includes(e)){c=ee(e,a);const l=o("sandbox.categoryEditor.slugDeduped",{slug:c});f(c),j(l),B.info(l)}else j(null);if(A===0&&Z===0){ht(c);return}T({oldSlug:i,newSlug:c,count:A,children:Z})};return t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"flex h-full flex-col",children:[t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[t.jsx("span",{className:"truncate text-sm font-medium",children:p(m.name)||o("sandbox.categoryEditor.untitledCategory")}),t.jsxs("div",{className:"flex shrink-0 items-center gap-3",children:[t.jsx(ue,{isPending:b.isPending||R.isPending||v.isPending,isError:b.isError||R.isError||v.isError}),E.length>0&&t.jsxs(fe,{children:[t.jsx(ye,{asChild:!0,children:t.jsxs("span",{className:"flex items-center gap-1.5 text-xs font-medium text-destructive",children:[t.jsx(L,{size:14}),E.length," ",E.length===1?o("sandbox.postEditor.issueSingular"):o("sandbox.postEditor.issuePlural")]})}),t.jsx(be,{side:"bottom",children:xt})]}),J&&t.jsxs(et,{type:"button",variant:"outline",size:"sm",title:o("sandbox.categoryEditor.previewTooltip"),onClick:()=>window.open(J,"_blank","noopener,noreferrer"),children:[t.jsx(Et,{size:14}),o("sandbox.categoryEditor.seeCategoryPreview")]})]})]}),t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto",children:t.jsxs("div",{className:"mx-auto max-w-4xl px-8 py-8",children:[t.jsx(he,{value:p(m.name),onChange:e=>N("name",e),readOnly:S,onBlur:()=>{ft()},placeholder:o("sandbox.categoryEditor.categoryNamePlaceholder"),className:"py-1 text-3xl font-bold text-foreground"}),gt&&t.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-warning",children:[t.jsx(L,{size:14,className:"mt-px shrink-0"}),o("sandbox.categoryEditor.duplicateNameWarning")]}),t.jsxs("div",{className:"mt-4 space-y-2",children:[t.jsx(O,{htmlFor:"category-slug",children:o("sandbox.categoryEditor.slugLabel")}),t.jsx(ot,{id:"category-slug",value:Q,onChange:e=>{j(null),f(Kt(e.target.value))},onBlur:bt,placeholder:o("sandbox.categoryEditor.slugPlaceholder"),maxLength:80,className:"h-10"}),U&&t.jsxs("p",{className:"flex items-start gap-1.5 text-xs text-warning",children:[t.jsx(L,{size:14,className:"mt-px shrink-0"}),U]})]}),t.jsxs("div",{className:"mt-4 space-y-2",children:[t.jsx(O,{htmlFor:"category-parent",children:o("sandbox.categoryEditor.parentLabel")}),t.jsxs(Rt,{value:C||H,onValueChange:e=>N("parentSlug",e===H?void 0:e),children:[t.jsx(Lt,{id:"category-parent",className:"h-10 w-full",children:t.jsx(Ot,{})}),t.jsxs(zt,{children:[t.jsx(z,{value:H,children:o("sandbox.categoryEditor.parentNone")}),C&&!K.some(e=>e.slug===C)&&t.jsx(z,{value:C,children:C}),K.map(e=>t.jsx(z,{value:e.slug,children:t.jsx("span",{style:{paddingLeft:e.depth*12},children:e.label})},e.slug))]})]}),t.jsx("p",{className:"text-xs text-muted-foreground",children:o("sandbox.categoryEditor.parentDescription")})]}),t.jsxs("div",{className:"mt-4 space-y-2",children:[t.jsx(O,{htmlFor:"category-description",children:o("sandbox.categoryEditor.descriptionLabel")}),t.jsx(ot,{id:"category-description",value:p(m.description),onChange:e=>N("description",e.target.value),placeholder:o("sandbox.categoryEditor.descriptionPlaceholder"),className:"h-10"})]}),t.jsx(Ht,{schema:ct,value:m,onChange:G,basePath:"category",meta:D,decofile:x,sandbox:{orgSlug:r,virtualMcpId:s,branch:u,threadId:$},onSaveReferencedBlock:q}),t.jsx(Mt,{icon:_t,title:o("sandbox.categoryEditor.contentTitle"),defaultOpen:!0,children:t.jsx(ge,{value:xe(m.sections),onChange:e=>N("sections",e),meta:D,decofile:x,sandboxRef:{orgSlug:r,virtualMcpId:s,branch:u,threadId:$},previewBaseUrl:M,onSaveReferencedBlock:q,emptyMessage:o("sandbox.categoryEditor.noContentEmpty")})}),t.jsxs("div",{className:"mt-6 overflow-hidden rounded-lg border bg-muted/30",children:[t.jsxs("div",{className:"flex items-center justify-between gap-3 px-4 py-3",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[t.jsx(st,{size:16,className:"shrink-0 text-muted-foreground"}),t.jsx("span",{className:"text-sm",children:o("sandbox.categoryEditor.postsInCategory",{count:String(A)})})]}),t.jsxs(et,{type:"button",variant:"outline",size:"sm",disabled:!i,title:o(i?"sandbox.categoryEditor.pickPostsTooltip":"sandbox.categoryEditor.setSlugTooltip"),onClick:()=>at(i),children:[o("sandbox.categoryEditor.addPostsButton"),t.jsx(At,{size:14})]})]}),A>0&&t.jsx("ul",{className:"divide-y border-t bg-background",children:X.map(e=>t.jsx("li",{children:t.jsxs("button",{type:"button",onClick:()=>nt(e.key),className:"flex w-full items-center gap-2.5 px-4 py-2.5 text-left transition-colors hover:bg-accent cursor-pointer",children:[t.jsx(st,{size:14,className:"shrink-0 text-muted-foreground"}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:"block truncate text-sm",children:e.title||o("sandbox.categoryEditor.untitledPost")}),e.slug&&t.jsx("span",{className:"block truncate text-xs text-muted-foreground",children:e.slug})]})]})},e.key))})]})]})})]}),t.jsx(vt,{open:!!d,onOpenChange:e=>{e||S||(f(i),j(null),T(null))},children:t.jsxs(Nt,{children:[t.jsxs(Ct,{children:[t.jsx(wt,{children:o("sandbox.categoryEditor.renameDialogTitle")}),t.jsxs(Pt,{children:[d?o("sandbox.categoryEditor.renameDialogDescription",{oldSlug:d.oldSlug,newSlug:d.newSlug,count:String(d.count)}):null,d&&d.children>0?` ${o("sandbox.categoryEditor.renameDialogChildren",{count:String(d.children)})}`:null]})]}),t.jsxs(kt,{children:[t.jsx(Bt,{disabled:S,children:o("sandbox.categoryEditor.cancelButton")}),t.jsx(Dt,{onClick:e=>{e.preventDefault(),d&&yt(d.oldSlug,d.newSlug)},disabled:S,children:S?t.jsxs(t.Fragment,{children:[t.jsx(Tt,{className:"size-3.5"}),o("sandbox.categoryEditor.renamingLabel")]}):o("sandbox.categoryEditor.renameActionButton")})]})]})})]})}function vr(r){const s=jt.c(10),u=r.block!==void 0;let n;s[0]!==r?(n=t.jsx(je,{...r}),s[0]=r,s[1]=n):n=s[1];let y;return s[2]!==r.blockKey||s[3]!==r.branch||s[4]!==r.decofile||s[5]!==r.orgSlug||s[6]!==r.virtualMcpId||s[7]!==u||s[8]!==n?(y=t.jsx(Wt,{listing:r.decofile,orgSlug:r.orgSlug,virtualMcpId:r.virtualMcpId,branch:r.branch,blockKey:r.blockKey,present:u,children:n}),s[2]=r.blockKey,s[3]=r.branch,s[4]=r.decofile,s[5]=r.orgSlug,s[6]=r.virtualMcpId,s[7]=u,s[8]=n,s[9]=y):y=s[9],y}export{vr as CategoryEditor};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{r as Oe,c as R,b as Re,j as l,m as _,B as le,a7 as vt,b6 as xt,bo as De,bB as Se,bA as St,bc as At,bf as Ct,bg as kt,bd as Be,bC as Nt,aI as Tt}from"./index-6k36ehsW.js";import{_ as Et}from"./agent-icon-m6DF-jGw.js";import{i as jt}from"./Play-BkcMWNbk.js";import{S as Ae}from"./sandbox-start-errors-BK_aDCyt.js";import{G as wt}from"./pair-D_71JV_h.js";import{C as Pt}from"./section-array-field-BmxRdqC1.js";import{s as Ot}from"./session-runtime-fnzDQ8ba.js";import{$ as Rt,q as Dt,a0 as te,X as Bt,z as ye,a1 as Lt,e as It,a2 as Mt,x as $t}from"./blocks-tab-states-Cw0RWK3h.js";import"./site-editor-toast-BfB5E3lf.js";const Le=Oe.createContext(!1),Bs=Le.Provider;function Ls(){return Oe.useContext(Le)}const Kt={provision:0,cloning:1,install:2,dev:3};function Ft(t){return Kt[t.step]}const Ce=48,Ie=28,Me=3,Ut=(()=>{const t=[];let e=0;for(let n=0;n<Ce;n++)n===Ie?t.push(null):(t.push(e/(Ce-1)*Me),e++);return t})();function Gt(t){return{provision:t("sandbox.bootingVisual.phaseProvision"),cloning:t("sandbox.bootingVisual.phaseCloning"),install:t("sandbox.bootingVisual.phaseInstall"),dev:t("sandbox.bootingVisual.phaseDev")}}function Vt(t,e,n){return t.step==="provision"&&e!=null&&e.kind!=="ready"&&e.kind!=="failed"?Pt[e.kind].long:n[t.step]}const j="bg-foreground/[0.05]",C="bg-foreground/[0.09]",zt=Array.from({length:35},()=>Math.random()*1.8),Ht=Array.from({length:35},()=>Math.random()<.4);function Yt(t){const e=R.c(31),{progress:n,claimPhase:s}=t,o=Re();let r;e[0]!==n?(r=Ft(n),e[0]=n,e[1]=r):r=e[1];const i=r;let a;e[2]!==s||e[3]!==n||e[4]!==o?(a=Vt(n,s,Gt(o)),e[2]=s,e[3]=n,e[4]=o,e[5]=a):a=e[5];const c=a;let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f=l.jsx(wt,{}),e[6]=f):f=e[6];const p=`${n.step}-${c}`;let g;e[7]!==c||e[8]!==p?(g=l.jsxs("div",{className:"flex items-center gap-2 rounded-full border border-foreground/10 bg-background px-3.5 py-1.5 shadow-[0_4px_20px_-4px_rgb(0_0_0_/_0.12)]",children:[f,l.jsxs("span",{className:"animate-in fade-in text-sm font-medium text-foreground/85 duration-500",children:[c,"…"]},p)]}),e[7]=c,e[8]=p,e[9]=g):g=e[9];let d;e[10]===Symbol.for("react.memo_cache_sentinel")?(d=l.jsx(Xt,{}),e[10]=d):d=e[10];let m;e[11]!==i?(m=l.jsx(q,{phase:0,current:i,children:d}),e[11]=i,e[12]=m):m=e[12];let y;e[13]===Symbol.for("react.memo_cache_sentinel")?(y=l.jsx(Wt,{}),e[13]=y):y=e[13];let b;e[14]!==i?(b=l.jsx(q,{phase:1,current:i,children:y}),e[14]=i,e[15]=b):b=e[15];let v;e[16]===Symbol.for("react.memo_cache_sentinel")?(v=l.jsx(Qt,{}),e[16]=v):v=e[16];let x;e[17]!==i?(x=l.jsx(q,{phase:2,current:i,children:v}),e[17]=i,e[18]=x):x=e[18];let T;e[19]===Symbol.for("react.memo_cache_sentinel")?(T=l.jsx(Zt,{}),e[19]=T):T=e[19];let S;e[20]!==i?(S=l.jsx(q,{phase:3,current:i,children:T}),e[20]=i,e[21]=S):S=e[21];let A;e[22]!==x||e[23]!==S||e[24]!==m||e[25]!==b?(A=l.jsxs("div",{className:"relative aspect-[4/3] w-[min(78%,560px)]",children:[m,b,x,S]}),e[22]=x,e[23]=S,e[24]=m,e[25]=b,e[26]=A):A=e[26];let L;e[27]===Symbol.for("react.memo_cache_sentinel")?(L=l.jsx("style",{children:`
|
|
2
|
+
@keyframes vm-pulse-soft {
|
|
3
|
+
0%, 100% { opacity: 0.25; }
|
|
4
|
+
50% { opacity: 1; }
|
|
5
|
+
}
|
|
6
|
+
@keyframes vm-breathe {
|
|
7
|
+
0%, 100% { opacity: 0.5; }
|
|
8
|
+
50% { opacity: 1; }
|
|
9
|
+
}
|
|
10
|
+
@keyframes vm-rack-scan {
|
|
11
|
+
0%, 100% { opacity: 0; }
|
|
12
|
+
8% { opacity: 1; }
|
|
13
|
+
22% { opacity: 0; }
|
|
14
|
+
}
|
|
15
|
+
`}),e[27]=L):L=e[27];let w;return e[28]!==A||e[29]!==g?(w=l.jsxs("div",{className:"relative flex w-full flex-col items-center justify-center gap-12 select-none [clip-path:inset(-24px_0_-200px_0)]",children:[g,A,L]}),e[28]=A,e[29]=g,e[30]=w):w=e[30],w}function q(t){const e=R.c(10),{phase:n,current:s,children:o}=t,r=n-s,i=r<0,a=r===0,c=i?90:r*-22,f=i?.94:1-Math.max(r,0)*.04,p=i?0:a?1:r===1?.8:.55,g=i?10:30-r,d=!a;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=_("absolute inset-0 overflow-hidden rounded-xl border border-foreground/10 bg-background shadow-[0_20px_60px_-20px_rgb(0_0_0_/_0.35)] transition-all ease-[cubic-bezier(0.22,1,0.36,1)]"),e[0]=m):m=e[0];const y=`translateY(${c}px) scale(${f})`,b=a?"auto":"none";let v;e[1]!==p||e[2]!==y||e[3]!==b||e[4]!==g?(v={transform:y,opacity:p,zIndex:g,transitionDuration:"1000ms",pointerEvents:b},e[1]=p,e[2]=y,e[3]=b,e[4]=g,e[5]=v):v=e[5];let x;return e[6]!==o||e[7]!==d||e[8]!==v?(x=l.jsx("div",{"aria-hidden":d,className:m,style:v,children:o}),e[6]=o,e[7]=d,e[8]=v,e[9]=x):x=e[9],x}function ne(t){const e=R.c(7),{showUrl:n}=t,s=n===void 0?!1:n;let o,r,i;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=l.jsx("div",{className:_("size-2.5 rounded-full",C)}),r=l.jsx("div",{className:_("size-2.5 rounded-full",C)}),i=l.jsx("div",{className:_("size-2.5 rounded-full",C)}),e[0]=o,e[1]=r,e[2]=i):(o=e[0],r=e[1],i=e[2]);let a;e[3]!==s?(a=s&&l.jsx("div",{className:_("ml-3 h-3.5 max-w-[220px] flex-1 rounded-sm",j)}),e[3]=s,e[4]=a):a=e[4];let c;return e[5]!==a?(c=l.jsxs("div",{className:"flex h-7 shrink-0 items-center gap-1.5 px-3",children:[o,r,i,a]}),e[5]=a,e[6]=c):c=e[6],c}function Xt(){const t=R.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=l.jsx(ne,{}),t[0]=e):e=t[0];let n;return t[1]===Symbol.for("react.memo_cache_sentinel")?(n=l.jsxs("div",{className:"flex h-full flex-col",children:[e,l.jsx("div",{className:"flex flex-1 px-8 py-5",children:l.jsx("div",{className:"grid h-full w-full grid-cols-8 grid-rows-6 gap-2",children:Ut.map(qt)})})]}),t[1]=n):n=t[1],n}function qt(t,e){if(e===Ie)return l.jsx("div",{className:"rounded-md bg-chart-1/[0.55]",style:{animation:"vm-breathe 2.4s ease-in-out infinite"}},e);const n=t;return l.jsx("div",{className:_("relative rounded-md",C),children:l.jsx("div",{className:"absolute inset-0 rounded-md bg-chart-1/40 opacity-0",style:{animation:`vm-rack-scan ${Me}s ease-in-out infinite`,animationDelay:`${n}s`}})},e)}function Wt(){const t=R.c(5);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=l.jsx(ne,{}),t[0]=e):e=t[0];let n;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=l.jsx("div",{className:_("w-[18%] rounded-md",j),style:{animation:"vm-breathe 3s ease-in-out infinite"}}),t[1]=n):n=t[1];let s;t[2]===Symbol.for("react.memo_cache_sentinel")?(s=l.jsx("div",{className:"h-[42%] shrink-0 rounded-md bg-chart-3/[0.12]",style:{animation:"vm-breathe 3s ease-in-out 0.4s infinite"}}),t[2]=s):s=t[2];let o;t[3]===Symbol.for("react.memo_cache_sentinel")?(o=l.jsx("div",{className:"col-span-3 rounded-md bg-chart-3/[0.12]",style:{animation:"vm-breathe 3s ease-in-out 0.8s infinite"}}),t[3]=o):o=t[3];let r;return t[4]===Symbol.for("react.memo_cache_sentinel")?(r=l.jsxs("div",{className:"flex h-full flex-col",children:[e,l.jsxs("div",{className:"flex min-h-0 flex-1 gap-1.5 p-3",children:[n,l.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5",children:[s,l.jsxs("div",{className:"grid min-h-0 flex-1 grid-cols-5 gap-1.5",children:[o,l.jsxs("div",{className:"col-span-2 grid grid-rows-2 gap-1.5",children:[l.jsx("div",{className:_("rounded-md",j),style:{animation:"vm-breathe 3s ease-in-out 1.2s infinite"}}),l.jsx("div",{className:_("rounded-md",j),style:{animation:"vm-breathe 3s ease-in-out 1.6s infinite"}})]})]})]})]})]}),t[4]=r):r=t[4],r}function Qt(){const t=R.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=l.jsx(ne,{}),t[0]=e):e=t[0];let n;return t[1]===Symbol.for("react.memo_cache_sentinel")?(n=l.jsxs("div",{className:"flex h-full flex-col",children:[e,l.jsx("div",{className:"relative flex flex-1 items-center justify-center px-8 py-5",children:l.jsx("div",{className:"grid w-full gap-2",style:{gridTemplateColumns:"repeat(7, minmax(0, 1fr))"},children:zt.map(Jt)})})]}),t[1]=n):n=t[1],n}function Jt(t,e){return l.jsx("div",{className:_("aspect-square rounded-md",Ht[e]?"bg-chart-2/70":C),style:{animation:`vm-pulse-soft 2.2s ease-in-out ${t}s infinite`}},e)}function Zt(){const t=R.c(11);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=l.jsx(ne,{showUrl:!0}),t[0]=e):e=t[0];let n,s,o,r,i;t[1]===Symbol.for("react.memo_cache_sentinel")?(n=l.jsx("div",{className:"mb-2 h-5 rounded-md bg-chart-1/[0.10]"}),s=l.jsx("div",{className:_("h-1.5 w-[70%] rounded-sm",C)}),o=l.jsx("div",{className:_("h-1.5 w-[55%] rounded-sm",C)}),r=l.jsx("div",{className:_("h-1.5 w-[80%] rounded-sm",C)}),i=l.jsx("div",{className:_("h-1.5 w-[50%] rounded-sm",C)}),t[1]=n,t[2]=s,t[3]=o,t[4]=r,t[5]=i):(n=t[1],s=t[2],o=t[3],r=t[4],i=t[5]);let a;t[6]===Symbol.for("react.memo_cache_sentinel")?(a=l.jsxs("div",{className:"flex w-[18%] shrink-0 flex-col gap-1.5 bg-chart-1/[0.05] p-2.5",children:[n,s,o,r,i,l.jsx("div",{className:"mt-auto",children:l.jsx("div",{className:_("h-4 rounded-md",C)})})]}),t[6]=a):a=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=l.jsx("div",{className:"relative h-[42%] shrink-0 overflow-hidden bg-chart-1/[0.10]",children:l.jsxs("div",{className:"absolute right-3 bottom-3 left-3 space-y-1.5",children:[l.jsx("div",{className:"h-3 w-[35%] rounded-sm bg-chart-1/[0.15]"}),l.jsx("div",{className:_("h-1.5 w-[55%] rounded-sm",j)})]})}),t[7]=c):c=t[7];let f;t[8]===Symbol.for("react.memo_cache_sentinel")?(f=l.jsxs("div",{className:"flex shrink-0 gap-1.5",children:[l.jsx("div",{className:"h-4 w-12 rounded-full bg-chart-1/[0.12]"}),l.jsx("div",{className:_("h-4 w-10 rounded-full",j)}),l.jsx("div",{className:_("h-4 w-14 rounded-full",j)})]}),t[8]=f):f=t[8];let p;t[9]===Symbol.for("react.memo_cache_sentinel")?(p=l.jsxs("div",{className:_("col-span-3 flex flex-col justify-end gap-1 rounded-md p-2",j),children:[l.jsx("div",{className:_("h-1.5 w-[50%] rounded-sm",C)}),l.jsx("div",{className:_("h-1 w-[75%] rounded-sm",C)})]}),t[9]=p):p=t[9];let g;return t[10]===Symbol.for("react.memo_cache_sentinel")?(g=l.jsxs("div",{className:"flex h-full flex-col",children:[e,l.jsxs("div",{className:"flex min-h-0 flex-1",children:[a,l.jsxs("div",{className:"flex min-w-0 flex-1 flex-col",children:[c,l.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-2.5 p-3",children:[f,l.jsxs("div",{className:"grid min-h-0 flex-1 grid-cols-5 gap-2",children:[p,l.jsxs("div",{className:"col-span-2 grid grid-rows-2 gap-2",children:[l.jsx("div",{className:_("rounded-md",j)}),l.jsx("div",{className:_("rounded-md",j)})]})]})]})]})]})]}),t[10]=g):g=t[10],g}function Is(t){const e=R.c(52),n=Re();if(t.kind==="starting"){let m;return e[0]!==t.claimPhase||e[1]!==t.progress?(m=l.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background p-6",children:l.jsx(Yt,{progress:t.progress,claimPhase:t.claimPhase})}),e[0]=t.claimPhase,e[1]=t.progress,e[2]=m):m=e[2],m}if(t.kind==="errored"){const m=t.error.code===Ae.githubNotAuthenticated,y=t.error.code===Ae.githubConnectionMissing;let b;e[3]===Symbol.for("react.memo_cache_sentinel")?(b=l.jsx(vt,{className:"size-12 text-destructive"}),e[3]=b):b=e[3];let v;e[4]!==n?(v=n("sandbox.stateCard.erroredHeadline"),e[4]=n,e[5]=v):v=e[5];let x;e[6]!==v?(x=l.jsx("h3",{className:"text-lg font-medium",children:v}),e[6]=v,e[7]=x):x=e[7];let T;e[8]!==y||e[9]!==m||e[10]!==t.error.message||e[11]!==n?(T=y?n("sandbox.stateCard.githubConnectionMissingMessage"):m?n("sandbox.stateCard.githubNotAuthenticatedMessage"):t.error.message,e[8]=y,e[9]=m,e[10]=t.error.message,e[11]=n,e[12]=T):T=e[12];let S;e[13]!==T?(S=l.jsx("p",{className:"max-w-sm text-sm text-muted-foreground",children:T}),e[13]=T,e[14]=S):S=e[14];let A;e[15]!==y||e[16]!==m||e[17]!==t.connectionsHref||e[18]!==n?(A=(m||y)&&t.connectionsHref&&l.jsx(le,{asChild:!0,children:l.jsx("a",{href:t.connectionsHref,children:n(y?"sandbox.stateCard.linkRepoAgain":"sandbox.stateCard.reconnectGithub")})}),e[15]=y,e[16]=m,e[17]=t.connectionsHref,e[18]=n,e[19]=A):A=e[19];const L=t.onRetry;let w;e[20]===Symbol.for("react.memo_cache_sentinel")?(w=l.jsx(xt,{className:"size-4"}),e[20]=w):w=e[20];let I;e[21]!==n?(I=n("sandbox.stateCard.retry"),e[21]=n,e[22]=I):I=e[22];let M;e[23]!==t.onRetry||e[24]!==I?(M=l.jsxs(le,{variant:"outline",onClick:L,children:[w," ",I]}),e[23]=t.onRetry,e[24]=I,e[25]=M):M=e[25];let $;e[26]!==A||e[27]!==M?($=l.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[A,M]}),e[26]=A,e[27]=M,e[28]=$):$=e[28];let X;return e[29]!==$||e[30]!==x||e[31]!==S?(X=l.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background p-6",children:l.jsxs("div",{className:"flex w-full max-w-md flex-col items-center gap-4 text-center",children:[b,x,S,$]})}),e[29]=$,e[30]=x,e[31]=S,e[32]=X):X=e[32],X}let s;e[33]===Symbol.for("react.memo_cache_sentinel")?(s=l.jsx(Et,{className:"size-12 text-muted-foreground"}),e[33]=s):s=e[33];let o;e[34]!==n?(o=n("sandbox.stateCard.suspendedHeadline"),e[34]=n,e[35]=o):o=e[35];let r;e[36]!==o?(r=l.jsx("h3",{className:"text-lg font-medium",children:o}),e[36]=o,e[37]=r):r=e[37];let i;e[38]!==n?(i=n("sandbox.stateCard.resumeToContinue"),e[38]=n,e[39]=i):i=e[39];let a;e[40]!==i?(a=l.jsx("p",{className:"max-w-sm text-sm text-muted-foreground",children:i}),e[40]=i,e[41]=a):a=e[41];const c=t.onResume;let f;e[42]===Symbol.for("react.memo_cache_sentinel")?(f=l.jsx(jt,{className:"size-4"}),e[42]=f):f=e[42];let p;e[43]!==n?(p=n("sandbox.stateCard.resume"),e[43]=n,e[44]=p):p=e[44];let g;e[45]!==t.onResume||e[46]!==p?(g=l.jsxs(le,{onClick:c,className:"mt-2",children:[f," ",p]}),e[45]=t.onResume,e[46]=p,e[47]=g):g=e[47];let d;return e[48]!==r||e[49]!==a||e[50]!==g?(d=l.jsx("div",{className:"flex h-full w-full items-center justify-center bg-background p-6",children:l.jsxs("div",{className:"flex w-full max-w-md flex-col items-center gap-4 text-center",children:[s,r,a,g]})}),e[48]=r,e[49]=a,e[50]=g,e[51]=d):d=e[51],d}function Ms(t){switch(t.lifecycle.phase){case"cloning":case"checking-out":return{step:"cloning",status:"doing"};case"clone-failed":return{step:"cloning",status:"failed"};case"installing":return{step:"install",status:"doing"};case"install-failed":return{step:"install",status:"failed"};case"starting":return{step:"dev",status:"doing"};case"running":return{step:"dev",status:"done"};case"start-failed":return{step:"dev",status:"failed"};case"crashed":return{step:"dev",status:"failed"};case"idle":return t.claimPhase&&t.claimPhase.kind!=="ready"&&t.claimPhase.kind!=="failed"?{step:"provision",status:"doing"}:{step:"cloning",status:"doing"}}}const en="website/sections/Rendering/Lazy.tsx";function J(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function be(t){if(!J(t))return!1;const e=t.__resolveType;return typeof e=="string"&&De(e)}function $e(t){return t!=null}function G(t){if(t==null)return t;if(be(t)){const e=t.section;return e==null?null:J(e)?e:{}}return J(t)?t:void 0}function tn(t,e){return t===null?null:be(e)?{...e,section:t}:t}function $s(t){return{__resolveType:t}}function Ks(t,e){if(!$e(e))return null;if(t){const n=G(e)??{};return{__resolveType:en,section:n}}return be(e)?G(e)??null:J(e)?e:null}const B="website/sections/Seo/SeoV2.tsx",nn=["title","titleTemplate","description","descriptionTemplate","image","favicon","type","noIndexing"];function K(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function sn(t,e){return typeof t.__resolveType=="string"&&V(t.__resolveType,e)?!0:nn.some(n=>n in t)}function Fs(t,e){return Object.entries(t).filter(([n,s])=>{if(!K(s))return!1;const o=s.__resolveType;return Dt(n,s)||typeof o=="string"&&V(o,e)}).map(([n])=>n)}function Ke(t,e){for(const[n,s]of Object.entries(t)){if(!K(s)||Se(s))continue;const o=s,r=o.__resolveType;if(typeof r=="string"&&Rt(r,e))continue;const i=o.seo;if(K(i)){const a=i;if(sn(a,e))return{blockKey:n,kind:"nested",seoData:a,blockData:o,seoResolveType:e?un(e,o,a):typeof a.__resolveType=="string"&&V(a.__resolveType)?a.__resolveType:B}}}for(const[n,s]of Object.entries(t)){if(!K(s)||Se(s))continue;const o=s;if(typeof o.__resolveType=="string"&&V(o.__resolveType,e))return{blockKey:n,kind:"block",seoData:o,blockData:o,seoResolveType:o.__resolveType}}return null}function on(t,e){return t.kind==="block"?e:{...t.blockData,seo:e}}function Us(t,e,n){if(e.kind==="site"){const c=Ke(t,n);return c?{blockKey:c.blockKey,seoData:c.seoData,seoResolveType:c.seoResolveType,siteKind:c.kind,seoTypeOptions:n?Ve(n,c.blockData):void 0,build:f=>on(c,f)}:null}const s=t[e.pageKey];if(!K(s))return null;const o=s,r=o.seo,i=G(r),a=i&&K(i)?i:void 0;return{blockKey:e.pageKey,seoData:a,rawSeoData:r,seoResolveType:n?ln(n,a):typeof a?.__resolveType=="string"?a.__resolveType:B,seoTypeOptions:n?se(n):void 0,build:c=>({...o,seo:c===null?null:tn(c,r)})}}const rn="General";function _e(t){return/\/Seo(V\d+)?\.tsx$/i.test(t)||t.includes("/sections/Seo")}function V(t,e){return _e(t)?!0:!e||!te(e)?!1:se(e).some(n=>n.resolveType===t)}function Gs(t,e,n){const s=new Set;let o=t;for(let r=0;r<32;r++){if(s.has(o))return null;if(s.add(o),!Object.hasOwn(e,o))return ye(o,n)?o:null;const i=e[o];if(!i||typeof i!="object"||Array.isArray(i))return null;const a=i.__resolveType;if(typeof a!="string"||!a)return null;o=a}return null}function Fe(t,e){return t===B?rn:e}function Ue(t,e){const n=Lt(t),s=te(e),o=new Set,r=[];for(const i of n){if(s){if(De(i.resolveType))continue}else if(!_e(i.resolveType))continue;St(i.resolveType,e)||o.has(i.resolveType)||(o.add(i.resolveType),r.push({resolveType:i.resolveType,title:Fe(i.resolveType,i.title),description:i.description}))}return r}function se(t){const e=Bt(t),n=ye(e,t),s=Ue(n?.properties?.seo,t);return s.length>0?s:te(t)?[]:an(t)}function an(t){const e=t.manifest?.blocks??{},n=[];for(const[s,o]of Object.entries(e))if(s.includes("sections"))for(const r of Object.keys(o)){if(!_e(r))continue;const i=r.split("/").pop()?.replace(/\.tsx?$/,"")??r;n.push({resolveType:r,title:Fe(r,i)})}return n}function Ge(t){const e=se(t),n=e.find(o=>o.resolveType===B);if(n)return n.resolveType;const s=te(t)?"":B;return e[0]?.resolveType??s}function Ve(t,e){const n=e.__resolveType;if(typeof n=="string"){const s=ye(n,t),o=Ue(s?.properties?.seo,t);if(o.length>0)return o}return se(t)}function cn(t,e){const n=Ve(t,e),s=n.find(o=>o.resolveType===B);return s?s.resolveType:n[0]?.resolveType??Ge(t)}function ln(t,e){const n=e?.__resolveType;return typeof n=="string"&&n.length>0?n:Ge(t)}function un(t,e,n){const s=n.__resolveType;return typeof s=="string"&&V(s,t)?s:cn(t,e)}const fn=["draft","active","paused","finished"],dn=["launch","seasonal","trend","seo_gap","inventory","partnership","reputation"],pn=["awareness","education","conversion","retention","repositioning"],mn=["category","collection"],gn=3,Vs=12,hn=60,yn=25,bn=8e3,_n=2e3,vn="vtex/loaders/intelligentSearch/productList.ts";function P(t){return t&&typeof t=="object"&&!Array.isArray(t)?t:null}function ue(t){return typeof t=="string"||typeof t=="number"?String(t):""}function fe(t){const e=P(t);return!!e&&typeof e.__resolveType=="string"&&"productId"in e}function zs(t){if(typeof t=="string")return t?[t]:[];if(Array.isArray(t))return t.every(s=>typeof s=="string")?t:t.map(s=>ue(P(s)?.productId));const e=P(t),n=P(e?.props);return n&&Array.isArray(n.ids)?n.ids.map(ue):e&&"productId"in e?[ue(e.productId)]:[]}function xn(t){const e=P(t)??{};return typeof e.__resolveType=="string"?e.__resolveType:vn}function Sn(t,e){if(typeof t=="string")return e[0]??"";if(Array.isArray(t)){if(t.length>0&&t.every(i=>typeof i=="string"))return e;const r=t.find(fe);if(r)return e.map((i,a)=>{const c=P(t[a]);return{...fe(c)?c:{__resolveType:r.__resolveType},productId:i}})}const n=P(t);if(fe(n)&&!P(n.props)?.ids)return{...n,productId:e[0]??""};const s=P(n?.props)??{},o=xn(t);return{...n??{},__resolveType:o,props:{...s,ids:e,simulationBehavior:s.simulationBehavior??"default"}}}const ve=["type","title","description","canonical","noIndexing","favicon","image","themeColor"],ze=["jsonLD","omitVariants","title","description","noIndexing","ignoreStructuredData"],He=["jsonLD","title","description","noIndexing","configJsonLD"];function An(t){return t===B||/\/Seo\/SeoV2\.tsx$/i.test(t)?"general":/\/Seo\/SeoPDP/i.test(t)?"pdp":/\/Seo\/SeoPLP/i.test(t)?"plp":null}function Cn(t){const e=t.toLowerCase();return/pdp|product/.test(e)?"pdp":/plp|listing|categor|search/.test(e)?"plp":null}function de(t,e){const n=Object.keys(t.properties??{}).filter(s=>s!=="__resolveType");return n.length>0&&n.every(s=>e.includes(s))}function Ye(t,e,n=!1){const s=An(t);if(s)return s;if(!n||t.includes("/"))return"full";const o=Cn(t);return e?o==="pdp"&&de(e,ze)?"pdp":o==="plp"&&de(e,He)?"plp":de(e,ve)?"general":"full":o??"full"}function kn(t){switch(t){case"general":return ve;case"pdp":return ze;case"plp":return He;default:return null}}function Hs(t,e,n=!1){const s=kn(Ye(e,t,n));if(!s||!t.properties)return t;const o={};for(const r of s){const i=t.properties[r];i&&(o[r]=i)}return{...t,properties:o}}function Ys(){return ve.filter(t=>t!=="type")}const Nn=["title","titleTemplate","description","descriptionTemplate"];function Xe(t){return typeof t=="string"?t.trim():""}function ke(t){if(!$e(t))return"";const e=G(t);if(!e)return"";const n=[];for(const s of Nn){const o=Xe(e[s]);o&&n.push(`${s}: ${o}`)}return n.join(`
|
|
16
|
+
`).slice(0,_n)}function qe(t,e){const n=t[e.key],s=n&&typeof n=="object"?G(n.seo):null,o=Xe(s?.__resolveType);if(o){const r=Ye(o);if(r==="pdp"||r==="plp")return"commerce"}return It(e.path).length>0?"commerce":e.path==="/"?"home":"institutional"}function Tn(t,e){const n=[],s=new Set;let o=bn;const r=(f,p)=>{!p||s.has(p)||n.length>=yn||p.length>o||(s.add(p),n.push({key:f,content:p}),o-=p.length)},i=Ke(t);i&&r("site",ke(i.seoData));const a={home:[],institutional:[],commerce:[]};for(const f of e)a[qe(t,f)].push(f);const c=[...a.home,...a.institutional,...a.commerce.slice(0,2)];for(const f of c){const p=t[f.key];!p||typeof p!="object"||r(f.path,ke(p.seo))}return n}const pe={post:"blog/loaders/Blogpost.ts",author:"blog/loaders/Author.ts",category:"blog/loaders/Category.ts"},We=["posts","authors","categories"],Xs={posts:"post",authors:"author",categories:"category"};function qs(t){return We.includes(t)}const oe={posts:"post",authors:"author",categories:"category"},Qe={posts:pe.post,authors:pe.author,categories:pe.category},En=Object.fromEntries(Object.entries(Qe).map(([t,e])=>[e,t]));function Je(t){return typeof t=="string"?En[t]??null:null}function Ws(t){return Je(t)!==null}function h(t){return t&&typeof t=="object"&&!Array.isArray(t)?t:null}function u(t){return typeof t=="string"?t:""}function jn(t,e){switch(t){case"posts":return{label:u(e.title)||"Untitled post",subtitle:u(e.slug),missing:re(e)};case"authors":return{label:u(e.name)||"Unnamed author",subtitle:u(e.email),missing:[]};case"categories":return{label:u(e.name)||"Unnamed category",subtitle:u(e.slug),slug:u(e.slug),parentSlug:u(e.parentSlug),missing:Mn(e)};default:{const n=t;throw new Error(`Unhandled blog kind: ${String(n)}`)}}}function wn(t){const e={posts:[],authors:[],categories:[]},n=[];for(const[s,o]of Object.entries(t)){const r=h(o);if(!r)continue;const i=Je(r.__resolveType);if(!i)continue;const a=h(r[oe[i]])??{},c={key:s,kind:i,...jn(i,a)};e[i].push(c),n.push({entry:c,key:ee(u(a[i==="posts"?"title":"name"]))})}Pn(n);for(const s of We)e[s].sort((o,r)=>o.label.localeCompare(r.label));return e}function Pn(t){const e=new Map;for(const{entry:n,key:s}of t){if(!s)continue;const o=`${n.kind}:${s}`;e.set(o,(e.get(o)??0)+1)}for(const{entry:n,key:s}of t)s&&(e.get(`${n.kind}:${s}`)??0)>1&&(n.duplicateName=!0)}function On(t,e){return wn(t)[e]}function D(t,e){return On(t,e).map(n=>({key:n.key,payload:Ze(h(t[n.key])??void 0,e)}))}const me=Object.freeze({});function Ze(t,e){return t?h(t[oe[e]])??me:me}function et(t,e,n){return{name:t,__resolveType:Qe[e],[oe[e]]:n}}function Qs({records:t,selected:e,valueField:n,toRef:s}){const o=Array.isArray(e)?e:[],r=d=>typeof d=="string"?d:u(h(d)?.[n]),i=d=>typeof d=="string"?d:u(h(d)?.name),a=d=>{const m=r(d),y=m?t.find(({payload:v})=>u(v[n])===m):void 0;if(y)return y;const b=i(d);return b?t.find(({payload:v})=>u(v.name)===b):void 0},c=t.map(({key:d,payload:m})=>({value:d,label:u(m.name)||u(m[n])||d})),f=new Map,p=[];return o.forEach((d,m)=>{const y=a(d);if(y){p.includes(y.key)||p.push(y.key);return}const b=`unresolved:${m}`;f.set(b,d),p.push(b),c.push({value:b,label:i(d)||r(d)||"Unknown"})}),{options:c,selectedValues:p,refsForValues:d=>d.map(m=>{const y=t.find(b=>b.key===m);return y?s(y.payload):f.get(m)}).filter(m=>m!==void 0)}}function Js(t){return D(t,"authors").map(({payload:e})=>({...e,name:u(e.name),email:u(e.email)})).filter(e=>e.email)}function N(t){return Array.isArray(t)?t:[]}function O(t){if(typeof t=="string")return t;const e=h(t);return e?u(e.slug):""}function tt(t){if(typeof t=="string")return t;const e=h(t);return e?u(e.email):""}const Rn={title:"sandbox.blogField.title",slug:"sandbox.blogField.slug",category:"sandbox.blogField.category",excerpt:"sandbox.blogField.excerpt",image:"sandbox.blogField.image",name:"sandbox.blogField.name"};function Zs(t,e){return t.map(n=>e(Rn[n])).join(", ")}function re(t){const e=[];return u(t.title).trim()||e.push("title"),u(t.slug).trim()||e.push("slug"),N(t.categories).map(O).filter(Boolean).length===0&&e.push("category"),u(t.excerpt).trim()||e.push("excerpt"),u(t.image).trim()||e.push("image"),e}const eo=["draft","generating","awaiting_review","scheduled","published","archived"],Dn=8;function Y(t){switch(u(t.status)){case"draft":case"idea":return"draft";case"generating":return"generating";case"awaiting_review":case"in_review":return"awaiting_review";case"scheduled":return"scheduled";case"published":return"published";case"archived":return"archived";case"":return"published";default:return"awaiting_review"}}function to(t){return Y(t)==="archived"}function no(t,e){return e!=="published"&&e!=="scheduled"||Y(t)===e?!1:re(t).length>0}function Bn(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+1,Dn).toISOString()}function nt(t,e,n){if(e!=="scheduled")return{...t,status:e,scheduledDatetime:""};const s=u(t.scheduledDatetime);return{...t,status:"scheduled",scheduledDatetime:Number.isNaN(new Date(s).getTime())?Bn(n):s}}function Ln(t,e=gt(t)){return D(t,"posts").map(({key:n,payload:s})=>({key:n,duplicateTitle:e.has(n),title:u(s.title)||"Untitled post",slug:u(s.slug),date:u(s.date),scheduledDatetime:u(s.scheduledDatetime),categorySlugs:N(s.categories).map(O).filter(Boolean),authorEmails:N(s.authors).map(tt).filter(Boolean),missing:re(s),status:Y(s),form:"live"}))}function so(){return F(12)}function oo(t){const e=h(t.planning)??{},n=h(e.format);return{campaignKey:u(e.campaignKey)||void 0,format:n?{name:u(n.name),value:u(n.value)}:void 0,brief:u(e.brief)||void 0}}function st(t=!1){return t?{content:""}:{sections:[]}}function ro(t){return{title:t.title,slug:"",excerpt:"",date:t.now.toISOString().slice(0,10),image:"",alt:"",authors:[],categories:[],...st(t.legacyContent),status:"draft",planning:t.planning??{}}}function ot(t,e){return{name:t,[oe.posts]:e}}function io(t,e){return Be(t)?ot(t,e):et(t,"posts",e)}function rt(t){const e=[];for(const[n,s]of Object.entries(t)){if(!Be(n))continue;const o=h(s);o&&e.push({key:n,payload:Ze(o,"posts")})}return e}function In(t){return[...rt(t),...D(t,"posts")]}function ao(t){const e=gt(t);return[...rt(t).map(({key:s,payload:o})=>({key:s,duplicateTitle:e.has(s),title:u(o.title)||"Untitled post",slug:u(o.slug),date:u(o.date),scheduledDatetime:u(o.scheduledDatetime),categorySlugs:N(o.categories).map(O).filter(Boolean),authorEmails:N(o.authors).map(tt).filter(Boolean),missing:re(o),status:Y(o),form:"planning"})),...Ln(t,e)]}function co(t,e,n){const s=nt(t.payload,e,n),o=At(t.key),r=e==="scheduled"||e==="published"?"live":"planning",i=r==="live"?Ct(o):kt(o),a=r==="live"?et(i,"posts",s):ot(i,s);return{writes:{[i]:a},deletes:i===t.key?[]:[t.key]}}function lo(t,e,n){const s=N(t.categories);if(!s.some(c=>O(c)===e))return t;let o=!1;const r=s.map(c=>{const f=O(c);if(f!==e&&f!==n.slug)return c;const p=h(c);return p&&u(p.slug)===n.slug&&u(p.name)===n.name?c:(o=!0,{name:n.name,slug:n.slug})});if(!o){const c=s.map(O).filter(Boolean);if(new Set(c).size===c.length)return t}const i=new Set,a=r.filter(c=>{const f=O(c);return f?i.has(f)?!1:(i.add(f),!0):!0});return{...t,categories:a}}function Mn(t){const e=[];return u(t.name).trim()||e.push("name"),u(t.slug).trim()||e.push("slug"),e}function uo(t,e){const n=N(t.categories);return n.some(s=>O(s)===e)?{...t,categories:n.filter(s=>O(s)!==e)}:t}function fo(t,e,n){return u(t.parentSlug)!==e?t:{...t,parentSlug:n}}function po(t){const e=u(t.status),n=e==="idea"||e==="in_review"?{status:Y(t)}:{};return{...t,...n,dateModified:new Date().toISOString()}}function F(t){const e=new Uint8Array(Math.ceil(t/2));return crypto.getRandomValues(e),Array.from(e,n=>n.toString(16).padStart(2,"0")).join("").slice(0,t)}function mo(t,e){const n=`collections/blog/${e}/${F(12)}`;if(!Object.hasOwn(t,n))return n;throw new Error("Could not generate a unique blog block key")}function go(t,{legacyContent:e=!1}={}){switch(t){case"posts":return{title:"Untitled post",excerpt:"",slug:`untitled-${F(8)}`,date:new Date().toISOString().slice(0,10),image:"",alt:"",authors:[],categories:[],...st(e)};case"authors":return{name:"New author",type:"Person",email:"",jobTitle:"",company:"",url:"",avatar:""};case"categories":return{name:"New category",slug:`category-${F(8)}`,description:"",sections:[]};default:{const n=t;throw new Error(`Unhandled blog kind: ${String(n)}`)}}}const $n={Paragraph:{title:"Paragraph",description:"Rich text content",iconName:"Pilcrow01"},Heading:{title:"Heading",description:"Section title (H1–H6)",iconName:"HeadingSquare"},Quote:{title:"Quote",description:"Pull quote",iconName:"MessageTextSquare02"},Code:{title:"Code",description:"Code block with syntax highlighting",iconName:"Code02"},List:{title:"List",description:"Bulleted or numbered list",iconName:"List"},BlockImage:{title:"Image",description:"Image with optional caption",iconName:"Image01"},Video:{title:"Video",description:"Embedded video",iconName:"PlayCircle"},Divider:{title:"Divider",description:"Horizontal divider",iconName:"Divider"},Cta:{title:"Call to action",description:"Button linking to a URL",iconName:"CursorClick01"},Callout:{title:"Callout",description:"Highlighted note, tip or warning",iconName:"Lightbulb02"},Stat:{title:"Stat",description:"Single key metric",iconName:"BarChartSquareUp"},StatGroup:{title:"Stat group",description:"Row of metrics",iconName:"BarChartSquare02"},CardGroup:{title:"Card group",description:"Grid of cards",iconName:"LayoutGrid01"},Checklist:{title:"Checklist",description:"List of check items",iconName:"CheckSquare"},Steps:{title:"Steps",description:"Step-by-step guide",iconName:"LayersThree01"},Comparison:{title:"Comparison",description:"Side-by-side comparison",iconName:"Columns03"},Table:{title:"Table",description:"Rows and columns of structured data",iconName:"Table"},ProductCard:{title:"Product card",description:"Single product",iconName:"Tag01"},ProductShelf:{title:"Product shelf",description:"Row of products",iconName:"ShoppingBag01"}},Ne="Box";function it(t){return t.startsWith("blog/")?"app":"site"}function Kn(t){return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:")||t.startsWith("/")}function U(...t){for(const e of t)if(e!==void 0)return e}function Te(t){if(t&&!(t.includes("/")||/\.(tsx?|jsx?)$/.test(t)))return t}function Fn(t){const e=t.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[-_]+/g," ").trim();return e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():t}function Un(t,e){const n=$t(t,e),s=ie(t),o=$n[s],r=it(t),i=Te(n.title),a=Te(n.description),c=(r==="site"?U(i,o?.title):U(o?.title,i))??Fn(s),f=r==="site"?U(a,o?.description):U(o?.description,a),p=r==="site"?n.icon:void 0,g=p&&Kn(p)?p:void 0,d=g!==void 0?o?.iconName??Ne:U(p,o?.iconName)??Ne;return{resolveType:t,title:c,description:f,iconName:d,iconUrl:g,source:r}}function at(t,{hideDefaults:e=!1,customPaths:n=[]}={}){const s=new Set,o=[],r=t.manifest?.blocks??{};for(const[i,a]of Object.entries(r))for(const c of Object.keys(a))s.has(c)||!(i==="sections"&&ct(c,n)&&!Mt(c,t))&&!Vn(c)||e&&it(c)==="app"||(s.add(c),o.push(Un(c,t)));return o.sort((i,a)=>i.title.localeCompare(a.title))}function ie(t){return(t.split("/").pop()??t).replace(/\.(tsx?|jsx?)$/,"")}const Gn=["blog/sections/blocks/","site/sections/Blog/Post/"];function Vn(t,e=[]){return Gn.some(n=>t.startsWith(n))||ct(t,e)}function ct(t,e){if(e.length===0)return!1;const n=t.toLowerCase();return e.some(s=>n===s||n.startsWith(`${s}/`))}const zn=/\/blog\.tsx?$/;function Hn(t){const e=[];for(const[n,s]of Object.entries(t)){if(n.includes("/")||!s||typeof s!="object"||Array.isArray(s))continue;const o=s;typeof o.__resolveType=="string"&&zn.test(o.__resolveType)&&e.push(o)}return e}const Yn=Nt(Tt());function ho(t){const e=new Set;for(const n of Hn(t)){const s=Yn.safeParse(n.customSectionPaths);if(s.success)for(const o of s.data){const r=o.trim().replace(/^\/+|\/+$/g,"").toLowerCase();r&&e.add(r)}}return[...e]}const Xn="blog-manager-brand",qn="blog-manager-context",lt=["companyName","description","language","storeUrl","targetAudience","values","competitors","keywords","commercialPolicies","specialDates"],ut=["tone","dos","avoid","categories","vocabulary","voiceExamples"];function yo(t){return h(t)??me}function Z(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function bo(t,e,n){const s=Z(t,lt);if(h(n))return s;const o=h(e)??{};return{...Z(o,ut),...s}}function Wn(t,e){const n=h(t)??{},s=h(e),o=Z(n,lt),r=s??Z(n,ut);return{brand:o,context:r,merged:{...o,...r}}}function _o(t){return Wn(t[Xn],t[qn])}function vo(t){return{companyName:u(t.companyName),description:u(t.description),language:u(t.language),storeUrl:Ot(u(t.storeUrl))??"",tone:u(t.tone),targetAudience:u(t.targetAudience),values:E(k(t.values)),competitors:E(k(t.competitors)),specialDates:E(k(t.specialDates)),dos:E(k(t.dos)),avoid:E(k(t.avoid)),keywords:H(z(t.keywords)),commercialPolicies:E(k(t.commercialPolicies)),vocabulary:E(k(t.vocabulary)),voiceExamples:he(ge(t.voiceExamples))}}function ge(t){if(!Array.isArray(t))return[];const e=[];for(const n of t){if(typeof n=="string"){n.trim()&&e.push({text:n,sounds:!0});continue}const s=h(n);if(!s)continue;const o=u(s.text)||u(s.value);e.push({text:o,sounds:s.sounds!==!1})}return e}function he(t){return t.filter(e=>e.text.trim())}function xo(t,e,n){const s=[];for(const o of n.textFields){const r=u(e[o]).trim();r&&(n.mode==="empty"&&u(t[o]).trim()||(t[o]=r,s.push(o)))}for(const o of n.ruleFields){const r=E(k(e[o]));r.length!==0&&(n.mode==="empty"&&E(k(t[o])).length>0||(t[o]=r,s.push(o)))}for(const o of n.termFields??[]){const r=H(z(e[o]));r.length!==0&&(n.mode==="empty"&&H(z(t[o])).length>0||(t[o]=r,s.push(o)))}for(const o of n.exampleFields??[]){const r=he(ge(e[o]));r.length!==0&&(n.mode==="empty"&&he(ge(t[o])).length>0||(t[o]=r,s.push(o)))}return s}function z(t){if(!Array.isArray(t))return[];const e=[];for(const n of t){if(typeof n=="string"){e.push(n);continue}const s=h(n);s&&e.push(u(s.name)||u(s.value))}return e}function H(t){return t.filter(e=>e.trim())}function k(t){if(!Array.isArray(t))return[];const e=[];for(const n of t){if(typeof n=="string"){n.trim()&&e.push({name:n,value:""});continue}const s=h(n);s&&e.push({name:u(s.name),value:u(s.value)})}return e}function E(t){return t.filter(e=>e.name.trim()||e.value.trim())}const Qn=6e4,Jn=4e3;function Zn(t){const e=[],n=new Set,s=(o,r)=>{if(typeof o=="string"){if(!o.includes(" ")||o.length<4||/^(https?:)?\/\//.test(o)||/^data:/.test(o))return;const i=`${r}: ${o.trim()}`;if(n.has(i))return;n.add(i),e.push(i);return}if(Array.isArray(o)){for(const i of o)s(i,r);return}if(o&&typeof o=="object")for(const[i,a]of Object.entries(o))i!=="__resolveType"&&s(a,i)};return s(t,"block"),e.join(`
|
|
17
|
+
`)}function So(t,e){const n=new Map,s=d=>{const m=n.get(d);if(m!==void 0)return m;const y=Zn(t[d]).slice(0,Jn);return n.set(d,y),y},o=(d,m)=>s(m).length-s(d).length,r=Tn(t,e),i=r.reduce((d,m)=>d+m.content.length,0),a={home:[],institutional:[],commerce:[]};for(const d of e)a[qe(t,d)].push(d.key);const c=[...D(t,"posts").map(d=>d.key).sort(o),...D(t,"categories").map(d=>d.key),...a.home,...a.institutional.sort(o),...a.commerce.sort(o)],f=[],p=new Set;let g=Math.max(0,Qn-i);for(const d of c){if(f.length>=hn)break;if(p.has(d)||!t[d])continue;p.add(d);const m=s(d);if(m.length>g)break;f.push({key:d,content:m}),g-=m.length}return{blocks:f,seo:r}}const ft="blog-manager/campaigns/";function Ao(){return`${ft}${crypto.randomUUID()}`}function W(t,e,n){return t.find(s=>s===e)??n}function Ee(t){return u(t)||null}function es(t){const e=[];for(const n of N(t)){const s=h(n);s&&e.push({kind:W(mn,s.kind,"category"),id:u(s.id),name:u(s.name),url:u(s.url),description:u(s.description)})}return e}function ts(t){const e=N(t.images).map(s=>u(s));return(e.length>0?e:[u(t.image)].filter(Boolean)).slice(0,gn)}function ns(t){const e=[];for(const n of N(t)){const s=h(n);s&&e.push({id:u(s.id),name:u(s.name),url:u(s.url),images:ts(s),category:u(s.category),description:u(s.description)})}return e}function Co(t,e){return{name:t,campaignName:e.name,seedKey:e.seedKey,status:e.status,period:{start:e.period.start??"",end:e.period.end??""},trigger:{type:e.trigger.type,note:e.trigger.note},intent:{objective:e.intent.objective,targets:e.intent.targets,products:e.intent.products,keywords:e.intent.keywords},guardrails:{avoidComplements:e.guardrails.avoidComplements,toneOverrides:e.guardrails.toneOverrides},createdAt:e.createdAt,updatedAt:e.updatedAt}}function ko(t){const e=[];for(const[n,s]of Object.entries(t)){if(!n.startsWith(ft))continue;const o=h(s);if(!o)continue;const r=h(o.period)??{},i=h(o.trigger)??{},a=h(o.intent)??{},c=h(o.guardrails)??{};e.push({key:n,name:u(o.campaignName),seedKey:u(o.seedKey),status:W(fn,o.status,"draft"),period:{start:Ee(r.start),end:Ee(r.end)},trigger:{type:W(dn,i.type,"seasonal"),note:u(i.note)},intent:{objective:W(pn,a.objective,"awareness"),targets:es(a.targets),products:ns(a.products),keywords:H(z(a.keywords))},guardrails:{avoidComplements:k(c.avoidComplements),toneOverrides:u(c.toneOverrides)},createdAt:u(o.createdAt),updatedAt:u(o.updatedAt)})}return e.sort((n,s)=>s.createdAt.localeCompare(n.createdAt)||n.name.localeCompare(s.name))}function No(t){const e=t.toISOString();return{name:"",seedKey:"",status:"draft",period:{start:null,end:null},trigger:{type:"seasonal",note:""},intent:{objective:"awareness",targets:[],products:[],keywords:[]},guardrails:{avoidComplements:[],toneOverrides:""},createdAt:e,updatedAt:e}}const dt="blog-manager/campaign-seeds/";function To(){return`${dt}${crypto.randomUUID()}`}function Eo(t,e){return{name:t,seedName:e.name,keywords:e.keywords,prompt:e.prompt,createdAt:e.createdAt,updatedAt:e.updatedAt}}function jo(t){const e=[];for(const[n,s]of Object.entries(t)){if(!n.startsWith(dt))continue;const o=h(s);o&&e.push({key:n,name:u(o.seedName),keywords:H(z(o.keywords)),prompt:u(o.prompt),createdAt:u(o.createdAt),updatedAt:u(o.updatedAt)})}return e.sort((n,s)=>s.createdAt.localeCompare(n.createdAt)||n.name.localeCompare(s.name))}function wo(t){const e=t.toISOString();return{name:"",keywords:[],prompt:"",createdAt:e,updatedAt:e}}const Po="blog-manager-formats",ss=40;function Oo(t){return D(t,"posts").slice(0,ss).map(({key:e,payload:n})=>({key:e,title:u(n.title),sections:N(n.sections).map(s=>u(h(s)?.__resolveType)).filter(Boolean).map(ie)}))}function os(t,e){return at(t,e).map(n=>({name:ie(n.resolveType),resolveType:n.resolveType,title:n.title,description:n.description}))}function pt(t,e={}){const n=new Set,s=/\[@[^\]]+\]\(([^)\s]+)\)/g;for(const r of t.matchAll(s))r[1]&&n.add(r[1]);const o=/(?:^|[\s([{>])@([A-Za-z][\w-]*)/g;for(const r of t.replace(s," ").matchAll(o)){const i=r[1];i&&n.add(e[i]??i)}return[...n]}function Ro(t,e,n={}){const s=new Set(e);return pt(t,n).filter(o=>!s.has(o))}function Do(t,e){const n=/\[@[^\]]+\]\([^)\s]+\)/g,s=[];let o=0;for(const r of t.matchAll(n)){const i=r.index??0;s.push(je(t.slice(o,i),e),r[0]),o=i+r[0].length}return s.push(je(t.slice(o),e)),s.join("")}function je(t,e){return t.replace(/(^|[\s([{>])@([A-Za-z][\w-]*)/g,(n,s,o)=>{const r=e[o];return r?`${s}[@${o}](${r})`:n})}const rs=["Heading","Paragraph","BlockImage","List","Cta"];function Bo(t){return rs.filter(e=>e in t)}function ee(t){return t.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase().replace(/\s+/g," ").trim()}function Lo(t,e,n,s){const o=ee(s);return o?mt(t,e).some(r=>r.key!==n&&ee(r.name)===o):!1}function mt(t,e){return e!=="posts"?D(t,e).map(({key:n,payload:s})=>({key:n,name:u(s.name)})):In(t).map(({key:n,payload:s})=>({key:n,name:u(s.title)}))}function gt(t){const e=new Map;for(const{key:s,name:o}of mt(t,"posts")){const r=ee(o);if(!r)continue;const i=e.get(r);i?i.push(s):e.set(r,[s])}const n=new Set;for(const s of e.values())if(s.length>1)for(const o of s)n.add(o);return n}const is=["companyName","language","description","tone","targetAudience"];function Io(t){const e=h(t)??{},n=[];for(const s of is)u(e[s]).trim()||n.push(s);return E(k(e.dos)).length===0&&n.push("dos"),E(k(e.avoid)).length===0&&n.push("avoid"),n}function as(t,e){const n=t.required;if(!Array.isArray(n))return;const s=new Set(e&&typeof e=="object"?Object.keys(e):[]),o=n.filter(r=>typeof r=="string"&&s.has(r));return o.length>0?o:void 0}const cs=6,ls=6e3;function us(t){const e=t.schema??{},n=e.$defs??e.definitions;return n&&typeof n=="object"?n:{}}function fs(t,e){for(const n of Object.values(e.manifest?.blocks??{})){const s=n[t];if(s)return s}}function Q(t,e,n){if(Array.isArray(t))return t.map(r=>Q(r,e,n));if(!t||typeof t!="object")return t;const s=t;if(typeof s.$ref=="string"){if(n>=cs)return{};const r=s.$ref.split("/").pop()??"",i=e[r];return i===void 0?{}:Q(i,e,n+1)}const o={};for(const[r,i]of Object.entries(s))o[r]=Q(i,e,n);return o}function ds(t,e){const n=us(e),s=Q(fs(t,e),n,0);if(!s||typeof s!="object")return{};const o=s,r=o.allOf,i=Array.isArray(r)&&r.length===1?r[0]:o;if(!i||typeof i!="object")return{};const{$schema:a,...c}=i,f=we(c);return JSON.stringify(f).length>ls?we(c,!0):f}function we(t,e=!1){const n={...t},s=n.properties;if(s&&typeof s=="object"){const o=Object.fromEntries(Object.entries(s).filter(([r])=>!r.startsWith("__")).map(([r,i])=>[r,e?ht(i):i]));n.properties=o,n.required=as(n,o),n.required||delete n.required}return n}function ht(t){if(!t||typeof t!="object")return t;const e=t,n={};for(const s of["type","description","format","options","enum"])s in e&&(n[s]=e[s]);return Array.isArray(e.anyOf)&&(n.anyOf=e.anyOf.map(ht)),n}function ps(t){if(t==null)return null;if(Array.isArray(t))return"array";const e=typeof t;return e==="number"||e==="boolean"||e==="string"||e==="object"?e:null}function ms(t,e){const n=t.properties;if(!e||!n||typeof n!="object")return t;const s=n;let o=!1;const r={};for(const[i,a]of Object.entries(s)){const c=a&&typeof a=="object"?{...a}:a,f=c?.type,p=ps(e[i]);c&&typeof c=="object"&&p&&typeof f=="string"&&f!==p&&(delete c.type,delete c.enum,o=!0),r[i]=c}return o?{...t,properties:r}:t}const gs={Paragraph:{html:"<p>A dúvida entre 9000 ou 12000 BTUs é a mais comum na hora de escolher.</p>"},Heading:{text:"Antes de escolher: o resumo",level:"h2"},Quote:{quote:"Levei só a mala de bordo e não senti falta de nada.",attribution:"Ana, leitora"},List:{items:`<strong>Tecnologia Inverter:</strong> temperatura mais estável;
|
|
18
|
+
<strong>Gaveta HortiNatura:</strong> frescor por duas vezes mais tempo;`,style:"unordered"},BlockImage:{url:"https://cdn.exemplo.com/2026/10/mochila.webp",alt:"Mochila escolar azul apoiada em uma cadeira de sala de aula",size:"full"},Video:{url:"https://www.youtube.com/watch?v=dQw4w9WgXcQ",caption:"Como medir a capacidade da mala"},Divider:{},Cta:{text:"Ver toda a linha Escolar",href:"/escolar"},Callout:{title:"VOCÊ SABIA?",body:"Pediatras recomendam que a mochila carregada não passe de 10% do peso da criança.",variant:"tip"},Code:{code:"const total = itens.length;",language:"ts"},Stat:{value:"30%",label:"menos desperdício",description:"Comparado ao modelo anterior da mesma linha."},StatGroup:{stats:'[{"value":"30%","label":"menos desperdício"},{"value":"2x","label":"mais frescor"}]'},CardGroup:{cards:'[{"title":"Pré-escola","body":"Pouco material, mochila pequena."},{"title":"Fundamental","body":"Cadernos e livros pesam; considere rodinhas."}]'},Checklist:{title:"Antes de comprar, confira",items:'["Capacidade em litros","Alças acolchoadas","Compartimento para notebook"]'},Steps:{title:"Como medir",steps:'[{"title":"Meça a altura","description":"Da base ao topo, sem as alças."},{"title":"Some a profundidade"}]'},Comparison:{left:'{"title":"Com rodinhas","items":["Poupa a coluna","Mais pesada vazia"]}',right:'{"title":"De costas","items":["Mais leve","Exige ajuste das alças"]}'},Table:{headers:'["Modelo","Capacidade","Preço"]',rows:'[["Bordo","38L","R$ 399"],["Média","68L","R$ 599"]]'}},hs=600;function ys(t,e){for(const{payload:n}of D(e,"posts"))for(const s of N(n.sections)){const o=h(s);if(!o||o.__resolveType!==t)continue;const{__resolveType:r,...i}=o;if(Object.keys(i).length!==0&&!(JSON.stringify(i).length>hs))return i}}function Mo(t,e,n,s){const o=os(e,s),r=bs(e,s),i=new Set(pt(t.value,r)),a=o.filter(g=>i.has(g.resolveType)),c=a.length>0?a:o,f=new Set,p=[];for(const g of c){if(f.has(g.name)||r[g.name]!==g.resolveType)continue;f.add(g.name);const d=ys(g.resolveType,n)??gs[g.name];p.push({name:g.name,title:g.title,description:g.description??"",schema:ms(ds(g.resolveType,e),d),example:d})}return p}function bs(t,e){const n={};for(const s of at(t,e)){const o=ie(s.resolveType);o in n||(n[o]=s.resolveType)}return n}function _s(t,e,n={}){const s=[];for(const o of t){const r=e[o.type];if(!r)continue;const i=Ss(o.props,o.productIds??[],n[o.type]);s.push({__resolveType:r,...i})}return s}const vs=["product","products"];function xs(t){const e=h(t);return e?vs.find(n=>n in e)??null:null}function Ss(t,e,n){const s=e.filter(Boolean),o=xs(n);if(s.length===0||!o)return t;const r=n[o];return{...t,[o]:Sn(r,s)}}const xe=80;function As(t){return t.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,xe)}function $o(t){return t.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+/,"").slice(0,xe)}function Pe(t,e){const n=xe-e.length-1;return`${t.slice(0,n).replace(/-+$/,"")}-${e}`}function yt(t,e,n){const s=As(t)||`${n}-${F(6)}`,o=new Set(e);if(!o.has(s))return s;for(let r=2;r<100;r++){const i=Pe(s,String(r));if(!o.has(i))return i}return Pe(s,F(4))}function Cs(t,e){return yt(t,e,"post")}function Ko(t,e){return yt(t,e,"category")}function Fo({draft:t,resolveTypes:e,productShapes:n,categories:s,authors:o,planning:r,takenSlugs:i,now:a}){const c=new Set(t.categorySlugs),f=new Set(t.authorEmails),p={title:t.title,slug:Cs(t.title,i),date:a.toISOString().slice(0,10),excerpt:t.excerpt,image:t.cover.url,alt:t.cover.alt,authors:o.filter(g=>f.has(g.email)),categories:s.filter(g=>c.has(g.slug)),seo:{title:t.seo.title,description:t.seo.description,image:t.cover.url},sections:_s(t.sections,e,n),planning:r??{}};return nt(p,"awaiting_review",a)}function Uo(t){const e=R.c(10),{icon:n,title:s,description:o}=t;let r;e[0]!==n?(r=n&&l.jsx(n,{size:24,className:"text-muted-foreground/60"}),e[0]=n,e[1]=r):r=e[1];let i;e[2]!==s?(i=l.jsx("div",{children:s}),e[2]=s,e[3]=i):i=e[3];let a;e[4]!==o?(a=o&&l.jsx("div",{className:"text-xs text-muted-foreground/80 max-w-sm",children:o}),e[4]=o,e[5]=a):a=e[5];let c;return e[6]!==r||e[7]!==i||e[8]!==a?(c=l.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-2 p-6 text-center text-sm text-muted-foreground",children:[r,i,a]}),e[6]=r,e[7]=i,e[8]=a,e[9]=c):c=e[9],c}const bt=4;function ae(t){const e=new Map;for(const n of t)n.slug&&!e.has(n.slug)&&e.set(n.slug,n);return e}function ce(t,e){const n=t.parentSlug;if(!t.slug||!n||n===t.slug)return;const s=e.get(n);return s===t?void 0:s}function ks(t,e){const n=ae(e),s=[],o=new Set;let r=n.get(t);for(;r&&!o.has(r.slug??"")&&(o.add(r.slug??""),s.push(r),!(s.length>=bt));)r=ce(r,n);return s.reverse()}function _t(t,e){const n=new Map;for(const s of t){const o=ce(s,e);if(!o?.slug)continue;const r=n.get(o);r?r.push(s):n.set(o,[s])}for(const s of n.values())s.sort((o,r)=>o.label.localeCompare(r.label));return n}function Go(t,e){const n=ae(e),s=_t(e,n),o=new Set([t]),r=n.get(t);let i=r?[r]:[];for(;i.length;){const a=[];for(const c of i)for(const f of s.get(c)??[])f.slug&&!o.has(f.slug)&&(o.add(f.slug),a.push(f));i=a}return o.delete(t),o}function Vo(t,e){if(!t)return[];const n=ae(e),s=ks(t,e),o=s[0];return!o||ce(o,n)?[t]:s.map(r=>r.slug??"")}function zo(t){const e=ae(t),n=_t(t,e),s=new Set,o=[],r=(a,c)=>{if(!s.has(a)&&(s.add(a),o.push({entry:a,depth:c}),!(c+1>=bt)))for(const f of n.get(a)??[])r(f,c+1)},i=t.filter(a=>!ce(a,e)).sort((a,c)=>a.label.localeCompare(c.label));for(const a of i)r(a,0);for(const a of t)r(a,0);return o}export{Ys as $,ro as A,Xs as B,qn as C,Dn as D,Uo as E,Po as F,so as G,vo as H,D as I,Js as J,Mo as K,ot as L,bs as M,Ln as N,Fo as O,Vs as P,eo as Q,ao as R,Is as S,oo as T,no as U,co as V,oe as W,Ge as X,Ls as Y,Hs as Z,B as _,Ze as a,ve as a0,Ye as a1,Cs as a2,As as a3,Vo as a4,Hn as a5,ie as a6,Lo as a7,to as a8,re as a9,lt as aA,ut as aB,Ro as aC,bo as aD,Z as aE,xo as aF,Oo as aG,z as aH,ge as aI,ee as aJ,Do as aK,Bo as aL,Go as aM,bt as aN,Mn as aO,lo as aP,fo as aQ,Us as aR,G as aS,$e as aT,Ke as aU,be as aV,Ks as aW,$s as aX,tn as aY,Fs as aZ,Gs as a_,Qs as aa,$o as ab,zs as ac,Sn as ad,Un as ae,Vn as af,ho as ag,at as ah,Qe as ai,jo as aj,wo as ak,To as al,es as am,ns as an,fn as ao,dn as ap,pn as aq,mn as ar,gn as as,Co as at,Ao as au,No as av,Eo as aw,yo as ax,os as ay,So as az,et as b,ks as c,io as d,go as e,po as f,mo as g,Xn as h,Ws as i,We as j,Bs as k,In as l,Zs as m,Ms as n,zo as o,Y as p,qs as q,uo as r,wn as s,_o as t,Ko as u,Io as v,ko as w,E as x,k as y,nt as z};
|