@vladar107/claudescope 0.3.0 → 0.4.1

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.
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-LfdN0zeE.js","assets/html-C2L_23MC.js","assets/javascript-ySlJ1b_l.js","assets/css-BPhBrDlE.js","assets/angular-ts-CKsD7JZE.js","assets/scss-C31hgJw-.js","assets/apl-BBq3IX1j.js","assets/xml-e3z08dGr.js","assets/java-xI-RfyKK.js","assets/json-BQoSv7ci.js","assets/astro-CqkE3fuf.js","assets/typescript-Dj6nwHGl.js","assets/postcss-B3ZDOciz.js","assets/blade-a8OxSdnT.js","assets/sql-COK4E0Yg.js","assets/bsl-Dgyn0ogV.js","assets/sdbl-BLhTXw86.js","assets/cairo--RitsXJZ.js","assets/python-DhUJRlN_.js","assets/cobol-PTqiYgYu.js","assets/coffee-dyiR41kL.js","assets/cpp-BksuvNSY.js","assets/regexp-DWJ3fJO_.js","assets/glsl-DBO2IWDn.js","assets/c-C3t2pwGQ.js","assets/crystal-DtDmRg-F.js","assets/shellscript-atvbtKCR.js","assets/edge-D5gP-w-T.js","assets/html-derivative-CSfWNPLT.js","assets/elixir-CLiX3zqd.js","assets/elm-CmHSxxaM.js","assets/erb-BYTLMnw6.js","assets/ruby-DeZ3UC14.js","assets/haml-B2EZWmdv.js","assets/graphql-cDcHW_If.js","assets/jsx-BAng5TT0.js","assets/tsx-B6W0miNI.js","assets/lua-CvWAzNxB.js","assets/yaml-CVw76BM1.js","assets/fortran-fixed-form-TqA4NnZg.js","assets/fortran-free-form-DKXYxT9g.js","assets/fsharp-XplgxFYe.js","assets/markdown-UIAJJxZW.js","assets/gdresource-BHYsBjWJ.js","assets/gdshader-SKMF96pI.js","assets/gdscript-DfxzS6Rs.js","assets/git-commit-i4q6IMui.js","assets/diff-BgYniUM_.js","assets/git-rebase-B-v9cOL2.js","assets/glimmer-js-D-cwc0-E.js","assets/glimmer-ts-pgjy16dm.js","assets/hack-D1yCygmZ.js","assets/handlebars-BQGss363.js","assets/http-FRrOvY1W.js","assets/hxml-TIA70rKU.js","assets/haxe-C5wWYbrZ.js","assets/imba-bv_oIlVt.js","assets/jinja-DGy0s7-h.js","assets/jison-BqZprYcd.js","assets/julia-BBuGR-5E.js","assets/r-CwjWoCRV.js","assets/latex-C-cWTeAZ.js","assets/tex-rYs2v40G.js","assets/liquid-D3W5UaiH.js","assets/marko-z0MBrx5-.js","assets/less-BfCpw3nA.js","assets/mdc-DB_EDNY_.js","assets/nginx-D_VnBJ67.js","assets/nim-ZlGxZxc3.js","assets/perl-CHQXSrWU.js","assets/php-B5ebYQev.js","assets/pug-CM9l7STV.js","assets/qml-D8XfuvdV.js","assets/razor-CNLDkMZG.js","assets/csharp-D9R-vmeu.js","assets/rst-4NLicBqY.js","assets/cmake-DbXoA79R.js","assets/sas-BmTFh92c.js","assets/shaderlab-B7qAK45m.js","assets/hlsl-ifBTmRxC.js","assets/shellsession-C_rIy8kc.js","assets/soy-C-lX7w71.js","assets/sparql-bYkjHRlG.js","assets/turtle-BMR_PYu6.js","assets/stata-DorPZHa4.js","assets/svelte-MSaWC3Je.js","assets/templ-dwX3ZSMB.js","assets/go-B1SYOhNW.js","assets/ts-tags-CipyTH0X.js","assets/twig-NC5TFiHP.js","assets/vue-BuYVFjOK.js","assets/vue-html-xdeiXROB.js","assets/xsl-Dd0NUgwM.js"])))=>i.map(i=>d[i]);
2
- var qt=Object.defineProperty;var zt=(r,e,t)=>e in r?qt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var _=(r,e,t)=>zt(r,typeof e!="symbol"?e+"":e,t);import{_ as l,w as Me,s as ht,f as Jt,a as Kt,b as Qt,c as Je,h as Xt}from"./index-j_URPl55.js";const Ke={}.hasOwnProperty;function Yt(r,e){const t=e||{};function i(n,...s){let o=i.invalid;const c=i.handlers;if(n&&Ke.call(n,r)){const a=String(n[r]);o=Ke.call(c,a)?c[a]:i.unknown}if(o)return o.call(this,n,...s)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const pt=[{id:"abap",name:"ABAP",import:()=>l(()=>import("./abap-DsBKuouk.js"),[])},{id:"actionscript-3",name:"ActionScript",import:()=>l(()=>import("./actionscript-3-D_z4Izcz.js"),[])},{id:"ada",name:"Ada",import:()=>l(()=>import("./ada-727ZlQH0.js"),[])},{id:"angular-html",name:"Angular HTML",import:()=>l(()=>import("./angular-html-LfdN0zeE.js").then(r=>r.f),__vite__mapDeps([0,1,2,3]))},{id:"angular-ts",name:"Angular TypeScript",import:()=>l(()=>import("./angular-ts-CKsD7JZE.js"),__vite__mapDeps([4,0,1,2,3,5]))},{id:"apache",name:"Apache Conf",import:()=>l(()=>import("./apache-Dn00JSTd.js"),[])},{id:"apex",name:"Apex",import:()=>l(()=>import("./apex-COJ4H7py.js"),[])},{id:"apl",name:"APL",import:()=>l(()=>import("./apl-BBq3IX1j.js"),__vite__mapDeps([6,1,2,3,7,8,9]))},{id:"applescript",name:"AppleScript",import:()=>l(()=>import("./applescript-Bu5BbsvL.js"),[])},{id:"ara",name:"Ara",import:()=>l(()=>import("./ara-7O62HKoU.js"),[])},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>l(()=>import("./asciidoc-BPT9niGB.js"),[])},{id:"asm",name:"Assembly",import:()=>l(()=>import("./asm-Dhn9LcZ4.js"),[])},{id:"astro",name:"Astro",import:()=>l(()=>import("./astro-CqkE3fuf.js"),__vite__mapDeps([10,9,2,11,3,12]))},{id:"awk",name:"AWK",import:()=>l(()=>import("./awk-eg146-Ew.js"),[])},{id:"ballerina",name:"Ballerina",import:()=>l(()=>import("./ballerina-Du268qiB.js"),[])},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>l(()=>import("./bat-fje9CFhw.js"),[])},{id:"beancount",name:"Beancount",import:()=>l(()=>import("./beancount-BwXTMy5W.js"),[])},{id:"berry",name:"Berry",aliases:["be"],import:()=>l(()=>import("./berry-3xVqZejG.js"),[])},{id:"bibtex",name:"BibTeX",import:()=>l(()=>import("./bibtex-xW4inM5L.js"),[])},{id:"bicep",name:"Bicep",import:()=>l(()=>import("./bicep-DHo0CJ0O.js"),[])},{id:"blade",name:"Blade",import:()=>l(()=>import("./blade-a8OxSdnT.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>l(()=>import("./bsl-Dgyn0ogV.js"),__vite__mapDeps([15,16]))},{id:"c",name:"C",import:()=>l(()=>import("./c-C3t2pwGQ.js"),[])},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>l(()=>import("./cadence-DNquZEk8.js"),[])},{id:"cairo",name:"Cairo",import:()=>l(()=>import("./cairo--RitsXJZ.js"),__vite__mapDeps([17,18]))},{id:"clarity",name:"Clarity",import:()=>l(()=>import("./clarity-BHOwM8T6.js"),[])},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>l(()=>import("./clojure-DxSadP1t.js"),[])},{id:"cmake",name:"CMake",import:()=>l(()=>import("./cmake-DbXoA79R.js"),[])},{id:"cobol",name:"COBOL",import:()=>l(()=>import("./cobol-PTqiYgYu.js"),__vite__mapDeps([19,1,2,3,8]))},{id:"codeowners",name:"CODEOWNERS",import:()=>l(()=>import("./codeowners-Bp6g37R7.js"),[])},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>l(()=>import("./codeql-sacFqUAJ.js"),[])},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>l(()=>import("./coffee-dyiR41kL.js"),__vite__mapDeps([20,2]))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>l(()=>import("./common-lisp-C7gG9l05.js"),[])},{id:"coq",name:"Coq",import:()=>l(()=>import("./coq-Dsg_Bt_b.js"),[])},{id:"cpp",name:"C++",aliases:["c++"],import:()=>l(()=>import("./cpp-BksuvNSY.js"),__vite__mapDeps([21,22,23,24,14]))},{id:"crystal",name:"Crystal",import:()=>l(()=>import("./crystal-DtDmRg-F.js"),__vite__mapDeps([25,1,2,3,14,24,26]))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>l(()=>import("./csharp-D9R-vmeu.js"),[])},{id:"css",name:"CSS",import:()=>l(()=>import("./css-BPhBrDlE.js"),[])},{id:"csv",name:"CSV",import:()=>l(()=>import("./csv-B0qRVHPH.js"),[])},{id:"cue",name:"CUE",import:()=>l(()=>import("./cue-DtFQj3wx.js"),[])},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>l(()=>import("./cypher-m2LEI-9-.js"),[])},{id:"d",name:"D",import:()=>l(()=>import("./d-BoXegm-a.js"),[])},{id:"dart",name:"Dart",import:()=>l(()=>import("./dart-B9wLZaAG.js"),[])},{id:"dax",name:"DAX",import:()=>l(()=>import("./dax-ClGRhx96.js"),[])},{id:"desktop",name:"Desktop",import:()=>l(()=>import("./desktop-DEIpsLCJ.js"),[])},{id:"diff",name:"Diff",import:()=>l(()=>import("./diff-BgYniUM_.js"),[])},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>l(()=>import("./docker-COcR7UxN.js"),[])},{id:"dotenv",name:"dotEnv",import:()=>l(()=>import("./dotenv-BjQB5zDj.js"),[])},{id:"dream-maker",name:"Dream Maker",import:()=>l(()=>import("./dream-maker-C-nORZOA.js"),[])},{id:"edge",name:"Edge",import:()=>l(()=>import("./edge-D5gP-w-T.js"),__vite__mapDeps([27,11,1,2,3,28]))},{id:"elixir",name:"Elixir",import:()=>l(()=>import("./elixir-CLiX3zqd.js"),__vite__mapDeps([29,1,2,3]))},{id:"elm",name:"Elm",import:()=>l(()=>import("./elm-CmHSxxaM.js"),__vite__mapDeps([30,23,24]))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>l(()=>import("./emacs-lisp-BX77sIaO.js"),[])},{id:"erb",name:"ERB",import:()=>l(()=>import("./erb-BYTLMnw6.js"),__vite__mapDeps([31,1,2,3,32,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>l(()=>import("./erlang-B-DoSBHF.js"),[])},{id:"fennel",name:"Fennel",import:()=>l(()=>import("./fennel-bCA53EVm.js"),[])},{id:"fish",name:"Fish",import:()=>l(()=>import("./fish-w-ucz2PV.js"),[])},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>l(()=>import("./fluent-Dayu4EKP.js"),[])},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>l(()=>import("./fortran-fixed-form-TqA4NnZg.js"),__vite__mapDeps([39,40]))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>l(()=>import("./fortran-free-form-DKXYxT9g.js"),[])},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>l(()=>import("./fsharp-XplgxFYe.js"),__vite__mapDeps([41,42]))},{id:"gdresource",name:"GDResource",import:()=>l(()=>import("./gdresource-BHYsBjWJ.js"),__vite__mapDeps([43,44,45]))},{id:"gdscript",name:"GDScript",import:()=>l(()=>import("./gdscript-DfxzS6Rs.js"),[])},{id:"gdshader",name:"GDShader",import:()=>l(()=>import("./gdshader-SKMF96pI.js"),[])},{id:"genie",name:"Genie",import:()=>l(()=>import("./genie-ajMbGru0.js"),[])},{id:"gherkin",name:"Gherkin",import:()=>l(()=>import("./gherkin--30QC5Em.js"),[])},{id:"git-commit",name:"Git Commit Message",import:()=>l(()=>import("./git-commit-i4q6IMui.js"),__vite__mapDeps([46,47]))},{id:"git-rebase",name:"Git Rebase Message",import:()=>l(()=>import("./git-rebase-B-v9cOL2.js"),__vite__mapDeps([48,26]))},{id:"gleam",name:"Gleam",import:()=>l(()=>import("./gleam-B430Bg39.js"),[])},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>l(()=>import("./glimmer-js-D-cwc0-E.js"),__vite__mapDeps([49,2,11,3,1]))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>l(()=>import("./glimmer-ts-pgjy16dm.js"),__vite__mapDeps([50,11,3,2,1]))},{id:"glsl",name:"GLSL",import:()=>l(()=>import("./glsl-DBO2IWDn.js"),__vite__mapDeps([23,24]))},{id:"gnuplot",name:"Gnuplot",import:()=>l(()=>import("./gnuplot-CM8KxXT1.js"),[])},{id:"go",name:"Go",import:()=>l(()=>import("./go-B1SYOhNW.js"),[])},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>l(()=>import("./graphql-cDcHW_If.js"),__vite__mapDeps([34,2,11,35,36]))},{id:"groovy",name:"Groovy",import:()=>l(()=>import("./groovy-DkBy-JyN.js"),[])},{id:"hack",name:"Hack",import:()=>l(()=>import("./hack-D1yCygmZ.js"),__vite__mapDeps([51,1,2,3,14]))},{id:"haml",name:"Ruby Haml",import:()=>l(()=>import("./haml-B2EZWmdv.js"),__vite__mapDeps([33,2,3]))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>l(()=>import("./handlebars-BQGss363.js"),__vite__mapDeps([52,1,2,3,38]))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>l(()=>import("./haskell-BILxekzW.js"),[])},{id:"haxe",name:"Haxe",import:()=>l(()=>import("./haxe-C5wWYbrZ.js"),[])},{id:"hcl",name:"HashiCorp HCL",import:()=>l(()=>import("./hcl-HzYwdGDm.js"),[])},{id:"hjson",name:"Hjson",import:()=>l(()=>import("./hjson-T-Tgc4AT.js"),[])},{id:"hlsl",name:"HLSL",import:()=>l(()=>import("./hlsl-ifBTmRxC.js"),[])},{id:"html",name:"HTML",import:()=>l(()=>import("./html-C2L_23MC.js"),__vite__mapDeps([1,2,3]))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>l(()=>import("./html-derivative-CSfWNPLT.js"),__vite__mapDeps([28,1,2,3]))},{id:"http",name:"HTTP",import:()=>l(()=>import("./http-FRrOvY1W.js"),__vite__mapDeps([53,26,9,7,8,34,2,11,35,36]))},{id:"hxml",name:"HXML",import:()=>l(()=>import("./hxml-TIA70rKU.js"),__vite__mapDeps([54,55]))},{id:"hy",name:"Hy",import:()=>l(()=>import("./hy-BMj5Y0dO.js"),[])},{id:"imba",name:"Imba",import:()=>l(()=>import("./imba-bv_oIlVt.js"),__vite__mapDeps([56,11]))},{id:"ini",name:"INI",aliases:["properties"],import:()=>l(()=>import("./ini-BjABl1g7.js"),[])},{id:"java",name:"Java",import:()=>l(()=>import("./java-xI-RfyKK.js"),[])},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>l(()=>import("./javascript-ySlJ1b_l.js"),[])},{id:"jinja",name:"Jinja",import:()=>l(()=>import("./jinja-DGy0s7-h.js"),__vite__mapDeps([57,1,2,3]))},{id:"jison",name:"Jison",import:()=>l(()=>import("./jison-BqZprYcd.js"),__vite__mapDeps([58,2]))},{id:"json",name:"JSON",import:()=>l(()=>import("./json-BQoSv7ci.js"),[])},{id:"json5",name:"JSON5",import:()=>l(()=>import("./json5-w8dY5SsB.js"),[])},{id:"jsonc",name:"JSON with Comments",import:()=>l(()=>import("./jsonc-TU54ms6u.js"),[])},{id:"jsonl",name:"JSON Lines",import:()=>l(()=>import("./jsonl-DREVFZK8.js"),[])},{id:"jsonnet",name:"Jsonnet",import:()=>l(()=>import("./jsonnet-BfivnA6A.js"),[])},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>l(()=>import("./jssm-P4WzXJd0.js"),[])},{id:"jsx",name:"JSX",import:()=>l(()=>import("./jsx-BAng5TT0.js"),[])},{id:"julia",name:"Julia",aliases:["jl"],import:()=>l(()=>import("./julia-BBuGR-5E.js"),__vite__mapDeps([59,21,22,23,24,14,18,2,60]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>l(()=>import("./kotlin-B5lbUyaz.js"),[])},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>l(()=>import("./kusto-mebxcVVE.js"),[])},{id:"latex",name:"LaTeX",import:()=>l(()=>import("./latex-C-cWTeAZ.js"),__vite__mapDeps([61,62,60]))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>l(()=>import("./lean-XBlWyCtg.js"),[])},{id:"less",name:"Less",import:()=>l(()=>import("./less-BfCpw3nA.js"),[])},{id:"liquid",name:"Liquid",import:()=>l(()=>import("./liquid-D3W5UaiH.js"),__vite__mapDeps([63,1,2,3,9]))},{id:"log",name:"Log file",import:()=>l(()=>import("./log-Cc5clBb7.js"),[])},{id:"logo",name:"Logo",import:()=>l(()=>import("./logo-IuBKFhSY.js"),[])},{id:"lua",name:"Lua",import:()=>l(()=>import("./lua-CvWAzNxB.js"),__vite__mapDeps([37,24]))},{id:"luau",name:"Luau",import:()=>l(()=>import("./luau-Du5NY7AG.js"),[])},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>l(()=>import("./make-Bvotw-X0.js"),[])},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>l(()=>import("./markdown-UIAJJxZW.js"),[])},{id:"marko",name:"Marko",import:()=>l(()=>import("./marko-z0MBrx5-.js"),__vite__mapDeps([64,3,65,5,2]))},{id:"matlab",name:"MATLAB",import:()=>l(()=>import("./matlab-D9-PGadD.js"),[])},{id:"mdc",name:"MDC",import:()=>l(()=>import("./mdc-DB_EDNY_.js"),__vite__mapDeps([66,42,38,28,1,2,3]))},{id:"mdx",name:"MDX",import:()=>l(()=>import("./mdx-sdHcTMYB.js"),[])},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>l(()=>import("./mermaid-Ci6OQyBP.js"),[])},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>l(()=>import("./mipsasm-BC5c_5Pe.js"),[])},{id:"mojo",name:"Mojo",import:()=>l(()=>import("./mojo-Tz6hzZYG.js"),[])},{id:"move",name:"Move",import:()=>l(()=>import("./move-DB_GagMm.js"),[])},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>l(()=>import("./narrat-DLbgOhZU.js"),[])},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>l(()=>import("./nextflow-B0XVJmRM.js"),[])},{id:"nginx",name:"Nginx",import:()=>l(()=>import("./nginx-D_VnBJ67.js"),__vite__mapDeps([67,37,24]))},{id:"nim",name:"Nim",import:()=>l(()=>import("./nim-ZlGxZxc3.js"),__vite__mapDeps([68,24,1,2,3,7,8,23,42]))},{id:"nix",name:"Nix",import:()=>l(()=>import("./nix-shcSOmrb.js"),[])},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>l(()=>import("./nushell-D4Tzg5kh.js"),[])},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>l(()=>import("./objective-c-Deuh7S70.js"),[])},{id:"objective-cpp",name:"Objective-C++",import:()=>l(()=>import("./objective-cpp-BUEGK8hf.js"),[])},{id:"ocaml",name:"OCaml",import:()=>l(()=>import("./ocaml-BNioltXt.js"),[])},{id:"pascal",name:"Pascal",import:()=>l(()=>import("./pascal-JqZropPD.js"),[])},{id:"perl",name:"Perl",import:()=>l(()=>import("./perl-CHQXSrWU.js"),__vite__mapDeps([69,1,2,3,7,8,14]))},{id:"php",name:"PHP",import:()=>l(()=>import("./php-B5ebYQev.js"),__vite__mapDeps([70,1,2,3,7,8,14,9]))},{id:"plsql",name:"PL/SQL",import:()=>l(()=>import("./plsql-LKU2TuZ1.js"),[])},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>l(()=>import("./po-BFLt1xDp.js"),[])},{id:"polar",name:"Polar",import:()=>l(()=>import("./polar-DKykz6zU.js"),[])},{id:"postcss",name:"PostCSS",import:()=>l(()=>import("./postcss-B3ZDOciz.js"),[])},{id:"powerquery",name:"PowerQuery",import:()=>l(()=>import("./powerquery-CSHBycmS.js"),[])},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>l(()=>import("./powershell-BIEUsx6d.js"),[])},{id:"prisma",name:"Prisma",import:()=>l(()=>import("./prisma-B48N-Iqd.js"),[])},{id:"prolog",name:"Prolog",import:()=>l(()=>import("./prolog-BY-TUvya.js"),[])},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>l(()=>import("./proto-zocC4JxJ.js"),[])},{id:"pug",name:"Pug",aliases:["jade"],import:()=>l(()=>import("./pug-CM9l7STV.js"),__vite__mapDeps([71,2,3,1]))},{id:"puppet",name:"Puppet",import:()=>l(()=>import("./puppet-Cza_XSSt.js"),[])},{id:"purescript",name:"PureScript",import:()=>l(()=>import("./purescript-Bg-kzb6g.js"),[])},{id:"python",name:"Python",aliases:["py"],import:()=>l(()=>import("./python-DhUJRlN_.js"),[])},{id:"qml",name:"QML",import:()=>l(()=>import("./qml-D8XfuvdV.js"),__vite__mapDeps([72,2]))},{id:"qmldir",name:"QML Directory",import:()=>l(()=>import("./qmldir-C8lEn-DE.js"),[])},{id:"qss",name:"Qt Style Sheets",import:()=>l(()=>import("./qss-DhMKtDLN.js"),[])},{id:"r",name:"R",import:()=>l(()=>import("./r-CwjWoCRV.js"),[])},{id:"racket",name:"Racket",import:()=>l(()=>import("./racket-CzouJOBO.js"),[])},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>l(()=>import("./raku-B1bQXN8T.js"),[])},{id:"razor",name:"ASP.NET Razor",import:()=>l(()=>import("./razor-CNLDkMZG.js"),__vite__mapDeps([73,1,2,3,74]))},{id:"reg",name:"Windows Registry Script",import:()=>l(()=>import("./reg-5LuOXUq_.js"),[])},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>l(()=>import("./regexp-DWJ3fJO_.js"),[])},{id:"rel",name:"Rel",import:()=>l(()=>import("./rel-DJlmqQ1C.js"),[])},{id:"riscv",name:"RISC-V",import:()=>l(()=>import("./riscv-QhoSD0DR.js"),[])},{id:"rst",name:"reStructuredText",import:()=>l(()=>import("./rst-4NLicBqY.js"),__vite__mapDeps([75,28,1,2,3,21,22,23,24,14,18,26,38,76,32,33,7,8,34,11,35,36,37]))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>l(()=>import("./ruby-DeZ3UC14.js"),__vite__mapDeps([32,1,2,3,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>l(()=>import("./rust-Be6lgOlo.js"),[])},{id:"sas",name:"SAS",import:()=>l(()=>import("./sas-BmTFh92c.js"),__vite__mapDeps([77,14]))},{id:"sass",name:"Sass",import:()=>l(()=>import("./sass-BJ4Li9vH.js"),[])},{id:"scala",name:"Scala",import:()=>l(()=>import("./scala-DQVVAn-B.js"),[])},{id:"scheme",name:"Scheme",import:()=>l(()=>import("./scheme-BJGe-b2p.js"),[])},{id:"scss",name:"SCSS",import:()=>l(()=>import("./scss-C31hgJw-.js"),__vite__mapDeps([5,3]))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>l(()=>import("./sdbl-BLhTXw86.js"),[])},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>l(()=>import("./shaderlab-B7qAK45m.js"),__vite__mapDeps([78,79]))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>l(()=>import("./shellscript-atvbtKCR.js"),[])},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>l(()=>import("./shellsession-C_rIy8kc.js"),__vite__mapDeps([80,26]))},{id:"smalltalk",name:"Smalltalk",import:()=>l(()=>import("./smalltalk-DkLiglaE.js"),[])},{id:"solidity",name:"Solidity",import:()=>l(()=>import("./solidity-C1w2a3ep.js"),[])},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>l(()=>import("./soy-C-lX7w71.js"),__vite__mapDeps([81,1,2,3]))},{id:"sparql",name:"SPARQL",import:()=>l(()=>import("./sparql-bYkjHRlG.js"),__vite__mapDeps([82,83]))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>l(()=>import("./splunk-Cf8iN4DR.js"),[])},{id:"sql",name:"SQL",import:()=>l(()=>import("./sql-COK4E0Yg.js"),[])},{id:"ssh-config",name:"SSH Config",import:()=>l(()=>import("./ssh-config-BknIz3MU.js"),[])},{id:"stata",name:"Stata",import:()=>l(()=>import("./stata-DorPZHa4.js"),__vite__mapDeps([84,14]))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>l(()=>import("./stylus-BeQkCIfX.js"),[])},{id:"svelte",name:"Svelte",import:()=>l(()=>import("./svelte-MSaWC3Je.js"),__vite__mapDeps([85,2,11,3,12]))},{id:"swift",name:"Swift",import:()=>l(()=>import("./swift-BSxZ-RaX.js"),[])},{id:"system-verilog",name:"SystemVerilog",import:()=>l(()=>import("./system-verilog-C7L56vO4.js"),[])},{id:"systemd",name:"Systemd Units",import:()=>l(()=>import("./systemd-CUnW07Te.js"),[])},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>l(()=>import("./talonscript-C1XDQQGZ.js"),[])},{id:"tasl",name:"Tasl",import:()=>l(()=>import("./tasl-CQjiPCtT.js"),[])},{id:"tcl",name:"Tcl",import:()=>l(()=>import("./tcl-DQ1-QYvQ.js"),[])},{id:"templ",name:"Templ",import:()=>l(()=>import("./templ-dwX3ZSMB.js"),__vite__mapDeps([86,87,2,3]))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>l(()=>import("./terraform-BbSNqyBO.js"),[])},{id:"tex",name:"TeX",import:()=>l(()=>import("./tex-rYs2v40G.js"),__vite__mapDeps([62,60]))},{id:"toml",name:"TOML",import:()=>l(()=>import("./toml-CB2ApiWb.js"),[])},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>l(()=>import("./ts-tags-CipyTH0X.js"),__vite__mapDeps([88,11,3,2,23,24,1,14,7,8]))},{id:"tsv",name:"TSV",import:()=>l(()=>import("./tsv-B_m7g4N7.js"),[])},{id:"tsx",name:"TSX",import:()=>l(()=>import("./tsx-B6W0miNI.js"),[])},{id:"turtle",name:"Turtle",import:()=>l(()=>import("./turtle-BMR_PYu6.js"),[])},{id:"twig",name:"Twig",import:()=>l(()=>import("./twig-NC5TFiHP.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,14,9,18,32,33,34,11,35,36,21,22,23,24,26,37,38]))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>l(()=>import("./typescript-Dj6nwHGl.js"),[])},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>l(()=>import("./typespec-BpWG_bgh.js"),[])},{id:"typst",name:"Typst",aliases:["typ"],import:()=>l(()=>import("./typst-BVUVsWT6.js"),[])},{id:"v",name:"V",import:()=>l(()=>import("./v-CAQ2eGtk.js"),[])},{id:"vala",name:"Vala",import:()=>l(()=>import("./vala-BFOHcciG.js"),[])},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>l(()=>import("./vb-CdO5JTpU.js"),[])},{id:"verilog",name:"Verilog",import:()=>l(()=>import("./verilog-CJaU5se_.js"),[])},{id:"vhdl",name:"VHDL",import:()=>l(()=>import("./vhdl-DYoNaHQp.js"),[])},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>l(()=>import("./viml-m4uW47V2.js"),[])},{id:"vue",name:"Vue",import:()=>l(()=>import("./vue-BuYVFjOK.js"),__vite__mapDeps([90,1,2,3,11,9,28]))},{id:"vue-html",name:"Vue HTML",import:()=>l(()=>import("./vue-html-xdeiXROB.js"),__vite__mapDeps([91,90,1,2,3,11,9,28]))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>l(()=>import("./vyper-nyqBNV6O.js"),[])},{id:"wasm",name:"WebAssembly",import:()=>l(()=>import("./wasm-C6j12Q_x.js"),[])},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>l(()=>import("./wenyan-7A4Fjokl.js"),[])},{id:"wgsl",name:"WGSL",import:()=>l(()=>import("./wgsl-CB0Krxn9.js"),[])},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>l(()=>import("./wikitext-DCE3LsBG.js"),[])},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>l(()=>import("./wolfram-C3FkfJm5.js"),[])},{id:"xml",name:"XML",import:()=>l(()=>import("./xml-e3z08dGr.js"),__vite__mapDeps([7,8]))},{id:"xsl",name:"XSL",import:()=>l(()=>import("./xsl-Dd0NUgwM.js"),__vite__mapDeps([92,7,8]))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>l(()=>import("./yaml-CVw76BM1.js"),[])},{id:"zenscript",name:"ZenScript",import:()=>l(()=>import("./zenscript-HnGAYVZD.js"),[])},{id:"zig",name:"Zig",import:()=>l(()=>import("./zig-BVz_zdnA.js"),[])}],Zt=Object.fromEntries(pt.map(r=>[r.id,r.import])),er=Object.fromEntries(pt.flatMap(r=>{var e;return((e=r.aliases)==null?void 0:e.map(t=>[t,r.import]))||[]})),tr={...Zt,...er},rr=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>l(()=>import("./andromeeda-C3khCPGq.js"),[])},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>l(()=>import("./aurora-x-D-2ljcwZ.js"),[])},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>l(()=>import("./ayu-dark-Cv9koXgw.js"),[])},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>l(()=>import("./catppuccin-frappe-CD_QflpE.js"),[])},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>l(()=>import("./catppuccin-latte-DRW-0cLl.js"),[])},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>l(()=>import("./catppuccin-macchiato-C-_shW-Y.js"),[])},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>l(()=>import("./catppuccin-mocha-LGGdnPYs.js"),[])},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>l(()=>import("./dark-plus-C3mMm8J8.js"),[])},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>l(()=>import("./dracula-BzJJZx-M.js"),[])},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>l(()=>import("./dracula-soft-BXkSAIEj.js"),[])},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>l(()=>import("./everforest-dark-BgDCqdQA.js"),[])},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>l(()=>import("./everforest-light-C8M2exoo.js"),[])},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>l(()=>import("./github-dark-DHJKELXO.js"),[])},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>l(()=>import("./github-dark-default-Cuk6v7N8.js"),[])},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>l(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[])},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>l(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[])},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>l(()=>import("./github-light-DAi9KRSo.js"),[])},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>l(()=>import("./github-light-default-D7oLnXFd.js"),[])},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>l(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[])},{id:"houston",displayName:"Houston",type:"dark",import:()=>l(()=>import("./houston-DnULxvSX.js"),[])},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>l(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[])},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>l(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[])},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>l(()=>import("./kanagawa-wave-DWedfzmr.js"),[])},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>l(()=>import("./laserwave-DUszq2jm.js"),[])},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>l(()=>import("./light-plus-B7mTdjB0.js"),[])},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>l(()=>import("./material-theme-D5KoaKCx.js"),[])},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>l(()=>import("./material-theme-darker-BfHTSMKl.js"),[])},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>l(()=>import("./material-theme-lighter-B0m2ddpp.js"),[])},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>l(()=>import("./material-theme-ocean-CyktbL80.js"),[])},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>l(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[])},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>l(()=>import("./min-dark-CafNBF8u.js"),[])},{id:"min-light",displayName:"Min Light",type:"light",import:()=>l(()=>import("./min-light-CTRr51gU.js"),[])},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>l(()=>import("./monokai-D4h5O-jR.js"),[])},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>l(()=>import("./night-owl-C39BiMTA.js"),[])},{id:"nord",displayName:"Nord",type:"dark",import:()=>l(()=>import("./nord-Ddv68eIx.js"),[])},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>l(()=>import("./one-dark-pro-GBQ2dnAY.js"),[])},{id:"one-light",displayName:"One Light",type:"light",import:()=>l(()=>import("./one-light-PoHY5YXO.js"),[])},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>l(()=>import("./plastic-3e1v2bzS.js"),[])},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>l(()=>import("./poimandres-CS3Unz2-.js"),[])},{id:"red",displayName:"Red",type:"dark",import:()=>l(()=>import("./red-bN70gL4F.js"),[])},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>l(()=>import("./rose-pine-CmCqftbK.js"),[])},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>l(()=>import("./rose-pine-dawn-Ds-gbosJ.js"),[])},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>l(()=>import("./rose-pine-moon-CjDtw9vr.js"),[])},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>l(()=>import("./slack-dark-BthQWCQV.js"),[])},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>l(()=>import("./slack-ochin-DqwNpetd.js"),[])},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>l(()=>import("./snazzy-light-Bw305WKR.js"),[])},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>l(()=>import("./solarized-dark-DXbdFlpD.js"),[])},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>l(()=>import("./solarized-light-L9t79GZl.js"),[])},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>l(()=>import("./synthwave-84-CbfX1IO0.js"),[])},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>l(()=>import("./tokyo-night-DBQeEorK.js"),[])},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>l(()=>import("./vesper-BEBZ7ncR.js"),[])},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>l(()=>import("./vitesse-black-Bkuqu6BP.js"),[])},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>l(()=>import("./vitesse-dark-D0r3Knsf.js"),[])},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>l(()=>import("./vitesse-light-CVO1_9PV.js"),[])}],ir=Object.fromEntries(rr.map(r=>[r.id,r.import]));let B=class extends Error{constructor(e){super(e),this.name="ShikiError"}},Be=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function nr(){return 2147483648}function sr(){return typeof performance<"u"?performance.now():Date.now()}const or=(r,e)=>r+(e-r%e)%e;async function ar(r){let e,t;const i={};function n(h){t=h,i.HEAPU8=new Uint8Array(h),i.HEAPU32=new Uint32Array(h)}function s(h,f,A){i.HEAPU8.copyWithin(h,f,f+A)}function o(h){try{return e.grow(h-t.byteLength+65535>>>16),n(e.buffer),1}catch{}}function c(h){const f=i.HEAPU8.length;h=h>>>0;const A=nr();if(h>A)return!1;for(let E=1;E<=4;E*=2){let g=f*(1+.2/E);g=Math.min(g,h+100663296);const y=Math.min(A,or(Math.max(h,g),65536));if(o(y))return!0}return!1}const a=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(h,f,A=1024){const E=f+A;let g=f;for(;h[g]&&!(g>=E);)++g;if(g-f>16&&h.buffer&&a)return a.decode(h.subarray(f,g));let y="";for(;f<g;){let R=h[f++];if(!(R&128)){y+=String.fromCharCode(R);continue}const v=h[f++]&63;if((R&224)===192){y+=String.fromCharCode((R&31)<<6|v);continue}const T=h[f++]&63;if((R&240)===224?R=(R&15)<<12|v<<6|T:R=(R&7)<<18|v<<12|T<<6|h[f++]&63,R<65536)y+=String.fromCharCode(R);else{const w=R-65536;y+=String.fromCharCode(55296|w>>10,56320|w&1023)}}return y}function m(h,f){return h?u(i.HEAPU8,h,f):""}const d={emscripten_get_now:sr,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function p(){const f=await r({env:d,wasi_snapshot_preview1:d});e=f.memory,n(e.buffer),Object.assign(i,f),i.UTF8ToString=m}return await p(),i}var cr=Object.defineProperty,lr=(r,e,t)=>e in r?cr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,P=(r,e,t)=>(lr(r,typeof e!="symbol"?e+"":e,t),t);let b=null;function ur(r){throw new Be(r.UTF8ToString(r.getLastOnigError()))}class ye{constructor(e){P(this,"utf16Length"),P(this,"utf8Length"),P(this,"utf16Value"),P(this,"utf8Value"),P(this,"utf16OffsetToUtf8"),P(this,"utf8OffsetToUtf16");const t=e.length,i=ye._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 a=0;for(let u=0;u<t;u++){const m=e.charCodeAt(u);let d=m,p=!1;if(m>=55296&&m<=56319&&u+1<t){const h=e.charCodeAt(u+1);h>=56320&&h<=57343&&(d=(m-55296<<10)+65536|h-56320,p=!0)}n&&(s[u]=a,p&&(s[u+1]=a),d<=127?o[a+0]=u:d<=2047?(o[a+0]=u,o[a+1]=u):d<=65535?(o[a+0]=u,o[a+1]=u,o[a+2]=u):(o[a+0]=u,o[a+1]=u,o[a+2]=u,o[a+3]=u)),d<=127?c[a++]=d:d<=2047?(c[a++]=192|(d&1984)>>>6,c[a++]=128|(d&63)>>>0):d<=65535?(c[a++]=224|(d&61440)>>>12,c[a++]=128|(d&4032)>>>6,c[a++]=128|(d&63)>>>0):(c[a++]=240|(d&1835008)>>>18,c[a++]=128|(d&258048)>>>12,c[a++]=128|(d&4032)>>>6,c[a++]=128|(d&63)>>>0),p&&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 a=e.charCodeAt(i+1);a>=56320&&a<=57343&&(o=(s-55296<<10)+65536|a-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 k=class{constructor(r){if(P(this,"id",++k.LAST_ID),P(this,"_onigBinding"),P(this,"content"),P(this,"utf16Length"),P(this,"utf8Length"),P(this,"utf16OffsetToUtf8"),P(this,"utf8OffsetToUtf16"),P(this,"ptr"),!b)throw new Be("Must invoke loadWasm first.");this._onigBinding=b,this.content=r;const e=new ye(r);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!k._sharedPtrInUse?(k._sharedPtr||(k._sharedPtr=b.omalloc(1e4)),k._sharedPtrInUse=!0,b.HEAPU8.set(e.utf8Value,k._sharedPtr),this.ptr=k._sharedPtr):this.ptr=e.createString(b)}convertUtf8OffsetToUtf16(r){return this.utf8OffsetToUtf16?r<0?0:r>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[r]:r}convertUtf16OffsetToUtf8(r){return this.utf16OffsetToUtf8?r<0?0:r>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[r]:r}dispose(){this.ptr===k._sharedPtr?k._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let ee=k;P(ee,"LAST_ID",0);P(ee,"_sharedPtr",0);P(ee,"_sharedPtrInUse",!1);class mr{constructor(e){if(P(this,"_onigBinding"),P(this,"_ptr"),!b)throw new Be("Must invoke loadWasm first.");const t=[],i=[];for(let c=0,a=e.length;c<a;c++){const u=new ye(e[c]);t[c]=u.createString(b),i[c]=u.utf8Length}const n=b.omalloc(4*e.length);b.HEAPU32.set(t,n/4);const s=b.omalloc(4*e.length);b.HEAPU32.set(i,s/4);const o=b.createOnigScanner(n,s,e.length);for(let c=0,a=e.length;c<a;c++)b.ofree(t[c]);b.ofree(s),b.ofree(n),o===0&&ur(b),this._onigBinding=b,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 ee(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 a=o/4;const u=c[a++],m=c[a++],d=[];for(let p=0;p<m;p++){const h=e.convertUtf8OffsetToUtf16(c[a++]),f=e.convertUtf8OffsetToUtf16(c[a++]);d[p]={start:h,end:f,length:f-h}}return{index:u,captureIndices:d}}}function dr(r){return typeof r.instantiator=="function"}function hr(r){return typeof r.default=="function"}function pr(r){return typeof r.data<"u"}function _r(r){return typeof Response<"u"&&r instanceof Response}function fr(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 ie;function gr(r){if(ie)return ie;async function e(){b=await ar(async t=>{let i=r;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),dr(i)?i=await i.instantiator(t):hr(i)?i=await i.default(t):(pr(i)&&(i=i.data),_r(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await Er(i)(t):i=await yr(i)(t):fr(i)?i=await Le(i)(t):i instanceof WebAssembly.Module?i=await Le(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await Le(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return ie=e(),ie}function Le(r){return e=>WebAssembly.instantiate(r,e)}function Er(r){return e=>WebAssembly.instantiateStreaming(r,e)}function yr(r){return async e=>{const t=await r.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Rr;function Ar(){return Rr}async function _t(r){return r&&await gr(r),{createScanner(e){return new mr(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new ee(e)}}}function vr(r){return je(r)}function je(r){return Array.isArray(r)?Tr(r):r instanceof RegExp?r:typeof r=="object"?Lr(r):r}function Tr(r){let e=[];for(let t=0,i=r.length;t<i;t++)e[t]=je(r[t]);return e}function Lr(r){let e={};for(let t in r)e[t]=je(r[t]);return e}function ft(r,...e){return e.forEach(t=>{for(let i in t)r[i]=t[i]}),r}function gt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?gt(r.substring(0,r.length-1)):r.substr(~e+1)}var Pe=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ne=class{static hasCaptures(r){return r===null?!1:(Pe.lastIndex=0,Pe.test(r))}static replaceCaptures(r,e,t){return r.replace(Pe,(i,n,s,o)=>{let c=t[parseInt(n||s,10)];if(c){let a=e.substring(c.start,c.end);for(;a[0]===".";)a=a.substring(1);switch(o){case"downcase":return a.toLowerCase();case"upcase":return a.toUpperCase();default:return a}}else return i})}};function Et(r,e){return r<e?-1:r>e?1:0}function yt(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,i=e.length;if(t===i){for(let n=0;n<t;n++){let s=Et(r[n],e[n]);if(s!==0)return s}return 0}return t-i}function Qe(r){return!!(/^#[0-9a-f]{6}$/i.test(r)||/^#[0-9a-f]{8}$/i.test(r)||/^#[0-9a-f]{3}$/i.test(r)||/^#[0-9a-f]{4}$/i.test(r))}function Rt(r){return r.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var At=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 At(r=>this._root.match(r)));this._colorMap=r,this._defaults=e,this._root=t}static createFromRawTheme(r,e){return this.createFromParsedTheme(br(r),e)}static createFromParsedTheme(r,e){return Or(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=>Pr(r.parent,n.parentScopes));return i?new vt(i.fontStyle,i.foreground,i.background):null}},Ie=class ae{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new ae(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new ae(t,e[i]);return t}push(e){return new ae(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 Pr(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&&!Ir(r.scopeName,i);){if(n)return!1;r=r.parent}if(!r)return!1;r=r.parent}return!0}function Ir(r,e){return e===r||r.startsWith(e)&&r[e.length]==="."}var vt=class{constructor(r,e,t){this.fontStyle=r,this.foregroundId=e,this.backgroundId=t}};function br(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 d=o.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),c=d.split(",")}else Array.isArray(o.scope)?c=o.scope:c=[""];let a=-1;if(typeof o.settings.fontStyle=="string"){a=0;let d=o.settings.fontStyle.split(" ");for(let p=0,h=d.length;p<h;p++)switch(d[p]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let u=null;typeof o.settings.foreground=="string"&&Qe(o.settings.foreground)&&(u=o.settings.foreground);let m=null;typeof o.settings.background=="string"&&Qe(o.settings.background)&&(m=o.settings.background);for(let d=0,p=c.length;d<p;d++){let f=c[d].trim().split(" "),A=f[f.length-1],E=null;f.length>1&&(E=f.slice(0,f.length-1),E.reverse()),t[i++]=new Sr(A,E,n,a,u,m)}}return t}var Sr=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}},M=(r=>(r[r.NotSet=-1]="NotSet",r[r.None=0]="None",r[r.Italic=1]="Italic",r[r.Bold=2]="Bold",r[r.Underline=4]="Underline",r[r.Strikethrough=8]="Strikethrough",r))(M||{});function Or(r,e){r.sort((a,u)=>{let m=Et(a.scope,u.scope);return m!==0||(m=yt(a.parentScopes,u.parentScopes),m!==0)?m:a.index-u.index});let t=0,i="#000000",n="#ffffff";for(;r.length>=1&&r[0].scope==="";){let a=r.shift();a.fontStyle!==-1&&(t=a.fontStyle),a.foreground!==null&&(i=a.foreground),a.background!==null&&(n=a.background)}let s=new wr(e),o=new vt(t,s.getId(i),s.getId(n)),c=new Dr(new Ce(0,null,-1,0,0),[]);for(let a=0,u=r.length;a<u;a++){let m=r[a];c.insert(0,m.scope,m.parentScopes,m.fontStyle,s.getId(m.foreground),s.getId(m.background))}return new le(s,o,c)}var wr=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)}},Cr=Object.freeze([]),Ce=class Tt{constructor(e,t,i,n,s){_(this,"scopeDepth");_(this,"parentScopes");_(this,"fontStyle");_(this,"foreground");_(this,"background");this.scopeDepth=e,this.parentScopes=t||Cr,this.fontStyle=i,this.foreground=n,this.background=s}clone(){return new Tt(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)}},Dr=class De{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(De._cmpBySpecificity),t}insert(e,t,i,n,s,o){if(t===""){this._doInsertHere(e,i,n,s,o);return}let c=t.indexOf("."),a,u;c===-1?(a=t,u=""):(a=t.substring(0,c),u=t.substring(c+1));let m;this._children.hasOwnProperty(a)?m=this._children[a]:(m=new De(this._mainRule.clone(),Ce.cloneArr(this._rulesWithParentScopes)),this._children[a]=m),m.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 a=this._rulesWithParentScopes[o];if(yt(a.parentScopes,t)===0){a.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 Ce(e,t,i,n,s))}},H=class C{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=C.getLanguageId(e),i=C.getTokenType(e),n=C.getFontStyle(e),s=C.getForeground(e),o=C.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 a=C.getLanguageId(e),u=C.getTokenType(e),m=C.containsBalancedBrackets(e)?1:0,d=C.getFontStyle(e),p=C.getForeground(e),h=C.getBackground(e);return t!==0&&(a=t),i!==8&&(u=i),n!==null&&(m=n?1:0),s!==-1&&(d=s),o!==0&&(p=o),c!==0&&(h=c),(a<<0|u<<8|m<<10|d<<11|p<<15|h<<24)>>>0}};function ue(r,e){const t=[],i=kr(r);let n=i.next();for(;n!==null;){let a=0;if(n.length===2&&n.charAt(1)===":"){switch(n.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${n} in scope selector`)}n=i.next()}let u=o();if(t.push({matcher:u,priority:a}),n!==",")break;n=i.next()}return t;function s(){if(n==="-"){n=i.next();const a=s();return u=>!!a&&!a(u)}if(n==="("){n=i.next();const a=c();return n===")"&&(n=i.next()),a}if(Xe(n)){const a=[];do a.push(n),n=i.next();while(Xe(n));return u=>e(a,u)}return null}function o(){const a=[];let u=s();for(;u;)a.push(u),u=s();return m=>a.every(d=>d(m))}function c(){const a=[];let u=o();for(;u&&(a.push(u),n==="|"||n===",");){do n=i.next();while(n==="|"||n===",");u=o()}return m=>a.some(d=>d(m))}}function Xe(r){return!!r&&!!r.match(/[\w\.:]+/)}function kr(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 Lt(r){typeof r.dispose=="function"&&r.dispose()}var Q=class{constructor(r){this.scopeName=r}toKey(){return this.scopeName}},Nr=class{constructor(r,e){this.scopeName=r,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},Vr=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))}},xr=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 Vr;for(const t of r)Gr(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 Gr(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?ce({baseGrammar:s,selfGrammar:n},i):ke(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 ke(r,e,t){if(e.repository&&e.repository[r]){const i=e.repository[r];me([i],e,t)}}function ce(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&me(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&me(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function me(r,e,t){for(const i of r){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const n=i.repository?ft({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&me(i.patterns,{...e,repository:n},t);const s=i.include;if(!s)continue;const o=Pt(s);switch(o.kind){case 0:ce({...e,selfGrammar:e.baseGrammar},t);break;case 1:ce(e,t);break;case 2:ke(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 a={baseGrammar:e.baseGrammar,selfGrammar:c,repository:n};o.kind===4?ke(o.ruleName,a,t):ce(a,t)}else o.kind===4?t.add(new Nr(o.scopeName,o.ruleName)):t.add(new Q(o.scopeName));break}}}var Mr=class{constructor(){_(this,"kind",0)}},Br=class{constructor(){_(this,"kind",1)}},jr=class{constructor(r){_(this,"kind",2);this.ruleName=r}},$r=class{constructor(r){_(this,"kind",3);this.scopeName=r}},Wr=class{constructor(r,e){_(this,"kind",4);this.scopeName=r,this.ruleName=e}};function Pt(r){if(r==="$base")return new Mr;if(r==="$self")return new Br;const e=r.indexOf("#");if(e===-1)return new $r(r);if(e===0)return new jr(r.substring(1));{const t=r.substring(0,e),i=r.substring(e+1);return new Wr(t,i)}}var Ur=/\\(\d+)/,Ye=/\\(\d+)/g,Hr=-1,It=-2;var te=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=ne.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=ne.hasCaptures(this._contentName)}get debugName(){const r=this.$location?`${gt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${r}`}getName(r,e){return!this._nameIsCapturing||this._name===null||r===null||e===null?this._name:ne.replaceCaptures(this._name,r,e)}getContentName(r,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ne.replaceCaptures(this._contentName,r,e)}},Fr=class extends te{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!")}},qr=class extends te{constructor(e,t,i,n,s){super(e,t,i,null);_(this,"_match");_(this,"captures");_(this,"_cachedCompiledPatterns");this._match=new X(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 Y,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ze=class extends te{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 Y,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ne=class extends te{constructor(e,t,i,n,s,o,c,a,u,m){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 X(s,this.id),this.beginCaptures=o,this._end=new X(c||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=u||!1,this.patterns=m.patterns,this.hasMissingPatterns=m.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 Y;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}},de=class extends te{constructor(e,t,i,n,s,o,c,a,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 X(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new X(c,It),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,i,n){return this._getCachedCompiledPatterns(e).compileAG(e,i,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Y;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,i,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,i,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Y,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},bt=class S{static createCaptureRule(e,t,i,n,s){return e.registerRule(o=>new Fr(t,o,i,n,s))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(n=>{if(e.id=n,e.match)return new qr(e.$vscodeTextmateLocation,e.id,e.name,e.match,S._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=ft({},i,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new Ze(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,S._compilePatterns(s,t,i))}return e.while?new de(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,S._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,S._compileCaptures(e.whileCaptures||e.captures,t,i),S._compilePatterns(e.patterns,t,i)):new Ne(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,S._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,S._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,S._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 a=0;e[o].patterns&&(a=S.getCompiledRuleId(e[o],t,i)),n[c]=S.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,a)}}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 a=-1;if(c.include){const u=Pt(c.include);switch(u.kind){case 0:case 1:a=S.getCompiledRuleId(i[c.include],t,i);break;case 2:let m=i[u.ruleName];m&&(a=S.getCompiledRuleId(m,t,i));break;case 3:case 4:const d=u.scopeName,p=u.kind===4?u.ruleName:null,h=t.getExternalGrammar(d,i);if(h)if(p){let f=h.repository[p];f&&(a=S.getCompiledRuleId(f,t,h.repository))}else a=S.getCompiledRuleId(h.repository.$self,t,h.repository);break}}else a=S.getCompiledRuleId(c,t,i);if(a!==-1){const u=t.getRule(a);let m=!1;if((u instanceof Ze||u instanceof Ne||u instanceof de)&&u.hasMissingPatterns&&u.patterns.length===0&&(m=!0),m)continue;n.push(a)}}return{patterns:n,hasMissingPatterns:(e?e.length:0)!==n.length}}},X=class St{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=Ur.test(this.source):this.hasBackReferences=!1}clone(){return new St(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 Ye.lastIndex=0,this.source.replace(Ye,(n,s)=>Rt(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,a;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&&(a=this.source.charAt(s+1),a==="A"?(e[s+1]="￿",t[s+1]="￿",i[s+1]="A",n[s+1]="A"):a==="G"?(e[s+1]="￿",t[s+1]="G",i[s+1]="￿",n[s+1]="G"):(e[s+1]=a,t[s+1]=a,i[s+1]=a,n[s+1]=a),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}},Y=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 et(r,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(r,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(r,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(r,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(r,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(r,e,t)),this._anchorCache.A0_G0):this.compile(r)}_resolveAnchors(r,e,t){let i=this._items.map(n=>n.resolveAnchors(e,t));return new et(r,i,this._items.map(n=>n.ruleId))}},et=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 qt=Object.defineProperty;var zt=(r,e,t)=>e in r?qt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var _=(r,e,t)=>zt(r,typeof e!="symbol"?e+"":e,t);import{_ as l,w as Me,s as ht,f as Jt,a as Kt,b as Qt,c as Je,h as Xt}from"./index-Cd1b_MtY.js";const Ke={}.hasOwnProperty;function Yt(r,e){const t=e||{};function i(n,...s){let o=i.invalid;const c=i.handlers;if(n&&Ke.call(n,r)){const a=String(n[r]);o=Ke.call(c,a)?c[a]:i.unknown}if(o)return o.call(this,n,...s)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const pt=[{id:"abap",name:"ABAP",import:()=>l(()=>import("./abap-DsBKuouk.js"),[])},{id:"actionscript-3",name:"ActionScript",import:()=>l(()=>import("./actionscript-3-D_z4Izcz.js"),[])},{id:"ada",name:"Ada",import:()=>l(()=>import("./ada-727ZlQH0.js"),[])},{id:"angular-html",name:"Angular HTML",import:()=>l(()=>import("./angular-html-LfdN0zeE.js").then(r=>r.f),__vite__mapDeps([0,1,2,3]))},{id:"angular-ts",name:"Angular TypeScript",import:()=>l(()=>import("./angular-ts-CKsD7JZE.js"),__vite__mapDeps([4,0,1,2,3,5]))},{id:"apache",name:"Apache Conf",import:()=>l(()=>import("./apache-Dn00JSTd.js"),[])},{id:"apex",name:"Apex",import:()=>l(()=>import("./apex-COJ4H7py.js"),[])},{id:"apl",name:"APL",import:()=>l(()=>import("./apl-BBq3IX1j.js"),__vite__mapDeps([6,1,2,3,7,8,9]))},{id:"applescript",name:"AppleScript",import:()=>l(()=>import("./applescript-Bu5BbsvL.js"),[])},{id:"ara",name:"Ara",import:()=>l(()=>import("./ara-7O62HKoU.js"),[])},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>l(()=>import("./asciidoc-BPT9niGB.js"),[])},{id:"asm",name:"Assembly",import:()=>l(()=>import("./asm-Dhn9LcZ4.js"),[])},{id:"astro",name:"Astro",import:()=>l(()=>import("./astro-CqkE3fuf.js"),__vite__mapDeps([10,9,2,11,3,12]))},{id:"awk",name:"AWK",import:()=>l(()=>import("./awk-eg146-Ew.js"),[])},{id:"ballerina",name:"Ballerina",import:()=>l(()=>import("./ballerina-Du268qiB.js"),[])},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>l(()=>import("./bat-fje9CFhw.js"),[])},{id:"beancount",name:"Beancount",import:()=>l(()=>import("./beancount-BwXTMy5W.js"),[])},{id:"berry",name:"Berry",aliases:["be"],import:()=>l(()=>import("./berry-3xVqZejG.js"),[])},{id:"bibtex",name:"BibTeX",import:()=>l(()=>import("./bibtex-xW4inM5L.js"),[])},{id:"bicep",name:"Bicep",import:()=>l(()=>import("./bicep-DHo0CJ0O.js"),[])},{id:"blade",name:"Blade",import:()=>l(()=>import("./blade-a8OxSdnT.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>l(()=>import("./bsl-Dgyn0ogV.js"),__vite__mapDeps([15,16]))},{id:"c",name:"C",import:()=>l(()=>import("./c-C3t2pwGQ.js"),[])},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>l(()=>import("./cadence-DNquZEk8.js"),[])},{id:"cairo",name:"Cairo",import:()=>l(()=>import("./cairo--RitsXJZ.js"),__vite__mapDeps([17,18]))},{id:"clarity",name:"Clarity",import:()=>l(()=>import("./clarity-BHOwM8T6.js"),[])},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>l(()=>import("./clojure-DxSadP1t.js"),[])},{id:"cmake",name:"CMake",import:()=>l(()=>import("./cmake-DbXoA79R.js"),[])},{id:"cobol",name:"COBOL",import:()=>l(()=>import("./cobol-PTqiYgYu.js"),__vite__mapDeps([19,1,2,3,8]))},{id:"codeowners",name:"CODEOWNERS",import:()=>l(()=>import("./codeowners-Bp6g37R7.js"),[])},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>l(()=>import("./codeql-sacFqUAJ.js"),[])},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>l(()=>import("./coffee-dyiR41kL.js"),__vite__mapDeps([20,2]))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>l(()=>import("./common-lisp-C7gG9l05.js"),[])},{id:"coq",name:"Coq",import:()=>l(()=>import("./coq-Dsg_Bt_b.js"),[])},{id:"cpp",name:"C++",aliases:["c++"],import:()=>l(()=>import("./cpp-BksuvNSY.js"),__vite__mapDeps([21,22,23,24,14]))},{id:"crystal",name:"Crystal",import:()=>l(()=>import("./crystal-DtDmRg-F.js"),__vite__mapDeps([25,1,2,3,14,24,26]))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>l(()=>import("./csharp-D9R-vmeu.js"),[])},{id:"css",name:"CSS",import:()=>l(()=>import("./css-BPhBrDlE.js"),[])},{id:"csv",name:"CSV",import:()=>l(()=>import("./csv-B0qRVHPH.js"),[])},{id:"cue",name:"CUE",import:()=>l(()=>import("./cue-DtFQj3wx.js"),[])},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>l(()=>import("./cypher-m2LEI-9-.js"),[])},{id:"d",name:"D",import:()=>l(()=>import("./d-BoXegm-a.js"),[])},{id:"dart",name:"Dart",import:()=>l(()=>import("./dart-B9wLZaAG.js"),[])},{id:"dax",name:"DAX",import:()=>l(()=>import("./dax-ClGRhx96.js"),[])},{id:"desktop",name:"Desktop",import:()=>l(()=>import("./desktop-DEIpsLCJ.js"),[])},{id:"diff",name:"Diff",import:()=>l(()=>import("./diff-BgYniUM_.js"),[])},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>l(()=>import("./docker-COcR7UxN.js"),[])},{id:"dotenv",name:"dotEnv",import:()=>l(()=>import("./dotenv-BjQB5zDj.js"),[])},{id:"dream-maker",name:"Dream Maker",import:()=>l(()=>import("./dream-maker-C-nORZOA.js"),[])},{id:"edge",name:"Edge",import:()=>l(()=>import("./edge-D5gP-w-T.js"),__vite__mapDeps([27,11,1,2,3,28]))},{id:"elixir",name:"Elixir",import:()=>l(()=>import("./elixir-CLiX3zqd.js"),__vite__mapDeps([29,1,2,3]))},{id:"elm",name:"Elm",import:()=>l(()=>import("./elm-CmHSxxaM.js"),__vite__mapDeps([30,23,24]))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>l(()=>import("./emacs-lisp-BX77sIaO.js"),[])},{id:"erb",name:"ERB",import:()=>l(()=>import("./erb-BYTLMnw6.js"),__vite__mapDeps([31,1,2,3,32,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>l(()=>import("./erlang-B-DoSBHF.js"),[])},{id:"fennel",name:"Fennel",import:()=>l(()=>import("./fennel-bCA53EVm.js"),[])},{id:"fish",name:"Fish",import:()=>l(()=>import("./fish-w-ucz2PV.js"),[])},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>l(()=>import("./fluent-Dayu4EKP.js"),[])},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>l(()=>import("./fortran-fixed-form-TqA4NnZg.js"),__vite__mapDeps([39,40]))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>l(()=>import("./fortran-free-form-DKXYxT9g.js"),[])},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>l(()=>import("./fsharp-XplgxFYe.js"),__vite__mapDeps([41,42]))},{id:"gdresource",name:"GDResource",import:()=>l(()=>import("./gdresource-BHYsBjWJ.js"),__vite__mapDeps([43,44,45]))},{id:"gdscript",name:"GDScript",import:()=>l(()=>import("./gdscript-DfxzS6Rs.js"),[])},{id:"gdshader",name:"GDShader",import:()=>l(()=>import("./gdshader-SKMF96pI.js"),[])},{id:"genie",name:"Genie",import:()=>l(()=>import("./genie-ajMbGru0.js"),[])},{id:"gherkin",name:"Gherkin",import:()=>l(()=>import("./gherkin--30QC5Em.js"),[])},{id:"git-commit",name:"Git Commit Message",import:()=>l(()=>import("./git-commit-i4q6IMui.js"),__vite__mapDeps([46,47]))},{id:"git-rebase",name:"Git Rebase Message",import:()=>l(()=>import("./git-rebase-B-v9cOL2.js"),__vite__mapDeps([48,26]))},{id:"gleam",name:"Gleam",import:()=>l(()=>import("./gleam-B430Bg39.js"),[])},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>l(()=>import("./glimmer-js-D-cwc0-E.js"),__vite__mapDeps([49,2,11,3,1]))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>l(()=>import("./glimmer-ts-pgjy16dm.js"),__vite__mapDeps([50,11,3,2,1]))},{id:"glsl",name:"GLSL",import:()=>l(()=>import("./glsl-DBO2IWDn.js"),__vite__mapDeps([23,24]))},{id:"gnuplot",name:"Gnuplot",import:()=>l(()=>import("./gnuplot-CM8KxXT1.js"),[])},{id:"go",name:"Go",import:()=>l(()=>import("./go-B1SYOhNW.js"),[])},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>l(()=>import("./graphql-cDcHW_If.js"),__vite__mapDeps([34,2,11,35,36]))},{id:"groovy",name:"Groovy",import:()=>l(()=>import("./groovy-DkBy-JyN.js"),[])},{id:"hack",name:"Hack",import:()=>l(()=>import("./hack-D1yCygmZ.js"),__vite__mapDeps([51,1,2,3,14]))},{id:"haml",name:"Ruby Haml",import:()=>l(()=>import("./haml-B2EZWmdv.js"),__vite__mapDeps([33,2,3]))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>l(()=>import("./handlebars-BQGss363.js"),__vite__mapDeps([52,1,2,3,38]))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>l(()=>import("./haskell-BILxekzW.js"),[])},{id:"haxe",name:"Haxe",import:()=>l(()=>import("./haxe-C5wWYbrZ.js"),[])},{id:"hcl",name:"HashiCorp HCL",import:()=>l(()=>import("./hcl-HzYwdGDm.js"),[])},{id:"hjson",name:"Hjson",import:()=>l(()=>import("./hjson-T-Tgc4AT.js"),[])},{id:"hlsl",name:"HLSL",import:()=>l(()=>import("./hlsl-ifBTmRxC.js"),[])},{id:"html",name:"HTML",import:()=>l(()=>import("./html-C2L_23MC.js"),__vite__mapDeps([1,2,3]))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>l(()=>import("./html-derivative-CSfWNPLT.js"),__vite__mapDeps([28,1,2,3]))},{id:"http",name:"HTTP",import:()=>l(()=>import("./http-FRrOvY1W.js"),__vite__mapDeps([53,26,9,7,8,34,2,11,35,36]))},{id:"hxml",name:"HXML",import:()=>l(()=>import("./hxml-TIA70rKU.js"),__vite__mapDeps([54,55]))},{id:"hy",name:"Hy",import:()=>l(()=>import("./hy-BMj5Y0dO.js"),[])},{id:"imba",name:"Imba",import:()=>l(()=>import("./imba-bv_oIlVt.js"),__vite__mapDeps([56,11]))},{id:"ini",name:"INI",aliases:["properties"],import:()=>l(()=>import("./ini-BjABl1g7.js"),[])},{id:"java",name:"Java",import:()=>l(()=>import("./java-xI-RfyKK.js"),[])},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>l(()=>import("./javascript-ySlJ1b_l.js"),[])},{id:"jinja",name:"Jinja",import:()=>l(()=>import("./jinja-DGy0s7-h.js"),__vite__mapDeps([57,1,2,3]))},{id:"jison",name:"Jison",import:()=>l(()=>import("./jison-BqZprYcd.js"),__vite__mapDeps([58,2]))},{id:"json",name:"JSON",import:()=>l(()=>import("./json-BQoSv7ci.js"),[])},{id:"json5",name:"JSON5",import:()=>l(()=>import("./json5-w8dY5SsB.js"),[])},{id:"jsonc",name:"JSON with Comments",import:()=>l(()=>import("./jsonc-TU54ms6u.js"),[])},{id:"jsonl",name:"JSON Lines",import:()=>l(()=>import("./jsonl-DREVFZK8.js"),[])},{id:"jsonnet",name:"Jsonnet",import:()=>l(()=>import("./jsonnet-BfivnA6A.js"),[])},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>l(()=>import("./jssm-P4WzXJd0.js"),[])},{id:"jsx",name:"JSX",import:()=>l(()=>import("./jsx-BAng5TT0.js"),[])},{id:"julia",name:"Julia",aliases:["jl"],import:()=>l(()=>import("./julia-BBuGR-5E.js"),__vite__mapDeps([59,21,22,23,24,14,18,2,60]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>l(()=>import("./kotlin-B5lbUyaz.js"),[])},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>l(()=>import("./kusto-mebxcVVE.js"),[])},{id:"latex",name:"LaTeX",import:()=>l(()=>import("./latex-C-cWTeAZ.js"),__vite__mapDeps([61,62,60]))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>l(()=>import("./lean-XBlWyCtg.js"),[])},{id:"less",name:"Less",import:()=>l(()=>import("./less-BfCpw3nA.js"),[])},{id:"liquid",name:"Liquid",import:()=>l(()=>import("./liquid-D3W5UaiH.js"),__vite__mapDeps([63,1,2,3,9]))},{id:"log",name:"Log file",import:()=>l(()=>import("./log-Cc5clBb7.js"),[])},{id:"logo",name:"Logo",import:()=>l(()=>import("./logo-IuBKFhSY.js"),[])},{id:"lua",name:"Lua",import:()=>l(()=>import("./lua-CvWAzNxB.js"),__vite__mapDeps([37,24]))},{id:"luau",name:"Luau",import:()=>l(()=>import("./luau-Du5NY7AG.js"),[])},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>l(()=>import("./make-Bvotw-X0.js"),[])},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>l(()=>import("./markdown-UIAJJxZW.js"),[])},{id:"marko",name:"Marko",import:()=>l(()=>import("./marko-z0MBrx5-.js"),__vite__mapDeps([64,3,65,5,2]))},{id:"matlab",name:"MATLAB",import:()=>l(()=>import("./matlab-D9-PGadD.js"),[])},{id:"mdc",name:"MDC",import:()=>l(()=>import("./mdc-DB_EDNY_.js"),__vite__mapDeps([66,42,38,28,1,2,3]))},{id:"mdx",name:"MDX",import:()=>l(()=>import("./mdx-sdHcTMYB.js"),[])},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>l(()=>import("./mermaid-Ci6OQyBP.js"),[])},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>l(()=>import("./mipsasm-BC5c_5Pe.js"),[])},{id:"mojo",name:"Mojo",import:()=>l(()=>import("./mojo-Tz6hzZYG.js"),[])},{id:"move",name:"Move",import:()=>l(()=>import("./move-DB_GagMm.js"),[])},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>l(()=>import("./narrat-DLbgOhZU.js"),[])},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>l(()=>import("./nextflow-B0XVJmRM.js"),[])},{id:"nginx",name:"Nginx",import:()=>l(()=>import("./nginx-D_VnBJ67.js"),__vite__mapDeps([67,37,24]))},{id:"nim",name:"Nim",import:()=>l(()=>import("./nim-ZlGxZxc3.js"),__vite__mapDeps([68,24,1,2,3,7,8,23,42]))},{id:"nix",name:"Nix",import:()=>l(()=>import("./nix-shcSOmrb.js"),[])},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>l(()=>import("./nushell-D4Tzg5kh.js"),[])},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>l(()=>import("./objective-c-Deuh7S70.js"),[])},{id:"objective-cpp",name:"Objective-C++",import:()=>l(()=>import("./objective-cpp-BUEGK8hf.js"),[])},{id:"ocaml",name:"OCaml",import:()=>l(()=>import("./ocaml-BNioltXt.js"),[])},{id:"pascal",name:"Pascal",import:()=>l(()=>import("./pascal-JqZropPD.js"),[])},{id:"perl",name:"Perl",import:()=>l(()=>import("./perl-CHQXSrWU.js"),__vite__mapDeps([69,1,2,3,7,8,14]))},{id:"php",name:"PHP",import:()=>l(()=>import("./php-B5ebYQev.js"),__vite__mapDeps([70,1,2,3,7,8,14,9]))},{id:"plsql",name:"PL/SQL",import:()=>l(()=>import("./plsql-LKU2TuZ1.js"),[])},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>l(()=>import("./po-BFLt1xDp.js"),[])},{id:"polar",name:"Polar",import:()=>l(()=>import("./polar-DKykz6zU.js"),[])},{id:"postcss",name:"PostCSS",import:()=>l(()=>import("./postcss-B3ZDOciz.js"),[])},{id:"powerquery",name:"PowerQuery",import:()=>l(()=>import("./powerquery-CSHBycmS.js"),[])},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>l(()=>import("./powershell-BIEUsx6d.js"),[])},{id:"prisma",name:"Prisma",import:()=>l(()=>import("./prisma-B48N-Iqd.js"),[])},{id:"prolog",name:"Prolog",import:()=>l(()=>import("./prolog-BY-TUvya.js"),[])},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>l(()=>import("./proto-zocC4JxJ.js"),[])},{id:"pug",name:"Pug",aliases:["jade"],import:()=>l(()=>import("./pug-CM9l7STV.js"),__vite__mapDeps([71,2,3,1]))},{id:"puppet",name:"Puppet",import:()=>l(()=>import("./puppet-Cza_XSSt.js"),[])},{id:"purescript",name:"PureScript",import:()=>l(()=>import("./purescript-Bg-kzb6g.js"),[])},{id:"python",name:"Python",aliases:["py"],import:()=>l(()=>import("./python-DhUJRlN_.js"),[])},{id:"qml",name:"QML",import:()=>l(()=>import("./qml-D8XfuvdV.js"),__vite__mapDeps([72,2]))},{id:"qmldir",name:"QML Directory",import:()=>l(()=>import("./qmldir-C8lEn-DE.js"),[])},{id:"qss",name:"Qt Style Sheets",import:()=>l(()=>import("./qss-DhMKtDLN.js"),[])},{id:"r",name:"R",import:()=>l(()=>import("./r-CwjWoCRV.js"),[])},{id:"racket",name:"Racket",import:()=>l(()=>import("./racket-CzouJOBO.js"),[])},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>l(()=>import("./raku-B1bQXN8T.js"),[])},{id:"razor",name:"ASP.NET Razor",import:()=>l(()=>import("./razor-CNLDkMZG.js"),__vite__mapDeps([73,1,2,3,74]))},{id:"reg",name:"Windows Registry Script",import:()=>l(()=>import("./reg-5LuOXUq_.js"),[])},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>l(()=>import("./regexp-DWJ3fJO_.js"),[])},{id:"rel",name:"Rel",import:()=>l(()=>import("./rel-DJlmqQ1C.js"),[])},{id:"riscv",name:"RISC-V",import:()=>l(()=>import("./riscv-QhoSD0DR.js"),[])},{id:"rst",name:"reStructuredText",import:()=>l(()=>import("./rst-4NLicBqY.js"),__vite__mapDeps([75,28,1,2,3,21,22,23,24,14,18,26,38,76,32,33,7,8,34,11,35,36,37]))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>l(()=>import("./ruby-DeZ3UC14.js"),__vite__mapDeps([32,1,2,3,33,7,8,14,34,11,35,36,21,22,23,24,26,37,38]))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>l(()=>import("./rust-Be6lgOlo.js"),[])},{id:"sas",name:"SAS",import:()=>l(()=>import("./sas-BmTFh92c.js"),__vite__mapDeps([77,14]))},{id:"sass",name:"Sass",import:()=>l(()=>import("./sass-BJ4Li9vH.js"),[])},{id:"scala",name:"Scala",import:()=>l(()=>import("./scala-DQVVAn-B.js"),[])},{id:"scheme",name:"Scheme",import:()=>l(()=>import("./scheme-BJGe-b2p.js"),[])},{id:"scss",name:"SCSS",import:()=>l(()=>import("./scss-C31hgJw-.js"),__vite__mapDeps([5,3]))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>l(()=>import("./sdbl-BLhTXw86.js"),[])},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>l(()=>import("./shaderlab-B7qAK45m.js"),__vite__mapDeps([78,79]))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>l(()=>import("./shellscript-atvbtKCR.js"),[])},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>l(()=>import("./shellsession-C_rIy8kc.js"),__vite__mapDeps([80,26]))},{id:"smalltalk",name:"Smalltalk",import:()=>l(()=>import("./smalltalk-DkLiglaE.js"),[])},{id:"solidity",name:"Solidity",import:()=>l(()=>import("./solidity-C1w2a3ep.js"),[])},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>l(()=>import("./soy-C-lX7w71.js"),__vite__mapDeps([81,1,2,3]))},{id:"sparql",name:"SPARQL",import:()=>l(()=>import("./sparql-bYkjHRlG.js"),__vite__mapDeps([82,83]))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>l(()=>import("./splunk-Cf8iN4DR.js"),[])},{id:"sql",name:"SQL",import:()=>l(()=>import("./sql-COK4E0Yg.js"),[])},{id:"ssh-config",name:"SSH Config",import:()=>l(()=>import("./ssh-config-BknIz3MU.js"),[])},{id:"stata",name:"Stata",import:()=>l(()=>import("./stata-DorPZHa4.js"),__vite__mapDeps([84,14]))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>l(()=>import("./stylus-BeQkCIfX.js"),[])},{id:"svelte",name:"Svelte",import:()=>l(()=>import("./svelte-MSaWC3Je.js"),__vite__mapDeps([85,2,11,3,12]))},{id:"swift",name:"Swift",import:()=>l(()=>import("./swift-BSxZ-RaX.js"),[])},{id:"system-verilog",name:"SystemVerilog",import:()=>l(()=>import("./system-verilog-C7L56vO4.js"),[])},{id:"systemd",name:"Systemd Units",import:()=>l(()=>import("./systemd-CUnW07Te.js"),[])},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>l(()=>import("./talonscript-C1XDQQGZ.js"),[])},{id:"tasl",name:"Tasl",import:()=>l(()=>import("./tasl-CQjiPCtT.js"),[])},{id:"tcl",name:"Tcl",import:()=>l(()=>import("./tcl-DQ1-QYvQ.js"),[])},{id:"templ",name:"Templ",import:()=>l(()=>import("./templ-dwX3ZSMB.js"),__vite__mapDeps([86,87,2,3]))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>l(()=>import("./terraform-BbSNqyBO.js"),[])},{id:"tex",name:"TeX",import:()=>l(()=>import("./tex-rYs2v40G.js"),__vite__mapDeps([62,60]))},{id:"toml",name:"TOML",import:()=>l(()=>import("./toml-CB2ApiWb.js"),[])},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>l(()=>import("./ts-tags-CipyTH0X.js"),__vite__mapDeps([88,11,3,2,23,24,1,14,7,8]))},{id:"tsv",name:"TSV",import:()=>l(()=>import("./tsv-B_m7g4N7.js"),[])},{id:"tsx",name:"TSX",import:()=>l(()=>import("./tsx-B6W0miNI.js"),[])},{id:"turtle",name:"Turtle",import:()=>l(()=>import("./turtle-BMR_PYu6.js"),[])},{id:"twig",name:"Twig",import:()=>l(()=>import("./twig-NC5TFiHP.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,14,9,18,32,33,34,11,35,36,21,22,23,24,26,37,38]))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>l(()=>import("./typescript-Dj6nwHGl.js"),[])},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>l(()=>import("./typespec-BpWG_bgh.js"),[])},{id:"typst",name:"Typst",aliases:["typ"],import:()=>l(()=>import("./typst-BVUVsWT6.js"),[])},{id:"v",name:"V",import:()=>l(()=>import("./v-CAQ2eGtk.js"),[])},{id:"vala",name:"Vala",import:()=>l(()=>import("./vala-BFOHcciG.js"),[])},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>l(()=>import("./vb-CdO5JTpU.js"),[])},{id:"verilog",name:"Verilog",import:()=>l(()=>import("./verilog-CJaU5se_.js"),[])},{id:"vhdl",name:"VHDL",import:()=>l(()=>import("./vhdl-DYoNaHQp.js"),[])},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>l(()=>import("./viml-m4uW47V2.js"),[])},{id:"vue",name:"Vue",import:()=>l(()=>import("./vue-BuYVFjOK.js"),__vite__mapDeps([90,1,2,3,11,9,28]))},{id:"vue-html",name:"Vue HTML",import:()=>l(()=>import("./vue-html-xdeiXROB.js"),__vite__mapDeps([91,90,1,2,3,11,9,28]))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>l(()=>import("./vyper-nyqBNV6O.js"),[])},{id:"wasm",name:"WebAssembly",import:()=>l(()=>import("./wasm-C6j12Q_x.js"),[])},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>l(()=>import("./wenyan-7A4Fjokl.js"),[])},{id:"wgsl",name:"WGSL",import:()=>l(()=>import("./wgsl-CB0Krxn9.js"),[])},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>l(()=>import("./wikitext-DCE3LsBG.js"),[])},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>l(()=>import("./wolfram-C3FkfJm5.js"),[])},{id:"xml",name:"XML",import:()=>l(()=>import("./xml-e3z08dGr.js"),__vite__mapDeps([7,8]))},{id:"xsl",name:"XSL",import:()=>l(()=>import("./xsl-Dd0NUgwM.js"),__vite__mapDeps([92,7,8]))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>l(()=>import("./yaml-CVw76BM1.js"),[])},{id:"zenscript",name:"ZenScript",import:()=>l(()=>import("./zenscript-HnGAYVZD.js"),[])},{id:"zig",name:"Zig",import:()=>l(()=>import("./zig-BVz_zdnA.js"),[])}],Zt=Object.fromEntries(pt.map(r=>[r.id,r.import])),er=Object.fromEntries(pt.flatMap(r=>{var e;return((e=r.aliases)==null?void 0:e.map(t=>[t,r.import]))||[]})),tr={...Zt,...er},rr=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>l(()=>import("./andromeeda-C3khCPGq.js"),[])},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>l(()=>import("./aurora-x-D-2ljcwZ.js"),[])},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>l(()=>import("./ayu-dark-Cv9koXgw.js"),[])},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>l(()=>import("./catppuccin-frappe-CD_QflpE.js"),[])},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>l(()=>import("./catppuccin-latte-DRW-0cLl.js"),[])},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>l(()=>import("./catppuccin-macchiato-C-_shW-Y.js"),[])},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>l(()=>import("./catppuccin-mocha-LGGdnPYs.js"),[])},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>l(()=>import("./dark-plus-C3mMm8J8.js"),[])},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>l(()=>import("./dracula-BzJJZx-M.js"),[])},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>l(()=>import("./dracula-soft-BXkSAIEj.js"),[])},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>l(()=>import("./everforest-dark-BgDCqdQA.js"),[])},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>l(()=>import("./everforest-light-C8M2exoo.js"),[])},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>l(()=>import("./github-dark-DHJKELXO.js"),[])},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>l(()=>import("./github-dark-default-Cuk6v7N8.js"),[])},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>l(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[])},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>l(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[])},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>l(()=>import("./github-light-DAi9KRSo.js"),[])},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>l(()=>import("./github-light-default-D7oLnXFd.js"),[])},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>l(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[])},{id:"houston",displayName:"Houston",type:"dark",import:()=>l(()=>import("./houston-DnULxvSX.js"),[])},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>l(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[])},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>l(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[])},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>l(()=>import("./kanagawa-wave-DWedfzmr.js"),[])},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>l(()=>import("./laserwave-DUszq2jm.js"),[])},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>l(()=>import("./light-plus-B7mTdjB0.js"),[])},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>l(()=>import("./material-theme-D5KoaKCx.js"),[])},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>l(()=>import("./material-theme-darker-BfHTSMKl.js"),[])},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>l(()=>import("./material-theme-lighter-B0m2ddpp.js"),[])},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>l(()=>import("./material-theme-ocean-CyktbL80.js"),[])},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>l(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[])},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>l(()=>import("./min-dark-CafNBF8u.js"),[])},{id:"min-light",displayName:"Min Light",type:"light",import:()=>l(()=>import("./min-light-CTRr51gU.js"),[])},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>l(()=>import("./monokai-D4h5O-jR.js"),[])},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>l(()=>import("./night-owl-C39BiMTA.js"),[])},{id:"nord",displayName:"Nord",type:"dark",import:()=>l(()=>import("./nord-Ddv68eIx.js"),[])},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>l(()=>import("./one-dark-pro-GBQ2dnAY.js"),[])},{id:"one-light",displayName:"One Light",type:"light",import:()=>l(()=>import("./one-light-PoHY5YXO.js"),[])},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>l(()=>import("./plastic-3e1v2bzS.js"),[])},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>l(()=>import("./poimandres-CS3Unz2-.js"),[])},{id:"red",displayName:"Red",type:"dark",import:()=>l(()=>import("./red-bN70gL4F.js"),[])},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>l(()=>import("./rose-pine-CmCqftbK.js"),[])},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>l(()=>import("./rose-pine-dawn-Ds-gbosJ.js"),[])},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>l(()=>import("./rose-pine-moon-CjDtw9vr.js"),[])},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>l(()=>import("./slack-dark-BthQWCQV.js"),[])},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>l(()=>import("./slack-ochin-DqwNpetd.js"),[])},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>l(()=>import("./snazzy-light-Bw305WKR.js"),[])},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>l(()=>import("./solarized-dark-DXbdFlpD.js"),[])},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>l(()=>import("./solarized-light-L9t79GZl.js"),[])},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>l(()=>import("./synthwave-84-CbfX1IO0.js"),[])},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>l(()=>import("./tokyo-night-DBQeEorK.js"),[])},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>l(()=>import("./vesper-BEBZ7ncR.js"),[])},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>l(()=>import("./vitesse-black-Bkuqu6BP.js"),[])},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>l(()=>import("./vitesse-dark-D0r3Knsf.js"),[])},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>l(()=>import("./vitesse-light-CVO1_9PV.js"),[])}],ir=Object.fromEntries(rr.map(r=>[r.id,r.import]));let B=class extends Error{constructor(e){super(e),this.name="ShikiError"}},Be=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function nr(){return 2147483648}function sr(){return typeof performance<"u"?performance.now():Date.now()}const or=(r,e)=>r+(e-r%e)%e;async function ar(r){let e,t;const i={};function n(h){t=h,i.HEAPU8=new Uint8Array(h),i.HEAPU32=new Uint32Array(h)}function s(h,f,A){i.HEAPU8.copyWithin(h,f,f+A)}function o(h){try{return e.grow(h-t.byteLength+65535>>>16),n(e.buffer),1}catch{}}function c(h){const f=i.HEAPU8.length;h=h>>>0;const A=nr();if(h>A)return!1;for(let E=1;E<=4;E*=2){let g=f*(1+.2/E);g=Math.min(g,h+100663296);const y=Math.min(A,or(Math.max(h,g),65536));if(o(y))return!0}return!1}const a=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function u(h,f,A=1024){const E=f+A;let g=f;for(;h[g]&&!(g>=E);)++g;if(g-f>16&&h.buffer&&a)return a.decode(h.subarray(f,g));let y="";for(;f<g;){let R=h[f++];if(!(R&128)){y+=String.fromCharCode(R);continue}const v=h[f++]&63;if((R&224)===192){y+=String.fromCharCode((R&31)<<6|v);continue}const T=h[f++]&63;if((R&240)===224?R=(R&15)<<12|v<<6|T:R=(R&7)<<18|v<<12|T<<6|h[f++]&63,R<65536)y+=String.fromCharCode(R);else{const w=R-65536;y+=String.fromCharCode(55296|w>>10,56320|w&1023)}}return y}function m(h,f){return h?u(i.HEAPU8,h,f):""}const d={emscripten_get_now:sr,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function p(){const f=await r({env:d,wasi_snapshot_preview1:d});e=f.memory,n(e.buffer),Object.assign(i,f),i.UTF8ToString=m}return await p(),i}var cr=Object.defineProperty,lr=(r,e,t)=>e in r?cr(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,P=(r,e,t)=>(lr(r,typeof e!="symbol"?e+"":e,t),t);let b=null;function ur(r){throw new Be(r.UTF8ToString(r.getLastOnigError()))}class ye{constructor(e){P(this,"utf16Length"),P(this,"utf8Length"),P(this,"utf16Value"),P(this,"utf8Value"),P(this,"utf16OffsetToUtf8"),P(this,"utf8OffsetToUtf16");const t=e.length,i=ye._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 a=0;for(let u=0;u<t;u++){const m=e.charCodeAt(u);let d=m,p=!1;if(m>=55296&&m<=56319&&u+1<t){const h=e.charCodeAt(u+1);h>=56320&&h<=57343&&(d=(m-55296<<10)+65536|h-56320,p=!0)}n&&(s[u]=a,p&&(s[u+1]=a),d<=127?o[a+0]=u:d<=2047?(o[a+0]=u,o[a+1]=u):d<=65535?(o[a+0]=u,o[a+1]=u,o[a+2]=u):(o[a+0]=u,o[a+1]=u,o[a+2]=u,o[a+3]=u)),d<=127?c[a++]=d:d<=2047?(c[a++]=192|(d&1984)>>>6,c[a++]=128|(d&63)>>>0):d<=65535?(c[a++]=224|(d&61440)>>>12,c[a++]=128|(d&4032)>>>6,c[a++]=128|(d&63)>>>0):(c[a++]=240|(d&1835008)>>>18,c[a++]=128|(d&258048)>>>12,c[a++]=128|(d&4032)>>>6,c[a++]=128|(d&63)>>>0),p&&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 a=e.charCodeAt(i+1);a>=56320&&a<=57343&&(o=(s-55296<<10)+65536|a-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 k=class{constructor(r){if(P(this,"id",++k.LAST_ID),P(this,"_onigBinding"),P(this,"content"),P(this,"utf16Length"),P(this,"utf8Length"),P(this,"utf16OffsetToUtf8"),P(this,"utf8OffsetToUtf16"),P(this,"ptr"),!b)throw new Be("Must invoke loadWasm first.");this._onigBinding=b,this.content=r;const e=new ye(r);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!k._sharedPtrInUse?(k._sharedPtr||(k._sharedPtr=b.omalloc(1e4)),k._sharedPtrInUse=!0,b.HEAPU8.set(e.utf8Value,k._sharedPtr),this.ptr=k._sharedPtr):this.ptr=e.createString(b)}convertUtf8OffsetToUtf16(r){return this.utf8OffsetToUtf16?r<0?0:r>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[r]:r}convertUtf16OffsetToUtf8(r){return this.utf16OffsetToUtf8?r<0?0:r>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[r]:r}dispose(){this.ptr===k._sharedPtr?k._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let ee=k;P(ee,"LAST_ID",0);P(ee,"_sharedPtr",0);P(ee,"_sharedPtrInUse",!1);class mr{constructor(e){if(P(this,"_onigBinding"),P(this,"_ptr"),!b)throw new Be("Must invoke loadWasm first.");const t=[],i=[];for(let c=0,a=e.length;c<a;c++){const u=new ye(e[c]);t[c]=u.createString(b),i[c]=u.utf8Length}const n=b.omalloc(4*e.length);b.HEAPU32.set(t,n/4);const s=b.omalloc(4*e.length);b.HEAPU32.set(i,s/4);const o=b.createOnigScanner(n,s,e.length);for(let c=0,a=e.length;c<a;c++)b.ofree(t[c]);b.ofree(s),b.ofree(n),o===0&&ur(b),this._onigBinding=b,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 ee(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 a=o/4;const u=c[a++],m=c[a++],d=[];for(let p=0;p<m;p++){const h=e.convertUtf8OffsetToUtf16(c[a++]),f=e.convertUtf8OffsetToUtf16(c[a++]);d[p]={start:h,end:f,length:f-h}}return{index:u,captureIndices:d}}}function dr(r){return typeof r.instantiator=="function"}function hr(r){return typeof r.default=="function"}function pr(r){return typeof r.data<"u"}function _r(r){return typeof Response<"u"&&r instanceof Response}function fr(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 ie;function gr(r){if(ie)return ie;async function e(){b=await ar(async t=>{let i=r;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),dr(i)?i=await i.instantiator(t):hr(i)?i=await i.default(t):(pr(i)&&(i=i.data),_r(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await Er(i)(t):i=await yr(i)(t):fr(i)?i=await Le(i)(t):i instanceof WebAssembly.Module?i=await Le(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await Le(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return ie=e(),ie}function Le(r){return e=>WebAssembly.instantiate(r,e)}function Er(r){return e=>WebAssembly.instantiateStreaming(r,e)}function yr(r){return async e=>{const t=await r.arrayBuffer();return WebAssembly.instantiate(t,e)}}let Rr;function Ar(){return Rr}async function _t(r){return r&&await gr(r),{createScanner(e){return new mr(e.map(t=>typeof t=="string"?t:t.source))},createString(e){return new ee(e)}}}function vr(r){return je(r)}function je(r){return Array.isArray(r)?Tr(r):r instanceof RegExp?r:typeof r=="object"?Lr(r):r}function Tr(r){let e=[];for(let t=0,i=r.length;t<i;t++)e[t]=je(r[t]);return e}function Lr(r){let e={};for(let t in r)e[t]=je(r[t]);return e}function ft(r,...e){return e.forEach(t=>{for(let i in t)r[i]=t[i]}),r}function gt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?gt(r.substring(0,r.length-1)):r.substr(~e+1)}var Pe=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ne=class{static hasCaptures(r){return r===null?!1:(Pe.lastIndex=0,Pe.test(r))}static replaceCaptures(r,e,t){return r.replace(Pe,(i,n,s,o)=>{let c=t[parseInt(n||s,10)];if(c){let a=e.substring(c.start,c.end);for(;a[0]===".";)a=a.substring(1);switch(o){case"downcase":return a.toLowerCase();case"upcase":return a.toUpperCase();default:return a}}else return i})}};function Et(r,e){return r<e?-1:r>e?1:0}function yt(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,i=e.length;if(t===i){for(let n=0;n<t;n++){let s=Et(r[n],e[n]);if(s!==0)return s}return 0}return t-i}function Qe(r){return!!(/^#[0-9a-f]{6}$/i.test(r)||/^#[0-9a-f]{8}$/i.test(r)||/^#[0-9a-f]{3}$/i.test(r)||/^#[0-9a-f]{4}$/i.test(r))}function Rt(r){return r.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var At=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 At(r=>this._root.match(r)));this._colorMap=r,this._defaults=e,this._root=t}static createFromRawTheme(r,e){return this.createFromParsedTheme(br(r),e)}static createFromParsedTheme(r,e){return Or(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=>Pr(r.parent,n.parentScopes));return i?new vt(i.fontStyle,i.foreground,i.background):null}},Ie=class ae{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new ae(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new ae(t,e[i]);return t}push(e){return new ae(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 Pr(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&&!Ir(r.scopeName,i);){if(n)return!1;r=r.parent}if(!r)return!1;r=r.parent}return!0}function Ir(r,e){return e===r||r.startsWith(e)&&r[e.length]==="."}var vt=class{constructor(r,e,t){this.fontStyle=r,this.foregroundId=e,this.backgroundId=t}};function br(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 d=o.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),c=d.split(",")}else Array.isArray(o.scope)?c=o.scope:c=[""];let a=-1;if(typeof o.settings.fontStyle=="string"){a=0;let d=o.settings.fontStyle.split(" ");for(let p=0,h=d.length;p<h;p++)switch(d[p]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let u=null;typeof o.settings.foreground=="string"&&Qe(o.settings.foreground)&&(u=o.settings.foreground);let m=null;typeof o.settings.background=="string"&&Qe(o.settings.background)&&(m=o.settings.background);for(let d=0,p=c.length;d<p;d++){let f=c[d].trim().split(" "),A=f[f.length-1],E=null;f.length>1&&(E=f.slice(0,f.length-1),E.reverse()),t[i++]=new Sr(A,E,n,a,u,m)}}return t}var Sr=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}},M=(r=>(r[r.NotSet=-1]="NotSet",r[r.None=0]="None",r[r.Italic=1]="Italic",r[r.Bold=2]="Bold",r[r.Underline=4]="Underline",r[r.Strikethrough=8]="Strikethrough",r))(M||{});function Or(r,e){r.sort((a,u)=>{let m=Et(a.scope,u.scope);return m!==0||(m=yt(a.parentScopes,u.parentScopes),m!==0)?m:a.index-u.index});let t=0,i="#000000",n="#ffffff";for(;r.length>=1&&r[0].scope==="";){let a=r.shift();a.fontStyle!==-1&&(t=a.fontStyle),a.foreground!==null&&(i=a.foreground),a.background!==null&&(n=a.background)}let s=new wr(e),o=new vt(t,s.getId(i),s.getId(n)),c=new Dr(new Ce(0,null,-1,0,0),[]);for(let a=0,u=r.length;a<u;a++){let m=r[a];c.insert(0,m.scope,m.parentScopes,m.fontStyle,s.getId(m.foreground),s.getId(m.background))}return new le(s,o,c)}var wr=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)}},Cr=Object.freeze([]),Ce=class Tt{constructor(e,t,i,n,s){_(this,"scopeDepth");_(this,"parentScopes");_(this,"fontStyle");_(this,"foreground");_(this,"background");this.scopeDepth=e,this.parentScopes=t||Cr,this.fontStyle=i,this.foreground=n,this.background=s}clone(){return new Tt(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)}},Dr=class De{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(De._cmpBySpecificity),t}insert(e,t,i,n,s,o){if(t===""){this._doInsertHere(e,i,n,s,o);return}let c=t.indexOf("."),a,u;c===-1?(a=t,u=""):(a=t.substring(0,c),u=t.substring(c+1));let m;this._children.hasOwnProperty(a)?m=this._children[a]:(m=new De(this._mainRule.clone(),Ce.cloneArr(this._rulesWithParentScopes)),this._children[a]=m),m.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 a=this._rulesWithParentScopes[o];if(yt(a.parentScopes,t)===0){a.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 Ce(e,t,i,n,s))}},H=class C{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=C.getLanguageId(e),i=C.getTokenType(e),n=C.getFontStyle(e),s=C.getForeground(e),o=C.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 a=C.getLanguageId(e),u=C.getTokenType(e),m=C.containsBalancedBrackets(e)?1:0,d=C.getFontStyle(e),p=C.getForeground(e),h=C.getBackground(e);return t!==0&&(a=t),i!==8&&(u=i),n!==null&&(m=n?1:0),s!==-1&&(d=s),o!==0&&(p=o),c!==0&&(h=c),(a<<0|u<<8|m<<10|d<<11|p<<15|h<<24)>>>0}};function ue(r,e){const t=[],i=kr(r);let n=i.next();for(;n!==null;){let a=0;if(n.length===2&&n.charAt(1)===":"){switch(n.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${n} in scope selector`)}n=i.next()}let u=o();if(t.push({matcher:u,priority:a}),n!==",")break;n=i.next()}return t;function s(){if(n==="-"){n=i.next();const a=s();return u=>!!a&&!a(u)}if(n==="("){n=i.next();const a=c();return n===")"&&(n=i.next()),a}if(Xe(n)){const a=[];do a.push(n),n=i.next();while(Xe(n));return u=>e(a,u)}return null}function o(){const a=[];let u=s();for(;u;)a.push(u),u=s();return m=>a.every(d=>d(m))}function c(){const a=[];let u=o();for(;u&&(a.push(u),n==="|"||n===",");){do n=i.next();while(n==="|"||n===",");u=o()}return m=>a.some(d=>d(m))}}function Xe(r){return!!r&&!!r.match(/[\w\.:]+/)}function kr(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 Lt(r){typeof r.dispose=="function"&&r.dispose()}var Q=class{constructor(r){this.scopeName=r}toKey(){return this.scopeName}},Nr=class{constructor(r,e){this.scopeName=r,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},Vr=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))}},xr=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 Vr;for(const t of r)Gr(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 Gr(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?ce({baseGrammar:s,selfGrammar:n},i):ke(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 ke(r,e,t){if(e.repository&&e.repository[r]){const i=e.repository[r];me([i],e,t)}}function ce(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&me(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&me(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function me(r,e,t){for(const i of r){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const n=i.repository?ft({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&me(i.patterns,{...e,repository:n},t);const s=i.include;if(!s)continue;const o=Pt(s);switch(o.kind){case 0:ce({...e,selfGrammar:e.baseGrammar},t);break;case 1:ce(e,t);break;case 2:ke(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 a={baseGrammar:e.baseGrammar,selfGrammar:c,repository:n};o.kind===4?ke(o.ruleName,a,t):ce(a,t)}else o.kind===4?t.add(new Nr(o.scopeName,o.ruleName)):t.add(new Q(o.scopeName));break}}}var Mr=class{constructor(){_(this,"kind",0)}},Br=class{constructor(){_(this,"kind",1)}},jr=class{constructor(r){_(this,"kind",2);this.ruleName=r}},$r=class{constructor(r){_(this,"kind",3);this.scopeName=r}},Wr=class{constructor(r,e){_(this,"kind",4);this.scopeName=r,this.ruleName=e}};function Pt(r){if(r==="$base")return new Mr;if(r==="$self")return new Br;const e=r.indexOf("#");if(e===-1)return new $r(r);if(e===0)return new jr(r.substring(1));{const t=r.substring(0,e),i=r.substring(e+1);return new Wr(t,i)}}var Ur=/\\(\d+)/,Ye=/\\(\d+)/g,Hr=-1,It=-2;var te=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=ne.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=ne.hasCaptures(this._contentName)}get debugName(){const r=this.$location?`${gt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${r}`}getName(r,e){return!this._nameIsCapturing||this._name===null||r===null||e===null?this._name:ne.replaceCaptures(this._name,r,e)}getContentName(r,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ne.replaceCaptures(this._contentName,r,e)}},Fr=class extends te{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!")}},qr=class extends te{constructor(e,t,i,n,s){super(e,t,i,null);_(this,"_match");_(this,"captures");_(this,"_cachedCompiledPatterns");this._match=new X(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 Y,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ze=class extends te{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 Y,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ne=class extends te{constructor(e,t,i,n,s,o,c,a,u,m){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 X(s,this.id),this.beginCaptures=o,this._end=new X(c||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=u||!1,this.patterns=m.patterns,this.hasMissingPatterns=m.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 Y;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}},de=class extends te{constructor(e,t,i,n,s,o,c,a,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 X(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new X(c,It),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,i,n){return this._getCachedCompiledPatterns(e).compileAG(e,i,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Y;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,i,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,i,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Y,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},bt=class S{static createCaptureRule(e,t,i,n,s){return e.registerRule(o=>new Fr(t,o,i,n,s))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(n=>{if(e.id=n,e.match)return new qr(e.$vscodeTextmateLocation,e.id,e.name,e.match,S._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=ft({},i,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new Ze(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,S._compilePatterns(s,t,i))}return e.while?new de(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,S._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,S._compileCaptures(e.whileCaptures||e.captures,t,i),S._compilePatterns(e.patterns,t,i)):new Ne(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,S._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,S._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,S._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 a=0;e[o].patterns&&(a=S.getCompiledRuleId(e[o],t,i)),n[c]=S.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,a)}}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 a=-1;if(c.include){const u=Pt(c.include);switch(u.kind){case 0:case 1:a=S.getCompiledRuleId(i[c.include],t,i);break;case 2:let m=i[u.ruleName];m&&(a=S.getCompiledRuleId(m,t,i));break;case 3:case 4:const d=u.scopeName,p=u.kind===4?u.ruleName:null,h=t.getExternalGrammar(d,i);if(h)if(p){let f=h.repository[p];f&&(a=S.getCompiledRuleId(f,t,h.repository))}else a=S.getCompiledRuleId(h.repository.$self,t,h.repository);break}}else a=S.getCompiledRuleId(c,t,i);if(a!==-1){const u=t.getRule(a);let m=!1;if((u instanceof Ze||u instanceof Ne||u instanceof de)&&u.hasMissingPatterns&&u.patterns.length===0&&(m=!0),m)continue;n.push(a)}}return{patterns:n,hasMissingPatterns:(e?e.length:0)!==n.length}}},X=class St{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=Ur.test(this.source):this.hasBackReferences=!1}clone(){return new St(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 Ye.lastIndex=0,this.source.replace(Ye,(n,s)=>Rt(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,a;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&&(a=this.source.charAt(s+1),a==="A"?(e[s+1]="￿",t[s+1]="￿",i[s+1]="A",n[s+1]="A"):a==="G"?(e[s+1]="￿",t[s+1]="G",i[s+1]="￿",n[s+1]="G"):(e[s+1]=a,t[s+1]=a,i[s+1]=a,n[s+1]=a),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}},Y=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 et(r,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(r,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(r,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(r,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(r,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(r,e,t)),this._anchorCache.A0_G0):this.compile(r)}_resolveAnchors(r,e,t){let i=this._items.map(n=>n.resolveAnchors(e,t));return new et(r,i,this._items.map(n=>n.ruleId))}},et=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}},be=class{constructor(r,e){this.languageId=r,this.tokenType=e}},G,zr=(G=class{constructor(e,t){_(this,"_defaultAttributes");_(this,"_embeddedLanguagesMatcher");_(this,"_getBasicScopeAttributes",new At(e=>{const t=this._scopeToLanguage(e),i=this._toStandardTokenType(e);return new be(t,i)}));this._defaultAttributes=new be(e,8),this._embeddedLanguagesMatcher=new Jr(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?G._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(G.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},_(G,"_NULL_SCOPE_METADATA",new be(0,0)),_(G,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),G),Jr=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])=>Rt(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(r){if(!this.scopesRegExp)return;const e=r.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},tt=class{constructor(r,e){this.stack=r,this.stoppedEarly=e}};function Ot(r,e,t,i,n,s,o,c){const a=e.content.length;let u=!1,m=-1;if(o){const h=Kr(r,e,t,i,n,s);n=h.stack,i=h.linePos,t=h.isFirstLine,m=h.anchorPosition}const d=Date.now();for(;!u;){if(c!==0&&Date.now()-d>c)return new tt(n,!0);p()}return new tt(n,!1);function p(){const h=Qr(r,e,t,i,n,m);if(!h){s.produce(n,a),u=!0;return}const f=h.captureIndices,A=h.matchedRuleId,E=f&&f.length>0?f[0].end>i:!1;if(A===Hr){const g=n.getRule(r);s.produce(n,f[0].start),n=n.withContentNameScopesList(n.nameScopesList),J(r,e,t,n,s,g.endCaptures,f),s.produce(n,f[0].end);const y=n;if(n=n.parent,m=y.getAnchorPos(),!E&&y.getEnterPos()===i){n=y,s.produce(n,a),u=!0;return}}else{const g=r.getRule(A);s.produce(n,f[0].start);const y=n,R=g.getName(e.content,f),v=n.contentNameScopesList.pushAttributed(R,r);if(n=n.push(A,i,m,f[0].end===a,null,v,v),g instanceof Ne){const T=g;J(r,e,t,n,s,T.beginCaptures,f),s.produce(n,f[0].end),m=f[0].end;const w=T.getContentName(e.content,f),L=v.pushAttributed(w,r);if(n=n.withContentNameScopesList(L),T.endHasBackReferences&&(n=n.withEndRule(T.getEndWithResolvedBackReferences(e.content,f))),!E&&y.hasSameRuleAs(n)){n=n.pop(),s.produce(n,a),u=!0;return}}else if(g instanceof de){const T=g;J(r,e,t,n,s,T.beginCaptures,f),s.produce(n,f[0].end),m=f[0].end;const w=T.getContentName(e.content,f),L=v.pushAttributed(w,r);if(n=n.withContentNameScopesList(L),T.whileHasBackReferences&&(n=n.withEndRule(T.getWhileWithResolvedBackReferences(e.content,f))),!E&&y.hasSameRuleAs(n)){n=n.pop(),s.produce(n,a),u=!0;return}}else if(J(r,e,t,n,s,g.captures,f),s.produce(n,f[0].end),n=n.pop(),!E){n=n.safePop(),s.produce(n,a),u=!0;return}}f[0].end>i&&(i=f[0].end,t=!1)}}function Kr(r,e,t,i,n,s){let o=n.beginRuleCapturedEOL?0:-1;const c=[];for(let a=n;a;a=a.pop()){const u=a.getRule(r);u instanceof de&&c.push({rule:u,stack:a})}for(let a=c.pop();a;a=c.pop()){const{ruleScanner:u,findOptions:m}=Zr(a.rule,r,a.stack.endRule,t,i===o),d=u.findNextMatchSync(e,i,m);if(d){if(d.ruleId!==It){n=a.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(s.produce(a.stack,d.captureIndices[0].start),J(r,e,t,a.stack,s,a.rule.whileCaptures,d.captureIndices),s.produce(a.stack,d.captureIndices[0].end),o=d.captureIndices[0].end,d.captureIndices[0].end>i&&(i=d.captureIndices[0].end,t=!1))}else{n=a.stack.pop();break}}return{stack:n,linePos:i,anchorPosition:o,isFirstLine:t}}function Qr(r,e,t,i,n,s){const o=Xr(r,e,t,i,n,s),c=r.getInjections();if(c.length===0)return o;const a=Yr(c,r,e,t,i,n,s);if(!a)return o;if(!o)return a;const u=o.captureIndices[0].start,m=a.captureIndices[0].start;return m<u||a.priorityMatch&&m===u?a:o}function Xr(r,e,t,i,n,s){const o=n.getRule(r),{ruleScanner:c,findOptions:a}=wt(o,r,n.endRule,t,i===s),u=c.findNextMatchSync(e,i,a);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function Yr(r,e,t,i,n,s,o){let c=Number.MAX_VALUE,a=null,u,m=0;const d=s.contentNameScopesList.getScopeNames();for(let p=0,h=r.length;p<h;p++){const f=r[p];if(!f.matcher(d))continue;const A=e.getRule(f.ruleId),{ruleScanner:E,findOptions:g}=wt(A,e,null,i,n===o),y=E.findNextMatchSync(t,n,g);if(!y)continue;const R=y.captureIndices[0].start;if(!(R>=c)&&(c=R,a=y.captureIndices,u=y.ruleId,m=f.priority,c===n))break}return a?{priorityMatch:m===-1,captureIndices:a,matchedRuleId:u}:null}function wt(r,e,t,i,n){return{ruleScanner:r.compileAG(e,t,i,n),findOptions:0}}function Zr(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,a=Math.min(s.length,o.length),u=[],m=o[0].end;for(let d=0;d<a;d++){const p=s[d];if(p===null)continue;const h=o[d];if(h.length===0)continue;if(h.start>m)break;for(;u.length>0&&u[u.length-1].endPos<=h.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,h.start):n.produce(i,h.start),p.retokenizeCapturedWithRuleId){const A=p.getName(c,o),E=i.contentNameScopesList.pushAttributed(A,r),g=p.getContentName(c,o),y=E.pushAttributed(g,r),R=i.push(p.retokenizeCapturedWithRuleId,h.start,-1,!1,null,E,y),v=r.createOnigString(c.substring(0,h.end));Ot(r,v,t&&h.start===0,h.start,R,n,!1,0),Lt(v);continue}const f=p.getName(c,o);if(f!==null){const E=(u.length>0?u[u.length-1].scopes:i.contentNameScopesList).pushAttributed(f,r);u.push(new ei(E,h.end))}}for(;u.length>0;)n.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var ei=class{constructor(r,e){_(this,"scopes");_(this,"endPos");this.scopes=r,this.endPos=e}};function ti(r,e,t,i,n,s,o,c){return new ii(r,e,t,i,n,s,o,c)}function rt(r,e,t,i,n){const s=ue(e,he),o=bt.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 he(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(ri(e[n],i))return t=n+1,!0;return!1})}function ri(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 ii=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 zr(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=it(e,null),this._injections=null,this._tokenTypeMatchers=[],n)for(const a of Object.keys(n)){const u=ue(a,he);for(const m of u)this._tokenTypeMatchers.push({matcher:m.matcher,type:n[a]})}}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)rt(e,o,n[o],this,i);const s=this._grammarRepository.injections(t);s&&s.forEach(o=>{const c=this.getExternalGrammar(o);if(c){const a=c.injectionSelector;a&&rt(e,a,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]=it(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=bt.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let n;if(!e||e===Ve.NULL){n=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),m=this.themeProvider.getDefaults(),d=H.set(0,u.languageId,u.tokenType,null,m.fontStyle,m.foregroundId,m.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=K.createRootAndLookUpScopeName(p,d,this):h=K.createRoot("unknown",d),e=new Ve(null,this._rootId,-1,-1,!1,null,h,h)}else n=!1,e.reset();r=r+`
4
4
  `;const s=this.createOnigString(r),o=s.content.length,c=new si(t,r,this._tokenTypeMatchers,this.balancedBracketSelectors),a=Ot(this,s,n,0,e,c,!0,i);return Lt(s),{lineLength:o,lineTokens:c,ruleStack:a.stack,stoppedEarly:a.stoppedEarly}}};function it(r,e){return r=vr(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 N{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=Ie.push(n,s.scopeNames),i=new N(i,n,s.encodedTokenAttributes);return i}static createRoot(e,t){return new N(null,new Ie(null,e),t)}static createRootAndLookUpScopeName(e,t,i){const n=i.getMetadataForScope(e),s=new Ie(null,e),o=i.themeProvider.themeMatch(s),c=N.mergeAttributes(t,n,o);return new N(null,s,c)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return N.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),H.set(e,t.languageId,t.tokenType,null,n,s,o)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return N._pushAttributed(this,e,t);const i=e.split(/ /g);let n=this;for(const s of i)n=N._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=N.mergeAttributes(e.tokenAttributes,n,o);return new N(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}},D,Ve=(D=class{constructor(e,t,i,n,s,o,c,a){_(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=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=n}equals(e){return e===null?!1:D._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?K.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){D._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,i,n,s,o,c){return new D(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 D(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,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 D(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,K.fromExtension(i,t.contentNameScopesList))}},_(D,"NULL",new D(null,0,0,0,!1,null,null,null)),D),ni=class{constructor(r,e){_(this,"balancedBracketScopes");_(this,"unbalancedBracketScopes");_(this,"allowAny",!1);this.balancedBracketScopes=r.flatMap(t=>t==="*"?(this.allowAny=!0,[]):ue(t,he).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>ue(t,he).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}},si=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=H.set(n,0,c.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(n=H.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}},oi=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,ti(r,s,e,t,i,n,this,this._onigLib))}return this._grammars.get(r)}},ai=class{constructor(e){_(this,"_options");_(this,"_syncRegistry");_(this,"_ensureGrammarCache");this._options=e,this._syncRegistry=new oi(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 ni(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,i,n,s){const o=new xr(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)}},xe=Ve.NULL;const ci=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],li=/["&'<>`]/g,ui=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mi=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,di=/[|\\{}()[\]^$+*?.]/g,nt=new WeakMap;function hi(r,e){if(r=r.replace(e.subset?pi(e.subset):li,i),e.subset||e.escapeOnly)return r;return r.replace(ui,t).replace(mi,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 pi(r){let e=nt.get(r);return e||(e=_i(r),nt.set(r,e)),e}function _i(r){const e=[];let t=-1;for(;++t<r.length;)e.push(r[t].replace(di,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const fi=/[\dA-Fa-f]/;function gi(r,e,t){const i="&#x"+r.toString(16).toUpperCase();return t&&e&&!fi.test(String.fromCharCode(e))?i:i+";"}const Ei=/\d/;function yi(r,e,t){const i="&#"+String(r);return t&&e&&!Ei.test(String.fromCharCode(e))?i:i+";"}const Ri=["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"],Se={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Ai=["cent","copy","divide","gt","lt","not","para","times"],Ct={}.hasOwnProperty,Ge={};let se;for(se in Se)Ct.call(Se,se)&&(Ge[Se[se]]=se);const vi=/[^\dA-Za-z]/;function Ti(r,e,t,i){const n=String.fromCharCode(r);if(Ct.call(Ge,n)){const s=Ge[n],o="&"+s;return t&&Ri.includes(s)&&!Ai.includes(s)&&(!i||e&&e!==61&&vi.test(String.fromCharCode(e)))?o:o+";"}return""}function Li(r,e,t){let i=gi(r,e,t.omitOptionalSemicolons),n;if((t.useNamedReferences||t.useShortestReferences)&&(n=Ti(r,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!n)&&t.useShortestReferences){const s=yi(r,e,t.omitOptionalSemicolons);s.length<i.length&&(i=s)}return n&&(!t.useShortestReferences||n.length<i.length)?n:i}function U(r,e){return hi(r,Object.assign({format:Li},e))}const Pi=/^>|^->|<!--|-->|--!>|<!-$/g,Ii=[">"],bi=["<",">"];function Si(r,e,t,i){return i.settings.bogusComments?"<?"+U(r.value,Object.assign({},i.settings.characterReferences,{subset:Ii}))+">":"<!--"+r.value.replace(Pi,n)+"-->";function n(s){return U(s,Object.assign({},i.settings.characterReferences,{subset:bi}))}}function Oi(r,e,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}const I=kt(1),Dt=kt(-1),wi=[];function kt(r){return e;function e(t,i,n){const s=t?t.children:wi;let o=(i||0)+r,c=s[o];if(!n)for(;c&&Me(c);)o+=r,c=s[o];return c}}const Ci={}.hasOwnProperty;function Nt(r){return e;function e(t,i,n){return Ci.call(r,t.tagName)&&r[t.tagName](t,i,n)}}const $e=Nt({body:ki,caption:Oe,colgroup:Oe,dd:Gi,dt:xi,head:Oe,html:Di,li:Vi,optgroup:Mi,option:Bi,p:Ni,rp:st,rt:st,tbody:$i,td:ot,tfoot:Wi,th:ot,thead:ji,tr:Ui});function Oe(r,e,t){const i=I(t,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&Me(i.value.charAt(0)))}function Di(r,e,t){const i=I(t,e);return!i||i.type!=="comment"}function ki(r,e,t){const i=I(t,e);return!i||i.type!=="comment"}function Ni(r,e,t){const i=I(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 Vi(r,e,t){const i=I(t,e);return!i||i.type==="element"&&i.tagName==="li"}function xi(r,e,t){const i=I(t,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function Gi(r,e,t){const i=I(t,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function st(r,e,t){const i=I(t,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function Mi(r,e,t){const i=I(t,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function Bi(r,e,t){const i=I(t,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function ji(r,e,t){const i=I(t,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function $i(r,e,t){const i=I(t,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function Wi(r,e,t){return!I(t,e)}function Ui(r,e,t){const i=I(t,e);return!i||i.type==="element"&&i.tagName==="tr"}function ot(r,e,t){const i=I(t,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const Hi=Nt({body:zi,colgroup:Ji,head:qi,html:Fi,tbody:Ki});function Fi(r){const e=I(r,-1);return!e||e.type!=="comment"}function qi(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 zi(r){const e=I(r,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Me(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Ji(r,e,t){const i=Dt(t,e),n=I(r,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&$e(i,t.children.indexOf(i),t)?!1:!!(n&&n.type==="element"&&n.tagName==="col")}function Ki(r,e,t){const i=Dt(t,e),n=I(r,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&$e(i,t.children.indexOf(i),t)?!1:!!(n&&n.type==="element"&&n.tagName==="tr")}const oe={name:[[`
5
5
  \f\r &/=>`.split(""),`
package/web/index.html CHANGED
@@ -19,8 +19,8 @@
19
19
  }
20
20
  })();
21
21
  </script>
22
- <script type="module" crossorigin src="/assets/index-j_URPl55.js"></script>
23
- <link rel="stylesheet" crossorigin href="/assets/index-BCQr-z9q.css">
22
+ <script type="module" crossorigin src="/assets/index-Cd1b_MtY.js"></script>
23
+ <link rel="stylesheet" crossorigin href="/assets/index-CFGvQhPn.css">
24
24
  </head>
25
25
  <body>
26
26
  <div id="root"></div>
@@ -1 +0,0 @@
1
- .tv-browse__header{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--tv-space-4);margin-bottom:var(--tv-space-4);flex-wrap:wrap}.tv-browse__controls{display:flex;gap:var(--tv-space-2);align-items:center}.tv-browse__crumbs{margin-bottom:var(--tv-space-3);font-size:var(--tv-fs-md)}.tv-input,.tv-select{background:var(--tv-bg-elevated);border:1px solid var(--tv-border-strong);color:var(--tv-fg);border-radius:var(--tv-radius-sm);padding:var(--tv-space-2) var(--tv-space-3);font-size:var(--tv-fs-md);font-family:inherit}.tv-input{min-width:220px}.tv-input:focus,.tv-select:focus{outline:none;border-color:var(--tv-accent)}.tv-linkbtn{background:transparent;border:0;color:var(--tv-accent);cursor:pointer;padding:0;font-size:var(--tv-fs-md)}.tv-linkbtn:hover{text-decoration:underline}.tv-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:var(--tv-space-3)}.tv-project-card{display:flex;flex-direction:column;gap:var(--tv-space-2);text-align:left;cursor:pointer;color:var(--tv-fg);text-decoration:none;transition:border-color .12s ease,background .12s ease}.tv-project-card:hover{border-color:var(--tv-border-strong);background:var(--tv-bg-hover);text-decoration:none}.tv-project-card__name{font-size:var(--tv-fs-lg);font-weight:600;word-break:break-word}.tv-project-card__cwd{font-size:var(--tv-fs-sm);word-break:break-all}.tv-project-card__stats{display:flex;flex-wrap:wrap;gap:var(--tv-space-1);align-items:center;margin-top:var(--tv-space-1)}.tv-project-card__footer{font-size:var(--tv-fs-sm);margin-top:auto;padding-top:var(--tv-space-1)}.tv-agent-filter{display:flex;flex-wrap:wrap;gap:var(--tv-space-2);margin-bottom:var(--tv-space-3)}.tv-agent-filter__btn{display:inline-flex;align-items:center;gap:var(--tv-space-2);background:var(--tv-bg-elevated);border:1px solid var(--tv-border);color:var(--tv-fg-muted);border-radius:var(--tv-radius);padding:var(--tv-space-1) var(--tv-space-3);font-size:var(--tv-fs-sm);font-family:inherit;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}.tv-agent-filter__btn:hover{border-color:var(--tv-border-strong);color:var(--tv-fg)}.tv-agent-filter__btn.is-active{border-color:var(--tv-accent);color:var(--tv-fg);background:var(--tv-accent-muted)}.tv-agent-filter__count{color:var(--tv-fg-faint);font-variant-numeric:tabular-nums}.tv-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--tv-space-2)}.tv-session-row{display:flex;align-items:center;justify-content:space-between;gap:var(--tv-space-4);padding:var(--tv-space-3) var(--tv-space-4);transition:border-color .12s ease}.tv-session-row:hover{border-color:var(--tv-border-strong)}.tv-session-row__main{display:flex;flex-direction:column;gap:var(--tv-space-1);min-width:0;flex:1;color:var(--tv-fg)}.tv-session-row__main:hover{text-decoration:none}.tv-session-row__title{font-weight:600;font-size:var(--tv-fs-md);display:flex;align-items:center;gap:var(--tv-space-2);word-break:break-word}.tv-session-row__meta{display:flex;flex-wrap:wrap;gap:var(--tv-space-2);font-size:var(--tv-fs-sm);align-items:center}.tv-session-row__side{display:flex;flex-direction:column;align-items:flex-end;gap:var(--tv-space-2);flex-shrink:0}.tv-session-row__numbers{display:flex;align-items:center;gap:var(--tv-space-2)}.tv-chip--model{border-color:var(--tv-assistant);color:var(--tv-assistant)}.tv-chip--sidechain{border-color:var(--tv-warning);color:var(--tv-warning)}.tv-chip--pr{border-color:var(--tv-accent);color:var(--tv-accent)}.tv-chip--pr:hover{text-decoration:none;background:var(--tv-accent-muted)}.tv-chip--agent{font-weight:600}.tv-chip--agent.tv-agent--claude-code{border-color:#d9775766;background:#d977571a;color:#e8896b}.tv-chip--agent.tv-agent--codex{border-color:#10a37f66;background:#10a37f1a;color:#2cc4a0}:root[data-theme=light] .tv-chip--agent.tv-agent--claude-code{color:#bf4722}:root[data-theme=light] .tv-chip--agent.tv-agent--codex{color:#0a7a5e}.tv-session{max-width:920px;margin:0 auto}.tv-session__header{position:sticky;top:calc(-1 * var(--tv-space-5));z-index:5;background:var(--tv-bg);margin:calc(-1 * var(--tv-space-5)) calc(-1 * var(--tv-space-5)) var(--tv-space-4);padding:var(--tv-space-3) var(--tv-space-5) var(--tv-space-3);border-bottom:1px solid var(--tv-border)}.tv-session__crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:var(--tv-space-2);margin-bottom:var(--tv-space-2);font-size:var(--tv-fs-sm)}.tv-session__trail{display:flex;align-items:center;gap:var(--tv-space-2);margin-right:var(--tv-space-2)}.tv-session__crumbs .tv-linkbtn:disabled{cursor:default;opacity:.7}.tv-session__crumbs .tv-linkbtn:disabled:hover{text-decoration:none}.tv-block{min-width:0}.tv-session__title{font-size:18px;font-weight:600;margin:0 0 var(--tv-space-2);display:flex;align-items:center;gap:var(--tv-space-2);line-height:1.3}.tv-session__meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--tv-space-2);font-size:var(--tv-fs-sm)}.tv-session__thread{display:flex;flex-direction:column;gap:var(--tv-space-3);padding-bottom:var(--tv-space-6)}.tv-turn{display:grid;grid-template-columns:24px 1fr;gap:var(--tv-space-3);scroll-margin-top:120px;content-visibility:auto;contain-intrinsic-size:auto 140px}.tv-turn__gutter{display:flex;justify-content:center;padding-top:6px}.tv-turn__role-dot{width:10px;height:10px;border-radius:50%;margin-top:2px}.tv-turn--user .tv-turn__role-dot{background:var(--tv-user)}.tv-turn--assistant .tv-turn__role-dot{background:var(--tv-assistant)}.tv-turn__body{min-width:0;border:1px solid var(--tv-border);border-radius:var(--tv-radius);background:var(--tv-bg-elevated);padding:var(--tv-space-3) var(--tv-space-4)}.tv-turn--user .tv-turn__body{border-left:2px solid var(--tv-user)}.tv-turn--assistant .tv-turn__body{border-left:2px solid var(--tv-assistant)}.tv-turn--sidechain .tv-turn__body{background:var(--tv-bg-inset);border-style:dashed}.tv-turn__head{display:flex;align-items:center;gap:var(--tv-space-2);margin-bottom:var(--tv-space-2);font-size:var(--tv-fs-sm)}.tv-turn__role{text-transform:uppercase;letter-spacing:.05em;font-weight:600;font-size:var(--tv-fs-sm)}.tv-turn--user .tv-turn__role{color:var(--tv-user)}.tv-turn--assistant .tv-turn__role{color:var(--tv-assistant)}.tv-turn__tag{font-size:var(--tv-fs-sm);color:var(--tv-warning);border:1px solid var(--tv-warning);border-radius:999px;padding:0 6px}.tv-turn__model{color:var(--tv-fg-faint);font-size:var(--tv-fs-sm)}.tv-turn__spacer{flex:1}.tv-turn__time{font-size:var(--tv-fs-sm);white-space:nowrap}.tv-turn__time:hover{color:var(--tv-accent)}.tv-turn__content{display:flex;flex-direction:column;gap:var(--tv-space-2)}.tv-turn.is-targeted .tv-turn__body{outline:2px solid var(--tv-accent);outline-offset:2px;transition:outline-color .4s ease}.tv-attachment{border:1px solid var(--tv-border);border-radius:var(--tv-radius);padding:var(--tv-space-2);background:var(--tv-bg-inset)}.tv-attachment img{max-width:100%;border-radius:var(--tv-radius-sm);display:block}.tv-attachment figcaption{font-size:var(--tv-fs-sm);margin-top:var(--tv-space-1)}.tv-subagent{margin:var(--tv-space-2) 0 var(--tv-space-2) var(--tv-space-3);border-left:2px solid var(--tv-accent-muted);padding-left:var(--tv-space-3)}.tv-collapsible--subagent{background:var(--tv-bg-inset);border:1px solid var(--tv-border);border-radius:var(--tv-radius)}.tv-subagent__stats{display:inline-flex;align-items:center;gap:var(--tv-space-2);font-size:var(--tv-fs-sm)}.tv-subagent__thread{display:flex;flex-direction:column;gap:var(--tv-space-3);padding:var(--tv-space-2) 0}.tv-subagent.is-targeted .tv-collapsible--subagent{outline:2px solid var(--tv-accent);outline-offset:2px}.tv-session__orphans{margin-top:var(--tv-space-6);padding-top:var(--tv-space-4);border-top:1px dashed var(--tv-border-strong)}.tv-session__orphans-title{font-size:var(--tv-fs-md);margin:0 0 var(--tv-space-3)}.tv-subagent-menu{position:relative;display:inline-block}.tv-subagent-menu>summary{cursor:pointer;list-style:none;font-size:var(--tv-fs-sm);color:var(--tv-accent);-webkit-user-select:none;user-select:none}.tv-subagent-menu>summary::-webkit-details-marker{display:none}.tv-subagent-menu__count{display:inline-block;min-width:16px;padding:0 5px;border-radius:999px;background:var(--tv-accent-muted);color:var(--tv-accent);text-align:center}.tv-subagent-menu__list{position:absolute;z-index:20;top:calc(100% + var(--tv-space-1));left:0;width:360px;max-height:420px;overflow-y:auto;margin:0;padding:var(--tv-space-1);list-style:none;background:var(--tv-bg-elevated);border:1px solid var(--tv-border-strong);border-radius:var(--tv-radius);box-shadow:0 8px 24px #0006}.tv-subagent-menu__item{display:flex;align-items:baseline;gap:var(--tv-space-2);padding:var(--tv-space-2);border-radius:var(--tv-radius-sm);text-decoration:none;color:inherit}.tv-subagent-menu__item:hover{background:var(--tv-bg-inset)}.tv-subagent-menu__type{flex:0 0 auto;font-size:var(--tv-fs-sm);color:var(--tv-accent);font-family:var(--tv-font-mono, monospace)}.tv-subagent-menu__desc{flex:1 1 auto;font-size:var(--tv-fs-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-subagent-menu__orphan{flex:0 0 auto;font-size:var(--tv-fs-sm);color:var(--tv-fg-muted);font-style:italic}.tv-session__tabs{display:flex;gap:var(--tv-space-1);margin-bottom:var(--tv-space-4);border-bottom:1px solid var(--tv-border)}.tv-tab{background:transparent;border:none;border-bottom:2px solid transparent;color:var(--tv-fg-muted);cursor:pointer;padding:var(--tv-space-2) var(--tv-space-3);font-size:var(--tv-fs-md);margin-bottom:-1px}.tv-tab:hover{color:var(--tv-fg)}.tv-tab.is-active{color:var(--tv-fg);border-bottom-color:var(--tv-accent)}.tv-tab__count{display:inline-block;min-width:16px;padding:0 5px;border-radius:999px;background:var(--tv-bg-inset);font-size:var(--tv-fs-sm)}.tv-diff-add{color:#3fb950}.tv-diff-del{color:var(--tv-danger)}.tv-changeset__list{list-style:none;margin:0;padding:0 0 var(--tv-space-6);display:flex;flex-direction:column;gap:var(--tv-space-2)}.tv-changeset__summary{width:100%;cursor:pointer;display:flex;align-items:center;gap:var(--tv-space-2);padding:var(--tv-space-2);border:1px solid var(--tv-border);border-radius:var(--tv-radius-sm);background:var(--tv-bg-inset);color:inherit;text-align:left}.tv-changeset__summary:hover{background:var(--tv-bg-elevated)}.tv-changeset__chevron{flex:0 0 auto;color:var(--tv-fg-muted)}.tv-changeset__path{flex:1 1 auto;word-break:break-all}.tv-changeset__stat{flex:0 0 auto;font-family:var(--tv-font-mono, monospace);font-size:var(--tv-fs-sm)}.tv-changeset__diffs{display:flex;flex-direction:column;gap:var(--tv-space-2);padding:var(--tv-space-2) 0 var(--tv-space-2) var(--tv-space-3)}.tv-export{position:relative;display:inline-block}.tv-export>summary{cursor:pointer;list-style:none;font-size:var(--tv-fs-sm);color:var(--tv-accent);-webkit-user-select:none;user-select:none}.tv-export>summary::-webkit-details-marker{display:none}.tv-export__menu{position:absolute;z-index:20;top:calc(100% + var(--tv-space-1));left:0;width:220px;padding:var(--tv-space-2);background:var(--tv-bg-elevated);border:1px solid var(--tv-border-strong);border-radius:var(--tv-radius);box-shadow:0 8px 24px #0006}.tv-export__opt{display:flex;align-items:center;gap:var(--tv-space-2);font-size:var(--tv-fs-sm);cursor:pointer;margin-bottom:var(--tv-space-2)}.tv-export__actions{display:flex;gap:var(--tv-space-3);border-top:1px solid var(--tv-border);padding-top:var(--tv-space-2)}.tv-finder{display:inline-flex;align-items:center;gap:var(--tv-space-1);margin-left:auto;background:var(--tv-bg-inset);border:1px solid var(--tv-border);border-radius:999px;padding:3px 6px 3px 10px;transition:border-color .12s ease,box-shadow .12s ease}.tv-finder:focus-within{border-color:var(--tv-accent);box-shadow:0 0 0 2px var(--tv-accent-muted)}.tv-finder__icon{color:var(--tv-fg-muted);font-size:var(--tv-fs-md)}.tv-finder__input{width:220px;background:transparent;border:none;outline:none;color:var(--tv-fg);font-size:var(--tv-fs-sm);padding:4px 2px}.tv-finder__input::placeholder{color:var(--tv-fg-muted)}.tv-finder__filter{background:var(--tv-bg-elevated);color:var(--tv-fg);border:1px solid var(--tv-border);border-radius:var(--tv-radius-sm);font-size:var(--tv-fs-sm);padding:2px 4px}.tv-finder__count{min-width:56px;text-align:center;font-size:var(--tv-fs-sm);color:var(--tv-fg-muted);font-variant-numeric:tabular-nums}.tv-finder__nav{background:transparent;border:1px solid var(--tv-border);border-radius:var(--tv-radius-sm);color:var(--tv-fg);cursor:pointer;width:22px;height:22px;line-height:1;font-size:var(--tv-fs-md)}.tv-finder__nav:disabled{opacity:.4;cursor:default}.tv-finder__nav:not(:disabled):hover{background:var(--tv-bg-elevated)}::highlight(cs-find){background-color:var(--tv-finder-highlight)}::highlight(cs-find-active){background-color:var(--tv-accent);color:var(--tv-finder-active-fg)}.tv-turn--system .tv-turn__role-dot{background:var(--tv-fg-muted);opacity:.5}.tv-collapsible--system{background:transparent;border:1px dashed var(--tv-border);border-radius:var(--tv-radius);opacity:.85}.tv-system-turn__pre{margin:0;padding:var(--tv-space-2) var(--tv-space-3);white-space:pre-wrap;word-break:break-word;font-size:var(--tv-fs-sm);color:var(--tv-fg-muted);font-family:var(--tv-font-mono, monospace)}.tv-search__controls{display:flex;flex-wrap:wrap;gap:var(--tv-space-3);align-items:flex-end;margin-bottom:var(--tv-space-4)}.tv-search__field{display:flex;flex-direction:column;gap:var(--tv-space-1)}.tv-search__field--grow{flex:1 1 280px;min-width:220px}.tv-search__label{font-size:var(--tv-fs-sm);color:var(--tv-fg-faint)}.tv-search__input,.tv-search__select{background:var(--tv-bg-inset);border:1px solid var(--tv-border);border-radius:var(--tv-radius);color:var(--tv-fg);font-family:var(--tv-font-sans);font-size:var(--tv-fs-md);padding:6px 10px}.tv-search__input:focus,.tv-search__select:focus{outline:none;border-color:var(--tv-accent);box-shadow:0 0 0 2px var(--tv-accent-muted)}.tv-search__input::placeholder{color:var(--tv-fg-faint)}.tv-search__meta{font-size:var(--tv-fs-sm);color:var(--tv-fg-muted);margin-bottom:var(--tv-space-3)}.tv-search__results{display:flex;flex-direction:column;gap:var(--tv-space-3)}.tv-search__result{display:block;text-decoration:none;color:inherit;transition:border-color .12s ease,background .12s ease}.tv-search__result:hover{border-color:var(--tv-border-strong);background:var(--tv-bg-hover)}.tv-search__result-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--tv-space-2);margin-bottom:var(--tv-space-2)}.tv-search__result-title{font-size:var(--tv-fs-md);font-weight:600;color:var(--tv-fg)}.tv-search__result-title--untitled{color:var(--tv-fg-muted);font-style:italic;font-weight:500}.tv-search__role{font-size:var(--tv-fs-sm);text-transform:capitalize;padding:0 6px;border-radius:999px;border:1px solid var(--tv-border);background:var(--tv-bg-inset)}.tv-search__role--user{color:var(--tv-user);border-color:#58a6ff55}.tv-search__role--assistant{color:var(--tv-assistant);border-color:#bc8cff55}.tv-search__score{margin-left:auto;font-size:var(--tv-fs-sm);color:var(--tv-fg-faint);font-variant-numeric:tabular-nums}.tv-search__snippet{font-size:var(--tv-fs-base);line-height:1.55;color:var(--tv-fg-muted);word-break:break-word}.tv-search__empty{color:var(--tv-fg-muted);padding:var(--tv-space-5) 0}.tv-analytics__toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--tv-space-4);margin-bottom:var(--tv-space-5)}.tv-analytics__field{display:flex;flex-direction:column;gap:var(--tv-space-1)}.tv-analytics__toggle{display:inline-flex;align-items:center;gap:var(--tv-space-2);font-size:var(--tv-fs-sm);color:var(--tv-fg-muted);cursor:pointer;-webkit-user-select:none;user-select:none}.tv-analytics__field-label{font-size:var(--tv-fs-sm);color:var(--tv-fg-faint);text-transform:uppercase;letter-spacing:.04em}.tv-segmented{display:inline-flex;border:1px solid var(--tv-border);border-radius:var(--tv-radius);overflow:hidden;background:var(--tv-bg-elevated)}.tv-segmented__btn{background:transparent;border:0;color:var(--tv-fg-muted);padding:var(--tv-space-2) var(--tv-space-4);cursor:pointer;font-size:var(--tv-fs-md)}.tv-segmented__btn+.tv-segmented__btn{border-left:1px solid var(--tv-border)}.tv-segmented__btn:hover{background:var(--tv-bg-hover);color:var(--tv-fg)}.tv-segmented__btn.is-active{background:var(--tv-accent-muted);color:var(--tv-fg)}.tv-analytics__date{background:var(--tv-bg-inset);border:1px solid var(--tv-border);border-radius:var(--tv-radius-sm);color:var(--tv-fg);font-family:inherit;font-size:var(--tv-fs-md);padding:var(--tv-space-2) var(--tv-space-3);color-scheme:dark}.tv-analytics__clear{background:transparent;border:1px solid var(--tv-border-strong);color:var(--tv-fg-muted);border-radius:var(--tv-radius-sm);padding:var(--tv-space-2) var(--tv-space-3);cursor:pointer;font-size:var(--tv-fs-md)}.tv-analytics__clear:hover{background:var(--tv-bg-hover);color:var(--tv-fg)}.tv-analytics__cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--tv-space-4);margin-bottom:var(--tv-space-5)}.tv-stat-card{display:flex;flex-direction:column;gap:var(--tv-space-2)}.tv-stat-card__label{font-size:var(--tv-fs-sm);color:var(--tv-fg-faint);text-transform:uppercase;letter-spacing:.04em}.tv-stat-card__value{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.1}.tv-stat-card__sub{font-size:var(--tv-fs-sm);color:var(--tv-fg-muted)}.tv-analytics__charts{display:flex;flex-direction:column;gap:var(--tv-space-5)}.tv-chart-card__head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--tv-space-3);margin-bottom:var(--tv-space-4)}.tv-chart-card__title{font-size:var(--tv-fs-lg);font-weight:600;margin:0}.tv-chart-card__hint{font-size:var(--tv-fs-sm);color:var(--tv-fg-faint)}.tv-chart-empty{display:flex;align-items:center;justify-content:center;height:220px;color:var(--tv-fg-faint);font-size:var(--tv-fs-md)}.tv-chart-tooltip{background:var(--tv-bg-elevated);border:1px solid var(--tv-border-strong);border-radius:var(--tv-radius);padding:var(--tv-space-2) var(--tv-space-3);font-size:var(--tv-fs-sm);box-shadow:0 4px 16px #0008;min-width:160px}.tv-chart-tooltip__label{font-weight:600;margin-bottom:var(--tv-space-1);font-family:var(--tv-font-mono)}.tv-chart-tooltip__row{display:flex;align-items:center;justify-content:space-between;gap:var(--tv-space-4)}.tv-chart-tooltip__row-label{display:inline-flex;align-items:center;gap:var(--tv-space-2);color:var(--tv-fg-muted)}.tv-chart-tooltip__swatch{width:9px;height:9px;border-radius:2px;display:inline-block}.tv-chart-tooltip__row-value{font-variant-numeric:tabular-nums;color:var(--tv-fg)}:root{color-scheme:dark;--tv-bg: #0e1116;--tv-bg-elevated: #161b22;--tv-bg-inset: #1c222b;--tv-bg-hover: #21262d;--tv-border: #2a3038;--tv-border-strong: #3a424d;--tv-fg: #e6edf3;--tv-fg-muted: #9aa6b2;--tv-fg-faint: #6b7682;--tv-accent: #58a6ff;--tv-accent-muted: #1f6feb33;--tv-success: #3fb950;--tv-warning: #d29922;--tv-danger: #f85149;--tv-danger-bg: #f8514922;--tv-user: #58a6ff;--tv-assistant: #bc8cff;--tv-tool: #d29922;--tv-thinking: #6b7682;--tv-finder-highlight: rgba(210, 153, 34, .35);--tv-finder-active-fg: #0b0f14;--tv-mark-bg: #d29922;--tv-mark-fg: #1a1300;--tv-space-1: 4px;--tv-space-2: 8px;--tv-space-3: 12px;--tv-space-4: 16px;--tv-space-5: 24px;--tv-space-6: 32px;--tv-radius: 6px;--tv-radius-sm: 4px;--tv-nav-width: 220px;--tv-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--tv-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--tv-fs-sm: 12px;--tv-fs-base: 13px;--tv-fs-md: 14px;--tv-fs-lg: 16px}:root[data-theme=light]{color-scheme:light;--tv-bg: #ffffff;--tv-bg-elevated: #f6f8fa;--tv-bg-inset: #eaeef2;--tv-bg-hover: #eef1f4;--tv-border: #d0d7de;--tv-border-strong: #afb8c1;--tv-fg: #1f2328;--tv-fg-muted: #656d76;--tv-fg-faint: #8c959f;--tv-accent: #0969da;--tv-accent-muted: #0969da1a;--tv-success: #1a7f37;--tv-warning: #9a6700;--tv-danger: #cf222e;--tv-danger-bg: #cf222e1a;--tv-user: #0969da;--tv-assistant: #8250df;--tv-tool: #9a6700;--tv-thinking: #8c959f;--tv-finder-highlight: rgba(154, 103, 0, .28);--tv-finder-active-fg: #ffffff;--tv-mark-bg: #fff1b8;--tv-mark-fg: #432c00}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--tv-bg);color:var(--tv-fg);font-family:var(--tv-font-sans);font-size:var(--tv-fs-base);line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--tv-accent);text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}.tv-app{display:grid;grid-template-columns:var(--tv-nav-width) 1fr;height:100vh;overflow:hidden}.tv-nav{background:var(--tv-bg-elevated);border-right:1px solid var(--tv-border);display:flex;flex-direction:column;padding:var(--tv-space-4) var(--tv-space-3);gap:var(--tv-space-1);overflow-y:auto}.tv-nav__brand{font-size:var(--tv-fs-lg);font-weight:600;letter-spacing:-.01em;padding:var(--tv-space-2) var(--tv-space-3) var(--tv-space-4);color:var(--tv-fg)}.tv-nav__brand:hover{text-decoration:none}.tv-nav__link{display:flex;align-items:center;gap:var(--tv-space-2);padding:var(--tv-space-2) var(--tv-space-3);border-radius:var(--tv-radius-sm);color:var(--tv-fg-muted);font-size:var(--tv-fs-md)}.tv-nav__link:hover{background:var(--tv-bg-hover);color:var(--tv-fg);text-decoration:none}.tv-nav__link.is-active{background:var(--tv-accent-muted);color:var(--tv-fg)}.tv-nav__spacer{flex:1}.tv-nav__footer{display:flex;flex-direction:column;gap:2px;padding:var(--tv-space-3);font-size:var(--tv-fs-sm);color:var(--tv-fg-faint);border-top:1px solid var(--tv-border)}.tv-nav__footer-label{text-transform:uppercase;letter-spacing:.04em;font-size:10px;color:var(--tv-fg-faint);margin-bottom:2px}.tv-nav__source{font-size:11px;color:var(--tv-fg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tv-theme-toggle{display:flex;gap:2px;padding:var(--tv-space-1);margin:0 var(--tv-space-2) var(--tv-space-2);background:var(--tv-bg-inset);border:1px solid var(--tv-border);border-radius:var(--tv-radius)}.tv-theme-toggle__btn{flex:1;display:flex;align-items:center;justify-content:center;gap:var(--tv-space-1);padding:var(--tv-space-1) var(--tv-space-2);background:transparent;border:0;border-radius:var(--tv-radius-sm);color:var(--tv-fg-muted);font-size:var(--tv-fs-sm);font-family:inherit;cursor:pointer;transition:background .12s ease,color .12s ease}.tv-theme-toggle__btn:hover{color:var(--tv-fg)}.tv-theme-toggle__btn.is-active{background:var(--tv-bg-elevated);color:var(--tv-fg);box-shadow:0 1px 2px #0003}.tv-main{overflow-y:auto;padding:var(--tv-space-5)}.tv-page-title{font-size:20px;font-weight:600;margin:0 0 var(--tv-space-4)}.tv-chips{display:inline-flex;flex-wrap:wrap;gap:var(--tv-space-1);align-items:center}.tv-chip{display:inline-flex;align-items:baseline;gap:4px;padding:1px 6px;border-radius:999px;background:var(--tv-bg-inset);border:1px solid var(--tv-border);font-size:var(--tv-fs-sm);color:var(--tv-fg-muted);white-space:nowrap}.tv-chip__label{color:var(--tv-fg-faint)}.tv-chip__value{color:var(--tv-fg);font-variant-numeric:tabular-nums}.tv-chip--input{border-color:#1f6feb55}.tv-chip--output{border-color:#bc8cff55}.tv-chip--cache{border-color:#3fb95055}.tv-cost-badge{display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;background:var(--tv-bg-inset);border:1px solid var(--tv-border-strong);font-size:var(--tv-fs-sm);font-variant-numeric:tabular-nums;color:var(--tv-fg);white-space:nowrap}.tv-cost-badge--zero{color:var(--tv-fg-faint)}.tv-spinner{display:inline-flex;align-items:center;gap:var(--tv-space-2);color:var(--tv-fg-muted);font-size:var(--tv-fs-md)}.tv-spinner__circle{width:16px;height:16px;border:2px solid var(--tv-border-strong);border-top-color:var(--tv-accent);border-radius:50%;animation:tv-spin .7s linear infinite}.tv-spinner--lg .tv-spinner__circle{width:28px;height:28px;border-width:3px}@keyframes tv-spin{to{transform:rotate(360deg)}}.tv-error{border:1px solid var(--tv-danger);background:var(--tv-danger-bg);color:var(--tv-fg);border-radius:var(--tv-radius);padding:var(--tv-space-3) var(--tv-space-4);font-size:var(--tv-fs-md)}.tv-error__title{font-weight:600;color:var(--tv-danger);margin-bottom:var(--tv-space-1)}.tv-error__detail{color:var(--tv-fg-muted);font-family:var(--tv-font-mono);font-size:var(--tv-fs-sm);white-space:pre-wrap;word-break:break-word}.tv-error__retry{margin-top:var(--tv-space-3);background:transparent;border:1px solid var(--tv-border-strong);color:var(--tv-fg);border-radius:var(--tv-radius-sm);padding:var(--tv-space-1) var(--tv-space-3);cursor:pointer}.tv-error__retry:hover{background:var(--tv-bg-hover)}.tv-collapsible{border:1px solid var(--tv-border);border-radius:var(--tv-radius);background:var(--tv-bg-elevated);overflow:hidden}.tv-collapsible+.tv-collapsible{margin-top:var(--tv-space-2)}.tv-collapsible__header{display:flex;align-items:center;gap:var(--tv-space-2);width:100%;text-align:left;background:transparent;border:0;color:var(--tv-fg);padding:var(--tv-space-2) var(--tv-space-3);cursor:pointer;font-size:var(--tv-fs-md)}.tv-collapsible__header:hover{background:var(--tv-bg-hover)}.tv-collapsible__chevron{display:inline-block;transition:transform .12s ease;color:var(--tv-fg-faint);font-size:10px}.tv-collapsible.is-open .tv-collapsible__chevron{transform:rotate(90deg)}.tv-collapsible__icon{font-size:var(--tv-fs-sm)}.tv-collapsible__title{font-weight:600}.tv-collapsible__subtitle{color:var(--tv-fg-muted);font-family:var(--tv-font-mono);font-size:var(--tv-fs-sm)}.tv-collapsible__spacer{flex:1}.tv-collapsible__body{border-top:1px solid var(--tv-border);padding:var(--tv-space-3)}.tv-collapsible--tool .tv-collapsible__icon{color:var(--tv-tool)}.tv-collapsible--thinking{background:var(--tv-bg-inset)}.tv-collapsible--thinking .tv-collapsible__title{color:var(--tv-thinking);font-style:italic}.tv-collapsible--error{border-color:var(--tv-danger)}.tv-tool__section-label{font-size:var(--tv-fs-sm);color:var(--tv-fg-faint);text-transform:uppercase;letter-spacing:.04em;margin:0 0 var(--tv-space-1)}.tv-tool__section+.tv-tool__section{margin-top:var(--tv-space-3)}.tv-tool__file{font-size:var(--tv-fs-sm);margin:0 0 var(--tv-space-2);word-break:break-all}.tv-code-plain{margin:0;padding:var(--tv-space-2) var(--tv-space-3);overflow-x:auto;background:var(--tv-bg-inset);border:1px solid var(--tv-border);border-radius:var(--tv-radius-sm);font-family:var(--tv-font-mono);font-size:var(--tv-fs-sm);line-height:1.5}.tv-diff{overflow-x:auto;border:1px solid var(--tv-border);border-radius:var(--tv-radius-sm);background:var(--tv-bg-inset);font-family:var(--tv-font-mono);font-size:var(--tv-fs-sm);line-height:1.5}.tv-diff__line{display:flex;white-space:pre}.tv-diff__gutter{flex:0 0 auto;width:2ch;text-align:center;opacity:.7;-webkit-user-select:none;user-select:none}.tv-diff__text{flex:1 1 auto;padding-right:var(--tv-space-2)}.tv-diff__line--add{background:#3fb95029}.tv-diff__line--add .tv-diff__gutter{color:#3fb950}.tv-diff__line--del{background:#f8514929}.tv-diff__line--del .tv-diff__gutter{color:var(--tv-danger)}.tv-diff__line--context{color:var(--tv-fg-muted)}.tv-md{font-size:var(--tv-fs-md);line-height:1.6;word-break:break-word}.tv-md>:first-child{margin-top:0}.tv-md>:last-child{margin-bottom:0}.tv-md p{margin:0 0 var(--tv-space-3)}.tv-md h1,.tv-md h2,.tv-md h3,.tv-md h4{margin:var(--tv-space-4) 0 var(--tv-space-2);line-height:1.3}.tv-md ul,.tv-md ol{margin:0 0 var(--tv-space-3);padding-left:var(--tv-space-5)}.tv-md li{margin:2px 0}.tv-md blockquote{margin:0 0 var(--tv-space-3);padding-left:var(--tv-space-3);border-left:3px solid var(--tv-border-strong);color:var(--tv-fg-muted)}.tv-md a{color:var(--tv-accent)}.tv-md code{font-family:var(--tv-font-mono);font-size:.92em;background:var(--tv-bg-inset);border:1px solid var(--tv-border);border-radius:var(--tv-radius-sm);padding:.1em .35em}.tv-md pre{margin:0 0 var(--tv-space-3);padding:var(--tv-space-3);border-radius:var(--tv-radius);overflow-x:auto;background:var(--tv-bg-inset);border:1px solid var(--tv-border);font-size:var(--tv-fs-base);line-height:1.5}.tv-md pre code{background:transparent;border:0;padding:0;font-size:inherit}.tv-shiki{margin:0 0 var(--tv-space-3)}.tv-shiki pre,.tv-md pre.shiki{margin:0;padding:var(--tv-space-3);border-radius:var(--tv-radius);border:1px solid var(--tv-border);overflow-x:auto;font-size:var(--tv-fs-base);line-height:1.5}.tv-shiki code{font-family:var(--tv-font-mono);background:transparent;border:0;padding:0}.tv-md table{border-collapse:collapse;margin:0 0 var(--tv-space-3);font-size:var(--tv-fs-base)}.tv-md th,.tv-md td{border:1px solid var(--tv-border);padding:var(--tv-space-1) var(--tv-space-2);text-align:left}.tv-md th{background:var(--tv-bg-inset)}.tv-md img{max-width:100%}.tv-md hr{border:0;border-top:1px solid var(--tv-border);margin:var(--tv-space-4) 0}.tv-pre{font-family:var(--tv-font-mono);font-size:var(--tv-fs-base);line-height:1.5;white-space:pre-wrap;word-break:break-word;margin:0;background:var(--tv-bg-inset);border:1px solid var(--tv-border);border-radius:var(--tv-radius);padding:var(--tv-space-3);overflow-x:auto}mark{background:var(--tv-mark-bg);color:var(--tv-mark-fg);border-radius:2px;padding:0 1px}.tv-card{background:var(--tv-bg-elevated);border:1px solid var(--tv-border);border-radius:var(--tv-radius);padding:var(--tv-space-4)}.tv-muted{color:var(--tv-fg-muted)}.tv-mono{font-family:var(--tv-font-mono)}@media(max-width:1080px){:root{--tv-nav-width: 188px}.tv-main{padding:var(--tv-space-4)}}@media(max-width:720px){:root{--tv-nav-width: 56px}.tv-nav__link{justify-content:center;gap:0;font-size:0;padding:var(--tv-space-2)}.tv-nav__link>span[aria-hidden]{font-size:var(--tv-fs-md)}.tv-nav__brand{font-size:0;padding:var(--tv-space-2) 0 var(--tv-space-4);text-align:center}.tv-nav__brand:after{content:"◎";font-size:var(--tv-fs-lg)}.tv-theme-toggle{flex-direction:column;margin:0 var(--tv-space-1) var(--tv-space-2)}.tv-nav__footer{display:none}}