@rohansguliani/mux-chat-ui 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -55
- package/dist/testing.d.ts +17 -13
- package/dist/testing.js +72 -58
- package/kit/THIRD_PARTY_NOTICES.txt +3696 -0
- package/kit/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/kit/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/kit/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/kit/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/kit/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/kit/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/kit/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/kit/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/kit/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/kit/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/kit/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/kit/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/kit/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/kit/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/kit/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/kit/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/kit/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/kit/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/kit/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/kit/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/kit/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/kit/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/kit/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/kit/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/kit/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/kit/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/kit/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/kit/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/kit/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/kit/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/kit/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/kit/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/kit/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/kit/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/kit/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/kit/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/kit/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/kit/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/kit/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/kit/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/kit/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/kit/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/kit/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/kit/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/kit/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/kit/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/kit/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/kit/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/kit/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/kit/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/kit/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/kit/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/kit/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/kit/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/kit/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/kit/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/kit/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/kit/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/kit/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/kit/assets/abap-Dg923wIy.js +1 -0
- package/kit/assets/actionscript-3-CqOcUQ0w.js +1 -0
- package/kit/assets/ada-CTi7YQtL.js +1 -0
- package/kit/assets/ahk-BJYYIeOs.js +1 -0
- package/kit/assets/ahk2-BLfzmBxo.js +1 -0
- package/kit/assets/andromeeda-CT0vplkN.js +1 -0
- package/kit/assets/angular-html-DX9ZP5JV.js +1 -0
- package/kit/assets/angular-ts-1O2hJJmY.js +1 -0
- package/kit/assets/apache-PcO-DBxQ.js +1 -0
- package/kit/assets/apex-B4ts4Pdn.js +1 -0
- package/kit/assets/apl-Dz5ncP8G.js +1 -0
- package/kit/assets/applescript-Ds_W2jPS.js +1 -0
- package/kit/assets/ara-C1--7J61.js +1 -0
- package/kit/assets/asciidoc-DaaWi4fn.js +1 -0
- package/kit/assets/asm-CTFRnVOM.js +1 -0
- package/kit/assets/astro-BWgTGUF8.js +1 -0
- package/kit/assets/aurora-x-C0VKFdlO.js +1 -0
- package/kit/assets/awk-CrWgQKhV.js +1 -0
- package/kit/assets/ayu-dark-wZ6ORhBL.js +1 -0
- package/kit/assets/ayu-light-xXLJ_Ch1.js +1 -0
- package/kit/assets/ayu-mirage-CQckA_sP.js +1 -0
- package/kit/assets/ballerina-a0yOSyc5.js +1 -0
- package/kit/assets/bat-C1qk1Jq1.js +1 -0
- package/kit/assets/beancount-dPJi_gci.js +1 -0
- package/kit/assets/berry-CVKoklHx.js +1 -0
- package/kit/assets/bibtex-DRcCXNgM.js +1 -0
- package/kit/assets/bicep-jWz-hQ8I.js +1 -0
- package/kit/assets/bird2-wc5D5_X9.js +1 -0
- package/kit/assets/blade-DFktsHST.js +1 -0
- package/kit/assets/bsl-BtUDvyR4.js +1 -0
- package/kit/assets/c-BG-tZi7o.js +1 -0
- package/kit/assets/c3-R-USHpyF.js +1 -0
- package/kit/assets/cadence-BuaeHeSu.js +1 -0
- package/kit/assets/cairo-BYiDgOF2.js +1 -0
- package/kit/assets/catppuccin-frappe-CquLvoVK.js +1 -0
- package/kit/assets/catppuccin-latte-G5tdnGFo.js +1 -0
- package/kit/assets/catppuccin-macchiato-BZRq1pKO.js +1 -0
- package/kit/assets/catppuccin-mocha-Bbf5uIw6.js +1 -0
- package/kit/assets/chapel-D6IdCptL.js +1 -0
- package/kit/assets/clarity-BJ-KISir.js +1 -0
- package/kit/assets/clojure-KnfDkB_V.js +1 -0
- package/kit/assets/cmake-bh2MLnkv.js +1 -0
- package/kit/assets/cobol-DbURsbuN.js +1 -0
- package/kit/assets/codeowners-CtwIM3TN.js +1 -0
- package/kit/assets/codeql-D164juXQ.js +1 -0
- package/kit/assets/coffee-Bk-z6oI_.js +1 -0
- package/kit/assets/common-lisp-DXc9XcIM.js +1 -0
- package/kit/assets/coq-BIZj6HM_.js +1 -0
- package/kit/assets/cpp-C-tF_bWl.js +1 -0
- package/kit/assets/crystal-Dvqzbpz8.js +1 -0
- package/kit/assets/csharp-CFxe5pRo.js +1 -0
- package/kit/assets/css-Br67jR8j.js +1 -0
- package/kit/assets/csv-D5aBhKLr.js +1 -0
- package/kit/assets/cue-WCin6O4e.js +1 -0
- package/kit/assets/cypher-DYQk2G82.js +1 -0
- package/kit/assets/d-DVc-yF-l.js +1 -0
- package/kit/assets/dark-plus-DLU5INA3.js +1 -0
- package/kit/assets/dart-ByalkS20.js +1 -0
- package/kit/assets/dax-oldcCaJg.js +1 -0
- package/kit/assets/desktop-DZfyBMgF.js +1 -0
- package/kit/assets/diff-jW5kmiru.js +1 -0
- package/kit/assets/docker-DG9neUKd.js +1 -0
- package/kit/assets/dotenv-Bea-FkXq.js +1 -0
- package/kit/assets/dracula-XcYHBZy6.js +1 -0
- package/kit/assets/dracula-soft-BPeX9gxW.js +1 -0
- package/kit/assets/dream-maker-DAHQwpwp.js +1 -0
- package/kit/assets/edge-DTiORMU5.js +1 -0
- package/kit/assets/elixir-DnIH90qd.js +1 -0
- package/kit/assets/elm-BjIDgKzz.js +1 -0
- package/kit/assets/emacs-lisp-Ckw2FTkV.js +1 -0
- package/kit/assets/erb-CazEJMPD.js +1 -0
- package/kit/assets/erlang-DNeY46SW.js +1 -0
- package/kit/assets/everforest-dark-WOub3wle.js +1 -0
- package/kit/assets/everforest-light-DCUg8VH8.js +1 -0
- package/kit/assets/fennel-DBMsxtrh.js +1 -0
- package/kit/assets/fish-BxskpYPN.js +1 -0
- package/kit/assets/fluent-Bwo2XpEt.js +1 -0
- package/kit/assets/fortran-fixed-form-DFFnVrrY.js +1 -0
- package/kit/assets/fortran-free-form-DB5N_DgY.js +1 -0
- package/kit/assets/fsharp-DRAF1jsN.js +1 -0
- package/kit/assets/gdresource-B0Kp4-ms.js +1 -0
- package/kit/assets/gdscript-DKyjuXKv.js +1 -0
- package/kit/assets/gdshader-G7X6ysY3.js +1 -0
- package/kit/assets/genie-DSsjfZMX.js +1 -0
- package/kit/assets/gherkin-Cl2Fw-_0.js +1 -0
- package/kit/assets/git-commit-CJPsQObV.js +1 -0
- package/kit/assets/git-rebase-DeZqv4fp.js +1 -0
- package/kit/assets/github-dark-BQV5ugrc.js +1 -0
- package/kit/assets/github-dark-default-DLWDM7FH.js +1 -0
- package/kit/assets/github-dark-dimmed-D1FmiR_p.js +1 -0
- package/kit/assets/github-dark-high-contrast-BilLoi0o.js +1 -0
- package/kit/assets/github-light-Rcb2q3L5.js +1 -0
- package/kit/assets/github-light-default-CQ75esMw.js +1 -0
- package/kit/assets/github-light-high-contrast-CRF1wyLy.js +1 -0
- package/kit/assets/gleam-BeBqoPwE.js +1 -0
- package/kit/assets/glimmer-js-F_qk9EQT.js +1 -0
- package/kit/assets/glimmer-ts-Dhzi-GJU.js +1 -0
- package/kit/assets/glsl-BOG9l2nV.js +1 -0
- package/kit/assets/gn-Dxr0sSUf.js +1 -0
- package/kit/assets/gnuplot-CtW3R_Hz.js +1 -0
- package/kit/assets/go-B7VTfpnm.js +1 -0
- package/kit/assets/graphql-B6XHM4uj.js +1 -0
- package/kit/assets/groovy-DFxE31Qs.js +1 -0
- package/kit/assets/gruvbox-dark-hard-C37G1gbc.js +1 -0
- package/kit/assets/gruvbox-dark-medium-C3G9m3TV.js +1 -0
- package/kit/assets/gruvbox-dark-soft-eZmcmZ9I.js +1 -0
- package/kit/assets/gruvbox-light-hard-BYj-vz_3.js +1 -0
- package/kit/assets/gruvbox-light-medium-BdQlDiiF.js +1 -0
- package/kit/assets/gruvbox-light-soft-BGNwjiRh.js +1 -0
- package/kit/assets/hack-jRhjsWHJ.js +1 -0
- package/kit/assets/haml-C4vGXCDX.js +1 -0
- package/kit/assets/handlebars-BsldGL5W.js +1 -0
- package/kit/assets/haskell-BfdhR_WN.js +1 -0
- package/kit/assets/haxe-wmAaY_mP.js +1 -0
- package/kit/assets/hcl-B6OePqme.js +1 -0
- package/kit/assets/hjson-D2jn7IRw.js +1 -0
- package/kit/assets/hlsl-MKeth5V9.js +1 -0
- package/kit/assets/horizon-bright-BVMyA0so.js +1 -0
- package/kit/assets/horizon-cslQss18.js +1 -0
- package/kit/assets/houston-RHIKkNfR.js +1 -0
- package/kit/assets/html-BW_6VhB7.js +1 -0
- package/kit/assets/html-derivative-BxANmYVz.js +1 -0
- package/kit/assets/http-CG3jvXcS.js +1 -0
- package/kit/assets/hurl-CxQrh4RI.js +1 -0
- package/kit/assets/hxml-In6F2XHE.js +1 -0
- package/kit/assets/hy-DI6mCUnw.js +1 -0
- package/kit/assets/imba-D-Pk5S0X.js +1 -0
- package/kit/assets/index-CN35FGBT.js +2 -0
- package/kit/assets/index-CvcU6KJI.js +2 -0
- package/kit/assets/index-DKDjvsnq.js +12 -0
- package/kit/assets/ini-Dix3pTmg.js +1 -0
- package/kit/assets/java-BTDmaRNO.js +1 -0
- package/kit/assets/javascript-WyGyM1wV.js +1 -0
- package/kit/assets/jinja-CGKoJZuT.js +1 -0
- package/kit/assets/jison-B9XHrcYJ.js +1 -0
- package/kit/assets/json-B8JryHcM.js +1 -0
- package/kit/assets/json5-Cdatmj9n.js +1 -0
- package/kit/assets/jsonc-CvUCa1o5.js +1 -0
- package/kit/assets/jsonl-9I_GBd5L.js +1 -0
- package/kit/assets/jsonnet-XoenQ2oc.js +1 -0
- package/kit/assets/jssm-CWE2S0Z5.js +1 -0
- package/kit/assets/jsx-8cLv2Six.js +1 -0
- package/kit/assets/julia-CHsXSRRi.js +1 -0
- package/kit/assets/just-BhMjiL1x.js +1 -0
- package/kit/assets/kanagawa-dragon-elpLL9d7.js +1 -0
- package/kit/assets/kanagawa-lotus-qwxsXd6N.js +1 -0
- package/kit/assets/kanagawa-wave-CmHwPSUq.js +1 -0
- package/kit/assets/katex-HP8lGamR.js +257 -0
- package/kit/assets/kdl-CMbyIXjQ.js +1 -0
- package/kit/assets/kotlin-BQy537ds.js +1 -0
- package/kit/assets/kusto-Bh6esMjd.js +1 -0
- package/kit/assets/laserwave-si7wuSrt.js +1 -0
- package/kit/assets/latex-l4EWm08Q.js +1 -0
- package/kit/assets/lean-C4RHkN41.js +1 -0
- package/kit/assets/less-XNfgnZC7.js +1 -0
- package/kit/assets/light-plus-g_Fi9vkG.js +1 -0
- package/kit/assets/liquid-VEiCTF4k.js +1 -0
- package/kit/assets/llvm-CQZjIlnZ.js +1 -0
- package/kit/assets/log-CcaF_xNv.js +1 -0
- package/kit/assets/logo-D9WQLoKQ.js +1 -0
- package/kit/assets/lua-8Av-h-ns.js +1 -0
- package/kit/assets/luau-CmQFRJk_.js +1 -0
- package/kit/assets/make-DXVx14cr.js +1 -0
- package/kit/assets/markdown-DX-TNHnc.js +1 -0
- package/kit/assets/markdown-parse.worker-D0WrtDJ7.js +59 -0
- package/kit/assets/markdown.worker-DQJC0QHv.js +83 -0
- package/kit/assets/marko-6XzqJfhW.js +1 -0
- package/kit/assets/material-theme-CIJ3cGaW.js +1 -0
- package/kit/assets/material-theme-darker-BWg3m1GB.js +1 -0
- package/kit/assets/material-theme-lighter-DR8HWMN7.js +1 -0
- package/kit/assets/material-theme-ocean-CZf9pk28.js +1 -0
- package/kit/assets/material-theme-palenight-BF01YeZy.js +1 -0
- package/kit/assets/matlab-DzreyMvm.js +1 -0
- package/kit/assets/mdc-DRPSCe6f.js +1 -0
- package/kit/assets/mdx-C2fqO2XY.js +1 -0
- package/kit/assets/mermaid-B3PwCbv_.js +1 -0
- package/kit/assets/min-dark-DhfaepVE.js +1 -0
- package/kit/assets/min-light-6xx0uMgm.js +1 -0
- package/kit/assets/mipsasm-yE_Aqo9y.js +1 -0
- package/kit/assets/mojo-DoyaMtMQ.js +1 -0
- package/kit/assets/monokai-CfflZzqd.js +1 -0
- package/kit/assets/moonbit-GUn1DCOq.js +1 -0
- package/kit/assets/move-DgW29s8x.js +1 -0
- package/kit/assets/narrat-DXUZ_ZkW.js +1 -0
- package/kit/assets/nextflow-D9i3Mg89.js +1 -0
- package/kit/assets/nextflow-groovy-BtKenbWl.js +1 -0
- package/kit/assets/nginx-DSXkacNc.js +1 -0
- package/kit/assets/night-owl-EdP2Hztp.js +1 -0
- package/kit/assets/night-owl-light-Bk-lYVyk.js +1 -0
- package/kit/assets/nim-D9lokC5T.js +1 -0
- package/kit/assets/nix-Ckjrpg0r.js +1 -0
- package/kit/assets/nord-BAu0wM6c.js +1 -0
- package/kit/assets/nsis-C1FUr9r5.js +1 -0
- package/kit/assets/nushell-D7aJuCS6.js +1 -0
- package/kit/assets/objective-c-BoaBTdtz.js +1 -0
- package/kit/assets/objective-cpp-DstR8hNy.js +1 -0
- package/kit/assets/ocaml-DTbn2Hv7.js +1 -0
- package/kit/assets/odin-Bxc4S6Xn.js +1 -0
- package/kit/assets/one-dark-pro-utPxbBbJ.js +1 -0
- package/kit/assets/one-light-BuCQ22aO.js +1 -0
- package/kit/assets/openscad-CXHpNBsb.js +1 -0
- package/kit/assets/org-DcqggXXW.js +1 -0
- package/kit/assets/pascal-Sr-XLSE6.js +1 -0
- package/kit/assets/perl-CP_GSK0L.js +1 -0
- package/kit/assets/php-CNeTOyEV.js +1 -0
- package/kit/assets/pkl-CRusufhw.js +1 -0
- package/kit/assets/plastic-CXnNNlFZ.js +1 -0
- package/kit/assets/plsql-Dbm3tV2N.js +1 -0
- package/kit/assets/po-LG0lFwH4.js +1 -0
- package/kit/assets/poimandres-BrOVMvuE.js +1 -0
- package/kit/assets/polar-DjOs3GWb.js +1 -0
- package/kit/assets/postcss-GRRkWn2F.js +1 -0
- package/kit/assets/powerquery-DHf-dtTS.js +1 -0
- package/kit/assets/powershell-CUnxWBRw.js +1 -0
- package/kit/assets/prisma-HKDfktb8.js +1 -0
- package/kit/assets/prolog-9JcfiY6I.js +1 -0
- package/kit/assets/proto-dqx_Sj2i.js +1 -0
- package/kit/assets/pug-kUpeg2wB.js +1 -0
- package/kit/assets/puppet-Di57VbSS.js +1 -0
- package/kit/assets/purescript-BgpM7rDH.js +1 -0
- package/kit/assets/python-B6Ihcp-E.js +1 -0
- package/kit/assets/qml-DmGQGbca.js +1 -0
- package/kit/assets/qmldir-DXd9s5XC.js +1 -0
- package/kit/assets/qss-B7NnhfIi.js +1 -0
- package/kit/assets/r-C2sK8mqY.js +1 -0
- package/kit/assets/racket-CeDx7KO2.js +1 -0
- package/kit/assets/raku-BMJwmrCS.js +1 -0
- package/kit/assets/razor-C2a5o_rD.js +1 -0
- package/kit/assets/rbs-BNdQsBCU.js +1 -0
- package/kit/assets/red-D0qvOrrt.js +1 -0
- package/kit/assets/reg-Cvyu2Gnx.js +1 -0
- package/kit/assets/regexp-DK-WlHNu.js +1 -0
- package/kit/assets/rel-BlqNHz8k.js +1 -0
- package/kit/assets/riscv-C5dpdlr7.js +1 -0
- package/kit/assets/ron-j5NfrB3z.js +1 -0
- package/kit/assets/rose-pine-B13eftVv.js +1 -0
- package/kit/assets/rose-pine-dawn-BcSoidev.js +1 -0
- package/kit/assets/rose-pine-moon-QhZovmiB.js +1 -0
- package/kit/assets/rosmsg-ZkSIzPhc.js +1 -0
- package/kit/assets/rst-CgFL6KOR.js +1 -0
- package/kit/assets/ruby-CoSFdlpl.js +1 -0
- package/kit/assets/rust-CxuBE0J8.js +1 -0
- package/kit/assets/sas-DPMpzP9X.js +1 -0
- package/kit/assets/sass-bfEVHPJ8.js +1 -0
- package/kit/assets/scala-DT3kbCHL.js +1 -0
- package/kit/assets/scheme-OJppFQF3.js +1 -0
- package/kit/assets/scss-n48HZsmL.js +1 -0
- package/kit/assets/sdbl-CvZs3G9c.js +1 -0
- package/kit/assets/shaderlab-CEJedz68.js +1 -0
- package/kit/assets/shellscript-DgJyDXW6.js +1 -0
- package/kit/assets/shellsession-DSlzxnCM.js +1 -0
- package/kit/assets/slack-dark-CWRQmTmo.js +1 -0
- package/kit/assets/slack-ochin-DO_ok7XK.js +1 -0
- package/kit/assets/smalltalk-De6KzMWc.js +1 -0
- package/kit/assets/smithy-BVTkKWO9.js +1 -0
- package/kit/assets/snazzy-light-B5llO_gK.js +1 -0
- package/kit/assets/solarized-dark-BWFpDpV1.js +1 -0
- package/kit/assets/solarized-light-eZCMDrWD.js +1 -0
- package/kit/assets/solidity-SYSxO-p1.js +1 -0
- package/kit/assets/soy-DEV4yxgM.js +1 -0
- package/kit/assets/sparql-BJh4JEw-.js +1 -0
- package/kit/assets/splunk-h-bNAnbk.js +1 -0
- package/kit/assets/sprite-Fb-TFjRY.svg +11707 -0
- package/kit/assets/sql-Dq2MiB0T.js +1 -0
- package/kit/assets/ssh-config-CywOjoXH.js +1 -0
- package/kit/assets/stata-BcICKvEt.js +1 -0
- package/kit/assets/stylus-CIg617SB.js +1 -0
- package/kit/assets/surrealql-CWlK9SzL.js +1 -0
- package/kit/assets/svelte-B-Z8GLL9.js +1 -0
- package/kit/assets/swift-CGD9CJBj.js +1 -0
- package/kit/assets/synthwave-84-DRVv-_m_.js +1 -0
- package/kit/assets/system-verilog-CG_VWOG3.js +1 -0
- package/kit/assets/systemd-DKMPPZjB.js +1 -0
- package/kit/assets/talonscript-eRuyeYHl.js +1 -0
- package/kit/assets/tasl-B9CVvjfG.js +1 -0
- package/kit/assets/tcl-Bq9dbVAF.js +1 -0
- package/kit/assets/templ-W185oS4p.js +1 -0
- package/kit/assets/terraform-CAp711iT.js +1 -0
- package/kit/assets/tex-DNkCctwf.js +1 -0
- package/kit/assets/tokyo-night-BvwC8l2v.js +1 -0
- package/kit/assets/toml-Ms459DBw.js +1 -0
- package/kit/assets/ts-tags-xUT7JH_c.js +1 -0
- package/kit/assets/tsv-BFtm7NXx.js +1 -0
- package/kit/assets/tsx-D6116Ycy.js +1 -0
- package/kit/assets/turtle-DpRhbQZY.js +1 -0
- package/kit/assets/twig-k5g5DPXm.js +1 -0
- package/kit/assets/typescript-BqvgUolh.js +1 -0
- package/kit/assets/typespec-B09nCZui.js +1 -0
- package/kit/assets/typst-Dfd71gQj.js +1 -0
- package/kit/assets/v-DUsAht2M.js +1 -0
- package/kit/assets/vala-z59IxkFd.js +1 -0
- package/kit/assets/vb-A7jYO8Gn.js +1 -0
- package/kit/assets/verilog-jqltjd44.js +1 -0
- package/kit/assets/vesper-DxfWgk_t.js +1 -0
- package/kit/assets/vhdl-DJCsFYgn.js +1 -0
- package/kit/assets/viml-pbKHW3Ia.js +1 -0
- package/kit/assets/vitesse-black-B_BYPdvp.js +1 -0
- package/kit/assets/vitesse-dark-DOSOf2Sz.js +1 -0
- package/kit/assets/vitesse-light-gUX51GpB.js +1 -0
- package/kit/assets/vue-D2T8AFdP.js +1 -0
- package/kit/assets/vue-html-zEfNEgpj.js +1 -0
- package/kit/assets/vue-vine-DQRWX4iy.js +1 -0
- package/kit/assets/vyper-DpazWNpx.js +1 -0
- package/kit/assets/wasm-CFi-k9--.js +1 -0
- package/kit/assets/wasm-CG6Dc4jp.js +1 -0
- package/kit/assets/wenyan-CYFFG9DK.js +1 -0
- package/kit/assets/wgsl-CxjTZs-b.js +1 -0
- package/kit/assets/wikitext-Bx2qct8O.js +1 -0
- package/kit/assets/wit-DDW3hD69.js +1 -0
- package/kit/assets/wolfram-pu21K997.js +1 -0
- package/kit/assets/worker-DPHDIlCt.js +156 -0
- package/kit/assets/xml-BkAJuBCc.js +1 -0
- package/kit/assets/xsl-C6UUWSil.js +1 -0
- package/kit/assets/yaml-Bopit2L3.js +1 -0
- package/kit/assets/zenscript-BIAKq-aR.js +1 -0
- package/kit/assets/zig-bSFrHQ7n.js +1 -0
- package/kit/build.json +3 -0
- package/kit/chunks/abap-BdImnpbu.js +1 -0
- package/kit/chunks/abnfDiagram-VCTEODGH-Ekbmv6AY.js +1 -0
- package/kit/chunks/actionscript-3-B3316cI-.js +1 -0
- package/kit/chunks/ada-bCR0ucgS.js +1 -0
- package/kit/chunks/ahk-CsyLZFj1.js +1 -0
- package/kit/chunks/ahk2-8Zs4aa1G.js +1 -0
- package/kit/chunks/andromeeda-C4gqWexZ.js +1 -0
- package/kit/chunks/angular-html-DA-rfuFy.js +1 -0
- package/kit/chunks/angular-ts-BrjP3tb8.js +1 -0
- package/kit/chunks/apache-Pmp26Uib.js +1 -0
- package/kit/chunks/apex-DhZFqWV2.js +1 -0
- package/kit/chunks/apl-CORt7UWP.js +1 -0
- package/kit/chunks/app-chat-kit-CmncbKE7.js +885 -0
- package/kit/chunks/applescript-Co6uUVPk.js +1 -0
- package/kit/chunks/ara-BRHolxvo.js +1 -0
- package/kit/chunks/arc-CTvemvxA.js +1 -0
- package/kit/chunks/architecture-7GRP2DOG-Ek37_97Z.js +1 -0
- package/kit/chunks/architectureDiagram-5GKGNRK7-Dfo6x88c.js +36 -0
- package/kit/chunks/asciidoc-CSVQ5wI8.js +1 -0
- package/kit/chunks/asm-D_Q5rh1f.js +1 -0
- package/kit/chunks/astro-HNnZUWAn.js +1 -0
- package/kit/chunks/aurora-x-D-2ljcwZ.js +1 -0
- package/kit/chunks/awk-DMzUqQB5.js +1 -0
- package/kit/chunks/ayu-dark-DYE7WIF3.js +1 -0
- package/kit/chunks/ayu-light-BA47KaF1.js +1 -0
- package/kit/chunks/ayu-mirage-32ctXXKs.js +1 -0
- package/kit/chunks/ballerina-BFfxhgS-.js +1 -0
- package/kit/chunks/bat-CickPsom.js +1 -0
- package/kit/chunks/beancount-k_qm7-4y.js +1 -0
- package/kit/chunks/berry-uYugtg8r.js +1 -0
- package/kit/chunks/bibtex-CHM0blh-.js +1 -0
- package/kit/chunks/bicep-Bmn6On1c.js +1 -0
- package/kit/chunks/bird2-Bx8U0n9b.js +1 -0
- package/kit/chunks/blade-2xfisSek.js +1 -0
- package/kit/chunks/blockDiagram-NRAW4CY4-BREhUg_n.js +129 -0
- package/kit/chunks/bsl-DlhNcFeZ.js +1 -0
- package/kit/chunks/c-BIGW1oBm.js +1 -0
- package/kit/chunks/c3-Dp5svz6Z.js +1 -0
- package/kit/chunks/c4Diagram-UCG6FXSJ-CAoiRqwq.js +38 -0
- package/kit/chunks/cadence-Bv_4Rxtq.js +1 -0
- package/kit/chunks/cairo-KRGpt6FW.js +1 -0
- package/kit/chunks/catppuccin-frappe-CZL1YF0i.js +1 -0
- package/kit/chunks/catppuccin-latte-DH-8KZSZ.js +1 -0
- package/kit/chunks/catppuccin-macchiato-B7yYVSCf.js +1 -0
- package/kit/chunks/catppuccin-mocha-Ct7hS0mc.js +1 -0
- package/kit/chunks/channel-BCuymVz7.js +1 -0
- package/kit/chunks/chapel-DTp_pixX.js +1 -0
- package/kit/chunks/chunk-2Q5K7J3B-Dfj9NWMK.js +1 -0
- package/kit/chunks/chunk-5VM5RSS4-DDPHEz3o.js +15 -0
- package/kit/chunks/chunk-F27PBJKO-DjjkcfXV.js +1 -0
- package/kit/chunks/chunk-G27WJ6UU-BbKnleUj.js +231 -0
- package/kit/chunks/chunk-JWPE2WC7-CTyE03Ky.js +1 -0
- package/kit/chunks/chunk-LCL6LL3I-DLCIPv63.js +206 -0
- package/kit/chunks/chunk-POPQ4Y6H-vHDe0Ab2.js +1 -0
- package/kit/chunks/chunk-RHFEMEQ7-MYjE_XE-.js +168 -0
- package/kit/chunks/chunk-SVP7TREG-B-Z53M0l.js +88 -0
- package/kit/chunks/chunk-XXDRQBXY-Byur0hqD.js +1 -0
- package/kit/chunks/clarity-Dn5IMItf.js +1 -0
- package/kit/chunks/classDiagram-DTDB5LWJ-RWAJ513G.js +1 -0
- package/kit/chunks/classDiagram-v2-JRS7N3AN-RWAJ513G.js +1 -0
- package/kit/chunks/clojure-P80f7IUj.js +1 -0
- package/kit/chunks/cmake-D1j8_8rp.js +1 -0
- package/kit/chunks/cobol-nBiQ_Alo.js +1 -0
- package/kit/chunks/codeowners-Bp6g37R7.js +1 -0
- package/kit/chunks/codeql-DsOJ9woJ.js +1 -0
- package/kit/chunks/coffee-Ch7k5sss.js +1 -0
- package/kit/chunks/common-lisp-Cg-RD9OK.js +1 -0
- package/kit/chunks/coq-C7JzOVbR.js +1 -0
- package/kit/chunks/cose-bilkent-JH36ORCC-BJBTUpzs.js +1 -0
- package/kit/chunks/cpp-BMRokrvK.js +1 -0
- package/kit/chunks/crystal-DGywbUpC.js +1 -0
- package/kit/chunks/csharp-DSvCPggb.js +1 -0
- package/kit/chunks/css-CLj8gQPS.js +1 -0
- package/kit/chunks/csv-fuZLfV_i.js +1 -0
- package/kit/chunks/cue-D82EKSYY.js +1 -0
- package/kit/chunks/cynefin-OW5HDTMX-DximYq9_.js +1 -0
- package/kit/chunks/cynefinDiagram-5FMLGOSQ-C_H0NP3V.js +62 -0
- package/kit/chunks/cypher-COkxafJQ.js +1 -0
- package/kit/chunks/cytoscape.esm-CNiYdHpY.js +331 -0
- package/kit/chunks/d-85-TOEBH.js +1 -0
- package/kit/chunks/dagre-3AP2YEHR-B40iBpXe.js +4 -0
- package/kit/chunks/dark-plus-C3mMm8J8.js +1 -0
- package/kit/chunks/dart-bE4Kk8sk.js +1 -0
- package/kit/chunks/dax-CEL-wOlO.js +1 -0
- package/kit/chunks/defaultLocale-DX6XiGOO.js +1 -0
- package/kit/chunks/desktop-BmXAJ9_W.js +1 -0
- package/kit/chunks/diagram-S7CK7UJ4-B2xIXmUw.js +30 -0
- package/kit/chunks/diagram-UQ7AKVKN-DLWlOhvf.js +41 -0
- package/kit/chunks/diagram-VSXAHHWV-CtxWAwpJ.js +3 -0
- package/kit/chunks/diagram-VX7I27RA-C0oOsr2R.js +24 -0
- package/kit/chunks/diagram-Z3DM3KII-DguGhB-N.js +24 -0
- package/kit/chunks/diff-D97Zzqfu.js +1 -0
- package/kit/chunks/docker-BcOcwvcX.js +1 -0
- package/kit/chunks/dotenv-Da5cRb03.js +1 -0
- package/kit/chunks/dracula-BzJJZx-M.js +1 -0
- package/kit/chunks/dracula-soft-BXkSAIEj.js +1 -0
- package/kit/chunks/dream-maker-BtqSS_iP.js +1 -0
- package/kit/chunks/ebnfDiagram-PWID7BFC-CM2jytSc.js +1 -0
- package/kit/chunks/edge-FbVlp4U3.js +1 -0
- package/kit/chunks/elixir-CkH2-t6x.js +1 -0
- package/kit/chunks/elm-DbKCFpqz.js +1 -0
- package/kit/chunks/emacs-lisp-C_m_b--Z.js +1 -0
- package/kit/chunks/engine-compile-BrcillB_.js +152 -0
- package/kit/chunks/erDiagram-SSCWMZ5O-6AVzexk8.js +99 -0
- package/kit/chunks/erb-DXfck5VN.js +1 -0
- package/kit/chunks/erlang-DsQrWhSR.js +1 -0
- package/kit/chunks/eventmodeling-NTZA5JFV-i5VApXqj.js +1 -0
- package/kit/chunks/everforest-dark-BgDCqdQA.js +1 -0
- package/kit/chunks/everforest-light-C8M2exoo.js +1 -0
- package/kit/chunks/fennel-BYunw83y.js +1 -0
- package/kit/chunks/file-p1zS5m55.js +1524 -0
- package/kit/chunks/fish-BvzEVeQv.js +1 -0
- package/kit/chunks/flowDiagram-A5DVABFB-BXMY48By.js +1 -0
- package/kit/chunks/fluent-C4IJs8-o.js +1 -0
- package/kit/chunks/fortran-fixed-form-CkoXwp7k.js +1 -0
- package/kit/chunks/fortran-free-form-BxgE0vQu.js +1 -0
- package/kit/chunks/fsharp-CXgrBDvD.js +1 -0
- package/kit/chunks/ganttDiagram-EL5Y4UJY-CV7SNBW7.js +292 -0
- package/kit/chunks/gdresource-TyuKm33G.js +1 -0
- package/kit/chunks/gdscript-DqcFQ5yU.js +1 -0
- package/kit/chunks/gdshader-DkwncUOv.js +1 -0
- package/kit/chunks/genie-D0YGMca9.js +1 -0
- package/kit/chunks/gherkin-DyxjwDmM.js +1 -0
- package/kit/chunks/git-commit-F4YmCXRG.js +1 -0
- package/kit/chunks/git-rebase-r7XF79zn.js +1 -0
- package/kit/chunks/gitGraph-4MIJSDKK-J1V9VTkA.js +1 -0
- package/kit/chunks/gitGraphDiagram-WWUBYQGX-BCHc9w_M.js +106 -0
- package/kit/chunks/github-dark-DHJKELXO.js +1 -0
- package/kit/chunks/github-dark-default-Cuk6v7N8.js +1 -0
- package/kit/chunks/github-dark-dimmed-DH5Ifo-i.js +1 -0
- package/kit/chunks/github-dark-high-contrast-E3gJ1_iC.js +1 -0
- package/kit/chunks/github-light-DAi9KRSo.js +1 -0
- package/kit/chunks/github-light-default-D7oLnXFd.js +1 -0
- package/kit/chunks/github-light-high-contrast-BfjtVDDH.js +1 -0
- package/kit/chunks/gleam-BspZqrRM.js +1 -0
- package/kit/chunks/glimmer-js-ByusRIyA.js +1 -0
- package/kit/chunks/glimmer-ts-BfAWNZQY.js +1 -0
- package/kit/chunks/glsl-DplSGwfg.js +1 -0
- package/kit/chunks/gn-n2N0HUVH.js +1 -0
- package/kit/chunks/gnuplot-DdkO51Og.js +1 -0
- package/kit/chunks/go-C27-OAKa.js +1 -0
- package/kit/chunks/graphql-ChdNCCLP.js +1 -0
- package/kit/chunks/groovy-gcz8RCvz.js +1 -0
- package/kit/chunks/gruvbox-dark-hard-CFHQjOhq.js +1 -0
- package/kit/chunks/gruvbox-dark-medium-GsRaNv29.js +1 -0
- package/kit/chunks/gruvbox-dark-soft-CVdnzihN.js +1 -0
- package/kit/chunks/gruvbox-light-hard-CH1njM8p.js +1 -0
- package/kit/chunks/gruvbox-light-medium-DRw_LuNl.js +1 -0
- package/kit/chunks/gruvbox-light-soft-hJgmCMqR.js +1 -0
- package/kit/chunks/hack-BWmVpMyf.js +1 -0
- package/kit/chunks/haml-D5jkg6IW.js +1 -0
- package/kit/chunks/handlebars-BpdQsYii.js +1 -0
- package/kit/chunks/haskell-Df6bDoY_.js +1 -0
- package/kit/chunks/haxe-CfZj7gIn.js +1 -0
- package/kit/chunks/hcl-BWvSN4gD.js +1 -0
- package/kit/chunks/hjson-D5-asLiD.js +1 -0
- package/kit/chunks/hlsl-D3lLCCz7.js +1 -0
- package/kit/chunks/horizon-BUw7H-hv.js +1 -0
- package/kit/chunks/horizon-bright-CUuTKBJd.js +1 -0
- package/kit/chunks/houston-DnULxvSX.js +1 -0
- package/kit/chunks/html-derivative-DlHx6ybY.js +1 -0
- package/kit/chunks/html-pp8916En.js +1 -0
- package/kit/chunks/http-jrhK8wxY.js +1 -0
- package/kit/chunks/hurl-irOxFIW8.js +1 -0
- package/kit/chunks/hxml-2-FPmUDs.js +1 -0
- package/kit/chunks/hy-DFXneXwc.js +1 -0
- package/kit/chunks/imba-DGztddWO.js +1 -0
- package/kit/chunks/index-CN35FGBT.js +2 -0
- package/kit/chunks/index-CvcU6KJI.js +2 -0
- package/kit/chunks/index-CzdAxbXm.js +1 -0
- package/kit/chunks/index-D-Q6ihx1.js +518 -0
- package/kit/chunks/info-A6RAGUB7-Df1RDY9x.js +1 -0
- package/kit/chunks/infoDiagram-RXCK75RN-DkViDaAy.js +2 -0
- package/kit/chunks/ini-BEwlwnbL.js +1 -0
- package/kit/chunks/init-Gi6I4Gst.js +1 -0
- package/kit/chunks/ishikawaDiagram-5VMMS53U-DxEqVVmG.js +70 -0
- package/kit/chunks/java-CylS5w8V.js +1 -0
- package/kit/chunks/javascript-wDzz0qaB.js +1 -0
- package/kit/chunks/jinja-f2NsQr07.js +1 -0
- package/kit/chunks/jison-wvAkD_A8.js +1 -0
- package/kit/chunks/journeyDiagram-EYS64GPL-C6PuEAZM.js +139 -0
- package/kit/chunks/json-Cp-IABpG.js +1 -0
- package/kit/chunks/json5-C9tS-k6U.js +1 -0
- package/kit/chunks/jsonc-Des-eS-w.js +1 -0
- package/kit/chunks/jsonl-DcaNXYhu.js +1 -0
- package/kit/chunks/jsonnet-DFQXde-d.js +1 -0
- package/kit/chunks/jssm-C2t-YnRu.js +1 -0
- package/kit/chunks/jsx-g9-lgVsj.js +1 -0
- package/kit/chunks/julia-5Bft2YPA.js +1 -0
- package/kit/chunks/just-Cwhn7H3k.js +1 -0
- package/kit/chunks/kanagawa-dragon-BuwD2xS4.js +1 -0
- package/kit/chunks/kanagawa-lotus-C3DzagqV.js +1 -0
- package/kit/chunks/kanagawa-wave-DFGoQZhC.js +1 -0
- package/kit/chunks/kanban-definition-3QL26DDD-DOTf6YFB.js +89 -0
- package/kit/chunks/katex-HP8lGamR.js +257 -0
- package/kit/chunks/kdl-DV7GczEv.js +1 -0
- package/kit/chunks/kotlin-BdnUsdx6.js +1 -0
- package/kit/chunks/kusto-wEQ09or8.js +1 -0
- package/kit/chunks/laserwave-DUszq2jm.js +1 -0
- package/kit/chunks/latex-D5pSuvFb.js +1 -0
- package/kit/chunks/layout-CdSidOqg.js +1 -0
- package/kit/chunks/lean-BZvkOJ9d.js +1 -0
- package/kit/chunks/less-B1dDrJ26.js +1 -0
- package/kit/chunks/light-plus-B7mTdjB0.js +1 -0
- package/kit/chunks/linear-2B_RRiLc.js +1 -0
- package/kit/chunks/liquid-C0sCDyMI.js +1 -0
- package/kit/chunks/llvm-BZoOZj88.js +1 -0
- package/kit/chunks/log-2UxHyX5q.js +1 -0
- package/kit/chunks/logo-BtOb2qkB.js +1 -0
- package/kit/chunks/lua-BaeVxFsk.js +1 -0
- package/kit/chunks/luau-BnpPk5vE.js +1 -0
- package/kit/chunks/make-CHLpvVh8.js +1 -0
- package/kit/chunks/markdown-Cvjx9yec.js +1 -0
- package/kit/chunks/markdown-PrvsCtkO.js +7 -0
- package/kit/chunks/markdown-code-BP4ED3mK.js +1 -0
- package/kit/chunks/markdown-mermaid-C7inlIvD.js +2 -0
- package/kit/chunks/marked-parser-ucXGUtxA.js +1 -0
- package/kit/chunks/marko-DjSrsDqO.js +1 -0
- package/kit/chunks/material-theme-D5KoaKCx.js +1 -0
- package/kit/chunks/material-theme-darker-BfHTSMKl.js +1 -0
- package/kit/chunks/material-theme-lighter-B0m2ddpp.js +1 -0
- package/kit/chunks/material-theme-ocean-CyktbL80.js +1 -0
- package/kit/chunks/material-theme-palenight-Csfq5Kiy.js +1 -0
- package/kit/chunks/matlab-D7o27uSR.js +1 -0
- package/kit/chunks/mdc-D1_yUvq7.js +1 -0
- package/kit/chunks/mdx-Cmh6b_Ma.js +1 -0
- package/kit/chunks/mermaid-CQcHuHx7.js +1 -0
- package/kit/chunks/mermaid-parser.core-mF5sU-Xg.js +178 -0
- package/kit/chunks/mermaid.core-xKeJvOaV.js +309 -0
- package/kit/chunks/min-dark-CafNBF8u.js +1 -0
- package/kit/chunks/min-light-CTRr51gU.js +1 -0
- package/kit/chunks/mindmap-definition-FBJOCRG2-YJlqhJDe.js +96 -0
- package/kit/chunks/mipsasm-CKIfxQSi.js +1 -0
- package/kit/chunks/mojo-Blby8dQK.js +1 -0
- package/kit/chunks/monokai-BRVnQi9A.js +1 -0
- package/kit/chunks/moonbit-CHtswR0a.js +1 -0
- package/kit/chunks/move-el3G9tDJ.js +1 -0
- package/kit/chunks/narrat-DRg8JJMk.js +1 -0
- package/kit/chunks/nextflow-C-mBbutL.js +1 -0
- package/kit/chunks/nextflow-groovy-vE_lwT2v.js +1 -0
- package/kit/chunks/nginx-BpAMiNFr.js +1 -0
- package/kit/chunks/night-owl-C39BiMTA.js +1 -0
- package/kit/chunks/night-owl-light-CMTm3GFP.js +1 -0
- package/kit/chunks/nim-BIad80T-.js +1 -0
- package/kit/chunks/nix-CwoSXNpI.js +1 -0
- package/kit/chunks/nord-Ddv68eIx.js +1 -0
- package/kit/chunks/nsis-BlV79W_Q.js +1 -0
- package/kit/chunks/nushell-D3jzshHO.js +1 -0
- package/kit/chunks/objective-c-DXmwc3jG.js +1 -0
- package/kit/chunks/objective-cpp-CLxacb5B.js +1 -0
- package/kit/chunks/ocaml-C0hk2d4L.js +1 -0
- package/kit/chunks/odin-BBf5iR-q.js +1 -0
- package/kit/chunks/one-dark-pro-DVMEJ2y_.js +1 -0
- package/kit/chunks/one-light-C3Wv6jpd.js +1 -0
- package/kit/chunks/openscad-C4EeE6gA.js +1 -0
- package/kit/chunks/ordinal-Cboi1Yqb.js +1 -0
- package/kit/chunks/org-DM6o9KBp.js +1 -0
- package/kit/chunks/packet-AYTQ26CC-BVWhELL0.js +1 -0
- package/kit/chunks/pascal-D93ZcfNL.js +1 -0
- package/kit/chunks/pegDiagram-XKGWAZYB-C4MT3RNK.js +1 -0
- package/kit/chunks/perl-B9cMNwum.js +1 -0
- package/kit/chunks/php-Csjmro_R.js +1 -0
- package/kit/chunks/pie-WAS4IAKB-DOImHQUJ.js +1 -0
- package/kit/chunks/pieDiagram-E7YTZNPT-Hm0WPgzn.js +39 -0
- package/kit/chunks/pierre-dark-CyvmCCZW.js +1 -0
- package/kit/chunks/pierre-dark-protanopia-deuteranopia-Rgc0TwpF.js +1 -0
- package/kit/chunks/pierre-dark-soft-BHGpRqa4.js +1 -0
- package/kit/chunks/pierre-dark-tritanopia-Beq2gCRQ.js +1 -0
- package/kit/chunks/pierre-dark-vibrant-BWBVywrn.js +1 -0
- package/kit/chunks/pierre-light-480U9XYS.js +1 -0
- package/kit/chunks/pierre-light-protanopia-deuteranopia-CaVOBURG.js +1 -0
- package/kit/chunks/pierre-light-soft-CVdyfjmI.js +1 -0
- package/kit/chunks/pierre-light-tritanopia-B4_gpKOM.js +1 -0
- package/kit/chunks/pierre-light-vibrant-DdTDNdfJ.js +1 -0
- package/kit/chunks/pkl-u5AG7uiY.js +1 -0
- package/kit/chunks/plastic-3e1v2bzS.js +1 -0
- package/kit/chunks/plsql-ChMvpjG-.js +1 -0
- package/kit/chunks/po-BTJTHyun.js +1 -0
- package/kit/chunks/poimandres-CS3Unz2-.js +1 -0
- package/kit/chunks/polar-C0HS_06l.js +1 -0
- package/kit/chunks/postcss-CXtECtnM.js +1 -0
- package/kit/chunks/powerquery-CEu0bR-o.js +1 -0
- package/kit/chunks/powershell-BmBUJMz7.js +1 -0
- package/kit/chunks/prisma-Vru482bI.js +1 -0
- package/kit/chunks/prolog-CbFg5uaA.js +1 -0
- package/kit/chunks/proto-C7zT0LnQ.js +1 -0
- package/kit/chunks/pug-DKIMFp6K.js +1 -0
- package/kit/chunks/puppet-BMWR74SV.js +1 -0
- package/kit/chunks/purescript-CklMAg4u.js +1 -0
- package/kit/chunks/python-B6aJPvgy.js +1 -0
- package/kit/chunks/qml-3beO22l8.js +1 -0
- package/kit/chunks/qmldir-C8lEn-DE.js +1 -0
- package/kit/chunks/qss-IeuSbFQv.js +1 -0
- package/kit/chunks/quadrantDiagram-AXDQQJYC-BZTp7tGN.js +7 -0
- package/kit/chunks/r-Cf5RLm7j.js +1 -0
- package/kit/chunks/racket-BqYA7rlc.js +1 -0
- package/kit/chunks/radar-RG4KPBEZ-KbpEH3G6.js +1 -0
- package/kit/chunks/railroad-74A4TZTK-Cy0CCThT.js +1 -0
- package/kit/chunks/railroad-abnf-HS5TGJTU-CvknKf9w.js +1 -0
- package/kit/chunks/railroad-ebnf-LZEXJU2U-DPsJAhot.js +1 -0
- package/kit/chunks/railroad-peg-WCYAUIDC-CAZC7-ro.js +1 -0
- package/kit/chunks/railroadDiagram-O6MQD6OU-Cslq_ZZh.js +1 -0
- package/kit/chunks/raku-DXvB9xmW.js +1 -0
- package/kit/chunks/razor-BjBPvh-w.js +1 -0
- package/kit/chunks/rbs-CpoqiR4B.js +1 -0
- package/kit/chunks/red-hvxz__6c.js +1 -0
- package/kit/chunks/reg-C-SQnVFl.js +1 -0
- package/kit/chunks/regexp-CDVJQ6XC.js +1 -0
- package/kit/chunks/rel-C3B-1QV4.js +1 -0
- package/kit/chunks/requirementDiagram-EFPCY7ZU-CvFiO4QY.js +84 -0
- package/kit/chunks/riscv-BM1_JUlF.js +1 -0
- package/kit/chunks/ron-D8l8udqQ.js +1 -0
- package/kit/chunks/rose-pine-5qJOZa0Y.js +1 -0
- package/kit/chunks/rose-pine-dawn-zx0QlTCp.js +1 -0
- package/kit/chunks/rose-pine-moon-C9pEdX9L.js +1 -0
- package/kit/chunks/rosmsg-BJDFO7_C.js +1 -0
- package/kit/chunks/rst-bs7f0vWN.js +1 -0
- package/kit/chunks/ruby-C0TQ7zu5.js +1 -0
- package/kit/chunks/rust-B1yitclQ.js +1 -0
- package/kit/chunks/sankeyDiagram-P5KCCOFB-Da1DpNmD.js +40 -0
- package/kit/chunks/sas-DEy46yEz.js +1 -0
- package/kit/chunks/sass-Cj5Yp3dK.js +1 -0
- package/kit/chunks/scala-CqE71os6.js +1 -0
- package/kit/chunks/scheme-C98Dy4si.js +1 -0
- package/kit/chunks/scss-D5BDwBP9.js +1 -0
- package/kit/chunks/sdbl-DVxCFoDh.js +1 -0
- package/kit/chunks/sequenceDiagram-WJ2MYXX4-DxoNyZwj.js +162 -0
- package/kit/chunks/shaderlab-Dg9Lc6iA.js +1 -0
- package/kit/chunks/shellscript-Yzrsuije.js +1 -0
- package/kit/chunks/shellsession-BADoaaVG.js +1 -0
- package/kit/chunks/sizeCapture-X5ZJPWSS-BYc4ks_u.js +1 -0
- package/kit/chunks/slack-dark-BthQWCQV.js +1 -0
- package/kit/chunks/slack-ochin-DqwNpetd.js +1 -0
- package/kit/chunks/smalltalk-BOQMe2GC.js +1 -0
- package/kit/chunks/smithy-cds9vsN8.js +1 -0
- package/kit/chunks/snazzy-light-Bw305WKR.js +1 -0
- package/kit/chunks/solarized-dark-CpvCGNkr.js +1 -0
- package/kit/chunks/solarized-light-Dlz6yCKv.js +1 -0
- package/kit/chunks/solidity-DijEV5ha.js +1 -0
- package/kit/chunks/soy-8wufbnw4.js +1 -0
- package/kit/chunks/sparql-rVzFXLq3.js +1 -0
- package/kit/chunks/splunk-BtCnVYZw.js +1 -0
- package/kit/chunks/sql-CRqJ_cUM.js +1 -0
- package/kit/chunks/ssh-config-_ykCGR6B.js +1 -0
- package/kit/chunks/stata-DI20mbqo.js +1 -0
- package/kit/chunks/stateDiagram-HBIQ2CUA-pcNSv_wf.js +1 -0
- package/kit/chunks/stateDiagram-v2-4QOOHH4V-BdB1HxLL.js +1 -0
- package/kit/chunks/stylus-BEDo0Tqx.js +1 -0
- package/kit/chunks/surrealql-Cjom0U5J.js +1 -0
- package/kit/chunks/svelte-Cy7k_4gC.js +1 -0
- package/kit/chunks/swift-C2oV4EkX.js +1 -0
- package/kit/chunks/swimlanes-XN3QIQJK-D7wXTch1.js +1 -0
- package/kit/chunks/swimlanesDiagram-VK2B7HYN-BmYbYnek.js +8 -0
- package/kit/chunks/synthwave-84-CbfX1IO0.js +1 -0
- package/kit/chunks/system-verilog-0hqHdDBg.js +1 -0
- package/kit/chunks/systemd-4A_iFExJ.js +1 -0
- package/kit/chunks/talonscript-CkByrt1z.js +1 -0
- package/kit/chunks/tasl-QIJgUcNo.js +1 -0
- package/kit/chunks/tcl-dwOrl1Do.js +1 -0
- package/kit/chunks/templ-DhtptRzy.js +1 -0
- package/kit/chunks/terraform-BETggiCN.js +1 -0
- package/kit/chunks/tex-D96PA37w.js +1 -0
- package/kit/chunks/timeline-definition-24CTP7MA-BrPc1tMu.js +120 -0
- package/kit/chunks/tokyo-night-hegEt444.js +1 -0
- package/kit/chunks/toml-vGWfd6FD.js +1 -0
- package/kit/chunks/treeView-Q6P3EWNA-hcKZ8Aqa.js +1 -0
- package/kit/chunks/treemap-WGGIJYW6-VledEerh.js +1 -0
- package/kit/chunks/ts-tags-D351s5mN.js +1 -0
- package/kit/chunks/tsv-B_m7g4N7.js +1 -0
- package/kit/chunks/tsx-COt5Ahok.js +1 -0
- package/kit/chunks/turtle-BsS91CYL.js +1 -0
- package/kit/chunks/twig-27uCiNez.js +1 -0
- package/kit/chunks/typescript-BPQ3VLAy.js +1 -0
- package/kit/chunks/typespec-CAFt9gP4.js +1 -0
- package/kit/chunks/typst-DHCkPAjA.js +1 -0
- package/kit/chunks/v-BGw2Nkan.js +1 -0
- package/kit/chunks/vala-CsfeWuGM.js +1 -0
- package/kit/chunks/vb-Cu-pLBUe.js +1 -0
- package/kit/chunks/vennDiagram-4TSXK5OY-CMfntOoF.js +34 -0
- package/kit/chunks/verilog-nZwndyjY.js +1 -0
- package/kit/chunks/vesper-DRje8inN.js +1 -0
- package/kit/chunks/vhdl-CeAyd5Ju.js +1 -0
- package/kit/chunks/viml-CJc9bBzg.js +1 -0
- package/kit/chunks/vitesse-black-Bkuqu6BP.js +1 -0
- package/kit/chunks/vitesse-dark-D0r3Knsf.js +1 -0
- package/kit/chunks/vitesse-light-CVO1_9PV.js +1 -0
- package/kit/chunks/vue-BqiEGhQt.js +1 -0
- package/kit/chunks/vue-html-AaS7Mt5G.js +1 -0
- package/kit/chunks/vue-vine-BoDAl6tE.js +1 -0
- package/kit/chunks/vyper-CDx5xZoG.js +1 -0
- package/kit/chunks/wardley-WFR3VGLG-Bx5FYIM5.js +1 -0
- package/kit/chunks/wardleyDiagram-VM6X3IG4-C9foyd_h.js +78 -0
- package/kit/chunks/wasm-CG6Dc4jp.js +1 -0
- package/kit/chunks/wasm-MzD3tlZU.js +1 -0
- package/kit/chunks/wenyan-BV7otONQ.js +1 -0
- package/kit/chunks/wgsl-Dx-B1_4e.js +1 -0
- package/kit/chunks/wikitext-BhOHFoWU.js +1 -0
- package/kit/chunks/wit-5i3qLPDT.js +1 -0
- package/kit/chunks/wolfram-lXgVvXCa.js +1 -0
- package/kit/chunks/xml-sdJ4AIDG.js +1 -0
- package/kit/chunks/xsl-CtQFsRM5.js +1 -0
- package/kit/chunks/xychartDiagram-S5SC5T6Z-Bp0MWYj-.js +7 -0
- package/kit/chunks/yaml-Buea-lGh.js +1 -0
- package/kit/chunks/zenscript-DVFEvuxE.js +1 -0
- package/kit/chunks/zig-VOosw3JB.js +1 -0
- package/kit/index.d.ts +95 -0
- package/kit/index.js +1 -0
- package/kit/mux-build.json +1 -0
- package/kit/style.css +1 -0
- package/package.json +9 -15
- package/dist/controller.d.ts +0 -66
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -1237
- package/dist/index.js.map +0 -1
- package/dist/markdown.d.ts +0 -2
- package/dist/model.d.ts +0 -33
- package/dist/mount.d.ts +0 -56
- package/dist/styles.d.ts +0 -2
- package/dist/testing.js.map +0 -1
- package/dist/view/Chat.d.ts +0 -26
- package/dist/view/parts.d.ts +0 -19
- package/dist/view/primitives.d.ts +0 -10
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var je=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,Ln=Object.getOwnPropertyNames,An=Object.prototype.hasOwnProperty,Tn=(t,e)=>{let n={};for(var r in t)je(n,r,{get:t[r],enumerable:!0});return je(n,Symbol.toStringTag,{value:"Module"}),n},xn=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(var i=Ln(e),o=0,s=i.length,l;o<s;o++)l=i[o],!An.call(t,l)&&l!==n&&je(t,l,{get:(a=>e[a]).bind(null,l),enumerable:!(r=Nn(e,l))||r.enumerable});return t},Pn=(t,e,n)=>(xn(t,e,"default"),n);const Pt=[{id:"abap",name:"ABAP",import:(()=>import("./abap-Dg923wIy.js"))},{id:"actionscript-3",name:"ActionScript",aliases:["actionscript","as3"],import:(()=>import("./actionscript-3-CqOcUQ0w.js"))},{id:"ada",name:"Ada",import:(()=>import("./ada-CTi7YQtL.js"))},{id:"ahk",name:"AutoHotkey",aliases:["ahk1"],import:(()=>import("./ahk-BJYYIeOs.js"))},{id:"ahk2",name:"AutoHotkey2",import:(()=>import("./ahk2-BLfzmBxo.js"))},{id:"angular-html",name:"Angular HTML",import:(()=>import("./angular-html-DX9ZP5JV.js").then(function(t){return t.f}))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>import("./angular-ts-1O2hJJmY.js"))},{id:"apache",name:"Apache Conf",import:(()=>import("./apache-PcO-DBxQ.js"))},{id:"apex",name:"Apex",import:(()=>import("./apex-B4ts4Pdn.js"))},{id:"apl",name:"APL",import:(()=>import("./apl-Dz5ncP8G.js"))},{id:"applescript",name:"AppleScript",import:(()=>import("./applescript-Ds_W2jPS.js"))},{id:"ara",name:"Ara",import:(()=>import("./ara-C1--7J61.js"))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>import("./asciidoc-DaaWi4fn.js"))},{id:"asm",name:"Assembly",import:(()=>import("./asm-CTFRnVOM.js"))},{id:"astro",name:"Astro",import:(()=>import("./astro-BWgTGUF8.js"))},{id:"awk",name:"AWK",import:(()=>import("./awk-CrWgQKhV.js"))},{id:"ballerina",name:"Ballerina",import:(()=>import("./ballerina-a0yOSyc5.js"))},{id:"bat",name:"Batch File",aliases:["batch","cmd"],import:(()=>import("./bat-C1qk1Jq1.js"))},{id:"beancount",name:"Beancount",import:(()=>import("./beancount-dPJi_gci.js"))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>import("./berry-CVKoklHx.js"))},{id:"bibtex",name:"BibTeX",import:(()=>import("./bibtex-DRcCXNgM.js"))},{id:"bicep",name:"Bicep",import:(()=>import("./bicep-jWz-hQ8I.js"))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:(()=>import("./bird2-wc5D5_X9.js"))},{id:"blade",name:"Blade",import:(()=>import("./blade-DFktsHST.js"))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>import("./bsl-BtUDvyR4.js"))},{id:"c",name:"C",import:(()=>import("./c-BG-tZi7o.js"))},{id:"c3",name:"C3",import:(()=>import("./c3-R-USHpyF.js"))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>import("./cadence-BuaeHeSu.js"))},{id:"cairo",name:"Cairo",import:(()=>import("./cairo-BYiDgOF2.js"))},{id:"chapel",name:"Chapel",aliases:["chpl"],import:(()=>import("./chapel-D6IdCptL.js"))},{id:"clarity",name:"Clarity",import:(()=>import("./clarity-BJ-KISir.js"))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>import("./clojure-KnfDkB_V.js"))},{id:"cmake",name:"CMake",import:(()=>import("./cmake-bh2MLnkv.js"))},{id:"cobol",name:"COBOL",import:(()=>import("./cobol-DbURsbuN.js"))},{id:"codeowners",name:"CODEOWNERS",import:(()=>import("./codeowners-CtwIM3TN.js"))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>import("./codeql-D164juXQ.js"))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>import("./coffee-Bk-z6oI_.js"))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>import("./common-lisp-DXc9XcIM.js"))},{id:"coq",name:"Rocq",import:(()=>import("./coq-BIZj6HM_.js"))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>import("./cpp-C-tF_bWl.js"))},{id:"crystal",name:"Crystal",import:(()=>import("./crystal-Dvqzbpz8.js"))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>import("./csharp-CFxe5pRo.js"))},{id:"css",name:"CSS",import:(()=>import("./css-Br67jR8j.js"))},{id:"csv",name:"CSV",import:(()=>import("./csv-D5aBhKLr.js"))},{id:"cue",name:"CUE",import:(()=>import("./cue-WCin6O4e.js"))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>import("./cypher-DYQk2G82.js"))},{id:"d",name:"D",import:(()=>import("./d-DVc-yF-l.js"))},{id:"dart",name:"Dart",import:(()=>import("./dart-ByalkS20.js"))},{id:"dax",name:"DAX",import:(()=>import("./dax-oldcCaJg.js"))},{id:"desktop",name:"Desktop",import:(()=>import("./desktop-DZfyBMgF.js"))},{id:"diff",name:"Diff",import:(()=>import("./diff-jW5kmiru.js"))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>import("./docker-DG9neUKd.js"))},{id:"dotenv",name:"dotEnv",import:(()=>import("./dotenv-Bea-FkXq.js"))},{id:"dream-maker",name:"Dream Maker",import:(()=>import("./dream-maker-DAHQwpwp.js"))},{id:"edge",name:"Edge",import:(()=>import("./edge-DTiORMU5.js"))},{id:"elixir",name:"Elixir",import:(()=>import("./elixir-DnIH90qd.js"))},{id:"elm",name:"Elm",import:(()=>import("./elm-BjIDgKzz.js"))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>import("./emacs-lisp-Ckw2FTkV.js"))},{id:"erb",name:"ERB",import:(()=>import("./erb-CazEJMPD.js"))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>import("./erlang-DNeY46SW.js"))},{id:"fennel",name:"Fennel",import:(()=>import("./fennel-DBMsxtrh.js"))},{id:"fish",name:"Fish",import:(()=>import("./fish-BxskpYPN.js"))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>import("./fluent-Bwo2XpEt.js"))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>import("./fortran-fixed-form-DFFnVrrY.js"))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>import("./fortran-free-form-DB5N_DgY.js"))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>import("./fsharp-DRAF1jsN.js"))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:(()=>import("./gdresource-B0Kp4-ms.js"))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:(()=>import("./gdscript-DKyjuXKv.js"))},{id:"gdshader",name:"GDShader",import:(()=>import("./gdshader-G7X6ysY3.js"))},{id:"genie",name:"Genie",import:(()=>import("./genie-DSsjfZMX.js"))},{id:"gherkin",name:"Gherkin",import:(()=>import("./gherkin-Cl2Fw-_0.js"))},{id:"git-commit",name:"Git Commit Message",import:(()=>import("./git-commit-CJPsQObV.js"))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>import("./git-rebase-DeZqv4fp.js"))},{id:"gleam",name:"Gleam",import:(()=>import("./gleam-BeBqoPwE.js"))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>import("./glimmer-js-F_qk9EQT.js"))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>import("./glimmer-ts-Dhzi-GJU.js"))},{id:"glsl",name:"GLSL",import:(()=>import("./glsl-BOG9l2nV.js"))},{id:"gn",name:"GN",import:(()=>import("./gn-Dxr0sSUf.js"))},{id:"gnuplot",name:"Gnuplot",import:(()=>import("./gnuplot-CtW3R_Hz.js"))},{id:"go",name:"Go",import:(()=>import("./go-B7VTfpnm.js"))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>import("./graphql-B6XHM4uj.js"))},{id:"groovy",name:"Groovy",import:(()=>import("./groovy-DFxE31Qs.js"))},{id:"hack",name:"Hack",import:(()=>import("./hack-jRhjsWHJ.js"))},{id:"haml",name:"Ruby Haml",import:(()=>import("./haml-C4vGXCDX.js"))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>import("./handlebars-BsldGL5W.js"))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>import("./haskell-BfdhR_WN.js"))},{id:"haxe",name:"Haxe",import:(()=>import("./haxe-wmAaY_mP.js"))},{id:"hcl",name:"HashiCorp HCL",import:(()=>import("./hcl-B6OePqme.js"))},{id:"hjson",name:"Hjson",import:(()=>import("./hjson-D2jn7IRw.js"))},{id:"hlsl",name:"HLSL",import:(()=>import("./hlsl-MKeth5V9.js"))},{id:"html",name:"HTML",import:(()=>import("./html-BW_6VhB7.js"))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>import("./html-derivative-BxANmYVz.js"))},{id:"http",name:"HTTP",import:(()=>import("./http-CG3jvXcS.js"))},{id:"hurl",name:"Hurl",import:(()=>import("./hurl-CxQrh4RI.js"))},{id:"hxml",name:"HXML",import:(()=>import("./hxml-In6F2XHE.js"))},{id:"hy",name:"Hy",import:(()=>import("./hy-DI6mCUnw.js"))},{id:"imba",name:"Imba",import:(()=>import("./imba-D-Pk5S0X.js"))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>import("./ini-Dix3pTmg.js"))},{id:"java",name:"Java",import:(()=>import("./java-BTDmaRNO.js"))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>import("./javascript-WyGyM1wV.js"))},{id:"jinja",name:"Jinja",import:(()=>import("./jinja-CGKoJZuT.js"))},{id:"jison",name:"Jison",import:(()=>import("./jison-B9XHrcYJ.js"))},{id:"json",name:"JSON",import:(()=>import("./json-B8JryHcM.js"))},{id:"json5",name:"JSON5",import:(()=>import("./json5-Cdatmj9n.js"))},{id:"jsonc",name:"JSON with Comments",import:(()=>import("./jsonc-CvUCa1o5.js"))},{id:"jsonl",name:"JSON Lines",import:(()=>import("./jsonl-9I_GBd5L.js"))},{id:"jsonnet",name:"Jsonnet",import:(()=>import("./jsonnet-XoenQ2oc.js"))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>import("./jssm-CWE2S0Z5.js"))},{id:"jsx",name:"JSX",import:(()=>import("./jsx-8cLv2Six.js"))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>import("./julia-CHsXSRRi.js"))},{id:"just",name:"Just",aliases:["justfile"],import:(()=>import("./just-BhMjiL1x.js"))},{id:"kdl",name:"KDL",import:(()=>import("./kdl-CMbyIXjQ.js"))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>import("./kotlin-BQy537ds.js"))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>import("./kusto-Bh6esMjd.js"))},{id:"latex",name:"LaTeX",import:(()=>import("./latex-l4EWm08Q.js"))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>import("./lean-C4RHkN41.js"))},{id:"less",name:"Less",import:(()=>import("./less-XNfgnZC7.js"))},{id:"liquid",name:"Liquid",import:(()=>import("./liquid-VEiCTF4k.js"))},{id:"llvm",name:"LLVM IR",import:(()=>import("./llvm-CQZjIlnZ.js"))},{id:"log",name:"Log file",import:(()=>import("./log-CcaF_xNv.js"))},{id:"logo",name:"Logo",import:(()=>import("./logo-D9WQLoKQ.js"))},{id:"lua",name:"Lua",import:(()=>import("./lua-8Av-h-ns.js"))},{id:"luau",name:"Luau",import:(()=>import("./luau-CmQFRJk_.js"))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>import("./make-DXVx14cr.js"))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>import("./markdown-DX-TNHnc.js"))},{id:"marko",name:"Marko",import:(()=>import("./marko-6XzqJfhW.js"))},{id:"matlab",name:"MATLAB",import:(()=>import("./matlab-DzreyMvm.js"))},{id:"mdc",name:"MDC",import:(()=>import("./mdc-DRPSCe6f.js"))},{id:"mdx",name:"MDX",import:(()=>import("./mdx-C2fqO2XY.js"))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>import("./mermaid-B3PwCbv_.js"))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>import("./mipsasm-yE_Aqo9y.js"))},{id:"mojo",name:"Mojo",import:(()=>import("./mojo-DoyaMtMQ.js"))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:(()=>import("./moonbit-GUn1DCOq.js"))},{id:"move",name:"Move",import:(()=>import("./move-DgW29s8x.js"))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>import("./narrat-DXUZ_ZkW.js"))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>import("./nextflow-D9i3Mg89.js"))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:(()=>import("./nextflow-groovy-BtKenbWl.js"))},{id:"nginx",name:"Nginx",import:(()=>import("./nginx-DSXkacNc.js"))},{id:"nim",name:"Nim",import:(()=>import("./nim-D9lokC5T.js"))},{id:"nix",name:"Nix",import:(()=>import("./nix-Ckjrpg0r.js"))},{id:"nsis",name:"NSIS",import:(()=>import("./nsis-C1FUr9r5.js"))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>import("./nushell-D7aJuCS6.js"))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>import("./objective-c-BoaBTdtz.js"))},{id:"objective-cpp",name:"Objective-C++",import:(()=>import("./objective-cpp-DstR8hNy.js"))},{id:"ocaml",name:"OCaml",import:(()=>import("./ocaml-DTbn2Hv7.js"))},{id:"odin",name:"Odin",import:(()=>import("./odin-Bxc4S6Xn.js"))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:(()=>import("./openscad-CXHpNBsb.js"))},{id:"org",name:"Org Markup",import:(()=>import("./org-DcqggXXW.js"))},{id:"pascal",name:"Pascal",import:(()=>import("./pascal-Sr-XLSE6.js"))},{id:"perl",name:"Perl",import:(()=>import("./perl-CP_GSK0L.js"))},{id:"php",name:"PHP",import:(()=>import("./php-CNeTOyEV.js"))},{id:"pkl",name:"Pkl",import:(()=>import("./pkl-CRusufhw.js"))},{id:"plsql",name:"PL/SQL",import:(()=>import("./plsql-Dbm3tV2N.js"))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>import("./po-LG0lFwH4.js"))},{id:"polar",name:"Polar",import:(()=>import("./polar-DjOs3GWb.js"))},{id:"postcss",name:"PostCSS",import:(()=>import("./postcss-GRRkWn2F.js"))},{id:"powerquery",name:"PowerQuery",import:(()=>import("./powerquery-DHf-dtTS.js"))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1","pwsh"],import:(()=>import("./powershell-CUnxWBRw.js"))},{id:"prisma",name:"Prisma",import:(()=>import("./prisma-HKDfktb8.js"))},{id:"prolog",name:"Prolog",import:(()=>import("./prolog-9JcfiY6I.js"))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>import("./proto-dqx_Sj2i.js"))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>import("./pug-kUpeg2wB.js"))},{id:"puppet",name:"Puppet",import:(()=>import("./puppet-Di57VbSS.js"))},{id:"purescript",name:"PureScript",import:(()=>import("./purescript-BgpM7rDH.js"))},{id:"python",name:"Python",aliases:["py"],import:(()=>import("./python-B6Ihcp-E.js"))},{id:"qml",name:"QML",import:(()=>import("./qml-DmGQGbca.js"))},{id:"qmldir",name:"QML Directory",import:(()=>import("./qmldir-DXd9s5XC.js"))},{id:"qss",name:"Qt Style Sheets",import:(()=>import("./qss-B7NnhfIi.js"))},{id:"r",name:"R",import:(()=>import("./r-C2sK8mqY.js"))},{id:"racket",name:"Racket",import:(()=>import("./racket-CeDx7KO2.js"))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>import("./raku-BMJwmrCS.js"))},{id:"razor",name:"ASP.NET Razor",import:(()=>import("./razor-C2a5o_rD.js"))},{id:"rbs",name:"RBS",aliases:["ruby-signature"],import:(()=>import("./rbs-BNdQsBCU.js"))},{id:"reg",name:"Windows Registry Script",import:(()=>import("./reg-Cvyu2Gnx.js"))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>import("./regexp-DK-WlHNu.js"))},{id:"rel",name:"Rel",import:(()=>import("./rel-BlqNHz8k.js"))},{id:"riscv",name:"RISC-V",import:(()=>import("./riscv-C5dpdlr7.js"))},{id:"ron",name:"RON",import:(()=>import("./ron-j5NfrB3z.js"))},{id:"rosmsg",name:"ROS Interface",import:(()=>import("./rosmsg-ZkSIzPhc.js"))},{id:"rst",name:"reStructuredText",import:(()=>import("./rst-CgFL6KOR.js"))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>import("./ruby-CoSFdlpl.js"))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>import("./rust-CxuBE0J8.js"))},{id:"sas",name:"SAS",import:(()=>import("./sas-DPMpzP9X.js"))},{id:"sass",name:"Sass",import:(()=>import("./sass-bfEVHPJ8.js"))},{id:"scala",name:"Scala",import:(()=>import("./scala-DT3kbCHL.js"))},{id:"scheme",name:"Scheme",import:(()=>import("./scheme-OJppFQF3.js"))},{id:"scss",name:"SCSS",import:(()=>import("./scss-n48HZsmL.js"))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>import("./sdbl-CvZs3G9c.js"))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>import("./shaderlab-CEJedz68.js"))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>import("./shellscript-DgJyDXW6.js"))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>import("./shellsession-DSlzxnCM.js"))},{id:"smalltalk",name:"GNU Smalltalk",import:(()=>import("./smalltalk-De6KzMWc.js"))},{id:"smithy",name:"Smithy",import:(()=>import("./smithy-BVTkKWO9.js"))},{id:"solidity",name:"Solidity",import:(()=>import("./solidity-SYSxO-p1.js"))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>import("./soy-DEV4yxgM.js"))},{id:"sparql",name:"SPARQL",import:(()=>import("./sparql-BJh4JEw-.js"))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>import("./splunk-h-bNAnbk.js"))},{id:"sql",name:"SQL",import:(()=>import("./sql-Dq2MiB0T.js"))},{id:"ssh-config",name:"SSH Config",import:(()=>import("./ssh-config-CywOjoXH.js"))},{id:"stata",name:"Stata",import:(()=>import("./stata-BcICKvEt.js"))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>import("./stylus-CIg617SB.js"))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:(()=>import("./surrealql-CWlK9SzL.js"))},{id:"svelte",name:"Svelte",import:(()=>import("./svelte-B-Z8GLL9.js"))},{id:"swift",name:"Swift",import:(()=>import("./swift-CGD9CJBj.js"))},{id:"system-verilog",name:"SystemVerilog",import:(()=>import("./system-verilog-CG_VWOG3.js"))},{id:"systemd",name:"Systemd Units",import:(()=>import("./systemd-DKMPPZjB.js"))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>import("./talonscript-eRuyeYHl.js"))},{id:"tasl",name:"Tasl",import:(()=>import("./tasl-B9CVvjfG.js"))},{id:"tcl",name:"Tcl",import:(()=>import("./tcl-Bq9dbVAF.js"))},{id:"templ",name:"Templ",import:(()=>import("./templ-W185oS4p.js"))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>import("./terraform-CAp711iT.js"))},{id:"tex",name:"TeX",import:(()=>import("./tex-DNkCctwf.js"))},{id:"toml",name:"TOML",import:(()=>import("./toml-Ms459DBw.js"))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>import("./ts-tags-xUT7JH_c.js"))},{id:"tsv",name:"TSV",import:(()=>import("./tsv-BFtm7NXx.js"))},{id:"tsx",name:"TSX",import:(()=>import("./tsx-D6116Ycy.js"))},{id:"turtle",name:"Turtle",import:(()=>import("./turtle-DpRhbQZY.js"))},{id:"twig",name:"Twig",import:(()=>import("./twig-k5g5DPXm.js"))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>import("./typescript-BqvgUolh.js"))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>import("./typespec-B09nCZui.js"))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>import("./typst-Dfd71gQj.js"))},{id:"v",name:"V",import:(()=>import("./v-DUsAht2M.js"))},{id:"vala",name:"Vala",import:(()=>import("./vala-z59IxkFd.js"))},{id:"vb",name:"Visual Basic",import:(()=>import("./vb-A7jYO8Gn.js"))},{id:"verilog",name:"Verilog",import:(()=>import("./verilog-jqltjd44.js"))},{id:"vhdl",name:"VHDL",import:(()=>import("./vhdl-DJCsFYgn.js"))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>import("./viml-pbKHW3Ia.js"))},{id:"vue",name:"Vue",import:(()=>import("./vue-D2T8AFdP.js"))},{id:"vue-html",name:"Vue HTML",import:(()=>import("./vue-html-zEfNEgpj.js"))},{id:"vue-vine",name:"Vue Vine",import:(()=>import("./vue-vine-DQRWX4iy.js"))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>import("./vyper-DpazWNpx.js"))},{id:"wasm",name:"WebAssembly",import:(()=>import("./wasm-CFi-k9--.js"))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>import("./wenyan-CYFFG9DK.js"))},{id:"wgsl",name:"WGSL",import:(()=>import("./wgsl-CxjTZs-b.js"))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>import("./wikitext-Bx2qct8O.js"))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>import("./wit-DDW3hD69.js"))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>import("./wolfram-pu21K997.js"))},{id:"xml",name:"XML",import:(()=>import("./xml-BkAJuBCc.js"))},{id:"xsl",name:"XSL",import:(()=>import("./xsl-C6UUWSil.js"))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>import("./yaml-Bopit2L3.js"))},{id:"zenscript",name:"ZenScript",import:(()=>import("./zenscript-BIAKq-aR.js"))},{id:"zig",name:"Zig",import:(()=>import("./zig-bSFrHQ7n.js"))}],En=Object.fromEntries(Pt.map(t=>[t.id,t.import])),In=Object.fromEntries(Pt.flatMap(t=>t.aliases?.map(e=>[e,t.import])||[])),On={...En,...In},Mn=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>import("./andromeeda-CT0vplkN.js"))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>import("./aurora-x-C0VKFdlO.js"))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>import("./ayu-dark-wZ6ORhBL.js"))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:(()=>import("./ayu-light-xXLJ_Ch1.js"))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:(()=>import("./ayu-mirage-CQckA_sP.js"))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>import("./catppuccin-frappe-CquLvoVK.js"))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>import("./catppuccin-latte-G5tdnGFo.js"))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>import("./catppuccin-macchiato-BZRq1pKO.js"))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>import("./catppuccin-mocha-Bbf5uIw6.js"))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>import("./dark-plus-DLU5INA3.js"))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>import("./dracula-XcYHBZy6.js"))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>import("./dracula-soft-BPeX9gxW.js"))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>import("./everforest-dark-WOub3wle.js"))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>import("./everforest-light-DCUg8VH8.js"))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>import("./github-dark-BQV5ugrc.js"))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>import("./github-dark-default-DLWDM7FH.js"))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>import("./github-dark-dimmed-D1FmiR_p.js"))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>import("./github-dark-high-contrast-BilLoi0o.js"))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>import("./github-light-Rcb2q3L5.js"))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>import("./github-light-default-CQ75esMw.js"))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>import("./github-light-high-contrast-CRF1wyLy.js"))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>import("./gruvbox-dark-hard-C37G1gbc.js"))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>import("./gruvbox-dark-medium-C3G9m3TV.js"))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>import("./gruvbox-dark-soft-eZmcmZ9I.js"))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>import("./gruvbox-light-hard-BYj-vz_3.js"))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>import("./gruvbox-light-medium-BdQlDiiF.js"))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>import("./gruvbox-light-soft-BGNwjiRh.js"))},{id:"horizon",displayName:"Horizon",type:"dark",import:(()=>import("./horizon-cslQss18.js"))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:(()=>import("./horizon-bright-BVMyA0so.js"))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>import("./houston-RHIKkNfR.js"))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>import("./kanagawa-dragon-elpLL9d7.js"))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>import("./kanagawa-lotus-qwxsXd6N.js"))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>import("./kanagawa-wave-CmHwPSUq.js"))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>import("./laserwave-si7wuSrt.js"))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>import("./light-plus-g_Fi9vkG.js"))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>import("./material-theme-CIJ3cGaW.js"))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>import("./material-theme-darker-BWg3m1GB.js"))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>import("./material-theme-lighter-DR8HWMN7.js"))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>import("./material-theme-ocean-CZf9pk28.js"))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>import("./material-theme-palenight-BF01YeZy.js"))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>import("./min-dark-DhfaepVE.js"))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>import("./min-light-6xx0uMgm.js"))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>import("./monokai-CfflZzqd.js"))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>import("./night-owl-EdP2Hztp.js"))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:(()=>import("./night-owl-light-Bk-lYVyk.js"))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>import("./nord-BAu0wM6c.js"))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>import("./one-dark-pro-utPxbBbJ.js"))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>import("./one-light-BuCQ22aO.js"))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>import("./plastic-CXnNNlFZ.js"))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>import("./poimandres-BrOVMvuE.js"))},{id:"red",displayName:"Red",type:"dark",import:(()=>import("./red-D0qvOrrt.js"))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>import("./rose-pine-B13eftVv.js"))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>import("./rose-pine-dawn-BcSoidev.js"))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>import("./rose-pine-moon-QhZovmiB.js"))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>import("./slack-dark-CWRQmTmo.js"))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>import("./slack-ochin-DO_ok7XK.js"))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>import("./snazzy-light-B5llO_gK.js"))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>import("./solarized-dark-BWFpDpV1.js"))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>import("./solarized-light-eZCMDrWD.js"))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>import("./synthwave-84-DRVv-_m_.js"))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>import("./tokyo-night-BvwC8l2v.js"))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>import("./vesper-DxfWgk_t.js"))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>import("./vitesse-black-B_BYPdvp.js"))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>import("./vitesse-dark-DOSOf2Sz.js"))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>import("./vitesse-light-gUX51GpB.js"))}],Bn=Object.fromEntries(Mn.map(t=>[t.id,t.import]));var Ze=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function Dn(){return 2147483648}function Gn(){return typeof performance<"u"?performance.now():Date.now()}const jn=(t,e)=>t+(e-t%e)%e;async function $n(t){let e,n;const r={};function i(m){n=m,r.HEAPU8=new Uint8Array(m),r.HEAPU32=new Uint32Array(m)}function o(m,h,S){r.HEAPU8.copyWithin(m,h,h+S)}function s(m){try{return e.grow(m-n.byteLength+65535>>>16),i(e.buffer),1}catch{}}function l(m){const h=r.HEAPU8.length;m=m>>>0;const S=Dn();if(m>S)return!1;for(let _=1;_<=4;_*=2){let y=h*(1+.2/_);y=Math.min(y,m+100663296);const g=Math.min(S,jn(Math.max(m,y),65536));if(s(g))return!0}return!1}const a=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(m,h,S=1024){const _=h+S;let y=h;for(;m[y]&&!(y>=_);)++y;if(y-h>16&&m.buffer&&a)return a.decode(m.subarray(h,y));let g="";for(;h<y;){let b=m[h++];if(!(b&128)){g+=String.fromCharCode(b);continue}const v=m[h++]&63;if((b&224)===192){g+=String.fromCharCode((b&31)<<6|v);continue}const N=m[h++]&63;if((b&240)===224?b=(b&15)<<12|v<<6|N:b=(b&7)<<18|v<<12|N<<6|m[h++]&63,b<65536)g+=String.fromCharCode(b);else{const E=b-65536;g+=String.fromCharCode(55296|E>>10,56320|E&1023)}}return g}function p(m,h){return m?c(r.HEAPU8,m,h):""}const u={emscripten_get_now:Gn,emscripten_memcpy_big:o,emscripten_resize_heap:l,fd_write:()=>0};async function d(){const h=await t({env:u,wasi_snapshot_preview1:u});e=h.memory,i(e.buffer),Object.assign(r,h),r.UTF8ToString=p}return await d(),r}var Un=Object.defineProperty,Wn=(t,e,n)=>e in t?Un(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,L=(t,e,n)=>Wn(t,typeof e!="symbol"?e+"":e,n);let T=null;function Hn(t){throw new Ze(t.UTF8ToString(t.getLastOnigError()))}class Ce{constructor(e){L(this,"utf16Length"),L(this,"utf8Length"),L(this,"utf16Value"),L(this,"utf8Value"),L(this,"utf16OffsetToUtf8"),L(this,"utf8OffsetToUtf16");const n=e.length,r=Ce._utf8ByteLength(e),i=r!==n,o=i?new Uint32Array(n+1):null;i&&(o[n]=r);const s=i?new Uint32Array(r+1):null;i&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const p=e.charCodeAt(c);let u=p,d=!1;if(p>=55296&&p<=56319&&c+1<n){const m=e.charCodeAt(c+1);m>=56320&&m<=57343&&(u=(p-55296<<10)+65536|m-56320,d=!0)}i&&(o[c]=a,d&&(o[c+1]=a),u<=127?s[a+0]=c:u<=2047?(s[a+0]=c,s[a+1]=c):u<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),u<=127?l[a++]=u:u<=2047?(l[a++]=192|(u&1984)>>>6,l[a++]=128|(u&63)>>>0):u<=65535?(l[a++]=224|(u&61440)>>>12,l[a++]=128|(u&4032)>>>6,l[a++]=128|(u&63)>>>0):(l[a++]=240|(u&1835008)>>>18,l[a++]=128|(u&258048)>>>12,l[a++]=128|(u&4032)>>>6,l[a++]=128|(u&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=e,this.utf8Value=l,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=s}static _utf8ByteLength(e){let n=0;for(let r=0,i=e.length;r<i;r++){const o=e.charCodeAt(r);let s=o,l=!1;if(o>=55296&&o<=56319&&r+1<i){const a=e.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(o-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(e){const n=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,n),n}}const we=class B{constructor(e){if(L(this,"id",++B.LAST_ID),L(this,"_onigBinding"),L(this,"content"),L(this,"utf16Length"),L(this,"utf8Length"),L(this,"utf16OffsetToUtf8"),L(this,"utf8OffsetToUtf16"),L(this,"ptr"),!T)throw new Ze("Must invoke loadWasm first.");this._onigBinding=T,this.content=e;const n=new Ce(e);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!B._sharedPtrInUse?(B._sharedPtr||(B._sharedPtr=T.omalloc(1e4)),B._sharedPtrInUse=!0,T.HEAPU8.set(n.utf8Value,B._sharedPtr),this.ptr=B._sharedPtr):this.ptr=n.createString(T)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===B._sharedPtr?B._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};L(we,"LAST_ID",0);L(we,"_sharedPtr",0);L(we,"_sharedPtrInUse",!1);let Et=we;class Fn{constructor(e){if(L(this,"_onigBinding"),L(this,"_ptr"),!T)throw new Ze("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=e.length;l<a;l++){const c=new Ce(e[l]);n[l]=c.createString(T),r[l]=c.utf8Length}const i=T.omalloc(4*e.length);T.HEAPU32.set(n,i/4);const o=T.omalloc(4*e.length);T.HEAPU32.set(r,o/4);const s=T.createOnigScanner(i,o,e.length);for(let l=0,a=e.length;l<a;l++)T.ofree(n[l]);T.ofree(o),T.ofree(i),s===0&&Hn(T),this._onigBinding=T,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,n,r){let i=0;if(typeof r=="number"&&(i=r),typeof e=="string"){e=new Et(e);const o=this._findNextMatchSync(e,n,!1,i);return e.dispose(),o}return this._findNextMatchSync(e,n,!1,i)}_findNextMatchSync(e,n,r,i){const o=this._onigBinding,s=o.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(n),i);if(s===0)return null;const l=o.HEAPU32;let a=s/4;const c=l[a++],p=l[a++],u=[];for(let d=0;d<p;d++){const m=e.convertUtf8OffsetToUtf16(l[a++]),h=e.convertUtf8OffsetToUtf16(l[a++]);u[d]={start:m,end:h,length:h-m}}return{index:c,captureIndices:u}}}function zn(t){return typeof t.instantiator=="function"}function qn(t){return typeof t.default=="function"}function Vn(t){return typeof t.data<"u"}function Kn(t){return typeof Response<"u"&&t instanceof Response}function Jn(t){return typeof ArrayBuffer<"u"&&(t instanceof ArrayBuffer||ArrayBuffer.isView(t))||typeof Buffer<"u"&&Buffer.isBuffer?.(t)||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&t instanceof Uint32Array}let oe;function It(t){if(oe)return oe;async function e(){T=await $n(async n=>{let r=t;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),zn(r)?r=await r.instantiator(n):qn(r)?r=await r.default(n):(Vn(r)&&(r=r.data),Kn(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Xn(r)(n):r=await Yn(r)(n):Jn(r)?r=await Pe(r)(n):r instanceof WebAssembly.Module?r=await Pe(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Pe(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return oe=e(),oe}function Pe(t){return e=>WebAssembly.instantiate(t,e)}function Xn(t){return e=>WebAssembly.instantiateStreaming(t,e)}function Yn(t){return async e=>{const n=await t.arrayBuffer();return WebAssembly.instantiate(n,e)}}let Ot;function Qn(t){Ot=t}function Zn(){return Ot}async function er(t){return t&&await It(t),{createScanner(e){return new Fn(e.map(n=>typeof n=="string"?n:n.source))},createString(e){return new Et(e)}}}var tr=Object.freeze({__proto__:null,createOnigurumaEngine:er,getDefaultWasmLoader:Zn,loadWasm:It,setDefaultWasmLoader:Qn}),Mt=Tn({});Pn(Mt,tr);var k=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function nr(t){return et(t)}function et(t){return Array.isArray(t)?rr(t):t instanceof RegExp?t:typeof t=="object"?ir(t):t}function rr(t){let e=[];for(let n=0,r=t.length;n<r;n++)e[n]=et(t[n]);return e}function ir(t){let e={};for(let n in t)e[n]=et(t[n]);return e}function Bt(t,...e){return e.forEach(n=>{for(let r in n)t[r]=n[r]}),t}function Dt(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?Dt(t.substring(0,t.length-1)):t.substr(~e+1)}var Ee=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,se=class{static hasCaptures(t){return t===null?!1:(Ee.lastIndex=0,Ee.test(t))}static replaceCaptures(t,e,n){return t.replace(Ee,(r,i,o,s)=>{let l=n[parseInt(i||o,10)];if(l){let a=e.substring(l.start,l.end);for(;a[0]===".";)a=a.substring(1);switch(s){case"downcase":return a.toLowerCase();case"upcase":return a.toUpperCase();default:return a}}else return r})}};function Gt(t,e){return t<e?-1:t>e?1:0}function jt(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,r=e.length;if(n===r){for(let i=0;i<n;i++){let o=Gt(t[i],e[i]);if(o!==0)return o}return 0}return n-r}function lt(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function $t(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Ut=class{constructor(t){this.fn=t}cache=new Map;get(t){if(this.cache.has(t))return this.cache.get(t);const e=this.fn(t);return this.cache.set(t,e),e}},pe=class{constructor(t,e,n){this._colorMap=t,this._defaults=e,this._root=n}static createFromRawTheme(t,e){return this.createFromParsedTheme(ar(t),e)}static createFromParsedTheme(t,e){return cr(t,e)}_cachedMatchRoot=new Ut(t=>this._root.match(t));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,r=this._cachedMatchRoot.get(e).find(i=>or(t.parent,i.parentScopes));return r?new Wt(r.fontStyle,r.foreground,r.background):null}},Ie=class ce{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const r of n)e=new ce(e,r);return e}static from(...e){let n=null;for(let r=0;r<e.length;r++)n=new ce(n,e[r]);return n}push(e){return new ce(this,e)}getSegments(){let e=this;const n=[];for(;e;)n.push(e.scopeName),e=e.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const n=[];let r=this;for(;r&&r!==e;)n.push(r.scopeName),r=r.parent;return r===e?n.reverse():void 0}};function or(t,e){if(e.length===0)return!0;for(let n=0;n<e.length;n++){let r=e[n],i=!1;if(r===">"){if(n===e.length-1)return!1;r=e[++n],i=!0}for(;t&&!sr(t.scopeName,r);){if(i)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function sr(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var Wt=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function ar(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],r=0;for(let i=0,o=e.length;i<o;i++){let s=e[i];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let u=s.scope;u=u.replace(/^[,]+/,""),u=u.replace(/[,]+$/,""),l=u.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let u=s.settings.fontStyle.split(" ");for(let d=0,m=u.length;d<m;d++)switch(u[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&<(s.settings.foreground)&&(c=s.settings.foreground);let p=null;typeof s.settings.background=="string"&<(s.settings.background)&&(p=s.settings.background);for(let u=0,d=l.length;u<d;u++){let h=l[u].trim().split(" "),S=h[h.length-1],_=null;h.length>1&&(_=h.slice(0,h.length-1),_.reverse()),n[r++]=new lr(S,_,i,a,c,p)}}return n}var lr=class{constructor(t,e,n,r,i,o){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=r,this.foreground=i,this.background=o}},P=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t[t.Strikethrough=8]="Strikethrough",t))(P||{});function cr(t,e){t.sort((a,c)=>{let p=Gt(a.scope,c.scope);return p!==0||(p=jt(a.parentScopes,c.parentScopes),p!==0)?p:a.index-c.index});let n=0,r="#000000",i="#ffffff";for(;t.length>=1&&t[0].scope==="";){let a=t.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(i=a.background)}let o=new ur(e),s=new Wt(n,o.getId(r),o.getId(i)),l=new mr(new $e(0,null,-1,0,0),[]);for(let a=0,c=t.length;a<c;a++){let p=t[a];l.insert(0,p.scope,p.parentScopes,p.fontStyle,o.getId(p.foreground),o.getId(p.background))}return new pe(o,s,l)}var ur=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let e=this._color2id[t];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return e=++this._lastColorId,this._color2id[t]=e,this._id2color[e]=t,e}getColorMap(){return this._id2color.slice(0)}},pr=Object.freeze([]),$e=class Ht{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,n,r,i,o){this.scopeDepth=e,this.parentScopes=n||pr,this.fontStyle=r,this.foreground=i,this.background=o}clone(){return new Ht(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let n=[];for(let r=0,i=e.length;r<i;r++)n[r]=e[r].clone();return n}acceptOverwrite(e,n,r,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}},mr=class Ue{constructor(e,n=[],r={}){this._mainRule=e,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let r=0,i=0;for(;e.parentScopes[r]===">"&&r++,n.parentScopes[i]===">"&&i++,!(r>=e.parentScopes.length||i>=n.parentScopes.length);){const o=n.parentScopes[i].length-e.parentScopes[r].length;if(o!==0)return o;r++,i++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),i,o;if(r===-1?(i=e,o=""):(i=e.substring(0,r),o=e.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(Ue._cmpBySpecificity),n}insert(e,n,r,i,o,s){if(n===""){this._doInsertHere(e,r,i,o,s);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let p;this._children.hasOwnProperty(a)?p=this._children[a]:(p=new Ue(this._mainRule.clone(),$e.cloneArr(this._rulesWithParentScopes)),this._children[a]=p),p.insert(e+1,c,r,i,o,s)}_doInsertHere(e,n,r,i,o){if(n===null){this._mainRule.acceptOverwrite(e,r,i,o);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let a=this._rulesWithParentScopes[s];if(jt(a.parentScopes,n)===0){a.acceptOverwrite(e,r,i,o);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new $e(e,n,r,i,o))}},H=class M{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const n=M.getLanguageId(e),r=M.getTokenType(e),i=M.getFontStyle(e),o=M.getForeground(e),s=M.getBackground(e);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:o,background:s})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,n,r,i,o,s,l){let a=M.getLanguageId(e),c=M.getTokenType(e),p=M.containsBalancedBrackets(e)?1:0,u=M.getFontStyle(e),d=M.getForeground(e),m=M.getBackground(e);return n!==0&&(a=n),r!==8&&(c=r),i!==null&&(p=i?1:0),o!==-1&&(u=o),s!==0&&(d=s),l!==0&&(m=l),(a<<0|c<<8|p<<10|u<<11|d<<15|m<<24)>>>0}};function me(t,e){const n=[],r=hr(t);let i=r.next();for(;i!==null;){let a=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=s();if(n.push({matcher:c,priority:a}),i!==",")break;i=r.next()}return n;function o(){if(i==="-"){i=r.next();const a=o();return c=>!!a&&!a(c)}if(i==="("){i=r.next();const a=l();return i===")"&&(i=r.next()),a}if(ct(i)){const a=[];do a.push(i),i=r.next();while(ct(i));return c=>e(a,c)}return null}function s(){const a=[];let c=o();for(;c;)a.push(c),c=o();return p=>a.every(u=>u(p))}function l(){const a=[];let c=s();for(;c&&(a.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=s()}return p=>a.some(u=>u(p))}}function ct(t){return!!t&&!!t.match(/[\w\.:]+/)}function hr(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const r=n[0];return n=e.exec(t),r}}}function Ft(t){typeof t.dispose=="function"&&t.dispose()}var Q=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},dr=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},fr=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},gr=class{constructor(t,e){this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Q(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const t=this.Q;this.Q=[];const e=new fr;for(const n of t)yr(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof Q){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function yr(t,e,n,r){const i=n.lookup(t.scopeName);if(!i){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const o=n.lookup(e);t instanceof Q?ue({baseGrammar:o,selfGrammar:i},r):We(t.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},r);const s=n.injections(t.scopeName);if(s)for(const l of s)r.add(new Q(l))}function We(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];he([r],e,n)}}function ue(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&he(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&he(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function he(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?Bt({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&he(r.patterns,{...e,repository:i},n);const o=r.include;if(!o)continue;const s=zt(o);switch(s.kind){case 0:ue({...e,selfGrammar:e.baseGrammar},n);break;case 1:ue(e,n);break;case 2:We(s.ruleName,{...e,repository:i},n);break;case 3:case 4:const l=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(l){const a={baseGrammar:e.baseGrammar,selfGrammar:l,repository:i};s.kind===4?We(s.ruleName,a,n):ue(a,n)}else s.kind===4?n.add(new dr(s.scopeName,s.ruleName)):n.add(new Q(s.scopeName));break}}}var _r=class{kind=0},br=class{kind=1},Sr=class{constructor(t){this.ruleName=t}kind=2},Cr=class{constructor(t){this.scopeName=t}kind=3},wr=class{constructor(t,e){this.scopeName=t,this.ruleName=e}kind=4};function zt(t){if(t==="$base")return new _r;if(t==="$self")return new br;const e=t.indexOf("#");if(e===-1)return new Cr(t);if(e===0)return new Sr(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new wr(n,r)}}var kr=/\\(\d+)/,ut=/\\(\d+)/g,vr=-1,qt=-2;var ne=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,e,n,r){this.$location=t,this.id=e,this._name=n||null,this._nameIsCapturing=se.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=se.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Dt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,e){return!this._nameIsCapturing||this._name===null||t===null||e===null?this._name:se.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:se.replaceCaptures(this._contentName,t,e)}},Rr=class extends ne{retokenizeCapturedWithRuleId;constructor(t,e,n,r,i){super(t,e,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(t,e){throw new Error("Not supported!")}compile(t,e){throw new Error("Not supported!")}compileAG(t,e,n,r){throw new Error("Not supported!")}},Nr=class extends ne{_match;captures;_cachedCompiledPatterns;constructor(t,e,n,r,i){super(t,e,n,null),this._match=new Z(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,e){e.push(this._match)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ee,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},pt=class extends ne{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,n,r,i){super(t,e,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,e){for(const n of this.patterns)t.getRule(n).collectPatterns(t,e)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ee,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},He=class extends ne{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,n,r,i,o,s,l,a,c){super(t,e,n,r),this._begin=new Z(i,this.id),this.beginCaptures=o,this._end=new Z(s||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=a||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,e){return this._end.resolveBackReferences(t,e)}collectPatterns(t,e){e.push(this._begin)}compile(t,e){return this._getCachedCompiledPatterns(t,e).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t,e).compileAG(t,n,r)}_getCachedCompiledPatterns(t,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ee;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},de=class extends ne{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,e,n,r,i,o,s,l,a){super(t,e,n,r),this._begin=new Z(i,this.id),this.beginCaptures=o,this.whileCaptures=l,this._while=new Z(s,qt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,e){return this._while.resolveBackReferences(t,e)}collectPatterns(t,e){e.push(this._begin)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ee;for(const e of this.patterns)t.getRule(e).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,e){return this._getCachedCompiledWhilePatterns(t,e).compile(t)}compileWhileAG(t,e,n,r){return this._getCachedCompiledWhilePatterns(t,e).compileAG(t,n,r)}_getCachedCompiledWhilePatterns(t,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ee,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||""),this._cachedCompiledWhilePatterns}},Vt=class x{static createCaptureRule(e,n,r,i,o){return e.registerRule(s=>new Rr(n,s,r,i,o))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(i=>{if(e.id=i,e.match)return new Nr(e.$vscodeTextmateLocation,e.id,e.name,e.match,x._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=Bt({},r,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new pt(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,x._compilePatterns(o,n,r))}return e.while?new de(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,x._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,x._compileCaptures(e.whileCaptures||e.captures,n,r),x._compilePatterns(e.patterns,n,r)):new He(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,x._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,x._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,x._compilePatterns(e.patterns,n,r))}),e.id}static _compileCaptures(e,n,r){let i=[];if(e){let o=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>o&&(o=l)}for(let s=0;s<=o;s++)i[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;e[s].patterns&&(a=x.getCompiledRuleId(e[s],n,r)),i[l]=x.createCaptureRule(n,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,a)}}return i}static _compilePatterns(e,n,r){let i=[];if(e)for(let o=0,s=e.length;o<s;o++){const l=e[o];let a=-1;if(l.include){const c=zt(l.include);switch(c.kind){case 0:case 1:a=x.getCompiledRuleId(r[l.include],n,r);break;case 2:let p=r[c.ruleName];p&&(a=x.getCompiledRuleId(p,n,r));break;case 3:case 4:const u=c.scopeName,d=c.kind===4?c.ruleName:null,m=n.getExternalGrammar(u,r);if(m)if(d){let h=m.repository[d];h&&(a=x.getCompiledRuleId(h,n,m.repository))}else a=x.getCompiledRuleId(m.repository.$self,n,m.repository);break}}else a=x.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let p=!1;if((c instanceof pt||c instanceof He||c instanceof de)&&c.hasMissingPatterns&&c.patterns.length===0&&(p=!0),p)continue;i.push(a)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},Z=class Kt{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,n){if(e&&typeof e=="string"){const r=e.length;let i=0,o=[],s=!1;for(let l=0;l<r;l++)if(e.charAt(l)==="\\"&&l+1<r){const c=e.charAt(l+1);c==="z"?(o.push(e.substring(i,l)),o.push("$(?!\\n)(?<!\\n)"),i=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,i===0?this.source=e:(o.push(e.substring(i,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=kr.test(this.source):this.hasBackReferences=!1}clone(){return new Kt(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(i=>e.substring(i.start,i.end));return ut.lastIndex=0,this.source.replace(ut,(i,o)=>$t(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],r=[],i=[],o,s,l,a;for(o=0,s=this.source.length;o<s;o++)l=this.source.charAt(o),e[o]=l,n[o]=l,r[o]=l,i[o]=l,l==="\\"&&o+1<s&&(a=this.source.charAt(o+1),a==="A"?(e[o+1]="",n[o+1]="",r[o+1]="A",i[o+1]="A"):a==="G"?(e[o+1]="",n[o+1]="G",r[o+1]="",i[o+1]="G"):(e[o+1]=a,n[o+1]=a,r[o+1]=a,i[o+1]=a),o++);return{A0_G0:e.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(e,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},ee=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,e){this._items[t].source!==e&&(this._disposeCaches(),this._items[t].setSource(e))}compile(t){if(!this._cached){let e=this._items.map(n=>n.source);this._cached=new mt(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let r=this._items.map(i=>i.resolveAnchors(e,n));return new mt(t,r,this._items.map(i=>i.ruleId))}},mt=class{constructor(t,e,n){this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e<n;e++)t.push(" - "+this.rules[e]+": "+this.regExps[e]);return t.join(`
|
|
2
|
+
`)}findNextMatchSync(t,e,n){const r=this.scanner.findNextMatchSync(t,e,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Oe=class{constructor(t,e){this.languageId=t,this.tokenType=e}},Lr=class Fe{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,n){this._defaultAttributes=new Oe(e,8),this._embeddedLanguagesMatcher=new Ar(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?Fe._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}static _NULL_SCOPE_METADATA=new Oe(0,0);_getBasicScopeAttributes=new Ut(e=>{const n=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new Oe(n,r)});_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(Fe.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},Ar=class{values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const e=t.map(([n,r])=>$t(n));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const e=t.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},ht=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function Jt(t,e,n,r,i,o,s,l){const a=e.content.length;let c=!1,p=-1;if(s){const m=Tr(t,e,n,r,i,o);i=m.stack,r=m.linePos,n=m.isFirstLine,p=m.anchorPosition}const u=Date.now();for(;!c;){if(l!==0&&Date.now()-u>l)return new ht(i,!0);d()}return new ht(i,!1);function d(){const m=xr(t,e,n,r,i,p);if(!m){o.produce(i,a),c=!0;return}const h=m.captureIndices,S=m.matchedRuleId,_=h&&h.length>0?h[0].end>r:!1;if(S===vr){const y=i.getRule(t);o.produce(i,h[0].start),i=i.withContentNameScopesList(i.nameScopesList),X(t,e,n,i,o,y.endCaptures,h),o.produce(i,h[0].end);const g=i;if(i=i.parent,p=g.getAnchorPos(),!_&&g.getEnterPos()===r){i=g,o.produce(i,a),c=!0;return}}else{const y=t.getRule(S);o.produce(i,h[0].start);const g=i,b=y.getName(e.content,h),v=i.contentNameScopesList.pushAttributed(b,t);if(i=i.push(S,r,p,h[0].end===a,null,v,v),y instanceof He){const N=y;X(t,e,n,i,o,N.beginCaptures,h),o.produce(i,h[0].end),p=h[0].end;const E=N.getContentName(e.content,h),j=v.pushAttributed(E,t);if(i=i.withContentNameScopesList(j),N.endHasBackReferences&&(i=i.withEndRule(N.getEndWithResolvedBackReferences(e.content,h))),!_&&g.hasSameRuleAs(i)){i=i.pop(),o.produce(i,a),c=!0;return}}else if(y instanceof de){const N=y;X(t,e,n,i,o,N.beginCaptures,h),o.produce(i,h[0].end),p=h[0].end;const E=N.getContentName(e.content,h),j=v.pushAttributed(E,t);if(i=i.withContentNameScopesList(j),N.whileHasBackReferences&&(i=i.withEndRule(N.getWhileWithResolvedBackReferences(e.content,h))),!_&&g.hasSameRuleAs(i)){i=i.pop(),o.produce(i,a),c=!0;return}}else if(X(t,e,n,i,o,y.captures,h),o.produce(i,h[0].end),i=i.pop(),!_){i=i.safePop(),o.produce(i,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function Tr(t,e,n,r,i,o){let s=i.beginRuleCapturedEOL?0:-1;const l=[];for(let a=i;a;a=a.pop()){const c=a.getRule(t);c instanceof de&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:p}=Ir(a.rule,t,a.stack.endRule,n,r===s),u=c.findNextMatchSync(e,r,p);if(u){if(u.ruleId!==qt){i=a.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(o.produce(a.stack,u.captureIndices[0].start),X(t,e,n,a.stack,o,a.rule.whileCaptures,u.captureIndices),o.produce(a.stack,u.captureIndices[0].end),s=u.captureIndices[0].end,u.captureIndices[0].end>r&&(r=u.captureIndices[0].end,n=!1))}else{i=a.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:s,isFirstLine:n}}function xr(t,e,n,r,i,o){const s=Pr(t,e,n,r,i,o),l=t.getInjections();if(l.length===0)return s;const a=Er(l,t,e,n,r,i,o);if(!a)return s;if(!s)return a;const c=s.captureIndices[0].start,p=a.captureIndices[0].start;return p<c||a.priorityMatch&&p===c?a:s}function Pr(t,e,n,r,i,o){const s=i.getRule(t),{ruleScanner:l,findOptions:a}=Xt(s,t,i.endRule,n,r===o),c=l.findNextMatchSync(e,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Er(t,e,n,r,i,o,s){let l=Number.MAX_VALUE,a=null,c,p=0;const u=o.contentNameScopesList.getScopeNames();for(let d=0,m=t.length;d<m;d++){const h=t[d];if(!h.matcher(u))continue;const S=e.getRule(h.ruleId),{ruleScanner:_,findOptions:y}=Xt(S,e,null,r,i===s),g=_.findNextMatchSync(n,i,y);if(!g)continue;const b=g.captureIndices[0].start;if(!(b>=l)&&(l=b,a=g.captureIndices,c=g.ruleId,p=h.priority,l===i))break}return a?{priorityMatch:p===-1,captureIndices:a,matchedRuleId:c}:null}function Xt(t,e,n,r,i){return{ruleScanner:t.compileAG(e,n,r,i),findOptions:0}}function Ir(t,e,n,r,i){return{ruleScanner:t.compileWhileAG(e,n,r,i),findOptions:0}}function X(t,e,n,r,i,o,s){if(o.length===0)return;const l=e.content,a=Math.min(o.length,s.length),c=[],p=s[0].end;for(let u=0;u<a;u++){const d=o[u];if(d===null)continue;const m=s[u];if(m.length===0)continue;if(m.start>p)break;for(;c.length>0&&c[c.length-1].endPos<=m.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,m.start):i.produce(r,m.start),d.retokenizeCapturedWithRuleId){const S=d.getName(l,s),_=r.contentNameScopesList.pushAttributed(S,t),y=d.getContentName(l,s),g=_.pushAttributed(y,t),b=r.push(d.retokenizeCapturedWithRuleId,m.start,-1,!1,null,_,g),v=t.createOnigString(l.substring(0,m.end));Jt(t,v,n&&m.start===0,m.start,b,i,!1,0),Ft(v);continue}const h=d.getName(l,s);if(h!==null){const _=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,t);c.push(new Or(_,m.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var Or=class{scopes;endPos;constructor(t,e){this.scopes=t,this.endPos=e}};function Mr(t,e,n,r,i,o,s,l){return new Dr(t,e,n,r,i,o,s,l)}function dt(t,e,n,r,i){const o=me(e,fe),s=Vt.getCompiledRuleId(n,r,i.repository);for(const l of o)t.push({debugSelector:e,matcher:l.matcher,ruleId:s,grammar:i,priority:l.priority})}function fe(t,e){if(e.length<t.length)return!1;let n=0;return t.every(r=>{for(let i=n;i<e.length;i++)if(Br(e[i],r))return n=i+1,!0;return!1})}function Br(t,e){if(!t)return!1;if(t===e)return!0;const n=e.length;return t.length>n&&t.substr(0,n)===e&&t[n]==="."}var Dr=class{constructor(t,e,n,r,i,o,s,l){if(this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=l,this._basicScopeAttributesProvider=new Lr(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=ft(e,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const a of Object.keys(i)){const c=me(a,fe);for(const p of c)this._tokenTypeMatchers.push({matcher:p.matcher,type:i[a]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},e=[],n=this._rootScopeName,r=t.lookup(n);if(r){const i=r.injections;if(i)for(let s in i)dt(e,s,i[s],this,r);const o=this._grammarRepository.injections(n);o&&o.forEach(s=>{const l=this.getExternalGrammar(s);if(l){const a=l.injectionSelector;a&&dt(e,a,l,this,l)}})}return e.sort((i,o)=>i.priority-o.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const e=++this._lastRuleId,n=t(e);return this._ruleId2desc[e]=n,n}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,e){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const n=this._grammarRepository.lookup(t);if(n)return this._includedGrammars[t]=ft(n,e&&e.$base),this._includedGrammars[t]}}tokenizeLine(t,e,n=0){const r=this._tokenize(t,e,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(t,e,n=0){const r=this._tokenize(t,e,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(t,e,n,r){this._rootId===-1&&(this._rootId=Vt.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!e||e===ze.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),p=this.themeProvider.getDefaults(),u=H.set(0,c.languageId,c.tokenType,null,p.fontStyle,p.foregroundId,p.backgroundId),d=this.getRule(this._rootId).getName(null,null);let m;d?m=Y.createRootAndLookUpScopeName(d,u,this):m=Y.createRoot("unknown",u),e=new ze(null,this._rootId,-1,-1,!1,null,m,m)}else i=!1,e.reset();t=t+`
|
|
3
|
+
`;const o=this.createOnigString(t),s=o.content.length,l=new jr(n,t,this._tokenTypeMatchers,this.balancedBracketSelectors),a=Jt(this,o,i,0,e,l,!0,r);return Ft(o),{lineLength:s,lineTokens:l,ruleStack:a.stack,stoppedEarly:a.stoppedEarly}}};function ft(t,e){return t=nr(t),t.repository=t.repository||{},t.repository.$self={$vscodeTextmateLocation:t.$vscodeTextmateLocation,patterns:t.patterns,name:t.scopeName},t.repository.$base=e||t.repository.$self,t}var Y=class D{constructor(e,n,r){this.parent=e,this.scopePath=n,this.tokenAttributes=r}static fromExtension(e,n){let r=e,i=e?.scopePath??null;for(const o of n)i=Ie.push(i,o.scopeNames),r=new D(r,i,o.encodedTokenAttributes);return r}static createRoot(e,n){return new D(null,new Ie(null,e),n)}static createRootAndLookUpScopeName(e,n,r){const i=r.getMetadataForScope(e),o=new Ie(null,e),s=r.themeProvider.themeMatch(o),l=D.mergeAttributes(n,i,s);return new D(null,o,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return D.equals(this,e)}static equals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.scopeName!==n.scopeName||e.tokenAttributes!==n.tokenAttributes)return!1;e=e.parent,n=n.parent}while(!0)}static mergeAttributes(e,n,r){let i=-1,o=0,s=0;return r!==null&&(i=r.fontStyle,o=r.foregroundId,s=r.backgroundId),H.set(e,n.languageId,n.tokenType,null,i,o,s)}pushAttributed(e,n){if(e===null)return this;if(e.indexOf(" ")===-1)return D._pushAttributed(this,e,n);const r=e.split(/ /g);let i=this;for(const o of r)i=D._pushAttributed(i,o,n);return i}static _pushAttributed(e,n,r){const i=r.getMetadataForScope(n),o=e.scopePath.push(n),s=r.themeProvider.themeMatch(o),l=D.mergeAttributes(e.tokenAttributes,i,s);return new D(e,o,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){const n=[];let r=this;for(;r&&r!==e;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===e?n.reverse():void 0}},ze=class U{constructor(e,n,r,i,o,s,l,a){this.parent=e,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}_stackElementBrand=void 0;static NULL=new U(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(e){return e===null?!1:U._equals(this,e)}static _equals(e,n){return e===n?!0:this._structuralEquals(e,n)?Y.equals(e.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.depth!==n.depth||e.ruleId!==n.ruleId||e.endRule!==n.endRule)return!1;e=e.parent,n=n.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){U._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,i,o,s,l){return new U(this,e,n,r,i,o,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,n){return this.parent&&(n=this.parent._writeString(e,n)),e[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new U(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let n=this;for(;n&&n._enterPos===e._enterPos;){if(n.ruleId===e.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(e,n){const r=Y.fromExtension(e?.nameScopesList??null,n.nameScopesList);return new U(e,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Y.fromExtension(r,n.contentNameScopesList))}},Gr=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,e){this.balancedBracketScopes=t.flatMap(n=>n==="*"?(this.allowAny=!0,[]):me(n,fe).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>me(n,fe).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const e of this.unbalancedBracketScopes)if(e(t))return!1;for(const e of this.balancedBracketScopes)if(e(t))return!0;return this.allowAny}},jr=class{constructor(t,e,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=t,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(t,e){this.produceFromScopes(t.contentNameScopesList,e)}produceFromScopes(t,e){if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let r=t?.tokenAttributes??0,i=!1;if(this.balancedBracketSelectors?.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=t?.getScopeNames()??[];for(const s of this._tokenTypeOverrides)s.matcher(o)&&(r=H.set(r,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(o))}if(i&&(r=H.set(r,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=e;return}const n=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:n}),this._lastTokenEndIndex=e}getResult(t,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,e),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,i=this._binaryTokens.length;r<i;r++)n[r]=this._binaryTokens[r];return n}},$r=class{constructor(t,e){this._onigLib=e,this._theme=t}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,e){this._rawGrammars.set(t.scopeName,t),e&&this._injectionGrammars.set(t.scopeName,e)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}grammarForScopeName(t,e,n,r,i){if(!this._grammars.has(t)){let o=this._rawGrammars.get(t);if(!o)return null;this._grammars.set(t,Mr(t,o,e,n,r,i,this,this._onigLib))}return this._grammars.get(t)}},Ur=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new $r(pe.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,n){this._syncRegistry.setTheme(pe.createFromRawTheme(e,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,n,r){return this.loadGrammarWithConfiguration(e,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(e,n,r){return this._loadGrammar(e,n,r.embeddedLanguages,r.tokenTypes,new Gr(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,n,r,i,o){const s=new gr(this._syncRegistry,e);for(;s.Q.length>0;)s.Q.map(l=>this._loadSingleGrammar(l.scopeName)),s.processQueue();return this._grammarForScopeName(e,n,r,i,o)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const n=this._options.loadGrammar(e);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(e,n=[],r=0,i=null){return this._syncRegistry.addGrammar(e,n),this._grammarForScopeName(e.scopeName,r,i)}_grammarForScopeName(e,n=0,r=null,i=null,o=null){return this._syncRegistry.grammarForScopeName(e,n,r,i,o)}},qe=ze.NULL;function ge(t,e){const n=typeof t=="string"?{}:{...t.colorReplacements},r=typeof t=="string"?t:t.name;for(const[i,o]of Object.entries(e?.colorReplacements||{}))typeof o=="string"?n[i]=o:i===r&&Object.assign(n,o);return n}function $(t,e){return t&&(e?.[t?.toLowerCase()]||t)}function Wr(t){return Array.isArray(t)?t:[t]}async function Yt(t){return Promise.resolve(typeof t=="function"?t():t).then(e=>e.default||e)}function ke(t){return!t||["plaintext","txt","text","plain"].includes(t)}function Qt(t){return t==="ansi"||ke(t)}function ve(t){return t==="none"}function Zt(t){return ve(t)}const Hr=/(\r?\n)/g;function Re(t,e=!1){if(t.length===0)return[["",0]];const n=t.split(Hr);let r=0;const i=[];for(let o=0;o<n.length;o+=2){const s=e?n[o]+(n[o+1]||""):n[o];i.push([s,r]),r+=n[o].length,r+=n[o+1]?.length||0}return i}const gt={light:"#333333",dark:"#bbbbbb"},yt={light:"#fffffe",dark:"#1e1e1e"},_t="__shiki_resolved";function tt(t){if(t?.[_t])return t;const e={...t};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||="dark",e.colorReplacements={...e.colorReplacements},e.settings||=[];let{bg:n,fg:r}=e;if(!n||!r){const l=e.settings?e.settings.find(a=>!a.name&&!a.scope):void 0;l?.settings?.foreground&&(r=l.settings.foreground),l?.settings?.background&&(n=l.settings.background),!r&&e?.colors?.["editor.foreground"]&&(r=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),r||(r=e.type==="light"?gt.light:gt.dark),n||(n=e.type==="light"?yt.light:yt.dark),e.fg=r,e.bg=n}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let i=0;const o=new Map;function s(l){if(o.has(l))return o.get(l);i+=1;const a=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return e.colorReplacements?.[`#${a}`]?s(l):(o.set(l,a),a)}e.settings=e.settings.map(l=>{const a=l.settings?.foreground&&!l.settings.foreground.startsWith("#"),c=l.settings?.background&&!l.settings.background.startsWith("#");if(!a&&!c)return l;const p={...l,settings:{...l.settings}};if(a){const u=s(l.settings.foreground);e.colorReplacements[u]=l.settings.foreground,p.settings.foreground=u}if(c){const u=s(l.settings.background);e.colorReplacements[u]=l.settings.background,p.settings.background=u}return p});for(const l of Object.keys(e.colors||{}))if((l==="editor.foreground"||l==="editor.background"||l.startsWith("terminal.ansi"))&&!e.colors[l]?.startsWith("#")){const a=s(e.colors[l]);e.colorReplacements[a]=e.colors[l],e.colors[l]=a}return Object.defineProperty(e,_t,{enumerable:!1,writable:!1,value:!0}),e}async function en(t){return[...new Set((await Promise.all(t.filter(e=>!Qt(e)).map(async e=>await Yt(e).then(n=>Array.isArray(n)?n:[n])))).flat())]}async function tn(t){return(await Promise.all(t.map(async e=>Zt(e)?null:tt(await Yt(e))))).filter(e=>!!e)}function nn(t,e){if(!e)return t;if(e[t]){const n=new Set([t]);for(;e[t];){if(t=e[t],n.has(t))throw new k(`Circular alias \`${[...n].join(" -> ")} -> ${t}\``);n.add(t)}}return t}var Fr=class extends Ur{_resolver;_themes;_langs;_alias;_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(t,e,n,r={}){super(t),this._resolver=t,this._themes=e,this._langs=n,this._alias=r,this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const e=tt(t);return e.name&&(this._resolvedThemes.set(e.name,e),this._loadedThemesCache=null),e}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let e=this._textmateThemeCache.get(t);e||(e=pe.createFromRawTheme(t),this._textmateThemeCache.set(t,e)),this._syncRegistry.setTheme(e)}getGrammar(t){return t=nn(t,this._alias),this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const e=new Set([...this._langMap.values()].filter(i=>i.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const n={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const r=this.loadGrammarWithConfiguration(t.scopeName,1,n);if(r.name=t.name,this._resolvedGrammars.set(t.name,r),t.aliases&&t.aliases.forEach(i=>{this._alias[i]=t.name}),this._loadedLanguagesCache=null,e.size)for(const i of e)this._resolvedGrammars.delete(i.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(i.scopeName),this._syncRegistry?._grammars?.delete(i.scopeName),this.loadLanguage(this._langMap.get(i.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const r of t)this.resolveEmbeddedLanguages(r);const e=[...this._langGraph.entries()],n=e.filter(([r,i])=>!i);if(n.length){const r=e.filter(([i,o])=>o?(o.embeddedLanguages||o.embeddedLangs)?.some(s=>n.map(([l])=>l).includes(s)):!1).filter(i=>!n.includes(i));throw new k(`Missing languages ${n.map(([i])=>`\`${i}\``).join(", ")}, required by ${r.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[r,i]of e)this._resolver.addLanguage(i);for(const[r,i]of e)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){this._langMap.set(t.name,t),this._langGraph.set(t.name,t);const e=t.embeddedLanguages??t.embeddedLangs;if(e)for(const n of e)this._langGraph.set(n,this._langMap.get(n))}},zr=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,e){this._onigLib={createOnigScanner:n=>t.createScanner(n),createOnigString:n=>t.createString(n)},e.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(e=>{this._langs.set(e,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(e=>{this._injections.get(e)||this._injections.set(e,[]),this._injections.get(e).push(t.scopeName)})}getInjections(t){const e=t.split(".");let n=[];for(let r=1;r<=e.length;r++){const i=e.slice(0,r).join(".");n=[...n,...this._injections.get(i)||[]]}return n}};let J=0;function qr(t){J+=1,t.warnings!==!1&&J>=10&&J%10===0&&console.warn(`[Shiki] ${J} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let e=!1;if(!t.engine)throw new k("`engine` option is required for synchronous mode");const n=(t.langs||[]).flat(1),r=(t.themes||[]).flat(1).map(tt),i=new Fr(new zr(t.engine,n),r,n,t.langAlias);let o;function s(g){return nn(g,t.langAlias)}function l(g){_();const b=i.getGrammar(typeof g=="string"?g:g.name);if(!b)throw new k(`Language \`${g}\` not found, you may need to load it first`);return b}function a(g){if(g==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};_();const b=i.getTheme(g);if(!b)throw new k(`Theme \`${g}\` not found, you may need to load it first`);return b}function c(g){_();const b=a(g);return o!==g&&(i.setTheme(b),o=g),{theme:b,colorMap:i.getColorMap()}}function p(){return _(),i.getLoadedThemes()}function u(){return _(),i.getLoadedLanguages()}function d(...g){_(),i.loadLanguages(g.flat(1))}async function m(...g){return d(await en(g))}function h(...g){_();for(const b of g.flat(1))i.loadTheme(b)}async function S(...g){return _(),h(await tn(g))}function _(){if(e)throw new k("Shiki instance has been disposed")}function y(){e||(e=!0,i.dispose(),J-=1)}return{setTheme:c,getTheme:a,getLanguage:l,getLoadedThemes:p,getLoadedLanguages:u,resolveLangAlias:s,loadLanguage:m,loadLanguageSync:d,loadTheme:S,loadThemeSync:h,dispose:y,[Symbol.dispose]:y}}async function Vr(t){t.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,n,r]=await Promise.all([tn(t.themes||[]),en(t.langs||[]),t.engine]);return qr({...t,themes:e,langs:n,engine:r})}const rn=new WeakMap;function Ne(t,e){rn.set(t,e)}function te(t){return rn.get(t)}var Le=class on{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,n){return new on(Object.fromEntries(Wr(n).map(r=>[r,qe])),e)}constructor(...e){if(e.length===2){const[n,r]=e;this.lang=r,this._stacks=n}else{const[n,r,i]=e;this.lang=r,this._stacks={[i]:n}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return Kr(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function Kr(t){const e=[],n=new Set;function r(i){if(n.has(i))return;n.add(i);const o=i?.nameScopesList?.scopeName;o&&e.push(o),i.parent&&r(i.parent)}return r(t),e}function Jr(t,e){if(!(t instanceof Le))throw new k("Invalid grammar state");return t.getInternalStack(e)}const Xr=/,/,Yr=/ /;function sn(t,e,n={}){const{theme:r=t.getLoadedThemes()[0]}=n;if(ke(t.resolveLangAlias(n.lang||"text"))||ve(r))return Re(e).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:o}=t.setTheme(r),s=t.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==s.name)throw new k(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${s.name}"`);if(!n.grammarState.themes.includes(i.name))throw new k(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return Zr(e,s,i,o,n)}function Qr(...t){if(t.length===2)return te(t[1]);const[e,n,r={}]=t,{lang:i="text",theme:o=e.getLoadedThemes()[0]}=r;if(ke(i)||ve(o))throw new k("Plain language does not have grammar state");if(i==="ansi")throw new k("ANSI language does not have grammar state");const{theme:s,colorMap:l}=e.setTheme(o),a=e.getLanguage(i);return new Le(nt(n,a,s,l,r).stateStack,a.name,s.name)}function Zr(t,e,n,r,i){const o=nt(t,e,n,r,i),s=new Le(o.stateStack,e.name,n.name);return Ne(o.tokens,s),o.tokens}function nt(t,e,n,r,i){const o=ge(n,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500,includeExplanation:a=!1}=i,c=Re(t);let p=i.grammarState?Jr(i.grammarState,n.name)??qe:i.grammarContextCode!=null?nt(i.grammarContextCode,e,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:qe,u=[];const d=[];for(let m=0,h=c.length;m<h;m++){const[S,_]=c[m];if(S===""){u=[],d.push([]);continue}if(s>0&&S.length>=s){u=[],d.push([{content:S,offset:_,color:"",fontStyle:0}]);continue}let y,g,b;a&&a!=="tokenType"&&(y=e.tokenizeLine(S,p,l),g=y.tokens,b=0);const v=e.tokenizeLine2(S,p,l),N=v.tokens.length/2;for(let E=0;E<N;E++){const j=v.tokens[2*E],Ae=E+1<N?v.tokens[2*E+2]:S.length;if(j===Ae)continue;const Te=v.tokens[2*E+1],vn=$(r[H.getForeground(Te)],o),Rn=H.getFontStyle(Te),ie={content:S.substring(j,Ae),offset:_+j,color:vn,fontStyle:Rn};if(a==="tokenType")ie.type=H.getTokenType(Te);else if(a){const st=[];if(a!=="scopeName")for(const G of n.settings){let z;switch(typeof G.scope){case"string":z=G.scope.split(Xr).map(xe=>xe.trim());break;case"object":z=G.scope;break;default:continue}st.push({settings:G,selectors:z.map(xe=>xe.split(Yr))})}ie.explanation=[];let at=0;for(;j+at<Ae;){const G=g[b],z=S.substring(G.startIndex,G.endIndex);at+=z.length,ie.explanation.push({content:z,scopes:a==="scopeName"?ei(G.scopes):ti(st,G.scopes)}),b+=1}}u.push(ie)}d.push(u),u=[],p=v.ruleStack}return{tokens:d,stateStack:p}}function ei(t){return t.map(e=>({scopeName:e}))}function ti(t,e){const n=[];for(let r=0,i=e.length;r<i;r++){const o=e[r];n[r]={scopeName:o,themeMatches:ri(t,o,e.slice(0,r))}}return n}function bt(t,e){return t===e||e.substring(0,t.length)===t&&e[t.length]==="."}function ni(t,e,n){if(!bt(t.at(-1),e))return!1;let r=t.length-2,i=n.length-1;for(;r>=0&&i>=0;)bt(t[r],n[i])&&(r-=1),i-=1;return r===-1}function ri(t,e,n){const r=[];for(const{selectors:i,settings:o}of t)for(const s of i)if(ni(s,e,n)){r.push(o);break}return r}function an(t,e,n,r=sn){const i=Object.entries(n.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})),o=i.map(c=>{const p=r(t,e,{...n,theme:c.theme});return{tokens:p,state:te(p),theme:typeof c.theme=="string"?c.theme:c.theme.name}}),s=ii(...o.map(c=>c.tokens)),l=s[0].map((c,p)=>c.map((u,d)=>{const m={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(m.explanation=u.explanation),s.forEach((h,S)=>{const{content:_,explanation:y,offset:g,...b}=h[p][d];m.variants[i[S].color]=b}),m})),a=o[0].state?new Le(Object.fromEntries(o.map(c=>[c.theme,c.state?.getInternalStack(c.theme)])),o[0].state.lang):void 0;return a&&Ne(l,a),l}function ii(...t){const e=t.map(()=>[]),n=t.length;for(let r=0;r<t[0].length;r++){const i=t.map(a=>a[r]),o=e.map(()=>[]);e.forEach((a,c)=>a.push(o[c]));const s=i.map(()=>0),l=i.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const p=l[c];p.content.length===a?(o[c].push(p),s[c]+=1,l[c]=i[c][s[c]]):(o[c].push({...p,content:p.content.slice(0,a)}),l[c]={...p,content:p.content.slice(a),offset:p.offset+a})}}}return e}const oi=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class re{constructor(e,n,r){this.normal=n,this.property=e,r&&(this.space=r)}}re.prototype.normal={};re.prototype.property={};re.prototype.space=void 0;function ln(t,e){const n={},r={};for(const i of t)Object.assign(n,i.property),Object.assign(r,i.normal);return new re(n,r,e)}function Ve(t){return t.toLowerCase()}class I{constructor(e,n){this.attribute=n,this.property=e}}I.prototype.attribute="";I.prototype.booleanish=!1;I.prototype.boolean=!1;I.prototype.commaOrSpaceSeparated=!1;I.prototype.commaSeparated=!1;I.prototype.defined=!1;I.prototype.mustUseProperty=!1;I.prototype.number=!1;I.prototype.overloadedBoolean=!1;I.prototype.property="";I.prototype.spaceSeparated=!1;I.prototype.space=void 0;let si=0;const C=F(),R=F(),Ke=F(),f=F(),w=F(),q=F(),O=F();function F(){return 2**++si}var Je=Object.freeze({__proto__:null,boolean:C,booleanish:R,commaOrSpaceSeparated:O,commaSeparated:q,number:f,overloadedBoolean:Ke,spaceSeparated:w});const Me=Object.keys(Je);class rt extends I{constructor(e,n,r,i){let o=-1;if(super(e,n),St(this,"space",i),typeof r=="number")for(;++o<Me.length;){const s=Me[o];St(this,Me[o],(r&Je[s])===Je[s])}}}rt.prototype.defined=!0;function St(t,e,n){n&&(t[e]=n)}function K(t){const e={},n={};for(const[r,i]of Object.entries(t.properties)){const o=new rt(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,n[Ve(r)]=r,n[Ve(o.attribute)]=r}return new re(e,n,t.space)}const cn=K({properties:{ariaActiveDescendant:null,ariaAtomic:R,ariaAutoComplete:null,ariaBusy:R,ariaChecked:R,ariaColCount:f,ariaColIndex:f,ariaColSpan:f,ariaControls:w,ariaCurrent:null,ariaDescribedBy:w,ariaDetails:null,ariaDisabled:R,ariaDropEffect:w,ariaErrorMessage:null,ariaExpanded:R,ariaFlowTo:w,ariaGrabbed:R,ariaHasPopup:null,ariaHidden:R,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:w,ariaLevel:f,ariaLive:null,ariaModal:R,ariaMultiLine:R,ariaMultiSelectable:R,ariaOrientation:null,ariaOwns:w,ariaPlaceholder:null,ariaPosInSet:f,ariaPressed:R,ariaReadOnly:R,ariaRelevant:null,ariaRequired:R,ariaRoleDescription:w,ariaRowCount:f,ariaRowIndex:f,ariaRowSpan:f,ariaSelected:R,ariaSetSize:f,ariaSort:null,ariaValueMax:f,ariaValueMin:f,ariaValueNow:f,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function un(t,e){return e in t?t[e]:e}function pn(t,e){return un(t,e.toLowerCase())}const ai=K({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:q,acceptCharset:w,accessKey:w,action:null,allow:null,allowFullScreen:C,allowPaymentRequest:C,allowUserMedia:C,alt:null,as:null,async:C,autoCapitalize:null,autoComplete:w,autoFocus:C,autoPlay:C,blocking:w,capture:null,charSet:null,checked:C,cite:null,className:w,cols:f,colSpan:null,content:null,contentEditable:R,controls:C,controlsList:w,coords:f|q,crossOrigin:null,data:null,dateTime:null,decoding:null,default:C,defer:C,dir:null,dirName:null,disabled:C,download:Ke,draggable:R,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:C,formTarget:null,headers:w,height:f,hidden:Ke,high:f,href:null,hrefLang:null,htmlFor:w,httpEquiv:w,id:null,imageSizes:null,imageSrcSet:null,inert:C,inputMode:null,integrity:null,is:null,isMap:C,itemId:null,itemProp:w,itemRef:w,itemScope:C,itemType:w,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:C,low:f,manifest:null,max:null,maxLength:f,media:null,method:null,min:null,minLength:f,multiple:C,muted:C,name:null,nonce:null,noModule:C,noValidate:C,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:C,optimum:f,pattern:null,ping:w,placeholder:null,playsInline:C,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:C,referrerPolicy:null,rel:w,required:C,reversed:C,rows:f,rowSpan:f,sandbox:w,scope:null,scoped:C,seamless:C,selected:C,shadowRootClonable:C,shadowRootDelegatesFocus:C,shadowRootMode:null,shape:null,size:f,sizes:null,slot:null,span:f,spellCheck:R,src:null,srcDoc:null,srcLang:null,srcSet:null,start:f,step:null,style:null,tabIndex:f,target:null,title:null,translate:null,type:null,typeMustMatch:C,useMap:null,value:R,width:f,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:w,axis:null,background:null,bgColor:null,border:f,borderColor:null,bottomMargin:f,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:C,declare:C,event:null,face:null,frame:null,frameBorder:null,hSpace:f,leftMargin:f,link:null,longDesc:null,lowSrc:null,marginHeight:f,marginWidth:f,noResize:C,noHref:C,noShade:C,noWrap:C,object:null,profile:null,prompt:null,rev:null,rightMargin:f,rules:null,scheme:null,scrolling:R,standby:null,summary:null,text:null,topMargin:f,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:C,disableRemotePlayback:C,prefix:null,property:null,results:f,security:null,unselectable:null},space:"html",transform:pn}),li=K({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:O,accentHeight:f,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:f,amplitude:f,arabicForm:null,ascent:f,attributeName:null,attributeType:null,azimuth:f,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:f,by:null,calcMode:null,capHeight:f,className:w,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:f,diffuseConstant:f,direction:null,display:null,dur:null,divisor:f,dominantBaseline:null,download:C,dx:null,dy:null,edgeMode:null,editable:null,elevation:f,enableBackground:null,end:null,event:null,exponent:f,externalResourcesRequired:null,fill:null,fillOpacity:f,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:q,g2:q,glyphName:q,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:f,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:f,horizOriginX:f,horizOriginY:f,id:null,ideographic:f,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:f,k:f,k1:f,k2:f,k3:f,k4:f,kernelMatrix:O,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:f,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:f,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:f,overlineThickness:f,paintOrder:null,panose1:null,path:null,pathLength:f,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:w,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:f,pointsAtY:f,pointsAtZ:f,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:O,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:O,rev:O,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:O,requiredFeatures:O,requiredFonts:O,requiredFormats:O,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:f,specularExponent:f,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:f,strikethroughThickness:f,string:null,stroke:null,strokeDashArray:O,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:f,strokeOpacity:f,strokeWidth:null,style:null,surfaceScale:f,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:O,tabIndex:f,tableValues:null,target:null,targetX:f,targetY:f,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:O,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:f,underlineThickness:f,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:f,values:null,vAlphabetic:f,vMathematical:f,vectorEffect:null,vHanging:f,vIdeographic:f,version:null,vertAdvY:f,vertOriginX:f,vertOriginY:f,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:f,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:un}),mn=K({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),hn=K({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:pn}),dn=K({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),ci=/[A-Z]/g,Ct=/-[a-z]/g,ui=/^data[-\w.:]+$/i;function pi(t,e){const n=Ve(e);let r=e,i=I;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ui.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(Ct,hi);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!Ct.test(o)){let s=o.replace(ci,mi);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}i=rt}return new i(r,e)}function mi(t){return"-"+t.toLowerCase()}function hi(t){return t.charAt(1).toUpperCase()}const di=ln([cn,ai,mn,hn,dn],"html"),fn=ln([cn,li,mn,hn,dn],"svg"),wt={}.hasOwnProperty;function fi(t,e){const n=e||{};function r(i,...o){let s=r.invalid;const l=r.handlers;if(i&&wt.call(i,t)){const a=String(i[t]);s=wt.call(l,a)?l[a]:r.unknown}if(s)return s.call(this,i,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const gi=/["&'<>`]/g,yi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_i=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,bi=/[|\\{}()[\]^$+*?.]/g,kt=new WeakMap;function Si(t,e){if(t=t.replace(e.subset?Ci(e.subset):gi,r),e.subset||e.escapeOnly)return t;return t.replace(yi,n).replace(_i,r);function n(i,o,s){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function r(i,o,s){return e.format(i.charCodeAt(0),s.charCodeAt(o+1),e)}}function Ci(t){let e=kt.get(t);return e||(e=wi(t),kt.set(t,e)),e}function wi(t){const e=[];let n=-1;for(;++n<t.length;)e.push(t[n].replace(bi,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const ki=/[\dA-Fa-f]/;function vi(t,e,n){const r="&#x"+t.toString(16).toUpperCase();return n&&e&&!ki.test(String.fromCharCode(e))?r:r+";"}const Ri=/\d/;function Ni(t,e,n){const r="&#"+String(t);return n&&e&&!Ri.test(String.fromCharCode(e))?r:r+";"}const Li=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Be={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Ai=["cent","copy","divide","gt","lt","not","para","times"],gn={}.hasOwnProperty,Xe={};let ae;for(ae in Be)gn.call(Be,ae)&&(Xe[Be[ae]]=ae);const Ti=/[^\dA-Za-z]/;function xi(t,e,n,r){const i=String.fromCharCode(t);if(gn.call(Xe,i)){const o=Xe[i],s="&"+o;return n&&Li.includes(o)&&!Ai.includes(o)&&(!r||e&&e!==61&&Ti.test(String.fromCharCode(e)))?s:s+";"}return""}function Pi(t,e,n){let r=vi(t,e,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=xi(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const o=Ni(t,e,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function V(t,e){return Si(t,Object.assign({format:Pi},e))}const Ei=/^>|^->|<!--|-->|--!>|<!-$/g,Ii=[">"],Oi=["<",">"];function Mi(t,e,n,r){return r.settings.bogusComments?"<?"+V(t.value,Object.assign({},r.settings.characterReferences,{subset:Ii}))+">":"<!--"+t.value.replace(Ei,i)+"-->";function i(o){return V(o,Object.assign({},r.settings.characterReferences,{subset:Oi}))}}function Bi(t,e,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function vt(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(e);for(;i!==-1;)r++,i=n.indexOf(e,i+e.length);return r}function Di(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Gi(t){return t.join(" ").trim()}const ji=/[ \t\n\f\r]/g;function it(t){return typeof t=="object"?t.type==="text"?Rt(t.value):!1:Rt(t)}function Rt(t){return t.replace(ji,"")===""}const A=_n(1),yn=_n(-1),$i=[];function _n(t){return e;function e(n,r,i){const o=n?n.children:$i;let s=(r||0)+t,l=o[s];if(!i)for(;l&&it(l);)s+=t,l=o[s];return l}}const Ui={}.hasOwnProperty;function bn(t){return e;function e(n,r,i){return Ui.call(t,n.tagName)&&t[n.tagName](n,r,i)}}const ot=bn({body:Hi,caption:De,colgroup:De,dd:Vi,dt:qi,head:De,html:Wi,li:zi,optgroup:Ki,option:Ji,p:Fi,rp:Nt,rt:Nt,tbody:Yi,td:Lt,tfoot:Qi,th:Lt,thead:Xi,tr:Zi});function De(t,e,n){const r=A(n,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&it(r.value.charAt(0)))}function Wi(t,e,n){const r=A(n,e);return!r||r.type!=="comment"}function Hi(t,e,n){const r=A(n,e);return!r||r.type!=="comment"}function Fi(t,e,n){const r=A(n,e);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function zi(t,e,n){const r=A(n,e);return!r||r.type==="element"&&r.tagName==="li"}function qi(t,e,n){const r=A(n,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Vi(t,e,n){const r=A(n,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Nt(t,e,n){const r=A(n,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Ki(t,e,n){const r=A(n,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function Ji(t,e,n){const r=A(n,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Xi(t,e,n){const r=A(n,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Yi(t,e,n){const r=A(n,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Qi(t,e,n){return!A(n,e)}function Zi(t,e,n){const r=A(n,e);return!r||r.type==="element"&&r.tagName==="tr"}function Lt(t,e,n){const r=A(n,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const eo=bn({body:ro,colgroup:io,head:no,html:to,tbody:oo});function to(t){const e=A(t,-1);return!e||e.type!=="comment"}function no(t){const e=new Set;for(const r of t.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(e.has(r.tagName))return!1;e.add(r.tagName)}const n=t.children[0];return!n||n.type==="element"}function ro(t){const e=A(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&it(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function io(t,e,n){const r=yn(n,e),i=A(t,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ot(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function oo(t,e,n){const r=yn(n,e),i=A(t,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ot(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const le={name:[[`
|
|
4
|
+
\f\r &/=>`.split(""),`
|
|
5
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
6
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
7
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
8
|
+
\f\r &>`.split(""),`\0
|
|
9
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
10
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
11
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function so(t,e,n,r){const i=r.schema,o=i.space==="svg"?!1:r.settings.omitOptionalTags;let s=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase());const l=[];let a;i.space==="html"&&t.tagName==="svg"&&(r.schema=fn);const c=ao(r,t.properties),p=r.all(i.space==="html"&&t.tagName==="template"?t.content:t);return r.schema=i,p&&(s=!1),(c||!o||!eo(t,e,n))&&(l.push("<",t.tagName,c?" "+c:""),s&&(i.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(p),!s&&(!o||!ot(t,e,n))&&l.push("</"+t.tagName+">"),l.join("")}function ao(t,e){const n=[];let r=-1,i;if(e){for(i in e)if(e[i]!==null&&e[i]!==void 0){const o=lo(t,i,e[i]);o&&n.push(o)}}for(;++r<n.length;){const o=t.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function lo(t,e,n){const r=pi(t.schema,e),i=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,o=t.settings.allowDangerousCharacters?0:1;let s=t.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const a=V(r.attribute,Object.assign({},t.settings.characterReferences,{subset:le.name[i][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Di:Gi)(n,{padLeft:!t.settings.tightCommaSeparatedLists}):String(n),t.settings.collapseEmptyAttributes&&!n)?a:(t.settings.preferUnquoted&&(l=V(n,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:le.unquoted[i][o]}))),l!==n&&(t.settings.quoteSmart&&vt(n,s)>vt(n,t.alternative)&&(s=t.alternative),l=s+V(n,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?le.single:le.double)[i][o],attribute:!0}))+s),a+(l&&"="+l))}const co=["<","&"];function Sn(t,e,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?t.value:V(t.value,Object.assign({},r.settings.characterReferences,{subset:co}))}function uo(t,e,n,r){return r.settings.allowDangerousHtml?t.value:Sn(t,e,n,r)}function po(t,e,n,r){return r.all(t)}const mo=fi("type",{invalid:ho,unknown:fo,handlers:{comment:Mi,doctype:Bi,element:so,raw:uo,root:po,text:Sn}});function ho(t){throw new Error("Expected node, not `"+t+"`")}function fo(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}const go={},yo={},_o=[];function bo(t,e){const n=e||go,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:So,all:Co,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||oi,characterReferences:n.characterReferences||yo,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?fn:di,quote:r,alternative:i}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function So(t,e,n){return mo(t,e,n,this)}function Co(t){const e=[],n=t&&t.children||_o;let r=-1;for(;++r<n.length;)e[r]=this.one(n[r],r,t);return e.join("")}const At=/\s+/g;function Cn(t,e){if(!e)return t;t.properties||={},t.properties.class||=[],typeof t.properties.class=="string"&&(t.properties.class=t.properties.class.split(At)),Array.isArray(t.properties.class)||(t.properties.class=[]);const n=Array.isArray(e)?e:e.split(At);for(const r of n)r&&!t.properties.class.includes(r)&&t.properties.class.push(r);return t}function wo(t){const e=Re(t,!0).map(([i])=>i);function n(i){if(i===t.length)return{line:e.length-1,character:e.at(-1).length};let o=i,s=0;for(const l of e){if(o<l.length)break;o-=l.length,s++}return{line:s,character:o}}function r(i,o){let s=0;for(let l=0;l<i;l++)s+=e[l].length;return s+=o,s}return{lines:e,indexToPos:n,posToIndex:r}}const ko=["color","background-color"];function vo(t,e){let n=0;const r=[];for(const i of e)i>n&&r.push({...t,content:t.content.slice(n,i),offset:t.offset+n}),n=i;return n<t.content.length&&r.push({...t,content:t.content.slice(n),offset:t.offset+n}),r}function Ro(t,e){let n=0,r=t.length;for(;n<r;){const i=n+(r-n>>1);t[i]<=e?n=i+1:r=i}return n}function No(t,e){const n=[...e instanceof Set?e:new Set(e)].sort((r,i)=>r-i);return n.length?t.map(r=>r.flatMap(i=>{const o=i.offset+i.content.length,s=Ro(n,i.offset);let l=s;for(;l<n.length&&n[l]<o;)l++;if(s===l)return i;const a=n.slice(s,l);for(let c=0;c<a.length;c++)a[c]-=i.offset;return vo(i,a)})):t}function Lo(t,e,n,r,i="css-vars"){const o={content:t.content,explanation:t.explanation,offset:t.offset},s=e.map(p=>ye(t.variants[p])),l=new Set(s.flatMap(p=>Object.keys(p))),a={},c=(p,u)=>{const d=u==="color"?"":u==="background-color"?"-bg":`-${u}`;return n+e[p]+(u==="color"?"":d)};return s.forEach((p,u)=>{for(const d of l){const m=p[d]||"inherit";if(u===0&&r&&ko.includes(d))if(r==="light-dark()"&&s.length>1){const h=e.findIndex(g=>g==="light"),S=e.findIndex(g=>g==="dark");if(h===-1||S===-1)throw new k('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const _=s[h][d]||"inherit",y=s[S][d]||"inherit";a[d]=`light-dark(${_}, ${y})`,i==="css-vars"&&(a[c(u,d)]=m)}else a[d]=m;else i==="css-vars"&&(a[c(u,d)]=m)}}),o.htmlStyle=a,o}function ye(t){const e={};if(t.color&&(e.color=t.color),t.bgColor&&(e["background-color"]=t.bgColor),t.fontStyle){t.fontStyle&P.Italic&&(e["font-style"]="italic"),t.fontStyle&P.Bold&&(e["font-weight"]="bold");const n=[];t.fontStyle&P.Underline&&n.push("underline"),t.fontStyle&P.Strikethrough&&n.push("line-through"),n.length&&(e["text-decoration"]=n.join(" "))}return e}function Ye(t){return typeof t=="string"?t:Object.entries(t).map(([e,n])=>`${e}:${n}`).join(";")}function Ao(){const t=new WeakMap;function e(n){if(!t.has(n.meta)){let i=function(s){if(typeof s=="number"){if(s<0||s>n.source.length)throw new k(`Invalid decoration offset: ${s}. Code length: ${n.source.length}`);return{...r.indexToPos(s),offset:s}}else{const l=r.lines[s.line];if(l===void 0)throw new k(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${r.lines.length}`);let a=s.character;if(a<0&&(a=l.length+a),a<0||a>l.length)throw new k(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${l.length}`);return{...s,character:a,offset:r.posToIndex(s.line,a)}}};const r=wo(n.source),o=(n.options.decorations||[]).map(s=>({...s,start:i(s.start),end:i(s.end)}));To(o),t.set(n.meta,{decorations:o,converter:r,source:n.source})}return t.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(this.options.decorations?.length)return No(n,e(this).decorations.flatMap(r=>[r.start.offset,r.end.offset]))},code(n){if(!this.options.decorations?.length)return;const r=e(this),i=[...n.children].filter(p=>p.type==="element"&&p.tagName==="span");if(i.length!==r.converter.lines.length)throw new k(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function o(p,u,d,m){const h=i[p];let S="",_=-1,y=-1;if(u===0&&(_=0),d===0&&(y=0),d===Number.POSITIVE_INFINITY&&(y=h.children.length),_===-1||y===-1)for(let b=0;b<h.children.length;b++)S+=wn(h.children[b]),_===-1&&S.length===u&&(_=b+1),y===-1&&S.length===d&&(y=b+1);if(_===-1)throw new k(`Failed to find start index for decoration ${JSON.stringify(m.start)}`);if(y===-1)throw new k(`Failed to find end index for decoration ${JSON.stringify(m.end)}`);const g=h.children.slice(_,y);if(!m.alwaysWrap&&g.length===h.children.length)l(h,m,"line");else if(!m.alwaysWrap&&g.length===1&&g[0].type==="element")l(g[0],m,"token");else{const b={type:"element",tagName:"span",properties:{},children:g};l(b,m,"wrapper"),h.children.splice(_,g.length,b)}}function s(p,u){i[p]=l(i[p],u,"line")}function l(p,u,d){const m=u.properties||{},h=u.transform||(S=>S);return p.tagName=u.tagName||"span",p.properties={...p.properties,...m,class:p.properties.class},u.properties?.class&&Cn(p,u.properties.class),p=h(p,d)||p,p}const a=[],c=r.decorations.sort((p,u)=>u.start.offset-p.start.offset||p.end.offset-u.end.offset);for(const p of c){const{start:u,end:d}=p;if(u.line===d.line)o(u.line,u.character,d.character,p);else if(u.line<d.line){o(u.line,u.character,Number.POSITIVE_INFINITY,p);for(let m=u.line+1;m<d.line;m++)a.unshift(()=>s(m,p));o(d.line,0,d.character,p)}}a.forEach(p=>p())}}}function To(t){for(let e=0;e<t.length;e++){const n=t[e];if(n.start.offset>n.end.offset)throw new k(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=e+1;r<t.length;r++){const i=t[r],o=n.start.offset<=i.start.offset&&i.start.offset<n.end.offset,s=n.start.offset<i.end.offset&&i.end.offset<=n.end.offset,l=i.start.offset<=n.start.offset&&n.start.offset<i.end.offset,a=i.start.offset<n.end.offset&&n.end.offset<=i.end.offset;if(o||s||l||a){if(o&&s||l&&a||l&&n.start.offset===n.end.offset||s&&i.start.offset===i.end.offset)continue;throw new k(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(i.start)} intersect.`)}}}}function wn(t){return t.type==="text"?t.value:t.type==="element"?t.children.map(wn).join(""):""}const xo=[Ao()];function _e(t){const e=Po(t.transformers||[]);return[...e.pre,...e.normal,...e.post,...xo]}function Po(t){const e=[],n=[],r=[];for(const i of t)switch(i.enforce){case"pre":e.push(i);break;case"post":n.push(i);break;default:r.push(i)}return{pre:e,post:n,normal:r}}var W=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ge={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function Eo(t,e){const n=t.indexOf("\x1B",e);if(n!==-1&&t[n+1]==="["){const r=t.indexOf("m",n);if(r!==-1)return{sequence:t.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:t.length}}function Tt(t){const e=t.shift();if(e==="2"){const n=t.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(e==="5"){const n=t.shift();if(n)return{type:"table",index:Number(n)}}}function Io(t){const e=[];for(;t.length>0;){const n=t.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)e.push({type:"resetAll"});else if(r<=9)Ge[r]&&e.push({type:"setDecoration",value:Ge[r]});else if(r<=29){const i=Ge[r-20];i&&(e.push({type:"resetDecoration",value:i}),i==="dim"&&e.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)e.push({type:"setForegroundColor",value:{type:"named",name:W[r-30]}});else if(r===38){const i=Tt(t);i&&e.push({type:"setForegroundColor",value:i})}else if(r===39)e.push({type:"resetForegroundColor"});else if(r<=47)e.push({type:"setBackgroundColor",value:{type:"named",name:W[r-40]}});else if(r===48){const i=Tt(t);i&&e.push({type:"setBackgroundColor",value:i})}else r===49?e.push({type:"resetBackgroundColor"}):r===53?e.push({type:"setDecoration",value:"overline"}):r===55?e.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?e.push({type:"setForegroundColor",value:{type:"named",name:W[r-90+8]}}):r>=100&&r<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:W[r-100+8]}})}return e}function Oo(){let t=null,e=null,n=new Set;return{parse(r){const i=[];let o=0;do{const s=Eo(r,o),l=s.sequence?r.substring(o,s.startPosition):r.substring(o);if(l.length>0&&i.push({value:l,foreground:t,background:e,decorations:new Set(n)}),s.sequence){const a=Io(s.sequence);for(const c of a)c.type==="resetAll"?(t=null,e=null,n.clear()):c.type==="resetForegroundColor"?t=null:c.type==="resetBackgroundColor"?e=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of a)c.type==="setForegroundColor"?t=c.value:c.type==="setBackgroundColor"?e=c.value:c.type==="setDecoration"&&n.add(c.value)}o=s.position}while(o<r.length);return i}}}var Mo={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Bo(t=Mo){function e(l){return t[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function i(){if(r)return r;r=[];for(let c=0;c<W.length;c++)r.push(e(W[c]));let l=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let p=0;p<6;p++)for(let u=0;u<6;u++)r.push(n([l[c],l[p],l[u]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function o(l){return i()[l]}function s(l){switch(l.type){case"named":return e(l.name);case"rgb":return n(l.rgb);case"table":return o(l.index)}}return{value:s}}const Do=/#([0-9a-f]{3,8})/i,Go=/var\((--[\w-]+-ansi-[\w-]+)\)/,jo={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function $o(t,e,n){const r=ge(t,n),i=Re(e),o=Bo(Object.fromEntries(W.map(l=>{const a=`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`;return[l,t.colors?.[a]||jo[l]]}))),s=Oo();return i.map(l=>s.parse(l[0]).map(a=>{let c,p;a.decorations.has("reverse")?(c=a.background?o.value(a.background):t.bg,p=a.foreground?o.value(a.foreground):t.fg):(c=a.foreground?o.value(a.foreground):t.fg,p=a.background?o.value(a.background):void 0),c=$(c,r),p=$(p,r),a.decorations.has("dim")&&(c=Uo(c));let u=P.None;return a.decorations.has("bold")&&(u|=P.Bold),a.decorations.has("italic")&&(u|=P.Italic),a.decorations.has("underline")&&(u|=P.Underline),a.decorations.has("strikethrough")&&(u|=P.Strikethrough),{content:a.value,offset:l[1],color:c,bgColor:p,fontStyle:u}}))}function Uo(t){const e=t.match(Do);if(e){const r=e[1];if(r.length===8){const i=Math.round(Number.parseInt(r.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${r.slice(0,6)}${i}`}else{if(r.length===6)return`#${r}80`;if(r.length===4){const i=r[0],o=r[1],s=r[2],l=r[3];return`#${i}${i}${o}${o}${s}${s}${Math.round(Number.parseInt(`${l}${l}`,16)/2).toString(16).padStart(2,"0")}`}else if(r.length===3){const i=r[0],o=r[1],s=r[2];return`#${i}${i}${o}${o}${s}${s}80`}}}const n=t.match(Go);return n?`var(${n[1]}-dim)`:t}function Qe(t,e,n={}){const r=t.resolveLangAlias(n.lang||"text"),{theme:i=t.getLoadedThemes()[0]}=n;if(!ke(r)&&!ve(i)&&r==="ansi"){const{theme:o}=t.setTheme(i);return $o(o,e,n)}return sn(t,e,n)}function be(t,e,n){let r,i,o,s,l,a;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:p="--shiki-",colorsRendering:u="css-vars"}=n,d=Object.entries(n.themes).filter(y=>y[1]).map(y=>({color:y[0],theme:y[1]})).sort((y,g)=>y.color===c?-1:g.color===c?1:0);if(d.length===0)throw new k("`themes` option must not be empty");const m=an(t,e,n,Qe);if(a=te(m),c&&c!=="light-dark()"&&!d.some(y=>y.color===c))throw new k(`\`themes\` option must contain the defaultColor key \`${c}\``);const h=d.map(y=>t.getTheme(y.theme)),S=d.map(y=>y.color);o=m.map(y=>y.map(g=>Lo(g,S,p,c,u))),a&&Ne(o,a);const _=d.map(y=>ge(y.theme,n));i=xt(d,h,_,p,c,"fg",u),r=xt(d,h,_,p,c,"bg",u),s=`shiki-themes ${h.map(y=>y.name).join(" ")}`,l=c?void 0:[i,r].join(";")}else if("theme"in n){const c=ge(n.theme,n);o=Qe(t,e,n);const p=t.getTheme(n.theme);r=$(p.bg,c),i=$(p.fg,c),s=p.name,a=te(o)}else throw new k("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:i,bg:r,themeName:s,rootStyle:l,grammarState:a}}function xt(t,e,n,r,i,o,s){return t.map((l,a)=>{const c=$(e[a][o],n[a])||"inherit",p=`${r+l.color}${o==="bg"?"-bg":""}:${c}`;if(a===0&&i){if(i==="light-dark()"&&t.length>1){const u=t.findIndex(m=>m.color==="light"),d=t.findIndex(m=>m.color==="dark");if(u===-1||d===-1)throw new k('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${$(e[u][o],n[u])||"inherit"}, ${$(e[d][o],n[d])||"inherit"});${p}`}return c}return s==="css-vars"?p:null}).filter(l=>!!l).join(";")}const kn=/^\s+$/,Wo=/^(\s*)(.*?)(\s*)$/;function Se(t,e,n,r={meta:{},options:n,codeToHast:(i,o)=>Se(t,i,o),codeToTokens:(i,o)=>be(t,i,o)}){let i=e;for(const h of _e(n))i=h.preprocess?.call(r,i,n)||i;let{tokens:o,fg:s,bg:l,themeName:a,rootStyle:c,grammarState:p}=be(t,i,n);const{mergeWhitespaces:u=!0,mergeSameStyleTokens:d=!1}=n;u===!0?o=Fo(o):u==="never"&&(o=zo(o)),d&&(o=qo(o));const m={...r,get source(){return i}};for(const h of _e(n))o=h.tokens?.call(m,o)||o;return Ho(o,{...n,fg:s,bg:l,themeName:a,rootStyle:n.rootStyle===!1?!1:n.rootStyle??c},m,p)}function Ho(t,e,n,r=te(t)){const i=_e(e),o=[],s={type:"root",children:[]},{structure:l="classic",tabindex:a="0"}=e,c={class:`shiki ${e.themeName||""}`};e.rootStyle!==!1&&(e.rootStyle!=null?c.style=e.rootStyle:c.style=`background-color:${e.bg};color:${e.fg}`),a!==!1&&a!=null&&(c.tabindex=a.toString());for(const[S,_]of Object.entries(e.meta||{}))S.startsWith("_")||(c[S]=_);let p={type:"element",tagName:"pre",properties:c,children:[],data:e.data},u={type:"element",tagName:"code",properties:{},children:o};const d=[],m={...n,structure:l,addClassToHast:Cn,get source(){return n.source},get tokens(){return t},get options(){return e},get root(){return s},get pre(){return p},get code(){return u},get lines(){return d}};if(t.forEach((S,_)=>{_&&(l==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):l==="classic"&&o.push({type:"text",value:`
|
|
12
|
+
`}));let y={type:"element",tagName:"span",properties:{class:"line"},children:[]},g=0;for(const b of S){let v={type:"element",tagName:"span",properties:{...b.htmlAttrs},children:[{type:"text",value:b.content}]};const N=Ye(b.htmlStyle||ye(b));N&&(v.properties.style=N);for(const E of i)v=E?.span?.call(m,v,_+1,g,y,b)||v;l==="inline"?s.children.push(v):l==="classic"&&y.children.push(v),g+=b.content.length}if(l==="classic"){for(const b of i)y=b?.line?.call(m,y,_+1)||y;d.push(y),o.push(y)}else l==="inline"&&d.push(y)}),l==="classic"){for(const S of i)u=S?.code?.call(m,u)||u;p.children.push(u);for(const S of i)p=S?.pre?.call(m,p)||p;s.children.push(p)}else if(l==="inline"){const S=[];let _={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const g of s.children)g.type==="element"&&g.tagName==="br"?(S.push(_),_={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(g.type==="element"||g.type==="text")&&_.children.push(g);S.push(_);let y={type:"element",tagName:"code",properties:{},children:S};for(const g of i)y=g?.code?.call(m,y)||y;s.children=[];for(let g=0;g<y.children.length;g++){g>0&&s.children.push({type:"element",tagName:"br",properties:{},children:[]});const b=y.children[g];b.type==="element"&&s.children.push(...b.children)}}let h=s;for(const S of i)h=S?.root?.call(m,h)||h;return r&&Ne(h,r),h}function Fo(t){return t.map(e=>{const n=[];let r="",i;return e.forEach((o,s)=>{const l=!(o.fontStyle&&(o.fontStyle&P.Underline||o.fontStyle&P.Strikethrough));l&&kn.test(o.content)&&e[s+1]?(i===void 0&&(i=o.offset),r+=o.content):r?(l?n.push({...o,offset:i,content:r+o.content}):n.push({content:r,offset:i},o),i=void 0,r=""):n.push(o)}),n})}function zo(t){return t.map(e=>e.flatMap(n=>{if(kn.test(n.content))return n;const r=n.content.match(Wo);if(!r)return n;const[,i,o,s]=r;if(!i&&!s)return n;const l=[{...n,offset:n.offset+i.length,content:o}];return i&&l.unshift({content:i,offset:n.offset}),s&&l.push({content:s,offset:n.offset+i.length+o.length}),l}))}function qo(t){return t.map(e=>{const n=[];for(const r of e){if(n.length===0){n.push({...r});continue}const i=n.at(-1),o=Ye(i.htmlStyle||ye(i)),s=Ye(r.htmlStyle||ye(r)),l=i.fontStyle&&(i.fontStyle&P.Underline||i.fontStyle&P.Strikethrough),a=r.fontStyle&&(r.fontStyle&P.Underline||r.fontStyle&P.Strikethrough);!l&&!a&&o===s?i.content+=r.content:n.push({...r})}return n})}const Vo=bo;function Ko(t,e,n){const r={meta:{},options:n,codeToHast:(o,s)=>Se(t,o,s),codeToTokens:(o,s)=>be(t,o,s)};let i=Vo(Se(t,e,n,r));for(const o of _e(n))i=o.postprocess?.call(r,i,n)||i;return i}async function Jo(t){const e=await Vr(t);return{getLastGrammarState:(...n)=>Qr(e,...n),codeToTokensBase:(n,r)=>Qe(e,n,r),codeToTokensWithThemes:(n,r)=>an(e,n,r),codeToTokens:(n,r)=>be(e,n,r),codeToHast:(n,r)=>Se(e,n,r),codeToHtml:(n,r)=>Ko(e,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...e,getInternalContext:()=>e}}function Xo(t){const e=t.langs,n=t.themes,r=t.engine;async function i(o){function s(u){if(typeof u=="string"){if(u=o.langAlias?.[u]||u,Qt(u))return[];const d=e[u];if(!d)throw new k(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return d}return u}function l(u){if(Zt(u))return"none";if(typeof u=="string"){const d=n[u];if(!d)throw new k(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return d}return u}const a=(o.themes??[]).map(u=>l(u)),c=(o.langs??[]).map(u=>s(u)),p=await Jo({engine:o.engine??r(),...o,themes:a,langs:c});return{...p,loadLanguage(...u){return p.loadLanguage(...u.map(s))},loadTheme(...u){return p.loadTheme(...u.map(l))},getBundledLanguages(){return e},getBundledThemes(){return n}}}return i}const Zo=Xo({langs:On,themes:Bn,engine:()=>(0,Mt.createOnigurumaEngine)(import("./wasm-CG6Dc4jp.js"))});export{k as ShikiError,Cn as addClassToHast,$ as applyColorReplacements,On as bundledLanguages,In as bundledLanguagesAlias,En as bundledLanguagesBase,Pt as bundledLanguagesInfo,Bn as bundledThemes,Mn as bundledThemesInfo,Xo as createBundledHighlighter,Zo as createHighlighter,Jo as createHighlighterCore,er as createOnigurumaEngine,wo as createPositionConverter,qr as createShikiPrimitive,Vr as createShikiPrimitiveAsync,Lo as flatTokenVariants,ye as getTokenStyleObject,Vo as hastToHtml,ve as isNoneTheme,ke as isPlainLang,Qt as isSpecialLang,Zt as isSpecialTheme,It as loadWasm,Yt as normalizeGetter,tt as normalizeTheme,ge as resolveColorReplacements,Re as splitLines,vo as splitToken,No as splitTokens,Ye as stringifyTokenStyle,Wr as toArray,$o as tokenizeAnsiWithTheme,Zr as tokenizeWithTheme,Ho as tokensToHast,Ao as transformerDecorations};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=Object.freeze(JSON.parse(`{"displayName":"INI","name":"ini","patterns":[{"begin":"(^[\\\\t ]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.number-sign.ini"}]},{"begin":"(^[\\\\t ]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\\\n","name":"comment.line.semicolon.ini"}]},{"captures":{"1":{"name":"keyword.other.definition.ini"},"2":{"name":"punctuation.separator.key-value.ini"}},"match":"\\\\b([-.0-9A-Z_a-z]+)\\\\b\\\\s*(=)"},{"captures":{"1":{"name":"punctuation.definition.entity.ini"},"3":{"name":"punctuation.definition.entity.ini"}},"match":"^(\\\\[)(.*?)(])","name":"entity.name.section.group-title.ini"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.single.ini","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.ini"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.double.ini"}],"scopeName":"source.ini","aliases":["properties"]}`));var i=[n];export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze(JSON.parse(`{"displayName":"Java","name":"java","patterns":[{"begin":"\\\\b(package)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.other.package.java"}},"contentName":"storage.modifier.package.java","end":"\\\\s*(;)","endCaptures":{"1":{"name":"punctuation.terminator.java"}},"name":"meta.package.java","patterns":[{"include":"#comments"},{"match":"(?<=\\\\.)\\\\s*\\\\.|\\\\.(?=\\\\s*;)","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!_)_(?=\\\\s*([.;]))|\\\\b\\\\d+|-+","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"[A-Z]+","name":"invalid.deprecated.package_name_not_lowercase.java"},{"match":"\\\\b(?<!\\\\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\\\\b","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\.","name":"punctuation.separator.java"}]},{"begin":"\\\\b(import)\\\\b\\\\s*\\\\b(static)?\\\\b\\\\s","beginCaptures":{"1":{"name":"keyword.other.import.java"},"2":{"name":"storage.modifier.java"}},"contentName":"storage.modifier.import.java","end":"\\\\s*(;)","endCaptures":{"1":{"name":"punctuation.terminator.java"}},"name":"meta.import.java","patterns":[{"include":"#comments"},{"match":"(?<=\\\\.)\\\\s*\\\\.|\\\\.(?=\\\\s*;)","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!\\\\.)\\\\s*\\\\*","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"(?<!_)_(?=\\\\s*([.;]))|\\\\b\\\\d+|-+","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\b(?<!\\\\$)(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|non-sealed|package|permits|private|protected|public|return|sealed|short|static|strictfp|super|switch|syncronized|this|throws??|transient|try|void|volatile|while|yield|true|false|null)\\\\b","name":"invalid.illegal.character_not_allowed_here.java"},{"match":"\\\\.","name":"punctuation.separator.java"},{"match":"\\\\*","name":"variable.language.wildcard.java"}]},{"include":"#comments-javadoc"},{"include":"#code"},{"include":"#module"}],"repository":{"all-types":{"patterns":[{"include":"#primitive-arrays"},{"include":"#primitive-types"},{"include":"#object-types"}]},"annotations":{"patterns":[{"begin":"((@)\\\\s*([^(\\\\s]+))(\\\\()","beginCaptures":{"2":{"name":"punctuation.definition.annotation.java"},"3":{"name":"storage.type.annotation.java"},"4":{"name":"punctuation.definition.annotation-arguments.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.annotation-arguments.end.bracket.round.java"}},"name":"meta.declaration.annotation.java","patterns":[{"captures":{"1":{"name":"constant.other.key.java"},"2":{"name":"keyword.operator.assignment.java"}},"match":"(\\\\w*)\\\\s*(=)"},{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.annotation.java"},"2":{"name":"storage.modifier.java"},"3":{"name":"storage.type.annotation.java"},"5":{"name":"punctuation.definition.annotation.java"},"6":{"name":"storage.type.annotation.java"}},"match":"(@)(interface)\\\\s+(\\\\w*)|((@)\\\\s*(\\\\w+))","name":"meta.declaration.annotation.java"}]},"anonymous-block-and-instance-initializer":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.java"}},"patterns":[{"include":"#code"}]},"anonymous-classes-and-new":{"begin":"\\\\bnew\\\\b","beginCaptures":{"0":{"name":"keyword.control.new.java"}},"end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"include":"#function-call"},{"include":"#all-types"},{"begin":"(?<=\\\\))","end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.inner-class.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.inner-class.end.bracket.curly.java"}},"name":"meta.inner-class.java","patterns":[{"include":"#class-body"}]}]},{"begin":"(?<=])","end":"(?=[])-.:;?}]|/(?![*/])|[!%\\\\&=^|])","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.array-initializer.begin.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.array-initializer.end.bracket.curly.java"}},"name":"meta.array-initializer.java","patterns":[{"include":"#code"}]}]},{"include":"#parens"}]},"assertions":{"patterns":[{"begin":"\\\\b(assert)\\\\s","beginCaptures":{"1":{"name":"keyword.control.assert.java"}},"end":"$","name":"meta.declaration.assertion.java","patterns":[{"match":":","name":"keyword.operator.assert.expression-separator.java"},{"include":"#code"}]}]},"class":{"begin":"(?=\\\\w?[-\\\\w\\\\s]*\\\\b(?:class|(?<!@)interface|enum)\\\\s+[$\\\\w]+)","end":"}","endCaptures":{"0":{"name":"punctuation.section.class.end.bracket.curly.java"}},"name":"meta.class.java","patterns":[{"include":"#storage-modifiers"},{"include":"#generics"},{"include":"#comments"},{"captures":{"1":{"name":"storage.modifier.java"},"2":{"name":"entity.name.type.class.java"}},"match":"(class|(?<!@)interface|enum)\\\\s+([$\\\\w]+)","name":"meta.class.identifier.java"},{"begin":"extends","beginCaptures":{"0":{"name":"storage.modifier.extends.java"}},"end":"(?=\\\\{|implements|permits)","name":"meta.definition.class.inherited.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"(implements)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\s*extends|permits|\\\\{)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"(permits)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.permits.java"}},"end":"(?=\\\\s*extends|implements|\\\\{)","name":"meta.definition.class.permits.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.class.begin.bracket.curly.java"}},"contentName":"meta.class.body.java","end":"(?=})","patterns":[{"include":"#class-body"}]}]},"class-body":{"patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"include":"#enums"},{"include":"#class"},{"include":"#generics"},{"include":"#static-initializer"},{"include":"#class-fields-and-methods"},{"include":"#annotations"},{"include":"#storage-modifiers"},{"include":"#member-variables"},{"include":"#code"}]},"class-fields-and-methods":{"patterns":[{"begin":"(?==)","end":"(?=;)","patterns":[{"include":"#code"}]},{"include":"#methods"}]},"code":{"patterns":[{"include":"#annotations"},{"include":"#comments"},{"include":"#enums"},{"include":"#class"},{"include":"#record"},{"include":"#anonymous-block-and-instance-initializer"},{"include":"#try-catch-finally"},{"include":"#assertions"},{"include":"#parens"},{"include":"#constants-and-special-vars"},{"include":"#numbers"},{"include":"#anonymous-classes-and-new"},{"include":"#lambda-expression"},{"include":"#keywords"},{"include":"#storage-modifiers"},{"include":"#method-call"},{"include":"#function-call"},{"include":"#variables"},{"include":"#variables-local"},{"include":"#objects"},{"include":"#properties"},{"include":"#strings"},{"include":"#all-types"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"},{"match":";","name":"punctuation.terminator.java"}]},"comments":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.comment.java"}},"match":"/\\\\*\\\\*/","name":"comment.block.empty.java"},{"include":"#comments-inline"}]},"comments-inline":{"patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.java"}},"end":"\\\\*/","name":"comment.block.java"},{"begin":"(^[\\\\t ]+)?(?=//)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.java"}},"end":"(?!\\\\G)","patterns":[{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.java"}},"end":"\\\\n","name":"comment.line.double-slash.java"}]}]},"comments-javadoc":{"patterns":[{"begin":"^\\\\s*(/\\\\*\\\\*)(?!/)","beginCaptures":{"1":{"name":"punctuation.definition.comment.java"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.java"}},"name":"comment.block.javadoc.java","patterns":[{"match":"@(author|deprecated|return|see|serial|since|version)\\\\b","name":"keyword.other.documentation.javadoc.java"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"variable.parameter.java"}},"match":"(@param)\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"entity.name.type.class.java"}},"match":"(@(?:exception|throws))\\\\s+(\\\\S+)"},{"captures":{"1":{"name":"keyword.other.documentation.javadoc.java"},"2":{"name":"entity.name.type.class.java"},"3":{"name":"variable.parameter.java"}},"match":"\\\\{(@link)\\\\s+(\\\\S+)?#([$\\\\w]+\\\\s*\\\\([^()]*\\\\)).*?}"}]}]},"constants-and-special-vars":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.java"},{"match":"\\\\bthis\\\\b","name":"variable.language.this.java"},{"match":"\\\\bsuper\\\\b","name":"variable.language.java"}]},"enums":{"begin":"^\\\\s*([\\\\w\\\\s]*)(enum)\\\\s+(\\\\w+)","beginCaptures":{"1":{"patterns":[{"include":"#storage-modifiers"}]},"2":{"name":"storage.modifier.java"},"3":{"name":"entity.name.type.enum.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.enum.end.bracket.curly.java"}},"name":"meta.enum.java","patterns":[{"begin":"\\\\b(extends)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.extends.java"}},"end":"(?=\\\\{|\\\\bimplements\\\\b)","name":"meta.definition.class.inherited.classes.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\b(implements)\\\\b","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\{|\\\\bextends\\\\b)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.enum.begin.bracket.curly.java"}},"end":"(?=})","patterns":[{"begin":"(?<=\\\\{)","end":"(?=[;}])","patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"begin":"\\\\b(\\\\w+)\\\\b","beginCaptures":{"1":{"name":"constant.other.enum.java"}},"end":"(,)|(?=[;}])","endCaptures":{"1":{"name":"punctuation.separator.delimiter.java"}},"patterns":[{"include":"#comments-javadoc"},{"include":"#comments"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"patterns":[{"include":"#class-body"}]}]}]},{"include":"#class-body"}]}]},"function-call":{"begin":"([$A-Z_a-z][$\\\\w]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.java"},"2":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.function-call.java","patterns":[{"include":"#code"}]},"generics":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.bracket.angle.java"}},"end":">","endCaptures":{"0":{"name":"punctuation.bracket.angle.java"}},"patterns":[{"match":"\\\\b(extends|super)\\\\b","name":"storage.modifier.$1.java"},{"captures":{"1":{"name":"storage.type.java"}},"match":"(?<!\\\\.)([$A-Z_a-z][$0-9A-Z_a-z]*)(?=\\\\s*<)"},{"include":"#primitive-arrays"},{"match":"[$A-Z_a-z][$0-9A-Z_a-z]*","name":"storage.type.generic.java"},{"match":"\\\\?","name":"storage.type.generic.wildcard.java"},{"match":"&","name":"punctuation.separator.types.java"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"},{"include":"#parens"},{"include":"#generics"},{"include":"#comments"}]},"keywords":{"patterns":[{"match":"\\\\bthrow\\\\b","name":"keyword.control.throw.java"},{"match":"[:?]","name":"keyword.control.ternary.java"},{"match":"\\\\b(return|yield|break|case|continue|default|do|while|for|switch|if|else)\\\\b","name":"keyword.control.java"},{"match":"\\\\b(instanceof)\\\\b","name":"keyword.operator.instanceof.java"},{"match":"(<<|>>>?|[\\\\^~])","name":"keyword.operator.bitwise.java"},{"match":"(([\\\\&^|]|<<|>>>?)=)","name":"keyword.operator.assignment.bitwise.java"},{"match":"(===?|!=|<=|>=|<>|[<>])","name":"keyword.operator.comparison.java"},{"match":"([-%*+/]=)","name":"keyword.operator.assignment.arithmetic.java"},{"match":"(=)","name":"keyword.operator.assignment.java"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.java"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.java"},{"match":"(!|&&|\\\\|\\\\|)","name":"keyword.operator.logical.java"},{"match":"([\\\\&|])","name":"keyword.operator.bitwise.java"},{"match":"\\\\b(const|goto)\\\\b","name":"keyword.reserved.java"}]},"lambda-expression":{"patterns":[{"match":"->","name":"storage.type.function.arrow.java"}]},"member-variables":{"begin":"(?=private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final)","end":"(?=[;=])","patterns":[{"include":"#storage-modifiers"},{"include":"#variables"},{"include":"#primitive-arrays"},{"include":"#object-types"}]},"method-call":{"begin":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"entity.name.function.java"},"3":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.method-call.java","patterns":[{"include":"#code"}]},"methods":{"begin":"(?!new)(?=[<\\\\w].*\\\\s+)(?=([^/=]|/(?!/))+\\\\()","end":"(})|(?=;)","endCaptures":{"1":{"name":"punctuation.section.method.end.bracket.curly.java"}},"name":"meta.method.java","patterns":[{"include":"#storage-modifiers"},{"begin":"(\\\\w+)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.java"},"2":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.method.identifier.java","patterns":[{"include":"#parameters"},{"include":"#parens"},{"include":"#comments"}]},{"include":"#generics"},{"begin":"(?=\\\\w.*\\\\s+\\\\w+\\\\s*\\\\()","end":"(?=\\\\s+\\\\w+\\\\s*\\\\()","name":"meta.method.return-type.java","patterns":[{"include":"#all-types"},{"include":"#parens"},{"include":"#comments"}]},{"include":"#throws"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.method.begin.bracket.curly.java"}},"contentName":"meta.method.body.java","end":"(?=})","patterns":[{"include":"#code"}]},{"include":"#comments"}]},"module":{"begin":"((open)\\\\s)?(module)\\\\s+(\\\\w+)","beginCaptures":{"1":{"name":"storage.modifier.java"},"3":{"name":"storage.modifier.java"},"4":{"name":"entity.name.type.module.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.module.end.bracket.curly.java"}},"name":"meta.module.java","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.module.begin.bracket.curly.java"}},"contentName":"meta.module.body.java","end":"(?=})","patterns":[{"include":"#comments"},{"include":"#comments-javadoc"},{"match":"\\\\b(requires|transitive|exports|opens|to|uses|provides|with)\\\\b","name":"keyword.module.java"}]}]},"numbers":{"patterns":[{"match":"\\\\b(?<!\\\\$)0([Xx])((?<!\\\\.)\\\\h([_\\\\h]*\\\\h)?[Ll]?(?!\\\\.)|(\\\\h([_\\\\h]*\\\\h)?\\\\.?|(\\\\h([_\\\\h]*\\\\h)?)?\\\\.\\\\h([_\\\\h]*\\\\h)?)[Pp][-+]?[0-9]([0-9_]*[0-9])?[DFdf]?)\\\\b(?!\\\\$)","name":"constant.numeric.hex.java"},{"match":"\\\\b(?<!\\\\$)0([Bb])[01]([01_]*[01])?[Ll]?\\\\b(?!\\\\$)","name":"constant.numeric.binary.java"},{"match":"\\\\b(?<!\\\\$)0[0-7]([0-7_]*[0-7])?[Ll]?\\\\b(?!\\\\$)","name":"constant.numeric.octal.java"},{"match":"(?<!\\\\$)(\\\\b[0-9]([0-9_]*[0-9])?\\\\.\\\\B(?!\\\\.)|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([Ee][-+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\\\\b|\\\\b[0-9]([0-9_]*[0-9])?\\\\.([0-9]([0-9_]*[0-9])?)([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\\\\b|(?<!\\\\.)\\\\B\\\\.[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)[DFdf]?\\\\b|\\\\b[0-9]([0-9_]*[0-9])?([Ee][-+]?[0-9]([0-9_]*[0-9])?)?[DFdf]\\\\b|\\\\b(0|[1-9]([0-9_]*[0-9])?)(?!\\\\.)[Ll]?\\\\b)(?!\\\\$)","name":"constant.numeric.decimal.java"}]},"object-types":{"patterns":[{"include":"#generics"},{"begin":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*)([A-Z_]\\\\w*)\\\\s*(?=\\\\[)","beginCaptures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]},"2":{"name":"storage.type.object.array.java"}},"end":"(?!\\\\s*\\\\[)","patterns":[{"include":"#comments"},{"include":"#parens"}]},{"captures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]}},"match":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*[A-Z_]\\\\w*)\\\\s*(?=<)"},{"captures":{"1":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"storage.type.java"},{"match":"\\\\.","name":"punctuation.separator.period.java"}]}},"match":"\\\\b((?:[A-Z_a-z]\\\\w*\\\\s*\\\\.\\\\s*)*[A-Z_]\\\\w*)\\\\b((?=\\\\s*[\\\\n$A-Z_a-z])|(?=\\\\s*\\\\.\\\\.\\\\.))"}]},"object-types-inherited":{"patterns":[{"include":"#generics"},{"captures":{"1":{"name":"punctuation.separator.period.java"}},"match":"\\\\b(?:[A-Z]\\\\w*\\\\s*(\\\\.)\\\\s*)*[A-Z]\\\\w*\\\\b","name":"entity.other.inherited-class.java"},{"match":",","name":"punctuation.separator.delimiter.java"}]},"objects":{"match":"(?<![$\\\\w])[$A-Z_a-z][$\\\\w]*(?=\\\\s*\\\\.\\\\s*[$\\\\w]+)","name":"variable.other.object.java"},"parameters":{"patterns":[{"match":"\\\\bfinal\\\\b","name":"storage.modifier.java"},{"include":"#annotations"},{"include":"#all-types"},{"include":"#strings"},{"match":"\\\\w+","name":"variable.parameter.java"},{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"\\\\.\\\\.\\\\.","name":"punctuation.definition.parameters.varargs.java"}]},"parens":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.bracket.round.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.bracket.square.java"}},"end":"]","endCaptures":{"0":{"name":"punctuation.bracket.square.java"}},"patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.bracket.curly.java"}},"patterns":[{"include":"#code"}]}]},"primitive-arrays":{"patterns":[{"begin":"\\\\b(void|boolean|byte|char|short|int|float|long|double)\\\\b\\\\s*(?=\\\\[)","beginCaptures":{"1":{"name":"storage.type.primitive.array.java"}},"end":"(?!\\\\s*\\\\[)","patterns":[{"include":"#comments"},{"include":"#parens"}]}]},"primitive-types":{"match":"\\\\b(void|boolean|byte|char|short|int|float|long|double)\\\\b","name":"storage.type.primitive.java"},"properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"keyword.control.new.java"}},"match":"(\\\\.)\\\\s*(new)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"variable.other.object.property.java"}},"match":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)(?=\\\\s*\\\\.\\\\s*[$A-Z_a-z][$\\\\w]*)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"variable.other.object.property.java"}},"match":"(\\\\.)\\\\s*([$A-Z_a-z][$\\\\w]*)"},{"captures":{"1":{"name":"punctuation.separator.period.java"},"2":{"name":"invalid.illegal.identifier.java"}},"match":"(\\\\.)\\\\s*([0-9][$\\\\w]*)"}]},"record":{"begin":"(?=\\\\w?[\\\\w\\\\s]*\\\\brecord\\\\s+[$\\\\w]+)","end":"}","endCaptures":{"0":{"name":"punctuation.section.class.end.bracket.curly.java"}},"name":"meta.record.java","patterns":[{"include":"#storage-modifiers"},{"include":"#generics"},{"include":"#comments"},{"begin":"(record)\\\\s+([$\\\\w]+)(<[$\\\\w]+>)?(\\\\()","beginCaptures":{"1":{"name":"storage.modifier.java"},"2":{"name":"entity.name.type.record.java"},"3":{"patterns":[{"include":"#generics"}]},"4":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"name":"meta.record.identifier.java","patterns":[{"include":"#code"}]},{"begin":"(implements)\\\\s","beginCaptures":{"1":{"name":"storage.modifier.implements.java"}},"end":"(?=\\\\s*\\\\{)","name":"meta.definition.class.implemented.interfaces.java","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}]},{"include":"#record-body"}]},"record-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.class.begin.bracket.curly.java"}},"end":"(?=})","name":"meta.record.body.java","patterns":[{"include":"#record-constructor"},{"include":"#class-body"}]},"record-constructor":{"begin":"(?!new)(?=[<\\\\w].*\\\\s+)(?=([^(/=]|/(?!/))+(?=\\\\{))","end":"(})|(?=;)","endCaptures":{"1":{"name":"punctuation.section.method.end.bracket.curly.java"}},"name":"meta.method.java","patterns":[{"include":"#storage-modifiers"},{"begin":"(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.function.java"}},"end":"(?=\\\\s*\\\\{)","name":"meta.method.identifier.java","patterns":[{"include":"#comments"}]},{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.method.begin.bracket.curly.java"}},"contentName":"meta.method.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},"static-initializer":{"patterns":[{"include":"#anonymous-block-and-instance-initializer"},{"match":"static","name":"storage.modifier.java"}]},"storage-modifiers":{"match":"\\\\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient|volatile|default|strictfp|sealed|non-sealed)\\\\b","name":"storage.modifier.java"},"strings":{"patterns":[{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.triple.java","patterns":[{"match":"(\\\\\\\\\\"\\"\\")(?!\\")|(\\\\\\\\.)","name":"constant.character.escape.java"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.double.java","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.java"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}},"name":"string.quoted.single.java","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.java"}]}]},"throws":{"begin":"throws","beginCaptures":{"0":{"name":"storage.modifier.java"}},"end":"(?=[;{])","name":"meta.throwables.java","patterns":[{"match":",","name":"punctuation.separator.delimiter.java"},{"match":"[$A-Z_a-z][$.0-9A-Z_a-z]*","name":"storage.type.java"},{"include":"#comments"}]},"try-catch-finally":{"patterns":[{"begin":"\\\\btry\\\\b","beginCaptures":{"0":{"name":"keyword.control.try.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.try.end.bracket.curly.java"}},"name":"meta.try.java","patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.try.resources.begin.bracket.round.java"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.try.resources.end.bracket.round.java"}},"name":"meta.try.resources.java","patterns":[{"include":"#code"}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.try.begin.bracket.curly.java"}},"contentName":"meta.try.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},{"begin":"\\\\b(catch)\\\\b","beginCaptures":{"1":{"name":"keyword.control.catch.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.catch.end.bracket.curly.java"}},"name":"meta.catch.java","patterns":[{"include":"#comments"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.java"}},"contentName":"meta.catch.parameters.java","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.java"}},"patterns":[{"include":"#comments"},{"include":"#storage-modifiers"},{"begin":"[$A-Z_a-z][$.0-9A-Z_a-z]*","beginCaptures":{"0":{"name":"storage.type.java"}},"end":"(\\\\|)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.catch.separator.java"}},"patterns":[{"include":"#comments"},{"captures":{"0":{"name":"variable.parameter.java"}},"match":"\\\\w+"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.catch.begin.bracket.curly.java"}},"contentName":"meta.catch.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]},{"begin":"\\\\bfinally\\\\b","beginCaptures":{"0":{"name":"keyword.control.finally.java"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.finally.end.bracket.curly.java"}},"name":"meta.finally.java","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.finally.begin.bracket.curly.java"}},"contentName":"meta.finally.body.java","end":"(?=})","patterns":[{"include":"#code"}]}]}]},"variables":{"begin":"(?=\\\\b((void|boolean|byte|char|short|int|float|long|double)|(?>(\\\\w+\\\\.)*[A-Z_]+\\\\w*))\\\\b\\\\s*(<[],.<>?\\\\[\\\\w\\\\s]*>)?\\\\s*((\\\\[])*)?\\\\s+[$A-Z_a-z][$\\\\w]*([]$,\\\\[\\\\w][],\\\\[\\\\w\\\\s]*)?\\\\s*([:;=]))","end":"(?=[:;=])","name":"meta.definition.variable.java","patterns":[{"captures":{"1":{"name":"variable.other.definition.java"}},"match":"([$A-Z_a-z][$\\\\w]*)(?=\\\\s*(\\\\[])*\\\\s*([,:;=]))"},{"include":"#all-types"},{"include":"#code"}]},"variables-local":{"begin":"(?=\\\\b(var)\\\\b\\\\s+[$A-Z_a-z][$\\\\w]*\\\\s*([:;=]))","end":"(?=[:;=])","name":"meta.definition.variable.local.java","patterns":[{"match":"\\\\bvar\\\\b","name":"storage.type.local.java"},{"captures":{"1":{"name":"variable.other.definition.java"}},"match":"([$A-Z_a-z][$\\\\w]*)(?=\\\\s*(\\\\[])*\\\\s*([:;=]))"},{"include":"#code"}]}},"scopeName":"source.java"}`));var a=[e];export{a as default};
|