@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,24 +1,24 @@
|
|
|
1
|
-
import{f as ns,g as rs,h as is,e as os,i as as}from"./workbench-live-service-Vbza89gj.js";import{d as Lt,aq as ss,y as cs,U as ls,O as us,w as si,o as He,b as et,W as st,p as Vn,u as ce,v as Xt,f as On,a2 as mt,cl as ds,a4 as Ri,z as fs,cm as Ai,_ as Vt,ai as ci,V as li,D as jn,aN as ps,T as na,Q as ln,Y as gs,a3 as hs,aP as ki,t as Ge,P as ms,g as Nt,H as wn,s as qn,q as yn,$ as ra,a0 as bs,G as ia,E as ui,b5 as _s,c as on}from"./index-D4IfiJ-s.js";import{M as oa}from"./mobile-dialog-return-service-D29suZRj.js";class Es{#t=new AbortController;#n;#e;constructor(t){this.#n=t.direct===void 0?void 0:{connect:t.direct},this.#e=this.#n===void 0?[]:[this.#n],t.relay!==void 0&&this.#e.push({connect:t.relay})}async ready(t){await this.#o(this.#i(t?.signal))}async prepareDirect(){this.#t.signal.throwIfAborted();const t=this.#n;t!==void 0&&(t.failed&&delete t.attempt,await this.#r(t))}async openStream(t,n){const r=this.#i(n?.signal),i=await this.#o(r),o=async l=>{if(r.throwIfAborted(),l.closed)return;const c=await l.openStream(t,r);return r.aborted&&(c?.close(),r.throwIfAborted()),c},a=await o(i.path);if(a!==void 0)return a;const s=this.#e.find(l=>l!==i.slot);if(s!==void 0){s.failed&&delete s.attempt;const l=await Ti(this.#r(s),r),c=await o(l);if(c!==void 0)return c}throw new Error("NODE_CONNECTION_UNAVAILABLE")}close(){if(!this.#t.signal.aborted){this.#t.abort(new Error("NODE_CONNECTION_CLOSED"));for(const t of this.#e)t.path?.close()}}#i(t){return t===void 0?this.#t.signal:AbortSignal.any([t,this.#t.signal])}#o(t){t.throwIfAborted();for(const r of this.#e)this.#a(r);const n=this.#e.find(r=>r.path!==void 0);if(n?.path!==void 0)return Promise.resolve({slot:n,path:n.path});for(const r of this.#e)r.failed&&delete r.attempt;return Ti(Promise.any(this.#e.map(async r=>({slot:r,path:await this.#r(r)}))),t)}#a(t){t.path?.closed&&(t.path.close(),delete t.path,delete t.attempt)}#r(t){return this.#a(t),t.attempt!==void 0?t.attempt:(t.failed=!1,t.attempt=Promise.resolve().then(async()=>{const n=this.#t.signal;try{n.throwIfAborted();const r=await t.connect(n),i=r.closed;if((n.aborted||i)&&r.close(),n.throwIfAborted(),i)throw new Error("NODE_PATH_CLOSED");return t.path=r,r}catch(r){throw t.failed=!0,r}}))}}function Ti(e,t){return new Promise((n,r)=>{const i=()=>r(t.reason);t.addEventListener("abort",i,{once:!0}),t.aborted&&i(),e.then(n,r).finally(()=>t.removeEventListener("abort",i))})}async function vs(e){const{carrier:t,signal:n}=e,r=Promise.withResolvers(),i=rs(e);let o=!1;const a=()=>{i.disconnect(),r.reject(new Error("NODE_RELAY_UNAVAILABLE"))},s=()=>{i.path.close(),r.reject(new Error("NODE_RELAY_UNAVAILABLE"))},l=()=>{r.reject(n.reason),s()};t.onClose(a),t.onMessage(c=>{try{if(o)i.receive(c);else{if(ns(c).type!=="RELAY_READY")throw new Error("NODE_RELAY_FRAME_INVALID");o=!0,r.resolve()}}catch{s()}}),n.addEventListener("abort",l,{once:!0}),n.aborted&&l();try{return await r.promise,n.throwIfAborted(),i.path}finally{n.removeEventListener("abort",l)}}const aa=30*6e4;function uf(e){const t=new Map,n=e.activeTtlMs??aa,r=e.now??Date.now;let i,o;function a(g){const f=r();i!==void 0&&i!==g&&t.set(i,f+n),i=g,g!==void 0&&(t.set(g,f+n),e.activate(g)),d(f),h()}function s(g){return g===i||(t.get(g)??0)>r()}function l(){return d(r()),[...t.keys()].filter(s)}function c(g){t.delete(g),i===g&&(i=void 0),h()}function u(){o!==void 0&&clearTimeout(o),o=void 0;const g=new Set(t.keys());i!==void 0&&g.add(i),t.clear(),i=void 0;for(const f of g)e.release(f)}function d(g){for(const[f,_]of t)f===i||_>g||(t.delete(f),e.release(f))}function h(){o!==void 0&&clearTimeout(o),o=void 0;let g;for(const[f,_]of t)f!==i&&(g=g===void 0?_:Math.min(g,_));g!==void 0&&(o=setTimeout(()=>{o=void 0,d(r()),h()},Math.max(0,g-r())))}return{select:a,isActive:s,activeNodeIds:l,forget:c,clear:u}}class sa extends Error{code="NODE_OFFLINE";constructor(){super("NODE_OFFLINE")}}function df(e){const t=new Map,n=async(c,u,d)=>{d.throwIfAborted();let h=t.get(c);if(h===void 0){const m=e.connectDirect,v=new Set;h={admissions:v,uses:0,expired:!1,connection:new Es({...m===void 0?{}:{direct:async w=>Ni(await m(c,w),"ice")},relay:async w=>{const R=ys(w),y=new Set;let A=new Error("NODE_RELAY_UNAVAILABLE");for(const{conversationId:N,signal:D}of v)if(R.throwIfAborted(),!(D.aborted||y.has(N))){y.add(N);try{return Ni(await ws(c,e.http,R,N),"relay")}catch(S){if(S instanceof sa)throw S;A=S}}throw A}})},t.set(c,h)}const g={signal:d,conversationId:u.kind==="hosted-file-upload"?u.conversationId:u.kind==="hosted-file-download"?u.descriptor.conversationId:void 0};clearTimeout(h.idleTimer),h.uses++;const f=h,_=()=>{f.uses--,i(c,f)};h.admissions.add(g);try{const m=await h.connection.openStream(u,{signal:d});return m.stream.finished.then(_),m}catch(m){throw _(),m}finally{h.admissions.delete(g)}},r=async(c,u,d)=>(await n(c,u,d)).stream;function i(c,u){t.get(c)!==u||u.uses!==0||e.isNodeActive?.(c)||(u.expired?s(c):u.idleTimer=setTimeout(()=>{e.isNodeActive?.(c)||s(c)},aa))}function o(c){const u=t.get(c);u!==void 0&&(u.expired=!0,i(c,u))}async function a(c){await t.get(c)?.connection.prepareDirect().catch(()=>{})}function s(c){const u=t.get(c);u!==void 0&&(t.delete(c),clearTimeout(u.idleTimer),u.connection.close())}function l(){for(const c of t.keys())s(c)}return{openStream:r,openRoutedStream:n,expireNode:o,directReady:a,closeNode:s,reset:l}}function Ni(e,t){return{get closed(){return e.closed},close:()=>e.close(),async openStream(n,r){const i=await e.openStream(n,r);return i===void 0?void 0:{stream:i,transport:t,close:()=>i.close()}}}}async function ws(e,t,n,r){const i=new URL(`/api/relay/${encodeURIComponent(e)}`,window.location.origin);r!==void 0&&i.searchParams.set("hostedConversationId",r);const o=await Rs(i,n);return{get closed(){return o.closed},close:()=>o.close(),async openStream(a,s){const{kind:l}=a;if(l==="browser-rfb"){const h=await a.prepare(void 0,s);return h!==void 0?o.openStream({kind:l,grant:h},s):void 0}if(l==="browser-file-download"||l==="browser-file-upload"){const h=await a.issueTicket(s);return o.openStream({kind:l,grant:h},s)}let c,u;if(l==="terminal"){const{kind:h,terminalId:g,...f}=a;c=`/api/terminals/${encodeURIComponent(g)}/attach-ticket`,u={nodeId:e,...f}}else if(l==="hosted-file-upload"){const{conversationId:h,uploadId:g}=a;c=`/api/nodes/${encodeURIComponent(e)}/hosted-conversations/${encodeURIComponent(h)}/uploads/${encodeURIComponent(g)}/stream-ticket`,u={}}else if(l==="hosted-file-download"){const{conversationId:h,fileId:g,...f}=a.descriptor;c=`/api/nodes/${encodeURIComponent(e)}/hosted-conversations/${encodeURIComponent(h)}/files/${encodeURIComponent(g)}/stream-ticket`,u=f}else{const{descriptor:h}=a;c=`/api/workspaces/${encodeURIComponent(h.resource.workspaceId)}/file-stream-ticket`,u={nodeId:e,descriptor:h}}const{ticket:d}=await t.request(c,{method:"POST",body:JSON.stringify(u),signal:s});return s.throwIfAborted(),o.openStream({kind:l,grant:d},s)}}}function ys(e){return AbortSignal.any([e,AbortSignal.timeout(15e3)])}async function Rs(e,t){t.throwIfAborted(),e.protocol=e.protocol==="https:"?"wss:":"ws:";const n=new WebSocket(e);n.binaryType="arraybuffer";let r;return vs({carrier:{async send(i){if(n.readyState!==WebSocket.OPEN)throw new Error("NODE_RELAY_UNAVAILABLE");n.send(i)},close:()=>n.close(),onMessage:i=>n.addEventListener("message",o=>i(o.data)),onClose:i=>n.addEventListener("close",o=>{r=o.code,i()},{once:!0})},maxStreams:32,signal:t}).catch(i=>{throw t.throwIfAborted(),r===is?new sa:i})}function ff(e){return{async upload(t){const{descriptor:n,file:r,onProgress:i,onTransport:o}=t;if(n.direction!=="UPLOAD")throw new Error("DIRECT_TRANSFER_INVALID");const a=t.signal??new AbortController().signal,{stream:s,transport:l}=await e(t.nodeId,{kind:"file-upload",descriptor:n},a);await as(s,r,a,i,()=>o?.(l))},async download(t){const{descriptor:n,sink:r,onProgress:i}=t,o=t.signal??new AbortController().signal;if(n.direction!=="DOWNLOAD")throw await r.abort().catch(()=>{}),new Error("DIRECT_TRANSFER_INVALID");await os(async()=>(await e(t.nodeId,{kind:"file-download",descriptor:n},o)).stream,r,n.range?.length??n.size,o,i)}}}const As="mar-open-standalone-file";function di(e){const t=new URL(e,typeof location>"u"?"http://localhost":location.origin),n=/^[/]share[/]([A-Za-z0-9_-]{1,128})$/u.exec(t.pathname);return n===null?"workbench":`share:${n[1]}`}function pf(e){const t=new URL(e,typeof location>"u"?"http://localhost":location.origin);if(di(e)!=="workbench"||t.searchParams.get("standaloneFile")!=="1"||t.searchParams.get("markdownPreview")==="1"||t.searchParams.get("htmlPreview")==="1"||t.searchParams.get("source")==="hosted")return;const n=t.searchParams.get("nodeId"),r=t.searchParams.get("workspaceId"),i=t.searchParams.get("path");if(n===null||r===null||i===null)return;const o=t.searchParams.get("worktreePath"),a=Number(t.searchParams.get("line")),s=Number(t.searchParams.get("column")),l=t.searchParams.get("fileTabKind");let c;if(l!==null){if(l!=="WORKTREE_DIFF"&&l!=="HISTORY_DIFF")return;const u=t.searchParams.get("repositoryPath")??"",d=t.searchParams.get("commit");if(l==="HISTORY_DIFF"&&d===null)return;const h=t.searchParams.get("previousPath"),g=t.searchParams.getAll("refs"),f=t.searchParams.getAll("paths");c={kind:l,...t.searchParams.get("gitFile")==="1"?{gitFile:!0}:{},nodeId:n,workspaceId:r,path:i,repositoryPath:u,worktreePath:o??"",...d===null?{}:{commit:d},...h===null?{}:{previousPath:h},...g.length===0?{}:{refs:g},paths:f.length===0?[i]:f}}return{nodeId:n,workspaceId:r,path:i,...o===null?{}:{worktreePath:o},...c===void 0&&t.searchParams.has("repositoryPath")?{repositoryPath:t.searchParams.get("repositoryPath")}:{},...a>0?{line:a}:{},...s>0?{column:s}:{},...c===void 0?{}:{tab:c}}}function gf(e,t="workbench"){let n,r,i;return{openNew(o){if(di(o)!==t)return;const s=(typeof window>"u"?void 0:window.open.bind(window))?.(o,"_blank");if(s!=null)return s.opener=null,s.focus(),s},open(o){if(di(o)!==t)return;const a=typeof window>"u"?void 0:window.open.bind(window);if(a===void 0)return;const s=new URL(o,"http://localhost").searchParams.get("markdownPreview")==="1",l=new URL(o,"http://localhost").searchParams.get("htmlPreview")==="1",c=l?i:s?r:n,d=(c===void 0||c.closed)&&typeof window<"u"&&window.matchMedia?.("(display-mode: standalone)").matches===!0,h=c!==void 0&&!c.closed?c:a(d?o:"",l?`mar-html-preview${t==="workbench"?"":":"+t}`:s?`mar-markdown-preview${t==="workbench"?"":":"+t}`:`mar-file-preview${t==="workbench"?"":":"+t}`);if(h===null)return;if(l?i=h:s?r=h:n=h,d)return h.opener=null,h.focus(),h;let g=!1;try{g=!h.dispatchEvent(new CustomEvent(As,{cancelable:!0,detail:{url:o}}))}catch{}return h.opener=null,g||h.location.replace(o),h.focus(),h}}}const ks=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function ht(e,t){return e>>>t|e<<32-t}async function hf(e){if(globalThis.crypto?.subtle){const t=await globalThis.crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(t),n=>n.toString(16).padStart(2,"0")).join("")}return Ts((async function*(){for(let n=0;n<e.length;n+=262144)n>0&&await new Promise(r=>setTimeout(r,0)),yield e.subarray(n,n+262144)})())}async function Ts(e){const t=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),n=new Uint32Array(64),r=new Uint8Array(128),i=new DataView(r.buffer);let o=0,a=0;for await(const c of e){o+=c.length;let u=0;if(a>0){if(u=Math.min(64-a,c.length),r.set(c.subarray(0,u),a),a+=u,a<64)continue;l(i,0),a=0}const d=new DataView(c.buffer,c.byteOffset,c.length);for(;u+64<=c.length;u+=64)l(d,u);a=c.length-u,r.set(c.subarray(u),0)}r.fill(0,a),r[a]=128;const s=a<56?64:128;return i.setUint32(s-8,Math.floor(o/536870912)),i.setUint32(s-4,o<<3),l(i,0),s===128&&l(i,64),Array.from(t,c=>c.toString(16).padStart(8,"0")).join("");function l(c,u){for(let y=0;y<16;y++)n[y]=c.getUint32(u+y*4);for(let y=16;y<64;y++){const A=n[y-15],N=n[y-2];n[y]=n[y-16]+(ht(A,7)^ht(A,18)^A>>>3)+n[y-7]+(ht(N,17)^ht(N,19)^N>>>10)}let d=t[0],h=t[1],g=t[2],f=t[3],_=t[4],m=t[5],v=t[6],w=t[7];for(let y=0;y<64;y++){const A=w+(ht(_,6)^ht(_,11)^ht(_,25))+(_&m^~_&v)+ks[y]+n[y],N=(ht(d,2)^ht(d,13)^ht(d,22))+(d&h^d&g^h&g);w=v,v=m,m=_,_=f+A>>>0,f=g,g=h,h=d,d=A+N>>>0}const R=[d,h,g,f,_,m,v,w];for(let y=0;y<8;y++)t[y]=t[y]+R[y]}}const bi=Symbol("mar-ui-command"),Ns=Lt({__name:"MarDropdown",props:{trigger:{default:"click"},disabled:{type:Boolean},virtualTriggering:{type:Boolean},virtualRef:{},placement:{default:"bottom"},offset:{},initialFocus:{},persistent:{type:Boolean,default:!0},popperClass:{},popperStyle:{type:[Boolean,null,String,Object,Array]}},emits:["command","visible-change"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=ss(),a=cs(),s=`${a}-trigger`,l=mt(),c=mt(null),u=mt(null),d=mt(!1);let h,g,f,_=!1,m=!1;const{open:v,show:w,close:R}=ls(()=>{d.value=!1,f=void 0,_&&(_=!1,i("visible-change",!1))}),y=()=>[...u.value?.querySelectorAll('[role="menuitem"]:enabled')??[]];function A(k){const B=u.value;(k??B)?.focus({preventScroll:!0});const J=B?.querySelector(":scope > .mar-ui-popup__content");if(!k||!J)return;const ie=k.getBoundingClientRect(),X=J.getBoundingClientRect().top+J.clientTop,Ce=X+J.clientHeight;ie.top<X?J.scrollTop+=ie.top-X:ie.bottom>Ce&&(J.scrollTop+=ie.bottom-Ce)}function N(k){return k.isConnected&&!k.matches(':disabled, [aria-disabled="true"]')&&!k.closest("[inert]")}function D(k,B,J=!1,ie=!1){if(r.disabled||B&&!N(B)&&!r.virtualTriggering)return;(!v.value||ie)&&(f=B),l.value=r.virtualTriggering?void 0:g?.id;const X=Symbol();h=X,d.value=!0;function Ce(){if(h!==X)return;h=void 0;const Ae=u.value;if(!Ae||r.disabled||k instanceof HTMLElement&&!N(k)){d.value=!1;return}const Ke=v.value;if(w(k,Ae,ie?{placement:"bottom-start",dismissOnAnchorScroll:!(k instanceof HTMLElement),outsideDismissTrigger:r.trigger==="click"?g??null:null}:{placement:r.placement,offset:r.offset}),!v.value)return;if(!Ke)_=!0,i("visible-change",!0);else if(Ae.contains(Ae.ownerDocument.activeElement))return;const Ye=()=>{v.value&&u.value===Ae&&A(r.initialFocus==="menu"?void 0:y().at(J?-1:0))};if(Ae.inert)return Ri(Ye);Ye()}return u.value?Ce():Ri(Ce)}function S(k=!1){h=void 0,d.value=!1;const B=f,J=u.value;k&&v.value&&B&&J?.contains(J.ownerDocument.activeElement)&&N(B)&&B.focus({preventScroll:!0}),R()}function F(){const k=r.virtualTriggering?r.virtualRef:g;if(!k)return;const B=c.value?.ownerDocument.activeElement,J=r.virtualTriggering?B instanceof HTMLElement?B:void 0:g;D(k,J)}function W(){S(!0)}async function z(k,B){if(!(typeof HTMLElement>"u"))if(k instanceof HTMLElement)await D(k,B??k,!1,!0);else{const J=new DOMRect(k.clientX,k.clientY);await D(B?{getBoundingClientRect:()=>J,contextElement:B}:{getBoundingClientRect:()=>J},B,!1,!0)}}t({handleOpen:F,handleOpenAt:z,handleClose:W}),us(()=>{h=void 0}),si(()=>r.disabled,k=>{k&&S()}),si(u,k=>{!k&&v.value&&S()}),fs(bi,{menuId:a,triggerId:l,surface:u,popupClass:Ai(()=>r.popperClass),popupStyle:Ai(()=>r.popperStyle),activate(k){!v.value||r.disabled||(k!==void 0&&i("command",k),S(!0))}});function ne(k){if(typeof HTMLElement>"u")return;const B=k instanceof HTMLElement?k:k?.$el;g=B instanceof HTMLElement?B:void 0,!g&&!r.virtualTriggering&&v.value&&S()}function re(k){const B=k.currentTarget;if(!(k.defaultPrevented||r.disabled||!N(B)))if(k.key==="ArrowDown"||k.key==="ArrowUp"){k.preventDefault();const J=k.key==="ArrowUp";v.value?A(y().at(J?-1:0)):D(B,B,J)}else r.trigger==="contextmenu"&&(k.key==="ContextMenu"||k.shiftKey&&k.key==="F10")&&(k.preventDefault(),z(B))}const ee=Lt(()=>()=>{const k=o.default?.()[0];return k?ds(k,{ref:ne,id:k.props?.id??s,disabled:r.disabled||k.props?.disabled,"aria-haspopup":"menu","aria-expanded":v.value,"aria-controls":r.persistent||d.value?a:void 0,onMousedown:B=>{v.value&&r.trigger==="click"&&B.preventDefault()},onClick:B=>{if(B.defaultPrevented||r.trigger!=="click"&&B.detail!==0)return;const J=B.currentTarget;v.value||h?S(!0):D(J,J)},onContextmenu:B=>{const J=B.currentTarget;r.trigger!=="contextmenu"||B.defaultPrevented||r.disabled||!N(J)||(B.preventDefault(),z(B,J))},onKeydown:re},!0):null});function O(k){if(!(k.defaultPrevented||!v.value||!u.value?.contains(k.target))){if(k.key==="Escape")k.preventDefault(),k.stopPropagation(),S(!0);else if(k.key==="Tab")m=!0,setTimeout(()=>m=!1,0);else if(["ArrowUp","ArrowDown","Home","End"].includes(k.key)){k.preventDefault();const B=y();if(!B.length)return;const J=B.findIndex(X=>X===k.target),ie=k.key==="Home"?0:k.key==="End"?B.length-1:(J+(k.key==="ArrowUp"?J<0?0:-1:1)+B.length)%B.length;A(B[ie])}}}function $(k){const B=u.value,J=k.target,ie=k.relatedTarget;!v.value||!B||B.contains(ie)||B.contains(J)&&ie===f&&!m||(B.contains(J)||J===g)&&S()}return(k,B)=>(He(),et("div",{ref_key:"root",ref:c,class:st(["mar-ui-dropdown",{"mar-ui-dropdown--virtual":e.virtualTriggering}]),onKeydown:O,onFocusout:$},[e.virtualTriggering?Xt("",!0):(He(),Vn(ce(ee),{key:0})),e.persistent||d.value?On(k.$slots,"dropdown",{},void 0,!0,1):Xt("",!0)],34))}}),Cs=Vt(Ns,[["__scopeId","data-v-8c3c7f51"]]),xs=["id","aria-labelledby"],Ss={class:"mar-ui-popup__content"},Ds=Lt({__name:"MarDropdownMenu",setup(e){const t=ci(bi),n=t?.surface??mt(null);return(r,i)=>(He(),et("div",{id:ce(t)?.menuId,ref_key:"surface",ref:n,role:"menu",tabindex:"-1",class:st(["mar-ui-popup mar-ui-dropdown__popup",ce(t)?.popupClass.value]),style:li([ce(t)?.popupStyle.value]),popover:"manual","aria-labelledby":r.$attrs["aria-label"]?void 0:ce(t)?.triggerId.value},[jn("div",Ss,[On(r.$slots,"default",{},void 0,!0)])],14,xs))}}),Os=Vt(Ds,[["__scopeId","data-v-c185232e"]]),Is=["disabled","aria-disabled"],Ms=Lt({__name:"MarDropdownItem",props:{command:{},disabled:{type:Boolean},divided:{type:Boolean},icon:{}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=ci(bi),o=ci(ps,void 0),a=o??{},s=na("label");function l(d,h){for(const g of d.children){if(!(g instanceof HTMLElement))continue;const{overflowX:f,textOverflow:_}=getComputedStyle(g),m=_==="ellipsis"&&(f==="hidden"||f==="clip")?ki(g):void 0;m?h.push(m):l(g,h)}}function c(){const d=s.value;if(!d?.childElementCount)return ki(d);const h=[];return l(d,h),h.join(`
|
|
2
|
-
`)||void 0}function u(d){n.disabled||(r("click",d),d.defaultPrevented||i?.activate(n.command))}return(d,h)=>ln((He(),et("button",{type:"button",role:"menuitem",tabindex:"-1",class:
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Us(e,t){return Fs(e)||Bs(e,t)||zs(e,t)||Ps()}function zs(e,t){if(e){if(typeof e=="string")return Ci(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ci(e,t):void 0}}const ca=Object.entries,xi=Object.setPrototypeOf,$s=Object.isFrozen,Gs=Object.getPrototypeOf,Hs=Object.getOwnPropertyDescriptor;let Pe=Object.freeze,Ue=Object.seal,cn=Object.create,la=typeof Reflect<"u"&&Reflect,fi=la.apply,pi=la.construct;Pe||(Pe=function(t){return t});Ue||(Ue=function(t){return t});fi||(fi=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return t.apply(n,i)});pi||(pi=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return new t(...r)});const an=Se(Array.prototype.forEach),Ks=Se(Array.prototype.lastIndexOf),Si=Se(Array.prototype.pop),sn=Se(Array.prototype.push),qs=Se(Array.prototype.splice),Mt=Array.isArray,Rn=Se(String.prototype.toLowerCase),cr=Se(String.prototype.toString),Di=Se(String.prototype.match),bn=Se(String.prototype.replace),Oi=Se(String.prototype.indexOf),Ws=Se(String.prototype.trim),Ys=Se(Number.prototype.toString),Zs=Se(Boolean.prototype.toString),Ii=typeof BigInt>"u"?null:Se(BigInt.prototype.toString),Mi=typeof Symbol>"u"?null:Se(Symbol.prototype.toString),Fe=Se(Object.prototype.hasOwnProperty),_n=Se(Object.prototype.toString),Le=Se(RegExp.prototype.test),Yt=Js(TypeError);function Se(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return fi(e,t,r)}}function Js(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return pi(e,n)}}function le(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rn;if(xi&&xi(e,null),!Mt(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&($s(t)||(t[r]=o),i=o)}e[i]=!0}return e}function Xs(e){for(let t=0;t<e.length;t++)Fe(e,t)||(e[t]=null);return e}function $e(e){const t=cn(null);for(const r of ca(e)){var n=Us(r,2);const i=n[0],o=n[1];Fe(e,i)&&(Mt(o)?t[i]=Xs(o):o&&typeof o=="object"&&o.constructor===Object?t[i]=$e(o):t[i]=o)}return t}function Vs(e){switch(typeof e){case"string":return e;case"number":return Ys(e);case"boolean":return Zs(e);case"bigint":return Ii?Ii(e):"0";case"symbol":return Mi?Mi(e):"Symbol()";case"undefined":return _n(e);case"function":case"object":{if(e===null)return _n(e);const t=e,n=at(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:_n(r)}return _n(e)}default:return _n(e)}}function at(e,t){for(;e!==null;){const r=Hs(e,t);if(r){if(r.get)return Se(r.get);if(typeof r.value=="function")return Se(r.value)}e=Gs(e)}function n(){return null}return n}function js(e){try{return Le(e,""),!0}catch{return!1}}const Li=Pe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),lr=Pe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ur=Pe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Qs=Pe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),dr=Pe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ec=Pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Fi=Pe(["#text"]),Bi=Pe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),fr=Pe(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Pi=Pe(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Wn=Pe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),tc=Ue(/{{[\w\W]*|^[\w\W]*}}/g),nc=Ue(/<%[\w\W]*|^[\w\W]*%>/g),rc=Ue(/\${[\w\W]*/g),ic=Ue(/^data-[\-\w.\u00B7-\uFFFF]+$/),oc=Ue(/^aria-[\-\w]+$/),Ui=Ue(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ac=Ue(/^(?:\w+script|data):/i),sc=Ue(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),cc=Ue(/^html$/i),lc=Ue(/^[a-z][.\w]*(-[.\w]+)+$/i),zi=Ue(/<[/\w!]/g),$i=Ue(/<[/\w]/g),uc=Ue(/<\/no(script|embed|frames)/i),dc=Ue(/\/>/i),Ve={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},fc=function(){return typeof window>"u"?null:window},pc=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},Gi=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Ot=function(t,n,r,i){return Fe(t,n)&&Mt(t[n])?le(i.base?$e(i.base):{},t[n],i.transform):r};function ua(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fc();const t=T=>ua(T);if(t.version="3.4.13",t.removed=[],!e||!e.document||e.document.nodeType!==Ve.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,i=r.currentScript;e.DocumentFragment;const o=e.HTMLTemplateElement,a=e.Node,s=e.Element,l=e.NodeFilter,c=e.NamedNodeMap;c===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const u=e.DOMParser,d=e.trustedTypes,h=s.prototype,g=at(h,"cloneNode"),f=at(h,"remove"),_=at(h,"nextSibling"),m=at(h,"childNodes"),v=at(h,"parentNode"),w=at(h,"shadowRoot"),R=at(h,"attributes"),y=a&&a.prototype?at(a.prototype,"nodeType"):null,A=a&&a.prototype?at(a.prototype,"nodeName"):null,N=a&&a.prototype?at(a.prototype,"ownerDocument"):null;if(typeof o=="function"){const T=n.createElement("template");T.content&&T.content.ownerDocument&&(n=T.content.ownerDocument)}let D,S="",F,W=!1,z=0;const Q=function(){if(z>0)throw Yt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ne=function(p){Q(),z++;try{return D.createHTML(p)}finally{z--}},re=function(p){Q(),z++;try{return D.createScriptURL(p)}finally{z--}},ee=function(){return W||(F=pc(d,i),W=!0),F},O=n,$=O.implementation,k=O.createNodeIterator,B=O.createDocumentFragment,J=O.getElementsByTagName,ie=r.importNode;let X=Gi();t.isSupported=typeof ca=="function"&&typeof v=="function"&&$&&$.createHTMLDocument!==void 0;const Ce=tc,Ae=nc,Ke=rc,Ye=ic,we=oc,_e=ac,Oe=sc,xe=lc;let Ie=Ui,ae=null;const qe=le({},[...Li,...lr,...ur,...dr,...Fi]);let ge=null;const Bt=le({},[...Bi,...fr,...Pi,...Wn]);let me=Object.seal(cn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ct=null,Pt=null;const je=Object.seal(cn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ut=!0,wt=!0,jt=!1,zt=!0,Me=!1,ze=!0,ke=!1,lt=!1,yt=null,Rt=null,At=!1,ut=!1,kt=!1,xt=!1,$t=!0,Qt=!1;const en="user-content-";let Gt=!0,dt=!1,tt={},oe=null;const ft=le({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let nt=null;const rt=le({},["audio","video","img","source","image","track"]);let b=null;const x=le({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),L="http://www.w3.org/1998/Math/MathML",V="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let be=de,H=!1,U=null;const j=le({},[L,V,de],cr),Te=Pe(["mi","mo","mn","ms","mtext"]);let ye=le({},Te);const St=Pe(["annotation-xml"]);let Ht=le({},St);const pn=le({},["title","style","font","a","script"]);let Kt=null;const gn=["application/xhtml+xml","text/html"],ir="text/html";let ve=null,Dt=null;const Mn=n.createElement("form"),qt=function(p){return p instanceof RegExp||p instanceof Function},hn=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Dt&&Dt===p)return;(!p||typeof p!="object")&&(p={}),p=$e(p),Kt=gn.indexOf(p.PARSER_MEDIA_TYPE)===-1?ir:p.PARSER_MEDIA_TYPE,ve=Kt==="application/xhtml+xml"?cr:Rn,ae=Ot(p,"ALLOWED_TAGS",qe,{transform:ve}),ge=Ot(p,"ALLOWED_ATTR",Bt,{transform:ve}),U=Ot(p,"ALLOWED_NAMESPACES",j,{transform:cr}),b=Ot(p,"ADD_URI_SAFE_ATTR",x,{transform:ve,base:x}),nt=Ot(p,"ADD_DATA_URI_TAGS",rt,{transform:ve,base:rt}),oe=Ot(p,"FORBID_CONTENTS",ft,{transform:ve}),ct=Ot(p,"FORBID_TAGS",$e({}),{transform:ve}),Pt=Ot(p,"FORBID_ATTR",$e({}),{transform:ve}),tt=Fe(p,"USE_PROFILES")?p.USE_PROFILES&&typeof p.USE_PROFILES=="object"?$e(p.USE_PROFILES):p.USE_PROFILES:!1,Ut=p.ALLOW_ARIA_ATTR!==!1,wt=p.ALLOW_DATA_ATTR!==!1,jt=p.ALLOW_UNKNOWN_PROTOCOLS||!1,zt=p.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=p.SAFE_FOR_TEMPLATES||!1,ze=p.SAFE_FOR_XML!==!1,ke=p.WHOLE_DOCUMENT||!1,ut=p.RETURN_DOM||!1,kt=p.RETURN_DOM_FRAGMENT||!1,xt=p.RETURN_TRUSTED_TYPE||!1,At=p.FORCE_BODY||!1,$t=p.SANITIZE_DOM!==!1,Qt=p.SANITIZE_NAMED_PROPS||!1,Gt=p.KEEP_CONTENT!==!1,dt=p.IN_PLACE||!1,Ie=js(p.ALLOWED_URI_REGEXP)?p.ALLOWED_URI_REGEXP:Ui,be=typeof p.NAMESPACE=="string"?p.NAMESPACE:de,ye=Fe(p,"MATHML_TEXT_INTEGRATION_POINTS")&&p.MATHML_TEXT_INTEGRATION_POINTS&&typeof p.MATHML_TEXT_INTEGRATION_POINTS=="object"?$e(p.MATHML_TEXT_INTEGRATION_POINTS):le({},Te),Ht=Fe(p,"HTML_INTEGRATION_POINTS")&&p.HTML_INTEGRATION_POINTS&&typeof p.HTML_INTEGRATION_POINTS=="object"?$e(p.HTML_INTEGRATION_POINTS):le({},St);const E=Fe(p,"CUSTOM_ELEMENT_HANDLING")&&p.CUSTOM_ELEMENT_HANDLING&&typeof p.CUSTOM_ELEMENT_HANDLING=="object"?$e(p.CUSTOM_ELEMENT_HANDLING):cn(null);if(me=cn(null),Fe(E,"tagNameCheck")&&qt(E.tagNameCheck)&&(me.tagNameCheck=E.tagNameCheck),Fe(E,"attributeNameCheck")&&qt(E.attributeNameCheck)&&(me.attributeNameCheck=E.attributeNameCheck),Fe(E,"allowCustomizedBuiltInElements")&&typeof E.allowCustomizedBuiltInElements=="boolean"&&(me.allowCustomizedBuiltInElements=E.allowCustomizedBuiltInElements),Ue(me),Me&&(wt=!1),kt&&(ut=!0),tt&&(ae=le({},Fi),ge=cn(null),tt.html===!0&&(le(ae,Li),le(ge,Bi)),tt.svg===!0&&(le(ae,lr),le(ge,fr),le(ge,Wn)),tt.svgFilters===!0&&(le(ae,ur),le(ge,fr),le(ge,Wn)),tt.mathMl===!0&&(le(ae,dr),le(ge,Pi),le(ge,Wn))),je.tagCheck=null,je.attributeCheck=null,Fe(p,"ADD_TAGS")&&(typeof p.ADD_TAGS=="function"?je.tagCheck=p.ADD_TAGS:Mt(p.ADD_TAGS)&&(ae===qe&&(ae=$e(ae)),le(ae,p.ADD_TAGS,ve))),Fe(p,"ADD_ATTR")&&(typeof p.ADD_ATTR=="function"?je.attributeCheck=p.ADD_ATTR:Mt(p.ADD_ATTR)&&(ge===Bt&&(ge=$e(ge)),le(ge,p.ADD_ATTR,ve))),Fe(p,"ADD_URI_SAFE_ATTR")&&Mt(p.ADD_URI_SAFE_ATTR)&&le(b,p.ADD_URI_SAFE_ATTR,ve),Fe(p,"FORBID_CONTENTS")&&Mt(p.FORBID_CONTENTS)&&(oe===ft&&(oe=$e(oe)),le(oe,p.FORBID_CONTENTS,ve)),Fe(p,"ADD_FORBID_CONTENTS")&&Mt(p.ADD_FORBID_CONTENTS)&&(oe===ft&&(oe=$e(oe)),le(oe,p.ADD_FORBID_CONTENTS,ve)),Gt&&(ae["#text"]=!0),ke&&le(ae,["html","head","body"]),ae.table&&(le(ae,["tbody"]),delete ct.tbody),p.TRUSTED_TYPES_POLICY){if(typeof p.TRUSTED_TYPES_POLICY.createHTML!="function")throw Yt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof p.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Yt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const C=D;D=p.TRUSTED_TYPES_POLICY;try{S=ne("")}catch(G){throw D=C,G}}else p.TRUSTED_TYPES_POLICY===null?(D=void 0,S=""):(D===void 0&&(D=ee()),D&&typeof S=="string"&&(S=ne("")));Pe&&Pe(p),Dt=p},Ln=le({},[...lr,...ur,...Qs]),Fn=le({},[...dr,...ec]),pt=function(p,E,C){return E.namespaceURI===de?p==="svg":E.namespaceURI===L?p==="svg"&&(C==="annotation-xml"||ye[C]):!!Ln[p]},Bn=function(p,E,C){return E.namespaceURI===de?p==="math":E.namespaceURI===V?p==="math"&&Ht[C]:!!Fn[p]},Pn=function(p,E,C){return E.namespaceURI===V&&!Ht[C]||E.namespaceURI===L&&!ye[C]?!1:!Fn[p]&&(pn[p]||!Ln[p])},or=function(p){let E=v(p);(!E||!E.tagName)&&(E={namespaceURI:be,tagName:"template"});const C=Rn(p.tagName),G=Rn(E.tagName);return U[p.namespaceURI]?p.namespaceURI===V?pt(C,E,G):p.namespaceURI===L?Bn(C,E,G):p.namespaceURI===de?Pn(C,E,G):!!(Kt==="application/xhtml+xml"&&U[p.namespaceURI]):!1},gt=function(p){sn(t.removed,{element:p});try{v(p).removeChild(p)}catch{if(f(p),!v(p))throw Yt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},tn=function(p){M(p);const E=m(p);if(E){const G=[];an(E,K=>{sn(G,K)}),an(G,K=>{try{f(K)}catch{}})}const C=R(p);if(C)for(let G=C.length-1;G>=0;--G){const K=C[G],te=K&&K.name;if(typeof te=="string")try{p.removeAttribute(te)}catch{}}},Qe=function(p,E){try{sn(t.removed,{attribute:E.getAttributeNode(p),from:E})}catch{sn(t.removed,{attribute:null,from:E})}if(E.removeAttribute(p),p==="is")if(ut||kt)try{gt(E)}catch{}else try{E.setAttribute(p,"")}catch{}},ar=function(p){const E=R(p);if(E)for(let C=E.length-1;C>=0;--C){const G=E[C],K=G&&G.name;if(!(typeof K!="string"||ge[ve(K)]))try{p.removeAttribute(K)}catch{}}},M=function(p){const E=[p];for(;E.length>0;){const C=E.pop();(y?y(C):C.nodeType)===Ve.element&&ar(C);const K=m(C);if(K)for(let te=K.length-1;te>=0;--te)E.push(K[te])}},Y=function(p){if(!ze)return;const E=[p];for(;E.length>0;){const C=E.pop(),G=y?y(C):C.nodeType;if(G===Ve.processingInstruction||G===Ve.comment&&Le($i,C.data)){try{f(C)}catch{}continue}if(G===Ve.element){const te=C,fe=ve(A?A(C):C.nodeName);try{te.hasAttribute&&te.hasAttribute("patchsrc")&&te.removeAttribute("patchsrc"),te.hasAttribute&&te.hasAttribute("for")&&fe!=="label"&&fe!=="output"&&te.removeAttribute("for")}catch{}}const K=m(C);if(K)for(let te=K.length-1;te>=0;--te)E.push(K[te])}},se=function(p){let E=null,C=null;if(At)p="<remove></remove>"+p;else{const te=Di(p,/^[\r\n\t ]+/);C=te&&te[0]}Kt==="application/xhtml+xml"&&be===de&&(p='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+p+"</body></html>");const G=D?ne(p):p;if(be===de)try{E=new u().parseFromString(G,Kt)}catch{}if(!E||!E.documentElement){E=$.createDocument(be,"template",null);try{E.documentElement.innerHTML=H?S:G}catch{}}const K=E.body||E.documentElement;return p&&C&&K.insertBefore(n.createTextNode(C),K.childNodes[0]||null),be===de?J.call(E,ke?"html":"body")[0]:ke?E.documentElement:K},he=function(p){const E=N?N(p):p.ownerDocument;return k.call(E||p,p,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Re=function(p){return p=bn(p,Ce," "),p=bn(p,Ae," "),p=bn(p,Ke," "),p},We=function(p){var E;p.normalize();const C=N?N(p):p.ownerDocument,G=k.call(C||p,p,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let K=G.nextNode();for(;K;)K.data=Re(K.data),K=G.nextNode();const te=(E=p.querySelectorAll)===null||E===void 0?void 0:E.call(p,"template");te&&an(te,fe=>{it(fe.content)&&We(fe.content)})},Je=function(p){const E=A?A(p):null;return typeof E!="string"||ve(E)!=="form"?!1:typeof p.nodeName!="string"||typeof p.textContent!="string"||typeof p.removeChild!="function"||p.attributes!==R(p)||typeof p.removeAttribute!="function"||typeof p.setAttribute!="function"||typeof p.namespaceURI!="string"||typeof p.insertBefore!="function"||typeof p.hasChildNodes!="function"||p.nodeType!==y(p)||p.childNodes!==m(p)},it=function(p){if(!y||typeof p!="object"||p===null)return!1;try{return y(p)===Ve.documentFragment}catch{return!1}},De=function(p){if(!y||typeof p!="object"||p===null)return!1;try{return typeof y(p)=="number"}catch{return!1}};function Ne(T,p,E){T.length!==0&&an(T,C=>{C.call(t,p,E,Dt)})}const Un=function(p,E){return!!(ze&&p.hasChildNodes()&&!De(p.firstElementChild)&&Le(zi,p.textContent)&&Le(zi,p.innerHTML)||ze&&p.namespaceURI===de&&E==="style"&&De(p.firstElementChild)||p.nodeType===Ve.processingInstruction||ze&&p.nodeType===Ve.comment&&Le($i,p.data))},zn=function(p,E,C){if(!ct[E]&&Hn(E)&&(me.tagNameCheck instanceof RegExp&&Le(me.tagNameCheck,E)||me.tagNameCheck instanceof Function&&me.tagNameCheck(E)))return!1;if(Gt&&!oe[E]){const G=v(p),K=m(p);if(K&&G){const te=K.length;for(let fe=te-1;fe>=0;--fe){const I=p===C?g(K[fe],!0):K[fe];G.insertBefore(I,_(p))}}}return gt(p),!0},mn=function(p,E,C,G){return p.length===0?E:E===C||E===G?$e(E):E},$n=function(p,E){if(Ne(X.beforeSanitizeElements,p,null),p!==E&&v(p)===null)return dt&&M(p),!0;if(Je(p))return gt(p),!0;const C=ve(A?A(p):p.nodeName);if(ae=mn(X.uponSanitizeElement,ae,qe,yt),Ne(X.uponSanitizeElement,p,{tagName:C,allowedTags:ae}),p!==E&&v(p)===null)return dt&&M(p),!0;if(Un(p,C))return gt(p),!0;if(ct[C]||!(je.tagCheck instanceof Function&&je.tagCheck(C))&&!ae[C]){const K=zn(p,C,E);return K===!1&&Ne(X.afterSanitizeElements,p,null),K}if((y?y(p):p.nodeType)===Ve.element&&!or(p)||(C==="noscript"||C==="noembed"||C==="noframes")&&Le(uc,p.innerHTML))return gt(p),!0;if(Me&&p.nodeType===Ve.text){const K=Re(p.textContent);p.textContent!==K&&(sn(t.removed,{element:p.cloneNode()}),p.textContent=K)}return Ne(X.afterSanitizeElements,p,null),!1},Gn=function(p,E,C){if(Pt[E]||ze&&E==="patchsrc"||ze&&E==="for"&&p!=="label"&&p!=="output"||$t&&(E==="id"||E==="name")&&(C in n||C in Mn))return!1;const G=ge[E]||je.attributeCheck instanceof Function&&je.attributeCheck(E,p);if(!(wt&&Le(Ye,E))){if(!(Ut&&Le(we,E))){if(G){if(!b[E]){if(!Le(Ie,bn(C,Oe,""))){if(!((E==="src"||E==="xlink:href"||E==="href")&&p!=="script"&&Oi(C,"data:")===0&&nt[p])){if(!(jt&&!Le(_e,bn(C,Oe,"")))){if(C)return!1}}}}}else if(!(Hn(p)&&(me.tagNameCheck instanceof RegExp&&Le(me.tagNameCheck,p)||me.tagNameCheck instanceof Function&&me.tagNameCheck(p))&&(me.attributeNameCheck instanceof RegExp&&Le(me.attributeNameCheck,E)||me.attributeNameCheck instanceof Function&&me.attributeNameCheck(E,p))||E==="is"&&me.allowCustomizedBuiltInElements&&(me.tagNameCheck instanceof RegExp&&Le(me.tagNameCheck,C)||me.tagNameCheck instanceof Function&&me.tagNameCheck(C))))return!1}}return!0},sr=le({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Hn=function(p){return!sr[Rn(p)]&&Le(xe,p)},nn=function(p,E,C,G){if(D&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!C)switch(d.getAttributeType(p,E)){case"TrustedHTML":return ne(G);case"TrustedScriptURL":return re(G)}return G},Kn=function(p,E,C,G){try{C?p.setAttributeNS(C,E,G):p.setAttribute(E,G),Je(p)?gt(p):Si(t.removed)}catch{Qe(E,p)}},Xe=function(p){Ne(X.beforeSanitizeAttributes,p,null);const E=p.attributes;if(!E||Je(p))return;ge=mn(X.uponSanitizeAttribute,ge,Bt,Rt);const C={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ge,forceKeepAttr:void 0};let G=E.length;const K=ve(p.nodeName);for(;G--;){const te=E[G],fe=te.name,I=te.namespaceURI,P=te.value,Z=ve(fe),ue=P;let pe=fe==="value"?ue:Ws(ue);if(C.attrName=Z,C.attrValue=pe,C.keepAttr=!0,C.forceKeepAttr=void 0,Ne(X.uponSanitizeAttribute,p,C),pe=C.attrValue,Qt&&(Z==="id"||Z==="name")&&Oi(pe,en)!==0&&(Qe(fe,p),pe=en+pe),ze&&Le(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,pe)){Qe(fe,p);continue}if(Z==="attributename"&&Di(pe,"href")){Qe(fe,p);continue}if(!C.forceKeepAttr){if(!C.keepAttr){Qe(fe,p);continue}if(!zt&&Le(dc,pe)){Qe(fe,p);continue}if(Me&&(pe=Re(pe)),!Gn(K,Z,pe)){Qe(fe,p);continue}pe=nn(K,Z,I,pe),pe!==ue&&Kn(p,fe,I,pe)}}Ne(X.afterSanitizeAttributes,p,null)},rn=function(p){let E=null;const C=he(p);for(Ne(X.beforeSanitizeShadowDOM,p,null);E=C.nextNode();)if(Ne(X.uponSanitizeShadowNode,E,null),$n(E,p),Xe(E),it(E.content)&&rn(E.content),(y?y(E):E.nodeType)===Ve.element){const K=w(E);it(K)&&(Wt(K),rn(K))}Ne(X.afterSanitizeShadowDOM,p,null)},Wt=function(p){const E=[{node:p,shadow:null}];for(;E.length>0;){const C=E.pop();if(C.shadow){rn(C.shadow);continue}const G=C.node,te=(y?y(G):G.nodeType)===Ve.element,fe=m(G);if(fe)for(let I=fe.length-1;I>=0;--I)E.push({node:fe[I],shadow:null});if(te){const I=A?A(G):null;if(typeof I=="string"&&ve(I)==="template"){const P=G.content;it(P)&&E.push({node:P,shadow:null})}}if(te){const I=w(G);it(I)&&E.push({node:null,shadow:I},{node:I,shadow:null})}}};return t.sanitize=function(T){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=null,C=null,G=null,K=null;if(H=!T,H&&(T="<!-->"),typeof T!="string"&&!De(T)&&(T=Vs(T),typeof T!="string"))throw Yt("dirty is not a string, aborting");if(!t.isSupported)return T;lt?(ae=yt,ge=Rt):hn(p),(X.uponSanitizeElement.length>0||X.uponSanitizeAttribute.length>0)&&(ae=$e(ae)),X.uponSanitizeAttribute.length>0&&(ge=$e(ge)),t.removed=[];const te=dt&&typeof T!="string"&&De(T);if(te){Y(T);const P=A?A(T):T.nodeName;if(typeof P=="string"){const Z=ve(P);if(!ae[Z]||ct[Z])throw tn(T),Yt("root node is forbidden and cannot be sanitized in-place")}if(Je(T))throw tn(T),Yt("root node is clobbered and cannot be sanitized in-place");try{Wt(T)}catch(Z){throw tn(T),Z}}else if(De(T))E=se("<!---->"),C=E.ownerDocument.importNode(T,!0),C.nodeType===Ve.element&&C.nodeName==="BODY"||C.nodeName==="HTML"?E=C:E.appendChild(C),Wt(C);else{if(!ut&&!Me&&!ke&&T.indexOf("<")===-1)return D&&xt?ne(T):T;if(E=se(T),!E)return ut?null:xt?S:""}E&&At&>(E.firstChild);const fe=te?T:E;try{const P=he(fe);for(;G=P.nextNode();)$n(G,fe),Xe(G),it(G.content)&&rn(G.content)}catch(P){throw te&&(tn(T),an(t.removed,Z=>{Z.element&&M(Z.element)})),P}if(te)return an(t.removed,P=>{P.element&&M(P.element)}),Me&&We(T),T;if(ut){if(Me&&We(E),kt)for(K=B.call(E.ownerDocument);E.firstChild;)K.appendChild(E.firstChild);else K=E;return(ge.shadowroot||ge.shadowrootmode)&&(K=ie.call(r,K,!0)),K}let I=ke?E.outerHTML:E.innerHTML;return ke&&ae["!doctype"]&&E.ownerDocument&&E.ownerDocument.doctype&&E.ownerDocument.doctype.name&&Le(cc,E.ownerDocument.doctype.name)&&(I="<!DOCTYPE "+E.ownerDocument.doctype.name+`>
|
|
4
|
-
`+I),Me&&(I=Re(I)),D&&xt?ne(I):I},t.setConfig=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hn(T),lt=!0,yt=ae,Rt=ge},t.clearConfig=function(){Dt=null,lt=!1,yt=null,Rt=null,D=F,S=""},t.isValidAttribute=function(T,p,E){Dt||hn({});const C=ve(T),G=ve(p);return Gn(C,G,E)},t.addHook=function(T,p){typeof p=="function"&&Fe(X,T)&&sn(X[T],p)},t.removeHook=function(T,p){if(Fe(X,T)){if(p!==void 0){const E=Ks(X[T],p);return E===-1?void 0:qs(X[T],E,1)[0]}return Si(X[T])}},t.removeHooks=function(T){Fe(X,T)&&(X[T]=[])},t.removeAllHooks=function(){X=Gi()},t}var mf=ua(),bf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function da(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _f(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var pr,Hi;function gc(){if(Hi)return pr;Hi=1;function e(b){return b instanceof Map?b.clear=b.delete=b.set=function(){throw new Error("map is read-only")}:b instanceof Set&&(b.add=b.clear=b.delete=function(){throw new Error("set is read-only")}),Object.freeze(b),Object.getOwnPropertyNames(b).forEach(x=>{const L=b[x],V=typeof L;(V==="object"||V==="function")&&!Object.isFrozen(L)&&e(L)}),b}class t{constructor(x){x.data===void 0&&(x.data={}),this.data=x.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(b){return b.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(b,...x){const L=Object.create(null);for(const V in b)L[V]=b[V];return x.forEach(function(V){for(const de in V)L[de]=V[de]}),L}const i="</span>",o=b=>!!b.scope,a=(b,{prefix:x})=>{if(b.startsWith("language:"))return b.replace("language:","language-");if(b.includes(".")){const L=b.split(".");return[`${x}${L.shift()}`,...L.map((V,de)=>`${V}${"_".repeat(de+1)}`)].join(" ")}return`${x}${b}`};class s{constructor(x,L){this.buffer="",this.classPrefix=L.classPrefix,x.walk(this)}addText(x){this.buffer+=n(x)}openNode(x){if(!o(x))return;const L=a(x.scope,{prefix:this.classPrefix});this.span(L)}closeNode(x){o(x)&&(this.buffer+=i)}value(){return this.buffer}span(x){this.buffer+=`<span class="${x}">`}}const l=(b={})=>{const x={children:[]};return Object.assign(x,b),x};class c{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(x){this.top.children.push(x)}openNode(x){const L=l({scope:x});this.add(L),this.stack.push(L)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(x){return this.constructor._walk(x,this.rootNode)}static _walk(x,L){return typeof L=="string"?x.addText(L):L.children&&(x.openNode(L),L.children.forEach(V=>this._walk(x,V)),x.closeNode(L)),x}static _collapse(x){typeof x!="string"&&x.children&&(x.children.every(L=>typeof L=="string")?x.children=[x.children.join("")]:x.children.forEach(L=>{c._collapse(L)}))}}class u extends c{constructor(x){super(),this.options=x}addText(x){x!==""&&this.add(x)}startScope(x){this.openNode(x)}endScope(){this.closeNode()}__addSublanguage(x,L){const V=x.root;L&&(V.scope=`language:${L}`),this.add(V)}toHTML(){return new s(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function d(b){return b?typeof b=="string"?b:b.source:null}function h(b){return _("(?=",b,")")}function g(b){return _("(?:",b,")*")}function f(b){return _("(?:",b,")?")}function _(...b){return b.map(L=>d(L)).join("")}function m(b){const x=b[b.length-1];return typeof x=="object"&&x.constructor===Object?(b.splice(b.length-1,1),x):{}}function v(...b){return"("+(m(b).capture?"":"?:")+b.map(V=>d(V)).join("|")+")"}function w(b){return new RegExp(b.toString()+"|").exec("").length-1}function R(b,x){const L=b&&b.exec(x);return L&&L.index===0}const y=new RegExp(v(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function A(b,{joinWith:x}){let L=0;return b.map(V=>{L+=1;const de=L;let be=d(V),H="";for(;be.length>0;){const U=y.exec(be);if(!U){H+=be;break}H+=be.substring(0,U.index),be=be.substring(U.index+U[0].length),U[0][0]==="\\"&&U[1]?H+="\\"+String(Number(U[1])+de):(H+=U[0],(U[0]==="("||/^\(\?[<']/.test(U[0]))&&L++)}return H}).map(V=>`(${V})`).join(x)}const N=/\b\B/,D="[a-zA-Z]\\w*",S="[a-zA-Z_]\\w*",F="\\b\\d+(\\.\\d+)?",W="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",z="\\b(0b[01]+)",Q="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ne=(b={})=>{const x=/^#![ ]*\//;return b.binary&&(b.begin=_(x,/.*\b/,b.binary,/\b.*/)),r({scope:"meta",begin:x,end:/$/,relevance:0,"on:begin":(L,V)=>{L.index!==0&&V.ignoreMatch()}},b)},re={begin:"\\\\[\\s\\S]",relevance:0},ee={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[re]},O={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[re]},$={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},k=function(b,x,L={}){const V=r({scope:"comment",begin:b,end:x,contains:[]},L);V.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const de=v("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return V.contains.push({begin:_(/[ ]+/,"(",de,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),V},B=k("//","$"),J=k("/\\*","\\*/"),ie=k("#","$"),X={scope:"number",begin:F,relevance:0},Ce={scope:"number",begin:W,relevance:0},Ae={scope:"number",begin:z,relevance:0},Ke={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[re,{begin:/\[/,end:/\]/,relevance:0,contains:[re]}]},Ye={scope:"title",begin:D,relevance:0},we={scope:"title",begin:S,relevance:0},_e={begin:"\\.\\s*"+S,relevance:0};var xe=Object.freeze({__proto__:null,APOS_STRING_MODE:ee,BACKSLASH_ESCAPE:re,BINARY_NUMBER_MODE:Ae,BINARY_NUMBER_RE:z,COMMENT:k,C_BLOCK_COMMENT_MODE:J,C_LINE_COMMENT_MODE:B,C_NUMBER_MODE:Ce,C_NUMBER_RE:W,END_SAME_AS_BEGIN:function(b){return Object.assign(b,{"on:begin":(x,L)=>{L.data._beginMatch=x[1]},"on:end":(x,L)=>{L.data._beginMatch!==x[1]&&L.ignoreMatch()}})},HASH_COMMENT_MODE:ie,IDENT_RE:D,MATCH_NOTHING_RE:N,METHOD_GUARD:_e,NUMBER_MODE:X,NUMBER_RE:F,PHRASAL_WORDS_MODE:$,QUOTE_STRING_MODE:O,REGEXP_MODE:Ke,RE_STARTERS_RE:Q,SHEBANG:ne,TITLE_MODE:Ye,UNDERSCORE_IDENT_RE:S,UNDERSCORE_TITLE_MODE:we});function Ie(b,x){b.input[b.index-1]==="."&&x.ignoreMatch()}function ae(b,x){b.className!==void 0&&(b.scope=b.className,delete b.className)}function qe(b,x){x&&b.beginKeywords&&(b.begin="\\b("+b.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",b.__beforeBegin=Ie,b.keywords=b.keywords||b.beginKeywords,delete b.beginKeywords,b.relevance===void 0&&(b.relevance=0))}function ge(b,x){Array.isArray(b.illegal)&&(b.illegal=v(...b.illegal))}function Bt(b,x){if(b.match){if(b.begin||b.end)throw new Error("begin & end are not supported with match");b.begin=b.match,delete b.match}}function me(b,x){b.relevance===void 0&&(b.relevance=1)}const ct=(b,x)=>{if(!b.beforeMatch)return;if(b.starts)throw new Error("beforeMatch cannot be used with starts");const L=Object.assign({},b);Object.keys(b).forEach(V=>{delete b[V]}),b.keywords=L.keywords,b.begin=_(L.beforeMatch,h(L.begin)),b.starts={relevance:0,contains:[Object.assign(L,{endsParent:!0})]},b.relevance=0,delete L.beforeMatch},Pt=["of","and","for","in","not","or","if","then","parent","list","value"],je="keyword";function Ut(b,x,L=je){const V=Object.create(null);return typeof b=="string"?de(L,b.split(" ")):Array.isArray(b)?de(L,b):Object.keys(b).forEach(function(be){Object.assign(V,Ut(b[be],x,be))}),V;function de(be,H){x&&(H=H.map(U=>U.toLowerCase())),H.forEach(function(U){const j=U.split("|");V[j[0]]=[be,wt(j[0],j[1])]})}}function wt(b,x){return x?Number(x):jt(b)?0:1}function jt(b){return Pt.includes(b.toLowerCase())}const zt={},Me=b=>{console.error(b)},ze=(b,...x)=>{console.log(`WARN: ${b}`,...x)},ke=(b,x)=>{zt[`${b}/${x}`]||(console.log(`Deprecated as of ${b}. ${x}`),zt[`${b}/${x}`]=!0)},lt=new Error;function yt(b,x,{key:L}){let V=0;const de=b[L],be={},H={};for(let U=1;U<=x.length;U++)H[U+V]=de[U],be[U+V]=!0,V+=w(x[U-1]);b[L]=H,b[L]._emit=be,b[L]._multi=!0}function Rt(b){if(Array.isArray(b.begin)){if(b.skip||b.excludeBegin||b.returnBegin)throw Me("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),lt;if(typeof b.beginScope!="object"||b.beginScope===null)throw Me("beginScope must be object"),lt;yt(b,b.begin,{key:"beginScope"}),b.begin=A(b.begin,{joinWith:""})}}function At(b){if(Array.isArray(b.end)){if(b.skip||b.excludeEnd||b.returnEnd)throw Me("skip, excludeEnd, returnEnd not compatible with endScope: {}"),lt;if(typeof b.endScope!="object"||b.endScope===null)throw Me("endScope must be object"),lt;yt(b,b.end,{key:"endScope"}),b.end=A(b.end,{joinWith:""})}}function ut(b){b.scope&&typeof b.scope=="object"&&b.scope!==null&&(b.beginScope=b.scope,delete b.scope)}function kt(b){ut(b),typeof b.beginScope=="string"&&(b.beginScope={_wrap:b.beginScope}),typeof b.endScope=="string"&&(b.endScope={_wrap:b.endScope}),Rt(b),At(b)}function xt(b){function x(H,U){return new RegExp(d(H),"m"+(b.case_insensitive?"i":"")+(b.unicodeRegex?"u":"")+(U?"g":""))}class L{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(U,j){j.position=this.position++,this.matchIndexes[this.matchAt]=j,this.regexes.push([j,U]),this.matchAt+=w(U)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const U=this.regexes.map(j=>j[1]);this.matcherRe=x(A(U,{joinWith:"|"}),!0),this.lastIndex=0}exec(U){this.matcherRe.lastIndex=this.lastIndex;const j=this.matcherRe.exec(U);if(!j)return null;const Te=j.findIndex((St,Ht)=>Ht>0&&St!==void 0),ye=this.matchIndexes[Te];return j.splice(0,Te),Object.assign(j,ye)}}class V{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(U){if(this.multiRegexes[U])return this.multiRegexes[U];const j=new L;return this.rules.slice(U).forEach(([Te,ye])=>j.addRule(Te,ye)),j.compile(),this.multiRegexes[U]=j,j}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(U,j){this.rules.push([U,j]),j.type==="begin"&&this.count++}exec(U){const j=this.getMatcher(this.regexIndex);j.lastIndex=this.lastIndex;let Te=j.exec(U);if(this.resumingScanAtSamePosition()&&!(Te&&Te.index===this.lastIndex)){const ye=this.getMatcher(0);ye.lastIndex=this.lastIndex+1,Te=ye.exec(U)}return Te&&(this.regexIndex+=Te.position+1,this.regexIndex===this.count&&this.considerAll()),Te}}function de(H){const U=new V;return H.contains.forEach(j=>U.addRule(j.begin,{rule:j,type:"begin"})),H.terminatorEnd&&U.addRule(H.terminatorEnd,{type:"end"}),H.illegal&&U.addRule(H.illegal,{type:"illegal"}),U}function be(H,U){const j=H;if(H.isCompiled)return j;[ae,Bt,kt,ct].forEach(ye=>ye(H,U)),b.compilerExtensions.forEach(ye=>ye(H,U)),H.__beforeBegin=null,[qe,ge,me].forEach(ye=>ye(H,U)),H.isCompiled=!0;let Te=null;return typeof H.keywords=="object"&&H.keywords.$pattern&&(H.keywords=Object.assign({},H.keywords),Te=H.keywords.$pattern,delete H.keywords.$pattern),Te=Te||/\w+/,H.keywords&&(H.keywords=Ut(H.keywords,b.case_insensitive)),j.keywordPatternRe=x(Te,!0),U&&(H.begin||(H.begin=/\B|\b/),j.beginRe=x(j.begin),!H.end&&!H.endsWithParent&&(H.end=/\B|\b/),H.end&&(j.endRe=x(j.end)),j.terminatorEnd=d(j.end)||"",H.endsWithParent&&U.terminatorEnd&&(j.terminatorEnd+=(H.end?"|":"")+U.terminatorEnd)),H.illegal&&(j.illegalRe=x(H.illegal)),H.contains||(H.contains=[]),H.contains=[].concat(...H.contains.map(function(ye){return Qt(ye==="self"?H:ye)})),H.contains.forEach(function(ye){be(ye,j)}),H.starts&&be(H.starts,U),j.matcher=de(j),j}if(b.compilerExtensions||(b.compilerExtensions=[]),b.contains&&b.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return b.classNameAliases=r(b.classNameAliases||{}),be(b)}function $t(b){return b?b.endsWithParent||$t(b.starts):!1}function Qt(b){return b.variants&&!b.cachedVariants&&(b.cachedVariants=b.variants.map(function(x){return r(b,{variants:null},x)})),b.cachedVariants?b.cachedVariants:$t(b)?r(b,{starts:b.starts?r(b.starts):null}):Object.isFrozen(b)?r(b):b}var en="11.12.0";class Gt extends Error{constructor(x,L){super(x),this.name="HTMLInjectionError",this.html=L}}const dt=n,tt=r,oe=Symbol("nomatch"),ft=7,nt=function(b){const x=Object.create(null),L=Object.create(null),V=[];let de=!0;const be="Could not find the language '{}', did you forget to load/include a language module?",H={disableAutodetect:!0,name:"Plain text",contains:[]};let U={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:u};function j(M){return U.noHighlightRe.test(M)}function Te(M){let Y=M.className+" ";Y+=M.parentNode?M.parentNode.className:"";const se=U.languageDetectRe.exec(Y);if(se){const he=pt(se[1]);return he||(ze(be.replace("{}",se[1])),ze("Falling back to no-highlight mode for this block.",M)),he?se[1]:"no-highlight"}return Y.split(/\s+/).find(he=>j(he)||pt(he))}function ye(M,Y,se){let he="",Re="";typeof Y=="object"?(he=M,se=Y.ignoreIllegals,Re=Y.language):(ke("10.7.0","highlight(lang, code, ...args) has been deprecated."),ke("10.7.0",`Please use highlight(code, options) instead.
|
|
5
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),Re=M,he=Y),se===void 0&&(se=!0);const We={code:he,language:Re};Qe("before:highlight",We);const Je=We.result?We.result:St(We.language,We.code,se);return Je.code=We.code,Qe("after:highlight",Je),Je}function St(M,Y,se,he){const Re=Object.create(null);function We(I,P){return I.keywords[P]}function Je(){if(!T.keywords){E.addText(C);return}let I=0;T.keywordPatternRe.lastIndex=0;let P=T.keywordPatternRe.exec(C),Z="";for(;P;){Z+=C.substring(I,P.index);const ue=Xe.case_insensitive?P[0].toLowerCase():P[0],pe=We(T,ue);if(pe){const[
|
|
6
|
-
`),1;if(te>1e5&&te>P.index*3)throw new Error("potential infinite loop, way more iterations than matches");return C+=Z,Z.length}const Xe=pt(M);if(!Xe)throw Me(be.replace("{}",M)),new Error('Unknown language: "'+M+'"');const rn=xt(Xe);let Wt="",T=he||rn;const p={},E=new U.__emitter(U);Hn();let C="",G=0,K=0,te=0,fe=!1;try{if(Xe.__emitTokens)Xe.__emitTokens(Y,E);else{for(T.matcher.considerAll();;){te++,fe?fe=!1:T.matcher.considerAll(),T.matcher.lastIndex=K;const I=T.matcher.exec(Y);if(!I)break;const P=Y.substring(K,I.index),Z=Kn(P,I);K=I.index+Z}Kn(Y.substring(K))}return E.finalize(),Wt=E.toHTML(),{language:M,value:Wt,relevance:G,illegal:!1,_emitter:E,_top:T}}catch(I){if(I.message&&I.message.includes("Illegal"))return{language:M,value:dt(Y),illegal:!0,relevance:0,_illegalBy:{message:I.message,index:K,context:Y.slice(K-100,K+100),mode:I.mode,resultSoFar:Wt},_emitter:E};if(de)return{language:M,value:dt(Y),illegal:!1,relevance:0,errorRaised:I,_emitter:E,_top:T};throw I}}function Ht(M){const Y={value:dt(M),illegal:!1,relevance:0,_top:H,_emitter:new U.__emitter(U)};return Y._emitter.addText(M),Y}function pn(M,Y){Y=Y||U.languages||Object.keys(x);const se=Ht(M),he=Y.filter(pt).filter(Pn).map(De=>St(De,M,!1));he.unshift(se);const Re=he.sort((De,Ne)=>{if(De.relevance!==Ne.relevance)return Ne.relevance-De.relevance;if(De.language&&Ne.language){if(pt(De.language).supersetOf===Ne.language)return 1;if(pt(Ne.language).supersetOf===De.language)return-1}return 0}),[We,Je]=Re,it=We;return it.secondBest=Je,it}function Kt(M,Y,se){const he=Y&&L[Y]||se;M.classList.add("hljs"),M.classList.add(`language-${he}`)}function gn(M){let Y=null;const se=Te(M);if(j(se))return;if(Qe("before:highlightElement",{el:M,language:se}),M.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",M);return}if(M.children.length>0&&(U.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(M)),U.throwUnescapedHTML))throw new Gt("One of your code blocks includes unescaped HTML.",M.innerHTML);Y=M;const he=Y.textContent,Re=se?ye(he,{language:se,ignoreIllegals:!0}):pn(he);M.innerHTML=Re.value,M.dataset.highlighted="yes",Kt(M,se,Re.language),M.result={language:Re.language,re:Re.relevance,relevance:Re.relevance},Re.secondBest&&(M.secondBest={language:Re.secondBest.language,relevance:Re.secondBest.relevance}),Qe("after:highlightElement",{el:M,result:Re,text:he})}function ir(M){U=tt(U,M)}const ve=()=>{qt(),ke("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Dt(){qt(),ke("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Mn=!1;function qt(){function M(){qt()}if(document.readyState==="loading"){Mn||window.addEventListener("DOMContentLoaded",M,!1),Mn=!0;return}document.querySelectorAll(U.cssSelector).forEach(gn)}function hn(M,Y){let se=null;try{se=Y(b)}catch(he){if(Me("Language definition for '{}' could not be registered.".replace("{}",M)),de)Me(he);else throw he;se=H}se.name||(se.name=M),x[M]=se,se.rawDefinition=Y.bind(null,b),se.aliases&&Bn(se.aliases,{languageName:M})}function Ln(M){delete x[M];for(const Y of Object.keys(L))L[Y]===M&&delete L[Y]}function Fn(){return Object.keys(x)}function pt(M){return M=(M||"").toLowerCase(),x[M]||x[L[M]]}function Bn(M,{languageName:Y}){typeof M=="string"&&(M=[M]),M.forEach(se=>{L[se.toLowerCase()]=Y})}function Pn(M){const Y=pt(M);return Y&&!Y.disableAutodetect}function or(M){M["before:highlightBlock"]&&!M["before:highlightElement"]&&(M["before:highlightElement"]=Y=>{M["before:highlightBlock"](Object.assign({block:Y.el},Y))}),M["after:highlightBlock"]&&!M["after:highlightElement"]&&(M["after:highlightElement"]=Y=>{M["after:highlightBlock"](Object.assign({block:Y.el},Y))})}function gt(M){or(M),V.push(M)}function tn(M){const Y=V.indexOf(M);Y!==-1&&V.splice(Y,1)}function Qe(M,Y){const se=M;V.forEach(function(he){he[se]&&he[se](Y)})}function ar(M){return ke("10.7.0","highlightBlock will be removed entirely in v12.0"),ke("10.7.0","Please use highlightElement now."),gn(M)}Object.assign(b,{highlight:ye,highlightAuto:pn,highlightAll:qt,highlightElement:gn,highlightBlock:ar,configure:ir,initHighlighting:ve,initHighlightingOnLoad:Dt,registerLanguage:hn,unregisterLanguage:Ln,listLanguages:Fn,getLanguage:pt,registerAliases:Bn,autoDetection:Pn,inherit:tt,addPlugin:gt,removePlugin:tn}),b.debugMode=function(){de=!1},b.safeMode=function(){de=!0},b.versionString=en,b.regex={concat:_,lookahead:h,either:v,optional:f,anyNumberOfTimes:g};for(const M in xe)typeof xe[M]=="object"&&e(xe[M]);return Object.assign(b,xe),b},rt=nt({});return rt.newInstance=()=>nt({}),pr=rt,rt.HighlightJS=rt,rt.default=rt,pr}var gr,Ki;function hc(){if(Ki)return gr;Ki=1;function e(t){const n=t.regex,r=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,o={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=t.inherit(a,{begin:/\(/,end:/\)/}),l=t.inherit(t.APOS_STRING_MODE,{className:"string"}),c=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:i,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[o]},{begin:/'/,end:/'/,contains:[o]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,s,c,l]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:"javascript"}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(r,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:u}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return gr=e,gr}var hr,qi;function mc(){if(qi)return hr;qi=1;function e(t){const n=t.regex,r={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},a=t.inherit(t.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r,o]};o.contains.push(l);const c={match:/\\"/},u={className:"string",begin:/'/,end:/'/},d={match:/\\'/},h={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,r]},g=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=t.SHEBANG({binary:`(${g.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],v=["true","false"],w={match:/(\/[a-z._-]+)+/},R=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],y=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],A=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],N=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:v,built_in:[...R,...y,"set","shopt",...A,...N]},contains:[f,t.SHEBANG(),_,h,a,s,w,l,c,u,d,r]}}return hr=e,hr}var mr,Wi;function bc(){if(Wi)return mr;Wi=1;function e(t){const n=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",s="("+i+"|"+n.optional(o)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",l=n.concat(/\batomic_/,n.either("bool","char","schar","uchar","short","ushort","int","uint","long","ulong","llong","ullong","char16_t","char32_t","wchar_t","int_least8_t","uint_least8_t","int_least16_t","uint_least16_t","int_least32_t","uint_least32_t","int_least64_t","uint_least64_t","int_fast8_t","uint_fast8_t","int_fast16_t","uint_fast16_t","int_fast32_t","uint_fast32_t","int_fast64_t","uint_fast64_t","intptr_t","uintptr_t","size_t","ptrdiff_t","intmax_t","uintmax_t"),/\b/),c={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:l}]},d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},h={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},g={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},d,{scope:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(d,{className:"string"}),r,t.C_BLOCK_COMMENT_MODE]},_=[g,f],m={className:"title",begin:n.optional(o)+t.IDENT_RE,relevance:0},v=n.optional(o)+t.IDENT_RE+"\\s*\\(",w=12,A={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},N=[..._,c,r,t.C_BLOCK_COMMENT_MODE,h,d],D={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:A,contains:N.concat([{begin:/\(/,end:/\)/,keywords:A,contains:N.concat(["self"]),relevance:0}]),relevance:0},S={begin:"("+s+"[\\*&\\s]+){1,"+w+"}"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:A,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:A,relevance:0},{begin:v,returnBegin:!0,contains:[t.inherit(m,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,d,h,c,{begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,d,h,c]}]},c,r,t.C_BLOCK_COMMENT_MODE,..._]};return{name:"C",aliases:["h"],keywords:A,disableAutodetect:!0,illegal:"</",contains:[].concat(D,S,N,[..._,{begin:t.IDENT_RE+"::",keywords:A},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:f,strings:d,keywords:A}}}return mr=e,mr}var br,Yi;function _c(){if(Yi)return br;Yi=1;function e(t){const n=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",s="(?!struct)("+i+"|"+n.optional(o)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},d={className:"number",variants:[{begin:"[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},h={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},u,{scope:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(u,{className:"string"}),r,t.C_BLOCK_COMMENT_MODE]},f=[h,g],_={className:"title",begin:n.optional(o)+t.IDENT_RE,relevance:0},m=n.optional(o)+t.IDENT_RE+"\\s*\\(",v=12,w=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],R=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],y=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],A=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],S={type:R,keyword:w,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:y},F={className:"function.dispatch",relevance:0,keywords:{_hint:A},begin:n.concat(/\b/,`(?!${w.join("|")})`,t.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},W=[F,...f,l,r,t.C_BLOCK_COMMENT_MODE,d,u],z={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:W.concat([{begin:/\(/,end:/\)/,keywords:S,contains:W.concat(["self"]),relevance:0}]),relevance:0},Q={className:"function",begin:"("+s+"[\\*&\\s]+){1,"+v+"}"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:S,relevance:0},{begin:m,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,u,d,l,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,u,d,l]}]},l,r,t.C_BLOCK_COMMENT_MODE,...f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:S,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(z,Q,F,W,[...f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:S,contains:["self",l]},{begin:t.IDENT_RE+"::",keywords:S},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return br=e,br}var _r,Zi;function Ec(){if(Zi)return _r;Zi=1;function e(t){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],o=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],a=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:o.concat(a),built_in:n,literal:i},l=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c="\\d(_*\\d)*",u="([uU][lL]?|[lL][uU]?)?",h={className:"number",variants:[{begin:"\\b0[bB]_*[01](_*[01])*"+u},{begin:"(-?)\\b0[xX]_*[a-fA-F0-9](_*[a-fA-F0-9])*"+u},{begin:"(-?)(\\b"+c+"(\\.("+c+")?)?|\\."+c+")([eE][-+]?"+c+")?"+"([fFdDmM]|[uU][lL]?|[lL][uU]?)?"}],relevance:0},g={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},f={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},_=t.inherit(f,{illegal:/\n/}),m={className:"subst",begin:/\{/,end:/\}/,keywords:s},v=t.inherit(m,{illegal:/\n/}),w={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,v]},R={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]},y=t.inherit(R,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},v]});m.contains=[R,w,f,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,h,t.C_BLOCK_COMMENT_MODE],v.contains=[y,w,_,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,h,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const A={variants:[g,R,w,f,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},N={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},D=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",S={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},A,h,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,N,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,N,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+D+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,N],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[A,h,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},S]}}return _r=e,_r}var Er,Ji;function vc(){if(Ji)return Er;Ji=1;const e=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],r=[...t,...n],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function l(c){const u=c.regex,d=e(c),h={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},g="and or not only",f=/@-?\w[\w]*(-\w+)*/,_="[a-zA-Z-][a-zA-Z0-9_-]*",m=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,h,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+_,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+o.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,d.UNICODE_RANGE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:u.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:g,attribute:i.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b"}]}}return Er=l,Er}var vr,Xi;function wc(){if(Xi)return vr;Xi=1;function e(t){const n=t.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={match:/^ {0,3}([-*_])[ \t]*(?:\1[ \t]*){2,}$/},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},a={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=t.inherit(u,{contains:[]}),g=t.inherit(d,{contains:[]});u.contains.push(g),d.contains.push(h);let f=[r,c];return[u,d,h,g].forEach(w=>{w.contains=w.contains.concat(f)}),f=f.concat(u,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:f},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:f}]}]},r,a,i,u,d,{className:"quote",begin:"^>\\s+",contains:f,end:"$"},o,c,s,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}return vr=e,vr}var wr,Vi;function yc(){if(Vi)return wr;Vi=1;function e(t){const n=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+,\d+ +\+\d+ +@@/,/^@@ +-\d+ +\+\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return wr=e,wr}var yr,ji;function Rc(){if(ji)return yr;ji=1;function e(t){const n=t.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=n.concat(i,/(::\w+)*/),s={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},u=[t.COMMENT("#","$",{contains:[l]}),t.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:s},h={className:"string",contains:[t.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,d]})]}]},g="[1-9](_?[0-9])*|0",f="[0-9](_?[0-9])*",_={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${f}))?([eE][+-]?(${f})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:s}]},D=[h,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,o],scope:{2:"title.class"},keywords:s},{relevance:0,match:[o,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:i,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:r}],relevance:0},_,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:s},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,u),relevance:0}].concat(c,u);d.contains=D,m.contains=D;const z=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:s,contains:D}}];return u.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(z).concat(u).concat(D)}}return yr=e,yr}var Rr,Qi;function Ac(){if(Qi)return Rr;Qi=1;function e(t){const a={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:a,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\b0[bB](_?[01])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,illegal:/["']/}]}]}}return Rr=e,Rr}var Ar,eo;function kc(){if(eo)return Ar;eo=1;function e(t){const n=t.regex,r=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:n.concat(r,n.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return Ar=e,Ar}var kr,to;function Tc(){if(to)return kr;to=1;function e(t){const n=t.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},i=t.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const o={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"literal",begin:/\bon|off|true|false|yes|no\b/},s={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[i,a,o,s,r,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,d=/'[^']*'/,h=n.either(c,u,d),g=n.concat(h,"(\\s*\\.\\s*",h,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:g,className:"attr",starts:{end:/$/,contains:[i,l,a,o,s,r]}}]}}return kr=e,kr}var Tr,no;function Nc(){if(no)return Tr;no=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(a,s,l){return l===-1?"":a.replace(s,c=>i(a,s,l-1))}function o(a){const s=a.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c="(?:(?:\\s*\\[\\s*])+)?",u=l+"<@@@>"+c,h="(?:"+("\\?(?:\\s+(?:extends|super)\\s+"+u+")?")+"|"+u+")",g=i("(?:\\s*<\\s*"+h+"(?:\\s*,\\s*"+h+")*\\s*>)?",/<@@@>/g,2),w={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},R={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},y={className:"params",begin:/\(/,end:/\)/,keywords:w,relevance:0,contains:[a.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:w,illegal:/<\/|#/,contains:[a.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[a.BACKSLASH_ESCAPE]},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{beginKeywords:"new throw return else yield assert",relevance:0},{begin:[l,s.concat(g,c,/\s+/),l,c,/\s*/,/=(?!=)/],className:{1:"type",3:"variable",6:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[y,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},{begin:[l,s.concat(g,c,/\s+/),l,/\s*(?=\()/],className:{1:"type",3:"title.function"},keywords:w,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:w,relevance:0,contains:[R,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,r,a.C_BLOCK_COMMENT_MODE]},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},r,R]}}return Tr=o,Tr}var Nr,ro;function Cc(){if(ro)return Nr;ro=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],s=[].concat(o,r,i);function l(c){const u=c.regex,d=(we,{after:_e})=>{const Oe="</"+we[0].slice(1);return we.input.indexOf(Oe,_e)!==-1},h=e,g={begin:"<>",end:"</>"},f=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(we,_e)=>{const Oe=we[0].length+we.index,xe=we.input[Oe];if(xe==="<"||xe===","){_e.ignoreMatch();return}xe===">"&&(d(we,{after:Oe})||_e.ignoreMatch());let Ie;const ae=we.input.substring(Oe);if(Ie=ae.match(/^\s*=/)){_e.ignoreMatch();return}if((Ie=ae.match(/^\s+extends\s+/))&&Ie.index===0){_e.ignoreMatch();return}}},m={$pattern:e,keyword:t,literal:n,built_in:s,"variable.language":a},v="[0-9](_?[0-9])*",w=`\\.(${v})`,R="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${R})((${w})|\\.)?|(${w}))[eE][+-]?(${v})\\b`},{begin:`\\b(${R})\\b((${w})\\b|\\.)?|(${w})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},A={className:"subst",begin:"\\$\\{",end:"\\}",keywords:m,contains:[]},N={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,A],subLanguage:"xml"}},D={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,A],subLanguage:"css"}},S={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,A],subLanguage:"graphql"}},F={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,A]},z={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},Q=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,N,D,S,F,{match:/\$\d+/},y];A.contains=Q.concat({begin:/\{/,end:/\}/,keywords:m,contains:["self"].concat(Q)});const ne=[].concat(z,A.contains),re=ne.concat([{begin:/(\s*)\(/,end:/\)/,keywords:m,contains:["self"].concat(ne)}]),ee={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:m,contains:re},O={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,u.concat(h,"(",u.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},k={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ee],illegal:/%/},J={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ie(we){return u.concat("(?!",we.join("|"),")")}const X={match:u.concat(/\b/,ie([...o,"super","import","await"].map(we=>`${we}\\s*\\(`)),h,u.lookahead(/\s*\(/)),className:"title.function",relevance:0},Ce={begin:u.concat(/\./,u.lookahead(u.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ae={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ee]},Ke="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Ye={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(Ke)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ee]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:m,exports:{PARAMS_CONTAINS:re,CLASS_REFERENCE:$},illegal:/#(?![$_A-Za-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),k,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,N,D,S,F,z,{match:/\$\d+/},y,$,{scope:"attr",match:h+u.lookahead(":"),relevance:0},Ye,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[z,c.REGEXP_MODE,{className:"function",begin:Ke,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:m,contains:re}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:f},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ee,c.inherit(c.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ce,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ee]},X,J,O,Ae,{match:/\$[(.]/}]}}return Nr=l,Nr}var Cr,io;function xc(){if(io)return Cr;io=1;const t={scope:"number",match:"([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",relevance:0};function n(r){const i={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},o={match:/[{}[\],:]/,className:"punctuation",relevance:0},a=["true","false","null"],s={scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:a},contains:[i,o,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,s,t,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Cr=n,Cr}var xr,oo;function Sc(){if(oo)return xr;oo=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(o){const a={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:o.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[o.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+o.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,c]},{begin:"'",end:"'",illegal:/\n/,contains:[o.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[o.BACKSLASH_ESCAPE,u,c]}]};c.contains.push(d);const h={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+o.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+o.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[o.inherit(d,{className:"string"}),"self"]}]},f=r,_=o.COMMENT("/\\*","\\*/",{contains:[o.C_BLOCK_COMMENT_MODE]}),m={variants:[{className:"type",begin:o.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},v=m;return v.variants[1].contains=[m],m.variants[1].contains=[v],{name:"Kotlin",aliases:["kt","kts","ktm","ktx"],keywords:a,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),o.C_LINE_COMMENT_MODE,_,s,l,h,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:a,relevance:5,contains:[{begin:o.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[o.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[m,o.C_LINE_COMMENT_MODE,_],relevance:0},o.C_LINE_COMMENT_MODE,_,h,g,d,o.C_NUMBER_MODE]},_]},{begin:[/class|interface|trait/,/\s+/,o.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},o.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},h,g]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
7
|
-
`},f]}}return xr=i,xr}var Sr,ao;function Dc(){if(ao)return Sr;ao=1;const e=u=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:u.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:u.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],r=[...t,...n],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),l=o.concat(a).sort().reverse();function c(u){const d=e(u),h=l,g="and or not only",f="[\\w-]+",_="("+f+"|@\\{"+f+"\\})",m=[],v=[],w=function(ne){return{className:"string",begin:"~?"+ne+".*?"+ne}},R=function(ne,re,ee){return{className:ne,begin:re,relevance:ee}},y={$pattern:/[a-z-]+/,keyword:g,attribute:i.join(" ")},A={begin:"\\(",end:"\\)",contains:v,keywords:y,relevance:0};v.push(u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,w("'"),w('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.UNICODE_RANGE,d.HEXCOLOR,A,R("variable","@@?"+f,10),R("variable","@\\{"+f+"\\}"),R("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const N=v.concat({begin:/\{/,end:/\}/,contains:m}),D={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(v)},S={begin:_+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:v}}]},F={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:v,relevance:0}},W={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:N}},z={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:_,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,D,R("keyword","all\\b"),R("variable","@\\{"+f+"\\}"),{begin:"\\b("+r.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,R("selector-tag",_,0),R("selector-id","#"+_),R("selector-class","\\."+_,0),R("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+o.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:N},{begin:"!important"},d.FUNCTION_DISPATCH]},Q={begin:f+`:(:)?(${h.join("|")})`,returnBegin:!0,contains:[z]};return m.push(u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,F,W,Q,S,z,D,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return Sr=c,Sr}var Dr,so;function Oc(){if(so)return Dr;so=1;function e(t){const n="\\[=*\\[",r="\\]=*\\]",i={begin:n,end:r,contains:["self"]},o=[t.COMMENT("--(?!"+n+")","$"),t.COMMENT("--"+n,r,{contains:[i],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local global not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:n,end:r,contains:[i],relevance:5}])}}return Dr=e,Dr}var Or,co;function Ic(){if(co)return Or;co=1;function e(t){const n={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},r={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,n]},i={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[n,r]},o={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},a={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},s={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[n]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[t.HASH_COMMENT_MODE,n,r,i,o,a,s]}}return Or=e,Or}var Ir,lo;function Mc(){if(lo)return Ir;lo=1;function e(t){const n=t.regex,r=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,o={$pattern:/[\w.]+/,keyword:r.join(" ")},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:o},s={begin:/->\{/,end:/\}/},l={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:"variable",variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[l]},u={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},d=[t.BACKSLASH_ESCAPE,a,c],h=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],g=(m,v,w="\\1")=>{const R=w==="\\1"?w:n.concat(w,v);return n.concat(n.concat("(?:",m,")"),v,/(?:\\.|[^\\\/])*?/,R,/(?:\\.|[^\\\/])*?/,w,i)},f=(m,v,w)=>n.concat(n.concat("(?:",m,")"),v,/(?:\\.|[^\\\/])*?/,w,i),_=[c,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},u,{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:g("s|tr|y",n.either(...h,{capture:!0}))},{begin:g("s|tr|y","\\(","\\)")},{begin:g("s|tr|y","\\[","\\]")},{begin:g("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...h,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,l]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,l,u]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=_,s.contains=_,{name:"Perl",aliases:["pl","pm"],keywords:o,contains:_}}return Ir=e,Ir}var Mr,uo;function Lc(){if(uo)return Mr;uo=1;function e(t){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:r,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"</",contains:[n,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}return Mr=e,Mr}var Lr,fo;function Fc(){if(fo)return Lr;fo=1;function e(t){const n=t.regex,r=/(?![A-Za-z0-9])(?![$])/,i=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),o=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),a=n.concat(/[A-Z]+/,r),s={scope:"variable",match:"\\$+"+i},l={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},u=t.inherit(t.APOS_STRING_MODE,{illegal:null}),d=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(c)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(ee,O)=>{O.data._beginMatch=ee[1]||ee[2]},"on:end":(ee,O)=>{O.data._beginMatch!==ee[1]&&O.ignoreMatch()}},g=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),f=`[
|
|
8
|
-
]`,_={scope:"string",variants:[d,u,h,g]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},v=["false","null","true"],w=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],R=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],A={keyword:w,literal:(ee=>{const O=[];return ee.forEach($=>{O.push($),$.toLowerCase()===$?O.push($.toUpperCase()):O.push($.toLowerCase())}),O})(v),built_in:R},N=ee=>ee.map(O=>O.replace(/\|\d+$/,"")),D={variants:[{match:[/new/,n.concat(f,"+"),n.concat("(?!",N(R).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},S=n.concat(i,"\\b(?!\\()"),F={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),S],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,n.concat(/::/,n.lookahead(/(?!class\b)/)),S],scope:{1:"title.class",3:"variable.constant"}},{match:[o,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},W={scope:"attr",match:n.concat(i,n.lookahead(":"),n.lookahead(/(?!::)/))},z={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[W,s,F,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,_,m,D]},Q={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",N(w).join("\\b|"),"|",N(R).join("\\b|"),"\\b)"),i,n.concat(f,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[z]};z.contains.push(Q);const ne=[W,F,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,_,m,D],re={begin:n.concat(/#\[\s*\\?/,n.either(o,a)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...ne]},...ne,{scope:"meta",variants:[{match:o},{match:a}]}]};return{case_insensitive:!1,keywords:A,contains:[re,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},l,{scope:"variable.language",match:/\$this\b/},s,Q,F,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},D,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",re,s,F,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,_,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},_,m]}}return Lr=e,Lr}var Fr,po;function Bc(){if(po)return Fr;po=1;function e(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Fr=e,Fr}var Br,go;function Pc(){if(go)return Br;go=1;function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Br=e,Br}var Pr,ho;function Uc(){if(ho)return Pr;ho=1;function e(t){const n=t.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},d={begin:/\{\{/,relevance:0},h={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c,d,u]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c,d,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,d,u]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,d,u]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",f=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,_=`\\b|${i.join("|")}`,m={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${f}))[eE][+-]?(${g})[jJ]?(?=${_})`},{begin:`(${f})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${_})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${_})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${_})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${_})`},{begin:`\\b(${g})[jJ](?=${_})`}]},v={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},w={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,m,h,t.HASH_COMMENT_MODE]}]};return u.contains=[h,m,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,m,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},h,v,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[w]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[m,w,h]}]}}return Pr=e,Pr}var Ur,mo;function zc(){if(mo)return Ur;mo=1;function e(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Ur=e,Ur}var zr,bo;function $c(){if(bo)return zr;bo=1;function e(t){const n=t.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[a,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return zr=e,zr}var $r,_o;function Gc(){if(_o)return $r;_o=1;function e(t){const n=t.regex,r=/(r#)?/,i=n.concat(r,t.UNDERSCORE_IDENT_RE),o=n.concat(r,t.IDENT_RE),a={scope:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!(?:let|for|while|if|else|match)\b)/,o,n.lookahead(/\s*\(/))},s="([ui](8|16|32|64|128|size)|f(16|32|64|128))?",l=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","raw","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],c=["true","false","Some","None","Ok","Err"],u=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],d=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f16","f32","f64","f128","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:d,keyword:l,literal:c,built_in:u},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{scope:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|"|\\|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{scope:"number",variants:[{begin:"\\b0b([01_]+)"+s},{begin:"\\b0o([0-7_]+)"+s},{begin:"\\b0x([A-Fa-f0-9_]+)"+s},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+s}],relevance:0},{begin:[/\bsafe/,/\s+/,/extern/],scope:{1:"keyword",3:"keyword"}},{begin:[/fn/,/\s+/,i],scope:{1:"keyword",3:"title.function"}},{scope:"meta",begin:"#!?\\[",end:"\\]",contains:[{scope:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,i],scope:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,i,/\s+/,/in/],scope:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,i],scope:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,i],scope:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:u,type:d}},{scope:"punctuation",begin:"->"},a]}}return $r=e,$r}var Gr,Eo;function Hc(){if(Eo)return Gr;Eo=1;const e=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],r=[...t,...n],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function l(c){const u=e(c),d=a,h=o,g="@[a-z-]+",f="and or not only",m={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,u.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},u.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+h.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+d.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[u.CSS_NUMBER_MODE]},u.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[u.BLOCK_COMMENT,m,u.HEXCOLOR,u.CSS_NUMBER_MODE,u.UNICODE_RANGE,c.QUOTE_STRING_MODE,c.APOS_STRING_MODE,u.IMPORTANT,u.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:g,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:i.join(" ")},contains:[{begin:g,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,c.QUOTE_STRING_MODE,c.APOS_STRING_MODE,u.HEXCOLOR,u.CSS_NUMBER_MODE]},u.FUNCTION_DISPATCH]}}return Gr=l,Gr}var Hr,vo;function Kc(){if(vo)return Hr;vo=1;function e(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Hr=e,Hr}var Kr,wo;function qc(){if(wo)return Kr;wo=1;function e(t){const n=t.regex,r=t.COMMENT("--","$"),i={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},o={begin:/"/,end:/"/,contains:[{match:/""/}]},a=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],d=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],h=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],f=d,_=[...u,...c].filter(N=>!d.includes(N)),m={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},v={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},w={match:n.concat(/\b/,n.either(...f),/\s*\(/),relevance:0,keywords:{built_in:f}};function R(N){return n.concat(/\b/,n.either(...N.map(D=>D.replace(/\s+/,"\\s+"))),/\b/)}const y={scope:"keyword",match:R(g),relevance:0};function A(N,{exceptions:D,when:S}={}){const F=S;return D=D||[],N.map(W=>W.match(/\|\d+$/)||D.includes(W)?W:F(W)?`${W}|0`:W)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:A(_,{when:N=>N.length<3}),literal:a,type:l,built_in:h},contains:[{scope:"type",match:R(s)},y,w,m,i,o,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,v]}}return Kr=e,Kr}var qr,yo;function Wc(){if(yo)return qr;yo=1;function e(S){return S?typeof S=="string"?S:S.source:null}function t(S){return n("(?=",S,")")}function n(...S){return S.map(W=>e(W)).join("")}function r(S){const F=S[S.length-1];return typeof F=="object"&&F.constructor===Object?(S.splice(S.length-1,1),F):{}}function i(...S){return"("+(r(S).capture?"":"?:")+S.map(z=>e(z)).join("|")+")"}new RegExp(i(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));const o=S=>n(/\b/,S,/\w$/.test(S)?/\b/:/\B/),a=["Protocol","Type"].map(o),s=["init","self"].map(o),l=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],h=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],f=i(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_=i(f,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),m=n(f,_,"*"),v=i(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),w=i(v,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),R=n(v,w,"*"),y=n(/[A-Z]/,w,"*"),A=["attached","autoclosure",n(/convention\(/,i("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,R,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],N=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(S){const F={match:/\s+/,relevance:0},W=S.COMMENT("/\\*","\\*/",{contains:["self"]}),z=[S.C_LINE_COMMENT_MODE,W],Q={match:[/\./,i(...a,...s)],className:{2:"keyword"}},ne={match:n(/\./,i(...c)),relevance:0},re=c.filter(oe=>typeof oe=="string").concat(["_|0"]),ee=c.filter(oe=>typeof oe!="string").concat(l).map(o),O={variants:[{className:"keyword",match:i(...ee,...s)}]},$={$pattern:i(/\b\w+/,/#\w+/),keyword:re.concat(h),literal:u},k=[Q,ne,O],B={match:n(/\./,i(...g)),relevance:0},J={className:"built_in",match:n(/\b/,i(...g),/(?=\()/)},ie=[B,J],X={match:/->/,relevance:0},Ce={className:"operator",relevance:0,variants:[{match:m},{match:`\\.(\\.|${_})+`}]},Ae=[X,Ce],Ke="([0-9]_*)+",Ye="([0-9a-fA-F]_*)+",we={className:"number",relevance:0,variants:[{match:`\\b(${Ke})(\\.(${Ke}))?([eE][+-]?(${Ke}))?\\b`},{match:`\\b0x(${Ye})(\\.(${Ye}))?([pP][+-]?(${Ke}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},_e=(oe="")=>({className:"subst",variants:[{match:n(/\\/,oe,/[0\\tnr"']/)},{match:n(/\\/,oe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Oe=(oe="")=>({className:"subst",match:n(/\\/,oe,/[\t ]*(?:[\r\n]|\r\n)/)}),xe=(oe="")=>({className:"subst",label:"interpol",begin:n(/\\/,oe,/\(/),end:/\)/}),Ie=(oe="")=>({begin:n(oe,/"""/),end:n(/"""/,oe),contains:[_e(oe),Oe(oe),xe(oe)]}),ae=(oe="")=>({begin:n(oe,/"/),end:n(/"/,oe),contains:[_e(oe),xe(oe)]}),qe={className:"string",variants:[Ie(),Ie("#"),Ie("##"),Ie("###"),ae(),ae("#"),ae("##"),ae("###")]},ge=[S.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[S.BACKSLASH_ESCAPE]}],Bt={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:ge},me=oe=>{const ft=n(oe,/\//),nt=n(/\//,oe);return{begin:ft,end:nt,contains:[...ge,{scope:"comment",begin:`#(?!.*${nt})`,end:/$/}]}},ct={scope:"regexp",variants:[me("###"),me("##"),me("#"),Bt]},Pt={match:n(/`/,R,/`/)},je={className:"variable",match:/\$\d+/},Ut={className:"variable",match:`\\$${w}+`},wt=[Pt,je,Ut],jt={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:N,contains:[...Ae,we,qe]}]}},zt={scope:"keyword",match:n(/@/,i(...A),t(i(/\(/,/\s+/)))},Me={scope:"meta",match:n(/@/,R)},ze=[jt,zt,Me],ke={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,w,"+")},{className:"type",match:y,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,t(y)),relevance:0}]},lt={begin:/</,end:/>/,keywords:$,contains:[...z,...k,...ze,X,ke]};ke.contains.push(lt);const yt={match:n(R,/\s*:/),keywords:"_|0",relevance:0},Rt={begin:/\(/,end:/\)/,relevance:0,keywords:$,contains:["self",yt,...z,ct,...k,...ie,...Ae,we,qe,...wt,...ze,ke]},At={begin:/</,end:/>/,keywords:"repeat each",contains:[...z,ke]},ut={begin:i(t(n(R,/\s*:/)),t(n(R,/\s+/,R,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:R}]},kt={begin:/\(/,end:/\)/,keywords:$,contains:[ut,...z,...k,...Ae,we,qe,...ze,ke,Rt],endsParent:!0,illegal:/["']/},xt={match:[/(func|macro)/,/\s+/,i(Pt.match,R,m)],className:{1:"keyword",3:"title.function"},contains:[At,kt,F],illegal:[/\[/,/%/]},$t={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[At,kt,F],illegal:/\[|%/},Qt={match:[/operator/,/\s+/,m],className:{1:"keyword",3:"title"}},en={begin:[/precedencegroup/,/\s+/,y],className:{1:"keyword",3:"title"},contains:[ke],keywords:[...d,...u],end:/}/},Gt={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},dt={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},tt={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,R,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:$,contains:[At,...k,{begin:/:/,end:/\{/,keywords:$,contains:[{scope:"title.class.inherited",match:y},...k],relevance:0}]};for(const oe of qe.variants){const ft=oe.contains.find(rt=>rt.label==="interpol");ft.keywords=$;const nt=[...k,...ie,...Ae,we,qe,...wt];ft.contains=[...nt,{begin:/\(/,end:/\)/,contains:["self",...nt]}]}return{name:"Swift",keywords:$,contains:[...z,xt,$t,Gt,dt,tt,Qt,en,{beginKeywords:"import",end:/$/,contains:[...z],relevance:0},ct,...k,...ie,...Ae,we,qe,...wt,...ze,ke,Rt]}}return qr=D,qr}var Wr,Ro;function Yc(){if(Ro)return Wr;Ro=1;function e(t){const n="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},o={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},s={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,o]},l=t.inherit(s,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),g={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},f={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},_={begin:/\{/,end:/\}/,contains:[f],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[f],illegal:"\\n",relevance:0},v=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},g,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},_,m,a,s],w=[...v];return w.pop(),w.push(l),f.contains=w,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return Wr=e,Wr}var Yr,Ao;function Zc(){if(Ao)return Yr;Ao=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],s=[].concat(o,r,i);function l(u){const d=u.regex,h=(_e,{after:Oe})=>{const xe="</"+_e[0].slice(1);return _e.input.indexOf(xe,Oe)!==-1},g=e,f={begin:"<>",end:"</>"},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(_e,Oe)=>{const xe=_e[0].length+_e.index,Ie=_e.input[xe];if(Ie==="<"||Ie===","){Oe.ignoreMatch();return}Ie===">"&&(h(_e,{after:xe})||Oe.ignoreMatch());let ae;const qe=_e.input.substring(xe);if(ae=qe.match(/^\s*=/)){Oe.ignoreMatch();return}if((ae=qe.match(/^\s+extends\s+/))&&ae.index===0){Oe.ignoreMatch();return}}},v={$pattern:e,keyword:t,literal:n,built_in:s,"variable.language":a},w="[0-9](_?[0-9])*",R=`\\.(${w})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",A={className:"number",variants:[{begin:`(\\b(${y})((${R})|\\.)?|(${R}))[eE][+-]?(${w})\\b`},{begin:`\\b(${y})\\b((${R})\\b|\\.)?|(${R})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},N={className:"subst",begin:"\\$\\{",end:"\\}",keywords:v,contains:[]},D={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,N],subLanguage:"xml"}},S={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,N],subLanguage:"css"}},F={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,N],subLanguage:"graphql"}},W={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,N]},Q={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},ne=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,S,F,W,{match:/\$\d+/},A];N.contains=ne.concat({begin:/\{/,end:/\}/,keywords:v,contains:["self"].concat(ne)});const re=[].concat(Q,N.contains),ee=re.concat([{begin:/(\s*)\(/,end:/\)/,keywords:v,contains:["self"].concat(re)}]),O={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:ee},$={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,d.concat(g,"(",d.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},B={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},J={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[O],illegal:/%/},ie={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function X(_e){return d.concat("(?!",_e.join("|"),")")}const Ce={match:d.concat(/\b/,X([...o,"super","import","await"].map(_e=>`${_e}\\s*\\(`)),g,d.lookahead(/\s*\(/)),className:"title.function",relevance:0},Ae={begin:d.concat(/\./,d.lookahead(d.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ke={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},O]},Ye="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",we={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(Ye)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[O]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:v,exports:{PARAMS_CONTAINS:ee,CLASS_REFERENCE:k},illegal:/#(?![$_A-Za-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),B,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,S,F,W,Q,{match:/\$\d+/},A,k,{scope:"attr",match:g+d.lookahead(":"),relevance:0},we,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Q,u.REGEXP_MODE,{className:"function",begin:Ye,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:ee}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f.begin,end:f.end},{match:_},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},J,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[O,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ae,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[O]},Ce,ie,$,Ke,{match:/\$[(.]/}]}}function c(u){const d=u.regex,h=l(u),g=e,f=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],_={begin:[/namespace/,/\s+/,u.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},m={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:f},contains:[h.exports.CLASS_REFERENCE]},v={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},w=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],R={$pattern:e,keyword:t.concat(w),literal:n,built_in:s.concat(f),"variable.language":a},y={className:"meta",begin:"@"+g},A=(F,W,z)=>{const Q=F.contains.findIndex(ne=>ne.label===W);if(Q===-1)throw new Error("can not find mode to replace");F.contains.splice(Q,1,z)};Object.assign(h.keywords,R),h.exports.PARAMS_CONTAINS.push(y);const N=h.contains.find(F=>F.scope==="attr"),D=Object.assign({},N,{match:d.concat(g,d.lookahead(/\s*\?:/))});h.exports.PARAMS_CONTAINS.push([h.exports.CLASS_REFERENCE,N,D]),h.contains=h.contains.concat([y,_,m,D]),A(h,"shebang",u.SHEBANG()),A(h,"use_strict",v);const S=h.contains.find(F=>F.label==="func.def");return S.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Yr=c,Yr}var Zr,ko;function Jc(){if(ko)return Zr;ko=1;function e(t){const n=t.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(a,o),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,s,/ *#/)},{begin:n.concat(/# */,n.either(a,o),/ +/,n.either(s,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},d={className:"label",begin:/^\w+:/},h=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,i,c,u,d,h,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return Zr=e,Zr}var Jr,To;function Xc(){if(To)return Jr;To=1;function e(t){t.regex;const n=t.COMMENT(/\(;/,/;\)/);n.contains.push("self");const r=t.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],o={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},a={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[r,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},a,s,o,t.QUOTE_STRING_MODE,c,u,l]}}return Jr=e,Jr}var Xr,No;function Vc(){if(No)return Xr;No=1;var e=gc();return e.registerLanguage("xml",hc()),e.registerLanguage("bash",mc()),e.registerLanguage("c",bc()),e.registerLanguage("cpp",_c()),e.registerLanguage("csharp",Ec()),e.registerLanguage("css",vc()),e.registerLanguage("markdown",wc()),e.registerLanguage("diff",yc()),e.registerLanguage("ruby",Rc()),e.registerLanguage("go",Ac()),e.registerLanguage("graphql",kc()),e.registerLanguage("ini",Tc()),e.registerLanguage("java",Nc()),e.registerLanguage("javascript",Cc()),e.registerLanguage("json",xc()),e.registerLanguage("kotlin",Sc()),e.registerLanguage("less",Dc()),e.registerLanguage("lua",Oc()),e.registerLanguage("makefile",Ic()),e.registerLanguage("perl",Mc()),e.registerLanguage("objectivec",Lc()),e.registerLanguage("php",Fc()),e.registerLanguage("php-template",Bc()),e.registerLanguage("plaintext",Pc()),e.registerLanguage("python",Uc()),e.registerLanguage("python-repl",zc()),e.registerLanguage("r",$c()),e.registerLanguage("rust",Gc()),e.registerLanguage("scss",Hc()),e.registerLanguage("shell",Kc()),e.registerLanguage("sql",qc()),e.registerLanguage("swift",Wc()),e.registerLanguage("yaml",Yc()),e.registerLanguage("typescript",Zc()),e.registerLanguage("vbnet",Jc()),e.registerLanguage("wasm",Xc()),e.HighlightJS=e,e.default=e,Xr=e,Xr}var jc=Vc();const An=da(jc),Co={};function Qc(e){let t=Co[e];if(t)return t;t=Co[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function dn(e,t){typeof t!="string"&&(t=dn.defaultChars);const n=Qc(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let o=0,a=r.length;o<a;o+=3){const s=parseInt(r.slice(o+1,o+3),16);if(s<128){i+=n[s];continue}if((s&224)===192&&o+3<a){const l=parseInt(r.slice(o+4,o+6),16);if((l&192)===128){const c=s<<6&1984|l&63;c<128?i+="��":i+=String.fromCharCode(c),o+=3;continue}}if((s&240)===224&&o+6<a){const l=parseInt(r.slice(o+4,o+6),16),c=parseInt(r.slice(o+7,o+9),16);if((l&192)===128&&(c&192)===128){const u=s<<12&61440|l<<6&4032|c&63;u<2048||u>=55296&&u<=57343?i+="���":i+=String.fromCharCode(u),o+=6;continue}}if((s&248)===240&&o+9<a){const l=parseInt(r.slice(o+4,o+6),16),c=parseInt(r.slice(o+7,o+9),16),u=parseInt(r.slice(o+10,o+12),16);if((l&192)===128&&(c&192)===128&&(u&192)===128){let d=s<<18&1835008|l<<12&258048|c<<6&4032|u&63;d<65536||d>1114111?i+="����":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}}i+="�"}return i})}dn.defaultChars=";/?:@&=+$,#";dn.componentChars="";const xo={};function el(e){let t=xo[e];if(t)return t;t=xo[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function Ct(e,t,n){typeof t!="string"&&(n=t,t=Ct.defaultChars),typeof n>"u"&&(n=!0);const r=el(t);let i="";for(let o=0,a=e.length;o<a;o++){const s=e.charCodeAt(o);if(n&&s===37&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){i+=e.slice(o,o+3),o+=2;continue}if(s<128){i+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a){const l=e.charCodeAt(o+1);if(l>=56320&&l<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}Ct.defaultChars=";/?:@&=+$,-_.!~*'()#";Ct.componentChars="-_.!~*'()";function gi(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Qn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const tl=/^([a-z0-9.+-]+:)/i,nl=/:[0-9]*$/,rl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,il=["<",">",'"',"`"," ","\r",`
|
|
9
|
-
`," "],ol=["{","}","|","\\","^","`"].concat(il),al=["'"].concat(ol),So=["%","/","?",";","#"].concat(al),Do=["/","?","#"],sl=255,Oo=/^[+a-z0-9A-Z_-]{0,63}$/,cl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Io={javascript:!0,"javascript:":!0},Mo={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function hi(e,t){if(e&&e instanceof Qn)return e;const n=new Qn;return n.parse(e,t),n}Qn.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){const c=rl.exec(o);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=tl.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&Io[a])&&(o=o.substr(2),this.slashes=!0)),!Io[a]&&(i||a&&!Mo[a])){let c=-1;for(let f=0;f<Do.length;f++)r=o.indexOf(Do[f]),r!==-1&&(c===-1||r<c)&&(c=r);let u,d;c===-1?d=o.lastIndexOf("@"):d=o.lastIndexOf("@",c),d!==-1&&(u=o.slice(0,d),o=o.slice(d+1),this.auth=u),c=-1;for(let f=0;f<So.length;f++)r=o.indexOf(So[f]),r!==-1&&(c===-1||r<c)&&(c=r);c===-1&&(c=o.length),o[c-1]===":"&&c--;const h=o.slice(0,c);o=o.slice(c),this.parseHost(h),this.hostname=this.hostname||"";const g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){const f=this.hostname.split(/\./);for(let _=0,m=f.length;_<m;_++){const v=f[_];if(v&&!v.match(Oo)){let w="";for(let R=0,y=v.length;R<y;R++)v.charCodeAt(R)>127?w+="x":w+=v[R];if(!w.match(Oo)){const R=f.slice(0,_),y=f.slice(_+1),A=v.match(cl);A&&(R.push(A[1]),y.unshift(A[2])),y.length&&(o=y.join(".")+o),this.hostname=R.join(".");break}}}}this.hostname.length>sl&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return l!==-1&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),Mo[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Qn.prototype.parseHost=function(e){let t=nl.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const ll=Object.freeze(Object.defineProperty({__proto__:null,decode:dn,encode:Ct,format:gi,parse:hi},Symbol.toStringTag,{value:"Module"})),fa=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,pa=/[\0-\x1F\x7F-\x9F]/,ul=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,_i=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,ga=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,ha=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,dl=Object.freeze(Object.defineProperty({__proto__:null,Any:fa,Cc:pa,Cf:ul,P:_i,S:ga,Z:ha},Symbol.toStringTag,{value:"Module"})),fl=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function pl(e){return e===0||e>=55296&&e<=57343||e>1114111}function gl(e){return pl(e)?65533:e>=128&&e<=159&&fl[e-128]||e}function hl(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(gl(e))}const ot=(()=>{const e=new Uint8Array(127);let t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function ml(e,t,n,r,i,o){const s=e.length,l=o*90;let c=0;const u=()=>{const F=ot[e.charCodeAt(c++)];return F<o?F:F*91-l+ot[e.charCodeAt(c++)]},d=n-r,h=n+i,g=new Int32Array(h);g.fill(-1,r,o),g.fill(-1,o+d,h);const f=new Int32Array(h),_=new Int32Array(h);function m(F,W){let z=0,Q=W;const ne=W+F;for(;Q<ne;){const re=ot[e.charCodeAt(c++)];if(re<89)z+=re,g[Q++]=z;else if(re===89){let ee=ot[e.charCodeAt(c++)]+2;for(;ee--;)g[Q++]=++z}else{const ee=ot[e.charCodeAt(c++)];z+=89+(ee<90?ee*91+ot[e.charCodeAt(c++)]:ot[e.charCodeAt(c++)]*8281+ot[e.charCodeAt(c++)]*91+ot[e.charCodeAt(c++)]),g[Q++]=z}}}m(r,0),m(d,o);const v=new Int32Array(i*2);let w=0,R=0;function y(F,W){for(let z=0;z<F;z++){const Q=W+z,ne=u(),re=u();v[R*2]=ne,v[R*2+1]=re,R+=1,f[Q]=w;const ee=(g[ne]<0?_[ne]:1)+(g[re]<0?_[re]:1);_[Q]=ee,w+=ee}}y(i-o+r,o+d),y(o-r,r);const A=new Uint16Array(w);let N=0;for(let F=0;F<R;F++)for(let W=0;W<2;W++){const z=v[F*2+W],Q=g[z];if(Q<0){let ne=f[z];const re=ne+_[z];for(;ne<re;)A[N++]=A[ne++]}else A[N++]=Q}const D=new Uint16Array(t);let S=0;for(;c<s;){let F=ot[e.charCodeAt(c++)];F>=o&&(F=F*91-l+ot[e.charCodeAt(c++)]);const W=g[F];if(W<0){let z=f[F];const Q=z+_[F];for(;z<Q;)D[S++]=A[z++]}else D[S++]=W}return D}const bl=ml("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##),%-##%%)#&}(.}&%#&}%%}*&#%},&&}&%}#%*'#%})%}D&}&%}-&}6&#&}-,%}#%})-(~+`~,=?~I9'9%~!,#%})%})%}@%}?%}(~!?~#<~#pP~#BG~#=1#%K+~#?#~%;)~#A~#mF1~#A'~'X%'~#lR~#N~'N~#r~#m#-~#i'?%#'%~#B%##%,%#~#_%#0%~#]732~,w~2+#:&#%&'0%&>%}#>##F+)#%&&#(+_}4&}-%}(&}@&}O7Fdf0@+/v4}&WU##&/0#&'('B#%}.%}'+#%}#%%&#&%#%##+#&#)#6#'#.},%}c%},%#%##%&#&%#&~#>'*-.%##%##%}#%%}%'~#)D1}#%*&~#_%%'(~#S2%'.}#~#=##*'*-%}&'%'##&&~'E%.#&~#M4}%%##&'%#~#O1##%&#'+~#<B%##%%'%+~#;#@%}#&%#&&%#(~#H1}'%'##&&~#?A}&'~#D#%32}'&&&&~#[}'(#%}'~#;C})&}%%#%~#=&%,3}%'(#%%~#^'#&&)#%'~#Y%-~#d-%'~#^%%&#&&&}#~#b~2t*&'~&(~&@~0%~e~3}%*''0})&}+~!9##-}#%-hD*)1fC#%/&/fB#40~!+#)*4~!+~!K'&:~!/*7~!.#~!H~!L':~%x&~!H#~!*~%1~!I#~!+A~#p'~!F~~#-#~,,(~.Z~!V~%;'B'mq-W~!N~%I%#&&#&}#%},%%}'%}+X#%}#&}(%}'%}<%}#%}%%'}'%}:~![)9@~%>~#UA%-%##&~!C%~!-.9:~!1~!-^2/:a~!y,D*J#-5)/4~%23,~#G~!L1~!0X3`~!2+~!!0-~&E~!W~!o,>Y&]~%cZx_&~#O*9#A#'#+I'%#)~!0B*-5A+-((F&*M#)(-7-5+'-3a5Vi~!Y~!?+[)%3),ERHm~!+:D,VG.+)?fB%%*(%)'(#&80%1'8`K8?`+'Z#&O&'H5#*9)A%%5&3))0%39+.*7#()&&*=4@**L)<'_&*+..;(#*+)./&0#3)%')-8(4ixD(&.}%,('aI:,)%,k2231T)I'#/-W7,/'Q#.'Y24+h')37</31&83##&0#),H(?'&?/1##%#&&#%''-%&&&#(&''&#.-'%#%%(,')*'&#&#'##%(%(#%('#&##%%%%('%#%#%%#%#&%##h>w+v<ayvyvcg.uuhKr}g/v|g>u9i[~>g5uI~=RvdwEg;v/g;uk!!TTSx]@RT!U!#!@VBRUU!'UTe-d0c`e&gSdicedFcrdTaqb.kYcAohdYd@a3e+d}dMdtd.aJ#bqcK`dle/e.e'dwdPdodddjbEb}ogd^ofdpduc6j?l%d{drdqc)d7bacOdQ%T#Y)X.sR[yH>6Vyv3[xwLu>vo'!*.[yBacahoj>6Rew3[xqdZa#!a&#^(X-[yG>6Vyu3[xvg3sEr|g.u/Ri9db0T#^(Xa)!-[y;>6Vylg4wKs{JwNZt3@3r=c4Z([xlg;wKt!cpq's@v7A'*a(a+!-a#[y<3Dt?3Dt'>6Vym3[xmg9rxsNJwLZt4~?r?db1T#`-!(Xa,!0[yS>6Vz%NuQs.g4wKtnJwNZtS@3r>c4Z([y%g;wKtrdga8!a(!#&T*Y-Xa#!a0<or[yc3Dtq>6Vz43[y3JwNZtf@3s!Ju}!%Dti:pm3c_%X#tjB5pkd6q!r]u?voC'*-a.a2!0a&a+[yI3DtI3Ds~3DtH>6Vyw3[xx;:s#~<5pKJwNZtE@3r~d`a)!a2T#a.(!+U.X1[yT3Dt`3Dtv>6Vz&3[y&g9rxwzcxstPu.<rAJwLZtT~?r@dZa%!a.&^*Za(/Reu[ya>6Vz23[y1g3sEr}wkg{NuQRg{ci(U#5@b`~,cg#U(2WnH5wugcRh7dX#T(Y,a'Ta!!a,[yZ<]mj>6Vz,3[y+Pv#5ReZKu+=,%!H}7ABwkaS?Rh:BcW(X#<]mrj:ubv/ARekdg%!(!a.*Ta(Y.X1!#sP>Rl*Dt6[y>>6Vyo3Wf*jOvuumvuRgRJuq*!:9<B@bX~3jVv&v@s@5Re[d/rQt{uAvo&a&a*)a2!,0Wf!3Dt0=Bs'>6Re}3[xy~<5s%JwJZt1~Gs)c;&!#2sJkNuXvzq7rxu,Re8dka4!a8(aEZ+a@Y.X1Xa)[yd=Bs(3DtP>6Vz53[y4cX#X&Re:avRe9~<5s&JwJZtQ~Gs*i^rzvdRg+Jv{%!2sbB@bX}kdga,!Za?&^*T1/!a'Dt+[y6>6Vyf3Wf%g/u;s4hGu6?Rh-JvZ,!c%#&RoX54Rivj7uyvf8RgTKvZB%*!2sGh<vu5Rgq<=C::9bb~#dZ#T&Ta6Y.X*Dt>[y93Wf)coZ(T,6VyifluvRgC@95@B@bX~/hFu34cC#T,k/unq8w8Q5RkUklwQuzunq8w8Q5Rk8d/rJu?v8w9)-&!a0a;a&aIWejg3sEr/h1s<DtDJvyZqY5aws3Jvy!&Wei~Hr1:au5@Bag>23E~5c:Z&bX};kKv?w&unuVu5Rjc;>bs)#~@:Rh.=ay<a]C;b`}Vd6s/t{uAvoaxa()!a,a7%-a#a2Dt,[yF2Wo[>6Vyt3[xuNuPRi&NuPwpi#RoWh?vf8Ri%Jv]!%Ri:KvxD!.'2WeAjZu`q9rxu,Re7woeAg-unLq(qA_/*2Wg_g3u5q^9:4E}/jTrxrzv=Wkkd~0UX#^^Xa-a1a5T&a=U1a'*aEa]!a*aPaA-adok[y54Rn>;:p3~Dp5g9rpsFNvZqjg3uJp4~<5p0Pw;5qlJwNZt*@3p1Pw:5p/Ou!5p2JvG'!6Vye=<qnJvh_[xhg3v,Rh3kOwOw-sDuev/Re^dha[a%!%!a+#Ta7)-5TaCaO!aka!a)sf[yb2>Rl!9ARiq5E}Qg=ucRkBE|oJrJ_@Wk~@Wk{JrJ_@Wk|@WkyJrJ_@Wk}@WkzJvO_[y2g-vMRmiKuYC!)&>Ri;>Ri<@3RkNc](X#@9Rk=g5vuRmhKvDB!+'=]meg3u4Rmgd)#Y'Vz3CARmfd`a+!%T'!+#Ta1Ta6TaM-sTDt9[yA9sYd'%Y#s[[xpj:ueunaXRgEjRq,v-vuqdd2'`#6Rev<32@5>:2<E}5xIo9a*X#Y(;5RePJvD_g>vyRgNj8w)v8<wggs:RgXiZt|vjx,hSq3ah!-(~@:Ro/Ou!5RhWj^v(pyw8unRhUdx-UY#^Ua.a3a70!)%UX1TaDa)'omRiRRhE[y:3Dsz=Br,>6Vyj3[xkg6ruwjcqsrPw;5r*Ku]D'Zt-@3r(~?r.i[vwv]dU1a--U#`a4(g/vsRhPOu!5RhLj:rmu9Wo!~@:wdh@g/vsRiTjXuvvNr}:RhBj^v(pyw8unRn]dz1UYa'a+^Y(!aETZalaRY.Ta?a4[yDJw1!#qLsW>6Vyrfzq-pLflpwRe|Js>%!Dt@3Dt&Jvy_[xs~HrnjMuwpsw'RecKu+D#'!t<~Grl~?rjg5u-x,gwp{ah!-(~@:Rg~Ou!5Rh'jXuvvNr}:Rh#cW#X/c;&!#2sLi[v7u7RgpJv)(!iLrxu,Re6j7v@s@5Se[e7d`aW!Za(a`T.a#!a3!&aDa-!9)Dt_=6s+3[x~~DR|h~DS6avhGun5RkZj3w)v-]mkKunB!&*]kb97R|i<ARk<c:Z(6Vy}Juh'!wziMRoS:F|vkLuauJv5vtvQRh1d='T+Y#VyO~DR|jcF#T'7R|g97R|kJv3'!ay<Rj,Jvh&!:ReXcsa6*a+#a#_aIRf9aLRf?c,Z&Rf5Rf7c.Z&Rf;Rf>cQ#%T'p-Rf8Rf=ct#%'(*!,p,Rf4p+Rf6Rf:Rf<d~'Ua%U*^UYa(!a,-!#a4YaTalaEX0a8a<Weo3Dt/3Dsx=Br93Wen~Dr;~<5p<JwNZt2@3p=Pw:5p;Ou!5r3c7&!#:p>3Ds}KvGB)_6Vyk2sM=<r7x'eovA(!hFu1ARf}cV#X&@r5j6rvwQa^Rf3c=Za'wkghJv__g;unRggA53B9=b^}%j6uduo5Jq;!(hIv%2Re`Ou4ARe_e%a#^^^Xa&!a*a2!&a6YaP!*ad!#a:aE/5Rn?[y@>6Vyp;:pE~DrY~<5pBJwNZt8@3pCh=rt3rWPw:5pAJup_[xoNuPpF9c!#'45pD5ARn)d8#X'X*3@rU72s]h>v<<sSjJpqvewOJq/(!hNw'5ReBk0s2u3w/w'5ReE5@Jq.!a+JQ!&WeU23d(#Y&RjG5]jBk!u7w&u0udARjEe#+^^^Ub#!a2/a`Z(agT1!a-a;|@TaG!aS[yV=Re~fow'RguNuPRe?bz#'>RoUWeL>:Cbb|?JwPZtVg6ruRmzJvD'!6Vz(g/vmRh~Jvy_[y(g9voRgyx*cy(#2>Ri2B9b]~9kIw9u7rluJu3Rg]dI#a%UY'@=p%CAx.gQZ&RhwwygtRm{x5g_Z'+ABqR9Woa=Bp&dV#^*Xa'!&@o{g4v]Rk;Jv{!%Rk[wkkiA5RkiwwfUB=x,fUuqC&*!>RfTg8v0RfV~ARfSd;rJsAuAv9wR'ae+/aO!a@aza/a#[yQ@Wg!2Wemg3sEr0JvB_g>uvReWg2v+Re=KupB_+[y!2AbY~-~Hr2AJwD!(h<~El>h<~El?Kun@+_:9b`}Kg-v/Ri3g;vtwyk_9]k_d=&T#*U.6qh@Ab`|K9:H|CJv[!&3Dtex'fDwC%!Rf[9WlMd[(^X,!a%Z06Vz!@WgBg=v~Rgvg,QRe@awd,#Y+jTv|Q~EfWj]uNr|~FRfXdy#Y&^Ua%!aO.!(a)Ua;=!a@aKap!a-,a!Ta]a[rSa]p?[y82sK=Bq~;:p:~<5p8Pw:5p7d'#Y'Wf(;RnRi[u4w&RgJJvG'!6Vyh=<r#ijuuv/sIKuYD'ZtG@3p9~Gr&d2#`(g<vtRgFj`u5w&rqpxRf2CJuY!+:wfnTOu!5Rg}jNs1ucv&RfwJvA!&3@q|BDcC#T,k/unq8w8Q5RkTklwQuzunq8w8Q5Rk9dga#!a'!a=#a0!:+Tb*b@aO.a4!aba8aFJv^}?!VyR~Dr<g;u%Rn.~<5p[x'e`wNZtR@3p]Pw:5pZhNvjBp.woe_g5u-r4JwF!%DtO3:ooc7&!#:p^3DtpLuGw(!+%)Dtk6Vz#2sd=<r8d'#Y([y#<x3gJt`w@!)%}MRiowzikRij=]ilxAf3,U(#B2Rf#g0v-Rm[ck{`U#]giKv3>)!&6Ri154s,KuGB_%@r68r:dJ|t`#X(9<E|u2@H|rx3gJu?w'!+'1Nu7Reg4=H~+9<wxgY95Rm]xLggZ-`(X}U2:Ri4h<uOawRmsJv__5@bb{jbV~3dka#a'a]!,#a+U=a>b6a3b%!/aKa/)!arwve^VyJ;:pR~DpTg3uJpS~<5pOPw;5qmPw:5pNOu!5pQJvG'!6Vyx=<qoJvA!{~Jup!%@qk7Rn/KvyD!}''[xz;>wkh'?Rh,x8gyt`w5D!&),(SgyccRgztJ@3pPB5p#d'(Y#<]mmifubw&RgoJvE&!82s^JvF&!8Rf,ADb]~;x=h'rNu]vK!,%'*0RnORh)4Rh*AqQg-vaRnNg;wHwkh'ba~4cE#Ta*x3gctyw@'!+%RnFRnD<4Rn@hFvK5RnCxWg[#`&a0Ua()`1Rm75Rg[c]%X#qi8Rg^NvdRj>BwzgZauwji7Rm6A4wgg]d1#&(*,.0a#Rm;Rm<Rm=Rm>Rm?Rm@RmARmBe%#^^^Xaea?aC/b+(,!a+a#!a/!>a&Ta<aKbD!2wphBRnk[yPw}hE|.=Br-3Dtm>6Vy~g6urRf.x,hPrNav!%'RnqRo%Ro#Nu;q[Pw;5r+JwNZtM@3r)d'#Y'Weh;xChL#`&RnmRnoKu}>%(!Rne~Bs-;2wjcussJv+'!aYSO}6@B<5?ba~8LrNvj!.%*ROwungw~ng~:9;Ri^>wtnig;wHRnixDh@|(UZ.x1h@|)!#:2<H|*xHn]#-UX'3Ro)z=iT}6ARns=Bwsn_wpnaRncw]aR(#UXa&Ua*a/=]iPd'#Y&Ro'WnXf{QRm2hNvj]nZd`'T~&1`{|`#9b]{}c:'!#Wl{>@=be}]?cl{{U#:5Abb}Jds#^YaF!a*b4a#a3aPa>&Tb!bH!*a_!Eau?/a&RjY<]gj>6Vz*;:pe~DrZg,QRj1JwNZtX@wihspcJvZ&!VyX9WmOJu|!|N2WmHJvh&!]ht~Bpbcn&T(!#RmQ<s7Nu;padH#X'`+WmJ@>RmKCARhnKup=!)&Wf+:RhqNuPpf9c!#'45pd5AwghpARn(Ls@w!%,)!RmP@Wfe<E|IJva!&WmNg8vsRmLd`*.`#Y'Xa!axRn*]hrA8Rhug5s@rXg8u!RmMd8#X'X*3@rV72smdI*#UY&RmICARho~GsgxVgd)Ta'U-Y&Xa!T#RnEWnA@Wffg1uDRi0hFvK5RnBxGnG&#`%owp)@wsf+bX}Ze-*1!a*^^^Ua|!#a.aq&Ya2!a>.a6!a:aO`aJDtL[y`@Wg#>6Vz12@wzoYRoZNuPRi!NuPRhzg=ucRi,@=b`{Yg=ucRi-ACJvB!&Sh[ebSh]ebi`wUuFRm4Jw2_[y0JvB!.<Ju(!&SoG}6Shd}6<Ju(!&SoH}6She}6Kur@._g5vHRieJvx!{L2G{Kx6gd'T#?Rh82Wi5cZ#X(g1w)Rm5dW-Y(Ta#!a)!#aYa=wnfE=su2>>bU{0j9udv:<svj8uQv-7RgHdE%#^'sq9sp=>Bb_{TJv`!&g/r|snj6v(us5d,#Y(56H}[978H}]Jw5!&g1rushJvB!+j;v{u5?zDhd}6}bj;v{u5?zDhe}6}ce*#`(^^^a[aea!=!a6a*aoXb1a.!aAbL!b>,b'aL!aV@Wf|2Wlg3[y/JwNZt^@3piPw:5pgJunZou3@rsJva&!Vy_g<v~Rm#JvG'!6Vz0=<r{Ju{%!:pj@WfsiXuJu3Rm:JvZ&!WfA~Bph@c4Z&Dtwax5rubx(#:awRk1@d,#Y&RfjRfid1#,Y(@Wfp2Wlrg5s@ryKu[@!,'=]ig9wlk?Rk>g5u-rqJvy'!@9RkQcH(T#=>Ri~@<wkj(Wj(KuZB*!&<7rw@9RkRcH(T#=>Ri}@<wkj)Wj)dg(Ta2Xa9X#`-!a*CARhg@@=I}d9x;c~#X%so=<sj>2@@=aybb}XjWv0Q~EfEj3vLv;<d,#Y(56H}`978H}_dgaPaFa'a/!#a3Y0a_a;a|!1(a7-[yE3[xt;:pJNvZrrg3uJrvJwNZt=@3pIh=rt3rxPw:5pGOu!5rpJvG'!6Vys=<rz@c4Z&Dt(ax5rtJvZ!&~BpH@wsfNg-vaRlNci*U#=<wei<F}a5@Jq.!a*JQ!%@qZ23d(#Y&RjH5]jCk!u7w&u0udARjFd/prq=tyvpaEa(a:.!a1aZ(@@=I}:9wpd%=<sX55w_h}@@=I{t=ay<aU@@=I}T=ay<2@@=I})?C9:9au@9Cb]}DP~=x-fAZ(2Wl1=ay<aU@@=I}>5@d##Y+jTv|vV~EfFj]uNpn~FRfGdgaK!Z2&!a8a-Tb({E!acTbM*!a(DtY[yYd'%Y#sl[y*hHvh>Re5x2c{Z}.j4uCvcawRiMd+#X+_x&d!},<5RkX;2Hzw@x,gavfB-!{CcF&T#Roe;RodwWbBg5urRgaKvHC*_6Vz+<4opieuew&Rmq@d]&Y)X,T#X0Rh}<BqP=4qS9:ReMg/ujReNJw0!/<Jui%!bd{kawwnemRelAxUa?a3#*.&UX(Ya+a/RhvRnQ<o}9Wmtd-#Y&RgSRmw9;Rmxay=Rmyg-vaRmuxEhSrNu,v-voC!%(aR.a(a7+1Ro1>Ro5CE{A9b]{@;5x#eO{:g;urRi+KrNA!%(Ro3>Ro79;Ri_Ku@>{;&!x%gX|{KunA_+g5QRj/g3u5Rj#g>uERj%wio/xRhS&!,!#^1U}wba{8>>@=be}qC@:D5ba{7Ku+A&!}x?ba}t>>@=be}se(aA^^^Uat!b0#{pa+awUazbGa#aLb9bgaWac'a5TbS=Br!d1#`%scp_Jvl!#rT>Re0JvX&!VyN=H{Fcm#U&:pY=ReaJv2&!]h0=]nUJvG'!6Vy|=<r%JrM_=]h2@Wlud'#)U'Wf'b]{i=]h/Jvh!&~BpWg=v]RnMx+ny#'Nu;pVwjnu=]nwxJnx,T#`&Reqwjnt=]nvieu9vrRjLLuYwP(#+!th@wih5pX~Gr'g5v/Rh4KunA'!-CARnP@wwiN:Rm_9x'cvw>!|l=<saKvAA!0&3@q}>w^e1bp#&Re2Re3BDx7gH#T|f5H|eKuZ>!%(:qNAH{]Jv6!+3B2B9=b^{X<5<B92:E{ZLvhwA(a;a%!igQuyRmad+#Y}m@3Rh5d8#X'X*:AqUAHzmaxwbh<aXRnVcF}RT#Nw&cj#U(BWnug/vsRntdka)(a3+.Zb7aYYan1!bVa@Xa}[y^@b[{G=H{+hFu73Rj&Pv#5ReQcK%T#sig1v{Rj'Ku+D#'!t]~Grm~?rkKuMB!01d5#`'Vy.ta3Dtu~Hroc8#'{^45s85AwZbP&!#Rn!wghxWn#KvEA!)&2RlA2RlBx:h|#(T,=]j09Wobz>x]z/@awRoTd+#Y(az]hFhCrm4d,#Y+jTv|Q~EfMj]uNr|~FRfOdCa!Xa9_X#@<plJvf!%b`{(9;Rgwc;.!#2x7cw#T|UDb]|T5Ju={(!=@E{&Jv)&!Ab`{'awJvf!~*>>@=be{#KuY>!+&4Ezyi[ugv&RjIdea+T)#UXa&T-T&a!Rh9auRmW=]kLg5vuRn+g3u4Rn-Ow6ARn,hHus5xNk?#UX(U~)/g8v0RkD~AwkkF?Ri.OuNBwkkA?Ri/d|a2`a*^UYa.!aBTZaTa'Xa;!(!2!-a#b2[yC>6Vyq3[xr2Wi?g1rusVh%s?DtF~<5rbJs;%!DtBfswKtCj[uvuSsEu3RgVx3o:u+wN'*Zt;@3rd~Grh~?rfg8w)Lq)qE&-a%!>bI|`jWv0vV~EfCjTv|vV~Ef@j]uNpn~FRfBcK#T']gWNu7x,k7q4ai(0!hHv8<RhmkMu9vrsBuev/RhlCJvB!,g<v{wchh~@:Rhji[vrv{wchi~@:RhkdS&a5UY#Ta!RgPwwiI5BwciI~@:Rh`x'iJvj'!5]iJPu8Bwch]~@:Rhach)U#h3rp]gLh@t|Ax,hTq3ah!-(~@:Ro0Ou!5RhXj^v(pyw8unRhVd|)`,^UYas!a?/a2Z'a^Ta{Tb7Ta(a#!a,Wf&9sZ3DtAadamov=Bqt3[xig8vsRm~>waiL2b`{QJv*_Ouv2qgj<v]v2BqfdR'X*X#Y-@3qr~Gqv~?p6hHv-]glPup5Lq+q?_%*b_{qF{n9b^{rOu4ARhpKvCD!+&~Bqp:5Dbb}nwoiKl&unuTuBv]v+ueunaXRf0=Jvh!0nKufu8v1w&w7q%w&uHrz:Rgnj5w,uxDJq/(!hNw'5ReCk0s2u3w/w'5ReFd>Za&!*UaA=<wkgsRnSJv^!%Refifw3vyRgOKu_B'!,<]gkiiu:w&Rh<=C@a^<B57@2F{[<B5@aW:=3away9A5aW=<B=C@a^<B57@2F{Ie-#`(^^^bCara.b8aza6!/bZ,!adTbnTbOb+aFaS!aAT9@Wf~2Wli3Dtl2@d,#Y&RfnRfmJwJZtN~GqyJva&!VyMg<v~Rm%iXuJu3Rm9Jv[_=]ih9wlkDRkCd1#`(@Wg>2Wls3cH#T(@<Rj*=>Ri|b~'#23s9h<~El.d'#Y&Dtxi^rzvdRl#d*#U%(o|B2s`hJwSaxRmDKv4B&!1:Rmdd5#`'Vx}to~Hq{x'f1v3(!BA5ba|bJv_&!Wfug1v]ReIdO+U/Y#&G}-8wze=Rh{g1v]ReHg/uQRf/by#)ibQwERl/cH#T(@<Rj+=>Ri{cNu+vlax-!(#a0qa9<Rii2;;bU{H;x<i=&X#Rk`<4wwi=C9H~8xAI(Y#<azRi@45wXI<B9;5bb~7dL(X#Xa(+!aL6Vy{g5QqOau:5au2@ay547EzbxOcU(UX-T#Ta#:Cbb|A?wjh/b_|SOw6ARgtihr}u7Rhy<d1#T)X1@@=I|~=ay<2@@=aybb}Sj3vLv;<d,#Y(56H}A978H}@dGpvs@uAu`vcw9*!aFa+ai%(b!aXa8.a?a[ozWey=sU2@G}Nch&U#Rf_WexKu+D#'!t:~Gr`~?r^j]uNr|~FRg*j^psurwJt|RmcKv)@&!)7Rkv~Br[@wxfO:Rl3co#U'6Rezj_q#vIuavjRltwzeyh@vr5JqD0!>aY?C9:9au@9Cb]}9cl#U*5;5<H||jbuus1ucv&Rfvg1v~d/pppzqFr^a--a~!aMat1(hFv;Wiz@@=Izoj5uuv-7Rix~Cw`fk2WlVcZ#X,k)u3vWs@u2]ktg;wEx'fBq(_2Wg/jTv|vV~EfoJv]!15x'hzqG!(P~EfU~CRl_j6v(us5x4i-#T(2WmZ?C2F|d>Kq<aj1!*jTqIsBv=Wl`~Cw`fi2WlWj`v0u*~>RlR=c>Z,k#u3vWs@u2]kr<c1Z+jTqIsBv=Wla~Cw`fm2WlXdmb3!a{(arZa`bkTa%TbQTa-a9+c'!aM!/[yL=Bqug.w'RifhFvyDRj.g>vgwyk^9]k^Jv3_@WfbAARkhJw2_[x|JvB_wkoIRoKwkoJRoLd'(Y#<]gm=<9<H|yd'%_X#skDtb3awwqkgNulRkgdB#^',9:p'hJwSaxRmEBwVb8@4=H|qLu+w50&!)@3qs~?pU>Awwn;;Rn=c:Z'ARn<=<qwKvC@!/&~BqqJv6!&]eVb^z^xRge'/a%+^`#Sge}6<4Rn3=]n0Pw2>Rn8Jw0!&>Rn:>Rn6cY#a7+!a&=<wkaNw~h3z_c5Z{=wjh#=]nLKv^D!&)Vyz=bW|swYb<WetcG#T(2wxa@qVx@gD#Y&b^|V5JwG&!5bb|pg/w&RgD@x=kHs=uAvn!a%%/'+RmSRh694Ro`g-vaRmRhHv-]mlxCcS#`&ba~.5cD#Ta)P~=d,#Y(56H{>978H{Dd_#{2^Y%_+qbbb{6g3sERhsbU{?dfa.,`a(Xa<!aiX#(55RiG54RiHcI#T'WiU3RiVNvdwtfcRlKNvdd,#Y&RlHRlExQgf.1*^T'X#Sgf}6Wn4=]hfPrk>Rn7Jw0!&>Rn5>Rn9Lunw?&a2!,5<oq@@wqfdRlJj5Q~=d,#Y(~ARfcOuN]fdDKw;ay(}i!547E}j?cI#T(@5bV}iCbV}hdv(^^Tb?a40,b##Tbo!a*bR!a<b|a/!aKai!aU[yK=]o^g:v>ReGJwPZtK<7Rh+h<~El,Pv#5ReR@awwxjCg,ulRjDJv6&!]j!z?aQeeg>w=Sh<eeJw;!&axEzOg,Qosc!#*:wkeJ]eJ>x'h-u(!%Ro.w~h.zPdNZ(X,Ya![x{;9ReY;wkgxRiF:x?ap#Y&RmUg<s2Rkod]+UY0TZ'!a&A9sw<=bczLNvuw{gqzNhJwSaxRmCKuLay!#&s_Rf-55b^{uJvZa!!c%#(55Ri654wmiu5RiuawLu,vp!+}^%b_}Y9;wkgxba}o>A9:=b^}zKuh=a''!3awRk3c*'!#aHRk6c+Z&Rk5Rk4Jv)&!awRjSawd9*`#0?C2@EzMj8u<uJ5RmbjQrquJu3x,k>uq@_+=ayb^|W~ARkEOuN]k@7dhzV^X/X&a-#zRzSb`zXcJzTT#2WkVKvDBzW!%FzY9;5bbzWjQrquJu3Jw3%!b`zU=ayb^zQd:#X(T-a!6Vyywxh}=b]{Jg=u1RiAdGp~qHtzv!w(wA+a+a;<!aJaYai'anasb(=azRmV:Cbb{MLq2vb!%')RjuRjrRjtRjqx3jnqCw3!%')Rk(Rk+Rk&Rk)Lq2vb!%')Rj{RjxRjzRjwLq2vb!%')RjsRjpRjfRjex3jcqCw3!%')Rk'Rk*RjkRjl9<CbbzfOu4ARhxLq2vb!%')RjyRjvRjhRjgx=joq*uKvb!%')+-Rk.Rk%Rj~Rk-Rk#Rj}x=jdq*uKvb!%')+-Rk,Rk!Rj|RjmRjjRjidAq&qKs@uAv8Aa.'*-a@a&0!aM@a5[y73Dsy3Ds|3Dt):wxgI2sHJwJZt.~Gqxwsf0ikrzt}Rl0Jvy_[xj~HqzKv_A|D!&WfP8axRoVcf,U#k(v]v+ueunaXRf1Ju}'!g8u#Ri=jQw!sCunLprq>!,')~<5qeGzq9F{W=c##%s5au:5aU3CBE|;d4#X(D!a&6Vygx(b;#(=]ed?C2F{N<capoq2r[a&!aPa9,'Pw;5s:@@=I|,55w_h|@@=IzcP~=x'fCqB_2Wl2>aU@@=I|1OuNBc1Z+jTqIsBv=Wlc~Cw`fl2WlZ~AcTa%!Z+jTqIsBv=Wlb~Cw`fh2WlYk+uNqJsBv=WlSg,u3dca3#UXaMYa)TaB-=cM|7T#<bI}l5@B932:aV2G{BOuNBJq:|M!5Ezt=<B=C@a^<B57@2F{v>cB{/T#=ay<bI{3Jv6!a.6BKq0ah&+!5E}HP~Ef{978BaU@@=Iza<7d#.Y#978BaU@@=IzH~AJq0!(@@=IzG978BaU@@=IzFe,aU*Y&^^^bvJb,b:bFad!a,c2Ta>aL.bo6!a#CbTa'T#Re{2Wlh2@G{yg6t~Ro_NvdRfticuRQRllJv3&!x&c|zs@Jw3!%RflwpfkRlpKuL;%(!Re<@G|C2GzdhIvuBwgjAg-u0RjAKQB%!(GzZ@G|5NuuRl7d='T+Y#Vy[g<v~Rm!==G|>JvA!)@wma=]m1ifuaw&RmnLs@vT'!|/+[y,g:v>ReTJw1!#qX=x!eC{bLu+wT&)ZtZauq_~Graci&U#F|89:r_Lupvq!.)&2RlG8RfaC=x!eF{_h?rpWlmd&'!#X|&]k::xJey#`'T|+<E|&2@H|%dE#(^,g;u.RiEg6vjRiC9xCkA{O|zY#g=ucRmXKs0@!&*@G|m@awRknJuh!,3d(}gY}eJvj!%Rm):Jw3!%Rm+Rm-Ls0w(&!a(a#@b[|6cZ#X'7RkxWgAOu4ARn'dH'U#Y*Vz-Wm'CARm}d]*#a%^a*T'aK!a<9bV{PC=p*Jw4!&SgxcbB5r]idw(wBRmF7xFkt#&`(Rm/Rm8E|!JuY_9:Rl5=wrgr2:bbxd@xXfB(a*#T+!.X0X1Ta/a'T&RlDRfL>RlyARl9b[z[>RfZ:RlL:RfRwlg/ARl;9;RlxKv,A/!%7s69<74=BA5ba{-8Bde#`a<XaKYa1,a'P~=wxfB2bZ}}?C972@@=I}r8@55B9;5bb}G978B2@@=aybb}3j3vLv;<Jw3&!>Rfk=ayb^}4~Ad1#`*@@=aybb{w2@>==<bbz]dx+UY#^UaF!a9!bB'Ya1.!ajXa#%olRhD[y=3Dt#Ov5BrHKuMB%!(Rf^Wep~HrJwkiQjKr|~FRg)Ku+D#'!t5~GrF~?rDdV)UY,Z/_7RkuG{<~BrBg,rlsO:235B@bX}|d?a1!#`(6Vyn5@d##Y+jTv|vV~EfIj]uNpn~FRfH7Lq2vb1!a9-978BaU@@=Iz9978BbU}#~AJq0!(@@=Iz8978BaU@@=Iz7~AJQ|}!978BbU}!JvkaK!AdUa21-U#`a+(g/vsRn~Ou!5RPj:rmu9WhOjXuvvNr}:RhAj^v(pyw8unRn[kPr}p|u7vwv]RiSBd;pppzq@qHQa?(b.!a.a`@.|xa(hFv;Wiyj5uuv-7Riw~Cw`fg2WlU978BbU|wOuNBJqG!(P~EfD~CRlQcZ#X,k)u3vWs@u2]ksg;wEx'f@q1_2Wg.j]uNpn~FRfqJv]!15x'h{qG!(@@=IzK~CRl^j6v(us5x4i,#T(2WmY?C2F{1>Kq<aj1!*jTqIsBv=Wld~Cw`fj2Wl[j`v0u*~>RlT=c>Z,k#u3vWs@u2]kq<c1Z+jTqIsBv=Wle~Cw`fn2Wl]dn1#c(a(b^a2!b/bAT(bj!aDa7bu,a_a{c0!2T0g:v>ReD2@G{42@G{5~DpM~<5rc=Bx6i>{RT#RnI@zCx]y]z:2Jv[!zr5Awyk]9]k]dD(Y+X#6Vz.g=wKtgwhaCwgmTWj2Lu,w%_+/[y-B;b^xeg3u3Rj-2@bX{*KrJ<!+'@Wg(g?QRlC@Jv`!%b[zIwsfII}8JQ_@w|kW|=Jv(%!AqcOuNBJvEzh!bYzjLs@wP#(0!oy@>RkdJwMZtc3Dtd@BcG#T'9bWxg2@2Fznd*#Y+;2x'c}w<zizixNgwa#Z'U+!/!a'!a+w~g~z6wcn{Rn}wcnzRn|5Rh%=]nJg5vuRmvNvdRlvcprJu}w*az*a#!%.a.'Bot9qT]kj@Wg'ay2Gzv@Jv`!%b[zEwsfHI}1;ck#Ux`<Cbbx_Lu+w!a&0*!wko*wwo,So,}6Juqxf!E}PigQuyRm`d3(`#8>Rn%:A5B;bZ~%KvhCa!a2!x>k7#Uxb@b{#xaRk7Jw0!)>wwhlShl}6>wwhmShm}6CJvB!.x'hhvj{!!5Bwkhhbaz}x'hivjz~!5Bwkhibaz|xEhTrNu,v-vpD!a%&/)a3a.,%Ro2t[CE{)@3re9b]{%wjo09:rgc:Z&Ro6=<riifuaw&RmoKrNA!%(Ro4>Ro89;Ri`dSaL'UYzxZb)7Rka3xRhT&!,!#^1U}vbaz{>>@=be}yC@:D5bazzKu+A&!}{?ba}y>>@=be}wxBh[t`u~vJvr!%a!a()a,a0a4RoC=]o;Ju(!%RoGRhdwjh`=]oAg>w#Ro?g5vuRo=NvdRl|Ku]C.!&;RoEJvB!%RoORoMBx'h[v+_?w~h`}~5?w~hd~!xKh]oiptu-utv.vp!#%&a30a@a'a+(a/aOp(o~p!RoDJu(!%RoHRhewjha=]oBNvdRl}g>w#Ro@g5vuRo>c[#X']o<CauRoRAd-#Y':RkpauRoQKu]C.!&;RoFJvB!%RoNRoPBx'h]v+_?w~ha}t5?w~he}ue!/UbhYacXaW^Tc&a;b:a-c/#b&aja1(!cL+!bKbt!bmcRc9aIc?8[yW3Dtt94Rg`Jv}!&SiRMzBhEebShEMNuPRe>x7gL#TzuwjirRipc<Z&>on;>z=h-MSh.Mwqczx'a7vj&!>Re4@=ResJt__NuPRi*NuPRi)j]uNr|~FRfzKrJ>_+@Wfy@Wf]2WocKrJ<!+'@Wg%g/QRl@@Jv`!&awRl<wsfFIzgLu(w*!.*&ShBMwvhIRhI9;RhNx1hK'!#Sn]Mx1hK~0!#:2<H~7cNu+w7D*'1ZtW>Rn1~?rOc:Z&Rn2=<rQ<7wjh&=BSnLMc]#X(6Vz)w[b=a!U#9wzgMc3#&(RgMRitRis<x,gKt`ax!&+SioM=BSilMc3#&(RgKRinRimKurB,!&SiQMzBhDebShDM6BJQ!(P~Efx978B2@@=I}WLrJw!!,a*&@G}O@9wkibRid@@x'fKwC!&SlDMSfLMjUv~Q~EfKKv3@a+!(hFv-]mpx/hYZ(C5RiWz<o/MwkhY?So/M@x,gbvfB*&!SgEM:SoeeehFu3:Rgbda(,^TZa)X/7Sg[eb:2RgI~BrMC@wgkc:wwkcRerx3h(uUvK!&*,SnOM4Sh*MArRg;wHRh(x=h;rJvPwI!a4',a'0@Wg&=BSh/Mg>w=Rh=g3w*wwgGRgGcW(X#;Sg}M2Gzk@Jv`!&awRl=wsfGIz`dKZ*T'Y-:RhR7RhQg5u-p`j6v(us5d,#Y+~Awkia?RicOuNBwkibba}Ld6p~tyu_vbAa'a+!a/'a3aEa8a!>Sh,ebJv{!&Sh@ebSaReb9;SgwebNuPRi(NvdRl)NuPRi'hHu^<Rm^Jvv_@Wl(g;u1Si/ebKu'B&!*Sh?eb@Wl'z@aPeb95Si.ebcpputyvjB)!,&a+0a%ShAMWeK@G}C@WfJ9;RhMwvhH9w{ia}ix,hJvRA1(!zAn[MRhHx1hJ~*!#hFv(BSn[MBJQ!(@@=I~'978B2@@=I}2db.Ua<'X}+T#a0XaG2G}E;wkg|wuh!Rh!x,hZu,@)!&So0MVy)C5RiXACJvB!&5RiY5RiZg8w)cG}*T#2@bU}=KsA>(!a.3wkhZba~(x,h^u(A!&(SoCMRhb5Bz=h[eb?w~hb~6x,h_u(A!&(SoDMRhc5Bz=h]eb?w~hc~6e)aA1T#T,^^^c-bMb&blcPaP(a/!0!bA=b5c@a(!bfbrc#2afwmhARnjwchORnp2Wlf3DtsNvdRl-2@wpa<]m0bx(#:awRk2@Jw3!%RfhwpfgRlnKQB%!(G{V@G|'NuuRl6d='T+Y#VyUg<v~Rl~==G|<Jv+'!aYShC}6@B<5?ba~8@Jw3'!g2QRljhLrpWlOd+#Y'g.w'rIg>w*wgj@g-u0Rj@Lu+wT&)ZtUauq]~GrGci&U#F|39:rELrNvj!.%*RhCwunfw~nf~:9;Ri]>wtnhg;wHRnhx3hDs@v~!/+'@Wfr@9RkSNu&Rlo=@<5GzoKs0@_+@Wl+@awRkmJuh!-3d(}pY#qWJvj!%Rm(:Jw3!%Rm,Rm*de&!1U-U#`)Re;@G|.@9Ri82@wjfvRlq=@<5GzpLvOvr!).&2RlF8Rf`C=x!eE{.Jw3_g2QRlkhLrpWlPde(!#U{s,UXa*Ta'[y'g:v>ReS;x0PZ&RnlRnn~HrKJw1}f!=x!eB|2w]aP(#Xa&a*Ta.Ua2a7=]iOd'#Y&Ro&WnWg;u.RiDg6vjRiBNvdRlzhNvj]nYJuW_2Wm3x)kFze{9d])!a.!,Y01!#&aC!a3RndC=ox~BrC@2b^{pg,rlse7x'ksuq!%Rm.E{xidw(wBRmGx9o+)X#wwo-So-}69:Rl4@xSf@a#XZ'X)X,Ta(/ARl8b[xc>RfY:RlI:RfQwlg.ARl:9;Rlwdn'#^XafaQa1X1TaHTa)@b[{zcZ#X'7RkwWg@Ou4ARn&x)kG#{,g7u/RkGdH'U#Y*Vz'Wm&CARm|bx#(A]gUbUzJj9Q~=d,#Y(56H}l978H{U7d,0#U*2>ABb_xZ978BbU{e~AJQ{g!978BbU{hxMh?ad{oUYZ.x1h?{l!#:2<H{mx3n[t{vl!,&a%3Ro(z=iS}6ARnr=Bwsn^wvn`Rnbd`*T}B0!#^X'BG{c9b]{a>>@=be}F?JvS!&BG{d7BG}(Bde#`a1X,Ya@!a'P~=wxf@2bZ}I56B2@@=aybb}08@55B9;5bb}<j3vLv;<Jw3&!>Rfg=ayb^}&OuNBKuLA!)a!P~=x#fD{f2@>==<bbzl?C972@@=Ix^d6rSu,v7w*C(0a)a6#B+a%!sQ[y?3Dt%3[xn~<5rLOu!5p@Ku+D#'!t7~GrP~?rNKvlaya7'!h+v-5qMg=t|cd,U#5AAaa5Abb{S@52B5@a[@52B5Gx[iXueu;d<#`a(!/549C;ag>23ExY5@Dah89b^~689Jv)!~2b[~1Lv'w(%*!a#bX|aPrmawRe]keu7uhv-q6rxu,q`xTo]/a5aU!bNaDXbi!b-!ao!b<bwA!#5@B932:aV2G|:d-)Y#hJrL>RhG<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61);var Be;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE",e[e.VALUE_MASK=8191]="VALUE_MASK"})(Be||(Be={}));var Ze;(function(e){e[e.AMP=38]="AMP",e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_X=120]="LOWER_X"})(Ze||(Ze={}));const er=32,ma=21,_l=2097151,mi=2047;let ba=0;function El(e){const t=e>>>ma;return t===mi?ba:t}function vl(e){return e-Ze.ZERO>>>0<=9}function wl(e){return(e|er)-Ze.LOWER_A>>>0<=5}function yl(e){return(e|er)-Ze.LOWER_A>>>0<=25}var Lo;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Lo||(Lo={}));var Fo;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Fo||(Fo={}));function Rl(e,t,n,r){const i=(t&Be.BRANCH_LENGTH)>>7,o=t&Be.JUMP_TABLE;if(o){if(i===0)return r===o?n:-1;const l=r-o;if(l>>>0>=i)return-1;const c=e[n+l];return c===0?-1:n+i+c-1&65535}if(i===0)return-1;const a=i+1>>1,s=n+a+i;for(let l=0;l<i;l++){const u=e[n+(l>>1)]>>((l&1)<<3)&255;if(u===r){const d=n+a+l;return s+e[d]&65535}if(u>r)return-1}return-1}function Bo(e,t,n){return n===1?String.fromCharCode(e[t]&Be.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function Al(e,t,n){let r=t+1,i=0,o=r;if(r<n&&(e.charCodeAt(r)|er)===Ze.LOWER_X)for(r+=1,o=r;r<n;){const s=e.charCodeAt(r);if(vl(s))i=i*16+(s-Ze.ZERO);else if(wl(s))i=i*16+((s|er)-Ze.LOWER_A+10);else break;r+=1}else for(;r<n;){const s=e.charCodeAt(r)-Ze.ZERO;if(s>>>0>9)break;i=i*10+s,r+=1}if(r===o)return 0;r<n&&e.charCodeAt(r)===Ze.SEMI&&(r+=1),i>1114111&&(i=1114112);let a=r-t;return a>=mi&&(ba=a,a=mi),a<<ma|i}function kl(e,t,n){const r=bl;let i=e.indexOf("&");if(i<0)return e;const o=e.length;let a=0,s="";const l=r[0],c=l&Be.JUMP_TABLE,u=(l&Be.BRANCH_LENGTH)>>7;do{const d=i+1,h=e.charCodeAt(d);let g,f;if(h===Ze.NUM){const _=Al(e,d,o);g=El(_),g>0&&e.charCodeAt(d+g-1)!==Ze.SEMI&&(g=0),f=g===0?"":hl(_&_l)}else if(yl(h)){g=0,f="";const _=h-c;let m;if(_>>>0<u){const A=r[1+_];m=A===0?-1:u+A&65535}else m=-1;let v=0,w=0,R=m<0?0:r[m],y=d+1;e:for(;y<o;){for(;(R&(Be.VALUE_LENGTH|Be.FLAG13))===0&&(R&Be.JUMP_TABLE)!==0;){const S=R&Be.JUMP_TABLE,F=(R&Be.BRANCH_LENGTH)>>7;if(F===0){if(e.charCodeAt(y)!==S)break e;m+=1}else{const W=e.charCodeAt(y)-S;if(W>>>0>=F)break e;const z=r[m+1+W];if(z===0)break e;m=m+F+z&65535}if(R=r[m],y+=1,y>=o)break e}if((R&(Be.VALUE_LENGTH|Be.FLAG13))===Be.FLAG13){const S=(R&Be.BRANCH_LENGTH)>>7;if(e.charCodeAt(y)!==(R&Be.JUMP_TABLE))break;y+=1;const F=S-1;let W=m+1,z=0;for(;z+1<F;z+=2){const Q=r[W];if(e.charCodeAt(y)!==(Q&255)||(y+=1,e.charCodeAt(y)!==(Q>>8&255)))break e;y+=1,W+=1}if(z<F){if(e.charCodeAt(y)!==(r[W]&255))break;y+=1}m+=1+(S>>1),R=r[m];continue}const A=R>>>14,N=e.charCodeAt(y);if(A!==0){if(N===Ze.SEMI){g=y-d+1,f=A===1?String.fromCharCode(R&Be.VALUE_MASK):Bo(r,m,A);break}if(A===1)break}const D=Rl(r,R,m+(A||1),N);if(D<0)break;m=D,R=r[m],y+=1}f===""&&g>0&&(f=Bo(r,v,w))}else g=0,f="";g===0||n?i=d:(a<i&&(s+=e.slice(a,i)),s+=f,i=a=d+g),e.charCodeAt(i)!==Ze.AMP&&(i=e.indexOf("&",i))}while(i>=0);return s+e.slice(a)}function _a(e){return kl(e,!0,!1)}var Tl=class{src_Any=fa.source;src_Cc=pa.source;src_Z=ha.source;src_P=_i.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join("|");src_ZCc=[this.src_Z,this.src_Cc].join("|");cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}nestedPairRE(e,t,n=4){const r=this.escapeRE(e),i=this.escapeRE(t),o=`(?:(?!${this.src_ZCc}|${r}|${i}).)`;let a=`${r}${o}{0,1000}${i}`;for(let s=2;s<=n;s++)a=`${r}(?:${o}|${a}){0,1000}${i}`;return a}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=new RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=new RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])")}get_ipv6_addr(){const e="[0-9A-Fa-f]{1,4}",t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=new RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=new RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=new RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=new RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=new RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?")}get_host_terminator(){return this.cache.src_host_terminator??=new RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=new RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=new RegExp(`(?:[/?#](?:${this.nestedPairRE("[","]")}|${this.nestedPairRE("(",")")}|${this.nestedPairRE("{","}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts["---"]?"\\-(?!--(?:[^-]|$))(?:-{0,19})|":"\\-{1,20}|")+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=new RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=new RegExp("xn--[a-z0-9\\-]{1,59}")}get_tld(){if(this.cache.tld)return this.cache.tld;const e=[...new Set(this.opts.tlds||[])].sort().reverse().join("|");return this.cache.tld=new RegExp(`${e||"$#none#$"}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=new RegExp("(?:"+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=new RegExp("(?:"+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=new RegExp("(?:"+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=new RegExp("(?:"+(this.opts.fuzzyIP?this.get_ipv4_addr().source+"|":"")+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=new RegExp("")}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=new RegExp(`@${this.get_fuzzy_mail_host().source}`,"ig")}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=new RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${this.src_ZPCc}))(?:(?![$+<=>^\`||])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,"ig")}get_http_validator(){return this.cache.http_validator??=new RegExp("\\/\\/"+(this.opts.urlAuth?this.get_auth().source:"")+this.get_url_host_port().source+this.get_path().source,"iy")}get_relative_proto_validator(){return this.cache.relative_proto_validator??=new RegExp((this.opts.urlAuth?this.get_auth().source:"")+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,"iy")}get_mail_name_validator(){return this.cache.mail_name_validator??=new RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=new RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,"iy")}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map(e=>this.escapeRE(e)).join("|"))}get_schema_search(){return this.cache.schema_search??=new RegExp(`(^|(?!_)(?:[><|]|${this.src_ZPCc}))(${this.get_schema_names().source})`,"ig")}get_schema_at_start(){return this.cache.schema_at_start??=new RegExp(`^${this.get_schema_search().source}`,"i")}},Vr={validate:(e,t,n)=>{const r=n.re.get_http_validator();r.lastIndex=t;const i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)},Nl={"http:":Vr,"https:":Vr,"ftp:":Vr,"//":{validate:function(e,t,n){const r=n.re.get_relative_proto_validator();r.lastIndex=t;const i=r.exec(e);return i?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:i[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){const r=n.re.get_mailto_validator();r.lastIndex=t;const i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)}},Cl="a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw",xl="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф";function Sl(){const e=xl.split("|");return Cl.split("|").forEach(t=>{const n=t.indexOf(":"),r=t.slice(0,n);for(const i of t.slice(n+1))e.push(r+i)}),e}var Dl={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:Sl(),urlAuth:!1,maxLength:1e4},Po=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,r){const i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},Ol=class{__opts__;__schemas__;re;constructor(e={}){const{rebuilder:t,...n}=e;this.__opts__={...Dl,...n},this.__schemas__={...Nl},this.re=t||new Tl,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{const n={normalize:(r,i)=>i.normalize(r),...t};this.__schemas__[e]=n}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,n.exec(e)!==null))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&e.indexOf("@")>=0){const r=this.re.get_fuzzy_mail_host_search(),i=this.re.get_mail_name_validator();for(r.lastIndex=0;(t=r.exec(e))!==null;){const o=e.slice(Math.max(0,t.index-65),t.index);if(i.test(o))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){const t=[],n=this.re.get_schema_search();let r,i,o,a,s,l,c=!1,u=!1,d=!1,h=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(r=this.re.get_fuzzy_link_search(),r.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&(i=this.re.get_fuzzy_mail_host_search(),i.lastIndex=0,o=this.re.get_mail_name_validator());;){const g=Math.max(h-1,0);if(i&&o&&!d&&(!s||s.index<h))for(i.lastIndex<g&&(i.lastIndex=g);;){const w=i.exec(e);if(!w){d=!0,s=void 0;break}const R=o.exec(e.slice(Math.max(0,w.index-65),w.index));if(R){if(s={schema:"mailto:",index:w.index-R[1].length,lastIndex:w.index+w[0].length},s.index>=h)break;i.lastIndex<g&&(i.lastIndex=g)}}if(r&&!u&&(!a||a.index<h))for(r.lastIndex<g&&(r.lastIndex=g);;){const w=r.exec(e);if(!w){u=!0,a=void 0;break}if(a={schema:"",index:w.index+w[1].length,lastIndex:w.index+w[0].length},a.index>=h)break;r.lastIndex<g&&(r.lastIndex=g)}let f=s;(!f||a&&(a.index<f.index||a.index===f.index&&a.lastIndex>f.lastIndex))&&(f=a);let _;if(!c)for(;;){if(!l){n.lastIndex<g&&(n.lastIndex=g);const y=n.exec(e);if(!y){c=!0;break}l={schema:y[2],index:y.index+y[1].length,lastIndex:y.index+y[0].length}}if(l.index<h){l=void 0;continue}if(f&&l.index>f.index)break;const w=l;l=void 0;const R=this.testSchemaAt(e,w.schema,w.lastIndex);if(R){_={schema:w.schema,index:w.index,lastIndex:w.lastIndex+R};break}}let m=_;if((!m||s&&(s.index<m.index||s.index===m.index&&s.lastIndex>m.lastIndex))&&(m=s),(!m||a&&(a.index<m.index||a.index===m.index&&a.lastIndex>m.lastIndex))&&(m=a),!m)break;m===s?s=void 0:m===a&&(a=void 0);const v=new Po(e,m.schema,m.index,m.lastIndex);v.schema?this.__schemas__[v.schema].normalize(v,this):this.normalize(v),t.push(v),h=m.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;const t=this.re.get_schema_at_start().exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;const r=new Po(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],t?this.__opts__.tlds=this.__opts__.tlds.concat(e):this.__opts__.tlds=e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)}};const un=2147483647,bt=36,Ei=1,kn=26,Il=38,Ml=700,Ea=72,va=128,wa="-",Ll=/^xn--/,Fl=/[^\0-\x7F]/,Bl=/[\x2E\u3002\uFF0E\uFF61]/g,Pl={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},jr=bt-Ei,_t=Math.floor,Qr=String.fromCharCode;function It(e){throw new RangeError(Pl[e])}function Ul(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function ya(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Bl,".");const i=e.split("."),o=Ul(i,t).join(".");return r+o}function Ra(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}const zl=e=>String.fromCodePoint(...e),$l=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:bt},Uo=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Aa=function(e,t,n){let r=0;for(e=n?_t(e/Ml):e>>1,e+=_t(e/t);e>jr*kn>>1;r+=bt)e=_t(e/jr);return _t(r+(jr+1)*e/(e+Il))},ka=function(e){const t=[],n=e.length;let r=0,i=va,o=Ea,a=e.lastIndexOf(wa);a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&It("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){const l=r;for(let u=1,d=bt;;d+=bt){s>=n&&It("invalid-input");const h=$l(e.charCodeAt(s++));h>=bt&&It("invalid-input"),h>_t((un-r)/u)&&It("overflow"),r+=h*u;const g=d<=o?Ei:d>=o+kn?kn:d-o;if(h<g)break;const f=bt-g;u>_t(un/f)&&It("overflow"),u*=f}const c=t.length+1;o=Aa(r-l,c,l==0),_t(r/c)>un-i&&It("overflow"),i+=_t(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},Ta=function(e){const t=[];e=Ra(e);const n=e.length;let r=va,i=0,o=Ea;for(const l of e)l<128&&t.push(Qr(l));const a=t.length;let s=a;for(a&&t.push(wa);s<n;){let l=un;for(const u of e)u>=r&&u<l&&(l=u);const c=s+1;l-r>_t((un-i)/c)&&It("overflow"),i+=(l-r)*c,r=l;for(const u of e)if(u<r&&++i>un&&It("overflow"),u===r){let d=i;for(let h=bt;;h+=bt){const g=h<=o?Ei:h>=o+kn?kn:h-o;if(d<g)break;const f=d-g,_=bt-g;t.push(Qr(Uo(g+f%_,0))),d=_t(f/_)}t.push(Qr(Uo(d,0))),o=Aa(i,c,s===a),i=0,++s}++i,++r}return t.join("")},Gl=function(e){return ya(e,function(t){return Ll.test(t)?ka(t.slice(4).toLowerCase()):t})},Hl=function(e){return ya(e,function(t){return Fl.test(t)?"xn--"+Ta(t):t})},zo={version:"2.3.1",ucs2:{decode:Ra,encode:zl},decode:ka,encode:Ta,toASCII:Hl,toUnicode:Gl};var $o=Object.defineProperty,Na=(e,t)=>{let n={};for(var r in e)$o(n,r,{get:e[r],enumerable:!0});return $o(n,Symbol.toStringTag,{value:"Module"}),n},Kl=Na({arrayReplaceAt:()=>ql,asciiTrim:()=>rr,callable:()=>Ca,escapeHtml:()=>Ft,escapeRE:()=>tu,fromCodePoint:()=>Tn,isMdAsciiPunct:()=>xn,isPunctChar:()=>Sa,isPunctCharCode:()=>Cn,isSpace:()=>Ee,isValidEntityCode:()=>vi,isWhiteSpace:()=>Nn,lib:()=>nu,normalizeReference:()=>nr,unescapeAll:()=>fn,unescapeMd:()=>Jl});function Ca(e){const t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function ql(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function vi(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Tn(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var xa=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Wl=new RegExp(`${xa.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),Yl=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Zl(e,t){if(t.charCodeAt(0)===35&&Yl.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return vi(r)?Tn(r):e}const n=_a(e);return n!==e?n:e}function Jl(e){return e.indexOf("\\")<0?e:e.replace(xa,"$1")}function fn(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Wl,function(t,n,r){return n||Zl(t,r)})}var Xl=/[&<>"]/,Vl=/[&<>"]/g,jl={"&":"&","<":"<",">":">",'"':"""};function Ql(e){return jl[e]}function Ft(e){return Xl.test(e)?e.replace(Vl,Ql):e}var eu=/[.?*+^$[\]\\(){}|-]/g;function tu(e){return e.replace(eu,"\\$&")}function Ee(e){switch(e){case 9:case 32:return!0}return!1}function Nn(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Sa(e){return _i.test(e)||ga.test(e)}function Cn(e){return Sa(Tn(e))}function xn(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function nr(e){return e=e.trim().replace(/\s+/g," "),e.toLowerCase().toUpperCase()}function Go(e){return e===32||e===9||e===10||e===13}function rr(e){let t=0;for(;t<e.length&&Go(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&Go(e.charCodeAt(n));n--);return e.slice(t,n+1)}var nu={mdurl:ll,ucmicro:dl};function ru(e,t,n){let r,i,o,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),o===93&&(r--,r===0)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),o===91){if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}}let c=-1;return i&&(c=e.pos),e.pos=l,c}function iu(e,t,n){let r,i=t;const o={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return o;if(r===62)return o.pos=i+1,o.str=fn(e.slice(t+1,i)),o.ok=!0,o;if(r===92&&i+1<n){i+=2;continue}i++}return o}let a=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32){i++;continue}i+=2;continue}if(r===40&&(a++,a>32))return o;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(o.str=fn(e.slice(t,i)),o.pos=i,o.ok=!0),o}function ou(e,t,n,r){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let s=e.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;t++,o++,s===40&&(s=41),a.marker=s}for(;o<n;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=fn(e.slice(t,o)),a.ok=!0,a;if(i===40&&a.marker===41)return a;i===92&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=fn(e.slice(t,o)),a}var au=Na({parseLinkDestination:()=>iu,parseLinkLabel:()=>ru,parseLinkTitle:()=>ou});function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}function su(e,t){if(Sn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Sn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cu(e){var t=su(e,"string");return Sn(t)=="symbol"?t:t+""}function q(e,t,n){return(t=cu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jt=class{constructor(e,t,n){q(this,"map",null),q(this,"level",0),q(this,"children",null),q(this,"content",""),q(this,"markup",""),q(this,"info",""),q(this,"block",!1),q(this,"hidden",!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},Dn=class{constructor(){q(this,"__rules__",[]),q(this,"__cache__",null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){const e=new Set;this.__rules__.forEach(t=>{t.enabled&&t.alt.forEach(n=>{n&&e.add(n)})}),this.__cache__=Object.create(null),this.__cache__[""]=[],this.__rules__.forEach(t=>{t.enabled&&this.__cache__[""].push(t.fn)}),e.forEach(t=>{this.__cache__[t]=[],this.__rules__.forEach(n=>{n.enabled&&n.alt.indexOf(t)>=0&&this.__cache__[t].push(n.fn)})})}at(e,t,n={}){const r=this.__find__(e);if(r===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null}before(e,t,n,r={}){const i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}after(e,t,n,r={}){const i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(r=>{const i=this.__find__(r);if(i<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!0,n.push(r)}),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(n=>{n.enabled=!1}),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(r=>{const i=this.__find__(r);if(i<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!1,n.push(r)}),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},Et={};Et.code_inline=function(e,t,n,r,i){const o=e[t];return`<code${i.renderAttrs(o)}>${Ft(o.content)}</code>`};Et.code_block=function(e,t,n,r,i){const o=e[t];return`<pre${i.renderAttrs(o)}><code>${Ft(e[t].content)}</code></pre>
|
|
10
|
-
`};
|
|
1
|
+
import{f as ns,g as rs,h as is,e as os,i as as}from"./workbench-live-service-B-Qb7OSy.js";import{d as Mt,aq as ss,y as cs,U as ls,O as us,w as si,o as He,b as et,W as Jt,p as Vn,u as ce,v as Xt,f as On,a2 as ht,cn as ds,a4 as Ri,z as fs,co as Ai,_ as Vt,ai as ci,V as li,D as jn,aN as ps,T as na,Q as ln,Y as gs,a3 as hs,aP as ki,t as Ge,P as ms,g as Tt,H as wn,s as qn,q as yn,$ as ra,a0 as bs,G as ia,E as ui,b6 as _s,c as on}from"./index-mjJ_43zw.js";import{M as oa}from"./mobile-dialog-return-service-TKk1iEdJ.js";class Es{#t=new AbortController;#n;#e;constructor(t){this.#n=t.direct===void 0?void 0:{connect:t.direct},this.#e=this.#n===void 0?[]:[this.#n],t.relay!==void 0&&this.#e.push({connect:t.relay})}async ready(t){await this.#o(this.#i(t?.signal))}async prepareDirect(){this.#t.signal.throwIfAborted();const t=this.#n;t!==void 0&&(t.failed&&delete t.attempt,await this.#r(t))}async openStream(t,n){const r=this.#i(n?.signal),i=await this.#o(r),o=async l=>{if(r.throwIfAborted(),l.closed)return;const c=await l.openStream(t,r);return r.aborted&&(c?.close(),r.throwIfAborted()),c},a=await o(i.path);if(a!==void 0)return a;const s=this.#e.find(l=>l!==i.slot);if(s!==void 0){s.failed&&delete s.attempt;const l=await Ti(this.#r(s),r),c=await o(l);if(c!==void 0)return c}throw new Error("NODE_CONNECTION_UNAVAILABLE")}close(){if(!this.#t.signal.aborted){this.#t.abort(new Error("NODE_CONNECTION_CLOSED"));for(const t of this.#e)t.path?.close()}}#i(t){return t===void 0?this.#t.signal:AbortSignal.any([t,this.#t.signal])}#o(t){t.throwIfAborted();for(const r of this.#e)this.#a(r);const n=this.#e.find(r=>r.path!==void 0);if(n?.path!==void 0)return Promise.resolve({slot:n,path:n.path});for(const r of this.#e)r.failed&&delete r.attempt;return Ti(Promise.any(this.#e.map(async r=>({slot:r,path:await this.#r(r)}))),t)}#a(t){t.path?.closed&&(t.path.close(),delete t.path,delete t.attempt)}#r(t){return this.#a(t),t.attempt!==void 0?t.attempt:(t.failed=!1,t.attempt=Promise.resolve().then(async()=>{const n=this.#t.signal;try{n.throwIfAborted();const r=await t.connect(n),i=r.closed;if((n.aborted||i)&&r.close(),n.throwIfAborted(),i)throw new Error("NODE_PATH_CLOSED");return t.path=r,r}catch(r){throw t.failed=!0,r}}))}}function Ti(e,t){return new Promise((n,r)=>{const i=()=>r(t.reason);t.addEventListener("abort",i,{once:!0}),t.aborted&&i(),e.then(n,r).finally(()=>t.removeEventListener("abort",i))})}async function vs(e){const{carrier:t,signal:n}=e,r=Promise.withResolvers(),i=rs(e);let o=!1;const a=()=>{i.disconnect(),r.reject(new Error("NODE_RELAY_UNAVAILABLE"))},s=()=>{i.path.close(),r.reject(new Error("NODE_RELAY_UNAVAILABLE"))},l=()=>{r.reject(n.reason),s()};t.onClose(a),t.onMessage(c=>{try{if(o)i.receive(c);else{if(ns(c).type!=="RELAY_READY")throw new Error("NODE_RELAY_FRAME_INVALID");o=!0,r.resolve()}}catch{s()}}),n.addEventListener("abort",l,{once:!0}),n.aborted&&l();try{return await r.promise,n.throwIfAborted(),i.path}finally{n.removeEventListener("abort",l)}}const aa=30*6e4;function uf(e){const t=new Map,n=e.activeTtlMs??aa,r=e.now??Date.now;let i,o;function a(g){const f=r();i!==void 0&&i!==g&&t.set(i,f+n),i=g,g!==void 0&&(t.set(g,f+n),e.activate(g)),d(f),h()}function s(g){return g===i||(t.get(g)??0)>r()}function l(){return d(r()),[...t.keys()].filter(s)}function c(g){t.delete(g),i===g&&(i=void 0),h()}function u(){o!==void 0&&clearTimeout(o),o=void 0;const g=new Set(t.keys());i!==void 0&&g.add(i),t.clear(),i=void 0;for(const f of g)e.release(f)}function d(g){for(const[f,_]of t)f===i||_>g||(t.delete(f),e.release(f))}function h(){o!==void 0&&clearTimeout(o),o=void 0;let g;for(const[f,_]of t)f!==i&&(g=g===void 0?_:Math.min(g,_));g!==void 0&&(o=setTimeout(()=>{o=void 0,d(r()),h()},Math.max(0,g-r())))}return{select:a,isActive:s,activeNodeIds:l,forget:c,clear:u}}class sa extends Error{code="NODE_OFFLINE";constructor(){super("NODE_OFFLINE")}}function df(e){const t=new Map,n=async(c,u,d)=>{d.throwIfAborted();let h=t.get(c);if(h===void 0){const m=e.connectDirect,v=new Set;h={admissions:v,uses:0,expired:!1,connection:new Es({...m===void 0?{}:{direct:async w=>Ni(await m(c,w),"ice")},relay:async w=>{const R=ys(w),y=new Set;let A=new Error("NODE_RELAY_UNAVAILABLE");for(const{conversationId:N,signal:D}of v)if(R.throwIfAborted(),!(D.aborted||y.has(N))){y.add(N);try{return Ni(await ws(c,e.http,R,N),"relay")}catch(x){if(x instanceof sa)throw x;A=x}}throw A}})},t.set(c,h)}const g={signal:d,conversationId:u.kind==="hosted-file-upload"?u.conversationId:u.kind==="hosted-file-download"?u.descriptor.conversationId:void 0};clearTimeout(h.idleTimer),h.uses++;const f=h,_=()=>{f.uses--,i(c,f)};h.admissions.add(g);try{const m=await h.connection.openStream(u,{signal:d});return m.stream.finished.then(_),m}catch(m){throw _(),m}finally{h.admissions.delete(g)}},r=async(c,u,d)=>(await n(c,u,d)).stream;function i(c,u){t.get(c)!==u||u.uses!==0||e.isNodeActive?.(c)||(u.expired?s(c):u.idleTimer=setTimeout(()=>{e.isNodeActive?.(c)||s(c)},aa))}function o(c){const u=t.get(c);u!==void 0&&(u.expired=!0,i(c,u))}async function a(c){await t.get(c)?.connection.prepareDirect().catch(()=>{})}function s(c){const u=t.get(c);u!==void 0&&(t.delete(c),clearTimeout(u.idleTimer),u.connection.close())}function l(){for(const c of t.keys())s(c)}return{openStream:r,openRoutedStream:n,expireNode:o,directReady:a,closeNode:s,reset:l}}function Ni(e,t){return{get closed(){return e.closed},close:()=>e.close(),async openStream(n,r){const i=await e.openStream(n,r);return i===void 0?void 0:{stream:i,transport:t,close:()=>i.close()}}}}async function ws(e,t,n,r){const i=new URL(`/api/relay/${encodeURIComponent(e)}`,window.location.origin);r!==void 0&&i.searchParams.set("hostedConversationId",r);const o=await Rs(i,n);return{get closed(){return o.closed},close:()=>o.close(),async openStream(a,s){const{kind:l}=a;if(l==="browser-rfb"){const h=await a.prepare(void 0,s);return h!==void 0?o.openStream({kind:l,grant:h},s):void 0}if(l==="browser-file-download"||l==="browser-file-upload"){const h=await a.issueTicket(s);return o.openStream({kind:l,grant:h},s)}let c,u;if(l==="terminal"){const{kind:h,terminalId:g,...f}=a;c=`/api/terminals/${encodeURIComponent(g)}/attach-ticket`,u={nodeId:e,...f}}else if(l==="hosted-file-upload"){const{conversationId:h,uploadId:g}=a;c=`/api/nodes/${encodeURIComponent(e)}/hosted-conversations/${encodeURIComponent(h)}/uploads/${encodeURIComponent(g)}/stream-ticket`,u={}}else if(l==="hosted-file-download"){const{conversationId:h,fileId:g,...f}=a.descriptor;c=`/api/nodes/${encodeURIComponent(e)}/hosted-conversations/${encodeURIComponent(h)}/files/${encodeURIComponent(g)}/stream-ticket`,u=f}else{const{descriptor:h}=a;c=`/api/workspaces/${encodeURIComponent(h.resource.workspaceId)}/file-stream-ticket`,u={nodeId:e,descriptor:h}}const{ticket:d}=await t.request(c,{method:"POST",body:JSON.stringify(u),signal:s});return s.throwIfAborted(),o.openStream({kind:l,grant:d},s)}}}function ys(e){return AbortSignal.any([e,AbortSignal.timeout(15e3)])}async function Rs(e,t){t.throwIfAborted(),e.protocol=e.protocol==="https:"?"wss:":"ws:";const n=new WebSocket(e);n.binaryType="arraybuffer";let r;return vs({carrier:{async send(i){if(n.readyState!==WebSocket.OPEN)throw new Error("NODE_RELAY_UNAVAILABLE");n.send(i)},close:()=>n.close(),onMessage:i=>n.addEventListener("message",o=>i(o.data)),onClose:i=>n.addEventListener("close",o=>{r=o.code,i()},{once:!0})},maxStreams:32,signal:t}).catch(i=>{throw t.throwIfAborted(),r===is?new sa:i})}function ff(e){return{async upload(t){const{descriptor:n,file:r,onProgress:i,onTransport:o}=t;if(n.direction!=="UPLOAD")throw new Error("DIRECT_TRANSFER_INVALID");const a=t.signal??new AbortController().signal,{stream:s,transport:l}=await e(t.nodeId,{kind:"file-upload",descriptor:n},a);await as(s,r,a,i,()=>o?.(l))},async download(t){const{descriptor:n,sink:r,onProgress:i}=t,o=t.signal??new AbortController().signal;if(n.direction!=="DOWNLOAD")throw await r.abort().catch(()=>{}),new Error("DIRECT_TRANSFER_INVALID");await os(async()=>(await e(t.nodeId,{kind:"file-download",descriptor:n},o)).stream,r,n.range?.length??n.size,o,i)}}}const As="mar-open-standalone-file";function di(e){const t=new URL(e,typeof location>"u"?"http://localhost":location.origin),n=/^[/]share[/]([A-Za-z0-9_-]{1,128})$/u.exec(t.pathname);return n===null?"workbench":`share:${n[1]}`}function pf(e){const t=new URL(e,typeof location>"u"?"http://localhost":location.origin);if(di(e)!=="workbench"||t.searchParams.get("standaloneFile")!=="1"||t.searchParams.get("markdownPreview")==="1"||t.searchParams.get("htmlPreview")==="1"||t.searchParams.get("source")==="hosted")return;const n=t.searchParams.get("nodeId"),r=t.searchParams.get("workspaceId"),i=t.searchParams.get("path");if(n===null||r===null||i===null)return;const o=t.searchParams.get("worktreePath"),a=Number(t.searchParams.get("line")),s=Number(t.searchParams.get("column")),l=t.searchParams.get("fileTabKind");let c;if(l!==null){if(l!=="WORKTREE_DIFF"&&l!=="HISTORY_DIFF")return;const u=t.searchParams.get("repositoryPath")??"",d=t.searchParams.get("commit");if(l==="HISTORY_DIFF"&&d===null)return;const h=t.searchParams.get("previousPath"),g=t.searchParams.getAll("refs"),f=t.searchParams.getAll("paths");c={kind:l,...t.searchParams.get("gitFile")==="1"?{gitFile:!0}:{},nodeId:n,workspaceId:r,path:i,repositoryPath:u,worktreePath:o??"",...d===null?{}:{commit:d},...h===null?{}:{previousPath:h},...g.length===0?{}:{refs:g},paths:f.length===0?[i]:f}}return{nodeId:n,workspaceId:r,path:i,...o===null?{}:{worktreePath:o},...c===void 0&&t.searchParams.has("repositoryPath")?{repositoryPath:t.searchParams.get("repositoryPath")}:{},...a>0?{line:a}:{},...s>0?{column:s}:{},...c===void 0?{}:{tab:c}}}function gf(e,t="workbench"){let n,r,i;return{openNew(o){if(di(o)!==t)return;const s=(typeof window>"u"?void 0:window.open.bind(window))?.(o,"_blank");if(s!=null)return s.opener=null,s.focus(),s},open(o){if(di(o)!==t)return;const a=typeof window>"u"?void 0:window.open.bind(window);if(a===void 0)return;const s=new URL(o,"http://localhost").searchParams.get("markdownPreview")==="1",l=new URL(o,"http://localhost").searchParams.get("htmlPreview")==="1",c=l?i:s?r:n,d=(c===void 0||c.closed)&&typeof window<"u"&&window.matchMedia?.("(display-mode: standalone)").matches===!0,h=c!==void 0&&!c.closed?c:a(d?o:"",l?`mar-html-preview${t==="workbench"?"":":"+t}`:s?`mar-markdown-preview${t==="workbench"?"":":"+t}`:`mar-file-preview${t==="workbench"?"":":"+t}`);if(h===null)return;if(l?i=h:s?r=h:n=h,d)return h.opener=null,h.focus(),h;let g=!1;try{g=!h.dispatchEvent(new CustomEvent(As,{cancelable:!0,detail:{url:o}}))}catch{}return h.opener=null,g||h.location.replace(o),h.focus(),h}}}const ks=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function gt(e,t){return e>>>t|e<<32-t}async function hf(e){if(globalThis.crypto?.subtle){const t=await globalThis.crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(t),n=>n.toString(16).padStart(2,"0")).join("")}return Ts((async function*(){for(let n=0;n<e.length;n+=262144)n>0&&await new Promise(r=>setTimeout(r,0)),yield e.subarray(n,n+262144)})())}async function Ts(e){const t=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),n=new Uint32Array(64),r=new Uint8Array(128),i=new DataView(r.buffer);let o=0,a=0;for await(const c of e){o+=c.length;let u=0;if(a>0){if(u=Math.min(64-a,c.length),r.set(c.subarray(0,u),a),a+=u,a<64)continue;l(i,0),a=0}const d=new DataView(c.buffer,c.byteOffset,c.length);for(;u+64<=c.length;u+=64)l(d,u);a=c.length-u,r.set(c.subarray(u),0)}r.fill(0,a),r[a]=128;const s=a<56?64:128;return i.setUint32(s-8,Math.floor(o/536870912)),i.setUint32(s-4,o<<3),l(i,0),s===128&&l(i,64),Array.from(t,c=>c.toString(16).padStart(8,"0")).join("");function l(c,u){for(let y=0;y<16;y++)n[y]=c.getUint32(u+y*4);for(let y=16;y<64;y++){const A=n[y-15],N=n[y-2];n[y]=n[y-16]+(gt(A,7)^gt(A,18)^A>>>3)+n[y-7]+(gt(N,17)^gt(N,19)^N>>>10)}let d=t[0],h=t[1],g=t[2],f=t[3],_=t[4],m=t[5],v=t[6],w=t[7];for(let y=0;y<64;y++){const A=w+(gt(_,6)^gt(_,11)^gt(_,25))+(_&m^~_&v)+ks[y]+n[y],N=(gt(d,2)^gt(d,13)^gt(d,22))+(d&h^d&g^h&g);w=v,v=m,m=_,_=f+A>>>0,f=g,g=h,h=d,d=A+N>>>0}const R=[d,h,g,f,_,m,v,w];for(let y=0;y<8;y++)t[y]=t[y]+R[y]}}const bi=Symbol("mar-ui-command"),Ns=Mt({__name:"MarDropdown",props:{trigger:{default:"click"},disabled:{type:Boolean},virtualTriggering:{type:Boolean},virtualRef:{},placement:{default:"bottom"},offset:{},initialFocus:{},persistent:{type:Boolean,default:!0},popperClass:{},popperStyle:{type:[Boolean,null,String,Object,Array]}},emits:["command","visible-change"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=ss(),a=cs(),s=`${a}-trigger`,l=ht(),c=ht(null),u=ht(null),d=ht(!1);let h,g,f,_=!1,m=!1;const{open:v,show:w,close:R}=ls(()=>{d.value=!1,f=void 0,_&&(_=!1,i("visible-change",!1))}),y=()=>[...u.value?.querySelectorAll('[role="menuitem"]:enabled')??[]];function A(k){const B=u.value;(k??B)?.focus({preventScroll:!0});const J=B?.querySelector(":scope > .mar-ui-popup__content");if(!k||!J)return;const ie=k.getBoundingClientRect(),X=J.getBoundingClientRect().top+J.clientTop,Ce=X+J.clientHeight;ie.top<X?J.scrollTop+=ie.top-X:ie.bottom>Ce&&(J.scrollTop+=ie.bottom-Ce)}function N(k){return k.isConnected&&!k.matches(':disabled, [aria-disabled="true"]')&&!k.closest("[inert]")}function D(k,B,J=!1,ie=!1){if(r.disabled||B&&!N(B)&&!r.virtualTriggering)return;(!v.value||ie)&&(f=B),l.value=r.virtualTriggering?void 0:g?.id;const X=Symbol();h=X,d.value=!0;function Ce(){if(h!==X)return;h=void 0;const Ae=u.value;if(!Ae||r.disabled||k instanceof HTMLElement&&!N(k)){d.value=!1;return}const Ke=v.value;if(w(k,Ae,ie?{placement:"bottom-start",dismissOnAnchorScroll:!(k instanceof HTMLElement),outsideDismissTrigger:r.trigger==="click"?g??null:null}:{placement:r.placement,offset:r.offset}),!v.value)return;if(!Ke)_=!0,i("visible-change",!0);else if(Ae.contains(Ae.ownerDocument.activeElement))return;const Ye=()=>{v.value&&u.value===Ae&&A(r.initialFocus==="menu"?void 0:y().at(J?-1:0))};if(Ae.inert)return Ri(Ye);Ye()}return u.value?Ce():Ri(Ce)}function x(k=!1){h=void 0,d.value=!1;const B=f,J=u.value;k&&v.value&&B&&J?.contains(J.ownerDocument.activeElement)&&N(B)&&B.focus({preventScroll:!0}),R()}function F(){const k=r.virtualTriggering?r.virtualRef:g;if(!k)return;const B=c.value?.ownerDocument.activeElement,J=r.virtualTriggering?B instanceof HTMLElement?B:void 0:g;D(k,J)}function W(){x(!0)}async function z(k,B){if(!(typeof HTMLElement>"u"))if(k instanceof HTMLElement)await D(k,B??k,!1,!0);else{const J=new DOMRect(k.clientX,k.clientY);await D(B?{getBoundingClientRect:()=>J,contextElement:B}:{getBoundingClientRect:()=>J},B,!1,!0)}}t({handleOpen:F,handleOpenAt:z,handleClose:W}),us(()=>{h=void 0}),si(()=>r.disabled,k=>{k&&x()}),si(u,k=>{!k&&v.value&&x()}),fs(bi,{menuId:a,triggerId:l,surface:u,popupClass:Ai(()=>r.popperClass),popupStyle:Ai(()=>r.popperStyle),activate(k){!v.value||r.disabled||(k!==void 0&&i("command",k),x(!0))}});function ne(k){if(typeof HTMLElement>"u")return;const B=k instanceof HTMLElement?k:k?.$el;g=B instanceof HTMLElement?B:void 0,!g&&!r.virtualTriggering&&v.value&&x()}function re(k){const B=k.currentTarget;if(!(k.defaultPrevented||r.disabled||!N(B)))if(k.key==="ArrowDown"||k.key==="ArrowUp"){k.preventDefault();const J=k.key==="ArrowUp";v.value?A(y().at(J?-1:0)):D(B,B,J)}else r.trigger==="contextmenu"&&(k.key==="ContextMenu"||k.shiftKey&&k.key==="F10")&&(k.preventDefault(),z(B))}const ee=Mt(()=>()=>{const k=o.default?.()[0];return k?ds(k,{ref:ne,id:k.props?.id??s,disabled:r.disabled||k.props?.disabled,"aria-haspopup":"menu","aria-expanded":v.value,"aria-controls":r.persistent||d.value?a:void 0,onMousedown:B=>{v.value&&r.trigger==="click"&&B.preventDefault()},onClick:B=>{if(B.defaultPrevented||r.trigger!=="click"&&B.detail!==0)return;const J=B.currentTarget;v.value||h?x(!0):D(J,J)},onContextmenu:B=>{const J=B.currentTarget;r.trigger!=="contextmenu"||B.defaultPrevented||r.disabled||!N(J)||(B.preventDefault(),z(B,J))},onKeydown:re},!0):null});function O(k){if(!(k.defaultPrevented||!v.value||!u.value?.contains(k.target))){if(k.key==="Escape")k.preventDefault(),k.stopPropagation(),x(!0);else if(k.key==="Tab")m=!0,setTimeout(()=>m=!1,0);else if(["ArrowUp","ArrowDown","Home","End"].includes(k.key)){k.preventDefault();const B=y();if(!B.length)return;const J=B.findIndex(X=>X===k.target),ie=k.key==="Home"?0:k.key==="End"?B.length-1:(J+(k.key==="ArrowUp"?J<0?0:-1:1)+B.length)%B.length;A(B[ie])}}}function $(k){const B=u.value,J=k.target,ie=k.relatedTarget;!v.value||!B||B.contains(ie)||B.contains(J)&&ie===f&&!m||(B.contains(J)||J===g)&&x()}return(k,B)=>(He(),et("div",{ref_key:"root",ref:c,class:Jt(["mar-ui-dropdown",{"mar-ui-dropdown--virtual":e.virtualTriggering}]),onKeydown:O,onFocusout:$},[e.virtualTriggering?Xt("",!0):(He(),Vn(ce(ee),{key:0})),e.persistent||d.value?On(k.$slots,"dropdown",{},void 0,!0,1):Xt("",!0)],34))}}),Cs=Vt(Ns,[["__scopeId","data-v-8c3c7f51"]]),Ss=["id","aria-labelledby"],xs={class:"mar-ui-popup__content"},Ds=Mt({__name:"MarDropdownMenu",setup(e){const t=ci(bi),n=t?.surface??ht(null);return(r,i)=>(He(),et("div",{id:ce(t)?.menuId,ref_key:"surface",ref:n,role:"menu",tabindex:"-1",class:Jt(["mar-ui-popup mar-ui-dropdown__popup",ce(t)?.popupClass.value]),style:li([ce(t)?.popupStyle.value]),popover:"manual","aria-labelledby":r.$attrs["aria-label"]?void 0:ce(t)?.triggerId.value},[jn("div",xs,[On(r.$slots,"default",{},void 0,!0)])],14,Ss))}}),Os=Vt(Ds,[["__scopeId","data-v-c185232e"]]),Is=["disabled","aria-disabled"],Ms=Mt({__name:"MarDropdownItem",props:{command:{},disabled:{type:Boolean},divided:{type:Boolean},icon:{}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=ci(bi),o=ci(ps,void 0),a=o??{},s=na("label");function l(d,h){for(const g of d.children){if(!(g instanceof HTMLElement))continue;const{overflowX:f,textOverflow:_}=getComputedStyle(g),m=_==="ellipsis"&&(f==="hidden"||f==="clip")?ki(g):void 0;m?h.push(m):l(g,h)}}function c(){const d=s.value;if(!d?.childElementCount)return ki(d);const h=[];return l(d,h),h.join(`
|
|
2
|
+
`)||void 0}function u(d){n.disabled||(r("click",d),d.defaultPrevented||i?.activate(n.command))}return(d,h)=>ln((He(),et("button",{type:"button",role:"menuitem",tabindex:"-1",class:Jt(["mar-ui-dropdown-item",{"mar-ui-dropdown-item--divided":e.divided}]),disabled:e.disabled,"aria-disabled":e.disabled||void 0,onClick:u},[e.icon?(He(),Vn(gs(ce(hs)(e.icon)),{key:0,"aria-hidden":"true"})):Xt("",!0),jn("span",{ref_key:"label",ref:s,class:Jt(["mar-ui-dropdown-item__label",{"mar-ui-dropdown-item__label--hint":ce(o)}])},[On(d.$slots,"default",{},void 0,!0)],2)],10,Is)),[[ce(a),c]])}}),Ls=Vt(Ms,[["__scopeId","data-v-20ee1f3e"]]);function Ci(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Fs(e){if(Array.isArray(e))return e}function Bs(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function Ps(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Us(e,t){return Fs(e)||Bs(e,t)||zs(e,t)||Ps()}function zs(e,t){if(e){if(typeof e=="string")return Ci(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ci(e,t):void 0}}const ca=Object.entries,Si=Object.setPrototypeOf,$s=Object.isFrozen,Gs=Object.getPrototypeOf,Hs=Object.getOwnPropertyDescriptor;let Pe=Object.freeze,Ue=Object.seal,cn=Object.create,la=typeof Reflect<"u"&&Reflect,fi=la.apply,pi=la.construct;Pe||(Pe=function(t){return t});Ue||(Ue=function(t){return t});fi||(fi=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return t.apply(n,i)});pi||(pi=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return new t(...r)});const an=xe(Array.prototype.forEach),Ks=xe(Array.prototype.lastIndexOf),xi=xe(Array.prototype.pop),sn=xe(Array.prototype.push),qs=xe(Array.prototype.splice),It=Array.isArray,Rn=xe(String.prototype.toLowerCase),cr=xe(String.prototype.toString),Di=xe(String.prototype.match),bn=xe(String.prototype.replace),Oi=xe(String.prototype.indexOf),Ws=xe(String.prototype.trim),Ys=xe(Number.prototype.toString),Zs=xe(Boolean.prototype.toString),Ii=typeof BigInt>"u"?null:xe(BigInt.prototype.toString),Mi=typeof Symbol>"u"?null:xe(Symbol.prototype.toString),Fe=xe(Object.prototype.hasOwnProperty),_n=xe(Object.prototype.toString),Le=xe(RegExp.prototype.test),Wt=Js(TypeError);function xe(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return fi(e,t,r)}}function Js(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return pi(e,n)}}function le(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rn;if(Si&&Si(e,null),!It(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&($s(t)||(t[r]=o),i=o)}e[i]=!0}return e}function Xs(e){for(let t=0;t<e.length;t++)Fe(e,t)||(e[t]=null);return e}function $e(e){const t=cn(null);for(const r of ca(e)){var n=Us(r,2);const i=n[0],o=n[1];Fe(e,i)&&(It(o)?t[i]=Xs(o):o&&typeof o=="object"&&o.constructor===Object?t[i]=$e(o):t[i]=o)}return t}function Vs(e){switch(typeof e){case"string":return e;case"number":return Ys(e);case"boolean":return Zs(e);case"bigint":return Ii?Ii(e):"0";case"symbol":return Mi?Mi(e):"Symbol()";case"undefined":return _n(e);case"function":case"object":{if(e===null)return _n(e);const t=e,n=at(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:_n(r)}return _n(e)}default:return _n(e)}}function at(e,t){for(;e!==null;){const r=Hs(e,t);if(r){if(r.get)return xe(r.get);if(typeof r.value=="function")return xe(r.value)}e=Gs(e)}function n(){return null}return n}function js(e){try{return Le(e,""),!0}catch{return!1}}const Li=Pe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),lr=Pe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ur=Pe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Qs=Pe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),dr=Pe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ec=Pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Fi=Pe(["#text"]),Bi=Pe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),fr=Pe(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Pi=Pe(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Wn=Pe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),tc=Ue(/{{[\w\W]*|^[\w\W]*}}/g),nc=Ue(/<%[\w\W]*|^[\w\W]*%>/g),rc=Ue(/\${[\w\W]*/g),ic=Ue(/^data-[\-\w.\u00B7-\uFFFF]+$/),oc=Ue(/^aria-[\-\w]+$/),Ui=Ue(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ac=Ue(/^(?:\w+script|data):/i),sc=Ue(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),cc=Ue(/^html$/i),lc=Ue(/^[a-z][.\w]*(-[.\w]+)+$/i),zi=Ue(/<[/\w!]/g),$i=Ue(/<[/\w]/g),uc=Ue(/<\/no(script|embed|frames)/i),dc=Ue(/\/>/i),Ve={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},fc=function(){return typeof window>"u"?null:window},pc=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},Gi=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Dt=function(t,n,r,i){return Fe(t,n)&&It(t[n])?le(i.base?$e(i.base):{},t[n],i.transform):r};function ua(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fc();const t=T=>ua(T);if(t.version="3.4.13",t.removed=[],!e||!e.document||e.document.nodeType!==Ve.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,i=r.currentScript;e.DocumentFragment;const o=e.HTMLTemplateElement,a=e.Node,s=e.Element,l=e.NodeFilter,c=e.NamedNodeMap;c===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const u=e.DOMParser,d=e.trustedTypes,h=s.prototype,g=at(h,"cloneNode"),f=at(h,"remove"),_=at(h,"nextSibling"),m=at(h,"childNodes"),v=at(h,"parentNode"),w=at(h,"shadowRoot"),R=at(h,"attributes"),y=a&&a.prototype?at(a.prototype,"nodeType"):null,A=a&&a.prototype?at(a.prototype,"nodeName"):null,N=a&&a.prototype?at(a.prototype,"ownerDocument"):null;if(typeof o=="function"){const T=n.createElement("template");T.content&&T.content.ownerDocument&&(n=T.content.ownerDocument)}let D,x="",F,W=!1,z=0;const Q=function(){if(z>0)throw Wt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ne=function(p){Q(),z++;try{return D.createHTML(p)}finally{z--}},re=function(p){Q(),z++;try{return D.createScriptURL(p)}finally{z--}},ee=function(){return W||(F=pc(d,i),W=!0),F},O=n,$=O.implementation,k=O.createNodeIterator,B=O.createDocumentFragment,J=O.getElementsByTagName,ie=r.importNode;let X=Gi();t.isSupported=typeof ca=="function"&&typeof v=="function"&&$&&$.createHTMLDocument!==void 0;const Ce=tc,Ae=nc,Ke=rc,Ye=ic,we=oc,_e=ac,Oe=sc,Se=lc;let Ie=Ui,ae=null;const qe=le({},[...Li,...lr,...ur,...dr,...Fi]);let ge=null;const Ft=le({},[...Bi,...fr,...Pi,...Wn]);let me=Object.seal(cn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),st=null,Bt=null;const je=Object.seal(cn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Pt=!0,vt=!0,jt=!1,Ut=!0,Me=!1,ze=!0,ke=!1,ct=!1,wt=null,yt=null,Rt=!1,lt=!1,At=!1,Ct=!1,zt=!0,Qt=!1;const en="user-content-";let $t=!0,ut=!1,tt={},oe=null;const dt=le({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let nt=null;const rt=le({},["audio","video","img","source","image","track"]);let b=null;const S=le({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),L="http://www.w3.org/1998/Math/MathML",V="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let be=de,H=!1,U=null;const j=le({},[L,V,de],cr),Te=Pe(["mi","mo","mn","ms","mtext"]);let ye=le({},Te);const St=Pe(["annotation-xml"]);let Gt=le({},St);const pn=le({},["title","style","font","a","script"]);let Ht=null;const gn=["application/xhtml+xml","text/html"],ir="text/html";let ve=null,xt=null;const Mn=n.createElement("form"),Kt=function(p){return p instanceof RegExp||p instanceof Function},hn=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(xt&&xt===p)return;(!p||typeof p!="object")&&(p={}),p=$e(p),Ht=gn.indexOf(p.PARSER_MEDIA_TYPE)===-1?ir:p.PARSER_MEDIA_TYPE,ve=Ht==="application/xhtml+xml"?cr:Rn,ae=Dt(p,"ALLOWED_TAGS",qe,{transform:ve}),ge=Dt(p,"ALLOWED_ATTR",Ft,{transform:ve}),U=Dt(p,"ALLOWED_NAMESPACES",j,{transform:cr}),b=Dt(p,"ADD_URI_SAFE_ATTR",S,{transform:ve,base:S}),nt=Dt(p,"ADD_DATA_URI_TAGS",rt,{transform:ve,base:rt}),oe=Dt(p,"FORBID_CONTENTS",dt,{transform:ve}),st=Dt(p,"FORBID_TAGS",$e({}),{transform:ve}),Bt=Dt(p,"FORBID_ATTR",$e({}),{transform:ve}),tt=Fe(p,"USE_PROFILES")?p.USE_PROFILES&&typeof p.USE_PROFILES=="object"?$e(p.USE_PROFILES):p.USE_PROFILES:!1,Pt=p.ALLOW_ARIA_ATTR!==!1,vt=p.ALLOW_DATA_ATTR!==!1,jt=p.ALLOW_UNKNOWN_PROTOCOLS||!1,Ut=p.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=p.SAFE_FOR_TEMPLATES||!1,ze=p.SAFE_FOR_XML!==!1,ke=p.WHOLE_DOCUMENT||!1,lt=p.RETURN_DOM||!1,At=p.RETURN_DOM_FRAGMENT||!1,Ct=p.RETURN_TRUSTED_TYPE||!1,Rt=p.FORCE_BODY||!1,zt=p.SANITIZE_DOM!==!1,Qt=p.SANITIZE_NAMED_PROPS||!1,$t=p.KEEP_CONTENT!==!1,ut=p.IN_PLACE||!1,Ie=js(p.ALLOWED_URI_REGEXP)?p.ALLOWED_URI_REGEXP:Ui,be=typeof p.NAMESPACE=="string"?p.NAMESPACE:de,ye=Fe(p,"MATHML_TEXT_INTEGRATION_POINTS")&&p.MATHML_TEXT_INTEGRATION_POINTS&&typeof p.MATHML_TEXT_INTEGRATION_POINTS=="object"?$e(p.MATHML_TEXT_INTEGRATION_POINTS):le({},Te),Gt=Fe(p,"HTML_INTEGRATION_POINTS")&&p.HTML_INTEGRATION_POINTS&&typeof p.HTML_INTEGRATION_POINTS=="object"?$e(p.HTML_INTEGRATION_POINTS):le({},St);const E=Fe(p,"CUSTOM_ELEMENT_HANDLING")&&p.CUSTOM_ELEMENT_HANDLING&&typeof p.CUSTOM_ELEMENT_HANDLING=="object"?$e(p.CUSTOM_ELEMENT_HANDLING):cn(null);if(me=cn(null),Fe(E,"tagNameCheck")&&Kt(E.tagNameCheck)&&(me.tagNameCheck=E.tagNameCheck),Fe(E,"attributeNameCheck")&&Kt(E.attributeNameCheck)&&(me.attributeNameCheck=E.attributeNameCheck),Fe(E,"allowCustomizedBuiltInElements")&&typeof E.allowCustomizedBuiltInElements=="boolean"&&(me.allowCustomizedBuiltInElements=E.allowCustomizedBuiltInElements),Ue(me),Me&&(vt=!1),At&&(lt=!0),tt&&(ae=le({},Fi),ge=cn(null),tt.html===!0&&(le(ae,Li),le(ge,Bi)),tt.svg===!0&&(le(ae,lr),le(ge,fr),le(ge,Wn)),tt.svgFilters===!0&&(le(ae,ur),le(ge,fr),le(ge,Wn)),tt.mathMl===!0&&(le(ae,dr),le(ge,Pi),le(ge,Wn))),je.tagCheck=null,je.attributeCheck=null,Fe(p,"ADD_TAGS")&&(typeof p.ADD_TAGS=="function"?je.tagCheck=p.ADD_TAGS:It(p.ADD_TAGS)&&(ae===qe&&(ae=$e(ae)),le(ae,p.ADD_TAGS,ve))),Fe(p,"ADD_ATTR")&&(typeof p.ADD_ATTR=="function"?je.attributeCheck=p.ADD_ATTR:It(p.ADD_ATTR)&&(ge===Ft&&(ge=$e(ge)),le(ge,p.ADD_ATTR,ve))),Fe(p,"ADD_URI_SAFE_ATTR")&&It(p.ADD_URI_SAFE_ATTR)&&le(b,p.ADD_URI_SAFE_ATTR,ve),Fe(p,"FORBID_CONTENTS")&&It(p.FORBID_CONTENTS)&&(oe===dt&&(oe=$e(oe)),le(oe,p.FORBID_CONTENTS,ve)),Fe(p,"ADD_FORBID_CONTENTS")&&It(p.ADD_FORBID_CONTENTS)&&(oe===dt&&(oe=$e(oe)),le(oe,p.ADD_FORBID_CONTENTS,ve)),$t&&(ae["#text"]=!0),ke&&le(ae,["html","head","body"]),ae.table&&(le(ae,["tbody"]),delete st.tbody),p.TRUSTED_TYPES_POLICY){if(typeof p.TRUSTED_TYPES_POLICY.createHTML!="function")throw Wt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof p.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Wt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const C=D;D=p.TRUSTED_TYPES_POLICY;try{x=ne("")}catch(G){throw D=C,G}}else p.TRUSTED_TYPES_POLICY===null?(D=void 0,x=""):(D===void 0&&(D=ee()),D&&typeof x=="string"&&(x=ne("")));Pe&&Pe(p),xt=p},Ln=le({},[...lr,...ur,...Qs]),Fn=le({},[...dr,...ec]),ft=function(p,E,C){return E.namespaceURI===de?p==="svg":E.namespaceURI===L?p==="svg"&&(C==="annotation-xml"||ye[C]):!!Ln[p]},Bn=function(p,E,C){return E.namespaceURI===de?p==="math":E.namespaceURI===V?p==="math"&&Gt[C]:!!Fn[p]},Pn=function(p,E,C){return E.namespaceURI===V&&!Gt[C]||E.namespaceURI===L&&!ye[C]?!1:!Fn[p]&&(pn[p]||!Ln[p])},or=function(p){let E=v(p);(!E||!E.tagName)&&(E={namespaceURI:be,tagName:"template"});const C=Rn(p.tagName),G=Rn(E.tagName);return U[p.namespaceURI]?p.namespaceURI===V?ft(C,E,G):p.namespaceURI===L?Bn(C,E,G):p.namespaceURI===de?Pn(C,E,G):!!(Ht==="application/xhtml+xml"&&U[p.namespaceURI]):!1},pt=function(p){sn(t.removed,{element:p});try{v(p).removeChild(p)}catch{if(f(p),!v(p))throw Wt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},tn=function(p){M(p);const E=m(p);if(E){const G=[];an(E,K=>{sn(G,K)}),an(G,K=>{try{f(K)}catch{}})}const C=R(p);if(C)for(let G=C.length-1;G>=0;--G){const K=C[G],te=K&&K.name;if(typeof te=="string")try{p.removeAttribute(te)}catch{}}},Qe=function(p,E){try{sn(t.removed,{attribute:E.getAttributeNode(p),from:E})}catch{sn(t.removed,{attribute:null,from:E})}if(E.removeAttribute(p),p==="is")if(lt||At)try{pt(E)}catch{}else try{E.setAttribute(p,"")}catch{}},ar=function(p){const E=R(p);if(E)for(let C=E.length-1;C>=0;--C){const G=E[C],K=G&&G.name;if(!(typeof K!="string"||ge[ve(K)]))try{p.removeAttribute(K)}catch{}}},M=function(p){const E=[p];for(;E.length>0;){const C=E.pop();(y?y(C):C.nodeType)===Ve.element&&ar(C);const K=m(C);if(K)for(let te=K.length-1;te>=0;--te)E.push(K[te])}},Y=function(p){if(!ze)return;const E=[p];for(;E.length>0;){const C=E.pop(),G=y?y(C):C.nodeType;if(G===Ve.processingInstruction||G===Ve.comment&&Le($i,C.data)){try{f(C)}catch{}continue}if(G===Ve.element){const te=C,fe=ve(A?A(C):C.nodeName);try{te.hasAttribute&&te.hasAttribute("patchsrc")&&te.removeAttribute("patchsrc"),te.hasAttribute&&te.hasAttribute("for")&&fe!=="label"&&fe!=="output"&&te.removeAttribute("for")}catch{}}const K=m(C);if(K)for(let te=K.length-1;te>=0;--te)E.push(K[te])}},se=function(p){let E=null,C=null;if(Rt)p="<remove></remove>"+p;else{const te=Di(p,/^[\r\n\t ]+/);C=te&&te[0]}Ht==="application/xhtml+xml"&&be===de&&(p='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+p+"</body></html>");const G=D?ne(p):p;if(be===de)try{E=new u().parseFromString(G,Ht)}catch{}if(!E||!E.documentElement){E=$.createDocument(be,"template",null);try{E.documentElement.innerHTML=H?x:G}catch{}}const K=E.body||E.documentElement;return p&&C&&K.insertBefore(n.createTextNode(C),K.childNodes[0]||null),be===de?J.call(E,ke?"html":"body")[0]:ke?E.documentElement:K},he=function(p){const E=N?N(p):p.ownerDocument;return k.call(E||p,p,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Re=function(p){return p=bn(p,Ce," "),p=bn(p,Ae," "),p=bn(p,Ke," "),p},We=function(p){var E;p.normalize();const C=N?N(p):p.ownerDocument,G=k.call(C||p,p,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let K=G.nextNode();for(;K;)K.data=Re(K.data),K=G.nextNode();const te=(E=p.querySelectorAll)===null||E===void 0?void 0:E.call(p,"template");te&&an(te,fe=>{it(fe.content)&&We(fe.content)})},Je=function(p){const E=A?A(p):null;return typeof E!="string"||ve(E)!=="form"?!1:typeof p.nodeName!="string"||typeof p.textContent!="string"||typeof p.removeChild!="function"||p.attributes!==R(p)||typeof p.removeAttribute!="function"||typeof p.setAttribute!="function"||typeof p.namespaceURI!="string"||typeof p.insertBefore!="function"||typeof p.hasChildNodes!="function"||p.nodeType!==y(p)||p.childNodes!==m(p)},it=function(p){if(!y||typeof p!="object"||p===null)return!1;try{return y(p)===Ve.documentFragment}catch{return!1}},De=function(p){if(!y||typeof p!="object"||p===null)return!1;try{return typeof y(p)=="number"}catch{return!1}};function Ne(T,p,E){T.length!==0&&an(T,C=>{C.call(t,p,E,xt)})}const Un=function(p,E){return!!(ze&&p.hasChildNodes()&&!De(p.firstElementChild)&&Le(zi,p.textContent)&&Le(zi,p.innerHTML)||ze&&p.namespaceURI===de&&E==="style"&&De(p.firstElementChild)||p.nodeType===Ve.processingInstruction||ze&&p.nodeType===Ve.comment&&Le($i,p.data))},zn=function(p,E,C){if(!st[E]&&Hn(E)&&(me.tagNameCheck instanceof RegExp&&Le(me.tagNameCheck,E)||me.tagNameCheck instanceof Function&&me.tagNameCheck(E)))return!1;if($t&&!oe[E]){const G=v(p),K=m(p);if(K&&G){const te=K.length;for(let fe=te-1;fe>=0;--fe){const I=p===C?g(K[fe],!0):K[fe];G.insertBefore(I,_(p))}}}return pt(p),!0},mn=function(p,E,C,G){return p.length===0?E:E===C||E===G?$e(E):E},$n=function(p,E){if(Ne(X.beforeSanitizeElements,p,null),p!==E&&v(p)===null)return ut&&M(p),!0;if(Je(p))return pt(p),!0;const C=ve(A?A(p):p.nodeName);if(ae=mn(X.uponSanitizeElement,ae,qe,wt),Ne(X.uponSanitizeElement,p,{tagName:C,allowedTags:ae}),p!==E&&v(p)===null)return ut&&M(p),!0;if(Un(p,C))return pt(p),!0;if(st[C]||!(je.tagCheck instanceof Function&&je.tagCheck(C))&&!ae[C]){const K=zn(p,C,E);return K===!1&&Ne(X.afterSanitizeElements,p,null),K}if((y?y(p):p.nodeType)===Ve.element&&!or(p)||(C==="noscript"||C==="noembed"||C==="noframes")&&Le(uc,p.innerHTML))return pt(p),!0;if(Me&&p.nodeType===Ve.text){const K=Re(p.textContent);p.textContent!==K&&(sn(t.removed,{element:p.cloneNode()}),p.textContent=K)}return Ne(X.afterSanitizeElements,p,null),!1},Gn=function(p,E,C){if(Bt[E]||ze&&E==="patchsrc"||ze&&E==="for"&&p!=="label"&&p!=="output"||zt&&(E==="id"||E==="name")&&(C in n||C in Mn))return!1;const G=ge[E]||je.attributeCheck instanceof Function&&je.attributeCheck(E,p);if(!(vt&&Le(Ye,E))){if(!(Pt&&Le(we,E))){if(G){if(!b[E]){if(!Le(Ie,bn(C,Oe,""))){if(!((E==="src"||E==="xlink:href"||E==="href")&&p!=="script"&&Oi(C,"data:")===0&&nt[p])){if(!(jt&&!Le(_e,bn(C,Oe,"")))){if(C)return!1}}}}}else if(!(Hn(p)&&(me.tagNameCheck instanceof RegExp&&Le(me.tagNameCheck,p)||me.tagNameCheck instanceof Function&&me.tagNameCheck(p))&&(me.attributeNameCheck instanceof RegExp&&Le(me.attributeNameCheck,E)||me.attributeNameCheck instanceof Function&&me.attributeNameCheck(E,p))||E==="is"&&me.allowCustomizedBuiltInElements&&(me.tagNameCheck instanceof RegExp&&Le(me.tagNameCheck,C)||me.tagNameCheck instanceof Function&&me.tagNameCheck(C))))return!1}}return!0},sr=le({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Hn=function(p){return!sr[Rn(p)]&&Le(Se,p)},nn=function(p,E,C,G){if(D&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!C)switch(d.getAttributeType(p,E)){case"TrustedHTML":return ne(G);case"TrustedScriptURL":return re(G)}return G},Kn=function(p,E,C,G){try{C?p.setAttributeNS(C,E,G):p.setAttribute(E,G),Je(p)?pt(p):xi(t.removed)}catch{Qe(E,p)}},Xe=function(p){Ne(X.beforeSanitizeAttributes,p,null);const E=p.attributes;if(!E||Je(p))return;ge=mn(X.uponSanitizeAttribute,ge,Ft,yt);const C={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ge,forceKeepAttr:void 0};let G=E.length;const K=ve(p.nodeName);for(;G--;){const te=E[G],fe=te.name,I=te.namespaceURI,P=te.value,Z=ve(fe),ue=P;let pe=fe==="value"?ue:Ws(ue);if(C.attrName=Z,C.attrValue=pe,C.keepAttr=!0,C.forceKeepAttr=void 0,Ne(X.uponSanitizeAttribute,p,C),pe=C.attrValue,Qt&&(Z==="id"||Z==="name")&&Oi(pe,en)!==0&&(Qe(fe,p),pe=en+pe),ze&&Le(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,pe)){Qe(fe,p);continue}if(Z==="attributename"&&Di(pe,"href")){Qe(fe,p);continue}if(!C.forceKeepAttr){if(!C.keepAttr){Qe(fe,p);continue}if(!Ut&&Le(dc,pe)){Qe(fe,p);continue}if(Me&&(pe=Re(pe)),!Gn(K,Z,pe)){Qe(fe,p);continue}pe=nn(K,Z,I,pe),pe!==ue&&Kn(p,fe,I,pe)}}Ne(X.afterSanitizeAttributes,p,null)},rn=function(p){let E=null;const C=he(p);for(Ne(X.beforeSanitizeShadowDOM,p,null);E=C.nextNode();)if(Ne(X.uponSanitizeShadowNode,E,null),$n(E,p),Xe(E),it(E.content)&&rn(E.content),(y?y(E):E.nodeType)===Ve.element){const K=w(E);it(K)&&(qt(K),rn(K))}Ne(X.afterSanitizeShadowDOM,p,null)},qt=function(p){const E=[{node:p,shadow:null}];for(;E.length>0;){const C=E.pop();if(C.shadow){rn(C.shadow);continue}const G=C.node,te=(y?y(G):G.nodeType)===Ve.element,fe=m(G);if(fe)for(let I=fe.length-1;I>=0;--I)E.push({node:fe[I],shadow:null});if(te){const I=A?A(G):null;if(typeof I=="string"&&ve(I)==="template"){const P=G.content;it(P)&&E.push({node:P,shadow:null})}}if(te){const I=w(G);it(I)&&E.push({node:null,shadow:I},{node:I,shadow:null})}}};return t.sanitize=function(T){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=null,C=null,G=null,K=null;if(H=!T,H&&(T="<!-->"),typeof T!="string"&&!De(T)&&(T=Vs(T),typeof T!="string"))throw Wt("dirty is not a string, aborting");if(!t.isSupported)return T;ct?(ae=wt,ge=yt):hn(p),(X.uponSanitizeElement.length>0||X.uponSanitizeAttribute.length>0)&&(ae=$e(ae)),X.uponSanitizeAttribute.length>0&&(ge=$e(ge)),t.removed=[];const te=ut&&typeof T!="string"&&De(T);if(te){Y(T);const P=A?A(T):T.nodeName;if(typeof P=="string"){const Z=ve(P);if(!ae[Z]||st[Z])throw tn(T),Wt("root node is forbidden and cannot be sanitized in-place")}if(Je(T))throw tn(T),Wt("root node is clobbered and cannot be sanitized in-place");try{qt(T)}catch(Z){throw tn(T),Z}}else if(De(T))E=se("<!---->"),C=E.ownerDocument.importNode(T,!0),C.nodeType===Ve.element&&C.nodeName==="BODY"||C.nodeName==="HTML"?E=C:E.appendChild(C),qt(C);else{if(!lt&&!Me&&!ke&&T.indexOf("<")===-1)return D&&Ct?ne(T):T;if(E=se(T),!E)return lt?null:Ct?x:""}E&&Rt&&pt(E.firstChild);const fe=te?T:E;try{const P=he(fe);for(;G=P.nextNode();)$n(G,fe),Xe(G),it(G.content)&&rn(G.content)}catch(P){throw te&&(tn(T),an(t.removed,Z=>{Z.element&&M(Z.element)})),P}if(te)return an(t.removed,P=>{P.element&&M(P.element)}),Me&&We(T),T;if(lt){if(Me&&We(E),At)for(K=B.call(E.ownerDocument);E.firstChild;)K.appendChild(E.firstChild);else K=E;return(ge.shadowroot||ge.shadowrootmode)&&(K=ie.call(r,K,!0)),K}let I=ke?E.outerHTML:E.innerHTML;return ke&&ae["!doctype"]&&E.ownerDocument&&E.ownerDocument.doctype&&E.ownerDocument.doctype.name&&Le(cc,E.ownerDocument.doctype.name)&&(I="<!DOCTYPE "+E.ownerDocument.doctype.name+`>
|
|
4
|
+
`+I),Me&&(I=Re(I)),D&&Ct?ne(I):I},t.setConfig=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hn(T),ct=!0,wt=ae,yt=ge},t.clearConfig=function(){xt=null,ct=!1,wt=null,yt=null,D=F,x=""},t.isValidAttribute=function(T,p,E){xt||hn({});const C=ve(T),G=ve(p);return Gn(C,G,E)},t.addHook=function(T,p){typeof p=="function"&&Fe(X,T)&&sn(X[T],p)},t.removeHook=function(T,p){if(Fe(X,T)){if(p!==void 0){const E=Ks(X[T],p);return E===-1?void 0:qs(X[T],E,1)[0]}return xi(X[T])}},t.removeHooks=function(T){Fe(X,T)&&(X[T]=[])},t.removeAllHooks=function(){X=Gi()},t}var mf=ua(),bf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function da(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _f(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var pr,Hi;function gc(){if(Hi)return pr;Hi=1;function e(b){return b instanceof Map?b.clear=b.delete=b.set=function(){throw new Error("map is read-only")}:b instanceof Set&&(b.add=b.clear=b.delete=function(){throw new Error("set is read-only")}),Object.freeze(b),Object.getOwnPropertyNames(b).forEach(S=>{const L=b[S],V=typeof L;(V==="object"||V==="function")&&!Object.isFrozen(L)&&e(L)}),b}class t{constructor(S){S.data===void 0&&(S.data={}),this.data=S.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(b){return b.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(b,...S){const L=Object.create(null);for(const V in b)L[V]=b[V];return S.forEach(function(V){for(const de in V)L[de]=V[de]}),L}const i="</span>",o=b=>!!b.scope,a=(b,{prefix:S})=>{if(b.startsWith("language:"))return b.replace("language:","language-");if(b.includes(".")){const L=b.split(".");return[`${S}${L.shift()}`,...L.map((V,de)=>`${V}${"_".repeat(de+1)}`)].join(" ")}return`${S}${b}`};class s{constructor(S,L){this.buffer="",this.classPrefix=L.classPrefix,S.walk(this)}addText(S){this.buffer+=n(S)}openNode(S){if(!o(S))return;const L=a(S.scope,{prefix:this.classPrefix});this.span(L)}closeNode(S){o(S)&&(this.buffer+=i)}value(){return this.buffer}span(S){this.buffer+=`<span class="${S}">`}}const l=(b={})=>{const S={children:[]};return Object.assign(S,b),S};class c{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(S){this.top.children.push(S)}openNode(S){const L=l({scope:S});this.add(L),this.stack.push(L)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(S){return this.constructor._walk(S,this.rootNode)}static _walk(S,L){return typeof L=="string"?S.addText(L):L.children&&(S.openNode(L),L.children.forEach(V=>this._walk(S,V)),S.closeNode(L)),S}static _collapse(S){typeof S!="string"&&S.children&&(S.children.every(L=>typeof L=="string")?S.children=[S.children.join("")]:S.children.forEach(L=>{c._collapse(L)}))}}class u extends c{constructor(S){super(),this.options=S}addText(S){S!==""&&this.add(S)}startScope(S){this.openNode(S)}endScope(){this.closeNode()}__addSublanguage(S,L){const V=S.root;L&&(V.scope=`language:${L}`),this.add(V)}toHTML(){return new s(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function d(b){return b?typeof b=="string"?b:b.source:null}function h(b){return _("(?=",b,")")}function g(b){return _("(?:",b,")*")}function f(b){return _("(?:",b,")?")}function _(...b){return b.map(L=>d(L)).join("")}function m(b){const S=b[b.length-1];return typeof S=="object"&&S.constructor===Object?(b.splice(b.length-1,1),S):{}}function v(...b){return"("+(m(b).capture?"":"?:")+b.map(V=>d(V)).join("|")+")"}function w(b){return new RegExp(b.toString()+"|").exec("").length-1}function R(b,S){const L=b&&b.exec(S);return L&&L.index===0}const y=new RegExp(v(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function A(b,{joinWith:S}){let L=0;return b.map(V=>{L+=1;const de=L;let be=d(V),H="";for(;be.length>0;){const U=y.exec(be);if(!U){H+=be;break}H+=be.substring(0,U.index),be=be.substring(U.index+U[0].length),U[0][0]==="\\"&&U[1]?H+="\\"+String(Number(U[1])+de):(H+=U[0],(U[0]==="("||/^\(\?[<']/.test(U[0]))&&L++)}return H}).map(V=>`(${V})`).join(S)}const N=/\b\B/,D="[a-zA-Z]\\w*",x="[a-zA-Z_]\\w*",F="\\b\\d+(\\.\\d+)?",W="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",z="\\b(0b[01]+)",Q="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ne=(b={})=>{const S=/^#![ ]*\//;return b.binary&&(b.begin=_(S,/.*\b/,b.binary,/\b.*/)),r({scope:"meta",begin:S,end:/$/,relevance:0,"on:begin":(L,V)=>{L.index!==0&&V.ignoreMatch()}},b)},re={begin:"\\\\[\\s\\S]",relevance:0},ee={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[re]},O={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[re]},$={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},k=function(b,S,L={}){const V=r({scope:"comment",begin:b,end:S,contains:[]},L);V.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const de=v("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return V.contains.push({begin:_(/[ ]+/,"(",de,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),V},B=k("//","$"),J=k("/\\*","\\*/"),ie=k("#","$"),X={scope:"number",begin:F,relevance:0},Ce={scope:"number",begin:W,relevance:0},Ae={scope:"number",begin:z,relevance:0},Ke={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[re,{begin:/\[/,end:/\]/,relevance:0,contains:[re]}]},Ye={scope:"title",begin:D,relevance:0},we={scope:"title",begin:x,relevance:0},_e={begin:"\\.\\s*"+x,relevance:0};var Se=Object.freeze({__proto__:null,APOS_STRING_MODE:ee,BACKSLASH_ESCAPE:re,BINARY_NUMBER_MODE:Ae,BINARY_NUMBER_RE:z,COMMENT:k,C_BLOCK_COMMENT_MODE:J,C_LINE_COMMENT_MODE:B,C_NUMBER_MODE:Ce,C_NUMBER_RE:W,END_SAME_AS_BEGIN:function(b){return Object.assign(b,{"on:begin":(S,L)=>{L.data._beginMatch=S[1]},"on:end":(S,L)=>{L.data._beginMatch!==S[1]&&L.ignoreMatch()}})},HASH_COMMENT_MODE:ie,IDENT_RE:D,MATCH_NOTHING_RE:N,METHOD_GUARD:_e,NUMBER_MODE:X,NUMBER_RE:F,PHRASAL_WORDS_MODE:$,QUOTE_STRING_MODE:O,REGEXP_MODE:Ke,RE_STARTERS_RE:Q,SHEBANG:ne,TITLE_MODE:Ye,UNDERSCORE_IDENT_RE:x,UNDERSCORE_TITLE_MODE:we});function Ie(b,S){b.input[b.index-1]==="."&&S.ignoreMatch()}function ae(b,S){b.className!==void 0&&(b.scope=b.className,delete b.className)}function qe(b,S){S&&b.beginKeywords&&(b.begin="\\b("+b.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",b.__beforeBegin=Ie,b.keywords=b.keywords||b.beginKeywords,delete b.beginKeywords,b.relevance===void 0&&(b.relevance=0))}function ge(b,S){Array.isArray(b.illegal)&&(b.illegal=v(...b.illegal))}function Ft(b,S){if(b.match){if(b.begin||b.end)throw new Error("begin & end are not supported with match");b.begin=b.match,delete b.match}}function me(b,S){b.relevance===void 0&&(b.relevance=1)}const st=(b,S)=>{if(!b.beforeMatch)return;if(b.starts)throw new Error("beforeMatch cannot be used with starts");const L=Object.assign({},b);Object.keys(b).forEach(V=>{delete b[V]}),b.keywords=L.keywords,b.begin=_(L.beforeMatch,h(L.begin)),b.starts={relevance:0,contains:[Object.assign(L,{endsParent:!0})]},b.relevance=0,delete L.beforeMatch},Bt=["of","and","for","in","not","or","if","then","parent","list","value"],je="keyword";function Pt(b,S,L=je){const V=Object.create(null);return typeof b=="string"?de(L,b.split(" ")):Array.isArray(b)?de(L,b):Object.keys(b).forEach(function(be){Object.assign(V,Pt(b[be],S,be))}),V;function de(be,H){S&&(H=H.map(U=>U.toLowerCase())),H.forEach(function(U){const j=U.split("|");V[j[0]]=[be,vt(j[0],j[1])]})}}function vt(b,S){return S?Number(S):jt(b)?0:1}function jt(b){return Bt.includes(b.toLowerCase())}const Ut={},Me=b=>{console.error(b)},ze=(b,...S)=>{console.log(`WARN: ${b}`,...S)},ke=(b,S)=>{Ut[`${b}/${S}`]||(console.log(`Deprecated as of ${b}. ${S}`),Ut[`${b}/${S}`]=!0)},ct=new Error;function wt(b,S,{key:L}){let V=0;const de=b[L],be={},H={};for(let U=1;U<=S.length;U++)H[U+V]=de[U],be[U+V]=!0,V+=w(S[U-1]);b[L]=H,b[L]._emit=be,b[L]._multi=!0}function yt(b){if(Array.isArray(b.begin)){if(b.skip||b.excludeBegin||b.returnBegin)throw Me("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ct;if(typeof b.beginScope!="object"||b.beginScope===null)throw Me("beginScope must be object"),ct;wt(b,b.begin,{key:"beginScope"}),b.begin=A(b.begin,{joinWith:""})}}function Rt(b){if(Array.isArray(b.end)){if(b.skip||b.excludeEnd||b.returnEnd)throw Me("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ct;if(typeof b.endScope!="object"||b.endScope===null)throw Me("endScope must be object"),ct;wt(b,b.end,{key:"endScope"}),b.end=A(b.end,{joinWith:""})}}function lt(b){b.scope&&typeof b.scope=="object"&&b.scope!==null&&(b.beginScope=b.scope,delete b.scope)}function At(b){lt(b),typeof b.beginScope=="string"&&(b.beginScope={_wrap:b.beginScope}),typeof b.endScope=="string"&&(b.endScope={_wrap:b.endScope}),yt(b),Rt(b)}function Ct(b){function S(H,U){return new RegExp(d(H),"m"+(b.case_insensitive?"i":"")+(b.unicodeRegex?"u":"")+(U?"g":""))}class L{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(U,j){j.position=this.position++,this.matchIndexes[this.matchAt]=j,this.regexes.push([j,U]),this.matchAt+=w(U)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const U=this.regexes.map(j=>j[1]);this.matcherRe=S(A(U,{joinWith:"|"}),!0),this.lastIndex=0}exec(U){this.matcherRe.lastIndex=this.lastIndex;const j=this.matcherRe.exec(U);if(!j)return null;const Te=j.findIndex((St,Gt)=>Gt>0&&St!==void 0),ye=this.matchIndexes[Te];return j.splice(0,Te),Object.assign(j,ye)}}class V{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(U){if(this.multiRegexes[U])return this.multiRegexes[U];const j=new L;return this.rules.slice(U).forEach(([Te,ye])=>j.addRule(Te,ye)),j.compile(),this.multiRegexes[U]=j,j}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(U,j){this.rules.push([U,j]),j.type==="begin"&&this.count++}exec(U){const j=this.getMatcher(this.regexIndex);j.lastIndex=this.lastIndex;let Te=j.exec(U);if(this.resumingScanAtSamePosition()&&!(Te&&Te.index===this.lastIndex)){const ye=this.getMatcher(0);ye.lastIndex=this.lastIndex+1,Te=ye.exec(U)}return Te&&(this.regexIndex+=Te.position+1,this.regexIndex===this.count&&this.considerAll()),Te}}function de(H){const U=new V;return H.contains.forEach(j=>U.addRule(j.begin,{rule:j,type:"begin"})),H.terminatorEnd&&U.addRule(H.terminatorEnd,{type:"end"}),H.illegal&&U.addRule(H.illegal,{type:"illegal"}),U}function be(H,U){const j=H;if(H.isCompiled)return j;[ae,Ft,At,st].forEach(ye=>ye(H,U)),b.compilerExtensions.forEach(ye=>ye(H,U)),H.__beforeBegin=null,[qe,ge,me].forEach(ye=>ye(H,U)),H.isCompiled=!0;let Te=null;return typeof H.keywords=="object"&&H.keywords.$pattern&&(H.keywords=Object.assign({},H.keywords),Te=H.keywords.$pattern,delete H.keywords.$pattern),Te=Te||/\w+/,H.keywords&&(H.keywords=Pt(H.keywords,b.case_insensitive)),j.keywordPatternRe=S(Te,!0),U&&(H.begin||(H.begin=/\B|\b/),j.beginRe=S(j.begin),!H.end&&!H.endsWithParent&&(H.end=/\B|\b/),H.end&&(j.endRe=S(j.end)),j.terminatorEnd=d(j.end)||"",H.endsWithParent&&U.terminatorEnd&&(j.terminatorEnd+=(H.end?"|":"")+U.terminatorEnd)),H.illegal&&(j.illegalRe=S(H.illegal)),H.contains||(H.contains=[]),H.contains=[].concat(...H.contains.map(function(ye){return Qt(ye==="self"?H:ye)})),H.contains.forEach(function(ye){be(ye,j)}),H.starts&&be(H.starts,U),j.matcher=de(j),j}if(b.compilerExtensions||(b.compilerExtensions=[]),b.contains&&b.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return b.classNameAliases=r(b.classNameAliases||{}),be(b)}function zt(b){return b?b.endsWithParent||zt(b.starts):!1}function Qt(b){return b.variants&&!b.cachedVariants&&(b.cachedVariants=b.variants.map(function(S){return r(b,{variants:null},S)})),b.cachedVariants?b.cachedVariants:zt(b)?r(b,{starts:b.starts?r(b.starts):null}):Object.isFrozen(b)?r(b):b}var en="11.12.0";class $t extends Error{constructor(S,L){super(S),this.name="HTMLInjectionError",this.html=L}}const ut=n,tt=r,oe=Symbol("nomatch"),dt=7,nt=function(b){const S=Object.create(null),L=Object.create(null),V=[];let de=!0;const be="Could not find the language '{}', did you forget to load/include a language module?",H={disableAutodetect:!0,name:"Plain text",contains:[]};let U={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:u};function j(M){return U.noHighlightRe.test(M)}function Te(M){let Y=M.className+" ";Y+=M.parentNode?M.parentNode.className:"";const se=U.languageDetectRe.exec(Y);if(se){const he=ft(se[1]);return he||(ze(be.replace("{}",se[1])),ze("Falling back to no-highlight mode for this block.",M)),he?se[1]:"no-highlight"}return Y.split(/\s+/).find(he=>j(he)||ft(he))}function ye(M,Y,se){let he="",Re="";typeof Y=="object"?(he=M,se=Y.ignoreIllegals,Re=Y.language):(ke("10.7.0","highlight(lang, code, ...args) has been deprecated."),ke("10.7.0",`Please use highlight(code, options) instead.
|
|
5
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),Re=M,he=Y),se===void 0&&(se=!0);const We={code:he,language:Re};Qe("before:highlight",We);const Je=We.result?We.result:St(We.language,We.code,se);return Je.code=We.code,Qe("after:highlight",Je),Je}function St(M,Y,se,he){const Re=Object.create(null);function We(I,P){return I.keywords[P]}function Je(){if(!T.keywords){E.addText(C);return}let I=0;T.keywordPatternRe.lastIndex=0;let P=T.keywordPatternRe.exec(C),Z="";for(;P;){Z+=C.substring(I,P.index);const ue=Xe.case_insensitive?P[0].toLowerCase():P[0],pe=We(T,ue);if(pe){const[kt,es]=pe;if(E.addText(Z),Z="",Re[ue]=(Re[ue]||0)+1,Re[ue]<=dt&&(G+=es),kt.startsWith("_"))Z+=P[0];else{const ts=Xe.classNameAliases[kt]||kt;Ne(P[0],ts)}}else Z+=P[0];I=T.keywordPatternRe.lastIndex,P=T.keywordPatternRe.exec(C)}Z+=C.substring(I),E.addText(Z)}function it(){if(C==="")return;let I=null;if(typeof T.subLanguage=="string"){if(!S[T.subLanguage]){E.addText(C);return}I=St(T.subLanguage,C,!0,p[T.subLanguage]),p[T.subLanguage]=I._top}else I=pn(C,T.subLanguage.length?T.subLanguage:null);T.relevance>0&&(G+=I.relevance),E.__addSublanguage(I._emitter,I.language)}function De(){T.subLanguage!=null?it():Je(),C=""}function Ne(I,P){I!==""&&(E.startScope(P),E.addText(I),E.endScope())}function Un(I,P){let Z=1;const ue=P.length-1;for(;Z<=ue;){if(!I._emit[Z]){Z++;continue}const pe=Xe.classNameAliases[I[Z]]||I[Z],kt=P[Z];pe?Ne(kt,pe):(C=kt,Je(),C=""),Z++}}function zn(I,P){return I.scope&&typeof I.scope=="string"&&E.openNode(Xe.classNameAliases[I.scope]||I.scope),I.beginScope&&(I.beginScope._wrap?(Ne(C,Xe.classNameAliases[I.beginScope._wrap]||I.beginScope._wrap),C=""):I.beginScope._multi&&(Un(I.beginScope,P),C="")),T=Object.create(I,{parent:{value:T}}),T}function mn(I,P,Z){let ue=R(I.endRe,Z);if(ue){if(I["on:end"]){const pe=new t(I);I["on:end"](P,pe),pe.isMatchIgnored&&(ue=!1)}if(ue){for(;I.endsParent&&I.parent;)I=I.parent;return I}}if(I.endsWithParent)return mn(I.parent,P,Z)}function $n(I){return T.matcher.regexIndex===0?(C+=I[0],1):(fe=!0,0)}function Gn(I){const P=I[0],Z=I.rule,ue=new t(Z),pe=[Z.__beforeBegin,Z["on:begin"]];for(const kt of pe)if(kt&&(kt(I,ue),ue.isMatchIgnored))return $n(P);return Z.skip?C+=P:(Z.excludeBegin&&(C+=P),De(),!Z.returnBegin&&!Z.excludeBegin&&(C=P)),zn(Z,I),Z.returnBegin?0:P.length}function sr(I){const P=I[0],Z=Y.substring(I.index),ue=mn(T,I,Z);if(!ue)return oe;const pe=T;T.endScope&&T.endScope._wrap?(De(),Ne(P,T.endScope._wrap)):T.endScope&&T.endScope._multi?(De(),Un(T.endScope,I)):pe.skip?C+=P:(pe.returnEnd||pe.excludeEnd||(C+=P),De(),pe.excludeEnd&&(C=P));do T.scope&&E.closeNode(),!T.skip&&!T.subLanguage&&(G+=T.relevance),T=T.parent;while(T!==ue.parent);return ue.starts&&zn(ue.starts,I),pe.returnEnd?0:P.length}function Hn(){const I=[];for(let P=T;P!==Xe;P=P.parent)P.scope&&I.unshift(P.scope);I.forEach(P=>E.openNode(P))}let nn={};function Kn(I,P){const Z=P&&P[0];if(C+=I,Z==null)return De(),0;if(nn.type==="begin"&&P.type==="end"&&nn.index===P.index&&Z===""){if(C+=Y.slice(P.index,P.index+1),!de){const ue=new Error(`0 width match regex (${M})`);throw ue.languageName=M,ue.badRule=nn.rule,ue}return 1}if(nn=P,P.type==="begin")return Gn(P);if(P.type==="illegal"&&!se){const ue=new Error('Illegal lexeme "'+Z+'" for mode "'+(T.scope||"<unnamed>")+'"');throw ue.mode=T,ue}else if(P.type==="end"){const ue=sr(P);if(ue!==oe)return ue}if(P.type==="illegal"&&Z==="")return P.index===Y.length||(C+=`
|
|
6
|
+
`),1;if(te>1e5&&te>P.index*3)throw new Error("potential infinite loop, way more iterations than matches");return C+=Z,Z.length}const Xe=ft(M);if(!Xe)throw Me(be.replace("{}",M)),new Error('Unknown language: "'+M+'"');const rn=Ct(Xe);let qt="",T=he||rn;const p={},E=new U.__emitter(U);Hn();let C="",G=0,K=0,te=0,fe=!1;try{if(Xe.__emitTokens)Xe.__emitTokens(Y,E);else{for(T.matcher.considerAll();;){te++,fe?fe=!1:T.matcher.considerAll(),T.matcher.lastIndex=K;const I=T.matcher.exec(Y);if(!I)break;const P=Y.substring(K,I.index),Z=Kn(P,I);K=I.index+Z}Kn(Y.substring(K))}return E.finalize(),qt=E.toHTML(),{language:M,value:qt,relevance:G,illegal:!1,_emitter:E,_top:T}}catch(I){if(I.message&&I.message.includes("Illegal"))return{language:M,value:ut(Y),illegal:!0,relevance:0,_illegalBy:{message:I.message,index:K,context:Y.slice(K-100,K+100),mode:I.mode,resultSoFar:qt},_emitter:E};if(de)return{language:M,value:ut(Y),illegal:!1,relevance:0,errorRaised:I,_emitter:E,_top:T};throw I}}function Gt(M){const Y={value:ut(M),illegal:!1,relevance:0,_top:H,_emitter:new U.__emitter(U)};return Y._emitter.addText(M),Y}function pn(M,Y){Y=Y||U.languages||Object.keys(S);const se=Gt(M),he=Y.filter(ft).filter(Pn).map(De=>St(De,M,!1));he.unshift(se);const Re=he.sort((De,Ne)=>{if(De.relevance!==Ne.relevance)return Ne.relevance-De.relevance;if(De.language&&Ne.language){if(ft(De.language).supersetOf===Ne.language)return 1;if(ft(Ne.language).supersetOf===De.language)return-1}return 0}),[We,Je]=Re,it=We;return it.secondBest=Je,it}function Ht(M,Y,se){const he=Y&&L[Y]||se;M.classList.add("hljs"),M.classList.add(`language-${he}`)}function gn(M){let Y=null;const se=Te(M);if(j(se))return;if(Qe("before:highlightElement",{el:M,language:se}),M.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",M);return}if(M.children.length>0&&(U.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(M)),U.throwUnescapedHTML))throw new $t("One of your code blocks includes unescaped HTML.",M.innerHTML);Y=M;const he=Y.textContent,Re=se?ye(he,{language:se,ignoreIllegals:!0}):pn(he);M.innerHTML=Re.value,M.dataset.highlighted="yes",Ht(M,se,Re.language),M.result={language:Re.language,re:Re.relevance,relevance:Re.relevance},Re.secondBest&&(M.secondBest={language:Re.secondBest.language,relevance:Re.secondBest.relevance}),Qe("after:highlightElement",{el:M,result:Re,text:he})}function ir(M){U=tt(U,M)}const ve=()=>{Kt(),ke("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function xt(){Kt(),ke("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Mn=!1;function Kt(){function M(){Kt()}if(document.readyState==="loading"){Mn||window.addEventListener("DOMContentLoaded",M,!1),Mn=!0;return}document.querySelectorAll(U.cssSelector).forEach(gn)}function hn(M,Y){let se=null;try{se=Y(b)}catch(he){if(Me("Language definition for '{}' could not be registered.".replace("{}",M)),de)Me(he);else throw he;se=H}se.name||(se.name=M),S[M]=se,se.rawDefinition=Y.bind(null,b),se.aliases&&Bn(se.aliases,{languageName:M})}function Ln(M){delete S[M];for(const Y of Object.keys(L))L[Y]===M&&delete L[Y]}function Fn(){return Object.keys(S)}function ft(M){return M=(M||"").toLowerCase(),S[M]||S[L[M]]}function Bn(M,{languageName:Y}){typeof M=="string"&&(M=[M]),M.forEach(se=>{L[se.toLowerCase()]=Y})}function Pn(M){const Y=ft(M);return Y&&!Y.disableAutodetect}function or(M){M["before:highlightBlock"]&&!M["before:highlightElement"]&&(M["before:highlightElement"]=Y=>{M["before:highlightBlock"](Object.assign({block:Y.el},Y))}),M["after:highlightBlock"]&&!M["after:highlightElement"]&&(M["after:highlightElement"]=Y=>{M["after:highlightBlock"](Object.assign({block:Y.el},Y))})}function pt(M){or(M),V.push(M)}function tn(M){const Y=V.indexOf(M);Y!==-1&&V.splice(Y,1)}function Qe(M,Y){const se=M;V.forEach(function(he){he[se]&&he[se](Y)})}function ar(M){return ke("10.7.0","highlightBlock will be removed entirely in v12.0"),ke("10.7.0","Please use highlightElement now."),gn(M)}Object.assign(b,{highlight:ye,highlightAuto:pn,highlightAll:Kt,highlightElement:gn,highlightBlock:ar,configure:ir,initHighlighting:ve,initHighlightingOnLoad:xt,registerLanguage:hn,unregisterLanguage:Ln,listLanguages:Fn,getLanguage:ft,registerAliases:Bn,autoDetection:Pn,inherit:tt,addPlugin:pt,removePlugin:tn}),b.debugMode=function(){de=!1},b.safeMode=function(){de=!0},b.versionString=en,b.regex={concat:_,lookahead:h,either:v,optional:f,anyNumberOfTimes:g};for(const M in Se)typeof Se[M]=="object"&&e(Se[M]);return Object.assign(b,Se),b},rt=nt({});return rt.newInstance=()=>nt({}),pr=rt,rt.HighlightJS=rt,rt.default=rt,pr}var gr,Ki;function hc(){if(Ki)return gr;Ki=1;function e(t){const n=t.regex,r=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,o={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=t.inherit(a,{begin:/\(/,end:/\)/}),l=t.inherit(t.APOS_STRING_MODE,{className:"string"}),c=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:i,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[o]},{begin:/'/,end:/'/,contains:[o]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,s,c,l]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:"javascript"}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(r,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:u}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return gr=e,gr}var hr,qi;function mc(){if(qi)return hr;qi=1;function e(t){const n=t.regex,r={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},a=t.inherit(t.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r,o]};o.contains.push(l);const c={match:/\\"/},u={className:"string",begin:/'/,end:/'/},d={match:/\\'/},h={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,r]},g=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=t.SHEBANG({binary:`(${g.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],v=["true","false"],w={match:/(\/[a-z._-]+)+/},R=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],y=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],A=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],N=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:v,built_in:[...R,...y,"set","shopt",...A,...N]},contains:[f,t.SHEBANG(),_,h,a,s,w,l,c,u,d,r]}}return hr=e,hr}var mr,Wi;function bc(){if(Wi)return mr;Wi=1;function e(t){const n=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",s="("+i+"|"+n.optional(o)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",l=n.concat(/\batomic_/,n.either("bool","char","schar","uchar","short","ushort","int","uint","long","ulong","llong","ullong","char16_t","char32_t","wchar_t","int_least8_t","uint_least8_t","int_least16_t","uint_least16_t","int_least32_t","uint_least32_t","int_least64_t","uint_least64_t","int_fast8_t","uint_fast8_t","int_fast16_t","uint_fast16_t","int_fast32_t","uint_fast32_t","int_fast64_t","uint_fast64_t","intptr_t","uintptr_t","size_t","ptrdiff_t","intmax_t","uintmax_t"),/\b/),c={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:l}]},d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},h={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},g={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},d,{scope:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(d,{className:"string"}),r,t.C_BLOCK_COMMENT_MODE]},_=[g,f],m={className:"title",begin:n.optional(o)+t.IDENT_RE,relevance:0},v=n.optional(o)+t.IDENT_RE+"\\s*\\(",w=12,A={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},N=[..._,c,r,t.C_BLOCK_COMMENT_MODE,h,d],D={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:A,contains:N.concat([{begin:/\(/,end:/\)/,keywords:A,contains:N.concat(["self"]),relevance:0}]),relevance:0},x={begin:"("+s+"[\\*&\\s]+){1,"+w+"}"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:A,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:A,relevance:0},{begin:v,returnBegin:!0,contains:[t.inherit(m,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,d,h,c,{begin:/\(/,end:/\)/,keywords:A,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,d,h,c]}]},c,r,t.C_BLOCK_COMMENT_MODE,..._]};return{name:"C",aliases:["h"],keywords:A,disableAutodetect:!0,illegal:"</",contains:[].concat(D,x,N,[..._,{begin:t.IDENT_RE+"::",keywords:A},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:f,strings:d,keywords:A}}}return mr=e,mr}var br,Yi;function _c(){if(Yi)return br;Yi=1;function e(t){const n=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",s="(?!struct)("+i+"|"+n.optional(o)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},d={className:"number",variants:[{begin:"[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},h={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},u,{scope:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(u,{className:"string"}),r,t.C_BLOCK_COMMENT_MODE]},f=[h,g],_={className:"title",begin:n.optional(o)+t.IDENT_RE,relevance:0},m=n.optional(o)+t.IDENT_RE+"\\s*\\(",v=12,w=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],R=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],y=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],A=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],x={type:R,keyword:w,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:y},F={className:"function.dispatch",relevance:0,keywords:{_hint:A},begin:n.concat(/\b/,`(?!${w.join("|")})`,t.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},W=[F,...f,l,r,t.C_BLOCK_COMMENT_MODE,d,u],z={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:x,contains:W.concat([{begin:/\(/,end:/\)/,keywords:x,contains:W.concat(["self"]),relevance:0}]),relevance:0},Q={className:"function",begin:"("+s+"[\\*&\\s]+){1,"+v+"}"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:x,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:x,relevance:0},{begin:m,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:x,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,u,d,l,{begin:/\(/,end:/\)/,keywords:x,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,u,d,l]}]},l,r,t.C_BLOCK_COMMENT_MODE,...f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:x,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(z,Q,F,W,[...f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:x,contains:["self",l]},{begin:t.IDENT_RE+"::",keywords:x},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return br=e,br}var _r,Zi;function Ec(){if(Zi)return _r;Zi=1;function e(t){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],o=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],a=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:o.concat(a),built_in:n,literal:i},l=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c="\\d(_*\\d)*",u="([uU][lL]?|[lL][uU]?)?",h={className:"number",variants:[{begin:"\\b0[bB]_*[01](_*[01])*"+u},{begin:"(-?)\\b0[xX]_*[a-fA-F0-9](_*[a-fA-F0-9])*"+u},{begin:"(-?)(\\b"+c+"(\\.("+c+")?)?|\\."+c+")([eE][-+]?"+c+")?"+"([fFdDmM]|[uU][lL]?|[lL][uU]?)?"}],relevance:0},g={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},f={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},_=t.inherit(f,{illegal:/\n/}),m={className:"subst",begin:/\{/,end:/\}/,keywords:s},v=t.inherit(m,{illegal:/\n/}),w={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,v]},R={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]},y=t.inherit(R,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},v]});m.contains=[R,w,f,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,h,t.C_BLOCK_COMMENT_MODE],v.contains=[y,w,_,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,h,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const A={variants:[g,R,w,f,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},N={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},D=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",x={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},A,h,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,N,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,N,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+D+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,N],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[A,h,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},x]}}return _r=e,_r}var Er,Ji;function vc(){if(Ji)return Er;Ji=1;const e=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],r=[...t,...n],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function l(c){const u=c.regex,d=e(c),h={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},g="and or not only",f=/@-?\w[\w]*(-\w+)*/,_="[a-zA-Z-][a-zA-Z0-9_-]*",m=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,h,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+_,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+o.join("|")+")"},{begin:":(:)?("+a.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,d.UNICODE_RANGE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:u.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:g,attribute:i.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b"}]}}return Er=l,Er}var vr,Xi;function wc(){if(Xi)return vr;Xi=1;function e(t){const n=t.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={match:/^ {0,3}([-*_])[ \t]*(?:\1[ \t]*){2,}$/},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},a={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=t.inherit(u,{contains:[]}),g=t.inherit(d,{contains:[]});u.contains.push(g),d.contains.push(h);let f=[r,c];return[u,d,h,g].forEach(w=>{w.contains=w.contains.concat(f)}),f=f.concat(u,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:f},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:f}]}]},r,a,i,u,d,{className:"quote",begin:"^>\\s+",contains:f,end:"$"},o,c,s,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}return vr=e,vr}var wr,Vi;function yc(){if(Vi)return wr;Vi=1;function e(t){const n=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+ +\+\d+,\d+ +@@/,/^@@ +-\d+,\d+ +\+\d+ +@@/,/^@@ +-\d+ +\+\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return wr=e,wr}var yr,ji;function Rc(){if(ji)return yr;ji=1;function e(t){const n=t.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=n.concat(i,/(::\w+)*/),s={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},u=[t.COMMENT("#","$",{contains:[l]}),t.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:s},h={className:"string",contains:[t.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,d]})]}]},g="[1-9](_?[0-9])*|0",f="[0-9](_?[0-9])*",_={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${f}))?([eE][+-]?(${f})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:s}]},D=[h,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,o],scope:{2:"title.class"},keywords:s},{relevance:0,match:[o,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:i,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:r}],relevance:0},_,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:s},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,u),relevance:0}].concat(c,u);d.contains=D,m.contains=D;const z=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:s,contains:D}}];return u.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(z).concat(u).concat(D)}}return yr=e,yr}var Rr,Qi;function Ac(){if(Qi)return Rr;Qi=1;function e(t){const a={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:a,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\b0[bB](_?[01])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,illegal:/["']/}]}]}}return Rr=e,Rr}var Ar,eo;function kc(){if(eo)return Ar;eo=1;function e(t){const n=t.regex,r=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:n.concat(r,n.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return Ar=e,Ar}var kr,to;function Tc(){if(to)return kr;to=1;function e(t){const n=t.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:t.NUMBER_RE}]},i=t.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const o={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"literal",begin:/\bon|off|true|false|yes|no\b/},s={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[i,a,o,s,r,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,d=/'[^']*'/,h=n.either(c,u,d),g=n.concat(h,"(\\s*\\.\\s*",h,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:g,className:"attr",starts:{end:/$/,contains:[i,l,a,o,s,r]}}]}}return kr=e,kr}var Tr,no;function Nc(){if(no)return Tr;no=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(a,s,l){return l===-1?"":a.replace(s,c=>i(a,s,l-1))}function o(a){const s=a.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c="(?:(?:\\s*\\[\\s*])+)?",u=l+"<@@@>"+c,h="(?:"+("\\?(?:\\s+(?:extends|super)\\s+"+u+")?")+"|"+u+")",g=i("(?:\\s*<\\s*"+h+"(?:\\s*,\\s*"+h+")*\\s*>)?",/<@@@>/g,2),w={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},R={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},y={className:"params",begin:/\(/,end:/\)/,keywords:w,relevance:0,contains:[a.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:w,illegal:/<\/|#/,contains:[a.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[a.BACKSLASH_ESCAPE]},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{beginKeywords:"new throw return else yield assert",relevance:0},{begin:[l,s.concat(g,c,/\s+/),l,c,/\s*/,/=(?!=)/],className:{1:"type",3:"variable",6:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[y,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},{begin:[l,s.concat(g,c,/\s+/),l,/\s*(?=\()/],className:{1:"type",3:"title.function"},keywords:w,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:w,relevance:0,contains:[R,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,r,a.C_BLOCK_COMMENT_MODE]},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},r,R]}}return Tr=o,Tr}var Nr,ro;function Cc(){if(ro)return Nr;ro=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],s=[].concat(o,r,i);function l(c){const u=c.regex,d=(we,{after:_e})=>{const Oe="</"+we[0].slice(1);return we.input.indexOf(Oe,_e)!==-1},h=e,g={begin:"<>",end:"</>"},f=/<[A-Za-z0-9\\._:-]+\s*\/>/,_={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(we,_e)=>{const Oe=we[0].length+we.index,Se=we.input[Oe];if(Se==="<"||Se===","){_e.ignoreMatch();return}Se===">"&&(d(we,{after:Oe})||_e.ignoreMatch());let Ie;const ae=we.input.substring(Oe);if(Ie=ae.match(/^\s*=/)){_e.ignoreMatch();return}if((Ie=ae.match(/^\s+extends\s+/))&&Ie.index===0){_e.ignoreMatch();return}}},m={$pattern:e,keyword:t,literal:n,built_in:s,"variable.language":a},v="[0-9](_?[0-9])*",w=`\\.(${v})`,R="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${R})((${w})|\\.)?|(${w}))[eE][+-]?(${v})\\b`},{begin:`\\b(${R})\\b((${w})\\b|\\.)?|(${w})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},A={className:"subst",begin:"\\$\\{",end:"\\}",keywords:m,contains:[]},N={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,A],subLanguage:"xml"}},D={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,A],subLanguage:"css"}},x={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,A],subLanguage:"graphql"}},F={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,A]},z={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},Q=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,N,D,x,F,{match:/\$\d+/},y];A.contains=Q.concat({begin:/\{/,end:/\}/,keywords:m,contains:["self"].concat(Q)});const ne=[].concat(z,A.contains),re=ne.concat([{begin:/(\s*)\(/,end:/\)/,keywords:m,contains:["self"].concat(ne)}]),ee={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:m,contains:re},O={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,u.concat(h,"(",u.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},k={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},B={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ee],illegal:/%/},J={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ie(we){return u.concat("(?!",we.join("|"),")")}const X={match:u.concat(/\b/,ie([...o,"super","import","await"].map(we=>`${we}\\s*\\(`)),h,u.lookahead(/\s*\(/)),className:"title.function",relevance:0},Ce={begin:u.concat(/\./,u.lookahead(u.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ae={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ee]},Ke="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Ye={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(Ke)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ee]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:m,exports:{PARAMS_CONTAINS:re,CLASS_REFERENCE:$},illegal:/#(?![$_A-Za-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),k,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,N,D,x,F,z,{match:/\$\d+/},y,$,{scope:"attr",match:h+u.lookahead(":"),relevance:0},Ye,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[z,c.REGEXP_MODE,{className:"function",begin:Ke,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:m,contains:re}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:f},{begin:_.begin,"on:begin":_.isTrulyOpeningTag,end:_.end}],subLanguage:"xml",contains:[{begin:_.begin,end:_.end,skip:!0,contains:["self"]}]}]},B,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ee,c.inherit(c.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ce,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ee]},X,J,O,Ae,{match:/\$[(.]/}]}}return Nr=l,Nr}var Cr,io;function Sc(){if(io)return Cr;io=1;const t={scope:"number",match:"([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",relevance:0};function n(r){const i={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},o={match:/[{}[\],:]/,className:"punctuation",relevance:0},a=["true","false","null"],s={scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:a},contains:[i,o,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,s,t,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Cr=n,Cr}var Sr,oo;function xc(){if(oo)return Sr;oo=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(o){const a={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:o.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[o.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+o.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,c]},{begin:"'",end:"'",illegal:/\n/,contains:[o.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[o.BACKSLASH_ESCAPE,u,c]}]};c.contains.push(d);const h={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+o.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+o.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[o.inherit(d,{className:"string"}),"self"]}]},f=r,_=o.COMMENT("/\\*","\\*/",{contains:[o.C_BLOCK_COMMENT_MODE]}),m={variants:[{className:"type",begin:o.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},v=m;return v.variants[1].contains=[m],m.variants[1].contains=[v],{name:"Kotlin",aliases:["kt","kts","ktm","ktx"],keywords:a,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),o.C_LINE_COMMENT_MODE,_,s,l,h,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:a,relevance:5,contains:[{begin:o.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[o.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[m,o.C_LINE_COMMENT_MODE,_],relevance:0},o.C_LINE_COMMENT_MODE,_,h,g,d,o.C_NUMBER_MODE]},_]},{begin:[/class|interface|trait/,/\s+/,o.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},o.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},h,g]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
|
|
7
|
+
`},f]}}return Sr=i,Sr}var xr,ao;function Dc(){if(ao)return xr;ao=1;const e=u=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:u.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:u.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],r=[...t,...n],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),l=o.concat(a).sort().reverse();function c(u){const d=e(u),h=l,g="and or not only",f="[\\w-]+",_="("+f+"|@\\{"+f+"\\})",m=[],v=[],w=function(ne){return{className:"string",begin:"~?"+ne+".*?"+ne}},R=function(ne,re,ee){return{className:ne,begin:re,relevance:ee}},y={$pattern:/[a-z-]+/,keyword:g,attribute:i.join(" ")},A={begin:"\\(",end:"\\)",contains:v,keywords:y,relevance:0};v.push(u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,w("'"),w('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.UNICODE_RANGE,d.HEXCOLOR,A,R("variable","@@?"+f,10),R("variable","@\\{"+f+"\\}"),R("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const N=v.concat({begin:/\{/,end:/\}/,contains:m}),D={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(v)},x={begin:_+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:v}}]},F={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:v,relevance:0}},W={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:N}},z={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:_,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,D,R("keyword","all\\b"),R("variable","@\\{"+f+"\\}"),{begin:"\\b("+r.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,R("selector-tag",_,0),R("selector-id","#"+_),R("selector-class","\\."+_,0),R("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+o.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:N},{begin:"!important"},d.FUNCTION_DISPATCH]},Q={begin:f+`:(:)?(${h.join("|")})`,returnBegin:!0,contains:[z]};return m.push(u.C_LINE_COMMENT_MODE,u.C_BLOCK_COMMENT_MODE,F,W,Q,x,z,D,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return xr=c,xr}var Dr,so;function Oc(){if(so)return Dr;so=1;function e(t){const n="\\[=*\\[",r="\\]=*\\]",i={begin:n,end:r,contains:["self"]},o=[t.COMMENT("--(?!"+n+")","$"),t.COMMENT("--"+n,r,{contains:[i],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local global not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:o.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:o}].concat(o)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:n,end:r,contains:[i],relevance:5}])}}return Dr=e,Dr}var Or,co;function Ic(){if(co)return Or;co=1;function e(t){const n={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},r={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,n]},i={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[n,r]},o={begin:"^"+t.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},a={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},s={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[n]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[t.HASH_COMMENT_MODE,n,r,i,o,a,s]}}return Or=e,Or}var Ir,lo;function Mc(){if(lo)return Ir;lo=1;function e(t){const n=t.regex,r=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,o={$pattern:/[\w.]+/,keyword:r.join(" ")},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:o},s={begin:/->\{/,end:/\}/},l={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:"variable",variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[l]},u={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},d=[t.BACKSLASH_ESCAPE,a,c],h=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],g=(m,v,w="\\1")=>{const R=w==="\\1"?w:n.concat(w,v);return n.concat(n.concat("(?:",m,")"),v,/(?:\\.|[^\\\/])*?/,R,/(?:\\.|[^\\\/])*?/,w,i)},f=(m,v,w)=>n.concat(n.concat("(?:",m,")"),v,/(?:\\.|[^\\\/])*?/,w,i),_=[c,t.HASH_COMMENT_MODE,t.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},u,{begin:"(\\/\\/|"+t.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[t.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:g("s|tr|y",n.either(...h,{capture:!0}))},{begin:g("s|tr|y","\\(","\\)")},{begin:g("s|tr|y","\\[","\\]")},{begin:g("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...h,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,l]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[t.TITLE_MODE,l,u]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=_,s.contains=_,{name:"Perl",aliases:["pl","pm"],keywords:o,contains:_}}return Ir=e,Ir}var Mr,uo;function Lc(){if(uo)return Mr;uo=1;function e(t){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:r,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"</",contains:[n,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}return Mr=e,Mr}var Lr,fo;function Fc(){if(fo)return Lr;fo=1;function e(t){const n=t.regex,r=/(?![A-Za-z0-9])(?![$])/,i=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),o=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),a=n.concat(/[A-Z]+/,r),s={scope:"variable",match:"\\$+"+i},l={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},u=t.inherit(t.APOS_STRING_MODE,{illegal:null}),d=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(c)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(ee,O)=>{O.data._beginMatch=ee[1]||ee[2]},"on:end":(ee,O)=>{O.data._beginMatch!==ee[1]&&O.ignoreMatch()}},g=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),f=`[
|
|
8
|
+
]`,_={scope:"string",variants:[d,u,h,g]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},v=["false","null","true"],w=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],R=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],A={keyword:w,literal:(ee=>{const O=[];return ee.forEach($=>{O.push($),$.toLowerCase()===$?O.push($.toUpperCase()):O.push($.toLowerCase())}),O})(v),built_in:R},N=ee=>ee.map(O=>O.replace(/\|\d+$/,"")),D={variants:[{match:[/new/,n.concat(f,"+"),n.concat("(?!",N(R).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},x=n.concat(i,"\\b(?!\\()"),F={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),x],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,n.concat(/::/,n.lookahead(/(?!class\b)/)),x],scope:{1:"title.class",3:"variable.constant"}},{match:[o,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},W={scope:"attr",match:n.concat(i,n.lookahead(":"),n.lookahead(/(?!::)/))},z={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[W,s,F,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,_,m,D]},Q={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",N(w).join("\\b|"),"|",N(R).join("\\b|"),"\\b)"),i,n.concat(f,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[z]};z.contains.push(Q);const ne=[W,F,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,_,m,D],re={begin:n.concat(/#\[\s*\\?/,n.either(o,a)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...ne]},...ne,{scope:"meta",variants:[{match:o},{match:a}]}]};return{case_insensitive:!1,keywords:A,contains:[re,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},l,{scope:"variable.language",match:/\$this\b/},s,Q,F,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},D,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",re,s,F,t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.HASH_COMMENT_MODE,_,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},_,m]}}return Lr=e,Lr}var Fr,po;function Bc(){if(po)return Fr;po=1;function e(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Fr=e,Fr}var Br,go;function Pc(){if(go)return Br;go=1;function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Br=e,Br}var Pr,ho;function Uc(){if(ho)return Pr;ho=1;function e(t){const n=t.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","lazy","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","aiter","all","anext","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozendict","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","sentinel","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},d={begin:/\{\{/,relevance:0},h={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c,d,u]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c,d,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,d,u]},{begin:/([fFtT][rR]|[rR][fFtT]|[fFtT])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,d,u]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",f=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,_=`\\b|${i.join("|")}`,m={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${f}))[eE][+-]?(${g})[jJ]?(?=${_})`},{begin:`(${f})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${_})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${_})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${_})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${_})`},{begin:`\\b(${g})[jJ](?=${_})`}]},v={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},w={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,m,h,t.HASH_COMMENT_MODE]}]};return u.contains=[h,m,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,m,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},h,v,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[w]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[m,w,h]}]}}return Pr=e,Pr}var Ur,mo;function zc(){if(mo)return Ur;mo=1;function e(t){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Ur=e,Ur}var zr,bo;function $c(){if(bo)return zr;bo=1;function e(t){const n=t.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[t.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),t.HASH_COMMENT_MODE,{scope:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),t.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[o,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[a,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return zr=e,zr}var $r,_o;function Gc(){if(_o)return $r;_o=1;function e(t){const n=t.regex,r=/(r#)?/,i=n.concat(r,t.UNDERSCORE_IDENT_RE),o=n.concat(r,t.IDENT_RE),a={scope:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!(?:let|for|while|if|else|match)\b)/,o,n.lookahead(/\s*\(/))},s="([ui](8|16|32|64|128|size)|f(16|32|64|128))?",l=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","raw","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],c=["true","false","Some","None","Ok","Err"],u=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],d=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f16","f32","f64","f128","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:d,keyword:l,literal:c,built_in:u},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{scope:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|"|\\|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{scope:"number",variants:[{begin:"\\b0b([01_]+)"+s},{begin:"\\b0o([0-7_]+)"+s},{begin:"\\b0x([A-Fa-f0-9_]+)"+s},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+s}],relevance:0},{begin:[/\bsafe/,/\s+/,/extern/],scope:{1:"keyword",3:"keyword"}},{begin:[/fn/,/\s+/,i],scope:{1:"keyword",3:"title.function"}},{scope:"meta",begin:"#!?\\[",end:"\\]",contains:[{scope:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,i],scope:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,i,/\s+/,/in/],scope:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,i],scope:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,i],scope:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:u,type:d}},{scope:"punctuation",begin:"->"},a]}}return $r=e,$r}var Gr,Eo;function Hc(){if(Eo)return Gr;Eo=1;const e=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],r=[...t,...n],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),o=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),s=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function l(c){const u=e(c),d=a,h=o,g="@[a-z-]+",f="and or not only",m={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,u.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},u.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+h.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+d.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[u.CSS_NUMBER_MODE]},u.CSS_VARIABLE,{className:"attribute",begin:"\\b("+s.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[u.BLOCK_COMMENT,m,u.HEXCOLOR,u.CSS_NUMBER_MODE,u.UNICODE_RANGE,c.QUOTE_STRING_MODE,c.APOS_STRING_MODE,u.IMPORTANT,u.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:g,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:i.join(" ")},contains:[{begin:g,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,c.QUOTE_STRING_MODE,c.APOS_STRING_MODE,u.HEXCOLOR,u.CSS_NUMBER_MODE]},u.FUNCTION_DISPATCH]}}return Gr=l,Gr}var Hr,vo;function Kc(){if(vo)return Hr;vo=1;function e(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[./~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Hr=e,Hr}var Kr,wo;function qc(){if(wo)return Kr;wo=1;function e(t){const n=t.regex,r=t.COMMENT("--","$"),i={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},o={begin:/"/,end:/"/,contains:[{match:/""/}]},a=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],d=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],h=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],f=d,_=[...u,...c].filter(N=>!d.includes(N)),m={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},v={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},w={match:n.concat(/\b/,n.either(...f),/\s*\(/),relevance:0,keywords:{built_in:f}};function R(N){return n.concat(/\b/,n.either(...N.map(D=>D.replace(/\s+/,"\\s+"))),/\b/)}const y={scope:"keyword",match:R(g),relevance:0};function A(N,{exceptions:D,when:x}={}){const F=x;return D=D||[],N.map(W=>W.match(/\|\d+$/)||D.includes(W)?W:F(W)?`${W}|0`:W)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:A(_,{when:N=>N.length<3}),literal:a,type:l,built_in:h},contains:[{scope:"type",match:R(s)},y,w,m,i,o,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,v]}}return Kr=e,Kr}var qr,yo;function Wc(){if(yo)return qr;yo=1;function e(x){return x?typeof x=="string"?x:x.source:null}function t(x){return n("(?=",x,")")}function n(...x){return x.map(W=>e(W)).join("")}function r(x){const F=x[x.length-1];return typeof F=="object"&&F.constructor===Object?(x.splice(x.length-1,1),F):{}}function i(...x){return"("+(r(x).capture?"":"?:")+x.map(z=>e(z)).join("|")+")"}new RegExp(i(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));const o=x=>n(/\b/,x,/\w$/.test(x)?/\b/:/\B/),a=["Protocol","Type"].map(o),s=["init","self"].map(o),l=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],h=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],f=i(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_=i(f,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),m=n(f,_,"*"),v=i(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),w=i(v,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),R=n(v,w,"*"),y=n(/[A-Z]/,w,"*"),A=["attached","autoclosure",n(/convention\(/,i("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,R,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],N=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(x){const F={match:/\s+/,relevance:0},W=x.COMMENT("/\\*","\\*/",{contains:["self"]}),z=[x.C_LINE_COMMENT_MODE,W],Q={match:[/\./,i(...a,...s)],className:{2:"keyword"}},ne={match:n(/\./,i(...c)),relevance:0},re=c.filter(oe=>typeof oe=="string").concat(["_|0"]),ee=c.filter(oe=>typeof oe!="string").concat(l).map(o),O={variants:[{className:"keyword",match:i(...ee,...s)}]},$={$pattern:i(/\b\w+/,/#\w+/),keyword:re.concat(h),literal:u},k=[Q,ne,O],B={match:n(/\./,i(...g)),relevance:0},J={className:"built_in",match:n(/\b/,i(...g),/(?=\()/)},ie=[B,J],X={match:/->/,relevance:0},Ce={className:"operator",relevance:0,variants:[{match:m},{match:`\\.(\\.|${_})+`}]},Ae=[X,Ce],Ke="([0-9]_*)+",Ye="([0-9a-fA-F]_*)+",we={className:"number",relevance:0,variants:[{match:`\\b(${Ke})(\\.(${Ke}))?([eE][+-]?(${Ke}))?\\b`},{match:`\\b0x(${Ye})(\\.(${Ye}))?([pP][+-]?(${Ke}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},_e=(oe="")=>({className:"subst",variants:[{match:n(/\\/,oe,/[0\\tnr"']/)},{match:n(/\\/,oe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Oe=(oe="")=>({className:"subst",match:n(/\\/,oe,/[\t ]*(?:[\r\n]|\r\n)/)}),Se=(oe="")=>({className:"subst",label:"interpol",begin:n(/\\/,oe,/\(/),end:/\)/}),Ie=(oe="")=>({begin:n(oe,/"""/),end:n(/"""/,oe),contains:[_e(oe),Oe(oe),Se(oe)]}),ae=(oe="")=>({begin:n(oe,/"/),end:n(/"/,oe),contains:[_e(oe),Se(oe)]}),qe={className:"string",variants:[Ie(),Ie("#"),Ie("##"),Ie("###"),ae(),ae("#"),ae("##"),ae("###")]},ge=[x.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[x.BACKSLASH_ESCAPE]}],Ft={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:ge},me=oe=>{const dt=n(oe,/\//),nt=n(/\//,oe);return{begin:dt,end:nt,contains:[...ge,{scope:"comment",begin:`#(?!.*${nt})`,end:/$/}]}},st={scope:"regexp",variants:[me("###"),me("##"),me("#"),Ft]},Bt={match:n(/`/,R,/`/)},je={className:"variable",match:/\$\d+/},Pt={className:"variable",match:`\\$${w}+`},vt=[Bt,je,Pt],jt={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:N,contains:[...Ae,we,qe]}]}},Ut={scope:"keyword",match:n(/@/,i(...A),t(i(/\(/,/\s+/)))},Me={scope:"meta",match:n(/@/,R)},ze=[jt,Ut,Me],ke={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,w,"+")},{className:"type",match:y,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,t(y)),relevance:0}]},ct={begin:/</,end:/>/,keywords:$,contains:[...z,...k,...ze,X,ke]};ke.contains.push(ct);const wt={match:n(R,/\s*:/),keywords:"_|0",relevance:0},yt={begin:/\(/,end:/\)/,relevance:0,keywords:$,contains:["self",wt,...z,st,...k,...ie,...Ae,we,qe,...vt,...ze,ke]},Rt={begin:/</,end:/>/,keywords:"repeat each",contains:[...z,ke]},lt={begin:i(t(n(R,/\s*:/)),t(n(R,/\s+/,R,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:R}]},At={begin:/\(/,end:/\)/,keywords:$,contains:[lt,...z,...k,...Ae,we,qe,...ze,ke,yt],endsParent:!0,illegal:/["']/},Ct={match:[/(func|macro)/,/\s+/,i(Bt.match,R,m)],className:{1:"keyword",3:"title.function"},contains:[Rt,At,F],illegal:[/\[/,/%/]},zt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Rt,At,F],illegal:/\[|%/},Qt={match:[/operator/,/\s+/,m],className:{1:"keyword",3:"title"}},en={begin:[/precedencegroup/,/\s+/,y],className:{1:"keyword",3:"title"},contains:[ke],keywords:[...d,...u],end:/}/},$t={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},ut={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},tt={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,R,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:$,contains:[Rt,...k,{begin:/:/,end:/\{/,keywords:$,contains:[{scope:"title.class.inherited",match:y},...k],relevance:0}]};for(const oe of qe.variants){const dt=oe.contains.find(rt=>rt.label==="interpol");dt.keywords=$;const nt=[...k,...ie,...Ae,we,qe,...vt];dt.contains=[...nt,{begin:/\(/,end:/\)/,contains:["self",...nt]}]}return{name:"Swift",keywords:$,contains:[...z,Ct,zt,$t,ut,tt,Qt,en,{beginKeywords:"import",end:/$/,contains:[...z],relevance:0},st,...k,...ie,...Ae,we,qe,...vt,...ze,ke,yt]}}return qr=D,qr}var Wr,Ro;function Yc(){if(Ro)return Wr;Ro=1;function e(t){const n="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},o={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},s={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,o]},l=t.inherit(s,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),g={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},f={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},_={begin:/\{/,end:/\}/,contains:[f],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[f],illegal:"\\n",relevance:0},v=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},g,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},_,m,a,s],w=[...v];return w.pop(),w.push(l),f.contains=w,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return Wr=e,Wr}var Yr,Ao;function Zc(){if(Ao)return Yr;Ao=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],o=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],s=[].concat(o,r,i);function l(u){const d=u.regex,h=(_e,{after:Oe})=>{const Se="</"+_e[0].slice(1);return _e.input.indexOf(Se,Oe)!==-1},g=e,f={begin:"<>",end:"</>"},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(_e,Oe)=>{const Se=_e[0].length+_e.index,Ie=_e.input[Se];if(Ie==="<"||Ie===","){Oe.ignoreMatch();return}Ie===">"&&(h(_e,{after:Se})||Oe.ignoreMatch());let ae;const qe=_e.input.substring(Se);if(ae=qe.match(/^\s*=/)){Oe.ignoreMatch();return}if((ae=qe.match(/^\s+extends\s+/))&&ae.index===0){Oe.ignoreMatch();return}}},v={$pattern:e,keyword:t,literal:n,built_in:s,"variable.language":a},w="[0-9](_?[0-9])*",R=`\\.(${w})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",A={className:"number",variants:[{begin:`(\\b(${y})((${R})|\\.)?|(${R}))[eE][+-]?(${w})\\b`},{begin:`\\b(${y})\\b((${R})\\b|\\.)?|(${R})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},N={className:"subst",begin:"\\$\\{",end:"\\}",keywords:v,contains:[]},D={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,N],subLanguage:"xml"}},x={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,N],subLanguage:"css"}},F={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,N],subLanguage:"graphql"}},W={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,N]},Q={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},ne=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,x,F,W,{match:/\$\d+/},A];N.contains=ne.concat({begin:/\{/,end:/\}/,keywords:v,contains:["self"].concat(ne)});const re=[].concat(Q,N.contains),ee=re.concat([{begin:/(\s*)\(/,end:/\)/,keywords:v,contains:["self"].concat(re)}]),O={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:ee},$={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,d.concat(g,"(",d.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},B={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},J={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[O],illegal:/%/},ie={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function X(_e){return d.concat("(?!",_e.join("|"),")")}const Ce={match:d.concat(/\b/,X([...o,"super","import","await"].map(_e=>`${_e}\\s*\\(`)),g,d.lookahead(/\s*\(/)),className:"title.function",relevance:0},Ae={begin:d.concat(/\./,d.lookahead(d.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ke={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},O]},Ye="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",we={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(Ye)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[O]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:v,exports:{PARAMS_CONTAINS:ee,CLASS_REFERENCE:k},illegal:/#(?![$_A-Za-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),B,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,x,F,W,Q,{match:/\$\d+/},A,k,{scope:"attr",match:g+d.lookahead(":"),relevance:0},we,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Q,u.REGEXP_MODE,{className:"function",begin:Ye,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:ee}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:f.begin,end:f.end},{match:_},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},J,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[O,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ae,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[O]},Ce,ie,$,Ke,{match:/\$[(.]/}]}}function c(u){const d=u.regex,h=l(u),g=e,f=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],_={begin:[/namespace/,/\s+/,u.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},m={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:f},contains:[h.exports.CLASS_REFERENCE]},v={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},w=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],R={$pattern:e,keyword:t.concat(w),literal:n,built_in:s.concat(f),"variable.language":a},y={className:"meta",begin:"@"+g},A=(F,W,z)=>{const Q=F.contains.findIndex(ne=>ne.label===W);if(Q===-1)throw new Error("can not find mode to replace");F.contains.splice(Q,1,z)};Object.assign(h.keywords,R),h.exports.PARAMS_CONTAINS.push(y);const N=h.contains.find(F=>F.scope==="attr"),D=Object.assign({},N,{match:d.concat(g,d.lookahead(/\s*\?:/))});h.exports.PARAMS_CONTAINS.push([h.exports.CLASS_REFERENCE,N,D]),h.contains=h.contains.concat([y,_,m,D]),A(h,"shebang",u.SHEBANG()),A(h,"use_strict",v);const x=h.contains.find(F=>F.label==="func.def");return x.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Yr=c,Yr}var Zr,ko;function Jc(){if(ko)return Zr;ko=1;function e(t){const n=t.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},o=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(a,o),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,s,/ *#/)},{begin:n.concat(/# */,n.either(a,o),/ +/,n.either(s,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},d={className:"label",begin:/^\w+:/},h=t.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=t.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,i,c,u,d,h,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return Zr=e,Zr}var Jr,To;function Xc(){if(To)return Jr;To=1;function e(t){t.regex;const n=t.COMMENT(/\(;/,/;\)/);n.contains.push("self");const r=t.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],o={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},a={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[r,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},a,s,o,t.QUOTE_STRING_MODE,c,u,l]}}return Jr=e,Jr}var Xr,No;function Vc(){if(No)return Xr;No=1;var e=gc();return e.registerLanguage("xml",hc()),e.registerLanguage("bash",mc()),e.registerLanguage("c",bc()),e.registerLanguage("cpp",_c()),e.registerLanguage("csharp",Ec()),e.registerLanguage("css",vc()),e.registerLanguage("markdown",wc()),e.registerLanguage("diff",yc()),e.registerLanguage("ruby",Rc()),e.registerLanguage("go",Ac()),e.registerLanguage("graphql",kc()),e.registerLanguage("ini",Tc()),e.registerLanguage("java",Nc()),e.registerLanguage("javascript",Cc()),e.registerLanguage("json",Sc()),e.registerLanguage("kotlin",xc()),e.registerLanguage("less",Dc()),e.registerLanguage("lua",Oc()),e.registerLanguage("makefile",Ic()),e.registerLanguage("perl",Mc()),e.registerLanguage("objectivec",Lc()),e.registerLanguage("php",Fc()),e.registerLanguage("php-template",Bc()),e.registerLanguage("plaintext",Pc()),e.registerLanguage("python",Uc()),e.registerLanguage("python-repl",zc()),e.registerLanguage("r",$c()),e.registerLanguage("rust",Gc()),e.registerLanguage("scss",Hc()),e.registerLanguage("shell",Kc()),e.registerLanguage("sql",qc()),e.registerLanguage("swift",Wc()),e.registerLanguage("yaml",Yc()),e.registerLanguage("typescript",Zc()),e.registerLanguage("vbnet",Jc()),e.registerLanguage("wasm",Xc()),e.HighlightJS=e,e.default=e,Xr=e,Xr}var jc=Vc();const An=da(jc),Co={};function Qc(e){let t=Co[e];if(t)return t;t=Co[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function dn(e,t){typeof t!="string"&&(t=dn.defaultChars);const n=Qc(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let o=0,a=r.length;o<a;o+=3){const s=parseInt(r.slice(o+1,o+3),16);if(s<128){i+=n[s];continue}if((s&224)===192&&o+3<a){const l=parseInt(r.slice(o+4,o+6),16);if((l&192)===128){const c=s<<6&1984|l&63;c<128?i+="��":i+=String.fromCharCode(c),o+=3;continue}}if((s&240)===224&&o+6<a){const l=parseInt(r.slice(o+4,o+6),16),c=parseInt(r.slice(o+7,o+9),16);if((l&192)===128&&(c&192)===128){const u=s<<12&61440|l<<6&4032|c&63;u<2048||u>=55296&&u<=57343?i+="���":i+=String.fromCharCode(u),o+=6;continue}}if((s&248)===240&&o+9<a){const l=parseInt(r.slice(o+4,o+6),16),c=parseInt(r.slice(o+7,o+9),16),u=parseInt(r.slice(o+10,o+12),16);if((l&192)===128&&(c&192)===128&&(u&192)===128){let d=s<<18&1835008|l<<12&258048|c<<6&4032|u&63;d<65536||d>1114111?i+="����":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}}i+="�"}return i})}dn.defaultChars=";/?:@&=+$,#";dn.componentChars="";const So={};function el(e){let t=So[e];if(t)return t;t=So[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function Nt(e,t,n){typeof t!="string"&&(n=t,t=Nt.defaultChars),typeof n>"u"&&(n=!0);const r=el(t);let i="";for(let o=0,a=e.length;o<a;o++){const s=e.charCodeAt(o);if(n&&s===37&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){i+=e.slice(o,o+3),o+=2;continue}if(s<128){i+=r[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a){const l=e.charCodeAt(o+1);if(l>=56320&&l<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}Nt.defaultChars=";/?:@&=+$,-_.!~*'()#";Nt.componentChars="-_.!~*'()";function gi(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Qn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const tl=/^([a-z0-9.+-]+:)/i,nl=/:[0-9]*$/,rl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,il=["<",">",'"',"`"," ","\r",`
|
|
9
|
+
`," "],ol=["{","}","|","\\","^","`"].concat(il),al=["'"].concat(ol),xo=["%","/","?",";","#"].concat(al),Do=["/","?","#"],sl=255,Oo=/^[+a-z0-9A-Z_-]{0,63}$/,cl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Io={javascript:!0,"javascript:":!0},Mo={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function hi(e,t){if(e&&e instanceof Qn)return e;const n=new Qn;return n.parse(e,t),n}Qn.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){const c=rl.exec(o);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=tl.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&Io[a])&&(o=o.substr(2),this.slashes=!0)),!Io[a]&&(i||a&&!Mo[a])){let c=-1;for(let f=0;f<Do.length;f++)r=o.indexOf(Do[f]),r!==-1&&(c===-1||r<c)&&(c=r);let u,d;c===-1?d=o.lastIndexOf("@"):d=o.lastIndexOf("@",c),d!==-1&&(u=o.slice(0,d),o=o.slice(d+1),this.auth=u),c=-1;for(let f=0;f<xo.length;f++)r=o.indexOf(xo[f]),r!==-1&&(c===-1||r<c)&&(c=r);c===-1&&(c=o.length),o[c-1]===":"&&c--;const h=o.slice(0,c);o=o.slice(c),this.parseHost(h),this.hostname=this.hostname||"";const g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){const f=this.hostname.split(/\./);for(let _=0,m=f.length;_<m;_++){const v=f[_];if(v&&!v.match(Oo)){let w="";for(let R=0,y=v.length;R<y;R++)v.charCodeAt(R)>127?w+="x":w+=v[R];if(!w.match(Oo)){const R=f.slice(0,_),y=f.slice(_+1),A=v.match(cl);A&&(R.push(A[1]),y.unshift(A[2])),y.length&&(o=y.join(".")+o),this.hostname=R.join(".");break}}}}this.hostname.length>sl&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return l!==-1&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),Mo[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Qn.prototype.parseHost=function(e){let t=nl.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const ll=Object.freeze(Object.defineProperty({__proto__:null,decode:dn,encode:Nt,format:gi,parse:hi},Symbol.toStringTag,{value:"Module"})),fa=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,pa=/[\0-\x1F\x7F-\x9F]/,ul=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,_i=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,ga=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,ha=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,dl=Object.freeze(Object.defineProperty({__proto__:null,Any:fa,Cc:pa,Cf:ul,P:_i,S:ga,Z:ha},Symbol.toStringTag,{value:"Module"})),fl=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function pl(e){return e===0||e>=55296&&e<=57343||e>1114111}function gl(e){return pl(e)?65533:e>=128&&e<=159&&fl[e-128]||e}function hl(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(gl(e))}const ot=(()=>{const e=new Uint8Array(127);let t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function ml(e,t,n,r,i,o){const s=e.length,l=o*90;let c=0;const u=()=>{const F=ot[e.charCodeAt(c++)];return F<o?F:F*91-l+ot[e.charCodeAt(c++)]},d=n-r,h=n+i,g=new Int32Array(h);g.fill(-1,r,o),g.fill(-1,o+d,h);const f=new Int32Array(h),_=new Int32Array(h);function m(F,W){let z=0,Q=W;const ne=W+F;for(;Q<ne;){const re=ot[e.charCodeAt(c++)];if(re<89)z+=re,g[Q++]=z;else if(re===89){let ee=ot[e.charCodeAt(c++)]+2;for(;ee--;)g[Q++]=++z}else{const ee=ot[e.charCodeAt(c++)];z+=89+(ee<90?ee*91+ot[e.charCodeAt(c++)]:ot[e.charCodeAt(c++)]*8281+ot[e.charCodeAt(c++)]*91+ot[e.charCodeAt(c++)]),g[Q++]=z}}}m(r,0),m(d,o);const v=new Int32Array(i*2);let w=0,R=0;function y(F,W){for(let z=0;z<F;z++){const Q=W+z,ne=u(),re=u();v[R*2]=ne,v[R*2+1]=re,R+=1,f[Q]=w;const ee=(g[ne]<0?_[ne]:1)+(g[re]<0?_[re]:1);_[Q]=ee,w+=ee}}y(i-o+r,o+d),y(o-r,r);const A=new Uint16Array(w);let N=0;for(let F=0;F<R;F++)for(let W=0;W<2;W++){const z=v[F*2+W],Q=g[z];if(Q<0){let ne=f[z];const re=ne+_[z];for(;ne<re;)A[N++]=A[ne++]}else A[N++]=Q}const D=new Uint16Array(t);let x=0;for(;c<s;){let F=ot[e.charCodeAt(c++)];F>=o&&(F=F*91-l+ot[e.charCodeAt(c++)]);const W=g[F];if(W<0){let z=f[F];const Q=z+_[F];for(;z<Q;)D[x++]=A[z++]}else D[x++]=W}return D}const bl=ml("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##),%-##%%)#&}(.}&%#&}%%}*&#%},&&}&%}#%*'#%})%}D&}&%}-&}6&#&}-,%}#%})-(~+`~,=?~I9'9%~!,#%})%})%}@%}?%}(~!?~#<~#pP~#BG~#=1#%K+~#?#~%;)~#A~#mF1~#A'~'X%'~#lR~#N~'N~#r~#m#-~#i'?%#'%~#B%##%,%#~#_%#0%~#]732~,w~2+#:&#%&'0%&>%}#>##F+)#%&&#(+_}4&}-%}(&}@&}O7Fdf0@+/v4}&WU##&/0#&'('B#%}.%}'+#%}#%%&#&%#%##+#&#)#6#'#.},%}c%},%#%##%&#&%#&~#>'*-.%##%##%}#%%}%'~#)D1}#%*&~#_%%'(~#S2%'.}#~#=##*'*-%}&'%'##&&~'E%.#&~#M4}%%##&'%#~#O1##%&#'+~#<B%##%%'%+~#;#@%}#&%#&&%#(~#H1}'%'##&&~#?A}&'~#D#%32}'&&&&~#[}'(#%}'~#;C})&}%%#%~#=&%,3}%'(#%%~#^'#&&)#%'~#Y%-~#d-%'~#^%%&#&&&}#~#b~2t*&'~&(~&@~0%~e~3}%*''0})&}+~!9##-}#%-hD*)1fC#%/&/fB#40~!+#)*4~!+~!K'&:~!/*7~!.#~!H~!L':~%x&~!H#~!*~%1~!I#~!+A~#p'~!F~~#-#~,,(~.Z~!V~%;'B'mq-W~!N~%I%#&&#&}#%},%%}'%}+X#%}#&}(%}'%}<%}#%}%%'}'%}:~![)9@~%>~#UA%-%##&~!C%~!-.9:~!1~!-^2/:a~!y,D*J#-5)/4~%23,~#G~!L1~!0X3`~!2+~!!0-~&E~!W~!o,>Y&]~%cZx_&~#O*9#A#'#+I'%#)~!0B*-5A+-((F&*M#)(-7-5+'-3a5Vi~!Y~!?+[)%3),ERHm~!+:D,VG.+)?fB%%*(%)'(#&80%1'8`K8?`+'Z#&O&'H5#*9)A%%5&3))0%39+.*7#()&&*=4@**L)<'_&*+..;(#*+)./&0#3)%')-8(4ixD(&.}%,('aI:,)%,k2231T)I'#/-W7,/'Q#.'Y24+h')37</31&83##&0#),H(?'&?/1##%#&&#%''-%&&&#(&''&#.-'%#%%(,')*'&#&#'##%(%(#%('#&##%%%%('%#%#%%#%#&%##h>w+v<ayvyvcg.uuhKr}g/v|g>u9i[~>g5uI~=RvdwEg;v/g;uk!!TTSx]@RT!U!#!@VBRUU!'UTe-d0c`e&gSdicedFcrdTaqb.kYcAohdYd@a3e+d}dMdtd.aJ#bqcK`dle/e.e'dwdPdodddjbEb}ogd^ofdpduc6j?l%d{drdqc)d7bacOdQ%T#Y)X.sR[yH>6Vyv3[xwLu>vo'!*.[yBacahoj>6Rew3[xqdZa#!a&#^(X-[yG>6Vyu3[xvg3sEr|g.u/Ri9db0T#^(Xa)!-[y;>6Vylg4wKs{JwNZt3@3r=c4Z([xlg;wKt!cpq's@v7A'*a(a+!-a#[y<3Dt?3Dt'>6Vym3[xmg9rxsNJwLZt4~?r?db1T#`-!(Xa,!0[yS>6Vz%NuQs.g4wKtnJwNZtS@3r>c4Z([y%g;wKtrdga8!a(!#&T*Y-Xa#!a0<or[yc3Dtq>6Vz43[y3JwNZtf@3s!Ju}!%Dti:pm3c_%X#tjB5pkd6q!r]u?voC'*-a.a2!0a&a+[yI3DtI3Ds~3DtH>6Vyw3[xx;:s#~<5pKJwNZtE@3r~d`a)!a2T#a.(!+U.X1[yT3Dt`3Dtv>6Vz&3[y&g9rxwzcxstPu.<rAJwLZtT~?r@dZa%!a.&^*Za(/Reu[ya>6Vz23[y1g3sEr}wkg{NuQRg{ci(U#5@b`~,cg#U(2WnH5wugcRh7dX#T(Y,a'Ta!!a,[yZ<]mj>6Vz,3[y+Pv#5ReZKu+=,%!H}7ABwkaS?Rh:BcW(X#<]mrj:ubv/ARekdg%!(!a.*Ta(Y.X1!#sP>Rl*Dt6[y>>6Vyo3Wf*jOvuumvuRgRJuq*!:9<B@bX~3jVv&v@s@5Re[d/rQt{uAvo&a&a*)a2!,0Wf!3Dt0=Bs'>6Re}3[xy~<5s%JwJZt1~Gs)c;&!#2sJkNuXvzq7rxu,Re8dka4!a8(aEZ+a@Y.X1Xa)[yd=Bs(3DtP>6Vz53[y4cX#X&Re:avRe9~<5s&JwJZtQ~Gs*i^rzvdRg+Jv{%!2sbB@bX}kdga,!Za?&^*T1/!a'Dt+[y6>6Vyf3Wf%g/u;s4hGu6?Rh-JvZ,!c%#&RoX54Rivj7uyvf8RgTKvZB%*!2sGh<vu5Rgq<=C::9bb~#dZ#T&Ta6Y.X*Dt>[y93Wf)coZ(T,6VyifluvRgC@95@B@bX~/hFu34cC#T,k/unq8w8Q5RkUklwQuzunq8w8Q5Rk8d/rJu?v8w9)-&!a0a;a&aIWejg3sEr/h1s<DtDJvyZqY5aws3Jvy!&Wei~Hr1:au5@Bag>23E~5c:Z&bX};kKv?w&unuVu5Rjc;>bs)#~@:Rh.=ay<a]C;b`}Vd6s/t{uAvoaxa()!a,a7%-a#a2Dt,[yF2Wo[>6Vyt3[xuNuPRi&NuPwpi#RoWh?vf8Ri%Jv]!%Ri:KvxD!.'2WeAjZu`q9rxu,Re7woeAg-unLq(qA_/*2Wg_g3u5q^9:4E}/jTrxrzv=Wkkd~0UX#^^Xa-a1a5T&a=U1a'*aEa]!a*aPaA-adok[y54Rn>;:p3~Dp5g9rpsFNvZqjg3uJp4~<5p0Pw;5qlJwNZt*@3p1Pw:5p/Ou!5p2JvG'!6Vye=<qnJvh_[xhg3v,Rh3kOwOw-sDuev/Re^dha[a%!%!a+#Ta7)-5TaCaO!aka!a)sf[yb2>Rl!9ARiq5E}Qg=ucRkBE|oJrJ_@Wk~@Wk{JrJ_@Wk|@WkyJrJ_@Wk}@WkzJvO_[y2g-vMRmiKuYC!)&>Ri;>Ri<@3RkNc](X#@9Rk=g5vuRmhKvDB!+'=]meg3u4Rmgd)#Y'Vz3CARmfd`a+!%T'!+#Ta1Ta6TaM-sTDt9[yA9sYd'%Y#s[[xpj:ueunaXRgEjRq,v-vuqdd2'`#6Rev<32@5>:2<E}5xIo9a*X#Y(;5RePJvD_g>vyRgNj8w)v8<wggs:RgXiZt|vjx,hSq3ah!-(~@:Ro/Ou!5RhWj^v(pyw8unRhUdx-UY#^Ua.a3a70!)%UX1TaDa)'omRiRRhE[y:3Dsz=Br,>6Vyj3[xkg6ruwjcqsrPw;5r*Ku]D'Zt-@3r(~?r.i[vwv]dU1a--U#`a4(g/vsRhPOu!5RhLj:rmu9Wo!~@:wdh@g/vsRiTjXuvvNr}:RhBj^v(pyw8unRn]dz1UYa'a+^Y(!aETZalaRY.Ta?a4[yDJw1!#qLsW>6Vyrfzq-pLflpwRe|Js>%!Dt@3Dt&Jvy_[xs~HrnjMuwpsw'RecKu+D#'!t<~Grl~?rjg5u-x,gwp{ah!-(~@:Rg~Ou!5Rh'jXuvvNr}:Rh#cW#X/c;&!#2sLi[v7u7RgpJv)(!iLrxu,Re6j7v@s@5Se[e7d`aW!Za(a`T.a#!a3!&aDa-!9)Dt_=6s+3[x~~DR|h~DS6avhGun5RkZj3w)v-]mkKunB!&*]kb97R|i<ARk<c:Z(6Vy}Juh'!wziMRoS:F|vkLuauJv5vtvQRh1d='T+Y#VyO~DR|jcF#T'7R|g97R|kJv3'!ay<Rj,Jvh&!:ReXcsa6*a+#a#_aIRf9aLRf?c,Z&Rf5Rf7c.Z&Rf;Rf>cQ#%T'p-Rf8Rf=ct#%'(*!,p,Rf4p+Rf6Rf:Rf<d~'Ua%U*^UYa(!a,-!#a4YaTalaEX0a8a<Weo3Dt/3Dsx=Br93Wen~Dr;~<5p<JwNZt2@3p=Pw:5p;Ou!5r3c7&!#:p>3Ds}KvGB)_6Vyk2sM=<r7x'eovA(!hFu1ARf}cV#X&@r5j6rvwQa^Rf3c=Za'wkghJv__g;unRggA53B9=b^}%j6uduo5Jq;!(hIv%2Re`Ou4ARe_e%a#^^^Xa&!a*a2!&a6YaP!*ad!#a:aE/5Rn?[y@>6Vyp;:pE~DrY~<5pBJwNZt8@3pCh=rt3rWPw:5pAJup_[xoNuPpF9c!#'45pD5ARn)d8#X'X*3@rU72s]h>v<<sSjJpqvewOJq/(!hNw'5ReBk0s2u3w/w'5ReE5@Jq.!a+JQ!&WeU23d(#Y&RjG5]jBk!u7w&u0udARjEe#+^^^Ub#!a2/a`Z(agT1!a-a;|@TaG!aS[yV=Re~fow'RguNuPRe?bz#'>RoUWeL>:Cbb|?JwPZtVg6ruRmzJvD'!6Vz(g/vmRh~Jvy_[y(g9voRgyx*cy(#2>Ri2B9b]~9kIw9u7rluJu3Rg]dI#a%UY'@=p%CAx.gQZ&RhwwygtRm{x5g_Z'+ABqR9Woa=Bp&dV#^*Xa'!&@o{g4v]Rk;Jv{!%Rk[wkkiA5RkiwwfUB=x,fUuqC&*!>RfTg8v0RfV~ARfSd;rJsAuAv9wR'ae+/aO!a@aza/a#[yQ@Wg!2Wemg3sEr0JvB_g>uvReWg2v+Re=KupB_+[y!2AbY~-~Hr2AJwD!(h<~El>h<~El?Kun@+_:9b`}Kg-v/Ri3g;vtwyk_9]k_d=&T#*U.6qh@Ab`|K9:H|CJv[!&3Dtex'fDwC%!Rf[9WlMd[(^X,!a%Z06Vz!@WgBg=v~Rgvg,QRe@awd,#Y+jTv|Q~EfWj]uNr|~FRfXdy#Y&^Ua%!aO.!(a)Ua;=!a@aKap!a-,a!Ta]a[rSa]p?[y82sK=Bq~;:p:~<5p8Pw:5p7d'#Y'Wf(;RnRi[u4w&RgJJvG'!6Vyh=<r#ijuuv/sIKuYD'ZtG@3p9~Gr&d2#`(g<vtRgFj`u5w&rqpxRf2CJuY!+:wfnTOu!5Rg}jNs1ucv&RfwJvA!&3@q|BDcC#T,k/unq8w8Q5RkTklwQuzunq8w8Q5Rk9dga#!a'!a=#a0!:+Tb*b@aO.a4!aba8aFJv^}?!VyR~Dr<g;u%Rn.~<5p[x'e`wNZtR@3p]Pw:5pZhNvjBp.woe_g5u-r4JwF!%DtO3:ooc7&!#:p^3DtpLuGw(!+%)Dtk6Vz#2sd=<r8d'#Y([y#<x3gJt`w@!)%}MRiowzikRij=]ilxAf3,U(#B2Rf#g0v-Rm[ck{`U#]giKv3>)!&6Ri154s,KuGB_%@r68r:dJ|t`#X(9<E|u2@H|rx3gJu?w'!+'1Nu7Reg4=H~+9<wxgY95Rm]xLggZ-`(X}U2:Ri4h<uOawRmsJv__5@bb{jbV~3dka#a'a]!,#a+U=a>b6a3b%!/aKa/)!arwve^VyJ;:pR~DpTg3uJpS~<5pOPw;5qmPw:5pNOu!5pQJvG'!6Vyx=<qoJvA!{~Jup!%@qk7Rn/KvyD!}''[xz;>wkh'?Rh,x8gyt`w5D!&),(SgyccRgztJ@3pPB5p#d'(Y#<]mmifubw&RgoJvE&!82s^JvF&!8Rf,ADb]~;x=h'rNu]vK!,%'*0RnORh)4Rh*AqQg-vaRnNg;wHwkh'ba~4cE#Ta*x3gctyw@'!+%RnFRnD<4Rn@hFvK5RnCxWg[#`&a0Ua()`1Rm75Rg[c]%X#qi8Rg^NvdRj>BwzgZauwji7Rm6A4wgg]d1#&(*,.0a#Rm;Rm<Rm=Rm>Rm?Rm@RmARmBe%#^^^Xaea?aC/b+(,!a+a#!a/!>a&Ta<aKbD!2wphBRnk[yPw}hE|.=Br-3Dtm>6Vy~g6urRf.x,hPrNav!%'RnqRo%Ro#Nu;q[Pw;5r+JwNZtM@3r)d'#Y'Weh;xChL#`&RnmRnoKu}>%(!Rne~Bs-;2wjcussJv+'!aYSO}6@B<5?ba~8LrNvj!.%*ROwungw~ng~:9;Ri^>wtnig;wHRnixDh@|(UZ.x1h@|)!#:2<H|*xHn]#-UX'3Ro)z=iT}6ARns=Bwsn_wpnaRncw]aR(#UXa&Ua*a/=]iPd'#Y&Ro'WnXf{QRm2hNvj]nZd`'T~&1`{|`#9b]{}c:'!#Wl{>@=be}]?cl{{U#:5Abb}Jds#^YaF!a*b4a#a3aPa>&Tb!bH!*a_!Eau?/a&RjY<]gj>6Vz*;:pe~DrZg,QRj1JwNZtX@wihspcJvZ&!VyX9WmOJu|!|N2WmHJvh&!]ht~Bpbcn&T(!#RmQ<s7Nu;padH#X'`+WmJ@>RmKCARhnKup=!)&Wf+:RhqNuPpf9c!#'45pd5AwghpARn(Ls@w!%,)!RmP@Wfe<E|IJva!&WmNg8vsRmLd`*.`#Y'Xa!axRn*]hrA8Rhug5s@rXg8u!RmMd8#X'X*3@rV72smdI*#UY&RmICARho~GsgxVgd)Ta'U-Y&Xa!T#RnEWnA@Wffg1uDRi0hFvK5RnBxGnG&#`%owp)@wsf+bX}Ze-*1!a*^^^Ua|!#a.aq&Ya2!a>.a6!a:aO`aJDtL[y`@Wg#>6Vz12@wzoYRoZNuPRi!NuPRhzg=ucRi,@=b`{Yg=ucRi-ACJvB!&Sh[ebSh]ebi`wUuFRm4Jw2_[y0JvB!.<Ju(!&SoG}6Shd}6<Ju(!&SoH}6She}6Kur@._g5vHRieJvx!{L2G{Kx6gd'T#?Rh82Wi5cZ#X(g1w)Rm5dW-Y(Ta#!a)!#aYa=wnfE=su2>>bU{0j9udv:<svj8uQv-7RgHdE%#^'sq9sp=>Bb_{TJv`!&g/r|snj6v(us5d,#Y(56H}[978H}]Jw5!&g1rushJvB!+j;v{u5?zDhd}6}bj;v{u5?zDhe}6}ce*#`(^^^a[aea!=!a6a*aoXb1a.!aAbL!b>,b'aL!aV@Wf|2Wlg3[y/JwNZt^@3piPw:5pgJunZou3@rsJva&!Vy_g<v~Rm#JvG'!6Vz0=<r{Ju{%!:pj@WfsiXuJu3Rm:JvZ&!WfA~Bph@c4Z&Dtwax5rubx(#:awRk1@d,#Y&RfjRfid1#,Y(@Wfp2Wlrg5s@ryKu[@!,'=]ig9wlk?Rk>g5u-rqJvy'!@9RkQcH(T#=>Ri~@<wkj(Wj(KuZB*!&<7rw@9RkRcH(T#=>Ri}@<wkj)Wj)dg(Ta2Xa9X#`-!a*CARhg@@=I}d9x;c~#X%so=<sj>2@@=aybb}XjWv0Q~EfEj3vLv;<d,#Y(56H}`978H}_dgaPaFa'a/!#a3Y0a_a;a|!1(a7-[yE3[xt;:pJNvZrrg3uJrvJwNZt=@3pIh=rt3rxPw:5pGOu!5rpJvG'!6Vys=<rz@c4Z&Dt(ax5rtJvZ!&~BpH@wsfNg-vaRlNci*U#=<wei<F}a5@Jq.!a*JQ!%@qZ23d(#Y&RjH5]jCk!u7w&u0udARjFd/prq=tyvpaEa(a:.!a1aZ(@@=I}:9wpd%=<sX55w_h}@@=I{t=ay<aU@@=I}T=ay<2@@=I})?C9:9au@9Cb]}DP~=x-fAZ(2Wl1=ay<aU@@=I}>5@d##Y+jTv|vV~EfFj]uNpn~FRfGdgaK!Z2&!a8a-Tb({E!acTbM*!a(DtY[yYd'%Y#sl[y*hHvh>Re5x2c{Z}.j4uCvcawRiMd+#X+_x&d!},<5RkX;2Hzw@x,gavfB-!{CcF&T#Roe;RodwWbBg5urRgaKvHC*_6Vz+<4opieuew&Rmq@d]&Y)X,T#X0Rh}<BqP=4qS9:ReMg/ujReNJw0!/<Jui%!bd{kawwnemRelAxUa?a3#*.&UX(Ya+a/RhvRnQ<o}9Wmtd-#Y&RgSRmw9;Rmxay=Rmyg-vaRmuxEhSrNu,v-voC!%(aR.a(a7+1Ro1>Ro5CE{A9b]{@;5x#eO{:g;urRi+KrNA!%(Ro3>Ro79;Ri_Ku@>{;&!x%gX|{KunA_+g5QRj/g3u5Rj#g>uERj%wio/xRhS&!,!#^1U}wba{8>>@=be}qC@:D5ba{7Ku+A&!}x?ba}t>>@=be}se(aA^^^Uat!b0#{pa+awUazbGa#aLb9bgaWac'a5TbS=Br!d1#`%scp_Jvl!#rT>Re0JvX&!VyN=H{Fcm#U&:pY=ReaJv2&!]h0=]nUJvG'!6Vy|=<r%JrM_=]h2@Wlud'#)U'Wf'b]{i=]h/Jvh!&~BpWg=v]RnMx+ny#'Nu;pVwjnu=]nwxJnx,T#`&Reqwjnt=]nvieu9vrRjLLuYwP(#+!th@wih5pX~Gr'g5v/Rh4KunA'!-CARnP@wwiN:Rm_9x'cvw>!|l=<saKvAA!0&3@q}>w^e1bp#&Re2Re3BDx7gH#T|f5H|eKuZ>!%(:qNAH{]Jv6!+3B2B9=b^{X<5<B92:E{ZLvhwA(a;a%!igQuyRmad+#Y}m@3Rh5d8#X'X*:AqUAHzmaxwbh<aXRnVcF}RT#Nw&cj#U(BWnug/vsRntdka)(a3+.Zb7aYYan1!bVa@Xa}[y^@b[{G=H{+hFu73Rj&Pv#5ReQcK%T#sig1v{Rj'Ku+D#'!t]~Grm~?rkKuMB!01d5#`'Vy.ta3Dtu~Hroc8#'{^45s85AwZbP&!#Rn!wghxWn#KvEA!)&2RlA2RlBx:h|#(T,=]j09Wobz>x]z/@awRoTd+#Y(az]hFhCrm4d,#Y+jTv|Q~EfMj]uNr|~FRfOdCa!Xa9_X#@<plJvf!%b`{(9;Rgwc;.!#2x7cw#T|UDb]|T5Ju={(!=@E{&Jv)&!Ab`{'awJvf!~*>>@=be{#KuY>!+&4Ezyi[ugv&RjIdea+T)#UXa&T-T&a!Rh9auRmW=]kLg5vuRn+g3u4Rn-Ow6ARn,hHus5xNk?#UX(U~)/g8v0RkD~AwkkF?Ri.OuNBwkkA?Ri/d|a2`a*^UYa.!aBTZaTa'Xa;!(!2!-a#b2[yC>6Vyq3[xr2Wi?g1rusVh%s?DtF~<5rbJs;%!DtBfswKtCj[uvuSsEu3RgVx3o:u+wN'*Zt;@3rd~Grh~?rfg8w)Lq)qE&-a%!>bI|`jWv0vV~EfCjTv|vV~Ef@j]uNpn~FRfBcK#T']gWNu7x,k7q4ai(0!hHv8<RhmkMu9vrsBuev/RhlCJvB!,g<v{wchh~@:Rhji[vrv{wchi~@:RhkdS&a5UY#Ta!RgPwwiI5BwciI~@:Rh`x'iJvj'!5]iJPu8Bwch]~@:Rhach)U#h3rp]gLh@t|Ax,hTq3ah!-(~@:Ro0Ou!5RhXj^v(pyw8unRhVd|)`,^UYas!a?/a2Z'a^Ta{Tb7Ta(a#!a,Wf&9sZ3DtAadamov=Bqt3[xig8vsRm~>waiL2b`{QJv*_Ouv2qgj<v]v2BqfdR'X*X#Y-@3qr~Gqv~?p6hHv-]glPup5Lq+q?_%*b_{qF{n9b^{rOu4ARhpKvCD!+&~Bqp:5Dbb}nwoiKl&unuTuBv]v+ueunaXRf0=Jvh!0nKufu8v1w&w7q%w&uHrz:Rgnj5w,uxDJq/(!hNw'5ReCk0s2u3w/w'5ReFd>Za&!*UaA=<wkgsRnSJv^!%Refifw3vyRgOKu_B'!,<]gkiiu:w&Rh<=C@a^<B57@2F{[<B5@aW:=3away9A5aW=<B=C@a^<B57@2F{Ie-#`(^^^bCara.b8aza6!/bZ,!adTbnTbOb+aFaS!aAT9@Wf~2Wli3Dtl2@d,#Y&RfnRfmJwJZtN~GqyJva&!VyMg<v~Rm%iXuJu3Rm9Jv[_=]ih9wlkDRkCd1#`(@Wg>2Wls3cH#T(@<Rj*=>Ri|b~'#23s9h<~El.d'#Y&Dtxi^rzvdRl#d*#U%(o|B2s`hJwSaxRmDKv4B&!1:Rmdd5#`'Vx}to~Hq{x'f1v3(!BA5ba|bJv_&!Wfug1v]ReIdO+U/Y#&G}-8wze=Rh{g1v]ReHg/uQRf/by#)ibQwERl/cH#T(@<Rj+=>Ri{cNu+vlax-!(#a0qa9<Rii2;;bU{H;x<i=&X#Rk`<4wwi=C9H~8xAI(Y#<azRi@45wXI<B9;5bb~7dL(X#Xa(+!aL6Vy{g5QqOau:5au2@ay547EzbxOcU(UX-T#Ta#:Cbb|A?wjh/b_|SOw6ARgtihr}u7Rhy<d1#T)X1@@=I|~=ay<2@@=aybb}Sj3vLv;<d,#Y(56H}A978H}@dGpvs@uAu`vcw9*!aFa+ai%(b!aXa8.a?a[ozWey=sU2@G}Nch&U#Rf_WexKu+D#'!t:~Gr`~?r^j]uNr|~FRg*j^psurwJt|RmcKv)@&!)7Rkv~Br[@wxfO:Rl3co#U'6Rezj_q#vIuavjRltwzeyh@vr5JqD0!>aY?C9:9au@9Cb]}9cl#U*5;5<H||jbuus1ucv&Rfvg1v~d/pppzqFr^a--a~!aMat1(hFv;Wiz@@=Izoj5uuv-7Rix~Cw`fk2WlVcZ#X,k)u3vWs@u2]ktg;wEx'fBq(_2Wg/jTv|vV~EfoJv]!15x'hzqG!(P~EfU~CRl_j6v(us5x4i-#T(2WmZ?C2F|d>Kq<aj1!*jTqIsBv=Wl`~Cw`fi2WlWj`v0u*~>RlR=c>Z,k#u3vWs@u2]kr<c1Z+jTqIsBv=Wla~Cw`fm2WlXdmb3!a{(arZa`bkTa%TbQTa-a9+c'!aM!/[yL=Bqug.w'RifhFvyDRj.g>vgwyk^9]k^Jv3_@WfbAARkhJw2_[x|JvB_wkoIRoKwkoJRoLd'(Y#<]gm=<9<H|yd'%_X#skDtb3awwqkgNulRkgdB#^',9:p'hJwSaxRmEBwVb8@4=H|qLu+w50&!)@3qs~?pU>Awwn;;Rn=c:Z'ARn<=<qwKvC@!/&~BqqJv6!&]eVb^z^xRge'/a%+^`#Sge}6<4Rn3=]n0Pw2>Rn8Jw0!&>Rn:>Rn6cY#a7+!a&=<wkaNw~h3z_c5Z{=wjh#=]nLKv^D!&)Vyz=bW|swYb<WetcG#T(2wxa@qVx@gD#Y&b^|V5JwG&!5bb|pg/w&RgD@x=kHs=uAvn!a%%/'+RmSRh694Ro`g-vaRmRhHv-]mlxCcS#`&ba~.5cD#Ta)P~=d,#Y(56H{>978H{Dd_#{2^Y%_+qbbb{6g3sERhsbU{?dfa.,`a(Xa<!aiX#(55RiG54RiHcI#T'WiU3RiVNvdwtfcRlKNvdd,#Y&RlHRlExQgf.1*^T'X#Sgf}6Wn4=]hfPrk>Rn7Jw0!&>Rn5>Rn9Lunw?&a2!,5<oq@@wqfdRlJj5Q~=d,#Y(~ARfcOuN]fdDKw;ay(}i!547E}j?cI#T(@5bV}iCbV}hdv(^^Tb?a40,b##Tbo!a*bR!a<b|a/!aKai!aU[yK=]o^g:v>ReGJwPZtK<7Rh+h<~El,Pv#5ReR@awwxjCg,ulRjDJv6&!]j!z?aQeeg>w=Sh<eeJw;!&axEzOg,Qosc!#*:wkeJ]eJ>x'h-u(!%Ro.w~h.zPdNZ(X,Ya![x{;9ReY;wkgxRiF:x?ap#Y&RmUg<s2Rkod]+UY0TZ'!a&A9sw<=bczLNvuw{gqzNhJwSaxRmCKuLay!#&s_Rf-55b^{uJvZa!!c%#(55Ri654wmiu5RiuawLu,vp!+}^%b_}Y9;wkgxba}o>A9:=b^}zKuh=a''!3awRk3c*'!#aHRk6c+Z&Rk5Rk4Jv)&!awRjSawd9*`#0?C2@EzMj8u<uJ5RmbjQrquJu3x,k>uq@_+=ayb^|W~ARkEOuN]k@7dhzV^X/X&a-#zRzSb`zXcJzTT#2WkVKvDBzW!%FzY9;5bbzWjQrquJu3Jw3%!b`zU=ayb^zQd:#X(T-a!6Vyywxh}=b]{Jg=u1RiAdGp~qHtzv!w(wA+a+a;<!aJaYai'anasb(=azRmV:Cbb{MLq2vb!%')RjuRjrRjtRjqx3jnqCw3!%')Rk(Rk+Rk&Rk)Lq2vb!%')Rj{RjxRjzRjwLq2vb!%')RjsRjpRjfRjex3jcqCw3!%')Rk'Rk*RjkRjl9<CbbzfOu4ARhxLq2vb!%')RjyRjvRjhRjgx=joq*uKvb!%')+-Rk.Rk%Rj~Rk-Rk#Rj}x=jdq*uKvb!%')+-Rk,Rk!Rj|RjmRjjRjidAq&qKs@uAv8Aa.'*-a@a&0!aM@a5[y73Dsy3Ds|3Dt):wxgI2sHJwJZt.~Gqxwsf0ikrzt}Rl0Jvy_[xj~HqzKv_A|D!&WfP8axRoVcf,U#k(v]v+ueunaXRf1Ju}'!g8u#Ri=jQw!sCunLprq>!,')~<5qeGzq9F{W=c##%s5au:5aU3CBE|;d4#X(D!a&6Vygx(b;#(=]ed?C2F{N<capoq2r[a&!aPa9,'Pw;5s:@@=I|,55w_h|@@=IzcP~=x'fCqB_2Wl2>aU@@=I|1OuNBc1Z+jTqIsBv=Wlc~Cw`fl2WlZ~AcTa%!Z+jTqIsBv=Wlb~Cw`fh2WlYk+uNqJsBv=WlSg,u3dca3#UXaMYa)TaB-=cM|7T#<bI}l5@B932:aV2G{BOuNBJq:|M!5Ezt=<B=C@a^<B57@2F{v>cB{/T#=ay<bI{3Jv6!a.6BKq0ah&+!5E}HP~Ef{978BaU@@=Iza<7d#.Y#978BaU@@=IzH~AJq0!(@@=IzG978BaU@@=IzFe,aU*Y&^^^bvJb,b:bFad!a,c2Ta>aL.bo6!a#CbTa'T#Re{2Wlh2@G{yg6t~Ro_NvdRfticuRQRllJv3&!x&c|zs@Jw3!%RflwpfkRlpKuL;%(!Re<@G|C2GzdhIvuBwgjAg-u0RjAKQB%!(GzZ@G|5NuuRl7d='T+Y#Vy[g<v~Rm!==G|>JvA!)@wma=]m1ifuaw&RmnLs@vT'!|/+[y,g:v>ReTJw1!#qX=x!eC{bLu+wT&)ZtZauq_~Graci&U#F|89:r_Lupvq!.)&2RlG8RfaC=x!eF{_h?rpWlmd&'!#X|&]k::xJey#`'T|+<E|&2@H|%dE#(^,g;u.RiEg6vjRiC9xCkA{O|zY#g=ucRmXKs0@!&*@G|m@awRknJuh!,3d(}gY}eJvj!%Rm):Jw3!%Rm+Rm-Ls0w(&!a(a#@b[|6cZ#X'7RkxWgAOu4ARn'dH'U#Y*Vz-Wm'CARm}d]*#a%^a*T'aK!a<9bV{PC=p*Jw4!&SgxcbB5r]idw(wBRmF7xFkt#&`(Rm/Rm8E|!JuY_9:Rl5=wrgr2:bbxd@xXfB(a*#T+!.X0X1Ta/a'T&RlDRfL>RlyARl9b[z[>RfZ:RlL:RfRwlg/ARl;9;RlxKv,A/!%7s69<74=BA5ba{-8Bde#`a<XaKYa1,a'P~=wxfB2bZ}}?C972@@=I}r8@55B9;5bb}G978B2@@=aybb}3j3vLv;<Jw3&!>Rfk=ayb^}4~Ad1#`*@@=aybb{w2@>==<bbz]dx+UY#^UaF!a9!bB'Ya1.!ajXa#%olRhD[y=3Dt#Ov5BrHKuMB%!(Rf^Wep~HrJwkiQjKr|~FRg)Ku+D#'!t5~GrF~?rDdV)UY,Z/_7RkuG{<~BrBg,rlsO:235B@bX}|d?a1!#`(6Vyn5@d##Y+jTv|vV~EfIj]uNpn~FRfH7Lq2vb1!a9-978BaU@@=Iz9978BbU}#~AJq0!(@@=Iz8978BaU@@=Iz7~AJQ|}!978BbU}!JvkaK!AdUa21-U#`a+(g/vsRn~Ou!5RPj:rmu9WhOjXuvvNr}:RhAj^v(pyw8unRn[kPr}p|u7vwv]RiSBd;pppzq@qHQa?(b.!a.a`@.|xa(hFv;Wiyj5uuv-7Riw~Cw`fg2WlU978BbU|wOuNBJqG!(P~EfD~CRlQcZ#X,k)u3vWs@u2]ksg;wEx'f@q1_2Wg.j]uNpn~FRfqJv]!15x'h{qG!(@@=IzK~CRl^j6v(us5x4i,#T(2WmY?C2F{1>Kq<aj1!*jTqIsBv=Wld~Cw`fj2Wl[j`v0u*~>RlT=c>Z,k#u3vWs@u2]kq<c1Z+jTqIsBv=Wle~Cw`fn2Wl]dn1#c(a(b^a2!b/bAT(bj!aDa7bu,a_a{c0!2T0g:v>ReD2@G{42@G{5~DpM~<5rc=Bx6i>{RT#RnI@zCx]y]z:2Jv[!zr5Awyk]9]k]dD(Y+X#6Vz.g=wKtgwhaCwgmTWj2Lu,w%_+/[y-B;b^xeg3u3Rj-2@bX{*KrJ<!+'@Wg(g?QRlC@Jv`!%b[zIwsfII}8JQ_@w|kW|=Jv(%!AqcOuNBJvEzh!bYzjLs@wP#(0!oy@>RkdJwMZtc3Dtd@BcG#T'9bWxg2@2Fznd*#Y+;2x'c}w<zizixNgwa#Z'U+!/!a'!a+w~g~z6wcn{Rn}wcnzRn|5Rh%=]nJg5vuRmvNvdRlvcprJu}w*az*a#!%.a.'Bot9qT]kj@Wg'ay2Gzv@Jv`!%b[zEwsfHI}1;ck#Ux`<Cbbx_Lu+w!a&0*!wko*wwo,So,}6Juqxf!E}PigQuyRm`d3(`#8>Rn%:A5B;bZ~%KvhCa!a2!x>k7#Uxb@b{#xaRk7Jw0!)>wwhlShl}6>wwhmShm}6CJvB!.x'hhvj{!!5Bwkhhbaz}x'hivjz~!5Bwkhibaz|xEhTrNu,v-vpD!a%&/)a3a.,%Ro2t[CE{)@3re9b]{%wjo09:rgc:Z&Ro6=<riifuaw&RmoKrNA!%(Ro4>Ro89;Ri`dSaL'UYzxZb)7Rka3xRhT&!,!#^1U}vbaz{>>@=be}yC@:D5bazzKu+A&!}{?ba}y>>@=be}wxBh[t`u~vJvr!%a!a()a,a0a4RoC=]o;Ju(!%RoGRhdwjh`=]oAg>w#Ro?g5vuRo=NvdRl|Ku]C.!&;RoEJvB!%RoORoMBx'h[v+_?w~h`}~5?w~hd~!xKh]oiptu-utv.vp!#%&a30a@a'a+(a/aOp(o~p!RoDJu(!%RoHRhewjha=]oBNvdRl}g>w#Ro@g5vuRo>c[#X']o<CauRoRAd-#Y':RkpauRoQKu]C.!&;RoFJvB!%RoNRoPBx'h]v+_?w~ha}t5?w~he}ue!/UbhYacXaW^Tc&a;b:a-c/#b&aja1(!cL+!bKbt!bmcRc9aIc?8[yW3Dtt94Rg`Jv}!&SiRMzBhEebShEMNuPRe>x7gL#TzuwjirRipc<Z&>on;>z=h-MSh.Mwqczx'a7vj&!>Re4@=ResJt__NuPRi*NuPRi)j]uNr|~FRfzKrJ>_+@Wfy@Wf]2WocKrJ<!+'@Wg%g/QRl@@Jv`!&awRl<wsfFIzgLu(w*!.*&ShBMwvhIRhI9;RhNx1hK'!#Sn]Mx1hK~0!#:2<H~7cNu+w7D*'1ZtW>Rn1~?rOc:Z&Rn2=<rQ<7wjh&=BSnLMc]#X(6Vz)w[b=a!U#9wzgMc3#&(RgMRitRis<x,gKt`ax!&+SioM=BSilMc3#&(RgKRinRimKurB,!&SiQMzBhDebShDM6BJQ!(P~Efx978B2@@=I}WLrJw!!,a*&@G}O@9wkibRid@@x'fKwC!&SlDMSfLMjUv~Q~EfKKv3@a+!(hFv-]mpx/hYZ(C5RiWz<o/MwkhY?So/M@x,gbvfB*&!SgEM:SoeeehFu3:Rgbda(,^TZa)X/7Sg[eb:2RgI~BrMC@wgkc:wwkcRerx3h(uUvK!&*,SnOM4Sh*MArRg;wHRh(x=h;rJvPwI!a4',a'0@Wg&=BSh/Mg>w=Rh=g3w*wwgGRgGcW(X#;Sg}M2Gzk@Jv`!&awRl=wsfGIz`dKZ*T'Y-:RhR7RhQg5u-p`j6v(us5d,#Y+~Awkia?RicOuNBwkibba}Ld6p~tyu_vbAa'a+!a/'a3aEa8a!>Sh,ebJv{!&Sh@ebSaReb9;SgwebNuPRi(NvdRl)NuPRi'hHu^<Rm^Jvv_@Wl(g;u1Si/ebKu'B&!*Sh?eb@Wl'z@aPeb95Si.ebcpputyvjB)!,&a+0a%ShAMWeK@G}C@WfJ9;RhMwvhH9w{ia}ix,hJvRA1(!zAn[MRhHx1hJ~*!#hFv(BSn[MBJQ!(@@=I~'978B2@@=I}2db.Ua<'X}+T#a0XaG2G}E;wkg|wuh!Rh!x,hZu,@)!&So0MVy)C5RiXACJvB!&5RiY5RiZg8w)cG}*T#2@bU}=KsA>(!a.3wkhZba~(x,h^u(A!&(SoCMRhb5Bz=h[eb?w~hb~6x,h_u(A!&(SoDMRhc5Bz=h]eb?w~hc~6e)aA1T#T,^^^c-bMb&blcPaP(a/!0!bA=b5c@a(!bfbrc#2afwmhARnjwchORnp2Wlf3DtsNvdRl-2@wpa<]m0bx(#:awRk2@Jw3!%RfhwpfgRlnKQB%!(G{V@G|'NuuRl6d='T+Y#VyUg<v~Rl~==G|<Jv+'!aYShC}6@B<5?ba~8@Jw3'!g2QRljhLrpWlOd+#Y'g.w'rIg>w*wgj@g-u0Rj@Lu+wT&)ZtUauq]~GrGci&U#F|39:rELrNvj!.%*RhCwunfw~nf~:9;Ri]>wtnhg;wHRnhx3hDs@v~!/+'@Wfr@9RkSNu&Rlo=@<5GzoKs0@_+@Wl+@awRkmJuh!-3d(}pY#qWJvj!%Rm(:Jw3!%Rm,Rm*de&!1U-U#`)Re;@G|.@9Ri82@wjfvRlq=@<5GzpLvOvr!).&2RlF8Rf`C=x!eE{.Jw3_g2QRlkhLrpWlPde(!#U{s,UXa*Ta'[y'g:v>ReS;x0PZ&RnlRnn~HrKJw1}f!=x!eB|2w]aP(#Xa&a*Ta.Ua2a7=]iOd'#Y&Ro&WnWg;u.RiDg6vjRiBNvdRlzhNvj]nYJuW_2Wm3x)kFze{9d])!a.!,Y01!#&aC!a3RndC=ox~BrC@2b^{pg,rlse7x'ksuq!%Rm.E{xidw(wBRmGx9o+)X#wwo-So-}69:Rl4@xSf@a#XZ'X)X,Ta(/ARl8b[xc>RfY:RlI:RfQwlg.ARl:9;Rlwdn'#^XafaQa1X1TaHTa)@b[{zcZ#X'7RkwWg@Ou4ARn&x)kG#{,g7u/RkGdH'U#Y*Vz'Wm&CARm|bx#(A]gUbUzJj9Q~=d,#Y(56H}l978H{U7d,0#U*2>ABb_xZ978BbU{e~AJQ{g!978BbU{hxMh?ad{oUYZ.x1h?{l!#:2<H{mx3n[t{vl!,&a%3Ro(z=iS}6ARnr=Bwsn^wvn`Rnbd`*T}B0!#^X'BG{c9b]{a>>@=be}F?JvS!&BG{d7BG}(Bde#`a1X,Ya@!a'P~=wxf@2bZ}I56B2@@=aybb}08@55B9;5bb}<j3vLv;<Jw3&!>Rfg=ayb^}&OuNBKuLA!)a!P~=x#fD{f2@>==<bbzl?C972@@=Ix^d6rSu,v7w*C(0a)a6#B+a%!sQ[y?3Dt%3[xn~<5rLOu!5p@Ku+D#'!t7~GrP~?rNKvlaya7'!h+v-5qMg=t|cd,U#5AAaa5Abb{S@52B5@a[@52B5Gx[iXueu;d<#`a(!/549C;ag>23ExY5@Dah89b^~689Jv)!~2b[~1Lv'w(%*!a#bX|aPrmawRe]keu7uhv-q6rxu,q`xTo]/a5aU!bNaDXbi!b-!ao!b<bwA!#5@B932:aV2G|:d-)Y#hJrL>RhG<7@C5<H|_=Cau:5aj5@B932:bJ|ng>vIbs)#?C2F|9jPv0w.vISh-MKvUaz(.!9ABbb|[5;5<H|Eg>unwfh;9:4E|YjQsBt|vjx'hYq3!(?C2F|J:2<BaY?C2F|GOu!5x,g|p{ah!-(?C2F|c9:4E|OjXuvvNr}:Rh&i[w*t|cd+U#jJvsu)vsSn~Mkfrmu9p}u7vwv]So!McW#Xa!ax5@A5aY:5;5<H|>kJv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61);var Be;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE",e[e.VALUE_MASK=8191]="VALUE_MASK"})(Be||(Be={}));var Ze;(function(e){e[e.AMP=38]="AMP",e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_X=120]="LOWER_X"})(Ze||(Ze={}));const er=32,ma=21,_l=2097151,mi=2047;let ba=0;function El(e){const t=e>>>ma;return t===mi?ba:t}function vl(e){return e-Ze.ZERO>>>0<=9}function wl(e){return(e|er)-Ze.LOWER_A>>>0<=5}function yl(e){return(e|er)-Ze.LOWER_A>>>0<=25}var Lo;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Lo||(Lo={}));var Fo;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Fo||(Fo={}));function Rl(e,t,n,r){const i=(t&Be.BRANCH_LENGTH)>>7,o=t&Be.JUMP_TABLE;if(o){if(i===0)return r===o?n:-1;const l=r-o;if(l>>>0>=i)return-1;const c=e[n+l];return c===0?-1:n+i+c-1&65535}if(i===0)return-1;const a=i+1>>1,s=n+a+i;for(let l=0;l<i;l++){const u=e[n+(l>>1)]>>((l&1)<<3)&255;if(u===r){const d=n+a+l;return s+e[d]&65535}if(u>r)return-1}return-1}function Bo(e,t,n){return n===1?String.fromCharCode(e[t]&Be.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function Al(e,t,n){let r=t+1,i=0,o=r;if(r<n&&(e.charCodeAt(r)|er)===Ze.LOWER_X)for(r+=1,o=r;r<n;){const s=e.charCodeAt(r);if(vl(s))i=i*16+(s-Ze.ZERO);else if(wl(s))i=i*16+((s|er)-Ze.LOWER_A+10);else break;r+=1}else for(;r<n;){const s=e.charCodeAt(r)-Ze.ZERO;if(s>>>0>9)break;i=i*10+s,r+=1}if(r===o)return 0;r<n&&e.charCodeAt(r)===Ze.SEMI&&(r+=1),i>1114111&&(i=1114112);let a=r-t;return a>=mi&&(ba=a,a=mi),a<<ma|i}function kl(e,t,n){const r=bl;let i=e.indexOf("&");if(i<0)return e;const o=e.length;let a=0,s="";const l=r[0],c=l&Be.JUMP_TABLE,u=(l&Be.BRANCH_LENGTH)>>7;do{const d=i+1,h=e.charCodeAt(d);let g,f;if(h===Ze.NUM){const _=Al(e,d,o);g=El(_),g>0&&e.charCodeAt(d+g-1)!==Ze.SEMI&&(g=0),f=g===0?"":hl(_&_l)}else if(yl(h)){g=0,f="";const _=h-c;let m;if(_>>>0<u){const A=r[1+_];m=A===0?-1:u+A&65535}else m=-1;let v=0,w=0,R=m<0?0:r[m],y=d+1;e:for(;y<o;){for(;(R&(Be.VALUE_LENGTH|Be.FLAG13))===0&&(R&Be.JUMP_TABLE)!==0;){const x=R&Be.JUMP_TABLE,F=(R&Be.BRANCH_LENGTH)>>7;if(F===0){if(e.charCodeAt(y)!==x)break e;m+=1}else{const W=e.charCodeAt(y)-x;if(W>>>0>=F)break e;const z=r[m+1+W];if(z===0)break e;m=m+F+z&65535}if(R=r[m],y+=1,y>=o)break e}if((R&(Be.VALUE_LENGTH|Be.FLAG13))===Be.FLAG13){const x=(R&Be.BRANCH_LENGTH)>>7;if(e.charCodeAt(y)!==(R&Be.JUMP_TABLE))break;y+=1;const F=x-1;let W=m+1,z=0;for(;z+1<F;z+=2){const Q=r[W];if(e.charCodeAt(y)!==(Q&255)||(y+=1,e.charCodeAt(y)!==(Q>>8&255)))break e;y+=1,W+=1}if(z<F){if(e.charCodeAt(y)!==(r[W]&255))break;y+=1}m+=1+(x>>1),R=r[m];continue}const A=R>>>14,N=e.charCodeAt(y);if(A!==0){if(N===Ze.SEMI){g=y-d+1,f=A===1?String.fromCharCode(R&Be.VALUE_MASK):Bo(r,m,A);break}if(A===1)break}const D=Rl(r,R,m+(A||1),N);if(D<0)break;m=D,R=r[m],y+=1}f===""&&g>0&&(f=Bo(r,v,w))}else g=0,f="";g===0||n?i=d:(a<i&&(s+=e.slice(a,i)),s+=f,i=a=d+g),e.charCodeAt(i)!==Ze.AMP&&(i=e.indexOf("&",i))}while(i>=0);return s+e.slice(a)}function _a(e){return kl(e,!0,!1)}var Tl=class{src_Any=fa.source;src_Cc=pa.source;src_Z=ha.source;src_P=_i.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join("|");src_ZCc=[this.src_Z,this.src_Cc].join("|");cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}nestedPairRE(e,t,n=4){const r=this.escapeRE(e),i=this.escapeRE(t),o=`(?:(?!${this.src_ZCc}|${r}|${i}).)`;let a=`${r}${o}{0,1000}${i}`;for(let s=2;s<=n;s++)a=`${r}(?:${o}|${a}){0,1000}${i}`;return a}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=new RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=new RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])")}get_ipv6_addr(){const e="[0-9A-Fa-f]{1,4}",t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=new RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=new RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=new RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=new RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=new RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?")}get_host_terminator(){return this.cache.src_host_terminator??=new RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=new RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=new RegExp(`(?:[/?#](?:${this.nestedPairRE("[","]")}|${this.nestedPairRE("(",")")}|${this.nestedPairRE("{","}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts["---"]?"\\-(?!--(?:[^-]|$))(?:-{0,19})|":"\\-{1,20}|")+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=new RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=new RegExp("xn--[a-z0-9\\-]{1,59}")}get_tld(){if(this.cache.tld)return this.cache.tld;const e=[...new Set(this.opts.tlds||[])].sort().reverse().join("|");return this.cache.tld=new RegExp(`${e||"$#none#$"}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=new RegExp("(?:"+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=new RegExp("(?:"+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=new RegExp("(?:"+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=new RegExp("(?:"+(this.opts.fuzzyIP?this.get_ipv4_addr().source+"|":"")+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=new RegExp("")}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=new RegExp(`@${this.get_fuzzy_mail_host().source}`,"ig")}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=new RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${this.src_ZPCc}))(?:(?![$+<=>^\`||])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,"ig")}get_http_validator(){return this.cache.http_validator??=new RegExp("\\/\\/"+(this.opts.urlAuth?this.get_auth().source:"")+this.get_url_host_port().source+this.get_path().source,"iy")}get_relative_proto_validator(){return this.cache.relative_proto_validator??=new RegExp((this.opts.urlAuth?this.get_auth().source:"")+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,"iy")}get_mail_name_validator(){return this.cache.mail_name_validator??=new RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=new RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,"iy")}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map(e=>this.escapeRE(e)).join("|"))}get_schema_search(){return this.cache.schema_search??=new RegExp(`(^|(?!_)(?:[><|]|${this.src_ZPCc}))(${this.get_schema_names().source})`,"ig")}get_schema_at_start(){return this.cache.schema_at_start??=new RegExp(`^${this.get_schema_search().source}`,"i")}},Vr={validate:(e,t,n)=>{const r=n.re.get_http_validator();r.lastIndex=t;const i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)},Nl={"http:":Vr,"https:":Vr,"ftp:":Vr,"//":{validate:function(e,t,n){const r=n.re.get_relative_proto_validator();r.lastIndex=t;const i=r.exec(e);return i?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:i[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){const r=n.re.get_mailto_validator();r.lastIndex=t;const i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)}},Cl="a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw",Sl="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф";function xl(){const e=Sl.split("|");return Cl.split("|").forEach(t=>{const n=t.indexOf(":"),r=t.slice(0,n);for(const i of t.slice(n+1))e.push(r+i)}),e}var Dl={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:xl(),urlAuth:!1,maxLength:1e4},Po=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,r){const i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},Ol=class{__opts__;__schemas__;re;constructor(e={}){const{rebuilder:t,...n}=e;this.__opts__={...Dl,...n},this.__schemas__={...Nl},this.re=t||new Tl,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{const n={normalize:(r,i)=>i.normalize(r),...t};this.__schemas__[e]=n}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,n.exec(e)!==null))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&e.indexOf("@")>=0){const r=this.re.get_fuzzy_mail_host_search(),i=this.re.get_mail_name_validator();for(r.lastIndex=0;(t=r.exec(e))!==null;){const o=e.slice(Math.max(0,t.index-65),t.index);if(i.test(o))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){const t=[],n=this.re.get_schema_search();let r,i,o,a,s,l,c=!1,u=!1,d=!1,h=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(r=this.re.get_fuzzy_link_search(),r.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&(i=this.re.get_fuzzy_mail_host_search(),i.lastIndex=0,o=this.re.get_mail_name_validator());;){const g=Math.max(h-1,0);if(i&&o&&!d&&(!s||s.index<h))for(i.lastIndex<g&&(i.lastIndex=g);;){const w=i.exec(e);if(!w){d=!0,s=void 0;break}const R=o.exec(e.slice(Math.max(0,w.index-65),w.index));if(R){if(s={schema:"mailto:",index:w.index-R[1].length,lastIndex:w.index+w[0].length},s.index>=h)break;i.lastIndex<g&&(i.lastIndex=g)}}if(r&&!u&&(!a||a.index<h))for(r.lastIndex<g&&(r.lastIndex=g);;){const w=r.exec(e);if(!w){u=!0,a=void 0;break}if(a={schema:"",index:w.index+w[1].length,lastIndex:w.index+w[0].length},a.index>=h)break;r.lastIndex<g&&(r.lastIndex=g)}let f=s;(!f||a&&(a.index<f.index||a.index===f.index&&a.lastIndex>f.lastIndex))&&(f=a);let _;if(!c)for(;;){if(!l){n.lastIndex<g&&(n.lastIndex=g);const y=n.exec(e);if(!y){c=!0;break}l={schema:y[2],index:y.index+y[1].length,lastIndex:y.index+y[0].length}}if(l.index<h){l=void 0;continue}if(f&&l.index>f.index)break;const w=l;l=void 0;const R=this.testSchemaAt(e,w.schema,w.lastIndex);if(R){_={schema:w.schema,index:w.index,lastIndex:w.lastIndex+R};break}}let m=_;if((!m||s&&(s.index<m.index||s.index===m.index&&s.lastIndex>m.lastIndex))&&(m=s),(!m||a&&(a.index<m.index||a.index===m.index&&a.lastIndex>m.lastIndex))&&(m=a),!m)break;m===s?s=void 0:m===a&&(a=void 0);const v=new Po(e,m.schema,m.index,m.lastIndex);v.schema?this.__schemas__[v.schema].normalize(v,this):this.normalize(v),t.push(v),h=m.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;const t=this.re.get_schema_at_start().exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;const r=new Po(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],t?this.__opts__.tlds=this.__opts__.tlds.concat(e):this.__opts__.tlds=e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)}};const un=2147483647,mt=36,Ei=1,kn=26,Il=38,Ml=700,Ea=72,va=128,wa="-",Ll=/^xn--/,Fl=/[^\0-\x7F]/,Bl=/[\x2E\u3002\uFF0E\uFF61]/g,Pl={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},jr=mt-Ei,bt=Math.floor,Qr=String.fromCharCode;function Ot(e){throw new RangeError(Pl[e])}function Ul(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function ya(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Bl,".");const i=e.split("."),o=Ul(i,t).join(".");return r+o}function Ra(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}const zl=e=>String.fromCodePoint(...e),$l=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:mt},Uo=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Aa=function(e,t,n){let r=0;for(e=n?bt(e/Ml):e>>1,e+=bt(e/t);e>jr*kn>>1;r+=mt)e=bt(e/jr);return bt(r+(jr+1)*e/(e+Il))},ka=function(e){const t=[],n=e.length;let r=0,i=va,o=Ea,a=e.lastIndexOf(wa);a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&Ot("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){const l=r;for(let u=1,d=mt;;d+=mt){s>=n&&Ot("invalid-input");const h=$l(e.charCodeAt(s++));h>=mt&&Ot("invalid-input"),h>bt((un-r)/u)&&Ot("overflow"),r+=h*u;const g=d<=o?Ei:d>=o+kn?kn:d-o;if(h<g)break;const f=mt-g;u>bt(un/f)&&Ot("overflow"),u*=f}const c=t.length+1;o=Aa(r-l,c,l==0),bt(r/c)>un-i&&Ot("overflow"),i+=bt(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},Ta=function(e){const t=[];e=Ra(e);const n=e.length;let r=va,i=0,o=Ea;for(const l of e)l<128&&t.push(Qr(l));const a=t.length;let s=a;for(a&&t.push(wa);s<n;){let l=un;for(const u of e)u>=r&&u<l&&(l=u);const c=s+1;l-r>bt((un-i)/c)&&Ot("overflow"),i+=(l-r)*c,r=l;for(const u of e)if(u<r&&++i>un&&Ot("overflow"),u===r){let d=i;for(let h=mt;;h+=mt){const g=h<=o?Ei:h>=o+kn?kn:h-o;if(d<g)break;const f=d-g,_=mt-g;t.push(Qr(Uo(g+f%_,0))),d=bt(f/_)}t.push(Qr(Uo(d,0))),o=Aa(i,c,s===a),i=0,++s}++i,++r}return t.join("")},Gl=function(e){return ya(e,function(t){return Ll.test(t)?ka(t.slice(4).toLowerCase()):t})},Hl=function(e){return ya(e,function(t){return Fl.test(t)?"xn--"+Ta(t):t})},zo={version:"2.3.1",ucs2:{decode:Ra,encode:zl},decode:ka,encode:Ta,toASCII:Hl,toUnicode:Gl};var $o=Object.defineProperty,Na=(e,t)=>{let n={};for(var r in e)$o(n,r,{get:e[r],enumerable:!0});return $o(n,Symbol.toStringTag,{value:"Module"}),n},Kl=Na({arrayReplaceAt:()=>ql,asciiTrim:()=>rr,callable:()=>Ca,escapeHtml:()=>Lt,escapeRE:()=>tu,fromCodePoint:()=>Tn,isMdAsciiPunct:()=>Sn,isPunctChar:()=>xa,isPunctCharCode:()=>Cn,isSpace:()=>Ee,isValidEntityCode:()=>vi,isWhiteSpace:()=>Nn,lib:()=>nu,normalizeReference:()=>nr,unescapeAll:()=>fn,unescapeMd:()=>Jl});function Ca(e){const t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function ql(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function vi(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Tn(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var Sa=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Wl=new RegExp(`${Sa.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),Yl=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Zl(e,t){if(t.charCodeAt(0)===35&&Yl.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return vi(r)?Tn(r):e}const n=_a(e);return n!==e?n:e}function Jl(e){return e.indexOf("\\")<0?e:e.replace(Sa,"$1")}function fn(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Wl,function(t,n,r){return n||Zl(t,r)})}var Xl=/[&<>"]/,Vl=/[&<>"]/g,jl={"&":"&","<":"<",">":">",'"':"""};function Ql(e){return jl[e]}function Lt(e){return Xl.test(e)?e.replace(Vl,Ql):e}var eu=/[.?*+^$[\]\\(){}|-]/g;function tu(e){return e.replace(eu,"\\$&")}function Ee(e){switch(e){case 9:case 32:return!0}return!1}function Nn(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function xa(e){return _i.test(e)||ga.test(e)}function Cn(e){return xa(Tn(e))}function Sn(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function nr(e){return e=e.trim().replace(/\s+/g," "),e.toLowerCase().toUpperCase()}function Go(e){return e===32||e===9||e===10||e===13}function rr(e){let t=0;for(;t<e.length&&Go(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&Go(e.charCodeAt(n));n--);return e.slice(t,n+1)}var nu={mdurl:ll,ucmicro:dl};function ru(e,t,n){let r,i,o,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),o===93&&(r--,r===0)){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),o===91){if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}}let c=-1;return i&&(c=e.pos),e.pos=l,c}function iu(e,t,n){let r,i=t;const o={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return o;if(r===62)return o.pos=i+1,o.str=fn(e.slice(t+1,i)),o.ok=!0,o;if(r===92&&i+1<n){i+=2;continue}i++}return o}let a=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32){i++;continue}i+=2;continue}if(r===40&&(a++,a>32))return o;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(o.str=fn(e.slice(t,i)),o.pos=i,o.ok=!0),o}function ou(e,t,n,r){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let s=e.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;t++,o++,s===40&&(s=41),a.marker=s}for(;o<n;){if(i=e.charCodeAt(o),i===a.marker)return a.pos=o+1,a.str+=fn(e.slice(t,o)),a.ok=!0,a;if(i===40&&a.marker===41)return a;i===92&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=fn(e.slice(t,o)),a}var au=Na({parseLinkDestination:()=>iu,parseLinkLabel:()=>ru,parseLinkTitle:()=>ou});function xn(e){"@babel/helpers - typeof";return xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xn(e)}function su(e,t){if(xn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cu(e){var t=su(e,"string");return xn(t)=="symbol"?t:t+""}function q(e,t,n){return(t=cu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zt=class{constructor(e,t,n){q(this,"map",null),q(this,"level",0),q(this,"children",null),q(this,"content",""),q(this,"markup",""),q(this,"info",""),q(this,"block",!1),q(this,"hidden",!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;const t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){const n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){const t=this.attrIndex(e);let n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},Dn=class{constructor(){q(this,"__rules__",[]),q(this,"__cache__",null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){const e=new Set;this.__rules__.forEach(t=>{t.enabled&&t.alt.forEach(n=>{n&&e.add(n)})}),this.__cache__=Object.create(null),this.__cache__[""]=[],this.__rules__.forEach(t=>{t.enabled&&this.__cache__[""].push(t.fn)}),e.forEach(t=>{this.__cache__[t]=[],this.__rules__.forEach(n=>{n.enabled&&n.alt.indexOf(t)>=0&&this.__cache__[t].push(n.fn)})})}at(e,t,n={}){const r=this.__find__(e);if(r===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null}before(e,t,n,r={}){const i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}after(e,t,n,r={}){const i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(r=>{const i=this.__find__(r);if(i<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!0,n.push(r)}),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(n=>{n.enabled=!1}),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(r=>{const i=this.__find__(r);if(i<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${r}`)}this.__rules__[i].enabled=!1,n.push(r)}),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},_t={};_t.code_inline=function(e,t,n,r,i){const o=e[t];return`<code${i.renderAttrs(o)}>${Lt(o.content)}</code>`};_t.code_block=function(e,t,n,r,i){const o=e[t];return`<pre${i.renderAttrs(o)}><code>${Lt(e[t].content)}</code></pre>
|
|
10
|
+
`};_t.fence=function(e,t,n,r,i){const o=e[t],a=o.info?fn(o.info).trim():"";let s="",l="";if(a){const u=a.split(/(\s+)/g);s=u[0],l=u.slice(2).join("")}let c;if(n.highlight?c=n.highlight(o.content,s,l)||Lt(o.content):c=Lt(o.content),c.indexOf("<pre")===0)return c+`
|
|
11
11
|
`;if(a){const u=o.attrIndex("class"),d=o.attrs?o.attrs.slice():[];u<0?d.push(["class",`${n.langPrefix}${s}`]):(d[u]=[d[u][0],d[u][1]],d[u][1]+=` ${n.langPrefix}${s}`);const h={attrs:d};return`<pre><code${i.renderAttrs(h)}>${c}</code></pre>
|
|
12
12
|
`}return`<pre><code${i.renderAttrs(o)}>${c}</code></pre>
|
|
13
|
-
`};
|
|
13
|
+
`};_t.image=function(e,t,n,r,i){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)};_t.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
14
14
|
`:`<br>
|
|
15
|
-
`};
|
|
15
|
+
`};_t.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
16
16
|
`:`<br>
|
|
17
17
|
`:`
|
|
18
|
-
`};
|
|
18
|
+
`};_t.text=function(e,t){return Lt(e[t].content)};_t.html_block=function(e,t){return e[t].content};_t.html_inline=function(e,t){return e[t].content};var Da=class{constructor(){q(this,"rules",Object.assign({},_t))}renderAttrs(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=` ${Lt(e.attrs[t][0])}="${Lt(String(e.attrs[t][1]))}"`;return r}renderToken(e,t,n){const r=e[t];let i="";if(r.hidden)return"";let o=t-1;for(;o>=0&&e[o].hidden&&e[o].nesting===0;)o--;r.block&&r.nesting!==-1&&o>=0&&e[o].hidden&&e[o].nesting===-1&&(i+=`
|
|
19
19
|
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=" /");let a=!1;if(r.block&&(a=!0,r.nesting===1)){let s=t+1;for(;s<e.length&&e[s].hidden&&e[s].nesting===0;)s++;if(s<e.length){const l=e[s];(l.type==="inline"||l.hidden||l.nesting===-1&&l.tag===r.tag)&&(a=!1)}}return i+=a?`>
|
|
20
20
|
`:">",i}renderInline(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const s=e[o].type;typeof i[s]<"u"?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r}renderInlineAsText(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"code_inline":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"html_inline":case"html_block":r+=e[i].content;break;case"softbreak":case"hardbreak":r+=`
|
|
21
|
-
`}return r}render(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const s=e[o].type;s==="inline"?r+=this.renderInline(e[o].children,t,n):typeof i[s]<"u"?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r}},Oa=class{constructor(e,t,n){q(this,"tokens",[]),q(this,"inlineMode",!1),q(this,"Token",
|
|
22
|
-
`),t=t.replace(uu,"�"),e.src=t}function fu(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function pu(e){const t=e.tokens;let n=0;for(let r=0;r<t.length;r++)t[r].type!=="reference_definition"&&(r!==n&&(t[n]=t[r]),n++);t.length!==n&&(t.length=n)}function gu(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const i=t[n];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function hu(e){return/^<a[>\s]/i.test(e)}function mu(e){return/^<\/a\s*>/i.test(e)}function bu(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.test(t[n].content))continue;const i=t[n].children,o=[];let a=0;for(let s=i.length-1;s>=0;s--){const l=i[s];if(l.type==="link_close"){for(s--;i[s].level!==l.level&&i[s].type!=="link_open";)s--;continue}if(l.type==="html_inline"&&(hu(l.content)&&a>0&&a--,mu(l.content)&&a++),!(a>0)&&l.type==="text"&&e.md.linkify.test(l.content)){const c=l.content;let u=e.md.linkify.match(c);const d=[];let h=l.level,g=0;u.length>0&&u[0].index===0&&s>0&&i[s-1].type==="text_special"&&(u=u.slice(1));for(let f=0;f<u.length;f++){const _=u[f].url,m=e.md.normalizeLink(_);if(!e.md.validateLink(m))continue;let v=u[f].text;u[f].schema?u[f].schema==="mailto:"&&!/^mailto:/i.test(v)?v=e.md.normalizeLinkText(`mailto:${v}`).replace(/^mailto:/,""):v=e.md.normalizeLinkText(v):v=e.md.normalizeLinkText(`http://${v}`).replace(/^http:\/\//,"");const w=u[f].index;if(w>g){const N=new e.Token("text","",0);N.content=c.slice(g,w),N.level=h,d.push(N)}const R=new e.Token("link_open","a",1);R.attrs=[["href",m]],R.level=h++,R.markup="linkify",R.info="auto",d.push(R);const y=new e.Token("text","",0);y.content=v,y.level=h,d.push(y);const A=new e.Token("link_close","a",-1);A.level=--h,A.markup="linkify",A.info="auto",d.push(A),g=u[f].lastIndex}if(g<c.length){const f=new e.Token("text","",0);f.content=c.slice(g),f.level=h,d.push(f)}o.push({index:s,nodes:d})}}if(o.length>0){let s=i.length;for(const d of o)s+=d.nodes.length-1;const l=new Array(s);let c=0,u=0;o.reverse();for(let d=0;d<i.length;d++){const h=o[c];if(h?.index===d){for(const g of h.nodes)l[u++]=g;c++}else l[u++]=i[d]}t[n].children=l}}}var Ia=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,_u=/\((c|tm|r)\)/i,Eu=/\((c|tm|r)\)/gi,vu={c:"©",r:"®",tm:"™"};function wu(e,t){return vu[t.toLowerCase()]}function yu(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(Eu,wu)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Ru(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&Ia.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Au(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(_u.test(e.tokens[t].content)&&yu(e.tokens[t].children),Ia.test(e.tokens[t].content)&&Ru(e.tokens[t].children))}var ku=/['"]/,Ho=/['"]/g,Ko="’",Tu=1e3;function qo(e,t,n){for(;e.length>n;){const r=e.pop();r.isSingleQuote?t.single=r.prevSameQuoteIdx:t.double=r.prevSameQuoteIdx}}function Yn(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Nu(e,t){let n="",r=0;t.sort((i,o)=>i.pos-o.pos);for(let i=0;i<t.length;i++){const o=t[i];n+=e.slice(r,o.pos)+o.ch,r=o.pos+1}return n+e.slice(r)}function Cu(e,t){let n;const r=[],i={single:-1,double:-1},o={};for(let a=0;a<e.length;a++){const s=e[a],l=e[a].level;for(n=r.length-1;n>=0&&!(r[n].level<=l);n--);if(qo(r,i,n+1),s.type!=="text")continue;const c=s.content;let u=0;const d=c.length;e:for(;u<d;){Ho.lastIndex=u;const h=Ho.exec(c);if(!h)break;let g=!0,f=!0;u=h.index+1;const _=h[0]==="'";let m=32;if(h.index-1>=0)m=c.charCodeAt(h.index-1);else for(n=a-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let v=32;if(u<d)v=c.charCodeAt(u);else for(n=a+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){v=e[n].content.charCodeAt(0);break}const w=xn(m)||Cn(m),R=xn(v)||Cn(v),y=Nn(m),A=Nn(v);if(A?g=!1:R&&(y||w||(g=!1)),y?f=!1:w&&(A||R||(f=!1)),v===34&&h[0]==='"'&&m>=48&&m<=57&&(f=g=!1),g&&f&&(g=w,f=R),!g&&!f){_&&Yn(o,a,h.index,Ko);continue}if(f&&(n=_?i.single:i.double,n>=0&&r[n].level===l)){const N=r[n];let D,S;_?(D=t.md.options.quotes[2],S=t.md.options.quotes[3]):(D=t.md.options.quotes[0],S=t.md.options.quotes[1]),Yn(o,a,h.index,S),Yn(o,N.tokenIdx,N.contentPos,D),qo(r,i,n);continue e}if(g){if(r.length>=Tu)return;r.push({tokenIdx:a,contentPos:h.index,isSingleQuote:_,level:l,prevSameQuoteIdx:_?i.single:i.double}),_?i.single=r.length-1:i.double=r.length-1}else f&&_&&Yn(o,a,h.index,Ko)}}Object.keys(o).forEach(function(a){const s=Number(a);e[s].content=Nu(e[s].content,o[a])})}function xu(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!ku.test(e.tokens[t].content)||Cu(e.tokens[t].children,e)}function Su(e){let t,n;const r=e.length;for(t=0;t<r;t++)e[t].type==="text_special"&&(e[t].type="text");for(t=n=0;t<r;t++)e[t].type==="text"&&t+1<r&&e[t+1].type==="text"?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}function Du(e){let t,n;const r=e.tokens,i=r.length;for(let o=0;o<i;o++){if(r[o].type!=="inline")continue;const a=r[o].children,s=a.length;for(t=0;t<s;t++)a[t].type==="text_special"&&(a[t].type="text"),a[t].children&&Su(a[t].children);for(t=n=0;t<s;t++)a[t].type==="text"&&t+1<s&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}}var ei=[["normalize",du],["block",fu],["strip_references",pu],["inline",gu],["linkify",bu],["replacements",Au],["smartquotes",xu],["text_join",Du]],Ma=class{constructor(){q(this,"ruler",new Dn),q(this,"State",Oa);for(let e=0;e<ei.length;e++)this.ruler.push(ei[e][0],ei[e][1])}process(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)}},La=class{constructor(e,t,n,r){q(this,"bMarks",[]),q(this,"eMarks",[]),q(this,"tShift",[]),q(this,"sCount",[]),q(this,"bsCount",[]),q(this,"blkIndent",0),q(this,"line",0),q(this,"lineMax",0),q(this,"tight",!1),q(this,"listIndent",-1),q(this,"parentType","root"),q(this,"level",0),q(this,"Token",Jt),this.src=e,this.md=t,this.env=n,this.tokens=r;const i=this.src;for(let o=0,a=0,s=0,l=0,c=i.length,u=!1;a<c;a++){const d=i.charCodeAt(a);if(!u)if(Ee(d)){s++,d===9?l+=4-l%4:l++;continue}else u=!0;(d===10||a===c-1)&&(d!==10&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(l),this.bsCount.push(0),u=!1,s=0,l=0,o=a+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){const r=new Jt(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&Ee(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!Ee(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let o=0,a=e;a<t;a++,o++){let s=0;const l=this.bMarks[a];let c=l,u;for(a+1<t||r?u=this.eMarks[a]+1:u=this.eMarks[a];c<u&&s<n;){const d=this.src.charCodeAt(c);if(Ee(d))d===9?s+=4-(s+this.bsCount[a])%4:s++;else if(c-l<this.tShift[a])s++;else break;c++}s>n?i[o]=new Array(s-n+1).join(" ")+this.src.slice(c,u):i[o]=this.src.slice(c,u)}return i.join("")}},Ou=65536;function ti(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Wo(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<n;)i===124&&(o?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),o=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function Iu(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!Ee(s)||a===45&&Ee(s))return!1;for(;o<e.eMarks[i];){const y=e.src.charCodeAt(o);if(y!==124&&y!==45&&y!==58&&!Ee(y))return!1;o++}let l=ti(e,t+1),c=l.split("|");const u=[];for(let y=0;y<c.length;y++){const A=c[y].trim();if(!A){if(y===0||y===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?u.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?u.push("left"):u.push("")}if(l=ti(e,t).trim(),l.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;c=Wo(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==u.length)return!1;if(r)return!0;const h=e.parentType;e.parentType="table";const g=e.md.block.ruler.getRules("blockquote"),f=e.push("table_open","table",1),_=[t,0];f.map=_;const m=e.push("thead_open","thead",1);m.map=[t,t+1];const v=e.push("tr_open","tr",1);v.map=[t,t+1];for(let y=0;y<c.length;y++){const A=e.push("th_open","th",1);u[y]&&(A.attrs=[["style",`text-align:${u[y]}`]]);const N=e.push("inline","",0);N.content=c[y].trim(),N.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let w,R=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let y=!1;for(let N=0,D=g.length;N<D;N++)if(g[N](e,i,n,!0)){y=!0;break}if(y||(l=ti(e,i).trim(),!l)||e.sCount[i]-e.blkIndent>=4||(c=Wo(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),R+=d-c.length,R>Ou))break;if(i===t+2){const N=e.push("tbody_open","tbody",1);N.map=w=[t+2,0]}const A=e.push("tr_open","tr",1);A.map=[i,i+1];for(let N=0;N<d;N++){const D=e.push("td_open","td",1);u[N]&&(D.attrs=[["style",`text-align:${u[N]}`]]);const S=e.push("inline","",0);S.content=c[N]?c[N].trim():"",S.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return w&&(e.push("tbody_close","tbody",-1),w[1]=i),e.push("table_close","table",-1),_[1]=i,e.parentType=h,e.line=i,!0}function Mu(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+`
|
|
23
|
-
`,o.map=[t,e.line],!0}function Lu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;const a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=e.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,o);if(a===96&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,h=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i<o&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,a),!(i-s<l)&&(i=e.skipSpaces(i),!(i<o)))){h=!0;break}l=e.sCount[t],e.line=d+(h?1:0);const g=e.push("fence","code",0);return g.info=u,g.content=e.getLines(t+1,d,l,!0),g.markup=c,g.map=[t,e.line],!0}function Fu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let g=!1,f;for(f=t;f<n;f++){const R=e.sCount[f]<e.blkIndent;if(i=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],i>=o)break;if(e.src.charCodeAt(i++)===62&&!R){let A=e.sCount[f]+1,N,D;e.src.charCodeAt(i)===32?(i++,A++,D=!1,N=!0):e.src.charCodeAt(i)===9?(N=!0,(e.bsCount[f]+A)%4===3?(i++,A++,D=!1):D=!0):N=!1;let S=A;for(s.push(e.bMarks[f]),e.bMarks[f]=i;i<o;){const F=e.src.charCodeAt(i);if(Ee(F))F===9?S+=4-(S+e.bsCount[f]+(D?1:0))%4:S++;else break;i++}g=i>=o,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(N?1:0),c.push(e.sCount[f]),e.sCount[f]=S-A,u.push(e.tShift[f]),e.tShift[f]=i-e.bMarks[f];continue}if(g)break;let y=!1;for(let A=0,N=d.length;A<N;A++)if(d[A](e,f,n,!0)){y=!0;break}if(y){e.lineMax=f,e.blkIndent!==0&&(s.push(e.bMarks[f]),l.push(e.bsCount[f]),u.push(e.tShift[f]),c.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}s.push(e.bMarks[f]),l.push(e.bsCount[f]),u.push(e.tShift[f]),c.push(e.sCount[f]),e.sCount[f]=-1}const _=e.blkIndent;e.blkIndent=0;const m=e.push("blockquote_open","blockquote",1);m.markup=">";const v=[t,0];m.map=v,e.md.block.tokenize(e,t,f);const w=e.push("blockquote_close","blockquote",-1);w.markup=">",e.lineMax=a,e.parentType=h,v[1]=e.line;for(let R=0;R<u.length;R++)e.bMarks[R+t]=s[R],e.tShift[R+t]=u[R],e.sCount[R+t]=c[R],e.bsCount[R+t]=l[R];return e.blkIndent=_,!0}function Bu(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o<i;){const c=e.src.charCodeAt(o++);if(c!==a&&!Ee(c))return!1;c===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0}function Yo(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!Ee(e.src.charCodeAt(r))?-1:r}function Zo(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i<r&&(o=e.src.charCodeAt(i),!Ee(o))?-1:i}function Pu(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Uu(e,t,n,r){let i,o,a,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u=!1;r&&e.parentType==="paragraph"&&e.sCount[l]>=e.blkIndent&&(u=!0);let d,h,g;if((g=Zo(e,l))>=0){if(d=!0,a=e.bMarks[l]+e.tShift[l],h=Number(e.src.slice(a,g-1)),u&&h!==1)return!1}else if((g=Yo(e,l))>=0)d=!1;else return!1;if(u&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(r)return!0;const f=e.src.charCodeAt(g-1),_=e.tokens.length;d?(s=e.push("ordered_list_open","ol",1),h!==1&&(s.attrs=[["start",h]])):s=e.push("bullet_list_open","ul",1);const m=[l,0];s.map=m,s.markup=String.fromCharCode(f);let v=!1;const w=e.md.block.ruler.getRules("list"),R=e.parentType;for(e.parentType="list";l<n;){o=g,i=e.eMarks[l];const y=e.sCount[l]+g-(e.bMarks[l]+e.tShift[l]);let A=y;for(;o<i;){const ee=e.src.charCodeAt(o);if(ee===9)A+=4-(A+e.bsCount[l])%4;else if(ee===32)A++;else break;o++}const N=o;let D;N>=i?D=1:D=A-y,D>4&&(D=1);const S=y+D;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(f);const F=[l,0];s.map=F,d&&(s.info=e.src.slice(a,g-1));const W=e.tight,z=e.tShift[l],Q=e.sCount[l],ne=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=S,e.tight=!0,e.tShift[l]=N-e.bMarks[l],e.sCount[l]=A,N>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n),(!e.tight||v)&&(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ne,e.tShift[l]=z,e.sCount[l]=Q,e.tight=W,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(f),l=e.line,F[1]=l,l>=n||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let re=!1;for(let ee=0,O=w.length;ee<O;ee++)if(w[ee](e,l,n,!0)){re=!0;break}if(re)break;if(d){if(g=Zo(e,l),g<0)break;a=e.bMarks[l]+e.tShift[l]}else if(g=Yo(e,l),g<0)break;if(f!==e.src.charCodeAt(g-1))break}return d?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(f),m[1]=l,e.line=l,e.parentType=R,c&&Pu(e,_),!0}var ni=999;function zu(e){let t=e.length;for(let n=0;n<e.length-1;n++){const r=e.charCodeAt(n);if(r<55296||r>56319)continue;const i=e.charCodeAt(n+1);i>=56320&&i<=57343&&(t--,n++)}return t}function En(e,t){return Math.min(e.eMarks[t]+1,e.src.length)}function Zn(e,t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return-1;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const i=e.md.block.ruler.getRules("reference"),o=e.parentType;e.parentType="reference";let a=!1;for(let s=0,l=i.length;s<l;s++)if(i[s](e,t,n,!0)){a=!0;break}if(e.parentType=o,a)return-1}return e.bMarks[t]+e.tShift[t]}function $u(e,t,n,r){const i=e.src;let o=e.bMarks[t]+e.tShift[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||i.charCodeAt(o)!==91)return!1;let s=En(e,t),l="",c=-1,u=++o;for(;o<s;){if(l.length+o-u>ni*2)return!1;let N=i.charCodeAt(o);if(N===91)return!1;if(N===93){c=o;break}if(N===92&&(N=i.charCodeAt(++o)),N===10&&o<s){const D=Zn(e,a);if(D<0)return!1;l+=i.slice(u,s),o=u=D,s=En(e,a++);continue}o++}if(c<0||i.charCodeAt(c+1)!==58||(l+=i.slice(u,c),l.length>ni&&zu(l)>ni))return!1;for(o=c+2;o<s;){const N=i.charCodeAt(o);if(N===10){const D=Zn(e,a);if(D<0)break;o=D,s=En(e,a++)}else if(Ee(N))o++;else break}const d=e.md.helpers.parseLinkDestination(i,o,s);if(!d.ok)return!1;const h=e.md.normalizeLink(d.str);if(!e.md.validateLink(h))return!1;o=d.pos;const g=o,f=s,_=a;for(;o<s;){const N=i.charCodeAt(o);if(N===10){const D=Zn(e,a);if(D<0)break;o=D,s=En(e,a++)}else if(Ee(N))o++;else break}const m=o;let v=e.md.helpers.parseLinkTitle(i,o,s);for(;v.can_continue;){const N=Zn(e,a);if(N<0)break;o=N,s=En(e,a++),v=e.md.helpers.parseLinkTitle(i,o,s,v)}let w;for(m!==g&&v.ok?(w=v.str,o=v.pos):(w="",o=g,s=f,a=_);o<s&&Ee(i.charCodeAt(o));)o++;if(o<s&&i.charCodeAt(o)!==10&&w)for(w="",o=g,s=f,a=_;o<s&&Ee(i.charCodeAt(o));)o++;if(o<s&&i.charCodeAt(o)!==10)return!1;const R=nr(l);if(!R)return!1;if(r)return!0;typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[R]>"u"&&(e.env.references[R]={title:w,href:h});const y=e.push("reference_definition","",0);y.map=[t,a],y.hidden=!0;const A=Object.create(null);return A.label=R,y.meta=A,e.line=a,!0}var Gu=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Hu=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,Ku="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Fa=new RegExp(`^(?:${Hu}|${Ku})`),Zt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${Gu.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${Fa.source}\\s*$`),/^$/,!1]];function qu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,o),s=0;for(;s<Zt.length&&!Zt[s][0].test(a);s++);if(s===Zt.length)return!1;if(r)return Zt[s][2];let l=t+1;const c=Zt[s][1].test("");if(!Zt[s][1].test(a)){for(;l<n&&!(e.sCount[l]<e.blkIndent&&(c||!e.isEmpty(l)));l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],a=e.src.slice(i,o),Zt[s][1].test(a)){a.length!==0&&l++;break}}e.line=l;const u=e.push("html_block","",0);return u.map=[t,l],u.content=e.getLines(t,l,e.blkIndent,!0),!0}function Wu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);a===35&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!Ee(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);const l=e.skipCharsBack(o,35,i);l>i&&Ee(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const c=e.push("heading_open",`h${s}`,1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);u.content=rr(e.src.slice(i,o)),u.map=[t,e.line],u.children=[];const d=e.push("heading_close",`h${s}`,-1);return d.markup="########".slice(0,s),!0}function Yu(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o=0,a,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let g=e.bMarks[s]+e.tShift[s];const f=e.eMarks[s];if(g<f&&(a=e.src.charCodeAt(g),(a===45||a===61)&&(g=e.skipChars(g,a),g=e.skipSpaces(g),g>=f))){o=a===61?1:2;break}}if(e.sCount[s]<0)continue;let h=!1;for(let g=0,f=r.length;g<f;g++)if(r[g](e,s,n,!0)){h=!0;break}if(h)break}if(!o)return e.parentType=i,!1;const l=rr(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;const c=e.push("heading_open",`h${o}`,1);c.markup=String.fromCharCode(a),c.map=[t,e.line];const u=e.push("inline","",0);u.content=l,u.map=[t,e.line-1],u.children=[];const d=e.push("heading_close",`h${o}`,-1);return d.markup=String.fromCharCode(a),e.parentType=i,!0}function Zu(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let c=!1;for(let u=0,d=r.length;u<d;u++)if(r[u](e,o,n,!0)){c=!0;break}if(c)break}const a=rr(e.getLines(t,o,e.blkIndent,!1));e.line=o;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const l=e.push("inline","",0);return l.content=a,l.map=[t,e.line],l.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}var Jn=[["table",Iu,["paragraph","reference"]],["code",Mu],["fence",Lu,["paragraph","reference","blockquote","list"]],["blockquote",Fu,["paragraph","reference","blockquote","list"]],["hr",Bu,["paragraph","reference","blockquote","list"]],["list",Uu,["paragraph","reference","blockquote"]],["reference",$u],["html_block",qu,["paragraph","reference","blockquote"]],["heading",Wu,["paragraph","reference","blockquote"]],["lheading",Yu],["paragraph",Zu]],Ba=class{constructor(){q(this,"ruler",new Dn),q(this,"State",La);for(let e=0;e<Jn.length;e++)this.ruler.push(Jn[e][0],Jn[e][1],{alt:(Jn[e][2]||[]).slice()})}tokenize(e,t,n){const r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting;let a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n||e.sCount[a]<e.blkIndent));){if(e.level>=o){e.line=n;break}const l=e.line;let c=!1;for(let u=0;u<i;u++)if(c=r[u](e,a,n,!1),c){if(l>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}}parse(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}},Pa=class{constructor(e,t,n,r){q(this,"pos",0),q(this,"level",0),q(this,"pending",""),q(this,"pendingLevel",0),q(this,"cache",{}),q(this,"backticks",{}),q(this,"backticksScanned",!1),q(this,"skipHtmlSpecial",!1),q(this,"linkLevel",0),q(this,"delimiters",[]),q(this,"_prev_delimiters",[]),q(this,"Token",Jt),this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){const e=new Jt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e}push(e,t,n){this.pending&&this.pushPending();const r=new Jt(e,t,n);let i;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){const n=this.posMax,r=this.src.charCodeAt(e);let i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)===55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)===56320){const f=this.src.charCodeAt(e-2);i=(f&64512)===55296?65536+(f-55296<<10)+(i-56320):65533}else(i&64512)===55296&&(i=65533);let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;const a=o-e;let s=o<n?this.src.charCodeAt(o):32;if((s&64512)===55296){const f=this.src.charCodeAt(o+1);s=(f&64512)===56320?65536+(s-55296<<10)+(f-56320):65533}else(s&64512)===56320&&(s=65533);const l=xn(i)||Cn(i),c=xn(s)||Cn(s),u=Nn(i),d=Nn(s),h=!d&&(!c||u||l),g=!u&&(!l||d||c);return{can_open:h&&(t||!g||l),can_close:g&&(t||!h||c),length:a}}};function Ju(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Xu(e,t){let n=e.pos;for(;n<e.posMax&&!Ju(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function Vu(e){return e>=65&&e<=90||e>=97&&e<=122}function ju(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function Qu(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=n-Math.min(10,e.pending.length,n);let o=n;for(;o>i&&ju(e.src.charCodeAt(o-1));)o--;if(o===n||!Vu(e.src.charCodeAt(o)))return!1;const a=n-o,s=e.md.linkify.matchAtStart(e.src.slice(o));if(!s)return!1;let l=s.url;if(l.length<=a)return!1;let c=l.length;for(;c>0&&l.charCodeAt(c-1)===42;)c--;c!==l.length&&(l=l.slice(0,c));const u=e.md.normalizeLink(l);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-a);const d=e.push("link_open","a",1);d.attrs=[["href",u]],d.markup="linkify",d.info="auto";const h=e.push("text","",0);h.content=e.md.normalizeLinkText(l);const g=e.push("link_close","a",-1);g.markup="linkify",g.info="auto"}return e.pos+=l.length-a,!0}function ed(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&Ee(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var wi=[];for(let e=0;e<256;e++)wi.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){wi[e.charCodeAt(0)]=1});function td(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),!!Ee(i));)n++;return e.pos=n,!0}if(i===32){if(!t){const s=e.push("text_special","",0);s.content="\\",s.markup="\\",s.info="escape"}return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const s=e.push("text_special","",0);i<256&&wi[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function nd(e){const t={};let n=0;for(;(n=e.indexOf("`",n))!==-1;){const r=n;for(;e.charCodeAt(++n)===96;);t[n-r]=r}return t}function rd(e,t){var n;const r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const i=e.posMax;let o=r+1;for(;o<i&&e.src.charCodeAt(o)===96;)o++;const a=e.src.slice(r,o),s=a.length;if(e.backticksScanned||(e.backticks=nd(e.src),e.backticksScanned=!0),((n=e.backticks[s])!==null&&n!==void 0?n:-1)>=o){let l=o,c;for(;(c=e.src.indexOf("`",l))!==-1&&c<i;){for(l=c+1;e.src.charCodeAt(l)===96;)l++;if(l>i)break;if(l-c===s){if(!t){const u=e.push("code_inline","code",0);u.markup=a;let d=e.src.slice(o,c).replace(/\n/g," ");d.startsWith(" ")&&d.endsWith(" ")&&/[^ ]/.test(d)&&(d=d.slice(1,-1)),u.content=d}return e.pos=l,!0}}}return t||(e.pending+=a),e.pos=o,!0}function id(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const i=e.scanDelims(e.pos,!0);let o=i.length;const a=String.fromCharCode(r);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let l=0;l<o;l+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Jo(e,t){let n;const r=[],i=t.length;for(let o=0;o<i;o++){const a=t[o];if(a.marker!==126||a.end===-1)continue;const s=t[a.end];n=e.tokens[a.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&r.push(s.token-1)}for(;r.length;){const o=r.pop();let a=o+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,o!==a&&(n=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=n)}}function od(e){const t=e.tokens_meta,n=e.tokens_meta.length;Jo(e,e.delimiters);for(let i=0;i<n;i++){var r;const o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Jo(e,o)}}var Ua={tokenize:id,postProcess:od};function ad(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const i=e.scanDelims(e.pos,r===42);for(let o=0;o<i.length;o++){const a=e.push("text","",0);a.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Xo(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const o=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),l=e.tokens[i.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?s+s:s,l.content="";const c=e.tokens[o.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function sd(e){const t=e.tokens_meta,n=e.tokens_meta.length;Xo(e,e.delimiters);for(let i=0;i<n;i++){var r;const o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Xo(e,o)}}var za={tokenize:ad,postProcess:sd};function cd(e,t){let n,r,i,o,a="",s="",l=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const u=e.pos,d=e.posMax,h=e.pos+1,g=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(g<0)return!1;let f=g+1;if(f<d&&e.src.charCodeAt(f)===40){for(c=!1,f++;f<d&&(n=e.src.charCodeAt(f),!(!Ee(n)&&n!==10));f++);if(f>=d)return!1;if(l=f,i=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?f=i.pos:a="",l=f;f<d&&(n=e.src.charCodeAt(f),!(!Ee(n)&&n!==10));f++);if(i=e.md.helpers.parseLinkTitle(e.src,f,e.posMax),f<d&&l!==f&&i.ok)for(s=i.str,f=i.pos;f<d&&(n=e.src.charCodeAt(f),!(!Ee(n)&&n!==10));f++);}(f>=d||e.src.charCodeAt(f)!==41)&&(c=!0),f++}if(c){if(typeof e.env.references>"u")return!1;if(f<d&&e.src.charCodeAt(f)===91?(l=f+1,f=e.md.helpers.parseLinkLabel(e,f),f>=0?r=e.src.slice(l,f++):f=g+1):f=g+1,r||(r=e.src.slice(h,g)),r=nr(r),o=e.env.references[r],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=h,e.posMax=g;const _=e.push("link_open","a",1),m=[["href",a]];if(_.attrs=m,s&&m.push(["title",s]),r){const v=Object.create(null);v.label=r,_.meta=v}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=d,!0}function ld(e,t){let n,r,i,o,a,s,l,c,u="";const d=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const g=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(o=f+1,o<h&&e.src.charCodeAt(o)===40){for(o++;o<h&&(n=e.src.charCodeAt(o),!(!Ee(n)&&n!==10));o++);if(o>=h)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),c=o;o<h&&(n=e.src.charCodeAt(o),!(!Ee(n)&&n!==10));o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<h&&c!==o&&s.ok)for(l=s.str,o=s.pos;o<h&&(n=e.src.charCodeAt(o),!(!Ee(n)&&n!==10));o++);else l="";if(o>=h||e.src.charCodeAt(o)!==41)return e.pos=d,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<h&&e.src.charCodeAt(o)===91?(c=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(c,o++):o=f+1):o=f+1,i||(i=e.src.slice(g,f)),i=nr(i),a=e.env.references[i],!a)return e.pos=d,!1;u=a.href,l=a.title}if(!t){r=e.src.slice(g,f);const _=[];e.md.inline.parse(r,e.md,e.env,_);const m=e.push("image","img",0),v=[["src",u],["alt",""]];if(m.attrs=v,m.children=_,m.content=r,l&&v.push(["title",l]),i){const w=Object.create(null);w.label=i,m.meta=w}}return e.pos=o,e.posMax=h,!0}var ud=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,dd=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function fd(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=e.src.slice(r+1,n);if(dd.test(o)){const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}if(ud.test(o)){const a=e.md.normalizeLink(`mailto:${o}`);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}return!1}function pd(e){return/^<a[>\s]/i.test(e)}function gd(e){return/^<\/a\s*>/i.test(e)}function $a(e){const t=e|32;return t>=97&&t<=122}function hd(e,t){const n=e.src;let r,i;if(n.startsWith("<!--",t)){if(n.startsWith(">",t+4))return t+5;if(n.startsWith("->",t+4))return t+6;r=t+4,i="-->"}else if(n.startsWith("<![CDATA[",t))r=t+9,i="]]>";else if(n.charCodeAt(t+1)===63)r=t+2,i="?>";else if($a(n.charCodeAt(t+2)))r=t+3,i=">";else return-1;if(e.skipHtmlSpecial)return-1;const o=n.indexOf(i,r);return o<0?(e.skipHtmlSpecial=!0,-1):o+i.length}function md(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i;const o=e.src.charCodeAt(r+1);if(o===33||o===63)i=hd(e,r);else if(o===47||$a(o)){const a=e.src.slice(r).match(Fa);i=a?r+a[0].length:-1}else return!1;if(i<0)return!1;if(!t){const a=e.push("html_inline","",0);a.content=e.src.slice(r,i),pd(a.content)&&e.linkLevel++,gd(a.content)&&e.linkLevel--}return e.pos=i,!0}var bd=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,_d=/^&([a-z][a-z0-9]{1,31});/i;function Ed(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const i=e.src.slice(n).match(bd);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=vi(o)?Tn(o):Tn(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(n).match(_d);if(i){const o=_a(i[0]);if(o!==i[0]){if(!t){const a=e.push("text_special","",0);a.content=o,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Vo(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;a<n;a++){const s=e[a];if(o.push(0),(e[r].marker!==s.marker||i!==s.token-1)&&(r=a),i=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const l=t[s.marker][(s.open?3:0)+s.length%3];let c=r-o[r]-1,u=c;for(;c>l;c-=o[c]+1){const d=e[c];if(d.marker===s.marker&&d.open&&d.end<0){let h=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(h=!0),!h){const g=c>0&&!e[c-1].open?o[c-1]+1:0;o[a]=a-c+g,o[c]=g,s.open=!1,d.end=a,d.close=!1,u=-1,i=-2;break}}}u!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function vd(e){const t=e.tokens_meta,n=e.tokens_meta.length;Vo(e.delimiters);for(let i=0;i<n;i++){var r;const o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Vo(o)}}function wd(e){let t,n,r=0;const i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type==="text"&&t+1<o&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var ri=[["text",Xu],["linkify",Qu],["newline",ed],["escape",td],["backticks",rd],["strikethrough",Ua.tokenize],["emphasis",za.tokenize],["link",cd],["image",ld],["autolink",fd],["html_inline",md],["entity",Ed]],ii=[["balance_pairs",vd],["strikethrough",Ua.postProcess],["emphasis",za.postProcess],["fragments_join",wd]],Ga=class{constructor(){q(this,"ruler",new Dn),q(this,"ruler2",new Dn),q(this,"State",Pa);for(let e=0;e<ri.length;e++)this.ruler.push(ri[e][0],ri[e][1]);for(let e=0;e<ii.length;e++)this.ruler2.push(ii[e][0],ii[e][1])}skipToken(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u"){e.pos=o[t];return}let a=!1;if(e.level<i){for(let s=0;s<r;s++)if(e.level++,a=n[s](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos}tokenize(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const o=e.pos;let a=!1;if(e.level<i){for(let s=0;s<n;s++)if(a=t[s](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let s=0;s<a;s++)o[s](i)}},yd={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Rd=/^(vbscript|javascript|file|data):/,Ad=/^data:image\/(gif|png|jpeg|webp);/,jo=["http:","https:","mailto:"],vt=class{validateLink(e){const t=e.trim().toLowerCase();return Rd.test(t)?Ad.test(t):!0}normalizeLink(e){const t=hi(e,!0);if(t.hostname&&(!t.protocol||jo.indexOf(t.protocol)>=0))try{t.hostname=zo.toASCII(t.hostname)}catch{}return t.auth&&(t.auth=Ct(t.auth)),t.hostname&&(t.hostname=Ct(t.hostname)),t.pathname&&(t.pathname=Ct(t.pathname)),t.search&&(t.search=Ct(t.search)),t.hash&&(t.hash=Ct(t.hash)),gi(t)}normalizeLinkText(e){const t=hi(e,!0);if(t.hostname&&(!t.protocol||jo.indexOf(t.protocol)>=0))try{t.hostname=zo.toUnicode(t.hostname)}catch{}return dn(gi(t),dn.defaultChars+"%")}constructor(...e){q(this,"inline",new Ga),q(this,"block",new Ba),q(this,"core",new Ma),q(this,"renderer",new Da),q(this,"linkify",new Ol),q(this,"utils",Kl),q(this,"helpers",Object.assign({},au));const[t,n]=e;typeof t=="string"?(this.configure(t),n&&this.set(n)):(this.configure("default"),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e=="string"){const i=e;if(t=yd[i],!t)throw new Error(`Wrong 'markdown-it' preset "${i}", check name`)}else t=e;if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});const n=t.components;if(n){var r;["core","block","inline"].forEach(o=>{var a;const s=(a=n[o])===null||a===void 0?void 0:a.rules;s&&this[o].ruler.enableOnly(s)});const i=(r=n.inline)===null||r===void 0?void 0:r.rules2;i&&this.inline.ruler2.enableOnly(i)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{n=n.concat(this[i].ruler.enable(e,!0))}),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(i=>n.indexOf(i)<0);if(r.length&&!t)throw new Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{n=n.concat(this[i].ruler.disable(e,!0))}),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(i=>n.indexOf(i)<0);if(r.length&&!t)throw new Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};q(vt,"Token",Jt);q(vt,"Ruler",Dn);q(vt,"Renderer",Da);q(vt,"ParserCore",Ma);q(vt,"StateCore",Oa);q(vt,"ParserBlock",Ba);q(vt,"StateBlock",La);q(vt,"ParserInline",Ga);q(vt,"StateInline",Pa);var Ef=Ca(vt),oi,Qo;function kd(){if(Qo)return oi;Qo=1;var e=!0,t=!1,n=!1;oi=function(_,m){m&&(e=!m.enabled,t=!!m.label,n=!!m.labelAfter),_.core.ruler.after("inline","github-task-lists",function(v){for(var w=v.tokens,R=2;R<w.length;R++)o(w,R)&&(a(w[R],v.Token),r(w[R-2],"class","task-list-item"+(e?"":" enabled")),r(w[i(w,R-2)],"class","contains-task-list"))})};function r(_,m,v){var w=_.attrIndex(m),R=[m,v];w<0?_.attrPush(R):_.attrs[w]=R}function i(_,m){for(var v=_[m].level-1,w=m-1;w>=0;w--)if(_[w].level===v)return w;return-1}function o(_,m){return d(_[m])&&h(_[m-1])&&g(_[m-2])&&f(_[m])}function a(_,m){if(_.children.unshift(s(_,m)),_.children[1].content=_.children[1].content.slice(3),_.content=_.content.slice(3),t)if(n){_.children.pop();var v="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);_.children[0].content=_.children[0].content.slice(0,-1)+' id="'+v+'">',_.children.push(u(_.content,v,m))}else _.children.unshift(l(m)),_.children.push(c(m))}function s(_,m){var v=new m("html_inline","",0),w=e?' disabled="" ':"";return _.content.indexOf("[ ] ")===0?v.content='<input class="task-list-item-checkbox"'+w+'type="checkbox">':(_.content.indexOf("[x] ")===0||_.content.indexOf("[X] ")===0)&&(v.content='<input class="task-list-item-checkbox" checked=""'+w+'type="checkbox">'),v}function l(_){var m=new _("html_inline","",0);return m.content="<label>",m}function c(_){var m=new _("html_inline","",0);return m.content="</label>",m}function u(_,m,v){var w=new v("html_inline","",0);return w.content='<label class="task-list-item-label" for="'+m+'">'+_+"</label>",w.attrs=[{for:m}],w}function d(_){return _.type==="inline"}function h(_){return _.type==="paragraph_open"}function g(_){return _.type==="list_item_open"}function f(_){return _.content.indexOf("[ ] ")===0||_.content.indexOf("[x] ")===0||_.content.indexOf("[X] ")===0}return oi}var Td=kd();const vf=da(Td);function Nd(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}function Cd(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},h=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),g={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},f={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},_={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},m={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},v={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},w={className:"selector-tag",begin:/@\B/,relevance:0},R={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},y=[R,h,a,e.NUMBER_MODE,c,u,g,s,l,w],A={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",y,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return R.contains.unshift(A),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:y.concat(f,_,m,v,A)}}const tr="[A-Za-z$_][0-9A-Za-z$_]*",Ha=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Ka=["true","false","null","undefined","NaN","Infinity"],qa=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Wa=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ya=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Za=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],Ja=[].concat(Ya,qa,Wa);function xd(e){const t=e.regex,n=(k,{after:B})=>{const J="</"+k[0].slice(1);return k.input.indexOf(J,B)!==-1},r=tr,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(k,B)=>{const J=k[0].length+k.index,ie=k.input[J];if(ie==="<"||ie===","){B.ignoreMatch();return}ie===">"&&(n(k,{after:J})||B.ignoreMatch());let X;const Ce=k.input.substring(J);if(X=Ce.match(/^\s*=/)){B.ignoreMatch();return}if((X=Ce.match(/^\s+extends\s+/))&&X.index===0){B.ignoreMatch();return}}},s={$pattern:tr,keyword:Ha,literal:Ka,built_in:Ja,"variable.language":Za},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},f={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},_={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},w={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,f,_,m,{match:/\$\d+/},d];h.contains=R.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(R)});const y=[].concat(w,h.contains),A=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(y)}]),N={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A},D={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},S={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...qa,...Wa]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},W={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[N],illegal:/%/},z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Q(k){return t.concat("(?!",k.join("|"),")")}const ne={match:t.concat(/\b/,Q([...Ya,"super","import","await"].map(k=>`${k}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},re={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ee={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},N]},O="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",$={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(O)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[N]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:A,CLASS_REFERENCE:S},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,f,_,m,w,{match:/\$\d+/},d,S,{scope:"attr",match:r+t.lookahead(":"),relevance:0},$,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[w,e.REGEXP_MODE,{className:"function",begin:O,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},W,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[N,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},re,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[N]},ne,z,D,ee,{match:/\$[(.]/}]}}function Sd(e){const t=e.regex,n=xd(e),r=tr,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],c={$pattern:tr,keyword:Ha.concat(l),literal:Ka,built_in:Ja.concat(i),"variable.language":Za},u={className:"meta",begin:"@"+r},d=(_,m,v)=>{const w=_.contains.findIndex(R=>R.label===m);if(w===-1)throw new Error("can not find mode to replace");_.contains.splice(w,1,v)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(u);const h=n.contains.find(_=>_.scope==="attr"),g=Object.assign({},h,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,h,g]),n.contains=n.contains.concat([u,o,a,g]),d(n,"shebang",e.SHEBANG()),d(n,"use_strict",s);const f=n.contains.find(_=>_.label==="func.def");return f.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}An.registerLanguage("dockerfile",Nd);An.registerLanguage("powershell",Cd);An.registerLanguage("typescript",Sd);const ea=5e3,Dd=512*1024,wf=20*1024*1024,yf=4*1024,Od=new Set(["avif","bmp","gif","ico","jpeg","jpg","png","svg","webp"]),Id=new Set(["m4v","mov","mp4","ogv","webm"]),Md=new Set(["aac","flac","m4a","mp3","oga","ogg","wav","webm"]),Xa={bash:"bash",c:"c",cc:"cpp",cpp:"cpp",cs:"csharp",css:"css",cxx:"cpp",diff:"diff",go:"go",h:"c",hpp:"cpp",html:"xml",htm:"xml",ini:"ini",java:"java",js:"javascript",json:"json",jsx:"javascript",kt:"kotlin",kts:"kotlin",less:"less",lua:"lua",md:"markdown",markdown:"markdown",mjs:"javascript",cjs:"javascript",php:"php",pl:"perl",ps1:"powershell",py:"python",r:"r",rb:"ruby",rs:"rust",scss:"scss",sh:"bash",sql:"sql",swift:"swift",ts:"typescript",tsx:"typescript",vue:"xml",wasm:"wasm",xml:"xml",yml:"yaml",yaml:"yaml"},Ld=new Set([...Object.keys(Xa),"conf","csv","env","log","properties","text","toml","txt"]);function Rf(e,t,n){const r=/^sandbox:/iu.test(e),i=/^[^/\\:]+:\d+(?::\d+)?$/u.test(e)&&!/^(?:https?|file|javascript|data|mailto|blob|ftp|wss?):/iu.test(e);let o=e;if(r)o=e.slice(e.indexOf(":")+1);else if(!i&&!/^[a-z]:[\\/]/iu.test(e)&&/^[a-z][a-z\d+.-]*:/iu.test(e)){let m;try{m=new URL(e)}catch{return}if(m.origin!==n||m.search.length>0)return;o=m.pathname+m.hash}const a=o.match(/#L(\d+)(?:-L(\d+))?$/u);if(a!==null){const m=a[2]===void 0?void 0:Number(a[2]);if(m!==void 0&&(!Number.isSafeInteger(m)||m<Number(a[1])))return;o=`${o.slice(0,-a[0].length)}:${a[1]}`}if(o.includes("?")||o.includes("#"))return;let s;try{s=decodeURIComponent(o)}catch{return}const l=s.match(/:(\d+)(?::(\d+))?$/u),c=l===null?void 0:Number(l[1]),u=l?.[2]===void 0?void 0:Number(l[2]);if(c!==void 0&&(!Number.isSafeInteger(c)||c<1)||u!==void 0&&(!Number.isSafeInteger(u)||u<1))return;const d=s.replace(/:(?:\d+)(?::\d+)?$/u,"").replaceAll("\\","/").replace(/^\/([a-z]:\/)/iu,"$1"),h=t?.replaceAll("\\","/"),g=h==="/"?"/":h?.replace(/\/+$/u,""),f=d.startsWith("/")||/^[a-z]:\//iu.test(d);if(r&&!f)return;let _=d;if(f){if(g!==void 0&&g.length>0&&g!=="/"){const m=/^[a-z]:\//iu.test(g),v=m?d.toLocaleLowerCase():d,w=m?g.toLocaleLowerCase():g;v.startsWith(`${w}/`)&&(_=d.slice(g.length+1))}}else{if(s.includes("\\"))return;_=_.replace(/^(\.\/)+/u,"")}if(!(_.length===0||/^[\\/]{2,}[?.](?:[\\/]|$)/u.test(s)||_.includes("?")||_.includes("#")||_.includes("\0")||!f&&_.split("/").some(m=>m.length===0||m==="."||m==="..")))return c===void 0?{path:_}:{path:_,line:c,...u===void 0?{}:{column:u}}}function Fd(e){const t=e.replaceAll("\\","/").split("/").at(-1)?.toLowerCase()??"";return t==="dockerfile"||t.startsWith("dockerfile.")?"dockerfile":t==="makefile"||t.startsWith("makefile.")?"makefile":t===".gitignore"||t===".gitattributes"?"bash":t===".editorconfig"||t===".npmrc"||t.startsWith(".env")?"ini":Xa[In(t)]??"plaintext"}function Af(e){return!e.truncated&&(e.size??new TextEncoder().encode(e.content).byteLength)<=Dd}function kf(e,t){const n=Fd(t),r=An.highlight(e,{language:An.getLanguage(n)===void 0?"plaintext":n,ignoreIllegals:!0}).value;return Bd(r)}function Tf(e,t){if(t.length===0)return{lines:e.map(a=>[{text:a}]),total:0,truncated:!1};const n=new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"giu");let r=0,i=!1;return{lines:e.map(a=>{if(r>=ea)return n.lastIndex=0,n.test(a)&&(i=!0),n.lastIndex=0,[{text:a}];const s=[];let l=0;for(const c of a.matchAll(n)){if(r>=ea){i=!0;break}const u=c.index;u>l&&s.push({text:a.slice(l,u)}),s.push({text:c[0],matchIndex:r++}),l=u+c[0].length}return(l<a.length||s.length===0)&&s.push({text:a.slice(l)}),s}),total:r,truncated:i}}function Bd(e){const t=[],n=[];let r="";for(const i of e.split(/(<span class="[^"]+">|<\/span>|\n)/))i!==""&&(i===`
|
|
24
|
-
`?(t.push(`${r}${"</span>".repeat(n.length)}`),r=n.join("")):i.startsWith('<span class="')?(n.push(i),r+=i):(i==="</span>"&&n.pop(),r+=i));return t.push(`${r}${"</span>".repeat(n.length)}`),t}function yi(e){const t=In(e);return Od.has(t)?"image":t==="pdf"?"pdf":t==="docx"?"document":t==="xlsx"?"spreadsheet":t==="pptx"?"presentation":Id.has(t)?"video":Md.has(t)?"audio":"unsupported"}function Nf(e,t){return t==="utf-8"?"text":yi(e)}function Cf(e){return["md","markdown"].includes(In(e))}function xf(e){return["html","htm"].includes(In(e))}function Va(e,t){const n=t.trim().toLocaleLowerCase();if(n.startsWith("text/")||["application/graphql","application/javascript","application/json","application/sql","application/toml","application/typescript","application/xml","application/yaml"].includes(n))return!0;const r=e.replaceAll("\\","/").split("/").at(-1)?.toLocaleLowerCase()??"";return r==="dockerfile"||r==="makefile"||r===".editorconfig"||r===".gitattributes"||r===".gitignore"||r===".npmrc"||r.startsWith(".env")||Ld.has(In(r))}function Pd(e){return yi(e)!=="unsupported"}function Sf(e){const t=yi(e);return t==="audio"||t==="video"}function Df(e,t=""){return Va(e,t)||!Pd(e)}function Ud(e,t=!0,n=new TextDecoder("utf-8",{fatal:!0})){if(!e.includes(0))try{return n.decode(e,{stream:!t})}catch{return}}function Of(e,t,n=!0,r=""){const i={encoding:"base64",content:""},o=e[0]===255&&e[1]===254?"utf-16le":e[0]===254&&e[1]===255?"utf-16be":void 0;if(o!==void 0){const l=new TextDecoder(o).decode(e,{stream:!n});return ai(l)?{encoding:"utf-8",content:l,previewEncoding:o}:i}if(e.includes(0))return i;const a=Ud(e,n);if(a!==void 0)return{encoding:"utf-8",content:a};if(!Va(t,r))return i;try{if(!(e[0]===239&&e[1]===187&&e[2]===191)){const l=new TextDecoder("gb18030",{fatal:!0}).decode(e,{stream:!n});if(ai(l))return{encoding:"utf-8",content:l,previewEncoding:"gb18030"}}}catch{}const s=new TextDecoder("utf-8").decode(e,{stream:!n});return ai(s)?{encoding:"utf-8",content:s,previewEncoding:"utf-8"}:i}function ai(e){for(let t=0;t<e.length;t+=1){const n=e.charCodeAt(t);if(n<=8||n===11||n>=14&&n<=31||n===127)return!1}return!0}function In(e){return e.split(".").at(-1)?.toLowerCase()??""}const If=[{key:"e",ctrl:!0,shift:!0},{key:"e",meta:!0,shift:!0}],Mf=[{key:"Enter"},{key:"Enter",ctrl:!0},{key:"Enter",meta:!0},{key:"Enter",ctrl:!0,meta:!0}],Lf=[{key:"Escape"}],Ff=[{key:"m",code:"KeyM",alt:!0}],Xn=e=>[{key:e,ctrl:!0,shift:!0},{key:e,meta:!0,shift:!0}],zd=[{key:"w",code:"KeyW",alt:!0},{key:"w",code:"KeyW",ctrl:!0}],$d=[{key:"w",code:"KeyW",alt:!0,shift:!0},{key:"w",code:"KeyW",ctrl:!0,shift:!0}],Bf={close:[...zd,...$d],newSession:[{key:"n",code:"KeyN",alt:!0},{key:"n",code:"KeyN",ctrl:!0}],cycle:[{key:"ArrowLeft",alt:!0},{key:"ArrowRight",alt:!0},{key:"Tab",ctrl:!0},{key:"Tab",ctrl:!0,shift:!0}],numbered:Array.from({length:10},(e,t)=>({key:String(t),code:`Digit${t}`,ctrl:!0})),preview:Xn("v"),quickOpen:Xn("o"),search:Xn("f"),changes:Xn("k"),terminal:[{key:"`",code:"Backquote",ctrl:!0,shift:!0},{key:"`",code:"Backquote",meta:!0,shift:!0}]},vn=e=>[{key:e,ctrl:!0},{key:e,meta:!0}],Pf={back:[{key:"ArrowLeft",alt:!0}],forward:[{key:"ArrowRight",alt:!0}],find:vn("f"),selectAll:vn("a"),toggleEdit:vn("e"),replace:vn("h"),save:vn("s"),symbols:[{key:"m",code:"KeyM",alt:!0}],dismiss:[{key:"Escape"}],choose:[{key:"Enter"},{key:"Enter",ctrl:!0},{key:"Enter",meta:!0}]},Uf={save:[{key:"Enter"},{key:"Enter",meta:!0}],execute:[{key:"Enter",ctrl:!0},{key:"Enter",ctrl:!0,meta:!0}]},zf=[{key:"Enter"},{key:"Enter",shift:!0}],$f=[{key:"ArrowLeft"},{key:"ArrowRight"},{key:"ArrowUp"},{key:"ArrowDown"}];function Gd(e,t=!1,n=!1){const r={ArrowLeft:"←",ArrowRight:"→",ArrowUp:"↑",ArrowDown:"↓"};return[e.ctrl&&(t||n?"Control":"Ctrl"),e.meta&&(!t&&n?"Command":"Meta"),e.alt&&(!t&&n?"Option":"Alt"),e.shift&&"Shift",e.key==="Escape"&&!t?"Esc":!t&&r[e.key]!==void 0?r[e.key]:e.key.length===1?e.key.toUpperCase():e.key].filter(Boolean).join(t?"+":" + ")}function Hd(e,t=typeof navigator<"u"&&/^(Mac|iPhone|iPad|iPod)/u.test(navigator.platform)){const n=t?"meta":"ctrl",r=t?"ctrl":"meta";return e.filter(i=>!i[r]||i[n]||!e.some(o=>o[n]&&!o[r]&&o.key===i.key&&o.code===i.code&&!!o.alt==!!i.alt&&!!o.shift==!!i.shift)).map(i=>Gd(i,!1,t).replaceAll(" + ","+")).join(" / ")}function Gf(e,t=[]){return t.length>0?Ge("keyboardShortcuts.actionHint",{label:e,keys:Hd(t)}):e}const Kd=["aria-label"],qd=Lt({__name:"ImagePreviewControls",props:{controls:{},placement:{},ghost:{type:Boolean}},setup(e){const t=[{key:"up",icon:"chevron-up",x:0,y:1},{key:"down",icon:"chevron-down",x:0,y:-1},{key:"left",icon:"chevron-left",x:1,y:0},{key:"right",icon:"chevron-right",x:-1,y:0}];return(n,r)=>{const i=ms("tooltip");return He(),et("div",{class:"mar-image-preview-controls",role:"group","aria-label":ce(Ge)("imageViewport.actions")},[ln(Nt(ce(wn),{class:st(e.ghost?"mar-icon-action":"image-preview-control"),"aria-label":ce(Ge)("imageViewport.zoomOut"),icon:ce(qn)("zoom-out"),disabled:!e.controls.canZoomOut,text:e.ghost,circle:!e.ghost,onClick:r[0]||(r[0]=o=>e.controls.zoomBy(1/1.5))},null,8,["class","aria-label","icon","disabled","text","circle"]),[[i,ce(Ge)("imageViewport.zoomOut")]]),ln(Nt(ce(wn),{class:st(e.ghost?"mar-icon-action":"image-preview-control"),"aria-label":ce(Ge)("imageViewport.fit"),icon:ce(qn)("fit"),disabled:!e.controls.canZoomOut,text:e.ghost,circle:!e.ghost,onClick:r[1]||(r[1]=o=>e.controls.fit())},null,8,["class","aria-label","icon","disabled","text","circle"]),[[i,ce(Ge)("imageViewport.fit")]]),ln(Nt(ce(wn),{class:st(e.ghost?"mar-icon-action":"image-preview-control"),"aria-label":ce(Ge)("imageViewport.zoomIn"),icon:ce(qn)("zoom-in"),disabled:!e.controls.canZoomIn,text:e.ghost,circle:!e.ghost,onClick:r[2]||(r[2]=o=>e.controls.zoomBy(1.5))},null,8,["class","aria-label","icon","disabled","text","circle"]),[[i,ce(Ge)("imageViewport.zoomIn")]]),Nt(ce(Cs),{placement:e.placement??"top",disabled:!e.controls.canPan,"popper-class":e.ghost?"mar-ui-popup--animated-exit":""},{dropdown:yn(()=>[Nt(ce(Os),{"aria-label":ce(Ge)("imageViewport.pan.label")},{default:yn(()=>[(He(),et(ra,null,bs(t,o=>Nt(ce(Ls),{key:o.key,icon:o.icon,disabled:!e.controls.canPanToward(o),onClick:a=>e.controls.panByViewportStep(o)},{default:yn(()=>[ia(ui(ce(Ge)(`imageViewport.pan.${o.key}`)),1)]),_:2},1032,["icon","disabled","onClick"])),64))]),_:1},8,["aria-label"])]),default:yn(()=>[ln(Nt(ce(wn),{class:st(e.ghost?"mar-icon-action":"image-preview-control"),"aria-label":ce(Ge)("imageViewport.pan.label"),icon:ce(qn)("pan"),text:e.ghost,circle:!e.ghost},null,8,["class","aria-label","icon","text","circle"]),[[i,ce(Ge)("imageViewport.pan.label")]])]),_:1},8,["placement","disabled","popper-class"])],8,Kd)}}}),Wd=Vt(qd,[["__scopeId","data-v-bc1aa662"]]),ta={scale:1,x:0,y:0},ja=8;function Yd(e,t){if(!e.width||!e.height)return e;const n=Math.min(1,t.width/e.width,t.height/e.height);return{width:e.width*n,height:e.height*n}}function Qa(e,t,n){return{x:Math.max(0,(t.width*e-n.width)/2),y:Math.max(0,(t.height*e-n.height)/2)}}function Zd(e,t,n){const r=Qa(e.scale,t,n);return{scale:e.scale,x:r.x===0?0:Math.max(-r.x,Math.min(r.x,e.x)),y:r.y===0?0:Math.max(-r.y,Math.min(r.y,e.y))}}function Jd(e,t,n,r){const i=Math.min(ja,Math.max(1,t)),o=i/e.scale;return{scale:i,x:r.x-(n.x-e.x)*o,y:r.y-(n.y-e.y)*o}}const Xd={class:"mar-image-preview"},Vd=["tabindex","aria-label"],jd=["src","alt"],Qd={key:0,class:"mar-image-preview-source-actions"},ef=Lt({__name:"ImagePreviewViewport",props:{src:{},alt:{},ready:{type:Boolean,default:!0},imageClass:{},externalControls:{type:Boolean}},emits:["load","error"],setup(e,{expose:t,emit:n}){const r=e,i=n,o={x:0,y:0},a=mt(),s=mt({width:0,height:0}),l=mt({width:0,height:0}),c=mt(ta),u=new Map;let d;const h=mt(0),g=on(()=>r.ready&&l.value.width>0),f=on(()=>Yd(l.value,s.value)),_=on(()=>Qa(c.value.scale,f.value,s.value)),m=on(()=>_.value.x>.5||_.value.y>.5),v=on(()=>g.value?{canZoomOut:c.value.scale>1,canZoomIn:c.value.scale<ja,canPan:m.value,zoomBy:O=>N(c.value.scale*O),fit:()=>{c.value=ta},canPanToward:S,panByViewportStep:F}:void 0);t({controls:v});const w=on(()=>{const{scale:O,y:$}=c.value,k=$+(f.value.height*O-s.value.height)/2;return{transform:`translateY(${Math.min(0,k)}px)`}});function R(O){c.value=Zd(O,f.value,s.value)}si(a,(O,$,k)=>{if(!O)return;const B=new ResizeObserver(([J])=>{const{width:ie,height:X}=J.contentRect;!ie||!X||(s.value={width:ie,height:X},R(c.value))});B.observe(O),k(()=>B.disconnect())},{flush:"post"});function y(O){const $=O.currentTarget;l.value={width:$.naturalWidth,height:$.naturalHeight},i("load",$)}function A(O,$){return{x:O.x-$.left-$.width/2,y:O.y-$.top-$.height/2}}function N(O,$=o,k=$){R(Jd(c.value,O,$,k))}function D(O,$){const k=c.value;R({scale:k.scale,x:k.x+O,y:k.y+$})}function S(O){const $=_.value,{x:k,y:B}=c.value;return O.x?$.x-k*O.x>.5:$.y-B*O.y>.5}function F(O){const{width:$,height:k}=s.value;D(O.x*$*.75,O.y*k*.75)}function W(O){if(!g.value||O.deltaY===0||O.ctrlKey||O.metaKey)return;const $=O.deltaMode,k=O.deltaY*($===1?16:$===2?s.value.height:1);O.preventDefault(),N(c.value.scale*Math.exp(-k*.002),A({x:O.clientX,y:O.clientY},O.currentTarget.getBoundingClientRect()))}function z(O){!g.value||O.button!==0||O.pointerType!=="touch"&&(!m.value||u.size>0)||u.size>0&&(d!=="touch"||u.size===2)||(O.currentTarget.setPointerCapture(O.pointerId),d=O.pointerType,u.set(O.pointerId,{x:O.clientX,y:O.clientY}),h.value=u.size)}function Q(O,$){return{x:(O.x+$.x)/2,y:(O.y+$.y)/2}}function ne(O){const $=u.get(O.pointerId);if(!$)return;const k={x:O.clientX,y:O.clientY};if(u.set(O.pointerId,k),u.size===1){m.value&&D(k.x-$.x,k.y-$.y);return}const[B,J]=u.values(),ie=B===k?J:B,X=Math.hypot($.x-ie.x,$.y-ie.y),Ce=Math.hypot(k.x-ie.x,k.y-ie.y);if(X<1)return;const Ae=O.currentTarget.getBoundingClientRect();N(c.value.scale*(Ce/X),A(Q($,ie),Ae),A(Q(k,ie),Ae))}function re(O){u.delete(O.pointerId)&&(h.value=u.size)}function ee(O){if(!m.value||O.altKey||O.ctrlKey||O.metaKey||O.shiftKey)return;const k={ArrowLeft:[40,0],ArrowRight:[-40,0],ArrowUp:[0,40],ArrowDown:[0,-40]}[O.key];k&&(O.preventDefault(),D(k[0],k[1]))}return(O,$)=>(He(),et("div",Xd,[jn("div",{ref_key:"viewport",ref:a,class:st(["mar-image-preview-viewport",{"can-pan":m.value,"is-panning":m.value&&h.value===1}]),tabindex:m.value?0:void 0,role:"group","aria-label":m.value?ce(Ge)("imageViewport.panWithArrows"):void 0,onWheel:W,onPointerdown:z,onPointermove:ne,onPointerup:re,onPointercancel:re,onLostpointercapture:re,onKeydown:ee},[ln(jn("img",{class:st(["mar-image-preview-image",e.imageClass]),src:e.src,alt:e.alt,style:li({transform:`translate(${c.value.x}px, ${c.value.y}px) scale(${c.value.scale})`}),decoding:"async",draggable:"false",onLoad:y,onError:$[0]||($[0]=k=>i("error"))},null,46,jd),[[_s,g.value]])],42,Vd),v.value&&!e.externalControls?(He(),et("div",{key:0,class:"mar-image-preview-actions",style:li(w.value)},[O.$slots.actions?(He(),et("div",Qd,[On(O.$slots,"actions",{},void 0,!0)])):Xt("",!0),Nt(Wd,{controls:v.value},null,8,["controls"])],4)):Xt("",!0)]))}}),Hf=Vt(ef,[["__scopeId","data-v-9e9d3153"]]),tf=["aria-label"],nf=Lt({__name:"FilePreviewLoading",props:{overlay:{type:Boolean,default:!1},variant:{default:"region"}},setup(e){return(t,n)=>(He(),et("div",{class:st(["file-preview-loading",{"is-overlay":e.overlay,"mar-page-loading-state":e.variant==="page"}]),role:"status","aria-live":"polite","aria-busy":"true","aria-label":ce(Ge)("generated.filePreviewDialog.loadingPreview")},[Nt(ce(oa))],10,tf))}}),Kf=Vt(nf,[["__scopeId","data-v-ef38cb10"]]),rf={class:"file-preview-state"},of={key:0,role:"status"},af=Lt({__name:"FilePreviewState",props:{message:{},retryable:{type:Boolean},retrying:{type:Boolean}},emits:["retry"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=na("retryButton");return t({hasRetryFocus:()=>o.value?.ref===document.activeElement}),(a,s)=>(He(),et("section",rf,[e.retrying?Xt("",!0):(He(),et("p",of,ui(e.message),1)),On(a.$slots,"actions",{},()=>[e.retryable?(He(),Vn(ce(wn),{key:0,ref_key:"retryButton",ref:o,link:"","aria-disabled":e.retrying||void 0,"aria-busy":e.retrying||void 0,"aria-label":e.retrying?ce(Ge)("generated.filePreviewDialog.loadingPreview"):void 0,onClick:s[0]||(s[0]=l=>!r.retrying&&i("retry"))},{default:yn(()=>[e.retrying?(He(),Vn(ce(oa),{key:0,class:"preview-retry-spinner"})):(He(),et(ra,{key:1},[ia(ui(ce(Ge)("common.retry")),1)],64))]),_:1},8,["aria-disabled","aria-busy","aria-label"])):Xt("",!0)],!0)]))}}),qf=Vt(af,[["__scopeId","data-v-05ce3a95"]]);export{$f as $,Pf as A,zf as B,Ff as C,Mf as D,Lf as E,Kf as F,Uf as G,hf as H,yi as I,Sf as J,yf as K,qf as L,Ef as M,Es as N,Gf as O,Af as P,kf as Q,Wd as R,As as S,Dd as T,Hf as U,Ts as V,An as W,Rf as X,Gd as Y,uf as Z,pf as _,ff as a,Tf as a0,gf as b,bf as c,df as d,wf as e,Df as f,da as g,Nf as h,xf as i,Of as j,Cf as k,Os as l,Ls as m,ys as n,Rs as o,mf as p,Cs as q,_f as r,di as s,vf as t,Pd as u,Hd as v,If as w,Bf as x,zd as y,$d as z};
|
|
21
|
+
`}return r}render(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o<a;o++){const s=e[o].type;s==="inline"?r+=this.renderInline(e[o].children,t,n):typeof i[s]<"u"?r+=i[s](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r}},Oa=class{constructor(e,t,n){q(this,"tokens",[]),q(this,"inlineMode",!1),q(this,"Token",Zt),this.src=e,this.env=n,this.md=t}},lu=/\r\n?/g,uu=/\0/g;function du(e){let t;t=e.src.replace(lu,`
|
|
22
|
+
`),t=t.replace(uu,"�"),e.src=t}function fu(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function pu(e){const t=e.tokens;let n=0;for(let r=0;r<t.length;r++)t[r].type!=="reference_definition"&&(r!==n&&(t[n]=t[r]),n++);t.length!==n&&(t.length=n)}function gu(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const i=t[n];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function hu(e){return/^<a[>\s]/i.test(e)}function mu(e){return/^<\/a\s*>/i.test(e)}function bu(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.test(t[n].content))continue;const i=t[n].children,o=[];let a=0;for(let s=i.length-1;s>=0;s--){const l=i[s];if(l.type==="link_close"){for(s--;i[s].level!==l.level&&i[s].type!=="link_open";)s--;continue}if(l.type==="html_inline"&&(hu(l.content)&&a>0&&a--,mu(l.content)&&a++),!(a>0)&&l.type==="text"&&e.md.linkify.test(l.content)){const c=l.content;let u=e.md.linkify.match(c);const d=[];let h=l.level,g=0;u.length>0&&u[0].index===0&&s>0&&i[s-1].type==="text_special"&&(u=u.slice(1));for(let f=0;f<u.length;f++){const _=u[f].url,m=e.md.normalizeLink(_);if(!e.md.validateLink(m))continue;let v=u[f].text;u[f].schema?u[f].schema==="mailto:"&&!/^mailto:/i.test(v)?v=e.md.normalizeLinkText(`mailto:${v}`).replace(/^mailto:/,""):v=e.md.normalizeLinkText(v):v=e.md.normalizeLinkText(`http://${v}`).replace(/^http:\/\//,"");const w=u[f].index;if(w>g){const N=new e.Token("text","",0);N.content=c.slice(g,w),N.level=h,d.push(N)}const R=new e.Token("link_open","a",1);R.attrs=[["href",m]],R.level=h++,R.markup="linkify",R.info="auto",d.push(R);const y=new e.Token("text","",0);y.content=v,y.level=h,d.push(y);const A=new e.Token("link_close","a",-1);A.level=--h,A.markup="linkify",A.info="auto",d.push(A),g=u[f].lastIndex}if(g<c.length){const f=new e.Token("text","",0);f.content=c.slice(g),f.level=h,d.push(f)}o.push({index:s,nodes:d})}}if(o.length>0){let s=i.length;for(const d of o)s+=d.nodes.length-1;const l=new Array(s);let c=0,u=0;o.reverse();for(let d=0;d<i.length;d++){const h=o[c];if(h?.index===d){for(const g of h.nodes)l[u++]=g;c++}else l[u++]=i[d]}t[n].children=l}}}var Ia=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,_u=/\((c|tm|r)\)/i,Eu=/\((c|tm|r)\)/gi,vu={c:"©",r:"®",tm:"™"};function wu(e,t){return vu[t.toLowerCase()]}function yu(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(Eu,wu)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Ru(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&Ia.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function Au(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(_u.test(e.tokens[t].content)&&yu(e.tokens[t].children),Ia.test(e.tokens[t].content)&&Ru(e.tokens[t].children))}var ku=/['"]/,Ho=/['"]/g,Ko="’",Tu=1e3;function qo(e,t,n){for(;e.length>n;){const r=e.pop();r.isSingleQuote?t.single=r.prevSameQuoteIdx:t.double=r.prevSameQuoteIdx}}function Yn(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Nu(e,t){let n="",r=0;t.sort((i,o)=>i.pos-o.pos);for(let i=0;i<t.length;i++){const o=t[i];n+=e.slice(r,o.pos)+o.ch,r=o.pos+1}return n+e.slice(r)}function Cu(e,t){let n;const r=[],i={single:-1,double:-1},o={};for(let a=0;a<e.length;a++){const s=e[a],l=e[a].level;for(n=r.length-1;n>=0&&!(r[n].level<=l);n--);if(qo(r,i,n+1),s.type!=="text")continue;const c=s.content;let u=0;const d=c.length;e:for(;u<d;){Ho.lastIndex=u;const h=Ho.exec(c);if(!h)break;let g=!0,f=!0;u=h.index+1;const _=h[0]==="'";let m=32;if(h.index-1>=0)m=c.charCodeAt(h.index-1);else for(n=a-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let v=32;if(u<d)v=c.charCodeAt(u);else for(n=a+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){v=e[n].content.charCodeAt(0);break}const w=Sn(m)||Cn(m),R=Sn(v)||Cn(v),y=Nn(m),A=Nn(v);if(A?g=!1:R&&(y||w||(g=!1)),y?f=!1:w&&(A||R||(f=!1)),v===34&&h[0]==='"'&&m>=48&&m<=57&&(f=g=!1),g&&f&&(g=w,f=R),!g&&!f){_&&Yn(o,a,h.index,Ko);continue}if(f&&(n=_?i.single:i.double,n>=0&&r[n].level===l)){const N=r[n];let D,x;_?(D=t.md.options.quotes[2],x=t.md.options.quotes[3]):(D=t.md.options.quotes[0],x=t.md.options.quotes[1]),Yn(o,a,h.index,x),Yn(o,N.tokenIdx,N.contentPos,D),qo(r,i,n);continue e}if(g){if(r.length>=Tu)return;r.push({tokenIdx:a,contentPos:h.index,isSingleQuote:_,level:l,prevSameQuoteIdx:_?i.single:i.double}),_?i.single=r.length-1:i.double=r.length-1}else f&&_&&Yn(o,a,h.index,Ko)}}Object.keys(o).forEach(function(a){const s=Number(a);e[s].content=Nu(e[s].content,o[a])})}function Su(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!ku.test(e.tokens[t].content)||Cu(e.tokens[t].children,e)}function xu(e){let t,n;const r=e.length;for(t=0;t<r;t++)e[t].type==="text_special"&&(e[t].type="text");for(t=n=0;t<r;t++)e[t].type==="text"&&t+1<r&&e[t+1].type==="text"?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}function Du(e){let t,n;const r=e.tokens,i=r.length;for(let o=0;o<i;o++){if(r[o].type!=="inline")continue;const a=r[o].children,s=a.length;for(t=0;t<s;t++)a[t].type==="text_special"&&(a[t].type="text"),a[t].children&&xu(a[t].children);for(t=n=0;t<s;t++)a[t].type==="text"&&t+1<s&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}}var ei=[["normalize",du],["block",fu],["strip_references",pu],["inline",gu],["linkify",bu],["replacements",Au],["smartquotes",Su],["text_join",Du]],Ma=class{constructor(){q(this,"ruler",new Dn),q(this,"State",Oa);for(let e=0;e<ei.length;e++)this.ruler.push(ei[e][0],ei[e][1])}process(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)}},La=class{constructor(e,t,n,r){q(this,"bMarks",[]),q(this,"eMarks",[]),q(this,"tShift",[]),q(this,"sCount",[]),q(this,"bsCount",[]),q(this,"blkIndent",0),q(this,"line",0),q(this,"lineMax",0),q(this,"tight",!1),q(this,"listIndent",-1),q(this,"parentType","root"),q(this,"level",0),q(this,"Token",Zt),this.src=e,this.md=t,this.env=n,this.tokens=r;const i=this.src;for(let o=0,a=0,s=0,l=0,c=i.length,u=!1;a<c;a++){const d=i.charCodeAt(a);if(!u)if(Ee(d)){s++,d===9?l+=4-l%4:l++;continue}else u=!0;(d===10||a===c-1)&&(d!==10&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(l),this.bsCount.push(0),u=!1,s=0,l=0,o=a+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){const r=new Zt(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&Ee(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!Ee(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let o=0,a=e;a<t;a++,o++){let s=0;const l=this.bMarks[a];let c=l,u;for(a+1<t||r?u=this.eMarks[a]+1:u=this.eMarks[a];c<u&&s<n;){const d=this.src.charCodeAt(c);if(Ee(d))d===9?s+=4-(s+this.bsCount[a])%4:s++;else if(c-l<this.tShift[a])s++;else break;c++}s>n?i[o]=new Array(s-n+1).join(" ")+this.src.slice(c,u):i[o]=this.src.slice(c,u)}return i.join("")}},Ou=65536;function ti(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Wo(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<n;)i===124&&(o?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),o=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function Iu(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!Ee(s)||a===45&&Ee(s))return!1;for(;o<e.eMarks[i];){const y=e.src.charCodeAt(o);if(y!==124&&y!==45&&y!==58&&!Ee(y))return!1;o++}let l=ti(e,t+1),c=l.split("|");const u=[];for(let y=0;y<c.length;y++){const A=c[y].trim();if(!A){if(y===0||y===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(A))return!1;A.charCodeAt(A.length-1)===58?u.push(A.charCodeAt(0)===58?"center":"right"):A.charCodeAt(0)===58?u.push("left"):u.push("")}if(l=ti(e,t).trim(),l.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;c=Wo(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==u.length)return!1;if(r)return!0;const h=e.parentType;e.parentType="table";const g=e.md.block.ruler.getRules("blockquote"),f=e.push("table_open","table",1),_=[t,0];f.map=_;const m=e.push("thead_open","thead",1);m.map=[t,t+1];const v=e.push("tr_open","tr",1);v.map=[t,t+1];for(let y=0;y<c.length;y++){const A=e.push("th_open","th",1);u[y]&&(A.attrs=[["style",`text-align:${u[y]}`]]);const N=e.push("inline","",0);N.content=c[y].trim(),N.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let w,R=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let y=!1;for(let N=0,D=g.length;N<D;N++)if(g[N](e,i,n,!0)){y=!0;break}if(y||(l=ti(e,i).trim(),!l)||e.sCount[i]-e.blkIndent>=4||(c=Wo(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),R+=d-c.length,R>Ou))break;if(i===t+2){const N=e.push("tbody_open","tbody",1);N.map=w=[t+2,0]}const A=e.push("tr_open","tr",1);A.map=[i,i+1];for(let N=0;N<d;N++){const D=e.push("td_open","td",1);u[N]&&(D.attrs=[["style",`text-align:${u[N]}`]]);const x=e.push("inline","",0);x.content=c[N]?c[N].trim():"",x.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return w&&(e.push("tbody_close","tbody",-1),w[1]=i),e.push("table_close","table",-1),_[1]=i,e.parentType=h,e.line=i,!0}function Mu(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+`
|
|
23
|
+
`,o.map=[t,e.line],!0}function Lu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;const a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=e.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,o);if(a===96&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,h=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i<o&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===a&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,a),!(i-s<l)&&(i=e.skipSpaces(i),!(i<o)))){h=!0;break}l=e.sCount[t],e.line=d+(h?1:0);const g=e.push("fence","code",0);return g.info=u,g.content=e.getLines(t+1,d,l,!0),g.markup=c,g.map=[t,e.line],!0}function Fu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let g=!1,f;for(f=t;f<n;f++){const R=e.sCount[f]<e.blkIndent;if(i=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],i>=o)break;if(e.src.charCodeAt(i++)===62&&!R){let A=e.sCount[f]+1,N,D;e.src.charCodeAt(i)===32?(i++,A++,D=!1,N=!0):e.src.charCodeAt(i)===9?(N=!0,(e.bsCount[f]+A)%4===3?(i++,A++,D=!1):D=!0):N=!1;let x=A;for(s.push(e.bMarks[f]),e.bMarks[f]=i;i<o;){const F=e.src.charCodeAt(i);if(Ee(F))F===9?x+=4-(x+e.bsCount[f]+(D?1:0))%4:x++;else break;i++}g=i>=o,l.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(N?1:0),c.push(e.sCount[f]),e.sCount[f]=x-A,u.push(e.tShift[f]),e.tShift[f]=i-e.bMarks[f];continue}if(g)break;let y=!1;for(let A=0,N=d.length;A<N;A++)if(d[A](e,f,n,!0)){y=!0;break}if(y){e.lineMax=f,e.blkIndent!==0&&(s.push(e.bMarks[f]),l.push(e.bsCount[f]),u.push(e.tShift[f]),c.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}s.push(e.bMarks[f]),l.push(e.bsCount[f]),u.push(e.tShift[f]),c.push(e.sCount[f]),e.sCount[f]=-1}const _=e.blkIndent;e.blkIndent=0;const m=e.push("blockquote_open","blockquote",1);m.markup=">";const v=[t,0];m.map=v,e.md.block.tokenize(e,t,f);const w=e.push("blockquote_close","blockquote",-1);w.markup=">",e.lineMax=a,e.parentType=h,v[1]=e.line;for(let R=0;R<u.length;R++)e.bMarks[R+t]=s[R],e.tShift[R+t]=u[R],e.sCount[R+t]=c[R],e.bsCount[R+t]=l[R];return e.blkIndent=_,!0}function Bu(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o<i;){const c=e.src.charCodeAt(o++);if(c!==a&&!Ee(c))return!1;c===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;const l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0}function Yo(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!Ee(e.src.charCodeAt(r))?-1:r}function Zo(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i<r&&(o=e.src.charCodeAt(i),!Ee(o))?-1:i}function Pu(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Uu(e,t,n,r){let i,o,a,s,l=t,c=!0;if(e.sCount[l]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let u=!1;r&&e.parentType==="paragraph"&&e.sCount[l]>=e.blkIndent&&(u=!0);let d,h,g;if((g=Zo(e,l))>=0){if(d=!0,a=e.bMarks[l]+e.tShift[l],h=Number(e.src.slice(a,g-1)),u&&h!==1)return!1}else if((g=Yo(e,l))>=0)d=!1;else return!1;if(u&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(r)return!0;const f=e.src.charCodeAt(g-1),_=e.tokens.length;d?(s=e.push("ordered_list_open","ol",1),h!==1&&(s.attrs=[["start",h]])):s=e.push("bullet_list_open","ul",1);const m=[l,0];s.map=m,s.markup=String.fromCharCode(f);let v=!1;const w=e.md.block.ruler.getRules("list"),R=e.parentType;for(e.parentType="list";l<n;){o=g,i=e.eMarks[l];const y=e.sCount[l]+g-(e.bMarks[l]+e.tShift[l]);let A=y;for(;o<i;){const ee=e.src.charCodeAt(o);if(ee===9)A+=4-(A+e.bsCount[l])%4;else if(ee===32)A++;else break;o++}const N=o;let D;N>=i?D=1:D=A-y,D>4&&(D=1);const x=y+D;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(f);const F=[l,0];s.map=F,d&&(s.info=e.src.slice(a,g-1));const W=e.tight,z=e.tShift[l],Q=e.sCount[l],ne=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=x,e.tight=!0,e.tShift[l]=N-e.bMarks[l],e.sCount[l]=A,N>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n),(!e.tight||v)&&(c=!1),v=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ne,e.tShift[l]=z,e.sCount[l]=Q,e.tight=W,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(f),l=e.line,F[1]=l,l>=n||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let re=!1;for(let ee=0,O=w.length;ee<O;ee++)if(w[ee](e,l,n,!0)){re=!0;break}if(re)break;if(d){if(g=Zo(e,l),g<0)break;a=e.bMarks[l]+e.tShift[l]}else if(g=Yo(e,l),g<0)break;if(f!==e.src.charCodeAt(g-1))break}return d?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(f),m[1]=l,e.line=l,e.parentType=R,c&&Pu(e,_),!0}var ni=999;function zu(e){let t=e.length;for(let n=0;n<e.length-1;n++){const r=e.charCodeAt(n);if(r<55296||r>56319)continue;const i=e.charCodeAt(n+1);i>=56320&&i<=57343&&(t--,n++)}return t}function En(e,t){return Math.min(e.eMarks[t]+1,e.src.length)}function Zn(e,t){const n=e.lineMax;if(t>=n||e.isEmpty(t))return-1;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){const i=e.md.block.ruler.getRules("reference"),o=e.parentType;e.parentType="reference";let a=!1;for(let s=0,l=i.length;s<l;s++)if(i[s](e,t,n,!0)){a=!0;break}if(e.parentType=o,a)return-1}return e.bMarks[t]+e.tShift[t]}function $u(e,t,n,r){const i=e.src;let o=e.bMarks[t]+e.tShift[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||i.charCodeAt(o)!==91)return!1;let s=En(e,t),l="",c=-1,u=++o;for(;o<s;){if(l.length+o-u>ni*2)return!1;let N=i.charCodeAt(o);if(N===91)return!1;if(N===93){c=o;break}if(N===92&&(N=i.charCodeAt(++o)),N===10&&o<s){const D=Zn(e,a);if(D<0)return!1;l+=i.slice(u,s),o=u=D,s=En(e,a++);continue}o++}if(c<0||i.charCodeAt(c+1)!==58||(l+=i.slice(u,c),l.length>ni&&zu(l)>ni))return!1;for(o=c+2;o<s;){const N=i.charCodeAt(o);if(N===10){const D=Zn(e,a);if(D<0)break;o=D,s=En(e,a++)}else if(Ee(N))o++;else break}const d=e.md.helpers.parseLinkDestination(i,o,s);if(!d.ok)return!1;const h=e.md.normalizeLink(d.str);if(!e.md.validateLink(h))return!1;o=d.pos;const g=o,f=s,_=a;for(;o<s;){const N=i.charCodeAt(o);if(N===10){const D=Zn(e,a);if(D<0)break;o=D,s=En(e,a++)}else if(Ee(N))o++;else break}const m=o;let v=e.md.helpers.parseLinkTitle(i,o,s);for(;v.can_continue;){const N=Zn(e,a);if(N<0)break;o=N,s=En(e,a++),v=e.md.helpers.parseLinkTitle(i,o,s,v)}let w;for(m!==g&&v.ok?(w=v.str,o=v.pos):(w="",o=g,s=f,a=_);o<s&&Ee(i.charCodeAt(o));)o++;if(o<s&&i.charCodeAt(o)!==10&&w)for(w="",o=g,s=f,a=_;o<s&&Ee(i.charCodeAt(o));)o++;if(o<s&&i.charCodeAt(o)!==10)return!1;const R=nr(l);if(!R)return!1;if(r)return!0;typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[R]>"u"&&(e.env.references[R]={title:w,href:h});const y=e.push("reference_definition","",0);y.map=[t,a],y.hidden=!0;const A=Object.create(null);return A.label=R,y.meta=A,e.line=a,!0}var Gu=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Hu=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,Ku="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Fa=new RegExp(`^(?:${Hu}|${Ku})`),Yt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${Gu.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${Fa.source}\\s*$`),/^$/,!1]];function qu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,o),s=0;for(;s<Yt.length&&!Yt[s][0].test(a);s++);if(s===Yt.length)return!1;if(r)return Yt[s][2];let l=t+1;const c=Yt[s][1].test("");if(!Yt[s][1].test(a)){for(;l<n&&!(e.sCount[l]<e.blkIndent&&(c||!e.isEmpty(l)));l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],a=e.src.slice(i,o),Yt[s][1].test(a)){a.length!==0&&l++;break}}e.line=l;const u=e.push("html_block","",0);return u.map=[t,l],u.content=e.getLines(t,l,e.blkIndent,!0),!0}function Wu(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);a===35&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!Ee(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);const l=e.skipCharsBack(o,35,i);l>i&&Ee(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const c=e.push("heading_open",`h${s}`,1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);u.content=rr(e.src.slice(i,o)),u.map=[t,e.line],u.children=[];const d=e.push("heading_close",`h${s}`,-1);return d.markup="########".slice(0,s),!0}function Yu(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o=0,a,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let g=e.bMarks[s]+e.tShift[s];const f=e.eMarks[s];if(g<f&&(a=e.src.charCodeAt(g),(a===45||a===61)&&(g=e.skipChars(g,a),g=e.skipSpaces(g),g>=f))){o=a===61?1:2;break}}if(e.sCount[s]<0)continue;let h=!1;for(let g=0,f=r.length;g<f;g++)if(r[g](e,s,n,!0)){h=!0;break}if(h)break}if(!o)return e.parentType=i,!1;const l=rr(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;const c=e.push("heading_open",`h${o}`,1);c.markup=String.fromCharCode(a),c.map=[t,e.line];const u=e.push("inline","",0);u.content=l,u.map=[t,e.line-1],u.children=[];const d=e.push("heading_close",`h${o}`,-1);return d.markup=String.fromCharCode(a),e.parentType=i,!0}function Zu(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let c=!1;for(let u=0,d=r.length;u<d;u++)if(r[u](e,o,n,!0)){c=!0;break}if(c)break}const a=rr(e.getLines(t,o,e.blkIndent,!1));e.line=o;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const l=e.push("inline","",0);return l.content=a,l.map=[t,e.line],l.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}var Jn=[["table",Iu,["paragraph","reference"]],["code",Mu],["fence",Lu,["paragraph","reference","blockquote","list"]],["blockquote",Fu,["paragraph","reference","blockquote","list"]],["hr",Bu,["paragraph","reference","blockquote","list"]],["list",Uu,["paragraph","reference","blockquote"]],["reference",$u],["html_block",qu,["paragraph","reference","blockquote"]],["heading",Wu,["paragraph","reference","blockquote"]],["lheading",Yu],["paragraph",Zu]],Ba=class{constructor(){q(this,"ruler",new Dn),q(this,"State",La);for(let e=0;e<Jn.length;e++)this.ruler.push(Jn[e][0],Jn[e][1],{alt:(Jn[e][2]||[]).slice()})}tokenize(e,t,n){const r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting;let a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n||e.sCount[a]<e.blkIndent));){if(e.level>=o){e.line=n;break}const l=e.line;let c=!1;for(let u=0;u<i;u++)if(c=r[u](e,a,n,!1),c){if(l>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}}parse(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}},Pa=class{constructor(e,t,n,r){q(this,"pos",0),q(this,"level",0),q(this,"pending",""),q(this,"pendingLevel",0),q(this,"cache",{}),q(this,"backticks",{}),q(this,"backticksScanned",!1),q(this,"skipHtmlSpecial",!1),q(this,"linkLevel",0),q(this,"delimiters",[]),q(this,"_prev_delimiters",[]),q(this,"Token",Zt),this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){const e=new Zt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e}push(e,t,n){this.pending&&this.pushPending();const r=new Zt(e,t,n);let i;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){const n=this.posMax,r=this.src.charCodeAt(e);let i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)===55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)===56320){const f=this.src.charCodeAt(e-2);i=(f&64512)===55296?65536+(f-55296<<10)+(i-56320):65533}else(i&64512)===55296&&(i=65533);let o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;const a=o-e;let s=o<n?this.src.charCodeAt(o):32;if((s&64512)===55296){const f=this.src.charCodeAt(o+1);s=(f&64512)===56320?65536+(s-55296<<10)+(f-56320):65533}else(s&64512)===56320&&(s=65533);const l=Sn(i)||Cn(i),c=Sn(s)||Cn(s),u=Nn(i),d=Nn(s),h=!d&&(!c||u||l),g=!u&&(!l||d||c);return{can_open:h&&(t||!g||l),can_close:g&&(t||!h||c),length:a}}};function Ju(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Xu(e,t){let n=e.pos;for(;n<e.posMax&&!Ju(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function Vu(e){return e>=65&&e<=90||e>=97&&e<=122}function ju(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function Qu(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=n-Math.min(10,e.pending.length,n);let o=n;for(;o>i&&ju(e.src.charCodeAt(o-1));)o--;if(o===n||!Vu(e.src.charCodeAt(o)))return!1;const a=n-o,s=e.md.linkify.matchAtStart(e.src.slice(o));if(!s)return!1;let l=s.url;if(l.length<=a)return!1;let c=l.length;for(;c>0&&l.charCodeAt(c-1)===42;)c--;c!==l.length&&(l=l.slice(0,c));const u=e.md.normalizeLink(l);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-a);const d=e.push("link_open","a",1);d.attrs=[["href",u]],d.markup="linkify",d.info="auto";const h=e.push("text","",0);h.content=e.md.normalizeLinkText(l);const g=e.push("link_close","a",-1);g.markup="linkify",g.info="auto"}return e.pos+=l.length-a,!0}function ed(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&Ee(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var wi=[];for(let e=0;e<256;e++)wi.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){wi[e.charCodeAt(0)]=1});function td(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),!!Ee(i));)n++;return e.pos=n,!0}if(i===32){if(!t){const s=e.push("text_special","",0);s.content="\\",s.markup="\\",s.info="escape"}return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const s=e.push("text_special","",0);i<256&&wi[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function nd(e){const t={};let n=0;for(;(n=e.indexOf("`",n))!==-1;){const r=n;for(;e.charCodeAt(++n)===96;);t[n-r]=r}return t}function rd(e,t){var n;const r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const i=e.posMax;let o=r+1;for(;o<i&&e.src.charCodeAt(o)===96;)o++;const a=e.src.slice(r,o),s=a.length;if(e.backticksScanned||(e.backticks=nd(e.src),e.backticksScanned=!0),((n=e.backticks[s])!==null&&n!==void 0?n:-1)>=o){let l=o,c;for(;(c=e.src.indexOf("`",l))!==-1&&c<i;){for(l=c+1;e.src.charCodeAt(l)===96;)l++;if(l>i)break;if(l-c===s){if(!t){const u=e.push("code_inline","code",0);u.markup=a;let d=e.src.slice(o,c).replace(/\n/g," ");d.startsWith(" ")&&d.endsWith(" ")&&/[^ ]/.test(d)&&(d=d.slice(1,-1)),u.content=d}return e.pos=l,!0}}}return t||(e.pending+=a),e.pos=o,!0}function id(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const i=e.scanDelims(e.pos,!0);let o=i.length;const a=String.fromCharCode(r);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let l=0;l<o;l+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Jo(e,t){let n;const r=[],i=t.length;for(let o=0;o<i;o++){const a=t[o];if(a.marker!==126||a.end===-1)continue;const s=t[a.end];n=e.tokens[a.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&r.push(s.token-1)}for(;r.length;){const o=r.pop();let a=o+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,o!==a&&(n=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=n)}}function od(e){const t=e.tokens_meta,n=e.tokens_meta.length;Jo(e,e.delimiters);for(let i=0;i<n;i++){var r;const o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Jo(e,o)}}var Ua={tokenize:id,postProcess:od};function ad(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const i=e.scanDelims(e.pos,r===42);for(let o=0;o<i.length;o++){const a=e.push("text","",0);a.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function Xo(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const o=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),l=e.tokens[i.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?s+s:s,l.content="";const c=e.tokens[o.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function sd(e){const t=e.tokens_meta,n=e.tokens_meta.length;Xo(e,e.delimiters);for(let i=0;i<n;i++){var r;const o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Xo(e,o)}}var za={tokenize:ad,postProcess:sd};function cd(e,t){let n,r,i,o,a="",s="",l=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const u=e.pos,d=e.posMax,h=e.pos+1,g=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(g<0)return!1;let f=g+1;if(f<d&&e.src.charCodeAt(f)===40){for(c=!1,f++;f<d&&(n=e.src.charCodeAt(f),!(!Ee(n)&&n!==10));f++);if(f>=d)return!1;if(l=f,i=e.md.helpers.parseLinkDestination(e.src,f,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?f=i.pos:a="",l=f;f<d&&(n=e.src.charCodeAt(f),!(!Ee(n)&&n!==10));f++);if(i=e.md.helpers.parseLinkTitle(e.src,f,e.posMax),f<d&&l!==f&&i.ok)for(s=i.str,f=i.pos;f<d&&(n=e.src.charCodeAt(f),!(!Ee(n)&&n!==10));f++);}(f>=d||e.src.charCodeAt(f)!==41)&&(c=!0),f++}if(c){if(typeof e.env.references>"u")return!1;if(f<d&&e.src.charCodeAt(f)===91?(l=f+1,f=e.md.helpers.parseLinkLabel(e,f),f>=0?r=e.src.slice(l,f++):f=g+1):f=g+1,r||(r=e.src.slice(h,g)),r=nr(r),o=e.env.references[r],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=h,e.posMax=g;const _=e.push("link_open","a",1),m=[["href",a]];if(_.attrs=m,s&&m.push(["title",s]),r){const v=Object.create(null);v.label=r,_.meta=v}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=f,e.posMax=d,!0}function ld(e,t){let n,r,i,o,a,s,l,c,u="";const d=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const g=e.pos+2,f=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(f<0)return!1;if(o=f+1,o<h&&e.src.charCodeAt(o)===40){for(o++;o<h&&(n=e.src.charCodeAt(o),!(!Ee(n)&&n!==10));o++);if(o>=h)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),c=o;o<h&&(n=e.src.charCodeAt(o),!(!Ee(n)&&n!==10));o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<h&&c!==o&&s.ok)for(l=s.str,o=s.pos;o<h&&(n=e.src.charCodeAt(o),!(!Ee(n)&&n!==10));o++);else l="";if(o>=h||e.src.charCodeAt(o)!==41)return e.pos=d,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<h&&e.src.charCodeAt(o)===91?(c=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?i=e.src.slice(c,o++):o=f+1):o=f+1,i||(i=e.src.slice(g,f)),i=nr(i),a=e.env.references[i],!a)return e.pos=d,!1;u=a.href,l=a.title}if(!t){r=e.src.slice(g,f);const _=[];e.md.inline.parse(r,e.md,e.env,_);const m=e.push("image","img",0),v=[["src",u],["alt",""]];if(m.attrs=v,m.children=_,m.content=r,l&&v.push(["title",l]),i){const w=Object.create(null);w.label=i,m.meta=w}}return e.pos=o,e.posMax=h,!0}var ud=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,dd=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function fd(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=e.src.slice(r+1,n);if(dd.test(o)){const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}if(ud.test(o)){const a=e.md.normalizeLink(`mailto:${o}`);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}return!1}function pd(e){return/^<a[>\s]/i.test(e)}function gd(e){return/^<\/a\s*>/i.test(e)}function $a(e){const t=e|32;return t>=97&&t<=122}function hd(e,t){const n=e.src;let r,i;if(n.startsWith("<!--",t)){if(n.startsWith(">",t+4))return t+5;if(n.startsWith("->",t+4))return t+6;r=t+4,i="-->"}else if(n.startsWith("<![CDATA[",t))r=t+9,i="]]>";else if(n.charCodeAt(t+1)===63)r=t+2,i="?>";else if($a(n.charCodeAt(t+2)))r=t+3,i=">";else return-1;if(e.skipHtmlSpecial)return-1;const o=n.indexOf(i,r);return o<0?(e.skipHtmlSpecial=!0,-1):o+i.length}function md(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i;const o=e.src.charCodeAt(r+1);if(o===33||o===63)i=hd(e,r);else if(o===47||$a(o)){const a=e.src.slice(r).match(Fa);i=a?r+a[0].length:-1}else return!1;if(i<0)return!1;if(!t){const a=e.push("html_inline","",0);a.content=e.src.slice(r,i),pd(a.content)&&e.linkLevel++,gd(a.content)&&e.linkLevel--}return e.pos=i,!0}var bd=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,_d=/^&([a-z][a-z0-9]{1,31});/i;function Ed(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const i=e.src.slice(n).match(bd);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=vi(o)?Tn(o):Tn(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(n).match(_d);if(i){const o=_a(i[0]);if(o!==i[0]){if(!t){const a=e.push("text_special","",0);a.content=o,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Vo(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;a<n;a++){const s=e[a];if(o.push(0),(e[r].marker!==s.marker||i!==s.token-1)&&(r=a),i=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const l=t[s.marker][(s.open?3:0)+s.length%3];let c=r-o[r]-1,u=c;for(;c>l;c-=o[c]+1){const d=e[c];if(d.marker===s.marker&&d.open&&d.end<0){let h=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(h=!0),!h){const g=c>0&&!e[c-1].open?o[c-1]+1:0;o[a]=a-c+g,o[c]=g,s.open=!1,d.end=a,d.close=!1,u=-1,i=-2;break}}}u!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function vd(e){const t=e.tokens_meta,n=e.tokens_meta.length;Vo(e.delimiters);for(let i=0;i<n;i++){var r;const o=(r=t[i])===null||r===void 0?void 0:r.delimiters;o&&Vo(o)}}function wd(e){let t,n,r=0;const i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type==="text"&&t+1<o&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var ri=[["text",Xu],["linkify",Qu],["newline",ed],["escape",td],["backticks",rd],["strikethrough",Ua.tokenize],["emphasis",za.tokenize],["link",cd],["image",ld],["autolink",fd],["html_inline",md],["entity",Ed]],ii=[["balance_pairs",vd],["strikethrough",Ua.postProcess],["emphasis",za.postProcess],["fragments_join",wd]],Ga=class{constructor(){q(this,"ruler",new Dn),q(this,"ruler2",new Dn),q(this,"State",Pa);for(let e=0;e<ri.length;e++)this.ruler.push(ri[e][0],ri[e][1]);for(let e=0;e<ii.length;e++)this.ruler2.push(ii[e][0],ii[e][1])}skipToken(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u"){e.pos=o[t];return}let a=!1;if(e.level<i){for(let s=0;s<r;s++)if(e.level++,a=n[s](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos}tokenize(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const o=e.pos;let a=!1;if(e.level<i){for(let s=0;s<n;s++)if(a=t[s](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let s=0;s<a;s++)o[s](i)}},yd={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Rd=/^(vbscript|javascript|file|data):/,Ad=/^data:image\/(gif|png|jpeg|webp);/,jo=["http:","https:","mailto:"],Et=class{validateLink(e){const t=e.trim().toLowerCase();return Rd.test(t)?Ad.test(t):!0}normalizeLink(e){const t=hi(e,!0);if(t.hostname&&(!t.protocol||jo.indexOf(t.protocol)>=0))try{t.hostname=zo.toASCII(t.hostname)}catch{}return t.auth&&(t.auth=Nt(t.auth)),t.hostname&&(t.hostname=Nt(t.hostname)),t.pathname&&(t.pathname=Nt(t.pathname)),t.search&&(t.search=Nt(t.search)),t.hash&&(t.hash=Nt(t.hash)),gi(t)}normalizeLinkText(e){const t=hi(e,!0);if(t.hostname&&(!t.protocol||jo.indexOf(t.protocol)>=0))try{t.hostname=zo.toUnicode(t.hostname)}catch{}return dn(gi(t),dn.defaultChars+"%")}constructor(...e){q(this,"inline",new Ga),q(this,"block",new Ba),q(this,"core",new Ma),q(this,"renderer",new Da),q(this,"linkify",new Ol),q(this,"utils",Kl),q(this,"helpers",Object.assign({},au));const[t,n]=e;typeof t=="string"?(this.configure(t),n&&this.set(n)):(this.configure("default"),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e=="string"){const i=e;if(t=yd[i],!t)throw new Error(`Wrong 'markdown-it' preset "${i}", check name`)}else t=e;if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});const n=t.components;if(n){var r;["core","block","inline"].forEach(o=>{var a;const s=(a=n[o])===null||a===void 0?void 0:a.rules;s&&this[o].ruler.enableOnly(s)});const i=(r=n.inline)===null||r===void 0?void 0:r.rules2;i&&this.inline.ruler2.enableOnly(i)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{n=n.concat(this[i].ruler.enable(e,!0))}),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(i=>n.indexOf(i)<0);if(r.length&&!t)throw new Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(i=>{n=n.concat(this[i].ruler.disable(e,!0))}),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(i=>n.indexOf(i)<0);if(r.length&&!t)throw new Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};q(Et,"Token",Zt);q(Et,"Ruler",Dn);q(Et,"Renderer",Da);q(Et,"ParserCore",Ma);q(Et,"StateCore",Oa);q(Et,"ParserBlock",Ba);q(Et,"StateBlock",La);q(Et,"ParserInline",Ga);q(Et,"StateInline",Pa);var Ef=Ca(Et),oi,Qo;function kd(){if(Qo)return oi;Qo=1;var e=!0,t=!1,n=!1;oi=function(_,m){m&&(e=!m.enabled,t=!!m.label,n=!!m.labelAfter),_.core.ruler.after("inline","github-task-lists",function(v){for(var w=v.tokens,R=2;R<w.length;R++)o(w,R)&&(a(w[R],v.Token),r(w[R-2],"class","task-list-item"+(e?"":" enabled")),r(w[i(w,R-2)],"class","contains-task-list"))})};function r(_,m,v){var w=_.attrIndex(m),R=[m,v];w<0?_.attrPush(R):_.attrs[w]=R}function i(_,m){for(var v=_[m].level-1,w=m-1;w>=0;w--)if(_[w].level===v)return w;return-1}function o(_,m){return d(_[m])&&h(_[m-1])&&g(_[m-2])&&f(_[m])}function a(_,m){if(_.children.unshift(s(_,m)),_.children[1].content=_.children[1].content.slice(3),_.content=_.content.slice(3),t)if(n){_.children.pop();var v="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);_.children[0].content=_.children[0].content.slice(0,-1)+' id="'+v+'">',_.children.push(u(_.content,v,m))}else _.children.unshift(l(m)),_.children.push(c(m))}function s(_,m){var v=new m("html_inline","",0),w=e?' disabled="" ':"";return _.content.indexOf("[ ] ")===0?v.content='<input class="task-list-item-checkbox"'+w+'type="checkbox">':(_.content.indexOf("[x] ")===0||_.content.indexOf("[X] ")===0)&&(v.content='<input class="task-list-item-checkbox" checked=""'+w+'type="checkbox">'),v}function l(_){var m=new _("html_inline","",0);return m.content="<label>",m}function c(_){var m=new _("html_inline","",0);return m.content="</label>",m}function u(_,m,v){var w=new v("html_inline","",0);return w.content='<label class="task-list-item-label" for="'+m+'">'+_+"</label>",w.attrs=[{for:m}],w}function d(_){return _.type==="inline"}function h(_){return _.type==="paragraph_open"}function g(_){return _.type==="list_item_open"}function f(_){return _.content.indexOf("[ ] ")===0||_.content.indexOf("[x] ")===0||_.content.indexOf("[X] ")===0}return oi}var Td=kd();const vf=da(Td);function Nd(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}function Cd(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},h=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),g={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},f={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},_={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},m={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},v={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},w={className:"selector-tag",begin:/@\B/,relevance:0},R={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},y=[R,h,a,e.NUMBER_MODE,c,u,g,s,l,w],A={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",y,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return R.contains.unshift(A),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:y.concat(f,_,m,v,A)}}const tr="[A-Za-z$_][0-9A-Za-z$_]*",Ha=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Ka=["true","false","null","undefined","NaN","Infinity"],qa=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Wa=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ya=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Za=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","self","global"],Ja=[].concat(Ya,qa,Wa);function Sd(e){const t=e.regex,n=(k,{after:B})=>{const J="</"+k[0].slice(1);return k.input.indexOf(J,B)!==-1},r=tr,i={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(k,B)=>{const J=k[0].length+k.index,ie=k.input[J];if(ie==="<"||ie===","){B.ignoreMatch();return}ie===">"&&(n(k,{after:J})||B.ignoreMatch());let X;const Ce=k.input.substring(J);if(X=Ce.match(/^\s*=/)){B.ignoreMatch();return}if((X=Ce.match(/^\s+extends\s+/))&&X.index===0){B.ignoreMatch();return}}},s={$pattern:tr,keyword:Ha,literal:Ka,built_in:Ja,"variable.language":Za},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},g={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},f={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},_={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},w={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,f,_,m,{match:/\$\d+/},d];h.contains=R.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(R)});const y=[].concat(w,h.contains),A=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(y)}]),N={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A},D={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...qa,...Wa]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},W={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[N],illegal:/%/},z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Q(k){return t.concat("(?!",k.join("|"),")")}const ne={match:t.concat(/\b/,Q([...Ya,"super","import","await"].map(k=>`${k}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},re={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ee={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},N]},O="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",$={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(O)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[N]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:A,CLASS_REFERENCE:x},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,f,_,m,w,{match:/\$\d+/},d,x,{scope:"attr",match:r+t.lookahead(":"),relevance:0},$,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[w,e.REGEXP_MODE,{className:"function",begin:O,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:A}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},W,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[N,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},re,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[N]},ne,z,D,ee,{match:/\$[(.]/}]}}function xd(e){const t=e.regex,n=Sd(e),r=tr,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],c={$pattern:tr,keyword:Ha.concat(l),literal:Ka,built_in:Ja.concat(i),"variable.language":Za},u={className:"meta",begin:"@"+r},d=(_,m,v)=>{const w=_.contains.findIndex(R=>R.label===m);if(w===-1)throw new Error("can not find mode to replace");_.contains.splice(w,1,v)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(u);const h=n.contains.find(_=>_.scope==="attr"),g=Object.assign({},h,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,h,g]),n.contains=n.contains.concat([u,o,a,g]),d(n,"shebang",e.SHEBANG()),d(n,"use_strict",s);const f=n.contains.find(_=>_.label==="func.def");return f.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}An.registerLanguage("dockerfile",Nd);An.registerLanguage("powershell",Cd);An.registerLanguage("typescript",xd);const ea=5e3,Dd=512*1024,wf=20*1024*1024,yf=4*1024,Od=new Set(["avif","bmp","gif","ico","jpeg","jpg","png","svg","webp"]),Id=new Set(["m4v","mov","mp4","ogv","webm"]),Md=new Set(["aac","flac","m4a","mp3","oga","ogg","wav","webm"]),Xa={bash:"bash",c:"c",cc:"cpp",cpp:"cpp",cs:"csharp",css:"css",cxx:"cpp",diff:"diff",go:"go",h:"c",hpp:"cpp",html:"xml",htm:"xml",ini:"ini",java:"java",js:"javascript",json:"json",jsx:"javascript",kt:"kotlin",kts:"kotlin",less:"less",lua:"lua",md:"markdown",markdown:"markdown",mjs:"javascript",cjs:"javascript",php:"php",pl:"perl",ps1:"powershell",py:"python",r:"r",rb:"ruby",rs:"rust",scss:"scss",sh:"bash",sql:"sql",swift:"swift",ts:"typescript",tsx:"typescript",vue:"xml",wasm:"wasm",xml:"xml",yml:"yaml",yaml:"yaml"},Ld=new Set([...Object.keys(Xa),"conf","csv","env","log","properties","text","toml","txt"]);function Rf(e,t,n){const r=/^sandbox:/iu.test(e),i=/^[^/\\:]+:\d+(?::\d+)?$/u.test(e)&&!/^(?:https?|file|javascript|data|mailto|blob|ftp|wss?):/iu.test(e);let o=e;if(r)o=e.slice(e.indexOf(":")+1);else if(!i&&!/^[a-z]:[\\/]/iu.test(e)&&/^[a-z][a-z\d+.-]*:/iu.test(e)){let m;try{m=new URL(e)}catch{return}if(m.origin!==n||m.search.length>0)return;o=m.pathname+m.hash}const a=o.match(/#L(\d+)(?:-L(\d+))?$/u);if(a!==null){const m=a[2]===void 0?void 0:Number(a[2]);if(m!==void 0&&(!Number.isSafeInteger(m)||m<Number(a[1])))return;o=`${o.slice(0,-a[0].length)}:${a[1]}`}if(o.includes("?")||o.includes("#"))return;let s;try{s=decodeURIComponent(o)}catch{return}const l=s.match(/:(\d+)(?::(\d+))?$/u),c=l===null?void 0:Number(l[1]),u=l?.[2]===void 0?void 0:Number(l[2]);if(c!==void 0&&(!Number.isSafeInteger(c)||c<1)||u!==void 0&&(!Number.isSafeInteger(u)||u<1))return;const d=s.replace(/:(?:\d+)(?::\d+)?$/u,"").replaceAll("\\","/").replace(/^\/([a-z]:\/)/iu,"$1"),h=t?.replaceAll("\\","/"),g=h==="/"?"/":h?.replace(/\/+$/u,""),f=d.startsWith("/")||/^[a-z]:\//iu.test(d);if(r&&!f)return;let _=d;if(f){if(g!==void 0&&g.length>0&&g!=="/"){const m=/^[a-z]:\//iu.test(g),v=m?d.toLocaleLowerCase():d,w=m?g.toLocaleLowerCase():g;v.startsWith(`${w}/`)&&(_=d.slice(g.length+1))}}else{if(s.includes("\\"))return;_=_.replace(/^(\.\/)+/u,"")}if(!(_.length===0||/^[\\/]{2,}[?.](?:[\\/]|$)/u.test(s)||_.includes("?")||_.includes("#")||_.includes("\0")||!f&&_.split("/").some(m=>m.length===0||m==="."||m==="..")))return c===void 0?{path:_}:{path:_,line:c,...u===void 0?{}:{column:u}}}function Fd(e){const t=e.replaceAll("\\","/").split("/").at(-1)?.toLowerCase()??"";return t==="dockerfile"||t.startsWith("dockerfile.")?"dockerfile":t==="makefile"||t.startsWith("makefile.")?"makefile":t===".gitignore"||t===".gitattributes"?"bash":t===".editorconfig"||t===".npmrc"||t.startsWith(".env")?"ini":Xa[In(t)]??"plaintext"}function Af(e){return!e.truncated&&(e.size??new TextEncoder().encode(e.content).byteLength)<=Dd}function kf(e,t){const n=Fd(t),r=An.highlight(e,{language:An.getLanguage(n)===void 0?"plaintext":n,ignoreIllegals:!0}).value;return Bd(r)}function Tf(e,t){if(t.length===0)return{lines:e.map(a=>[{text:a}]),total:0,truncated:!1};const n=new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"giu");let r=0,i=!1;return{lines:e.map(a=>{if(r>=ea)return n.lastIndex=0,n.test(a)&&(i=!0),n.lastIndex=0,[{text:a}];const s=[];let l=0;for(const c of a.matchAll(n)){if(r>=ea){i=!0;break}const u=c.index;u>l&&s.push({text:a.slice(l,u)}),s.push({text:c[0],matchIndex:r++}),l=u+c[0].length}return(l<a.length||s.length===0)&&s.push({text:a.slice(l)}),s}),total:r,truncated:i}}function Bd(e){const t=[],n=[];let r="";for(const i of e.split(/(<span class="[^"]+">|<\/span>|\n)/))i!==""&&(i===`
|
|
24
|
+
`?(t.push(`${r}${"</span>".repeat(n.length)}`),r=n.join("")):i.startsWith('<span class="')?(n.push(i),r+=i):(i==="</span>"&&n.pop(),r+=i));return t.push(`${r}${"</span>".repeat(n.length)}`),t}function yi(e){const t=In(e);return Od.has(t)?"image":t==="pdf"?"pdf":t==="docx"?"document":t==="xlsx"?"spreadsheet":t==="pptx"?"presentation":Id.has(t)?"video":Md.has(t)?"audio":"unsupported"}function Nf(e,t){return t==="utf-8"?"text":yi(e)}function Cf(e){return["md","markdown"].includes(In(e))}function Sf(e){return["html","htm"].includes(In(e))}function Va(e,t){const n=t.trim().toLocaleLowerCase();if(n.startsWith("text/")||["application/graphql","application/javascript","application/json","application/sql","application/toml","application/typescript","application/xml","application/yaml"].includes(n))return!0;const r=e.replaceAll("\\","/").split("/").at(-1)?.toLocaleLowerCase()??"";return r==="dockerfile"||r==="makefile"||r===".editorconfig"||r===".gitattributes"||r===".gitignore"||r===".npmrc"||r.startsWith(".env")||Ld.has(In(r))}function Pd(e){return yi(e)!=="unsupported"}function xf(e){const t=yi(e);return t==="audio"||t==="video"}function Df(e,t=""){return Va(e,t)||!Pd(e)}function Ud(e,t=!0,n=new TextDecoder("utf-8",{fatal:!0})){if(!e.includes(0))try{return n.decode(e,{stream:!t})}catch{return}}function Of(e,t,n=!0,r=""){const i={encoding:"base64",content:""},o=e[0]===255&&e[1]===254?"utf-16le":e[0]===254&&e[1]===255?"utf-16be":void 0;if(o!==void 0){const l=new TextDecoder(o).decode(e,{stream:!n});return ai(l)?{encoding:"utf-8",content:l,previewEncoding:o}:i}if(e.includes(0))return i;const a=Ud(e,n);if(a!==void 0)return{encoding:"utf-8",content:a};if(!Va(t,r))return i;try{if(!(e[0]===239&&e[1]===187&&e[2]===191)){const l=new TextDecoder("gb18030",{fatal:!0}).decode(e,{stream:!n});if(ai(l))return{encoding:"utf-8",content:l,previewEncoding:"gb18030"}}}catch{}const s=new TextDecoder("utf-8").decode(e,{stream:!n});return ai(s)?{encoding:"utf-8",content:s,previewEncoding:"utf-8"}:i}function ai(e){for(let t=0;t<e.length;t+=1){const n=e.charCodeAt(t);if(n<=8||n===11||n>=14&&n<=31||n===127)return!1}return!0}function In(e){return e.split(".").at(-1)?.toLowerCase()??""}const If=[{key:"e",ctrl:!0,shift:!0},{key:"e",meta:!0,shift:!0}],Mf=[{key:"Enter"},{key:"Enter",ctrl:!0},{key:"Enter",meta:!0},{key:"Enter",ctrl:!0,meta:!0}],Lf=[{key:"Escape"}],Ff=[{key:"Escape"}],Bf=[{key:"m",code:"KeyM",alt:!0}],Xn=e=>[{key:e,ctrl:!0,shift:!0},{key:e,meta:!0,shift:!0}],zd=[{key:"w",code:"KeyW",alt:!0},{key:"w",code:"KeyW",ctrl:!0}],$d=[{key:"w",code:"KeyW",alt:!0,shift:!0},{key:"w",code:"KeyW",ctrl:!0,shift:!0}],Pf={close:[...zd,...$d],newSession:[{key:"n",code:"KeyN",alt:!0},{key:"n",code:"KeyN",ctrl:!0}],cycle:[{key:"ArrowLeft",alt:!0},{key:"ArrowRight",alt:!0},{key:"Tab",ctrl:!0},{key:"Tab",ctrl:!0,shift:!0}],numbered:Array.from({length:10},(e,t)=>({key:String(t),code:`Digit${t}`,ctrl:!0})),preview:Xn("v"),quickOpen:Xn("o"),search:Xn("f"),changes:Xn("k"),terminal:[{key:"`",code:"Backquote",ctrl:!0,shift:!0},{key:"`",code:"Backquote",meta:!0,shift:!0}]},vn=e=>[{key:e,ctrl:!0},{key:e,meta:!0}],Uf={back:[{key:"ArrowLeft",alt:!0}],forward:[{key:"ArrowRight",alt:!0}],find:vn("f"),selectAll:vn("a"),toggleEdit:vn("e"),replace:vn("h"),save:vn("s"),symbols:[{key:"m",code:"KeyM",alt:!0}],dismiss:[{key:"Escape"}],choose:[{key:"Enter"},{key:"Enter",ctrl:!0},{key:"Enter",meta:!0}]},zf={save:[{key:"Enter"},{key:"Enter",meta:!0}],execute:[{key:"Enter",ctrl:!0},{key:"Enter",ctrl:!0,meta:!0}]},$f=[{key:"Enter"},{key:"Enter",shift:!0}],Gf=[{key:"ArrowLeft"},{key:"ArrowRight"},{key:"ArrowUp"},{key:"ArrowDown"}];function Gd(e,t=!1,n=!1){const r={ArrowLeft:"←",ArrowRight:"→",ArrowUp:"↑",ArrowDown:"↓"};return[e.ctrl&&(t||n?"Control":"Ctrl"),e.meta&&(!t&&n?"Command":"Meta"),e.alt&&(!t&&n?"Option":"Alt"),e.shift&&"Shift",e.key==="Escape"&&!t?"Esc":!t&&r[e.key]!==void 0?r[e.key]:e.key.length===1?e.key.toUpperCase():e.key].filter(Boolean).join(t?"+":" + ")}function Hd(e,t=typeof navigator<"u"&&/^(Mac|iPhone|iPad|iPod)/u.test(navigator.platform)){const n=t?"meta":"ctrl",r=t?"ctrl":"meta";return e.filter(i=>!i[r]||i[n]||!e.some(o=>o[n]&&!o[r]&&o.key===i.key&&o.code===i.code&&!!o.alt==!!i.alt&&!!o.shift==!!i.shift)).map(i=>Gd(i,!1,t).replaceAll(" + ","+")).join(" / ")}function Hf(e,t=[]){return t.length>0?Ge("keyboardShortcuts.actionHint",{label:e,keys:Hd(t)}):e}const Kd=["aria-label"],qd=Mt({__name:"ImagePreviewControls",props:{controls:{},placement:{},animatedMenu:{type:Boolean}},setup(e){const t=[{key:"up",icon:"chevron-up",x:0,y:1},{key:"down",icon:"chevron-down",x:0,y:-1},{key:"left",icon:"chevron-left",x:1,y:0},{key:"right",icon:"chevron-right",x:-1,y:0}];return(n,r)=>{const i=ms("tooltip");return He(),et("div",{class:"mar-image-preview-controls",role:"group","aria-label":ce(Ge)("imageViewport.actions")},[ln(Tt(ce(wn),{class:"image-preview-control","aria-label":ce(Ge)("imageViewport.zoomOut"),icon:ce(qn)("zoom-out"),disabled:!e.controls.canZoomOut,circle:"",onClick:r[0]||(r[0]=o=>e.controls.zoomBy(1/1.5))},null,8,["aria-label","icon","disabled"]),[[i,ce(Ge)("imageViewport.zoomOut")]]),ln(Tt(ce(wn),{class:"image-preview-control","aria-label":ce(Ge)("imageViewport.fit"),icon:ce(qn)("fit"),disabled:!e.controls.canZoomOut,circle:"",onClick:r[1]||(r[1]=o=>e.controls.fit())},null,8,["aria-label","icon","disabled"]),[[i,ce(Ge)("imageViewport.fit")]]),ln(Tt(ce(wn),{class:"image-preview-control","aria-label":ce(Ge)("imageViewport.zoomIn"),icon:ce(qn)("zoom-in"),disabled:!e.controls.canZoomIn,circle:"",onClick:r[2]||(r[2]=o=>e.controls.zoomBy(1.5))},null,8,["aria-label","icon","disabled"]),[[i,ce(Ge)("imageViewport.zoomIn")]]),Tt(ce(Cs),{placement:e.placement??"top",disabled:!e.controls.canPan,"popper-class":e.animatedMenu?"mar-ui-popup--animated-exit":""},{dropdown:yn(()=>[Tt(ce(Os),{"aria-label":ce(Ge)("imageViewport.pan.label")},{default:yn(()=>[(He(),et(ra,null,bs(t,o=>Tt(ce(Ls),{key:o.key,icon:o.icon,disabled:!e.controls.canPanToward(o),onClick:a=>e.controls.panByViewportStep(o)},{default:yn(()=>[ia(ui(ce(Ge)(`imageViewport.pan.${o.key}`)),1)]),_:2},1032,["icon","disabled","onClick"])),64))]),_:1},8,["aria-label"])]),default:yn(()=>[ln(Tt(ce(wn),{class:"image-preview-control","aria-label":ce(Ge)("imageViewport.pan.label"),icon:ce(qn)("pan"),circle:""},null,8,["aria-label","icon"]),[[i,ce(Ge)("imageViewport.pan.label")]])]),_:1},8,["placement","disabled","popper-class"])],8,Kd)}}}),Wd=Vt(qd,[["__scopeId","data-v-f3acb315"]]),ta={scale:1,x:0,y:0},ja=8;function Yd(e,t){if(!e.width||!e.height)return e;const n=Math.min(1,t.width/e.width,t.height/e.height);return{width:e.width*n,height:e.height*n}}function Qa(e,t,n){return{x:Math.max(0,(t.width*e-n.width)/2),y:Math.max(0,(t.height*e-n.height)/2)}}function Zd(e,t,n){const r=Qa(e.scale,t,n);return{scale:e.scale,x:r.x===0?0:Math.max(-r.x,Math.min(r.x,e.x)),y:r.y===0?0:Math.max(-r.y,Math.min(r.y,e.y))}}function Jd(e,t,n,r){const i=Math.min(ja,Math.max(1,t)),o=i/e.scale;return{scale:i,x:r.x-(n.x-e.x)*o,y:r.y-(n.y-e.y)*o}}const Xd={class:"mar-image-preview"},Vd=["tabindex","aria-label"],jd=["src","alt"],Qd={key:0,class:"mar-image-preview-source-actions"},ef=Mt({__name:"ImagePreviewViewport",props:{src:{},alt:{},ready:{type:Boolean,default:!0},imageClass:{},externalControls:{type:Boolean}},emits:["load","error"],setup(e,{expose:t,emit:n}){const r=e,i=n,o={x:0,y:0},a=ht(),s=ht({width:0,height:0}),l=ht({width:0,height:0}),c=ht(ta),u=new Map;let d;const h=ht(0),g=on(()=>r.ready&&l.value.width>0),f=on(()=>Yd(l.value,s.value)),_=on(()=>Qa(c.value.scale,f.value,s.value)),m=on(()=>_.value.x>.5||_.value.y>.5),v=on(()=>g.value?{canZoomOut:c.value.scale>1,canZoomIn:c.value.scale<ja,canPan:m.value,zoomBy:O=>N(c.value.scale*O),fit:()=>{c.value=ta},canPanToward:x,panByViewportStep:F}:void 0);t({controls:v});const w=on(()=>{const{scale:O,y:$}=c.value,k=$+(f.value.height*O-s.value.height)/2;return{transform:`translateY(${Math.min(0,k)}px)`}});function R(O){c.value=Zd(O,f.value,s.value)}si(a,(O,$,k)=>{if(!O)return;const B=new ResizeObserver(([J])=>{const{width:ie,height:X}=J.contentRect;!ie||!X||(s.value={width:ie,height:X},R(c.value))});B.observe(O),k(()=>B.disconnect())},{flush:"post"});function y(O){const $=O.currentTarget;l.value={width:$.naturalWidth,height:$.naturalHeight},i("load",$)}function A(O,$){return{x:O.x-$.left-$.width/2,y:O.y-$.top-$.height/2}}function N(O,$=o,k=$){R(Jd(c.value,O,$,k))}function D(O,$){const k=c.value;R({scale:k.scale,x:k.x+O,y:k.y+$})}function x(O){const $=_.value,{x:k,y:B}=c.value;return O.x?$.x-k*O.x>.5:$.y-B*O.y>.5}function F(O){const{width:$,height:k}=s.value;D(O.x*$*.75,O.y*k*.75)}function W(O){if(!g.value||O.deltaY===0||O.ctrlKey||O.metaKey)return;const $=O.deltaMode,k=O.deltaY*($===1?16:$===2?s.value.height:1);O.preventDefault(),N(c.value.scale*Math.exp(-k*.002),A({x:O.clientX,y:O.clientY},O.currentTarget.getBoundingClientRect()))}function z(O){!g.value||O.button!==0||O.pointerType!=="touch"&&(!m.value||u.size>0)||u.size>0&&(d!=="touch"||u.size===2)||(O.currentTarget.setPointerCapture(O.pointerId),d=O.pointerType,u.set(O.pointerId,{x:O.clientX,y:O.clientY}),h.value=u.size)}function Q(O,$){return{x:(O.x+$.x)/2,y:(O.y+$.y)/2}}function ne(O){const $=u.get(O.pointerId);if(!$)return;const k={x:O.clientX,y:O.clientY};if(u.set(O.pointerId,k),u.size===1){m.value&&D(k.x-$.x,k.y-$.y);return}const[B,J]=u.values(),ie=B===k?J:B,X=Math.hypot($.x-ie.x,$.y-ie.y),Ce=Math.hypot(k.x-ie.x,k.y-ie.y);if(X<1)return;const Ae=O.currentTarget.getBoundingClientRect();N(c.value.scale*(Ce/X),A(Q($,ie),Ae),A(Q(k,ie),Ae))}function re(O){u.delete(O.pointerId)&&(h.value=u.size)}function ee(O){if(!m.value||O.altKey||O.ctrlKey||O.metaKey||O.shiftKey)return;const k={ArrowLeft:[40,0],ArrowRight:[-40,0],ArrowUp:[0,40],ArrowDown:[0,-40]}[O.key];k&&(O.preventDefault(),D(k[0],k[1]))}return(O,$)=>(He(),et("div",Xd,[jn("div",{ref_key:"viewport",ref:a,class:Jt(["mar-image-preview-viewport",{"can-pan":m.value,"is-panning":m.value&&h.value===1}]),tabindex:m.value?0:void 0,role:"group","aria-label":m.value?ce(Ge)("imageViewport.panWithArrows"):void 0,onWheel:W,onPointerdown:z,onPointermove:ne,onPointerup:re,onPointercancel:re,onLostpointercapture:re,onKeydown:ee},[ln(jn("img",{class:Jt(["mar-image-preview-image",e.imageClass]),src:e.src,alt:e.alt,style:li({transform:`translate(${c.value.x}px, ${c.value.y}px) scale(${c.value.scale})`}),decoding:"async",draggable:"false",onLoad:y,onError:$[0]||($[0]=k=>i("error"))},null,46,jd),[[_s,g.value]])],42,Vd),v.value&&!e.externalControls?(He(),et("div",{key:0,class:"mar-image-preview-actions",style:li(w.value)},[O.$slots.actions?(He(),et("div",Qd,[On(O.$slots,"actions",{},void 0,!0)])):Xt("",!0),Tt(Wd,{controls:v.value},null,8,["controls"])],4)):Xt("",!0)]))}}),Kf=Vt(ef,[["__scopeId","data-v-9e9d3153"]]),tf=["aria-label"],nf=Mt({__name:"FilePreviewLoading",props:{overlay:{type:Boolean,default:!1},variant:{default:"region"}},setup(e){return(t,n)=>(He(),et("div",{class:Jt(["file-preview-loading",{"is-overlay":e.overlay,"mar-page-loading-state":e.variant==="page"}]),role:"status","aria-live":"polite","aria-busy":"true","aria-label":ce(Ge)("generated.filePreviewDialog.loadingPreview")},[Tt(ce(oa))],10,tf))}}),qf=Vt(nf,[["__scopeId","data-v-ef38cb10"]]),rf={class:"file-preview-state"},of={key:0,role:"status"},af=Mt({__name:"FilePreviewState",props:{message:{},retryable:{type:Boolean},retrying:{type:Boolean}},emits:["retry"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=na("retryButton");return t({hasRetryFocus:()=>o.value?.ref===document.activeElement}),(a,s)=>(He(),et("section",rf,[e.retrying?Xt("",!0):(He(),et("p",of,ui(e.message),1)),On(a.$slots,"actions",{},()=>[e.retryable?(He(),Vn(ce(wn),{key:0,ref_key:"retryButton",ref:o,link:"","aria-disabled":e.retrying||void 0,"aria-busy":e.retrying||void 0,"aria-label":e.retrying?ce(Ge)("generated.filePreviewDialog.loadingPreview"):void 0,onClick:s[0]||(s[0]=l=>!r.retrying&&i("retry"))},{default:yn(()=>[e.retrying?(He(),Vn(ce(oa),{key:0,class:"preview-retry-spinner"})):(He(),et(ra,{key:1},[ia(ui(ce(Ge)("common.retry")),1)],64))]),_:1},8,["aria-disabled","aria-busy","aria-label"])):Xt("",!0)],!0)]))}}),Wf=Vt(af,[["__scopeId","data-v-05ce3a95"]]);export{Gf as $,Uf as A,$f as B,Bf as C,Mf as D,Lf as E,qf as F,zf as G,hf as H,yi as I,xf as J,yf as K,Wf as L,Ef as M,Es as N,Hf as O,Af as P,kf as Q,Wd as R,As as S,Dd as T,Kf as U,Ts as V,An as W,Rf as X,Gd as Y,uf as Z,pf as _,ff as a,Tf as a0,Ff as a1,gf as b,bf as c,df as d,wf as e,Df as f,da as g,Nf as h,Sf as i,Of as j,Cf as k,Os as l,Ls as m,ys as n,Rs as o,mf as p,Cs as q,_f as r,di as s,vf as t,Pd as u,Hd as v,If as w,Pf as x,zd as y,$d as z};
|