@myagentroam/server 0.15.36 → 0.15.38
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-BeqbciuI.js → AuditManagementPage-DqMDF5fM.js} +1 -1
- package/web/assets/{AuthEntryPanel-CNeb06bJ.js → AuthEntryPanel-C7oZYaVB.js} +1 -1
- package/web/assets/{CodeFileEditor-BD9Q2FT8.js → CodeFileEditor-DWNAnVY_.js} +3 -3
- package/web/assets/{CodeFileEditor-CyfrAw17.css → CodeFileEditor-hpOf3MxF.css} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-CV7peFuu.js → ConversationTemplateManagementPage-CyYfdv9v.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-DpCknfLI.js → ConversationTemplateManagementPage-D2l3ag1J.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-DT2d3RSM.js → EnterpriseUserManagementPage-qHEKpZlU.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-B5v-LVDz.js → EnvironmentSecretManager-DwnaUrO4.js} +1 -1
- package/web/assets/{FilePreviewState-DNOcmx0z.js → FilePreviewState-CQWcF1c-.js} +17 -17
- package/web/assets/{FilePreviewState-BU0yjB5B.css → FilePreviewState-D6LhvU1O.css} +1 -1
- package/web/assets/{LicenseManagementPage-DG-0GSMn.js → LicenseManagementPage-CGMVl6ow.js} +1 -1
- package/web/assets/{ManagementPagination-COLE1_kK.js → ManagementPagination-DpttvPI1.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-DBiPr92H.js → MarAgentModelManagementPage-BJbwLXje.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-BxBHFxLl.js → MarAgentModelManagementPage-ifx_Ux4t.js} +1 -1
- package/web/assets/{MarAlert-CRMMvRhX.js → MarAlert-Cgewf2zL.js} +1 -1
- package/web/assets/{MarCascader-kd6BkCRM.js → MarCascader-CsR4yA7z.js} +1 -1
- package/web/assets/{MarCheckTag-Il6qZWPM.js → MarCheckTag-ooaMWMCq.js} +1 -1
- package/web/assets/{MarCheckboxGroup-BqfFw7Ot.js → MarCheckboxGroup-BSWH4b7G.js} +1 -1
- package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-ChDGl-G_.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-Cn5hR7k6.js} +1 -1
- package/web/assets/{MarDatePicker-CEmN1jUV.js → MarDatePicker-CN2ULYaN.js} +1 -1
- package/web/assets/{MarDescriptionsItem-CNTNYzOv.js → MarDescriptionsItem-BlA7vrH0.js} +1 -1
- package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-DHWUsjAI.js → MarFormItem.vue_vue_type_script_setup_true_lang-BvPy7LIP.js} +1 -1
- package/web/assets/{MarInputNumber-HxuZkE3O.js → MarInputNumber-Pevkz79V.js} +1 -1
- package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-BEubaQT5.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-B4HSk0q_.js} +1 -1
- package/web/assets/{MarSwitch-D7HcGl3c.js → MarSwitch-DofXtqYq.js} +1 -1
- package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-CfKMFm9j.js → MarTableColumn.vue_vue_type_script_setup_true_lang-ioIxWmOB.js} +1 -1
- package/web/assets/{MarTabs-DEiKwIl3.js → MarTabs-B3veUlI5.js} +1 -1
- package/web/assets/{MarTag-CBNkORBK.js → MarTag-k9OwqKVH.js} +1 -1
- package/web/assets/{MarkdownFilePreview-D-MhknQD.js → MarkdownFilePreview-DuMP1n3Z.js} +2 -2
- package/web/assets/{McpDetailsDialog-DwRs7ZOd.js → McpDetailsDialog-g6NBwVN9.js} +1 -1
- package/web/assets/{McpSourceManagementPage-CwKg3Hfr.js → McpSourceManagementPage-5jAuMwwm.js} +1 -1
- package/web/assets/{McpSourceManagementPage-4ADn6xok.js → McpSourceManagementPage-rteSkqg_.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-BQZZR_At.js → NodeDetailsDialogs-CY5cVWFc.js} +1 -1
- package/web/assets/NodeManagementPage-C9whb5L4.js +1 -0
- package/web/assets/NodeManagementPage-Cz-e5P9P.js +1 -0
- package/web/assets/{OAuthManagementPage-C--nlHDY.js → OAuthManagementPage-BF7n7jsf.js} +1 -1
- package/web/assets/{OrganizationManagementPage-vEPEzbOi.js → OrganizationManagementPage-B_IvL5AT.js} +1 -1
- package/web/assets/{RemoteDesktopPage-HNxAjgtG.js → RemoteDesktopPage-MNB1jJzK.js} +1 -1
- package/web/assets/{ResourceManagementPanel-Bgnu5s8V.js → ResourceManagementPanel-B1c6dYBZ.js} +2 -2
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-8hNsq3B1.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-4IDwXfAb.js} +1 -1
- package/web/assets/SecretManagementPage-CBtdh_gj.js +1 -0
- package/web/assets/{SecretManagementPage-Bx7KGo4H.js → SecretManagementPage-CI_HCFsL.js} +1 -1
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-ofIpfsGv.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-CjGENssr.js} +1 -1
- package/web/assets/{SessionSharePage-BoWEvU18.js → SessionSharePage-CPEzBO6A.js} +2 -2
- package/web/assets/SettingsContent-0XoB4aUw.js +1 -0
- package/web/assets/{SettingsContent-C_P62lxB.js → SettingsContent-BzNyrEMi.js} +1 -1
- package/web/assets/{SkillCenterPage-DTQ0BrIJ.js → SkillCenterPage-B45-XMu0.js} +1 -1
- package/web/assets/SkillCenterPage-CCCiSeRl.js +1 -0
- package/web/assets/{SkillDetailsDialog-C8H6Oxze.js → SkillDetailsDialog-Dzp803jo.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-J7HsWeAV.js → SkillSourceManagementPage-CB3iHHoa.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-DZypLLWV.js → SkillSourceManagementPage-Cooddt7j.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-fH_RQ2q7.js → StandaloneFilePreviewPage-FW2hI84g.js} +1 -1
- package/web/assets/{SystemConfigurationPage-BqdDMxkc.js → SystemConfigurationPage-DraZ7Hhr.js} +1 -1
- package/web/assets/{SystemConfigurationPage-DEGpHyDY.js → SystemConfigurationPage-EJyToYSe.js} +1 -1
- package/web/assets/{SystemInformationPage-DXTFHBXm.js → SystemInformationPage-CsNZwsGn.js} +1 -1
- package/web/assets/{TerminalTabView-Bj85cKve.js → TerminalTabView-CDhuon7y.js} +13 -13
- package/web/assets/{TerminalTabView-BtJOS9p6.css → TerminalTabView-xTHeL-a0.css} +1 -1
- package/web/assets/WorkbenchPage-C_Sm4d_T.css +1 -0
- package/web/assets/WorkbenchPage-DhWMzh99.js +22 -0
- package/web/assets/WorkspaceManagementPage-DSy6tvKb.js +1 -0
- package/web/assets/WorkspaceManagementPage-DZ05gtk7.js +1 -0
- package/web/assets/{abnfDiagram-VCTEODGH-BjYIuxMx.js → abnfDiagram-VCTEODGH-2MJ4Ip2W.js} +1 -1
- package/web/assets/{arc-CCFyyTug.js → arc-BXICuuJ1.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-C897xx6e.js → architectureDiagram-5GKGNRK7-CnDMxxI-.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-CnYa5Het.js → blockDiagram-OSKFZWR5-Cv-Uf4CG.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-BAX8vKph.js → c4Diagram-7LVT6UL2-axqU0Ekj.js} +1 -1
- package/web/assets/{catalog-ownership-service-DyfEzLrG.js → catalog-ownership-service-B_Qxr6l9.js} +1 -1
- package/web/assets/{catalog-page-service-ehHquvuf.js → catalog-page-service-Dbac8khF.js} +1 -1
- package/web/assets/channel-COFArLfZ.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-gz-MsN1C.js → chunk-2Q5K7J3B-k-jVZqvU.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-DPGbuGAQ.js → chunk-5VM5RSS4-Cf6uFaOh.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-FmVLL7F8.js → chunk-F27PBJKO-COy5-ZVy.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-zQDidc9t.js → chunk-HLEWEB6X-yvws2dFv.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-CTfoCUYF.js → chunk-JWPE2WC7-CA9o3_xd.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-oTPmB9oJ.js → chunk-POPQ4Y6H-DCzpJwJA.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-DVpz_q3v.js → chunk-SVP7TREG-DHDbWJh0.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-omNW_xoP.js → chunk-XXDRQBXY-Cd6ms7v1.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-CDPeN04q.js → chunk-ZLD2IHE6-ClNU4dwF.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-CS8ETghZ.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-CS8ETghZ.js +1 -0
- package/web/assets/{conversation-history-DIdcVxUi.js → conversation-history-CSWv_vi2.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-CkbKBUvs.js → cose-bilkent-JH36ORCC-CfeZTYR9.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-B8OHqynC.js → cynefin-OW5HDTMX-CFBj-HPW.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-B9Ijm2T3.js → cynefinDiagram-5FMLGOSQ-C6tfmCdH.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-BstFzRXa.js → dagre-OS7QT2EB-CXptrNMV.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-BTvutZfd.js → diagram-S7CK7UJ4-BXKm3WTU.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-z_B9WSY3.js → diagram-UQ7AKVKN-Ny8UUYLV.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-BEP1cDXH.js → diagram-VSXAHHWV-CrHvitkW.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-CL3yRu0F.js → diagram-VX7I27RA-CzU7kDJA.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-BvpXZW1I.js → diagram-Z3DM3KII-Ck_1GJze.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-6aq5BM3H.js → ebnfDiagram-PWID7BFC-DllRunUs.js} +1 -1
- package/web/assets/{enterprise-management-service-CXXhF1uY.js → enterprise-management-service-Do8g6Oxt.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-uiJf6sI4.js → erDiagram-2YWLMYGG-DU8UZdZG.js} +1 -1
- package/web/assets/{error-presentation-B9Y_1Hvz.js → error-presentation-C9VINKZ3.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-QiV31Od0.js → flowDiagram-T62WH6J4-BJAUgb16.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-Ca0vm_60.js → ganttDiagram-EL5Y4UJY-EOdog-Hq.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-CXq5am7V.js → gitGraphDiagram-WWUBYQGX-BrP78CBc.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-B6xc06OG.js → hosted-conversation-template-client-j930RD6-.js} +1 -1
- package/web/assets/{index-C8ma7d5T.js → index-B2qsFEDJ.js} +1 -1
- package/web/assets/{index-CUpCZ8-R.js → index-B5Sc4j_R.js} +1 -1
- package/web/assets/{index-B__RITZr.js → index-BAhIYVFR.js} +1 -1
- package/web/assets/{index-DBxg4YI4.js → index-BYzuSmph.js} +1 -1
- package/web/assets/{index-DQeip8-_.js → index-BjZqydjd.js} +1 -1
- package/web/assets/{index-C7PfCFhO.js → index-Bnwo-9DH.js} +1 -1
- package/web/assets/{index-CTNdUN1l.js → index-BoEmwskY.js} +1 -1
- package/web/assets/{index-odrT3b4m.js → index-CIfIyfp7.js} +1 -1
- package/web/assets/{index-B93tEdlc.js → index-CPXkFHEg.js} +1 -1
- package/web/assets/{index-zaCs1vX2.js → index-CRBbHL92.js} +1 -1
- package/web/assets/{index-D7IDhmEx.css → index-Ccl_3vpL.css} +1 -1
- package/web/assets/{index-ti1bkCiU.js → index-CecFHLL3.js} +1 -1
- package/web/assets/{index-uNXYak9K.js → index-CjhUX0zF.js} +1 -1
- package/web/assets/{index-vZH-oEWv.js → index-Cu38VHwh.js} +1 -1
- package/web/assets/{index-DAMNauAW.js → index-D443KzZp.js} +1 -1
- package/web/assets/{index-CFWtHiwi.js → index-D5J-KW6Q.js} +1 -1
- package/web/assets/{index-BCZO9KNv.js → index-DeGl8RGR.js} +1 -1
- package/web/assets/{index-XDiNbw_a.js → index-Dg-lOHXo.js} +1 -1
- package/web/assets/{index-DR9bz9uh.js → index-DhuchUHx.js} +1 -1
- package/web/assets/{index-Om0_iVpk.js → index-DplbQVH-.js} +1 -1
- package/web/assets/{index-Bgm-ab5p.js → index-DtUhuNwa.js} +1 -1
- package/web/assets/{index-B8j0Kg2X.js → index-DxdrNkkQ.js} +1 -1
- package/web/assets/{index-BbXctbAw.js → index-Tl5b3IzU.js} +1 -1
- package/web/assets/{index-CUqSn9x0.js → index-VUibeb33.js} +1 -1
- package/web/assets/{index-DPZ9sHLL.js → index-laaHRnO5.js} +1 -1
- package/web/assets/{index-D4IfiJ-s.js → index-mjJ_43zw.js} +12 -12
- package/web/assets/{index-Cu_jYAzW.js → index-odq-4iaW.js} +1 -1
- package/web/assets/{index-DZ6h4F2J.js → index-w7tDUqKj.js} +1 -1
- package/web/assets/{infoDiagram-FKFFQAWI-Bv6XmZMv.js → infoDiagram-FKFFQAWI-C3D7996R.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-UQXVVNI-.js → ishikawaDiagram-5VMMS53U-TtKxKuR0.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-bFxUN-4D.js → journeyDiagram-EYS64GPL-D4cizUT_.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-BBUCSGrk.js → kanban-definition-UXKFOSKX-C_8jGzsm.js} +1 -1
- package/web/assets/{layout-DbiWv3PE.js → layout-BGVcc6i2.js} +1 -1
- package/web/assets/{linear-Bma3UBHp.js → linear-aqU30cat.js} +1 -1
- package/web/assets/{management-url-service-CJKq1tlc.js → management-url-service-vH1PePoo.js} +1 -1
- package/web/assets/{mar-agent-reasoning-effort-Cnaoq1G6.js → mar-agent-reasoning-effort-Bo_a1epR.js} +1 -1
- package/web/assets/{mcp-center-service-CWo5bJNg.js → mcp-center-service-BvG4c5on.js} +1 -1
- package/web/assets/{mermaid.core-Cuzw8A3t.js → mermaid.core-BLgpNmDP.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-trP65cHy.js → mindmap-definition-THT77NOG-DdS-Qd7h.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-D29suZRj.js → mobile-dialog-return-service-TKk1iEdJ.js} +1 -1
- package/web/assets/{oauth-callback-D_ZZf23g.js → oauth-callback-CoM4IlSQ.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-S7IFSkHL.js → pegDiagram-XKGWAZYB-C57PjGe5.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-QGyfT-iD.js → pieDiagram-E7YTZNPT-y1r53a0j.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-EXnYdvvS.js → quadrantDiagram-AXDQQJYC-DiEbzS4z.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-CEjKgr3u.js → railroadDiagram-O6MQD6OU-CvVxxmCH.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-BsBaLMzf.js → requirementDiagram-IS5BZ75X-DcjlNmJR.js} +1 -1
- package/web/assets/{runner-presentation-CEOmFjTM.js → runner-presentation-B0o1YT3R.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-BS5oXKA0.js → sankeyDiagram-P5KCCOFB-6CmId6pG.js} +1 -1
- package/web/assets/scoped-http-service-CtW6Bshq.css +1 -0
- package/web/assets/scoped-http-service-D5THUhbR.js +7 -0
- package/web/assets/{sequenceDiagram-WJ2MYXX4-DA2xcO1A.js → sequenceDiagram-WJ2MYXX4-GZhgSka6.js} +1 -1
- package/web/assets/{session-share-client-service-B_3KtGch.js → session-share-client-service-Csy7oOfG.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-Cyqnq-Zx.js → sizeCapture-INFHLROL-C51fkJaD.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-DGfqgRih.js → stateDiagram-XQSTLZYL-urLYbFwM.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-DizAVr1O.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-9s0LmGbW.js → swimlanes-V6O3JKXN-CkxEg7SG.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-_Q8Sg3BM.js +8 -0
- package/web/assets/{time-presentation-rDB4FuKM.js → time-presentation-6jrEch9v.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-DoOZ1ZV2.js → timeline-definition-24CTP7MA-DUkkF0MJ.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-CpzFy4cP.js → vennDiagram-4TSXK5OY-B6OLP_AD.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-DMIPPIEM.js → wardleyDiagram-VM6X3IG4-CR0il9FM.js} +1 -1
- package/web/assets/{workbench-live-service-Vbza89gj.js → workbench-live-service-B-Qb7OSy.js} +1 -1
- package/web/assets/{workbench-presentation-BkUrr4vm.js → workbench-presentation-DyIwA0DW.js} +1 -1
- package/web/assets/{workspace-direct-transfer-service-DhUYCqSi.js → workspace-direct-transfer-service-CtnHDRpY.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-Bjk_d6BZ.js → xychartDiagram-S5SC5T6Z-KKrc7uFb.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.BcYetm8_.js → app.C0AUmYR5.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.CJYByt59.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.D3vJwMU8.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.9RTqYAXS.js → VPLocalSearchBox.DKBM6pzV.js} +1 -1
- package/web/docs/assets/chunks/{theme.C_18L0mX.js → theme.BD1SKYnm.js} +2 -2
- package/web/docs/assets/{en-US_workbench_browser.md.C67U3jtG.js → en-US_workbench_browser.md.O9yT1ml0.js} +1 -1
- package/web/docs/assets/{en-US_workbench_browser.md.C67U3jtG.lean.js → en-US_workbench_browser.md.O9yT1ml0.lean.js} +1 -1
- package/web/docs/assets/{en-US_workbench_navigation.md.C2OB_1x_.js → en-US_workbench_navigation.md.2yp2s5Yu.js} +1 -1
- package/web/docs/assets/{en-US_workbench_navigation.md.C2OB_1x_.lean.js → en-US_workbench_navigation.md.2yp2s5Yu.lean.js} +1 -1
- package/web/docs/assets/{workbench_browser.md.CWy46wxO.js → workbench_browser.md.D6iTs8OB.js} +1 -1
- package/web/docs/assets/workbench_navigation.md.CZdxmg_7.js +1 -0
- package/web/docs/assets/{workbench_navigation.md.Cu-7qQ14.lean.js → workbench_navigation.md.CZdxmg_7.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 +3 -3
- 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 +3 -3
- 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/browser.html +5 -5
- 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 +3 -3
- 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 +5 -5
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +3 -3
- 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 +3 -3
- 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 +3 -3
- 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/browser.html +5 -5
- 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 +3 -3
- 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 +5 -5
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +3 -3
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +3 -3
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/NodeManagementPage-7G9gToWw.js +0 -1
- package/web/assets/NodeManagementPage-CNIb86jC.js +0 -1
- package/web/assets/SecretManagementPage-BrwLuylk.js +0 -1
- package/web/assets/SettingsContent-BvZaOzX3.js +0 -1
- package/web/assets/SkillCenterPage-CnEWxNLc.js +0 -1
- package/web/assets/WorkbenchPage-B-GyLVvZ.js +0 -22
- package/web/assets/WorkbenchPage-CDkN42-V.css +0 -1
- package/web/assets/WorkspaceManagementPage-CkRf2Upn.js +0 -1
- package/web/assets/WorkspaceManagementPage-Yn3oLJEf.js +0 -1
- package/web/assets/channel-CdMZgpPh.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-BjV7mGqt.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-BjV7mGqt.js +0 -1
- package/web/assets/scoped-http-service-C4CDUW1M.js +0 -7
- package/web/assets/scoped-http-service-D1jaFvno.css +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-MApLMzrD.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-DS-62p-y.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.DCOkvnxx.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.Dz0D5iRx.js +0 -1
- package/web/docs/assets/workbench_navigation.md.Cu-7qQ14.js +0 -1
- /package/web/docs/assets/{workbench_browser.md.CWy46wxO.lean.js → workbench_browser.md.D6iTs8OB.lean.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as Ht}from"./FilePreviewState-DNOcmx0z.js";import{b8 as Fe,b9 as oe,ba as k,bb as Ye,bc as ae,bd as $t,be as Jn,bf as qs,bg as Yn,bh as Gs,bi as zn,bj as pe,bk as js,bl as Os,bm as Qn,bn as Zn,bo as ei,bp as ti,bq as si,br as ht,bs as ni,bt as ii,bu as ri}from"./index-D4IfiJ-s.js";var Pt={},Dt={exports:{}},kt={};const be=Symbol(""),Ce=Symbol(""),pt=Symbol(""),Xe=Symbol(""),qt=Symbol(""),Ee=Symbol(""),Gt=Symbol(""),jt=Symbol(""),dt=Symbol(""),Et=Symbol(""),De=Symbol(""),mt=Symbol(""),Kt=Symbol(""),_t=Symbol(""),St=Symbol(""),gt=Symbol(""),Tt=Symbol(""),Nt=Symbol(""),It=Symbol(""),Wt=Symbol(""),Jt=Symbol(""),qe=Symbol(""),xe=Symbol(""),yt=Symbol(""),Ot=Symbol(""),ve=Symbol(""),ke=Symbol(""),At=Symbol(""),rt=Symbol(""),Ks=Symbol(""),ot=Symbol(""),Ue=Symbol(""),Ws=Symbol(""),Js=Symbol(""),Ct=Symbol(""),Ys=Symbol(""),zs=Symbol(""),bt=Symbol(""),Yt=Symbol(""),Ne={[be]:"Fragment",[Ce]:"Teleport",[pt]:"Suspense",[Xe]:"KeepAlive",[qt]:"BaseTransition",[Ee]:"openBlock",[Gt]:"createBlock",[jt]:"createElementBlock",[dt]:"createVNode",[Et]:"createElementVNode",[De]:"createCommentVNode",[mt]:"createTextVNode",[Kt]:"createStaticVNode",[_t]:"resolveComponent",[St]:"resolveDynamicComponent",[gt]:"resolveDirective",[Tt]:"resolveFilter",[Nt]:"withDirectives",[It]:"renderList",[Wt]:"renderSlot",[Jt]:"createSlots",[qe]:"toDisplayString",[xe]:"mergeProps",[yt]:"normalizeClass",[Ot]:"normalizeStyle",[ve]:"normalizeProps",[ke]:"guardReactiveProps",[At]:"toHandlers",[rt]:"camelize",[Ks]:"capitalize",[ot]:"toHandlerKey",[Ue]:"setBlockTracking",[Ws]:"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?Gt: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{r as Ht}from"./FilePreviewState-CQWcF1c-.js";import{bb as Fe,bc as oe,bd as k,be as Ye,bf as ae,bg as $t,bh as Jn,bi as qs,bj as Yn,bk as Gs,bl as zn,bm as pe,bn as js,bo as Os,bp as Qn,bq as Zn,br as ei,bs as ti,bt as si,bu as ht,bv as ni,bw as ii,bx as ri}from"./index-mjJ_43zw.js";var Pt={},Dt={exports:{}},kt={};const be=Symbol(""),Ce=Symbol(""),pt=Symbol(""),Xe=Symbol(""),qt=Symbol(""),Ee=Symbol(""),Gt=Symbol(""),jt=Symbol(""),dt=Symbol(""),Et=Symbol(""),De=Symbol(""),mt=Symbol(""),Kt=Symbol(""),_t=Symbol(""),St=Symbol(""),gt=Symbol(""),Tt=Symbol(""),Nt=Symbol(""),It=Symbol(""),Wt=Symbol(""),Jt=Symbol(""),qe=Symbol(""),xe=Symbol(""),yt=Symbol(""),Ot=Symbol(""),ve=Symbol(""),ke=Symbol(""),At=Symbol(""),rt=Symbol(""),Ks=Symbol(""),ot=Symbol(""),Ue=Symbol(""),Ws=Symbol(""),Js=Symbol(""),Ct=Symbol(""),Ys=Symbol(""),zs=Symbol(""),bt=Symbol(""),Yt=Symbol(""),Ne={[be]:"Fragment",[Ce]:"Teleport",[pt]:"Suspense",[Xe]:"KeepAlive",[qt]:"BaseTransition",[Ee]:"openBlock",[Gt]:"createBlock",[jt]:"createElementBlock",[dt]:"createVNode",[Et]:"createElementVNode",[De]:"createCommentVNode",[mt]:"createTextVNode",[Kt]:"createStaticVNode",[_t]:"resolveComponent",[St]:"resolveDynamicComponent",[gt]:"resolveDirective",[Tt]:"resolveFilter",[Nt]:"withDirectives",[It]:"renderList",[Wt]:"renderSlot",[Jt]:"createSlots",[qe]:"toDisplayString",[xe]:"mergeProps",[yt]:"normalizeClass",[Ot]:"normalizeStyle",[ve]:"normalizeProps",[ke]:"guardReactiveProps",[At]:"toHandlers",[rt]:"camelize",[Ks]:"capitalize",[ot]:"toHandlerKey",[Ue]:"setBlockTracking",[Ws]:"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?Gt: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 $=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 qt}}const Pi=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ge=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&&$(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 He(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&&Ge(e.content)&&!!t[e.content];case 8:return e.children.some(s=>Gs(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,$e=null,le="",H=null,S=null,W="",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);H={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=H.tag;H.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=H;const i=H.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){W+=X(e,t),re<0&&(re=e),_e=t},onattribentity(e,t,s){W+=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),H.props.some(n=>(n.type===7?n.rawName:n.name)===s)&&ie(2,t)},onattribend(e,t){if(H&&S){if(Se(S.loc,t),e!==0)if(W.includes("&")&&(W=y.decodeEntities(W,!0)),S.type===6)S.name==="class"&&(W=gn(W).trim()),e===1&&!W&&ie(13,t),S.value={type:2,content:W,loc:e===1?P(re,_e):P(re-1,_e+1)},M.inSFCRoot&&H.tag==="template"&&S.name==="lang"&&W&&W!=="html"&&M.enterRCDATA(lt("</template"),0);else{let s=0;S.exp=tt(W,!1,P(re,_e),0,s),S.name==="for"&&(S.forParseResult=$i(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")&&H.props.push(S)}W="",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=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Hi=/^\(|\)$/g;function $i(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(Hi,"").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&&(H.innerLoc=P(e+1,e+1)),Ut(H);const{tag:t,ns:s}=H;s===0&&y.isPreTag(t)&&rs++,y.isVoidTag(t)?et(H,e):(L.unshift(H),(s===1||s===2)&&(M.inXML=!0)),H=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]||$e,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,qi(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]||$e,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 qi(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 Gi=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&&Gi.has(t[s].name))return!0}return!1}function ji({tag:e,props:t}){if(y.isCustomElement(e))return!1;if(e==="component"||Ki(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 Ki(e){return e>64&&e<91}const Wi=/\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(Wi,`
|
|
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]||$e).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(),H=null,S=null,W="",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=$e=Zs([],e);return M.parse(le),n.loc=P(0,e.length),n.children=Sn(n.children),$e=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:G=zt,onWarn:x=sn,compatConfig:te}){const se=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),g={filename:t,selfName:se&&qs(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:G,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);Ke(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,Ke(i,t))}}function Ke(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(qe);break;case 9:for(let o=0;o<e.branches.length;o++)Ke(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,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-BD9Q2FT8.js";import{html as bt,htmlCompletionSource as wt}from"./index-DR9bz9uh.js";import"./FilePreviewState-DNOcmx0z.js";import"./workbench-live-service-Vbza89gj.js";import"./index-D4IfiJ-s.js";import"./mobile-dialog-return-service-D29suZRj.js";import"./code-navigation-target-BlnRe0-a.js";import"./index-DZ6h4F2J.js";import"./index-CTNdUN1l.js";import"./index-odrT3b4m.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-DWNAnVY_.js";import{html as bt,htmlCompletionSource as wt}from"./index-DhuchUHx.js";import"./FilePreviewState-CQWcF1c-.js";import"./workbench-live-service-B-Qb7OSy.js";import"./index-mjJ_43zw.js";import"./mobile-dialog-return-service-TKk1iEdJ.js";import"./code-navigation-target-BlnRe0-a.js";import"./index-w7tDUqKj.js";import"./index-BoEmwskY.js";import"./index-CIfIyfp7.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(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as K2,g as L_}from"./FilePreviewState-
|
|
1
|
+
import{c as K2,g as L_}from"./FilePreviewState-CQWcF1c-.js";import{r as B_,a as z_}from"./index-CjhUX0zF.js";function U_($o,Fc){for(var Oi=0;Oi<Fc.length;Oi++){const Ki=Fc[Oi];if(typeof Ki!="string"&&!Array.isArray(Ki)){for(const Xi in Ki)if(Xi!=="default"&&!(Xi in $o)){const eo=Object.getOwnPropertyDescriptor(Ki,Xi);eo&&Object.defineProperty($o,Xi,eo.get?eo:{enumerable:!0,get:()=>Ki[Xi]})}}}return Object.freeze(Object.defineProperty($o,Symbol.toStringTag,{value:"Module"}))}var Dc={exports:{}},H_=Dc.exports,X2;function W_(){return X2||(X2=1,(function($o,Fc){(function(Oi,Ki){$o.exports=Ki(B_(),z_())})(H_,(function(Oi,Ki){function Xi(t){return(Xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(t)}function eo(t){var r=(function(e,n){if(Xi(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var o=a.call(e,n);if(Xi(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)})(t,"string");return Xi(r)=="symbol"?r:r+""}function Kl(t,r,e){return(r=eo(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function Cd(t){if(Array.isArray(t))return t}function jc(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function Lc(t,r){if(t){if(typeof t=="string")return jc(t,r);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?jc(t,r):void 0}}function Ad(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function We(t,r){return Cd(t)||(function(e,n){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var o,s,i,u,l=[],f=!0,c=!1;try{if(i=(a=a.call(e)).next,n===0){if(Object(a)!==a)return;f=!1}else for(;!(f=(o=i.call(a)).done)&&(l.push(o.value),l.length!==n);f=!0);}catch(h){c=!0,s=h}finally{try{if(!f&&a.return!=null&&(u=a.return(),Object(u)!==u))return}finally{if(c)throw s}}return l}})(t,r)||Lc(t,r)||Ad()}function Ct(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function Od(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,eo(n.key),n)}}function At(t,r,e){return r&&Od(t.prototype,r),e&&Od(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Md(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rd(t){return Cd(t)||Md(t)||Lc(t)||Ad()}var Xl=(function(){function t(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ct(this,t),typeof r=="string"?(this.el=document.createElement(r),this.el.className=e):this.el=r,this.data={}}return At(t,[{key:"data",value:function(r,e){return e!==void 0?(this.data[r]=e,this):this.data[r]}},{key:"on",value:function(r,e){var n=Rd(r.split(".")),a=n[0],o=n.slice(1),s=a;return s==="mousewheel"&&/Firefox/i.test(window.navigator.userAgent)&&(s="DOMMouseScroll"),this.el.addEventListener(s,(function(i){e(i);for(var u=0;u<o.length;u+=1){var l=o[u];if(l==="left"&&i.button!==0||l==="right"&&i.button!==2)return;l==="stop"&&i.stopPropagation()}})),this}},{key:"offset",value:function(r){var e=this;if(r!==void 0)return Object.keys(r).forEach((function(a){e.css(a,"".concat(r[a],"px"))})),this;var n=this.el;return{top:n.offsetTop,left:n.offsetLeft,height:n.offsetHeight,width:n.offsetWidth}}},{key:"scroll",value:function(r){var e=this.el;return r!==void 0&&(r.left!==void 0&&(e.scrollLeft=r.left),r.top!==void 0&&(e.scrollTop=r.top)),{left:e.scrollLeft,top:e.scrollTop}}},{key:"box",value:function(){return this.el.getBoundingClientRect()}},{key:"parent",value:function(){return new t(this.el.parentNode)}},{key:"children",value:function(){for(var r=this,e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return arguments.length===0?this.el.childNodes:(n.forEach((function(o){return r.child(o)})),this)}},{key:"removeChild",value:function(r){this.el.removeChild(r)}},{key:"child",value:function(r){var e=r;return typeof r=="string"?e=document.createTextNode(r):r instanceof t&&(e=r.el),this.el.appendChild(e),this}},{key:"contains",value:function(r){return this.el.contains(r)}},{key:"className",value:function(r){return r!==void 0?(this.el.className=r,this):this.el.className}},{key:"addClass",value:function(r){return this.el.classList.add(r),this}},{key:"hasClass",value:function(r){return this.el.classList.contains(r)}},{key:"removeClass",value:function(r){return this.el.classList.remove(r),this}},{key:"toggle",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"active";return this.toggleClass(r)}},{key:"toggleClass",value:function(r){return this.el.classList.toggle(r)}},{key:"active",value:function(){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"active";return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.addClass(r):this.removeClass(r),this}},{key:"checked",value:function(){var r=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.active(r,"checked"),this}},{key:"disabled",value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.addClass("disabled"):this.removeClass("disabled"),this}},{key:"attr",value:function(r,e){var n=this;if(e!==void 0)this.el.setAttribute(r,e);else{if(typeof r=="string")return this.el.getAttribute(r);Object.keys(r).forEach((function(a){n.el.setAttribute(a,r[a])}))}return this}},{key:"removeAttr",value:function(r){return this.el.removeAttribute(r),this}},{key:"html",value:function(r){return r!==void 0?(this.el.innerHTML=r,this):this.el.innerHTML}},{key:"val",value:function(r){return r!==void 0?(this.el.value=r,this):this.el.value}},{key:"focus",value:function(){this.el.focus()}},{key:"cssRemoveKeys",value:function(){for(var r=this,e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return n.forEach((function(o){return r.el.style.removeProperty(o)})),this}},{key:"css",value:function(r,e){var n=this;return e===void 0&&typeof r!="string"?(Object.keys(r).forEach((function(a){n.el.style[a]=r[a]})),this):e!==void 0?(this.el.style[r]=e,this):this.el.style[r]}},{key:"computedStyle",value:function(){return window.getComputedStyle(this.el,null)}},{key:"show",value:function(){return this.css("display","block"),this}},{key:"hide",value:function(){return this.css("display","none"),this}}])})(),qt=function(t){return new Xl(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:"")};function or(t){return(function(r){if(Array.isArray(r))return jc(r)})(t)||Md(t)||Lc(t)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}var ro=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function Id(t){for(var r="",e=t;e>=ro.length;)e/=ro.length,e-=1,r+=ro[parseInt(e,10)%ro.length];return r+=ro[t%ro.length]}function J2(t){for(var r=0,e=0;e!==t.length;++e)r=26*r+t.charCodeAt(e)-64;return r-1}function Xa(t){for(var r="",e="",n=0;n<t.length;n+=1)t.charAt(n)>="0"&&t.charAt(n)<="9"?e+=t.charAt(n):r+=t.charAt(n);return[J2(r),parseInt(e,10)-1]}function Aa(t,r){return"".concat(Id(t)).concat(r+1)}function qo(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0};if(r===0&&e===0)return t;var a=We(Xa(t),2),o=a[0],s=a[1];return n(o,s)?Aa(o+r,s+e):t}var zn=(function(){function t(r,e,n,a){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;Ct(this,t),this.sri=r,this.sci=e,this.eri=n,this.eci=a,this.w=o,this.h=s}return At(t,[{key:"set",value:function(r,e,n,a){this.sri=r,this.sci=e,this.eri=n,this.eci=a}},{key:"multiple",value:function(){return this.eri-this.sri>0||this.eci-this.sci>0}},{key:"includes",value:function(){for(var r=0,e=0,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];if(a.length===1){var s=We(Xa(a[0]),2);e=s[0],r=s[1]}else a.length===2&&(r=a[0],e=a[1]);var i=this.sri,u=this.sci,l=this.eri,f=this.eci;return i<=r&&r<=l&&u<=e&&e<=f}},{key:"each",value:function(r){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return!0},n=this.sri,a=this.sci,o=this.eri,s=this.eci,i=n;i<=o;i+=1)if(e(i))for(var u=a;u<=s;u+=1)r(i,u)}},{key:"contains",value:function(r){return this.sri<=r.sri&&this.sci<=r.sci&&this.eri>=r.eri&&this.eci>=r.eci}},{key:"within",value:function(r){return this.sri>=r.sri&&this.sci>=r.sci&&this.eri<=r.eri&&this.eci<=r.eci}},{key:"disjoint",value:function(r){return this.sri>r.eri||this.sci>r.eci||r.sri>this.eri||r.sci>this.eci}},{key:"intersects",value:function(r){return this.sri<=r.eri&&this.sci<=r.eci&&r.sri<=this.eri&&r.sci<=this.eci}},{key:"union",value:function(r){var e=this.sri,n=this.sci,a=this.eri,o=this.eci;return new t(r.sri<e?r.sri:e,r.sci<n?r.sci:n,r.eri>a?r.eri:a,r.eci>o?r.eci:o)}},{key:"difference",value:function(r){var e=[],n=function(h,d,p,m){e.push(new t(h,d,p,m))},a=this.sri,o=this.sci,s=this.eri,i=this.eci,u=r.sri-a,l=r.sci-o,f=s-r.eri,c=i-r.eci;return u>0?(n(a,o,r.sri-1,i),f>0?(n(r.eri+1,o,s,i),l>0&&n(r.sri,o,r.eri,r.sci-1),c>0&&n(r.sri,r.eci+1,r.eri,i)):(l>0&&n(r.sri,o,s,r.sci-1),c>0&&n(r.sri,r.eci+1,s,i))):f>0&&(n(r.eri+1,o,s,i),l>0&&n(a,o,r.eri,r.sci-1),c>0&&n(a,r.eci+1,r.eri,i)),l>0?(n(a,o,s,r.sci-1),c>0?(n(a,r.eri+1,s,i),u>0&&n(a,r.sci,r.sri-1,r.eci),f>0&&n(r.sri+1,r.sci,s,r.eci)):(u>0&&n(a,r.sci,r.sri-1,i),f>0&&n(r.sri+1,r.sci,s,i))):c>0&&(n(s,r.eci+1,s,i),u>0&&n(a,o,r.sri-1,r.eci),f>0&&n(r.eri+1,o,s,r.eci)),e}},{key:"size",value:function(){return[this.eri-this.sri+1,this.eci-this.sci+1]}},{key:"toString",value:function(){var r=this.sri,e=this.sci,n=this.eri,a=this.eci,o=Aa(e,r);return this.multiple()&&(o="".concat(o,":").concat(Aa(a,n))),o}},{key:"clone",value:function(){return new t(this.sri,this.sci,this.eri,this.eci,this.w,this.h)}},{key:"equals",value:function(r){return this.eri===r.eri&&this.eci===r.eci&&this.sri===r.sri&&this.sci===r.sci}}],[{key:"valueOf",value:function(r){var e=r.split(":"),n=We(Xa(e[0]),2),a=n[0],o=n[1],s=o,i=a;if(e.length>1){var u=We(Xa(e[1]),2);i=u[0],s=u[1]}return new t(o,a,s,i)}}])})(),Q2=(function(){return At((function t(){Ct(this,t),this.range=new zn(0,0,0,0),this.ri=0,this.ci=0}),[{key:"multiple",value:function(){return this.range.multiple()}},{key:"setIndexes",value:function(t,r){this.ri=t,this.ci=r}},{key:"size",value:function(){return this.range.size()}}])})(),tb=At((function t(){Ct(this,t),this.x=0,this.y=0,this.ri=0,this.ci=0})),eb=(function(){return At((function t(){Ct(this,t),this.undoItems=[],this.redoItems=[]}),[{key:"add",value:function(t){this.undoItems.push(JSON.stringify(t)),this.redoItems=[]}},{key:"canUndo",value:function(){return this.undoItems.length>0}},{key:"canRedo",value:function(){return this.redoItems.length>0}},{key:"undo",value:function(t,r){var e=this.undoItems,n=this.redoItems;this.canUndo()&&(n.push(JSON.stringify(t)),r(JSON.parse(e.pop())))}},{key:"redo",value:function(t,r){var e=this.undoItems,n=this.redoItems;this.canRedo()&&(e.push(JSON.stringify(t)),r(JSON.parse(n.pop())))}}])})(),rb=(function(){return At((function t(){Ct(this,t),this.range=null,this.state="clear"}),[{key:"copy",value:function(t){return this.range=t,this.state="copy",this}},{key:"cut",value:function(t){return this.range=t,this.state="cut",this}},{key:"isCopy",value:function(){return this.state==="copy"}},{key:"isCut",value:function(){return this.state==="cut"}},{key:"isClear",value:function(){return this.state==="clear"}},{key:"clear",value:function(){this.range=null,this.state="clear"}}])})(),Nd=(function(){return At((function t(r,e,n){Ct(this,t),this.ci=r,this.operator=e,this.value=n}),[{key:"set",value:function(t,r){this.operator=t,this.value=r}},{key:"includes",value:function(t){var r=this.operator,e=this.value;return r==="all"||r==="in"&&e.includes(t)}},{key:"vlength",value:function(){var t=this.operator,r=this.value;return t==="in"?r.length:0}},{key:"getData",value:function(){return{ci:this.ci,operator:this.operator,value:this.value}}}])})(),Pd=(function(){return At((function t(r,e){Ct(this,t),this.ci=r,this.order=e}),[{key:"asc",value:function(){return this.order==="asc"}},{key:"desc",value:function(){return this.order==="desc"}}])})(),nb=(function(){return At((function t(){Ct(this,t),this.ref=null,this.filters=[],this.sort=null}),[{key:"setData",value:function(t){var r=t.ref,e=t.filters,n=t.sort;r!=null&&(this.ref=r,this.filters=e.map((function(a){return new Nd(a.ci,a.operator,a.value)})),n&&(this.sort=new Pd(n.ci,n.order)))}},{key:"getData",value:function(){if(this.active()){var t=this.ref,r=this.filters,e=this.sort;return{ref:t,filters:r.map((function(n){return n.getData()})),sort:e}}return{}}},{key:"addFilter",value:function(t,r,e){var n=this.getFilter(t);n==null?this.filters.push(new Nd(t,r,e)):n.set(r,e)}},{key:"setSort",value:function(t,r){this.sort=r?new Pd(t,r):null}},{key:"includes",value:function(t,r){return!!this.active()&&this.hrange().includes(t,r)}},{key:"getSort",value:function(t){var r=this.sort;return r&&r.ci===t?r:null}},{key:"getFilter",value:function(t){for(var r=this.filters,e=0;e<r.length;e+=1)if(r[e].ci===t)return r[e];return null}},{key:"filteredRows",value:function(t){var r=new Set,e=new Set;if(this.active())for(var n=this.range(),a=n.sri,o=n.eri,s=this.filters,i=a+1;i<=o;i+=1)for(var u=0;u<s.length;u+=1){var l=s[u],f=t(i,l.ci),c=f?f.text:"";if(!l.includes(c)){r.add(i);break}e.add(i)}return{rset:r,fset:e}}},{key:"items",value:function(t,r){var e={};if(this.active())for(var n=this.range(),a=n.sri,o=n.eri,s=a+1;s<=o;s+=1){var i=r(s,t);if(i===null||/^\s*$/.test(i.text))e[""]=(e[""]||0)+1;else{var u=i.text,l=(e[u]||0)+1;e[u]=l}}return e}},{key:"range",value:function(){return zn.valueOf(this.ref)}},{key:"hrange",value:function(){var t=this.range();return t.eri=t.sri,t}},{key:"clear",value:function(){this.ref=null,this.filters=[],this.sort=null}},{key:"active",value:function(){return this.ref!==null}}])})(),ib=(function(){function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ct(this,t),this._=r}return At(t,[{key:"forEach",value:function(r){this._.forEach(r)}},{key:"deleteWithin",value:function(r){this._=this._.filter((function(e){return!e.within(r)}))}},{key:"getFirstIncludes",value:function(r,e){for(var n=0;n<this._.length;n+=1){var a=this._[n];if(a.includes(r,e))return a}return null}},{key:"filterIntersects",value:function(r){return new t(this._.filter((function(e){return e.intersects(r)})))}},{key:"intersects",value:function(r){for(var e=0;e<this._.length;e+=1)if(this._[e].intersects(r))return!0;return!1}},{key:"union",value:function(r){var e=r;return this._.forEach((function(n){n.intersects(e)&&(e=n.union(e))})),e}},{key:"add",value:function(r){this.deleteWithin(r),this._.push(r)}},{key:"shift",value:function(r,e,n,a){this._.forEach((function(o){var s=o.sri,i=o.sci,u=o.eri,l=o.eci,f=o;r==="row"?s>=e?(f.sri+=n,f.eri+=n):s<e&&e<=u&&(f.eri+=n,a(s,i,n,0)):r==="column"&&(i>=e?(f.sci+=n,f.eci+=n):i<e&&e<=l&&(f.eci+=n,a(s,i,0,n)))}))}},{key:"move",value:function(r,e,n){this._.forEach((function(a){var o=a;o.within(r)&&(o.eri+=e,o.sri+=e,o.sci+=n,o.eci+=n)}))}},{key:"setData",value:function(r){return this._=r.map((function(e){return zn.valueOf(e)})),this}},{key:"getData",value:function(){return this._.map((function(r){return r.toString()}))}}])})(),Dd=function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length,e=new Array(r>1?r-1:0),n=1;n<r;n++)e[n-1]=arguments[n];return e.forEach((function(a){Object.keys(a).forEach((function(o){var s=a[o];typeof s=="string"||typeof s=="number"||typeof s=="boolean"?t[o]=s:typeof s!="function"&&!Array.isArray(s)&&s instanceof Object?(t[o]=t[o]||{},Dd(t[o],s)):t[o]=s}))})),t};function Bc(t){for(var r="".concat(t),e=0,n=!1,a=0;a<r.length;a+=1)n===!0&&(e+=1),r.charAt(a)==="."&&(n=!0);return e}function xs(t,r,e){if(Number.isNaN(r)||Number.isNaN(e))return r+t+e;var n=Bc(r),a=Bc(e),o=Number(r),s=Number(e),i=0;if(t==="-")i=o-s;else if(t==="+")i=o+s;else if(t==="*")i=o*s;else if(t==="/")return Bc(i=o/s)>5?i.toFixed(2):i;return i.toFixed(Math.max(n,a))}const pi={cloneDeep:function(t){return JSON.parse(JSON.stringify(t))},merge:function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return Dd.apply(void 0,[{}].concat(r))},equals:function t(r,e){var n=Object.keys(r);if(n.length!==Object.keys(e).length)return!1;for(var a=0;a<n.length;a+=1){var o=n[a],s=r[o],i=e[o];if(i===void 0)return!1;if(typeof s=="string"||typeof s=="number"||typeof s=="boolean"){if(s!==i)return!1}else if(Array.isArray(s)){if(s.length!==i.length)return!1;for(var u=0;u<s.length;u+=1)if(!t(s[u],i[u]))return!1}else if(typeof s!="function"&&!Array.isArray(s)&&s instanceof Object&&!t(s,i))return!1}return!0},arrayEquals:function(t,r){if(t.length!==r.length)return!1;for(var e=0;e<t.length;e+=1)if(t[e]!==r[e])return!1;return!0},sum:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(a){return a},e=0,n=0;return Object.keys(t).forEach((function(a){e+=r(t[a],a),n+=1})),[e,n]},rangeEach:function(t,r,e){for(var n=t;n<r;n+=1)e(n)},rangeSum:function(t,r,e){for(var n=0,a=t;a<r;a+=1)n+=e(a);return n},rangeReduceIf:function(t,r,e,n,a,o){for(var s=e,i=n,u=t;u<r&&!(s>a);u+=1)s+=i=o(u);return[u,s-i,i]},deleteProperty:function(t,r){var e=t["".concat(r)];return delete t["".concat(r)],e},numberCalc:xs};var ab=(function(){return At((function t(r){var e=r.len,n=r.height;Ct(this,t),this._={},this.len=e,this.height=n}),[{key:"getHeight",value:function(t){if(this.isHide(t))return 0;var r=this.get(t);return r&&r.height?r.height:this.height}},{key:"setHeight",value:function(t,r){this.getOrNew(t).height=r}},{key:"unhide",value:function(t){for(var r=t;r>0&&(r-=1,this.isHide(r));)this.setHide(r,!1)}},{key:"isHide",value:function(t){var r=this.get(t);return r&&r.hide}},{key:"setHide",value:function(t,r){var e=this.getOrNew(t);r===!0?e.hide=!0:delete e.hide}},{key:"setStyle",value:function(t,r){this.getOrNew(t).style=r}},{key:"sumHeight",value:function(t,r,e){var n=this;return pi.rangeSum(t,r,(function(a){return e&&e.has(a)?0:n.getHeight(a)}))}},{key:"totalHeight",value:function(){return this.sumHeight(0,this.len)}},{key:"get",value:function(t){return this._[t]}},{key:"getOrNew",value:function(t){return this._[t]=this._[t]||{cells:{}},this._[t]}},{key:"getCell",value:function(t,r){var e=this.get(t);return e!==void 0&&e.cells!==void 0&&e.cells[r]!==void 0?e.cells[r]:null}},{key:"getCellMerge",value:function(t,r){var e=this.getCell(t,r);return e&&e.merge?e.merge:[0,0]}},{key:"getCellOrNew",value:function(t,r){var e=this.getOrNew(t);return e.cells[r]=e.cells[r]||{},e.cells[r]}},{key:"setCell",value:function(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"all",a=this.getOrNew(t);n==="all"?a.cells[r]=e:n==="text"?(a.cells[r]=a.cells[r]||{},a.cells[r].text=e.text):n==="format"&&(a.cells[r]=a.cells[r]||{},a.cells[r].style=e.style,e.merge&&(a.cells[r].merge=e.merge))}},{key:"setCellText",value:function(t,r,e){var n=this.getCellOrNew(t,r);n.editable!==!1&&(n.text=e)}},{key:"copyPaste",value:function(t,r,e){var n=this,a=arguments.length>3&&arguments[3]!==void 0&&arguments[3],o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){},s=t.sri,i=t.sci,u=t.eri,l=t.eci,f=r.sri,c=r.sci,h=r.eri,d=r.eci,p=We(t.size(),2),m=p[0],v=p[1],b=We(r.size(),2),g=b[0],y=b[1],k=!0,S=0;(h<s||d<i)&&(k=!1,S=h<s?g:y);for(var C=s;C<=u;C+=1)if(this._[C]){for(var R=i;R<=l;R+=1)if(this._[C].cells&&this._[C].cells[R])for(var F=f;F<=h;F+=m)for(var j=function(){var L=F+(C-s),V=B+(R-i),A=pi.cloneDeep(n._[C].cells[R]);if(a&&A&&A.text&&A.text.length>0){var I=A.text,_=B-c+(F-f)+2;if(k||(_-=S+1),I[0]==="=")A.text=I.replace(/[a-zA-Z]{1,3}\d+/g,(function(E){var O=0,D=0;return s===f?O=_-1:D=_-1,/^\d+$/.test(E)?E:qo(E,O,D)}));else if(m<=1&&v>1&&(f>u||h<s)||v<=1&&m>1&&(c>l||d<i)||m<=1&&v<=1){var x=/[\\.\d]+$/.exec(I);if(x!==null){var T=Number(x[0])+_-1;A.text=I.substring(0,x.index)+T}}}n.setCell(L,V,A,e),o(L,V,A)},B=c;B<=d;B+=v)j()}}},{key:"cutPaste",value:function(t,r){var e=this,n={};this.each((function(a){e.eachCells(a,(function(o){var s=parseInt(a,10),i=parseInt(o,10);t.includes(a,o)&&(s=r.sri+(s-t.sri),i=r.sci+(i-t.sci)),n[s]=n[s]||{cells:{}},n[s].cells[i]=e._[a].cells[o]}))})),this._=n}},{key:"paste",value:function(t,r){var e=this;if(!(t.length<=0)){var n=r.sri,a=r.sci;t.forEach((function(o,s){var i=n+s;o.forEach((function(u,l){var f=a+l;e.setCellText(i,f,u)}))}))}}},{key:"insert",value:function(t){var r=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,n={};this.each((function(a,o){var s=parseInt(a,10);s>=t&&(s+=e,r.eachCells(a,(function(i,u){u.text&&u.text[0]==="="&&(u.text=u.text.replace(/[a-zA-Z]{1,3}\d+/g,(function(l){return qo(l,0,e,(function(f,c){return c>=t}))})))}))),n[s]=o})),this._=n,this.len+=e}},{key:"delete",value:function(t,r){var e=this,n=r-t+1,a={};this.each((function(o,s){var i=parseInt(o,10);i<t?a[i]=s:o>r&&(a[i-n]=s,e.eachCells(o,(function(u,l){l.text&&l.text[0]==="="&&(l.text=l.text.replace(/[a-zA-Z]{1,3}\d+/g,(function(f){return qo(f,0,-n,(function(c,h){return h>r}))})))})))})),this._=a,this.len-=n}},{key:"insertColumn",value:function(t){var r=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.each((function(n,a){var o={};r.eachCells(n,(function(s,i){var u=parseInt(s,10);u>=t&&(u+=e,i.text&&i.text[0]==="="&&(i.text=i.text.replace(/[a-zA-Z]{1,3}\d+/g,(function(l){return qo(l,e,0,(function(f){return f>=t}))})))),o[u]=i})),a.cells=o}))}},{key:"deleteColumn",value:function(t,r){var e=this,n=r-t+1;this.each((function(a,o){var s={};e.eachCells(a,(function(i,u){var l=parseInt(i,10);l<t?s[l]=u:l>r&&(s[l-n]=u,u.text&&u.text[0]==="="&&(u.text=u.text.replace(/[a-zA-Z]{1,3}\d+/g,(function(f){return qo(f,-n,0,(function(c){return c>r}))}))))})),o.cells=s}))}},{key:"deleteCells",value:function(t){var r=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";t.each((function(n,a){r.deleteCell(n,a,e)}))}},{key:"deleteCell",value:function(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"all",n=this.get(t);if(n!==null){var a=this.getCell(t,r);a!==null&&a.editable!==!1&&(e==="all"?delete n.cells[r]:e==="text"?(a.text&&delete a.text,a.value&&delete a.value):e==="format"?(a.style!==void 0&&delete a.style,a.merge&&delete a.merge):e==="merge"&&a.merge&&delete a.merge)}}},{key:"maxCell",value:function(){var t=Object.keys(this._),r=t[t.length-1],e=this._[r];if(e){var n=e.cells,a=Object.keys(n),o=a[a.length-1];return[parseInt(r,10),parseInt(o,10)]}return[0,0]}},{key:"each",value:function(t){Object.entries(this._).forEach((function(r){var e=We(r,2),n=e[0],a=e[1];t(n,a)}))}},{key:"eachCells",value:function(t,r){this._[t]&&this._[t].cells&&Object.entries(this._[t].cells).forEach((function(e){var n=We(e,2),a=n[0],o=n[1];r(a,o)}))}},{key:"setData",value:function(t){t.len&&(this.len=t.len,delete t.len),this._=t}},{key:"getData",value:function(){var t=this.len;return Object.assign({len:t},this._)}}])})(),sb=(function(){return At((function t(r){var e=r.len,n=r.width,a=r.indexWidth,o=r.minWidth;Ct(this,t),this._={},this.len=e,this.width=n,this.indexWidth=a,this.minWidth=o}),[{key:"setData",value:function(t){t.len&&(this.len=t.len,delete t.len),this._=t}},{key:"getData",value:function(){var t=this.len;return Object.assign({len:t},this._)}},{key:"getWidth",value:function(t){if(this.isHide(t))return 0;var r=this._[t];return r&&r.width?r.width:this.width}},{key:"getOrNew",value:function(t){return this._[t]=this._[t]||{},this._[t]}},{key:"setWidth",value:function(t,r){this.getOrNew(t).width=r}},{key:"unhide",value:function(t){for(var r=t;r>0&&(r-=1,this.isHide(r));)this.setHide(r,!1)}},{key:"isHide",value:function(t){var r=this._[t];return r&&r.hide}},{key:"setHide",value:function(t,r){var e=this.getOrNew(t);r===!0?e.hide=!0:delete e.hide}},{key:"setStyle",value:function(t,r){this.getOrNew(t).style=r}},{key:"sumWidth",value:function(t,r){var e=this;return pi.rangeSum(t,r,(function(n){return e.getWidth(n)}))}},{key:"totalWidth",value:function(){return this.sumWidth(0,this.len)}}])})();function ob(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=(function(u,l){if(u){if(typeof u=="string")return Fd(u,l);var f={}.toString.call(u).slice(8,-1);return f==="Object"&&u.constructor&&(f=u.constructor.name),f==="Map"||f==="Set"?Array.from(u):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?Fd(u,l):void 0}})(t))||r){e&&(t=e);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,s=!0,i=!1;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return s=u.done,u},e:function(u){i=!0,o=u},f:function(){try{s||e.return==null||e.return()}finally{if(i)throw o}}}}function Fd(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}var zc=["en"],jd={en:{toolbar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font",fontSize:"Font size",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More"},contextmenu:{copy:"Copy",cut:"Cut",paste:"Paste",pasteValue:"Paste values only",pasteFormat:"Paste format only",hide:"Hide",insertRow:"Insert row",insertColumn:"Insert column",deleteSheet:"Delete",deleteRow:"Delete row",deleteColumn:"Delete column",deleteCell:"Delete cell",deleteCellText:"Delete cell text",validation:"Data validations",cellprintable:"Enable export",cellnonprintable:"Disable export",celleditable:"Enable editing",cellnoneditable:"Disable editing"},print:{size:"Paper size",orientation:"Page orientation",orientations:["Landscape","Portrait"]},format:{normal:"Normal",text:"Plain Text",number:"Number",percent:"Percent",rmb:"RMB",usd:"USD",eur:"EUR",date:"Date",time:"Time",datetime:"Date time",duration:"Duration"},formula:{sum:"Sum",average:"Average",max:"Max",min:"Min",_if:"IF",and:"AND",or:"OR",concat:"Concat"},validation:{required:"it must be required",notMatch:"it not match its validation rule",between:"it is between {} and {}",notBetween:"it is not between {} and {}",notIn:"it is not in list",equal:"it equal to {}",notEqual:"it not equal to {}",lessThan:"it less than {}",lessThanEqual:"it less than or equal to {}",greaterThan:"it greater than {}",greaterThanEqual:"it greater than or equal to {}"},error:{pasteForMergedCell:"Unable to do this for merged cells"},calendar:{weeks:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"]},button:{next:"Next",cancel:"Cancel",remove:"Remove",save:"Save",ok:"OK"},sort:{desc:"Sort Z -> A",asc:"Sort A -> Z"},filter:{empty:"empty"},dataValidation:{mode:"Mode",range:"Cell Range",criteria:"Criteria",modeType:{cell:"Cell",column:"Colun",row:"Row"},type:{list:"List",number:"Number",date:"Date",phone:"Phone",email:"Email"},operator:{be:"between",nbe:"not betwwen",lt:"less than",lte:"less than or equal to",gt:"greater than",gte:"greater than or equal to",eq:"equal to",neq:"not equal to"}}}};function Ld(t,r){if(r){var e,n=ob(zc);try{for(n.s();!(e=n.n()).done;){var a=e.value;if(!r[a])break;for(var o=r[a],s=t.match(/(?:\\.|[^.])+/g),i=0;i<s.length;i+=1){var u=o[s[i]];if(!u)break;if(i===s.length-1)return u;o=u}}}catch(l){n.e(l)}finally{n.f()}}}function fn(t){var r=Ld(t,jd);return!r&&window&&window.x_spreadsheet&&window.x_spreadsheet.$messages&&(r=Ld(t,window.x_spreadsheet.$messages)),r||""}function yr(t){return function(){return fn(t)}}function Bd(t,r){arguments.length>2&&arguments[2]!==void 0&&arguments[2]?zc=[t]:zc.unshift(t),r&&(jd[t]=r)}var zd={phone:/^[1-9]\d{10}$/,email:/w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*/};function Zi(t,r){var e="";if(!t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];e=fn.apply(void 0,["validation.".concat(r)].concat(a))}return[t,e]}var Ud=(function(){return At((function t(r,e,n,a){Ct(this,t),this.required=e,this.value=n,this.type=r,this.operator=a,this.message=""}),[{key:"parseValue",value:function(t){var r=this.type;return r==="date"?new Date(t):r==="number"?Number(t):t}},{key:"equals",value:function(t){var r=this.type===t.type&&this.required===t.required&&this.operator===t.operator;return r&&(r=Array.isArray(this.value)?pi.arrayEquals(this.value,t.value):this.value===t.value),r}},{key:"values",value:function(){return this.value.split(",")}},{key:"validate",value:function(t){var r=this.required,e=this.operator,n=this.value,a=this.type;if(r&&/^\s*$/.test(t))return Zi(!1,"required");if(/^\s*$/.test(t))return[!0];if(zd[a]&&!zd[a].test(t))return Zi(!1,"notMatch");if(a==="list")return Zi(this.values().includes(t),"notIn");if(e){var o=this.parseValue(t);if(e==="be"){var s=We(n,2),i=s[0],u=s[1];return Zi(o>=this.parseValue(i)&&o<=this.parseValue(u),"between",i,u)}if(e==="nbe"){var l=We(n,2),f=l[0],c=l[1];return Zi(o<this.parseValue(f)||o>this.parseValue(c),"notBetween",f,c)}if(e==="eq")return Zi(o===this.parseValue(n),"equal",n);if(e==="neq")return Zi(o!==this.parseValue(n),"notEqual",n);if(e==="lt")return Zi(o<this.parseValue(n),"lessThan",n);if(e==="lte")return Zi(o<=this.parseValue(n),"lessThanEqual",n);if(e==="gt")return Zi(o>this.parseValue(n),"greaterThan",n);if(e==="gte")return Zi(o>=this.parseValue(n),"greaterThanEqual",n)}return[!0]}}])})(),Hd=(function(){function t(r,e,n){Ct(this,t),this.refs=e,this.mode=r,this.validator=n}return At(t,[{key:"includes",value:function(r,e){for(var n=this.refs,a=0;a<n.length;a+=1)if(zn.valueOf(n[a]).includes(r,e))return!0;return!1}},{key:"addRef",value:function(r){this.remove(zn.valueOf(r)),this.refs.push(r)}},{key:"remove",value:function(r){var e=[];this.refs.forEach((function(n){var a=zn.valueOf(n);a.intersects(r)?a.difference(r).forEach((function(o){return e.push(o.toString())})):e.push(n)})),this.refs=e}},{key:"getData",value:function(){var r=this.refs,e=this.mode,n=this.validator;return{refs:r,mode:e,type:n.type,required:n.required,operator:n.operator,value:n.value}}}],[{key:"valueOf",value:function(r){var e=r.refs,n=r.mode,a=r.type,o=r.required,s=r.operator,i=r.value;return new t(n,e,new Ud(a,o,i,s))}}])})(),lb=(function(){return At((function t(){Ct(this,t),this._=[],this.errors=new Map}),[{key:"getError",value:function(t,r){return this.errors.get("".concat(t,"_").concat(r))}},{key:"validate",value:function(t,r,e){var n=this.get(t,r),a="".concat(t,"_").concat(r),o=this.errors;if(n!==null){var s=We(n.validator.validate(e),2),i=s[0],u=s[1];i?o.delete(a):o.set(a,u)}else o.delete(a);return!0}},{key:"add",value:function(t,r,e){var n=e.type,a=e.required,o=e.value,s=e.operator,i=new Ud(n,a,o,s),u=this.getByValidator(i);u!==null?u.addRef(r):this._.push(new Hd(t,[r],i))}},{key:"getByValidator",value:function(t){for(var r=0;r<this._.length;r+=1){var e=this._[r];if(e.validator.equals(t))return e}return null}},{key:"get",value:function(t,r){for(var e=0;e<this._.length;e+=1){var n=this._[e];if(n.includes(t,r))return n}return null}},{key:"remove",value:function(t){this.each((function(r){r.remove(t)}))}},{key:"each",value:function(t){this._.forEach((function(r){return t(r)}))}},{key:"getData",value:function(){return this._.filter((function(t){return t.refs.length>0})).map((function(t){return t.getData()}))}},{key:"setData",value:function(t){this._=t.map((function(r){return Hd.valueOf(r)}))}}])})(),ub={mode:"edit",view:{height:function(){return document.documentElement.clientHeight},width:function(){return document.documentElement.clientWidth}},showGrid:!0,showToolbar:!0,showContextmenu:!0,showBottomBar:!0,row:{len:100,height:25},col:{len:26,width:100,indexWidth:60,minWidth:60},style:{bgcolor:"#ffffff",align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,color:"#0a0a0a",font:{name:"Arial",size:10,bold:!1,italic:!1},format:"normal"}};function Wd(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},n=this.merges,a=r.clone(),o=We(t.size(),2),s=o[0],i=o[1],u=We(r.size(),2),l=u[0],f=u[1];return s>l&&(a.eri=r.sri+s-1),i>f&&(a.eci=r.sci+i-1),!n.intersects(a)||(e(fn("error.pasteForMergedCell")),!1)}function Vd(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0&&arguments[3],a=this.rows,o=this.merges;e!=="all"&&e!=="format"||(a.deleteCells(r,e),o.deleteWithin(r)),a.copyPaste(t,r,e,n,(function(s,i,u){if(u&&u.merge){var l=We(u.merge,2),f=l[0],c=l[1];if(f<=0&&c<=0)return;o.add(new zn(s,i,s+f,i+c))}}))}function cb(t,r){var e=this.clipboard,n=this.rows,a=this.merges;n.cutPaste(t,r),a.move(t,r.sri-t.sri,r.sci-t.sci),e.clear()}function no(t,r,e){var n=this.styles,a=this.rows.getCellOrNew(t,r),o={};a.style!==void 0&&(o=pi.cloneDeep(n[a.style])),o=pi.merge(o,{border:e}),a.style=this.addStyle(o)}function fb(t){var r=this,e=t.mode,n=t.style,a=t.color,o=this.styles,s=this.selector,i=this.rows,u=s.range,l=u.sri,f=u.sci,c=u.eri,h=u.eci,d=!this.isSingleSelected();if(d||e!=="inside"&&e!=="horizontal"&&e!=="vertical")if(e!=="outside"||d){if(e==="none")s.range.each((function(T,E){var O=i.getCell(T,E);if(O&&O.style!==void 0){var D=pi.cloneDeep(o[O.style]);delete D.border,O.style=r.addStyle(D)}}));else if(e==="all"||e==="inside"||e==="outside"||e==="horizontal"||e==="vertical")for(var p=[],m=l;m<=c;m+=1)for(var v=f;v<=h;v+=1){for(var b=[],g=0;g<p.length;g+=1){var y=We(p[g],4),k=y[0],S=y[1],C=y[2],R=y[3];if(m===k+C+1&&b.push(g),k<=m&&m<=k+C&&v===S){v+=R+1;break}}if(b.forEach((function(T){return p.splice(T,1)})),v>h)break;var F=i.getCell(m,v),j=0,B=0;if(F&&F.merge){var L=We(F.merge,2);j=L[0],B=L[1],p.push([m,v,j,B])}var V=j>0&&m+j===c,A=B>0&&v+B===h,I={};e==="all"?I={bottom:[n,a],top:[n,a],left:[n,a],right:[n,a]}:e==="inside"?(!A&&v<h&&(I.right=[n,a]),!V&&m<c&&(I.bottom=[n,a])):e==="horizontal"?!V&&m<c&&(I.bottom=[n,a]):e==="vertical"?!A&&v<h&&(I.right=[n,a]):e==="outside"&&d&&(l===m&&(I.top=[n,a]),(V||c===m)&&(I.bottom=[n,a]),f===v&&(I.left=[n,a]),(A||h===v)&&(I.right=[n,a])),Object.keys(I).length>0&&no.call(this,m,v,I),v+=B}else if(e==="top"||e==="bottom")for(var _=f;_<=h;_+=1)e==="top"&&(no.call(this,l,_,{top:[n,a]}),_+=i.getCellMerge(l,_)[1]),e==="bottom"&&(no.call(this,c,_,{bottom:[n,a]}),_+=i.getCellMerge(c,_)[1]);else if(e==="left"||e==="right")for(var x=l;x<=c;x+=1)e==="left"&&(no.call(this,x,f,{left:[n,a]}),x+=i.getCellMerge(x,f)[0]),e==="right"&&(no.call(this,x,h,{right:[n,a]}),x+=i.getCellMerge(x,h)[0])}else no.call(this,l,f,{top:[n,a],bottom:[n,a],left:[n,a],right:[n,a]})}function hb(t,r){var e=this.rows,n=this.freezeTotalHeight(),a=e.height;n+e.height<t&&(a-=r);for(var o=this.exceptRowSet,s=0,i=a,u=e.height;s<e.len&&!(i>t);s+=1)o.has(s)||(i+=u=e.getHeight(s));return(i-=u)<=0?{ri:-1,top:0,height:u}:{ri:s-1,top:i,height:u}}function db(t,r){var e=this.cols,n=this.freezeTotalWidth(),a=e.indexWidth;n+e.indexWidth<t&&(a-=r);var o=We(pi.rangeReduceIf(0,e.len,a,e.indexWidth,t,(function(l){return e.getWidth(l)})),3),s=o[0],i=o[1],u=o[2];return i<=0?{ci:-1,left:0,width:e.indexWidth}:{ci:s-1,left:i,width:u}}var pb=(function(){return At((function t(r,e){Ct(this,t),this.settings=pi.merge(ub,e||{}),this.name=r||"sheet",this.freeze=[0,0],this.styles=[],this.merges=new ib,this.rows=new ab(this.settings.row),this.cols=new sb(this.settings.col),this.validations=new lb,this.hyperlinks={},this.comments={},this.selector=new Q2,this.scroll=new tb,this.history=new eb,this.clipboard=new rb,this.autoFilter=new nb,this.change=function(){},this.exceptRowSet=new Set,this.sortedRowMap=new Map,this.unsortedRowMap=new Map}),[{key:"addValidation",value:function(t,r,e){var n=this;this.changeData((function(){n.validations.add(t,r,e)}))}},{key:"removeValidation",value:function(){var t=this,r=this.selector.range;this.changeData((function(){t.validations.remove(r)}))}},{key:"getSelectedValidator",value:function(){var t=this.selector,r=t.ri,e=t.ci,n=this.validations.get(r,e);return n?n.validator:null}},{key:"getSelectedValidation",value:function(){var t=this.selector,r=t.ri,e=t.ci,n=t.range,a=this.validations.get(r,e),o={ref:n.toString()};return a!==null&&(o.mode=a.mode,o.validator=a.validator),o}},{key:"canUndo",value:function(){return this.history.canUndo()}},{key:"canRedo",value:function(){return this.history.canRedo()}},{key:"undo",value:function(){var t=this;this.history.undo(this.getData(),(function(r){t.setData(r)}))}},{key:"redo",value:function(){var t=this;this.history.redo(this.getData(),(function(r){t.setData(r)}))}},{key:"copy",value:function(){this.clipboard.copy(this.selector.range)}},{key:"copyToSystemClipboard",value:function(t){for(var r=[],e=this.selector.range,n=e.sri,a=e.eri,o=e.sci,s=e.eci,i=n;i<=a;i+=1){for(var u=[],l=o;l<=s;l+=1){var f=this.getCell(i,l);u.push(f&&f.text||"")}r.push(u)}r=r.map((function(c){return c.join(" ")})).join(`
|