"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92203],{92203:(e,t,n)=>{let r,i,a;n.d(t,{FP:()=>nM});var o={};n.r(o),n.d(o,{boolean:()=>eO,booleanish:()=>eI,commaOrSpaceSeparated:()=>ej,commaSeparated:()=>eB,number:()=>eD,overloadedBoolean:()=>eM,spaceSeparated:()=>eG});let l=[{id:"abap",name:"ABAP",import:()=>n.e(18211).then(n.bind(n,18211))},{id:"actionscript-3",name:"ActionScript",import:()=>n.e(82591).then(n.bind(n,82591))},{id:"ada",name:"Ada",import:()=>n.e(98211).then(n.bind(n,98211))},{id:"angular-html",name:"Angular HTML",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(43855)]).then(n.bind(n,43855))},{id:"angular-ts",name:"Angular TypeScript",import:()=>Promise.all([n.e(31587),n.e(7663),n.e(88298),n.e(36098),n.e(20018),n.e(52995)]).then(n.bind(n,70667))},{id:"apache",name:"Apache Conf",import:()=>n.e(85038).then(n.bind(n,85038))},{id:"apex",name:"Apex",import:()=>n.e(17854).then(n.bind(n,17854))},{id:"apl",name:"APL",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(3560)]).then(n.bind(n,3560))},{id:"applescript",name:"AppleScript",import:()=>n.e(31042).then(n.bind(n,31042))},{id:"ara",name:"Ara",import:()=>n.e(77965).then(n.bind(n,77965))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>Promise.all([n.e(31587),n.e(67682),n.e(59402),n.e(64722),n.e(34663),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(17365),n.e(20018),n.e(70868),n.e(429),n.e(35321),n.e(33186),n.e(14542),n.e(92593),n.e(69604),n.e(38807),n.e(96834),n.e(63383),n.e(70439),n.e(51596),n.e(21545),n.e(27784),n.e(70651),n.e(93175),n.e(62183)]).then(n.bind(n,62183))},{id:"asm",name:"Assembly",import:()=>n.e(17189).then(n.bind(n,17189))},{id:"astro",name:"Astro",import:()=>Promise.all([n.e(31587),n.e(67682),n.e(18837),n.e(88298),n.e(20018),n.e(70868),n.e(22154),n.e(84068)]).then(n.bind(n,84068))},{id:"awk",name:"AWK",import:()=>n.e(60370).then(n.bind(n,60370))},{id:"ballerina",name:"Ballerina",import:()=>n.e(63622).then(n.bind(n,63622))},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>n.e(29765).then(n.bind(n,29765))},{id:"beancount",name:"Beancount",import:()=>n.e(19012).then(n.bind(n,19012))},{id:"berry",name:"Berry",aliases:["be"],import:()=>n.e(70140).then(n.bind(n,70140))},{id:"bibtex",name:"BibTeX",import:()=>n.e(56334).then(n.bind(n,56334))},{id:"bicep",name:"Bicep",import:()=>n.e(32607).then(n.bind(n,32607))},{id:"blade",name:"Blade",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(21541)]).then(n.bind(n,21541))},{id:"c",name:"C",import:()=>n.e(59486).then(n.bind(n,59486))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>n.e(61511).then(n.bind(n,61511))},{id:"clarity",name:"Clarity",import:()=>n.e(89630).then(n.bind(n,89630))},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>n.e(72440).then(n.bind(n,72440))},{id:"cmake",name:"CMake",import:()=>n.e(21492).then(n.bind(n,21492))},{id:"cobol",name:"COBOL",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(80954)]).then(n.bind(n,80954))},{id:"codeowners",name:"CODEOWNERS",import:()=>n.e(41770).then(n.bind(n,41770))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>n.e(69771).then(n.bind(n,69771))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>Promise.all([n.e(31587),n.e(35321)]).then(n.bind(n,35321))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>n.e(42402).then(n.bind(n,42402))},{id:"coq",name:"Coq",import:()=>n.e(17404).then(n.bind(n,17404))},{id:"cpp",name:"C++",aliases:["c++"],import:()=>Promise.all([n.e(59402),n.e(64722),n.e(92229),n.e(59486),n.e(66185)]).then(n.bind(n,45838))},{id:"crystal",name:"Crystal",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(92229),n.e(59486),n.e(17365),n.e(96360)]).then(n.bind(n,96360))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>n.e(92593).then(n.bind(n,92593))},{id:"css",name:"CSS",import:()=>n.e(88298).then(n.bind(n,88298))},{id:"csv",name:"CSV",import:()=>n.e(57785).then(n.bind(n,57785))},{id:"cue",name:"CUE",import:()=>n.e(40192).then(n.bind(n,40192))},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>n.e(59535).then(n.bind(n,59535))},{id:"d",name:"D",import:()=>n.e(54371).then(n.bind(n,54371))},{id:"dart",name:"Dart",import:()=>n.e(61385).then(n.bind(n,61385))},{id:"dax",name:"DAX",import:()=>n.e(7261).then(n.bind(n,7261))},{id:"desktop",name:"Desktop",import:()=>n.e(45229).then(n.bind(n,45229))},{id:"diff",name:"Diff",import:()=>n.e(42624).then(n.bind(n,42624))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>n.e(5411).then(n.bind(n,5411))},{id:"dotenv",name:"dotEnv",import:()=>n.e(83658).then(n.bind(n,83658))},{id:"dream-maker",name:"Dream Maker",import:()=>n.e(73416).then(n.bind(n,73416))},{id:"edge",name:"Edge",import:()=>Promise.all([n.e(31587),n.e(67682),n.e(88298),n.e(36098),n.e(72538)]).then(n.bind(n,72538))},{id:"elixir",name:"Elixir",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(47374)]).then(n.bind(n,47374))},{id:"elm",name:"Elm",import:()=>Promise.all([n.e(59486),n.e(15173)]).then(n.bind(n,15173))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>n.e(33268).then(n.bind(n,62677))},{id:"erb",name:"ERB",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(17365),n.e(429),n.e(4512)]).then(n.bind(n,4512))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>n.e(27784).then(n.bind(n,27784))},{id:"fennel",name:"Fennel",import:()=>n.e(33535).then(n.bind(n,33535))},{id:"fish",name:"Fish",import:()=>n.e(87954).then(n.bind(n,87954))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>n.e(24808).then(n.bind(n,24808))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>Promise.all([n.e(82993),n.e(87473)]).then(n.bind(n,87473))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>n.e(82993).then(n.bind(n,82993))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>Promise.all([n.e(91144),n.e(58283)]).then(n.bind(n,58283))},{id:"gdresource",name:"GDResource",import:()=>n.e(56537).then(n.bind(n,56537))},{id:"gdscript",name:"GDScript",import:()=>n.e(38273).then(n.bind(n,38273))},{id:"gdshader",name:"GDShader",import:()=>n.e(1919).then(n.bind(n,1919))},{id:"genie",name:"Genie",import:()=>n.e(65710).then(n.bind(n,65710))},{id:"gherkin",name:"Gherkin",import:()=>n.e(49929).then(n.bind(n,49929))},{id:"git-commit",name:"Git Commit Message",import:()=>n.e(97629).then(n.bind(n,97629))},{id:"git-rebase",name:"Git Rebase Message",import:()=>Promise.all([n.e(17365),n.e(40069)]).then(n.bind(n,40069))},{id:"gleam",name:"Gleam",import:()=>n.e(56338).then(n.bind(n,56338))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>Promise.all([n.e(31587),n.e(67682),n.e(88298),n.e(36098),n.e(82478)]).then(n.bind(n,82478))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>Promise.all([n.e(31587),n.e(67682),n.e(88298),n.e(36098),n.e(83594)]).then(n.bind(n,83594))},{id:"glsl",name:"GLSL",import:()=>Promise.all([n.e(59486),n.e(13654)]).then(n.bind(n,13654))},{id:"gnuplot",name:"Gnuplot",import:()=>n.e(21597).then(n.bind(n,21597))},{id:"go",name:"Go",import:()=>n.e(38807).then(n.bind(n,38807))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>Promise.all([n.e(31587),n.e(67682),n.e(34663),n.e(18837),n.e(42613)]).then(n.bind(n,42613))},{id:"groovy",name:"Groovy",import:()=>n.e(93175).then(n.bind(n,93175))},{id:"hack",name:"Hack",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(92229),n.e(95352)]).then(n.bind(n,95352))},{id:"haml",name:"Ruby Haml",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(17365),n.e(91144),n.e(429),n.e(35321),n.e(28673)]).then(n.bind(n,28673))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(55430)]).then(n.bind(n,55430))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>n.e(96834).then(n.bind(n,96834))},{id:"haxe",name:"Haxe",import:()=>n.e(61827).then(n.bind(n,61827))},{id:"hcl",name:"HashiCorp HCL",import:()=>n.e(53783).then(n.bind(n,53783))},{id:"hjson",name:"Hjson",import:()=>n.e(43547).then(n.bind(n,43547))},{id:"hlsl",name:"HLSL",import:()=>n.e(22425).then(n.bind(n,22425))},{id:"html",name:"HTML",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098)]).then(n.bind(n,36098))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(67792)]).then(n.bind(n,67792))},{id:"http",name:"HTTP",import:()=>Promise.all([n.e(31587),n.e(67682),n.e(34663),n.e(18837),n.e(69369),n.e(17365),n.e(91766)]).then(n.bind(n,91766))},{id:"hxml",name:"HXML",import:()=>n.e(31060).then(n.bind(n,31060))},{id:"hy",name:"Hy",import:()=>n.e(70314).then(n.bind(n,70314))},{id:"imba",name:"Imba",import:()=>Promise.all([n.e(67682),n.e(38432)]).then(n.bind(n,38432))},{id:"ini",name:"INI",aliases:["properties"],import:()=>n.e(51259).then(n.bind(n,51259))},{id:"java",name:"Java",import:()=>n.e(69369).then(n.bind(n,69369))},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>n.e(31587).then(n.bind(n,81638))},{id:"jinja",name:"Jinja",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(55277)]).then(n.bind(n,55277))},{id:"jison",name:"Jison",import:()=>Promise.all([n.e(31587),n.e(34260)]).then(n.bind(n,34260))},{id:"json",name:"JSON",import:()=>n.e(78369).then(n.bind(n,78369))},{id:"json5",name:"JSON5",import:()=>n.e(78485).then(n.bind(n,78485))},{id:"jsonc",name:"JSON with Comments",import:()=>n.e(48820).then(n.bind(n,48820))},{id:"jsonl",name:"JSON Lines",import:()=>n.e(99345).then(n.bind(n,99345))},{id:"jsonnet",name:"Jsonnet",import:()=>n.e(75812).then(n.bind(n,75812))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>n.e(86765).then(n.bind(n,86765))},{id:"jsx",name:"JSX",import:()=>n.e(34663).then(n.bind(n,77204))},{id:"julia",name:"Julia",aliases:["jl"],import:()=>Promise.all([n.e(31587),n.e(59402),n.e(64722),n.e(92229),n.e(59486),n.e(33186),n.e(14542),n.e(69604)]).then(n.bind(n,38174))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>n.e(34137).then(n.bind(n,34137))},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>n.e(66137).then(n.bind(n,66137))},{id:"latex",name:"LaTeX",import:()=>Promise.all([n.e(31587),n.e(67682),n.e(59402),n.e(64722),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(17365),n.e(429),n.e(33186),n.e(14542),n.e(69604),n.e(96834),n.e(63383),n.e(99728)]).then(n.bind(n,99728))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>n.e(47959).then(n.bind(n,47959))},{id:"less",name:"Less",import:()=>n.e(70868).then(n.bind(n,70868))},{id:"liquid",name:"Liquid",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(59115)]).then(n.bind(n,59115))},{id:"log",name:"Log file",import:()=>n.e(17251).then(n.bind(n,17251))},{id:"logo",name:"Logo",import:()=>n.e(55100).then(n.bind(n,55100))},{id:"lua",name:"Lua",import:()=>Promise.all([n.e(59486),n.e(62321)]).then(n.bind(n,62321))},{id:"luau",name:"Luau",import:()=>n.e(45706).then(n.bind(n,45706))},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>n.e(75016).then(n.bind(n,75016))},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>n.e(91144).then(n.bind(n,90553))},{id:"marko",name:"Marko",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(20018),n.e(70868),n.e(70781)]).then(n.bind(n,70781))},{id:"matlab",name:"MATLAB",import:()=>n.e(42579).then(n.bind(n,42579))},{id:"mdc",name:"MDC",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(91144),n.e(65176)]).then(n.bind(n,65176))},{id:"mdx",name:"MDX",import:()=>n.e(59807).then(n.bind(n,59807))},{id:"mermaid",name:"Mermaid",import:()=>n.e(50812).then(n.bind(n,50812))},{id:"mojo",name:"Mojo",import:()=>n.e(56639).then(n.bind(n,56639))},{id:"move",name:"Move",import:()=>n.e(95133).then(n.bind(n,95133))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>n.e(47295).then(n.bind(n,47295))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>n.e(63032).then(n.bind(n,63032))},{id:"nginx",name:"Nginx",import:()=>Promise.all([n.e(59486),n.e(26551)]).then(n.bind(n,26551))},{id:"nim",name:"Nim",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(59486),n.e(91144),n.e(19020)]).then(n.bind(n,19020))},{id:"nix",name:"Nix",import:()=>n.e(81753).then(n.bind(n,81753))},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>n.e(48134).then(n.bind(n,48134))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>n.e(70439).then(n.bind(n,70439))},{id:"objective-cpp",name:"Objective-C++",import:()=>n.e(43881).then(n.bind(n,23320))},{id:"ocaml",name:"OCaml",import:()=>n.e(70651).then(n.bind(n,70651))},{id:"pascal",name:"Pascal",import:()=>n.e(93755).then(n.bind(n,93755))},{id:"perl",name:"Perl",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(21545),n.e(4163)]).then(n.bind(n,21545))},{id:"php",name:"PHP",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(32994),n.e(58229)]).then(n.bind(n,32994))},{id:"plsql",name:"PL/SQL",import:()=>n.e(41124).then(n.bind(n,41124))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>n.e(25867).then(n.bind(n,25867))},{id:"postcss",name:"PostCSS",import:()=>n.e(33759).then(n.bind(n,33759))},{id:"powerquery",name:"PowerQuery",import:()=>n.e(31200).then(n.bind(n,31200))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>n.e(87043).then(n.bind(n,87043))},{id:"prisma",name:"Prisma",import:()=>n.e(27449).then(n.bind(n,27449))},{id:"prolog",name:"Prolog",import:()=>n.e(70553).then(n.bind(n,70553))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>n.e(6251).then(n.bind(n,6251))},{id:"pug",name:"Pug",aliases:["jade"],import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(20018),n.e(35321),n.e(22154),n.e(25028)]).then(n.bind(n,25028))},{id:"puppet",name:"Puppet",import:()=>n.e(51517).then(n.bind(n,51517))},{id:"purescript",name:"PureScript",import:()=>n.e(35557).then(n.bind(n,35557))},{id:"python",name:"Python",aliases:["py"],import:()=>n.e(33186).then(n.bind(n,33186))},{id:"qml",name:"QML",import:()=>Promise.all([n.e(31587),n.e(47118)]).then(n.bind(n,47118))},{id:"qmldir",name:"QML Directory",import:()=>n.e(62663).then(n.bind(n,62663))},{id:"qss",name:"Qt Style Sheets",import:()=>n.e(52437).then(n.bind(n,52437))},{id:"r",name:"R",import:()=>n.e(14542).then(n.bind(n,14542))},{id:"racket",name:"Racket",import:()=>n.e(51683).then(n.bind(n,51683))},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>n.e(20819).then(n.bind(n,20819))},{id:"razor",name:"ASP.NET Razor",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(92593),n.e(84667)]).then(n.bind(n,84667))},{id:"reg",name:"Windows Registry Script",import:()=>n.e(39397).then(n.bind(n,39397))},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>n.e(37780).then(n.bind(n,37780))},{id:"rel",name:"Rel",import:()=>n.e(9690).then(n.bind(n,9690))},{id:"riscv",name:"RISC-V",import:()=>n.e(20833).then(n.bind(n,20833))},{id:"rst",name:"reStructuredText",import:()=>Promise.all([n.e(31587),n.e(59402),n.e(64722),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(17365),n.e(429),n.e(33186),n.e(51952)]).then(n.bind(n,72780))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(17365),n.e(429)]).then(n.bind(n,429))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>n.e(65577).then(n.bind(n,65577))},{id:"sas",name:"SAS",import:()=>Promise.all([n.e(92229),n.e(11034)]).then(n.bind(n,11034))},{id:"sass",name:"Sass",import:()=>n.e(25569).then(n.bind(n,25569))},{id:"scala",name:"Scala",import:()=>n.e(63383).then(n.bind(n,63383))},{id:"scheme",name:"Scheme",import:()=>n.e(5549).then(n.bind(n,5549))},{id:"scss",name:"SCSS",import:()=>Promise.all([n.e(88298),n.e(20018)]).then(n.bind(n,20018))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>n.e(44022).then(n.bind(n,44022))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>n.e(17365).then(n.bind(n,17365))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>Promise.all([n.e(17365),n.e(64257)]).then(n.bind(n,64257))},{id:"smalltalk",name:"Smalltalk",import:()=>n.e(52954).then(n.bind(n,52954))},{id:"solidity",name:"Solidity",import:()=>n.e(81484).then(n.bind(n,81484))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(3493)]).then(n.bind(n,3493))},{id:"sparql",name:"SPARQL",import:()=>n.e(63547).then(n.bind(n,63547))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>n.e(79972).then(n.bind(n,79972))},{id:"sql",name:"SQL",import:()=>n.e(92229).then(n.bind(n,92229))},{id:"ssh-config",name:"SSH Config",import:()=>n.e(43413).then(n.bind(n,43413))},{id:"stata",name:"Stata",import:()=>Promise.all([n.e(92229),n.e(5410)]).then(n.bind(n,5410))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>n.e(22154).then(n.bind(n,22154))},{id:"svelte",name:"Svelte",import:()=>Promise.all([n.e(31587),n.e(67682),n.e(88298),n.e(36098),n.e(20018),n.e(91144),n.e(70868),n.e(35321),n.e(22154),n.e(25028),n.e(94774)]).then(n.bind(n,94774))},{id:"swift",name:"Swift",import:()=>n.e(51596).then(n.bind(n,51596))},{id:"system-verilog",name:"SystemVerilog",import:()=>n.e(17735).then(n.bind(n,17735))},{id:"systemd",name:"Systemd Units",import:()=>n.e(89024).then(n.bind(n,89024))},{id:"tasl",name:"Tasl",import:()=>n.e(3750).then(n.bind(n,3750))},{id:"tcl",name:"Tcl",import:()=>n.e(95589).then(n.bind(n,95589))},{id:"templ",name:"Templ",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(38807),n.e(31466)]).then(n.bind(n,31466))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>n.e(22486).then(n.bind(n,22486))},{id:"tex",name:"TeX",import:()=>Promise.all([n.e(14542),n.e(25677)]).then(n.bind(n,25677))},{id:"toml",name:"TOML",import:()=>n.e(92062).then(n.bind(n,92062))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>Promise.all([n.e(31587),n.e(67682),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(67154)]).then(n.bind(n,67154))},{id:"tsv",name:"TSV",import:()=>n.e(38172).then(n.bind(n,38172))},{id:"tsx",name:"TSX",import:()=>n.e(18837).then(n.bind(n,99422))},{id:"turtle",name:"Turtle",import:()=>n.e(68023).then(n.bind(n,68023))},{id:"twig",name:"Twig",import:()=>Promise.all([n.e(31587),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(17365),n.e(20018),n.e(429),n.e(33186),n.e(32994),n.e(48247)]).then(n.bind(n,48247))},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>n.e(67682).then(n.bind(n,97540))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>n.e(97246).then(n.bind(n,97246))},{id:"typst",name:"Typst",aliases:["typ"],import:()=>n.e(53008).then(n.bind(n,53008))},{id:"v",name:"V",import:()=>n.e(38530).then(n.bind(n,38530))},{id:"vala",name:"Vala",import:()=>n.e(77963).then(n.bind(n,77963))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>n.e(23213).then(n.bind(n,23213))},{id:"verilog",name:"Verilog",import:()=>n.e(12044).then(n.bind(n,12044))},{id:"vhdl",name:"VHDL",import:()=>n.e(30058).then(n.bind(n,30058))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>n.e(67274).then(n.bind(n,67274))},{id:"vue",name:"Vue",import:()=>Promise.all([n.e(31587),n.e(67682),n.e(34663),n.e(18837),n.e(88298),n.e(36098),n.e(20018),n.e(91144),n.e(70868),n.e(35321),n.e(22154),n.e(25028),n.e(62803)]).then(n.bind(n,62803))},{id:"vue-html",name:"Vue HTML",import:()=>Promise.all([n.e(31587),n.e(67682),n.e(34663),n.e(18837),n.e(88298),n.e(36098),n.e(20018),n.e(91144),n.e(70868),n.e(35321),n.e(22154),n.e(25028),n.e(62803),n.e(62100)]).then(n.bind(n,62100))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>n.e(5144).then(n.bind(n,5144))},{id:"wasm",name:"WebAssembly",import:()=>n.e(52450).then(n.bind(n,52450))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>n.e(91226).then(n.bind(n,91226))},{id:"wgsl",name:"WGSL",import:()=>n.e(34836).then(n.bind(n,34836))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>Promise.all([n.e(31587),n.e(67682),n.e(59402),n.e(64722),n.e(88298),n.e(36098),n.e(69369),n.e(92229),n.e(59486),n.e(17365),n.e(20018),n.e(91144),n.e(70868),n.e(429),n.e(35321),n.e(33186),n.e(22154),n.e(14542),n.e(25028),n.e(92593),n.e(69604),n.e(38807),n.e(96834),n.e(63383),n.e(32994),n.e(70439),n.e(51596),n.e(21545),n.e(27784),n.e(99728),n.e(54021)]).then(n.bind(n,54021))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>n.e(46788).then(n.bind(n,36505))},{id:"xml",name:"XML",import:()=>Promise.all([n.e(69369),n.e(97604)]).then(n.bind(n,4163))},{id:"xsl",name:"XSL",import:()=>Promise.all([n.e(69369),n.e(6927)]).then(n.bind(n,6927))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>n.e(78056).then(n.bind(n,78056))},{id:"zenscript",name:"ZenScript",import:()=>n.e(44395).then(n.bind(n,44395))},{id:"zig",name:"Zig",import:()=>n.e(70334).then(n.bind(n,70334))}],s=Object.fromEntries(l.map(e=>[e.id,e.import])),u=Object.fromEntries(l.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),c={...s,...u},h=async e=>Promise.all([n.e(93133),n.e(94991)]).then(n.bind(n,94991)).then(t=>t.default(e)),d=Object.fromEntries([{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>n.e(83901).then(n.bind(n,83901))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>n.e(89764).then(n.bind(n,89764))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>n.e(82522).then(n.bind(n,82522))},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xe9",type:"dark",import:()=>n.e(98624).then(n.bind(n,98624))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>n.e(21622).then(n.bind(n,21622))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>n.e(6635).then(n.bind(n,6635))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>n.e(72073).then(n.bind(n,72073))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>n.e(52727).then(n.bind(n,52727))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>n.e(55314).then(n.bind(n,55314))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>n.e(79663).then(n.bind(n,79663))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>n.e(38266).then(n.bind(n,38266))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>n.e(27457).then(n.bind(n,27457))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>n.e(26777).then(n.bind(n,26777))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>n.e(64354).then(n.bind(n,64354))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>n.e(93211).then(n.bind(n,93211))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>n.e(85541).then(n.bind(n,85541))},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>n.e(87205).then(n.bind(n,87205))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>n.e(70503).then(n.bind(n,70503))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>n.e(31004).then(n.bind(n,31004))},{id:"houston",displayName:"Houston",type:"dark",import:()=>n.e(74475).then(n.bind(n,74475))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>n.e(23960).then(n.bind(n,23960))},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>n.e(75847).then(n.bind(n,75847))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>n.e(45647).then(n.bind(n,77669))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>n.e(43789).then(n.bind(n,43789))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>n.e(31692).then(n.bind(n,31692))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>n.e(77669).then(n.bind(n,50249))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>n.e(82026).then(n.bind(n,82026))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>n.e(57862).then(n.bind(n,57862))},{id:"min-light",displayName:"Min Light",type:"light",import:()=>n.e(73116).then(n.bind(n,73116))},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>n.e(10434).then(n.bind(n,43077))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>n.e(13122).then(n.bind(n,13122))},{id:"nord",displayName:"Nord",type:"dark",import:()=>n.e(89628).then(n.bind(n,89628))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>n.e(98782).then(n.bind(n,98782))},{id:"one-light",displayName:"One Light",type:"light",import:()=>n.e(39245).then(n.bind(n,39245))},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>n.e(10358).then(n.bind(n,10358))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>n.e(81506).then(n.bind(n,81506))},{id:"red",displayName:"Red",type:"dark",import:()=>n.e(30036).then(n.bind(n,30036))},{id:"rose-pine",displayName:"Ros\xe9 Pine",type:"dark",import:()=>n.e(841).then(n.bind(n,841))},{id:"rose-pine-dawn",displayName:"Ros\xe9 Pine Dawn",type:"light",import:()=>n.e(18537).then(n.bind(n,18537))},{id:"rose-pine-moon",displayName:"Ros\xe9 Pine Moon",type:"dark",import:()=>n.e(40878).then(n.bind(n,40878))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>n.e(44055).then(n.bind(n,44055))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>n.e(98819).then(n.bind(n,98819))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>n.e(82007).then(n.bind(n,82007))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>n.e(90091).then(n.bind(n,90091))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>n.e(44284).then(n.bind(n,44284))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>n.e(44198).then(n.bind(n,44198))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>n.e(77986).then(n.bind(n,77986))},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>n.e(9684).then(n.bind(n,9684))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>n.e(44413).then(n.bind(n,44413))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>n.e(39355).then(n.bind(n,39355))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>n.e(23953).then(n.bind(n,23953))}].map(e=>[e.id,e.import]));class p extends Error{constructor(e){super(e),this.name="ShikiError"}}var m=n(28070);function g(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}var f=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,b=class{static hasCaptures(e){return null!==e&&(f.lastIndex=0,f.test(e))}static replaceCaptures(e,t,n){return e.replace(f,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(!o)return e;{let e=t.substring(o.start,o.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function y(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;ra?1:0;if(0!==n)return n}return 0}return n-r}function _(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function k(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var S=class{constructor(e){this.fn=e,this.cache=new Map}get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},w=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n,this._cachedMatchRoot=new S(e=>this._root.match(e))}static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e1&&(c=a.slice(0,a.length-1)).reverse(),n[r++]=new P(u,c,e,o,l,s)}}return n}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var n,r;let i=(n=e.scope)<(r=t.scope)?-1:n>r?1:0;return 0!==i||0!==(i=y(e.parentScopes,t.parentScopes))?i:e.index-t.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(r=t.foreground),null!==t.background&&(i=t.background)}let a=new A(t),o=new C(n,a.getId(r),a.getId(i)),l=new x(new L(0,null,-1,0,0),[]);for(let t=0,n=e.length;t(function(e,t){if(0===t.length)return!0;for(let i=0;i"===a){if(i===t.length-1)return!1;a=t[++i],o=!0}for(;e&&(n=e.scopeName,!((r=a)===n||n.startsWith(r)&&"."===n[r.length]));){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return n?new C(n.fontStyle,n.foreground,n.background):null}},v=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(N||{}),A=class{constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;te?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==n&&(this.foreground=n),0!==r&&(this.background=r)}},x=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;">"===e.parentScopes[n]&&n++,">"===t.parentScopes[r]&&r++,!(n>=e.parentScopes.length)&&!(r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(0!==i)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,n,r=t.indexOf(".");if(-1===r?(e=t,n=""):(e=t.substring(0,r),n=t.substring(r+1)),this._children.hasOwnProperty(e))return this._children[e].match(n)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,o){let l,s,u;if(""===n){this._doInsertHere(t,r,i,a,o);return}let c=n.indexOf(".");-1===c?(l=n,s=""):(l=n.substring(0,c),s=n.substring(c+1)),this._children.hasOwnProperty(l)?u=this._children[l]:(u=new e(this._mainRule.clone(),L.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,s,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(null===t){this._mainRule.acceptOverwrite(e,n,r,i);return}for(let a=0,o=this._rulesWithParentScopes.length;a>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(16744448&e)>>>15}static getBackground(e){return(4278190080&e)>>>24}static set(t,n,r,i,a,o,l){let s=e.getLanguageId(t),u=e.getTokenType(t),c=e.containsBalancedBrackets(t)?1:0,h=e.getFontStyle(t),d=e.getForeground(t),p=e.getBackground(t);return 0!==n&&(s=n),8!==r&&(u=r),null!==i&&(c=i?1:0),-1!==a&&(h=a),0!==o&&(d=o),0!==l&&(p=l),(s<<0|u<<8|c<<10|h<<11|d<<15|p<<24)>>>0}};function E(e,t){let n,r;let i=[],a=(r=(n=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(e),{next:()=>{if(!r)return null;let t=r[0];return r=n.exec(e),t}}),o=a.next();for(;null!==o;){let e=0;if(2===o.length&&":"===o.charAt(1)){switch(o.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=a.next()}let t=s();if(i.push({matcher:t,priority:e}),","!==o)break;o=a.next()}return i;function l(){if("-"===o){o=a.next();let e=l();return t=>!!e&&!e(t)}if("("===o){o=a.next();let e=function(){let e=[],t=s();for(;t&&(e.push(t),"|"===o||","===o);){do o=a.next();while("|"===o||","===o);t=s()}return t=>e.some(e=>e(t))}();return")"===o&&(o=a.next()),e}if(O(o)){let e=[];do e.push(o),o=a.next();while(O(o));return n=>t(e,n)}return null}function s(){let e=[],t=l();for(;t;)e.push(t),t=l();return t=>e.every(e=>e(t))}}function O(e){return!!e&&!!e.match(/[\w\.:]+/)}var I=(e=>(e[e.None=0]="None",e[e.NotBeginString=1]="NotBeginString",e[e.NotEndString=2]="NotEndString",e[e.NotBeginPosition=4]="NotBeginPosition",e[e.DebugCall=8]="DebugCall",e))(I||{});function M(e){"function"==typeof e.dispose&&e.dispose()}var D=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},G=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},B=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},j=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new D(this.initialScopeName)]}processQueue(){let e=this.Q;this.Q=[];let t=new B;for(let n of e)!function(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof D?$({baseGrammar:a,selfGrammar:i},r):U(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new D(e))}(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof D){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function U(e,t,n){t.repository&&t.repository[e]&&F([t.repository[e]],t,n)}function $(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&F(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&F(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function F(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?g({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&F(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=K(i);switch(a.kind){case 0:$({...t,selfGrammar:t.baseGrammar},n);break;case 1:$(t,n);break;case 2:U(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let o=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(o){let r={baseGrammar:t.baseGrammar,selfGrammar:o,repository:e};4===a.kind?U(a.ruleName,r,n):$(r,n)}else 4===a.kind?n.add(new G(a.scopeName,a.ruleName)):n.add(new D(a.scopeName))}}}var H=class{constructor(){this.kind=0}},W=class{constructor(){this.kind=1}},q=class{constructor(e){this.ruleName=e,this.kind=2}},z=class{constructor(e){this.scopeName=e,this.kind=3}},V=class{constructor(e,t){this.scopeName=e,this.ruleName=t,this.kind=4}};function K(e){if("$base"===e)return new H;if("$self"===e)return new W;let t=e.indexOf("#");return -1===t?new z(e):0===t?new q(e.substring(1)):new V(e.substring(0,t),e.substring(t+1))}var X=/\\(\d+)/,J=/\\(\d+)/g;Symbol("RuleId");var Y=class{constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=b.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=b.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${function e(t){let n=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===n?t:~n==t.length-1?e(t.substring(0,t.length-1)):t.substr(~n+1)}(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return this._nameIsCapturing&&null!==this._name&&null!==e&&null!==t?b.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?b.replaceCaptures(this._contentName,e,t):this._contentName}},Q=class extends Y{constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,n,r){throw Error("Not supported!")}},Z=class extends Y{constructor(e,t,n,r,i){super(e,t,n,null),this._match=new ei(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ea,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ee=class extends Y{constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ea,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},et=class extends Y{constructor(e,t,n,r,i,a,o,l,s,u){super(e,t,n,r),this._begin=new ei(i,this.id),this.beginCaptures=a,this._end=new ei(o||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=s||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){for(let t of(this._cachedCompiledPatterns=new ea,this.patterns))e.getRule(t).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}},en=class extends Y{constructor(e,t,n,r,i,a,o,l,s){super(e,t,n,r),this._begin=new ei(i,this.id),this.beginCaptures=a,this.whileCaptures=l,this._while=new ei(o,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns)for(let t of(this._cachedCompiledPatterns=new ea,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ea,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},er=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new Q(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new Z(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(void 0===t.begin){t.repository&&(r=g({},r,t.repository));let i=t.patterns;return void 0===i&&t.include&&(i=[{include:t.include}]),new ee(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new en(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new et(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if("$vscodeTextmateLocation"===e)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if("$vscodeTextmateLocation"===a)continue;let o=parseInt(a,10),l=0;t[a].patterns&&(l=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,l)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;ae.substring(t.start,t.end));return J.lastIndex=0,this.source.replace(J,(e,t)=>k(n[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,n,r,i=[],a=[],o=[],l=[];for(e=0,t=this.source.length;ee.source);this._cached=new eo(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){return new eo(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},eo=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;tnew el(this._scopeToLanguage(e),this._toStandardTokenType(e))),this._defaultAttributes=new el(e,8),this._embeddedLanguagesMatcher=new eu(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return null===t?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw Error("Unexpected match for standard token type!")}};es._NULL_SCOPE_METADATA=new el(0,0),es.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var eu=class{constructor(e){if(0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>k(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};void 0===m||m.env.VSCODE_TEXTMATE_DEBUG;var ec=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function eh(e,t,n,r,i,a,o,l){let s=t.content.length,u=!1,c=-1;if(o){let o=function(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,l=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof en&&l.push({rule:n,stack:t})}for(let d=l.pop();d;d=l.pop()){var s,u,c,h;let{ruleScanner:l,findOptions:p}=(s=d.rule,u=d.stack.endRule,c=n,h=r===o,{ruleScanner:s.compileWhileAG(e,u,c,h),findOptions:0}),m=l.findNextMatchSync(t,r,p);if(m){if(-2!==m.ruleId){i=d.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(a.produce(d.stack,m.captureIndices[0].start),ep(e,t,n,d.stack,a,d.rule.whileCaptures,m.captureIndices),a.produce(d.stack,m.captureIndices[0].end),o=m.captureIndices[0].end,m.captureIndices[0].end>r&&(r=m.captureIndices[0].end,n=!1))}else{i=d.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,c=o.anchorPosition}let h=Date.now();for(;!u;){if(0!==l&&Date.now()-h>l)return new ec(i,!0);!function(){let o=function(e,t,n,r,i,a){let o=function(e,t,n,r,i,a){let{ruleScanner:o,findOptions:l}=ed(i.getRule(e),e,i.endRule,n,r===a),s=o.findNextMatchSync(t,r,l);return s?{captureIndices:s.captureIndices,matchedRuleId:s.ruleId}:null}(e,t,n,r,i,a),l=e.getInjections();if(0===l.length)return o;let s=function(e,t,n,r,i,a,o){let l,s=Number.MAX_VALUE,u=null,c=0,h=a.contentNameScopesList.getScopeNames();for(let a=0,d=e.length;a=s)&&(s=f,u=g.captureIndices,l=g.ruleId,c=d.priority,s===i))break}return u?{priorityMatch:-1===c,captureIndices:u,matchedRuleId:l}:null}(l,e,t,n,r,i,a);if(!s)return o;if(!o)return s;let u=o.captureIndices[0].start,c=s.captureIndices[0].start;return c0&&l[0].end>r;if(-1===h){let o=i.getRule(e);a.produce(i,l[0].start),i=i.withContentNameScopesList(i.nameScopesList),ep(e,t,n,i,a,o.endCaptures,l),a.produce(i,l[0].end);let h=i;if(i=i.parent,c=h.getAnchorPos(),!d&&h.getEnterPos()===r){i=h,a.produce(i,s),u=!0;return}}else{let o=e.getRule(h);a.produce(i,l[0].start);let p=i,m=o.getName(t.content,l),g=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(h,r,c,l[0].end===s,null,g,g),o instanceof et){ep(e,t,n,i,a,o.beginCaptures,l),a.produce(i,l[0].end),c=l[0].end;let r=o.getContentName(t.content,l),h=g.pushAttributed(r,e);if(i=i.withContentNameScopesList(h),o.endHasBackReferences&&(i=i.withEndRule(o.getEndWithResolvedBackReferences(t.content,l))),!d&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(o instanceof en){ep(e,t,n,i,a,o.beginCaptures,l),a.produce(i,l[0].end),c=l[0].end;let r=o.getContentName(t.content,l),h=g.pushAttributed(r,e);if(i=i.withContentNameScopesList(h),o.whileHasBackReferences&&(i=i.withEndRule(o.getWhileWithResolvedBackReferences(t.content,l))),!d&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),u=!0;return}}else if(ep(e,t,n,i,a,o.captures,l),a.produce(i,l[0].end),i=i.pop(),!d){i=i.safePop(),a.produce(i,s),u=!0;return}}l[0].end>r&&(r=l[0].end,n=!1)}()}return new ec(i,!1)}function ed(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function ep(e,t,n,r,i,a,o){if(0===a.length)return;let l=t.content,s=Math.min(a.length,o.length),u=[],c=o[0].end;for(let t=0;tc)break;for(;u.length>0&&u[u.length-1].endPos<=h.start;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?i.produceFromScopes(u[u.length-1].scopes,h.start):i.produce(r,h.start),s.retokenizeCapturedWithRuleId){let t=s.getName(l,o),a=r.contentNameScopesList.pushAttributed(t,e),u=s.getContentName(l,o),c=a.pushAttributed(u,e),d=r.push(s.retokenizeCapturedWithRuleId,h.start,-1,!1,null,a,c),p=e.createOnigString(l.substring(0,h.end));eh(e,p,n&&0===h.start,h.start,d,i,!1,0),M(p);continue}let d=s.getName(l,o);if(null!==d){let t=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(d,e);u.push(new em(t,h.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var em=class{constructor(e,t){this.scopes=e,this.endPos=t}};function eg(e,t,n,r,i){let a=E(t,ef),o=er.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function ef(e,t){if(t.length{for(let r=n;rn&&e.substr(0,n)===t&&"."===e[n]}(t[r],e))return n=r+1,!0;return!1})}var eb=class{constructor(e,t,n,r,i,a,o,l){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=l,this._basicScopeAttributesProvider=new es(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=ey(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i))for(let t of E(e,ef))this._tokenTypeMatchers.push({matcher:t.matcher,type:i[e]})}get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e=[],t=this._rootScopeName,n=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(n){let r=n.injections;if(r)for(let t in r)eg(e,t,r[t],this,n);let i=this._grammarRepository.injections(t);i&&i.forEach(t=>{let n=this.getExternalGrammar(t);if(n){let t=n.injectionSelector;t&&eg(e,t,n,this,n)}})}return e.sort((e,t)=>e.priority-t.priority),e}getInjections(){return null===this._injections&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=ey(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){let i;if(-1===this._rootId&&(this._rootId=er.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==eS.NULL)i=!1,t.reset();else{let e;i=!0;let n=this._basicScopeAttributesProvider.getDefaultAttributes(),r=this.themeProvider.getDefaults(),a=R.set(0,n.languageId,n.tokenType,null,r.fontStyle,r.foregroundId,r.backgroundId),o=this.getRule(this._rootId).getName(null,null);e=o?e_.createRootAndLookUpScopeName(o,a,this):e_.createRoot("unknown",a),t=new eS(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let a=this.createOnigString(e),o=a.content.length,l=new ev(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),s=eh(this,a,i,0,t,l,!0,r);return M(a),{lineLength:o,lineTokens:l,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}};function ey(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let n=[];for(let r=0,i=t.length;r"*"===e?(this.allowAny=!0,[]):E(e,ef).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>E(e,ef).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&0===this.unbalancedBracketScopes.length}get matchesNever(){return 0===this.balancedBracketScopes.length&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},ev=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=R.set(n,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=R.set(n,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),0===this._tokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),0===this._binaryTokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n="function"==typeof this._options.getInjections?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},eN=eS.NULL;let eA=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class eT{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function eL(e,t){let n={},r={},i=-1;for(;++i"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ez=eW({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function eV(e,t){return t in e?e[t]:t}function eK(e,t){return eV(e,t.toLowerCase())}let eX=eW({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:eK,properties:{xmlns:null,xmlnsXLink:null}}),eJ=eW({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:eI,ariaAutoComplete:null,ariaBusy:eI,ariaChecked:eI,ariaColCount:eD,ariaColIndex:eD,ariaColSpan:eD,ariaControls:eG,ariaCurrent:null,ariaDescribedBy:eG,ariaDetails:null,ariaDisabled:eI,ariaDropEffect:eG,ariaErrorMessage:null,ariaExpanded:eI,ariaFlowTo:eG,ariaGrabbed:eI,ariaHasPopup:null,ariaHidden:eI,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:eG,ariaLevel:eD,ariaLive:null,ariaModal:eI,ariaMultiLine:eI,ariaMultiSelectable:eI,ariaOrientation:null,ariaOwns:eG,ariaPlaceholder:null,ariaPosInSet:eD,ariaPressed:eI,ariaReadOnly:eI,ariaRelevant:null,ariaRequired:eI,ariaRoleDescription:eG,ariaRowCount:eD,ariaRowIndex:eD,ariaRowSpan:eD,ariaSelected:eI,ariaSetSize:eD,ariaSort:null,ariaValueMax:eD,ariaValueMin:eD,ariaValueNow:eD,ariaValueText:null,role:null}}),eY=eW({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:eK,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:eB,acceptCharset:eG,accessKey:eG,action:null,allow:null,allowFullScreen:eO,allowPaymentRequest:eO,allowUserMedia:eO,alt:null,as:null,async:eO,autoCapitalize:null,autoComplete:eG,autoFocus:eO,autoPlay:eO,blocking:eG,capture:null,charSet:null,checked:eO,cite:null,className:eG,cols:eD,colSpan:null,content:null,contentEditable:eI,controls:eO,controlsList:eG,coords:eD|eB,crossOrigin:null,data:null,dateTime:null,decoding:null,default:eO,defer:eO,dir:null,dirName:null,disabled:eO,download:eM,draggable:eI,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:eO,formTarget:null,headers:eG,height:eD,hidden:eO,high:eD,href:null,hrefLang:null,htmlFor:eG,httpEquiv:eG,id:null,imageSizes:null,imageSrcSet:null,inert:eO,inputMode:null,integrity:null,is:null,isMap:eO,itemId:null,itemProp:eG,itemRef:eG,itemScope:eO,itemType:eG,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:eO,low:eD,manifest:null,max:null,maxLength:eD,media:null,method:null,min:null,minLength:eD,multiple:eO,muted:eO,name:null,nonce:null,noModule:eO,noValidate:eO,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:eO,optimum:eD,pattern:null,ping:eG,placeholder:null,playsInline:eO,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:eO,referrerPolicy:null,rel:eG,required:eO,reversed:eO,rows:eD,rowSpan:eD,sandbox:eG,scope:null,scoped:eO,seamless:eO,selected:eO,shadowRootClonable:eO,shadowRootDelegatesFocus:eO,shadowRootMode:null,shape:null,size:eD,sizes:null,slot:null,span:eD,spellCheck:eI,src:null,srcDoc:null,srcLang:null,srcSet:null,start:eD,step:null,style:null,tabIndex:eD,target:null,title:null,translate:null,type:null,typeMustMatch:eO,useMap:null,value:eI,width:eD,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:eG,axis:null,background:null,bgColor:null,border:eD,borderColor:null,bottomMargin:eD,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:eO,declare:eO,event:null,face:null,frame:null,frameBorder:null,hSpace:eD,leftMargin:eD,link:null,longDesc:null,lowSrc:null,marginHeight:eD,marginWidth:eD,noResize:eO,noHref:eO,noShade:eO,noWrap:eO,object:null,profile:null,prompt:null,rev:null,rightMargin:eD,rules:null,scheme:null,scrolling:eI,standby:null,summary:null,text:null,topMargin:eD,valueType:null,version:null,vAlign:null,vLink:null,vSpace:eD,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:eO,disableRemotePlayback:eO,prefix:null,property:null,results:eD,security:null,unselectable:null}}),eQ=eW({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:eV,properties:{about:ej,accentHeight:eD,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:eD,amplitude:eD,arabicForm:null,ascent:eD,attributeName:null,attributeType:null,azimuth:eD,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:eD,by:null,calcMode:null,capHeight:eD,className:eG,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:eD,diffuseConstant:eD,direction:null,display:null,dur:null,divisor:eD,dominantBaseline:null,download:eO,dx:null,dy:null,edgeMode:null,editable:null,elevation:eD,enableBackground:null,end:null,event:null,exponent:eD,externalResourcesRequired:null,fill:null,fillOpacity:eD,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:eB,g2:eB,glyphName:eB,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:eD,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:eD,horizOriginX:eD,horizOriginY:eD,id:null,ideographic:eD,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:eD,k:eD,k1:eD,k2:eD,k3:eD,k4:eD,kernelMatrix:ej,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:eD,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:eD,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:eD,overlineThickness:eD,paintOrder:null,panose1:null,path:null,pathLength:eD,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:eG,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:eD,pointsAtY:eD,pointsAtZ:eD,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ej,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ej,rev:ej,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ej,requiredFeatures:ej,requiredFonts:ej,requiredFormats:ej,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:eD,specularExponent:eD,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:eD,strikethroughThickness:eD,string:null,stroke:null,strokeDashArray:ej,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:eD,strokeOpacity:eD,strokeWidth:null,style:null,surfaceScale:eD,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ej,tabIndex:eD,tableValues:null,target:null,targetX:eD,targetY:eD,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ej,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:eD,underlineThickness:eD,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:eD,values:null,vAlphabetic:eD,vMathematical:eD,vectorEffect:null,vHanging:eD,vIdeographic:eD,version:null,vertAdvY:eD,vertOriginX:eD,vertOriginY:eD,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:eD,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),eZ=eL([ez,eq,eX,eJ,eY],"html"),e1=eL([ez,eq,eX,eJ,eQ],"svg"),e0={}.hasOwnProperty,e8=/["&'<>`]/g,e2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,e3=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,e5=/[|\\{}()[\]^$+*?.]/g,e6=new WeakMap,e9=/[\dA-Fa-f]/,e4=/\d/,e7=["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"],te={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",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:"€"},tt=["cent","copy","divide","gt","lt","not","para","times"],tn={}.hasOwnProperty,tr={};for(r in te)tn.call(te,r)&&(tr[te[r]]=r);let ti=/[^\dA-Za-z]/;function ta(e,t,n){let r,i=function(e,t,n){let r="&#x"+e.toString(16).toUpperCase();return n&&t&&!e9.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){let i=String.fromCharCode(e);if(tn.call(tr,i)){let e=tr[i],a="&"+e;return n&&e7.includes(e)&&!tt.includes(e)&&(!r||t&&61!==t&&ti.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){let r=function(e,t,n){let r="&#"+String(e);return n&&t&&!e4.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length|^->||--!>|"],tu=["<",">"];function tc(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}let th=/^data[-\w.:]+$/i,td=/-[a-z]/g,tp=/[A-Z]/g;function tm(e){return"-"+e.toLowerCase()}function tg(e){return e.charAt(1).toUpperCase()}let tf=/[ \t\n\f\r]/g;function tb(e){return"object"==typeof e?"text"===e.type&&ty(e.value):ty(e)}function ty(e){return""===e.replace(tf,"")}let t_=tw(1),tk=tw(-1),tS=[];function tw(e){return function(t,n,r){let i=t?t.children:tS,a=(n||0)+e,o=i[a];if(!r)for(;o&&tb(o);)a+=e,o=i[a];return o}}let tv={}.hasOwnProperty;function tC(e){return function(t,n,r){return tv.call(e,t.tagName)&&e[t.tagName](t,n,r)}}let tP=tC({body:function(e,t,n){let r=t_(n,t);return!r||"comment"!==r.type},caption:tN,colgroup:tN,dd:function(e,t,n){let r=t_(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){let r=t_(n,t);return!!(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:tN,html:function(e,t,n){let r=t_(n,t);return!r||"comment"!==r.type},li:function(e,t,n){let r=t_(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){let r=t_(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){let r=t_(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){let r=t_(n,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:tA,rt:tA,tbody:function(e,t,n){let r=t_(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:tT,tfoot:function(e,t,n){return!t_(n,t)},th:tT,thead:function(e,t,n){let r=t_(n,t);return!!(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){let r=t_(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});function tN(e,t,n){let r=t_(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&tb(r.value.charAt(0)))}function tA(e,t,n){let r=t_(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function tT(e,t,n){let r=t_(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}let tL=tC({body:function(e){let t=t_(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&tb(t.value.charAt(0)))&&!("element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName))},colgroup:function(e,t,n){let r=tk(n,t),i=t_(e,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&tP(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"col"===i.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=t_(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let r=tk(n,t),i=t_(e,-1);return!(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&tP(r,n.children.indexOf(r),n))&&!!(i&&"element"===i.type&&"tr"===i.tagName)}}),tx={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},tR=["<","&"];function tE(e,t,n,r){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:to(e.value,Object.assign({},r.settings.characterReferences,{subset:tR}))}let tO=function(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&e0.call(t,e)){let n=String(t[e]);i=e0.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"":""},doctype:function(e,t,n,r){return""},element:function(e,t,n,r){let i;let a=r.schema,o="svg"!==a.space&&r.settings.omitOptionalTags,l="svg"===a.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[];"html"===a.space&&"svg"===e.tagName&&(r.schema=e1);let u=function(e,t){let n;let r=[],i=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let i=function(e,t,n){let r;let i=function(e,t){let n=ex(t),r=t,i=eR;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&th.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(td,tg);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!td.test(e)){let n=e.replace(tp,tm);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=eF}return new i(r,t)}(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=e.settings.allowDangerousCharacters?0:1,l=e.quote;if(i.overloadedBoolean&&(n===i.attribute||""===n)?n=!0:(i.boolean||i.overloadedBoolean&&"string"!=typeof n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let s=to(i.attribute,Object.assign({},e.settings.characterReferences,{subset:tx.name[a][o]}));return!0===n?s:(n=Array.isArray(n)?(i.commaSeparated?function(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}:function(e){return e.join(" ").trim()})(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?s:(e.settings.preferUnquoted&&(r=to(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:tx.unquoted[a][o]}))),r!==n&&(e.settings.quoteSmart&&tc(n,l)>tc(n,e.alternative)&&(l=e.alternative),r=l+to(n,Object.assign({},e.settings.characterReferences,{subset:("'"===l?tx.single:tx.double)[a][o],attribute:!0}))+l),s+(r?"="+r:r))}(e,n,t[n]);i&&r.push(i)}}for(;++i")),s.push(c),l||o&&tP(e,t,n)||s.push(""),s.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:tE(e,t,n,r)},root:function(e,t,n,r){return r.all(e)},text:tE}}),tI={},tM={},tD=[];function tG(e,t,n){return tO(e,t,n,this)}function tB(e){let t=[],n=e&&e.children||tD,r=-1;for(;++re+(t-e%t)%t;async function tH(e){let t,n;let r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}let a="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function o(e,t){return e?function(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&a)return a.decode(e.subarray(t,i));let o="";for(;t>10,56320|1023&e)}}return o}(r.HEAPU8,e,t):""}let l={emscripten_get_now:t$,emscripten_memcpy_big:function(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){let a=r.HEAPU8.length;if((e>>>=0)>2147483648)return!1;for(let r=1;r<=4;r*=2){let o=a*(1+.2/r);if(o=Math.min(o,e+100663296),function(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}(Math.min(2147483648,tF(Math.max(e,o),65536))))return!0}return!1},fd_write:()=>0};async function s(){let n=await e({env:l,wasi_snapshot_preview1:l});i((t=n.memory).buffer),Object.assign(r,n),r.UTF8ToString=o}return await s(),r}let tW=null;class tq{static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n=55296&&i<=56319&&n+1=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,o&&n++}return t}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(e){let t=e.length,n=tq._utf8ByteLength(e),r=n!==t,i=r?new Uint32Array(t+1):null;r&&(i[t]=n);let a=r?new Uint32Array(n+1):null;r&&(a[n]=t);let o=new Uint8Array(n),l=0;for(let n=0;n=55296&&s<=56319&&n+1=56320&&t<=57343&&(u=(s-55296<<10)+65536|t-56320,c=!0)}r&&(i[n]=l,c&&(i[n+1]=l),u<=127?a[l+0]=n:u<=2047?(a[l+0]=n,a[l+1]=n):u<=65535?(a[l+0]=n,a[l+1]=n,a[l+2]=n):(a[l+0]=n,a[l+1]=n,a[l+2]=n,a[l+3]=n)),u<=127?o[l++]=u:(u<=2047?o[l++]=192|(1984&u)>>>6:(u<=65535?o[l++]=224|(61440&u)>>>12:(o[l++]=240|(1835008&u)>>>18,o[l++]=128|(258048&u)>>>12),o[l++]=128|(4032&u)>>>6),o[l++]=128|(63&u)>>>0),c&&n++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=o,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}class tz{static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++tz.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(e){if(!tW)throw new tU("Must invoke loadWasm first.");this._onigBinding=tW,this.content=e;let t=new tq(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!tz._sharedPtrInUse?(tz._sharedPtr||(tz._sharedPtr=tW.omalloc(1e4)),tz._sharedPtrInUse=!0,tW.HEAPU8.set(t.utf8Value,tz._sharedPtr),this.ptr=tz._sharedPtr):this.ptr=t.createString(tW)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===tz._sharedPtr?tz._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class tV{_onigBinding;_ptr;constructor(e){if(!tW)throw new tU("Must invoke loadWasm first.");let t=[],n=[];for(let r=0,i=e.length;rWebAssembly.instantiate(e,t)}async function tX(e){return e&&await (i||(i=async function(){tW=await tH(async t=>{let n=e;if("function"==typeof(n=await n)&&(n=await n(t)),"function"==typeof n&&(n=await n(t)),"function"==typeof n.instantiator)n=await n.instantiator(t);else if("function"==typeof n.default)n=await n.default(t);else{var r,i,a,o;(void 0!==n.data&&(n=n.data),r=n,"undefined"!=typeof Response&&r instanceof Response)?"function"==typeof WebAssembly.instantiateStreaming?n=await (a=n,e=>WebAssembly.instantiateStreaming(a,e))(t):n=await (o=n,async e=>{let t=await o.arrayBuffer();return WebAssembly.instantiate(t,e)})(t):(i=n,"undefined"!=typeof ArrayBuffer&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||void 0!==tj&&tj.isBuffer?.(i)||"undefined"!=typeof SharedArrayBuffer&&i instanceof SharedArrayBuffer||"undefined"!=typeof Uint32Array&&i instanceof Uint32Array)?n=await tK(n)(t):n instanceof WebAssembly.Module?n=await tK(n)(t):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await tK(n.default)(t))}return"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}())),{createScanner:e=>new tV(e),createString:e=>new tz(e)}}function tJ(e,t=!1){let n=e.split(/(\r?\n)/g),r=0,i=[];for(let e=0;ee.default||e)}function t8(e,t){let n="string"==typeof e?{}:{...e.colorReplacements},r="string"==typeof e?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))"string"==typeof i?n[e]=i:e===r&&Object.assign(n,i);return n}function t2(e,t){return e&&t?.[e?.toLowerCase()]||e}function t3(e){let t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&N.Italic&&(t["font-style"]="italic"),e.fontStyle&N.Bold&&(t["font-weight"]="bold"),e.fontStyle&N.Underline&&(t["text-decoration"]="underline")),t}function t5(e){return Object.entries(e).map(([e,t])=>`${e}:${t}`).join(";")}class t6 extends Error{constructor(e){super(e),this.name="ShikiError"}}let t9=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new t6(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(void 0===t)throw new t6(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);if(e.character<0||e.character>t.length)throw new t6(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,offset:r.posToIndex(e.line,e.character)}}},r=function(e){let t=tJ(e,!0).map(([e])=>e);return{lines:t,indexToPos:function(n){if(n===e.length)return{line:t.length-1,character:t[t.length-1].length};let r=n,i=0;for(let e of t){if(r({...e,start:n(e.start),end:n(e.end)}));(function(e){for(let t=0;tn.end.offset)throw new t6(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;re-t);return n.length?e.map(e=>e.flatMap(e=>{let t=n.filter(t=>e.offsett-e.offset).sort((e,t)=>e-t);return t.length?function(e,t){let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n[e.start.offset,e.end.offset]))},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=Array.from(e.children).filter(e=>"element"===e.type&&"span"===e.tagName);if(r.length!==n.converter.lines.length)throw new t6(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let o=r[e],l="",s=-1,u=-1;if(0===t&&(s=0),0===n&&(u=0),n===Number.POSITIVE_INFINITY&&(u=o.children.length),-1===s||-1===u)for(let e=0;ee);return e.tagName=t.tagName||"span",e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&t1(e,t.properties.class),e=i(e,n)||e}let o=[];for(let e of n.decorations.sort((e,t)=>t.start.offset-e.start.offset)){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.line{var t;r[t=i]=a(r[t],e,"line")});i(n.line,0,n.character,e)}}o.forEach(e=>e())}}}()];function t4(e){return[...e.transformers||[],...t9]}class t7{constructor(e,t,n){this._stack=e,this.lang=t,this.theme=n}static initial(e,t){return new t7(eN,e,t)}get scopes(){return function(e){let t=[],n=new Set;return!function e(r){if(n.has(r))return;n.add(r);let i=r?.nameScopesList?.scopeName;i&&t.push(i),r.parent&&e(r.parent)}(e),t}(this._stack)}toJSON(){return{lang:this.lang,theme:this.theme,scopes:this.scopes}}}var ne=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],nt={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function nn(e,t){let n,r=1,i=e[t+r++];if("2"===i){let i=[e[t+r++],e[t+r++],e[t+r]].map(e=>Number.parseInt(e));3!==i.length||i.some(e=>Number.isNaN(e))||(n={type:"rgb",rgb:i})}else if("5"===i){let i=Number.parseInt(e[t+r]);Number.isNaN(i)||(n={type:"table",index:Number(i)})}return[r,n]}var nr={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function ni(e,t,n={}){let{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if(tY(r)||tZ(i))return tJ(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:a,colorMap:o}=e.setTheme(i);if("ansi"===r)return function(e,t,n){let r,i,a;let o=t8(e,n),l=tJ(t),s=function(e=nr){let t;function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join("")}`}return{value:function(r){switch(r.type){case"named":return e[r.name];case"rgb":return n(r.rgb);case"table":var i;return i=r.index,function(){if(t)return t;t=[];for(let n=0;n[t,e.colors?.[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]]))),u=(r=null,i=null,a=new Set,{parse(e){let t=[],n=0;do{let o=function(e,t){let n=e.indexOf("\x1b[",t);if(-1!==n){let t=e.indexOf("m",n);return{sequence:e.substring(n+2,t).split(";"),startPosition:n,position:t+1}}return{position:e.length}}(e,n),l=o.sequence?e.substring(n,o.startPosition):e.substring(n);if(l.length>0&&t.push({value:l,foreground:r,background:i,decorations:new Set(a)}),o.sequence){let e=function(e){let t=[];for(let n=0;n=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:ne[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:ne[r-100+8]}})}}return t}(o.sequence);for(let t of e)"resetAll"===t.type?(r=null,i=null,a.clear()):"resetForegroundColor"===t.type?r=null:"resetBackgroundColor"===t.type?i=null:"resetDecoration"===t.type&&a.delete(t.value);for(let t of e)"setForegroundColor"===t.type?r=t.value:"setBackgroundColor"===t.type?i=t.value:"setDecoration"===t.type&&a.add(t.value)}n=o.position}while(nu.parse(t[0]).map(n=>{let r,i;n.decorations.has("reverse")?(r=n.background?s.value(n.background):e.bg,i=n.foreground?s.value(n.foreground):e.fg):(r=n.foreground?s.value(n.foreground):e.fg,i=n.background?s.value(n.background):void 0),r=t2(r,o),i=t2(i,o),n.decorations.has("dim")&&(r=function(e){let t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t){if(t[3]){let e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(e=>`${e}${e}`).join("")}80`}let n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(r));let a=N.None;return n.decorations.has("bold")&&(a|=N.Bold),n.decorations.has("italic")&&(a|=N.Italic),n.decorations.has("underline")&&(a|=N.Underline),{content:n.value,offset:t[1],color:r,bgColor:i,fontStyle:a}}))}(a,t,n);let l=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==l.name)throw new p(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${l.name}"`);if(n.grammarState.theme!==i)throw new p(`Grammar state theme "${n.grammarState.theme}" does not match highlight theme "${i}"`)}return na(t,l,a,o,n).tokens}function na(e,t,n,r,i){let a=t8(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:l=500}=i,s=tJ(e),u=i.grammarState?function(e){if(!(e instanceof t7))throw new t6("Invalid grammar state");return e._stack}(i.grammarState):null!=i.grammarContextCode?na(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:eN,c=[],h=[];for(let e=0,d=s.length;e0&&m.length>=o){c=[],h.push([{content:m,offset:g,color:"",fontStyle:0}]);continue}i.includeExplanation&&(d=t.tokenizeLine(m,u).tokens,p=0);let f=t.tokenizeLine2(m,u,l),b=f.tokens.length/2;for(let e=0;ee.trim());break;case"object":n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(/ /))})}h.explanation=[];let r=0;for(;t+r({scopeName:e})):function(e,t){let n=[];for(let r=0,i=t.length;r=0&&i>=0;)no(e[r],n[i])&&(r-=1),i-=1;return -1===r}(e,t,n)){r.push(a);break}return r}(e,i,t.slice(0,r))}}return n}(e,t.scopes)}),p+=1}}c.push(h)}h.push(c),c=[],u=f.ruleStack}return{tokens:h,stateStack:u}}function no(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function nl(e,t,n){let r=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),i=function(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;re[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),l=i.map(e=>e[0]);for(;l.every(e=>e);){let e=Math.min(...l.map(e=>e.content.length));for(let t=0;tni(e,t,{...n,theme:r.theme})));return i[0].map((e,t)=>e.map((e,a)=>{let o={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in n&&n.includeExplanation&&(o.explanation=e.explanation),i.forEach((e,n)=>{let{content:i,explanation:l,offset:s,...u}=e[t][a];o.variants[r[n].color]=u}),o}))}function ns(e,t,n){let r,i,a,o,l;if("themes"in n){let{defaultColor:s="light",cssVariablePrefix:u="--shiki-"}=n,c=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===s?-1:t.color===s?1:0);if(0===c.length)throw new t6("`themes` option must not be empty");let h=nl(e,t,n);if(s&&!c.find(e=>e.color===s))throw new t6(`\`themes\` option must contain the defaultColor key \`${s}\``);let d=c.map(t=>e.getTheme(t.theme)),p=c.map(e=>e.color);a=h.map(e=>e.map(e=>(function(e,t,n,r){let i={content:e.content,explanation:e.explanation,offset:e.offset},a=t.map(t=>t3(e.variants[t])),o=new Set(a.flatMap(e=>Object.keys(e))),l=a.reduce((e,i,a)=>{for(let l of o){let o=i[l]||"inherit";if(0===a&&r)e[l]=o;else{let r="color"===l?"":"background-color"===l?"-bg":`-${l}`,i=n+t[a]+("color"===l?"":r);e[l]?e[l]+=`;${i}:${o}`:e[l]=`${i}:${o}`}}return e},{});return i.htmlStyle=r?t5(l):Object.values(l).join(";"),i})(e,p,u,s)));let m=c.map(e=>t8(e.theme,n));i=c.map((e,t)=>(0===t&&s?"":`${u+e.color}:`)+(t2(d[t].fg,m[t])||"inherit")).join(";"),r=c.map((e,t)=>(0===t&&s?"":`${u+e.color}-bg:`)+(t2(d[t].bg,m[t])||"inherit")).join(";"),o=`shiki-themes ${d.map(e=>e.name).join(" ")}`,l=s?void 0:[i,r].join(";")}else if("theme"in n){let l=t8(n.theme,n);a=ni(e,t,n);let s=e.getTheme(n.theme);r=t2(s.bg,l),i=t2(s.fg,l),o=s.name}else throw new t6("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:o,rootStyle:l}}function nu(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>nu(e,t,n),codeToTokens:(t,n)=>ns(e,t,n)}){let i=t;for(let e of t4(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:l,themeName:s,rootStyle:u}=ns(e,i,n),{mergeWhitespaces:c=!0}=n;!0===c?a=a.map(e=>{let t=[],n="",r=0;return e.forEach((i,a)=>{let o=!(i.fontStyle&&i.fontStyle&N.Underline);o&&i.content.match(/^\s+$/)&&e[a+1]?(r||(r=i.offset),n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=0,n=""):t.push(i)}),t}):"never"===c&&(a=a.map(e=>e.flatMap(e=>{if(e.content.match(/^\s+$/))return e;let t=e.content.match(/^(\s*)(.*?)(\s*)$/);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a})));let h={...r,get source(){return i}};for(let e of t4(n))a=e.tokens?.call(h,a)||a;return function(e,t,n){let r=t4(t),i=[],a={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=t,s={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...!1!==l&&null!=l?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([e])=>!e.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:i},c=[],h={...n,structure:o,addClassToHast:t1,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return a},get pre(){return s},get code(){return u},get lines(){return c}};if(e.forEach((e,t)=>{t&&("inline"===o?a.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===o&&i.push({type:"text",value:"\n"}));let n={type:"element",tagName:"span",properties:{class:"line"},children:[]},l=0;for(let i of e){let e={type:"element",tagName:"span",properties:{},children:[{type:"text",value:i.content}]},s=i.htmlStyle||t5(t3(i));for(let i of(s&&(e.properties.style=s),r))e=i?.span?.call(h,e,t+1,l,n)||e;"inline"===o?a.children.push(e):"classic"===o&&n.children.push(e),l+=i.content.length}if("classic"===o){for(let e of r)n=e?.line?.call(h,n,t+1)||n;c.push(n),i.push(n)}}),"classic"===o){for(let e of r)u=e?.code?.call(h,u)||u;for(let e of(s.children.push(u),r))s=e?.pre?.call(h,s)||s;a.children.push(s)}let d=a;for(let e of r)d=e?.root?.call(h,d)||d;return d}(a,{...n,fg:o,bg:l,themeName:s,rootStyle:u},h)}let nc={light:"#333333",dark:"#bbbbbb"},nh={light:"#fffffe",dark:"#1e1e1e"},nd="__shiki_resolved";function np(e){if(e?.[nd])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r="light"===t.type?nc.light:nc.dark),n||(n="light"===t.type?nh.light:nh.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}for(let e of(t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith("#"),r=e.settings?.background&&!e.settings.background.startsWith("#");if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i}),Object.keys(t.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!t.colors[e]?.startsWith("#")){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,nd,{enumerable:!1,writable:!1,value:!0}),t}async function nm(e){return Array.from(new Set((await Promise.all(e.filter(e=>!tQ(e)).map(async e=>await t0(e).then(e=>Array.isArray(e)?e:[e])))).flat()))}async function ng(e){return(await Promise.all(e.map(async e=>tZ(e)?null:np(await t0(e))))).filter(e=>!!e)}var nf=Object.defineProperty,nb=(e,t,n)=>t in e?nf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ny=(e,t,n)=>(nb(e,"symbol"!=typeof t?t+"":t,n),n);class n_ extends eP{constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,ny(this,"_resolvedThemes",new Map),ny(this,"_resolvedGrammars",new Map),ny(this,"_langMap",new Map),ny(this,"_langGraph",new Map),ny(this,"_textmateThemeCache",new WeakMap),ny(this,"_loadedThemesCache",null),ny(this,"_loadedLanguagesCache",null),this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=np(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=w.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){if(this._alias[e]){let t=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],t.has(e))throw new t6(`Circular alias \`${Array.from(t).join(" -> ")} -> ${e}\``);t.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=Array.from(this._langGraph.entries()),n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t&&t.embeddedLangs?.some(e=>n.map(([e])=>e).includes(e))).filter(e=>!n.includes(e));throw new t6(`Missing languages ${n.map(([e])=>`\`${e}\``).join(", ")}, required by ${e.map(([e])=>`\`${e}\``).join(", ")}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(let t of e.embeddedLangs)this._langGraph.set(t,this._langMap.get(t))}}var nk=Object.defineProperty,nS=(e,t,n)=>t in e?nk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nw=(e,t,n)=>(nS(e,"symbol"!=typeof t?t+"":t,n),n);class nv{constructor(e,t){nw(this,"_langs",new Map),nw(this,"_scopeToLang",new Map),nw(this,"_injections",new Map),nw(this,"_onigLib"),this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split("."),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(".");n=[...n,...this._injections.get(r)||[]]}return n}}let nC=0;async function nP(e={}){let[t,n,r]=await Promise.all([ng(e.themes||[]),nm(e.langs||[]),e.engine||tX(e.loadWasm||a)]);return function(e){let t;nC+=1,!1!==e.warnings&&nC>=10&&nC%10==0&&console.warn(`[Shiki] ${nC} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let n=!1;if(!e.engine)throw new t6("`engine` option is required for synchronous mode");let r=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(np),a=new n_(new nv(e.engine,r),i,r,e.langAlias);function o(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};u();let t=a.getTheme(e);if(!t)throw new t6(`Theme \`${e}\` not found, you may need to load it first`);return t}function l(...e){u(),a.loadLanguages(e.flat(1))}function s(...e){for(let t of(u(),e.flat(1)))a.loadTheme(t)}function u(){if(n)throw new t6("Shiki instance has been disposed")}function c(){n||(n=!0,a.dispose(),nC-=1)}return{setTheme:function(e){u();let n=o(e);return t!==e&&(a.setTheme(n),t=e),{theme:n,colorMap:a.getColorMap()}},getTheme:o,getLanguage:function(e){u();let t=a.getGrammar("string"==typeof e?e:e.name);if(!t)throw new t6(`Language \`${e}\` not found, you may need to load it first`);return t},getLoadedThemes:function(){return u(),a.getLoadedThemes()},getLoadedLanguages:function(){return u(),a.getLoadedLanguages()},loadLanguage:async function(...e){return l(await nm(e))},loadLanguageSync:l,loadTheme:async function(...e){return u(),s(await ng(e))},loadThemeSync:s,dispose:c,[Symbol.dispose]:c}}({...e,loadWasm:void 0,themes:t,langs:n,engine:r})}async function nN(e={}){let t=await nP(e);return{getLastGrammarState:(e,n)=>(function(e,t,n={}){let{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if(tY(r)||tZ(i))throw new p("Plain language does not have grammar state");if("ansi"===r)throw new p("ANSI language does not have grammar state");let{theme:a,colorMap:o}=e.setTheme(i),l=e.getLanguage(r);return new t7(na(t,l,a,o,n).stateStack,l.name,a.name)})(t,e,n),codeToTokensBase:(e,n)=>ni(t,e,n),codeToTokensWithThemes:(e,n)=>nl(t,e,n),codeToTokens:(e,n)=>ns(t,e,n),codeToHast:(e,n)=>nu(t,e,n),codeToHtml:(e,n)=>(function(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>nu(e,t,n),codeToTokens:(t,n)=>ns(e,t,n)},i=function(e,t){let n=tI.quote||'"';if('"'!==n&&"'"!==n)throw Error("Invalid quote `"+n+"`, expected `'` or `\"`");return({one:tG,all:tB,settings:{omitOptionalTags:tI.omitOptionalTags||!1,allowParseErrors:tI.allowParseErrors||!1,allowDangerousCharacters:tI.allowDangerousCharacters||!1,quoteSmart:tI.quoteSmart||!1,preferUnquoted:tI.preferUnquoted||!1,tightAttributes:tI.tightAttributes||!1,upperDoctype:tI.upperDoctype||!1,tightDoctype:tI.tightDoctype||!1,bogusComments:tI.bogusComments||!1,tightCommaSeparatedLists:tI.tightCommaSeparatedLists||!1,tightSelfClosing:tI.tightSelfClosing||!1,collapseEmptyAttributes:tI.collapseEmptyAttributes||!1,allowDangerousHtml:tI.allowDangerousHtml||!1,voids:tI.voids||eA,characterReferences:tI.characterReferences||tM,closeSelfClosing:tI.closeSelfClosing||!1,closeEmptyElements:tI.closeEmptyElements||!1},schema:"svg"===tI.space?e1:eZ,quote:n,alternative:'"'===n?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(nu(e,t,n,r));for(let e of t4(n))i=e.postprocess?.call(r,i,n)||i;return i})(t,e,n),...t,getInternalContext:()=>t}}let nA=function(e,t,n){let r,i,a;return r=e.langs,i=e.themes,a=e.engine,async function(e){function t(e){if("string"==typeof e){if(tQ(e))return[];let t=r[e];if(!t)throw new p(`Language \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}function n(e){if(tZ(e))return"none";if("string"==typeof e){let t=i[e];if(!t)throw new p(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let o=(e.themes??[]).map(e=>n(e)),l=(e.langs??[]).map(e=>t(e)),s=await nN({engine:a(),...e,themes:o,langs:l});return{...s,loadLanguage:(...e)=>s.loadLanguage(...e.map(t)),loadTheme:(...e)=>s.loadTheme(...e.map(n))}}}({langs:c,themes:d,engine:()=>tX(h)}),{codeToHtml:nT,codeToHast:nL,codeToTokens:nx,codeToTokensBase:nR,codeToTokensWithThemes:nE,getSingletonHighlighter:nO,getLastGrammarState:nI}=function(e){let t;let n=async function(n={}){if(!t)return t=e({...n,themes:n.themes||[],langs:n.langs||[]});{let e=await t;return await Promise.all([e.loadTheme(...n.themes||[]),e.loadLanguage(...n.langs||[])]),e}};return{getSingletonHighlighter:e=>n(e),codeToHtml:async(e,t)=>(await n({langs:[t.lang],themes:"theme"in t?[t.theme]:Object.values(t.themes)})).codeToHtml(e,t),codeToHast:async(e,t)=>(await n({langs:[t.lang],themes:"theme"in t?[t.theme]:Object.values(t.themes)})).codeToHast(e,t),codeToTokens:async(e,t)=>(await n({langs:[t.lang],themes:"theme"in t?[t.theme]:Object.values(t.themes)})).codeToTokens(e,t),codeToTokensBase:async(e,t)=>(await n({langs:[t.lang],themes:[t.theme]})).codeToTokensBase(e,t),codeToTokensWithThemes:async(e,t)=>(await n({langs:[t.lang],themes:Object.values(t.themes).filter(Boolean)})).codeToTokensWithThemes(e,t),getLastGrammarState:async(e,t)=>(await n({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}(nA),nM=e=>nA(e)}}]); //# sourceMappingURL=92203.a535773ff99dcb77.js.map