agent-afk 5.219.0 → 5.219.2
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/cli.mjs +485 -485
- package/dist/index.mjs +1 -1
- package/dist/telegram.mjs +1 -1
- package/dist/web-ui-assets/assets/{index-C_Eu7-PU.js → index-C7ktp0DS.js} +1 -1
- package/dist/web-ui-assets/assets/{index-D0tF52Ba.js → index-Cp0j8w9U.js} +76 -76
- package/dist/web-ui-assets/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-DA-rfuFy.js","assets/html-pp8916En.js","assets/javascript-wDzz0qaB.js","assets/css-CLj8gQPS.js","assets/angular-ts-BrjP3tb8.js","assets/scss-D5BDwBP9.js","assets/apl-CORt7UWP.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/json-Cp-IABpG.js","assets/astro-HNnZUWAn.js","assets/typescript-BPQ3VLAy.js","assets/postcss-CXtECtnM.js","assets/tsx-COt5Ahok.js","assets/blade-2xfisSek.js","assets/html-derivative-DlHx6ybY.js","assets/sql-CRqJ_cUM.js","assets/bsl-DlhNcFeZ.js","assets/sdbl-DVxCFoDh.js","assets/cairo-KRGpt6FW.js","assets/python-B6aJPvgy.js","assets/chapel-DTp_pixX.js","assets/c-BIGW1oBm.js","assets/cobol-nBiQ_Alo.js","assets/coffee-Ch7k5sss.js","assets/cpp-BMRokrvK.js","assets/regexp-CDVJQ6XC.js","assets/glsl-DplSGwfg.js","assets/crystal-DGywbUpC.js","assets/shellscript-Yzrsuije.js","assets/edge-FbVlp4U3.js","assets/elixir-CkH2-t6x.js","assets/elm-DbKCFpqz.js","assets/erb-DXfck5VN.js","assets/ruby-C0TQ7zu5.js","assets/haml-D5jkg6IW.js","assets/graphql-ChdNCCLP.js","assets/jsx-g9-lgVsj.js","assets/lua-BaeVxFsk.js","assets/yaml-Buea-lGh.js","assets/erlang-DsQrWhSR.js","assets/markdown-Cvjx9yec.js","assets/fortran-fixed-form-CkoXwp7k.js","assets/fortran-free-form-BxgE0vQu.js","assets/fsharp-CXgrBDvD.js","assets/gdresource-TyuKm33G.js","assets/gdshader-DkwncUOv.js","assets/gdscript-DqcFQ5yU.js","assets/git-commit-F4YmCXRG.js","assets/diff-D97Zzqfu.js","assets/git-rebase-r7XF79zn.js","assets/glimmer-js-ByusRIyA.js","assets/glimmer-ts-BfAWNZQY.js","assets/hack-BWmVpMyf.js","assets/handlebars-BpdQsYii.js","assets/http-jrhK8wxY.js","assets/hurl-irOxFIW8.js","assets/csv-fuZLfV_i.js","assets/hxml-2-FPmUDs.js","assets/haxe-CfZj7gIn.js","assets/jinja-f2NsQr07.js","assets/jison-wvAkD_A8.js","assets/julia-5Bft2YPA.js","assets/r-Cf5RLm7j.js","assets/just-Cwhn7H3k.js","assets/perl-B9cMNwum.js","assets/latex-D5pSuvFb.js","assets/tex-D96PA37w.js","assets/liquid-C0sCDyMI.js","assets/marko-DjSrsDqO.js","assets/less-B1dDrJ26.js","assets/mdc-D1_yUvq7.js","assets/nextflow-C-mBbutL.js","assets/nextflow-groovy-vE_lwT2v.js","assets/nginx-BpAMiNFr.js","assets/nim-BIad80T-.js","assets/org-DM6o9KBp.js","assets/ini-BEwlwnbL.js","assets/make-CHLpvVh8.js","assets/php-Csjmro_R.js","assets/vb-Cu-pLBUe.js","assets/clojure-P80f7IUj.js","assets/objective-c-DXmwc3jG.js","assets/docker-BcOcwvcX.js","assets/go-C27-OAKa.js","assets/groovy-gcz8RCvz.js","assets/raku-DXvB9xmW.js","assets/rust-B1yitclQ.js","assets/scala-CqE71os6.js","assets/csharp-DSvCPggb.js","assets/dart-bE4Kk8sk.js","assets/ocaml-C0hk2d4L.js","assets/zig-VOosw3JB.js","assets/xsl-CtQFsRM5.js","assets/pug-DKIMFp6K.js","assets/qml-3beO22l8.js","assets/razor-BjBPvh-w.js","assets/rst-bs7f0vWN.js","assets/cmake-D1j8_8rp.js","assets/sas-DEy46yEz.js","assets/shaderlab-Dg9Lc6iA.js","assets/hlsl-D3lLCCz7.js","assets/shellsession-BADoaaVG.js","assets/soy-8wufbnw4.js","assets/sparql-rVzFXLq3.js","assets/turtle-BsS91CYL.js","assets/stata-DI20mbqo.js","assets/surrealql-Cjom0U5J.js","assets/svelte-Cy7k_4gC.js","assets/templ-DhtptRzy.js","assets/ts-tags-D351s5mN.js","assets/twig-27uCiNez.js","assets/typst-BUadGCkm.js","assets/bat-CickPsom.js","assets/bibtex-CHM0blh-.js","assets/jsonc-Des-eS-w.js","assets/log-2UxHyX5q.js","assets/powershell-BmBUJMz7.js","assets/swift-C2oV4EkX.js","assets/verilog-nZwndyjY.js","assets/system-verilog-0hqHdDBg.js","assets/vue-BqiEGhQt.js","assets/vue-html-AaS7Mt5G.js","assets/vue-vine-BoDAl6tE.js","assets/stylus-BEDo0Tqx.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var rr=Object.defineProperty;var ir=(r,e,t)=>e in r?rr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var _=(r,e,t)=>ir(r,typeof e!="symbol"?e+"":e,t);import{_ as a,w as Ue,s as gt,f as nr,a as sr,b as or,c as Ye,h as ar}from"./index-D0tF52Ba.js";const Xe={}.hasOwnProperty;function lr(r,e){const t=e||{};function i(n,...s){let o=i.invalid;const c=i.handlers;if(n&&Xe.call(n,r)){const l=String(n[r]);o=Xe.call(c,l)?c[l]:i.unknown}if(o)return o.call(this,n,...s)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}var ke=Object.defineProperty,cr=Object.getOwnPropertyDescriptor,ur=Object.getOwnPropertyNames,mr=Object.prototype.hasOwnProperty,dr=(r,e)=>{let t={};for(var i in r)ke(t,i,{get:r[i],enumerable:!0});return ke(t,Symbol.toStringTag,{value:"Module"}),t},hr=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(var n=ur(e),s=0,o=n.length,c;s<o;s++)c=n[s],!mr.call(r,c)&&c!==t&&ke(r,c,{get:(l=>e[l]).bind(null,c),enumerable:!(i=cr(e,c))||i.enumerable});return r},pr=(r,e,t)=>(hr(r,e,"default"),t);const Et=[{id:"abap",name:"ABAP",import:(()=>a(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",aliases:["actionscript","as3"],import:(()=>a(()=>import("./actionscript-3-B3316cI-.js"),[]))},{id:"ada",name:"Ada",import:(()=>a(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"ahk",name:"AutoHotkey",aliases:["ahk1"],import:(()=>a(()=>import("./ahk-CsyLZFj1.js"),[]))},{id:"ahk2",name:"AutoHotkey2",import:(()=>a(()=>import("./ahk2-8Zs4aa1G.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>a(()=>import("./angular-html-DA-rfuFy.js").then(r=>r.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>a(()=>import("./angular-ts-BrjP3tb8.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>a(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>a(()=>import("./apex-DhZFqWV2.js"),[]))},{id:"apl",name:"APL",import:(()=>a(()=>import("./apl-CORt7UWP.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>a(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>a(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>a(()=>import("./asciidoc-CSVQ5wI8.js"),[]))},{id:"asm",name:"Assembly",import:(()=>a(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>a(()=>import("./astro-HNnZUWAn.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>a(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>a(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch","cmd"],import:(()=>a(()=>import("./bat-CickPsom.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>a(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>a(()=>import("./berry-uYugtg8r.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>a(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>a(()=>import("./bicep-Bmn6On1c.js"),[]))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:(()=>a(()=>import("./bird2-Bx8U0n9b.js"),[]))},{id:"blade",name:"Blade",import:(()=>a(()=>import("./blade-2xfisSek.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>a(()=>import("./bsl-DlhNcFeZ.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>a(()=>import("./c-BIGW1oBm.js"),[]))},{id:"c3",name:"C3",import:(()=>a(()=>import("./c3-Dp5svz6Z.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>a(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>a(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"chapel",name:"Chapel",aliases:["chpl"],import:(()=>a(()=>import("./chapel-DTp_pixX.js"),__vite__mapDeps([21,22])))},{id:"clarity",name:"Clarity",import:(()=>a(()=>import("./clarity-Dn5IMItf.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>a(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>a(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>a(()=>import("./cobol-nBiQ_Alo.js"),__vite__mapDeps([23,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>a(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>a(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>a(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([24,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>a(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Rocq",import:(()=>a(()=>import("./coq-C7JzOVbR.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>a(()=>import("./cpp-BMRokrvK.js"),__vite__mapDeps([25,26,27,22])))},{id:"crystal",name:"Crystal",import:(()=>a(()=>import("./crystal-DGywbUpC.js"),__vite__mapDeps([28,1,2,3,16,22,29])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>a(()=>import("./csharp-DSvCPggb.js"),[]))},{id:"css",name:"CSS",import:(()=>a(()=>import("./css-CLj8gQPS.js"),[]))},{id:"csv",name:"CSV",import:(()=>a(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>a(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>a(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>a(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>a(()=>import("./dart-bE4Kk8sk.js"),[]))},{id:"dax",name:"DAX",import:(()=>a(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>a(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>a(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>a(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>a(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>a(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>a(()=>import("./edge-FbVlp4U3.js"),__vite__mapDeps([30,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>a(()=>import("./elixir-CkH2-t6x.js"),__vite__mapDeps([31,1,2,3])))},{id:"elm",name:"Elm",import:(()=>a(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([32,27,22])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>a(()=>import("./emacs-lisp-C_m_b--Z.js"),[]))},{id:"erb",name:"ERB",import:(()=>a(()=>import("./erb-DXfck5VN.js"),__vite__mapDeps([33,1,2,3,34,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>a(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([40,41])))},{id:"fennel",name:"Fennel",import:(()=>a(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>a(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>a(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>a(()=>import("./fortran-fixed-form-CkoXwp7k.js"),__vite__mapDeps([42,43])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>a(()=>import("./fortran-free-form-BxgE0vQu.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>a(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([44,41])))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:(()=>a(()=>import("./gdresource-TyuKm33G.js"),__vite__mapDeps([45,46,47])))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:(()=>a(()=>import("./gdscript-DqcFQ5yU.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>a(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>a(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>a(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>a(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([48,49])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>a(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([50,29])))},{id:"gleam",name:"Gleam",import:(()=>a(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>a(()=>import("./glimmer-js-ByusRIyA.js"),__vite__mapDeps([51,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>a(()=>import("./glimmer-ts-BfAWNZQY.js"),__vite__mapDeps([52,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>a(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([27,22])))},{id:"gn",name:"GN",import:(()=>a(()=>import("./gn-n2N0HUVH.js"),[]))},{id:"gnuplot",name:"Gnuplot",import:(()=>a(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>a(()=>import("./go-C27-OAKa.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>a(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([36,2,11,37,13])))},{id:"groovy",name:"Groovy",import:(()=>a(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>a(()=>import("./hack-BWmVpMyf.js"),__vite__mapDeps([53,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>a(()=>import("./haml-D5jkg6IW.js"),__vite__mapDeps([35,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>a(()=>import("./handlebars-BpdQsYii.js"),__vite__mapDeps([54,1,2,3,39])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>a(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>a(()=>import("./haxe-CfZj7gIn.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>a(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>a(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>a(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>a(()=>import("./html-pp8916En.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>a(()=>import("./html-derivative-DlHx6ybY.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>a(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([55,29,9,7,8,36,2,11,37,13])))},{id:"hurl",name:"Hurl",import:(()=>a(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([56,36,2,11,37,13,7,8,57])))},{id:"hxml",name:"HXML",import:(()=>a(()=>import("./hxml-2-FPmUDs.js"),__vite__mapDeps([58,59])))},{id:"hy",name:"Hy",import:(()=>a(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>a(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>a(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>a(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>a(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>a(()=>import("./jinja-f2NsQr07.js"),__vite__mapDeps([60,1,2,3])))},{id:"jison",name:"Jison",import:(()=>a(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([61,2])))},{id:"json",name:"JSON",import:(()=>a(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>a(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>a(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>a(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>a(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>a(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>a(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>a(()=>import("./julia-5Bft2YPA.js"),__vite__mapDeps([62,25,26,27,22,20,2,63,16])))},{id:"just",name:"Just",aliases:["justfile"],import:(()=>a(()=>import("./just-Cwhn7H3k.js"),__vite__mapDeps([64,29,2,11,65,1,3,7,8,16,20,34,35,36,37,13,25,26,27,22,38,39])))},{id:"kdl",name:"KDL",import:(()=>a(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>a(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>a(()=>import("./kusto-wEQ09or8.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>a(()=>import("./latex-D5pSuvFb.js"),__vite__mapDeps([66,67,63])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>a(()=>import("./lean-BZvkOJ9d.js"),[]))},{id:"less",name:"Less",import:(()=>a(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>a(()=>import("./liquid-C0sCDyMI.js"),__vite__mapDeps([68,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>a(()=>import("./llvm-BZoOZj88.js"),[]))},{id:"log",name:"Log file",import:(()=>a(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>a(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>a(()=>import("./lua-BaeVxFsk.js"),__vite__mapDeps([38,22])))},{id:"luau",name:"Luau",import:(()=>a(()=>import("./luau-BnpPk5vE.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>a(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>a(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>a(()=>import("./marko-DjSrsDqO.js"),__vite__mapDeps([69,3,70,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>a(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>a(()=>import("./mdc-D1_yUvq7.js"),__vite__mapDeps([71,41,39,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>a(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>a(()=>import("./mermaid-CQcHuHx7.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>a(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>a(()=>import("./mojo-DJz3ZmWd.js"),[]))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:(()=>a(()=>import("./moonbit-CHtswR0a.js"),[]))},{id:"move",name:"Move",import:(()=>a(()=>import("./move-el3G9tDJ.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>a(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>a(()=>import("./nextflow-C-mBbutL.js"),__vite__mapDeps([72,73])))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:(()=>a(()=>import("./nextflow-groovy-vE_lwT2v.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>a(()=>import("./nginx-BpAMiNFr.js"),__vite__mapDeps([74,38,22])))},{id:"nim",name:"Nim",import:(()=>a(()=>import("./nim-BIad80T-.js"),__vite__mapDeps([75,22,1,2,3,7,8,27,41])))},{id:"nix",name:"Nix",import:(()=>a(()=>import("./nix-CwoSXNpI.js"),[]))},{id:"nsis",name:"NSIS",import:(()=>a(()=>import("./nsis-BlV79W_Q.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>a(()=>import("./nushell-D3jzshHO.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>a(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>a(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>a(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"odin",name:"Odin",import:(()=>a(()=>import("./odin-BBf5iR-q.js"),[]))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:(()=>a(()=>import("./openscad-C4EeE6gA.js"),[]))},{id:"org",name:"Org Markup",import:(()=>a(()=>import("./org-DM6o9KBp.js"),__vite__mapDeps([76,2,11,13,8,20,26,3,38,22,77,78,65,1,7,16,63,34,35,36,37,25,27,29,39,79,9,80,81,24,82,49,83,84,85,70,5,86,87,88,89,90,75,41,31,40,91,92,93,48,50,66,67])))},{id:"pascal",name:"Pascal",import:(()=>a(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>a(()=>import("./perl-B9cMNwum.js"),__vite__mapDeps([65,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>a(()=>import("./php-Csjmro_R.js"),__vite__mapDeps([79,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>a(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>a(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>a(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>a(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>a(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>a(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1","pwsh"],import:(()=>a(()=>import("./powershell-BmBUJMz7.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>a(()=>import("./prisma-Vru482bI.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>a(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>a(()=>import("./proto-C7zT0LnQ.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>a(()=>import("./pug-DKIMFp6K.js"),__vite__mapDeps([94,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>a(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>a(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>a(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>a(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([95,2])))},{id:"qmldir",name:"QML Directory",import:(()=>a(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>a(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>a(()=>import("./r-Cf5RLm7j.js"),[]))},{id:"racket",name:"Racket",import:(()=>a(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>a(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>a(()=>import("./razor-BjBPvh-w.js"),__vite__mapDeps([96,1,2,3,89])))},{id:"rbs",name:"RBS",aliases:["ruby-signature"],import:(()=>a(()=>import("./rbs-CpoqiR4B.js"),[]))},{id:"reg",name:"Windows Registry Script",import:(()=>a(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>a(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>a(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>a(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"ron",name:"RON",import:(()=>a(()=>import("./ron-D8l8udqQ.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>a(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>a(()=>import("./rst-bs7f0vWN.js"),__vite__mapDeps([97,15,1,2,3,25,26,27,22,20,29,39,98,34,35,7,8,16,36,11,37,13,38])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>a(()=>import("./ruby-C0TQ7zu5.js"),__vite__mapDeps([34,1,2,3,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>a(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>a(()=>import("./sas-DEy46yEz.js"),__vite__mapDeps([99,16])))},{id:"sass",name:"Sass",import:(()=>a(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>a(()=>import("./scala-CqE71os6.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>a(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>a(()=>import("./scss-D5BDwBP9.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>a(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>a(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([100,101])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>a(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>a(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([102,29])))},{id:"smalltalk",name:"GNU Smalltalk",import:(()=>a(()=>import("./smalltalk-BOQMe2GC.js"),[]))},{id:"smithy",name:"Smithy",import:(()=>a(()=>import("./smithy-cds9vsN8.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>a(()=>import("./solidity-DijEV5ha.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>a(()=>import("./soy-8wufbnw4.js"),__vite__mapDeps([103,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>a(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([104,105])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>a(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>a(()=>import("./sql-CRqJ_cUM.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>a(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>a(()=>import("./stata-DI20mbqo.js"),__vite__mapDeps([106,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>a(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:(()=>a(()=>import("./surrealql-Cjom0U5J.js"),__vite__mapDeps([107,2])))},{id:"svelte",name:"Svelte",import:(()=>a(()=>import("./svelte-Cy7k_4gC.js"),__vite__mapDeps([108,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>a(()=>import("./swift-C2oV4EkX.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>a(()=>import("./system-verilog-0hqHdDBg.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>a(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>a(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>a(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>a(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>a(()=>import("./templ-DhtptRzy.js"),__vite__mapDeps([109,84,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>a(()=>import("./terraform-BETggiCN.js"),[]))},{id:"tex",name:"TeX",import:(()=>a(()=>import("./tex-D96PA37w.js"),__vite__mapDeps([67,63])))},{id:"toml",name:"TOML",import:(()=>a(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>a(()=>import("./ts-tags-D351s5mN.js"),__vite__mapDeps([110,11,3,2,27,22,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>a(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>a(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>a(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>a(()=>import("./twig-27uCiNez.js"),__vite__mapDeps([111,3,2,5,79,1,7,8,16,9,20,34,35,36,11,37,13,25,26,27,22,29,38,39])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>a(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>a(()=>import("./typespec-CAFt9gP4.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>a(()=>import("./typst-BUadGCkm.js"),__vite__mapDeps([112,113,114,22,81,24,2,25,26,27,3,89,90,49,83,31,1,40,41,44,48,50,29,84,85,54,39,77,8,115,9,62,20,63,16,66,67,70,116,38,78,82,65,7,86,79,117,94,34,35,36,11,37,13,5,118,93,87,88,111,119,120,80])))},{id:"v",name:"V",import:(()=>a(()=>import("./v-BGw2Nkan.js"),[]))},{id:"vala",name:"Vala",import:(()=>a(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",import:(()=>a(()=>import("./vb-Cu-pLBUe.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>a(()=>import("./verilog-nZwndyjY.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>a(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>a(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>a(()=>import("./vue-BqiEGhQt.js"),__vite__mapDeps([121,3,2,11,9,1,15])))},{id:"vue-html",name:"Vue HTML",import:(()=>a(()=>import("./vue-html-AaS7Mt5G.js"),__vite__mapDeps([122,2])))},{id:"vue-vine",name:"Vue Vine",import:(()=>a(()=>import("./vue-vine-BoDAl6tE.js"),__vite__mapDeps([123,3,5,70,124,12,2])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>a(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>a(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>a(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>a(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>a(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>a(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>a(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>a(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>a(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([93,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>a(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>a(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>a(()=>import("./zig-VOosw3JB.js"),[]))}],_r=Object.fromEntries(Et.map(r=>[r.id,r.import])),fr=Object.fromEntries(Et.flatMap(r=>{var e;return((e=r.aliases)==null?void 0:e.map(t=>[t,r.import]))||[]})),gr={..._r,...fr},Er=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>a(()=>import("./andromeeda-C4gqWexZ.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>a(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>a(()=>import("./ayu-dark-DYE7WIF3.js"),[]))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:(()=>a(()=>import("./ayu-light-BA47KaF1.js"),[]))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:(()=>a(()=>import("./ayu-mirage-32ctXXKs.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>a(()=>import("./catppuccin-frappe-CZL1YF0i.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>a(()=>import("./catppuccin-latte-DH-8KZSZ.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>a(()=>import("./catppuccin-macchiato-B7yYVSCf.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>a(()=>import("./catppuccin-mocha-Ct7hS0mc.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>a(()=>import("./dark-plus-C3mMm8J8.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>a(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>a(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>a(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>a(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>a(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>a(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>a(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>a(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>a(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>a(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>a(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>a(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>a(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>a(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"horizon",displayName:"Horizon",type:"dark",import:(()=>a(()=>import("./horizon-BUw7H-hv.js"),[]))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:(()=>a(()=>import("./horizon-bright-CUuTKBJd.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>a(()=>import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>a(()=>import("./kanagawa-dragon-BuwD2xS4.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>a(()=>import("./kanagawa-lotus-C3DzagqV.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>a(()=>import("./kanagawa-wave-DFGoQZhC.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>a(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>a(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>a(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>a(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>a(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>a(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>a(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>a(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>a(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>a(()=>import("./monokai-BRVnQi9A.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>a(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:(()=>a(()=>import("./night-owl-light-CMTm3GFP.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>a(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>a(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>a(()=>import("./one-light-C3Wv6jpd.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>a(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>a(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>a(()=>import("./red-hvxz__6c.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>a(()=>import("./rose-pine-5qJOZa0Y.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>a(()=>import("./rose-pine-dawn-zx0QlTCp.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>a(()=>import("./rose-pine-moon-C9pEdX9L.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>a(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>a(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>a(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>a(()=>import("./solarized-dark-CpvCGNkr.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>a(()=>import("./solarized-light-Dlz6yCKv.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>a(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>a(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>a(()=>import("./vesper-DRje8inN.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>a(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>a(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>a(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],yr=Object.fromEntries(Er.map(r=>[r.id,r.import]));var He=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function vr(){return 2147483648}function Rr(){return typeof performance<"u"?performance.now():Date.now()}const Ar=(r,e)=>r+(e-r%e)%e;async function Tr(r){let e,t;const i={};function n(p){t=p,i.HEAPU8=new Uint8Array(p),i.HEAPU32=new Uint32Array(p)}function s(p,f,R){i.HEAPU8.copyWithin(p,f,f+R)}function o(p){try{return e.grow(p-t.byteLength+65535>>>16),n(e.buffer),1}catch{}}function c(p){const f=i.HEAPU8.length;p=p>>>0;const R=vr();if(p>R)return!1;for(let v=1;v<=4;v*=2){let E=f*(1+.2/v);E=Math.min(E,p+100663296);const g=Math.min(R,Ar(Math.max(p,E),65536));if(o(g))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(p,f,R=1024){const v=f+R;let E=f;for(;p[E]&&!(E>=v);)++E;if(E-f>16&&p.buffer&&l)return l.decode(p.subarray(f,E));let g="";for(;f<E;){let y=p[f++];if(!(y&128)){g+=String.fromCharCode(y);continue}const A=p[f++]&63;if((y&224)===192){g+=String.fromCharCode((y&31)<<6|A);continue}const T=p[f++]&63;if((y&240)===224?y=(y&15)<<12|A<<6|T:y=(y&7)<<18|A<<12|T<<6|p[f++]&63,y<65536)g+=String.fromCharCode(y);else{const L=y-65536;g+=String.fromCharCode(55296|L>>10,56320|L&1023)}}return g}function d(p,f){return p?u(i.HEAPU8,p,f):""}const m={emscripten_get_now:Rr,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function h(){const f=await r({env:m,wasi_snapshot_preview1:m});e=f.memory,n(e.buffer),Object.assign(i,f),i.UTF8ToString=d}return await h(),i}var Lr=Object.defineProperty,Pr=(r,e,t)=>e in r?Lr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,I=(r,e,t)=>Pr(r,typeof e!="symbol"?e+"":e,t);let S=null;function Ir(r){throw new He(r.UTF8ToString(r.getLastOnigError()))}class Ee{constructor(e){I(this,"utf16Length"),I(this,"utf8Length"),I(this,"utf16Value"),I(this,"utf8Value"),I(this,"utf16OffsetToUtf8"),I(this,"utf8OffsetToUtf16");const t=e.length,i=Ee._utf8ByteLength(e),n=i!==t,s=n?new Uint32Array(t+1):null;n&&(s[t]=i);const o=n?new Uint32Array(i+1):null;n&&(o[i]=t);const c=new Uint8Array(i);let l=0;for(let u=0;u<t;u++){const d=e.charCodeAt(u);let m=d,h=!1;if(d>=55296&&d<=56319&&u+1<t){const p=e.charCodeAt(u+1);p>=56320&&p<=57343&&(m=(d-55296<<10)+65536|p-56320,h=!0)}n&&(s[u]=l,h&&(s[u+1]=l),m<=127?o[l+0]=u:m<=2047?(o[l+0]=u,o[l+1]=u):m<=65535?(o[l+0]=u,o[l+1]=u,o[l+2]=u):(o[l+0]=u,o[l+1]=u,o[l+2]=u,o[l+3]=u)),m<=127?c[l++]=m:m<=2047?(c[l++]=192|(m&1984)>>>6,c[l++]=128|(m&63)>>>0):m<=65535?(c[l++]=224|(m&61440)>>>12,c[l++]=128|(m&4032)>>>6,c[l++]=128|(m&63)>>>0):(c[l++]=240|(m&1835008)>>>18,c[l++]=128|(m&258048)>>>12,c[l++]=128|(m&4032)>>>6,c[l++]=128|(m&63)>>>0),h&&u++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=c,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,n=e.length;i<n;i++){const s=e.charCodeAt(i);let o=s,c=!1;if(s>=55296&&s<=56319&&i+1<n){const l=e.charCodeAt(i+1);l>=56320&&l<=57343&&(o=(s-55296<<10)+65536|l-56320,c=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,c&&i++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const ye=class V{constructor(e){if(I(this,"id",++V.LAST_ID),I(this,"_onigBinding"),I(this,"content"),I(this,"utf16Length"),I(this,"utf8Length"),I(this,"utf16OffsetToUtf8"),I(this,"utf8OffsetToUtf16"),I(this,"ptr"),!S)throw new He("Must invoke loadWasm first.");this._onigBinding=S,this.content=e;const t=new Ee(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!V._sharedPtrInUse?(V._sharedPtr||(V._sharedPtr=S.omalloc(1e4)),V._sharedPtrInUse=!0,S.HEAPU8.set(t.utf8Value,V._sharedPtr),this.ptr=V._sharedPtr):this.ptr=t.createString(S)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===V._sharedPtr?V._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};I(ye,"LAST_ID",0);I(ye,"_sharedPtr",0);I(ye,"_sharedPtrInUse",!1);let yt=ye;class br{constructor(e){if(I(this,"_onigBinding"),I(this,"_ptr"),!S)throw new He("Must invoke loadWasm first.");const t=[],i=[];for(let c=0,l=e.length;c<l;c++){const u=new Ee(e[c]);t[c]=u.createString(S),i[c]=u.utf8Length}const n=S.omalloc(4*e.length);S.HEAPU32.set(t,n/4);const s=S.omalloc(4*e.length);S.HEAPU32.set(i,s/4);const o=S.createOnigScanner(n,s,e.length);for(let c=0,l=e.length;c<l;c++)S.ofree(t[c]);S.ofree(s),S.ofree(n),o===0&&Ir(S),this._onigBinding=S,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let n=0;if(typeof i=="number"&&(n=i),typeof e=="string"){e=new yt(e);const s=this._findNextMatchSync(e,t,!1,n);return e.dispose(),s}return this._findNextMatchSync(e,t,!1,n)}_findNextMatchSync(e,t,i,n){const s=this._onigBinding,o=s.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),n);if(o===0)return null;const c=s.HEAPU32;let l=o/4;const u=c[l++],d=c[l++],m=[];for(let h=0;h<d;h++){const p=e.convertUtf8OffsetToUtf16(c[l++]),f=e.convertUtf8OffsetToUtf16(c[l++]);m[h]={start:p,end:f,length:f-p}}return{index:u,captureIndices:m}}}function Sr(r){return typeof r.instantiator=="function"}function Or(r){return typeof r.default=="function"}function wr(r){return typeof r.data<"u"}function Dr(r){return typeof Response<"u"&&r instanceof Response}function Cr(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 vt(r){if(re)return re;async function e(){S=await Tr(async t=>{let i=r;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),Sr(i)?i=await i.instantiator(t):Or(i)?i=await i.default(t):(wr(i)&&(i=i.data),Dr(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await kr(i)(t):i=await Nr(i)(t):Cr(i)?i=await Ie(i)(t):i instanceof WebAssembly.Module?i=await Ie(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await Ie(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return re=e(),re}function Ie(r){return e=>WebAssembly.instantiate(r,e)}function kr(r){return e=>WebAssembly.instantiateStreaming(r,e)}function Nr(r){return async e=>{const t=await r.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Rt;function Vr(r){Rt=r}function xr(){return Rt}async function Gr(r){return r&&await vt(r),{createScanner(e){return new br(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new yt(e)}}}const Mr=Object.freeze(Object.defineProperty({__proto__:null,createOnigurumaEngine:Gr,getDefaultWasmLoader:xr,loadWasm:vt,setDefaultWasmLoader:Vr},Symbol.toStringTag,{value:"Module"}));var At=dr({});pr(At,Mr);var P=class extends Error{constructor(r){super(r),this.name="ShikiError"}};function Br(r){return Fe(r)}function Fe(r){return Array.isArray(r)?jr(r):r instanceof RegExp?r:typeof r=="object"?$r(r):r}function jr(r){let e=[];for(let t=0,i=r.length;t<i;t++)e[t]=Fe(r[t]);return e}function $r(r){let e={};for(let t in r)e[t]=Fe(r[t]);return e}function Tt(r,...e){return e.forEach(t=>{for(let i in t)r[i]=t[i]}),r}function Lt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?Lt(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,(i,n,s,o)=>{let c=t[parseInt(n||s,10)];if(c){let l=e.substring(c.start,c.end);for(;l[0]===".";)l=l.substring(1);switch(o){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return i})}};function Pt(r,e){return r<e?-1:r>e?1:0}function It(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,i=e.length;if(t===i){for(let n=0;n<t;n++){let s=Pt(r[n],e[n]);if(s!==0)return s}return 0}return t-i}function Ze(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 bt(r){return r.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var St=class{constructor(r){_(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){_(this,"_cachedMatchRoot",new St(r=>this._root.match(r)));this._colorMap=r,this._defaults=e,this._root=t}static createFromRawTheme(r,e){return this.createFromParsedTheme(Hr(r),e)}static createFromParsedTheme(r,e){return qr(r,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(r){if(r===null)return this._defaults;const e=r.scopeName,i=this._cachedMatchRoot.get(e).find(n=>Wr(r.parent,n.parentScopes));return i?new Ot(i.fontStyle,i.foreground,i.background):null}},Se=class oe{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new oe(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new oe(t,e[i]);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 i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function Wr(r,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],n=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],n=!0}for(;r&&!Ur(r.scopeName,i);){if(n)return!1;r=r.parent}if(!r)return!1;r=r.parent}return!0}function Ur(r,e){return e===r||r.startsWith(e)&&r[e.length]==="."}var Ot=class{constructor(r,e,t){this.fontStyle=r,this.foregroundId=e,this.backgroundId=t}};function Hr(r){if(!r)return[];if(!r.settings||!Array.isArray(r.settings))return[];let e=r.settings,t=[],i=0;for(let n=0,s=e.length;n<s;n++){let o=e[n];if(!o.settings)continue;let c;if(typeof o.scope=="string"){let m=o.scope;m=m.replace(/^[,]+/,""),m=m.replace(/[,]+$/,""),c=m.split(",")}else Array.isArray(o.scope)?c=o.scope:c=[""];let l=-1;if(typeof o.settings.fontStyle=="string"){l=0;let m=o.settings.fontStyle.split(" ");for(let h=0,p=m.length;h<p;h++)switch(m[h]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let u=null;typeof o.settings.foreground=="string"&&Ze(o.settings.foreground)&&(u=o.settings.foreground);let d=null;typeof o.settings.background=="string"&&Ze(o.settings.background)&&(d=o.settings.background);for(let m=0,h=c.length;m<h;m++){let f=c[m].trim().split(" "),R=f[f.length-1],v=null;f.length>1&&(v=f.slice(0,f.length-1),v.reverse()),t[i++]=new Fr(R,v,n,l,u,d)}}return t}var Fr=class{constructor(r,e,t,i,n,s){this.scope=r,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=n,this.background=s}},w=(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))(w||{});function qr(r,e){r.sort((l,u)=>{let d=Pt(l.scope,u.scope);return d!==0||(d=It(l.parentScopes,u.parentScopes),d!==0)?d:l.index-u.index});let t=0,i="#000000",n="#ffffff";for(;r.length>=1&&r[0].scope==="";){let l=r.shift();l.fontStyle!==-1&&(t=l.fontStyle),l.foreground!==null&&(i=l.foreground),l.background!==null&&(n=l.background)}let s=new zr(e),o=new Ot(t,s.getId(i),s.getId(n)),c=new Kr(new Ne(0,null,-1,0,0),[]);for(let l=0,u=r.length;l<u;l++){let d=r[l];c.insert(0,d.scope,d.parentScopes,d.fontStyle,s.getId(d.foreground),s.getId(d.background))}return new le(s,o,c)}var zr=class{constructor(r){_(this,"_isFrozen");_(this,"_lastColorId");_(this,"_id2color");_(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)}},Jr=Object.freeze([]),Ne=class wt{constructor(e,t,i,n,s){_(this,"scopeDepth");_(this,"parentScopes");_(this,"fontStyle");_(this,"foreground");_(this,"background");this.scopeDepth=e,this.parentScopes=t||Jr,this.fontStyle=i,this.foreground=n,this.background=s}clone(){return new wt(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,n=e.length;i<n;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,n){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),n!==0&&(this.background=n)}},Kr=class Ve{constructor(e,t=[],i={}){_(this,"_rulesWithParentScopes");this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,n=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[n]===">"&&n++,!(i>=e.parentScopes.length||n>=t.parentScopes.length);){const s=t.parentScopes[n].length-e.parentScopes[i].length;if(s!==0)return s;i++,n++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),n,s;if(i===-1?(n=e,s=""):(n=e.substring(0,i),s=e.substring(i+1)),this._children.hasOwnProperty(n))return this._children[n].match(s)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Ve._cmpBySpecificity),t}insert(e,t,i,n,s,o){if(t===""){this._doInsertHere(e,i,n,s,o);return}let c=t.indexOf("."),l,u;c===-1?(l=t,u=""):(l=t.substring(0,c),u=t.substring(c+1));let d;this._children.hasOwnProperty(l)?d=this._children[l]:(d=new Ve(this._mainRule.clone(),Ne.cloneArr(this._rulesWithParentScopes)),this._children[l]=d),d.insert(e+1,u,i,n,s,o)}_doInsertHere(e,t,i,n,s){if(t===null){this._mainRule.acceptOverwrite(e,i,n,s);return}for(let o=0,c=this._rulesWithParentScopes.length;o<c;o++){let l=this._rulesWithParentScopes[o];if(It(l.parentScopes,t)===0){l.acceptOverwrite(e,i,n,s);return}}i===-1&&(i=this._mainRule.fontStyle),n===0&&(n=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Ne(e,t,i,n,s))}},U=class k{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=k.getLanguageId(e),i=k.getTokenType(e),n=k.getFontStyle(e),s=k.getForeground(e),o=k.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:n,foreground:s,background:o})}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,i,n,s,o,c){let l=k.getLanguageId(e),u=k.getTokenType(e),d=k.containsBalancedBrackets(e)?1:0,m=k.getFontStyle(e),h=k.getForeground(e),p=k.getBackground(e);return t!==0&&(l=t),i!==8&&(u=i),n!==null&&(d=n?1:0),s!==-1&&(m=s),o!==0&&(h=o),c!==0&&(p=c),(l<<0|u<<8|d<<10|m<<11|h<<15|p<<24)>>>0}};function ce(r,e){const t=[],i=Qr(r);let n=i.next();for(;n!==null;){let l=0;if(n.length===2&&n.charAt(1)===":"){switch(n.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${n} in scope selector`)}n=i.next()}let u=o();if(t.push({matcher:u,priority:l}),n!==",")break;n=i.next()}return t;function s(){if(n==="-"){n=i.next();const l=s();return u=>!!l&&!l(u)}if(n==="("){n=i.next();const l=c();return n===")"&&(n=i.next()),l}if(et(n)){const l=[];do l.push(n),n=i.next();while(et(n));return u=>e(l,u)}return null}function o(){const l=[];let u=s();for(;u;)l.push(u),u=s();return d=>l.every(m=>m(d))}function c(){const l=[];let u=o();for(;u&&(l.push(u),n==="|"||n===",");){do n=i.next();while(n==="|"||n===",");u=o()}return d=>l.some(m=>m(d))}}function et(r){return!!r&&!!r.match(/[\w\.:]+/)}function Qr(r){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(r);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(r),i}}}function Dt(r){typeof r.dispose=="function"&&r.dispose()}var Q=class{constructor(r){this.scopeName=r}toKey(){return this.scopeName}},Yr=class{constructor(r,e){this.scopeName=r,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},Xr=class{constructor(){_(this,"_references",[]);_(this,"_seenReferenceKeys",new Set);_(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))}},Zr=class{constructor(r,e){_(this,"seenFullScopeRequests",new Set);_(this,"seenPartialScopeRequests",new Set);_(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 Xr;for(const t of r)ei(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 ei(r,e,t,i){const n=t.lookup(r.scopeName);if(!n){if(r.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const s=t.lookup(e);r instanceof Q?ae({baseGrammar:s,selfGrammar:n},i):xe(r.ruleName,{baseGrammar:s,selfGrammar:n,repository:n.repository},i);const o=t.injections(r.scopeName);if(o)for(const c of o)i.add(new Q(c))}function xe(r,e,t){if(e.repository&&e.repository[r]){const i=e.repository[r];ue([i],e,t)}}function ae(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&ue(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&ue(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function ue(r,e,t){for(const i of r){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const n=i.repository?Tt({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&ue(i.patterns,{...e,repository:n},t);const s=i.include;if(!s)continue;const o=Ct(s);switch(o.kind){case 0:ae({...e,selfGrammar:e.baseGrammar},t);break;case 1:ae(e,t);break;case 2:xe(o.ruleName,{...e,repository:n},t);break;case 3:case 4:const c=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(c){const l={baseGrammar:e.baseGrammar,selfGrammar:c,repository:n};o.kind===4?xe(o.ruleName,l,t):ae(l,t)}else o.kind===4?t.add(new Yr(o.scopeName,o.ruleName)):t.add(new Q(o.scopeName));break}}}var ti=class{constructor(){_(this,"kind",0)}},ri=class{constructor(){_(this,"kind",1)}},ii=class{constructor(r){_(this,"kind",2);this.ruleName=r}},ni=class{constructor(r){_(this,"kind",3);this.scopeName=r}},si=class{constructor(r,e){_(this,"kind",4);this.scopeName=r,this.ruleName=e}};function Ct(r){if(r==="$base")return new ti;if(r==="$self")return new ri;const e=r.indexOf("#");if(e===-1)return new ni(r);if(e===0)return new ii(r.substring(1));{const t=r.substring(0,e),i=r.substring(e+1);return new si(t,i)}}var oi=/\\(\d+)/,tt=/\\(\d+)/g,ai=-1,kt=-2;var ee=class{constructor(r,e,t,i){_(this,"$location");_(this,"id");_(this,"_nameIsCapturing");_(this,"_name");_(this,"_contentNameIsCapturing");_(this,"_contentName");this.$location=r,this.id=e,this._name=t||null,this._nameIsCapturing=ie.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=ie.hasCaptures(this._contentName)}get debugName(){const r=this.$location?`${Lt(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)}},li=class extends ee{constructor(e,t,i,n,s){super(e,t,i,n);_(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,i,n){throw new Error("Not supported!")}},ci=class extends ee{constructor(e,t,i,n,s){super(e,t,i,null);_(this,"_match");_(this,"captures");_(this,"_cachedCompiledPatterns");this._match=new Y(n,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,i,n){return this._getCachedCompiledPatterns(e).compileAG(e,i,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new X,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},rt=class extends ee{constructor(e,t,i,n,s){super(e,t,i,n);_(this,"hasMissingPatterns");_(this,"patterns");_(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 i of this.patterns)e.getRule(i).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,i,n){return this._getCachedCompiledPatterns(e).compileAG(e,i,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new X,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ge=class extends ee{constructor(e,t,i,n,s,o,c,l,u,d){super(e,t,i,n);_(this,"_begin");_(this,"beginCaptures");_(this,"_end");_(this,"endHasBackReferences");_(this,"endCaptures");_(this,"applyEndPatternLast");_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");this._begin=new Y(s,this.id),this.beginCaptures=o,this._end=new Y(c||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,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,i,n){return this._getCachedCompiledPatterns(e,t).compileAG(e,i,n)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new X;for(const i of this.patterns)e.getRule(i).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 ee{constructor(e,t,i,n,s,o,c,l,u){super(e,t,i,n);_(this,"_begin");_(this,"beginCaptures");_(this,"whileCaptures");_(this,"_while");_(this,"whileHasBackReferences");_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");_(this,"_cachedCompiledWhilePatterns");this._begin=new Y(s,this.id),this.beginCaptures=o,this.whileCaptures=l,this._while=new Y(c,kt),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,i,n){return this._getCachedCompiledPatterns(e).compileAG(e,i,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new X;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,i,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,i,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new X,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Nt=class O{static createCaptureRule(e,t,i,n,s){return e.registerRule(o=>new li(t,o,i,n,s))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(n=>{if(e.id=n,e.match)return new ci(e.$vscodeTextmateLocation,e.id,e.name,e.match,O._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Tt({},i,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new rt(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,O._compilePatterns(s,t,i))}return e.while?new me(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,O._compileCaptures(e.whileCaptures||e.captures,t,i),O._compilePatterns(e.patterns,t,i)):new Ge(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,O._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,O._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let n=[];if(e){let s=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const c=parseInt(o,10);c>s&&(s=c)}for(let o=0;o<=s;o++)n[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const c=parseInt(o,10);let l=0;e[o].patterns&&(l=O.getCompiledRuleId(e[o],t,i)),n[c]=O.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,l)}}return n}static _compilePatterns(e,t,i){let n=[];if(e)for(let s=0,o=e.length;s<o;s++){const c=e[s];let l=-1;if(c.include){const u=Ct(c.include);switch(u.kind){case 0:case 1:l=O.getCompiledRuleId(i[c.include],t,i);break;case 2:let d=i[u.ruleName];d&&(l=O.getCompiledRuleId(d,t,i));break;case 3:case 4:const m=u.scopeName,h=u.kind===4?u.ruleName:null,p=t.getExternalGrammar(m,i);if(p)if(h){let f=p.repository[h];f&&(l=O.getCompiledRuleId(f,t,p.repository))}else l=O.getCompiledRuleId(p.repository.$self,t,p.repository);break}}else l=O.getCompiledRuleId(c,t,i);if(l!==-1){const u=t.getRule(l);let d=!1;if((u instanceof rt||u instanceof Ge||u instanceof me)&&u.hasMissingPatterns&&u.patterns.length===0&&(d=!0),d)continue;n.push(l)}}return{patterns:n,hasMissingPatterns:(e?e.length:0)!==n.length}}},Y=class Vt{constructor(e,t){_(this,"source");_(this,"ruleId");_(this,"hasAnchor");_(this,"hasBackReferences");_(this,"_anchorCache");if(e&&typeof e=="string"){const i=e.length;let n=0,s=[],o=!1;for(let c=0;c<i;c++)if(e.charAt(c)==="\\"&&c+1<i){const u=e.charAt(c+1);u==="z"?(s.push(e.substring(n,c)),s.push("$(?!\\n)(?<!\\n)"),n=c+2):(u==="A"||u==="G")&&(o=!0),c++}this.hasAnchor=o,n===0?this.source=e:(s.push(e.substring(n,i)),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=oi.test(this.source):this.hasBackReferences=!1}clone(){return new Vt(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 i=t.map(n=>e.substring(n.start,n.end));return tt.lastIndex=0,this.source.replace(tt,(n,s)=>bt(i[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=[],i=[],n=[],s,o,c,l;for(s=0,o=this.source.length;s<o;s++)c=this.source.charAt(s),e[s]=c,t[s]=c,i[s]=c,n[s]=c,c==="\\"&&s+1<o&&(l=this.source.charAt(s+1),l==="A"?(e[s+1]="",t[s+1]="",i[s+1]="A",n[s+1]="A"):l==="G"?(e[s+1]="",t[s+1]="G",i[s+1]="",n[s+1]="G"):(e[s+1]=l,t[s+1]=l,i[s+1]=l,n[s+1]=l),s++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:n.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}},X=class{constructor(){_(this,"_items");_(this,"_hasAnchors");_(this,"_cached");_(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 it(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 i=this._items.map(n=>n.resolveAnchors(e,t));return new it(r,i,this._items.map(n=>n.ruleId))}},it=class{constructor(r,e,t){_(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 rr=Object.defineProperty;var ir=(r,e,t)=>e in r?rr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var _=(r,e,t)=>ir(r,typeof e!="symbol"?e+"":e,t);import{_ as a,w as Ue,s as gt,f as nr,a as sr,b as or,c as Ye,h as ar}from"./index-Cp0j8w9U.js";const Xe={}.hasOwnProperty;function lr(r,e){const t=e||{};function i(n,...s){let o=i.invalid;const c=i.handlers;if(n&&Xe.call(n,r)){const l=String(n[r]);o=Xe.call(c,l)?c[l]:i.unknown}if(o)return o.call(this,n,...s)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}var ke=Object.defineProperty,cr=Object.getOwnPropertyDescriptor,ur=Object.getOwnPropertyNames,mr=Object.prototype.hasOwnProperty,dr=(r,e)=>{let t={};for(var i in r)ke(t,i,{get:r[i],enumerable:!0});return ke(t,Symbol.toStringTag,{value:"Module"}),t},hr=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(var n=ur(e),s=0,o=n.length,c;s<o;s++)c=n[s],!mr.call(r,c)&&c!==t&&ke(r,c,{get:(l=>e[l]).bind(null,c),enumerable:!(i=cr(e,c))||i.enumerable});return r},pr=(r,e,t)=>(hr(r,e,"default"),t);const Et=[{id:"abap",name:"ABAP",import:(()=>a(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",aliases:["actionscript","as3"],import:(()=>a(()=>import("./actionscript-3-B3316cI-.js"),[]))},{id:"ada",name:"Ada",import:(()=>a(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"ahk",name:"AutoHotkey",aliases:["ahk1"],import:(()=>a(()=>import("./ahk-CsyLZFj1.js"),[]))},{id:"ahk2",name:"AutoHotkey2",import:(()=>a(()=>import("./ahk2-8Zs4aa1G.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>a(()=>import("./angular-html-DA-rfuFy.js").then(r=>r.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>a(()=>import("./angular-ts-BrjP3tb8.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>a(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>a(()=>import("./apex-DhZFqWV2.js"),[]))},{id:"apl",name:"APL",import:(()=>a(()=>import("./apl-CORt7UWP.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>a(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>a(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>a(()=>import("./asciidoc-CSVQ5wI8.js"),[]))},{id:"asm",name:"Assembly",import:(()=>a(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>a(()=>import("./astro-HNnZUWAn.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>a(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>a(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch","cmd"],import:(()=>a(()=>import("./bat-CickPsom.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>a(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>a(()=>import("./berry-uYugtg8r.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>a(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>a(()=>import("./bicep-Bmn6On1c.js"),[]))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:(()=>a(()=>import("./bird2-Bx8U0n9b.js"),[]))},{id:"blade",name:"Blade",import:(()=>a(()=>import("./blade-2xfisSek.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>a(()=>import("./bsl-DlhNcFeZ.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>a(()=>import("./c-BIGW1oBm.js"),[]))},{id:"c3",name:"C3",import:(()=>a(()=>import("./c3-Dp5svz6Z.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>a(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>a(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"chapel",name:"Chapel",aliases:["chpl"],import:(()=>a(()=>import("./chapel-DTp_pixX.js"),__vite__mapDeps([21,22])))},{id:"clarity",name:"Clarity",import:(()=>a(()=>import("./clarity-Dn5IMItf.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>a(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>a(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>a(()=>import("./cobol-nBiQ_Alo.js"),__vite__mapDeps([23,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>a(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>a(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>a(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([24,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>a(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Rocq",import:(()=>a(()=>import("./coq-C7JzOVbR.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>a(()=>import("./cpp-BMRokrvK.js"),__vite__mapDeps([25,26,27,22])))},{id:"crystal",name:"Crystal",import:(()=>a(()=>import("./crystal-DGywbUpC.js"),__vite__mapDeps([28,1,2,3,16,22,29])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>a(()=>import("./csharp-DSvCPggb.js"),[]))},{id:"css",name:"CSS",import:(()=>a(()=>import("./css-CLj8gQPS.js"),[]))},{id:"csv",name:"CSV",import:(()=>a(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>a(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>a(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>a(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>a(()=>import("./dart-bE4Kk8sk.js"),[]))},{id:"dax",name:"DAX",import:(()=>a(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>a(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>a(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>a(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>a(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>a(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>a(()=>import("./edge-FbVlp4U3.js"),__vite__mapDeps([30,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>a(()=>import("./elixir-CkH2-t6x.js"),__vite__mapDeps([31,1,2,3])))},{id:"elm",name:"Elm",import:(()=>a(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([32,27,22])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>a(()=>import("./emacs-lisp-C_m_b--Z.js"),[]))},{id:"erb",name:"ERB",import:(()=>a(()=>import("./erb-DXfck5VN.js"),__vite__mapDeps([33,1,2,3,34,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>a(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([40,41])))},{id:"fennel",name:"Fennel",import:(()=>a(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>a(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>a(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>a(()=>import("./fortran-fixed-form-CkoXwp7k.js"),__vite__mapDeps([42,43])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>a(()=>import("./fortran-free-form-BxgE0vQu.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>a(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([44,41])))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:(()=>a(()=>import("./gdresource-TyuKm33G.js"),__vite__mapDeps([45,46,47])))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:(()=>a(()=>import("./gdscript-DqcFQ5yU.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>a(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>a(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>a(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>a(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([48,49])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>a(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([50,29])))},{id:"gleam",name:"Gleam",import:(()=>a(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>a(()=>import("./glimmer-js-ByusRIyA.js"),__vite__mapDeps([51,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>a(()=>import("./glimmer-ts-BfAWNZQY.js"),__vite__mapDeps([52,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>a(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([27,22])))},{id:"gn",name:"GN",import:(()=>a(()=>import("./gn-n2N0HUVH.js"),[]))},{id:"gnuplot",name:"Gnuplot",import:(()=>a(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>a(()=>import("./go-C27-OAKa.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>a(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([36,2,11,37,13])))},{id:"groovy",name:"Groovy",import:(()=>a(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>a(()=>import("./hack-BWmVpMyf.js"),__vite__mapDeps([53,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>a(()=>import("./haml-D5jkg6IW.js"),__vite__mapDeps([35,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>a(()=>import("./handlebars-BpdQsYii.js"),__vite__mapDeps([54,1,2,3,39])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>a(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>a(()=>import("./haxe-CfZj7gIn.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>a(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>a(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>a(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>a(()=>import("./html-pp8916En.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>a(()=>import("./html-derivative-DlHx6ybY.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>a(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([55,29,9,7,8,36,2,11,37,13])))},{id:"hurl",name:"Hurl",import:(()=>a(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([56,36,2,11,37,13,7,8,57])))},{id:"hxml",name:"HXML",import:(()=>a(()=>import("./hxml-2-FPmUDs.js"),__vite__mapDeps([58,59])))},{id:"hy",name:"Hy",import:(()=>a(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>a(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>a(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>a(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>a(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>a(()=>import("./jinja-f2NsQr07.js"),__vite__mapDeps([60,1,2,3])))},{id:"jison",name:"Jison",import:(()=>a(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([61,2])))},{id:"json",name:"JSON",import:(()=>a(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>a(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>a(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>a(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>a(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>a(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>a(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>a(()=>import("./julia-5Bft2YPA.js"),__vite__mapDeps([62,25,26,27,22,20,2,63,16])))},{id:"just",name:"Just",aliases:["justfile"],import:(()=>a(()=>import("./just-Cwhn7H3k.js"),__vite__mapDeps([64,29,2,11,65,1,3,7,8,16,20,34,35,36,37,13,25,26,27,22,38,39])))},{id:"kdl",name:"KDL",import:(()=>a(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>a(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>a(()=>import("./kusto-wEQ09or8.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>a(()=>import("./latex-D5pSuvFb.js"),__vite__mapDeps([66,67,63])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>a(()=>import("./lean-BZvkOJ9d.js"),[]))},{id:"less",name:"Less",import:(()=>a(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>a(()=>import("./liquid-C0sCDyMI.js"),__vite__mapDeps([68,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>a(()=>import("./llvm-BZoOZj88.js"),[]))},{id:"log",name:"Log file",import:(()=>a(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>a(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>a(()=>import("./lua-BaeVxFsk.js"),__vite__mapDeps([38,22])))},{id:"luau",name:"Luau",import:(()=>a(()=>import("./luau-BnpPk5vE.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>a(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>a(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>a(()=>import("./marko-DjSrsDqO.js"),__vite__mapDeps([69,3,70,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>a(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>a(()=>import("./mdc-D1_yUvq7.js"),__vite__mapDeps([71,41,39,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>a(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>a(()=>import("./mermaid-CQcHuHx7.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>a(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>a(()=>import("./mojo-DJz3ZmWd.js"),[]))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:(()=>a(()=>import("./moonbit-CHtswR0a.js"),[]))},{id:"move",name:"Move",import:(()=>a(()=>import("./move-el3G9tDJ.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>a(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>a(()=>import("./nextflow-C-mBbutL.js"),__vite__mapDeps([72,73])))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:(()=>a(()=>import("./nextflow-groovy-vE_lwT2v.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>a(()=>import("./nginx-BpAMiNFr.js"),__vite__mapDeps([74,38,22])))},{id:"nim",name:"Nim",import:(()=>a(()=>import("./nim-BIad80T-.js"),__vite__mapDeps([75,22,1,2,3,7,8,27,41])))},{id:"nix",name:"Nix",import:(()=>a(()=>import("./nix-CwoSXNpI.js"),[]))},{id:"nsis",name:"NSIS",import:(()=>a(()=>import("./nsis-BlV79W_Q.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>a(()=>import("./nushell-D3jzshHO.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>a(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>a(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>a(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"odin",name:"Odin",import:(()=>a(()=>import("./odin-BBf5iR-q.js"),[]))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:(()=>a(()=>import("./openscad-C4EeE6gA.js"),[]))},{id:"org",name:"Org Markup",import:(()=>a(()=>import("./org-DM6o9KBp.js"),__vite__mapDeps([76,2,11,13,8,20,26,3,38,22,77,78,65,1,7,16,63,34,35,36,37,25,27,29,39,79,9,80,81,24,82,49,83,84,85,70,5,86,87,88,89,90,75,41,31,40,91,92,93,48,50,66,67])))},{id:"pascal",name:"Pascal",import:(()=>a(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>a(()=>import("./perl-B9cMNwum.js"),__vite__mapDeps([65,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>a(()=>import("./php-Csjmro_R.js"),__vite__mapDeps([79,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>a(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>a(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>a(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>a(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>a(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>a(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1","pwsh"],import:(()=>a(()=>import("./powershell-BmBUJMz7.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>a(()=>import("./prisma-Vru482bI.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>a(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>a(()=>import("./proto-C7zT0LnQ.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>a(()=>import("./pug-DKIMFp6K.js"),__vite__mapDeps([94,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>a(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>a(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>a(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>a(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([95,2])))},{id:"qmldir",name:"QML Directory",import:(()=>a(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>a(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>a(()=>import("./r-Cf5RLm7j.js"),[]))},{id:"racket",name:"Racket",import:(()=>a(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>a(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>a(()=>import("./razor-BjBPvh-w.js"),__vite__mapDeps([96,1,2,3,89])))},{id:"rbs",name:"RBS",aliases:["ruby-signature"],import:(()=>a(()=>import("./rbs-CpoqiR4B.js"),[]))},{id:"reg",name:"Windows Registry Script",import:(()=>a(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>a(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>a(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>a(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"ron",name:"RON",import:(()=>a(()=>import("./ron-D8l8udqQ.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>a(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>a(()=>import("./rst-bs7f0vWN.js"),__vite__mapDeps([97,15,1,2,3,25,26,27,22,20,29,39,98,34,35,7,8,16,36,11,37,13,38])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>a(()=>import("./ruby-C0TQ7zu5.js"),__vite__mapDeps([34,1,2,3,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>a(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>a(()=>import("./sas-DEy46yEz.js"),__vite__mapDeps([99,16])))},{id:"sass",name:"Sass",import:(()=>a(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>a(()=>import("./scala-CqE71os6.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>a(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>a(()=>import("./scss-D5BDwBP9.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>a(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>a(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([100,101])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>a(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>a(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([102,29])))},{id:"smalltalk",name:"GNU Smalltalk",import:(()=>a(()=>import("./smalltalk-BOQMe2GC.js"),[]))},{id:"smithy",name:"Smithy",import:(()=>a(()=>import("./smithy-cds9vsN8.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>a(()=>import("./solidity-DijEV5ha.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>a(()=>import("./soy-8wufbnw4.js"),__vite__mapDeps([103,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>a(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([104,105])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>a(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>a(()=>import("./sql-CRqJ_cUM.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>a(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>a(()=>import("./stata-DI20mbqo.js"),__vite__mapDeps([106,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>a(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:(()=>a(()=>import("./surrealql-Cjom0U5J.js"),__vite__mapDeps([107,2])))},{id:"svelte",name:"Svelte",import:(()=>a(()=>import("./svelte-Cy7k_4gC.js"),__vite__mapDeps([108,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>a(()=>import("./swift-C2oV4EkX.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>a(()=>import("./system-verilog-0hqHdDBg.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>a(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>a(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>a(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>a(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>a(()=>import("./templ-DhtptRzy.js"),__vite__mapDeps([109,84,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>a(()=>import("./terraform-BETggiCN.js"),[]))},{id:"tex",name:"TeX",import:(()=>a(()=>import("./tex-D96PA37w.js"),__vite__mapDeps([67,63])))},{id:"toml",name:"TOML",import:(()=>a(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>a(()=>import("./ts-tags-D351s5mN.js"),__vite__mapDeps([110,11,3,2,27,22,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>a(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>a(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>a(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>a(()=>import("./twig-27uCiNez.js"),__vite__mapDeps([111,3,2,5,79,1,7,8,16,9,20,34,35,36,11,37,13,25,26,27,22,29,38,39])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>a(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>a(()=>import("./typespec-CAFt9gP4.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>a(()=>import("./typst-BUadGCkm.js"),__vite__mapDeps([112,113,114,22,81,24,2,25,26,27,3,89,90,49,83,31,1,40,41,44,48,50,29,84,85,54,39,77,8,115,9,62,20,63,16,66,67,70,116,38,78,82,65,7,86,79,117,94,34,35,36,11,37,13,5,118,93,87,88,111,119,120,80])))},{id:"v",name:"V",import:(()=>a(()=>import("./v-BGw2Nkan.js"),[]))},{id:"vala",name:"Vala",import:(()=>a(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",import:(()=>a(()=>import("./vb-Cu-pLBUe.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>a(()=>import("./verilog-nZwndyjY.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>a(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>a(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>a(()=>import("./vue-BqiEGhQt.js"),__vite__mapDeps([121,3,2,11,9,1,15])))},{id:"vue-html",name:"Vue HTML",import:(()=>a(()=>import("./vue-html-AaS7Mt5G.js"),__vite__mapDeps([122,2])))},{id:"vue-vine",name:"Vue Vine",import:(()=>a(()=>import("./vue-vine-BoDAl6tE.js"),__vite__mapDeps([123,3,5,70,124,12,2])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>a(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>a(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>a(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>a(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>a(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>a(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>a(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>a(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>a(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([93,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>a(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>a(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>a(()=>import("./zig-VOosw3JB.js"),[]))}],_r=Object.fromEntries(Et.map(r=>[r.id,r.import])),fr=Object.fromEntries(Et.flatMap(r=>{var e;return((e=r.aliases)==null?void 0:e.map(t=>[t,r.import]))||[]})),gr={..._r,...fr},Er=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>a(()=>import("./andromeeda-C4gqWexZ.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>a(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>a(()=>import("./ayu-dark-DYE7WIF3.js"),[]))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:(()=>a(()=>import("./ayu-light-BA47KaF1.js"),[]))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:(()=>a(()=>import("./ayu-mirage-32ctXXKs.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>a(()=>import("./catppuccin-frappe-CZL1YF0i.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>a(()=>import("./catppuccin-latte-DH-8KZSZ.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>a(()=>import("./catppuccin-macchiato-B7yYVSCf.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>a(()=>import("./catppuccin-mocha-Ct7hS0mc.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>a(()=>import("./dark-plus-C3mMm8J8.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>a(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>a(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>a(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>a(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>a(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>a(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>a(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>a(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>a(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>a(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>a(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>a(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>a(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>a(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>a(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"horizon",displayName:"Horizon",type:"dark",import:(()=>a(()=>import("./horizon-BUw7H-hv.js"),[]))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:(()=>a(()=>import("./horizon-bright-CUuTKBJd.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>a(()=>import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>a(()=>import("./kanagawa-dragon-BuwD2xS4.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>a(()=>import("./kanagawa-lotus-C3DzagqV.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>a(()=>import("./kanagawa-wave-DFGoQZhC.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>a(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>a(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>a(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>a(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>a(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>a(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>a(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>a(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>a(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>a(()=>import("./monokai-BRVnQi9A.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>a(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:(()=>a(()=>import("./night-owl-light-CMTm3GFP.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>a(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>a(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>a(()=>import("./one-light-C3Wv6jpd.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>a(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>a(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>a(()=>import("./red-hvxz__6c.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>a(()=>import("./rose-pine-5qJOZa0Y.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>a(()=>import("./rose-pine-dawn-zx0QlTCp.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>a(()=>import("./rose-pine-moon-C9pEdX9L.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>a(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>a(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>a(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>a(()=>import("./solarized-dark-CpvCGNkr.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>a(()=>import("./solarized-light-Dlz6yCKv.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>a(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>a(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>a(()=>import("./vesper-DRje8inN.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>a(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>a(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>a(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],yr=Object.fromEntries(Er.map(r=>[r.id,r.import]));var He=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function vr(){return 2147483648}function Rr(){return typeof performance<"u"?performance.now():Date.now()}const Ar=(r,e)=>r+(e-r%e)%e;async function Tr(r){let e,t;const i={};function n(p){t=p,i.HEAPU8=new Uint8Array(p),i.HEAPU32=new Uint32Array(p)}function s(p,f,R){i.HEAPU8.copyWithin(p,f,f+R)}function o(p){try{return e.grow(p-t.byteLength+65535>>>16),n(e.buffer),1}catch{}}function c(p){const f=i.HEAPU8.length;p=p>>>0;const R=vr();if(p>R)return!1;for(let v=1;v<=4;v*=2){let E=f*(1+.2/v);E=Math.min(E,p+100663296);const g=Math.min(R,Ar(Math.max(p,E),65536));if(o(g))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(p,f,R=1024){const v=f+R;let E=f;for(;p[E]&&!(E>=v);)++E;if(E-f>16&&p.buffer&&l)return l.decode(p.subarray(f,E));let g="";for(;f<E;){let y=p[f++];if(!(y&128)){g+=String.fromCharCode(y);continue}const A=p[f++]&63;if((y&224)===192){g+=String.fromCharCode((y&31)<<6|A);continue}const T=p[f++]&63;if((y&240)===224?y=(y&15)<<12|A<<6|T:y=(y&7)<<18|A<<12|T<<6|p[f++]&63,y<65536)g+=String.fromCharCode(y);else{const L=y-65536;g+=String.fromCharCode(55296|L>>10,56320|L&1023)}}return g}function d(p,f){return p?u(i.HEAPU8,p,f):""}const m={emscripten_get_now:Rr,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function h(){const f=await r({env:m,wasi_snapshot_preview1:m});e=f.memory,n(e.buffer),Object.assign(i,f),i.UTF8ToString=d}return await h(),i}var Lr=Object.defineProperty,Pr=(r,e,t)=>e in r?Lr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,I=(r,e,t)=>Pr(r,typeof e!="symbol"?e+"":e,t);let S=null;function Ir(r){throw new He(r.UTF8ToString(r.getLastOnigError()))}class Ee{constructor(e){I(this,"utf16Length"),I(this,"utf8Length"),I(this,"utf16Value"),I(this,"utf8Value"),I(this,"utf16OffsetToUtf8"),I(this,"utf8OffsetToUtf16");const t=e.length,i=Ee._utf8ByteLength(e),n=i!==t,s=n?new Uint32Array(t+1):null;n&&(s[t]=i);const o=n?new Uint32Array(i+1):null;n&&(o[i]=t);const c=new Uint8Array(i);let l=0;for(let u=0;u<t;u++){const d=e.charCodeAt(u);let m=d,h=!1;if(d>=55296&&d<=56319&&u+1<t){const p=e.charCodeAt(u+1);p>=56320&&p<=57343&&(m=(d-55296<<10)+65536|p-56320,h=!0)}n&&(s[u]=l,h&&(s[u+1]=l),m<=127?o[l+0]=u:m<=2047?(o[l+0]=u,o[l+1]=u):m<=65535?(o[l+0]=u,o[l+1]=u,o[l+2]=u):(o[l+0]=u,o[l+1]=u,o[l+2]=u,o[l+3]=u)),m<=127?c[l++]=m:m<=2047?(c[l++]=192|(m&1984)>>>6,c[l++]=128|(m&63)>>>0):m<=65535?(c[l++]=224|(m&61440)>>>12,c[l++]=128|(m&4032)>>>6,c[l++]=128|(m&63)>>>0):(c[l++]=240|(m&1835008)>>>18,c[l++]=128|(m&258048)>>>12,c[l++]=128|(m&4032)>>>6,c[l++]=128|(m&63)>>>0),h&&u++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=c,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,n=e.length;i<n;i++){const s=e.charCodeAt(i);let o=s,c=!1;if(s>=55296&&s<=56319&&i+1<n){const l=e.charCodeAt(i+1);l>=56320&&l<=57343&&(o=(s-55296<<10)+65536|l-56320,c=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,c&&i++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const ye=class V{constructor(e){if(I(this,"id",++V.LAST_ID),I(this,"_onigBinding"),I(this,"content"),I(this,"utf16Length"),I(this,"utf8Length"),I(this,"utf16OffsetToUtf8"),I(this,"utf8OffsetToUtf16"),I(this,"ptr"),!S)throw new He("Must invoke loadWasm first.");this._onigBinding=S,this.content=e;const t=new Ee(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!V._sharedPtrInUse?(V._sharedPtr||(V._sharedPtr=S.omalloc(1e4)),V._sharedPtrInUse=!0,S.HEAPU8.set(t.utf8Value,V._sharedPtr),this.ptr=V._sharedPtr):this.ptr=t.createString(S)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===V._sharedPtr?V._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};I(ye,"LAST_ID",0);I(ye,"_sharedPtr",0);I(ye,"_sharedPtrInUse",!1);let yt=ye;class br{constructor(e){if(I(this,"_onigBinding"),I(this,"_ptr"),!S)throw new He("Must invoke loadWasm first.");const t=[],i=[];for(let c=0,l=e.length;c<l;c++){const u=new Ee(e[c]);t[c]=u.createString(S),i[c]=u.utf8Length}const n=S.omalloc(4*e.length);S.HEAPU32.set(t,n/4);const s=S.omalloc(4*e.length);S.HEAPU32.set(i,s/4);const o=S.createOnigScanner(n,s,e.length);for(let c=0,l=e.length;c<l;c++)S.ofree(t[c]);S.ofree(s),S.ofree(n),o===0&&Ir(S),this._onigBinding=S,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let n=0;if(typeof i=="number"&&(n=i),typeof e=="string"){e=new yt(e);const s=this._findNextMatchSync(e,t,!1,n);return e.dispose(),s}return this._findNextMatchSync(e,t,!1,n)}_findNextMatchSync(e,t,i,n){const s=this._onigBinding,o=s.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),n);if(o===0)return null;const c=s.HEAPU32;let l=o/4;const u=c[l++],d=c[l++],m=[];for(let h=0;h<d;h++){const p=e.convertUtf8OffsetToUtf16(c[l++]),f=e.convertUtf8OffsetToUtf16(c[l++]);m[h]={start:p,end:f,length:f-p}}return{index:u,captureIndices:m}}}function Sr(r){return typeof r.instantiator=="function"}function Or(r){return typeof r.default=="function"}function wr(r){return typeof r.data<"u"}function Dr(r){return typeof Response<"u"&&r instanceof Response}function Cr(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 vt(r){if(re)return re;async function e(){S=await Tr(async t=>{let i=r;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),Sr(i)?i=await i.instantiator(t):Or(i)?i=await i.default(t):(wr(i)&&(i=i.data),Dr(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await kr(i)(t):i=await Nr(i)(t):Cr(i)?i=await Ie(i)(t):i instanceof WebAssembly.Module?i=await Ie(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await Ie(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return re=e(),re}function Ie(r){return e=>WebAssembly.instantiate(r,e)}function kr(r){return e=>WebAssembly.instantiateStreaming(r,e)}function Nr(r){return async e=>{const t=await r.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Rt;function Vr(r){Rt=r}function xr(){return Rt}async function Gr(r){return r&&await vt(r),{createScanner(e){return new br(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new yt(e)}}}const Mr=Object.freeze(Object.defineProperty({__proto__:null,createOnigurumaEngine:Gr,getDefaultWasmLoader:xr,loadWasm:vt,setDefaultWasmLoader:Vr},Symbol.toStringTag,{value:"Module"}));var At=dr({});pr(At,Mr);var P=class extends Error{constructor(r){super(r),this.name="ShikiError"}};function Br(r){return Fe(r)}function Fe(r){return Array.isArray(r)?jr(r):r instanceof RegExp?r:typeof r=="object"?$r(r):r}function jr(r){let e=[];for(let t=0,i=r.length;t<i;t++)e[t]=Fe(r[t]);return e}function $r(r){let e={};for(let t in r)e[t]=Fe(r[t]);return e}function Tt(r,...e){return e.forEach(t=>{for(let i in t)r[i]=t[i]}),r}function Lt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?Lt(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,(i,n,s,o)=>{let c=t[parseInt(n||s,10)];if(c){let l=e.substring(c.start,c.end);for(;l[0]===".";)l=l.substring(1);switch(o){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return i})}};function Pt(r,e){return r<e?-1:r>e?1:0}function It(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,i=e.length;if(t===i){for(let n=0;n<t;n++){let s=Pt(r[n],e[n]);if(s!==0)return s}return 0}return t-i}function Ze(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 bt(r){return r.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var St=class{constructor(r){_(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){_(this,"_cachedMatchRoot",new St(r=>this._root.match(r)));this._colorMap=r,this._defaults=e,this._root=t}static createFromRawTheme(r,e){return this.createFromParsedTheme(Hr(r),e)}static createFromParsedTheme(r,e){return qr(r,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(r){if(r===null)return this._defaults;const e=r.scopeName,i=this._cachedMatchRoot.get(e).find(n=>Wr(r.parent,n.parentScopes));return i?new Ot(i.fontStyle,i.foreground,i.background):null}},Se=class oe{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new oe(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new oe(t,e[i]);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 i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function Wr(r,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],n=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],n=!0}for(;r&&!Ur(r.scopeName,i);){if(n)return!1;r=r.parent}if(!r)return!1;r=r.parent}return!0}function Ur(r,e){return e===r||r.startsWith(e)&&r[e.length]==="."}var Ot=class{constructor(r,e,t){this.fontStyle=r,this.foregroundId=e,this.backgroundId=t}};function Hr(r){if(!r)return[];if(!r.settings||!Array.isArray(r.settings))return[];let e=r.settings,t=[],i=0;for(let n=0,s=e.length;n<s;n++){let o=e[n];if(!o.settings)continue;let c;if(typeof o.scope=="string"){let m=o.scope;m=m.replace(/^[,]+/,""),m=m.replace(/[,]+$/,""),c=m.split(",")}else Array.isArray(o.scope)?c=o.scope:c=[""];let l=-1;if(typeof o.settings.fontStyle=="string"){l=0;let m=o.settings.fontStyle.split(" ");for(let h=0,p=m.length;h<p;h++)switch(m[h]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let u=null;typeof o.settings.foreground=="string"&&Ze(o.settings.foreground)&&(u=o.settings.foreground);let d=null;typeof o.settings.background=="string"&&Ze(o.settings.background)&&(d=o.settings.background);for(let m=0,h=c.length;m<h;m++){let f=c[m].trim().split(" "),R=f[f.length-1],v=null;f.length>1&&(v=f.slice(0,f.length-1),v.reverse()),t[i++]=new Fr(R,v,n,l,u,d)}}return t}var Fr=class{constructor(r,e,t,i,n,s){this.scope=r,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=n,this.background=s}},w=(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))(w||{});function qr(r,e){r.sort((l,u)=>{let d=Pt(l.scope,u.scope);return d!==0||(d=It(l.parentScopes,u.parentScopes),d!==0)?d:l.index-u.index});let t=0,i="#000000",n="#ffffff";for(;r.length>=1&&r[0].scope==="";){let l=r.shift();l.fontStyle!==-1&&(t=l.fontStyle),l.foreground!==null&&(i=l.foreground),l.background!==null&&(n=l.background)}let s=new zr(e),o=new Ot(t,s.getId(i),s.getId(n)),c=new Kr(new Ne(0,null,-1,0,0),[]);for(let l=0,u=r.length;l<u;l++){let d=r[l];c.insert(0,d.scope,d.parentScopes,d.fontStyle,s.getId(d.foreground),s.getId(d.background))}return new le(s,o,c)}var zr=class{constructor(r){_(this,"_isFrozen");_(this,"_lastColorId");_(this,"_id2color");_(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)}},Jr=Object.freeze([]),Ne=class wt{constructor(e,t,i,n,s){_(this,"scopeDepth");_(this,"parentScopes");_(this,"fontStyle");_(this,"foreground");_(this,"background");this.scopeDepth=e,this.parentScopes=t||Jr,this.fontStyle=i,this.foreground=n,this.background=s}clone(){return new wt(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,n=e.length;i<n;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,n){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),n!==0&&(this.background=n)}},Kr=class Ve{constructor(e,t=[],i={}){_(this,"_rulesWithParentScopes");this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,n=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[n]===">"&&n++,!(i>=e.parentScopes.length||n>=t.parentScopes.length);){const s=t.parentScopes[n].length-e.parentScopes[i].length;if(s!==0)return s;i++,n++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),n,s;if(i===-1?(n=e,s=""):(n=e.substring(0,i),s=e.substring(i+1)),this._children.hasOwnProperty(n))return this._children[n].match(s)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Ve._cmpBySpecificity),t}insert(e,t,i,n,s,o){if(t===""){this._doInsertHere(e,i,n,s,o);return}let c=t.indexOf("."),l,u;c===-1?(l=t,u=""):(l=t.substring(0,c),u=t.substring(c+1));let d;this._children.hasOwnProperty(l)?d=this._children[l]:(d=new Ve(this._mainRule.clone(),Ne.cloneArr(this._rulesWithParentScopes)),this._children[l]=d),d.insert(e+1,u,i,n,s,o)}_doInsertHere(e,t,i,n,s){if(t===null){this._mainRule.acceptOverwrite(e,i,n,s);return}for(let o=0,c=this._rulesWithParentScopes.length;o<c;o++){let l=this._rulesWithParentScopes[o];if(It(l.parentScopes,t)===0){l.acceptOverwrite(e,i,n,s);return}}i===-1&&(i=this._mainRule.fontStyle),n===0&&(n=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Ne(e,t,i,n,s))}},U=class k{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=k.getLanguageId(e),i=k.getTokenType(e),n=k.getFontStyle(e),s=k.getForeground(e),o=k.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:n,foreground:s,background:o})}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,i,n,s,o,c){let l=k.getLanguageId(e),u=k.getTokenType(e),d=k.containsBalancedBrackets(e)?1:0,m=k.getFontStyle(e),h=k.getForeground(e),p=k.getBackground(e);return t!==0&&(l=t),i!==8&&(u=i),n!==null&&(d=n?1:0),s!==-1&&(m=s),o!==0&&(h=o),c!==0&&(p=c),(l<<0|u<<8|d<<10|m<<11|h<<15|p<<24)>>>0}};function ce(r,e){const t=[],i=Qr(r);let n=i.next();for(;n!==null;){let l=0;if(n.length===2&&n.charAt(1)===":"){switch(n.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${n} in scope selector`)}n=i.next()}let u=o();if(t.push({matcher:u,priority:l}),n!==",")break;n=i.next()}return t;function s(){if(n==="-"){n=i.next();const l=s();return u=>!!l&&!l(u)}if(n==="("){n=i.next();const l=c();return n===")"&&(n=i.next()),l}if(et(n)){const l=[];do l.push(n),n=i.next();while(et(n));return u=>e(l,u)}return null}function o(){const l=[];let u=s();for(;u;)l.push(u),u=s();return d=>l.every(m=>m(d))}function c(){const l=[];let u=o();for(;u&&(l.push(u),n==="|"||n===",");){do n=i.next();while(n==="|"||n===",");u=o()}return d=>l.some(m=>m(d))}}function et(r){return!!r&&!!r.match(/[\w\.:]+/)}function Qr(r){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(r);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(r),i}}}function Dt(r){typeof r.dispose=="function"&&r.dispose()}var Q=class{constructor(r){this.scopeName=r}toKey(){return this.scopeName}},Yr=class{constructor(r,e){this.scopeName=r,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},Xr=class{constructor(){_(this,"_references",[]);_(this,"_seenReferenceKeys",new Set);_(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))}},Zr=class{constructor(r,e){_(this,"seenFullScopeRequests",new Set);_(this,"seenPartialScopeRequests",new Set);_(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 Xr;for(const t of r)ei(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 ei(r,e,t,i){const n=t.lookup(r.scopeName);if(!n){if(r.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const s=t.lookup(e);r instanceof Q?ae({baseGrammar:s,selfGrammar:n},i):xe(r.ruleName,{baseGrammar:s,selfGrammar:n,repository:n.repository},i);const o=t.injections(r.scopeName);if(o)for(const c of o)i.add(new Q(c))}function xe(r,e,t){if(e.repository&&e.repository[r]){const i=e.repository[r];ue([i],e,t)}}function ae(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&ue(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&ue(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function ue(r,e,t){for(const i of r){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const n=i.repository?Tt({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&ue(i.patterns,{...e,repository:n},t);const s=i.include;if(!s)continue;const o=Ct(s);switch(o.kind){case 0:ae({...e,selfGrammar:e.baseGrammar},t);break;case 1:ae(e,t);break;case 2:xe(o.ruleName,{...e,repository:n},t);break;case 3:case 4:const c=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(c){const l={baseGrammar:e.baseGrammar,selfGrammar:c,repository:n};o.kind===4?xe(o.ruleName,l,t):ae(l,t)}else o.kind===4?t.add(new Yr(o.scopeName,o.ruleName)):t.add(new Q(o.scopeName));break}}}var ti=class{constructor(){_(this,"kind",0)}},ri=class{constructor(){_(this,"kind",1)}},ii=class{constructor(r){_(this,"kind",2);this.ruleName=r}},ni=class{constructor(r){_(this,"kind",3);this.scopeName=r}},si=class{constructor(r,e){_(this,"kind",4);this.scopeName=r,this.ruleName=e}};function Ct(r){if(r==="$base")return new ti;if(r==="$self")return new ri;const e=r.indexOf("#");if(e===-1)return new ni(r);if(e===0)return new ii(r.substring(1));{const t=r.substring(0,e),i=r.substring(e+1);return new si(t,i)}}var oi=/\\(\d+)/,tt=/\\(\d+)/g,ai=-1,kt=-2;var ee=class{constructor(r,e,t,i){_(this,"$location");_(this,"id");_(this,"_nameIsCapturing");_(this,"_name");_(this,"_contentNameIsCapturing");_(this,"_contentName");this.$location=r,this.id=e,this._name=t||null,this._nameIsCapturing=ie.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=ie.hasCaptures(this._contentName)}get debugName(){const r=this.$location?`${Lt(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)}},li=class extends ee{constructor(e,t,i,n,s){super(e,t,i,n);_(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,i,n){throw new Error("Not supported!")}},ci=class extends ee{constructor(e,t,i,n,s){super(e,t,i,null);_(this,"_match");_(this,"captures");_(this,"_cachedCompiledPatterns");this._match=new Y(n,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,i,n){return this._getCachedCompiledPatterns(e).compileAG(e,i,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new X,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},rt=class extends ee{constructor(e,t,i,n,s){super(e,t,i,n);_(this,"hasMissingPatterns");_(this,"patterns");_(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 i of this.patterns)e.getRule(i).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,i,n){return this._getCachedCompiledPatterns(e).compileAG(e,i,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new X,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ge=class extends ee{constructor(e,t,i,n,s,o,c,l,u,d){super(e,t,i,n);_(this,"_begin");_(this,"beginCaptures");_(this,"_end");_(this,"endHasBackReferences");_(this,"endCaptures");_(this,"applyEndPatternLast");_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");this._begin=new Y(s,this.id),this.beginCaptures=o,this._end=new Y(c||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,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,i,n){return this._getCachedCompiledPatterns(e,t).compileAG(e,i,n)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new X;for(const i of this.patterns)e.getRule(i).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 ee{constructor(e,t,i,n,s,o,c,l,u){super(e,t,i,n);_(this,"_begin");_(this,"beginCaptures");_(this,"whileCaptures");_(this,"_while");_(this,"whileHasBackReferences");_(this,"hasMissingPatterns");_(this,"patterns");_(this,"_cachedCompiledPatterns");_(this,"_cachedCompiledWhilePatterns");this._begin=new Y(s,this.id),this.beginCaptures=o,this.whileCaptures=l,this._while=new Y(c,kt),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,i,n){return this._getCachedCompiledPatterns(e).compileAG(e,i,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new X;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,i,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,i,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new X,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Nt=class O{static createCaptureRule(e,t,i,n,s){return e.registerRule(o=>new li(t,o,i,n,s))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(n=>{if(e.id=n,e.match)return new ci(e.$vscodeTextmateLocation,e.id,e.name,e.match,O._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Tt({},i,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new rt(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,O._compilePatterns(s,t,i))}return e.while?new me(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,O._compileCaptures(e.whileCaptures||e.captures,t,i),O._compilePatterns(e.patterns,t,i)):new Ge(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,O._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,O._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let n=[];if(e){let s=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const c=parseInt(o,10);c>s&&(s=c)}for(let o=0;o<=s;o++)n[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const c=parseInt(o,10);let l=0;e[o].patterns&&(l=O.getCompiledRuleId(e[o],t,i)),n[c]=O.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,l)}}return n}static _compilePatterns(e,t,i){let n=[];if(e)for(let s=0,o=e.length;s<o;s++){const c=e[s];let l=-1;if(c.include){const u=Ct(c.include);switch(u.kind){case 0:case 1:l=O.getCompiledRuleId(i[c.include],t,i);break;case 2:let d=i[u.ruleName];d&&(l=O.getCompiledRuleId(d,t,i));break;case 3:case 4:const m=u.scopeName,h=u.kind===4?u.ruleName:null,p=t.getExternalGrammar(m,i);if(p)if(h){let f=p.repository[h];f&&(l=O.getCompiledRuleId(f,t,p.repository))}else l=O.getCompiledRuleId(p.repository.$self,t,p.repository);break}}else l=O.getCompiledRuleId(c,t,i);if(l!==-1){const u=t.getRule(l);let d=!1;if((u instanceof rt||u instanceof Ge||u instanceof me)&&u.hasMissingPatterns&&u.patterns.length===0&&(d=!0),d)continue;n.push(l)}}return{patterns:n,hasMissingPatterns:(e?e.length:0)!==n.length}}},Y=class Vt{constructor(e,t){_(this,"source");_(this,"ruleId");_(this,"hasAnchor");_(this,"hasBackReferences");_(this,"_anchorCache");if(e&&typeof e=="string"){const i=e.length;let n=0,s=[],o=!1;for(let c=0;c<i;c++)if(e.charAt(c)==="\\"&&c+1<i){const u=e.charAt(c+1);u==="z"?(s.push(e.substring(n,c)),s.push("$(?!\\n)(?<!\\n)"),n=c+2):(u==="A"||u==="G")&&(o=!0),c++}this.hasAnchor=o,n===0?this.source=e:(s.push(e.substring(n,i)),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=oi.test(this.source):this.hasBackReferences=!1}clone(){return new Vt(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 i=t.map(n=>e.substring(n.start,n.end));return tt.lastIndex=0,this.source.replace(tt,(n,s)=>bt(i[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=[],i=[],n=[],s,o,c,l;for(s=0,o=this.source.length;s<o;s++)c=this.source.charAt(s),e[s]=c,t[s]=c,i[s]=c,n[s]=c,c==="\\"&&s+1<o&&(l=this.source.charAt(s+1),l==="A"?(e[s+1]="",t[s+1]="",i[s+1]="A",n[s+1]="A"):l==="G"?(e[s+1]="",t[s+1]="G",i[s+1]="",n[s+1]="G"):(e[s+1]=l,t[s+1]=l,i[s+1]=l,n[s+1]=l),s++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:n.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}},X=class{constructor(){_(this,"_items");_(this,"_hasAnchors");_(this,"_cached");_(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 it(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 i=this._items.map(n=>n.resolveAnchors(e,t));return new it(r,i,this._items.map(n=>n.ruleId))}},it=class{constructor(r,e,t){_(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 i=this.scanner.findNextMatchSync(r,e,t);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},Oe=class{constructor(r,e){this.languageId=r,this.tokenType=e}},M,ui=(M=class{constructor(e,t){_(this,"_defaultAttributes");_(this,"_embeddedLanguagesMatcher");_(this,"_getBasicScopeAttributes",new St(e=>{const t=this._scopeToLanguage(e),i=this._toStandardTokenType(e);return new Oe(t,i)}));this._defaultAttributes=new Oe(e,8),this._embeddedLanguagesMatcher=new mi(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?M._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(M.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!")}},_(M,"_NULL_SCOPE_METADATA",new Oe(0,0)),_(M,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),M),mi=class{constructor(r){_(this,"values");_(this,"scopesRegExp");if(r.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(r);const e=r.map(([t,i])=>bt(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])}},nt=class{constructor(r,e){this.stack=r,this.stoppedEarly=e}};function xt(r,e,t,i,n,s,o,c){const l=e.content.length;let u=!1,d=-1;if(o){const p=di(r,e,t,i,n,s);n=p.stack,i=p.linePos,t=p.isFirstLine,d=p.anchorPosition}const m=Date.now();for(;!u;){if(c!==0&&Date.now()-m>c)return new nt(n,!0);h()}return new nt(n,!1);function h(){const p=hi(r,e,t,i,n,d);if(!p){s.produce(n,l),u=!0;return}const f=p.captureIndices,R=p.matchedRuleId,v=f&&f.length>0?f[0].end>i:!1;if(R===ai){const E=n.getRule(r);s.produce(n,f[0].start),n=n.withContentNameScopesList(n.nameScopesList),J(r,e,t,n,s,E.endCaptures,f),s.produce(n,f[0].end);const g=n;if(n=n.parent,d=g.getAnchorPos(),!v&&g.getEnterPos()===i){n=g,s.produce(n,l),u=!0;return}}else{const E=r.getRule(R);s.produce(n,f[0].start);const g=n,y=E.getName(e.content,f),A=n.contentNameScopesList.pushAttributed(y,r);if(n=n.push(R,i,d,f[0].end===l,null,A,A),E instanceof Ge){const T=E;J(r,e,t,n,s,T.beginCaptures,f),s.produce(n,f[0].end),d=f[0].end;const L=T.getContentName(e.content,f),D=A.pushAttributed(L,r);if(n=n.withContentNameScopesList(D),T.endHasBackReferences&&(n=n.withEndRule(T.getEndWithResolvedBackReferences(e.content,f))),!v&&g.hasSameRuleAs(n)){n=n.pop(),s.produce(n,l),u=!0;return}}else if(E instanceof me){const T=E;J(r,e,t,n,s,T.beginCaptures,f),s.produce(n,f[0].end),d=f[0].end;const L=T.getContentName(e.content,f),D=A.pushAttributed(L,r);if(n=n.withContentNameScopesList(D),T.whileHasBackReferences&&(n=n.withEndRule(T.getWhileWithResolvedBackReferences(e.content,f))),!v&&g.hasSameRuleAs(n)){n=n.pop(),s.produce(n,l),u=!0;return}}else if(J(r,e,t,n,s,E.captures,f),s.produce(n,f[0].end),n=n.pop(),!v){n=n.safePop(),s.produce(n,l),u=!0;return}}f[0].end>i&&(i=f[0].end,t=!1)}}function di(r,e,t,i,n,s){let o=n.beginRuleCapturedEOL?0:-1;const c=[];for(let l=n;l;l=l.pop()){const u=l.getRule(r);u instanceof me&&c.push({rule:u,stack:l})}for(let l=c.pop();l;l=c.pop()){const{ruleScanner:u,findOptions:d}=fi(l.rule,r,l.stack.endRule,t,i===o),m=u.findNextMatchSync(e,i,d);if(m){if(m.ruleId!==kt){n=l.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(s.produce(l.stack,m.captureIndices[0].start),J(r,e,t,l.stack,s,l.rule.whileCaptures,m.captureIndices),s.produce(l.stack,m.captureIndices[0].end),o=m.captureIndices[0].end,m.captureIndices[0].end>i&&(i=m.captureIndices[0].end,t=!1))}else{n=l.stack.pop();break}}return{stack:n,linePos:i,anchorPosition:o,isFirstLine:t}}function hi(r,e,t,i,n,s){const o=pi(r,e,t,i,n,s),c=r.getInjections();if(c.length===0)return o;const l=_i(c,r,e,t,i,n,s);if(!l)return o;if(!o)return l;const u=o.captureIndices[0].start,d=l.captureIndices[0].start;return d<u||l.priorityMatch&&d===u?l:o}function pi(r,e,t,i,n,s){const o=n.getRule(r),{ruleScanner:c,findOptions:l}=Gt(o,r,n.endRule,t,i===s),u=c.findNextMatchSync(e,i,l);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function _i(r,e,t,i,n,s,o){let c=Number.MAX_VALUE,l=null,u,d=0;const m=s.contentNameScopesList.getScopeNames();for(let h=0,p=r.length;h<p;h++){const f=r[h];if(!f.matcher(m))continue;const R=e.getRule(f.ruleId),{ruleScanner:v,findOptions:E}=Gt(R,e,null,i,n===o),g=v.findNextMatchSync(t,n,E);if(!g)continue;const y=g.captureIndices[0].start;if(!(y>=c)&&(c=y,l=g.captureIndices,u=g.ruleId,d=f.priority,c===n))break}return l?{priorityMatch:d===-1,captureIndices:l,matchedRuleId:u}:null}function Gt(r,e,t,i,n){return{ruleScanner:r.compileAG(e,t,i,n),findOptions:0}}function fi(r,e,t,i,n){return{ruleScanner:r.compileWhileAG(e,t,i,n),findOptions:0}}function J(r,e,t,i,n,s,o){if(s.length===0)return;const c=e.content,l=Math.min(s.length,o.length),u=[],d=o[0].end;for(let m=0;m<l;m++){const h=s[m];if(h===null)continue;const p=o[m];if(p.length===0)continue;if(p.start>d)break;for(;u.length>0&&u[u.length-1].endPos<=p.start;)n.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?n.produceFromScopes(u[u.length-1].scopes,p.start):n.produce(i,p.start),h.retokenizeCapturedWithRuleId){const R=h.getName(c,o),v=i.contentNameScopesList.pushAttributed(R,r),E=h.getContentName(c,o),g=v.pushAttributed(E,r),y=i.push(h.retokenizeCapturedWithRuleId,p.start,-1,!1,null,v,g),A=r.createOnigString(c.substring(0,p.end));xt(r,A,t&&p.start===0,p.start,y,n,!1,0),Dt(A);continue}const f=h.getName(c,o);if(f!==null){const v=(u.length>0?u[u.length-1].scopes:i.contentNameScopesList).pushAttributed(f,r);u.push(new gi(v,p.end))}}for(;u.length>0;)n.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var gi=class{constructor(r,e){_(this,"scopes");_(this,"endPos");this.scopes=r,this.endPos=e}};function Ei(r,e,t,i,n,s,o,c){return new vi(r,e,t,i,n,s,o,c)}function st(r,e,t,i,n){const s=ce(e,de),o=Nt.getCompiledRuleId(t,i,n.repository);for(const c of s)r.push({debugSelector:e,matcher:c.matcher,ruleId:o,grammar:n,priority:c.priority})}function de(r,e){if(e.length<r.length)return!1;let t=0;return r.every(i=>{for(let n=t;n<e.length;n++)if(yi(e[n],i))return t=n+1,!0;return!1})}function yi(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 vi=class{constructor(r,e,t,i,n,s,o,c){_(this,"_rootId");_(this,"_lastRuleId");_(this,"_ruleId2desc");_(this,"_includedGrammars");_(this,"_grammarRepository");_(this,"_grammar");_(this,"_injections");_(this,"_basicScopeAttributesProvider");_(this,"_tokenTypeMatchers");if(this._rootScopeName=r,this.balancedBracketSelectors=s,this._onigLib=c,this._basicScopeAttributesProvider=new ui(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=ot(e,null),this._injections=null,this._tokenTypeMatchers=[],n)for(const l of Object.keys(n)){const u=ce(l,de);for(const d of u)this._tokenTypeMatchers.push({matcher:d.matcher,type:n[l]})}}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:n=>n===this._rootScopeName?this._grammar:this.getExternalGrammar(n),injections:n=>this._grammarRepository.injections(n)},e=[],t=this._rootScopeName,i=r.lookup(t);if(i){const n=i.injections;if(n)for(let o in n)st(e,o,n[o],this,i);const s=this._grammarRepository.injections(t);s&&s.forEach(o=>{const c=this.getExternalGrammar(o);if(c){const l=c.injectionSelector;l&&st(e,l,c,this,c)}})}return e.sort((n,s)=>n.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]=ot(t,e&&e.$base),this._includedGrammars[r]}}tokenizeLine(r,e,t=0){const i=this._tokenize(r,e,!1,t);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(r,e,t=0){const i=this._tokenize(r,e,!0,t);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(r,e,t,i){this._rootId===-1&&(this._rootId=Nt.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let n;if(!e||e===Me.NULL){n=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),d=this.themeProvider.getDefaults(),m=U.set(0,u.languageId,u.tokenType,null,d.fontStyle,d.foregroundId,d.backgroundId),h=this.getRule(this._rootId).getName(null,null);let p;h?p=K.createRootAndLookUpScopeName(h,m,this):p=K.createRoot("unknown",m),e=new Me(null,this._rootId,-1,-1,!1,null,p,p)}else n=!1,e.reset();r=r+`
|
|
4
4
|
`;const s=this.createOnigString(r),o=s.content.length,c=new Ai(t,r,this._tokenTypeMatchers,this.balancedBracketSelectors),l=xt(this,s,n,0,e,c,!0,i);return Dt(s),{lineLength:o,lineTokens:c,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function ot(r,e){return r=Br(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 x{constructor(e,t,i){this.parent=e,this.scopePath=t,this.tokenAttributes=i}static fromExtension(e,t){let i=e,n=(e==null?void 0:e.scopePath)??null;for(const s of t)n=Se.push(n,s.scopeNames),i=new x(i,n,s.encodedTokenAttributes);return i}static createRoot(e,t){return new x(null,new Se(null,e),t)}static createRootAndLookUpScopeName(e,t,i){const n=i.getMetadataForScope(e),s=new Se(null,e),o=i.themeProvider.themeMatch(s),c=x.mergeAttributes(t,n,o);return new x(null,s,c)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return x.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,i){let n=-1,s=0,o=0;return i!==null&&(n=i.fontStyle,s=i.foregroundId,o=i.backgroundId),U.set(e,t.languageId,t.tokenType,null,n,s,o)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return x._pushAttributed(this,e,t);const i=e.split(/ /g);let n=this;for(const s of i)n=x._pushAttributed(n,s,t);return n}static _pushAttributed(e,t,i){const n=i.getMetadataForScope(t),s=e.scopePath.push(t),o=i.themeProvider.themeMatch(s),c=x.mergeAttributes(e.tokenAttributes,n,o);return new x(e,s,c)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var n;const t=[];let i=this;for(;i&&i!==e;)t.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((n=i.parent)==null?void 0:n.scopePath)??null)}),i=i.parent;return i===e?t.reverse():void 0}},N,Me=(N=class{constructor(e,t,i,n,s,o,c,l){_(this,"_stackElementBrand");_(this,"_enterPos");_(this,"_anchorPos");_(this,"depth");this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=c,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=n}equals(e){return e===null?!1:N._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(){N._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,i,n,s,o,c){return new N(this,e,t,i,n,s,o,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 i,n;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(n=this.contentNameScopesList)==null?void 0:n.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 N(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,i;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:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const i=K.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new N(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,K.fromExtension(i,t.contentNameScopesList))}},_(N,"NULL",new N(null,0,0,0,!1,null,null,null)),N),Ri=class{constructor(r,e){_(this,"balancedBracketScopes");_(this,"unbalancedBracketScopes");_(this,"allowAny",!1);this.balancedBracketScopes=r.flatMap(t=>t==="*"?(this.allowAny=!0,[]):ce(t,de).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>ce(t,de).map(i=>i.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}},Ai=class{constructor(r,e,t,i){_(this,"_emitBinaryTokens");_(this,"_lineText");_(this,"_tokens");_(this,"_binaryTokens");_(this,"_lastTokenEndIndex");_(this,"_tokenTypeOverrides");this.balancedBracketSelectors=i,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 i;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let n=(r==null?void 0:r.tokenAttributes)??0,s=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=(r==null?void 0:r.getScopeNames())??[];for(const c of this._tokenTypeOverrides)c.matcher(o)&&(n=U.set(n,0,c.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(n=U.set(n,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),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 i=0,n=this._binaryTokens.length;i<n;i++)t[i]=this._binaryTokens[i];return t}},Ti=class{constructor(r,e){_(this,"_grammars",new Map);_(this,"_rawGrammars",new Map);_(this,"_injectionGrammars",new Map);_(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,i,n){if(!this._grammars.has(r)){let s=this._rawGrammars.get(r);if(!s)return null;this._grammars.set(r,Ei(r,s,e,t,i,n,this,this._onigLib))}return this._grammars.get(r)}},Li=class{constructor(e){_(this,"_options");_(this,"_syncRegistry");_(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new Ti(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,i){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:i})}loadGrammarWithConfiguration(e,t,i){return this._loadGrammar(e,t,i.embeddedLanguages,i.tokenTypes,new Ri(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,i,n,s){const o=new Zr(this._syncRegistry,e);for(;o.Q.length>0;)o.Q.map(c=>this._loadSingleGrammar(c.scopeName)),o.processQueue();return this._grammarForScopeName(e,t,i,n,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 i=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,i)}}addGrammar(e,t=[],i=0,n=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,i,n)}_grammarForScopeName(e,t=0,i=null,n=null,s=null){return this._syncRegistry.grammarForScopeName(e,t,i,n,s)}},Be=Me.NULL;function he(r,e){const t=typeof r=="string"?{}:{...r.colorReplacements},i=typeof r=="string"?r:r.name;for(const[n,s]of Object.entries((e==null?void 0:e.colorReplacements)||{}))typeof s=="string"?t[n]=s:n===i&&Object.assign(t,s);return t}function $(r,e){return r&&((e==null?void 0:e[r==null?void 0:r.toLowerCase()])||r)}function Pi(r){return Array.isArray(r)?r:[r]}async function Mt(r){return Promise.resolve(typeof r=="function"?r():r).then(e=>e.default||e)}function ve(r){return!r||["plaintext","txt","text","plain"].includes(r)}function Bt(r){return r==="ansi"||ve(r)}function Re(r){return r==="none"}function jt(r){return Re(r)}const Ii=/(\r?\n)/g;function Ae(r,e=!1){var s;if(r.length===0)return[["",0]];const t=r.split(Ii);let i=0;const n=[];for(let o=0;o<t.length;o+=2){const c=e?t[o]+(t[o+1]||""):t[o];n.push([c,i]),i+=t[o].length,i+=((s=t[o+1])==null?void 0:s.length)||0}return n}const at={light:"#333333",dark:"#bbbbbb"},lt={light:"#fffffe",dark:"#1e1e1e"},ct="__shiki_resolved";function qe(r){var c,l,u,d,m;if(r!=null&&r[ct])return r;const e={...r};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||(e.type="dark"),e.colorReplacements={...e.colorReplacements},e.settings||(e.settings=[]);let{bg:t,fg:i}=e;if(!t||!i){const h=e.settings?e.settings.find(p=>!p.name&&!p.scope):void 0;(c=h==null?void 0:h.settings)!=null&&c.foreground&&(i=h.settings.foreground),(l=h==null?void 0:h.settings)!=null&&l.background&&(t=h.settings.background),!i&&((u=e==null?void 0:e.colors)!=null&&u["editor.foreground"])&&(i=e.colors["editor.foreground"]),!t&&((d=e==null?void 0:e.colors)!=null&&d["editor.background"])&&(t=e.colors["editor.background"]),i||(i=e.type==="light"?at.light:at.dark),t||(t=e.type==="light"?lt.light:lt.dark),e.fg=i,e.bg=t}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let n=0;const s=new Map;function o(h){var f;if(s.has(h))return s.get(h);n+=1;const p=`#${n.toString(16).padStart(8,"0").toLowerCase()}`;return(f=e.colorReplacements)!=null&&f[`#${p}`]?o(h):(s.set(h,p),p)}e.settings=e.settings.map(h=>{var v,E;const p=((v=h.settings)==null?void 0:v.foreground)&&!h.settings.foreground.startsWith("#"),f=((E=h.settings)==null?void 0:E.background)&&!h.settings.background.startsWith("#");if(!p&&!f)return h;const R={...h,settings:{...h.settings}};if(p){const g=o(h.settings.foreground);e.colorReplacements[g]=h.settings.foreground,R.settings.foreground=g}if(f){const g=o(h.settings.background);e.colorReplacements[g]=h.settings.background,R.settings.background=g}return R});for(const h of Object.keys(e.colors||{}))if((h==="editor.foreground"||h==="editor.background"||h.startsWith("terminal.ansi"))&&!((m=e.colors[h])!=null&&m.startsWith("#"))){const p=o(e.colors[h]);e.colorReplacements[p]=e.colors[h],e.colors[h]=p}return Object.defineProperty(e,ct,{enumerable:!1,writable:!1,value:!0}),e}async function $t(r){return[...new Set((await Promise.all(r.filter(e=>!Bt(e)).map(async e=>await Mt(e).then(t=>Array.isArray(t)?t:[t])))).flat())]}async function Wt(r){return(await Promise.all(r.map(async e=>jt(e)?null:qe(await Mt(e))))).filter(e=>!!e)}function Ut(r,e){if(!e)return r;if(e[r]){const t=new Set([r]);for(;e[r];){if(r=e[r],t.has(r))throw new P(`Circular alias \`${[...t].join(" -> ")} -> ${r}\``);t.add(r)}}return r}var bi=class extends Li{constructor(e,t,i,n={}){super(e);_(this,"_resolver");_(this,"_themes");_(this,"_langs");_(this,"_alias");_(this,"_resolvedThemes",new Map);_(this,"_resolvedGrammars",new Map);_(this,"_langMap",new Map);_(this,"_langGraph",new Map);_(this,"_textmateThemeCache",new WeakMap);_(this,"_loadedThemesCache",null);_(this,"_loadedLanguagesCache",null);this._resolver=e,this._themes=t,this._langs=i,this._alias=n,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=qe(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=le.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=Ut(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){var s,o,c,l;if(this.getGrammar(e.name))return;const t=new Set([...this._langMap.values()].filter(u=>{var d;return(d=u.embeddedLangsLazy)==null?void 0:d.includes(e.name)}));this._resolver.addLanguage(e);const i={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const n=this.loadGrammarWithConfiguration(e.scopeName,1,i);if(n.name=e.name,this._resolvedGrammars.set(e.name,n),e.aliases&&e.aliases.forEach(u=>{this._alias[u]=e.name}),this._loadedLanguagesCache=null,t.size)for(const u of t)this._resolvedGrammars.delete(u.name),this._loadedLanguagesCache=null,(o=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||o.delete(u.scopeName),(l=(c=this._syncRegistry)==null?void 0:c._grammars)==null||l.delete(u.scopeName),this.loadLanguage(this._langMap.get(u.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const n of e)this.resolveEmbeddedLanguages(n);const t=[...this._langGraph.entries()],i=t.filter(([n,s])=>!s);if(i.length){const n=t.filter(([s,o])=>{var c;return o?(c=o.embeddedLanguages||o.embeddedLangs)==null?void 0:c.some(l=>i.map(([u])=>u).includes(l)):!1}).filter(s=>!i.includes(s));throw new P(`Missing languages ${i.map(([s])=>`\`${s}\``).join(", ")}, required by ${n.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[n,s]of t)this._resolver.addLanguage(s);for(const[n,s]of t)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const i of t)this._langGraph.set(i,this._langMap.get(i))}},Si=class{constructor(r,e){_(this,"_langs",new Map);_(this,"_scopeToLang",new Map);_(this,"_injections",new Map);_(this,"_onigLib");this._onigLib={createOnigScanner:t=>r.createScanner(t),createOnigString:t=>r.createString(t)},e.forEach(t=>this.addLanguage(t))}get onigLib(){return this._onigLib}getLangRegistration(r){return this._langs.get(r)}loadGrammar(r){return this._scopeToLang.get(r)}addLanguage(r){this._langs.set(r.name,r),r.aliases&&r.aliases.forEach(e=>{this._langs.set(e,r)}),this._scopeToLang.set(r.scopeName,r),r.injectTo&&r.injectTo.forEach(e=>{this._injections.get(e)||this._injections.set(e,[]),this._injections.get(e).push(r.scopeName)})}getInjections(r){const e=r.split(".");let t=[];for(let i=1;i<=e.length;i++){const n=e.slice(0,i).join(".");t=[...t,...this._injections.get(n)||[]]}return t}};let z=0;function Oi(r){z+=1,r.warnings!==!1&&z>=10&&z%10===0&&console.warn(`[Shiki] ${z} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let e=!1;if(!r.engine)throw new P("`engine` option is required for synchronous mode");const t=(r.langs||[]).flat(1),i=(r.themes||[]).flat(1).map(qe),n=new bi(new Si(r.engine,t),i,t,r.langAlias);let s;function o(g){return Ut(g,r.langAlias)}function c(g){v();const y=n.getGrammar(typeof g=="string"?g:g.name);if(!y)throw new P(`Language \`${g}\` not found, you may need to load it first`);return y}function l(g){if(g==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};v();const y=n.getTheme(g);if(!y)throw new P(`Theme \`${g}\` not found, you may need to load it first`);return y}function u(g){v();const y=l(g);return s!==g&&(n.setTheme(y),s=g),{theme:y,colorMap:n.getColorMap()}}function d(){return v(),n.getLoadedThemes()}function m(){return v(),n.getLoadedLanguages()}function h(...g){v(),n.loadLanguages(g.flat(1))}async function p(...g){return h(await $t(g))}function f(...g){v();for(const y of g.flat(1))n.loadTheme(y)}async function R(...g){return v(),f(await Wt(g))}function v(){if(e)throw new P("Shiki instance has been disposed")}function E(){e||(e=!0,n.dispose(),z-=1)}return{setTheme:u,getTheme:l,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:m,resolveLangAlias:o,loadLanguage:p,loadLanguageSync:h,loadTheme:R,loadThemeSync:f,dispose:E,[Symbol.dispose]:E}}async function wi(r){r.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,t,i]=await Promise.all([Wt(r.themes||[]),$t(r.langs||[]),r.engine]);return Oi({...r,themes:e,langs:t,engine:i})}const Ht=new WeakMap;function Te(r,e){Ht.set(r,e)}function Z(r){return Ht.get(r)}var Le=class Ft{constructor(...e){_(this,"_stacks",{});_(this,"lang");if(e.length===2){const[t,i]=e;this.lang=i,this._stacks=t}else{const[t,i,n]=e;this.lang=i,this._stacks={[n]:t}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,t){return new Ft(Object.fromEntries(Pi(t).map(i=>[i,Be])),e)}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return Di(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function Di(r){const e=[],t=new Set;function i(n){var o;if(t.has(n))return;t.add(n);const s=(o=n==null?void 0:n.nameScopesList)==null?void 0:o.scopeName;s&&e.push(s),n.parent&&i(n.parent)}return i(r),e}function Ci(r,e){if(!(r instanceof Le))throw new P("Invalid grammar state");return r.getInternalStack(e)}const ki=/,/,Ni=/ /;function qt(r,e,t={}){const{theme:i=r.getLoadedThemes()[0]}=t;if(ve(r.resolveLangAlias(t.lang||"text"))||Re(i))return Ae(e).map(c=>[{content:c[0],offset:c[1]}]);const{theme:n,colorMap:s}=r.setTheme(i),o=r.getLanguage(t.lang||"text");if(t.grammarState){if(t.grammarState.lang!==o.name)throw new P(`Grammar state language "${t.grammarState.lang}" does not match highlight language "${o.name}"`);if(!t.grammarState.themes.includes(n.name))throw new P(`Grammar state themes "${t.grammarState.themes}" do not contain highlight theme "${n.name}"`)}return xi(e,o,n,s,t)}function Vi(...r){if(r.length===2)return Z(r[1]);const[e,t,i={}]=r,{lang:n="text",theme:s=e.getLoadedThemes()[0]}=i;if(ve(n)||Re(s))throw new P("Plain language does not have grammar state");if(n==="ansi")throw new P("ANSI language does not have grammar state");const{theme:o,colorMap:c}=e.setTheme(s),l=e.getLanguage(n);return new Le(ze(t,l,o,c,i).stateStack,l.name,o.name)}function xi(r,e,t,i,n){const s=ze(r,e,t,i,n),o=new Le(s.stateStack,e.name,t.name);return Te(s.tokens,o),s.tokens}function ze(r,e,t,i,n){const s=he(t,n),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:c=500,includeExplanation:l=!1}=n,u=Ae(r);let d=n.grammarState?Ci(n.grammarState,t.name)??Be:n.grammarContextCode!=null?ze(n.grammarContextCode,e,t,i,{...n,grammarState:void 0,grammarContextCode:void 0}).stateStack:Be,m=[];const h=[];for(let p=0,f=u.length;p<f;p++){const[R,v]=u[p];if(R===""){m=[],h.push([]);continue}if(o>0&&R.length>=o){m=[],h.push([{content:R,offset:v,color:"",fontStyle:0}]);continue}let E,g,y;l&&l!=="tokenType"&&(E=e.tokenizeLine(R,d,c),g=E.tokens,y=0);const A=e.tokenizeLine2(R,d,c),T=A.tokens.length/2;for(let L=0;L<T;L++){const D=A.tokens[2*L],H=L+1<T?A.tokens[2*L+2]:R.length;if(D===H)continue;const C=A.tokens[2*L+1],B=$(i[U.getForeground(C)],s),te=U.getFontStyle(C),j={content:R.substring(D,H),offset:v+D,color:B,fontStyle:te};if(l==="tokenType")j.type=U.getTokenType(C);else if(l){const Ke=[];if(l!=="scopeName")for(const G of t.settings){let F;switch(typeof G.scope){case"string":F=G.scope.split(ki).map(Pe=>Pe.trim());break;case"object":F=G.scope;break;default:continue}Ke.push({settings:G,selectors:F.map(Pe=>Pe.split(Ni))})}j.explanation=[];let Qe=0;for(;D+Qe<H;){const G=g[y],F=R.substring(G.startIndex,G.endIndex);Qe+=F.length,j.explanation.push({content:F,scopes:l==="scopeName"?Gi(G.scopes):Mi(Ke,G.scopes)}),y+=1}}m.push(j)}h.push(m),m=[],d=A.ruleStack}return{tokens:h,stateStack:d}}function Gi(r){return r.map(e=>({scopeName:e}))}function Mi(r,e){const t=[];for(let i=0,n=e.length;i<n;i++){const s=e[i];t[i]={scopeName:s,themeMatches:ji(r,s,e.slice(0,i))}}return t}function ut(r,e){return r===e||e.substring(0,r.length)===r&&e[r.length]==="."}function Bi(r,e,t){if(!ut(r.at(-1),e))return!1;let i=r.length-2,n=t.length-1;for(;i>=0&&n>=0;)ut(r[i],t[n])&&(i-=1),n-=1;return i===-1}function ji(r,e,t){const i=[];for(const{selectors:n,settings:s}of r)for(const o of n)if(Bi(o,e,t)){i.push(s);break}return i}function zt(r,e,t,i=qt){const n=Object.entries(t.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),s=n.map(u=>{const d=i(r,e,{...t,theme:u.theme});return{tokens:d,state:Z(d),theme:typeof u.theme=="string"?u.theme:u.theme.name}}),o=$i(...s.map(u=>u.tokens)),c=o[0].map((u,d)=>u.map((m,h)=>{const p={content:m.content,variants:{},offset:m.offset};return"includeExplanation"in t&&t.includeExplanation&&(p.explanation=m.explanation),o.forEach((f,R)=>{const{content:v,explanation:E,offset:g,...y}=f[d][h];p.variants[n[R].color]=y}),p})),l=s[0].state?new Le(Object.fromEntries(s.map(u=>{var d;return[u.theme,(d=u.state)==null?void 0:d.getInternalStack(u.theme)]})),s[0].state.lang):void 0;return l&&Te(c,l),c}function $i(...r){const e=r.map(()=>[]),t=r.length;for(let i=0;i<r[0].length;i++){const n=r.map(l=>l[i]),s=e.map(()=>[]);e.forEach((l,u)=>l.push(s[u]));const o=n.map(()=>0),c=n.map(l=>l[0]);for(;c.every(l=>l);){const l=Math.min(...c.map(u=>u.content.length));for(let u=0;u<t;u++){const d=c[u];d.content.length===l?(s[u].push(d),o[u]+=1,c[u]=n[u][o[u]]):(s[u].push({...d,content:d.content.slice(0,l)}),c[u]={...d,content:d.content.slice(l),offset:d.offset+l})}}}return e}const Wi=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Ui=/["&'<>`]/g,Hi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fi=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,qi=/[|\\{}()[\]^$+*?.]/g,mt=new WeakMap;function zi(r,e){if(r=r.replace(e.subset?Ji(e.subset):Ui,i),e.subset||e.escapeOnly)return r;return r.replace(Hi,t).replace(Fi,i);function t(n,s,o){return e.format((n.charCodeAt(0)-55296)*1024+n.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),e)}function i(n,s,o){return e.format(n.charCodeAt(0),o.charCodeAt(s+1),e)}}function Ji(r){let e=mt.get(r);return e||(e=Ki(r),mt.set(r,e)),e}function Ki(r){const e=[];let t=-1;for(;++t<r.length;)e.push(r[t].replace(qi,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const Qi=/[\dA-Fa-f]/;function Yi(r,e,t){const i="&#x"+r.toString(16).toUpperCase();return t&&e&&!Qi.test(String.fromCharCode(e))?i:i+";"}const Xi=/\d/;function Zi(r,e,t){const i="&#"+String(r);return t&&e&&!Xi.test(String.fromCharCode(e))?i:i+";"}const en=["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"],we={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:"€"},tn=["cent","copy","divide","gt","lt","not","para","times"],Jt={}.hasOwnProperty,je={};let ne;for(ne in we)Jt.call(we,ne)&&(je[we[ne]]=ne);const rn=/[^\dA-Za-z]/;function nn(r,e,t,i){const n=String.fromCharCode(r);if(Jt.call(je,n)){const s=je[n],o="&"+s;return t&&en.includes(s)&&!tn.includes(s)&&(!i||e&&e!==61&&rn.test(String.fromCharCode(e)))?o:o+";"}return""}function sn(r,e,t){let i=Yi(r,e,t.omitOptionalSemicolons),n;if((t.useNamedReferences||t.useShortestReferences)&&(n=nn(r,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!n)&&t.useShortestReferences){const s=Zi(r,e,t.omitOptionalSemicolons);s.length<i.length&&(i=s)}return n&&(!t.useShortestReferences||n.length<i.length)?n:i}function q(r,e){return zi(r,Object.assign({format:sn},e))}const on=/^>|^->|<!--|-->|--!>|<!-$/g,an=[">"],ln=["<",">"];function cn(r,e,t,i){return i.settings.bogusComments?"<?"+q(r.value,Object.assign({},i.settings.characterReferences,{subset:an}))+">":"<!--"+r.value.replace(on,n)+"-->";function n(s){return q(s,Object.assign({},i.settings.characterReferences,{subset:ln}))}}function un(r,e,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}const b=Qt(1),Kt=Qt(-1),mn=[];function Qt(r){return e;function e(t,i,n){const s=t?t.children:mn;let o=(i||0)+r,c=s[o];if(!n)for(;c&&Ue(c);)o+=r,c=s[o];return c}}const dn={}.hasOwnProperty;function Yt(r){return e;function e(t,i,n){return dn.call(r,t.tagName)&&r[t.tagName](t,i,n)}}const Je=Yt({body:pn,caption:De,colgroup:De,dd:En,dt:gn,head:De,html:hn,li:fn,optgroup:yn,option:vn,p:_n,rp:dt,rt:dt,tbody:An,td:ht,tfoot:Tn,th:ht,thead:Rn,tr:Ln});function De(r,e,t){const i=b(t,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&Ue(i.value.charAt(0)))}function hn(r,e,t){const i=b(t,e);return!i||i.type!=="comment"}function pn(r,e,t){const i=b(t,e);return!i||i.type!=="comment"}function _n(r,e,t){const i=b(t,e);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.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 fn(r,e,t){const i=b(t,e);return!i||i.type==="element"&&i.tagName==="li"}function gn(r,e,t){const i=b(t,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function En(r,e,t){const i=b(t,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function dt(r,e,t){const i=b(t,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function yn(r,e,t){const i=b(t,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function vn(r,e,t){const i=b(t,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function Rn(r,e,t){const i=b(t,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function An(r,e,t){const i=b(t,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function Tn(r,e,t){return!b(t,e)}function Ln(r,e,t){const i=b(t,e);return!i||i.type==="element"&&i.tagName==="tr"}function ht(r,e,t){const i=b(t,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const Pn=Yt({body:Sn,colgroup:On,head:bn,html:In,tbody:wn});function In(r){const e=b(r,-1);return!e||e.type!=="comment"}function bn(r){const e=new Set;for(const i of r.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(e.has(i.tagName))return!1;e.add(i.tagName)}const t=r.children[0];return!t||t.type==="element"}function Sn(r){const e=b(r,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ue(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function On(r,e,t){const i=Kt(t,e),n=b(r,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&Je(i,t.children.indexOf(i),t)?!1:!!(n&&n.type==="element"&&n.tagName==="col")}function wn(r,e,t){const i=Kt(t,e),n=b(r,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&Je(i,t.children.indexOf(i),t)?!1:!!(n&&n.type==="element"&&n.tagName==="tr")}const se={name:[[`
|
|
5
5
|
\f\r &/=>`.split(""),`
|