@myagentroam/server 0.13.40 → 0.13.42
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/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/package.json +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/{AuditManagementPage-D1EB0Rmy.js → AuditManagementPage-BYzw06Au.js} +1 -1
- package/web/assets/{BusyIndicator-C6r16yaq.js → BusyIndicator-BSxmme_C.js} +1 -1
- package/web/assets/{CodeFileEditor-ClSv4bXD.js → CodeFileEditor-BzlBgLRK.js} +3 -3
- package/web/assets/ConversationTemplateManagementPage-C4qZYrfD.js +1 -0
- package/web/assets/ConversationTemplateManagementPage-Ciyf9SKk.js +1 -0
- package/web/assets/EnterpriseUserManagementPage-B1gTL_k7.css +1 -0
- package/web/assets/{EnterpriseUserManagementPage-U0x4u4uu.js → EnterpriseUserManagementPage-D6HfDFlW.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-Gj1X-Z7C.js → EnvironmentSecretManager-D0RSuzOg.js} +1 -1
- package/web/assets/{FilePreviewLoading-BjTq_2_N.js → FilePreviewLoading-CkXYZr2D.js} +1 -1
- package/web/assets/{HtmlPreviewFrame-mY307Dbd.js → HtmlPreviewFrame-Odxfdit6.js} +5 -5
- package/web/assets/LicenseManagementPage-GawhNvtK.js +1 -0
- package/web/assets/{ManagementPagination-Drcpb4iN.js → ManagementPagination-BVSV9Ych.js} +1 -1
- package/web/assets/MarAgentModelManagementPage-BK8JhVIo.js +1 -0
- package/web/assets/MarAgentModelManagementPage-_bv36Cld.js +1 -0
- package/web/assets/{MarIcon-Dd8tXkD_.js → MarIcon-CzWeIUMs.js} +1 -1
- package/web/assets/{MarkdownFilePreview-UegajMzF.js → MarkdownFilePreview-CTOXs-y9.js} +2 -2
- package/web/assets/{McpDetailsDialog-BI3Tikag.js → McpDetailsDialog-7htYvchv.js} +1 -1
- package/web/assets/{McpSourceManagementPage-kasbWxqO.js → McpSourceManagementPage-DhXwVG3s.js} +1 -1
- package/web/assets/{McpSourceManagementPage-D8ZFY9e3.js → McpSourceManagementPage-VO0nKThP.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-BKKAFZNh.js → NodeDetailsDialogs-BXTPUZF3.js} +2 -2
- package/web/assets/NodeManagementPage-CG9wifft.js +1 -0
- package/web/assets/NodeManagementPage-FtX60Aco.js +1 -0
- package/web/assets/OAuthManagementPage-D6HY7up7.js +2 -0
- package/web/assets/OrganizationManagementPage-B6AeYvnZ.css +1 -0
- package/web/assets/OrganizationManagementPage-Dfch7gnp.js +1 -0
- package/web/assets/{RemoteDesktopPage-CrygdCyB.js → RemoteDesktopPage-DS1jc-WC.js} +1 -1
- package/web/assets/{ResourceManagementPanel-DBTCb58R.js → ResourceManagementPanel-H2IGfzmS.js} +1 -1
- package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-CGTNiqbg.js +1 -0
- package/web/assets/SecretManagementPage-Cze4kbLP.js +1 -0
- package/web/assets/SecretManagementPage-DK80RNK2.js +1 -0
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-CNm9jYMh.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-DdhSA1gx.js} +1 -1
- package/web/assets/SessionSharePage-BgQOqH2g.js +2 -0
- package/web/assets/{SettingsContent-CjOXsTRB.js → SettingsContent-Bv9587ZN.js} +1 -1
- package/web/assets/SettingsContent-ChScVOYi.js +1 -0
- package/web/assets/SkillCenterPage-DTcPaK20.js +1 -0
- package/web/assets/{SkillCenterPage-I_3XIkPr.js → SkillCenterPage-KOVm_sCY.js} +1 -1
- package/web/assets/{SkillDetailsDialog-e8dpZ8Uu.js → SkillDetailsDialog-Dkwhe8V1.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-Mt5BFTqb.js → SkillSourceManagementPage-CyhHH6IF.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-Ca9z5lBL.js → SkillSourceManagementPage-DyOvjIxl.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-Bb1ci44U.js → StandaloneFilePreviewPage-DS11w8tw.js} +1 -1
- package/web/assets/SystemConfigurationPage-94kJT211.js +1 -0
- package/web/assets/SystemConfigurationPage-DajswjDJ.js +1 -0
- package/web/assets/{SystemInformationPage-S1_3IJ57.js → SystemInformationPage-oWmPiMCK.js} +1 -1
- package/web/assets/{TerminalTabView-DXI_297G.js → TerminalTabView-BvlZoeHm.js} +10 -10
- package/web/assets/{WorkbenchPage-C83XJx9F.js → WorkbenchPage-BKpxRHUd.js} +4 -4
- package/web/assets/WorkbenchPage-d5tfAd4c.css +1 -0
- package/web/assets/WorkspaceManagementPage-DieHQi7e.js +1 -0
- package/web/assets/WorkspaceManagementPage-ycvE-bSi.js +1 -0
- package/web/assets/{_baseIteratee-BaZQhZyx.js → _baseIteratee-D8zr5J8j.js} +1 -1
- package/web/assets/{abnfDiagram-VCTEODGH-DAWIlk5u.js → abnfDiagram-VCTEODGH-DYU0oVkk.js} +1 -1
- package/web/assets/{advancedFormat-aUniOYgq.js → advancedFormat-BKm3qsIp.js} +1 -1
- package/web/assets/{arc-DHJj1sqj.js → arc-DOZIY8aD.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-DPvVfGnW.js → architectureDiagram-5GKGNRK7-rbIVTI1a.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-CmNEdp4-.js → blockDiagram-OSKFZWR5-DKVJ52Oc.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-CLabCirw.js → c4Diagram-7LVT6UL2-D3DQpa2R.js} +1 -1
- package/web/assets/{catalog-ownership-service-I7711sU9.js → catalog-ownership-service-2PFHr7cy.js} +1 -1
- package/web/assets/{catalog-page-service-CrvIMHp_.js → catalog-page-service-i8hATwsi.js} +1 -1
- package/web/assets/channel-C2ah8GX3.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-Cs609t5Y.js → chunk-2Q5K7J3B-C9c91ukP.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-vFgwj9i4.js → chunk-5VM5RSS4-DxuTco1j.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-DdpjR4bI.js → chunk-F27PBJKO-Bx7gFAXD.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-y_FtjlUY.js → chunk-HLEWEB6X-DZz7LUnw.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-D6JK8d29.js → chunk-JWPE2WC7-CpoI4ivS.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-DSG6wM4A.js → chunk-POPQ4Y6H-CXr6_kt3.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-CZWdUR8q.js → chunk-SVP7TREG-UWmsNxKy.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-DNIPT1e5.js → chunk-XXDRQBXY-CKEYCNET.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-dLjcOoC2.js → chunk-ZLD2IHE6-BMy13ymU.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-aJDqHns3.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-aJDqHns3.js +1 -0
- package/web/assets/{conversation-history-Dw0OeuDj.js → conversation-history-BRCu6PtW.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-Co_wYq4t.js → cose-bilkent-JH36ORCC-BtgVLwpt.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-ALxsvR4U.js → cynefin-OW5HDTMX-CfEWO-Nn.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-BCOxWiYn.js → cynefinDiagram-5FMLGOSQ-Bv0DzRZp.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-BqvD6n75.js → dagre-OS7QT2EB-CAkiO0or.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-BlymX99t.js → diagram-S7CK7UJ4-DKuP0ZcM.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-o2Zn3lmh.js → diagram-UQ7AKVKN-B7PXTtZW.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-LvxlSJ3y.js → diagram-VSXAHHWV-BnR0S5It.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-5OzgskFN.js → diagram-VX7I27RA-1ns4b_Ly.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-DJfYlTyb.js → diagram-Z3DM3KII-b6dkT3D7.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-CaDW9bPH.js → ebnfDiagram-PWID7BFC-D6A8AQlZ.js} +1 -1
- package/web/assets/{el-alert-DmchhQax.js → el-alert-CxrwoFMm.js} +1 -1
- package/web/assets/{el-cascader-H-Yeolyv.js → el-cascader-CUsS5sQC.js} +1 -1
- package/web/assets/{el-checkbox-C4UiMIuI.js → el-checkbox-BEuU-IAG.js} +1 -1
- package/web/assets/{el-date-picker-B7VBZfx-.js → el-date-picker-C2lmvLfz.js} +1 -1
- package/web/assets/{el-descriptions-Bpv9MSpN.js → el-descriptions-DqEkudu8.js} +1 -1
- package/web/assets/{el-form-item-AGycjXtk.js → el-form-item-BhdvtBoj.js} +2 -2
- package/web/assets/{el-input-mQZYBrBd.js → el-input-D2mXGScU.js} +2 -2
- package/web/assets/{el-input-number-Dpw9CJQ1.js → el-input-number-BHe_RF5E.js} +1 -1
- package/web/assets/{el-radio-DNKBZo6a.js → el-radio-CCg-CVNI.js} +1 -1
- package/web/assets/{el-scrollbar-8NwBVSDB.js → el-scrollbar-DEuLh689.js} +1 -1
- package/web/assets/{el-select-DmxIIQ48.js → el-select-DpvzF6za.js} +1 -1
- package/web/assets/{el-switch-DULOibHs.js → el-switch-CG3fA43f.js} +1 -1
- package/web/assets/{el-tab-pane-B4VHARjC.js → el-tab-pane-Da_Qe98x.js} +1 -1
- package/web/assets/el-table-column-BuHeqmjf.js +1 -0
- package/web/assets/{enterprise-management-service-ByETEgFZ.js → enterprise-management-service-Dq8hjOQO.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-2zMqmYv0.js → erDiagram-2YWLMYGG-BhUFTXg1.js} +1 -1
- package/web/assets/{error-presentation-p-88bGPc.js → error-presentation-DcEn2OhQ.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-wa-_dpiY.js → flowDiagram-T62WH6J4-apNT2Grp.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-D612DnDq.js → ganttDiagram-EL5Y4UJY-B9GXN1na.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-CbcV1o-A.js → gitGraphDiagram-WWUBYQGX-wSTPdk0P.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-DUAL5oy-.js → hosted-conversation-template-client-zjTbBHeH.js} +1 -1
- package/web/assets/{index-BRLJFcfW.js → index-1NvwgnKS.js} +1 -1
- package/web/assets/{index-CNUoaheD.js → index-B-X5u8cI.js} +1 -1
- package/web/assets/{index-BDKTJRz4.js → index-B-XXHvKc.js} +1 -1
- package/web/assets/{index-Cuq6wm_m.js → index-BDq_pbKu.js} +1 -1
- package/web/assets/{index-nTDMEpry.js → index-BGmp6-3j.js} +18 -18
- package/web/assets/{index-CdIw03RW.js → index-BMheCXoB.js} +1 -1
- package/web/assets/{index-ChUf_mKd.js → index-BOvaB0C-.js} +1 -1
- package/web/assets/{index-DKhpC_1Q.js → index-Ba6iK4d8.js} +1 -1
- package/web/assets/{index-DVVq_7vA.js → index-BdNxGQUO.js} +1 -1
- package/web/assets/{index-BUChenZd.js → index-BmWtKtLc.js} +1 -1
- package/web/assets/{index-DQA2hZJP.js → index-C1nRANxM.js} +1 -1
- package/web/assets/{index-iLLnA8-L.js → index-CANfEI7O.js} +1 -1
- package/web/assets/{index-B0vCt07Z.js → index-CNjxcC1r.js} +1 -1
- package/web/assets/{index-09mouiQJ.js → index-CPhahzD2.js} +1 -1
- package/web/assets/{index-Hobh03AC.js → index-CQeS2za-.js} +1 -1
- package/web/assets/{index-C7gKD9JU.js → index-CsGvE9BH.js} +1 -1
- package/web/assets/{index-GcEKdw8F.js → index-D0SA9962.js} +1 -1
- package/web/assets/{index-DHPeeVhE.js → index-D63MCAbl.js} +1 -1
- package/web/assets/{index-B-7zlHeM.js → index-D6fig5_R.js} +1 -1
- package/web/assets/{index-s2Ha-GnI.css → index-D7cXOUkF.css} +1 -1
- package/web/assets/{index-BkUiRx3-.js → index-DQVv2C1C.js} +1 -1
- package/web/assets/{index-CsSCLcpK.js → index-DnXI5HAq.js} +1 -1
- package/web/assets/{index-CWqXCSc7.js → index-DzsrXSGW.js} +1 -1
- package/web/assets/{index-D7beQ3QT.js → index-Uo6Tsm01.js} +1 -1
- package/web/assets/{index-dF4etShk.js → index-_7mAA2sQ.js} +1 -1
- package/web/assets/{index-kuB4dmyI.js → index-_AwytY44.js} +1 -1
- package/web/assets/{index-CHFvlPXy.js → index-c2dfB1bI.js} +1 -1
- package/web/assets/{index-Cs5IUlii.js → index-dFtUFiQL.js} +1 -1
- package/web/assets/{index-DyI9r3Bt.js → index-pmVe4zB-.js} +1 -1
- package/web/assets/{index-Dvj-p2eB.js → index-u9HkIAxq.js} +1 -1
- package/web/assets/infoDiagram-FKFFQAWI-BCHQ3DDu.js +2 -0
- package/web/assets/{isArrayLikeObject-B10d2_nL.js → isArrayLikeObject-CXncc20u.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-BLh4brI3.js → ishikawaDiagram-5VMMS53U-z8pIpqd8.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-CtR4U2Ow.js → journeyDiagram-EYS64GPL-CMVTVfyi.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-D_X1w7OD.js → kanban-definition-UXKFOSKX-Q677mqlK.js} +1 -1
- package/web/assets/{layout-cG64wF2A.js → layout-XEvgbYbU.js} +1 -1
- package/web/assets/{linear-CW7Ty6z1.js → linear-CLp5kAj1.js} +1 -1
- package/web/assets/{management-url-service-Cj3pOACA.js → management-url-service-DXxizFTs.js} +1 -1
- package/web/assets/{mcp-center-service-HXeiDVQu.js → mcp-center-service-LqlQKtfu.js} +1 -1
- package/web/assets/{merge-KnF4FXAE.js → merge-R2FU6J9H.js} +1 -1
- package/web/assets/{mermaid.core-CIwpUIkX.js → mermaid.core-CZhNX8Zt.js} +5 -5
- package/web/assets/{message-box-service-C8q7blg8.js → message-box-service-jajIaNSh.js} +1 -1
- package/web/assets/{mindmap-definition-THT77NOG-BMfbIM-R.js → mindmap-definition-THT77NOG--j8u9wCj.js} +1 -1
- package/web/assets/mobile-dialog-return-service-C1r4xnjj.js +1 -0
- package/web/assets/{oauth-callback-C9RxE_FL.js → oauth-callback-CGryxaWm.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-7Oshee2x.js → pegDiagram-XKGWAZYB--yOZBFXv.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-CMH6Y3NW.js → pieDiagram-E7YTZNPT-FFY5btUN.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-Dj_KiLbP.js → quadrantDiagram-AXDQQJYC-DyVGryxX.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-DTqXQtJL.js → railroadDiagram-O6MQD6OU-B1PGTNY0.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-CkFQh0p2.js → requirementDiagram-IS5BZ75X-CNwUXsGi.js} +1 -1
- package/web/assets/{runner-presentation-B_WL-hOq.js → runner-presentation-2CguWXC3.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-CoLlYYtV.js → sankeyDiagram-P5KCCOFB-C6tk5X0R.js} +1 -1
- package/web/assets/{sequenceDiagram-WJ2MYXX4-DQozvzEw.js → sequenceDiagram-WJ2MYXX4-ByeyRijR.js} +1 -1
- package/web/assets/{session-share-client-service-F20nFnhi.js → session-share-client-service-4fewpE0b.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-DQOWxNEY.js → sizeCapture-INFHLROL-C7mc8LN4.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-BW487v8g.js → stateDiagram-XQSTLZYL-BKAuWGmK.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-Cy3e8MsO.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-Cp1wtlcP.js → swimlanes-V6O3JKXN-BTi_Dsij.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-D9R8ihoa.js +8 -0
- package/web/assets/{time-presentation-BTxYwtG_.js → time-presentation-DzhQEVDq.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-BpZvP7ey.js → timeline-definition-24CTP7MA-CaiTysV3.js} +1 -1
- package/web/assets/{union-BA_h4K9S.js → union-Ba2wuAOp.js} +1 -1
- package/web/assets/{use-form-common-props-14CxDqe1.js → use-form-common-props-CBVJDsZ-.js} +1 -1
- package/web/assets/{use-wheel-CRHoSHkq.js → use-wheel-BU33IvZU.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-CKNNRSuq.js → vennDiagram-4TSXK5OY-IRRNFBfM.js} +1 -1
- package/web/assets/{vnode-OkN1IbUg.js → vnode-CmxSxPMu.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-CvPPZTh0.js → wardleyDiagram-VM6X3IG4-kEp9N5Z3.js} +1 -1
- package/web/assets/{workbench-composer-interaction-controller-CN4P4zHb.js → workbench-composer-interaction-controller-BHX6zPoh.js} +16 -16
- package/web/assets/{workbench-composer-interaction-controller-CctFAbhU.css → workbench-composer-interaction-controller-ST0YI3Nr.css} +1 -1
- package/web/assets/{workbench-live-service-CRqfYcR6.js → workbench-live-service-Ceu3yprJ.js} +1 -1
- package/web/assets/{workbench-presentation-DugF7jav.js → workbench-presentation-DPIhtkeQ.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-CQQMaWXP.js → xychartDiagram-S5SC5T6Z-CniVZj2V.js} +1 -1
- package/web/docs/404.html +2 -2
- package/web/docs/administration/account.html +3 -3
- package/web/docs/administration/audit.html +3 -3
- package/web/docs/administration/conversation-templates.html +3 -3
- package/web/docs/administration/email-notifications.html +3 -3
- package/web/docs/administration/license.html +3 -3
- package/web/docs/administration/nodes-workspaces.html +3 -3
- package/web/docs/administration/oauth.html +3 -3
- package/web/docs/administration/secrets.html +3 -3
- package/web/docs/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/administration/users-organizations.html +3 -3
- package/web/docs/assets/{app.DV9BTjvB.js → app.B993MtJ_.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.BIiFcGep.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.DQmKT7cZ.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.dJOIKrxL.js → VPLocalSearchBox.Gazpu9OX.js} +1 -1
- package/web/docs/assets/chunks/{theme.BX3DGCJT.js → theme.Cw6gE-RS.js} +2 -2
- package/web/docs/assets/{en-US_operations_marctl.md.CJYpPahB.js → en-US_operations_marctl.md.0fc1netz.js} +3 -3
- package/web/docs/assets/{en-US_operations_marctl.md.CJYpPahB.lean.js → en-US_operations_marctl.md.0fc1netz.lean.js} +1 -1
- package/web/docs/assets/{en-US_runners_mar-agent.md.D4jOCeFL.js → en-US_runners_mar-agent.md.D-nVfPw4.js} +1 -1
- package/web/docs/assets/{en-US_runners_mar-agent.md.D4jOCeFL.lean.js → en-US_runners_mar-agent.md.D-nVfPw4.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_files.md.7jYrw-kM.js +1 -0
- package/web/docs/assets/{en-US_workbench_files.md.W16dZr3K.lean.js → en-US_workbench_files.md.7jYrw-kM.lean.js} +1 -1
- package/web/docs/assets/{en-US_workbench_sessions.md.M_gNLK0R.js → en-US_workbench_sessions.md.ClMZVU5U.js} +1 -1
- package/web/docs/assets/{en-US_workbench_sessions.md.M_gNLK0R.lean.js → en-US_workbench_sessions.md.ClMZVU5U.lean.js} +1 -1
- package/web/docs/assets/{operations_marctl.md.BW9barpn.js → operations_marctl.md.DwcVvX1m.js} +3 -3
- package/web/docs/assets/{operations_marctl.md.BW9barpn.lean.js → operations_marctl.md.DwcVvX1m.lean.js} +1 -1
- package/web/docs/assets/{runners_mar-agent.md.BaHcT8hP.js → runners_mar-agent.md.GA2OkpzP.js} +2 -2
- package/web/docs/assets/{runners_mar-agent.md.BaHcT8hP.lean.js → runners_mar-agent.md.GA2OkpzP.lean.js} +1 -1
- package/web/docs/assets/workbench_files.md.BuEwqy3G.js +1 -0
- package/web/docs/assets/{workbench_files.md.D3yBwkKe.lean.js → workbench_files.md.BuEwqy3G.lean.js} +1 -1
- package/web/docs/assets/workbench_sessions.md.B3m2ZZwE.js +1 -0
- package/web/docs/assets/{workbench_sessions.md.Dv8BGwLN.lean.js → workbench_sessions.md.B3m2ZZwE.lean.js} +1 -1
- package/web/docs/concepts/architecture.html +3 -3
- package/web/docs/concepts/data-and-security.html +3 -3
- package/web/docs/concepts/files-git-terminal.html +3 -3
- package/web/docs/concepts/node-and-workspace.html +3 -3
- package/web/docs/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/concepts/runner-control.html +3 -3
- package/web/docs/concepts/secrets.html +3 -3
- package/web/docs/concepts/session-run-turn.html +3 -3
- package/web/docs/deployment/backup-restore.html +3 -3
- package/web/docs/deployment/network.html +3 -3
- package/web/docs/deployment/node-installation.html +3 -3
- package/web/docs/deployment/node-linux.html +3 -3
- package/web/docs/deployment/node-macos.html +3 -3
- package/web/docs/deployment/node-windows.html +3 -3
- package/web/docs/deployment/production.html +3 -3
- package/web/docs/deployment/security-checklist.html +3 -3
- package/web/docs/deployment/upgrade.html +3 -3
- package/web/docs/en-US/administration/account.html +3 -3
- package/web/docs/en-US/administration/audit.html +3 -3
- package/web/docs/en-US/administration/conversation-templates.html +3 -3
- package/web/docs/en-US/administration/email-notifications.html +3 -3
- package/web/docs/en-US/administration/license.html +3 -3
- package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
- package/web/docs/en-US/administration/oauth.html +3 -3
- package/web/docs/en-US/administration/secrets.html +3 -3
- package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/en-US/administration/users-organizations.html +3 -3
- package/web/docs/en-US/concepts/architecture.html +3 -3
- package/web/docs/en-US/concepts/data-and-security.html +3 -3
- package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
- package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
- package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/en-US/concepts/runner-control.html +3 -3
- package/web/docs/en-US/concepts/secrets.html +3 -3
- package/web/docs/en-US/concepts/session-run-turn.html +3 -3
- package/web/docs/en-US/deployment/backup-restore.html +3 -3
- package/web/docs/en-US/deployment/network.html +3 -3
- package/web/docs/en-US/deployment/node-installation.html +3 -3
- package/web/docs/en-US/deployment/node-linux.html +3 -3
- package/web/docs/en-US/deployment/node-macos.html +3 -3
- package/web/docs/en-US/deployment/node-windows.html +3 -3
- package/web/docs/en-US/deployment/production.html +3 -3
- package/web/docs/en-US/deployment/security-checklist.html +3 -3
- package/web/docs/en-US/deployment/upgrade.html +3 -3
- package/web/docs/en-US/getting-started/connect-node.html +3 -3
- package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
- package/web/docs/en-US/getting-started/first-login.html +3 -3
- package/web/docs/en-US/getting-started/next-steps.html +3 -3
- package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
- package/web/docs/en-US/getting-started/overview.html +3 -3
- package/web/docs/en-US/getting-started/prerequisites.html +3 -3
- package/web/docs/en-US/getting-started/register-workspace.html +3 -3
- package/web/docs/en-US/getting-started/server-installation.html +3 -3
- package/web/docs/en-US/operations/marctl.html +7 -7
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +5 -5
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/composer.html +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +5 -5
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +3 -3
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +5 -5
- package/web/docs/en-US/workbench/skills.html +3 -3
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +7 -7
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +5 -5
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +3 -3
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/composer.html +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +5 -5
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +3 -3
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +3 -3
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +5 -5
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +37 -15
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/ConversationTemplateManagementPage-DjXCJxxB.js +0 -1
- package/web/assets/ConversationTemplateManagementPage-kPy9Q7Nj.js +0 -1
- package/web/assets/EnterpriseUserManagementPage-Dy-PXUlJ.css +0 -1
- package/web/assets/LicenseManagementPage-CIFp7Uxi.js +0 -1
- package/web/assets/MarAgentModelManagementPage-C6ZoxfPe.js +0 -1
- package/web/assets/MarAgentModelManagementPage-UOVM-cEq.js +0 -1
- package/web/assets/NodeManagementPage-BKjDf-CP.js +0 -1
- package/web/assets/NodeManagementPage-DZ2NcHXE.js +0 -1
- package/web/assets/OAuthManagementPage-BjHnQFf-.js +0 -2
- package/web/assets/OrganizationManagementPage-C4v6OZS-.css +0 -1
- package/web/assets/OrganizationManagementPage-D6SLoYmV.js +0 -1
- package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-BK8M6PtK.js +0 -1
- package/web/assets/SecretManagementPage-CG5ibrEn.js +0 -1
- package/web/assets/SecretManagementPage-iUtOmPR8.js +0 -1
- package/web/assets/SessionSharePage-cLgZ7qfj.js +0 -2
- package/web/assets/SettingsContent-UcWcY6Ru.js +0 -1
- package/web/assets/SkillCenterPage-C41CWqy3.js +0 -1
- package/web/assets/SystemConfigurationPage-CxPxATcD.js +0 -1
- package/web/assets/SystemConfigurationPage-DE3cgB4E.js +0 -1
- package/web/assets/WorkbenchPage-C2FVnrpe.css +0 -1
- package/web/assets/WorkspaceManagementPage-CMhmQWb1.js +0 -1
- package/web/assets/WorkspaceManagementPage-DuOI27su.js +0 -1
- package/web/assets/channel-DZUE-8ay.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-aTCwqJOH.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-aTCwqJOH.js +0 -1
- package/web/assets/el-table-column-BaC9TraJ.js +0 -1
- package/web/assets/infoDiagram-FKFFQAWI-J7R5xPFr.js +0 -2
- package/web/assets/mobile-dialog-return-service-CIBrJ7zu.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-BacWQbgB.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-CUQ_78ZY.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.DgRWIc_v.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.CevKLJdQ.js +0 -1
- package/web/docs/assets/en-US_workbench_files.md.W16dZr3K.js +0 -1
- package/web/docs/assets/workbench_files.md.D3yBwkKe.js +0 -1
- package/web/docs/assets/workbench_sessions.md.Dv8BGwLN.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aD as Fe,bQ as oe,ay as k,bR as Ye,G as ae,bS as $t,bT as Jn,bU as Gs,bV as Yn,bf as qs,bW as zn,B as pe,bX as js,bY as Os,bZ as Qn,b_ as Zn,b$ as ei,c0 as ti,c1 as si,c2 as ht,c3 as ni,c4 as Ht,c5 as ii,c6 as ri}from"./index-nTDMEpry.js";var Pt={},Dt={exports:{}},kt={};const be=Symbol(""),Ce=Symbol(""),pt=Symbol(""),Xe=Symbol(""),Gt=Symbol(""),Ee=Symbol(""),qt=Symbol(""),jt=Symbol(""),dt=Symbol(""),Et=Symbol(""),De=Symbol(""),mt=Symbol(""),Wt=Symbol(""),_t=Symbol(""),St=Symbol(""),gt=Symbol(""),Tt=Symbol(""),Nt=Symbol(""),It=Symbol(""),Kt=Symbol(""),Jt=Symbol(""),Ge=Symbol(""),xe=Symbol(""),yt=Symbol(""),Ot=Symbol(""),ve=Symbol(""),ke=Symbol(""),At=Symbol(""),rt=Symbol(""),Ws=Symbol(""),ot=Symbol(""),Ue=Symbol(""),Ks=Symbol(""),Js=Symbol(""),Ct=Symbol(""),Ys=Symbol(""),zs=Symbol(""),bt=Symbol(""),Yt=Symbol(""),Ne={[be]:"Fragment",[Ce]:"Teleport",[pt]:"Suspense",[Xe]:"KeepAlive",[Gt]:"BaseTransition",[Ee]:"openBlock",[qt]:"createBlock",[jt]:"createElementBlock",[dt]:"createVNode",[Et]:"createElementVNode",[De]:"createCommentVNode",[mt]:"createTextVNode",[Wt]:"createStaticVNode",[_t]:"resolveComponent",[St]:"resolveDynamicComponent",[gt]:"resolveDirective",[Tt]:"resolveFilter",[Nt]:"withDirectives",[It]:"renderList",[Kt]:"renderSlot",[Jt]:"createSlots",[Ge]:"toDisplayString",[xe]:"mergeProps",[yt]:"normalizeClass",[Ot]:"normalizeStyle",[ve]:"normalizeProps",[ke]:"guardReactiveProps",[At]:"toHandlers",[rt]:"camelize",[Ws]:"capitalize",[ot]:"toHandlerKey",[Ue]:"setBlockTracking",[Ks]:"pushScopeId",[Js]:"popScopeId",[Ct]:"withCtx",[Ys]:"unref",[zs]:"isRef",[bt]:"withMemo",[Yt]:"isMemoSame"};function Qs(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ne[t]=e[t]})}const oi={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},ai={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},li={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ci={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},F={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Zs(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:F}}function Re(e,t,s,n,i,o,r,l=!1,a=!1,c=!1,u=F){return e&&(l?(e.helper(Ee),e.helper(Oe(e.inSSR,c))):e.helper(ye(e.inSSR,c)),r&&e.helper(Nt)),{type:13,tag:t,props:s,children:n,patchFlag:i,dynamicProps:o,directives:r,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function de(e,t=F){return{type:17,loc:t,elements:e}}function Q(e,t=F){return{type:15,loc:t,properties:e}}function D(e,t){return{type:16,loc:F,key:k(e)?E(e,!0):e,value:t}}function E(e,t=!1,s=F,n=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:n}}function fi(e,t){return{type:5,loc:t,content:k(e)?E(e,!1,t):e}}function Z(e,t=F){return{type:8,loc:t,children:e}}function w(e,t=[],s=F){return{type:14,loc:s,callee:e,arguments:t}}function Ie(e,t=void 0,s=!1,n=!1,i=F){return{type:18,params:e,returns:t,newline:s,isSlot:n,loc:i}}function at(e,t,s,n=!0){return{type:19,test:e,consequent:t,alternate:s,newline:n,loc:F}}function en(e,t,s=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:n,needArraySpread:!1,loc:F}}function tn(e){return{type:21,body:e,loc:F}}function ui(e){return{type:22,elements:e,loc:F}}function hi(e,t,s){return{type:23,test:e,consequent:t,alternate:s,loc:F}}function pi(e,t){return{type:24,left:e,right:t,loc:F}}function di(e){return{type:25,expressions:e,loc:F}}function Ei(e){return{type:26,returns:e,loc:F}}function ye(e,t){return e||t?dt:Et}function Oe(e,t){return e||t?qt:jt}function vt(e,{helper:t,removeHelper:s,inSSR:n}){e.isBlock||(e.isBlock=!0,s(ye(n,e.isComponent)),t(Ee),t(Oe(n,e.isComponent)))}const As=new Uint8Array([123,123]),Cs=new Uint8Array([125,125]);function bs(e){return e>=97&&e<=122||e>=65&&e<=90}function z(e){return e===32||e===10||e===9||e===12||e===13}function ue(e){return e===47||e===62||z(e)}function lt(e){const t=new Uint8Array(e.length);for(let s=0;s<e.length;s++)t[s]=e.charCodeAt(s);return t}const B={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class mi{constructor(t,s){this.stack=t,this.cbs=s,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=As,this.delimiterClose=Cs,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=As,this.delimiterClose=Cs}getPos(t){let s=1,n=t+1;const i=this.newlines.length;let o=-1;if(i>100){let r=-1,l=i;for(;r+1<l;){const a=r+l>>>1;this.newlines[a]<t?r=a:l=a}o=r}else for(let r=i-1;r>=0;r--)if(t>this.newlines[r]){o=r;break}return o>=0&&(s=o+2,n=t-this.newlines[o]),{column:n,line:s,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const s=this.index+1-this.delimiterOpen.length;s>this.sectionStart&&this.cbs.ontext(this.sectionStart,s),this.state=3,this.sectionStart=s}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const s=this.sequenceIndex===this.currentSequence.length;if(!(s?ue(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!s){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||z(t)){const s=this.index-this.currentSequence.length;if(this.sectionStart<s){const n=this.index;this.index=s,this.cbs.ontext(this.sectionStart,s),this.index=n}this.sectionStart=s+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===B.TitleEnd||this.currentSequence===B.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===B.Cdata[this.sequenceIndex]?++this.sequenceIndex===B.Cdata.length&&(this.state=28,this.currentSequence=B.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);if(s===10&&this.newlines.push(this.index),s===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,s){this.enterRCDATA(t,s),this.state=31}enterRCDATA(t,s){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=s}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):bs(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){ue(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(ue(t)){const s=this.buffer.slice(this.sectionStart,this.index);s!=="template"&&this.enterRCDATA(lt("</"+s),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){z(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=bs(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||z(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):z(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):z(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||ue(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||ue(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||ue(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||ue(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||ue(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):z(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):z(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,s){(t===s||this.fastForwardTo(s))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){z(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=B.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===B.ScriptEnd[3]?this.startSpecial(B.ScriptEnd,4):t===B.StyleEnd[3]?this.startSpecial(B.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===B.TitleEnd[3]?this.startSpecial(B.TitleEnd,4):t===B.TextareaEnd[3]?this.startSpecial(B.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);switch(s===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(s);break}case 2:{this.stateInterpolationOpen(s);break}case 3:{this.stateInterpolation(s);break}case 4:{this.stateInterpolationClose(s);break}case 31:{this.stateSpecialStartSequence(s);break}case 32:{this.stateInRCDATA(s);break}case 26:{this.stateCDATASequence(s);break}case 19:{this.stateInAttrValueDoubleQuotes(s);break}case 12:{this.stateInAttrName(s);break}case 13:{this.stateInDirName(s);break}case 14:{this.stateInDirArg(s);break}case 15:{this.stateInDynamicDirArg(s);break}case 16:{this.stateInDirModifier(s);break}case 28:{this.stateInCommentLike(s);break}case 27:{this.stateInSpecialComment(s);break}case 11:{this.stateBeforeAttrName(s);break}case 6:{this.stateInTagName(s);break}case 34:{this.stateInSFCRootTagName(s);break}case 9:{this.stateInClosingTagName(s);break}case 5:{this.stateBeforeTagName(s);break}case 17:{this.stateAfterAttrName(s);break}case 20:{this.stateInAttrValueSingleQuotes(s);break}case 18:{this.stateBeforeAttrValue(s);break}case 8:{this.stateBeforeClosingTagName(s);break}case 10:{this.stateAfterClosingTagName(s);break}case 29:{this.stateBeforeSpecialS(s);break}case 30:{this.stateBeforeSpecialT(s);break}case 21:{this.stateInAttrValueNoQuotes(s);break}case 7:{this.stateInSelfClosingTag(s);break}case 23:{this.stateInDeclaration(s);break}case 22:{this.stateBeforeDeclaration(s);break}case 25:{this.stateBeforeComment(s);break}case 24:{this.stateInProcessingInstruction(s);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,s){}}const _i={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},Si={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function wt(e,{compatConfig:t}){const s=t&&t[e];return e==="MODE"?s||3:s}function ge(e,t){const s=wt("MODE",t),n=wt(e,t);return s===3?n===!0:n!==!1}function Le(e,t,s,...n){return ge(e,t)}function gi(e,t,s,...n){if(wt(e,t)==="suppress-warning")return;const{message:o,link:r}=Si[e],l=`(deprecation ${e}) ${typeof o=="function"?o(...n):o}${r?`
|
|
1
|
+
import{aD as Fe,bQ as oe,ay as k,bR as Ye,G as ae,bS as $t,bT as Jn,bU as Gs,bV as Yn,bf as qs,bW as zn,B as pe,bX as js,bY as Os,bZ as Qn,b_ as Zn,b$ as ei,c0 as ti,c1 as si,c2 as ht,c3 as ni,c4 as Ht,c5 as ii,c6 as ri}from"./index-BGmp6-3j.js";var Pt={},Dt={exports:{}},kt={};const be=Symbol(""),Ce=Symbol(""),pt=Symbol(""),Xe=Symbol(""),Gt=Symbol(""),Ee=Symbol(""),qt=Symbol(""),jt=Symbol(""),dt=Symbol(""),Et=Symbol(""),De=Symbol(""),mt=Symbol(""),Wt=Symbol(""),_t=Symbol(""),St=Symbol(""),gt=Symbol(""),Tt=Symbol(""),Nt=Symbol(""),It=Symbol(""),Kt=Symbol(""),Jt=Symbol(""),Ge=Symbol(""),xe=Symbol(""),yt=Symbol(""),Ot=Symbol(""),ve=Symbol(""),ke=Symbol(""),At=Symbol(""),rt=Symbol(""),Ws=Symbol(""),ot=Symbol(""),Ue=Symbol(""),Ks=Symbol(""),Js=Symbol(""),Ct=Symbol(""),Ys=Symbol(""),zs=Symbol(""),bt=Symbol(""),Yt=Symbol(""),Ne={[be]:"Fragment",[Ce]:"Teleport",[pt]:"Suspense",[Xe]:"KeepAlive",[Gt]:"BaseTransition",[Ee]:"openBlock",[qt]:"createBlock",[jt]:"createElementBlock",[dt]:"createVNode",[Et]:"createElementVNode",[De]:"createCommentVNode",[mt]:"createTextVNode",[Wt]:"createStaticVNode",[_t]:"resolveComponent",[St]:"resolveDynamicComponent",[gt]:"resolveDirective",[Tt]:"resolveFilter",[Nt]:"withDirectives",[It]:"renderList",[Kt]:"renderSlot",[Jt]:"createSlots",[Ge]:"toDisplayString",[xe]:"mergeProps",[yt]:"normalizeClass",[Ot]:"normalizeStyle",[ve]:"normalizeProps",[ke]:"guardReactiveProps",[At]:"toHandlers",[rt]:"camelize",[Ws]:"capitalize",[ot]:"toHandlerKey",[Ue]:"setBlockTracking",[Ks]:"pushScopeId",[Js]:"popScopeId",[Ct]:"withCtx",[Ys]:"unref",[zs]:"isRef",[bt]:"withMemo",[Yt]:"isMemoSame"};function Qs(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ne[t]=e[t]})}const oi={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},ai={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},li={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ci={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},F={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Zs(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:F}}function Re(e,t,s,n,i,o,r,l=!1,a=!1,c=!1,u=F){return e&&(l?(e.helper(Ee),e.helper(Oe(e.inSSR,c))):e.helper(ye(e.inSSR,c)),r&&e.helper(Nt)),{type:13,tag:t,props:s,children:n,patchFlag:i,dynamicProps:o,directives:r,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function de(e,t=F){return{type:17,loc:t,elements:e}}function Q(e,t=F){return{type:15,loc:t,properties:e}}function D(e,t){return{type:16,loc:F,key:k(e)?E(e,!0):e,value:t}}function E(e,t=!1,s=F,n=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:n}}function fi(e,t){return{type:5,loc:t,content:k(e)?E(e,!1,t):e}}function Z(e,t=F){return{type:8,loc:t,children:e}}function w(e,t=[],s=F){return{type:14,loc:s,callee:e,arguments:t}}function Ie(e,t=void 0,s=!1,n=!1,i=F){return{type:18,params:e,returns:t,newline:s,isSlot:n,loc:i}}function at(e,t,s,n=!0){return{type:19,test:e,consequent:t,alternate:s,newline:n,loc:F}}function en(e,t,s=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:n,needArraySpread:!1,loc:F}}function tn(e){return{type:21,body:e,loc:F}}function ui(e){return{type:22,elements:e,loc:F}}function hi(e,t,s){return{type:23,test:e,consequent:t,alternate:s,loc:F}}function pi(e,t){return{type:24,left:e,right:t,loc:F}}function di(e){return{type:25,expressions:e,loc:F}}function Ei(e){return{type:26,returns:e,loc:F}}function ye(e,t){return e||t?dt:Et}function Oe(e,t){return e||t?qt:jt}function vt(e,{helper:t,removeHelper:s,inSSR:n}){e.isBlock||(e.isBlock=!0,s(ye(n,e.isComponent)),t(Ee),t(Oe(n,e.isComponent)))}const As=new Uint8Array([123,123]),Cs=new Uint8Array([125,125]);function bs(e){return e>=97&&e<=122||e>=65&&e<=90}function z(e){return e===32||e===10||e===9||e===12||e===13}function ue(e){return e===47||e===62||z(e)}function lt(e){const t=new Uint8Array(e.length);for(let s=0;s<e.length;s++)t[s]=e.charCodeAt(s);return t}const B={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class mi{constructor(t,s){this.stack=t,this.cbs=s,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=As,this.delimiterClose=Cs,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=As,this.delimiterClose=Cs}getPos(t){let s=1,n=t+1;const i=this.newlines.length;let o=-1;if(i>100){let r=-1,l=i;for(;r+1<l;){const a=r+l>>>1;this.newlines[a]<t?r=a:l=a}o=r}else for(let r=i-1;r>=0;r--)if(t>this.newlines[r]){o=r;break}return o>=0&&(s=o+2,n=t-this.newlines[o]),{column:n,line:s,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const s=this.index+1-this.delimiterOpen.length;s>this.sectionStart&&this.cbs.ontext(this.sectionStart,s),this.state=3,this.sectionStart=s}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const s=this.sequenceIndex===this.currentSequence.length;if(!(s?ue(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!s){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||z(t)){const s=this.index-this.currentSequence.length;if(this.sectionStart<s){const n=this.index;this.index=s,this.cbs.ontext(this.sectionStart,s),this.index=n}this.sectionStart=s+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===B.TitleEnd||this.currentSequence===B.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===B.Cdata[this.sequenceIndex]?++this.sequenceIndex===B.Cdata.length&&(this.state=28,this.currentSequence=B.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);if(s===10&&this.newlines.push(this.index),s===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,s){this.enterRCDATA(t,s),this.state=31}enterRCDATA(t,s){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=s}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):bs(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){ue(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(ue(t)){const s=this.buffer.slice(this.sectionStart,this.index);s!=="template"&&this.enterRCDATA(lt("</"+s),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){z(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=bs(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||z(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):z(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):z(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||ue(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||ue(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||ue(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||ue(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||ue(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):z(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):z(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,s){(t===s||this.fastForwardTo(s))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){z(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=B.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===B.ScriptEnd[3]?this.startSpecial(B.ScriptEnd,4):t===B.StyleEnd[3]?this.startSpecial(B.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===B.TitleEnd[3]?this.startSpecial(B.TitleEnd,4):t===B.TextareaEnd[3]?this.startSpecial(B.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);switch(s===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(s);break}case 2:{this.stateInterpolationOpen(s);break}case 3:{this.stateInterpolation(s);break}case 4:{this.stateInterpolationClose(s);break}case 31:{this.stateSpecialStartSequence(s);break}case 32:{this.stateInRCDATA(s);break}case 26:{this.stateCDATASequence(s);break}case 19:{this.stateInAttrValueDoubleQuotes(s);break}case 12:{this.stateInAttrName(s);break}case 13:{this.stateInDirName(s);break}case 14:{this.stateInDirArg(s);break}case 15:{this.stateInDynamicDirArg(s);break}case 16:{this.stateInDirModifier(s);break}case 28:{this.stateInCommentLike(s);break}case 27:{this.stateInSpecialComment(s);break}case 11:{this.stateBeforeAttrName(s);break}case 6:{this.stateInTagName(s);break}case 34:{this.stateInSFCRootTagName(s);break}case 9:{this.stateInClosingTagName(s);break}case 5:{this.stateBeforeTagName(s);break}case 17:{this.stateAfterAttrName(s);break}case 20:{this.stateInAttrValueSingleQuotes(s);break}case 18:{this.stateBeforeAttrValue(s);break}case 8:{this.stateBeforeClosingTagName(s);break}case 10:{this.stateAfterClosingTagName(s);break}case 29:{this.stateBeforeSpecialS(s);break}case 30:{this.stateBeforeSpecialT(s);break}case 21:{this.stateInAttrValueNoQuotes(s);break}case 7:{this.stateInSelfClosingTag(s);break}case 23:{this.stateInDeclaration(s);break}case 22:{this.stateBeforeDeclaration(s);break}case 25:{this.stateBeforeComment(s);break}case 24:{this.stateInProcessingInstruction(s);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,s){}}const _i={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},Si={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function wt(e,{compatConfig:t}){const s=t&&t[e];return e==="MODE"?s||3:s}function ge(e,t){const s=wt("MODE",t),n=wt(e,t);return s===3?n===!0:n!==!1}function Le(e,t,s,...n){return ge(e,t)}function gi(e,t,s,...n){if(wt(e,t)==="suppress-warning")return;const{message:o,link:r}=Si[e],l=`(deprecation ${e}) ${typeof o=="function"?o(...n):o}${r?`
|
|
2
2
|
Details: ${r}`:""}`,a=new SyntaxError(l);a.code=e,s&&(a.loc=s),t.onWarn(a)}function zt(e){throw e}function sn(e){}function v(e,t,s,n){const i=`https://vuejs.org/error-reference/#compiler-${e}`,o=new SyntaxError(String(i));return o.code=e,o.loc=t,o}const Ti={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},Ni={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
3
3
|
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function Ii(e,t,s=!1,n=[],i=Object.create(null)){}function yi(e,t,s){return!1}function Oi(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let s=t.length;for(;s--;){const n=t[s];if(n.type==="AssignmentExpression")return!0;if(n.type!=="ObjectProperty"&&!n.type.endsWith("Pattern"))break}}return!1}function Ai(e){let t=e.length;for(;t--;){const s=e[t];if(s.type==="NewExpression")return!0;if(s.type!=="MemberExpression")break}return!1}function Ci(e,t){for(const s of e.params)for(const n of ne(s))t(n)}function nn(e,t){const s=e.type==="SwitchCase"?e.consequent:e.body;for(const n of s)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(const i of n.declarations)for(const o of ne(i.id))t(o)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;t(n.id)}else bi(n)?vi(n,!0,t):n.type==="SwitchStatement"&&Ri(n,!0,t)}function bi(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function vi(e,t,s){const n=e.type==="ForStatement"?e.init:e.left;if(n&&n.type==="VariableDeclaration"&&(n.kind==="var"?t:!t))for(const i of n.declarations)for(const o of ne(i.id))s(o)}function Ri(e,t,s){for(const n of e.cases){for(const i of n.consequent)if(i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(const o of i.declarations)for(const r of ne(o.id))s(r);nn(n,s)}}function ne(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let s=e;for(;s.type==="MemberExpression";)s=s.object;t.push(s);break;case"ObjectPattern":for(const n of e.properties)n.type==="RestElement"?ne(n.argument,t):ne(n.value,t);break;case"ArrayPattern":e.elements.forEach(n=>{n&&ne(n,t)});break;case"RestElement":ne(e.argument,t);break;case"AssignmentPattern":ne(e.left,t);break}return t}const Li=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),rn=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,Mi=(e,t)=>rn(t)&&t.key===e,on=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function an(e){return on.includes(e.type)?an(e.expression):e}const H=e=>e.type===4&&e.isStatic;function Qt(e){switch(e){case"Teleport":case"teleport":return Ce;case"Suspense":case"suspense":return pt;case"KeepAlive":case"keep-alive":return Xe;case"BaseTransition":case"base-transition":return Gt}}const Pi=/^$|^\d|[^\$\w\xA0-\uFFFF]/,qe=e=>!Pi.test(e),Zt=/[A-Za-z_$\xA0-\uFFFF]/,Di=/[\.\?\w$\xA0-\uFFFF]/,ki=/\s+[.[]\s*|\s*[.[]\s+/g,ln=e=>e.type===4?e.content:e.loc.source,cn=e=>{const t=ln(e).trim().replace(ki,l=>l.trim());let s=0,n=[],i=0,o=0,r=null;for(let l=0;l<t.length;l++){const a=t.charAt(l);switch(s){case 0:if(a==="[")n.push(s),s=1,i++;else if(a==="(")n.push(s),s=2,o++;else if(!(l===0?Zt:Di).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(n.push(s),s=3,r=a):a==="["?i++:a==="]"&&(--i||(s=n.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")n.push(s),s=3,r=a;else if(a==="(")o++;else if(a===")"){if(l===t.length-1)return!1;--o||(s=n.pop())}break;case 3:a===r&&(s=n.pop(),r=null);break}}return!i&&!o},Vi=Fe,es=cn,wi=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,fn=e=>wi.test(ln(e)),Fi=Fe,un=fn;function Xi(e,t,s=t.length){return hn({offset:e.offset,line:e.line,column:e.column},t,s)}function hn(e,t,s=t.length){let n=0,i=-1;for(let o=0;o<s;o++)t.charCodeAt(o)===10&&(n++,i=o);return e.offset+=s,e.line+=n,e.column=i===-1?e.column+s:s-i,e}function xi(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function j(e,t,s=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(i.type===7&&(s||i.exp)&&(k(t)?i.name===t:t.test(i.name)))return i}}function je(e,t,s=!1,n=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(o.type===6){if(s)continue;if(o.name===t&&(o.value||n))return o}else if(o.name==="bind"&&(o.exp||n)&&Te(o.arg,t))return o}}function Te(e,t){return!!(e&&H(e)&&e.content===t)}function pn(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Ze(e){return e.type===5||e.type===2}function Ft(e){return e.type===7&&e.name==="pre"}function ts(e){return e.type===7&&e.name==="slot"}function Me(e){return e.type===1&&e.tagType===3}function Be(e){return e.type===1&&e.tagType===2}const Ui=new Set([ve,ke]);function ss(e,t=[]){if(e&&!k(e)&&e.type===14){const s=e.callee;if(!k(s)&&Ui.has(s))return ss(e.arguments[0],t.concat(e))}return[e,t]}function $e(e,t,s){if(e.type!==13&&Bi(e,t))return;let n,i=e.type===13?e.props:e.arguments[2],o=[],r;if(i&&!k(i)&&i.type===14){const l=ss(i);i=l[0],o=l[1],r=o[o.length-1]}if(i==null||k(i))n=Q([t]);else if(i.type===14){const l=i.arguments[0];!k(l)&&l.type===15?Xt(t,l)||l.properties.unshift(t):i.callee===At?n=w(s.helper(xe),[Q([t]),i]):i.arguments.unshift(Q([t])),!n&&(n=i)}else i.type===15?(Xt(t,i)||i.properties.unshift(t),n=i):(n=w(s.helper(xe),[Q([t]),i]),r&&r.callee===ke&&(r=o[o.length-2]));e.type===13?r?r.arguments[0]=n:e.props=n:r?r.arguments[0]=n:e.arguments[2]=n}function Bi(e,t){var s,n,i;if(t.key.type!==4||t.key.content!=="key")return!1;const o=e.arguments[2];if(o&&!k(o)){const[r]=ss(o);if(r&&!k(r)&&r.type===15&&Xt(t,r))return!0}return(s=e.arguments)[2]||(s[2]="{}"),(n=e.arguments)[3]||(n[3]="undefined"),(i=e.arguments)[4]||(i[4]="undefined"),e.arguments[5]=t.value,!0}function Xt(e,t){let s=!1;if(e.key.type===4){const n=e.key.content;s=t.properties.some(i=>i.key.type===4&&i.key.content===n)}return s}function Pe(e,t){return`_${t}_${e.replace(/[^\w]/g,(s,n)=>s==="-"?"_":e.charCodeAt(n).toString())}`}function ee(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let s=0;s<e.props.length;s++){const n=e.props[s];if(n.type===7&&(ee(n.arg,t)||ee(n.exp,t)))return!0}return e.children.some(s=>ee(s,t));case 11:return ee(e.source,t)?!0:e.children.some(s=>ee(s,t));case 9:return e.branches.some(s=>ee(s,t));case 10:return ee(e.condition,t)?!0:e.children.some(s=>ee(s,t));case 4:return!e.isStatic&&qe(e.content)&&!!t[e.content];case 8:return e.children.some(s=>qs(s)&&ee(s,t));case 5:case 12:return ee(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function dn(e){return e.type===14&&e.callee===bt?e.arguments[1].returns:e}const En=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function ns(e){for(let t=0;t<e.length;t++)if(!z(e.charCodeAt(t)))return!1;return!0}function Rt(e){return e.type===2&&ns(e.content)||e.type===12&&Rt(e.content)}function is(e){return e.type===3||Rt(e)}const mn={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Ye,isPreTag:Ye,isIgnoreNewlineTag:Ye,isCustomElement:Ye,onError:zt,onWarn:sn,comments:!1,prefixIdentifiers:!1};let y=mn,He=null,le="",$=null,S=null,K="",re=-1,_e=-1,rs=0,he=!1,xt=null;const L=[],M=new mi(L,{onerr:ie,ontext(e,t){ze(X(e,t),e,t)},ontextentity(e,t,s){ze(e,t,s)},oninterpolation(e,t){if(he)return ze(X(e,t),e,t);let s=e+M.delimiterOpen.length,n=t-M.delimiterClose.length;for(;z(le.charCodeAt(s));)s++;for(;z(le.charCodeAt(n-1));)n--;let i=X(s,n);i.includes("&")&&(i=y.decodeEntities(i,!1)),Ut({type:5,content:tt(i,!1,P(s,n)),loc:P(e,t)})},onopentagname(e,t){const s=X(e,t);$={type:1,tag:s,ns:y.getNamespace(s,L[0],y.ns),tagType:0,props:[],children:[],loc:P(e-1,t),codegenNode:void 0}},onopentagend(e){Rs(e)},onclosetag(e,t){const s=X(e,t);if(!y.isVoidTag(s)){let n=!1;for(let i=0;i<L.length;i++)if(L[i].tag.toLowerCase()===s.toLowerCase()){n=!0,i>0&&ie(24,L[0].loc.start.offset);for(let r=0;r<=i;r++){const l=L.shift();et(l,t,r<i)}break}n||ie(23,_n(e,60))}},onselfclosingtag(e){const t=$.tag;$.isSelfClosing=!0,Rs(e),L[0]&&L[0].tag===t&&et(L.shift(),e)},onattribname(e,t){S={type:6,name:X(e,t),nameLoc:P(e,t),value:void 0,loc:P(e)}},ondirname(e,t){const s=X(e,t),n=s==="."||s===":"?"bind":s==="@"?"on":s==="#"?"slot":s.slice(2);if(!he&&n===""&&ie(26,e),he||n==="")S={type:6,name:s,nameLoc:P(e,t),value:void 0,loc:P(e)};else if(S={type:7,name:n,rawName:s,exp:void 0,arg:void 0,modifiers:s==="."?[E("prop")]:[],loc:P(e)},n==="pre"){he=M.inVPre=!0,xt=$;const i=$.props;for(let o=0;o<i.length;o++)i[o].type===7&&(i[o]=zi(i[o]))}},ondirarg(e,t){if(e===t)return;const s=X(e,t);if(he&&!Ft(S))S.name+=s,Se(S.nameLoc,t);else{const n=s[0]!=="[";S.arg=tt(n?s:s.slice(1,-1),n,P(e,t),n?3:0)}},ondirmodifier(e,t){const s=X(e,t);if(he&&!Ft(S))S.name+="."+s,Se(S.nameLoc,t);else if(S.name==="slot"){const n=S.arg;n&&(n.content+="."+s,Se(n.loc,t))}else{const n=E(s,!0,P(e,t));S.modifiers.push(n)}},onattribdata(e,t){K+=X(e,t),re<0&&(re=e),_e=t},onattribentity(e,t,s){K+=e,re<0&&(re=t),_e=s},onattribnameend(e){const t=S.loc.start.offset,s=X(t,e);S.type===7&&(S.rawName=s),$.props.some(n=>(n.type===7?n.rawName:n.name)===s)&&ie(2,t)},onattribend(e,t){if($&&S){if(Se(S.loc,t),e!==0)if(K.includes("&")&&(K=y.decodeEntities(K,!0)),S.type===6)S.name==="class"&&(K=gn(K).trim()),e===1&&!K&&ie(13,t),S.value={type:2,content:K,loc:e===1?P(re,_e):P(re-1,_e+1)},M.inSFCRoot&&$.tag==="template"&&S.name==="lang"&&K&&K!=="html"&&M.enterRCDATA(lt("</template"),0);else{let s=0;S.exp=tt(K,!1,P(re,_e),0,s),S.name==="for"&&(S.forParseResult=Hi(S.exp));let n=-1;S.name==="bind"&&(n=S.modifiers.findIndex(i=>i.content==="sync"))>-1&&Le("COMPILER_V_BIND_SYNC",y,S.loc,S.arg.loc.source)&&(S.name="model",S.modifiers.splice(n,1))}(S.type!==7||S.name!=="pre")&&$.props.push(S)}K="",re=_e=-1},oncomment(e,t){y.comments&&Ut({type:3,content:X(e,t),loc:P(e-4,t+3)})},onend(){const e=le.length;for(let t=0;t<L.length;t++)et(L[t],e-1),ie(24,L[t].loc.start.offset)},oncdata(e,t){(L[0]?L[0].ns:y.ns)!==0?ze(X(e,t),e,t):ie(1,e-9)},onprocessinginstruction(e){(L[0]?L[0].ns:y.ns)===0&&ie(21,e-1)}}),vs=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,$i=/^\(|\)$/g;function Hi(e){const t=e.loc,s=e.content,n=s.match(En);if(!n)return;const[,i,o]=n,r=(f,d,h=!1)=>{const m=t.start.offset+d,p=m+f.length;return tt(f,!1,P(m,p),0,h?1:0)},l={source:r(o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace($i,"").trim();const c=i.indexOf(a),u=a.match(vs);if(u){a=a.replace(vs,"").trim();const f=u[1].trim();let d;if(f&&(d=s.indexOf(f,c+a.length),l.key=r(f,d,!0)),u[2]){const h=u[2].trim();h&&(l.index=r(h,s.indexOf(h,l.key?d+f.length:c+a.length),!0))}}return a&&(l.value=r(a,c,!0)),l}function X(e,t){return le.slice(e,t)}function Rs(e){M.inSFCRoot&&($.innerLoc=P(e+1,e+1)),Ut($);const{tag:t,ns:s}=$;s===0&&y.isPreTag(t)&&rs++,y.isVoidTag(t)?et($,e):(L.unshift($),(s===1||s===2)&&(M.inXML=!0)),$=null}function ze(e,t,s){{const o=L[0]&&L[0].tag;o!=="script"&&o!=="style"&&e.includes("&")&&(e=y.decodeEntities(e,!1))}const n=L[0]||He,i=n.children[n.children.length-1];i&&i.type===2?(i.content+=e,Se(i.loc,s)):n.children.push({type:2,content:e,loc:P(t,s)})}function et(e,t,s=!1){s?Se(e.loc,_n(t,60)):Se(e.loc,Gi(t,62)+1),M.inSFCRoot&&(e.children.length?e.innerLoc.end=oe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=oe({},e.innerLoc.start),e.innerLoc.source=X(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:i,children:o}=e;if(he||(n==="slot"?e.tagType=2:Ls(e)?e.tagType=3:ji(e)&&(e.tagType=1)),M.inRCDATA||(e.children=Sn(o)),i===0&&y.isIgnoreNewlineTag(n)){const r=o[0];r&&r.type===2&&(r.content=r.content.replace(/^\r?\n/,""))}i===0&&y.isPreTag(n)&&rs--,xt===e&&(he=M.inVPre=!1,xt=null),M.inXML&&(L[0]?L[0].ns:y.ns)===0&&(M.inXML=!1);{const r=e.props;if(!M.inSFCRoot&&ge("COMPILER_NATIVE_TEMPLATE",y)&&e.tag==="template"&&!Ls(e)){const a=L[0]||He,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const l=r.find(a=>a.type===6&&a.name==="inline-template");l&&Le("COMPILER_INLINE_TEMPLATE",y,l.loc)&&e.children.length&&(l.value={type:2,content:X(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function Gi(e,t){let s=e;for(;le.charCodeAt(s)!==t&&s<le.length-1;)s++;return s}function _n(e,t){let s=e;for(;le.charCodeAt(s)!==t&&s>=0;)s--;return s}const qi=new Set(["if","else","else-if","for","slot"]);function Ls({tag:e,props:t}){if(e==="template"){for(let s=0;s<t.length;s++)if(t[s].type===7&&qi.has(t[s].name))return!0}return!1}function ji({tag:e,props:t}){if(y.isCustomElement(e))return!1;if(e==="component"||Wi(e.charCodeAt(0))||Qt(e)||y.isBuiltInComponent&&y.isBuiltInComponent(e)||y.isNativeTag&&!y.isNativeTag(e))return!0;for(let s=0;s<t.length;s++){const n=t[s];if(n.type===6){if(n.name==="is"&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(Le("COMPILER_IS_ON_ELEMENT",y,n.loc))return!0}}else if(n.name==="bind"&&Te(n.arg,"is")&&Le("COMPILER_IS_ON_ELEMENT",y,n.loc))return!0}return!1}function Wi(e){return e>64&&e<91}const Ki=/\r\n/g;function Sn(e){const t=y.whitespace!=="preserve";let s=!1;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===2)if(rs)i.content=i.content.replace(Ki,`
|
|
4
4
|
`);else if(ns(i.content)){const o=e[n-1]&&e[n-1].type,r=e[n+1]&&e[n+1].type;!o||!r||t&&(o===3&&(r===3||r===1)||o===1&&(r===3||r===1&&Ji(i.content)))?(s=!0,e[n]=null):i.content=" "}else t&&(i.content=gn(i.content))}return s?e.filter(Boolean):e}function Ji(e){for(let t=0;t<e.length;t++){const s=e.charCodeAt(t);if(s===10||s===13)return!0}return!1}function gn(e){let t="",s=!1;for(let n=0;n<e.length;n++)z(e.charCodeAt(n))?s||(t+=" ",s=!0):(t+=e[n],s=!1);return t}function Ut(e){(L[0]||He).children.push(e)}function P(e,t){return{start:M.getPos(e),end:t==null?t:M.getPos(t),source:t==null?t:X(e,t)}}function Yi(e){return P(e.start.offset,e.end.offset)}function Se(e,t){e.end=M.getPos(t),e.source=X(e.start.offset,t)}function zi(e){const t={type:6,name:e.rawName,nameLoc:P(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const s=e.exp.loc;s.end.offset<e.loc.end.offset&&(s.start.offset--,s.start.column--,s.end.offset++,s.end.column++),t.value={type:2,content:e.exp.content,loc:s}}return t}function tt(e,t=!1,s,n=0,i=0){return E(e,t,s,n)}function ie(e,t,s){y.onError(v(e,P(t,t)))}function Qi(){M.reset(),$=null,S=null,K="",re=-1,_e=-1,L.length=0}function os(e,t){if(Qi(),le=e,y=oe({},mn),t){let i;for(i in t)t[i]!=null&&(y[i]=t[i])}M.mode=y.parseMode==="html"?1:y.parseMode==="sfc"?2:0,M.inXML=y.ns===1||y.ns===2;const s=t&&t.delimiters;s&&(M.delimiterOpen=lt(s[0]),M.delimiterClose=lt(s[1]));const n=He=Zs([],e);return M.parse(le),n.loc=P(0,e.length),n.children=Sn(n.children),He=null,n}function Zi(e,t){st(e,void 0,t,!!Tn(e))}function Tn(e){const t=e.children.filter(s=>s.type!==3);return t.length===1&&t[0].type===1&&!Be(t[0])?t[0]:null}function st(e,t,s,n=!1,i=!1){const{children:o}=e,r=[];for(let u=0;u<o.length;u++){const f=o[u];if(f.type===1&&f.tagType===0){const d=n?0:J(f,s);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,r.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const m=h.patchFlag;if((m===void 0||m===512||m===1)&&In(f,s)>=2){const p=yn(f);p&&(h.props=s.hoist(p))}h.dynamicProps&&(h.dynamicProps=s.hoist(h.dynamicProps))}}}else if(f.type===12&&(n?0:J(f,s))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push("-1"),r.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&s.scopes.vSlot++,st(f,e,s,!1,i),d&&s.scopes.vSlot--}else if(f.type===11)st(f,e,s,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)st(f.branches[d],e,s,f.branches[d].children.length===1,i)}let l=!1;if(r.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&pe(e.codegenNode.children))e.codegenNode.children=a(de(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!pe(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=a(de(u.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!pe(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=j(e,"slot",!0),f=u&&u.arg&&c(t.codegenNode,u.arg);f&&(f.returns=a(de(f.returns)),l=!0)}}if(!l)for(const u of r)u.codegenNode=s.cache(u.codegenNode);function a(u){const f=s.cache(u);return f.needArraySpread=!0,f}function c(u,f){if(u.children&&!pe(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}r.length&&s.transformHoist&&s.transformHoist(o,s,e)}function J(e,t){const{constantCache:s}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=s.get(e);if(n!==void 0)return n;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let r=3;const l=In(e,t);if(l===0)return s.set(e,0),0;l<r&&(r=l);for(let a=0;a<e.children.length;a++){const c=J(e.children[a],t);if(c===0)return s.set(e,0),0;c<r&&(r=c)}if(r>1)for(let a=0;a<e.props.length;a++){const c=e.props[a];if(c.type===7&&c.name==="bind"&&c.exp){const u=J(c.exp,t);if(u===0)return s.set(e,0),0;u<r&&(r=u)}}if(i.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return s.set(e,0),0;t.removeHelper(Ee),t.removeHelper(Oe(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(ye(t.inSSR,i.isComponent))}return s.set(e,r),r}else return s.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return J(e.content,t);case 4:return e.constType;case 8:let o=3;for(let r=0;r<e.children.length;r++){const l=e.children[r];if(k(l)||$t(l))continue;const a=J(l,t);if(a===0)return 0;a<o&&(o=a)}return o;case 20:return 2;default:return 0}}const er=new Set([yt,Ot,ve,ke]);function Nn(e,t){if(e.type===14&&!k(e.callee)&&er.has(e.callee)){const s=e.arguments[0];if(s.type===4)return J(s,t);if(s.type===14)return Nn(s,t)}return 0}function In(e,t){let s=3;const n=yn(e);if(n&&n.type===15){const{properties:i}=n;for(let o=0;o<i.length;o++){const{key:r,value:l}=i[o],a=J(r,t);if(a===0)return a;a<s&&(s=a);let c;if(l.type===4?c=J(l,t):l.type===14?c=Nn(l,t):c=0,c===0)return c;c<s&&(s=c)}}return s}function yn(e){const t=e.codegenNode;if(t.type===13)return t.props}function On(e,{filename:t="",prefixIdentifiers:s=!1,hoistStatic:n=!1,hmr:i=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=Fe,isCustomElement:u=Fe,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,inSSR:p=!1,ssrCssVars:O="",bindingMetadata:A=Yn,inline:N=!1,isTS:R=!1,onError:q=zt,onWarn:x=sn,compatConfig:te}){const se=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),g={filename:t,selfName:se&&Gs(ae(se[1])),prefixIdentifiers:s,hoistStatic:n,hmr:i,cacheHandlers:o,nodeTransforms:r,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,inSSR:p,ssrCssVars:O,bindingMetadata:A,inline:N,isTS:R,onError:q,onWarn:x,compatConfig:te,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,vForMemoKeyedNodes:new WeakSet,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(T){const I=g.helpers.get(T)||0;return g.helpers.set(T,I+1),T},removeHelper(T){const I=g.helpers.get(T);if(I){const Y=I-1;Y?g.helpers.set(T,Y):g.helpers.delete(T)}},helperString(T){return`_${Ne[g.helper(T)]}`},replaceNode(T){g.parent.children[g.childIndex]=g.currentNode=T},removeNode(T){const I=g.parent.children,Y=T?I.indexOf(T):g.currentNode?g.childIndex:-1;!T||T===g.currentNode?(g.currentNode=null,g.onNodeRemoved()):g.childIndex>Y&&(g.childIndex--,g.onNodeRemoved()),g.parent.children.splice(Y,1)},onNodeRemoved:Fe,addIdentifiers(T){},removeIdentifiers(T){},hoist(T){k(T)&&(T=E(T)),g.hoists.push(T);const I=E(`_hoisted_${g.hoists.length}`,!1,T.loc,2);return I.hoisted=T,I},cache(T,I=!1,Y=!1){const V=en(g.cached.length,T,I,Y);return g.cached.push(V),V}};return g.filters=new Set,g}function An(e,t){const s=On(e,t);We(e,s),t.hoistStatic&&Zi(e,s),t.ssr||tr(e,s),e.helpers=new Set([...s.helpers.keys()]),e.components=[...s.components],e.directives=[...s.directives],e.imports=s.imports,e.hoists=s.hoists,e.temps=s.temps,e.cached=s.cached,e.transformed=!0,e.filters=[...s.filters]}function tr(e,t){const{helper:s}=t,{children:n}=e;if(n.length===1){const i=Tn(e);if(i&&i.codegenNode){const o=i.codegenNode;o.type===13&&vt(o,t),e.codegenNode=o}else e.codegenNode=n[0]}else if(n.length>1){let i=64;e.codegenNode=Re(t,s(be),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function sr(e,t){let s=0;const n=()=>{s--};for(;s<e.children.length;s++){const i=e.children[s];k(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=s,t.onNodeRemoved=n,We(i,t))}}function We(e,t){t.currentNode=e;const{nodeTransforms:s}=t,n=[];for(let o=0;o<s.length;o++){const r=s[o](e,t);if(r&&(pe(r)?n.push(...r):n.push(r)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(De);break;case 5:t.ssr||t.helper(Ge);break;case 9:for(let o=0;o<e.branches.length;o++)We(e.branches[o],t);break;case 10:case 11:case 1:case 0:sr(e,t);break}t.currentNode=e;let i=n.length;for(;i--;)n[i]()}function as(e,t){const s=k(e)?n=>n===e:n=>e.test(n);return(n,i)=>{if(n.type===1){const{props:o}=n;if(n.tagType===3&&o.some(ts))return;const r=[];for(let l=0;l<o.length;l++){const a=o[l];if(a.type===7&&s(a.name)){o.splice(l,1),l--;const c=t(n,a,i);c&&r.push(c)}}return r}}}const Lt="/*@__PURE__*/",Cn=e=>`${Ne[e]}: _${Ne[e]}`;function nr(e,{mode:t="function",prefixIdentifiers:s=t==="module",sourceMap:n=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:r=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:s,sourceMap:n,filename:i,scopeId:o,optimizeImports:r,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(p){return`_${Ne[p]}`},push(p,O=-2,A){h.code+=p},indent(){m(++h.indentLevel)},deindent(p=!1){p?--h.indentLevel:m(--h.indentLevel)},newline(){m(h.indentLevel)}};function m(p){h.push(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{L as Se,E as v,C as be}from"./index-BkUiRx3-.js";import{p as he,s as Te,t as S,E as Pe,e as H,j as xe,a as Ve,L as ye,i as we,f as ve,q as Xe}from"./CodeFileEditor-ClSv4bXD.js";import{cssLanguage as K,css as $e}from"./index-B0vCt07Z.js";import{typescriptLanguage as qe,jsxLanguage as _e,tsxLanguage as Ce,javascriptLanguage as A,javascript as ke}from"./index-Cuq6wm_m.js";/* empty css */import"./index-nTDMEpry.js";import"./code-navigation-target-BlnRe0-a.js";const Qe=55,Ae=1,Ye=56,Me=2,Re=57,Ee=3,B=4,Ze=5,Y=6,J=7,ee=8,te=9,ae=10,Be=11,ze=12,De=13,X=58,We=14,Ne=15,z=59,le=21,Ge=23,re=24,Ie=25,k=27,ne=28,je=29,Ue=32,Le=35,Fe=37,He=38,Ke=0,Je=1,et={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},tt={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},D={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function at(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}let W=null,N=null,G=0;function Q(e,a){let r=e.pos+a;if(G==r&&N==e)return W;let l=e.peek(a),t="";for(;at(l);)t+=String.fromCharCode(l),l=e.peek(++a);return N=e,G=r,W=t?t.toLowerCase():l==lt||l==rt?void 0:null}const se=60,w=62,M=47,lt=63,rt=33,nt=45;function I(e,a){this.name=e,this.parent=a}const st=[Y,ae,J,ee,te],ot=new be({start:null,shift(e,a,r,l){return st.indexOf(a)>-1?new I(Q(l,1)||"",e):e},reduce(e,a){return a==le&&e?e.parent:e},reuse(e,a,r,l){let t=a.type.id;return t==Y||t==Fe?new I(Q(l,1)||"",e):e},strict:!1}),it=new v((e,a)=>{if(e.next!=se){e.next<0&&a.context&&e.acceptToken(X);return}e.advance();let r=e.next==M;r&&e.advance();let l=Q(e,0);if(l===void 0)return;if(!l)return e.acceptToken(r?Ne:We);let t=a.context?a.context.name:null;if(r){if(l==t)return e.acceptToken(Be);if(t&&tt[t])return e.acceptToken(X,-2);if(a.dialectEnabled(Ke))return e.acceptToken(ze);for(let s=a.context;s;s=s.parent)if(s.name==l)return;e.acceptToken(De)}else{if(l=="script")return e.acceptToken(J);if(l=="style")return e.acceptToken(ee);if(l=="textarea")return e.acceptToken(te);if(et.hasOwnProperty(l))return e.acceptToken(ae);t&&D[t]&&D[t][l]?e.acceptToken(X,-1):e.acceptToken(Y)}},{contextual:!0}),ut=new v(e=>{for(let a=0,r=0;;r++){if(e.next<0){r&&e.acceptToken(z);break}if(e.next==nt)a++;else if(e.next==w&&a>=2){r>=3&&e.acceptToken(z,-2);break}else a=0;e.advance()}});function Ot(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const dt=new v((e,a)=>{if(e.next==M&&e.peek(1)==w){let r=a.dialectEnabled(Je)||Ot(a.context);e.acceptToken(r?Ze:B,2)}else e.next==w&&e.acceptToken(B,1)});function R(e,a,r){let l=2+e.length;return new v(t=>{for(let s=0,o=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(a);break}if(s==0&&t.next==se||s==1&&t.next==M||s>=2&&s<l&&t.next==e.charCodeAt(s-2))s++,o++;else if(s==l&&t.next==w){i>o?t.acceptToken(a,-o):t.acceptToken(r,-(o-2));break}else if((t.next==10||t.next==13)&&i){t.acceptToken(a,1);break}else s=o=0;t.advance()}})}const ct=R("script",Qe,Ae),pt=R("style",Ye,Me),mt=R("textarea",Re,Ee),ft=Te({"Text RawText IncompleteTag IncompleteCloseTag":S.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":S.angleBracket,TagName:S.tagName,"MismatchedCloseTag/TagName":[S.tagName,S.invalid],AttributeName:S.attributeName,"AttributeValue UnquotedAttributeValue":S.attributeValue,Is:S.definitionOperator,"EntityReference CharacterReference":S.character,Comment:S.blockComment,ProcessingInst:S.processingInstruction,DoctypeDecl:S.documentMeta}),gt=Se.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/Y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!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:ot,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[ft],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*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let r=Object.create(null);for(let l of e.getChildren(re)){let t=l.getChild(Ie),s=l.getChild(k)||l.getChild(ne);t&&(r[a.read(t.from,t.to)]=s?s.type.id==k?a.read(s.from+1,s.to-1):a.read(s.from,s.to):"")}return r}function j(e,a){let r=e.getChild(Ge);return r?a.read(r.from,r.to):" "}function $(e,a,r){let l;for(let t of r)if(!t.attrs||t.attrs(l||(l=oe(e.node.parent.firstChild,a))))return{parser:t.parser,bracketed:!0};return null}function ie(e=[],a=[]){let r=[],l=[],t=[],s=[];for(let i of e)(i.tag=="script"?r:i.tag=="style"?l:i.tag=="textarea"?t:s).push(i);let o=a.length?Object.create(null):null;for(let i of a)(o[i.name]||(o[i.name]=[])).push(i);return he((i,O)=>{let f=i.type.id;if(f==je)return $(i,O,r);if(f==Ue)return $(i,O,l);if(f==Le)return $(i,O,t);if(f==le&&s.length){let m=i.node,u=m.firstChild,c=u&&j(u,O),p;if(c){for(let d of s)if(d.tag==c&&(!d.attrs||d.attrs(p||(p=oe(u,O))))){let h=m.lastChild,b=h.type.id==He?h.from:m.to;if(b>u.to)return{parser:d.parser,overlay:[{from:u.to,to:b}]}}}}if(o&&f==re){let m=i.node,u;if(u=m.firstChild){let c=o[O.read(u.from,u.to)];if(c)for(let p of c){if(p.tagName&&p.tagName!=j(m.parent,O))continue;let d=m.lastChild;if(d.type.id==k){let h=d.from+1,b=d.lastChild,Z=d.to-(b&&b.isError?0:1);if(Z>h)return{parser:p.parser,overlay:[{from:h,to:Z}],bracketed:!0}}else if(d.type.id==ne)return{parser:p.parser,overlay:[{from:d.from,to:d.to}]}}}}return null})}const x=["_blank","_self","_top","_parent"],q=["ascii","utf-8","utf-16","latin1","latin1"],_=["get","post","put","delete"],C=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],g=["true","false"],n={},St={a:{attrs:{href:null,ping:null,type:null,media:null,target:x,hreflang:null}},abbr:n,address:n,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:n,aside:n,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:n,base:{attrs:{href:null,target:x}},bdi:n,bdo:n,blockquote:{attrs:{cite:null}},body:n,br:n,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:C,formmethod:_,formnovalidate:["novalidate"],formtarget:x,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:n,center:n,cite:n,code:n,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:n,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:n,div:n,dl:n,dt:n,em:n,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:n,figure:n,footer:n,form:{attrs:{action:null,name:null,"accept-charset":q,autocomplete:["on","off"],enctype:C,method:_,novalidate:["novalidate"],target:x}},h1:n,h2:n,h3:n,h4:n,h5:n,h6:n,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:n,hgroup:n,hr:n,html:{attrs:{manifest:null}},i:n,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:C,formmethod:_,formnovalidate:["novalidate"],formtarget:x,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:n,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:n,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:n,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:q,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:n,noscript:n,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:n,param:{attrs:{name:null,value:null}},pre:n,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:n,rt:n,ruby:n,samp:n,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:q}},section:n,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:n,source:{attrs:{src:null,type:null,media:null}},span:n,strong:n,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:n,summary:n,sup:n,table:n,tbody:n,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:n,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:n,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:n,time:{attrs:{datetime:null}},title:n,tr:n,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:n,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:n},ue={accesskey:null,class:null,contenteditable:g,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:g,autocorrect:g,autocapitalize:g,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":g,"aria-autocomplete":["inline","list","both","none"],"aria-busy":g,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":g,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":g,"aria-hidden":g,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":g,"aria-multiselectable":g,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":g,"aria-relevant":null,"aria-required":g,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Oe="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of Oe)ue[e]=null;class V{constructor(a,r){this.tags={...St,...a},this.globalAttrs={...ue,...r},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}V.default=new V;function T(e,a,r=e.length){if(!a)return"";let l=a.firstChild,t=l&&l.getChild("TagName");return t?e.sliceString(t.from,Math.min(t.to,r)):""}function P(e,a=!1){for(;e;e=e.parent)if(e.name=="Element")if(a)a=!1;else return e;return null}function de(e,a,r){let l=r.tags[T(e,P(a))];return l?.children||r.allTags}function E(e,a){let r=[];for(let l=P(a);l&&!l.type.isTop;l=P(l.parent)){let t=T(e,l);if(t&&l.lastChild.name=="CloseTag")break;t&&r.indexOf(t)<0&&(a.name=="EndTag"||a.from>=l.firstChild.to)&&r.push(t)}return r}const ce=/^[:\-\.\w\u00b7-\uffff]*$/;function U(e,a,r,l,t){let s=/\s*>/.test(e.sliceDoc(t,t+5))?"":">",o=P(r,r.name=="StartTag"||r.name=="TagName");return{from:l,to:t,options:de(e.doc,o,a).map(i=>({label:i,type:"type"})).concat(E(e.doc,r).map((i,O)=>({label:"/"+i,apply:"/"+i+s,type:"type",boost:99-O}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function L(e,a,r,l){let t=/\s*>/.test(e.sliceDoc(l,l+5))?"":">";return{from:r,to:l,options:E(e.doc,a).map((s,o)=>({label:s,apply:s+t,type:"type",boost:99-o})),validFor:ce}}function bt(e,a,r,l){let t=[],s=0;for(let o of de(e.doc,r,a))t.push({label:"<"+o,type:"type"});for(let o of E(e.doc,r))t.push({label:"</"+o+">",type:"type",boost:99-s++});return{from:l,to:l,options:t,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function ht(e,a,r,l,t){let s=P(r),o=s?a.tags[T(e.doc,s)]:null,i=o&&o.attrs?Object.keys(o.attrs):[],O=o&&o.globalAttrs===!1?i:i.length?i.concat(a.globalAttrNames):a.globalAttrNames;return{from:l,to:t,options:O.map(f=>({label:f,type:"property"})),validFor:ce}}function Tt(e,a,r,l,t){var s;let o=(s=r.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),i=[],O;if(o){let f=e.sliceDoc(o.from,o.to),m=a.globalAttrs[f];if(!m){let u=P(r),c=u?a.tags[T(e.doc,u)]:null;m=c?.attrs&&c.attrs[f]}if(m){let u=e.sliceDoc(l,t).toLowerCase(),c='"',p='"';/^['"]/.test(u)?(O=u[0]=='"'?/^[^"]*$/:/^[^']*$/,c="",p=e.sliceDoc(t,t+1)==u[0]?"":u[0],u=u.slice(1),l++):O=/^[^\s<>='"]*$/;for(let d of m)i.push({label:d,apply:c+d+p,type:"constant"})}}return{from:l,to:t,options:i,validFor:O}}function pe(e,a){let{state:r,pos:l}=a,t=H(r).resolveInner(l,-1),s=t.resolve(l);for(let o=l,i;s==t&&(i=t.childBefore(o));){let O=i.lastChild;if(!O||!O.type.isError||O.from<O.to)break;s=t=i,o=O.from}return t.name=="TagName"?t.parent&&/CloseTag$/.test(t.parent.name)?L(r,t,t.from,l):U(r,e,t,t.from,l):t.name=="StartTag"||t.name=="IncompleteTag"?U(r,e,t,l,l):t.name=="StartCloseTag"||t.name=="IncompleteCloseTag"?L(r,t,l,l):t.name=="OpenTag"||t.name=="SelfClosingTag"||t.name=="AttributeName"?ht(r,e,t,t.name=="AttributeName"?t.from:l,l):t.name=="Is"||t.name=="AttributeValue"||t.name=="UnquotedAttributeValue"?Tt(r,e,t,t.name=="Is"?l:t.from,l):a.explicit&&(s.name=="Element"||s.name=="Text"||s.name=="Document")?bt(r,e,t,l):null}function kt(e){return pe(V.default,e)}function Pt(e){let{extraTags:a,extraGlobalAttributes:r}=e,l=r||a?new V(a,r):V.default;return t=>pe(l,t)}const xt=A.parser.configure({top:"SingleExpression"}),me=[{tag:"script",attrs:e=>e.type=="text/typescript"||e.lang=="ts",parser:qe.parser},{tag:"script",attrs:e=>e.type=="text/babel"||e.type=="text/jsx",parser:_e.parser},{tag:"script",attrs:e=>e.type=="text/typescript-jsx",parser:Ce.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:xt},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:A.parser},{tag:"style",attrs(e){return(!e.lang||e.lang=="css")&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:K.parser}],fe=[{name:"style",parser:K.parser.configure({top:"Styles"})}].concat(Oe.map(e=>({name:e,parser:A.parser}))),ge=ye.define({name:"html",parser:gt.configure({props:[we.add({Element(e){let a=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+a[0].length?e.continue():e.lineIndent(e.node.from)+(a[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let a=null,r;for(let l=e.node;;){let t=l.lastChild;if(!t||t.name!="Element"||t.to!=l.to)break;a=l=t}return a&&!((r=a.lastChild)&&(r.name=="CloseTag"||r.name=="SelfClosingTag"))?e.lineIndent(a.from)+e.unit:null}}),ve.add({Element(e){let a=e.firstChild,r=e.lastChild;return!a||a.name!="OpenTag"?null:{from:a.to,to:r.name=="CloseTag"?r.from:e.to}}}),Xe.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),y=ge.configure({wrap:ie(me,fe)});function Qt(e={}){let a="",r;e.matchClosingTags===!1&&(a="noMatch"),e.selfClosingTags===!0&&(a=(a?a+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(r=ie((e.nestedLanguages||[]).concat(me),(e.nestedAttributes||[]).concat(fe)));let l=r?ge.configure({wrap:r,dialect:a}):a?y.configure({dialect:a}):y;return new Ve(l,[y.data.of({autocomplete:Pt(e)}),e.autoCloseTags!==!1?yt:[],ke().support,$e().support])}const F=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" "));function Vt(e,a,r){for(var l;;){if(((l=a.lastChild)===null||l===void 0?void 0:l.name)!="CloseTag")return!1;let t=a.parent;if(!t||T(e,t)!=r)return!0;a=t}}const yt=Pe.inputHandler.of((e,a,r,l,t)=>{if(e.composing||e.state.readOnly||a!=r||l!=">"&&l!="/"||!y.isActiveAt(e.state,a,-1))return!1;let s=t(),{state:o}=s,i=o.changeByRange(O=>{var f;let m=o.doc.sliceString(O.from-1,O.to)==l,{head:u}=O,c=H(o).resolveInner(u,-1),p;if(m&&l==">"&&c.name=="EndTag"){let d=c.parent;if((p=T(o.doc,d.parent,u))&&!F.has(p)&&!Vt(o.doc,d.parent,p)){let h=u+(o.doc.sliceString(u,u+1)===">"?1:0),b=`</${p}>`;return{range:O,changes:{from:u,to:h,insert:b}}}}else if(m&&l=="/"&&c.name=="IncompleteCloseTag"){let d=c.parent;if(c.from==u-2&&((f=d.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(p=T(o.doc,d,u))&&!F.has(p)){let h=u+(o.doc.sliceString(u,u+1)===">"?1:0),b=`${p}>`;return{range:xe.cursor(u+b.length,-1),changes:{from:u,to:h,insert:b}}}}return{range:O}});return i.changes.empty?!1:(e.dispatch([s,o.update(i,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{yt as autoCloseTags,Qt as html,kt as htmlCompletionSource,Pt as htmlCompletionSourceWith,y as htmlLanguage};
|
|
1
|
+
import{L as Se,E as v,C as be}from"./index-DQVv2C1C.js";import{p as he,s as Te,t as S,E as Pe,e as H,j as xe,a as Ve,L as ye,i as we,f as ve,q as Xe}from"./CodeFileEditor-BzlBgLRK.js";import{cssLanguage as K,css as $e}from"./index-CNjxcC1r.js";import{typescriptLanguage as qe,jsxLanguage as _e,tsxLanguage as Ce,javascriptLanguage as A,javascript as ke}from"./index-BDq_pbKu.js";/* empty css */import"./index-BGmp6-3j.js";import"./code-navigation-target-BlnRe0-a.js";const Qe=55,Ae=1,Ye=56,Me=2,Re=57,Ee=3,B=4,Ze=5,Y=6,J=7,ee=8,te=9,ae=10,Be=11,ze=12,De=13,X=58,We=14,Ne=15,z=59,le=21,Ge=23,re=24,Ie=25,k=27,ne=28,je=29,Ue=32,Le=35,Fe=37,He=38,Ke=0,Je=1,et={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},tt={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},D={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function at(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}let W=null,N=null,G=0;function Q(e,a){let r=e.pos+a;if(G==r&&N==e)return W;let l=e.peek(a),t="";for(;at(l);)t+=String.fromCharCode(l),l=e.peek(++a);return N=e,G=r,W=t?t.toLowerCase():l==lt||l==rt?void 0:null}const se=60,w=62,M=47,lt=63,rt=33,nt=45;function I(e,a){this.name=e,this.parent=a}const st=[Y,ae,J,ee,te],ot=new be({start:null,shift(e,a,r,l){return st.indexOf(a)>-1?new I(Q(l,1)||"",e):e},reduce(e,a){return a==le&&e?e.parent:e},reuse(e,a,r,l){let t=a.type.id;return t==Y||t==Fe?new I(Q(l,1)||"",e):e},strict:!1}),it=new v((e,a)=>{if(e.next!=se){e.next<0&&a.context&&e.acceptToken(X);return}e.advance();let r=e.next==M;r&&e.advance();let l=Q(e,0);if(l===void 0)return;if(!l)return e.acceptToken(r?Ne:We);let t=a.context?a.context.name:null;if(r){if(l==t)return e.acceptToken(Be);if(t&&tt[t])return e.acceptToken(X,-2);if(a.dialectEnabled(Ke))return e.acceptToken(ze);for(let s=a.context;s;s=s.parent)if(s.name==l)return;e.acceptToken(De)}else{if(l=="script")return e.acceptToken(J);if(l=="style")return e.acceptToken(ee);if(l=="textarea")return e.acceptToken(te);if(et.hasOwnProperty(l))return e.acceptToken(ae);t&&D[t]&&D[t][l]?e.acceptToken(X,-1):e.acceptToken(Y)}},{contextual:!0}),ut=new v(e=>{for(let a=0,r=0;;r++){if(e.next<0){r&&e.acceptToken(z);break}if(e.next==nt)a++;else if(e.next==w&&a>=2){r>=3&&e.acceptToken(z,-2);break}else a=0;e.advance()}});function Ot(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const dt=new v((e,a)=>{if(e.next==M&&e.peek(1)==w){let r=a.dialectEnabled(Je)||Ot(a.context);e.acceptToken(r?Ze:B,2)}else e.next==w&&e.acceptToken(B,1)});function R(e,a,r){let l=2+e.length;return new v(t=>{for(let s=0,o=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(a);break}if(s==0&&t.next==se||s==1&&t.next==M||s>=2&&s<l&&t.next==e.charCodeAt(s-2))s++,o++;else if(s==l&&t.next==w){i>o?t.acceptToken(a,-o):t.acceptToken(r,-(o-2));break}else if((t.next==10||t.next==13)&&i){t.acceptToken(a,1);break}else s=o=0;t.advance()}})}const ct=R("script",Qe,Ae),pt=R("style",Ye,Me),mt=R("textarea",Re,Ee),ft=Te({"Text RawText IncompleteTag IncompleteCloseTag":S.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":S.angleBracket,TagName:S.tagName,"MismatchedCloseTag/TagName":[S.tagName,S.invalid],AttributeName:S.attributeName,"AttributeValue UnquotedAttributeValue":S.attributeValue,Is:S.definitionOperator,"EntityReference CharacterReference":S.character,Comment:S.blockComment,ProcessingInst:S.processingInstruction,DoctypeDecl:S.documentMeta}),gt=Se.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#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!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:ot,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[ft],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#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Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[ct,pt,mt,dt,it,ut,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function oe(e,a){let r=Object.create(null);for(let l of e.getChildren(re)){let t=l.getChild(Ie),s=l.getChild(k)||l.getChild(ne);t&&(r[a.read(t.from,t.to)]=s?s.type.id==k?a.read(s.from+1,s.to-1):a.read(s.from,s.to):"")}return r}function j(e,a){let r=e.getChild(Ge);return r?a.read(r.from,r.to):" "}function $(e,a,r){let l;for(let t of r)if(!t.attrs||t.attrs(l||(l=oe(e.node.parent.firstChild,a))))return{parser:t.parser,bracketed:!0};return null}function ie(e=[],a=[]){let r=[],l=[],t=[],s=[];for(let i of e)(i.tag=="script"?r:i.tag=="style"?l:i.tag=="textarea"?t:s).push(i);let o=a.length?Object.create(null):null;for(let i of a)(o[i.name]||(o[i.name]=[])).push(i);return he((i,O)=>{let f=i.type.id;if(f==je)return $(i,O,r);if(f==Ue)return $(i,O,l);if(f==Le)return $(i,O,t);if(f==le&&s.length){let m=i.node,u=m.firstChild,c=u&&j(u,O),p;if(c){for(let d of s)if(d.tag==c&&(!d.attrs||d.attrs(p||(p=oe(u,O))))){let h=m.lastChild,b=h.type.id==He?h.from:m.to;if(b>u.to)return{parser:d.parser,overlay:[{from:u.to,to:b}]}}}}if(o&&f==re){let m=i.node,u;if(u=m.firstChild){let c=o[O.read(u.from,u.to)];if(c)for(let p of c){if(p.tagName&&p.tagName!=j(m.parent,O))continue;let d=m.lastChild;if(d.type.id==k){let h=d.from+1,b=d.lastChild,Z=d.to-(b&&b.isError?0:1);if(Z>h)return{parser:p.parser,overlay:[{from:h,to:Z}],bracketed:!0}}else if(d.type.id==ne)return{parser:p.parser,overlay:[{from:d.from,to:d.to}]}}}}return null})}const x=["_blank","_self","_top","_parent"],q=["ascii","utf-8","utf-16","latin1","latin1"],_=["get","post","put","delete"],C=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],g=["true","false"],n={},St={a:{attrs:{href:null,ping:null,type:null,media:null,target:x,hreflang:null}},abbr:n,address:n,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:n,aside:n,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:n,base:{attrs:{href:null,target:x}},bdi:n,bdo:n,blockquote:{attrs:{cite:null}},body:n,br:n,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:C,formmethod:_,formnovalidate:["novalidate"],formtarget:x,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:n,center:n,cite:n,code:n,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:n,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:n,div:n,dl:n,dt:n,em:n,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:n,figure:n,footer:n,form:{attrs:{action:null,name:null,"accept-charset":q,autocomplete:["on","off"],enctype:C,method:_,novalidate:["novalidate"],target:x}},h1:n,h2:n,h3:n,h4:n,h5:n,h6:n,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:n,hgroup:n,hr:n,html:{attrs:{manifest:null}},i:n,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:C,formmethod:_,formnovalidate:["novalidate"],formtarget:x,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:n,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:n,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:n,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:q,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:n,noscript:n,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:n,param:{attrs:{name:null,value:null}},pre:n,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:n,rt:n,ruby:n,samp:n,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:q}},section:n,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:n,source:{attrs:{src:null,type:null,media:null}},span:n,strong:n,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:n,summary:n,sup:n,table:n,tbody:n,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:n,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:n,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:n,time:{attrs:{datetime:null}},title:n,tr:n,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:n,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:n},ue={accesskey:null,class:null,contenteditable:g,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:g,autocorrect:g,autocapitalize:g,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":g,"aria-autocomplete":["inline","list","both","none"],"aria-busy":g,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":g,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":g,"aria-hidden":g,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":g,"aria-multiselectable":g,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":g,"aria-relevant":null,"aria-required":g,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Oe="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of Oe)ue[e]=null;class V{constructor(a,r){this.tags={...St,...a},this.globalAttrs={...ue,...r},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}V.default=new V;function T(e,a,r=e.length){if(!a)return"";let l=a.firstChild,t=l&&l.getChild("TagName");return t?e.sliceString(t.from,Math.min(t.to,r)):""}function P(e,a=!1){for(;e;e=e.parent)if(e.name=="Element")if(a)a=!1;else return e;return null}function de(e,a,r){let l=r.tags[T(e,P(a))];return l?.children||r.allTags}function E(e,a){let r=[];for(let l=P(a);l&&!l.type.isTop;l=P(l.parent)){let t=T(e,l);if(t&&l.lastChild.name=="CloseTag")break;t&&r.indexOf(t)<0&&(a.name=="EndTag"||a.from>=l.firstChild.to)&&r.push(t)}return r}const ce=/^[:\-\.\w\u00b7-\uffff]*$/;function U(e,a,r,l,t){let s=/\s*>/.test(e.sliceDoc(t,t+5))?"":">",o=P(r,r.name=="StartTag"||r.name=="TagName");return{from:l,to:t,options:de(e.doc,o,a).map(i=>({label:i,type:"type"})).concat(E(e.doc,r).map((i,O)=>({label:"/"+i,apply:"/"+i+s,type:"type",boost:99-O}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function L(e,a,r,l){let t=/\s*>/.test(e.sliceDoc(l,l+5))?"":">";return{from:r,to:l,options:E(e.doc,a).map((s,o)=>({label:s,apply:s+t,type:"type",boost:99-o})),validFor:ce}}function bt(e,a,r,l){let t=[],s=0;for(let o of de(e.doc,r,a))t.push({label:"<"+o,type:"type"});for(let o of E(e.doc,r))t.push({label:"</"+o+">",type:"type",boost:99-s++});return{from:l,to:l,options:t,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function ht(e,a,r,l,t){let s=P(r),o=s?a.tags[T(e.doc,s)]:null,i=o&&o.attrs?Object.keys(o.attrs):[],O=o&&o.globalAttrs===!1?i:i.length?i.concat(a.globalAttrNames):a.globalAttrNames;return{from:l,to:t,options:O.map(f=>({label:f,type:"property"})),validFor:ce}}function Tt(e,a,r,l,t){var s;let o=(s=r.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),i=[],O;if(o){let f=e.sliceDoc(o.from,o.to),m=a.globalAttrs[f];if(!m){let u=P(r),c=u?a.tags[T(e.doc,u)]:null;m=c?.attrs&&c.attrs[f]}if(m){let u=e.sliceDoc(l,t).toLowerCase(),c='"',p='"';/^['"]/.test(u)?(O=u[0]=='"'?/^[^"]*$/:/^[^']*$/,c="",p=e.sliceDoc(t,t+1)==u[0]?"":u[0],u=u.slice(1),l++):O=/^[^\s<>='"]*$/;for(let d of m)i.push({label:d,apply:c+d+p,type:"constant"})}}return{from:l,to:t,options:i,validFor:O}}function pe(e,a){let{state:r,pos:l}=a,t=H(r).resolveInner(l,-1),s=t.resolve(l);for(let o=l,i;s==t&&(i=t.childBefore(o));){let O=i.lastChild;if(!O||!O.type.isError||O.from<O.to)break;s=t=i,o=O.from}return t.name=="TagName"?t.parent&&/CloseTag$/.test(t.parent.name)?L(r,t,t.from,l):U(r,e,t,t.from,l):t.name=="StartTag"||t.name=="IncompleteTag"?U(r,e,t,l,l):t.name=="StartCloseTag"||t.name=="IncompleteCloseTag"?L(r,t,l,l):t.name=="OpenTag"||t.name=="SelfClosingTag"||t.name=="AttributeName"?ht(r,e,t,t.name=="AttributeName"?t.from:l,l):t.name=="Is"||t.name=="AttributeValue"||t.name=="UnquotedAttributeValue"?Tt(r,e,t,t.name=="Is"?l:t.from,l):a.explicit&&(s.name=="Element"||s.name=="Text"||s.name=="Document")?bt(r,e,t,l):null}function kt(e){return pe(V.default,e)}function Pt(e){let{extraTags:a,extraGlobalAttributes:r}=e,l=r||a?new V(a,r):V.default;return t=>pe(l,t)}const xt=A.parser.configure({top:"SingleExpression"}),me=[{tag:"script",attrs:e=>e.type=="text/typescript"||e.lang=="ts",parser:qe.parser},{tag:"script",attrs:e=>e.type=="text/babel"||e.type=="text/jsx",parser:_e.parser},{tag:"script",attrs:e=>e.type=="text/typescript-jsx",parser:Ce.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:xt},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:A.parser},{tag:"style",attrs(e){return(!e.lang||e.lang=="css")&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:K.parser}],fe=[{name:"style",parser:K.parser.configure({top:"Styles"})}].concat(Oe.map(e=>({name:e,parser:A.parser}))),ge=ye.define({name:"html",parser:gt.configure({props:[we.add({Element(e){let a=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+a[0].length?e.continue():e.lineIndent(e.node.from)+(a[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let a=null,r;for(let l=e.node;;){let t=l.lastChild;if(!t||t.name!="Element"||t.to!=l.to)break;a=l=t}return a&&!((r=a.lastChild)&&(r.name=="CloseTag"||r.name=="SelfClosingTag"))?e.lineIndent(a.from)+e.unit:null}}),ve.add({Element(e){let a=e.firstChild,r=e.lastChild;return!a||a.name!="OpenTag"?null:{from:a.to,to:r.name=="CloseTag"?r.from:e.to}}}),Xe.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),y=ge.configure({wrap:ie(me,fe)});function Qt(e={}){let a="",r;e.matchClosingTags===!1&&(a="noMatch"),e.selfClosingTags===!0&&(a=(a?a+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(r=ie((e.nestedLanguages||[]).concat(me),(e.nestedAttributes||[]).concat(fe)));let l=r?ge.configure({wrap:r,dialect:a}):a?y.configure({dialect:a}):y;return new Ve(l,[y.data.of({autocomplete:Pt(e)}),e.autoCloseTags!==!1?yt:[],ke().support,$e().support])}const F=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" "));function Vt(e,a,r){for(var l;;){if(((l=a.lastChild)===null||l===void 0?void 0:l.name)!="CloseTag")return!1;let t=a.parent;if(!t||T(e,t)!=r)return!0;a=t}}const yt=Pe.inputHandler.of((e,a,r,l,t)=>{if(e.composing||e.state.readOnly||a!=r||l!=">"&&l!="/"||!y.isActiveAt(e.state,a,-1))return!1;let s=t(),{state:o}=s,i=o.changeByRange(O=>{var f;let m=o.doc.sliceString(O.from-1,O.to)==l,{head:u}=O,c=H(o).resolveInner(u,-1),p;if(m&&l==">"&&c.name=="EndTag"){let d=c.parent;if((p=T(o.doc,d.parent,u))&&!F.has(p)&&!Vt(o.doc,d.parent,p)){let h=u+(o.doc.sliceString(u,u+1)===">"?1:0),b=`</${p}>`;return{range:O,changes:{from:u,to:h,insert:b}}}}else if(m&&l=="/"&&c.name=="IncompleteCloseTag"){let d=c.parent;if(c.from==u-2&&((f=d.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(p=T(o.doc,d,u))&&!F.has(p)){let h=u+(o.doc.sliceString(u,u+1)===">"?1:0),b=`${p}>`;return{range:xe.cursor(u+b.length,-1),changes:{from:u,to:h,insert:b}}}}return{range:O}});return i.changes.empty?!1:(e.dispatch([s,o.update(i,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{yt as autoCloseTags,Qt as html,kt as htmlCompletionSource,Pt as htmlCompletionSourceWith,y as htmlLanguage};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as st,g as Q,h as v,v as it,N as Ee,s as Ie,T as H,p as ot,t as m,e as X,j as P,w as z,a as fe,x as at,y as lt,E as ht,z as ft,A as ut,B as dt,u as pt,C as ct,F as mt,f as Me,i as gt,G as kt,H as ue,J as Lt}from"./CodeFileEditor-ClSv4bXD.js";import{html as bt,htmlCompletionSource as wt}from"./index-C7gKD9JU.js";/* empty css */import"./index-nTDMEpry.js";import"./code-navigation-target-BlnRe0-a.js";import"./index-BkUiRx3-.js";import"./index-B0vCt07Z.js";import"./index-Cuq6wm_m.js";class U{static create(e,r,n,s,i){let o=s+(s<<8)+e+(r<<4)|0;return new U(e,r,n,o,i,[],[])}constructor(e,r,n,s,i,o,a){this.type=e,this.value=r,this.from=n,this.hash=s,this.end=i,this.children=o,this.positions=a,this.hashProp=[[v.contextHash,s]]}addChild(e,r){e.prop(v.contextHash)!=this.hash&&(e=new H(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(r)}toTree(e,r=this.end){let n=this.children.length-1;return n>=0&&(r=Math.max(r,this.positions[n]+this.children[n].length+this.from)),new H(e.types[this.type],this.children,this.positions,r-this.from).balance({makeTree:(s,i,o)=>new H(Q.none,s,i,o,this.hashProp)})}}var u;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(u||(u={}));class St{constructor(e,r){this.start=e,this.content=r,this.marks=[],this.parsers=[]}}class Ct{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return O(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,r=0,n=0){for(let s=r;s<e;s++)n+=this.text.charCodeAt(s)==9?4-n%4:1;return n}findColumn(e){let r=0;for(let n=0;r<this.text.length&&n<e;r++)n+=this.text.charCodeAt(r)==9?4-n%4:1;return r}scrub(){if(!this.baseIndent)return this.text;let e="";for(let r=0;r<this.basePos;r++)e+=" ";return e+this.text.slice(this.basePos)}}function de(t,e,r){if(r.pos==r.text.length||t!=e.block&&r.indent>=e.stack[r.depth+1].value+r.baseIndent)return!0;if(r.indent>=r.baseIndent+4)return!1;let n=(t.type==u.OrderedList?oe:ie)(r,e,!1);return n>0&&(t.type!=u.BulletList||se(r,e,!1)<0)&&r.text.charCodeAt(r.pos+n-1)==t.value}const He={[u.Blockquote](t,e,r){return r.next!=62?!1:(r.markers.push(k(u.QuoteMark,e.lineStart+r.pos,e.lineStart+r.pos+1)),r.moveBase(r.pos+(x(r.text.charCodeAt(r.pos+1))?2:1)),t.end=e.lineStart+r.text.length,!0)},[u.ListItem](t,e,r){return r.indent<r.baseIndent+t.value&&r.next>-1?!1:(r.moveBaseColumn(r.baseIndent+t.value),!0)},[u.OrderedList]:de,[u.BulletList]:de,[u.Document](){return!0}};function x(t){return t==32||t==9||t==10||t==13}function O(t,e=0){for(;e<t.length&&x(t.charCodeAt(e));)e++;return e}function pe(t,e,r){for(;e>r&&x(t.charCodeAt(e-1));)e--;return e}function Pe(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;if(e<t.pos+3)return-1;if(t.next==96){for(let r=e;r<t.text.length;r++)if(t.text.charCodeAt(r)==96)return-1}return e}function ve(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function se(t,e,r){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let n=1;for(let s=t.pos+1;s<t.text.length;s++){let i=t.text.charCodeAt(s);if(i==t.next)n++;else if(!x(i))return-1}return r&&t.next==45&&Re(t)>-1&&t.depth==e.stack.length&&e.parser.leafBlockParsers.indexOf(De.SetextHeading)>-1||n<3?-1:1}function Ne(t,e){for(let r=t.stack.length-1;r>=0;r--)if(t.stack[r].type==e)return!0;return!1}function ie(t,e,r){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||x(t.text.charCodeAt(t.pos+1)))&&(!r||Ne(e,u.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function oe(t,e,r){let n=t.pos,s=t.next;for(;s>=48&&s<=57;){n++;if(n==t.text.length)return-1;s=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||s!=46&&s!=41||n<t.text.length-1&&!x(t.text.charCodeAt(n+1))||r&&!Ne(e,u.OrderedList)&&(t.skipSpace(n+1)==t.text.length||n>t.pos+1||t.next!=49)?-1:n+1-t.pos}function ye(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==35;)e++;if(e<t.text.length&&t.text.charCodeAt(e)!=32)return-1;let r=e-t.pos;return r>6?-1:r}function Re(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;let r=e;for(;e<t.text.length&&x(t.text.charCodeAt(e));)e++;return e==t.text.length?r:-1}const W=/^[ \t]*$/,Oe=/-->/,Te=/\?>/,ee=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Oe],[/^\s*<\?/,Te],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,W],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,W]];function ze(t,e,r){if(t.next!=60)return-1;let n=t.text.slice(t.pos);for(let s=0,i=ee.length-(r?1:0);s<i;s++)if(ee[s][0].test(n))return s;return-1}function ce(t,e){let r=t.countIndent(e,t.pos,t.indent),n=t.skipSpace(e),s=t.countIndent(n,e,r);return s>=r+5||n==t.text.length?r+1:s}function A(t,e,r){let n=t.length-1;n>=0&&t[n].to==e&&t[n].type==u.CodeText?t[n].to=r:t.push(k(u.CodeText,e,r))}const $={LinkReference:void 0,IndentedCode(t,e){let r=e.baseIndent+4;if(e.indent<r)return!1;let n=e.findColumn(r),s=t.lineStart+n,i=t.lineStart+e.text.length,o=[],a=[];for(A(o,s,i);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){A(a,t.lineStart-1,t.lineStart);for(let l of e.markers)a.push(l)}else{if(e.indent<r)break;{if(a.length){for(let h of a)h.type==u.CodeText?A(o,h.from,h.to):o.push(h);a=[]}A(o,t.lineStart-1,t.lineStart);for(let h of e.markers)o.push(h);i=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<i&&A(o,l,i)}}return a.length&&(a=a.filter(l=>l.type!=u.CodeText),a.length&&(e.markers=a.concat(e.markers))),t.addNode(t.buffer.writeElements(o,-s).finish(u.CodeBlock,i-s),s),!0},FencedCode(t,e){let r=Pe(e);if(r<0)return!1;let n=t.lineStart+e.pos,s=e.next,i=r-e.pos,o=e.skipSpace(r),a=pe(e.text,e.text.length,o),l=[k(u.CodeMark,n,n+i)];o<a&&l.push(k(u.CodeInfo,t.lineStart+o,t.lineStart+a));for(let h=!0,f=!0,p=!1;t.nextLine()&&e.depth>=t.stack.length;h=!1){let d=e.pos;if(e.indent-e.baseIndent<4)for(;d<e.text.length&&e.text.charCodeAt(d)==s;)d++;if(d-e.pos>=i&&e.skipSpace(d)==e.text.length){for(let c of e.markers)l.push(c);f&&p&&A(l,t.lineStart-1,t.lineStart),l.push(k(u.CodeMark,t.lineStart+e.pos,t.lineStart+d)),t.nextLine();break}else{p=!0,h||(A(l,t.lineStart-1,t.lineStart),f=!1);for(let g of e.markers)l.push(g);let c=t.lineStart+e.basePos,L=t.lineStart+e.text.length;c<L&&(A(l,c,L),f=!1)}}return t.addNode(t.buffer.writeElements(l,-n).finish(u.FencedCode,t.prevLineEnd()-n),n),!0},Blockquote(t,e){let r=ve(e);return r<0?!1:(t.startContext(u.Blockquote,e.pos),t.addNode(u.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+r),null)},HorizontalRule(t,e){if(se(e,t,!1)<0)return!1;let r=t.lineStart+e.pos;return t.nextLine(),t.addNode(u.HorizontalRule,r),!0},BulletList(t,e){let r=ie(e,t,!1);if(r<0)return!1;t.block.type!=u.BulletList&&t.startContext(u.BulletList,e.basePos,e.next);let n=ce(e,e.pos+1);return t.startContext(u.ListItem,e.basePos,n-e.baseIndent),t.addNode(u.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},OrderedList(t,e){let r=oe(e,t,!1);if(r<0)return!1;t.block.type!=u.OrderedList&&t.startContext(u.OrderedList,e.basePos,e.text.charCodeAt(e.pos+r-1));let n=ce(e,e.pos+r);return t.startContext(u.ListItem,e.basePos,n-e.baseIndent),t.addNode(u.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},ATXHeading(t,e){let r=ye(e);if(r<0)return!1;let n=e.pos,s=t.lineStart+n,i=pe(e.text,e.text.length,n),o=i;for(;o>n&&e.text.charCodeAt(o-1)==e.next;)o--;(o==i||o==n||!x(e.text.charCodeAt(o-1)))&&(o=e.text.length);let a=t.buffer.write(u.HeaderMark,0,r).writeElements(t.parser.parseInline(e.text.slice(n+r+1,o),s+r+1),-s);o<e.text.length&&a.write(u.HeaderMark,o-n,i-n);let l=a.finish(u.ATXHeading1-1+r,e.text.length-n);return t.nextLine(),t.addNode(l,s),!0},HTMLBlock(t,e){let r=ze(e,t,!1);if(r<0)return!1;let n=t.lineStart+e.pos,s=ee[r][1],i=[],o=s!=W;for(;!s.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){o=!1;break}for(let h of e.markers)i.push(h)}o&&t.nextLine();let a=s==Oe?u.CommentBlock:s==Te?u.ProcessingInstructionBlock:u.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(i,-n).finish(a,l-n),n),!0},SetextHeading:void 0};class xt{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,r,n){if(this.stage==-1)return!1;let s=n.content+`
|
|
1
|
+
import{P as st,g as Q,h as v,v as it,N as Ee,s as Ie,T as H,p as ot,t as m,e as X,j as P,w as z,a as fe,x as at,y as lt,E as ht,z as ft,A as ut,B as dt,u as pt,C as ct,F as mt,f as Me,i as gt,G as kt,H as ue,J as Lt}from"./CodeFileEditor-BzlBgLRK.js";import{html as bt,htmlCompletionSource as wt}from"./index-CsGvE9BH.js";/* empty css */import"./index-BGmp6-3j.js";import"./code-navigation-target-BlnRe0-a.js";import"./index-DQVv2C1C.js";import"./index-CNjxcC1r.js";import"./index-BDq_pbKu.js";class U{static create(e,r,n,s,i){let o=s+(s<<8)+e+(r<<4)|0;return new U(e,r,n,o,i,[],[])}constructor(e,r,n,s,i,o,a){this.type=e,this.value=r,this.from=n,this.hash=s,this.end=i,this.children=o,this.positions=a,this.hashProp=[[v.contextHash,s]]}addChild(e,r){e.prop(v.contextHash)!=this.hash&&(e=new H(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(r)}toTree(e,r=this.end){let n=this.children.length-1;return n>=0&&(r=Math.max(r,this.positions[n]+this.children[n].length+this.from)),new H(e.types[this.type],this.children,this.positions,r-this.from).balance({makeTree:(s,i,o)=>new H(Q.none,s,i,o,this.hashProp)})}}var u;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(u||(u={}));class St{constructor(e,r){this.start=e,this.content=r,this.marks=[],this.parsers=[]}}class Ct{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return O(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,r=0,n=0){for(let s=r;s<e;s++)n+=this.text.charCodeAt(s)==9?4-n%4:1;return n}findColumn(e){let r=0;for(let n=0;r<this.text.length&&n<e;r++)n+=this.text.charCodeAt(r)==9?4-n%4:1;return r}scrub(){if(!this.baseIndent)return this.text;let e="";for(let r=0;r<this.basePos;r++)e+=" ";return e+this.text.slice(this.basePos)}}function de(t,e,r){if(r.pos==r.text.length||t!=e.block&&r.indent>=e.stack[r.depth+1].value+r.baseIndent)return!0;if(r.indent>=r.baseIndent+4)return!1;let n=(t.type==u.OrderedList?oe:ie)(r,e,!1);return n>0&&(t.type!=u.BulletList||se(r,e,!1)<0)&&r.text.charCodeAt(r.pos+n-1)==t.value}const He={[u.Blockquote](t,e,r){return r.next!=62?!1:(r.markers.push(k(u.QuoteMark,e.lineStart+r.pos,e.lineStart+r.pos+1)),r.moveBase(r.pos+(x(r.text.charCodeAt(r.pos+1))?2:1)),t.end=e.lineStart+r.text.length,!0)},[u.ListItem](t,e,r){return r.indent<r.baseIndent+t.value&&r.next>-1?!1:(r.moveBaseColumn(r.baseIndent+t.value),!0)},[u.OrderedList]:de,[u.BulletList]:de,[u.Document](){return!0}};function x(t){return t==32||t==9||t==10||t==13}function O(t,e=0){for(;e<t.length&&x(t.charCodeAt(e));)e++;return e}function pe(t,e,r){for(;e>r&&x(t.charCodeAt(e-1));)e--;return e}function Pe(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;if(e<t.pos+3)return-1;if(t.next==96){for(let r=e;r<t.text.length;r++)if(t.text.charCodeAt(r)==96)return-1}return e}function ve(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function se(t,e,r){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let n=1;for(let s=t.pos+1;s<t.text.length;s++){let i=t.text.charCodeAt(s);if(i==t.next)n++;else if(!x(i))return-1}return r&&t.next==45&&Re(t)>-1&&t.depth==e.stack.length&&e.parser.leafBlockParsers.indexOf(De.SetextHeading)>-1||n<3?-1:1}function Ne(t,e){for(let r=t.stack.length-1;r>=0;r--)if(t.stack[r].type==e)return!0;return!1}function ie(t,e,r){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||x(t.text.charCodeAt(t.pos+1)))&&(!r||Ne(e,u.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function oe(t,e,r){let n=t.pos,s=t.next;for(;s>=48&&s<=57;){n++;if(n==t.text.length)return-1;s=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||s!=46&&s!=41||n<t.text.length-1&&!x(t.text.charCodeAt(n+1))||r&&!Ne(e,u.OrderedList)&&(t.skipSpace(n+1)==t.text.length||n>t.pos+1||t.next!=49)?-1:n+1-t.pos}function ye(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==35;)e++;if(e<t.text.length&&t.text.charCodeAt(e)!=32)return-1;let r=e-t.pos;return r>6?-1:r}function Re(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;let r=e;for(;e<t.text.length&&x(t.text.charCodeAt(e));)e++;return e==t.text.length?r:-1}const W=/^[ \t]*$/,Oe=/-->/,Te=/\?>/,ee=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Oe],[/^\s*<\?/,Te],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,W],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,W]];function ze(t,e,r){if(t.next!=60)return-1;let n=t.text.slice(t.pos);for(let s=0,i=ee.length-(r?1:0);s<i;s++)if(ee[s][0].test(n))return s;return-1}function ce(t,e){let r=t.countIndent(e,t.pos,t.indent),n=t.skipSpace(e),s=t.countIndent(n,e,r);return s>=r+5||n==t.text.length?r+1:s}function A(t,e,r){let n=t.length-1;n>=0&&t[n].to==e&&t[n].type==u.CodeText?t[n].to=r:t.push(k(u.CodeText,e,r))}const $={LinkReference:void 0,IndentedCode(t,e){let r=e.baseIndent+4;if(e.indent<r)return!1;let n=e.findColumn(r),s=t.lineStart+n,i=t.lineStart+e.text.length,o=[],a=[];for(A(o,s,i);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){A(a,t.lineStart-1,t.lineStart);for(let l of e.markers)a.push(l)}else{if(e.indent<r)break;{if(a.length){for(let h of a)h.type==u.CodeText?A(o,h.from,h.to):o.push(h);a=[]}A(o,t.lineStart-1,t.lineStart);for(let h of e.markers)o.push(h);i=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<i&&A(o,l,i)}}return a.length&&(a=a.filter(l=>l.type!=u.CodeText),a.length&&(e.markers=a.concat(e.markers))),t.addNode(t.buffer.writeElements(o,-s).finish(u.CodeBlock,i-s),s),!0},FencedCode(t,e){let r=Pe(e);if(r<0)return!1;let n=t.lineStart+e.pos,s=e.next,i=r-e.pos,o=e.skipSpace(r),a=pe(e.text,e.text.length,o),l=[k(u.CodeMark,n,n+i)];o<a&&l.push(k(u.CodeInfo,t.lineStart+o,t.lineStart+a));for(let h=!0,f=!0,p=!1;t.nextLine()&&e.depth>=t.stack.length;h=!1){let d=e.pos;if(e.indent-e.baseIndent<4)for(;d<e.text.length&&e.text.charCodeAt(d)==s;)d++;if(d-e.pos>=i&&e.skipSpace(d)==e.text.length){for(let c of e.markers)l.push(c);f&&p&&A(l,t.lineStart-1,t.lineStart),l.push(k(u.CodeMark,t.lineStart+e.pos,t.lineStart+d)),t.nextLine();break}else{p=!0,h||(A(l,t.lineStart-1,t.lineStart),f=!1);for(let g of e.markers)l.push(g);let c=t.lineStart+e.basePos,L=t.lineStart+e.text.length;c<L&&(A(l,c,L),f=!1)}}return t.addNode(t.buffer.writeElements(l,-n).finish(u.FencedCode,t.prevLineEnd()-n),n),!0},Blockquote(t,e){let r=ve(e);return r<0?!1:(t.startContext(u.Blockquote,e.pos),t.addNode(u.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+r),null)},HorizontalRule(t,e){if(se(e,t,!1)<0)return!1;let r=t.lineStart+e.pos;return t.nextLine(),t.addNode(u.HorizontalRule,r),!0},BulletList(t,e){let r=ie(e,t,!1);if(r<0)return!1;t.block.type!=u.BulletList&&t.startContext(u.BulletList,e.basePos,e.next);let n=ce(e,e.pos+1);return t.startContext(u.ListItem,e.basePos,n-e.baseIndent),t.addNode(u.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},OrderedList(t,e){let r=oe(e,t,!1);if(r<0)return!1;t.block.type!=u.OrderedList&&t.startContext(u.OrderedList,e.basePos,e.text.charCodeAt(e.pos+r-1));let n=ce(e,e.pos+r);return t.startContext(u.ListItem,e.basePos,n-e.baseIndent),t.addNode(u.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},ATXHeading(t,e){let r=ye(e);if(r<0)return!1;let n=e.pos,s=t.lineStart+n,i=pe(e.text,e.text.length,n),o=i;for(;o>n&&e.text.charCodeAt(o-1)==e.next;)o--;(o==i||o==n||!x(e.text.charCodeAt(o-1)))&&(o=e.text.length);let a=t.buffer.write(u.HeaderMark,0,r).writeElements(t.parser.parseInline(e.text.slice(n+r+1,o),s+r+1),-s);o<e.text.length&&a.write(u.HeaderMark,o-n,i-n);let l=a.finish(u.ATXHeading1-1+r,e.text.length-n);return t.nextLine(),t.addNode(l,s),!0},HTMLBlock(t,e){let r=ze(e,t,!1);if(r<0)return!1;let n=t.lineStart+e.pos,s=ee[r][1],i=[],o=s!=W;for(;!s.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){o=!1;break}for(let h of e.markers)i.push(h)}o&&t.nextLine();let a=s==Oe?u.CommentBlock:s==Te?u.ProcessingInstructionBlock:u.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(i,-n).finish(a,l-n),n),!0},SetextHeading:void 0};class xt{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,r,n){if(this.stage==-1)return!1;let s=n.content+`
|
|
2
2
|
`+r.scrub(),i=this.advance(s);return i>-1&&i<s.length?this.complete(e,n,i):!1}finish(e,r){return(this.stage==2||this.stage==3)&&O(r.content,this.pos)==r.content.length?this.complete(e,r,r.content.length):!1}complete(e,r,n){return e.addLeafElement(r,k(u.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(e===!1&&(this.stage=-1),!1)}advance(e){for(;;){if(this.stage==-1)return-1;if(this.stage==0){if(!this.nextStage(Ze(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(k(u.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(qe(e,O(e,this.pos),this.start)))return-1}else if(this.stage==2){let r=O(e,this.pos),n=0;if(r>this.pos){let s=Qe(e,r,this.start);if(s){let i=G(e,s.to-this.start);i>0&&(this.nextStage(s),n=i)}}return n||(n=G(e,this.pos)),n>0&&n<e.length?n:-1}else return G(e,this.pos)}}}function G(t,e){for(;e<t.length;e++){let r=t.charCodeAt(e);if(r==10)break;if(!x(r))return-1}return e}class At{nextLine(e,r,n){let s=r.depth<e.stack.length?-1:Re(r),i=r.next;if(s<0)return!1;let o=k(u.HeaderMark,e.lineStart+r.pos,e.lineStart+s);return e.nextLine(),e.addLeafElement(n,k(i==61?u.SetextHeading1:u.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),o])),!0}finish(){return!1}}const De={LinkReference(t,e){return e.content.charCodeAt(0)==91?new xt(e):null},SetextHeading(){return new At}},Bt=[(t,e)=>ye(e)>=0,(t,e)=>Pe(e)>=0,(t,e)=>ve(e)>=0,(t,e)=>ie(e,t,!0)>=0,(t,e)=>oe(e,t,!0)>=0,(t,e)=>se(e,t,!0)>=0,(t,e)=>ze(e,t,!0)>=0],Et={text:"",end:0};class It{constructor(e,r,n,s){this.parser=e,this.input=r,this.ranges=s,this.line=new Ct,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=s[s.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=s[0].from,this.block=U.create(u.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new Pt(n,r):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let n=0;;){let s=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;n<e.markers.length&&(!s||e.markers[n].from<s.end);){let i=e.markers[n++];this.addNode(i.type,i.from,i.to)}if(!s)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let n of this.parser.blockParsers)if(n){let s=n(this,e);if(s!=!1){if(s==!0)return null;e.forward();continue e}}break}if(e.pos==e.text.length)return this.nextLine()?null:this.finish();let r=new St(this.lineStart+e.pos,e.text.slice(e.pos));for(let n of this.parser.leafBlockParsers)if(n){let s=n(this,r);s&&r.parsers.push(s)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,r))break e}for(let n of r.parsers)if(n.nextLine(this,e,r))return null;r.content+=`
|
|
3
3
|
`+e.scrub();for(let n of e.markers)r.marks.push(n)}return this.finishLeaf(r),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let r=this.fragments.takeNodes(this);return r?(this.absoluteLineStart+=r,this.lineStart=Ge(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0):!1}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let r=Et;if(r.end=e,e>=this.to)r.text="";else if(r.text=this.lineChunkAt(e),r.end+=r.text.length,this.ranges.length>1){let n=this.absoluteLineStart,s=this.rangeI;for(;this.ranges[s].to<r.end;){s++;let i=this.ranges[s].from,o=this.lineChunkAt(i);r.end=i+o.length,r.text=r.text.slice(0,this.ranges[s-1].to-n)+o,n=r.end-r.text.length}}return r}readLine(){let{line:e}=this,{text:r,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(r);e.depth<this.stack.length;e.depth++){let s=this.stack[e.depth],i=this.parser.skipContextMarkup[s.type];if(!i)throw new Error("Unhandled block context "+u[s.type]);let o=this.line.markers.length;if(!i(s,this,e)){this.line.markers.length>o&&(s.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let r=this.input.chunk(e),n;if(this.input.lineChunks)n=r==`
|
|
4
4
|
`?"":r;else{let s=r.indexOf(`
|