mastra 0.2.0-alpha.170 → 0.2.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/dist/index.js +1 -1
- package/package.json +3 -3
- package/src/playground/dist/assets/{index-J963xAo4.js → index-CoDuckY1.js} +1 -1
- package/src/playground/dist/assets/{index-BCtrUhVU.js → index-CxbV91Kn.js} +97 -97
- package/src/playground/dist/assets/style-hX1Pk3t-.css +1 -0
- package/src/playground/dist/index.html +2 -2
- package/src/playground/dist/assets/style-kI0-tIcE.css +0 -1
package/dist/index.js
CHANGED
|
@@ -180,7 +180,7 @@ var startServer = async (dotMastraPath, port, env) => {
|
|
|
180
180
|
logger.info("[Mastra Dev] - Starting server...");
|
|
181
181
|
currentServerProcess = execa(
|
|
182
182
|
"node",
|
|
183
|
-
["--import
|
|
183
|
+
["--import=./instrumentation.mjs", "--import=@opentelemetry/instrumentation/hook.mjs", "index.mjs"],
|
|
184
184
|
{
|
|
185
185
|
cwd: dotMastraPath,
|
|
186
186
|
env: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mastra",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "cli for mastra",
|
|
6
6
|
"type": "module",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"yocto-spinner": "^0.1.1",
|
|
55
55
|
"zod": "^3.24.1",
|
|
56
56
|
"zod-to-json-schema": "^3.24.1",
|
|
57
|
-
"@mastra/core": "^0.2.0
|
|
58
|
-
"@mastra/deployer": "^0.1.0
|
|
57
|
+
"@mastra/core": "^0.2.0",
|
|
58
|
+
"@mastra/deployer": "^0.1.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@ai-sdk/openai": "^1.1.9",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-LfdN0zeE.js","assets/html-C2L_23MC.js","assets/javascript-ySlJ1b_l.js","assets/css-BPhBrDlE.js","assets/angular-ts-CKsD7JZE.js","assets/scss-C31hgJw-.js","assets/apl-BBq3IX1j.js","assets/xml-e3z08dGr.js","assets/java-xI-RfyKK.js","assets/json-BQoSv7ci.js","assets/astro-CqkE3fuf.js","assets/typescript-Dj6nwHGl.js","assets/postcss-B3ZDOciz.js","assets/blade-a8OxSdnT.js","assets/sql-COK4E0Yg.js","assets/bsl-Dgyn0ogV.js","assets/sdbl-BLhTXw86.js","assets/cairo--RitsXJZ.js","assets/python-DhUJRlN_.js","assets/cobol-PTqiYgYu.js","assets/coffee-dyiR41kL.js","assets/cpp-BksuvNSY.js","assets/regexp-DWJ3fJO_.js","assets/glsl-DBO2IWDn.js","assets/c-C3t2pwGQ.js","assets/crystal-DtDmRg-F.js","assets/shellscript-atvbtKCR.js","assets/edge-D5gP-w-T.js","assets/html-derivative-CSfWNPLT.js","assets/elixir-CLiX3zqd.js","assets/elm-CmHSxxaM.js","assets/erb-BYTLMnw6.js","assets/ruby-DeZ3UC14.js","assets/haml-B2EZWmdv.js","assets/graphql-cDcHW_If.js","assets/jsx-BAng5TT0.js","assets/tsx-B6W0miNI.js","assets/lua-CvWAzNxB.js","assets/yaml-CVw76BM1.js","assets/fortran-fixed-form-TqA4NnZg.js","assets/fortran-free-form-DKXYxT9g.js","assets/fsharp-XplgxFYe.js","assets/markdown-UIAJJxZW.js","assets/gdresource-BHYsBjWJ.js","assets/gdshader-SKMF96pI.js","assets/gdscript-DfxzS6Rs.js","assets/git-commit-i4q6IMui.js","assets/diff-BgYniUM_.js","assets/git-rebase-B-v9cOL2.js","assets/glimmer-js-D-cwc0-E.js","assets/glimmer-ts-pgjy16dm.js","assets/hack-D1yCygmZ.js","assets/handlebars-BQGss363.js","assets/http-FRrOvY1W.js","assets/hxml-TIA70rKU.js","assets/haxe-C5wWYbrZ.js","assets/imba-bv_oIlVt.js","assets/jinja-DGy0s7-h.js","assets/jison-BqZprYcd.js","assets/julia-BBuGR-5E.js","assets/r-CwjWoCRV.js","assets/latex-C-cWTeAZ.js","assets/tex-rYs2v40G.js","assets/liquid-D3W5UaiH.js","assets/marko-z0MBrx5-.js","assets/less-BfCpw3nA.js","assets/mdc-DB_EDNY_.js","assets/nginx-D_VnBJ67.js","assets/nim-ZlGxZxc3.js","assets/perl-CHQXSrWU.js","assets/php-B5ebYQev.js","assets/pug-CM9l7STV.js","assets/qml-D8XfuvdV.js","assets/razor-CNLDkMZG.js","assets/csharp-D9R-vmeu.js","assets/rst-4NLicBqY.js","assets/cmake-DbXoA79R.js","assets/sas-BmTFh92c.js","assets/shaderlab-B7qAK45m.js","assets/hlsl-ifBTmRxC.js","assets/shellsession-C_rIy8kc.js","assets/soy-C-lX7w71.js","assets/sparql-bYkjHRlG.js","assets/turtle-BMR_PYu6.js","assets/stata-DorPZHa4.js","assets/svelte-MSaWC3Je.js","assets/templ-dwX3ZSMB.js","assets/go-B1SYOhNW.js","assets/ts-tags-CipyTH0X.js","assets/twig-NC5TFiHP.js","assets/vue-BuYVFjOK.js","assets/vue-html-xdeiXROB.js","assets/xsl-Dd0NUgwM.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var qt=Object.defineProperty;var zt=(r,e,t)=>e in r?qt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var p=(r,e,t)=>zt(r,typeof e!="symbol"?e+"":e,t);import{_ as l,w as Me,s as ht,f as Jt,a as Kt,b as Qt,c as Je,h as Xt}from"./index-BCtrUhVU.js";const Ke={}.hasOwnProperty;function Yt(r,e){const t=e;function n(i,...s){let a=n.invalid;const c=n.handlers;if(i&&Ke.call(i,r)){const o=String(i[r]);a=Ke.call(c,o)?c[o]:n.unknown}if(a)return a.call(this,i,...s)}return n.handlers=t.handlers||{},n.invalid=t.invalid,n.unknown=t.unknown,n}const ft=[{id:"abap",name:"ABAP",import:()=>l(()=>import("./abap-DsBKuouk.js"),[])},{id:"actionscript-3",name:"ActionScript",import:()=>l(()=>import("./actionscript-3-D_z4Izcz.js"),[])},{id:"ada",name:"Ada",import:()=>l(()=>import("./ada-727ZlQH0.js"),[])},{id:"angular-html",name:"Angular HTML",import:()=>l(()=>import("./angular-html-LfdN0zeE.js").then(r=>r.f),__vite__mapDeps([0,1,2,3]))},{id:"angular-ts",name:"Angular TypeScript",import:()=>l(()=>import("./angular-ts-CKsD7JZE.js"),__vite__mapDeps([4,0,1,2,3,5]))},{id:"apache",name:"Apache Conf",import:()=>l(()=>import("./apache-Dn00JSTd.js"),[])},{id:"apex",name:"Apex",import:()=>l(()=>import("./apex-COJ4H7py.js"),[])},{id:"apl",name:"APL",import:()=>l(()=>import("./apl-BBq3IX1j.js"),__vite__mapDeps([6,1,2,3,7,8,9]))},{id:"applescript",name:"AppleScript",import:()=>l(()=>import("./applescript-Bu5BbsvL.js"),[])},{id:"ara",name:"Ara",import:()=>l(()=>import("./ara-7O62HKoU.js"),[])},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>l(()=>import("./asciidoc-BPT9niGB.js"),[])},{id:"asm",name:"Assembly",import:()=>l(()=>import("./asm-Dhn9LcZ4.js"),[])},{id:"astro",name:"Astro",import:()=>l(()=>import("./astro-CqkE3fuf.js"),__vite__mapDeps([10,9,2,11,3,12]))},{id:"awk",name:"AWK",import:()=>l(()=>import("./awk-eg146-Ew.js"),[])},{id:"ballerina",name:"Ballerina",import:()=>l(()=>import("./ballerina-Du268qiB.js"),[])},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>l(()=>import("./bat-fje9CFhw.js"),[])},{id:"beancount",name:"Beancount",import:()=>l(()=>import("./beancount-BwXTMy5W.js"),[])},{id:"berry",name:"Berry",aliases:["be"],import:()=>l(()=>import("./berry-3xVqZejG.js"),[])},{id:"bibtex",name:"BibTeX",import:()=>l(()=>import("./bibtex-xW4inM5L.js"),[])},{id:"bicep",name:"Bicep",import:()=>l(()=>import("./bicep-DHo0CJ0O.js"),[])},{id:"blade",name:"Blade",import:()=>l(()=>import("./blade-a8OxSdnT.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>l(()=>import("./bsl-Dgyn0ogV.js"),__vite__mapDeps([15,16]))},{id:"c",name:"C",import:()=>l(()=>import("./c-C3t2pwGQ.js"),[])},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>l(()=>import("./cadence-DNquZEk8.js"),[])},{id:"cairo",name:"Cairo",import:()=>l(()=>import("./cairo--RitsXJZ.js"),__vite__mapDeps([17,18]))},{id:"clarity",name:"Clarity",import:()=>l(()=>import("./clarity-BHOwM8T6.js"),[])},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>l(()=>import("./clojure-DxSadP1t.js"),[])},{id:"cmake",name:"CMake",import:()=>l(()=>import("./cmake-DbXoA79R.js"),[])},{id:"cobol",name:"COBOL",import:()=>l(()=>import("./cobol-PTqiYgYu.js"),__vite__mapDeps([19,1,2,3,8]))},{id:"codeowners",name:"CODEOWNERS",import:()=>l(()=>import("./codeowners-Bp6g37R7.js"),[])},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>l(()=>import("./codeql-sacFqUAJ.js"),[])},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>l(()=>import("./coffee-dyiR41kL.js"),__vite__mapDeps([20,2]))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>l(()=>import("./common-lisp-C7gG9l05.js"),[])},{id:"coq",name:"Coq",import:()=>l(()=>import("./coq-Dsg_Bt_b.js"),[])},{id:"cpp",name:"C++",aliases:["c++"],import:()=>l(()=>import("./cpp-BksuvNSY.js"),__vite__mapDeps([21,22,23,24,14]))},{id:"crystal",name:"Crystal",import:()=>l(()=>import("./crystal-DtDmRg-F.js"),__vite__mapDeps([25,1,2,3,14,24,26]))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>l(()=>import("./csharp-D9R-vmeu.js"),[])},{id:"css",name:"CSS",import:()=>l(()=>import("./css-BPhBrDlE.js"),[])},{id:"csv",name:"CSV",import:()=>l(()=>import("./csv-B0qRVHPH.js"),[])},{id:"cue",name:"CUE",import:()=>l(()=>import("./cue-DtFQj3wx.js"),[])},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>l(()=>import("./cypher-m2LEI-9-.js"),[])},{id:"d",name:"D",import:()=>l(()=>import("./d-BoXegm-a.js"),[])},{id:"dart",name:"Dart",import:()=>l(()=>import("./dart-B9wLZaAG.js"),[])},{id:"dax",name:"DAX",import:()=>l(()=>import("./dax-ClGRhx96.js"),[])},{id:"desktop",name:"Desktop",import:()=>l(()=>import("./desktop-DEIpsLCJ.js"),[])},{id:"diff",name:"Diff",import:()=>l(()=>import("./diff-BgYniUM_.js"),[])},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>l(()=>import("./docker-COcR7UxN.js"),[])},{id:"dotenv",name:"dotEnv",import:()=>l(()=>import("./dotenv-BjQB5zDj.js"),[])},{id:"dream-maker",name:"Dream Maker",import:()=>l(()=>import("./dream-maker-C-nORZOA.js"),[])},{id:"edge",name:"Edge",import:()=>l(()=>import("./edge-D5gP-w-T.js"),__vite__mapDeps([27,11,1,2,3,28]))},{id:"elixir",name:"Elixir",import:()=>l(()=>import("./elixir-CLiX3zqd.js"),__vite__mapDeps([29,1,2,3]))},{id:"elm",name:"Elm",import:()=>l(()=>import("./elm-CmHSxxaM.js"),__vite__mapDeps([30,23,24]))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>l(()=>import("./emacs-lisp-BX77sIaO.js"),[])},{id:"erb",name:"ERB",import:()=>l(()=>import("./erb-BYTLMnw6.js"),__vite__mapDeps([31,1,2,3,32,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>l(()=>import("./erlang-B-DoSBHF.js"),[])},{id:"fennel",name:"Fennel",import:()=>l(()=>import("./fennel-bCA53EVm.js"),[])},{id:"fish",name:"Fish",import:()=>l(()=>import("./fish-w-ucz2PV.js"),[])},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>l(()=>import("./fluent-Dayu4EKP.js"),[])},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>l(()=>import("./fortran-fixed-form-TqA4NnZg.js"),__vite__mapDeps([39,40]))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>l(()=>import("./fortran-free-form-DKXYxT9g.js"),[])},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>l(()=>import("./fsharp-XplgxFYe.js"),__vite__mapDeps([41,42]))},{id:"gdresource",name:"GDResource",import:()=>l(()=>import("./gdresource-BHYsBjWJ.js"),__vite__mapDeps([43,44,45]))},{id:"gdscript",name:"GDScript",import:()=>l(()=>import("./gdscript-DfxzS6Rs.js"),[])},{id:"gdshader",name:"GDShader",import:()=>l(()=>import("./gdshader-SKMF96pI.js"),[])},{id:"genie",name:"Genie",import:()=>l(()=>import("./genie-ajMbGru0.js"),[])},{id:"gherkin",name:"Gherkin",import:()=>l(()=>import("./gherkin--30QC5Em.js"),[])},{id:"git-commit",name:"Git Commit Message",import:()=>l(()=>import("./git-commit-i4q6IMui.js"),__vite__mapDeps([46,47]))},{id:"git-rebase",name:"Git Rebase Message",import:()=>l(()=>import("./git-rebase-B-v9cOL2.js"),__vite__mapDeps([48,26]))},{id:"gleam",name:"Gleam",import:()=>l(()=>import("./gleam-B430Bg39.js"),[])},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>l(()=>import("./glimmer-js-D-cwc0-E.js"),__vite__mapDeps([49,2,11,3,1]))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>l(()=>import("./glimmer-ts-pgjy16dm.js"),__vite__mapDeps([50,11,3,2,1]))},{id:"glsl",name:"GLSL",import:()=>l(()=>import("./glsl-DBO2IWDn.js"),__vite__mapDeps([23,24]))},{id:"gnuplot",name:"Gnuplot",import:()=>l(()=>import("./gnuplot-CM8KxXT1.js"),[])},{id:"go",name:"Go",import:()=>l(()=>import("./go-B1SYOhNW.js"),[])},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>l(()=>import("./graphql-cDcHW_If.js"),__vite__mapDeps([34,2,11,35,36]))},{id:"groovy",name:"Groovy",import:()=>l(()=>import("./groovy-DkBy-JyN.js"),[])},{id:"hack",name:"Hack",import:()=>l(()=>import("./hack-D1yCygmZ.js"),__vite__mapDeps([51,1,2,3,14]))},{id:"haml",name:"Ruby Haml",import:()=>l(()=>import("./haml-B2EZWmdv.js"),__vite__mapDeps([33,2,3]))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>l(()=>import("./handlebars-BQGss363.js"),__vite__mapDeps([52,1,2,3,38]))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>l(()=>import("./haskell-BILxekzW.js"),[])},{id:"haxe",name:"Haxe",import:()=>l(()=>import("./haxe-C5wWYbrZ.js"),[])},{id:"hcl",name:"HashiCorp HCL",import:()=>l(()=>import("./hcl-HzYwdGDm.js"),[])},{id:"hjson",name:"Hjson",import:()=>l(()=>import("./hjson-T-Tgc4AT.js"),[])},{id:"hlsl",name:"HLSL",import:()=>l(()=>import("./hlsl-ifBTmRxC.js"),[])},{id:"html",name:"HTML",import:()=>l(()=>import("./html-C2L_23MC.js"),__vite__mapDeps([1,2,3]))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>l(()=>import("./html-derivative-CSfWNPLT.js"),__vite__mapDeps([28,1,2,3]))},{id:"http",name:"HTTP",import:()=>l(()=>import("./http-FRrOvY1W.js"),__vite__mapDeps([53,26,9,7,8,34,2,11,35,36]))},{id:"hxml",name:"HXML",import:()=>l(()=>import("./hxml-TIA70rKU.js"),__vite__mapDeps([54,55]))},{id:"hy",name:"Hy",import:()=>l(()=>import("./hy-BMj5Y0dO.js"),[])},{id:"imba",name:"Imba",import:()=>l(()=>import("./imba-bv_oIlVt.js"),__vite__mapDeps([56,11]))},{id:"ini",name:"INI",aliases:["properties"],import:()=>l(()=>import("./ini-BjABl1g7.js"),[])},{id:"java",name:"Java",import:()=>l(()=>import("./java-xI-RfyKK.js"),[])},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>l(()=>import("./javascript-ySlJ1b_l.js"),[])},{id:"jinja",name:"Jinja",import:()=>l(()=>import("./jinja-DGy0s7-h.js"),__vite__mapDeps([57,1,2,3]))},{id:"jison",name:"Jison",import:()=>l(()=>import("./jison-BqZprYcd.js"),__vite__mapDeps([58,2]))},{id:"json",name:"JSON",import:()=>l(()=>import("./json-BQoSv7ci.js"),[])},{id:"json5",name:"JSON5",import:()=>l(()=>import("./json5-w8dY5SsB.js"),[])},{id:"jsonc",name:"JSON with Comments",import:()=>l(()=>import("./jsonc-TU54ms6u.js"),[])},{id:"jsonl",name:"JSON Lines",import:()=>l(()=>import("./jsonl-DREVFZK8.js"),[])},{id:"jsonnet",name:"Jsonnet",import:()=>l(()=>import("./jsonnet-BfivnA6A.js"),[])},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>l(()=>import("./jssm-P4WzXJd0.js"),[])},{id:"jsx",name:"JSX",import:()=>l(()=>import("./jsx-BAng5TT0.js"),[])},{id:"julia",name:"Julia",aliases:["jl"],import:()=>l(()=>import("./julia-BBuGR-5E.js"),__vite__mapDeps([59,21,22,23,24,14,18,2,60]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>l(()=>import("./kotlin-B5lbUyaz.js"),[])},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>l(()=>import("./kusto-mebxcVVE.js"),[])},{id:"latex",name:"LaTeX",import:()=>l(()=>import("./latex-C-cWTeAZ.js"),__vite__mapDeps([61,62,60]))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>l(()=>import("./lean-XBlWyCtg.js"),[])},{id:"less",name:"Less",import:()=>l(()=>import("./less-BfCpw3nA.js"),[])},{id:"liquid",name:"Liquid",import:()=>l(()=>import("./liquid-D3W5UaiH.js"),__vite__mapDeps([63,1,2,3,9]))},{id:"log",name:"Log file",import:()=>l(()=>import("./log-Cc5clBb7.js"),[])},{id:"logo",name:"Logo",import:()=>l(()=>import("./logo-IuBKFhSY.js"),[])},{id:"lua",name:"Lua",import:()=>l(()=>import("./lua-CvWAzNxB.js"),__vite__mapDeps([37,24]))},{id:"luau",name:"Luau",import:()=>l(()=>import("./luau-Du5NY7AG.js"),[])},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>l(()=>import("./make-Bvotw-X0.js"),[])},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>l(()=>import("./markdown-UIAJJxZW.js"),[])},{id:"marko",name:"Marko",import:()=>l(()=>import("./marko-z0MBrx5-.js"),__vite__mapDeps([64,3,65,5,2]))},{id:"matlab",name:"MATLAB",import:()=>l(()=>import("./matlab-D9-PGadD.js"),[])},{id:"mdc",name:"MDC",import:()=>l(()=>import("./mdc-DB_EDNY_.js"),__vite__mapDeps([66,42,38,28,1,2,3]))},{id:"mdx",name:"MDX",import:()=>l(()=>import("./mdx-sdHcTMYB.js"),[])},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>l(()=>import("./mermaid-Ci6OQyBP.js"),[])},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>l(()=>import("./mipsasm-BC5c_5Pe.js"),[])},{id:"mojo",name:"Mojo",import:()=>l(()=>import("./mojo-Tz6hzZYG.js"),[])},{id:"move",name:"Move",import:()=>l(()=>import("./move-DB_GagMm.js"),[])},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>l(()=>import("./narrat-DLbgOhZU.js"),[])},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>l(()=>import("./nextflow-B0XVJmRM.js"),[])},{id:"nginx",name:"Nginx",import:()=>l(()=>import("./nginx-D_VnBJ67.js"),__vite__mapDeps([67,37,24]))},{id:"nim",name:"Nim",import:()=>l(()=>import("./nim-ZlGxZxc3.js"),__vite__mapDeps([68,24,1,2,3,7,8,23,42]))},{id:"nix",name:"Nix",import:()=>l(()=>import("./nix-shcSOmrb.js"),[])},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>l(()=>import("./nushell-D4Tzg5kh.js"),[])},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>l(()=>import("./objective-c-Deuh7S70.js"),[])},{id:"objective-cpp",name:"Objective-C++",import:()=>l(()=>import("./objective-cpp-BUEGK8hf.js"),[])},{id:"ocaml",name:"OCaml",import:()=>l(()=>import("./ocaml-BNioltXt.js"),[])},{id:"pascal",name:"Pascal",import:()=>l(()=>import("./pascal-JqZropPD.js"),[])},{id:"perl",name:"Perl",import:()=>l(()=>import("./perl-CHQXSrWU.js"),__vite__mapDeps([69,1,2,3,7,8,14]))},{id:"php",name:"PHP",import:()=>l(()=>import("./php-B5ebYQev.js"),__vite__mapDeps([70,1,2,3,7,8,14,9]))},{id:"plsql",name:"PL/SQL",import:()=>l(()=>import("./plsql-LKU2TuZ1.js"),[])},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>l(()=>import("./po-BFLt1xDp.js"),[])},{id:"polar",name:"Polar",import:()=>l(()=>import("./polar-DKykz6zU.js"),[])},{id:"postcss",name:"PostCSS",import:()=>l(()=>import("./postcss-B3ZDOciz.js"),[])},{id:"powerquery",name:"PowerQuery",import:()=>l(()=>import("./powerquery-CSHBycmS.js"),[])},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>l(()=>import("./powershell-BIEUsx6d.js"),[])},{id:"prisma",name:"Prisma",import:()=>l(()=>import("./prisma-B48N-Iqd.js"),[])},{id:"prolog",name:"Prolog",import:()=>l(()=>import("./prolog-BY-TUvya.js"),[])},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>l(()=>import("./proto-zocC4JxJ.js"),[])},{id:"pug",name:"Pug",aliases:["jade"],import:()=>l(()=>import("./pug-CM9l7STV.js"),__vite__mapDeps([71,2,3,1]))},{id:"puppet",name:"Puppet",import:()=>l(()=>import("./puppet-Cza_XSSt.js"),[])},{id:"purescript",name:"PureScript",import:()=>l(()=>import("./purescript-Bg-kzb6g.js"),[])},{id:"python",name:"Python",aliases:["py"],import:()=>l(()=>import("./python-DhUJRlN_.js"),[])},{id:"qml",name:"QML",import:()=>l(()=>import("./qml-D8XfuvdV.js"),__vite__mapDeps([72,2]))},{id:"qmldir",name:"QML Directory",import:()=>l(()=>import("./qmldir-C8lEn-DE.js"),[])},{id:"qss",name:"Qt Style Sheets",import:()=>l(()=>import("./qss-DhMKtDLN.js"),[])},{id:"r",name:"R",import:()=>l(()=>import("./r-CwjWoCRV.js"),[])},{id:"racket",name:"Racket",import:()=>l(()=>import("./racket-CzouJOBO.js"),[])},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>l(()=>import("./raku-B1bQXN8T.js"),[])},{id:"razor",name:"ASP.NET Razor",import:()=>l(()=>import("./razor-CNLDkMZG.js"),__vite__mapDeps([73,1,2,3,74]))},{id:"reg",name:"Windows Registry Script",import:()=>l(()=>import("./reg-5LuOXUq_.js"),[])},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>l(()=>import("./regexp-DWJ3fJO_.js"),[])},{id:"rel",name:"Rel",import:()=>l(()=>import("./rel-DJlmqQ1C.js"),[])},{id:"riscv",name:"RISC-V",import:()=>l(()=>import("./riscv-QhoSD0DR.js"),[])},{id:"rst",name:"reStructuredText",import:()=>l(()=>import("./rst-4NLicBqY.js"),__vite__mapDeps([75,28,1,2,3,21,22,23,24,14,18,26,38,76,32,33,7,8,34,11,35,36,37]))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>l(()=>import("./ruby-DeZ3UC14.js"),__vite__mapDeps([32,1,2,3,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>l(()=>import("./rust-Be6lgOlo.js"),[])},{id:"sas",name:"SAS",import:()=>l(()=>import("./sas-BmTFh92c.js"),__vite__mapDeps([77,14]))},{id:"sass",name:"Sass",import:()=>l(()=>import("./sass-BJ4Li9vH.js"),[])},{id:"scala",name:"Scala",import:()=>l(()=>import("./scala-DQVVAn-B.js"),[])},{id:"scheme",name:"Scheme",import:()=>l(()=>import("./scheme-BJGe-b2p.js"),[])},{id:"scss",name:"SCSS",import:()=>l(()=>import("./scss-C31hgJw-.js"),__vite__mapDeps([5,3]))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>l(()=>import("./sdbl-BLhTXw86.js"),[])},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>l(()=>import("./shaderlab-B7qAK45m.js"),__vite__mapDeps([78,79]))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>l(()=>import("./shellscript-atvbtKCR.js"),[])},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>l(()=>import("./shellsession-C_rIy8kc.js"),__vite__mapDeps([80,26]))},{id:"smalltalk",name:"Smalltalk",import:()=>l(()=>import("./smalltalk-DkLiglaE.js"),[])},{id:"solidity",name:"Solidity",import:()=>l(()=>import("./solidity-C1w2a3ep.js"),[])},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>l(()=>import("./soy-C-lX7w71.js"),__vite__mapDeps([81,1,2,3]))},{id:"sparql",name:"SPARQL",import:()=>l(()=>import("./sparql-bYkjHRlG.js"),__vite__mapDeps([82,83]))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>l(()=>import("./splunk-Cf8iN4DR.js"),[])},{id:"sql",name:"SQL",import:()=>l(()=>import("./sql-COK4E0Yg.js"),[])},{id:"ssh-config",name:"SSH Config",import:()=>l(()=>import("./ssh-config-BknIz3MU.js"),[])},{id:"stata",name:"Stata",import:()=>l(()=>import("./stata-DorPZHa4.js"),__vite__mapDeps([84,14]))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>l(()=>import("./stylus-BeQkCIfX.js"),[])},{id:"svelte",name:"Svelte",import:()=>l(()=>import("./svelte-MSaWC3Je.js"),__vite__mapDeps([85,2,11,3,12]))},{id:"swift",name:"Swift",import:()=>l(()=>import("./swift-BSxZ-RaX.js"),[])},{id:"system-verilog",name:"SystemVerilog",import:()=>l(()=>import("./system-verilog-C7L56vO4.js"),[])},{id:"systemd",name:"Systemd Units",import:()=>l(()=>import("./systemd-CUnW07Te.js"),[])},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>l(()=>import("./talonscript-C1XDQQGZ.js"),[])},{id:"tasl",name:"Tasl",import:()=>l(()=>import("./tasl-CQjiPCtT.js"),[])},{id:"tcl",name:"Tcl",import:()=>l(()=>import("./tcl-DQ1-QYvQ.js"),[])},{id:"templ",name:"Templ",import:()=>l(()=>import("./templ-dwX3ZSMB.js"),__vite__mapDeps([86,87,2,3]))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>l(()=>import("./terraform-BbSNqyBO.js"),[])},{id:"tex",name:"TeX",import:()=>l(()=>import("./tex-rYs2v40G.js"),__vite__mapDeps([62,60]))},{id:"toml",name:"TOML",import:()=>l(()=>import("./toml-CB2ApiWb.js"),[])},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>l(()=>import("./ts-tags-CipyTH0X.js"),__vite__mapDeps([88,11,3,2,23,24,1,14,7,8]))},{id:"tsv",name:"TSV",import:()=>l(()=>import("./tsv-B_m7g4N7.js"),[])},{id:"tsx",name:"TSX",import:()=>l(()=>import("./tsx-B6W0miNI.js"),[])},{id:"turtle",name:"Turtle",import:()=>l(()=>import("./turtle-BMR_PYu6.js"),[])},{id:"twig",name:"Twig",import:()=>l(()=>import("./twig-NC5TFiHP.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,14,9,18,32,33,34,11,35,36,21,22,23,24,26,37,38]))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>l(()=>import("./typescript-Dj6nwHGl.js"),[])},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>l(()=>import("./typespec-BpWG_bgh.js"),[])},{id:"typst",name:"Typst",aliases:["typ"],import:()=>l(()=>import("./typst-BVUVsWT6.js"),[])},{id:"v",name:"V",import:()=>l(()=>import("./v-CAQ2eGtk.js"),[])},{id:"vala",name:"Vala",import:()=>l(()=>import("./vala-BFOHcciG.js"),[])},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>l(()=>import("./vb-CdO5JTpU.js"),[])},{id:"verilog",name:"Verilog",import:()=>l(()=>import("./verilog-CJaU5se_.js"),[])},{id:"vhdl",name:"VHDL",import:()=>l(()=>import("./vhdl-DYoNaHQp.js"),[])},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>l(()=>import("./viml-m4uW47V2.js"),[])},{id:"vue",name:"Vue",import:()=>l(()=>import("./vue-BuYVFjOK.js"),__vite__mapDeps([90,1,2,3,11,9,28]))},{id:"vue-html",name:"Vue HTML",import:()=>l(()=>import("./vue-html-xdeiXROB.js"),__vite__mapDeps([91,90,1,2,3,11,9,28]))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>l(()=>import("./vyper-nyqBNV6O.js"),[])},{id:"wasm",name:"WebAssembly",import:()=>l(()=>import("./wasm-C6j12Q_x.js"),[])},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>l(()=>import("./wenyan-7A4Fjokl.js"),[])},{id:"wgsl",name:"WGSL",import:()=>l(()=>import("./wgsl-CB0Krxn9.js"),[])},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>l(()=>import("./wikitext-DCE3LsBG.js"),[])},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>l(()=>import("./wolfram-C3FkfJm5.js"),[])},{id:"xml",name:"XML",import:()=>l(()=>import("./xml-e3z08dGr.js"),__vite__mapDeps([7,8]))},{id:"xsl",name:"XSL",import:()=>l(()=>import("./xsl-Dd0NUgwM.js"),__vite__mapDeps([92,7,8]))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>l(()=>import("./yaml-CVw76BM1.js"),[])},{id:"zenscript",name:"ZenScript",import:()=>l(()=>import("./zenscript-HnGAYVZD.js"),[])},{id:"zig",name:"Zig",import:()=>l(()=>import("./zig-BVz_zdnA.js"),[])}],Zt=Object.fromEntries(ft.map(r=>[r.id,r.import])),en=Object.fromEntries(ft.flatMap(r=>{var e;return((e=r.aliases)==null?void 0:e.map(t=>[t,r.import]))||[]})),tn={...Zt,...en},nn=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>l(()=>import("./andromeeda-C3khCPGq.js"),[])},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>l(()=>import("./aurora-x-D-2ljcwZ.js"),[])},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>l(()=>import("./ayu-dark-Cv9koXgw.js"),[])},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>l(()=>import("./catppuccin-frappe-CD_QflpE.js"),[])},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>l(()=>import("./catppuccin-latte-DRW-0cLl.js"),[])},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>l(()=>import("./catppuccin-macchiato-C-_shW-Y.js"),[])},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>l(()=>import("./catppuccin-mocha-LGGdnPYs.js"),[])},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>l(()=>import("./dark-plus-C3mMm8J8.js"),[])},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>l(()=>import("./dracula-BzJJZx-M.js"),[])},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>l(()=>import("./dracula-soft-BXkSAIEj.js"),[])},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>l(()=>import("./everforest-dark-BgDCqdQA.js"),[])},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>l(()=>import("./everforest-light-C8M2exoo.js"),[])},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>l(()=>import("./github-dark-DHJKELXO.js"),[])},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>l(()=>import("./github-dark-default-Cuk6v7N8.js"),[])},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>l(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[])},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>l(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[])},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>l(()=>import("./github-light-DAi9KRSo.js"),[])},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>l(()=>import("./github-light-default-D7oLnXFd.js"),[])},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>l(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[])},{id:"houston",displayName:"Houston",type:"dark",import:()=>l(()=>import("./houston-DnULxvSX.js"),[])},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>l(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[])},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>l(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[])},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>l(()=>import("./kanagawa-wave-DWedfzmr.js"),[])},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>l(()=>import("./laserwave-DUszq2jm.js"),[])},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>l(()=>import("./light-plus-B7mTdjB0.js"),[])},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>l(()=>import("./material-theme-D5KoaKCx.js"),[])},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>l(()=>import("./material-theme-darker-BfHTSMKl.js"),[])},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>l(()=>import("./material-theme-lighter-B0m2ddpp.js"),[])},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>l(()=>import("./material-theme-ocean-CyktbL80.js"),[])},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>l(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[])},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>l(()=>import("./min-dark-CafNBF8u.js"),[])},{id:"min-light",displayName:"Min Light",type:"light",import:()=>l(()=>import("./min-light-CTRr51gU.js"),[])},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>l(()=>import("./monokai-D4h5O-jR.js"),[])},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>l(()=>import("./night-owl-C39BiMTA.js"),[])},{id:"nord",displayName:"Nord",type:"dark",import:()=>l(()=>import("./nord-Ddv68eIx.js"),[])},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>l(()=>import("./one-dark-pro-GBQ2dnAY.js"),[])},{id:"one-light",displayName:"One Light",type:"light",import:()=>l(()=>import("./one-light-PoHY5YXO.js"),[])},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>l(()=>import("./plastic-3e1v2bzS.js"),[])},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>l(()=>import("./poimandres-CS3Unz2-.js"),[])},{id:"red",displayName:"Red",type:"dark",import:()=>l(()=>import("./red-bN70gL4F.js"),[])},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>l(()=>import("./rose-pine-CmCqftbK.js"),[])},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>l(()=>import("./rose-pine-dawn-Ds-gbosJ.js"),[])},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>l(()=>import("./rose-pine-moon-CjDtw9vr.js"),[])},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>l(()=>import("./slack-dark-BthQWCQV.js"),[])},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>l(()=>import("./slack-ochin-DqwNpetd.js"),[])},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>l(()=>import("./snazzy-light-Bw305WKR.js"),[])},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>l(()=>import("./solarized-dark-DXbdFlpD.js"),[])},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>l(()=>import("./solarized-light-L9t79GZl.js"),[])},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>l(()=>import("./synthwave-84-CbfX1IO0.js"),[])},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>l(()=>import("./tokyo-night-DBQeEorK.js"),[])},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>l(()=>import("./vesper-BEBZ7ncR.js"),[])},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>l(()=>import("./vitesse-black-Bkuqu6BP.js"),[])},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>l(()=>import("./vitesse-dark-D0r3Knsf.js"),[])},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>l(()=>import("./vitesse-light-CVO1_9PV.js"),[])}],rn=Object.fromEntries(nn.map(r=>[r.id,r.import]));let B=class extends Error{constructor(e){super(e),this.name="ShikiError"}},Be=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function sn(){return 2147483648}function an(){return typeof performance<"u"?performance.now():Date.now()}const on=(r,e)=>r+(e-r%e)%e;async function cn(r){let e,t;const n={};function i(h){t=h,n.HEAPU8=new Uint8Array(h),n.HEAPU32=new Uint32Array(h)}function s(h,_,T){n.HEAPU8.copyWithin(h,_,_+T)}function a(h){try{return e.grow(h-t.byteLength+65535>>>16),i(e.buffer),1}catch{}}function c(h){const _=n.HEAPU8.length;h=h>>>0;const T=sn();if(h>T)return!1;for(let E=1;E<=4;E*=2){let g=_*(1+.2/E);g=Math.min(g,h+100663296);const y=Math.min(T,on(Math.max(h,g),65536));if(a(y))return!0}return!1}const o=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(h,_,T=1024){const E=_+T;let g=_;for(;h[g]&&!(g>=E);)++g;if(g-_>16&&h.buffer&&o)return o.decode(h.subarray(_,g));let y="";for(;_<g;){let R=h[_++];if(!(R&128)){y+=String.fromCharCode(R);continue}const A=h[_++]&63;if((R&224)===192){y+=String.fromCharCode((R&31)<<6|A);continue}const L=h[_++]&63;if((R&240)===224?R=(R&15)<<12|A<<6|L:R=(R&7)<<18|A<<12|L<<6|h[_++]&63,R<65536)y+=String.fromCharCode(R);else{const C=R-65536;y+=String.fromCharCode(55296|C>>10,56320|C&1023)}}return y}function d(h,_){return h?u(n.HEAPU8,h,_):""}const m={emscripten_get_now:an,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const _=await r({env:m,wasi_snapshot_preview1:m});e=_.memory,i(e.buffer),Object.assign(n,_),n.UTF8ToString=d}return await f(),n}var ln=Object.defineProperty,un=(r,e,t)=>e in r?ln(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,b=(r,e,t)=>(un(r,typeof e!="symbol"?e+"":e,t),t);let S=null;function dn(r){throw new Be(r.UTF8ToString(r.getLastOnigError()))}class ye{constructor(e){b(this,"utf16Length"),b(this,"utf8Length"),b(this,"utf16Value"),b(this,"utf8Value"),b(this,"utf16OffsetToUtf8"),b(this,"utf8OffsetToUtf16");const t=e.length,n=ye._utf8ByteLength(e),i=n!==t,s=i?new Uint32Array(t+1):null;i&&(s[t]=n);const a=i?new Uint32Array(n+1):null;i&&(a[n]=t);const c=new Uint8Array(n);let o=0;for(let u=0;u<t;u++){const d=e.charCodeAt(u);let m=d,f=!1;if(d>=55296&&d<=56319&&u+1<t){const h=e.charCodeAt(u+1);h>=56320&&h<=57343&&(m=(d-55296<<10)+65536|h-56320,f=!0)}i&&(s[u]=o,f&&(s[u+1]=o),m<=127?a[o+0]=u:m<=2047?(a[o+0]=u,a[o+1]=u):m<=65535?(a[o+0]=u,a[o+1]=u,a[o+2]=u):(a[o+0]=u,a[o+1]=u,a[o+2]=u,a[o+3]=u)),m<=127?c[o++]=m:m<=2047?(c[o++]=192|(m&1984)>>>6,c[o++]=128|(m&63)>>>0):m<=65535?(c[o++]=224|(m&61440)>>>12,c[o++]=128|(m&4032)>>>6,c[o++]=128|(m&63)>>>0):(c[o++]=240|(m&1835008)>>>18,c[o++]=128|(m&258048)>>>12,c[o++]=128|(m&4032)>>>6,c[o++]=128|(m&63)>>>0),f&&u++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=c,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let n=0,i=e.length;n<i;n++){const s=e.charCodeAt(n);let a=s,c=!1;if(s>=55296&&s<=56319&&n+1<i){const o=e.charCodeAt(n+1);o>=56320&&o<=57343&&(a=(s-55296<<10)+65536|o-56320,c=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,c&&n++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const N=class{constructor(r){if(b(this,"id",++N.LAST_ID),b(this,"_onigBinding"),b(this,"content"),b(this,"utf16Length"),b(this,"utf8Length"),b(this,"utf16OffsetToUtf8"),b(this,"utf8OffsetToUtf16"),b(this,"ptr"),!S)throw new Be("Must invoke loadWasm first.");this._onigBinding=S,this.content=r;const e=new ye(r);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!N._sharedPtrInUse?(N._sharedPtr||(N._sharedPtr=S.omalloc(1e4)),N._sharedPtrInUse=!0,S.HEAPU8.set(e.utf8Value,N._sharedPtr),this.ptr=N._sharedPtr):this.ptr=e.createString(S)}convertUtf8OffsetToUtf16(r){return this.utf8OffsetToUtf16?r<0?0:r>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[r]:r}convertUtf16OffsetToUtf8(r){return this.utf16OffsetToUtf8?r<0?0:r>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[r]:r}dispose(){this.ptr===N._sharedPtr?N._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let ee=N;b(ee,"LAST_ID",0);b(ee,"_sharedPtr",0);b(ee,"_sharedPtrInUse",!1);class mn{constructor(e){if(b(this,"_onigBinding"),b(this,"_ptr"),!S)throw new Be("Must invoke loadWasm first.");const t=[],n=[];for(let c=0,o=e.length;c<o;c++){const u=new ye(e[c]);t[c]=u.createString(S),n[c]=u.utf8Length}const i=S.omalloc(4*e.length);S.HEAPU32.set(t,i/4);const s=S.omalloc(4*e.length);S.HEAPU32.set(n,s/4);const a=S.createOnigScanner(i,s,e.length);for(let c=0,o=e.length;c<o;c++)S.ofree(t[c]);S.ofree(s),S.ofree(i),a===0&&dn(S),this._onigBinding=S,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let i=0;if(typeof n=="number"&&(i=n),typeof e=="string"){e=new ee(e);const s=this._findNextMatchSync(e,t,!1,i);return e.dispose(),s}return this._findNextMatchSync(e,t,!1,i)}_findNextMatchSync(e,t,n,i){const s=this._onigBinding,a=s.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),i);if(a===0)return null;const c=s.HEAPU32;let o=a/4;const u=c[o++],d=c[o++],m=[];for(let f=0;f<d;f++){const h=e.convertUtf8OffsetToUtf16(c[o++]),_=e.convertUtf8OffsetToUtf16(c[o++]);m[f]={start:h,end:_,length:_-h}}return{index:u,captureIndices:m}}}function hn(r){return typeof r.instantiator=="function"}function fn(r){return typeof r.default=="function"}function pn(r){return typeof r.data<"u"}function _n(r){return typeof Response<"u"&&r instanceof Response}function gn(r){var e;return typeof ArrayBuffer<"u"&&(r instanceof ArrayBuffer||ArrayBuffer.isView(r))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,r))||typeof SharedArrayBuffer<"u"&&r instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&r instanceof Uint32Array}let re;function En(r){if(re)return re;async function e(){S=await cn(async t=>{let n=r;return n=await n,typeof n=="function"&&(n=await n(t)),typeof n=="function"&&(n=await n(t)),hn(n)?n=await n.instantiator(t):fn(n)?n=await n.default(t):(pn(n)&&(n=n.data),_n(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await yn(n)(t):n=await Rn(n)(t):gn(n)?n=await Pe(n)(t):n instanceof WebAssembly.Module?n=await Pe(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await Pe(n.default)(t))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return re=e(),re}function Pe(r){return e=>WebAssembly.instantiate(r,e)}function yn(r){return e=>WebAssembly.instantiateStreaming(r,e)}function Rn(r){return async e=>{const t=await r.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Tn;function An(){return Tn}async function pt(r){return r&&await En(r),{createScanner(e){return new mn(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new ee(e)}}}function Ln(r){return je(r)}function je(r){return Array.isArray(r)?Pn(r):r instanceof RegExp?r:typeof r=="object"?bn(r):r}function Pn(r){let e=[];for(let t=0,n=r.length;t<n;t++)e[t]=je(r[t]);return e}function bn(r){let e={};for(let t in r)e[t]=je(r[t]);return e}function _t(r,...e){return e.forEach(t=>{for(let n in t)r[n]=t[n]}),r}function gt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?gt(r.substring(0,r.length-1)):r.substr(~e+1)}var be=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ie=class{static hasCaptures(r){return r===null?!1:(be.lastIndex=0,be.test(r))}static replaceCaptures(r,e,t){return r.replace(be,(n,i,s,a)=>{let c=t[parseInt(i||s,10)];if(c){let o=e.substring(c.start,c.end);for(;o[0]===".";)o=o.substring(1);switch(a){case"downcase":return o.toLowerCase();case"upcase":return o.toUpperCase();default:return o}}else return n})}};function Et(r,e){return r<e?-1:r>e?1:0}function yt(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,n=e.length;if(t===n){for(let i=0;i<t;i++){let s=Et(r[i],e[i]);if(s!==0)return s}return 0}return t-n}function Qe(r){return!!(/^#[0-9a-f]{6}$/i.test(r)||/^#[0-9a-f]{8}$/i.test(r)||/^#[0-9a-f]{3}$/i.test(r)||/^#[0-9a-f]{4}$/i.test(r))}function Rt(r){return r.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Tt=class{constructor(r){p(this,"cache",new Map);this.fn=r}get(r){if(this.cache.has(r))return this.cache.get(r);const e=this.fn(r);return this.cache.set(r,e),e}},le=class{constructor(r,e,t){p(this,"_cachedMatchRoot",new Tt(r=>this._root.match(r)));this._colorMap=r,this._defaults=e,this._root=t}static createFromRawTheme(r,e){return this.createFromParsedTheme(On(r),e)}static createFromParsedTheme(r,e){return Cn(r,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(r){if(r===null)return this._defaults;const e=r.scopeName,n=this._cachedMatchRoot.get(e).find(i=>In(r.parent,i.parentScopes));return n?new At(n.fontStyle,n.foreground,n.background):null}},Ie=class oe{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const n of t)e=new oe(e,n);return e}static from(...e){let t=null;for(let n=0;n<e.length;n++)t=new oe(t,e[n]);return t}push(e){return new oe(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function In(r,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let n=e[t],i=!1;if(n===">"){if(t===e.length-1)return!1;n=e[++t],i=!0}for(;r&&!Sn(r.scopeName,n);){if(i)return!1;r=r.parent}if(!r)return!1;r=r.parent}return!0}function Sn(r,e){return e===r||r.startsWith(e)&&r[e.length]==="."}var At=class{constructor(r,e,t){this.fontStyle=r,this.foregroundId=e,this.backgroundId=t}};function On(r){if(!r)return[];if(!r.settings||!Array.isArray(r.settings))return[];let e=r.settings,t=[],n=0;for(let i=0,s=e.length;i<s;i++){let a=e[i];if(!a.settings)continue;let c;if(typeof a.scope=="string"){let m=a.scope;m=m.replace(/^[,]+/,""),m=m.replace(/[,]+$/,""),c=m.split(",")}else Array.isArray(a.scope)?c=a.scope:c=[""];let o=-1;if(typeof a.settings.fontStyle=="string"){o=0;let m=a.settings.fontStyle.split(" ");for(let f=0,h=m.length;f<h;f++)switch(m[f]){case"italic":o=o|1;break;case"bold":o=o|2;break;case"underline":o=o|4;break;case"strikethrough":o=o|8;break}}let u=null;typeof a.settings.foreground=="string"&&Qe(a.settings.foreground)&&(u=a.settings.foreground);let d=null;typeof a.settings.background=="string"&&Qe(a.settings.background)&&(d=a.settings.background);for(let m=0,f=c.length;m<f;m++){let _=c[m].trim().split(" "),T=_[_.length-1],E=null;_.length>1&&(E=_.slice(0,_.length-1),E.reverse()),t[n++]=new wn(T,E,i,o,u,d)}}return t}var wn=class{constructor(r,e,t,n,i,s){this.scope=r,this.parentScopes=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=s}},M=(r=>(r[r.NotSet=-1]="NotSet",r[r.None=0]="None",r[r.Italic=1]="Italic",r[r.Bold=2]="Bold",r[r.Underline=4]="Underline",r[r.Strikethrough=8]="Strikethrough",r))(M||{});function Cn(r,e){r.sort((o,u)=>{let d=Et(o.scope,u.scope);return d!==0||(d=yt(o.parentScopes,u.parentScopes),d!==0)?d:o.index-u.index});let t=0,n="#000000",i="#ffffff";for(;r.length>=1&&r[0].scope==="";){let o=r.shift();o.fontStyle!==-1&&(t=o.fontStyle),o.foreground!==null&&(n=o.foreground),o.background!==null&&(i=o.background)}let s=new kn(e),a=new At(t,s.getId(n),s.getId(i)),c=new Nn(new ke(0,null,-1,0,0),[]);for(let o=0,u=r.length;o<u;o++){let d=r[o];c.insert(0,d.scope,d.parentScopes,d.fontStyle,s.getId(d.foreground),s.getId(d.background))}return new le(s,a,c)}var kn=class{constructor(r){p(this,"_isFrozen");p(this,"_lastColorId");p(this,"_id2color");p(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(r)){this._isFrozen=!0;for(let e=0,t=r.length;e<t;e++)this._color2id[r[e]]=e,this._id2color[e]=r[e]}else this._isFrozen=!1}getId(r){if(r===null)return 0;r=r.toUpperCase();let e=this._color2id[r];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${r}`);return e=++this._lastColorId,this._color2id[r]=e,this._id2color[e]=r,e}getColorMap(){return this._id2color.slice(0)}},Dn=Object.freeze([]),ke=class Lt{constructor(e,t,n,i,s){p(this,"scopeDepth");p(this,"parentScopes");p(this,"fontStyle");p(this,"foreground");p(this,"background");this.scopeDepth=e,this.parentScopes=t||Dn,this.fontStyle=n,this.foreground=i,this.background=s}clone(){return new Lt(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,i=e.length;n<i;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),i!==0&&(this.background=i)}},Nn=class De{constructor(e,t=[],n={}){p(this,"_rulesWithParentScopes");this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,i=0;for(;e.parentScopes[n]===">"&&n++,t.parentScopes[i]===">"&&i++,!(n>=e.parentScopes.length||i>=t.parentScopes.length);){const s=t.parentScopes[i].length-e.parentScopes[n].length;if(s!==0)return s;n++,i++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let n=e.indexOf("."),i,s;if(n===-1?(i=e,s=""):(i=e.substring(0,n),s=e.substring(n+1)),this._children.hasOwnProperty(i))return this._children[i].match(s)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(De._cmpBySpecificity),t}insert(e,t,n,i,s,a){if(t===""){this._doInsertHere(e,n,i,s,a);return}let c=t.indexOf("."),o,u;c===-1?(o=t,u=""):(o=t.substring(0,c),u=t.substring(c+1));let d;this._children.hasOwnProperty(o)?d=this._children[o]:(d=new De(this._mainRule.clone(),ke.cloneArr(this._rulesWithParentScopes)),this._children[o]=d),d.insert(e+1,u,n,i,s,a)}_doInsertHere(e,t,n,i,s){if(t===null){this._mainRule.acceptOverwrite(e,n,i,s);return}for(let a=0,c=this._rulesWithParentScopes.length;a<c;a++){let o=this._rulesWithParentScopes[a];if(yt(o.parentScopes,t)===0){o.acceptOverwrite(e,n,i,s);return}}n===-1&&(n=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new ke(e,t,n,i,s))}},H=class k{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=k.getLanguageId(e),n=k.getTokenType(e),i=k.getFontStyle(e),s=k.getForeground(e),a=k.getBackground(e);console.log({languageId:t,tokenType:n,fontStyle:i,foreground:s,background:a})}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,t,n,i,s,a,c){let o=k.getLanguageId(e),u=k.getTokenType(e),d=k.containsBalancedBrackets(e)?1:0,m=k.getFontStyle(e),f=k.getForeground(e),h=k.getBackground(e);return t!==0&&(o=t),n!==8&&(u=n),i!==null&&(d=i?1:0),s!==-1&&(m=s),a!==0&&(f=a),c!==0&&(h=c),(o<<0|u<<8|d<<10|m<<11|f<<15|h<<24)>>>0}};function ue(r,e){const t=[],n=Vn(r);let i=n.next();for(;i!==null;){let o=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":o=1;break;case"L":o=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=n.next()}let u=a();if(t.push({matcher:u,priority:o}),i!==",")break;i=n.next()}return t;function s(){if(i==="-"){i=n.next();const o=s();return u=>!!o&&!o(u)}if(i==="("){i=n.next();const o=c();return i===")"&&(i=n.next()),o}if(Xe(i)){const o=[];do o.push(i),i=n.next();while(Xe(i));return u=>e(o,u)}return null}function a(){const o=[];let u=s();for(;u;)o.push(u),u=s();return d=>o.every(m=>m(d))}function c(){const o=[];let u=a();for(;u&&(o.push(u),i==="|"||i===",");){do i=n.next();while(i==="|"||i===",");u=a()}return d=>o.some(m=>m(d))}}function Xe(r){return!!r&&!!r.match(/[\w\.:]+/)}function Vn(r){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(r);return{next:()=>{if(!t)return null;const n=t[0];return t=e.exec(r),n}}}function Pt(r){typeof r.dispose=="function"&&r.dispose()}var Q=class{constructor(r){this.scopeName=r}toKey(){return this.scopeName}},vn=class{constructor(r,e){this.scopeName=r,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},xn=class{constructor(){p(this,"_references",[]);p(this,"_seenReferenceKeys",new Set);p(this,"visitedRule",new Set)}get references(){return this._references}add(r){const e=r.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(r))}},Gn=class{constructor(r,e){p(this,"seenFullScopeRequests",new Set);p(this,"seenPartialScopeRequests",new Set);p(this,"Q");this.repo=r,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Q(this.initialScopeName)]}processQueue(){const r=this.Q;this.Q=[];const e=new xn;for(const t of r)Mn(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof Q){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function Mn(r,e,t,n){const i=t.lookup(r.scopeName);if(!i){if(r.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const s=t.lookup(e);r instanceof Q?ce({baseGrammar:s,selfGrammar:i},n):Ne(r.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},n);const a=t.injections(r.scopeName);if(a)for(const c of a)n.add(new Q(c))}function Ne(r,e,t){if(e.repository&&e.repository[r]){const n=e.repository[r];de([n],e,t)}}function ce(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&de(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&de(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function de(r,e,t){for(const n of r){if(t.visitedRule.has(n))continue;t.visitedRule.add(n);const i=n.repository?_t({},e.repository,n.repository):e.repository;Array.isArray(n.patterns)&&de(n.patterns,{...e,repository:i},t);const s=n.include;if(!s)continue;const a=bt(s);switch(a.kind){case 0:ce({...e,selfGrammar:e.baseGrammar},t);break;case 1:ce(e,t);break;case 2:Ne(a.ruleName,{...e,repository:i},t);break;case 3:case 4:const c=a.scopeName===e.selfGrammar.scopeName?e.selfGrammar:a.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(c){const o={baseGrammar:e.baseGrammar,selfGrammar:c,repository:i};a.kind===4?Ne(a.ruleName,o,t):ce(o,t)}else a.kind===4?t.add(new vn(a.scopeName,a.ruleName)):t.add(new Q(a.scopeName));break}}}var Bn=class{constructor(){p(this,"kind",0)}},jn=class{constructor(){p(this,"kind",1)}},$n=class{constructor(r){p(this,"kind",2);this.ruleName=r}},Wn=class{constructor(r){p(this,"kind",3);this.scopeName=r}},Un=class{constructor(r,e){p(this,"kind",4);this.scopeName=r,this.ruleName=e}};function bt(r){if(r==="$base")return new Bn;if(r==="$self")return new jn;const e=r.indexOf("#");if(e===-1)return new Wn(r);if(e===0)return new $n(r.substring(1));{const t=r.substring(0,e),n=r.substring(e+1);return new Un(t,n)}}var Hn=/\\(\d+)/,Ye=/\\(\d+)/g,Fn=-1,It=-2;var te=class{constructor(r,e,t,n){p(this,"$location");p(this,"id");p(this,"_nameIsCapturing");p(this,"_name");p(this,"_contentNameIsCapturing");p(this,"_contentName");this.$location=r,this.id=e,this._name=t||null,this._nameIsCapturing=ie.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=ie.hasCaptures(this._contentName)}get debugName(){const r=this.$location?`${gt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${r}`}getName(r,e){return!this._nameIsCapturing||this._name===null||r===null||e===null?this._name:ie.replaceCaptures(this._name,r,e)}getContentName(r,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ie.replaceCaptures(this._contentName,r,e)}},qn=class extends te{constructor(e,t,n,i,s){super(e,t,n,i);p(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,i){throw new Error("Not supported!")}},zn=class extends te{constructor(e,t,n,i,s){super(e,t,n,null);p(this,"_match");p(this,"captures");p(this,"_cachedCompiledPatterns");this._match=new X(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Y,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ze=class extends te{constructor(e,t,n,i,s){super(e,t,n,i);p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Y,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ve=class extends te{constructor(e,t,n,i,s,a,c,o,u,d){super(e,t,n,i);p(this,"_begin");p(this,"beginCaptures");p(this,"_end");p(this,"endHasBackReferences");p(this,"endCaptures");p(this,"applyEndPatternLast");p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");this._begin=new X(s,this.id),this.beginCaptures=a,this._end=new X(c||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=u||!1,this.patterns=d.patterns,this.hasMissingPatterns=d.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(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,i)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Y;for(const n of this.patterns)e.getRule(n).collectPatterns(e,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,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},me=class extends te{constructor(e,t,n,i,s,a,c,o,u){super(e,t,n,i);p(this,"_begin");p(this,"beginCaptures");p(this,"whileCaptures");p(this,"_while");p(this,"whileHasBackReferences");p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");p(this,"_cachedCompiledWhilePatterns");this._begin=new X(s,this.id),this.beginCaptures=a,this.whileCaptures=o,this._while=new X(c,It),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Y;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,i){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,i)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Y,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},St=class O{static createCaptureRule(e,t,n,i,s){return e.registerRule(a=>new qn(t,a,n,i,s))}static getCompiledRuleId(e,t,n){return e.id||t.registerRule(i=>{if(e.id=i,e.match)return new zn(e.$vscodeTextmateLocation,e.id,e.name,e.match,O._compileCaptures(e.captures,t,n));if(typeof e.begin>"u"){e.repository&&(n=_t({},n,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new Ze(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,O._compilePatterns(s,t,n))}return e.while?new me(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,n),e.while,O._compileCaptures(e.whileCaptures||e.captures,t,n),O._compilePatterns(e.patterns,t,n)):new Ve(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,n),e.end,O._compileCaptures(e.endCaptures||e.captures,t,n),e.applyEndPatternLast,O._compilePatterns(e.patterns,t,n))}),e.id}static _compileCaptures(e,t,n){let i=[];if(e){let s=0;for(const a in e){if(a==="$vscodeTextmateLocation")continue;const c=parseInt(a,10);c>s&&(s=c)}for(let a=0;a<=s;a++)i[a]=null;for(const a in e){if(a==="$vscodeTextmateLocation")continue;const c=parseInt(a,10);let o=0;e[a].patterns&&(o=O.getCompiledRuleId(e[a],t,n)),i[c]=O.createCaptureRule(t,e[a].$vscodeTextmateLocation,e[a].name,e[a].contentName,o)}}return i}static _compilePatterns(e,t,n){let i=[];if(e)for(let s=0,a=e.length;s<a;s++){const c=e[s];let o=-1;if(c.include){const u=bt(c.include);switch(u.kind){case 0:case 1:o=O.getCompiledRuleId(n[c.include],t,n);break;case 2:let d=n[u.ruleName];d&&(o=O.getCompiledRuleId(d,t,n));break;case 3:case 4:const m=u.scopeName,f=u.kind===4?u.ruleName:null,h=t.getExternalGrammar(m,n);if(h)if(f){let _=h.repository[f];_&&(o=O.getCompiledRuleId(_,t,h.repository))}else o=O.getCompiledRuleId(h.repository.$self,t,h.repository);break}}else o=O.getCompiledRuleId(c,t,n);if(o!==-1){const u=t.getRule(o);let d=!1;if((u instanceof Ze||u instanceof Ve||u instanceof me)&&u.hasMissingPatterns&&u.patterns.length===0&&(d=!0),d)continue;i.push(o)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},X=class Ot{constructor(e,t){p(this,"source");p(this,"ruleId");p(this,"hasAnchor");p(this,"hasBackReferences");p(this,"_anchorCache");if(e&&typeof e=="string"){const n=e.length;let i=0,s=[],a=!1;for(let c=0;c<n;c++)if(e.charAt(c)==="\\"&&c+1<n){const u=e.charAt(c+1);u==="z"?(s.push(e.substring(i,c)),s.push("$(?!\\n)(?<!\\n)"),i=c+2):(u==="A"||u==="G")&&(a=!0),c++}this.hasAnchor=a,i===0?this.source=e:(s.push(e.substring(i,n)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,typeof this.source=="string"?this.hasBackReferences=Hn.test(this.source):this.hasBackReferences=!1}clone(){return new Ot(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let n=t.map(i=>e.substring(i.start,i.end));return Ye.lastIndex=0,this.source.replace(Ye,(i,s)=>Rt(n[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],t=[],n=[],i=[],s,a,c,o;for(s=0,a=this.source.length;s<a;s++)c=this.source.charAt(s),e[s]=c,t[s]=c,n[s]=c,i[s]=c,c==="\\"&&s+1<a&&(o=this.source.charAt(s+1),o==="A"?(e[s+1]="",t[s+1]="",n[s+1]="A",i[s+1]="A"):o==="G"?(e[s+1]="",t[s+1]="G",n[s+1]="",i[s+1]="G"):(e[s+1]=o,t[s+1]=o,n[s+1]=o,i[s+1]=o),s++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:n.join(""),A1_G1:i.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Y=class{constructor(){p(this,"_items");p(this,"_hasAnchors");p(this,"_cached");p(this,"_anchorCache");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(r){this._items.push(r),this._hasAnchors=this._hasAnchors||r.hasAnchor}unshift(r){this._items.unshift(r),this._hasAnchors=this._hasAnchors||r.hasAnchor}length(){return this._items.length}setSource(r,e){this._items[r].source!==e&&(this._disposeCaches(),this._items[r].setSource(e))}compile(r){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new et(r,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(r,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(r,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(r,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(r,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(r,e,t)),this._anchorCache.A0_G0):this.compile(r)}_resolveAnchors(r,e,t){let n=this._items.map(i=>i.resolveAnchors(e,t));return new et(r,n,this._items.map(i=>i.ruleId))}},et=class{constructor(r,e,t){p(this,"scanner");this.regExps=e,this.rules=t,this.scanner=r.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const r=[];for(let e=0,t=this.rules.length;e<t;e++)r.push(" - "+this.rules[e]+": "+this.regExps[e]);return r.join(`
|
|
2
|
+
var qt=Object.defineProperty;var zt=(r,e,t)=>e in r?qt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var p=(r,e,t)=>zt(r,typeof e!="symbol"?e+"":e,t);import{_ as l,w as Me,s as ht,f as Jt,a as Kt,b as Qt,c as Je,h as Xt}from"./index-CxbV91Kn.js";const Ke={}.hasOwnProperty;function Yt(r,e){const t=e;function n(i,...s){let a=n.invalid;const c=n.handlers;if(i&&Ke.call(i,r)){const o=String(i[r]);a=Ke.call(c,o)?c[o]:n.unknown}if(a)return a.call(this,i,...s)}return n.handlers=t.handlers||{},n.invalid=t.invalid,n.unknown=t.unknown,n}const ft=[{id:"abap",name:"ABAP",import:()=>l(()=>import("./abap-DsBKuouk.js"),[])},{id:"actionscript-3",name:"ActionScript",import:()=>l(()=>import("./actionscript-3-D_z4Izcz.js"),[])},{id:"ada",name:"Ada",import:()=>l(()=>import("./ada-727ZlQH0.js"),[])},{id:"angular-html",name:"Angular HTML",import:()=>l(()=>import("./angular-html-LfdN0zeE.js").then(r=>r.f),__vite__mapDeps([0,1,2,3]))},{id:"angular-ts",name:"Angular TypeScript",import:()=>l(()=>import("./angular-ts-CKsD7JZE.js"),__vite__mapDeps([4,0,1,2,3,5]))},{id:"apache",name:"Apache Conf",import:()=>l(()=>import("./apache-Dn00JSTd.js"),[])},{id:"apex",name:"Apex",import:()=>l(()=>import("./apex-COJ4H7py.js"),[])},{id:"apl",name:"APL",import:()=>l(()=>import("./apl-BBq3IX1j.js"),__vite__mapDeps([6,1,2,3,7,8,9]))},{id:"applescript",name:"AppleScript",import:()=>l(()=>import("./applescript-Bu5BbsvL.js"),[])},{id:"ara",name:"Ara",import:()=>l(()=>import("./ara-7O62HKoU.js"),[])},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>l(()=>import("./asciidoc-BPT9niGB.js"),[])},{id:"asm",name:"Assembly",import:()=>l(()=>import("./asm-Dhn9LcZ4.js"),[])},{id:"astro",name:"Astro",import:()=>l(()=>import("./astro-CqkE3fuf.js"),__vite__mapDeps([10,9,2,11,3,12]))},{id:"awk",name:"AWK",import:()=>l(()=>import("./awk-eg146-Ew.js"),[])},{id:"ballerina",name:"Ballerina",import:()=>l(()=>import("./ballerina-Du268qiB.js"),[])},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>l(()=>import("./bat-fje9CFhw.js"),[])},{id:"beancount",name:"Beancount",import:()=>l(()=>import("./beancount-BwXTMy5W.js"),[])},{id:"berry",name:"Berry",aliases:["be"],import:()=>l(()=>import("./berry-3xVqZejG.js"),[])},{id:"bibtex",name:"BibTeX",import:()=>l(()=>import("./bibtex-xW4inM5L.js"),[])},{id:"bicep",name:"Bicep",import:()=>l(()=>import("./bicep-DHo0CJ0O.js"),[])},{id:"blade",name:"Blade",import:()=>l(()=>import("./blade-a8OxSdnT.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>l(()=>import("./bsl-Dgyn0ogV.js"),__vite__mapDeps([15,16]))},{id:"c",name:"C",import:()=>l(()=>import("./c-C3t2pwGQ.js"),[])},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>l(()=>import("./cadence-DNquZEk8.js"),[])},{id:"cairo",name:"Cairo",import:()=>l(()=>import("./cairo--RitsXJZ.js"),__vite__mapDeps([17,18]))},{id:"clarity",name:"Clarity",import:()=>l(()=>import("./clarity-BHOwM8T6.js"),[])},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>l(()=>import("./clojure-DxSadP1t.js"),[])},{id:"cmake",name:"CMake",import:()=>l(()=>import("./cmake-DbXoA79R.js"),[])},{id:"cobol",name:"COBOL",import:()=>l(()=>import("./cobol-PTqiYgYu.js"),__vite__mapDeps([19,1,2,3,8]))},{id:"codeowners",name:"CODEOWNERS",import:()=>l(()=>import("./codeowners-Bp6g37R7.js"),[])},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>l(()=>import("./codeql-sacFqUAJ.js"),[])},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>l(()=>import("./coffee-dyiR41kL.js"),__vite__mapDeps([20,2]))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>l(()=>import("./common-lisp-C7gG9l05.js"),[])},{id:"coq",name:"Coq",import:()=>l(()=>import("./coq-Dsg_Bt_b.js"),[])},{id:"cpp",name:"C++",aliases:["c++"],import:()=>l(()=>import("./cpp-BksuvNSY.js"),__vite__mapDeps([21,22,23,24,14]))},{id:"crystal",name:"Crystal",import:()=>l(()=>import("./crystal-DtDmRg-F.js"),__vite__mapDeps([25,1,2,3,14,24,26]))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>l(()=>import("./csharp-D9R-vmeu.js"),[])},{id:"css",name:"CSS",import:()=>l(()=>import("./css-BPhBrDlE.js"),[])},{id:"csv",name:"CSV",import:()=>l(()=>import("./csv-B0qRVHPH.js"),[])},{id:"cue",name:"CUE",import:()=>l(()=>import("./cue-DtFQj3wx.js"),[])},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>l(()=>import("./cypher-m2LEI-9-.js"),[])},{id:"d",name:"D",import:()=>l(()=>import("./d-BoXegm-a.js"),[])},{id:"dart",name:"Dart",import:()=>l(()=>import("./dart-B9wLZaAG.js"),[])},{id:"dax",name:"DAX",import:()=>l(()=>import("./dax-ClGRhx96.js"),[])},{id:"desktop",name:"Desktop",import:()=>l(()=>import("./desktop-DEIpsLCJ.js"),[])},{id:"diff",name:"Diff",import:()=>l(()=>import("./diff-BgYniUM_.js"),[])},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>l(()=>import("./docker-COcR7UxN.js"),[])},{id:"dotenv",name:"dotEnv",import:()=>l(()=>import("./dotenv-BjQB5zDj.js"),[])},{id:"dream-maker",name:"Dream Maker",import:()=>l(()=>import("./dream-maker-C-nORZOA.js"),[])},{id:"edge",name:"Edge",import:()=>l(()=>import("./edge-D5gP-w-T.js"),__vite__mapDeps([27,11,1,2,3,28]))},{id:"elixir",name:"Elixir",import:()=>l(()=>import("./elixir-CLiX3zqd.js"),__vite__mapDeps([29,1,2,3]))},{id:"elm",name:"Elm",import:()=>l(()=>import("./elm-CmHSxxaM.js"),__vite__mapDeps([30,23,24]))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>l(()=>import("./emacs-lisp-BX77sIaO.js"),[])},{id:"erb",name:"ERB",import:()=>l(()=>import("./erb-BYTLMnw6.js"),__vite__mapDeps([31,1,2,3,32,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>l(()=>import("./erlang-B-DoSBHF.js"),[])},{id:"fennel",name:"Fennel",import:()=>l(()=>import("./fennel-bCA53EVm.js"),[])},{id:"fish",name:"Fish",import:()=>l(()=>import("./fish-w-ucz2PV.js"),[])},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>l(()=>import("./fluent-Dayu4EKP.js"),[])},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>l(()=>import("./fortran-fixed-form-TqA4NnZg.js"),__vite__mapDeps([39,40]))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>l(()=>import("./fortran-free-form-DKXYxT9g.js"),[])},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>l(()=>import("./fsharp-XplgxFYe.js"),__vite__mapDeps([41,42]))},{id:"gdresource",name:"GDResource",import:()=>l(()=>import("./gdresource-BHYsBjWJ.js"),__vite__mapDeps([43,44,45]))},{id:"gdscript",name:"GDScript",import:()=>l(()=>import("./gdscript-DfxzS6Rs.js"),[])},{id:"gdshader",name:"GDShader",import:()=>l(()=>import("./gdshader-SKMF96pI.js"),[])},{id:"genie",name:"Genie",import:()=>l(()=>import("./genie-ajMbGru0.js"),[])},{id:"gherkin",name:"Gherkin",import:()=>l(()=>import("./gherkin--30QC5Em.js"),[])},{id:"git-commit",name:"Git Commit Message",import:()=>l(()=>import("./git-commit-i4q6IMui.js"),__vite__mapDeps([46,47]))},{id:"git-rebase",name:"Git Rebase Message",import:()=>l(()=>import("./git-rebase-B-v9cOL2.js"),__vite__mapDeps([48,26]))},{id:"gleam",name:"Gleam",import:()=>l(()=>import("./gleam-B430Bg39.js"),[])},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>l(()=>import("./glimmer-js-D-cwc0-E.js"),__vite__mapDeps([49,2,11,3,1]))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>l(()=>import("./glimmer-ts-pgjy16dm.js"),__vite__mapDeps([50,11,3,2,1]))},{id:"glsl",name:"GLSL",import:()=>l(()=>import("./glsl-DBO2IWDn.js"),__vite__mapDeps([23,24]))},{id:"gnuplot",name:"Gnuplot",import:()=>l(()=>import("./gnuplot-CM8KxXT1.js"),[])},{id:"go",name:"Go",import:()=>l(()=>import("./go-B1SYOhNW.js"),[])},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>l(()=>import("./graphql-cDcHW_If.js"),__vite__mapDeps([34,2,11,35,36]))},{id:"groovy",name:"Groovy",import:()=>l(()=>import("./groovy-DkBy-JyN.js"),[])},{id:"hack",name:"Hack",import:()=>l(()=>import("./hack-D1yCygmZ.js"),__vite__mapDeps([51,1,2,3,14]))},{id:"haml",name:"Ruby Haml",import:()=>l(()=>import("./haml-B2EZWmdv.js"),__vite__mapDeps([33,2,3]))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>l(()=>import("./handlebars-BQGss363.js"),__vite__mapDeps([52,1,2,3,38]))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>l(()=>import("./haskell-BILxekzW.js"),[])},{id:"haxe",name:"Haxe",import:()=>l(()=>import("./haxe-C5wWYbrZ.js"),[])},{id:"hcl",name:"HashiCorp HCL",import:()=>l(()=>import("./hcl-HzYwdGDm.js"),[])},{id:"hjson",name:"Hjson",import:()=>l(()=>import("./hjson-T-Tgc4AT.js"),[])},{id:"hlsl",name:"HLSL",import:()=>l(()=>import("./hlsl-ifBTmRxC.js"),[])},{id:"html",name:"HTML",import:()=>l(()=>import("./html-C2L_23MC.js"),__vite__mapDeps([1,2,3]))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>l(()=>import("./html-derivative-CSfWNPLT.js"),__vite__mapDeps([28,1,2,3]))},{id:"http",name:"HTTP",import:()=>l(()=>import("./http-FRrOvY1W.js"),__vite__mapDeps([53,26,9,7,8,34,2,11,35,36]))},{id:"hxml",name:"HXML",import:()=>l(()=>import("./hxml-TIA70rKU.js"),__vite__mapDeps([54,55]))},{id:"hy",name:"Hy",import:()=>l(()=>import("./hy-BMj5Y0dO.js"),[])},{id:"imba",name:"Imba",import:()=>l(()=>import("./imba-bv_oIlVt.js"),__vite__mapDeps([56,11]))},{id:"ini",name:"INI",aliases:["properties"],import:()=>l(()=>import("./ini-BjABl1g7.js"),[])},{id:"java",name:"Java",import:()=>l(()=>import("./java-xI-RfyKK.js"),[])},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>l(()=>import("./javascript-ySlJ1b_l.js"),[])},{id:"jinja",name:"Jinja",import:()=>l(()=>import("./jinja-DGy0s7-h.js"),__vite__mapDeps([57,1,2,3]))},{id:"jison",name:"Jison",import:()=>l(()=>import("./jison-BqZprYcd.js"),__vite__mapDeps([58,2]))},{id:"json",name:"JSON",import:()=>l(()=>import("./json-BQoSv7ci.js"),[])},{id:"json5",name:"JSON5",import:()=>l(()=>import("./json5-w8dY5SsB.js"),[])},{id:"jsonc",name:"JSON with Comments",import:()=>l(()=>import("./jsonc-TU54ms6u.js"),[])},{id:"jsonl",name:"JSON Lines",import:()=>l(()=>import("./jsonl-DREVFZK8.js"),[])},{id:"jsonnet",name:"Jsonnet",import:()=>l(()=>import("./jsonnet-BfivnA6A.js"),[])},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>l(()=>import("./jssm-P4WzXJd0.js"),[])},{id:"jsx",name:"JSX",import:()=>l(()=>import("./jsx-BAng5TT0.js"),[])},{id:"julia",name:"Julia",aliases:["jl"],import:()=>l(()=>import("./julia-BBuGR-5E.js"),__vite__mapDeps([59,21,22,23,24,14,18,2,60]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>l(()=>import("./kotlin-B5lbUyaz.js"),[])},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>l(()=>import("./kusto-mebxcVVE.js"),[])},{id:"latex",name:"LaTeX",import:()=>l(()=>import("./latex-C-cWTeAZ.js"),__vite__mapDeps([61,62,60]))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>l(()=>import("./lean-XBlWyCtg.js"),[])},{id:"less",name:"Less",import:()=>l(()=>import("./less-BfCpw3nA.js"),[])},{id:"liquid",name:"Liquid",import:()=>l(()=>import("./liquid-D3W5UaiH.js"),__vite__mapDeps([63,1,2,3,9]))},{id:"log",name:"Log file",import:()=>l(()=>import("./log-Cc5clBb7.js"),[])},{id:"logo",name:"Logo",import:()=>l(()=>import("./logo-IuBKFhSY.js"),[])},{id:"lua",name:"Lua",import:()=>l(()=>import("./lua-CvWAzNxB.js"),__vite__mapDeps([37,24]))},{id:"luau",name:"Luau",import:()=>l(()=>import("./luau-Du5NY7AG.js"),[])},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>l(()=>import("./make-Bvotw-X0.js"),[])},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>l(()=>import("./markdown-UIAJJxZW.js"),[])},{id:"marko",name:"Marko",import:()=>l(()=>import("./marko-z0MBrx5-.js"),__vite__mapDeps([64,3,65,5,2]))},{id:"matlab",name:"MATLAB",import:()=>l(()=>import("./matlab-D9-PGadD.js"),[])},{id:"mdc",name:"MDC",import:()=>l(()=>import("./mdc-DB_EDNY_.js"),__vite__mapDeps([66,42,38,28,1,2,3]))},{id:"mdx",name:"MDX",import:()=>l(()=>import("./mdx-sdHcTMYB.js"),[])},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>l(()=>import("./mermaid-Ci6OQyBP.js"),[])},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>l(()=>import("./mipsasm-BC5c_5Pe.js"),[])},{id:"mojo",name:"Mojo",import:()=>l(()=>import("./mojo-Tz6hzZYG.js"),[])},{id:"move",name:"Move",import:()=>l(()=>import("./move-DB_GagMm.js"),[])},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>l(()=>import("./narrat-DLbgOhZU.js"),[])},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>l(()=>import("./nextflow-B0XVJmRM.js"),[])},{id:"nginx",name:"Nginx",import:()=>l(()=>import("./nginx-D_VnBJ67.js"),__vite__mapDeps([67,37,24]))},{id:"nim",name:"Nim",import:()=>l(()=>import("./nim-ZlGxZxc3.js"),__vite__mapDeps([68,24,1,2,3,7,8,23,42]))},{id:"nix",name:"Nix",import:()=>l(()=>import("./nix-shcSOmrb.js"),[])},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>l(()=>import("./nushell-D4Tzg5kh.js"),[])},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>l(()=>import("./objective-c-Deuh7S70.js"),[])},{id:"objective-cpp",name:"Objective-C++",import:()=>l(()=>import("./objective-cpp-BUEGK8hf.js"),[])},{id:"ocaml",name:"OCaml",import:()=>l(()=>import("./ocaml-BNioltXt.js"),[])},{id:"pascal",name:"Pascal",import:()=>l(()=>import("./pascal-JqZropPD.js"),[])},{id:"perl",name:"Perl",import:()=>l(()=>import("./perl-CHQXSrWU.js"),__vite__mapDeps([69,1,2,3,7,8,14]))},{id:"php",name:"PHP",import:()=>l(()=>import("./php-B5ebYQev.js"),__vite__mapDeps([70,1,2,3,7,8,14,9]))},{id:"plsql",name:"PL/SQL",import:()=>l(()=>import("./plsql-LKU2TuZ1.js"),[])},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>l(()=>import("./po-BFLt1xDp.js"),[])},{id:"polar",name:"Polar",import:()=>l(()=>import("./polar-DKykz6zU.js"),[])},{id:"postcss",name:"PostCSS",import:()=>l(()=>import("./postcss-B3ZDOciz.js"),[])},{id:"powerquery",name:"PowerQuery",import:()=>l(()=>import("./powerquery-CSHBycmS.js"),[])},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>l(()=>import("./powershell-BIEUsx6d.js"),[])},{id:"prisma",name:"Prisma",import:()=>l(()=>import("./prisma-B48N-Iqd.js"),[])},{id:"prolog",name:"Prolog",import:()=>l(()=>import("./prolog-BY-TUvya.js"),[])},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>l(()=>import("./proto-zocC4JxJ.js"),[])},{id:"pug",name:"Pug",aliases:["jade"],import:()=>l(()=>import("./pug-CM9l7STV.js"),__vite__mapDeps([71,2,3,1]))},{id:"puppet",name:"Puppet",import:()=>l(()=>import("./puppet-Cza_XSSt.js"),[])},{id:"purescript",name:"PureScript",import:()=>l(()=>import("./purescript-Bg-kzb6g.js"),[])},{id:"python",name:"Python",aliases:["py"],import:()=>l(()=>import("./python-DhUJRlN_.js"),[])},{id:"qml",name:"QML",import:()=>l(()=>import("./qml-D8XfuvdV.js"),__vite__mapDeps([72,2]))},{id:"qmldir",name:"QML Directory",import:()=>l(()=>import("./qmldir-C8lEn-DE.js"),[])},{id:"qss",name:"Qt Style Sheets",import:()=>l(()=>import("./qss-DhMKtDLN.js"),[])},{id:"r",name:"R",import:()=>l(()=>import("./r-CwjWoCRV.js"),[])},{id:"racket",name:"Racket",import:()=>l(()=>import("./racket-CzouJOBO.js"),[])},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>l(()=>import("./raku-B1bQXN8T.js"),[])},{id:"razor",name:"ASP.NET Razor",import:()=>l(()=>import("./razor-CNLDkMZG.js"),__vite__mapDeps([73,1,2,3,74]))},{id:"reg",name:"Windows Registry Script",import:()=>l(()=>import("./reg-5LuOXUq_.js"),[])},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>l(()=>import("./regexp-DWJ3fJO_.js"),[])},{id:"rel",name:"Rel",import:()=>l(()=>import("./rel-DJlmqQ1C.js"),[])},{id:"riscv",name:"RISC-V",import:()=>l(()=>import("./riscv-QhoSD0DR.js"),[])},{id:"rst",name:"reStructuredText",import:()=>l(()=>import("./rst-4NLicBqY.js"),__vite__mapDeps([75,28,1,2,3,21,22,23,24,14,18,26,38,76,32,33,7,8,34,11,35,36,37]))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>l(()=>import("./ruby-DeZ3UC14.js"),__vite__mapDeps([32,1,2,3,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>l(()=>import("./rust-Be6lgOlo.js"),[])},{id:"sas",name:"SAS",import:()=>l(()=>import("./sas-BmTFh92c.js"),__vite__mapDeps([77,14]))},{id:"sass",name:"Sass",import:()=>l(()=>import("./sass-BJ4Li9vH.js"),[])},{id:"scala",name:"Scala",import:()=>l(()=>import("./scala-DQVVAn-B.js"),[])},{id:"scheme",name:"Scheme",import:()=>l(()=>import("./scheme-BJGe-b2p.js"),[])},{id:"scss",name:"SCSS",import:()=>l(()=>import("./scss-C31hgJw-.js"),__vite__mapDeps([5,3]))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>l(()=>import("./sdbl-BLhTXw86.js"),[])},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>l(()=>import("./shaderlab-B7qAK45m.js"),__vite__mapDeps([78,79]))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>l(()=>import("./shellscript-atvbtKCR.js"),[])},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>l(()=>import("./shellsession-C_rIy8kc.js"),__vite__mapDeps([80,26]))},{id:"smalltalk",name:"Smalltalk",import:()=>l(()=>import("./smalltalk-DkLiglaE.js"),[])},{id:"solidity",name:"Solidity",import:()=>l(()=>import("./solidity-C1w2a3ep.js"),[])},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>l(()=>import("./soy-C-lX7w71.js"),__vite__mapDeps([81,1,2,3]))},{id:"sparql",name:"SPARQL",import:()=>l(()=>import("./sparql-bYkjHRlG.js"),__vite__mapDeps([82,83]))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>l(()=>import("./splunk-Cf8iN4DR.js"),[])},{id:"sql",name:"SQL",import:()=>l(()=>import("./sql-COK4E0Yg.js"),[])},{id:"ssh-config",name:"SSH Config",import:()=>l(()=>import("./ssh-config-BknIz3MU.js"),[])},{id:"stata",name:"Stata",import:()=>l(()=>import("./stata-DorPZHa4.js"),__vite__mapDeps([84,14]))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>l(()=>import("./stylus-BeQkCIfX.js"),[])},{id:"svelte",name:"Svelte",import:()=>l(()=>import("./svelte-MSaWC3Je.js"),__vite__mapDeps([85,2,11,3,12]))},{id:"swift",name:"Swift",import:()=>l(()=>import("./swift-BSxZ-RaX.js"),[])},{id:"system-verilog",name:"SystemVerilog",import:()=>l(()=>import("./system-verilog-C7L56vO4.js"),[])},{id:"systemd",name:"Systemd Units",import:()=>l(()=>import("./systemd-CUnW07Te.js"),[])},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>l(()=>import("./talonscript-C1XDQQGZ.js"),[])},{id:"tasl",name:"Tasl",import:()=>l(()=>import("./tasl-CQjiPCtT.js"),[])},{id:"tcl",name:"Tcl",import:()=>l(()=>import("./tcl-DQ1-QYvQ.js"),[])},{id:"templ",name:"Templ",import:()=>l(()=>import("./templ-dwX3ZSMB.js"),__vite__mapDeps([86,87,2,3]))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>l(()=>import("./terraform-BbSNqyBO.js"),[])},{id:"tex",name:"TeX",import:()=>l(()=>import("./tex-rYs2v40G.js"),__vite__mapDeps([62,60]))},{id:"toml",name:"TOML",import:()=>l(()=>import("./toml-CB2ApiWb.js"),[])},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>l(()=>import("./ts-tags-CipyTH0X.js"),__vite__mapDeps([88,11,3,2,23,24,1,14,7,8]))},{id:"tsv",name:"TSV",import:()=>l(()=>import("./tsv-B_m7g4N7.js"),[])},{id:"tsx",name:"TSX",import:()=>l(()=>import("./tsx-B6W0miNI.js"),[])},{id:"turtle",name:"Turtle",import:()=>l(()=>import("./turtle-BMR_PYu6.js"),[])},{id:"twig",name:"Twig",import:()=>l(()=>import("./twig-NC5TFiHP.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,14,9,18,32,33,34,11,35,36,21,22,23,24,26,37,38]))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>l(()=>import("./typescript-Dj6nwHGl.js"),[])},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>l(()=>import("./typespec-BpWG_bgh.js"),[])},{id:"typst",name:"Typst",aliases:["typ"],import:()=>l(()=>import("./typst-BVUVsWT6.js"),[])},{id:"v",name:"V",import:()=>l(()=>import("./v-CAQ2eGtk.js"),[])},{id:"vala",name:"Vala",import:()=>l(()=>import("./vala-BFOHcciG.js"),[])},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>l(()=>import("./vb-CdO5JTpU.js"),[])},{id:"verilog",name:"Verilog",import:()=>l(()=>import("./verilog-CJaU5se_.js"),[])},{id:"vhdl",name:"VHDL",import:()=>l(()=>import("./vhdl-DYoNaHQp.js"),[])},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>l(()=>import("./viml-m4uW47V2.js"),[])},{id:"vue",name:"Vue",import:()=>l(()=>import("./vue-BuYVFjOK.js"),__vite__mapDeps([90,1,2,3,11,9,28]))},{id:"vue-html",name:"Vue HTML",import:()=>l(()=>import("./vue-html-xdeiXROB.js"),__vite__mapDeps([91,90,1,2,3,11,9,28]))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>l(()=>import("./vyper-nyqBNV6O.js"),[])},{id:"wasm",name:"WebAssembly",import:()=>l(()=>import("./wasm-C6j12Q_x.js"),[])},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>l(()=>import("./wenyan-7A4Fjokl.js"),[])},{id:"wgsl",name:"WGSL",import:()=>l(()=>import("./wgsl-CB0Krxn9.js"),[])},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>l(()=>import("./wikitext-DCE3LsBG.js"),[])},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>l(()=>import("./wolfram-C3FkfJm5.js"),[])},{id:"xml",name:"XML",import:()=>l(()=>import("./xml-e3z08dGr.js"),__vite__mapDeps([7,8]))},{id:"xsl",name:"XSL",import:()=>l(()=>import("./xsl-Dd0NUgwM.js"),__vite__mapDeps([92,7,8]))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>l(()=>import("./yaml-CVw76BM1.js"),[])},{id:"zenscript",name:"ZenScript",import:()=>l(()=>import("./zenscript-HnGAYVZD.js"),[])},{id:"zig",name:"Zig",import:()=>l(()=>import("./zig-BVz_zdnA.js"),[])}],Zt=Object.fromEntries(ft.map(r=>[r.id,r.import])),en=Object.fromEntries(ft.flatMap(r=>{var e;return((e=r.aliases)==null?void 0:e.map(t=>[t,r.import]))||[]})),tn={...Zt,...en},nn=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>l(()=>import("./andromeeda-C3khCPGq.js"),[])},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>l(()=>import("./aurora-x-D-2ljcwZ.js"),[])},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>l(()=>import("./ayu-dark-Cv9koXgw.js"),[])},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>l(()=>import("./catppuccin-frappe-CD_QflpE.js"),[])},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>l(()=>import("./catppuccin-latte-DRW-0cLl.js"),[])},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>l(()=>import("./catppuccin-macchiato-C-_shW-Y.js"),[])},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>l(()=>import("./catppuccin-mocha-LGGdnPYs.js"),[])},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>l(()=>import("./dark-plus-C3mMm8J8.js"),[])},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>l(()=>import("./dracula-BzJJZx-M.js"),[])},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>l(()=>import("./dracula-soft-BXkSAIEj.js"),[])},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>l(()=>import("./everforest-dark-BgDCqdQA.js"),[])},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>l(()=>import("./everforest-light-C8M2exoo.js"),[])},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>l(()=>import("./github-dark-DHJKELXO.js"),[])},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>l(()=>import("./github-dark-default-Cuk6v7N8.js"),[])},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>l(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[])},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>l(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[])},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>l(()=>import("./github-light-DAi9KRSo.js"),[])},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>l(()=>import("./github-light-default-D7oLnXFd.js"),[])},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>l(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[])},{id:"houston",displayName:"Houston",type:"dark",import:()=>l(()=>import("./houston-DnULxvSX.js"),[])},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>l(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[])},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>l(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[])},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>l(()=>import("./kanagawa-wave-DWedfzmr.js"),[])},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>l(()=>import("./laserwave-DUszq2jm.js"),[])},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>l(()=>import("./light-plus-B7mTdjB0.js"),[])},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>l(()=>import("./material-theme-D5KoaKCx.js"),[])},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>l(()=>import("./material-theme-darker-BfHTSMKl.js"),[])},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>l(()=>import("./material-theme-lighter-B0m2ddpp.js"),[])},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>l(()=>import("./material-theme-ocean-CyktbL80.js"),[])},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>l(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[])},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>l(()=>import("./min-dark-CafNBF8u.js"),[])},{id:"min-light",displayName:"Min Light",type:"light",import:()=>l(()=>import("./min-light-CTRr51gU.js"),[])},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>l(()=>import("./monokai-D4h5O-jR.js"),[])},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>l(()=>import("./night-owl-C39BiMTA.js"),[])},{id:"nord",displayName:"Nord",type:"dark",import:()=>l(()=>import("./nord-Ddv68eIx.js"),[])},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>l(()=>import("./one-dark-pro-GBQ2dnAY.js"),[])},{id:"one-light",displayName:"One Light",type:"light",import:()=>l(()=>import("./one-light-PoHY5YXO.js"),[])},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>l(()=>import("./plastic-3e1v2bzS.js"),[])},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>l(()=>import("./poimandres-CS3Unz2-.js"),[])},{id:"red",displayName:"Red",type:"dark",import:()=>l(()=>import("./red-bN70gL4F.js"),[])},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>l(()=>import("./rose-pine-CmCqftbK.js"),[])},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>l(()=>import("./rose-pine-dawn-Ds-gbosJ.js"),[])},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>l(()=>import("./rose-pine-moon-CjDtw9vr.js"),[])},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>l(()=>import("./slack-dark-BthQWCQV.js"),[])},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>l(()=>import("./slack-ochin-DqwNpetd.js"),[])},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>l(()=>import("./snazzy-light-Bw305WKR.js"),[])},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>l(()=>import("./solarized-dark-DXbdFlpD.js"),[])},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>l(()=>import("./solarized-light-L9t79GZl.js"),[])},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>l(()=>import("./synthwave-84-CbfX1IO0.js"),[])},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>l(()=>import("./tokyo-night-DBQeEorK.js"),[])},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>l(()=>import("./vesper-BEBZ7ncR.js"),[])},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>l(()=>import("./vitesse-black-Bkuqu6BP.js"),[])},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>l(()=>import("./vitesse-dark-D0r3Knsf.js"),[])},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>l(()=>import("./vitesse-light-CVO1_9PV.js"),[])}],rn=Object.fromEntries(nn.map(r=>[r.id,r.import]));let B=class extends Error{constructor(e){super(e),this.name="ShikiError"}},Be=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function sn(){return 2147483648}function an(){return typeof performance<"u"?performance.now():Date.now()}const on=(r,e)=>r+(e-r%e)%e;async function cn(r){let e,t;const n={};function i(h){t=h,n.HEAPU8=new Uint8Array(h),n.HEAPU32=new Uint32Array(h)}function s(h,_,T){n.HEAPU8.copyWithin(h,_,_+T)}function a(h){try{return e.grow(h-t.byteLength+65535>>>16),i(e.buffer),1}catch{}}function c(h){const _=n.HEAPU8.length;h=h>>>0;const T=sn();if(h>T)return!1;for(let E=1;E<=4;E*=2){let g=_*(1+.2/E);g=Math.min(g,h+100663296);const y=Math.min(T,on(Math.max(h,g),65536));if(a(y))return!0}return!1}const o=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(h,_,T=1024){const E=_+T;let g=_;for(;h[g]&&!(g>=E);)++g;if(g-_>16&&h.buffer&&o)return o.decode(h.subarray(_,g));let y="";for(;_<g;){let R=h[_++];if(!(R&128)){y+=String.fromCharCode(R);continue}const A=h[_++]&63;if((R&224)===192){y+=String.fromCharCode((R&31)<<6|A);continue}const L=h[_++]&63;if((R&240)===224?R=(R&15)<<12|A<<6|L:R=(R&7)<<18|A<<12|L<<6|h[_++]&63,R<65536)y+=String.fromCharCode(R);else{const C=R-65536;y+=String.fromCharCode(55296|C>>10,56320|C&1023)}}return y}function d(h,_){return h?u(n.HEAPU8,h,_):""}const m={emscripten_get_now:an,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const _=await r({env:m,wasi_snapshot_preview1:m});e=_.memory,i(e.buffer),Object.assign(n,_),n.UTF8ToString=d}return await f(),n}var ln=Object.defineProperty,un=(r,e,t)=>e in r?ln(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,b=(r,e,t)=>(un(r,typeof e!="symbol"?e+"":e,t),t);let S=null;function dn(r){throw new Be(r.UTF8ToString(r.getLastOnigError()))}class ye{constructor(e){b(this,"utf16Length"),b(this,"utf8Length"),b(this,"utf16Value"),b(this,"utf8Value"),b(this,"utf16OffsetToUtf8"),b(this,"utf8OffsetToUtf16");const t=e.length,n=ye._utf8ByteLength(e),i=n!==t,s=i?new Uint32Array(t+1):null;i&&(s[t]=n);const a=i?new Uint32Array(n+1):null;i&&(a[n]=t);const c=new Uint8Array(n);let o=0;for(let u=0;u<t;u++){const d=e.charCodeAt(u);let m=d,f=!1;if(d>=55296&&d<=56319&&u+1<t){const h=e.charCodeAt(u+1);h>=56320&&h<=57343&&(m=(d-55296<<10)+65536|h-56320,f=!0)}i&&(s[u]=o,f&&(s[u+1]=o),m<=127?a[o+0]=u:m<=2047?(a[o+0]=u,a[o+1]=u):m<=65535?(a[o+0]=u,a[o+1]=u,a[o+2]=u):(a[o+0]=u,a[o+1]=u,a[o+2]=u,a[o+3]=u)),m<=127?c[o++]=m:m<=2047?(c[o++]=192|(m&1984)>>>6,c[o++]=128|(m&63)>>>0):m<=65535?(c[o++]=224|(m&61440)>>>12,c[o++]=128|(m&4032)>>>6,c[o++]=128|(m&63)>>>0):(c[o++]=240|(m&1835008)>>>18,c[o++]=128|(m&258048)>>>12,c[o++]=128|(m&4032)>>>6,c[o++]=128|(m&63)>>>0),f&&u++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=c,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=a}static _utf8ByteLength(e){let t=0;for(let n=0,i=e.length;n<i;n++){const s=e.charCodeAt(n);let a=s,c=!1;if(s>=55296&&s<=56319&&n+1<i){const o=e.charCodeAt(n+1);o>=56320&&o<=57343&&(a=(s-55296<<10)+65536|o-56320,c=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,c&&n++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const N=class{constructor(r){if(b(this,"id",++N.LAST_ID),b(this,"_onigBinding"),b(this,"content"),b(this,"utf16Length"),b(this,"utf8Length"),b(this,"utf16OffsetToUtf8"),b(this,"utf8OffsetToUtf16"),b(this,"ptr"),!S)throw new Be("Must invoke loadWasm first.");this._onigBinding=S,this.content=r;const e=new ye(r);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!N._sharedPtrInUse?(N._sharedPtr||(N._sharedPtr=S.omalloc(1e4)),N._sharedPtrInUse=!0,S.HEAPU8.set(e.utf8Value,N._sharedPtr),this.ptr=N._sharedPtr):this.ptr=e.createString(S)}convertUtf8OffsetToUtf16(r){return this.utf8OffsetToUtf16?r<0?0:r>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[r]:r}convertUtf16OffsetToUtf8(r){return this.utf16OffsetToUtf8?r<0?0:r>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[r]:r}dispose(){this.ptr===N._sharedPtr?N._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let ee=N;b(ee,"LAST_ID",0);b(ee,"_sharedPtr",0);b(ee,"_sharedPtrInUse",!1);class mn{constructor(e){if(b(this,"_onigBinding"),b(this,"_ptr"),!S)throw new Be("Must invoke loadWasm first.");const t=[],n=[];for(let c=0,o=e.length;c<o;c++){const u=new ye(e[c]);t[c]=u.createString(S),n[c]=u.utf8Length}const i=S.omalloc(4*e.length);S.HEAPU32.set(t,i/4);const s=S.omalloc(4*e.length);S.HEAPU32.set(n,s/4);const a=S.createOnigScanner(i,s,e.length);for(let c=0,o=e.length;c<o;c++)S.ofree(t[c]);S.ofree(s),S.ofree(i),a===0&&dn(S),this._onigBinding=S,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let i=0;if(typeof n=="number"&&(i=n),typeof e=="string"){e=new ee(e);const s=this._findNextMatchSync(e,t,!1,i);return e.dispose(),s}return this._findNextMatchSync(e,t,!1,i)}_findNextMatchSync(e,t,n,i){const s=this._onigBinding,a=s.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),i);if(a===0)return null;const c=s.HEAPU32;let o=a/4;const u=c[o++],d=c[o++],m=[];for(let f=0;f<d;f++){const h=e.convertUtf8OffsetToUtf16(c[o++]),_=e.convertUtf8OffsetToUtf16(c[o++]);m[f]={start:h,end:_,length:_-h}}return{index:u,captureIndices:m}}}function hn(r){return typeof r.instantiator=="function"}function fn(r){return typeof r.default=="function"}function pn(r){return typeof r.data<"u"}function _n(r){return typeof Response<"u"&&r instanceof Response}function gn(r){var e;return typeof ArrayBuffer<"u"&&(r instanceof ArrayBuffer||ArrayBuffer.isView(r))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,r))||typeof SharedArrayBuffer<"u"&&r instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&r instanceof Uint32Array}let re;function En(r){if(re)return re;async function e(){S=await cn(async t=>{let n=r;return n=await n,typeof n=="function"&&(n=await n(t)),typeof n=="function"&&(n=await n(t)),hn(n)?n=await n.instantiator(t):fn(n)?n=await n.default(t):(pn(n)&&(n=n.data),_n(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await yn(n)(t):n=await Rn(n)(t):gn(n)?n=await Pe(n)(t):n instanceof WebAssembly.Module?n=await Pe(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await Pe(n.default)(t))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return re=e(),re}function Pe(r){return e=>WebAssembly.instantiate(r,e)}function yn(r){return e=>WebAssembly.instantiateStreaming(r,e)}function Rn(r){return async e=>{const t=await r.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Tn;function An(){return Tn}async function pt(r){return r&&await En(r),{createScanner(e){return new mn(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new ee(e)}}}function Ln(r){return je(r)}function je(r){return Array.isArray(r)?Pn(r):r instanceof RegExp?r:typeof r=="object"?bn(r):r}function Pn(r){let e=[];for(let t=0,n=r.length;t<n;t++)e[t]=je(r[t]);return e}function bn(r){let e={};for(let t in r)e[t]=je(r[t]);return e}function _t(r,...e){return e.forEach(t=>{for(let n in t)r[n]=t[n]}),r}function gt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?gt(r.substring(0,r.length-1)):r.substr(~e+1)}var be=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ie=class{static hasCaptures(r){return r===null?!1:(be.lastIndex=0,be.test(r))}static replaceCaptures(r,e,t){return r.replace(be,(n,i,s,a)=>{let c=t[parseInt(i||s,10)];if(c){let o=e.substring(c.start,c.end);for(;o[0]===".";)o=o.substring(1);switch(a){case"downcase":return o.toLowerCase();case"upcase":return o.toUpperCase();default:return o}}else return n})}};function Et(r,e){return r<e?-1:r>e?1:0}function yt(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,n=e.length;if(t===n){for(let i=0;i<t;i++){let s=Et(r[i],e[i]);if(s!==0)return s}return 0}return t-n}function Qe(r){return!!(/^#[0-9a-f]{6}$/i.test(r)||/^#[0-9a-f]{8}$/i.test(r)||/^#[0-9a-f]{3}$/i.test(r)||/^#[0-9a-f]{4}$/i.test(r))}function Rt(r){return r.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Tt=class{constructor(r){p(this,"cache",new Map);this.fn=r}get(r){if(this.cache.has(r))return this.cache.get(r);const e=this.fn(r);return this.cache.set(r,e),e}},le=class{constructor(r,e,t){p(this,"_cachedMatchRoot",new Tt(r=>this._root.match(r)));this._colorMap=r,this._defaults=e,this._root=t}static createFromRawTheme(r,e){return this.createFromParsedTheme(On(r),e)}static createFromParsedTheme(r,e){return Cn(r,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(r){if(r===null)return this._defaults;const e=r.scopeName,n=this._cachedMatchRoot.get(e).find(i=>In(r.parent,i.parentScopes));return n?new At(n.fontStyle,n.foreground,n.background):null}},Ie=class oe{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const n of t)e=new oe(e,n);return e}static from(...e){let t=null;for(let n=0;n<e.length;n++)t=new oe(t,e[n]);return t}push(e){return new oe(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function In(r,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let n=e[t],i=!1;if(n===">"){if(t===e.length-1)return!1;n=e[++t],i=!0}for(;r&&!Sn(r.scopeName,n);){if(i)return!1;r=r.parent}if(!r)return!1;r=r.parent}return!0}function Sn(r,e){return e===r||r.startsWith(e)&&r[e.length]==="."}var At=class{constructor(r,e,t){this.fontStyle=r,this.foregroundId=e,this.backgroundId=t}};function On(r){if(!r)return[];if(!r.settings||!Array.isArray(r.settings))return[];let e=r.settings,t=[],n=0;for(let i=0,s=e.length;i<s;i++){let a=e[i];if(!a.settings)continue;let c;if(typeof a.scope=="string"){let m=a.scope;m=m.replace(/^[,]+/,""),m=m.replace(/[,]+$/,""),c=m.split(",")}else Array.isArray(a.scope)?c=a.scope:c=[""];let o=-1;if(typeof a.settings.fontStyle=="string"){o=0;let m=a.settings.fontStyle.split(" ");for(let f=0,h=m.length;f<h;f++)switch(m[f]){case"italic":o=o|1;break;case"bold":o=o|2;break;case"underline":o=o|4;break;case"strikethrough":o=o|8;break}}let u=null;typeof a.settings.foreground=="string"&&Qe(a.settings.foreground)&&(u=a.settings.foreground);let d=null;typeof a.settings.background=="string"&&Qe(a.settings.background)&&(d=a.settings.background);for(let m=0,f=c.length;m<f;m++){let _=c[m].trim().split(" "),T=_[_.length-1],E=null;_.length>1&&(E=_.slice(0,_.length-1),E.reverse()),t[n++]=new wn(T,E,i,o,u,d)}}return t}var wn=class{constructor(r,e,t,n,i,s){this.scope=r,this.parentScopes=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=s}},M=(r=>(r[r.NotSet=-1]="NotSet",r[r.None=0]="None",r[r.Italic=1]="Italic",r[r.Bold=2]="Bold",r[r.Underline=4]="Underline",r[r.Strikethrough=8]="Strikethrough",r))(M||{});function Cn(r,e){r.sort((o,u)=>{let d=Et(o.scope,u.scope);return d!==0||(d=yt(o.parentScopes,u.parentScopes),d!==0)?d:o.index-u.index});let t=0,n="#000000",i="#ffffff";for(;r.length>=1&&r[0].scope==="";){let o=r.shift();o.fontStyle!==-1&&(t=o.fontStyle),o.foreground!==null&&(n=o.foreground),o.background!==null&&(i=o.background)}let s=new kn(e),a=new At(t,s.getId(n),s.getId(i)),c=new Nn(new ke(0,null,-1,0,0),[]);for(let o=0,u=r.length;o<u;o++){let d=r[o];c.insert(0,d.scope,d.parentScopes,d.fontStyle,s.getId(d.foreground),s.getId(d.background))}return new le(s,a,c)}var kn=class{constructor(r){p(this,"_isFrozen");p(this,"_lastColorId");p(this,"_id2color");p(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(r)){this._isFrozen=!0;for(let e=0,t=r.length;e<t;e++)this._color2id[r[e]]=e,this._id2color[e]=r[e]}else this._isFrozen=!1}getId(r){if(r===null)return 0;r=r.toUpperCase();let e=this._color2id[r];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${r}`);return e=++this._lastColorId,this._color2id[r]=e,this._id2color[e]=r,e}getColorMap(){return this._id2color.slice(0)}},Dn=Object.freeze([]),ke=class Lt{constructor(e,t,n,i,s){p(this,"scopeDepth");p(this,"parentScopes");p(this,"fontStyle");p(this,"foreground");p(this,"background");this.scopeDepth=e,this.parentScopes=t||Dn,this.fontStyle=n,this.foreground=i,this.background=s}clone(){return new Lt(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,i=e.length;n<i;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,i){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),i!==0&&(this.background=i)}},Nn=class De{constructor(e,t=[],n={}){p(this,"_rulesWithParentScopes");this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,i=0;for(;e.parentScopes[n]===">"&&n++,t.parentScopes[i]===">"&&i++,!(n>=e.parentScopes.length||i>=t.parentScopes.length);){const s=t.parentScopes[i].length-e.parentScopes[n].length;if(s!==0)return s;n++,i++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let n=e.indexOf("."),i,s;if(n===-1?(i=e,s=""):(i=e.substring(0,n),s=e.substring(n+1)),this._children.hasOwnProperty(i))return this._children[i].match(s)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(De._cmpBySpecificity),t}insert(e,t,n,i,s,a){if(t===""){this._doInsertHere(e,n,i,s,a);return}let c=t.indexOf("."),o,u;c===-1?(o=t,u=""):(o=t.substring(0,c),u=t.substring(c+1));let d;this._children.hasOwnProperty(o)?d=this._children[o]:(d=new De(this._mainRule.clone(),ke.cloneArr(this._rulesWithParentScopes)),this._children[o]=d),d.insert(e+1,u,n,i,s,a)}_doInsertHere(e,t,n,i,s){if(t===null){this._mainRule.acceptOverwrite(e,n,i,s);return}for(let a=0,c=this._rulesWithParentScopes.length;a<c;a++){let o=this._rulesWithParentScopes[a];if(yt(o.parentScopes,t)===0){o.acceptOverwrite(e,n,i,s);return}}n===-1&&(n=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new ke(e,t,n,i,s))}},H=class k{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=k.getLanguageId(e),n=k.getTokenType(e),i=k.getFontStyle(e),s=k.getForeground(e),a=k.getBackground(e);console.log({languageId:t,tokenType:n,fontStyle:i,foreground:s,background:a})}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,t,n,i,s,a,c){let o=k.getLanguageId(e),u=k.getTokenType(e),d=k.containsBalancedBrackets(e)?1:0,m=k.getFontStyle(e),f=k.getForeground(e),h=k.getBackground(e);return t!==0&&(o=t),n!==8&&(u=n),i!==null&&(d=i?1:0),s!==-1&&(m=s),a!==0&&(f=a),c!==0&&(h=c),(o<<0|u<<8|d<<10|m<<11|f<<15|h<<24)>>>0}};function ue(r,e){const t=[],n=Vn(r);let i=n.next();for(;i!==null;){let o=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":o=1;break;case"L":o=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=n.next()}let u=a();if(t.push({matcher:u,priority:o}),i!==",")break;i=n.next()}return t;function s(){if(i==="-"){i=n.next();const o=s();return u=>!!o&&!o(u)}if(i==="("){i=n.next();const o=c();return i===")"&&(i=n.next()),o}if(Xe(i)){const o=[];do o.push(i),i=n.next();while(Xe(i));return u=>e(o,u)}return null}function a(){const o=[];let u=s();for(;u;)o.push(u),u=s();return d=>o.every(m=>m(d))}function c(){const o=[];let u=a();for(;u&&(o.push(u),i==="|"||i===",");){do i=n.next();while(i==="|"||i===",");u=a()}return d=>o.some(m=>m(d))}}function Xe(r){return!!r&&!!r.match(/[\w\.:]+/)}function Vn(r){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(r);return{next:()=>{if(!t)return null;const n=t[0];return t=e.exec(r),n}}}function Pt(r){typeof r.dispose=="function"&&r.dispose()}var Q=class{constructor(r){this.scopeName=r}toKey(){return this.scopeName}},vn=class{constructor(r,e){this.scopeName=r,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},xn=class{constructor(){p(this,"_references",[]);p(this,"_seenReferenceKeys",new Set);p(this,"visitedRule",new Set)}get references(){return this._references}add(r){const e=r.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(r))}},Gn=class{constructor(r,e){p(this,"seenFullScopeRequests",new Set);p(this,"seenPartialScopeRequests",new Set);p(this,"Q");this.repo=r,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Q(this.initialScopeName)]}processQueue(){const r=this.Q;this.Q=[];const e=new xn;for(const t of r)Mn(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof Q){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function Mn(r,e,t,n){const i=t.lookup(r.scopeName);if(!i){if(r.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const s=t.lookup(e);r instanceof Q?ce({baseGrammar:s,selfGrammar:i},n):Ne(r.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},n);const a=t.injections(r.scopeName);if(a)for(const c of a)n.add(new Q(c))}function Ne(r,e,t){if(e.repository&&e.repository[r]){const n=e.repository[r];de([n],e,t)}}function ce(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&de(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&de(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function de(r,e,t){for(const n of r){if(t.visitedRule.has(n))continue;t.visitedRule.add(n);const i=n.repository?_t({},e.repository,n.repository):e.repository;Array.isArray(n.patterns)&&de(n.patterns,{...e,repository:i},t);const s=n.include;if(!s)continue;const a=bt(s);switch(a.kind){case 0:ce({...e,selfGrammar:e.baseGrammar},t);break;case 1:ce(e,t);break;case 2:Ne(a.ruleName,{...e,repository:i},t);break;case 3:case 4:const c=a.scopeName===e.selfGrammar.scopeName?e.selfGrammar:a.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(c){const o={baseGrammar:e.baseGrammar,selfGrammar:c,repository:i};a.kind===4?Ne(a.ruleName,o,t):ce(o,t)}else a.kind===4?t.add(new vn(a.scopeName,a.ruleName)):t.add(new Q(a.scopeName));break}}}var Bn=class{constructor(){p(this,"kind",0)}},jn=class{constructor(){p(this,"kind",1)}},$n=class{constructor(r){p(this,"kind",2);this.ruleName=r}},Wn=class{constructor(r){p(this,"kind",3);this.scopeName=r}},Un=class{constructor(r,e){p(this,"kind",4);this.scopeName=r,this.ruleName=e}};function bt(r){if(r==="$base")return new Bn;if(r==="$self")return new jn;const e=r.indexOf("#");if(e===-1)return new Wn(r);if(e===0)return new $n(r.substring(1));{const t=r.substring(0,e),n=r.substring(e+1);return new Un(t,n)}}var Hn=/\\(\d+)/,Ye=/\\(\d+)/g,Fn=-1,It=-2;var te=class{constructor(r,e,t,n){p(this,"$location");p(this,"id");p(this,"_nameIsCapturing");p(this,"_name");p(this,"_contentNameIsCapturing");p(this,"_contentName");this.$location=r,this.id=e,this._name=t||null,this._nameIsCapturing=ie.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=ie.hasCaptures(this._contentName)}get debugName(){const r=this.$location?`${gt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${r}`}getName(r,e){return!this._nameIsCapturing||this._name===null||r===null||e===null?this._name:ie.replaceCaptures(this._name,r,e)}getContentName(r,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ie.replaceCaptures(this._contentName,r,e)}},qn=class extends te{constructor(e,t,n,i,s){super(e,t,n,i);p(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,i){throw new Error("Not supported!")}},zn=class extends te{constructor(e,t,n,i,s){super(e,t,n,null);p(this,"_match");p(this,"captures");p(this,"_cachedCompiledPatterns");this._match=new X(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Y,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ze=class extends te{constructor(e,t,n,i,s){super(e,t,n,i);p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Y,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ve=class extends te{constructor(e,t,n,i,s,a,c,o,u,d){super(e,t,n,i);p(this,"_begin");p(this,"beginCaptures");p(this,"_end");p(this,"endHasBackReferences");p(this,"endCaptures");p(this,"applyEndPatternLast");p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");this._begin=new X(s,this.id),this.beginCaptures=a,this._end=new X(c||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=u||!1,this.patterns=d.patterns,this.hasMissingPatterns=d.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(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,i)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Y;for(const n of this.patterns)e.getRule(n).collectPatterns(e,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,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},me=class extends te{constructor(e,t,n,i,s,a,c,o,u){super(e,t,n,i);p(this,"_begin");p(this,"beginCaptures");p(this,"whileCaptures");p(this,"_while");p(this,"whileHasBackReferences");p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");p(this,"_cachedCompiledWhilePatterns");this._begin=new X(s,this.id),this.beginCaptures=a,this.whileCaptures=o,this._while=new X(c,It),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Y;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,i){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,i)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Y,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},St=class O{static createCaptureRule(e,t,n,i,s){return e.registerRule(a=>new qn(t,a,n,i,s))}static getCompiledRuleId(e,t,n){return e.id||t.registerRule(i=>{if(e.id=i,e.match)return new zn(e.$vscodeTextmateLocation,e.id,e.name,e.match,O._compileCaptures(e.captures,t,n));if(typeof e.begin>"u"){e.repository&&(n=_t({},n,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new Ze(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,O._compilePatterns(s,t,n))}return e.while?new me(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,n),e.while,O._compileCaptures(e.whileCaptures||e.captures,t,n),O._compilePatterns(e.patterns,t,n)):new Ve(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,n),e.end,O._compileCaptures(e.endCaptures||e.captures,t,n),e.applyEndPatternLast,O._compilePatterns(e.patterns,t,n))}),e.id}static _compileCaptures(e,t,n){let i=[];if(e){let s=0;for(const a in e){if(a==="$vscodeTextmateLocation")continue;const c=parseInt(a,10);c>s&&(s=c)}for(let a=0;a<=s;a++)i[a]=null;for(const a in e){if(a==="$vscodeTextmateLocation")continue;const c=parseInt(a,10);let o=0;e[a].patterns&&(o=O.getCompiledRuleId(e[a],t,n)),i[c]=O.createCaptureRule(t,e[a].$vscodeTextmateLocation,e[a].name,e[a].contentName,o)}}return i}static _compilePatterns(e,t,n){let i=[];if(e)for(let s=0,a=e.length;s<a;s++){const c=e[s];let o=-1;if(c.include){const u=bt(c.include);switch(u.kind){case 0:case 1:o=O.getCompiledRuleId(n[c.include],t,n);break;case 2:let d=n[u.ruleName];d&&(o=O.getCompiledRuleId(d,t,n));break;case 3:case 4:const m=u.scopeName,f=u.kind===4?u.ruleName:null,h=t.getExternalGrammar(m,n);if(h)if(f){let _=h.repository[f];_&&(o=O.getCompiledRuleId(_,t,h.repository))}else o=O.getCompiledRuleId(h.repository.$self,t,h.repository);break}}else o=O.getCompiledRuleId(c,t,n);if(o!==-1){const u=t.getRule(o);let d=!1;if((u instanceof Ze||u instanceof Ve||u instanceof me)&&u.hasMissingPatterns&&u.patterns.length===0&&(d=!0),d)continue;i.push(o)}}return{patterns:i,hasMissingPatterns:(e?e.length:0)!==i.length}}},X=class Ot{constructor(e,t){p(this,"source");p(this,"ruleId");p(this,"hasAnchor");p(this,"hasBackReferences");p(this,"_anchorCache");if(e&&typeof e=="string"){const n=e.length;let i=0,s=[],a=!1;for(let c=0;c<n;c++)if(e.charAt(c)==="\\"&&c+1<n){const u=e.charAt(c+1);u==="z"?(s.push(e.substring(i,c)),s.push("$(?!\\n)(?<!\\n)"),i=c+2):(u==="A"||u==="G")&&(a=!0),c++}this.hasAnchor=a,i===0?this.source=e:(s.push(e.substring(i,n)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,typeof this.source=="string"?this.hasBackReferences=Hn.test(this.source):this.hasBackReferences=!1}clone(){return new Ot(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let n=t.map(i=>e.substring(i.start,i.end));return Ye.lastIndex=0,this.source.replace(Ye,(i,s)=>Rt(n[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],t=[],n=[],i=[],s,a,c,o;for(s=0,a=this.source.length;s<a;s++)c=this.source.charAt(s),e[s]=c,t[s]=c,n[s]=c,i[s]=c,c==="\\"&&s+1<a&&(o=this.source.charAt(s+1),o==="A"?(e[s+1]="",t[s+1]="",n[s+1]="A",i[s+1]="A"):o==="G"?(e[s+1]="",t[s+1]="G",n[s+1]="",i[s+1]="G"):(e[s+1]=o,t[s+1]=o,n[s+1]=o,i[s+1]=o),s++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:n.join(""),A1_G1:i.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Y=class{constructor(){p(this,"_items");p(this,"_hasAnchors");p(this,"_cached");p(this,"_anchorCache");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(r){this._items.push(r),this._hasAnchors=this._hasAnchors||r.hasAnchor}unshift(r){this._items.unshift(r),this._hasAnchors=this._hasAnchors||r.hasAnchor}length(){return this._items.length}setSource(r,e){this._items[r].source!==e&&(this._disposeCaches(),this._items[r].setSource(e))}compile(r){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new et(r,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(r,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(r,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(r,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(r,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(r,e,t)),this._anchorCache.A0_G0):this.compile(r)}_resolveAnchors(r,e,t){let n=this._items.map(i=>i.resolveAnchors(e,t));return new et(r,n,this._items.map(i=>i.ruleId))}},et=class{constructor(r,e,t){p(this,"scanner");this.regExps=e,this.rules=t,this.scanner=r.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const r=[];for(let e=0,t=this.rules.length;e<t;e++)r.push(" - "+this.rules[e]+": "+this.regExps[e]);return r.join(`
|
|
3
3
|
`)}findNextMatchSync(r,e,t){const n=this.scanner.findNextMatchSync(r,e,t);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},Se=class{constructor(r,e){this.languageId=r,this.tokenType=e}},G,Jn=(G=class{constructor(e,t){p(this,"_defaultAttributes");p(this,"_embeddedLanguagesMatcher");p(this,"_getBasicScopeAttributes",new Tt(e=>{const t=this._scopeToLanguage(e),n=this._toStandardTokenType(e);return new Se(t,n)}));this._defaultAttributes=new Se(e,8),this._embeddedLanguagesMatcher=new Kn(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?G._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(G.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[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!")}},p(G,"_NULL_SCOPE_METADATA",new Se(0,0)),p(G,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),G),Kn=class{constructor(r){p(this,"values");p(this,"scopesRegExp");if(r.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(r);const e=r.map(([t,n])=>Rt(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(r){if(!this.scopesRegExp)return;const e=r.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},tt=class{constructor(r,e){this.stack=r,this.stoppedEarly=e}};function wt(r,e,t,n,i,s,a,c){const o=e.content.length;let u=!1,d=-1;if(a){const h=Qn(r,e,t,n,i,s);i=h.stack,n=h.linePos,t=h.isFirstLine,d=h.anchorPosition}const m=Date.now();for(;!u;){if(c!==0&&Date.now()-m>c)return new tt(i,!0);f()}return new tt(i,!1);function f(){const h=Xn(r,e,t,n,i,d);if(!h){s.produce(i,o),u=!0;return}const _=h.captureIndices,T=h.matchedRuleId,E=_&&_.length>0?_[0].end>n:!1;if(T===Fn){const g=i.getRule(r);s.produce(i,_[0].start),i=i.withContentNameScopesList(i.nameScopesList),J(r,e,t,i,s,g.endCaptures,_),s.produce(i,_[0].end);const y=i;if(i=i.parent,d=y.getAnchorPos(),!E&&y.getEnterPos()===n){i=y,s.produce(i,o),u=!0;return}}else{const g=r.getRule(T);s.produce(i,_[0].start);const y=i,R=g.getName(e.content,_),A=i.contentNameScopesList.pushAttributed(R,r);if(i=i.push(T,n,d,_[0].end===o,null,A,A),g instanceof Ve){const L=g;J(r,e,t,i,s,L.beginCaptures,_),s.produce(i,_[0].end),d=_[0].end;const C=L.getContentName(e.content,_),P=A.pushAttributed(C,r);if(i=i.withContentNameScopesList(P),L.endHasBackReferences&&(i=i.withEndRule(L.getEndWithResolvedBackReferences(e.content,_))),!E&&y.hasSameRuleAs(i)){i=i.pop(),s.produce(i,o),u=!0;return}}else if(g instanceof me){const L=g;J(r,e,t,i,s,L.beginCaptures,_),s.produce(i,_[0].end),d=_[0].end;const C=L.getContentName(e.content,_),P=A.pushAttributed(C,r);if(i=i.withContentNameScopesList(P),L.whileHasBackReferences&&(i=i.withEndRule(L.getWhileWithResolvedBackReferences(e.content,_))),!E&&y.hasSameRuleAs(i)){i=i.pop(),s.produce(i,o),u=!0;return}}else if(J(r,e,t,i,s,g.captures,_),s.produce(i,_[0].end),i=i.pop(),!E){i=i.safePop(),s.produce(i,o),u=!0;return}}_[0].end>n&&(n=_[0].end,t=!1)}}function Qn(r,e,t,n,i,s){let a=i.beginRuleCapturedEOL?0:-1;const c=[];for(let o=i;o;o=o.pop()){const u=o.getRule(r);u instanceof me&&c.push({rule:u,stack:o})}for(let o=c.pop();o;o=c.pop()){const{ruleScanner:u,findOptions:d}=er(o.rule,r,o.stack.endRule,t,n===a),m=u.findNextMatchSync(e,n,d);if(m){if(m.ruleId!==It){i=o.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(s.produce(o.stack,m.captureIndices[0].start),J(r,e,t,o.stack,s,o.rule.whileCaptures,m.captureIndices),s.produce(o.stack,m.captureIndices[0].end),a=m.captureIndices[0].end,m.captureIndices[0].end>n&&(n=m.captureIndices[0].end,t=!1))}else{i=o.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:a,isFirstLine:t}}function Xn(r,e,t,n,i,s){const a=Yn(r,e,t,n,i,s),c=r.getInjections();if(c.length===0)return a;const o=Zn(c,r,e,t,n,i,s);if(!o)return a;if(!a)return o;const u=a.captureIndices[0].start,d=o.captureIndices[0].start;return d<u||o.priorityMatch&&d===u?o:a}function Yn(r,e,t,n,i,s){const a=i.getRule(r),{ruleScanner:c,findOptions:o}=Ct(a,r,i.endRule,t,n===s),u=c.findNextMatchSync(e,n,o);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function Zn(r,e,t,n,i,s,a){let c=Number.MAX_VALUE,o=null,u,d=0;const m=s.contentNameScopesList.getScopeNames();for(let f=0,h=r.length;f<h;f++){const _=r[f];if(!_.matcher(m))continue;const T=e.getRule(_.ruleId),{ruleScanner:E,findOptions:g}=Ct(T,e,null,n,i===a),y=E.findNextMatchSync(t,i,g);if(!y)continue;const R=y.captureIndices[0].start;if(!(R>=c)&&(c=R,o=y.captureIndices,u=y.ruleId,d=_.priority,c===i))break}return o?{priorityMatch:d===-1,captureIndices:o,matchedRuleId:u}:null}function Ct(r,e,t,n,i){return{ruleScanner:r.compileAG(e,t,n,i),findOptions:0}}function er(r,e,t,n,i){return{ruleScanner:r.compileWhileAG(e,t,n,i),findOptions:0}}function J(r,e,t,n,i,s,a){if(s.length===0)return;const c=e.content,o=Math.min(s.length,a.length),u=[],d=a[0].end;for(let m=0;m<o;m++){const f=s[m];if(f===null)continue;const h=a[m];if(h.length===0)continue;if(h.start>d)break;for(;u.length>0&&u[u.length-1].endPos<=h.start;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?i.produceFromScopes(u[u.length-1].scopes,h.start):i.produce(n,h.start),f.retokenizeCapturedWithRuleId){const T=f.getName(c,a),E=n.contentNameScopesList.pushAttributed(T,r),g=f.getContentName(c,a),y=E.pushAttributed(g,r),R=n.push(f.retokenizeCapturedWithRuleId,h.start,-1,!1,null,E,y),A=r.createOnigString(c.substring(0,h.end));wt(r,A,t&&h.start===0,h.start,R,i,!1,0),Pt(A);continue}const _=f.getName(c,a);if(_!==null){const E=(u.length>0?u[u.length-1].scopes:n.contentNameScopesList).pushAttributed(_,r);u.push(new tr(E,h.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var tr=class{constructor(r,e){p(this,"scopes");p(this,"endPos");this.scopes=r,this.endPos=e}};function nr(r,e,t,n,i,s,a,c){return new ir(r,e,t,n,i,s,a,c)}function nt(r,e,t,n,i){const s=ue(e,he),a=St.getCompiledRuleId(t,n,i.repository);for(const c of s)r.push({debugSelector:e,matcher:c.matcher,ruleId:a,grammar:i,priority:c.priority})}function he(r,e){if(e.length<r.length)return!1;let t=0;return r.every(n=>{for(let i=t;i<e.length;i++)if(rr(e[i],n))return t=i+1,!0;return!1})}function rr(r,e){if(!r)return!1;if(r===e)return!0;const t=e.length;return r.length>t&&r.substr(0,t)===e&&r[t]==="."}var ir=class{constructor(r,e,t,n,i,s,a,c){p(this,"_rootId");p(this,"_lastRuleId");p(this,"_ruleId2desc");p(this,"_includedGrammars");p(this,"_grammarRepository");p(this,"_grammar");p(this,"_injections");p(this,"_basicScopeAttributesProvider");p(this,"_tokenTypeMatchers");if(this._rootScopeName=r,this.balancedBracketSelectors=s,this._onigLib=c,this._basicScopeAttributesProvider=new Jn(t,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=rt(e,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const o of Object.keys(i)){const u=ue(o,he);for(const d of u)this._tokenTypeMatchers.push({matcher:d.matcher,type:i[o]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const r of this._ruleId2desc)r&&r.dispose()}createOnigScanner(r){return this._onigLib.createOnigScanner(r)}createOnigString(r){return this._onigLib.createOnigString(r)}getMetadataForScope(r){return this._basicScopeAttributesProvider.getBasicScopeAttributes(r)}_collectInjections(){const r={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},e=[],t=this._rootScopeName,n=r.lookup(t);if(n){const i=n.injections;if(i)for(let a in i)nt(e,a,i[a],this,n);const s=this._grammarRepository.injections(t);s&&s.forEach(a=>{const c=this.getExternalGrammar(a);if(c){const o=c.injectionSelector;o&&nt(e,o,c,this,c)}})}return e.sort((i,s)=>i.priority-s.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(r){const e=++this._lastRuleId,t=r(e);return this._ruleId2desc[e]=t,t}getRule(r){return this._ruleId2desc[r]}getExternalGrammar(r,e){if(this._includedGrammars[r])return this._includedGrammars[r];if(this._grammarRepository){const t=this._grammarRepository.lookup(r);if(t)return this._includedGrammars[r]=rt(t,e&&e.$base),this._includedGrammars[r]}}tokenizeLine(r,e,t=0){const n=this._tokenize(r,e,!1,t);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(r,e,t=0){const n=this._tokenize(r,e,!0,t);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(r,e,t,n){this._rootId===-1&&(this._rootId=St.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!e||e===ve.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),d=this.themeProvider.getDefaults(),m=H.set(0,u.languageId,u.tokenType,null,d.fontStyle,d.foregroundId,d.backgroundId),f=this.getRule(this._rootId).getName(null,null);let h;f?h=K.createRootAndLookUpScopeName(f,m,this):h=K.createRoot("unknown",m),e=new ve(null,this._rootId,-1,-1,!1,null,h,h)}else i=!1,e.reset();r=r+`
|
|
4
4
|
`;const s=this.createOnigString(r),a=s.content.length,c=new ar(t,r,this._tokenTypeMatchers,this.balancedBracketSelectors),o=wt(this,s,i,0,e,c,!0,n);return Pt(s),{lineLength:a,lineTokens:c,ruleStack:o.stack,stoppedEarly:o.stoppedEarly}}};function rt(r,e){return r=Ln(r),r.repository=r.repository||{},r.repository.$self={$vscodeTextmateLocation:r.$vscodeTextmateLocation,patterns:r.patterns,name:r.scopeName},r.repository.$base=e||r.repository.$self,r}var K=class V{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(e,t){let n=e,i=(e==null?void 0:e.scopePath)??null;for(const s of t)i=Ie.push(i,s.scopeNames),n=new V(n,i,s.encodedTokenAttributes);return n}static createRoot(e,t){return new V(null,new Ie(null,e),t)}static createRootAndLookUpScopeName(e,t,n){const i=n.getMetadataForScope(e),s=new Ie(null,e),a=n.themeProvider.themeMatch(s),c=V.mergeAttributes(t,i,a);return new V(null,s,c)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return V.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,n){let i=-1,s=0,a=0;return n!==null&&(i=n.fontStyle,s=n.foregroundId,a=n.backgroundId),H.set(e,t.languageId,t.tokenType,null,i,s,a)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return V._pushAttributed(this,e,t);const n=e.split(/ /g);let i=this;for(const s of n)i=V._pushAttributed(i,s,t);return i}static _pushAttributed(e,t,n){const i=n.getMetadataForScope(t),s=e.scopePath.push(t),a=n.themeProvider.themeMatch(s),c=V.mergeAttributes(e.tokenAttributes,i,a);return new V(e,s,c)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var i;const t=[];let n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(((i=n.parent)==null?void 0:i.scopePath)??null)}),n=n.parent;return n===e?t.reverse():void 0}},D,ve=(D=class{constructor(e,t,n,i,s,a,c,o){p(this,"_stackElementBrand");p(this,"_enterPos");p(this,"_anchorPos");p(this,"depth");this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=s,this.endRule=a,this.nameScopesList=c,this.contentNameScopesList=o,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=i}equals(e){return e===null?!1:D._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?K.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){D._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,n,i,s,a,c){return new D(this,e,t,n,i,s,a,c)}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,t){var n,i;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(i=this.contentNameScopesList)==null?void 0:i.toString()})`,t}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 D(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,n;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((n=this.contentNameScopesList)==null?void 0:n.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const n=K.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new D(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,n,K.fromExtension(n,t.contentNameScopesList))}},p(D,"NULL",new D(null,0,0,0,!1,null,null,null)),D),sr=class{constructor(r,e){p(this,"balancedBracketScopes");p(this,"unbalancedBracketScopes");p(this,"allowAny",!1);this.balancedBracketScopes=r.flatMap(t=>t==="*"?(this.allowAny=!0,[]):ue(t,he).map(n=>n.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>ue(t,he).map(n=>n.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(r){for(const e of this.unbalancedBracketScopes)if(e(r))return!1;for(const e of this.balancedBracketScopes)if(e(r))return!0;return this.allowAny}},ar=class{constructor(r,e,t,n){p(this,"_emitBinaryTokens");p(this,"_lineText");p(this,"_tokens");p(this,"_binaryTokens");p(this,"_lastTokenEndIndex");p(this,"_tokenTypeOverrides");this.balancedBracketSelectors=n,this._emitBinaryTokens=r,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(r,e){this.produceFromScopes(r.contentNameScopesList,e)}produceFromScopes(r,e){var n;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let i=(r==null?void 0:r.tokenAttributes)??0,s=!1;if((n=this.balancedBracketSelectors)!=null&&n.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const a=(r==null?void 0:r.getScopeNames())??[];for(const c of this._tokenTypeOverrides)c.matcher(a)&&(i=H.set(i,0,c.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(a))}if(s&&(i=H.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=e;return}const t=(r==null?void 0:r.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(r,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(r,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(r,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(r,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let n=0,i=this._binaryTokens.length;n<i;n++)t[n]=this._binaryTokens[n];return t}},or=class{constructor(r,e){p(this,"_grammars",new Map);p(this,"_rawGrammars",new Map);p(this,"_injectionGrammars",new Map);p(this,"_theme");this._onigLib=e,this._theme=r}dispose(){for(const r of this._grammars.values())r.dispose()}setTheme(r){this._theme=r}getColorMap(){return this._theme.getColorMap()}addGrammar(r,e){this._rawGrammars.set(r.scopeName,r),e&&this._injectionGrammars.set(r.scopeName,e)}lookup(r){return this._rawGrammars.get(r)}injections(r){return this._injectionGrammars.get(r)}getDefaults(){return this._theme.getDefaults()}themeMatch(r){return this._theme.match(r)}grammarForScopeName(r,e,t,n,i){if(!this._grammars.has(r)){let s=this._rawGrammars.get(r);if(!s)return null;this._grammars.set(r,nr(r,s,e,t,n,i,this,this._onigLib))}return this._grammars.get(r)}},cr=class{constructor(e){p(this,"_options");p(this,"_syncRegistry");p(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new or(le.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(le.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new sr(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,i,s){const a=new Gn(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(c=>this._loadSingleGrammar(c.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,i,s)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const n=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,i=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,i)}_grammarForScopeName(e,t=0,n=null,i=null,s=null){return this._syncRegistry.grammarForScopeName(e,t,n,i,s)}},xe=ve.NULL;const lr=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],ur=/["&'<>`]/g,dr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mr=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,hr=/[|\\{}()[\]^$+*?.]/g,it=new WeakMap;function fr(r,e){if(r=r.replace(e.subset?pr(e.subset):ur,n),e.subset||e.escapeOnly)return r;return r.replace(dr,t).replace(mr,n);function t(i,s,a){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(s+2),e)}function n(i,s,a){return e.format(i.charCodeAt(0),a.charCodeAt(s+1),e)}}function pr(r){let e=it.get(r);return e||(e=_r(r),it.set(r,e)),e}function _r(r){const e=[];let t=-1;for(;++t<r.length;)e.push(r[t].replace(hr,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const gr=/[\dA-Fa-f]/;function Er(r,e,t){const n="&#x"+r.toString(16).toUpperCase();return t&&e&&!gr.test(String.fromCharCode(e))?n:n+";"}const yr=/\d/;function Rr(r,e,t){const n="&#"+String(r);return t&&e&&!yr.test(String.fromCharCode(e))?n:n+";"}const Tr=["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"],Oe={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:"€"},Ar=["cent","copy","divide","gt","lt","not","para","times"],kt={}.hasOwnProperty,Ge={};let se;for(se in Oe)kt.call(Oe,se)&&(Ge[Oe[se]]=se);const Lr=/[^\dA-Za-z]/;function Pr(r,e,t,n){const i=String.fromCharCode(r);if(kt.call(Ge,i)){const s=Ge[i],a="&"+s;return t&&Tr.includes(s)&&!Ar.includes(s)&&(!n||e&&e!==61&&Lr.test(String.fromCharCode(e)))?a:a+";"}return""}function br(r,e,t){let n=Er(r,e,t.omitOptionalSemicolons),i;if((t.useNamedReferences||t.useShortestReferences)&&(i=Pr(r,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!i)&&t.useShortestReferences){const s=Rr(r,e,t.omitOptionalSemicolons);s.length<n.length&&(n=s)}return i&&(!t.useShortestReferences||i.length<n.length)?i:n}function U(r,e){return fr(r,Object.assign({format:br},e))}const Ir=/^>|^->|<!--|-->|--!>|<!-$/g,Sr=[">"],Or=["<",">"];function wr(r,e,t,n){return n.settings.bogusComments?"<?"+U(r.value,Object.assign({},n.settings.characterReferences,{subset:Sr}))+">":"<!--"+r.value.replace(Ir,i)+"-->";function i(s){return U(s,Object.assign({},n.settings.characterReferences,{subset:Or}))}}function Cr(r,e,t,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}const I=Nt(1),Dt=Nt(-1),kr=[];function Nt(r){return e;function e(t,n,i){const s=t?t.children:kr;let a=(n||0)+r,c=s[a];if(!i)for(;c&&Me(c);)a+=r,c=s[a];return c}}const Dr={}.hasOwnProperty;function Vt(r){return e;function e(t,n,i){return Dr.call(r,t.tagName)&&r[t.tagName](t,n,i)}}const $e=Vt({body:Vr,caption:we,colgroup:we,dd:Mr,dt:Gr,head:we,html:Nr,li:xr,optgroup:Br,option:jr,p:vr,rp:st,rt:st,tbody:Wr,td:at,tfoot:Ur,th:at,thead:$r,tr:Hr});function we(r,e,t){const n=I(t,e,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&Me(n.value.charAt(0)))}function Nr(r,e,t){const n=I(t,e);return!n||n.type!=="comment"}function Vr(r,e,t){const n=I(t,e);return!n||n.type!=="comment"}function vr(r,e,t){const n=I(t,e);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function xr(r,e,t){const n=I(t,e);return!n||n.type==="element"&&n.tagName==="li"}function Gr(r,e,t){const n=I(t,e);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function Mr(r,e,t){const n=I(t,e);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function st(r,e,t){const n=I(t,e);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function Br(r,e,t){const n=I(t,e);return!n||n.type==="element"&&n.tagName==="optgroup"}function jr(r,e,t){const n=I(t,e);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function $r(r,e,t){const n=I(t,e);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function Wr(r,e,t){const n=I(t,e);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function Ur(r,e,t){return!I(t,e)}function Hr(r,e,t){const n=I(t,e);return!n||n.type==="element"&&n.tagName==="tr"}function at(r,e,t){const n=I(t,e);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const Fr=Vt({body:Jr,colgroup:Kr,head:zr,html:qr,tbody:Qr});function qr(r){const e=I(r,-1);return!e||e.type!=="comment"}function zr(r){const e=new Set;for(const n of r.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(e.has(n.tagName))return!1;e.add(n.tagName)}const t=r.children[0];return!t||t.type==="element"}function Jr(r){const e=I(r,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Me(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Kr(r,e,t){const n=Dt(t,e),i=I(r,-1,!0);return t&&n&&n.type==="element"&&n.tagName==="colgroup"&&$e(n,t.children.indexOf(n),t)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function Qr(r,e,t){const n=Dt(t,e),i=I(r,-1);return t&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&$e(n,t.children.indexOf(n),t)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const ae={name:[[`
|
|
5
5
|
\f\r &/=>`.split(""),`
|