@inkeep/open-knowledge 0.28.0 → 0.28.1-beta.2
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/assets/skills/discovery/SKILL.md +1 -1
- package/dist/assets/skills/project/SKILL.md +1 -1
- package/dist/assets/skills/write-skill/SKILL.md +1 -1
- package/dist/cli.mjs +48 -48
- package/dist/constants-CSnkwjht.mjs +2 -0
- package/dist/{dist-CD7iLv1c.mjs → dist-BvK2GLh6.mjs} +9 -9
- package/dist/{dist-D0fMk7yr.mjs → dist-CDpjGDM9.mjs} +1 -1
- package/dist/{gh-detect-Bc-KSyh6.mjs → gh-detect-RYp8nY6_.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/init-Bv8YRF0a.mjs +1 -0
- package/dist/{init-CpkcGWsS.mjs → init-DUT3jX8X.mjs} +4 -4
- package/dist/loader-CU2qWOz4.mjs +1 -0
- package/dist/{loader-Bcbz9P37.mjs → loader-uMT8FFdY.mjs} +2 -2
- package/dist/preview-D6u_pKXX.mjs +1 -0
- package/dist/{preview-C6aPQm56.mjs → preview-en_IHxnY.mjs} +2 -2
- package/dist/public/assets/ActivityModeContent-BIqN0ONM.js +2 -0
- package/dist/public/assets/CodeMirrorPropInput-CPDk-5JJ.js +3 -0
- package/dist/public/assets/{ConsentDialogBody-u7A2_0jL.js → ConsentDialogBody-BeNIRTmZ.js} +1 -1
- package/dist/public/assets/DocumentContext-be-baGUX.js +35 -0
- package/dist/public/assets/EnableSyncConfirmDialog-BSbqFLdb.js +1 -0
- package/dist/public/assets/{GraphPanel-CHb0qJOI.js → GraphPanel-Dqtk3iTG.js} +1 -1
- package/dist/public/assets/{ManagedArtifactProperties-70ooWd7O.js → ManagedArtifactProperties-BdppAYrr.js} +1 -1
- package/dist/public/assets/{McpConsentDialogBody-BKvKmtg_.js → McpConsentDialogBody-CUQI4RGZ.js} +1 -1
- package/dist/public/assets/MermaidDocEditor-DU0SGBnc.js +1 -0
- package/dist/public/assets/PropertyPanel-NVSBKZMj.js +2 -0
- package/dist/public/assets/{SettingsDialogBody-BX4GP2gS.js → SettingsDialogBody-DgSfMkYv.js} +2 -2
- package/dist/public/assets/{ShareBranchSwitchDialog-Clk_4Io5.js → ShareBranchSwitchDialog-B_JDNo2q.js} +1 -1
- package/dist/public/assets/{ShareReceiveDialog-BDmjkthD.js → ShareReceiveDialog-BfzI_GWc.js} +1 -1
- package/dist/public/assets/{ShareReceiveMissDialog-Ds4kHbjr.js → ShareReceiveMissDialog-c6Vh3OWp.js} +1 -1
- package/dist/public/assets/{SkillEditorActions-pVw4b49f.js → SkillEditorActions-BQHJ7_wh.js} +1 -1
- package/dist/public/assets/SourceEditor-C8XoS6-P.js +1 -0
- package/dist/public/assets/{TerminalPanel-Cfp4xEGm.js → TerminalPanel-BOKW93aW.js} +5 -5
- package/dist/public/assets/{_baseFor-CyNhGcoH.js → _baseFor-gIylPeg5.js} +1 -1
- package/dist/public/assets/{agent-presence-C79Orlhd.js → agent-presence-bhQkrJzF.js} +1 -1
- package/dist/public/assets/{arc-D83o8OOg.js → arc-C4yhEJQw.js} +1 -1
- package/dist/public/assets/architecture-YZFGNWBL-DcH0Xwye.js +1 -0
- package/dist/public/assets/{architectureDiagram-Q4EWVU46-ChCk9piL.js → architectureDiagram-Q4EWVU46-DC4AvWYl.js} +1 -1
- package/dist/public/assets/auth-state-cache-JChrBtJe.js +11 -0
- package/dist/public/assets/{blockDiagram-DXYQGD6D-BzhsSfS3.js → blockDiagram-DXYQGD6D-C1cL6qRh.js} +1 -1
- package/dist/public/assets/{c4Diagram-AHTNJAMY-DulnnLxj.js → c4Diagram-AHTNJAMY-D6DqCCxr.js} +1 -1
- package/dist/public/assets/{calendar-1ajmwUXD.js → calendar-BcHFwA_d.js} +1 -1
- package/dist/public/assets/channel-DvmTCFK0.js +1 -0
- package/dist/public/assets/{checkbox-f-bVZCIm.js → checkbox-CZq8uurx.js} +1 -1
- package/dist/public/assets/{chunk-2KRD3SAO-DsNBCxFU.js → chunk-2KRD3SAO-Em1kdvE5.js} +1 -1
- package/dist/public/assets/{chunk-336JU56O-CcZCge2-.js → chunk-336JU56O-COSGTnty.js} +2 -2
- package/dist/public/assets/chunk-426QAEUC-lxQgJP7J.js +1 -0
- package/dist/public/assets/{chunk-4BX2VUAB-Grk9TGXN.js → chunk-4BX2VUAB-X8pZgMic.js} +1 -1
- package/dist/public/assets/{chunk-4TB4RGXK-CAXYTGg7.js → chunk-4TB4RGXK-CVfL5Gbl.js} +1 -1
- package/dist/public/assets/chunk-55IACEB6-CugRk1ll.js +1 -0
- package/dist/public/assets/{chunk-5FUZZQ4R-BrmoYnYM.js → chunk-5FUZZQ4R-DXnyU1FU.js} +1 -1
- package/dist/public/assets/{chunk-5PVQY5BW-CEeElQgj.js → chunk-5PVQY5BW-BfWflEdC.js} +1 -1
- package/dist/public/assets/{chunk-67CJDMHE-DRCcVE5j.js → chunk-67CJDMHE-DO9QtOw-.js} +1 -1
- package/dist/public/assets/{chunk-7N4EOEYR-ChRf9CRN.js → chunk-7N4EOEYR-BORVqcDw.js} +1 -1
- package/dist/public/assets/{chunk-AA7GKIK3-DJMIkYZB.js → chunk-AA7GKIK3-By1Z9lsq.js} +1 -1
- package/dist/public/assets/{chunk-BSJP7CBP-CkhFUxRl.js → chunk-BSJP7CBP-DGkoofP8.js} +1 -1
- package/dist/public/assets/{chunk-CIAEETIT-aHYgXftd.js → chunk-CIAEETIT-Ba--itJL.js} +1 -1
- package/dist/public/assets/{chunk-EDXVE4YY-B1j4UpBa.js → chunk-EDXVE4YY-CdoK23Sp.js} +1 -1
- package/dist/public/assets/{chunk-ENJZ2VHE-BNy6Rh-1.js → chunk-ENJZ2VHE-DswT8yfW.js} +1 -1
- package/dist/public/assets/{chunk-FMBD7UC4-CSbbREu-.js → chunk-FMBD7UC4-x1q3bw7Q.js} +1 -1
- package/dist/public/assets/{chunk-FOC6F5B3-Dr33I0tU.js → chunk-FOC6F5B3-DhD5rfUR.js} +1 -1
- package/dist/public/assets/{chunk-ICPOFSXX-1RLN41rn.js → chunk-ICPOFSXX-D9NDunVu.js} +1 -1
- package/dist/public/assets/{chunk-K5T4RW27-CYsL3ocS.js → chunk-K5T4RW27-BvwWfXcd.js} +1 -1
- package/dist/public/assets/{chunk-KGLVRYIC-D64iCe0j.js → chunk-KGLVRYIC-DwbKIj1d.js} +1 -1
- package/dist/public/assets/{chunk-LIHQZDEY-QwBKmGy0.js → chunk-LIHQZDEY-BoNEjWhP.js} +1 -1
- package/dist/public/assets/{chunk-ORNJ4GCN-C7OAq2PD.js → chunk-ORNJ4GCN-DAGke0iu.js} +1 -1
- package/dist/public/assets/{chunk-OYMX7WX6-DKweTKMn.js → chunk-OYMX7WX6-f6ekO3O0.js} +1 -1
- package/dist/public/assets/chunk-QZHKN3VN-BkaeB1ef.js +1 -0
- package/dist/public/assets/{chunk-U2HBQHQK-mRJ3fq4T.js → chunk-U2HBQHQK-DmscK_CK.js} +1 -1
- package/dist/public/assets/{chunk-X2U36JSP-BIFgIXrZ.js → chunk-X2U36JSP-Drcsz9sU.js} +1 -1
- package/dist/public/assets/{chunk-XPW4576I-DG64u9p6.js → chunk-XPW4576I-BaXHEna0.js} +1 -1
- package/dist/public/assets/{chunk-YZCP3GAM-BWUy7IDu.js → chunk-YZCP3GAM-mwyjbKot.js} +1 -1
- package/dist/public/assets/{chunk-ZZ45TVLE-DseNoBkl.js → chunk-ZZ45TVLE-CFmm3SWp.js} +1 -1
- package/dist/public/assets/classDiagram-6PBFFD2Q-B7ML6gIt.js +1 -0
- package/dist/public/assets/classDiagram-v2-HSJHXN6E-B8rZ1Wmm.js +1 -0
- package/dist/public/assets/clone-Br4VE8_-.js +1 -0
- package/dist/public/assets/{collapsible-iVWLn36m.js → collapsible-DeTPPJXe.js} +1 -1
- package/dist/public/assets/config-provider-CG3O-D_g.js +4 -0
- package/dist/public/assets/{cose-bilkent-S5V4N54A-VDkktAp6.js → cose-bilkent-S5V4N54A-DvX8tKj-.js} +1 -1
- package/dist/public/assets/{dagre-vhYcUXka.js → dagre-DFSkGxKB.js} +1 -1
- package/dist/public/assets/{dagre-KV5264BT-DSZ_VImb.js → dagre-KV5264BT-Bl5Wtmeo.js} +1 -1
- package/dist/public/assets/{diagram-5BDNPKRD-DXB4cP1D.js → diagram-5BDNPKRD-tjMIOssc.js} +1 -1
- package/dist/public/assets/{diagram-G4DWMVQ6-Da83oaRA.js → diagram-G4DWMVQ6-CK9r2ubE.js} +1 -1
- package/dist/public/assets/{diagram-MMDJMWI5-DjbYSzQh.js → diagram-MMDJMWI5-pPXE2_j5.js} +1 -1
- package/dist/public/assets/{diagram-TYMM5635-Bdai1eSE.js → diagram-TYMM5635-Be2tSIFw.js} +1 -1
- package/dist/public/assets/{dialog-BiB39Lhy.js → dialog-CsCS3R9S.js} +1 -1
- package/dist/public/assets/dist-B0fhyoQg.js +11 -0
- package/dist/public/assets/{dist-BuALIrNm.js → dist-B32UcIvZ.js} +1 -1
- package/dist/public/assets/{dist-CiFyjhkz.js → dist-BCx0Ovdl.js} +1 -1
- package/dist/public/assets/{dist-C75OCMT0.js → dist-BVjP1DLS.js} +1 -1
- package/dist/public/assets/{dist-jwOy5oFW.js → dist-BqGZCIKm.js} +1 -1
- package/dist/public/assets/dist-BvPTjv8G.js +2 -0
- package/dist/public/assets/{dist-BUqH6ZNg.js → dist-C6pK6kVr.js} +1 -1
- package/dist/public/assets/{dist-DG-zKHrl.js → dist-CWUeoWMV.js} +1 -1
- package/dist/public/assets/dist-Cl10jghh.js +1 -0
- package/dist/public/assets/{dist-B9f86446.js → dist-CysbQf3k.js} +1 -1
- package/dist/public/assets/{dist-DQJENePL.js → dist-DFpeaPKa.js} +1 -1
- package/dist/public/assets/{dist-BEjpPm3y.js → dist-DS_yhd1x.js} +1 -1
- package/dist/public/assets/{dist-Bp_rHida.js → dist-Dcb8C0af.js} +1 -1
- package/dist/public/assets/{dist-DsZfUH3j.js → dist-HncSDvaf.js} +1 -1
- package/dist/public/assets/{dist-C71DLMde.js → dist-K8OBeqgm.js} +1 -1
- package/dist/public/assets/{dist-BQeT9ICH.js → dist-w6PaZv_P.js} +146 -146
- package/dist/public/assets/{doc-hash-eLdowlcO.js → doc-hash-PVDtHUyI.js} +1 -1
- package/dist/public/assets/{documents-events-DftWTO_p.js → documents-events-DDeQH5lL.js} +1 -1
- package/dist/public/assets/documents-fetch-Dm5drRwY.js +1 -0
- package/dist/public/assets/{erDiagram-SMLLAGMA-BVfj1vre.js → erDiagram-SMLLAGMA-B3cWhMkB.js} +1 -1
- package/dist/public/assets/eye-WB1l5kVb.js +1 -0
- package/dist/public/assets/file-tree-adapter-C6VstyQq.js +1 -0
- package/dist/public/assets/{flatten-D_Wjvstd.js → flatten-C63FDqGp.js} +1 -1
- package/dist/public/assets/floating-ui.dom-BgPtBule.js +1 -0
- package/dist/public/assets/{flowDiagram-DWJPFMVM-OSUtzHqA.js → flowDiagram-DWJPFMVM-Bk7b9VCg.js} +1 -1
- package/dist/public/assets/{ganttDiagram-T4ZO3ILL-B-nn56dM.js → ganttDiagram-T4ZO3ILL-CSPHkGTp.js} +1 -1
- package/dist/public/assets/gitGraph-7Q5UKJZL-Ba9p2nZi.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-UUTBAWPF-DZkSF-OC.js → gitGraphDiagram-UUTBAWPF-DmEcXdKa.js} +1 -1
- package/dist/public/assets/{graphlib-BIasyxiN.js → graphlib-D4vC2miW.js} +1 -1
- package/dist/public/assets/index-DDbdubJY.js +2003 -0
- package/dist/public/assets/{index-CgoVvMy1.css → index-DtRk7cSB.css} +1 -1
- package/dist/public/assets/info-OMHHGYJF-DauoPq4L.js +1 -0
- package/dist/public/assets/{infoDiagram-42DDH7IO-BeC9BiIu.js → infoDiagram-42DDH7IO-B90k1FDC.js} +1 -1
- package/dist/public/assets/{isEmpty-n3rjfMgT.js → isEmpty-DKDyjxZL.js} +1 -1
- package/dist/public/assets/isSymbol-TQCBVYcF.js +1 -0
- package/dist/public/assets/{ishikawaDiagram-UXIWVN3A-Dkujw5jx.js → ishikawaDiagram-UXIWVN3A-CrJNhiO8.js} +1 -1
- package/dist/public/assets/{journeyDiagram-VCZTEJTY-CUCWKR7f.js → journeyDiagram-VCZTEJTY-CDnYFlD-.js} +1 -1
- package/dist/public/assets/{kanban-definition-6JOO6SKY-CYLhLDNP.js → kanban-definition-6JOO6SKY-P5CLe5Ry.js} +1 -1
- package/dist/public/assets/{keyboard-shortcuts-C5JAtPtb.js → keyboard-shortcuts-CNsCpHo3.js} +1 -1
- package/dist/public/assets/{label-hTzLGQhh.js → label-fu3Tx8AH.js} +1 -1
- package/dist/public/assets/{line-C2FdpsKU.js → line-CesgYl1m.js} +1 -1
- package/dist/public/assets/{linear-uAS6gY07.js → linear-B5q34u3D.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-D3oLXj2Q.js → mermaid-parser.core-D4lUxfcL.js} +2 -2
- package/dist/public/assets/{mermaid.core-Cam_8F7g.js → mermaid.core-4wEyIHsI.js} +3 -3
- package/dist/public/assets/{mindmap-definition-QFDTVHPH-xm-abLJ0.js → mindmap-definition-QFDTVHPH-BFkxkOoR.js} +1 -1
- package/dist/public/assets/navigation-targets-C138S-Ad.js +1 -0
- package/dist/public/assets/{now-Cz4lG-PF.js → now-C1KCZH9r.js} +1 -1
- package/dist/public/assets/{open-managed-artifact-tab-BiLs1dgV.js → open-managed-artifact-tab-C9jOHfz4.js} +1 -1
- package/dist/public/assets/{ordinal-DdJ_tP-k.js → ordinal-mOcmz1dH.js} +1 -1
- package/dist/public/assets/packet-4T2RLAQJ-wCm--Lnm.js +1 -0
- package/dist/public/assets/parse-api-error-Bbj0-BSQ.js +1 -0
- package/dist/public/assets/{pending-receive-nav-store-eEQMXb1T.js → pending-receive-nav-store-CNk27AB1.js} +1 -1
- package/dist/public/assets/pie-ZZUOXDRM-SVjTW51k.js +1 -0
- package/dist/public/assets/{pieDiagram-DEJITSTG-BOho7tDc.js → pieDiagram-DEJITSTG-xrZk9MzS.js} +1 -1
- package/dist/public/assets/{project-paths-cuCZTJ3P.js → project-paths-1M9SPXQv.js} +1 -1
- package/dist/public/assets/prop-types-CclpOdFN.js +1 -0
- package/dist/public/assets/{quadrantDiagram-34T5L4WZ-BeSxfVib.js → quadrantDiagram-34T5L4WZ-6Gq9f5n0.js} +1 -1
- package/dist/public/assets/radar-PYXPWWZC-CpEUEFTa.js +1 -0
- package/dist/public/assets/{radio-group-G2GVDZug.js → radio-group-CUljjIYe.js} +1 -1
- package/dist/public/assets/{receive-store-Ckz3u5Dv.js → receive-store-BI47GRKC.js} +1 -1
- package/dist/public/assets/{reduce-CLi1_fYh.js → reduce-DSZ8N5lq.js} +1 -1
- package/dist/public/assets/{requirementDiagram-MS252O5E-Cyy0OBiH.js → requirementDiagram-MS252O5E-Bz4BXIxO.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-XADWPNL6-CxxO0Br2.js → sankeyDiagram-XADWPNL6-JUUNe85z.js} +1 -1
- package/dist/public/assets/{selection-context-DaymKQhd.js → selection-context-exHoVFmy.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-FGHM5R23-D2PtzhZJ.js → sequenceDiagram-FGHM5R23-CMIYv0yF.js} +1 -1
- package/dist/public/assets/skill-actions-Bed6NZWV.js +1 -0
- package/dist/public/assets/skill-scope-B81M2_xh.js +1 -0
- package/dist/public/assets/skills-api-BdFj9A8Y.js +1 -0
- package/dist/public/assets/src-CeGNnK-l.js +2 -0
- package/dist/public/assets/{src-28IIV2Sn.js → src-vR35WiAc.js} +1 -1
- package/dist/public/assets/{stateDiagram-FHFEXIEX-DFFeLq2Y.js → stateDiagram-FHFEXIEX-zOcM60tH.js} +1 -1
- package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-D_B4Ywf0.js +1 -0
- package/dist/public/assets/{target-navigation-intent-DJtJaVBl.js → target-navigation-intent-Dv6mHsTm.js} +1 -1
- package/dist/public/assets/{telemetry-impl-DbDKK1Kj.js → telemetry-impl-_dZB-keU.js} +2 -2
- package/dist/public/assets/{telemetry-startup-ChBVT3Gs.js → telemetry-startup-XWK3xABf.js} +1 -1
- package/dist/public/assets/{timeline-definition-GMOUNBTQ-DjU4O-O4.js → timeline-definition-GMOUNBTQ-BZmnLBNO.js} +1 -1
- package/dist/public/assets/{toggle-group-ChBgoXkr.js → toggle-group-ZxRmfinR.js} +1 -1
- package/dist/public/assets/{tooltip-C-qXynAd.js → tooltip-BKaRnpkE.js} +1 -1
- package/dist/public/assets/trash-2-DHwjvW5E.js +1 -0
- package/dist/public/assets/treeView-SZITEDCU-CxW1Fi0N.js +1 -0
- package/dist/public/assets/treemap-W4RFUUIX-DSnxX8Tx.js +1 -0
- package/dist/public/assets/typing-burst-detector-OvRo-erH.js +6 -0
- package/dist/public/assets/{vennDiagram-DHZGUBPP-B5IEI223.js → vennDiagram-DHZGUBPP-CQdhzc6t.js} +1 -1
- package/dist/public/assets/wardley-RL74JXVD-9K1UST4U.js +1 -0
- package/dist/public/assets/{wardleyDiagram-NUSXRM2D-DmKxROfA.js → wardleyDiagram-NUSXRM2D-BqO3bSrz.js} +1 -1
- package/dist/public/assets/{xychartDiagram-5P7HB3ND-DfsFGMvs.js → xychartDiagram-5P7HB3ND-B096Qbw8.js} +1 -1
- package/dist/public/index.html +78 -71
- package/dist/{repair-launch-json-Byntm1cW.mjs → repair-launch-json-B86-ywpD.mjs} +2 -2
- package/dist/{repair-mcp-configs-cBky1Eni.mjs → repair-mcp-configs-iqA205gC.mjs} +2 -2
- package/dist/repair-skills-B4QZF-d3.mjs +1 -0
- package/dist/{repair-skills-v6Mlols4.mjs → repair-skills-LHV8H9aK.mjs} +2 -2
- package/dist/server-lock-GuuouVft-BPXunOvH.mjs +1 -0
- package/dist/{server-lock-iLcBw_q0-D_cD26E0.mjs → server-lock-iLcBw_q0-pnLGEjec.mjs} +102 -102
- package/dist/{src-CltDfCoE.mjs → src-Btp9Walr.mjs} +2 -2
- package/dist/{start-DFwIquRE.mjs → start-B1i5Dpuw.mjs} +2 -2
- package/dist/start-CMMuPqVu.mjs +1 -0
- package/dist/{write-project-skill-Pt6mb0Oq.mjs → write-project-skill-DwKyM2bJ.mjs} +2 -2
- package/package.json +1 -1
- package/dist/constants-B3p9WXw-.mjs +0 -2
- package/dist/init-C8VZmpJO.mjs +0 -1
- package/dist/loader-D1loU0dx.mjs +0 -1
- package/dist/preview-c38r_DBv.mjs +0 -1
- package/dist/public/assets/ActivityModeContent-FXULq3P6.js +0 -2
- package/dist/public/assets/DocumentContext-AziEfQFy.js +0 -36
- package/dist/public/assets/EnableSyncConfirmDialog-D8UuFHxQ.js +0 -1
- package/dist/public/assets/PropertyPanel-Cq1sqsH4.js +0 -2
- package/dist/public/assets/SourceEditor-DXcSGXCG.js +0 -2
- package/dist/public/assets/architecture-YZFGNWBL-D9UBIAHq.js +0 -1
- package/dist/public/assets/auth-state-cache-De8QvFee.js +0 -11
- package/dist/public/assets/channel-DytC2OSB.js +0 -1
- package/dist/public/assets/chunk-426QAEUC-CAVhttwb.js +0 -1
- package/dist/public/assets/chunk-55IACEB6-DuYRPofq.js +0 -1
- package/dist/public/assets/chunk-QZHKN3VN-DhXqi7R7.js +0 -1
- package/dist/public/assets/classDiagram-6PBFFD2Q-DYWeklG8.js +0 -1
- package/dist/public/assets/classDiagram-v2-HSJHXN6E-CfLkcf5Y.js +0 -1
- package/dist/public/assets/clone-JWFgAdwR.js +0 -1
- package/dist/public/assets/config-provider-DY1ejnq-.js +0 -4
- package/dist/public/assets/dist-0Zj_lz7j.js +0 -11
- package/dist/public/assets/dist-C_vWk3jN.js +0 -1
- package/dist/public/assets/file-tree-adapter-BHXYt6U1.js +0 -1
- package/dist/public/assets/gitGraph-7Q5UKJZL-BbqhmoM-.js +0 -1
- package/dist/public/assets/index-CyKgBKog.js +0 -2003
- package/dist/public/assets/info-OMHHGYJF-DnibNYIM.js +0 -1
- package/dist/public/assets/isSymbol-XZKBrOoF.js +0 -1
- package/dist/public/assets/navigation-targets-fzjpgS0d.js +0 -1
- package/dist/public/assets/packet-4T2RLAQJ-CQ75ftcu.js +0 -1
- package/dist/public/assets/pie-ZZUOXDRM-DrLpeke2.js +0 -1
- package/dist/public/assets/prop-types-DVWxeasv.js +0 -1
- package/dist/public/assets/radar-PYXPWWZC-DsxR4TyY.js +0 -1
- package/dist/public/assets/skill-actions-CBRvSwTx.js +0 -1
- package/dist/public/assets/skill-scope-Bt2TwqtA.js +0 -1
- package/dist/public/assets/skills-api-c0dJMBt0.js +0 -1
- package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-DH8XnZl5.js +0 -1
- package/dist/public/assets/treeView-SZITEDCU-DcfbDroR.js +0 -1
- package/dist/public/assets/treemap-W4RFUUIX-C1lvB3Lz.js +0 -1
- package/dist/public/assets/typing-burst-detector-fx0Rb57X.js +0 -7
- package/dist/public/assets/wardley-RL74JXVD-CsvQ_3RJ.js +0 -1
- package/dist/repair-skills-Bv8iL5x_.mjs +0 -1
- package/dist/server-lock-GuuouVft-BFFcTQcA.mjs +0 -1
- package/dist/start-BKNaR-XU.mjs +0 -1
- /package/dist/public/assets/{ActivityPanelDiffView-DKeRw1Cx.js → ActivityPanelDiffView-Oap1F4vk.js} +0 -0
- /package/dist/public/assets/{__vite-browser-external-BYnGn7dC.js → __vite-browser-external-CgB6cL13.js} +0 -0
- /package/dist/public/assets/{array-C2ARTgCj.js → array-DvTWoG0m.js} +0 -0
- /package/dist/public/assets/{arrow-up-right-DoN2FmSd.js → arrow-up-right-Crm0Btez.js} +0 -0
- /package/dist/public/assets/{check-Dqb-7gfx.js → check-DRRCCRSs.js} +0 -0
- /package/dist/public/assets/{chevron-down-D3nis7uo.js → chevron-down-BvNcCN1f.js} +0 -0
- /package/dist/public/assets/{chevron-left-C6Q_NKVx.js → chevron-left-BEP8MhU3.js} +0 -0
- /package/dist/public/assets/{chevron-right-BfmqRYl8.js → chevron-right-DSNnH-Vb.js} +0 -0
- /package/dist/public/assets/{clike-D1vNpgsL.js → clike-0lvcGvys.js} +0 -0
- /package/dist/public/assets/{colors-S-eYy0dP.js → colors-IR5jcHwc.js} +0 -0
- /package/dist/public/assets/{config-context-CVpOcWSZ.js → config-context-CzdMgLHH.js} +0 -0
- /package/dist/public/assets/{cursor-CGeB2PU5.js → cursor-e0zRswH3.js} +0 -0
- /package/dist/public/assets/{cytoscape.esm-C8VTsmgM.js → cytoscape.esm-CX-taWeI.js} +0 -0
- /package/dist/public/assets/{defaultLocale-Ddnx0blM.js → defaultLocale-gFRIUUHz.js} +0 -0
- /package/dist/public/assets/{desktop-bridge-types-BeY3wQCX.js → desktop-bridge-types-De2kjWgu.js} +0 -0
- /package/dist/public/assets/{diff-BeNfkPWe.js → diff-BYaxtv-Y.js} +0 -0
- /package/dist/public/assets/{dist-D9WIglau.js → dist-BA1b6hgf.js} +0 -0
- /package/dist/public/assets/{dist-DLLyJf3c.js → dist-BDlvQLfA.js} +0 -0
- /package/dist/public/assets/{dist-IEs1iCqd.js → dist-CHtJ0hxO.js} +0 -0
- /package/dist/public/assets/{dist-VYgKuZZh.js → dist-CTdX28hn.js} +0 -0
- /package/dist/public/assets/{dist-CbgmYSt6.js → dist-vTz-cLLB.js} +0 -0
- /package/dist/public/assets/{external-link-Do3_Yhal.js → external-link-27uXLNxg.js} +0 -0
- /package/dist/public/assets/{file-tree-rename-validation-BkATWpiZ.js → file-tree-rename-validation-DTVQL2Xb.js} +0 -0
- /package/dist/public/assets/{format-IdV1ZccK.js → format-1Qr8HOYT.js} +0 -0
- /package/dist/public/assets/{git-branch-DtntyZcb.js → git-branch-q0qWPEwd.js} +0 -0
- /package/dist/public/assets/{go-BPQOrv_-.js → go-s8LhlcQN.js} +0 -0
- /package/dist/public/assets/{info-B_9IOYHV.js → info-BlYnsVoP.js} +0 -0
- /package/dist/public/assets/{init-C1Y52B8f.js → init-BiVQaVme.js} +0 -0
- /package/dist/public/assets/{input-D0MSkqYi.js → input-s7JSCucz.js} +0 -0
- /package/dist/public/assets/{isObjectLike-B-XBvMIZ.js → isObjectLike-CplF2yFH.js} +0 -0
- /package/dist/public/assets/{loader-circle-CiIO3Fk-.js → loader-circle-B7Gv_Djz.js} +0 -0
- /package/dist/public/assets/{lua-De73j3Nj.js → lua-BJMsYVXC.js} +0 -0
- /package/dist/public/assets/{mcp-consent-store-hDvds8gj.js → mcp-consent-store-BIFsQSdo.js} +0 -0
- /package/dist/public/assets/{min-Du20ti5G.js → min-3e1jfujw.js} +0 -0
- /package/dist/public/assets/{miss-dialog-store-Ay7SdCdU.js → miss-dialog-store-PJQ_kr0I.js} +0 -0
- /package/dist/public/assets/{panzoom.es-BcYSRiVh.js → panzoom.es-KLVlk3tM.js} +0 -0
- /package/dist/public/assets/{path-DAmnUwYX.js → path-G868Kf9B.js} +0 -0
- /package/dist/public/assets/{pdf-PfDliStv.js → pdf-Cm0Z_df8.js} +0 -0
- /package/dist/public/assets/{pdf.worker-rrxcKZlR.js → pdf.worker-U3xqv7qk.js} +0 -0
- /package/dist/public/assets/{perl-_CDvIe1D.js → perl-DVyM2C9-.js} +0 -0
- /package/dist/public/assets/{properties-C7HiLOXK.js → properties-NhXpAKoe.js} +0 -0
- /package/dist/public/assets/{r-C7fediNL.js → r-D725PTfh.js} +0 -0
- /package/dist/public/assets/{refresh-cw-EVALIeLp.js → refresh-cw-CluaccKu.js} +0 -0
- /package/dist/public/assets/{rough.esm-CNnrul_b.js → rough.esm-DHcrZ6TO.js} +0 -0
- /package/dist/public/assets/{ruby-ScdRRFFa.js → ruby-D1PV8skF.js} +0 -0
- /package/dist/public/assets/{share-metadata-rows-Bd_ant37.js → share-metadata-rows-ZQ-JmihW.js} +0 -0
- /package/dist/public/assets/{shell-DhAwSAum.js → shell-BymBffsk.js} +0 -0
- /package/dist/public/assets/{sql-Cra_k0U6.js → sql-DSkPJi80.js} +0 -0
- /package/dist/public/assets/{src-cx4Sgc5-.js → src-BMeqqHjK.js} +0 -0
- /package/dist/public/assets/{startup-marks-DdMtjWR-.js → startup-marks-DWFDLvEG.js} +0 -0
- /package/dist/public/assets/{stex-AIAzjJoG.js → stex-Ds-MGVqb.js} +0 -0
- /package/dist/public/assets/{swift-DmZcjeK9.js → swift-DvFGtMVO.js} +0 -0
- /package/dist/public/assets/{textarea-9jwlIkqW.js → textarea-BV8h2udO.js} +0 -0
- /package/dist/public/assets/{toml-QZGHzT2O.js → toml-4Y1WOP_Q.js} +0 -0
- /package/dist/public/assets/{triangle-alert-r1Ou0VrE.js → triangle-alert-D4Umd2kR.js} +0 -0
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./mermaid.core-Cam_8F7g.js","./preload-helper-2ej06EnG.js","./chunk-U2HBQHQK-mRJ3fq4T.js","./src-28IIV2Sn.js","./chunk-CFjPhJqf.js","./src-cx4Sgc5-.js","./chunk-5PVQY5BW-CEeElQgj.js","./dist-VYgKuZZh.js","./chunk-ICPOFSXX-1RLN41rn.js","./_baseFor-CyNhGcoH.js","./isObjectLike-B-XBvMIZ.js","./isEmpty-n3rjfMgT.js","./chunk-336JU56O-CcZCge2-.js","./chunk-5FUZZQ4R-BrmoYnYM.js","./chunk-X2U36JSP-BIFgIXrZ.js","./chunk-ZZ45TVLE-DseNoBkl.js","./rough.esm-CNnrul_b.js","./chunk-ENJZ2VHE-BNy6Rh-1.js","./line-C2FdpsKU.js","./path-DAmnUwYX.js","./array-C2ARTgCj.js","./chunk-BSJP7CBP-CkhFUxRl.js","./chunk-426QAEUC-CAVhttwb.js","./chunk-XPW4576I-DG64u9p6.js","./pdf-PfDliStv.js","./dist-B9f86446.js","./dist-DLLyJf3c.js","./w3c-keyname-CHcJEDvG.js","./dist-DG-zKHrl.js","./dist-BUqH6ZNg.js","./dist-DQJENePL.js","./dist-C75OCMT0.js","./dist-C71DLMde.js","./stex-AIAzjJoG.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{o as e,t}from"./chunk-CFjPhJqf.js";import{t as n}from"./preload-helper-2ej06EnG.js";import{n as r,r as i,t as a}from"./compiler-runtime-CVnuRdak.js";import{n as o,r as s}from"./dist-CQw2y-s3.js";import{n as c}from"./dist-BVOt51sU.js";import{t as l}from"./react-dom-C-oc-P2K.js";import{$ as u,$n as d,$r as f,Ai as p,An as m,At as h,B as g,Bn as _,Br as v,Ci as y,Di as b,Ei as x,En as S,Er as C,Et as w,F as T,Fi as E,Fn as D,G as O,Gn as k,Gr as A,H as j,Hi as M,Hn as N,Hr as P,Ht as F,Ii as I,In as L,J as ee,Ji as R,Jn as z,Jr as B,K as V,Ki as H,Kn as U,Kt as W,L as te,Li as G,Ln as ne,Lr as K,Mn as re,Nn as ie,Oi as ae,On as oe,Pi as q,Pn as se,Pt as ce,Q as le,Qr as ue,Rn as de,Rr as fe,S as pe,Si as me,Sn as he,Ti as ge,Tn as _e,Tr as ve,U as ye,Ur as be,V as xe,Vr as Se,Wn as Ce,Wr as we,Wt as Te,Xr as Ee,Xt as De,Yn as Oe,Yr as ke,Zn as Ae,Zr as je,_i as Me,_n as Ne,_r as Pe,ai as Fe,ar as Ie,b as Le,bi as Re,br as ze,c as Be,cn as Ve,ct as He,d as Ue,di as We,dt as Ge,ei as Ke,er as qe,f as Je,fi as Ye,fr as Xe,ft as Ze,gr as Qe,hi as $e,hn as et,ht as tt,ir as nt,it as rt,j as it,jn as at,jt as ot,kn as st,kr as ct,kt as lt,l as ut,li as dt,ln as ft,lr as pt,mi as mt,mn as ht,mt as gt,ni as _t,nt as vt,o as yt,oi as bt,pn as xt,q as St,qi as Ct,qr as wt,qt as Tt,rr as Et,rt as Dt,s as Ot,sr as kt,ti as At,tr as jt,tt as Mt,u as Nt,ui as Pt,un as Ft,ut as It,vi as Lt,vn as Rt,wi as zt,wn as Bt,xi as Vt,y as Ht,yi as Ut,yr as Wt,z as Gt,zr as Kt}from"./dist-BQeT9ICH.js";import{t as qt}from"./trace-api-D6fqC5Nw.js";import{n as Jt,t as Yt}from"./propagation-api-BHhJitgG.js";import{a as Xt,c as Zt,i as Qt,l as $t,o as en,r as tn,t as nn,u as J}from"./button-cneJOVxD.js";import{t as rn}from"./check-Dqb-7gfx.js";import{t as an}from"./chevron-down-D3nis7uo.js";import{t as on}from"./chevron-right-BfmqRYl8.js";import{a as sn,c as cn,i as ln,l as un,o as dn,r as fn,s as pn}from"./prop-types-DVWxeasv.js";import{c as mn,l as hn,n as gn,o as _n,s as vn}from"./skill-scope-Bt2TwqtA.js";import{$ as yn,A as bn,C as xn,D as Sn,E as Cn,F as wn,G as Tn,I as En,J as Dn,K as On,L as kn,M as An,N as jn,O as Mn,Q as Nn,R as Pn,S as Fn,T as In,U as Ln,W as Rn,X as zn,Y as Bn,Z as Vn,_ as Hn,a as Un,at as Wn,b as Gn,c as Kn,d as qn,et as Jn,f as Yn,g as Xn,h as Zn,it as Qn,j as $n,k as er,l as tr,m as nr,nt as rr,o as ir,ot as ar,p as or,q as sr,r as cr,rt as lr,s as ur,st as dr,tt as fr,u as pr,v as mr,w as hr,x as gr,y as _r,z as vr}from"./config-provider-DY1ejnq-.js";import{n as yr,r as br}from"./config-context-CVpOcWSZ.js";import{t as xr}from"./git-branch-DtntyZcb.js";import{t as Sr}from"./info-B_9IOYHV.js";import{t as Cr}from"./loader-circle-CiIO3Fk-.js";import{t as wr}from"./triangle-alert-r1Ou0VrE.js";import{n as Tr,r as Er}from"./dist-IEs1iCqd.js";import{a as Dr,c as Or,d as kr,i as Ar,n as jr,o as Mr,r as Nr,s as Pr,t as Fr,u as Ir}from"./dist-D9WIglau.js";import{a as Lr,i as Rr,n as zr,t as Br}from"./tooltip-C-qXynAd.js";import{n as Vr,t as Hr}from"./dist-BEjpPm3y.js";import{n as Ur,r as Wr,t as Gr}from"./collapsible-iVWLn36m.js";import{a as Kr,c as qr,d as Jr,f as Yr,g as Xr,h as Zr,i as Qr,l as $r,m as ei,n as ti,o as ni,p as ri,r as ii,s as ai,t as oi,u as si}from"./dialog-BiB39Lhy.js";import{t as ci}from"./dist-CbgmYSt6.js";import{a as li,c as ui,g as di,h as fi,i as pi,l as mi,m as hi,n as gi,p as _i,r as vi,t as yi,u as bi}from"./dist-C_vWk3jN.js";import{t as xi}from"./input-D0MSkqYi.js";import{n as Si,t as Ci}from"./dist-0Zj_lz7j.js";import{t as wi}from"./file-tree-rename-validation-BkATWpiZ.js";import{a as Ti,n as Ei}from"./navigation-targets-fzjpgS0d.js";import{n as Di,t as Oi}from"./documents-events-DftWTO_p.js";import{a as Y,o as ki,t as Ai}from"./startup-marks-DdMtjWR-.js";import{c as ji,f as Mi,h as Ni,l as Pi,n as Fi,o as Ii,p as Li,r as Ri,s as zi}from"./doc-hash-eLdowlcO.js";import{Bt as Bi,C as Vi,Ct as Hi,D as Ui,Dt as Wi,E as Gi,Et as Ki,F as qi,Ft as Ji,Ht as Yi,It as Xi,J as Zi,L as Qi,Lt as $i,Mt as ea,N as ta,O as na,Ot as ra,P as ia,Pt as aa,Q as oa,R as X,S as sa,St as ca,Tt as la,V as ua,Vt as da,X as fa,Y as pa,a as ma,c as ha,dt as ga,f as _a,j as va,l as ya,n as ba,o as xa,q as Sa,r as Ca,t as wa,ut as Ta,xt as Ea}from"./dist-DLLyJf3c.js";import{n as Da,r as Oa,t as ka}from"./dist-DG-zKHrl.js";import{t as Aa}from"./dist-CiFyjhkz.js";import{n as ja}from"./dist-DsZfUH3j.js";import{n as Ma}from"./dist-BuALIrNm.js";import{n as Na}from"./dist-B9f86446.js";import{i as Pa,n as Fa,r as Ia}from"./dist-jwOy5oFW.js";import{n as La}from"./dist-BUqH6ZNg.js";import{t as Ra}from"./stex-AIAzjJoG.js";var Z=i();(function(){var e=[`user-blocking`,`user-visible`,`background`];class t{constructor(){this.t=new MessageChannel,this.i=this.t.port2,this.l={},this.o=1,this.t.port1.onmessage=e=>this.h(e)}u(e){var t=this.o++;return this.l[t]=e,this.i.postMessage(t),t}p(e){delete this.l[e]}h(e){var t=e.data;if(t in this.l){var n=this.l[t];delete this.l[t],n()}}}function n(){return n.v||=new t,n.v}class r{constructor(e,t,n){n===void 0&&(n=0),this.k=e,this.T=null,this.C=null,this.m=!1,this._(t,n)}isIdleCallback(){return this.T===0}I(){return this.T===2}cancel(){if(!this.m)switch(this.m=!0,this.T){case 0:cancelIdleCallback(this.C);break;case 1:clearTimeout(this.C);break;case 2:n().p(this.C);break;default:throw TypeError(`Unknown CallbackType`)}}_(t,r){if(r&&r>0)return this.T=1,void(this.C=setTimeout(()=>{this.P()},r));if(!e.includes(t))throw TypeError(`Invalid task priority : `+t);t===`background`&&typeof requestIdleCallback==`function`?(this.T=0,this.C=requestIdleCallback(()=>{this.P()})):typeof MessageChannel==`function`?(this.T=2,this.C=n().u(()=>{this.P()})):(this.T=1,this.C=setTimeout(()=>{this.P()}))}P(){this.m||this.k()}}var i=0;class a{constructor(){this.j=null,this.M=null}isEmpty(){return this.j==null}push(e){if(typeof e!=`object`)throw TypeError(`Task must be an Object`);e.A=i++,this.isEmpty()?(e.N=null,this.j=e):(e.N=this.M,this.M.O=e),e.O=null,this.M=e}takeNextTask(){if(this.isEmpty())return null;var e=this.j;return this.q(e),e}merge(e,t){if(typeof t!=`function`)throw TypeError(`Must provide a selector function.`);if(e==null)throw Error(`sourceQueue cannot be null`);for(var n=this.j,r=null,i=e.j;i;){var a=i;if(i=i.O,t(a)){for(e.q(a);n&&n.A<a.A;)r=n,n=n.O;this.D(a,r),r=a}}}D(e,t){if(t!=this.M){var n=t?t.O:this.j;e.O=n,n.N=e,e.N=t,t==null?this.j=e:t.O=e}else this.push(e)}q(e){if(e==null)throw Error(`Expected task to be non-null`);e===this.j&&(this.j=e.O),e===this.M&&(this.M=this.M.N),e.O&&(e.O.N=e.N),e.N&&(e.N.O=e.O)}}class o extends Event{constructor(t,n){if(!n||!e.includes(n.previousPriority))throw TypeError(`Invalid task priority: '`+n.previousPriority+`'`);super(t),this.previousPriority=n.previousPriority}}class s extends AbortController{constructor(t){if(t===void 0&&(t={}),super(),t??={},typeof t!=`object`)throw TypeError(`'init' is not an object`);var n,r,i=t.priority===void 0?`user-visible`:t.priority;if(!e.includes(i))throw TypeError(`Invalid task priority: '`+i+`'`);this.H=i,this.R=!1,r=(n=this).signal,Object.defineProperties(r,{priority:{get:function(){return n.H},enumerable:!0},onprioritychange:{value:null,writable:!0,enumerable:!0}}),r.addEventListener(`prioritychange`,e=>{r.onprioritychange&&r.onprioritychange(e)})}setPriority(t){if(!e.includes(t))throw TypeError(`Invalid task priority: `+t);if(this.R)throw new DOMException(``,`NotAllowedError`);if(this.signal.priority!==t){this.R=!0;var n=this.H;this.H=t;var r=new o(`prioritychange`,{previousPriority:n});this.signal.dispatchEvent(r),this.R=!1}}}self.scheduler===void 0?(self.scheduler=new class{constructor(){this.S={},e.forEach(e=>{this.S[e]=[new a,new a]}),this.U=null,this.W=new WeakMap}yield(){return this.B(()=>{},{priority:`user-visible`},!0)}postTask(e,t){return this.B(e,t,!1)}B(t,n,r){if((n=Object.assign({},n)).signal!==void 0){if(n.signal===null||!(`aborted`in n.signal)||typeof n.signal.addEventListener!=`function`)return Promise.reject(TypeError(`'signal' is not a valid 'AbortSignal'`));if(n.signal&&n.signal.priority&&!e.includes(n.signal.priority))return Promise.reject(TypeError(`Invalid task priority: '`+n.signal.priority+`'`))}if(n.priority!==void 0&&(n.priority===null||!e.includes(n.priority)))return Promise.reject(TypeError(`Invalid task priority: '`+n.priority+`'`));if(n.delay===void 0&&(n.delay=0),n.delay=Number(n.delay),n.delay<0)return Promise.reject(TypeError(`'delay' must be a positive number.`));var i={callback:t,options:n,resolve:null,reject:null,hostCallback:null,abortCallback:null,onTaskCompleted:function(){this.options.signal&&this.abortCallback&&(this.options.signal.removeEventListener(`abort`,this.abortCallback),this.abortCallback=null)},onTaskAborted:function(){this.hostCallback&&=(this.hostCallback.cancel(),null),this.options.signal.removeEventListener(`abort`,this.abortCallback),this.abortCallback=null,this.reject(this.options.signal.reason)},isAborted:function(){return this.options.signal&&this.options.signal.aborted},isContinuation:r},a=new Promise((e,t)=>{i.resolve=e,i.reject=t});return this._(i),a}_(e){var t=e.options.signal;if(t){if(t.aborted)return void e.reject(t.reason);e.abortCallback=()=>{e.onTaskAborted()},t.addEventListener(`abort`,e.abortCallback)}e.options.delay>0?e.hostCallback=new r(()=>{e.hostCallback=null,this.F(e)},null,e.options.delay):(this.G(e),this.J())}F(e){this.G(e),this.U&&=(this.U.cancel(),null),this.K()}L(e){var t=this.W.get(e);if(t===void 0)throw Error(`Attempting to change priority on an unregistered signal`);if(t!==e.priority){for(var n=0;n<2;n++)this.S[e.priority][n].merge(this.S[t][n],t=>t.options.signal===e);this.W.set(e,e.priority)}}K(){this.U=null,this.V(),this.J()}J(){var{priority:e}=this.X();e!=null&&(e!==`background`&&this.U&&this.U.isIdleCallback()&&(this.U.cancel(),this.U=null),this.U||=new r(()=>{this.K()},e,0))}G(t){var n;if(!e.includes(n=t.options.priority?t.options.priority:t.options.signal&&t.options.signal.priority?t.options.signal.priority:`user-visible`))throw TypeError(`Invalid task priority: `+n);if(t.options.signal&&t.options.signal.priority){var r=t.options.signal;this.W.has(r)||(r.addEventListener(`prioritychange`,()=>{this.L(r)}),this.W.set(r,r.priority))}this.S[n][+!t.isContinuation].push(t)}V(){var e=null;do{var{priority:t,type:n}=this.X();if(t==null)return;e=this.S[t][n].takeNextTask()}while(e.isAborted());try{var r=e.callback();e.resolve(r)}catch(t){e.reject(t)}finally{e.onTaskCompleted()}}X(){for(var t=0;t<e.length;t++)for(var n=e[t],r=0;r<2;r++)if(!this.S[n][r].isEmpty())return{priority:n,type:r};return{priority:null,type:0}}},self.TaskController=s,self.TaskPriorityChangeEvent=o):self.scheduler.yield||(self.scheduler.yield=function(){return self.scheduler.postTask(()=>{},{priority:`user-blocking`})})})();var za=J(`app-window`,[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}],[`path`,{d:`M10 4v4`,key:`pp8u80`}],[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`path`,{d:`M6 4v4`,key:`1svtjw`}]]),Ba=J(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),Va=J(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),Ha=J(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),Ua=J(`arrow-up`,[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]),Wa=J(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Ga=J(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Ka=J(`bug`,[[`path`,{d:`M12 20v-9`,key:`1qisl0`}],[`path`,{d:`M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z`,key:`uouzyp`}],[`path`,{d:`M14.12 3.88 16 2`,key:`qol33r`}],[`path`,{d:`M21 21a4 4 0 0 0-3.81-4`,key:`1b0z45`}],[`path`,{d:`M21 5a4 4 0 0 1-3.55 3.97`,key:`5cxbf6`}],[`path`,{d:`M22 13h-4`,key:`1jl80f`}],[`path`,{d:`M3 21a4 4 0 0 1 3.81-4`,key:`1fjd4g`}],[`path`,{d:`M3 5a4 4 0 0 0 3.55 3.97`,key:`1d7oge`}],[`path`,{d:`M6 13H2`,key:`82j7cp`}],[`path`,{d:`m8 2 1.88 1.88`,key:`fmnt4t`}],[`path`,{d:`M9 7.13V6a3 3 0 1 1 6 0v1.13`,key:`1vgav8`}]]),qa=J(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),Ja=J(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Ya=J(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Xa=J(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Za=J(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),Qa=J(`clipboard-list`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M12 11h4`,key:`1jrz19`}],[`path`,{d:`M12 16h4`,key:`n85exb`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),$a=J(`code-xml`,[[`path`,{d:`m18 16 4-4-4-4`,key:`1inbqp`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}],[`path`,{d:`m14.5 4-5 16`,key:`e7oirm`}]]),eo=J(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),to=J(`eraser`,[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`,key:`g5wo59`}],[`path`,{d:`m5.082 11.09 8.828 8.828`,key:`1wx5vj`}]]),no=J(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),ro=J(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),io=J(`file-image`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`circle`,{cx:`10`,cy:`12`,r:`2`,key:`737tya`}],[`path`,{d:`m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22`,key:`wt3hpn`}]]),ao=J(`file-plus-corner`,[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`,key:`17jvcc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 19h6`,key:`bvotb8`}],[`path`,{d:`M17 16v6`,key:`18yu1i`}]]),oo=J(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),so=J(`file-up`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`m15 15-3-3-3 3`,key:`15xj92`}]]),co=J(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),lo=J(`film`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M7 3v18`,key:`bbkbws`}],[`path`,{d:`M3 7.5h4`,key:`zfgn84`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 16.5h4`,key:`1230mu`}],[`path`,{d:`M17 3v18`,key:`in4fa5`}],[`path`,{d:`M17 7.5h4`,key:`myr1c1`}],[`path`,{d:`M17 16.5h4`,key:`go4c1d`}]]),uo=J(`flask-conical`,[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]),fo=J(`hash`,[[`line`,{x1:`4`,x2:`20`,y1:`9`,y2:`9`,key:`4lhtct`}],[`line`,{x1:`4`,x2:`20`,y1:`15`,y2:`15`,key:`vyu0kd`}],[`line`,{x1:`10`,x2:`8`,y1:`3`,y2:`21`,key:`1ggp8o`}],[`line`,{x1:`16`,x2:`14`,y1:`3`,y2:`21`,key:`weycgp`}]]),po=J(`heading-1`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`m17 12 3-2v8`,key:`1hhhft`}]]),mo=J(`heading-2`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1`,key:`9jr5yi`}]]),ho=J(`heading-3`,[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2`,key:`68ncm8`}],[`path`,{d:`M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2`,key:`1ejuhz`}]]),go=J(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),_o=J(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),vo=J(`layout-panel-top`,[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}]]),yo=J(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),bo=J(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),xo=[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]],So=J(`link-2`,xo),Co=J(`list-ordered`,[[`path`,{d:`M11 5h10`,key:`1cz7ny`}],[`path`,{d:`M11 12h10`,key:`1438ji`}],[`path`,{d:`M11 19h10`,key:`11t30w`}],[`path`,{d:`M4 4h1v5`,key:`10yrso`}],[`path`,{d:`M4 9h2`,key:`r1h2o0`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`,key:`xtkcd5`}]]),wo=J(`list-todo`,[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`rect`,{x:`3`,y:`4`,width:`6`,height:`6`,rx:`1`,key:`cif1o7`}]]),To=J(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),Eo=J(`message-square-warning`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 15h.01`,key:`q59x07`}],[`path`,{d:`M12 7v4`,key:`xawao1`}]]),Do=J(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),Oo=J(`octagon-alert`,[[`path`,{d:`M12 16h.01`,key:`1drbdi`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z`,key:`1fd625`}]]),ko=J(`panel-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]]),Ao=J(`panel-top`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]),jo=J(`paperclip`,[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]),Mo=J(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),No=J(`quote`,[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]),Po=J(`refresh-ccw`,[[`path`,{d:`M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`14sxne`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16`,key:`1hlbsb`}],[`path`,{d:`M16 16h5v5`,key:`ccwih5`}]]),Fo=J(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Io=J(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),Lo=J(`shapes`,[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`,key:`1bo67w`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`,key:`w3z12y`}]]),Ro=J(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),zo=J(`sigma`,[[`path`,{d:`M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2`,key:`wuwx1p`}]]),Bo=J(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),Vo=J(`square-play`,[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z`,key:`kmsa83`}]]),Ho=J(`superscript`,[[`path`,{d:`m4 19 8-8`,key:`hr47gm`}],[`path`,{d:`m12 19-8-8`,key:`1dhhmo`}],[`path`,{d:`M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06`,key:`1dfcux`}]]),Uo=J(`table-2`,[[`path`,{d:`M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18`,key:`gugj83`}]]),Wo=J(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),Go=J(`volume-2`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]),Ko=J(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),qo=J(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]),Jo=J(`zoom-in`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`11`,x2:`11`,y1:`8`,y2:`14`,key:`1vmskp`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),Yo=J(`zoom-out`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`line`,{x1:`21`,x2:`16.65`,y1:`21`,y2:`16.65`,key:`13gj7c`}],[`line`,{x1:`8`,x2:`14`,y1:`11`,y2:`11`,key:`durymu`}]]),Xo=t((e=>{var t=r();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:n,a=t.useState,o=t.useEffect,s=t.useLayoutEffect,c=t.useDebugValue;function l(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),Zo=t(((e,t)=>{t.exports=Xo()})),Q=e(r(),1),Qo=e(l(),1);function $o(e,[t,n]){return Math.min(n,Math.max(t,e))}var es=`Popover`,[ts,ns]=Ir(es,[li]),rs=li(),[is,as]=ts(es),os=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=rs(t),c=Q.useRef(null),[l,u]=Q.useState(!1),[d,f]=Mr({prop:r,defaultProp:i??!1,onChange:a,caller:es});return(0,Z.jsx)(pi,{...s,children:(0,Z.jsx)(is,{scope:t,contentId:Ar(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:Q.useCallback(()=>f(e=>!e),[f]),hasCustomAnchor:l,onCustomAnchorAdd:Q.useCallback(()=>u(!0),[]),onCustomAnchorRemove:Q.useCallback(()=>u(!1),[]),modal:o,children:n})})};os.displayName=es;var ss=`PopoverAnchor`,cs=Q.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=as(ss,n),a=rs(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return Q.useEffect(()=>(o(),()=>s()),[o,s]),(0,Z.jsx)(yi,{...a,...r,ref:t})});cs.displayName=ss;var ls=`PopoverTrigger`,us=Q.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=as(ls,n),a=rs(n),o=$t(t,i.triggerRef),s=(0,Z.jsx)(kr.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Ts(i.open),...r,ref:o,onClick:Or(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,Z.jsx)(yi,{asChild:!0,...a,children:s})});us.displayName=ls;var ds=`PopoverPortal`,[fs,ps]=ts(ds,{forceMount:void 0}),ms=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=as(ds,t);return(0,Z.jsx)(fs,{scope:t,forceMount:n,children:(0,Z.jsx)(Dr,{present:n||a.open,children:(0,Z.jsx)(Fr,{asChild:!0,container:i,children:r})})})};ms.displayName=ds;var hs=`PopoverContent`,gs=Q.forwardRef((e,t)=>{let n=ps(hs,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=as(hs,e.__scopePopover);return(0,Z.jsx)(Dr,{present:r||a.open,children:a.modal?(0,Z.jsx)(vs,{...i,ref:t}):(0,Z.jsx)(ys,{...i,ref:t})})});gs.displayName=hs;var _s=en(`PopoverContent.RemoveScroll`),vs=Q.forwardRef((e,t)=>{let n=as(hs,e.__scopePopover),r=Q.useRef(null),i=$t(t,r),a=Q.useRef(!1);return Q.useEffect(()=>{let e=r.current;if(e)return ri(e)},[]),(0,Z.jsx)(ei,{as:_s,allowPinchZoom:!0,children:(0,Z.jsx)(bs,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Or(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:Or(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;a.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:Or(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ys=Q.forwardRef((e,t)=>{let n=as(hs,e.__scopePopover),r=Q.useRef(!1),i=Q.useRef(!1);return(0,Z.jsx)(bs,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),bs=Q.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,f=as(hs,n),p=rs(n);return Zr(),(0,Z.jsx)(Xr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,Z.jsx)(jr,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:(0,Z.jsx)(vi,{"data-state":Ts(f.open),role:`dialog`,id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),xs=`PopoverClose`,Ss=Q.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=as(xs,n);return(0,Z.jsx)(kr.button,{type:`button`,...r,ref:t,onClick:Or(e.onClick,()=>i.onOpenChange(!1))})});Ss.displayName=xs;var Cs=`PopoverArrow`,ws=Q.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=rs(n);return(0,Z.jsx)(gi,{...i,...r,ref:t})});ws.displayName=Cs;function Ts(e){return e?`open`:`closed`}var Es=os,Ds=cs,Os=us,ks=ms,As=gs,js=[` `,`Enter`,`ArrowUp`,`ArrowDown`],Ms=[` `,`Enter`],Ns=`Select`,[Ps,Fs,Is]=Vr(Ns),[Ls,Rs]=Ir(Ns,[Is,li]),zs=li(),[Bs,Vs]=Ls(Ns),[Hs,Us]=Ls(Ns),Ws=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:o,defaultValue:s,onValueChange:c,dir:l,name:u,autoComplete:d,disabled:f,required:p,form:m}=e,h=zs(t),[g,_]=Q.useState(null),[v,y]=Q.useState(null),[b,x]=Q.useState(!1),S=Hr(l),[C,w]=Mr({prop:r,defaultProp:i??!1,onChange:a,caller:Ns}),[T,E]=Mr({prop:o,defaultProp:s,onChange:c,caller:Ns}),D=Q.useRef(null),O=g?m||!!g.closest(`form`):!0,[k,A]=Q.useState(new Set),j=Array.from(k).map(e=>e.props.value).join(`;`);return(0,Z.jsx)(pi,{...h,children:(0,Z.jsxs)(Bs,{required:p,scope:t,trigger:g,onTriggerChange:_,valueNode:v,onValueNodeChange:y,valueNodeHasChildren:b,onValueNodeHasChildrenChange:x,contentId:Ar(),value:T,onValueChange:E,open:C,onOpenChange:w,dir:S,triggerPointerDownPosRef:D,disabled:f,children:[(0,Z.jsx)(Ps.Provider,{scope:t,children:(0,Z.jsx)(Hs,{scope:e.__scopeSelect,onNativeOptionAdd:Q.useCallback(e=>{A(t=>new Set(t).add(e))},[]),onNativeOptionRemove:Q.useCallback(e=>{A(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),O?(0,Z.jsxs)(zc,{"aria-hidden":!0,required:p,tabIndex:-1,name:u,autoComplete:d,value:T,onChange:e=>E(e.target.value),disabled:f,form:m,children:[T===void 0?(0,Z.jsx)(`option`,{value:``}):null,Array.from(k)]},j):null]})})};Ws.displayName=Ns;var Gs=`SelectTrigger`,Ks=Q.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...i}=e,a=zs(n),o=Vs(Gs,n),s=o.disabled||r,c=$t(t,o.onTriggerChange),l=Fs(n),u=Q.useRef(`touch`),[d,f,p]=Vc(e=>{let t=l().filter(e=>!e.disabled),n=Hc(t,e,t.find(e=>e.value===o.value));n!==void 0&&o.onValueChange(n.value)}),m=e=>{s||(o.onOpenChange(!0),p()),e&&(o.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,Z.jsx)(yi,{asChild:!0,...a,children:(0,Z.jsx)(kr.button,{type:`button`,role:`combobox`,"aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":`none`,dir:o.dir,"data-state":o.open?`open`:`closed`,disabled:s,"data-disabled":s?``:void 0,"data-placeholder":Bc(o.value)?``:void 0,...i,ref:c,onClick:Or(i.onClick,e=>{e.currentTarget.focus(),u.current!==`mouse`&&m(e)}),onPointerDown:Or(i.onPointerDown,e=>{u.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&e.pointerType===`mouse`&&(m(e),e.preventDefault())}),onKeyDown:Or(i.onKeyDown,e=>{let t=d.current!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&f(e.key),!(t&&e.key===` `)&&js.includes(e.key)&&(m(),e.preventDefault())})})})});Ks.displayName=Gs;var qs=`SelectValue`,Js=Q.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:a,placeholder:o=``,...s}=e,c=Vs(qs,n),{onValueNodeHasChildrenChange:l}=c,u=a!==void 0,d=$t(t,c.onValueNodeChange);return Pr(()=>{l(u)},[l,u]),(0,Z.jsx)(kr.span,{...s,ref:d,style:{pointerEvents:`none`},children:Bc(c.value)?(0,Z.jsx)(Z.Fragment,{children:o}):a})});Js.displayName=qs;var Ys=`SelectIcon`,Xs=Q.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...i}=e;return(0,Z.jsx)(kr.span,{"aria-hidden":!0,...i,ref:t,children:r||`▼`})});Xs.displayName=Ys;var Zs=`SelectPortal`,Qs=e=>(0,Z.jsx)(Fr,{asChild:!0,...e});Qs.displayName=Zs;var $s=`SelectContent`,ec=Q.forwardRef((e,t)=>{let n=Vs($s,e.__scopeSelect),[r,i]=Q.useState();if(Pr(()=>{i(new DocumentFragment)},[]),!n.open){let t=r;return t?Qo.createPortal((0,Z.jsx)(nc,{scope:e.__scopeSelect,children:(0,Z.jsx)(Ps.Slot,{scope:e.__scopeSelect,children:(0,Z.jsx)(`div`,{children:e.children})})}),t):null}return(0,Z.jsx)(oc,{...e,ref:t})});ec.displayName=$s;var tc=10,[nc,rc]=Ls($s),ic=`SelectContentImpl`,ac=en(`SelectContent.RemoveScroll`),oc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,position:r=`item-aligned`,onCloseAutoFocus:i,onEscapeKeyDown:a,onPointerDownOutside:o,side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:f,collisionPadding:p,sticky:m,hideWhenDetached:h,avoidCollisions:g,..._}=e,v=Vs($s,n),[y,b]=Q.useState(null),[x,S]=Q.useState(null),C=$t(t,e=>b(e)),[w,T]=Q.useState(null),[E,D]=Q.useState(null),O=Fs(n),[k,A]=Q.useState(!1),j=Q.useRef(!1);Q.useEffect(()=>{if(y)return ri(y)},[y]),Zr();let M=Q.useCallback(e=>{let[t,...n]=O().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:`nearest`}),n===t&&x&&(x.scrollTop=0),n===r&&x&&(x.scrollTop=x.scrollHeight),n?.focus(),document.activeElement!==i))return},[O,x]),N=Q.useCallback(()=>M([w,y]),[M,w,y]);Q.useEffect(()=>{k&&N()},[k,N]);let{onOpenChange:P,triggerPointerDownPosRef:F}=v;Q.useEffect(()=>{if(y){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(F.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(F.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():y.contains(n.target)||P(!1),document.removeEventListener(`pointermove`,t),F.current=null};return F.current!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})}}},[y,P,F]),Q.useEffect(()=>{let e=()=>P(!1);return window.addEventListener(`blur`,e),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`blur`,e),window.removeEventListener(`resize`,e)}},[P]);let[I,L]=Vc(e=>{let t=O().filter(e=>!e.disabled),n=Hc(t,e,t.find(e=>e.ref.current===document.activeElement));n&&setTimeout(()=>n.ref.current.focus())}),ee=Q.useCallback((e,t,n)=>{let r=!j.current&&!n;(v.value!==void 0&&v.value===t||r)&&(T(e),r&&(j.current=!0))},[v.value]),R=Q.useCallback(()=>y?.focus(),[y]),z=Q.useCallback((e,t,n)=>{let r=!j.current&&!n;(v.value!==void 0&&v.value===t||r)&&D(e)},[v.value]),B=r===`popper`?uc:cc,V=B===uc?{side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:f,collisionPadding:p,sticky:m,hideWhenDetached:h,avoidCollisions:g}:{};return(0,Z.jsx)(nc,{scope:n,content:y,viewport:x,onViewportChange:S,itemRefCallback:ee,selectedItem:w,onItemLeave:R,itemTextRefCallback:z,focusSelectedItem:N,selectedItemText:E,position:r,isPositioned:k,searchRef:I,children:(0,Z.jsx)(ei,{as:ac,allowPinchZoom:!0,children:(0,Z.jsx)(Xr,{asChild:!0,trapped:v.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:Or(i,e=>{v.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,Z.jsx)(jr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:(0,Z.jsx)(B,{role:`listbox`,id:v.contentId,"data-state":v.open?`open`:`closed`,dir:v.dir,onContextMenu:e=>e.preventDefault(),..._,...V,onPlaced:()=>A(!0),ref:C,style:{display:`flex`,flexDirection:`column`,outline:`none`,..._.style},onKeyDown:Or(_.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&L(e.key),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=O().filter(e=>!e.disabled).map(e=>e.ref.current);if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>M(t)),e.preventDefault()}})})})})})})});oc.displayName=ic;var sc=`SelectItemAlignedPosition`,cc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...i}=e,a=Vs($s,n),o=rc($s,n),[s,c]=Q.useState(null),[l,u]=Q.useState(null),d=$t(t,e=>u(e)),f=Fs(n),p=Q.useRef(!1),m=Q.useRef(!0),{viewport:h,selectedItem:g,selectedItemText:_,focusSelectedItem:v}=o,y=Q.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&l&&h&&g&&_){let e=a.trigger.getBoundingClientRect(),t=l.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),i=_.getBoundingClientRect();if(a.dir!==`rtl`){let r=i.left-t.left,a=n.left-r,o=e.left-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-tc,d=$o(a,[tc,Math.max(tc,u-l)]);s.style.minWidth=c+`px`,s.style.left=d+`px`}else{let r=t.right-i.right,a=window.innerWidth-n.right-r,o=window.innerWidth-e.right-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-tc,d=$o(a,[tc,Math.max(tc,u-l)]);s.style.minWidth=c+`px`,s.style.right=d+`px`}let o=f(),c=window.innerHeight-tc*2,u=h.scrollHeight,d=window.getComputedStyle(l),m=parseInt(d.borderTopWidth,10),v=parseInt(d.paddingTop,10),y=parseInt(d.borderBottomWidth,10),b=parseInt(d.paddingBottom,10),x=m+v+u+b+y,S=Math.min(g.offsetHeight*5,x),C=window.getComputedStyle(h),w=parseInt(C.paddingTop,10),T=parseInt(C.paddingBottom,10),E=e.top+e.height/2-tc,D=c-E,O=g.offsetHeight/2,k=g.offsetTop+O,A=m+v+k,j=x-A;if(A<=E){let e=o.length>0&&g===o[o.length-1].ref.current;s.style.bottom=`0px`;let t=l.clientHeight-h.offsetTop-h.offsetHeight,n=A+Math.max(D,O+(e?T:0)+t+y);s.style.height=n+`px`}else{let e=o.length>0&&g===o[0].ref.current;s.style.top=`0px`;let t=Math.max(E,m+h.offsetTop+(e?w:0)+O)+j;s.style.height=t+`px`,h.scrollTop=A-E+h.offsetTop}s.style.margin=`${tc}px 0`,s.style.minHeight=S+`px`,s.style.maxHeight=c+`px`,r?.(),requestAnimationFrame(()=>p.current=!0)}},[f,a.trigger,a.valueNode,s,l,h,g,_,a.dir,r]);Pr(()=>y(),[y]);let[b,x]=Q.useState();return Pr(()=>{l&&x(window.getComputedStyle(l).zIndex)},[l]),(0,Z.jsx)(dc,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:p,onScrollButtonChange:Q.useCallback(e=>{e&&m.current===!0&&(y(),v?.(),m.current=!1)},[y,v]),children:(0,Z.jsx)(`div`,{ref:c,style:{display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:b},children:(0,Z.jsx)(kr.div,{...i,ref:d,style:{boxSizing:`border-box`,maxHeight:`100%`,...i.style}})})})});cc.displayName=sc;var lc=`SelectPopperPosition`,uc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,align:r=`start`,collisionPadding:i=tc,...a}=e,o=zs(n);return(0,Z.jsx)(vi,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:`border-box`,...a.style,"--radix-select-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-select-content-available-width":`var(--radix-popper-available-width)`,"--radix-select-content-available-height":`var(--radix-popper-available-height)`,"--radix-select-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-select-trigger-height":`var(--radix-popper-anchor-height)`}})});uc.displayName=lc;var[dc,fc]=Ls($s,{}),pc=`SelectViewport`,mc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...i}=e,a=rc(pc,n),o=fc(pc,n),s=$t(t,a.onViewportChange),c=Q.useRef(0);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`},nonce:r}),(0,Z.jsx)(Ps.Slot,{scope:n,children:(0,Z.jsx)(kr.div,{"data-radix-select-viewport":``,role:`presentation`,...i,ref:s,style:{position:`relative`,flex:1,overflow:`hidden auto`,...i.style},onScroll:Or(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=o;if(r?.current&&n){let e=Math.abs(c.current-t.scrollTop);if(e>0){let r=window.innerHeight-tc*2,i=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),o=Math.max(i,a);if(o<r){let i=o+e,a=Math.min(r,i),s=i-a;n.style.height=a+`px`,n.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,n.style.justifyContent=`flex-end`)}}}c.current=t.scrollTop})})})]})});mc.displayName=pc;var hc=`SelectGroup`,[gc,_c]=Ls(hc),vc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=Ar();return(0,Z.jsx)(gc,{scope:n,id:i,children:(0,Z.jsx)(kr.div,{role:`group`,"aria-labelledby":i,...r,ref:t})})});vc.displayName=hc;var yc=`SelectLabel`,bc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=_c(yc,n);return(0,Z.jsx)(kr.div,{id:i.id,...r,ref:t})});bc.displayName=yc;var xc=`SelectItem`,[Sc,Cc]=Ls(xc),wc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...o}=e,s=Vs(xc,n),c=rc(xc,n),l=s.value===r,[u,d]=Q.useState(a??``),[f,p]=Q.useState(!1),m=$t(t,e=>c.itemRefCallback?.(e,r,i)),h=Ar(),g=Q.useRef(`touch`),_=()=>{i||(s.onValueChange(r),s.onOpenChange(!1))};if(r===``)throw Error(`A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(0,Z.jsx)(Sc,{scope:n,value:r,disabled:i,textId:h,isSelected:l,onItemTextChange:Q.useCallback(e=>{d(t=>t||(e?.textContent??``).trim())},[]),children:(0,Z.jsx)(Ps.ItemSlot,{scope:n,value:r,disabled:i,textValue:u,children:(0,Z.jsx)(kr.div,{role:`option`,"aria-labelledby":h,"data-highlighted":f?``:void 0,"aria-selected":l&&f,"data-state":l?`checked`:`unchecked`,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,tabIndex:i?void 0:-1,...o,ref:m,onFocus:Or(o.onFocus,()=>p(!0)),onBlur:Or(o.onBlur,()=>p(!1)),onClick:Or(o.onClick,()=>{g.current!==`mouse`&&_()}),onPointerUp:Or(o.onPointerUp,()=>{g.current===`mouse`&&_()}),onPointerDown:Or(o.onPointerDown,e=>{g.current=e.pointerType}),onPointerMove:Or(o.onPointerMove,e=>{g.current=e.pointerType,i?c.onItemLeave?.():g.current===`mouse`&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Or(o.onPointerLeave,e=>{e.currentTarget===document.activeElement&&c.onItemLeave?.()}),onKeyDown:Or(o.onKeyDown,e=>{c.searchRef?.current!==``&&e.key===` `||(Ms.includes(e.key)&&_(),e.key===` `&&e.preventDefault())})})})})});wc.displayName=xc;var Tc=`SelectItemText`,Ec=Q.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,...a}=e,o=Vs(Tc,n),s=rc(Tc,n),c=Cc(Tc,n),l=Us(Tc,n),[u,d]=Q.useState(null),f=$t(t,e=>d(e),c.onItemTextChange,e=>s.itemTextRefCallback?.(e,c.value,c.disabled)),p=u?.textContent,m=Q.useMemo(()=>(0,Z.jsx)(`option`,{value:c.value,disabled:c.disabled,children:p},c.value),[c.disabled,c.value,p]),{onNativeOptionAdd:h,onNativeOptionRemove:g}=l;return Pr(()=>(h(m),()=>g(m)),[h,g,m]),(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(kr.span,{id:c.textId,...a,ref:f}),c.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Qo.createPortal(a.children,o.valueNode):null]})});Ec.displayName=Tc;var Dc=`SelectItemIndicator`,Oc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return Cc(Dc,n).isSelected?(0,Z.jsx)(kr.span,{"aria-hidden":!0,...r,ref:t}):null});Oc.displayName=Dc;var kc=`SelectScrollUpButton`,Ac=Q.forwardRef((e,t)=>{let n=rc(kc,e.__scopeSelect),r=fc(kc,e.__scopeSelect),[i,a]=Q.useState(!1),o=$t(t,r.onScrollButtonChange);return Pr(()=>{if(n.viewport&&n.isPositioned){let e=function(){a(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,Z.jsx)(Nc,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop-=t.offsetHeight)}}):null});Ac.displayName=kc;var jc=`SelectScrollDownButton`,Mc=Q.forwardRef((e,t)=>{let n=rc(jc,e.__scopeSelect),r=fc(jc,e.__scopeSelect),[i,a]=Q.useState(!1),o=$t(t,r.onScrollButtonChange);return Pr(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,Z.jsx)(Nc,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop+=t.offsetHeight)}}):null});Mc.displayName=jc;var Nc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...i}=e,a=rc(`SelectScrollButton`,n),o=Q.useRef(null),s=Fs(n),c=Q.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return Q.useEffect(()=>()=>c(),[c]),Pr(()=>{s().find(e=>e.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:`nearest`})},[s]),(0,Z.jsx)(kr.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:Or(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:Or(i.onPointerMove,()=>{a.onItemLeave?.(),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:Or(i.onPointerLeave,()=>{c()})})}),Pc=`SelectSeparator`,Fc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,Z.jsx)(kr.div,{"aria-hidden":!0,...r,ref:t})});Fc.displayName=Pc;var Ic=`SelectArrow`,Lc=Q.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=zs(n),a=Vs(Ic,n),o=rc(Ic,n);return a.open&&o.position===`popper`?(0,Z.jsx)(gi,{...i,...r,ref:t}):null});Lc.displayName=Ic;var Rc=`SelectBubbleInput`,zc=Q.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{let i=Q.useRef(null),a=$t(r,i),o=ci(t);return Q.useEffect(()=>{let e=i.current;if(!e)return;let n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,`value`).set;if(o!==t&&r){let n=new Event(`change`,{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[o,t]),(0,Z.jsx)(kr.select,{...n,style:{...Lr,...n.style},ref:a,defaultValue:t})});zc.displayName=Rc;function Bc(e){return e===``||e===void 0}function Vc(e){let t=Nr(e),n=Q.useRef(``),r=Q.useRef(0),i=Q.useCallback(e=>{let i=n.current+e;t(i),(function e(t){n.current=t,window.clearTimeout(r.current),t!==``&&(r.current=window.setTimeout(()=>e(``),1e3))})(i)},[t]),a=Q.useCallback(()=>{n.current=``,window.clearTimeout(r.current)},[]);return Q.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}function Hc(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Uc(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Uc(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Wc=Ws,Gc=Ks,Kc=Js,qc=Xs,Jc=Qs,Yc=ec,Xc=mc,Zc=wc,Qc=Ec,$c=Oc,el=Ac,tl=Mc,nl=`Switch`,[rl,il]=Ir(nl),[al,ol]=rl(nl),sl=Q.forwardRef((e,t)=>{let{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c=`on`,onCheckedChange:l,form:u,...d}=e,[f,p]=Q.useState(null),m=$t(t,e=>p(e)),h=Q.useRef(!1),g=f?u||!!f.closest(`form`):!0,[_,v]=Mr({prop:i,defaultProp:a??!1,onChange:l,caller:nl});return(0,Z.jsxs)(al,{scope:n,checked:_,disabled:s,children:[(0,Z.jsx)(kr.button,{type:`button`,role:`switch`,"aria-checked":_,"aria-required":o,"data-state":fl(_),"data-disabled":s?``:void 0,disabled:s,value:c,...d,ref:m,onClick:Or(e.onClick,e=>{v(e=>!e),g&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})}),g&&(0,Z.jsx)(dl,{control:f,bubbles:!h.current,name:r,value:c,checked:_,required:o,disabled:s,form:u,style:{transform:`translateX(-100%)`}})]})});sl.displayName=nl;var cl=`SwitchThumb`,ll=Q.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,i=ol(cl,n);return(0,Z.jsx)(kr.span,{"data-state":fl(i.checked),"data-disabled":i.disabled?``:void 0,...r,ref:t})});ll.displayName=cl;var ul=`SwitchBubbleInput`,dl=Q.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...i},a)=>{let o=Q.useRef(null),s=$t(o,a),c=ci(n),l=di(t);return Q.useEffect(()=>{let e=o.current;if(!e)return;let t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,`checked`).set;if(c!==n&&i){let t=new Event(`click`,{bubbles:r});i.call(e,n),e.dispatchEvent(t)}},[c,n,r]),(0,Z.jsx)(`input`,{type:`checkbox`,"aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...i.style,...l,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}})});dl.displayName=ul;function fl(e){return e?`checked`:`unchecked`}var pl=sl,ml=ll,$=a(),hl=Zo(),{getOwnPropertyNames:gl,getOwnPropertySymbols:_l}=Object,{hasOwnProperty:vl}=Object.prototype;function yl(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function bl(e){return function(t,n,r){if(!t||!n||typeof t!=`object`||typeof n!=`object`)return e(t,n,r);let{cache:i}=r,a=i.get(t),o=i.get(n);if(a&&o)return a===n&&o===t;i.set(t,n),i.set(n,t);let s=e(t,n,r);return i.delete(t),i.delete(n),s}}function xl(e){return e?.[Symbol.toStringTag]}function Sl(e){return gl(e).concat(_l(e))}var Cl=Object.hasOwn||((e,t)=>vl.call(e,t));function wl(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var Tl=`__v`,El=`__o`,Dl=`_owner`,{getOwnPropertyDescriptor:Ol,keys:kl}=Object;function Al(e,t){return e.byteLength===t.byteLength&&Ul(new Uint8Array(e),new Uint8Array(t))}function jl(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function Ml(e,t){return e.byteLength===t.byteLength&&Ul(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function Nl(e,t){return wl(e.getTime(),t.getTime())}function Pl(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Fl(e,t){return e===t}function Il(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.entries(),o,s,c=0;for(;(o=a.next())&&!o.done;){let r=t.entries(),a=!1,l=0;for(;(s=r.next())&&!s.done;){if(i[l]){l++;continue}let r=o.value,u=s.value;if(n.equals(r[0],u[0],c,l,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){a=i[l]=!0;break}l++}if(!a)return!1;c++}return!0}var Ll=wl;function Rl(e,t,n){let r=kl(e),i=r.length;if(kl(t).length!==i)return!1;for(;i-- >0;)if(!Gl(e,t,n,r[i]))return!1;return!0}function zl(e,t,n){let r=Sl(e),i=r.length;if(Sl(t).length!==i)return!1;let a,o,s;for(;i-- >0;)if(a=r[i],!Gl(e,t,n,a)||(o=Ol(e,a),s=Ol(t,a),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function Bl(e,t){return wl(e.valueOf(),t.valueOf())}function Vl(e,t){return e.source===t.source&&e.flags===t.flags}function Hl(e,t,n){let r=e.size;if(r!==t.size)return!1;if(!r)return!0;let i=Array(r),a=e.values(),o,s;for(;(o=a.next())&&!o.done;){let r=t.values(),a=!1,c=0;for(;(s=r.next())&&!s.done;){if(!i[c]&&n.equals(o.value,s.value,o.value,s.value,e,t,n)){a=i[c]=!0;break}c++}if(!a)return!1}return!0}function Ul(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function Wl(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function Gl(e,t,n,r){return(r===Dl||r===El||r===Tl)&&(e.$$typeof||t.$$typeof)?!0:Cl(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var Kl=`[object ArrayBuffer]`,ql=`[object Arguments]`,Jl=`[object Boolean]`,Yl=`[object DataView]`,Xl=`[object Date]`,Zl=`[object Error]`,Ql=`[object Map]`,$l=`[object Number]`,eu=`[object Object]`,tu=`[object RegExp]`,nu=`[object Set]`,ru=`[object String]`,iu={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},au=`[object URL]`,ou=Object.prototype.toString;function su({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:s,areObjectsEqual:c,arePrimitiveWrappersEqual:l,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:f,areUrlsEqual:p,unknownTagComparators:m}){return function(h,g,_){if(h===g)return!0;if(h==null||g==null)return!1;let v=typeof h;if(v!==typeof g)return!1;if(v!==`object`)return v===`number`?s(h,g,_):v===`function`?a(h,g,_):!1;let y=h.constructor;if(y!==g.constructor)return!1;if(y===Object)return c(h,g,_);if(Array.isArray(h))return t(h,g,_);if(y===Date)return r(h,g,_);if(y===RegExp)return u(h,g,_);if(y===Map)return o(h,g,_);if(y===Set)return d(h,g,_);let b=ou.call(h);if(b===Xl)return r(h,g,_);if(b===tu)return u(h,g,_);if(b===Ql)return o(h,g,_);if(b===nu)return d(h,g,_);if(b===eu)return typeof h.then!=`function`&&typeof g.then!=`function`&&c(h,g,_);if(b===au)return p(h,g,_);if(b===Zl)return i(h,g,_);if(b===ql)return c(h,g,_);if(iu[b])return f(h,g,_);if(b===Kl)return e(h,g,_);if(b===Yl)return n(h,g,_);if(b===Jl||b===$l||b===ru)return l(h,g,_);if(m){let e=m[b];if(!e){let t=xl(h);t&&(e=m[t])}if(e)return e(h,g,_)}return!1}}function cu({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:Al,areArraysEqual:n?zl:jl,areDataViewsEqual:Ml,areDatesEqual:Nl,areErrorsEqual:Pl,areFunctionsEqual:Fl,areMapsEqual:n?yl(Il,zl):Il,areNumbersEqual:Ll,areObjectsEqual:n?zl:Rl,arePrimitiveWrappersEqual:Bl,areRegExpsEqual:Vl,areSetsEqual:n?yl(Hl,zl):Hl,areTypedArraysEqual:n?yl(Ul,zl):Ul,areUrlsEqual:Wl,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){let e=bl(r.areArraysEqual),t=bl(r.areMapsEqual),n=bl(r.areObjectsEqual),i=bl(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:i})}return r}function lu(e){return function(t,n,r,i,a,o,s){return e(t,n,s)}}function uu({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(a,o){let{cache:s=e?new WeakMap:void 0,meta:c}=n();return t(a,o,{cache:s,equals:r,meta:c,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};let a={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,a)}}var du=fu();fu({strict:!0}),fu({circular:!0}),fu({circular:!0,strict:!0}),fu({createInternalComparator:()=>wl}),fu({strict:!0,createInternalComparator:()=>wl}),fu({circular:!0,createInternalComparator:()=>wl}),fu({circular:!0,createInternalComparator:()=>wl,strict:!0});function fu(e={}){let{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,a=su(cu(e));return uu({circular:t,comparator:a,createState:r,equals:n?n(a):lu(a),strict:i})}var pu=t((e=>{var t=r(),n=Zo();function i(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var a=typeof Object.is==`function`?Object.is:i,o=n.useSyncExternalStore,s=t.useRef,c=t.useEffect,l=t.useMemo,u=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!o){if(o=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,a(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var o=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=o(e,d[0],d[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}})),mu=t(((e,t)=>{t.exports=pu()}))(),hu=(...e)=>t=>{e.forEach(e=>{typeof e==`function`?e(t):e&&(e.current=t)})},gu=({contentComponent:e})=>{let t=(0,hl.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getServerSnapshot);return(0,Z.jsx)(Z.Fragment,{children:Object.values(t)})};function _u(){let e=new Set,t={};return{subscribe(t){return e.add(t),()=>{e.delete(t)}},getSnapshot(){return t},getServerSnapshot(){return t},setRenderer(n,r){t={...t,[n]:Qo.createPortal(r.reactElement,r.element,n)},e.forEach(e=>e())},removeRenderer(n){let r={...t};delete r[n],t=r,e.forEach(e=>e())}}}var vu=class extends Q.Component{constructor(e){super(e),this.editorContentRef=Q.createRef()}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){let e=this.props.editor;if(e&&!e.isDestroyed&&e.view.dom?.parentNode){if(e.contentComponent)return;let t=this.editorContentRef.current;t.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:t}),e.contentComponent=_u(),e.createNodeViews(),e.isEditorContentInitialized=!0,this.forceUpdate()}}componentWillUnmount(){let e=this.props.editor;if(e){e.isEditorContentInitialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),e.contentComponent=null;try{if(!e.view.dom?.parentNode)return;let t=document.createElement(`div`);t.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:t})}catch{}}}render(){let{editor:e,innerRef:t,...n}=this.props;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{ref:hu(t,this.editorContentRef),...n}),e?.contentComponent&&(0,Z.jsx)(gu,{contentComponent:e.contentComponent})]})}},yu=(0,Q.forwardRef)((e,t)=>{let n=Q.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[e.editor]);return Q.createElement(vu,{key:n,innerRef:t,...e})}),bu=Q.memo(yu),xu=typeof window<`u`?Q.useLayoutEffect:Q.useEffect,Su=class{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){let e=()=>{this.transactionNumber+=1,this.subscribers.forEach(e=>e())},t=this.editor;return t.on(`transaction`,e),()=>{t.off(`transaction`,e)}}}};function Cu(e){let[t]=(0,Q.useState)(()=>new Su(e.editor)),n=(0,mu.useSyncExternalStoreWithSelector)(t.subscribe,t.getSnapshot,t.getServerSnapshot,e.selector,e.equalityFn??du);return xu(()=>t.watch(e.editor),[e.editor,t]),(0,Q.useDebugValue)(n),n}var wu=!1,Tu=typeof window>`u`,Eu=Tu||!!(typeof window<`u`&&window.next),Du=class e{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId=``,this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(e=>e())}getInitialEditor(){if(this.options.current.immediatelyRender===void 0){if(Tu||Eu){if(wu)throw Error("Tiptap Error: SSR has been detected, please set `immediatelyRender` explicitly to `false` to avoid hydration mismatches.");return null}return this.createEditor()}if(this.options.current.immediatelyRender&&Tu&&wu)throw Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.");return this.options.current.immediatelyRender?this.createEditor():null}createEditor(){return new P({...this.options.current,onBeforeCreate:(...e)=>{var t;return(t=this.options.current).onBeforeCreate?.call(t,...e)},onBlur:(...e)=>{var t;return(t=this.options.current).onBlur?.call(t,...e)},onCreate:(...e)=>{var t;return(t=this.options.current).onCreate?.call(t,...e)},onDestroy:(...e)=>{var t;return(t=this.options.current).onDestroy?.call(t,...e)},onFocus:(...e)=>{var t;return(t=this.options.current).onFocus?.call(t,...e)},onSelectionUpdate:(...e)=>{var t;return(t=this.options.current).onSelectionUpdate?.call(t,...e)},onTransaction:(...e)=>{var t;return(t=this.options.current).onTransaction?.call(t,...e)},onUpdate:(...e)=>{var t;return(t=this.options.current).onUpdate?.call(t,...e)},onContentError:(...e)=>{var t;return(t=this.options.current).onContentError?.call(t,...e)},onDrop:(...e)=>{var t;return(t=this.options.current).onDrop?.call(t,...e)},onPaste:(...e)=>{var t;return(t=this.options.current).onPaste?.call(t,...e)},onDelete:(...e)=>{var t;return(t=this.options.current).onDelete?.call(t,...e)}})}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every(n=>[`onCreate`,`onBeforeCreate`,`onDestroy`,`onUpdate`,`onTransaction`,`onFocus`,`onBlur`,`onSelectionUpdate`,`onContentError`,`onDrop`,`onPaste`].includes(n)?!0:n===`extensions`&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length?e.extensions.every((e,n)=>e===t.extensions?.[n]):!1:e[n]===t[n])}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&t.length===0?e.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(t),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((t,n)=>t===e[n]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){let e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){t&&t.setOptions(this.options.current);return}t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function Ou(e={},t=[]){let n=(0,Q.useRef)(e);n.current=e;let[r]=(0,Q.useState)(()=>new Du(n)),i=(0,hl.useSyncExternalStore)(r.subscribe,r.getEditor,r.getServerSnapshot);return(0,Q.useDebugValue)(i),(0,Q.useEffect)(r.onRender(t)),Cu({editor:i,selector:({transactionNumber:t})=>e.shouldRerenderOnTransaction===!1||e.shouldRerenderOnTransaction===void 0?null:e.immediatelyRender&&t===0?0:t+1}),i}var ku=(0,Q.createContext)({editor:null});ku.Consumer;var Au=()=>(0,Q.useContext)(ku),ju=(0,Q.createContext)({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),Mu=()=>(0,Q.useContext)(ju);function Nu({as:e=`div`,...t}){let{nodeViewContentRef:n,nodeViewContentChildren:r}=Mu();return(0,Z.jsx)(e,{...t,ref:n,"data-node-view-content":``,style:{whiteSpace:`pre-wrap`,...t.style},children:r})}var Pu=Q.forwardRef((e,t)=>{let{onDragStart:n}=Mu();return(0,Z.jsx)(e.as||`div`,{...e,ref:t,"data-node-view-wrapper":``,onDragStart:n,style:{whiteSpace:`normal`,...e.style}})});function Fu(e){return!!(typeof e==`function`&&e.prototype&&e.prototype.isReactComponent)}function Iu(e){return!!(typeof e==`object`&&e.$$typeof&&(e.$$typeof.toString()===`Symbol(react.forward_ref)`||e.$$typeof.description===`react.forward_ref`))}function Lu(e){return!!(typeof e==`object`&&e.$$typeof&&(e.$$typeof.toString()===`Symbol(react.memo)`||e.$$typeof.description===`react.memo`))}function Ru(e){if(Fu(e)||Iu(e))return!0;if(Lu(e)){let t=e.type;if(t)return Fu(t)||Iu(t)}return!1}function zu(){try{if(Q.version)return parseInt(Q.version.split(`.`)[0],10)>=19}catch{}return!1}var Bu=class{constructor(e,{editor:t,props:n={},as:r=`div`,className:i=``}){this.ref=null,this.destroyed=!1,this.id=Math.floor(Math.random()*4294967295).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(r),this.element.classList.add(`react-renderer`),i&&this.element.classList.add(...i.split(` `)),this.editor.isEditorContentInitialized?(0,Qo.flushSync)(()=>{this.render()}):queueMicrotask(()=>{this.destroyed||this.render()})}render(){var e;if(this.destroyed)return;let t=this.component,n=this.props,r=this.editor,i=zu(),a=Ru(t),o={...n};o.ref&&!(i||a)&&delete o.ref,!o.ref&&(i||a)&&(o.ref=e=>{this.ref=e}),this.reactElement=(0,Z.jsx)(t,{...o}),(e=r?.contentComponent)==null||e.setRenderer(this.id,this)}updateProps(e={}){this.destroyed||(this.props={...this.props,...e},this.render())}destroy(){var e;this.destroyed=!0,(e=this.editor?.contentComponent)==null||e.removeRenderer(this.id);try{this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}catch{}}updateAttributes(e){Object.keys(e).forEach(t=>{this.element.setAttribute(t,e[t])})}};Q.createContext({markViewContentRef:()=>{}});var Vu=class extends wt{constructor(e,t,n){if(super(e,t,n),this.selectionRafId=null,this.positionCheckCallback=null,this.cachedExtensionWithSyncedStorage=null,!this.node.isLeaf){this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?`span`:`div`),this.contentDOMElement.dataset.nodeViewContentReact=``,this.contentDOMElement.dataset.nodeViewWrapper=``,this.contentDOMElement.style.whiteSpace=`inherit`;let e=this.dom.querySelector(`[data-node-view-content]`);if(!e)return;e.appendChild(this.contentDOMElement)}}get extensionWithSyncedStorage(){if(!this.cachedExtensionWithSyncedStorage){let e=this.editor,t=this.extension;this.cachedExtensionWithSyncedStorage=new Proxy(t,{get(n,r,i){return r===`storage`?e.storage[t.name]??{}:Reflect.get(n,r,i)}})}return this.cachedExtensionWithSyncedStorage}mount(){let e={editor:this.editor,node:this.node,decorations:this.decorations,innerDecorations:this.innerDecorations,view:this.view,selected:!1,extension:this.extensionWithSyncedStorage,HTMLAttributes:this.HTMLAttributes,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode(),ref:(0,Q.createRef)()};if(!this.component.displayName){let e=e=>e.charAt(0).toUpperCase()+e.substring(1);this.component.displayName=e(this.extension.name)}let t={onDragStart:this.onDragStart.bind(this),nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&(e.hasAttribute(`data-node-view-wrapper`)&&e.removeAttribute(`data-node-view-wrapper`),e.appendChild(this.contentDOMElement))}},n=this.component,r=(0,Q.memo)(e=>(0,Z.jsx)(ju.Provider,{value:t,children:(0,Q.createElement)(n,e)}));r.displayName=`ReactNodeView`;let i=this.node.isInline?`span`:`div`;this.options.as&&(i=this.options.as);let{className:a=``}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.renderer=new Bu(r,{editor:this.editor,props:e,as:i,className:`node-${this.node.type.name} ${a}`.trim()}),this.editor.on(`selectionUpdate`,this.handleSelectionUpdate),this.updateElementAttributes(),this.currentPos=this.getPos(),this.positionCheckCallback=()=>{let e=this.getPos();typeof e!=`number`||e===this.currentPos||(this.currentPos=e,this.renderer.updateProps({getPos:()=>this.getPos()}),typeof this.options.attrs==`function`&&this.updateElementAttributes())},We(this.editor,this.positionCheckCallback)}get dom(){if(this.renderer.element.firstElementChild&&!this.renderer.element.firstElementChild?.hasAttribute(`data-node-view-wrapper`))throw Error(`Please use the NodeViewWrapper component for your node view.`);return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){this.selectionRafId&&=(cancelAnimationFrame(this.selectionRafId),null),this.selectionRafId=requestAnimationFrame(()=>{this.selectionRafId=null;let{from:e,to:t}=this.editor.state.selection,n=this.currentPos;if(typeof n==`number`)if(e<=n&&t>=n+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}})}update(e,t,n){let r=e=>{this.renderer.updateProps(e),typeof this.options.attrs==`function`&&this.updateElementAttributes()};if(e.type!==this.node.type)return!1;if(typeof this.options.update==`function`){let i=this.node,a=this.decorations,o=this.innerDecorations;return this.node=e,this.decorations=t,this.innerDecorations=n,this.currentPos=this.getPos(),this.options.update({oldNode:i,oldDecorations:a,newNode:e,newDecorations:t,oldInnerDecorations:o,innerDecorations:n,updateProps:()=>r({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage})})}let i=this.getPos();return e===this.node&&this.decorations===t&&this.innerDecorations===n?i===this.currentPos?!0:(this.currentPos=i,r({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage,getPos:()=>this.getPos()}),!0):(this.node=e,this.decorations=t,this.innerDecorations=n,this.currentPos=i,r({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage}),!0)}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add(`ProseMirror-selectednode`)}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove(`ProseMirror-selectednode`)}destroy(){this.renderer.destroy(),this.editor.off(`selectionUpdate`,this.handleSelectionUpdate),this.positionCheckCallback&&=(B(this.editor,this.positionCheckCallback),null),this.contentDOMElement=null,this.selectionRafId&&=(cancelAnimationFrame(this.selectionRafId),null)}updateElementAttributes(){if(this.options.attrs){let e={};if(typeof this.options.attrs==`function`){let t=this.editor.extensionManager.attributes,n=At(this.node,t);e=this.options.attrs({node:this.node,HTMLAttributes:n})}else e=this.options.attrs;this.renderer.updateAttributes(e)}}};function Hu(e,t){return n=>n.editor.contentComponent?new Vu(e,n,t):{}}var Uu=(0,Q.createContext)({get editor(){throw Error(`useTiptap must be used within a <Tiptap> provider`)}});Uu.displayName=`TiptapContext`;var Wu=()=>(0,Q.useContext)(Uu);function Gu({editor:e,instance:t,children:n}){let r=e??t;if(!r)throw Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");let i=(0,Q.useMemo)(()=>({editor:r}),[r]),a=(0,Q.useMemo)(()=>({editor:r}),[r]);return(0,Z.jsx)(ku.Provider,{value:a,children:(0,Z.jsx)(Uu.Provider,{value:i,children:n})})}Gu.displayName=`Tiptap`;function Ku({...e}){let{editor:t}=Wu();return(0,Z.jsx)(bu,{editor:t,...e})}Ku.displayName=`Tiptap.Content`,Object.assign(Gu,{Content:Ku});function qu(e){let{char:t,allowSpaces:n,allowToIncludeChar:r,allowedPrefixes:i,startOfLine:a,$position:o}=e,s=n&&!r,c=Ee(t),l=RegExp(`\\s${c}$`),u=a?`^`:``,d=r?``:c,f=RegExp(s?`${u}${c}.*?(?=\\s${d}|$)`:`${u}(?:^)?${c}[^\\s${d}]*`,`gm`),p=o.nodeBefore?.isText&&o.nodeBefore.text;if(!p)return null;let m=o.pos-p.length,h=Array.from(p.matchAll(f)).pop();if(!h||h.input===void 0||h.index===void 0)return null;let g=h.input.slice(Math.max(0,h.index-1),h.index),_=RegExp(`^[${i?.join(``)}\0]?$`).test(g);if(i!==null&&!_)return null;let v=m+h.index,y=v+h[0].length;return s&&l.test(p.slice(y-1,y+1))&&(h[0]+=` `,y+=1),v<o.pos&&y>=o.pos?{range:{from:v,to:y},query:h[0].slice(t.length),text:h[0]}:null}function Ju(e){return e.docChanged?e.steps.some(e=>{let t=e.slice;if(!t?.content)return!1;let n=t.content.textBetween(0,t.content.size,`
|
|
3
|
-
`);return/\s/.test(n)}):!1}var Yu=new Re(`suggestion`);function Xu({pluginKey:e=Yu,editor:t,char:n=`@`,allowSpaces:r=!1,allowToIncludeChar:i=!1,allowedPrefixes:a=[` `],startOfLine:o=!1,decorationTag:s=`span`,decorationClass:c=`suggestion`,decorationContent:l=``,decorationEmptyClass:u=`is-empty`,command:d=()=>null,items:f=()=>[],render:p=()=>({}),allow:m=()=>!0,findSuggestionMatch:h=qu,shouldShow:g,shouldResetDismissed:_}){let v,y=p?.(),b=r&&!i,x=()=>{let e=t.state.selection.$anchor.pos,{top:n,right:r,bottom:i,left:a}=t.view.coordsAtPos(e);try{return new DOMRect(a,n,r-a,i-n)}catch{return null}},S=(n,r)=>r?()=>{let r=e.getState(t.state)?.decorationId;return n.dom.querySelector(`[data-decoration-id="${r}"]`)?.getBoundingClientRect()||null}:x,C=({match:e,dismissedRange:n,state:r,transaction:i})=>_?.({editor:t,state:r,range:n,match:e,transaction:i,allowSpaces:b})?!1:b?e.range.from===n.from:e.range.from===n.from&&!Ju(i);function w(n,r){var i;try{let r=e.getState(n.state),a=r?.decorationId?n.dom.querySelector(`[data-decoration-id="${r.decorationId}"]`):null,o={editor:t,range:r?.range||{from:0,to:0},query:r?.query||null,text:r?.text||null,items:[],command:e=>d({editor:t,range:r?.range||{from:0,to:0},props:e}),decorationNode:a,clientRect:S(n,a)};(i=y?.onExit)==null||i.call(y,o)}catch{}let a=n.state.tr.setMeta(r,{exit:!0});n.dispatch(a)}let T=new Ut({key:e,view(){return{update:async(e,n)=>{var r,i,a,o,s;let c=this.key?.getState(n),l=this.key?.getState(e.state),u=c.active&&l.active&&c.range.from!==l.range.from,p=!c.active&&l.active,m=c.active&&!l.active,h=!p&&!m&&c.query!==l.query,g=p||u&&h,_=h||u,b=m||u&&h;if(!g&&!_&&!b)return;let x=b&&!g?c:l,C=e.dom.querySelector(`[data-decoration-id="${x.decorationId}"]`);v={editor:t,range:x.range,query:x.query,text:x.text,items:[],command:e=>d({editor:t,range:x.range,props:e}),decorationNode:C,clientRect:S(e,C)},g&&((r=y?.onBeforeStart)==null||r.call(y,v)),_&&((i=y?.onBeforeUpdate)==null||i.call(y,v)),(_||g)&&(v.items=await f({editor:t,query:x.query})),b&&((a=y?.onExit)==null||a.call(y,v)),_&&((o=y?.onUpdate)==null||o.call(y,v)),g&&((s=y?.onStart)==null||s.call(y,v))},destroy:()=>{var e;v&&((e=y?.onExit)==null||e.call(y,v))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1,dismissedRange:null}},apply(s,c,l,u){let{isEditable:d}=t,{composing:f}=t.view,{selection:p}=s,{empty:_,from:v}=p,y={...c},b=s.getMeta(e);if(b&&b.exit)return y.active=!1,y.decorationId=null,y.range={from:0,to:0},y.query=null,y.text=null,y.dismissedRange=c.active?{...c.range}:c.dismissedRange,y;if(y.composing=f,s.docChanged&&y.dismissedRange!==null&&(y.dismissedRange={from:s.mapping.map(y.dismissedRange.from),to:s.mapping.map(y.dismissedRange.to)}),d&&(_||t.view.composing)){(v<c.range.from||v>c.range.to)&&!f&&!c.composing&&(y.active=!1);let e=h({char:n,allowSpaces:r,allowToIncludeChar:i,allowedPrefixes:a,startOfLine:o,$position:p.$from}),l=`id_${Math.floor(Math.random()*4294967295)}`;e&&m({editor:t,state:u,range:e.range,isActive:c.active})&&(!g||g({editor:t,range:e.range,query:e.query,text:e.text,transaction:s}))?(y.dismissedRange!==null&&!C({match:e,dismissedRange:y.dismissedRange,state:u,transaction:s})&&(y.dismissedRange=null),y.dismissedRange===null?(y.active=!0,y.decorationId=c.decorationId?c.decorationId:l,y.range=e.range,y.query=e.query,y.text=e.text):y.active=!1):(e||(y.dismissedRange=null),y.active=!1)}else y.active=!1;return y.active||(y.decorationId=null,y.range={from:0,to:0},y.query=null,y.text=null),y}},props:{handleKeyDown(t,n){var r;let{active:i,range:a}=T.getState(t.state);if(!i)return!1;if(n.key===`Escape`||n.key===`Esc`){let i=T.getState(t.state);return(r=y?.onKeyDown)==null||r.call(y,{view:t,event:n,range:i.range}),w(t,e),!0}return(y?.onKeyDown)?.call(y,{view:t,event:n,range:a})||!1},decorations(e){let{active:t,range:n,decorationId:r,query:i}=T.getState(e);if(!t)return null;let a=!i?.length,o=[c];return a&&o.push(u),$e.create(e.doc,[mt.inline(n.from,n.to,{nodeName:s,class:o.join(` `),"data-decoration-id":r,"data-decoration-content":l})])}}});return T}var Zu=Xu;function Qu(e){return e.kind===`create`?`create:${e.value}`:`tag:${e.value}`}function $u(e){if(e.kind===`create`){let t=e.value;return Ci._({id:`XPqe3B`,values:{tagValue:t}})}let t=Ci._({id:`pckX1A`,values:{0:e.count}}),n=e.value;return Ci._({id:`m2T1Xj`,values:{tagValue:n,uses:t}})}function ed(e){let t=(0,$.c)(38),{items:n,query:r,selectedIndex:i,onSelect:a,onHover:c,loading:l,error:u}=e,d=l===void 0?!1:l,f=u===void 0?null:u,{_:p}=s(),m=(0,Q.useRef)(null),h=(0,Q.useId)(),g=i>=0&&i<n.length?`${h}-option-${i}`:void 0,_,v;t[0]===i?(_=t[1],v=t[2]):(_=()=>{let e=m.current;if(!e)return;let t=e.querySelectorAll(`[role="option"]`).item(i);t&&t.scrollIntoView({block:`nearest`})},v=[i],t[0]=i,t[1]=_,t[2]=v),(0,Q.useEffect)(_,v);let y=td;if(d){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[3]=e):e=t[3];let n;return t[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`div`,{ref:m,role:`status`,"aria-live":`polite`,className:`w-64 rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:e,onMouseDown:y,children:(0,Z.jsx)(o,{id:`a_u4ck`})}),t[4]=n):n=t[4],n}if(n.length===0){let e;if(t[5]!==p||t[6]!==f||t[7]!==r){let n=r.trim();e=f??p(n?{id:`9R7pRC`,values:{trimmed:n}}:{id:`KRJ6xh`}),t[5]=p,t[6]=f,t[7]=r,t[8]=e}else e=t[8];let n=e,i;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(i={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[9]=i):i=t[9];let a;return t[10]===n?a=t[11]:(a=(0,Z.jsx)(`div`,{ref:m,role:`status`,"aria-live":`polite`,className:`w-64 rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:i,onMouseDown:y,children:n}),t[10]=n,t[11]=a),a}let b=i>=0&&i<n.length?n[i]:null,x;t[12]===p?x=t[13]:(x=p({id:`SCoBBH`}),t[12]=p,t[13]=x);let S;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(S={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[14]=S):S=t[14];let C;t[15]===b?C=t[16]:(C=b?$u(b):``,t[15]=b,t[16]=C);let w;t[17]===C?w=t[18]:(w=(0,Z.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,"aria-atomic":`true`,children:C}),t[17]=C,t[18]=w);let T;t[19]===f?T=t[20]:(T=f&&(0,Z.jsx)(`div`,{className:`rounded-md px-2 py-1.5 text-xs text-amber-700 dark:text-amber-300`,children:f}),t[19]=f,t[20]=T);let E;if(t[21]!==n||t[22]!==h||t[23]!==c||t[24]!==a||t[25]!==i){let e;t[27]!==h||t[28]!==c||t[29]!==a||t[30]!==i?(e=(e,t)=>{let n=t===i,r=Qu(e),s=e.kind===`create`;return(0,Z.jsxs)(`button`,{id:`${h}-option-${t}`,type:`button`,role:`option`,"aria-selected":n,"data-selected":n,"data-testid":s?`tag-suggestion-create`:`tag-suggestion-tag-${e.value}`,className:`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-left ${n?`bg-accent text-accent-foreground`:``}`,onMouseDown:t=>{t.preventDefault(),a(e)},onPointerMove:c?()=>c(t):void 0,children:[(0,Z.jsx)(`span`,{"aria-hidden":`true`,className:`font-mono text-xs text-muted-foreground`,children:`#`}),(0,Z.jsx)(`span`,{className:`truncate font-medium flex-1`,children:e.value}),s?(0,Z.jsx)(`span`,{className:`shrink-0 rounded-sm bg-primary/10 px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide text-primary`,children:(0,Z.jsx)(o,{id:`isRobC`})}):(0,Z.jsx)(`span`,{className:`shrink-0 text-[11px] text-muted-foreground tabular-nums`,children:e.count})]},r)},t[27]=h,t[28]=c,t[29]=a,t[30]=i,t[31]=e):e=t[31],E=n.map(e),t[21]=n,t[22]=h,t[23]=c,t[24]=a,t[25]=i,t[26]=E}else E=t[26];let D;return t[32]!==g||t[33]!==E||t[34]!==x||t[35]!==w||t[36]!==T?(D=(0,Z.jsxs)(`div`,{ref:m,role:`listbox`,"aria-label":x,"aria-activedescendant":g,tabIndex:-1,onMouseDown:y,className:`w-64 overflow-y-auto subtle-scrollbar rounded-lg border bg-popover p-1 shadow-md`,style:S,children:[w,T,E]}),t[32]=g,t[33]=E,t[34]=x,t[35]=w,t[36]=T,t[37]=D):D=t[37],D}function td(e){return e.preventDefault()}var nd=new WeakMap;function rd(e,t){nd.set(e,t)}function id(e){return nd.get(e)??!1}function ad(e,t){let n=document.createElement(`div`);n.style.position=`fixed`,n.style.zIndex=`50`,n.style.visibility=`hidden`,document.body.appendChild(n);let r={getBoundingClientRect:()=>e()?.clientRect?.()??new DOMRect,get contextElement(){return e()?.editor.view.dom}},i=!1,a=!1,o=()=>{n.isConnected&&(n.style.removeProperty(`--suggestion-menu-max-height`),mi(r,n,{placement:`bottom-start`,middleware:[_i(4),bi(),hi({padding:8}),fi({apply({availableHeight:e}){n.isConnected&&n.style.setProperty(`--suggestion-menu-max-height`,`${Math.min(e,window.innerHeight*.4)}px`)}})]}).then(({x:e,y:t})=>{n.isConnected&&(n.style.left=`${e}px`,n.style.top=`${t}px`,i&&!a&&(n.style.removeProperty(`visibility`),a=!0))}).catch(e=>{n.isConnected&&console.warn(`[${t}] computePosition failed`,e)}))};return{popup:n,doPosition:o,startAutoUpdate:()=>ui(r,n,o),reveal:()=>{a||(i=!0,o())}}}function od(e){e.stopAutoUpdate?.(),e.stopAutoUpdate=null,e.popup?.remove(),e.popup=null}var sd=new Re(`tagSuggestion`),cd=8,ld=/^[a-zA-Z][\w/-]*$/;async function ud(){let e=await fetch(`/api/tags`);if(!e.ok)throw Error(`/api/tags responded with ${e.status}`);let t=await e.json();return Array.isArray(t.tags)?t.tags:[]}function dd(e,t){let n=t.trim(),r=n.toLowerCase(),i=n===``?e.slice():e.filter(e=>e.name.toLowerCase().includes(r));return i.sort((e,t)=>{let n=+!e.name.toLowerCase().startsWith(r),i=+!t.name.toLowerCase().startsWith(r);return n===i?t.count===e.count?e.name.localeCompare(t.name):t.count-e.count:n-i}),i}function fd(e,t){let n=dd(e,t).slice(0,cd).map(e=>({kind:`tag`,value:e.name,count:e.count,isLeaf:e.isLeaf})),r=t.trim();return r&&ld.test(r)&&!e.some(e=>e.name===r)&&n.push({kind:`create`,value:r}),n}function pd(e){let{$position:t}=e,n=t.parent.textBetween(0,t.parentOffset,void 0,``).match(/(^|[\s])#([a-zA-Z][\w/-]*)?$/);if(!n)return null;let r=n[2]??``,i=t.start(),a=n[1].length;return{range:{from:i+((n.index??0)+a),to:t.pos},query:r,text:`#${r}`}}function md(e){let t=[],n=!1,r=null,i=null;return Zu({editor:e,pluginKey:sd,char:`#`,allowedPrefixes:null,findSuggestionMatch:pd,allow:({editor:e})=>!id(e),items:async({query:e})=>{if(!n){r||=ud();try{t=await r,i=null}catch(e){console.error(`[tag-suggestion] Failed to fetch tags:`,e),i=`Failed to load tags. Press Escape and type # again to retry, or continue typing to create a new tag.`,t=[]}finally{n=!0,r=null}}return fd(t,e)},command:({editor:e,range:t,props:n})=>{try{let r=n.value;if(!r||!ld.test(r))return;e.chain().focus().deleteRange(t).insertContent({type:`tag`,attrs:{value:r}}).insertContent(` `).run()}catch(e){console.error(`[tag-suggestion] command failed`,{item:n,range:t},e)}},render:()=>{let e=null,a=null,o=0,s={popup:null,stopAutoUpdate:null},c=null,l=null,u=e=>{a?.command(e)},d=e=>{o!==e&&(o=e,p(null))};function f(e,t,r){let a=t===null?!n:t;return{items:e.items,query:e.query??``,selectedIndex:o,onSelect:r,onHover:d,loading:a,error:i}}let p=t=>{!e||!a||e.updateProps(f(a,t,u))};return{onBeforeStart(t){a=t,o=0;let n=ad(()=>a,`tag-suggestion`);s.popup=n.popup,c=n.doPosition,l=n.reveal,e=new Bu(ed,{props:f(t,!0,u),editor:t.editor}),n.popup.appendChild(e.element),s.stopAutoUpdate=n.startAutoUpdate()},onStart(e){a=e,o=0,p(null),l?.()},onUpdate(e){a=e,o=Math.min(o,Math.max(0,e.items.length-1)),p(null),c?.()},onKeyDown({event:e}){if(!a)return!1;let t=a.items;if(e.key===`ArrowDown`)return t.length===0?!1:(o=(o+1)%t.length,p(null),!0);if(e.key===`ArrowUp`)return t.length===0?!1:(o=(o-1+t.length)%t.length,p(null),!0);if(e.key===`Enter`||e.key===`Tab`){let e=t[o];if(e)return a.command(e),!0;let n=(a.query??``).trim();return n&&ld.test(n)?(a.command({kind:`create`,value:n}),!0):!1}return e.key,!1},onExit(){od(s),c=null,l=null,e?.destroy(),e=null,a=null,o=0,t=[],i=null,n=!1,r=null}}}})}var hd=new Map([[br,`<path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"/>`],[oo,`<path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/>`],[go,`<rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/>`],[go,`<rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/>`],[co,`<path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/>`],[lo,`<rect width="18" height="18" x="3" y="3" rx="2"/><path d="M7 3v18"/><path d="M3 7.5h4"/><path d="M3 12h18"/><path d="M3 16.5h4"/><path d="M17 3v18"/><path d="M17 7.5h4"/><path d="M17 16.5h4"/>`],[Go,`<path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"/><path d="M16 9a5 5 0 0 1 0 6"/><path d="M19.364 18.364a9 9 0 0 0 0-12.728"/>`],[Er,`<path d="M18 6 6 18"/><path d="m6 6 12 12"/>`]]),gd=new Map;function _d(e){let t=gd.get(e);if(t!==void 0)return t;let n=`<svg xmlns="http://www.w3.org/2000/svg" width="0.75rem" height="0.75rem" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${hd.get(e)??hd.get(oo)}</svg>`;return gd.set(e,n),n}var vd=`0 0 32 32`,yd=`M26.7075 10.2925L19.7075 3.2925C19.6146 3.19967 19.5042 3.12605 19.3829 3.07586C19.2615 3.02568 19.1314 2.9999 19 3H7C6.46957 3 5.96086 3.21071 5.58579 3.58579C5.21071 3.96086 5 4.46957 5 5V14C5 14.2652 5.10536 14.5196 5.29289 14.7071C5.48043 14.8946 5.73478 15 6 15C6.26522 15 6.51957 14.8946 6.70711 14.7071C6.89464 14.5196 7 14.2652 7 14V5H18V11C18 11.2652 18.1054 11.5196 18.2929 11.7071C18.4804 11.8946 18.7348 12 19 12H25V28C25 28.2652 25.1054 28.5196 25.2929 28.7071C25.4804 28.8946 25.7348 29 26 29C26.2652 29 26.5196 28.8946 26.7071 28.7071C26.8946 28.5196 27 28.2652 27 28V11C27.0001 10.8686 26.9743 10.7385 26.9241 10.6172C26.8739 10.4958 26.8003 10.3854 26.7075 10.2925ZM20 6.41375L23.5863 10H20V6.41375ZM18 18H16C15.7348 18 15.4804 18.1054 15.2929 18.2929C15.1054 18.4804 15 18.7348 15 19V26C15 26.2652 15.1054 26.5196 15.2929 26.7071C15.4804 26.8946 15.7348 27 16 27H18C19.1935 27 20.3381 26.5259 21.182 25.682C22.0259 24.8381 22.5 23.6935 22.5 22.5C22.5 21.3065 22.0259 20.1619 21.182 19.318C20.3381 18.4741 19.1935 18 18 18ZM18 25H17V20H18C18.663 20 19.2989 20.2634 19.7678 20.7322C20.2366 21.2011 20.5 21.837 20.5 22.5C20.5 23.163 20.2366 23.7989 19.7678 24.2678C19.2989 24.7366 18.663 25 18 25ZM13 19V26C13 26.2652 12.8946 26.5196 12.7071 26.7071C12.5196 26.8946 12.2652 27 12 27C11.7348 27 11.4804 26.8946 11.2929 26.7071C11.1054 26.5196 11 26.2652 11 26V22.1725L9.31875 24.5737C9.22652 24.7053 9.10396 24.8126 8.96144 24.8868C8.81892 24.9609 8.66064 24.9996 8.5 24.9996C8.33936 24.9996 8.18108 24.9609 8.03856 24.8868C7.89604 24.8126 7.77348 24.7053 7.68125 24.5737L6 22.1725V26C6 26.2652 5.89464 26.5196 5.70711 26.7071C5.51957 26.8946 5.26522 27 5 27C4.73478 27 4.48043 26.8946 4.29289 26.7071C4.10536 26.5196 4 26.2652 4 26V19C4.00009 18.7874 4.06791 18.5804 4.19363 18.409C4.31935 18.2376 4.49642 18.1107 4.69915 18.0467C4.90188 17.9828 5.11971 17.9851 5.32104 18.0533C5.52236 18.1216 5.6967 18.2522 5.81875 18.4263L8.5 22.2563L11.1812 18.4263C11.3033 18.2522 11.4776 18.1216 11.679 18.0533C11.8803 17.9851 12.0981 17.9828 12.3008 18.0467C12.5036 18.1107 12.6807 18.2376 12.8064 18.409C12.9321 18.5804 12.9999 18.7874 13 19Z`;function bd(e){return e===`.md`||e===`.mdx`}function xd(e){switch(M(e)){case`image`:return _d(go);case`video`:return _d(lo);case`audio`:return _d(Go);default:return _d(co)}}function Sd(e){let t=(0,$.c)(7),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(`path`,{d:yd}),t[3]=i):i=t[3];let a;return t[4]!==n||t[5]!==r?(a=(0,Z.jsx)(`svg`,{"aria-hidden":`true`,className:n,fill:`currentColor`,viewBox:vd,...r,children:i}),t[4]=n,t[5]=r,t[6]=a):a=t[6],a}function Cd(e){let t=wi(e).toLowerCase();return t?bd(t)?{kind:`file`,path:e}:{kind:`file`,path:e,bodyIndexed:!1}:{kind:`folder`,path:e}}function wd(e){let t=(0,$.c)(6),{path:n,className:r,showExtensionBadge:i}=e,a;t[0]===n?a=t[1]:(a=Cd(n),t[0]=n,t[1]=a);let o;return t[2]!==r||t[3]!==i||t[4]!==a?(o=(0,Z.jsx)(Ed,{...a,className:r,showExtensionBadge:i}),t[2]=r,t[3]=i,t[4]=a,t[5]=o):o=t[5],o}function Td(e){let{kind:t,bodyIndexed:n}=Cd(e);if(t===`folder`)return _d(br);let r=(n===!1?wi(e):wi(e)||`.md`).toLowerCase();return bd(r)?`<svg xmlns="http://www.w3.org/2000/svg" width="0.75rem" height="0.75rem" viewBox="${vd}" fill="currentColor" aria-hidden="true"><path d="${yd}"/></svg>`:xd(r)}function Ed(e){let t=(0,$.c)(25),{kind:n,path:r,docExt:i,bodyIndexed:a,className:o,showExtensionBadge:s}=e,c=s===void 0?!0:s;if(n===`folder`){let e;t[0]===o?e=t[1]:(e=Qt(`shrink-0`,o),t[0]=o,t[1]=e);let n;return t[2]===e?n=t[3]:(n=(0,Z.jsx)(br,{"aria-hidden":`true`,className:e,"data-file-entry-icon":`folder`}),t[2]=e,t[3]=n),n}let l;t[4]!==a||t[5]!==i||t[6]!==r?(l=a===!1?wi(r):i??(wi(r)||`.md`),t[4]=a,t[5]=i,t[6]=r,t[7]=l):l=t[7];let u=l,d,f,p,m;if(t[8]!==o||t[9]!==u||t[10]!==c){let e=u.toLowerCase(),n=M(e);d=c&&u&&e!==`.md`?u.slice(1).toUpperCase():null;let r=n===`image`&&`text-rose-500`,i;t[15]!==o||t[16]!==r?(i=Qt(o,r),t[15]=o,t[16]=r,t[17]=i):i=t[17];let a=i;f=`relative inline-flex shrink-0`,p=e||`file`,m=bd(e)?(0,Z.jsx)(Sd,{className:a,"data-testid":`file-entry-icon-markdown`}):n===`image`?(0,Z.jsx)(go,{"aria-hidden":`true`,className:a,"data-testid":`file-entry-icon-image`}):n===`video`?(0,Z.jsx)(lo,{"aria-hidden":`true`,className:a,"data-testid":`file-entry-icon-video`}):n===`audio`?(0,Z.jsx)(Go,{"aria-hidden":`true`,className:a,"data-testid":`file-entry-icon-audio`}):(0,Z.jsx)(co,{"aria-hidden":`true`,className:a,"data-testid":`file-entry-icon-file`}),t[8]=o,t[9]=u,t[10]=c,t[11]=d,t[12]=f,t[13]=p,t[14]=m}else d=t[11],f=t[12],p=t[13],m=t[14];let h;t[18]===d?h=t[19]:(h=d?(0,Z.jsx)(`span`,{"aria-hidden":`true`,className:`-right-1 -bottom-1 absolute rounded-sm bg-background px-0.5 font-medium text-[0.5rem] text-muted-foreground leading-none`,"data-testid":`file-entry-extension-badge`,children:d}):null,t[18]=d,t[19]=h);let g;return t[20]!==f||t[21]!==p||t[22]!==m||t[23]!==h?(g=(0,Z.jsxs)(`span`,{className:f,"data-file-entry-icon":p,children:[m,h]}),t[20]=f,t[21]=p,t[22]=m,t[23]=h,t[24]=g):g=t[24],g}var Dd=tn(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3! font-mono uppercase`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,warning:`bg-yellow-500/10 text-yellow-600 [a]:hover:bg-yellow-500/20`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`,dashed:`border-dashed border-border text-muted-foreground rounded-sm`,primary:`border border-primary/50 text-primary bg-primary/5 rounded-sm p-0.5 px-1.5 font-mono`,gray:`border border-border text-muted-foreground bg-muted rounded-sm p-0.5 px-1.5 font-mono`}},defaultVariants:{variant:`default`}});function Od(e){let t=(0,$.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,variant:i,asChild:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=i===void 0?`default`:i,s=a!==void 0&&a?Xt:`span`,c;t[5]!==n||t[6]!==o?(c=Qt(Dd({variant:o}),n),t[5]=n,t[6]=o,t[7]=c):c=t[7];let l;return t[8]!==s||t[9]!==r||t[10]!==c||t[11]!==o?(l=(0,Z.jsx)(s,{"data-slot":`badge`,"data-variant":o,className:c,...r}),t[8]=s,t[9]=r,t[10]=c,t[11]=o,t[12]=l):l=t[12],l}var kd=1,Ad=.9,jd=.8,Md=.17,Nd=.1,Pd=.999,Fd=.9999,Id=.99,Ld=/[\\\/_+.#"@\[\(\{&]/,Rd=/[\\\/_+.#"@\[\(\{&]/g,zd=/[\s-]/,Bd=/[\s-]/g;function Vd(e,t,n,r,i,a,o){if(a===t.length)return i===e.length?kd:Id;var s=`${i},${a}`;if(o[s]!==void 0)return o[s];for(var c=r.charAt(a),l=n.indexOf(c,i),u=0,d,f,p,m;l>=0;)d=Vd(e,t,n,r,l+1,a+1,o),d>u&&(l===i?d*=kd:Ld.test(e.charAt(l-1))?(d*=jd,p=e.slice(i,l-1).match(Rd),p&&i>0&&(d*=Pd**+p.length)):zd.test(e.charAt(l-1))?(d*=Ad,m=e.slice(i,l-1).match(Bd),m&&i>0&&(d*=Pd**+m.length)):(d*=Md,i>0&&(d*=Pd**+(l-i))),e.charAt(l)!==t.charAt(a)&&(d*=Fd)),(d<Nd&&n.charAt(l-1)===r.charAt(a+1)||r.charAt(a+1)===r.charAt(a)&&n.charAt(l-1)!==r.charAt(a))&&(f=Vd(e,t,n,r,l+1,a+2,o),f*Nd>d&&(d=f*Nd)),d>u&&(u=d),l=n.indexOf(c,l+1);return o[s]=u,u}function Hd(e){return e.toLowerCase().replace(Bd,` `)}function Ud(e,t,n){return e=n&&n.length>0?`${e+` `+n.join(` `)}`:e,Vd(e,t,Hd(e),Hd(t),0,0,{})}var Wd=`[cmdk-group=""]`,Gd=`[cmdk-group-items=""]`,Kd=`[cmdk-group-heading=""]`,qd=`[cmdk-item=""]`,Jd=`${qd}:not([aria-disabled="true"])`,Yd=`cmdk-item-select`,Xd=`data-value`,Zd=(e,t,n)=>Ud(e,t,n),Qd=Q.createContext(void 0),$d=()=>Q.useContext(Qd),ef=Q.createContext(void 0),tf=()=>Q.useContext(ef),nf=Q.createContext(void 0),rf=Q.forwardRef((e,t)=>{let n=vf(()=>({search:``,value:e.value??e.defaultValue??``,selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}})),r=vf(()=>new Set),i=vf(()=>new Map),a=vf(()=>new Map),o=vf(()=>new Set),s=gf(e),{label:c,children:l,value:u,onValueChange:d,filter:f,shouldFilter:p,loop:m,disablePointerSelection:h=!1,vimBindings:g=!0,..._}=e,v=Ar(),y=Ar(),b=Ar(),x=Q.useRef(null),S=xf();_f(()=>{if(u!==void 0){let e=u.trim();n.current.value=e,C.emit()}},[u]),_f(()=>{S(6,k)},[]);let C=Q.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var i,a,o;if(!Object.is(n.current[e],t)){if(n.current[e]=t,e===`search`)O(),E(),S(1,D);else if(e===`value`){if(document.activeElement.hasAttribute(`cmdk-input`)||document.activeElement.hasAttribute(`cmdk-root`)){let e=document.getElementById(b);e?e.focus():(i=document.getElementById(v))==null||i.focus()}if(S(7,()=>{n.current.selectedItemId=A()?.id,C.emit()}),r||S(5,k),s.current?.value!==void 0){let e=t??``;(o=(a=s.current).onValueChange)==null||o.call(a,e);return}}C.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),w=Q.useMemo(()=>({value:(e,t,r)=>{t!==a.current.get(e)?.value&&(a.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,T(t,r)),S(2,()=>{E(),C.emit()}))},item:(e,t)=>(r.current.add(e),t&&(i.current.has(t)?i.current.get(t).add(e):i.current.set(t,new Set([e]))),S(3,()=>{O(),E(),n.current.value||D(),C.emit()}),()=>{a.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=A();S(4,()=>{O(),t?.getAttribute(`id`)===e&&D(),C.emit()})}),group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{a.current.delete(e),i.current.delete(e)}),filter:()=>s.current.shouldFilter,label:c||e[`aria-label`],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:v,inputId:b,labelId:y,listInnerRef:x}),[]);function T(e,t){let r=s.current?.filter??Zd;return e?r(e,n.current.search,t):0}function E(){if(!n.current.search||s.current.shouldFilter===!1)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=i.current.get(n),a=0;r.forEach(t=>{let n=e.get(t);a=Math.max(n,a)}),t.push([n,a])});let r=x.current;j().sort((t,n)=>{let r=t.getAttribute(`id`),i=n.getAttribute(`id`);return(e.get(i)??0)-(e.get(r)??0)}).forEach(e=>{let t=e.closest(Gd);t?t.appendChild(e.parentElement===t?e:e.closest(`${Gd} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${Gd} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{let t=x.current?.querySelector(`${Wd}[${Xd}="${encodeURIComponent(e[0])}"]`);t?.parentElement.appendChild(t)})}function D(){let e=j().find(e=>e.getAttribute(`aria-disabled`)!==`true`)?.getAttribute(Xd);C.setState(`value`,e||void 0)}function O(){if(!n.current.search||s.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let e=0;for(let t of r.current){let r=T(a.current.get(t)?.value??``,a.current.get(t)?.keywords??[]);n.current.filtered.items.set(t,r),r>0&&e++}for(let[e,t]of i.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=e}function k(){var e;let t=A();t&&(t.parentElement?.firstChild===t&&((e=t.closest(Wd)?.querySelector(Kd))==null||e.scrollIntoView({block:`nearest`})),t.scrollIntoView({block:`nearest`}))}function A(){return x.current?.querySelector(`${qd}[aria-selected="true"]`)}function j(){return Array.from(x.current?.querySelectorAll(Jd)||[])}function M(e){let t=j()[e];t&&C.setState(`value`,t.getAttribute(Xd))}function N(e){var t;let n=A(),r=j(),i=r.findIndex(e=>e===n),a=r[i+e];(t=s.current)!=null&&t.loop&&(a=i+e<0?r[r.length-1]:i+e===r.length?r[0]:r[i+e]),a&&C.setState(`value`,a.getAttribute(Xd))}function P(e){let t=A()?.closest(Wd),n;for(;t&&!n;)t=e>0?mf(t,Wd):hf(t,Wd),n=t?.querySelector(Jd);n?C.setState(`value`,n.getAttribute(Xd)):N(e)}let F=()=>M(j().length-1),I=e=>{e.preventDefault(),e.metaKey?F():e.altKey?P(1):N(1)},L=e=>{e.preventDefault(),e.metaKey?M(0):e.altKey?P(-1):N(-1)};return Q.createElement(kr.div,{ref:t,tabIndex:-1,..._,"cmdk-root":``,onKeyDown:e=>{var t;(t=_.onKeyDown)==null||t.call(_,e);let n=e.nativeEvent.isComposing||e.keyCode===229;if(!(e.defaultPrevented||n))switch(e.key){case`n`:case`j`:g&&e.ctrlKey&&I(e);break;case`ArrowDown`:I(e);break;case`p`:case`k`:g&&e.ctrlKey&&L(e);break;case`ArrowUp`:L(e);break;case`Home`:e.preventDefault(),M(0);break;case`End`:e.preventDefault(),F();break;case`Enter`:{e.preventDefault();let t=A();if(t){let e=new Event(Yd);t.dispatchEvent(e)}}}}},Q.createElement(`label`,{"cmdk-label":``,htmlFor:w.inputId,id:w.labelId,style:wf},c),Cf(e,e=>Q.createElement(ef.Provider,{value:C},Q.createElement(Qd.Provider,{value:w},e))))}),af=Q.forwardRef((e,t)=>{let n=Ar(),r=Q.useRef(null),i=Q.useContext(nf),a=$d(),o=gf(e),s=o.current?.forceMount??i?.forceMount;_f(()=>{if(!s)return a.item(n,i?.id)},[s]);let c=bf(n,r,[e.value,e.children,r],e.keywords),l=tf(),u=yf(e=>e.value&&e.value===c.current),d=yf(e=>s||a.filter()===!1?!0:e.search?e.filtered.items.get(n)>0:!0);Q.useEffect(()=>{let t=r.current;if(!(!t||e.disabled))return t.addEventListener(Yd,f),()=>t.removeEventListener(Yd,f)},[d,e.onSelect,e.disabled]);function f(){var e,t;p(),(t=(e=o.current).onSelect)==null||t.call(e,c.current)}function p(){l.setState(`value`,c.current,!0)}if(!d)return null;let{disabled:m,value:h,onSelect:g,forceMount:_,keywords:v,...y}=e;return Q.createElement(kr.div,{ref:Zt(r,t),...y,id:n,"cmdk-item":``,role:`option`,"aria-disabled":!!m,"aria-selected":!!u,"data-disabled":!!m,"data-selected":!!u,onPointerMove:m||a.getDisablePointerSelection()?void 0:p,onClick:m?void 0:f},e.children)}),of=Q.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:i,...a}=e,o=Ar(),s=Q.useRef(null),c=Q.useRef(null),l=Ar(),u=$d(),d=yf(e=>i||u.filter()===!1?!0:e.search?e.filtered.groups.has(o):!0);_f(()=>u.group(o),[]),bf(o,s,[e.value,e.heading,c]);let f=Q.useMemo(()=>({id:o,forceMount:i}),[i]);return Q.createElement(kr.div,{ref:Zt(s,t),...a,"cmdk-group":``,role:`presentation`,hidden:d?void 0:!0},n&&Q.createElement(`div`,{ref:c,"cmdk-group-heading":``,"aria-hidden":!0,id:l},n),Cf(e,e=>Q.createElement(`div`,{"cmdk-group-items":``,role:`group`,"aria-labelledby":n?l:void 0},Q.createElement(nf.Provider,{value:f},e))))}),sf=Q.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,i=Q.useRef(null),a=yf(e=>!e.search);return!n&&!a?null:Q.createElement(kr.div,{ref:Zt(i,t),...r,"cmdk-separator":``,role:`separator`})}),cf=Q.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,i=e.value!=null,a=tf(),o=yf(e=>e.search),s=yf(e=>e.selectedItemId),c=$d();return Q.useEffect(()=>{e.value!=null&&a.setState(`search`,e.value)},[e.value]),Q.createElement(kr.input,{ref:t,...r,"cmdk-input":``,autoComplete:`off`,autoCorrect:`off`,spellCheck:!1,"aria-autocomplete":`list`,role:`combobox`,"aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":s,id:c.inputId,type:`text`,value:i?e.value:o,onChange:e=>{i||a.setState(`search`,e.target.value),n?.(e.target.value)}})}),lf=Q.forwardRef((e,t)=>{let{children:n,label:r=`Suggestions`,...i}=e,a=Q.useRef(null),o=Q.useRef(null),s=yf(e=>e.selectedItemId),c=$d();return Q.useEffect(()=>{if(o.current&&a.current){let e=o.current,t=a.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.offsetHeight;t.style.setProperty(`--cmdk-list-height`,n.toFixed(1)+`px`)})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),Q.createElement(kr.div,{ref:Zt(a,t),...i,"cmdk-list":``,role:`listbox`,tabIndex:-1,"aria-activedescendant":s,"aria-label":r,id:c.listId},Cf(e,e=>Q.createElement(`div`,{ref:Zt(o,c.listInnerRef),"cmdk-list-sizer":``},e)))}),uf=Q.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:a,container:o,...s}=e;return Q.createElement(Yr,{open:n,onOpenChange:r},Q.createElement(Jr,{container:o},Q.createElement(si,{"cmdk-overlay":``,className:i}),Q.createElement($r,{"aria-label":e.label,"cmdk-dialog":``,className:a},Q.createElement(rf,{ref:t,...s}))))}),df=Q.forwardRef((e,t)=>yf(e=>e.filtered.count===0)?Q.createElement(kr.div,{ref:t,...e,"cmdk-empty":``,role:`presentation`}):null),ff=Q.forwardRef((e,t)=>{let{progress:n,children:r,label:i=`Loading...`,...a}=e;return Q.createElement(kr.div,{ref:t,...a,"cmdk-loading":``,role:`progressbar`,"aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},Cf(e,e=>Q.createElement(`div`,{"aria-hidden":!0},e)))}),pf=Object.assign(rf,{List:lf,Item:af,Input:cf,Group:of,Separator:sf,Dialog:uf,Empty:df,Loading:ff});function mf(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function hf(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function gf(e){let t=Q.useRef(e);return _f(()=>{t.current=e}),t}var _f=typeof window>`u`?Q.useEffect:Q.useLayoutEffect;function vf(e){let t=Q.useRef();return t.current===void 0&&(t.current=e()),t}function yf(e){let t=tf(),n=()=>e(t.snapshot());return Q.useSyncExternalStore(t.subscribe,n,n)}function bf(e,t,n,r=[]){let i=Q.useRef(),a=$d();return _f(()=>{var o;let s=(()=>{for(let e of n){if(typeof e==`string`)return e.trim();if(typeof e==`object`&&`current`in e)return e.current?e.current.textContent?.trim():i.current}})(),c=r.map(e=>e.trim());a.value(e,s,c),(o=t.current)==null||o.setAttribute(Xd,s),i.current=s}),i}var xf=()=>{let[e,t]=Q.useState(),n=vf(()=>new Map);return _f(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function Sf(e){let t=e.type;return typeof t==`function`?t(e.props):`render`in t?t.render(e.props):e}function Cf({asChild:e,children:t},n){return e&&Q.isValidElement(t)?Q.cloneElement(Sf(t),{ref:t.ref},n(t.props.children)):n(t)}var wf={position:`absolute`,width:`1px`,height:`1px`,padding:`0`,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`};function Tf(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Qt(`flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(pf,{"data-slot":`command`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ef(e){let t=(0,$.c)(36),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({title:s,description:c,children:n,className:r,showCloseButton:l,commandProps:i,onEscapeKeyDown:a,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=s===void 0?`Command Palette`:s,d=c===void 0?`Search for a command to run`:c,f=l===void 0?!0:l,p;t[9]===i?p=t[10]:(p=i??{},t[9]=i,t[10]=p);let m,h;t[11]===p?(m=t[12],h=t[13]):({className:m,...h}=p,t[11]=p,t[12]=m,t[13]=h);let g;t[14]===r?g=t[15]:(g=Qt(`top-[12vh] translate-y-0 overflow-hidden p-0`,r),t[14]=r,t[15]=g);let _;t[16]===u?_=t[17]:(_=(0,Z.jsx)(qr,{className:`sr-only`,children:u}),t[16]=u,t[17]=_);let v;t[18]===d?v=t[19]:(v=(0,Z.jsx)(Kr,{className:`sr-only`,children:d}),t[18]=d,t[19]=v);let y;t[20]===m?y=t[21]:(y=Qt(`[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5`,m),t[20]=m,t[21]=y);let b;t[22]!==n||t[23]!==h||t[24]!==y?(b=(0,Z.jsx)(Tf,{className:y,...h,children:n}),t[22]=n,t[23]=h,t[24]=y,t[25]=b):b=t[25];let x;t[26]!==a||t[27]!==f||t[28]!==g||t[29]!==_||t[30]!==v||t[31]!==b?(x=(0,Z.jsxs)(Qr,{className:g,showCloseButton:f,onEscapeKeyDown:a,children:[_,v,b]}),t[26]=a,t[27]=f,t[28]=g,t[29]=_,t[30]=v,t[31]=b,t[32]=x):x=t[32];let S;return t[33]!==o||t[34]!==x?(S=(0,Z.jsx)(oi,{...o,children:x}),t[33]=o,t[34]=x,t[35]=S):S=t[35],S}function Df(e){let t=(0,$.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(Fo,{className:`size-4 shrink-0 opacity-50`}),t[3]=i):i=t[3];let a;t[4]===n?a=t[5]:(a=Qt(`flex w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a?(o=(0,Z.jsxs)(`div`,{"data-slot":`command-input-wrapper`,className:`flex items-center gap-2 border-b px-3`,children:[i,(0,Z.jsx)(pf.Input,{"data-slot":`command-input`,className:a,...r})]}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function Of(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Qt(`max-h-[300px] scroll-py-1 overflow-y-auto overflow-x-hidden`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(pf.List,{"data-slot":`command-list`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function kf(e){let t=(0,$.c)(2),n;return t[0]===e?n=t[1]:(n=(0,Z.jsx)(pf.Empty,{"data-slot":`command-empty`,className:`py-6 text-center text-sm`,...e}),t[0]=e,t[1]=n),n}function Af(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Qt(`overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-mono [&_[cmdk-group-heading]]:uppercase **:[[cmdk-group-heading]]:tracking-wider`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(pf.Group,{"data-slot":`command-group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function jf(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Qt(`relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 [&_svg:not([class*='text-'])]:text-muted-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(pf.Item,{"data-slot":`command-item`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Mf(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Qt(`ml-auto text-muted-foreground text-xs tracking-widest`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`span`,{"data-slot":`command-shortcut`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Nf(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Es,{"data-slot":`popover`,...n}),t[2]=n,t[3]=r),r}function Pf(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Os,{"data-slot":`popover-trigger`,...n}),t[2]=n,t[3]=r),r}function Ff(e){let t=(0,$.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,align:i,sideOffset:a,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=i===void 0?`center`:i,s=a===void 0?4:a,c;t[5]===n?c=t[6]:(c=Qt(`z-50 w-72 rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-hidden origin-(--radix-popover-content-transform-origin) duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none motion-reduce:duration-0`,n),t[5]=n,t[6]=c);let l;return t[7]!==o||t[8]!==r||t[9]!==s||t[10]!==c?(l=(0,Z.jsx)(ks,{children:(0,Z.jsx)(As,{"data-slot":`popover-content`,align:o,sideOffset:s,className:c,...r})}),t[7]=o,t[8]=r,t[9]=s,t[10]=c,t[11]=l):l=t[11],l}function If(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Ds,{"data-slot":`popover-anchor`,...n}),t[2]=n,t[3]=r),r}async function Lf(e,t){let n=null,r;try{n=await e.json()}catch(e){r=e}if(r instanceof Error&&r.name===`AbortError`)throw r;if(e.ok)return r!==void 0&&console.warn(`[parse-server-response] 2xx response with non-JSON body:`,r instanceof Error?r.message:String(r)),{ok:!0,body:r===void 0?n:null};if(r!==void 0){let t=r instanceof Error?r.message:String(r);return{ok:!1,title:`Server error (HTTP ${e.status}): ${t}`}}return{ok:!1,title:Si(n)??t}}function Rf(e,t,n,r){let i=e.safeParse(t);return i.success?i.data:(console.warn(`[parse-server-response] schema drift:`,n,`bodyShape=`,typeof t==`object`&&t?Object.keys(t):typeof t,`issues=`,i.error.issues),r)}var zf=new Map,Bf=null;function Vf(){return ki(`PREWARM_CORRELATION_WINDOW_MS`,5e3)}function Hf(){if(Bf!==null)return;let e=Math.max(50,Math.floor(Vf()/2));Bf=setTimeout(()=>{Bf=null,Uf(Date.now()),zf.size>0&&Hf()},e)}function Uf(e){let t=Vf();for(let[n,r]of zf)e-r.emittedAt>=t&&(zf.delete(n),Y.count(`ok/sidebar/prewarm`,{hit:!1}))}function Wf(e,t,n=Date.now()){zf.has(e)&&Y.count(`ok/sidebar/prewarm`,{hit:!1}),zf.set(e,{poolEventId:t,emittedAt:n}),Hf()}function Gf(e,t,n=Date.now()){let r=zf.get(e);return!r||r.poolEventId!==t||n-r.emittedAt>=Vf()?!1:(zf.delete(e),Y(`ok/sidebar/prewarm-clicked`,{docName:e,t:n,poolEventId:t}),Y.count(`ok/sidebar/prewarm`,{hit:!0}),!0)}Ct({event:H(`ok-branch-switched-clear-failed`),branch:R(),docName:R(),reason:R()});async function Kf(e,t){let n=[];for(let[r,i]of e.entries)i.kind===`active`&&i.persistence!==null&&n.push(i.persistence.clearData().catch(e=>{let n={event:`ok-branch-switched-clear-failed`,docName:r,branch:t,reason:e instanceof Error?e.message:String(e)};console.warn(JSON.stringify(n))}));await Promise.all(n),e.clearBufferedUpdates(),e.recycleAllEntries()}function qf(e){let t=!1;return()=>{t?e():t=!0}}function Jf(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}async function Yf(e,t=``){let n;try{n=await fetch(`${t}/api/server-info`,{signal:AbortSignal.timeout(5e3)})}catch{return}if(!n.ok)return;let r;try{r=await n.json()}catch{return}let i=tt.safeParse(r);if(!i.success){console.warn(JSON.stringify({event:`ok-server-info-schema-mismatch`,issues:i.error.issues}));return}if(e.setExpectedServerInstanceId(i.data.serverInstanceId),ar(i.data.serverInstanceId),i.data.currentBranch!==void 0&&e.compareAndUpdateObservedBranch(i.data.currentBranch)&&(Kf(e,i.data.currentBranch),Oi(i.data.currentBranch)),i.data.currentDiskAckSVs!==void 0){let t={};for(let[e,n]of Object.entries(i.data.currentDiskAckSVs))try{t[e]=Jf(n)}catch{}e.observeDiskAckBatch(t)}}async function Xf(e){let t;try{t=await fetch(`/api/config`,{signal:e,headers:{Accept:`application/json`}})}catch(e){if(e.name===`AbortError`)throw e;return{status:`error`,code:`network`}}if(t.status===404||t.status===501)return{status:`absent`};if(!t.ok)return{status:`error`,code:t.status};let n;try{n=await t.json()}catch{return{status:`error`,code:`invalid-body`}}if(typeof n!=`object`||!n||Array.isArray(n))return{status:`error`,code:`invalid-body`};let r=n;return{status:`ok`,config:{collabUrl:typeof r.collabUrl==`string`?r.collabUrl:null,previewUrl:typeof r.previewUrl==`string`?r.previewUrl:null,port:typeof r.port==`number`?r.port:0,paneTarget:typeof r.paneTarget==`string`?r.paneTarget:null,singleFile:r.singleFile===!0}}}function Zf(e){return ap(e,Nt)}function Qf(e){return ap(e,Je)}function $f(e){return ap(e,Ot)}function ep(e){return ap(e,ut)}function tp(e){return ap(e,Be)}function np(e){let t=ap(e,Ue);if(!t)return null;try{return{docName:t.docName,sv:rp(t.sv)}}catch{return null}}function rp(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function ip(e,t){let n=Qf(e);if(n){t.onServerInfo?.(n);return}let r=$f(e);if(r){t.onBranchSwitched?.(r);return}let i=np(e);if(i){t.onDiskAck?.(i);return}let a=Zf(e);if(a){t.onDerivedView?.(a);return}let o=ep(e);if(o){t.onConfigValidationRejected?.(o);return}let s=tp(e);if(s){t.onConfigIgnoreNestedError?.(s);return}t.onUnknown?.(e)}function ap(e,t){let n;try{n=JSON.parse(e)}catch{return null}let r=t.safeParse(n);return r.success?r.data:null}function op(){return typeof location>`u`?`ws://localhost/collab`:`${location.protocol===`https:`?`wss`:`ws`}://${location.host}/collab`}function sp(e){if(e===void 0)return null;let t=e.okDesktop;return!t||!t.config.collabUrl||t.config.collabUrl.length===0?null:t}function cp(e){return{collabUrl:e.collabUrl,attempts:0,terminal:!1,lastError:null}}var lp=2e3,up=15e3;function dp(e){let t=e.terminalAfterMs??3e4,n=e.initialDelayMs??lp,r=e.maxDelayMs??up,i=e.log??{info:console.info,warn:console.warn},a=new AbortController,o=null,s=n,c=0,l=!1,u=!1,d=null,f=e.now(),p=async()=>{c+=1;let n=null;try{let t=await e.fetchConfig(a.signal);t.status===`absent`?(n=e.fallbackUrl(),d=null):t.status===`ok`&&t.config.collabUrl!==null?(n=t.config.collabUrl,d=null):t.status===`ok`?(u||(u=!0,i.info(`[collab-url] ok ui responded but server.lock has no port yet — retrying`)),d={kind:`null-collab`}):t.status===`error`&&(i.warn(`[collab-url] /api/config error (${t.code}) — retrying in ${s}ms`),d={kind:`error`,code:t.code})}catch(e){if(e.name===`AbortError`)return;d={kind:`error`,code:`network`}}if(!l){if(n!==null){e.onStateChange({collabUrl:n,attempts:c,terminal:!1,lastError:null});return}if(e.now()-f>=t){e.onStateChange({collabUrl:null,attempts:c,terminal:!0,lastError:d});return}e.onStateChange({collabUrl:null,attempts:c,terminal:!1,lastError:d}),o=e.setTimeout(()=>{p()},s),s=Math.min(s*2,r)}};return p(),{cancel:()=>{l=!0,a.abort(),o!==null&&(e.clearTimeout(o),o=null)}}}function fp(){let e=(0,$.c)(8),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={collabUrl:null,attempts:0,terminal:!1,lastError:null},e[0]=t):t=e[0];let[n,r]=(0,Q.useState)(t),i;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(i={token:0},e[1]=i):i=e[1];let a=(0,Q.useRef)(i),[o,s]=(0,Q.useState)(0),c;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{let e=a.current.token=a.current.token+1,t=sp(window);if(t){r(cp(t.config));let n=t.onProjectSwitched(t=>{e===a.current.token&&r(cp(t))});return()=>{n()}}let n=dp({fetchConfig:Xf,fallbackUrl:op,now:Date.now,setTimeout:gp,clearTimeout:hp,onStateChange:t=>{e===a.current.token&&r(t)}});return()=>{n.cancel()}},e[2]=c):c=e[2];let l;e[3]===o?l=e[4]:(l=[o],e[3]=o,e[4]=l),(0,Q.useEffect)(c,l);let u;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>{a.current.token=a.current.token+1,r(mp),s(pp)},e[5]=u):u=e[5];let d=u,f;return e[6]===n?f=e[7]:(f={...n,retry:d},e[6]=n,e[7]=f),f}function pp(e){return e+1}function mp(e){return{...e,terminal:!1,lastError:null}}function hp(e){return globalThis.clearTimeout(e)}function gp(e,t){return globalThis.setTimeout(e,t)}var _p=new Map,vp=new Set;function yp(){for(let e of vp)e()}function bp(e,t){_p.set(e,t),yp()}function xp(e,t){_p.get(e)===t&&(_p.delete(e),yp())}function Sp(e){return _p.get(e)??null}function Cp(e){return vp.add(e),()=>vp.delete(e)}var wp=()=>{let e=!0;return(t,n)=>{if(e){e=!1;try{t()}finally{e=!0}}else n!==void 0&&n()}},Tp=/[\uD800-\uDBFF]/,Ep=/[\uDC00-\uDFFF]/,Dp=(e,t)=>{let n=0,r=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)n++;for(n>0&&Tp.test(e[n-1])&&n--;r+n<e.length&&r+n<t.length&&e[e.length-r-1]===t[t.length-r-1];)r++;return r>0&&Ep.test(e[e.length-r])&&r--,{index:n,remove:e.length-n-r,insert:t.slice(n,t.length-r)}},Op=(e,t)=>e>>>t|e<<32-t,kp=e=>Op(e,2)^Op(e,13)^Op(e,22),Ap=e=>Op(e,6)^Op(e,11)^Op(e,25),jp=e=>Op(e,7)^Op(e,18)^e>>>3,Mp=e=>Op(e,17)^Op(e,19)^e>>>10,Np=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Pp=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Fp=class{constructor(){let e=new ArrayBuffer(320);this._H=new Uint32Array(e,0,8),this._H.set(Pp),this._W=new Uint32Array(e,64,64)}_updateHash(){let e=this._H,t=this._W;for(let e=16;e<64;e++)t[e]=Mp(t[e-2])+t[e-7]+jp(t[e-15])+t[e-16];let n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7];for(let e=0,u,d;e<64;e++)u=l+Ap(o)+(o&s^~o&c)+Np[e]+t[e]>>>0,d=kp(n)+(n&r^n&i^r&i)>>>0,l=c,c=s,s=o,o=a+u>>>0,a=i,i=r,r=n,n=u+d>>>0;e[0]+=n,e[1]+=r,e[2]+=i,e[3]+=a,e[4]+=o,e[5]+=s,e[6]+=c,e[7]+=l}digest(e){let t=0;for(;t+56<=e.length;){let n=0;for(;n<16&&t+3<e.length;n++)this._W[n]=e[t++]<<24|e[t++]<<16|e[t++]<<8|e[t++];if(t%64!=0){for(this._W.fill(0,n,16);t<e.length;)this._W[n]|=e[t]<<(3-t%4)*8,t++;this._W[n]|=128<<(3-t%4)*8}this._updateHash()}let n=t%64!=0;this._W.fill(0,0,16);let r=0;for(;t<e.length;r++)for(let n=3;n>=0&&t<e.length;n--)this._W[r]|=e[t++]<<n*8;n||(this._W[r-(t%4==0?0:1)]|=128<<(3-t%4)*8),this._W[14]=e.byteLength/yn,this._W[15]=e.byteLength*8,this._updateHash();let i=new Uint8Array(32);for(let e=0;e<this._H.length;e++)for(let t=0;t<4;t++)i[e*4+t]=this._H[e]>>>(3-t)*8;return i}},Ip=e=>new Fp().digest(e),Lp=new Re(`y-sync`),Rp=new Re(`y-undo`),zp=new Re(`yjs-cursor`),Bp=e=>{for(let t=6;t<e.length;t++)e[t%6]=e[t%6]^e[t];return e.slice(0,6)},Vp=e=>Rn(Bp(Ip(Ln(e)))),Hp=()=>({mapping:new Map,isOMark:new Map}),Up=(e,t)=>t===void 0?!e.deleted:t.sv.has(e.id.client)&&t.sv.get(e.id.client)>e.id.clock&&!$n(t.ds,e.id),Wp=[{light:`#ecd44433`,dark:`#ecd444`}],Gp=(e,t,n)=>{if(!e.has(n)){if(e.size<t.length){let n=lr();e.forEach(e=>n.add(e)),t=t.filter(e=>!n.has(e))}e.set(n,Bn(t))}return e.get(n)},Kp=(e,{colors:t=Wp,colorMapping:n=new Map,permanentUserData:r=null,onFirstRender:i=()=>{},mapping:a}={})=>{let o=!1,s=new Xp(e,a),c=new Ut({props:{editable:e=>{let t=Lp.getState(e);return t.snapshot==null&&t.prevSnapshot==null}},key:Lp,state:{init:(i,a)=>({type:e,doc:e.doc,binding:s,snapshot:null,prevSnapshot:null,isChangeOrigin:!1,isUndoRedoOperation:!1,addToHistory:!0,colors:t,colorMapping:n,permanentUserData:r}),apply:(e,t)=>{let n=e.getMeta(Lp);if(n!==void 0){t=Object.assign({},t);for(let e in n)t[e]=n[e]}return t.addToHistory=e.getMeta(`addToHistory`)!==!1,t.isChangeOrigin=n!==void 0&&!!n.isChangeOrigin,t.isUndoRedoOperation=n!==void 0&&!!n.isChangeOrigin&&!!n.isUndoRedoOperation,s.prosemirrorView!==null&&n!==void 0&&(n.snapshot!=null||n.prevSnapshot!=null)&&Pn(0,()=>{s.prosemirrorView!=null&&(n.restore==null?s._renderSnapshot(n.snapshot,n.prevSnapshot,t):(s._renderSnapshot(n.snapshot,n.snapshot,t),delete t.restore,delete t.snapshot,delete t.prevSnapshot,s.mux(()=>{s._prosemirrorChanged(s.prosemirrorView.state.doc)})))}),t}},view:e=>(s.initView(e),a??s._forceRerender(),i(),{update:()=>{let t=c.getState(e.state);if(t.snapshot==null&&t.prevSnapshot==null&&(o||e.state.doc.content.findDiffStart(e.state.doc.type.createAndFill().content)!==null)){if(o=!0,t.addToHistory===!1&&!t.isChangeOrigin){let t=Rp.getState(e.state),n=t&&t.undoManager;n&&n.stopCapturing()}s.mux(()=>{t.doc.transact(n=>{n.meta.set(`addToHistory`,t.addToHistory),s._prosemirrorChanged(e.state.doc)},Lp)})}},destroy:()=>{s.destroy()}})});return c},qp=(e,t,n)=>{if(t!==null&&t.anchor!==null&&t.head!==null)if(t.type===`all`)e.setSelection(new Me(e.doc));else if(t.type===`node`){let r=Tm(n.doc,n.type,t.anchor,n.mapping);e.setSelection(Jp(e,r))}else{let r=Tm(n.doc,n.type,t.anchor,n.mapping),i=Tm(n.doc,n.type,t.head,n.mapping);r!==null&&i!==null&&e.setSelection(y.between(e.doc.resolve(r),e.doc.resolve(i)))}},Jp=(e,t)=>{let n=e.doc.resolve(t);return n.nodeAfter?Lt.create(e.doc,t):y.near(n)},Yp=(e,t)=>({type:t.selection.jsonID,anchor:Cm(t.selection.anchor,e.type,e.mapping),head:Cm(t.selection.head,e.type,e.mapping)}),Xp=class{constructor(e,t=new Map){this.type=e,this.prosemirrorView=null,this.mux=wp(),this.mapping=t,this.isOMark=new Map,this._observeFunction=this._typeChanged.bind(this),this.doc=e.doc,this.beforeTransactionSelection=null,this.beforeAllTransactions=()=>{this.beforeTransactionSelection===null&&this.prosemirrorView!=null&&(this.beforeTransactionSelection=Yp(this,this.prosemirrorView.state))},this.afterAllTransactions=()=>{this.beforeTransactionSelection=null},this._domSelectionInView=null}get _tr(){return this.prosemirrorView.state.tr.setMeta(`addToHistory`,!1)}_isLocalCursorInView(){return this.prosemirrorView.hasFocus()?(Tn&&this._domSelectionInView===null&&(Pn(0,()=>{this._domSelectionInView=null}),this._domSelectionInView=this._isDomSelectionInView()),this._domSelectionInView):!1}_isDomSelectionInView(){let e=this.prosemirrorView._root.getSelection();if(e==null||e.anchorNode==null)return!1;let t=this.prosemirrorView._root.createRange();t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset),t.getClientRects().length===0&&t.startContainer&&t.collapsed&&t.selectNodeContents(t.startContainer);let n=t.getBoundingClientRect(),r=vr.documentElement;return n.bottom>=0&&n.right>=0&&n.left<=(window.innerWidth||r.clientWidth||0)&&n.top<=(window.innerHeight||r.clientHeight||0)}renderSnapshot(e,t){t||=In(gr(),new Map),this.prosemirrorView.dispatch(this._tr.setMeta(Lp,{snapshot:e,prevSnapshot:t}))}unrenderSnapshot(){this.mapping.clear(),this.mux(()=>{let e=this.type.toArray().map(e=>Qp(e,this.prosemirrorView.state.schema,this)).filter(e=>e!==null),t=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ae(x.from(e),0,0));t.setMeta(Lp,{snapshot:null,prevSnapshot:null}),this.prosemirrorView.dispatch(t)})}_forceRerender(){this.mapping.clear(),this.mux(()=>{let e=this.beforeTransactionSelection===null?this.prosemirrorView.state.selection:null,t=this.type.toArray().map(e=>Qp(e,this.prosemirrorView.state.schema,this)).filter(e=>e!==null),n=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ae(x.from(t),0,0));if(e){let t=fr(Jn(e.anchor,0),n.doc.content.size),r=fr(Jn(e.head,0),n.doc.content.size);n.setSelection(y.create(n.doc,t,r))}this.prosemirrorView.dispatch(n.setMeta(Lp,{isChangeOrigin:!0,binding:this}))})}_renderSnapshot(e,t,n){let r=this.doc,i=this.type;if(e||=wn(this.doc),e instanceof Uint8Array||t instanceof Uint8Array)if((!(e instanceof Uint8Array)||!(t instanceof Uint8Array))&&Nn(),r=new tr({gc:!1}),mr(r,t),t=wn(r),mr(r,e),e=wn(r),i._item===null){let e=Array.from(this.doc.share.keys()).find(e=>this.doc.share.get(e)===this.type);i=r.getXmlFragment(e)}else{let e=r.store.clients.get(i._item.id.client)??[];i=e[er(e,i._item.id.clock)].content.type}this.mapping.clear(),this.mux(()=>{r.transact(r=>{let a=n.permanentUserData;a&&a.dss.forEach(e=>{jn(r,e,e=>{})});let o=(e,t)=>{let r=e===`added`?a.getUserByClientId(t.client):a.getUserByDeletedId(t);return{user:r,type:e,color:Gp(n.colorMapping,n.colors,r)}},s=kn(i,new Yn(t.ds,e.sv)).map(n=>!n._item.deleted||Up(n._item,e)||Up(n._item,t)?Qp(n,this.prosemirrorView.state.schema,{mapping:new Map,isOMark:new Map},e,t,o):null).filter(e=>e!==null),c=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ae(x.from(s),0,0));this.prosemirrorView.dispatch(c.setMeta(Lp,{isChangeOrigin:!0}))},Lp)})}_typeChanged(e,t){if(this.prosemirrorView==null)return;let n=Lp.getState(this.prosemirrorView.state);if(e.length===0||n.snapshot!=null||n.prevSnapshot!=null){this.renderSnapshot(n.snapshot,n.prevSnapshot);return}this.mux(()=>{let e=(e,t)=>this.mapping.delete(t);jn(t,t.deleteSet,e=>{if(e.constructor===pr){let t=e.content.type;t&&this.mapping.delete(t)}}),t.changed.forEach(e),t.changedParentTypes.forEach(e);let n=this.type.toArray().map(e=>Zp(e,this.prosemirrorView.state.schema,this)).filter(e=>e!==null),r=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ae(x.from(n),0,0));qp(r,this.beforeTransactionSelection,this),r=r.setMeta(Lp,{isChangeOrigin:!0,isUndoRedoOperation:t.origin instanceof or}),this.beforeTransactionSelection!==null&&this._isLocalCursorInView()&&r.scrollIntoView(),this.prosemirrorView.dispatch(r)})}_prosemirrorChanged(e){this.doc.transact(()=>{gm(this.doc,this.type,e,this),this.beforeTransactionSelection=Yp(this,this.prosemirrorView.state)},Lp)}initView(e){this.prosemirrorView!=null&&this.destroy(),this.prosemirrorView=e,this.doc.on(`beforeAllTransactions`,this.beforeAllTransactions),this.doc.on(`afterAllTransactions`,this.afterAllTransactions),this.type.observeDeep(this._observeFunction)}destroy(){this.prosemirrorView!=null&&(this.prosemirrorView=null,this.type.unobserveDeep(this._observeFunction),this.doc.off(`beforeAllTransactions`,this.beforeAllTransactions),this.doc.off(`afterAllTransactions`,this.afterAllTransactions))}},Zp=(e,t,n,r,i,a)=>{let o=n.mapping.get(e);if(o===void 0){if(e instanceof Zn)return Qp(e,t,n,r,i,a);throw Vn()}return o},Qp=(e,t,n,r,i,a)=>{let o=[],s=e=>{if(e instanceof Zn){let s=Zp(e,t,n,r,i,a);s!==null&&o.push(s)}else{let s=e._item.right?.content?.type;s instanceof nr&&!s._item.deleted&&s._item.id.client===s.doc.clientID&&(e.applyDelta([{retain:e.length},...s.toDelta()]),s.doc.transact(e=>{s._item.delete(e)}));let c=$p(e,t,n,r,i,a);c!==null&&c.forEach(e=>{e!==null&&o.push(e)})}};r===void 0||i===void 0?e.toArray().forEach(s):kn(e,new Yn(i.ds,r.sv)).forEach(s);try{let s=e.getAttributes(r);r!==void 0&&(Up(e._item,r)?Up(e._item,i)||(s.ychange=a?a(`added`,e._item.id):{type:`added`}):s.ychange=a?a(`removed`,e._item.id):{type:`removed`});let c=t.node(e.nodeName,s,o);return n.mapping.set(e,c),c}catch(r){console.warn(`[y-prosemirror] schema.node(`+e.nodeName+`) threw:`,String(r&&r.message||r));let i=globalThis.__okYpsCounters=globalThis.__okYpsCounters||{block:0,inline:0};if(t.nodes[e.nodeName]&&t.nodes[e.nodeName].spec&&t.nodes[e.nodeName].spec.inline)i.inline++;else if(i.block++,t.nodes.rawMdxFallback)try{let i=t.node(`rawMdxFallback`,{reason:String(r&&r.message||r)},[t.text(e.nodeName)]);return n.mapping.set(e,i),i}catch(e){console.warn(`[y-prosemirror] rawMdxFallback substitution also failed:`,String(e&&e.message||e))}return n.mapping.delete(e),null}},$p=(e,t,n,r,i,a)=>{let o=[],s=e.toDelta(r,i,a);try{for(let e=0;e<s.length;e++){let n=s[e];o.push(t.text(n.insert,mm(n.attributes,t)))}}catch(e){console.warn(`[y-prosemirror] schema.text() threw:`,String(e&&e.message||e));let t=globalThis.__okYpsCounters=globalThis.__okYpsCounters||{block:0,inline:0};return t.inline++,null}return o},em=(e,t)=>{let n=new Xn,r=e.map(e=>({insert:e.text,attributes:hm(e.marks,t)}));return n.applyDelta(r),t.mapping.set(n,e),n},tm=(e,t)=>{let n=new Zn(e.type.name);for(let t in e.attrs){let r=e.attrs[t];r!==null&&t!==`ychange`&&n.setAttribute(t,r)}return n.insert(0,am(e).map(e=>nm(e,t))),t.mapping.set(n,e),n},nm=(e,t)=>e instanceof Array?em(e,t):tm(e,t),rm=e=>typeof e==`object`&&!!e,im=(e,t)=>{let n=Object.keys(e).filter(t=>e[t]!==null),r=n.length===Object.keys(t).filter(e=>t[e]!==null).length;for(let i=0;i<n.length&&r;i++){let a=n[i],o=e[a],s=t[a];r=a===`ychange`||o===s||rm(o)&&rm(s)&&im(o,s)}return r},am=e=>{let t=e.content.content,n=[];for(let e=0;e<t.length;e++){let r=t[e];if(r.isText){let r=[];for(let n=t[e];e<t.length&&n.isText;n=t[++e])r.push(n);e--,n.push(r)}else n.push(r)}return n},om=(e,t)=>{let n=e.toDelta();return n.length===t.length&&n.every((e,n)=>e.insert===t[n].text&&sr(e.attributes||{}).length===t[n].marks.length&&On(e.attributes,(e,r)=>{let i=pm(r),a=t[n].marks;return a.find(e=>e.type.name===i)?im(e,a.find(e=>e.type.name===i)?.attrs):!1}))},sm=(e,t)=>{if(e instanceof Zn&&!(t instanceof Array)&&_m(e,t)){let n=am(t);return e._length===n.length&&im(e.getAttributes(),t.attrs)&&e.toArray().every((e,t)=>sm(e,n[t]))}return e instanceof Xn&&t instanceof Array&&om(e,t)},cm=(e,t)=>e===t||e instanceof Array&&t instanceof Array&&e.length===t.length&&e.every((e,n)=>t[n]===e),lm=(e,t,n)=>{let r=e.toArray(),i=am(t),a=i.length,o=r.length,s=fr(o,a),c=0,l=0,u=!1;for(;c<s;c++){let e=r[c],t=i[c];if(cm(n.mapping.get(e),t))u=!0;else if(!sm(e,t))break}for(;c+l<s;l++){let e=r[o-l-1],t=i[a-l-1];if(cm(n.mapping.get(e),t))u=!0;else if(!sm(e,t))break}return{equalityFactor:c+l,foundMappedChild:u}},um=e=>{let t=``,n=e._start,r={};for(;n!==null;)n.deleted||(n.countable&&n.content instanceof ur?t+=n.content.str:n.content instanceof ir&&(r[n.content.key]=null)),n=n.right;return{str:t,nAttrs:r}},dm=(e,t,n)=>{n.mapping.set(e,t);let{nAttrs:r,str:i}=um(e),a=t.map(e=>({insert:e.text,attributes:Object.assign({},r,hm(e.marks,n))})),{insert:o,remove:s,index:c}=Dp(i,a.map(e=>e.insert).join(``));e.delete(c,s),e.insert(c,o),e.applyDelta(a.map(e=>({retain:e.insert.length,attributes:e.attributes})))},fm=/(.*)(--[a-zA-Z0-9+/=]{8})$/,pm=e=>fm.exec(e)?.[1]??e,mm=(e,t)=>{let n=[];for(let r in e)n.push(t.mark(pm(r),e[r]));return n},hm=(e,t)=>{let n={};return e.forEach(e=>{if(e.type.name!==`ychange`){let r=Wn(t.isOMark,e.type,()=>!e.type.excludes(e.type));n[r?`${e.type.name}--${Vp(e.toJSON())}`:e.type.name]=e.attrs}}),n},gm=(e,t,n,r)=>{if(t instanceof Zn&&t.nodeName!==n.type.name)throw Error(`node name mismatch!`);if(r.mapping.set(t,n),t instanceof Zn){let e=t.getAttributes(),r=n.attrs;for(let n in r)r[n]===null?t.removeAttribute(n):e[n]!==r[n]&&n!==`ychange`&&t.setAttribute(n,r[n]);for(let n in e)r[n]===void 0&&t.removeAttribute(n)}let i=am(n),a=i.length,o=t.toArray(),s=o.length,c=fr(a,s),l=0,u=0;for(;l<c;l++){let e=o[l],t=i[l];if(!cm(r.mapping.get(e),t))if(sm(e,t))r.mapping.set(e,t);else break}for(;u+l+1<c;u++){let e=o[s-u-1],t=i[a-u-1];if(!cm(r.mapping.get(e),t))if(sm(e,t))r.mapping.set(e,t);else break}e.transact(()=>{for(;s-l-u>0&&a-l-u>0;){let n=o[l],c=i[l],d=o[s-u-1],f=i[a-u-1];if(n instanceof Xn&&c instanceof Array)om(n,c)||dm(n,c,r),l+=1;else{let i=n instanceof Zn&&_m(n,c),a=d instanceof Zn&&_m(d,f);if(i&&a){let e=lm(n,c,r),t=lm(d,f,r);e.foundMappedChild&&!t.foundMappedChild?a=!1:!e.foundMappedChild&&t.foundMappedChild||e.equalityFactor<t.equalityFactor?i=!1:a=!1}i?(gm(e,n,c,r),l+=1):a?(gm(e,d,f,r),u+=1):(r.mapping.delete(t.get(l)),t.delete(l,1),t.insert(l,[nm(c,r)]),l+=1)}}let n=s-l-u;if(s===1&&a===0&&o[0]instanceof Xn?(r.mapping.delete(o[0]),o[0].delete(0,o[0].length)):n>0&&(t.slice(l,l+n).forEach(e=>r.mapping.delete(e)),t.delete(l,n)),l+u<a){let e=[];for(let t=l;t<a-u;t++)e.push(nm(i[t],r));t.insert(l,e)}},Lp)},_m=(e,t)=>!(t instanceof Array)&&e.nodeName===t.type.name,vm=null,ym=class{constructor(e,t,n){this.view=e,this.key=t,this.value=n}apply(){let e=Lp.getState(this.view.state);if(e&&e.binding&&!e.binding.isDestroyed){let e=this.view.state.tr;e.setMeta(this.key,this.value),this.view.dispatch(e)}}},bm=class e{constructor(e=[]){this.entries=e}getFirst(){return this.entries[0]}dequeueFirst(){return this.entries.shift()}isEmpty(){return this.entries.length===0}static fromViewsToUpdate(){let t=vm;vm=null;let n=[];return t.forEach((e,t)=>{e.forEach((e,r)=>{n.push(new ym(t,r,e))})}),new e(n)}},xm=(e=bm.fromViewsToUpdate(),t=!1)=>{let n=!0;for(;!e.isEmpty();){let r=e.getFirst();try{r.apply()}catch(r){if(r instanceof RangeError){t&&n&&e.dequeueFirst(),e.isEmpty()||Pn(0,()=>xm(e,!0));return}throw r}n=!1,e.dequeueFirst()}},Sm=(e,t,n)=>{vm||(vm=new Map,Pn(0,xm)),Wn(vm,e,Qn).set(t,n)},Cm=(e,t,n)=>{if(e===0)return hr(t,0,-1);let r=t._first===null?null:t._first.content.type;for(;r!==null&&t!==r;){if(r instanceof Xn){if(r._length>=e)return hr(r,e,-1);if(e-=r._length,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{do r=r._item===null?null:r._item.parent,e--;while(r!==t&&r!==null&&r._item!==null&&r._item.next===null);r!==null&&r!==t&&(r=r._item===null?null:r._item.next.content.type)}}else{let i=(n.get(r)||{nodeSize:0}).nodeSize;if(r._first!==null&&e<i)r=r._first.content.type,e--;else{if(e===1&&r._length===0&&i>1)return new qn(r._item===null?null:r._item.id,r._item===null?bn(r):null,null);if(e-=i,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{if(e===0)return r=r._item===null?r:r._item.parent,new qn(r._item===null?null:r._item.id,r._item===null?bn(r):null,null);do r=r._item.parent,e--;while(r!==t&&r._item.next===null);r!==t&&(r=r._item.next.content.type)}}}if(r===null)throw Nn();if(e===0&&r.constructor!==Xn&&r!==t)return wm(r._item.parent,r._item)}return hr(t,t._length,-1)},wm=(e,t)=>{let n=null,r=null;return e._item===null?r=bn(e):n=Fn(e._item.id.client,e._item.id.clock),new qn(n,r,t.id)},Tm=(e,t,n,r)=>{let i=Gn(n,e);if(i===null||i.type!==t&&!An(t,i.type._item))return null;let a=i.type,o=0;if(a.constructor===Xn)o=i.index;else if(a._item===null||!a._item.deleted){let e=a._first,t=0;for(;t<a._length&&t<i.index&&e!==null;){if(!e.deleted){let n=e.content.type;t++,n instanceof Xn?o+=n._length:o+=r.get(n).nodeSize}e=e.right}o+=1}for(;a!==t&&a._item!==null;){let e=a._item.parent;if(e._item===null||!e._item.deleted){o+=1;let t=e._first;for(;t!==null;){let e=t.content.type;if(e===a)break;t.deleted||(e instanceof Xn?o+=e._length:o+=r.get(e).nodeSize),t=t.right}}a=e}return o-1},Em=(e,t)=>{let n=Hp(),r=e.toArray().map(e=>Qp(e,t,n)).filter(e=>e!==null);return{doc:t.topNodeType.create(null,x.fromArray(r)),meta:n,mapping:n.mapping}},Dm=(e,t,n)=>e!==t,Om=e=>{let t=document.createElement(`span`);t.classList.add(`ProseMirror-yjs-cursor`),t.setAttribute(`style`,`border-color: ${e.color}`);let n=document.createElement(`div`);n.setAttribute(`style`,`background-color: ${e.color}`),n.insertBefore(document.createTextNode(e.name),null);let r=document.createTextNode(``),i=document.createTextNode(``);return t.insertBefore(r,null),t.insertBefore(n,null),t.insertBefore(i,null),t},km=e=>({style:`background-color: ${e.color}70`,class:`ProseMirror-yjs-selection`}),Am=/^#[0-9a-fA-F]{6}$/,jm=(e,t,n,r,i)=>{let a=Lp.getState(e);if(a==null||a.doc==null||a.binding==null)return $e.create(e.doc,[]);let o=a.doc,s=[];return a.snapshot!=null||a.prevSnapshot!=null||a.binding.mapping.size===0?$e.create(e.doc,[]):(t.getStates().forEach((t,c)=>{if(n(o.clientID,c,t)&&t.cursor!=null){let n=t.user||{};n.color==null?n.color=`#ffa500`:Am.test(n.color)||console.warn(`A user uses an unsupported color format`,n),n.name??=`User: ${c}`;let l=Tm(o,a.type,xn(t.cursor.anchor),a.binding.mapping),u=Tm(o,a.type,xn(t.cursor.head),a.binding.mapping);if(l!==null&&u!==null){let t=Jn(e.doc.content.size-1,0);l=fr(l,t),u=fr(u,t),s.push(mt.widget(u,()=>r(n,c),{key:c+``,side:10}));let a=fr(l,u),o=Jn(l,u);s.push(mt.inline(a,o,i(n,c),{inclusiveEnd:!0,inclusiveStart:!1}))}}}),$e.create(e.doc,s))},Mm=(e,{awarenessStateFilter:t=Dm,cursorBuilder:n=Om,selectionBuilder:r=km,getSelection:i=e=>e.selection}={},a=`cursor`)=>new Ut({key:zp,state:{init(i,a){return jm(a,e,t,n,r)},apply(i,a,o,s){let c=Lp.getState(s),l=i.getMeta(zp);return c&&c.isChangeOrigin||l&&l.awarenessUpdated?jm(s,e,t,n,r):a.map(i.mapping,i.doc)}},props:{decorations:e=>zp.getState(e)},view:t=>{let n=()=>{t.docView&&Sm(t,zp,{awarenessUpdated:!0})},r=()=>{let n=Lp.getState(t.state),r=e.getLocalState()||{};if(t.hasFocus()){let o=i(t.state),s=Cm(o.anchor,n.type,n.binding.mapping),c=Cm(o.head,n.type,n.binding.mapping);(r.cursor==null||!_r(xn(r.cursor.anchor),s)||!_r(xn(r.cursor.head),c))&&e.setLocalStateField(a,{anchor:s,head:c})}else r.cursor!=null&&Tm(n.doc,n.type,xn(r.cursor.anchor),n.binding.mapping)!==null&&e.setLocalStateField(a,null)};return e.on(`change`,n),t.dom.addEventListener(`focusin`,r),t.dom.addEventListener(`focusout`,r),{update:r,destroy:()=>{t.dom.removeEventListener(`focusin`,r),t.dom.removeEventListener(`focusout`,r),e.off(`change`,n),e.setLocalStateField(a,null)}}}}),Nm=e=>{let t=Rp.getState(e).undoManager;if(t!=null)return t.undo(),!0},Pm=e=>{let t=Rp.getState(e).undoManager;if(t!=null)return t.redo(),!0},Fm=new Set([`paragraph`]),Im=(e,t)=>!(e instanceof pr)||!(e.content instanceof Kn)||!(e.content.type instanceof nr||e.content.type instanceof Zn&&t.has(e.content.type.nodeName))||e.content.type._length===0,Lm=({protectedNodes:e=Fm,trackedOrigins:t=[],undoManager:n=null}={})=>new Ut({key:Rp,state:{init:(r,i)=>{let a=Lp.getState(i),o=n||new or(a.type,{trackedOrigins:new Set([Lp].concat(t)),deleteFilter:t=>Im(t,e),captureTransaction:e=>e.meta.get(`addToHistory`)!==!1});return{undoManager:o,prevSel:null,hasUndoOps:o.undoStack.length>0,hasRedoOps:o.redoStack.length>0}},apply:(e,t,n,r)=>{let i=Lp.getState(r).binding,a=t.undoManager,o=a.undoStack.length>0,s=a.redoStack.length>0;return i?{undoManager:a,prevSel:Yp(i,n),hasUndoOps:o,hasRedoOps:s}:o!==t.hasUndoOps||s!==t.hasRedoOps?Object.assign({},t,{hasUndoOps:a.undoStack.length>0,hasRedoOps:a.redoStack.length>0}):t}},view:e=>{let t=Lp.getState(e.state),n=Rp.getState(e.state).undoManager;return n.on(`stack-item-added`,({stackItem:n})=>{let r=t.binding;r&&n.meta.set(r,Rp.getState(e.state).prevSel)}),n.on(`stack-item-popped`,({stackItem:e})=>{let n=t.binding;n&&(n.beforeTransactionSelection=e.meta.get(n)||n.beforeTransactionSelection)}),{destroy:()=>{n.destroy()}}}}),Rm=new Map;function zm(e){return Rm.get(e)}function Bm(e,t){Rm.set(e,t)}function Vm(e){Rm.delete(e)}var Hm=`open-knowledge-app`,Um=new Map,Wm=new Set,Gm=1024,Km=1024;function qm(){return qt.getTracer(Hm)}function Jm(e,t,n){if(Wm.has(e))return null;let r=Um.get(e);if(r)return r;if(Um.size>=Km){let e=Um.keys().next().value;if(e!==void 0){let t=Um.get(e);Um.delete(e);try{t?.span.end()}catch(e){console.warn(`[otel-spans] eviction span.end failed:`,e instanceof Error?e:String(e))}}}let i={span:qm().startSpan(`ok.cold-mount`,{attributes:{"mount.id":e,...t},startTime:n}),startTimeMs:n};return Um.set(e,i),i}function Ym(e,t,n,r,i){try{let a=Jm(e,n,r),o=a?qt.setSpan(Jt.active(),a.span):Jt.active();qm().startSpan(t,{attributes:{"mount.id":e,...n},startTime:r},o).end(i??Date.now())}catch(e){console.warn(`[otel-spans] emitColdMountChild failed:`,e instanceof Error?e:String(e))}}function Xm(e,t){try{let n=Um.get(e);if(n&&(Um.delete(e),n.span.end(t??Date.now())),!Wm.has(e)){if(Wm.size>=Gm){let e=Wm.values().next().value;e!==void 0&&Wm.delete(e)}Wm.add(e)}}catch(e){console.warn(`[otel-spans] finalizeColdMountSpan failed:`,e instanceof Error?e:String(e))}}var Zm=class extends Error{docName;constructor(e){super(`Mount aborted for "${e}"`),this.name=`MountAbortError`,this.docName=e}};function Qm(){return ki(`MOUNT_STALLED_THRESHOLD_MS`,1e4)}function $m(e){e.stalledHandle!==null&&(clearTimeout(e.stalledHandle),e.stalledHandle=null)}function eh(e,t,n){if(e.stalledMarkEmitted)return;e.stalledMarkEmitted=!0;let r=n-e.createdAt;Y(`ok/mount/stalled`,{docName:t,mountId:e.mountId,elapsedMs:r})}var th=new Map,nh=new Set;function rh(e){nh.add(e);for(let[t,n]of th)if(n.stalledMarkEmitted&&!n.settled)try{e(t,n.mountId)}catch{}return()=>{nh.delete(e)}}function ih(e,t){for(let n of nh)try{n(e,t.mountId)}catch{}}var ah=!1;function oh(){typeof document>`u`||document.visibilityState===`visible`&&lh(Date.now())}function sh(){ah||typeof document>`u`||typeof document.addEventListener==`function`&&(document.addEventListener(`visibilitychange`,oh),ah=!0)}function ch(){ah&&(typeof document>`u`||typeof document.removeEventListener==`function`&&(document.removeEventListener(`visibilitychange`,oh),ah=!1))}function lh(e){let t=Qm();for(let[n,r]of th)r.settled||r.stalledMarkEmitted||e-r.createdAt<t||(eh(r,n,e),ih(n,r))}function uh(e){let{docName:t,mountId:n,construct:r,sizeStats:i}=e,a=th.get(t);if(a)return a.promise;let o=new AbortController,s=Date.now(),c=()=>{},l=()=>{},u=new Promise((e,t)=>{c=e,l=t}),d={promise:u,rejectFn:l,controller:o,mountId:n,createdAt:s,settled:!1,resolved:!1,preMountEditor:null,stalledHandle:null,stalledMarkEmitted:!1};return d.stalledHandle=setTimeout(()=>{d.settled||(eh(d,t,Date.now()),ih(t,d))},Qm()),o.signal.addEventListener(`abort`,()=>{d.settled||(d.settled=!0,$m(d),d.preMountEditor&&=(mh(t,d.preMountEditor,`aborted`),null),th.delete(t),th.size===0&&ch(),Y(`ok/mount/reject`,{docName:t,mountId:d.mountId,reason:`aborted`}),l(new Zm(t)),Xm(d.mountId))}),th.set(t,d),sh(),Y(`ok/mount/create`,{docName:t,mountId:d.mountId}),hh({docName:t,construct:r,sizeStats:i,entry:d,resolveFn:c,rejectFn:l}).catch(e=>{if(d.preMountEditor&&=(mh(t,d.preMountEditor,`backstop`),null),d.settled){Y(`ok/mount/post-settle-throw`,{docName:t,mountId:d.mountId,message:e instanceof Error?e.message:String(e)});return}d.settled=!0,$m(d);let n=e instanceof Error?e:Error(String(e));Y(`ok/mount/reject`,{docName:t,mountId:d.mountId,reason:`unhandled-body-throw`,message:n.message}),l(n),Xm(d.mountId)}),u}function dh(e){return th.get(e)?.resolved===!0}function fh(e){return th.get(e)?.controller??null}function ph(e){let t=th.get(e);t&&(t.settled=!0,$m(t),t.preMountEditor&&=(mh(e,t.preMountEditor,`aborted`),null),th.delete(e),th.size===0&&ch(),Y(`ok/mount/invalidate`,{docName:e,mountId:t.mountId}),Xm(t.mountId),t.controller.abort())}function mh(e,t,n){let r=gh(t);try{t.destroy()}catch(t){Y(`ok/mount/destroy-failed`,{docName:e,stage:n,message:t instanceof Error?t.message:String(t)})}r&&(r.restore=void 0)}async function hh(e){let{docName:t,construct:n,sizeStats:r,entry:i,resolveFn:a,rejectFn:o}=e,s=document.createElement(`div`);if(Xh(t)!==void 0){let e=Ph({docName:t,container:s,factory:()=>{throw Error(`mount-promise: V2 cache contract violation — factory invoked on HIT for "${t}"`)}});i.settled=!0,i.resolved=!0,$m(i),a(e);return}if(await scheduler.yield(),i.controller.signal.aborted)return;let c=null;try{c=n()}catch(e){i.settled=!0,$m(i);let n=e instanceof Error?e:Error(String(e));Y(`ok/mount/reject`,{docName:t,mountId:i.mountId,reason:`construct-failed`,message:n.message}),o(n),Xm(i.mountId);return}if(i.preMountEditor=c.editor,await scheduler.yield(),i.controller.signal.aborted){i.preMountEditor=null;return}try{c.editor.mount(s)}catch(e){mh(t,c.editor,`mount-failed`),i.preMountEditor=null,i.settled=!0,$m(i);let n=e instanceof Error?e:Error(String(e));Y(`ok/mount/reject`,{docName:t,mountId:i.mountId,reason:`mount-failed`,message:n.message}),o(n),Xm(i.mountId);return}let l;try{l=Ph({docName:t,container:s,sizeStats:r,factory:()=>c})}catch(e){mh(t,c.editor,`v2-register-failed`),i.preMountEditor=null,i.settled=!0,$m(i);let n=e instanceof Error?e:Error(String(e));Y(`ok/mount/reject`,{docName:t,mountId:i.mountId,reason:`v2-register-failed`,message:n.message}),o(n),Xm(i.mountId);return}i.preMountEditor=null,i.settled=!0,i.resolved=!0,$m(i);let u=Date.now()-i.createdAt;Y(`ok/mount/resolve`,{docName:t,mountId:i.mountId,elapsedMs:u}),Y.histogram(`ok/mount/resolve-elapsed-ms`,{docName:t,mountId:i.mountId},u),a(l);let d=Date.now();Ym(i.mountId,`ok.mount-promise`,{"doc.name":t,elapsed_ms:u},i.createdAt,d),Xm(i.mountId,d)}function gh(e){try{let t=e.state;return Rp.getState(t)?.undoManager??null}catch(e){return Y(`ok/cache/undo-manager-read-failed`,{message:e instanceof Error?e.message:String(e)}),null}}var _h=ki(`MAX_CACHE`,10),vh=ki(`VIEW_COUNT_CACHE_THRESHOLD`,50),yh=ki(`BYTES_CACHE_THRESHOLD`,8e6);function bh(e){return!(e.viewCount>0&&e.viewCount>=vh||e.bytes>yh)}var xh=new Map,Sh=new Map,Ch=new Map;function wh(e,t){if(Ch.size>=_h){let e=Ch.keys().next().value;e!==void 0&&Ch.delete(e)}Ch.set(e,t),Y(`ok/cache/snapshot-stored`,{toDocName:e,htmlBytes:t.html.length,hasScroll:t.scrollTop>0,hasSelection:t.selection!==null})}function Th(e){return Ch.get(e)??null}function Eh(e){if(!Ch.has(e))return;let t=Ch.get(e)??null;Ch.delete(e),Y(`ok/cache/snapshot-consumed`,{docName:e,hit:t!==null,hasScroll:t!==null&&t.scrollTop>0,hasSelection:t!==null&&t.selection!==null})}function Dh(){try{return typeof document>`u`?0:document.querySelector(`[data-testid="editor-scroll-container"]`)?.scrollTop??0}catch(e){return Y(`ok/cache/snapshot-scroll-read-failed`,{message:e instanceof Error?e.message:String(e)}),0}}function Oh(e){try{let t=e.state.selection;return t instanceof y?{type:`text`,anchor:t.anchor,head:t.head}:t instanceof Lt?{type:`node`,from:t.from}:null}catch(e){return Y(`ok/cache/snapshot-selection-read-failed`,{message:e instanceof Error?e.message:String(e)}),null}}function kh(e){for(let t of e)try{let e=Xh(t.fromDocName);if(e&&!e.editor.isDestroyed){if(e.ytext.length===0){Y(`ok/cache/snapshot-skipped-empty`,{fromDocName:t.fromDocName});continue}wh(t.toDocName,{html:e.editor.getHTML(),scrollTop:Dh(),selection:Oh(e.editor)})}else Y(`ok/cache/snapshot-skipped`,{fromDocName:t.fromDocName})}catch(e){Y(`ok/cache/snapshot-capture-failed`,{fromDocName:t.fromDocName,message:e instanceof Error?e.message:String(e)})}}var Ah=[],jh=[],Mh=new Set;function Nh(){if(typeof document>`u`)return null;let e=document.createElement(`div`);return e.setAttribute(`data-ok-editor-parking`,``),e.style.display=`none`,e.style.position=`absolute`,e.style.left=`-99999px`,e}function Ph(e){let{docName:t,container:n,factory:r,sizeStats:i}=e;if(i&&!bh(i)){let e=r(n);return Y(`ok/cache/miss`,{docName:t,mountId:zm(t),viewCount:i?.viewCount??-1,bytes:i?.bytes??-1,reason:`size-gate`}),{editor:e.editor,ydoc:e.ydoc,ytext:e.ytext,provider:e.provider,scrollTop:0,hadFocus:!1,activeMountKey:t,parkingNode:null,__uncached:!0}}let a=xh.get(t);if(a){if(Y(`ok/cache/reparent-start`,{docName:t,mountId:zm(t),kind:`tiptap`,viewCount:i?.viewCount??-1,bytes:i?.bytes??-1}),Hh(a,n),a.activeMountKey=t,Wh(Ah,t),n.scrollTop=a.scrollTop,a.hadFocus)try{a.editor.commands.focus()}catch{}return Y(`ok/cache/reparent-end`,{docName:t,mountId:zm(t),kind:`tiptap`,viewCount:i?.viewCount??-1,bytes:i?.bytes??-1}),Y(`ok/cache/hit`,{docName:t,mountId:zm(t),kind:`tiptap`}),i&&Y(`ok/cold/editor-mount-stats`,{docName:t,mountId:zm(t),viewCount:i.viewCount,bytes:i.bytes,cacheHit:!0,kind:`tiptap`}),a}for(;xh.size>=_h;){let e=Gh(Ah,t);if(!e)break;Ih(e)}let o=r(n),s={editor:o.editor,ydoc:o.ydoc,ytext:o.ytext,provider:o.provider,scrollTop:0,hadFocus:!1,activeMountKey:t,parkingNode:null};return xh.set(t,s),Wh(Ah,t),Y(`ok/cache/miss`,{docName:t,mountId:zm(t),viewCount:i?.viewCount??-1,bytes:i?.bytes??-1,reason:`cold`,kind:`tiptap`}),i&&Y(`ok/cold/editor-mount-stats`,{docName:t,mountId:zm(t),viewCount:i.viewCount,bytes:i.bytes,cacheHit:!1,kind:`tiptap`}),s}function Fh(e){let t=e.activeMountKey;if(e.__uncached){t&&ph(t);let n=gh(e.editor);try{e.editor.destroy()}catch(e){Y(`ok/cache/park-destroy-failed`,{docName:t??``,kind:`tiptap`,message:e instanceof Error?e.message:String(e)})}n&&(n.restore=void 0),e.activeMountKey=null;return}let n=Bh(e.editor);if(n){e.hadFocus=Vh(n.dom),e.scrollTop=(n.scrollDOM??n.dom.parentElement??n.dom).scrollTop??0;let t=n.dom.parentElement;t&&t.removeChild(n.dom),e.parkingNode||=Nh(),e.parkingNode&&e.parkingNode.appendChild(n.dom)}e.activeMountKey=null}function Ih(e){ph(e);let t=xh.get(e);if(!t)return!1;let n=gh(t.editor);try{t.editor.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`tiptap`,stage:`editor`,message:t instanceof Error?t.message:String(t)})}n&&(n.restore=void 0);try{t.provider.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`tiptap`,stage:`provider`,message:t instanceof Error?t.message:String(t)})}try{t.ydoc.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`tiptap`,stage:`ydoc`,message:t instanceof Error?t.message:String(t)})}xh.delete(e);let r=Ah.indexOf(e);return r!==-1&&Ah.splice(r,1),Y(`ok/cache/evict`,{docName:e,kind:`tiptap`}),!0}function Lh(e){let{docName:t,container:n,factory:r,sizeStats:i}=e;if(i&&!bh(i)){let e=r(n);return Y(`ok/cache/miss`,{docName:t,mountId:zm(t),viewCount:i?.viewCount??-1,bytes:i?.bytes??-1,reason:`size-gate`,kind:`cm`}),{view:e.view,ydoc:e.ydoc,ytext:e.ytext,provider:e.provider,themeCompartment:e.themeCompartment,wordWrapCompartment:e.wordWrapCompartment,placeholderCompartment:e.placeholderCompartment,scrollTop:0,hadFocus:!1,activeMountKey:t,parkingNode:null,__uncached:!0}}let a=Sh.get(t);if(a){if(Y(`ok/cache/reparent-start`,{docName:t,mountId:zm(t),kind:`cm`,viewCount:i?.viewCount??-1,bytes:i?.bytes??-1}),Uh(a,n),a.activeMountKey=t,Wh(jh,t),n.scrollTop=a.scrollTop,a.hadFocus)try{a.view.focus()}catch{}return Y(`ok/cache/reparent-end`,{docName:t,mountId:zm(t),kind:`cm`,viewCount:i?.viewCount??-1,bytes:i?.bytes??-1}),Y(`ok/cache/hit`,{docName:t,mountId:zm(t),kind:`cm`}),i&&Y(`ok/cold/editor-mount-stats`,{docName:t,mountId:zm(t),viewCount:i.viewCount,bytes:i.bytes,cacheHit:!0,kind:`cm`}),a}for(;Sh.size>=_h;){let e=Gh(jh,t);if(!e)break;zh(e)}let o=r(n),s={view:o.view,ydoc:o.ydoc,ytext:o.ytext,provider:o.provider,themeCompartment:o.themeCompartment,wordWrapCompartment:o.wordWrapCompartment,placeholderCompartment:o.placeholderCompartment,scrollTop:0,hadFocus:!1,activeMountKey:t,parkingNode:null};return Sh.set(t,s),Wh(jh,t),Y(`ok/cache/miss`,{docName:t,mountId:zm(t),viewCount:i?.viewCount??-1,bytes:i?.bytes??-1,reason:`cold`,kind:`cm`}),i&&Y(`ok/cold/editor-mount-stats`,{docName:t,mountId:zm(t),viewCount:i.viewCount,bytes:i.bytes,cacheHit:!1,kind:`cm`}),s}function Rh(e){if(e.__uncached){try{e.view.destroy()}catch(t){Y(`ok/cache/park-destroy-failed`,{docName:e.activeMountKey??``,kind:`cm`,message:t instanceof Error?t.message:String(t)})}e.activeMountKey=null;return}let t=e.view.dom;e.hadFocus=Vh(t),e.scrollTop=(e.view.scrollDOM??t).scrollTop??0;let n=t.parentElement;n&&n.removeChild(t),e.parkingNode||=Nh(),e.parkingNode&&e.parkingNode.appendChild(t),e.activeMountKey=null}function zh(e){let t=Sh.get(e);if(!t)return!1;try{t.view.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`cm`,stage:`view`,message:t instanceof Error?t.message:String(t)})}try{t.provider.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`cm`,stage:`provider`,message:t instanceof Error?t.message:String(t)})}try{t.ydoc.destroy()}catch(t){Y(`ok/cache/evict-failed`,{docName:e,kind:`cm`,stage:`ydoc`,message:t instanceof Error?t.message:String(t)})}Sh.delete(e);let n=jh.indexOf(e);return n!==-1&&jh.splice(n,1),Y(`ok/cache/evict`,{docName:e,kind:`cm`}),!0}function Bh(e){return e.editorView??null}function Vh(e){if(typeof document>`u`)return!1;let t=document.activeElement;return t?t===e?!0:e.contains(t):!1}function Hh(e,t){let n=Bh(e.editor);if(!n)return;let r=n.dom,i=r.parentElement;i&&i!==t&&i.removeChild(r),r.parentElement!==t&&t.appendChild(r)}function Uh(e,t){let n=e.view.dom,r=n.parentElement;r&&r!==t&&r.removeChild(n),n.parentElement!==t&&t.appendChild(n)}function Wh(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1),e.push(t)}function Gh(e,t){for(let n of e)if(n!==t&&!Mh.has(n))return n;Y(`ok/cache/evict-fallback-activity-saturated`,{mountingDocName:t,lruLength:e.length,activityMountCount:Mh.size});for(let n of e)if(n!==t)return n;return null}function Kh(e){let t=Mh,n=new Set(e);for(let e of t){if(n.has(e))continue;let t=Jh(e);if(t)try{t.disconnect(),Y(`ok/cache/disconnect`,{docName:e})}catch(t){Y(`ok/cache/disconnect-failed`,{docName:e,message:t instanceof Error?t.message:String(t)})}}for(let e of n){if(t.has(e))continue;let n=Jh(e);if(!n)continue;let r=t=>{Y(`ok/cache/connect-failed`,{docName:e,message:t instanceof Error?t.message:String(t)})};try{let t=n.connect();t&&typeof t.then==`function`?t.then(()=>Y(`ok/cache/connect`,{docName:e}),e=>r(e)):Y(`ok/cache/connect`,{docName:e})}catch(e){r(e)}}Mh=n}var qh=null;function Jh(e){let t=xh.get(e);if(t)return t.provider;let n=Sh.get(e);if(n)return n.provider;if(qh){let t=qh.entries.get(e);if(t)return t.provider}return null}function Yh(e){qh=e;let t=e.onEvict(e=>{Ih(e),zh(e)});return()=>{t(),qh===e&&(qh=null)}}function Xh(e){return xh.get(e)}function Zh(e,t){let n=e.replace(/^\/+|\/+$/g,``);return`${O}${n?`${n}/`:``}${t}`}function Qh(e,t){return`${Ze}/${e}/${t}`}function $h(e){let t=`${Ze}/`;if(!e.startsWith(t)||!e.endsWith(`/SKILL`))return null;let n=e.slice(t.length,e.length-6);return n&&!n.includes(`/`)?n:null}function eg(e){return V.includes(e)}var tg=`ok-editor-tabs-v1:`,ng=`\0folder:`,rg=`\0asset:`,ig=`\0skill-file:`,ag=`\0doc-tab:`,og=/\.(md|mdx)$/i;function sg(e){let t=e.lastIndexOf(ag);return t<0?{baseTabId:e,instanceSuffix:``}:{baseTabId:e.slice(0,t),instanceSuffix:e.slice(t)}}function cg(e){return sg(e).baseTabId}function lg(e){return og.test(e)?e.replace(og,``):null}function ug(e){if(typeof e!=`string`||e.length===0)return!1;let t=cg(e);return t.startsWith(ng)?t.length>8:t.startsWith(rg)?t.length>7:t.startsWith(ig)?fg(t)!==null:!0}function dg(e){return`${ig}${e.scope}/${e.name}/${e.path}`}function fg(e){if(!e.startsWith(ig))return null;let t=e.slice(12).split(`/`);if(t.length<3)return null;let[n,r,...i]=t,a=i.join(`/`);return!n||!r||!a||!eg(n)?null:{scope:n,name:r,path:a}}function pg(e){return e}function mg(e){return`${ng}${e}`}function hg(e){return`${rg}${e}`}function gg(e,t){let n=$h(e);if(n){let e=gn(n);return{baseName:e,extension:``,label:e,prefix:``}}let r=e.lastIndexOf(`/`),i=r<0?e:e.slice(r+1),a=og.test(t)&&og.test(i)?``:t,o=`${i}${a}`;return r<0?{baseName:i,extension:a,label:o,prefix:``}:{baseName:i,extension:a,label:o,prefix:`${e.slice(0,r)}/`}}function _g(e){switch(e.kind){case`doc`:case`folder-index`:case`large-file`:return pg(e.docName);case`folder`:return mg(e.folderPath);case`missing`:return pg(e.target);case`asset`:return hg(e.assetPath);case`skill-file`:return dg(e)}}function vg(e){let t=cg(e);if(t.startsWith(ng))return{kind:`folder`,folderPath:t.slice(8)};if(t.startsWith(rg))return{kind:`asset`,assetPath:t.slice(7)};let n=fg(t);return n?{kind:`skill-file`,...n}:{kind:`doc`,docName:t}}function yg(e){let t=vg(e);return t.kind===`doc`?t.docName:null}function bg(e,t){if(!Array.isArray(e)||t<=0)return[];let n=[],r=new Set;for(let i of e)if(ug(i)&&!r.has(i)&&(r.add(i),n.push(i),n.length>=t))break;return n}function xg(e,t){let n=new Set(bg(t,2**53-1));return bg(e,2**53-1).filter(e=>n.has(e))}function Sg(e,t,n){if(t<=0)return[];let r=new Set(bg(n,2**53-1)),i=bg(e,2**53-1);if(r.size===0&&i.length<=t)return i;let a=[],o=0;for(let e=i.length-1;e>=0;e--){let n=i[e];if(r.has(n)){a.push(n);continue}o>=t||(o++,a.push(n))}return a.reverse()}function Cg(e,t,n){let r=xg(e,n);return!bg(n,2**53-1).includes(t)||r.includes(t)?r:[...r,t]}function wg(e,t){return bg(e,2**53-1).filter(e=>e!==t)}function Tg(e,t){let n=new Set(bg(t,2**53-1));return bg(e,2**53-1).filter(e=>!n.has(e))}function Eg(e,t,n){let r=bg(e,2**53-1),i=xg(t,r),a=r.indexOf(n);if(a<0)return i;let o=i.includes(n),s=a<i.length;return o===s?i:s?Cg(i,n,r):wg(i,n)}function Dg(e,t,n,r=[]){let i=Sg(e,n,r);return!ug(t)||i.includes(t)?i:Sg([...i,t],n,r)}function Og(e,t,n,r,i=[]){let a=Sg(e,r,i);if(!ug(n))return a;if(!t||t===n)return Dg(a,n,r,i);let o=a.filter(e=>e!==n),s=o.indexOf(t);if(s<0)return Dg(o,n,r,i);let c=[...o];return c[s]=n,Sg(c,r,i)}function kg(e,t,n){return Ag(e,pg(t),n)}function Ag(e,t,{behavior:n,currentTabId:r,limit:i,pinnedTabIds:a=[]}){let o=Sg(e,i,a),s=cg(t);if(r&&o.includes(r)&&cg(r)===s)return{tabs:o,activeTabId:r};let c=o.find(e=>cg(e)===s);return c?{tabs:o,activeTabId:c}:n===`replace-active`?{tabs:Og(o,r,s,i,a),activeTabId:s}:{tabs:Dg(o,s,i,a),activeTabId:s}}function jg(e,t){return e.filter(e=>e!==t)}function Mg(e,t,n){let r=bg(t,2**53-1),i=new Set(r),a=new Set(n),o=new Set,s=[];for(let t of e)o.has(t)||!i.has(t)&&!a.has(t)||(o.add(t),s.push(t));for(let e of[...r,...n])o.has(e)||(o.add(e),s.push(e));return s}function Ng(e,{pages:t,folderPaths:n,assetPaths:r,filePaths:i,keepMissingDocName:a=null,keepHashDocName:o=null}){return bg(e,2**53-1).filter(e=>{let s=vg(e);if(s.kind===`folder`)return n.has(s.folderPath);if(s.kind===`asset`)return r.has(s.assetPath)||i?.has(s.assetPath)===!0;if(s.kind===`skill-file`)return!0;let c=lg(s.docName);return t.has(s.docName)||c!==null&&t.has(c)||U(s.docName)||s.docName===a||s.docName===o})}function Pg(e,t,n,r=[],i=[],a=[]){if(t.length===0&&r.length===0&&a.length===0)return bg(e,n);let o=new Map(t.map(e=>[e.fromDocName,e.toDocName])),s=new Map(a.flatMap(e=>{let t=lg(e.fromPath);return t?[[t,e.toPath]]:[]})),c=new Map(a.flatMap(e=>{let t=lg(e.toPath);return t?[[e.fromPath,t]]:[]})),l=e=>Lg(Ig(e,r),a),u=(e,t)=>{let n=o.get(e);if(n)return n;let r=s.get(e);return r?hg(r):t},d=e=>{let t=c.get(e);return t?pg(t):hg(l(e))},f=[],p=new Set;for(let t of e){let{instanceSuffix:e}=sg(t),a=vg(t),o=`${a.kind===`doc`?u(a.docName,cg(t)):a.kind===`folder`?mg(Ig(a.folderPath,r)):a.kind===`asset`?d(a.assetPath):cg(t)}${e}`;if(!p.has(o)&&(p.add(o),f.push(o),i.length===0&&f.length>=n))break}return i.length===0?f:Sg(f,n,i.map(e=>{let t=vg(e);return t.kind===`doc`?u(t.docName,e):t.kind===`folder`?mg(Ig(t.folderPath,r)):t.kind===`asset`?d(t.assetPath):cg(e)}))}function Fg(e,t,n=[],r=[]){return Pg(e,t,2**53-1,n,[],r)}function Ig(e,t){for(let{fromPath:n,toPath:r}of t){if(e===n)return r;if(e.startsWith(`${n}/`))return`${r}${e.slice(n.length)}`}return e}function Lg(e,t){for(let{fromPath:n,toPath:r}of t)if(e===n)return r;return e}function Rg(e,t,n){if(t!==n)return t;let r=e.indexOf(n);return r<0?e[0]??null:e[r+1]??e[r-1]??null}function zg(e,t,n){if(!t)return null;let r=new Set(n);if(!r.has(t))return t;let i=e.indexOf(t);if(i<0)return e.find(e=>!r.has(e))??null;for(let t=i+1;t<e.length;t++)if(!r.has(e[t]))return e[t];for(let t=i-1;t>=0;t--)if(!r.has(e[t]))return e[t];return null}function Bg(e,t){if(typeof e!=`object`||!e)return{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null};let n=e,r=bg(n.openTabs,2**53-1),i=xg(n.pinnedTabIds,r),a=i.length===0?bg(n.openTabs,t):Sg(r,t,i),o=xg(n.pinnedTabIds,a),s=typeof n.activeTabId==`string`&&a.includes(n.activeTabId)?n.activeTabId:typeof n.activeDocName==`string`&&a.includes(n.activeDocName)?n.activeDocName:null,c=s?vg(s):null;return{openTabs:a,pinnedTabIds:o,activeDocName:c?.kind===`doc`?c.docName:null,activeTabId:s,updatedAt:typeof n.updatedAt==`string`?n.updatedAt:null}}function Vg(e,t,n=[],r=()=>new Date){let i=bg(e,2**53-1),a=t&&i.includes(t)?t:null,o=a?vg(a):null;return{openTabs:i,pinnedTabIds:xg(n,i),activeDocName:o?.kind===`doc`?o.docName:null,activeTabId:a,updatedAt:r().toISOString()}}function Hg(e){return`${tg}${e}`}function Ug(e,t,n){if(!e)return{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null};try{let r=e.getItem(t);return r?Bg(JSON.parse(r),n):{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null}}catch(e){return console.warn(`[editor-tabs] failed to read local tab session:`,e),{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null}}}function Wg(e,t,n){if(e)try{e.setItem(t,JSON.stringify(n))}catch(e){console.warn(`[editor-tabs] failed to write local tab session:`,e)}}var Gg=e=>Dn((t,n)=>{e.onerror=e=>n(Error(e.target.error)),e.onsuccess=e=>t(e.target.result)}),Kg=(e,t)=>Dn((n,r)=>{let i=indexedDB.open(e);i.onupgradeneeded=e=>t(e.target.result),i.onerror=e=>r(zn(e.target.error)),i.onsuccess=e=>{let t=e.target.result;t.onversionchange=()=>{t.close()},n(t)}}),qg=e=>Gg(indexedDB.deleteDatabase(e)),Jg=(e,t)=>t.forEach(t=>e.createObjectStore.apply(e,t)),Yg=(e,t,n=`readwrite`)=>{let r=e.transaction(t,n);return t.map(e=>o_(r,e))},Xg=(e,t)=>Gg(e.count(t)),Zg=(e,t)=>Gg(e.get(t)),Qg=(e,t)=>Gg(e.delete(t)),$g=(e,t,n)=>Gg(e.put(t,n)),e_=(e,t)=>Gg(e.add(t)),t_=(e,t,n)=>Gg(e.getAll(t,n)),n_=(e,t,n)=>{let r=null;return a_(e,t,e=>(r=e,!1),n).then(()=>r)},r_=(e,t=null)=>n_(e,t,`prev`),i_=(e,t)=>Dn((n,r)=>{e.onerror=r,e.onsuccess=async e=>{let r=e.target.result;if(r===null||await t(r)===!1)return n();r.continue()}}),a_=(e,t,n,r=`next`)=>i_(e.openKeyCursor(t,r),e=>n(e.key)),o_=(e,t)=>e.objectStore(t),s_=(e,t)=>IDBKeyRange.upperBound(e,t),c_=(e,t)=>IDBKeyRange.lowerBound(e,t),l_=`custom`,u_=`updates`,d_=(e,t=()=>{},n=()=>{})=>{let[r]=Yg(e.db,[u_]);return t_(r,c_(e._dbref,!1)).then(i=>{e._destroyed||(t(r),En(e.doc,()=>{i.forEach(t=>Hn(e.doc,t))},e,!1),n(r))}).then(()=>r_(r).then(t=>{e._dbref=t+1})).then(()=>Xg(r).then(t=>{e._dbsize=t})).then(()=>r)},f_=(e,t=!0)=>d_(e).then(n=>{(t||e._dbsize>=500)&&e_(n,Sn(e.doc)).then(()=>Qg(n,s_(e._dbref,!0))).then(()=>Xg(n).then(t=>{e._dbsize=t}))}),p_=class extends rr{constructor(e,t){super(),this.doc=t,this.name=e,this._dbref=0,this._dbsize=0,this._destroyed=!1,this.db=null,this.synced=!1,this._db=Kg(e,e=>Jg(e,[[`updates`,{autoIncrement:!0}],[`custom`]])),this.whenSynced=Dn(e=>this.on(`synced`,()=>e(this))),this._db.then(e=>{this.db=e,d_(this,async e=>{await Xg(e)>0&&e_(e,Sn(t))},()=>{if(this._destroyed)return this;this.synced=!0,this.emit(`synced`,[this])})}),this._storeTimeout=1e3,this._storeTimeoutId=null,this._storeUpdate=(e,t)=>{if(this.db&&t!==this){let[t]=Yg(this.db,[u_]);e_(t,e).catch(e=>{globalThis.__okYdbWriteWarned||(globalThis.__okYdbWriteWarned=!0,console.warn(JSON.stringify({event:`ok-ydb-write-failed`,cause:e?.name??`unknown`,message:e?.message??String(e)})))}),++this._dbsize>=500&&(this._storeTimeoutId!==null&&clearTimeout(this._storeTimeoutId),this._storeTimeoutId=setTimeout(()=>{f_(this,!1),this._storeTimeoutId=null},this._storeTimeout))}},t.on(`update`,this._storeUpdate),this.destroy=this.destroy.bind(this),t.on(`destroy`,this.destroy)}destroy(){return this._storeTimeoutId&&clearTimeout(this._storeTimeoutId),this.doc.off(`update`,this._storeUpdate),this.doc.off(`destroy`,this.destroy),this._destroyed=!0,this._db.then(e=>{e.close()})}clearData(){return this.destroy().then(()=>{qg(this.name)})}get(e){return this._db.then(t=>{let[n]=Yg(t,[l_],`readonly`);return Zg(n,e)})}set(e,t){return this._db.then(n=>{let[r]=Yg(n,[l_]);return $g(r,t,e)})}del(e){return this._db.then(t=>{let[n]=Yg(t,[l_]);return Qg(n,e)})}},m_=`updates`,h_=`custom`;function g_(){return!0}var __=class{_idb;_dbName;whenSynced;constructor({branch:e,serverInstanceId:t,docName:n,doc:r}){if(typeof t!=`string`||t.length===0)throw Error(`createClientPersistence: serverInstanceId is required and must be non-empty`);this._dbName=`ok-ydoc:${e}:${t}:${n}`;let i=g_()?0:performance.now();this._idb=new p_(this._dbName,r),this.whenSynced=this._idb.whenSynced.then(()=>{if(!g_()){let e=performance.now();Y(`ok/pool/idb-whensynced`,{docName:n,durationMs:Math.round((e-i)*1e3)/1e3},{startTime:i,duration:e-i})}return this})}get synced(){return this._idb.synced}async destroy(){let e=g_()?0:performance.now();try{await this._idb.destroy()}finally{if(!g_()){let t=performance.now();Y(`ok/pool/idb-destroy`,{dbName:this._dbName,durationMs:Math.round((t-e)*1e3)/1e3},{startTime:e,duration:t-e})}}}async flushFullState(){this._idb.db===null&&await this.whenSynced;let e=this._idb.db;if(e===null)return;let t=this._idb;await new Promise((n,r)=>{let i=e.transaction(m_,`readwrite`),a=i.objectStore(m_),o=a.getAll();o.onerror=()=>r(o.error??Error(`flushFullState getAll failed`)),o.onsuccess=()=>{try{En(t.doc,()=>{for(let e of o.result)Hn(t.doc,e)},t,!1);let e=a.add(Sn(t.doc));e.onerror=()=>r(e.error??Error(`flushFullState add failed`)),e.onsuccess=()=>{a.delete(IDBKeyRange.upperBound(e.result,!0))}}catch(e){r(e instanceof Error?e:Error(String(e)));try{i.abort()}catch{}}},i.oncomplete=()=>n(),i.onabort=()=>r(i.error??Error(`flushFullState transaction aborted`))})}async clearData(){let e=g_()?0:performance.now();try{await this._idb.destroy();let e=this._dbName;await new Promise((t,n)=>{let r=indexedDB.deleteDatabase(e);r.onsuccess=()=>t(),r.onerror=()=>n(r.error),r.onblocked=()=>{console.warn(JSON.stringify({event:`ok-client-persistence-clear-blocked`,dbName:e}))}})}finally{if(!g_()){let t=performance.now();Y(`ok/pool/idb-cleardata`,{dbName:this._dbName,durationMs:Math.round((t-e)*1e3)/1e3},{startTime:e,duration:t-e})}}}};function v_(e){return new __(e)}async function y_(e){if(typeof indexedDB>`u`)return null;let t=`ok-ydoc:${e.branch}:${e.serverInstanceId}:${e.docName}`;if(typeof indexedDB.databases==`function`&&!(await indexedDB.databases()).some(e=>e.name===t))return null;let n=await new Promise((e,n)=>{let r=indexedDB.open(t);r.onupgradeneeded=()=>{let e=r.result;e.objectStoreNames.contains(m_)||e.createObjectStore(m_,{autoIncrement:!0}),e.objectStoreNames.contains(h_)||e.createObjectStore(h_)},r.onsuccess=()=>e(r.result),r.onerror=()=>n(r.error)});try{if(!n.objectStoreNames.contains(m_))return null;let e=await new Promise((e,t)=>{let r=n.transaction(m_,`readonly`).objectStore(m_).getAll();r.onsuccess=()=>e(r.result),r.onerror=()=>t(r.error)});if(e.length===0)return null;let t=new tr;try{En(t,()=>{for(let n of e)Hn(t,n)});let n=t.getMap(`lifecycle`).get(j);return typeof n==`string`&&n.length>0?n:null}finally{t.destroy()}}finally{n.close()}}function b_(e){return Mn(e)}function x_(e,t){return t===null?Sn(e):Sn(e,t)}function S_(e,t){if(e===null)return t;if(t===null)return e;let n=Cn(e),r=Cn(t),i=new Map;for(let[e,t]of n)i.set(e,t);for(let[e,t]of r){let n=i.get(e);(n===void 0||t>n)&&i.set(e,t)}return Mn(i)}function C_(e){let t={};if(Yt.inject(Jt.active(),t),!t.traceparent)return e;let n=e.includes(`?`)?`&`:`?`,r=[`traceparent=${encodeURIComponent(t.traceparent)}`];return t.tracestate&&r.push(`tracestate=${encodeURIComponent(t.tracestate)}`),`${e}${n}${r.join(`&`)}`}var w_=({key:e,editor:t,onPaste:n,onDrop:r,allowedMimeTypes:i})=>new Ut({key:e||new Re(`fileHandler`),props:{handleDrop(e,n){if(!r||!n.dataTransfer?.files.length)return!1;let a=e.posAtCoords({left:n.clientX,top:n.clientY}),o=Array.from(n.dataTransfer.files);return i&&(o=o.filter(e=>i.includes(e.type))),o.length===0?!1:(n.preventDefault(),n.stopPropagation(),r(t,o,a?.pos||0),!0)},handlePaste(e,r){if(!n||!r.clipboardData?.files.length)return!1;let a=Array.from(r.clipboardData.files),o=r.clipboardData.getData(`text/html`);return i&&(a=a.filter(e=>i.includes(e.type))),!(a.length===0||(r.preventDefault(),r.stopPropagation(),n(t,a,o),o.length>0))}}}),T_=be.create({name:`fileHandler`,addOptions(){return{onPaste:void 0,onDrop:void 0,allowedMimeTypes:void 0}},addProseMirrorPlugins(){return[w_({key:new Re(this.name),editor:this.editor,allowedMimeTypes:this.options.allowedMimeTypes,onDrop:this.options.onDrop,onPaste:this.options.onPaste})]}});function E_(e,t){let{state:n,view:r}=e;if(!n.selection.empty||!r.endOfTextblock(t))return!1;let i=n.selection.$head,a=t===`down`||t===`right`,o=null,s=-1;if(a){let e=i.after();if(e>=n.doc.content.size)return!1;o=n.doc.nodeAt(e),s=e}else{let e=i.before();if(e<=0||(o=n.doc.resolve(e).nodeBefore,!o))return!1;s=e-o.nodeSize}if(!o||o.type.name!==`jsxComponent`||o.childCount!==0||!Lt.isSelectable(o))return!1;try{let t=Lt.create(n.doc,s);return e.view.dispatch(n.tr.setSelection(t).scrollIntoView()),!0}catch(e){if(!(e instanceof RangeError))throw e;return st(t),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:t,tier:`L0`,reason:e.message.slice(0,500)})),!0}}function D_(e){let{state:t,view:n}=e;if(!(t.selection instanceof y)||!t.selection.empty||!n.endOfTextblock(`up`))return!1;let r=t.selection.$head,i=-1;for(let e=r.depth-1;e>=1;e--)if(r.node(e).type.name===`jsxComponent`){i=e;break}if(i<0)return!1;for(let e=r.depth;e>i;e--)if(r.index(e-1)!==0)return!1;let a=r.before(i);try{let n=t.doc.resolve(a),r=Vt.findFrom(n,-1,!0);return!r||!(r instanceof y)?!1:(e.view.dispatch(t.tr.setSelection(r).scrollIntoView()),!0)}catch(e){if(!(e instanceof RangeError))throw e;return st(`up`),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:`up`,tier:`L2c`,reason:e.message.slice(0,500)})),!0}}function O_(e,t){let{state:n,view:r}=e;if(!(n.selection instanceof y)||!n.selection.empty||!r.endOfTextblock(t))return!1;let i=n.selection.$head,a=t===`down`||t===`right`,o=null,s=-1;if(a){let e=i.after();if(e>=n.doc.content.size)return!1;o=n.doc.nodeAt(e),s=e}else{let e=i.before();if(e<=0||(o=n.doc.resolve(e).nodeBefore,!o))return!1;s=e-o.nodeSize}if(!o||o.type.name!==`jsxComponent`||o.childCount===0)return!1;let c=s+o.nodeSize;try{let t=a?s+1:c-1,r=Vt.findFrom(n.doc.resolve(t),a?1:-1,!0);return!r||!(r instanceof y)||r.$head.pos<=s||r.$head.pos>=c?!1:(e.view.dispatch(n.tr.setSelection(r).scrollIntoView()),!0)}catch(e){if(!(e instanceof RangeError))throw e;return st(t),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:t,tier:`L2d`,reason:e.message.slice(0,500)})),!0}}var k_=be.create({name:`keyboardNav`,priority:50,addKeyboardShortcuts(){return{Escape:({editor:e})=>{let{state:t}=e;if(t.selection instanceof Lt){if(t.selection.$from.depth===0)return e.commands.blur(),!0;let n=t.selection.from+t.selection.node.nodeSize,r=t.doc.resolve(Math.min(n,t.doc.content.size)),i=y.near(r);return e.view.dispatch(t.tr.setSelection(i)),!0}return t.selection instanceof y?e.commands.selectParentNode():!1},ArrowUp:({editor:e})=>{if(E_(e,`up`)||D_(e)||O_(e,`up`))return!0;let{state:t}=e;if(!(t.selection instanceof Lt))return!1;let n=t.selection.from,r=t.doc.resolve(n);if(r.index(r.depth)===0)return!1;let i=r.before(r.depth);if(i<=0)return!1;let a=t.doc.resolve(i-1).nodeBefore;if(!a||i-1-a.nodeSize+1<0)return!1;try{let n=Lt.create(t.doc,i-a.nodeSize);return e.view.dispatch(t.tr.setSelection(n).scrollIntoView()),!0}catch(e){if(!(e instanceof RangeError))throw e;return st(`up`),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:`up`,tier:`L2`,reason:e.message.slice(0,500)})),!1}},ArrowDown:({editor:e})=>{if(E_(e,`down`)||O_(e,`down`))return!0;let{state:t}=e;if(!(t.selection instanceof Lt))return!1;let n=t.selection.from+t.selection.node.nodeSize;if(n>=t.doc.content.size)return!1;try{if(!t.doc.nodeAt(n))return!1;let r=Lt.create(t.doc,n);return e.view.dispatch(t.tr.setSelection(r).scrollIntoView()),!0}catch(e){if(!(e instanceof RangeError))throw e;return st(`down`),console.warn(JSON.stringify({event:`jsx-component-arrow-node-select-failed`,direction:`down`,tier:`L2`,reason:e.message.slice(0,500)})),!1}},ArrowLeft:({editor:e})=>E_(e,`left`)||O_(e,`left`),ArrowRight:({editor:e})=>E_(e,`right`)||O_(e,`right`),Enter:({editor:e})=>{let{state:t}=e;if(!(t.selection instanceof y)||!t.selection.empty)return!1;let n=t.selection.$from,r=n.parent;if(r.type.name!==`paragraph`||r.textContent!==``||n.depth<2)return!1;let i=-1;for(let e=n.depth-1;e>=1;e--)if(n.node(e).type.name===`jsxComponent`){i=e;break}if(i<0)return!1;let a=n.node(i);if(n.index(i)!==a.childCount-1)return!1;let o=n.after(i);if(o>t.doc.content.size)return!1;let s=t.tr,c=n.before(n.depth),l=n.after(n.depth);s.delete(c,l);let u=o-(l-c),d=t.schema.nodes.paragraph.create();s.insert(u,d);let f=u+1;return s.setSelection(y.create(s.doc,f)),e.view.dispatch(s.scrollIntoView()),!0}}}}),A_={query:``,options:{caseSensitive:!1,wholeWord:!1},activeIndex:0,matches:[]},j_=/[A-Za-z0-9_]/;function M_(e){return e!==void 0&&j_.test(e)}function N_(e,t,n){return!M_(e[t-1])&&!M_(e[n])}function P_(e,t,n){if(t.length===0)return[];let r=n.caseSensitive?e:e.toLocaleLowerCase(),i=n.caseSensitive?t:t.toLocaleLowerCase(),a=[],o=0;for(;o<=r.length-i.length;){let t=r.indexOf(i,o);if(t===-1)break;let s=t+i.length;(!n.wholeWord||N_(e,t,s))&&a.push({start:t,end:s,text:e.slice(t,s)}),o=s}return a}function F_(e,t,n){if(t.length===0)return[];let r=[];return e.descendants((e,i)=>{if(!(!e.isText||typeof e.text!=`string`))for(let a of P_(e.text,t,n))r.push({from:i+a.start,to:i+a.end,text:a.text})}),r}var I_=new Re(`findReplace`);function L_(e,t){return t<=0||!Number.isFinite(e)?0:Math.min(Math.max(Math.trunc(e),0),t-1)}function R_(e,t,n,r){let i=F_(e.doc,t,n);return{query:t,options:n,activeIndex:L_(r,i.length),matches:i}}function z_(e,t,n){return t<=0?0:(L_(e,t)+n+t)%t}function B_(e,t,n){if(e.length===0)return 0;let r=t+n,i=e.findIndex(e=>e.from>=r);return i===-1?0:i}function V_(e,t,n){if(t.matches.length===0)return null;let r=e.tr;for(let e of[...t.matches].reverse())r.insertText(n,e.from,e.to);let i=F_(r.doc,t.query,t.options),a=L_(0,i.length),o=i[a];return r.setMeta(I_,{type:`setActiveIndex`,activeIndex:a}),o&&r.setSelection(y.create(r.doc,o.from,o.to)),r.scrollIntoView()}function H_(e,t){let n=I_.getState(e)?.matches[t];return n?e.tr.setMeta(I_,{type:`setActiveIndex`,activeIndex:t}).setSelection(y.create(e.doc,n.from,n.to)).scrollIntoView():null}function U_(e){return I_.getState(e)??A_}function W_(){return new Ut({key:I_,state:{init:()=>A_,apply(e,t,n,r){let i=e.getMeta(I_);if(i?.type===`clear`)return A_;let a=t.query,o=t.options,s=t.activeIndex;if(i?.type===`setQuery`)a=i.query,o={...o,...i.options},s=i.activeIndex??0;else if(i?.type===`setOptions`)o={...o,...i.options},s=i.activeIndex??s;else if(i?.type===`setActiveIndex`)s=i.activeIndex;else if(!e.docChanged)return t;return a.length===0?{query:a,options:o,activeIndex:0,matches:[]}:R_(r,a,o,s)}},props:{decorations(e){let t=I_.getState(e);return!t||t.matches.length===0?null:$e.create(e.doc,t.matches.map((e,n)=>mt.inline(e.from,e.to,{class:n===t.activeIndex?`ok-find-match ok-find-match-active`:`ok-find-match`})))}}})}var G_=be.create({name:`findReplace`,addCommands(){return{setFindQuery:(e,t)=>({state:n,dispatch:r})=>(r&&r(n.tr.setMeta(I_,{type:`setQuery`,query:e,options:t?.options,activeIndex:t?.activeIndex})),!0),setFindOptions:(e,t)=>({state:n,dispatch:r})=>(r&&r(n.tr.setMeta(I_,{type:`setOptions`,options:e,activeIndex:t})),!0),setActiveFindIndex:e=>({state:t,dispatch:n})=>(n&&n(t.tr.setMeta(I_,{type:`setActiveIndex`,activeIndex:e})),!0),selectNextFindMatch:()=>({state:e,dispatch:t})=>{let n=U_(e),r=H_(e,z_(n.activeIndex,n.matches.length,1));return r?(t?.(r),!0):!1},selectPreviousFindMatch:()=>({state:e,dispatch:t})=>{let n=U_(e),r=H_(e,z_(n.activeIndex,n.matches.length,-1));return r?(t?.(r),!0):!1},replaceCurrentFindMatch:e=>({state:t,dispatch:n})=>{let r=U_(t),i=r.matches[r.activeIndex];if(!i||!n)return!1;let a=t.tr.insertText(e,i.from,i.to),o=F_(a.doc,r.query,r.options),s=B_(o,i.from,e.length),c=o[s];return a.setMeta(I_,{type:`setActiveIndex`,activeIndex:s}),c&&a.setSelection(y.create(a.doc,c.from,c.to)),a.scrollIntoView(),n(a),!0},replaceAllFindMatches:e=>({state:t,dispatch:n})=>{let r=U_(t);if(!n)return!1;let i=V_(t,r,e);return i?(n(i),!0):!1},clearFindMatches:()=>({state:e,dispatch:t})=>(t&&t(e.tr.setMeta(I_,{type:`clear`})),!0)}},addProseMirrorPlugins(){return[W_()]}}),K_=/^(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/i,q_=/^([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/,J_=/[-\d_]$/,Y_=It.map(e=>`${e}:`);function X_(e){let t=e.toLowerCase();return Y_.some(e=>t.startsWith(e))}function Z_(e,t){let n=0;for(let r of e)r===t&&n++;return n}function Q_(e){let t=e.split(`.`),n=t[t.length-1],r=t[t.length-2];return!(n&&(/_/.test(n)||!/[a-zA-Z\d]/.test(n))||r&&(/_/.test(r)||!/[a-zA-Z\d]/.test(r)))}function $_(e){return e.split(`.`).length>=2&&Q_(e)}function ev(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,``];let n=e.slice(0,t.index),r=t[0],i=r.indexOf(`)`),a=Z_(n,`(`),o=Z_(n,`)`);for(;i!==-1&&a>o;)n+=r.slice(0,i+1),r=r.slice(i+1),i=r.indexOf(`)`),o++;return[n,r]}function tv(e){let t=K_.exec(e);if(!t)return null;let n=t[1],r=t[2],i=t[3],a=``,o=/^w/i.test(n);if(o&&(r=n+r,n=``,a=`http://`),o?!$_(r):!Q_(r))return null;let[s]=ev(r+i);if(!s)return null;let c=n+s,l=a+n+s;return X_(l)?{href:l,text:c}:null}function nv(e){let t=q_.exec(e);if(!t)return null;let n=t[1],r=t[2];if(J_.test(r))return null;let i=`${n}@${r}`,a=`mailto:${i}`;return X_(a)?{href:a,text:i}:null}function rv(e){return e?tv(e)??nv(e):null}function iv(e,t){let n=Rp.getState(e.state)?.undoManager;n?.stopCapturing();try{e.dispatch(t)}finally{n?.stopCapturing()}}var av=`\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000`,ov=RegExp(`[${av}]`),sv=RegExp(`[${av}]$`),cv=`link`,lv=`gfm-autolink`,uv=`preventAutolink`,dv=new Re(`gfmAutolink`);function fv(e,t,n){let r=e.state.schema.marks.code;return r?e.state.doc.rangeHasMark(t,n,r):!1}function pv(e,t,n){let r=[],i=f(ke(e.doc,[...n]));for(let{newRange:e}of i){let n=ue(t.doc,e,e=>e.isTextblock),i,a;if(n.length>1)i=n[0],a=t.doc.textBetween(i.pos,i.pos+i.node.nodeSize,void 0,` `);else if(n.length===1){let r=t.doc.textBetween(e.from,e.to,` `,` `);if(!sv.test(r))continue;i=n[0],a=t.doc.textBetween(i.pos,e.to,void 0,` `)}if(!i||!a||i.node.type.spec.code)continue;let o=a.split(ov).filter(Boolean),s=o[o.length-1];if(!s)continue;let c=rv(s);if(!c)continue;let l=i.pos+a.lastIndexOf(s)+1,u=l+c.text.length;r.push({from:l,to:u,href:c.href,text:c.text})}return r}function mv(e={}){let t=e.isActiveEditor??(e=>e.hasFocus()),n=null,r=!1,i=[],a=()=>{r=!1;let e=n,a=i.splice(0,i.length);if(!e||e.isDestroyed||e.composing||!t(e))return;let o=e.state.schema.marks[cv];if(!o)return;let s=e.state.tr,c=!1,l=e.state.doc.content.size;for(let t of a){let{from:n,to:r,href:i,text:a}=t;n<0||r>l||n>=r||e.state.doc.textBetween(n,r)===a&&(Ke(n,r,e.state.doc).some(e=>e.mark.type===o)||fv(e,n,r)||(s=s.addMark(n,r,o.create({href:i,linkStyle:lv})),c=!0))}if(c){s=s.setMeta(uv,!0);try{iv(e,s)}catch(e){console.warn(`[gfm-autolink] linkify dispatch failed`,{candidates:a.map(e=>({from:e.from,to:e.to,href:e.href}))},e)}}};return new Ut({key:dv,view(e){return n=e,{destroy(){n=null,i.length=0,r=!1}}},appendTransaction(e,o,s){if(e.some(e=>e.getMeta(Lp))||e.some(e=>e.getMeta(`preventAutolink`))||!(e.some(e=>e.docChanged)&&!o.doc.eq(s.doc))||!n||!t(n))return null;let c=pv(o,s,e);return c.length===0?null:(i.push(...c),r||(r=!0,queueMicrotask(a)),null)}})}var hv=be.create({name:`gfmAutolink`,addOptions(){return{isActiveEditor:void 0}},addProseMirrorPlugins(){return[mv({isActiveEditor:this.options.isActiveEditor})]}}),gv=new WeakMap;function _v(e,t){if(t===null){gv.delete(e);return}gv.set(e,t)}function vv(e){return gv.get(e)??null}function yv(e){return`pagesBySlug`in e}function bv(e){return yv(e)?e.pages:e}function xv(e,t){return yv(e)?e.assetPaths??new Set:t??new Set}function Sv(e,t){return yv(e)?e.filePaths??new Set:t??new Set}function Cv(e,t){let n=C(e);if(n){if(yv(t))return t.pagesBySlug.get(n);for(let e of t)if(C(e)===n)return e}}function wv(e,t){if(e.includes(`/`))return;let n=C(e);if(!n)return;if(yv(t))return t.pagesByBasename?.get(n);let r;for(let e of t){let t=e.lastIndexOf(`/`);C(t===-1?e:e.slice(t+1))===n&&(r===void 0||e.localeCompare(r)<0)&&(r=e)}return r}function Tv(e){let t=e.trim();if(!t)return null;let n=C(t);return n?{target:n,alias:n===t?null:t,anchor:null}:null}function Ev(e){let t=e.trim();if(!t)return[];let n=C(t);return n.length>0&&n!==t?[n]:[]}function Dv(e,t){let n=e.trim();if(!n)return;let r=bv(t);if(r.has(n))return n;let i=Cv(n,t);if(i)return i;for(let e of Ev(n))if(r.has(e))return e;return Ov(n,r)||wv(n,t)}function Ov(e,t){let n=`${e}/index`;if(t.has(n))return n;let r=e.lastIndexOf(`/`),i=r===-1?e:e.slice(r+1),a=i?`${e}/${i}`:null;if(a&&t.has(a))return a}function kv(e){let t=((e.trim().split(`#`)[0]??``).trim().split(`?`)[0]??``).trim();return t.startsWith(`/`)?t.slice(1):t}function Av(e,t,n){let r=kv(e);if(!r)return null;let i=r.toLowerCase(),a=n?[t,n]:[t];for(let e of a){if(e.has(r))return r;for(let t of e)if(t.toLowerCase()===i)return t}if(r.includes(`/`))return null;let o=[];for(let e of a)for(let t of e){let e=t.lastIndexOf(`/`);(e===-1?t:t.slice(e+1)).toLowerCase()===i&&o.push(t)}return o.length===0?null:o.sort((e,t)=>e.localeCompare(t))[0]??null}function jv(e,t,n,r){let i=e.trim();if(!i)return!1;if(Av(i,xv(t,n),Sv(t,r)))return!0;let a=bv(t);return a.has(i)||Ev(i).some(e=>a.has(e))||Cv(i,t)!==void 0||Ov(i,a)?!0:wv(i,t)!==void 0}var Mv=class extends Error{status;instance;constructor(e,t={}){super(e,t.cause===void 0?void 0:{cause:t.cause}),this.name=`HttpResponseParseError`,this.status=t.status,this.instance=t.instance}},Nv=new Re(`imageUpload`);function Pv(e){let t=document.createElement(`div`);t.className=`image-upload-skeleton w-full h-40 rounded-md bg-muted animate-pulse motion-reduce:animate-none my-2`,t.setAttribute(`data-upload-widget`,`loading`),t.setAttribute(`role`,`status`);let n=e?.name;return t.setAttribute(`aria-label`,n?Ci._({id:`KDuPiY`,values:{fileName:n}}):Ci._({id:`bGa3Fk`})),t}var Fv=new Ut({key:Nv,state:{init(){return{decorations:$e.empty,uploads:new Map}},apply(e,t){let n=t.decorations.map(e.mapping,e.doc),r=new Map;for(let[n,i]of t.uploads)r.set(n,e.mapping.map(i));let i=e.getMeta(Nv);if(!i)return{decorations:n,uploads:r};if(i.type===`add`){let t=mt.widget(i.pos,i.widget,{id:i.id,stopEvent:()=>!0}),a=n.add(e.doc,[t]),o=new Map(r);return o.set(i.id,e.mapping.map(i.pos)),{decorations:a,uploads:o}}if(i.type===`remove`){let e=n.find(void 0,void 0,e=>e.id===i.id),t=n.remove(e),a=new Map(r);return a.delete(i.id),{decorations:t,uploads:a}}return{decorations:n,uploads:r}}},props:{decorations(e){return Nv.getState(e)?.decorations??$e.empty}}});function Iv(e){let t=e.lastIndexOf(`/`);return t===-1?``:e.slice(0,t)}function Lv(e){let t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function Rv(e){return e.split(`/`).filter(e=>e!==``)}function zv(e,t){let n=Iv(e),r=Iv(t),i=Lv(e);if(n===r)return i;let a=Rv(r),o=Rv(n),s=0;for(;s<a.length&&s<o.length&&a[s]===o[s];)s++;let c=a.length-s,l=o.slice(s);return c===0?`./${[...l,i].join(`/`)}`:[...Array(c).fill(`..`),...l,i].join(`/`)}function Bv(e){return vv(e)}function Vv(e,t){return{type:`jsxComponent`,attrs:{componentName:e===`jsx-img`?`img`:e===`jsx-video`?`video`:`audio`,kind:`element`,attributes:[],sourceRaw:``,sourceDirty:!0,props:e===`jsx-img`?{src:t}:{src:t,controls:!0}}}}function Hv(e){let t=ht(e);return t===`md`||t===`mdx`?{kind:`wiki-link`,ext:t}:E.has(t)?{kind:`jsx-img`,ext:t}:I.has(t)?{kind:`jsx-video`,ext:t}:p.has(t)?{kind:`jsx-audio`,ext:t}:q.has(t)?{kind:`jsx-file`,ext:t}:G.has(t)?{kind:`wikiembed`,ext:t}:{kind:`markdown-link`,ext:t}}async function Uv(e,t,n){let r=Bv(t),i=r?`${r}.md`:``;if(!i){Tr.error(Ci._({id:`z5pqI8`}));return}let a=crypto.randomUUID(),o=Pv(e);t.view.dispatch(t.state.tr.setMeta(Nv,{type:`add`,id:a,pos:n,widget:o}));let s=new FormData;s.append(`file`,e),s.append(`parentDocName`,i);let c;try{c=await fetch(`/api/upload`,{method:`POST`,body:s})}catch(e){console.error(`[uploadAndInsert] Network error:`,e),Wv(t,a);return}let l;try{l=await c.json()}catch(e){console.error(`[uploadAndInsert] Response is not JSON:`,e),Wv(t,a);return}if(!c.ok){let e=rt.safeParse(l);if(!e.success){let n=new Mv(`Upload response did not match ProblemDetails.`,{cause:e.error,status:c.status});console.error(`[uploadAndInsert] Server error (unparseable):`,n),Wv(t,a);return}console.error(`[uploadAndInsert] Server error:`,e.data),Wv(t,a,e.data.title);return}let u=lt.safeParse(l);if(!u.success){let e=new Mv(`Upload success response did not match UploadAssetSuccess.`,{cause:u.error,status:c.status});console.error(`[uploadAndInsert] Response missing src:`,e),Wv(t,a);return}let d=u.data,f=d.src,p=d.deduped===!0,m=Iv(i),h=typeof d.path==`string`&&d.path.length>0?d.path:m?`${m}/${f}`:f;p&&Tr.info(Ci._({id:`VbqhBI`,values:{assetContentPath:h}}));let g=Hv(e.name),{state:_}=t,v=Nv.getState(_)?.uploads.get(a)??n,y=_.tr.setMeta(Nv,{type:`remove`,id:a}),b=zv(h,i),x=`/${h}`;if(g.kind===`jsx-file`){if(!_.schema.nodes.jsxComponent){console.error(`[uploadAndInsert] jsxComponent node missing from schema`),Wv(t,a);return}let n={type:`jsxComponent`,attrs:{componentName:`WikiEmbedFile`,kind:`element`,attributes:[],sourceRaw:``,sourceDirty:!0,props:{src:x,target:f,alias:null,anchor:null,size:Rt(e.size)}}};t.chain().command(({tr:e})=>(e.setMeta(Nv,{type:`remove`,id:a}),!0)).focus().insertContentAt(v,n).command(({tr:e,dispatch:t})=>{if(!t)return!0;let n=e.mapping.map(v);return e.doc.nodeAt(n)?.type.name===`jsxComponent`&&e.setSelection(Lt.create(e.doc,n)),!0}).run();return}if(g.kind===`jsx-img`||g.kind===`jsx-video`||g.kind===`jsx-audio`){if(!_.schema.nodes.jsxComponent){console.error(`[uploadAndInsert] jsxComponent node missing from schema`),Wv(t,a);return}let e=Vv(g.kind,x);t.chain().command(({tr:e})=>(e.setMeta(Nv,{type:`remove`,id:a}),!0)).focus().insertContentAt(v,e).command(({tr:e,dispatch:t})=>{if(!t)return!0;let n=e.mapping.map(v);return e.doc.nodeAt(n)?.type.name===`jsxComponent`&&e.setSelection(Lt.create(e.doc,n)),!0}).run();return}if(g.kind===`wikiembed`){let e=_.schema.nodes.wikiLinkEmbed;if(!e){console.error(`[uploadAndInsert] wikiLinkEmbed node missing from schema`),Wv(t,a);return}y.insert(v,e.create({target:f,alias:null,anchor:null,resolvedSrc:x}))}else if(g.kind===`wiki-link`){let n=_.schema.nodes.wikiLink;if(!n){console.error(`[uploadAndInsert] wikiLink node missing from schema`),Wv(t,a);return}let r=Tv(e.name.replace(/\.(md|mdx)$/i,``));r?y.insert(v,n.create(r)):y.insert(v,_.schema.text(e.name))}else{let t=_.schema.marks.link;if(t){let n=_.schema.text(e.name,[t.create({href:b})]);y.insert(v,n)}else y.insert(v,_.schema.text(e.name))}t.view.dispatch(y)}function Wv(e,t,n){e.view.dispatch(e.state.tr.setMeta(Nv,{type:`remove`,id:t})),Tr.error(n??Ci._({id:`b3Thhd`}))}var Gv=/\[([^\]]+)\]\(([^)\s]+)\)$/,Kv=`link`;function qv(e,t,n,r,i){if(e.isDestroyed||e.composing)return;let{state:a}=e,o=a.schema.marks[Kv];if(!o)return;let s=t+n.length;if(t<0||s>a.doc.content.size||a.doc.textBetween(t,s)!==n||a.doc.rangeHasMark(t,s,o))return;let c=a.schema.text(r,[o.create({href:i})]);try{iv(e,a.tr.replaceRangeWith(t,s,c))}catch(e){console.warn(`[inline-link-rule] collapse dispatch failed`,{from:t,text:r,href:i},e)}}var Jv=be.create({name:`inlineLinkInputRule`,addInputRules(){let e=this.editor;return[new we({find:Gv,handler:({state:t,range:n,match:r})=>{let i=r[1],a=r[2];if(!i||!a||!_(a))return null;let o=t.schema.marks[Kv];if(!o||t.doc.rangeHasMark(n.from,n.to,o))return null;let s=n.from,c=r[0],l=e.view;return queueMicrotask(()=>qv(l,s,c,i,a)),null}})]}}),Yv=new Set;function Xv(e){Yv.add(e)}function Zv(e){return Yv.delete(e)}var Qv=new Re(`markIdentity`);function $v(){return{byId:new Map,counter:0}}function ey(e,t,n,r,i){let a=[];for(let e of t.byId.values()){let t=i?i.map(e.from,-1):e.from,n=i?i.map(e.to,1):e.to;n<=t||a.push({id:e.id,markType:e.markType,attrs:e.attrs,from:t,to:n})}let o=new Map,s=new Set,c=t.counter;return e.descendants((e,t)=>{if(!(!e.isInline||e.marks.length===0))for(let i of e.marks){if(!n.has(i.type.name)||r&&!r(i))continue;let l=null;for(let e of a)if(!s.has(e.id)&&e.markType===i.type.name&&ty(e.attrs,i.attrs)&&!(t<e.from||t>=e.to)){l=e.id;break}let u=l??`m${++c}`;s.add(u);let d=t,f=t+e.nodeSize,p=o.get(u);p?p.to=Math.max(p.to,f):o.set(u,{id:u,markType:i.type.name,attrs:i.attrs,from:d,to:f})}}),{byId:o,counter:c}}function ty(e,t){let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n){let n=e[r],i=t[r];if(n!==i&&(typeof n!=`object`||!n||typeof i!=`object`||!i||!((Array.isArray(n)&&Array.isArray(i)||!Array.isArray(n)&&!Array.isArray(i)&&Object.getPrototypeOf(n)===Object.prototype&&Object.getPrototypeOf(i)===Object.prototype)&&ty(n,i))))return!1}return!0}function ny(e,t,n,r){let i=new Set(t.byId.keys());for(let[r,i]of t.byId)e.has(r)||n?.(i);for(let t of e)i.has(t)||r?.(t);return i}function ry(e,t,n){let r=Qv.getState(e);if(!r)return null;for(let e of r.byId.values())if(e.markType===n&&e.from<=t&&t<e.to)return e.id;return null}function iy(e){let{markTypes:t,predicate:n,onRegister:r,onDeregister:i}=e,a=new Set(t);return new Ut({key:Qv,state:{init(e,t){return ey(t.doc,$v(),a,n)},apply(e,t,r,i){return e.docChanged?ey(i.doc,t,a,n,e.mapping):t}},view(){let e=new Set;return{update(t){let n=Qv.getState(t.state);n&&(e=ny(e,n,r,i))},destroy(){for(let t of e)i?.(t);e=new Set}}}})}var ay=300,oy=150,sy=500,cy=class{registry=new Map;_activeNodeId=null;listeners=new Set;_snapshot={activeNodeId:null,active:null};register(e){this.registry.set(e.nodeId,e),this._activeNodeId===e.nodeId&&this.refreshSnapshot()}deregister(e){this.registry.delete(e)&&this._activeNodeId===e&&(this._activeNodeId=null,this.refreshSnapshot())}setActiveNode(e){this._activeNodeId!==e&&(e!==null&&!this.registry.has(e)||(this._activeNodeId=e,this.refreshSnapshot()))}getActiveNode(){return this._activeNodeId}getRegistration(e){return this.registry.get(e)}hasRegistration(e){return this.registry.has(e)}clear(){this.registry.clear(),this._activeNodeId=null,this.refreshSnapshot()}getSnapshot=()=>this._snapshot;subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});refreshSnapshot(){let e=this._activeNodeId==null?null:this.registry.get(this._activeNodeId)??null;this._snapshot={activeNodeId:this._activeNodeId,active:e};for(let e of this.listeners)e()}};function ly(e,t){let n=e??null;for(;n&&typeof n==`object`;){let e=n.getAttribute;if(typeof e==`function`){let r=e.call(n,`data-mark-id`);if(r&&t.hasRegistration(r))return r;let i=e.call(n,`data-node-id`);if(i&&t.hasRegistration(i))return i}n=n.parentElement??null}return null}function uy(e){return e?e.closest(`[data-ok-prop-panel]`)!==null:!1}function dy(){return typeof document>`u`?!1:document.querySelector(`[data-ok-layer-spawned]`)!==null}var fy=e=>{let t=(0,$.c)(18),{store:n}=e,r;t[0]===n?r=t[1]:(r=()=>n.getSnapshot(),t[0]=n,t[1]=r);let[i,a]=(0,Q.useState)(r),o,s;t[2]===n?(o=t[3],s=t[4]):(o=()=>(a(n.getSnapshot()),n.subscribe(()=>{a(n.getSnapshot())})),s=[n],t[2]=n,t[3]=o,t[4]=s),(0,Q.useEffect)(o,s);let{active:c}=i;if(!c)return null;let l;t[5]===n?l=t[6]:(l=()=>n.setActiveNode(null),t[5]=n,t[6]=l);let u,d,f;if(t[7]!==c.controls||t[8]!==c.nodeId||t[9]!==c.type||t[10]!==l){let e={nodeId:c.nodeId,type:c.type,deactivate:l};u=c.controls.propPanel?.(e),d=c.controls.toolbar?.(e),f=c.controls.breadcrumb?.(e),t[7]=c.controls,t[8]=c.nodeId,t[9]=c.type,t[10]=l,t[11]=u,t[12]=d,t[13]=f}else u=t[11],d=t[12],f=t[13];let p;return t[14]!==u||t[15]!==d||t[16]!==f?(p=(0,Z.jsxs)(Z.Fragment,{children:[u,d,f]}),t[14]=u,t[15]=d,t[16]=f,t[17]=p):p=t[17],p};function py(e){return e.editorView?.dom??null}function my(e,t){let n=e;for(;n;){if(n.getAttribute?.(`data-mark-id`)===t||n.getAttribute?.(`data-node-id`)===t)return!0;n=n.parentElement}return!1}function hy(e){let{editor:t}=e,n=new cy,r=py(t),i=!1,a=null,o=null,s=null,c=null,l=null,u=()=>{a!==null&&(clearTimeout(a),a=null),s=null},d=()=>{o!==null&&(clearTimeout(o),o=null)},f=()=>{c!==null&&(clearTimeout(c),c=null)},p=e=>{if(n.getActiveNode()===e){d();return}s===e&&a!==null||(u(),d(),s=e,a=setTimeout(()=>{a=null,s=null,n.setActiveNode(e)},ay))},m=()=>{n.getActiveNode()!==null&&o===null&&(o=setTimeout(()=>{o=null,!dy()&&n.setActiveNode(null)},oy))},h=null,g=!1,_=e=>{try{g=!0,e.focus({preventScroll:!0})}catch{}finally{g=!1}},v=n.subscribe(()=>{let e=n.getActiveNode();if(e!==null){if(typeof document<`u`){let t=document.activeElement;h=t&&my(t,e)?t:null}return}if(typeof document>`u`)return;let i=h;if(h=null,i&&document.contains(i)&&typeof i.focus==`function`){_(i);return}let a=r??py(t);a&&typeof a.focus==`function`&&_(a)}),y=e=>{let t=e;if(t.button!==2){if(t.metaKey||t.ctrlKey||t.button===1){u(),t.button===1&&t.preventDefault?.();return}if(t.pointerType===`touch`){let t=ly(e.target,n);if(t===null)return;f(),c=setTimeout(()=>{c=null,l=t,n.setActiveNode(t)},sy);return}u()}},b=()=>{f()},x=e=>{e.pointerType===`touch`&&c!==null&&f()},S=e=>{let t=e;if(t.button===2||t.type===`click`&&t.button===1)return;let r=ly(e.target,n);if(r===null)return;if(l!==null){let e=l===r;if(l=null,e){t.preventDefault?.();return}}let i=t.metaKey||t.ctrlKey||t.button===1,a=n.getRegistration(r);if(a?.handlePrimary&&a.handlePrimary({nodeId:r,type:a.type,newTab:i})){t.preventDefault?.(),i||(u(),d(),n.getActiveNode()===r&&n.setActiveNode(null));return}i||(u(),d(),n.setActiveNode(r))},C=e=>{let t=e;if(t.key===`Escape`){n.getActiveNode()!==null&&(u(),d(),n.setActiveNode(null),t.preventDefault?.());return}if(t.key===`Tab`&&!t.shiftKey&&!t.altKey&&!t.metaKey&&!t.ctrlKey){let r=ly(e.target,n);if(r!==null&&n.getActiveNode()===r){let e=document.querySelector(`[data-ok-prop-panel]`);if(e){let n=e.querySelector(`button:not([disabled]), [href], input:not([disabled]), [tabindex]:not([tabindex="-1"])`);if(n){t.preventDefault?.(),n.focus();return}}}return}let r=t.key===`Enter`,i=t.key===` `||t.key===`Spacebar`;if(!r&&!i)return;let a=ly(e.target,n);if(a===null||i&&((e.target instanceof Element?e.target:null)?.closest(`[data-mark-id], [data-node-id]`)??null)?.getAttribute(`role`)===`link`)return;let o=n.getRegistration(a);if(t.preventDefault?.(),o?.handlePrimary&&o.handlePrimary({nodeId:a,type:o.type,newTab:!1})){u(),d(),n.getActiveNode()===a&&n.setActiveNode(null);return}n.setActiveNode(a)},w=e=>{let t=e;if(t.pointerType!==`mouse`)return;let r=t.target;if(!(r instanceof Element))return;if(uy(r)){d();return}let i=ly(r,n);i!==null&&p(i)},T=e=>{let t=e;if(t.pointerType!==`mouse`)return;let r=t.target,i=t.relatedTarget;if(!(r instanceof Element))return;let a=i instanceof Element?i:null,o=ly(r,n);if(o!==null){if(a&&uy(a)){d();return}if(a&&ly(a,n)===o)return;s===o&&u(),m();return}if(uy(r)){if(a&&uy(a))return;let e=n.getActiveNode();if(e!==null&&a&&ly(a,n)===e)return;m()}},E=e=>{if(g)return;let t=e.target;if(!(t instanceof Element))return;let r=ly(t,n);r!==null&&(u(),d(),n.setActiveNode(r))},D=e=>{let t=e;if(n.getActiveNode()===null)return;let r=t.relatedTarget,i=r instanceof Element?r:null;i&&uy(i)||i&&ly(i,n)!==null||m()},O=e=>{if(n.getActiveNode()===null)return;let t=e.target;t&&(r?.contains(t)||t instanceof Element&&(t.closest(`[data-ok-interaction-layer]`)||t.closest(`[data-ok-prop-panel]`)||t.closest(`[data-ok-layer-spawned]`))||(u(),d(),n.setActiveNode(null)))},k=()=>{i||(r=py(t),r&&(r.addEventListener(`pointerdown`,y,!0),r.addEventListener(`pointerup`,b,!0),r.addEventListener(`pointercancel`,b,!0),r.addEventListener(`pointermove`,x,!0),r.addEventListener(`click`,S,!0),r.addEventListener(`auxclick`,S,!0),r.addEventListener(`keydown`,C,!0),typeof document<`u`&&(document.addEventListener(`pointerover`,w,!0),document.addEventListener(`pointerout`,T,!0),document.addEventListener(`focusin`,E,!0),document.addEventListener(`focusout`,D,!0),document.addEventListener(`pointerdown`,O,!0)),i=!0))},A=()=>{i&&=(r?.removeEventListener(`pointerdown`,y,!0),r?.removeEventListener(`pointerup`,b,!0),r?.removeEventListener(`pointercancel`,b,!0),r?.removeEventListener(`pointermove`,x,!0),r?.removeEventListener(`click`,S,!0),r?.removeEventListener(`auxclick`,S,!0),r?.removeEventListener(`keydown`,C,!0),typeof document<`u`&&(document.removeEventListener(`pointerover`,w,!0),document.removeEventListener(`pointerout`,T,!0),document.removeEventListener(`focusin`,E,!0),document.removeEventListener(`focusout`,D,!0),document.removeEventListener(`pointerdown`,O,!0)),!1)};return k(),{register(e){n.register(e),i||k()},deregister(e){n.deregister(e)},setActiveNode(e){n.setActiveNode(e)},getActiveNode(){return n.getActiveNode()},getRegistration(e){return n.getRegistration(e)},destroy(){A(),u(),d(),f(),v(),n.clear()},store:n}}var gy=e=>{let t=(0,$.c)(2),{store:n}=e,r;return t[0]===n?r=t[1]:(r=(0,Z.jsx)(`div`,{"data-ok-interaction-layer":``,className:`contents`,children:(0,Z.jsx)(fy,{store:n})}),t[0]=n,t[1]=r),r},_y=new WeakMap;function vy(e){let t=_y.get(e);if(t)return t;let n=hy({editor:e});return _y.set(e,n),e.on(`destroy`,()=>{n.destroy(),_y.delete(e)}),n}var yy={AppWindow:za,ChevronRight:on,CopyPlus:hn,FileText:oo,Film:lo,GitBranch:xr,Image:go,LayoutPanelTop:vo,MessageSquareWarning:Eo,PanelTop:Ao,Paperclip:jo,Sigma:zo,SquarePlay:Vo,Volume2:Go,Workflow:Ko,ZoomIn:Jo};function by(e){return e&&Object.hasOwn(yy,e)?yy[e]:Ga}var xy={Info:Sr,Lightbulb:yo,MessageSquareWarning:Eo,AlertTriangle:wr,AlertOctagon:Oo,ClipboardList:Qa,BookOpen:Wa,ListTodo:wo,CircleCheck:un,CircleHelp:Xa,CircleX:Za,Zap:qo,Bug:Ka,FlaskConical:uo,Quote:No,ChevronRight:on},Sy=Object.entries(xy).sort(([e],[t])=>e.localeCompare(t));function Cy(e){if(!e||!e.startsWith(`lucide:`))return null;let t=e.slice(7);return Object.hasOwn(xy,t)?xy[t]??null:null}function wy(e){let t=(0,$.c)(24),n;t[0]===e.icon?n=t[1]:(n=Cy(e.icon),t[0]=e.icon,t[1]=n);let r=n,i=r?`custom`:void 0,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(on,{size:14,className:`accordion-chevron`,"aria-hidden":`true`}),t[2]=a):a=t[2];let o;t[3]===r?o=t[4]:(o=r?(0,Z.jsx)(r,{size:16,className:`accordion-icon`,"aria-hidden":`true`}):null,t[3]=r,t[4]=o);let s=e.title??`Accordion`,c;t[5]===s?c=t[6]:(c=(0,Z.jsx)(`span`,{className:`accordion-title`,children:s}),t[5]=s,t[6]=c);let l;t[7]===e.description?l=t[8]:(l=e.description?(0,Z.jsx)(`span`,{className:`accordion-description`,children:e.description}):null,t[7]=e.description,t[8]=l);let u;t[9]!==c||t[10]!==l?(u=(0,Z.jsxs)(`span`,{className:`accordion-title-group`,children:[c,l]}),t[9]=c,t[10]=l,t[11]=u):u=t[11];let d;t[12]!==o||t[13]!==u?(d=(0,Z.jsxs)(`summary`,{className:`accordion-summary`,contentEditable:!1,children:[a,o,u]}),t[12]=o,t[13]=u,t[14]=d):d=t[14];let f;t[15]===e.children?f=t[16]:(f=(0,Z.jsx)(`div`,{className:`accordion-body`,children:e.children}),t[15]=e.children,t[16]=f);let p;return t[17]!==e.defaultOpen||t[18]!==e.id||t[19]!==e.name||t[20]!==i||t[21]!==d||t[22]!==f?(p=(0,Z.jsxs)(`details`,{className:`accordion`,"data-accordion-icon":i,open:e.defaultOpen,id:e.id,name:e.name,children:[d,f]}),t[17]=e.defaultOpen,t[18]=e.id,t[19]=e.name,t[20]=i,t[21]=d,t[22]=f,t[23]=p):p=t[23],p}function Ty(e){return e!==!1}function Ey(e){let t=(0,$.c)(12),n;t[0]===e.src?n=t[1]:(n=e.src===void 0?void 0:ve(e.src),t[0]=e.src,t[1]=n);let r=e.title,i;t[2]===e.controls?i=t[3]:(i=Ty(e.controls),t[2]=e.controls,t[3]=i);let a;return t[4]!==e.autoplay||t[5]!==e.loop||t[6]!==e.muted||t[7]!==e.preload||t[8]!==e.title||t[9]!==n||t[10]!==i?(a=(0,Z.jsx)(`audio`,{className:`ok-audio`,src:n,title:r,controls:i,autoPlay:e.autoplay,loop:e.loop,muted:e.muted,preload:e.preload}),t[4]=e.autoplay,t[5]=e.loop,t[6]=e.muted,t[7]=e.preload,t[8]=e.title,t[9]=n,t[10]=i,t[11]=a):a=t[11],a}var Dy={note:Sr,tip:yo,important:Eo,warning:wr,caution:Oo,abstract:Qa,info:Wa,todo:wo,success:un,question:Xa,failure:Za,danger:qo,bug:Ka,example:uo,quote:No};function Oy(e,t){return Cy(e)??Dy[t]}var ky=new Set([`note`,`tip`,`important`,`warning`,`caution`,`abstract`,`info`,`todo`,`success`,`question`,`failure`,`danger`,`bug`,`example`,`quote`]);function Ay(e){return typeof e==`string`&&ky.has(e)?e:`note`}function jy(e){let t=(0,$.c)(29),n,r;t[0]!==e.icon||t[1]!==e.type?(r=Ay(e.type),n=Oy(e.icon,r),t[0]=e.icon,t[1]=e.type,t[2]=n,t[3]=r):(n=t[2],r=t[3]);let i=n,a;t[4]===e.color?a=t[5]:(a=e.color?{"--callout-type-color":e.color}:{},t[4]=e.color,t[5]=a);let s=a,c;t[6]!==i||t[7]!==e.title?(c=e.title||i?(0,Z.jsxs)(`span`,{className:`callout-header`,contentEditable:!1,children:[(0,Z.jsx)(i,{size:16,className:`callout-icon`,"aria-hidden":`true`}),e.title?(0,Z.jsx)(`span`,{className:`callout-title`,children:e.title}):null]}):null,t[6]=i,t[7]=e.title,t[8]=c):c=t[8];let l=c;if(e.collapsible){let n=e.defaultOpen??!0,i;t[9]===l?i=t[10]:(i=l??(0,Z.jsx)(`span`,{className:`callout-title`,children:(0,Z.jsx)(o,{id:`URmyfc`})}),t[9]=l,t[10]=i);let a;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(an,{size:16,className:`callout-chevron`,"aria-hidden":`true`}),t[11]=a):a=t[11];let c;t[12]===i?c=t[13]:(c=(0,Z.jsxs)(`summary`,{className:`callout-summary`,contentEditable:!1,children:[i,a]}),t[12]=i,t[13]=c);let u;t[14]===e.children?u=t[15]:(u=(0,Z.jsx)(`div`,{className:`callout-body`,children:e.children}),t[14]=e.children,t[15]=u);let d;return t[16]!==n||t[17]!==s||t[18]!==c||t[19]!==u||t[20]!==r?(d=(0,Z.jsxs)(`details`,{className:`callout callout-collapsible`,"data-callout-type":r,open:n,style:s,children:[c,u]}),t[16]=n,t[17]=s,t[18]=c,t[19]=u,t[20]=r,t[21]=d):d=t[21],d}let u;t[22]===e.children?u=t[23]:(u=(0,Z.jsx)(`div`,{className:`callout-body`,children:e.children}),t[22]=e.children,t[23]=u);let d;return t[24]!==l||t[25]!==s||t[26]!==u||t[27]!==r?(d=(0,Z.jsxs)(`div`,{className:`callout callout-static`,"data-callout-type":r,style:s,children:[l,u]}),t[24]=l,t[25]=s,t[26]=u,t[27]=r,t[28]=d):d=t[28],d}var My=(0,Q.createContext)(null);function Ny(e){let t=(0,$.c)(3),{value:n,children:r}=e,i;return t[0]!==r||t[1]!==n?(i=(0,Z.jsx)(My.Provider,{value:n,children:r}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function Py(){return(0,Q.use)(My)}var Fy=[{key:`tl`,dx:-1,dy:-1,cursor:`nwse-resize`,className:`ok-resize-handle ok-resize-handle--tl`},{key:`t`,dx:0,dy:-1,cursor:`ns-resize`,className:`ok-resize-handle ok-resize-handle--t`},{key:`tr`,dx:1,dy:-1,cursor:`nesw-resize`,className:`ok-resize-handle ok-resize-handle--tr`},{key:`r`,dx:1,dy:0,cursor:`ew-resize`,className:`ok-resize-handle ok-resize-handle--r`},{key:`br`,dx:1,dy:1,cursor:`nwse-resize`,className:`ok-resize-handle ok-resize-handle--br`},{key:`b`,dx:0,dy:1,cursor:`ns-resize`,className:`ok-resize-handle ok-resize-handle--b`},{key:`bl`,dx:-1,dy:1,cursor:`nesw-resize`,className:`ok-resize-handle ok-resize-handle--bl`},{key:`l`,dx:-1,dy:0,cursor:`ew-resize`,className:`ok-resize-handle ok-resize-handle--l`}];function Iy(e){let t=(0,$.c)(7),{targetRef:n,onResize:r,onResizeEnd:i,bounds:a}=e,{_:o}=s(),c=(0,Q.useRef)(null),l;t[0]!==a?.maxHeight||t[1]!==a?.maxWidth||t[2]!==a?.minHeight||t[3]!==a?.minWidth?(l=function(e,t){let n=t===`w`?a?.minWidth??64:a?.minHeight??64,r=t===`w`?a?.maxWidth??1/0:a?.maxHeight??1/0;return Math.max(n,Math.min(r,e))},t[0]=a?.maxHeight,t[1]=a?.maxWidth,t[2]=a?.minHeight,t[3]=a?.minWidth,t[4]=l):l=t[4];let u=l,d=function(e,t){let a=n.current;if(!a)return;e.preventDefault(),e.stopPropagation();let o=a.getBoundingClientRect();c.current={handle:t,startX:e.clientX,startY:e.clientY,startWidth:o.width,startHeight:o.height,latestWidth:o.width,latestHeight:o.height,hasMoved:!1};let s=e.currentTarget;try{s.setPointerCapture(e.pointerId)}catch{}document.body.style.setProperty(`cursor`,t.cursor),document.body.style.setProperty(`user-select`,`none`);let l=function(e){let t=c.current;if(!t)return;let n=(e.clientX-t.startX)*t.handle.dx,i=(e.clientY-t.startY)*t.handle.dy,a=t.handle.dx===0?t.startWidth:u(t.startWidth+n,`w`),o=t.handle.dy===0?t.startHeight:u(t.startHeight+i,`h`);t.latestWidth=a,t.latestHeight=o,t.hasMoved=!0,r({width:a,height:o})};function d(){let e=c.current;if(!e)return;let t={width:e.latestWidth,height:e.latestHeight},n=e.hasMoved;c.current=null,document.body.style.removeProperty(`cursor`),document.body.style.removeProperty(`user-select`),window.removeEventListener(`pointermove`,l),window.removeEventListener(`pointerup`,d),window.removeEventListener(`pointercancel`,d),n&&i?.(t)}window.addEventListener(`pointermove`,l),window.addEventListener(`pointerup`,d),window.addEventListener(`pointercancel`,d)},f=Fy.map(e=>{let t=e.key;return(0,Z.jsx)(`button`,{type:`button`,className:Qt(e.className),"aria-label":o({id:`NxW-md`,values:{handleKey:t}}),tabIndex:-1,style:{cursor:e.cursor},onPointerDown:t=>d(t,e)},t)}),p;return t[5]===f?p=t[6]:(p=(0,Z.jsx)(`div`,{className:`ok-resize-overlay`,contentEditable:!1,"aria-hidden":`true`,children:f}),t[5]=f,t[6]=p),p}var Ly=`26rem`,Ry=`Embedded content`,zy=/^https?:\/\//i;function By(e){try{return new URL(e).origin!==window.location.origin}catch{return!1}}function Vy(e){return!(typeof e!=`string`||!zy.test(e)||!By(e))}function Hy(e){let t=(0,$.c)(24),{src:n,title:r,width:i,height:a}=e,o=(0,Q.useRef)(null),s=Py(),c=i||void 0,l=a||Ly,u;t[0]!==c||t[1]!==l?(u={width:c,height:l},t[0]=c,t[1]=l,t[2]=u):u=t[2];let d=u,f,p;if(t[3]!==a||t[4]!==i?(f=()=>{let e=o.current;e&&(e.style.width=i||``,e.style.height=a||Ly)},p=[i,a],t[3]=a,t[4]=i,t[5]=f,t[6]=p):(f=t[5],p=t[6]),(0,Q.useEffect)(f,p),!Vy(n)){let e=`Embed a URL`;typeof n==`string`&&n.length>0&&(e=zy.test(n)?`Embed only supports cross-origin URLs`:`URL must start with http:// or https://`);let r;return t[7]===e?r=t[8]:(r=(0,Z.jsx)(`div`,{className:`ok-embed ok-embed--placeholder`,contentEditable:!1,children:(0,Z.jsx)(`span`,{children:e})}),t[7]=e,t[8]=r),r}let m;t[9]===s?m=t[10]:(m=e=>{if(!s)return;let{editor:t,getPos:n}=s,r=n();if(typeof r==`number`)try{let n=t.state.doc.nodeAt(r);if(!n||n.type.name!==`jsxComponent`)return;let i={...n.attrs.props??{},width:`${Math.round(e.width)}px`,height:`${Math.round(e.height)}px`};t.view.dispatch(t.state.tr.setNodeMarkup(r,null,{...n.attrs,props:i,sourceDirty:!0}))}catch(e){let t=e;if(t instanceof RangeError)return;throw t}},t[9]=s,t[10]=m);let h=m,g;t[11]===n?g=t[12]:(g=Pe(n),t[11]=n,t[12]=g);let _=g,v=_===n?`no-referrer`:`strict-origin-when-cross-origin`,y=r||Ry,b;t[13]!==_||t[14]!==v||t[15]!==y?(b=(0,Z.jsx)(`iframe`,{title:y,src:_,sandbox:`allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation`,referrerPolicy:v,loading:`lazy`,className:`ok-embed-frame`}),t[13]=_,t[14]=v,t[15]=y,t[16]=b):b=t[16];let x;t[17]!==s||t[18]!==h?(x=s?(0,Z.jsx)(Iy,{targetRef:o,bounds:{minWidth:192,maxWidth:2e3,minHeight:128,maxHeight:Math.round(window.innerHeight*.9)},onResize:e=>{let t=o.current;t&&(t.style.width=`${e.width}px`,t.style.height=`${e.height}px`)},onResizeEnd:h}):null,t[17]=s,t[18]=h,t[19]=x):x=t[19];let S;return t[20]!==d||t[21]!==x||t[22]!==b?(S=(0,Z.jsxs)(`div`,{className:`ok-embed`,style:d,ref:o,contentEditable:!1,children:[b,x]}),t[20]=d,t[21]=x,t[22]=b,t[23]=S):S=t[23],S}function Uy(e){if(!e)return``;let t,n=null;try{let r=new URL(e,`https://placeholder.local`);n=r.protocol,t=r.pathname}catch{t=e.split(`?`)[0]??e}if(n===`data:`||n===`blob:`)return``;let r=t.split(`/`),i=r[r.length-1]??``;try{return decodeURIComponent(i)}catch{return i}}function Wy(e){let t=(0,$.c)(18),n;t[0]!==e.name||t[1]!==e.src?(n=e.name?.trim()||Uy(e.src)||`Untitled file`,t[0]=e.name,t[1]=e.src,t[2]=n):n=t[2];let r=n,i=e.size?.trim()?e.size:null,a;t[3]===e.src?a=t[4]:(a=e.src?ve(e.src):void 0,t[3]=e.src,t[4]=a);let o=a,s;t[5]===o?s=t[6]:(s=e=>{e.stopPropagation(),e.preventDefault(),o&&window.open(o,`_blank`,`noopener,noreferrer`)},t[5]=o,t[6]=s);let c=s,l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsx)(so,{className:`ok-file-icon`,"aria-hidden":`true`}),t[7]=l):l=t[7];let u;t[8]===r?u=t[9]:(u=(0,Z.jsx)(`span`,{className:`ok-file-name`,children:r}),t[8]=r,t[9]=u);let d;t[10]===i?d=t[11]:(d=i?(0,Z.jsx)(`span`,{className:`ok-file-size`,children:i}):null,t[10]=i,t[11]=d);let f;return t[12]!==c||t[13]!==o||t[14]!==e.title||t[15]!==u||t[16]!==d?(f=(0,Z.jsxs)(`a`,{href:o,title:e.title,className:`ok-file-attachment`,target:`_blank`,rel:`noopener noreferrer`,onMouseDown:Gy,onClick:c,children:[l,u,d]}),t[12]=c,t[13]=o,t[14]=e.title,t[15]=u,t[16]=d,t[17]=f):f=t[17],f}function Gy(e){return e.stopPropagation()}function Ky(){return Q.createElement(`svg`,{"aria-hidden":`true`,"data-rmiz-btn-unzoom-icon":!0,fill:`currentColor`,focusable:`false`,viewBox:`0 0 16 16`,xmlns:`http://www.w3.org/2000/svg`},Q.createElement(`path`,{d:`M 14.144531 1.148438 L 9 6.292969 L 9 3 L 8 3 L 8 8 L 13 8 L 13 7 L 9.707031 7 L 14.855469 1.851563 Z M 8 8 L 3 8 L 3 9 L 6.292969 9 L 1.148438 14.144531 L 1.851563 14.855469 L 7 9.707031 L 7 13 L 8 13 Z`}))}function qy(){return Q.createElement(`svg`,{"aria-hidden":`true`,"data-rmiz-btn-zoom-icon":!0,fill:`currentColor`,focusable:`false`,viewBox:`0 0 16 16`,xmlns:`http://www.w3.org/2000/svg`},Q.createElement(`path`,{d:`M 9 1 L 9 2 L 12.292969 2 L 2 12.292969 L 2 9 L 1 9 L 1 14 L 6 14 L 6 13 L 2.707031 13 L 13 2.707031 L 13 6 L 14 6 L 14 1 Z`}))}function Jy(e){return typeof Element>`u`?!1:e instanceof Element}var Yy=(e,t)=>Jy(t)&&t.tagName.toUpperCase()===e,Xy=e=>Yy(`DIV`,e)||Yy(`SPAN`,e),Zy=e=>Yy(`IMG`,e),Qy=e=>e.complete&&e.naturalHeight!==0,$y=e=>Yy(`SVG`,e),eb=({height:e,offset:t,width:n})=>Math.min((window.innerWidth-t*2)/n,(window.innerHeight-t*2)/e),tb=({containerHeight:e,containerWidth:t,offset:n,targetHeight:r,targetWidth:i})=>{let a=eb({height:r,offset:n,width:i}),o=i>r?i/t:r/e;return a>1?o:a*o},nb=({containerHeight:e,containerWidth:t,hasScalableSrc:n,offset:r,targetHeight:i,targetWidth:a})=>e===0||t===0?1:!n&&i!==0&&a!==0?tb({containerHeight:e,containerWidth:t,offset:r,targetHeight:i,targetWidth:a}):eb({height:e,offset:r,width:t}),rb=/url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/,ib=e=>{if(e!==null){if(Zy(e))return e.currentSrc===``?void 0:e.currentSrc;if(Xy(e)){let{backgroundImage:t}=window.getComputedStyle(e);if(t!==``)return rb.exec(t)?.[1]}}},ab=e=>{if(e!==null)return Zy(e)?e.alt:e.getAttribute(`aria-label`)??void 0},ob=({containerHeight:e,containerLeft:t,containerTop:n,containerWidth:r,hasScalableSrc:i,offset:a,targetHeight:o,targetWidth:s})=>{let c=nb({containerHeight:e,containerWidth:r,hasScalableSrc:i,offset:a,targetHeight:o,targetWidth:s});return{top:n,left:t,width:r*c,height:e*c,transform:`translate(0,0) scale(${1/c})`}},sb=({position:e,relativeNum:t})=>{let n=parseFloat(e);return e.endsWith(`%`)?t*n/100:n},cb=({containerHeight:e,containerLeft:t,containerTop:n,containerWidth:r,hasScalableSrc:i,objectFit:a,objectPosition:o,offset:s,targetHeight:c,targetWidth:l})=>{let u=a;if(u===`scale-down`&&(u=l<=r&&c<=e?`none`:`contain`),u===`cover`||u===`contain`){let a=r/l,d=e/c,f=u===`cover`?Math.max(a,d):Math.min(a,d),[p=`50%`,m=`50%`]=o.split(` `),h=sb({position:p,relativeNum:r-l*f}),g=sb({position:m,relativeNum:e-c*f}),_=nb({containerHeight:c*f,containerWidth:l*f,hasScalableSrc:i,offset:s,targetHeight:c,targetWidth:l});return{top:n+g,left:t+h,width:l*f*_,height:c*f*_,transform:`translate(0,0) scale(${1/_})`}}else if(u===`none`){let[a=`50%`,u=`50%`]=o.split(` `),d=sb({position:a,relativeNum:r-l}),f=sb({position:u,relativeNum:e-c}),p=nb({containerHeight:c,containerWidth:l,hasScalableSrc:i,offset:s,targetHeight:c,targetWidth:l});return{top:n+f,left:t+d,width:l*p,height:c*p,transform:`translate(0,0) scale(${1/p})`}}else if(u===`fill`){let t=r/l,n=e/c,a=Math.max(t,n),o=nb({containerHeight:c*a,containerWidth:l*a,hasScalableSrc:i,offset:s,targetHeight:c,targetWidth:l});return{width:r*o,height:e*o,transform:`translate(0,0) scale(${1/o})`}}else return{}},lb=({backgroundPosition:e,backgroundSize:t,containerHeight:n,containerLeft:r,containerTop:i,containerWidth:a,hasScalableSrc:o,offset:s,targetHeight:c,targetWidth:l})=>{if(t===`cover`||t===`contain`){let u=a/l,d=n/c,f=t===`cover`?Math.max(u,d):Math.min(u,d),[p=`50%`,m=`50%`]=e.split(` `),h=sb({position:p,relativeNum:a-l*f}),g=sb({position:m,relativeNum:n-c*f}),_=nb({containerHeight:c*f,containerWidth:l*f,hasScalableSrc:o,offset:s,targetHeight:c,targetWidth:l});return{top:i+g,left:r+h,width:l*f*_,height:c*f*_,transform:`translate(0,0) scale(${1/_})`}}else if(t===`auto`){let[t=`50%`,u=`50%`]=e.split(` `),d=sb({position:t,relativeNum:a-l}),f=sb({position:u,relativeNum:n-c}),p=nb({containerHeight:c,containerWidth:l,hasScalableSrc:o,offset:s,targetHeight:c,targetWidth:l});return{top:i+f,left:r+d,width:l*p,height:c*p,transform:`translate(0,0) scale(${1/p})`}}else{let[u=`50%`,d=`50%`]=t.split(` `),f=sb({position:u,relativeNum:a}),p=sb({position:d,relativeNum:n}),m=f/l,h=p/c,g=Math.min(m,h),[_=`50%`,v=`50%`]=e.split(` `),y=sb({position:_,relativeNum:a-l*g}),b=sb({position:v,relativeNum:n-c*g}),x=nb({containerHeight:c*g,containerWidth:l*g,hasScalableSrc:o,offset:s,targetHeight:c,targetWidth:l});return{top:i+b,left:r+y,width:l*g*x,height:c*g*x,transform:`translate(0,0) scale(${1/x})`}}},ub=/\.svg$/i,db=({hasZoomImg:e,imgSrc:t,isSvg:n,isZoomed:r,loadedImgEl:i,offset:a,shouldRefresh:o,targetEl:s})=>{let c=n||t?.slice(0,18)===`data:image/svg+xml`||e||t!==void 0&&ub.test(t),l=s.getBoundingClientRect(),u=window.getComputedStyle(s),d=i!=null&&Xy(s),f=i!=null&&!d,p=i!=null&&i.naturalHeight!==0?i.naturalHeight:l.height,m=i!=null&&i.naturalWidth!==0?i.naturalWidth:l.width,h=ob({containerHeight:l.height,containerLeft:l.left,containerTop:l.top,containerWidth:l.width,hasScalableSrc:c,offset:a,targetHeight:p,targetWidth:m}),g=f?cb({containerHeight:l.height,containerLeft:l.left,containerTop:l.top,containerWidth:l.width,hasScalableSrc:c,objectFit:u.objectFit,objectPosition:u.objectPosition,offset:a,targetHeight:p,targetWidth:m}):void 0,_=d?lb({backgroundPosition:u.backgroundPosition,backgroundSize:u.backgroundSize,containerHeight:l.height,containerLeft:l.left,containerTop:l.top,containerWidth:l.width,hasScalableSrc:c,offset:a,targetHeight:p,targetWidth:m}):void 0,v={...h,...g,..._};if(r){let e=window.innerWidth/2,t=window.innerHeight/2,n=parseFloat(String(v.left??0))+parseFloat(String(v.width??0))/2,r=parseFloat(String(v.top??0))+parseFloat(String(v.height??0))/2,i=e-n,a=t-r;o&&(v.transitionDuration=`0.01ms`),v.transform=`translate(${i}px,${a}px) scale(1)`}return v},fb=e=>{if(e==null)return{};if($y(e)){let{parentElement:t}=e,n=e.getBoundingClientRect();if(t==null)return{height:n.height,left:n.left,width:n.width,top:n.top};{let e=t.getBoundingClientRect();return{height:n.height,left:e.left-n.left,top:e.top-n.top,width:n.width}}}else return{height:e.offsetHeight,left:e.offsetLeft,width:e.offsetWidth,top:e.offsetTop}},pb=e=>{let t=`-zoom`,n=[`clip-path`,`fill`,`mask`,`marker-start`,`marker-mid`,`marker-end`],r=new Map;if(e.hasAttribute(`id`)){let{id:n}=e,i=n+t;r.set(n,i);let a=e;a.id=i}e.querySelectorAll(`[id]`).forEach(e=>{let{id:n}=e,i=n+t;r.set(n,i);let a=e;a.id=i}),r.forEach((t,r)=>{let i=`url(#${r})`,a=`url(#${t})`,o=n.map(e=>`[${e}="${i}"]`).join(`, `);e.querySelectorAll(o).forEach(e=>{n.forEach(t=>{e.getAttribute(t)===i&&e.setAttribute(t,a)})})}),e.querySelectorAll(`style`).forEach(e=>{r.forEach((t,n)=>{let{textContent:r}=e;if(r!==``){let i=e;i.textContent=r.replaceAll(`#${n}`,`#${t}`)}})})},mb=[`img`,`svg`,`[role="img"]`,`[data-zoom]`].map(e=>`${e}:not([aria-hidden="true"])`).join(`,`),hb={overflow:``,width:``};function gb(){let e=document.querySelector(`[data-rmiz-portal]`);if(e!=null)return e;let t=document.createElement(`div`);return t.setAttribute(`data-rmiz-portal`,``),document.body.appendChild(t),t}function _b(e){e.preventDefault()}function vb(e){return Q.createElement(yb,{...e})}var yb=class extends Q.Component{constructor(){super(...arguments),this.state={id:``,isZoomImgLoaded:!1,loadedImgEl:void 0,modalState:`UNLOADED`,shouldRefresh:!1,styleGhost:{}},this.refContent=Q.createRef(),this.refDialog=Q.createRef(),this.refModalContent=Q.createRef(),this.refModalImg=Q.createRef(),this.refWrap=Q.createRef(),this.imgEl=null,this.isScaling=!1,this.prevBodyAttrs=hb,this.styleModalImg={},this.handleModalStateChange=e=>{let{state:{modalState:t}}=this;e!==`LOADING`&&t===`LOADING`?(this.loadZoomImg(),window.addEventListener(`resize`,this.handleResize,{passive:!0}),window.addEventListener(`touchstart`,this.handleTouchStart,{passive:!0}),window.addEventListener(`touchmove`,this.handleTouchMove,{passive:!0}),window.addEventListener(`touchend`,this.handleTouchEnd,{passive:!0}),window.addEventListener(`touchcancel`,this.handleTouchCancel,{passive:!0}),document.addEventListener(`keydown`,this.handleKeyDown,!0)):e!==`LOADED`&&t===`LOADED`?window.addEventListener(`wheel`,this.handleWheel,{passive:!0}):e!==`UNLOADING`&&t===`UNLOADING`?(this.ensureImgTransitionEnd(),window.removeEventListener(`wheel`,this.handleWheel),window.removeEventListener(`touchstart`,this.handleTouchStart),window.removeEventListener(`touchmove`,this.handleTouchMove),window.removeEventListener(`touchend`,this.handleTouchEnd),window.removeEventListener(`touchcancel`,this.handleTouchCancel),document.removeEventListener(`keydown`,this.handleKeyDown,!0)):e!==`UNLOADED`&&t===`UNLOADED`&&(this.bodyScrollEnable(),window.removeEventListener(`resize`,this.handleResize),this.refModalImg.current?.removeEventListener(`transitionend`,this.handleImgTransitionEnd),this.refDialog.current?.close())},this.setId=()=>{let e=()=>Math.random().toString(16).slice(-4);this.setState({id:e()+e()+e()})},this.setAndTrackImg=()=>{let{refContent:{current:e}}=this;e!=null&&(this.imgEl=e.querySelector(mb),this.imgEl===null?this.contentNotFoundChangeObserver??(this.contentNotFoundChangeObserver=new MutationObserver(this.setAndTrackImg),this.contentNotFoundChangeObserver.observe(e,{childList:!0,subtree:!0})):(this.contentNotFoundChangeObserver?.disconnect(),this.imgEl.addEventListener(`load`,this.handleImgLoad),this.imgEl.addEventListener(`click`,this.handleZoom),this.state.loadedImgEl??this.handleImgLoad(),this.imgElResizeObserver=new ResizeObserver(e=>{let[t]=e;t?.target!==void 0&&(this.imgEl=t.target,this.setState({styleGhost:fb(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),this.contentChangeObserver??(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:fb(this.imgEl)})}),this.contentChangeObserver.observe(e,{attributes:!0,childList:!0,subtree:!0}))))},this.handleIfZoomChanged=e=>{let{props:{isZoomed:t}}=this;!e&&t?this.zoom():e&&!t&&this.unzoom()},this.handleImgLoad=()=>{let e=ib(this.imgEl);if(e==null||e===``)return;let t=new Image,{imgEl:n}=this;if(Zy(n)){let{sizes:e,srcset:r,crossOrigin:i}=n;t.sizes=e,t.srcset=r,t.crossOrigin=i}t.src=e;let r=()=>{this.setState({loadedImgEl:t,styleGhost:fb(this.imgEl)})};t.decode().then(r).catch(()=>{if(Qy(t)){r();return}t.onload=r})},this.handleZoom=e=>{this.props.isDisabled!==!0&&this.hasImage()&&this.props.onZoomChange?.(!0,{event:e})},this.handleUnzoom=e=>{this.props.isDisabled!==!0&&this.props.onZoomChange?.(!1,{event:e})},this.handleBtnUnzoomClick=e=>{e.preventDefault(),e.stopPropagation(),this.handleUnzoom(e)},this.handleDialogClick=e=>{(e.target===this.refModalContent.current||e.target===this.refModalImg.current)&&(e.stopPropagation(),this.handleUnzoom(e))},this.handleDialogClose=e=>{e.stopPropagation(),this.handleUnzoom(e)},this.handleKeyDown=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),this.handleUnzoom(e))},this.handleWheel=e=>{e.ctrlKey||(e.stopPropagation(),queueMicrotask(()=>{this.handleUnzoom(e)}))},this.handleTouchStart=e=>{if(e.touches.length>1){this.isScaling=!0;return}let{changedTouches:t}=e,[n]=t;if(t.length===1&&n!==void 0){let{screenY:e}=n;this.touchYStart=e}},this.handleTouchMove=e=>{let t=window.visualViewport?.scale??1,{changedTouches:n}=e,[r]=n;if(this.props.canSwipeToUnzoom&&!this.isScaling&&t<=1&&this.touchYStart!=null&&r!==void 0){let{screenY:t}=r;this.touchYEnd=t;let n=Math.max(this.touchYStart,this.touchYEnd),i=Math.min(this.touchYStart,this.touchYEnd);Math.abs(n-i)>this.props.swipeToUnzoomThreshold&&(this.touchYStart=void 0,this.touchYEnd=void 0,this.handleUnzoom(e))}},this.handleTouchEnd=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleTouchCancel=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleResize=()=>{this.setState({shouldRefresh:!0})},this.hasImage=()=>this.imgEl!==null&&(this.state.loadedImgEl!==void 0||$y(this.imgEl))&&window.getComputedStyle(this.imgEl).display!==`none`,this.zoom=()=>{this.bodyScrollDisable(),this.refDialog.current?.showModal(),this.refModalImg.current?.addEventListener(`transitionend`,this.handleImgTransitionEnd),this.setState({modalState:`LOADING`})},this.unzoom=()=>{this.setState({modalState:`UNLOADING`})},this.handleImgTransitionEnd=()=>{clearTimeout(this.timeoutTransitionEnd),this.state.modalState===`LOADING`?this.setState({modalState:`LOADED`}):this.state.modalState===`UNLOADING`&&this.setState({shouldRefresh:!1,modalState:`UNLOADED`})},this.ensureImgTransitionEnd=()=>{if(this.refModalImg.current!==null){let{transitionDuration:e}=window.getComputedStyle(this.refModalImg.current),t=parseFloat(e);if(t!==0&&!Number.isNaN(t)){let n=t*(e.endsWith(`ms`)?1:1e3)+50;this.timeoutTransitionEnd=setTimeout(this.handleImgTransitionEnd,n)}}},this.bodyScrollDisable=()=>{this.prevBodyAttrs={overflow:document.body.style.overflow,width:document.body.style.width};let{body:{clientWidth:e}}=document;document.body.style.overflow=`hidden`,document.body.style.width=`${e}px`},this.bodyScrollEnable=()=>{let{prevBodyAttrs:{overflow:e,width:t}}=this;document.body.style.width=t,document.body.style.overflow=e,this.prevBodyAttrs=hb},this.loadZoomImg=()=>{let{props:{zoomImg:e}}=this;if(e==null)return;let{src:t}=e;if(t!==void 0&&t!==``){let n=new Image;n.sizes=e.sizes??``,n.srcset=e.srcSet??``,n.crossOrigin=e.crossOrigin??void 0,n.src=t;let r=()=>{this.setState({isZoomImgLoaded:!0})};n.decode().then(r).catch(()=>{if(Qy(n)){r();return}n.onload=r})}},this.UNSAFE_handleSvg=()=>{let{imgEl:e,refModalImg:t,styleModalImg:n}=this;if($y(e)){let r=e.cloneNode(!0);pb(r),r.style.width=`${n.width??0}px`,r.style.height=`${n.height??0}px`,r.addEventListener(`click`,this.handleUnzoom),t.current?.firstChild?.remove(),t.current?.appendChild(r)}}}render(){let{handleBtnUnzoomClick:e,handleDialogClick:t,handleDialogClose:n,handleUnzoom:r,handleZoom:i,imgEl:a,props:{a11yNameButtonUnzoom:o,a11yNameButtonZoom:s,children:c,classDialog:l,IconUnzoom:u,IconZoom:d,isZoomed:f,wrapElement:p,ZoomContent:m,zoomImg:h,zoomMargin:g},refContent:_,refDialog:v,refModalContent:y,refModalImg:b,refWrap:x,state:{id:S,isZoomImgLoaded:C,loadedImgEl:w,modalState:T,shouldRefresh:E,styleGhost:D}}=this,O=`rmiz-modal-${S}`,k=`rmiz-modal-img-${S}`,A=Xy(a),j=Zy(a),M=$y(a),N=ab(a),P=ib(a),F=j?a.sizes:void 0,I=j?a.srcset:void 0,L=j?a.crossOrigin:void 0,ee=h?.src!==void 0&&h.src!==``,R=this.hasImage(),z=N!==void 0&&N!==``?`${s}: ${N}`:s,B=T===`LOADING`||T===`LOADED`,V=R?`found`:`not-found`,H=T===`UNLOADED`||T===`UNLOADING`?`hidden`:`visible`,U={visibility:T===`UNLOADED`?`visible`:`hidden`};this.styleModalImg=R&&a!==null?db({hasZoomImg:ee,imgSrc:P,isSvg:M,isZoomed:f&&B,loadedImgEl:w,offset:g,shouldRefresh:E,targetEl:a}):{};let W=null;if(R){let t=j||A?Q.createElement(`img`,{alt:N,crossOrigin:L,sizes:F,src:P,srcSet:I,...C&&T===`LOADED`?h:{},"data-rmiz-modal-img":``,height:this.styleModalImg.height??void 0,id:k,ref:b,style:this.styleModalImg,width:this.styleModalImg.width??void 0}):M?Q.createElement(`div`,{"data-rmiz-modal-img":!0,ref:b,style:this.styleModalImg}):null,n=Q.createElement(`button`,{"aria-label":o,"data-rmiz-btn-unzoom":``,onClick:e,type:`button`},Q.createElement(u,null));W=m==null?Q.createElement(Q.Fragment,null,t,n):Q.createElement(m,{buttonUnzoom:n,modalState:T,img:t,isZoomImgLoaded:C,onUnzoom:r})}return Q.createElement(p,{"aria-owns":R?O:void 0,"data-rmiz":``,ref:x},Q.createElement(p,{"data-rmiz-content":V,ref:_,style:U},c),R&&Q.createElement(p,{"data-rmiz-ghost":``,style:D},Q.createElement(`button`,{"aria-label":z,"data-rmiz-btn-zoom":``,onClick:i,type:`button`},Q.createElement(d,null))),R&&Qo.createPortal(Q.createElement(`dialog`,{"aria-labelledby":k,"aria-modal":`true`,className:l,"data-rmiz-modal":``,id:O,onClick:t,onClose:n,onCancel:_b,ref:v,role:`dialog`},Q.createElement(`div`,{"data-rmiz-modal-overlay":H}),Q.createElement(`div`,{"data-rmiz-modal-content":``,ref:y},W)),gb()))}componentDidMount(){this.setId(),this.setAndTrackImg(),this.handleImgLoad(),this.UNSAFE_handleSvg()}componentWillUnmount(){this.state.modalState!==`UNLOADED`&&this.bodyScrollEnable(),this.contentChangeObserver?.disconnect(),this.contentNotFoundChangeObserver?.disconnect(),this.imgElResizeObserver?.disconnect(),this.imgEl?.removeEventListener(`load`,this.handleImgLoad),this.imgEl?.removeEventListener(`click`,this.handleZoom),this.refModalImg.current?.removeEventListener(`transitionend`,this.handleImgTransitionEnd),window.removeEventListener(`wheel`,this.handleWheel),window.removeEventListener(`touchstart`,this.handleTouchStart),window.removeEventListener(`touchmove`,this.handleTouchMove),window.removeEventListener(`touchend`,this.handleTouchEnd),window.removeEventListener(`touchcancel`,this.handleTouchCancel),window.removeEventListener(`resize`,this.handleResize),document.removeEventListener(`keydown`,this.handleKeyDown,!0)}componentDidUpdate(e,t){this.handleModalStateChange(t.modalState),this.UNSAFE_handleSvg(),this.handleIfZoomChanged(e.isZoomed)}};yb.defaultProps={a11yNameButtonUnzoom:`Minimize image`,a11yNameButtonZoom:`Expand image`,canSwipeToUnzoom:!0,IconUnzoom:Ky,IconZoom:qy,isDisabled:!1,swipeToUnzoomThreshold:10,wrapElement:`div`,zoomMargin:0};function bb({onZoomChange:e,...t}){let[n,r]=Q.useState(!1),i=Q.useCallback((t,{event:n})=>{r(t),e?.(t,{event:n})},[e]);return Q.createElement(vb,{...t,isZoomed:n,onZoomChange:i})}function xb(e,t){return typeof e==`number`&&typeof t==`number`&&e>0&&t>0}function Sb(e,t,n){return xb(e,t)?{...n,width:`${e}px`,aspectRatio:`${e} / ${t}`}:n}function Cb(e){let t=(0,$.c)(52),n,r,i,a,o,c,l,u,d,f,p,m;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],c=t[6],l=t[7],u=t[8],d=t[9],f=t[10],p=t[11],m=t[12]):({width:m,height:r,loadingTestId:d,slotTestId:f,slotClassName:c,className:n,onLoad:o,onError:a,src:l,style:u,alt:p,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=c,t[7]=l,t[8]=u,t[9]=d,t[10]=f,t[11]=p,t[12]=m);let h=d===void 0?`image-loading-skeleton`:d,g=f===void 0?`image-slot`:f,_=p===void 0?``:p,{_:v}=s(),y=(0,Q.useRef)(null),[b,x]=(0,Q.useState)(!1),S;t[13]!==r||t[14]!==m?(S=xb(m,r),t[13]=r,t[14]=m,t[15]=S):S=t[15];let C=S,w;t[16]!==r||t[17]!==u||t[18]!==m?(w=Sb(m,r,u),t[16]=r,t[17]=u,t[18]=m,t[19]=w):w=t[19];let T=w,E;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>{y.current?.complete?x(!0):x(!1)},t[20]=E):E=t[20];let D;t[21]===l?D=t[22]:(D=[l],t[21]=l,t[22]=D),(0,Q.useLayoutEffect)(E,D);let O=!C&&!b&&`aspect-[16/9] w-full max-w-full`,k;t[23]!==c||t[24]!==O?(k=Qt(`relative inline-block overflow-hidden`,O,c),t[23]=c,t[24]=O,t[25]=k):k=t[25];let A;t[26]!==v||t[27]!==b||t[28]!==h?(A=!b&&(0,Z.jsx)(`span`,{"data-testid":h,role:`status`,"aria-busy":`true`,"aria-label":v({id:`N1YYa7`}),className:`absolute inset-0 animate-pulse rounded-md bg-muted motion-reduce:animate-none`}),t[26]=v,t[27]=b,t[28]=h,t[29]=A):A=t[29];let j=b?`opacity-100`:`opacity-0`,M;t[30]!==n||t[31]!==j?(M=Qt(`block max-w-full transition-opacity motion-reduce:transition-none`,j,n),t[30]=n,t[31]=j,t[32]=M):M=t[32];let N;t[33]===o?N=t[34]:(N=e=>{x(!0),o?.(e)},t[33]=o,t[34]=N);let P;t[35]===a?P=t[36]:(P=e=>{x(!0),a?.(e)},t[35]=a,t[36]=P);let F;t[37]!==_||t[38]!==r||t[39]!==i||t[40]!==l||t[41]!==M||t[42]!==N||t[43]!==P||t[44]!==m?(F=(0,Z.jsx)(`img`,{...i,ref:y,src:l,alt:_,width:m,height:r,className:M,onLoad:N,onError:P}),t[37]=_,t[38]=r,t[39]=i,t[40]=l,t[41]=M,t[42]=N,t[43]=P,t[44]=m,t[45]=F):F=t[45];let I;return t[46]!==T||t[47]!==g||t[48]!==A||t[49]!==F||t[50]!==k?(I=(0,Z.jsxs)(`span`,{"data-testid":g,className:k,style:T,children:[A,F]}),t[46]=T,t[47]=g,t[48]=A,t[49]=F,t[50]=k,t[51]=I):I=t[51],I}function wb(e){return e??`lazy`}function Tb(e){if(typeof e!=`string`)return e;let t=Number(e);return Number.isFinite(t)&&t>0?t:e}function Eb(e){let t=(0,$.c)(21),n;t[0]===e.src?n=t[1]:(n=e.src===void 0?void 0:ve(e.src),t[0]=e.src,t[1]=n);let r=e.alt??``,i;t[2]===e.width?i=t[3]:(i=Tb(e.width),t[2]=e.width,t[3]=i);let a;t[4]===e.height?a=t[5]:(a=Tb(e.height),t[4]=e.height,t[5]=a);let o=e.title,s;t[6]===e.loading?s=t[7]:(s=wb(e.loading),t[6]=e.loading,t[7]=s);let c;return t[8]!==e.crossorigin||t[9]!==e.decoding||t[10]!==e.fetchpriority||t[11]!==e.referrerpolicy||t[12]!==e.sizes||t[13]!==e.srcset||t[14]!==e.title||t[15]!==n||t[16]!==r||t[17]!==i||t[18]!==a||t[19]!==s?(c=(0,Z.jsx)(Cb,{src:n,alt:r,width:i,height:a,title:o,loading:s,srcSet:e.srcset,sizes:e.sizes,decoding:e.decoding,fetchPriority:e.fetchpriority,crossOrigin:e.crossorigin,referrerPolicy:e.referrerpolicy}),t[8]=e.crossorigin,t[9]=e.decoding,t[10]=e.fetchpriority,t[11]=e.referrerpolicy,t[12]=e.sizes,t[13]=e.srcset,t[14]=e.title,t[15]=n,t[16]=r,t[17]=i,t[18]=a,t[19]=s,t[20]=c):c=t[20],c}function Db(e){let t=(0,$.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={sizes:void 0},t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,Z.jsx)(bb,{wrapElement:`span`,zoomMargin:20,zoomImg:n,children:(0,Z.jsx)(Eb,{...e})}),t[1]=e,t[2]=r),r}var Ob=(0,Q.lazy)(async()=>{let{default:e}=await n(async()=>{let{default:e}=await import(`./katex-BunQWEOH.js`);return{default:e}},[],import.meta.url);function t(t){let n=(0,$.c)(7),r;n[0]===t.formula?r=n[1]:(r=e.renderToString(t.formula,{displayMode:!0,throwOnError:!1,strict:`ignore`,trust:!1}),n[0]=t.formula,n[1]=r);let i=r,a;n[2]===i?a=n[3]:(a={__html:i},n[2]=i,n[3]=a);let o;return n[4]!==t.id||n[5]!==a?(o=(0,Z.jsx)(`div`,{className:`math math-display`,"data-component-type":`math`,id:t.id,dangerouslySetInnerHTML:a}),n[4]=t.id,n[5]=a,n[6]=o):o=n[6],o}return{default:t}});function kb(e){let t=(0,$.c)(3),n=e.formula||`\xA0`,r;return t[0]!==e.id||t[1]!==n?(r=(0,Z.jsx)(`div`,{className:`math math-placeholder`,"data-component-type":`math`,id:e.id,children:n}),t[0]=e.id,t[1]=n,t[2]=r):r=t[2],r}function Ab(e){let t=(0,$.c)(6),n=e.formula??``;if(!n){let r;return t[0]!==n||t[1]!==e.id?(r=(0,Z.jsx)(kb,{formula:n,id:e.id}),t[0]=n,t[1]=e.id,t[2]=r):r=t[2],r}let r;return t[3]!==n||t[4]!==e.id?(r=(0,Z.jsx)(Q.Suspense,{fallback:(0,Z.jsx)(kb,{formula:n,id:e.id}),children:(0,Z.jsx)(Ob,{formula:n,id:e.id})}),t[3]=n,t[4]=e.id,t[5]=r):r=t[5],r}var jb=.5,Mb=4,Nb=.25,Pb=48,Fb={type:`button`,size:`icon-sm`,variant:`secondary`,className:`border-border`},Ib=null;function Lb(){return Ib||=n(()=>import(`./mermaid.core-Cam_8F7g.js`).then(e=>e.default),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url).catch(e=>{throw Ib=null,e}),Ib}function Rb(){if(typeof document<`u`){let e=document.documentElement.classList;if(e.contains(`dark`))return`dark`;if(e.contains(`light`))return`light`}return typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}var zb={fontFamily:`ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`,background:`#0b0b0d`,primaryColor:`#1c1c1f`,primaryTextColor:`#f5f5f7`,primaryBorderColor:`#2a2a2e`,secondaryColor:`#242427`,secondaryTextColor:`#f5f5f7`,secondaryBorderColor:`#2a2a2e`,tertiaryColor:`#2c2c30`,tertiaryTextColor:`#f5f5f7`,tertiaryBorderColor:`#2a2a2e`,mainBkg:`#1c1c1f`,lineColor:`#5a5a63`,textColor:`#f5f5f7`,actorBkg:`#1c1c1f`,actorBorder:`#2a2a2e`,actorTextColor:`#f5f5f7`,actorLineColor:`#4a4a52`,signalColor:`#8b8b93`,signalTextColor:`#a1a1a9`,labelBoxBkgColor:`#1c1c1f`,labelBoxBorderColor:`#4a4a52`,labelTextColor:`#a1a1a9`,loopTextColor:`#a1a1a9`,nodeBorder:`#1c1c1f`,clusterBkg:`#141416`,clusterBorder:`#2a2a2e`,defaultLinkColor:`#5a5a63`,edgeLabelBackground:`#0b0b0d`,titleColor:`#a1a1a9`,noteBkgColor:`#c88a1e`,noteTextColor:`#ffffff`,noteBorderColor:`#c88a1e`,activationBkgColor:`#2c2c30`,activationBorderColor:`#3a3a40`};function Bb(e,t){e.initialize({startOnLoad:!1,securityLevel:`strict`,theme:t===`dark`?`dark`:`default`,themeVariables:t===`dark`?zb:void 0,suppressErrorRendering:!0})}var Vb=null;function Hb(){return Vb||=n(()=>import(`./panzoom.es-BcYSRiVh.js`).then(e=>e.default),[],import.meta.url).catch(e=>{throw Vb=null,e}),Vb}var Ub=[{open:`[[`,close:`]]`},{open:`[(`,close:`)]`},{open:`((`,close:`))`},{open:`{{`,close:`}}`},{open:`[/`,close:`/]`},{open:`[\\`,close:`\\]`},{open:`[/`,close:`\\]`},{open:`[\\`,close:`/]`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`{`,close:`}`},{open:`>`,close:`]`}];function Wb(e,t,n){for(let{open:r,close:i}of Ub)for(let a of[!0,!1]){let o=a?`"${n}"`:n,s=`${t}${r}${o}${i}`,c=e.indexOf(s);if(c<0)continue;let l=c===0?``:e.charAt(c-1);if(l&&/\w/.test(l))continue;let u=c+t.length+r.length;return{start:u,end:u+o.length,wasQuoted:a,open:r,close:i}}return null}function Gb(e){return/[[\](){}|;#<>&\n"]/.test(e)}function Kb(e,t,n){let r=t.wasQuoted||t.open!==``&&Gb(n),i=n.replace(/"/g,`#quot;`),a=r?`"${i}"`:n;return e.slice(0,t.start)+a+e.slice(t.end)}function qb(e){let t=/flowchart-(.+)-\d+$/.exec(e);return t?t[1]:null}function Jb(e){let t=/^L_(.+)_(\d+)$/.exec(e);if(!t)return null;let n=t[1],r=Number(t[2]),i=n.lastIndexOf(`_`);return i<0?null:{from:n.slice(0,i),to:n.slice(i+1),index:r}}function Yb(e,t,n,r,i){let a=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),o=a(t),s=a(n),c=a(i),l=`(?:-->|==>|-\\.->|~~~>|<--)`,u=`(?:--|==|-\\.|~~~)`,d=[{re:RegExp(`${o}\\s*${u}[->=]*\\s*\\|\\s*("${c}")\\s*\\|\\s*${s}`,`gd`),quoted:!0,groupIndex:1},{re:RegExp(`${o}\\s*${u}[->=]*\\s*\\|\\s*(${c})\\s*\\|\\s*${s}`,`gd`),quoted:!1,groupIndex:1},{re:RegExp(`${o}\\s*${u}\\s*("${c}")\\s*${l}\\s*${s}`,`gd`),quoted:!0,groupIndex:1},{re:RegExp(`${o}\\s*${u}\\s*(${c})\\s*${l}\\s*${s}`,`gd`),quoted:!1,groupIndex:1}],f=[];for(let{re:t,quoted:n,groupIndex:r}of d){t.lastIndex=0;let i=t.exec(e);for(;i;){let a=i.indices?.[r];a&&f.push({start:a[0],end:a[1],wasQuoted:n}),i=t.exec(e)}}f.sort((e,t)=>e.start-t.start);let p=f[r];return p?{start:p.start,end:p.end,wasQuoted:p.wasQuoted,open:``,close:``}:null}function Xb(e,t,n=0){let r=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),i=RegExp(`:[ \\t]+(${r})[ \\t]*(?=\\r?\\n|$)`,`gmd`),a=0,o=i.exec(e);for(;o;){if(a===n){let e=o.indices?.[1];if(!e)return null;let[t,n]=e;return{start:t,end:n,wasQuoted:!1,open:``,close:``}}a+=1,o=i.exec(e)}return null}function Zb(e,t,n,r=0){let i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),a=n.replace(/"/g,`#quot;`),o=(t,n)=>{let i=0;t.lastIndex=0;let a=t.exec(e);for(;a;){if(i===r)return{range:[a.index,a.index+a[0].length],replacement:n(a)};i+=1,a=t.exec(e)}return null},s=`(?:participant|actor)`,c=o(RegExp(`^([ \\t]*${s}[ \\t]+\\S+[ \\t]+as[ \\t]+")${i}(")`,`gm`),e=>`${e[1]}${a}${e[2]}`);if(c)return e.slice(0,c.range[0])+c.replacement+e.slice(c.range[1]);let l=o(RegExp(`^([ \\t]*${s}[ \\t]+\\S+[ \\t]+as[ \\t]+)${i}([ \\t]*)$`,`gm`),e=>{let t=/[\s"#|;<>&]/.test(n)?`"${a}"`:n;return`${e[1]}${t}${e[2]}`});if(l)return e.slice(0,l.range[0])+l.replacement+e.slice(l.range[1]);let u=o(RegExp(`^([ \\t]*${s}[ \\t]+)${i}([ \\t]*)$`,`gm`),e=>{let r=/[^\w]/.test(n)?`"${a}"`:n;return`${e[1]}${t}${e[2]} as ${r}`});return u?e.slice(0,u.range[0])+u.replacement+e.slice(u.range[1]):null}function Qb(e,t){let n=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),r=RegExp(`(?<![\\w])${n}(?![\\w[({<>@:])`,`gd`).exec(e);if(!r)return null;let i=r.indices?.[0];return i?{start:i[0],end:i[1],wasQuoted:!1,open:``,close:``}:null}function $b(e,t,n){let r=n.replace(/"/g,`#quot;`),i=Gb(n)?`["${r}"]`:`[${n}]`;return e.slice(0,t.end)+i+e.slice(t.end)}function ex(e,t,n=0){let r=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),i=RegExp(`^[ \\t]*Note[ \\t]+(?:over|left of|right of)[ \\t]+[^:\\n]+:[ \\t]+(${r})[ \\t]*(?=\\r?\\n|$)`,`gmd`),a=0,o=i.exec(e);for(;o;){if(a===n){let e=o.indices?.[1];return e?{start:e[0],end:e[1],wasQuoted:!1,open:``,close:``}:null}a+=1,o=i.exec(e)}return null}function tx(e,t,n=0){let r=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),i=RegExp(`^([ \\t]*(?:alt|else|opt|loop|par|par_and|critical|option|and|break|rect)[ \\t]+)(${r})[ \\t]*(?=\\r?\\n|$)`,`gmd`),a=0,o=i.exec(e);for(;o;){if(a===n){let e=o.indices?.[2];return e?{start:e[0],end:e[1],wasQuoted:!1,open:``,close:``}:null}a+=1,o=i.exec(e)}return null}function nx(e){let t=(0,$.c)(37),{chart:n,className:r}=e,i=n===void 0?``:n,a=(0,Q.useId)(),s;t[0]===a?s=t[1]:(s=a.replaceAll(`:`,`_`),t[0]=a,t[1]=s);let c=`mermaid-${s}`,l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l={status:`idle`,svg:``,error:``},t[2]=l):l=t[2];let[u,d]=(0,Q.useState)(l),[f,p]=(0,Q.useState)(ax),m,h;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(m=()=>{if(typeof document>`u`)return;let e=document.documentElement,t=()=>{let e=Rb();p(t=>t===e?t:e)};t();let n=new MutationObserver(t);return n.observe(e,{attributes:!0,attributeFilter:[`class`]}),()=>n.disconnect()},h=[],t[3]=m,t[4]=h):(m=t[3],h=t[4]),(0,Q.useEffect)(m,h);let g=Py(),_=g?.editor.isEditable??!1,v=(0,Q.useRef)(null),y=(0,Q.useRef)(g),b,x;t[5]===g?(b=t[6],x=t[7]):(b=()=>{y.current=g},x=[g],t[5]=g,t[6]=b,t[7]=x),(0,Q.useLayoutEffect)(b,x);let S=(0,Q.useRef)(null),C,w;t[8]!==i||t[9]!==f||t[10]!==c?(C=()=>{if(!i.trim()){d({status:`idle`,svg:``,error:``});return}let e=!1;return d(ix),Hb().catch(rx),Lb().then(async t=>{Bb(t,f);let n=await t.render(c,i);e||d({status:`ready`,svg:n.svg,error:``})}).catch(t=>{e||d({status:`error`,svg:``,error:t instanceof Error?t.message:String(t)})}),()=>{e=!0}},w=[i,c,f],t[8]=i,t[9]=f,t[10]=c,t[11]=C,t[12]=w):(C=t[11],w=t[12]),(0,Q.useEffect)(C,w);let T,E;if(t[13]!==_||t[14]!==u.status?(T=()=>{if(u.status!==`ready`||!_)return;let e=v.current;if(!e)return;for(let t of e.querySelectorAll(`.nodeLabel, .edgeLabel`))t.style.cursor=`text`;let t=function(e,t){let n=y.current;if(!n)return;let r=n.getPos();if(typeof r!=`number`)return;let i=n.editor.state.doc.nodeAt(r);if(!i||i.type.name!==`jsxComponent`)return;let a=i.attrs.props??{},o=a.chart??``,s=null;if(e.applyRewrite)s=e.applyRewrite(o,t);else if(e.locate){let n=e.locate(o);n&&(s=Kb(o,n,t))}if(s!==null)try{n.editor.view.dispatch(n.editor.state.tr.setNodeMarkup(r,null,{...i.attrs,props:{...a,chart:s},sourceDirty:!0}))}catch(e){let t=e;if(!(t instanceof RangeError))throw t}},n=function(e,n){let{labelSpan:r,outlineShape:i}=e,a=y.current;if(!a)return!1;let o=a.getPos();if(typeof o!=`number`)return!1;let s=a.editor.state.doc.nodeAt(o);if(!s||s.type.name!==`jsxComponent`)return!1;let c=s.attrs.props?.chart??``,l=e.sourceLabel??(r.textContent??``).trim();if(!l)return!1;let u=e.applyRewrite?.(c,l);if(!e.locate?.(c)&&u==null)return!1;n.preventDefault(),n.stopPropagation();let d=r.querySelector(`p`)??r,f=window.getComputedStyle(d),p=d instanceof SVGGraphicsElement?d.querySelector(`tspan`)??d:d,m=window.getComputedStyle(p),h=(()=>{if(!(d instanceof SVGGraphicsElement))return null;let e=m.fill;return e&&e!==`none`?e:null})()??f.color,g=i,_=g?.getAttribute(`stroke`)??null,v=g?.getAttribute(`stroke-width`)??null,b=document.createElement(`input`);b.type=`text`,b.value=l,b.setAttribute(`data-mermaid-editing`,`true`),b.setAttribute(`spellcheck`,`true`),Object.assign(b.style,{position:`fixed`,margin:`0`,padding:`0`,fontFamily:m.fontFamily,fontSize:m.fontSize,fontWeight:m.fontWeight,fontStyle:m.fontStyle,fontFeatureSettings:m.fontFeatureSettings,letterSpacing:m.letterSpacing,color:h,textAlign:`center`,border:`none`,outline:`none`,boxShadow:`none`,boxSizing:`border-box`,colorScheme:`light`,appearance:`none`,WebkitAppearance:`none`,caretColor:h,zIndex:`2147483647`}),b.style.setProperty(`background`,`transparent`,`important`),b.style.setProperty(`background-color`,`transparent`,`important`),g&&(g.setAttribute(`stroke`,`var(--ring, #3b82f6)`),g.setAttribute(`stroke-width`,`2`));let x=d.style.visibility;d.style.visibility=`hidden`,document.body.appendChild(b);let C=e.positionAnchor??d,w=Math.max(l.length+4,8),T=parseFloat(m.fontSize)||16,E=function(){if(C instanceof SVGGraphicsElement)try{let e=C.getBBox();if(e.height>0)return C.getBoundingClientRect().height/e.height}catch{}let e=(d instanceof SVGElement?d.ownerSVGElement:null)??(d instanceof Element?d.closest(`svg`):null);if(e instanceof SVGSVGElement){let t=e.viewBox.baseVal;if(t.width>0&&t.height>0){let n=e.getBoundingClientRect();return Math.min(n.width/t.width,n.height/t.height)}}return 1},D=function(){let e=C.getBoundingClientRect();b.style.top=`${e.top}px`,b.style.width=`${e.width}px`,b.style.minWidth=`${w}ch`,b.style.height=`${e.height}px`,b.style.lineHeight=`${e.height}px`;let t=E();b.style.fontSize=`${T*t}px`,b.style.left=`${e.left}px`;let n=b.getBoundingClientRect(),r=e.left+e.width/2-n.width/2;b.style.left=`${r}px`};D();let O=requestAnimationFrame(()=>{b.focus(),b.select()});window.addEventListener(`scroll`,D,!0),window.addEventListener(`resize`,D);let k=!1,A=function(){cancelAnimationFrame(O),window.removeEventListener(`scroll`,D,!0),window.removeEventListener(`resize`,D),b.removeEventListener(`keydown`,N),b.removeEventListener(`blur`,P),b.remove(),d.style.visibility=x,g&&(_===null?g.removeAttribute(`stroke`):g.setAttribute(`stroke`,_),v===null?g.removeAttribute(`stroke-width`):g.setAttribute(`stroke-width`,v)),S.current=null},j=function(){if(k)return;k=!0;let n=b.value.trim();A(),!(!n||n===l)&&t(e,n)},M=function(){k||(k=!0,A())};function N(e){if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),M();return}if(e.key===`Enter`&&!e.shiftKey){e.preventDefault(),e.stopPropagation(),j();return}e.stopPropagation()}function P(){j()}return b.addEventListener(`keydown`,N),b.addEventListener(`blur`,P),S.current={cleanup:()=>{k||M()}},!0},r=function(e){if(S.current)return;let t=e.target;if(!(t instanceof Element))return;let r=t.closest(`.nodeLabel`);if(r){let i=t.closest(`.node[id]`);if(!i)return;let a=qb(i.id);if(!a)return;let o=a,s=(r.textContent??``).trim();if(!s)return;let c=function(e){let t=Wb(e,o,s);if(t)return{match:t,splice:Kb};if(s!==o)return null;let n=Qb(e,o);return n?{match:n,splice:$b}:null};n({labelSpan:r,outlineShape:i.querySelector(`rect, polygon, path, circle, ellipse`),locate:e=>c(e)?.match??null,applyRewrite:(e,t)=>{let n=c(e);return n?n.splice(e,n.match,t):null}},e);return}let i=t.closest(`text.actor`);if(i){let t=(i.textContent??``).trim();if(!t)return;let r=i.ownerSVGElement,a=0;if(r){let e=Array.from(r.querySelectorAll(`text.actor`)),n=0;for(let r of e){if(r===i){a=Math.floor(n/2);break}(r.textContent??``).trim()===t&&(n+=1)}}let o=i.parentElement?.querySelector(`rect.actor`);n({labelSpan:i,outlineShape:null,positionAnchor:o??void 0,applyRewrite:(e,n)=>Zb(e,t,n,a)},e);return}let a=t.closest(`text.messageText`);if(a){let t=(a.textContent??``).trim();if(!t)return;let r=a.ownerSVGElement,i=0;if(r){let e=Array.from(r.querySelectorAll(`text.messageText`));for(let n of e){if(n===a)break;(n.textContent??``).trim()===t&&(i+=1)}}n({labelSpan:a,outlineShape:null,locate:e=>Xb(e,t,i)},e);return}let o=t.closest(`.edgeLabel`);if(o){let t=o.closest(`g[data-id^="L_"]`)?.getAttribute(`data-id`);if(!t)return;let r=Jb(t);if(!r)return;let i=(o.textContent??``).trim();if(!i)return;n({labelSpan:o,outlineShape:null,locate:e=>Yb(e,r.from,r.to,r.index,i)},e);return}let s=t.closest(`rect.note`),c=t.closest(`text.noteText`)??s?.parentElement?.querySelector(`text.noteText`)??null;if(c){let t=(c.textContent??``).trim();if(!t)return;let r=c.ownerSVGElement,i=0;if(r){let e=Array.from(r.querySelectorAll(`text.noteText`));for(let n of e){if(n===c)break;(n.textContent??``).trim()===t&&(i+=1)}}n({labelSpan:c,outlineShape:null,positionAnchor:c.parentElement?.querySelector(`rect.note`)??(c.previousElementSibling instanceof SVGGraphicsElement?c.previousElementSibling:null)??void 0,locate:e=>ex(e,t,i)},e);return}let l=t.closest(`text.loopText`);if(l){let t=(l.textContent??``).trim(),r=t.startsWith(`[`)&&t.endsWith(`]`)?t.slice(1,-1).trim():t;if(!r)return;let i=l.ownerSVGElement,a=0;if(i){let e=Array.from(i.querySelectorAll(`text.loopText`));for(let t of e){if(t===l)break;let e=(t.textContent??``).trim();(e.startsWith(`[`)&&e.endsWith(`]`)?e.slice(1,-1).trim():e)===r&&(a+=1)}}n({labelSpan:l,outlineShape:null,sourceLabel:r,locate:e=>tx(e,r,a)},e)}},i=function(e){let t=e.target;t instanceof Element&&t.closest(`.nodeLabel, .edgeLabel, text.messageText, text.actor, text.noteText, text.loopText, rect.note`)&&e.stopPropagation()},a=function(e){let t=e.target;t instanceof Element&&t.closest(`.nodeLabel, .edgeLabel, text.messageText, text.actor, text.noteText, text.loopText, rect.note`)&&(e.stopPropagation(),r(e))};for(let t of e.querySelectorAll(`text.actor, text.messageText, text.noteText, text.loopText, rect.note`))t.style.pointerEvents=`all`,t.style.cursor=`text`;return e.addEventListener(`mousedown`,i,{capture:!0}),e.addEventListener(`click`,a,{capture:!0}),()=>{e.removeEventListener(`mousedown`,i,{capture:!0}),e.removeEventListener(`click`,a,{capture:!0}),S.current?.cleanup(),S.current=null}},E=[u.status,_],t[13]=_,t[14]=u.status,t[15]=T,t[16]=E):(T=t[15],E=t[16]),(0,Q.useEffect)(T,E),!i.trim()){let e;return t[17]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(`div`,{className:`mermaid mermaid-placeholder`,"data-component-type":`mermaid`,children:(0,Z.jsx)(`span`,{className:`mermaid-empty`,children:` `})}),t[17]=e):e=t[17],e}if(u.status===`error`){let e;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(wr,{className:`size-3.5 shrink-0 mt-0.5`,"aria-hidden":!0}),t[18]=e):e=t[18];let n;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`div`,{className:`font-medium`,children:(0,Z.jsx)(o,{id:`OLBz-_`})}),t[19]=n):n=t[19];let r;t[20]===u.error?r=t[21]:(r=(0,Z.jsxs)(`div`,{role:`alert`,className:`mermaid-error-message mb-2 flex items-start gap-2 rounded border border-destructive/30 bg-destructive/5 px-3 py-2 text-[12px] text-destructive`,children:[e,(0,Z.jsxs)(`div`,{className:`min-w-0`,children:[n,(0,Z.jsx)(`pre`,{className:`mt-1 whitespace-pre-wrap break-words font-mono text-[11px] opacity-90`,children:u.error})]})]}),t[20]=u.error,t[21]=r);let a;t[22]===i?a=t[23]:(a=(0,Z.jsx)(`pre`,{className:`mermaid-error-source`,children:i}),t[22]=i,t[23]=a);let s;return t[24]!==u.error||t[25]!==r||t[26]!==a?(s=(0,Z.jsxs)(`div`,{className:`mermaid mermaid-error`,"data-component-type":`mermaid`,title:u.error,children:[r,a]}),t[24]=u.error,t[25]=r,t[26]=a,t[27]=s):s=t[27],s}if(u.status===`ready`){let e;t[28]===r?e=t[29]:(e=Qt(`mermaid mermaid-ready flex h-full min-h-64 w-full overflow-hidden rounded-md border border-border/60 bg-background`,r),t[28]=r,t[29]=e);let n;t[30]===u.svg?n=t[31]:(n=(0,Z.jsx)(ox,{svg:u.svg}),t[30]=u.svg,t[31]=n);let i;return t[32]!==e||t[33]!==n?(i=(0,Z.jsx)(`div`,{ref:v,className:e,"data-component-type":`mermaid`,children:n}),t[32]=e,t[33]=n,t[34]=i):i=t[34],i}let D=`mermaid mermaid-${u.status}`,O;return t[35]===D?O=t[36]:(O=(0,Z.jsx)(`div`,{ref:v,className:D,"data-component-type":`mermaid`}),t[35]=D,t[36]=O),O}function rx(){}function ix(e){return{...e,status:`rendering`}}function ax(){return Rb()}function ox(e){let t=(0,$.c)(73),{svg:n}=e,{_:r}=s(),i=(0,Q.useRef)(null),a=(0,Q.useRef)(null),o;t[0]===r?o=t[1]:(o=r({id:`AWOSPo`}),t[0]=r,t[1]=o);let c;t[2]===r?c=t[3]:(c=r({id:`FjkaiT`}),t[2]=r,t[3]=c);let l;t[4]===r?l=t[5]:(l=r({id:`0BfhAj`}),t[4]=r,t[5]=l);let u;t[6]===r?u=t[7]:(u=r({id:`PrhzDE`}),t[6]=r,t[7]=u);let d;t[8]===r?d=t[9]:(d=r({id:`NcurBF`}),t[8]=r,t[9]=d);let f;t[10]===r?f=t[11]:(f=r({id:`UhpfxY`}),t[10]=r,t[11]=f);let p;t[12]===r?p=t[13]:(p=r({id:`glzsS_`}),t[12]=r,t[13]=p);let m;t[14]===r?m=t[15]:(m=r({id:`toyw51`}),t[14]=r,t[15]=m);let h;t[16]!==o||t[17]!==c||t[18]!==l||t[19]!==u||t[20]!==d||t[21]!==f||t[22]!==p||t[23]!==m?(h={zoomIn:o,zoomOut:c,reset:l,panUp:u,panDown:d,panLeft:f,panRight:p,toolbar:m},t[16]=o,t[17]=c,t[18]=l,t[19]=u,t[20]=d,t[21]=f,t[22]=p,t[23]=m,t[24]=h):h=t[24];let g=h,_,v;t[25]===n?(_=t[26],v=t[27]):(_=()=>{if(!n.trim())return;let e=i.current?.querySelector(`svg`);if(e?.namespaceURI!==`http://www.w3.org/2000/svg`)return;let t=!1,r=null;return Hb().then(n=>{t||(r=n(e,{canvas:!0,cursor:`default`,maxScale:Mb,minScale:jb,noBind:!0,step:Nb,touchAction:`auto`}),a.current=r)}).catch(e=>{console.warn(`[Mermaid] panzoom setup failed:`,e),a.current===r&&(a.current=null)}),()=>{t=!0,a.current===r&&(a.current=null),r?.destroy()}},v=[n],t[25]=n,t[26]=_,t[27]=v),(0,Q.useEffect)(_,v);let y;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(y=(e,t)=>{a.current?.pan(e,t,{relative:!0})},t[28]=y):y=t[28];let b=y,x;t[29]===n?x=t[30]:(x=(0,Z.jsx)(`div`,{ref:i,className:`ok-mermaid-svg flex min-h-0 flex-1 items-center justify-center [&>svg]:size-full [&>svg]:select-none`,dangerouslySetInnerHTML:{__html:n}}),t[29]=n,t[30]=x);let S;t[31]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,Z.jsx)(`span`,{"aria-hidden":`true`}),t[31]=S):S=t[31];let C,w;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(C=()=>b(0,-Pb),w=(0,Z.jsx)(Ua,{className:`size-4`,"aria-hidden":`true`}),t[32]=C,t[33]=w):(C=t[32],w=t[33]);let T;t[34]===g.panUp?T=t[35]:(T=(0,Z.jsx)(nn,{...Fb,title:g.panUp,"aria-label":g.panUp,onClick:C,children:w}),t[34]=g.panUp,t[35]=T);let E,D;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>a.current?.zoomIn(),D=(0,Z.jsx)(Jo,{className:`size-4`,"aria-hidden":`true`}),t[36]=E,t[37]=D):(E=t[36],D=t[37]);let O;t[38]===g.zoomIn?O=t[39]:(O=(0,Z.jsx)(nn,{...Fb,title:g.zoomIn,"aria-label":g.zoomIn,onClick:E,children:D}),t[38]=g.zoomIn,t[39]=O);let k,A;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(k=()=>b(-Pb,0),A=(0,Z.jsx)(Va,{className:`size-4`,"aria-hidden":`true`}),t[40]=k,t[41]=A):(k=t[40],A=t[41]);let j;t[42]===g.panLeft?j=t[43]:(j=(0,Z.jsx)(nn,{...Fb,title:g.panLeft,"aria-label":g.panLeft,onClick:k,children:A}),t[42]=g.panLeft,t[43]=j);let M,N;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(M=()=>a.current?.reset(),N=(0,Z.jsx)(Po,{className:`size-4`,"aria-hidden":`true`}),t[44]=M,t[45]=N):(M=t[44],N=t[45]);let P;t[46]===g.reset?P=t[47]:(P=(0,Z.jsx)(nn,{...Fb,title:g.reset,"aria-label":g.reset,onClick:M,children:N}),t[46]=g.reset,t[47]=P);let F,I;t[48]===Symbol.for(`react.memo_cache_sentinel`)?(F=()=>b(Pb,0),I=(0,Z.jsx)(Ha,{className:`size-4`,"aria-hidden":`true`}),t[48]=F,t[49]=I):(F=t[48],I=t[49]);let L;t[50]===g.panRight?L=t[51]:(L=(0,Z.jsx)(nn,{...Fb,title:g.panRight,"aria-label":g.panRight,onClick:F,children:I}),t[50]=g.panRight,t[51]=L);let ee;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(ee=(0,Z.jsx)(`span`,{"aria-hidden":`true`}),t[52]=ee):ee=t[52];let R,z;t[53]===Symbol.for(`react.memo_cache_sentinel`)?(R=()=>b(0,Pb),z=(0,Z.jsx)(Ba,{className:`size-4`,"aria-hidden":`true`}),t[53]=R,t[54]=z):(R=t[53],z=t[54]);let B;t[55]===g.panDown?B=t[56]:(B=(0,Z.jsx)(nn,{...Fb,title:g.panDown,"aria-label":g.panDown,onClick:R,children:z}),t[55]=g.panDown,t[56]=B);let V,H;t[57]===Symbol.for(`react.memo_cache_sentinel`)?(V=()=>a.current?.zoomOut(),H=(0,Z.jsx)(Yo,{className:`size-4`,"aria-hidden":`true`}),t[57]=V,t[58]=H):(V=t[57],H=t[58]);let U;t[59]===g.zoomOut?U=t[60]:(U=(0,Z.jsx)(nn,{...Fb,title:g.zoomOut,"aria-label":g.zoomOut,onClick:V,children:H}),t[59]=g.zoomOut,t[60]=U);let W;t[61]!==g.toolbar||t[62]!==T||t[63]!==O||t[64]!==j||t[65]!==P||t[66]!==L||t[67]!==B||t[68]!==U?(W=(0,Z.jsxs)(`div`,{className:`absolute right-3 bottom-3 grid grid-cols-3 gap-1`,"data-testid":`mermaid-actions`,role:`toolbar`,"aria-label":g.toolbar,children:[S,T,O,j,P,L,ee,B,U]}),t[61]=g.toolbar,t[62]=T,t[63]=O,t[64]=j,t[65]=P,t[66]=L,t[67]=B,t[68]=U,t[69]=W):W=t[69];let te;return t[70]!==x||t[71]!==W?(te=(0,Z.jsxs)(`div`,{className:`relative flex min-h-0 flex-1 overflow-hidden bg-muted/20`,contentEditable:!1,children:[x,W]}),t[70]=x,t[71]=W,t[72]=te):te=t[72],te}var sx=null;function cx(){return sx||=new St({extensions:ze}),sx}function lx(e,t){if(e.type===`mdxJsxFlowElement`){let n=e;if(n.name===`MirrorSource`){for(let e of n.attributes??[])if(e.type===`mdxJsxAttribute`&&e.name===`id`&&typeof e.value==`string`&&e.value===t)return n}}let n=e.children;if(Array.isArray(n))for(let e of n){let n=lx(e,t);if(n)return n}return null}function ux(e){return qe({type:`root`,children:e.children??[]})}var dx=new Map,fx=30,px=150,mx=1e4;function hx(e,t){let n=`${e}|${t}`,r=dx.get(n);if(r)return r.refcount+=1,r;let i=new tr,a=new Un({url:e,name:t,document:i}),o=new Set,s={provider:a,ySource:i.getText(`source`),refcount:1,synced:!1,subscribers:o};return a.on(`synced`,()=>{s.synced=!0;for(let e of o)e.onSynced()}),s.ySource.observe(()=>{for(let e of o)e.onUpdate()}),dx.set(n,s),dx.size>fx&&console.warn(`[Mirror] provider pool exceeded ${fx} entries (current=${dx.size}). Many Mirrors pointing at distinct source docs — investigate if this is a runaway pattern.`),s}function gx(e,t){let n=`${e}|${t}`,r=dx.get(n);if(r&&(--r.refcount,r.refcount<=0)){try{r.provider.destroy()}catch(e){console.warn(`[Mirror] provider.destroy() failed during release`,{src:t,err:e})}dx.delete(n)}}function _x(e,t){let n=(0,$.c)(8),{collabUrl:r}=fp(),i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={kind:`loading`},n[0]=i):i=n[0];let[a,o]=(0,Q.useState)(i),s=(0,Q.useRef)(t),c=(0,Q.useRef)(null),l,u;n[1]!==r||n[2]!==e?(l=()=>{if(!e){o({kind:`empty-props`});return}if(!r){o({kind:`loading`});return}let t=hx(r,e),n=()=>{let n=s.current;if(!n){o({kind:`empty-props`});return}let r=t.ySource.toString();if(!r){o(t.synced?{kind:`source-removed`}:{kind:`loading`});return}let i;try{i=cx().parseToMdast(r)}catch(t){console.warn(`[Mirror] parseToMdast failed`,{src:e,anchor:n,err:t}),o({kind:`source-removed`});return}let a=lx(i,n);if(!a){o({kind:`anchor-not-found`});return}let c;try{c=ux(a)}catch(t){console.warn(`[Mirror] renderMirrorSubtree failed`,{src:e,anchor:n,err:t}),o({kind:`anchor-not-found`});return}o({kind:`ready`,html:c})},i=null,a={onUpdate:()=>{i&&clearTimeout(i),i=setTimeout(()=>{i=null,n()},px)},onSynced:()=>{i&&=(clearTimeout(i),null),n()}};t.subscribers.add(a),c.current=n;let l=setTimeout(()=>{t.synced||o({kind:`source-removed`})},mx);return n(),()=>{clearTimeout(l),i&&clearTimeout(i),t.subscribers.delete(a),c.current=null,gx(r,e)}},u=[r,e],n[1]=r,n[2]=e,n[3]=l,n[4]=u):(l=n[3],u=n[4]),(0,Q.useEffect)(l,u);let d,f;return n[5]===t?(d=n[6],f=n[7]):(d=()=>{s.current=t,c.current?.()},f=[t],n[5]=t,n[6]=d,n[7]=f),(0,Q.useEffect)(d,f),a}function vx(e){let t=(0,$.c)(8),n=`ok-mirror-state flex items-start gap-2 rounded-md border border-dashed px-3 py-2 text-sm ${e.tone===`error`?`border-destructive/40 text-destructive`:`border-border text-muted-foreground`}`,r;t[0]===e.tone?r=t[1]:(r=e.tone===`error`?(0,Z.jsx)(bo,{className:`mt-0.5 size-4 shrink-0`,"aria-hidden":`true`}):(0,Z.jsx)(So,{className:`mt-0.5 size-4 shrink-0`,"aria-hidden":`true`}),t[0]=e.tone,t[1]=r);let i;t[2]===e.children?i=t[3]:(i=(0,Z.jsx)(`div`,{className:`min-w-0 flex-1`,children:e.children}),t[2]=e.children,t[3]=i);let a;return t[4]!==n||t[5]!==r||t[6]!==i?(a=(0,Z.jsxs)(`div`,{className:n,children:[r,i]}),t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function yx(e){let t=(0,$.c)(30),n=e.src??``,r=e.anchor??``,i=_x(n,r);if(i.kind===`empty-props`){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(vx,{tone:`placeholder`,children:(0,Z.jsx)(o,{id:`3SDfZl`,components:{0:(0,Z.jsx)(`span`,{className:`font-medium`}),1:(0,Z.jsx)(`code`,{}),2:(0,Z.jsx)(`code`,{}),3:(0,Z.jsx)(`code`,{})}})}),t[0]=e):e=t[0],e}if(i.kind===`loading`){let e=n&&r?`${n}#${r}`:``,i;t[1]===e?i=t[2]:(i={mirrorRef:e},t[1]=e,t[2]=i);let a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a={0:(0,Z.jsx)(`code`,{})},t[3]=a):a=t[3];let s;return t[4]===i?s=t[5]:(s=(0,Z.jsx)(vx,{tone:`placeholder`,children:(0,Z.jsx)(o,{id:`92rbk2`,values:i,components:a})}),t[4]=i,t[5]=s),s}if(i.kind===`source-removed`){let e;t[6]===n?e=t[7]:(e={src:n},t[6]=n,t[7]=e);let r;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(r={0:(0,Z.jsx)(`span`,{className:`font-medium`}),1:(0,Z.jsx)(`code`,{})},t[8]=r):r=t[8];let i;return t[9]===e?i=t[10]:(i=(0,Z.jsx)(vx,{tone:`error`,children:(0,Z.jsx)(o,{id:`Ud0Pj9`,values:e,components:r})}),t[9]=e,t[10]=i),i}if(i.kind===`anchor-not-found`){let e=`<MirrorSource id="${r}">`,i;t[11]!==e||t[12]!==n?(i={mirrorSourceTag:e,src:n},t[11]=e,t[12]=n,t[13]=i):i=t[13];let a;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(a={0:(0,Z.jsx)(`span`,{className:`font-medium`}),1:(0,Z.jsx)(`code`,{}),2:(0,Z.jsx)(`code`,{})},t[14]=a):a=t[14];let s;return t[15]===i?s=t[16]:(s=(0,Z.jsx)(vx,{tone:`error`,children:(0,Z.jsx)(o,{id:`mqSwZH`,values:i,components:a})}),t[15]=i,t[16]=s),s}let a;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(mn,{className:`size-3`,"aria-hidden":`true`}),t[17]=a):a=t[17];let s;t[18]===n?s=t[19]:(s={src:n},t[18]=n,t[19]=s);let c;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(c={0:(0,Z.jsx)(`code`,{className:`font-mono`})},t[20]=c):c=t[20];let l;t[21]===s?l=t[22]:(l=(0,Z.jsxs)(`div`,{className:`ok-mirror-badge pointer-events-none absolute -top-2.5 left-2 flex items-center gap-1 rounded-md bg-background px-1.5 text-xs text-muted-foreground opacity-0 transition-opacity [.jsx-component-wrapper:hover_&]:opacity-100 [.jsx-component-wrapper[data-selected="true"]_&]:opacity-100`,"aria-hidden":`true`,children:[a,(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`wQp1V3`,values:s,components:c})})]}),t[21]=s,t[22]=l);let u;t[23]===i.html?u=t[24]:(u=(0,Z.jsx)(`div`,{dangerouslySetInnerHTML:{__html:i.html}}),t[23]=i.html,t[24]=u);let d;return t[25]!==r||t[26]!==n||t[27]!==l||t[28]!==u?(d=(0,Z.jsxs)(`div`,{className:`ok-mirror-resolved relative -mx-3 prose-no-margin rounded-md border border-dashed border-transparent px-3 py-2 transition-colors [.jsx-component-wrapper:hover_&]:border-border/40 [.jsx-component-wrapper[data-selected="true"]_&]:border-border/40`,"data-mirror-src":n,"data-mirror-anchor":r,children:[l,u]}),t[25]=r,t[26]=n,t[27]=l,t[28]=u,t[29]=d):d=t[29],d}function bx(e){let t=(0,$.c)(15),{_:n}=s(),r=e.id??``,i;t[0]!==n||t[1]!==r?(i=r||n({id:`12F9WL`}),t[0]=n,t[1]=r,t[2]=i):i=t[2];let a=i,c;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Z.jsx)(hn,{className:`size-3`,"aria-hidden":`true`}),t[3]=c):c=t[3];let l;t[4]===a?l=t[5]:(l={label:a},t[4]=a,t[5]=l);let u;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u={0:(0,Z.jsx)(`code`,{className:`font-mono`})},t[6]=u):u=t[6];let d;t[7]===l?d=t[8]:(d=(0,Z.jsxs)(`div`,{className:`ok-mirror-source-badge pointer-events-none absolute -top-2.5 left-2 flex items-center gap-1 rounded-md bg-background px-1.5 text-xs text-muted-foreground opacity-0 transition-opacity [.jsx-component-wrapper:hover_&]:opacity-100 [.jsx-component-wrapper[data-selected="true"]_&]:opacity-100`,children:[c,(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`Zon_qG`,values:l,components:u})})]}),t[7]=l,t[8]=d);let f;t[9]===e.children?f=t[10]:(f=(0,Z.jsx)(`div`,{children:e.children}),t[9]=e.children,t[10]=f);let p;return t[11]!==r||t[12]!==d||t[13]!==f?(p=(0,Z.jsxs)(`div`,{className:`ok-mirror-source relative -mx-3 rounded-md border border-dashed border-transparent px-3 py-1 transition-colors [.jsx-component-wrapper:hover_&]:border-border/50 [.jsx-component-wrapper[data-selected="true"]_&]:border-border/50`,"data-mirror-source-id":r,children:[d,f]}),t[11]=r,t[12]=d,t[13]=f,t[14]=p):p=t[14],p}var xx=24,Sx=24,Cx=12,wx=.1;function Tx(e,t,n,r){if(n<=0&&(e===`fit-width`||e===`two-odd`||e===`two-even`)||r<=0&&e===`fit-height`)return 1;switch(e){case`fit-width`:return Math.max(wx,(n-xx)/t.naturalWidth);case`fit-height`:return Math.max(wx,(r-Sx)/t.naturalHeight);case`single`:return 1;case`two-odd`:case`two-even`:return Math.max(wx,((n-xx)/2-Cx)/t.naturalWidth)}}var Ex=600,Dx=.5,Ox=3,kx=.25,Ax=null;function jx(){return Ax||(Ax=(async()=>{let e=await n(()=>import(`./pdf-PfDliStv.js`),__vite__mapDeps([24,1]),import.meta.url);if(!e.GlobalWorkerOptions.workerSrc){let t=(await n(async()=>{let{default:e}=await import(`./pdf.worker-rrxcKZlR.js`);return{default:e}},[],import.meta.url)).default;e.GlobalWorkerOptions.workerSrc=t}return e})(),Ax.catch(()=>{Ax=null})),Ax}function Mx(e){return e instanceof Error&&e.name===`RenderingCancelledException`}function Nx(e){let t=(0,$.c)(96),n,r;if(t[0]!==e.anchor||t[1]!==e.fillContainer){let{height:i,viewerFragment:a}=pt(e.anchor);n=i===null?e.fillContainer?`100%`:`${Ex}px`:`${i}px`,r=zx(a),t[0]=e.anchor,t[1]=e.fillContainer,t[2]=n,t[3]=r}else n=t[2],r=t[3];let i=r,a=(0,Q.useRef)(null),c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=[],t[4]=c):c=t[4];let l=(0,Q.useRef)(c),u;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=[],t[5]=u):u=t[5];let d=(0,Q.useRef)(u),f=(0,Q.useRef)(null),p;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(p=[],t[6]=p):p=t[6];let[m,h]=(0,Q.useState)(p),[g,_]=(0,Q.useState)(!0),[v,y]=(0,Q.useState)(null),[b,x]=(0,Q.useState)(i??1),[S,C]=(0,Q.useState)(String(i??1)),[w,T]=(0,Q.useState)(1),[E,D]=(0,Q.useState)(`fit-width`),[O,k]=(0,Q.useState)(!1),[A,j]=(0,Q.useState)(!1),[M,N]=(0,Q.useState)(0),[P,F]=(0,Q.useState)(0),{_:I}=s(),L=m.length,ee,R;t[7]!==I||t[8]!==e.src?(ee=()=>{if(!e.src){_(!1);return}let t=ve(e.src),n=!1,r=null;return _(!0),y(null),(async()=>{try{let e=await(await jx()).getDocument({url:t,isEvalSupported:!1}).promise;if(n){await e.destroy();return}r=e,f.current=e;let i=[];for(let t=1;t<=e.numPages;t++){if(n)return;let r=(await e.getPage(t)).getViewport({scale:1});i.push({pageNumber:t,naturalWidth:r.width,naturalHeight:r.height})}if(n)return;h(i)}catch(e){let t=e;if(n)return;y(t instanceof Error?t.message:I({id:`jRHdCz`})),_(!1)}})(),()=>{n=!0,r&&=(r.destroy(),null),f.current=null}},R=[e.src,I],t[7]=I,t[8]=e.src,t[9]=ee,t[10]=R):(ee=t[9],R=t[10]),(0,Q.useEffect)(ee,R);let z,B;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(z=()=>{let e=a.current;if(!e)return;let t=()=>{N(e.clientWidth),F(e.clientHeight)};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},B=[],t[11]=z,t[12]=B):(z=t[11],B=t[12]),(0,Q.useEffect)(z,B);let V,H;t[13]!==I||t[14]!==P||t[15]!==M||t[16]!==E||t[17]!==m||t[18]!==w?(V=()=>{let e=f.current;if(!e||m.length===0||M===0)return;let t=!1,n=null;return(async()=>{try{let r=window.devicePixelRatio||1;for(let i of m){if(t)return;let a=l.current[i.pageNumber-1];if(!a)continue;let o=Tx(E,i,M,P)*w,s=await e.getPage(i.pageNumber);if(t)return;let c=s.getViewport({scale:o});a.width=Math.floor(c.width*r),a.height=Math.floor(c.height*r),a.style.width=`${c.width}px`,a.style.height=`${c.height}px`;let u=a.getContext(`2d`);u&&(u.setTransform(r,0,0,r,0,0),n=s.render({canvas:a,canvasContext:u,viewport:c}),await n.promise,n=null)}t||_(!1)}catch(e){let n=e;if(t||Mx(n))return;console.warn(`[Pdf] page render failed:`,n),y(n instanceof Error?n.message:I({id:`_TF8ep`})),_(!1)}})(),()=>{if(t=!0,n){try{n.cancel()}catch{}n=null}}},H=[m,E,w,M,P,I],t[13]=I,t[14]=P,t[15]=M,t[16]=E,t[17]=m,t[18]=w,t[19]=V,t[20]=H):(V=t[19],H=t[20]),(0,Q.useEffect)(V,H);let U,W;t[21]!==m||t[22]!==O?(U=()=>{if(!O)return;let e=f.current;if(!e||m.length===0)return;let t=!1,n=null;return(async()=>{try{let r=window.devicePixelRatio||1;for(let i of m){if(t)return;let a=d.current[i.pageNumber-1];if(!a)continue;let o=120/i.naturalWidth,s=await e.getPage(i.pageNumber);if(t)return;let c=s.getViewport({scale:o});a.width=Math.floor(c.width*r),a.height=Math.floor(c.height*r),a.style.width=`${c.width}px`,a.style.height=`${c.height}px`;let l=a.getContext(`2d`);l&&(l.setTransform(r,0,0,r,0,0),n=s.render({canvas:a,canvasContext:l,viewport:c}),await n.promise,n=null)}}catch(e){let t=e;Mx(t)||console.warn(`[Pdf] thumbnail render failed:`,t)}})(),()=>{if(t=!0,n){try{n.cancel()}catch{}n=null}}},W=[O,m],t[21]=m,t[22]=O,t[23]=U,t[24]=W):(U=t[23],W=t[24]),(0,Q.useEffect)(U,W);let te,G;t[25]!==g||t[26]!==i?(te=()=>{if(g||!i)return;let e=a.current,t=l.current[i-1];e&&t&&(e.scrollTop=t.offsetTop-e.offsetTop)},G=[g,i],t[25]=g,t[26]=i,t[27]=te,t[28]=G):(te=t[27],G=t[28]),(0,Q.useEffect)(te,G);let ne,K;t[29]===m?(ne=t[30],K=t[31]):(ne=()=>{let e=a.current;if(!e||m.length===0)return;let t=!1,n=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let n=e.scrollTop,r=1;for(let t of m){let i=l.current[t.pageNumber-1];i&&i.offsetTop-e.offsetTop<=n+40&&(r=t.pageNumber)}x(r),C(String(r))}))};return e.addEventListener(`scroll`,n,{passive:!0}),()=>e.removeEventListener(`scroll`,n)},K=[m],t[29]=m,t[30]=ne,t[31]=K),(0,Q.useEffect)(ne,K);let re,ie;t[32]===A?(re=t[33],ie=t[34]):(re=()=>{if(!A)return;let e=e=>{let t=e.target,n=a.current?.closest(`.ok-pdf`);if(!n||!t||!n.contains(t)){j(!1);return}let r=n.querySelector(`.ok-pdf-layout-menu`);r&&!r.contains(t)&&j(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},ie=[A],t[32]=A,t[33]=re,t[34]=ie),(0,Q.useEffect)(re,ie);let ae;t[35]===L?ae=t[36]:(ae=e=>{let t=Math.max(1,Math.min(L||1,e));x(t),C(String(t));let n=a.current,r=l.current[t-1];n&&r&&n.scrollTo({top:r.offsetTop-n.offsetTop,behavior:`smooth`})},t[35]=L,t[36]=ae);let oe=ae,q;t[37]!==b||t[38]!==oe||t[39]!==S?(q=()=>{let e=Number.parseInt(S,10);if(Number.isNaN(e)){C(String(b));return}oe(e)},t[37]=b,t[38]=oe,t[39]=S,t[40]=q):q=t[40];let se=q,ce;t[41]===Symbol.for(`react.memo_cache_sentinel`)?(ce=()=>T(Lx),t[41]=ce):ce=t[41];let le=ce,ue;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(ue=()=>T(Ix),t[42]=ue):ue=t[42];let de=ue,fe;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(fe=e=>{D(e),j(!1),T(1)},t[43]=fe):fe=t[43];let pe=fe,me;t[44]===n?me=t[45]:(me={height:n},t[44]=n,t[45]=me);let he;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(he=()=>k(Fx),t[46]=he):he=t[46];let ge;t[47]!==I||t[48]!==O?(ge=I(O?{id:`JK-Ave`}:{id:`iEYxO4`}),t[47]=I,t[48]=O,t[49]=ge):ge=t[49];let _e;t[50]===I?_e=t[51]:(_e=I({id:`zo3Dl7`}),t[50]=I,t[51]=_e);let ye;t[52]===Symbol.for(`react.memo_cache_sentinel`)?(ye=(0,Z.jsx)(ko,{size:14,"aria-hidden":`true`}),t[52]=ye):ye=t[52];let be;t[53]!==O||t[54]!==ge||t[55]!==_e?(be=(0,Z.jsx)(`button`,{type:`button`,onClick:he,"aria-label":ge,"aria-pressed":O,className:`ok-pdf-btn`,title:_e,children:ye}),t[53]=O,t[54]=ge,t[55]=_e,t[56]=be):be=t[56];let xe=e.title??`PDF`,Se;t[57]===xe?Se=t[58]:(Se=(0,Z.jsx)(`span`,{className:`ok-pdf-title`,children:xe}),t[57]=xe,t[58]=Se);let Ce;t[59]!==I||t[60]!==A||t[61]!==E||t[62]!==S||t[63]!==se||t[64]!==L||t[65]!==w?(Ce=L>0&&(0,Z.jsxs)(`div`,{className:`ok-pdf-controls`,children:[(0,Z.jsx)(`form`,{className:`ok-pdf-page-form`,onSubmit:e=>{e.preventDefault(),se()},children:(0,Z.jsx)(`input`,{type:`text`,inputMode:`numeric`,pattern:`[0-9]*`,className:`ok-pdf-page-input`,value:S,onChange:e=>C(e.target.value.replace(/[^0-9]/g,``)),onBlur:se,"aria-label":I({id:`xsZhu-`})})}),(0,Z.jsx)(`span`,{className:`ok-pdf-page-of`,children:(0,Z.jsx)(o,{id:`1GhYxC`,values:{totalPages:L}})}),(0,Z.jsx)(`span`,{className:`ok-pdf-divider`,"aria-hidden":`true`}),(0,Z.jsx)(`button`,{type:`button`,onClick:de,disabled:w<=Dx,"aria-label":I({id:`FjkaiT`}),className:`ok-pdf-btn`,title:I({id:`FjkaiT`}),children:(0,Z.jsx)(Yo,{size:14,"aria-hidden":`true`})}),(0,Z.jsxs)(`span`,{className:`ok-pdf-zoom-display`,"aria-live":`polite`,children:[Math.round(w*100),`%`]}),(0,Z.jsx)(`button`,{type:`button`,onClick:le,disabled:w>=Ox,"aria-label":I({id:`AWOSPo`}),className:`ok-pdf-btn`,title:I({id:`AWOSPo`}),children:(0,Z.jsx)(Jo,{size:14,"aria-hidden":`true`})}),(0,Z.jsx)(`span`,{className:`ok-pdf-divider`,"aria-hidden":`true`}),(0,Z.jsxs)(`div`,{className:`ok-pdf-layout-menu`,children:[(0,Z.jsx)(`button`,{type:`button`,onClick:()=>j(Px),"aria-label":I({id:`GQDSBN`}),"aria-haspopup":`menu`,"aria-expanded":A,className:`ok-pdf-btn`,title:I({id:`rdU729`}),children:(0,Z.jsx)(an,{size:14,"aria-hidden":`true`})}),A&&(0,Z.jsxs)(`div`,{role:`menu`,className:`ok-pdf-menu`,children:[(0,Z.jsx)(Rx,{label:I({id:`vIxrEk`}),active:E===`fit-width`,onSelect:()=>pe(`fit-width`)}),(0,Z.jsx)(Rx,{label:I({id:`YlDuro`}),active:E===`fit-height`,onSelect:()=>pe(`fit-height`)}),(0,Z.jsx)(`hr`,{className:`ok-pdf-menu-divider`}),(0,Z.jsx)(Rx,{label:I({id:`BGHHtQ`}),active:E===`single`,onSelect:()=>pe(`single`)}),(0,Z.jsx)(Rx,{label:I({id:`xK291b`}),active:E===`two-odd`,onSelect:()=>pe(`two-odd`)}),(0,Z.jsx)(Rx,{label:I({id:`NSnIUP`}),active:E===`two-even`,onSelect:()=>pe(`two-even`)})]})]})]}),t[59]=I,t[60]=A,t[61]=E,t[62]=S,t[63]=se,t[64]=L,t[65]=w,t[66]=Ce):Ce=t[66];let we;t[67]!==be||t[68]!==Se||t[69]!==Ce?(we=(0,Z.jsxs)(`div`,{className:`ok-pdf-toolbar`,contentEditable:!1,children:[be,Se,Ce]}),t[67]=be,t[68]=Se,t[69]=Ce,t[70]=we):we=t[70];let Te;t[71]!==I||t[72]!==b||t[73]!==oe||t[74]!==m||t[75]!==O?(Te=O&&(0,Z.jsx)(`aside`,{className:`ok-pdf-sidebar`,"aria-label":I({id:`nzaV6Q`}),children:m.map((e,t)=>{let{pageNumber:n}=e;return(0,Z.jsxs)(`button`,{type:`button`,className:`ok-pdf-thumb`,"data-active":b===n||void 0,onClick:()=>oe(n),"aria-label":I({id:`qioCwA`,values:{pageNumber:n}}),children:[(0,Z.jsx)(`canvas`,{ref:e=>{d.current[t]=e},className:`ok-pdf-thumb-canvas`}),(0,Z.jsx)(`span`,{className:`ok-pdf-thumb-num`,children:n})]},n)})}),t[71]=I,t[72]=b,t[73]=oe,t[74]=m,t[75]=O,t[76]=Te):Te=t[76];let Ee;t[77]===g?Ee=t[78]:(Ee=g&&(0,Z.jsx)(`div`,{className:`ok-pdf-loading`,children:(0,Z.jsx)(o,{id:`T-654M`})}),t[77]=g,t[78]=Ee);let De;t[79]===v?De=t[80]:(De=v&&(0,Z.jsx)(`div`,{className:`ok-pdf-error`,children:(0,Z.jsx)(o,{id:`WamGNs`,values:{error:v}})}),t[79]=v,t[80]=De);let Oe;t[81]!==I||t[82]!==L?(Oe=Array.from({length:L},(e,t)=>{let n=t+1;return(0,Z.jsx)(`canvas`,{ref:e=>{l.current[t]=e},className:`ok-pdf-page`,"aria-label":I({id:`XtRoxT`,values:{pageNumber:n}})},n)}),t[81]=I,t[82]=L,t[83]=Oe):Oe=t[83];let ke;t[84]!==E||t[85]!==Ee||t[86]!==De||t[87]!==Oe?(ke=(0,Z.jsxs)(`div`,{className:`ok-pdf-pages`,ref:a,"data-layout":E,children:[Ee,De,Oe]}),t[84]=E,t[85]=Ee,t[86]=De,t[87]=Oe,t[88]=ke):ke=t[88];let Ae;t[89]!==Te||t[90]!==ke?(Ae=(0,Z.jsxs)(`div`,{className:`ok-pdf-body`,children:[Te,ke]}),t[89]=Te,t[90]=ke,t[91]=Ae):Ae=t[91];let je;return t[92]!==me||t[93]!==we||t[94]!==Ae?(je=(0,Z.jsxs)(`div`,{className:`ok-pdf`,style:me,children:[we,Ae]}),t[92]=me,t[93]=we,t[94]=Ae,t[95]=je):je=t[95],je}function Px(e){return!e}function Fx(e){return!e}function Ix(e){return Math.max(Dx,+(e-kx).toFixed(2))}function Lx(e){return Math.min(Ox,+(e+kx).toFixed(2))}function Rx(e){let t=(0,$.c)(10),n=e.active||void 0,r;t[0]===e.active?r=t[1]:(r=e.active&&(0,Z.jsx)(rn,{size:14}),t[0]=e.active,t[1]=r);let i;t[2]===r?i=t[3]:(i=(0,Z.jsx)(`span`,{className:`ok-pdf-menu-check`,"aria-hidden":`true`,children:r}),t[2]=r,t[3]=i);let a;return t[4]!==e.active||t[5]!==e.label||t[6]!==e.onSelect||t[7]!==n||t[8]!==i?(a=(0,Z.jsxs)(`button`,{type:`button`,role:`menuitemradio`,"aria-checked":e.active,className:`ok-pdf-menu-item`,"data-active":n,onClick:e.onSelect,children:[i,e.label]}),t[4]=e.active,t[5]=e.label,t[6]=e.onSelect,t[7]=n,t[8]=i,t[9]=a):a=t[9],a}function zx(e){if(!e)return null;for(let t of e.split(`&`)){let e=t.indexOf(`=`);if(!(e<0)&&t.slice(0,e)===`page`){let n=Number.parseInt(t.slice(e+1),10);if(!Number.isNaN(n)&&n>=1)return n}}return null}function Bx(e){let t=(0,$.c)(10),{label:n,id:r,children:i}=e,a=(0,Q.useId)(),o;t[0]!==r||t[1]!==a?(o=r||`tab-panel-${a.replace(/:/g,``)}`,t[0]=r,t[1]=a,t[2]=o):o=t[2];let s=o,c=`${s}-tab`,l;t[3]===n?l=t[4]:(l=n?.trim()||`Tab`,t[3]=n,t[4]=l);let u=l,d;return t[5]!==i||t[6]!==s||t[7]!==u||t[8]!==c?(d=(0,Z.jsx)(`section`,{className:`tab-panel`,id:s,role:`tabpanel`,"aria-labelledby":c,"data-tab-label":u,"data-tab-id":s,children:i}),t[5]=i,t[6]=s,t[7]=u,t[8]=c,t[9]=d):d=t[9],d}var Vx=`:scope > .component-children > [data-node-view-content-react] > .react-renderer`;function Hx(e){return Array.from(e.querySelectorAll(Vx)).map((e,t)=>{let n=e.querySelector(`[data-tab-label]`);return{index:t,label:(n?.getAttribute(`data-tab-label`))?.trim()||`Tab ${t+1}`,panelId:n?.getAttribute(`data-tab-id`)??null}})}function Ux(e,t){let n=Array.from(e.querySelectorAll(Vx))[t];return n?n.querySelector(`[data-jsx-gear]`):null}function Wx(e){let t=(0,$.c)(31),{id:n,children:r}=e,[i,a]=(0,Q.useState)(0),o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=[],t[0]=o):o=t[0];let[c,l]=(0,Q.useState)(o),u=(0,Q.useRef)(null),d=(0,Q.useRef)(null),f=(0,Q.useRef)(0),p=Py(),m=p?.addChild!=null,{_:h}=s(),g;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(g=()=>{let e=u.current;if(!e)return;let t=Hx(e);l(e=>{if(e.length!==t.length)return t;for(let n=0;n<e.length;n++)if(e[n].label!==t[n].label||e[n].panelId!==t[n].panelId)return t;return e})},t[1]=g):g=t[1],(0,Q.useLayoutEffect)(g);let _,v;t[2]===c.length?(_=t[3],v=t[4]):(_=()=>{c.length>f.current&&c.length>0&&a(c.length-1),f.current=c.length},v=[c.length],t[2]=c.length,t[3]=_,t[4]=v),(0,Q.useLayoutEffect)(_,v);let y;t[5]===n?y=t[6]:(y=()=>{let e=()=>{let e=window.location.hash.slice(1);if(!e)return;if(n&&e===n){a(0);return}let t=u.current;if(!t)return;let r=Hx(t).findIndex(t=>t.panelId===e);r<0||(a(r),queueMicrotask(()=>{t.ownerDocument.getElementById(e)?.scrollIntoView({block:`start`,behavior:`auto`})}))};return e(),window.addEventListener(`hashchange`,e),()=>window.removeEventListener(`hashchange`,e)},t[5]=n,t[6]=y),(0,Q.useLayoutEffect)(y);let b=c.length===0?0:Math.min(Math.max(i,0),c.length-1),x;t[7]!==c.length||t[8]!==b?(x=e=>{if(c.length===0)return;let t=null;e.key===`ArrowRight`?t=(b+1)%c.length:e.key===`ArrowLeft`?t=(b-1+c.length)%c.length:e.key===`Home`?t=0:e.key===`End`&&(t=c.length-1),t!==null&&(e.preventDefault(),a(t),(d.current?.querySelectorAll(`[role="tab"]`))?.[t]?.focus())},t[7]=c.length,t[8]=b,t[9]=x):x=t[9];let S=x,C=n?`Tabs: ${n}`:`Tabs`,w;t[10]!==c||t[11]!==b?(w=c.map(e=>(0,Z.jsx)(`button`,{id:e.panelId?`${e.panelId}-tab`:void 0,type:`button`,role:`tab`,className:`tabs-strip-pill`,"data-active":e.index===b,"aria-selected":e.index===b,"aria-controls":e.panelId??void 0,tabIndex:e.index===b?0:-1,onMouseDown:Kx,onClick:()=>{if(e.index!==b){a(e.index);return}let t=u.current;t&&Ux(t,e.index)?.click()},children:e.label},e.index)),t[10]=c,t[11]=b,t[12]=w):w=t[12];let T;t[13]!==S||t[14]!==C||t[15]!==w?(T=(0,Z.jsx)(`div`,{ref:d,role:`tablist`,"aria-label":C,className:`tabs-tablist`,onKeyDown:S,children:w}),t[13]=S,t[14]=C,t[15]=w,t[16]=T):T=t[16];let E;t[17]!==h||t[18]!==m||t[19]!==p?(E=m&&(0,Z.jsx)(`button`,{type:`button`,className:`tabs-strip-add`,"aria-label":h({id:`hjO0Mq`}),title:h({id:`hjO0Mq`}),onMouseDown:Gx,onClick:()=>p?.addChild?.(),"data-tabs-strip-add":``,children:`+`}),t[17]=h,t[18]=m,t[19]=p,t[20]=E):E=t[20];let D;t[21]!==E||t[22]!==T?(D=(0,Z.jsxs)(`div`,{className:`tabs-strip`,contentEditable:!1,children:[T,E]}),t[21]=E,t[22]=T,t[23]=D):D=t[23];let O;t[24]!==r||t[25]!==b?(O=(0,Z.jsx)(`div`,{ref:u,className:`tabs-content`,"data-active-index":b,children:r}),t[24]=r,t[25]=b,t[26]=O):O=t[26];let k;return t[27]!==n||t[28]!==D||t[29]!==O?(k=(0,Z.jsxs)(`div`,{className:`tabs`,id:n,children:[D,O]}),t[27]=n,t[28]=D,t[29]=O,t[30]=k):k=t[30],k}function Gx(e){return e.preventDefault()}function Kx(e){return e.preventDefault()}var qx=typeof global<`u`&&{}.toString.call(global)===`[object global]`,Jx=typeof Bun<`u`,Yx=typeof Deno<`u`,Xx=typeof WebSocketPair==`function`&&caches?.default!==void 0,Zx=qx||Jx||Yx||Xx;function Qx(e,t){return e.indexOf(t.toLowerCase())===0?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function $x(e){return!!(e&&e.nodeType===1&&`nodeName`in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function eS(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function tS(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function nS(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function rS(e){let t=(e||``).match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||``).replace(`player.`,``);for(let e of[`.videoji.hk`,`.vimeo.work`,`.videoji.cn`])if(n.endsWith(e))return n;return`vimeo.com`}function iS(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.id,n=e.url,r=t||n;if(!r)throw Error(`An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.`);if(eS(r))return`https://vimeo.com/${r}`;if(tS(r))return r.replace(`http:`,`https:`);throw TypeError(t?`“${t}” is not a valid video id.`:`“${r}” is not a vimeo.com url.`)}var aS=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`addEventListener`,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:`removeEventListener`,a=typeof t==`string`?[t]:t;return a.forEach(t=>{e[r](t,n)}),{cancel:()=>a.forEach(t=>e[i](t,n))}};function oS(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!e||!t||typeof t.querySelectorAll!=`function`)return null;let n=t.querySelectorAll(`iframe`);for(let t=0;t<n.length;t++)if(n[t]&&n[t].contentWindow===e)return n[t];return null}var sS=Array.prototype.indexOf!==void 0,cS=typeof window<`u`&&window.postMessage!==void 0;if(!Zx&&(!sS||!cS))throw Error(`Sorry, the Vimeo Player API is not available in this browser.`);var lS=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function uS(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e){if(e.WeakMap)return;var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return Object.defineProperty({},`x`,{value:1}).x===1}catch{}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(this===void 0)throw TypeError(`Constructor WeakMap requires 'new'`);if(r(this,`_id`,a(`_WeakMap`)),arguments.length>0)throw TypeError(`WeakMap iterable is not supported`)}r(e.prototype,`delete`,function(e){if(n(this,`delete`),!i(e))return!1;var t=e[this._id];return t&&t[0]===e?(delete e[this._id],!0):!1}),r(e.prototype,`get`,function(e){if(n(this,`get`),i(e)){var t=e[this._id];if(t&&t[0]===e)return t[1]}}),r(e.prototype,`has`,function(e){if(n(this,`has`),!i(e))return!1;var t=e[this._id];return!!(t&&t[0]===e)}),r(e.prototype,`set`,function(e,t){if(n(this,`set`),!i(e))throw TypeError(`Invalid value used as weak map key`);var a=e[this._id];return a&&a[0]===e?(a[1]=t,this):(r(e,this._id,[e,t]),this)});function n(e,n){if(!i(e)||!t.call(e,`_id`))throw TypeError(n+` method called on incompatible receiver `+typeof e)}function a(e){return e+`_`+o()+`.`+o()}function o(){return Math.random().toString().substring(2)}return r(e,`_polyfill`,!0),e}();function i(e){return Object(e)===e}})(typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:lS);var dS=uS(function(e){(function(t,n,r){n[t]=n[t]||r(),e.exports&&=n[t]})(`Promise`,lS,function(){var e,t,n,r=Object.prototype.toString,i=typeof setImmediate<`u`?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},`x`,{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:r!==!1})}}catch{e=function(e,t,n){return e[t]=n,e}}n=function(){var e,n,r;function i(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,a){r=new i(t,a),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();function a(e,r){n.add(e,r),t||=i(n.drain)}function o(e){var t,n=typeof e;return e!=null&&(n==`object`||n==`function`)&&(t=e.then),typeof t==`function`?t:!1}function s(){for(var e=0;e<this.chain.length;e++)c(this,this.state===1?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function c(e,t,n){var r,i;try{t===!1?n.reject(e.msg):(r=t===!0?e.msg:t.call(void 0,e.msg),r===n.promise?n.reject(TypeError(`Promise-chain cycle`)):(i=o(r))?i.call(r,n.resolve,n.reject):n.resolve(r))}catch(e){n.reject(e)}}function l(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=o(e))?a(function(){var r=new f(n);try{t.call(e,function(){l.apply(r,arguments)},function(){u.apply(r,arguments)})}catch(e){u.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>0&&a(s,n))}catch(e){u.call(new f(n),e)}}}function u(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&a(s,t))}function d(e,t,n,r){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){n(i,e)},r)})(i)}function f(e){this.def=e,this.triggered=!1}function p(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(e){if(typeof e!=`function`)throw TypeError(`Not a function`);if(this.__NPO__!==0)throw TypeError(`Not a promise`);this.__NPO__=1;var t=new p(this);this.then=function(e,n){var r={success:typeof e==`function`?e:!0,failure:typeof n==`function`?n:!1};return r.promise=new this.constructor(function(e,t){if(typeof e!=`function`||typeof t!=`function`)throw TypeError(`Not a function`);r.resolve=e,r.reject=t}),t.chain.push(r),t.state!==0&&a(s,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){l.call(t,e)},function(e){u.call(t,e)})}catch(e){u.call(t,e)}}var h=e({},`constructor`,m,!1);return m.prototype=h,e(h,`__NPO__`,0,!1),e(m,`resolve`,function(e){var t=this;return e&&typeof e==`object`&&e.__NPO__===1?e:new t(function(t,n){if(typeof t!=`function`||typeof n!=`function`)throw TypeError(`Not a function`);t(e)})}),e(m,`reject`,function(e){return new this(function(t,n){if(typeof t!=`function`||typeof n!=`function`)throw TypeError(`Not a function`);n(e)})}),e(m,`all`,function(e){var t=this;return r.call(e)==`[object Array]`?e.length===0?t.resolve([]):new t(function(n,r){if(typeof n!=`function`||typeof r!=`function`)throw TypeError(`Not a function`);var i=e.length,a=Array(i),o=0;d(t,e,function(e,t){a[e]=t,++o===i&&n(a)},r)}):t.reject(TypeError(`Not an array`))}),e(m,`race`,function(e){var t=this;return r.call(e)==`[object Array]`?new t(function(n,r){if(typeof n!=`function`||typeof r!=`function`)throw TypeError(`Not a function`);d(t,e,function(e,t){n(t)},r)}):t.reject(TypeError(`Not an array`))}),m})}),fS=new WeakMap;function pS(e,t,n){let r=fS.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),fS.set(e.element,r)}function mS(e,t){return(fS.get(e.element)||{})[t]||[]}function hS(e,t,n){let r=fS.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],fS.set(e.element,r),!0;let i=r[t].indexOf(n);return i!==-1&&r[t].splice(i,1),fS.set(e.element,r),r[t]&&r[t].length===0}function gS(e,t){let n=mS(e,t);if(n.length<1)return!1;let r=n.shift();return hS(e,t,r),r}function _S(e,t){let n=fS.get(e);fS.set(t,n),fS.delete(e)}function vS(e){if(typeof e==`string`)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function yS(e,t,n){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let r={method:t};n!==void 0&&(r.value=n);let i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,`$1`));i>=8&&i<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}function bS(e,t){t=vS(t);let n=[],r;if(t.event)t.event===`error`&&mS(e,t.data.method).forEach(n=>{let r=Error(t.data.message);r.name=t.data.name,n.reject(r),hS(e,t.data.method,n)}),n=mS(e,`event:${t.event}`),r=t.data;else if(t.method){let i=gS(e,t.method);i&&(n.push(i),r=t.value)}n.forEach(t=>{try{if(typeof t==`function`){t.call(e,r);return}t.resolve(r)}catch{}})}var xS=`airplay.audio_tracks.audiotrack.autopause.autoplay.background.byline.cc.chapter_id.chapters.chromecast.color.colors.controls.disable_context_menu.dnt.end_time.fullscreen.height.id.initial_quality.interactive_params.keyboard.loop.maxheight.max_quality.maxwidth.min_quality.muted.play_button_position.playsinline.portrait.preload.progress_bar.quality.quality_selector.responsive.skipping_forward.speed.start_time.texttrack.thumbnail_id.title.transcript.transparent.unmute_button.url.vimeo_logo.volume.watch_full_video.width`.split(`.`);function SS(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return xS.reduce((t,n)=>{let r=e.getAttribute(`data-vimeo-${n}`);return(r||r===``)&&(t[n]=r===``?1:r),t},t)}function CS(e,t){let{html:n}=e;if(!t)throw TypeError(`An element must be provided`);if(t.getAttribute(`data-vimeo-initialized`)!==null)return t.querySelector(`iframe`);let r=document.createElement(`div`);return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute(`data-vimeo-initialized`,`true`),t.querySelector(`iframe`)}function wS(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,i)=>{if(!tS(e))throw TypeError(`“${e}” is not a vimeo.com url.`);let a=`https://${rS(e)}/api/oembed.json?url=${encodeURIComponent(e)}`;for(let e in t)t.hasOwnProperty(e)&&(a+=`&${e}=${encodeURIComponent(t[e])}`);let o=`XDomainRequest`in window?new XDomainRequest:new XMLHttpRequest;o.open(`GET`,a,!0),o.onload=function(){if(o.status===404){i(Error(`“${e}” was not found.`));return}if(o.status===403){i(Error(`“${e}” is not embeddable.`));return}try{let t=JSON.parse(o.responseText);if(t.domain_status_code===403){CS(t,n),i(Error(`“${e}” is not embeddable.`));return}r(t)}catch(e){i(e)}},o.onerror=function(){let e=o.status?` (${o.status})`:``;i(Error(`There was an error fetching the embed code from Vimeo${e}.`))},o.send()})}function TS(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,t=[].slice.call(e.querySelectorAll(`[data-vimeo-id], [data-vimeo-url]`)),n=e=>{`console`in window&&console.error&&console.error(`There was an error creating an embed: ${e}`)};t.forEach(e=>{try{if(e.getAttribute(`data-vimeo-defer`)!==null)return;let t=SS(e);wS(iS(t),t,e).then(t=>CS(t,e)).catch(n)}catch(e){n(e)}})}function ES(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener(`message`,t=>{if(!tS(t.origin)||!t.data||t.data.event!==`spacechange`)return;let n=t.source?oS(t.source,e):null;if(n){let e=n.parentElement;e.style.paddingBottom=`${t.data.data[0].bottom}px`}}))}function DS(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener(`message`,t=>{if(!tS(t.origin))return;let n=vS(t.data);if(!n||n.event!==`ready`)return;let r=t.source?oS(t.source,e):null;r&&nS(r.src)&&new IS(r).callMethod(`appendVideoMetadata`,window.location.href)}))}function OS(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;let t=e=>{`console`in window&&console.error&&console.error(`There was an error getting video Id: ${e}`)};window.addEventListener(`message`,n=>{if(!tS(n.origin))return;let r=vS(n.data);if(!r||r.event!==`ready`)return;let i=n.source?oS(n.source,e):null;if(i&&nS(i.src)){let e=new IS(i);e.getVideoId().then(t=>{let n=RegExp(`[?&]vimeo_t_${t}=([^&#]*)`).exec(window.location.href);if(n&&n[1]){let t=decodeURI(n[1]);e.setCurrentTime(t)}}).catch(t)}})}function kS(){window.VimeoDRMEmbedsUpdated||(window.VimeoDRMEmbedsUpdated=!0,window.addEventListener(`message`,e=>{if(!tS(e.origin))return;let t=vS(e.data);if(!t||t.event!==`drminitfailed`)return;let n=e.source?oS(e.source):null;if(!n)return;let r=n.getAttribute(`allow`)||``;if(!r.includes(`encrypted-media`)){n.setAttribute(`allow`,`${r}; encrypted-media`);let e=new URL(n.getAttribute(`src`));e.searchParams.set(`forcereload`,`drm`),n.setAttribute(`src`,e.toString());return}}))}function AS(){let e=function(){let e,t=[[`requestFullscreen`,`exitFullscreen`,`fullscreenElement`,`fullscreenEnabled`,`fullscreenchange`,`fullscreenerror`],[`webkitRequestFullscreen`,`webkitExitFullscreen`,`webkitFullscreenElement`,`webkitFullscreenEnabled`,`webkitfullscreenchange`,`webkitfullscreenerror`],[`webkitRequestFullScreen`,`webkitCancelFullScreen`,`webkitCurrentFullScreenElement`,`webkitCancelFullScreen`,`webkitfullscreenchange`,`webkitfullscreenerror`],[`mozRequestFullScreen`,`mozCancelFullScreen`,`mozFullScreenElement`,`mozFullScreenEnabled`,`mozfullscreenchange`,`mozfullscreenerror`],[`msRequestFullscreen`,`msExitFullscreen`,`msFullscreenElement`,`msFullscreenEnabled`,`MSFullscreenChange`,`MSFullscreenError`]],n=0,r=t.length,i={};for(;n<r;n++)if(e=t[n],e&&e[1]in document){for(n=0;n<e.length;n++)i[t[0][n]]=e[n];return i}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request(t){return new Promise((r,i)=>{let a=function(){n.off(`fullscreenchange`,a),r()};n.on(`fullscreenchange`,a),t||=document.documentElement;let o=t[e.requestFullscreen]();o instanceof Promise&&o.then(a).catch(i)})},exit(){return new Promise((t,r)=>{if(!n.isFullscreen){t();return}let i=function(){n.off(`fullscreenchange`,i),t()};n.on(`fullscreenchange`,i);let a=document[e.exitFullscreen]();a instanceof Promise&&a.then(i).catch(r)})},on(e,n){let r=t[e];r&&document.addEventListener(r,n)},off(e,n){let r=t[e];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return!!document[e.fullscreenEnabled]}}}),n}var jS={role:`viewer`,autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},MS=class extends EventTarget{logger;constructor(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;super(),this.logger=r,this.init(t,e,{...jS,...n})}disconnect(){this.dispatchEvent(new Event(`disconnect`))}async init(e,t,n){if(await this.waitForTOReadyState(e,`open`),n.role===`viewer`){await this.updatePlayer(e,t,n);let r=aS(e,`change`,()=>this.updatePlayer(e,t,n)),i=this.maintainPlaybackPosition(e,t,n);this.addEventListener(`disconnect`,()=>{i.cancel(),r.cancel()})}else{await this.updateTimingObject(e,t);let n=aS(t,[`seeked`,`play`,`pause`,`ratechange`],()=>this.updateTimingObject(e,t),`on`,`off`);this.addEventListener(`disconnect`,()=>n.cancel())}}async updateTimingObject(e,t){let[n,r,i]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:n,velocity:r?0:i})}async updatePlayer(e,t,n){let{position:r,velocity:i}=e.query();typeof r==`number`&&t.setCurrentTime(r),typeof i==`number`&&(i===0?await t.getPaused()===!1&&t.pause():i>0&&(await t.getPaused()===!0&&(await t.play().catch(async e=>{e.name===`NotAllowedError`&&n.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(e=>console.error(`Couldn't play the video from TimingSrcConnector. Error:`,e)))}),this.updatePlayer(e,t,n)),await t.getPlaybackRate()!==i&&t.setPlaybackRate(i)))}maintainPlaybackPosition(e,t,n){let{allowedDrift:r,maxAllowedDrift:i,minCheckInterval:a,maxRateAdjustment:o,maxTimeToCatchUp:s}=n,c=Math.min(s,Math.max(a,i))*1e3,l=async()=>{if(e.query().velocity===0||await t.getPaused()===!0)return;let n=e.query().position-await t.getCurrentTime(),a=Math.abs(n);if(this.log(`Drift: ${n}`),a>i)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log(`Resync by currentTime`);else if(a>r){let e=a/s,r=o,i=e<r?(r-e)/2:r;await this.adjustSpeed(t,i*Math.sign(n)),this.log(`Resync by playbackRate`)}},u=setInterval(()=>l(),c);return{cancel:()=>clearInterval(u)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;let n=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate: ${n}`),await e.setPlaybackRate(n),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(n=>{let r=()=>{e.readyState===t?n():e.addEventListener(`readystatechange`,r,{once:!0})};r()})}},NS=new WeakMap,PS=new WeakMap,FS={},IS=class{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn(`A jQuery object with multiple elements was passed, using the first element.`),e=e[0]),typeof document<`u`&&typeof e==`string`&&(e=document.getElementById(e)),!$x(e))throw TypeError(`You must pass either a valid element or a valid id.`);if(e.nodeName!==`IFRAME`){let t=e.querySelector(`iframe`);t&&(e=t)}if(e.nodeName===`IFRAME`&&!tS(e.getAttribute(`src`)||``))throw Error(`The player element passed isn’t a Vimeo embed.`);if(NS.has(e))return NS.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin=`*`;let n=new dS((n,r)=>{if(this._onMessage=e=>{if(!tS(e.origin)||this.element.contentWindow!==e.source)return;this.origin===`*`&&(this.origin=e.origin);let t=vS(e.data);if(t&&t.event===`error`&&t.data&&t.data.method===`ready`){let e=Error(t.data.message);e.name=t.data.name,r(e);return}let i=t&&t.event===`ready`,a=t&&t.method===`ping`;if(i||a){this.element.setAttribute(`data-ready`,`true`),n();return}bS(this,t)},this._window.addEventListener(`message`,this._onMessage),this.element.nodeName!==`IFRAME`){let n=SS(e,t);wS(iS(n),n,e).then(t=>{let n=CS(t,e);return this.element=n,this._originalElement=e,_S(e,n),NS.set(this.element,this),t}).catch(r)}});if(PS.set(this,n),NS.set(this.element,this),this.element.nodeName===`IFRAME`&&yS(this,`ping`),FS.isEnabled){let e=()=>FS.exit();this.fullscreenchangeHandler=()=>{FS.isFullscreen?pS(this,`event:exitFullscreen`,e):hS(this,`event:exitFullscreen`,e),this.ready().then(()=>{yS(this,`fullscreenchange`,FS.isFullscreen)})},FS.on(`fullscreenchange`,this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return tS(e)}callMethod(e){var t=[...arguments].slice(1);if(e==null)throw TypeError(`You must pass a method name.`);return new dS((n,r)=>this.ready().then(()=>{pS(this,e,{resolve:n,reject:r}),t.length===0?t={}:t.length===1&&(t=t[0]),yS(this,e,t)}).catch(r))}get(e){return new dS((t,n)=>(e=Qx(e,`get`),this.ready().then(()=>{pS(this,e,{resolve:t,reject:n}),yS(this,e)}).catch(n)))}set(e,t){return new dS((n,r)=>{if(e=Qx(e,`set`),t==null)throw TypeError(`There must be a value to set.`);return this.ready().then(()=>{pS(this,e,{resolve:n,reject:r}),yS(this,e,t)}).catch(r)})}on(e,t){if(!e)throw TypeError(`You must pass an event name.`);if(!t)throw TypeError(`You must pass a callback function.`);if(typeof t!=`function`)throw TypeError(`The callback must be a function.`);mS(this,`event:${e}`).length===0&&this.callMethod(`addEventListener`,e).catch(()=>{}),pS(this,`event:${e}`,t)}off(e,t){if(!e)throw TypeError(`You must pass an event name.`);if(t&&typeof t!=`function`)throw TypeError(`The callback must be a function.`);hS(this,`event:${e}`,t)&&this.callMethod(`removeEventListener`,e).catch(e=>{})}loadVideo(e){return this.callMethod(`loadVideo`,e)}ready(){let e=PS.get(this)||new dS((e,t)=>{t(Error(`Unknown player. Probably unloaded.`))});return dS.resolve(e)}addCuePoint(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod(`addCuePoint`,{time:e,data:t})}removeCuePoint(e){return this.callMethod(`removeCuePoint`,e)}enableTextTrack(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e)throw TypeError(`You must pass a language.`);return this.callMethod(`enableTextTrack`,{language:e,kind:t,showing:n})}disableTextTrack(){return this.callMethod(`disableTextTrack`)}selectAudioTrack(e,t){if(!e)throw TypeError(`You must pass a language.`);return this.callMethod(`selectAudioTrack`,{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod(`selectDefaultAudioTrack`)}pause(){return this.callMethod(`pause`)}play(){return this.callMethod(`play`)}requestFullscreen(){return FS.isEnabled?FS.request(this.element):this.callMethod(`requestFullscreen`)}exitFullscreen(){return FS.isEnabled?FS.exit():this.callMethod(`exitFullscreen`)}getFullscreen(){return FS.isEnabled?dS.resolve(FS.isFullscreen):this.get(`fullscreen`)}requestPictureInPicture(){return this.callMethod(`requestPictureInPicture`)}exitPictureInPicture(){return this.callMethod(`exitPictureInPicture`)}getPictureInPicture(){return this.get(`pictureInPicture`)}remotePlaybackPrompt(){return this.callMethod(`remotePlaybackPrompt`)}unload(){return this.callMethod(`unload`)}destroy(){return new dS(e=>{if(PS.delete(this),NS.delete(this.element),this._originalElement&&(NS.delete(this._originalElement),this._originalElement.removeAttribute(`data-vimeo-initialized`)),this.element&&this.element.nodeName===`IFRAME`&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&this.element.nodeName===`DIV`&&this.element.parentNode){this.element.removeAttribute(`data-vimeo-initialized`);let e=this.element.querySelector(`iframe`);e&&e.parentNode&&(e.parentNode.parentNode&&this._originalElement&&this._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e))}this._window.removeEventListener(`message`,this._onMessage),FS.isEnabled&&FS.off(`fullscreenchange`,this.fullscreenchangeHandler),e()})}getAutopause(){return this.get(`autopause`)}setAutopause(e){return this.set(`autopause`,e)}getBuffered(){return this.get(`buffered`)}getCameraProps(){return this.get(`cameraProps`)}setCameraProps(e){return this.set(`cameraProps`,e)}getChapters(){return this.get(`chapters`)}getCurrentChapter(){return this.get(`currentChapter`)}getColor(){return this.get(`color`)}getColors(){return dS.all([this.get(`colorOne`),this.get(`colorTwo`),this.get(`colorThree`),this.get(`colorFour`)])}setColor(e){return this.set(`color`,e)}setColors(e){if(!Array.isArray(e))return new dS((e,t)=>t(TypeError(`Argument must be an array.`)));let t=new dS(e=>e(null)),n=[e[0]?this.set(`colorOne`,e[0]):t,e[1]?this.set(`colorTwo`,e[1]):t,e[2]?this.set(`colorThree`,e[2]):t,e[3]?this.set(`colorFour`,e[3]):t];return dS.all(n)}getCuePoints(){return this.get(`cuePoints`)}getCurrentTime(){return this.get(`currentTime`)}setCurrentTime(e){return this.set(`currentTime`,e)}getDuration(){return this.get(`duration`)}getEnded(){return this.get(`ended`)}getLoop(){return this.get(`loop`)}setLoop(e){return this.set(`loop`,e)}setMuted(e){return this.set(`muted`,e)}getMuted(){return this.get(`muted`)}getPaused(){return this.get(`paused`)}getPlaybackRate(){return this.get(`playbackRate`)}setPlaybackRate(e){return this.set(`playbackRate`,e)}getPlayed(){return this.get(`played`)}getQualities(){return this.get(`qualities`)}getQuality(){return this.get(`quality`)}setQuality(e){return this.set(`quality`,e)}getRemotePlaybackAvailability(){return this.get(`remotePlaybackAvailability`)}getRemotePlaybackState(){return this.get(`remotePlaybackState`)}getSeekable(){return this.get(`seekable`)}getSeeking(){return this.get(`seeking`)}getTextTracks(){return this.get(`textTracks`)}getAudioTracks(){return this.get(`audioTracks`)}getEnabledAudioTrack(){return this.get(`enabledAudioTrack`)}getDefaultAudioTrack(){return this.get(`defaultAudioTrack`)}getVideoEmbedCode(){return this.get(`videoEmbedCode`)}getVideoId(){return this.get(`videoId`)}getVideoTitle(){return this.get(`videoTitle`)}getVideoWidth(){return this.get(`videoWidth`)}getVideoHeight(){return this.get(`videoHeight`)}getVideoUrl(){return this.get(`videoUrl`)}getVolume(){return this.get(`volume`)}setVolume(e){return this.set(`volume`,e)}async setTimingSrc(e,t){if(!e)throw TypeError(`A Timing Object must be provided.`);await this.ready();let n=new MS(this,e,t);return yS(this,`notifyTimingObjectConnect`),n.addEventListener(`disconnect`,()=>yS(this,`notifyTimingObjectDisconnect`)),n}};Zx||(FS=AS(),TS(),ES(),DS(),OS(),kS());function LS(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,RS(e,t)}function RS(e,t){return RS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},RS(e,t)}var zS={play:`onPlay`,playing:`onPlaying`,pause:`onPause`,ended:`onEnd`,timeupdate:`onTimeUpdate`,progress:`onProgress`,seeked:`onSeeked`,texttrackchange:`onTextTrackChange`,cuechange:`onCueChange`,cuepoint:`onCuePoint`,volumechange:`onVolumeChange`,playbackratechange:`onPlaybackRateChange`,error:`onError`,loaded:`onLoaded`},BS=function(e){function t(t){var n=e.call(this,t)||this;return n.refContainer=n.refContainer.bind(n),n}LS(t,e);var n=t.prototype;return n.componentDidMount=function(){this.createPlayer()},n.componentDidUpdate=function(e){var t=this,n=Object.keys(this.props).filter(function(n){return t.props[n]!==e[n]});this.updateProps(n)},n.componentWillUnmount=function(){this.player.destroy()},n.getInitialOptions=function(){var e,t=this.props.video,n=/^https?:/i.test(t)?`url`:`id`;return e={},e[n]=t,e.width=this.props.width,e.height=this.props.height,e.autopause=this.props.autopause,e.autoplay=this.props.autoplay,e.byline=this.props.showByline,e.color=this.props.color,e.controls=this.props.controls,e.loop=this.props.loop,e.portrait=this.props.showPortrait,e.title=this.props.showTitle,e.muted=this.props.muted,e.background=this.props.background,e.responsive=this.props.responsive,e.dnt=this.props.dnt,e.speed=this.props.speed,e.keyboard=this.props.keyboard,e.pip=this.props.pip,e.playsinline=this.props.playsInline,e.quality=this.props.quality,e.texttrack=this.props.textTrack,e.transparent=this.props.transparent,e},n.updateProps=function(e){var t=this,n=this.player;e.forEach(function(e){var r=t.props[e];switch(e){case`autopause`:n.setAutopause(r);break;case`color`:n.setColor(r);break;case`loop`:n.setLoop(r);break;case`volume`:n.setVolume(r);break;case`paused`:n.getPaused().then(function(e){return r&&!e?n.pause():!r&&e?n.play():null});break;case`width`:case`height`:n.element[e]=r;break;case`video`:if(r){var i=t.props.start,a=n.loadVideo(r);typeof i==`number`&&a.then(function(){n.setCurrentTime(i)})}else n.unload();break;case`playbackRate`:n.setPlaybackRate(r);break;case`quality`:n.setQuality(r);break}})},n.createPlayer=function(){var e=this,t=this.props,n=t.start,r=t.volume,i=t.playbackRate;this.player=new IS(this.container,this.getInitialOptions()),Object.keys(zS).forEach(function(t){var n=zS[t];e.player.on(t,function(t){var r=e.props[n];r&&r(t)})});var a=this.props,o=a.onError,s=a.onReady;this.player.ready().then(function(){s&&s(e.player)},function(e){if(o)o(e);else throw e}),typeof n==`number`&&this.player.setCurrentTime(n),typeof r==`number`&&this.updateProps([`volume`]),typeof i==`number`&&this.updateProps([`playbackRate`])},n.refContainer=function(e){this.container=e},n.render=function(){var e=this.props,t=e.id,n=e.className,r=e.style;return Q.createElement(`div`,{id:t,className:n,style:r,ref:this.refContainer})},t}(Q.Component);BS.defaultProps={autopause:!0,autoplay:!1,showByline:!0,controls:!0,loop:!1,showPortrait:!0,showTitle:!0,muted:!1,background:!1,responsive:!1,dnt:!1,speed:!1,keyboard:!0,pip:!1,playsInline:!0,transparent:!0};var VS={default:120,mqdefault:320,hqdefault:480,sddefault:640,maxresdefault:1280},HS=(e,t,n,r=`maxresdefault`)=>{let[i,a]=(0,Q.useState)(``);return(0,Q.useEffect)(()=>{let i=`https://img.youtube.com/${t}/${e}/${r}.${n}`,o=`https://img.youtube.com/${t}/${e}/hqdefault.${n}`,s=VS[r],c=new Image;c.onload=()=>{c.width<s?a(o):a(i)},c.onerror=()=>a(o),c.src=i},[e,t,n,r]),i};function US(e,t,n,r,i){let a={"@context":`https://schema.org`,"@type":`VideoObject`,name:i?.name||t,thumbnailUrl:[i?.thumbnailUrl||n],embedUrl:i?.embedUrl||`${r}/embed/${e}`,contentUrl:i?.contentUrl||`https://www.youtube.com/watch?v=${e}`,...i?.description&&{description:i.description},...i?.uploadDate&&{uploadDate:i.uploadDate},...i?.duration&&{duration:i.duration}};return JSON.stringify(a)}function WS(e,t){let[n,r]=Q.useState(!1),[i,a]=Q.useState(e.alwaysLoadIframe||!1),o=encodeURIComponent(e.id),s=typeof e.playlistCoverId==`string`?encodeURIComponent(e.playlistCoverId):null,c=e.title,l=e.poster||`hqdefault`,u=e.announce||`Watch`,d=e.alwaysLoadIframe?e.autoplay&&e.muted:!0,f=Q.useMemo(()=>{let t=new URLSearchParams({...e.muted?{mute:`1`}:{},...d?{autoplay:`1`}:{},...e.enableJsApi?{enablejsapi:`1`}:{},...e.enableJsApi&&typeof window<`u`?{origin:window.location.origin}:{},...e.playlist?{list:o}:{}});return e.params&&new URLSearchParams(e.params.startsWith(`&`)?e.params.slice(1):e.params).forEach((e,n)=>{t.append(n,e)}),t},[e.muted,d,e.enableJsApi,e.playlist,o,e.params]),p=Q.useMemo(()=>e.cookie?`https://www.youtube.com`:`https://www.youtube-nocookie.com`,[e.cookie]),m=Q.useMemo(()=>e.playlist?`${p}/embed/videoseries?${f.toString()}`:`${p}/embed/${o}?${f.toString()}`,[e.playlist,p,o,f]),h=!e.thumbnail&&!e.playlist&&l===`maxresdefault`,g=e.webp?`webp`:`jpg`,_=e.webp?`vi_webp`:`vi`,v=h?HS(e.id,_,g,l):null,y=Q.useMemo(()=>e.thumbnail||v||`https://i.ytimg.com/${_}/${e.playlist?s:o}/${l}.${g}`,[e.thumbnail,v,_,e.playlist,s,o,l,g]),b=e.activatedClass||`lyt-activated`,x=e.adNetwork||!1,S=e.aspectHeight||9,C=e.aspectWidth||16,w=e.iframeClass||``,T=e.playerClass||`lty-playbtn`,E=e.wrapperClass||`yt-lite`,D=Q.useCallback(e.onIframeAdded||function(){},[e.onIframeAdded]),O=e.rel?`prefetch`:`preload`,k=e.containerElement||`article`,A=e.noscriptFallback!==!1,j=()=>{n||r(!0)},M=()=>{i||a(!0)};return Q.useEffect(()=>{i&&(D(),e.focusOnLoad&&typeof t==`object`&&t?.current&&t.current.focus())},[i,D,e.focusOnLoad,t]),Q.useEffect(()=>{if(!i||!e.enableJsApi||!(e.onReady||e.onStateChange||e.onError||e.onPlay||e.onPause||e.onEnd||e.onBuffering||e.onPlaybackRateChange||e.onPlaybackQualityChange))return;let n=!1,r=!1,a=r=>{if(r.origin!==`https://www.youtube.com`&&r.origin!==`https://www.youtube-nocookie.com`)return;let i;try{i=typeof r.data==`string`?JSON.parse(r.data):r.data}catch{return}switch(i.event){case`onReady`:n||(n=!0,e.onReady&&e.onReady({videoId:e.id,title:c}));break;case`infoDelivery`:if(i.info?.playerState!==void 0){let n=i.info.playerState;switch(e.onStateChange&&e.onStateChange({state:n,currentTime:i.info.currentTime,duration:i.info.duration}),n){case 1:e.onPlay?.();break;case 2:e.onPause?.();break;case 0:e.onEnd?.(),e.stopOnEnd&&typeof t==`object`&&t?.current?.contentWindow&&t.current.contentWindow.postMessage(`{"event":"command","func":"stopVideo","args":""}`,`*`);break;case 3:e.onBuffering?.();break}}i.info?.playbackRate!==void 0&&e.onPlaybackRateChange?.(i.info.playbackRate),i.info?.playbackQuality!==void 0&&e.onPlaybackQualityChange?.(i.info.playbackQuality);break;case`onStateChange`:if(i.info?.playerState!==void 0){let n=i.info.playerState;switch(e.onStateChange&&e.onStateChange({state:n,currentTime:i.info.currentTime,duration:i.info.duration}),n){case 1:e.onPlay?.();break;case 2:e.onPause?.();break;case 0:e.onEnd?.(),e.stopOnEnd&&typeof t==`object`&&t?.current?.contentWindow&&t.current.contentWindow.postMessage(`{"event":"command","func":"stopVideo","args":""}`,`*`);break;case 3:e.onBuffering?.();break}}break;case`onError`:if(i.info&&`errorCode`in i.info){let t=i.info.errorCode;e.onError&&e.onError(t)}break;case`onPlaybackRateChange`:i.info?.playbackRate!==void 0&&e.onPlaybackRateChange?.(i.info.playbackRate);break;case`onPlaybackQualityChange`:i.info?.playbackQuality!==void 0&&e.onPlaybackQualityChange?.(i.info.playbackQuality);break}};window.addEventListener(`message`,a);let s=[],l=()=>{typeof t==`object`&&t?.current?.contentWindow&&t.current.contentWindow.postMessage(`{"event":"listening","id":"`+o+`"}`,`*`)},u=()=>{r||(r=!0,l(),[100,300,600,1200,2400].forEach(e=>{s.push(setTimeout(l,e))}))};return typeof t==`object`&&t?.current?(t.current.addEventListener(`load`,u),t.current.contentDocument?.readyState===`complete`&&u()):[200,500,1e3,2e3,3e3].forEach(e=>{s.push(setTimeout(l,e))}),()=>{window.removeEventListener(`message`,a),s.forEach(clearTimeout),typeof t==`object`&&t?.current&&t.current.removeEventListener(`load`,u)}},[i,e.enableJsApi,e.onReady,e.onStateChange,e.onError,e.onPlay,e.onPause,e.onEnd,e.onBuffering,e.onPlaybackRateChange,e.onPlaybackQualityChange,e.stopOnEnd,e.id,o,c,t]),(0,Z.jsxs)(Z.Fragment,{children:[!e.lazyLoad&&(0,Z.jsx)(`link`,{rel:O,href:y,as:`image`}),(0,Z.jsx)(Z.Fragment,{children:n&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`link`,{rel:`preconnect`,href:p}),(0,Z.jsx)(`link`,{rel:`preconnect`,href:`https://www.google.com`}),x&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`link`,{rel:`preconnect`,href:`https://static.doubleclick.net`}),(0,Z.jsx)(`link`,{rel:`preconnect`,href:`https://googleads.g.doubleclick.net`})]})]})}),e.seo&&!e.playlist&&(0,Z.jsx)(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:US(e.id,c,y,p,e.seo)}}),A&&!e.playlist&&(0,Z.jsx)(`noscript`,{children:(0,Z.jsxs)(`a`,{href:`https://www.youtube.com/watch?v=${e.id}`,"aria-label":`Watch ${c} on YouTube`,children:[`Watch "`,c,`" on YouTube`]})}),(0,Z.jsxs)(k,{onPointerOver:j,onClick:M,className:`${E} ${i?b:``}`,"data-title":c,role:!i&&!e.lazyLoad?`img`:void 0,"aria-label":i?void 0:`${c} - YouTube video preview`,style:{...!e.lazyLoad&&{backgroundImage:`url(${y})`},"--aspect-ratio":`${S/C*100}%`,...e.style||{}},children:[e.lazyLoad&&!i&&(0,Z.jsx)(`img`,{src:y,alt:`${c} - YouTube thumbnail`,className:`lty-thumbnail`,loading:`lazy`}),e.playlist&&!i&&(0,Z.jsx)(`div`,{className:`lty-playlist-icon`,"aria-hidden":`true`}),!(e.hideButtonOnActivate&&i)&&(0,Z.jsx)(`button`,{type:`button`,className:T,"aria-label":`${u} ${c}`,"aria-hidden":i||void 0,tabIndex:i?-1:0,onClick:M,children:(0,Z.jsx)(`span`,{className:`lty-visually-hidden`,children:u})}),i&&(0,Z.jsx)(`iframe`,{ref:t,className:w,title:c,width:`560`,height:`315`,allow:`accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture`,allowFullScreen:!0,src:m,referrerPolicy:e.referrerPolicy||`strict-origin-when-cross-origin`})]})]})}var GS=Q.forwardRef(WS);function KS(e){return e!==!1}function qS(e,t){let n=[];return t.startSeconds!==null&&n.push(`start=${t.startSeconds}`),e.controls===!1&&n.push(`controls=0`),e.loop===!0&&n.push(`loop=1`,`playlist=${t.id}`),e.playsinline===!0&&n.push(`playsinline=1`),n.length>0?n.join(`&`):void 0}function JS(e){if(e.width!==void 0)return{width:e.width}}function YS(e){if(!(e.width===void 0||e.height===void 0))return{aspectRatio:`${e.width} / ${e.height}`}}function XS(e){let t=(0,$.c)(23),n=(0,Q.useRef)(null),r=e.title??`Vimeo video player`,i;t[0]===r?i=t[1]:(i=e=>{let t=e;n.current=t,t.element&&(t.element.title=r)},t[0]=r,t[1]=i);let a=i,o,s;t[2]===r?(o=t[3],s=t[4]):(o=()=>{let e=n.current;e?.element&&(e.element.title=r)},s=[r],t[2]=r,t[3]=o,t[4]=s),(0,Q.useEffect)(o,s);let c;t[5]===e?c=t[6]:(c=JS(e),t[5]=e,t[6]=c);let l=e.width===void 0,u=e.autoplay===!0,d=e.muted===!0,f=e.muted===!0?0:1,p=e.loop===!0,m=e.controls!==!1,h=e.playsinline!==!1,g;t[7]!==a||t[8]!==e.height||t[9]!==e.src||t[10]!==e.width||t[11]!==h||t[12]!==l||t[13]!==u||t[14]!==d||t[15]!==f||t[16]!==p||t[17]!==m?(g=(0,Z.jsx)(BS,{video:e.src,responsive:l,width:e.width,height:e.height,autoplay:u,muted:d,volume:f,loop:p,controls:m,playsInline:h,onReady:a}),t[7]=a,t[8]=e.height,t[9]=e.src,t[10]=e.width,t[11]=h,t[12]=l,t[13]=u,t[14]=d,t[15]=f,t[16]=p,t[17]=m,t[18]=g):g=t[18];let _;return t[19]!==e.title||t[20]!==g||t[21]!==c?(_=(0,Z.jsx)(`div`,{className:`ok-video ok-video-vimeo`,style:c,title:e.title,children:g}),t[19]=e.title,t[20]=g,t[21]=c,t[22]=_):_=t[22],_}function ZS(e){let t=(0,$.c)(17),n;t[0]===e.src?n=t[1]:(n=kt(e.src),t[0]=e.src,t[1]=n);let r=n;if(!r)return null;let i;t[2]!==r.startRaw||t[3]!==e.autoplay||t[4]!==e.muted?(i=[],r.startRaw!==null&&i.push(`t=${r.startRaw}`),e.autoplay===!0&&i.push(`autoplay=true`),e.muted===!0&&i.push(`muted=true`),t[2]=r.startRaw,t[3]=e.autoplay,t[4]=e.muted,t[5]=i):i=t[5];let a=i.length>0?`https://www.loom.com/embed/${r.id}?${i.join(`&`)}`:`https://www.loom.com/embed/${r.id}`,o;t[6]===e?o=t[7]:(o=JS(e),t[6]=e,t[7]=o);let s=e.title??`Loom video player`,c;t[8]!==a||t[9]!==e.height||t[10]!==e.width||t[11]!==s?(c=(0,Z.jsx)(`iframe`,{className:`ok-video-loom-iframe`,src:a,title:s,width:e.width,height:e.height,allow:`autoplay; fullscreen`,referrerPolicy:`strict-origin-when-cross-origin`,allowFullScreen:!0}),t[8]=a,t[9]=e.height,t[10]=e.width,t[11]=s,t[12]=c):c=t[12];let l;return t[13]!==e.title||t[14]!==o||t[15]!==c?(l=(0,Z.jsx)(`div`,{className:`ok-video ok-video-loom`,style:o,title:e.title,children:c}),t[13]=e.title,t[14]=o,t[15]=c,t[16]=l):l=t[16],l}function QS(e){let t=(0,$.c)(29);if(e.src!==void 0&&k(e.src)){let n;return t[0]===e?n=t[1]:(n=(0,Z.jsx)(ZS,{...e,src:e.src}),t[0]=e,t[1]=n),n}if(e.src!==void 0&&Ae(e.src)){let n;return t[2]===e?n=t[3]:(n=(0,Z.jsx)(XS,{...e,src:e.src}),t[2]=e,t[3]=n),n}let n;if(t[4]!==e){n=Symbol.for(`react.early_return_sentinel`);bb0:{let r=e.src===void 0?null:Xe(e.src);if(r!==null){let i=e.autoplay===!0&&e.muted===!0,a=e.width!==void 0&&e.height!==void 0,o=JS(e),s;t[6]===e.poster?s=t[7]:(s=e.poster===void 0?void 0:ve(e.poster),t[6]=e.poster,t[7]=s);let c=(0,Z.jsx)(GS,{id:r.id,title:e.title??`YouTube video player`,cookie:!r.noCookie,params:qS(e,r),muted:e.muted===!0,autoplay:e.autoplay===!0,alwaysLoadIframe:i,thumbnail:s,aspectWidth:a?Number(e.width):void 0,aspectHeight:a?Number(e.height):void 0,style:YS(e)}),l;t[8]!==o||t[9]!==c?(l=(0,Z.jsx)(`div`,{className:`ok-video ok-video-youtube`,style:o,children:c}),t[8]=o,t[9]=c,t[10]=l):l=t[10],n=l;break bb0}}t[4]=e,t[5]=n}else n=t[5];if(n!==Symbol.for(`react.early_return_sentinel`))return n;let r;t[11]===e.src?r=t[12]:(r=e.src===void 0?void 0:ve(e.src),t[11]=e.src,t[12]=r);let i=e.title,a;t[13]===e.controls?a=t[14]:(a=KS(e.controls),t[13]=e.controls,t[14]=a);let o;t[15]===e.poster?o=t[16]:(o=e.poster===void 0?void 0:ve(e.poster),t[15]=e.poster,t[16]=o);let s;return t[17]!==e.autoplay||t[18]!==e.height||t[19]!==e.loop||t[20]!==e.muted||t[21]!==e.playsinline||t[22]!==e.preload||t[23]!==e.title||t[24]!==e.width||t[25]!==r||t[26]!==a||t[27]!==o?(s=(0,Z.jsx)(`video`,{className:`ok-video`,src:r,title:i,controls:a,autoPlay:e.autoplay,muted:e.muted,loop:e.loop,playsInline:e.playsinline,poster:o,preload:e.preload,width:e.width,height:e.height}),t[17]=e.autoplay,t[18]=e.height,t[19]=e.loop,t[20]=e.muted,t[21]=e.playsinline,t[22]=e.preload,t[23]=e.title,t[24]=e.width,t[25]=r,t[26]=a,t[27]=o,t[28]=s):s=t[28],s}function $S(e){let t=(0,$.c)(2),n;return t[0]===e.children?n=t[1]:(n=(0,Z.jsx)(`div`,{className:`prose-no-margin`,children:e.children}),t[0]=e.children,t[1]=n),n}var eC={Callout:jy,img:Db,video:QS,audio:Ey,Pdf:Nx,File:Wy,Embed:Hy,Accordion:wy,Tabs:Wx,Tab:Bx,Math:Ab,MermaidFence:nx,Mirror:yx,MirrorSource:bx,"*":$S};function tC(e){let t=new Set;for(let n of e)n.type===`reactnode`&&t.add(n.name);return t}var nC=Ve(),rC=new Map;function iC(e){if(e.surface===`compat`){let t=eC[e.rendersAs];if(!t)throw Error(`Compat descriptor '${e.name}' declares rendersAs: '${e.rendersAs}', but no React component is registered under that name in componentMap. Add the canonical component before registering the compat descriptor.`);return{Component:t,reactNodePropNames:tC(e.props)}}let t=eC[e.name];return t?{Component:t,reactNodePropNames:tC(e.props)}:null}for(let[e,t]of nC.entries()){let n=iC(t);n&&rC.set(e,n)}function aC(e,t){return{...e,Component:t.Component,reactNodePropNames:t.reactNodePropNames}}function oC(e){let t=nC.getOrWildcard(e),n=rC.get(t.name)??rC.get(`*`);if(!n)throw Error(`No React component registered for ${t.name} (and no '*' wildcard)`);return aC(t,n)}function sC(){let e=[];for(let[t,n]of nC.entries()){if(t===`*`)continue;let r=rC.get(t);r&&e.push(aC(n,r))}return e}var cC=``+new URL(`image-preview-BJSGEOo4.png`,import.meta.url).href,lC=``+new URL(`video-preview-vLovc_Vy.png`,import.meta.url).href,uC={Callout:{description:{id:`322lyb`},props:{type:`note`,title:`Heads up`},children:`Callouts draw attention to key information.`},Accordion:{description:{id:`mWVJRX`},props:{title:`Click to expand`,defaultOpen:!0},children:`Hidden content goes here.`},img:{description:{id:`VUijjF`},props:{src:cC,alt:`Sample image`}},video:{description:{id:`e1hptq`},props:{controls:!0,poster:lC}},audio:{description:{id:`9jnjV0`},props:{controls:!0}},Math:{description:{id:`Y-Urt2`},props:{formula:`c = \\pm\\sqrt{a^2 + b^2}`}},Embed:{description:{id:`jTLWxh`},render:()=>(0,Z.jsxs)(`div`,{className:`flex h-full w-full flex-col overflow-hidden rounded-md border border-border bg-background`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-1.5 border-b border-border bg-muted/40 px-2 py-1.5`,children:[(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`ml-1.5 flex-1 truncate rounded-sm bg-background px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground`,children:`https://example.com/embed`})]}),(0,Z.jsxs)(`div`,{className:`flex flex-1 flex-col justify-center gap-1.5 px-3 py-2`,children:[(0,Z.jsx)(`span`,{className:`h-1.5 w-3/4 rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`h-1.5 w-full rounded-sm bg-muted-foreground/20`}),(0,Z.jsx)(`span`,{className:`h-1.5 w-5/6 rounded-sm bg-muted-foreground/20`}),(0,Z.jsx)(`span`,{className:`h-1.5 w-2/3 rounded-sm bg-muted-foreground/20`})]})]})},Pdf:{description:{id:`Fqr8BP`},render:()=>(0,Z.jsxs)(`div`,{className:`flex h-full w-full flex-col overflow-hidden rounded-md border border-border bg-background`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-1 border-b border-border bg-muted/40 px-1.5 py-1`,children:[(0,Z.jsxs)(`svg`,{viewBox:`0 0 12 12`,className:`size-3 text-muted-foreground`,"aria-hidden":`true`,children:[(0,Z.jsx)(`title`,{children:`Thumbnails`}),(0,Z.jsx)(`rect`,{x:`1`,y:`1`,width:`4`,height:`4`,fill:`currentColor`,rx:`0.5`}),(0,Z.jsx)(`rect`,{x:`7`,y:`1`,width:`4`,height:`4`,fill:`currentColor`,rx:`0.5`}),(0,Z.jsx)(`rect`,{x:`1`,y:`7`,width:`4`,height:`4`,fill:`currentColor`,rx:`0.5`}),(0,Z.jsx)(`rect`,{x:`7`,y:`7`,width:`4`,height:`4`,fill:`currentColor`,rx:`0.5`})]}),(0,Z.jsxs)(`span`,{className:`ml-1 flex items-center gap-1 text-[10px] text-muted-foreground`,children:[(0,Z.jsx)(`span`,{className:`rounded-sm bg-background px-1 py-0.5 font-mono`,children:`2`}),(0,Z.jsx)(`span`,{children:`/ 12`})]}),(0,Z.jsxs)(`span`,{className:`ml-auto flex items-center gap-1 text-[10px] font-mono text-muted-foreground`,children:[(0,Z.jsx)(`span`,{className:`rounded-sm bg-background px-1 py-0.5`,children:`−`}),(0,Z.jsx)(`span`,{children:`100%`}),(0,Z.jsx)(`span`,{className:`rounded-sm bg-background px-1 py-0.5`,children:`+`})]})]}),(0,Z.jsxs)(`div`,{className:`flex flex-1 gap-1 p-1.5`,children:[(0,Z.jsxs)(`div`,{className:`flex w-6 flex-col gap-0.5`,children:[(0,Z.jsx)(`span`,{className:`h-3 rounded-sm bg-muted-foreground/20`}),(0,Z.jsx)(`span`,{className:`h-3 rounded-sm border border-foreground/60 bg-background`}),(0,Z.jsx)(`span`,{className:`h-3 rounded-sm bg-muted-foreground/20`})]}),(0,Z.jsxs)(`div`,{className:`flex flex-1 flex-col gap-1 rounded-sm bg-background p-1.5`,children:[(0,Z.jsx)(`span`,{className:`h-1.5 w-1/2 rounded-sm bg-foreground/50`}),(0,Z.jsx)(`span`,{className:`h-1 w-full rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`h-1 w-5/6 rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`h-1 w-full rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`h-1 w-2/3 rounded-sm bg-muted-foreground/30`})]})]})]})},MermaidFence:{description:{id:`z0a2EA`},render:()=>(0,Z.jsxs)(`svg`,{viewBox:`0 0 200 120`,className:`h-full w-full text-foreground`,"aria-hidden":`true`,preserveAspectRatio:`xMidYMid meet`,children:[(0,Z.jsx)(`title`,{children:`Mermaid flowchart preview`}),(0,Z.jsx)(`defs`,{children:(0,Z.jsx)(`marker`,{id:`mermaid-preview-arrow`,viewBox:`0 0 10 10`,refX:`9`,refY:`5`,markerWidth:`6`,markerHeight:`6`,orient:`auto-start-reverse`,children:(0,Z.jsx)(`path`,{d:`M 0 0 L 10 5 L 0 10 z`,fill:`currentColor`})})}),(0,Z.jsx)(`rect`,{x:`14`,y:`20`,width:`56`,height:`28`,rx:`14`,fill:`currentColor`,fillOpacity:`0.1`,stroke:`currentColor`,strokeOpacity:`0.7`}),(0,Z.jsx)(`text`,{x:`42`,y:`38`,textAnchor:`middle`,fontSize:`10`,fill:`currentColor`,children:`Start`}),(0,Z.jsx)(`polygon`,{points:`100,18 140,50 100,82 60,50`,fill:`currentColor`,fillOpacity:`0.1`,stroke:`currentColor`,strokeOpacity:`0.7`}),(0,Z.jsx)(`text`,{x:`100`,y:`54`,textAnchor:`middle`,fontSize:`10`,fill:`currentColor`,children:`Ready?`}),(0,Z.jsx)(`rect`,{x:`130`,y:`84`,width:`56`,height:`28`,rx:`14`,fill:`currentColor`,fillOpacity:`0.1`,stroke:`currentColor`,strokeOpacity:`0.7`}),(0,Z.jsx)(`text`,{x:`158`,y:`102`,textAnchor:`middle`,fontSize:`10`,fill:`currentColor`,children:`End`}),(0,Z.jsx)(`line`,{x1:`70`,y1:`34`,x2:`80`,y2:`40`,stroke:`currentColor`,strokeOpacity:`0.7`,strokeWidth:`1.2`,markerEnd:`url(#mermaid-preview-arrow)`}),(0,Z.jsx)(`line`,{x1:`124`,y1:`62`,x2:`138`,y2:`82`,stroke:`currentColor`,strokeOpacity:`0.7`,strokeWidth:`1.2`,markerEnd:`url(#mermaid-preview-arrow)`}),(0,Z.jsx)(`text`,{x:`138`,y:`74`,fontSize:`8`,fill:`currentColor`,opacity:`0.6`,children:`yes`})]})},Tabs:{description:{id:`75Y1dk`},render:()=>(0,Z.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,Z.jsxs)(`div`,{className:`flex gap-1 border-b border-border pb-1`,children:[(0,Z.jsx)(`span`,{className:`rounded-md bg-foreground/10 px-2 py-0.5 text-xs font-medium text-foreground`,children:`Tab 1`}),(0,Z.jsx)(`span`,{className:`rounded-md px-2 py-0.5 text-xs text-muted-foreground`,children:`Tab 2`})]}),(0,Z.jsx)(`p`,{className:`px-1 text-xs text-muted-foreground`,children:(0,Z.jsx)(o,{id:`m6YGpY`})})]})},Mirror:{description:{id:`_WPP7e`},render:()=>(0,Z.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,Z.jsxs)(`div`,{className:`relative rounded-md border border-dashed border-border/40 px-2 py-1.5`,children:[(0,Z.jsxs)(`span`,{className:`absolute -top-2 right-1.5 flex items-center gap-1 rounded-md bg-background px-1 text-[10px] text-muted-foreground`,children:[(0,Z.jsx)(no,{className:`size-2.5`,"aria-hidden":`true`}),(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`EL_YRd`,components:{0:(0,Z.jsx)(`code`,{className:`font-mono`})}})})]}),(0,Z.jsx)(`span`,{className:`block h-1.5 w-3/4 rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`mt-1 block h-1.5 w-2/3 rounded-sm bg-muted-foreground/20`})]}),(0,Z.jsx)(`p`,{className:`px-1 text-[10px] text-muted-foreground`,children:(0,Z.jsx)(o,{id:`qNOgUu`})})]})},MirrorSource:{description:{id:`epuNYK`},render:()=>(0,Z.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,Z.jsxs)(`div`,{className:`relative rounded-md border border-dashed border-border/50 px-2 py-1.5`,children:[(0,Z.jsxs)(`span`,{className:`absolute -top-2 left-1.5 flex items-center gap-1 rounded-md bg-background px-1 text-[10px] text-muted-foreground`,children:[(0,Z.jsx)(hn,{className:`size-2.5`,"aria-hidden":`true`}),(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`maDWIB`,components:{0:(0,Z.jsx)(`code`,{className:`font-mono`})}})})]}),(0,Z.jsx)(`span`,{className:`block h-1.5 w-4/5 rounded-sm bg-muted-foreground/30`}),(0,Z.jsx)(`span`,{className:`mt-1 block h-1.5 w-3/5 rounded-sm bg-muted-foreground/20`})]}),(0,Z.jsx)(`p`,{className:`px-1 text-[10px] text-muted-foreground`,children:(0,Z.jsx)(o,{id:`emgiet`})})]})}};function dC(e){let t={};for(let n of e.props)n.type!==`reactnode`&&`defaultValue`in n&&n.defaultValue!==void 0&&(t[n.name]=n.defaultValue);return t}function fC(e){let t=oC(e),n=dC(t);return{type:`jsxComponent`,attrs:{componentName:t.name,kind:`element`,attributes:[],sourceRaw:``,sourceDirty:!0,props:n},content:t.hasChildren?[{type:`paragraph`}]:void 0}}var pC=new Set;function mC(e){pC.add(e)}function hC(e){if(typeof e==`number`)return pC.delete(e);let t=pC.values().next();return t.done?!1:(pC.delete(t.value),!0)}function gC(e,t,n){n.props.some(e=>!(`hidden`in e&&e.hidden)&&e.type!==`reactnode`)?(mC(t),requestAnimationFrame(()=>{e.commands.setNodeSelection(t)})):n.hasChildren&&e.commands.setTextSelection(t+2)}function _C(e){return t=>{let n=new WeakSet;t.state.doc.descendants(t=>{t.type.name===`jsxComponent`&&t.attrs.componentName===e.name&&n.add(t)});let r=fC(e.name);if(e.name===`Tabs`){let e=fC(`Tab`),t=fC(`Tab`),n=e.attrs,i=t.attrs;n.props={...n.props,label:`Tab 1`},i.props={...i.props,label:`Tab 2`},r.content=[e,t]}t.chain().focus().insertContent(r).run();let i=-1;t.state.doc.descendants((t,r)=>{if(i>=0)return!1;t.type.name===`jsxComponent`&&t.attrs.componentName===e.name&&!n.has(t)&&(i=r)}),!(i<0)&&gC(t,i,e)}}var vC=new Set([`File`,`Tab`]);function yC(){return[{name:`component-File`,label:Ci._({id:`J2eKUI`}),icon:so,category:`media`,aliases:[`file`,`attachment`,`download`,`upload`,`document`,`doc`,`docx`,`zip`],description:"Attach a downloadable file (`.pdf` / `.docx` / `.zip` / …)",command:xC,preview:{description:Ci._({id:`t-JXbf`}),render:()=>(0,Z.jsxs)(`div`,{className:`flex w-full items-baseline gap-2 rounded-md px-2 py-1.5`,children:[(0,Z.jsx)(so,{className:`size-4 shrink-0 text-muted-foreground`,"aria-hidden":`true`}),(0,Z.jsx)(`span`,{className:`truncate font-medium text-foreground`,children:`quarterly-report.pdf`}),(0,Z.jsx)(`span`,{className:`shrink-0 text-xs text-muted-foreground`,children:`1.4 MB`})]})}}]}function bC(){return[...sC().filter(e=>e.surface===`canonical`&&!vC.has(e.name)).map(e=>{let t=uC[e.name],n=e.Component,r=t?{description:Ci._(t.description),render:t.render??(()=>(0,Z.jsx)(n,{...t.props,children:t.children}))}:void 0;return{name:`component-${e.name}`,label:e.displayName??e.name,icon:by(e.icon),category:e.category??`content`,command:_C(e),aliases:e.searchTerms,description:e.description,preview:r}}),...yC()]}function xC(e){let t=document.createElement(`input`);t.type=`file`,t.accept=`*/*`,t.style.display=`none`,t.addEventListener(`change`,()=>{let n=t.files?.[0];if(n){let t=e.state.selection.from;Uv(n,e,t)}t.remove()},{once:!0}),t.addEventListener(`cancel`,()=>t.remove(),{once:!0}),document.body.appendChild(t),t.click()}function SC(){return[{name:`link`,label:Ci._({id:`yzF66j`}),icon:So,category:`insert`,aliases:[`url`,`href`,`external`,`web`,`hyperlink`,`wiki`,`wikilink`,`[[`,`internal`,`page`,`backlink`,`cross-link`],description:`Link to a page or external URL`,preview:{description:Ci._({id:`5WDhAk`}),render:()=>(0,Z.jsx)(`p`,{className:`leading-7 text-sm`,children:(0,Z.jsx)(o,{id:`u-9fWA`,components:{0:(0,Z.jsx)(`span`,{className:`font-medium text-azure-blue underline underline-offset-2 dark:text-sky-blue`})}})})},command:e=>{let t=e.state.selection.from;e.chain().focus().insertContent({type:`text`,text:`link`,marks:[{type:`link`,attrs:{href:``}}]}).run();let n=ry(e.state,t,`link`);n&&(Xv(n),requestAnimationFrame(()=>{vy(e).setActiveNode(n)}))}},{name:`component-Tag`,label:Ci._({id:`UL8A9w`}),icon:fo,category:`content`,aliases:[`#`,`hashtag`,`label`],description:"Inline tag (`#tagname`) for cross-doc linking",preview:{description:Ci._({id:`5ClEAu`}),render:()=>(0,Z.jsx)(`p`,{className:`text-sm leading-7`,children:(0,Z.jsx)(o,{id:`KZLdgR`,components:{0:(0,Z.jsx)(`a`,{className:`tag pointer-events-none`})}})})},command:e=>{e.chain().insertTag(``).run()}}]}function CC(e,t){e.chain().focus().insertContent({type:`codeBlock`,attrs:{language:`html`,meta:`preview`},content:[{type:`text`,text:t}]}).run()}var wC=`<div style="padding:20px;font-family:system-ui,sans-serif;color:var(--foreground)">
|
|
4
|
-
<h1 style="margin:0 0 8px;font-size:20px;font-weight:600">Hello, world!</h1>
|
|
5
|
-
<p style="margin:0;color:var(--muted-foreground)">Edit this HTML — the preview updates live.</p>
|
|
6
|
-
</div>`,TC={chart:{icon:qa,aliases:[`chart`,`bar`,`graph`,`plot`,`viz`,`data`,`embed`,`preview`],render:()=>(0,Z.jsxs)(`div`,{className:`flex h-20 w-full items-end gap-1.5`,children:[(0,Z.jsx)(`div`,{className:`h-[45%] flex-1 rounded-t-sm bg-chart-1`}),(0,Z.jsx)(`div`,{className:`h-[70%] flex-1 rounded-t-sm bg-chart-2`}),(0,Z.jsx)(`div`,{className:`h-[90%] flex-1 rounded-t-sm bg-chart-3`}),(0,Z.jsx)(`div`,{className:`h-[60%] flex-1 rounded-t-sm bg-chart-4`}),(0,Z.jsx)(`div`,{className:`h-[80%] flex-1 rounded-t-sm bg-chart-5`})]})},"stat-cards":{icon:_o,aliases:[`stat`,`stats`,`metric`,`metrics`,`cards`,`kpi`,`embed`,`preview`],render:()=>(0,Z.jsxs)(`div`,{className:`flex gap-2`,children:[(0,Z.jsxs)(`div`,{className:`flex-1 rounded-md border border-border bg-card p-2`,children:[(0,Z.jsx)(`div`,{className:`text-[10px] text-muted-foreground`,children:`Users`}),(0,Z.jsx)(`div`,{className:`text-sm font-bold text-card-foreground`,children:`12.4k`}),(0,Z.jsx)(`div`,{className:`text-[10px] font-semibold text-chart-2`,children:`+8.2%`})]}),(0,Z.jsxs)(`div`,{className:`flex-1 rounded-md border border-border bg-card p-2`,children:[(0,Z.jsx)(`div`,{className:`text-[10px] text-muted-foreground`,children:`Revenue`}),(0,Z.jsx)(`div`,{className:`text-sm font-bold text-card-foreground`,children:`$48k`}),(0,Z.jsx)(`div`,{className:`text-[10px] font-semibold text-chart-1`,children:`+3.1%`})]})]})},"custom-svg":{icon:Lo,aliases:[`svg`,`vector`,`graphic`,`illustration`,`ring`,`embed`,`preview`],render:()=>(0,Z.jsx)(`div`,{className:`flex items-center justify-center text-chart-1`,children:(0,Z.jsxs)(`svg`,{width:`72`,height:`72`,viewBox:`0 0 72 72`,"aria-hidden":`true`,children:[(0,Z.jsx)(`circle`,{cx:`36`,cy:`36`,r:`28`,fill:`none`,stroke:`currentColor`,strokeOpacity:`0.15`,strokeWidth:`9`}),(0,Z.jsx)(`circle`,{cx:`36`,cy:`36`,r:`28`,fill:`none`,stroke:`currentColor`,strokeWidth:`9`,strokeLinecap:`round`,strokeDasharray:`176`,strokeDashoffset:`53`,transform:`rotate(-90 36 36)`})]})})},"interactive-control":{icon:Bo,aliases:[`interactive`,`slider`,`control`,`widget`,`input`,`embed`,`preview`],render:()=>(0,Z.jsxs)(`div`,{className:`space-y-2`,children:[(0,Z.jsx)(`div`,{className:`text-lg font-bold text-chart-1`,children:`$2,500`}),(0,Z.jsxs)(`div`,{className:`relative h-1.5 rounded-full bg-muted`,children:[(0,Z.jsx)(`div`,{className:`absolute inset-y-0 left-0 w-1/3 rounded-full bg-primary`}),(0,Z.jsx)(`div`,{className:`-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/3 size-3 rounded-full bg-primary`})]}),(0,Z.jsx)(`div`,{className:`text-[10px] text-muted-foreground`,children:`Drag to adjust`})]})}};function EC(){return{name:`embed-starter-html`,label:Ci._({id:`FBknns`}),icon:eo,category:`embed`,aliases:[`html`,`embed`,`preview`,`iframe`,`sandbox`,`web`,`snippet`],description:Ci._({id:`4niEzY`}),command:e=>CC(e,wC),preview:{description:Ci._({id:`rageVb`}),render:()=>(0,Z.jsxs)(`div`,{className:`flex h-full w-full flex-col overflow-hidden rounded-md border border-border bg-background`,children:[(0,Z.jsxs)(`div`,{className:`flex items-center gap-1.5 border-b border-border bg-muted/40 px-2 py-1.5`,children:[(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`size-1.5 rounded-full bg-muted-foreground/40`}),(0,Z.jsx)(`span`,{className:`ml-1.5 flex-1 truncate rounded-sm bg-background px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground`,children:`sandbox`})]}),(0,Z.jsxs)(`div`,{className:`flex flex-1 flex-col justify-center gap-1.5 px-3 py-3`,children:[(0,Z.jsx)(`span`,{className:`font-semibold text-foreground text-sm`,children:(0,Z.jsx)(o,{id:`3HNlwb`})}),(0,Z.jsx)(`span`,{className:`text-[10px] text-muted-foreground`,children:(0,Z.jsx)(o,{id:`bH382I`})})]})]})}}}function DC(){let e=le.map(e=>{let t=TC[e.id];return{name:`embed-starter-${e.id}`,label:e.title,icon:t.icon,category:`embed`,command:t=>CC(t,e.html),aliases:t.aliases,description:e.description,preview:{description:e.description,render:t.render}}});return[EC(),...e]}function OC(){return[{name:`heading1`,label:Ci._({id:`lXKZGw`}),icon:po,category:`basic`,command:e=>e.chain().focus().toggleHeading({level:1}).run(),aliases:[`h1`],preview:{description:Ci._({id:`3J7d2N`}),render:()=>(0,Z.jsx)(`h1`,{className:`text-2xl font-semibold tracking-tight`,children:(0,Z.jsx)(o,{id:`lXKZGw`})})}},{name:`heading2`,label:Ci._({id:`El7NbA`}),icon:mo,category:`basic`,command:e=>e.chain().focus().toggleHeading({level:2}).run(),aliases:[`h2`],preview:{description:Ci._({id:`LXdWeS`}),render:()=>(0,Z.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight`,children:(0,Z.jsx)(o,{id:`El7NbA`})})}},{name:`heading3`,label:Ci._({id:`SFN6dN`}),icon:ho,category:`basic`,command:e=>e.chain().focus().toggleHeading({level:3}).run(),aliases:[`h3`],preview:{description:Ci._({id:`g4XBm0`}),render:()=>(0,Z.jsx)(`h3`,{className:`text-base font-semibold tracking-tight`,children:(0,Z.jsx)(o,{id:`SFN6dN`})})}},{name:`bulletList`,label:Ci._({id:`s1c0ja`}),icon:To,category:`basic`,command:e=>e.chain().focus().toggleBulletList().run(),aliases:[`ul`,`unordered`],preview:{description:Ci._({id:`fYjgXu`}),render:()=>(0,Z.jsxs)(`ul`,{className:`list-disc pl-5 text-sm leading-7`,children:[(0,Z.jsx)(`li`,{children:(0,Z.jsx)(o,{id:`FCxvG5`})}),(0,Z.jsx)(`li`,{children:(0,Z.jsx)(o,{id:`saIASg`})})]})}},{name:`orderedList`,label:Ci._({id:`Uci-Ph`}),icon:Co,category:`basic`,command:e=>e.chain().focus().toggleOrderedList().run(),aliases:[`ol`,`numbered`],preview:{description:Ci._({id:`rXz97P`}),render:()=>(0,Z.jsxs)(`ol`,{className:`list-decimal pl-5 text-sm leading-7`,children:[(0,Z.jsx)(`li`,{children:(0,Z.jsx)(o,{id:`FCxvG5`})}),(0,Z.jsx)(`li`,{children:(0,Z.jsx)(o,{id:`saIASg`})})]})}},{name:`taskList`,label:Ci._({id:`G_686w`}),icon:wo,category:`basic`,command:e=>e.chain().focus().toggleTaskList().run(),aliases:[`todo`,`checklist`,`checkbox`],preview:{description:Ci._({id:`yutJKi`}),render:()=>(0,Z.jsxs)(`ul`,{className:`space-y-1.5 text-sm`,children:[(0,Z.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,Z.jsx)(`input`,{type:`checkbox`,checked:!0,readOnly:!0,className:`size-3.5`}),(0,Z.jsx)(`span`,{className:`text-muted-foreground line-through`,children:(0,Z.jsx)(o,{id:`DPfwMq`})})]}),(0,Z.jsxs)(`li`,{className:`flex items-center gap-2`,children:[(0,Z.jsx)(`input`,{type:`checkbox`,readOnly:!0,className:`size-3.5`}),(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`rZ9HZq`})})]})]})}},{name:`blockquote`,label:Ci._({id:`ZhhOwV`}),icon:No,category:`basic`,command:e=>e.chain().focus().toggleBlockquote().run(),aliases:[`quote`],preview:{description:Ci._({id:`w7nm4K`}),render:()=>(0,Z.jsx)(`blockquote`,{className:`border-l-2 border-muted-foreground/40 pl-3 text-sm italic text-muted-foreground`,children:(0,Z.jsx)(o,{id:`74-bX-`})})}},{name:`codeBlock`,label:Ci._({id:`N2eHWq`}),icon:$a,category:`basic`,command:e=>e.chain().focus().toggleCodeBlock({language:`js`}).run(),aliases:[`code`,`fence`],preview:{description:Ci._({id:`XpIZmv`}),render:()=>(0,Z.jsx)(`pre`,{className:`rounded-md bg-muted px-2.5 py-2 font-mono text-xs leading-5`,children:(0,Z.jsx)(`code`,{children:`const greeting = "Hello";
|
|
7
|
-
console.log(greeting);`})})}},{name:`table`,label:Ci._({id:`4hJhzz`}),icon:Uo,category:`insert`,command:e=>e.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),aliases:[`grid`],preview:{description:Ci._({id:`H0WlWQ`}),render:()=>(0,Z.jsxs)(`table`,{className:`w-full border-collapse text-xs`,children:[(0,Z.jsx)(`thead`,{children:(0,Z.jsxs)(`tr`,{children:[(0,Z.jsx)(`th`,{className:`border border-border bg-muted/50 px-2 py-1 text-left font-semibold`,children:(0,Z.jsx)(o,{id:`6YtxFj`})}),(0,Z.jsx)(`th`,{className:`border border-border bg-muted/50 px-2 py-1 text-left font-semibold`,children:(0,Z.jsx)(o,{id:`GDvlUT`})})]})}),(0,Z.jsxs)(`tbody`,{children:[(0,Z.jsxs)(`tr`,{children:[(0,Z.jsx)(`td`,{className:`border border-border px-2 py-1`,children:`Ada`}),(0,Z.jsx)(`td`,{className:`border border-border px-2 py-1`,children:`Engineer`})]}),(0,Z.jsxs)(`tr`,{children:[(0,Z.jsx)(`td`,{className:`border border-border px-2 py-1`,children:`Grace`}),(0,Z.jsx)(`td`,{className:`border border-border px-2 py-1`,children:`Admiral`})]})]})]})}},{name:`separator`,label:Ci._({id:`yLq4w4`}),icon:Do,category:`insert`,command:e=>e.chain().focus().setHorizontalRule().run(),aliases:[`hr`,`divider`,`rule`],preview:{description:Ci._({id:`0wswKc`}),render:()=>(0,Z.jsxs)(`div`,{className:`w-full`,children:[(0,Z.jsx)(`p`,{className:`mb-2 text-xs text-muted-foreground`,children:(0,Z.jsx)(o,{id:`KYcZ6Y`})}),(0,Z.jsx)(`hr`,{className:`border-border`}),(0,Z.jsx)(`p`,{className:`mt-2 text-xs text-muted-foreground`,children:(0,Z.jsx)(o,{id:`tAPZEx`})})]})}},{name:`footnote`,label:Ci._({id:`dOxPd4`}),icon:Ho,category:`insert`,command:e=>{let t=Et(De(e.state.doc)),n=Ne(e.state.doc)+1;e.chain().focus().insertFootnoteReference(t).insertContentAt(n,{type:`footnoteDefinition`,attrs:{identifier:t,label:t},content:[{type:`paragraph`}]}).run()},aliases:[`fn`,`ref`,`[^`],preview:{description:Ci._({id:`kFLlsI`}),render:()=>(0,Z.jsx)(`p`,{className:`text-sm leading-6`,children:(0,Z.jsx)(o,{id:`hxBHxQ`,components:{0:(0,Z.jsx)(`sup`,{className:`footnote-ref`}),1:(0,Z.jsx)(`a`,{className:`footnote-ref-link`,href:`#fn-1`})}})})}},{name:`inlineMath`,label:Ci._({id:`q2kXMG`}),icon:zo,category:`insert`,command:e=>{let t=e.state.selection.from;e.chain().focus().insertMathInline(``).run(),mC(t),requestAnimationFrame(()=>{e.commands.setNodeSelection(t)})},aliases:[`math`,`latex`,`equation`,`formula`,`katex`,`inlinemath`],preview:{description:Ci._({id:`eNQGRb`}),render:()=>(0,Z.jsx)(`p`,{className:`text-sm leading-7`,children:(0,Z.jsx)(o,{id:`5Ajb15`,components:{0:(0,Z.jsx)(`span`,{className:`rounded bg-muted px-1.5 py-0.5 font-serif italic`})}})})}}]}function kC(e,t){if(!t)return e;let n=t.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(n)||e.name.toLowerCase().includes(n)||e.aliases?.some(e=>e.toLowerCase().includes(n)))}function AC(e){let{$from:t}=e.selection;return t.depth===0?null:{from:t.before(1),to:t.after(1)}}function jC(e,t){let n=AC(e);if(!n)return!1;let{from:r,to:i}=n;if(r===0)return!1;let a=e.doc.resolve(r-1);if(a.depth===0)return!1;let o=a.before(1),s=e.doc.slice(r,i).content,c=e.doc.slice(o,r).content;if(!t)return!0;let l=e.tr;l.replaceWith(o,i,s.append(c));let u=o+1,d=o+s.size,f=e.selection.from-r,p=Math.min(u+f,d);return l.setSelection(y.near(l.doc.resolve(p))),l.scrollIntoView(),t(l),!0}function MC(e,t){let n=AC(e);if(!n)return!1;let{from:r,to:i}=n;if(i>=e.doc.content.size)return!1;let a=e.doc.resolve(i+1);if(a.depth===0)return!1;let o=a.after(1),s=e.doc.slice(r,i).content,c=e.doc.slice(i,o).content;if(!t)return!0;let l=e.tr;l.replaceWith(r,o,c.append(s));let u=r+c.size+1,d=r+c.size+s.size,f=e.selection.from-r,p=Math.min(u+f,d);return l.setSelection(y.near(l.doc.resolve(p))),l.scrollIntoView(),t(l),!0}var NC=be.create({name:`blockMover`,addKeyboardShortcuts(){return{"Mod-Shift-ArrowUp":({editor:e})=>jC(e.state,e.view.dispatch),"Mod-Shift-ArrowDown":({editor:e})=>MC(e.state,e.view.dispatch)}}}),PC=new Re(`bridgeId`);function FC(e){let t=Lp.getState(e);return t?.binding?.mapping?t.binding.mapping:null}function IC(e){let t=FC(e);if(!t)return null;let n=new Map;for(let[e,r]of t)r&&`nodeName`in e&&typeof e.getAttribute==`function`&&n.set(r,e);return n}function LC(e,t){return e?e.get(t)??null:null}var RC=be.create({name:`bridgeIdPlugin`,priority:1e3,addProseMirrorPlugins(){return[new Ut({key:PC,state:{init(e,t){let n={yElementToId:new WeakMap,posToId:new Map,counter:0},r=IC(t);return t.doc.descendants((e,t)=>{if(e.type.name!==`jsxComponent`)return;let i=LC(r,e);if(i){let e=`b${++n.counter}`;n.yElementToId.set(i,e),n.posToId.set(t,e)}else{let e=`b${++n.counter}`;n.posToId.set(t,e)}}),n},apply(e,t,n,r){if(!e.docChanged){let n=new Map;for(let[i,a]of t.posToId){let t=e.mapping.map(i);r.doc.nodeAt(t)?.type.name===`jsxComponent`&&n.set(t,a)}return{...t,posToId:n}}let i=new Map,{counter:a}=t,{yElementToId:o}=t,s=IC(r);return r.doc.descendants((n,r)=>{if(n.type.name!==`jsxComponent`)return;let c=LC(s,n);if(c){let e=o.get(c);if(e)i.set(r,e);else{let e=`b${++a}`;o.set(c,e),i.set(r,e)}}else{let n=!1;for(let[a,o]of t.posToId)if(e.mapping.map(a)===r){i.set(r,o),n=!0;break}if(!n){let e=`b${++a}`;i.set(r,e)}}}),{yElementToId:o,posToId:i,counter:a}}}})]}}),zC=new Re(`chunkWrapperDecoration`),BC=`ok-chunk-wrapper`,VC=!1;function HC(){return globalThis.CSS===void 0||typeof globalThis.CSS.supports!=`function`?!0:globalThis.CSS.supports(`content-visibility`,`auto`)}var UC=HC();function WC(){return UC?new Ut({key:zC,props:{decorations(e){let t=[];return e.doc.forEach((e,n)=>{e.isInline||e.type.name!==`jsxComponent`&&t.push(mt.node(n,n+e.nodeSize,{class:BC}))}),t.length===0?null:(VC||(VC=!0,Y(`ok/render/cv-auto-skip`,{chunkCount:t.length},{startTime:performance.now(),duration:0})),$e.create(e.doc,t))}}}):new Ut({key:zC})}function GC(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(?!struct)(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:`number`,variants:[{begin:`[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)`},{begin:`[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)`}],relevance:0},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq`.split(`.`),p=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],m=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),h=`abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf`.split(`.`),g={type:p,keyword:f,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:m},_={className:`function.dispatch`,relevance:0,keywords:{_hint:h},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},v=[_,l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat([`self`]),relevance:0}]),relevance:0},b={className:`function`,begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:g,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(y,b,_,v,[l,{begin:`\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)`,end:`>`,keywords:g,contains:[`self`,o]},{begin:e.IDENT_RE+`::`,keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}function KC(e){let t={type:[`boolean`,`byte`,`word`,`String`],built_in:`KeyboardController.MouseController.SoftwareSerial.EthernetServer.EthernetClient.LiquidCrystal.RobotControl.GSMVoiceCall.EthernetUDP.EsploraTFT.HttpClient.RobotMotor.WiFiClient.GSMScanner.FileSystem.Scheduler.GSMServer.YunClient.YunServer.IPAddress.GSMClient.GSMModem.Keyboard.Ethernet.Console.GSMBand.Esplora.Stepper.Process.WiFiUDP.GSM_SMS.Mailbox.USBHost.Firmata.PImage.Client.Server.GSMPIN.FileIO.Bridge.Serial.EEPROM.Stream.Mouse.Audio.Servo.File.Task.GPRS.WiFi.Wire.TFT.GSM.SPI.SD`.split(`.`),_hints:`setup.loop.runShellCommandAsynchronously.analogWriteResolution.retrieveCallingNumber.printFirmwareVersion.analogReadResolution.sendDigitalPortPair.noListenOnLocalhost.readJoystickButton.setFirmwareVersion.readJoystickSwitch.scrollDisplayRight.getVoiceCallStatus.scrollDisplayLeft.writeMicroseconds.delayMicroseconds.beginTransmission.getSignalStrength.runAsynchronously.getAsynchronously.listenOnLocalhost.getCurrentCarrier.readAccelerometer.messageAvailable.sendDigitalPorts.lineFollowConfig.countryNameWrite.runShellCommand.readStringUntil.rewindDirectory.readTemperature.setClockDivider.readLightSensor.endTransmission.analogReference.detachInterrupt.countryNameRead.attachInterrupt.encryptionType.readBytesUntil.robotNameWrite.readMicrophone.robotNameRead.cityNameWrite.userNameWrite.readJoystickY.readJoystickX.mouseReleased.openNextFile.scanNetworks.noInterrupts.digitalWrite.beginSpeaker.mousePressed.isActionDone.mouseDragged.displayLogos.noAutoscroll.addParameter.remoteNumber.getModifiers.keyboardRead.userNameRead.waitContinue.processInput.parseCommand.printVersion.readNetworks.writeMessage.blinkVersion.cityNameRead.readMessage.setDataMode.parsePacket.isListening.setBitOrder.beginPacket.isDirectory.motorsWrite.drawCompass.digitalRead.clearScreen.serialEvent.rightToLeft.setTextSize.leftToRight.requestFrom.keyReleased.compassRead.analogWrite.interrupts.WiFiServer.disconnect.playMelody.parseFloat.autoscroll.getPINUsed.setPINUsed.setTimeout.sendAnalog.readSlider.analogRead.beginWrite.createChar.motorsStop.keyPressed.tempoWrite.readButton.subnetMask.debugPrint.macAddress.writeGreen.randomSeed.attachGPRS.readString.sendString.remotePort.releaseAll.mouseMoved.background.getXChange.getYChange.answerCall.getResult.voiceCall.endPacket.constrain.getSocket.writeJSON.getButton.available.connected.findUntil.readBytes.exitValue.readGreen.writeBlue.startLoop.IPAddress.isPressed.sendSysex.pauseMode.gatewayIP.setCursor.getOemKey.tuneWrite.noDisplay.loadImage.switchPIN.onRequest.onReceive.changePIN.playFile.noBuffer.parseInt.overflow.checkPIN.knobRead.beginTFT.bitClear.updateIR.bitWrite.position.writeRGB.highByte.writeRed.setSpeed.readBlue.noStroke.remoteIP.transfer.shutdown.hangCall.beginSMS.endWrite.attached.maintain.noCursor.checkReg.checkPUK.shiftOut.isValid.shiftIn.pulseIn.connect.println.localIP.pinMode.getIMEI.display.noBlink.process.getBand.running.beginSD.drawBMP.lowByte.setBand.release.bitRead.prepare.pointTo.readRed.setMode.noFill.remove.listen.stroke.detach.attach.noTone.exists.buffer.height.bitSet.circle.config.cursor.random.IRread.setDNS.endSMS.getKey.micros.millis.begin.print.write.ready.flush.width.isPIN.blink.clear.press.mkdir.rmdir.close.point.yield.image.BSSID.click.delay.read.text.move.peek.beep.rect.line.open.seek.fill.size.turn.stop.home.find.step.tone.sqrt.RSSI.SSID.end.bit.tan.cos.sin.pow.map.abs.max.min.get.run.put`.split(`.`),literal:[`DIGITAL_MESSAGE`,`FIRMATA_STRING`,`ANALOG_MESSAGE`,`REPORT_DIGITAL`,`REPORT_ANALOG`,`INPUT_PULLUP`,`SET_PIN_MODE`,`INTERNAL2V56`,`SYSTEM_RESET`,`LED_BUILTIN`,`INTERNAL1V1`,`SYSEX_START`,`INTERNAL`,`EXTERNAL`,`DEFAULT`,`OUTPUT`,`INPUT`,`HIGH`,`LOW`]},n=GC(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name=`Arduino`,n.aliases=[`ino`],n.supersetOf=`cpp`,n}function qC(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}function JC(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,variants:[{begin:`\\b[a-z\\d_]*_t\\b`},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:`number`,variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f={keyword:`asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma`.split(`.`),type:`float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary`.split(`.`),literal:`true false NULL`,built_in:`std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr`},p=[l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:f,contains:p.concat([{begin:/\(/,end:/\)/,keywords:f,contains:p.concat([`self`]),relevance:0}]),relevance:0},h={begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:`title.function`})],relevance:0},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C`,aliases:[`h`],keywords:f,disableAutodetect:!0,illegal:`</`,contains:[].concat(m,h,p,[l,{begin:e.IDENT_RE+`::`,keywords:f},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:f}}}function YC(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(?!struct)(`+r+`|`+t.optional(i)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,o={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},s={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:`number`,variants:[{begin:`[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)`},{begin:`[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)`}],relevance:0},l={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:`title`,begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq`.split(`.`),p=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],m=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),h=`abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf`.split(`.`),g={type:p,keyword:f,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:m},_={className:`function.dispatch`,relevance:0,keywords:{_hint:h},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},v=[_,l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat([`self`]),relevance:0}]),relevance:0},b={className:`function`,begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:g,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(y,b,_,v,[l,{begin:`\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)`,end:`>`,keywords:g,contains:[`self`,o]},{begin:e.IDENT_RE+`::`,keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}function XC(e){let t=[`bool`,`byte`,`char`,`decimal`,`delegate`,`double`,`dynamic`,`enum`,`float`,`int`,`long`,`nint`,`nuint`,`object`,`sbyte`,`short`,`string`,`ulong`,`uint`,`ushort`],n=[`public`,`private`,`protected`,`static`,`internal`,`protected`,`abstract`,`async`,`extern`,`override`,`unsafe`,`virtual`,`new`,`sealed`,`partial`],r={keyword:`abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while`.split(`.`).concat(`add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield`.split(`.`)),built_in:t,literal:[`default`,`false`,`null`,`true`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a={className:`number`,variants:[{begin:`\\b(0b[01']+)`},{begin:`(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)`},{begin:`(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)`}],relevance:0},o={className:`string`,begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:`string`,begin:`@"`,end:`"`,contains:[{begin:`""`}]},c=e.inherit(s,{illegal:/\n/}),l={className:`subst`,begin:/\{/,end:/\}/,keywords:r},u=e.inherit(l,{illegal:/\n/}),d={className:`string`,begin:/\$"/,end:`"`,illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:`string`,begin:/\$@"/,end:`"`,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},l]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]});l.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},g=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,_={begin:`@`+e.IDENT_RE,relevance:0};return{name:`C#`,aliases:[`cs`,`c#`],keywords:r,illegal:/::/,contains:[e.COMMENT(`///`,`$`,{returnBegin:!0,contains:[{className:`doctag`,variants:[{begin:`///`,relevance:0},{begin:`<!--|-->`},{begin:`</?`,end:`>`}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`meta`,begin:`#`,end:`$`,keywords:{keyword:`if else elif endif define undef warning error line region endregion pragma checksum`}},m,a,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`meta`,begin:`^\\s*\\[(?=[\\w])`,excludeBegin:!0,end:`\\]`,excludeEnd:!0,contains:[{className:`string`,begin:/"/,end:/"/}]},{beginKeywords:`new return throw await else`,relevance:0},{className:`function`,begin:`(`+g+`\\s+)+`+e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(` `),relevance:0},{begin:e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}var ZC=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),QC=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),$C=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),ew=[...QC,...$C],tw=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),nw=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),rw=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),iw=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function aw(e){let t=e.regex,n=ZC(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+nw.join(`|`)+`)`},{begin:`:(:)?(`+rw.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+iw.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:tw.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+ew.join(`|`)+`)\\b`}]}}function ow(e){let t=e.regex;return{name:`Diff`,aliases:[`patch`],contains:[{className:`meta`,relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:`comment`,variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:`addition`,begin:/^\+/,end:/$/},{className:`deletion`,begin:/^-/,end:/$/},{className:`addition`,begin:/^!/,end:/$/}]}}function sw(e){let t={keyword:[`break`,`case`,`chan`,`const`,`continue`,`default`,`defer`,`else`,`fallthrough`,`for`,`func`,`go`,`goto`,`if`,`import`,`interface`,`map`,`package`,`range`,`return`,`select`,`struct`,`switch`,`type`,`var`],type:[`bool`,`byte`,`complex64`,`complex128`,`error`,`float32`,`float64`,`int8`,`int16`,`int32`,`int64`,`string`,`uint8`,`uint16`,`uint32`,`uint64`,`int`,`uint`,`uintptr`,`rune`],literal:[`true`,`false`,`iota`,`nil`],built_in:[`append`,`cap`,`close`,`complex`,`copy`,`imag`,`len`,`make`,`new`,`panic`,`print`,`println`,`real`,`recover`,`delete`]};return{name:`Go`,aliases:[`golang`],keywords:t,illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`string`,variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:`number`,variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:`function`,beginKeywords:`func`,end:`\\s*(\\{|$)`,excludeEnd:!0,contains:[e.TITLE_MODE,{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}function cw(e){let t=e.regex;return{name:`GraphQL`,aliases:[`gql`],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:[`query`,`mutation`,`subscription`,`type`,`input`,`schema`,`directive`,`interface`,`union`,`scalar`,`fragment`,`enum`,`on`],literal:[`true`,`false`,`null`]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:`punctuation`,match:/[.]{3}/,relevance:0},{scope:`punctuation`,begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:`variable`,begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:`meta`,match:/@\w+/,excludeEnd:!0},{scope:`symbol`,begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function lw(e){let t=e.regex,n={className:`number`,relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:`variable`,variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:`literal`,begin:/\bon|off|true|false|yes|no\b/},o={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:`'''`,end:`'''`,relevance:10},{begin:`"""`,end:`"""`,relevance:10},{begin:`"`,end:`"`},{begin:`'`,end:`'`}]},s={begin:/\[/,end:/\]/,contains:[r,a,i,o,n,`self`],relevance:0},c=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:`TOML, also INI`,aliases:[`toml`],case_insensitive:!0,illegal:/\S/,contains:[r,{className:`section`,begin:/\[+/,end:/\]+/},{begin:t.concat(c,`(\\s*\\.\\s*`,c,`)*`,t.lookahead(/\s*=\s*[^#\s]/)),className:`attr`,starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}var uw=`[0-9](_*[0-9])*`,dw=`\\.(${uw})`,fw=`[0-9a-fA-F](_*[0-9a-fA-F])*`,pw={className:`number`,variants:[{begin:`(\\b(${uw})((${dw})|\\.)?|(${dw}))[eE][+-]?(${uw})[fFdD]?\\b`},{begin:`\\b(${uw})((${dw})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${dw})[fFdD]?\\b`},{begin:`\\b(${uw})[fFdD]\\b`},{begin:`\\b0[xX]((${fw})\\.?|(${fw})?\\.(${fw}))[pP][+-]?(${uw})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${fw})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function mw(e,t,n){return n===-1?``:e.replace(t,r=>mw(e,t,n-1))}function hw(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=n+mw(`(?:<`+n+`~~~(?:\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~)*>)?`,/~~~/g,2),i={keyword:`synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when`.split(`.`),literal:[`false`,`true`,`null`],type:[`char`,`boolean`,`long`,`float`,`int`,`byte`,`short`,`double`],built_in:[`super`,`this`]},a={className:`meta`,begin:`@`+n,contains:[{begin:/\(/,end:/\)/,contains:[`self`]}]},o={className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:`Java`,aliases:[`jsp`],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:`doctag`,begin:`@[A-Za-z]+`}]}),{begin:/import java\.[a-z]+\./,keywords:`import`,relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:`string`,contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:`keyword`,3:`title.class`}},{match:/non-sealed/,scope:`keyword`},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:`type`,3:`variable`,5:`operator`}},{begin:[/record/,/\s+/,n],className:{1:`keyword`,3:`title.class`},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`new throw return else`,relevance:0},{begin:[`(?:`+r+`\\s+)`,e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:`title.function`},keywords:i,contains:[{className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,pw,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},pw,a]}}var gw=`[A-Za-z$_][0-9A-Za-z$_]*`,_w=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),vw=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],yw=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),bw=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],xw=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],Sw=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],Cw=[].concat(xw,yw,bw);function ww(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=gw,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:gw,keyword:_w,literal:vw,built_in:Cw,"variable.language":Sw},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...yw,...bw]}},w={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},E={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function D(e){return t.concat(`(?!`,e.join(`|`),`)`)}let O={match:t.concat(/\b/,D([...xw,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},k={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},A={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},j=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,M={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(j)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,C,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},M,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:j,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},T,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},k,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},O,E,S,A,{match:/\$[(.]/}]}}function Tw(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}var Ew=`[0-9](_*[0-9])*`,Dw=`\\.(${Ew})`,Ow=`[0-9a-fA-F](_*[0-9a-fA-F])*`,kw={className:`number`,variants:[{begin:`(\\b(${Ew})((${Dw})|\\.)?|(${Dw}))[eE][+-]?(${Ew})[fFdD]?\\b`},{begin:`\\b(${Ew})((${Dw})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Dw})[fFdD]?\\b`},{begin:`\\b(${Ew})[fFdD]\\b`},{begin:`\\b0[xX]((${Ow})\\.?|(${Ow})?\\.(${Ow}))[pP][+-]?(${Ew})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${Ow})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function Aw(e){let t={keyword:`abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual`,built_in:`Byte Short Char Int Long Boolean Float Double Void Unit Nothing`,literal:`true false null`},n={className:`keyword`,begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:`symbol`,begin:/@\w+/}]}},r={className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`@`},i={className:`subst`,begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:`variable`,begin:`\\$`+e.UNDERSCORE_IDENT_RE},o={className:`string`,variants:[{begin:`"""`,end:`"""(?=[^"])`,contains:[a,i]},{begin:`'`,end:`'`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(o);let s={className:`meta`,begin:`@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*`+e.UNDERSCORE_IDENT_RE+`)?`},c={className:`meta`,begin:`@`+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:`string`}),`self`]}]},l=kw,u=e.COMMENT(`/\\*`,`\\*/`,{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:`type`,begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:`Kotlin`,aliases:[`kt`,`kts`],keywords:t,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,c,{className:`function`,beginKeywords:`fun`,end:`[(]|$`,returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+`\\s*\\(`,returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:`type`,begin:/</,end:/>/,keywords:`reified`,relevance:0},{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,c,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:`title.class`},keywords:`class interface trait`,end:/[:\{(]|$/,excludeEnd:!0,illegal:`extends implements`,contains:[{beginKeywords:`public protected internal private constructor`},e.UNDERSCORE_TITLE_MODE,{className:`type`,begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,c]},o,{className:`meta`,begin:`^#!/usr/bin/env`,end:`$`,illegal:`
|
|
8
|
-
`},l]}}var jw=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Mw=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),Nw=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),Pw=[...Mw,...Nw],Fw=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),Iw=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),Lw=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),Rw=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse(),zw=Iw.concat(Lw).sort().reverse();function Bw(e){let t=jw(e),n=zw,r=`[\\w-]+`,i=`(`+r+`|@\\{[\\w-]+\\})`,a=[],o=[],s=function(e){return{className:`string`,begin:`~?`+e+`.*?`+e}},c=function(e,t,n){return{className:e,begin:t,relevance:n}},l={$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:Fw.join(` `)},u={begin:`\\(`,end:`\\)`,contains:o,keywords:l,relevance:0};o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s(`'`),s(`"`),t.CSS_NUMBER_MODE,{begin:`(url|data-uri)\\(`,starts:{className:`string`,end:`[\\)\\n]`,excludeEnd:!0}},t.HEXCOLOR,u,c(`variable`,`@@?`+r,10),c(`variable`,`@\\{`+r+`\\}`),c(`built_in`,"~?`[^`]*?`"),{className:`attribute`,begin:r+`\\s*:`,end:`:`,returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:`and not`},t.FUNCTION_DISPATCH);let d=o.concat({begin:/\{/,end:/\}/,contains:a}),f={beginKeywords:`when`,endsWithParent:!0,contains:[{beginKeywords:`and not`}].concat(o)},p={begin:i+`\\s*:`,returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+Rw.join(`|`)+`)\\b`,end:/(?=:)/,starts:{endsWithParent:!0,illegal:`[<=$]`,relevance:0,contains:o}}]},m={className:`keyword`,begin:`@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b`,starts:{end:`[;{}]`,keywords:l,returnEnd:!0,contains:o,relevance:0}},h={className:`variable`,variants:[{begin:`@`+r+`\\s*:`,relevance:15},{begin:`@`+r}],starts:{end:`[;}]`,returnEnd:!0,contains:d}},g={variants:[{begin:`[\\.#:&\\[>]`,end:`[;{}]`},{begin:i,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,c(`keyword`,`all\\b`),c(`variable`,`@\\{`+r+`\\}`),{begin:`\\b(`+Pw.join(`|`)+`)\\b`,className:`selector-tag`},t.CSS_NUMBER_MODE,c(`selector-tag`,i,0),c(`selector-id`,`#`+i),c(`selector-class`,`\\.`+i,0),c(`selector-tag`,`&`,0),t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,begin:`:(`+Iw.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+Lw.join(`|`)+`)`},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:`!important`},t.FUNCTION_DISPATCH]},_={begin:`[\\w-]+:(:)?(${n.join(`|`)})`,returnBegin:!0,contains:[g]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,h,_,p,g,f,t.FUNCTION_DISPATCH),{name:`Less`,case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}function Vw(e){let t=`\\[=*\\[`,n=`\\]=*\\]`,r={begin:t,end:n,contains:[`self`]},i=[e.COMMENT(`--(?!`+t+`)`,`$`),e.COMMENT(`--`+t,n,{contains:[r],relevance:10})];return{name:`Lua`,aliases:[`pluto`],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:`true false nil`,keyword:`and break do else elseif end for goto if in local not or repeat return then until while`,built_in:`_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove`},contains:i.concat([{className:`function`,beginKeywords:`function`,end:`\\)`,contains:[e.inherit(e.TITLE_MODE,{begin:`([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*`}),{className:`params`,begin:`\\(`,endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:`string`,begin:t,end:n,contains:[r],relevance:5}])}}function Hw(e){let t={className:`variable`,variants:[{begin:`\\$\\(`+e.UNDERSCORE_IDENT_RE+`\\)`,contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:`variable`,begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:`subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value`},contains:[t,n]},i={begin:`^`+e.UNDERSCORE_IDENT_RE+`\\s*(?=[:+?]?=)`},a={className:`meta`,begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:`.PHONY`}},o={className:`section`,begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:`Makefile`,aliases:[`mk`,`mak`,`make`],keywords:{$pattern:/[\w-]+/,keyword:`define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath`},contains:[e.HASH_COMMENT_MODE,t,n,r,i,a,o]}}function Uw(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={begin:`^[-\\*]{3,}`,end:`$`},i={className:`code`,variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:`(~{3,})[^~](.|\\n)*?\\1~*[ ]*`},{begin:"```",end:"```+[ ]*$"},{begin:`~~~`,end:`~~~+[ ]*$`},{begin:"`.+?`"},{begin:`(?=^( {4}|\\t))`,contains:[{begin:`^( {4}|\\t)`,end:`(\\n)$`}],relevance:0}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\d+\\.))(?=\\s+)`,end:`\\s+`,excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:`symbol`,begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:`link`,begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:`string`,relevance:0,begin:`\\[`,end:`\\]`,excludeBegin:!0,returnEnd:!0},{className:`link`,relevance:0,begin:`\\]\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0},{className:`symbol`,relevance:0,begin:`\\]\\[`,end:`\\]`,excludeBegin:!0,excludeEnd:!0}]},c={className:`strong`,contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:`emphasis`,contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{name:`Markdown`,aliases:[`md`,`mkdown`,`mkd`],contains:[{className:`section`,variants:[{begin:`^#{1,6}`,end:`$`,contains:f},{begin:`(?=^.+?\\n[=-]{2,}$)`,contains:[{begin:`^[=-]*$`},{begin:`^`,end:`\\n`,contains:f}]}]},n,a,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,r,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Ww(e){let t={className:`built_in`,begin:`\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+`},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":[`this`,`super`],$pattern:n,keyword:`while.export.sizeof.typedef.const.struct.for.union.volatile.static.mutable.if.do.return.goto.enum.else.break.extern.asm.case.default.register.explicit.typename.switch.continue.inline.readonly.assign.readwrite.self.@synchronized.id.typeof.nonatomic.IBOutlet.IBAction.strong.weak.copy.in.out.inout.bycopy.byref.oneway.__strong.__weak.__block.__autoreleasing.@private.@protected.@public.@try.@property.@end.@throw.@catch.@finally.@autoreleasepool.@synthesize.@dynamic.@selector.@optional.@required.@encode.@package.@import.@defs.@compatibility_alias.__bridge.__bridge_transfer.__bridge_retained.__bridge_retain.__covariant.__contravariant.__kindof._Nonnull._Nullable._Null_unspecified.__FUNCTION__.__PRETTY_FUNCTION__.__attribute__.getter.setter.retain.unsafe_unretained.nonnull.nullable.null_unspecified.null_resettable.class.instancetype.NS_DESIGNATED_INITIALIZER.NS_UNAVAILABLE.NS_REQUIRES_SUPER.NS_RETURNS_INNER_POINTER.NS_INLINE.NS_AVAILABLE.NS_DEPRECATED.NS_ENUM.NS_OPTIONS.NS_SWIFT_UNAVAILABLE.NS_ASSUME_NONNULL_BEGIN.NS_ASSUME_NONNULL_END.NS_REFINED_FOR_SWIFT.NS_SWIFT_NAME.NS_SWIFT_NOTHROW.NS_DURING.NS_HANDLER.NS_ENDHANDLER.NS_VALUERETURN.NS_VOIDRETURN`.split(`.`),literal:[`false`,`true`,`FALSE`,`TRUE`,`nil`,`YES`,`NO`,`NULL`],built_in:[`dispatch_once_t`,`dispatch_queue_t`,`dispatch_sync`,`dispatch_async`,`dispatch_once`],type:[`int`,`float`,`char`,`unsigned`,`signed`,`short`,`long`,`double`,`wchar_t`,`unichar`,`void`,`bool`,`BOOL`,`id|0`,`_Bool`]},i={$pattern:n,keyword:[`@interface`,`@class`,`@protocol`,`@implementation`]};return{name:`Objective-C`,aliases:[`mm`,`objc`,`obj-c`,`obj-c++`,`objective-c++`],keywords:r,illegal:`</`,contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:`string`,variants:[{begin:`@"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]}]},{className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),{className:`string`,begin:/<.*?>/,end:/$/,illegal:`\\n`},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`class`,begin:`(`+i.keyword.join(`|`)+`)\\b`,end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:`\\.`+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function Gw(e){let t=e.regex,n=`abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0`.split(`.`),r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(` `)},a={className:`subst`,begin:`[$@]\\{`,end:`\\}`,keywords:i},o={begin:/->\{/,end:/\}/},s={scope:`attr`,match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:`variable`,variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,`(?![A-Za-z])(?![@$%])`)},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},l={className:`number`,variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,a,c],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,n,i=`\\1`)=>{let a=i===`\\1`?i:t.concat(i,n);return t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,i,r),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:`string`,contains:u,variants:[{begin:`q[qwxr]?\\s*\\(`,end:`\\)`,relevance:5},{begin:`q[qwxr]?\\s*\\[`,end:`\\]`,relevance:5},{begin:`q[qwxr]?\\s*\\{`,end:`\\}`,relevance:5},{begin:`q[qwxr]?\\s*\\|`,end:`\\|`,relevance:5},{begin:`q[qwxr]?\\s*<`,end:`>`,relevance:5},{begin:`qw\\s+q`,end:`q`,relevance:5},{begin:`'`,end:`'`,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:`-?\\w+\\s*=>`,relevance:0}]},l,{begin:`(\\/\\/|`+e.RE_STARTERS_RE+`|\\b(split|return|print|reverse|grep)\\b)\\s*`,keywords:`split return print reverse grep`,relevance:0,contains:[e.HASH_COMMENT_MODE,{className:`regexp`,variants:[{begin:f(`s|tr|y`,t.either(...d,{capture:!0}))},{begin:f(`s|tr|y`,`\\(`,`\\)`)},{begin:f(`s|tr|y`,`\\[`,`\\]`)},{begin:f(`s|tr|y`,`\\{`,`\\}`)}],relevance:2},{className:`regexp`,variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p(`(?:m|qr)?`,/\//,/\//)},{begin:p(`m|qr`,t.either(...d,{capture:!0}),/\1/)},{begin:p(`m|qr`,/\(/,/\)/)},{begin:p(`m|qr`,/\[/,/\]/)},{begin:p(`m|qr`,/\{/,/\}/)}]}]},{className:`function`,beginKeywords:`sub method`,end:`(\\s*\\(.*?\\))?[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:`class`,beginKeywords:`class`,end:`[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,l]},{begin:`-\\w\\b`,relevance:0},{begin:`^__DATA__$`,end:`^__END__$`,subLanguage:`mojolicious`,contains:[{begin:`^@@.*`,end:`$`,className:`comment`}]}];return a.contains=m,o.contains=m,{name:`Perl`,aliases:[`pl`,`pm`],keywords:i,contains:m}}function Kw(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:`variable`,match:`\\$+`+r},s={scope:`meta`,variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:`subst`,variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
|
|
9
|
-
]`,m={scope:`string`,variants:[u,l,d,f]},h={scope:`number`,variants:[{begin:`\\b0[bB][01]+(?:_[01]+)*\\b`},{begin:`\\b0[oO][0-7]+(?:_[0-7]+)*\\b`},{begin:`\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b`},{begin:`(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?`}],relevance:0},g=[`false`,`null`,`true`],_=`__CLASS__.__DIR__.__FILE__.__FUNCTION__.__COMPILER_HALT_OFFSET__.__LINE__.__METHOD__.__NAMESPACE__.__TRAIT__.die.echo.exit.include.include_once.print.require.require_once.array.abstract.and.as.binary.bool.boolean.break.callable.case.catch.class.clone.const.continue.declare.default.do.double.else.elseif.empty.enddeclare.endfor.endforeach.endif.endswitch.endwhile.enum.eval.extends.final.finally.float.for.foreach.from.global.goto.if.implements.instanceof.insteadof.int.integer.interface.isset.iterable.list.match|0.mixed.new.never.object.or.private.protected.public.readonly.real.return.string.switch.throw.trait.try.unset.use.var.void.while.xor.yield`.split(`.`),v=`Error|0.AppendIterator.ArgumentCountError.ArithmeticError.ArrayIterator.ArrayObject.AssertionError.BadFunctionCallException.BadMethodCallException.CachingIterator.CallbackFilterIterator.CompileError.Countable.DirectoryIterator.DivisionByZeroError.DomainException.EmptyIterator.ErrorException.Exception.FilesystemIterator.FilterIterator.GlobIterator.InfiniteIterator.InvalidArgumentException.IteratorIterator.LengthException.LimitIterator.LogicException.MultipleIterator.NoRewindIterator.OutOfBoundsException.OutOfRangeException.OuterIterator.OverflowException.ParentIterator.ParseError.RangeException.RecursiveArrayIterator.RecursiveCachingIterator.RecursiveCallbackFilterIterator.RecursiveDirectoryIterator.RecursiveFilterIterator.RecursiveIterator.RecursiveIteratorIterator.RecursiveRegexIterator.RecursiveTreeIterator.RegexIterator.RuntimeException.SeekableIterator.SplDoublyLinkedList.SplFileInfo.SplFileObject.SplFixedArray.SplHeap.SplMaxHeap.SplMinHeap.SplObjectStorage.SplObserver.SplPriorityQueue.SplQueue.SplStack.SplSubject.SplTempFileObject.TypeError.UnderflowException.UnexpectedValueException.UnhandledMatchError.ArrayAccess.BackedEnum.Closure.Fiber.Generator.Iterator.IteratorAggregate.Serializable.Stringable.Throwable.Traversable.UnitEnum.WeakReference.WeakMap.Directory.__PHP_Incomplete_Class.parent.php_user_filter.self.static.stdClass`.split(`.`),y={keyword:_,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,``)),x={variants:[{match:[/new/,t.concat(p,`+`),t.concat(`(?!`,b(v).join(`\\b|`),`\\b)`),i],scope:{1:`keyword`,4:`title.class`}}]},S=t.concat(r,`\\b(?!\\()`),C={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{2:`variable.constant`}},{match:[/::/,/class/],scope:{2:`variable.language`}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{1:`title.class`,3:`variable.constant`}},{match:[i,t.concat(`::`,t.lookahead(/(?!class\b)/))],scope:{1:`title.class`}},{match:[i,/::/,/class/],scope:{1:`title.class`,3:`variable.language`}}]},w={scope:`attr`,match:t.concat(r,t.lookahead(`:`),t.lookahead(/(?!::)/))},T={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[w,o,C,e.C_BLOCK_COMMENT_MODE,m,h,x]},E={relevance:0,match:[/\b/,t.concat(`(?!fn\\b|function\\b|`,b(_).join(`\\b|`),`|`,b(v).join(`\\b|`),`\\b)`),r,t.concat(p,`*`),t.lookahead(/(?=\()/)],scope:{3:`title.function.invoke`},contains:[T]};T.contains.push(E);let D=[w,C,e.C_BLOCK_COMMENT_MODE,m,h,x],O={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:`meta`,end:/]/,endScope:`meta`,keywords:{literal:g,keyword:[`new`,`array`]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:[`new`,`array`]},contains:[`self`,...D]},...D,{scope:`meta`,variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[O,e.HASH_COMMENT_MODE,e.COMMENT(`//`,`$`),e.COMMENT(`/\\*`,`\\*/`,{contains:[{scope:`doctag`,match:`@[A-Za-z]+`}]}),{match:/__halt_compiler\(\);/,keywords:`__halt_compiler`,starts:{scope:`comment`,end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:`meta`,endsParent:!0}]}},s,{scope:`variable.language`,match:/\$this\b/},o,E,C,{match:[/const/,/\s/,r],scope:{1:`keyword`,3:`variable.constant`}},x,{scope:`function`,relevance:0,beginKeywords:`fn function`,end:/[;{]/,excludeEnd:!0,illegal:`[$%\\[]`,contains:[{beginKeywords:`use`},e.UNDERSCORE_TITLE_MODE,{begin:`=>`,endsParent:!0},{scope:`params`,begin:`\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0,keywords:y,contains:[`self`,O,o,C,e.C_BLOCK_COMMENT_MODE,m,h]}]},{scope:`class`,variants:[{beginKeywords:`enum`,illegal:/[($"]/},{beginKeywords:`class interface trait`,illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:`namespace`,relevance:0,end:`;`,illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:`title.class`})]},{beginKeywords:`use`,relevance:0,end:`;`,contains:[{match:/\b(as|const|function)\b/,scope:`keyword`},e.UNDERSCORE_TITLE_MODE]},m,h]}}function qw(e){return{name:`PHP template`,subLanguage:`xml`,contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:`php`,contains:[{begin:`/\\*`,end:`\\*/`,skip:!0},{begin:`b"`,end:`"`,skip:!0},{begin:`b'`,end:`'`,skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function Jw(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}function Yw(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=`and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield`.split(`.`),i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:`__import__.abs.all.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip`.split(`.`),literal:[`__debug__`,`Ellipsis`,`False`,`None`,`NotImplemented`,`True`],type:[`Any`,`Callable`,`Coroutine`,`Dict`,`List`,`Literal`,`Generic`,`Optional`,`Sequence`,`Set`,`Tuple`,`Type`,`Union`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:`params`,variants:[{className:``,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:`keyword`,3:`title.class`,6:`title.class.inherited`}},{className:`meta`,begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,c]}]}}function Xw(e){return{aliases:[`pycon`],contains:[{className:`meta.prompt`,starts:{end:/ |$/,starts:{end:`$`,subLanguage:`python`}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Zw(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:`R`,keywords:{$pattern:n,keyword:`function if in break next repeat else for while`,literal:`NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10`,built_in:`LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm`},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:`doctag`,match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:`doctag`,begin:`@param`,end:/$/,contains:[{scope:`variable`,variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:`doctag`,match:/@[a-zA-Z]+/},{scope:`keyword`,match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:`"`,end:`"`,relevance:0},{begin:`'`,end:`'`,relevance:0}]},{relevance:0,variants:[{scope:{1:`operator`,2:`number`},match:[i,r]},{scope:{1:`operator`,2:`number`},match:[/%[^%]*%/,r]},{scope:{1:`punctuation`,2:`number`},match:[a,r]},{scope:{2:`number`},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:`operator`},match:[n,/\s+/,/<-/,/\s+/]},{scope:`operator`,relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:`punctuation`,relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function Qw(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":[`__FILE__`,`__LINE__`,`__ENCODING__`],"variable.language":[`self`,`super`],keyword:[`alias`,`and`,`begin`,`BEGIN`,`break`,`case`,`class`,`defined`,`do`,`else`,`elsif`,`end`,`END`,`ensure`,`for`,`if`,`in`,`module`,`next`,`not`,`or`,`redo`,`require`,`rescue`,`retry`,`return`,`then`,`undef`,`unless`,`until`,`when`,`while`,`yield`,...[`include`,`extend`,`prepend`,`public`,`private`,`protected`,`raise`,`throw`]],built_in:[`proc`,`lambda`,`attr_accessor`,`attr_reader`,`attr_writer`,`define_method`,`private_constant`,`module_function`],literal:[`true`,`false`,`nil`]},o={className:`doctag`,begin:`@[A-Za-z]+`},s={begin:`#<`,end:`>`},c=[e.COMMENT(`#`,`$`,{contains:[o]}),e.COMMENT(`^=begin`,`^=end`,{contains:[o],relevance:10}),e.COMMENT(`^__END__`,e.MATCH_NOTHING_RE)],l={className:`subst`,begin:/#\{/,end:/\}/,keywords:a},u={className:`string`,contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,l]})]}]},d=`[0-9](_?[0-9])*`,f={className:`number`,relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:`\\b0[dD][0-9](_?[0-9])*r?i?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*r?i?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*r?i?\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b`},{begin:`\\b0(_?[0-7])+r?i?\\b`}]},p={variants:[{match:/\(\)/},{className:`params`,begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},m=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:`title.class`,4:`title.class.inherited`},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:`title.class`},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:`title.class`}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`},{relevance:0,match:r,scope:`title.class`},{match:[/def/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[p]},{begin:e.IDENT_RE+`::`},{className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`(!|\\?)?:`,relevance:0},{className:`symbol`,begin:`:(?!\\s)`,contains:[u,{begin:n}],relevance:0},f,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`},{className:`params`,begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:`(`+e.RE_STARTERS_RE+`|unless)\\s*`,keywords:`unless`,contains:[{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,l],illegal:/\n/,variants:[{begin:`/`,end:`/[a-z]*`},{begin:/%r\{/,end:/\}[a-z]*/},{begin:`%r\\(`,end:`\\)[a-z]*`},{begin:`%r!`,end:`![a-z]*`},{begin:`%r\\[`,end:`\\][a-z]*`}]}].concat(s,c),relevance:0}].concat(s,c);l.contains=m,p.contains=m;let h=[{begin:/^\s*=>/,starts:{end:`$`,contains:m}},{className:`meta.prompt`,begin:`^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])`,starts:{end:`$`,keywords:a,contains:m}}];return c.unshift(s),{name:`Ruby`,aliases:[`rb`,`gemspec`,`podspec`,`thor`,`irb`],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:`ruby`})].concat(h,c,m)}}function $w(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:`title.function.invoke`,relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o=`([ui](8|16|32|64|128|size)|f(32|64))?`,s=`abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield`.split(`.`),c=[`true`,`false`,`Some`,`None`,`Ok`,`Err`],l=`drop .Copy.Send.Sized.Sync.Drop.Fn.FnMut.FnOnce.ToOwned.Clone.Debug.PartialEq.PartialOrd.Eq.Ord.AsRef.AsMut.Into.From.Default.Iterator.Extend.IntoIterator.DoubleEndedIterator.ExactSizeIterator.SliceConcatExt.ToString.assert!.assert_eq!.bitflags!.bytes!.cfg!.col!.concat!.concat_idents!.debug_assert!.debug_assert_eq!.env!.eprintln!.panic!.file!.format!.format_args!.include_bytes!.include_str!.line!.local_data_key!.module_path!.option_env!.print!.println!.select!.stringify!.try!.unimplemented!.unreachable!.vec!.write!.writeln!.macro_rules!.assert_ne!.debug_assert_ne!`.split(`.`),u=[`i8`,`i16`,`i32`,`i64`,`i128`,`isize`,`u8`,`u16`,`u32`,`u64`,`u128`,`usize`,`f32`,`f64`,`str`,`char`,`bool`,`Box`,`Option`,`Result`,`String`,`Vec`];return{name:`Rust`,aliases:[`rs`],keywords:{$pattern:e.IDENT_RE+`!?`,type:u,keyword:s,literal:c,built_in:l},illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:`symbol`,begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:`string`,variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:`char.escape`,match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:`number`,variants:[{begin:`\\b0b([01_]+)`+o},{begin:`\\b0o([0-7_]+)`+o},{begin:`\\b0x([A-Fa-f0-9_]+)`+o},{begin:`\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)`+o}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:`keyword`,3:`title.function`}},{className:`meta`,begin:`#!?\\[`,end:`\\]`,contains:[{className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:`keyword`,3:`keyword`,4:`variable`}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:`keyword`,3:`variable`,5:`keyword`}},{begin:[/type/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:e.IDENT_RE+`::`,keywords:{keyword:`Self`,built_in:l,type:u}},{className:`punctuation`,begin:`->`},a]}}var eT=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),tT=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),nT=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),rT=[...tT,...nT],iT=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),aT=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),oT=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),sT=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function cT(e){let t=eT(e),n=oT,r=aT,i=`@[a-z-]+`,a={className:`variable`,begin:`(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b`,relevance:0};return{name:`SCSS`,case_insensitive:!0,illegal:`[=/|']`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:`selector-id`,begin:`#[A-Za-z0-9_-]+`,relevance:0},{className:`selector-class`,begin:`\\.[A-Za-z0-9_-]+`,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-tag`,begin:`\\b(`+rT.join(`|`)+`)\\b`,relevance:0},{className:`selector-pseudo`,begin:`:(`+r.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+n.join(`|`)+`)`},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+sT.join(`|`)+`)\\b`},{begin:`\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b`},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:`@(page|font-face)`,keywords:{$pattern:i,keyword:`@page @font-face`}},{begin:`@`,end:`[{;]`,returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:iT.join(` `)},contains:[{begin:i,className:`keyword`},{begin:/[a-z-]+(?=:)/,className:`attribute`},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function lT(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}function uT(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`true`,`false`,`unknown`],o=[`double precision`,`large object`,`with timezone`,`without timezone`],s=`bigint.binary.blob.boolean.char.character.clob.date.dec.decfloat.decimal.float.int.integer.interval.nchar.nclob.national.numeric.real.row.smallint.time.timestamp.varchar.varying.varbinary`.split(`.`),c=[`add`,`asc`,`collation`,`desc`,`final`,`first`,`last`,`view`],l=`abs.acos.all.allocate.alter.and.any.are.array.array_agg.array_max_cardinality.as.asensitive.asin.asymmetric.at.atan.atomic.authorization.avg.begin.begin_frame.begin_partition.between.bigint.binary.blob.boolean.both.by.call.called.cardinality.cascaded.case.cast.ceil.ceiling.char.char_length.character.character_length.check.classifier.clob.close.coalesce.collate.collect.column.commit.condition.connect.constraint.contains.convert.copy.corr.corresponding.cos.cosh.count.covar_pop.covar_samp.create.cross.cube.cume_dist.current.current_catalog.current_date.current_default_transform_group.current_path.current_role.current_row.current_schema.current_time.current_timestamp.current_path.current_role.current_transform_group_for_type.current_user.cursor.cycle.date.day.deallocate.dec.decimal.decfloat.declare.default.define.delete.dense_rank.deref.describe.deterministic.disconnect.distinct.double.drop.dynamic.each.element.else.empty.end.end_frame.end_partition.end-exec.equals.escape.every.except.exec.execute.exists.exp.external.extract.false.fetch.filter.first_value.float.floor.for.foreign.frame_row.free.from.full.function.fusion.get.global.grant.group.grouping.groups.having.hold.hour.identity.in.indicator.initial.inner.inout.insensitive.insert.int.integer.intersect.intersection.interval.into.is.join.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.language.large.last_value.lateral.lead.leading.left.like.like_regex.listagg.ln.local.localtime.localtimestamp.log.log10.lower.match.match_number.match_recognize.matches.max.member.merge.method.min.minute.mod.modifies.module.month.multiset.national.natural.nchar.nclob.new.no.none.normalize.not.nth_value.ntile.null.nullif.numeric.octet_length.occurrences_regex.of.offset.old.omit.on.one.only.open.or.order.out.outer.over.overlaps.overlay.parameter.partition.pattern.per.percent.percent_rank.percentile_cont.percentile_disc.period.portion.position.position_regex.power.precedes.precision.prepare.primary.procedure.ptf.range.rank.reads.real.recursive.ref.references.referencing.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.release.result.return.returns.revoke.right.rollback.rollup.row.row_number.rows.running.savepoint.scope.scroll.search.second.seek.select.sensitive.session_user.set.show.similar.sin.sinh.skip.smallint.some.specific.specifictype.sql.sqlexception.sqlstate.sqlwarning.sqrt.start.static.stddev_pop.stddev_samp.submultiset.subset.substring.substring_regex.succeeds.sum.symmetric.system.system_time.system_user.table.tablesample.tan.tanh.then.time.timestamp.timezone_hour.timezone_minute.to.trailing.translate.translate_regex.translation.treat.trigger.trim.trim_array.true.truncate.uescape.union.unique.unknown.unnest.update.upper.user.using.value.values.value_of.var_pop.var_samp.varbinary.varchar.varying.versioning.when.whenever.where.width_bucket.window.with.within.without.year`.split(`.`),u=`abs.acos.array_agg.asin.atan.avg.cast.ceil.ceiling.coalesce.corr.cos.cosh.count.covar_pop.covar_samp.cume_dist.dense_rank.deref.element.exp.extract.first_value.floor.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.last_value.lead.listagg.ln.log.log10.lower.max.min.mod.nth_value.ntile.nullif.percent_rank.percentile_cont.percentile_disc.position.position_regex.power.rank.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.row_number.sin.sinh.sqrt.stddev_pop.stddev_samp.substring.substring_regex.sum.tan.tanh.translate.translate_regex.treat.trim.trim_array.unnest.upper.value_of.var_pop.var_samp.width_bucket`.split(`.`),d=[`current_catalog`,`current_date`,`current_default_transform_group`,`current_path`,`current_role`,`current_schema`,`current_transform_group_for_type`,`current_user`,`session_user`,`system_time`,`system_user`,`current_time`,`localtime`,`current_timestamp`,`localtimestamp`],f=[`create table`,`insert into`,`primary key`,`foreign key`,`not null`,`alter table`,`add constraint`,`grouping sets`,`on overflow`,`character set`,`respect nulls`,`ignore nulls`,`nulls first`,`nulls last`,`depth first`,`breadth first`],p=u,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,`\\s+`))),/\b/)}let y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}function dT(e){return e?typeof e==`string`?e:e.source:null}function fT(e){return pT(`(?=`,e,`)`)}function pT(...e){return e.map(e=>dT(e)).join(``)}function mT(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function hT(...e){return`(`+(mT(e).capture?``:`?:`)+e.map(e=>dT(e)).join(`|`)+`)`}var gT=e=>pT(/\b/,e,/\w$/.test(e)?/\b/:/\B/),_T=[`Protocol`,`Type`].map(gT),vT=[`init`,`self`].map(gT),yT=[`Any`,`Self`],bT=[`actor`,`any`,`associatedtype`,`async`,`await`,/as\?/,/as!/,`as`,`borrowing`,`break`,`case`,`catch`,`class`,`consume`,`consuming`,`continue`,`convenience`,`copy`,`default`,`defer`,`deinit`,`didSet`,`distributed`,`do`,`dynamic`,`each`,`else`,`enum`,`extension`,`fallthrough`,/fileprivate\(set\)/,`fileprivate`,`final`,`for`,`func`,`get`,`guard`,`if`,`import`,`indirect`,`infix`,/init\?/,/init!/,`inout`,/internal\(set\)/,`internal`,`in`,`is`,`isolated`,`nonisolated`,`lazy`,`let`,`macro`,`mutating`,`nonmutating`,/open\(set\)/,`open`,`operator`,`optional`,`override`,`package`,`postfix`,`precedencegroup`,`prefix`,/private\(set\)/,`private`,`protocol`,/public\(set\)/,`public`,`repeat`,`required`,`rethrows`,`return`,`set`,`some`,`static`,`struct`,`subscript`,`super`,`switch`,`throws`,`throw`,/try\?/,/try!/,`try`,`typealias`,/unowned\(safe\)/,/unowned\(unsafe\)/,`unowned`,`var`,`weak`,`where`,`while`,`willSet`],xT=[`false`,`nil`,`true`],ST=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],CT=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],wT=`abs.all.any.assert.assertionFailure.debugPrint.dump.fatalError.getVaList.isKnownUniquelyReferenced.max.min.numericCast.pointwiseMax.pointwiseMin.precondition.preconditionFailure.print.readLine.repeatElement.sequence.stride.swap.swift_unboxFromSwiftValueWithType.transcode.type.unsafeBitCast.unsafeDowncast.withExtendedLifetime.withUnsafeMutablePointer.withUnsafePointer.withVaList.withoutActuallyEscaping.zip`.split(`.`),TT=hT(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),ET=hT(TT,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),DT=pT(TT,ET,`*`),OT=hT(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),kT=hT(OT,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),AT=pT(OT,kT,`*`),jT=pT(/[A-Z]/,kT,`*`),MT=[`attached`,`autoclosure`,pT(/convention\(/,hT(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,pT(/objc\(/,AT,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],NT=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`];function PT(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,hT(..._T,...vT)],className:{2:`keyword`}},a={match:pT(/\./,hT(...bT)),relevance:0},o=bT.filter(e=>typeof e==`string`).concat([`_|0`]),s={variants:[{className:`keyword`,match:hT(...bT.filter(e=>typeof e!=`string`).concat(yT).map(gT),...vT)}]},c={$pattern:hT(/\b\w+/,/#\w+/),keyword:o.concat(CT),literal:xT},l=[i,a,s],u=[{match:pT(/\./,hT(...wT)),relevance:0},{className:`built_in`,match:pT(/\b/,hT(...wT),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:`operator`,relevance:0,variants:[{match:DT},{match:`\\.(\\.|${ET})+`}]}],p=`([0-9]_*)+`,m=`([0-9a-fA-F]_*)+`,h={className:`number`,relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e=``)=>({className:`subst`,variants:[{match:pT(/\\/,e,/[0\\tnr"']/)},{match:pT(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_=(e=``)=>({className:`subst`,match:pT(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e=``)=>({className:`subst`,label:`interpol`,begin:pT(/\\/,e,/\(/),end:/\)/}),y=(e=``)=>({begin:pT(e,/"""/),end:pT(/"""/,e),contains:[g(e),_(e),v(e)]}),b=(e=``)=>({begin:pT(e,/"/),end:pT(/"/,e),contains:[g(e),v(e)]}),x={className:`string`,variants:[y(),y(`#`),y(`##`),y(`###`),b(),b(`#`),b(`##`),b(`###`)]},S=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],C={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:S},w=e=>{let t=pT(e,/\//),n=pT(/\//,e);return{begin:t,end:n,contains:[...S,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},T={scope:`regexp`,variants:[w(`###`),w(`##`),w(`#`),C]},E={match:pT(/`/,AT,/`/)},D=[E,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${kT}+`}],O=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:NT,contains:[...f,h,x]}]}},{scope:`keyword`,match:pT(/@/,hT(...MT),fT(hT(/\(/,/\s+/)))},{scope:`meta`,match:pT(/@/,AT)}],k={match:fT(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:pT(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,kT,`+`)},{className:`type`,match:jT,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:pT(/\s+&\s+/,fT(jT)),relevance:0}]},A={begin:/</,end:/>/,keywords:c,contains:[...r,...l,...O,d,k]};k.contains.push(A);let j={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:[`self`,{match:pT(AT,/\s*:/),keywords:`_|0`,relevance:0},...r,T,...l,...u,...f,h,x,...D,...O,k]},M={begin:/</,end:/>/,keywords:`repeat each`,contains:[...r,k]},N={begin:/\(/,end:/\)/,keywords:c,contains:[{begin:hT(fT(pT(AT,/\s*:/)),fT(pT(AT,/\s+/,AT,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:AT}]},...r,...l,...f,h,x,...O,k,j],endsParent:!0,illegal:/["']/},P={match:[/(func|macro)/,/\s+/,hT(E.match,AT,DT)],className:{1:`keyword`,3:`title.function`},contains:[M,N,t],illegal:[/\[/,/%/]},F={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[M,N,t],illegal:/\[|%/},I={match:[/operator/,/\s+/,DT],className:{1:`keyword`,3:`title`}},L={begin:[/precedencegroup/,/\s+/,jT],className:{1:`keyword`,3:`title`},contains:[k],keywords:[...ST,...xT],end:/}/},ee={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},R={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},z={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,AT,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:c,contains:[M,...l,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:`title.class.inherited`,match:jT},...l],relevance:0}]};for(let e of x.variants){let t=e.contains.find(e=>e.label===`interpol`);t.keywords=c;let n=[...l,...u,...f,h,x,...D];t.contains=[...n,{begin:/\(/,end:/\)/,contains:[`self`,...n]}]}return{name:`Swift`,keywords:c,contains:[...r,P,F,ee,R,z,I,L,{beginKeywords:`import`,end:/$/,contains:[...r],relevance:0},T,...l,...u,...f,h,x,...D,...O,k,j]}}var FT=`[A-Za-z$_][0-9A-Za-z$_]*`,IT=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),LT=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],RT=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),zT=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],BT=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],VT=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],HT=[].concat(BT,RT,zT);function UT(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=FT,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:FT,keyword:IT,literal:LT,built_in:HT,"variable.language":VT},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),x={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},C={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...RT,...zT]}},w={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[x],illegal:/%/},E={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function D(e){return t.concat(`(?!`,e.join(`|`),`)`)}let O={match:t.concat(/\b/,D([...BT,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},k={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},A={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},x]},j=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,M={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(j)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[x]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,C,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},M,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:j,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},T,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[x,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},k,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[x]},O,E,S,A,{match:/\$[(.]/}]}}function WT(e){let t=e.regex,n=UT(e),r=FT,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:FT,keyword:IT.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:LT,built_in:HT.concat(i),"variable.language":VT},l={className:`meta`,begin:`@`+r},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.scope===`attr`),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}function GT(e){let t=e.regex,n={className:`string`,begin:/"(""|[^/n])"C\b/},r={className:`string`,begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,c={className:`literal`,variants:[{begin:t.concat(/# */,t.either(a,i),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(a,i),/ +/,t.either(o,s),/ *#/)}]},l={className:`number`,relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:`label`,begin:/^\w+:/},d=e.COMMENT(/'''/,/$/,{contains:[{className:`doctag`,begin:/<\/?/,end:/>/}]}),f=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:`Visual Basic .NET`,aliases:[`vb`],case_insensitive:!0,classNameAliases:{label:`symbol`},keywords:{keyword:`addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield`,built_in:`addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort`,type:`boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort`,literal:`true false nothing`},illegal:`//|\\{|\\}|endif|gosub|variant|wend|^\\$ `,contains:[n,r,c,l,u,d,f,{className:`meta`,begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:`const disable else elseif enable end externalsource if region then`},contains:[f]}]}}function KT(e){e.regex;let t=e.COMMENT(/\(;/,/;\)/);return t.contains.push(`self`),{name:`WebAssembly`,keywords:{$pattern:/[\w.]+/,keyword:`anyfunc,block,br,br_if,br_table,call,call_indirect,data,drop,elem,else,end,export,func,global.get,global.set,local.get,local.set,local.tee,get_global,get_local,global,if,import,local,loop,memory,memory.grow,memory.size,module,mut,nop,offset,param,result,return,select,set_global,set_local,start,table,tee_local,then,type,unreachable`.split(`,`)},contains:[e.COMMENT(/;;/,/$/),t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:`keyword`,3:`operator`}},{className:`variable`,begin:/\$[\w_]+/},{match:/(\((?!;)|\))+/,className:`punctuation`,relevance:0},{begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:`keyword`,3:`title.function`}},e.QUOTE_STRING_MODE,{match:/(i32|i64|f32|f64)(?!\.)/,className:`type`},{className:`keyword`,match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},{className:`number`,relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/}]}}function qT(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:[`javascript`,`handlebars`,`xml`]}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function JT(e){let t=`true false yes no null`,n=`[\\w#;/?:@&=+$,.~*'()[\\]]+`,r={className:`attr`,variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:`template-variable`,variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:`string`,relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:`char.escape`,relevance:0}]},o={className:`string`,relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={className:`number`,begin:`\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b`},l={end:`,`,endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},u={begin:/\{/,end:/\}/,contains:[l],illegal:`\\n`,relevance:0},d={begin:`\\[`,end:`\\]`,contains:[l],illegal:`\\n`,relevance:0},f=[r,{className:`meta`,begin:`^---\\s*$`,relevance:10},{className:`string`,begin:`[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*`},{begin:`<%[%=-]?`,end:`[%-]?%>`,subLanguage:`ruby`,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:`!\\w+!`+n},{className:`type`,begin:`!<`+n+`>`},{className:`type`,begin:`!`+n},{className:`type`,begin:`!!`+n},{className:`meta`,begin:`&`+e.UNDERSCORE_IDENT_RE+`$`},{className:`meta`,begin:`\\*`+e.UNDERSCORE_IDENT_RE+`$`},{className:`bullet`,begin:`-(?=[ ]|$)`,relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},c,{className:`number`,begin:e.C_NUMBER_RE+`\\b`,relevance:0},u,d,a,o],p=[...f];return p.pop(),p.push(s),l.contains=p,{name:`YAML`,case_insensitive:!0,aliases:[`yml`],contains:f}}var YT={arduino:KC,bash:qC,c:JC,cpp:YC,csharp:XC,css:aw,diff:ow,go:sw,graphql:cw,ini:lw,java:hw,javascript:ww,json:Tw,kotlin:Aw,less:Bw,lua:Vw,makefile:Hw,markdown:Uw,objectivec:Ww,perl:Gw,php:Kw,"php-template":qw,plaintext:Jw,python:Yw,"python-repl":Xw,r:Zw,ruby:Qw,rust:$w,scss:cT,shell:lT,sql:uT,swift:PT,typescript:WT,vbnet:GT,wasm:KT,xml:qT,yaml:JT},XT=e(t(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function x(e,t){let n=e&&e.exec(t);return n&&n.index===0}var S=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function C(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=S.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var w=/\b\B/,T=`[a-zA-Z]\\w*`,E=`[a-zA-Z_]\\w*`,D=`\\b\\d+(\\.\\d+)?`,O=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,k=`\\b(0b[01]+)`,A=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,j=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},M={begin:`\\\\[\\s\\S]`,relevance:0},N={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[M]},P={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[M]},F={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},L=I(`//`,`$`),ee=I(`/\\*`,`\\*/`),R=I(`#`,`$`),z={scope:`number`,begin:D,relevance:0},B={scope:`number`,begin:O,relevance:0},V={scope:`number`,begin:k,relevance:0},H={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[M,{begin:/\[/,end:/\]/,relevance:0,contains:[M]}]},U={scope:`title`,begin:T,relevance:0},W={scope:`title`,begin:E,relevance:0},te={begin:`\\.\\s*`+E,relevance:0},G=Object.freeze({__proto__:null,APOS_STRING_MODE:N,BACKSLASH_ESCAPE:M,BINARY_NUMBER_MODE:V,BINARY_NUMBER_RE:k,COMMENT:I,C_BLOCK_COMMENT_MODE:ee,C_LINE_COMMENT_MODE:L,C_NUMBER_MODE:B,C_NUMBER_RE:O,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:R,IDENT_RE:T,MATCH_NOTHING_RE:w,METHOD_GUARD:te,NUMBER_MODE:z,NUMBER_RE:D,PHRASAL_WORDS_MODE:F,QUOTE_STRING_MODE:P,REGEXP_MODE:H,RE_STARTERS_RE:A,SHEBANG:j,TITLE_MODE:U,UNDERSCORE_IDENT_RE:E,UNDERSCORE_TITLE_MODE:W});function ne(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function K(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function re(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=ne,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function ie(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function ae(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function oe(e,t){e.relevance===void 0&&(e.relevance=1)}var q=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},se=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],ce=`keyword`;function le(e,t,n=ce){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,le(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,ue(n[0],n[1])]})}}function ue(e,t){return t?Number(t):+!de(e)}function de(e){return se.includes(e.toLowerCase())}var fe={},pe=e=>{console.error(e)},me=(e,...t)=>{console.log(`WARN: ${e}`,...t)},he=(e,t)=>{fe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),fe[`${e}/${t}`]=!0)},ge=Error();function _e(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function ve(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw pe(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),ge;if(typeof e.beginScope!=`object`||e.beginScope===null)throw pe(`beginScope must be object`),ge;_e(e,e.begin,{key:`beginScope`}),e.begin=C(e.begin,{joinWith:``})}}function ye(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw pe(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),ge;if(typeof e.endScope!=`object`||e.endScope===null)throw pe(`endScope must be object`),ge;_e(e,e.end,{key:`endScope`}),e.end=C(e.end,{joinWith:``})}}function be(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function xe(e){be(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),ve(e),ye(e)}function Se(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null),this.matcherRe=t(C(this.regexes.map(e=>e[1]),{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[K,ae,xe,q].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[re,ie,oe].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=le(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return we(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function Ce(e){return e?e.endsWithParent||Ce(e.starts):!1}function we(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Ce(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Te=`11.11.1`,Ee=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},De=i,Oe=a,ke=Symbol(`nomatch`),Ae=7,je=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=N(n[1]);return t||(me(s.replace(`{}`,n[1])),me(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||N(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(he(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),he(`10.7.0`,`Please use highlight(code, options) instead.
|
|
10
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};R(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,R(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!A.keywords){M.addText(P);return}let e=0;A.keywordPatternRe.lastIndex=0;let t=A.keywordPatternRe.exec(P),n=``;for(;t;){n+=P.substring(e,t.index);let r=D.case_insensitive?t[0].toLowerCase():t[0],i=u(A,r);if(i){let[e,a]=i;if(M.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=Ae&&(F+=a),e.startsWith(`_`))n+=t[0];else{let n=D.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=A.keywordPatternRe.lastIndex,t=A.keywordPatternRe.exec(P)}n+=P.substring(e),M.addText(n)}function f(){if(P===``)return;let e=null;if(typeof A.subLanguage==`string`){if(!t[A.subLanguage]){M.addText(P);return}e=v(A.subLanguage,P,!0,j[A.subLanguage]),j[A.subLanguage]=e._top}else e=S(P,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(F+=e.relevance),M.__addSublanguage(e._emitter,e.language)}function p(){A.subLanguage==null?d():f(),P=``}function m(e,t){e!==``&&(M.startScope(t),M.addText(e),M.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=D.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(P=i,d(),P=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&M.openNode(D.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(P,D.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),P=``):e.beginScope._multi&&(h(e.beginScope,t),P=``)),A=Object.create(e,{parent:{value:A}}),A}function _(e,t,n){let i=x(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return A.matcher.regexIndex===0?(P+=e[0],1):(ee=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?P+=t:(n.excludeBegin&&(P+=t),p(),!n.returnBegin&&!n.excludeBegin&&(P=t)),g(n,e),n.returnBegin?0:t.length}function C(e){let t=e[0],r=n.substring(e.index),i=_(A,e,r);if(!i)return ke;let a=A;A.endScope&&A.endScope._wrap?(p(),m(t,A.endScope._wrap)):A.endScope&&A.endScope._multi?(p(),h(A.endScope,e)):a.skip?P+=t:(a.returnEnd||a.excludeEnd||(P+=t),p(),a.excludeEnd&&(P=t));do A.scope&&M.closeNode(),!A.skip&&!A.subLanguage&&(F+=A.relevance),A=A.parent;while(A!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function w(){let e=[];for(let t=A;t!==D;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>M.openNode(e))}let T={};function E(t,r){let a=r&&r[0];if(P+=t,a==null)return p(),0;if(T.type===`begin`&&r.type===`end`&&T.index===r.index&&a===``){if(P+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=T.rule,t}return 1}if(T=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(A.scope||`<unnamed>`)+`"`);throw e.mode=A,e}else if(r.type===`end`){let e=C(r);if(e!==ke)return e}if(r.type===`illegal`&&a===``)return P+=`
|
|
11
|
-
`,1;if(L>1e5&&L>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return P+=a,a.length}let D=N(e);if(!D)throw pe(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let O=Se(D),k=``,A=a||O,j={},M=new l.__emitter(l);w();let P=``,F=0,I=0,L=0,ee=!1;try{if(D.__emitTokens)D.__emitTokens(n,M);else{for(A.matcher.considerAll();;){L++,ee?ee=!1:A.matcher.considerAll(),A.matcher.lastIndex=I;let e=A.matcher.exec(n);if(!e)break;let t=E(n.substring(I,e.index),e);I=e.index+t}E(n.substring(I))}return M.finalize(),k=M.toHTML(),{language:e,value:k,relevance:F,illegal:!1,_emitter:M,_top:A}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:De(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:I,context:n.slice(I-100,I+100),mode:t.mode,resultSoFar:k},_emitter:M};if(o)return{language:e,value:De(n),illegal:!1,relevance:0,errorRaised:t,_emitter:M,_top:A};throw t}}function b(e){let t={value:De(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function S(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(N).filter(F).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;if(N(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function C(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function w(e){let t=null,n=d(e);if(u(n))return;if(R(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),l.throwUnescapedHTML))throw new Ee(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):S(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,C(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),R(`after:highlightElement`,{el:e,result:i,text:r})}function T(e){l=Oe(l,e)}let E=()=>{k(),he(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function D(){k(),he(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let O=!1;function k(){function e(){k()}if(document.readyState===`loading`){O||window.addEventListener(`DOMContentLoaded`,e,!1),O=!0;return}document.querySelectorAll(l.cssSelector).forEach(w)}function A(n,r){let i=null;try{i=r(e)}catch(e){if(pe(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)pe(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&P(i.aliases,{languageName:n})}function j(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function M(){return Object.keys(t)}function N(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function P(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function F(e){let t=N(e);return t&&!t.disableAutodetect}function I(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function L(e){I(e),a.push(e)}function ee(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function R(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function z(e){return he(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),he(`10.7.0`,`Please use highlightElement now.`),w(e)}Object.assign(e,{highlight:p,highlightAuto:S,highlightAll:k,highlightElement:w,highlightBlock:z,configure:T,initHighlighting:E,initHighlightingOnLoad:D,registerLanguage:A,unregisterLanguage:j,listLanguages:M,getLanguage:N,registerAliases:P,autoDetection:F,inherit:Oe,addPlugin:L,removePlugin:ee}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Te,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in G)typeof G[e]==`object`&&n(G[e]);return Object.assign(e,G),e},Me=je({});Me.newInstance=()=>je({}),t.exports=Me,Me.HighlightJS=Me,Me.default=Me}))()).default,ZT={},QT=`hljs-`;function $T(e){let t=XT.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(e,n,r){let i=r||ZT,a=typeof i.prefix==`string`?i.prefix:QT;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:eE,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,c=s.data;return c.language=o.language,c.relevance=o.relevance,s}function r(e,r){let a=(r||ZT).subset||i(),o=-1,s=0,c;for(;++o<a.length;){let i=a[o];if(!t.getLanguage(i))continue;let l=n(i,e,r);l.data&&l.data.relevance!==void 0&&l.data.relevance>s&&(s=l.data.relevance,c=l)}return c||{type:`root`,children:[],data:{language:void 0,relevance:s}}}function i(){return t.listLanguages()}function a(e,n){if(typeof e==`string`)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}function o(e,n){if(typeof e==`string`)t.registerAliases(typeof n==`string`?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases(typeof r==`string`?r:[...r],{languageName:n})}}}function s(e){return!!t.getLanguage(e)}}var eE=class{constructor(e){this.options=e,this.root={type:`root`,children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e===``)return;let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&n.type===`text`?n.value+=e:t.children.push({type:`text`,value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:`element`,tagName:`span`,properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(`.`).map(function(e,n){return n?e+`_`.repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:`element`,tagName:`span`,properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return``}},tE=e(t(((e,t)=>{(function(e){let n=`(0?\\d+|0x[a-f0-9]+)`,r={fourOctet:RegExp(`^${n}\\.${n}\\.${n}\\.${n}$`,`i`),threeOctet:RegExp(`^${n}\\.${n}\\.${n}$`,`i`),twoOctet:RegExp(`^${n}\\.${n}$`,`i`),longValue:RegExp(`^${n}$`,`i`)},i=RegExp(`^0[0-7]+$`,`i`),a=RegExp(`^0x[a-f0-9]+$`,`i`),o=`%[0-9a-z]{1,}`,s=`(?:[0-9a-f]+::?)+`,c={zoneIndex:new RegExp(o,`i`),native:RegExp(`^(::)?(${s})?([0-9a-f]+)?(::)?(${o})?$`,`i`),deprecatedTransitional:RegExp(`^(?:::)(${n}\\.${n}\\.${n}\\.${n}(${o})?)$`,`i`),transitional:RegExp(`^((?:${s})|(?:::)(?:${s})?)${n}\\.${n}\\.${n}\\.${n}(${o})?$`,`i`)};function l(e,t){if(e.indexOf(`::`)!==e.lastIndexOf(`::`))return null;let n=0,r=-1,i=(e.match(c.zoneIndex)||[])[0],a,o;for(i&&(i=i.substring(1),e=e.replace(/%.+$/,``));(r=e.indexOf(`:`,r+1))>=0;)n++;if(e.substr(0,2)===`::`&&n--,e.substr(-2,2)===`::`&&n--,n>t)return null;for(o=t-n,a=`:`;o--;)a+=`0:`;return e=e.replace(`::`,a),e[0]===`:`&&(e=e.slice(1)),e[e.length-1]===`:`&&(e=e.slice(0,-1)),t=(function(){let t=e.split(`:`),n=[];for(let e=0;e<t.length;e++)n.push(parseInt(t[e],16));return n})(),{parts:t,zoneId:i}}function u(e,t,n,r){if(e.length!==t.length)throw Error(`ipaddr: cannot match CIDR for objects with different lengths`);let i=0,a;for(;r>0;){if(a=n-r,a<0&&(a=0),e[i]>>a!==t[i]>>a)return!1;r-=n,i+=1}return!0}function d(e){if(a.test(e))return parseInt(e,16);if(e[0]===`0`&&!isNaN(parseInt(e[1],10))){if(i.test(e))return parseInt(e,8);throw Error(`ipaddr: cannot parse ${e} as octal`)}return parseInt(e,10)}function f(e,t){for(;e.length<t;)e=`0${e}`;return e}let p={};p.IPv4=(function(){function e(e){if(e.length!==4)throw Error(`ipaddr: ipv4 octet count should be 4`);let t,n;for(t=0;t<e.length;t++)if(n=e[t],!(0<=n&&n<=255))throw Error(`ipaddr: ipv4 octet should fit in 8 bits`);this.octets=e}return e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,18,0,0]),15],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]],as112:[[new e([192,175,48,0]),24],[new e([192,31,196,0]),24]],amt:[[new e([192,52,193,0]),24]]},e.prototype.kind=function(){return`ipv4`},e.prototype.match=function(e,t){let n;if(t===void 0&&(n=e,e=n[0],t=n[1]),e.kind()!==`ipv4`)throw Error(`ipaddr: cannot match ipv4 address with non-ipv4 one`);return u(this.octets,e.octets,8,t)},e.prototype.prefixLengthFromSubnetMask=function(){let e=0,t=!1,n={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},r,i,a;for(r=3;r>=0;--r)if(i=this.octets[r],i in n){if(a=n[i],t&&a!==0)return null;a!==8&&(t=!0),e+=a}else return null;return 32-e},e.prototype.range=function(){return p.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.toIPv4MappedAddress=function(){return p.IPv6.parse(`::ffff:${this.toString()}`)},e.prototype.toNormalizedString=function(){return this.toString()},e.prototype.toString=function(){return this.octets.join(`.`)},e})(),p.IPv4.broadcastAddressFromCIDR=function(e){try{let t=this.parseCIDR(e),n=t[0].toByteArray(),r=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],a=0;for(;a<4;)i.push(parseInt(n[a],10)|parseInt(r[a],10)^255),a++;return new this(i)}catch{throw Error(`ipaddr: the address does not have IPv4 CIDR format`)}},p.IPv4.isIPv4=function(e){return this.parser(e)!==null},p.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch{return!1}},p.IPv4.isValidCIDR=function(e){try{return this.parseCIDR(e),!0}catch{return!1}},p.IPv4.isValidFourPartDecimal=function(e){return!!(p.IPv4.isValid(e)&&e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},p.IPv4.isValidCIDRFourPartDecimal=function(e){let t=e.match(/^(.+)\/(\d+)$/);return!p.IPv4.isValidCIDR(e)||!t?!1:p.IPv4.isValidFourPartDecimal(t[1])},p.IPv4.networkAddressFromCIDR=function(e){let t,n,r,i,a;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),a=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)&parseInt(a[n],10)),n++;return new this(i)}catch{throw Error(`ipaddr: the address does not have IPv4 CIDR format`)}},p.IPv4.parse=function(e){let t=this.parser(e);if(t===null)throw Error(`ipaddr: string is not formatted like an IPv4 Address`);return new this(t)},p.IPv4.parseCIDR=function(e){let t;if(t=e.match(/^(.+)\/(\d+)$/)){let e=parseInt(t[2]);if(e>=0&&e<=32){let n=[this.parse(t[1]),e];return Object.defineProperty(n,`toString`,{value:function(){return this.join(`/`)}}),n}}throw Error(`ipaddr: string is not formatted like an IPv4 CIDR range`)},p.IPv4.parser=function(e){let t,n,i;if(t=e.match(r.fourOctet))return(function(){let e=t.slice(1,6),r=[];for(let t=0;t<e.length;t++)n=e[t],r.push(d(n));return r})();if(t=e.match(r.longValue)){if(i=d(t[1]),i>4294967295||i<0)throw Error(`ipaddr: address outside defined range`);return(function(){let e=[],t;for(t=0;t<=24;t+=8)e.push(i>>t&255);return e})().reverse()}else if(t=e.match(r.twoOctet))return(function(){let e=t.slice(1,4),n=[];if(i=d(e[1]),i>16777215||i<0)throw Error(`ipaddr: address outside defined range`);return n.push(d(e[0])),n.push(i>>16&255),n.push(i>>8&255),n.push(i&255),n})();else if(t=e.match(r.threeOctet))return(function(){let e=t.slice(1,5),n=[];if(i=d(e[2]),i>65535||i<0)throw Error(`ipaddr: address outside defined range`);return n.push(d(e[0])),n.push(d(e[1])),n.push(i>>8&255),n.push(i&255),n})();else return null},p.IPv4.subnetMaskFromPrefixLength=function(e){if(e=parseInt(e),e<0||e>32)throw Error(`ipaddr: invalid IPv4 prefix length`);let t=[0,0,0,0],n=0,r=Math.floor(e/8);for(;n<r;)t[n]=255,n++;return r<4&&(t[r]=2**(e%8)-1<<8-e%8),new this(t)},p.IPv6=(function(){function e(e,t){let n,r;if(e.length===16)for(this.parts=[],n=0;n<=14;n+=2)this.parts.push(e[n]<<8|e[n+1]);else if(e.length===8)this.parts=e;else throw Error(`ipaddr: ipv6 part count should be 8 or 16`);for(n=0;n<this.parts.length;n++)if(r=this.parts[n],!(0<=r&&r<=65535))throw Error(`ipaddr: ipv6 part should fit in 16 bits`);t&&(this.zoneId=t)}return e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],deprecatedSiteLocal:[new e([65216,0,0,0,0,0,0,0]),10],discard:[new e([256,0,0,0,0,0,0,0]),64],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[[new e([100,65435,0,0,0,0,0,0]),96],[new e([100,65435,1,0,0,0,0,0]),48]],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],benchmarking:[new e([8193,2,0,0,0,0,0,0]),48],amt:[new e([8193,3,0,0,0,0,0,0]),32],as112v6:[[new e([8193,4,274,0,0,0,0,0]),48],[new e([9760,79,32768,0,0,0,0,0]),48]],deprecatedOrchid:[new e([8193,16,0,0,0,0,0,0]),28],orchid2:[new e([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new e([8193,48,0,0,0,0,0,0]),28],segmentRouting:[new e([24320,0,0,0,0,0,0,0]),16],reserved:[[new e([8193,0,0,0,0,0,0,0]),23],[new e([8193,3512,0,0,0,0,0,0]),32],[new e([16383,0,0,0,0,0,0,0]),20]]},e.prototype.isIPv4MappedAddress=function(){return this.range()===`ipv4Mapped`},e.prototype.kind=function(){return`ipv6`},e.prototype.match=function(e,t){let n;if(t===void 0&&(n=e,e=n[0],t=n[1]),e.kind()!==`ipv6`)throw Error(`ipaddr: cannot match ipv6 address with non-ipv6 one`);return u(this.parts,e.parts,16,t)},e.prototype.prefixLengthFromSubnetMask=function(){let e=0,t=!1,n={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},r,i;for(let a=7;a>=0;--a)if(r=this.parts[a],r in n){if(i=n[r],t&&i!==0)return null;i!==16&&(t=!0),e+=i}else return null;return 128-e},e.prototype.range=function(){return p.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){let e,t=[],n=this.parts;for(let r=0;r<n.length;r++)e=n[r],t.push(e>>8),t.push(e&255);return t},e.prototype.toFixedLengthString=function(){let e=(function(){let e=[];for(let t=0;t<this.parts.length;t++)e.push(f(this.parts[t].toString(16),4));return e}).call(this).join(`:`),t=``;return this.zoneId&&(t=`%${this.zoneId}`),e+t},e.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw Error(`ipaddr: trying to convert a generic ipv6 address to ipv4`);let e=this.parts.slice(-2),t=e[0],n=e[1];return new p.IPv4([t>>8,t&255,n>>8,n&255])},e.prototype.toNormalizedString=function(){let e=(function(){let e=[];for(let t=0;t<this.parts.length;t++)e.push(this.parts[t].toString(16));return e}).call(this).join(`:`),t=``;return this.zoneId&&(t=`%${this.zoneId}`),e+t},e.prototype.toRFC5952String=function(){let e=/((^|:)(0(:|$)){2,})/g,t=this.toNormalizedString(),n=0,r=-1,i;for(;i=e.exec(t);)i[0].length>r&&(n=i.index,r=i[0].length);return r<0?t:`${t.substring(0,n)}::${t.substring(n+r)}`},e.prototype.toString=function(){return this.toRFC5952String()},e})(),p.IPv6.broadcastAddressFromCIDR=function(e){try{let t=this.parseCIDR(e),n=t[0].toByteArray(),r=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],a=0;for(;a<16;)i.push(parseInt(n[a],10)|parseInt(r[a],10)^255),a++;return new this(i)}catch(e){throw Error(`ipaddr: the address does not have IPv6 CIDR format (${e})`)}},p.IPv6.isIPv6=function(e){return this.parser(e)!==null},p.IPv6.isValid=function(e){if(typeof e==`string`&&e.indexOf(`:`)===-1)return!1;try{let t=this.parser(e);return new this(t.parts,t.zoneId),!0}catch{return!1}},p.IPv6.isValidCIDR=function(e){if(typeof e==`string`&&e.indexOf(`:`)===-1)return!1;try{return this.parseCIDR(e),!0}catch{return!1}},p.IPv6.networkAddressFromCIDR=function(e){let t,n,r,i,a;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),a=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<16;)i.push(parseInt(r[n],10)&parseInt(a[n],10)),n++;return new this(i)}catch(e){throw Error(`ipaddr: the address does not have IPv6 CIDR format (${e})`)}},p.IPv6.parse=function(e){let t=this.parser(e);if(t.parts===null)throw Error(`ipaddr: string is not formatted like an IPv6 Address`);return new this(t.parts,t.zoneId)},p.IPv6.parseCIDR=function(e){let t,n,r;if((n=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(n[2]),t>=0&&t<=128))return r=[this.parse(n[1]),t],Object.defineProperty(r,`toString`,{value:function(){return this.join(`/`)}}),r;throw Error(`ipaddr: string is not formatted like an IPv6 CIDR range`)},p.IPv6.parser=function(e){let t,n,r,i,a,o;if(r=e.match(c.deprecatedTransitional))return this.parser(`::ffff:${r[1]}`);if(c.native.test(e))return l(e,8);if((r=e.match(c.transitional))&&(o=r[6]||``,t=r[1],r[1].endsWith(`::`)||(t=t.slice(0,-1)),t=l(t+o,6),t.parts)){for(a=[parseInt(r[2]),parseInt(r[3]),parseInt(r[4]),parseInt(r[5])],n=0;n<a.length;n++)if(i=a[n],!(0<=i&&i<=255))return null;return t.parts.push(a[0]<<8|a[1]),t.parts.push(a[2]<<8|a[3]),{parts:t.parts,zoneId:t.zoneId}}return null},p.IPv6.subnetMaskFromPrefixLength=function(e){if(e=parseInt(e),e<0||e>128)throw Error(`ipaddr: invalid IPv6 prefix length`);let t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=0,r=Math.floor(e/8);for(;n<r;)t[n]=255,n++;return r<16&&(t[r]=2**(e%8)-1<<8-e%8),new this(t)},p.fromByteArray=function(e){let t=e.length;if(t===4)return new p.IPv4(e);if(t===16)return new p.IPv6(e);throw Error(`ipaddr: the binary input is neither an IPv6 nor IPv4 address`)},p.isValid=function(e){return p.IPv6.isValid(e)||p.IPv4.isValid(e)},p.isValidCIDR=function(e){return p.IPv6.isValidCIDR(e)||p.IPv4.isValidCIDR(e)},p.parse=function(e){if(p.IPv6.isValid(e))return p.IPv6.parse(e);if(p.IPv4.isValid(e))return p.IPv4.parse(e);throw Error(`ipaddr: the address has neither IPv6 nor IPv4 format`)},p.parseCIDR=function(e){try{return p.IPv6.parseCIDR(e)}catch{try{return p.IPv4.parseCIDR(e)}catch{throw Error(`ipaddr: the address has neither IPv6 nor IPv4 CIDR format`)}}},p.process=function(e){let t=this.parse(e);return t.kind()===`ipv6`&&t.isIPv4MappedAddress()?t.toIPv4Address():t},p.subnetMatch=function(e,t,n){let r,i,a,o;for(i in n??=`unicast`,t)if(Object.prototype.hasOwnProperty.call(t,i)){for(a=t[i],a[0]&&!(a[0]instanceof Array)&&(a=[a]),r=0;r<a.length;r++)if(o=a[r],e.kind()===o[0].kind()&&e.match.apply(e,o))return i}return n},t!==void 0&&t.exports?t.exports=p:e.ipaddr=p})(e)}))(),1),nE=new Set([`href`,`src`,`srcset`,`poster`,`formaction`,`xlink:href`]),rE=new Set([`aria-label`,`aria-description`,`title`]),iE=/(?:[a-zA-Z][a-zA-Z0-9+.-]*:\/\/[^\s"'<>]+|(?:javascript|vbscript|data|file|chrome-extension|moz-extension):[^\s"'<>]*)/gi,aE=/url\s*\(\s*['"]?\s*(?:javascript|vbscript|data)\s*:/i,oE=/\bexpression\s*\(/i,sE=/(oklch|oklab|lab|lch)\(\s*([^)]+)\s*\)/gi,cE=`data-clipboard-omit`;function lE(e){let t=e.trim();return t===``||Ge.test(t)?!0:z(t)}function uE(e){let t=e.split(`,`);for(let e of t){let t=e.trim();if(t!==``&&!lE(t.split(/\s+/)[0]??``))return!1}return!0}function dE(e,t){let n=!1,r=e.replace(iE,e=>lE(e)?e:(n=!0,`[blocked]`));return t?.reportNoChange&&!n?null:r}function fE(e){let t=e.toLowerCase();return t.length>=3&&t.startsWith(`on`)}function pE(e){return e.length>1e4||aE.test(e)||oE.test(e)?``:e}function mE(e){let t=e.indexOf(`/`),n=(t===-1?e:e.slice(0,t)).trim(),r=t===-1?null:e.slice(t+1).trim(),i=n.split(/[\s,]+/).filter(e=>e.length>0);if(i.length!==3)return null;let a=hE(i[0],1),o=hE(i[1],1),s=hE(i[2],1);if(Number.isNaN(a)||Number.isNaN(o)||Number.isNaN(s))return null;let c=null;if(r!==null){if(c=hE(r,1),Number.isNaN(c))return null;c=Math.max(0,Math.min(1,c))}return[a,o,s,c]}function hE(e,t){return e===`none`?0:e.endsWith(`%`)?Number.parseFloat(e.slice(0,-1))/100*t:Number.parseFloat(e)}function gE(e,t,n){let r=n*Math.PI/180;return[e,t*Math.cos(r),t*Math.sin(r)]}function _E(e,t,n){let r=e+.3963377774*t+.2158037573*n,i=e-.1055613458*t-.0638541728*n,a=e-.0894841775*t-1.291485548*n,o=r**3,s=i**3,c=a**3;return[4.0767416621*o-3.3077115913*s+.2309699292*c,-1.2684380046*o+2.6097574011*s-.3413193965*c,-.0041960863*o-.7034186147*s+1.707614701*c]}function vE(e){return e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055}function yE(e){return Number.isFinite(e)?Math.max(0,Math.min(255,Math.round(e*255))):0}function bE(e,t,n,r){let i=e.toLowerCase(),a,o,s;i===`oklch`?[a,o,s]=gE(t,n,r):i===`oklab`?[a,o,s]=[t,n,r]:i===`lch`?[a,o,s]=gE(t/100,n/100,r):[a,o,s]=[t/100,n/100,r/100];let[c,l,u]=_E(a,o,s);return[yE(vE(c)),yE(vE(l)),yE(vE(u))]}function xE(e){if(e.length>1e4)return e;let t=e.toLowerCase();return!t.includes(`oklch`)&&!t.includes(`oklab`)&&!t.includes(`lab`)&&!t.includes(`lch`)?e:e.replace(sE,(e,t,n)=>{let r=mE(n);if(r===null)return e;let[i,a,o,s]=r,[c,l,u]=bE(t,i,a,o);return s===null?`rgb(${c}, ${l}, ${u})`:`rgba(${c}, ${l}, ${u}, ${s})`})}var SE=new Set([`mailto`,`tel`,`sms`,`ftp`,`ftps`]);function CE(e){let t=e.trim();if(t.startsWith(`#`))return{portable:!0};if(z(t))return t.startsWith(`/`)?{portable:!1,reason:`server-absolute`}:{portable:!1,reason:`relative`};let n=new URL(t),r=n.protocol.slice(0,-1).toLowerCase();if(SE.has(r))return{portable:!0};if(r!==`http`&&r!==`https`)return{portable:!1,reason:`other`};let i=n.hostname.toLowerCase();if(i===``)return{portable:!1,reason:`other`};let a=i.endsWith(`.`)?i.slice(0,-1):i;if(a===`localhost`||a.endsWith(`.localhost`))return{portable:!1,reason:`localhost`};let o=i.startsWith(`[`)&&i.endsWith(`]`)?i.slice(1,-1):i;return tE.IPv4.isValid(o)?tE.IPv4.parse(o).range()===`unicast`?{portable:!0}:{portable:!1,reason:`private-ip`}:tE.IPv6.isValid(o)?tE.IPv6.parse(o).range()===`unicast`?{portable:!0}:{portable:!1,reason:`private-ip`}:{portable:!0}}function wE(e){if(!e)return`plaintext`;if(e.types.includes(`vscode-editor-data`))return`vscode`;if(e.types.includes(`text/x-gfm`))return`gfm`;let t=e.getData(`text/html`);return t?/data-pm-slice/i.test(t)?`pm-origin`:/docs-internal-guid-/i.test(t)?`gdocs`:/xmlns:o="urn:schemas-microsoft-com:office/i.test(t)||/<meta[^>]*Generator[^>]*Microsoft Word/i.test(t)?`word`:/class="gmail_|class='gmail_/i.test(t)?`gmail`:/notionvc:/i.test(t)?`notion`:/Cocoa HTML Writer/i.test(t)?`apple`:/c-message_kit__|c-message__|c-compose/i.test(t)?`slack`:/google-sheets-html-origin/i.test(t)?`gsheets`:/data-hovercard-type=/i.test(t)?`github`:`generic`:`plaintext`}var TE=250,EE=100;function DE(e,t){let n=performance.now()-e;n<(t.op===`paste`||t.op===`drop`?TE:EE)||console.warn(JSON.stringify({event:`clipboard-slow-op`,op:t.op,view:t.view,elapsedMs:Math.round(n),branch:t.branch,source:t.source,...t.htmlBytes==null?{}:{htmlBytes:t.htmlBytes}}))}function OE(e){console.warn(JSON.stringify({event:`clipboard-source-detected`,view:e.view,source:e.source,branch:e.branch}))}function kE(e){console.warn(JSON.stringify({event:`clipboard-html-conversion-failed`,view:e.view,stage:e.stage,source:e.source,...e.branch==null?{}:{branch:e.branch},reason:e.reason,...e.errorClass==null?{}:{errorClass:e.errorClass},...e.htmlBytes==null?{}:{htmlBytes:e.htmlBytes}}))}function AE(e){console.warn(JSON.stringify({event:`clipboard-serialize-failed`,view:e.view,kind:e.kind,reason:e.reason}))}function jE(e){console.warn(JSON.stringify({event:`clipboard-walker-fallback-fired`,descriptor:e.descriptor,view:e.view}))}function ME(e){console.warn(JSON.stringify({event:`clipboard-walker-non-portable-render-source-emitted`,descriptor:e.descriptor,view:e.view}))}function NE(e){console.warn(JSON.stringify({event:`clipboard-walker-url-blocked`,view:e.view,attr:e.attr,reason:e.reason}))}function PE(e){console.warn(JSON.stringify({event:`clipboard-walker-url-source-emitted`,view:e.view,tag:e.tag,class:e.class,reason:e.reason}))}function FE(e){console.warn(JSON.stringify({event:`clipboard-walker-url-classifier-failed`,view:e.view,tag:e.tag,phase:e.phase,...e.errorClass==null?{}:{errorClass:e.errorClass}}))}var IE=new Set;function LE(e){IE.has(e.lucideClass)||(IE.add(e.lucideClass),console.warn(JSON.stringify({event:`clipboard-walker-unmapped-lucide-detected`,view:e.view,lucideClass:e.lucideClass})))}function RE(e){console.warn(JSON.stringify({event:`clipboard-chunked-insert-failed`,view:e.view,chunksCompleted:e.chunksCompleted,totalChunks:e.totalChunks,bytesWritten:e.bytesWritten,bytesRemaining:e.bytesRemaining,reason:e.reason}))}function zE(e){if(e instanceof te)return`HtmlPayloadTooLargeError`;if(e instanceof Ht)return`ChunkedInsertError`;if(e instanceof Error&&e.name&&e.name!==`Error`)return e.name}var BE=/^```/m,VE=/^#{1,6} /m,HE=/^[-*+] /m,UE=/^\d+[.)] /m,WE=/\[[^\]\n]+\]\([^)\n]+\)/,GE=/^\|.*\|$/m,KE=/^\|?\s*(:?-+:?)(\s*\|\s*:?-+:?)+\s*\|?$/m,qE=/\$\$[\s\S]+?\$\$/,JE=/^> /m,YE=/`[^`\n]+`/,XE=/\*\*[^*\n]+\*\*/,ZE=/__[^_\n]+__/,QE=/~~[^~\n]+~~/,$E=/<[A-Z]\w*[\s/>]/,eD=/<[a-z]+\s+\w+="[^"]*"/,tD=/<[a-z]+>[^<\n]*<\/[a-z]+>/,nD=/^.+\n[=-]+$/m,rD=/(^|\s)\*[^*\s\n][^*\n]*[^*\s\n]\*(\s|$)/m,iD=/(^|\s)_[^_\s\n][^_\n]*[^_\s\n]_(\s|$)/m,aD=/^~~~/m,oD=/\\[\\`*_{}[\]<>()#+\-.!|]/,sD=256*1024,cD=32*1024;function lD(e){return e.length<=sD?e:`${e.slice(0,cD)}\n${e.slice(-cD)}`}function uD(e){if(!e)return!1;let t=lD(e),n=0;BE.test(t)&&n++,VE.test(t)&&n++,HE.test(t)&&n++,UE.test(t)&&n++,WE.test(t)&&n++,GE.test(t)&&KE.test(t)&&n++,qE.test(t)&&n++,JE.test(t)&&n++,YE.test(t)&&n++,(XE.test(t)||ZE.test(t)||QE.test(t))&&n++,$E.test(t)&&n++,eD.test(t)&&n++,tD.test(t)&&n++,nD.test(t)&&n++,rD.test(t)&&n++,iD.test(t)&&n++,aD.test(t)&&n++,oD.test(t)&&n++;let r=t.split(`
|
|
12
|
-
`).length,i=Math.min(3,Math.floor(r/5));return n>=Math.max(1,i)}var dD=/^[a-z][a-z0-9+.-]*:/i;function fD(e){let t=e.trim();return!t||/\s/.test(t)?null:t}function pD(e){let t=fD(e);return t&&rv(t)?t:null}function mD(e){let t=fD(e);if(!t)return null;if(dD.test(t))return _(t)?t:null;let n=rv(t);if(n&&n.text===t&&n.href.startsWith(`mailto:`))return n.href;let r=t.split(/[/?#]/,1)[0]??``;if(r.includes(`@`)||!r.includes(`.`)||r.startsWith(`.`)||r.endsWith(`.`))return null;let i=`https://${t}`;return _(i)?i:null}function hD(e){let t=fD(e);return!t||!dD.test(t)?null:_(t)?t:null}var gD=3e3,_D=new Map;function vD(e,t=`Pasted as plain text — some formatting could not be converted.`){let n=Date.now();return n-(_D.get(e)??0)<gD?!1:(_D.set(e,n),Tr.error(t),!0)}var yD=!1,bD=!1;function xD(e){yD=e.shiftKey}function SD(e){(e.key===`Shift`||!e.shiftKey)&&(yD=!1)}function CD(){yD=!1}function wD(){bD||typeof window>`u`||(window.addEventListener(`keydown`,xD,!0),window.addEventListener(`keyup`,SD,!0),window.addEventListener(`blur`,CD,!0),bD=!0)}function TD(){wD()}function ED(){return wD(),yD}function DD(e){return ED()?!0:e.shiftKey===!0}function OD(e){return(t,n)=>AD(t,n,`paste`,e)}function kD(e){return(t,n)=>n.dataTransfer?.files&&n.dataTransfer.files.length>0?!1:AD(t,n,`drop`,e)}function AD(e,t,n,r){let i=n===`paste`?t.clipboardData:t.dataTransfer;if(!i||i.types.length===0)return!1;let a=performance.now(),o=wE(i),s=i.getData(`text/plain`),c=i.getData(`text/html`);if(jD(t,n))return s&&PD(e,s),OE({view:`wysiwyg`,branch:`shift`,source:o}),DE(a,{op:n,view:`wysiwyg`,branch:`shift`,source:o}),!0;if(MD(e))return s&&PD(e,s),OE({view:`wysiwyg`,branch:`codeblock`,source:o}),DE(a,{op:n,view:`wysiwyg`,branch:`codeblock`,source:o}),!0;if(s)if(e.state.selection.empty){let t=pD(s);if(t&&LD(e,t,r,`url`,o))return OE({view:`wysiwyg`,branch:`url`,source:o}),DE(a,{op:n,view:`wysiwyg`,branch:`url`,source:o}),!0}else{let t=mD(s);if(t&&ND(e,t,o))return OE({view:`wysiwyg`,branch:`url`,source:o}),DE(a,{op:n,view:`wysiwyg`,branch:`url`,source:o}),!0}let l=i.getData(`vscode-editor-data`);if(l&&s&&ID(e,l,s,o))return OE({view:`wysiwyg`,branch:`A`,source:o}),DE(a,{op:n,view:`wysiwyg`,branch:`A`,source:o}),!0;let u=i.getData(`text/x-gfm`);return u&&LD(e,u,r,`B`,o)||s&&c&&uD(s)&&LD(e,s,r,`B`,o)?(OE({view:`wysiwyg`,branch:`B`,source:o}),DE(a,{op:n,view:`wysiwyg`,branch:`B`,source:o}),!0):c&&/data-pm-slice/i.test(c)?(OE({view:`wysiwyg`,branch:`C`,source:o}),DE(a,{op:n,view:`wysiwyg`,branch:`C`,source:o}),!1):c&&RD(e,c,r,o)?(OE({view:`wysiwyg`,branch:`D`,source:o}),DE(a,{op:n,view:`wysiwyg`,branch:`D`,source:o,htmlBytes:c.length}),!0):s?uD(s)&&LD(e,s,r,`E`,`markdown-text`)?(OE({view:`wysiwyg`,branch:`E`,source:`markdown-text`}),DE(a,{op:n,view:`wysiwyg`,branch:`E`,source:`markdown-text`}),!0):(PD(e,s),OE({view:`wysiwyg`,branch:`E`,source:`plaintext`}),DE(a,{op:n,view:`wysiwyg`,branch:`E`,source:`plaintext`}),!0):!1}function jD(e,t){return t===`paste`?DD(e):e.shiftKey===!0}function MD(e){let{$from:t}=e.state.selection;for(let e=t.depth;e>=0;e--)if(t.node(e).type.name===`codeBlock`)return!0;return!1}function ND(e,t,n){try{let{state:n}=e,r=n.selection;if(!(r instanceof y)||!r.$from.sameParent(r.$to))return!1;let i=n.schema.marks.link;if(!i)return!1;let a=n.schema.marks.code;return a&&n.doc.rangeHasMark(r.from,r.to,a)?!1:(e.dispatch(n.tr.addMark(r.from,r.to,i.create({href:t})).setMeta(uv,!0)),!0)}catch(e){return kE({view:`wysiwyg`,stage:`linkifySelection`,source:n,branch:`url`,reason:`${e?.message??`unknown`} (href=${t})`,errorClass:zE(e)}),vD(`wysiwyg`,`Pasted without linking — the link could not be applied.`),!1}}function PD(e,t){let{schema:n,tr:r}=e.state;t&&e.dispatch(r.replaceSelectionWith(n.text(t)).setMeta(uv,!0).scrollIntoView())}var FD=/^[A-Za-z0-9_+-]+$/;function ID(e,t,n,r){try{let r=JSON.parse(t),i=typeof r.mode==`string`?r.mode:``,a=FD.test(i)?i:``,o=e.state.schema.nodes.codeBlock;if(!o)return!1;let s=o.create({language:a},n?e.state.schema.text(n):null);return e.dispatch(e.state.tr.replaceSelectionWith(s).setMeta(uv,!0).scrollIntoView()),!0}catch(e){return kE({view:`wysiwyg`,stage:`branchA`,source:r,branch:`A`,reason:e?.message??`unknown`,errorClass:zE(e)}),vD(`wysiwyg`),!1}}function LD(e,t,n,r,i){let a;try{a=n.mdManager.parse(t)}catch(e){return kE({view:`wysiwyg`,stage:`mdManagerParse`,source:i,branch:r,reason:e?.message??`unknown`,errorClass:zE(e)}),vD(`wysiwyg`),!1}return zD(e,a,i,r)}function RD(e,t,n,r){let i;try{i=S(t)}catch(e){return kE({view:`wysiwyg`,stage:`htmlToMdast`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:zE(e),htmlBytes:t.length}),vD(`wysiwyg`),!1}let a;try{a=jt(i)}catch(e){return kE({view:`wysiwyg`,stage:`mdastToMarkdown`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:zE(e),htmlBytes:t.length}),vD(`wysiwyg`),!1}let o;try{o=n.mdManager.parse(a)}catch(e){return kE({view:`wysiwyg`,stage:`mdManagerParse`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:zE(e),htmlBytes:t.length}),vD(`wysiwyg`),!1}return zD(e,o,r,`D`,t.length)}function zD(e,t,n,r,i){try{let n=e.state.schema.nodeFromJSON(t);return e.dispatch(e.state.tr.replaceSelection(n.slice(0,n.content.size)).setMeta(uv,!0).scrollIntoView()),!0}catch(e){return kE({view:`wysiwyg`,stage:`applyJsonSlice`,source:n,branch:r,reason:e?.message??`unknown`,errorClass:zE(e),...i==null?{}:{htmlBytes:i}}),vD(`wysiwyg`),!1}}function BD(e){if(e.type.name!==`jsxComponent`)return null;let t=e.attrs.componentName,n=e.attrs.props??{};switch(t){case`Math`:return{source:`$$\n${typeof n.formula==`string`?n.formula:``}\n$$`};case`MermaidFence`:return{source:`\`\`\`mermaid\n${typeof n.chart==`string`?n.chart:``}\n\`\`\``};default:return null}}function VD(e,t){let n=BD(e);if(!n)return null;let r=t.createElement(`pre`);r.className=`mdx-component`;let i=t.createElement(`code`);return i.textContent=n.source,r.appendChild(i),r}var HD={note:{color:`#0969da`,bg:`#dbeafe`},tip:{color:`#1f883d`,bg:`#dcfce7`},important:{color:`#8250df`,bg:`#f3e8ff`},warning:{color:`#9a6700`,bg:`#fef3c7`},caution:{color:`#cf222e`,bg:`#fee2e2`}};function UD(e){return Object.hasOwn(HD,e)?HD[e]:HD.note}function WD(e){let t=typeof e.type==`string`?e.type:`note`,n=UD(t),r=document.createElement(`aside`);if(r.setAttribute(`class`,`callout callout-${t}`),r.setAttribute(`data-callout-type`,t),r.setAttribute(`style`,`border-left: 3px solid ${n.color}; background-color: ${n.bg}; padding: 0.5rem 0.75rem; border-radius: 0.25rem;`),typeof e.title==`string`&&e.title){let t=document.createElement(`strong`);t.textContent=e.title,r.appendChild(t)}return r}function GD(e){let t=document.createElement(`details`);e.defaultOpen===!0&&t.setAttribute(`open`,``),t.setAttribute(`class`,`accordion`);let n=document.createElement(`summary`);return n.textContent=typeof e.title==`string`?e.title:`Accordion`,t.appendChild(n),t}function KD(e){let t=CE(e);return t.portable?null:t.reason}function qD(e){let t=document.createElement(`pre`);t.className=`mdx-component`;let n=document.createElement(`code`);return n.textContent=e,t.appendChild(n),t}function JD(e,t,n){if(e===``)return null;let r;try{r=KD(e)}catch(e){let n=zE(e);return FE({view:`wysiwyg`,tag:t,phase:`classifier-throw`,...n===void 0?{}:{errorClass:n}}),null}return r===null?null:(PE({view:`wysiwyg`,tag:t,class:`mdx-component`,reason:r}),qD(n))}function YD(e){let t=typeof e.alt==`string`?e.alt:``,n=typeof e.src==`string`?e.src:``,r=JD(n,`img`,``);if(r!==null)return r;let i=document.createElement(`img`);return n&&lE(n)&&i.setAttribute(`src`,n),typeof e.alt==`string`&&i.setAttribute(`alt`,e.alt),i}function XD(e,t){let n=document.createElement(e);return n.setAttribute(`src`,t),n.outerHTML}function ZD(e){let t=typeof e.src==`string`?e.src:``,n=JD(t,`video`,XD(`video`,t));if(n!==null)return n;let r=document.createElement(`video`);return t&&lE(t)&&r.setAttribute(`src`,t),e.controls!==!1&&r.setAttribute(`controls`,``),r}function QD(e){let t=typeof e.src==`string`?e.src:``,n=JD(t,`audio`,XD(`audio`,t));if(n!==null)return n;let r=document.createElement(`audio`);return t&&lE(t)&&r.setAttribute(`src`,t),e.controls!==!1&&r.setAttribute(`controls`,``),r}function $D(e){if(e.type.name!==`jsxComponent`)return null;let t=e.attrs.componentName,n=e.attrs.props??{};switch(t){case`Callout`:case`GFMCallout`:return WD(n);case`Accordion`:case`HtmlDetailsAccordion`:return GD(n);case`img`:case`CommonMarkImage`:return YD(n);case`video`:return ZD(n);case`audio`:return QD(n);case`Math`:case`MermaidFence`:return VD(e,document);default:return null}}var eO=`color.background-color.background-image.border.border-top.border-right.border-bottom.border-left.border-color.border-width.border-style.border-radius.padding.padding-top.padding-right.padding-bottom.padding-left.margin.margin-top.margin-right.margin-bottom.margin-left.font-family.font-size.font-weight.font-style.text-decoration.text-align.line-height.list-style.list-style-type.list-style-position.vertical-align.white-space`.split(`.`),tO=new Set([`jsx-component-wrapper`,`selectedCell`,`is-empty`,`ProseMirror-selectednode`,`ProseMirror-trailingBreak`]),nO=new Set([`data-selected`,`data-has-child-selected`,`data-dragging`,`data-range-selected`,`contenteditable`,`data-pm-slice`]),rO={getComputedStyle:e=>window.getComputedStyle(e)};function iO(e,t=eO){let n=``;for(let r of t){let t=e.getPropertyValue(r);t&&(t===`initial`||t===`normal`||(n+=`${r}: ${xE(t)}; `))}return n.trim()}function aO(e,t=tO){return e.split(/\s+/).filter(e=>e.length>0&&!t.has(e)).join(` `)||null}function oO(e,t,n){let r=!1;return e.nodesBetween(t,n,(i,a,o)=>(o===e&&(t>a||n<a+i.nodeSize)&&(r=!0),!1)),r}function sO(e,t,n=rO){let r=document.createDocumentFragment(),{from:i,to:a}=t.state.selection;return i===a||oO(t.state.doc,i,a)||t.state.doc.nodesBetween(i,a,(e,i,a)=>{if(a!==t.state.doc)return!1;let o=t.nodeDOM(i);if(o==null){jE({descriptor:e.type.name,view:`wysiwyg`});let t=$D(e);return t&&r.appendChild(t),!1}if(!(o instanceof Element)||o.getAttribute(`data-clipboard-omit`)===`true`)return!1;let s=VD(e,document);return s===null?(r.appendChild(cO(o,n)),!1):(r.appendChild(s),ME({view:`wysiwyg`,descriptor:e.attrs.componentName??e.type.name}),!1)}),r}function cO(e,t){let n=e.cloneNode(!0);return gO(e,n,t),_O(n),uO(n),kO(e,n,t),mO(n),lO(n),n}function lO(e){let t=e.ownerDocument,n=e=>{let r=e.tagName.toUpperCase();if(!(r===`PRE`||r===`CODE`))for(let r of Array.from(e.childNodes))if(r.nodeType===Node.TEXT_NODE){let e=r.nodeValue??``;if(!e.includes(`
|
|
13
|
-
`))continue;let n=e.split(`
|
|
14
|
-
`),i=t.createDocumentFragment();for(let e=0;e<n.length;e++)e>0&&i.appendChild(t.createElement(`br`)),n[e].length>0&&i.appendChild(t.createTextNode(n[e]));r.replaceWith(i)}else r.nodeType===Node.ELEMENT_NODE&&n(r)};n(e)}function uO(e){let t=Array.from(e.querySelectorAll(`[data-component-type="math-inline"]`));for(let n of t){if(!n.parentNode)continue;let t=n.getAttribute(`data-formula`)??``,r=e.ownerDocument.createElement(`span`);r.className=`mdx-inline`,r.textContent=`$$${t}$$`,n.replaceWith(r),ME({view:`wysiwyg`,descriptor:`mathInline`})}let n=Array.from(e.querySelectorAll(`a[data-wiki-embed]`));for(let t of n){if(!t.parentNode)continue;let n=t.getAttribute(`data-target`)??``;if(!n)continue;let r=t.getAttribute(`data-alias`)||null,i=t.getAttribute(`data-anchor`)||null,a=e.ownerDocument.createElement(`span`);a.className=`mdx-inline`,a.textContent=dO(n,i,r),t.replaceWith(a),ME({view:`wysiwyg`,descriptor:`wikiLinkEmbed`})}}function dO(e,t,n){let r=e;return t&&(r+=`#${t}`),n&&(r+=`|${n}`),`![[${r}]]`}var fO={"lucide-chevron-right":`›`,"lucide-chevron-down":`⌄`,"lucide-info":`ℹ`,"lucide-lightbulb":`💡`,"lucide-message-square-warning":`❗`,"lucide-alert-triangle":`⚠`,"lucide-alert-octagon":`⛔`},pO=/(?:^|\s)(lucide-[a-z0-9-]+)(?:\s|$)/;function mO(e){let t=e.querySelectorAll(`svg`);for(let e of Array.from(t)){let t=(e.getAttribute(`class`)??``).match(pO);if(!t)continue;let n=t[1],r=fO[n];if(!r){LE({lucideClass:n,view:`wysiwyg`});continue}let i=e.ownerDocument.createElement(`span`);i.setAttribute(`aria-hidden`,`true`),i.textContent=r,e.replaceWith(i)}}function hO(e,t){if(e.tagName.toUpperCase()!==`INPUT`)return;let n=e;n.type===`checkbox`&&(n.checked?t.setAttribute(`checked`,``):t.removeAttribute(`checked`))}function gO(e,t,n){let r=iO(n.getComputedStyle(e));if(r){let e=t.getAttribute(`style`);t.setAttribute(`style`,e?`${e}; ${r}`:r)}let i=t.getAttribute(`class`);if(i!==null){let e=aO(i);e?t.setAttribute(`class`,e):t.removeAttribute(`class`)}for(let e of Array.from(t.attributes)){if(nO.has(e.name)){t.removeAttribute(e.name);continue}if(fE(e.name)){t.removeAttribute(e.name),NE({attr:`on*`,reason:`event-handler`,view:`wysiwyg`});continue}if(e.name===`style`){let n=pE(e.value);n===``?(t.removeAttribute(`style`),NE({attr:`style`,reason:`unsafe-url-or-expression`,view:`wysiwyg`})):n!==e.value&&t.setAttribute(`style`,n);continue}if(nE.has(e.name)){(e.name===`srcset`?uE(e.value):lE(e.value))||(t.removeAttribute(e.name),NE({attr:e.name,reason:e.name===`srcset`?`srcset-candidate`:`scheme`,view:`wysiwyg`}));continue}if(rE.has(e.name)){let n=dE(e.value,{reportNoChange:!0});n!==null&&(t.setAttribute(e.name,n),NE({attr:e.name,reason:`embedded-url`,view:`wysiwyg`}))}}hO(e,t);let a=Array.from(e.children),o=Array.from(t.children),s=Math.min(a.length,o.length);for(let e=0;e<s;e++){let t=a[e],r=o[e];if(t.getAttribute(`data-clipboard-omit`)===`true`){r.remove();continue}gO(t,r,n)}}function _O(e){let t=e.querySelectorAll(`span[data-wiki-link]`);for(let e of Array.from(t)){let t=e.getAttribute(`data-target`)??``;if(!t)continue;let n=Ie(e.getAttribute(`data-anchor`)),r=Ie(e.getAttribute(`data-alias`)),i=ct(t,n),a=e.ownerDocument.createElement(`a`);a.setAttribute(`class`,`wiki-link`),a.setAttribute(`href`,i),a.setAttribute(`data-target`,t),a.setAttribute(`data-anchor`,n??``),a.setAttribute(`data-alias`,r??``),a.textContent=e.textContent??``,e.replaceWith(a)}}var vO=new Set([`img`,`video`,`audio`,`source`,`a`]);function yO(e){return vO.has(e)}function bO(e){return e.closest(`p`)===null?`mdx-component`:`mdx-inline`}function xO(e,t,n){if(t===`mdx-component`){let t=e.createElement(`pre`);t.className=`mdx-component`;let r=e.createElement(`code`);return r.textContent=n,t.appendChild(r),t}let r=e.createElement(`span`);return r.className=`mdx-inline`,r.textContent=n,r}function SO(e){let t=CE(e);return t.portable?null:t.reason}function CO(e){for(let t of e.split(`,`)){let e=t.trim();if(e===``)continue;let n=SO(e.split(/\s+/)[0]??``);if(n!==null)return n}return null}function wO(e,t){switch(t){case`img`:case`source`:{let t=e.getAttribute(`src`);if(t!==null){let e=SO(t);if(e!==null)return e}let n=e.getAttribute(`srcset`);if(n!==null){let e=CO(n);if(e!==null)return e}return null}case`video`:case`audio`:{let t=e.getAttribute(`src`);return t===null?null:SO(t)}case`a`:{let t=e.getAttribute(`href`);return t===null?null:SO(t)}default:return null}}function TO(e){let t=e.querySelectorAll(`source, img`);for(let e of Array.from(t)){let t=e.tagName.toLowerCase();if(!yO(t))continue;let n=wO(e,t);if(n!==null)return n}return null}function EO(e,t,n,r){let i;try{i=wO(n,r)}catch(e){let t=zE(e);return FE({view:`wysiwyg`,tag:r,phase:`classifier-throw`,...t===void 0?{}:{errorClass:t}}),!1}return i===null?!1:OO(e,t,n,r,i)}function DO(e,t,n){let r;try{r=TO(n)}catch(e){let t=zE(e);return FE({view:`wysiwyg`,tag:`picture`,phase:`classifier-throw`,...t===void 0?{}:{errorClass:t}}),!1}return r===null?!1:OO(e,t,n,`picture`,r)}function OO(e,t,n,r,i){let a=e.serializeElementMarkdown?e.serializeElementMarkdown(t):{kind:`no-correspondence`};switch(a.kind){case`no-correspondence`:return FE({view:`wysiwyg`,tag:r,phase:`serializer-null`}),!1;case`failed`:{let e=a.errorClass;return FE({view:`wysiwyg`,tag:r,phase:`serializer-throw`,...e===void 0?{}:{errorClass:e}}),!1}case`ok`:{let e=bO(n),t=xO(n.ownerDocument,e,a.markdown);return n.replaceWith(t),PE({view:`wysiwyg`,tag:r,class:e,reason:i}),!0}default:return!1}}function kO(e,t,n){if(!n.serializeElementMarkdown)return;let r=t.tagName.toLowerCase();if(r===`picture`&&DO(n,e,t)||yO(r)&&EO(n,e,t,r))return;let i=Array.from(e.children),a=Array.from(t.children),o=[];for(let e of i)e.getAttribute(`data-clipboard-omit`)!==`true`&&o.push(e);let s=Math.min(o.length,a.length);for(let e=0;e<s;e++)kO(o[e],a[e],n)}function AO(e){return(t,n)=>{if(n.state.selection instanceof K)try{return jO(n.state.selection)}catch(e){AE({view:`wysiwyg`,kind:`text`,reason:`cellselection:${e?.message??`unknown`}`})}try{return IO(t,n.state.schema,e.mdManager)}catch(e){return AE({view:`wysiwyg`,kind:`text`,reason:e?.message??`unknown`}),t.content.textBetween(0,t.content.size,`
|
|
15
|
-
|
|
16
|
-
`)}}}function jO(e){let t=[],n=null,r=[];return e.forEachCell((i,a)=>{let o=e.$anchorCell.doc.resolve(a).before();(n===null||o!==n)&&(r.length>0&&t.push(r),r=[],n=o),r.push(NO(MO(i)))}),r.length>0&&t.push(r),t.map(e=>e.join(` `)).join(`
|
|
17
|
-
`)}function MO(e){return e.textBetween(0,e.content.size,`
|
|
18
|
-
`,e=>e.type.name===`hardBreak`?`
|
|
19
|
-
`:``)}function NO(e){return/["\t\n]/.test(e)?`"${e.replaceAll(`"`,`""`)}"`:e}var PO=class extends ge{mdManager;view=null;constructor(e){super({},{}),this.mdManager=e}setView(e){this.view=e}serializeFragment(e,t,n){let r=this.view;if(r&&r.state.selection instanceof K)try{let t=e.firstChild?.type.schema??r.state.schema,i=ge.fromSchema(t),a=VO(e,t);return i.serializeFragment(a,{document},n)}catch(e){AE({view:`wysiwyg`,kind:`html`,reason:`cellselection:${e?.message??`unknown`}`})}if(r&&r.state.selection.from!==r.state.selection.to)try{let e=sO(r.state.selection.content(),r,RO(r,this.mdManager));if(e.childNodes.length>0){if(n){for(let t of Array.from(e.childNodes))n.appendChild(t);return n}return e}}catch(e){AE({view:`wysiwyg`,kind:`html`,reason:`walker:${e?.message??`unknown`}`})}try{let t=e.firstChild?.type.schema;if(!t)return n??document.createDocumentFragment();let r=HO(zO(e,t,this.mdManager));if(n){for(let e of Array.from(r.childNodes))n.appendChild(e);return n}return r}catch(e){return AE({view:`wysiwyg`,kind:`html`,reason:`markdown:${e?.message??`unknown`}`}),n??document.createDocumentFragment()}}};function FO(e){let t=new PO(e.mdManager);return{serializer:t,setView:e=>t.setView(e)}}function IO(e,t,n){return n.serialize(BO(e,t))}function LO(e){let t=null,n=e;for(;n&&!n.classList.contains(`ProseMirror`);){if(n.hasAttribute(`data-clipboard-inline-leaf`)){n=n.parentElement;continue}(n.classList.contains(`react-renderer`)||n.hasAttribute(`data-node-view-wrapper`)||n.hasAttribute(`data-jsx-component`))&&(t=n),n=n.parentElement}return t}function RO(e,t){return{getComputedStyle:e=>window.getComputedStyle(e),serializeElementMarkdown:n=>{let r=LO(n),i;try{let t=r?.parentElement;if(t&&r){let n=Array.from(t.children).indexOf(r);i=e.posAtDOM(t,n,-1)}else i=e.posAtDOM(n,0)}catch(e){return{kind:`failed`,errorClass:zE(e)}}if(i<0)return{kind:`no-correspondence`};let a=e.state.doc.nodeAt(i);if(!a)return{kind:`no-correspondence`};let o=e.state.doc.slice(i,i+a.nodeSize);try{return{kind:`ok`,markdown:IO(o,e.state.schema,t)}}catch(e){return{kind:`failed`,errorClass:zE(e)}}}}}function zO(e,t,n){return d(IO(new ae(e,0,0),t,n))}function BO(e,t){let n=e.content;if(n.firstChild?.isInline){let e=t.nodes.paragraph;if(e){let t=e.createAndFill(null,n);t&&(n=x.from(t))}}let r=t.topNodeType.createAndFill(null,n);if(!r){let e=t.topNodeType.createAndFill();if(!e)throw Error(`[clipboard] schema cannot fill topNodeType`);return e.toJSON()}return r.toJSON()}function VO(e,t){let n=t.nodes.table,r=t.nodes.tableRow;if(!n||!r)return e;let i=e.firstChild;if(!i||i.type===n)return e;let a=[];e.forEach(e=>{if(e.type===r)a.push(e);else{let t=r.createAndFill(null,e);t&&a.push(t)}});let o=n.createAndFill(null,x.fromArray(a));return o?x.from(o):e}function HO(e){let t=new DOMParser().parseFromString(e,`text/html`),n=document.createDocumentFragment();for(let e of Array.from(t.body.childNodes))n.appendChild(e);return n}function UO(e){return TD(),fa.domEventHandlers({copy:(e,t)=>GO(e,t,`copy`),cut:(e,t)=>GO(e,t,`cut`),paste:(t,n)=>KO(t,n,e)})}function WO(e){let t=document.createElement(`pre`);t.className=`mdx-component`;let n=document.createElement(`code`);return n.textContent=e,t.appendChild(n),t.outerHTML}function GO(e,t,n){let{from:r,to:i}=t.state.selection.main;if(r===i)return e.preventDefault(),!0;let a=e.clipboardData;if(!a)return!1;let o=performance.now();try{let s=t.state.sliceDoc(r,i);a.setData(`text/plain`,s);try{a.setData(`text/html`,WO(s))}catch(e){AE({view:`source`,kind:`html`,reason:e?.message??`unknown`})}return e.preventDefault(),n===`cut`&&t.dispatch({changes:{from:r,to:i,insert:``}}),DE(o,{op:n,view:`source`,branch:`serialize`,source:`local`}),!0}catch(e){return AE({view:`source`,kind:`text`,reason:e?.message??`unknown`}),!1}}function KO(e,t,n){let r=e.clipboardData;if(!r||r.types.length===0)return!1;let i=performance.now(),a=wE(r),o=r.getData(`text/plain`),s=r.getData(`text/html`),c=r.getData(`vscode-editor-data`);return DD(e)?(OE({view:`source`,branch:`shift`,source:a}),DE(i,{op:`paste`,view:`source`,branch:`shift`,source:a}),!1):c&&o?(OE({view:`source`,branch:`A`,source:a}),DE(i,{op:`paste`,view:`source`,branch:`A`,source:a}),!1):o&&s&&JO(s)?(OE({view:`source`,branch:`B-wrapper`,source:a}),DE(i,{op:`paste`,view:`source`,branch:`B-wrapper`,source:a}),!1):o&&s&&uD(o)?(OE({view:`source`,branch:`B`,source:a}),DE(i,{op:`paste`,view:`source`,branch:`B`,source:a}),!1):s&&/data-pm-slice/i.test(s)?(OE({view:`source`,branch:`C`,source:a}),DE(i,{op:`paste`,view:`source`,branch:`C`,source:a}),!1):s&&YO(t,s,n,a)?(e.preventDefault(),OE({view:`source`,branch:`D`,source:a}),DE(i,{op:`paste`,view:`source`,branch:`D`,source:a,htmlBytes:s.length}),!0):(OE({view:`source`,branch:`E`,source:a}),DE(i,{op:`paste`,view:`source`,branch:`E`,source:a}),!1)}var qO=/<pre\b(?=[^>]*\bclass\s*=\s*["'][^"']*\bmdx-component\b[^"']*["'])[^>]*>\s*<code\b/i;function JO(e){return qO.test(e)}function YO(e,t,n,r){let i;try{i=S(t)}catch(e){return kE({view:`source`,stage:`htmlToMdast`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:zE(e),htmlBytes:t.length}),!1}let a;try{a=jt(i)}catch(e){return kE({view:`source`,stage:`mdastToMarkdown`,source:r,branch:`D`,reason:e?.message??`unknown`,errorClass:zE(e),htmlBytes:t.length}),!1}let{from:o,to:s}=e.state.selection.main;if(!(a.length>500*1024))return e.dispatch({changes:{from:o,to:s,insert:a},selection:{anchor:o+a.length}}),!0;let c=o===s?``:e.state.sliceDoc(o,s);o!==s&&e.dispatch({changes:{from:o,to:s,insert:``}});let l=o,u=hr(n.ytext,l);return Te(n.ydoc,n.ytext,l,a,{resolveOffset:e=>{let t=Gn(u,n.ydoc);return t==null?e:t.index+(e-l)}}).catch(i=>{XO({view:e,source:r,html:t,restoreText:c,anchorIndex:l,anchorRelPos:u,ydoc:n.ydoc,err:i})}),!0}function XO(e){let{view:t,source:n,html:r,restoreText:i,anchorIndex:a,anchorRelPos:o,ydoc:s,err:c}=e,l=`no-restore-needed`;if(c instanceof Ht&&c.bytesWritten>0){let e=o&&s?Gn(o,s)?.index??a:a,n=Math.min(e+c.bytesWritten,t.state.doc.length);try{t.dispatch({changes:{from:e,to:n,insert:i}}),l=i.length>0?`restored`:`no-restore-needed`}catch(e){console.warn(`[clipboard] partial-chunk rollback dispatch failed`,e),l=i.length>0?`restore-failed`:`no-restore-needed`}}else if(i.length>0)try{t.dispatch({changes:{from:a,to:a,insert:i}}),l=`restored`}catch(e){console.warn(`[clipboard] selection-restore dispatch failed`,e),l=`restore-failed`}let u=l===`restored`?Ci._({id:`jhtG3I`}):l===`restore-failed`?Ci._({id:`yCX4jp`}):``;if(c instanceof Ht){RE({view:`source`,chunksCompleted:c.chunksCompleted,totalChunks:c.totalChunks,bytesWritten:c.bytesWritten,bytesRemaining:c.bytesRemaining,reason:c.message});let e=c.chunksCompleted,t=c.totalChunks;Tr.error(Ci._({id:`xYMPyY`,values:{chunksCompleted:e,totalChunks:t,restoreSuffix:u}}));return}kE({view:`source`,stage:`chunkedYTextInsert`,source:n,branch:`D`,reason:c?.message??`unknown`,errorClass:zE(c),htmlBytes:r.length}),Tr.error(Ci._({id:`eBIT9h`,values:{restoreSuffix:u}}))}var ZO=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=nk(e.state,n.from);return r.line?$O(e):r.block?tk(e):!1};function QO(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return i?(r(n.update(i)),!0):!1}}var $O=QO(sk,0),ek=QO(ok,0),tk=QO((e,t)=>ok(e,t,ak(t)),0);function nk(e,t){let n=e.languageDataAt(`commentTokens`,t,1);return n.length?n[0]:{}}var rk=50;function ik(e,{open:t,close:n},r,i){let a=e.sliceDoc(r-rk,r),o=e.sliceDoc(i,i+rk),s=/\s*$/.exec(a)[0].length,c=/^\s*/.exec(o)[0].length,l=a.length-s;if(a.slice(l-t.length,l)==t&&o.slice(c,c+n.length)==n)return{open:{pos:r-s,margin:s&&1},close:{pos:i+c,margin:c&&1}};let u,d;i-r<=2*rk?u=d=e.sliceDoc(r,i):(u=e.sliceDoc(r,r+rk),d=e.sliceDoc(i-rk,i));let f=/^\s*/.exec(u)[0].length,p=/\s*$/.exec(d)[0].length,m=d.length-p-n.length;return u.slice(f,f+t.length)==t&&d.slice(m,m+n.length)==n?{open:{pos:r+f+t.length,margin:+!!/\s/.test(u.charAt(f+t.length))},close:{pos:i-p-n.length,margin:+!!/\s/.test(d.charAt(m-1))}}:null}function ak(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let a=t.length-1;a>=0&&t[a].to>r.from?t[a].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}function ok(e,t,n=t.selection.ranges){let r=n.map(e=>nk(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>ik(t,r[n],e.from,e.to));if(e!=2&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+` `},{from:e.to,insert:` `+r[t].close}]))};if(e!=1&&i.some(e=>e)){let e=[];for(let t=0,n;t<i.length;t++)if(n=i[t]){let i=r[t],{open:a,close:o}=n;e.push({from:a.pos-i.open.length,to:a.pos+a.margin},{from:o.pos-o.margin,to:o.pos+i.close.length})}return{changes:e}}return null}function sk(e,t,n=t.selection.ranges){let r=[],i=-1;ranges:for(let{from:e,to:a}of n){let n=r.length,o=1e9,s;for(let n=e;n<=a;){let c=t.doc.lineAt(n);if(s==null&&(s=nk(t,c.from).line,!s))continue ranges;if(c.from>i&&(e==a||a>c.from)){i=c.from;let e=/^\s*/.exec(c.text)[0].length,t=e==c.length,n=c.text.slice(e,e+s.length)==s?e:-1;e<c.text.length&&e<o&&(o=e),r.push({line:c,comment:n,token:s,indent:e,empty:t,single:!1})}n=c.to+1}if(o<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=o);r.length==n+1&&(r[n].single=!0)}if(e!=2&&r.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:a,single:o}of r)(o||!a)&&e.push({from:t.from+i,insert:n+` `});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}else if(e!=1&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,a=r+i.length;t.text[a-t.from]==` `&&a++,e.push({from:r,to:a})}return{changes:e}}return null}var ck=Ea.define(),lk=Ea.define(),uk=ra.define(),dk=ra.define({combine(e){return Bi(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}}),fk=Ji.define({create(){return jk.empty},update(e,t){let n=t.state.facet(dk),r=t.annotation(ck);if(r){let i=yk.fromTransaction(t,r.selection),a=r.side,o=a==0?e.undone:e.done;return o=i?bk(o,o.length,n.minDepth,i):Ek(o,t.startState.selection),new jk(a==0?r.rest:o,a==0?o:r.rest)}let i=t.annotation(lk);if((i==`full`||i==`before`)&&(e=e.isolate()),t.annotation($i.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let a=yk.fromTransaction(t),o=t.annotation($i.time),s=t.annotation($i.userEvent);return a?e=e.addChanges(a,o,s,n,t):t.selection&&(e=e.addSelection(t.startState.selection,o,s,n.newGroupDelay)),(i==`full`||i==`after`)&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}},fromJSON(e){return new jk(e.done.map(yk.fromJSON),e.undone.map(yk.fromJSON))}});function pk(e={}){return[fk,dk.of(e),fa.domEventHandlers({beforeinput(e,t){let n=e.inputType==`historyUndo`?hk:e.inputType==`historyRedo`?gk:null;return n?(e.preventDefault(),n(t)):!1}})]}function mk(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(fk,!1);if(!i)return!1;let a=i.pop(e,n,t);return a?(r(a),!0):!1}}var hk=mk(0,!1),gk=mk(1,!1),_k=mk(0,!0),vk=mk(1,!0),yk=class e{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(t){return new e(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){return{changes:this.changes?.toJSON(),mapped:this.mapped?.toJSON(),startSelection:this.startSelection?.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(t){return new e(t.changes&&Hi.fromJSON(t.changes),[],t.mapped&&ca.fromJSON(t.mapped),t.startSelection&&Ki.fromJSON(t.startSelection),t.selectionsAfter.map(Ki.fromJSON))}static fromTransaction(t,n){let r=wk;for(let e of t.startState.facet(uk)){let n=e(t);n.length&&(r=r.concat(n))}return!r.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,wk)}static selection(t){return new e(void 0,wk,void 0,void 0,t)}};function bk(e,t,n,r){let i=t+1>n+20?t-n-1:0,a=e.slice(i,t);return a.push(r),a}function xk(e,t){let n=[],r=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,i,a)=>{for(let e=0;e<n.length;){let t=n[e++],o=n[e++];a>=t&&i<=o&&(r=!0)}}),r}function Sk(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length===0}function Ck(e,t){return e.length?t.length?e.concat(t):e:t}var wk=[],Tk=200;function Ek(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-Tk));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),bk(e,e.length-1,1e9,n.setSelAfter(r)))}else return[yk.selection([t])]}function Dk(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function Ok(e,t){if(!e.length)return e;let n=e.length,r=wk;for(;n;){let i=kk(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}else t=i.mapped,n--,r=i.selectionsAfter}return r.length?[yk.selection(r)]:wk}function kk(e,t,n){let r=Ck(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):wk,n);if(!e.changes)return yk.selection(r);let i=e.changes.map(t),a=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(a):a;return new yk(i,aa.mapEffects(e.effects,t),o,e.startSelection.map(a),r)}var Ak=/^(input\.type|delete)($|\.)/,jk=class e{constructor(e,t,n=0,r=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new e(this.done,this.undone):this}addChanges(t,n,r,i,a){let o=this.done,s=o[o.length-1];return o=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||Ak.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(a,xk(s.changes,t.changes))||r==`input.type.compose`)?bk(o,o.length-1,i.minDepth,new yk(t.changes.compose(s.changes),Ck(aa.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,wk)):bk(o,o.length,i.minDepth,t),new e(o,wk,n,r)}addSelection(t,n,r,i){let a=this.done.length?this.done[this.done.length-1].selectionsAfter:wk;return a.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&Sk(a[a.length-1],t)?this:new e(Ek(this.done,t),this.undone,n,r)}addMapping(t){return new e(Ok(this.done,t),Ok(this.undone,t),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let i=r[r.length-1],a=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:ck.of({side:e,rest:Dk(r),selection:a}),userEvent:e==0?`select.undo`:`select.redo`,scrollIntoView:!0});if(i.changes){let n=r.length==1?wk:r.slice(0,r.length-1);return i.mapped&&(n=Ok(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:ck.of({side:e,rest:n,selection:a}),filter:!1,userEvent:e==0?`undo`:`redo`,scrollIntoView:!0})}else return null}};jk.empty=new jk(wk,wk);var Mk=[{key:`Mod-z`,run:hk,preventDefault:!0},{key:`Mod-y`,mac:`Mod-Shift-z`,run:gk,preventDefault:!0},{linux:`Ctrl-Shift-z`,run:gk,preventDefault:!0},{key:`Mod-u`,run:_k,preventDefault:!0},{key:`Alt-u`,mac:`Mod-Shift-u`,run:vk,preventDefault:!0}];function Nk(e,t){return Ki.create(e.ranges.map(t),e.mainIndex)}function Pk(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:`select`})}function Fk({state:e,dispatch:t},n){let r=Nk(e.selection,n);return r.eq(e.selection,!0)?!1:(t(Pk(e,r)),!0)}function Ik(e,t){return Ki.cursor(t?e.to:e.from)}function Lk(e,t){return Fk(e,n=>n.empty?e.moveByChar(n,t):Ik(n,t))}function Rk(e){return e.textDirectionAt(e.state.selection.main.head)==pa.LTR}var zk=e=>Lk(e,!Rk(e)),Bk=e=>Lk(e,Rk(e));function Vk(e,t){return Fk(e,n=>n.empty?e.moveByGroup(n,t):Ik(n,t))}var Hk=e=>Vk(e,!Rk(e)),Uk=e=>Vk(e,Rk(e));typeof Intl<`u`&&Intl.Segmenter;function Wk(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function Gk(e,t,n){let r=ia(e).resolveInner(t.head),i=n?ua.closedBy:ua.openedBy;for(let a=t.head;;){let t=n?r.childAfter(a):r.childBefore(a);if(!t)break;Wk(e,t,i)?r=t:a=n?t.to:t.from}let a=r.type.prop(i),o,s;return s=a&&(o=n?va(e,r.from,1):va(e,r.to,-1))&&o.matched?n?o.end.to:o.end.from:n?r.to:r.from,Ki.cursor(s,n?-1:1)}var Kk=e=>Fk(e,t=>Gk(e.state,t,!Rk(e))),qk=e=>Fk(e,t=>Gk(e.state,t,Rk(e)));function Jk(e,t){return Fk(e,n=>{if(!n.empty)return Ik(n,t);let r=e.moveVertically(n,t);return r.head==n.head?e.moveToLineBoundary(n,t):r})}var Yk=e=>Jk(e,!1),Xk=e=>Jk(e,!0);function Zk(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,i;if(t){for(let t of e.state.facet(fa.scrollMargins)){let i=t(e);i?.top&&(n=Math.max(i?.top,n)),i?.bottom&&(r=Math.max(i?.bottom,r))}i=e.scrollDOM.clientHeight-n-r}else i=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,i-5)}}function Qk(e,t){let n=Zk(e),{state:r}=e,i=Nk(r.selection,r=>r.empty?e.moveVertically(r,t,n.height):Ik(r,t));if(i.eq(r.selection))return!1;let a;if(n.selfScroll){let t=e.coordsAtPos(r.selection.main.head),o=e.scrollDOM.getBoundingClientRect(),s=o.top+n.marginTop,c=o.bottom-n.marginBottom;t&&t.top>s&&t.bottom<c&&(a=fa.scrollIntoView(i.main.head,{y:`start`,yMargin:t.top-s}))}return e.dispatch(Pk(r,i),{effects:a}),!0}var $k=e=>Qk(e,!1),eA=e=>Qk(e,!0);function tA(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=Ki.cursor(r.from+n))}return i}var nA=e=>Fk(e,t=>tA(e,t,!0)),rA=e=>Fk(e,t=>tA(e,t,!1)),iA=e=>Fk(e,t=>tA(e,t,!Rk(e))),aA=e=>Fk(e,t=>tA(e,t,Rk(e))),oA=e=>Fk(e,t=>Ki.cursor(e.lineBlockAt(t.head).from,1)),sA=e=>Fk(e,t=>Ki.cursor(e.lineBlockAt(t.head).to,-1));function cA(e,t,n){let r=!1,i=Nk(e.selection,t=>{let i=va(e,t.head,-1)||va(e,t.head,1)||t.head>0&&va(e,t.head-1,1)||t.head<e.doc.length&&va(e,t.head+1,-1);if(!i||!i.end)return t;r=!0;let a=i.start.from==t.head?i.end.to:i.end.from;return n?Ki.range(t.anchor,a):Ki.cursor(a)});return r?(t(Pk(e,i)),!0):!1}var lA=({state:e,dispatch:t})=>cA(e,t,!1);function uA(e,t){let n=Nk(e.state.selection,e=>{let n=t(e);return Ki.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0,n.assoc)});return n.eq(e.state.selection)?!1:(e.dispatch(Pk(e.state,n)),!0)}function dA(e,t){return uA(e,n=>e.moveByChar(n,t))}var fA=e=>dA(e,!Rk(e)),pA=e=>dA(e,Rk(e));function mA(e,t){return uA(e,n=>e.moveByGroup(n,t))}var hA=e=>mA(e,!Rk(e)),gA=e=>mA(e,Rk(e)),_A=e=>uA(e,t=>Gk(e.state,t,!Rk(e))),vA=e=>uA(e,t=>Gk(e.state,t,Rk(e)));function yA(e,t){return uA(e,n=>e.moveVertically(n,t))}var bA=e=>yA(e,!1),xA=e=>yA(e,!0);function SA(e,t){return uA(e,n=>e.moveVertically(n,t,Zk(e).height))}var CA=e=>SA(e,!1),wA=e=>SA(e,!0),TA=e=>uA(e,t=>tA(e,t,!0)),EA=e=>uA(e,t=>tA(e,t,!1)),DA=e=>uA(e,t=>tA(e,t,!Rk(e))),OA=e=>uA(e,t=>tA(e,t,Rk(e))),kA=e=>uA(e,t=>Ki.cursor(e.lineBlockAt(t.head).from)),AA=e=>uA(e,t=>Ki.cursor(e.lineBlockAt(t.head).to)),jA=({state:e,dispatch:t})=>(t(Pk(e,{anchor:0})),!0),MA=({state:e,dispatch:t})=>(t(Pk(e,{anchor:e.doc.length})),!0),NA=({state:e,dispatch:t})=>(t(Pk(e,{anchor:e.selection.main.anchor,head:0})),!0),PA=({state:e,dispatch:t})=>(t(Pk(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),FA=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:`select`})),!0),IA=({state:e,dispatch:t})=>{let n=tj(e).map(({from:t,to:n})=>Ki.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:Ki.create(n),userEvent:`select`})),!0},LA=({state:e,dispatch:t})=>{let n=Nk(e.selection,t=>{let n=ia(e),r=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=r.node.from&&e.node.to<=r.node.to&&(r=e)}for(let e=r;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return Ki.range(n.to,n.from)}return t});return n.eq(e.selection)?!1:(t(Pk(e,n)),!0)};function RA(e,t){let{state:n}=e,r=n.selection,i=n.selection.ranges.slice();for(let r of n.selection.ranges){let a=n.doc.lineAt(r.head);if(t?a.to<e.state.doc.length:a.from>0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.head<a.from||r.head>a.to){i.some(e=>e.head==r.head)||i.push(r);break}else if(r.head==n.head)break;else n=r}}return i.length==r.ranges.length?!1:(e.dispatch(Pk(n,Ki.create(i,i.length-1))),!0)}var zA=e=>RA(e,!1),BA=e=>RA(e,!0),VA=({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=Ki.create([n.main]):n.main.empty||(r=Ki.create([Ki.cursor(n.main.head)])),r?(t(Pk(e,r)),!0):!1};function HA(e,t){if(e.state.readOnly)return!1;let n=`delete.selection`,{state:r}=e,i=r.changeByRange(r=>{let{from:i,to:a}=r;if(i==a){let o=t(r);o<i?(n=`delete.backward`,o=UA(e,o,!1)):o>i&&(n=`delete.forward`,o=UA(e,o,!0)),i=Math.min(i,o),a=Math.max(a,o)}else i=UA(e,i,!1),a=UA(e,a,!0);return i==a?{range:r}:{changes:{from:i,to:a},range:Ki.cursor(i,i<r.head?-1:1)}});return i.changes.empty?!1:(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:n==`delete.selection`?fa.announce.of(r.phrase(`Selection deleted`)):void 0})),!0)}function UA(e,t,n){if(e instanceof fa)for(let r of e.state.facet(fa.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}var WA=(e,t,n)=>HA(e,r=>{let i=r.from,{state:a}=e,o=a.doc.lineAt(i),s,c;if(n&&!t&&i>o.from&&i<o.from+200&&!/[^ \t]/.test(s=o.text.slice(0,i-o.from))){if(s[s.length-1]==` `)return i-1;let e=da(s,a.tabSize)%sa(a)||sa(a);for(let t=0;t<e&&s[s.length-1-t]==` `;t++)i--;c=i}else c=Yi(o.text,i-o.from,t,t)+o.from,c==i&&o.number!=(t?a.doc.lines:1)?c+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(o.text.slice(c-o.from,i-o.from))&&(c=Yi(o.text,c-o.from,!1,!1)+o.from);return c}),GA=e=>WA(e,!1,!0),KA=e=>WA(e,!0,!1),qA=(e,t)=>HA(e,n=>{let r=n.head,{state:i}=e,a=i.doc.lineAt(r),o=i.charCategorizer(r);for(let e=null;;){if(r==(t?a.to:a.from)){r==n.head&&a.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let s=Yi(a.text,r-a.from,t)+a.from,c=a.text.slice(Math.min(r,s)-a.from,Math.max(r,s)-a.from),l=o(c);if(e!=null&&l!=e)break;(c!=` `||r!=n.head)&&(e=l),r=s}return r}),JA=e=>qA(e,!1),YA=e=>qA(e,!0),XA=e=>HA(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),ZA=e=>HA(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),QA=e=>HA(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),$A=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:Xi.of([``,``])},range:Ki.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:`input`})),!0},ej=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||t.from==0||t.from==e.doc.length)return{range:t};let n=t.from,r=e.doc.lineAt(n),i=n==r.from?n-1:Yi(r.text,n-r.from,!1)+r.from,a=n==r.to?n+1:Yi(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:a,insert:e.doc.slice(n,a).append(e.doc.slice(i,n))},range:Ki.cursor(a)}});return n.changes.empty?!1:(t(e.update(n,{scrollIntoView:!0,userEvent:`move.character`})),!0)};function tj(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),a=e.doc.lineAt(r.to);if(!r.empty&&r.to==a.from&&(a=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=a.to,e.ranges.push(r)}else t.push({from:i.from,to:a.to,ranges:[r]});n=a.number+1}return t}function nj(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let t of tj(e)){if(n?t.to==e.doc.length:t.from==0)continue;let a=e.doc.lineAt(n?t.to+1:t.from-1),o=a.length+1;if(n){r.push({from:t.to,to:a.to},{from:t.from,insert:a.text+e.lineBreak});for(let n of t.ranges)i.push(Ki.range(Math.min(e.doc.length,n.anchor+o),Math.min(e.doc.length,n.head+o)))}else{r.push({from:a.from,to:t.from},{from:t.to,insert:e.lineBreak+a.text});for(let e of t.ranges)i.push(Ki.range(e.anchor-o,e.head-o))}}return r.length?(t(e.update({changes:r,scrollIntoView:!0,selection:Ki.create(i,e.selection.mainIndex),userEvent:`move.line`})),!0):!1}var rj=({state:e,dispatch:t})=>nj(e,t,!1),ij=({state:e,dispatch:t})=>nj(e,t,!0);function aj(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of tj(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:`input.copyline`})),!0}var oj=({state:e,dispatch:t})=>aj(e,t,!1),sj=({state:e,dispatch:t})=>aj(e,t,!0),cj=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(tj(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=Nk(t.selection,t=>{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:`delete.line`}),!0};function lj(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=ia(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),a;return r&&i&&r.to<=t&&i.from>=t&&(a=r.type.prop(ua.closedBy))&&a.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from&&!/\S/.test(e.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}var uj=fj(!1),dj=fj(!0);function fj(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{let{from:r,to:i}=n,a=t.doc.lineAt(r),o=!e&&r==i&&lj(t,r);e&&(r=i=(i<=a.to?a:t.doc.lineAt(i)).to);let s=new ba(t,{simulateBreak:r,simulateDoubleBreak:!!o}),c=Vi(s,r);for(c??=da(/^\s*/.exec(t.doc.lineAt(r).text)[0],t.tabSize);i<a.to&&/\s/.test(a.text[i-a.from]);)i++;o?{from:r,to:i}=o:r>a.from&&r<a.from+100&&!/\S/.test(a.text.slice(0,r))&&(r=a.from);let l=[``,Ui(t,c)];return o&&l.push(Ui(t,s.lineIndent(a.from,-1))),{changes:{from:r,to:i,insert:Xi.of(l)},range:Ki.cursor(r+1+l[1].length)}});return n(t.update(r,{scrollIntoView:!0,userEvent:`input`})),!0}}function pj(e,t){let n=-1;return e.changeByRange(r=>{let i=[];for(let a=r.from;a<=r.to;){let o=e.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),a=o.to+1}let a=e.changes(i);return{changes:i,range:Ki.range(a.mapPos(r.anchor,1),a.mapPos(r.head,1))}})}var mj=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new ba(e,{overrideIndentation:e=>n[e]??-1}),i=pj(e,(t,i,a)=>{let o=Vi(r,t.from);if(o==null)return;/\S/.test(t.text)||(o=0);let s=/^\s*/.exec(t.text)[0],c=Ui(e,o);(s!=c||a.from<t.from+s.length)&&(n[t.from]=o,i.push({from:t.from,to:t.from+s.length,insert:c}))});return i.changes.empty||t(e.update(i,{userEvent:`indent`})),!0},hj=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(pj(e,(t,n)=>{n.push({from:t.from,insert:e.facet(na)})}),{userEvent:`input.indent`})),!0),gj=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(pj(e,(t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=da(r,e.tabSize),a=0,o=Ui(e,Math.max(0,i-sa(e)));for(;a<r.length&&a<o.length&&r.charCodeAt(a)==o.charCodeAt(a);)a++;n.push({from:t.from+a,to:t.from+r.length,insert:o.slice(a)})}),{userEvent:`delete.dedent`})),!0),_j=e=>(e.setTabFocusMode(),!0),vj=[{key:`Ctrl-b`,run:zk,shift:fA,preventDefault:!0},{key:`Ctrl-f`,run:Bk,shift:pA},{key:`Ctrl-p`,run:Yk,shift:bA},{key:`Ctrl-n`,run:Xk,shift:xA},{key:`Ctrl-a`,run:oA,shift:kA},{key:`Ctrl-e`,run:sA,shift:AA},{key:`Ctrl-d`,run:KA},{key:`Ctrl-h`,run:GA},{key:`Ctrl-k`,run:XA},{key:`Ctrl-Alt-h`,run:JA},{key:`Ctrl-o`,run:$A},{key:`Ctrl-t`,run:ej},{key:`Ctrl-v`,run:eA}],yj=[{key:`ArrowLeft`,run:zk,shift:fA,preventDefault:!0},{key:`Mod-ArrowLeft`,mac:`Alt-ArrowLeft`,run:Hk,shift:hA,preventDefault:!0},{mac:`Cmd-ArrowLeft`,run:iA,shift:DA,preventDefault:!0},{key:`ArrowRight`,run:Bk,shift:pA,preventDefault:!0},{key:`Mod-ArrowRight`,mac:`Alt-ArrowRight`,run:Uk,shift:gA,preventDefault:!0},{mac:`Cmd-ArrowRight`,run:aA,shift:OA,preventDefault:!0},{key:`ArrowUp`,run:Yk,shift:bA,preventDefault:!0},{mac:`Cmd-ArrowUp`,run:jA,shift:NA},{mac:`Ctrl-ArrowUp`,run:$k,shift:CA},{key:`ArrowDown`,run:Xk,shift:xA,preventDefault:!0},{mac:`Cmd-ArrowDown`,run:MA,shift:PA},{mac:`Ctrl-ArrowDown`,run:eA,shift:wA},{key:`PageUp`,run:$k,shift:CA},{key:`PageDown`,run:eA,shift:wA},{key:`Home`,run:rA,shift:EA,preventDefault:!0},{key:`Mod-Home`,run:jA,shift:NA},{key:`End`,run:nA,shift:TA,preventDefault:!0},{key:`Mod-End`,run:MA,shift:PA},{key:`Enter`,run:uj,shift:uj},{key:`Mod-a`,run:FA},{key:`Backspace`,run:GA,shift:GA,preventDefault:!0},{key:`Delete`,run:KA,preventDefault:!0},{key:`Mod-Backspace`,mac:`Alt-Backspace`,run:JA,preventDefault:!0},{key:`Mod-Delete`,mac:`Alt-Delete`,run:YA,preventDefault:!0},{mac:`Mod-Backspace`,run:ZA,preventDefault:!0},{mac:`Mod-Delete`,run:QA,preventDefault:!0}].concat(vj.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),bj=[{key:`Alt-ArrowLeft`,mac:`Ctrl-ArrowLeft`,run:Kk,shift:_A},{key:`Alt-ArrowRight`,mac:`Ctrl-ArrowRight`,run:qk,shift:vA},{key:`Alt-ArrowUp`,run:rj},{key:`Shift-Alt-ArrowUp`,run:oj},{key:`Alt-ArrowDown`,run:ij},{key:`Shift-Alt-ArrowDown`,run:sj},{key:`Mod-Alt-ArrowUp`,run:zA},{key:`Mod-Alt-ArrowDown`,run:BA},{key:`Escape`,run:VA},{key:`Mod-Enter`,run:dj},{key:`Alt-l`,mac:`Ctrl-l`,run:IA},{key:`Mod-i`,run:LA,preventDefault:!0},{key:`Mod-[`,run:gj},{key:`Mod-]`,run:hj},{key:`Mod-Alt-\\`,run:mj},{key:`Shift-Mod-k`,run:cj},{key:`Shift-Mod-\\`,run:lA},{key:`Mod-/`,run:ZO},{key:`Alt-A`,run:ek},{key:`Ctrl-m`,mac:`Shift-Alt-m`,run:_j}].concat(yj),xj={key:`Tab`,run:hj,shift:gj},Sj=11,Cj=1,wj=2,Tj=3,Ej=4,Dj=5,Oj=6,kj=7,Aj=[-1,9,13,32],jj={mindmap:wj,pie:Cj,flowchart:Tj,graph:Tj,sequenceDiagram:Ej,journey:Dj,requirementDiagram:Oj,gantt:kj},Mj=Object.keys(jj),Nj=new Da(e=>{if(Aj.includes(e.next))return;let t=``;for(;e.next!=10&&e.next!==-1;)t+=String.fromCodePoint(e.next),e.advance();e.advance();let n=Mj.filter(e=>t.startsWith(e));if(n.length>0){for(;e.next!==-1;)e.advance();e.acceptToken(jj[n[0]])}else e.acceptToken(Sj)}),Pj=Oa.deserialize({version:14,states:`nOVQROOOOQQ'#Ce'#CeOVQROOQOQPOOOOQQ-E6c-E6c`,stateData:`q~O]OS~OPROQRORROSROTROUROVROZPO~O`,goto:`aYPPPPPPPPPZQQORSQ`,nodeNames:`⚠ PieDiagram MindmapDiagram FlowchartDiagram SequenceDiagram JourneyDiagram RequirementDiagram GanttDiagram MermaidDiagram`,maxTerm:13,skippedNodes:[0],repeatNodeCount:1,tokenData:`j~RRXY[]^[pq[~aR]~XY[]^[pq[`,tokenizers:[0,Nj],topRules:{MermaidDiagram:[0,8]},tokenPrec:0}),Fj=16,Ij=1,Lj=2,Rj=3,zj=4,Bj=5,Vj=17,Hj=18,Uj=[Ij,Lj,Rj,zj,Bj],Wj=10,Gj=13,Kj=32,qj=9,Jj=35,Yj=58,Xj=40,Zj=41,Qj=91,$j=93,eM=123,tM=125,nM=new Da((e,t)=>{if(!(e.next<0)){e.advance();let t=0;for(;e.next==Kj||e.next==qj;)e.advance(),t++;let n=e.next==Wj||e.next==Gj||e.next==Jj;e.acceptToken(n?Hj:Vj,-t)}},{contextual:!0,fallback:!0}),rM=new Da((e,t)=>{let n=0;for(;e.next>-1&&e.next!==Wj;){if(e.next===Yj)return;if(e.next===Xj||e.next===Qj||e.next===eM)if(n>0){e.acceptToken(t.context.lineType);return}else return;if((e.next===Zj||e.next===$j||e.next===tM)&&n>0){e.acceptToken(t.context.lineType);return}e.advance(),n++}e.acceptToken(t.context.lineType)}),iM=e=>4-e%4,aM=new Da((e,t)=>{let n=e.peek(-1);if(n==Wj||n==Gj){for(;!(e.next!=Kj&&e.next!=qj);)e.advance();e.next!=Wj&&e.next!=Gj&&e.next!=Jj&&e.acceptToken(Fj)}}),oM={lineType:Ij},sM=e=>{let t=0;for(let n=0;n<e.length;n++)t+=e.charCodeAt(n)==qj?iM(t):1;return t},cM=e=>Uj[e%5],lM=new ka({start:oM,shift(e,t,n,r){return t===Fj&&(e.lineType=cM(sM(r.read(r.pos,n.pos)))),e}}),uM={diagramName:qi.define(X.typeName)},dM={diagramName:qi.define(uM.diagramName),lineText1:qi.define(),lineText2:qi.define(),lineText3:qi.define(),lineText4:qi.define(),lineText5:qi.define()},fM={diagramName:qi.define(uM.diagramName),lineComment:qi.define(X.lineComment),number:qi.define(X.number),showData:qi.define(X.keyword),string:qi.define(X.string),title:qi.define(X.keyword),titleText:qi.define(X.string)},pM={diagramName:qi.define(uM.diagramName),keyword:qi.define(X.keyword),lineComment:qi.define(X.lineComment),link:qi.define(X.contentSeparator),nodeEdge:qi.define(X.contentSeparator),nodeEdgeText:qi.define(X.string),nodeId:qi.define(X.variableName),nodeText:qi.define(X.string),number:qi.define(X.number),orientation:qi.define(X.modifier),string:qi.define(X.string)},mM={diagramName:qi.define(uM.diagramName),arrow:qi.define(X.contentSeparator),keyword1:qi.define(X.keyword),keyword2:qi.define(X.controlKeyword),lineComment:qi.define(X.lineComment),messageText1:qi.define(X.string),messageText2:qi.define(X.content),nodeText:qi.define(X.variableName),position:qi.define(X.modifier)},hM={diagramName:qi.define(uM.diagramName),actor:qi.define(X.variableName),keyword:qi.define(X.keyword),lineComment:qi.define(X.lineComment),score:qi.define(X.number),text:qi.define(X.string)},gM={diagramName:qi.define(uM.diagramName),arrow:qi.define(X.contentSeparator),keyword:qi.define(X.keyword),lineComment:qi.define(X.lineComment),number:qi.define(X.number),quotedString:qi.define(X.string),unquotedString:qi.define(X.content)},_M={diagramName:qi.define(uM.diagramName),keyword:qi.define(X.keyword),lineComment:qi.define(X.lineComment),string:qi.define(X.string)},vM=Qi({DiagramName:dM.diagramName,LineText1:dM.lineText1,LineText2:dM.lineText2,LineText3:dM.lineText3,LineText4:dM.lineText4,LineText5:dM.lineText5}),yM={__proto__:null,mindmap:44,icon:50},bM=Oa.deserialize({version:14,states:`&fOYQ[OOOOQW'#Ci'#CiQbQ[OOQgQ[OOOOQW'#Cc'#CcOOQW-E6g-E6gOlQ]O'#CdOOQW'#Cj'#CjQgQ[OOO!]Q^O,59OOOQW-E6h-E6hOOQW'#Cs'#CsO!vQ[O'#CeO!{Q^O'#CgO!{Q^O'#CyO!{Q^O'#C|O!{Q^O'#C}O!{Q^O'#DQO!{Q^O'#DRO!{Q^O'#DSOOQW'#Ch'#ChO#^Q[O1G.jOOQW1G.j1G.jO#hQ[O,59POOQW'#Cf'#CfOOQW,59R,59RO#mQ[O,59eO#rQ[O,59hO#wQ[O,59iO#|Q[O,59lO$RQ[O,59mO$WQ[O,59nOOQW7+$U7+$UO!{Q^O1G.kOOQW1G/P1G/POOQW1G/S1G/SOOQW1G/T1G/TOOQW1G/W1G/WOOQW1G/X1G/XOOQW1G/Y1G/YO$]Q[O7+$VOOQW<<Gq<<Gq`,stateData:"$b~OdOSbOS~OaPOfSO~OaPO~OaUO~O`XO_WXaWX~Oj_OkbOn^Or`OsaOwcO~OPZOQZORZOSZOTZOh[Ol]O~PwOihO~OPZOQZORZOSZOTZO~O_WiaWi~PwOjqO~OorO~OksO~OstO~OruO~OjvO~OxwO~OkyO~O",goto:"#YwPPPPPPPx{!P!S!P!V!]!cPPPPPPPP!iPPPPP#UPP#U#UPP#U#U#URROTVRWRfXRg[QfXRpeQQORTQQWRRYWQeXQi]Qj^Qk_Ql`QmaQnbQocRxqTdXe",nodeNames:`⚠ LineText1 LineText2 LineText3 LineText4 LineText5 MindmapDiagram DiagramName Line IconLine Icon ClassLine ShapedText`,maxTerm:40,context:lM,propSources:[vM],skippedNodes:[0],repeatNodeCount:2,tokenData:"$b~R]XYz[]zpqzxy!fyz!s![!]#Q!c!}#e!}#O#p#O#P!]#P#Q#u#T#o#e#o#p#z#q#r$V~!PSd~XYz[]zpqz#O#P!]~!`QYZz]^z~!kPj~xy!n~!sOr~~!xPk~yz!{~#QOs~~#TP![!]#W~#]Ph~![!]#`~#eOl~~#jQe~!c!}#e#T#o#e~#uOn~~#zOo~~#}P#o#p$Q~$VOw~~$YP#q#r$]~$bOx~",tokenizers:[aM,rM,0,nM],topRules:{MindmapDiagram:[0,6]},specialized:[{term:21,get:e=>yM[e]||-1}],tokenPrec:0}),xM=1,SM=new Da(e=>{if(e.next===10){e.acceptToken(xM);return}if(e.next!==-1){for(;e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(xM)}}),CM=Qi({DiagramName:fM.diagramName,LineComment:fM.lineComment,Number:fM.number,ShowData:fM.showData,String:fM.string,Title:fM.title,TitleText:fM.titleText}),wM={__proto__:null,pie:34,showData:36,title:38},TM=Oa.deserialize({version:14,states:"$nOYQQOOO_QQO'#CkOOQO'#Ce'#CeQYQQOOOOQO'#C`'#C`OpOSO'#CcOxQQO'#CpOOQO'#Cf'#CfO}QQO,59VO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OY&TYZ#]Zr&Trs&qs;'S&T;'S;=`'Y<%lO&TP&vSQPOY&qZ;'S&q;'S;=`'S<%lO&qP'VP;=`<%l&qR']P;=`<%l&TR'gWWPfQOr#]s!O#]!O!P(P!P!Q#]!Q!['`![;'S#];'S;=`#n<%lO#]R(UUfQOr#]s!Q#]!Q![(h![;'S#];'S;=`#n<%lO#]R(oUWPfQOr#]s!Q#]!Q![(h![;'S#];'S;=`#n<%lO#]R)YSgPfQOr#]s;'S#];'S;=`#n<%lO#]R)mW`PfQOr#]s!c#]!c!})f!}#T#]#T#o)f#o;'S#];'S;=`#n<%lO#]",tokenizers:[SM,0,1],topRules:{PieDiagram:[0,3]},specialized:[{term:16,get:e=>wM[e]||-1}],tokenPrec:0}),EM=1,DM=2,OM=3,kM=[-1,9,13,32,34,39,96],AM=[40,62,91,123,124],jM=[41,93,124,125],MM=45,NM=61,PM=46,FM=new Da(e=>{if(!(kM.includes(e.next)||AM.includes(e.next))){for(;!jM.includes(e.next)&&e.next!==-1;)e.advance();e.acceptToken(DM)}}),IM=new Da(e=>{if(!(kM.includes(e.next)||AM.includes(e.next)||e.next===MM||e.next===NM||e.next===PM)){for(;e.next!==MM&&e.next!==NM&&e.next!==PM&&e.next!==-1;)e.advance();e.acceptToken(EM)}}),LM=new Da(e=>{if(!(e.next===10||e.next===-1)){for(;e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(OM)}}),RM=Qi({"( )":X.paren,"[ ]":X.squareBracket,"{ }":X.brace,"<":X.angleBracket,DiagramName:pM.diagramName,DoubleEqual:pM.link,DoubleHyphen:pM.link,Keyword:pM.keyword,LineComment:pM.lineComment,Link:pM.link,NodeEdge:pM.nodeEdge,NodeEdgeText:pM.nodeEdgeText,NodeId:pM.nodeId,NodeText:pM.nodeText,Number:pM.number,Orientation:pM.orientation,String:pM.string}),zM={__proto__:null,flowchart:60,graph:62,TB:64,TD:66,BT:68,RL:70,LR:72,subgraph:148,end:150,direction:152,click:154,call:156,href:158,_self:160,_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uha!vha!wha!xha!yha!zha~O]kO^kO`lOalOm[Ow`Oy]O{^O}_O!QaO!SbO!TcO!VdO!WeO!ZfO!]aO!^gO!`hO!biO!djO!ejO!fjO!gjO!hjO!ijO!klO!loO!moO!noO!ooO!poO!qoO!roO!soO!toO!uoO!vlO!wpO!xpO!ypO!zpOil!Rnl!Rol!R~PbO]kO^kO`lOalOm[Ow`Oy]O{^O}_O!QaO!SbO!TcO!VdO!WeO!ZfO!]aO!^gO!`hO!biO!djO!ejO!fjO!gjO!hjO!ijO!klO!loO!moO!noO!ooO!poO!qoO!roO!soO!toO!uoO!vlO!wpO!xpO!ypO!zpO~PbOukS!d!e!f!g!h!i]^!k!{y{}a`m]~",goto:"'[!kPPPPPP!l!p#Q#a#m$Y#aPP#aPP$i$u${%e%k%q%wPPP&RPPPPPPPPP&VP&iPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'XTPORQVPg[VZmnq!X!Z![!]!h!jdlVZnq!X!Z![!]!h!jR!WmelVZnq!X!Z![!]!h!jdlVZnq!X!Z![!]!h!jdy`abcdefghiR!UkdlVZnq!X!Z![!]!h!jR!c!VemVZnq!X!Z![!]!h!jQRORXRQUP[YUZ!X![!h!jQZVQ!XnS![q!ZR!h!]Qs]R!^sQv^R!`vQx_R!axQ!ZnQ!]qT!g!Z!]TQORQnVQqZW!Ynq!Z!]X!e!X![!h!jQz`Q{aQ|bQ}cQ!OdQ!PeQ!QfQ!RgQ!ShR!TiR!Vk",nodeNames:`⚠ NodeEdgeText NodeText StyleText LineComment FlowchartDiagram DiagramName Orientation NodeId Node String Link NodeEdge DoubleHyphen DoubleEqual Keyword : ::: StyleKeyword`,maxTerm:89,propSources:[RM],skippedNodes:[0,4],repeatNodeCount:6,tokenData:"=3^!aR3ZOX!)tXY!.cYZ!0iZ^!.c^p!)tpq!.cqr!2wrs+ kst!2wtu!2wuv,(_vw6>_wx7ETxy8Kwyz9!^z{!2w{|!2w|}!)t}!O9&O!O!P9/Q!P!Q!2w!Q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#T!-i#T;'S!)t;'S;=`!.]<%lO!)t",tokenizers:[IM,FM,LM,0,1,2,3,4,5],topRules:{FlowchartDiagram:[0,5]},specialized:[{term:29,get:e=>zM[e]||-1}],tokenPrec:1356}),VM=24,HM=1,UM=2,WM=3,GM=4,KM=5,qM=6,JM=7,YM=8,XM=9,ZM=10,QM=11,$M=12,eN=25,tN=26,nN=27,rN=28,iN=29,aN=30,oN=31,sN=32,cN=33,lN=34,uN=35,dN=36,fN=37,pN=[-1,9,10,13,32,37],mN=[43,45],hN=[44,58,62],gN=[`->`,`-x`,`-)`,` -`,` `],_N=[`-->`,`->>`,`--x`,`--)`,` as`],vN={"left of":$M,"right of":$M,activate:HM,actor:YM,alt:eN,and:tN,as:XM,autonumber:UM,box:nN,break:rN,create:WM,critical:iN,deactivate:GM,destroy:KM,else:aN,end:qM,link:oN,links:sN,loop:cN,note:JM,opt:lN,option:uN,over:$M,par:dN,participant:ZM,rect:fN},yN=Object.keys(vN),bN=new Da(e=>{if(!pN.includes(e.next)){for(;e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(VM)}}),xN=new Da(e=>{if(pN.includes(e.next)||mN.includes(e.next))return;let t=()=>{if(e.peek(0)===-1||e.peek(1)===-1||e.peek(2)===-1)return!1;let t=String.fromCodePoint(e.peek(0))+String.fromCodePoint(e.peek(1));return!!(gN.includes(t)||(t+=String.fromCodePoint(e.peek(2)),_N.includes(t)))},n=``;for(;!hN.includes(e.next)&&!t()&&e.next!==10&&e.next!==-1;)n+=String.fromCodePoint(e.next),e.advance();let r=yN.filter(e=>e===n?n.toLowerCase().startsWith(e):n.toLowerCase().startsWith(e+` `));if(r.length>0){e.acceptToken(vN[r[0]],r[0].length-n.length);return}e.acceptToken(QM)}),SN=Qi({DiagramName:mM.diagramName,NodeText:mM.nodeText,Keyword1:mM.keyword1,Keyword2:mM.keyword2,LineComment:mM.lineComment,"Arrow ArrowSuffix":mM.arrow,Position:mM.position,MessageText1:mM.messageText1,MessageText2:mM.messageText2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ate Autonumber Create Deactivate Destroy End Note Actor As Participant NodeText Position SequenceDiagram DiagramName LineComment Arrow ArrowSuffix MessageText1 Keyword MessageText2 Link`,maxTerm:48,nodeProps:[[`group`,-9,1,2,3,4,5,6,7,19,21,`Keyword1`,-3,8,9,10,`Keyword2`]],propSources:[SN],skippedNodes:[0],repeatNodeCount:1,tokenData:"(x~RmXY!|YZ#qZ^!|pq!|tu$nuv%`{|%}|}&S}!O&X![!]'T!c!}$n#T#o$n#y#z!|$f$g!|$g#BY$n#BY#BZ'Y#BZ$IS$n$IS$I_'Y$I_$I|$n$I|$JO'Y$JO$JT$n$JT$JU'Y$JU$KV$n$KV$KW'Y$KW&FU$n&FU&FV'Y&FV;'S$n;'S;=`%Y<%lO$n~#RYw~X^!|pq!|#y#z!|$f$g!|#BY#BZ!|$IS$I_!|$I|$JO!|$JT$JU!|$KV$KW!|&FU&FV!|~#x[{~w~XY!|YZ#qZ^!|pq!|#y#z!|$f$g!|#BY#BZ!|$IS$I_!|$I|$JO!|$JT$JU!|$KV$KW!|&FU&FV!|~$sVy~tu$n!Q![$n!c!}$n#T#o$n$g;'S$n;'S;=`%Y<%lO$n~%]P;=`<%l$n~%cPuv%f~%kS_~OY%fZ;'S%f;'S;=`%w<%lO%f~%zP;=`<%l%f~&SO}~~&XO!Q~R&^S!OQyz&j}!O&o!`!a&{#l#m&jP&oO`PP&rRyz&j!`!a&{#l#m&jP'QP`P!`!a&j~'YO!P~~'agw~y~X^!|pq!|tu$n!Q![$n!c!}$n#T#o$n#y#z!|$f$g!|$g#BY$n#BY#BZ'Y#BZ$IS$n$IS$I_'Y$I_$I|$n$I|$JO'Y$JO$JT$n$JT$JU'Y$JU$KV$n$KV$KW'Y$KW&FU$n&FU&FV'Y&FV;'S$n;'S;=`%Y<%lO$n",tokenizers:[bN,xN,0,1],topRules:{SequenceDiagram:[0,13]},specialized:[{term:41,get:e=>CN[e]||-1}],tokenPrec:293}),TN=1,EN=14,DN=15,ON=16,kN=[-1,9,10,13,32],AN=[`title`,`section`],jN=e=>e.peek(0)===37&&e.peek(1)===37,MN=e=>kN.includes(e.next)||jN(e),NN=new Da(e=>{if(MN(e))return;let t=``;for(;!kN.includes(e.next);)t+=String.fromCodePoint(e.next),e.advance();let n=AN.filter(e=>e===t?t.toLowerCase().startsWith(e):t.toLowerCase().startsWith(e+` `));if(n.length>0){e.acceptToken(TN,n[0].length-t.length);return}}),PN=new Da(e=>{if(!MN(e)){for(;e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(EN)}}),FN=new Da(e=>{if(!MN(e)){for(;e.next!==58&&e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(DN)}}),IN=new Da(e=>{if(!MN(e)){for(;e.next!==44&&e.next!==10&&e.next!==-1;)e.advance();e.acceptToken(ON)}}),LN=Qi({DiagramName:hM.diagramName,"Text TaskName":hM.text,Actor:hM.actor,Keyword:hM.keyword,LineComment:hM.lineComment,Score:hM.score}),RN={__proto__:null,journey:42},zN=Oa.deserialize({version:14,states:"%^OVQ`OOO[QeO'#CoQOQ`OOOOQT'#C_'#C_OOQT'#Cf'#CfOmQeO,59ZOOQO'#Cc'#CcO!OQ`O'#CbOOQO'#Cs'#CsO!TQbO'#CsOvQ`O,59ZOOQT-E6d-E6dO!YQ`O1G.uO!bQdO,58|OOQO'#Ca'#CaOOQO,59_,59_O!gQeO1G.uO!YQ`O1G.uO!xQeO7+$aO#RQ`O7+$aOOQO'#Cd'#CdO#ZQ`O1G.hOOQO,59S,59SOOQO-E6f-E6fO#fQeO<<G{O#wQhO7+$SP#|QeO'#CfOOQO'#Ce'#CeO$[Q`O<<GnO#wQhO'#CgO$gQ`OAN=YOOQO,59R,59ROOQO-E6e-E6e",stateData:"$u~ObOS~OeRO~OPXOSWO_UOfSO]cX~OPXOSWO_UOfSO]ca~Oh]O~O^^O~OfSO]ci~O_dO~OPXOSWO_UOfSO]ci~OPXOSWO_UOfSO]cq~OhiO]UifUi~OPXOSWO_UOfSO]cy~O`kO~OPXOSWO_UOfSO~OimO]UyfUy~OimO]U!RfU!R~Ofb~",goto:"#_hPPPiPlow!P!S!Y!n!tPPPPPP#OPPP#RRPOR_X]WPT`bhj]VPT`bhjRe]QliRomQTPYZT`bhjQ`YSb[aRhcQnlRpnQaYQc[TgacRQOQYPQ[TXf`bhj",nodeNames:`⚠ Keyword JourneyDiagram DiagramName LineComment Text Task TaskName Score Actor`,maxTerm:25,propSources:[LN],skippedNodes:[0],repeatNodeCount:3,tokenData:"$|~RaXY!WYZ!{Z^!Wpq!Wuv#x|}$g![!]$l!c!}$q#T#o$q#y#z!W$f$g!W#BY#BZ!W$IS$I_!W$I|$JO!W$JT$JU!W$KV$KW!W&FU&FV!W~!]Yb~X^!Wpq!W#y#z!W$f$g!W#BY#BZ!W$IS$I_!W$I|$JO!W$JT$JU!W$KV$KW!W&FU&FV!W~#S[f~b~XY!WYZ!{Z^!Wpq!W#y#z!W$f$g!W#BY#BZ!W$IS$I_!W$I|$JO!W$JT$JU!W$KV$KW!W&FU&FV!W~#{Puv$O~$TSS~OY$OZ;'S$O;'S;=`$a<%lO$O~$dP;=`<%l$O~$lOi~~$qOh~~$vQd~!c!}$q#T#o$q",tokenizers:[NN,PN,FN,IN,0],topRules:{JourneyDiagram:[0,2]},specialized:[{term:20,get:e=>RN[e]||-1}],tokenPrec:172}),BN=1,VN=[-1,45,60,62,10,13,123,61],HN=new Da(e=>{if(VN.includes(e.next)||e.next===32)return;let t,n=``,r=0;do{if(t=e.peek(r),t===-1)return;n+=String.fromCodePoint(t),r++}while(!VN.includes(t));(t===45||t===60)&&(n=n.slice(0,-1).trim(),e.acceptToken(BN,n.length))}),UN=Qi({"DiagramName SubDiagramType":gM.diagramName,LineComment:gM.lineComment,IDNumber:gM.number,"UnquotedString RelationshipStart":gM.unquotedString,QuotedString:gM.quotedString,PropKeyword:gM.unquotedString,Keyword:gM.keyword,"ForwardArrow BackArrow Hyphen":gM.arrow}),WN={__proto__:null,requirementDiagram:144,requirement:150,Requirement:152,functionalRequirement:154,FunctionalRequirement:156,performanceRequirement:158,PerformanceRequirement:160,interfaceRequirement:162,InterfaceRequirement:164,physicalRequirement:166,PhysicalRequirement:168,designConstraint:170,DesignConstraint:172,element:174,Element:176,id:18,Id:20,ID:22,text:28,Text:30,risk:34,Risk:36,low:40,Low:42,medium:44,Medium:46,high:48,High:50,verifymethod:54,verifyMethod:56,VerifyMethod:58,analysis:62,Analysis:64,demonstration:66,Demonstration:68,inspection:70,Inspection:72,test:74,Test:76,type:80,Type:82,docRef:86,DocRef:88,contains:96,Contains:98,copies:100,Copies:102,derives:104,Derives:106,satisfies:108,Satisfies:110,verifies:112,Verifies:114,refines:116,Refines:118,traces:120,Traces:122},GN=Oa.deserialize({version:14,states:")`OYQQOOO_QQO'#DtQOQQOOOOQO'#C`'#C`O!kQRO,5:`O!rOSO'#CcOOQO'#Ef'#EfO!zQQO'#DZO#SQRO'#DnO$^QRO1G/zOOQO'#Ca'#CaO$eQWO'#DxOOOO'#Do'#DoO$mOSO,58}OOQP,58},58}O$uQQO,59uO$uQQO,59uOOQP,5:Y,5:YOOQP-E7l-E7lOOQP'#Cb'#CbOOQP'#Eg'#EgO%sQQO,5:dOOOO-E7m-E7mOOQP1G.i1G.iO%xQQO1G/aOOQO'#D]'#D]O%}QQO1G/aO&SQQO1G0OO$eQWO7+${O'VQQO7+%jOOQP<<Hg<<HgO'^QQO'#E_O'cQQO'#EbO'hQQO'#EcO'mQQO'#E^OOQO'#Dp'#DpO(qQQO<<IUOOQO'#Cd'#CdOOQO'#Ci'#CiOOQO'#Cl'#ClOOQO'#Cv'#CvOOQO'#DT'#DTOOQO'#DW'#DWO(xQQO'#EaO(}QQO'#EdO)SQQO'#EeOOQP<<IU<<IUO)XQQO,5:yO)^QQO,5:|O)rQQO,5:}OOQO,5:x,5:xOOQO-E7n-E7nOOQPAN>pAN>pO$eQWO,5:{O$eQWO,5;OO$eQWO,5;POOQO1G0e1G0eOOQO1G0h1G0hOOQO'#Co'#CoOOQO1G0i1G0iOOQO'#Cz'#CzOOQO1G0g1G0gOOQO1G0j1G0jOOQO1G0k1G0k",stateData:"*e~O!gOSQOS~O!jRO~O!kSO!e!hX~OPUO!mYO!nYO!oYO!pYO!qYO!rYO!sYO!tYO!uYO!vYO!wYO!xYO!yYO!zYO!|TO~O!e!ha~PgO!|^O!}[O~O!O_O!a`O~O!kaOP!bX!e!bX!m!bX!n!bX!o!bX!p!bX!q!bX!r!bX!s!bX!t!bX!u!bX!v!bX!w!bX!x!bX!y!bX!z!bX!|!bX~O!e!hi~PgO!{cO!|TO~O!|gO!}[O~O!QiO!RiO!SiO!TiO!UiO!ViO!WiO!XiO!YiO!ZiO![iO!]iO!^iO!_iO~O#OkO~O!`lO~O!OlO~O!kmO~OXuOYuOZuO^vO_vOawObwOkxOlxOmxOxyOyyO{zO|zO~O#P!OO~P&XO#S!PO~O#S!QO~O#S!RO~O!k!SOX#QXY#QXZ#QX^#QX_#QXa#QXb#QXk#QXl#QXm#QXx#QXy#QX{#QX|#QX#P#QX~O#P!UO~P&XO#S!VO~O#S!WO~O#S!XO~O[!YO~Od![Oe![Of![Og![Oh![Oi![O~Oo!^Op!^Oq!^Or!^Os!^Ot!^Ou!^Ov!^O~O!k!a!g!`!O!`~",goto:"%r#[PPPP#]#`#d#k#vPPPP#zPP$OPP$SPPPPPP$VPPP$ZPPPPPPPP$^PP$bPP$fP$jPPPPPPPPPPPPPPPP$p$v$|PPP%SPPP$fPPPPPPPPPPPPPPPPPPP%V%ZP%Z%Z%Z%Z%Z%_%cRPOTZSXZdZl!V!W!XSUSXZdZl!V!W!XTomtT{mtTpmtR!Z!QTqmtR!]!RT|mtT}mtTWSXQh_Rj`QXSRbXQ]TRf]QtmR!TtRQOTsmtTrmtTVSXQeZQnlQ!_!VQ!`!WR!a!X",nodeNames:`⚠ RelationshipStart LineComment RequirementDiagram DiagramName SubDiagramType UnquotedString QuotedString ID PropKeyword PropKeyword PropKeyword IDNumber Text PropKeyword PropKeyword Risk PropKeyword PropKeyword RiskType Keyword Keyword Keyword Keyword Keyword Keyword VerifyMethod PropKeyword PropKeyword PropKeyword VerifyMethodType Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Type PropKeyword PropKeyword DocRef PropKeyword PropKeyword RelationshipLine Hyphen RelationshipType Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword Keyword ForwardArrow BackArrow`,maxTerm:103,propSources:[UN],skippedNodes:[0,2],repeatNodeCount:3,tokenData:"1g~R{OX#xXY$aYZ&SZ^$a^p#xpq$aqr#xrs'}su#xuv(Sv}#x}!O)v!O!Q#x!Q![*t![!]+|!]!^#x!^!_,a!_!c#x!c!}-]!}#T#x#T#o-]#o#p0o#p#q#x#q#r1S#r#y#x#y#z$a#z$f#x$f$g$a$g#BY#x#BY#BZ$a#BZ$IS#x$IS$I_$a$I_$I|#x$I|$JO$a$JO$JT#x$JT$JU$a$JU$KV#x$KV$KW$a$KW&FU#x&FU&FV$a&FV;'S#x;'S;=`$Z<%lO#xQ#}S!}QOr#xs;'S#x;'S;=`$Z<%lO#xQ$^P;=`<%l#xV$hh!}Q!gTOX#xX^$a^p#xpq$aqr#xs#y#x#y#z$a#z$f#x$f$g$a$g#BY#x#BY#BZ$a#BZ$IS#x$IS$I_$a$I_$I|#x$I|$JO$a$JO$JT#x$JT$JU$a$JU$KV#x$KV$KW$a$KW&FU#x&FU&FV$a&FV;'S#x;'S;=`$Z<%lO#xV&]j!}Q!kP!gTOX#xXY$aYZ&SZ^$a^p#xpq$aqr#xs#y#x#y#z$a#z$f#x$f$g$a$g#BY#x#BY#BZ$a#BZ$IS#x$IS$I_$a$I_$I|#x$I|$JO$a$JO$JT#x$JT$JU$a$JU$KV#x$KV$KW$a$KW&FU#x&FU&FV$a&FV;'S#x;'S;=`$Z<%lO#x~(SO!|~V(XU!}QOr#xsu#xuv(kv;'S#x;'S;=`$Z<%lO#xV(rVQT!}QOY(kYZ#xZr(krs)Xs;'S(k;'S;=`)p<%lO(kT)^SQTOY)XZ;'S)X;'S;=`)j<%lO)XT)mP;=`<%l)XV)sP;=`<%l(kR)}U!}Q!OPOr#xs!`#x!`!a*a!a;'S#x;'S;=`$Z<%lO#xR*hS!}Q!`POr#xs;'S#x;'S;=`$Z<%lO#xR*{W[P!}QOr#xs!O#x!O!P+e!P!Q#x!Q![*t![;'S#x;'S;=`$Z<%lO#xR+jU!}QOr#xs!Q#x!Q![*t![;'S#x;'S;=`$Z<%lO#xR,TS#SP!}QOr#xs;'S#x;'S;=`$Z<%lO#xR,fU!}QOr#xs}#x}!O,x!O;'S#x;'S;=`$Z<%lO#xR-PS!}Q!aPOr#xs;'S#x;'S;=`$Z<%lO#xV-fb!}Q!{S!iPOY.nYZ#xZ].n]^#x^r.nrs/ts}.n}!O#x!O!^.n!^!a#x!a!c.n!c!}-]!}#T.n#T#o-]#o#p#x#p;'S.n;'S;=`0i<%lO.nU.u_!}Q!{SOY.nYZ#xZ].n]^#x^r.nrs/ts}.n}!O#x!O!^.n!^!a#x!a#o.n#o#p#x#p;'S.n;'S;=`0i<%lO.nS/yW!{SOY/tZ]/t^}/t!O!^/t!a#o/t#p;'S/t;'S;=`0c<%lO/tS0fP;=`<%l/tU0lP;=`<%l.nR0vS#OP!}QOr#xs;'S#x;'S;=`$Z<%lO#xR1ZS#PP!}QOr#xs;'S#x;'S;=`$Z<%lO#x",tokenizers:[HN,0,1,2],topRules:{RequirementDiagram:[0,3]},specialized:[{term:71,get:e=>WN[e]||-1}],tokenPrec:428}),KN=1,qN=2,JN=3,YN=4,XN=5,ZN=6,QN=7,$N=8,eP=9,tP=17,nP={axisFormat:KN,dateFormat:qN,excludes:JN,inclusiveEndDates:YN,section:eP,tickInterval:XN,title:ZN,todayMarker:QN,weekday:$N},rP=Object.keys(nP),iP=new Da(e=>{if(e.next===32||e.next===10||e.next===-1||e.next===37&&e.peek(1)===37)return;let t=``;for(;e.next!==10&&e.next!==-1;)t+=String.fromCodePoint(e.next),e.advance();let n=rP.filter(e=>e===t?t.startsWith(e):t.startsWith(e+` `));if(n.length>0){e.acceptToken(nP[n[0]],n[0].length-t.length);return}e.acceptToken(tP)}),aP=Qi({"DiagramName Section":_M.diagramName,Keyword:_M.keyword,ImportantText:_M.string,LineComment:_M.lineComment}),oP={__proto__:null,gantt:44},sP=Oa.deserialize({version:14,states:"!|OVQQOOO[QQO'#CpQOQQOOOOQO'#Cg'#CgO!XQRO,59[OOQP'#Ci'#CiO!`QRO'#CtO!SQRO'#CtOOQP'#Ct'#CtO!eQRO'#CkO#`QRO1G.vOOQP'#Ch'#ChOOQP,59`,59`OOQP,59V,59VOOQP-E6i-E6i",stateData:"#j~OcOS~OfRO~OgSO`dX~OPVOQVORVOSWOTVOUUOVVOWVOXUO^WOaTO~O`da~PdOaZO~Og]OP_XQ_XR_XS_XT_XU_XV_XW_XX_X^_X`_Xa_X~O`di~PdOgc~",goto:`!UiPPPPPPPPPPPjmpPwPPPP}PPP!QRPOR[USWSYR[VQYSR^YRQOTXSY`,nodeNames:`⚠ AxisFormat DateFormat Excludes InclusiveEndDates TickInterval Title TodayMarker Weekday Section GanttDiagram DiagramName ImportantText Text LineComment`,maxTerm:24,nodeProps:[[`group`,-8,1,2,3,4,5,6,7,8,`Keyword`]],propSources:[aP],skippedNodes:[0],repeatNodeCount:1,tokenData:"$l~R_XY!QYZ!uZ^!Qpq!Quv#r!c!}$a#T#o$a#y#z!Q$f$g!Q#BY#BZ!Q$IS$I_!Q$I|$JO!Q$JT$JU!Q$KV$KW!Q&FU&FV!Q~!VYc~X^!Qpq!Q#y#z!Q$f$g!Q#BY#BZ!Q$IS$I_!Q$I|$JO!Q$JT$JU!Q$KV$KW!Q&FU&FV!Q~!|[g~c~XY!QYZ!uZ^!Qpq!Q#y#z!Q$f$g!Q#BY#BZ!Q$IS$I_!Q$I|$JO!Q$JT$JU!Q$KV$KW!Q&FU&FV!Q~#uPuv#x~#}S^~OY#xZ;'S#x;'S;=`$Z<%lO#x~$^P;=`<%l#x~$fQe~!c!}$a#T#o$a",tokenizers:[iP,0],topRules:{GanttDiagram:[0,10]},specialized:[{term:21,get:e=>oP[e]||-1}],tokenPrec:115}),cP;(function(e){e.Mermaid=`MermaidDiagram`,e.Mindmap=`MindmapDiagram`,e.Pie=`PieDiagram`,e.Flowchart=`FlowchartDiagram`,e.Sequence=`SequenceDiagram`,e.Journey=`JourneyDiagram`,e.Requirement=`RequirementDiagram`,e.Gantt=`GanttDiagram`})(cP||={});var lP;(function(e){e.Mermaid=`mermaid`,e.Mindmap=`mindmap`,e.Pie=`pie`,e.Flowchart=`flowchart`,e.Sequence=`sequenceDiagram`,e.Journey=`journey`,e.Requirement=`requirementDiagram`,e.Gantt=`gantt`})(lP||={});var uP;(function(e){e.Mermaid=`mermaid`,e.Mindmap=`mindmap`,e.Pie=`pie`,e.Flowchart=`flowchart`,e.Sequence=`sequence`,e.Journey=`journey`,e.Requirement=`requirement`,e.Gantt=`gantt`})(uP||={});var dP;(function(e){e.Graph=`graph`,e.Sequence=`sequence`,e.Requirement=`requirement`})(dP||={});var fP=Ca.define({name:uP.Mermaid,parser:Pj.configure({wrap:Sa(e=>{switch(e.name){case cP.Mindmap:return{parser:bM};case cP.Pie:return{parser:TM};case cP.Flowchart:return{parser:BM};case cP.Sequence:return{parser:wN};case cP.Journey:return{parser:zN};case cP.Requirement:return{parser:GN};case cP.Gantt:return{parser:sP};default:return null}})})}),pP=Ca.define({name:uP.Mindmap,parser:bM}),mP=Ca.define({name:uP.Pie,parser:TM}),hP=Ca.define({name:uP.Flowchart,parser:BM}),gP=Ca.define({name:uP.Sequence,parser:wN}),_P=Ca.define({name:uP.Journey,parser:zN}),vP=Ca.define({name:uP.Requirement,parser:GN}),yP=Ca.define({name:uP.Gantt,parser:sP});function bP(){return new xa(fP)}function xP(){return new xa(pP)}function SP(){return new xa(mP)}function CP(){return new xa(hP)}function wP(){return new xa(gP)}function TP(){return new xa(_P)}function EP(){return new xa(vP)}function DP(){return new xa(yP)}ma.of({name:lP.Mermaid,load:async()=>bP()}),ma.of({name:lP.Mindmap,load:async()=>xP()}),ma.of({name:lP.Pie,load:async()=>SP()}),ma.of({name:lP.Flowchart,alias:[dP.Graph],load:async()=>CP()}),ma.of({name:lP.Sequence,alias:[dP.Sequence],load:async()=>wP()}),ma.of({name:lP.Journey,load:async()=>TP()}),ma.of({name:lP.Requirement,alias:[dP.Requirement],load:async()=>EP()}),ma.of({name:lP.Gantt,load:async()=>DP()});function OP(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Qt(`pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`kbd`,{"data-slot":`kbd`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function kP(){}function AP(e){let{xmlFragment:t,ytext:n}=e,r=(e,t)=>{},i=(e,t)=>{};return t.observeDeep(r),n.observe(i),()=>{t.unobserveDeep(r),n.unobserve(i)}}function jP(e){return e.editorView}function MP(e){if(!e.isDestroyed)return e.extensionManager.extensions.find(e=>e.name===`collaboration`)?.options?.document}function NP(e){return e?e.startsWith(`Unregistered component:`)?`info`:e.startsWith(`Render error in`)?`warn`:`error`:`error`}var PP={info:{wrapperClass:`border-muted-foreground/30 bg-muted/30`,badgeClass:`text-muted-foreground bg-muted`,label:`unknown`},warn:{wrapperClass:`border-amber-400/60 dark:border-amber-500/40 bg-amber-50/50 dark:bg-amber-900/10`,badgeClass:`text-amber-600 dark:text-amber-400 bg-amber-100 dark:bg-amber-900/30`,label:`render error`},error:{wrapperClass:`border-destructive/60 bg-destructive/5`,badgeClass:`text-destructive bg-destructive/10`,label:`parse error`}};function FP(){return FP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FP.apply(null,arguments)}var IP=e=>{var{theme:t,settings:n={},styles:r=[]}=e,i={".cm-gutters":{}},a={};n.background&&(a.backgroundColor=n.background),n.backgroundImage&&(a.backgroundImage=n.backgroundImage),n.foreground&&(a.color=n.foreground),n.fontSize&&(a.fontSize=n.fontSize),(n.background||n.foreground)&&(i[`&`]=a),n.fontFamily&&(i[`&.cm-editor .cm-scroller`]={fontFamily:n.fontFamily}),n.gutterBackground&&(i[`.cm-gutters`].backgroundColor=n.gutterBackground),n.gutterForeground&&(i[`.cm-gutters`].color=n.gutterForeground),n.gutterBorder&&(i[`.cm-gutters`].borderRightColor=n.gutterBorder),n.caret&&(i[`.cm-content`]={caretColor:n.caret},i[`.cm-cursor, .cm-dropCursor`]={borderLeftColor:n.caret});var o={};return n.gutterActiveForeground&&(o.color=n.gutterActiveForeground),n.lineHighlight&&(i[`.cm-activeLine`]={backgroundColor:n.lineHighlight},o.backgroundColor=n.lineHighlight),i[`.cm-activeLineGutter`]=o,n.selection&&(i[`&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection`]={background:n.selection+` !important`}),n.selectionMatch&&(i[`& .cm-selectionMatch`]={backgroundColor:n.selectionMatch}),[fa.theme(i,{dark:t===`dark`}),ta(wa.define(r))]},LP={background:`#2E3235`,foreground:`#DDDDDD`,caret:`#DDDDDD`,selection:`#202325`,selectionMatch:`#202325`,gutterBackground:`#292d30`,gutterForeground:`#808080`,gutterBorder:`1px solid #ffffff10`,lineHighlight:`#B9D2FF30`},RP=[{tag:X.keyword,color:`#fda331`},{tag:[X.name,X.deleted,X.character,X.propertyName,X.macroName],color:`#b5bd68`},{tag:[X.variableName],color:`#6fb3d2`},{tag:[X.function(X.variableName)],color:`#fda331`},{tag:[X.labelName],color:`#fc6d24`},{tag:[X.color,X.constant(X.name),X.standard(X.name)],color:`#fda331`},{tag:[X.definition(X.name),X.separator],color:`#cc99cc`},{tag:[X.brace],color:`#cc99cc`},{tag:[X.annotation],color:`#fc6d24`},{tag:[X.number,X.changed,X.annotation,X.modifier,X.self,X.namespace],color:`#fda331`},{tag:[X.typeName,X.className],color:`#6fb3d2`},{tag:[X.operator,X.operatorKeyword],color:`#cc99cc`},{tag:[X.tagName],color:`#fda331`},{tag:[X.squareBracket],color:`#cc99cc`},{tag:[X.angleBracket],color:`#cc99cc`},{tag:[X.attributeName],color:`#6fb3d2`},{tag:[X.regexp],color:`#fda331`},{tag:[X.quote],color:`#DDDDDD`},{tag:[X.string],color:`#b5bd68`},{tag:X.link,color:`#6987AF`,textDecoration:`underline`,textUnderlinePosition:`under`},{tag:[X.url,X.escape,X.special(X.string)],color:`#8abeb7`},{tag:[X.meta],color:`#A54543`},{tag:[X.comment],color:`#808080`,fontStyle:`italic`},{tag:X.monospace,color:`#DDDDDD`},{tag:X.strong,fontWeight:`bold`,color:`#fda331`},{tag:X.emphasis,fontStyle:`italic`,color:`#6fb3d2`},{tag:X.strikethrough,textDecoration:`line-through`},{tag:X.heading,fontWeight:`bold`,color:`#DDDDDD`},{tag:X.special(X.heading1),fontWeight:`bold`,color:`#DDDDDD`},{tag:X.heading1,fontWeight:`bold`,color:`#DDDDDD`},{tag:[X.heading2,X.heading3,X.heading4],fontWeight:`bold`,color:`#DDDDDD`},{tag:[X.heading5,X.heading6],color:`#DDDDDD`},{tag:[X.atom,X.bool,X.special(X.variableName)],color:`#8abeb7`},{tag:[X.processingInstruction,X.inserted],color:`#8abeb7`},{tag:[X.contentSeparator],color:`#6fb3d2`},{tag:X.invalid,color:`#B9D2FF`,borderBottom:`1px dotted #fc6d24`}],zP=e=>{var{theme:t=`dark`,settings:n={},styles:r=[]}=e||{};return IP({theme:t,settings:FP({},LP,n),styles:[...RP,...r]})};zP();var BP={background:`#ffffff`,foreground:`#2e3440`,caret:`#3b4252`,selection:`#eceff4`,selectionMatch:`#e5e9f0`,gutterBackground:`#eceff4`,gutterForeground:`#2e3440`,gutterBorder:`none`,lineHighlight:`#02255f11`},VP=[{tag:X.keyword,color:`#5e81ac`},{tag:[X.name,X.deleted,X.character,X.propertyName,X.macroName],color:`#d08770`},{tag:[X.variableName],color:`#d08770`},{tag:[X.function(X.variableName)],color:`#5e81ac`},{tag:[X.labelName],color:`#81a1c1`},{tag:[X.color,X.constant(X.name),X.standard(X.name)],color:`#5e81ac`},{tag:[X.definition(X.name),X.separator],color:`#a3be8c`},{tag:[X.brace],color:`#8fbcbb`},{tag:[X.annotation],color:`#d30102`},{tag:[X.number,X.changed,X.annotation,X.modifier,X.self,X.namespace],color:`#88c0d0`},{tag:[X.typeName,X.className],color:`#ebcb8b`},{tag:[X.operator,X.operatorKeyword],color:`#a3be8c`},{tag:[X.tagName],color:`#b48ead`},{tag:[X.squareBracket],color:`#bf616a`},{tag:[X.angleBracket],color:`#d08770`},{tag:[X.attributeName],color:`#ebcb8b`},{tag:[X.regexp],color:`#5e81ac`},{tag:[X.quote],color:`#3b4252`},{tag:[X.string],color:`#d08770`},{tag:X.link,color:`#8fbcbb`,textDecoration:`underline`,textUnderlinePosition:`under`},{tag:[X.url,X.escape,X.special(X.string)],color:`#d08770`},{tag:[X.meta],color:`#88c0d0`},{tag:[X.comment],color:`#434c5e`,fontStyle:`italic`},{tag:X.strong,fontWeight:`bold`,color:`#5e81ac`},{tag:X.emphasis,fontStyle:`italic`,color:`#5e81ac`},{tag:X.strikethrough,textDecoration:`line-through`},{tag:X.heading,fontWeight:`bold`,color:`#5e81ac`},{tag:X.special(X.heading1),fontWeight:`bold`,color:`#5e81ac`},{tag:X.heading1,fontWeight:`bold`,color:`#5e81ac`},{tag:[X.heading2,X.heading3,X.heading4],fontWeight:`bold`,color:`#5e81ac`},{tag:[X.heading5,X.heading6],color:`#5e81ac`},{tag:[X.atom,X.bool,X.special(X.variableName)],color:`#d08770`},{tag:[X.processingInstruction,X.inserted],color:`#8fbcbb`},{tag:[X.contentSeparator],color:`#ebcb8b`},{tag:X.invalid,color:`#434c5e`,borderBottom:`1px dotted #d30102`}],HP=e=>{var{theme:t=`light`,settings:n={},styles:r=[]}=e||{};return IP({theme:t,settings:FP({},BP,n),styles:[...VP,...r]})};HP();var UP=[ma.of({name:`javascript`,alias:[`js`,`jsx`],extensions:[`js`,`mjs`,`cjs`,`jsx`],load:async()=>Ma({jsx:!0})}),ma.of({name:`typescript`,alias:[`ts`,`tsx`],extensions:[`ts`,`mts`,`cts`,`tsx`],load:async()=>Ma({typescript:!0,jsx:!0})}),ma.of({name:`json`,alias:[`jsonc`],extensions:[`json`,`jsonc`],load:()=>n(()=>import(`./dist-B9f86446.js`).then(e=>e.t).then(e=>e.json()),__vite__mapDeps([25,4,26,27,28]),import.meta.url)}),ma.of({name:`yaml`,alias:[`yml`],extensions:[`yaml`,`yml`],load:()=>n(()=>import(`./dist-BUqH6ZNg.js`).then(e=>e.t).then(e=>e.yaml()),__vite__mapDeps([29,4,26,27,28]),import.meta.url)}),ma.of({name:`css`,alias:[`scss`,`less`],extensions:[`css`,`scss`,`less`],load:async()=>Aa()}),ma.of({name:`html`,alias:[`htm`],extensions:[`html`,`htm`],load:async()=>ja()}),ma.of({name:`python`,alias:[`py`],extensions:[`py`,`pyw`],load:()=>n(()=>import(`./dist-DQJENePL.js`).then(e=>e.python()),__vite__mapDeps([30,31,26,4,27,28]),import.meta.url)}),ma.of({name:`rust`,alias:[`rs`],extensions:[`rs`],load:()=>n(()=>import(`./dist-C71DLMde.js`).then(e=>e.rust()),__vite__mapDeps([32,26,4,27,28]),import.meta.url)}),ma.of({name:`markdown`,alias:[`md`,`mdx`],extensions:[`md`,`mdx`,`markdown`],load:async()=>Fa()}),ma.of({name:`bash`,alias:[`sh`,`shell`,`zsh`],extensions:[`sh`,`bash`,`zsh`],load:async()=>{let[{StreamLanguage:e,LanguageSupport:t},{shell:r}]=await Promise.all([n(()=>import(`./dist-DLLyJf3c.js`).then(e=>e.h),__vite__mapDeps([26,4,27]),import.meta.url),n(()=>import(`./shell-DhAwSAum.js`),[],import.meta.url)]);return new t(e.define(r))}}),ma.of({name:`go`,alias:[`golang`],extensions:[`go`],load:async()=>{let[{StreamLanguage:e,LanguageSupport:t},{go:r}]=await Promise.all([n(()=>import(`./dist-DLLyJf3c.js`).then(e=>e.h),__vite__mapDeps([26,4,27]),import.meta.url),n(()=>import(`./go-BPQOrv_-.js`),[],import.meta.url)]);return new t(e.define(r))}}),ma.of({name:`math`,alias:[`latex`,`tex`],extensions:[`tex`,`latex`],load:async()=>{let[{StreamLanguage:e,LanguageSupport:t},{stex:r}]=await Promise.all([n(()=>import(`./dist-DLLyJf3c.js`).then(e=>e.h),__vite__mapDeps([26,4,27]),import.meta.url),n(()=>import(`./stex-AIAzjJoG.js`).then(e=>e.n),__vite__mapDeps([33,4]),import.meta.url)]);return new t(e.define(r))}})],WP=aa.define(),GP=aa.define(),KP=Zi.line({class:`agent-flash`}),qP=Ji.define({create(){return Zi.none},update(e,t){e=e.map(t.changes);for(let n of t.effects)if(n.is(WP)){let{from:r,to:i}=n.value,a=[];for(let e=r;e<=i;){let n=t.state.doc.lineAt(e);a.push(KP.range(n.from)),e=n.to+1}e=e.update({add:a,sort:!0})}else n.is(GP)&&(e=Zi.none);return e},provide:e=>fa.decorations.from(e)});function JP(e){let t=e.getMap(`agent-flash`);return[qP,oa.define(e=>{let n=0,r=Date.now(),i=null,a=null,o=!1;function s(){let t=e.state.doc.length;t!==0&&(o||(e.dispatch({effects:WP.of({from:0,to:t})}),a&&clearTimeout(a),a=setTimeout(()=>{a=null,!o&&e.dispatch({effects:GP.of(null)})},it)))}let c=e=>{if(xt(t),!_e(t,r))return;r=Date.now();let a=Date.now();if(a-n<500){if(!i){let e=500-(a-n);i=setTimeout(()=>{i=null,n=Date.now(),s()},e)}return}n=a,s()};t.observe(c);let l=()=>{document.visibilityState===`visible`?_e(t,r)&&(r=Date.now(),n=Date.now(),s()):r=Date.now()};return document.addEventListener(`visibilitychange`,l),{update(e){},destroy(){o=!0,t.unobserve(c),document.removeEventListener(`visibilitychange`,l),i&&=(clearTimeout(i),null),a&&=(clearTimeout(a),null)}}})]}function YP(e){return{kind:`navigate`,displayState:`resolved`,resolvedTarget:e,hashDocName:e.target,hash:Pi({scope:e.scope,name:e.name,path:e.path})}}function XP(e,t){let n=[e,...t.fallbackTargets??[]],r=new Set,i=null;for(let e of n){if(r.has(e))continue;r.add(e);let n=Ti(e,{pages:t.pages,folderPaths:t.folderPaths,pagesBySlug:t.pagesBySlug,pagesByBasename:t.pagesByBasename});if(n.kind===`skill-file`)return YP(n);if(n.kind!==`asset`){if(n.kind===`missing`){i??=n;continue}return{kind:`navigate`,displayState:n.kind===`folder`?`folder`:`resolved`,resolvedTarget:n,hashDocName:n.target,hash:null}}}let a=i??Ti(e,{pages:t.pages,folderPaths:t.folderPaths,pagesBySlug:t.pagesBySlug,pagesByBasename:t.pagesByBasename});if(a.kind===`skill-file`)return YP(a);if(a.kind!==`missing`&&a.kind!==`asset`)return{kind:`navigate`,displayState:a.kind===`folder`?`folder`:`resolved`,resolvedTarget:a,hashDocName:a.target,hash:null};let o=a.kind===`asset`?{kind:`missing`,target:e}:a,s=t.createDialogSeed??Li(o.target);return{kind:`create`,displayState:`missing`,resolvedTarget:o,initialDir:s.initialDir,suggestedName:s.suggestedName}}function ZP(e,t){if(e.has(t))return!0;let n=t.toLowerCase();for(let t of e)if(t.toLowerCase()===n)return!0;return!1}function QP(e,t,n,r){let i=Qe(e,t);return i===null?!1:!!(n&&ZP(n,i)||r&&ZP(r,i))}function $P(e,t,n){let r=W(e,t);if(!r)return`unresolved`;if(r.kind===`external`)return`external`;if(r.kind===`anchor`)return`anchor`;if(n===null)return`loading`;if(r.kind===`asset`)return n.assetPaths===void 0&&n.filePaths===void 0||QP(r.url,t,n.assetPaths,n.filePaths)?`asset`:`unresolved`;let i=XP(r.docName,{pages:n.pages,folderPaths:n.folderPaths});return i.kind===`create`?`unresolved`:i.displayState}function eF(e,t,n){let r=e.attrs?.href;return typeof r!=`string`||r.length===0||e.attrs?.sourceForm===`wikiembed`?null:{"data-resolution-state":$P(r,n,t)}}function tF(e){return(t,n)=>eF(t,n,e)}var nF=new class{byExt=new Map;viewerUnregisterFns=new WeakMap;register(e){let t=this.viewerUnregisterFns.get(e);if(t)return t;for(let t of e.exts){let n=t.toLowerCase(),r=this.byExt.get(n);r&&r!==e&&console.warn(JSON.stringify({event:`asset-viewer-collision`,ext:n,priorExts:r.exts,newExts:e.exts})),this.byExt.set(n,e)}let n=!1,r=()=>{if(!n){n=!0;for(let t of e.exts){let n=t.toLowerCase();this.byExt.get(n)===e&&this.byExt.delete(n)}this.viewerUnregisterFns.delete(e)}};return this.viewerUnregisterFns.set(e,r),r}lookup(e){let t=this.byExt.get(e.toLowerCase());return t?{ok:!0,viewer:t}:{ok:!1}}clearForTests(){this.byExt.clear(),this.viewerUnregisterFns=new WeakMap}get size(){return this.byExt.size}};function rF(e){globalThis.window?.open(e,`_blank`,`noopener,noreferrer`)}async function iF(e,t={}){let n=t.registry??nF,r=`desktopBridge`in t?t.desktopBridge:globalThis.window?.okDesktop,i=t.openUrl??rF;if(!e.forceOsDelegation){let t=n.lookup(e.ext);if(t.ok){t.viewer.render(e);return}}if(r){let t=await r.shell.openAsset(e.projectRelPath);if(!t.ok){if(t.reason===`extension-blocked`){let t=await r.shell.revealAsset(e.projectRelPath);t.ok||console.warn(`[asset-dispatch] revealAsset failed:`,t.reason,{projectRelPath:e.projectRelPath,ext:e.ext});return}console.warn(`[asset-dispatch] openAsset refused:`,t.reason,{projectRelPath:e.projectRelPath,ext:e.ext})}return}i(e.url)}var aF=new Set([`http:`,`https:`,`mailto:`,`tel:`]);function oF(e){try{let t=new URL(e);return aF.has(t.protocol)}catch{return!1}}function sF(e=window.location.hash){let t=e.match(/^#\/([^?#]+)/);return t?decodeURIComponent(t[1]):``}function cF(e,t=window.location.hash){return W(e,sF(t))}function lF({docName:e,anchor:t}){return zi(e,t)}function uF(e){e.startsWith(`#`)||oF(e)?window.open(e,`_blank`,`noopener,noreferrer`):console.warn(`[safe-nav] blocked non-safe scheme:`,e)}function dF(e){window.location.assign(lF(e))}function fF(e){uF(lF(e))}function pF(e){window.location.assign(Ii(e))}function mF({url:e,projectRelPath:t,ext:n,title:r,newTab:i},a={}){let o=a.navigate??pF,s=a.dispatch??iF;if(i){s({url:e,projectRelPath:t,ext:n,title:r,forceOsDelegation:!0});return}o(t)}function hF(e){return e.metaKey||e.ctrlKey}function gF(e,t,n){let r=hF(e);t(r)&&(e.preventDefault(),r||n())}function _F(e,t=window.location.hash){let n=sF(t);if(!n)return;let r=document.getElementById(e);r&&r.scrollIntoView({behavior:`smooth`,block:`start`}),window.location.assign(zi(n,e))}function vF(e,t=window.location.hash){if(e.kind===`doc`){dF(e);return}if(e.kind===`anchor`){_F(e.anchor,t);return}uF(e.url)}function yF(e,t,n=window.location.hash){return F(sF(n),e,t)}var bF=/\[([^\]\n]*)\]\((<[^>\n]+>|[^)\s\n]+)(?:\s+(?:"[^"\n]*"|'[^'\n]*'|\([^)\n]*\)))?\)/g,xF=Zi.mark({class:`cm-md-internal-link`}),SF=Zi.mark({class:`cm-md-internal-link cm-md-link-broken`});function CF(e,t,n){let r=$P(e,t,n);return r===`external`?null:r===`unresolved`?`cm-md-internal-link cm-md-link-broken`:`cm-md-internal-link`}function wF(e,t,n){let r=CF(e,t,n);return r===null?null:r.includes(`cm-md-link-broken`)?SF:xF}function TF(e,t){return t>0&&e[t-1]===`!`}function EF(e){let t=e[2]??``;return t.startsWith(`<`)&&t.endsWith(`>`)?t.slice(1,-1):t}function DF(e){let t=new ea,n=sF(),r=dn();for(let{from:i,to:a}of e.visibleRanges){let o=e.state.doc.sliceString(i,a);bF.lastIndex=0;let s=bF.exec(o);for(;s!==null;){let e=TF(o,s.index)?null:wF(EF(s),n,r);e&&t.add(i+s.index,i+s.index+s[0].length,e),s=bF.exec(o)}}return t.finish()}var OF=oa.fromClass(class{decorations;cacheAtBuild;unsubscribe;constructor(e){this.cacheAtBuild=dn(),this.decorations=DF(e),this.unsubscribe=pn(t=>{this.cacheAtBuild!==t&&queueMicrotask(()=>{try{e.dispatch({})}catch{}})})}update(e){let t=dn();(e.docChanged||e.viewportChanged||this.cacheAtBuild!==t)&&(this.cacheAtBuild=t,this.decorations=DF(e.view))}destroy(){this.unsubscribe()}},{decorations:e=>e.decorations}),kF=fa.domEventHandlers({mousedown(e,t){if(!e.ctrlKey&&!e.metaKey)return!1;let n=t.posAtCoords({x:e.clientX,y:e.clientY});if(n===null)return!1;let r=t.state.doc.lineAt(n);bF.lastIndex=0;let i=bF.exec(r.text);for(;i!==null;){let t=r.from+i.index,a=t+i[0].length;if(n>=t&&n<=a){let t=EF(i),n=TF(r.text,i.index)?null:cF(t);if(n&&n.kind!==`external`)return $P(t,sF(),dn())===`unresolved`?!1:(e.preventDefault(),n.kind===`doc`&&hF(e)?(fF(n),!0):(vF(n),!0))}i=bF.exec(r.text)}return!1}}),AF=fa.theme({".cm-md-internal-link":{color:`oklch(52.7% 0.154 228.4)`,fontWeight:`500`},".cm-md-internal-link:hover":{textDecoration:`underline`,cursor:`pointer`}});function jF(){return[OF,kF,AF]}function MF(e){switch(e){case`image`:return go;case`video`:return lo;case`audio`:return Go;default:return oo}}function NF(e){let t=e.lastIndexOf(`.`),n=t>e.lastIndexOf(`/`)+1?e.slice(t+1).toLowerCase():``;return n===``?{kind:`folder`}:n===`md`||n===`mdx`?{kind:`page`}:{kind:`asset`,assetExt:n}}function PF(e){return e.kind===`folder`?br:e.kind===`asset`?e.mediaKind===void 0?e.assetExt?MF(FF(e.assetExt)):oo:MF(e.mediaKind):oo}function FF(e){let t=e.toLowerCase().replace(/^\./,``);return IF.has(t)?`image`:LF.has(t)?`video`:RF.has(t)?`audio`:null}var IF=new Set([`png`,`jpg`,`jpeg`,`gif`,`webp`,`avif`,`svg`,`bmp`,`ico`]),LF=new Set([`mp4`,`webm`,`mov`,`m4v`,`mkv`,`avi`]),RF=new Set([`mp3`,`wav`,`ogg`,`m4a`,`flac`,`aac`,`opus`]);function zF(e){if(e.kind===`create`)return(0,Z.jsx)(ao,{className:`size-4 shrink-0 text-muted-foreground`,"aria-hidden":`true`});let t=e.kind===`asset`?e.path.split(`.`).pop()??``:void 0;return(0,Z.jsx)(PF({kind:e.kind,assetExt:t}),{className:`size-4 shrink-0 text-muted-foreground`,"aria-hidden":`true`})}function BF(e){return e.kind===`asset`?e.target:e.kind===`anchor`?`${e.docName}#${e.slug}`:e.docName}function VF(e){if(e.kind===`anchor`){let{level:t,text:n}=e;return Ci._({id:`Ik-gP0`,values:{level:t,text:n}})}if(e.kind===`asset`){let{title:t}=e;return Ci._({id:`hXbSxc`,values:{title:t}})}return e.kind===`create`?e.actionLabel:e.title}function HF(e){let t=(0,$.c)(55),{items:n,query:r,selectedIndex:i,onSelect:a,loading:o,error:c,mode:l,pageTarget:u,anchorQuery:d,hasMore:f}=e,p=o===void 0?!1:o,m=c===void 0?null:c,h=l===void 0?`page`:l,g=u===void 0?``:u,_=d===void 0?``:d,v=f===void 0?!1:f,{_:y}=s(),b=(0,Q.useRef)(null),x=(0,Q.useId)(),S=i>=0&&i<n.length?`${x}-option-${i}`:void 0,C,w;t[0]===i?(C=t[1],w=t[2]):(C=()=>{let e=b.current;if(!e)return;let t=e.querySelectorAll(`[role="option"]`).item(i);t&&t.scrollIntoView({block:`nearest`})},w=[i],t[0]=i,t[1]=C,t[2]=w),(0,Q.useEffect)(C,w);let T=UF;if(p){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[3]=e):e=t[3];let n;t[4]!==y||t[5]!==h||t[6]!==g?(n=y(h===`anchor`?{id:`ONgEZF`,values:{pageTarget:g}}:{id:`q6-JVU`}),t[4]=y,t[5]=h,t[6]=g,t[7]=n):n=t[7];let r;return t[8]===n?r=t[9]:(r=(0,Z.jsx)(`div`,{ref:b,role:`status`,"aria-live":`polite`,className:`w-80 max-w-[min(28rem,90vw)] rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:e,onMouseDown:T,children:n}),t[8]=n,t[9]=r),r}if(n.length===0){let e;if(t[10]!==y||t[11]!==_||t[12]!==m||t[13]!==h||t[14]!==g||t[15]!==r){let n=_.trim(),i=r.trim();e=m??y(h===`anchor`?n?{id:`6O626z`,values:{trimmedAnchorQuery:n}}:{id:`ct2kv5`,values:{pageTarget:g}}:i?{id:`a9OzSn`,values:{trimmedQuery:i}}:{id:`Oo_WWc`}),t[10]=y,t[11]=_,t[12]=m,t[13]=h,t[14]=g,t[15]=r,t[16]=e}else e=t[16];let n=e,i;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(i={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[17]=i):i=t[17];let a;return t[18]===n?a=t[19]:(a=(0,Z.jsx)(`div`,{ref:b,role:`status`,"aria-live":`polite`,className:`w-80 max-w-[min(28rem,90vw)] rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:i,onMouseDown:T,children:n}),t[18]=n,t[19]=a),a}let E=i>=0&&i<n.length?n[i]:null,D;t[20]!==y||t[21]!==h?(D=y(h===`anchor`?{id:`xDBki3`}:{id:`i1flq_`}),t[20]=y,t[21]=h,t[22]=D):D=t[22];let O;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(O={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[23]=O):O=t[23];let k;t[24]===E?k=t[25]:(k=E?VF(E):``,t[24]=E,t[25]=k);let A;t[26]===k?A=t[27]:(A=(0,Z.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,"aria-atomic":`true`,children:k}),t[26]=k,t[27]=A);let j;t[28]===m?j=t[29]:(j=m&&(0,Z.jsx)(`div`,{className:`rounded-md px-2 py-1.5 text-xs text-amber-700 dark:text-amber-300`,children:m}),t[28]=m,t[29]=j);let M;t[30]!==h||t[31]!==g?(M=h===`anchor`&&(0,Z.jsx)(`div`,{className:`px-2 py-1 text-[10px] font-medium uppercase tracking-wide text-muted-foreground`,children:g}),t[30]=h,t[31]=g,t[32]=M):M=t[32];let N;if(t[33]!==n||t[34]!==x||t[35]!==a||t[36]!==i){let e;t[38]!==x||t[39]!==a||t[40]!==i?(e=(e,t)=>{let n=t===i,r=BF(e);return e.kind===`anchor`?(0,Z.jsxs)(`button`,{id:`${x}-option-${t}`,type:`button`,role:`option`,"aria-selected":n,"data-selected":n,className:`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-left ${n?`bg-accent text-accent-foreground`:``}`,style:{paddingLeft:`${(e.level-1)*10+8}px`},onMouseDown:t=>{t.preventDefault(),a(e)},children:[(0,Z.jsxs)(`span`,{className:`w-6 shrink-0 font-mono text-[10px] text-muted-foreground`,children:[`H`,e.level]}),(0,Z.jsx)(`span`,{className:`truncate font-medium`,children:e.text})]},r):(0,Z.jsxs)(`button`,{id:`${x}-option-${t}`,type:`button`,role:`option`,"aria-selected":n,"data-selected":n,className:`flex w-full items-start gap-2 rounded-md px-2 py-1.5 text-sm text-left ${n?`bg-accent text-accent-foreground`:``}`,onMouseDown:t=>{t.preventDefault(),a(e)},children:[(0,Z.jsx)(`span`,{className:`mt-0.5`,children:zF(e)}),(0,Z.jsxs)(`span`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,Z.jsx)(`span`,{className:`truncate font-medium`,children:e.kind===`create`?e.actionLabel:e.title}),e.kind===`page`&&e.title!==e.docName&&(0,Z.jsx)(`span`,{className:`line-clamp-2 break-all text-xs text-muted-foreground`,children:e.docName}),e.kind===`asset`&&(0,Z.jsx)(`span`,{className:`line-clamp-2 break-all text-xs text-muted-foreground`,children:e.path}),e.kind===`create`&&(0,Z.jsxs)(`span`,{className:`line-clamp-2 break-all text-xs text-muted-foreground`,children:[e.docName,`.md`]})]})]},r)},t[38]=x,t[39]=a,t[40]=i,t[41]=e):e=t[41],N=n.map(e),t[33]=n,t[34]=x,t[35]=a,t[36]=i,t[37]=N}else N=t[37];let P;t[42]!==y||t[43]!==v||t[44]!==n.length||t[45]!==h?(P=v&&(0,Z.jsx)(`div`,{"data-prop-suggestion-more-hint":``,className:`border-t border-border mt-1 px-2 py-1.5 text-xs text-muted-foreground`,children:y(h===`anchor`?{id:`ypw6My`,values:{0:n.length}}:{id:`3MnvrL`,values:{0:n.length}})}),t[42]=y,t[43]=v,t[44]=n.length,t[45]=h,t[46]=P):P=t[46];let F;return t[47]!==S||t[48]!==A||t[49]!==j||t[50]!==M||t[51]!==N||t[52]!==P||t[53]!==D?(F=(0,Z.jsxs)(`div`,{ref:b,role:`listbox`,"aria-label":D,"aria-activedescendant":S,tabIndex:-1,onMouseDown:T,className:`w-80 max-w-[min(28rem,90vw)] overflow-y-auto subtle-scrollbar rounded-lg border bg-popover p-1 shadow-md`,style:O,children:[A,j,M,N,P]}),t[47]=S,t[48]=A,t[49]=j,t[50]=M,t[51]=N,t[52]=P,t[53]=D,t[54]=F):F=t[54],F}function UF(e){return e.preventDefault()}var WF=new Re(`wikiLinkSuggestion`),GF=8,KF={currentDocName:null,connectedDocNames:new Set},qF=new Set([`.agents`,`.claude`,`.cursor`]),JF=200,YF=100,XF=50;function ZF(e){return e.split(`/`).some(e=>qF.has(e))}function QF(e,t){let n=0;return ZF(e)&&(n-=JF),t.currentDocName!==null&&e===t.currentDocName?n+=XF:t.connectedDocNames.has(e)&&(n+=YF),n}var $F=null,eI=null;function tI(e){let t=e.indexOf(`#`);return t>0?{mode:`anchor`,pageTarget:e.slice(0,t),anchorQuery:e.slice(t+1)}:{mode:`page`,pageTarget:``,anchorQuery:``}}function nI(e,t,n=KF){if(!t)return e.map((e,t)=>({page:e,index:t,boost:QF(e.docName,n)})).sort((e,t)=>t.boost-e.boost||e.index-t.index).slice(0,GF).map(e=>e.page);let r=rI(e);return Wt(r.corpus,t,{intent:`autocomplete`,limit:100}).map(e=>({result:e,adjusted:e.score+QF(e.document.path,n)})).sort((e,t)=>t.adjusted-e.adjusted||e.result.document.path.localeCompare(t.result.document.path)).slice(0,GF).map(e=>r.byPath.get(e.result.document.path)).filter(e=>!!e)}function rI(e){let t=e.map(e=>`${e.kind??`page`}\u0000${e.docName}\u0000${e.title}`).join(``);return $F?.fingerprint===t||($F={fingerprint:t,byPath:new Map(e.map(e=>[e.docName,e])),corpus:ft(e.map(e=>Ft({kind:`page`,path:e.docName,title:e.title})))}),$F}function iI(e){let t=e.map(e=>`${e.slug}\u0000${e.level}\u0000${e.text}`).join(``);return eI?.fingerprint===t||(eI={fingerprint:t,byPath:new Map(e.map(e=>[e.slug,e])),corpus:ft(e.map(e=>Ft({kind:`page`,path:e.slug,title:e.text})))}),eI}function aI(e,t){if(!t)return e.slice(0,GF);let n=iI(e);return Wt(n.corpus,t,{intent:`autocomplete`,limit:GF}).map(e=>n.byPath.get(e.document.path)).filter(e=>!!e)}function oI(e,t,n=KF){let r=nI(e,t,n);if(r.length>0)return r.map(e=>e.kind===`asset`?{kind:`asset`,target:e.docName,path:e.docName.replace(/^\//,``),title:e.title}:{kind:`page`,docName:e.docName,title:e.title});let i=Tv(t);return i?[{kind:`create`,docName:i.target,title:t.trim(),actionLabel:`Insert unresolved link "${t.trim()}"`}]:[]}function sI(e,t,n){return aI(t,n).map(t=>({kind:`anchor`,docName:e,level:t.level,text:t.text,slug:t.slug}))}function cI(e){let{mode:t,pageTarget:n,anchorQuery:r}=tI(e);return t===`anchor`&&n?{target:n,alias:null,anchor:r.trim()||null}:Tv(e)}function lI(e){let{$position:t}=e,n=t.parent.textBetween(0,t.parentOffset,void 0,``),r=n.match(/\[\[([^\]]*)$/);if(!r)return null;let i=r[1];return{range:{from:t.start()+n.lastIndexOf(`[[`),to:t.pos},query:i,text:r[0]}}async function uI(){let e=await fetch(`/api/pages`),t;try{t=await e.json()}catch(t){throw new Mv(`Pages response was not JSON`,{cause:t,status:e.status})}if(!e.ok){let n=rt.safeParse(t);throw Error(n.success?n.data.title:`/api/pages responded with ${e.status}`)}let n=vt.safeParse(t);if(!n.success)return console.warn(`[wiki-link-suggestion] /api/pages response schema drift:`,n.error),[];let r=n.data.pages.map(e=>({kind:`page`,docName:e.docName,title:e.title})),i;try{let{ok:e,status:t,body:n}=await sn();if(!e)return console.warn(`[wiki-link-suggestion] /api/documents responded with`,t),r;if(i=n??{},!Array.isArray(i.documents))return r}catch(e){return console.warn(`[wiki-link-suggestion] Failed to fetch referenced assets:`,e),r}let a=i.documents.filter(e=>e.kind===`asset`&&typeof e.path==`string`&&e.path.length>0).map(e=>{let t=e.path.split(`/`).pop()??e.path;return{kind:`asset`,docName:`/${e.path}`,title:t}}),o=i.documents.filter(e=>e.kind===`file`&&typeof e.path==`string`&&e.path.length>0&&!Ce(e.path)).map(e=>{let t=e.path.split(`/`).pop()??e.path;return{kind:`asset`,docName:`/${e.path}`,title:t}}),s=i.documents.filter(e=>e.kind===`folder`&&typeof e.path==`string`&&e.path.length>0).map(e=>{let t=e.path.split(`/`).pop()??e.path;return{kind:`folder`,docName:e.path,title:t}});return[...r,...a,...o,...s]}async function dI(e){let t=await fetch(`/api/page-headings?docName=${encodeURIComponent(e)}`),n;try{n=await t.json()}catch(e){throw new Mv(`Page headings response was not JSON`,{cause:e,status:t.status})}if(!t.ok){let e=rt.safeParse(n);throw Error(e.success?e.data.title:`/api/page-headings responded with ${t.status}`)}let r=Mt.safeParse(n);return r.success?r.data.headings??[]:(console.warn(`[wiki-link-suggestion] /api/page-headings response schema drift:`,r.error),[])}async function fI(e){try{let t=await fetch(`/api/forward-links?docName=${encodeURIComponent(e)}`);if(!t.ok)return console.warn(`[wiki-link-suggestion] /api/forward-links responded`,t.status,e),[];let n=T.safeParse(await t.json());return n.success?n.data.forwardLinks.flatMap(e=>e.kind===`doc`?[e.docName]:[]):[]}catch(e){return console.warn(`[wiki-link-suggestion] Failed to fetch forward links:`,e),[]}}async function pI(e){try{let t=await fetch(`/api/backlinks?docName=${encodeURIComponent(e)}`);if(!t.ok)return console.warn(`[wiki-link-suggestion] /api/backlinks responded`,t.status,e),[];let n=yt.safeParse(await t.json());return n.success?n.data.backlinks.map(e=>e.source):[]}catch(e){return console.warn(`[wiki-link-suggestion] Failed to fetch backlinks:`,e),[]}}async function mI(e){if(!e)return KF;let[t,n]=await Promise.all([fI(e),pI(e)]),r=new Set([...t,...n]);return r.delete(e),{currentDocName:e,connectedDocNames:r}}function hI(e){let t=[],n=!1,r=null,i=KF,a=null,o=new Map,s=null,c=null,l=null;return Zu({editor:e,pluginKey:WF,char:`[[`,allowedPrefixes:null,findSuggestionMatch:lI,allow:({editor:e})=>!id(e),items:async({query:u})=>{let{mode:d,pageTarget:f,anchorQuery:p}=tI(u);if(d===`anchor`){if(!o.has(f)&&s!==f){s=f;try{let e=await dI(f);o.set(f,e),l=null}catch(e){console.error(`[wiki-link-suggestion] Failed to fetch headings:`,e),o.set(f,[]),l=`Failed to load headings for ${f}. Press Escape and type [[ again to retry.`}finally{s=null}}return sI(f,o.get(f)??[],p)}if(!n){r||=uI(),a||=mI(vv(e));let[o,s]=await Promise.allSettled([r,a]);o.status===`fulfilled`?(t=o.value,c=null):(console.error(`[wiki-link-suggestion] Failed to fetch pages:`,o.reason),c=`Failed to load pages. Press Escape and type [[ again to retry, or continue typing to insert an unresolved link.`,t=[]),s.status===`fulfilled`?i=s.value:(console.warn(`[wiki-link-suggestion] link context load rejected:`,s.reason),i=KF),n=!0,r=null,a=null}return oI(t,u,i)},command:({editor:e,range:t,props:n})=>{try{let r=null;if(n.kind===`page`?r={target:n.docName,alias:null,anchor:null}:n.kind===`asset`?r={target:n.target,alias:n.title,anchor:null}:n.kind===`anchor`?r={target:n.docName,alias:null,anchor:n.slug}:n.kind===`create`&&(r=Tv(n.title)),!r)return;e.chain().focus().deleteRange(t).insertContent({type:`wikiLink`,attrs:r}).run()}catch(e){console.error(`[wiki-link-suggestion] command failed`,{item:n,range:t},e)}},render:()=>{let e=null,u=null,d=0,f={popup:null,stopAutoUpdate:null},p=null,m=null,h=e=>{u?.command(e)};function g(e,t,r){let{mode:i,pageTarget:a,anchorQuery:s}=tI(e.query??``),u=t===null?i===`anchor`?!o.has(a):!n:t,f=e.items??[],p=f.length===1&&f[0]?.kind===`create`;return{items:f,query:e.query??``,selectedIndex:d,onSelect:r,loading:u,error:i===`page`?c:l,mode:i,pageTarget:a,anchorQuery:s,hasMore:!p&&f.length>=GF}}let _=t=>{!e||!u||e.updateProps(g(u,t,h))},v=()=>{if(!u)return;let{editor:e,range:t}=u,n=cI(u.query??``);if(n)try{e.chain().focus().deleteRange(t).insertContent({type:`wikiLink`,attrs:n}).run()}catch(e){console.error(`[wiki-link-suggestion] fallback insert error:`,e)}};return{onBeforeStart(t){u=t,d=0;let n=ad(()=>u,`wiki-link-suggestion`);f.popup=n.popup,p=n.doPosition,m=n.reveal,e=new Bu(HF,{props:g(t,!0,h),editor:t.editor}),n.popup.appendChild(e.element),f.stopAutoUpdate=n.startAutoUpdate()},onBeforeUpdate(e){let t=u?tI(u.query??``).mode:null,n=tI(e.query??``).mode;u=e,t!==n&&(d=0,_(!0))},onStart(e){u=e,d=0,_(null),m?.()},onUpdate(e){u=e,d=Math.min(d,Math.max(0,e.items.length-1)),_(null),p?.()},onKeyDown({event:e}){if(!u)return!1;let t=u.items;if(e.key===`ArrowDown`)return t.length===0?!1:(d=(d+1)%t.length,_(null),!0);if(e.key===`ArrowUp`)return t.length===0?!1:(d=(d-1+t.length)%t.length,_(null),!0);if(e.key===`Enter`||e.key===`Tab`){let e=t[d];return e?u.command(e):v(),!0}return e.key,!1},onExit(){od(f),p=null,m=null,e?.destroy(),e=null,u=null,d=0,t=[],i=KF,o=new Map,c=null,l=null,n=!1,r=null,a=null,s=null}}}})}var gI=5e3,_I=null,vI=0,yI=null,bI=new Map,xI=new Map;async function SI(e){if(!e)return mI(null);let t=Date.now(),n=xI.get(e);if(n!==void 0&&t-n.time<gI)return n.context;let r=await mI(e);return xI.set(e,{context:r,time:t}),r}async function CI(){let e=Date.now();return _I&&e-vI<gI?_I:(_I=await uI(),vI=e,yI=kI(_I),_I)}async function wI(e){let t=Date.now(),n=bI.get(e);if(n!==void 0&&t-n.time<gI)return n.headings;try{let n=await dI(e);return bI.set(e,{headings:n,time:t}),n}catch(n){return console.warn(`[wiki-link-source] /api/page-headings fetch failed:`,n),bI.set(e,{headings:[],time:t}),[]}}var TI=/\[\[[^\]]*?\]\]/g,EI=Zi.mark({class:`cm-wiki-link`}),DI=Zi.mark({class:`cm-wiki-link cm-wiki-link-broken`});function OI(e){let t=new Set;for(let n of e)if(t.add(n.docName.toLowerCase()),n.title&&t.add(n.title.toLowerCase()),n.kind===`asset`){let e=n.docName.replace(/^\//,``);t.add(e.toLowerCase());let r=e.lastIndexOf(`/`);t.add((r===-1?e:e.slice(r+1)).toLowerCase())}return t}function kI(e){let t=OI(e);for(let n of e){if(n.kind===`asset`)continue;let e=n.docName.split(`/`);e.pop();let r=``;for(let n of e)r=r?`${r}/${n}`:n,t.add(r.toLowerCase())}return t}function AI(e){return e.split(/[#|]/)[0].trim().toLowerCase()}function jI(e){let t=new ea,n=_I?yI:null;for(let{from:r,to:i}of e.visibleRanges){let a=e.state.doc.sliceString(r,i);TI.lastIndex=0;let o=TI.exec(a);for(;o!==null;){let e=EI;if(n){let t=AI(o[0].slice(2,-2));t&&!n.has(t)&&(e=DI)}t.add(r+o.index,r+o.index+o[0].length,e),o=TI.exec(a)}}return t.finish()}var MI=oa.fromClass(class{decorations;cacheWarmAtBuild;constructor(e){this.cacheWarmAtBuild=_I!==null,this.decorations=jI(e),this.cacheWarmAtBuild||this.warmCache(e)}update(e){let t=_I!==null;(e.docChanged||e.viewportChanged||!this.cacheWarmAtBuild&&t)&&(this.cacheWarmAtBuild=t,this.decorations=jI(e.view))}warmCache(e){CI().then(()=>{try{e.dispatch({})}catch{}}).catch(e=>{console.warn(`[wiki-link-source] warmCache fetch failed:`,e)})}},{decorations:e=>e.decorations}),NI=/\[\[([^[\]|#]+?)(?:#([^\]|]+?))?(?:\|([^\]]+?))?\]\]/g,PI=fa.domEventHandlers({mousedown(e,t){if(!e.ctrlKey&&!e.metaKey)return!1;let n=t.posAtCoords({x:e.clientX,y:e.clientY});if(n===null)return!1;let r=t.state.doc.lineAt(n);NI.lastIndex=0;let i=NI.exec(r.text);for(;i!==null;){let t=r.from+i.index,a=t+i[0].length;if(n>=t&&n<=a){let t=i[1]?.trim(),n=i[2]?.trim()||null;if(t){let r=Tt(t,n);if(!r)return!1;if(e.preventDefault(),r.kind===`external`)uF(r.url);else if(r.kind===`asset`){let t=Av(r.url,new Set((_I??[]).filter(e=>e.kind===`asset`).map(e=>e.docName.replace(/^\//,``))))??r.url.replace(/^\//,``);hF(e)?window.open(Ii(t),`_blank`,`noopener,noreferrer`):window.location.hash=Ii(t)}else hF(e)?fF(r):window.location.hash=zi(r.docName,r.anchor)}return!0}i=NI.exec(r.text)}return!1}});async function FI(e,t){let n=e.state.doc.sliceString(0,e.pos).match(/\[\[([^\]]*)$/);if(!n)return null;let r=n[1],i=e.pos-r.length,a=r.indexOf(`#`);if(a>0){let e=r.slice(0,a),t=r.slice(a+1),n=i+a+1,o=await wI(e);if(!o.length)return null;let s=aI(o,t);return s.length?{from:n,filter:!1,options:s.map(e=>({label:e.text,detail:`H${e.level}`,apply(t,n,r,i){let a=t.state.doc.sliceString(i,i+2)===`]]`?``:`]]`;t.dispatch({changes:{from:r,to:i,insert:e.slug+a},selection:{anchor:r+e.slug.length+a.length}})}}))}:null}let[o,s]=await Promise.all([CI().catch(e=>(console.warn(`[wiki-link-source] Failed to fetch pages:`,e),[])),SI(t)]);return{from:i,filter:!1,options:nI(o,r,s).map(e=>({label:e.title,detail:e.title===e.docName?void 0:e.docName,apply(t,n,r,i){let a=t.state.doc.sliceString(i,i+2)===`]]`?``:`]]`,o=e.kind===`asset`?`${e.docName}|${e.title}${a}`:e.docName+a;t.dispatch({changes:{from:r,to:i,insert:o},selection:{anchor:r+o.length}})}}))}}var II=fa.theme({".cm-wiki-link":{color:`oklch(52.7% 0.154 228.4)`,fontWeight:`500`},".cm-wiki-link:hover":{textDecoration:`underline`,cursor:`pointer`}});function LI(e=null){return[MI,PI,II,Ia.data.of({autocomplete:t=>FI(t,e)})]}var RI=zP({settings:{background:`transparent`,gutterBackground:`transparent`}}),zI=HP({settings:{background:`transparent`,gutterBackground:`transparent`},styles:[{tag:[X.brace,X.processingInstruction,X.inserted],color:`#3d6968`},{tag:X.link,color:`#3d6968`,textDecoration:`underline`,textUnderlinePosition:`under`},{tag:[X.keyword,X.function(X.variableName),X.regexp,X.color,X.constant(X.name),X.standard(X.name)],color:`#345575`},{tag:[X.heading,X.special(X.heading1),X.heading1,X.heading2,X.heading3,X.heading4],color:`#345575`,fontWeight:`bold`},{tag:[X.heading5,X.heading6],color:`#345575`},{tag:X.strong,color:`#345575`,fontWeight:`bold`},{tag:X.emphasis,color:`#345575`,fontStyle:`italic`},{tag:[X.name,X.deleted,X.character,X.propertyName,X.macroName,X.variableName,X.angleBracket,X.string,X.url,X.escape,X.special(X.string),X.atom,X.bool,X.special(X.variableName)],color:`#9a5739`},{tag:[X.number,X.changed,X.annotation,X.modifier,X.self,X.namespace,X.meta],color:`#3d6968`},{tag:[X.definition(X.name),X.separator,X.operator,X.operatorKeyword],color:`#4a6938`},{tag:[X.typeName,X.className,X.attributeName,X.contentSeparator],color:`#8b6500`},{tag:X.tagName,color:`#774d70`},{tag:X.squareBracket,color:`#964148`},{tag:X.labelName,color:`#3a5e85`}]});function BI(e){let{themeCompartment:t,resolvedTheme:n,ydoc:r}=e,i=n===`dark`?RI:zI,a=e.wordWrap??!0?fa.lineWrapping:[];return[Fa({base:Ia,extensions:[Pa],codeLanguages:UP}),LI(e.currentDocName??null),jF(),...r?[JP(r)]:[],Ta.of([]),t.of(i),e.wordWrapCompartment?e.wordWrapCompartment.of(a):a,...e.extraKeymaps?[e.extraKeymaps]:[]]}function VI(e,t,n){let{state:r}=e,i=r.selection.main;if(!i.empty)return!1;if(t===`line`){let e=r.doc.lineAt(i.head);return n<0?e.from===0:e.to===r.doc.length}return n<0?i.head===0:i.head===r.doc.length}function HI(e){let{pmSel:t,nodePos:n,nodeSize:r,cmDocLen:i,cmSel:a,cmHasFocus:o}=e;if(t instanceof Lt&&t.from===n)return o?{kind:`noop`}:{kind:`focus`};let s=n+1,c=n+r-1;if(t.from>=s&&t.to<=c){let e=Math.max(0,Math.min(t.anchor-s,i)),n=Math.max(0,Math.min(t.head-s,i));return a.anchor===e&&a.head===n&&o?{kind:`noop`}:{kind:`selection`,anchor:e,head:n}}return{kind:`noop`}}function UI(e,t){let n=cx().parseWithFallback(e),r;try{r=t.nodeFromJSON(n)}catch(e){return console.warn(JSON.stringify({event:`raw-mdx-upgrade-failure`,reason:e instanceof Error?e.message:String(e)})),null}if(r.childCount===0)return null;let i=[];for(let e=0;e<r.childCount;e++){let t=r.child(e);if(t.type.name===`rawMdxFallback`)return null;i.push(t)}return i}function WI(e,t){if(e===t)return null;let n=0,r=e.length,i=t.length;for(;n<r&&e.charCodeAt(n)===t.charCodeAt(n);)n++;for(;r>n&&i>n&&e.charCodeAt(r-1)===t.charCodeAt(i-1);)r--,i--;return{from:n,to:r,text:t.slice(n,i)}}var GI=`Unregistered component:`;function KI(e){if(!e.startsWith(GI))return null;let t=e.slice(23).trim();return t.length>0?t:null}function qI(e){let t=(0,$.c)(58),{node:n,editor:r,getPos:i}=e,{_:a}=s(),o=(0,Q.useRef)(null),l=(0,Q.useRef)(null),u=(0,Q.useRef)(!1),d;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(d=new la,t[0]=d):d=t[0];let f=(0,Q.useRef)(d),p;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(p=new la,t[1]=p):p=t[1];let m=(0,Q.useRef)(p),{resolvedTheme:h}=c(),{merged:g}=yr(),_=g?.editor?.wordWrap??!0,v;t[2]!==a||t[3]!==n.attrs.reason?(v=n.attrs.reason||a({id:`xc4g25`}),t[2]=a,t[3]=n.attrs.reason,t[4]=v):v=t[4];let y=v,b;t[5]===y?b=t[6]:(b=NP(y),t[5]=y,t[6]=b);let x=b,S=PP[x],C=x===`info`?KI(y):null,w;t[7]!==r||t[8]!==i?(w=e=>{let t=typeof i==`function`?i():void 0;if(t===void 0)return;let n=jP(r);if(!n)return;let a=n.state.doc.nodeAt(t);if(!a||a.type.name!==`rawMdxFallback`)return;let o=t+1,s=t+a.nodeSize-1;u.current=!0;try{let t=n.state.tr;if(e.length===0)t.delete(o,s);else{let r=n.state.schema.text(e);t.replaceWith(o,s,r)}n.dispatch(t)}catch(e){let t=e;throw u.current=!1,t}u.current=!1},t[7]=r,t[8]=i,t[9]=w):w=t[9];let T=w,E;t[10]!==r||t[11]!==T||t[12]!==i||t[13]!==n.textContent||t[14]!==h||t[15]!==_?(E=()=>{let e=o.current;if(!e)return;let t=f.current,a=Ta.of([{key:`Mod-z`,run:()=>(r.commands.undo(),!0)},{key:`Mod-y`,run:()=>(r.commands.redo(),!0)},{key:`Mod-Shift-z`,run:()=>(r.commands.redo(),!0)}]),s=e=>{let t=typeof i==`function`?i():void 0;if(typeof t!=`number`)return!1;let n=jP(r);if(!n)return!1;let a=n.state.doc.nodeAt(t);if(!a||a.type.name!==`rawMdxFallback`)return!1;let o=e<0?t:t+a.nodeSize,s=Vt.near(n.state.doc.resolve(o),e);return n.dispatch(n.state.tr.setSelection(s).scrollIntoView()),n.focus(),!0},c=Ta.of([{key:`ArrowUp`,run:e=>VI(e,`line`,-1)?s(-1):!1},{key:`ArrowLeft`,run:e=>VI(e,`char`,-1)?s(-1):!1},{key:`ArrowDown`,run:e=>VI(e,`line`,1)?s(1):!1},{key:`ArrowRight`,run:e=>VI(e,`char`,1)?s(1):!1}]),d=BI({themeCompartment:t,resolvedTheme:h,ydoc:MP(r)??void 0,wordWrapCompartment:m.current,wordWrap:_,extraKeymaps:a});d.push(c),d.push(fa.updateListener.of(e=>{if(e.docChanged&&!u.current&&T(e.state.doc.toString()),e.focusChanged&&e.view.hasFocus&&!u.current){let e=typeof i==`function`?i():void 0;if(typeof e!=`number`)return;let t=jP(r);if(!t)return;let n=t.state.selection;if(n instanceof Lt&&n.from===e)return;let a=t.state.doc.nodeAt(e);if(!a||a.type.name!==`rawMdxFallback`)return;u.current=!0;try{t.dispatch(t.state.tr.setSelection(Lt.create(t.state.doc,e)))}catch(e){let t=e;throw u.current=!1,t}u.current=!1}if(e.focusChanged&&!e.view.hasFocus&&!u.current){let t=typeof i==`function`?i():void 0;if(typeof t!=`number`)return;let n=jP(r);if(!n)return;let a=n.state.doc.nodeAt(t);if(!a||a.type.name!==`rawMdxFallback`)return;let o=UI(e.view.state.doc.toString(),n.state.schema);if(!o)return;u.current=!0;try{n.dispatch(n.state.tr.replaceWith(t,t+a.nodeSize,o))}catch(e){let t=e;throw u.current=!1,t}u.current=!1}}));let p=new fa({doc:n.textContent,extensions:d,parent:e});l.current=p;let g=YI,v=p.contentDOM;v.addEventListener(`keydown`,g),v.addEventListener(`paste`,g),v.addEventListener(`drop`,g),v.addEventListener(`cut`,g);let y=()=>{v.removeEventListener(`keydown`,g),v.removeEventListener(`paste`,g),v.removeEventListener(`drop`,g),v.removeEventListener(`cut`,g)};return()=>{y(),p.destroy(),l.current=null}},t[10]=r,t[11]=T,t[12]=i,t[13]=n.textContent,t[14]=h,t[15]=_,t[16]=E):E=t[16];let D;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(D=[],t[17]=D):D=t[17],(0,Q.useEffect)(E,D);let O,k;t[18]===h?(O=t[19],k=t[20]):(O=()=>{let e=l.current;if(!e)return;let t=h===`dark`?RI:zI;e.dispatch({effects:f.current.reconfigure(t)})},k=[h],t[18]=h,t[19]=O,t[20]=k),(0,Q.useEffect)(O,k);let A,j;t[21]===_?(A=t[22],j=t[23]):(A=()=>{let e=l.current;e&&e.dispatch({effects:m.current.reconfigure(_?fa.lineWrapping:[])})},j=[_],t[21]=_,t[22]=A,t[23]=j),(0,Q.useEffect)(A,j);let M,N;t[24]!==r||t[25]!==i?(M=()=>{let e=()=>{let e=typeof i==`function`?i():void 0;if(typeof e!=`number`)return;let t=l.current;if(!t||u.current)return;let n=jP(r);if(!n)return;let a=n.state.doc.nodeAt(e);if(!a)return;let o=HI({pmSel:n.state.selection,nodePos:e,nodeSize:a.nodeSize,cmDocLen:t.state.doc.length,cmSel:{anchor:t.state.selection.main.anchor,head:t.state.selection.main.head},cmHasFocus:t.hasFocus});if(o.kind!==`noop`){u.current=!0;try{o.kind===`selection`&&t.dispatch({selection:{anchor:o.anchor,head:o.head}}),t.hasFocus||t.focus()}catch(e){let t=e;throw u.current=!1,t}u.current=!1}};return r.on(`selectionUpdate`,e),()=>{r.off(`selectionUpdate`,e)}},N=[r,i],t[24]=r,t[25]=i,t[26]=M,t[27]=N):(M=t[26],N=t[27]),(0,Q.useEffect)(M,N);let P=n.textContent,F,I;t[28]===P?(F=t[29],I=t[30]):(F=()=>{let e=l.current;if(!e||u.current)return;let t=WI(e.state.doc.toString(),P);if(t){u.current=!0;try{e.dispatch({changes:{from:t.from,to:t.to,insert:t.text}})}catch(e){let t=e;throw u.current=!1,t}u.current=!1}},I=[P],t[28]=P,t[29]=F,t[30]=I),(0,Q.useEffect)(F,I);let L;t[31]!==r||t[32]!==i?(L=()=>{let e=typeof i==`function`?i():void 0;typeof e==`number`&&r.chain().focus().setNodeSelection(e).deleteSelection().run()},t[31]=r,t[32]=i,t[33]=L):L=t[33];let ee=L,R=C?`raw-mdx-fallback-wrapper jsx-component-wrapper jsx-component-wrapper--unregistered relative my-2 py-2 rounded border border-dashed ${S.wrapperClass}`:`raw-mdx-fallback-wrapper relative my-2 py-2 rounded border border-dashed ${S.wrapperClass}`,z=C?{"data-jsx-component":``,role:`group`,"aria-label":a({id:`sJWhgo`,values:{unregisteredComponentName:C}})}:{},B=`rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wider ${S.badgeClass}`,V;t[34]!==y||t[35]!==S.label||t[36]!==B?(V=(0,Z.jsx)(`span`,{className:B,title:y,children:S.label}),t[34]=y,t[35]=S.label,t[36]=B,t[37]=V):V=t[37];let H;t[38]===a?H=t[39]:(H=a({id:`hHMv6l`}),t[38]=a,t[39]=H);let U;t[40]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,Z.jsx)(_n,{size:12}),t[40]=U):U=t[40];let W;t[41]!==ee||t[42]!==H?(W=(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn jsx-chrome-btn--delete`,"aria-label":H,onClick:ee,children:U}),t[41]=ee,t[42]=H,t[43]=W):W=t[43];let te;t[44]!==V||t[45]!==W?(te=(0,Z.jsxs)(`div`,{className:`absolute top-1 right-1 z-10 flex items-center gap-1.5`,contentEditable:!1,onMouseDown:JI,children:[V,W]}),t[44]=V,t[45]=W,t[46]=te):te=t[46];let G;t[47]!==a||t[48]!==y?(G=a({id:`aalx4E`,values:{reason:y}}),t[47]=a,t[48]=y,t[49]=G):G=t[49];let ne;t[50]===G?ne=t[51]:(ne=(0,Z.jsx)(`div`,{ref:o,className:`raw-mdx-fallback-cm`,role:`group`,"aria-label":G}),t[50]=G,t[51]=ne);let K;return t[52]!==x||t[53]!==te||t[54]!==ne||t[55]!==z||t[56]!==R?(K=(0,Z.jsxs)(Pu,{className:R,contentEditable:!1,"data-drag-handle":``,draggable:`true`,"data-severity":x,...z,children:[te,ne]}),t[52]=x,t[53]=te,t[54]=ne,t[55]=z,t[56]=R,t[57]=K):K=t[57],K}function JI(e){return e.stopPropagation()}function YI(){}function XI(e){switch(e){case`html`:return ja();case`json`:return Na();case`yaml`:return La();case`javascript`:return Ma({jsx:!0,typescript:!0});case`markdown`:return Fa();case`latex`:return ha.define(Ra);case`mermaid`:return bP()}}var ZI=wa.define([{tag:X.keyword,color:`var(--syntax-keyword)`,fontWeight:`600`},{tag:X.controlKeyword,color:`var(--syntax-keyword)`,fontWeight:`600`},{tag:X.modifier,color:`var(--syntax-keyword)`},{tag:X.tagName,color:`var(--syntax-tag)`},{tag:X.typeName,color:`var(--syntax-tag)`},{tag:X.className,color:`var(--syntax-tag)`},{tag:X.attributeName,color:`var(--syntax-attr)`},{tag:X.propertyName,color:`var(--syntax-attr)`},{tag:X.variableName,color:`var(--syntax-attr)`},{tag:X.string,color:`var(--syntax-string)`},{tag:X.number,color:`var(--syntax-number)`},{tag:X.bool,color:`var(--syntax-number)`},{tag:X.null,color:`var(--syntax-number)`},{tag:X.atom,color:`var(--syntax-atom)`},{tag:X.literal,color:`var(--syntax-number)`},{tag:X.operator,color:`var(--syntax-keyword)`},{tag:X.punctuation,color:`var(--foreground)`},{tag:X.bracket,color:`var(--foreground)`},{tag:X.brace,color:`var(--foreground)`},{tag:X.meta,color:`var(--muted-foreground)`},{tag:X.comment,color:`var(--muted-foreground)`,fontStyle:`italic`}]);function QI(e){let t=(0,$.c)(18),{value:n,language:r,onChange:i,id:a,ariaLabelledBy:o,autoFocus:s}=e,c=(0,Q.useRef)(null),l=(0,Q.useRef)(null),u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(u=new la,t[0]=u):u=t[0];let d=(0,Q.useRef)(u),f=(0,Q.useRef)(i),p,m;t[1]===i?(p=t[2],m=t[3]):(p=()=>{f.current=i},m=[i],t[1]=i,t[2]=p,t[3]=m),(0,Q.useEffect)(p,m);let h=(0,Q.useRef)(n),g=(0,Q.useRef)(r),_=(0,Q.useRef)(s),v=(0,Q.useRef)(o),y,b;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(y=()=>{let e=c.current;if(!e)return;let t=[ga(),pk(),Gi(),ya(),ta(_a,{fallback:!0}),ta(ZI),Ta.of([xj,...bj,...Mk]),fa.lineWrapping,fa.updateListener.of(e=>{if(!e.docChanged)return;let t=e.state.doc.toString();f.current(t)}),Wi.tabSize.of(2),d.current.of(XI(g.current))],n=new fa({state:Wi.create({doc:h.current,extensions:t}),parent:e});return l.current=n,v.current&&n.contentDOM.setAttribute(`aria-labelledby`,v.current),n.contentDOM.setAttribute(`aria-multiline`,`true`),_.current&&n.focus(),()=>{n.destroy(),l.current=null}},b=[],t[4]=y,t[5]=b):(y=t[4],b=t[5]),(0,Q.useEffect)(y,b);let x,S;t[6]===o?(x=t[7],S=t[8]):(x=()=>{let e=l.current;e&&(o?e.contentDOM.setAttribute(`aria-labelledby`,o):e.contentDOM.removeAttribute(`aria-labelledby`))},S=[o],t[6]=o,t[7]=x,t[8]=S),(0,Q.useEffect)(x,S);let C,w;t[9]===r?(C=t[10],w=t[11]):(C=()=>{let e=l.current;e&&e.dispatch({effects:d.current.reconfigure(XI(r))})},w=[r],t[9]=r,t[10]=C,t[11]=w),(0,Q.useEffect)(C,w);let T,E;t[12]===n?(T=t[13],E=t[14]):(T=()=>{let e=l.current;if(!e)return;let t=WI(e.state.doc.toString(),n);t&&e.dispatch({changes:{from:t.from,to:t.to,insert:t.text}})},E=[n],t[12]=n,t[13]=T,t[14]=E),(0,Q.useEffect)(T,E);let D;return t[15]!==a||t[16]!==r?(D=(0,Z.jsx)(`div`,{ref:c,id:a,className:`ok-prop-codemirror`,"data-prop-codemirror":``,"data-prop-language":r}),t[15]=a,t[16]=r,t[17]=D):D=t[17],D}function $I(e){switch(e){case`html`:return ja({matchClosingTags:!0,autoCloseTags:!0});case`css`:return Aa();case`javascript`:return Ma({jsx:!0,typescript:!0});case`json`:return Na();case`yaml`:return La();case`markdown`:return Fa();case`mermaid`:return bP();case`latex`:return ha.define(Ra);case`plain`:return null}}function eL(e){let t=(0,$.c)(66),{open:n,onOpenChange:r,initialValue:i,language:a,title:c,description:l,renderPreview:u,previewDebounceMs:d,onSave:f}=e,p=a===void 0?`plain`:a,m=d===void 0?300:d,{_:h}=s(),g=(0,Q.useRef)(f),_=(0,Q.useRef)(r),v,y;t[0]===f?(v=t[1],y=t[2]):(v=()=>{g.current=f},y=[f],t[0]=f,t[1]=v,t[2]=y),(0,Q.useEffect)(v,y);let b,x;t[3]===r?(b=t[4],x=t[5]):(b=()=>{_.current=r},x=[r],t[3]=r,t[4]=b,t[5]=x),(0,Q.useEffect)(b,x);let[S,C]=(0,Q.useState)(i),[w,T]=(0,Q.useState)(i),E,D;t[6]!==i||t[7]!==n?(E=()=>{n&&(C(i),T(i))},D=[n,i],t[6]=i,t[7]=n,t[8]=E,t[9]=D):(E=t[8],D=t[9]),(0,Q.useEffect)(E,D);let O,k;t[10]!==w||t[11]!==S||t[12]!==m||t[13]!==u?(k=()=>{if(!u||S===w)return;let e=window.setTimeout(()=>T(S),m);return()=>window.clearTimeout(e)},O=[S,w,u,m],t[10]=w,t[11]=S,t[12]=m,t[13]=u,t[14]=O,t[15]=k):(O=t[14],k=t[15]),(0,Q.useEffect)(k,O);let A=(0,Q.useRef)(null),j=(0,Q.useRef)(p),M=(0,Q.useRef)(i),N,P;t[16]===p?(N=t[17],P=t[18]):(N=()=>{j.current=p},P=[p],t[16]=p,t[17]=N,t[18]=P),(0,Q.useEffect)(N,P);let F,I;t[19]===i?(F=t[20],I=t[21]):(F=()=>{M.current=i},I=[i],t[19]=i,t[20]=F,t[21]=I),(0,Q.useEffect)(F,I);let L;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(L=e=>{if(!e){A.current&&=(A.current.destroy(),null);return}if(A.current)return;let t=$I(j.current),n=new fa({state:Wi.create({doc:M.current,extensions:[ga(),pk(),Gi(),ya(),ta(_a,{fallback:!0}),ta(ZI),Ta.of([xj,...bj,...Mk,{key:`Mod-Enter`,preventDefault:!0,run:e=>(g.current(e.state.doc.toString()),_.current(!1),!0)}]),fa.lineWrapping,Wi.tabSize.of(2),...t?[t]:[],fa.updateListener.of(e=>{e.docChanged&&C(e.state.doc.toString())})]}),parent:e});A.current=n,requestAnimationFrame(()=>n.focus())},t[22]=L):L=t[22];let ee=L,R=u!==void 0,z;t[23]!==S||t[24]!==r||t[25]!==f?(z=()=>{f(S),r(!1)},t[23]=S,t[24]=r,t[25]=f,t[26]=z):z=t[26];let B=z,V;t[27]===c?V=t[28]:(V=(0,Z.jsx)(qr,{children:c}),t[27]=c,t[28]=V);let H;t[29]===l?H=t[30]:(H=l?(0,Z.jsx)(Kr,{children:l}):(0,Z.jsx)(Kr,{children:(0,Z.jsx)(o,{id:`vWc9a0`,components:{0:(0,Z.jsx)(OP,{}),1:(0,Z.jsx)(OP,{})}})}),t[29]=l,t[30]=H);let U;t[31]!==V||t[32]!==H?(U=(0,Z.jsxs)(ai,{className:`gap-1`,children:[V,H]}),t[31]=V,t[32]=H,t[33]=U):U=t[33];let W=`flex min-h-0 flex-1 gap-3 ${R?`flex-col md:flex-row`:`flex-col`}`,te;t[34]===p?te=t[35]:(te=(0,Z.jsx)(`div`,{ref:ee,className:`ok-codepreview-cm min-h-[260px] flex-1 overflow-hidden rounded-md border border-border md:min-h-0`,"data-testid":`ok-code-preview-edit-modal-source`,"data-language":p}),t[34]=p,t[35]=te);let G;t[36]!==w||t[37]!==R||t[38]!==u?(G=R?(0,Z.jsx)(`div`,{className:`min-h-[260px] flex-1 overflow-auto rounded-md border border-border bg-muted/30 md:min-h-0`,"data-testid":`ok-code-preview-edit-modal-preview`,children:u(w)}):null,t[36]=w,t[37]=R,t[38]=u,t[39]=G):G=t[39];let ne;t[40]!==W||t[41]!==te||t[42]!==G?(ne=(0,Z.jsxs)(`div`,{className:W,"data-testid":`ok-code-preview-edit-modal-body`,children:[te,G]}),t[40]=W,t[41]=te,t[42]=G,t[43]=ne):ne=t[43];let K;t[44]===r?K=t[45]:(K=()=>r(!1),t[44]=r,t[45]=K);let re;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,Z.jsx)(o,{id:`dEgA5A`}),t[46]=re):re=t[46];let ie;t[47]===K?ie=t[48]:(ie=(0,Z.jsx)(nn,{variant:`ghost`,onClick:K,children:re}),t[47]=K,t[48]=ie);let ae;t[49]===h?ae=t[50]:(ae=h({id:`y3aU20`}),t[49]=h,t[50]=ae);let oe;t[51]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,Z.jsx)(o,{id:`tfDRzk`}),t[51]=oe):oe=t[51];let q;t[52]!==B||t[53]!==ae?(q=(0,Z.jsx)(nn,{onClick:B,"aria-label":ae,children:oe}),t[52]=B,t[53]=ae,t[54]=q):q=t[54];let se;t[55]!==ie||t[56]!==q?(se=(0,Z.jsxs)(ni,{className:`gap-2`,children:[ie,q]}),t[55]=ie,t[56]=q,t[57]=se):se=t[57];let ce;t[58]!==U||t[59]!==ne||t[60]!==se?(ce=(0,Z.jsxs)(Qr,{className:`flex h-[85vh] max-h-[900px] flex-col gap-3 p-4 sm:max-w-[1400px]`,children:[U,ne,se]}),t[58]=U,t[59]=ne,t[60]=se,t[61]=ce):ce=t[61];let le;return t[62]!==r||t[63]!==n||t[64]!==ce?(le=(0,Z.jsx)(oi,{open:n,onOpenChange:r,children:ce}),t[62]=r,t[63]=n,t[64]=ce,t[65]=le):le=t[65],le}var tL=4;function nL(e){let t=(0,$.c)(44),{blocked:n,truncated:r,onDismiss:i}=e,{_:a}=s(),c,l,u,d,f,p,m,h,g,_;if(t[0]!==a||t[1]!==n||t[2]!==r){let e=n.slice(0,tL);_=!r&&n.length>e.length,p=`status`,m=`ok-codeblock-preview-blocked mt-1.5 flex items-start gap-2 rounded-md border border-border bg-muted/40 px-3 py-2 text-xs text-muted-foreground`,h=!1,t[13]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Z.jsx)(Ro,{className:`mt-0.5 size-3.5 shrink-0 text-amber-500`,"aria-hidden":`true`}),t[13]=g):g=t[13],u=`min-w-0 flex-1`,t[14]!==n.length||t[15]!==r?(d=(0,Z.jsx)(`p`,{className:`font-medium text-foreground`,children:r?(0,Z.jsx)(o,{id:`djc1l9`,values:{0:n.length}}):(0,Z.jsx)(o,{id:`R0cyYB`,values:{0:n.length}})}),t[14]=n.length,t[15]=r,t[16]=d):d=t[16],t[17]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Z.jsx)(`p`,{className:`mt-0.5`,children:(0,Z.jsx)(o,{id:`yEJ-sl`})}),t[17]=f):f=t[17],c=`mt-1 space-y-0.5`;let i;t[18]===a?i=t[19]:(i=e=>(0,Z.jsxs)(`li`,{className:`flex flex-wrap items-baseline gap-x-1.5`,children:[(0,Z.jsx)(`span`,{className:`break-all font-mono`,children:e.uri||a({id:`_W-elG`})}),(0,Z.jsx)(`span`,{className:`text-muted-foreground/70`,children:e.directive})]},`${e.directive} ${e.uri}`),t[18]=a,t[19]=i),l=e.map(i),t[0]=a,t[1]=n,t[2]=r,t[3]=c,t[4]=l,t[5]=u,t[6]=d,t[7]=f,t[8]=p,t[9]=m,t[10]=h,t[11]=g,t[12]=_}else c=t[3],l=t[4],u=t[5],d=t[6],f=t[7],p=t[8],m=t[9],h=t[10],g=t[11],_=t[12];let v;t[20]!==c||t[21]!==l?(v=(0,Z.jsx)(`ul`,{className:c,children:l}),t[20]=c,t[21]=l,t[22]=v):v=t[22];let y;t[23]===_?y=t[24]:(y=_?(0,Z.jsx)(`p`,{className:`mt-0.5 text-muted-foreground/70`,children:(0,Z.jsx)(o,{id:`oKBnk5`})}):null,t[23]=_,t[24]=y);let b;t[25]!==v||t[26]!==y||t[27]!==u||t[28]!==d||t[29]!==f?(b=(0,Z.jsxs)(`div`,{className:u,children:[d,f,v,y]}),t[25]=v,t[26]=y,t[27]=u,t[28]=d,t[29]=f,t[30]=b):b=t[30];let x;t[31]===a?x=t[32]:(x=a({id:`GUYwCr`}),t[31]=a,t[32]=x);let S;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,Z.jsx)(Er,{className:`size-3.5`,"aria-hidden":`true`}),t[33]=S):S=t[33];let C;t[34]!==i||t[35]!==x?(C=(0,Z.jsx)(`button`,{type:`button`,className:`-mr-1 -mt-0.5 shrink-0 rounded p-1.5 text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring`,"aria-label":x,onClick:i,children:S}),t[34]=i,t[35]=x,t[36]=C):C=t[36];let w;return t[37]!==b||t[38]!==C||t[39]!==p||t[40]!==m||t[41]!==h||t[42]!==g?(w=(0,Z.jsxs)(`div`,{role:p,className:m,contentEditable:h,children:[g,b,C]}),t[37]=b,t[38]=C,t[39]=p,t[40]=m,t[41]=h,t[42]=g,t[43]=w):w=t[43],w}var rL=[{value:`plaintext`,label:`Plain text`,aliases:[`text`,`txt`,`none`]},{value:`bash`,label:`Bash`,aliases:[`sh`,`zsh`]},{value:`c`,label:`C`},{value:`cpp`,label:`C++`,aliases:[`c++`]},{value:`csharp`,label:`C#`,aliases:[`cs`]},{value:`css`,label:`CSS`},{value:`diff`,label:`Diff`,aliases:[`patch`]},{value:`go`,label:`Go`,aliases:[`golang`]},{value:`graphql`,label:`GraphQL`,aliases:[`gql`]},{value:`ini`,label:`INI`,aliases:[`toml`]},{value:`java`,label:`Java`},{value:`javascript`,label:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`]},{value:`json`,label:`JSON`,aliases:[`jsonc`]},{value:`kotlin`,label:`Kotlin`,aliases:[`kt`]},{value:`less`,label:`Less`},{value:`lua`,label:`Lua`},{value:`makefile`,label:`Makefile`,aliases:[`make`]},{value:`markdown`,label:`Markdown`,aliases:[`md`,`mdx`]},{value:`objectivec`,label:`Objective-C`,aliases:[`objc`,`obj-c`]},{value:`perl`,label:`Perl`,aliases:[`pl`]},{value:`php`,label:`PHP`},{value:`python`,label:`Python`,aliases:[`py`]},{value:`r`,label:`R`},{value:`ruby`,label:`Ruby`,aliases:[`rb`]},{value:`rust`,label:`Rust`,aliases:[`rs`]},{value:`scss`,label:`SCSS`,aliases:[`sass`]},{value:`shell`,label:`Shell session`,aliases:[`console`,`shellsession`]},{value:`sql`,label:`SQL`},{value:`swift`,label:`Swift`},{value:`typescript`,label:`TypeScript`,aliases:[`ts`,`tsx`]},{value:`xml`,label:`XML / HTML`,aliases:[`html`,`htm`,`svg`]},{value:`yaml`,label:`YAML`,aliases:[`yml`]}],iL=(()=>{let e=new Map;for(let t of rL){e.set(t.value,t.value);for(let n of t.aliases??[])e.set(n,t.value)}return e})();function aL(e){return e?iL.get(e.toLowerCase())??e.toLowerCase():null}var oL=/(?:"[^"]*"|'[^']*'|[^\s"'])+/g;function sL(e){return e?e.match(oL)??[]:[]}function cL(e){let t=e.filter(e=>e.length>0);return t.length===0?null:t.join(` `)}function lL(e,t){return sL(e).includes(t)}function uL(e,t){let n=sL(e);return n.includes(t)||n.push(t),cL(n)}function dL(e,t){return cL(sL(e).filter(e=>e!==t))}var fL=new Set([`html`,`htm`,`xml`]);function pL(e,t){return!e||!fL.has(e.toLowerCase())?!1:lL(t,`preview`)}var mL=/^([a-zA-Z][a-zA-Z0-9_-]*)=(.+)$/,hL=/^(\d+(?:\.\d+)?)(px|rem|em|vh|vw|%)?$/i;function gL(e,t){for(let n of sL(e)){let e=n.match(mL);if(e&&e[1]===t)return e[2]??null}return null}function _L(e,t,n){let r=sL(e),i=!1,a=[];for(let e of r){let r=e.match(mL);if(r&&r[1]===t){if(i)continue;i=!0,n!==null&&a.push(`${t}=${n}`);continue}a.push(e)}return!i&&n!==null&&a.push(`${t}=${n}`),cL(a)}function vL(e){return wL(e,`h`)}function yL(e){return wL(e,`w`)}var bL=/\btitle=(?:"([^"]*)"|'([^']*)'|(\S+))/,xL=/\btitle=(?:"[^"]*"|'[^']*'|\S*)/g;function SL(e){if(!e)return null;let t=e.match(bL);return t?t[1]??t[2]??t[3]??null:null}function CL(e,t){let n=e?e.replace(xL,``).trim():``,r=n.length>0?n.replace(/\s+/g,` `):``;if(t===null)return r.length>0?r:null;let i=`title="${t.replace(/["\r\n]/g,``)}"`;return r.length>0?`${i} ${r}`:i}function wL(e,t){let n=gL(e,t);if(!n)return null;let r=n.match(hL);if(!r)return null;let i=r[1];return!i||Number.parseFloat(i)<=0?null:`${i}${r[2]?.toLowerCase()??`px`}`}var TL=`okPreviewTheme`;function EL(e){return{[TL]:e}}var DL=`okPreviewHeight`;function OL(e){if(typeof e!=`object`||!e)return null;let t=e[DL];return typeof t==`number`&&Number.isFinite(t)&&t>0?Math.ceil(t):null}var kL=`okPreviewCspViolation`;function AL(e){if(typeof e!=`object`||!e)return null;let t=e[kL];if(typeof t!=`object`||!t)return null;let n=t.blocked;if(!Array.isArray(n))return null;let r=[];for(let e of n){if(typeof e!=`object`||!e)continue;let t=e.directive,n=e.uri;typeof t==`string`&&typeof n==`string`&&r.push({directive:t,uri:n})}return r.length===0?null:{blocked:r,truncated:t.truncated===!0}}var jL=`<style>
|
|
20
|
-
html, body { scrollbar-width: thin; scrollbar-color: rgba(115,115,115,0.4) transparent; }
|
|
21
|
-
html::-webkit-scrollbar, body::-webkit-scrollbar,
|
|
22
|
-
*::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
23
|
-
html::-webkit-scrollbar-track, body::-webkit-scrollbar-track,
|
|
24
|
-
*::-webkit-scrollbar-track { background: transparent; }
|
|
25
|
-
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb,
|
|
26
|
-
*::-webkit-scrollbar-thumb { background: rgba(115,115,115,0.4); border-radius: 4px; }
|
|
27
|
-
html::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover,
|
|
28
|
-
*::-webkit-scrollbar-thumb:hover { background: rgba(115,115,115,0.6); }
|
|
29
|
-
</style>`;function ML(e){return u.map(t=>`${t.name}:${t[e]}`).join(`;`)}function NL(){return`<style>
|
|
30
|
-
:root{${ML(`light`)};color-scheme:light}
|
|
31
|
-
:root.dark{${ML(`dark`)};color-scheme:dark}
|
|
32
|
-
body{background:var(--background);color:var(--foreground)}
|
|
33
|
-
</style>`}function PL(e){return`<script>(function(){var d=document.documentElement;${e===`dark`?`d.classList.add('dark');`:``}addEventListener('message',function(e){if(e.source!==parent)return;var t=e&&e.data&&e.data.${TL};if(t==='dark'){d.classList.add('dark');}else if(t==='light'){d.classList.remove('dark');}});var raf;function report(){var b=document.body;if(!b)return;var r=b.getBoundingClientRect();var mb=parseFloat(getComputedStyle(b).marginBottom)||0;parent.postMessage({${DL}:Math.ceil(r.bottom+mb)},'*');}function schedule(){if(raf){cancelAnimationFrame(raf);}raf=requestAnimationFrame(report);}function init(){schedule();addEventListener('load',schedule);if(window.ResizeObserver){try{new ResizeObserver(schedule).observe(document.body);}catch(_e){}}}if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',init);}else{init();}var cspSeen=new Set();var cspList=[];var cspTrunc=false;var cspTimer;function cspFlush(){parent.postMessage({${kL}:{blocked:cspList.slice(),truncated:cspTrunc}},'*');}addEventListener('securitypolicyviolation',function(e){if(cspTrunc)return;var dir=(e&&(e.effectiveDirective||e.violatedDirective))||'';var uri=(e&&e.blockedURI)||'';var k=dir+' '+uri;if(cspSeen.has(k))return;cspSeen.add(k);if(cspList.length<20){cspList.push({directive:dir,uri:uri});}else{cspTrunc=true;}if(cspTimer){clearTimeout(cspTimer);}cspTimer=setTimeout(cspFlush,250);});})();<\/script>`}var FL=`default-src 'none'; script-src 'unsafe-inline' https:; style-src 'unsafe-inline' https: data:; img-src https: data: blob:; font-src https: data:; connect-src https: wss: data: blob:; media-src https: data: blob:; frame-src https:; child-src https:; form-action 'none'; base-uri 'none';`;function IL(e){return`<meta http-equiv="Content-Security-Policy" content="${FL}">
|
|
34
|
-
${NL()}
|
|
35
|
-
${jL}
|
|
36
|
-
${PL(e)}`}var LL=`plaintext`;function RL(){return typeof document<`u`&&document.documentElement.classList.contains(`dark`)?`dark`:`light`}function zL(e,t){let n=(0,$.c)(4),[r,i]=(0,Q.useState)(!1),a,o;return n[0]!==e||n[1]!==t?(a=()=>{let n=()=>{let n=typeof t==`function`?t():void 0;if(typeof n!=`number`)return;let r=e.state.doc.nodeAt(n);if(!r)return;let{from:a,to:o}=e.state.selection,s=n,c=a<n+r.nodeSize&&o>s;i(e=>e===c?e:c)};return n(),e.on(`selectionUpdate`,n),()=>{e.isDestroyed||e.off(`selectionUpdate`,n)}},o=[e,t],n[0]=e,n[1]=t,n[2]=a,n[3]=o):(a=n[2],o=n[3]),(0,Q.useEffect)(a,o),r}function BL(e){let t=(0,$.c)(174),{node:n,updateAttributes:r,editor:i,getPos:a,selected:l}=e,{_:u}=s(),[d,f]=(0,Q.useState)(!1),[p,m]=(0,Q.useState)(!1),h=(0,Q.useRef)(null),g=(0,Q.useRef)(null),_=(0,Q.useRef)(null),[v,y]=(0,Q.useState)(null),[b,x]=(0,Q.useState)(null),{resolvedTheme:S}=c(),C;t[0]===S?C=t[1]:(C=S===`dark`||S===`light`?S:RL(),t[0]=S,t[1]=C);let w=C,[T]=(0,Q.useState)(RL),E=n.attrs.language??null,D=n.attrs.meta??null,O;t[2]===D?O=t[3]:(O=SL(D),t[2]=D,t[3]=O);let k=O,[A,j]=(0,Q.useState)(!1),[M,N]=(0,Q.useState)(!1),P=(0,Q.useId)(),F=`${P}-title-input`,I=`${P}-title-help`,L=(0,Q.useRef)(D),ee,R;t[4]===D?(ee=t[5],R=t[6]):(ee=()=>{L.current=D},R=[D],t[4]=D,t[5]=ee,t[6]=R),(0,Q.useEffect)(ee,R);let z,B,V,H,U;if(t[7]!==u||t[8]!==E||t[9]!==D){B=aL(E),z=E?rL.find(e=>e.value===B)?.label??E:u({id:`LpB85N`});let e;t[15]===D?e=t[16]:(e=lL(D,`preview`),t[15]=D,t[16]=e),H=e,V=B?fL.has(B):!1,U=pL(B,D),t[7]=u,t[8]=E,t[9]=D,t[10]=z,t[11]=B,t[12]=V,t[13]=H,t[14]=U}else z=t[10],B=t[11],V=t[12],H=t[13],U=t[14];let W=U,te;t[17]!==W||t[18]!==D?(te=W?vL(D):null,t[17]=W,t[18]=D,t[19]=te):te=t[19];let G=te,ne;t[20]!==W||t[21]!==D?(ne=W?yL(D):null,t[20]=W,t[21]=D,t[22]=ne):ne=t[22];let K=ne,re=G??(v===null?void 0:`${v}px`),ie=!W,ae,oe;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(ae=()=>()=>{h.current!==null&&window.clearTimeout(h.current)},oe=[],t[23]=ae,t[24]=oe):(ae=t[23],oe=t[24]),(0,Q.useEffect)(ae,oe);let q=i.isEditable,se=zL(i,a),ce,le;t[25]===w?(ce=t[26],le=t[27]):(ce=()=>{_.current?.contentWindow?.postMessage(EL(w),`*`)},le=[w],t[25]=w,t[26]=ce,t[27]=le),(0,Q.useEffect)(ce,le);let ue,de;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(ue=()=>{let e=function(e){if(e.source!==_.current?.contentWindow)return;let t=OL(e.data);if(t!==null){y(e=>e!==null&&Math.abs(e-t)<=2?e:t);return}let n=AL(e.data);n!==null&&x(n)};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},de=[],t[28]=ue,t[29]=de):(ue=t[28],de=t[29]),(0,Q.useEffect)(ue,de);let fe;t[30]===n.textContent?fe=t[31]:(fe=()=>{let e=n.textContent,t=()=>{m(!0),h.current!==null&&window.clearTimeout(h.current),h.current=window.setTimeout(()=>m(!1),1200)};try{typeof navigator<`u`&&navigator.clipboard?.writeText&&navigator.clipboard.writeText(e).then(t,WL)}catch{}},t[30]=n.textContent,t[31]=fe);let pe=fe,me;t[32]!==i||t[33]!==a?(me=()=>{let e=typeof a==`function`?a():void 0;if(typeof e==`number`)try{i.chain().focus().setNodeSelection(e).deleteSelection().run()}catch(e){let t=e;if(!(t instanceof RangeError))throw t;console.warn(`[CodeBlockView] delete failed — position race`,t)}},t[32]=i,t[33]=a,t[34]=me):me=t[34];let he=me,ge;t[35]!==H||t[36]!==D||t[37]!==r?(ge=()=>{r({meta:H?dL(D,`preview`):uL(D,`preview`)})},t[35]=H,t[36]=D,t[37]=r,t[38]=ge):ge=t[38];let _e=ge,ve;t[39]!==D||t[40]!==r?(ve=e=>{let t=CL(D,e.length>0?e:null);t!==D&&r({meta:t})},t[39]=D,t[40]=r,t[41]=ve):ve=t[41];let ye=ve,be;t[42]!==i.state||t[43]!==i.view||t[44]!==a||t[45]!==n.attrs||t[46]!==n.nodeSize||t[47]!==n.type?(be=e=>{let t=typeof a==`function`?a():void 0;if(typeof t==`number`)try{let{schema:r,tr:a}=i.state,o=n.type.create(n.attrs,e.length>0?r.text(e):null);a.replaceWith(t,t+n.nodeSize,o),i.view.dispatch(a)}catch(e){let t=e;if(!(t instanceof RangeError))throw t;console.warn(`[CodeBlockView] edit-save failed — position race`,t)}},t[42]=i.state,t[43]=i.view,t[44]=a,t[45]=n.attrs,t[46]=n.nodeSize,t[47]=n.type,t[48]=be):be=t[48];let xe=be,Se;t[49]===r?Se=t[50]:(Se=e=>{let t=`${Math.round(e.width)}px`,n=`${Math.round(e.height)}px`;r({meta:_L(_L(L.current,`h`,n),`w`,t)})},t[49]=r,t[50]=Se);let Ce=Se,we=E??void 0,Te=se?`true`:void 0,Ee=l?`true`:void 0,De=W?`true`:void 0,Oe=ie?`true`:`false`,ke;t[51]!==u||t[52]!==w||t[53]!==T||t[54]!==ie||t[55]!==re||t[56]!==Ce||t[57]!==n.textContent||t[58]!==W||t[59]!==K?(ke=W?(0,Z.jsxs)(`div`,{ref:g,className:Qt(`ok-codeblock-preview`,ie?`ok-codeblock-preview--with-code`:`ok-codeblock-preview--solo`),contentEditable:!1,style:{...re?{height:re}:{},...K?{width:K}:{}},onMouseDown:UL,children:[(0,Z.jsx)(`iframe`,{title:u({id:`G7cMuO`}),ref:_,sandbox:`allow-scripts`,referrerPolicy:`no-referrer`,srcDoc:IL(T)+n.textContent,className:`ok-codeblock-preview-frame`,onLoad:()=>{x(null),_.current?.contentWindow?.postMessage(EL(w),`*`)}}),(0,Z.jsx)(Iy,{targetRef:g,bounds:{minWidth:192,maxWidth:Math.round(window.innerWidth*.9),minHeight:128,maxHeight:Math.round(window.innerHeight*.9)},onResize:e=>{let t=g.current;t&&(t.style.width=`${e.width}px`,t.style.height=`${e.height}px`)},onResizeEnd:Ce})]}):null,t[51]=u,t[52]=w,t[53]=T,t[54]=ie,t[55]=re,t[56]=Ce,t[57]=n.textContent,t[58]=W,t[59]=K,t[60]=ke):ke=t[60];let Ae;t[61]!==b||t[62]!==W?(Ae=W&&b?(0,Z.jsx)(nL,{blocked:b.blocked,truncated:b.truncated,onDismiss:()=>x(null)}):null,t[61]=b,t[62]=W,t[63]=Ae):Ae=t[63];let je;t[64]===k?je=t[65]:(je=k?(0,Z.jsx)(`div`,{className:`ok-codeblock-title`,contentEditable:!1,"data-testid":`ok-codeblock-title`,title:k,children:(0,Z.jsx)(`span`,{className:`ok-codeblock-title-text`,children:k})}):null,t[64]=k,t[65]=je);let Me=W&&ie?`rounded-b-lg`:null,Ne=W?null:`rounded-lg`,Pe;t[66]!==Me||t[67]!==Ne?(Pe=Qt(`ok-codeblock-pre m-0 overflow-x-auto px-5 py-4 font-mono text-sm leading-relaxed`,Me,Ne),t[66]=Me,t[67]=Ne,t[68]=Pe):Pe=t[68];let Fe=!ie||void 0,Ie=E?`language-${E}`:void 0,Le;t[69]===Ie?Le=t[70]:(Le=Qt(`hljs block whitespace-pre bg-transparent p-0`,Ie),t[69]=Ie,t[70]=Le);let Re;t[71]===Le?Re=t[72]:(Re=(0,Z.jsx)(Nu,{as:`code`,className:Le}),t[71]=Le,t[72]=Re);let ze;t[73]!==Pe||t[74]!==Fe||t[75]!==Re?(ze=(0,Z.jsx)(`pre`,{className:Pe,"aria-hidden":Fe,children:Re}),t[73]=Pe,t[74]=Fe,t[75]=Re,t[76]=ze):ze=t[76];let Be;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(Be={[cE]:`true`},t[77]=Be):Be=t[77];let Ve=!q,He;t[78]!==u||t[79]!==z?(He=u({id:`c5f7sm`,values:{currentLabel:z}}),t[78]=u,t[79]=z,t[80]=He):He=t[80];let Ue;t[81]===z?Ue=t[82]:(Ue=(0,Z.jsx)(`span`,{children:z}),t[81]=z,t[82]=Ue);let We;t[83]===q?We=t[84]:(We=q?(0,Z.jsx)(an,{className:`size-3 opacity-60`,"aria-hidden":`true`}):null,t[83]=q,t[84]=We);let Ge;t[85]!==Ve||t[86]!==He||t[87]!==Ue||t[88]!==We?(Ge=(0,Z.jsx)(Pf,{asChild:!0,children:(0,Z.jsxs)(`button`,{type:`button`,disabled:Ve,className:`ok-codeblock-chrome-btn ok-codeblock-chrome-lang`,"aria-label":He,children:[Ue,We]})}),t[85]=Ve,t[86]=He,t[87]=Ue,t[88]=We,t[89]=Ge):Ge=t[89];let Ke;t[90]===u?Ke=t[91]:(Ke=u({id:`G_mWXb`}),t[90]=u,t[91]=Ke);let qe;t[92]===Ke?qe=t[93]:(qe=(0,Z.jsx)(Df,{placeholder:Ke}),t[92]=Ke,t[93]=qe);let Je;t[94]===u?Je=t[95]:(Je=u({id:`ETyvvg`}),t[94]=u,t[95]=Je);let Ye;t[96]===Je?Ye=t[97]:(Ye=(0,Z.jsx)(kf,{children:Je}),t[96]=Je,t[97]=Ye);let Xe;t[98]!==i.commands||t[99]!==B||t[100]!==E||t[101]!==r?(Xe=rL.map(e=>{let t=e.value===LL?!E||B===LL:B===e.value;return(0,Z.jsxs)(jf,{value:`${e.label} ${e.value} ${e.aliases?.join(` `)??``}`,onSelect:()=>{r({language:e.value===LL?null:e.value}),f(!1),i.commands.focus()},children:[(0,Z.jsx)(`span`,{className:`flex-1`,children:e.label}),t?(0,Z.jsx)(rn,{className:`size-3.5`,"aria-hidden":`true`}):null]},e.value)}),t[98]=i.commands,t[99]=B,t[100]=E,t[101]=r,t[102]=Xe):Xe=t[102];let Ze;t[103]===Xe?Ze=t[104]:(Ze=(0,Z.jsx)(Af,{children:Xe}),t[103]=Xe,t[104]=Ze);let Qe;t[105]!==Ye||t[106]!==Ze?(Qe=(0,Z.jsxs)(Of,{children:[Ye,Ze]}),t[105]=Ye,t[106]=Ze,t[107]=Qe):Qe=t[107];let $e;t[108]!==qe||t[109]!==Qe?($e=(0,Z.jsx)(Ff,{align:`end`,sideOffset:6,className:`w-56 p-0`,children:(0,Z.jsxs)(Tf,{filter:VL,children:[qe,Qe]})}),t[108]=qe,t[109]=Qe,t[110]=$e):$e=t[110];let et;t[111]!==d||t[112]!==Ge||t[113]!==$e?(et=(0,Z.jsxs)(Nf,{open:d,onOpenChange:f,children:[Ge,$e]}),t[111]=d,t[112]=Ge,t[113]=$e,t[114]=et):et=t[114];let tt;t[115]!==u||t[116]!==q||t[117]!==W?(tt=q&&W?(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn`,"aria-label":u({id:`R3y75Z`}),"data-testid":`ok-codeblock-edit-btn`,onClick:()=>N(!0),children:(0,Z.jsx)(vn,{className:`size-3.5`,"aria-hidden":`true`})}):null,t[115]=u,t[116]=q,t[117]=W,t[118]=tt):tt=t[118];let nt;t[119]!==u||t[120]!==q||t[121]!==_e||t[122]!==V||t[123]!==H?(nt=q&&V?(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn`,"data-active":H?`true`:void 0,"aria-pressed":H,"aria-label":u(H?{id:`xHGM4U`}:{id:`7OwvEL`}),onClick:_e,children:H?(0,Z.jsx)(ro,{className:`size-3.5`}):(0,Z.jsx)(dr,{className:`size-3.5`})}):null,t[119]=u,t[120]=q,t[121]=_e,t[122]=V,t[123]=H,t[124]=nt):nt=t[124];let rt;t[125]!==u||t[126]!==q||t[127]!==ye||t[128]!==A||t[129]!==k||t[130]!==I||t[131]!==F?(rt=q?(0,Z.jsxs)(Nf,{open:A,onOpenChange:j,children:[(0,Z.jsx)(Pf,{asChild:!0,children:(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn`,"data-active":k?`true`:void 0,"aria-label":u({id:`DDTdLl`}),children:(0,Z.jsx)(Io,{className:`size-3.5`,"aria-hidden":`true`})})}),(0,Z.jsx)(Ff,{align:`end`,sideOffset:6,className:`w-64 p-3`,children:(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[(0,Z.jsx)(`label`,{htmlFor:F,className:`text-2xs font-mono uppercase tracking-wide text-muted-foreground`,children:(0,Z.jsx)(o,{id:`MHrjPM`})}),(0,Z.jsx)(xi,{id:F,type:`text`,value:k??``,placeholder:u({id:`mk2poV`}),"data-testid":`ok-codeblock-title-input`,"aria-describedby":I,onChange:e=>ye(e.target.value),onKeyDown:e=>{(e.key===`Enter`||e.key===`Escape`)&&(e.preventDefault(),j(!1))},className:`h-8`}),(0,Z.jsx)(`p`,{id:I,className:`text-2xs text-muted-foreground`,children:(0,Z.jsx)(o,{id:`lond3p`})})]})})]}):null,t[125]=u,t[126]=q,t[127]=ye,t[128]=A,t[129]=k,t[130]=I,t[131]=F,t[132]=rt):rt=t[132];let it;t[133]!==u||t[134]!==p?(it=u(p?{id:`6V3Ea3`}:{id:`NmPNJJ`}),t[133]=u,t[134]=p,t[135]=it):it=t[135];let at;t[136]===p?at=t[137]:(at=p?(0,Z.jsx)(rn,{className:`size-3.5`,"aria-hidden":`true`}):(0,Z.jsx)(mn,{className:`size-3.5`,"aria-hidden":`true`}),t[136]=p,t[137]=at);let ot;t[138]!==pe||t[139]!==it||t[140]!==at?(ot=(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn`,"aria-label":it,onClick:pe,children:at}),t[138]=pe,t[139]=it,t[140]=at,t[141]=ot):ot=t[141];let st;t[142]!==u||t[143]!==q||t[144]!==he?(st=q?(0,Z.jsx)(`button`,{type:`button`,className:`ok-codeblock-chrome-btn ok-codeblock-chrome-btn--delete`,"aria-label":u({id:`oBXkm2`}),onClick:he,children:(0,Z.jsx)(_n,{className:`size-3.5`,"aria-hidden":`true`})}):null,t[142]=u,t[143]=q,t[144]=he,t[145]=st):st=t[145];let ct;t[146]!==et||t[147]!==tt||t[148]!==nt||t[149]!==rt||t[150]!==ot||t[151]!==st?(ct=(0,Z.jsxs)(`div`,{className:`ok-codeblock-chrome`,contentEditable:!1,onMouseDown:HL,...Be,children:[et,tt,nt,rt,ot,st]}),t[146]=et,t[147]=tt,t[148]=nt,t[149]=rt,t[150]=ot,t[151]=st,t[152]=ct):ct=t[152];let lt;t[153]!==u||t[154]!==T||t[155]!==M||t[156]!==q||t[157]!==xe||t[158]!==n.textContent||t[159]!==B||t[160]!==W?(lt=q&&W?(0,Z.jsx)(eL,{open:M,onOpenChange:N,initialValue:n.textContent,language:B===`xml`?`html`:`plain`,title:u({id:`R3y75Z`}),renderPreview:e=>(0,Z.jsx)(`iframe`,{title:u({id:`G7cMuO`}),sandbox:`allow-scripts`,className:`size-full border-0`,srcDoc:IL(T)+e}),onSave:xe}):null,t[153]=u,t[154]=T,t[155]=M,t[156]=q,t[157]=xe,t[158]=n.textContent,t[159]=B,t[160]=W,t[161]=lt):lt=t[161];let ut;return t[162]!==we||t[163]!==Te||t[164]!==Ee||t[165]!==De||t[166]!==Oe||t[167]!==ke||t[168]!==Ae||t[169]!==je||t[170]!==ze||t[171]!==ct||t[172]!==lt?(ut=(0,Z.jsxs)(Pu,{className:`ok-codeblock relative my-3`,"data-language":we,"data-cursor-inside":Te,"data-selected":Ee,"data-preview":De,"data-code-visible":Oe,children:[ke,Ae,je,ze,ct,lt]}),t[162]=we,t[163]=Te,t[164]=Ee,t[165]=De,t[166]=Oe,t[167]=ke,t[168]=Ae,t[169]=je,t[170]=ze,t[171]=ct,t[172]=lt,t[173]=ut):ut=t[173],ut}function VL(e,t){return t?+!!e.toLowerCase().includes(t.toLowerCase()):1}function HL(e){return e.stopPropagation()}function UL(e){return e.stopPropagation()}function WL(){}function GL(e,t=[]){return e.flatMap(e=>{if(e.type===`text`)return[{text:e.value,classes:t}];let n=[...t,...e.properties?.className??[]];return GL(e.children,n)})}function KL(e){let{doc:t,name:n,lowlight:r,defaultLanguage:i}=e,a=[],o=r.listLanguages();return je(t,e=>e.type.name===n).forEach(e=>{let t=e.pos+1,n=e.node.attrs.language||i;if(!n||!(o.includes(n)||(r.registered?.(n)??!1)))return;let s;try{s=r.highlight(n,e.node.textContent)}catch{return}let c=s.children??[];for(let e of GL(c)){let n=t+e.text.length;e.classes.length>0&&a.push(mt.inline(t,n,{class:e.classes.join(` `)})),t=n}}),$e.create(t,a)}function qL(e){let{name:t,lowlight:n,defaultLanguage:r}=e,i=new Ut({key:new Re(`codeBlockLowlight`),state:{init:(e,{doc:i})=>KL({doc:i,name:t,lowlight:n,defaultLanguage:r}),apply:(e,i,a,o)=>{if(!e.docChanged)return i.map(e.mapping,e.doc);let s=a.selection.$head.parent.type.name,c=o.selection.$head.parent.type.name,l=je(a.doc,e=>e.type.name===t),u=je(o.doc,e=>e.type.name===t);return[s,c].includes(t)||u.length!==l.length||e.steps.some(e=>{let t=e;return t.from===void 0||t.to===void 0?!1:l.some(e=>t.from<e.pos+e.node.nodeSize&&t.to>e.pos)})?KL({doc:e.doc,name:t,lowlight:n,defaultLanguage:r}):i.map(e.mapping,e.doc)}},props:{decorations(e){return i.getState(e)}}});return i}var JL=$T(YT),YL=Le.extend({addOptions(){return{...this.parent?.(),enableTabIndentation:!0,tabSize:2}},addNodeView(){return Hu(BL)},addProseMirrorPlugins(){return[...this.parent?.()??[],qL({name:this.name,lowlight:JL,defaultLanguage:null})]},addInputRules(){return[...this.parent?.()??[],Ye({find:/^```$/,type:this.type,getAttributes:()=>({language:`js`})})]}});function XL(e){return!!e.getMeta(Lp)}function ZL(e,t){let n=Lp.getState(e);return Tm(n.doc,n.type,t,n.binding.mapping)||0}function QL(e,t){let n=Lp.getState(e);return Cm(t,n.type,n.binding.mapping)}var $L=class e extends A{constructor(e,t){super(e),this.yRelativePosition=t}static fromJSON(t){return new e(t.position,t.yRelativePosition)}toJSON(){return{position:this.position,yRelativePosition:this.yRelativePosition}}};function eR(e,t){return new $L(e,QL(t,e))}function tR(e,t,n){let r=e instanceof $L?e.yRelativePosition:null;if(XL(t)&&r)return{position:new $L(ZL(n,r),r),mapResult:null};let i=Fe(e,t),a=i.position.position;return{position:new $L(a,r??QL(n,a)),mapResult:i.mapResult}}var nR=be.create({name:`collaboration`,priority:1e3,addOptions(){return{document:null,field:`default`,fragment:null,provider:null}},addStorage(){return{isDisabled:!1}},onCreate(){this.editor.extensionManager.extensions.find(e=>e.name===`undoRedo`)&&console.warn(`[tiptap warn]: "@tiptap/extension-collaboration" comes with its own history support and is not compatible with "@tiptap/extension-undo-redo".`)},onBeforeCreate(){this.editor.utils.getUpdatedPosition=(e,t)=>tR(e,t,this.editor.state),this.editor.utils.createMappablePosition=e=>eR(e,this.editor.state)},addCommands(){return{undo:()=>({tr:e,state:t,dispatch:n})=>(e.setMeta(`preventDispatch`,!0),Rp.getState(t).undoManager.undoStack.length===0?!1:n?Nm(t):!0),redo:()=>({tr:e,state:t,dispatch:n})=>(e.setMeta(`preventDispatch`,!0),Rp.getState(t).undoManager.redoStack.length===0?!1:n?Pm(t):!0)}},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Mod-y":()=>this.editor.commands.redo(),"Shift-Mod-z":()=>this.editor.commands.redo()}},addProseMirrorPlugins(){let e=this.options.fragment?this.options.fragment:this.options.document.getXmlFragment(this.options.field),t=Lm(this.options.yUndoOptions),n=t.spec.view;return t.spec.view=e=>{let{undoManager:t}=Rp.getState(e.state);t.restore&&=(t.restore(),()=>{});let r=n?n(e):void 0;return{destroy:()=>{let e=t.trackedOrigins.has(t),n=t._observers;t.restore=()=>{e&&t.trackedOrigins.add(t),t.doc.on(`afterTransaction`,t.afterTransactionHandler),t._observers=n},r?.destroy&&r.destroy()}}},[Kp(e,{...this.options.ySyncOptions,onFirstRender:this.options.onFirstRender}),t,this.editor.options.enableContentCheck&&new Ut({key:new Re(`filterInvalidContent`),filterTransaction:t=>{if(!XL(t))return!0;if(this.storage.isDisabled)return!1;if(!t.docChanged)return!0;try{return t.doc.check(),!0}catch(t){return this.storage.isDisabled=!0,this.editor.emit(`contentError`,{error:t,editor:this.editor,disableCollaboration:()=>{var t;(t=e.doc)==null||t.destroy()}}),!1}}})].filter(Boolean)}});function rR(e){if(!e.length)return $e.empty;let t=[],n=e[0].$from.node(0);return e.forEach(e=>{let n=e.$from.pos,r=e.$from.nodeAfter;r&&t.push(mt.node(n,n+r.nodeSize,{class:`ProseMirror-selectednoderange`}))}),$e.create(n,t)}function iR(e,t,n){let r=n.isText||n.isAtom?0:1;return{start:e+r,end:e+t-r}}function aR(e,t,n,r={}){let i=[],a=e.node(0),{extendOnBoundaryOverlap:o=!0}=r;typeof n==`number`&&n>=0||(n=e.sameParent(t)?Math.max(0,e.sharedDepth(t.pos)-1):e.sharedDepth(t.pos));let s=new b(e,t,n),c=s.depth===0?0:a.resolve(s.start).posAtIndex(0);return s.parent.forEach((n,r)=>{let l=c+r,u=l+n.nodeSize,d=iR(l,n.nodeSize,n),f=o?t.pos>=d.start&&e.pos<=d.end:t.pos>d.start&&e.pos<d.end;if(l<s.start||l>=s.end||!f)return;let p=new me(a.resolve(l),a.resolve(u));i.push(p)}),i}var oR=class e{constructor(e,t){this.anchor=e,this.head=t}map(t){return new e(t.map(this.anchor),t.map(this.head))}resolve(e){return new sR(e.resolve(this.anchor),e.resolve(this.head))}},sR=class e extends Vt{constructor(e,t,n,r=1){let{doc:i}=e,a=e===t,o=e.pos===i.content.size&&t.pos===i.content.size,s=a&&!o?i.resolve(t.pos+(r>0?1:-1)):t,c=a&&o?i.resolve(e.pos-(r>0?1:-1)):e,l=aR(c.min(s),c.max(s),n),u=s.pos>=e.pos?l[0].$from:l[l.length-1].$to,d=s.pos>=e.pos?l[l.length-1].$to:l[0].$from;super(u,d,l),this.depth=n}get $to(){return this.ranges[this.ranges.length-1].$to}eq(t){return t instanceof e&&t.$from.pos===this.$from.pos&&t.$to.pos===this.$to.pos}map(t,n){return new e(t.resolve(n.map(this.anchor)),t.resolve(n.map(this.head)))}toJSON(){return{type:`nodeRange`,anchor:this.anchor,head:this.head}}get isForwards(){return this.head>=this.anchor}get isBackwards(){return!this.isForwards}extendBackwards(){let{doc:t}=this.$from;if(this.isForwards&&this.ranges.length>1){let t=this.ranges.slice(0,-1),n=t[0].$from,r=t[t.length-1].$to;return new e(n,r,this.depth)}let n=this.ranges[0],r=t.resolve(Math.max(0,n.$from.pos-1));return new e(this.$anchor,r,this.depth)}extendForwards(){let{doc:t}=this.$from;if(this.isBackwards&&this.ranges.length>1){let t=this.ranges.slice(1),n=t[0].$from,r=t[t.length-1].$to;return new e(r,n,this.depth)}let n=this.ranges[this.ranges.length-1],r=t.resolve(Math.min(t.content.size,n.$to.pos+1));return new e(this.$anchor,r,this.depth)}static fromJSON(t,n){return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(e,t,n,r,i=1){return new this(e.resolve(t),e.resolve(n),r,i)}getBookmark(){return new oR(this.anchor,this.head)}};sR.prototype.visible=!1;function cR(e){return e instanceof sR}be.create({name:`nodeRange`,addOptions(){return{depth:void 0,key:`Mod`}},addKeyboardShortcuts(){return{"Shift-ArrowUp":({editor:e})=>{let{depth:t}=this.options,{view:n,state:r}=e,{doc:i,selection:a,tr:o}=r,{anchor:s,head:c}=a;if(!cR(a)){let e=sR.create(i,s,c,t,-1);return o.setSelection(e),n.dispatch(o),!0}let l=a.extendBackwards();return o.setSelection(l),n.dispatch(o),!0},"Shift-ArrowDown":({editor:e})=>{let{depth:t}=this.options,{view:n,state:r}=e,{doc:i,selection:a,tr:o}=r,{anchor:s,head:c}=a;if(!cR(a)){let e=sR.create(i,s,c,t);return o.setSelection(e),n.dispatch(o),!0}let l=a.extendForwards();return o.setSelection(l),n.dispatch(o),!0},"Mod-a":({editor:e})=>{let{depth:t}=this.options,{view:n,state:r}=e,{doc:i,tr:a}=r,o=sR.create(i,0,i.content.size,t);return a.setSelection(o),n.dispatch(a),!0}}},onSelectionUpdate(){let{selection:e}=this.editor.state;cR(e)&&this.editor.view.dom.classList.add(`ProseMirror-noderangeselection`)},addProseMirrorPlugins(){let e=!1,t=!1;return[new Ut({key:new Re(`nodeRange`),props:{attributes:()=>e?{class:`ProseMirror-noderangeselection`}:{class:``},handleDOMEvents:{mousedown:(e,n)=>{let{key:r}=this.options,i=/Mac/.test(navigator.platform),a=!!n.shiftKey,o=!!n.ctrlKey,s=!!n.altKey,c=!!n.metaKey;return(r==null||r===`Shift`&&a||r===`Control`&&o||r===`Alt`&&s||r===`Meta`&&c||r===`Mod`&&(i?c:o))&&(t=!0),t&&document.addEventListener(`mouseup`,()=>{t=!1;let{state:n}=e,{doc:r,selection:i,tr:a}=n,{$anchor:o,$head:s}=i;if(o.sameParent(s))return;let c=sR.create(r,o.pos,s.pos,this.options.depth);a.setSelection(c),e.dispatch(a)},{once:!0}),!1}},decorations:n=>{let{selection:r}=n,i=cR(r);if(e=!1,!t)return i?(e=!0,rR(r.ranges)):null;let{$from:a,$to:o}=r;if(!i&&a.sameParent(o))return null;let s=aR(a,o,this.options.depth);return s.length?(e=!0,rR(s)):null}}})]}});function lR(e){let t=``,n=getComputedStyle(e);for(let e=0;e<n.length;e+=1)t+=`${n[e]}:${n.getPropertyValue(n[e])};`;return t}function uR(e){let t=e.cloneNode(!0),n=[e,...Array.from(e.getElementsByTagName(`*`))],r=[t,...Array.from(t.getElementsByTagName(`*`))];return n.forEach((e,t)=>{r[t].style.cssText=lR(e)}),t}var dR=[{id:`listItemFirstChild`,evaluate:({parent:e,isFirst:t})=>t&&e&&[`listItem`,`taskItem`].includes(e.type.name)?1e3:0},{id:`listWrapperDeprioritize`,evaluate:({node:e})=>{let t=[`listItem`,`taskItem`],n=e.firstChild;return n&&t.includes(n.type.name)?1e3:0}},{id:`tableStructure`,evaluate:({node:e,parent:t})=>[`tableRow`,`tableCell`,`tableHeader`].includes(e.type.name)||t&&t.type.name===`tableHeader`?1e3:0},{id:`inlineContent`,evaluate:({node:e})=>e.isInline||e.isText?1e3:0}],fR={edges:[`left`,`top`],threshold:12,strength:500};function pR(e){return e===void 0||e===`left`?{...fR}:e===`right`?{edges:[`right`,`top`],threshold:12,strength:500}:e===`both`?{edges:[`left`,`right`,`top`],threshold:12,strength:500}:e===`none`?{edges:[],threshold:0,strength:0}:{...fR,...e}}function mR(e,t,n){if(n.edges.length===0)return!1;let r=t.getBoundingClientRect(),{threshold:i,edges:a}=n;return a.some(t=>t===`left`?e.x-r.left<i:t===`right`?r.right-e.x<i:t===`top`?e.y-r.top<i:t===`bottom`?r.bottom-e.y<i:!1)}function hR(e,t,n,r){return!t||n.edges.length===0?0:mR(e,t,n)?n.strength*r:0}var gR=1e3;function _R(e,t,n,r){let i=gR,a=!1;if(t.every(t=>{let n=t.evaluate(e);return i-=n,i<=0?(a=!0,!1):!0}),a)return-1;let o=e.view.nodeDOM(e.pos);return i-=hR(r,o,n,e.depth),i<=0?-1:i}function vR(e,t,n){return Array.from({length:t},(e,n)=>t-1-n).some(t=>n.includes(e.node(t).type.name))}function yR(e,t,n){if(!Number.isFinite(t.x)||!Number.isFinite(t.y))return null;let r=e.posAtCoords({left:t.x,top:t.y});if(!r)return null;let{doc:i}=e.state,a=i.resolve(r.pos),o=[];n.defaultRules&&o.push(...dR),o.push(...n.rules);let s=Array.from({length:a.depth},(e,t)=>a.depth-t).map(r=>{let i=a.node(r),s=a.before(r);if(n.allowedContainers&&r>0&&!vR(a,r,n.allowedContainers))return null;let c=r>0?a.node(r-1):null,l=r>0?a.index(r-1):0,u=c?c.childCount:1,d=_R({node:i,pos:s,depth:r,parent:c,index:l,isFirst:l===0,isLast:l===u-1,$pos:a,view:e},o,n.edgeDetection,t);return d<0?null:{node:i,pos:s,depth:r,score:d,dom:e.nodeDOM(s)}}).filter(e=>e!==null),c=a.nodeAfter;if(c&&c.isAtom&&!c.isInline){let i=r.pos,l=a.depth+1,u=a.parent,d=a.index(),f=u.childCount,p=!0;if(n.allowedContainers&&(p=vR(a,l,n.allowedContainers)),p){let r=_R({node:c,pos:i,depth:l,parent:u,index:d,isFirst:d===0,isLast:d===f-1,$pos:a,view:e},o,n.edgeDetection,t);if(r>=0){let t=e.nodeDOM(i);t&&s.push({node:c,pos:i,depth:l,score:r,dom:t})}}}if(s.length===0)return null;s.sort((e,t)=>t.score===e.score?t.depth-e.depth:t.score-e.score);let l=s[0];return l.dom?{node:l.node,pos:l.pos,dom:l.dom}:null}function bR(e,t){let n=e;for(;n?.parentElement&&n.parentElement!==t.dom;)n=n.parentElement;return n?.parentElement===t.dom?n:void 0}function xR(e){return Number.isFinite(e.top)&&Number.isFinite(e.bottom)&&Number.isFinite(e.left)&&Number.isFinite(e.right)&&e.width>0&&e.height>0}function SR(e,t,n,r=5){if(!Number.isFinite(t)||!Number.isFinite(n))return null;let i=e.dom,a=i.firstElementChild,o=i.lastElementChild;if(!a||!o)return null;let s=a.getBoundingClientRect(),c=o.getBoundingClientRect();if(!xR(s)||!xR(c))return null;let l=Math.min(Math.max(s.top+r,n),c.bottom-r),u=.5,d=Math.abs(s.left-c.left)<u,f=Math.abs(s.right-c.right)<u,p=s;d&&f&&(p=s);let m=Math.min(Math.max(p.left+r,t),p.right-r);return!Number.isFinite(m)||!Number.isFinite(l)?null:{x:m,y:l}}var CR=e=>{let{x:t,y:n,editor:r,nestedOptions:i}=e,{view:a,state:o}=r,s=SR(a,t,n,5);if(!s)return{resultElement:null,resultNode:null,pos:null};let{x:c,y:l}=s;if(i?.enabled){let e=yR(a,{x:c,y:l},i);return e?{resultElement:e.dom,resultNode:e.node,pos:e.pos}:{resultElement:null,resultNode:null,pos:null}}let u=a.root.elementsFromPoint(c,l),d;if(Array.prototype.some.call(u,e=>{if(!a.dom.contains(e))return!1;let t=bR(e,a);return t?(d=t,!0):!1}),!d){let e=a.posAtCoords({left:c,top:l});if(e){let t=o.doc.resolve(e.pos),n=Math.min(t.depth,1),r=n>0?t.before(n):t.pos,i=o.doc.nodeAt(r);if(i){let e=a.nodeDOM(r);return{resultElement:e instanceof HTMLElement?e:null,resultNode:i,pos:r}}}return{resultElement:null,resultNode:null,pos:null}}let f;try{f=a.posAtDOM(d,0)}catch{return{resultElement:null,resultNode:null,pos:null}}let p=o.doc.nodeAt(f);if(!p){let e=o.doc.resolve(f),t=e.parent;return{resultElement:d,resultNode:t,pos:e.start()}}return{resultElement:d,resultNode:p,pos:f}};function wR(e,t){let n=null,r=e.nodeDOM(t);if(r instanceof Element)n=r;else{let{node:r,offset:i}=e.domAtPos(t),a=r.childNodes[i];a instanceof Element?n=a:r instanceof Element?n=r:r.nodeType===Node.TEXT_NODE&&r.parentElement&&(n=r.parentElement)}return(n?getComputedStyle(n).direction:getComputedStyle(e.dom).direction)||`ltr`}function TR(e){var t;(t=e.parentNode)==null||t.removeChild(e)}function ER(e,t,n,r){let{doc:i}=t.view.state;if(n?.enabled&&r?.node&&r.pos>=0){let e=r.pos,t=r.pos+r.node.nodeSize;return[{$from:i.resolve(e),$to:i.resolve(t)}]}let a=CR({editor:t,x:e.clientX,y:e.clientY,direction:`right`,nestedOptions:n});if(!a.resultNode||a.pos===null)return[];let o=a.resultNode.isText||a.resultNode.isAtom?0:-1;return aR(i.resolve(a.pos),i.resolve(a.pos+a.resultNode.nodeSize+o),0,{extendOnBoundaryOverlap:!1})}function DR(e,t,n,r){let{view:i}=t;if(!e.dataTransfer)return;let{empty:a,$from:o,$to:s}=i.state.selection,c=ER(e,t,n,r),l=aR(o,s,0,{extendOnBoundaryOverlap:!1}),u=l.some(e=>c.find(t=>t.$from===e.$from&&t.$to===e.$to)),d=a||!u?c:l;if(!d.length)return;let{tr:f}=i.state,p=document.createElement(`div`),m=d[0].$from.pos,h=d[d.length-1].$to.pos;p.setAttribute(`dir`,wR(i,m));let g=n?.enabled&&r?.node,_,v;g?(_=i.state.doc.slice(m,h),v=Lt.create(i.state.doc,m)):(v=sR.create(i.state.doc,m,h),_=v.content()),d.forEach(e=>{let t=uR(i.nodeDOM(e.$from.pos));p.append(t)}),p.style.position=`absolute`,p.style.top=`-10000px`,p.style.contentVisibility=`visible`,document.body.append(p);for(let e of p.querySelectorAll(`*`))e.style&&e.style.contentVisibility===`auto`&&(e.style.contentVisibility=`visible`);e.dataTransfer.clearData();let y=p.getBoundingClientRect(),b=i.nodeDOM(m),x=b&&b.nodeType===1?b.getBoundingClientRect():null,S=x?Math.min(e.clientX-x.left,y.width):Math.max(0,Math.min(e.clientX-y.left,y.width)),C=x?Math.min(Math.max(e.clientY-x.top,0),y.height):0;e.dataTransfer.setDragImage(p,S,C);let w=!1,T=()=>{w||(w=!0,TR(p),document.removeEventListener(`drop`,T),document.removeEventListener(`dragend`,T))},E=v instanceof Lt?v:void 0;i.dragging={slice:_,move:!0,node:E},f.setSelection(v),i.dispatch(f),document.addEventListener(`drop`,T),document.addEventListener(`dragend`,T)}var OR=(e,t)=>{let n=e.resolve(t),{depth:r}=n;return r===0?t:n.pos-n.parentOffset-1},kR=(e,t)=>{let n=e.nodeAt(t),r=e.resolve(t),{depth:i}=r,a=n;for(;i>0;){let e=r.node(i);--i,i===0&&(a=e)}return a},AR=(e,t)=>{let n=Lp.getState(e);return n?Cm(t,n.type,n.binding.mapping):null},jR=(e,t)=>{let n=Lp.getState(e);return n?Tm(n.doc,n.type,t,n.binding.mapping)||0:-1},MR=(e,t)=>{let n=t;for(;n?.parentNode&&n.parentNode!==e.dom;)n=n.parentNode;return n},NR=new Re(`dragHandle`),PR=({pluginKey:e=NR,element:t,editor:n,computePositionConfig:r,getReferencedVirtualElement:i,onNodeChange:a,onElementDragStart:o,onElementDragEnd:s,nestedOptions:c})=>{let l=document.createElement(`div`),u=!1,d=null,f=-1,p,m=null,h=null;function g(){t&&(t.style.visibility=`hidden`,t.style.pointerEvents=`none`)}function _(){if(t){if(!n.isEditable){g();return}t.style.visibility=``,t.style.pointerEvents=`auto`}}function v(e){mi(i?.()||{getBoundingClientRect:()=>e.getBoundingClientRect()},t,r).then(e=>{Object.assign(t.style,{position:e.strategy,left:`${e.x}px`,top:`${e.y}px`})})}function y(e){o?.(e),DR(e,n,c,{node:d,pos:f}),t&&(t.dataset.dragging=`true`),setTimeout(()=>{t&&(t.style.pointerEvents=`none`)},0)}function b(e){s?.(e),g(),t&&(t.style.pointerEvents=`auto`,t.dataset.dragging=`false`)}function x(){if(bt()){let e=n.view.dom;requestAnimationFrame(()=>{e.isContentEditable&&(e.contentEditable=`false`,e.contentEditable=`true`)})}}return l.appendChild(t),{unbind(){t.removeEventListener(`dragstart`,y),t.removeEventListener(`dragend`,b),document.removeEventListener(`drop`,x),m&&(cancelAnimationFrame(m),m=null,h=null)},plugin:new Ut({key:typeof e==`string`?new Re(e):e,state:{init(){return{locked:!1}},apply(e,r,i,o){let s=e.getMeta(`lockDragHandle`),c=e.getMeta(`hideDragHandle`);if(s!==void 0&&(u=s),c)return g(),u=!1,d=null,f=-1,a?.({editor:n,node:null,pos:-1}),r;if(e.docChanged&&f!==-1&&t)if(XL(e)){let e=jR(o,p);e!==f&&(f=e)}else{let t=e.mapping.map(f);t!==f&&(f=t,p=AR(o,f))}return r}},view:e=>{var r;return t.draggable=!0,t.style.pointerEvents=`auto`,t.dataset.dragging=`false`,(r=n.view.dom.parentElement)==null||r.appendChild(l),l.style.pointerEvents=`none`,l.style.position=`absolute`,l.style.top=`0`,l.style.left=`0`,t.addEventListener(`dragstart`,y),t.addEventListener(`dragend`,b),document.addEventListener(`drop`,x),{update(r,i){if(!t)return;if(!n.isEditable){g();return}if(u?t.draggable=!1:t.draggable=!0,e.state.doc.eq(i.doc)||f===-1)return;let o=e.nodeDOM(f);if(o=MR(e,o),o===e.dom||o?.nodeType!==1)return;let s=e.posAtDOM(o,0),c=kR(n.state.doc,s),l=OR(n.state.doc,s);d=c,f=l,p=AR(e.state,f),a?.({editor:n,node:d,pos:f}),v(o)},destroy(){t.removeEventListener(`dragstart`,y),t.removeEventListener(`dragend`,b),document.removeEventListener(`drop`,x),m&&(cancelAnimationFrame(m),m=null,h=null),t&&TR(l)}}},props:{handleDOMEvents:{keydown(e){return!t||u?!1:e.hasFocus()?(g(),d=null,f=-1,a?.({editor:n,node:null,pos:-1}),!1):!1},mouseleave(e,t){return u||t.target&&!l.contains(t.relatedTarget)&&(g(),d=null,f=-1,a?.({editor:n,node:null,pos:-1})),!1},mousemove(e,r){return!t||u||(h={x:r.clientX,y:r.clientY},m)||(m=requestAnimationFrame(()=>{if(m=null,!h)return;let{x:t,y:r}=h;h=null;let i=CR({x:t,y:r,direction:`right`,editor:n,nestedOptions:c});if(!i.resultElement)return;let o=i.resultElement,s=i.resultNode,l=i.pos;if(!c?.enabled){if(o=MR(e,o),o===e.dom||o?.nodeType!==1)return;let t=e.posAtDOM(o,0);s=kR(n.state.doc,t),l=OR(n.state.doc,t)}s!==d&&(d=s,f=l??-1,p=AR(e.state,f),a?.({editor:n,node:d,pos:f}),v(o),_())})),!1}}}})}};function FR(e){return e===!1||e===void 0?{enabled:!1,rules:[],defaultRules:!0,allowedContainers:void 0,edgeDetection:pR(`none`)}:e===!0?{enabled:!0,rules:[],defaultRules:!0,allowedContainers:void 0,edgeDetection:pR(`left`)}:{enabled:!0,rules:e.rules??[],defaultRules:e.defaultRules??!0,allowedContainers:e.allowedContainers,edgeDetection:pR(e.edgeDetection)}}var IR={placement:`left-start`,strategy:`absolute`};be.create({name:`dragHandle`,addOptions(){return{render(){let e=document.createElement(`div`);return e.classList.add(`drag-handle`),e},computePositionConfig:{},locked:!1,onNodeChange:()=>null,onElementDragStart:void 0,onElementDragEnd:void 0,nested:!1}},addCommands(){return{lockDragHandle:()=>({editor:e})=>(this.options.locked=!0,e.commands.setMeta(`lockDragHandle`,this.options.locked)),unlockDragHandle:()=>({editor:e})=>(this.options.locked=!1,e.commands.setMeta(`lockDragHandle`,this.options.locked)),toggleDragHandle:()=>({editor:e})=>(this.options.locked=!this.options.locked,e.commands.setMeta(`lockDragHandle`,this.options.locked))}},addProseMirrorPlugins(){let e=this.options.render(),t=FR(this.options.nested);return[PR({computePositionConfig:{...IR,...this.options.computePositionConfig},getReferencedVirtualElement:this.options.getReferencedVirtualElement,element:e,editor:this.editor,onNodeChange:this.options.onNodeChange,onElementDragStart:this.options.onElementDragStart,onElementDragEnd:this.options.onElementDragEnd,nestedOptions:t}).plugin]}});var LR=20,RR=44,zR=28;function BR(e){if(!e)return`Select block`;if(e.type.name===`jsxComponent`){let t=e.attrs.componentName??``;if(t){let e=oC(t),n=e.name===`*`?t:e.displayName??e.name;if(n)return`Select ${n}`}}return`Select ${e.type.name}`}function VR(){let e=document.createElement(`div`);e.className=`ok-block-controls`,e.setAttribute(cE,`true`),e.style.visibility=`hidden`;let t=document.createElement(`button`);t.className=`ok-add-block-btn`,t.setAttribute(`aria-label`,`Add block below`),t.setAttribute(`type`,`button`),t.innerHTML=`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus"><path d="M5 12h14"/><path d="M12 5v14"/></svg>`,t.addEventListener(`mousedown`,e=>{e.preventDefault(),e.stopPropagation()});let n=document.createElement(`button`);return n.className=`ok-drag-grip`,n.setAttribute(`type`,`button`),n.setAttribute(`aria-label`,`Select block`),n.setAttribute(`tabindex`,`-1`),n.innerHTML=`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-grip-vertical-icon lucide-grip-vertical"><circle cx="9" cy="12" r="1"/><circle cx="9" cy="5" r="1"/><circle cx="9" cy="19" r="1"/><circle cx="15" cy="12" r="1"/><circle cx="15" cy="5" r="1"/><circle cx="15" cy="19" r="1"/></svg>`,e.appendChild(t),e.appendChild(n),{container:e,addBtn:t,grip:n}}function HR(e,t,n){let{state:r,view:i}=e;if(n.type.name===`jsxComponent`){let i=n.attrs.componentName??``;if(i){let a=oC(i);if(a.emptyChildName){let i=t+1+n.content.size;if(i>r.doc.content.size)return;let o=a.emptyChildName;e.chain().focus().insertContentAt(i,fC(o)).run(),gC(e,i,oC(o));return}}}let a=t+n.nodeSize;if(a>r.doc.content.size)return;let{tr:o}=r,s=r.schema.nodes.paragraph?.create();if(!s)return;o.insert(a,s);let c=y.near(o.doc.resolve(a+1));o.setSelection(c).scrollIntoView(),i.dispatch(o),i.focus(),e.commands.insertContent(`/`)}var UR=be.create({name:`blockDragHandle`,addProseMirrorPlugins(){let e=this.editor,t=null,n=-1,{container:r,addBtn:i,grip:a}=VR();return i.addEventListener(`click`,()=>{t&&n>=0&&HR(e,n,t)}),a.addEventListener(`click`,()=>{if(n<0)return;let r=t,i=r?.type.name??`unknown`;try{e.chain().focus().setNodeSelection(n).run()||(oe(i),console.warn(JSON.stringify({event:`block-grip-click-select-failed`,nodeType:i,componentName:String(r?.attrs.componentName??``).slice(0,200),reason:`chain-dispatch-returned-false`})))}catch(e){if(!(e instanceof RangeError))throw e;oe(i),console.warn(JSON.stringify({event:`block-grip-click-select-failed`,nodeType:i,componentName:String(r?.attrs.componentName??``).slice(0,200),reason:e.message.slice(0,500)}))}}),[PR({element:r,editor:e,onNodeChange({node:e,pos:r}){t=e,n=r??-1,a.setAttribute(`aria-label`,BR(e))},computePositionConfig:{placement:`left-start`,strategy:`absolute`,middleware:[_i(({rects:e})=>({mainAxis:10,crossAxis:((e.reference.height<=RR?e.reference.height:zR)-LR)/2}))]},nestedOptions:FR(!1)}).plugin]}}),WR=/^#fn(?:ref)?-/,GR=be.create({name:`footnoteAnchorScroll`,addProseMirrorPlugins(){return[new Ut({props:{handleDOMEvents:{click(e,t){let n=t.target;if(!(n instanceof Element))return!1;let r=n.closest(`a[href^="#fn"]`);if(!(r instanceof HTMLAnchorElement))return!1;let i=r.getAttribute(`href`)??``;if(!WR.test(i))return!1;let a=i.slice(1);t.preventDefault();let o=e.dom.ownerDocument.getElementById(a);return o&&o.scrollIntoView({behavior:`smooth`,block:`start`}),!0}}}})]}}),KR=be.create({name:`formattingShortcuts`,addKeyboardShortcuts(){return{"Mod-Shift-x":()=>this.editor.commands.toggleStrike()}}}),qR=be.create({name:`headingAnchors`,addProseMirrorPlugins(){return[new Ut({props:{decorations(e){let t=[],n=new Map;return e.doc.descendants((e,r)=>{if(e.type.name===`heading`){let i=he(e.textContent,n);if(!i)return;t.push(mt.node(r,r+e.nodeSize,{id:i}))}}),$e.create(e.doc,t)}}})]}});function JR(e){let t=(0,$.c)(8),{node:n,editor:r}=e,i=n.attrs.src,a=n.attrs.alt,o=n.attrs.title,s;if(t[0]!==r||t[1]!==i){let e=r?vv(r)??void 0:void 0;s=typeof i==`string`?ve(nt(i,e)):void 0,t[0]=r,t[1]=i,t[2]=s}else s=t[2];let c=s,l=typeof a==`string`?a:``,u=typeof o==`string`?o:void 0,d;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(d={sizes:void 0},t[3]=d):d=t[3];let f;return t[4]!==l||t[5]!==c||t[6]!==u?(f=(0,Z.jsx)(Pu,{as:`span`,"data-image-inline-zoom":!0,"data-clipboard-inline-leaf":`image`,children:(0,Z.jsx)(bb,{wrapElement:`span`,zoomMargin:20,zoomImg:d,children:(0,Z.jsx)(`img`,{src:c,alt:l,title:u})})}),t[4]=l,t[5]=c,t[6]=u,t[7]=f):f=t[7],f}var YR=g.extend({addNodeView(){return Hu(JR)}});function XR(e,t){let n=e;for(;n&&typeof n.hasAttribute==`function`;){if(n.hasAttribute(`data-wiki-embed`)){let e=n.getAttribute(`data-target`)??``;if(!e)return null;let r=Qe(e,t);return r?{kind:n.tagName===`IMG`?`image`:`asset`,relPath:r,title:r.split(`/`).pop()??e}:null}if(n.hasAttribute(`data-wiki-link`)){let e=n.getAttribute(`data-target`)??``;return e?{kind:`wiki-link`,relPath:`${e}.md`,title:e}:null}if(n.tagName===`A`&&n.hasAttribute(`href`)){let e=W(n.getAttribute(`href`)??``,t);if(e?.kind===`asset`){let n=Qe(e.url,t);return n?{kind:`asset`,relPath:n,title:n.split(`/`).pop()??e.url}:null}}if(n.tagName===`IMG`){let e=n.getAttribute(`src`)??``;if(e){let n=W(e,t);if(n?.kind===`asset`){let e=Qe(n.url,t);return e?{kind:`image`,relPath:e,title:e.split(`/`).pop()??n.url}:null}}}n=n.parentElement}return null}var ZR=new Re(`asset-context-menu`);function QR(e){return new Ut({key:ZR,view(t){let n=e.showAssetMenu??(e=>{let t=globalThis.window?.okDesktop;return t?t.shell.showAssetMenu({relPath:e.relPath,title:e.title,kind:e.kind}):Promise.resolve()}),r=t=>{if(!(t.target instanceof Element))return;let r=XR(t.target,e.sourceDocName);r&&(t.preventDefault(),n(r))};return t.dom.addEventListener(`contextmenu`,r),{destroy(){t.dom.removeEventListener(`contextmenu`,r)}}}})}var $R=e=>{let t=(0,$.c)(18),{kind:n,ariaLabel:r,onDeactivate:i,children:a,triggerReference:o,layout:s,className:c,"data-slot":l}=e,u=s===void 0?`standard`:s,d=(0,Q.useRef)(null),f,p;t[0]===o?(f=t[1],p=t[2]):(f=()=>{let e=d.current;if(e)return ui(o,e,()=>{let t=o.getBoundingClientRect();e.isConnected&&(e.style.left=`${t.left}px`,e.style.top=`${t.top}px`,e.style.width=`${t.width}px`,e.style.height=`${t.height}px`)})},p=[o],t[0]=o,t[1]=f,t[2]=p),(0,Q.useLayoutEffect)(f,p);let m;t[3]===i?m=t[4]:(m=e=>{e||i()},t[3]=i,t[4]=m);let h;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,Z.jsx)(If,{asChild:!0,children:(0,Z.jsx)(`span`,{ref:d,"aria-hidden":`true`,style:{position:`fixed`,pointerEvents:`none`,left:`-9999px`,top:`-9999px`,width:0,height:0}})}),t[5]=h):h=t[5];let g=u===`wide`?`w-[min(720px,calc(100%-1rem))]`:`w-80`,_;t[6]!==c||t[7]!==g?(_=Qt(`ok-interaction-prop-panel pointer-events-auto p-3`,g,c),t[6]=c,t[7]=g,t[8]=_):_=t[8];let v;t[9]!==r||t[10]!==a||t[11]!==l||t[12]!==n||t[13]!==_?(v=(0,Z.jsx)(Ff,{side:`bottom`,align:`start`,sideOffset:8,collisionPadding:8,"aria-label":r,"data-ok-prop-panel":n,"data-slot":l,onOpenAutoFocus:ez,onCloseAutoFocus:tz,onPointerDownOutside:nz,onFocusOutside:rz,onInteractOutside:iz,className:_,children:a}),t[9]=r,t[10]=a,t[11]=l,t[12]=n,t[13]=_,t[14]=v):v=t[14];let y;return t[15]!==m||t[16]!==v?(y=(0,Z.jsxs)(Nf,{open:!0,onOpenChange:m,children:[h,v]}),t[15]=m,t[16]=v,t[17]=y):y=t[17],y};function ez(e){return e.preventDefault()}function tz(e){return e.preventDefault()}function nz(e){e.target?.closest(`[data-ok-layer-spawned]`)&&e.preventDefault()}function rz(e){e.target?.closest(`[data-ok-layer-spawned]`)&&e.preventDefault()}function iz(e){e.target?.closest(`[data-ok-layer-spawned]`)&&e.preventDefault()}function az(e){let t=e.trim();return/\.(md|mdx)$/i.test(t)?t:`${t}.md`}function oz(e){let t=e.initialDir.trim().replace(/^\/+|\/+$/g,``),n=az(e.suggestedName);return t?`${t}/${n}`:n}async function sz(e){let t=await Lf(await fetch(`/api/create-page`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({path:e})}),`Failed to create page`);if(!t.ok)throw Error(t.title);let n=e.replace(/\.(mdx|md)$/i,``);return{docName:Rf(pe,t.body,`create-page`,{docName:n}).docName}}async function cz(e){return sz(oz(e))}async function lz(e,t){let{docName:n}=await cz(e);return t.addPage(n),Di([`files`,`backlinks`,`graph`]),t.onCreated?.(n),{docName:n}}var uz=8;function dz(e){return e.trim().replace(/^\/+/,``).replace(/\.mdx?$/i,``).replace(/\/+$/g,``)}function fz(e){return pz(e)?dz(e.slice(1)).toLowerCase():null}function pz(e){return e.startsWith(`/`)&&!e.startsWith(`//`)}function mz(e){return e.split(`/`).at(-1)??e}function hz(e,t){if(!t)return 0;let n=e.toLowerCase(),r=mz(e).toLowerCase();return n===t?0:r===t?1:n.startsWith(t)?2:r.startsWith(t)?3:r.includes(t)?4:n.includes(t)?5:null}function gz(e){switch(e){case`page`:return 0;case`folder`:return 1;case`asset`:return 2}}function _z(e){let t=[],n=new Set;function r(e,r){let i=dz(r);if(!i)return;let a=`${e}:${i.toLowerCase()}`;n.has(a)||(n.add(a),t.push({kind:e,path:i}))}for(let t of e.pages)r(`page`,t);for(let t of e.folderPaths??[])r(`folder`,t);if(e.includeAssets)for(let t of e.assetPaths??[])r(`asset`,t);return t}function vz(e){let t=fz(e.value);if(t===null)return[];let n=[];for(let r of _z(e)){let e=hz(r.path,t);e!==null&&n.push({suggestion:r,score:e})}return n.sort((e,t)=>{if(e.score!==t.score)return e.score-t.score;let n=gz(e.suggestion.kind)-gz(t.suggestion.kind);return n===0?e.suggestion.path.localeCompare(t.suggestion.path):n}),n.slice(0,e.limit??uz).map(e=>e.suggestion)}var yz=`[data-ok-link-path-suggestion-panel]`;function bz(e){return e instanceof Element&&e.closest(yz)!==null}function xz(e){bz(e.target)&&e.preventDefault()}function Sz(e){switch(e.kind){case`page`:return(0,Z.jsx)(Ed,{className:`size-3.5`,docExt:`.md`,kind:`file`,path:e.path});case`folder`:return(0,Z.jsx)(Ed,{className:`size-3.5`,kind:`folder`,path:e.path});case`asset`:return(0,Z.jsx)(Ed,{bodyIndexed:!1,className:`size-3.5`,kind:`file`,path:e.path})}}function Cz(e,t){if(e){if(typeof e==`function`){e(t);return}e.current=t}}function wz(e){let t=(0,$.c)(54),n,r,i,a,o,c,l,u,d,f,p,m,h,g;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],c=t[6],l=t[7],u=t[8],d=t[9],f=t[10],p=t[11],m=t[12],h=t[13],g=t[14]):({value:g,pages:f,folderPaths:i,assetPaths:n,includeAssets:m,loading:h,onValueChange:d,onKeyDown:l,onSuggestionSelect:u,onFocus:c,onBlur:o,className:r,ref:p,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=c,t[7]=l,t[8]=u,t[9]=d,t[10]=f,t[11]=p,t[12]=m,t[13]=h,t[14]=g);let _=m===void 0?!1:m,v=h===void 0?!1:h,{_:y}=s(),[b,x]=(0,Q.useState)(!1),[S,C]=(0,Q.useState)(!1),[w,T]=(0,Q.useState)(0),E=(0,Q.useRef)(null),D=(0,Q.useRef)(null),O=(0,Q.useId)(),k;t[15]===g?k=t[16]:(k=g.trim(),t[15]=g,t[16]=k);let A=k===``,j=vz({value:A?`/`:g,pages:f,folderPaths:i,assetPaths:n,includeAssets:_}),M=j.map(kz).join(`\0`),N;t[17]===g?N=t[18]:(N=pz(g),t[17]=g,t[18]=N);let P=A||N,F=j.length>0,I=b&&!S&&P&&(F||v),L=I||b&&!S&&P&&!v&&!F,ee=Math.min(w,Math.max(j.length-1,0)),R=F?`${O}-option-${ee}`:void 0,z;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(z=()=>{T(0)},t[19]=z):z=t[19],(0,Q.useEffect)(z,[M]);let B,V;t[20]!==R||t[21]!==L?(B=()=>{!L||!R||document.getElementById(R)?.scrollIntoView?.({block:`nearest`})},V=[R,L],t[20]=R,t[21]=L,t[22]=B,t[23]=V):(B=t[22],V=t[23]),(0,Q.useEffect)(B,V);let H,U;t[24]===L?(H=t[25],U=t[26]):(H=()=>{if(!L)return;let e=E.current,t=D.current;if(!e||!t)return;let n=e,r=t,i=function(){mi(n,r,{placement:`bottom-start`,strategy:`fixed`,middleware:[_i(4),bi({padding:8}),hi({padding:8}),fi({padding:8,apply(e){let{availableHeight:t,availableWidth:n,elements:r}=e;Object.assign(r.floating.style,{width:`${Math.min(480,n)}px`,maxHeight:`${Math.min(208,Math.max(96,t))}px`})}})]}).then(e=>{let{x:t,y:n}=e;r.isConnected&&Object.assign(r.style,{left:`${t}px`,top:`${n}px`})}).catch(e=>{r.isConnected&&console.warn(`[LinkPathSuggestionInput] computePosition failed`,e)})},a=ui(n,r,i);return i(),a},U=[L],t[24]=L,t[25]=H,t[26]=U),(0,Q.useLayoutEffect)(H,U);let W;t[27]===p?W=t[28]:(W=function(e){E.current=e,Cz(p,e)},t[27]=p,t[28]=W);let te=W,G=function(e){u?u(e):d(e.path),C(!0),requestAnimationFrame(()=>E.current?.focus())},ne=function(e){if(I&&F){if(e.key===`ArrowDown`){e.preventDefault(),T(e=>Math.min(e+1,j.length-1));return}if(e.key===`ArrowUp`){e.preventDefault(),T(Oz);return}if(e.key===`Enter`){e.preventDefault();let t=j[ee];t&&G(t);return}if(e.key===`Escape`){e.preventDefault(),C(!0);return}}if(L&&e.key===`Escape`){e.preventDefault(),C(!0);return}l?.(e)},K;t[29]===y?K=t[30]:(K=function(e){switch(e){case`page`:return y({id:`6WdDG7`});case`folder`:return y({id:`kNqMMd`});case`asset`:return y({id:`bUUVED`})}},t[29]=y,t[30]=K);let re=K,ie=L?(0,Z.jsx)(`div`,{ref:D,id:O,role:`listbox`,"aria-label":y({id:`mBltnd`}),"data-ok-layer-spawned":``,"data-ok-link-path-suggestion-panel":``,className:`fixed z-70 max-h-52 overflow-y-auto overscroll-y-contain rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md subtle-scrollbar pointer-events-auto`,onWheel:Dz,onTouchMove:Ez,children:F?j.map((e,t)=>{let n=t===ee,r=re(e.kind);return(0,Z.jsxs)(nn,{id:`${O}-option-${t}`,type:`button`,role:`option`,"aria-label":`/${e.path} ${r}`,"aria-selected":n,variant:`ghost`,className:Qt(`h-auto w-full justify-start gap-2 rounded-sm px-2 py-1.5 text-left font-normal`,n&&`bg-accent text-accent-foreground`),onMouseDown:Tz,onClick:()=>G(e),children:[Sz(e),(0,Z.jsxs)(`span`,{className:`min-w-0 flex-1 truncate`,children:[`/`,e.path]}),(0,Z.jsx)(`span`,{className:`shrink-0 text-muted-foreground text-xs`,children:r})]},`${e.kind}:${e.path}`)}):(0,Z.jsx)(`div`,{role:`status`,className:`px-2 py-1.5 text-muted-foreground text-sm`,children:y(v?{id:`sxTdZI`}:{id:`_QwkMu`})})}):null,ae;t[31]===d?ae=t[32]:(ae=e=>{C(!1),d(e.target.value)},t[31]=d,t[32]=ae);let oe;t[33]===c?oe=t[34]:(oe=e=>{x(!0),c?.(e)},t[33]=c,t[34]=oe);let q;t[35]===o?q=t[36]:(q=e=>{x(!1),o?.(e)},t[35]=o,t[36]=q);let se=L?O:void 0,ce;t[37]!==R||t[38]!==r||t[39]!==ne||t[40]!==a||t[41]!==te||t[42]!==L||t[43]!==ae||t[44]!==oe||t[45]!==q||t[46]!==se||t[47]!==g?(ce=(0,Z.jsx)(xi,{...a,ref:te,value:g,onChange:ae,onFocus:oe,onBlur:q,onKeyDown:ne,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":L,"aria-controls":se,"aria-activedescendant":R,autoComplete:`off`,className:r}),t[37]=R,t[38]=r,t[39]=ne,t[40]=a,t[41]=te,t[42]=L,t[43]=ae,t[44]=oe,t[45]=q,t[46]=se,t[47]=g,t[48]=ce):ce=t[48];let le;t[49]===ie?le=t[50]:(le=ie&&(0,Qo.createPortal)(ie,document.body),t[49]=ie,t[50]=le);let ue;return t[51]!==ce||t[52]!==le?(ue=(0,Z.jsxs)(`div`,{className:`relative`,children:[ce,le]}),t[51]=ce,t[52]=le,t[53]=ue):ue=t[53],ue}function Tz(e){return e.preventDefault()}function Ez(e){e.stopPropagation()}function Dz(e){e.stopPropagation()}function Oz(e){return Math.max(e-1,0)}function kz(e){return`${e.kind}:${e.path}`}var Az=1500;async function jz(e){if(typeof navigator>`u`||!navigator.clipboard?.writeText)throw Error(`clipboard unavailable`);await navigator.clipboard.writeText(e)}function Mz(e){let t=(0,$.c)(20),{copyContent:n,clipboardWrite:r,initialCopied:i}=e,a=r===void 0?jz:r,o=i===void 0?!1:i,{_:c}=s(),[l,u]=(0,Q.useState)(+!!o),d=l>0,f,p;t[0]===l?(f=t[1],p=t[2]):(f=()=>{if(l===0)return;let e=setTimeout(()=>u(0),Az);return()=>clearTimeout(e)},p=[l],t[0]=l,t[1]=f,t[2]=p),(0,Q.useEffect)(f,p);let m;t[3]!==a||t[4]!==n?(m=()=>{Promise.resolve().then(()=>a(n)).then(()=>u(Pz),Nz)},t[3]=a,t[4]=n,t[5]=m):m=t[5];let h=m,g;t[6]!==c||t[7]!==d?(g=c(d?{id:`PiH3UR`}:{id:`he3ygx`}),t[6]=c,t[7]=d,t[8]=g):g=t[8];let _=g,v;t[9]===d?v=t[10]:(v=d?(0,Z.jsx)(rn,{className:`size-3.5`,"aria-hidden":`true`}):(0,Z.jsx)(mn,{className:`size-3.5`,"aria-hidden":`true`}),t[9]=d,t[10]=v);let y;t[11]!==h||t[12]!==_||t[13]!==v?(y=(0,Z.jsx)(Rr,{asChild:!0,children:(0,Z.jsx)(nn,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":_,onClick:h,children:v})}),t[11]=h,t[12]=_,t[13]=v,t[14]=y):y=t[14];let b;t[15]===_?b=t[16]:(b=(0,Z.jsx)(zr,{children:_}),t[15]=_,t[16]=b);let x;return t[17]!==y||t[18]!==b?(x=(0,Z.jsxs)(Br,{children:[y,b]}),t[17]=y,t[18]=b,t[19]=x):x=t[19],x}function Nz(){}function Pz(e){return e+1}function Fz(e,t){return Qv.getState(e)?.byId.get(t)??null}function Iz(e){let{editor:t,layer:n,renderPropPanel:r,handlePrimary:i}=e;return{onRegister:e=>{n.register({type:e.markType,nodeId:e.id,controls:{propPanel:e=>r({editor:t,nodeId:e.nodeId,deactivate:e.deactivate})},handlePrimary:i?e=>i({editor:t,nodeId:e.nodeId,newTab:e.newTab}):void 0})},onDeregister:e=>{n.deregister(e)}}}function Lz(e){let{editor:t,layer:n,markTypes:r,predicate:i,renderPropPanel:a,handlePrimary:o}=e,s=Iz({editor:t,layer:n,renderPropPanel:a,handlePrimary:o});return iy({markTypes:[...r],predicate:i,onRegister:s.onRegister,onDeregister:s.onDeregister})}function Rz(e){let t=vy(e.editor);return Lz({...e,layer:t})}function zz(e,t){let n=(0,$.c)(4),[r,i]=(0,Q.useState)(null),a,o;return n[0]!==e||n[1]!==t?(a=()=>{if(!t||!e){i(null);return}let n=!1;return i(null),dI(e).then(e=>{n||i(e)}).catch(()=>{n||i([])}),()=>{n=!0}},o=[e,t],n[0]=e,n[1]=t,n[2]=a,n[3]=o):(a=n[2],o=n[3]),(0,Q.useEffect)(a,o),r}function Bz(e,t){let n=e.trim();return n?n.startsWith(`#`)?`anchor`:N(n)?`external`:`doc`:t}function Vz(e){return e?.kind===`doc`?`doc`:e?.kind===`anchor`?`anchor`:`external`}function Hz(e){let t=(0,$.c)(84),{open:n,href:r,text:i,pages:a,folderPaths:c,loading:l,onOpenChange:u,onSave:d}=e,[f,p]=(0,Q.useState)(``),[m,h]=(0,Q.useState)(``),[g,_]=(0,Q.useState)(``),[v,y]=(0,Q.useState)(`doc`),b=(0,Q.useId)(),x=(0,Q.useId)(),S=(0,Q.useId)(),C=(0,Q.useId)(),{_:w}=s(),T=(0,Q.useRef)(!1),E=(0,Q.useRef)(``),D,O;t[0]!==r||t[1]!==n||t[2]!==i?(D=()=>{if(!n){T.current=!1;return}if(T.current)return;T.current=!0,E.current=i,_(i);let e=cF(r);if(y(Vz(e)),e?.kind===`doc`){p(e.docName),h(e.anchor??``);return}if(e?.kind===`anchor`){p(`#${e.anchor}`),h(``);return}p(e?.kind===`external`?e.url:r),h(``)},O=[n,r,i],t[0]=r,t[1]=n,t[2]=i,t[3]=D,t[4]=O):(D=t[3],O=t[4]),(0,Q.useEffect)(D,O);let k,A,j;t[5]!==v||t[6]!==f||t[7]!==a?(k=Ni(f),A=v===`doc`,j=A&&jv(k,a),t[5]=v,t[6]=f,t[7]=a,t[8]=k,t[9]=A,t[10]=j):(k=t[8],A=t[9],j=t[10]);let M=zz(k,j&&n),N=!!M?.length,P;t[11]!==k||t[12]!==A||t[13]!==m||t[14]!==g||t[15]!==f||t[16]!==u||t[17]!==d?(P=function(){let e=f.trim();e&&(d(A?yF(k,m.trim()||null):e,g,g.trim()!==E.current.trim()),u(!1))},t[11]=k,t[12]=A,t[13]=m,t[14]=g,t[15]=f,t[16]=u,t[17]=d,t[18]=P):P=t[18];let F=P,I;t[19]===F?I=t[20]:(I=function(e){e.key===`Enter`&&(e.preventDefault(),F())},t[19]=F,t[20]=I);let L=I,ee;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(ee=function(e){p(e.path),y(`doc`),h(``)},t[21]=ee):ee=t[21];let R=ee,z;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,Z.jsx)(qr,{children:(0,Z.jsx)(o,{id:`B11p-O`})}),t[22]=z):z=t[22];let B;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,Z.jsxs)(ai,{children:[z,(0,Z.jsx)(Kr,{children:(0,Z.jsx)(o,{id:`RobAKV`})})]}),t[23]=B):B=t[23];let V;t[24]===A?V=t[25]:(V=A?(0,Z.jsx)(o,{id:`6WdDG7`}):(0,Z.jsx)(o,{id:`6vEr3W`}),t[24]=A,t[25]=V);let H;t[26]!==V||t[27]!==b?(H=(0,Z.jsx)(`label`,{className:`mb-1.5 inline-block text-sm font-medium`,htmlFor:b,children:V}),t[26]=V,t[27]=b,t[28]=H):H=t[28];let U;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(U=e=>{p(e),y(t=>Bz(e,t))},t[29]=U):U=t[29];let W;t[30]===w?W=t[31]:(W=w({id:`Xl-UUg`}),t[30]=w,t[31]=W);let te;t[32]!==f||t[33]!==c||t[34]!==L||t[35]!==l||t[36]!==a||t[37]!==W||t[38]!==b?(te=(0,Z.jsx)(wz,{id:b,value:f,pages:a,folderPaths:c,loading:l,onValueChange:U,onSuggestionSelect:R,placeholder:W,autoFocus:!0,onKeyDown:L}),t[32]=f,t[33]=c,t[34]=L,t[35]=l,t[36]=a,t[37]=W,t[38]=b,t[39]=te):te=t[39];let G;t[40]!==H||t[41]!==te?(G=(0,Z.jsxs)(`div`,{children:[H,te]}),t[40]=H,t[41]=te,t[42]=G):G=t[42];let ne;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(ne=(0,Z.jsx)(o,{id:`QqBQu1`,components:{0:(0,Z.jsx)(`span`,{className:`font-normal text-muted-foreground`})}}),t[43]=ne):ne=t[43];let K;t[44]===S?K=t[45]:(K=(0,Z.jsx)(`label`,{className:`mb-1.5 inline-block text-sm font-medium`,htmlFor:S,children:ne}),t[44]=S,t[45]=K);let re;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(re=e=>_(e.target.value),t[46]=re):re=t[46];let ie;t[47]===w?ie=t[48]:(ie=w({id:`yYR6za`}),t[47]=w,t[48]=ie);let ae;t[49]!==g||t[50]!==L||t[51]!==S||t[52]!==ie?(ae=(0,Z.jsx)(xi,{id:S,value:g,onChange:re,placeholder:ie,onKeyDown:L}),t[49]=g,t[50]=L,t[51]=S,t[52]=ie,t[53]=ae):ae=t[53];let oe;t[54]!==K||t[55]!==ae?(oe=(0,Z.jsxs)(`div`,{children:[K,ae]}),t[54]=K,t[55]=ae,t[56]=oe):oe=t[56];let q;t[57]!==w||t[58]!==x||t[59]!==A||t[60]!==m||t[61]!==L||t[62]!==C||t[63]!==M||t[64]!==N?(q=A?(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`label`,{className:`mb-1.5 inline-block text-sm font-medium`,htmlFor:x,children:(0,Z.jsx)(o,{id:`Tjc1pH`,components:{0:(0,Z.jsx)(`span`,{className:`font-normal text-muted-foreground`})}})}),(0,Z.jsx)(xi,{id:x,value:m,onChange:e=>h(e.target.value),placeholder:w({id:`W-ntoW`}),onKeyDown:L}),N?(0,Z.jsx)(`div`,{id:C,className:`mt-1.5 max-h-36 overflow-y-auto subtle-scrollbar rounded-md border border-border bg-muted/30`,children:M.map(e=>(0,Z.jsxs)(`button`,{type:`button`,"aria-pressed":m===e.slug,className:Qt(`flex w-full items-center gap-2 px-2 py-1 text-left text-sm hover:bg-accent hover:text-accent-foreground`,m===e.slug&&`bg-accent text-accent-foreground`),style:{paddingLeft:`${(e.level-1)*12+8}px`},onClick:()=>h(m===e.slug?``:e.slug),children:[(0,Z.jsxs)(`span`,{className:`w-7 shrink-0 font-mono text-[10px] text-muted-foreground`,children:[`H`,e.level]}),(0,Z.jsx)(`span`,{className:`truncate`,children:e.text})]},`${e.slug}-${e.level}-${e.text}`))}):null]}):null,t[57]=w,t[58]=x,t[59]=A,t[60]=m,t[61]=L,t[62]=C,t[63]=M,t[64]=N,t[65]=q):q=t[65];let se;t[66]!==G||t[67]!==oe||t[68]!==q?(se=(0,Z.jsxs)(ti,{className:`space-y-6 pb-1`,children:[G,oe,q]}),t[66]=G,t[67]=oe,t[68]=q,t[69]=se):se=t[69];let ce;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(ce=(0,Z.jsx)(ii,{asChild:!0,children:(0,Z.jsx)(nn,{variant:`outline`,children:(0,Z.jsx)(o,{id:`dEgA5A`})})}),t[70]=ce):ce=t[70];let le;t[71]===f?le=t[72]:(le=f.trim(),t[71]=f,t[72]=le);let ue=!le,de;t[73]===Symbol.for(`react.memo_cache_sentinel`)?(de=(0,Z.jsx)(o,{id:`tfDRzk`}),t[73]=de):de=t[73];let fe;t[74]!==F||t[75]!==ue?(fe=(0,Z.jsxs)(ni,{children:[ce,(0,Z.jsx)(nn,{onClick:F,disabled:ue,children:de})]}),t[74]=F,t[75]=ue,t[76]=fe):fe=t[76];let pe;t[77]!==se||t[78]!==fe?(pe=(0,Z.jsxs)(Qr,{className:`sm:max-w-xl`,"data-ok-layer-spawned":``,onPointerDownOutside:xz,onFocusOutside:xz,onInteractOutside:xz,children:[B,se,fe]}),t[77]=se,t[78]=fe,t[79]=pe):pe=t[79];let me;return t[80]!==u||t[81]!==n||t[82]!==pe?(me=(0,Z.jsx)(oi,{open:n,onOpenChange:u,children:pe}),t[80]=u,t[81]=n,t[82]=pe,t[83]=me):me=t[83],me}function Uz(e){let t=(0,$.c)(99),{editor:n,nodeId:r,sourceDocName:i,onClose:a,onNavigate:c}=e,l=Fz(n.state,r),u=l?.attrs?.href??``,[d,f]=(0,Q.useState)(!1),[p,m]=(0,Q.useState)(!1),h;t[0]!==r||t[1]!==f?(h=()=>{Zv(r)&&f(!0)},t[0]=r,t[1]=f,t[2]=h):h=t[2];let g;t[3]===r?g=t[4]:(g=[r],t[3]=r,t[4]=g),(0,Q.useEffect)(h,g);let{addPage:_,folderPaths:v,pages:y,loading:b}=ln(),{_:x}=s();if(!l)return null;let S=n.state.doc.textBetween(l.from,l.to),C=u?W(u,i):null,w;t[5]!==n||t[6]!==r?(w=function(e,t,i){let a=Fz(n.state,r);if(!a)return;let o=t.trim();if(!i||!o){n.chain().setTextSelection({from:a.from,to:a.to}).extendMarkRange(`link`).updateAttributes(`link`,{href:e}).run();return}let s=n.schema.marks.link;if(!s)return;let c=s.create({href:e}),l=n.schema.text(o,[c]);n.view.dispatch(n.state.tr.replaceWith(a.from,a.to,l))},t[5]=n,t[6]=r,t[7]=w):w=t[7];let T=w,E;t[8]!==n||t[9]!==r||t[10]!==a?(E=function(){let e=Fz(n.state,r);e&&(n.chain().focus().setTextSelection({from:e.from,to:e.to}).extendMarkRange(`link`).unsetLink().run(),a())},t[8]=n,t[9]=r,t[10]=a,t[11]=E):E=t[11];let D=E,O;t[12]!==n||t[13]!==r||t[14]!==a||t[15]!==f?(O=function(e){if(e){f(!0);return}let t=Fz(n.state,r);if(t?.attrs?.href??``){f(!1);return}t&&n.chain().focus().deleteRange({from:t.from,to:t.to}).run(),a()},t[12]=n,t[13]=r,t[14]=a,t[15]=f,t[16]=O):O=t[16];let k=(0,Z.jsx)(Hz,{open:d,href:u,text:S,pages:y,folderPaths:v,loading:b,onOpenChange:u?f:O,onSave:T});if(!u)return(0,Z.jsx)(Z.Fragment,{children:k});let A=C?.kind===`doc`?`${C.docName}${C.anchor?`#${C.anchor}`:``}`:C?.kind===`anchor`?`#${C.anchor}`:C?.kind===`external`?C.url:u,j=function(e){let t=Fz(n.state,r);t&&n.chain().setTextSelection({from:t.from,to:t.to}).extendMarkRange(`link`).updateAttributes(`link`,{href:yF(e,C?.kind===`doc`?C.anchor??null:null)}).run()},M,N=!1,P=!1,F=null;if(b){let e;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Cr,{className:`size-3.5 shrink-0 animate-spin`,"aria-hidden":`true`}),t[17]=e):e=t[17],M={icon:e,text:x({id:`yQE2r9`}),className:`text-muted-foreground/80`}}else if(C?.kind===`asset`){let e;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(co,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[18]=e):e=t[18],M={icon:e,text:x({id:`yWWThY`}),className:`text-muted-foreground`}}else if(C?.kind===`external`){let e;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(cn,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[19]=e):e=t[19],M={icon:e,text:x({id:`zgSFyG`}),className:`text-muted-foreground`}}else if(C?.kind===`anchor`){let e;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(co,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[20]=e):e=t[20],M={icon:e,text:x({id:`dprWmL`}),className:`text-muted-foreground`}}else if(C?.kind===`doc`){let e=XP(C.docName,{pages:y,folderPaths:v});if(P=e.kind===`navigate`&&e.displayState===`folder`,N=e.kind===`create`,F=e.kind===`create`?{initialDir:e.initialDir,suggestedName:e.suggestedName}:null,P){let e;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(br,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[21]=e):e=t[21],M={icon:e,text:x({id:`kNqMMd`}),className:`text-muted-foreground`}}else if(N){let e;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ya,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[22]=e):e=t[22],M={icon:e,text:x({id:`8F1i42`}),className:`text-red-700 dark:text-red-300`}}else{let e;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(co,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[23]=e):e=t[23],M={icon:e,text:x({id:`JtD-Br`}),className:`text-muted-foreground`}}}else{let e;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ya,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[24]=e):e=t[24],M={icon:e,text:x({id:`-g6KIS`}),className:`text-muted-foreground/80`}}let I=C?.kind===`external`,L=C?.kind===`doc`?lF({docName:C.docName,anchor:C.anchor}):C?.kind===`anchor`?lF({docName:i,anchor:C.anchor}):C?.kind===`external`&&oF(C.url)?C.url:null,ee=!b&&L!==null&&(C?.kind===`anchor`||C?.kind===`external`||C?.kind===`doc`&&!N&&!P),R;t[25]!==n.state||t[26]!==n.view||t[27]!==r?(R=()=>{let e=Fz(n.state,r);if(!e)return new DOMRect;try{return Pt(n.view,e.from,e.to)}catch{return new DOMRect}},t[25]=n.state,t[26]=n.view,t[27]=r,t[28]=R):R=t[28];let z;t[29]!==n.view.dom||t[30]!==R?(z={getBoundingClientRect:R,contextElement:n.view.dom},t[29]=n.view.dom,t[30]=R,t[31]=z):z=t[31];let B=z,V;t[32]!==x||t[33]!==_||t[34]!==p||t[35]!==F||t[36]!==a||t[37]!==j?(V=async function(){if(!(!F||p)){m(!0);try{await lz(F,{addPage:_,onCreated(e){j(e),window.location.hash=`#/${e}`,a()}}),m(!1)}catch(e){let t=e;Tr.error(t instanceof Error?t.message:x({id:`tfi40B`})),m(!1)}}},t[32]=x,t[33]=_,t[34]=p,t[35]=F,t[36]=a,t[37]=j,t[38]=V):V=t[38];let H=V,U=Qt(`flex shrink-0`,M.className),te;t[39]!==M.icon||t[40]!==U?(te=(0,Z.jsx)(`span`,{className:U,children:M.icon}),t[39]=M.icon,t[40]=U,t[41]=te):te=t[41];let G=te,ne;t[42]!==G||t[43]!==N||t[44]!==M.text?(ne=N?(0,Z.jsxs)(Br,{children:[(0,Z.jsx)(Rr,{asChild:!0,children:(0,Z.jsx)(`span`,{className:`flex shrink-0`,"data-slot":`internal-link-prop-panel-icon-trigger`,children:G})}),(0,Z.jsx)(zr,{children:M.text})]}):G,t[42]=G,t[43]=N,t[44]=M.text,t[45]=ne):ne=t[45];let K=ne,re=`${M.text}: ${A}`,ie;t[46]!==A||t[47]!==I||t[48]!==N||t[49]!==L||t[50]!==ee||t[51]!==a||t[52]!==c?(ie=(0,Z.jsx)(Rr,{asChild:!0,children:ee?(0,Z.jsx)(`a`,{href:L??void 0,...I?{target:`_blank`,rel:`noopener noreferrer`}:{},onClick:e=>gF(e,c,a),"data-slot":`internal-link-prop-panel-text`,className:`block truncate text-sm font-medium text-foreground underline-offset-2 hover:underline focus-visible:underline`,children:A}):(0,Z.jsx)(`span`,{"data-slot":`internal-link-prop-panel-text`,className:Qt(`block truncate text-sm font-medium`,N?`text-muted-foreground`:`text-foreground`),children:A})}),t[46]=A,t[47]=I,t[48]=N,t[49]=L,t[50]=ee,t[51]=a,t[52]=c,t[53]=ie):ie=t[53];let ae;t[54]===A?ae=t[55]:(ae=(0,Z.jsx)(zr,{className:`max-w-80 break-all`,children:A}),t[54]=A,t[55]=ae);let oe;t[56]!==ie||t[57]!==ae?(oe=(0,Z.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,Z.jsxs)(Br,{children:[ie,ae]})}),t[56]=ie,t[57]=ae,t[58]=oe):oe=t[58];let q;t[59]!==H||t[60]!==p||t[61]!==N?(q=N?(0,Z.jsxs)(nn,{type:`button`,size:`sm`,variant:`link`,disabled:p,onClick:()=>void H(),"data-slot":`internal-link-prop-panel-create`,className:`flex items-center text-foreground`,children:[(0,Z.jsx)(Mo,{className:`size-3.5`,"aria-hidden":`true`}),p?(0,Z.jsx)(o,{id:`HM56Bx`}):(0,Z.jsx)(o,{id:`XRuL0i`})]}):null,t[59]=H,t[60]=p,t[61]=N,t[62]=q):q=t[62];let se;t[63]===x?se=t[64]:(se=x({id:`ePK91l`}),t[63]=x,t[64]=se);let ce;t[65]===f?ce=t[66]:(ce=()=>f(!0),t[65]=f,t[66]=ce);let le;t[67]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,Z.jsx)(vn,{className:`size-3.5`,"aria-hidden":`true`}),t[67]=le):le=t[67];let ue;t[68]!==se||t[69]!==ce?(ue=(0,Z.jsx)(Rr,{asChild:!0,children:(0,Z.jsx)(nn,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":se,onClick:ce,"data-slot":`internal-link-prop-panel-edit`,children:le})}),t[68]=se,t[69]=ce,t[70]=ue):ue=t[70];let de;t[71]===Symbol.for(`react.memo_cache_sentinel`)?(de=(0,Z.jsx)(zr,{children:(0,Z.jsx)(o,{id:`ePK91l`})}),t[71]=de):de=t[71];let fe;t[72]===ue?fe=t[73]:(fe=(0,Z.jsxs)(Br,{children:[ue,de]}),t[72]=ue,t[73]=fe);let pe;t[74]===u?pe=t[75]:(pe=(0,Z.jsx)(Mz,{copyContent:u}),t[74]=u,t[75]=pe);let me;t[76]===x?me=t[77]:(me=x({id:`t_YqKh`}),t[76]=x,t[77]=me);let he;t[78]===Symbol.for(`react.memo_cache_sentinel`)?(he=(0,Z.jsx)(_n,{className:`size-3.5`,"aria-hidden":`true`}),t[78]=he):he=t[78];let ge;t[79]!==D||t[80]!==me?(ge=(0,Z.jsx)(Rr,{asChild:!0,children:(0,Z.jsx)(nn,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":me,onClick:D,"data-slot":`internal-link-prop-panel-remove`,children:he})}),t[79]=D,t[80]=me,t[81]=ge):ge=t[81];let _e;t[82]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,Z.jsx)(zr,{children:(0,Z.jsx)(o,{id:`t_YqKh`})}),t[82]=_e):_e=t[82];let ve;t[83]===ge?ve=t[84]:(ve=(0,Z.jsxs)(Br,{children:[ge,_e]}),t[83]=ge,t[84]=ve);let ye;t[85]!==q||t[86]!==fe||t[87]!==pe||t[88]!==ve?(ye=(0,Z.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[q,fe,pe,ve]}),t[85]=q,t[86]=fe,t[87]=pe,t[88]=ve,t[89]=ye):ye=t[89];let be;t[90]!==K||t[91]!==oe||t[92]!==ye?(be=(0,Z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[K,oe,ye]}),t[90]=K,t[91]=oe,t[92]=ye,t[93]=be):be=t[93];let xe;return t[94]!==a||t[95]!==re||t[96]!==be||t[97]!==B?(xe=(0,Z.jsx)($R,{kind:`internal-link`,ariaLabel:re,onDeactivate:a,triggerReference:B,className:`w-96`,children:be}),t[94]=a,t[95]=re,t[96]=be,t[97]=B,t[98]=xe):xe=t[98],(0,Z.jsxs)(Z.Fragment,{children:[k,xe]})}new Re(`markIdentityDecoration`);var Wz=`data-mark-id`,Gz=new Re(`linkResolutionDecoration`);function Kz(e,t,n,r,i){if(t.size===0)return null;let a=[];for(let e of t.values()){if(!n.has(e.markType))continue;let t=r(e,i),o={[Wz]:e.id};t!==null&&Object.assign(o,t),a.push(mt.inline(e.from,e.to,o))}return a.length===0?null:$e.create(e,a)}function qz(e){let t=new Set(e.markTypes),{computeAttrs:n}=e;return new Ut({key:Gz,state:{init:()=>({version:0}),apply(e,t){let n=e.getMeta(Gz);return n&&typeof n==`object`&&n.refresh?{version:t.version+1}:t}},props:{decorations(e){let r=Qv.getState(e);if(!r)return null;let i=dn();return Kz(e.doc,r.byId,t,n,i)}},view(e){Y(`ok/render/decoration-merge`,{markTypes:Array.from(t).join(`,`)},{startTime:performance.now(),duration:0});let n=pn(()=>{e.dispatch(e.state.tr.setMeta(Gz,{refresh:!0}))});return{destroy(){n()}}}})}var Jz=ye.extend({addOptions(){return{...this.parent?.(),docName:``}},renderHTML({HTMLAttributes:e}){let t=typeof e.href==`string`?e.href:``;return[`span`,dt(e,{"data-link":``,role:`link`,tabindex:`0`,"aria-label":t?`Link: ${t}`:`Link`,style:`touch-action: manipulation;`}),0]},addProseMirrorPlugins(){let e=this.options.docName??``,t=({editor:t,nodeId:n,newTab:r})=>{let i=Fz(t.state,n),a=i?.attrs?.href;if(typeof a!=`string`||!a)return!1;let o=i?.attrs?.sourceForm,s=W(a,e),c=et(a);if(s?.kind===`asset`||o===`wikiembed`&&c!==null){let t=s?.kind===`asset`?s.url:a,n=s?.kind===`asset`?s.ext:c??``,i=Qe(t,e);if(!i)return!1;let o=dn();return o===null||(o.assetPaths!==void 0||o.filePaths!==void 0)&&!QP(t,e,o.assetPaths,o.filePaths)?!1:(mF({url:t,projectRelPath:i,ext:n,title:i.split(`/`).pop()??t,newTab:r}),!0)}if(!s)return!1;switch(s.kind){case`doc`:{let e=dn(),t=XP(s.docName,{pages:e?.pages??new Set,folderPaths:e?.folderPaths??new Set});return t.kind===`create`||t.kind===`navigate`&&t.displayState===`folder`?!1:(r?fF({docName:s.docName,anchor:s.anchor}):window.location.assign(lF({docName:s.docName,anchor:s.anchor})),!0)}case`anchor`:return r?fF({docName:e,anchor:s.anchor}):window.location.assign(lF({docName:e,anchor:s.anchor})),!0;case`external`:return oF(s.url)?(uF(s.url),!0):!1;default:return ce(s)}};return[Rz({editor:this.editor,markTypes:[`link`],renderPropPanel:({editor:n,nodeId:r,deactivate:i})=>(0,Q.createElement)(Uz,{editor:n,nodeId:r,sourceDocName:e,onClose:i,onNavigate:e=>t({editor:n,nodeId:r,newTab:e})}),handlePrimary:t}),qz({markTypes:[`link`],computeAttrs:tF(e)}),QR({sourceDocName:e})]}}),Yz=(0,Q.createContext)(null),Xz={didCatch:!1,error:null},Zz=class extends Q.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Xz}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(...e){let{error:t}=this.state;t!==null&&(this.props.onReset?.({args:e,reason:`imperative-api`}),this.setState(Xz))}componentDidCatch(e,t){this.props.onError?.(e,t)}componentDidUpdate(e,t){let{didCatch:n}=this.state,{resetKeys:r}=this.props;n&&t.error!==null&&Qz(e.resetKeys,r)&&(this.props.onReset?.({next:r,prev:e.resetKeys,reason:`keys`}),this.setState(Xz))}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:r}=this.props,{didCatch:i,error:a}=this.state,o=e;if(i){let e={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof t==`function`)o=t(e);else if(n)o=(0,Q.createElement)(n,e);else if(r!==void 0)o=r;else throw a}return(0,Q.createElement)(Yz.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},o)}};function Qz(e=[],t=[]){return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}function $z(e){let t=(0,$.c)(23),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({label:i,Icon:n,onClick:a,selected:s,className:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=s?`true`:void 0,l;t[7]===a?l=t[8]:(l=e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),a())},t[7]=a,t[8]=l);let u;t[9]===r?u=t[10]:(u=Qt(`flex w-full items-center justify-center gap-2 rounded-md border border-dashed border-border bg-transparent px-3 py-2 text-center text-sm text-muted-foreground transition-colors hover:bg-muted/50 cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2`,r),t[9]=r,t[10]=u);let d;t[11]===n?d=t[12]:(d=(0,Z.jsx)(n,{size:16,"aria-hidden":`true`}),t[11]=n,t[12]=d);let f;t[13]===i?f=t[14]:(f=(0,Z.jsx)(`span`,{children:i}),t[13]=i,t[14]=f);let p;return t[15]!==a||t[16]!==o||t[17]!==c||t[18]!==l||t[19]!==u||t[20]!==d||t[21]!==f?(p=(0,Z.jsxs)(`div`,{...o,role:`button`,tabIndex:-1,contentEditable:!1,"data-descriptor-placeholder":``,"data-selected":c,onClick:a,onMouseDown:eB,onKeyDown:l,className:u,children:[d,f]}),t[15]=a,t[16]=o,t[17]=c,t[18]=l,t[19]=u,t[20]=d,t[21]=f,t[22]=p):p=t[22],p}function eB(e){e.preventDefault(),e.stopPropagation()}function tB(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Wc,{"data-slot":`select`,...n}),t[2]=n,t[3]=r),r}function nB(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Kc,{"data-slot":`select-value`,...n}),t[2]=n,t[3]=r),r}function rB(e){let t=(0,$.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,size:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`default`:a,s;t[5]===r?s=t[6]:(s=Qt(`flex w-full items-center justify-between gap-2 rounded-lg border border-input bg-background text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=default]:px-2.5 data-[size=sm]:px-2 data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,r),t[5]=r,t[6]=s);let c;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Z.jsx)(qc,{asChild:!0,children:(0,Z.jsx)(an,{className:`size-4 opacity-50`})}),t[7]=c):c=t[7];let l;return t[8]!==n||t[9]!==i||t[10]!==o||t[11]!==s?(l=(0,Z.jsxs)(Gc,{"data-slot":`select-trigger`,"data-size":o,className:s,...i,children:[n,c]}),t[8]=n,t[9]=i,t[10]=o,t[11]=s,t[12]=l):l=t[12],l}function iB(e){let t=(0,$.c)(20),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,position:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`popper`:a,s=o===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,c;t[5]!==r||t[6]!==s?(c=Qt(`relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border bg-popover text-popover-foreground shadow-md outline-hidden duration-100 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[align-trigger=true]:animate-none motion-reduce:data-open:animate-none motion-reduce:data-closed:animate-none motion-reduce:duration-0`,s,r),t[5]=r,t[6]=s,t[7]=c):c=t[7];let l;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsx)(oB,{}),t[8]=l):l=t[8];let u=o===`popper`&&`h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1`,d;t[9]===u?d=t[10]:(d=Qt(`p-1`,u),t[9]=u,t[10]=d);let f;t[11]!==n||t[12]!==d?(f=(0,Z.jsx)(Xc,{className:d,children:n}),t[11]=n,t[12]=d,t[13]=f):f=t[13];let p;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Z.jsx)(sB,{}),t[14]=p):p=t[14];let m;return t[15]!==o||t[16]!==i||t[17]!==c||t[18]!==f?(m=(0,Z.jsx)(Jc,{children:(0,Z.jsxs)(Yc,{"data-slot":`select-content`,"data-ok-layer-spawned":``,position:o,className:c,...i,children:[l,f,p]})}),t[15]=o,t[16]=i,t[17]=c,t[18]=f,t[19]=m):m=t[19],m}function aB(e){let t=(0,$.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=Qt(`relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(`span`,{className:`absolute right-2 flex size-3.5 items-center justify-center`,children:(0,Z.jsx)($c,{children:(0,Z.jsx)(rn,{className:`size-4`})})}),t[6]=o):o=t[6];let s;t[7]===n?s=t[8]:(s=(0,Z.jsx)(Qc,{children:n}),t[7]=n,t[8]=s);let c;return t[9]!==i||t[10]!==a||t[11]!==s?(c=(0,Z.jsxs)(Zc,{"data-slot":`select-item`,className:a,...i,children:[o,s]}),t[9]=i,t[10]=a,t[11]=s,t[12]=c):c=t[12],c}function oB(e){let t=(0,$.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Qt(`flex cursor-default items-center justify-center py-1`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(Ja,{className:`size-4`}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,Z.jsx)(el,{"data-slot":`select-scroll-up-button`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function sB(e){let t=(0,$.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=Qt(`flex cursor-default items-center justify-center py-1`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(an,{className:`size-4`}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,Z.jsx)(tl,{"data-slot":`select-scroll-down-button`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}function cB(e){let t=(0,$.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,size:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`default`:i,o;t[4]===n?o=t[5]:(o=Qt(`peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50`,n),t[4]=n,t[5]=o);let s;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Z.jsx)(ml,{"data-slot":`switch-thumb`,className:`pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground`}),t[6]=s):s=t[6];let c;return t[7]!==r||t[8]!==a||t[9]!==o?(c=(0,Z.jsx)(pl,{"data-slot":`switch`,"data-size":a,className:o,...r,children:s}),t[7]=r,t[8]=a,t[9]=o,t[10]=c):c=t[10],c}function lB(e){let t=e.trim();if(/^#[0-9a-fA-F]{6}$/.test(t))return t.toLowerCase();if(/^#[0-9a-fA-F]{3}$/.test(t)){let[,e,n,r]=t.match(/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/)??[];return`#${e}${e}${n}${n}${r}${r}`.toLowerCase()}return`#000000`}function uB(e){let t=(0,$.c)(36),{id:n,value:r,onChange:i,autoFocus:a}=e,o=(0,Q.useRef)(null),s;t[0]===i?s=t[1]:(s=e=>i(e.target.value),t[0]=i,t[1]=s);let c=a?``:void 0,l=r?`pl-7`:void 0,u;t[2]===l?u=t[3]:(u=Qt(`h-7 text-sm`,l),t[2]=l,t[3]=u);let d;t[4]!==a||t[5]!==n||t[6]!==s||t[7]!==c||t[8]!==u||t[9]!==r?(d=(0,Z.jsx)(xi,{id:n,type:`text`,value:r,placeholder:`#F05032 or rgb(240,80,50)`,onChange:s,autoFocus:a,"data-prop-autofocus":c,className:u,"data-color-picker-input":``}),t[4]=a,t[5]=n,t[6]=s,t[7]=c,t[8]=u,t[9]=r,t[10]=d):d=t[10];let f;t[11]===r?f=t[12]:(f=r&&(0,Z.jsx)(`span`,{style:{backgroundColor:r},className:`pointer-events-none absolute left-2 top-1/2 size-3.5 -translate-y-1/2 rounded-sm border border-border`,"aria-hidden":`true`,"data-color-picker-swatch":``}),t[11]=r,t[12]=f);let p;t[13]!==d||t[14]!==f?(p=(0,Z.jsxs)(`div`,{className:`relative flex-1`,children:[d,f]}),t[13]=d,t[14]=f,t[15]=p):p=t[15];let m;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(m=()=>o.current?.click(),t[16]=m):m=t[16];let h=r||`transparent`,g;t[17]===h?g=t[18]:(g=(0,Z.jsx)(nn,{type:`button`,variant:`outline`,size:`xs`,"aria-label":`Choose color`,"data-color-picker-trigger":``,className:`h-7 gap-1 px-2`,onClick:m,children:(0,Z.jsx)(`span`,{style:{backgroundColor:h},className:`size-3.5 rounded-sm border border-border`,"aria-hidden":`true`})}),t[17]=h,t[18]=g);let _;t[19]===r?_=t[20]:(_=lB(r),t[19]=r,t[20]=_);let v;t[21]===i?v=t[22]:(v=e=>i(e.target.value),t[21]=i,t[22]=v);let y;t[23]!==_||t[24]!==v?(y=(0,Z.jsx)(`input`,{ref:o,type:`color`,value:_,onChange:v,tabIndex:-1,"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 size-7 opacity-0`,"data-color-picker-native":``}),t[23]=_,t[24]=v,t[25]=y):y=t[25];let b;t[26]!==g||t[27]!==y?(b=(0,Z.jsxs)(`div`,{className:`relative`,children:[g,y]}),t[26]=g,t[27]=y,t[28]=b):b=t[28];let x;t[29]!==i||t[30]!==r?(x=r&&(0,Z.jsx)(nn,{type:`button`,variant:`ghost`,size:`xs`,"aria-label":`Clear color`,"data-color-picker-clear":``,className:`h-7 px-1.5`,onClick:()=>i(``),children:(0,Z.jsx)(to,{className:`size-3`,"aria-hidden":`true`})}),t[29]=i,t[30]=r,t[31]=x):x=t[31];let S;return t[32]!==b||t[33]!==x||t[34]!==p?(S=(0,Z.jsxs)(`div`,{className:`flex gap-1`,children:[p,b,x]}),t[32]=b,t[33]=x,t[34]=p,t[35]=S):S=t[35],S}function dB(e){let t=(0,$.c)(43),{id:n,value:r,onChange:i,autoFocus:a}=e,[o,s]=(0,Q.useState)(!1),c;t[0]===r?c=t[1]:(c=Cy(r),t[0]=r,t[1]=c);let l=c,u;t[2]===r?u=t[3]:(u=r.startsWith(`lucide:`)?r.slice(7):null,t[2]=r,t[3]=u);let d=u,f;t[4]===i?f=t[5]:(f=e=>i(e.target.value),t[4]=i,t[5]=f);let p=a?``:void 0,m=l?`pl-7`:void 0,h;t[6]===m?h=t[7]:(h=Qt(`h-7 text-sm`,m),t[6]=m,t[7]=h);let g;t[8]!==a||t[9]!==n||t[10]!==f||t[11]!==p||t[12]!==h||t[13]!==r?(g=(0,Z.jsx)(xi,{id:n,type:`text`,value:r,placeholder:`lucide:Lightbulb or 📘`,onChange:f,autoFocus:a,"data-prop-autofocus":p,className:h,"data-icon-picker-input":``}),t[8]=a,t[9]=n,t[10]=f,t[11]=p,t[12]=h,t[13]=r,t[14]=g):g=t[14];let _;t[15]===l?_=t[16]:(_=l&&(0,Z.jsx)(l,{className:`pointer-events-none absolute left-2 top-1/2 size-3.5 -translate-y-1/2 text-muted-foreground`,"aria-hidden":`true`}),t[15]=l,t[16]=_);let v;t[17]!==g||t[18]!==_?(v=(0,Z.jsxs)(`div`,{className:`relative flex-1`,children:[g,_]}),t[17]=g,t[18]=_,t[19]=v):v=t[19];let y;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Z.jsx)(an,{className:`size-3`,"aria-hidden":`true`}),t[20]=y):y=t[20];let b;t[21]===o?b=t[22]:(b=(0,Z.jsx)(Pf,{asChild:!0,children:(0,Z.jsx)(nn,{type:`button`,variant:`outline`,size:`xs`,"aria-label":`Choose icon`,"aria-haspopup":`listbox`,"aria-expanded":o,"data-icon-picker-trigger":``,className:`h-7 gap-1 px-2`,children:y})}),t[21]=o,t[22]=b);let x;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Z.jsx)(Df,{placeholder:`Search icons...`,className:`h-8 text-sm`}),t[23]=x):x=t[23];let S;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,Z.jsx)(kf,{children:`No icons match.`}),t[24]=S):S=t[24];let C;t[25]!==i||t[26]!==r.length?(C=r.length>0&&(0,Z.jsx)(Af,{children:(0,Z.jsxs)(jf,{value:`__clear__`,onSelect:()=>{i(``),s(!1)},className:`gap-2 text-muted-foreground`,"data-icon-picker-clear":``,children:[(0,Z.jsx)(Er,{className:`size-3.5`,"aria-hidden":`true`}),`Clear icon`]})}),t[25]=i,t[26]=r.length,t[27]=C):C=t[27];let w;t[28]!==i||t[29]!==d?(w=Sy.map(e=>{let[t,n]=e,r=t===d;return(0,Z.jsx)(jf,{value:t,onSelect:()=>{i(`lucide:${t}`),s(!1)},title:t,"aria-label":t,"data-icon-picker-item":t,"data-icon-picker-selected":r?``:void 0,className:Qt(`flex aspect-square items-center justify-center rounded-md p-0`,r?`bg-foreground/10 text-foreground ring-1 ring-foreground/30`:`text-muted-foreground hover:bg-muted`),children:(0,Z.jsx)(n,{className:`size-4`,"aria-hidden":`true`})},t)}),t[28]=i,t[29]=d,t[30]=w):w=t[30];let T;t[31]===w?T=t[32]:(T=(0,Z.jsx)(Af,{heading:`Lucide`,children:(0,Z.jsx)(pf.Group,{className:`[&_[cmdk-group-items]]:grid [&_[cmdk-group-items]]:grid-cols-6 [&_[cmdk-group-items]]:gap-1 [&_[cmdk-group-items]]:p-1`,children:w})}),t[31]=w,t[32]=T);let E;t[33]!==C||t[34]!==T?(E=(0,Z.jsx)(Ff,{align:`end`,className:`z-70 w-72 p-0`,onOpenAutoFocus:fB,children:(0,Z.jsxs)(Tf,{label:`Icon picker`,children:[x,(0,Z.jsxs)(Of,{className:`max-h-64`,children:[S,C,T]})]})}),t[33]=C,t[34]=T,t[35]=E):E=t[35];let D;t[36]!==o||t[37]!==b||t[38]!==E?(D=(0,Z.jsxs)(Nf,{open:o,onOpenChange:s,children:[b,E]}),t[36]=o,t[37]=b,t[38]=E,t[39]=D):D=t[39];let O;return t[40]!==D||t[41]!==v?(O=(0,Z.jsxs)(`div`,{className:`flex gap-1`,children:[v,D]}),t[40]=D,t[41]=v,t[42]=O):O=t[42],O}function fB(e){return e.preventDefault()}function pB(e){let[t]=e.split(`/`);switch(t){case`image`:return`image`;case`video`:return`video`;case`audio`:return`audio`;case`application`:return e===`application/pdf`?`pdf`:null;case`text`:return`text`;default:return null}}function mB(e){if(e.length===1&&e[0]===`*/*`)return`all`;let t=new Set;for(let n of e){if(n===`*/*`)return`all`;let e=pB(n);e&&t.add(e)}return t}function hB(e){let t=e.lastIndexOf(`.`);return t<0||t<e.lastIndexOf(`/`)?``:e.slice(t+1).toLowerCase()}function gB(e,t){let n=mB(t),r=[];for(let t of e){if(n===`all`){r.push(t);continue}let e=M(hB(t));e&&n.has(e)&&r.push(t)}return r}var _B=8,vB=new Set,yB=null;function bB(e){return{path:e,basename:e.split(`/`).pop()??e}}function xB(e){let t=e.map(e=>e.path).join(``);return yB?.fingerprint===t||(yB={fingerprint:t,byPath:new Map(e.map(e=>[e.path,e])),itemsInOrder:e,corpus:ft(e.map(e=>Ft({kind:`page`,path:e.path,title:e.basename})))}),yB}function SB(e){let t=e.trim();return t.startsWith(`/`)?t.slice(1):t}function CB(e,t){let n=SB(t);return n?Wt(e.corpus,n,{intent:`autocomplete`,limit:_B}).map(t=>e.byPath.get(t.document.path)).filter(e=>!!e):e.itemsInOrder.slice(0,_B)}function wB(e){let t=(0,$.c)(52),{value:n,onChange:r,accept:i,id:a,placeholder:o,autoFocus:s,ariaInvalid:c,ariaDescribedBy:l,dataPropAutofocus:u,className:d,onSubmit:f}=e,p=fn()?.assetPaths??vB,m;t[0]!==i||t[1]!==p||t[2]!==n?(m=CB(xB(gB(p,i).map(bB)),n),t[0]=i,t[1]=p,t[2]=n,t[3]=m):m=t[3];let h=m,[g,_]=(0,Q.useState)(!1),[v,y]=(0,Q.useState)(0),b,x;t[4]!==v||t[5]!==h.length?(b=()=>{v>=h.length&&y(0)},x=[v,h.length],t[4]=v,t[5]=h.length,t[6]=b,t[7]=x):(b=t[6],x=t[7]),(0,Q.useEffect)(b,x);let S=(0,Q.useId)(),C=(0,Q.useRef)(null),w=g&&h.length>0,T;t[8]===r?T=t[9]:(T=e=>{r(`/${e.path}`),_(!1),y(0),C.current?.focus()},t[8]=r,t[9]=T);let E=T,D;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(D=e=>_(e),t[10]=D):D=t[10];let O=w?S:void 0,k=w&&h[v]?`${S}-opt-${v}`:void 0,A;t[11]===r?A=t[12]:(A=e=>{r(e.target.value),_(!0),y(0)},t[11]=r,t[12]=A);let j,M;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(M=()=>{_(!0)},j=()=>{_(!0)},t[13]=j,t[14]=M):(j=t[13],M=t[14]);let N;t[15]!==v||t[16]!==f||t[17]!==E||t[18]!==h||t[19]!==w?(N=e=>{if(e.key===`ArrowDown`){if(h.length===0)return;e.preventDefault(),_(!0),y(e=>(e+1)%h.length);return}if(e.key===`ArrowUp`){if(h.length===0)return;e.preventDefault(),_(!0),y(e=>(e-1+h.length)%h.length);return}if(e.key===`Enter`){if(w){let t=h[v];if(t){e.preventDefault(),E(t);return}}f&&(e.preventDefault(),f());return}if(e.key===`Escape`){if(!w)return;e.preventDefault(),e.stopPropagation(),_(!1);return}e.key===`Tab`&&_(!1)},t[15]=v,t[16]=f,t[17]=E,t[18]=h,t[19]=w,t[20]=N):N=t[20];let P;t[21]!==l||t[22]!==c||t[23]!==s||t[24]!==d||t[25]!==u||t[26]!==a||t[27]!==o||t[28]!==N||t[29]!==O||t[30]!==k||t[31]!==A||t[32]!==n||t[33]!==w?(P=(0,Z.jsx)(If,{asChild:!0,children:(0,Z.jsx)(xi,{ref:C,id:a,type:`text`,value:n,placeholder:o,autoFocus:s,"data-prop-autofocus":u,"aria-invalid":c,"aria-describedby":l,role:`combobox`,"aria-autocomplete":`list`,"aria-expanded":w,"aria-controls":O,"aria-activedescendant":k,className:d,onChange:A,onFocus:M,onClick:j,onKeyDown:N})}),t[21]=l,t[22]=c,t[23]=s,t[24]=d,t[25]=u,t[26]=a,t[27]=o,t[28]=N,t[29]=O,t[30]=k,t[31]=A,t[32]=n,t[33]=w,t[34]=P):P=t[34];let F;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(F=e=>{let t=e.target;t instanceof Node&&C.current?.contains(t)&&e.preventDefault()},t[35]=F):F=t[35];let I;if(t[36]!==v||t[37]!==S||t[38]!==E||t[39]!==h){let e;t[41]!==v||t[42]!==S||t[43]!==E?(e=(e,t)=>{let n=`${S}-opt-${t}`,r=t===v;return(0,Z.jsxs)(`button`,{id:n,type:`button`,role:`option`,"aria-selected":r,"data-testid":`src-autocomplete-option`,"data-highlighted":r?``:void 0,className:Qt(`flex w-full flex-col items-start gap-0.5 rounded-sm px-2 py-1 text-left text-xs`,`transition-colors`,r?`bg-accent text-accent-foreground`:`hover:bg-accent/50`),onMouseEnter:()=>y(t),onMouseDown:t=>{t.preventDefault(),E(e)},children:[(0,Z.jsx)(`span`,{className:`font-medium`,children:e.basename}),e.basename!==e.path&&(0,Z.jsx)(`span`,{className:`text-muted-foreground/70`,children:e.path})]},e.path)},t[41]=v,t[42]=S,t[43]=E,t[44]=e):e=t[44],I=h.map(e),t[36]=v,t[37]=S,t[38]=E,t[39]=h,t[40]=I}else I=t[40];let L;t[45]!==S||t[46]!==I?(L=(0,Z.jsx)(Ff,{align:`start`,sideOffset:4,className:`z-70 w-(--radix-popover-trigger-width) p-1`,onOpenAutoFocus:EB,onCloseAutoFocus:TB,onInteractOutside:F,children:(0,Z.jsx)(`div`,{id:S,role:`listbox`,"aria-label":`Asset suggestions`,className:`flex flex-col gap-px`,children:I})}),t[45]=S,t[46]=I,t[47]=L):L=t[47];let ee;return t[48]!==P||t[49]!==L||t[50]!==w?(ee=(0,Z.jsxs)(Nf,{open:w,onOpenChange:D,children:[P,L]}),t[48]=P,t[49]=L,t[50]=w,t[51]=ee):ee=t[51],ee}function TB(e){e.preventDefault()}function EB(e){e.preventDefault()}function DB(){if(typeof window>`u`)return null;let e=window.location.hash.match(/^#\/([^?#]+)/);return e?decodeURIComponent(e[1]):null}var OB=`/api/upload`;async function kB(e,t,n={}){let r=n.fetch??globalThis.fetch,i=n.docName===void 0?DB():n.docName;if(!i)throw Error(`No document is open`);let a=new FormData;a.append(`file`,e),a.append(`parentDocName`,i);let o;try{o=await r(OB,{method:`POST`,body:a})}catch(e){let t=e instanceof Error?e.message:String(e);throw Error(`Upload failed: ${t}`)}let s;try{s=await o.json()}catch(e){throw new Mv(`Upload response is not JSON.`,{cause:e,status:o.status})}if(!o.ok){let e=rt.safeParse(s);throw e.success?Error(e.data.title):new Mv(`Upload error response did not match ProblemDetails.`,{cause:e.error,status:o.status})}let c=lt.safeParse(s);if(!c.success)throw new Mv(`Upload success response did not match UploadAssetSuccess.`,{cause:c.error,status:o.status});let l=c.data.path??c.data.src;return{url:l.startsWith(`/`)?l:`/${l}`}}var AB=new Intl.PluralRules(`en-US`);function jB(e,t,n){return n<=0?`${e} (empty)`:`${e} with ${n} ${AB.select(n)===`one`?`item`:`items`}`}function MB(e){for(let t of e)if(t.type===`string`&&t.hidden!==!0&&t.advanced!==!0&&t.autoFocus===!0)return t.name;return null}function NB(e){if(!e)return e;let t=e.replace(/[_-]+/g,` `).replace(/([a-z0-9])([A-Z])/g,`$1 $2`).replace(/([A-Z]+)([A-Z][a-z])/g,`$1 $2`);return t.charAt(0).toUpperCase()+t.slice(1)}var PB=new Set([`auto`,`inherit`,`initial`,`unset`]),FB=new Set([`px`,`%`,`rem`,`em`,`vh`,`vw`,`ch`,`ex`,`fr`]),IB=/^(-?\d+(?:\.\d+)?)([a-z%]*)$/i;function LB(e){let t=e.trim();if(!t)return{valid:!1,reason:`empty`};if(PB.has(t.toLowerCase()))return{valid:!0};let n=t.match(IB);if(!n)return{valid:!1,reason:`malformed-syntax`};let r=(n[2]??``).toLowerCase();return r===``||FB.has(r)?{valid:!0}:{valid:!1,reason:`unknown-unit`}}function RB(e){if(e.valid)return null;switch(e.reason){case`empty`:return null;case`malformed-syntax`:return`Enter a number (e.g. 100), a number with a CSS unit (e.g. 100px, 50%, 26rem), or one of: auto, inherit, initial, unset.`;case`unknown-unit`:return`Unknown CSS unit. Use px, %, rem, em, vh, vw, ch, ex, or fr.`}}var zB={video:I,audio:p,image:E},BB={youtube:[`youtube.com`,`youtu.be`,`youtube-nocookie.com`],vimeo:[`vimeo.com`],loom:[`loom.com`]};function VB(e){let t=e.toLowerCase();for(let e of Object.keys(BB)){let n=BB[e];for(let r of n)if(t===r||t.endsWith(`.${r}`))return e}return null}function HB(e){let t=e.lastIndexOf(`/`),n=t>=0?e.slice(t+1):e,r=n.lastIndexOf(`.`);return r>0?n.slice(r+1).toLowerCase():``}var UB=`https://placeholder.invalid`;function WB(e,t){let n=e.trim();if(n.length===0)return{valid:!0};let r,i=!0;try{r=new URL(n)}catch{try{r=new URL(n,UB),i=!1}catch{return{valid:!1,reason:`invalid-url`}}}if(t===`video`&&Xe(n)!==null||t===`video`&&Ae(n)||t===`video`&&k(n))return{valid:!0};let a=i?VB(r.hostname):null;if(a!==null)return{valid:!1,reason:`embed-provider`,provider:a};if(r.protocol===`data:`)return{valid:!1,reason:`data-uri`};let o=HB(r.pathname),s=zB[t];return o===``?i?{valid:!0}:{valid:!1,reason:`wrong-extension`,extension:``}:s.has(o)?{valid:!0}:{valid:!1,reason:`wrong-extension`,extension:o}}function GB(e){if(e.length===0)return;let t=e[0]?.toLowerCase()??``;if(t.startsWith(`video/`))return`video`;if(t.startsWith(`audio/`))return`audio`;if(t.startsWith(`image/`))return`image`}function KB(e){return`Direct ${e} file URL — ${Array.from(zB[e]).map(e=>`.${e}`).join(`, `)}`}var qB={youtube:`YouTube`,vimeo:`Vimeo`,loom:`Loom`};function JB(e,t){if(e.valid)return``;if(e.reason===`invalid-url`)return`Not a valid URL.`;if(e.reason===`data-uri`)return`Data URIs are not supported for media fields. Use a hosted file URL.`;if(e.reason===`embed-provider`){let n=qB[e.provider];return t===`video`?`Unrecognized ${n} URL. Paste a valid ${n} share or embed link, or a direct ${t} file URL.`:`${n} URLs are not direct ${t} files. Paste a direct ${t} file URL.`}let n=Array.from(zB[t]).map(e=>`.${e}`).join(`, `);return e.extension===``?`Missing file extension. Accepts: ${n}.`:`Unsupported extension .${e.extension}. Accepts: ${n}.`}function YB(e){return`ok.propPanel.advanced.${e}`}function XB(e){try{return typeof localStorage>`u`?!1:localStorage.getItem(YB(e))===`true`}catch{return!1}}function ZB(e,t){try{if(typeof localStorage>`u`)return;localStorage.setItem(YB(e),t?`true`:`false`)}catch{}}function QB(e,t){let n=0;for(let r of e){let e=t[r.name],i=`defaultValue`in r?r.defaultValue:void 0;e!==void 0&&e!==i&&(n+=1)}return n}async function $B(e,t,n){try{let{url:r}=await kB(e,t);n(r)}catch(e){let t=e instanceof Error?e.message:String(e);Tr.error(Ci._({id:`02P3hL`,values:{message:t}}))}}function eV(e){let t=(0,$.c)(14),{descriptor:n,values:r,onChange:i,onDismiss:a}=e,s;t[0]===r?s=t[1]:(s=e=>!(`hidden`in e&&e.hidden)&&e.hideWhen?.(r)!==!0&&e.type!==`reactnode`,t[0]=r,t[1]=s);let c=n.props.filter(s),l=c.filter(nV),u=c.filter(tV),d=QB(u,r),f;t[2]===n.props?f=t[3]:(f=MB(n.props),t[2]=n.props,t[3]=f);let p=f,m;t[4]===n.name?m=t[5]:(m=()=>XB(n.name),t[4]=n.name,t[5]=m);let[h,g]=(0,Q.useState)(m);if(c.length===0)return null;let _;t[6]!==p||t[7]!==i||t[8]!==a||t[9]!==r?(_=e=>(0,Z.jsx)(iV,{propDef:e,value:r[e.name],onChange:t=>i(e.name,t),onDismiss:a,isAutoFocused:e.name===p},e.name),t[6]=p,t[7]=i,t[8]=a,t[9]=r,t[10]=_):_=t[10];let v=l.map(_),y=u.length>0&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{className:`my-1 border-t border-border`}),(0,Z.jsxs)(Gr,{open:h,onOpenChange:e=>{g(e),ZB(n.name,e)},children:[(0,Z.jsxs)(Wr,{"data-prop-panel-advanced-trigger":``,className:`group flex w-full items-center justify-between rounded px-1 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground uppercase font-mono`,children:[(0,Z.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,Z.jsx)(an,{className:`size-3 transition-transform group-data-[state=closed]:-rotate-90`}),(0,Z.jsx)(o,{id:`sxkWRg`})]}),d>0&&(0,Z.jsx)(Od,{variant:`secondary`,"data-prop-panel-advanced-count":``,children:d})]}),(0,Z.jsx)(Ur,{className:`flex flex-col gap-4 pt-2`,children:u.map(e=>(0,Z.jsx)(iV,{propDef:e,value:r[e.name],onChange:t=>i(e.name,t),onDismiss:a,isAutoFocused:e.name===p},e.name))})]})]}),b;return t[11]!==v||t[12]!==y?(b=(0,Z.jsxs)(`div`,{"data-prop-panel":``,className:`flex flex-col gap-4 py-2 text-sm`,children:[v,y]}),t[11]=v,t[12]=y,t[13]=b):b=t[13],b}function tV(e){return`advanced`in e&&e.advanced}function nV(e){return!(`advanced`in e&&e.advanced)}function rV(e){throw Error(`PropPanel: unhandled PropDef type ${JSON.stringify(e)}`)}function iV(e){let t=(0,$.c)(165),{propDef:n,value:r,onChange:i,onDismiss:a,isAutoFocused:o}=e,s;t[0]===a?s=t[1]:(s=a?e=>{e.key===`Enter`&&(e.preventDefault(),a())}:void 0,t[0]=a,t[1]=s);let c=s;switch(n.type){case`reactnode`:return null;case`string`:{let e=`prop-${n.name}`,s=n.accept,l=s!==void 0&&s.length>0,u=!n.required&&n.defaultValue===void 0;if(n.language){let a=`${e}-label`,s;t[2]===n.name?s=t[3]:(s=NB(n.name),t[2]=n.name,t[3]=s);let c;t[4]!==a||t[5]!==e||t[6]!==s?(c=(0,Z.jsx)(`label`,{id:a,htmlFor:e,className:`text-xs text-muted-foreground`,children:s}),t[4]=a,t[5]=e,t[6]=s,t[7]=c):c=t[7];let l=r??``,d;t[8]!==i||t[9]!==u?(d=e=>{if(e===``&&u){i(void 0);return}i(e)},t[8]=i,t[9]=u,t[10]=d):d=t[10];let f;t[11]!==o||t[12]!==a||t[13]!==n.language||t[14]!==e||t[15]!==l||t[16]!==d?(f=(0,Z.jsx)(QI,{id:e,ariaLabelledBy:a,value:l,language:n.language,onChange:d,autoFocus:o}),t[11]=o,t[12]=a,t[13]=n.language,t[14]=e,t[15]=l,t[16]=d,t[17]=f):f=t[17];let p;return t[18]!==c||t[19]!==f?(p=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[c,f]}),t[18]=c,t[19]=f,t[20]=p):p=t[20],p}if(n.iconPicker){let a=r??``,s;t[21]===n.name?s=t[22]:(s=NB(n.name),t[21]=n.name,t[22]=s);let c;t[23]!==e||t[24]!==s?(c=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:s}),t[23]=e,t[24]=s,t[25]=c):c=t[25];let l;t[26]!==i||t[27]!==u?(l=e=>{if(e===``&&u){i(void 0);return}i(e)},t[26]=i,t[27]=u,t[28]=l):l=t[28];let d;t[29]!==a||t[30]!==o||t[31]!==e||t[32]!==l?(d=(0,Z.jsx)(dB,{id:e,value:a,onChange:l,autoFocus:o}),t[29]=a,t[30]=o,t[31]=e,t[32]=l,t[33]=d):d=t[33];let f;return t[34]!==c||t[35]!==d?(f=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[c,d]}),t[34]=c,t[35]=d,t[36]=f):f=t[36],f}if(n.colorPicker){let a=r??``,s;t[37]===n.name?s=t[38]:(s=NB(n.name),t[37]=n.name,t[38]=s);let c;t[39]!==e||t[40]!==s?(c=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:s}),t[39]=e,t[40]=s,t[41]=c):c=t[41];let l;t[42]!==i||t[43]!==u?(l=e=>{if(e===``&&u){i(void 0);return}i(e)},t[42]=i,t[43]=u,t[44]=l):l=t[44];let d;t[45]!==a||t[46]!==o||t[47]!==e||t[48]!==l?(d=(0,Z.jsx)(uB,{id:e,value:a,onChange:l,autoFocus:o}),t[45]=a,t[46]=o,t[47]=e,t[48]=l,t[49]=d):d=t[49];let f;return t[50]!==c||t[51]!==d?(f=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[c,d]}),t[50]=c,t[51]=d,t[52]=f):f=t[52],f}if(n.cssLengthInput){let a=r??``,s;if(t[53]!==a){let e=LB(a);s=e.valid?null:RB(e),t[53]=a,t[54]=s}else s=t[54];let l=s,d;t[55]===n.name?d=t[56]:(d=NB(n.name),t[55]=n.name,t[56]=d);let f;t[57]!==e||t[58]!==d?(f=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:d}),t[57]=e,t[58]=d,t[59]=f):f=t[59];let p;t[60]!==i||t[61]!==u?(p=e=>{let t=e.target.value;if(t===``&&u){i(void 0);return}i(t)},t[60]=i,t[61]=u,t[62]=p):p=t[62];let m=o?``:void 0,h=l===null?void 0:!0,g=l===null?void 0:`${e}-error`,_;t[63]!==a||t[64]!==c||t[65]!==o||t[66]!==e||t[67]!==p||t[68]!==m||t[69]!==h||t[70]!==g?(_=(0,Z.jsx)(xi,{id:e,type:`text`,value:a,placeholder:`100px, 50%, 26rem, auto`,onChange:p,onKeyDown:c,autoFocus:o,"data-prop-autofocus":m,"aria-invalid":h,"aria-describedby":g,className:`h-7 text-sm`,"data-prop-css-length-input":``}),t[63]=a,t[64]=c,t[65]=o,t[66]=e,t[67]=p,t[68]=m,t[69]=h,t[70]=g,t[71]=_):_=t[71];let v;t[72]!==l||t[73]!==e?(v=l!==null&&(0,Z.jsx)(`p`,{id:`${e}-error`,"data-prop-css-length-error":``,className:`text-xs text-destructive`,"aria-live":`polite`,children:l}),t[72]=l,t[73]=e,t[74]=v):v=t[74];let y;return t[75]!==v||t[76]!==f||t[77]!==_?(y=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[f,_,v]}),t[75]=v,t[76]=f,t[77]=_,t[78]=y):y=t[78],y}let d,f,p;if(t[79]!==s||t[80]!==r){let e=s===void 0?void 0:GB(s);d=r??``;let n=e===void 0?null:WB(d,e);f=n!==null&&!n.valid&&e!==void 0&&d.trim().length>0?JB(n,e):null,p=e===void 0?void 0:KB(e),t[79]=s,t[80]=r,t[81]=d,t[82]=f,t[83]=p}else d=t[81],f=t[82],p=t[83];let m=p,h;t[84]===n.name?h=t[85]:(h=NB(n.name),t[84]=n.name,t[85]=h);let g;t[86]!==e||t[87]!==h?(g=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:h}),t[86]=e,t[87]=h,t[88]=g):g=t[88];let _;t[89]!==s||t[90]!==d||t[91]!==c||t[92]!==o||t[93]!==f||t[94]!==m||t[95]!==i||t[96]!==a||t[97]!==e||t[98]!==u?(_=s===void 0?(0,Z.jsx)(xi,{id:e,type:`text`,value:d,placeholder:m,onChange:e=>{let t=e.target.value;if(t===``&&u){i(void 0);return}i(t)},onKeyDown:c,autoFocus:o,"data-prop-autofocus":o?``:void 0,"aria-invalid":f===null?void 0:!0,"aria-describedby":f===null?void 0:`${e}-error`,className:`h-7 text-sm`}):(0,Z.jsx)(wB,{id:e,value:d,onChange:e=>{if(e===``&&u){i(void 0);return}i(e)},onSubmit:a,accept:s,placeholder:m,autoFocus:o,dataPropAutofocus:o?``:void 0,ariaInvalid:f===null?void 0:!0,ariaDescribedBy:f===null?void 0:`${e}-error`,className:`h-7 text-sm`}),t[89]=s,t[90]=d,t[91]=c,t[92]=o,t[93]=f,t[94]=m,t[95]=i,t[96]=a,t[97]=e,t[98]=u,t[99]=_):_=t[99];let v;t[100]!==s||t[101]!==i||t[102]!==l?(v=l&&(0,Z.jsx)(oV,{accept:s,onUploaded:e=>i(e)}),t[100]=s,t[101]=i,t[102]=l,t[103]=v):v=t[103];let y;t[104]!==_||t[105]!==v?(y=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1.5`,children:[_,v]}),t[104]=_,t[105]=v,t[106]=y):y=t[106];let b;t[107]!==f||t[108]!==e?(b=f!==null&&(0,Z.jsx)(`p`,{id:`${e}-error`,"data-prop-media-error":``,className:`text-xs text-destructive`,"aria-live":`polite`,children:f}),t[107]=f,t[108]=e,t[109]=b):b=t[109];let x;return t[110]!==g||t[111]!==y||t[112]!==b?(x=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[g,y,b]}),t[110]=g,t[111]=y,t[112]=b,t[113]=x):x=t[113],x}case`boolean`:{let e=`prop-${n.name}`,a;t[114]===n.name?a=t[115]:(a=NB(n.name),t[114]=n.name,t[115]=a);let o=a,s;t[116]!==e||t[117]!==o?(s=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:o}),t[116]=e,t[117]=o,t[118]=s):s=t[118];let c=!!r,l;t[119]===i?l=t[120]:(l=e=>i(e),t[119]=i,t[120]=l);let u;t[121]!==e||t[122]!==c||t[123]!==l?(u=(0,Z.jsx)(cB,{id:e,checked:c,onCheckedChange:l}),t[121]=e,t[122]=c,t[123]=l,t[124]=u):u=t[124];let d;return t[125]!==s||t[126]!==u?(d=(0,Z.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[s,u]}),t[125]=s,t[126]=u,t[127]=d):d=t[127],d}case`enum`:{let e=`prop-${n.name}`,a=r??n.enumValues[0]??``,o;t[128]===n.name?o=t[129]:(o=NB(n.name),t[128]=n.name,t[129]=o);let s;t[130]!==e||t[131]!==o?(s=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:o}),t[130]=e,t[131]=o,t[132]=s):s=t[132];let c;t[133]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Z.jsx)(nB,{}),t[133]=c):c=t[133];let l;t[134]===e?l=t[135]:(l=(0,Z.jsx)(rB,{id:e,size:`sm`,children:c}),t[134]=e,t[135]=l);let u;t[136]===n.enumValues?u=t[137]:(u=n.enumValues.map(aV),t[136]=n.enumValues,t[137]=u);let d;t[138]===u?d=t[139]:(d=(0,Z.jsx)(iB,{className:`z-70`,children:u}),t[138]=u,t[139]=d);let f;t[140]!==a||t[141]!==i||t[142]!==l||t[143]!==d?(f=(0,Z.jsxs)(tB,{value:a,onValueChange:i,children:[l,d]}),t[140]=a,t[141]=i,t[142]=l,t[143]=d,t[144]=f):f=t[144];let p;return t[145]!==s||t[146]!==f?(p=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[s,f]}),t[145]=s,t[146]=f,t[147]=p):p=t[147],p}case`number`:{let e=`prop-${n.name}`,a;t[148]===n.name?a=t[149]:(a=NB(n.name),t[148]=n.name,t[149]=a);let o;t[150]!==e||t[151]!==a?(o=(0,Z.jsx)(`label`,{htmlFor:e,className:`text-xs text-muted-foreground`,children:a}),t[150]=e,t[151]=a,t[152]=o):o=t[152];let s=r==null?``:String(r),l;t[153]===i?l=t[154]:(l=e=>{let t=e.target.value;if(t===``){i(void 0);return}if(t===`-`)return;let n=Number(t);Number.isNaN(n)||i(n)},t[153]=i,t[154]=l);let u;t[155]!==c||t[156]!==e||t[157]!==s||t[158]!==l?(u=(0,Z.jsx)(xi,{id:e,type:`number`,inputMode:`numeric`,value:s,onChange:l,onKeyDown:c,className:`h-7 text-sm`}),t[155]=c,t[156]=e,t[157]=s,t[158]=l,t[159]=u):u=t[159];let d;return t[160]!==o||t[161]!==u?(d=(0,Z.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[o,u]}),t[160]=o,t[161]=u,t[162]=d):d=t[162],d}default:{let e;return t[163]===n?e=t[164]:(e=rV(n),t[163]=n,t[164]=e),e}}}function aV(e){return(0,Z.jsx)(aB,{value:e,children:e},e)}function oV(e){let t=(0,$.c)(17),{accept:n,onUploaded:r}=e,[i,a]=(0,Q.useState)(!1),s=(0,Q.useRef)(null),c;t[0]===n?c=t[1]:(c=n.join(`,`),t[0]=n,t[1]=c);let l;t[2]!==n||t[3]!==r?(l=async e=>{let t=e.target.files?.[0];if(t){a(!0);try{await $B(t,n,r)}catch{}a(!1),s.current&&(s.current.value=``)}},t[2]=n,t[3]=r,t[4]=l):l=t[4];let u;t[5]!==c||t[6]!==l?(u=(0,Z.jsx)(`input`,{ref:s,type:`file`,accept:c,className:`hidden`,"data-prop-upload-input":``,onChange:l}),t[5]=c,t[6]=l,t[7]=u):u=t[7];let d;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>s.current?.click(),t[8]=d):d=t[8];let f;t[9]===i?f=t[10]:(f=i?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Cr,{className:`size-3.5 animate-spin`,"aria-hidden":`true`}),(0,Z.jsx)(o,{id:`_eguJc`})]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Wo,{className:`size-3.5`,"aria-hidden":`true`}),(0,Z.jsx)(o,{id:`eJitUk`})]}),t[9]=i,t[10]=f);let p;t[11]!==f||t[12]!==i?(p=(0,Z.jsx)(nn,{type:`button`,variant:`outline`,size:`sm`,disabled:i,"data-prop-upload-trigger":``,className:`h-7 w-full justify-center gap-1.5 px-2 text-xs`,onClick:d,children:f}),t[11]=f,t[12]=i,t[13]=p):p=t[13];let m;return t[14]!==u||t[15]!==p?(m=(0,Z.jsxs)(Z.Fragment,{children:[u,p]}),t[14]=u,t[15]=p,t[16]=m):m=t[16],m}var sV=new Set([`img`,`CommonMarkImage`,`video`,`audio`,`Pdf`,`File`]);function cV(e,t,n){if(!sV.has(e)||!n)return t;let r=t.src;if(typeof r!=`string`)return t;let i=nt(r,n);return i===r?t:{...t,src:i}}var lV=`selectionStatePlugin/origin`,uV=`selectionStatePlugin/refresh`,dV=new Re(`selectionState`),fV=new Set,pV={selectedBlockId:null,ancestorChain:[],selectionOrigin:`programmatic`,isDragging:!1,rangeEncompassedBlockIds:fV};function mV(e){return dV.getState(e.state)??pV}function hV(e,t){let n=[],{$from:r}=t;for(let t=1;t<=r.depth;t++){let i=r.node(t);if(i.type.name!==`jsxComponent`)continue;let a=r.before(t);n.push(gV(e,i,a))}if(t instanceof Lt){let r=t.node;r.type.name===`jsxComponent`&&n.push(gV(e,r,t.from))}return n}function gV(e,t,n){let r=t.attrs.componentName??`unknown`;return{bridgeId:_V(e,n),componentName:r,pos:n}}function _V(e,t){return PC.getState(e)?.posToId.get(t)??`pos-${t}`}function vV(e,t){if(t instanceof Lt)return fV;let{from:n,to:r}=t;if(n>=r)return fV;let i=PC.getState(e)?.posToId;if(!i)return fV;let a=null;for(let[t,o]of i){if(t<n)continue;let i=e.doc.nodeAt(t);i&&(t+i.nodeSize>r||(a||=new Set,a.add(o)))}return a??fV}function yV(e,t,n={}){let r=hV(e,e.selection),i=r[r.length-1],a=vV(e,e.selection),o={selectedBlockId:i?.bridgeId??null,ancestorChain:r,selectionOrigin:n.origin??t.selectionOrigin,isDragging:n.isDragging??t.isDragging,rangeEncompassedBlockIds:a};return bV(t,o)?t:o}function bV(e,t){if(e===t)return!0;if(e.selectedBlockId!==t.selectedBlockId||e.selectionOrigin!==t.selectionOrigin||e.isDragging!==t.isDragging||e.ancestorChain.length!==t.ancestorChain.length)return!1;for(let n=0;n<e.ancestorChain.length;n++){let r=e.ancestorChain[n],i=t.ancestorChain[n];if(r.bridgeId!==i.bridgeId||r.componentName!==i.componentName||r.pos!==i.pos)return!1}if(e.rangeEncompassedBlockIds.size!==t.rangeEncompassedBlockIds.size)return!1;for(let n of e.rangeEncompassedBlockIds)if(!t.rangeEncompassedBlockIds.has(n))return!1;return!0}var xV=new WeakMap;function SV(e,t,n,r){let i=r?.isDragging??t.isDragging,a=!!e.getMeta(uV),o=e.selectionSet&&!a,s=e.getMeta(lV),c=o?r?.pendingOrigin??null:null,l=s??c??t.selectionOrigin;return o&&r&&(r.pendingOrigin=null),yV(n,t,{origin:l,isDragging:i})}var CV=be.create({name:`selectionStatePlugin`,addProseMirrorPlugins(){let e=this.editor,t=new Ut({key:dV,state:{init(e,t){return yV(t,pV)},apply(e,n,r,i){return SV(e,n,i,xV.get(t))}},props:{handleDOMEvents:{mousedown:()=>{let e=xV.get(t);return e&&(e.pendingOrigin=`pointer`),!1},pointerdown:()=>{let e=xV.get(t);return e&&(e.pendingOrigin=`pointer`),!1}},handleKeyDown:(e,n)=>{if(wV(n.key)){let e=xV.get(t);e&&(e.pendingOrigin=`keyboard`)}return!1}},view(n){xV.set(t,{pendingOrigin:null,isDragging:!1});let r=n.dom.parentElement??n.dom,i=()=>{let n=xV.get(t);n&&(n.isDragging=!0,TV(e))},a=()=>{let n=xV.get(t);n&&(n.isDragging=!1,TV(e))};return r.addEventListener(`dragstart`,i,!0),r.addEventListener(`dragend`,a,!0),r.addEventListener(`drop`,a,!0),{destroy:()=>{r.removeEventListener(`dragstart`,i,!0),r.removeEventListener(`dragend`,a,!0),r.removeEventListener(`drop`,a,!0),xV.delete(t)}}}});return[t]}});function wV(e){return e===`ArrowUp`||e===`ArrowDown`||e===`ArrowLeft`||e===`ArrowRight`||e===`Tab`||e===`Escape`||e===`Enter`||e===`Home`||e===`End`||e===`PageUp`||e===`PageDown`}function TV(e){queueMicrotask(()=>{if(!e.isDestroyed)try{let t=e.state.tr.setMeta(uV,!0);e.view.dispatch(t)}catch{}})}function EV(e){let t=(0,$.c)(5),n;t[0]===e?n=t[1]:(n=()=>e?mV(e):null,t[0]=e,t[1]=n);let[r,i]=(0,Q.useState)(n),a,o;return t[2]===e?(a=t[3],o=t[4]):(a=()=>{if(!e){i(null);return}i(mV(e));let t=()=>{i(mV(e))};return e.on(`transaction`,t),e.on(`selectionUpdate`,t),()=>{e.off(`transaction`,t),e.off(`selectionUpdate`,t)}},o=[e],t[2]=e,t[3]=a,t[4]=o),(0,Q.useEffect)(a,o),r}function DV(e,t){if(e.hasChildren)return!1;let n=MB(e.props);return n===null?!1:t[n]===``}function OV(e){let t=e.placeholder?.label,n=`Add ${(e.displayName??e.name).toLowerCase()}`;return{label:t??n,Icon:by(e.placeholder?.icon??e.icon)}}var kV=new Set([`img`,`CommonMarkImage`,`Embed`,`video`]);function AV(e){if(!e.attrs.sourceDirty&&e.attrs.sourceRaw)return e.attrs.sourceRaw;let t=cx(),n=e.type.schema.node(`doc`,null,[e]);return t.serialize(n.toJSON()).trim()}var jV=new Set(It.map(e=>`${e}:`)),MV=6e4,NV=10,PV=new Map;function FV(e,t){let n=t.toLowerCase();D(n);let r=Date.now(),i=PV.get(n);if(!i||r-i.windowStart>=MV)PV.set(n,{windowStart:r,count:1});else if(i.count+=1,i.count>NV)return;typeof console<`u`&&typeof console.warn==`function`&&console.warn(JSON.stringify({event:`jsx-prop-dropped`,reason:e,prop:t}))}var IV=new Set([`href`,`src`,`action`,`formaction`,`poster`,`cite`,`data`,`manifest`,`background`,`ping`,`xlinkhref`,`xlinkactuate`,`xlinkrole`,`xlinkarcrole`,`xlinkshow`,`url`,`link`]),LV=new Set([`dangerouslysetinnerhtml`,`ref`,`key`,`defaultvalue`,`defaultchecked`,`__proto__`,`constructor`,`prototype`]),RV=1e4;function zV(e){let t=e.toLowerCase();return!!(LV.has(t)||t.length>=3&&t.startsWith(`on`))}function BV(e){return IV.has(e.toLowerCase())}function VV(e){if(typeof e!=`string`)return e;let t=e.trim();if(!t||t.startsWith(`#`)||t.startsWith(`//`)||z(t))return e;let n=t.indexOf(`:`),r=t.slice(0,n+1).toLowerCase();return jV.has(r)?e:`#`}function HV(e){if(e.length>RV)return``;let t=e.toLowerCase();return/url\s*\(\s*['"]?\s*(?:javascript|vbscript|data)\s*:/.test(t)||/\bexpression\s*\(/.test(t)?``:e}function UV(e){if(e==null)return e;if(Array.isArray(e)){let t=!1,n=Array(e.length);for(let r=0;r<e.length;r++){let i=UV(e[r]);n[r]=i,i!==e[r]&&(t=!0)}return t?n:e}if(typeof e!=`object`)return e;let t=Object.getPrototypeOf(e);if(t!==Object.prototype&&t!==null)return e;let n=e,r=!1,i={};for(let[e,t]of Object.entries(n)){if(zV(e)){FV(`dangerous-prop-name-nested`,e),r=!0;continue}if(BV(e)&&typeof t==`string`){let n=VV(t);n!==t&&(r=!0),i[e]=n}else{let n=UV(t);n!==t&&(r=!0),i[e]=n}}return r?i:e}function WV(e){let t=!1,n={};for(let[r,i]of Object.entries(e)){if(zV(r)){FV(`dangerous-prop-name`,r),t=!0;continue}if(BV(r)){let e=VV(i);e!==i&&(t=!0),n[r]=e;continue}if(r===`style`){if(typeof i==`string`){let e=HV(i);e!==i&&(t=!0),n[r]=e}else t=!0;continue}let e=UV(i);e!==i&&(t=!0),n[r]=e}return t?n:e}function GV(e){let t=(0,$.c)(2),{children:n}=e,r;return t[0]===n?r=t[1]:(r=(0,Z.jsx)(`div`,{className:`jsx-component-error-fallback`,children:n}),t[0]=n,t[1]=r),r}function KV(e){let t=(0,$.c)(13),{children:n,resetKey:r,onError:i,descriptorName:a,rawComponentName:o}=e,s;t[0]===r?s=t[1]:(s=[r],t[0]=r,t[1]=s);let c;t[2]!==a||t[3]!==i||t[4]!==o?(c=(e,t)=>{let n=e instanceof Error?e:Error(String(e));console.warn(JSON.stringify({event:`jsx-render-failure`,component:a,rawComponentName:String(o??``).slice(0,200),error:String(n),stack:t.componentStack})),L(a),i(n)},t[2]=a,t[3]=i,t[4]=o,t[5]=c):c=t[5];let l;t[6]===n?l=t[7]:(l=e=>(0,Z.jsx)(GV,{...e,children:n}),t[6]=n,t[7]=l);let u;return t[8]!==n||t[9]!==s||t[10]!==c||t[11]!==l?(u=(0,Z.jsx)(Zz,{resetKeys:s,onError:c,fallbackRender:l,children:n}),t[8]=n,t[9]=s,t[10]=c,t[11]=l,t[12]=u):u=t[12],u}function qV(e){if(typeof e!=`object`||!e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(qV).join(`,`)}]`;let t=Object.entries(e);return t.sort(([e],[t])=>e<t?-1:+(e>t)),`{${t.map(([e,t])=>`${JSON.stringify(e)}:${qV(t)}`).join(`,`)}}`}function JV(e,t){let n=e.props??{},r={};for(let[e,i]of Object.entries(n))t.has(e)||(r[e]=i);return WV(r)}function YV(e){return e.kind===`element`?e:null}var XV=3;function ZV(e){let t=(0,$.c)(162),{node:n,editor:r,extension:i,getPos:a,selected:c}=e,{_:l}=s(),u=oC(n.attrs.componentName),[d,f]=(0,Q.useState)(null),[p,h]=(0,Q.useState)(!1),g=(0,Q.useRef)(!1),_=typeof a==`function`?a():void 0,v=!1,b=0,x=1;try{if(_!==void 0){let e=r.state.doc.resolve(_);e.depth>0&&e.parent.type.name===`jsxComponent`&&(v=!0,b=e.index(e.depth),x=e.parent.childCount)}}catch(e){let t=e;if(!(t instanceof RangeError))throw t}let S=v&&b>0,C=v&&b<x-1,w=EV(r),T=typeof _==`number`?_V(r.state,_):null,E=T!==null&&(w?.rangeEncompassedBlockIds.has(T)??!1),D;t[0]===w?.ancestorChain?D=t[1]:(D=w?.ancestorChain.at(-1)?.bridgeId??null,t[0]=w?.ancestorChain,t[1]=D);let O=T!==null&&D===T,k=c&&!E&&O,A=T!==null&&!O&&(w?.ancestorChain.some(e=>e.bridgeId===T)??!1),j=k&&w?w.selectionOrigin:void 0,M=k&&(w?.isDragging??!1),N=u.props.some(rH),P=n.attrs.props??{},F=N&&u.props.some(e=>e.type!==`string`||!e.required||`hidden`in e&&e.hidden?!1:!Object.hasOwn(P,e.name)),I=DV(u,P),L=I?OV(u):null,ee=!u.hasChildren||!!u.isSelfClosing,R=kV.has(u.name),z=u.name===`MermaidFence`?{propName:`chart`,language:`mermaid`}:u.name===`Math`||u.name===`DollarMath`||u.name===`MathFence`?{propName:`formula`,language:`latex`}:null,[B,V]=(0,Q.useState)(!1);(0,Q.useEffect)(()=>{c&&!g.current&&N&&hC(_)&&h(!0),g.current=c},[c,N,_]);let H=JV(n.attrs,u.reactNodePropNames),U=u.surface===`compat`?u.translateProps(H):H,W=i.options.docName,te=typeof W==`string`&&W?W:vv(r),G=cV(u.name,U,te),K=`${u.name}::${qV(H)}`,ae;t[2]!==a||t[3]!==n.content.size?(ae=()=>(typeof a==`function`?a()??0:0)+1+n.content.size,t[2]=a,t[3]=n.content.size,t[4]=ae):ae=t[4];let oe=ae,q=u.name===`*`||d!==null,ce=(0,Q.useRef)(!1),le=(0,Q.useRef)(0),[ue,fe]=(0,Q.useState)(!1);if((0,Q.useEffect)(()=>{if(!q||ce.current||ue)return;let e=typeof a==`function`?a():void 0;if(typeof e!=`number`)return;let t=AV(n),i=u.name===`*`?`Unregistered component: ${n.attrs.componentName}`:`Render error in <${u.displayName??u.name}>: ${d?.message??`unknown`}`,o=n.type.schema.nodes.rawMdxFallback.create({reason:i},n.type.schema.text(t)),s=!1,c,l=()=>{if(!s)try{r.view.dispatch(r.state.tr.replaceWith(e,e+n.nodeSize,o)),ce.current=!0,at(u.name===`*`?`wildcard`:u.name)}catch(e){let t=e,r=u.name===`*`?`wildcard`:u.name;if(console.warn(JSON.stringify({event:`jsx-component-auto-convert-failed`,component:r,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t instanceof Error?t.message.slice(0,500):String(t).slice(0,500),retry:le.current})),m(r),le.current+=1,le.current<XV){let e=50*(2**le.current-1);c=setTimeout(()=>{s||l()},e)}else s||fe(!0)}},f=requestAnimationFrame(l);return()=>{s=!0,cancelAnimationFrame(f),c!==void 0&&clearTimeout(c)}},[q,n,r,a,u,d,ue]),ue){let e=n.attrs.componentName,i=u.displayName??u.name,o=u.name===`*`?l({id:`Kh1n4a`,values:{componentName:e}}):l({id:`g58Kwy`,values:{descriptorLabel:i}}),s=()=>{try{let e=AV(n);typeof navigator<`u`&&navigator.clipboard?.writeText&&navigator.clipboard.writeText(e)}catch(e){let t=e;ne(u.name),console.warn(JSON.stringify({event:`jsx-component-stuck-copy-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t instanceof Error?t.message.slice(0,500):String(t).slice(0,500)}))}},c=()=>{let e=typeof a==`function`?a():void 0;if(typeof e==`number`)try{r.chain().focus().setNodeSelection(e).deleteSelection().run()}catch(e){let t=e;if(!(t instanceof RangeError))throw t;de(u.name),console.warn(JSON.stringify({event:`jsx-component-stuck-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}},d;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(d={[cE]:`true`},t[5]=d):d=t[5];let f;t[6]===o?f=t[7]:(f=(0,Z.jsx)(`span`,{className:`flex-1`,children:o}),t[6]=o,t[7]=f);let p;t[8]===l?p=t[9]:(p=l({id:`E2Mv-X`}),t[8]=l,t[9]=p);let m;t[10]!==s||t[11]!==p?(m=(0,Z.jsx)(`button`,{type:`button`,className:`text-xs underline hover:no-underline`,onClick:s,children:p}),t[10]=s,t[11]=p,t[12]=m):m=t[12];let h;t[13]===l?h=t[14]:(h=l({id:`cnGeoo`}),t[13]=l,t[14]=h);let g;t[15]!==c||t[16]!==h?(g=(0,Z.jsx)(`button`,{type:`button`,className:`text-xs underline hover:no-underline`,onClick:c,children:h}),t[15]=c,t[16]=h,t[17]=g):g=t[17];let _;t[18]!==m||t[19]!==g||t[20]!==f?(_=(0,Z.jsxs)(`div`,{className:`text-xs font-mono text-muted-foreground px-2 py-2 border border-destructive/40 rounded bg-destructive/5 flex items-center gap-2`,contentEditable:!1,...d,children:[f,m,g]}),t[18]=m,t[19]=g,t[20]=f,t[21]=_):_=t[21];let v;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,Z.jsx)(Nu,{className:`component-children`}),t[22]=v):v=t[22];let y;return t[23]===_?y=t[24]:(y=(0,Z.jsxs)(Pu,{className:`jsx-component-wrapper my-2`,children:[_,v]}),t[23]=_,t[24]=y),y}if(q){let e=n.attrs.componentName,r=u.displayName??u.name,i=u.name===`*`?l({id:`oJl7eO`,values:{componentName:e}}):l({id:`bcDHUM`,values:{descriptorLabel:r}}),a;t[25]===i?a=t[26]:(a=(0,Z.jsx)(`div`,{className:`text-xs font-mono text-muted-foreground px-2 py-1`,contentEditable:!1,children:i}),t[25]=i,t[26]=a);let o;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(Nu,{className:`component-children`}),t[27]=o):o=t[27];let s;return t[28]===a?s=t[29]:(s=(0,Z.jsxs)(Pu,{className:`jsx-component-wrapper my-2`,children:[a,o]}),t[28]=a,t[29]=s),s}let pe=u.Component,me=u.displayName??u.name,he=u.displayName??u.name,ge=u.displayName??u.name,_e=e=>{if(I||!ee)return;let t=e.target;if(!e.currentTarget.contains(t)||t.closest(`.jsx-component-chrome`)||t.closest(`.jsx-add-child-pill, .jsx-empty-child-placeholder`)||t.closest(`a[href]`)||typeof _!=`number`)return;let n=r.state.doc.nodeAt(_);if(!n)return;let i=_+n.nodeSize,a=r.state.selection.from;a<_||a>=i||r.chain().focus().setNodeSelection(_).run()},ve;t[30]!==r||t[31]!==a||t[32]!==h?(ve=()=>{let e=typeof a==`function`?a():void 0;typeof e==`number`&&(r.chain().focus().setNodeSelection(e).run(),h(!0))},t[30]=r,t[31]=a,t[32]=h,t[33]=ve):ve=t[33];let ye=ve,be=u.displayName??u.name,xe=!!u.emptyChildName,Se=xe?jB(be,u.emptyChildName,n.childCount):void 0,Ce=e=>{let t=e.target;if(e.key===`Backspace`||e.key===`Delete`){if(!k||!e.currentTarget.contains(t)||t.matches(`input, textarea`))return;let i=typeof a==`function`?a():void 0;if(typeof i!=`number`)return;e.preventDefault();try{r.chain().focus().setNodeSelection(i).deleteSelection().run()||(re(u.name),console.warn(JSON.stringify({event:`jsx-component-keyboard-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:`chain-dispatch-returned-false`})))}catch(e){let t=e;if(!(t instanceof RangeError))throw t;re(u.name),console.warn(JSON.stringify({event:`jsx-component-keyboard-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}return}e.key!==`Enter`&&e.key!==` `||c&&N&&(t.closest(`.jsx-component-chrome`)||t.closest(`input, textarea, select, button`)||(e.preventDefault(),h(!0)))},we=e=>{h(e),!e&&requestAnimationFrame(()=>{let e=typeof a==`function`?a():void 0;if(typeof e==`number`)try{let t=r.state.doc.nodeAt(e);if(!t)return;let n=e+t.nodeSize,i=r.state.selection.from;if(i<e||i>=n)return;if(ee){let e=r.state.doc.resolve(Math.min(n,r.state.doc.content.size)),t=y.near(e,1);r.view.dispatch(r.state.tr.setSelection(t).scrollIntoView())}else r.chain().setNodeSelection(e).run()}catch(e){let t=e;if(!(t instanceof RangeError))throw t;se(u.name),console.warn(JSON.stringify({event:`jsx-component-popover-close-restore-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}})},Te=Nf,Ee=Pu,De;t[34]===u.name?De=t[35]:(De=u.name.toLowerCase(),t[34]=u.name,t[35]=De);let Oe;bb0:{let e=P.align;if(e===`left`||e===`right`||e===`center`){Oe=e;break bb0}if(R){Oe=`center`;break bb0}Oe=void 0}let ke=k?`true`:void 0,Ae=A?`true`:void 0,je=E?`true`:void 0,Me=M?`true`:void 0,Ne=F?`true`:void 0,Pe=xe?`group`:void 0,Fe=k?0:-1,Ie;t[36]===v?Ie=t[37]:(Ie=v?{draggable:`false`,onDragStart:nH}:{"data-drag-handle":``,draggable:`true`},t[36]=v,t[37]=Ie);let Le=u.name,Re=tH,ze;t[38]===Symbol.for(`react.memo_cache_sentinel`)?(ze={[cE]:`true`},t[38]=ze):ze=t[38];let Be=u.name===`Embed`&&typeof H.src==`string`&&/^https?:\/\//i.test(H.src)&&(0,Z.jsx)(`a`,{href:H.src,target:`_blank`,rel:`noopener noreferrer`,className:`jsx-chrome-btn`,"aria-label":l({id:`iOHg1t`}),onMouseDown:eH,children:(0,Z.jsx)(no,{size:12,"aria-hidden":`true`})}),Ve=u.name===`Mirror`&&typeof H.src==`string`&&H.src.length>0&&(()=>{let e=H.src;return(0,Z.jsx)(`a`,{href:zi(e,typeof H.anchor==`string`&&H.anchor.length>0?H.anchor:null),className:`jsx-chrome-btn`,"aria-label":l({id:`3a_Bd7`,values:{mirrorSrc:e}}),title:l({id:`0kTAXe`,values:{mirrorSrc:e}}),onMouseDown:$V,children:(0,Z.jsx)(no,{size:12,"aria-hidden":`true`})})})(),He;t[39]!==l||t[40]!==S||t[41]!==u.name||t[42]!==r||t[43]!==n.attrs.componentName||t[44]!==n.nodeSize||t[45]!==_?(He=S&&(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn`,"aria-label":l({id:`QyioBP`}),onClick:()=>{try{if(typeof _!=`number`)return;let e=r.state.doc.resolve(_),t=e.index(e.depth);if(t===0)return;let i=_-e.node(e.depth).child(t-1).nodeSize,a=_+n.nodeSize,o=r.state.tr,s=r.state.doc.slice(_,_+n.nodeSize),c=r.state.doc.slice(i,_);o.replaceWith(i,a,s.content.append(c.content)),r.view.dispatch(o.scrollIntoView())}catch(e){let t=e;if(!(t instanceof RangeError))throw t;ie(`up`),console.warn(JSON.stringify({event:`jsx-component-move-failed`,direction:`up`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}},children:(0,Z.jsx)(Ua,{size:12,"aria-hidden":`true`})}),t[39]=l,t[40]=S,t[41]=u.name,t[42]=r,t[43]=n.attrs.componentName,t[44]=n.nodeSize,t[45]=_,t[46]=He):He=t[46];let Ue;t[47]!==l||t[48]!==C||t[49]!==u.name||t[50]!==r||t[51]!==n.attrs.componentName||t[52]!==n.nodeSize||t[53]!==_?(Ue=C&&(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn`,"aria-label":l({id:`3Ib6FN`}),onClick:()=>{try{if(typeof _!=`number`)return;let e=r.state.doc.resolve(_),t=e.index(e.depth),i=e.node(e.depth);if(t>=i.childCount-1)return;let a=i.child(t+1),o=_,s=_+n.nodeSize+a.nodeSize,c=r.state.tr,l=r.state.doc.slice(_,_+n.nodeSize),u=r.state.doc.slice(_+n.nodeSize,s);c.replaceWith(o,s,u.content.append(l.content)),r.view.dispatch(c.scrollIntoView())}catch(e){let t=e;if(!(t instanceof RangeError))throw t;ie(`down`),console.warn(JSON.stringify({event:`jsx-component-move-failed`,direction:`down`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}},children:(0,Z.jsx)(Ba,{size:12,"aria-hidden":`true`})}),t[47]=l,t[48]=C,t[49]=u.name,t[50]=r,t[51]=n.attrs.componentName,t[52]=n.nodeSize,t[53]=_,t[54]=Ue):Ue=t[54];let We;t[55]!==l||t[56]!==u.displayName||t[57]!==u.name||t[58]!==z||t[59]!==_||t[60]!==V?(We=z&&typeof _==`number`?(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn`,"aria-label":l({id:`ky9Tuc`,values:{0:u.displayName??u.name}}),"data-testid":`jsx-component-edit-btn`,onClick:()=>V(!0),children:(0,Z.jsx)(vn,{size:12,"aria-hidden":`true`})}):null,t[55]=l,t[56]=u.displayName,t[57]=u.name,t[58]=z,t[59]=_,t[60]=V,t[61]=We):We=t[61];let Ge;t[62]!==l||t[63]!==me?(Ge=l({id:`MCjC9A`,values:{deleteDescriptorLabel:me}}),t[62]=l,t[63]=me,t[64]=Ge):Ge=t[64];let Ke;t[65]!==u.name||t[66]!==r||t[67]!==n.attrs.componentName||t[68]!==_?(Ke=()=>{if(typeof _==`number`)try{r.chain().focus().setNodeSelection(_).deleteSelection().run()||(re(u.name),console.warn(JSON.stringify({event:`jsx-component-chrome-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:`chain-dispatch-returned-false`})))}catch(e){let t=e;if(!(t instanceof RangeError))throw t;re(u.name),console.warn(JSON.stringify({event:`jsx-component-chrome-delete-failed`,component:u.name,rawComponentName:String(n.attrs.componentName??``).slice(0,200),reason:t.message.slice(0,500)}))}},t[65]=u.name,t[66]=r,t[67]=n.attrs.componentName,t[68]=_,t[69]=Ke):Ke=t[69];let qe;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(qe=(0,Z.jsx)(_n,{size:12,"aria-hidden":`true`}),t[70]=qe):qe=t[70];let Je;t[71]!==Ge||t[72]!==Ke?(Je=(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn jsx-chrome-btn--delete`,"aria-label":Ge,onClick:Ke,children:qe}),t[71]=Ge,t[72]=Ke,t[73]=Je):Je=t[73];let Ye;t[74]!==l||t[75]!==N||t[76]!==he?(Ye=N&&(0,Z.jsx)(Pf,{asChild:!0,children:(0,Z.jsx)(`button`,{type:`button`,className:`jsx-chrome-btn`,"data-jsx-gear":``,"aria-label":l({id:`XPJ0sN`,values:{settingsDescriptorLabel:he}}),children:(0,Z.jsx)(Io,{size:12,"aria-hidden":`true`})})}),t[74]=l,t[75]=N,t[76]=he,t[77]=Ye):Ye=t[77];let Xe;t[78]!==Re||t[79]!==ze||t[80]!==Be||t[81]!==Ve||t[82]!==He||t[83]!==Ue||t[84]!==We||t[85]!==Je||t[86]!==Ye?(Xe=(0,Z.jsxs)(`div`,{className:`jsx-component-chrome`,contentEditable:!1,onMouseDown:Re,...ze,children:[Be,Ve,He,Ue,We,Je,Ye]}),t[78]=Re,t[79]=ze,t[80]=Be,t[81]=Ve,t[82]=He,t[83]=Ue,t[84]=We,t[85]=Je,t[86]=Ye,t[87]=Xe):Xe=t[87];let Ze;t[88]!==pe||t[89]!==u.emptyChildName||t[90]!==u.hasChildren||t[91]!==u.isSelfClosing||t[92]!==u.name||t[93]!==r||t[94]!==a||t[95]!==oe||t[96]!==k||t[97]!==n.attrs.componentName||t[98]!==n.childCount||t[99]!==ye||t[100]!==G||t[101]!==K||t[102]!==L||t[103]!==f||t[104]!==I?(Ze=I&&L?(0,Z.jsx)(If,{asChild:!0,children:(0,Z.jsx)($z,{label:L.label,Icon:L.Icon,onClick:ye,selected:k})}):(0,Z.jsx)(KV,{resetKey:K,onError:f,descriptorName:u.name===`*`?`wildcard`:u.name,rawComponentName:n.attrs.componentName??``,children:(0,Z.jsx)(Ny,{value:typeof a==`function`?{editor:r,getPos:()=>{let e=a();return typeof e==`number`?e:void 0},addChild:u.emptyChildName?()=>{let e=u.emptyChildName,t=fC(e),n=oe();r.chain().focus().insertContentAt(n,t).run(),gC(r,n,oC(e))}:null}:null,children:(0,Z.jsx)(pe,{...G,children:(0,Z.jsx)(Nu,{className:`component-children ${!u.hasChildren&&n.childCount===0?`min-h-0 m-0 p-0`:``}`,...!u.hasChildren||u.isSelfClosing?{contentEditable:!1}:{}})})})}),t[88]=pe,t[89]=u.emptyChildName,t[90]=u.hasChildren,t[91]=u.isSelfClosing,t[92]=u.name,t[93]=r,t[94]=a,t[95]=oe,t[96]=k,t[97]=n.attrs.componentName,t[98]=n.childCount,t[99]=ye,t[100]=G,t[101]=K,t[102]=L,t[103]=f,t[104]=I,t[105]=Ze):Ze=t[105];let Qe;t[106]!==u.emptyChildName||t[107]!==u.name||t[108]!==r||t[109]!==oe||t[110]!==n.childCount?(Qe=u.emptyChildName&&!(u.name===`Tabs`&&n.childCount>0)&&(()=>{let e=u.emptyChildName;return(0,Z.jsx)(`button`,{type:`button`,contentEditable:!1,className:n.childCount===0?`jsx-empty-child-placeholder`:`jsx-add-child-pill`,onMouseDown:QV,onClick:()=>{let e=u.emptyChildName,t=fC(e),n=oe();r.chain().focus().insertContentAt(n,t).run(),gC(r,n,oC(e))},"data-clipboard-omit":`true`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(o,{id:`7Fkcej`,values:{addChildName:e}})})})})(),t[106]=u.emptyChildName,t[107]=u.name,t[108]=r,t[109]=oe,t[110]=n.childCount,t[111]=Qe):Qe=t[111];let $e;t[112]!==Ee||t[113]!==u.name||t[114]!==Se||t[115]!==_e||t[116]!==Ce||t[117]!==j||t[118]!==De||t[119]!==Oe||t[120]!==ke||t[121]!==Ae||t[122]!==je||t[123]!==Me||t[124]!==Ne||t[125]!==Pe||t[126]!==Fe||t[127]!==Ie||t[128]!==Xe||t[129]!==Ze||t[130]!==Qe?($e=(0,Z.jsxs)(Ee,{className:`jsx-component-wrapper my-2`,"data-jsx-component":``,"data-component-type":De,"data-align":Oe,"data-selected":ke,"data-has-child-selected":Ae,"data-range-selected":je,"data-selection-origin":j,"data-dragging":Me,"data-needs-config":Ne,role:Pe,"aria-label":Se,tabIndex:Fe,...Ie,"data-component-name":Le,onClick:_e,onKeyDown:Ce,children:[Xe,Ze,Qe]}),t[112]=Ee,t[113]=u.name,t[114]=Se,t[115]=_e,t[116]=Ce,t[117]=j,t[118]=De,t[119]=Oe,t[120]=ke,t[121]=Ae,t[122]=je,t[123]=Me,t[124]=Ne,t[125]=Pe,t[126]=Fe,t[127]=Ie,t[128]=Xe,t[129]=Ze,t[130]=Qe,t[131]=$e):$e=t[131];let et;t[132]!==l||t[133]!==P||t[134]!==u.Component||t[135]!==u.displayName||t[136]!==u.name||t[137]!==B||t[138]!==z||t[139]!==r||t[140]!==a||t[141]!==_||t[142]!==G||t[143]!==V?(et=z&&typeof _==`number`?(0,Z.jsx)(eL,{open:B,onOpenChange:V,initialValue:typeof P[z.propName]==`string`?P[z.propName]:``,language:z.language,title:l({id:`ky9Tuc`,values:{0:u.displayName??u.name}}),renderPreview:e=>{let t=u.Component;return(0,Z.jsx)(`div`,{className:`flex h-full w-full items-center justify-center p-4`,children:(0,Z.jsx)(t,{...G,[z.propName]:e,...u.name===`MermaidFence`&&{className:`border-0 bg-transparent rounded-none`}})})},onSave:e=>{let t=typeof a==`function`?a():void 0;if(typeof t!=`number`)return;let n=r.state.doc.nodeAt(t);if(!n)return;let i=YV(n.attrs);if(i)try{let n={...i.props,[z.propName]:e},a={...i,props:n,sourceDirty:!0};r.view.dispatch(r.state.tr.setNodeMarkup(t,null,a))}catch(e){let t=e;if(!(t instanceof RangeError))throw t;console.warn(`[JsxComponentView] edit-save failed — position race`,t)}}}):null,t[132]=l,t[133]=P,t[134]=u.Component,t[135]=u.displayName,t[136]=u.name,t[137]=B,t[138]=z,t[139]=r,t[140]=a,t[141]=_,t[142]=G,t[143]=V,t[144]=et):et=t[144];let tt;t[145]!==u||t[146]!==r||t[147]!==a||t[148]!==N||t[149]!==ee||t[150]!==H||t[151]!==ge||t[152]!==h||t[153]!==I?(tt=N&&(0,Z.jsxs)(Ff,{side:I?`bottom`:`right`,align:I?`center`:`start`,sideOffset:I?-4:8,className:`w-64 p-3 z-60 overflow-y-auto subtle-scrollbar max-h-(--radix-popper-available-height) overscroll-contain`,onCloseAutoFocus:ee?e=>{e.preventDefault(),r.view.focus()}:void 0,children:[(0,Z.jsx)(`div`,{className:`text-xs font-medium text-muted-foreground mb-2`,children:(0,Z.jsx)(o,{id:`Mnavhe`,values:{propPanelDescriptorLabel:ge}})}),(0,Z.jsx)(eV,{descriptor:u,values:H,onDismiss:()=>h(!1),onChange:(e,t)=>{let n=typeof a==`function`?a():void 0;if(typeof n!=`number`)return;let i=r.state.doc.nodeAt(n);if(!i)return;let o=YV(i.attrs);if(!o)return;let s={...o.props},c=Array.isArray(i.attrs.attributes)?i.attrs.attributes:[],l=c;t===void 0?(delete s[e],l=c.filter(t=>!(typeof t==`object`&&t&&t.type===`mdxJsxAttribute`&&t.name===e))):s[e]=t,r.view.dispatch(r.state.tr.setNodeMarkup(n,null,{...o,attributes:l,props:s,sourceDirty:!0}))}}),(0,Z.jsx)(`div`,{className:`mt-3 flex justify-end border-t border-border pt-2`,children:(0,Z.jsx)(nn,{type:`button`,size:`sm`,variant:`ghost`,onClick:()=>h(!1),className:`h-7 px-3 text-xs`,children:(0,Z.jsx)(o,{id:`DPfwMq`})})})]}),t[145]=u,t[146]=r,t[147]=a,t[148]=N,t[149]=ee,t[150]=H,t[151]=ge,t[152]=h,t[153]=I,t[154]=tt):tt=t[154];let nt;return t[155]!==Te||t[156]!==we||t[157]!==p||t[158]!==$e||t[159]!==et||t[160]!==tt?(nt=(0,Z.jsxs)(Te,{open:p,onOpenChange:we,children:[$e,et,tt]}),t[155]=Te,t[156]=we,t[157]=p,t[158]=$e,t[159]=et,t[160]=tt,t[161]=nt):nt=t[161],nt}function QV(e){return e.stopPropagation()}function $V(e){return e.stopPropagation()}function eH(e){return e.stopPropagation()}function tH(e){return e.stopPropagation()}function nH(e){return e.preventDefault()}function rH(e){return!(`hidden`in e&&e.hidden)&&e.type!==`reactnode`}var iH=xe.extend({addOptions(){return{...this.parent?.(),docName:``}},addNodeView(){return Hu(ZV)}}),aH={name:`InlineMath`,surface:`canonical`,hasChildren:!1,isSelfClosing:!0,category:`content`,description:`Inline math`,props:[{name:`formula`,type:`string`,required:!0,autoFocus:!0,description:`LaTeX inline math source`}]},oH=(0,Q.lazy)(async()=>{let{default:e}=await n(async()=>{let{default:e}=await import(`./katex-BunQWEOH.js`);return{default:e}},[],import.meta.url);function t(t){let n=(0,$.c)(4),r;n[0]===t.formula?r=n[1]:(r=e.renderToString(t.formula,{displayMode:!1,throwOnError:!1,strict:`ignore`,trust:!1}),n[0]=t.formula,n[1]=r);let i=r,a;return n[2]===i?a=n[3]:(a=(0,Z.jsx)(`span`,{className:`math math-inline`,dangerouslySetInnerHTML:{__html:i}}),n[2]=i,n[3]=a),a}return{default:t}});function sH(){let e=(0,$.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Z.jsx)(`span`,{className:`math math-inline math-placeholder math-placeholder-empty inline-flex items-center gap-1 rounded-sm border border-dashed border-muted-foreground/40 bg-muted/30 px-1.5 py-0.5 text-xs italic text-muted-foreground hover:bg-muted/60 cursor-pointer`,"data-component-type":`math-inline`,children:`f(x)`}),e[0]=t):t=e[0],t}function cH(e){let t=(0,$.c)(2),n;return t[0]===e.formula?n=t[1]:(n=(0,Z.jsx)(`span`,{className:`math math-inline math-placeholder`,"data-component-type":`math-inline`,children:e.formula}),t[0]=e.formula,t[1]=n),n}function lH(e){let t=(0,$.c)(38),{node:n,selected:r,getPos:i,editor:a}=e,s=typeof n.attrs.formula==`string`?n.attrs.formula:``,c=typeof n.attrs.id==`string`?n.attrs.id:void 0,[l,u]=(0,Q.useState)(!1),d=(0,Q.useRef)(!1),f;t[0]!==a.state||t[1]!==i||t[2]!==r?(f=()=>{let e=r&&a.state.selection instanceof Lt;e&&!d.current?(hC(typeof i==`function`?i()??0:0),u(!0)):!e&&d.current&&u(!1),d.current=e},t[0]=a.state,t[1]=i,t[2]=r,t[3]=f):f=t[3];let p;t[4]!==a||t[5]!==i||t[6]!==r?(p=[r,i,a],t[4]=a,t[5]=i,t[6]=r,t[7]=p):p=t[7],(0,Q.useEffect)(f,p);let m=r?`math-inline-selected`:void 0,h;t[8]===c?h=t[9]:(h=c?{id:c}:{},t[8]=c,t[9]=h);let g;t[10]===s?g=t[11]:(g=s?(0,Z.jsx)(Zz,{resetKeys:[s],onError:dH,fallbackRender:()=>(0,Z.jsx)(`span`,{className:`math math-inline math-error`,children:s}),children:(0,Z.jsx)(Q.Suspense,{fallback:(0,Z.jsx)(cH,{formula:s}),children:(0,Z.jsx)(oH,{formula:s})})}):(0,Z.jsx)(sH,{}),t[10]=s,t[11]=g);let _;t[12]!==s||t[13]!==h||t[14]!==g?(_=(0,Z.jsx)(Pf,{asChild:!0,children:(0,Z.jsx)(`span`,{className:`math-inline-trigger`,"data-component-type":`math-inline`,"data-formula":s,...h,children:g})}),t[12]=s,t[13]=h,t[14]=g,t[15]=_):_=t[15];let v;t[16]===a.view?v=t[17]:(v=e=>{e.preventDefault(),a.view.focus()},t[16]=a.view,t[17]=v);let y;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Z.jsx)(`div`,{className:`text-xs font-medium text-muted-foreground px-3 pt-2`,children:(0,Z.jsx)(o,{id:`EOjU5V`})}),t[18]=y):y=t[18];let b;t[19]===s?b=t[20]:(b={formula:s},t[19]=s,t[20]=b);let x;t[21]!==a.state||t[22]!==a.view||t[23]!==i?(x=(e,t)=>{let n=typeof i==`function`?i():void 0;if(typeof n!=`number`)return;let r=a.state.doc.nodeAt(n);if(!r||r.type.name!==`mathInline`)return;let o=a.state.tr.setNodeMarkup(n,null,{...r.attrs,[e]:t??``});o.setSelection(Lt.create(o.doc,n)),a.view.dispatch(o)},t[21]=a.state,t[22]=a.view,t[23]=i,t[24]=x):x=t[24];let S;t[25]!==x||t[26]!==b?(S=(0,Z.jsx)(eV,{descriptor:aH,values:b,onChange:x}),t[25]=x,t[26]=b,t[27]=S):S=t[27];let C;t[28]!==S||t[29]!==v?(C=(0,Z.jsxs)(Ff,{className:`z-[60] w-72 p-0`,side:`bottom`,align:`start`,onOpenAutoFocus:uH,onCloseAutoFocus:v,children:[y,S]}),t[28]=S,t[29]=v,t[30]=C):C=t[30];let w;t[31]!==l||t[32]!==C||t[33]!==_?(w=(0,Z.jsxs)(Nf,{open:l,onOpenChange:u,children:[_,C]}),t[31]=l,t[32]=C,t[33]=_,t[34]=w):w=t[34];let T;return t[35]!==w||t[36]!==m?(T=(0,Z.jsx)(Pu,{as:`span`,className:m,children:w}),t[35]=w,t[36]=m,t[37]=T):T=t[37],T}function uH(e){e.preventDefault()}function dH(e,t){let n=e instanceof Error?e:Error(String(e));console.warn(JSON.stringify({event:`jsx-render-failure`,component:`mathInline`,rawComponentName:`mathInline`,error:String(n),stack:t.componentStack})),L(`mathInline`)}var fH=ee.extend({addNodeView(){return Hu(lH)}});function pH(e,t){if(!e.selection.empty)return null;let n=t===`up`||t===`left`?-1:1,r=e.selection.$head,i=n>0?r.after():r.before();if(typeof i!=`number`)return null;let a=Vt.near(e.doc.resolve(i),n);return a.$head?.parent.type.name===`rawMdxFallback`?a:null}function mH(e,t){let{state:n,view:r}=e;if(!r.endOfTextblock(t))return!1;let i=pH(n,t);return i?(r.dispatch(n.tr.setSelection(i)),!0):!1}var hH=He.extend({addKeyboardShortcuts(){return{ArrowLeft:({editor:e})=>mH(e,`left`),ArrowRight:({editor:e})=>mH(e,`right`),ArrowUp:({editor:e})=>mH(e,`up`),ArrowDown:({editor:e})=>mH(e,`down`)}},addNodeView(){return Hu(qI,{stopEvent:()=>!0,ignoreMutation:()=>!0})}});function gH(e){let t=(0,$.c)(51),{items:n,selectedIndex:r,categoryLabels:i,onSelect:a,onHoverIndex:c}=e,l=(0,Q.useRef)(null),u=(0,Q.useId)(),{_:d}=s(),f=r>=0&&r<n.length?`${u}-option-${r}`:void 0,p=vH,m,h;if(t[0]===r?(m=t[1],h=t[2]):(m=()=>{let e=l.current;if(!e)return;let t=e.querySelectorAll(`[role="option"]`).item(r);t&&t.scrollIntoView({block:`nearest`})},h=[r],t[0]=r,t[1]=m,t[2]=h),(0,Q.useEffect)(m,h),n.length===0){let e;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[3]=e):e=t[3];let n;return t[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`div`,{ref:l,role:`status`,"aria-live":`polite`,className:`w-56 rounded-lg border bg-popover p-2 shadow-md text-sm text-muted-foreground`,style:e,onMouseDown:p,children:(0,Z.jsx)(o,{id:`Ev2r9A`})}),t[4]=n):n=t[4],n}let g,_,v,y,b,x,S,C,w,T,E,D,O;if(t[5]!==d||t[6]!==f||t[7]!==i||t[8]!==n||t[9]!==u||t[10]!==c||t[11]!==a||t[12]!==r){let e=[],o=0,s=new Map;for(let t of n){s.set(t,o++);let n=e.find(e=>e.key===t.category);n?n.items.push(t):e.push({key:t.category,items:[t]})}_=r>=0&&r<n.length?n[r]:null;let m;t[26]===n?m=t[27]:(m=n.some(_H),t[26]=n,t[27]=m),g=m,x=`flex items-start gap-2`,S=l,C=`listbox`,t[28]===d?w=t[29]:(w=d({id:`RlCInP`}),t[28]=d,t[29]=w),T=f,E=-1,D=p,O=`w-56 overflow-y-auto subtle-scrollbar rounded-lg border bg-popover p-1 shadow-md`,t[30]===Symbol.for(`react.memo_cache_sentinel`)?(v={maxHeight:`var(--suggestion-menu-max-height, 40vh)`},t[30]=v):v=t[30];let h=_?`${_.label}${_.preview?`. ${_.preview.description}`:``}`:``;t[31]===h?y=t[32]:(y=(0,Z.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,"aria-atomic":`true`,children:h}),t[31]=h,t[32]=y),b=e.map(e=>(0,Z.jsxs)(`div`,{role:`group`,"aria-labelledby":`${u}-group-${e.key}`,children:[(0,Z.jsx)(`div`,{id:`${u}-group-${e.key}`,className:`px-2 py-1.5 text-xs font-semibold text-muted-foreground`,children:i[e.key]??e.key}),e.items.map(e=>{let t=s.get(e)??0,n=t===r,i=e.icon;return(0,Z.jsxs)(`button`,{id:`${u}-option-${t}`,type:`button`,role:`option`,"aria-selected":n,"data-selected":n,className:`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-left ${n?`bg-accent text-accent-foreground`:``}`,onMouseEnter:()=>c?.(t),onMouseDown:t=>{t.preventDefault(),a(e)},children:[(0,Z.jsx)(i,{className:`size-4 shrink-0 text-muted-foreground`}),(0,Z.jsx)(`div`,{className:`flex flex-col min-w-0`,children:(0,Z.jsx)(`span`,{className:`truncate`,children:e.label})})]},e.name)})]},e.key)),t[5]=d,t[6]=f,t[7]=i,t[8]=n,t[9]=u,t[10]=c,t[11]=a,t[12]=r,t[13]=g,t[14]=_,t[15]=v,t[16]=y,t[17]=b,t[18]=x,t[19]=S,t[20]=C,t[21]=w,t[22]=T,t[23]=E,t[24]=D,t[25]=O}else g=t[13],_=t[14],v=t[15],y=t[16],b=t[17],x=t[18],S=t[19],C=t[20],w=t[21],T=t[22],E=t[23],D=t[24],O=t[25];let k;t[33]!==v||t[34]!==y||t[35]!==b||t[36]!==S||t[37]!==C||t[38]!==w||t[39]!==T||t[40]!==E||t[41]!==D||t[42]!==O?(k=(0,Z.jsxs)(`div`,{ref:S,role:C,"aria-label":w,"aria-activedescendant":T,tabIndex:E,onMouseDown:D,className:O,style:v,children:[y,b]}),t[33]=v,t[34]=y,t[35]=b,t[36]=S,t[37]=C,t[38]=w,t[39]=T,t[40]=E,t[41]=D,t[42]=O,t[43]=k):k=t[43];let A;t[44]!==g||t[45]!==_?(A=g?(0,Z.jsx)(`aside`,{"aria-hidden":`true`,onMouseDown:p,className:`w-64 rounded-lg border bg-popover p-2 shadow-md ${_?.preview?``:`invisible`}`,children:_?.preview?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{className:`mb-2 flex aspect-5/3 items-center justify-center overflow-hidden rounded-md bg-muted/40 p-3 *:max-h-full *:max-w-full [&_img]:size-full [&_img]:rounded-md [&_img]:object-contain`,children:_.preview.render()}),(0,Z.jsx)(`p`,{className:`line-clamp-3 px-1 pb-1 text-xs text-muted-foreground`,children:_.preview.description})]}):null}):null,t[44]=g,t[45]=_,t[46]=A):A=t[46];let j;return t[47]!==x||t[48]!==k||t[49]!==A?(j=(0,Z.jsxs)(`div`,{className:x,children:[k,A]}),t[47]=x,t[48]=k,t[49]=A,t[50]=j):j=t[50],j}function _H(e){return e.preview}function vH(e){return e.preventDefault()}var yH=new Re(`slashCommand`),bH=be.create({name:`slashCommand`,addOptions(){return{itemsSources:[OC],categoryLabels:{basic:`Basic blocks`,insert:`Insert`}}},addProseMirrorPlugins(){let e=this;return[Zu({editor:this.editor,pluginKey:yH,char:`/`,startOfLine:!1,allow:({editor:e})=>!id(e),items:({query:t})=>{let n=e.options.itemsSources.flatMap(e=>{try{return e()}catch(e){return console.error(`[slash-command] item source threw an error`,e),[]}}),r=Object.keys(e.options.categoryLabels),i=e=>{let t=r.indexOf(e);return t===-1?1/0:t};return kC(n.map((e,t)=>({item:e,i:t})).sort((e,t)=>{let n=i(e.item.category)-i(t.item.category);return n===0?e.i-t.i:n}).map(e=>e.item),t)},command:({editor:e,range:t,props:n})=>{try{e.chain().focus().deleteRange(t).run()}catch(e){console.error(`[slash-command] deleteRange failed for "${n.name}"`,e);return}try{n.command(e)}catch(e){console.error(`[slash-command] command "${n.name}" threw an error`,e)}},render:()=>{let t=null,n=null,r=0,i={popup:null,stopAutoUpdate:null},a=null,o=e=>{e!==r&&(r=e,s())},s=()=>{!t||!n||t.updateProps({items:n.items,selectedIndex:r,categoryLabels:e.options.categoryLabels,onSelect:n.command,onHoverIndex:o})};return{onStart(s){n=s,r=0;let c=ad(()=>n,`slash-command`);i.popup=c.popup,a=c.doPosition,t=new Bu(gH,{props:{items:s.items,selectedIndex:r,categoryLabels:e.options.categoryLabels,onSelect:s.command,onHoverIndex:o},editor:s.editor}),c.popup.appendChild(t.element),i.stopAutoUpdate=c.startAutoUpdate(),c.reveal()},onUpdate(e){n=e,r=Math.min(r,Math.max(0,e.items.length-1)),s(),a?.()},onKeyDown({event:e}){if(!n||n.items.length===0)return!1;let t=n.items;if(e.key===`ArrowDown`)return r=(r+1)%t.length,s(),!0;if(e.key===`ArrowUp`)return r=(r-1+t.length)%t.length,s(),!0;if(e.key===`Enter`||e.key===`Tab`){let e=t[r];return e&&n.command(e),!0}return e.key,!1},onExit(){od(i),a=null,t?.destroy(),t=null,n=null,r=0}}}})]}}),xH=new Re(`sourceDirty`),SH=be.create({name:`sourceDirtyObserver`,addProseMirrorPlugins(){return[new Ut({key:xH,appendTransaction(e,t,n){if(!e.some(e=>!e.getMeta(Lp))||!e.some(e=>e.docChanged))return null;let r=new zt;for(let t of e)r.appendMapping(t.mapping);let i=r.invert(),a=[];if(n.doc.descendants((e,n)=>{if(e.type.name!==`jsxComponent`||e.attrs.sourceDirty)return;let r=i.map(n),o=t.doc.nodeAt(r),s=!o||o.type.name!==`jsxComponent`,c=typeof e.attrs.sourceRaw==`string`&&e.attrs.sourceRaw.length>0;if(s&&c)return;if(!o){(e.content.size>0||Object.keys(e.attrs.props??{}).length>0)&&a.push({pos:n});return}if(o.type.name!==`jsxComponent`){a.push({pos:n});return}let l=!CH(o.attrs.props,e.attrs.props),u=!o.content.eq(e.content);(l||u)&&a.push({pos:n})}),a.length===0)return null;let o=n.tr;for(let{pos:e}of a)o.setNodeAttribute(e,`sourceDirty`,!0);return o}})]}});function CH(e,t){if(Object.is(e,t))return!0;if(e==null||t==null||typeof e!=typeof t||typeof e!=`object`)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!CH(e[n],t[n]))return!1;return!0}let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!CH(e[r],t[r]))return!1;return!0}var wH=be.create({name:`tabFocusTrap`,priority:1,addKeyboardShortcuts(){return{Tab:()=>!0,"Shift-Tab":()=>!0}}});function TH(e,t){let n=e.doc.nodeAt(t);if(!n||n.type.name!==`table`)return null;let r=fe.get(n);return{map:r,tableStart:t+1,table:n,left:0,top:0,right:r.width,bottom:r.height}}function EH(e,t){let n=TH(e,t);return n?Kt(e.tr,n,n.map.width):null}function DH(e,t){let n=TH(e,t);return n?v(e.tr,n,n.map.height):null}function OH(e,t){if(!e.dom.contains(t))return null;let n;try{n=e.posAtDOM(t,0)}catch{return null}return n<0?null:Se(e.state.doc.resolve(n))?.pos??null}var kH=`<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M12 5v14"/></svg>`;function AH(e,t){let n=document.createElement(`button`);return n.type=`button`,n.className=`ok-table-insert-bar ok-table-insert-${e}`,n.setAttribute(`aria-label`,t),n.tabIndex=-1,n.setAttribute(cE,`true`),n.innerHTML=kH,n.addEventListener(`mousedown`,e=>{e.preventDefault(),e.stopPropagation()}),n}var jH=class{overlays=new Map;mount;lastEditable;constructor(e,t){this.view=e,this.editor=t,this.mount=e.dom.parentElement??e.dom,this.lastEditable=t.isEditable,this.reconcile()}update(e,t){let n=this.editor.isEditable!==this.lastEditable;this.lastEditable=this.editor.isEditable,!(!n&&t.doc.eq(this.view.state.doc))&&this.reconcile()}destroy(){for(let e of this.overlays.keys())this.removeOverlay(e)}reconcile(){if(!this.editor.isEditable){this.destroy();return}let e=new Set(this.view.dom.querySelectorAll(`.tableWrapper`));for(let t of this.overlays.keys())e.has(t)||this.removeOverlay(t);for(let t of e)this.overlays.has(t)||this.addOverlay(t)}addOverlay(e){let t=document.createElement(`div`);t.className=`ok-table-insert-controls`,t.setAttribute(cE,`true`);let n=AH(`column`,`Add column`),r=AH(`row`,`Add row`);n.addEventListener(`click`,()=>this.insert(e,EH)),r.addEventListener(`click`,()=>this.insert(e,DH)),t.append(n,r),this.mount.appendChild(t);let i=ui(e,t,()=>{let{width:t,height:i}=e.getBoundingClientRect();mi(e,n,{strategy:`absolute`,placement:`right-start`}).then(({x:e,y:t})=>{n.style.left=`${e}px`,n.style.top=`${t}px`,n.style.height=`${i}px`}).catch(()=>{}),mi(e,r,{strategy:`absolute`,placement:`bottom-start`}).then(({x:e,y:n})=>{r.style.left=`${e}px`,r.style.top=`${n}px`,r.style.width=`${t}px`}).catch(()=>{})}),a=e=>{let t=e.target instanceof Element?e.target.closest(`td, th`):null,i=t?.parentElement;n.classList.toggle(`is-active`,!!t&&t===i?.lastElementChild),r.classList.toggle(`is-active`,!!i&&i===i.parentElement?.lastElementChild)},o=()=>{n.classList.remove(`is-active`),r.classList.remove(`is-active`)};e.addEventListener(`pointerover`,a),e.addEventListener(`pointerleave`,o),this.overlays.set(e,{container:t,cleanup:()=>{i(),e.removeEventListener(`pointerover`,a),e.removeEventListener(`pointerleave`,o),t.remove()}})}removeOverlay(e){let t=this.overlays.get(e);t&&(t.cleanup(),this.overlays.delete(e))}insert(e,t){let n=e.querySelector(`table`);if(!n)return;let r=OH(this.view,n);if(r===null)return;let i=t(this.view.state,r);i&&(this.view.dispatch(i),this.view.focus())}},MH=be.create({name:`tableInsertControls`,addProseMirrorPlugins(){let e=this.editor;return[new Ut({key:new Re(`tableInsertControls`),view:t=>new jH(t,e)})]}}),NH=`ok:tag-click`;function PH(e){if(typeof document>`u`)return;let t={value:e};document.dispatchEvent(new CustomEvent(NH,{detail:t}))}function FH(e){return e instanceof Element?e.closest(`a[data-tag]`):null}var IH=be.create({name:`tagClick`,addProseMirrorPlugins(){return[new Ut({props:{handleDOMEvents:{click(e,t){let n=FH(t.target);if(!n)return!1;let r=n.getAttribute(`data-tag`);return r?(t.preventDefault(),t.stopPropagation(),PH(r),!0):!1}}}})]}});function LH(e,t,n){if(typeof t!=`number`||!n||!Gt.test(n))return!1;let{state:r,view:i}=e,a=r.doc.nodeAt(t);if(!a||a.type.name!==`tag`)return!1;let o=r.tr.setNodeMarkup(t,null,{...a.attrs,value:n}),s=t+a.nodeSize;return o.insertText(` `,s),o.setSelection(y.create(o.doc,s+1)),i.dispatch(o),i.focus(),!0}function RH(e,t){if(typeof t!=`number`)return;let{state:n,view:r}=e,i=n.doc.nodeAt(t);if(!i||i.type.name!==`tag`)return;let a=n.tr.delete(t,t+i.nodeSize);r.dispatch(a),r.focus()}function zH(e){let t=(0,$.c)(3),{value:n}=e,r=`#tag/${n}`,i;return t[0]!==r||t[1]!==n?(i=(0,Z.jsxs)(`a`,{className:`tag`,"data-tag":n,href:r,children:[`#`,n]}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function BH(e){let t=(0,$.c)(20),{initialDraft:n,onCommit:r,onCancel:i}=e,{_:a}=s(),o=(0,Q.useRef)(null),[c,l]=(0,Q.useState)(n),u=(0,Q.useRef)(!1),d,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(d=()=>{let e=requestAnimationFrame(()=>{o.current?.focus()});return()=>cancelAnimationFrame(e)},f=[],t[0]=d,t[1]=f):(d=t[0],f=t[1]),(0,Q.useEffect)(d,f);let p;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Z.jsx)(`span`,{"aria-hidden":`true`,className:`font-mono`,children:`#`}),t[2]=p):p=t[2];let m=Math.max(c.length,8),h;t[3]===a?h=t[4]:(h=a({id:`U2pMtf`}),t[3]=a,t[4]=h);let g;t[5]===a?g=t[6]:(g=a({id:`knjOzA`}),t[5]=a,t[6]=g);let _;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(_=e=>{let t=e.target.value;(t===``||Gt.test(t))&&l(t)},t[7]=_):_=t[7];let v,y;t[8]!==c||t[9]!==i||t[10]!==r?(v=e=>{e.key===`Enter`||e.key===` `?(e.preventDefault(),u.current=!0,r(c)||(u.current=!1,i())):(e.key===`Escape`||e.key===`Backspace`&&c===``)&&(e.preventDefault(),i())},y=()=>{if(!u.current){if(c===``){i();return}Gt.test(c)?r(c):i()}},t[8]=c,t[9]=i,t[10]=r,t[11]=v,t[12]=y):(v=t[11],y=t[12]);let b;return t[13]!==c||t[14]!==m||t[15]!==h||t[16]!==g||t[17]!==v||t[18]!==y?(b=(0,Z.jsxs)(`span`,{className:`tag tag-placeholder inline-flex items-center rounded-sm border border-dashed border-muted-foreground/40 bg-muted/30 px-1.5 py-0.5 text-xs text-muted-foreground`,"data-component-type":`tag-placeholder`,children:[p,(0,Z.jsx)(`input`,{ref:o,type:`text`,value:c,size:m,placeholder:h,"aria-label":g,spellCheck:!1,autoCorrect:`off`,autoCapitalize:`off`,className:`bg-transparent border-0 p-0 outline-none focus:outline-none focus:ring-0 text-inherit font-inherit`,onChange:_,onKeyDown:v,onBlur:y})]}),t[13]=c,t[14]=m,t[15]=h,t[16]=g,t[17]=v,t[18]=y,t[19]=b):b=t[19],b}function VH(e){let t=(0,$.c)(5),{node:n,getPos:r,editor:i}=e,a=typeof n.attrs.value==`string`?n.attrs.value:``;if(a===``){let e;return t[0]!==i||t[1]!==r?(e=(0,Z.jsx)(Pu,{as:`span`,children:(0,Z.jsx)(BH,{initialDraft:``,onCommit:e=>LH(i,typeof r==`function`?r():void 0,e),onCancel:()=>RH(i,typeof r==`function`?r():void 0)})}),t[0]=i,t[1]=r,t[2]=e):e=t[2],e}let o;return t[3]===a?o=t[4]:(o=(0,Z.jsx)(Pu,{as:`span`,children:(0,Z.jsx)(zH,{value:a})}),t[3]=a,t[4]=o),o}var HH=w.extend({priority:200,addNodeView(){return Hu(VH)},addKeyboardShortcuts(){return{Backspace:()=>{if(sd.getState(this.editor.state)?.active)return!1;let{selection:e}=this.editor.state;if(!e.empty)return!1;let t=e.$from.nodeBefore;if(t?.type.name===`tag`){let{state:n,view:r}=this.editor;return r.dispatch(n.tr.delete(e.from-t.nodeSize,e.from)),!0}return!1},Delete:()=>{if(sd.getState(this.editor.state)?.active)return!1;let{selection:e}=this.editor.state;if(!e.empty)return!1;let t=e.$from.nodeAfter;if(t?.type.name===`tag`){let{state:n,view:r}=this.editor;return r.dispatch(n.tr.delete(e.from,e.from+t.nodeSize)),!0}return!1}}},addProseMirrorPlugins(){return[md(this.editor)]}}),UH=2048,WH=24;function GH(e){if(typeof e!=`string`)return{kind:`unsupported`,value:``};let t=e.trim();if(t===``||t.length>UH)return{kind:`unsupported`,value:``};if(JH(t))return{kind:`emoji`,value:t};let n=YH(t);return n===`url`?{kind:`url`,value:t}:n===`path`?{kind:`path`,value:ve(`/api/asset?path=${encodeURIComponent(qH(t))}`)}:{kind:`unsupported`,value:``}}function KH(e){if(typeof e!=`string`)return{kind:`unsupported`,value:``};let t=e.trim();if(t===``||t.length>UH)return{kind:`unsupported`,value:``};let n=YH(t);return n===`url`?{kind:`url`,value:t}:n===`path`?{kind:`path`,value:ve(`/api/asset?path=${encodeURIComponent(qH(t))}`)}:{kind:`unsupported`,value:``}}function qH(e){return e.startsWith(`/`)?e.slice(1):e}function JH(e){if(/\p{L}/u.test(e)||e.includes(`/`))return!1;let t=0;for(let n of e)t++;if(t>WH)return!1;let n=e.lastIndexOf(`.`);if(n>-1){let t=e.slice(n+1).toLowerCase();if(E.has(t))return!1}return!0}function YH(e){let t=XH(e);if(!t||!E.has(t))return`unsupported`;let n=e.indexOf(`:`),r=e.indexOf(`/`);return n>-1&&(r===-1||n<r)?Oe(e)?`url`:`unsupported`:e.startsWith(`//`)||e.includes(`?`)||e.includes(`#`)||e.startsWith(`../`)||e.includes(`/../`)?`unsupported`:`path`}function XH(e){let t=e.lastIndexOf(`/`),n=t>-1?e.slice(t+1):e,r=n.search(/[?#]/),i=r>-1?n.slice(0,r):n,a=i.lastIndexOf(`.`);return a<=0||a===i.length-1?null:i.slice(a+1).toLowerCase()}function ZH(e){let t=(0,$.c)(133),{open:n,target:r,alias:i,anchor:a,pages:c,assetPaths:l,filePaths:u,loading:d,onOpenChange:f,onSave:p}=e,[m,h]=(0,Q.useState)(r),[g,_]=(0,Q.useState)(i??``),[v,y]=(0,Q.useState)(a??``),b=(0,Q.useId)(),x=(0,Q.useId)(),S=(0,Q.useId)(),C=(0,Q.useId)(),{_:w}=s(),T;t[0]!==l||t[1]!==m||t[2]!==u?(T=Av(m,l,u),t[0]=l,t[1]=m,t[2]=u,t[3]=T):T=t[3];let E=T,D;t[4]!==l||t[5]!==m||t[6]!==u||t[7]!==c?(D=jv(m,c,l,u),t[4]=l,t[5]=m,t[6]=u,t[7]=c,t[8]=D):D=t[8];let O=zz(m,D&&!E&&n),k=(0,Q.useRef)(!1),A,j;t[9]!==i||t[10]!==a||t[11]!==n||t[12]!==r?(A=()=>{if(!n){k.current=!1;return}k.current||(k.current=!0,h(r),_(i??``),y(a??``))},j=[n,r,i,a],t[9]=i,t[10]=a,t[11]=n,t[12]=r,t[13]=A,t[14]=j):(A=t[13],j=t[14]),(0,Q.useEffect)(A,j);let M;t[15]!==g||t[16]!==v||t[17]!==m||t[18]!==f||t[19]!==p?(M=function(){let e=m.trim();e&&(p(e,g.trim()||null,v.trim()||null),f(!1))},t[15]=g,t[16]=v,t[17]=m,t[18]=f,t[19]=p,t[20]=M):M=t[20];let N=M,P;t[21]===N?P=t[22]:(P=function(e){e.key===`Enter`&&(e.preventDefault(),N())},t[21]=N,t[22]=P);let F=P,I;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(I=function(e){h(e.path),y(``)},t[23]=I):I=t[23];let L=I,ee,R,z,B,V,H,U,W,te,G,ne,K,re,ie,ae,oe,q;if(t[24]!==w||t[25]!==S||t[26]!==x||t[27]!==l||t[28]!==g||t[29]!==v||t[30]!==m||t[31]!==F||t[32]!==C||t[33]!==O||t[34]!==d||t[35]!==f||t[36]!==n||t[37]!==c||t[38]!==b){let e=new Map,r=O?.map(t=>{let n=e.get(t.slug)??0;e.set(t.slug,n+1);let r=n===0?t.slug:`${t.slug}-${n}`;return{...t,reactKey:r}}),i=!!r?.length;z=oi,ie=n,ae=f,R=Qr,W=`sm:max-w-xl`,te=``,G=xz,ne=xz,K=xz;let a;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(qr,{children:(0,Z.jsx)(o,{id:`xzktOa`})}),t[56]=a):a=t[56],t[57]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,Z.jsxs)(ai,{children:[a,(0,Z.jsx)(Kr,{children:(0,Z.jsx)(o,{id:`Jhj_lh`})})]}),t[57]=re):re=t[57],ee=ti,V=`space-y-6`;let s;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Z.jsx)(o,{id:`lGs_bQ`,components:{0:(0,Z.jsx)(`span`,{className:`text-red-500`})}}),t[58]=s):s=t[58];let u;t[59]===b?u=t[60]:(u=(0,Z.jsx)(`label`,{className:`mb-1.5 block text-sm font-medium`,htmlFor:b,children:s}),t[59]=b,t[60]=u);let p;t[61]===w?p=t[62]:(p=w({id:`aM23Wr`}),t[61]=w,t[62]=p);let T;t[63]!==l||t[64]!==m||t[65]!==F||t[66]!==d||t[67]!==c||t[68]!==p||t[69]!==b?(T=(0,Z.jsx)(wz,{id:b,value:m,pages:c,assetPaths:l,includeAssets:!0,loading:d,onValueChange:h,onSuggestionSelect:L,placeholder:p,autoFocus:!0,"aria-required":`true`,onKeyDown:F}),t[63]=l,t[64]=m,t[65]=F,t[66]=d,t[67]=c,t[68]=p,t[69]=b,t[70]=T):T=t[70],t[71]!==u||t[72]!==T?(H=(0,Z.jsxs)(`div`,{children:[u,T]}),t[71]=u,t[72]=T,t[73]=H):H=t[73];let E;t[74]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,Z.jsx)(o,{id:`OTF92M`,components:{0:(0,Z.jsx)(`span`,{className:`font-normal text-muted-foreground`})}}),t[74]=E):E=t[74];let D;t[75]===S?D=t[76]:(D=(0,Z.jsx)(`label`,{className:`mb-1.5 block text-sm font-medium`,htmlFor:S,children:E}),t[75]=S,t[76]=D);let k;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(k=e=>_(e.target.value),t[77]=k):k=t[77];let A;t[78]===w?A=t[79]:(A=w({id:`BH56dn`}),t[78]=w,t[79]=A);let j;t[80]!==S||t[81]!==g||t[82]!==F||t[83]!==A?(j=(0,Z.jsx)(xi,{id:S,value:g,onChange:k,placeholder:A,onKeyDown:F}),t[80]=S,t[81]=g,t[82]=F,t[83]=A,t[84]=j):j=t[84],t[85]!==D||t[86]!==j?(U=(0,Z.jsxs)(`div`,{children:[D,j]}),t[85]=D,t[86]=j,t[87]=U):U=t[87];let M;t[88]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,Z.jsx)(o,{id:`Tjc1pH`,components:{0:(0,Z.jsx)(`span`,{className:`font-normal text-muted-foreground`})}}),t[88]=M):M=t[88],t[89]===x?oe=t[90]:(oe=(0,Z.jsx)(`label`,{className:`mb-1.5 block text-sm font-medium`,htmlFor:x,children:M}),t[89]=x,t[90]=oe);let N;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(N=e=>y(e.target.value),t[91]=N):N=t[91];let P;t[92]===w?P=t[93]:(P=w({id:`W-ntoW`}),t[92]=w,t[93]=P),t[94]!==x||t[95]!==v||t[96]!==F||t[97]!==P?(q=(0,Z.jsx)(xi,{id:x,value:v,onChange:N,placeholder:P,onKeyDown:F}),t[94]=x,t[95]=v,t[96]=F,t[97]=P,t[98]=q):q=t[98],B=i&&(0,Z.jsx)(`div`,{id:C,className:`mt-1.5 max-h-36 overflow-y-auto subtle-scrollbar rounded-md border border-border bg-muted/30`,children:r.map(e=>(0,Z.jsxs)(`button`,{type:`button`,"aria-pressed":v===e.slug,className:Qt(`flex w-full items-center gap-2 px-2 py-1 text-left text-sm hover:bg-accent hover:text-accent-foreground`,v===e.slug&&`bg-accent text-accent-foreground`),style:{paddingLeft:`${(e.level-1)*12+8}px`},onClick:()=>y(v===e.slug?``:e.slug),children:[(0,Z.jsxs)(`span`,{className:`w-7 shrink-0 font-mono text-[10px] text-muted-foreground`,children:[`H`,e.level]}),(0,Z.jsx)(`span`,{className:`truncate`,children:e.text})]},e.reactKey))}),t[24]=w,t[25]=S,t[26]=x,t[27]=l,t[28]=g,t[29]=v,t[30]=m,t[31]=F,t[32]=C,t[33]=O,t[34]=d,t[35]=f,t[36]=n,t[37]=c,t[38]=b,t[39]=ee,t[40]=R,t[41]=z,t[42]=B,t[43]=V,t[44]=H,t[45]=U,t[46]=W,t[47]=te,t[48]=G,t[49]=ne,t[50]=K,t[51]=re,t[52]=ie,t[53]=ae,t[54]=oe,t[55]=q}else ee=t[39],R=t[40],z=t[41],B=t[42],V=t[43],H=t[44],U=t[45],W=t[46],te=t[47],G=t[48],ne=t[49],K=t[50],re=t[51],ie=t[52],ae=t[53],oe=t[54],q=t[55];let se;t[99]!==B||t[100]!==oe||t[101]!==q?(se=(0,Z.jsxs)(`div`,{children:[oe,q,B]}),t[99]=B,t[100]=oe,t[101]=q,t[102]=se):se=t[102];let ce;t[103]!==V||t[104]!==H||t[105]!==U||t[106]!==se?(ce=(0,Z.jsxs)(`div`,{className:V,children:[H,U,se]}),t[103]=V,t[104]=H,t[105]=U,t[106]=se,t[107]=ce):ce=t[107];let le;t[108]!==ee||t[109]!==ce?(le=(0,Z.jsx)(ee,{children:ce}),t[108]=ee,t[109]=ce,t[110]=le):le=t[110];let ue;t[111]===Symbol.for(`react.memo_cache_sentinel`)?(ue=(0,Z.jsx)(ii,{asChild:!0,children:(0,Z.jsx)(nn,{variant:`outline`,children:(0,Z.jsx)(o,{id:`dEgA5A`})})}),t[111]=ue):ue=t[111];let de;t[112]===m?de=t[113]:(de=m.trim(),t[112]=m,t[113]=de);let fe=!de,pe;t[114]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,Z.jsx)(o,{id:`tfDRzk`}),t[114]=pe):pe=t[114];let me;t[115]!==N||t[116]!==fe?(me=(0,Z.jsxs)(ni,{children:[ue,(0,Z.jsx)(nn,{onClick:N,disabled:fe,children:pe})]}),t[115]=N,t[116]=fe,t[117]=me):me=t[117];let he;t[118]!==R||t[119]!==W||t[120]!==te||t[121]!==G||t[122]!==ne||t[123]!==K||t[124]!==re||t[125]!==le||t[126]!==me?(he=(0,Z.jsxs)(R,{className:W,"data-ok-layer-spawned":te,onPointerDownOutside:G,onFocusOutside:ne,onInteractOutside:K,children:[re,le,me]}),t[118]=R,t[119]=W,t[120]=te,t[121]=G,t[122]=ne,t[123]=K,t[124]=re,t[125]=le,t[126]=me,t[127]=he):he=t[127];let ge;return t[128]!==z||t[129]!==ie||t[130]!==ae||t[131]!==he?(ge=(0,Z.jsx)(z,{open:ie,onOpenChange:ae,children:he}),t[128]=z,t[129]=ie,t[130]=ae,t[131]=he,t[132]=ge):ge=t[132],ge}function QH(e){let t=(0,$.c)(116),{editor:n,getPos:r,onClose:i,onNavigate:a}=e,c=r(),l=c==null?null:n.state.doc.nodeAt(c),u=String(l?.attrs.target??``),d=Ie(l?.attrs.alias),f=Ie(l?.attrs.anchor),p=Bt({target:u,alias:d,anchor:f}),{addPage:m,assetPaths:h,filePaths:g,folderPaths:_,pages:v,pagesBySlug:y,pagesByBasename:b,loading:x}=ln(),S=Tt(u,f),C=S?.kind===`external`?S:null,w=S?.kind===`asset`?Av(S.url,h,g)??S.url.replace(/^\//,``):null,T=w?null:XP(u,{pages:v,folderPaths:_,pagesBySlug:y,pagesByBasename:b,fallbackTargets:Ev(u)}),[E,D]=(0,Q.useState)(!1),[O,k]=(0,Q.useState)(!1),{_:A}=s();if(!l)return null;let j;t[0]!==n.state||t[1]!==n.view||t[2]!==r?(j=function(e,t,i){let a=r();a!=null&&n.view.dispatch(n.state.tr.setNodeMarkup(a,void 0,{...n.state.doc.nodeAt(a)?.attrs,target:e,alias:t,anchor:i}))},t[0]=n.state,t[1]=n.view,t[2]=r,t[3]=j):j=t[3];let M=j,N;t[4]!==n.state||t[5]!==n.view||t[6]!==r||t[7]!==i?(N=function(){let e=r();if(e==null)return;let t=n.state.doc.nodeAt(e);t&&(n.view.dispatch(n.state.tr.delete(e,e+t.nodeSize)),i())},t[4]=n.state,t[5]=n.view,t[6]=r,t[7]=i,t[8]=N):N=t[8];let P=N,F=function(e){if(e!==u){let t=r();if(t==null)return;n.view.dispatch(n.state.tr.setNodeMarkup(t,void 0,{...n.state.doc.nodeAt(t)?.attrs,target:e,alias:d??p}))}},I=function(){return T?.kind===`create`?{initialDir:T.initialDir,suggestedName:T.suggestedName}:null},L=async function(){let e=I();if(!(!e||O)){k(!0);try{await lz(e,{addPage:m,onCreated(e){F(e),window.location.hash=`#/${e}`,i()}}),k(!1)}catch(e){let t=e;Tr.error(t instanceof Error?t.message:A({id:`tfi40B`})),k(!1)}}},ee=!C&&!x&&w!==null,R=!C&&!x&&T?.kind===`navigate`&&T.displayState===`resolved`,z=!C&&!x&&T?.kind===`navigate`&&T.displayState===`folder`,B=!C&&!x&&!w&&T?.kind===`create`,V=!!C,H=C?oF(C.url)?C.url:null:ee&&w?Ii(w):R&&T?.kind===`navigate`?lF({docName:T.hashDocName,anchor:f}):null,U=!x&&H!==null&&(V||ee||R),W,te,G,ne,K;if(t[9]!==A||t[10]!==d||t[11]!==f||t[12]!==w||t[13]!==n.state||t[14]!==n.view||t[15]!==C||t[16]!==r||t[17]!==ee||t[18]!==z||t[19]!==R||t[20]!==B||t[21]!==x||t[22]!==u){if(x){let e;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Cr,{className:`size-3.5 shrink-0 animate-spin`,"aria-hidden":`true`}),t[28]=e):e=t[28],G={icon:e,text:A({id:`yQE2r9`}),className:`text-muted-foreground/80`}}else if(C){let e;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(cn,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[29]=e):e=t[29],G={icon:e,text:A({id:`hpDtUm`}),className:`text-muted-foreground`}}else if(ee){let e;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(io,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[30]=e):e=t[30],G={icon:e,text:A({id:`bUUVED`}),className:`text-muted-foreground`}}else if(z){let e;t[31]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(br,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[31]=e):e=t[31],G={icon:e,text:A({id:`kNqMMd`}),className:`text-muted-foreground`}}else if(B){let e;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ya,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[32]=e):e=t[32],G={icon:e,text:A({id:`8F1i42`}),className:`text-red-700 dark:text-red-300`}}else if(R){let e;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(co,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[33]=e):e=t[33],G={icon:e,text:A({id:`Hrz9NY`}),className:`text-muted-foreground`}}else{let e;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Z.jsx)(Ya,{className:`size-3.5 shrink-0`,"aria-hidden":`true`}),t[34]=e):e=t[34],G={icon:e,text:A({id:`DeDYLr`}),className:`text-muted-foreground/80`}}let e;t[35]!==n.state||t[36]!==n.view||t[37]!==r?(e=()=>{let e=r();if(typeof e!=`number`)return new DOMRect;let t=n.state.doc.nodeAt(e);if(!t)return new DOMRect;try{return Pt(n.view,e,e+t.nodeSize)}catch{return new DOMRect}},t[35]=n.state,t[36]=n.view,t[37]=r,t[38]=e):e=t[38];let i;t[39]!==n.view.dom||t[40]!==e?(i={getBoundingClientRect:e,contextElement:n.view.dom},t[39]=n.view.dom,t[40]=e,t[41]=i):i=t[41],K=i,te=w??(C?C.url:`${u}${f?`#${f}`:``}`);let a=f?`${u}#${f}`:u;W=d?`[[${a}|${d}]]`:`[[${a}]]`,ne=Qt(`flex shrink-0`,G.className),t[9]=A,t[10]=d,t[11]=f,t[12]=w,t[13]=n.state,t[14]=n.view,t[15]=C,t[16]=r,t[17]=ee,t[18]=z,t[19]=R,t[20]=B,t[21]=x,t[22]=u,t[23]=W,t[24]=te,t[25]=G,t[26]=ne,t[27]=K}else W=t[23],te=t[24],G=t[25],ne=t[26],K=t[27];let re;t[42]!==G.icon||t[43]!==ne?(re=(0,Z.jsx)(`span`,{className:ne,children:G.icon}),t[42]=G.icon,t[43]=ne,t[44]=re):re=t[44];let ie=re,ae;t[45]!==ie||t[46]!==B||t[47]!==G.text?(ae=B?(0,Z.jsxs)(Br,{children:[(0,Z.jsx)(Rr,{asChild:!0,children:(0,Z.jsx)(`span`,{className:`flex shrink-0`,"data-slot":`wiki-link-prop-panel-icon-trigger`,children:ie})}),(0,Z.jsx)(zr,{children:G.text})]}):ie,t[45]=ie,t[46]=B,t[47]=G.text,t[48]=ae):ae=t[48];let oe=ae,q=`${G.text}: ${te}`,se;t[49]!==te||t[50]!==V||t[51]!==B||t[52]!==H||t[53]!==U||t[54]!==i||t[55]!==a?(se=(0,Z.jsx)(Rr,{asChild:!0,children:U?(0,Z.jsx)(`a`,{href:H??void 0,...V?{target:`_blank`,rel:`noopener noreferrer`}:{},onClick:e=>gF(e,a,i),"data-slot":`wiki-link-prop-panel-text`,className:`block truncate text-sm font-medium text-foreground underline-offset-2 hover:underline focus-visible:underline`,children:te}):(0,Z.jsx)(`span`,{"data-slot":`wiki-link-prop-panel-text`,className:Qt(`block truncate text-sm font-medium`,B?`text-muted-foreground`:`text-foreground`),children:te})}),t[49]=te,t[50]=V,t[51]=B,t[52]=H,t[53]=U,t[54]=i,t[55]=a,t[56]=se):se=t[56];let ce;t[57]===te?ce=t[58]:(ce=(0,Z.jsx)(zr,{className:`max-w-80 break-all`,children:te}),t[57]=te,t[58]=ce);let le;t[59]!==se||t[60]!==ce?(le=(0,Z.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,Z.jsxs)(Br,{children:[se,ce]})}),t[59]=se,t[60]=ce,t[61]=le):le=t[61];let ue;t[62]!==L||t[63]!==O||t[64]!==B?(ue=B?(0,Z.jsxs)(nn,{type:`button`,size:`sm`,variant:`link`,disabled:O,onClick:()=>void L(),"data-slot":`wiki-link-prop-panel-create`,className:`flex items-center text-foreground`,children:[(0,Z.jsx)(Mo,{className:`size-3.5`,"aria-hidden":`true`}),O?(0,Z.jsx)(o,{id:`HM56Bx`}):(0,Z.jsx)(o,{id:`XRuL0i`})]}):null,t[62]=L,t[63]=O,t[64]=B,t[65]=ue):ue=t[65];let de;t[66]===A?de=t[67]:(de=A({id:`ePK91l`}),t[66]=A,t[67]=de);let fe;t[68]===D?fe=t[69]:(fe=()=>D(!0),t[68]=D,t[69]=fe);let pe;t[70]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,Z.jsx)(vn,{className:`size-3.5`,"aria-hidden":`true`}),t[70]=pe):pe=t[70];let me;t[71]!==de||t[72]!==fe?(me=(0,Z.jsx)(Rr,{asChild:!0,children:(0,Z.jsx)(nn,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":de,onClick:fe,"data-slot":`wiki-link-prop-panel-edit`,children:pe})}),t[71]=de,t[72]=fe,t[73]=me):me=t[73];let he;t[74]===Symbol.for(`react.memo_cache_sentinel`)?(he=(0,Z.jsx)(zr,{children:(0,Z.jsx)(o,{id:`ePK91l`})}),t[74]=he):he=t[74];let ge;t[75]===me?ge=t[76]:(ge=(0,Z.jsxs)(Br,{children:[me,he]}),t[75]=me,t[76]=ge);let _e;t[77]===W?_e=t[78]:(_e=(0,Z.jsx)(Mz,{copyContent:W}),t[77]=W,t[78]=_e);let ve;t[79]===A?ve=t[80]:(ve=A({id:`t_YqKh`}),t[79]=A,t[80]=ve);let ye;t[81]===Symbol.for(`react.memo_cache_sentinel`)?(ye=(0,Z.jsx)(_n,{className:`size-3.5`,"aria-hidden":`true`}),t[81]=ye):ye=t[81];let be;t[82]!==P||t[83]!==ve?(be=(0,Z.jsx)(Rr,{asChild:!0,children:(0,Z.jsx)(nn,{type:`button`,size:`icon-sm`,variant:`ghost`,"aria-label":ve,onClick:P,"data-slot":`wiki-link-prop-panel-remove`,children:ye})}),t[82]=P,t[83]=ve,t[84]=be):be=t[84];let xe;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(xe=(0,Z.jsx)(zr,{children:(0,Z.jsx)(o,{id:`t_YqKh`})}),t[85]=xe):xe=t[85];let Se;t[86]===be?Se=t[87]:(Se=(0,Z.jsxs)(Br,{children:[be,xe]}),t[86]=be,t[87]=Se);let Ce;t[88]!==ue||t[89]!==ge||t[90]!==_e||t[91]!==Se?(Ce=(0,Z.jsxs)(`div`,{className:`flex shrink-0 items-center gap-0.5`,children:[ue,ge,_e,Se]}),t[88]=ue,t[89]=ge,t[90]=_e,t[91]=Se,t[92]=Ce):Ce=t[92];let we;t[93]!==oe||t[94]!==le||t[95]!==Ce?(we=(0,Z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[oe,le,Ce]}),t[93]=oe,t[94]=le,t[95]=Ce,t[96]=we):we=t[96];let Te;t[97]!==i||t[98]!==we||t[99]!==q||t[100]!==K?(Te=(0,Z.jsx)($R,{kind:`wiki-link`,ariaLabel:q,onDeactivate:i,triggerReference:K,className:`w-96`,children:we}),t[97]=i,t[98]=we,t[99]=q,t[100]=K,t[101]=Te):Te=t[101];let Ee;t[102]!==d||t[103]!==f||t[104]!==h||t[105]!==E||t[106]!==g||t[107]!==M||t[108]!==x||t[109]!==v||t[110]!==D||t[111]!==u?(Ee=(0,Z.jsx)(ZH,{open:E,target:u,alias:d,anchor:f,pages:v,assetPaths:h,filePaths:g,loading:x,onOpenChange:D,onSave:M}),t[102]=d,t[103]=f,t[104]=h,t[105]=E,t[106]=g,t[107]=M,t[108]=x,t[109]=v,t[110]=D,t[111]=u,t[112]=Ee):Ee=t[112];let De;return t[113]!==Te||t[114]!==Ee?(De=(0,Z.jsxs)(Z.Fragment,{children:[Te,Ee]}),t[113]=Te,t[114]=Ee,t[115]=De):De=t[115],De}var $H=0;function eU(){return`wiki-link-${++$H}`}function tU(e){let t=e.doc??(typeof document<`u`?document:{createElement:null,createTextNode:null}),n=t.createElement(`span`);n.setAttribute(`data-wiki-link`,``),n.setAttribute(`data-node-id`,e.nodeId),n.setAttribute(`data-target`,e.target),n.setAttribute(`data-alias`,e.alias??``),n.setAttribute(`data-anchor`,e.anchor??``),n.setAttribute(`contenteditable`,`false`),n.setAttribute(`role`,`button`),n.setAttribute(`tabindex`,`0`),n.setAttribute(`aria-label`,`Wiki link: ${e.target}${e.anchor?`#${e.anchor}`:``}`),n.classList.add(`wiki-link-chip`),n.style.touchAction=`manipulation`;let r=t.createElement(`span`);r.setAttribute(`data-wiki-link-icon`,``),r.setAttribute(`aria-hidden`,`true`),n.appendChild(r);let i=e.alias??`${e.target}${e.anchor?`#${e.anchor}`:``}`,a=t.createTextNode(i);return n.appendChild(a),{dom:n,iconSpan:r}}function nU(e,t){if(!t||!e)return null;let n=Dv(e,t);if(!n)return null;let r=t.pageIcons?.get(n);if(!r)return null;let i=GH(r);return i.kind===`unsupported`?null:i}function rU(e,t,n=document){let r=t?.kind??``,i=t?.value??``;if(e.getAttribute(`data-kind`)===r&&e.getAttribute(`data-value`)===i)return;for(e.setAttribute(`data-kind`,r),e.setAttribute(`data-value`,i);e.firstChild;)e.removeChild(e.firstChild);if(!t)return;if(t.kind===`emoji`){e.appendChild(n.createTextNode(t.value));return}let a=n.createElement(`img`);a.setAttribute(`src`,t.value),a.setAttribute(`alt`,``),a.setAttribute(`draggable`,`false`),a.setAttribute(`referrerpolicy`,`no-referrer`),e.appendChild(a)}var iU=h.extend({priority:200,addOptions(){return{...this.parent?.(),docName:``}},addNodeView(){return({editor:e,node:t,getPos:n})=>{let r=eU(),{dom:i,iconSpan:a}=tU({nodeId:r,target:String(t.attrs.target??``),alias:t.attrs.alias==null?null:String(t.attrs.alias),anchor:t.attrs.anchor==null?null:String(t.attrs.anchor)}),o=t,s=()=>{rU(a,nU(String(o.attrs.target??``),dn()))};s();let c=pn(s),l=()=>{let e=n();return typeof e==`number`?e:void 0},u=vy(e),d=({newTab:e})=>{let t=o.attrs,n=typeof t.target==`string`?t.target:``;if(!n)return!1;let r=Tt(n,typeof t.anchor==`string`?t.anchor:null);if(!r)return!1;if(r.kind===`doc`){let t=dn(),i=XP(n,{pages:t?.pages??new Set,folderPaths:t?.folderPaths??new Set,pagesBySlug:t?.pagesBySlug,pagesByBasename:t?.pagesByBasename,fallbackTargets:Ev(n)});if(i.kind===`create`||i.kind===`navigate`&&i.displayState===`folder`)return!1;let a=i.kind===`navigate`?i.hashDocName:r.docName;return e?fF({docName:a,anchor:r.anchor}):window.location.assign(lF({docName:a,anchor:r.anchor})),!0}if(r.kind===`asset`){let t=dn(),n=Av(r.url,t?.assetPaths??new Set,t?.filePaths)??r.url.replace(/^\//,``);return e?uF(Ii(n)):window.location.hash=Ii(n),!0}return oF(r.url)?(uF(r.url),!0):!1};return u.register({type:`wikiLink`,nodeId:r,getPos:l,controls:{propPanel:t=>(0,Q.createElement)(QH,{editor:e,getPos:l,onClose:t.deactivate,onNavigate:e=>d({newTab:e})})},handlePrimary:d}),{dom:i,ignoreMutation:()=>!0,update:e=>{if(e.type.name!==`wikiLink`)return!1;o=e;let t=String(e.attrs.target??``),n=e.attrs.alias==null?null:String(e.attrs.alias),r=e.attrs.anchor==null?null:String(e.attrs.anchor);i.setAttribute(`data-target`,t),i.setAttribute(`data-alias`,n??``),i.setAttribute(`data-anchor`,r??``),i.setAttribute(`aria-label`,`Wiki link: ${t}${r?`#${r}`:``}`);let a=n??`${t}${r?`#${r}`:``}`,c=i.lastChild;return c&&c.nodeType===3?c.nodeValue=a:i.appendChild(i.ownerDocument.createTextNode(a)),s(),!0},destroy:()=>{u.deregister(r),c()}}}},addKeyboardShortcuts(){return{Backspace:()=>{if(WF.getState(this.editor.state)?.active)return!1;let{selection:e}=this.editor.state;if(!e.empty)return!1;let t=e.$from.nodeBefore;if(t?.type.name===`wikiLink`){let{state:n,view:r}=this.editor;return r.dispatch(n.tr.delete(e.from-t.nodeSize,e.from)),!0}return!1},Delete:()=>{if(WF.getState(this.editor.state)?.active)return!1;let{selection:e}=this.editor.state;if(!e.empty)return!1;let t=e.$from.nodeAfter;if(t?.type.name===`wikiLink`){let{state:n,view:r}=this.editor;return r.dispatch(n.tr.delete(e.from,e.from+t.nodeSize)),!0}return!1}}},addProseMirrorPlugins(){return[hI(this.editor)]}}),aU=0;function oU(){return`wiki-link-embed-${++aU}`}function sU(e){let t=e.doc??(typeof document<`u`?document:{createElement:null,createTextNode:null}),n=t.createElement(`a`);n.setAttribute(`data-wiki-embed`,``),n.setAttribute(`data-node-id`,e.nodeId),n.setAttribute(`data-target`,e.target),n.setAttribute(`data-alias`,e.alias??``),n.setAttribute(`data-anchor`,e.anchor??``),n.setAttribute(`href`,e.href),n.setAttribute(`target`,`_blank`),n.setAttribute(`rel`,`noopener noreferrer`),n.setAttribute(`contenteditable`,`false`),n.setAttribute(`role`,`button`),n.setAttribute(`tabindex`,`0`),n.setAttribute(`aria-label`,`Embed: ${e.target}${e.anchor?`#${e.anchor}`:``}`),n.classList.add(`wiki-link-embed-chip`),n.style.touchAction=`manipulation`;let r=e.alias??`${e.target}${e.anchor?`#${e.anchor}`:``}`,i=t.createTextNode(r);return n.appendChild(i),{dom:n}}function cU(e){let t=(e.doc??(typeof document<`u`?document:{createElement:null})).createElement(`img`);return t.setAttribute(`data-wiki-embed`,``),t.setAttribute(`data-node-id`,e.nodeId),t.setAttribute(`data-target`,e.target),t.setAttribute(`data-alias`,e.alias??``),t.setAttribute(`src`,ve(e.src)),t.setAttribute(`alt`,e.alias??e.target),{dom:t}}function lU(e){let t=et(e);return t!==null&&E.has(t)}var uU=ot.extend({addNodeView(){return({editor:e,node:t,getPos:n})=>{let r=oU(),i=t,a=String(t.attrs.target??``),o=t.attrs.alias==null?null:String(t.attrs.alias),s=t.attrs.anchor==null?null:String(t.attrs.anchor),c=t.attrs.resolvedSrc==null?null:String(t.attrs.resolvedSrc);if(lU(a)){let{dom:e}=cU({nodeId:r,target:a,alias:o,src:c??a});return{dom:e,ignoreMutation:()=>!0,update:t=>{if(t.type.name!==`wikiLinkEmbed`)return!1;i=t;let n=String(t.attrs.target??``),r=t.attrs.alias==null?null:String(t.attrs.alias),a=t.attrs.resolvedSrc==null?null:String(t.attrs.resolvedSrc);if(!lU(n))return!1;let o=a??n;return e.setAttribute(`data-target`,n),e.setAttribute(`data-alias`,r??``),e.setAttribute(`src`,ve(o)),e.setAttribute(`alt`,r??n),!0}}}let{dom:l}=sU({nodeId:r,target:a,alias:o,anchor:s,href:c??a});l.addEventListener(`click`,e=>{e.preventDefault()});let u=()=>{let e=n();return typeof e==`number`?e:void 0},d=vy(e);return d.register({type:`wikiLinkEmbed`,nodeId:r,getPos:u,controls:{},handlePrimary:({newTab:e})=>{let t=i.attrs,n=typeof t.target==`string`?t.target:``;if(!n)return!1;let r=(typeof t.resolvedSrc==`string`&&t.resolvedSrc.length>0?t.resolvedSrc:null)??n,a=et(n);if(a===null)return!1;let o=Qe(r,``)??n;return mF({url:r,projectRelPath:o,ext:a,title:o.split(`/`).pop()??r,newTab:e}),!0}}),{dom:l,ignoreMutation:()=>!0,update:e=>{if(e.type.name!==`wikiLinkEmbed`)return!1;i=e;let t=String(e.attrs.target??``);if(lU(t))return!1;let n=e.attrs.alias==null?null:String(e.attrs.alias),r=e.attrs.anchor==null?null:String(e.attrs.anchor),a=(e.attrs.resolvedSrc==null?null:String(e.attrs.resolvedSrc))??t;return l.setAttribute(`data-target`,t),l.setAttribute(`data-alias`,n??``),l.setAttribute(`data-anchor`,r??``),l.setAttribute(`href`,a),l.setAttribute(`aria-label`,`Embed: ${t}${r?`#${r}`:``}`),l.textContent=n??`${t}${r?`#${r}`:``}`,!0},destroy:()=>{d.deregister(r)}}}}}),dU=[...ze.map(e=>{if(e.name===`jsxComponent`)return iH;if(e.name===`image`){let t=e.options??{};return YR.configure({...t,inline:!0})}return e.name===`rawMdxFallback`?hH:e.name===`wikiLink`?iU:e.name===`wikiLinkEmbed`?uU:e.name===`link`?Jz:e.name===`mathInline`?fH:e.name===`tag`?HH:e.name===`codeBlock`?YL:e}),bH.configure({itemsSources:[OC,bC,DC,SC],categoryLabels:{content:`Components`,layout:`Layout`,media:`Media`,data:`Data`,embed:`Embeds`}}),KR,wH,T_.configure({onDrop(e,t,n){for(let r of t)Uv(r,e,n)},onPaste(e,t,n){for(let n of t)Uv(n,e,e.state.selection.from)}}),qR,G_,IH,GR,UR,NC,MH,SH,hv,Jv,k_,RC,CV,be.create({name:`chunkWrapperDecoration`,addProseMirrorPlugins(){return[WC()]}})];function fU(e){return e===gt}function pU(){return ki(`SYNC_TIMEOUT_MS`,3e4)}var mU=class extends Error{docName;elapsedMs;constructor(e,t){super(`Sync timed out for "${e}" after ${t}ms`),this.name=`SyncTimeoutError`,this.docName=e,this.elapsedMs=t}},hU=class extends Error{docName;constructor(e){super(`Provider disconnected before sync for "${e}"`),this.name=`PreSyncDisconnectError`,this.docName=e}},gU=class extends Error{docName;constructor(e){super(`Document not found: "${e}"`),this.name=`DocumentNotFoundError`,this.docName=e}},_U=class extends Error{docName;cause;constructor(e,t){let n=t instanceof Error?t.message:String(t??`unknown`);super(`Bridge setup failed for "${e}": ${n}`),this.name=`BridgeSetupError`,this.docName=e,this.cause=t}},vU=class extends Error{docName;missingCapability;constructor(e,t){super(`Server is missing capability "${t}" required to open "${e}".`),this.name=`ServerCapabilityMismatchError`,this.docName=e,this.missingCapability=t}},yU=new Map,bU=!1;function xU(){for(let e of yU.values())if(!e.settled)return!0;return!1}function SU(){typeof document>`u`||document.visibilityState===`visible`&&CU(Date.now())}function CU(e){let t=[];for(let[n,r]of yU){if(r.settled)continue;let i=e-r.createdAt;if(i<pU())continue;r.settled=!0;let a=new mU(n,i);DU(r),r.reject(a);let o=zm(n);o!==void 0&&Xm(o),t.push({docName:n,elapsedMs:i})}if(t.length>0){let e=t.map(e=>`${e.docName} (${e.elapsedMs}ms)`).join(`, `);console.warn(`[syncPromise] reaped ${t.length} timed-out ${t.length===1?`entry`:`entries`} on visibility restore (tab-sleep recovered): ${e}`)}return xU()||TU(),t.length}function wU(){bU||typeof document>`u`||(document.addEventListener(`visibilitychange`,SU),bU=!0)}function TU(){bU&&(typeof document>`u`||(document.removeEventListener(`visibilitychange`,SU),bU=!1))}var EU=new Map;function DU(e){e.detached||(e.detached=!0,e.timeoutHandle!==null&&clearTimeout(e.timeoutHandle),e.provider.off(`synced`,e.onSynced),e.provider.off(`close`,e.onClose))}function OU(e,t){let n=yU.get(e);if(n)return n.promise;let r=EU.get(e);if(r!==void 0){EU.delete(e);let n=r===`timeout`?new mU(e,0):new hU(e);console.warn(`[syncPromise] ${e} rejected on creation (test hook, armed ${r}): ${n.message}`),Y(`ok/sync/create`,{docName:e,mountId:zm(e),warm:!1,armed:r}),Y(`ok/sync/reject`,{docName:e,mountId:zm(e),reason:`armed-${r}`});let i=AU(n);return yU.set(e,jU(i,t)),i}if(t.synced){console.log(`[syncPromise] ${e} resolved synchronously (warm provider)`);let n=zm(e);Y(`ok/sync/create`,{docName:e,mountId:n,warm:!0}),Y(`ok/sync/resolve`,{docName:e,mountId:n,elapsedMs:0,warm:!0}),Y.histogram(`ok/sync/resolve-elapsed-ms`,n===void 0?{docName:e,warm:!0}:{docName:e,mountId:n,warm:!0},0);let r=Promise.resolve();return yU.set(e,kU(r,t)),r}let i=Date.now(),a=()=>{},o=()=>{},s=new Promise((e,t)=>{a=e,o=t}),c=()=>{let t=yU.get(e);if(!t||t.settled)return;t.settled=!0,t.resolved=!0;let n=Date.now()-t.createdAt;console.log(`[syncPromise] ${e} resolved in ${n}ms`);let r=zm(e);if(Y(`ok/sync/resolve`,{docName:e,mountId:r,elapsedMs:n,warm:!1}),Y.histogram(`ok/sync/resolve-elapsed-ms`,r===void 0?{docName:e}:{docName:e,mountId:r},n),DU(t),xU()||TU(),t.resolve(),Ai(),r!==void 0){let i=Date.now();Ym(r,`ok.sync-promise`,{"doc.name":e,elapsed_ms:n},t.createdAt,i),Xm(r,i)}},l=t=>{let n=yU.get(e);if(!n||n.settled)return;n.settled=!0;let r=new hU(e);console.warn(`[syncPromise] ${e} rejected: ${r.message}`);let i=zm(e);Y(`ok/sync/reject`,{docName:e,mountId:i,reason:`pre-sync-disconnect`}),DU(n),xU()||TU(),n.reject(r),i!==void 0&&Xm(i)},u=setTimeout(()=>{let t=yU.get(e);if(!t||t.settled)return;t.settled=!0;let n=Date.now()-t.createdAt,r=new mU(e,n);console.warn(`[syncPromise] ${e} rejected: ${r.message}`);let i=zm(e);Y(`ok/sync/reject`,{docName:e,mountId:i,reason:`timeout`,elapsedMs:n}),DU(t),xU()||TU(),t.reject(r),i!==void 0&&Xm(i)},pU()),d={promise:s,resolve:a,reject:o,createdAt:i,timeoutHandle:u,provider:t,onSynced:c,onClose:l,settled:!1,resolved:!1,detached:!1};return yU.set(e,d),t.on(`synced`,c),t.on(`close`,l),wU(),Y(`ok/sync/create`,{docName:e,mountId:zm(e),warm:!1}),s}function kU(e,t){return{promise:e,resolve:()=>{},reject:()=>{},createdAt:Date.now(),timeoutHandle:null,provider:t,onSynced:()=>{},onClose:()=>{},settled:!0,resolved:!0,detached:!0}}function AU(e){let t=Promise.reject(e);t.catch(()=>{});let n=t;return n.status=`rejected`,n.reason=e,n}function jU(e,t){return{promise:e,resolve:()=>{},reject:()=>{},createdAt:Date.now(),timeoutHandle:null,provider:t,onSynced:()=>{},onClose:()=>{},settled:!0,resolved:!1,detached:!0}}function MU(e){return yU.get(e)?.resolved===!0}function NU(e){let t=yU.get(e);t&&(t.settled=!0,DU(t),yU.delete(e),xU()||TU())}function PU(e,t){let n=yU.get(e);if(!n||n.settled)return!1;n.settled=!0,console.warn(`[syncPromise] ${e} rejected: ${t.message}`),DU(n),xU()||TU(),n.reject(t);let r=zm(e);return r!==void 0&&Xm(r),!0}var FU=Object.freeze({kind:`tab-replay`}),IU=Object.freeze({kind:`idle`});function LU(e,t){return()=>{}}var RU=null;function zU(){return RU??=_t(dU),RU}var BU=4e3,VU=1e4,HU=class extends Error{constructor(e,t){super(`client persistence clearData timed out for ${e} after ${t}ms`),this.docName=e,this.timeoutMs=t,this.name=`ClientPersistenceClearTimeoutError`}},UU=class extends Error{constructor(e,t){super(`stored-state epoch peek timed out for ${e} after ${t}ms`),this.docName=e,this.timeoutMs=t,this.name=`StoredEpochPeekTimeoutError`}},WU=`ok-last-observed-branch`,GU=`ok-doc-lineage-epochs`,KU=5e3,qU=ki(`MAX_BUFFER_BYTES`,1*1024*1024),JU=ki(`MAX_POOL`,10),YU=class{_entries=new Map;get entries(){return this._entries}lruOrder=[];activeDocName=null;maxSize;wsUrl;recycleDebounceMs;clearDataTimeoutMs;onChange=null;tabIdentity=null;serverRestartRecoveryState=IU;cachedServerInstanceId=null;pendingServerInstanceKnown=null;recoveryMismatchStaleClaim;bufferedUpdates=new Map;pendingClears=new Map;clearFailures=new Set;persistenceFactory;peekStoredEpoch;storage;constructor(e,t,n){this.maxSize=e,this.wsUrl=t,this.recycleDebounceMs=n?.recycleDebounceMs??BU,this.clearDataTimeoutMs=n?.clearDataTimeoutMs??VU,this.persistenceFactory=n?.persistenceFactory??v_,this.peekStoredEpoch=n?.peekStoredLineageEpoch??y_,n?.storage===void 0?this.storage=globalThis.localStorage===void 0?null:globalThis.localStorage:this.storage=n.storage}setTabIdentity(e){this.tabIdentity=e}setExpectedServerInstanceId(e){if(this.cachedServerInstanceId=e,!(e===null||e.length===0)){if(this.pendingServerInstanceKnown!==null){let t=this.pendingServerInstanceKnown;this.pendingServerInstanceKnown=null,t.resolve(e)}this.attachDeferredPersistence(e)}}whenServerInstanceKnown(){if(this.cachedServerInstanceId!==null&&this.cachedServerInstanceId.length>0)return Promise.resolve(this.cachedServerInstanceId);if(this.pendingServerInstanceKnown!==null)return this.pendingServerInstanceKnown.promise;let e,t=new Promise(t=>{e=t});return this.pendingServerInstanceKnown={promise:t,resolve:e},t}buildPersistence(e,t,n){return this.persistenceFactory({branch:this.normalizedObservedBranch(),serverInstanceId:e,docName:t,doc:n})}async validateStoredStateThenAttach(e,t){if(e.persistenceAttachOwned)return;e.persistenceAttachOwned=!0;let n=e.docName,r=()=>this._entries.get(n)===e&&e.kind===`active`&&e.persistence===null&&!this.pendingClears.has(n);if(!r())return;let i;try{i=await new Promise((e,r)=>{let i=setTimeout(()=>{r(new UU(n,this.clearDataTimeoutMs))},this.clearDataTimeoutMs);this.peekStoredEpoch({branch:this.normalizedObservedBranch(),serverInstanceId:t,docName:n}).then(t=>{clearTimeout(i),e(t)},e=>{clearTimeout(i),r(e)})})}catch(e){this.emitStructuredClientRecoveryEvent({event:`ok-client-persistence-attach-failed`,...this.recoveryTelemetryBase(n),phase:`peek`,errorName:e instanceof Error?e.name:`non-error-throw`,errorMessage:e instanceof Error?e.message:String(e)});return}if(!r())return;if(i===null){this.attachValidatedPersistence(e,t);return}if(!e.hasSynced&&(await this.awaitFirstSyncOrDestroy(e),!r()||!e.hasSynced))return;let a=e.provider.document.getMap(`lifecycle`).get(j),o=typeof a==`string`&&a.length>0?a:null;if(o===i){this.attachValidatedPersistence(e,t);return}this.emitStructuredClientRecoveryEvent({event:`ok-doc-lineage-mismatch`,...this.recoveryTelemetryBase(n),via:`stored-state-validation`,staleEpoch:i,liveEpoch:o??`<absent>`});let s=this.activeDocName===n;this.runCloseAndClearPersistence(n),this.open(n)!==null&&s&&this.setActive(n)}attachValidatedPersistence(e,t){let n=e.docName;try{let r=this.buildPersistence(t,n,e.provider.document);e.persistence=r,this.notify(),this.backfillCacheAfterFirstSync(e,r).catch(e=>{this.emitStructuredClientRecoveryEvent({event:`ok-client-persistence-attach-failed`,...this.recoveryTelemetryBase(n),phase:`backfill`,errorName:e instanceof Error?e.name:`non-error-throw`,errorMessage:e instanceof Error?e.message:String(e)})})}catch(e){this.emitStructuredClientRecoveryEvent({event:`ok-client-persistence-attach-failed`,...this.recoveryTelemetryBase(n),phase:`attach`,errorName:e instanceof Error?e.name:`non-error-throw`,errorMessage:e instanceof Error?e.message:String(e)})}}async backfillCacheAfterFirstSync(e,t){await t.whenSynced,e.hasSynced||await this.awaitFirstSyncOrDestroy(e),!(this._entries.get(e.docName)!==e||e.kind!==`active`||e.persistence!==t||!e.hasSynced)&&await t.flushFullState()}async awaitFirstSyncOrDestroy(e){e.hasSynced||await new Promise(t=>{let n=()=>{e.provider.off(`synced`,n),e.provider.off(`destroy`,n),t()};e.provider.on(`synced`,n),e.provider.on(`destroy`,n)})}attachDeferredPersistence(e){for(let t of Array.from(this._entries.values()))if(t.kind===`active`&&t.persistence===null&&this._entries.get(t.docName)===t){if(t.hasSynced&&t.lineageEpochRecordAtOpen!==null){let e=t.provider.document.getMap(`lifecycle`).get(j);if(typeof e==`string`&&e.length>0&&e!==t.lineageEpochRecordAtOpen){let n=t.docName;this.emitStructuredClientRecoveryEvent({event:`ok-doc-lineage-mismatch`,...this.recoveryTelemetryBase(n),via:`deferred-attach`,staleEpoch:t.lineageEpochRecordAtOpen,liveEpoch:e});let r=this.activeDocName===n;this.runCloseAndClearPersistence(n),this.open(n)!==null&&r&&this.setActive(n);continue}}this.validateStoredStateThenAttach(t,e)}}getServerRestartRecoveryState(){return this.serverRestartRecoveryState}observeDiskAck(e,t){let n=this.entries.get(e);!n||n.kind!==`active`||(n.lastDiskAckedSV=S_(n.lastDiskAckedSV,t))}observeDiskAckBatch(e){for(let[t,n]of Object.entries(e))this.observeDiskAck(t,n)}lastObservedBranch=null;lastObservedBranchInitialized=!1;getOrInitObservedBranch(){if(this.lastObservedBranchInitialized)return this.lastObservedBranch;this.lastObservedBranchInitialized=!0;try{let e=this.storage?.getItem(WU)??null;e!==null&&e.length>0&&(this.lastObservedBranch=e)}catch{}return this.lastObservedBranch}persistObservedBranch(e){this.lastObservedBranch=e,this.lastObservedBranchInitialized=!0;try{e===null||e.length===0?this.storage?.removeItem(WU):this.storage?.setItem(WU,e)}catch{}}docLineageEpochs=new Map;docLineageEpochsEnvelopeConsumed=!1;normalizedObservedBranch(){return this.getOrInitObservedBranch()??`_unknown_`}consumeLineageEpochEnvelopeIfValid(){if(this.docLineageEpochsEnvelopeConsumed)return;let e=this.cachedServerInstanceId;if(!(e===null||e.length===0)){this.docLineageEpochsEnvelopeConsumed=!0;try{let t=this.storage?.getItem(GU)??null;if(t===null)return;let n=JSON.parse(t);if(typeof n!=`object`||!n)return;let r=n;if(r.branch!==this.normalizedObservedBranch()||r.serverInstanceId!==e||typeof r.epochs!=`object`||r.epochs===null)return;for(let[e,t]of Object.entries(r.epochs))typeof t==`string`&&t.length>0&&!this.docLineageEpochs.has(e)&&this.docLineageEpochs.set(e,t)}catch(e){e instanceof DOMException||console.warn(JSON.stringify({event:`ok-lineage-epoch-envelope-read-error`,errorName:e instanceof Error?e.name:typeof e,message:e instanceof Error?e.message:String(e)}))}}}getRecordedLineageEpoch(e){let t=this.docLineageEpochs.get(e);return t===void 0?(this.consumeLineageEpochEnvelopeIfValid(),this.docLineageEpochs.get(e)??null):t}persistLineageEpochEnvelope(){let e=this.cachedServerInstanceId;if(!(e===null||e.length===0))try{this.storage?.setItem(GU,JSON.stringify({branch:this.normalizedObservedBranch(),serverInstanceId:e,epochs:Object.fromEntries(this.docLineageEpochs)}))}catch{}}recordLineageEpoch(e,t){this.docLineageEpochs.get(e)!==t&&(this.docLineageEpochs.set(e,t),this.persistLineageEpochEnvelope())}deleteLineageEpochRecord(e){this.docLineageEpochs.delete(e)&&this.persistLineageEpochEnvelope()}withClearDataTimeout(e,t){return new Promise((n,r)=>{let i=setTimeout(()=>{r(new HU(e,this.clearDataTimeoutMs))},this.clearDataTimeoutMs);t.then(()=>{clearTimeout(i),n()},e=>{clearTimeout(i),r(e)})})}recoveryTelemetryBase(e,t){let n={docName:e,branch:this.normalizedObservedBranch()},r=t===void 0?this.recoveryMismatchStaleClaim:t;return r!==void 0&&r.length>0&&(n.serverInstanceId=r),n}emitStructuredClientRecoveryEvent(e){console.warn(JSON.stringify(e))}clearRecoveryMismatchStaleClaimIfTerminal(){let e=this.serverRestartRecoveryState.kind;(e===`idle`||e===`failed`)&&(this.recoveryMismatchStaleClaim=void 0)}beginServerRestartRecovery(e,t){this.serverRestartRecoveryState={kind:`recovering`,phase:`clearing-local-cache`,docNames:e,failedDocNames:[],startedAt:t};for(let t of e)NU(t);this.notify()}enterServerRestartReconnect(e,t,n,r){if(e.length===0){this.serverRestartRecoveryState=t.length===0?IU:{kind:`failed`,reason:r,docNames:t,failedDocNames:t,startedAt:n},this.clearRecoveryMismatchStaleClaimIfTerminal(),this.notify();return}this.serverRestartRecoveryState={kind:`recovering`,phase:`reconnecting`,docNames:e,failedDocNames:t,startedAt:n,...t.length>0?{clearFailureReason:r}:{}},this.notify()}markServerRestartRecoverySynced(e){let t=this.serverRestartRecoveryState;if(t.kind!==`recovering`||t.phase!==`reconnecting`||!t.docNames.includes(e))return;let n=t.docNames.filter(t=>t!==e);if(n.length>0){this.serverRestartRecoveryState={...t,docNames:n};return}if(t.failedDocNames.length>0){this.serverRestartRecoveryState={kind:`failed`,reason:t.clearFailureReason??`clear-data-failed`,docNames:t.failedDocNames,failedDocNames:t.failedDocNames,startedAt:t.startedAt},this.clearRecoveryMismatchStaleClaimIfTerminal();return}this.serverRestartRecoveryState=IU,this.clearRecoveryMismatchStaleClaimIfTerminal()}setObservedBranch(e){this.persistObservedBranch(e)}compareAndUpdateObservedBranch(e){let t=this.getOrInitObservedBranch();return this.persistObservedBranch(e),t!==null&&t!==e}onBranchMismatch=null;branchMismatchInFlight=null;mismatchInFlight=null;setOnBranchMismatch(e){if(e===null){this.onBranchMismatch=null;return}this.onBranchMismatch=()=>{if(this.branchMismatchInFlight!==null)return;let t=Promise.resolve().then(e).finally(()=>{this.branchMismatchInFlight===t&&(this.branchMismatchInFlight=null)});this.branchMismatchInFlight=t}}onRenameRedirect=null;onDocDeleted=null;setOnRenameRedirect(e){this.onRenameRedirect=e}setOnDocDeleted(e){this.onDocDeleted=e}setOnChange(e){this.onChange=e}notify(){this.onChange?.()}evictListeners=new Set;onEvict(e){return this.evictListeners.add(e),()=>{this.evictListeners.delete(e)}}fireEvict(e){for(let t of this.evictListeners)try{t(e)}catch(t){console.warn(`[ProviderPool] evict listener threw for ${e}:`,t)}}touch(e){let t=this.lruOrder.indexOf(e);t!==-1&&this.lruOrder.splice(t,1),this.lruOrder.push(e)}open(e){if(fU(e))return null;let t=this.entries.get(e);if(t){let n=t.lastAccessedAt;return t.lastAccessedAt=Date.now(),this.touch(e),this.notify(),Y(`ok/pool/open`,{docName:e,hit:!0,lastAccessedAt:n,poolEventId:t.poolEventId}),Y.count(`ok/pool/open`,{hit:!0}),t}let n=Date.now();this.entries.size>=this.maxSize&&this.evictLru();let r=this.cachedServerInstanceId,i=this.getRecordedLineageEpoch(e),a=cr(this.tabIdentity,r,this.getOrInitObservedBranch(),r!==null&&r.length>0?i:null),o=new Un({url:C_(this.wsUrl),name:e,forceSyncInterval:KU,token:a}),s=this.cachedServerInstanceId;this.clearFailures.has(e)&&this.runCloseAndClearPersistence(e);let c=this.pendingClears.get(e),l=s!==null&&s.length>0&&c===void 0&&i!==null?this.buildPersistence(s,e,o.document):null,u=crypto.randomUUID(),d={kind:`active`,provider:o,persistence:l,lastServerSyncedSV:null,lastDiskAckedSV:null,observerCleanup:null,observerFireCounterCleanup:LU(o.document,e),syncState:`connecting`,docName:e,lastAccessedAt:Date.now(),poolEventId:u,hasSynced:!1,pendingRecycleTimer:null,bridgeSetupFailed:!1,serverDrivenCloseReauthInFlight:!1,persistenceAttachOwned:!1,lineageEpochRecordAtOpen:i};if(Y(`ok/pool/open`,{docName:e,hit:!1,poolEventId:u}),Y.count(`ok/pool/open`,{hit:!1}),o.on(`status`,({status:t})=>{d.kind!==`active`||this.entries.get(e)!==d||t===`disconnected`&&(d.syncState=`disconnected`,this.notify())}),o.on(`synced`,()=>{if(d.kind!==`active`||this.entries.get(e)!==d)return;d.syncState=`synced`,d.hasSynced=!0,d.lastServerSyncedSV=b_(o.document);let t=o.document.getMap(`lifecycle`).get(j);if(typeof t==`string`&&t.length>0&&this.recordLineageEpoch(e,t),d.pendingRecycleTimer&&=(clearTimeout(d.pendingRecycleTimer),null),this.markServerRestartRecoverySynced(e),this.notify(),!d.observerCleanup)try{let t=o.document,n=new St({extensions:dU});d.observerCleanup=AP({doc:t,xmlFragment:t.getXmlFragment(`default`),ytext:t.getText(`source`),mdManager:n,schema:zU(),onSyncError:(t,n)=>{console.warn(`[Sync] ${t} failed for ${e}:`,n.message)}})}catch(t){console.error(`[ProviderPool] setupObservers init failed for ${e}:`,t),d.bridgeSetupFailed=!0,PU(e,new _U(e,t))}}),o.on(`disconnect`,()=>{d.kind!==`active`||this.entries.get(e)!==d||(d.syncState=`disconnected`,this.notify(),d.hasSynced&&o.unsyncedChanges===0&&!d.pendingRecycleTimer&&(d.pendingRecycleTimer=setTimeout(()=>{d.kind===`active`&&(d.pendingRecycleTimer=null,this.entries.get(e)===d&&this.recycleDisconnectedEntry(e))},this.recycleDebounceMs)))}),o.on(`authenticationFailed`,({reason:t})=>{let n=[`server-instance-mismatch`,`branch-mismatch`,`rename-redirect`,`doc-deleted`,`doc-lineage-mismatch`],i=t.indexOf(`:`),a=i===-1?t:t.slice(0,i);if(!n.includes(a)){console.warn(JSON.stringify({event:`ok-auth-failed-unknown-reason`,reason:t}));return}let o=i===-1?``:t.slice(i+1),s=o.length>0?o:void 0,c=a;if(c===`server-instance-mismatch`){if(r===null||this.cachedServerInstanceId!==r)return;let e=r;this.cachedServerInstanceId=null,this.handleServerInstanceMismatch(e);return}if(c===`branch-mismatch`){this.onBranchMismatch?.();return}if(c===`rename-redirect`){if(s===void 0||s.length===0){console.warn(JSON.stringify({event:`rename-redirect-missing-payload`,fromDocName:e}));return}let t=e,n=s;this.deleteLineageEpochRecord(t);let r=this.entries.get(t),i=r!==void 0&&r.kind===`active`;this.onRenameRedirect?.({fromDocName:t,toDocName:n,hadOpenProvider:i});return}if(c===`doc-deleted`){this.deleteLineageEpochRecord(e);let t=this.entries.get(e),n=t!==void 0&&t.kind===`active`;this.onDocDeleted?.({docName:e,hadOpenProvider:n});return}if(c===`doc-lineage-mismatch`){if(d.kind!==`active`||this.entries.get(e)!==d)return;this.deleteLineageEpochRecord(e),this.emitStructuredClientRecoveryEvent({event:`ok-doc-lineage-mismatch`,...this.recoveryTelemetryBase(e),via:`auth-rejection`,staleEpoch:d.lineageEpochRecordAtOpen??``});let t=this.activeDocName===e;this.runCloseAndClearPersistence(e),this.open(e)!==null&&t&&this.setActive(e);return}}),o.on(`close`,({event:t})=>{if(d.kind!==`active`||this.entries.get(e)!==d||d.serverDrivenCloseReauthInFlight)return;d.serverDrivenCloseReauthInFlight=!0,o.sendToken().catch(t=>{console.warn(JSON.stringify({event:`ok-provider-server-driven-close-reauth-failed`,docName:e,message:t instanceof Error?t.message:String(t)}))}).finally(()=>{d.kind===`active`&&this.entries.get(e)===d&&(d.serverDrivenCloseReauthInFlight=!1)});let n=t?.reason??`<unknown>`;console.info(JSON.stringify({event:`ok-provider-server-driven-close-reauth`,docName:e,reason:n}))}),this.bufferedUpdates.get(e)!==void 0){let t=this.recoveryMismatchStaleClaim,n=()=>{if(o.off(`synced`,n),d.kind!==`active`||this.entries.get(e)!==d)return;let r=this.bufferedUpdates.get(e);if(r!==void 0){this.bufferedUpdates.delete(e);try{Hn(o.document,r,FU)}catch(n){let i=n instanceof Error?n.name:`non-error-throw`;this.emitStructuredClientRecoveryEvent({event:`ok-buffer-replay-failed`,...this.recoveryTelemetryBase(e,t),replayByteLength:r.byteLength,errorName:i,errorMessage:n instanceof Error?n.message:String(n)})}}};o.on(`synced`,n)}if(this._entries.set(e,d),this.touch(e),this.notify(),l===null&&s!==null&&s.length>0&&c===void 0&&this.validateStoredStateThenAttach(d,s),c!==void 0&&s!==null&&s.length>0){let t=s;c.then(()=>{this.attachDeferredPersistenceForEntry(d,t)},t=>{console.warn(JSON.stringify({event:`ok-pool-deferred-persistence-attach-skipped`,docName:e,reason:`pending-clear-failed`,message:t instanceof Error?t.message:String(t)}))})}let f=zm(e);return f!==void 0&&Ym(f,`ok.provider-pool.open`,{"doc.name":e},n,Date.now()),d}attachDeferredPersistenceForEntry(e,t){let n=this._entries.get(e.docName);n!==e||n.kind!==`active`||n.persistence!==null||this.validateStoredStateThenAttach(n,t)}handleServerInstanceMismatch(e){this.recoveryMismatchStaleClaim=e.length>0?e:void 0;let t=Array.from(this.entries.entries()),n=Date.now(),r=this.activeDocName,i=r!==null&&t.some(([e,t])=>e===r&&t.kind===`active`)?[r]:[],a=r??t.find(([,e])=>e.kind===`active`)?.[0]??``;a.length>0&&this.emitStructuredClientRecoveryEvent({event:`ok-client-cache-epoch-mismatch`,...this.recoveryTelemetryBase(a)}),this.beginServerRestartRecovery(i,n);for(let[e,n]of t)n.kind===`active`&&!i.includes(e)&&NU(e);for(let[e,n]of t){if(n.kind!==`active`)continue;let t=n.lastDiskAckedSV??n.lastServerSyncedSV;if(t===null){this.emitStructuredClientRecoveryEvent({event:`ok-buffer-replay-skipped-no-baseline`,...this.recoveryTelemetryBase(e),reason:`no-disk-ack-or-server-sync-vector`});continue}let r=x_(n.provider.document,t);if(r.byteLength>qU){Y(`ok/pool/buffer-overflow`,{docName:e,bytes:r.byteLength});continue}r.byteLength>0&&this.bufferedUpdates.set(e,r)}let o=[];for(let[e,n]of t)n.kind===`active`&&n.persistence!==null&&o.push({docName:e,promise:this.withClearDataTimeout(e,n.persistence.clearData())});let s=Promise.allSettled(o.map(e=>e.promise)).then(e=>{let t=[],i=[],a=!1;e.forEach((e,n)=>{let r=o[n];if(!r)return;let s=r.docName;if(e.status===`rejected`){t.push(s);let n=e.reason instanceof HU;if(n&&(a=!0),n)this.emitStructuredClientRecoveryEvent({event:`ok-client-cache-clear-failed`,...this.recoveryTelemetryBase(s),failureKind:`timeout`});else{let t=e.reason instanceof Error?e.reason.name:`unknown`;this.emitStructuredClientRecoveryEvent({event:`ok-client-cache-clear-failed`,...this.recoveryTelemetryBase(s),failureKind:`rejected`,errorName:t,errorMessage:e.reason instanceof Error?e.reason.message:String(e.reason)})}}else i.push(s)});let s=i.filter(e=>e===r);if(t.length>0){let e=a?`clear-data-timeout`:`clear-data-failed`;console.warn(JSON.stringify({event:`ok-mismatch-recycle-partial-clears-failed`,failedDocs:t,clearedDocs:i})),this.enterServerRestartReconnect(s,t,n,e);for(let e of i)this.recycleDisconnectedEntry(e);return}this.enterServerRestartReconnect(s,[],n,`clear-data-failed`),this.recycleAllEntries()}).finally(()=>{this.mismatchInFlight===s&&(this.mismatchInFlight=null)});this.mismatchInFlight=s}awaitMismatchSettled(){return this.mismatchInFlight??Promise.resolve()}recycleAllEntries(){let e=Array.from(this.entries.keys());for(let t of e)this.recycleDisconnectedEntry(t)}prewarm(e){if(fU(e))return null;let t=this.entries.get(e);if(t)return t;let n=this.open(e);if(!n)return null;let r=this.lruOrder.indexOf(e);return r!==-1&&(this.lruOrder.splice(r,1),this.lruOrder.unshift(e)),n}close(e){let t=this.entries.get(e);t&&(this.destroyEntry(t),this._entries.delete(e),this.lruOrder=this.lruOrder.filter(t=>t!==e),this.bufferedUpdates.delete(e),this.activeDocName===e&&(this.activeDocName=null),this.notify())}async closeAndClearPersistence(e){try{await this.runCloseAndClearPersistence(e)}catch{}}runCloseAndClearPersistence(e){let t=this.pendingClears.get(e);if(t!==void 0)return t;let n=()=>{},r=()=>{},i=new Promise((e,t)=>{n=e,r=t});this.pendingClears.set(e,i);let a=()=>{this.pendingClears.get(e)===i&&this.pendingClears.delete(e)};return i.then(a,a),this.executeCloseAndClearPersistence(e).then(n,r),i}async executeCloseAndClearPersistence(e){this.clearFailures.delete(e);let t=this.entries.get(e);if(t?.kind===`active`&&t.persistence!==null){let n=t.persistence;try{this.close(e)}catch(t){console.warn(`[ProviderPool] close before clearData threw for ${e}:`,t)}try{await this.withClearDataTimeout(e,n.clearData())}catch(t){throw console.warn(`[ProviderPool] clearData on rename failed for ${e}:`,t),this.clearFailures.add(e),t}return}if(t)try{this.close(e)}catch(t){console.warn(`[ProviderPool] close before IDB-by-name delete threw for ${e}:`,t)}let n=this.normalizedObservedBranch(),r=this.cachedServerInstanceId;if(r===null)return;let i=`ok-ydoc:${n}:${r}:${e}`;try{await this.withClearDataTimeout(e,new Promise((e,t)=>{let n=indexedDB.deleteDatabase(i);n.onsuccess=()=>e(),n.onerror=()=>t(n.error),n.onblocked=()=>{console.warn(`[ProviderPool] IDB delete blocked for ${i}`)}}))}catch(t){throw console.warn(`[ProviderPool] IDB delete on rename failed for ${i}:`,t),this.clearFailures.add(e),t}}clearBufferedUpdates(){this.bufferedUpdates.clear()}__test_seedBufferedUpdate(e,t){this.bufferedUpdates.set(e,t)}__test_bufferedUpdatesSize(){return this.bufferedUpdates.size}__test_hasBufferedUpdate(e){return this.bufferedUpdates.has(e)}__test_getBufferedUpdate(e){return this.bufferedUpdates.get(e)}setActive(e){let t=this.entries.get(e);if(!t)throw Error(`[ProviderPool] Cannot setActive — "${e}" is not open`);t.lastAccessedAt=Date.now(),this.touch(e),this.activeDocName=e,this.notify()}clearActive(){this.activeDocName!==null&&(this.activeDocName=null,this.notify())}getActive(){return this.activeDocName?this.entries.get(this.activeDocName)??null:null}getActiveDocName(){return this.activeDocName}has(e){return this.entries.has(e)}peek(e){return this.entries.get(e)??null}recycle(e){this.recycleDisconnectedEntry(e)}dispose(){for(let e of this._entries.values())this.destroyEntry(e);this._entries.clear(),this.lruOrder=[],this.activeDocName=null,this.onChange=null,this.bufferedUpdates.clear(),this.pendingClears.clear(),this.clearFailures.clear(),this.docLineageEpochs.clear(),this.docLineageEpochsEnvelopeConsumed=!1,this.onBranchMismatch=null,this.branchMismatchInFlight=null,this.onRenameRedirect=null,this.onDocDeleted=null,this.evictListeners.clear(),this.serverRestartRecoveryState=IU,this.cachedServerInstanceId=null,this.pendingServerInstanceKnown=null,this.tabIdentity=null,this.recoveryMismatchStaleClaim=void 0}evictLru(){for(let e of this.lruOrder)if(e!==this.activeDocName){Y(`ok/pool/evict-lru`,{docName:e}),this.close(e);return}}destroyEntry(e){if(e.kind===`tearing-down`)return;let t=e.observerCleanup,n=e.observerFireCounterCleanup,r=e.persistence,i=e.pendingRecycleTimer,a=e.docName,o=e;o.kind=`tearing-down`,o.persistence=null,o.observerCleanup=null,o.observerFireCounterCleanup=null,o.pendingRecycleTimer=null,o.serverDrivenCloseReauthInFlight=!1,i&&clearTimeout(i),NU(a),this.fireEvict(a);try{t?.()}catch(e){console.warn(`[ProviderPool] observer cleanup threw for ${a}:`,e)}try{n?.()}catch(e){console.warn(`[ProviderPool] observer-fire-counter cleanup threw for ${a}:`,e)}r!==null&&r.destroy().catch(e=>{console.warn(`[ProviderPool] persistence destroy failed for ${a}:`,e)});try{o.provider.destroy()}catch(e){console.warn(`[ProviderPool] Provider destroy failed for ${a}:`,e)}}recycleDisconnectedEntry(e){let t=this.entries.get(e);if(!t||t.kind!==`active`)return;let n=this.activeDocName===e;if(Y(`ok/pool/recycle-disconnected`,{docName:e,wasActive:n}),this.destroyEntry(t),this._entries.delete(e),this.lruOrder=this.lruOrder.filter(t=>t!==e),n){this.open(e)&&this.setActive(e);return}this.notify()}},XU=crypto.randomUUID(),ZU=!1;function QU(e){ZU||(ZU=!0,console.warn(`[principal-fetch] failed to resolve principal — falling back to random identity.`,e))}var $U=(0,Q.createContext)(null),eW=/\.(md|mdx)$/i,tW=null;function nW(e){return tW||(tW=new YU(JU,e),Yh(tW)),tW}var rW={activeDocName:null,activeProvider:null,syncState:`connecting`,serverRestartRecovery:{kind:`idle`},poolEntries:[]};function iW(){if(typeof window>`u`)return null;let e=window.okDesktop;return e?.config.mode===`editor`?e:null}function aW(){return typeof window>`u`||window.okDesktop?.config.mode===`editor`?null:Hg(window.location.origin)}function oW(){if(typeof window>`u`)return Bg(null,JU);let e=aW();return e?Ug(window.localStorage===void 0?null:window.localStorage,e,JU):Bg(null,JU)}function sW(){return oW().openTabs}function cW(){return oW().pinnedTabIds}function lW(){if(typeof window>`u`||window.location.hash.length>0)return null;let e=oW();return e.activeTabId??(e.activeDocName?pg(e.activeDocName):null)??e.openTabs[0]??null}function uW(e){let t=vg(e);switch(t.kind){case`doc`:return zi(t.docName);case`folder`:return ji(t.folderPath);case`asset`:return Ii(t.assetPath);case`skill-file`:return Pi({scope:t.scope,name:t.name,path:t.path})}}function dW(e){let t=Fi(e);if(t)return hg(t);let n=Mi(e);if(n)return dg(n);let r=Ri(e);if(!r)return null;let i=r.trim();if(/\/+$/.test(i)){let e=i.replace(/\/+$/g,``);return e?mg(e):null}return pg(r)}function fW(e,t,n){return!e||!n||t!==zi(e)||eW.test(e)||!eW.test(n)?!1:n.replace(eW,``)===e}function pW(e){return{kind:`asset`,target:e,assetPath:e,mediaKind:M(e.split(`.`).pop()??``)}}function mW(e,t){return e?_g(e):t?pg(t):null}function hW(e,t,n){return e.some(e=>!n.has(e)&&yg(e)===t)}function gW(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function _W(e){switch(e.kind){case`doc`:return`doc:${e.docName}`;case`folder-index`:return`folder-index:${e.docName}:${e.folderPath}:${e.noteKind}`;case`folder`:return`folder:${e.folderPath}`;case`asset`:return`asset:${e.assetPath}:${e.mediaKind??``}`;case`skill-file`:return`skill-file:${e.scope}:${e.name}:${e.path}`;case`large-file`:return`large-file:${e.docName}:${e.size}:${e.limit}`;case`missing`:return`missing:${e.target}`}}function vW(e,t){return e===t?!0:!e||!t?!1:_W(e)===_W(t)}function yW(e){let t=e.getActive(),n=[];for(let t of e.entries.values())n.push({docName:t.docName,provider:t.provider,lastAccessedAt:t.lastAccessedAt,poolEventId:t.poolEventId});return n.sort((e,t)=>t.lastAccessedAt-e.lastAccessedAt),{activeDocName:e.getActiveDocName(),activeProvider:t?.provider??null,syncState:t?.syncState??`connecting`,serverRestartRecovery:e.getServerRestartRecoveryState(),poolEntries:n}}function bW(e){let t=(0,$.c)(183),{children:n}=e,[r,i]=(0,Q.useState)(rW),[a,o]=(0,Q.useState)(null),[s,c]=(0,Q.useState)(lW),[l,u]=(0,Q.useState)(sW),[d,f]=(0,Q.useState)(cW),p;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(p=[],t[0]=p):p=t[0];let[m,h]=(0,Q.useState)(p),[g,_]=(0,Q.useState)(l),[v,y]=(0,Q.useState)(null),[b,x]=(0,Q.useState)(!1),S=(0,Q.useRef)(s),C=(0,Q.useRef)(l),w=(0,Q.useRef)(d),T=(0,Q.useRef)(v),E=(0,Q.useRef)(m),D=(0,Q.useRef)(g),O=(0,Q.useRef)(1),k;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(k=[],t[1]=k):k=t[1];let A=(0,Q.useRef)(k),j=(0,Q.useRef)(!1),[M,N]=(0,Q.useState)(!1),[P,F]=(0,Q.useState)(null),[I,L]=(0,Q.useState)(null),[ee,R]=(0,Q.useState)(`doc`),[z,B]=(0,Q.useState)(null),[V,H]=(0,Q.useState)(0),{collabUrl:U,terminal:W,lastError:te,retry:G}=fp(),ne;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(ne=function(e){S.current=e,c(e)},t[2]=ne):ne=t[2];let K=ne,re;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(re=function(e){T.current=e,y(e)},t[3]=re):re=t[3];let ie=re,ae;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(ae=function(e){D.current=e,_(t=>gW(t,e)?t:e)},t[4]=ae):ae=t[4];let oe=ae,q;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(q=function(e){w.current=e,f(t=>gW(t,e)?t:e)},t[5]=q):q=t[5];let se=q,ce;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(ce=function(e,t){let n=xg(t,e);C.current=e,w.current=n,u(t=>gW(t,e)?t:e),f(e=>gW(e,n)?e:n),oe(Mg(D.current,e,E.current))},t[6]=ce):ce=t[6];let le=ce,ue;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(ue=function(e){le(e,w.current)},t[7]=ue):ue=t[7];let de=ue,fe;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(fe=function(e){de(e(C.current))},t[8]=fe):fe=t[8];let pe=fe,me;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(me=function(e){E.current=e,h(t=>gW(t,e)?t:e),oe(Mg(D.current,C.current,e))},t[9]=me):me=t[9];let he=me,ge;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(ge=function(e){let t=T.current;if(!t)return;let n=E.current.filter(e=>e!==t);E.current=n,h(e=>gW(e,n)?e:n),ie(null);let r=[],i=new Set;for(let n of D.current){let a=n===t?e:n;!a||i.has(a)||(i.add(a),r.push(a))}oe(Mg(r,C.current,n))},t[10]=ge):ge=t[10];let _e=ge,ve,ye;t[11]===s?(ve=t[12],ye=t[13]):(ve=()=>{S.current=s},ye=[s],t[11]=s,t[12]=ve,t[13]=ye),(0,Q.useEffect)(ve,ye);let be,xe;t[14]===l?(be=t[15],xe=t[16]):(be=()=>{C.current=l},xe=[l],t[14]=l,t[15]=be,t[16]=xe),(0,Q.useEffect)(be,xe);let Se,Ce;t[17]===d?(Se=t[18],Ce=t[19]):(Se=()=>{w.current=d},Ce=[d],t[17]=d,t[18]=Se,t[19]=Ce),(0,Q.useEffect)(Se,Ce);let we,Te;t[20]===v?(we=t[21],Te=t[22]):(we=()=>{T.current=v},Te=[v],t[20]=v,t[21]=we,t[22]=Te),(0,Q.useEffect)(we,Te);let Ee,De;t[23]===m?(Ee=t[24],De=t[25]):(Ee=()=>{E.current=m},De=[m],t[23]=m,t[24]=Ee,t[25]=De),(0,Q.useEffect)(Ee,De);let Oe,ke;t[26]===g?(Oe=t[27],ke=t[28]):(Oe=()=>{D.current=g},ke=[g],t[26]=g,t[27]=Oe,t[28]=ke),(0,Q.useEffect)(Oe,ke);let Ae=v!==null,je,Me;t[29]!==U||t[30]!==M||t[31]!==b?(je=()=>{if(U===null||b||!M)return;let e=!1,t=iW(),n=aW(),r=typeof localStorage<`u`?localStorage:null;return(t?t.project.getSessionState():Promise.resolve(n?Ug(r,n,JU):{openTabs:[],pinnedTabIds:[],activeDocName:null,activeTabId:null,updatedAt:null})).then(t=>{if(e)return;let n=Bg(t,JU);if(j.current)return;let r=nW(U);for(let e of n.openTabs){let t=yg(e);t&&r.open(t)}let i=[...n.pinnedTabIds,...w.current],a=n.openTabs;for(let e of C.current)a=Dg(a,e,JU,i);let o=xg(i,a);C.current=a,w.current=o,u(e=>gW(e,a)?e:a),f(e=>gW(e,o)?e:o);let s=Mg(n.openTabs.length>0?a:D.current,a,E.current);D.current=s,_(e=>gW(e,s)?e:s);let l=Ri(window.location.hash),d=n.activeTabId??(n.activeDocName?pg(n.activeDocName):null)??n.openTabs[0]??null,p=d?uW(d):null,m=d?yg(d):null;if((l===null&&window.location.hash.length===0||p!==null&&p===window.location.hash||fW(l,window.location.hash,m))&&d){S.current=d,c(d);let e=uW(d);window.location.hash!==e&&(window.location.hash=e)}}).catch(AW).finally(()=>{e||x(!0)}),()=>{e=!0}},Me=[U,M,b],t[29]=U,t[30]=M,t[31]=b,t[32]=je,t[33]=Me):(je=t[32],Me=t[33]),(0,Q.useEffect)(je,Me);let Ne,Pe;t[34]!==s||t[35]!==a||t[36]!==l||t[37]!==d||t[38]!==r.activeDocName||t[39]!==b?(Ne=()=>{if(!b)return;let e=Vg(l,s??mW(a,r.activeDocName),d),t=iW();if(t){t.project.setSessionState(e).catch(kW);return}let n=aW();n&&Wg(typeof localStorage<`u`?localStorage:null,n,e)},Pe=[s,a,l,d,r.activeDocName,b],t[34]=s,t[35]=a,t[36]=l,t[37]=d,t[38]=r.activeDocName,t[39]=b,t[40]=Ne,t[41]=Pe):(Ne=t[40],Pe=t[41]),(0,Q.useEffect)(Ne,Pe);let Fe;t[42]===b?Fe=t[43]:(Fe=function(){b||(j.current=!0)},t[42]=b,t[43]=Fe);let Ie=Fe,Le,Re;t[44]===U?(Le=t[45],Re=t[46]):(Le=()=>{if(U===null)return;let e=!1;N(!1);let t=nW(U);i(yW(t));let n=function(e,t){let n=xg(t,e);C.current=e,w.current=n,u(t=>gW(t,e)?t:e),f(e=>gW(e,n)?e:n);let r=Mg(D.current,e,E.current);D.current=r,_(e=>gW(e,r)?e:r)};return t.setOnBranchMismatch(()=>Yf(t)),t.setOnRenameRedirect(e=>{let{fromDocName:r,toDocName:i,hadOpenProvider:a}=e;(async()=>{let e,s=t.getActiveDocName()===r;kh([{fromDocName:r,toDocName:i}]);try{await Promise.all([t.closeAndClearPersistence(r),t.closeAndClearPersistence(i)]),s&&(t.open(i),t.setActive(i));let e=Pg(C.current,[{fromDocName:r,toDocName:i}],JU,[],w.current),a=xg(Pg(w.current,[{fromDocName:r,toDocName:i}],2**53-1),e);D.current=Fg(D.current,[{fromDocName:r,toDocName:i}]),n(e,a),o(e=>e&&(Ei(e)===r?{kind:`doc`,target:i,docName:i}:e)),s&&(window.location.hash=zi(i))}catch(t){let n=t;e=n,console.warn(JSON.stringify({event:`removal-cleanup-error`,kind:`renamed`,fromDocName:r,toDocName:i,message:String(n instanceof Error?n.message:n)}))}console.info(JSON.stringify({event:`removal.cleanup`,kind:`renamed`,fromDocName:r,toDocName:i,hadOpenProvider:a,hadStaleIdb:!a,source:`auth-rejection`,errored:e!==void 0}))})()}),t.setOnDocDeleted(e=>{let{docName:r,hadOpenProvider:i}=e;(async()=>{let e;try{await t.closeAndClearPersistence(r),n(jg(C.current,r),w.current),o(e=>e&&(Ei(e)===r?null:e)),t.getActiveDocName()===r&&(window.location.hash=``)}catch(t){let n=t;e=n,console.warn(JSON.stringify({event:`removal-cleanup-error`,kind:`deleted`,docName:r,message:String(n instanceof Error?n.message:n)}))}console.info(JSON.stringify({event:`removal.cleanup`,kind:`deleted`,fromDocName:r,hadOpenProvider:i,hadStaleIdb:!i,source:`auth-rejection`,errored:e!==void 0}))})()}),t.setOnChange(()=>i(yW(t))),fetch(`/api/principal`).then(OW).then(n=>{if(e)return;let r=Dt.safeParse(n);r.success?(t.setTabIdentity({principalId:r.data.id,tabSessionId:XU}),F(r.data)):QU(r.error)}).catch(t=>{e||QU(t)}).finally(()=>{e||N(!0)}),Yf(t),()=>{e=!0,t.setOnChange(null),t.setOnRenameRedirect(null),t.setOnDocDeleted(null)}},Re=[U],t[44]=U,t[45]=Le,t[46]=Re),(0,Q.useEffect)(Le,Re);let ze;t[47]===U?ze=t[48]:(ze=e=>{if(Y(`ok/nav/open-document`,{docName:e,transition:!1}),U===null)return;let t=nW(U),n=t.open(e);if(!n)return;Gf(e,n.poolEventId);let r=pg(e);pe(e=>Dg(e,r,JU,w.current)),_e(r),K(r),t.setActive(e),o({kind:`doc`,target:e,docName:e})},t[47]=U,t[48]=ze);let Be=ze,Ve;t[49]===Be?Ve=t[50]:(Ve=e=>{Y(`ok/nav/open-document`,{docName:e,transition:!1}),Be(e)},t[49]=Be,t[50]=Ve);let He=Ve,Ue;t[51]!==a||t[52]!==U||t[53]!==Ie||t[54]!==r.activeDocName?(Ue=(e,t)=>{let n=t===void 0?{}:t;if(U===null)return;n.tabBehavior===`replace-active`&&Ie();let i=nW(U),s=Ei(e),c=T.current,l=c!==null&&n.tabBehavior===`replace-active`,u=c?null:S.current??mW(a,r.activeDocName),d=u!==null&&C.current.includes(u),f=u!==null&&w.current.includes(u),p=n.tabBehavior===`replace-active`&&f||n.tabBehavior===`replace-active`&&!l&&!d?`append`:n.tabBehavior??`append`;if(s&&e.kind!==`large-file`){let e=i.open(s);if(!e)return;Gf(s,e.poolEventId);let t=kg(C.current,s,{behavior:p,currentTabId:u,limit:JU,pinnedTabIds:w.current});de(t.tabs),_e(t.activeTabId),K(t.activeTabId),i.setActive(s)}else{i.clearActive();let t=_g(e);if(t){let e=Ag(C.current,t,{behavior:p,currentTabId:u,limit:JU,pinnedTabIds:w.current});de(e.tabs),K(e.activeTabId),_e(e.activeTabId)}else _e(t)}o(t=>vW(t,e)?t:e)},t[51]=a,t[52]=U,t[53]=Ie,t[54]=r.activeDocName,t[55]=Ue):Ue=t[55];let We=Ue,Ge;t[56]===We?Ge=t[57]:(Ge=(e,t)=>{We(e,t===void 0?{}:t)},t[56]=We,t[57]=Ge);let Ke=Ge,qe;t[58]===We?qe=t[59]:(qe=(e,t)=>{let n=t===void 0?{}:t;Y(`ok/nav/open-target`,{docName:Ei(e),kind:e.kind,transition:!1}),We(e,n)},t[58]=We,t[59]=qe);let Je=qe,Ye;t[60]===Symbol.for(`react.memo_cache_sentinel`)?(Ye=function(e){e.length!==0&&(A.current=[...A.current,...e].slice(-50))},t[60]=Ye):Ye=t[60];let Xe=Ye,Ze;t[61]===U?Ze=t[62]:(Ze=e=>{let t=vg(e);if(ie(null),K(e),t.kind===`doc`){if(U!==null){let e=nW(U);if(!e.open(t.docName))return;e.setActive(t.docName)}o({kind:`doc`,target:t.docName,docName:t.docName});let e=zi(t.docName);window.location.hash!==e&&(window.location.hash=e);return}if(U!==null&&nW(U).clearActive(),t.kind===`asset`){o(pW(t.assetPath));let e=Ii(t.assetPath);window.location.hash!==e&&(window.location.hash=e);return}if(t.kind===`skill-file`){o({kind:`skill-file`,target:`${t.scope}/${t.name}/${t.path}`,scope:t.scope,name:t.name,path:t.path});let e=Pi({scope:t.scope,name:t.name,path:t.path});window.location.hash!==e&&(window.location.hash=e);return}o({kind:`folder`,target:t.folderPath,folderPath:t.folderPath});let n=ji(t.folderPath);window.location.hash!==n&&(window.location.hash=n)},t[61]=U,t[62]=Ze);let Qe=Ze,$e;t[63]===U?$e=t[64]:($e=()=>{let e=`new-tab:${O.current}`;O.current+=1,he([...E.current,e]),ie(e),U!==null&&nW(U).clearActive(),o(null),K(null),window.location.hash!==``&&(window.location.hash=``)},t[63]=U,t[64]=$e);let et=$e,tt;t[65]!==s||t[66]!==a||t[67]!==U||t[68]!==Ie||t[69]!==r.activeDocName?(tt=e=>{if(w.current.includes(e)||!C.current.includes(e))return;Ie();let t=null,n=yg(e);if(Xe([e]),U!==null){let t=nW(U);n&&!hW(C.current,n,new Set([e]))&&t.close(n)}let i=s??mW(a,r.activeDocName);if(pe(n=>(t=Rg(n,i,e),jg(n,e))),i===e){if(t){K(t),window.location.hash=uW(t);return}U!==null&&nW(U).clearActive(),o(null),K(null),window.location.hash=``}},t[65]=s,t[66]=a,t[67]=U,t[68]=Ie,t[69]=r.activeDocName,t[70]=tt):tt=t[70];let nt=tt,rt;t[71]!==U||t[72]!==Ie?(rt=e=>{Ie();let t=E.current;if(!t.includes(e))return;let n=t.filter(t=>t!==e);if(he(n),T.current!==e)return;let r=t.indexOf(e),i=n[r]??n[r-1]??null;if(i){ie(i),U!==null&&nW(U).clearActive(),o(null),K(null),window.location.hash!==``&&(window.location.hash=``);return}ie(null);let a=C.current[C.current.length-1]??null;if(a){K(a),window.location.hash=uW(a);return}U!==null&&nW(U).clearActive(),o(null),K(null),window.location.hash=``},t[71]=U,t[72]=Ie,t[73]=rt):rt=t[73];let it=rt,at;t[74]!==it||t[75]!==nt?(at=()=>{let e=T.current;if(e)return it(e),!0;let t=new Set(w.current),n=new Set(C.current.filter(e=>!t.has(e))),r=(S.current&&n.has(S.current)?S.current:null)??D.current.find(e=>n.has(e));if(r)return nt(r),!0;let i=new Set(E.current),a=D.current.find(e=>i.has(e));return a?(it(a),!0):!1},t[74]=it,t[75]=nt,t[76]=at):at=t[76];let ot=at,st,ct;t[77]===ot?(st=t[78],ct=t[79]):(st=()=>{let e=iW();if(e)return e.onMenuAction(e=>{e===`close-active-tab-or-window`&&(ot()||window.close())})},ct=[ot],t[77]=ot,t[78]=st,t[79]=ct),(0,Q.useEffect)(st,ct);let lt;t[80]===U?lt=t[81]:(lt=()=>{if(U===null){o(DW),S.current=null,c(EW);return}let e=nW(U);e.getActiveDocName()!==null&&e.clearActive(),o(TW),S.current=null,c(wW)},t[80]=U,t[81]=lt);let ut;t[82]!==U||t[83]!==Ie?(ut=e=>{U!==null&&(Ie(),nW(U).close(e),pe(t=>jg(t,pg(e))),c(t=>{let n=t&&yg(t)===e?null:t;return S.current=n,n}),o(t=>t&&(Ei(t)===e?null:t)))},t[82]=U,t[83]=Ie,t[84]=ut):ut=t[84];let dt;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(dt=e=>{let t=Cg(w.current,e,C.current);gW(w.current,t)||se(t)},t[85]=dt):dt=t[85];let ft;t[86]===Ie?ft=t[87]:(ft=e=>{let t=wg(w.current,e);gW(w.current,t)||(Ie(),se(t))},t[86]=Ie,t[87]=ft);let pt;t[88]===Qe?pt=t[89]:(pt=e=>{Qe(e)},t[88]=Qe,t[89]=pt);let mt;t[90]===Symbol.for(`react.memo_cache_sentinel`)?(mt=(e,t)=>{let n=new Set(C.current),r=new Set(E.current),i=new Set,a=[],o=[],s=[];for(let t of e)i.has(t)||(n.has(t)?(a.push(t),s.push(t),i.add(t)):r.has(t)&&(o.push(t),s.push(t),i.add(t)));for(let e of C.current)i.has(e)||(a.push(e),s.push(e),i.add(e));for(let e of E.current)i.has(e)||(o.push(e),s.push(e),i.add(e));let c=gW(C.current,a),l=gW(E.current,o),u=gW(D.current,s);c&&l&&u||(D.current=s,l||(E.current=o,h(e=>gW(e,o)?e:o)),le(a,Eg(a,w.current,t)))},t[90]=mt):mt=t[90];let ht;t[91]===U?ht=t[92]:(ht=e=>{E.current.includes(e)&&(U!==null&&nW(U).clearActive(),o(null),K(null),ie(e),window.location.hash!==``&&(window.location.hash=``))},t[91]=U,t[92]=ht);let gt;t[93]===Qe?gt=t[94]:(gt=()=>{let e=[...A.current];for(;e.length>0;){let t=e.pop();if(!t)continue;if(C.current.includes(t)){A.current=e;continue}let n=Dg(C.current,t,JU,w.current);if(!n.includes(t))return;A.current=e,de(n),Qe(t);return}A.current=[]},t[93]=Qe,t[94]=gt);let _t;t[95]!==s||t[96]!==a||t[97]!==U||t[98]!==Ie||t[99]!==r.activeDocName?(_t=(e,t)=>{let n=t===void 0?{}:t,i=e.filter(CW),c=new Set(n.force?i:Tg(i,w.current));if(c.size===0)return;if(Ie(),n.force||Xe(C.current.filter(e=>c.has(e))),U!==null){let e=nW(U),t=new Map;for(let e of c){let n=yg(e);if(!n)continue;let r=t.get(n)??new Set;r.add(e),t.set(n,r)}for(let[n,r]of t)hW(C.current,n,r)||e.close(n)}let l=null,u=s??mW(a,r.activeDocName);if(pe(e=>(l=zg(e,u,c),e.filter(e=>!c.has(e)))),!u||!c.has(u)){u||o(e=>{if(!e)return e;let t=_g(e);return t&&c.has(t)?null:e});return}if(l){K(l),window.location.hash=uW(l);return}U!==null&&nW(U).clearActive(),o(null),K(null),window.location.hash=``},t[95]=s,t[96]=a,t[97]=U,t[98]=Ie,t[99]=r.activeDocName,t[100]=_t):_t=t[100];let vt;t[101]!==s||t[102]!==a||t[103]!==U||t[104]!==Ie||t[105]!==l||t[106]!==r.activeDocName?(vt=e=>{let{pages:t,folderPaths:n,assetPaths:i,filePaths:c}=e,u=Ng(l,{pages:t,folderPaths:n,assetPaths:i,filePaths:c,keepMissingDocName:a?.kind===`missing`?a.target:null,keepHashDocName:typeof window<`u`?Ri(window.location.hash):null});if(u.length===l.length)return;let d=new Set(u),f=l.filter(e=>!d.has(e)),p=new Set(f);if(Ie(),U!==null){let e=nW(U);for(let t of f){let n=yg(t);n&&e.close(n)}}de(u);let m=typeof window<`u`?dW(window.location.hash):null,h=s??mW(a,r.activeDocName),g=m&&p.has(m)?m:h&&p.has(h)?h:null;if(!g){o(e=>{if(!e)return e;let t=_g(e);return t&&p.has(t)?null:e});return}let _=zg(l,g,f);if(_){K(_),window.location.hash=uW(_);return}U!==null&&nW(U).clearActive(),o(null),K(null),window.location.hash=``},t[101]=s,t[102]=a,t[103]=U,t[104]=Ie,t[105]=l,t[106]=r.activeDocName,t[107]=vt):vt=t[107];let yt;t[108]!==U||t[109]!==Ie?(yt=(e,t,n)=>{let r=t===void 0?[]:t,i=n===void 0?[]:n;Ie();let a=Pg(C.current,e,JU,r,w.current,i),o=xg(Pg(w.current,e,2**53-1,r,[],i),a);if(U!==null){let e=nW(U);for(let t of a){let n=yg(t);n&&e.open(n)}}D.current=Fg(D.current,e,r,i),le(a,o);let s=S.current;if(s){let t=Pg([s],e,1,r,[],i)[0];t&&a.includes(t)&&K(t)}},t[108]=U,t[109]=Ie,t[110]=yt):yt=t[110];let bt,xt,St,Ct,wt;t[111]===U?(bt=t[112],xt=t[113],St=t[114],Ct=t[115],wt=t[116]):(bt=async e=>{U!==null&&(await nW(U).closeAndClearPersistence(e),o(t=>t&&(Ei(t)===e?null:t)))},xt=()=>U===null?null:nW(U).getActiveDocName(),St=e=>U===null?!1:nW(U).has(e),Ct=e=>{U!==null&&nW(U).recycle(e)},wt=e=>U===null?null:nW(U).prewarm(e)?.poolEventId??null,t[111]=U,t[112]=bt,t[113]=xt,t[114]=St,t[115]=Ct,t[116]=wt);let Tt,Et,Ot,kt,At;t[117]===U?(Tt=t[118],Et=t[119],Ot=t[120],kt=t[121],At=t[122]):(Tt=e=>{U!==null&&nW(U).setExpectedServerInstanceId(e)},Et=async e=>{if(U===null)return;let t=nW(U);t.setObservedBranch(e),await Kf(t,e),Di([`files`,`backlinks`,`graph`]),Oi(e)},Ot=async e=>{if(U===null)return;let t=nW(U);t.compareAndUpdateObservedBranch(e)&&(await Kf(t,e),Di([`files`,`backlinks`,`graph`]),Oi(e))},kt=(e,t)=>{U!==null&&nW(U).observeDiskAck(e,t)},At=async()=>{U!==null&&await Yf(nW(U))},t[117]=U,t[118]=Tt,t[119]=Et,t[120]=Ot,t[121]=kt,t[122]=At);let jt;t[123]!==z||t[124]!==ee||t[125]!==r.activeDocName?(jt=(e,t)=>{if(!r.activeDocName&&t){window.location.hash=zi(t),B(e),R(`agent`),H(SW);return}if(ee===`agent`&&z===e){R(`doc`);return}B(e),R(`agent`),H(xW)},t[123]=z,t[124]=ee,t[125]=r.activeDocName,t[126]=jt):jt=t[126];let Mt;t[127]===Symbol.for(`react.memo_cache_sentinel`)?(Mt=()=>{R(`doc`),B(null)},t[127]=Mt):Mt=t[127];let Nt;t[128]!==v||t[129]!==s||t[130]!==a||t[131]!==ot||t[132]!==it||t[133]!==nt||t[134]!==te||t[135]!==W||t[136]!==U||t[137]!==z||t[138]!==V||t[139]!==ee||t[140]!==Ae||t[141]!==m||t[142]!==Be||t[143]!==He||t[144]!==et||t[145]!==l||t[146]!==Ke||t[147]!==Je||t[148]!==d||t[149]!==P||t[150]!==G||t[151]!==r.activeDocName||t[152]!==r.activeProvider||t[153]!==r.poolEntries||t[154]!==r.serverRestartRecovery||t[155]!==r.syncState||t[156]!==I||t[157]!==lt||t[158]!==ut||t[159]!==ft||t[160]!==pt||t[161]!==ht||t[162]!==gt||t[163]!==_t||t[164]!==vt||t[165]!==yt||t[166]!==bt||t[167]!==xt||t[168]!==St||t[169]!==Ct||t[170]!==wt||t[171]!==Tt||t[172]!==Et||t[173]!==Ot||t[174]!==kt||t[175]!==At||t[176]!==jt||t[177]!==b||t[178]!==g?(Nt={principal:P,activeTarget:a,activeTabId:s,activeDocName:r.activeDocName,activeProvider:r.activeProvider,openTabs:l,pinnedTabIds:d,visibleTabIds:g,tabSessionLoaded:b,syncState:r.syncState,serverRestartRecovery:r.serverRestartRecovery,poolEntries:r.poolEntries,openDocument:Be,openDocumentTransition:He,openTarget:Ke,openTargetTransition:Je,clearTarget:lt,closeDocument:ut,closeActiveTabOrWindow:ot,closeTab:nt,pinTab:dt,unpinTab:ft,activateTab:pt,reorderTabs:mt,newTabIds:m,activeNewTabId:v,isNewTabActive:Ae,openNewTab:et,activateNewTab:ht,closeNewTab:it,reopenClosedTab:gt,closeTabs:_t,syncOpenTabsWithKnownTargets:vt,remapTabsForRename:yt,closeAndClearForRename:bt,getPoolActiveDocName:xt,poolHas:St,recycleDocument:Ct,prewarm:wt,systemProvider:I,setSystemProvider:L,updateServerInstanceId:Tt,onBranchSwitched:Et,observeBranch:Ot,observeDiskAck:kt,refreshServerInfo:At,collabUrl:U,collabTerminal:W,collabLastError:te,retryCollab:G,docPanelMode:ee,docPanelAgentId:z,docPanelExpandSignal:V,openActivityPanel:jt,closeActivityPanel:Mt},t[128]=v,t[129]=s,t[130]=a,t[131]=ot,t[132]=it,t[133]=nt,t[134]=te,t[135]=W,t[136]=U,t[137]=z,t[138]=V,t[139]=ee,t[140]=Ae,t[141]=m,t[142]=Be,t[143]=He,t[144]=et,t[145]=l,t[146]=Ke,t[147]=Je,t[148]=d,t[149]=P,t[150]=G,t[151]=r.activeDocName,t[152]=r.activeProvider,t[153]=r.poolEntries,t[154]=r.serverRestartRecovery,t[155]=r.syncState,t[156]=I,t[157]=lt,t[158]=ut,t[159]=ft,t[160]=pt,t[161]=ht,t[162]=gt,t[163]=_t,t[164]=vt,t[165]=yt,t[166]=bt,t[167]=xt,t[168]=St,t[169]=Ct,t[170]=wt,t[171]=Tt,t[172]=Et,t[173]=Ot,t[174]=kt,t[175]=At,t[176]=jt,t[177]=b,t[178]=g,t[179]=Nt):Nt=t[179];let Pt=Nt,Ft;return t[180]!==n||t[181]!==Pt?(Ft=(0,Z.jsx)($U,{value:Pt,children:n}),t[180]=n,t[181]=Pt,t[182]=Ft):Ft=t[182],Ft}function xW(e){return e+1}function SW(e){return e+1}function CW(e){return e.length>0}function wW(e){return e===null?e:null}function TW(e){return e===null?e:null}function EW(e){return e===null?e:null}function DW(e){return e===null?e:null}function OW(e){return e.ok?e.json():Promise.reject(Error(`HTTP ${e.status}`))}function kW(e){console.warn(`[editor-tabs] failed to persist tab session:`,e)}function AW(e){console.warn(`[editor-tabs] failed to restore tab session:`,e)}function jW(){let e=(0,Q.use)($U);if(!e)throw Error(`useDocumentContext must be used within <DocumentProvider />`);return e}function MW(){let e=(0,$.c)(3),{openDocumentTransition:t,openTargetTransition:n}=jW(),r;return e[0]!==t||e[1]!==n?(r={openDocumentTransition:t,openTargetTransition:n},e[0]=t,e[1]=n,e[2]=r):r=e[2],r}export{FO as $,mo as $n,Cp as $t,lz as A,od as An,Zh as At,iF as B,Wo as Bn,dh as Bt,iB as C,yd as Cn,mg as Ct,Zz as D,ud as Dn,gg as Dt,nB as E,_d as En,_g as Et,uI as F,Bu as Fn,Fh as Ft,kP as G,ko as Gn,Bm as Gt,HP as H,Fo as Hn,rh as Ht,nI as I,Au as In,Th as It,pk as J,Co as Jn,Mm as Jt,OP as K,To as Kn,Xp as Kt,NF as L,Ou as Ln,Kh as Lt,BI as M,Zu as Mn,Eh as Mt,RI as N,bu as Nn,Lh as Nt,Mz as O,dd as On,$h as Ot,zI as P,vu as Pn,Rh as Pt,UO as Q,ho as Qn,bp as Qt,yF as R,Cu as Rn,Zm as Rt,tB as S,wd as Sn,Tg as St,rB as T,Td as Tn,Ig as Tt,zP as U,No as Un,Vm as Ut,XP as V,Ho as Vn,uh as Vt,jP as W,Mo as Wn,zm as Wt,xj as X,xo as Xn,wp as Xt,Mk as Y,So as Yn,Lp as Yt,hk as Z,_o as Zn,Sp as Zt,PH as _,jf as _n,vv as _t,gU as a,Wf as an,ro as ar,oC as at,kB as b,Od as bn,hg as bt,mU as c,Nf as cn,Za as cr,nx as ct,MU as d,Pf as dn,Ja as dr,vy as dt,xp as en,po as er,AO as et,fU as f,Tf as fn,Wa as fr,gy as ft,NH as g,Df as gn,Ba as gr,Mv as gt,GH as h,Af as hn,Va as hr,Fv as ht,_U as i,qf as in,ao as ir,hD as it,nR as j,rd as jn,kh as jt,wz as k,ad as kn,Qh as kt,NU as l,If as ln,Xa as lr,Cb as lt,KH as m,kf as mn,Ha as mr,Xv as mt,jW as n,ip as nn,co as nr,kD as nt,hU as o,Lf as on,no as or,Nx as ot,dU as p,Ef as pn,Ua as pr,ry as pt,bj as q,wo as qn,Em as qt,MW as r,Xf as rn,oo as rr,OD as rt,vU as s,Rf as sn,eo as sr,cx as st,bW as t,sp as tn,fo as tr,BO as tt,OU as u,Ff as un,Ya as ur,Uy as ut,kV as v,Of as vn,_v as vt,aB as w,vd as wn,vg as wt,cB as x,Ed as xn,pg as xt,EV as y,Mf as yn,U_ as yt,uF as z,Ko as zn,fh as zt};
|